:where(.page-festivals) a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    :where(.page-festivals) a:hover {
        opacity: 0.6;
    }

    :where(.page-festivals) .btn-basic:hover {
        opacity: 0.6;
    }
}

:where(.page-festivals) p {
    font-weight: 500;
    margin: 0;
}

:where(.page-festivals) h2,
:where(.page-festivals) h3,
:where(.page-festivals) h4,
:where(.page-festivals) h5,
:where(.page-festivals) h6 {
    margin: 0;
}

/* Lists */
:where(.page-festivals) ul,
:where(.page-festivals) ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ユーティリティクラス */
.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 992px) {
    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }
}

.text-center {
    text-align: center;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

.d-sm-none {
    display: none;
}

.d-md-none {
    display: none;
}

@media screen and (max-width: 768px) {
    .d-md-none {
        display: block;
    }
}

@media screen and (max-width: 576px) {
    .d-sm-none {
        display: block;
    }
}

.m-0 {
    margin: 0;
}

.mx-auto {
    margin-inline: auto;
}


:root {
    --black: #000;
    --white: #fff;
    --imizu-red: #F50100;
    --imizu-yellow: #F8E505;
    --imizu-blue: #3C66C4;
    --sec01-color: #1D3F4A;
    --sec02-color: #2E3B16;
    --sec03-color: #451312;
    --sec04-color: #695067;
}


/* //既存要素の上書き */
.page-wrapper {
    padding-inline: 0;
    padding-bottom: 0;
    background-position: center top;
    background-image: url(../img/common/wave-lightred.svg);
}

@media screen and (max-width: 768px) {
    .page-wrapper {
        background-image: url(../img/imizu-unique/festivals/wave-lightred-sp.svg);
        background-size: auto 35px;
        margin-top: -20px;
        padding-block: 28px 70px;
    }
}

.toc-toggle::before {
    --toc-icon-w: 80px;
    --toc-icon-h: 100px;
    top: -83px;
    right: 19px;
    background-image: url("../img/imizu-unique/festivals/festivals01_deco.png");
}

/* レイアウト */
.unique-lower-container-1 {
    --max-inner-width: 1152px;
    --gutter-x: 32px;
    max-width: calc(var(--max-inner-width) + var(--gutter-x) * 2);
    margin-inline: auto;
    padding-left: var(--gutter-x);
    padding-right: var(--gutter-x);
}

@media screen and (max-width: 768px) {
    .unique-lower-container-1 {
        --gutter-x: 15px;
    }
}

/* .child-fv */
.child-fv {
    z-index: 10;
    position: relative;
    height: 530px;
    background: url(../img/imizu-unique/festivals/festivals_bg.jpg) no-repeat center center/cover;
}

.child-fv::after {
    position: absolute;
    top: -32px;
    left: 0;
    width: 100%;
    height: 78px;
    content: "";
    background: url(../img/imizu-unique/festivals/child-fv__wave.svg) repeat-x left top/contain;
    z-index: 11;
}

.child-fv .unique-lower-container-1 {
    position: relative;
    width: 90%;
    height: 100%;
}

.child-fv__ttl-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 368px;
    padding-top: 132px;
    padding-bottom: 23px;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    background: var(--imizu-red) url(../img/imizu-unique/festivals/child-fv__ttl-dot.png) repeat top center;
}

