/* ===========================
   CSS変数（カラーパレット）
=========================== */
:root {
    --color-primary:    #1a3a5c;
    --color-accent:     #e8a020;
    --color-bg:         #f8f8f6;
/*
    --color-text:       #2c2c2c;
    --color-text-light: #666;
*/
    --color-text:       #000000;
    --color-text-light: #000000;
    --color-border:     #ddd;
    --color-white:      #fff;

    --header-height: 68px;
    --inner-width:   1100px;
    --radius:        6px;
    --shadow:        0 2px 16px rgba(0,0,0,.09);
}

/* ===========================
   リセット・ベース
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Noto Sans JP', sans-serif;
/*    リスト表示のフォントサイズ */
    font-size: 12px;
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.inner {
    max-width: var(--inner-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   ヘッダー
=========================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    height: var(--header-height);
}

.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: .05em;
    text-decoration: none;
}

/* ===========================
   グローバルナビ
=========================== */
.site-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

.site-nav > ul > li > a {
    display: block;
    padding: 8px 16px;
    font-weight: 500;
    font-size: .95rem;
    color: var(--color-text);
    border-radius: var(--radius);
    transition: background .2s, color .2s;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li.active > a {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

/* ドロップダウン */
.site-nav li.has-children {
    position: relative;
}

.site-nav li.has-children > ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.site-nav li.has-children.is-open > ul {
    display: flex;
}

.site-nav li.has-children > ul li a {
    display: block;
    padding: 10px 20px;
    font-size: .9rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: background .15s;
}

.site-nav li.has-children > ul li:last-child a {
    border-bottom: none;
}

.site-nav li.has-children > ul li a:hover {
    background: var(--color-bg);
    text-decoration: none;
}

/* ホバーで開く（マウス用） */
.site-nav li.has-children:hover > ul {
    display: flex;
}

/* クラスで開く（キーボード用） */
.site-nav li.has-children.is-open > ul {
    display: flex;
}

/* ハンバーガーボタン（PCは非表示） */
.nav-toggle { display: none; }

/* ===========================
   メインコンテンツ
=========================== */
.site-main {
    min-height: calc(100vh - var(--header-height) - 100px);
}

/* ===========================
   ヒーローセクション
=========================== */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a5080 100%);
    color: var(--color-white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    opacity: .85;
    max-width: 600px;
    margin: 0 auto 36px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    transition: opacity .2s, transform .2s;
    text-decoration: none;
}

.btn:hover { opacity: .85; transform: translateY(-2px); text-decoration: none; }

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-outline {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    margin-left: 12px;
}

/* ===========================
   セクション共通
=========================== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-white);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 12px;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-lead {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 48px;
}

/* ===========================
   カードグリッド
=========================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.card {
    overflow: visible;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 16px 28px;  ← 32px を 16px に変更
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    margin-bottom: 8px !important;
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.card p { font-size: 1.95rem; color: var(--color-text-light); }
/*.card p { font-size: .95rem; color: var(--color-text-light); }*/

/* ===========================
   ページヘッダー（下層ページ用）
=========================== */
.page-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
}

.page-header p {
    opacity: .8;
    margin-top: 8px;
}

/* パンくずリスト */
.breadcrumb {
    font-size: .85rem;
    color: var(--color-text-light);
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb a { color: var(--color-primary); }
.breadcrumb span { margin: 0 6px; }

/* ===========================
   テキストコンテンツ
=========================== */

/* テーブル */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.data-table th,
.data-table td {
    font-size:   24px;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    text-align: left;
}

.data-table th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 500;
    font-size:   24px;
    width: 30%;
}

.data-table tr:nth-child(even) td {
    font-size:   24px;
    background: var(--color-bg);
}

.content-area {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.content-area h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    border-left: 14px solid var(--color-accent);
    padding-left: 14px;
    margin: 28px 0 4px;
}

.content-area p {
     margin-bottom: 16px;
     color: var(--color-text); 
     text-indent: 1em;
 }

.content-area ul {
    margin:  10;
    padding: 10;
    list-style-type: none;
    font-size: 1.5rem;
}

