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

body {
    background-color: #000;
    font-family: "Zen Old Mincho", sans-serif;
    color: #fff;
}

/* -------------------------
   Accessibility - Visually Hidden
------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* -------------------------
   Accessibility - Skip Links
------------------------- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 700;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* -------------------------
   Accessibility - Link Clarity
------------------------- */
/* 本文中のリンクは下線を表示して明確に */
main a:not(.card):not(.btn-arrow):not(.btn-submit):not(.btn-back-top):not(.card__heading) {
    text-decoration: underline;
    text-underline-offset: 2px;
}

main a:not(.card):not(.btn-arrow):not(.btn-submit):not(.btn-back-top):not(.card__heading):hover {
    text-decoration-thickness: 2px;
}

/* フッターのメールリンクも下線表示 */
.footer__mail {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__mail:hover {
    text-decoration-thickness: 2px;
}

/* -------------------------
   Accessibility - Focus Indicators
------------------------- */
/* グローバルフォーカススタイル */
*:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* リンクとボタンのフォーカス（より明確に） */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* フォーカスビジブル（マウスクリック時は非表示、キーボード時のみ表示） */
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* 特定の要素用フォーカススタイル */
.header__menu-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.calc-btn:focus-visible,
.btn-arrow:focus-visible,
.btn-submit:focus-visible,
.btn-back-top:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.home {
    height: 100vh; /* トップページだけ画面いっぱいに固定 */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* -------------------------
   Header Component
------------------------- */
.header {
    width: 100%;
    /* height: 80px;  <-- 固定の高さを削除 */
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    /* border-bottom: 1px solid #333; <-- 境界線は一旦削除（画像に合わせる）*/ 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

.header__inner {
    max-width: 1200px;
    margin: 0 auto;
    /* 上下に広めの余白を設定して高さを出す */
    padding: 5px 40px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴのスタイル（画像用） */
.header__logo a {
    display: block; /* アンカータグをブロック要素に */
}

.header__logo img {
    display: block;
    height: 80px; /* ロゴの高さを指定（幅は自動） */
    width: auto;
}

/* 右側のエリア */
.header__nav-area {
    display: flex;
    align-items: center;
    /* gap: 30px; <-- gapは個別に調整するため削除 */
}

/* --- 言語切り替え（デザイン変更） --- */
.header__lang {
    display: flex;
    align-items: center;
    /* フォントサイズを少し大きく */
    font-size: 18px; 
    font-weight: 400;
    margin-right: 30px; /* メニューボタンとの距離 */
}

.header__lang-link {
    text-decoration: none;
    color: #888;
    transition: color 0.3s;
    padding-bottom: 5px; /* 下線との距離 */
    position: relative;
}

/* 選択中（is-active）のスタイル */
.header__lang-link.is-active {
    color: #fff;
}

/* 選択中の下線（疑似要素で作成） */
.header__lang-link.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
}

/* ホバー時 */
.header__lang-link:hover {
    color: #fff;
}

/* 縦線 */
.header__lang-divider {
    display: inline-block;
    width: 1px;
    height: 24px; /* 線の高さ */
    background-color: #fff;
    margin: 0 15px; /* 左右の余白 */
}

/* --- ハンバーガーメニューボタン（変更なし） --- */
.header__menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    padding: 0;
}

.header__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.header__menu-btn span:nth-child(1) { top: 0; }
.header__menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__menu-btn span:nth-child(3) { bottom: 0; }

.header__menu-btn.is-open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.header__menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}
.header__menu-btn.is-open span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}
/* -------------------------
   Footer Component
------------------------- */
.footer {
    width: 100%;
    background-color: #000;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* paddingを少し減らしてスリムに */
    padding: 30px 0;
    flex-shrink: 0; /* これで絶対に潰れたり隠れたりしなくなります */
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between; /* 左右に配置 */
    align-items: flex-end; /* 下揃え */
    flex-wrap: wrap; /* モバイル対応：幅が狭くなったら折り返す */
    gap: 40px; /* 折り返した時の隙間 */
}

/* --- 左側エリア --- */
.footer__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.footer__address {
    font-style: normal; /* addressタグのイタリックを解除 */
    font-size: 14px;
    line-height: 1.8;
    color: #9ca3af; /* 少しグレーに */
}

