/* =============================================
   Pattern 27: Wedding
   Étincelle — ウェディング — 品質向上版
   ★ 独自構成: パララックスヒーロー, スクリプト体, マソンリーギャラリー
   ============================================= */

:root {
    --c-blush: #FDFBFB;
    --c-blush-dark: #F5EBEB;
    --c-rose: #D4A3A3;
    --c-gold: #C6A87C;
    --c-text: #4A403A;
    --c-muted: #9E938D;
    --c-white: #ffffff;
    --f-script: "Great Vibes", cursive;
    --f-display: "Playfair Display", serif;
    --f-body: "Noto Serif JP", serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: var(--c-text);
    background: var(--c-white);
    line-height: 2;
    font-weight: 300;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.container--sm {
    max-width: 800px;
}

.container--about {
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

/* ===== ユーティリティ ===== */
.sect-subtitle {
    display: block;
    font-family: var(--f-script);
    font-size: 2.2rem;
    color: var(--c-gold);
    margin-bottom: -10px;
    z-index: 1;
    position: relative;
}

.sub-ja {
    display: block;
    font-family: var(--f-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--c-muted);
    font-style: normal;
    letter-spacing: 0.15em;
    margin-top: 5px;
}

.script-text {
    font-family: var(--f-script);
    font-size: 3.5rem;
    color: var(--c-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.script-text--small {
    font-size: 2.5rem;
    color: var(--c-gold);
    text-shadow: none;
    margin-bottom: 10px;
    display: block;
}

.decorator-line {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--c-gold);
    margin: 25px auto;
}

/* ===== ヘッダー（スクロールで出現） ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.is-visible {
    transform: translateY(0);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--f-display);
    font-size: 1.6rem;
    color: var(--c-text);
    font-weight: 400;
    letter-spacing: 0.1em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav a {
    font-family: var(--f-display);
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--c-muted);
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.nav a:hover {
    color: var(--c-rose);
}

.nav-contact {
    color: var(--c-gold) !important;
    border-bottom: 1px solid var(--c-gold);
    padding-bottom: 2px;
}

/* ===== ヒーロー（多層パララックス + パーティクル） ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-layer {
    position: absolute;
    inset: 0;
}

.hero-layer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transform: scale(1.05);
    animation: slowZoom 30s ease-out forwards;
}

@keyframes slowZoom {
    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0) 0%, rgba(253, 251, 251, 0.5) 100%);
}

/* パーティクル（光の粒・花びら模倣） */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    filter: blur(1px);
    animation: floatUp 15s linear infinite;
}

.p-1 {
    width: 6px;
    height: 6px;
    left: 15%;
    bottom: -10px;
    animation-duration: 18s;
    animation-delay: 0s;
}

.p-2 {
    width: 8px;
    height: 8px;
    left: 35%;
    bottom: -10px;
    animation-duration: 22s;
    animation-delay: 5s;
}

.p-3 {
    width: 5px;
    height: 5px;
    left: 65%;
    bottom: -10px;
    animation-duration: 15s;
    animation-delay: 2s;
}

.p-4 {
    width: 10px;
    height: 10px;
    left: 80%;
    bottom: -10px;
    animation-duration: 25s;
    animation-delay: 8s;
}

.p-5 {
    width: 7px;
    height: 7px;
    left: 50%;
    bottom: -10px;
    animation-duration: 20s;
    animation-delay: 12s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--c-white);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-family: var(--f-script);
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.hero-title {
    font-family: var(--f-display);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.hero-date {
    font-family: var(--f-display);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ===== セクション ===== */
.section {
    padding: 120px 0;
}

.section--blush {
    background: var(--c-blush);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-family: var(--f-display);
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--c-text);
}

/* ===== About（中央テキスト + サイド装飾画像） ===== */
.about-center {
    text-align: center;
    max-width: 500px;
    padding: 0 20px;
}

.about-center h2 {
    font-family: var(--f-display);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-center p {
    color: var(--c-muted);
    font-size: 0.95rem;
}

.about-side-img img {
    width: 220px;
    height: 320px;
    object-fit: cover;
    border-radius: 200px 200px 0 0;
}

.img-left {
    margin-top: 80px;
}

.img-right {
    margin-top: -80px;
}

/* ===== プラン（3カラム、中央強調） ===== */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 30px;
    align-items: center;
}

.plan-card {
    background: var(--c-white);
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(212, 163, 163, 0.2);
    transition: all 0.4s;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 163, 163, 0.15);
    border-color: var(--c-gold);
}

.plan-card--featured {
    padding: 40px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border-color: var(--c-gold);
    z-index: 2;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-gold);
    color: var(--c-white);
    font-family: var(--f-display);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 4px 20px;
}

.plan-img {
    margin-bottom: 25px;
    overflow: hidden;
}

.plan-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: sepia(0.1) contrast(1.05);
    transition: transform 0.5s;
}

.plan-card--featured .plan-img img {
    height: 250px;
}