.child-fv__ttl {
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.child-fv__ttl-jp {
    display: flex;
    justify-content: center;
    margin-block: 0;
    font-size: 30px;
}

.child-fv__ttl-kana {
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    margin: 0;
    margin-top: -4px;
}

.child-fv__ttl-jp__icon {
    width: 44px;
    margin-top: 4px;
    margin-right: 8px;
}

.child-fv__ttl-jp__icon img {
    display: block;
}

.child-fv__lead {
    position: absolute;
    right: 37px;
    bottom: 60px;
    margin-block: 0;
    line-height: 1.7826086957;
}

.child-fv__lead-line {
    font-size: 23px;
    font-weight: 700;
    padding-left: 0.3043478261em;
    padding-right: 0.3043478261em;
    line-height: calc(37/23);
    background-color: var(--white);
}

@media screen and (max-width: 992px) {
    .child-fv::after {
        display: none;
    }

    .child-fv__ttl-wrap {
        padding-top: 35px;
    }

    .child-fv__lead {
        text-align: right;
    }

}

@media screen and (max-width: 768px) {
    .child-fv {
        min-height: 0;
        height: 340px;
        max-height: none;
        background-size: cover;
        background-position-x: 68.3119174031%;
        background-position-y: center;
    }

    .child-fv .unique-lower-container-1 {
        width: 100%;
    }

    .child-fv__ttl-wrap {
        max-width: 290px;
        margin-inline: auto;
        padding-top: 22px;
        padding-bottom: 22px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        padding-right: 14px;
        gap: 0px;
    }

    .child-fv__ttl {
        align-items: start;
    }

    .child-fv__ttl-jp__icon {
        width: 33px;
        margin-top: 4px;
    }

    .child-fv__ttl-jp {
        font-size: 26px;
        line-height: 1.4230769231;
        margin-bottom: 2px;
    }

    .child-fv__ttl-kana {
        margin-top: 3px;
        font-size: 14px;
        line-height: 1;
        padding-left: 0;
    }

    .child-fv__lead {
        right: 16px;
        bottom: 31px;
        font-size: 17px;
    }

    .child-fv__lead-line {
        padding-right: 0;
        line-height: 2;
        font-size: 17px;
    }

    .child-fv__map {
        display: none;
    }

    .child-fv+.hr-wave-bottom {
        height: 29px;
        background-position-y: calc(100% + 0.5px);
        background-size: auto 29px;
    }
}

/* //.child-fv */

.container-inner {
    --gutter-x: 32px;
    max-width: calc(1152px + var(--gutter-x) * 2);
    margin-inline: auto;
    padding-left: var(--gutter-x);
    padding-right: var(--gutter-x);
}

@media screen and (max-width: 768px) {
    .container-inner {
        --gutter-x: 16px;
    }
}



/*********** **********
 .white-edged-ph
 白縁取り写真
 *********** **********/
.white-edged-ph {
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.white-edged-ph::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: solid 6px var(--white);
}

.white-edged-ph img {
    display: block;
    object-fit: cover;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    padding: 1px;
}

/*// 白縁取り写真*/


/* ボタン */
.page-festivals .btn-basic {
    max-width: 100%;
    width: 396px;
    background-color: var(--imizu-yellow);
    font-weight: 700;
}

.page-festivals .festivals01 .btn-basic {
    color: var(--sec01-color);
}

.page-festivals .festivals02 .btn-basic {
    color: var(--sec02-color);
}

.page-festivals .festivals03 .btn-basic {
    color: var(--sec03-color);
}

.page-festivals .festivals04 .btn-basic {
    color: var(--sec04-color);
}

.btn-basic::after {
    content: "";
    position: absolute;
    width: 1.4411764706em;
    height: 1.4411764706em;
    right: 0.7941176471em;
}


.page-festivals .festivals01 .btn-basic::after {
    background: url(../img/imizu-unique/festivals/btn-sec01.svg) no-repeat center/contain;
}

.page-festivals .festivals02 .btn-basic::after {
    background: url(../img/imizu-unique/festivals/btn-sec02.svg) no-repeat center/contain;
}

.page-festivals .festivals03 .btn-basic::after {
    background: url(../img/imizu-unique/festivals/btn-sec03.svg) no-repeat center/contain;
}

.page-festivals .festivals04 .btn-basic::after {
    background: url(../img/imizu-unique/festivals/btn-sec04.svg) no-repeat center/contain;
}

/*最小ボタン*/
.page-festivals .festivals05 .btn-basic.tiny {
    color: var(--white);
    background-color: var(--imizu-red);
    width: 260px;
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .page-festivals .btn-basic {
        width: 100%;
        max-width: 396px;
        min-height: 74px;
        font-size: 22px;
        line-height: calc(56 / 22);
    }

    .btn-basic::after {
        right: 0.4em;
    }

    .page-festivals .festivals05 .btn-basic.tiny {
        width: 100%;
        max-width: 260px;
        font-size: 17px;
        line-height: calc(48 / 17);
        min-height: 51px;
    }
}

@media screen and (max-width: 375px) {
    .page-festivals .btn-basic {
        font-size: 17px;
    }
}


/* //ボタン */





/* accordion */
.festivals__accordion-wrap {}




.accordion-content-wrap {
    grid-template-rows: 1fr;
}

.accordion-content {
    min-height: auto;
}

.accordion-content-inner {
    padding: 52px 40px;
}

.toggle-btn {
    display: none;
}

@media screen and (max-width: 992px) {
    .festivals__accordion-wrap {
        position: relative;
    }

    .accordion-content-wrap {
        display: grid;
        grid-template-rows: 0fr;
        /* 高さを0に */
        transition: grid-template-rows 0.3s ease-in;
        overflow: hidden;
    }

    /* 開いた状態 */
    .festivals__accordion-wrap.is-open .accordion-content-wrap {
        grid-template-rows: 1fr;
        /* 中身の高さ分広がる */
    }

    /* 中身が消えないようにするための設定 */
    .accordion-content {
        min-height: 0;
    }

    .toggle-btn {
        position: absolute;
        bottom: -151px;
        left: 50%;
        translate: -50% -50%;
        width: 120px;
        height: 120px;
        background-color: var(--imizu-yellow);
        font-size: 22px;
        font-weight: 700;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 5px;
        border-radius: 50%;
        transition: background-color 0.3s ease;
        z-index: 1;
        line-height: calc(21/16);
    }

    .festivals01 .toggle-btn {
        color: var(--sec01-color);
        border: 1px solid var(--sec01-color);
        box-shadow: 5px 5px var(--sec01-color);
    }

    .festivals02 .toggle-btn {
        color: var(--sec02-color);
        border: 1px solid var(--sec02-color);
        box-shadow: 5px 5px var(--sec02-color);
    }

    .festivals03 .toggle-btn {
        color: var(--sec03-color);
        border: 1px solid var(--sec03-color);
        box-shadow: 5px 5px var(--sec03-color);
    }

    .festivals04 .toggle-btn {
        color: var(--sec04-color);
        border: 1px solid var(--sec04-color);
        box-shadow: 5px 5px var(--sec04-color);
    }

    .toggle-btn:hover {
        cursor: pointer;
    }

    .toggle-btn::after {
        content: "";
        display: block;
        width: 30px;
        height: 15px;
        z-index: 2;
    }

    .festivals01 .toggle-btn::after {
        background: url(../img/imizu-unique/festivals/arrow-accordion-sec01.svg) no-repeat center/contain;
    }

    .festivals02 .toggle-btn::after {
        background: url(../img/imizu-unique/festivals/arrow-accordion-sec02.svg) no-repeat center/contain;
    }

    .festivals03 .toggle-btn::after {
        background: url(../img/imizu-unique/festivals/arrow-accordion-sec03.svg) no-repeat center/contain;
    }

    .festivals04 .toggle-btn::after {
        background: url(../img/imizu-unique/festivals/arrow-accordion-sec04.svg) no-repeat center/contain;
    }

    .is-open .toggle-btn {
        padding-top: 10px;
        background-color: var(--white);
        bottom: -167px;
    }

    .is-open .toggle-btn::after {
        width: 13px;
        height: 13px;
    }

    .festivals01 .is-open .toggle-btn::after {
        background: url(../img/imizu-unique/festivals/close-accordion-sec01.svg) no-repeat center/contain;
    }

    .festivals02 .is-open .toggle-btn::after {
        background: url(../img/imizu-unique/festivals/close-accordion-sec02.svg) no-repeat center/contain;
    }

    .festivals03 .is-open .toggle-btn::after {
        background: url(../img/imizu-unique/festivals/close-accordion-sec03.svg) no-repeat center/contain;
    }

    .festivals04 .is-open .toggle-btn::after {
        background: url(../img/imizu-unique/festivals/close-accordion-sec04.svg) no-repeat center/contain;
    }

}

@media screen and (max-width: 768px) {
    .toggle-btn {
        position: absolute;
        bottom: -98px;
        width: 80px;
        height: 80px;
        font-size: 16px;
        gap: 5px;
    }

    .toggle-btn::after {
        width: 20px;
        height: 9px;
    }

    .is-open .toggle-btn {
        bottom: -110px;
    }
}

/* お祭りセクションのコンテナ */
.festivals-section .unique-lower-container-1-inner {
    padding-top: 14px;
    padding-bottom: 11px;
    padding-inline: 32px;
}

@media screen and (max-width: 768px) {
    .festivals-section .unique-lower-container-1-inner {
        padding-top: 6px;
        padding-inline: 15px;
    }
}

/* お祭りセクションの背景 */
.bg-frame {
    border-left: 8px solid #948E29;
    border-right: 8px solid #948E29;
    position: relative;
    padding-top: 107px;
    padding-bottom: 55px;
    padding-inline: 13px;
}

.bg-frame::before,
.bg-frame::after {
    content: "";
    width: calc(100% + 25px * 2);
    height: 8px;
    background-color: #948E29;
    position: absolute;
    left: 50%;
    translate: -50% 0;
}

.bg-frame::before {
    top: 16px;
}

.bg-frame::after {
    bottom: 16px;
}

@media screen and (max-width: 768px) {
    .bg-frame {
        border-left: 4px solid #948E29;
        border-right: 4px solid #948E29;
        padding-top: 78px;
        padding-bottom: 21px;
        padding-inline: 15px;
    }

    .festivals02 .bg-frame {
        padding-top: 50px;
    }

    .festivals04 .bg-frame {
        padding-top: 50px;
    }

    .bg-frame::before,
    .bg-frame::after {
        width: calc(100% + 10px * 2);
        height: 4px;
    }

    .bg-frame::before {
        top: 8px;
    }

    .bg-frame::after {
        bottom: 8px;
    }
}


/* festivalセクション共通 */
.festivals__header {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.festivals__header-img {}

.festivals__header-img--pc {
    width: 38.24%;
    width: 432px;
    margin-top: 13px;
    margin-left: 16px;
}

.festivals__header-img--pc .white-edged-ph {
    rotate: -4deg;
    aspect-ratio: 412/309;
    position: relative;
}

.festivals__header-img--pc .white-edged-ph::after {
    content: "";
    position: absolute;
    bottom: -76px;
    left: -186px;
    background: url(../img/imizu-unique/festivals/deco-cloud.png) no-repeat center center / cover;
    width: 344px;
    height: 150px;
    rotate: 4deg;
}

.festivals__header-text-wrap {
    width: 39.43%;
}

.festivals__header-ttl {
    color: var(--imizu-yellow);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: calc(35 / 24);
}

.circle-num {
    margin: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding-top: 0.12em;
    padding-right: 0.12em;
    text-align: center;
    border-radius: 50%;
    font-family: "Fugaz One", sans-serif;
    font-weight: 400;
}

.page-festivals .circle-num {
    background-color: var(--imizu-yellow);
}

.festivals01 .circle-num {
    color: #1E3F4A;
}

.festivals02 .circle-num {
    color: var(--sec02-color);
}

.festivals03 .circle-num {
    color: var(--sec03-color);
}

.festivals04 .circle-num {
    color: var(--sec04-color);
}



.festivals__header-festival-name {
    background-color: var(--imizu-yellow);
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    line-height: calc(42 / 30);
    margin-bottom: 5px;
}


.festival-period {
    position: relative;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    line-height: calc(34 / 16);
}

.festival-period::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    background-color: var(--imizu-yellow);
    border-radius: 50%;
    margin-right: 6px;
}

.festivals__header-content-text {
    color: var(--white);
    font-size: 17px;
    line-height: calc(34 / 17);
}

.festivals__header-content-text.pc-only {
    margin-top: 10px;
}

.festivals__pickup {
    margin-top: 60px;
}

.festivals__pickup-ttl-wrap {
    margin-bottom: 45px;
    text-align: center;
}

.festivals__pickup-label {
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    line-height: calc(35 / 17);
    color: var(--imizu-yellow);
    font-family: "Fugaz One", sans-serif;
}

.festivals__pickup-ttl {
    font-size: 20px;
    font-weight: 700;
    line-height: calc(34 / 20);
    color: var(--white);
    display: inline;
    text-align: center;
    background-image: url("../img/common/line-wave-yellow.svg");
    background-repeat: repeat-x;
    background-position: left bottom;
    background-size: 20px 20px;
    padding-bottom: 13px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}


.festivals__pickup-content {
    margin-bottom: 42px;
}

.festivals__pickup-list {}

.festivals__pickup-item {}

.festivals__pickup-item:not(:last-child) {
    margin-bottom: 78px;
}

.festivals__pickup-link {
    display: grid;
    grid-template-areas:
        "a b"
        "a c"
        "a d";
    grid-template-columns: 276px 384px;
    grid-template-rows: auto auto 1fr;
    column-gap: 25px;
    justify-content: center;
}

.festivals__pickup-item-img {
    grid-area: a;
}

.festivals__pickup-item-img img {
    aspect-ratio: 276/207;
    object-fit: cover;
}

.festivals__pickup-festival-name {
    grid-area: b;
    font-size: 20px;
    font-weight: 700;
    line-height: calc(48 / 20);
    color: var(--imizu-yellow);
}

.festivals__pickup-festival-name::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 28px;
    margin-top: -9px;
    margin-left: 4px;
}

