@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
*/

#body_wrap.single .l-mainContent__inner
 {
    padding: 48px 60px;
    background-color: #fff;
}

/* paddingをリセット */
@media screen and (max-width: 959px) {
#body_wrap.single .l-mainContent__inner
 {
        padding: 0; /* paddingをなくす */
        background-color: #fff; /* 背景色は維持 */
    }
}


@media screen and (min-width: 600px) {
    .single .l-content {
        padding-top: 1em;
    }
}

/* フロートメニューに適用される不要なマージンをリセット */
.c-widget .textwidget > .air-takumi-float-menu,
.c-widget .textwidget > .air-takumi-pc-floating-menu {
    margin-bottom: 0;
}


.top #content {
    /* コンテンツ上下に余分な空白が入るので消す */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.single-cleaning #content {
    /* コンテンツ上下に余分な空白が入るので消す */
    padding-top: 2em !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.voice-category #content {
    /* コンテンツ上下に余分な空白が入るので消す */
    padding-top: 2em !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.page #content {
    /* コンテンツ上下に余分な空白が入るので消す */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#content {
     コンテンツ上下に余分な空白が入るので消す 
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    /* margin-bottom: 0 !important; */
}


@media (max-width: 768px)  {
.swell-col-reverse .swell-block-columns__inner{
flex-direction: column-reverse; 
}
}
/* フッター直前にワイドボックスを設置したら出る空白を非表示 */
.w-beforeFooter {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* 投稿ID「10094」ページのレイアウトをカスタマイズ */
/* 1. コンテンツエリア上部の余白を削除 */
#body_wrap.postid-10094 .l-content {
padding-top: 0 !important;
}
/* 2. ページ全体の骨格の余白と背景を削除 */
#body_wrap.postid-10094 .l-mainContent__inner {
padding: 0 !important;
background: none !important;
}

/* 投稿ID「7952」ページのレイアウトをカスタマイズ */
/* 1. コンテンツエリア上部の余白を削除 */
#body_wrap.postid-7952 .l-content {
padding-top: 0 !important;
}
/* 2. ページ全体の骨格の余白と背景を削除 */
#body_wrap.postid-7952 .l-mainContent__inner {
padding: 0 !important;
background: none !important;
}


.p-fixBtnWrap { 
	bottom: 100px;
}

/* !-====================================================
 * ▼ フッター周り
 * ----------------------------------------------------*/
/* --- SWELLデフォルトのフッターウィジェットタイトルを非表示 --- */
.w-footer__title { display: none !important; }

