@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
*/
/* !-====================================================
 * ▼ キャプションボックスの高さを揃えるーご提供サービスで使っている
 * ----------------------------------------------------*/
.myColumnCaptionBox {
    height: 100%;
}
.myColumnCaptionBox .cap_box_content {
    height: 100%;
}

.grecaptcha-badge { visibility: hidden; }

/* !-====================================================
 * ▼ SWELL特殊な処理
 * ----------------------------------------------------*/
body {
    background-color: #fff;
}
.top #content {
    /* コンテンツ上下に余分な空白が入るので消す */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
/* フッター直前にワイドボックスを設置したら出る空白を非表示 */
.w-beforeFooter {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.l-content {
    /* コンテンツが始まる（h1の上）に余分な空白が入るので狭くする */
    padding-top: 0;
    /* 一番下のフッターの上に空白がでるのでそれを防ぐ */
    margin: 0 auto 0;
}
/*Twenty20 スライダーの矢印位置調整*/
.post_content .twentytwenty-left-arrow {
    top: 13px;
}

.my-button-nobr{
  white-space : nowrap;
}


/* !-====================================================
 * ▼ スタイル系
 * ----------------------------------------------------*/
/* 背景を灰色にする（ブロックの高度な設定で「追加CSSクラス」に入れれば適用） */
.haikei-gray {
    background-color: #F0F3F6;
}
/* 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;
}
/* 画像の角に丸みをつける */
.photo img {
    border-top-left-radius: 16px;
    /* 左上の丸み */
    border-top-right-radius: 16px;
    /* 右上の丸み */
    border-bottom-right-radius: 16px;
    /* 右下の丸み */
    border-bottom-left-radius: 16px;
    /* 左下の丸み */
}
/* ===================================
  両側に斜め線を持つ見出し ＼こういうやつ ／
=================================== */
/* 例：<h2 class="decorated-heading"><span>XXXX</span></h2>*/
/* 見出しタグ全体（h2など）のスタイル */
.decorated-heading {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
}
/* テキストを囲むspanと、その中の要素のスタイル */
.decorated-heading span {
    display: inline-flex;
    align-items: center;
    /* ▼ 調整場所 ▼ */
    color: #2c3e50;
    /* 文字と線の色 */
    font-size: 24px;
    /* 文字の大きさ */
    font-weight: bold;
    /* 文字の太さ */
}
/* ::before と ::after に共通のスタイルを適用 */
.decorated-heading span::before,
.decorated-heading span::after {
    content: '';
    /* 擬似要素を表示するために必須 */
    display: block;
    /* ブロック要素として扱う */
    /* ▼ 線の見た目 ▼ */
    width: 30px;
    /* 線の長さ */
    height: 2px;
    /* 線の太さ */
    background-color: currentColor;
    /* spanの文字色を継承 */
}
/* 左側の線（ ＼ ）のスタイル */
.decorated-heading span::before {
    margin-right: 0.5em;
    transform: rotate(45deg);
}
/* 右側の線（ ／ ）のスタイル */
.decorated-heading span::after {
    margin-left: 0.5em;
    transform: rotate(-45deg);
}
/* --- レスポンシブ対応（スマホ表示） --- */
@media screen and (max-width: 767px) {
    .decorated-heading span {
        font-size: 18px;
        /* スマホでは少し文字を小さくする */
    }
    .decorated-heading span::before,
    .decorated-heading span::after {
        width: 20px;
        /* スマホでは少し線を短くする */
    }
}
/* !-====================================================
 * ▼ 独自見出しスタイル (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: 34px;
        text-align: center;
        margin-bottom: 0.5em;
    }
    /* h2 */
    .post_content h2.will-h2-catch {
        font-size: 60px;
        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;
}
/* !-====================================================
 * ▼ パンくず
 * ----------------------------------------------------*/
/* SWELLのパンくずリストに投稿タイトルを表示 */
.single .p-breadcrumb__item:last-child>span.p-breadcrumb__text {
    display: block;
}
/* SWELLのパンくずのテキストが長い場合、3点リーダーで省略する */
.p-breadcrumb__list {
    padding-right: 1em;
}
.p-breadcrumb__item:last-of-type {
    overflow-x: hidden;
}
.p-breadcrumb__item:last-of-type .p-breadcrumb__text {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;
}
/* 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;
}
/* !-====================================================
 * ▼ お悩みセクション（複雑バージョン）
 * ----------------------------------------------------/
/ === Main Structure === */
#second-area {
    --sa-bg-color: #F7F5F3;
    --sa-text-color: #3f3f3f;
    --sa-red-color: #e23a4d;
    --sa-yellow-highlight: #fff15a;
    --card-title-icon-color: #005A9C;
    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-main-heading {
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 40px 0;
    line-height: 1.5;
    color: var(--sa-text-color);
}
/* --- Grid Layout Container --- */
#second-area .sa-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    gap: 28px;
    align-items: start;
}
/* --- Grid Item Placement (PC) --- */
.grid-item-1 {
    grid-area: 1 / 1 / 2 / 2;
}
.grid-item-5 {
    grid-area: 1 / 2 / 3 / 3;
}
.grid-item-4 {
    grid-area: 2 / 1 / 3 / 2;
}
.grid-item-2 {
    grid-area: 3 / 1 / 4 / 2;
}
.grid-item-3 {
    grid-area: 3 / 2 / 4 / 3;
}
/* --- Card Design --- */
#second-area .sa-concern-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    width: 100%;
}
/* --- Image Area --- */
#second-area .sa-problem-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
#second-area .sa-problem-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
/* --- Card Inner Styles --- */
#second-area .sa-category-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
    padding-bottom: 0;
    position: relative;
    color: var(--sa-text-color);
    border-bottom: none;
}
#second-area .sa-category-icon {
    color: var(--card-title-icon-color);
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}
/* --- お悩みリスト--- */
#second-area .sa-concerns-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
#second-area .sa-concerns-list li {
    display: flex;
    align-items: flex-start;
    padding: 0;
    margin: 0;
}
#second-area .sa-concerns-list li:before {
    content: none;
}
#second-area .sa-concerns-list li:not(:last-child) {
    margin-bottom: 12px;
}
#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-list-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}
/* --- Arrow & Solution Section--- */
#second-area .sa-arrow-divider {
    text-align: center;
    margin: 40px 0 0 0;
}
#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 .pc_ {
    display: block;
}
#second-area .sp_ {
    display: none;
}
#second-area .sa-br-sp {
    display: none;
}
/* --- Responsive (SP) --- */
@media (max-width: 960px) {
    #second-area .sa-container {
        padding: 40px 20px;
        border-radius: 0 20px 0 0;
    }
    #second-area .sa-main-heading {
        font-size: 26px;
        text-align: center;
    }
    #second-area .sa-br-sp {
        display: block;
    }
    #second-area .sa-grid-layout {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    #second-area .sa-problem-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto 15px auto;
    }
    #second-area .sa-list-text {
        font-size: 16px;
    }
    #second-area .sa-arrow-divider {
        margin: 40px 0 30px 0;
    }
    #second-area .sa-solution-heading {
        font-size: 26px;
        line-height: 1.6;
    }
    #second-area .sa-solution-text {
        font-size: 16px;
    }
    #second-area .pc_ {
        display: none;
    }
    #second-area .sp_ {
        display: block;
    }
}
/* =======================================
  汎用比較レイアウト (Problem & Solution)
 ◆なぜ、コノイエなら解決できるのかセクション
  特徴：
  - PCでは左右2カラム、スマホでは縦積みになるレスポンシブ対応
  - 汎用的なクラス名でサイト内のどこでも再利用可能
  - 外部CSSの影響を受けにくい独立したスタイル設計
======================================= */
/* --- 全体コンテナ --- */
.comparison-layout {
    display: flex;
    align-items: stretch;
    /* ボックスの高さを自動で揃える */
    gap: 20px;
    margin: 40px auto;
    max-width: 1100px;
    padding: 0 20px;
}
/* --- 左右のボックス共通スタイル --- */
.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;
}
/* --- 【左カラム】問題提起サイド --- */
.problem-side {
    background-color: #f8f8f8;
    border: 2px dashed #cccccc;
}
.problem-side .comparison-box__icon {
    color: #e6b400;
    /* 黄色の警告アイコン */
}
.problem-side strong {
    background: linear-gradient(transparent 60%, #e0e0e0 60%);
}
/* --- 【中央】転換の矢印 --- */
.comparison-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* 矢印コンテナが縮まないようにする */
}
.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 60%, rgba(0, 90, 156, 0.15) 60%);
}
/* --- プロフィールブロックのスタイル --- */
.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;
    }
}
/* =======================================
  売却事例のご紹介セクション
  特徴：
  - 背景に4つの円形の写真とバブルを出す
  - 縦に3列事例ブロック
======================================= */
/* SWELLブロックに追加したクラス */
.bg-bubbles-section {
    position: relative;
    background-color: #f7fafd;
    overflow: hidden;
}
/* 
  ::beforeで左側の2つのバブル（岡田様＋装飾円）を生成
*/
.bg-bubbles-section::before {
    content: '';
    position: absolute;
    z-index: 0;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    top: 15%;
    left: -80px;
    background-image: url('https://konoie.co.jp/wp/wp-content/uploads/2025/09/huruyatel.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 250px 350px 0 50px rgba(59, 130, 246, 0.1);
}
/* 
  ::afterで右側の2つのバブル（チーム写真＋装飾円）を生成
*/
.bg-bubbles-section::after {
    content: '';
    position: absolute;
    z-index: 0;
    /* チーム写真の円の設定 */
    width: 400px;
    height: 400px;
    border-radius: 50%;
    bottom: 5%;
    right: 20px;
    background-image: url('https://konoie.co.jp/wp/wp-content/uploads/2025/09/allstar2.jpg');
    background-size: cover;
    background-position: 75% center;
    /* yオフセットを大きなマイナス値にすることで、円をコンテンツの上部へ移動させます */
    /* これにより、隠れることなく装飾として機能します */
    box-shadow: -400px -550px 0 50px rgba(59, 130, 246, 0.1);
}
/* コンテンツエリアを前面に表示 */
.bg-bubbles-section .swell-block-fullWide__inner {
    position: relative;
    z-index: 1;
}
/* 事例カードのスタイル */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.case-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(45, 54, 84, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.case-header {
    padding: 20px 25px;
    color: #fff;
}
.case-header.color-1 {
    background: #3171CA;
}
.case-header.color-2 {
    background: #0154AC;
}
.case-header.color-3 {
    background: #01348A;
}
.case-number {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.8;
    margin-bottom: 8px;
    display: block;
}
.case-study-grid .case-card .case-header h3.case-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff;
}
.case-body {
    padding: 25px;
    min-height: 280px;
}
.case-story:first-child {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #d1d5db;
}
.case-study-grid .case-card .case-body .story-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
}
.story-title.before {
    color: #4b5563;
}
.story-title.after {
    color: #e23a4d;
}
.story-icon {
    font-size: 20px;
    margin-right: 10px;
    width: 24px;
    text-align: center;
}
.story-text {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin: 0;
}
.story-text strong {
    color: #e23a4d;
}
.case-footer {
    padding: 0 25px 25px 25px;
    margin-top: auto;
}
.case-result {
    background-color: #F3F5FF;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
}
.case-result.gain {
    background-color: #F3F5FF;
}
.result-label {
    display: block;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 4px;
}
.result-price {
    font-size: 40px;
    font-weight: 800;
    color: #e23a4d;
    line-height: 1;
    font-family: 'Lato', sans-serif;
}
.result-price .unit {
    font-size: 18px;
    font-weight: 700;
    margin-left: 4px;
    font-family: inherit;
}
.voice-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4B5563;
    margin: 0;
    padding: 16px;
    background-color: #F9FAFB;
    border-left: 4px solid #D1D5DB;
    border-radius: 0 8px 8px 0;
}
/* --- レスポンシブ --- */
@media screen and (max-width: 960px) {
    .case-study-grid {
        display: flex;
        flex-direction: column;
    }
    .case-body {
        min-height: auto;
    }
    .bg-bubbles-section::before,
    .bg-bubbles-section::after {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .case-title {
        font-size: 20px;
    }
    .result-price {
        font-size: 36px;
    }
}

/* =======================================
  選ばれる3つの理由セクション
======================================= */
.reasons-feature-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 0;
    /* 上下の余白 */
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 50px;
}
/* 最後のアイテム以外に、下に余白を設ける */
.feature-item:not(:last-child) {
    margin-bottom: 80px;
}
/* 2番目のアイテムを左右反転させる */
.feature-item.reverse {
    flex-direction: row-reverse;
}
.feature-text {
    flex: 1;
    /* テキストエリアの幅を柔軟に */
}
.feature-image {
    flex-basis: 45%;
    /* 画像エリアの基本幅を指定 */
    max-width: 480px;
}
.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(45, 54, 84, 0.1);
    display: block;
}
/* --- テキスト部分のスタイル --- */
.feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.feature-number {
    font-size: 72px;
    font-weight: 800;
    color: #e23a4d;
    /* 赤色 */
    line-height: 0.8;
    font-family: 'Lato', sans-serif;
}
.feature-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 !important;
}
.feature-lead {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
    color: #333;
    margin: 0 0 15px 0;
    border-left: 4px solid #e23a4d;
    /* 赤色の左ボーダー */
    padding-left: 15px;
}
.feature-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}
/* --- solution-highlight ボックス内のスタイル調整 --- */
.solution-highlight {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #e23a4d;
    margin: 25px 0;
}
.solution-highlight h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: bold;
}
.solution-highlight ul {
    list-style-type: none;
    /* デフォルトの黒丸を消す */
    padding-left: 0;
    margin: 0;
}
.solution-highlight li {
    font-size: 15px;
    color: #333;
    padding-left: 20px;
    /* アイコン分のスペース */
    position: relative;
}
.solution-highlight li:not(:last-child) {
    margin-bottom: 10px;
}
/* 箇条書きのアイコン */
.solution-highlight li::before {
    content: '\f071';
    /* Font Awesomeの警告アイコン */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #e23a4d;
    position: absolute;
    left: 0;
    top: 2px;
}
.solution-highlight strong {
    color: #e23a4d;
    font-weight: bold;
}
/* ヘッダーの下線対策 */
.feature-title.no-underline,
.feature-title.no-underline::after {
    border: none !important;
    padding: 0 !important;
    content: none !important;
}
/* --- レスポンシブ (スマホ表示) --- */
@media screen and (max-width: 767px) {
    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
        /* 縦積みに変更 */
        gap: 30px;
    }
    .feature-item:not(:last-child) {
        margin-bottom: 60px;
    }
    .feature-header {
        margin-bottom: 15px;
    }
    .feature-number {
        font-size: 56px;
    }
    .feature-title {
        font-size: 22px;
    }
    .feature-lead {
        font-size: 17px;
    }
}

