@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Hina+Mincho&family=IM+Fell+English+SC&family=Pinyon+Script&display=swap');

body {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: 'Hina Mincho', serif;
    line-height: 2.2;
    letter-spacing: 0.1em;
    overflow-x: hidden; 
    background: linear-gradient(135deg, #050505, #141736, #000000);
    background-size: 400% 400%; 
    animation: gradientBackground 15s ease infinite;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header {
    padding: 30px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
}
.menu-btn {
    width: 35px;
    height: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-btn span {
    display: block;
    height: 1px;
    background-color: #ffffff;
}

/* -----------------------------------
   動く画像＋重なる英語（ヒーローセクション）
----------------------------------- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background-image: url('/wp-content/uploads/2026/08/6.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) sepia(0.6) hue-rotate(340deg) saturate(0.5);
    /* ここの秒数を25sから15sに変更して少し早めた */
    animation: panBg 15s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes panBg {
    0% { transform: translateX(4%); }
    100% { transform: translateX(-4%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1000px;
    text-align: left;
    padding-left: 5%;
}

.hero-text-small {
    font-family: 'Pinyon Script', cursive;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-text-small p {
    margin: 0 0 10px 0;
}

.hero-title {
    font-family: 'IM Fell English SC', serif;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.15em;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* -----------------------------------
   白い線の調整
----------------------------------- */
.central-line-wrapper {
    position: relative; 
    width: 4px;
    height: 120px;
    margin: 20px auto 50px;
    z-index: 1;
}

.central-line {
    position: absolute;
    width: 100%;
    background-color: #ffffff;
    clip-path: polygon(50% 0, 50% 0, 100% 100%, 0 100%);
    animation: drawLine 4s ease-in-out infinite;
}

@keyframes drawLine {
    0% { height: 0; top: 0; }
    20% { height: 100%; top: 0; }
    80% { height: 100%; top: 0; }
    100% { height: 0; top: 100%; }
}

/* -----------------------------------
   文字の配置（中央揃え）
----------------------------------- */
.story-section {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.main-title {
    font-family: 'IM Fell English SC', serif;
    font-size: 3.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 5px;
    font-weight: 400;
}

.subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 0.2em;
}

.highlight {
    font-size: 1.6rem;
    margin: 20px 0;
}

/* -----------------------------------
   ギャラリー部分のデザイン
----------------------------------- */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1100px; 
    margin: 60px auto;
    padding: 40px 20px;
}

.gallery-item {
    position: relative;
    width: 220px;
    height: 310px;
    margin: -15px; 
    z-index: 1;
}

.gallery-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    display: block;
    filter: brightness(0.6) sepia(0.5);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
    transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
}

/* --- 写真の傾きをバラバラ（ランダム風）に見せる魔法 --- */
.gallery-item:nth-child(1n) img { transform: translate(-50%, -50%) rotate(-4deg); }
.gallery-item:nth-child(2n) img { transform: translate(-50%, -50%) rotate(5deg); }
.gallery-item:nth-child(3n) img { transform: translate(-50%, -50%) rotate(-6deg); }
.gallery-item:nth-child(4n) img { transform: translate(-50%, -50%) rotate(3deg); }
.gallery-item:nth-child(5n) img { transform: translate(-50%, -50%) rotate(-3deg); }
.gallery-item:nth-child(7n) img { transform: translate(-50%, -50%) rotate(7deg); }
.gallery-item:nth-child(11n) img { transform: translate(-50%, -50%) rotate(-8deg); }

/* カーソルを合わせた時の動き（浮かび上がる） */
.gallery-item:hover {
    z-index: 10; 
}

.gallery-item:hover img {
    transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
    filter: brightness(1.1) sepia(0);
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
    cursor: pointer; 
}

/* -----------------------------------
   クリックして中央表示（ライトボックス）
----------------------------------- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.9); 
    cursor: zoom-out;
}

.lightbox-img {
    position: relative;
    z-index: 2;
    width: 85vw;
    max-width: 1000px;
    height: calc(85vw * 9 / 16);
    max-height: 562.5px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    /* 変更前: border-radius: 2px; */
    /* 変更後: 数値を大きくして角を丸くする */
    border-radius: 15px; 
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

/* -----------------------------------
   Back to Top ボタンのデザイン（中央配置修正版）
----------------------------------- */
.back-to-top-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 0 40px 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.back-to-top-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #dfc184;
    text-decoration: none;
    padding: 12px 35px;
    border: 1px solid rgba(223, 193, 132, 0.4);
    /* 黒の塗りつぶしをやめて、背景に溶け込む透明（またはごく薄い色）に変更 */
    background-color: transparent; 
    border-radius: 2px;
    transition: all 0.4s ease;
    display: inline-block;
}

/* マウスを乗せた時の輝き */
.back-to-top-btn:hover {
    color: #f7e6c4;
    border-color: #dfc184;
    background-color: rgba(223, 193, 132, 0.1);
    box-shadow: 0 0 20px rgba(223, 193, 132, 0.3);
}

/* -----------------------------------
   洗練されたハンバーガーメニュー（本家仕様）
----------------------------------- */
.mirage-menu-trigger { 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.8s ease, visibility 0.8s ease; 
    position: fixed; 
    top: 40px; 
    right: 40px; 
    width: 40px; 
    height: 40px; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    z-index: 10000; 
    padding: 0; 
}

.mirage-menu-trigger.is-show { 
    opacity: 1; 
    visibility: visible; 
}

.inner-circle { 
    width: 100%; 
    height: 100%; 
    border: none !important; 
    background: transparent !important; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    gap: 7px; 
    position: relative; 
    transition: all 0.3s ease; 
}

.bar { 
    width: 32px; 
    height: 1px; 
    /* 金色から白に変更 */
    background-color: #ffffff; 
    transition: all 0.4s ease; 
    transform-origin: center; 
}

.mirage-menu-trigger:hover .bar { 
    background-color: #ffffff; 
    filter: drop-shadow(0 0 8px rgba(189, 160, 106, 0.8)); 
}

.mirage-menu-trigger.is-open .bar-top { 
    transform: translateY(8px) rotate(45deg); 
    /* 開いた時の線も白に変更 */
    background-color: #ffffff; 
}

.mirage-menu-trigger.is-open .bar-mid { 
    opacity: 0; 
}

.mirage-menu-trigger.is-open .bar-bot { 
    transform: translateY(-8px) rotate(-45deg); 
    /* 開いた時の線も白に変更 */
    background-color: #ffffff; 
}

/* 全画面メニューオーバーレイ */
.mirage-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.95);
    z-index: 9998;
    display: none;
    opacity: 0;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mirage-nav-overlay.is-active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.overlay-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.overlay-menu-list li {
    margin: 25px 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.mirage-nav-overlay.is-active .overlay-menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.overlay-menu-list a {
    /* CinzelからIM Fell English SCに変更 */
    font-family: 'IM Fell English SC', serif;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.overlay-menu-list a:hover {
    color: #dfc184;
}

/* -----------------------------------
   FAQページのデザイン
----------------------------------- */
.faq-section {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.faq-category-title {
    font-family: 'Hina Mincho', serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 60px 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(223, 193, 132, 0.4); /* 金色のアンダーライン */
    letter-spacing: 0.1em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background-color: rgba(20, 23, 54, 0.6); /* 深いネイビーの半透明 */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 20px;
    color: #ffffff;
    font-family: 'Hina Mincho', serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(223, 193, 132, 0.1);
}

.faq-q-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #5c62a6; /* 公式のような青紫色 */
    color: #ffffff;
    border-radius: 50%;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.faq-q-text {
    flex-grow: 1;
    line-height: 1.6;
    padding-right: 20px;
}

/* ＋と－が切り替わる十字アイコン */
.faq-toggle-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1px;
    background-color: #dfc184; /* 金色 */
    transform: translate(-50%, -50%);
    transition: transform 0.4s ease;
}

.faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* アコーディオンが開いた時（マイナスになる） */
.faq-item.is-open .faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    max-height: 0; /* 最初は高さを0にして隠す */
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: rgba(0, 0, 0, 0.3);
}

.faq-answer-inner {
    display: flex;
    padding: 0 20px 25px;
}

.faq-a-icon {
    display: inline-flex;
    justify-content: center;
    width: 32px;
    color: #dfc184; /* Aの文字は金 */
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-a-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 2;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 15px;
        font-size: 1rem;
    }
    .faq-q-icon, .faq-a-icon {
        margin-right: 15px;
    }
    .faq-answer-inner {
        padding: 0 15px 20px;
    }
}

/* -----------------------------------
   お問い合わせ・ご意見BOX誘導 セクション
----------------------------------- */
.contact-guidance-section {
    max-width: 1000px;
    margin: 80px auto 60px;
    /* 上下に金色の区切り線を引いて空間を分ける */
    border-top: 1px solid rgba(223, 193, 132, 0.4);
    border-bottom: 1px solid rgba(223, 193, 132, 0.4);
    position: relative;
    z-index: 2;
}

.guidance-container {
    display: flex;
    align-items: stretch; /* 左右の高さをピタッと揃える */
    justify-content: center;
}

.guidance-box {
    flex: 1; /* 左右で50%ずつ綺麗に分ける */
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* PC版の真ん中に入る縦線 */
.guidance-divider {
    width: 1px;
    background-color: rgba(223, 193, 132, 0.4);
}

.guidance-text {
    font-family: 'Hina Mincho', serif;
    font-size: 1.1rem;
    line-height: 2;
    color: #ffffff;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.guidance-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 320px;
    padding: 20px 30px;
    /* ここをさらに暗い深い色に変更 */
    background: linear-gradient(135deg, rgba(40, 45, 80, 0.5), rgba(10, 12, 25, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: 'Hina Mincho', serif;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s ease;
}

/* マウスを乗せた時の色も少しトーンダウン */
.guidance-btn:hover {
    border-color: #dfc184;
    background: linear-gradient(135deg, rgba(60, 65, 110, 0.7), rgba(15, 18, 35, 0.9));
    box-shadow: 0 0 20px rgba(223, 193, 132, 0.3);
    color: #dfc184;
}

/* ボタンの中の矢印（→）をCSSだけで作る */
.btn-arrow {
    position: relative;
    width: 35px;
    height: 1px;
    background-color: #ffffff;
    /* 色の変化に加えて、移動（transform）の動きも滑らかにする */
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.btn-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    /* 背景を透明に固定して、ダイヤになるのを防ぐ */
    background-color: transparent;
    transform: rotate(45deg);
    transition: border-color 0.4s ease;
}

/* マウスを乗せた時の動き（色を金色にして、右へスライド） */
.guidance-btn:hover .btn-arrow {
    background-color: #dfc184;
    /* 矢印全体を右に10pxずらす */
    transform: translateX(10px);
}

.guidance-btn:hover .btn-arrow::after {
    border-color: #dfc184;
}

/* スマホ向けの改行隠し */
.sp-br {
    display: none;
}

/* -----------------------------------
   スマホ表示用の調整（縦一列に並べる）
----------------------------------- */
@media (max-width: 768px) {
    .contact-guidance-section {
        margin: 40px 20px;
    }

    .guidance-container {
        flex-direction: column; /* 縦並びに変更 */
    }

    .guidance-box {
        padding: 40px 10px;
    }

    /* 真ん中の縦線を横線に変更して区切る */
    .guidance-divider {
        width: 100%;
        height: 1px;
    }

    .guidance-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .sp-br {
        display: block; /* スマホの時だけ改行を発動して読みやすくする */
    }
}
/* -----------------------------------
   お問い合わせフォーム (Contact Form 7)
----------------------------------- */
.contact-page-section {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.contact-intro {
    text-align: center;
    font-family: 'Hina Mincho', serif;
    color: #ffffff;
    /* 幅を少し狭めて、左右の余白を均等（auto）にしてド真ん中に配置する */
    max-width: 600px;
    margin: 0 auto 70px auto; 
    line-height: 2;
    letter-spacing: 0.1em;
}

.faq-link {
    color: #dfc184;
    text-decoration: none;
    border-bottom: 1px solid #dfc184;
    transition: opacity 0.3s ease;
}

.faq-link:hover {
    opacity: 0.7;
}

.contact-section-title {
    font-family: 'Hina Mincho', serif;
    font-size: 1.4rem;
    color: #dfc184;
    border-bottom: 1px solid rgba(223, 193, 132, 0.4);
    padding-bottom: 10px;
    margin: 60px 0 20px;
    letter-spacing: 0.1em;
}

.contact-note {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 40px;
}

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

.form-group label {
    display: block;
    font-family: 'Hina Mincho', serif;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.form-group label span {
    font-size: 0.8rem;
    color: #a0a0a0;
    margin-left: 10px;
}

.form-group label .required {
    color: #050505;
    background-color: #dfc184;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 15px;
}

/* 入力エリアのデザイン */
.cf7-input, .cf7-select, .cf7-textarea {
    width: 100%;
    background-color: rgba(10, 12, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 15px;
    font-family: 'Hina Mincho', serif;
    font-size: 1rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cf7-textarea {
    height: 200px;
    resize: vertical;
}

/* 入力している時（フォーカス時）は金色に光る */
.cf7-input:focus, .cf7-select:focus, .cf7-textarea:focus {
    outline: none;
    border-color: #dfc184;
    box-shadow: 0 0 15px rgba(223, 193, 132, 0.3);
    background-color: rgba(20, 23, 54, 0.8);
}

/* プルダウンの矢印などの微調整 */
select.cf7-select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23dfc184%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

/* 送信ボタンのラッパー */
.form-submit-area {
    text-align: center;
    margin-top: 60px;
}

/* 送信ボタン本体（以前作った誘導ボタンと同じダークな色合い） */
.wpcf7-submit {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(40, 45, 80, 0.5), rgba(10, 12, 25, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: 'Hina Mincho', serif;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s ease;
}

.wpcf7-submit:hover {
    border-color: #dfc184;
    background: linear-gradient(135deg, rgba(60, 65, 110, 0.7), rgba(15, 18, 35, 0.9));
    box-shadow: 0 0 20px rgba(223, 193, 132, 0.3);
    color: #dfc184;
}

/* CF7特有の不要なメッセージや余白を整える */
.wpcf7-response-output {
    font-family: 'Hina Mincho', serif;
    border-color: #dfc184 !important;
    color: #dfc184;
    margin-top: 30px !important;
}

/* -----------------------------------
   Cocoonのしぶとい白枠と背景を絶対に消し去る最強の魔法
----------------------------------- */
.contact-form-container,
.contact-form-container .wpcf7,
.contact-form-container .wpcf7 form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* 入力エリアがCocoonの設定で白くなるのを防ぐための補強 */
.cf7-input, .cf7-select, .cf7-textarea {
    background-color: rgba(10, 12, 25, 0.6) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.contact-intro {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 70px !important;
    width: 100% !important;
}

.contact-intro p {
    text-align: center !important;
    line-height: 2 !important;
    letter-spacing: 0.1em;
    margin: 0 auto !important;
}

/* -----------------------------------
   フォーム下部の注意事項エリア
----------------------------------- */
.contact-final-box {
    background-color: rgba(20, 23, 54, 0.4);
    border: 1px solid rgba(223, 193, 132, 0.3);
    padding: 30px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
    border-radius: 2px;
}

.final-note-main {
    font-family: 'Hina Mincho', serif;
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 2;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.en-note {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: #dfc184;
    letter-spacing: 0.15em;
    margin-top: 5px;
}

.final-note-sub {
    font-size: 0.85rem;
    color: #a0a0a0;
    line-height: 1.8;
}

/* -----------------------------------
   同意チェックボックスエリア
----------------------------------- */
.contact-acceptance-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ▼ ここを20pxから8pxに変更して、2つの幅（隙間）を狭めたよ ▼ */
    gap: 0px !important; 
    margin-bottom: 20px;
}

.acceptance-item {
    font-family: 'Hina Mincho', serif;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-acceptance-area .wpcf7-list-item {
    display: block !important;
    margin: 0 !important;
}

.contact-acceptance-area label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    cursor: pointer;
}

.contact-acceptance-area input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 15px 0 0 !important;
    accent-color: #dfc184; 
    cursor: pointer;
}

/* -----------------------------------
   用語辞典 (GLOSSARY) ページのデザイン
----------------------------------- */
.glossary-page-section {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 五十音インデックス（目次） */
.glossary-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px; /* 菱形が少し斜めに傾くので隙間を少し広げたよ */
    margin: 40px 0 80px;
}

.glossary-index a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(20, 23, 54, 0.6);
    border: 1px solid rgba(223, 193, 132, 0.4);
    color: #dfc184;
    font-family: 'Hina Mincho', serif;
    font-size: 1.1rem;
    text-decoration: none;
    /* 丸くしていた border-radius を取って、45度回転させることで菱形にする */
    border-radius: 4px;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

/* 文字が一緒に傾いちゃうので、中身の文字だけ元に戻す（まっすぐにする）魔法 */
.glossary-index a span {
    transform: rotate(-45deg);
}

.glossary-index a:hover {
    background-color: #dfc184;
    color: #050505;
    box-shadow: 0 0 15px rgba(223, 193, 132, 0.5);
    transform: rotate(45deg) translateY(-3px);
}

.glossary-index a:hover {
    background-color: #dfc184;
    color: #050505;
    box-shadow: 0 0 15px rgba(223, 193, 132, 0.5);
    transform: translateY(-3px);
}

/* 用語辞典の各行（あ行、か行...）のブロック */
.glossary-block {
    margin-bottom: 80px;
    /* リンクで飛んだ時にヘッダーに隠れないように調整 */
    scroll-margin-top: 100px; 
}

.glossary-row-title {
    font-family: 'Hina Mincho', serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(223, 193, 132, 0.4);
    letter-spacing: 0.1em;
    text-align: center;
}

/* 用語リスト */
.glossary-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.glossary-item {
    background-color: rgba(10, 12, 25, 0.4);
    border-left: 3px solid #dfc184;
    padding: 20px 25px;
    transition: background-color 0.3s ease;
}

.glossary-item:hover {
    background-color: rgba(20, 23, 54, 0.4);
}

.glossary-item dt {
    font-family: 'Hina Mincho', serif;
    font-size: 1.3rem;
    color: #dfc184;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.glossary-item dd {
    font-family: 'Hina Mincho', serif;
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.8;
    margin: 0;
}

/* 誹謗中傷に関する注意事項ボックス */
.contact-warning-box {
    background-color: rgba(30, 15, 20, 0.5); /* ほんのりワインレッドがかったダークな色 */
    border: 1px solid rgba(223, 193, 132, 0.4);
    padding: 25px 30px;
    margin: 40px 0 30px;
    border-radius: 2px;
}

.warning-title {
    font-family: 'Hina Mincho', serif;
    font-size: 1rem;
    color: #dfc184;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0.15em;
}

.warning-text {
    font-family: 'Hina Mincho', serif;
    font-size: 0.9rem;
    color: #d0d0d0;
    line-height: 2;
    letter-spacing: 0.08em;
    text-align: justify;
}

/* -----------------------------------
   プライバシーポリシーページのデザイン（枠なし・すっきり型）
----------------------------------- */
.privacy-page-section {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 外側の大きな枠（.privacy-content-box）自体をなくすため、文字の並びだけを調整 */
.privacy-lead {
    font-family: 'Hina Mincho', serif;
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 2;
    margin-bottom: 50px;
    letter-spacing: 0.08em;
}

.privacy-section-title {
    font-family: 'Hina Mincho', serif;
    font-size: 1.3rem;
    color: #dfc184;
    /* 見出しの下に上品な金色のラインを引く */
    border-bottom: 1px solid rgba(223, 193, 132, 0.4);
    padding-bottom: 12px;
    margin: 50px 0 20px;
    letter-spacing: 0.1em;
}

.privacy-text {
    font-family: 'Hina Mincho', serif;
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 2.2;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}