.festivals01 .festivals__pickup-festival-name::after {
    background: url(../img/imizu-unique/festivals/link-arrow-sec01.svg) no-repeat center center / cover;
}

.festivals02 .festivals__pickup-festival-name::after {
    background: url(../img/imizu-unique/festivals/link-arrow-sec02.svg) no-repeat center center / cover;
}

.festivals03 .festivals__pickup-festival-name::after {
    background: url(../img/imizu-unique/festivals/link-arrow-sec03.svg) no-repeat center center / cover;
}

.festivals04 .festivals__pickup-festival-name::after {
    background: url(../img/imizu-unique/festivals/link-arrow-sec04.svg) no-repeat center center / cover;
}

.festivals__pickup .festival-period {
    grid-area: c;
}

.festivals__pickup-festival-text {
    grid-area: d;
    color: var(--white);
    font-size: 17px;
    font-weight: 500;
    line-height: calc(34 / 17);
}

.link-more__label {
    color: var(--imizu-yellow);
    font-size: 18px;
    font-weight: 700;
    line-height: calc(48 / 18);
    text-align: center;
}

@media screen and (max-width: 992px) {
    .festivals__header {
        flex-direction: column;
    }

    .festivals__header-text-wrap {
        width: 100%;
    }

    .festivals__header-img--sp {
        width: 98%;
        margin-inline: auto;
        margin-top: 16px;
        position: relative;
    }

    .festivals__header-img--sp img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 275/206;
        border-radius: 14px;
    }

    .festivals__header-img--sp::after {
        content: "";
        position: absolute;
        bottom: 7px;
        left: -30%;
        background: url(../img/imizu-unique/festivals/deco-cloud.png) no-repeat center center / cover;
        width: 45.12vw;
        height: 19.74vw;
        z-index: 3;
    }

    .festivals__header-ttl {
        margin-bottom: 6px;
        text-align: center;
    }


    .festivals__header-festival-name {
        font-size: 22px;
        line-height: calc(45 / 22);
        margin-bottom: 7px;
        text-align: center;
        display: block;
        width: fit-content;
        margin-inline: auto;
    }

    .festival-period {
        text-align: center;
        font-size: 18px;
    }

    .festivals__header-content-text.sp-only {
        font-size: 20px;
    }

    .festivals__pickup {
        margin-top: 43px;
    }

    .festivals__pickup-item-img {
        width: 95%;
        margin-inline: auto;
    }

    .festivals__pickup-item-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 276/207;
    }


    .festivals__pickup-label {
        font-size: 20px;
    }



    .festivals__pickup-list {}

    .festivals__pickup-item {}



    .festivals__pickup-festival-name {
        text-align: center;
    }

    .festivals__pickup-link {
        display: grid;
        grid-template-areas:
            "b"
            "a"
            "c"
            "d";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        align-items: center;
        row-gap: 0;
    }

    .festivals__pickup-ttl {
        font-size: 22px;
    }

    .festivals__pickup-festival-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .festivals__header-ttl {
        font-size: 20px;
        line-height: calc(35 / 20);
    }

    .festivals__header-festival-name {
        font-size: 22px;
        line-height: calc(35 / 20);
    }

    .circle-num {
        width: 24px;
        height: 24px;
        font-size: 18px;
    }

    .festivals__header-festival-name {
        padding-inline: 2px;
    }

    .festival-period {
        line-height: calc(25 / 16);
        font-size: 16px;
    }

    .festivals__header-content-text.sp-only {
        font-size: 17px;
    }

    .festivals__pickup {
        margin-top: 32px;
    }

    .festivals__pickup-label {
        font-size: 17px;
        line-height: calc(27 / 17);
    }

    .festivals__pickup-ttl {
        font-size: 20px;
        line-height: calc(40 / 20);
    }


    .festivals__pickup-ttl-wrap {
        margin-bottom: 16px;
    }

    .festivals__pickup-festival-text {
        margin-top: 10px;
        font-size: 17px;
    }

    .festivals__pickup-item:not(:last-child) {
        margin-bottom: 36px;
    }

    .festivals__pickup-content {
        margin-bottom: 4px;
    }

    .link-more {
        padding-bottom: 26px;
    }

}

