@charset "UTF-8";

/* ====================================
   Variables & Reset
   ==================================== */
:root {
    /* Colors */
    --c-main: #0D1642;       /* 深いネイビー (信頼、知性) */
    --c-accent: #C5A059;     /* シャンパンゴールド (高級感) */
    --c-accent-hover: #D4AF37;
    --c-text: #333333;       /* メインテキスト */
    --c-text-light: #666666; /* サブテキスト */
    --c-bg: #FFFFFF;
    --c-bg-light: #F8F9FA;   /* 薄いグレー背景 */
    
    /* Fonts */
    --f-serif: 'Shippori Mincho', serif;
    --f-sans: 'Noto Sans JP', sans-serif;
    
    /* Layout */
    --header-h: 80px;
    --header-h-sp: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* 年配の方も見やすいよう、基準フォントサイズを少し大きめに */
    font-size: 17px; 
}

body {
    font-family: var(--f-sans);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    padding-bottom: 80px; /* スマホ固定フッター分 */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s, color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====================================
   Common Utilities
   ==================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.sp-only { display: block; }
.pc-only { display: none; }

@media (min-width: 769px) {
    .sp-only { display: none; }
    .pc-only { display: block; }
}

/* Fade Up Animation */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.js-fade-up.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* English Decoration Text */
.en-title-deco {
    display: block;
    color: var(--c-accent);
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

/* Larger Text Body for Seniors */
.text-body-large {
    font-size: 1.05rem;
    line-height: 2;
}

/* ====================================
   Header
   ==================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: height 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo a {
    font-family: var(--f-serif);
    font-size: 1.4rem;
    color: var(--c-main);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.premium-text {
    color: var(--c-accent);
    font-style: italic;
    font-family: serif;
    margin-left: 5px;
    font-size: 1.2rem;
}

.main-nav ul {
    display: none; /* SP default */
}

@media (min-width: 1024px) {
    .main-nav ul {
        display: flex;
        align-items: center;
        gap: 30px;
        list-style: none;
    }
    
    .main-nav a {
        font-family: var(--f-sans); /* 日本語なのでゴシックで見やすく */
        font-weight: 500;
        font-size: 0.95rem;
        color: var(--c-main);
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.2;
    }
    
    .main-nav .en-sub {
        font-family: var(--f-serif);
        font-size: 0.7rem;
        color: var(--c-accent);
        margin-top: 2px;
        font-style: italic;
    }
    
    .nav-cta a {
        background: var(--c-main);
        color: #fff;
        padding: 12px 24px;
        border-radius: 50px;
        font-size: 0.95rem;
        transition: background 0.3s, transform 0.3s;
        flex-direction: row; /* ボタン内は横並び */
    }
    
    .nav-cta a:hover {
        background: var(--c-accent);
        transform: translateY(-2px);
    }
}

/* Hamburger */
.hamburger {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--c-main);
    transition: 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); bottom: 11px; }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--c-main);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu ul {
    list-style: none;
    text-align: center;
}
.mobile-menu li { margin-bottom: 30px; }
.mobile-menu a {
    color: #fff;
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: 1.2rem;
}
.mobile-menu-cta {
    display: inline-block;
    background: var(--c-accent);
    padding: 15px 40px;
    border-radius: 50px;
    margin-top: 20px;
    color: var(--c-main) !important;
    font-weight: bold;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomSlow 20s linear infinite alternate;
}

@keyframes zoomSlow {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 22, 66, 0.4);
    z-index: -1;
}

.hero-content {
    padding: 0 20px;
    margin-top: 60px;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.8);
    padding: 10px 24px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    font-weight: 500;
}

.hero-title {
    font-family: var(--f-serif);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

@media (min-width: 769px) {
    .hero-title { font-size: 4rem; margin-bottom: 40px; }
    .hero-subtitle { font-size: 1.3rem; }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}
.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: #fff;
    margin: 10px auto 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ====================================
   Sections Common
   ==================================== */
.section {
    padding: 80px 0;
}
@media (min-width: 769px) { .section { padding: 120px 0; } }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--f-serif);
    font-size: 2.2rem; /* 少し大きく */
    color: var(--c-main);
    margin-bottom: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.section-subtitle {
    color: var(--c-text-light);
    font-size: 1rem;
}