.footer__mail {
    display: inline-block;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 5px;
    transition: color 0.3s;
}

.footer__mail:hover {
    color: #fff;
}

/* --- 右側エリア --- */
.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 右寄せ */
    gap: 20px;
}

/* SNSアイコンのラッパー */
.footer__socials {
    display: flex;
    gap: 20px;
}

.footer__social-link {
    color: #9ca3af;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer__social-link:hover {
    color: #fff;
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor; /* 親要素の色（color）を引き継ぐ */
}

.footer__copyright {
    font-size: 12px;
    color: #4b5563; /* 暗めのグレー */
}

/* --- レスポンシブ対応（スマホ表示） --- */
@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column; /* 縦並びにする */
        align-items: flex-start; /* 左寄せに戻す */
    }

    .footer__right {
        align-items: flex-start; /* 右側エリアの中身も左寄せに */
        width: 100%;
    }

    .footer__socials {
        margin-bottom: 10px;
    }
}
/* -------------------------
   Main Layout (Grid)
------------------------- */
.main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* 上の余白をヘッダー避けに確保しつつ、下はゼロに近づける */
    padding: 120px 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* グリッドを安定させるため */
    /* ↓ 重要：これが無いと中身が大きくても縮んでくれません */
    min-height: 0;
}

.grid-container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 1.1fr 0.9fr;
    gap: 40px;
}

/* --- カード共通スタイル --- */
.card {
    background-color: #000; /* ベース黒 */
    border: 1px solid #333; /* 薄いグレーの線 */
    border-radius: 8px; /* 角丸 */
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.card:hover {
    border-color: #666; /* ホバー時に枠線を少し明るく */
}

.card__content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ラベル (| VISION など) */
.card__label {
    font-family: 'Cinzel', serif; /* 英語部分はCinzel */
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: block;
    color: #ccc;
}

.card__text {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: auto; /* ボタンを下端に押しやる */
}

.card__footer {
    margin-top: auto; /* これでボタンが常に下側に配置される */
}

/* 矢印付きテキストリンクボタン */
.btn-arrow {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Cinzel', serif;
    transition: all 0.3s;
    letter-spacing: 0.1em;
}

.btn-arrow:hover {
    background-color: #fff;
    color: #000;
}

/* --- 個別のカード設定 --- */

/* 1. VISION (左側：2行分の高さを使う) */
.card--vision {
    grid-column: 1 / 2; /* 1列目 */
    grid-row: 1 / 3;    /* 1行目〜3行目のラインまで（つまり縦全部） */
    position: relative;
    /* ↓↓↓ 以下を追加 ↓↓↓ */
    display: block;        /* ブロック要素として振る舞わせる */
    text-decoration: none; /* リンクの下線を消す */
    color: #fff;           /* 文字色を白（または元の色）に強制する */
    cursor: pointer;       /* カーソルを指の形にする */
}

/* 背景画像設定 */
.card__bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6; /* 画像を暗くする */
    transition: transform 0.5s ease;
}

.card--vision:hover .card__bg {
    transform: scale(1.05); /* ホバーで少し拡大 */
}

.card__content--bottom {
    position: relative;
    z-index: 2;
    justify-content: flex-end; /* 下寄せ */
}