@media screen and (max-width: 375px) {
    .festivals__pickup-festival-name {
        font-size: 18px;
    }

    .link-more {
        margin-top: 30px;
    }
}

/* section01 */
.festivals01 {
    margin-top: 162px;
}

.festivals01 .unique-lower-container-1-inner {
    background-color: var(--sec01-color);
    position: relative;
}

.festivals01__deco-img {
    position: absolute;
    top: -67px;
    right: 39px;

}

.festivals01 .festivals__header-festival-name {
    color: #1E3F4A;
}

@media screen and (max-width:1200px) {
    .festivals01 {
        margin-top: 130px;
    }

    .festivals01 .unique-lower-container-1-inner {}

    .festivals01__deco-img {
        top: -110px;
        width: 150px;
    }

    .festivals01 .festivals__header-festival-name {
        color: #1E3F4A;
    }
}

@media screen and (max-width: 992px) {
    .festivals01__deco-img {
        top: -184px;
        right: auto;
        left: 50%;
        translate: -50% 0;
    }
}

@media screen and (max-width: 768px) {
    .festivals01 {
        margin-top: 97px;
    }

    .festivals01__deco-img {
        top: -125px;
        width: 109px;
    }
}



/* section02 */
.festivals02 {
    margin-top: 115px;
}

