﻿/*
================================================================
【全体リセット・基本設定】
================================================================
*/
* {
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
}

body {
    background-color: white; 
font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.7;
    font-size: 16px;
    text-align: center;

    /* ?? スムーススクロールを追加 ?? */
    scroll-behavior: smooth;
}

ul, ol {
    list-style-type: none; 
    margin: 0;
    padding: 0;
}
a {
    color: #004c99; 
    text-decoration: none;
    transition: opacity 0.2s;
}
a:hover {
    opacity: 0.7;
}

/* ハンバーガーメニューボタンの基本スタイル（PCでは非表示） */
.hamburger-menu {
    display: none; 
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
}
.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}


/*
================================================================
【メインレイアウト - PC版 (幅769px以上) の基本スタイル】
================================================================
*/
div#wrap {
    width: 100%;
    max-width: 1100px; 
    text-align: left;
    background-color: white;
    margin: 0 auto; 
    box-shadow: none; 
}

/* ヘッダーエリア */
#header {
    background-color: white;
    padding: 20px 0;
    text-align: center; 
}
#logo-area-inner {
    max-width: 1100px; 
    margin: 0 auto;
    /* PCでは中央表示を維持 */
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 0 20px; 
    position: relative; 
}
#site-logo {
    /* PCのロゴサイズ設定 */
    max-width: 315px; 
    height: auto;
    display: block;
    margin: 0 auto;
}
.contact-link {
    display: none; 
}

/* トップナビゲーション - PC表示 */
#top-nav-wrap {
    background-color: white; 
    border-bottom: 3px solid #c2932f; /* ゴールドライン */
    position: relative; 
}
#top-nav {
    display: flex; 
    justify-content: center; 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px;
}
#top-nav li a {
    display: block;
    color: #333333; 
    font-weight: bold;
    padding: 15px 20px;
    font-size: 15px;
    white-space: nowrap; 
}
#top-nav li a:hover {
    background-color: #f0f0f0; 
}


/*
================================================================
【▼ ページ共通メインビジュアル - 画像切り替え対応】
================================================================
*/

/* 1. #page-visual の定義 (現在のサイトのものを優先) */
#page-visual {
    width: 100%;
    height: auto; 
    max-height: none; 
    overflow: visible; /* 現在のサイトの設計を優先 */
    
    /* ?? 現在のサイトの設計を優先 ?? */
    margin: 0;
    padding: 0;
    
    text-align: center;
}

/* 2. .page-visual-img の定義 */
.page-visual-img {
    width: 100%;
    height: auto; 
    display: block;
    
    /* 現在のサイトの設計を維持 */
    object-fit: contain; 
    min-height: 200px; 
}

/*
================================================================
【▼ レスポンシブ調整（画像切り替えルール）】
================================================================
*/

/* 3. PCでの表示設定 (幅769px以上) */
/* デフォルトではPC用画像を表示し、スマホ用画像を非表示にする */
#page-visual .sp {
? ? display: none;
}
#page-visual .pc {
? ? display: block; /* 明示的に表示 */
}


/* 4. スマホでの表示設定 (幅768px以下) */
@media (max-width: 768px) {
? ? /* スマホのときはPC画像を非表示にする */
? ? #page-visual .pc {
? ? ? ? display: none;
? ? }
? ??
? ? /* スマホのときはSP画像を表示にする */
? ? #page-visual .sp {
? ? ? ? display: block;
? ? }
}


/*
================================================================
【▼ パンくずリストエリアの配置調整】
================================================================
*/
#breadcrumb-area {
    /* #wrapの最大幅（1100px）と中央揃えを再現するコンテナ */
    width: 100%;
    background-color: #ffffff; /* 背景色で領域を明確に */
    border-bottom: 0px solid #ddd;
    text-align: left;
}

/* #wrapと同じ最大幅と中央寄せを適用するためのインナーコンテナ */
#breadcrumb-area .wrap-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 35px 5px; /* 上下左右のパディング調整 */
}