/* =======================================
  メインCTA
======================================= */
/* === CTAコンテナ全体 === */
.ultimate-cta-host {
    padding: 80px 20px;
    background-color: #FDFBF8;
}
.ultimate-cta-container {
    max-width: 1020px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 24px;
    border: 1px solid #F3ECE2;
    box-shadow: 0 25px 60px -15px rgba(100, 80, 60, 0.12);
    display: flex;
    align-items: center;
    padding: 40px 0;
}
/* === 担当者紹介エリア === */
.ultimate-cta-person {
    flex: 0 0 220px;
    text-align: center;
    border-right: 1px solid #F3ECE2;
    padding: 0 40px;
}
/* person-image のサイズを指定 */
.person-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 15px auto;
}
/* img タグにスタイルを適用 */
.person-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* 円形にする */
    /* object-fit: cover を使用することで、
     もし画像が正方形でなくてもコンテナに収まるように
     （今回は「四角にトリミングする」前提、念のためカバーを維持）*/
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(45, 54, 84, 0.1);
}
.person-title {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}
.person-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 5px 0 0 0;
}
/* === コンテンツエリア === */
.ultimate-cta-content {
    flex: 1;
    padding: 0 50px;
}
.ultimate-cta-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 15px 0 !important;
    line-height: 1.5;
    color: #333;
    text-align: left;
}
.ultimate-cta-title .highlight {
    color: #D9534F;
}
.ultimate-cta-text {
    font-size: 16px;
    color: #555;
    margin: 0 0 25px 0;
    line-height: 1.8;
    text-align: left;
}
/* === ボタンエリア === */
.ultimate-cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 0 0 20px 0;
}
.ultimate-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.ultimate-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.ultimate-cta-button i {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}
.ultimate-cta-button.primary {
    background: linear-gradient(135deg, #D9534F 0%, #C9302C 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(217, 83, 79, 0.3);
}
.ultimate-cta-button.primary:hover {
    box-shadow: 0 8px 25px rgba(217, 83, 79, 0.4);
}
.ultimate-cta-button.secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    border: 2px solid #e9ecef;
    position: relative;
}
.ultimate-cta-button.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(217, 83, 79, 0.05) 0%, rgba(217, 83, 79, 0.1) 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.ultimate-cta-button.secondary:hover {
    border-color: #D9534F;
    color: #2c3e50;
}
.ultimate-cta-button.secondary:hover::before {
    opacity: 1;
}
.button-text-wrapper {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    position: relative;
}
.button-main-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.button-sub-text {
    font-size: 14px;
    line-height: 1.3;
    margin-top: 4px;
    display: block;
    opacity: 0.9;
}
.ultimate-cta-button.secondary .button-sub-text {
    font-weight: 700;
    color: #D9534F;
    font-size: 15px;
}
.pc-only {
    display: block;
}
.sp-only {
    display: none;
}
/* === フッターエリア === */
.ultimate-cta-footer {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    font-size: 14px;
    color: #4b5563;
}
.info-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.info-text strong {
    font-weight: 700;
}
/* プライバシーマークのアイコンサイズを調整 */
.privacy-mark-icon {
    width: 30px;
    height: auto;
    flex-shrink: 0;
    /* 縮まないように設定 */
}