/* --- フッター基本設定 --- */
.l-footer { background-color: #1f2a38; color: #cdd5e0; }
.l-footer .w-footer__inner { padding: 80px 40px; max-width: 1300px; margin: 0 auto; display: flex; gap: 45px; }

/* --- レイアウト & ブロック設定 --- */
.footer-nav-block { margin-bottom: 40px; }
.footer-nav-block:last-child { margin-bottom: 0; }

/* --- 左カラム (ロゴと理念) --- */
.footer-identity-col { flex: 1.2; text-align: center; }
.footer-logo-card {
  background-color: #fff; border-radius: 12px; padding: 25px; display: inline-block;
  margin-bottom: 30px; box-shadow: 0 10px 35px rgba(0,0,0,0.5);
}
.footer-logo-card img { display: block; }
.footer-philosophy-text { font-size: 15px; line-height: 2; color: #aeb9c8; text-align: left; }

/* --- 中央・右カラム --- */
.l-footer .w-footer__item:nth-child(2),
.l-footer .w-footer__item:nth-child(3) { flex: 1; }

/* --- メインタイトル --- */
.footer-main-title {
  display: flex; align-items: baseline; gap: 10px; font-size: 18px; font-weight: 700;
  color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 25px;
}
.footer-main-title span { font-size: 12px; color: #8a9bb0; }

/* --- メインリスト --- */
.footer-main-list { list-style: none; padding: 0; margin: 0; }
.footer-main-list li { margin-bottom: 15px; }
.footer-main-list a { color: #cdd5e0; text-decoration: none; font-size: 15px; transition: color 0.3s ease; display: inline-flex; align-items: center; }
.footer-main-list a::before { content: '›'; margin-right: 10px; color: #5a7a9e; transition: color 0.3s ease; }
.footer-main-list a:hover { color: #fff; }
.footer-main-list a:hover::before { color: #3498db; }

/* --- 施工実績 --- */
.footer-works-list { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 25px; }
.footer-works-list a { font-size: 15px; color: #cdd5e0; text-decoration: none; transition: color 0.3s ease; }
.footer-works-list a:hover { color: #fff; }

/* --- 会社情報 & ★注釈ボックス★ --- */
.footer-company-info { margin-bottom: 20px; }
.footer-company-info p { font-size: 14px; line-height: 1.8; color: #cdd5e0; }
.footer-attention-box {
  border: 1px solid #3c4a5c;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 25px;
}
.footer-attention-box p { font-size: 12px; color: #8a9bb0; line-height: 1.6; margin: 0; }
.footer-attention-box small { font-size: 100%; }

/* --- サブボタン (すべて見る) --- */
.footer-sub-button {
  display: inline-block; background-color: #3498db; color: #fff; font-size: 14px; font-weight: bold;
  padding: 10px 25px; border-radius: 50px; text-decoration: none; margin-top: 15px;
  transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}
.footer-sub-button:hover {
  background-color: #2980b9; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* --- メインCTAボタン --- */
.footer-cta-block { margin-top: 30px; }
.footer-main-button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background-color: #4EAB50; color: #fff; font-size: 16px; font-weight: bold;
  text-align: center; padding: 18px 10px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 5px 20px rgba(78, 171, 80, 0.3); transition: all 0.3s ease;
}
.footer-main-button:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 25px rgba(78, 171, 80, 0.4); }
.footer-main-button i { font-size: 1.1em; }

/* --- コピーライト --- */
.c-copyright { background-color: #141d28; color: #777; }

/* --- フッター コンテンツハブエリア --- */
.footer-content-hub {
  margin-top: 60px; /* 他のブロック間(40px)より少し広い余白を取り、自然な区切りとします */
}

/* --- レスポンシブ対応 --- */
@media (max-width: 1023px) { /* タブレット */
  .l-footer .w-footer__inner { flex-direction: column; gap: 0; }
  .l-footer .w-footer__item { width: 100%; margin-bottom: 50px; }
  .l-footer .w-footer__item:last-of-type { margin-bottom: 0; }
}
/* !-====================================================
 * ▼ キャプションボックスの高さを揃える
 * ----------------------------------------------------*/
.myColumnCaptionBox {
  height : 100%;
}

.myColumnCaptionBox .cap_box_content{
  height : 100%;
}

/* !-====================================================
 * ▼ サイドバー (見本画像デザイン最終版)
 * ----------------------------------------------------*/

.reservation-sidebar {
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    max-width: 340px;
    margin: 20px auto;
    text-align: center;
}

.sidebar-title {
    /* 見本画像の青色に調整 */
    color: #3B5B8A;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 25px 0;
}

.reservation-buttons {
    margin-bottom: 0;
}

.reservation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* 見本画像の少し落ち着いた青に変更 */
    background: #4A7AB5;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(74, 122, 181, 0.3);
    text-decoration: none;
    padding: 20px;
    /* 角丸を少し大きくして柔らかい印象に */
    border-radius: 10px; 
    font-weight: 700;
    /* 文字サイズを少し小さくして改行問題を解決 */
    font-size: 16px; 
    text-align: center;
    transition: all 0.3s ease;
}

.reservation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 122, 181, 0.4);
    background: #3e6699; /* ホバー時に少し暗い青に */
}

.reservation-btn i {
    font-size: 32px;
    margin-right: 18px;
}

/* 2行テキスト用のスタイル */
.btn-text {
    line-height: 1.5; /* 行間を少し広げて読みやすく */
    text-align: left;
}

.reservation-notice {
    margin-top: 25px;
}

.notice-title {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 8px 0;
    color: #333333;
}

.notice-text {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    color: #666666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .reservation-sidebar {
        margin: 20px 16px;
        padding: 25px 20px;
    }
    
    .sidebar-title {
        font-size: 22px;
    }
    
    .reservation-btn {
        font-size: 15px; /* スマホではさらに少し小さく */
        padding: 15px;
    }
    .reservation-btn i {
        font-size: 28px;
        margin-right: 15px;
    }
}
/* !-====================================================
 * ▼ スタイル系
 * ----------------------------------------------------*/
/* 背景を灰色にする（ブロックの高度な設定で「追加CSSクラス」に入れれば適用） */
.haikei-gray {
    background-color: #F0F3F6;
}

/* 背景を灰色にする（ブロックの高度な設定で「追加CSSクラス」に入れれば適用） */
.haikei-blue {
    background-color: #F7FAFD;
}

/* h3の下線を非表示にする（例：<h3 class="card-title no-underline">従来のPR</h3>） 
 * 基本はswell設定でONにするためh3で下線を引きたくない場合使用【PR比較表で使用】 */
.no-underline::before {
    display: none !important;
}
/* h3の下線をオレンジにする（見出しの高度な設定で「追加CSSクラス」に、h3-underline-orangeを入れれば適用） 
 * 基本はswell設定のメイン色になるが、一部変更したい場合使用【ご提供サービスセクションのオプションキャプションボックスで使用】 */
.post_content h3.h3-underline-orange::before {
    background: repeating-linear-gradient(90deg, #F59B5F 0%, #F59B5F 29.3%, rgba(150, 150, 150, .2) 29.3%, rgba(150, 150, 150, .2) 100%);
}
/* 文字マーカー下線（黄色） */
.keiko_yellow {
    background: linear-gradient(transparent 50%, rgba(255, 252, 107, .69) 50%);
    font-weight: bold;
}
/* 文字マーカー下線（水色） */
.keiko_lightblue {
    background: linear-gradient(transparent 60%, rgba(173, 216, 230, 0.7) 60%);
    /* 例: 薄い水色 */
    /* background: linear-gradient(transparent 60%, rgba(0, 191, 255, 0.6) 60%); */
    /* 例: 少し濃い水色 */
    font-weight: bold;
    padding-bottom: 1px;
    margin-bottom: -1px;
}
/* 文字マーカー下線（赤色） */
.keiko_red {
    background: linear-gradient(transparent 60%, rgba(255, 99, 71, 0.6) 60%);
    /* 例: トマト色 */
    /* background: linear-gradient(transparent 60%, rgba(255, 182, 193, 0.7) 60%); */
    /* 例: ややピンク寄りの赤 */
    font-weight: bold;
    padding-bottom: 1px;
    margin-bottom: -1px;
}
/* 文字（赤色） */
.title_red {
    color: #de2d2d;
}

.is-style-check_list li:before {
    font-weight:bold;
}


/* --- 改善点：言葉の重みをフォントで表現 --- */
.quote-text {
    position: relative;
    z-index: 2;
    font-size: 1.6rem;
    /* フォントサイズを大きく */
    font-weight: 700;
    /* 太字にする */
    line-height: 1.7;
    color: #fff;
}


/* ============================================================= */
/* ▼▼▼ 単独プロフィールボックス用のスタイル ▼▼▼ */
/* ============================================================= */
.profile-box-single {
  background-color: #f9fafb; /* 背景色 */
  border: 1px solid #e5e7eb; /* 枠線 */
  border-radius: 8px; /* 角丸 */
  margin: 1.5em 0; /* 上下の余白 */
  padding: 24px; /* 内側の余白 */
  overflow: hidden; /* 角丸を効かせる */
}

/* 単独ボックス内のプロフィール項目には下線を引かない */
.profile-box-single .eeat-profile-item {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* === 最終版・タイトル一体型 開閉プロフィールボックス === */

/* 全体を囲むボックス */
.eeat-profile-container {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin: 1.5em 0;
  overflow: hidden; /* 角丸を効かせる */
}

/* タイトルと開閉ボタンが一体化したヘッダー */
.eeat-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.eeat-profile-header:hover {
  background-color: #f3f4f6;
}
.eeat-profile_title {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0;
}
.eeat-profile_expander {
  color: #3b82f6;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.eeat-profile_expander .expander-close { display: none; }

/* プロフィールリスト本体 */
.eeat-profile-list {
  padding: 24px;
  border-top: 1px solid #e5e7eb;
  transition: opacity 0.4s ease, max-height 0.5s ease;
  overflow: hidden;
}
.eeat-profile-item {
  display: flex;
  align-items: flex-start;
}
.eeat-profile-item:not(:last-child) {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px dashed #e0e0e0;
}

/* 最後のプロフィール項目の区切り線を消す */
.eeat-profile-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}


/* プロフィール内の「もっと見る」リンクのスタイル */
.profile-more-link {
  margin-top: 12px; /* 上の説明文との間に余白を作る */
  text-align: right; /* 右揃えにする */
}

.profile-more-link a {
  font-size: 13px;
  font-weight: bold;
  color: #3b82f6; /* テーマカラーに合わせた青色など */
  text-decoration: none;
  transition: opacity 0.2s;
}

.profile-more-link a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* スマホ表示では右揃えを解除 */
@media (max-width: 600px) {
  .profile-more-link {
    text-align: left;
  }
}


/* 各プロフィールの中身 (既存のsupervisor-boxのスタイルを継承) */
.eeat-profile-item .item-figure { position: relative; flex-shrink: 0; margin-right: 20px; width: 100px; }
.eeat-profile-item .item-figure img { border-radius: 50%; width: 100px; height: 100px; object-fit: cover; display: block; }
.eeat-profile-item .item-label {
  position: absolute;
  bottom: -10px; /* ラベル位置を元の位置に戻しました */
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #fff;
  background-color: #2e2e33;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.eeat-profile-item .item-body { flex-grow: 1; min-width: 0; }
.eeat-profile-item .item-head { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #e0e0e0; }
.eeat-profile-item .item-position { font-size: 13px; font-weight: bold; color: #555; margin: 0; }

/* 名前のスタイルをFlexboxで制御 */
.eeat-profile-item .item-name {
  display: flex;         /* ★追加: Flexboxを有効にする */
  align-items: center;   /* ★追加: 垂直方向の中央揃え */
  flex-wrap: wrap;       /* ★追加: 折り返しを許可 */
  gap: 0 0.5em;          /* ★追加: 横方向の隙間を0.5emに */

  /* 既存のスタイルはそのまま */
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* 名前の読み仮名のスタイル */
.eeat-profile-item .item-name-reading {
  font-size: 0.7em; /* 名前の70%のサイズ */
  font-weight: normal; /* 太字にしない */
  color: #555; /* 少し薄い色に */
}


.eeat-profile-item .item-description { margin-top: 8px; font-size: 14px; line-height: 1.7; }
.eeat-profile-item .item-description p { margin: 0; }
.eeat-profile-item .item-sns-list { list-style: none; padding-left: 0; margin: 16px 0 0 0; display: flex; gap: 16px; }
.eeat-profile-item .item-sns-list a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background-color: #e5e7eb; border-radius: 50%; text-decoration: none; transition: opacity 0.2s; }
.eeat-profile-item .item-sns-list a:hover { opacity: 0.7; }
.eeat-profile-item .item-sns-list .sns-icon { color: #4b5563; font-size: 18px; }

/* --- ▼▼▼ 開閉機能のためのCSS ▼▼▼ --- */
/* [初期状態] リストの高さを制限し、フェードアウト */
.eeat-profile-container .eeat-profile-list {
  max-height: 230px; /* ★修正: 上部に追加した余白分、高さを調整しました */
  position: relative;
}
.eeat-profile-container .eeat-profile-list::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #f9fafb 90%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* --- ▼▼▼ [開いた後の状態] is-expandedが付いた時 ▼▼▼ --- */
.eeat-profile-container.is-expanded .eeat-profile-list {
  max-height: 2000px; /* 十分な高さ */
}
.eeat-profile-container.is-expanded .eeat-profile-list::after {
  opacity: 0; /* フェードアウトを消す */
}
.eeat-profile-container.is-expanded .expander-open { display: none; }
.eeat-profile-container.is-expanded .expander-close { display: inline; }
.eeat-profile-expander .expander-close { display: none; }

/* --- スマホ表示 --- */
@media (max-width: 600px) {
  .eeat-profile-item { flex-direction: column; align-items: center; }
  .eeat-profile-item .item-figure { margin-right: 0; margin-bottom: 20px; }
  .eeat-profile-item .item-body { width: 100%; text-align: center; }
  .eeat-profile-item .item-name { font-size: 18px; }
  .eeat-profile-item .item-description { text-align: left; }
  .eeat-profile-item .item-sns-list { justify-content: center; }
}



/*
 * ===============================================
 *  自己紹介「どん底」セクション共通スタイル
 * ===============================================
 * PCでは中央揃え、スマホでは左寄せに切り替わります。
 */

/* 
 * ---【STEP 1】スマホでの表示（左寄せ）を基本に設定 ---
 */

/* 見出し部分のスタイル（お客様の言葉など） */
.quote-text {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.7;
    color: #fff;
    text-align: left; /* スマホでは左寄せ */
}

/* 本文部分のスタイル（罪悪感を語る部分） */
.quote-section {
    line-height: 1.8;
    text-align: left; /* スマホでは左寄せ */
}

/* 決意表明部分のスタイル（もう二度と〜の部分） */
.quote-resolution {
    padding-top: 1em;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left; /* スマホでは左寄せ */
}
.quote-resolution {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 700;
}


/* 
 * ---【STEP 2】PCでの表示（中央揃え）を上書き設定 ---
 * 画面幅が769px以上のデバイスにのみ適用されます。
 */
@media (min-width: 769px) {
    /* 
     * PC表示の時だけ、3つのブロック全てを「中央揃え」に上書きします。
     * これで、PCではドラマチックに、スマホでは読みやすくなります。
     */
    .quote-text,
    .quote-section,
    .quote-resolution {
        text-align: center;
    }
}



/* 画像の角に丸みをつける */
.photo img {
    border-top-left-radius: 16px;
    /* 左上の丸み */
    border-top-right-radius: 16px;
    /* 右上の丸み */
    border-bottom-right-radius: 16px;
    /* 右下の丸み */
    border-bottom-left-radius: 16px;
    /* 左下の丸み */
}

/* !-====================================================
 * ▼ 独自見出しスタイル (will-)
 * ----------------------------------------------------*/
/* セレクタの詳細度を上げ、SWELLのデフォルトスタイルより優先させる */
/* --- PCでの表示 (画面幅768px以上) --- */
@media screen and (min-width: 768px) {
    /* h1 */
    .post_content h1.will-h1 {
        font-size: 20px !important;
        text-align: left;
    }
    /* h2 */
    .post_content h2.will-h2 {
        font-size: 40.96px;
        text-align: left;
        margin-bottom: 0.5em;
    }
    /* h2 */
    .post_content h2.will-h2-c {
        font-size: 40.96px;
        text-align: center;
        margin-bottom: 0.5em;
    }
    /* h2 */
    .post_content h2.will-h2-catch {
        font-size: 44px;
        text-align: left;
        line-height: 1.4;
        margin-bottom: 0.25em;
        margin-top: 0;
    }
    /* h2 */
    .post_content h2.will-h2-white {
        font-size: 34px;
        text-align: center;
        margin-bottom: 0.5em;
        color: #FFFFFF;
    }
    /* h3 */
    .post_content h3.will-h3 {
        font-size: 30px;
        text-align: left;
        margin-bottom: 0.5em;
    }
    /* h3 */
    .post_content h3.will-h3-c {
        font-size: 30px;
        text-align: center;
        margin-bottom: 0.5em;
    }
    /* h3 */
    .post_content h3.will-h3-y {
        font-size: 30px;
        text-align: center;
        margin-bottom: 0.5em;
        background: linear-gradient(transparent 50%, rgba(255, 252, 107, .69) 50%);
        font-weight: bold;
    }
    /* h3 */
    .post_content h3.will-h3-white {
        font-size: 30px;
        text-align: center;
        margin-bottom: 0.5em;
        color: #FFFFFF;
    }
    /* h3 */
    .post_content h3.will-h3-mailform {
        font-size: 18px;
        text-align: center;
        margin: 1em 0 1em;
    }
    /* h4 */
    .post_content h4.will-h4 {
        font-size: 24px;
    }
}
/* --- スマホでの表示 (画面幅767px以下) --- */
@media screen and (max-width: 767px) {
    /* h1 (PC:20px) -> スマホ:画面幅の5% */
    .post_content h1.will-h1 {
        font-size: 5vw;
    }
    /* h2 (PC:45px) -> スマホ:画面幅の8% */
    .post_content h2.will-h2 {
        font-size: 7vw;
        margin-bottom: 0.5em;
    }
    /* h2 (PC:45px) -> スマホ:画面幅の8% */
    .post_content h2.will-h2-c {
        font-size: 7vw;
        margin-bottom: 0.5em;
    }
    .post_content h2.will-h2-catch {
        font-size: 7vw;
        text-align: center;
        line-height: 1.4;
        margin-bottom: 0.25em;
        margin-top: 0;
    }
    .post_content h2.will-h2-white {
        font-size: 6vw;
        text-align: center;
        margin-bottom: 0.5em;
        color: #FFFFFF;
    }
    /* h3 (PC:25px) -> スマホ:画面幅の5.5% */
    .post_content h3.will-h3 {
        font-size: 5.5vw;
    }
    /* h3 (PC:25px) -> スマホ:画面幅の5.5% */
    .post_content h3.will-h3-c {
        font-size: 5.5vw;
    }
    /* h3 */
    .post_content h3.will-h3-mailform {
        font-size: 4.0vw;
        text-align: center;
        margin: 1.5em 0 1em;
    }
    /* h4 (PC:24px) -> スマホ:画面幅の5.2% */
    .post_content h4.will-h4 {
        font-size: 5.2vw;
    }
}
/* 見出しの共通スタイル（太字、余白リセットなど） */
.post_content h1.will-h1,
.post_content h2.will-h2,
.post_content h3.will-h3,
.post_content h4.will-h4 {
    font-weight: bold;
    margin-top: 0;
    padding: 0;
    line-height: 1.4;
}

/*
 * ===================================================================================
 *  CTAセクション専用スタイル (p-cta-section) ウィジェットで部品で呼び出している
 *   [myphp file='footer-cta']　templateにある
 * ===================================================================================
 * .post_content に依存せず、このセクションだけで完結するスタイル。
 */

/* 
 * --- PC向けのスタイル (769px以上) ---
 */
@media (min-width: 769px) {
    /* h2見出しのスタイル */
    .p-cta-section h2.will-h2-c {
        font-size: 40.96px; /* PCでは大きめのフォントサイズ */
        text-align: center;
        margin-bottom: 0.5em;
    }
    /* h3見出しのスタイル */
    .p-cta-section h3.will-h3-c {
        font-size: 30px; /* PCでは大きめのフォントサイズ */
        text-align: center;
        margin-bottom: 0.5em;
    }
}

/* 
 * --- スマホ・タブレット向けのスタイル (768px以下) ---
 */
@media (max-width: 768px) {
    /* h2見出しのスタイル */
    .p-cta-section h2.will-h2-c {
        font-size: 28px; /* スマホでは見やすいサイズに調整 */
        text-align: center;
        margin-bottom: 0.5em;
    }
    /* h3見出しのスタイル */
    .p-cta-section h3.will-h3-c {
        font-size: 5.5vw;
        text-align: center;
    }
}



@media screen and (min-width: 768px) { .pc-large-text p { font-size: 18px; / PC画面でのみ18px / } }

/* ---カラムレイアウト専用CSS（サイドバー有りページに影響なし）--- */

/*
 * === 1カラム・カード中央寄せ レイアウト ===
 * template-single-column.php が適用されたページの #content の上部余白を削除
 * !important は極力避けるため、セレクタの詳細度を上げて対応。
 */
body#body_wrap.voice-category .l-content > #content.l-container {
    padding-top: 0!important
	padding-bottom: 0!important
}

/*
 * === 基本スタイル（デバイス共通） ===
 */
.voice-category .c-postTitle__ttl {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #2e2e33;
    line-height: 1.4;
    margin-bottom: 16px;
}
.voice-category .c-postTitle__date {
    display: none; /* 日付を非表示 */
}
.voice-category .p-articleMetas {
    padding: 0;
    margin-bottom: 30px;
}
.voice-category .c-categoryList__link {
    background-color: #e8e8e8;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}
.voice-category .c-categoryList__link:hover {
    background-color: #ddd;
}
.voice-category .post_content img {
    border-radius: 4px;
}
.voice-category .post_content h2,
.voice-category .post_content h3,
.voice-category .post_content h4 {
    color: #2e2e33;
}
.voice-category .post_content > h2 {
    margin-right: 0;
    margin-left: 0;
}
.voice-category .p-toc {
    background-color: #f8f8f8;
    border: 1px solid #e8e8e8;
}
.voice-category .p-articleFoot,
.voice-category .c-shareBtns,
.voice-category .p-pnLinks {
    padding-top: 10px;
    padding-bottom: 0px;
}
.voice-category .l-articleBottom {
    padding: 0px 0;
}
.voice-category .l-articleBottom__section {
    padding: 0px;
    margin-bottom: 0px;
}

/*
 * === PC向けスタイル (769px以上) ===
 */
@media (min-width: 769px) {
    .voice-category .p-articleHead {
       /*padding: 40px 0 20px; 上の幅広すぎるから削除*/
        margin-bottom: 0;
    }
    .voice-category .post_content {
        background-color: #fff;
        padding: 40px;
        margin: 20px 0;
        position: relative;
    }
}

/*
 * === スマホ・タブレット向けスタイル (768px以下) ===
 */
@media (max-width: 768px) {
    /* 全体を白背景に */
    .voice-category {
        --color_bg: #fff;
        --color_content_bg: #fff;
    }
    .voice-category #content,
    .voice-category .l-content,
    .voice-category .l-mainContent {
        background-color: #fff;
    }

    .voice-category .c-postTitle__ttl {
        font-size: clamp(18px, 5vw, 24px);
    }
    
    /* 左右の余白をなくし、中の要素で余白を調整 */
    .voice-category #content.l-container {
        padding-left: 0;
        padding-right: 0;
    }
    .voice-category .p-articleHead,
    .voice-category .p-articleMetas,
    .voice-category .post_content, /* 本文もここで指定 */
    .voice-category .p-articleFoot,
    .voice-category .l-articleBottom,
    .voice-category .p-pnLinks {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box; 
    }
    
    .voice-category .p-articleHead {
        padding-top: 20px;
        padding-bottom: 15px;
        margin-bottom: 0;
    }
    .voice-category .post_content {
        background-color: #fff;
        padding-top: 15px;
        padding-bottom: 15px;
        margin: 0;
        position: relative;
    }
}

/*
 * === スマホ向けスタイル (599px以下) ===
 * FAQのスタイルなど、より小さい画面向けの調整
 */
@media (max-width: 599px) {
    .voice-category .post_content .faq_a,
    .voice-category .post_content .faq_q {
        padding-right: 32px;
        padding-left: 3em;
    }
}

/*
 * === SWELLのパンくずリストの最後の項目のリンクを無効化 ===
 */
.single .p-breadcrumb__item:last-child > a.p-breadcrumb__text {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}
.single .p-breadcrumb__item:last-child > a.p-breadcrumb__text:hover {
    opacity: 1;
}


/* ---------------------------------------------
*   トップページ
--------------------------------------------- */



/* === その汚れ大丈夫？=== */

#second-area {
    --sa-bg-color: #F7F5F3;
    --sa-text-color: #3f3f3f;
    --sa-red-color: #e23a4d;
    --sa-yellow-highlight: #fff15a;
    
    color: var(--sa-text-color);
    box-sizing: border-box;
    /* サイトの横幅いっぱいに広がるように */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

#second-area * {
    box-sizing: border-box;
}

#second-area .sa-container {
    background-color: var(--sa-bg-color); 
    border-radius: 0 50px 0 0;
    padding: 60px 80px;   
    max-width: 1200px; /* 少し広めに設定 */
    margin: 0 auto;     
}

/* --- 問題提起セクション --- */
#second-area .sa-problem-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

#second-area .sa-problem-text {
    flex: 1 1 55%;
}

#second-area .sa-problem-image {
    flex: 1 1 45%;
    text-align: center;
}

#second-area .sa-problem-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0; /* SWELLによる画像の角丸をリセット */
}

#second-area .sa-main-heading {
    font-size: 45px;
    font-weight: 700;
    color: var(--sa-text-color);
    text-align: left;
    margin-bottom: 0.5em;
}

#second-area .sa-sub-heading {
    font-size: 17px;
	font-weight: bold;
    margin: 0 0 20px 0;
}

#second-area .sa-concerns-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#second-area .sa-concerns-list li {
    display: flex;
    align-items: flex-start;
    font-size: 17px;
    line-height: 1.7;
    padding: 0;
    margin: 0;
}
#second-area .sa-concerns-list li:before {
    content: none; /* SWELLのリストスタイルをリセット */
}

#second-area .sa-concerns-list li:not(:last-child) {
    margin-bottom: 15px;
}

#second-area .sa-icon-check {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.7em;
    flex-shrink: 0;
    position: relative;
    top: 0.25em;
}

#second-area .sa-icon-check svg {
    width: 100%;
    height: 100%;
    fill: var(--sa-red-color);
}

/* --- 矢印 --- */
#second-area .sa-arrow-divider {
    text-align: center;
    margin: 20px 0 0px;
}

