@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ----------------------------------------------------------------------
 その他
---------------------------------------------------------------------- */
h2 {font-size: 2.5em !important;}
h3 {font-size: 1.75em !important;}
h4 {font-size: 1.375em !important;}
/* ヘッダーロゴ */
/* .l-header__inner,
.l-header__logo {
    padding-left: 0;
} */
/* フッターロゴ */
img.footer-logo {
	width: auto !important;
	height: 40px !important;
}
@media (max-width: 959px) {
	img.footer-logo {
		height: 28px !important;
	}
}
/* フッター直前ウィジェット */
#before_footer_widget {
    padding-top: 3rem;
    border-top: 1px solid rgba(199, 199, 199, 0.5);
}
/*ページヘッダーのサブタイトルを非表示に*/
.c-pageTitle__subTitle {
	display: none;
}
/* YouTubeレスポンシブ */
.container-youtube {
    position: relative;
    width: 100%;
    padding-top: calc( 100% * calc(9 / 16) );
}
.container-youtube iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
/* span内で改行しない */
.span-nowrap span {
    display: inline-block;
    white-space: nowrap;
}
@media (max-width: 599px) {
    .span-nowrap br {
        display: none;
    }
}
/* カラムブロック内のボタン幅を100%に */
.wp-block-column .swell-block-button a,
.swell-block-columns .swell-block-button a {
    width: 100%;
}
/* YouTubeサムネイルに再生マークをオーバーレイ */
.fancybox-youtube {
	position: relative;
	display: inline-block;
	transition: all .25s;
}
.fancybox-youtube:hover {
	opacity: .8;
}
.fancybox-youtube img {
	display: block;
}
.fancybox-youtube::after {
	content: "▶";
	font-size: 48px;
	color: white;
	text-shadow: 0 2px 6px rgba(0,0,0,0.6);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

/* ----------------------------------------------------------------------
 ホーム
---------------------------------------------------------------------- */
/* スライダー */
#main_visual {
  background-image: linear-gradient(90deg, #29b6bb, #a2e6d4);
}
.p-mainVisual__imgLayer {
  display: none;
}
.p-mainVisual__textLayer {
  padding-top: 2em !important;
  padding-bottom: 2em !important;
  color: inherit !important;
  text-shadow:none !important;
}
.slider-text .swell-block-columns__inner div:last-child {
  margin-top: -4em;
}
@media (max-width: 959px) {
  .slider-text .swell-block-columns__inner div:last-child {
    margin-top: 0;
  }
}
/* .slider-text {
  position: relative;
  z-index: 1;
  margin-bottom: -40px;
}
@media (min-width: 1024px) {
  .slider-text {
    margin-bottom: -100px;
  }
}
@media (min-width: 1240px) {
  .slider-text {
    margin-bottom: -200px;
  }
} */

.slider-btn a {
  border: 2px solid;
}
.slider-btn a span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75em;
}
.btn-download span::before {
  content: '';/*何も入れない*/
  display: inline-block;
  width: 2em;/*画像の幅*/
  height: 2em;/*画像の高さ*/
  background-image: url(../../uploads/icon_download.png);
  background-size: contain;
  vertical-align: text-top;

}
.btn-delivery span::before {
  content: '';/*何も入れない*/
  display: inline-block;
  width: 2em;/*画像の幅*/
  height: 2em;/*画像の高さ*/
  background-image: url(../../uploads/icon_delivery.png);
  background-size: contain;
  vertical-align: text-top;

}


/* 新着情報 */
#Whats-New .p-postList__body {
    display: flex;
    align-items: center;
}
#Whats-New .p-postList__meta {
    margin: 0;
}
/* なぜフエニックス・コンタクト？ */
#reason .swell-block-column .has-background,
#reason .swell-block-column .has-border {
  padding: .25em;
}
/* フローティングバナー */
#floating-banner {
    display: none;
    /* 初期状態では非表示 */
    position: fixed;
    top: 50%;
    right: 2rem;
	-webkit-;transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 9999;
    width: 160px;
}
.floating-banner_inner {
	border-radius: 10px;
	padding: 10px;
	background-color: #0099a1;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.25));
    transition: all .25s;
}
.floating-banner_inner:hover {
    transform: translateY(-4px);
    filter: drop-shadow(2px 6px 4px rgba(0, 0, 0, 0.25));
}
#close-banner {
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    border-radius: 100%;
    background-color: white;
    color: #0099a1;
}
#close-banner i {
    display: block;
    height: 20px;
    width: 20px;
}
.floating-banner_inner a {
  position: relative;
	display: flex;
	flex-direction: column;
	text-align: center;
	color: #fff;
}
.floating-banner_inner a img {
  position: absolute;
	bottom: 102%;
}
.floating-banner_inner a span {
	display: block;
	font-weight: bold;
	line-height: 1.5;
}