/* === レスポンシブ === */
@media (max-width: 1024px) {
    .ultimate-cta-container {
        flex-direction: column;
        padding: 40px;
    }
    .ultimate-cta-person {
        flex: 1 1 auto;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 0 0 30px 0;
        margin-bottom: 30px;
    }
    .ultimate-cta-content {
        padding: 0;
    }
    .ultimate-cta-title,
    .ultimate-cta-text {
        text-align: center;
    }
    .ultimate-cta-footer {
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .ultimate-cta-host {
        padding: 60px 0;
        background-color: #fff;
    }
    .ultimate-cta-container {
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        padding: 40px 20px;
    }
    .ultimate-cta-title {
        font-size: 24px;
    }
    .ultimate-cta-buttons {
        grid-template-columns: 1fr;
    }
    .ultimate-cta-footer {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }
    .button-text-wrapper {
        text-align: center;
    }
    .ultimate-cta-button {
        padding: 18px 20px;
    }
}
/* =======================================
  ご相談は簡単、ご提案は的確に。セクション
  査定方法比較ボックス（影デザイン版）
======================================= */
/* --- カード全体のスタイル --- */
.assessment-card {
    background-color: #fff;
    /* border: 1px solid #e5e7eb; を削除 */
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 5px 10px -6px rgba(0, 0, 0, 0.07);
}
.assessment-card:hover {
    transform: translateY(-5px);
    /* ★★★ ホバー時の影を少し強くする ★★★ */
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.1), 0 8px 15px -8px rgba(0, 0, 0, 0.1);
}
.assessment-card.recommended {
    /* border: 2px solid #e23a4d; を削除 */
    border: 2px solid #e23a4d;
    /* 枠線だけを残す */
    box-shadow: 0 15px 30px -10px rgba(226, 58, 77, 0.2), 0 8px 15px -8px rgba(226, 58, 77, 0.15);
}
.assessment-card.recommended:hover {
    box-shadow: 0 20px 40px -10px rgba(226, 58, 77, 0.25), 0 10px 20px -10px rgba(226, 58, 77, 0.2);
}
/* --- ヘッダー --- */
.assessment-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}
.assessment-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.assessment-icon.color-red {
    background-color: #FEF2F2;
    color: #e23a4d;
}
.assessment-icon.color-gray {
    background-color: #F3F4F6;
    color: #4B5563;
}
.assessment-title .name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 !important;
}
.assessment-title .badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: #e23a4d;
    padding: 4px 10px;
    border-radius: 999px;
    margin-top: 8px;
}
/* --- ボディ --- */
.assessment-body {
    padding: 20px 0;
    flex-grow: 1;
}
.assessment-body .description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}
/* --- フッター --- */
.assessment-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}
.spec-item {
    text-align: left;
}
.spec-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 5px;
}
.spec-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.spec-value.stars {
    font-size: 18px;
    color: #F59E0B;
    letter-spacing: 2px;
}

