@charset "UTF-8";

/* ==========================================================================
   Project - Top Page Styles (top.css)
   ========================================================================== */

/* Page Background Wrapper */
.p-top {
    background-color: #fce4df;
    /* デザイン指定ピンク背景 */
    padding: 40px 0 120px;
    padding-top: 0;
}

@media screen and (max-width: 768px) {
    .p-top {
        padding: 24px 0 40px;
        padding-top: 0;
    }
}

/* --------------------------------------------------------------------------
   1. Hero / Main Visual Section
   -------------------------------------------------------------------------- */
.p-top-hero {
    background-color: #ffffff;
    padding-top: 24px;
    margin-bottom: 120px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .p-top-hero {
        margin-bottom: 32px;
    }
}

.p-top-hero__title {
    font-size: 40px;
    font-weight: 700;
    color: #6e2c2c;
    line-height: 1.8;
    letter-spacing: 1.6px;
    margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
    .p-top-hero__title {
        font-size: 28px;
        line-height: 1.6;
        letter-spacing: 2.12px;
        margin-bottom: 16px;
    }
}

.p-top-hero__image-wrap {
    max-width: 489px;
    margin: 0 auto;
    position: relative;
    z-index: 0;
    padding-bottom: 42px;
}

@media screen and (max-width: 768px) {
    .p-top-hero__image-wrap {
        max-width: 280px;
        padding-bottom: 20px;
    }
}


.p-top-hero__image-wrap::before {
    z-index: -1;
    position: absolute;
    top: 68.5%;
    left: 50%;
    translate: -50% 0;
    width: 100vw;
    max-width: 100vw;
    height: 31.5%;
    background-color: #fce4df;
    content: "";
}

@media screen and (max-width: 768px) {
    .p-top-hero__image-wrap::before {
        top: 70%;
        height: 30%;

    }
}

.p-top-hero__image {
    width: 100%;
    height: auto;
    display: block;
}

/* Movie Action Buttons */
.p-top-movie-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    background-color: #fce4df;
}

@media screen and (max-width: 768px) {
    .p-top-movie-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media screen and (max-width: 768px) {
    .p-top-movie-grid {
        place-items: center;

    }
}

/* --------------------------------------------------------------------------
   2. Section Common Styles
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .p-top-heading-2 {
        padding-bottom: 16px;
        color: #7C1649;
        font-size: 28px;
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: 1.12px;
    }
    
}

.p-top-section {
    margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
    .p-top-section {
        margin-bottom: 40px;
    }
}

.p-top-section__header {
    text-align: center;
    margin-bottom: 32px;
}

@media screen and (max-width: 768px) {
    .p-top-section__header {
        margin-bottom: 20px;
    }
}

.p-top-section__title {
    font-size: 40px;
    font-weight: 700;
    color: #6e2c2c;
    line-height: 1.8;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

@media screen and (max-width: 768px) {
    .p-top-section__title {
        font-size: 22px;
        line-height: 1.4;
        padding-bottom: 8px;
    }
}

.p-top-section__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #7c1649;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. Section 2: Info Grid Buttons (6 カラムリンクボックス)
   -------------------------------------------------------------------------- */
.p-top-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media screen and (max-width: 768px) {
    .p-top-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.p-top-info-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: transform 0.2s ease;

}

@media screen and (max-width: 768px) {
    .p-top-info-card {
        padding: 16px 20px;
    }
}

.p-top-info-card:hover {
    transform: translateY(-2px);

}

.p-top-info-card__content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.p-top-info-card__thumb {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .p-top-info-card__thumb {
        width: 56px;
        height: 56px;
    }
}

.p-top-info-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    line-height: 1.6;
    letter-spacing: 0.8px;
}

@media screen and (max-width: 768px) {
    .p-top-info-card__title {
        font-size: 16px;
        letter-spacing: 0.4px;
    }
}

.p-top-info-card__arrow {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}


@media screen and (max-width: 768px) {
    .p-top-infusion-grid > *:first-child {
        order :2;
    
    }
}
/* --------------------------------------------------------------------------
   4. Section 3: Wide Support Cards (.p-top-wide-card)
   -------------------------------------------------------------------------- */
.p-top-wide-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (max-width: 768px) {
    .p-top-wide-list {
        gap: 16px;
    }
}

.p-top-wide-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    text-decoration: none;

    transition: transform 0.2s ease;
}

@media screen and (max-width: 768px) {
    .p-top-wide-card {
        flex-direction: column-reverse;
        padding: 20px;
        gap: 16px;
    }
}

.p-top-wide-card:hover {
    transform: translateY(-2px);

}

.p-top-wide-card__body {
    flex: 1;
}

.p-top-wide-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #6e2c2c;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media screen and (max-width: 768px) {
    .p-top-wide-card__title {
        font-size: 18px;
        margin-bottom: 8px;
    }
}

.p-top-wide-card__arrow {
    width: 28px;
    height: 28px;
}

.p-top-wide-card__text {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .p-top-wide-card__text {
        font-size: 14px;
    }
}

.p-top-wide-card__thumb {
    width: 200px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .p-top-wide-card__thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

.p-top-support {
    padding: 60px;
    border-radius: 16px;
    background-color: #fff;
    gap: 24px;
}

@media screen and (max-width: 768px) {
    .p-top-support {
        padding: 0;
        gap: 0;
    }
}