/* ===== Google Font ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Noto+Sans+JP:wght@300;400&display=swap');

/* ===== 全体 ===== */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
    background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000 100%);
    color: #eee;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

main {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
    box-sizing: border-box;
}

/* ===== ヘッダー ===== */
header {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 20px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #d4af37;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow:
        0 0 8px rgba(212, 175, 55, 0.6),
        0 0 18px rgba(212, 175, 55, 0.3);
}

.logo span {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.logo::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #d4af37;
    margin-top: 6px;
}

nav {
    margin: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
    font-size: 15px;
}

nav ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #d4af37;
}

/* ===== セクション共通 ===== */
section {
    padding: 80px 10%;
    margin: 40px auto;
    max-width: 1000px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    /*backdrop-filter: blur(6px);*/
    box-sizing: border-box;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    margin-bottom: 20px;
    color: #d4af37;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    font-family: 'Cormorant Garamond', serif;
}

/* ===== 店舗情報テーブル 最終軽量版 ===== */

.shop-info h2{
    position:relative;
    display:inline-block;
    margin-bottom:24px;
    padding-bottom:8px;
    }
    
    .shop-info h2::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:120px;
    height:1px;
    background:#d4af37;
    }
    
    /* テーブル */
    
    .shop-table{
    width:100%;
    max-width:700px;
    margin:0 auto;
    border-collapse:collapse;
    border-radius:12px;
    overflow:hidden;
    
    background:#000;
    
    border:1px solid rgba(212,175,55,0.15);
    
    box-shadow:0 8px 16px rgba(0,0,0,0.35);
    }
    
    .shop-table td{
    padding:16px 20px;
    font-size:15px;
    line-height:1.8;
    border-bottom:1px solid rgba(255,255,255,0.07);
    color:#e6e6ea;
    }
    
    .shop-table tr:last-child td{
    border-bottom:none;
    }
    
    /* 左ラベル */
    
    .shop-table td:first-child{
    width:30%;
    color:#d4af37;
    font-weight:600;
    letter-spacing:0.05em;
    border-right:1px solid rgba(212,175,55,0.12);
    }
    
    /* ホバー */
    
    .shop-table tr:hover{
    background:rgba(212,175,55,0.04);
    }
    
    /* リンク */
    
    .shop-table a{
    color:#f0d87c;
    text-decoration:none;
    }
    
    .shop-table a:hover{
    color:#ffe8a3;
    }
    
    /* スマホ */
    
    @media(max-width:768px){
    
    .shop-table tr{
    display:block;
    }
    
    .shop-table td{
    display:block;
    width:100%;
    padding:12px 14px;
    font-size:14px;
    }
    
    .shop-table td:first-child{
    border-right:none;
    border-bottom:1px solid rgba(212,175,55,0.15);
    }
    
}
/* ===== フォーム ===== */
form {
    max-width: 500px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.1);
    box-sizing: border-box;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
    background: #222;
    border: 1px solid #333;
    color: white;
    border-radius: 8px;
    box-sizing: border-box;
}

button {
    background: linear-gradient(45deg, #d4af37, #b8962e);
    border: none;
    padding: 12px 30px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    border-radius: 30px;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

button[type="reset"] {
    background: transparent;
    color: #ccc;
    border: 1px solid #666;
    margin-left: 10px;
}

button[type="reset"]:hover {
    transform: scale(1.03);
    box-shadow: none;
    border-color: #999;
    color: #fff;
}

/* ===== 地図 ===== */
iframe {
    width: 90%;
    height: 400px;
    border-radius: 15px;
    margin: 40px auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.map iframe {
    width: 100%;
    max-width: 700px;
    height: 400px;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
}

/* ===== フッター ===== */
footer {
    background: #000;
    padding: 20px;
    color: #777;
    text-align: center;
    font-size: 14px;
}

/* ===== 夜空全体 ===== */
.sky {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000 100%);
}

/* ===== 月 ===== */
.moon {
    position: absolute;
    top: 140px;
    right: 100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: url("images/moon.jpg") no-repeat center;
    background-size: 150%;
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 80px rgba(255, 255, 255, 0.2);
    animation: moonFloat 6s ease-in-out infinite alternate;
}

.moon::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: #000;
    border-radius: 50%;
    left: 100%;
    top: 0;
}

.moon.disappear::after {
    animation: moonPhase 0.8s linear forwards;
}

.moon.disappear {
    animation:
        moonGlowFade 0.8s ease forwards,
        moonFadeOut 0.59s ease forwards;
}

/* ===== 月のアニメ ===== */
@keyframes moonFloat {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(20px);
    }
}

@keyframes moonPhase {
    0% {
        left: -100%;
    }
    20% {
        left: -60%;
    }
    40% {
        left: -30%;
    }
    60% {
        left: 0%;
    }
    80% {
        left: 30%;
    }
    100% {
        left: 100%;
    }
}

