/*
----------------------------------
基本設定・ユーティリティ (Minimal Reset & Base Styles)
----------------------------------
*/
:root {
    /* 色の定義 */
    --navy: #001f3f;          /* 深い知性を感じさせるネイビー */
    --off-white: #F4F4F4;     /* 上質なオフホワイト */
    --antique-gold: #B8860B;  /* アンティークゴールド */
    --text-dark: #0a0a0a;
    --text-light: #F4F4F4;

    /* フォントの定義 */
    --font-serif: Georgia, serif;
    --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* シンプルなCSSリセット */
body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--off-white);
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: bold;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5em;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ユーティリティクラス */
.flex-shrink-0 { flex-shrink: 0; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-x-4 > * + * { margin-left: 1rem; }

.bg-off-white { background-color: var(--off-white); }
.bg-navy { background-color: var(--navy); }
.text-navy { color: var(--navy); }
.text-light { color: var(--text-light); }
.text-gold { color: var(--antique-gold); }

.opacity-90 { opacity: 0.9; }
.opacity-80 { opacity: 0.8; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }


/*
----------------------------------
ボタン (Button)
----------------------------------
*/
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 1px solid transparent;
    width: auto; /* デフォルトの幅設定 */
}

.btn-primary {
    background-color: var(--antique-gold);
    color: var(--navy);
    border-color: var(--antique-gold);
}

.btn-primary:hover {
    background-color: #9A7209;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--off-white);
    color: var(--navy);
}

.btn.bg-navy {
    background-color: var(--navy);
    color: var(--text-light);
    border-color: var(--navy);
}

.btn.bg-navy:hover {
    background-color: rgba(0, 31, 63, 0.9);
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.w-full { width: 100%; }


/*
----------------------------------
ヘッダー (Header)
----------------------------------
*/
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--navy);
    color: var(--text-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px; /* モバイル/PCのデフォルト */
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-desktop, .actions-desktop {
    display: none; /* デフォルトは非表示 (モバイル優先) */
}

.nav-link {
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--antique-gold);
}

.nav-link-main {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--antique-gold);
}

.btn-ghost {
    background: none;
    border: none;
    color: var(--text-light);
    padding: 0.5rem 1rem;
    font-weight: normal;
}

.btn-ghost:hover {
    color: var(--antique-gold);
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
}

/* PC/大画面表示用の切り替え (lg: 1024px以上) */
@media (min-width: 1024px) {
    .header-content {
        height: 80px;
    }
    .logo-img {
        height: 64px;
    }
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .actions-desktop {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .mobile-menu-btn {
        display: none;
    }
}


/*
----------------------------------
ヒーローセクション (HeroSection)
----------------------------------
*/
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 31, 63, 0.4); /* --navy/40 */
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* スマートフォンでのボタン縦並び */
@media (max-width: 639px) {
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

/*
----------------------------------
セクションの共通スタイル
----------------------------------
*/
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

/*
----------------------------------
レンタルサービス (RentalService)
----------------------------------
*/
.rental-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    grid-template-columns: 1fr; /* モバイル */
}

