@charset "UTF-8";

/* ==========================================================================
   支援の流れページ専用スタイル (flow.css)
   ========================================================================== */

/* -----------------------------------------------------------------
   ユーティリティ・共通設定
   ----------------------------------------------------------------- */
/* 文字色 */
.text-orange { color: var(--sub-orange); }
.text-green  { color: var(--sub-green); }
.text-black  { color: var(--text-dark); }

/* 余白調整 */
.mt-30 { margin-top: 30px; }
.pt-0  { padding-top: 0; }

/* 共通タイポグラフィ */
.flow-title-center {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: "Noto Sans JP", sans-serif;
}

.flow-desc {
    max-width: 1000px;
    margin: 0 auto 30px;
    font-size: 15px;
    line-height: 1.8;
}


/* -----------------------------------------------------------------
   サブヒーロー・パンくずリスト
   ----------------------------------------------------------------- */
.sub-hero {
    height: 300px;
    width: 100%;
    background: url('../images/sub-mv.jpg') center/cover no-repeat; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 画像のオーバーレイ（青っぽいフィルター） */
/*
.sub-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 50, 100, 0.4); 
}
*/
.sub-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.sub-hero-content h1 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.breadcrumb-area {
    padding: 15px 0;
    font-size: 14px;
    color: var(--text-dark);
    /* background-color: #f9f9f9;
    border-bottom: 1px solid #eee; */
}


/* -----------------------------------------------------------------
   メインコンテンツレイアウト
   ----------------------------------------------------------------- */
.flow-page-content {
    padding: 0 0 80px;
}

/* 上部の全幅背景セクション（ベージュ背景） */
.flow-top-section {
    background-color: #fbffe8;
    padding: 60px 0 40px;
    margin-bottom: 60px;
}

/* 初回面談ボックス（白背景カード） */
.flow-intro-box {
    background-color: #fff;
    padding: 50px 40px;
    margin-bottom: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


/* -----------------------------------------------------------------
   アンカーナビゲーション（丸ボタン）
   ----------------------------------------------------------------- */
.flow-anchor-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
}

.anchor-btn {
    border: 1px solid #ccc; /* デフォルト色 */
    border-radius: 50px;
    padding: 12px 0;
    width: 200px;
    text-align: center;
    font-weight: bold;
    color: var(--text-dark);            /* デフォルト色 */
    background: #fff;
    transition: all 0.3s;
    font-size: 14px;
}

/* 個別カラー設定（親族内承継：オレンジ） */
.btn-outline-orange {
    border-color: var(--sub-orange);
    color: var(--sub-orange);
}
.btn-outline-orange:hover {
    background-color: var(--sub-orange);
    color: #fff;
}

/* 個別カラー設定（第三者承継：緑） */
.btn-outline-green {
    border-color: var(--sub-green);
    color: var(--sub-green);
}
.btn-outline-green:hover {
    background-color: var(--sub-green);
    color: #fff;
}

/* 個別カラー設定（後継者人材バンク：黒） */
.btn-outline-black {
    border-color: var(--text-dark);
    color: var(--text-dark);
}
.btn-outline-black:hover {
    background-color: var(--text-dark);
    color: #fff;
}


/* -----------------------------------------------------------------
   定義リスト（ヒアリング内容・担当者など）
   ----------------------------------------------------------------- */
.flow-dl {
    max-width: 1000px;
    margin: 0 auto;
    /* border-top: 1px solid #ddd; */
    background: #fff;
    padding: 0 20px;
}

.flow-row {
    display: flex;
    /* border-bottom: 1px solid #ddd; */
    padding: 20px 0;
    align-items: stretch; /* dtとddの高さを揃える */
}

/* DT（項目名） */
.flow-row dt {
    width: 150px;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
    padding-left: 0;
    padding-right: 30px; /* 右側の線用余白 */
    font-size: 15px;
}

/* 以前の左線を無効化 */
.flow-row dt::before {
    content: none;
}

/* 右側の縦線（PC版） */
.flow-row dt::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 4px;      /* 開始位置 */
    bottom: 4px;   /* 終了位置（高さ追従） */
    height: auto;
    width: 3px;
    background-color: currentColor;
}

/* DD（説明文） */
.flow-row dd {
    margin: 0;
    flex: 1;
    line-height: 1.8;
    font-size: 15px;
}