.festivals02 .unique-lower-container-1-inner {
    background-color: var(--sec02-color);
}

.festivals02__deco-img {
    position: absolute;
    top: -80px;
    right: 26px;
}

.festivals02 .festivals__header-festival-name {
    color: var(--sec02-color);
}

@media screen and (max-width: 1200px) {
    .festivals02__deco-img {
        top: -17px;
        width: 170px;
    }
}

@media screen and (max-width: 992px) {
    .festivals02__deco-img {
        top: -135px;
        right: auto;
        left: 50%;
        translate: -50% 0;
    }
}

@media screen and (max-width: 768px) {
    .festivals02__deco-img {
        top: -108px;
        width: 140px;
    }
}

/* section03 */
.festivals03 {
    margin-top: 123px;
}

.festivals03 .unique-lower-container-1-inner {
    background-color: var(--sec03-color);
}

.festivals03__deco-img {
    position: absolute;
    top: -89px;
    right: 48px;
}

.festivals03 .festivals__header-festival-name {
    color: var(--sec03-color);
}

@media screen and (max-width: 1200px) {
    .festivals03__deco-img {
        top: -80px;
        width: 120px;
    }
}

@media screen and (max-width: 992px) {
    .festivals03__deco-img {
        top: -172px;
        right: auto;
        left: 50%;
        translate: -50% 0;
    }
}