#second-area .sa-arrow-divider img {
    width: 27px;
    height: 40px;
}

/* --- 解決策セクション --- */
#second-area .sa-solution-section {
    text-align: center;
}

#second-area .sa-solution-heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin: 0 auto 30px auto;
    color: var(--sa-text-color);
}

#second-area .sa-solution-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-color: var(--sa-text-color);
}

#second-area .sa-text-red {
    color: var(--sa-red-color);
}

#second-area .sa-solution-text {
    font-size: 18px;
    line-height: 2;
    margin: 0;
}

#second-area .sa-marker-yellow {
    background: linear-gradient(transparent 60%, var(--sa-yellow-highlight) 60%, var(--sa-yellow-highlight) 95%, transparent 95%);
    font-weight: 700;
}

/* --- レスポンシブ設定 --- */
#second-area .sa-br-sp { display: none; }
#second-area .sa-br-pc { display: block; }

@media (max-width: 768px) {
    #second-area .sa-container {
        padding: 40px 10px;
        border-radius: 0 20px 0 0; 
    }

    #second-area .sa-problem-section {
        flex-direction: column;
    }

    #second-area .sa-problem-text {
        width: 95%;
    }
    
    #second-area .sa-problem-image {
        margin-top: 30px;
        width: 90%;
    }

    #second-area .sa-main-heading {
        font-size: 28px;
        text-align: center;
    }

    #second-area .sa-sub-heading {
        text-align: center;
    }

    #second-area .sa-solution-heading {
        font-size: 26px;
        line-height: 1.6;
    }
    
    #second-area .sa-br-sp { display: block; }
    #second-area .sa-br-pc { display: none; }
}


/* =================================================== */
/* お客様インタビューセクション
/* =================================================== */

.custom-interview-gallery {
  margin: 2em 0;
}
/* 専用クラスに変更 */
.custom-interview-gallery .interview-swiper-container {
  /* PC表示で影やはみ出したスライドが見えるように */
  overflow: visible;
  /* スマホ表示ではみ出したスライドを隠す */
  overflow-x: clip;
}

/* 各インタビュー項目 */
.custom-interview-gallery .interview-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-interview-gallery .interview-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* PCホバー時のエフェクト */
.custom-interview-gallery .interview-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1em;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.custom-interview-gallery .interview-item__title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

/* --- スマホ表示 (768px以下) --- */
@media (max-width: 768px) {
  /* スマホではオーバーレイは不要 */
  .custom-interview-gallery .interview-item__overlay {
    display: none;
  }
  
  /* スライダーの左右の矢印のスタイル */
  .custom-interview-gallery .swiper-button-next,
  .custom-interview-gallery .swiper-button-prev {
    color: #333; /* 矢印の色 */
    top: 45%; /* ページネーションと重ならないように少し上に */
  }
  .custom-interview-gallery .swiper-button-next {
    right: -10px;
  }
  .custom-interview-gallery .swiper-button-prev {
    left: -10px;
  }
  
  /* スライダーのページネーション（点）のスタイル */
  .custom-interview-gallery .swiper-pagination {
    position: static; /* スライダーの下に配置 */
    margin-top: 20px;
  }
  .custom-interview-gallery .swiper-pagination-bullet {
    background-color: #aaa;
    opacity: 0.8;
  }
  .custom-interview-gallery .swiper-pagination-bullet-active {
    background-color: #333;
    opacity: 1;
  }
}

/* --- PC表示 (769px以上) --- */
@media (min-width: 769px) {
  .custom-interview-gallery .interview-swiper-container {
    overflow: visible; /* PCでははみ出し表示を許可 */
  }
  
  /* Swiperの機能を無効化し、グリッドレイアウトに変更 */
  .custom-interview-gallery .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列 */
    gap: 20px; /* アイテム間の余白 */
  }

  /* グリッド表示の際にSwiperのスライド幅指定をリセット */
  .custom-interview-gallery .swiper-slide {
    width: auto;
    margin-right: 0 !important;
  }
  
  /* PCではスライダー用のUIを非表示 */
  .custom-interview-gallery .swiper-button-next,
  .custom-interview-gallery .swiper-button-prev,
  .custom-interview-gallery .swiper-pagination {
    display: none;
  }

  /* PCホバー時の動作 */
  .custom-interview-gallery .interview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  .custom-interview-gallery .interview-item:hover img {
    transform: scale(1.05);
  }
  .custom-interview-gallery .interview-item:hover .interview-item__overlay {
    opacity: 1;
  }
  .custom-interview-gallery .interview-item:hover .interview-item__title {
    transform: translateY(0);
  }
}


/* ===============================================
   お客様に選ばれる8つの理由セクション
=============================================== */

/* === 基本スタイル === */
body.strong8-modal-open { /* モーダル表示時に背景スクロールを禁止 */
    overflow: hidden;
}

.strong8-container {
    overflow-x: hidden; /* 横スクロール防止 */
}

.strong8-feature-section {
    display: flex;
    align-items: center;
    max-width: 1140px; /* コンテンツの最大幅 */
    width: 90%;
    margin: 70px auto; /* セクション間のマージン */
    position: relative;
}

.strong8-image-column {
    flex: 0 0 48%; /* 画像エリアの幅 */
    position: relative;
    z-index: 1;
    display: flex; /* メイン画像とギャラリーをコントロールするため */
    flex-direction: column;
    gap: 15px; /* 画像間の隙間 (主にメイン画像とギャラリーの間) */
}

