*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --iroha-pale-green: #77C477;
    --iroha-deep-green: #16AE67;
    --iroha-mint: #F2FFF9;
    --iroha-yellow: #F7EE13;
    --iroha-dark-yellow: #F8B62C;
    --iroha-orange: #F4A520;
    --iroha-dark-orange: #EA5414;
    --iroha-red: #BF4D4D;
    --iroha-black: #111;
    font-family: "Noto Sans JP";
    color: var(--iroha-black);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

img {
    width: 100%;
    height: 100%;
}

li {
    list-style-type: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-size: inherit;
    color: inherit;
    border: none;
    background-color: transparent;
}

strong {
    font-weight: inherit;
}

address {
    font-style: normal;
}

.from-tb,
.from-pc {
    display: none;
}

.wpcf7-form-control-wrap {
    display: block;
    height: 100%;

    &:has(textarea) {
        width: 100%;
    }
}

.mandarin-btn {
    font-weight: 700;
    color: var(--iroha-orange);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 305px;
    padding: 17px 0;
    margin: 0 auto;
    --threshold: 0%;
    background-image: linear-gradient(to left, var(--iroha-orange), var(--iroha-orange) var(--threshold), white var(--threshold), white);
    border: 1px solid var(--iroha-orange);
    border-radius: 50px;
    box-shadow: 0 2px 4px #00000040;
    transition-property: --threshold;
    transition-duration: .5s;

    &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 13px;
        display: block;
        width: 11px;
        height: 19px;
        background-color: var(--iroha-orange);
        translate: 0 -50%;
        clip-path: shape(from 0 10%,
                line to 20% 0,
                line to 90% 40%,
                arc to 90% 60% of 500% 50% cw,
                line to 20% 100%,
                line to 0 90%,
                line to 60% 50%,
                close);
    }

    &.orange {
        --threshold: 100%;
    }
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-result {
    text-align: center;
    margin-bottom: 100px;
}

h1 {
    width: 152px;
    height: 48px;

    a {
        position: relative;
        display: block;
        height: 100%;

        &::before {
            content: "訪問看護ステーション";
            font-size: .5em;
            color: var(--iroha-deep-green);
            position: absolute;
            top: -15px;
            right: -40px;
        }

        img {
            display: block;
            object-fit: contain;
        }
    }
}

.sprout {
    font-size: 18px;
    -webkit-text-stroke-color: white;
    -webkit-text-stroke-width: 3px;
    paint-order: stroke;
    text-align: center;
    width: 268px;
    height: 67px;
    padding-top: 15px;
    margin: 0 auto;
    background-image: url("../assets/imgs/豆苗.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;

    >span {
        font-size: 14px;
        display: block;
        padding-top: 9px;
    }

    &.small {
        font-weight: 400;
        width: 206px;
        height: 52px;
        padding-top: 8px;
    }
}

.clipping {
    clip-path: inset(0 100% 0 0);
}

.clip {
    transition-property: clip-path;
    transition-duration: .5s;
    clip-path: inset(0);
}

body {
    &:has(#ham-btn.open) {
        overflow: clip;
    }
}

#topize-btn {
    position: sticky;
    top: calc(100svh - 41px - 51px);
    left: calc(100% - 15px - 51px);
    z-index: 3;
    display: block;
    aspect-ratio: 1;
    width: 51px;
    margin-bottom: -51px;
    background-color: var(--iroha-dark-orange);
    border-radius: 50%;
    animation-name: gainTransparent;
    animation-timeline: scroll();
    animation-range-end: 100svh;

    &::after {
        content: "";
        position: absolute;
        inset: 12% 25% 20%;
        display: block;
        background-color: white;
        rotate: -90deg;
        clip-path: shape(from 0 10%,
                line to 20% 0,
                line to 90% 40%,
                arc to 90% 60% of 500% 50% cw,
                line to 20% 100%,
                line to 0 90%,
                line to 60% 50%,
                close);
    }
}

header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    padding-left: 15px;
    background-color: white;

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 15;
        display: block;
        box-shadow: 0 1px 4px #00000040;
        pointer-events: none;
    }
}

#ham-btn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 11px;
    aspect-ratio: 1;
    height: 100%;

    &.open {
        span {
            &:nth-of-type(1) {
                translate: 0 15px;
                rotate: 45deg;
            }

            &:nth-of-type(2) {
                opacity: 0;
            }

            &:nth-of-type(3) {
                translate: 0 -15px;
                rotate: -45deg;
            }

            &.leaf {
                background-color: var(--iroha-red);
            }
        }

        +#ham-menu {
            opacity: 1;
            pointer-events: auto;
        }
    }

    span {
        &:not(.leaf) {
            display: block;
            width: 50px;
            height: 4px;
            background-color: #fff;

            &:nth-of-type(1),
            &:nth-of-type(3) {
                transition-property: translate, rotate;
            }

            &:nth-of-type(1) {
                transition-duration: .3s;
            }

            &:nth-of-type(2) {
                transition-property: opacity;
                transition-duration: .5s;
            }

            &:nth-of-type(3) {
                transition-delay: .2s;
                transition-duration: .3s;
            }
        }

        &.leaf {
            position: absolute;
            z-index: -1;
            display: block;
            width: calc(50% + 1px);
            height: calc(50% + 1px);
            background-color: var(--iroha-pale-green);
            transition-property: background-color;
            transition-duration: .5s;

            &:nth-last-of-type(even) {
                left: 0;
            }

            &:nth-last-of-type(odd) {
                right: 0;
            }

            &:nth-last-of-type(4),
            &:nth-last-of-type(3) {
                top: 0;
            }

            &:nth-last-of-type(2),
            &:nth-last-of-type(1) {
                bottom: 0;
            }
        }
    }
}

#ham-menu {
    position: absolute;
    top: 75px;
    right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.4svh;
    width: 100%;
    height: calc(100svh - 75px);
    opacity: 0;
    pointer-events: none;
    transition-property: opacity;
    transition-duration: .5s;

    &::before,
    &::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        display: block;
    }

    &::before {
        background-color: white;
    }

    &::after {
        background-image: url("../assets/imgs/背景緑.png");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    nav {
        ul {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: fit-content;
            gap: 12px;
            margin: 0 auto;

            li {
                font-size: 18px;
                display: flex;
                gap: 5px;

                &::before,
                &::after {
                    content: url("../assets/imgs/葉っぱ.svg");
                }

                &::after {
                    scale: -1 1;
                }

                &:has(span) {

                    &::before,
                    &::after {
                        filter: hue-rotate(250deg);
                    }

                }

                >a,
                >span {
                    padding: 2px 0;
                }

                >span,
                a:has(span) {
                    border-bottom: 2px var(--iroha-orange) dotted;
                }
            }
        }
    }

    .from-tb {
        display: none;
    }

    .non-from-tb {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;

        >img {
            display: block;
            width: 70px;
            height: 70px;
        }

        >div {
            .tel {
                font-size: 30px;
                font-weight: 500;

                a {
                    img {
                        width: 18px;
                        height: 22px;
                    }
                }
            }

            small {
                font-size: 14px;

                &:last-of-type {
                    font-size: 16px;
                }
            }
        }
    }
}