@media screen and (max-width: 768px) {
    .festivals03__deco-img {
        top: -122px;
        width: 90px;
    }
}

/* section04 */
.festivals04 {
    margin-top: 123px;
}


.festivals04 .unique-lower-container-1-inner {
    background-color: var(--sec04-color);
}

.festivals04__deco-img {
    position: absolute;
    top: -9px;
    right: -8px;
}

.festivals04 .festivals__header-festival-name {
    color: var(--sec04-color);
}

.festivals04 .link-more {
    margin-top: 30px;
}

@media screen and (max-width: 1200px) {
    .festivals04__deco-img {
        top: -50px;
        width: 180px;
    }
}

@media screen and (max-width: 992px) {
    .festivals04__deco-img {
        top: -160px;
        right: auto;
        left: 50%;
        translate: -50% 0;
    }
}

@media screen and (max-width: 768px) {
    .festivals04__deco-img {
        top: -105px;
        width: 130px;
    }
}

/* section05 */
/* .ttl-pattern-2 (seaside-area.cssより移植)*/
.ttl-pattern-2 {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 20px;
    line-height: 1.7;
    color: var(--imizu-blue);
    /* フェスティバルページ用 */
    font-weight: 700;
}

/*ボックスパーツ (seaside-area.cssより移植)*/
/* .box-pattern-1 */
.box-pattern-1 {
    --box-bg-color: var(--white);
    --box-border: solid 1px var(--imizu-blue);
    max-width: 542px;
}

