/*
Theme Name: FKS Re2026
Theme URI: 
Author: 
Description: FK-S企業サイト用オリジナルテーマ - Three.js WebGPU、GSAP、TailwindCSS対応
Version: 1.0.0
License: 
Text Domain: fks-re2026
*/

/* カスタムスタイル */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    overflow-x: hidden;
    letter-spacing: 0.05em;
    background: transparent;
    /* Three.js背景を透過 */
}

/* グラスモーフィズムスタイル */
.glass-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ホバーアニメーションが必要な場合のみ .hoverable クラスを追加 */
.glass-card.hoverable:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ヘッダースクロール効果の強化 */
header {
    opacity: 0;
    transition: opacity 0.6s ease-out, background 0.3s ease, backdrop-filter 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}

header.show {
    opacity: 1;
}

header.glass-nav {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 3Dキャンバスコンテナ */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* クリックを透過 */
}

/* WordPress用のcanvas container */
#background-canvas-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#main3d-canvas-container {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* ライトコントロールパネル */
.slider {
    background: linear-gradient(to right, #4a5568 0%, #e53e3e 50%, #ffa500 100%);
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: none;
}

.preset-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ノイズテクスチャ */
.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* 選択時の色 */
::selection {
    background: #ffffff;
    color: #FF8C00;
}

/* pタグ間の可読性向上 */
p + p {
    margin-top: 1rem;
}

/* スマホ時のpタグフォントサイズ */
@media (max-width: 767px) {
    p {
        font-size: 0.875rem;
        line-height: 1.7;
    }
}

/* Line clamp utilities */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Works Grid Spacing */
.works-grid {
    --row-gap: 6rem;
    --col-gap: 3rem;
    row-gap: var(--row-gap);
    column-gap: var(--col-gap);
}

@media (max-width: 767px) {
    .works-grid {
        --row-gap: 2rem;
        --col-gap: 1rem;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* CSS背景（Three.jsフォールバック） */
:root {
  /* OKLCHで定義（L:明るさ, C:鮮やかさ, H:色相） */
  /* 彩度(C)を0.05〜0.12くらいに抑えて、透明度(0.8)を足してマイルドに！ */
  --night-color: oklch(25% 0.04 260 / 80%);  /* 深い藍色（彩度低め） */
  --dawn-color:  oklch(75% 0.12 40 / 80%);   /* 柔らかい朝焼け */
  --day-color:   oklch(80% 0.08 230 / 80%);  /* 澄んだ空（鮮やかすぎない） */
  --dusk-color:  oklch(65% 0.15 30 / 80%);   /* 落ち着いた夕焼け */
}

.fixed.sky {
    position: fixed !important;
    width: 100vw;
    height: 100vh;
    background: white;
    animation: skyCycle 20s linear infinite;
    pointer-events: none;
}

@keyframes skyCycle {
  /* 夜 → 朝焼け (phaseIndex 0) */
  0% { background-color: var(--night-color); }
  
  /* 朝焼け → 昼間 (phaseIndex 1) */
  25% { background-color: var(--dawn-color); }
  
  /* 昼間 → 夕焼け (phaseIndex 2) */
  50% { background-color: var(--day-color); }
  
  /* 夕焼け → 夜 (phaseIndex 3) */
  75% { background-color: var(--dusk-color); }
  
  /* 夜に戻る (ループ) */
  100% { background-color: var(--night-color); }
}

/* ===== 🌌 MAIN CONTENT INITIAL STATE (SEO SAFE) ===== */

/* メインコンテンツ初期状態 */
main {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    position: relative;
    z-index: 1;
}

main.show {
    opacity: 1;
    visibility: visible;
}

/* タイトル文字スタイル（GSAP制御） */
.title-char {
    display: inline-block;
    transform-origin: bottom;
    opacity: 0;
    transform: translateY(30px);
}

.title-line {
    perspective: 1000px;
    visibility: hidden;
}

/* ページタイトル（h1）のみ大文字化 */
h1 .title-line {
    text-transform: uppercase;
}

/* タイトル初期文字スタイル */
.title-first-letter .title-char:first-child,
.title-char.first-letter {
    color: #e6191a !important;
    /* ロゴ赤色 - GSAP上書き */
}

/* 特定タイトルは白文字保持 */
.title-first-white .title-char:first-child {
    color: white;
    /* 特定ケースで白色 */
}

/* ローディングスクリーン */
#loading-screen {
    background-color: #adb3b3;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.loading-content {
    text-align: center;
    transform: scale(1);
    transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#loading-logo-container {
    width: 200px;
    margin: 0 auto 2rem auto;
    /* 中央揃え */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo {
    width: 180px;
    /* コンテナより少し小さく */
    height: auto;
    max-height: 100px;
    /* 最大高さ制限 */
    transform: translateY(100%);
    animation: logoSlideUp 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards 0.3s;
}

.progress-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #e6191a, #ff4444);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.loading-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-top: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeIn 0.6s ease-out forwards 0.6s;
}

/* Loading screen animations */

@keyframes logoSlideUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.01);
    }
}