.plan-card:hover .plan-img img {
    transform: scale(1.05);
}

.plan-body h3 {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--c-text);
    margin-bottom: 15px;
}

.plan-card--featured .plan-body h3 {
    font-size: 1.8rem;
    color: var(--c-gold);
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--c-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.plan-price {
    font-family: var(--f-display);
    font-size: 1.1rem;
    color: var(--c-text);
    font-style: italic;
}

/* ===== 写真帯（スクリプト体） ===== */
.photo-band {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.band-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 64, 58, 0.3);
}

.band-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ===== ギャラリー（不均等マソンリー風） ===== */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.masonry-item {
    overflow: hidden;
    position: relative;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.95);
}

.masonry-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.item-tall {
    grid-row: span 2;
    grid-column: span 1;
}

.item-short {
    grid-row: span 1;
    grid-column: span 1;
}

.item-wide {
    grid-row: span 2;
    grid-column: span 2;
}

/* ===== お客様の声（フローラル装飾） ===== */
.voice-card {
    background: var(--c-white);
    padding: 60px 50px;
    text-align: center;
    border: 1px solid var(--c-gold-light);
    position: relative;
    margin-top: 20px;
}

.voice-floral-top,
.voice-floral-bottom {
    width: 60px;
    height: 60px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%23C6A87C" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C12 2 11 7 8 9C5 11 2 12 2 12C2 12 7 13 9 16C11 19 12 22 12 22C12 22 13 17 16 15C19 13 22 12 22 12C22 12 17 11 15 8C13 5 12 2 12 2Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

.voice-floral-top {
    top: -30px;
}

.voice-floral-bottom {
    bottom: -30px;
    transform: translateX(-50%) rotate(180deg);
}

.voice-text {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--c-text);
    margin-bottom: 30px;
    line-height: 2;
}

.voice-client {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-name {
    font-family: var(--f-script);
    font-size: 1.8rem;
    color: var(--c-rose);
    margin-bottom: 5px;
}

.client-date {
    font-family: var(--f-display);
    font-size: 0.8rem;
    color: var(--c-muted);
    letter-spacing: 0.1em;
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    background: var(--c-white);
    padding: 40px;
    border: 1px solid var(--c-blush-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.faq-item {
    border-bottom: 1px solid var(--c-blush-dark);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-q:hover {
    color: var(--c-rose);
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    width: 14px;
    height: 14px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--c-gold);
    transition: transform 0.3s;
}

.faq-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 1px;
}

.faq-icon::after {
    top: 0;
    left: 6px;
    width: 1px;
    height: 14px;
}

details[open] .faq-icon::after {
    transform: rotate(90deg) scaleY(0);
}

.faq-a {
    padding: 0 0 20px 0;
    color: var(--c-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== CTA ===== */
.section--cta {
    background: var(--c-blush-dark);
    text-align: center;
    padding: 100px 20px;
}

.cta-inner h2 {
    font-family: var(--f-display);
    font-size: 2.2rem;
    color: var(--c-text);
    margin-bottom: 20px;
    font-weight: 400;
}

.cta-inner p {
    color: var(--c-muted);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--c-rose);
    color: var(--c-white);
    text-decoration: none;
    font-family: var(--f-display);
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #b88686;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 163, 163, 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--c-rose);
    color: var(--c-rose);
    text-decoration: none;
    font-family: var(--f-display);
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--c-rose);
    color: var(--c-white);
}

/* ===== フッター ===== */
.footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--c-blush-dark);
}

.footer-logo {
    font-family: var(--f-script);
    font-size: 3rem;
    color: var(--c-text);
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: var(--f-display);
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--c-muted);
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    color: var(--c-gold);
}

.copyright {
    font-size: 0.75rem;
    color: var(--c-muted);
    letter-spacing: 0.1em;
}

/* ===== アニメーション ===== */
.anim {
    opacity: 0;
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim.anim-up {
    transform: translateY(30px);
}

.anim.anim-left {
    transform: translateX(-30px);
}

.anim.anim-right {
    transform: translateX(30px);
}

.anim.is-visible {
    opacity: 1;
    transform: translate(0);
}

.anim-d1 {
    transition-delay: 0.2s;
}

.anim-d2 {
    transition-delay: 0.4s;
}

.anim-hero {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-hero.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 0.8rem;
    }

    .nav-contact {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 2.2rem;
    }

    .container--about {
        flex-direction: column;
        text-align: center;
    }

    .about-side-img img {
        width: 100%;
        height: 250px;
        border-radius: 10px;
    }

    .img-left,
    .img-right {
        margin-top: 0;
    }

    .img-right {
        display: none;
    }

    /* モバイル時は右画像を非表示でスッキリさせる */
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card--featured {
        padding: 25px;
        transform: none !important;
        margin: 20px 0;
    }

    .masonry-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .item-wide {
        grid-column: span 2;
    }

    .voice-card {
        padding: 40px 20px;
    }

    .script-text {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}