/* 地域別メインカラーの設定 */
.pamph-page.hokkaido {
    --area-color: #406CB1;
}

.pamph-page.tohoku {
    --area-color: #FFB601;
}

.pamph-page.kanto {
    --area-color: #E76D9E;
}

.pamph-page.chubu {
    --area-color: #8FCD0F;
}

.pamph-page.kinki {
    --area-color: #01B7E5;
}

.pamph-page.tyugoku {
    --area-color: #EB6666;
}

.pamph-page.kyushu {
    --area-color: #A978F4;
}

.pamph-page.oversea {
    --area-color: #4BA17A;
}


@media screen and (min-width: 769px) {
    .sp-only {
        display: none;
    }
}


p {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: .02em;
}

/* グラデーション背景のベース */
.page-header__bg {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(226, 207, 255, 1), rgba(251, 253, 191, 1));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.page-header__inner {
    padding: 0 59px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.page-header-text p {
    font-size: clamp(20px, 7.3vw, 100px);
    font-weight: 700;
    margin: 0;
    letter-spacing: .05em;
    display: inline-block;
    position: relative;
}

.page-header-text p::after {
    content: "";
    width: 50px;
    height: 95px;
    background: url(../img/pamph/icon_a.svg) no-repeat center / cover;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(100%);
    -webkit-transform: translateY(-50%) translateX(100%);
}

.page-header-text span, .r_venue_name {
    color: #F0007F;
}

.pamph_main {
    color: initial;
}


.entry-content .inner {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 35px;
    border-radius: 20px;
    background-color: #fff;
}

.btn-back {
    text-align: center;
    display: block !important;
    width: 50%;
    padding: 20px 0;
    background-color: #555;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 20px auto;
    border-radius: 7px;
}

.pamph_intro p {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}


.pamphlet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px auto;
    padding: 0;
}

.pamphlet-grid li {
    list-style: none;
    background-color: #efefef;
    border-radius: 10px;
    padding: 7px;
}

.pamphlet-thumb img {
    border-radius: 6px;
}

.pamphlet-caption {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.p_date h3 {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: .03em;
    border-bottom: 3px solid #AAAAAA;
    position: relative;
    padding-bottom: 20px;
}

.p_date h3::before {
    content: "";
    width: 223px;
    height: 3px;
    display: block;
    background-color: var(--area-color);
    position: absolute;
    bottom: -3px;
    left: 0;
}

.p_date span {
    font-size: 1.8rem;
}


@media screen and (max-width: 768px) {
    .pamph-page {
        padding-top: 40px;
    }

    .page-header__bg {
        height: 182px;
    }

    .page-header__inner {
        padding: 0 20px;
    }

    .page-header-text p {
        font-size: 3.6rem;
    }

    .page-header-text p::after {
        width: 14px;
        height: 26px;
    }

    .r_venue_name {
        font-size: 2rem;
    }

    .page-header__title {
        margin: 10px 0;
    }

    .entry-content {
        padding: 0 5px;
    }

    .entry-content .inner {
        padding: 15px 10px;
    }

    .pamph-page h2 {
        font-size: 2.2rem;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .pamph-page li {
        font-size: 1.6rem;
    }

    .btn-back {
        width: 80%;
    }

    .pamphlet-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pamph_intro {
        line-height: 1.5;
    }

    .pamphlet-caption {
        font-size: 1.4rem;
        line-height: 1.2;
        height: 60px;
    }

    article.type-pamphlet {
        padding-bottom: 70px;
    }

    .p_date h3 {
        line-height: 1.4;
        padding-bottom: 10px;
    }

    .p_date span {
        display: block;
    }
}