@media (min-width: 1024px) {
    .rental-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rental-text {
    line-height: 1.7;
    font-size: 1.125rem;
}

.rental-image {
    height: 24rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.rental-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
----------------------------------
ガレージのこだわり (OurGarage)
----------------------------------
*/
.garage-grid {
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr; /* モバイル */
}

@media (min-width: 1024px) {
    .garage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.garage-image {
    height: 16rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.garage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.garage-image-overlay {
    position: absolute;
    inset: 0;
    /* グラデーションを上から下へ、下部が濃いネイビーになるように */
    background: linear-gradient(to top, rgba(0, 31, 63, 0.6), transparent);
}

.garage-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.garage-text {
    line-height: 1.6;
    font-size: 1.125rem;
    opacity: 0.9;
}


/*
----------------------------------
車種一覧 (BikeLineup)
----------------------------------
*/
.lineup-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr; /* モバイル */
}

@media (min-width: 768px) {
    .lineup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lineup-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bike-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.bike-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.bike-image {
    height: 12rem;
    position: relative;
}

.bike-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bike-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.bike-badge.bg-gold {
    background-color: var(--antique-gold);
    color: var(--navy);
}
/* 整備中など、控えめなバッジのスタイル */
.bike-badge.bg-off-white {
    background-color: var(--off-white);
    color: var(--text-dark);
}


.bike-details {
    padding: 1.5rem;
}

.bike-title-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.bike-title {
    font-size: 1.25rem;
    color: var(--navy);
}

.bike-year {
    font-weight: 600;
    color: var(--antique-gold);
}

.bike-story {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/*
----------------------------------
その他のサービス (OtherServices)
----------------------------------
*/
.services-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr; /* モバイル */
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background-color: var(--off-white);
    color: var(--navy);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon-wrapper {
    background-color: var(--antique-gold);
    padding: 0.75rem;
    border-radius: 9999px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 2rem;
    height: 2rem;
    color: var(--navy);
    font-size: 1.5rem; /* アイコン代替文字のサイズ調整 */
    line-height: 1;
}

.service-title {
    font-size: 1.5rem;
}

.service-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--antique-gold);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.service-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem; /* リスト記号の調整 */
}

/*
----------------------------------
フッター (Footer)
----------------------------------
*/
.footer {
    background-color: var(--navy);
    color: var(--text-light);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr; /* モバイル */
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    height: 4rem;
    /* 白いロゴにするために、CSSフィルターで色を反転させています */
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--antique-gold);
    margin-bottom: 1rem;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0.8;
}

.footer-link-list li {
    margin-bottom: 0.5rem;
}

.footer-link-list a:hover, .footer-link:hover {
    color: var(--antique-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(244, 244, 244, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.6;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1.5rem;
}

/*
----------------------------------
新しい保管サービスヒーロー (Storage Hero)
----------------------------------
*/

/* ヒーローセクションのコンテナと背景設定 */
.storage-hero {
    position: relative;
    height: 75vh; /* 画面の高さの75%を使用 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background-color: var(--off-white);
}

.storage-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 新しい画像URLをHTMLのインラインスタイルで指定 */
}

/* 画像に重ねるオーバーレイ（テキストの視認性確保のため） */
.storage-hero .hero-overlay-dark {
    position: absolute;
    inset: 0;
    /* 元の画像の赤色とコントラストを出すため、薄い暗色オーバーレイを使用 */
    background-color: rgba(0, 0, 0, 0.1); 
}

/* メインコンテンツ（キャッチコピーとCTA） */
.storage-hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-light); /* 白っぽい文字 */
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.storage-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    background-color: rgba(0, 31, 63, 0.6); /* ネイビーの半透明背景で文字を強調 */
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .storage-title {
        font-size: 3.5rem;
    }
}

/*
----------------------------------
基本設定・ユーティリティ (Minimal Reset & Base Styles)
----------------------------------
*/
:root {
    /* 色の定義 */
    --navy: #001f3f;          /* 深い知性を感じさせるネイビー */
    --off-white: #F4F4F4;     /* 上質なオフホワイト */
    --antique-gold: #B8860B;  /* アンティークゴールド */
    --text-dark: #0a0a0a;
    --text-light: #F4F4F4;
    --green-bg: #f4fcf4;      /* 価格表背景用の薄い色 */
    --green-border: #99cc99;  /* 価格表のボーダー */

    /* フォントの定義 */
    --font-serif: Georgia, serif;
    --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* シンプルなCSSリセット */
body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--off-white);
    min-height: 100vh;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: bold;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5em;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ユーティリティクラス */
.flex-shrink-0 { flex-shrink: 0; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-x-4 > * + * { margin-left: 1rem; }

.bg-off-white { background-color: var(--off-white); }
.bg-navy { background-color: var(--navy); }
.text-navy { color: var(--navy); }
.text-light { color: var(--text-light); }
.text-gold { color: var(--antique-gold); }

.opacity-90 { opacity: 0.9; }
.opacity-80 { opacity: 0.8; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }


/*
----------------------------------
ボタン (Button)
----------------------------------
*/
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--antique-gold);
    color: var(--navy);
    border-color: var(--antique-gold);
}

.btn-primary:hover {
    background-color: #9A7209;
}

.btn-ghost {
    background: none;
    border: none;
    color: var(--text-light);
    padding: 0.5rem 1rem;
    font-weight: normal;
}

.btn-ghost:hover {
    color: var(--antique-gold);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
    font-size: 1.25rem;
    padding: 1rem 3rem;
}

/*
----------------------------------
ヘッダー (Header)
----------------------------------
*/
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--navy);
    color: var(--text-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-desktop, .actions-desktop {
    display: none;
}

.nav-link {
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--antique-gold);
}