/* =======================================
  ご利用の流れセクション（アイコンつき）
======================================= */
.process-flow-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.process-timeline {
    position: relative;
    padding: 20px 0;
}
/* 全体を貫く縦線は削除 */
.process-timeline::before {
    display: none;
}
.process-step {
    display: flex;
    position: relative;
    padding-left: 90px;
    align-items: center;
}
.process-step:not(:last-child) {
    padding-bottom: 50px;
}
/* 各ステップ間を繋ぐ線を疑似要素で描画 */
.process-step::before,
.process-step::after {
    content: '';
    position: absolute;
    left: 35px;
    width: 3px;
    background-color: #e5e7eb;
    z-index: 0;
}
.process-step::before {
    top: 0;
    height: 50%;
}
.process-step::after {
    bottom: 0;
    height: 50%;
}
/* 最初のステップの上線と、最後のステップの下線を消す */
.process-step:first-child::before,
.process-step:last-child::after {
    display: none;
}
.step-icon-wrapper {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}
.step-number {
    font-size: 13px;
    font-weight: 700;
    color: #9ca3af;
    margin-bottom: 10px;
    position: absolute;
    top: -28px;
    white-space: nowrap;
}
.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #0154AC;
    color: #fff;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
}
.process-step:last-child .step-icon {
    background-color: #e23a4d;
}
.step-content {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    width: 100%;
}
.step-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0 !important;
}
.step-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}
/* --- レスポンシブ（修正版） --- */
@media screen and (max-width: 767px) {
    .process-timeline {
        padding-left: 0px;
    }
    .process-step {
        padding-left: 60px;
        align-items: flex-start;
    }
    /* スマホ版での線の位置調整 */
    .process-step::before,
    .process-step::after {
        left: 20px;
        /* アイコンの中心に合わせる */
    }
    /* スマホ版：最初のステップの線調整 */
    .process-step:first-child::before {
        display: block;
        /* 表示する */
        top: 20px;
        /* アイコンの下から開始 */
        height: calc(100% - 20px);
    }
    /* スマホ版：最後のステップの線調整 */
    .process-step:last-child::after {
        display: none;
        /* 非表示のまま */
    }
    /* スマホ版：中間ステップの線調整 */
    .process-step:not(:first-child):not(:last-child)::before {
        top: 0;
        height: 20px;
        /* アイコンの中心まで */
    }
    .process-step:not(:first-child):not(:last-child)::after {
        top: 20px;
        /* アイコンの中心から開始 */
        bottom: auto;
        height: calc(100% - 20px);
    }
    /* 2番目以降のステップの上線 */
    .process-step:not(:first-child)::before {
        display: block;
        top: 0;
        height: 20px;
        /* アイコンの中心まで */
    }
    /* 最後以外のステップの下線 */
    .process-step:not(:last-child)::after {
        display: block;
        top: 20px;
        /* アイコンの中心から */
        bottom: auto;
        height: calc(100% - 20px);
    }
    .step-icon-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        transform: none;
    }
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    .step-number {
        position: static;
        text-align: center;
        width: 50px;
        margin-bottom: 8px;
    }
    .step-title {
        font-size: 18px;
    }
    .step-description {
        font-size: 15px;
    }
}