footer {
    padding-top: 48px;
    background-color: var(--iroha-mint);

    li {
        list-style-type: none;
    }

    >div {
        width: 325px;
        margin: 0 auto;
    }

    iframe {
        display: block;
        width: 100%;
        height: 174px;
        margin: 20px auto 0;
    }

    .logo {
        width: 111px;
        height: 128px;
        margin: 38px auto;
    }

    nav {
        ul {
            display: flex;
            flex-wrap: wrap;
            gap: 16px 0;
            width: calc(100vw - 150px);
            margin: 0 auto 17px 25px;

            li {
                position: relative;

                &::before {
                    content: "";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    display: block;
                    width: .5px;
                    height: 100%;
                    background-color: var(--iroha-black);
                }
            }

            a,
            span {
                display: block;
                width: 112px;
                padding-left: 8px;
            }

            span {
                font-weight: 500;
                color: var(--iroha-orange);
            }
        }
    }

    small {
        font-size: 14px;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 30px;
        background-color: var(--iroha-deep-green);
    }
}

#info {
    >span {
        &:first-of-type {
            font-size: 20px;
            font-weight: 700;
            display: block;
        }
    }

    address {
        display: flex;
    }
}

#hero-img,
#about-eye-catch,
#flow-eye-catch,
#qanda-eye-catch,
#staff-eye-catch,
#blog-eye-catch,
#recruit-eye-catch,
#contact-eye-catch,
#anxiety-eye-catch,
#developmental-eye-catch,
#bipolar-eye-catch {
    height: calc(100svh - 75px);
}

#about-eye-catch,
#flow-eye-catch,
#qanda-eye-catch,
#staff-eye-catch,
#blog-eye-catch,
#recruit-eye-catch,
#contact-eye-catch,
#anxiety-eye-catch,
#developmental-eye-catch,
#bipolar-eye-catch {
    display: flex;
    align-items: center;
    padding-top: 51px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    h2 {
        font-family: "Yusei Magic";
        font-size: 48px;
        font-weight: 400;
        color: var(--iroha-pale-green);
        -webkit-text-stroke-color: white;
        -webkit-text-stroke-width: 5px;
        paint-order: stroke;
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 350px;
        height: 136px;
        margin: 0 auto;

        &::before,
        &::after {
            content: "";
            position: absolute;
            top: 0;
            z-index: -1;
            display: block;
            width: 69%;
            height: 100%;
            background-color: white;
            border-radius: 50%;
            opacity: .8;
        }

        &::before {
            left: 0;
        }

        &::after {
            right: 0;
        }
    }
}

#about-eye-catch {
    background-image: url("../assets/imgs/会社概要アイキャッチ.jpg");
}

#flow-eye-catch,
#staff-eye-catch,
#contact-eye-catch {
    background-image: url("../assets/imgs/四葉のクローバー.jpg");
    background-position: center 70%;
}

#qanda-eye-catch {
    background-image: url("../assets/imgs/虹.jpg");
    background-position: 70% bottom;
}

#blog-eye-catch {
    background-image: url("../assets/imgs/スケッチ縦.jpg");
}

#recruit-eye-catch {
    background-image: url("../assets/imgs/虹を背景にした緑.jpg");

    +strong {
        font-weight: 400;
        font-size: 22px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 14px;
        width: 325px;
        height: 87px;
        margin: 75px auto;
        border: 1px solid var(--iroha-deep-green);
        border-radius: 12px;

        &::before,
        &::after {
            content: "";
            display: block;
            width: 40px;
            height: 48px;
            background-image: url("../assets/imgs/クローバーアイコン.png");
            background-size: contain;
            background-position: center center;
            background-repeat: no-repeat;
        }

        &::after {
            scale: -1 1;
        }
    }
}

#anxiety-eye-catch {
    background-image: url("../いろはコラムページ/assets/img/header_a_1500.jpg");
}

#developmental-eye-catch {
    background-image: url("../assets/imgs/会社概要アイキャッチ.jpg");
}

#bipolar-eye-catch {
    background-image: url("../assets/imgs/会社概要アイキャッチ.jpg");
}

#blog-eye-catch {
    &:has(+div #blog-content) {
        view-transition-name: blog;
    }
}

#hero-img {
    text-align: center;
    position: relative;
    padding-top: 39.2svh;
    contain: paint;

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        display: block;
        background-image: url("../assets/imgs/ヒーロー画像.jpg");
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    &::after {
        content: "";
        position: fixed;
        inset: 0;
        display: block;
        background-image: url("../assets/imgs/背景緑.png");
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: .5;
    }

    .line {
        position: absolute;
        display: block;
        width: 425px;
        height: 181px;
        background-color: #fff;
        opacity: .8;
        border-radius: 50%;

        &:first-of-type {
            top: calc(39.2svh - 47px);
            left: 50%;
            translate: -50%;
        }

        &:nth-of-type(2) {
            top: calc(39.2svh - 47px + 62px);
            left: 50%;
            translate: calc(-50% + 25px);
        }
    }

    strong,
    p {
        font-family: "Yusei Magic";
        position: relative;
        z-index: 2;
    }

    strong {
        font-size: 28px;
        color: var(--iroha-pale-green);
    }

    p {
        padding-top: 23px;
    }

    .leaf-container {
        position: absolute;
        inset: 0;
        animation-name: parallaxAnim;
        animation-timeline: view();
    }

    .leaf {
        position: absolute;
        z-index: 1;
        aspect-ratio: 1;
        background-image: url("../assets/imgs/落下葉っぱ.png");
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        scale: 1 -1;
        opacity: .8;
        animation-name: fallAnim, swayAnim, swayAnim2;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        transform-origin: top;

        &:nth-last-of-type(5) {
            right: 30%;
            width: 50px;
            animation-duration: 19s, 3s, 3s;
        }

        &:nth-last-of-type(4) {
            left: 49%;
            width: 20px;
            animation-duration: 15s, 5s, 5s;
            animation-delay: 4s, 0s, 0s;
        }

        &:nth-last-of-type(3) {
            left: 10%;
            width: 45px;
            animation-duration: 11s, 4s, 4s;
            animation-delay: 2s, 0s, 0s;
        }

        &:nth-last-of-type(2) {
            right: 20%;
            width: 35px;
            animation-duration: 13s, 12s, 12s;
            animation-delay: 6s, 0s, 0s;
        }

        &:nth-last-of-type(1) {
            right: 25%;
            width: 25px;
            animation-duration: 17s, 8s, 8s;
            animation-delay: 8s, 0s, 0s;
        }
    }
}