@keyframes moonGlowFade {
    0% {
        box-shadow:
            0 0 40px rgba(255, 255, 255, 0.6),
            0 0 80px rgba(255, 255, 255, 0.2);
    }
    20% {
        box-shadow:
            0 0 20px rgba(255, 255, 255, 0.5),
            0 0 40px rgba(255, 255, 255, 0.2);
    }
    40% {
        box-shadow:
            0 0 15px rgba(255, 255, 255, 0.4),
            0 0 30px rgba(255, 255, 255, 0.15);
    }
    60% {
        box-shadow:
            0 0 12px rgba(255, 255, 255, 0.25),
            0 0 25px rgba(255, 255, 255, 0.1);
    }
    80% {
        box-shadow:
            0 0 5px rgba(255, 255, 255, 0.1),
            0 0 10px rgba(255, 255, 255, 0.05);
    }
    100% {
        box-shadow:
            0 0 0 rgba(255, 255, 255, 0),
            0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes moonFadeOut {
    0% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* ===== 星 ===== */
.stars {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(1px 1px at 40% 70%, white, transparent),
        radial-gradient(2px 2px at 60% 40%, white, transparent),
        radial-gradient(1px 1px at 80% 90%, white, transparent),
        radial-gradient(2px 2px at 10% 80%, white, transparent),
        radial-gradient(1px 1px at 90% 20%, white, transparent);
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: moveStars 120s linear infinite, twinkle 4s ease-in-out infinite alternate;
    opacity: 0.5;
    z-index: -1;
}

@keyframes moveStars {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-500px, -500px);
    }
}

@keyframes twinkle {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 0.7;
    }
}

/* ===== 流れ星 ===== */
.shooting-star {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(-45deg, white, rgba(255, 255, 255, 0));
    transform: rotate(-45deg);
    opacity: 0;
    z-index: -1;
}

.shooting-star::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
}

@keyframes shoot {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-45deg) scale(0.5);
    }
    10% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(600px, 600px) rotate(-45deg) scale(0.8);
    }
}

/* ===== ギャラリー ===== */
.gallery {
    text-align: center;
    padding: 60px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* ===== メニュー ===== */
.menu {
    text-align: center;
    padding: 60px 20px;
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
}

.menu-card {
    background: rgba(17, 17, 17, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.75);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) rotateX(5deg);
    transform-origin: bottom center;
    transition:
        transform 0.7s ease-out,
        opacity 0.7s ease-out,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 10px rgba(212, 175, 55, 0.08);
}

.menu-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    animation: slightShimmer 6s ease-in-out infinite alternate;
}

.menu-card h3 {
    position: relative;
    color: #d4af37;
    margin-bottom: 15px;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: text-shadow 0.4s ease, color 0.4s ease;
}

.menu-card:hover h3 {
    text-shadow:
        0 0 4px rgba(212, 175, 55, 0.35),
        0 0 8px rgba(255, 225, 106, 0.18);
}

.menu-card h3::after {
    content: "";
    position: absolute;
    left: 10%;
    bottom: -6px;
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(212, 175, 55, 0),
        rgba(212, 175, 55, 0.7),
        rgba(212, 175, 55, 0)
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.45s ease;
}

.menu-card:hover h3::after {
    transform: scaleX(1);
}

.menu-card p,
.menu-card li,
.menu-card .set-title {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.menu-card p {
    margin: 8px 0;
}

.menu-card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.menu-card li {
    margin: 6px 0;
}

.menu-card .set-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 2px;
}

.set-list {
    list-style: none;
    padding: 0;
}

.menu-note {
    margin-top: 30px;
    font-size: 14px;
    color: #ccc;
}

.menu-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    pointer-events: none;
    background: radial-gradient(
        circle at 50% 20%,
        rgba(212, 175, 55, 0.08) 0%,
        rgba(212, 175, 55, 0.03) 28%,
        transparent 65%
    );
    opacity: 0.45;
    z-index: 1;
}

.menu-card:hover {
    transform: translateY(-6px) rotateX(0deg);
    border-color: rgba(212, 175, 55, 0.9);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.42),
        0 0 14px rgba(212, 175, 55, 0.12);
}
@keyframes slightShimmer {
    0% {
        box-shadow:
            0 10px 24px rgba(0, 0, 0, 0.35),
            0 0 8px rgba(212, 175, 55, 0.06);
    }
    50% {
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.38),
            0 0 12px rgba(212, 175, 55, 0.10);
    }
    100% {
        box-shadow:
            0 10px 24px rgba(0, 0, 0, 0.35),
            0 0 8px rgba(212, 175, 55, 0.06);
    }
}

/* ===== トップ ===== */
.hello {
    text-align: center;
    padding: 120px 20px;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    max-width: 700px;
    margin: 120px auto;
}

.hello h2 {
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hello p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.hello-btn a,
.gallery-btn,
.contact-btn,
.reserve-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.hello-btn a:hover,
.gallery-btn:hover,
.contact-btn:hover,
.reserve-btn:hover {
    background: #666;
}

/* ===== ページ遷移 ===== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000 100%);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== ハンバーガーメニュー ===== */
.menu-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    cursor: pointer;
    color: #d4af37;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    nav ul li {
        display: block;
        margin: 15px 0;
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 600px) {
    header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 22px;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .logo span {
        font-size: 13px;
        letter-spacing: 1px;
        margin-top: 2px;
    }

    .menu-toggle {
        font-size: 26px;
        margin-top: 6px;
    }

    .moon {
        width: 120px;
        height: 120px;
        top: 140px;
        right: 10px;
        opacity: 0.7;
    }

    .moon::after {
        width: 120px;
        height: 120px;
    }

    .menu-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px auto;
    }

    .menu-card {
        padding: 20px;
        transform: translateY(15px) rotateX(2deg);
    }

    .menu-card.visible {
        transform: translateY(0) rotateX(0deg);
    }

    .menu-card h3 {
        font-size: 1.15rem;
    }

    .menu-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .menu-card ul {
        padding-left: 0;
    }

    section {
        padding: 40px 5%;
        margin: 20px auto;
    }
}