.strong8-image-column > img { /* メインの代表画像 */
    width: 90%; /* 親要素(.strong8-image-column)の90% */
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* テキストカラム */
.strong8-text-column {
    flex: 1;
    position: relative;
    z-index: 2;
}

/* 通常のセクション (左画像、右テキスト) */
.strong8-feature-section:not(.strong8-feature-section-reverse) .strong8-text-column {
    margin-left: -70px;
}

/* 反転セクション (左テキスト、右画像) */
.strong8-feature-section-reverse {
    flex-direction: row-reverse;
}
.strong8-feature-section-reverse .strong8-text-column {
    margin-right: -70px;
    margin-left: 0;
}

/* 写真がないセクションの調整用 */
.strong8-image-column-no-image {
    min-height: 100px; /* バランス取り */
}
.strong8-image-column-no-image > img { /* 写真なしセクション用の画像スタイル (例: ロゴなど) */
    width: 60%; /* 少し小さめに */
    margin: 0 auto; /* 中央寄せ */
    box-shadow: none; /* 影なし */
}

.strong8-feature-section:not(.strong8-feature-section-reverse) .strong8-image-column-no-image + .strong8-text-column {
    margin-left: 0;
}
.strong8-feature-section-reverse .strong8-image-column-no-image + .strong8-text-column {
    margin-right: 0;
}


.strong8-feature-number {
    position: absolute;
    top: -25px;
    font-size: 80px;
    font-weight: bold;
    color: #0d2c54; /* 濃い青 */
    line-height: 1;
    z-index: 3;
}
.strong8-feature-section:not(.strong8-feature-section-reverse) .strong8-feature-number {
    right: 20px;
}
.strong8-feature-section-reverse .strong8-feature-number {
    left: 20px;
}


.strong8-card {
    background-color: #ffffff;
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
}

h2.strong8-card-title { /* h2要素であることを明示 */
    font-size: 22px; /* メインのタイトルサイズ */
    color: #0d2c54;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.strong8-title-dash {
    display: inline-block;
    width: 40px;
    height: 3px;
    background-color: #0d2c54;
    margin-left: 15px;
}
.strong8-feature-section-reverse .strong8-card-title {
    flex-direction: row-reverse;
}
.strong8-feature-section-reverse .strong8-title-dash {
    margin-left: 0;
    margin-right: 15px;
}

/* カード内のサマリーコンテンツ */
.strong8-card-content-summary p {
    font-size: 15px; /* 概要文のフォントサイズ */
    line-height: 1.6;
    color: #333;
    margin-top: 0;
    margin-bottom: 0; /* ボタンとの間隔はボタンのmargin-topで */
}

.strong8-inline-link { /* モーダル内などで使うインラインリンク */
    color: #0072ce;
    text-decoration: underline;
}
.strong8-inline-link:hover {
    color: #00569a;
}

.strong8-popup-trigger {
    display: inline-block;
    background-color: #0072ce; /* ボタン色 */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}
.strong8-popup-trigger:hover {
    background-color: #00569a; /* ボタンホバー色 */
}

/* === ポップアップモーダルスタイル === */
.strong8-popup-modal {
    position: fixed;
    z-index: 1050; /* 他の要素より手前に */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* モーダル自体はスクロールさせない */
    background-color: rgba(0,0,0,0.6);
    display: none; /* JSで flex に変更して表示 */
    align-items: center;
    justify-content: center;
}

.strong8-popup-modal-content {
    background-color: #fefefe;
    margin: auto; /* 上下左右中央 */
    padding: 30px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 700px; /* モーダルの最大幅 */
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    max-height: 85vh; /* モーダルの最大高さ */
}

.strong8-popup-modal-close {
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    line-height: 1;
}
.strong8-popup-modal-close:hover,
.strong8-popup-modal-close:focus {
    color: black;
    text-decoration: none;
}

#strong8-popup-modal-body {
    overflow-y: auto; /* 内容が多ければスクロール */
    padding-right: 10px; /* スクロールバーのスペース */
    flex-grow: 1; /* コンテンツエリアを可能な限り広げる */
	overscroll-behavior: contain;
}

#strong8-popup-modal-body h3 {
    font-size: 1.6em; /* モーダル内タイトル */
    color: #0d2c54;
    margin-top: 0;
    margin-bottom: 20px;
}
#strong8-popup-modal-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1em;
}
#strong8-popup-modal-body p:last-child {
    margin-bottom: 0;
}
#strong8-popup-modal-body small {
    font-size: 0.85em;
    color: #555;
    display: block;
    margin-top: 0.5em;
}

/* モーダル内の画像ギャラリー */
.strong8-image-gallery-modal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}
.strong8-image-gallery-modal img {
    width: calc(50% - 7.5px); /* 2枚横並び (gapを考慮) */
    height: auto;
    border-radius: 6px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
}
/* モーダル内の単体画像 */
.strong8-modal-single-image {
    width: 100%;
    max-width: 400px; /* 大きすぎないように */
    height: auto;
    display: block;
    margin: 20px auto; /* 中央寄せ */
    border-radius: 6px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
}


/* === レスポンシブ対応 === */
@media (max-width: 991px) { /* 少し広めのブレークポイント */
    .strong8-feature-section,
    .strong8-feature-section-reverse {
        align-items: flex-start; /* 上揃えに */
    }
    .strong8-image-column {
        flex-basis: 40%; /* 画像エリアを少し狭く */
    }
    .strong8-feature-section:not(.strong8-feature-section-reverse) .strong8-text-column {
        margin-left: -50px; /* 重なりを少し浅く */
    }
    .strong8-feature-section-reverse .strong8-text-column {
        margin-right: -50px; /* 重なりを少し浅く */
    }
    h2.strong8-card-title {
        font-size: 20px;
    }
    .strong8-feature-number {
        font-size: 70px;
        top: -20px;
    }
}


@media (max-width: 768px) {
    .strong8-feature-section,
    .strong8-feature-section-reverse {
        flex-direction: column !important;
        width: 100%;
        margin: 40px auto;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .strong8-image-column {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: -30px; /* カードを少し画像に重ねる */
        order: 1;
    }
    .strong8-image-column > img {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .strong8-image-column-no-image { /* スマホではno-imageも通常表示 */
        min-height: auto;
        margin-bottom: 20px; /* 通常の画像と同じマージン */
    }
    .strong8-image-column-no-image > img {
        width: 70%; /* ロゴなどを少し小さく */
    }


    .strong8-text-column {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0; /* image-columnのネガティブマージンで調整 */
        order: 2;
    }
    
    .strong8-feature-number {
        font-size: 56px;
        top: 15px;
        left: 15px !important;
        right: auto !important;
        color: #0d2c54; /* スマホでも見えるように */
    }

    .strong8-card {
        padding: 25px;
        padding-top: 30px;
    }

    h2.strong8-card-title {
        font-size: 18px;
        padding-left: 55px; /* 番号と重ならないように */
        min-height: 40px;
        flex-direction: row !important;
    }
    .strong8-title-dash {
        margin-left: 10px !important;
        margin-right: 0 !important;
    }

    .strong8-card-content-summary p {
        font-size: 14px;
        /* padding-left: 55px; */ /* 番号に合わせる場合は有効化 */
    }
    .strong8-popup-trigger {
        width: 100%;
        box-sizing: border-box;
        font-size: 14px;
        padding: 12px 15px;
    }

    /* モーダル関連のスマホ調整 */
    .strong8-popup-modal-content {
        width: 95%; /* スマホでは横幅いっぱい近く */
        padding: 20px;
        max-height: 90vh; /* 高さをさらに確保 */
    }
    .strong8-popup-modal-close {
        top: 8px;
        right: 15px;
        font-size: 28px;
    }
    #strong8-popup-modal-body h3 {
        font-size: 1.3em;
    }
    #strong8-popup-modal-body p {
        font-size: 14px;
    }
    .strong8-image-gallery-modal img {
        width: 100%; /* スマホでは1列 */
    }
}

/* === 画像説明ボックス === */
.image-description {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #0072ce;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.image-description h4 {
    color: #0d2c54;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: bold;
}

.image-description p {
    margin-bottom: 10px;
}

.image-description p:last-child {
    margin-bottom: 0;
}

/* === リスク表示ボックス === */
.risk-list {
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.risk-list strong {
    color: #d63031;
    display: block;
    margin-bottom: 8px;
}

.risk-list ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.risk-list li {
    margin-bottom: 6px;
    color: #d63031;
    line-height: 1.5;
}

.risk-list li:last-child {
    margin-bottom: 0;
}

/* === 解決策ハイライトボックス === */
.solution-highlight {
    background:#fff;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #333;
    margin: 20px 0;
}

.solution-highlight h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.solution-highlight p {
    margin-bottom: 10px;
    color: #333;
}

.solution-highlight p:last-child {
    margin-bottom: 0;
}

/* === 強調テキスト === */
.strong8-popup-modal-content strong {
    color: #0d2c54;
}

/* === レスポンシブ対応 === */
@media (max-width: 768px) {
    .image-description {
        padding: 15px;
        margin: 15px 0;
    }
    
    .image-description h4 {
        font-size: 14px;
    }
    
    .risk-list {
        padding: 12px;
    }
    
    .solution-highlight {
        padding: 15px;
    }
    
    .solution-highlight h4 {
        font-size: 15px;
    }
}
/* ===============================================
   【予約セクション専用】確認事項リスト スタイル
=============================================== */

/*
 * リスト全体(ul)の基本設定。
 * reservation-check-list というユニークなクラス名で指定。
*/
.reservation-check-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/*
 * 各リスト項目(li)の設定。
 * 親クラスから指定することで、他のli要素に影響を与えません。
*/
.reservation-check-list li {
    position: relative;
    padding-left: 22px !important;
    margin-bottom: 20px !important;
    font-size: 14px; /* 全体のフォントサイズ */
    line-height: 1.7;
    color: #555;
}

/* 最後のリスト項目だけ下の余白をなくす */
.reservation-check-list li:last-child {
    margin-bottom: 0 !important;
}

/*
 * ■マーク(::before)の位置指定。
 * これで他の■マークのデザインに影響しません。
*/
.reservation-check-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    top: 6px; /* マークの縦位置。ズレる場合は5pxや7pxに微調整 */
    color: #3498db;
    font-size: 1em; /* liのフォントサイズに合わせる */
    line-height: 1; /* アイコン自体の高さをなくし、ズレを防止 */
}

/*
 * 項目のタイトル(strong)の設定。
 * これで他の太字のデザインに影響しません。
*/
.reservation-check-list li strong {
    display: block;
    font-size: 15px; /* liより少し大きく */
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}


/* ---------------------------------------------
*   予約ボタンと動機付けテキストのコンテナ
--------------------------------------------- */
.motivation-cta-wrapper {
  text-align: center;
  /* 全体を中央揃え */
  padding: 20px 0;
  /* 上下のパディング */
  max-width: 600px;
  /* コンテナの最大幅（レイアウトによる） */
  margin: 0 auto;
  /* 中央寄せ */
}


.motivation-text {
    font-size: 0.8em;
    color: #D32F2F; /* やや強めの赤で注意を引く */
    margin-bottom: 5px!important;
    font-weight: bold;
    line-height: 1.5; /* 行間は適切に */
    padding: 5px 0;   /* 上下のパディングを減らし、左右はなしに */
}

/* ---------------------------------------------
*   モチベーションテキスト（スマホ用スタイル）
*   ブレークポイントは既存の .br-sp に合わせるか、テキスト専用に設定
--------------------------------------------- */
@media screen and (max-width: 1080px) { /* 既存の .br-sp のブレークポイントに合わせる場合 */
                                        /* または、テキストの見た目を調整したい独自のブレークポイント (例: 768px) */
    .motivation-text {
        font-size: 0.6em;
        line-height: 1.45;
        margin-bottom: 12px;
        padding: 8px 5px;
        /* HTML側で .br-sp を使っていれば、word-break は基本的に不要 */
    }

    /* 親コンテナの左右パディングも調整する例 (必要に応じて) */
    .motivation-cta-wrapper {
        /* このブレークポイントで .motivation-cta-wrapper の padding を調整するならここに記述 */
        /* padding-left: 10px; */
        /* padding-right: 10px; */
    }
}

/* さらに小さい画面幅用のスタイル (例: 480px以下) も必要であれば追加 */
@media screen and (max-width: 480px) {
    .motivation-text {
        font-size: 0.95em;
        line-height: 1.4;
    }
    .motivation-cta-wrapper {
        /* さらに小さい画面での親コンテナのパディング調整 */
    }
}