#brochure {
    text-align: center;
    position: relative;

    p {
        font-weight: 500;
        position: relative;
        width: fit-content;
        margin: 18px auto 10px;

        &::before,
        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            transform-origin: bottom;
            width: 1px;
            height: 20px;
            background-color: var(--iroha-black);
        }

        &::before {
            left: -4px;
            rotate: -45deg;
        }

        &::after {
            right: -4px;
            rotate: 45deg;
        }
    }

    .from-tb {
        display: none;
    }
}

#worries {
    padding-top: 80px;
    padding-bottom: 86px;

    .smoke-container {
        position: relative;
        width: 319px;
        height: 609px;
        padding-top: 67px;
        margin: 49px auto 0;

        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 473px;
            background-image: url("../assets/imgs/もあもあ.png");
            background-size: 100% 100%;
            background-repeat: no-repeat;
        }

        p {
            position: relative;
            width: fit-content;
            margin: 0 auto 28px;

            >span {
                &::after {
                    content: "";
                    display: block;
                    width: 100%;
                    height: 7px;
                    background-image: url("../assets/imgs/下線.png");
                    background-size: 100% 100%;
                    background-position: center center;
                    background-repeat: no-repeat;
                }

                span {
                    font-weight: 700;
                    color: var(--iroha-dark-orange);
                }
            }
        }

        .worries-person {
            position: relative;
            display: flex;
            height: 215px;

            .img-container {
                &:not(.smoke) {
                    width: 130px;
                }
            }

            .smoke {
                width: 57px;
                height: 53px;

                &:first-of-type {
                    margin-top: 31px;
                    margin-left: 30px;
                }
            }

            img {
                object-fit: contain;
            }
        }

    }

    .arrow {
        position: relative;
        width: 27px;
        height: 47px;
        margin: 0 auto;
        background-color: var(--iroha-deep-green);
        clip-path: shape(from 0 10%,
                line to 20% 0,
                line to 90% 40%,
                arc to 90% 60% of 500% 50% cw,
                line to 20% 100%,
                line to 0 90%,
                line to 60% 50%,
                close);
        rotate: 90deg;

        &:nth-of-type(2) {
            top: 25px;
            margin-top: 35px;
        }
    }

    >p {
        font-size: 24px;
        font-weight: 700;
        color: var(--iroha-deep-green);
        text-align: center;
        position: relative;
        width: fit-content;
        margin: 57px auto 0;

        &::before,
        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            display: block;
            width: 2px;
            height: 40px;
            background-color: var(--iroha-deep-green);
            transform-origin: bottom;
        }

        &::before {
            left: 0;
            rotate: -45deg;
        }

        &::after {
            right: 0;
            rotate: 45deg;
        }

        span {
            font-size: 28px;
            color: var(--iroha-dark-orange);
            position: relative;

            &::before {
                content: "";
                position: absolute;
                top: -5px;
                left: 50%;
                display: block;
                width: 6px;
                height: 5px;
                background-image: url("../assets/imgs/ドット.svg");
                background-position: center center;
                background-size: contain;
                background-repeat: no-repeat;
                translate: -50%;
            }
        }
    }
}

#about {
    padding-top: 60px;
    padding-bottom: 53px;
    background-color: var(--iroha-mint);

    >p {
        font-size: 18px;
        margin: 0 25px;

        &:first-of-type {
            margin-top: 45px;
            margin-bottom: 18px;
        }

        strong {
            font-weight: 700;
            color: var(--iroha-dark-orange);
        }
    }

    .img-container {
        &:first-of-type {
            position: relative;
            top: 72px;
            width: 139px;
            height: 109px;
            margin-top: 20px;

            img {
                border-radius: 0 20px 20px 0;
            }
        }

        &:last-of-type {
            position: relative;
            bottom: 66px;
            width: 177px;
            height: 139px;
            margin-left: auto;

            img {
                border-radius: 20px 0 0 20px;
            }
        }

        img {
            object-fit: cover;
        }
    }

    article {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        width: 347px;
        height: 151px;
        padding-left: 23px;
        padding-right: 46px;
        margin: 0 auto 14px;
        background-color: #FFFFFFE5;
        border-radius: 20px;
        box-shadow: 0 0 4px 1px #ABC5B978;
        animation-name: scalexAnim;
        animation-timeline: view();

        &::after {
            content: "";
            position: absolute;
            right: -9px;
            bottom: 13px;
            display: block;
            width: 58px;
            height: 74px;
            background-size: contain;
            background-position: center center;
            background-repeat: no-repeat;
        }

        &:nth-of-type(1) {
            &::after {
                background-image: url("../assets/imgs/お薬線画.png");
            }
        }

        &:nth-of-type(2) {
            &::after {
                background-image: url("../assets/imgs/聴診器線画.png");
            }
        }

        &:nth-of-type(3) {
            &::after {
                background-image: url("../assets/imgs/愛線画.png");
            }
        }

        &:nth-of-type(4) {
            &::after {
                background-image: url("../assets/imgs/電話線画.png");
            }
        }

        &:nth-of-type(5) {
            &::after {
                background-image: url("../assets/imgs/家線画.png");
            }
        }

        h3 {
            font-size: 18px;

            &::before {
                content: "● ";
            }
        }
    }
}