/* ====================================
   Problems
   ==================================== */
.problems { background: var(--c-bg-light); }

.problems-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}
@media (min-width: 769px) {
    .problems-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

.problem-card {
    background: #fff;
    padding: 40px 24px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}
.problem-card:hover { transform: translateY(-5px); }

.problem-card .icon {
    font-size: 3rem;
    color: var(--c-accent);
    margin-bottom: 24px;
}

.problem-card h3 {
    font-family: var(--f-sans); /* 可読性重視 */
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--c-main);
    margin-bottom: 16px;
}

.problems-message {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2rem;
    font-family: var(--f-serif);
    color: var(--c-main);
}

/* ====================================
   Reasons
   ==================================== */
.reasons { background: #fff; }

.reason-item {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.reason-num {
    font-family: var(--f-serif);
    font-size: 3rem;
    color: rgba(197, 160, 89, 0.2);
    font-weight: bold;
    line-height: 1;
    margin-right: 20px;
    min-width: 60px;
}

.reason-text h3 {
    font-family: var(--f-serif);
    font-size: 1.4rem;
    color: var(--c-main);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--c-accent);
    padding-bottom: 10px;
    display: inline-block;
}

@media (min-width: 769px) {
    .reason-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .reason-item:last-child { grid-column: 1 / -1; max-width: 600px; margin-left: auto; margin-right: auto; }
}

.cta-area { text-align: center; margin-top: 60px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: var(--c-main);
    color: #fff;
}
.btn-primary:hover {
    background: var(--c-accent);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, #C5A059 0%, #D4AF37 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    font-size: 1.1rem;
}
.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--c-main);
    color: var(--c-main);
    background: transparent;
}
.btn-outline:hover {
    background: var(--c-main);
    color: #fff;
}

/* ====================================
   Director Preview & Sub Pages
   ==================================== */
.director-preview {
    background: var(--c-bg-light);
    padding: 60px 0;
}

.director-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (min-width: 769px) {
    .director-card {
        display: flex;
        align-items: center;
    }
    .director-img { width: 40%; }
    .director-info { width: 60%; padding: 60px; }
}

.director-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-info { padding: 40px 24px; }

.director-info .position {
    color: var(--c-accent);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.director-info .name {
    font-family: var(--f-serif);
    font-size: 1.8rem;
    color: var(--c-main);
    margin-bottom: 24px;
}
.director-info .name .en {
    font-size: 1rem;
    color: var(--c-text-light);
    font-weight: 400;
    margin-left: 10px;
}

.director-info .message {
    font-style: italic;
    color: var(--c-text);
    margin-bottom: 30px;
    background: #fcfcfc;
    padding: 20px;
    border-left: 4px solid var(--c-accent);
}

/* Sub Hero */
.sub-hero {
    height: 50vh;
    min-height: 400px;
}
.sub-hero .hero-title { font-size: 2.5rem; }

/* Timeline */
.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 30px;
    border-left: 2px solid rgba(197, 160, 89, 0.3);
}
.timeline-header {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--c-main);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--c-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 5px #fff;
}
.timeline-year {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    color: var(--c-main);
    margin-bottom: 5px;
    display: block;
}
.timeline-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--c-main);
}