/* =======================================
  簡易版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;
    }
}

/* =======================================
  専門家紹介セクション
======================================= */
.expert-showcase-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    /* height: 100%、親カラムの高さに合わせる */
    height: 100%;
    /* Flexboxコンテナとして設定 */
    display: flex;
    flex-direction: column;
}
/* --- 写真エリア --- */
.expert-photo-area {
    height: 250px;
    /* 写真エリアが縮まないように設定 */
    flex-shrink: 0;
}
.expert-photo-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
/* --- 情報エリア --- */
.expert-info-area {
    padding: 30px;
    background-color: #FFFFFF;
    /* 残りの利用可能なスペースをすべて埋めるように伸びる */
    flex-grow: 1;
}
.expert-role {
    font-size: 14px;
    font-weight: 700;
    color: #e23a4d;
    margin: 0 0 8px 0;
}
.expert-name {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin: 0 !important;
}
.expert-license {
    font-size: 14px;
    color: #6b7280;
    margin: 5px 0 0 0;
}
.expert-divider {
    height: 1px;
    background-color: #dfe3f0;
    margin: 20px 0;
}
.expert-message {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 20px 0;
}
.expert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.expert-list li {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
}
.expert-list li:not(:last-child) {
    margin-bottom: 12px;
}
.expert-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #333;
    margin-right: 10px;
    margin-top: 7px;
    flex-shrink: 0;
}
/* --- レスポンシブ --- */
@media (max-width: 767px) {
    .expert-photo-area {
        height: 220px;
    }
}
/* !-====================================================
 * ▼ （トップページ）CTAセクション
 * ----------------------------------------------------*/