/* 既存のパンくずリスト（.navi）のスタイルを調整 */
#breadcrumb-area .navi {
    margin: 0; 
    padding: 0; 
    font-size: 14px;
    color: #666;
}
/*
================================================================
【メインコンテンツとサイドバーのレイアウト】
================================================================
*/
#content-container {
    display: flex;
    flex-direction: row; 
    padding: 20px 20px 50px;
    gap: 30px; 
}

/* 修正: パンくずリスト（navi）のPC表示を修正し、ロゴ横の崩れを解消 */
/* 新しい#breadcrumb-areaに役割を譲るため、#main内のnaviは非表示 */
#main .navi {
    display: none; 
    position: static; 
    width: auto;     
    max-width: none;
    left: auto;      
    top: auto;       
    margin: 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
    z-index: 1; 
    white-space: normal; 
    overflow: visible; 
    font-size: 14px; 
    color: #666; 
}


/* メインコンテンツ */
#main {
    flex: 1; 
    min-width: 600px; 
    padding: 0 10px;
}
/* メインコンテンツのH1デザイン */
#main h1 {
    font-size: 24px;
    color: #333333; 
    border-top: 2px solid #c2932f; 
    border-bottom: 1px solid #ddd;
    padding: 17px 5px 15px 5px;
    margin-top: 5px; 
    margin-bottom: 25px;
    background-color: #fcfcfc;
}

#main h2 {
    font-size: 19px;
    color: #222222;
    border-bottom: 2px solid #b49056;
    padding: 5px 5px 5px 5px;
    margin-top: 45px;
    margin-bottom: 25px;
    background: none; 
    border-top: none;
    line-height: 1.5;
}

#main h2.head {
    font-size: 19px;
    color: #222222;
    border-bottom: 2px solid #b49056;
    padding: 5px 5px 5px 5px;
    margin-top: 0px;
    margin-bottom: 25px;
    background: none; 
    border-top: none;
    line-height: 1.5;
}

#main h3 {
    font-size: 18px;
    color: #222222;
    border-bottom: 1px solid #b49056;
    padding: 5px 5px 5px 5px;
    margin-top: 35px;
    margin-bottom: 25px;
}

#main h4 {
    font-size: 16px;
    color: #1b1b1b;
    padding: 5px 5px 5px 5px;
    margin-top: 35px;
    margin-bottom: 25px;
}

.main-visual {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}
#main ul {
    list-style-type: disc; 
    margin: 1em 0 1em 2em; 
    padding: 0;
}
#main li {
    line-height: 1.8;
}


/* メインコンテンツ内 pタグのスタイル */
#main p {
    margin-bottom: 25px; 
    line-height: 1.7; 
    padding: 0px 5px 0px 5px;
}


/* サイドバー */
#menu {
    width: 280px; 
    flex-shrink: 0; 
    background-color: transparent;
    border: none;
    padding: 0;
}

.kakoiline {
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    margin-bottom: 30px; 
    padding: 0; 
}

#menu .kakoiline:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}


.kakoisearch {
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    margin-bottom: 30px; 
    padding: 0; 
}



/* サイドバーのバナーを中央寄せにするためのCSS（バナー幅280pxの場合は影響なし） */
#menu .side-bana,
#menu .footlast-bana {
    text-align: center; 
    padding: 10px 0; 
}
#menu img {
    max-width: 280px; 
    height: auto;
    display: block;
    margin: 0 auto; 
}
/* ここから下はメニュー要素の維持 */
.menu1 h3, .menu2 h4 { 
    color: white; 
    background-color: #002855; 
    padding: 10px 15px; 
    margin: 0; 
}
.menu1 ul, .menu2 ul {
    list-style-type: none; 
    padding: 0;
    margin: 0;
}
.menu1 li a, .menu2 li a {
    list-style-type: none; 
    display: block;
    padding: 8px 10px 8px 20px;
    border-bottom: 1px dashed #ddd;
    font-size: 14px;
    color: #333;
    background-image: url(./img/menuline.gif); 
    background-repeat: no-repeat;
    background-position: 10px 50%;
}
.menu1 li, .menu2 li {
    background-image: none;
    padding-left: 0;
}