/* 横に2枚並べる */
.photo-row {
    display: flex;
    gap: 16px;        /* 写真と写真の間の余白 */
    margin: 24px 0;
}

.photo-row img {
    width: 30%;       /* 2枚なので50%ずつ */
    height: 200px;    /* 高さを揃える */
    object-fit: cover; /* 写真を綺麗にトリミング */
    border-radius: var(--radius);

}


/* 画像の基本設定 */
.content-area img:not(.float-right):not(.float-left) {
    width: 50%;
    height: auto;
    border-radius: var(--radius);
    margin: 24px 0;
}

/* 右に画像・左にテキスト */
.float-right {
    float: right !important;
    width: 50% !important;
    margin: 0 0 16px 24px !important;
}

/* 左に画像・右にテキスト */
.float-left {
    float: left !important;
    width: 50% !important;
    margin: 0 24px 16px 0 !important;
}

/* 回り込み解除 */
.clearfix::after {
    content: '';
    display: block;
    clear: both;
}

/* ページ内リンク一覧 */
.page-link-list {
    list-style: none;
    padding: 16px 20px;
    margin: 24px 0;
    background: var(--color-bg);
    border-radius: var(--radius);
}

.page-link-list li {
    margin-bottom: 8px;
}

.page-link-list a {
    color: var(--color-primary);
    font-weight: 500;
}

/* クリックしたときスムーズにスクロールする */
html {
    scroll-behavior: smooth;
}

/* ===========================
   リスト
=========================== */
/* 黒丸リスト */
.list-bullet {
    padding-left: 24px;
    margin: 16px 0;
}

.list-bullet li {
    list-style-type: disc;
    margin-bottom: 8px;
}

/* 番号付きリスト */
.list-number {
    padding-left: 24px;
    margin: 16px 0;
}

.list-number li {
    list-style-type: decimal;
    margin-bottom: 8px;
}

/* 何も表示しないリスト */
.list-none {
    padding-left: 0;
    margin: 16px 0;
}

.list-none li {
    list-style-type: none;
    margin-bottom: 8px;
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 640px;
/*    margin: 0 auto; */
    margin: 20px 0;
    text-indent: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: .95rem;
}

.form-group .required {
    background: var(--color-accent);
    color: var(--color-white);
    font-size: .7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--color-white);
    transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea { min-height: 160px; resize: vertical; }

.form-submit { text-align: center; margin-top: 36px; }

/* ===========================
   フッター
=========================== */
/* フッター内のリンクの色を指定 */
.site-footer a {
    color: var(--color-white);
    text-decoration: underline;
}

.site-footer p {
    font-size: 32px;
}

.site-footer a:hover {
    color: var(--color-accent);
}

.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,.75);
    text-align: center;
    padding: 60px 0;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
}

.footer-copy { font-size: .85rem; }

/* ===========================
   レスポンシブ（スマホ）
=========================== */
@media (max-width: 768px) {

    html, body {
        font-size: 14px !important;
    }

    .inner {
        padding: 0;
    }

    h2 { font-size: 1.2rem !important; }
    p  { font-size: 0.9rem !important; }

    .site-header .inner {
        padding: 0 8px;
    }

    .float-right,
    .float-left {
        float: none;
        width: 100%;
        margin: 0 0 16px 0;
    }

    /* ハンバーガーボタン */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-primary);
        border-radius: 2px;
        transition: .3s;
    }

    .responsive-img {
        width: 100% !important;
    }

    .photo-row {
        flex-direction: column;
    }

    .photo-row img {
        width: 100%;
    }

    /* ナビゲーション */
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        border-top: 1px solid var(--color-border);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; }

    .site-nav > ul > li > a {
        padding: 14px 24px;
        border-radius: 0;
        border-bottom: 1px solid var(--color-border);
    }

    /* ドロップダウン（スマホでは常時展開） */
    .site-nav li.has-children > ul {
        display: flex;
        position: static;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: var(--color-bg);
    }

    .site-nav li.has-children > ul li a {
        padding-left: 40px;
    }

    .hero { padding: 60px 0; }
    .card-grid { grid-template-columns: 1fr; }
}