#feature {
    position: relative;
    padding-top: 64px;
    padding-bottom: 77px;
    --sunfaded: 0;
    animation-name: sunfadedAnim;
    animation-timeline: view();
    animation-fill-mode: both;
    contain: paint;

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("../assets/imgs/四葉のクローバー.png");
        background-size: cover;
        background-position: 70% center;
        background-repeat: no-repeat;
        filter: brightness(calc(var(--sunfaded) + 1));
    }

    h2 {
        position: relative;
        margin-bottom: 80px;
    }

    article {
        position: relative;
        z-index: 1;
        width: 345px;
        padding: 37px 7px 27px;
        margin: 57px auto 0;
        background-color: #fff;
        border-radius: 10px;
        border: var(--iroha-mint) solid 10px;
        box-shadow: 0 0 0 2px var(--iroha-deep-green);

        &::before {
            content: "";
            position: absolute;
            top: -47px;
            left: 10px;
            display: block;
            width: 40px;
            height: 64px;
            background-size: contain;
            background-position: center center;
            background-repeat: no-repeat;
        }

        &::after {
            content: "";
            position: absolute;
            inset: -10px;
            display: block;
            border-radius: 10px;
            box-shadow: calc(5px / var(--sunfaded)) calc(5px / var(--sunfaded)) calc(5px / var(--sunfaded)) hsl(from var(--iroha-black) h s l / var(--sunfaded));
        }

        &:nth-of-type(1) {
            &::before {
                background-image: url("../assets/imgs/カウンター1.svg");
            }
        }

        &:nth-of-type(2) {
            &::before {
                background-image: url("../assets/imgs/カウンター2.svg");
            }
        }

        &:nth-of-type(3) {
            &::before {
                background-image: url("../assets/imgs/カウンター3.svg");
            }
        }

        h3 {
            font-size: 24px;
            font-weight: 500;
            padding-bottom: 10px;
        }
    }
}

#blog {
    width: 320px;
    padding-top: 47px;
    padding-bottom: 81px;
    margin: 99px auto;
    background-color: var(--iroha-mint);
    border-radius: 50px;
    box-shadow: 0 0 4px 2px #BED5BE80;

    h2 {
        margin-bottom: 7px;
    }

    article {
        width: 237px;
        padding-top: 35px;
        padding-bottom: 30px;
        margin: 0 auto;

        &:not(:last-of-type) {
            border-bottom: 2px solid #BABABA;
        }

        .thumb {
            margin-bottom: 9px;

            img {
                object-fit: cover;
                border-radius: 10px;
            }
        }

        h3 {
            font-weight: 400;
        }
    }

    .mandarin-btn {
        justify-content: flex-start;
        width: 190px;
        height: 51px;
        padding-left: 25px;
    }
}

#greeting {
    display: flex;
    flex-direction: column;
    padding-top: 75px;

    strong {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 328px;
        height: 61px;
        padding: 0 12px;
        margin: 45px auto;
        background-image: url("../assets/imgs/霧緑.png");
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;

        span {
            align-self: flex-end;
        }
    }

    >div {
        display: contents;
    }

    p {
        margin: 0 28px 1em;
    }

    .img-container {
        order: 1;
        position: relative;
        width: 325px;
        height: 217px;
        margin: 0 28px 190px;

        &::before,
        &::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;
        }

        &::before {
            background-image: linear-gradient(to bottom, white, transparent 50px, transparent calc(100% - 50px), white);
        }

        &::after {
            background-image: linear-gradient(to right, white, transparent 50px, transparent calc(100% - 50px), white);
        }

        img {
            object-fit: cover;
            display: block;
        }
    }

    >p {
        text-align: end;
        width: fit-content;
        margin: 45px 28px 45px auto;

        span {
            &:first-of-type {
                font-size: 1.2em;
                display: block;
            }

            &:last-of-type {
                font-size: .8em;
            }
        }
    }
}

#info-corpo,
#info-office {
    width: 325px;
    padding-top: 53px;
    padding-bottom: 45px;
    margin: 50px auto;
    background-color: var(--iroha-mint);
    box-shadow: 0 0 4.69px 1.17px #ABC5B978;
    border-radius: 47px;

    dl {
        display: flex;
        padding: 25px 0 25px 16px;
        border-bottom: 1px solid #D9D9D9;
        animation-name: scalexAnim;
        animation-timeline: view();

        dt {
            width: 93px;

            span {
                display: block;
                letter-spacing: 1em;
            }
        }
    }

    address {
        span {
            display: block;
        }
    }

    small {
        font-size: 13px;
        display: block;
        padding: 25px 12px 0;
    }

    >div {
        padding-top: 25px;
        padding-left: 16px;
        animation-name: scalexAnim;
        animation-timeline: view();

        a {
            font-size: 13px;
            display: flex;
            align-items: center;
            padding-top: 13px;
            text-decoration: underline;

            &::before {
                content: "";
                display: block;
                width: 19px;
                height: 20px;
                margin-right: 6px;
                background-image: url("../assets/imgs/pdfアイコン.png");
                background-size: contain;
                background-position: center center;
                background-repeat: no-repeat;
            }
        }
    }
}

#info-office {
    dl {
        &:nth-last-of-type(3) {
            dd {
                letter-spacing: -0.07em;
            }
        }
    }
}

#coop {
    display: none;
    margin-bottom: 200px;

    article {
        position: relative;
        width: 325px;
        height: 327px;
        padding-top: 37px;
        margin: 45px auto;
        border-radius: 30px;
        box-shadow: 0 0 3px 0.75px #ABC5B978;

        .thumb {
            width: 224px;
            height: 152px;
            margin: 0 auto 23px;
        }

        h4 {
            font-size: 18px;
            font-weight: 400;
        }

        h4,
        address {
            width: 224px;
            margin: 0 auto;
        }

        .icon {
            position: absolute;
            right: 31px;
            bottom: 33px;
            aspect-ratio: 1;
            width: 37px;

            img {
                object-fit: contain;
                display: block;
            }
        }
    }
}

.to-contact {
    text-align: center;
    padding-bottom: 190px;

    p {
        font-size: 20px;
        margin-bottom: 19px;
    }

    .mandarin-btn {
        font-size: 23px;
        width: 262px;
        height: 70px;

        &::after {
            content: none;
        }
    }

    .img-container {
        width: 311px;
        height: 78px;
        margin: 10px auto 0;
    }
}

#flow {
    width: 350px;
    padding-top: 59px;
    padding-bottom: 87px;
    margin: 71px auto 0;
    background-color: var(--iroha-mint);
    border-radius: 70px;
    box-shadow: 0 0 4px 2px #BED5BE80;

    h3 {
        margin-bottom: 50px;
    }

    article {
        position: relative;
        display: block;
        width: 305px;
        padding: 27px 11px 26px 37px;
        margin: 0 auto;
        background-color: white;
        border-radius: 20px;
        box-shadow: 0 4px 4px #00000040;
        animation-name: scalexAnim;
        animation-timeline: view();

        .count {
            font-family: "Yusei Magic";
            font-size: 20px;
            color: var(--iroha-deep-green);
            position: absolute;
            top: 50%;
            left: 0;
            translate: -50% -50%;

            div {
                color: white;
                display: flex;
                justify-content: center;
                align-items: center;
                aspect-ratio: 1;
                width: 30px;
                margin: 0 auto;
                background-color: var(--iroha-deep-green);
                border-radius: 50%;
            }
        }

        h4 {
            font-size: 22px;
            font-weight: 400;
            color: var(--iroha-deep-green);
            padding-bottom: 16px;
        }
    }

    .arrow {
        width: 40px;
        height: 16px;
        margin: 18px auto;
        background-color: var(--iroha-deep-green);
        clip-path: shape(from 10% 0,
                line to 90% 0,
                arc to 100% 5% of 50% 50% cw,
                line to 55% 97.5%,
                arc to 45% 97.5% of 50% 50% cw,
                line to 0 5%,
                arc to 10% 0 of 50% 50% cw,
                close);
    }
}