.box-pattern-1__top {
    padding: 68px 64px 0;
    border-top: var(--box-border);
    border-left: var(--box-border);
    border-right: var(--box-border);
    background-color: var(--box-bg-color);
}

.box-pattern-1__top>*:last-child {
    margin-bottom: 0;
}

.box-pattern-1__bottom {
    display: flex;
    margin-top: -1px;
}

.box-pattern-1__bottom-left {
    flex: 1;
    border-left: var(--box-border);
    border-bottom: var(--box-border);
    background-color: var(--box-bg-color);
}

.box-pattern-1__bottom-right {
    width: 37px;
    height: 39px;
    margin-left: -1px;
    background: url(../img/imizu-unique/seaside-area/box-pattern-1-corner.svg) no-repeat bottom right/contain;
}

.box-pattern-1 .ttl-pattern-2 {
    margin-bottom: 10px;
}

.box-pattern-1__text {
    margin-top: 0;
    margin-bottom: 26px;
}

@media screen and (max-width: 768px) {
    .box-pattern-1__top {
        padding: 70px 18px 30px;
    }

    .box-pattern-1__bottom-right {
        width: 27px;
        height: 29px;
        background-image: url(../img/imizu-unique/seaside-area/box-pattern-1-corner-sp.svg);
    }

    .box-pattern-1 .ttl-pattern-2 {
        margin-bottom: 16px;
    }

    .box-pattern-1__text {
        margin-inline: 12px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 375px) {
    .box-pattern-1__text {
        margin-inline: 0;
    }
}

/*.badge-pickup (seaside-area.cssより移植)*/
.badge-pickup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.3157894737em;
    height: 4.3157894737em;
    margin-top: 0;
    text-align: center;
    font-size: 19px;
    font-family: "Fugaz One", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.1578947368;
    color: var(--black);
    background: url(../img/imizu-unique/festivals/badge-pickup-bg.svg) no-repeat center/contain;
}

@media screen and (max-width: 768px) {
    .badge-pickup {
        width: 5.2105263158em;
        height: 5.2105263158em;
    }
}

/* .img-layout-2 (seaside-area.cssより移植) */
.img-layout-2 {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    margin-right: 40px;
}


.img-layout-2__photos {
    /* festivalsページ用に追加 */
    display: flex;
    margin-top: 50px;
}


.img-layout-2__ph {
    position: relative;
    margin-right: -44px;
}

.img-layout-2__ph .badge-pickup {
    z-index: 3;
    position: absolute;
    top: -27px;
    left: -56px;
    margin-block: 0;
}

.img-layout-2__ph .white-edged-ph {
    z-index: 1;
    position: relative;
    width: 100%;
    max-width: 160px;
    aspect-ratio: 160/215;
}

