/* レイアウト */

.p-entry {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
}
.p-entry__image {
    grid-row: 1;
}
.p-entry__title {
    grid-row: 2;
}
.p-entry__body {
    grid-row: 3;
}
.p-entry__body .p-entry__title {
    display: block;
}
.p-entry__image {
    margin-inline: -20px;
}
.w-full {
    margin: 0 -20px;
}
.l-entry {
    border-bottom: none;
    padding-bottom: 0;
}

/* Grid内のSwiper対策 */
.p-entry__body {
    min-width: 0; /* Grid子要素のmin-width: autoを上書き */
}
.p-entry__body .swiper {
    overflow: hidden; /* Swiperの幅を親に収める */
}

/* コンポーネント */
.text-center {
    text-align: center;
}
.text-white {
    color: #fff !important;
}
.c-color-02 {
    color: #ca6e79;
}
.c-icon-pr {
    display: inline-block;
    padding: 0 10px;
    background: #9b8078;
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 2px;
}
.mb-0 {
    margin-bottom: 0;
}
.sp-mb-10 {
    margin-bottom: 10px;
}
.sp-mb-20 {
    margin-bottom: 20px;
}
.sp-mb-30 {
    margin-bottom: 30px;
}
.photo-plan-subtitle {
    display: block;
    width: 240px;
    height: auto;
    margin: 0 auto 10px;
}

.photo-plan-subtitle picture {
    width: 100%;
    display: block;
}

/* ギャラリーグリッド */
.gallery-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}
.gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-container img:nth-child(1) {
    grid-column: 1 / -1; /* 1枚目: 全幅 */
}
.gallery-container img:nth-child(4) {
    grid-column: 1 / -1; /* 4枚目: 全幅 */
}

/* コンテンツ */
.post-plan-photo-container {
    background: #f0ebe9;
    padding: 20px 20px 40px;
    margin-top: 30px;
}
.what-container {
    background: #f0ebe9;
    padding: 40px 20px 40px;
    margin-bottom: 30px;
}
.section-bg {
    background: url('https://www.best-anniversary.co.jp/studiophotopark/wedding/wp-content/uploads/2025/12/tokyo-station-section-bg_sp.png') no-repeat center center / cover;
}
.short-bg {
    background: url('https://www.best-anniversary.co.jp/studiophotopark/wedding/wp-content/uploads/2025/12/tokyo-station-short-bg_sp.png') no-repeat center center / cover;
}
.long-bg {
    background: url('https://www.best-anniversary.co.jp/studiophotopark/wedding/wp-content/uploads/2025/12/tokyo-station-long-bg_sp.png') no-repeat center center / cover;
}

/* パーツ */
.p-entry__title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}
.post-plan-slider ul li::before {
    display: none;
}
.post-plan-slider h3.p-gtop-plan__slider-head__content-title {
    border-bottom: none;
    color: inherit;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 0;
}
.post-plan-slider p.p-gtop-plan__slider-head__content-text {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    margin: 15px 0;
}
.post-plan-slider p.p-gtop-plan__slider-head__content-description {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 0;
}
.post-plan-slider ul {
    margin-top: 25px;
}

.reserve-btn {
    width: 257px;
    margin-inline: auto;
}
.reserve-btn p {
    font-size: inherit;
    line-height: inherit;
}

@media screen and (min-width: 769px) {
    /* レイアウト */
    .p-entry__image {
        margin-inline: calc(50% - 50vw);
        width: 100vw;
    }
    .w-full {
        margin: 0 calc(50% - 50vw);
        width: 100vw;
    }

    /* ギャラリーグリッド PC */
    .gallery-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .gallery-container img {
        height: 228px;
        object-fit: cover;
    }
    .gallery-container img:nth-child(1) {
        grid-column: span 2; /* 2カラム分 */
    }
    .gallery-container img:nth-child(4) {
        grid-column: 3 / 5; /* 右側2カラム分 */
        grid-row: 2;
    }
    .gallery-container img:nth-child(5) {
        grid-column: 1;
        grid-row: 2;
    }
    .gallery-container img:nth-child(6) {
        grid-column: 2;
        grid-row: 2;
    }

    /* コンテンツ */
    .what-container {
        padding: 60px 0 60px;
        margin-bottom: 60px;
    }
    .what-container.long-bg {
        padding: 160px 0 160px;
    }
    .post-plan-photo-container {
        padding: 100px 0 100px;
        margin-top: 60px;
    }
    .section-bg {
        background: url('https://www.best-anniversary.co.jp/studiophotopark/wedding/wp-content/uploads/2025/12/tokyo-station-section-bg_pc.png') no-repeat center center / cover;
    }
    .short-bg {
        background: url('https://www.best-anniversary.co.jp/studiophotopark/wedding/wp-content/uploads/2025/12/tokyo-station-short-bg_pc.png') no-repeat center center / cover;
    }
    .long-bg {
        background: url('https://www.best-anniversary.co.jp/studiophotopark/wedding/wp-content/uploads/2025/12/tokyo-station-long-bg_pc.png') no-repeat center center / cover;
    }

    /* コンポーネント */
    .pc-text-center {
        text-align: center;
    }
    .pc-mb-10 {
        margin-bottom: 10px;
    }
    .pc-mb-20 {
        margin-bottom: 20px;
    }
    .pc-mb-30 {
        margin-bottom: 30px;
    }
    .pc-mb-100 {
        margin-bottom: 100px;
    }
    .pc-aspect-380-107 {
        width: 380px;
        height: 107px;
    }

    /* パーツ */
    .p-entry__body h2 strong {
        width: 100%;
    }

    .post-plan-slider ul {
        gap: 15px;
        margin-top: 30px;
    }
    .post-plan-slider ul li {
        width: 290px;
        position: relative;
        padding: 0 0 20px;
        margin: 0;
    }
    .post-plan-slider ul li::before {
        content: none;
    }
    .post-plan-slider .p-gtop-plan__slider-ranking {
        left: 0;
        top: -30px;
    }
    .post-plan-slider .p-gtop-plan__slider-head {
        flex-direction: column;
        gap: 22px;
    }
    .post-plan-slider .p-gtop-plan__slider-head__image {
        width: 100%;
    }
    .post-plan-slider .p-gtop-plan__slider-head__content {
        width: 100%;
    }
    .post-plan-slider .p-gtop-plan__slider-btn {
        margin: 25px auto 0;
        max-width: calc(100% - 50px);
        width: 100%;
    }
    .post-plan-slider .c-btn04 {
        height: 60px;
    }
    .post-plan-slider .c-btn04__text::before {
        width: 24px;
    }
    .post-plan-slider .c-btn04__text-inner {
        height: 100%;
    }
    .post-plan-slider .c-btn04__text-inner span {
        height: 100%;
        display: flex;
        align-items: center;
    }
    .post-plan-slider .c-btn04__text-inner span.large {
        font-size: 1.6rem;
        margin-bottom: 0;
    }
    .post-plan-slider .swiper-button-next,
    .post-plan-slider .swiper-button-prev {
        display: none;
    }

    .reserve-btn {
        width: 600px;
    }

    .photo-plan-subtitle {
        display: block;
        width: 275px;
        height: auto;
        margin: 0 auto 10px;
    }
    .c-icon-pr {
        padding: 3px 16px;
        font-size: 16px;
    }
}

.c-btn04__text-inner span.large.tokyo-station {
    font-size: 1.4rem;
    margin-bottom: 0;
    line-height: 1.5;
}
