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

:root {
    --accent: #b99f7b;
    --dark: #3a332d;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    background: #f8f5f1;
    color: #333;
    line-height: 1.8;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e7ded4;
    z-index: 1000;
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 78px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2d2926;
    text-decoration: none;
}

.logo-img {
    width: 200px;
    height: 58px;
    object-fit: contain;
}

.logo-text {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    letter-spacing: 0.08em;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.site-nav a {
    color: #2d2926;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.site-nav a:hover {
    opacity: 0.55;
}

.shop-link {
    padding: 8px 12px;
    border: 1px solid var(--accent);
    border-radius: 999px;
}

.menu-button {
    display: none;
    border: none;
    background: none;
    font-size: 30px;
    cursor: pointer;
    color: #2d2926;
}

.main {
    padding-top: 78px;
}

.hero-area {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background: #e9dfd4;
}

.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: heroFade 18s infinite;
}

.hero-slide img:nth-child(1) { animation-delay: 0s; }
.hero-slide img:nth-child(2) { animation-delay: 6s; }
.hero-slide img:nth-child(3) { animation-delay: 12s; }
.hero-slide img:nth-child(4) { animation-delay: 18s; }
.hero-slide img:nth-child(5) { animation-delay: 24s; }

@keyframes heroFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    34% { opacity: 1; }
    42% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.05));
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    min-height: 72vh;
    padding: 0 22px 70px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero-copy h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 7vw, 86px);
    font-weight: normal;
    letter-spacing: 0.08em;
}

.hero-copy p {
    font-size: clamp(16px, 2.4vw, 24px);
}

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 22px;
}

.top-layout {
    display: grid;
    grid-template-columns: 1.5fr .9fr;
    gap: 32px;
}

.welcome-card,
.instagram-card,
.shop-info-card,
.cake-card,
.text-page,
.event-banner {
    background: rgba(255,255,255,.88);
    border: 1px solid #eadfd3;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(80, 60, 40, 0.08);
}

.welcome-card,
.instagram-card {
    padding: 34px;
}

.welcome-card h2,
.instagram-card h2,
.text-page h2 {
    font-family: Georgia, "Times New Roman", serif;
    margin-bottom: 16px;
    font-size: 30px;
    font-weight: normal;
}

.small-note {
    margin-top: 16px;
    color: #766d65;
    font-size: 14px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button,
.instagram-button,
.contact-form button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--dark);
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.button-light {
    background: var(--accent);
}

.instagram-button {
    margin-top: 16px;
    background: var(--accent);
}

.instagram-embed-note {
    margin-top: 22px;
    padding: 24px;
    border: 1px dashed #cdbca8;
    border-radius: 14px;
    color: #8a7b6a;
    font-size: 14px;
    background: #faf7f3;
}

.instagram-card-embed {
    margin-top: 22px;
    max-width: 100%;
    overflow: hidden;
}
.instagram-card-embed iframe,
.instagram-card-embed img,
.instagram-card-embed video {
    max-width: 100%;
}
.instagram-card-embed blockquote.instagram-media {
    margin: 0 auto !important;
}

.page-title {
    padding: 74px 22px 42px;
    text-align: center;
    background: #efe7de;
}

.page-title h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 6vw, 62px);
    font-weight: normal;
    letter-spacing: .12em;
}

.page-title p {
    color: #7a6c5e;
}

.text-page {
    padding: 42px;
}

.lead {
    margin-bottom: 30px;
    text-align: center;
}

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

.cake-card {
    overflow: hidden;
}

.cake-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: #e8ded2;
}

.lightbox-trigger {
    cursor: zoom-in;
    transition: opacity .2s;
}
.lightbox-trigger:hover {
    opacity: .85;
}
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 12, .82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 24px;
    cursor: zoom-out;
}
.lightbox-overlay img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.cake-card-content {
    padding: 20px;
}

.cake-card-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.map-section {
    display: grid;
    grid-template-columns: .8fr 1.4fr;
    gap: 28px;
}

