﻿/*カーライフ大阪 LP用*/

@charset "UTF-8";

/* ==========================================================================
   設定（Variables & Base）
   ========================================================================== */

/* カラーパレット、フォント設定などを変数で管理 */
:root {
    /* Colors */
    --color-main: #f2f2f2; /* 背景などの薄い水色 */
    --color-key: #0096d8; /* 強調・キーカラーの鮮やかなブルー */
    --color-accent: #ff8c00; /* CTA・警告などのオレンジ */
    --color-text-base: #333333; /* 基本の文字色 */
    --color-text-outline: #096d87; /* フチ文字の濃いブルー */
    --color-white: #ffffff;
    --color-other: #d4f8ff;
    /* Fonts (Webフォント導入前提) */
    /* メイン：信頼感のある太めのゴシック */
    --font-family-main: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    /* アクセント：親しみやすい手書き風 */
    --font-family-accent: 'Yomogi', cursive, sans-serif;
}

/* モダンなリセット設定 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px; /* 基準となるフォントサイズ */
    scroll-behavior: smooth; /* スムーズスクロール */
}

body {
    font-family: var(--font-family-main);
    color: var(--color-text-base);
    background-color: var(--color-other);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%; /* iOSでの文字サイズ自動調整を防止 */
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: var(--color-key);
    text-decoration: none;
    transition: opacity 0.3s;
}

    a:hover {
        opacity: 0.8;
    }

.pd10 {
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.pd15 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}
.pd02 {
    padding-left: 2% !important;
    padding-right: 2% !important;
}
.pd03 {
    padding-left: 3% !important;
    padding-right: 3% !important;
}
.pd03Plus {
    padding-left: calc(3% + 5px) !important;
    padding-right: calc(3% + 5px) !important;
}
.pd03Plus10 {
    padding-left: calc(3% + 10px) !important;
    padding-right: calc(3% + 10px) !important;
}
.pd05 {
    padding-left: 5% !important;
    padding-right: 5% !important;
}

.cfont_S {
    /* ベース1rem(16px) + 画面幅の1.5%分だけ大きくなる */
    font-size: clamp(8px, 2.5vw, 14px);
}
.cfont_M {
    /* ベース1rem(16px) + 画面幅の1.5%分だけ大きくなる */
    font-size: clamp(9px, 3vw, 16px);
}
.cfont_B {
    /* ベース1rem(16px) + 画面幅の1.5%分だけ大きくなる */
    font-size: clamp(9px, 4vw, 14px);
}



.HFArea {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    background-color: var(--color-white);
}
footer.HFArea {
    background-color: #696969;
}
    .mainArea {
        width: 100%;
        max-width: 960px;
        margin: 0 auto;
        overflow: hidden;
        background-color: var(--color-white);
    }
@media (min-width: 961px) {
    .mainArea {
        border-left: 1px solid #d0d0d0;
        border-right: 1px solid #d0d0d0;
    }
    .HFArea {
        border-left: 1px solid #d0d0d0;
        border-right: 1px solid #d0d0d0;
    }
}
    /* ==========================================================================
   レイアウト（Layout）
   ========================================================================== */
    /* コンテナ：コンテンツの最大幅を制限し、中央寄せする */
    .l-container {
        position: relative;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding-right: 20px; /* 左右の余白 */
        padding-left: 20px;
    }

    /* セクション：各コンテンツブロックの基本スタイル */

/* セクションごとの背景色分け例 */
.l-section {
    background-color: var(--color-main); /* 偶数番目を薄い水色に */
}

    .fixed-center-img {
        width: 100%; /* 表示領域は横幅いっぱい */
        margin-left: auto;
        margin-right: auto;
        overflow: hidden; /* 画面からはみ出た5000pxの左右を隠す */
        display: flex; /* Flexboxを使用 */
        justify-content: center; /* 画像を常に親要素のセンターに配置 */
    }

        .fixed-center-img img {
            width: 350% !important; /* インラインスタイルの100%を強制解除し、原寸大に戻す */
            max-width: none; /* 一般的なリセットCSS（max-width:100%）を無効化 */
            height: auto; /* 縦比率を維持 */
            flex-shrink: 0; /* 親要素（画面幅）が狭くなっても画像が縮まないようにする */
        }

.copyright {
    margin: 3% 0 3% 0;
    width: 100%;
    text-align: center;
    color:#fff;
}
/* ==========================================================================
   コンポーネント（Components）
   ========================================================================== */
