/*
Theme Name: koyamaike
Theme URI: https://www.koyamaike-yuran.com/
Author: officeイースタイル
Author URI: https://www.koyamaike-yuran.com/
Description: 湖山池遊覧船公式テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koyamaike
*/


/* Base Styles (Minified via performance.php if needed) */
*, ::before, ::after { box-sizing: border-box; }
body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
:root {
    --primary-color: #1a1a1a;
    --accent-color: #0066cc;
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --container-width: 1100px;
    --section-padding: 80px 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#primary {
    flex: 1 0 auto;
}

/* トップページ以外でのヘッダー余白調整 */
body:not(.home) #primary {
    padding-top: 100px;
}

.site-footer {
    flex-shrink: 0;
}

.header-container,
.footer-container,
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.75);
    padding: 1.2rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed; /* Fixed to allow smart hide/show */
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s, box-shadow 0.3s;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.header-transparent {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
}

/* Scrolled state for transparent header */
.site-header.header-transparent.is-scrolled {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.site-header.header-transparent.is-scrolled .main-navigation a,
.site-header.header-transparent.is-scrolled .site-title a {
    color: var(--primary-color);
}

.site-header.header-transparent .main-navigation a,
.site-header.header-transparent .site-title a {
    color: var(--white);
}

.site-title {
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
}

.site-title a {
    text-decoration: none !important;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    transition: opacity 0.3s ease;
    display: block;
}

.site-title a:hover {
    opacity: 0.7;
    text-decoration: none !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px; /* Reduced gap for better fit with nav-wrapper */
}

/* Nav Wrapper (Desktop) */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
}

/* Nav Toggle (Hamburger) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2000;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary-color);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.site-header.header-transparent:not(.is-scrolled) .hamburger-line {
    background-color: var(--white);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); /* 透明背景時の視認性向上 */
}

.nav-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
        background: #2f88e13d;

}

.btn-primary:hover {
    background: #2f88e185;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.site-info {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

/* Full-Screen Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.hero-slider .slide {
    position: absolute;
    top: -40%; /* パララックス用のバッファ拡大 */
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: heroFade 15s infinite;
    will-change: transform;
    transform: translate3d(0, var(--parallax-y, 0), 0);
}

.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 5s; }
.hero-slider .slide:nth-child(3) { animation-delay: 10s; }

@keyframes heroFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

/* Status Badge */
.hero-status-badge {
    display: inline-flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2.5rem;
    color: #fff;
    text-align: left;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4cd964;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 6px;
    box-shadow: 0 0 10px #4cd964;
    animation: statusPulse 2s infinite;
    flex-shrink: 0;
}