/* --- ボタンの上の＼各エリアの掲載枠には限りがあります ／の箇所 --- */
.motivation-text {
    font-size: 0.8em;
    color: #D32F2F;
    /* やや強めの赤で注意を引く */
    margin-bottom: 5px !important;
    font-weight: bold;
    line-height: 1.5;
    /* 行間は適切に */
    padding: 5px 0;
    /* 上下のパディングを減らし、左右はなしに */
}
.motivation-text-white {
    font-size: 0.8em;
    color: #FFFFFF;
    /* やや強めの赤で注意を引く */
    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-text-white {
        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-text-white {
        font-size: 0.95em;
        line-height: 1.4;
    }
    .motivation-cta-wrapper {
        /* さらに小さい画面での親コンテナのパディング調整 */
    }
}

/*! 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; /* ホバーで下線を消す */
}


/* =================================================== */
/* ▼ レスポンシブ対応の会社概要テーブル */
/* =================================================== */

/* --- テーブルを囲むラッパー（PCでの横スクロール用） --- */
.responsive-table-wrap {
    overflow-x: auto; /* テーブルがはみ出た場合に横スクロールを可能にする */
    margin: 2em 0;
}

/* --- テーブル全体の基本スタイル --- */
.company-profile-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    line-height: 1.7;
}