/* ---------------------------------------------
*   通常の予約ボタン スタイル (LP内用)
--------------------------------------------- */
.air-takumi-cta-button {
  /* ボタンコンポーネント専用の変数を定義 */
  --btn-padding-y: 15px;
  /* 少し大きめのパディング */
  --btn-padding-x: 30px;
  --btn-font-size: 17px;
  /* 少し大きめのフォント */
  --btn-font-weight: 700;
  /* 太めのフォントウェイト */
  --btn-icon-size: 1.15em;
  --btn-border-radius: 8px;
  --btn-line-height: 1.5;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  line-height: var(--btn-line-height);
  text-decoration: none;
  border: none;
  border-radius: var(--btn-border-radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  /* 少し影を濃く */
}

.air-takumi-cta-button i {
  margin-right: 12px;
  /* アイコンとテキストの間隔を少し広げる */
  font-size: var(--btn-icon-size);
  line-height: 1;
}

.air-takumi-cta-button:hover {
  transform: translateY(-3px);
  /* ホバー時の動きを少し大きく */
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}

.air-takumi-cta-button:active {
  transform: translateY(0px) scale(0.97);
  /* クリック時の動きを少し調整 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* LP内の予約ボタン特有のスタイル */
.air-takumi-cta-button.lp-reserve {
  --lp-btn-color-primary: #5050E8;
  /* 紫っぽい青 */
  --lp-btn-color-hover: #FF8C00;
  /* オレンジ系 (DarkOrange) */
  --lp-btn-text-color: white;
  --lp-btn-text-hover-color: white;

  background: var(--lp-btn-color-primary);
  color: var(--lp-btn-text-color);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  /* テキストシャドウを少し調整 */
}

.air-takumi-cta-button.lp-reserve:hover {
  background: var(--lp-btn-color-hover);
  color: var(--lp-btn-text-hover-color);
}

/* 大きいサイズのバリエーション */
.air-takumi-cta-button.large {
  --btn-padding-y: 20px;
  --btn-padding-x: 35px;
  --btn-font-size: 19px;
  --btn-icon-size: 1.25em;
  --btn-border-radius: 10px;
}

.air-takumi-cta-button.large .phone-number {
  display: block;
  font-size: 0.9em;
  margin-top: 5px;
  font-weight: 500;
}

/* =================================================================
   フロートメニュー（PC）
================================================================= */

/* PC版フロートメニュー - PCのみ表示 */
@media only screen and (min-width: 769px) {
  .air-takumi-pc-floating-menu {
    /* このコンポーネント専用のCSSカスタムプロパティを定義 */
    --item-width: 90px;
    /* ボタン幅 */
    --item-min-height: 100px;
    /* ボタンの最小の高さ */
    --item-padding-y: 15px;
    --item-padding-x: 5px;
    --icon-size: 30px;
    --text-size: 12px;
    --text-weight: 600;
    --text-line-height: 1.3;
    --anim-delay-base: 0.2s;
    --anim-delay-step: 0.1s;

    --color-reserve-start: #4CAF50;
    --color-reserve-end: #66BB6A;
    --color-reserve-hover-start: #43A047;
    --color-reserve-hover-end: #5CB85C;

    --color-cases-start: #2196F3;
    --color-cases-end: #64B5F6;
    --color-cases-hover-start: #1976D2;
    --color-cases-hover-end: #42A5F5;

    --color-instagram-start: #E91E63;
    --color-instagram-end: #F06292;
    --color-instagram-hover-start: #D81B60;
    --color-instagram-hover-end: #EC407A;

    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* アイテム間の隙間 */
  }

  .air-takumi-pc-menu-item {
    display: flex;
    flex-direction: column;
    /* アイコンとテキストを縦に配置 */
    align-items: center;
    justify-content: center;
    background: white;
    padding: var(--item-padding-y) var(--item-padding-x);
    border-radius: 8px 0 0 8px;
    text-decoration: none;
    color: #333;
    width: var(--item-width);
    min-height: var(--item-min-height);
    /* 高さはコンテンツに応じて可変、最小値を設定 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      background 0.25s ease;
    position: relative;
    overflow: hidden;
    /* リップル効果のため */
    text-align: center;
    /* テキストを中央揃え */
  }

  .air-takumi-pc-menu-item:hover,
  .air-takumi-pc-menu-item:focus-visible {
    transform: translateX(-6px);
    /* 横への動きを少し大きく */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16), 0 3px 7px rgba(0, 0, 0, 0.1);
  }

  .air-takumi-pc-menu-item:focus:not(:focus-visible) {
    outline: none;
    /* ホバー/フォーカス前の状態に戻す */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    transform: translateX(0);
  }


  .air-takumi-pc-menu-icon {
    font-size: var(--icon-size);
    margin-bottom: 8px;
    /* アイコンとテキストの間隔 */
    z-index: 1;
    /* リップルより手前、テキストと同じでOK */
    position: relative;
    color: inherit;
    line-height: 1;
    /* アイコンの上下余白を詰める */
  }

  .air-takumi-pc-menu-text {
    font-weight: var(--text-weight);
    font-size: var(--text-size);
    line-height: var(--text-line-height);
    z-index: 1;
    position: relative;
    color: inherit;
    /* writing-mode, text-orientation, letter-spacing は横書きのため削除または調整 */
    max-width: 100%;
    /* ボタン幅を超えないように */
  }

  /* 色付きボタンのテキストシャドウ調整 */
  .air-takumi-pc-menu-item.reserve .air-takumi-pc-menu-text,
  .air-takumi-pc-menu-item.cases .air-takumi-pc-menu-text,
  .air-takumi-pc-menu-item.instagram .air-takumi-pc-menu-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    /* 少し濃いめの影で可読性向上 */
  }


  /* 予約ボタン */
  .air-takumi-pc-menu-item.reserve {
    background: linear-gradient(135deg, var(--color-reserve-start) 0%, var(--color-reserve-end) 100%);
    color: white;
  }

  .air-takumi-pc-menu-item.reserve:hover,
  .air-takumi-pc-menu-item.reserve:focus-visible {
    background: linear-gradient(135deg, var(--color-reserve-hover-start) 0%, var(--color-reserve-hover-end) 100%);
  }

  /* 施工事例ボタン */
  .air-takumi-pc-menu-item.cases {
    background: linear-gradient(135deg, var(--color-cases-start) 0%, var(--color-cases-end) 100%);
    color: white;
  }

  .air-takumi-pc-menu-item.cases:hover,
  .air-takumi-pc-menu-item.cases:focus-visible {
    background: linear-gradient(135deg, var(--color-cases-hover-start) 0%, var(--color-cases-hover-end) 100%);
  }

  /* インスタボタン */
  .air-takumi-pc-menu-item.instagram {
    background: linear-gradient(135deg, var(--color-instagram-start) 0%, var(--color-instagram-end) 100%);
    color: white;
  }

  .air-takumi-pc-menu-item.instagram:hover,
  .air-takumi-pc-menu-item.instagram:focus-visible {
    background: linear-gradient(135deg, var(--color-instagram-hover-start) 0%, var(--color-instagram-hover-end) 100%);
  }

  /* リップル効果 */
  .air-takumi-pc-menu-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
    z-index: 0;
    /* アイコンやテキストより後ろ */
  }

  .air-takumi-pc-menu-item:active::after {
    width: 150%;
    /* ボタン幅に対しての比率 */
    height: 150%;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0s;
  }

  /* 初期表示アニメーション */
  .air-takumi-pc-menu-item {
    /* 各アイテムに適用 */
    animation-name: slideInFromRightPC;
    animation-duration: 0.4s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
  }

  .air-takumi-pc-menu-item:nth-child(1) {
    animation-delay: calc(var(--anim-delay-base) + var(--anim-delay-step) * 0);
  }

  .air-takumi-pc-menu-item:nth-child(2) {
    animation-delay: calc(var(--anim-delay-base) + var(--anim-delay-step) * 1);
  }

  .air-takumi-pc-menu-item:nth-child(3) {
    animation-delay: calc(var(--anim-delay-base) + var(--anim-delay-step) * 2);
  }

  @keyframes slideInFromRightPC {
    from {
      transform: translateX(100%);
      /* 右端から完全に隠れた状態 */
      opacity: 0;
    }

    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* パルス効果（予約ボタン） */
  .air-takumi-pc-menu-item.reserve {
    /* slideInFromRightPC は上記で適用されるため、animation-name で複数指定 */
    animation-name: slideInFromRightPC, reservePulsePC;
    animation-duration: 0.4s, 3s;
    /* 各アニメーションの時間 */
    animation-timing-function: ease-out, ease-in-out;
    animation-delay: calc(var(--anim-delay-base) + var(--anim-delay-step) * 0), 2s;
    /* slideIn後、少し遅れてパルス開始 */
    animation-iteration-count: 1, infinite;
    /* slideInは1回、パルスは無限 */
    animation-fill-mode: both, none;
  }

  @keyframes reservePulsePC {

    0%,
    100% {
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    50% {
      box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3), 0 2px 8px rgba(76, 175, 80, 0.2);
    }
  }

  /* アクティブ状態 */
  .air-takumi-pc-menu-item:active {
    transform: translateX(-3px) scale(0.97);
  }
}

/* スマートフォンでは非表示 */
@media only screen and (max-width: 768px) {
  .air-takumi-pc-floating-menu {
    display: none;
  }
}

/* =================================================================
   フロートメニュー（スマホ）
================================================================= */

/* フロートメニューコンテナ - スマホ専用 */
.air-takumi-float-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-top: 1px solid #e0e0e0;
  display: block;
}

/* PC画面では非表示 */
@media (min-width: 768px) {
  .air-takumi-float-menu {
    display: none;
  }
}

/* メインメニュー */
.air-takumi-main-menu {
  display: flex;
  height: 80px;
}

.air-takumi-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 2px;
}

/* 予約ボタンを他より横長に */
.air-takumi-menu-item:nth-child(1),
.air-takumi-menu-item:nth-child(2),
.air-takumi-menu-item:nth-child(3),
.air-takumi-menu-item:nth-child(4) {
  flex: 1;
}

.air-takumi-menu-item:nth-child(5) {
  flex: 1.4;
  /* 予約ボタンを40%横長に */
}

.air-takumi-menu-item:active {
  transform: scale(0.95);
}

/* 各メニューアイテムの背景色 */
.air-takumi-menu-item:nth-child(1) {
  background: #007BFF;
}

/* メニュー - 信頼感のあるブルー */
.air-takumi-menu-item:nth-child(2) {
  background: #17A2B8;
}

/* 料金 - 情報を示唆するブルーグリーン */
.air-takumi-menu-item:nth-child(3) {
  background: #4A90E2;
}

/* インスタ - 軽快なブルー */
.air-takumi-menu-item:nth-child(4) {
  background: #6C757D;
}

/* 代表挨拶 - 落ち着きのあるグレー */
.air-takumi-menu-item:nth-child(5) {
  background: #28A745;
  animation: air-takumi-pulse 2s infinite;
}

/* 予約 - 安心感を与えるグリーン + パルス */

.air-takumi-menu-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.air-takumi-menu-text {
  line-height: 1.1;
  text-align: center;
}

/* サブメニュー（メーカー別事例） - 上に展開 */
.air-takumi-sub-menu {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 0;
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.air-takumi-sub-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.air-takumi-sub-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px 8px 15px;
}

.air-takumi-sub-menu-title {
  font-size: 12px;
  font-weight: bold;
  color: #333;
}

