/* =========================================================
           基本設定・デザイン変数定義
           ========================================================= */
        :root {
            /* ブランドのメインカラー（信頼感を与える落ち着いたネイビー） */
            --primary-color: #003366;
            /* アクセントカラー（親しみやすさと活気を演出するオレンジ） */
            --accent-color: #f7941d;
            /* 強調用赤色 */
            --hero-accent-red: #d3381c;
            /* ページの全体背景色（白） */
            --bg-color: #ffffff;
            /* 基本テキストカラー（視認性を保つダークグレー） */
            --text-color: #333333;
            /* 補助テキストカラー（説明文などの薄いグレー） */
            --text-muted: #666666;
            /* セクションの背景を区切るための淡いグレー背景 */
            --light-bg: #f8f9fa;
            /* 境界線・区切り線に使用するライトグレー */
            --border-color: #e5e7eb;
            /* ページ全体の丸ゴシック体フォント（Kosugi Maru） */
            --font-family: "Kosugi Maru", sans-serif;
        }

        /* すべての要素の余白リセットとサイズ計算基準の統一 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* フォーム要素を含めたフォントの統一 */
        body, button, input, select, textarea {
            font-family: var(--font-family);
        }

        /* ページ全体の基本スタイル・文字間・行間設定 */
        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.8;
            word-wrap: break-word;
        }

        /* =========================================================
           レイアウト共通クラス
           ========================================================= */
        /* コンテンツの最大横幅を制限し、左右中央に寄せるコンテナ */
        .container {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* セクションごとの上下余白 */
        .section {
            padding: 80px 0;
        }

        /* セクションの見出し共通デザイン */
        .section-title {
            font-size: 2rem;
            text-align: center;
            color: var(--primary-color);
            margin-bottom: 50px;
            position: relative;
            padding-bottom: 15px;
            font-weight: 700;
        }

        /* 見出し下部に配置するアクセントの下線 */
        .section-title::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--accent-color);
        }

        /* テキストを中央寄せにするユーティリティ */
        .text-center {
            text-align: center;
        }

        /* 問い合わせやアクションを促す汎用ボタン */
        .btn {
            display: inline-block;
            padding: 12px 32px;
            background-color: var(--accent-color);
            color: #ffffff;
            text-decoration: none;
            border-radius: 6px;
            font-weight: bold;
            transition: background-color 0.25s ease;
        }

        /* ボタンのホバー時（マウス乗せ時）の暗転処理 */
        .btn:hover {
            background-color: #d67c13;
        }

        /* =========================================================
           ヘッダー（左端ロゴ・右端メニュー・上下中央配置）
           ========================================================= */
        header {
            background-color: var(--bg-color);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            width: 100%;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 30px;
            max-width: 100%;
            width: 100%;
        }

        .brand-box {
            display: flex;
            align-items: center;
            text-decoration: none;
            gap: 12px;
            flex-shrink: 0;
        }

        .brand-logo-img {
            height: 68px;
            width: auto;
            object-fit: contain;
            display: block;
            transform: translateY(-8px);
        }

        .brand-text-group {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .brand-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--primary-color);
            line-height: 1.2;
            letter-spacing: 0.05em;
        }

        .brand-subtitle {
            font-size: 0.72rem;
            color: #555555;
            font-weight: 500;
            letter-spacing: 0.08em;
            margin-top: 4px;
            line-height: 1.3;
        }

        header nav {
            margin-left: auto;
        }

        .nav-list {
            list-style: none;
            display: flex;
            align-items: center;
            gap: 22px;
        }

        .nav-list a {
            text-decoration: none;
            color: #222222;
            font-size: 0.92rem;
            font-weight: 500;
            transition: color 0.2s ease;
            white-space: nowrap;
        }

        .nav-list a:hover {
            color: var(--accent-color);
        }

        .nav-home-link {
            background-color: #f0f4f8;
            padding: 6px 14px;
            border-radius: 4px;
            color: var(--primary-color) !important;
            font-weight: 700 !important;
        }

        .nav-home-link:hover {
            background-color: #e2eaf1;
        }

        /* =========================================================
           ヒーローセクション（メインビジュアルとキャッチコピー）
           ========================================================= */
        .hero {
            position: relative;
            background-color: #2a333c;
            background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6)), url('../img/top.jpg');
            background-size: cover;
            background-position: center 25%;
            background-repeat: no-repeat;
            color: #ffffff;
            padding: 130px 0 110px;
            text-align: center;
        }

        .hero-welcome-badge {
            display: inline-block;
            font-size: 1.35rem;
            font-weight: 500;
            letter-spacing: 0.12em;
            color: #ffffff;
            margin-bottom: 24px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        }

        .hero-catch-main {
            font-size: 2.7rem;
            line-height: 1.4;
            font-weight: 800;
            color: #ff6b52;
            margin-bottom: 12px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
            letter-spacing: 0.05em;
        }

        .hero-catch-sub {
            font-size: 2.1rem;
            line-height: 1.4;
            font-weight: 800;
            color: #ff6b52;
            margin-bottom: 28px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
            letter-spacing: 0.05em;
        }

        .hero-message {
            font-size: 1.15rem;
            max-width: 800px;
            margin: 0 auto 36px;
            color: #f3f4f6;
            font-weight: 500;
            line-height: 1.8;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
        }

        /* =========================================================
           カード・グリッドスタイル
           ========================================================= */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 28px;
        }

        .feature-card {
            background-color: #ffffff;
            padding: 36px 30px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
        }

        .feature-num-badge {
            display: inline-block;
            font-size: 0.85rem;
            color: #ffffff;
            background-color: var(--accent-color);
            font-weight: 700;
            padding: 2px 10px;
            border-radius: 4px;
            margin-bottom: 12px;
        }

        .feature-title {
            font-size: 1.3rem;
            color: var(--primary-color);
            margin-bottom: 14px;
            font-weight: 700;
        }

        .feature-desc {
            font-size: 0.96rem;
            color: var(--text-muted);
            line-height: 1.8;
        }

        /* サービス分類ハイライトブロック（身体介護 / 生活援助） */
        .service-category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
            gap: 30px;
            margin-top: 36px;
        }

        .service-category-box {
            background-color: #ffffff;
            border-radius: 8px;
            border: 2px solid var(--border-color);
            padding: 32px 28px;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
        }

        .service-category-box.shintai {
            border-top: 5px solid #e60012;
        }

        .service-category-box.seikatsu {
            border-top: 5px solid var(--accent-color);
        }

        .category-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .category-desc {
            font-size: 0.95rem;
            color: var(--text-muted);
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .category-items {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .category-items li {
            position: relative;
            padding-left: 22px;
            font-size: 0.98rem;
            color: #222222;
        }

        .category-items li::before {
            content: '✔';
            position: absolute;
            left: 0;
            color: var(--accent-color);
            font-weight: bold;
        }

        /* ご利用の流れ・ステップリスト */
        .flow-container {
            max-width: 860px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .flow-card {
            background-color: #ffffff;
            border: 1px solid var(--border-color);
            border-left: 5px solid var(--accent-color);
            border-radius: 6px;
            padding: 24px 28px;
            display: flex;
            gap: 24px;
            align-items: flex-start;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        }

        .flow-step-badge {
            background-color: var(--primary-color);
            color: #ffffff;
            font-size: 0.9rem;
            font-weight: 700;
            padding: 6px 14px;
            border-radius: 20px;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .flow-body {
            flex: 1;
        }

        .flow-heading {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 8px;
        }

        .flow-text {
            font-size: 0.95rem;
            color: var(--text-color);
            line-height: 1.7;
        }

        /* よくある質問スタイル */
        .qa-list {
            max-width: 860px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .qa-item {
            background-color: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 24px 28px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
        }

        .qa-q {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 12px;
            display: flex;
            align-items: baseline;
            gap: 12px;
        }

        .qa-q-mark {
            color: var(--accent-color);
            font-size: 1.3rem;
            font-weight: 800;
        }

        .qa-a {
            font-size: 0.96rem;
            color: var(--text-color);
            line-height: 1.8;
            padding-left: 28px;
            border-left: 2px solid var(--border-color);
            margin-left: 6px;
        }

        /* 費用案内カード */
        .cost-box {
            max-width: 860px;
            margin: 0 auto;
            background-color: #ffffff;
            border: 2px solid var(--accent-color);
            border-radius: 8px;
            padding: 36px 30px;
            text-align: center;
            box-shadow: 0 4px 16px rgba(247, 148, 29, 0.1);
        }

        .cost-box-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 12px;
        }

        .cost-highlight {
            font-size: 1.8rem;
            font-weight: 800;
            color: #d3381c;
            margin-bottom: 14px;
        }

        .cost-desc {
            font-size: 0.98rem;
            color: var(--text-muted);
            line-height: 1.8;
            text-align: left;
        }

        /* =========================================================
           事業所概要・アクセス
           ========================================================= */
        .company-access-section {
            background-color: var(--light-bg);
        }

        .company-access-wrapper {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 40px;
            background-color: #ffffff;
            border-radius: 8px;
            padding: 40px 36px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        }

        .company-info-col {
            flex: 1 1 54%;
            min-width: 0;
            color: #222222;
        }

        .company-title {
            color: #e60012;
            font-size: 1.9rem;
            font-weight: 700;
            margin-bottom: 22px;
            letter-spacing: 0.08em;
        }

        .company-corporate-name {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 22px;
            display: flex;
            align-items: baseline;
            gap: 16px;
        }

        .company-corporate-name .label {
            font-weight: 700;
        }

        .company-details-list {
            margin-bottom: 28px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            font-size: 1rem;
        }

        .detail-row {
            display: flex;
            align-items: baseline;
        }

        .detail-row dt {
            width: 140px;
            flex-shrink: 0;
            color: #333333;
            font-weight: 700;
        }

        .detail-row dd {
            margin: 0;
            color: #222222;
        }

        .company-map-col {
            flex: 1 1 44%;
            min-width: 0;
            display: flex;
            justify-content: center;
        }

        .map-img-container {
            width: 100%;
            max-width: 500px;
        }

        .google-map-iframe {
            width: 100%;
            height: 380px;
            display: block;
            border: 1px solid #dcdcdc;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        .map-open-link {
            display: inline-block;
            margin-top: 12px;
            font-size: 0.92rem;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 700;
        }

        .map-open-link:hover {
            color: var(--accent-color);
            text-decoration: underline;
        }

        /* 事業所写真（玄関・看板） */
        .entrance-photo-wrap {
            margin-top: 36px;
            text-align: center;
        }

        .entrance-photo {
            max-width: 520px;
            width: 100%;
            height: auto;
            display: inline-block;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        }

        .entrance-photo-caption {
            margin-top: 10px;
            font-size: 0.95rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* =========================================================
           フッター
           ========================================================= */
        footer {
            background-color: var(--primary-color);
            color: #ffffff;
            padding: 45px 0 30px;
            text-align: center;
            font-size: 0.88rem;
        }

        .copyright {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.82rem;
            margin-top: 16px;
        }

        /* =========================================================
           レスポンシブ対応
           ========================================================= */
        @media (max-width: 1100px) {
            .nav-list {
                gap: 14px;
            }
            .nav-list a {
                font-size: 0.84rem;
            }
        }

        @media (max-width: 880px) {
            .company-access-wrapper {
                flex-direction: column;
                padding: 24px 18px;
                gap: 32px;
            }
            .company-info-col,
            .company-map-col {
                width: 100%;
                flex: auto;
            }
            .map-img-container {
                max-width: 100%;
            }
        }

        @media (max-width: 860px) {
            header {
                position: static;
                box-shadow: none;
            }
            .header-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
                padding: 12px 20px;
            }
            header nav {
                margin-left: 0;
                width: 100%;
            }
            .nav-list {
                flex-wrap: wrap;
                gap: 12px 16px;
                width: 100%;
            }
            .hero {
                padding: 90px 0 80px;
            }
            .hero-welcome-badge {
                font-size: 1.1rem;
            }
            .hero-catch-main {
                font-size: 1.75rem;
            }
            .hero-catch-sub {
                font-size: 1.45rem;
            }
            .hero-message {
                font-size: 0.98rem;
            }
            .flow-card {
                flex-direction: column;
                gap: 12px;
            }
        }