#location {
    padding: 100px 0;

    .img-container {
        width: 325px;
        height: 222px;
        margin: 50px auto 52px;
        border-radius: 10px;

        img {
            object-fit: contain;
        }
    }

    p {
        text-align: center;
        width: 325px;
        margin: 0 auto;


        &:last-of-type {
            margin-top: 20px;
            margin-bottom: 33px;
        }

        >span {
            font-size: 20px;
            display: inline-block;
            border-bottom: 4px solid #EA5414;
        }

    }

    div {
        width: 350px;
        padding: 13px 7px 13px 12px;
        margin: 0 auto;
        border: 1px solid #8F8F8F;
        border-radius: 20px;

        dl {
            display: flex;
            gap: 6px;

            &:first-of-type {
                dd {
                    letter-spacing: -.05em;
                }
            }

            &:not(:last-of-type) {
                margin-bottom: 18px;
            }

            dt {
                font-weight: 700;
                color: white;
                text-align: center;
                width: 101px;
                padding: 2px 0;
                background-color: var(--iroha-deep-green);
                border-radius: 100px;
            }
        }
    }
}

#target {
    position: relative;
    padding-top: 47px;
    padding-bottom: 163px;
    background-color: var(--iroha-mint);

    div {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px 25px;
        margin-top: 50px;

        a {
            font-size: 18px;
            font-weight: 700;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 7px;
            width: 150px;
            height: 130px;
            background-color: white;
            border-radius: 30px;
            box-shadow: 0 0 8px 1px #00000040;
            transition-property: opacity;
            transition-duration: .5s;
            pointer-events: none;

            &.opacity {
                opacity: 0;
            }

            &.has-link {
                pointer-events: auto;
                
                &::after {
                    content: "＞";
                }
            }

            &:last-of-type {
                width: 325px;
                height: 83px;
            }
        }
    }

    img {
        object-fit: cover;
        position: absolute;
        left: 50%;
        bottom: -118px;
        display: block;
        width: 325px;
        height: 204px;
        margin: 0 auto;
        translate: -50%;
    }
}

#price {
    padding-top: 218px;
    padding-bottom: 100px;

    h3 {
        margin-bottom: 50px;
    }

    article {
        font-size: 36px;
        text-align: center;
        position: relative;
        width: 325px;
        padding-bottom: 66px;
        margin: 0 auto 20px;
        border: 1px solid #737373;
        border-radius: 20px;
        box-shadow: 0 4px 4px #00000040;

        &::after {
            content: "";
            position: absolute;
            inset: 0;
            display: block;
            background-color: var(--iroha-deep-green);
            clip-path: inset(0 0 0 100%);
            border-radius: 20px;
            transition-property: clip-path;
            transition-duration: .5s;
        }

        &:nth-of-type(1) {
            h4 {
                background-color: var(--iroha-deep-green);
            }
        }

        &:nth-of-type(2) {
            h4 {
                background-color: var(--iroha-dark-yellow);
            }
        }

        &:nth-of-type(3) {
            h4 {
                background-color: var(--iroha-dark-orange);
            }
        }

        h4 {
            font-size: 24px;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
            padding: 33px 0;
            margin-bottom: 50px;
            border-radius: 20px 20px 0 0;

            &::before,
            &::after {
                content: "";
                display: block;
                width: 19px;
                height: 18px;
                filter: brightness(3);
                background-image: url("../assets/imgs/葉っぱ.svg");
                background-position: center center;
                background-size: contain;
                background-repeat: no-repeat;
            }

            &::after {
                scale: -1 1;
            }
        }

        strong {
            font-size: 22px;
            font-weight: 600;
            display: flex;
            justify-content: center;
            align-items: center;
            width: stretch;
            height: 92px;
            margin: 0 17px 77px;
            border-bottom: 1px solid #4B4B4B;

            span {
                font-size: 26px;
            }
        }

        dl {
            font-size: 20px;
            width: 239px;
            margin: 0 auto 30px;
        }

        small {
            text-align: center;
            display: block;
            width: fit-content;
            margin: 25px auto;
        }
    }

    p {
        font-size: 24px;
        text-align: center;
        width: 325px;
        padding: 10px 0;
        margin: 0 auto;
        background-color: #EBEBEB;

        span {
            display: block;
        }
    }
}

#qanda {
    padding-top: 98px;
    padding-bottom: 198px;

    h3 {
        margin-bottom: 75px;
    }

    dl {
        width: 325px;
        padding: 9px 7px 12px;
        margin: 30px auto;
        border: 1px solid var(--iroha-deep-green);
        border-radius: 6px;
        animation-name: scalexAnim;
        animation-timeline: view();

        dt,
        dd {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 12px 20px 12px 7px;

            &::before {
                flex-shrink: 0;
                align-self: flex-start;
                line-height: 0;
                display: flex;
                justify-content: center;
                align-items: center;
                width: 30px;
                height: 30px;
                border-radius: 6px;
            }
        }

        dt {
            background-color: var(--iroha-mint);

            &::before {
                content: "Q";
                background-color: #8EC31F;
            }
        }

        dd {
            &::before {
                content: "A";
                background-color: var(--iroha-dark-yellow);
            }
        }
    }
}

#close-box {
    height: 0;
    overflow: clip;
    transition-property: height;
    transition-duration: .5s;
}

#more-btn {
    font-size: 18px;
    color: white;
    display: block;
    width: 325px;
    height: 36px;
    margin: 60px auto;
    background-color: var(--iroha-pale-green);
    border-radius: 6px;
    box-shadow: 0 1.21px 2.42px #00000040;
    text-shadow: 1px 1px 1px var(--iroha-black);
    animation-name: scalexAnim;
    animation-timeline: view();

    &::before {
        content: "もっと見る";
    }

    &.open {
        &::before {
            content: "閉じる";
        }
    }
}