.nav-link-main {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--antique-gold);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
}

/* PC/大画面表示用の切り替え (lg: 1024px以上) */
@media (min-width: 1024px) {
    .header-content {
        height: 80px;
    }
    .logo-img {
        height: 64px;
    }
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .actions-desktop {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .mobile-menu-btn {
        display: none;
    }
}


/*
----------------------------------
セクションの共通スタイル
----------------------------------
*/
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

/*
----------------------------------
保管サービスヒーロー (Storage Hero)
----------------------------------
*/
.storage-hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.storage-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.storage-hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-light);
    padding: 2rem 1rem;
    max-width: 800px;
}

.storage-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 3rem;
    color: var(--text-light);
    background-color: rgba(0, 31, 63, 0.7);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .storage-title {
        font-size: 3.5rem;
    }
}
/* CSSは前の回答のものを流用・追加し、可読性向上のため一部調整 */
/* 保管サービス用CSSｓ */
        :root {
            --navy: #001f3f;
            --off-white: #F4F4F4;
            --antique-gold: #B8860B;
            --text-dark: #0a0a0a;
            --text-light: #F4F4F4;
            --font-serif: Georgia, serif;
            --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
            --green-bg: #e6f7e6; /* 価格表背景用の薄い緑 */
            --green-border: #99cc99; /* 価格表のボーダー */
        }

        /* 既存のスタイル...（省略） */

        .storage-hero {
            position: relative;
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            text-align: center;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-image: url('./images/image_bbc37c.jpg');
        }

        .storage-hero-overlay {
            position: absolute;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.4);
        }

        .storage-hero-content {
            position: relative;
            z-index: 10;
            color: var(--text-light);
            padding: 2rem 1rem;
            max-width: 800px;
        }

        .storage-title {
            font-size: 2.5rem;
            line-height: 1.3;
            margin-bottom: 3rem;
            color: var(--text-light);
            background-color: rgba(0, 31, 63, 0.7);
            display: inline-block;
            padding: 0.5rem 1.5rem;
            border-radius: 4px;
        }

        @media (min-width: 768px) {
            .storage-title {
                font-size: 3.5rem;
            }
        }
        
        /* 価格表セクション */
        .price-section {
            padding: 4rem 0;
            background-color: var(--green-bg);
            color: var(--navy);
            text-align: center;
        }

        .price-table {
            max-width: 600px;
            margin: 2rem auto;
            border-collapse: separate;
            border-spacing: 0;
            width: 100%;
            border: 1px solid var(--green-border);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .price-table th, .price-table td {
            padding: 1rem;
            border-bottom: 1px solid var(--green-border);
            text-align: left;
        }

        .price-table th {
            background-color: var(--navy);
            color: var(--antique-gold);
            font-size: 1.1rem;
            font-weight: 700;
        }
        
        .price-table tr:last-child td {
            border-bottom: none;
        }

        .price-table td:last-child {
            font-weight: 700;
            text-align: right;
            font-size: 1.2rem;
            color: var(--antique-gold);
            background-color: #002e5b; /* 少し明るいネイビー */
        }
        
        /* 申込導線エリア */
        .form-cta-area {
            margin-top: 3rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
/*
----------------------------------
価格表セクション (Price Table Section)
----------------------------------
*/
.price-section {
    padding: 4rem 0;
    background-color: var(--green-bg);
    color: var(--navy);
    text-align: center;
}

.price-table {
    max-width: 600px;
    margin: 2rem auto;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid var(--green-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.price-table th, .price-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--green-border);
    text-align: left;
}

.price-table th {
    background-color: var(--navy);
    color: var(--antique-gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table td:last-child {
    font-weight: 700;
    text-align: right;
    font-size: 1.2rem;
    color: var(--antique-gold);
    background-color: #002e5b;
}

/* サービス詳細のリストスタイル */
.detail-list {
    list-style: none;
    padding: 0;
    margin-top: 3rem;
}

.detail-list li {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--antique-gold);
    line-height: 1.5;
}

/* 申込導線エリアの調整 */
.form-cta-area {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/*
----------------------------------
フッター (Footer)
----------------------------------
*/
.footer {
    background-color: var(--navy);
    color: var(--text-light);
    padding: 4rem 0;
    /* その他、メインページから流用されるスタイル */
}

/* ... 既存のスタイル ... */

/*
----------------------------------
モーダルウィンドウ (Modal)
----------------------------------
*/
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* 初期状態は非表示 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 暗いオーバーレイ */
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 1001;
    background-color: var(--off-white);
    color: var(--navy);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    /* モーダル表示時のアニメーション */
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.is-open .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--navy);
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.modal-subtitle {
    margin-bottom: 1.5rem;
}

/*
----------------------------------
フォーム要素 (Form Styles)
----------------------------------
*/
.storage-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 31, 63, 0.2); /* 薄いネイビーの枠線 */
    border-radius: 4px;
    background-color: white;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--antique-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.3);
}

