/*
Theme Name: Tatsuya & Hina Wedding
Author: Custom
Description: Tatsuya & Hina Wedding Celebration – 既存サイトをWordPress化
Version: 1.0.0
Text Domain: thw
*/

@charset "utf-8";

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif JP', serif;
    color: #4a4a4a;
    line-height: 1.8;
    text-align: center;
}

/* =====================
   loader
===================== */
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgb(252, 251, 249);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOutLoader 0.8s ease forwards 2.5s;
}

.writing-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #cbbba1;
    position: relative;
    white-space: nowrap;
    clip-path: inset(0 100% 0 0);
    opacity: 0.15;
    filter: blur(10px);
    animation:
        wipeText 2.0s ease-out forwards 0.5s,
        fadeBlurText 1.5s ease-out forwards 0.5s;
}

@keyframes wipeText {
    0%   { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}
@keyframes fadeBlurText {
    0%   { opacity: 0.15; filter: blur(10px); }
    100% { opacity: 1; filter: blur(0px); }
}
@keyframes fadeOutLoader {
    0%   { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

/* =====================
   モバイルラッパー
===================== */
.mobile-wrapper {
    width: 100%;
    max-width: 430px;
    background-color: #fcfbf9;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow-x: hidden;
    position: relative;
}

/* =====================
   スライドショーヘッダー
===================== */
.slideshow-header {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #333;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 15s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

@keyframes fade {
    0%   { opacity: 0; }
    10%  { opacity: 0.8; }
    33%  { opacity: 0.8; }
    43%  { opacity: 0; }
    100% { opacity: 0; }
}

.header-content {
    position: relative;
    z-index: 10;
    color: white;
    font-family: "Birthstone", cursive;
    font-weight: 400;
    font-style: normal;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    width: 100%;
    padding: 0 20px;
    line-height: 30px;
}

h1 {
    font-size: 2rem;
    margin: 0;
    letter-spacing: 0.15em;
}

/* =====================
   コンテンツ
===================== */
.content {
    padding: 40px 20px 60px;
}

.section-title {
    font-size: 1.3rem;
    color: #bfa67a;
    margin-bottom: 25px;
    margin-top: 40px;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-title::before, .section-title::after {
    content: "";
    height: 1px;
    width: 30px;
    background-color: #bfa67a;
    margin: 0 10px;
}

/* =====================
   メッセージ
===================== */
.message p {
    font-size: 0.95rem;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

.message-container {
    margin: 0px 10px 30px;
    background: #fff;
    padding: 25px 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

/* =====================
   Date & Place
===================== */
.details { margin-bottom: 60px; }

.details-box {
    margin: 0px 10px 30px;
    background: #fff;
    padding: 25px 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

p.days {
    font-size: 50px;
    font-weight: bold;
}

.details-item {
    margin-bottom: 20px;
}
.details-item:last-child { margin-bottom: 0; }
.details-item strong {
    color: #bfa67a;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* =====================
   カウントダウン
===================== */
.countdown-container {
    background-color: #fff;
    margin: 0px 10px 40px;
    padding: 20px 10px;
    border-radius: 8px;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.lfttd { margin-bottom: 0; }

.countdown-container p {
    font-size: 15px;
    margin-top: 0;
}

.countdown-label {
    font-size: 0.8rem;
    color: #bfa67a;
    margin-bottom: 10px;
    font-weight: bold;
}

#countdown {
    display: flex;
    justify-content: space-around;
}

.cd-item {
    display: flex;
    flex-direction: column;
}

.cd-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a4a4a;
}

.cd-unit {
    font-size: 0.6rem;
    color: #999;
}

/* =====================
   マッサージ・プロフィール画像
===================== */
.massage-img {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: auto;
}

.countdown-img {
    width: 25%;
    max-width: 30%;
    height: auto;
}

.countdown-img2 {
    width: 30%;
    max-width: 30%;
    height: auto;
}

.massage-com img { width: 300px; }
.place-img img   { width: 300px; }

/* =====================
   ナビ固定UI
===================== */
.fixed-ui-wrapper {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 100vh;
    z-index: 100;
    pointer-events: none;
}

.nav-menu {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background-color: rgba(252, 251, 249, 0.98);
    z-index: 90;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-menu.active {
    opacity: 0.95;
    pointer-events: auto;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.nav-menu li { margin: 30px 0; }

.nav-menu a {
    position: relative;
    text-decoration: none;
    color: #a89168;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    display: inline-block;
    padding-bottom: 5px;
    transition: 0.3s;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background-color: #a89168;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after { width: 100%; }

/* =====================
   ハンバーガーボタン
===================== */
.hamburger {
    position: absolute;
    top: 20px; right: 20px;
    width: 48px; height: 48px;
    background-color: rgba(191, 166, 122, 0.9);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    margin: 2.5px 0;
    transition: all 0.3s ease;
}

.hamburger.active {
    background-color: transparent;
    box-shadow: none;
}
.hamburger.active span { background-color: #5d5d5d; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================
   スクロールフェード
===================== */
.js-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.25s ease, transform 1s ease;
}
.js-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   サイトタイトル (サブページ)
===================== */
.site-title {
    font-family: "Birthstone", cursive;
    font-weight: 400;
    font-style: normal;
    position: relative;
    z-index: 10;
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.8);
    width: 100%;
    padding: 0 20px;
    line-height: 30px;
    margin-top: 25px;
}
.site-title a {
    text-decoration: none;
    color: #bfa67a;
}

/* =====================
   プロフィール
===================== */
.profile-container {
    background-color: #fff;
    margin: 0px 10px 40px;
    padding: 20px 10px;
    border-radius: 8px;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.profile img a { width: 300px; }

/* =====================
   タイムライン
===================== */
.timeline-container {
    background-color: #fff;
    margin: 0px 10px 40px;
    padding: 20px 10px;
    border-radius: 8px;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.timeline-container img { width: 300px; }

/* =====================
   クリックヒント
===================== */
.click {
    font-size: 0.75rem;
    color: #bfa67a;
    margin-top: 8px;
}

/* =====================
   Lightbox カスタム
===================== */
.lb-dataContainer { display: none !important; }
.lb-nav          { display: none !important; }

.place-map { width: 260px; margin: 10px; }


/* ==============
席次Search
============== */
/* ページ上ではテーブルを完全に隠す */
.hide-table {
    display: none !important;
}

/* 検索結果を表示するエリアのデザイン（お好みで） */
#seating-result {
    margin-top: 20px;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #333;
    border: 2px solid #eee;
    border-radius: 10px;
    background-color: #f9f9f9;
}




.seating-container {
    background-color: #fff;
    margin: 0px 10px 40px;
    padding: 20px 10px;
    border-radius: 8px;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.seating img a { width: 300px; }
