/* ===========================================
   王飯店 - スタイルシート
   =========================================== */

/* ----- CSS Variables ----- */
:root {
    /* Brand Colors */
    --color-primary: #8B0000;        /* 深みのある赤 */
    --color-primary-dark: #6B0000;   /* より深い赤 */
    --color-gold: #C9A227;           /* 金 */
    --color-gold-light: #D4AF37;     /* 明るい金 */
    --color-black: #1A1A1A;          /* 黒 */
    --color-black-light: #2D2D2D;    /* 薄い黒 */
    --color-white: #FFFFFF;          /* 白 */
    --color-cream: #FAFAFA;          /* クリーム */
    --color-gray: #666666;           /* グレー */
    --color-gray-light: #E5E5E5;     /* ライトグレー */

    /* Typography */
    --font-japanese: 'Noto Serif JP', 'Yu Mincho', '游明朝', serif;
    --font-english: 'Cormorant Garamond', serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-japanese);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- Navigation ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(139, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    font-family: var(--font-japanese);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: var(--color-white);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-smooth);
}

/* ----- Hero Section ----- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/hero.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    padding: 20px;
}

.hero-subtitle {
    font-family: var(--font-english);
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
}

.divider-diamond {
    color: var(--color-gold);
    font-size: 0.8rem;
}

.hero-tagline {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    font-weight: 400;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-english);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* ----- Section Common Styles ----- */
.section {
    padding: var(--section-padding) 0;
}

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

.section-label {
    display: inline-block;
    font-family: var(--font-english);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-divider .divider-line {
    width: 40px;
    background: var(--color-gold);
}

.divider-icon {
    color: var(--color-gold);
    font-size: 0.7rem;
}

.section-description {
    font-size: 0.95rem;
    color: var(--color-gray);
    margin-top: 25px;
    letter-spacing: 0.05em;
}

/* ----- Menu Section ----- */
.menu-section {
    background: var(--color-white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 80px;
}

.menu-category {
    border-top: 2px solid var(--color-primary);
    padding-top: 25px;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--color-primary);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.item-name {
    font-size: 1rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.item-dots {
    flex: 1;
    border-bottom: 1px dotted var(--color-gray-light);
    margin-bottom: 5px;
    min-width: 20px;
}

.item-price {
    font-family: var(--font-english);
    font-size: 1rem;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.menu-sub-note {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: 15px;
    padding-left: 15px;
    border-left: 2px solid var(--color-gold);
}

/* 海老マーク（ペスカタリアン） */
.item-name.shrimp::before {
    content: '🦐';
    margin-right: 6px;
    font-size: 0.9em;
}

.menu-note {
    text-align: center;
    margin-top: 50px;
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 2;
}

/* ----- Banquet Section ----- */
.banquet-section {
    background: linear-gradient(to bottom, #FDF5F5 0%, #FAF0F0 100%);
}

/* 準備中 */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
}

.coming-soon-text {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.coming-soon-sub {
    font-family: var(--font-english);
    font-size: 1rem;
    color: var(--color-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.coming-soon-note {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 2;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: var(--color-white);
    border: 1px solid rgba(139, 0, 0, 0.2);
    position: relative;
    transition: var(--transition-smooth);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.course-card.featured {
    border: 2px solid var(--color-gold);
}

.course-ribbon {
    position: absolute;
    top: 15px;
    right: -8px;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 5px 15px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.course-ribbon::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    border: 4px solid transparent;
    border-top-color: #9A7B1C;
    border-right-color: #9A7B1C;
}

.course-header {
    background: var(--color-primary);
    padding: 25px;
    text-align: center;
}

.course-label {
    font-family: var(--font-english);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-transform: uppercase;
}

.course-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 10px;
    letter-spacing: 0.15em;
}

.course-body {
    padding: 30px 25px;
}

.course-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--color-gray);
}

.course-separator {
    color: var(--color-gold);
}

.course-price {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--color-gray-light);
}

.price-yen {
    font-family: var(--font-english);
    font-size: 1.2rem;
    color: var(--color-gold);
    vertical-align: top;
}

.price-value {
    font-family: var(--font-english);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.course-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-menu li {
    font-size: 0.9rem;
    color: var(--color-black-light);
    padding-left: 20px;
    position: relative;
}

.course-menu li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.course-footer {
    background: var(--color-cream);
    padding: 15px;
    text-align: center;
}

.course-note {
    font-size: 0.8rem;
    color: var(--color-gray);
}

.banquet-info {
    text-align: center;
    margin-top: 50px;
}

.banquet-info p {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-bottom: 8px;
}

/* ----- Info Section ----- */
.info-section {
    background: var(--color-white);
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-gold);
    flex-shrink: 0;
}

.info-icon svg {
    width: 22px;
    height: 22px;
}

.info-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--color-black-light);
    line-height: 1.8;
}

/* LINE公式アカウント */
.line-icon {
    background: #06C755;
    color: white;
}

.line-item a {
    display: inline-block;
    transition: var(--transition-smooth);
}

.line-item a:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hours-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    min-width: 60px;
}

.hours-time {
    font-family: var(--font-english);
    font-size: 1rem;
    color: var(--color-black);
    letter-spacing: 0.05em;
}

.phone-number {
    font-family: var(--font-english);
    font-size: 1.5rem !important;
    color: var(--color-primary) !important;
    letter-spacing: 0.05em;
}

.info-map {
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.info-map iframe {
    display: block;
}

/* ----- Footer ----- */
.footer {
    background: var(--color-primary-dark);
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.footer-address {
    font-size: 0.85rem;
    color: var(--color-gray);
    letter-spacing: 0.05em;
}

.footer-divider {
    width: 50px;
    height: 1px;
    background: var(--color-gold);
    margin: 30px auto;
    opacity: 0.5;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--color-gray);
    letter-spacing: 0.05em;
}

/* ----- Responsive Design ----- */
@media (max-width: 1024px) {
    .course-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .info-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-map {
        order: 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        flex-direction: column;
        background: var(--color-primary-dark);
        padding: 100px 40px;
        gap: 30px;
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: 500px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        letter-spacing: 0.1em;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
    }

    html {
        font-size: 14px;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    .hero-divider .divider-line {
        width: 40px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .menu-item {
        flex-wrap: wrap;
    }

    .item-dots {
        display: none;
    }

    .item-price {
        margin-left: auto;
    }

    .course-body {
        padding: 25px 20px;
    }

    .info-item {
        flex-direction: column;
        gap: 15px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
    }

    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ----- Animation Classes ----- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