.form-group select {
    appearance: none; /* デフォルトの矢印を非表示にする（デザイン統一のため） */
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23001f3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

/*
----------------------------------
会社概要ページ固有スタイル
----------------------------------
*/

.company-info-table {
    max-width: 1000px;
    margin: 2rem auto;
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.company-info-table th, .company-info-table td {
    padding: 1rem;
    border: 1px solid rgba(0, 31, 63, 0.1); /* ネイビーの薄いボーダー */
    font-size: 1rem;
}

.company-info-table th {
    width: 30%;
    background-color: var(--navy);
    color: var(--text-light);
    font-weight: 600;
    font-family: var(--font-sans);
    vertical-align: top;
    /* テーブルの横ボーダーに統一感を持たせるため、左右のボーダーをリセット */
    border-left: none;
    border-right: none;
}

.company-info-table td {
    width: 70%;
    background-color: white;
    color: var(--text-dark);
    white-space: pre-wrap; /* 所在地などの改行を保持 */
}

/* 沿革リスト */
.history-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 900px;
    text-align: left;
}

.history-item {
    padding: 0.75rem 0;
    border-left: 3px solid var(--antique-gold);
    padding-left: 1rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.6;
}

.history-year {
    font-weight: bold;
    color: var(--navy);
    margin-right: 1rem;
    display: inline-block;
    min-width: 80px;
}

/* 所在地マップ（仮の枠線） */
.location-map {
    height: 400px;
    background-color: var(--off-white);
    border: 1px solid rgba(0, 31, 63, 0.1);
    border-radius: 8px;
    margin: 2rem auto;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--navy);
    font-family: var(--font-serif);
}

/* モバイル調整 */
@media (max-width: 768px) {
    .company-info-table th, .company-info-table td {
        display: block; /* モバイルではブロック要素にして縦に積む */
        width: 100%;
        border-right: none;
        border-left: none;
    }
    .company-info-table th {
        background-color: rgba(0, 31, 63, 0.9); /* モバイルでは少し濃い背景で区別 */
        color: var(--antique-gold);
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }
    .company-info-table td {
        padding-top: 0.5rem;
        padding-bottom: 1rem;
        border-top: none;
    }
}