.img-layout-2__ph .white-edged-ph img {
    object-fit: cover;
}


.img-layout-2__ph--1 {
    margin-right: -25px;
    margin-top: 33px;
}

.img-layout-2__ph--1 .white-edged-ph {
    transform-origin: center;
    rotate: -11deg;
    z-index: 2;
}


.img-layout-2__ph--2 .white-edged-ph {
    transform-origin: center;
    z-index: 1;
}


.img-layout-2 .box-pattern-1__top {
    padding: 66px 64px 7px 84px;

}

@media screen and (max-width: 992px) {
    .img-layout-2 {
        display: block;
        margin-inline: auto;
    }

    .img-layout-2__photos {
        margin-top: 0;
        justify-content: center;

    }

    .img-layout-2__ph .badge-pickup {
        width: 82px;
        height: 82px;
        top: -46px;
        left: -6px;
    }

    .img-layout-2__ph--1 {}

    .img-layout-2__ph--2 {
        margin-right: 0;
    }

    .img-layout-2__cnt {
        margin-inline: auto;
    }

    .img-layout-2 .box-pattern-1__top {
        margin-top: -65px;
        padding: 66px 20px 0;
    }
}

@media screen and (max-width: 400px) {
    .img-layout-2 .box-pattern-1__top {
        padding: 66px 10px 0 10px;
    }
}

@media screen and (max-width: 375px) {
    .img-layout-2__ph .badge-pickup {
        width: 4.6315789474em;
        height: 4.6315789474em;
    }

    .img-layout-2__photos {
        padding-left: 10px;
        padding-right: 15px;
    }
}

/* section05 */
.festivals05 {
    margin-top: 176px;
    margin-bottom: 154px;
}

@media screen and (max-width: 768px) {
    .festivals05 {
        margin-top: 80px;
        margin-bottom: 90px;
    }
}

/* section06 */
.festivals06 {
    padding-bottom: 156px;
}

@media screen and (max-width: 768px) {
    .festivals06 {
        padding-bottom: 0;
    }
}

/* 波線区切り */
.hr-wave-bottom {
    display: block;
    width: 100%;
    height: 39px;
    margin-top: -1.5px;
    margin-bottom: 0;
    border: 0;
    background: url(../img/imizu-unique/festivals/wave-red.svg) repeat-x center calc(100% + 1px)/auto 39px;
}

@media screen and (max-width: 768px) {
    .hr-wave-bottom {
        height: 29px;
        background-image: url("../img/imizu-unique/festivals/wave-red-sp.svg");
        background-size: auto 41.8px;
    }
}

/* エリアマップセクション */
.area-map__container {
    --max-inner-width: 760px;
    --gutter-x: 32px;
    max-width: calc(var(--max-inner-width) + var(--gutter-x) * 2);
    margin-inline: auto;
    padding-top: 84px;
    padding-left: var(--gutter-x);
    padding-right: var(--gutter-x);
    margin-bottom: 55px;
}

.area-map__ttl-wrap {
    text-align: center;
}


.area-map__ttl {
    color: #000;
    font-size: 24px;
    display: inline;
    line-height: calc(48/24);
    background-image: url("../img/imizu-unique/festivals/line-wave-red.svg");
    background-repeat: repeat-x;
    background-position: left bottom;
    background-size: 20px 20px;
    padding-bottom: 13px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

@media screen and (max-width: 768px) {
    .ttl-wave-wrap {
        text-align: center;
        margin: 30px auto 30px;
    }
}

.area-map__map {
    margin-block: 0;
    margin-top: 44px;
    aspect-ratio: 757/507;
    border-radius: 15px;
    overflow: hidden;
}

.area-map__map iframe {
    width: 100%;
    height: 100%;
}


@media screen and (max-width: 768px) {
    .area-map__container {
        --gutter-x: 0;
        padding-top: 39px;
    }

    .area-map__map {
        margin-top: 40px;
        aspect-ratio: 334/393;
    }

}

.festivals06 .link-more__label {
    color: var(--imizu-red);
}

.festivals06 .btn-basic {
    background-color: var(--imizu-red);
}