.air-takumi-sub-close-button {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.air-takumi-sub-close-button:hover {
  background: #c82333;
}

.air-takumi-sub-menu-content {
  display: flex;
  overflow-x: auto;
  padding: 0 12px;
  gap: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.air-takumi-sub-menu-content::-webkit-scrollbar {
  display: none;
}

.air-takumi-sub-menu-item {
  flex-shrink: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  min-width: 75px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.air-takumi-sub-menu-item:hover,
.air-takumi-sub-menu-item:active {
  background: #007BFF;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* トグルボタン */
.air-takumi-toggle-button {
  position: absolute;
  top: -30px;
  left: 15px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  border-radius: 15px 15px 0 0;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 -2px 10px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
}

.air-takumi-toggle-button:hover {
  background: linear-gradient(135deg, #218838 0%, #1dc7a0 100%);
  transform: translateY(-2px);
}

.air-takumi-toggle-button.active {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  box-shadow: 0 -2px 10px rgba(220, 53, 69, 0.3);
}

/* パルスアニメーション（予約ボタン用） - 控えめに */
@keyframes air-takumi-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

/* アニメーション効果 */
@keyframes air-takumi-slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.air-takumi-float-menu {
  animation: air-takumi-slideUp 0.5s ease-out;
}

/* メニューモーダル */
.air-takumi-menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.air-takumi-menu-modal.active {
  opacity: 1;
  visibility: visible;
}

.air-takumi-menu-content {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.air-takumi-menu-modal.active .air-takumi-menu-content {
  transform: translateY(0);
}

.air-takumi-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.air-takumi-menu-list li {
  border-bottom: 1px solid #eee;
}

.air-takumi-menu-list li:last-child {
  border-bottom: none;
}

.air-takumi-menu-list a {
  display: block;
  padding: 15px 0;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.2s ease;
}

.air-takumi-menu-list a:hover {
  color: #4CAF50;
}

.air-takumi-close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

/* レスポンシブ調整 */
@media (max-width: 320px) {
  .air-takumi-menu-item {
    font-size: 9px;
    padding: 6px 1px;
  }

  .air-takumi-menu-icon {
    font-size: 18px;
  }

  .air-takumi-toggle-button {
    font-size: 10px;
    padding: 6px 12px;
  }
}

@media (min-width: 480px) {
  .air-takumi-menu-item {
    font-size: 11px;
  }

  .air-takumi-menu-icon {
    font-size: 22px;
  }
}


/* =================================================================
   トップページエリアセクション
================================================================= */

/* =================================================================
   1. 基本ラッパー
================================================================= */
.airtakumi-area-search-wrapper,
.airtakumi-staff-list-wrapper {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* =================================================================
   2. インタラクティブ・アコーディオン
================================================================= */
.area-search-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.area-search-title {
    font-size: 1.6em;
    color: #1976d2;
    margin: 0 0 20px 0;
    text-align: center;
    font-weight: 700;
}

.area-search-box-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.area-search-input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}
.area-search-input:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #aaa;
}

.region-block {
    border-bottom: 1px solid #eee;
}
.region-block:first-of-type {
    border-top: 1px solid #eee;
}

.region-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 10px;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s;
}
.region-title:hover {
    background-color: #f8f9fa;
}
.region-title::-webkit-details-marker { display: none; }
.region-title::after {
    content: '+';
    font-size: 1.5em;
    font-weight: 300;
    color: #1976d2;
    transition: transform 0.3s ease;
    margin-left: 15px;
}
.region-block[open] > .region-title {
    border-bottom: 1px solid #e0e0e0;
    background-color: #f0f7ff;
}
.region-block[open] > .region-title::after {
    transform: rotate(45deg);
}

.prefecture-name {
    font-weight: 500;
    color: #333;
}
.no-results-message {
    text-align: center;
    padding: 20px;
    color: #777;
}

/* ▼▼▼ ミニプロフィール ▼▼▼ */
.staff-mini-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #fdfdfd;
}
.mini-profile-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.mini-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mini-profile-info {
    flex-grow: 1;
}
.mini-profile-name {
    font-weight: bold;
    font-size: 1.1em;
}
.mini-profile-area {
    font-size: 0.85em;
    color: #666;
}
.mini-profile-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.mini-profile-button-secondary,
.mini-profile-button-primary {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    white-space: nowrap;
    transition: all 0.3s;
    text-align: center;
}
.mini-profile-button-secondary {
    background-color: #fff;
    color: #1976d2;
    border: 1px solid #1976d2;
}
.mini-profile-button-secondary:hover {
    background-color: #e3f2fd;
}
.mini-profile-button-primary {
    background-color: #ff4081;
    color: #fff;
    border: 1px solid #ff4081;
}
.mini-profile-button-primary:hover {
    background-color: #f50057;
    border-color: #f50057;
}

/* =================================================================
   3. 職人紹介カード（本体）
================================================================= */
.airtakumi-intro {
    background: white;
    border-left: 5px solid #1976d2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 4px;
}
.airtakumi-intro-title {
    margin: 0 0 15px 0;
    color: #1976d2;
    font-size: 1.5em;
    font-weight: bold;
}
.airtakumi-intro-text {
    line-height: 1.8;
}

.airtakumi-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    scroll-margin-top: 20px; /* スクロール時の上部余白 */
    transition: box-shadow 0.3s;
}
.airtakumi-card.scroll-target {
    box-shadow: 0 0 0 3px #1976d2, 0 4px 12px rgba(0,0,0,0.2);
}

.airtakumi-staff-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1976d2;
    color: white;
    padding: 20px;
    gap: 20px;
}
.airtakumi-staff-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}
.airtakumi-staff-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    flex-shrink: 0;
}
.airtakumi-staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.airtakumi-staff-info { flex: 1; }
.airtakumi-staff-name { font-size: 1.4em; font-weight: bold; }
.airtakumi-staff-area { opacity: 0.9; font-size: 0.9em; margin-top: 5px; }

.airtakumi-staff-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.airtakumi-cta-button, .airtakumi-cta-button-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-align: center;
}
.airtakumi-cta-button {
    background: #ff4081;
    color: white;
    border: 1px solid #ff4081;
}
.airtakumi-cta-button:hover { background: #f50057; border-color: #f50057; color: white; }
.airtakumi-cta-button-secondary {
    background: #fff;
    color: #1976d2;
    border: 1px solid #1976d2;
}
.airtakumi-cta-button-secondary:hover { background-color: #e3f2fd; }

.airtakumi-staff-message { padding: 20px; line-height: 1.8; border-bottom: 1px solid #eee; }
.airtakumi-prefecture { padding: 20px 20px 0 20px; }
.airtakumi-prefecture:last-of-type { padding-bottom: 20px; }

.airtakumi-prefecture-name {
    background: #1976d2;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.9em;
    font-weight: bold;
}
.airtakumi-cities { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-left: 5px; }
.airtakumi-city { background: #e3f2fd; padding: 4px 10px; border-radius: 15px; font-size: 0.9em; }

/* =================================================================
   4. レスポンシブ対応
================================================================= */
@media (max-width: 768px) {
    .airtakumi-area-search-wrapper, .airtakumi-staff-list-wrapper { padding: 0 10px; }
    .area-search-container { padding: 20px 15px; }
    .staff-mini-profile { flex-direction: column; text-align: center; }
    .mini-profile-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    
    .airtakumi-staff-header {
        flex-direction: column;
        align-items: stretch;
    }
    .airtakumi-staff-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 15px;
    }
}

/* =================================================================
   代表あいさつ
================================================================= */

/* ストーリーリンク部分 */
.story-link-section {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}
.story-link-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}
.story-link-desc {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
}
.story-link {
    display: inline-block;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}
.story-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
    text-decoration: none;
    color: white;
}


/* 基本のキャプション全体 */
.wp-caption {
    max-width: 100%;
    margin: 1em 0;
}

/* キャプションテキスト */
.wp-caption-text {
    font-size: 14px;        /* サイズを小さく */
    color: #666;            /* 色を薄く */
    font-style: italic;     /* 斜体にする */
    text-align: center;     /* 中央揃え */
    margin-top: 8px;
    line-height: 1.4;
}


.br-sp {
  display: none;
}

@media screen and (max-width: 1080px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline-block;
  }
}



/* =================================================================
   施工事例ページ
================================================================= */

/* リストスタイルの上書き */
.case-study .case-study__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* リストアイテムのスタイル */
.case-study .case-study__list .case-study__list-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}
.case-study .case-study__list .case-study__list-item::before {
    content: "•";
    color: var(--case-primary);
    position: absolute;
    left: 0;
    top: 0;
}
/* すべての.case-study内のpタグのデフォルトマージンをリセット */
.case-study p {
    margin-top: 0;
    margin-bottom: 0;
}

.case-study__notice-title {
    margin-bottom: 10px !important; /* 特定の p タグにマージンを設定 */
}


/* まとめセクション内の段落間隔と最初の段落の下マージン */
.case-study__summary p.case-study__text {
    margin-bottom: 1.75em;
}
.case-study__summary p.case-study__text:not(:first-child) {
    margin-top: 1.75em !important;
}
.case-study {
    --case-primary: #0066cc;
    --case-secondary: #4d4d4d;
    --case-accent: #e6f3ff;
    --case-bg: #f5f5f5;
    --case-border: #e0e0e0;
    --case-success: #4caf50;
    --case-warning: #ff9800;
    --case-text: #333333;
}
/* コンテナ */
.case-study__container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 0.5rem;
}
/* ヘッダー */
.case-study__header {
    margin-bottom: 2rem;
}
.case-study__title {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.4;
}
/* セクション */
.case-study__section {
    margin-bottom: 2rem;
    border-radius: 8px;
}
.case-study__section-title {
    font-size: 1.5rem;
    color: var(--case-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--case-primary);
}


.case-study__content {
    margin-bottom: 1.5rem;
}
.case-study__subtitle {
    font-size: 1.2rem;
    color: var(--case-secondary);
    margin: 1.5rem 0 1rem;
}

.case-study__subtitle_maintenance {
    font-size: 1.2rem;
    color: var(--case-secondary);
    margin: 0 0 1rem;
}

.case-study__text {
    margin-bottom: 1rem;
    line-height: 1.8;
}
/* アドバイスボックス */
.case-study__advice {
    background-color: var(--case-accent);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}
.case-study__list {
    list-style: none;
    padding-left: 0;
}
.case-study__list-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}
.case-study__list-item::before {
    content: "•";
    color: var(--case-primary);
    position: absolute;
    left: 0;
    top: 0;
}
/* お客様の声 */
.case-study__voice {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid var(--case-primary);
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
}
.case-study__voice-text {
    font-style: italic;
    color: var(--case-secondary);
}
/* メンテナンスアドバイス */
.case-study__maintenance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.case-study__maintenance-item {
}
/* まとめ */
.case-study__summary {
    background-color: var(--case-accent);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}
/* 注意書きセクション */
.case-study__notice {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #fff9e6; /* 薄い黄色の背景 */
    border-radius: 8px;
}
.case-study__notice-title {
    margin-top: 0;
    margin-bottom: 1.2rem;
    padding-bottom: 0;
    font-weight: bold;
    border-bottom: none !important;
}
.case-study__notice-divider {
    height: 2px;
    background-color: var(--case-primary);
    margin-bottom: 1.2rem;
    width: 100%;
}
.case-study__notice .case-study__content {
    margin-bottom: 0;
}
.case-study__notice .case-study__list {
    font-size: 0.92rem !important;
    line-height: 1.5;
    margin-bottom: 0;
}
.case-study__notice .case-study__list-item {
    margin-bottom: 0.7rem;
    padding-right: 0.5rem;
    line-height: 1.7;
    font-size: 0.78rem !important;
}
.case-study__notice .case-study__list-item:last-child {
    margin-bottom: 0;
}
.case-study__notice .case-study__list-item::before {
    color: #333 !important; /* 黒色のリストマーカー */
}
/* レスポンシブデザイン */
@media (max-width: 768px) {
    .case-study__container {
        padding: 0 0rem;
    }
    .case-study__header {
        padding: 1.5rem 1rem;
    }
    .case-study__title {
        font-size: 1.5rem;
    }
    .case-study__section {
    }
    .case-study__section-title {
        font-size: 1.3rem;
    }
}
@media (max-width: 480px) {
    .case-study__title {
        font-size: 1.3rem;
    }
    .case-study__section-title {
        font-size: 1.2rem;
    }
    .case-study__advice {
        padding: 1rem;
    }
    .case-study__notice-title {
        font-size: 1.1rem;
    }
    .case-study__notice {
        padding: 1.2rem;
    }
    .case-study__notice .case-study__list {
        font-size: 0.9rem;
    }
}
/* 印刷用スタイル */
@media print {
    .case-study__section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--case-border);
    }
    .case-study__maintenance, 
    .case-study__notice {
        break-inside: avoid;
    }
    .case-study__notice {
        border: none;
    }
}


/* ---------------------------------------------
*  タイムライン
--------------------------------------------- */

.air-takumi-timeline {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.air-takumi-timeline h1 {
  text-align: center;
  color: #333;
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: bold;
  padding: 0 20px;
}

.air-takumi-timeline-item {
  display: flex;
  margin-bottom: 30px;
  position: relative;
  align-items: flex-start;
}

.air-takumi-timeline-item::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 60px;
  bottom: -30px;
  width: 2px;
  background-color: #e0e0e0;
}