.card__heading {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* 2. NEWS (右上：横2列分を使う) */
.card--news {
    grid-column: 2 / 4; /* 2列目〜4列目のラインまで（右側全部） */
    grid-row: 1 / 2;    /* 1行目 */
}

/* ニュースリスト */
.news-list {
    list-style: none;
    margin-bottom: 20px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-item:first-child {
    border-top: 1px solid #222;
}

.news-date {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    color: #888;
    min-width: 120px;
}

.news-title {
    font-size: 14px;
}

/* 3. ABOUT & 4. CONTACT (位置指定) */
.card--about {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.card--contact {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* -------------------------
   Mobile Responsive
------------------------- */
@media (max-width: 768px) {
    body {
        height: auto; /* スマホでは高さを自動に戻してスクロールさせる */
        overflow: visible;
    }

    .main {
        padding: 100px 20px 40px; /* 左右の余白を減らす */
        display: block;
    }

    .grid-container {
        display: flex;
        flex-direction: column; /* 縦積みに変更 */
        gap: 20px;
    }

    /* スマホでのVisionの高さ確保 */
    .card--vision {
        height: 300px;
    }
}

/* -------------------------
   VISION Page Styles
------------------------- */
/* サブpageの余白設定 */
.subpage {
    padding-top: 80px; /* ヘッダーの高さ分 */
    background-color: #000; /* 全体背景を黒に */
    min-height: 100vh; /* 最低でも画面いっぱいの高さ */
}

/* ヒーローエリア（シンプルデザイン） */
.vision-hero {
    width: 100%;
    /* 高さを少し抑えめにして、すっきりさせる */
    padding: 60px 20px 40px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000; /* 背景は真っ黒 */
}

/* ↓ 背景画像設定は削除しました ↓ */
/* .vision-hero__bg { ... } */

.vision-hero__content {
    text-align: center; /* テキストを中央寄せ */
    color: #fff;
}

/* ↓ 旧ラベル設定は削除しました ↓ */
/* .vision-hero__label { ... } */

/* メインタイトル (- VISION -) */
.vision-hero__title {
    font-family: 'Cinzel', serif; /* セリフ体 */
    font-size: 32px;            /* 大きめのフォント */
    font-weight: 400;           /* あえて細くして洗練された印象に */
    letter-spacing: 0.1em;      /* 文字間隔を広めに */
    margin-bottom: 6px;        /* サブタイトルとの隙間 */
}

/* サブタイトル (日本語) */
.vision-hero__subtitle {
    font-family: "Zen Old Mincho", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #ccc; /* 少しグレーにして階層をつける */
}

/* 文章エリア */
.vision-container {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

/* ↓ リード文のデザインも少し調整して統一感を出す ↓ */
.vision-lead {
    font-size: 22px;
    line-height: 2;
    margin-bottom: 60px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 境界線を薄く */
    padding-bottom: 40px;
    font-weight: 500;
}

.vision-text {
    font-size: 16px;
    line-height: 2.2;
    margin-bottom: 40px;
    /* text-align: justify; <-- 両端揃えは好みが分かれるので一旦解除 */
    color: #ddd;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .vision-hero {
        padding: 80px 20px 60px; /* 余白を調整 */
    }
    .vision-hero__title {
        font-size: 32px; /* スマホでは少し小さく */
    }
    .vision-hero__subtitle {
        font-size: 16px;
    }
    .vision-lead {
        font-size: 18px;
        text-align: left;
    }
}
/* style.css の末尾に追加 */

/* --- サイン風ロゴのスタイル --- */
.vision-signature {
    text-align: right;   /* 画像を右寄せにする */
    margin-top: 60px;    /* 本文との間に余白を空ける */
    margin-bottom: 20px; /* 下の余白 */
    padding-right: 10px; /* 画面端ギリギリにならないように */
}

.vision-signature img {
    width: 150px;       /* ロゴの幅（お好みで調整してください） */
    height: auto;       /* 比率を保持 */
    opacity: 0.9;       /* 完全に真っ白より少し落とすと馴染みます */

    /* ↓ お好みで有効化：少し傾けてスタンプっぽくする場合 */
    /* transform: rotate(-5deg); */
}

/* スマホでの調整 */
@media (max-width: 768px) {
    .vision-signature {
        margin-top: 40px;
    }
    .vision-signature img {
        width: 120px; /* スマホでは少し小さく */
    }
}

/* style.css の末尾に追加 */

/* --- TOPに戻るボタンのエリア --- */
.vision-btn-area {
    margin-top: 80px;  /* サインとの距離 */
    text-align: center; /* 中央寄せ */
}

/* ボタン本体のデザイン */
.btn-back-top {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 280px;       /* ボタンの幅（お好みで調整） */
    padding: 15px 0;    /* 上下の厚み */
    border: 1px solid rgba(255, 255, 255, 0.4); /* 薄い白の枠線 */
    color: #fff;
    text-decoration: none;
    font-family: "Zen Old Mincho", sans-serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    position: relative; /* 矢印の位置基準 */
    transition: all 0.3s ease;
}

/* ホバー時の動き（背景を白く、文字を黒く） */
.btn-back-top:hover {
    background-color: #fff;
    color: #000;
}

/* 矢印アイコン（CSSで作る「く」の字） */
.btn-back-top::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;  /* 文字色と同じ色にする */
    border-right: 1px solid currentColor;
    transform: rotate(45deg); /* 回転させて矢印にする */
    position: absolute;
    right: 25px; /* 右端からの距離 */
    top: 50%;
    margin-top: -4px; /* 垂直中央補正 */
    transition: right 0.3s; /* 矢印が動くアニメーション用 */
}

/* ホバー時に矢印が少し右に動く演出 */
.btn-back-top:hover::after {
    right: 20px;
}
/* -------------------------
   ABOUT Page Styles
------------------------- */

/* ヒーローエリア（VISIONと共通のデザイン思想） */
.about-hero {
    width: 100%;
    padding: 60px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
}

.about-hero__title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 10px;
}

.about-hero__subtitle {
    font-family: "Zen Old Mincho", sans-serif;
    font-size: 14px;
    color: #999;
}

/* コンテンツエリア */
.about-container {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 40px;
}

/* 個別のセクション（MISSION, STRENGTH, TARGET） */
.about-section {
    margin-bottom: 100px; /* セクション間の余白 */
}

/* セクションヘッダー（左側に番号とタイトル） */
.about-section__head {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.about-section__num {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #777; /* 番号は少し暗くして背景に馴染ませる - コントラスト改善 */
}

.about-section__title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    letter-spacing: 0.1em;
    color: #fff;
}

.about-section__jp {
    font-size: 13px;
    color: #888;
    margin-left: auto; /* 右寄せにする */
}

/* セクション本文 */
.about-section__body {
    padding-left: 50px; /* 少しインデントして階層を作る */
}

.about-lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #fff;
}

.about-text {
    font-size: 15px;
    line-height: 2;
    color: #ccc;
    margin-bottom: 20px;
}

/* TOPに戻るボタンエリア（VISIONページと共通化しても良いですが念のため記述） */
.about-btn-area {
    text-align: center;
    margin-top: 40px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .about-container {
        padding: 0 20px;
    }

    .about-section__body {
        padding-left: 0; /* インデント解除 */
    }

    .about-section__head {
        flex-wrap: wrap; /* タイトルが長ければ折り返し */
    }

    .about-section__jp {
        margin-left: 0;
        width: 100%;
        margin-top: 5px;
    }

    .about-lead {
        font-size: 18px;
    }
}

/* -------------------------
   NEWS Page Styles (Dedicated)
   ※ indexページのスタイルには影響しません
------------------------- */

/* NEWSページのヒーローエリア */
.news-hero {
    width: 100%;
    padding: 60px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
}

.news-hero__title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 10px;
}