/* フッターエリア (フルワイド化) */
#footer-wrap {
    clear: both; 
    background-color: #f8f3e7; 
    border-top: 4px solid #c2932f; 
    text-align: center;
    padding-top: 0; 
    padding-bottom: 0; 
    overflow: hidden; 
}
#footer-inner {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 0 20px;
}
.footlink {
    padding-top: 35px; 
    padding-bottom: 25px; 
    font-size: 14px; 
}
.footlink a {
    color: #666666; 
}

/* Copyright部分 */
.foot {
    background-color: #ebe6de; 
    padding: 30px 10px 30px 10px; 
    font-size: 0.8em; 
    color: #666666; 
    text-align: center;
    margin-bottom: 0; 
    display: block; 
}


/*
================================================================
【レスポンシブ対応 (メディアクエリ：幅768px以下の時に適用) - 修正】
================================================================
*/
@media (max-width: 768px) {
    
    /* 1. サイト全体の幅の修正とFloatの強制解除 */
    div#wrap {
        width: 100%;
        max-width: none; 
        margin: 0; 
        padding: 0;
    }
    
    /* 2. ヘッダーエリアの修正 */
    #header { padding: 10px 0; }
    #logo-area-inner { 
        max-width: 100%; 
        padding: 0 10px; 
        /* ?? 修正: ロゴを中央に、ハンバーガーを右端に配置 */
        display: flex; 
        justify-content: center; /* ロゴを中央に寄せる */
        align-items: center;
    }
    
    /* ?? 修正箇所: スマホのロゴサイズをPCと同じ最大値に統一 */
    #site-logo { 
        max-width: 300px; /* PCと同じ最大幅 */
        height: auto; 
        margin: 0; /* 中央寄せのためマージンをリセット */
    }
    
    /* 3. ハンバーガーメニューの表示とPCナビゲーションの非表示 */
    .hamburger-menu { 
        display: block; 
        /* ?? 修正: ハンバーガーメニューがロゴに重ならないよう右端に固定 */
        position: absolute;
        right: 10px;
    }

    #top-nav-wrap { border-bottom: none; } 
    #top-nav { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background-color: white; 
        border-top: 1px solid #ddd; 
        z-index: 99; 
    }
    #top-nav.is-open { 
        display: flex; 
        border-bottom: 3px solid #c2932f; 
    }
    #top-nav li a { padding: 12px 20px; border-bottom: 1px solid #eee; }
    
    /* ▼ ページビジュアルのモバイル調整 - 修正 */
    #page-visual {
        height: auto; /* ★ スマホでも自動縮尺（縦横比維持）を適用 ★ */
        max-height: none; 
    }
    
    /* ▼ 新規追加: パンくずリストエリアのモバイル調整 */
    #breadcrumb-area .wrap-inner {
        padding: 8px 10px 4px; 
    }
    
    /* 4. メインコンテンツとサイドバーの縦積み化 */
    #content-container {
        display: block; 
        padding: 10px; 
        width: 100%;
    }
    
    /* スマホのパンくずリスト（navi）を安定化 */
    /* 新しい#breadcrumb-areaに役割を譲るため、非表示 */
    #main .navi {
        display: none; 
        position: static; 
        width: 100%;
        max-width: none;
        margin: 0 0 15px 0;
        overflow: visible;
        white-space: normal;
    }
    
    /* メインコンテンツ */
    #main {
        width: 100%; 
        min-width: auto; 
        padding: 0 5px; 
    }
    
    /* サイドバー */
    #menu {
        width: 100%; 
        margin-top: 20px; 
        padding: 0; 
        background-color: transparent;
        border: none;
    }
    
    /* 5. その他のコンテンツ調整 */
    #main h1, #main h2 { 
        font-size: 20px; 
        margin-top: 20px; 
    }
    .kakoiline {
        border: 1px solid #ccc; 
        background-color: #f7f7f7;
        margin-bottom: 15px;
        padding: 0;
    }
    #footer-wrap { width: 100%; }
}


/*
================================================================
【LP向け ファーストビュー画像上にテキストを重ねるスタイル - 修正版】
================================================================
*/

/* ファーストビューコンテナの準備 */
.first-view-container {
    position: relative; 
    width: 100%;
    overflow: hidden; 
}