.air-takumi-timeline-item:last-child::before {
  display: none;
}

.air-takumi-number {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}

.air-takumi-number span {
  display: block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #4A90E2;
  color: white;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto;
}

.air-takumi-content {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-left: 20px;
}

.air-takumi-content h2 {
  color: #4A90E2;
  font-size: 18px;
  margin: 0 0 10px 0;
  font-weight: bold;
}

.air-takumi-content p {
  color: #666;
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  .air-takumi-timeline {
    padding: 15px;
  }

  .air-takumi-timeline h1 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .air-takumi-number {
    width: 40px;
  }

  .air-takumi-number span {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }

  .air-takumi-timeline-item::before {
    left: 19px;
    top: 40px;
  }

  .air-takumi-content {
    margin-left: 15px;
    padding: 15px;
  }

  .air-takumi-content h2 {
    font-size: 16px;
  }

  .air-takumi-content p {
    font-size: 13px;
  }
}


/* =======================================
  自己紹介ページの約束ボックス
======================================= */

/* --- ボックス共通スタイル --- */
.comparison-box {
    border-radius: 12px;
    padding: 24px 30px;
    width: 100%;
    flex: 1;
    /* 親要素のスペースを均等に分け合う */
}
.comparison-box__header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
/* h3タグのスタイルを完全に上書きし、外部からの影響を遮断 */
h3.comparison-box__title {
    line-height: 1.5;
    margin: 0;
    font-weight: bold;
    color: #333333;
	padding: 0;
}
.comparison-box__icon {
    font-size: 28px;
    margin-right: 16px;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    /* アイコンが縮まないようにする */
}
.comparison-box__content p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}
.comparison-box__content p+p {
    margin-top: 1em;
}

.comparison-arrow img {
    width: 50px;
    height: auto;
}
/* --- 四角の中身 --- */
.solution-side {
    background-color: #ffffff;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 43, 85, 0.12);
    /* 上質に見える影 */
}
.solution-side .main-message {
    margin-top: 20px;
}
.solution-side .comparison-box__icon {
    color: #005A9C;
    /* 信頼の青アイコン */
}
.solution-side strong {
    background: linear-gradient(transparent 50%, rgba(255, 252, 107, .69) 50%);
}
/* --- プロフィールブロックのスタイル --- */
.profile-block {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    /* 柔らかい境界線 */
}
.profile-block__photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
}
.profile-block__info p {
    margin: 0;
    line-height: 1.6;
}
.profile-block__name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
.profile-block__title {
    font-size: 14px;
    color: #555;
}
/* --- レスポンシブデザイン (767px以下のスクリーン幅で適用) --- */
.sp-only {
    display: none;
}
@media screen and (max-width: 767px) {
    .comparison-layout {
        flex-direction: column;
        /* 縦積みに変更 */
        gap: 15px;
        padding: 0 15px;
    }
    .comparison-box {
        padding: 20px;
    }
    .comparison-arrow {
        margin: 10px 0;
        align-self: center;
        /* コンテナ内で中央に配置 */
        transform: rotate(90deg);
    }
    /* スマホでは見出しサイズを少し小さくしてバランスを取る */
    .comparison-box__title {
        font-size: 20px !important;
        /* 両方のタイトルサイズを統一 */
    }
    /* SP用の改行を表示 */
    .sp-only {
        display: block;
    }
}

/* =======================================
  簡易版CTAセクション
======================================= */
.cta-inner-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
/* === Title and Subtitle === */
.cta-main-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 15px 0 !important;
    color: #fff;
}
.cta-subtitle {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 30px 0;
    color: #fff;
}
/* === Buttons Wrapper === */
.cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}
/* === Buttons === */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    padding: 16px 25px;
    transition: all 0.3s ease;
    min-width: 280px;
    /* 最小幅を確保 */
    font-weight: 700;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.cta-button i {
    font-size: 20px;
    margin-right: 12px;
}
/* プライマリボタン（赤色） */
.cta-button.primary-red {
    background: #D9534F;
    /* 赤色 */
    color: #fff;
    border: 2px solid #D9534F;
}
.cta-button.primary-red:hover {
    background: #c74542;
    border-color: #c74542;
}
/* セカンダリボタン（白色） */
.cta-button.secondary-white {
    background: #fff;
    color: #4B5563;
    /* 落ち着いたダークグレー */
    border: 2px solid #fff;
}
.cta-button.secondary-white:hover {
    background: #f9fafb;
}
/* ボタンテキスト */
.button-text {
    font-size: 18px;
    line-height: 1.4;
    white-space: nowrap;
}
/* === Reassurance Text === */
.cta-reassurance-text {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
}
.cta-reassurance-text span {
    display: inline-block;
    margin: 0 10px;
}
/* === Responsive === */
@media screen and (max-width: 767px) {
    .cta-main-title {
        font-size: 24px;
    }
    .cta-buttons-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .cta-button {
        width: 100%;
        min-width: 0;
    }
}


/* ---------------------------------------------
*   margin-top
--------------------------------------------- */
.mgt-pc--0 {
	margin-top: 0 !important;
}

.mgt-pc--5 {
	margin-top: 5px !important;
}

.mgt-pc--10 {
	margin-top: 10px !important;
}

.mgt-pc--15 {
	margin-top: 15px !important;
}

.mgt-pc--20 {
	margin-top: 20px !important;
}

.mgt-pc--25 {
	margin-top: 25px !important;
}

.mgt-pc--30 {
	margin-top: 30px !important;
}

.mgt-pc--35 {
	margin-top: 35px !important;
}

.mgt-pc--40 {
	margin-top: 40px !important;
}

.mgt-pc--45 {
	margin-top: 45px !important;
}

.mgt-pc--50 {
	margin-top: 50px !important;
}


@media screen and (max-width: 768px) {
	.mgt-sp--0 {
		margin-top: 0 !important;
	}
	.mgt-sp--5 {
		margin-top: 0.66667vw !important;
	}
	.mgt-sp--10 {
		margin-top: 1.33333vw !important;
	}
	.mgt-sp--15 {
		margin-top: 2vw !important;
	}
	.mgt-sp--20 {
		margin-top: 2.66667vw !important;
	}
	.mgt-sp--25 {
		margin-top: 3.33333vw !important;
	}
	.mgt-sp--30 {
		margin-top: 4vw !important;
	}
	.mgt-sp--35 {
		margin-top: 4.66667vw !important;
	}
	.mgt-sp--40 {
		margin-top: 5.33333vw !important;
	}
	.mgt-sp--45 {
		margin-top: 6vw !important;
	}
	.mgt-sp--50 {
		margin-top: 6.66667vw !important;
	}
	}

/* ---------------------------------------------
*   margin-bottom
--------------------------------------------- */
.mgb-pc--0 {
	margin-bottom: 0 !important;
}

.mgb-pc--5 {
	margin-bottom: 5px !important;
}

.mgb-pc--10 {
	margin-bottom: 10px !important;
}

.mgb-pc--15 {
	margin-bottom: 15px !important;
}

.mgb-pc--20 {
	margin-bottom: 20px !important;
}

.mgb-pc--25 {
	margin-bottom: 25px !important;
}

.mgb-pc--30 {
	margin-bottom: 30px !important;
}

.mgb-pc--35 {
	margin-bottom: 35px !important;
}

.mgb-pc--40 {
	margin-bottom: 40px !important;
}

.mgb-pc--45 {
	margin-bottom: 45px !important;
}

.mgb-pc--50 {
	margin-bottom: 50px !important;
}


@media screen and (max-width: 768px) {
	.mgb-sp--0 {
		margin-bottom: 0 !important;
	}
	.mgb-sp--5 {
		margin-bottom: 0.66667vw !important;
	}
	.mgb-sp--10 {
		margin-bottom: 1.33333vw !important;
	}
	.mgb-sp--15 {
		margin-bottom: 2vw !important;
	}
	.mgb-sp--20 {
		margin-bottom: 2.66667vw !important;
	}
	.mgb-sp--25 {
		margin-bottom: 3.33333vw !important;
	}
	.mgb-sp--30 {
		margin-bottom: 4vw !important;
	}
	.mgb-sp--35 {
		margin-bottom: 4.66667vw !important;
	}
	.mgb-sp--40 {
		margin-bottom: 5.33333vw !important;
	}
	.mgb-sp--45 {
		margin-bottom: 6vw !important;
	}
	.mgb-sp--50 {
		margin-bottom: 6.66667vw !important;
	}

}


/*! SWELL対応 マルチステップフォーム */
/* !-====================================================
 * ▼ 基本フォームスタイル
 * ----------------------------------------------------*/
.form_wrapper {
    margin: 0;
}
.wpcf7 {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 8px 8px;
    border: 1px solid #e0e0e0;
}
.form_header {
    background: #1A3F6F;
    color: white;
    padding: 15px 25px;
    border-radius: 7px 7px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.form_header-text {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
}
.form_header-badge {
    background: #FFD700;
    color: #1A3F6F;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    margin-left: 15px;
    white-space: nowrap;
}
.wpcf7-form {
    padding: 10px 25px 0 25px;
}
/* !-====================================================
 * ▼ 各入力項目
 * ----------------------------------------------------*/
.form_item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}
.form_title {
    width: 150px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
}
.form_required {
    color: #e60012;
    font-size: 12px;
    margin-left: 4px;
}
.form_optional {
    color: #888;
    font-size: 12px;
    margin-left: 4px;
}
.wpcf7-form-control-wrap,
.form-control-wrap {
    flex: 1;
    min-width: 0;
    /* はみ出し防止 */
}
/* --- テキスト入力 & セレクトボックス --- */
.form-text,
.form-select,
.form-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}
.form-text,
.form-select {
    height: 42px;
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708 .708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}
/* --- ラジオボタン & チェックボックス --- */
.form_item--radios,
.form_item--date-with-radios {
    align-items: flex-start;
}
.form-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}
.form-radio .wpcf7-list-item {
    margin: 0;
}
.form-radio .wpcf7-list-item-label {
    font-size: 14px;
    color: #333;
}
.form-control-wrap br {
    display: block;
    margin-bottom: 10px;
}
/* --- 「番地がわからない場合」チェックボックスの基本レイアウト --- */
.form_checkbox_wrap {
    display: block;
    /* ブロック要素として表示 */
    margin-top: 15px;
    /* 上の要素との余白 */
    text-align: left;
    /* テキストは左揃えのまま（必要に応じて center に変更） */
}
/* --- ここから下を追記 --- */
/* 2. ラベルのスタイル（クリック範囲や配置） */
.form_checkbox_wrap .wpcf7-list-item>label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
/* 3. 元のチェックボックスを隠す */
.form_checkbox_wrap .wpcf7-list-item>label input[type="checkbox"] {
    display: none;
}
/* 4. カスタムチェックボックスの準備 */
.form_checkbox_wrap .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
    /* チェックボックス分のスペースを確保 */
}
/* 5. カスタムチェックボックスの「箱」 */
.form_checkbox_wrap .wpcf7-list-item-label::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #757575;
    border-radius: 3px;
    background: #fff;
}
/* 6. チェックマーク */
.form_checkbox_wrap .wpcf7-list-item-label::after {
    content: '';
    display: block;
    position: absolute;
    top: 40%;
    left: 8px;
    transform: translateY(-50%) rotate(45deg);
    width: 7px;
    height: 14px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    opacity: 0;
    transition: opacity .3s;
}
/* 7. チェックが入った時の「箱」のスタイル */
.form_checkbox_wrap input[type="checkbox"]:checked+.wpcf7-list-item-label::before {
    background: #005a9c;
    border-color: #005a9c;
}
/* 8. チェックが入った時に「チェックマーク」を表示 */
.form_checkbox_wrap input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
    opacity: 1;
}
/* --- 住所入力欄の内部スタイル --- */
.h-adr {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}
.h-adr .form-text,
.h-adr .form-select {
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
}
.h-adr .form-text.p-extended-address {
    margin-bottom: 0;
}