.staff-article {
    --hue-rotate: calc((sibling-index() - 2) * -80deg);
    position: relative;
    padding-top: 125px;
    padding-bottom: 78px;
    overflow-x: clip;

    &:nth-of-type(even) {
        .img-container {
            &::before {
                right: -84px;
                left: unset;
                scale: -1 1;
            }

            &:after {
                right: 84px;
                left: unset;
                scale: 1;
            }

            img {
                margin-left: auto;
            }
        }
    }

    .role {
        color: var(--iroha-deep-green);
        margin-left: 26px;
    }

    h3 {
        font-size: 36px;
        margin-left: 39px;

        span {
            font-size: 20px;
            font-weight: 400;
            text-wrap: nowrap;
            display: block;
            margin-left: 51px;
        }
    }

    .img-container {
        position: relative;
        height: 261px;
        margin: 108px 26px 53px;

        &::before,
        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            z-index: -1;
            width: 337px;
            height: 468px;
            background-image: url("../assets/imgs/葉っぱスタッフ.svg");
            background-position: center center;
            background-size: contain;
            background-repeat: no-repeat;
        }

        &::before {
            left: -44px;
            filter: hue-rotate(var(--hue-rotate));
        }

        &::after {
            left: 124px;
            scale: -1 1;
            rotate: -20deg;
            filter: brightness(1.1) hue-rotate(var(--hue-rotate));
        }

        img {
            object-fit: cover;
            display: block;
            width: 244px;
            height: 100%;
        }
    }

    .introduce {
        padding: 0 25px;
        letter-spacing: .028em;
    }

    .career {
        padding: 0 26px 13px;
        margin: 45px 54px 0;
        border: 1px solid var(--iroha-deep-green);
        border-radius: 10px;

        span {
            font-size: 18px;
            color: var(--iroha-deep-green);
            letter-spacing: .28em;
            text-align: center;
            display: block;
            width: 93px;
            translate: 0 -50%;
            background-color: white;
        }
    }

    .career {
        font-size: 20px;
        padding: 0 41px 22px;

        span {
            font-size: inherit;
            width: 120px;
        }
    }
}

.blog-article {
    position: relative;
    z-index: 1;
    width: 266px;
    height: 400px;
    margin: 75px auto;

    &:has(:hover) {
        .thumb {
            view-transition-name: blog;
        }
    }

    a {
        position: absolute;
        inset: -6px;
        z-index: -1;
        display: block;
        border: 7px solid white;
        border-radius: 17px;

        &:link {
            border-color: var(--iroha-deep-green);
        }
    }

    .thumb {
        position: relative;
        width: 100%;
        height: 222px;
        margin-bottom: 10px;
        pointer-events: none;

        img {
            object-fit: cover;
            border-radius: 10px;
        }
    }

    .flex-box {
        display: flex;
        justify-content: space-between;
        padding-left: 10px;
        pointer-events: none;
    }

    form {
        display: flex;
        flex-direction: column;
    }

    button {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 24px;
        padding-inline: 3px;
        margin-right: 10px;
        border-radius: 20px;
        pointer-events: auto;

        &[value="ordinary"] {
            background-color: var(--iroha-yellow);
        }

        &[value="helpful"] {
            background-color: var(--iroha-orange);
        }

        &[value="note"] {
            color: white;
            background-color: var(--iroha-deep-green);
        }

        &[value="other"] {
            background-color: var(--iroha-pale-green);
        }
    }

    h3 {
        font-weight: 400;
        pointer-events: none;
        padding: 7px 10px;
    }
}

.paginavi {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 230px;
    margin: 0 auto 100px;

    a,
    span {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        padding-bottom: .2em;
    }

    a {
        background-color: var(--iroha-pale-green);
        border-radius: 50%;
    }

    span {
        align-items: flex-end;
    }
}

#blog-search,
#blog-category,
#blog-tag,
#blog-archive {
    padding-top: 50px;
    background-color: var(--iroha-mint);

    h3 {
        font-size: 16px;
        color: var(--iroha-orange);
        text-align: center;
        padding-bottom: 15px;
    }
}

#blog-search {
    form {
        display: flex;
        gap: 10px;
        width: fit-content;
        margin: 0 auto;

        input {
            &[type="search"] {
                width: 194px;
                padding: 8px;
                border-width: .5px;
                border-style: solid;
            }

            &[type="submit"] {
                font-size: 16px;
                width: 62px;
                background-color: #D9D9D9;
                border: none;
            }
        }
    }
}

#blog-category {
    form {
        width: 266px;
        margin: 0 auto;

        button {
            display: flex;
            align-items: center;
            gap: 10px;

            &:not(:last-of-type) {
                margin-bottom: 10px;
            }

            &::before {
                content: "";
                display: block;
                width: 15px;
                height: 15px;
                border-radius: 50%;
            }

            &[value="ordinary"] {
                &::before {
                    background-color: var(--iroha-yellow);
                }
            }

            &[value="helpful"] {
                &::before {
                    background-color: var(--iroha-orange);
                }
            }

            &[value="note"] {
                &::before {
                    background-color: var(--iroha-deep-green);
                }
            }

            &[value="other"] {
                &::before {
                    background-color: var(--iroha-pale-green);
                }
            }

            &[value="all"] {
                &::before {
                    background-color: #dadf00;
                }
            }
        }
    }
}

#blog-tag {

    form,
    #close-box {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        width: 266px;
        margin: 0 auto;

        button {
            padding: 0 5px;
            background-color: white;
        }
    }

    #more-tag {
        display: block;
        margin-top: 7px;
        margin-left: calc((100vw - 266px) / 2);
        border-bottom: 1px solid var(--iroha-black);

        &.open {
            clip-path: inset(100% 0 0);
        }
    }
}

#blog-archive {
    padding-bottom: 130px;

    >button,
    div {
        display: block;
        width: 266px;
        margin: 0 auto;
    }

    >button {
        color: white;
        text-align: left;
        position: relative;
        padding: 3px 5px;
        margin-bottom: 10px;
        background-color: var(--iroha-pale-green);

        &::before,
        &::after {
            content: "";
            position: absolute;
            top: 14px;
            width: 8px;
            height: 2px;
            background-color: white;
            transition-property: scale, rotate;
            transition-duration: .5s;
        }

        &::before {
            right: 13px;
        }

        &::after {
            right: 5px;
        }

        &.open {

            &::before,
            &::after {
                scale: 2 1;
            }

            &::before {
                rotate: 60deg;
            }

            &::after {
                rotate: -60deg;
            }

            +div {
                opacity: 1;
            }
        }
    }

    div {
        margin-bottom: 20px;
        contain: paint;
        height: 0;
        opacity: 0;
        transition-property: height, opacity;
        transition-duration: .5s;

        li {
            position: relative;
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
            gap: 10px;
            width: 50%;
            
            &:not(:last-of-type) {
                margin-bottom: 5px;
            }

            &::before {
                content: "";
                display: block;
                width: 15px;
                height: 15px;
                background-color: var(--iroha-pale-green);
                border-radius: 50%;
            }

            a {
                position: absolute;
                inset: 0;
                display: block;
                padding-left: 4em;
            }
        }
    }
}