.status-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.status-periods {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.status-note {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
    color: var(--accent-light, #70b3ff);
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Scroll Down Button */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.scroll-down-btn {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.scroll-down-btn:hover {
    border-color: #ffffff;
    transform: scale(1.1);
}

.scroll-arrow {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 2px;
    height: 10px;
    background: #ffffff;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    60% { transform: translate(-50%, 15px); opacity: 0; }
    100% { opacity: 0; }
}

/* Section Backgrounds - Premium Refresh */
.section-bg-image {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; 
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* 一律の暗いオーバーレイを廃止し、より繊細なグラデーションへ */
.section-bg-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: -1;
}

/* Ensure text is white in background image sections */
.section-bg-image .section-content,
.section-bg-image .fp-title-large,
.section-bg-image .fp-title-medium,
.section-bg-image .fp-title-section,
.section-bg-image .fp-text-lead,
.section-bg-image .fp-news-date,
.section-bg-image .fp-news-title,
.section-bg-image .fp-news-link,
.section-bg-image .fp-news-empty,
.section-bg-image .fp-btn-outline {
    color: #ffffff !important;
}

/* Ensure button borders are also white in background image sections */
.section-bg-image .fp-btn-outline {
    border-color: #ffffff !important;
}

/* News List Horizontal Layout */
.fp-news-list {
    margin-bottom: 2rem;
    max-width: 800px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto;
}

.fp-news-item {
    display: flex;
    align-items: baseline;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.fp-news-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.fp-news-date {
    font-size: 0.95rem;
    font-weight: 500;
    margin-right: 2.5rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.news-icon-new {
    display: inline-block;
    background-color: #ff3b30; /* 鮮やかな赤 */
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1;
}

.fp-news-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
    text-align: left;
    line-height: 1.5;
}

.fp-news-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.fp-news-link:hover {
    opacity: 0.7;
}

.fp-btn-container {
    margin-top: 3rem;
}

.fp-section-content-centered {
    text-align: center;
    padding: 60px 40px;
}

/* Glassmorphism for Information Blocks */
.fp-section-content-shaded,
.fp-section-content-darker {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
    max-width: 900px !important;
    margin: 60px auto !important;
}

.fp-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.fp-title-medium {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.fp-text-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.fp-title-section {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

/* Features Section */
.section-features {
    padding: 120px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: #fdfdfd;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    color: var(--accent-color);
}

.feature-icon svg {
    width: 64px;
    height: 64px;
    stroke-width: 1.5;
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* FAQ Section */
.section-faq {
    padding: 120px 0;
    background: #fdfdfd;
}

.faq-list {
    max-width: 850px;
    margin: 60px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--accent-color);
}

/* Reveal Animations */
.reveal-fade,
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-fade.is-visible,
.reveal-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* より緩やかなフェードイン（動きなし） */
.reveal-slow-fade {
    opacity: 0;
    transition: opacity 3.5s ease-in-out;
    will-change: opacity;
}

.reveal-slow-fade.is-visible {
    opacity: 1;
}

/* Reveal Delays */
.reveal-delay-1 { transition-delay: 0.3s; }
.reveal-delay-2 { transition-delay: 0.6s; }
.reveal-delay-3 { transition-delay: 0.9s; }
.reveal-delay-4 { transition-delay: 1.2s; }
.reveal-delay-5 { transition-delay: 1.5s; }

.faq-question {
    padding: 24px 30px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    user-select: none;
    transition: background-color 0.2s;
}

.access-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start; /* 開始位置を揃える */
}

.access-icon {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 6px; /* h4の1行目と中央を揃えるための微調整（適正値への戻し） */
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.faq-icon svg {
    width: 22px;
    height: 22px;
}

.faq-question-text {
    flex: 1;
}

.faq-question::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-left: 20px;
}

.faq-item.is-open .faq-question::after {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 30px;
    color: #666;
    line-height: 1.8;
}

.faq-item.is-open .faq-answer {
    max-height: 500px; /* 適切な高さ */
    padding: 0 30px 24px;
}


/* Scroll Animation Styles */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fp-gallery-heading {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 0.1em;
}

.section-01-bg {
    background-image: url('img/bg-intro1.jpg');
    min-height: 650px;
    background-position: center 80%; /* 画像の下部を表示（画像自体を上にあげる）して船を見えやすく調整 */
}

.section-02-bg {
    background-image: url('img/photo13.jpg');
    min-height: 700px;
    padding: 100px 0;
}

.section-03-bg {
    background-image: url('img/photo12.jpg');
    background-size: cover;
    background-position: center;
    min-height: 400px;
    padding: 100px 0;
}

/* Photo Gallery */
.section-photo-gallery {
    padding: 100px 0 !important; /* Restore vertical padding */
}

.section-photo-gallery .section-content {
    max-width: 100%; /* Full width */
    padding: 0;      /* Remove content padding */
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px; /* Minimum gap for tile look */
    padding: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0; /* Remove rounded corners for Instagram look */
    aspect-ratio: 1 / 1; /* Square images like Instagram */
    cursor: pointer;
    box-shadow: none;
    transition: filter 0.3s ease;
}

.gallery-item:hover {
    z-index: 1;
    filter: brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}



/* --- Access & Info Section (Parallax Overhaul) --- */
.section-access {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: #000;
}

/* パララックス用背景レイヤー */
.section-access::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: url('img/photo09.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
    transform: translate3d(0, var(--parallax-y, 0), 0);
}

/* オーバーレイ */
.section-access::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.section-access .section-content {
    position: relative;
    z-index: 3;
}

.section-access .fp-gallery-heading {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.access-flex {
    display: flex;
    gap: 40px;
    align-items: stretch;
    padding-left: 5%;
    padding-right: 5%;
}

.access-map {
    flex: 1.6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.access-info {
    flex: 0.9;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.access-header {
    margin-bottom: 40px;
}

.access-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.access-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.access-item {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}

.access-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    margin-top: 15px;
}

.access-detail h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.access-detail p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.bus-routes {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.bus-routes li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #555;
}

.bus-routes li::before {
    content: '窶｢';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.access-phone-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.access-phone-btn:hover {
    background: #0052a3;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.access-phone-btn svg {
    margin-right: 12px;
}



/* --- Booking Page: Ultra-Modern Designer Overhaul (莉企｢ｨ) --- */
.page-yoyaku {
    background-color: #ffffff;
    font-family: 'Inter', 'Outfit', sans-serif;
}

/* Immersive Editorial Hero */
.yoyaku-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 100px 10%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%), url('img/yoyaku_hero_bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: left;
    margin-bottom: 0px;
}

.yoyaku-hero-content {
    max-width: 800px;
    z-index: 5;
}

.yoyaku-hero-content .subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.yoyaku-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* Floating Info Section */
.yoyaku-main-content {
    margin-top: -80px;
    padding-bottom: 150px;
    z-index: 10;
    position: relative;
}

.yoyaku-intro-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
}

.yoyaku-intro-card {
    flex: 1;
    background: #fff;
    padding: 50px;
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

.yoyaku-intro-card h2 {
    font-size: 2.22rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    color: var(--primary-color);
}

/* Data List Style */
.data-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.data-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.data-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Premium Floating Note */
.floating-notice {
    flex: 0.4;
    background: var(--primary-color);
    color: #fff;
    padding: 50px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.15);
}

.floating-notice h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 800;
}

.floating-notice p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Modern Calendar UI Placeholder */
.calendar-wrap {
    background: #fff;
    border-radius: 40px;
    padding: 80px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.06);
    text-align: center;
}

.calendar-header {
    margin-bottom: 50px;
}

.calendar-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.calendar-ui-mock {
    aspect-ratio: 16 / 9;
    background: #f8fafd;
    border-radius: 24px;
    border: 1px solid #eef2f8;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-sticky-bar {
    margin-top: 80px;
    padding: 30px 40px;
    background: #f0f6ff;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-sticky-bar .text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-modern-call {
    background: var(--primary-color);
    color: #fff !important;
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.1);
}

.btn-modern-call:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.2);
}


/* Footer (Parallax Continuity) */
.site-footer#colophon {
    position: relative !important;
    color: #ffffff !important;
    padding: 100px 0 !important;
    text-align: center !important;
    overflow: hidden !important;
    display: block !important;
    margin-top: 0 !important;
    background-color: #000;
}

/* パララックス用背景レイヤー (bg-footer.pngは不要とのことなので削除) */
.site-footer#colophon::before {
    display: none !important;
}