.news-hero__subtitle {
    font-family: "Zen Old Mincho", sans-serif;
    font-size: 14px;
    color: #ccc;
}

/* NEWSページのコンテナ */
.news-page-container {
    max-width: 900px; /* 少し幅広に */
    margin: 0 auto 100px;
    padding: 0 40px;
}

.news-page-heading {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #fff;
    font-family: "Zen Old Mincho", sans-serif;
}

/* ニュースアーカイブリスト */
.news-archive-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 各ボックスの間隔 */
}

/* 個別のニュース記事ボックス */
.news-archive-item {
    border: 1px solid #333; /* 暗いグレーの枠線 */
    border-radius: 8px;     /* 角丸 */
    padding: 30px;
    background-color: #050505; /* 背景はほぼ黒 */
    transition: border-color 0.3s ease;
}

.news-archive-item:hover {
    border-color: #666; /* ホバー時に枠線を明るく */
}

/* 日付 */
.news-archive-date {
    display: block;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
}

/* タイトル */
.news-archive-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* 説明文（ある場合） */
.news-archive-desc {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-top: 10px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .news-page-container {
        padding: 0 20px;
    }
    .news-archive-item {
        padding: 20px;
    }
    .news-archive-title {
        font-size: 16px;
    }
}
/* -------------------------
   CONTACT Page Styles
------------------------- */

