@charset "UTF-8";

/* ==========================================================================
   Variables - Japanese Modern Palette
   ========================================================================== */
:root {
    --color-bg: #fff8e7;
    /* 電球色のような温かいクリーム色 */
    --color-text: #4a3b32;
    /* 柔らかいこげ茶色 */
    --color-accent: #d66a35;
    /* 夕焼けのようなオレンジ (柿色) */
    --color-gold: #c3a05a;
    /* 変わらぬ輝き (金色) */
    --font-base: "Noto Serif JP", serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
    line-height: 2;
    letter-spacing: 0.1em;
    /* 高級感を出すために少し広げる */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* 横スクロール防止 */
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Japanese Wave Decoration */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,15 Q150,0 300,15 T600,15 T900,15 T1200,15 V30 H0 Z' fill='%23fff8e7'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    z-index: 1;
}

.concept::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,15 Q150,0 300,15 T600,15 T900,15 T1200,15 V30 H0 Z' fill='%23fff8e7'/%3E%3C/svg%3E");
}

.menu::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,15 Q150,0 300,15 T600,15 T900,15 T1200,15 V30 H0 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.info::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,15 Q150,0 300,15 T600,15 T900,15 T1200,15 V30 H0 Z' fill='%23fff8e7'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(252, 250, 242, 0.95);
    z-index: 100;
    border-bottom: 1px solid rgba(57, 63, 76, 0.1);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.hamburger-menu {
    display: none;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .header-inner {
    padding: 10px 40px;
}

.header.scrolled .logo {
    font-size: 1.2rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(252, 250, 242, 0.85);
    padding: 60px 40px;
    border: 1px solid var(--color-text);
}

.hero-text .catchphrase {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    height: 500px;
    /* 縦書きの高さ確保：文字数に合わせて調整 */
    line-height: 1.8;
}

/* Steam Status Badge */
.steam-status-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    border: 1px solid var(--color-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steam-status-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.steam-status-badge .badge-icon {
    font-size: 1.2rem;
    color: var(--color-accent);
}

.steam-status-badge.is-ready {
    background-color: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}

.steam-status-badge.is-ready .badge-icon {
    color: var(--color-gold);
}


/* ==========================================================================
   Concept
   ========================================================================== */
.concept {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin: 0;
    border-right: 1px solid var(--color-accent);
    padding-right: 20px;
    white-space: nowrap;
}

.concept-content p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Menu (Mame Daifuku)
   ========================================================================== */
.menu {
    background-color: #fff;
}

.section-header {
    text-align: left;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--color-gold);
    font-family: serif;
    font-style: italic;
    margin-top: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.menu-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.menu-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    transition: transform 0.5s ease;
}

.menu-image:hover img {
    transform: scale(1.05);
}

.menu-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(214, 106, 53, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.menu-image:hover::after {
    opacity: 1;
}

.menu-text {
    flex: 1;
    min-width: 300px;
}

.menu-name {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-gold);
    display: inline-block;
    padding-bottom: 10px;
}

.menu-desc {
    margin-bottom: 20px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 30px;
}

/* ==========================================================================
   Info / Footer
   ========================================================================== */
.info {
    border-top: 1px solid rgba(57, 63, 76, 0.1);
}

.info-content {
    max-width: 600px;
    margin: 0 auto;
}

.info-list {
    display: flex;
    flex-wrap: wrap;
}

.info-list dt {
    width: 30%;
    font-weight: 700;
    padding: 15px 0;
    border-bottom: 1px solid rgba(57, 63, 76, 0.1);
}

.info-list dd {
    width: 70%;
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid rgba(57, 63, 76, 0.1);
}

.footer {
    background-color: var(--color-text);
    color: var(--color-bg);
    padding: 60px 20px 20px;
    font-size: 0.8rem;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: var(--color-accent);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .header-inner {
        padding: 15px 20px;
        width: 100%;
    }

    /* Hamburger Menu Button (Visible on Mobile) */
    .hamburger-menu {
        display: block;
    }

    /* ... Desktop Nav styles ... */

    .hero-text {
        width: 100%;
    }

    .nav {
        /* Mobile Menu */
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(252, 250, 242, 0.98);
        z-index: 99;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav li {
        margin-left: 0;
    }

    .nav a {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--color-text);
    }

    /* Hamburger Button Styles */
    .hamburger-menu {
        display: block;
        position: relative;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
        /* Navの上に来るように */
        padding: 0;
    }

    .hamburger-menu span {
        position: absolute;
        left: 5px;
        width: 30px;
        height: 2px;
        background-color: var(--color-text);
        transition: all 0.3s ease;
    }

    .hamburger-menu span:nth-child(1) {
        top: 10px;
    }

    .hamburger-menu span:nth-child(2) {
        top: 19px;
    }

    .hamburger-menu span:nth-child(3) {
        top: 28px;
    }

    /* Active State (X shape) */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-text {
        width: 50%;
        /* 幅を縮小 */
        padding: 20px;
        /* パディングを少し減らす */
        /* モバイルでは文字を中央揃えにするためにFlexboxを使用 */
        display: flex;
        justify-content: center;
        align-items: center;
        top: 40%;
        /* 下へ移動 (15% -> 40%) */
        bottom: auto;
    }

    .hero-text .catchphrase {
        font-size: 1.8rem;
        height: auto;
        /* 高さを自動調整 */
        min-height: 250px;
        /* 350pxから縮小 */
        width: fit-content;
        /* 重要: コンテンツ幅に合わせる */
    }

    .steam-status-badge {
        top: 78%;
        /* さらに下へ移動 */
        bottom: auto;
        right: auto;
        left: 35%;
        /* 見切れ防止のため左へ寄せる */
        transform: translate(-50%, -50%);
        /* 完全中央配置 */
        width: auto;
        /* 幅制限を解除 */
        max-width: 90%;
        justify-content: center;
        white-space: nowrap;
        /* 改行を防ぐ */
    }

    .steam-status-badge:hover {
        transform: translate(-50%, -55%);
        /* ホバー時は少し上に浮く */
    }

    .menu-item {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
        width: 100%;
    }
}

/* ==========================================================================
   Utility - Reverse Layout
   ========================================================================== */
.menu-item.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .menu-item.reverse {
        flex-direction: column;
    }
}

/* ==========================================================================
   Loading Screen
   ========================================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-icon {
    font-size: 4rem;
    display: block;
    animation: bounce 1s ease-in-out infinite;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 20px;
    letter-spacing: 0.3em;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ==========================================================================
   Page Top Button
   ========================================================================== */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-text);
    color: var(--color-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 90;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    transform: translateY(-5px);
    background-color: var(--color-accent);
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news {
    background-color: #fff;
    padding: 60px 0;
}

.news::before {
    display: none;
}

.news-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 10px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background-color: var(--color-bg);
}

.contact::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,15 Q150,0 300,15 T600,15 T900,15 T1200,15 V30 H0 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-message {
    margin-bottom: 40px;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(57, 63, 76, 0.2);
    border-radius: 4px;
    background-color: #fff;
    font-size: 1rem;
    font-family: var(--font-base);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(214, 106, 53, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-button {
    background-color: var(--color-text);
    color: #fff;
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
    font-family: var(--font-base);
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-button:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.form-status.success {
    display: block;
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.news .container {
    text-align: center;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.news-item {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(57, 63, 76, 0.1);
}

.news-date {
    color: var(--color-accent);
    font-weight: 500;
    min-width: 100px;
}

.news-text {
    flex: 1;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
    background-color: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ==========================================================================
   Info Map
   ========================================================================== */
.info-map {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-map iframe {
    display: block;
}