.shop-info-card {
    padding: 30px;
}

.map-frame {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #eadfd3;
    box-shadow: 0 8px 26px rgba(80, 60, 40, 0.08);
    background: white;
}

.contact-form {
    margin-top: 26px;
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9cabb;
    border-radius: 10px;
    font-size: 16px;
    background: #fffdfb;
}

.center-page {
    text-align: center;
}

.site-footer {
    padding: 38px 20px;
    text-align: center;
    background: var(--dark);
    color: #f8f5f1;
    font-size: 14px;
}

.site-footer small {
    display: block;
    margin-top: 10px;
    color: #d8cbbd;
}

.section-subtitle {
    margin: -8px 0 24px;
    color: #8a7b6a;
    letter-spacing: 0.08em;
}

.history-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.history-text p + p {
    margin-top: 18px;
}

.history-photos {
    display: grid;
    gap: 16px;
}

.history-photos figure {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #eadfd3;
    background: #f8f5f1;
}

.history-photos img {
    width: 100%;
    height: auto;
}

.wedding-main-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: center;
    background: rgba(255,255,255,.88);
    border: 1px solid #eadfd3;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(80, 60, 40, 0.08);
    overflow: hidden;
}

.wedding-main-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.wedding-main-text {
    padding: 42px 42px 42px 8px;
}

.wedding-main-text h2,
.wedding-gallery-text h2 {
    font-family: Georgia, "Times New Roman", serif;
    margin-bottom: 16px;
    font-size: 30px;
    font-weight: normal;
}

.wedding-main-text p + p {
    margin-top: 16px;
}

.wedding-main-text .button {
    margin-top: 24px;
}

.wedding-gallery-card {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 30px;
    align-items: center;
}

.wedding-gallery-image {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #eadfd3;
    background: #f8f5f1;
}

.wedding-gallery-image img {
    width: 100%;
    height: auto;
}

.wedding-gallery-text p + p {
    margin-top: 16px;
}

.event-banner {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    overflow: hidden;
}

.event-banner-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.event-banner-content {
    padding: 34px;
}

.event-banner-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: normal;
    margin: 4px 0 14px;
}

.event-banner-content p {
    margin-bottom: 18px;
}

.event-banner-highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(185,159,123,.14), rgba(255,255,255,.9));
}

.embed-card {
    padding: 34px;
}

.embed-plain {
    text-align: center;
}

.embed-content {
    max-width: 100%;
    overflow: hidden;
}

.embed-content iframe,
.embed-content img,
.embed-content video {
    max-width: 100%;
}

.embed-content blockquote.instagram-media {
    margin: 0 auto !important;
}

@media (max-width: 900px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 1px solid #e7ded4;
    }

    .site-nav.active {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 22px 18px;
    }

    .site-nav li {
        border-bottom: 1px solid #f0e8df;
    }

    .site-nav a {
        display: block;
        padding: 13px 0;
        font-size: 15px;
    }

    .menu-button {
        display: block;
    }

    .top-layout,
    .map-section,
    .history-layout,
    .wedding-main-card,
    .wedding-gallery-card,
    .event-banner {
        grid-template-columns: 1fr !important;
    }

    .cake-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .hero-area,
    .hero-copy {
        min-height: 56vh;
    }

    .wedding-main-text {
        padding: 0 28px 34px;
    }

    .wedding-main-image img {
        height: auto;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 68px;
        padding: 8px 16px;
    }

    .main {
        padding-top: 68px;
    }

    .logo-img {
        width: 46px;
        height: 46px;
    }

    .logo-text {
        font-size: 20px;
    }

    .site-nav {
        top: 68px;
    }

    .section {
        padding: 46px 16px;
    }

    .welcome-card,
    .instagram-card,
    .text-page,
    .shop-info-card {
        padding: 24px;
    }

    .cake-grid {
        grid-template-columns: 1fr !important;
    }

    .cake-card img {
        height: 220px !important;
    }

    .map-frame iframe {
        height: 360px;
    }
}