/* !-====================================================
 * ▼ マルチステップフォーム用スタイル
 * ----------------------------------------------------*/
/* --- プログレスバー --- */
.c-progress-bar {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 auto 2em;
    max-width: 800px;
}
.c-progress-bar__item {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    border-bottom: 3px solid #e0e0e0;
    color: #aaa;
    font-size: 14px;
    position: relative;
    transition: all 0.3s;
}
.c-progress-bar__item.is-active {
    border-color: #005A9C;
    color: #333;
    font-weight: bold;
}
.c-progress-bar__item.is-done {
    border-color: #E2394D;
    color: #333;
}
.c-progress-bar__item.is-done::after {
    content: '✔';
    color: #E2394D;
    margin-left: 8px;
    font-weight: bold;
}
/* --- ステップを区切るfieldset --- */
fieldset.form-step {
    border: none;
    padding: 0;
    margin: 0;
}
/* ---同意チェックボックスのみを対象 --- */
/* 1. 同意チェックボックスのエリア全体を中央揃えにする */
.form_item--acceptance {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}
/* 2. 【重要】親の .form_item--acceptance で囲むことで、対象を同意チェックボックスのみに限定する */
.form_item--acceptance .wpcf7-list-item>label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
/* 3. 【限定】元のチェックボックスを隠す */
.form_item--acceptance .wpcf7-list-item>label input[type="checkbox"] {
    display: none;
}
/* 4. 【限定】カスタムチェックボックスの準備 */
.form_item--acceptance .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
	font-size:15px;
}
/* 5. 【限定】カスタムチェックボックスの「箱」 */
.form_item--acceptance .wpcf7-list-item-label::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #757575;
    border-radius: 3px;
    background: #fff;
}
/* 6. 【限定】チェックマーク */
.form_item--acceptance .wpcf7-list-item-label::after {
    content: '';
    display: block;
    position: absolute;
    top: 40%;
    left: 8px;
    transform: translateY(-50%) rotate(45deg);
    width: 7px;
    height: 14px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    opacity: 0;
    transition: opacity .3s;
}
/* 7. 【限定】チェックが入った時の「箱」 */
.form_item--acceptance input[type="checkbox"]:checked+.wpcf7-list-item-label::before {
    background: #005a9c;
    border-color: #005a9c;
}
/* 8. 【限定】チェックが入った時の「チェックマーク」 */
.form_item--acceptance input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
    opacity: 1;
}
/* 9. 【限定】リンクのスタイル */
.form_item--acceptance .wpcf7-list-item-label a {
    color: #005a9c;
    text-decoration: underline;
}
/* !-====================================================
 * ▼ 次へ/戻る/送信ボタン
 * ----------------------------------------------------*/
/* --- ボタンを囲むコンテナの共通スタイル --- */
.multistep-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 25px 0 20px 0 !important;
    border-bottom: none !important;
    gap: 15px;
    margin-left: auto;
    margin-right: auto;
}
/* スピナーが表示されてもレイアウトが崩れないようにする */
.multistep-buttons>* {
    flex-shrink: 0;
}
/* --- ステップごとのコンテナの最大幅を制御 --- */
#form-step-1 .multistep-buttons {
    max-width: 300px;
}
#form-step-2 .multistep-buttons {
    max-width: 500px;
}
/* --- ボタン自体の共通スタイル --- */
.form-button,
.form_submit {
    background: #1A3F6F;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
}
/* --- ステップ2のボタン幅の比率を調整 --- */
#form-step-2 .form-button.prev-step {
    flex: 1;
}
#form-step-2 .form_submit {
    flex: 2;
}
/* --- 「戻る」ボタンの個別スタイル --- */
.form-button.prev-step,
.form_submit.prev-step {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #ccc;
}
/* --- ★ホバーエフェクト --- */
.multistep-buttons .form-button:hover,
.multistep-buttons .form_submit:hover {
    background: #15325A;
    color: #FFD700;
}
.multistep-buttons .form-button.prev-step:hover,
.multistep-buttons .form_submit.prev-step:hover {
    background: #e0e0e0;
}
/* !-====================================================
 * ▼ レスポンシブ＆モーダル
 * ----------------------------------------------------*/
@media screen and (max-width: 768px) {
    .form_header {
        padding: 12px 15px;
        flex-direction: column;
        gap: 8px;
    }
    .form_header-text {
        font-size: 18px;
    }
    .wpcf7-form {
        padding: 0 15px;
    }
    .form_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .form_title {
        width: 100%;
    }
    .c-progress-bar__item {
        font-size: 11px;
        padding: 8px 1px;
    }
    .form_item--date-with-radios .wpcf7-form-control-wrap {
        flex-basis: 100%;
        width: 100%;
    }
    /* スマホでのボタンレイアウト */
    #form-step-2 .multistep-buttons {
        flex-direction: column-reverse;
    }
    #form-step-2 .form_submit {
        margin-bottom: 15px;
    }
}
.modalArea {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.4s;
}
.modalArea.visible {
    visibility: visible;
    opacity: 1;
}
.modalBg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.6);
}
.modalWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
h2.modal-header {
    /* (padding や background-color など、他の部分はそのままコピーしてください) */
    padding: 12px 15px;
    background-color: #1A3F6F;
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 7px 7px 0 0;
    flex-shrink: 0;
    /* まず、邪魔をしている可能性のあるmarginを全部ゼロにする */
    margin: 0 !important;
    /* そして、本当に必要な上の余白だけを改めて指定する */
    margin-top: 1px !important;
}
.modal-content {
    padding: 25px;
    font-size: 14px;
    line-height: 1.7;
    overflow-y: auto;
    flex-grow: 1;
}
.modal-close {
    display: block;
    width: 180px;
    margin: 20px auto;
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    background-color: #f7f7f7;
    transition: background-color 0.3s, color 0.3s;
}
.modal-close:hover {
    background-color: #e0e0e0;
}

/* --- モーダル内のテキストの余白調整 --- */

/* モーダル内の見出し(h3)の上下に余白を設定 */
.modal-content h3 {
    margin-top: 2em; /* 上の要素との間に余白を多めに取る */
    margin-bottom: 0.8em; /* 見出しと直下の文章の間の余白 */
}

/* 最初の見出しだけは、上の余白をなくす */
.modal-content h3:first-child {
    margin-top: 0;
}

/* モーダル内の段落(p)とリスト(ul)の下に余白を設定 */
.modal-content p,
.modal-content ul {
    margin-bottom: 1.5em; /* 段落やリストの塊の下に余白 */
    line-height: 1.7; /* 行間を少し広げる */
}

/* 最後の要素だけは、下の余白をなくす */
.modal-content p:last-child,
.modal-content ul:last-child {
    margin-bottom: 0;
}

/* リストの各項目の下に少し余白を設ける */
.modal-content ul li {
    margin-bottom: 0.5em;
}

@media screen and (max-width: 768px) {
    .modal-content {
        padding: 20px;
        font-size: 13px;
    }
}
/* !-====================================================
 * ▼ その他
 * ----------------------------------------------------*/
/* Contact Form 7のスピナーを無効化 */
.multistep-buttons .wpcf7-spinner {
    display: none !important;
}

/* =================================================== */
/* ▼ スマホでのフォーム入力時ズーム防止（横揺れ対策） */
/* =================================================== */
@media screen and (max-width: 768px) {
    .wpcf7-form .form-text,
    .wpcf7-form .form-select,
    .wpcf7-form .form-textarea {
        font-size: 16px;
    }
}
/* =================================================== */
/* ▼ 【PC・スマホ両対応】進捗バー強制中央配置（olタグ対応） */
/* =================================================== */

/* olタグで作られた進捗バーに正しく適用するセレクタ */
.post_content ol.c-progress-bar {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box; /* 念のため */
}


/* =================================================== */
/* ▼ 担当者紹介（PC: 吹き出し / スマホ: アコーディオン） */
/* =================================================== */

.staff-hybrid-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}
.accordion-toggle-hybrid {
    display: none; /* チェックボックスは常に非表示 */
}

/* --- PCでの表示スタイル --- */
.heading-wrapper-hybrid {
    position: relative;
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 35px;
}
.heading-wrapper-hybrid::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: #f3f4f6;
    transform: rotate(45deg);
}
.accordion-trigger-hybrid {
    cursor: default; /* PCではクリックできないように見せる */
}
.accordion-trigger-hybrid h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important; /* h3の線を強制的に消す */
}
.staff-grid-hybrid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 15px;
}
.staff-member {
    text-align: center;
    flex-basis: 110px;
    flex-shrink: 0;
}
.staff-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}
.staff-info { min-height: 5.6em; }
.staff-info .staff-name { font-size: 14px; font-weight: bold; line-height: 1.4; margin: 0; }
.staff-info .staff-title { font-size: 11px; color: #555; line-height: 1.4; margin: 4px 0 0; }

/* =================================================== */
/* ▼ スマホでのレイアウト改善（アコーディオンUI） */
/* =================================================== */
@media screen and (max-width: 768px) {
    
    /* --- フォームとテキストの表示順を強制反転 --- */
    .swl-layout-columns > .swl-layout-columns__inner {
        display: flex;
        flex-direction: column-reverse;
    }
    .form-lead-column { margin-top: 40px; }

    /* --- ここからがアコーディオンのスタイル --- */
    .heading-wrapper-hybrid {
        background: none;
        padding: 0;
        margin-bottom: 0;
        border: none;
    }
    .heading-wrapper-hybrid::after {
        display: none; /* 吹き出しのしっぽを消す */
    }
    
    /* 1. 見出し 兼 クリック領域のスタイル */
    .accordion-trigger-hybrid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f3f4f6;
        border-radius: 8px;
        padding: 12px 18px;
        cursor: pointer;
        user-select: none;
        transition: background-color 0.3s;
    }
    .accordion-trigger-hybrid:hover { background-color: #e5e7eb; }
    .accordion-trigger-hybrid h3 { text-align: left; font-size: 16px; }

    /* 2. 開閉アイコン（＋マーク）の作成 */
    .accordion-trigger-hybrid::after {
        content: '+';
        display: block;
        font-size: 28px;
        font-weight: 300;
        color: #555;
        background: none;
        transform: none;
        position: static;
        width: auto;
        height: auto;
        transition: transform 0.3s ease;
    }
    
    /* 3. 開いた時のアイコン（×マーク） */
    .accordion-toggle-hybrid:checked + .heading-wrapper-hybrid .accordion-trigger-hybrid::after {
        transform: rotate(45deg);
    }
    
    /* 4. 開閉するコンテンツエリアの初期状態（閉じた状態） */
    .staff-grid-hybrid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        overflow: hidden;
        max-height: 0;
        padding-top: 0;
        opacity: 0;
        transition: max-height 0.5s ease-in-out, padding-top 0.5s ease-in-out, opacity 0.3s ease-in-out;
    }

    /* 5. 開いた時のコンテンツエリアのスタイル */
    .accordion-toggle-hybrid:checked ~ .staff-grid-hybrid {
        max-height: 500px;
        padding-top: 25px;
        opacity: 1;
    }
    
    .staff-photo { width: 100px; height: 100px; }
}

/* =================================================== */
/* ▼ フッターのreCAPTCHA注釈テキストのスタイル */
/* =================================================== */

.recaptcha-notice-footer {
    font-size: 10px;      /* 文字を小さくする */
    color: #777;           /* 文字色を薄いグレーに */
    text-align: center;   /* 中央揃えにする */
    margin: 0px auto 15px;  /* 上に余白を追加して他の要素と区切る */
    padding: 0 15px;      /* スマホでの左右の余白を確保 */
    max-width: 800px;     /* PCで横幅が広がりすぎないように制限 */
    line-height: 1.6;     /* 行間を少し広げて読みやすくする */
}

/* リンクの文字色を少し濃くして可読性を保つ */
.recaptcha-notice-footer a {
    color: #555;
    text-decoration: underline; /* 下線を引いてリンクだと分かりやすくする */
}
.recaptcha-notice-footer a:hover {
    text-decoration: none; /* ホバーで下線を消す */
}