/*---------------------------------------------------------
フッターバナー
---------------------------------------------------------*/
.footer-banner_wrap .swell-block-columns__inner {
  justify-content: center;
}
.footer-banner_wrap .swell-block-button__link {
    border-radius: 0;
    box-shadow: none;
    font-size: 1.125em;
	transition: opacity .25s;
}
.footer-banner_wrap .swell-block-button__link:hover {
    box-shadow: none;
    font-size: 1.125em;
	opacity: .8;
}

/* ----------------------------------------------------------------------
 Contact Form 7
---------------------------------------------------------------------- */
/* --- CF7デフォルト調整 --- */
.wpcf7-list-item {
  margin: 0 !important;
}

/* --- 入力フォーム全体 --- */
.form-fields {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.8em;
}
.form-row label {
  font-weight: bold;
  margin-bottom: 6px;
}
.required {
  background-color: #e74c3c;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  margin-left: 5px;
  border-radius: 3px;
}

/* --- 当てはまる項目ブロック --- */
.request-container .wpcf7-form-control {
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 0.75em;
  margin-top: 1em;
}

/* テキストエリアを左右いっぱい・5行分に調整 */
.sample-request-area textarea,
.inquiry-request-area textarea {
  width: 100%;
  min-height: 5em; /* 約5行分 */
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
  margin-top: 0.5em;
}

/* 入力欄 */
.form-input,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  transition: border 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.form-input:focus,
.wpcf7 input:focus,
.wpcf7 select:focus {
  border-color: #0099a1;
  box-shadow: 0 0 4px rgba(0,153,161,0.4);
  outline: none;
}

/* 氏名・カナ 横並び */
.name-fields {
  display: flex;
  gap: 10px;
  width: 100%;
}
.name-fields .form-input {
  flex: 1;
}
.name-fields br {
  display: none !important;
}

/* 都道府県セレクト幅調整 */
select[name="prefecture"] {
  width: 300px;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 13px;
  font-weight: bold;
  margin-top: 5px;
  display: block;
}
.wpcf7-not-valid {
  border-color: #e74c3c !important;
}

/* 確認画面整形 */
.confirm-list p strong::after {
  content: "\A";
  white-space: pre;
}
.confirm-list p {
  margin: 1em 0;
  line-height: 1.7;
}
.step-confirm h3 {
  margin-bottom: 1.5em;
}

/* ボタン共通 */
.btn-confirm,
.btn-back,
.btn-submit {
  background: #0099a1;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn-confirm:hover,
.btn-back:hover,
.btn-submit:hover {
  background: #007b85;
}

/* --- ボタン配置（最終安定版） --- */
.form-buttons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 2em;
  text-align: center;
}

/* 各ボタンブロックを縦並び（ボタン上・スピナー下）に */
.form-buttons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* CF7の自動生成<p>をフラット化 */
.form-buttons p {
  margin: 0;
  padding: 0;
  display: contents; /* <p>をDOM的に無効化 */
}

/* ボタン共通デザイン */
.btn-confirm,
.btn-back,
.btn-submit {
  background: #0099a1;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn-confirm:hover,
.btn-back:hover,
.btn-submit:hover {
  background: #007b85;
}

/* スピナーをボタン直下・中央に固定 */
.wpcf7 .wpcf7-spinner {
  display: block !important;
  margin: 0 auto !important;
  position: static !important;
  float: none !important;
  order: 2;
}

/* --- スマホ対応：縦並び --- */
@media (max-width: 600px) {
  .form-buttons {
    flex-direction: column;
    gap: 16px;
  }
}