/* -----------------------------------------------------------------
   詳細フローボックス（赤・緑・黒枠のセクション）
   ----------------------------------------------------------------- */
.flow-box {
    border: 1px solid #ccc;
    padding: 50px 40px;
    margin-bottom: 50px;
    background: #fff;
    scroll-margin-top: 160px; /* アンカーリンク時の位置調整 */
}

/* 各ボックスの枠線色 */
.flow-box-red   { border: 2px solid var(--sub-orange); }
.flow-box-green { border: 2px solid var(--sub-green); }
.flow-box-black { border: 2px solid var(--text-dark); }

/* ボックス内タイトル */
.flow-box-title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

/* タイトル下の下線装飾 */
/*
.flow-box-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: currentColor;
}
*/

/* アクションボタン（ボックス下部） */
.flow-action-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* width: 320px; */
    width: 100%;
    max-width: 300px;
    /* height: 56px; */
    height: 50px;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    position: relative;
    transition: opacity 0.3s, transform 0.3s;
    /* font-size: 16px; */
    font-size: 1.125em; /* 約18px */
    margin-top: 30px;
}

.flow-action-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.flow-action-btn i {
    position: absolute;
    right: 10px;
    font-size: 24px;
}

/* ボタン背景色 */
.btn-orange { background-color: var(--sub-orange); }
.btn-green  { background-color: var(--sub-green); }
.btn-black  { background-color: var(--text-dark); }


/* -----------------------------------------------------------------
   CTAセクション（下部お問い合わせ）
   ----------------------------------------------------------------- */
.contact-cta-section {
    background: url('../images/contact-bk.jpg') center/cover no-repeat;
    position: relative;
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

/* 暗いオーバーレイ */
/*
.contact-cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 40, 50, 0.8);
}
*/
.contact-cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: bold;
}

.cta-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.cta-box {
    background: #fff;
    color: var(--text-dark);
    width: 320px;
    padding: 40px 20px;
    border-radius: 4px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* アイコンエリア */
.cta-icon {
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon img {
    height: 100%;
    width: auto;
}

/* テキスト情報 */
.cta-label {
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #666;
}

.cta-tel {
    font-size: 30px;
    font-weight: bold;
    color: var(--sub-orange);
    margin: 0;
    line-height: 1.2;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* メールボタン */
.cta-mail-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--sub-green);
    color: #fff;
    height: 50px;
    border-radius: 50px;
    font-weight: bold;
    position: relative;
    width: 90%;
    margin-top: 5px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.cta-mail-btn:hover {
    opacity: 0.9;
}

.cta-mail-btn i {
    position: absolute;
    right: 15px;
    font-size: 20px;
}


/* ==========================================================================
   レスポンシブ設定 (Max-Width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* サブヒーロー */
    .sub-hero { height: 150px; }
    .sub-hero-content h1 { font-size: 24px; }
    
    /* .flow-page-content { padding-top: 40px; } */
    
    /* ボックス内余白 */
    .flow-intro-box, .flow-box {
        padding: 30px 20px;
    }
    .flow-box .card-btn {
        padding-right: 30px;
        padding-left: 30px;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
    
    /* 定義リスト（縦並び変更） */
    .flow-dl { padding: 0; }
    
    .flow-row {
        flex-direction: column;
        padding: 15px 0;
        align-items: flex-start; /* 子要素を横に引き伸ばさない */
    }
    
    /* 項目名（dt）：幅を文字に合わせる */
    .flow-row dt {
        width: fit-content;
        padding-right: 15px;
        margin-bottom: 8px;
        font-size: 16px;
    }
    
    /* 縦線：文字の右横に配置 */
    .flow-row dt::after {
        right: 0; 
    }
    
    /* 説明文（dd） */
    .flow-row dd {
        width: 100%;
    }
    
    /* アンカーナビゲーション（縦並び） */
    .flow-anchor-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 0;
    }
    
    .anchor-btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* アクションボタン */
    .flow-action-btn {
        width: 100%;
        font-size: 14px;
    }
    
    /* CTAセクション（縦並び） */
    .cta-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cta-box {
        width: 100%;
        max-width: 100%;
        padding: 30px;
    }
    
    .cta-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    .cta-icon {
	    margin-bottom: 5px;
	    height: 30px;
	}
	.cta-tel {
	    font-size: 26px;
	}
	.cta-mail-btn {
	    font-size: 14px;
	}
}