.loading-complete {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-out;
}

/* Scroll Indicator Animation */
.scroll-line {
    animation: scrollLine 1.6s ease-out infinite normal;
    transform-origin: top;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        opacity: 0.3;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(1);
        opacity: 0;
    }
}

/* ===== Contact Form 7 Styles ===== */

/* テーブルフォーム全体 */
.contact-form .inq-tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.contact-form .inq-tbl tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.contact-form .inq-tbl th,
.contact-form .inq-tbl td {
    display: block;
    text-align: left;
}

/* ラベル（th） */
.contact-form .inq-tbl th {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 0 0.75rem 0;
    background: transparent;
    border: none;
    vertical-align: top;
}

.contact-form .inq-tbl th.th-textarea {
    padding-top: 0;
}

/* 必須マーク */
.contact-form .inq-tbl .req {
    color: #e6191a;
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

/* 入力欄（td） */
.contact-form .inq-tbl td {
    padding: 0;
}

/* 共通入力スタイル */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

/* ラジオボタン */
.contact-form .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.contact-form .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.contact-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.contact-form .wpcf7-list-item label:hover {
    color: white;
}

.contact-form .wpcf7-list-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin-right: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.contact-form .wpcf7-list-item input[type="radio"]:checked {
    border-color: #e6191a;
    background: transparent;
}

.contact-form .wpcf7-list-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #e6191a;
    border-radius: 50%;
}