/* ヒーローエリア（NEWSなどと共通のベース） */
.contact-hero {
    width: 100%;
    padding: 60px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
}

.contact-hero__title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 10px;
}

.contact-hero__subtitle {
    font-family: "Zen Old Mincho", sans-serif;
    font-size: 14px;
    color: #ccc;
}

/* コンテンツエリア */
.contact-container {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 40px;
}

.contact-lead {
    text-align: center;
    font-size: 15px;
    line-height: 2;
    color: #ccc;
    margin-bottom: 60px;
}

/* フォーム本体 */
.contact-form {
    width: 100%;
}

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

.form-label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.form-required {
    color: #fff; /* 必須マークの色 */
    margin-left: 5px;
}

/* 入力フィールド（共通） */
.form-input,
.form-textarea {
    width: 100%;
    background-color: transparent; /* 背景透明 */
    border: 1px solid #444;       /* 暗いグレーの枠線 */
    border-radius: 4px;
    padding: 15px;
    font-size: 16px;
    color: #fff;
    font-family: "Zen Old Mincho", sans-serif;
    transition: border-color 0.3s ease;
    outline: none; /* デフォルトの青い枠を消す */
}

/* フォーカス時（入力中） */
.form-input:focus,
.form-textarea:focus {
    border-color: #fff; /* 枠線を白く */
}

/* テキストエリアの高さ */
.form-textarea {
    height: 200px;
    resize: vertical; /* 縦方向のみリサイズ許可 */
}

/* プレースホルダーの色変更（薄くする） */
::placeholder {
    color: #888; /* コントラスト改善: #555から変更 */
    opacity: 1;
}

/* 送信ボタンエリア */
.form-btn-area {
    margin-top: 50px;
    text-align: center;
}