/* オーバーレイ */
.site-footer#colophon::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    z-index: 2 !important;
}

.site-footer#colophon .footer-container,
.site-footer#colophon .site-info {
    position: relative !important;
    z-index: 2 !important;
}

.site-footer#colophon .site-info p {
    font-size: 15px !important;
    letter-spacing: 0.15em !important;
    opacity: 0.9 !important;
    margin: 0 !important;
    color: #ffffff !important;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.arrow-up {
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: 5px;
}

.site-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Mobile Menu Premium Redesign (Integrated to Main CSS for reliability)
   ========================================================================= */
@media (max-width: 768px) {
    /* Overlay Base */
    body .site-header .nav-wrapper {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: #ffffff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important; /* Changed: center -> flex-start */
        justify-content: flex-start !important;
        z-index: 1500 !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        padding: 100px 40px 60px !important; /* Kept generous side padding for left align */
    }

    /* Active State Overlay */
    body .site-header .nav-wrapper.is-active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Navigation List */
    body .site-header .main-navigation {
        width: 100% !important;
        max-width: 320px !important;
        margin-bottom: 2.5rem !important;
    }

    body .site-header .main-navigation ul {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body .site-header .main-navigation ul li {
        width: 100% !important;
        list-style: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.06) !important;
    }

    body .site-header .main-navigation ul li:last-child {
        border-bottom: none !important;
    }

    body .site-header .main-navigation ul li a {
        display: block !important;
        padding: 2.2rem 0 !important;
        font-size: 1.3rem !important;
        font-weight: 800 !important;
        color: #1a1a1a !important;
        text-decoration: none !important;
        text-align: left !important; /* Reverted back to left as per latest request */
        transition: all 0.3s ease !important;
    }

    body .site-header .main-navigation ul li a:active {
        background-color: rgba(0,0,0,0.04) !important;
        opacity: 0.7 !important;
    }

    /* Header CTA Button (Mobile) */
    body .site-header .header-cta {
        margin-top: 1rem !important;
        width: 100% !important;
        display: flex !important;
        justify-content: flex-start !important; /* Changed: center -> flex-start */
    }

    body .site-header .header-cta .btn-modern {
        background: #002244 !important; /* Premium Dark Navy */
        color: #ffffff !important;
        padding: 18px 45px !important;
        font-size: 1.1rem !important;
        border-radius: 100px !important;
        font-weight: 800 !important;
        box-shadow: 0 15px 30px rgba(0, 34, 68, 0.25) !important;
        width: 100% !important; /* More natural for left alignment */
        max-width: 280px !important;
        text-align: center !important;
        text-decoration: none !important;
        display: block !important;
    }

    /* Menu Icons Styling */
    .menu-item-inner {
        display: inline-flex !important;
        align-items: center !important;
        gap: 15px !important;
        justify-content: flex-start !important; /* Changed: center -> flex-start */
    }

    .menu-svg-icon {
        width: 22px !important;
        height: 22px !important;
        opacity: 0.8 !important;
        color: var(--primary-color) !important;
        stroke-width: 1.8px !important;
    }

    .menu-item-text {
        font-weight: 800 !important;
    }
}
