/* -------------------------------------------
　ベース
------------------------------------------- */
/* 変数 */
:root {
    --font-main: fot-tsukuardgothic-std, sans-serif;
    --font-sub: dnp-shuei-shogomincho-std, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* 調整 */
.sns {
    z-index: 1;
}

/* -------------------------------------------
　content-wrap
------------------------------------------- */

.content-wrap {
    position: relative;
    font-family: var(--font-main);
    word-break: keep-all;
    overflow-wrap: break-word;
}

a:hover {
    opacity: 0.7;
}

/* -------------------------------------------
　nav
------------------------------------------- */

.nav__switch {
    display: none;
}

.nav__content {
    background: #cdd0e1;
    color: #172143;
    font-family: var(--font-sub);
    line-height: 1.2;
    letter-spacing: 0.1em;
    display: flex;
}

@media (min-width:769px) {
    [id^="n_"] {
        scroll-margin-top: calc(72px + 64px);
    }

    .nav {
        top: 64px;
        position: sticky;
        z-index: 50;
    }

    .nav__content {
        position: relative;
        width: 100%;
        font-size: 28px;
        padding: 0.8em 3em;
    }

    .nav__item {
        display: block;
        flex: 1;
        text-align: center;
        position: relative;
    }

    .nav__item:not(:last-child)::after {
        content: "";
        display: block;
        width: 1px;
        height: 1em;
        background: #172143;
        position: absolute;
        top: 0.1em;
        right: 0;
    }

}

@media (max-width:768px) {
    [id^="n_"] {
        scroll-margin-top: calc(60px + 64px);
    }

    .nav {
        top: 64px;
    }

    .nav__content {
        position: fixed;
        font-size: 24px;
        flex-direction: column;
        align-items: center;
        gap: 1em;
        padding-block: 64px 1em;
        padding-inline: 1em;
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        width: 80%;
        top: 64px;
        right: 0;
        transform: translateX(100%);
        transition: all 0.5s;
        z-index: 51;
    }

    .nav__switch:checked~.nav__content {
        transform: translateX(0%);
    }

    .nav__bg {
        background-color: #0000005e;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 64px;
        left: 0;
        opacity: 0;
        transition: all 0.5s;
        pointer-events: none;
        z-index: 50;
        backdrop-filter: blur(2px);
    }

    .nav__switch:checked~.nav__bg {
        opacity: 1;
        pointer-events: all;
    }

    .nav__header {
        background: #cdd0e1;
        width: 100%;
        height: 60px;
        position: relative;
    }

    .nav__hamburger {
        background: #cdd0e1;
        width: 50px;
        display: block;
        height: 50px;
        margin-left: auto;
        position: fixed;
        top: calc(64px + 5px);
        right: 5px;
        z-index: 52;
    }

    .nav__hamburger::before,
    .nav__hamburger::after {
        content: "";
    }

    .nav__hamburger .nav__hamburger-equipment,
    .nav__hamburger::before,
    .nav__hamburger::after {
        width: 30px;
        display: block;
        height: 3px;
        border-radius: 3px;
        background-color: #172143;
        transition: 0.3s;
        left: 10px;
        position: absolute;
    }

    .nav__hamburger::before {
        top: 12px;
    }

    .nav__hamburger .nav__hamburger-equipment {
        top: calc(50% - 1.5px);
    }

    .nav__hamburger::after {
        top: calc(100% - 15px);
    }

    .nav__switch:checked~.nav__hamburger::before {
        transform: rotate(45deg);
        top: calc(50% - 1.5px);
    }

    .nav__switch:checked~.nav__hamburger .nav__hamburger-equipment {
        opacity: 0;
    }

    .nav__switch:checked~.nav__hamburger::after {
        transform: rotate(-45deg);
        top: calc(50% - 1.5px);
    }

    /* ナビゲーションメニューオープン時スクロール不可 */
    html:has(.nav__switch:checked) {
        overflow: hidden;
    }
}

@media (max-width: 428px) {
    [id^="n_"] {
        scroll-margin-top: calc(60px + 48px);
    }

    .nav__hamburger {
        top: calc(48px + 5px);
    }

    .nav__content {
        height: calc(100vh - 48px);
        height: calc(100dvh - 48px);
        top: 48px;
    }

    .nav__bg {
        top: 48px;
    }
}

/* -------------------------------------------
 intro
------------------------------------------- */

.intro {
    background: no-repeat center bottom -1px / 100% auto url(../images/bg-circle-top.webp), no-repeat center bottom/100% auto url(../images/bg-mv.webp), #000000;
    padding-bottom: 12%;
    color: #fff;
}

.intro__lead {
    text-align: center;
    padding-inline: max(3%, 0.8rem);
    padding-block: max(5%, 1rem) max(9%, 1.3rem);
    font-weight: bold;
    filter: drop-shadow(0 0 11px #172143) drop-shadow(0 0 11px #172143);
}

.intro__text {
    font-size: clamp(18px, calc(18px + (32 - 18) * (100vw - 375px) / (1000 - 375)), 29px);
    line-height: 1.4;

    &:not(:last-child) {
        padding-bottom: 0.5em;
    }
}

.intro__text--large {
    font-size: clamp(24px, calc(24px + (57 - 24) * (100vw - 375px) / (1000 - 375)), 49px);
}

.intro__emphasis {
    color: #fff100;
}

@media (min-width:769px) {
    .intro {
        margin-top: -72px;
    }
}

@media (max-width:768px) {
    .intro {
        margin-top: -35px;
    }
}

/* -------------------------------------------
main-section
------------------------------------------- */

.main-section--bg-dark {
    padding: max(5%, 0.5rem);
    background: no-repeat center top /100% auto url(../images/bg-fire-flower-top.webp), no-repeat center bottom /100% auto url(../images/bg-fire-flower-bottom.webp), #000;
}


.main-section__inner {
    padding: max(8%, 1rem) max(5%, 0.5rem);
    background: #fff;
}

.main-section__inner--top-none {
    padding-top: 0;
}


.main-section__inner--bg-none {
    background: transparent;
    color: #fff;
}


.main-section__ttl {
    color: #421f83;
    text-align: center;
    font-family: var(--font-sub);
    font-size: clamp(30px, calc(30px + (78 - 30) * (100vw - 375px) / (1000 - 375)), 78px);
    line-height: 1.2;
    letter-spacing: 0.15em;
    padding-bottom: max(8%, 1rem);
}

/* -------------------------------------------
character
------------------------------------------- */

/* character-slide------------------------------------------- */
.character-slide {
    max-width: 800px;
}

.swiper-button-next {
    transform: scaleX(-100%);
}

.swiper-button-prev,
.swiper-button-next {
    max-width: 5%;
}

/* character-profile_------------------------------------------- */

.character-profile__img-wrap {
    aspect-ratio: 1/1;
}

.character-profile__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.character-profile__name {
    text-align: center;
    font-weight: bold;
    color: #421f83;
    max-width: 718px;
    margin-inline: auto;
    padding-bottom: 1.2em;
    line-height: 1.2;
}

.character-profile__full-name {
    font-size: clamp(18px, calc(18px + (46 - 18) * (100vw - 375px) / (1000 - 375)), 46px);
}

.character-profile__furigana {
    font-size: clamp(16px, calc(16px + (32 - 16) * (100vw - 375px) / (1000 - 375)), 32px);

    &::before {
        content: "（";
    }

    &::after {
        content: "）";
    }
}

.character-profile__type {
    text-align: center;
    background: #421f83;
    max-width: 718px;
    margin-inline: auto;
    padding: 0.5em 1em;
    line-height: 1.2;
    color: #fff;
    font-weight: bold;
    min-height: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(16px, calc(16px + (32 - 16) * (100vw - 375px) / (1000 - 375)), 32px);

    &::before {
        content: "花火の種類：";
    }
}

.character-profile__type--font-s {
    font-size: clamp(14px, calc(14px + (32 - 14) * (100vw - 375px) / (1000 - 375)), 32px);
}

.character-profile__type--font-ss {
    font-size: clamp(12px, calc(12px + (32 - 12) * (100vw - 375px) / (1000 - 375)), 32px);
}

/* character-btn------------------------------------------- */

.character-btn-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: max(3vw, 5px);
    padding-block: max(8%, 1rem);
}

@media (max-width:428px) {
    .character-btn-list {
        gap: 5px;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -------------------------------------------
goods
------------------------------------------- */

/* goods-card------------------------------------------- */

.goods-card:not(:last-child) {
    padding-bottom: max(10%, 1rem);
    ;
}

.goods-card__sample-list {
    padding-bottom: max(5%, 0.5rem);
    display: flex;
    gap: 1.5rem;
}

.goods-card__type-number {
    background: #421f83;
    text-align: center;
    color: #fff;
    font-size: clamp(14px, calc(14px + (24 - 14) * (100vw - 375px) / (1000 - 375)), 24px);
    line-height: 1.2;
    padding: 0.2em 1em;
    font-weight: bold;
    max-width: 194px;
    margin-inline: auto;
    letter-spacing: 0.4em;
}

.goods-card__info {
    font-weight: bold;
    text-align: center;
    color: #421f83;
    padding-top: 0.5em;
    letter-spacing: 0.05em;
    line-height: 1.2;
    font-size: clamp(14px, calc(14px + (29 - 14) * (100vw - 375px) / (1000 - 375)), 29px);
    display: flex;
    width: fit-content;
    margin-inline: auto;
}


@media (min-width:769px) {
    .goods-card__name::after {
        content: "/";
        padding-inline: 0.5em;
    }

    .goods-card__sample {
        flex: 1;
    }
}

@media (max-width:768px) {
    .goods-card__sample-list {
        flex-wrap: wrap;
        gap: 10px;
    }

    .goods-card__sample {
        width: calc(100% / 3 - 7px);
    }

    .goods-card__info {
        flex-direction: column;
    }
}

/* benefit------------------------------------------- */

.benefit {
    border-bottom: 2px solid #421f83;
}

.benefit__ttl {
    background: #421f83;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 0.5em 1em;
    line-height: 1.2;
    font-size: clamp(18px, calc(18px + (32 - 18) * (100vw - 375px) / (1000 - 375)), 32px);
    letter-spacing: 0.1em;
}

.benefit__sample-list {
    padding-block: max(5%, 0.5rem);
    width: 80%;
    max-width: 650px;
    margin-inline: auto;
}

.benefit__detail {
    font-weight: bold;
    text-align: center;
    padding-bottom: max(8%, 0.8rem);
    line-height: 1.4;
    color: #421f83;
    letter-spacing: 0.08em;
    font-size: clamp(18px, calc(18px + (33 - 18) * (100vw - 375px) / (1000 - 375)), 33px);
}

.benefit__text:not(:last-child) {
    padding-bottom: 1em;
}

.benefit__tax {
    font-size: clamp(16px, calc(16px + (29 - 16) * (100vw - 375px) / (1000 - 375)), 29px);
}

/* goods-catch------------------------------------------- */

.goods-catch {
    text-align: center;
    font-family: var(--font-sub);
    padding-block: max(8%, 1.2rem) max(2%, 0.5rem);
    letter-spacing: 0.1em;
    font-size: clamp(18px, calc(18px + (39 - 18) * (100vw - 375px) / (1000 - 375)), 39px);
    color: #421f83;
}

/* -------------------------------------------
festival-info
------------------------------------------- */

.festival-info {
    font-family: var(--font-sub);
    text-align: center;
    filter: drop-shadow(0 0 11px #172143) drop-shadow(0 0 11px #172143);
}

.festival-info__name {
    font-size: clamp(24px, calc(24px + (63 - 24) * (100vw - 375px) / (1000 - 375)), 63px);
    padding-bottom: 0.5em;
    line-height: 1.1;
}

.festival-info__name-large {
    font-size: clamp(30px, calc(30px + (104 - 30) * (100vw - 375px) / (1000 - 375)), 104px);
}

.festival-info__date {
    line-height: 1.2;
    font-size: clamp(20px, calc(20px + (55 - 20) * (100vw - 375px) / (1000 - 375)), 55px);
}

.festival-info__lead {
    padding-block: 1em;
    line-height: 1.4;
    font-size: clamp(18px, calc(18px + (39 - 18) * (100vw - 375px) / (1000 - 375)), 39px);
}

/* sns-list---------------------------------------- */

.sns-list {
    display: flex;
    gap: 3rem;
    padding-block: max(8%, 1.2rem);
    justify-content: center;

}

.sns-item {
    text-align: center;
}

.sns-item__icon {
    width: 60px;
    display: block;
    margin-inline: auto;
}

.sns-item__info {
    padding-top: 1em;
    font-family: a-otf-ud-reimin-pr6n, sans-serif;
}

@media (max-width:425px) {
    .sns-list {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* sns-list---------------------------------------- */
.main-copylight {
    text-align: center;
    font-family: a-otf-ud-reimin-pr6n, sans-serif;
    font-size: clamp(11px, calc(11px + (18 - 11) * (100vw - 375px) / (1000 - 375)), 18px);
}