@charset "UTF-8";
/*----------------------------
 共通
-----------------------------*/

/* CSS Variables */
:root {
    --primary-color: #2c6e9b;
    --secondary-color: #f8a63a; /* 元のCTAボタンのオレンジ色 */
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --brand-color-main: #21386E; /* 統一したブランドカラー変数 */
    --border-dark: #262626; /* 共通のボーダーカラー変数 */
    --line-green: #06C755; /* LINEボタンの緑 */
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
}

.h5 {
    line-height: 1.8rem;
}

.border-w3 {
    border-left-width: 3px !important;
    border-left-color: var(--border-dark) !important;
}

/* ====== カラー指定 ====== */
.brand-color {
    color: var(--brand-color-main) !important;
}
.bg-brand-color {
    background-color: var(--brand-color-main) !important;
}

/* ====== 緑色ボタン (Bootstrap default) ====== */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}
.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

/* ====== オレンジ色ボタン (Bootstrap default) ====== */
.btn-warning {
    background-color: #FF8C00; /* 濃いオレンジ色 */
    border-color: #FF8C00; /* 濃いオレンジ色 */
    color: #fff;
}
.btn-warning:hover {
    background-color: #E67E00; /* ホバー時の濃いオレンジ色 */
    border-color: #E67E00; /* ホバー時の濃いオレンジ色 */
    color: #fff;
}

/* CTAボタンの共通スタイル */
.cta-button {
    background-color: var(--secondary-color); /* 主にメール相談ボタンなどのオレンジ */
    color: white;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid var(--secondary-color);
}
.cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* LINEボタン (CTAボタンの派生) */
.line-button {
    background-color: var(--line-green); /* LINEの緑 */
    border-color: var(--line-green);
}
.line-button:hover {
    background-color: rgba(6, 199, 85, 0.2); /* 透過緑 */
    color: var(--line-green);
    border-color: var(--line-green);
}

/* ====== サンプルボタンのスタイル ====== */
.sample-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sample-btn {
    flex: 1;
    min-width: 80px;
    max-width: 120px;
    padding: 8px 12px !important;
    font-size: 0.875rem !important;
    white-space: nowrap;
}

/* モバイル対応 */
@media (max-width: 767.98px) {
    .sample-buttons {
        flex-direction: column;
        gap: 6px;
    }
    
    .sample-btn {
        max-width: none;
        width: 100%;
    }
}

/* ====== 固定お問い合わせボタン ====== */
.fixed-contact-buttons {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    text-align: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* ====== GLOBAL NAV ====== */
.gloval-nav {
    height: 10%;
}
.navbar-white a {
    color: #fff;
}
#glovalNavbar .nav-item .nav-link {
    position: relative;
    transition: all 0.3s ease;
}
#glovalNavbar .nav-item .nav-link:hover {
    color: var(--brand-color-main);
    font-weight: 600;
}
#glovalNavbar .nav-item.active .nav-link {
    color: var(--brand-color-main);
    font-weight: 700;
}
#glovalNavbar .nav-item.active .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--brand-color-main);
}
#glovalNavbar .nav-item .nav-link:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(33, 56, 110, 0.5);
    animation: slideIn 0.3s forwards;
}
@keyframes slideIn {
    from { width: 0; left: 50%; }
    to { width: 100%; left: 0; }
}

/* ナビゲーションバーのスタイル修正 */
.navbar.fixed-top {
    background-color: transparent !important; /* 背景を透過 */
    box-shadow: none; /* 必要であれば影を削除 */
    transition: background-color 0.3s ease; /* スクロール時のトランジション */
}
/* スクロール時に背景色を付ける場合（オプション） */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8) !important; /* 例: 少し透過した黒 */
}
.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
    color: white !important; /* テキストを白に変更して見やすくする */
    font-weight: bold; /* 必要であれば太字に */
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* ここまでナビゲーションバーのスタイル修正 */

/* ====== FOOTER ====== */
.footer-logo {
    width: 20%;
}
.social img {
    width: 36px;
    height: 36px;
}
.social .fab {
    color: #ccc;
}
.social .fab:hover {
    color: var(--brand-color-main);
}
footer {
    padding-bottom: 5%;
}
.time-border { /* 重複しているため、最も詳細な定義を残す */
    border-top: 3px solid var(--border-dark);
    border-right: 3px solid var(--border-dark);
    margin-left: 24px;
    padding-bottom: 3rem;
    padding-right: 5rem;
    width: 43%;
}

/* ====== BREADCRUMB LIST ====== */
.breadcrumb-list,
.breadcrumb-list li,
.breadcrumb-list .breadcrumb { /* 重複を統合 */
    background-color: var(--brand-color-main);
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}

/* ====== SECTION ====== */
section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* 文字間隔を広げるクラス */
.letter-spacing {
    letter-spacing: 0.2em;
}