/* 承諾チェックボックス */
.contact-form .wpcf7-acceptance {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.contact-form .wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.contact-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-form .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.contact-form .wpcf7-acceptance input[type="checkbox"]:checked {
    border-color: #e6191a;
    background: #e6191a;
}

.contact-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* プライバシーポリシーリンク */
.contact-form .link-policy {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.contact-form .link-policy:hover {
    color: #e6191a;
}

/* 送信ボタン */
.contact-form .btn-wrap {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.contact-form .btn-base,
.contact-form input[type="submit"] {
    display: inline-block;
    padding: 1rem 4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn-base:hover,
.contact-form input[type="submit"]:hover {
    background: white;
    color: #1a2a6c;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.contact-form .btn-base:disabled,
.contact-form input[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* AJAXスピナー */
.contact-form .wpcf7-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: cf7-spin 1s ease-in-out infinite;
    margin-left: 1rem;
    vertical-align: middle;
}

@keyframes cf7-spin {
    to {
        transform: rotate(360deg);
    }
}

/* エラーメッセージ */
.contact-form .wpcf7-not-valid-tip {
    display: block;
    color: #e6191a;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    padding-left: 0.25rem;
}

.contact-form .wpcf7-not-valid {
    border-color: rgba(230, 25, 26, 0.6) !important;
}

/* 送信結果メッセージ */
.contact-form .wpcf7-response-output {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid;
}

.contact-form .wpcf7-validation-errors,
.contact-form .wpcf7-acceptance-missing {
    background: rgba(230, 25, 26, 0.15);
    border-color: rgba(230, 25, 26, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

.contact-form .wpcf7-mail-sent-ok,
.contact-form .wpcf7 form.sent .wpcf7-response-output {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

.contact-form .wpcf7-mail-sent-ng,
.contact-form .wpcf7 form.failed .wpcf7-response-output {
    background: rgba(230, 25, 26, 0.15);
    border-color: rgba(230, 25, 26, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

/* PC表示（横並び） */
@media (min-width: 768px) {
    .contact-form .inq-tbl tr {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-form .inq-tbl th {
        width: 200px;
        flex-shrink: 0;
        padding: 1rem 1.5rem 1rem 0;
    }

    .contact-form .inq-tbl td {
        flex: 1;
    }

    .contact-form .inq-tbl th.th-textarea {
        padding-top: 1rem;
    }
}

/* 電話リンク（PCでは無効化） */
@media (min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/* SP専用改行（PCでは非表示） */
@media (min-width: 768px) {
    br.sp {
        display: none;
    }
}

/* ===== 見出しテンプレートクラス ===== */

/* ページタイトル（h1用）
   元: text-5xl md:text-7xl font-bold tracking-tighter text-white opacity-90 mb-8 */
.heading-page {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: white;
    opacity: 0.9;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .heading-page {
        font-size: 4.5rem;
    }
}

/* セクションタイトル（h2用・大）
   元: text-4xl md:text-5xl font-bold leading-tight mb-8 text-white drop-shadow-lg */
.heading-section {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 2rem;
    color: white;
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}
@media (min-width: 768px) {
    .heading-section {
        font-size: 3rem;
    }
}

/* セクションタイトル（h2用・中）
   元: text-3xl md:text-4xl font-bold leading-tight text-white drop-shadow-lg */
.heading-section-md {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.25;
    color: white;
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}
@media (min-width: 768px) {
    .heading-section-md {
        font-size: 2.25rem;
    }
}

/* カード内タイトル（h3用・大）
   元: text-2xl md:text-3xl font-bold text-white mb-6 leading-tight */
.heading-card {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}
@media (min-width: 768px) {
    .heading-card {
        font-size: 1.875rem;
    }
}

/* カード内タイトル（h3用・小）
   元: text-xl font-bold text-white mb-4 */
.heading-card-sm {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

/* ===== ボタンテンプレートクラス ===== */

/* プライマリボタン（CTA用）
   元: bg-white/10 backdrop-blur-md border border-white/30 text-white font-bold
       px-10 py-3 rounded-full hover:bg-white hover:text-brand-navy
       hover:shadow-[0_0_30px_rgba(255,255,255,0.5)] transition-all
       text-sm uppercase tracking-widest */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: white;
    color: #1a2a6c;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* セカンダリボタン（Learn More用）
   元: inline-flex items-center border border-white/30 rounded-full
       text-sm font-bold text-white px-6 py-2
       hover:bg-white hover:text-brand-navy hover:shadow-[0_0_20px_rgba(255,255,255,0.4)] */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #1a2a6c;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* アウトラインボタン（View All等）
   元: bg-white/10 backdrop-blur-md border border-white/30 text-white font-bold
       px-8 py-3 rounded-full text-sm uppercase tracking-widest */
.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: #1a2a6c;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* ===== カードリンクホバーアニメーション ===== */

/* リンクで囲まれたカード用ホバーエフェクト
   aタグに適用し、内部のglass-cardを持ち上げる */
.card-link {
    display: block;
    transition: transform 0.3s ease;
}

.card-link:hover {
    transform: translateY(-4px);
}

.card-link:hover .glass-card {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ===== モバイルメニュー ===== */

/* ハンバーガーボタン */

.hamburger-line {
    display: block;
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background: white;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.top-line {
    top: 8px;
}

.middle-line {
    top: 50%;
    transform: translate(-50%, -50%);
}

.bottom-line {
    bottom: 8px;
}

/* メニュー開いた時：×に変形 */
#mobile-menu-button.is-active .top-line {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

#mobile-menu-button.is-active .middle-line {
    opacity: 0;
}

#mobile-menu-button.is-active .bottom-line {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
}

/* モバイルメニューオーバーレイ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    background-color: #adb3b3;
    padding-top: 6rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* PC時は常に非表示 */
@media (min-width: 768px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}