/* japan-wedding.css */

.jw-page {
    font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
    color: #422a07;
    background: #f8f4ef;
    line-height: 1.8;
}

.jw-page * {
    box-sizing: border-box;
}

.jw-hero {
    position: relative;
    height: 700px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jw-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.jw-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 写真の上に暗い膜 */
.jw-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.35);
}

.jw-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}





.jw-label {
    margin: 0 0 16px;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #9b7a4f;
}

.jw-hero .jw-label {
    color: #f2dfc3;
}

.jw-hero h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.04em;
}

.jw-lead {
    margin: 28px auto 36px;
    max-width: 620px;
    font-size: 18px;
}

.jw-button {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid currentColor;
    color: inherit;
    text-decoration: none;
    letter-spacing: 0.12em;
    font-size: 13px;
    text-transform: uppercase;
    transition: 0.3s;
}

.jw-button:hover {
    background: #2f2a25;
    color: #fff;
    border-color: #2f2a25;
}

.jw-section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 96px 24px;
    text-align: center;
}

.jw-section h2,
.jw-contact h2 {
    margin: 0 0 28px;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.04em;
}

.jw-section p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
}

.jw-card-grid,
.jw-destination-grid,
.jw-gallery-grid {
    display: grid;
    gap: 28px;
    margin-top: 48px;
}

.jw-card-grid {
    grid-template-columns: repeat(3, 1fr);
}

.jw-card {
    padding: 36px 28px;
    background: #fff;
    border: 1px solid #e8ded1;
    text-align: left;
}

.jw-card h3,
.jw-destination-text h3 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.jw-card p,
.jw-destination-text p {
    margin: 0;
    font-size: 15px;
}

.jw-destination-grid {
    grid-template-columns: repeat(3, 1fr);
}

.jw-destination-card {
    background: #fff;
    border: 1px solid #e8ded1;
    text-align: left;
}

.jw-destination-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.jw-destination-text {
    padding: 28px;
}

.jw-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

.jw-gallery-grid .image-placeholder {
    aspect-ratio: 3 / 4;
}


.jw-destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.jw-contact {
    margin: 0 auto;
    padding: 110px 24px;
    text-align: center;
    background: #2f2a25;
    color: #fff;
}

.jw-contact .jw-label {
    color: #d9bd91;
}

.jw-contact p {
    max-width: 680px;
    margin: 0 auto 36px;
}

/* 写真を入れるまでの仮枠 
.image-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, #ddd2c5 25%, transparent 25%),
        linear-gradient(225deg, #ddd2c5 25%, transparent 25%),
        linear-gradient(45deg, #ddd2c5 25%, transparent 25%),
        linear-gradient(315deg, #ddd2c5 25%, #eee7df 25%);
    background-position: 18px 0, 18px 0, 0 0, 0 0;
    background-size: 36px 36px;
    background-color: #eee7df;
    color: #8a7864;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    overflow: hidden;
}

.image-placeholder span {
    position: relative;
    z-index: 2;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.72);
}

写真を入れる時はこの形に変更
.image-placeholder {
    background-image: url("/img/japan-wedding/hero.jpg");
    background-size: cover;
    background-position: center;
}
.image-placeholder span {
    display: none;
} */

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

    width: 90%;
    max-width: 1600px;
    margin: 60px auto 0;
}
.jw-gallery-item {
    overflow: hidden;
    border-radius: 6px;
}

.jw-gallery-item {
    height: 300px;
    overflow: hidden;
}

.jw-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jw-flow {
    background: #f8f4ef;
}

.jw-flow-list {
    max-width: 1000px;
    margin: 60px auto 0;
    display: grid;
    gap: 24px;
}

.jw-flow-item {
    display: grid;
    grid-template-columns: 90px 220px 1fr;
    align-items: center;
    gap: 28px;

    padding: 30px 34px;
    background: #fff;
    border: 1px solid #e8ded1;
    text-align: left;
}

.jw-flow-number {
    font-size: 34px;
    color: #b4946a;
    letter-spacing: 0.08em;
}

.jw-flow-item h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.jw-flow-item p {
    margin: 0;
    font-size: 15px;
    max-width: none;
}

.jw-contact {
    padding: 120px 24px;
    text-align: center;
    background: #2f2a25;
    color: #fff;
}

.jw-contact h2 {
    margin: 0 0 24px;

    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;

    letter-spacing: 0.04em;
    line-height: 1.2;
}

.jw-contact p {
    max-width: 700px;

    margin: 0 auto;

    font-size: 17px;
    line-height: 1.9;

    color: rgba(255,255,255,0.85);
}

/* ==========================
   CONTACT
========================== */

.contact {
    max-width: 900px;
    margin: 0 auto 10px;
    text-align: center;
}

.contact h2 {
    margin: 0 0 24px;

    font-size: clamp(32px, 4vw, 50px);
    font-weight: 400;

    line-height: 1.2;
    letter-spacing: 0.04em;

    color: #f8f4ef;
}

.contact p {
    max-width: 700px;

    margin: 0 auto;

    font-size: 20px;
    line-height: 1.9;

    color: #f8f4ef;
}


/* ==========================
   CONTACT METHODS
========================== */

.jw-contact-methods {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;

    max-width: 700px;
    margin: 0 auto;
}

.jw-contact-card {
    flex: 1;
    min-width: 280px;

    padding: 32px;

    color: #f8f4ef;

    backdrop-filter: blur(8px);

    text-align: center;
}

.jw-contact-card strong {
    display: block;

    margin-bottom: 16px;

    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;

    color: #f8f4ef;
}

.jw-contact-card a {
    color:#f8f4ef;
    text-decoration: none;
    word-break: break-word;
}

.jw-contact-card a:hover {
    opacity: .8;
}

.contact-outline{
    display: flex;
    justify-content: center;
}

.contact-inline{
    width: 700px;
    display: flex;
}

/* ==========================
   WHATSAPP BUTTON
========================== */

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 17px;

    border: 1px solid #d7c2a3;

    color: #422a07;
    text-decoration: none;

    transition: .3s ease;
}

.whatsapp-link:hover {
    background: rgba(255,255,255,0.08);
}

.whatsapp-link i {
    color: #25D366;
    font-size: 22px;
}

.email-link{
    border: 1px solid #d7c2a3;
    display: inline-flex;
    justify-content: center;
    padding: 17px;
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

    .contact {
        margin-bottom: 40px;
    }

    .contact h2 {
        font-size: 34px;
    }

    .contact p {
        font-size: 16px;
    }

    .jw-contact-methods {
        gap: 16px;
    }

    .jw-contact-card {
        min-width: 100%;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .jw-flow-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 28px 24px;
    }

    .jw-flow-number {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .jw-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .jw-gallery-item img {
        height: 220px;
    }
}

@media (max-width: 900px) {
    .jw-card-grid,
    .jw-destination-grid,
    .jw-gallery-grid {
        grid-template-columns: 1fr;
    }

    .jw-section {
        padding: 72px 20px;
    }

    .jw-hero {
        min-height: 86vh;
        padding: 72px 20px;
    }
}

@media (max-width: 600px) {
    .jw-hero h1 {
        font-size: 42px;
    }

    .jw-lead {
        font-size: 16px;
    }

    .jw-section h2,
    .jw-contact h2 {
        font-size: 32px;
    }

    .jw-card,
    .jw-destination-text {
        padding: 24px;
    }
}