/* Profile Section Layout */
.profile-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
@media (min-width: 769px) {
    .profile-section {
        flex-direction: row;
        align-items: flex-start;
        gap: 60px;
    }
    .profile-img { width: 40%; position: sticky; top: 100px; }
    .profile-content { width: 60%; }
}
.profile-img img {
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Achievements */
.achievements {
    background: var(--c-main);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.achievements-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 769px) { .achievements-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item .num {
    font-family: var(--f-serif);
    font-size: 3rem;
    color: var(--c-accent);
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}
.stat-item .label { font-size: 0.9rem; opacity: 0.8; }

/* Philosophy */
.philosophy-grid {
    display: grid;
    gap: 30px;
}
@media (min-width: 769px) { .philosophy-grid { grid-template-columns: repeat(3, 1fr); } }

.philosophy-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-top: 3px solid var(--c-accent);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.philosophy-card i {
    font-size: 2.5rem;
    color: var(--c-main);
    margin-bottom: 20px;
}
.philosophy-card h3 {
    font-family: var(--f-serif);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Value Rows */
.value-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
@media (min-width: 769px) {
    .value-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }
    .value-num { min-width: 80px; }
}
.value-num {
    font-family: var(--f-serif);
    font-size: 4rem;
    color: rgba(13, 22, 66, 0.1);
    line-height: 1;
}
.value-content h3 {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    color: var(--c-main);
    margin-bottom: 15px;
}

/* Kangaroo Grid */
.kangaroo-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}
@media (min-width: 769px) { .kangaroo-grid { grid-template-columns: repeat(2, 1fr); } }

.kangaroo-item {
    background: var(--c-bg-light);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.kangaroo-icon {
    background: var(--c-main);
    color: var(--c-accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 769px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s;
}
.gallery-item { overflow: hidden; border-radius: 4px; }
.gallery-item:hover img { transform: scale(1.05); }

/* ====================================
   Booking
   ==================================== */
.booking {
    background: linear-gradient(rgba(13, 22, 66, 0.9), rgba(13, 22, 66, 0.95)),
                url('../images/IMG_7707.jpg') center/cover fixed;
    color: #fff;
    text-align: center;
}

.booking-title {
    font-family: var(--f-serif);
    font-size: 2.2rem;
    color: var(--c-accent);
    margin-bottom: 10px;
}

.booking-sub { 
    font-size: 1rem; 
    margin-bottom: 30px; 
    font-family: var(--f-serif);
    font-style: italic;
    opacity: 0.8;
}
.booking-desc { margin-bottom: 40px; opacity: 0.95; font-size: 1.1rem; }

.booking-info {
    max-width: 600px;
    margin: 0 auto 40px;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.info-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
}
.info-row:last-child { border-bottom: none; }

.info-row .label { font-weight: bold; font-size: 1.1rem; }
.info-row .note { font-size: 0.8rem; opacity: 0.9; margin-left: 10px; }
.info-row .value { font-size: 1.2rem; font-weight: bold; }

.btn-lg {
    padding: 20px 60px;
    font-size: 1.2rem;
    width: 100%;
    max-width: 400px;
}

.cancellation-policy {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 20px;
}

/* ====================================
   Access & Footer
   ==================================== */
.access-details {
    margin-top: 30px;
    text-align: center;
}
.access-details p { margin-bottom: 10px; font-size: 1.1rem; }

.site-footer {
    background: var(--c-main);
    color: #fff;
    padding: 60px 0 100px; /* SP用余白 */
}
@media (min-width: 769px) { .site-footer { padding: 60px 0; } }

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.footer-logo {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ====================================
   Mobile Sticky Footer
   ==================================== */
.mobile-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 10px 20px;
    display: block;
}
@media (min-width: 769px) { .mobile-sticky-footer { display: none; } }

.sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--c-accent);
    color: var(--c-main);
    width: 100%;
    padding: 12px 0;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.sticky-btn .main-text {
    font-weight: bold;
    font-size: 1.2rem; /* 文字を大きく */
}
.sticky-btn .sub-text {
    font-size: 0.8rem;
    font-weight: normal;
}

/* ====================================
   Loading
   ==================================== */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--c-main);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s, visibility 0.5s;
}
#loading.loaded {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--c-accent);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #fff;
    font-family: var(--f-serif);
    letter-spacing: 0.1em;
    text-align: center;
}
.loading-text .gold-text { color: var(--c-accent); }

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