/* 画像見出しのラッパー（フチ文字画像などを配置） */
.c-section-title-img {
    text-align: center;
    margin: 0px !important;
}

    /* --------------------------------------------------
   CTAボタンブロック（オレンジ色の島）
-------------------------------------------------- */
    /* CTAセクション自体にたっぷりと余白を持たせる */
    .p-cta {
        padding-top: 80px;
        padding-bottom: 80px;
        background-color: var(--color-main); /* 背景から浮かび上がらせるため水色背景を想定 */
    }

        .p-cta.is-last {
            /* 最後のCTAはさらに強調しても良い */
            padding-top: 100px;
            padding-bottom: 100px;
        }

    .c-cta-block {
        text-align: center;
    }

    /* ボタン上のマイクロコピー */
    .c-cta-block__micro-copy {
        font-family: var(--font-family-accent); /* 手書き風 */
        font-weight: bold;
        color: var(--color-text-outline);
        margin-bottom: 15px;
        display: inline-block;
        /* 装飾（\ / のようなあしらい）は画像かCSSで追加 */
    }

    /* ボタン下の安心材料 */
    .c-cta-block__note {
        font-size: 0.875rem; /* 14px相当 */
        margin-top: 15px;
    }


    /* --------------------------------------------------
   ボタン（共通スタイル）
-------------------------------------------------- */
    .c-btn {
        display: block;
        width: 100%;
        max-width: 400px; /* ボタン自体の最大幅 */
        margin: 0 auto;
        padding: 15px 20px;
        text-align: center;
        border-radius: 50px; /* 丸みのある形状 */
        font-weight: 900;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 控えめな影 */
        transition: transform 0.2s, box-shadow 0.2s;
    }

        /* ホバー時のアクション（スマホではタップ時） */
        .c-btn:active,
        .c-btn:hover {
            transform: translateY(2px); /* 押した感じ */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            opacity: 1; /* 透明度は変えない */
        }

    /* オレンジボタンのスタイル */
    .c-btn--orange {
        color: var(--color-white);
        /* 立体感を出すグラデーション */
        background: linear-gradient(to bottom, #ff9f33, var(--color-accent));
        border-bottom: 4px solid #d67600; /* 下部に濃い影色で立体感強調 */
    }

    /* ボタン内のテキスト構造 */
    .c-btn__main {
        display: block;
        font-size: 1.5rem; /* 24px相当 */
        line-height: 1.2;
    }

    .c-btn__sub {
        display: block;
        font-size: 0.875rem; /* 14px相当 */
        font-weight: normal;
        margin-top: 5px;
    }

    /* サイズバリエーション：XL（最後のCTA用） */
    .c-btn--xlarge {
        padding: 20px 30px;
    }

        .c-btn--xlarge .c-btn__main {
            font-size: 1.75rem; /* 28px相当 */
        }


    /* ==========================================================================
   トグル
   ========================================================================== */
ul.Toggle, .Toggle ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.Toggle {
    margin-bottom: 20px;
}
.ToggleA {
    background-color: #ffbe6d;
    padding: 3%;
    cursor: pointer;
    border-radius: 25px;
    transition: border-radius 0.3s ease 0.3s;
}
.ToggleB {
    display: grid;
    grid-template-rows: 0fr; 
    padding: 0;
    overflow: hidden;
    background-color: #fff;
    border-radius: 0 0 25px 25px;
    box-sizing: border-box;
    transition: all 0.3s ease-out 0s;
}
.ToggleB-wrapper {
    min-height: 0;
}

.Toggle.is-open .ToggleA {
    border-radius: 25px 25px 0 0;
    transition: border-radius 0.3s ease 0s;
}
.Toggle.is-open .ToggleB {
    grid-template-rows: 1fr; 
    padding: 3%;
    transition: all 0.3s ease-out 0.3s;
}
.q-box {
    display: flex;
    align-items: stretch; 
    min-height: 60px; 
    padding: 0;
    box-sizing: border-box;
}

.QTit {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #0b7b8a;
    flex-shrink: 0;
    margin-right: 3%;
}

.TLine {
    width: 2px;
    background-color: #0b7b8a;
}

.QText {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 0 0 5%;
    font-weight: bold;
    color: #0b7b8a;
    line-height: 1.5;
    white-space: normal;
    word-break: break-all;
}


/* ==========================================================================
   テーブル
   ========================================================================== */
table.Top_Situation {
    width: 100%;
    border-top: 1px solid #696969;
    border-left: 1px solid #696969;
    border-right: 1px solid #696969;
    font-size: 12px;
    background-color: #fff;
}

    table.Top_Situation tr {
        width: 100%;
        border-bottom: 1px solid #696969;
    }

        table.Top_Situation tr th {
            background-color: #cccccc;
            border-left: 1px solid #696969;
            text-align: center;
            padding: 1% 2% 1% 2%;
            vertical-align: middle;
            font-size:11px;
        }

        table.Top_Situation tr td {
            border-left: 1px solid #696969;
            padding: 1% 2% 1% 2%;
            vertical-align: middle;
            text-align: center;
            font-size: 11px;
        }