/* Alert Info (薄いベージュの背景と枠線なし) */
.alert-info {
    background-color: #f8f5ed !important; /* 薄いベージュ */
    border-color: transparent !important; /* 枠線を透明にする */
    border: none !important; /* 枠線を完全に消す */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    padding: 120px 0 80px;
    color: white;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 20px;
    font-weight: 700;
}
.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
}

.problem-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s;
}
.problem-card:hover {
    transform: translateY(-10px);
}
.problem-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.plan-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.plan-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.plan-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}
.plan-body {
    padding: 30px;
}
.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}
.feature-list {
    list-style-type: none;
    padding: 0;
}
.feature-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.feature-list li:last-child {
    border-bottom: none;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.faq-question {
    background-color: var(--light-color);
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}
.faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.form-control {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}
.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
}

/*----------------------------
 TOP ページ
-----------------------------*/
/* ====== TOP IMAGE ====== */
header .jumbotron-fluid {
    background-image: url(../img/bg-top.jpg);
    background-size: cover;
    background-position: center center;
    /* 中央に配置するためにFlexboxを適用 */
    display: flex; /* Flexboxコンテナにする */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
    flex-direction: column; /* 要素を縦に並べる（ロゴ、社名、キャッチフレーズ） */

    height: 35vh; /* ビューポートの高さに合わせて全画面表示 */
    position: relative; /* before擬似要素のためにrelativeを維持 */
    padding-top: 0; /* py-5 を上書き */
    padding-bottom: 0; /* py-5 を上書き */
}

/* ロゴを左上に配置 */
.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}
.logo-container .logo {
    width: 200px; /* サイズを小さく変更 */
    height: auto;
}
.logo { /* ここに`.logo`の共通定義をまとめる */
    width: 100px; /* デフォルトのロゴサイズ */
}

header .jumbotron-fluid:before {
    background-color: rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: ' ';
    z-index: 1; /* コンテンツの下に配置 */
}
/* .container の中のコンテンツをFlexboxの中心に持ってくるため、.container自体をFlexアイテムとして扱う */
header .jumbotron-fluid .container {
    position: relative; /* 必要であれば維持 */
    z-index: 2; /* before擬似要素より手前に表示 */
    display: flex; /* containerもFlexboxにして、中の要素を縦に並べ、中央に配置 */
    flex-direction: column;
    align-items: center; /* 垂直方向中央 */
    justify-content: center; /* 水平方向中央 */
    width: 100%; /* 幅を確保 */
    height: 100%; /* 親要素の高さに合わせる */
    text-align: center; /* 子要素のテキストを中央揃え */
}

header .catch {
    position: static; /* absoluteをstaticに変更してFlexboxの配置に従う */
    width: auto; /* 幅の指定を削除、または必要に応じて調整 */
}

/* ロゴと会社名のマージン調整 */
header .jumbotron-fluid .text-center.mb-3 {
    margin-bottom: 5rem !important; /* ロゴ下マージン */
}
header .jumbotron-fluid p.text-white.h3.text-center {
    margin-top: 5rem !important; /* 会社名上マージン */
    margin-bottom: 5rem !important; /* 会社名下マージン */
}

/* タイトル見出しのマージン調整 */
header .catch h1.display-3 {
    margin-bottom: 1rem; /* タイトル見出し下マージン */
}
.title-heading {
    font-size: 2.5rem !important; /* フォントサイズを小さく */
}

/* キャッチフレーズのマージン調整 */
header .catch h2.text-white.text-center.align-bottom.mb-3 {
    margin-top: 3rem; /* キャッチフレーズ上マージンを増やす */
    margin-bottom: 2rem !important; /* キャッチフレーズ下マージンを追加 */
}

header .g-navi {
    min-height: 100%;
}

/* ====== PROCESS ====== */
#sec5 .square {
    width: 60px;
    height: 60px;
    background: var(--brand-color-main);
    color: #ffffff;
    text-align: center;
    font-size: 2.4rem;
}
.square { /* 共通部分の定義をここにまとめる */
    width: 50px;
    height: 50px;
    line-height: 50px;
    color: #fff;
    background-color: var(--brand-color-main);
    text-align: center;
    margin: 0 auto;
    font-size: 1.5rem;
}
#sec5 .arrow {
    width: 60px;
    height: 40px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 25px solid #333;
}
.arrow { /* 共通部分の定義をここにまとめる */
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--brand-color-main);
}

/* --------------------------------------------- */
#sec6 .circle-q, #sec6 .circle-a {
    width: 50px;
    height: 50px;
    font-size: 2.2rem;
    border-radius: 50%;
    text-align: center;
}
#sec6 .circle-q {
    background: var(--brand-color-main);
    color: #ffffff;
    padding-top: 2px;
}
.circle-q { /* 共通部分の定義をここにまとめる */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    color: #fff;
    background-color: var(--brand-color-main);
    text-align: center;
}
#sec6 .circle-a {
    background: #ffffff;
    color: var(--brand-color-main);
    border: 3px solid var(--brand-color-main);
}
.circle-a { /* 共通部分の定義をここにまとめる */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    color: #fff;
    background-color: #dc3545; /* この色が`#sec6 .circle-a`と異なりますが、元の記述を優先 */
    text-align: center;
}