/* --- テーブルのヘッダーセル（項目名） --- */
.company-profile-table th {
    width: 25%; /* 項目名の幅を固定 */
    min-width: 160px; /* 最小幅を確保 */
    padding: 15px;
    font-weight: bold;
    text-align: left;
    background-color: #f9f9f9;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top; /* 内容が多い行でも上揃えに */
}

/* --- テーブルのデータセル（内容） --- */
.company-profile-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

/* --- スマホ表示のスタイル（画面幅768px以下で適用） --- */
@media screen and (max-width: 768px) {
    /* テーブル全体の表示をブロック要素に変更 */
    .company-profile-table,
    .company-profile-table tbody,
    .company-profile-table tr,
    .company-profile-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* PC用のヘッダー（th）は非表示に */
    .company-profile-table th {
        display: none;
    }

    /* 各行に区切り線をつける */
    .company-profile-table tr {
        border-bottom: 2px solid #ccc;
        margin-bottom: 1em;
    }
    .company-profile-table tr:last-child {
        border-bottom: none;
    }

    /* データセルの余白を調整 */
    .company-profile-table td {
        padding: 10px 0;
        border: none;
        text-align: left !important;
    }

    /* 【重要】data-labelの内容を項目名として表示 */
    .company-profile-table td::before {
        content: attr(data-label); /* data-label属性の値を取得 */
        display: block;
        font-weight: bold;
        font-size: 14px;
        color: #555;
        margin-bottom: 5px;
    }
}