/* 送信ボタン */
.btn-submit {
    display: inline-block;
    width: 280px;
    padding: 15px 0;
    background-color: #fff; /* 白背景 */
    color: #000;           /* 黒文字 */
    border: 1px solid #fff;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: transparent; /* 背景を透明に */
    color: #fff;                  /* 文字を白に */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .contact-container {
        padding: 0 20px;
    }
    .sp-only {
        display: none; /* スマホで改行を消す場合など */
    }
}
.form-status {
    margin-top: 12px;
    font-size: 14px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.form-status--success {
    background-color: rgba(100, 255, 150, 0.1);
    border: 1px solid rgba(100, 255, 150, 0.3);
    color: #66ff99;
}

.form-status--error {
    background-color: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ff6666;
}


/* -------------------------
   Global Navigation (Menu Overlay)
------------------------- */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 90;

    /* 初期状態は隠す */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;

    /* 中身を中央寄せ */
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-nav.is-active {
    opacity: 1;
    visibility: visible;
}

.global-nav__list {
    list-style: none;
    text-align: center;
    width: 100%; /* 幅を確保 */
}

.global-nav__item {
    margin-bottom: 40px; /* 項目ごとの間隔を広めに */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* メニューが開いた時のアニメーション遅延 */
.global-nav.is-active .global-nav__item { opacity: 1; transform: translateY(0); }
.global-nav.is-active .global-nav__item:nth-child(1) { transition-delay: 0.1s; }
.global-nav.is-active .global-nav__item:nth-child(2) { transition-delay: 0.15s; }
.global-nav.is-active .global-nav__item:nth-child(3) { transition-delay: 0.2s; }
.global-nav.is-active .global-nav__item:nth-child(4) { transition-delay: 0.25s; }
.global-nav.is-active .global-nav__item:nth-child(5) { transition-delay: 0.3s; }
.global-nav.is-active .global-nav__item:nth-child(6) { transition-delay: 0.35s; }
.global-nav.is-active .global-nav__item:nth-child(7) { transition-delay: 0.4s; }

/* リンクのデザイン */
.global-nav__item a {
    text-decoration: none;
    display: flex;        /* 縦並びにするためにFlexboxを使用 */
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s;
}

.global-nav__item a:hover {
    opacity: 0.7; /* ホバー時に少し薄く */
}

/* 英語部分 (- TOP -) */
.global-nav__en {
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 28px; /* 画像に合わせて大きめに */
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 5px; /* 日本語との隙間 */
}

/* 日本語部分 (トップページ) */
.global-nav__jp {
    color: #ccc; /* 真っ白ではなく少しグレーに */
    font-family: "Zen Old Mincho", sans-serif;
    font-size: 13px;
    letter-spacing: 0.05em;
}

/* -------------------------
   Z-index & Body Scroll Lock
------------------------- */
.header__menu-btn {
    z-index: 110;
}

body.is-fixed {
    overflow: hidden;
}

/* スマホ対応（少し詰める） */
@media (max-width: 768px) {
    .global-nav__item {
        margin-bottom: 30px;
    }
    .global-nav__en {
        font-size: 24px;
    }
    .global-nav__jp {
        font-size: 12px;
    }
}


/* =========================================
   Responsive Styles (Mobile & Tablet)
   ここから下を style.css の末尾に貼り付けてください
   ========================================= */

@media (max-width: 768px) {

    /* --- 全体の調整 --- */

    /* コンテンツの左右余白を狭くする（画面を広く使うため） */
    .header__inner,
    .footer__inner,
    .main,
    .vision-container,
    .about-container,
    .news-page-container,
    .contact-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* --- ヘッダー --- */

    .header__logo img {
        height: 50px; /* スマホではロゴを小さく */
    }

    .header__lang {
        font-size: 14px; /* 言語切り替えの文字を小さく */
        margin-right: 15px;
    }

    .header__lang-divider {
        height: 14px;
        margin: 0 10px;
    }

    /* --- トップページ (HOME) --- */

    /* スマホでは「1画面固定」を解除して、縦スクロールできるようにする */
    .home {
        height: auto;
        overflow-y: auto;
    }

    .main {
        padding-top: 100px; /* ヘッダー被り防止 */
        padding-bottom: 60px;
        display: block; /* Flex解除 */
    }

    .grid-container {
        display: flex;
        flex-direction: column; /* グリッドをやめて縦積みに */
        gap: 20px;
    }

    /* カードの高さ調整 */
    .card {
        min-height: auto; /* 高さ制限解除 */
    }

    .card__content {
        padding: 25px; /* 内側の余白を少し減らす */
    }

    /* VISIONカード（一番上の大きな画像） */
    .card--vision {
        height: 250px; /* スマホでの高さを指定 */
    }

    .card__heading {
        font-size: 24px; /* タイトル文字サイズ調整 */
    }

    /* NEWSカード */
    .news-item {
        flex-direction: column; /* 日付とタイトルを縦並びに */
        align-items: flex-start;
        gap: 5px;
    }

    .news-date {
        font-size: 11px;
        opacity: 0.7;
    }

    /* --- 各サブページ共通 --- */

    /* ヒーローエリア（タイトル部分） */
    .vision-hero,
    .about-hero,
    .news-hero,
    .contact-hero {
        padding: 100px 20px 40px; /* 上の余白を確保 */
    }

    .vision-hero__title,
    .about-hero__title,
    .news-hero__title,
    .contact-hero__title {
        font-size: 28px; /* タイトルを少し小さく */
    }

    /* --- ABOUTページ --- */

    .about-section__head {
        flex-direction: column; /* 番号・タイトル・日本語を縦積みに */
        align-items: flex-start;
        gap: 5px;
    }

    .about-section__jp {
        margin-left: 0;
        margin-top: 5px;
    }

    .about-section__body {
        padding-left: 0; /* インデント解除 */
    }

    .about-lead {
        font-size: 18px;
        line-height: 1.6;
    }

    /* --- CONTACTページ --- */

    .form-input,
    .form-textarea {
        font-size: 16px; /* スマホで入力時にズームしないための対策 */
        padding: 12px;
    }

    .btn-submit {
        width: 100%; /* ボタンを横幅いっぱいに */
    }

    /* --- フッター --- */

    .footer {
        padding: 40px 0;
    }

    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer__right {
        align-items: flex-start; /* 右側の要素も左寄せに */
        width: 100%;
    }

    .footer__socials {
        justify-content: flex-start;
    }
}