/* 画像自体は元のスタイルでOKですが、念のためdisplay: block; を明示 */
.first-view-container .page-visual-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
    min-height: 300px; 
}

/* 画像の上に重ねるテキストコンテンツ */
.first-view-content {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 90%; 
    max-width: 800px; 
    text-align: center;
    color: #323232; 
    text-shadow: none; 
    z-index: 10; 
}

/* -------------------------------------------
   PC/タブレット (幅 769px 以上) のデフォルト設定 
   ------------------------------------------- */
.first-view-content h1 {
    /* ?? PC表示では固定の最大フォントサイズに戻す ?? */
    font-size: 32px !important; 
    margin-bottom: 45px;
    line-height: 1.2;
    border: none !important; 
    background: none !important; 
    color: #323232 !important; 
    padding: 0 !important; 
    
    text-shadow: 
/* 1. 鮮やかな白い線枠 (太さ 3px) を設定 */
        -3px -3px 0 #ffffff,
        3px -3px 0 #ffffff,
        -3px 3px 0 #ffffff,
        3px 3px 0 #ffffff,
        
        /* 2. 鮮やかな白の光彩（グロー）を重ねる */
        0 0 10px rgba(255, 255, 255, 0.8), /* 弱い光 */
        0 0 20px rgba(255, 255, 255, 0.8), /* 強い光 */
        
        /* 3. 視認性向上のため、うっすらとした黒い影を一番下に敷く（浮き出るオフセットなし） */
        0 0 5px rgba(0, 0, 0, 0.4);
}

.first-view-content p {
    font-size: 22px;
    margin-bottom: 50px;
    padding: 0 !important; 
    line-height: 1.3;

    text-shadow: 
/* 1. 白い線枠 (太さ 2px) - h1より細く */
        -2px -2px 0 #ffffff,
        2px -2px 0 #ffffff,
        -2px 2px 0 #ffffff,
        2px 2px 0 #ffffff,
        
        /* 2. 鮮やかな白の光彩（グロー）を重ねる (h1より控えめに) */
        0 0 5px rgba(255, 255, 255, 0.8), /* 弱い光 */
        0 0 10px rgba(255, 255, 255, 0.8), /* 強い光 */
        
        /* 3. 視認性向上のため、うっすらとした黒い影を一番下に敷く（浮き出るオフセットなし） */
        0 0 3px rgba(0, 0, 0, 0.4);
}

/* CTAボタンのスタイル (変更なし) */
.first-view-content .cta-button {
    display: inline-block;
    background-color: #ff4500; 
    color: white;
    font-size: 22px; 
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease; 
    box-shadow: none; 
}


/*
================================================================
【レスポンシブ対応 (モバイル向け調整: 幅 768px 以下) - vw基準の適用】
================================================================
*/
@media (max-width: 768px) {
    /* ?? モバイル時のみ vw を使用し、スマホのブレを吸収 ?? */
    .first-view-content h1 {
        font-size: 5vw !important; /* スマホ画面幅に合わせて柔軟にサイズ変更 */
margin-bottom: 15px;
    }
    .first-view-content p {
        font-size: 3.5vw; 
line-height: 1.3;
margin-bottom: 25px;
    }
    
    /* ボタンサイズはモバイルで固定サイズを維持するか、vwにする */
    .first-view-content .cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }
    .first-view-container .page-visual-img {
        min-height: 250px; 
    }
}



.quote { padding: 25px 17px 25px 17px;
background-color: #fcfcfc;
border: solid 5px #eeeeee;
border-radius: 7px;
margin-top: 15px;
margin-bottom: 25px;
}


.quote-box { padding: 25px 17px 3px 17px;
background-color: #fcfcfc;
border: solid 5px #eeeeee;
border-radius: 7px;
margin-top: 30px;
margin-bottom: 25px;
}



.blockquote  { padding: 25px 17px 25px 17px;
background-color: #fcfcfc;
border: solid 5px #eeeeee;
border-radius: 7px;
margin-top: 15px;
margin-bottom: 25px;
}