#blog-content {
    width: 322px;
    max-width: 800px;
    padding-bottom: 65px;
    margin: 0 auto;

    h3 {
        position: relative;
        font-size: 20px;
        padding-bottom: 13px;
        margin-top: 75px;
        border-bottom: 1px solid var(--iroha-black);

        &::before,
        &::after {
            content: "";
            position: absolute;
            bottom: -2.5px;
            display: block;
            aspect-ratio: 1;
            width: 5px;
            border-radius: 50%;
            background-color: #111;
        }

        &::before {
            left: -2.5px;
        }

        &::after {
            right: -2.5px;
        }
    }

    .flex-box {
        display: flex;
        justify-content: space-between;
        margin-top: 13px;
    }

    button {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 20px;
        padding-inline: 3px;
        border-radius: 20px;

        &[value="ordinary"] {
            background-color: var(--iroha-yellow);
        }

        &[value="helpful"] {
            background-color: var(--iroha-orange);
        }

        &[value="note"] {
            color: white;
            background-color: var(--iroha-deep-green);
        }

        &[value="other"] {
            background-color: var(--iroha-pale-green);
        }
    }

    .thumb {
        width: 254px;
        height: 170px;
        margin: 30px auto;
    }

    p {
        margin-block: 25px;
    }
}

#this-tag {
    width: 272px;
    margin: 0 auto 100px;

    h3 {
        font-weight: 400;
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 3px;
        padding-bottom: 5px;

        &::before {
            content: "";
            display: block;
            width: 17px;
            height: 17px;
            background-image: url("../assets/imgs/しおり.svg");
            background-size: contain;
            background-position: center center;
            background-repeat: no-repeat;
        }
    }

    form {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;

        button {
            padding: 0 5px;
            background-color: white;
            border: 0.3px solid gray;
            border-radius: 3px;
        }
    }
}

.navi {
    display: flex;
    gap: 10px;
    width: fit-content;
    margin: 0 auto 100px;

    a {
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 28px;
        padding-bottom: .2em;
        background-color: var(--iroha-deep-green);
        border-radius: 38px;

        &:not([rel="prev"]):not([rel="next"]) {
            padding: 0 20px;
        }
    }

    [rel="prev"],
    [rel="next"] {
        width: 28px;
    }
}

#requirements {
    width: 325px;
    padding-top: 40px;
    margin: 0 auto 75px;
    border-radius: 40px;
    box-shadow: 0px 0px 4px 1px #ABC5B978;

    h3 {
        margin-bottom: 15px;
    }

    li {
        list-style: inherit;

        &::marker {
            font-size: .5em;
        }
    }

    article {
        padding: 25px 22px;
        animation-name: scalexAnim;
        animation-timeline: view();

        &:not(:last-of-type) {
            border-bottom: 1px solid #D9D9D9;
        }

        h4 {
            font-size: 16px;
            font-weight: 700;
        }

        address {
            display: inline;
        }

        div,
        time {
            padding-left: 40px;
        }

        ul {
            padding-left: 56px;
        }
    }
}

#apply {
    width: 325px;
    padding: 40px 34px;
    margin: 0 auto 150px;
    border-radius: 25px;
    box-shadow: 0 0 4px 1px #ABC5B978;

    p {
        margin: 40px 0;

        a {
            text-decoration: underline;
        }
    }

    .mandarin-btn {
        font-size: 20px;
        width: 223px;

        &::after {
            content: none;
        }
    }
}

