﻿/*
================================================================
【LP専用 CSS：最終統合版 (画像切り替え機能 100%解決)】
================================================================
*/

/*
================================================================
【全体リセット・基本設定】
================================================================
*/
* {
    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;
}

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;
}

/* ?? 競合回避のため display: block はここで定義せず、画像切り替えロジックに任せる */
img {
    max-width: 100%;
    height: auto;
    display: initial; 
}

/* ハンバーガーメニューボタンの基本スタイル（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;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
}
#site-logo {
    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;
}


/*
================================================================
【▼ ページ共通メインビジュアル - 基本定義】
================================================================
*/
#page-visual {
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    margin: 0;
    padding: 0;
    text-align: center;
}

.page-visual-img {
    /* 画像切り替えCSSが display: block を設定する */
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    min-height: 200px;
}

/*
================================================================
【▼ パンくずリストエリア】
================================================================
*/
#breadcrumb-area {
    display: none !important; /* LPなので非表示 */
}


/*
================================================================
【メインコンテンツとサイドバーのレイアウト】
================================================================
*/
#content-container {
    display: block !important; /* LP化のため Flex 解除 */
    flex-direction: row;
    padding: 20px 20px 50px;
    gap: 30px;
}

/* メインコンテンツ */
#main {
    width: 100% !important; /* LP化のため幅を最大化 */
    flex: none !important;
    min-width: auto !important;
    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: 0px;
    margin-bottom: 25px;
    background-color: #fcfcfc;
}
#main h2 {
    font-size: 20px;
    color: #444444;
    border-bottom: 2px solid #b49056;
    padding: 5px 5px 5px 5px;
    margin-top: 35px;
    margin-bottom: 20px;
    background: none;
    border-top: none;
}
#main h3 {
    font-size: 20px;
    color: #444444;
    border-bottom: 1px solid #b49056;
    padding: 5px 5px 5px 5px;
    margin-top: 35px;
    margin-bottom: 20px;
    /* background-image: url(./img/h3_back.png);  <--- 外部画像は削除 */
    background-repeat: no-repeat;
    background-position: 10px 50%;
    background-size: 20px auto;
}
.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;
}


/* サイドバー (LPなので強制非表示) */
#menu {
    display: none !important;
}

/* 引用ボックスのスタイル */
.quote-box { 
    padding: 25px 17px;
    background-color: #fcfcfc;
    border: solid 5px #eeeeee;
    border-radius: 7px;
    margin-top: 15px;
    margin-bottom: 25px;
}


/* フッターエリア (元のスタイルを維持) */
#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;
    font-size: 0.8em;
    color: #666666;
    text-align: center;
    margin-bottom: 0;
    display: block;
}


/*
================================================================
【レスポンシブ対応 (メディアクエリ：幅768px以下の時に適用) - 修正】
================================================================
*/
@media (max-width: 768px) {
    
    /* 1. サイト全体の幅の修正 */
    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: space-between;
        align-items: center;
    }

    /* ハンバーガーメニューを右端に配置 */
    .hamburger-menu {
        order: 3;
        display: block;
        position: static;
        transform: none;
    }
    
    /* ロゴリンクを中央に寄せるための調整 */
    #logo-area-inner a.logo-link {
        flex-grow: 1;
        text-align: center;
        order: 2;
    }
    
    #site-logo {
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }
    
    /* 4. トップナビゲーションの表示 */
    #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; }
    
    /* 5. メインコンテンツの調整 */
    #content-container {
        display: block;
        padding: 10px;
        width: 100%;
    }
    
    #main {
        width: 100%;
        min-width: auto;
        padding: 0 5px;
    }
    
    /* 6. その他のコンテンツ調整 */
    #main h1, #main h2 {
        font-size: 20px;
        margin-top: 20px;
    }
}


/*
================================================================
【▼ 画像切り替え機能の最終確定CSS（最優先で動作）】
================================================================
*/

/* 1. PCでの表示設定（幅751px以上） */

/* PC画像 (.page-visual-img.pc) を確実に表示 */
.page-visual-img.pc { 
    display: block !important; 
}

/* スマホ画像 (.page-visual-img.sp) を確実に非表示 */
.page-visual-img.sp { 
    display: none !important; 
}


/* 2. スマートフォンでの表示設定（幅750px以下） */
@media only screen and (max-width: 750px) {
    
    /* スマホ表示時、PC画像を確実に非表示にする */
    .page-visual-img.pc { 
        display: none !important; 
    }
    
    /* スマホ表示時、SP画像を確実に表示にする */
    .page-visual-img.sp { 
        display: block !important; 
    }
}









/*
================================================================
【▼ フル幅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;
    }
}







.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;
}