/*----------------------------------------------------
  .アンダーライン
----------------------------------------------------*/

.pink_line {background:rgba(0, 0, 0, 0) linear-gradient(transparent 60%, #FFc0cb 0%) repeat scroll 0 0;}

.yellow_line {background:rgba(0, 0, 0, 0) linear-gradient(transparent 60%, #ffff00 0%) repeat scroll 0 0;}




/*----------------------------------------------------
  .year-profile プロフィールテーブル
----------------------------------------------------*/


.year-profile th {
  background: #f2f2f2;
  border-top: solid 1px #dbdde2;
  border-bottom: solid 1px #dbdde2;
  border-right: solid 1px #dbdde2;
  color: black;
  padding: 10px;
text-align: left; 
width: 30%;
}

.year-profile td {
  border-top: solid 1px #dbdde2;
  border-bottom: solid 1px #dbdde2;
  padding: 10px;
text-align: left; 
width: 70%;
}

.year-profile {
margin-bottom: 30px; 
}

.t-caption {
font-size: 0.8em; 
margin-top: 0px; 
margin-bottom: 30px; 
}



/* --- Flexboxによる 1:2 カラムレイアウトの再現 --- */

/* 行 (row) の役割。アイテムを横並びにする */
.flex-row {
    display: flex;
    flex-wrap: wrap; /* 画面が狭くなったら折り返す */
    gap: 30px; /* カラム間のスペース */
    margin-bottom: 40px; /* 下の要素との余白 */
}

/* 2/3 幅のテキストエリア側 */
.flex-col-2-3 {
    flex: 2; /* 2の比率 */
    min-width: 300px; /* モバイルで折り返さない最低幅 */
}

/* 1/3 幅の画像側 */
.flex-col-1-3 {
    flex: 1; /* 1の比率 */
margin-right: 30px;
    min-width: 200px; /* モバイルで折り返さない最低幅 */
}

/* モバイル表示では縦並びに戻す */
@media (max-width: 768px) {
    .flex-row {
        flex-direction: column; /* 縦並び */
        gap: 20px;
    }
    .flex-col-1-3, .flex-col-2-3 {
        flex: none; /* Flexの比率を解除 */
        width: 100%;
        min-width: auto;
    }
}

/* カスタムボタンのデザイン (元のBootstrap風を再現) */
.custom-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    background-color: #007bff; /* 青系（既存のブランドカラー） */
    color: white;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.custom-button:hover {
    background-color: #0056b3;
    text-decoration: none;
}


/*
================================================================
【▼ フル幅CTAボタン型バナー（Bootstrap風：角丸・フラット版）】
================================================================
*/

.full-width-cta-button {
    /* メインコンテンツ（#main）の左右パディング（10px）を打ち消す */
    width: calc(100% + 20px); 
    margin-left: -10px; 
    margin-right: -10px; 
    
    /* 1. ボタンの基本スタイル */
    display: block; 
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    
    /* 2. デザイン (フラット化) */
    background-color: #ff4500; /* 目立つプライマリーカラー (赤系) */
    color: white;
    font-size: 20px; 
    font-weight: bold;
    padding: 20px 10px; 
    
    /* ?? 角丸を追加 ?? */
    border-radius: 5px; 
    
    /* ? 立体感、影、エフェクトを完全に削除 */
    border-bottom: none; 
    box-shadow: none; 
    transition: background-color 0.2s; 

    /* 3. 余白設定 */
    margin-top: 40px; 
    margin-bottom: 40px;
}

/* ホバー時の効果 (背景色の変化のみ) */
.full-width-cta-button:hover {
    background-color: #e03d00;
}

/* 4. モバイル対応の調整 */
@media (max-width: 768px) {
    .full-width-cta-button {
        width: 100%; /* 相殺処理をリセット */
        margin-left: 0; 
        margin-right: 0;
        
        font-size: 16px;
        padding: 15px 10px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}



/*
================================================================
【▼ セッションプラン ボックス（縦並び、PC・スマホ共通）】
================================================================
*/

/* 各プランボックスの基本設定 */
.plan-box {
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 8px;
    
    /* 縦並び（ブロック要素）として表示 */
    display: block; 
    width: 100%; /* メインコンテンツ幅いっぱいに広げる */
    
    /* 横並び用の設定を全て解除 */
    flex-direction: unset; 
    flex: unset; 
    height: auto; 
    
    margin-bottom: 30px; /* 各プラン枠の下の余白 */
    position: relative; /* バッジ（badge）の位置基準 */
}

/* 目立たせたいプランの装飾 */
.plan-box.featured {
    border: 2px solid #ff7f50; /* 目立たせたいプランの枠線 */
}

/* プラン内の H3 のスタイル調整（WordPressテーマからの影響をリセット） */
.plan-box h3 {
    margin-top: 0; 
    margin-bottom: 15px;
    padding: 0;
    border: none;
    background: none;
    color: #333; /* 適切な色に設定 */
    font-size: 20px;
}

/* プランの説明文 */
.plan-description {
    /* 縦並びに戻すため flex-grow: 1; は削除・リセット */
    /* flex-grow: unset; */
    margin-bottom: 20px; 
    line-height: 1.6;
    font-size: 15px;
}

/* 価格表示エリア */
.plan-price {
    text-align: center;
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

/* 期間 (例: 50分 × 6回) */
.price-duration {
    display: block;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 5px;
}

/* 価格本体 */
.price-amount {
    display: block;
    font-size: 2.2em;
    font-weight: bold;
    color: #d9534f; /* 価格の色 */
    line-height: 1; /* 行間を詰める */
}

/* 税込み表示 */
.price-tax {
    font-size: 0.9em;
    color: #666;
    display: inline-block;
    /* 価格本体に inline-block を設定していないため、transformは不要 */
    margin-left: 5px; 
}


/* バッジ（これが標準、など）のスタイル */
.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff7f50; /* バッジの背景色 */
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    white-space: nowrap;
}

/* モバイル調整 (スマホでも縦並びなので大きな変更は不要) */
@media (max-width: 768px) {
    .plan-box {
        margin-bottom: 20px; /* スマホでの余白を少し詰める */
        padding: 20px;
    }
    .plan-box h3 {
        font-size: 18px;
    }
    .price-amount {
        font-size: 1.8em; /* 価格を少し小さく */
    }
}




/* lp-style.css に追記 */
.big-icon {
    font-size: 24px; /* 通常のテキストより大きくする */
    color: #ff4500; /* アイコンの色を変更する */
    margin-right: 10px; /* アイコンとテキストの間に余白を入れる */
}




/*
================================================================
【▼ フローチャート（最終決定版：三角エフェクト表示復活＆隙間あり）】
================================================================
*/

/* フローチャート全体を囲むコンテナ */
.flow-container {
    width: 100%;
    margin: 30px 0;
}

/* 各ステップボックスの基本スタイル */
.veu_flowBox {
    border: 1px solid #ddd;
    background-color: #fcfcfc;
    border-radius: 5px;
    padding: 20px;
    position: relative; /* ?? 擬似要素の配置基準に必須 ?? */
    margin-bottom: 30px; 
    text-align: left;
}

/* ステップ内のリスト定義（dl）のスタイル */
.veu_flowBox dl {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
}

/* ステップ番号 (dt) のデザイン */
.veu_flowBox dt {
    flex-shrink: 0;
    width: 120px;
    background-color: #c2932f; 
    color: white;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 5px;
    text-align: center;
    line-height: 1.4;
    font-size: 15px;
    margin-right: 20px;
}

/* ステップの内容 (dd) */
.veu_flowBox dd {
    margin-left: 0; 
    padding-top: 5px; 
    line-height: 1.6;
    font-size: 15px;
}

/* ----------------------------------------------------
  ステップ間の三角矢印エフェクト
---------------------------------------------------- */

/* 各ステップボックスの下に擬似要素で三角を生成 (外側の線) */
.veu_flowBox:not(:last-of-type)::after {
    content: ''; /* ?? エフェクト表示に必須 ?? */
    display: block;
    width: 0;
    height: 0;
    
    /* 三角形をCSSで描画 (高さ15px) */
    border-left: 15px solid transparent; 
    border-right: 15px solid transparent; 
    border-top: 15px solid #ddd; /* 矢印の色 */
    
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    
    /* ?? 修正: ボックスの外に押し出し、下のボックスと隙間を空ける ?? */
    /* 確実に外側に出るようにbottomのマイナス値を設定 */
    bottom: -25px; 
    z-index: 5;
}

/* 三角の背景（次のボックスの背景色と同じにして、隙間を空ける） */
.veu_flowBox:not(:last-of-type)::before {
    content: ''; /* ?? エフェクト表示に必須 ?? */
    display: block;
    width: 0;
    height: 0;
    
    /* 三角形をCSSで描画 */
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #fcfcfc; /* 次のveu_flowBoxの背景色と合わせる */
    
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    
    /* ?? 修正: 矢印本体より1px上 ?? */
    bottom: -24px; 
    z-index: 4; 
}


/*
================================================================
【▼ レスポンシブ対応】
================================================================
*/
@media (max-width: 768px) {
    /* 1. 縦並びに変更 */
    .veu_flowBox dl {
        display: block; 
    }
    .veu_flowBox dt {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .veu_flowBox dd {
        padding-top: 0;
    }

    /* 2. マージンと三角の位置をモバイル用に調整 */
    .veu_flowBox {
        margin-bottom: 25px; 
        padding: 15px;
    }
    
    .veu_flowBox:not(:last-of-type)::after {
        /* ?? 修正: ボックスの外に押し出し、下のボックスと隙間を空ける ?? */
        border-left-width: 12px;
        border-right-width: 12px;
        border-top-width: 12px;
        bottom: -50px;
    }
    .veu_flowBox:not(:last-of-type)::before {
        border-left-width: 12px;
        border-right-width: 12px;
        border-top-width: 12px;
        bottom: -49px; 
    }
}


/*
================================================================
【▼ Q&Aリスト - dl.veu_qaItem の再現CSS 】
================================================================
*/

/* 1. Q&Aリスト全体 (dl) のコンテナ設定 */
.veu_qaItem {
    border: 1px solid #ddd; /* 外側の薄い枠線 */
    border-radius: 5px;     /* 角丸 */
    margin-bottom: 25px;    /* 項目間の余白 */
    background-color: #fcfcfc; /* 背景色 */
    overflow: hidden;       /* 内部の枠線がはみ出さないように */
}

/* 2. 質問 (dt) の装飾 - Qマークと青い背景 */
.veu_qaItem dt {
    background-color: #004c99; /* 質問の背景色 (濃い青) */
    color: #ffffff;            /* 文字色を白に */
    font-weight: bold;
    padding: 15px 15px 15px 55px; /* 左側にQマークのスペースを確保 */
    position: relative;        /* ::before の基準点 */
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

/* 3. Qマークの生成 (dt の擬似要素 ::before) */
.veu_qaItem dt::before {
    content: "Q"; /* Qマークの文字 */
    display: block;
    position: absolute;
    left: 15px;      /* 左からの位置 */
    top: 50%;
    transform: translateY(-50%); /* 垂直中央揃え */
    
    font-size: 20px;
    font-weight: 900; /* 太字 */
    
    /* Qマークの装飾 */
    color: #ffffff; 
}

/* 4. 回答 (dd) の装飾 - Aマークと薄い枠線 */
.veu_qaItem dd {
    background-color: #ffffff; /* 回答の背景色 (白) */
    border-top: 1px solid #ddd; /* 質問との間の区切り線 */
    padding: 15px 15px 15px 55px; /* 左側にAマークのスペースを確保 */
    position: relative;        /* ::before の基準点 */
    line-height: 1.7;
    font-size: 16px;
    margin: 0; /* デフォルトのdl/ddマージンをリセット */
}

/* 5. Aマークの生成 (dd の擬似要素 ::before) */
.veu_qaItem dd::before {
    content: "A"; /* Aマークの文字 */
    display: block;
    position: absolute;
    left: 15px;      /* 左からの位置 */
    top: 20px;       /* 上からの位置 (テキスト上端に合わせるため調整) */
    
    font-size: 20px;
    font-weight: 900; /* 太字 */
    
    /* Aマークの装飾 */
    color: #c2932f; /* 回答の文字色 (ゴールド系) */
}

/*
================================================================
【▼ モバイル対応 (幅768px以下)】
================================================================
*/
@media (max-width: 768px) {
    .veu_qaItem {
        margin-bottom: 15px; 
    }
    
    .veu_qaItem dt {
        padding: 12px 10px 12px 45px; /* スマホではパディングを少し狭く */
        font-size: 15px;
    }
    .veu_qaItem dt::before {
        left: 10px;
        font-size: 18px;
    }
    
    .veu_qaItem dd {
        padding: 12px 10px 12px 45px; /* スマホではパディングを少し狭く */
        font-size: 15px;
    }
    .veu_qaItem dd::before {
        left: 10px;
        top: 15px; /* スマホ用に位置を微調整 */
        font-size: 18px;
    }
}



/*
================================================================
【▼ 画像のはみ出し防止と幅調整（最重要）】
================================================================
*/

/* #main内の全ての画像に適用し、親要素の幅を絶対に超えないよう制限します。
   （#mainのコンテンツ幅730pxに合わせて自動で縮小されます） */
#main img {
    max-width: 100%; 
    height: auto;
    display: block; 
}

/*
================================================================
【▼ アイキャッチ画像のための余白（任意）】
================================================================
*/

/* もしアイキャッチ画像に "main-eyecatch" クラスを付けている場合、
   h1との間に適切な余白を空けるための設定です。*/
.main-eyecatch {
    margin-bottom: 25px; 
}




/*
================================================================
【▼ 最終画像切り替えロジック（メインCSSとの競合対策済み）】
================================================================
*/

/* 1. PC/タブレット表示（751px以上）*/

/* 最強のセレクタでPC画像を強制表示 */
.pc { 
    display: block !important; 
}

/* 最強のセレクタでスマホ画像を強制非表示 */
.sp { 
    display: none !important; 
}


/* 2. モバイル表示（750px以下） */
@media only screen and (max-width: 750px) {
    
    /* スマホ表示時、PC画像を強制非表示 */
    .pc { 
        display: none !important; 
    }
    
    /* スマホ表示時、SP画像を強制表示 */
    .sp { 
        display: block !important; 
    }
}




.text-right { text-align: right; 
}


.foot-link {text-align: center; 
font-weight: bold; 
}



/* ================================
   メインカラム内の番号付きリスト表示
   ================================ */
#main ol {
    list-style-type: decimal;      /* 1,2,3… を表示 */
    list-style-position: outside;  /* 行頭に番号を表示 */
    margin: 1em 0 1em 2em;         /* 左に少しインデント */
    padding-left: 0;
}

#main ol li {
    margin-bottom: 0.4em;          /* 行間を少し空ける（好みで調整） */
}



/*
================================================================
【▼ 修正: 声のページへのCTAボタン（ゴールド版）】
    - リクエストに基づき、セッション予約リンクと同じくコンテンツ幅に収まるよう幅を修正
================================================================
*/
.full-width-voice-button {
    /* 修正: 親要素の幅いっぱいに広がるように設定（パディング相殺処理を削除） */
    width: 100%;
    margin-left: 0;
    margin-right: 0;

    /* ボタンの基本スタイル（前回設定した色やサイズ）は維持 */
    display: block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;

    background-color: #c2932f; /* ゴールド系 */
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 20px 10px;
    border-radius: 5px;
    border-bottom: none;
    box-shadow: none;
    transition: background-color 0.2s;

    /* 余白設定 */
    margin-top: 40px;
    margin-bottom: 40px;
}

/* ホバー時の効果 */
.full-width-voice-button:hover {
    background-color: #a07a27;
}

/* モバイル対応の調整 (幅は既に 100% になっていますが、フォントサイズなどの調整は維持) */
@media (max-width: 768px) {
    .full-width-voice-button {
        width: 100%; /* 親要素幅に合わせる */
        margin-left: 0;
        margin-right: 0;
        font-size: 16px;
        padding: 15px 10px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}