.contact-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    div {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 91px;
        height: 29px;
        background-color: white;
        border-radius: 100px;
        box-shadow: 0 4px 4px #00000040;

        &.current {
            font-weight: 700;
            color: white;
            background-color: var(--iroha-orange);
        }

        &:not(.current) {
            +i {
                filter: drop-shadow(0 4px 4px #00000040) brightness(8);
            }
        }
    }

    i {
        display: block;
        width: 18px;
        height: 20px;
        filter: drop-shadow(0 4px 4px #00000040);
        background-image: url("../assets/imgs/コンタクト矢印.svg");
        background-size: 100% 100%;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

#contact {
    padding-top: 133px;
    padding-bottom: 90px;

    .flex-pc {
        >div {
            >p {
                font-size: 18px;
                margin: 46px 25px 107px;
            }
        }
    }

    article {
        width: 325px;
        margin: 0 auto;

        &:first-of-type {
            div {
                span {
                    font-size: 13px;
                    text-align: center;
                    display: block;
                    margin-top: 30px;
                }
            }
        }

        h4 {
            font-size: 24px;
            color: white;
            text-align: center;
            background-color: var(--iroha-deep-green);
        }

        a {
            font-size: 30px;
            font-weight: 500;
            line-height: 1em;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 4px;

            img {
                display: block;
                width: 18px;
                height: 22px;
            }
        }

        >div {
            text-align: right;
            width: fit-content;
            margin: 10px auto 60px;
        }

        >img {
            display: block;
            aspect-ratio: 1;
            width: 94px;
            margin: 9px auto 16px;
        }
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 39px;
        width: 355px;
        padding: 49px 15px;
        margin: 131px auto 0;
        background-color: #EEEEEECC;
        border-radius: 40px;

        input,
        select {
            border: none;
            border-radius: 4px;

            &:not([type="radio"]) {
                padding: 0 6px;
            }
        }

        select,
        ::picker(select) {
            appearance: base-select;
        }

        p {
            color: var(--iroha-dark-orange);
            text-align: right;
            margin-bottom: -39px;
        }

        .multi-selector {
            >span {
                display: block;

                span {
                    color: red;
                }
            }

            .flex-box {
                display: flex;
                flex-wrap: wrap;
                gap: 15px 19px;
                margin-top: 16px;
            }

            label {
                display: inline-block;

                input {
                    filter: hue-rotate(165deg);
                }
            }
        }

        >.flex-box {
            display: flex;
            gap: 12px;
            height: 36px;

            label {
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 203px;

                >span {
                    span:not(.wpcf7-list-item-label):not(:has(a)) {
                        color: red;
                    }
                }
            }

            input {
                width: 110px;
                height: 100%;
            }
        }

        .wpcf7-form-control-wrap {
            &:has(.wpcf7-acceptance) {
                width: fit-content;
                margin: 0 auto;
            }
        }

        .wpcf7-acceptance {
            .wpcf7-list-item {
                margin: 0;
            }

            label {
                line-height: 1em;
                position: relative;
                display: flex;
                align-items: center;
                gap: 5px;
    
                &:has(:checked) {
    
                    &::before,
                    &::after {
                        opacity: 1;
                    }
                }
    
                &::before {
                    content: "";
                    display: block;
                    width: 1.2em;
                    height: 1.2em;
                    background-color: #fff;
                    border-radius: 4px;
                }
    
                &::after {
                    content: "✓";
                    position: absolute;
                    top: .2em;
                    left: .2em;
                    opacity: 0;
                }
    
                input[type="checkbox"] {
                    position: absolute;
                    inset: 0;
                    display: block;
                    opacity: 0;
                }
    
                a {
                    position: relative;
                    z-index: 1;
                    color: #0404A1;
                    text-decoration: underline;
                }
            }
        }


        >label {
            line-height: 1em;
            display: flex;
            align-items: center;
            height: 36px;

            &:has(textarea) {
                flex-direction: column;
                align-items: flex-start;
                width: stretch;
                height: unset;
            }

            >span {
                &:first-of-type {
                    &:not(:has(textarea)) {
                        flex-shrink: 0;
                        display: block;
                        width: 93px;
                        height: 100%;
                    }
                }

                span:not(.wpcf7-list-item-label):not(:has(a)) {
                    color: red;
                }
            }

            input,
            select {
                flex-grow: 1;
                height: 100%;
                width: 100%;
                background-color: white;
            }

            select {
                align-items: center;
                color: #737373;

                &:has(:checked:not(:first-of-type)) {
                    color: var(--iroha-black);
                }

                &:open {
                    &::picker-icon {
                        rotate: none;
                    }
                }

                &::picker-icon {
                    content: "";
                    aspect-ratio: 1;
                    height: 100%;
                    background-image: url("../assets/imgs/コンタクト矢印.svg");
                    background-position: center center;
                    background-size: 50% 50%;
                    background-repeat: no-repeat;
                    rotate: 90deg;
                    transition-property: rotate;
                    transition-duration: .5s;
                }

                option {
                    padding: 6px;

                    &:checked {
                        color: var(--iroha-orange);
                    }
                }
            }

            textarea {
                width: 100%;
                height: 135px;
                margin-top: 7px;
                padding: 6px;
                border: none;
            }

            input[type="checkbox"] {
                display: block;
                width: 15px;
                height: 15px;
                appearance: none;
            }

        }

        .mandarin-btn {
            display: block;
            width: 190px;
            height: 45px;
            border-radius: 50px;
        }
    }
}

#confirm {
    padding-top: 130px;

    >p {
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        margin-top: 46px;
    }

    >div {
        width: 355px;
        padding: 49px 15px;
        margin: 71px auto 139px;
        border-radius: 40px;
        background-color: #F5F5F5CC;
    }

    dl {
        display: flex;
        padding: 39px 0;
        border-bottom: 1px solid #BDBDBD;

        &:last-of-type {
            display: block;

            dt {
                width: unset;
                margin-bottom: 16px;
            }

            dd {
                text-align: left;
            }
        }

        dt {
            flex-shrink: 0;
            width: 181px;

            span {
                color: var(--iroha-dark-orange);
            }
        }

        dd {
            flex-grow: 1;
            text-align: right;
        }
    }

    .mandarin-btn {
        width: 190px;
        margin-top: 29px;

        &.prev {
            color: var(--iroha-pale-green);
            margin-top: 92px;
            background-image: linear-gradient(to left, var(--iroha-pale-green), var(--iroha-pale-green) var(--threshold), white var(--threshold), white);
            border-color: var(--iroha-pale-green);

            &::after {
                background-color: white;
            }
        }
    }
}

#thanks {
    padding-top: 133px;

    .sprout {
        font-weight: 700;
        display: block;
        margin-bottom: 139px;
    }

    >div {
        width: 355px;
        padding: 49px 15px;
        margin: 0 auto 139px;
        border-radius: 40px;
        background-color: #F5F5F5CC;
    }

    p {
        text-align: center;
        margin: 39px 0;
    }
}

#privacy-policy {
    width: 80%;
    margin: 50px auto;

    .sprout {
        margin-bottom: 50px;
    }

    h2 {
        text-align: start;
    }

    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 20px 0;
    }

    li {
        list-style-type: inherit;
    }

    ol {
        margin: 15px 0 15px 2em;
    }

    h5,
    h6 {
        font-size: 16px;
    }

    .row-tb {
        margin: 15px 0;
    }
}

@media (orientation: landscape) {
    #ham-menu {
        nav {
            ul {
                flex-direction: unset;
                flex-wrap: wrap;
                width: 590px;
            }
        }
    }

    #hero-img {
        padding-top: 20svh;

        .line {
            &:first-of-type {
                top: calc(20svh - 47px);
            }

            &:nth-of-type(2) {
                top: calc(20svh - 47px + 62px);
            }
        }
    }
}

@view-transition {
    navigation: auto;
}

@property --hue-rotate {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: true;
}

@property --sunfaded {
    syntax: "<number>";
    initial-value: 0;
    inherits: true;
}

@property --threshold {
    syntax: "<percentage>";
    initial-value: 0%;
    inherits: false;
}

@keyframes gainTransparent {
    0% {
        opacity: 0;
        pointer-events: none;
        background-color: var(--iroha-orange) !important;
    }

    49% {
        background-color: var(--iroha-orange) !important;
        pointer-events: none;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scalexAnim {
    0% {
        opacity: 0;
        scale: 0 1;
    }

    25% {
        opacity: 1;
        scale: 1 1;
    }
}

@keyframes scalebottomAnim {
    0% {
        opacity: 0;
        scale: 0;
    }

    50% {
        opacity: 1;
        scale: 1;
    }
}

@keyframes sunfadedAnim {
    10% {
        --sunfaded: 1;
    }

    65% {
        --sunfaded: 0;
    }
}

@keyframes fallAnim {
    0% {
        top: calc(50% - 100px);
    }

    75% {
        opacity: .8;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        top: 115%;
    }
}

@keyframes swayAnim {
    0% {
        translate: 0 0;
    }

    25% {
        translate: 150% 0;
    }

    50% {
        translate: 0 0;
    }

    75% {
        translate: -150% 0;
    }

    100% {
        translate: 0 0;
    }
}

@keyframes swayAnim2 {
    0% {
        rotate: 90deg;
    }

    33% {
        rotate: 70deg;
    }

    66% {
        rotate: 110deg;
    }

    100% {
        rotate: 90deg;
    }
}

@keyframes parallaxAnim {
    from {
        translate: 0 75%;
    }

    to {
        translate: 0 -75%;
    }
}