.schedule-img {
    width: 75%;
}

/* ====== タイムラインスタイル ====== */
.timeline-container {
    position: relative;
    padding-left: 50px;
    margin-left: 20px;
}
.timeline-container:before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--brand-color-main);
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.far.fa-clock {
    position: absolute;
    left: -50px;
    top: 0;
    background-color: #fff;
    z-index: 2;
}
.h6.border-left {
    border-left: 2px solid var(--brand-color-main) !important;
    padding-left: 15px;
    margin-top: 10px;
    margin-bottom: 0;
}
.fas.fa-circle {
    position: absolute;
    left: 14px;
    bottom: -20px;
    color: var(--brand-color-main);
    z-index: 2;
}

/* ====== SCHEDULE ====== */
.schedule-img { /* TOPページの定義と重複しているため、ここで統合 */
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.time-border { /* 重複しているため、最も詳細な定義を残す */
    border-left: 3px dashed var(--brand-color-main);
    height: 100px;
    margin-left: 1.8rem;
    /* 元のtime-borderのプロパティ */
    /* border-top: 3px solid #262626; */
    /* border-right: 3px solid #262626; */
    /* padding-bottom: 3rem; */
    /* padding-right: 5rem; */
    /* width: 43%; */
}

/* ==============================================*/
/* レスポンシブ設定 */
/* ==============================================*/

/* レスポンシブを無効化 (特定の用途のために残す場合が多い) */
.d-lg-block {
    display: block !important;
}
.d-none {
    display: none !important;
}
.col-lg-8, .col-lg-7, .col-lg-5, .col-lg-4 {
    flex: none !important;
    max-width: none !important;
}
.order-lg-1, .order-lg-2 {
    order: 0 !important;
}
.pt-lg-0 {
    padding-top: 0 !important;
}
.pb-lg-0 {
    padding-bottom: 0 !important;
}
.time-border { /* ここでのdisplay: none; は、SPでのタイムライン表示に影響する可能性があるので注意 */
    display: none !important;
}

/* 中デバイス（タブレット, 992px 未満）および小デバイス（横向きモバイル, 768px 未満）の統合 */
@media screen and (max-width: 991.98px) {
    #glovalNavbar ul li {
        border-left: none;
    }
    #glovalNavbar ul li:last-child {
        border-right: none;
    }
    .footer-nav ul li {
        border-left: none;
    }
    .footer-nav ul li:last-child {
        border-right: none;
    }
    /* SP TOGGLE NAV */
    .offcanvas-collapse {
        position: fixed;
        z-index: 9999;
        top: 0;
        /* ナビバーの高さ */
        bottom: 10%;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        background-color: #fff;
        transition-timing-function: ease-in-out;
        transition-duration: .3s;
        transition-property: left, visibility;
    }
    .offcanvas-collapse.open {
        left: 0;
        visibility: visible;
    }

    /* モバイルナビゲーション調整 */
    .navbar-collapse {
        background-color: #f8f9fa;
        z-index: 1030;
    }
    #glovalNavbar .nav-item .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
    }
    #glovalNavbar .nav-item.active .nav-link:after {
        display: none;
    }
    #glovalNavbar .nav-item.active .nav-link {
        background-color: #e9ecef;
    }

    /* 767.98px 未満のスタイル */
    @media screen and (max-width: 767.98px) {
        .logo {
            width: 80%; /* 上書き */
        }
        .display-3 {
            font-size: 3rem;
        }
        .footer-logo {
            width: 80%;
        }
        .navbar-nav .border-left {
            border-left: none !important;
        }
        .navbar-nav .border-right {
            border-right: none !important;
        }
        .hero-section { /* 重複を統合 */
            padding: 80px 0 50px;
        }
        .cta-button { /* 重複を統合 */
            display: block;
            text-align: center;
            margin: 10px 0;
        }
    }
}

/* 極小デバイス（縦向きモバイル, 576px 未満） */
@media screen and (max-width: 575.98px) {
    header .catch {
        bottom: 10%;
    }
    header .catch .h1 {
        font-size: 2rem;
    }
    header .catch h2 {
        font-size: 1rem;
    }
    .schedule-img {
        width: 100%;
    }
    form .border-top,
    form .border-bottom {
        border: none !important;
    }
}

/* ====== SAMPLE ====== */
@media (min-width: 992px) {
    .mod-sample-sec02-item01 {
        padding-right: 3rem;
    }
    .mod-sample-sec02-item02 {
        padding-left: 3rem;
    }
    .mod-sample-sec04-item {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .mod-sample-sec04-item01 {
        padding-left: 0;
        padding-right: 1rem;
    }
    .mod-sample-sec04-item04 {
        padding-left: 1rem;
        padding-right: 0;
    }
}
.cta-button + .cta-button {
    margin-left: 1rem; /* 必要なら 1.5rem や 2rem に */
}