/* bg_ptn */
.bg_ptn_2 {
    background: #e5e1ca;
    border-radius: 20px;
}
.bg_ptn_3 {
    background: #fbf4f4;
    border-radius: 20px;
}
.bg_ptn_4 {
    position: relative;
    z-index: 10;
    background: #fff;
    border-radius: 20px;
    &::after {
        position: absolute;
        bottom: 4px;
        right: 24px;
        height: 78px;
        width: 154px;
        content: "";
        display: block;
        background: url(../image/icon/bg_home.svg);
        background-repeat: no-repeat;
        background-size: contain;
    }
    + h3 {
        margin-top: 48px;
    }
}
/* ttl_ptn */
.ttl_ptn_1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: var(--font-zen-maru);
    font-weight: 700;
    .en {
        position: relative;
        z-index: 10;
        font-size: 33px;
        color: var(--color-accent);
        paint-order: stroke fill;
        @media (max-width: 1000px) {
            font-size: 28px;
        }
        @media (max-width: 800px) {
            font-size: 24px;
        }
        @media (max-width: 500px) {
            font-size: 20px;
        }
        &::before {
            position: absolute;
            top: -4px;
            left: -53px;
            z-index: -1;
            width: 80px;
            height: 77px;
            display: block;
            content: "";
            background: url(../image/icon/ttl.svg) no-repeat;
            background-size: contain;
            @media (max-width: 1000px) {
                width: 64px;
                height: 61px;
                left: -42px;
            }
            @media (max-width: 800px) {
                width: 56px;
                height: 54px;
                left: -37px;
            }
            @media (max-width: 500px) {
                width: 38px;
                height: 36.5px;
                top: 0;
                left: -29px;
            }
        }
        + .ja {
            margin-top: 16px;
            @media (max-width: 500px) {
                margin-top: 4px;
            }
        }
    }
    .ja {
        width: 100%;
        font-size: 38px;
        text-align: center;
        @media (max-width: 1000px) {
            font-size: 32px;
        }
        @media (max-width: 800px) {
            font-size: 28px;
        }
        @media (max-width: 500px) {
            font-size: 26px;
        }
        &.small {
            margin-top: 40px;
            font-size: 16px;
            font-weight: 400;
            line-height: 1.75;
            font-family: var(--font-df);
        }
    }
    &.icon_w {
        .en {
            &::before {
                background: url(../image/icon/ttl_w.svg) no-repeat;
                background-size: contain;
            }
        }
    }
    &.left {
        justify-content: flex-start;
        @media (max-width: 1000px) {
            justify-content: center;
        }
        .en {
            &::before {
                left: -32px;
                @media (max-width: 1000px) {
                    left: -42px;
                }
                @media (max-width: 800px) {
                    left: -37px;
                }
                @media (max-width: 500px) {
                    left: -29px;
                }
            }
        }
        .ja {
            text-align: left;
            @media (max-width: 1000px) {
                text-align: center;
            }
        }
    }
    + p {
        margin-top: 32px;
    }
}
.ttl_ptn_2,
h2.wp-block-heading {
    position: relative;
    z-index: 10;
    padding-bottom: 0.65em;
    font-size: 32px;
    font-family: var(--font-zen-maru);
    font-weight: 700;
    line-height: 1.5;
    @media (max-width: 1000px) {
        font-size: 28px;
    }
    @media (max-width: 700px) {
        font-size: 24px;
    }
    @media (max-width: 500px) {
        font-size: 20px;
    }
    &::before,
    &::after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: inherit;
        z-index: 10;
        margin: auto;
        width: 125px;
        height: 6px;
        content: "";
        display: block;
        background: var(--color-usugane);
        border-radius: 3em;
    }
    &::after {
        z-index: 11;
        width: 40px;
        background: var(--color-kiro);
    }
    &.center {
        text-align: center;
        &::before,
        &::after {
            left: 0;
            right: 0;
            margin: 0 auto;
        }
        &::after {
            right: 85px;
        }
    }
    &.sp_center {
        @media (max-width: 800px) {
            text-align: center;
            &::before,
            &::after {
                left: 0;
                right: 0;
                margin: 0 auto;
            }
            &::after {
                right: 85px;
            }
        }
    }
    &.bd_w {
        &::before {
            background: #fff;
        }
    }
}
.ttl_ptn_3 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-family: var(--font-zen-maru);
    @media (max-width: 600px) {
        font-size: 18px;
    }
    &::before {
        margin-right: 0.5em;
        height: 2px;
        width: 28px;
        content: "";
        display: block;
        border-radius: 1em;
        background: var(--color-accent);
        transform: translateY(1px);
    }
    + .bg_ptn_4 {
        margin-top: 20px;
    }
}
.ttl_ptn_4 {
    font-size: 32px;
    text-align: center;
    line-height: 1.5;
    font-family: var(--font-zen-maru);
    @media (max-width: 1000px) {
        font-size: 28px;
    }
    @media (max-width: 700px) {
        font-size: 24px;
        text-align: left;
    }
    @media (max-width: 500px) {
        font-size: 20px;
    }
}
h3.wp-block-heading {
    position: relative;
    margin: 3em 0 1.5em;
    padding-left: 60px;
    font-size: 20px;
    font-weight: 700;
    @media (max-width: 600px) {
        margin: 2.5em 0 1.5em;
        padding-left: 28px;
        font-size: 16px;
    }
    &::before {
        position: absolute;
        top: 12px;
        left: 0;
        width: 40px;
        height: 2px;
        display: block;
        background: var(--color-accent);
        content: "";
        border-radius: 2em;
        @media (max-width: 600px) {
            top: 11px;
            width: 16px;
        }
    }
}
h4.wp-block-heading {
    position: relative;
    margin: 1.5em 0;
    padding-left: 1em;
    font-weight: 700;
    &::before {
        position: absolute;
        top: 11px;
        left: 4px;
        content: "";
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--color-accent);
    }
}
/* btn_ptn */
.btn_wrap_center {
    margin-top: 74px;
    display: flex;
    justify-content: center;
}
.btn_ptn_1 {
    position: relative;
    min-height: 50px;
    min-width: 243px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    text-align: center;
    background: #fff;
    border-radius: 3em;
    font-weight: 700;
    border: 1px solid var(--color-accent);
    transition: 0.3s;
    &.position_left {
        margin-right: auto;
    }
    &.position_center {
        margin-right: auto;
        margin-left: auto;
    }
    &.position_right {
        margin-left: auto;
    }
    svg {
        position: absolute;
        top: 2px;
        bottom: 0;
        right: 16px;
        margin: auto;
        width: 12px;
        height: 9px;
        transition: 0.3s;
        path {
            transition: 0.3s;
        }
    }
    &:hover {
        background: var(--color-accent);
        color: #fff;
        svg {
            fill: #fff;
            path {
                stroke: #fff;
            }
        }
    }
}
.btn_ptn_2 {
    position: relative;
    height: 74px;
    width: 283px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 20px;
    font-weight: 700;
    @media (max-width: 370px) {
        width: 100%;
    }
    &.position_left {
        margin-right: auto;
    }
    &.position_center {
        margin-right: auto;
        margin-left: auto;
    }
    &.position_right {
        margin-left: auto;
    }
    svg {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 16px;
        margin: auto;
        width: 18px;
        height: 14px;
    }
}
/* comment_ptn */
.comment_ptn_1 {
    position: relative;
    margin: 48px 0;
    padding: 28px;
    max-width: 1200px;
    display: flex;
    border: 1px solid var(--color-brown);
    @media (max-width: 600px) {
        padding: 24px;
        flex-wrap: wrap;
    }
    &.wide {
        margin-inline: -64px;
        width: calc(100% + 128px);
        @media (max-width: 1180px) {
            margin-inline: 0;
            width: 100%;
        }
    }
    .label {
        position: absolute;
        top: -10px;
        left: 14px;
        z-index: 10;
        padding: 0 14px;
        background: #fff;
        color: var(--color-accent);
        font-family: var(--font-zen-maru);
        font-weight: 700;
        line-height: 1;
    }
    .comment_image {
        width: 80px;
        height: 80px;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }
    }
    > p {
        margin: 0 !important;
        margin-top: 0.7em !important;
        padding-left: 24px;
        width: calc(100% - 80px);
        max-width: 860px;
        font-weight: 700;
        b {
            color: var(--color-accent);
        }
    }
    &:has(.btn) {
        > p {
            padding-right: 24px;
            width: calc(100% - 80px - 260px);
            @media (max-width: 900px) {
                padding-right: 0;
                width: calc(100% - 80px);
            }
        }
    }
    > .btn {
        position: relative;
        margin-top: 16px;
        padding-right: 4px;
        width: 240px;
        height: 50px;
        display: flex !important;
        justify-content: center;
        align-items: center;
        border-radius: 3em;
        border: 1px solid var(--color-accent);
        color: var(--color-accent);
        font-weight: 700;
        transition: 0.3s;
        @media (max-width: 900px) {
            margin: 0 auto;
            margin-top: 40px;
        }
        > svg {
            position: absolute;
            top: 0;
            bottom: 0;
            right: 18px;
            margin: auto;
            height: 9px;
            width: 12px;
            path {
                transition: 0.3s;
            }
        }
        &:hover {
            background: var(--color-accent);
            color: #fff;
            > svg {
                path {
                    stroke: #fff;
                }
            }
        }
    }
}
.comment_ptn_2 {
    display: flex;
    align-items: start;
    .comment_ptn_2_image {
        width: 157px;
        @media (max-width: 800px) {
            width: 112px;
        }
        img {
            width: 114px;
            height: 114px;
            border-radius: 50%;
            object-fit: cover;
            @media (max-width: 800px) {
                width: 80px;
                height: 80px;
            }
        }
    }
    .comment_ptn_2_text {
        position: relative;
        z-index: 10;
        margin-top: 12px;
        padding: 1em 1.4em;
        min-width: 435px;
        max-width: calc(100% - 157px);
        min-height: 82px;
        display: flex;
        align-items: center;
        font-weight: 700;
        color: #fff;
        background: var(--color-brown);
        border-radius: 10px;
        @media (max-width: 800px) {
            min-width: initial;
        }
        @media (max-width: 800px) {
            max-width: calc(100% - 112px);
        }
        > p {
            margin: 0 !important;
        }
        &::after {
            position: absolute;
            top: 50%;
            left: 0;
            z-index: -1;
            content: "";
            display: block;
            width: 14px;
            height: 14px;
            background: var(--color-brown);
            border-bottom-left-radius: 3px;
            transform: translate(-50%, -50%) scaleX(1.5) rotate(45deg);
        }
    }
}
.comment_ptn_3 {
    margin: 24px 0;
    display: flex;
    align-items: start;
    gap: 25px;
    &.image_right {
        flex-direction: row-reverse;
        .text {
            &::after {
                left: initial;
                right: 0;
                transform: translate(50%, -50%) scaleX(1.5) rotate(225deg);
            }
        }
    }
    .image {
        width: 60px;
        height: 60px;
        overflow: hidden;
        border-radius: 50%;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .text {
        position: relative;
        margin-top: 8px;
        padding: 12px 36px;
        width: calc(95% - 25px - 60px);
        background: var(--comment-bg-color, #f2f2f2);
        border-radius: 10px;
        @media (max-width: 600px) {
            padding: 12px 20px;
            width: calc(100% - 25px - 60px);
        }
        &::after {
            position: absolute;
            top: 50%;
            left: 0;
            z-index: -1;
            content: "";
            display: block;
            width: 14px;
            height: 14px;
            background: var(--comment-bg-color, #f2f2f2);
            border-bottom-left-radius: 3px;
            transform: translate(-50%, -50%) scaleX(1.5) rotate(45deg);
        }
    }
}
/* bg_ptn_1 */
.bg_ptn_1 {
    .comment_ptn_1 {
        .label {
            background: var(--color-usugane);
        }
    }
}
/* sales_point_ptn_1 */
.sales_point_ptn_1 {
    > ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        @media (max-width: 1100px) {
            gap: 16px;
        }
        @media (max-width: 800px) {
            margin: 0 auto;
            max-width: 600px;
            grid-template-columns: repeat(2, 1fr);
        }
        @media (max-width: 500px) {
            gap: 8px;
        }

        > li {
            width: 100%;
            aspect-ratio: 1;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            align-content: center;
            justify-content: center;
            border-radius: 10px;
            background: #fff;
            box-shadow: 0 0 14px #ededed;
            .icon {
                width: 110px;
                height: 110px;
                display: flex;
                align-items: center;
                justify-content: center;
                @media (max-width: 1100px) {
                    width: 70px;
                    height: 85px;
                }
                @media (max-width: 500px) {
                    height: 70px;
                }
                svg,
                img {
                    height: 100%;
                    width: 100%;
                    max-height: 85px;
                    @media (max-width: 1100px) {
                        max-height: 70px;
                    }
                }
            }
            p.text {
                margin-top: 8px;
                width: 100%;
                line-height: 1.8;
                font-family: var(--font-zen-maru);
                font-weight: 700;
                text-align: center;
                @media (max-width: 1100px) {
                    font-size: 14px;
                }
            }
        }
    }
}
/* strengths_list_ptn_1 */
.strengths_list_ptn_1 {
    margin: 64px auto;
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    .in {
        width: calc(50% - 45px);
        @media (max-width: 800px) {
            width: 100%;
        }
        > h3 {
            height: 86px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-zen-maru);
            font-size: 32px;
            text-align: center;
            color: #fff;
            border-radius: 20px 20px 0 0;
            background: var(--color-brown);
            @media (max-width: 1200px) {
                font-size: 28px;
            }
            @media (max-width: 1100px) {
                font-size: 24px;
            }
            @media (max-width: 800px) {
                font-size: 20px;
            }
            &.bg_2 {
                background: var(--color-accent);
            }
        }
        > ul {
            margin-top: 5px;
            display: grid;
            gap: 5px;
            > li {
                position: relative;
                z-index: 1;
                padding: 0.5em 0.3em;
                min-height: 74px;
                display: flex;
                justify-content: center;
                align-items: center;

                text-align: center;
                font-size: 20px;
                color: var(--color-brown);
                font-weight: 700;
                @media (max-width: 1200px) {
                    font-size: 18px;
                }
                @media (max-width: 1100px) {
                    font-size: 16px;
                }
                &::after {
                    position: absolute;
                    top: 0;
                    left: 0;
                    z-index: -1;
                    width: 100%;
                    height: 100%;
                    content: "";
                    display: block;
                    background: #fff;
                }
                &:nth-of-type(even) {
                    &::after {
                        opacity: 0.7;
                    }
                }
            }
        }
    }
    .kakeru {
        position: relative;
        z-index: 10;
        margin: 0 -16px;
        width: 122px;
        height: 122px;
        border: 5px solid #e5e1ca;
        border-radius: 50%;
        background: var(--color-kiro);
        @media (max-width: 800px) {
            margin: -8px 0;
            width: 72px;
            height: 72px;
            border-width: 3px;
        }
        &::before,
        &::after {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            margin: auto;
            width: 40px;
            height: 5px;
            content: "";
            display: block;
            transform: rotate(45deg);
            background: #fff;
            border-radius: 2em;
            @media (max-width: 800px) {
                width: 28px;
                height: 3px;
            }
        }
        &::after {
            transform: rotate(-45deg);
        }
    }
}
/* slider_ptn_1 */
.slider_ptn_1 {
    position: relative;
    z-index: 10;
    margin-top: -110px;
    overflow: hidden;
    @media (max-width: 700px) {
        margin-top: -160px;
    }
    @media (max-width: 600px) {
        margin-top: -140px;
    }
    @media (max-width: 500px) {
        margin-top: -120px;
    }
    @media (max-width: 400px) {
        margin-top: -100px;
    }
    .swiper {
        overflow: visible;
    }
    .swiper-wrapper {
        transition-timing-function: linear !important;
        -webkit-transition-timing-function: linear !important;
        align-items: stretch;
    }
    .swiper-slide {
        aspect-ratio: 372 / 248;
        img {
            width: 100%;
            height: 100%;
            display: block;
            border-radius: 20px;
            object-fit: cover;
        }
    }
}
/* comments_image_ptn_1 */
.comments_image_ptn_1 {
    margin: 64px auto;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 18px;
    @media (max-width: 800px) {
        margin-top: 48px;
        font-size: 16px;
    }
    @media (max-width: 700px) {
        display: grid;
        grid-template-columns: 1fr;
        .center_image {
            grid-row: 1;
        }
        /* SP では li アニメを解除 (縦並びになり順次表示の意味が薄れるため即時表示) */
        > ul > li {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }
    @media (max-width: 600px) {
        margin-top: 32px;
    }
    > ul {
        width: 33%;
        display: grid;
        gap: 1.4em 0;
        align-items: center;
        align-content: center;
        @media (max-width: 700px) {
            margin-top: 24px;
            width: 100%;
            gap: 20px;
        }
        li {
            position: relative;
            z-index: 10;
            padding: 8px 0;
            padding-left: 0.9em;
            padding-right: 0.3em;
            min-height: 4.2em;
            display: flex;
            align-items: center;
            background: var(--color-brown);
            font-size: 1em;
            color: #fff;
            font-weight: 700;
            font-family: var(--font-zen-maru);
            border-radius: 0.55555em;
            &::after {
                position: absolute;
                top: 0;
                bottom: 0;
                right: -4px;
                z-index: -1;
                margin: auto;
                content: "";
                display: block;
                width: 0.77777em;
                height: 0.77777em;
                background: var(--color-brown);
                border-bottom-right-radius: 3px;
                transform: scaleX(2) rotate(-45deg);
                @media (max-width: 700px) {
                    display: none;
                }
            }
            &:nth-of-type(even) {
                color: var(--color-brown);
                background: var(--color-usugane);
                &::after {
                    background: var(--color-usugane);
                }
            }
        }
        &.right {
            li {
                &::after {
                    right: auto;
                    left: -4px;
                    transform: scaleX(2) rotate(135deg);
                }
            }
        }
    }
    /* ── アニメ用 transition-delay ──
       左先 → 右 と交互に 0.6s 間隔で出現させる。
       sec_worries 専用なので nth-of-type で個別指定 (汎用 wit-delay は最大 0.5s で足りない)。
         左[1]: 0.0s  右[1]: 0.6s
         左[2]: 1.2s  右[2]: 1.8s
         左[3]: 2.4s  右[3]: 3.0s
         左[4]: 3.6s  右[4]: 4.2s
       ※ 各 li が wit-fade-left / wit-fade-right を持っている前提 (sec_worries.php 参照) */
    > ul.left  > li:nth-of-type(1) { transition-delay: 0s;    }
    > ul.right > li:nth-of-type(1) { transition-delay: 0.6s;  }
    > ul.left  > li:nth-of-type(2) { transition-delay: 1.2s;  }
    > ul.right > li:nth-of-type(2) { transition-delay: 1.8s;  }
    > ul.left  > li:nth-of-type(3) { transition-delay: 2.4s;  }
    > ul.right > li:nth-of-type(3) { transition-delay: 3.0s;  }
    > ul.left  > li:nth-of-type(4) { transition-delay: 3.6s;  }
    > ul.right > li:nth-of-type(4) { transition-delay: 4.2s;  }
    > ul.left  > li:nth-of-type(5) { transition-delay: 4.8s;  }
    > ul.right > li:nth-of-type(5) { transition-delay: 5.4s;  }
    .center_image {
        width: 28%;
        @media (max-width: 700px) {
            margin-bottom: 20px;
            width: 100%;
        }
        img {
            width: 100%;
            height: auto;
            border-radius: 10em 10em 0 0;
        }
    }
}
.tag_ptn_1 {
    position: relative;
    z-index: 10;
    padding: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    @media (max-width: 600px) {
        padding: 20px 16px;
        display: grid;
        justify-content: start;
    }
    > li {
        padding: 8px 12px;
        justify-self: start;
        background: var(--color-kiro);
        color: #fff;
        line-height: 1.5;
        border-radius: 10px;
        font-weight: 700;
    }
}
.list_ptn_1 {
    padding: 43px 54px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.4em 2em;
    @media (max-width: 700px) {
        padding: 32px 20px;
        display: grid;
        justify-content: start;
    }
    > li {
        position: relative;
        z-index: 10;
        padding-left: 2em;
        display: grid;
        justify-self: start;
        gap: 8px;
        &::before {
            position: absolute;
            top: 0.26em;
            left: 0;
            width: 18px;
            height: 18px;
            content: "";
            background: url(../image/icon/ttl_y.svg) no-repeat;
            background-size: contain;
        }
    }
}
.list_ptn_2 {
    padding: 36px 24px 48px 24px;
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 40px;
    @media (max-width: 1150px) {
        gap: 20px;
    }
    @media (max-width: 1000px) {
        padding: 40px;
        flex-wrap: wrap;
        justify-content: start;
        gap: 32px;
    }
    > li {
        position: relative;
        z-index: 10;
        flex: 1;
        display: flex;
        gap: 32px;
        @media (max-width: 1150px) {
            gap: 20px;
        }
        @media (max-width: 1000px) {
            width: 100%;
            max-width: 500px;
            flex: initial;
            align-items: center;
            gap: 32px;
        }
        @media (max-width: 600px) {
            display: grid;
            justify-content: center;
        }
        .no {
            padding-top: 44px;
            font-size: 54px;
            color: var(--color-accent);
            font-family: var(--font-zen-maru);
            font-weight: 700;
            line-height: 1;
            @media (max-width: 1000px) {
                padding-top: 0;
            }
            @media (max-width: 600px) {
                margin: 0 auto;
                justify-self: start;
            }
            &::after {
                margin-top: 16px;
                width: 100%;
                height: 2px;
                content: "";
                display: block;
                border-radius: 1em;
                background: var(--color-accent);
            }
        }
        .in {
            h4 {
                min-height: 3.5em;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                font-size: 20px;
                font-weight: 700;
                line-height: 1.5;
                @media (max-width: 1150px) {
                    font-size: 18px;
                    min-height: auto;
                }
                @media (max-width: 1000px) {
                    font-size: 20px;
                }
                @media (max-width: 600px) {
                    text-align: center;
                    justify-content: center;
                }
                b {
                    color: var(--color-accent);
                }
            }
            > p {
                margin-top: 10px;
                @media (max-width: 1300px) {
                    font-size: 14px;
                }
                @media (max-width: 1000px) {
                    font-size: 16px;
                }
                @media (max-width: 600px) {
                    margin-top: 24px;
                }
            }
        }
    }
}
/* list_ptn_3 */
.list_ptn_3 {
    margin-block: 80px;
    padding-inline-start: initial;
    display: grid;
    gap: 6px;
    @media (max-width: 1000px) {
        margin-block: 64px;
    }
    @media (max-width: 800px) {
        margin-block: 40px;
    }
    @media (max-width: 600px) {
        margin-block: 24px;
    }
    > li {
        display: grid;
        grid-template-columns: 50px calc(100% - 52px);
        gap: 2px;
        @media (max-width: 600px) {
            grid-template-columns: 28px calc(100% - 28px);
        }
        .icon_check {
            height: 100%;
            width: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--color-accent);
            @media (max-width: 600px) {
                width: 28px;
            }
            &::after {
                width: 28px;
                height: 33px;
                content: "";
                display: block;
                background: url(../image/icon/check_1.svg);
                background-size: contain;
                @media (max-width: 600px) {
                    width: 22px;
                    height: 26px;
                }
            }
        }
        .text {
            padding: 10px 18px;
            background: var(--color-bg-usu-pink);
            font-size: 16px;
            font-weight: 700;
            @media (max-width: 700px) {
                padding: 10px 8px;
            }
            .after_pc {
                display: inline-block;
                margin-left: 1.2em;
                &::before {
                    width: 20px;
                    height: 15px;
                    display: inline-block;
                    content: "";
                    margin-right: 0.8em;
                    background: url(../image/icon/next_arrow_red.svg);
                    background-size: contain;
                }
                @media (max-width: 600px) {
                    display: none;
                }
            }
        }
    }
    > li.after_sp {
        display: none;
        @media (max-width: 600px) {
            display: block;
            padding: 6px 4px 0 16px;
            margin-top: -8px;
            font-size: 16px;
            font-weight: 700;
            line-height: 1.5;
            background: transparent;
            &::before {
                width: 16px;
                height: 12px;
                content: "";
                margin-right: 0.5em;
                display: inline-block;
                background: url(../image/icon/next_arrow_red.svg);
                background-size: contain;
            }
        }
    }
}
/* list_ptn_6 */
.list_ptn_6 {
    margin: 80px 0;
    padding-inline-start: initial;
    display: grid;
    gap: 20px 0;
    @media (max-width: 1000px) {
        margin-block: 64px;
    }
    @media (max-width: 800px) {
        margin-block: 48px;
    }
    @media (max-width: 700px) {
        margin-block: 40px;
        gap: 16px 0;
    }
    > li {
        display: grid;
        grid-template-columns: 54px calc(100% - 54px);
        background: var(--color-bg-usu-pink);
        border-left: 4px solid var(--color-accent);
        .icon_check {
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            &::after {
                width: 24px;
                height: 23px;
                content: "";
                display: block;
                background: url(../image/icon/check_2.svg) no-repeat;
                background-size: contain;
            }
        }
        .text {
            padding: 20px 18px;
            padding-left: 0;
            font-size: 20px;
            font-weight: 700;
            @media (max-width: 1000px) {
                font-size: 18px;
            }
            @media (max-width: 700px) {
                padding: 12px;
                padding-left: 0;
                font-size: 16px;
            }
        }
    }
}
.list_ptn_4 {
    padding: 24px 32px;
    display: grid;
    gap: 12px 0;
    border-left: 4px solid var(--color-accent);
    font-weight: 700;
    counter-reset: list_ptn_4;
    > li {
        display: flex;
        gap: 12px;
        counter-increment: list_ptn_4;
        &::before {
            margin-top: 4px;
            padding-bottom: 2px;
            content: counter(list_ptn_4);
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            display: grid;
            place-items: center;
            background: var(--color-accent);
            color: #fff;
            border-radius: 50%;
            line-height: 1;
            font-size: 14px;
            font-weight: 700;
        }
    }
}
.list_ptn_5 {
    padding: 24px 32px;
    display: grid;
    border-left: 4px solid var(--color-accent);
    font-weight: 700;
    counter-reset: list_ptn_4;
    background: var(--color-bg-usu-pink);
    @media (max-width: 600px) {
        padding: 10px 14px;
    }
    > li {
        padding: 8px 0;
        display: flex;
        gap: 12px;
        counter-increment: list_ptn_4;
        border-top: 1px dashed var(--color-kusumi-pink);
        @media (max-width: 600px) {
            gap: 0 10px;
        }
        &:first-of-type {
            border: none;
        }
        &::before {
            margin-top: 4px;
            padding-bottom: 2px;
            content: counter(list_ptn_4);
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            display: grid;
            place-items: center;
            background: var(--color-accent);
            color: #fff;
            border-radius: 50%;
            line-height: 1;
            font-size: 14px;
            font-weight: 700;
        }
    }
}
.shop_detail_ptn_1 {
    padding: 60px;
    display: grid;
    grid-template-columns: 380px calc(100% - 380px);
    background: #fff;
    border-radius: 20px;
    @media (max-width: 1000px) {
        padding: 40px;
        gap: 32px;
        grid-template-columns: 380px calc(100% - 32px - 380px);
    }
    @media (max-width: 900px) {
        padding: 40px;
        gap: 32px;
        grid-template-columns: 1fr;
    }
    @media (max-width: 600px) {
        padding: 40px 26px;
    }
    @media (max-width: 500px) {
        padding: 40px 20px;
    }
    &.bg_pink {
        margin: 0 auto;
        max-width: 1100px;
        background: var(--color-bg-usu-pink);
        @media (min-width: 1200px) {
            padding: 48px;
        }
    }
    .image {
        width: 100%;
        height: 100%;
        aspect-ratio: 383 / 325;
        background: #d9d9d9;
        border-radius: 20px;
        overflow: hidden;
        @media (max-width: 500px) {
            margin: 0 auto;
            width: calc(100% - 48px);
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .right {
        padding-left: 48px;
        @media (max-width: 1000px) {
            padding-left: 0;
        }

        dl {
            display: grid;
            grid-template-columns: 100px calc(100% - 100px);
            @media (max-width: 600px) {
                display: block;
            }

            dt,
            dd {
                padding: 12px 0;
                border-bottom: 1px dotted var(--color-kusumi-pink);
            }
            dt {
                font-weight: 700;
                @media (max-width: 600px) {
                    padding-bottom: 0;
                    border: none;
                }
            }
            dd {
                @media (max-width: 600px) {
                    padding-top: 0;
                }
                a{
                    color: var(--color-accent);
                    text-decoration: underline;
                    &:hover{
                        opacity: .9;
                    }
                }
            }
            + .tel_ptn_1 {
                margin-top: 24px;
            }
        }

        .btn {
            position: relative;
            margin-top: 32px;
            margin-left: auto;
            width: 100%;
            height: 70px;
            max-width: 328px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--color-accent);
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            text-align: center;
            border-radius: 8px;
            transition: 0.4s;
            @media (max-width: 600px) {
                margin-right: auto;
            }
            &::after {
                position: absolute;
                top: 0;
                right: 32px;
                bottom: 0;
                margin: auto;
                width: 17px;
                height: 13px;
                content: "";
                display: block;
                background: url(../image/icon/next_w.svg) no-repeat center / contain;
                transition: transform 0.4s;
            }
            &:hover {
                opacity: 0.8;
                &::after {
                    transform: translateX(6px);
                }
            }
        }
    }
}
/* tel_ptn_1 */
*:has(> .tel_ptn_1) {
    container-type: inline-size;
}
.tel_ptn_1 {
    min-height: 134px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    border: 1px solid var(--color-accent);
    border-radius: 10px;
    background: #fff;
    color: var(--color-brown);
    gap: 12px 18px;
    @container (max-width: 540px) {
        display: grid;
    }
    .in_1 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        .text {
            font-weight: 700;
            text-align: center;
            white-space: nowrap;
            br {
                @container (max-width: 540px) {
                    display: none;
                }
            }
        }
        .icon_next {
            width: 24px;
            height: 24px;
            @container (max-width: 540px) {
                width: 16px;
                height: 16px;
                transform: rotate(90deg);
            }
            svg {
                width: 100%;
                height: 100%;
            }
        }
    }
    .in_2 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        @container (max-width: 540px) {
            gap: 12px;
        }
        .icon_tel {
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            @container (max-width: 540px) {
                width: 30px;
                height: 30px;
                transform: translateY(2px);
            }
            svg {
                width: 100%;
                height: 100%;
            }
        }
        .no {
            font-size: 52px;
            line-height: 1;
            font-weight: 700;
            color: var(--color-accent);
            white-space: nowrap;
            @container (max-width: 540px) {
                font-size: 48px;
            }
            @media (max-width: 500px) {
                font-size: 40px;
            }
        }
    }
}
/* annotation_ptn_1 */
.annotation_ptn_1 {
    margin: 48px 0;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg-usu-pink);
    border-left: 4px solid var(--color-accent);
    @media (max-width: 800px) {
        margin: 32px 0;
        display: grid;
    }
    @media (max-width: 600px) {
        margin: 24px 0;
        padding: 20px 16px 24px 16px;
        border: none;
        border-radius: 20px;
    }
    p {
        margin: 0 !important;
        width: calc(100% - 48px);
        @media (max-width: 600px) {
            width: 100%;
        }
    }
    &::before {
        width: 23px;
        height: 40px;
        content: "";
        display: block;
        background: url(../image/icon/denkyu.svg);
        background-size: contain;
        @media (max-width: 600px) {
            margin: 0 auto;
            margin-bottom: 12px;
        }
    }
}
/* step_list_ptn_1 */
.step_list_ptn_1 {
    margin: 64px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    @media (max-width: 900px) {
        display: grid;
    }
    @media (max-width: 600px) {
        margin: 32px 0;
    }
    > li {
        width: 100%;
        max-width: 352px;
        padding: 26px 24px;
        display: grid;
        gap: 8px;
        align-items: start;
        align-content: start;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
        @media (max-width: 900px) {
            max-width: 500px;
        }
        @media (max-width: 500px) {
            padding: 20px;
        }
        &.bg_on {
            background: #fbf4f4;
            .ttl_wrap {
                .no {
                    -webkit-text-stroke: 2px var(--color-kusumi-pink);
                }
                .ttl {
                    color: var(--color-accent);
                }
            }
        }
        .ttl_wrap {
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: var(--font-zen-maru);
            font-weight: 700;
            .no {
                font-size: 40px;
                -webkit-text-stroke: 2px var(--color-kiro);
                paint-order: stroke fill;
                color: #fff;
                line-height: 1;
            }
            .ttl {
                font-weight: 700;
            }
        }

        p {
            margin: 0 !important;
            width: 100%;
            @media (max-width: 1100px) {
                font-size: 14px;
            }
            @media (max-width: 900px) {
                font-size: 16px;
            }
        }
    }
}
/* tab_ptn_1 */
.wp-block-heading + .wp-block-wit-tab-ptn-1 .tab_ptn_1,
p + .wp-block-wit-tab-ptn-1 .tab_ptn_1 {
    margin-top: 32px;
}
.tab_ptn_1 {
    margin: 64px 0;
    padding-inline-start: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 10px;
    @media (max-width: 800px) {
        margin: 32px 0 48px 0;
    }
    li {
        padding: 10px 12px;
        padding-right: 14px;
        height: 40px;
        display: flex;
        align-items: center;
        gap: 4px;
        background: var(--color-accent);
        color: #fff;
        border-radius: 10px;
        font-weight: 700;
        .icon {
            margin-right: 6px;
            width: 20px;
            height: 100%;
            display: flex;
            align-items: center;
            svg,
            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
    }
    /* 揃えるモード: 2列均等幅 */
    &.tab_ptn_1--even {
        li {
            flex: 0 0 calc(50% - 8px);
            width: calc(50% - 8px);
            justify-content: flex-start;
        }
    }
}
/* flow_head_ptn_1 */
.wp-block.wp-block-wit-flow-head-ptn-1 {
    .no {
        &::after {
            width: calc(100% - 6px) !important;
            height: calc(100% - 6px) !important;
        }
    }
}
.flow_head_ptn_1 {
    position: relative;
    margin: 48px 0;
    display: flex;
    align-items: start;
    @media (max-width: 800px) {
        margin: 32px 0;
        padding-top: 64px;
        display: grid;
    }
    .no {
        position: absolute;
        top: -8px;
        left: calc(-96px - 28px);
        width: 96px;
        height: 96px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-kiro);
        border-radius: 50%;
        font-size: 40px;
        font-family: var(--font-zen-maru);
        font-weight: 700;
        text-align: center;
        color: #fff;
        @media (max-width: 800px) {
            top: 0;
            left: 0;
            right: 0;
            margin: auto;
        }
        > span {
            position: relative;
            z-index: 20;
            display: block;
            line-height: 1;
            -webkit-text-stroke: 1px #fff;
            paint-order: stroke fill;
            &::after {
                margin-top: 0.2em;
                width: 100%;
                height: 2px;
                content: "";
                display: block;
                border-radius: 2em;
                background: #fff;
            }
        }
        &::after {
            position: absolute;
            top: 2px;
            left: 2px;
            width: calc(100% - 4px);
            height: calc(100% - 4px);
            content: "";
            display: block;
            border: 1px solid #fff;
            border-radius: 50%;
        }
    }
    .in_text {
        padding-right: 32px;
        width: 57%;
        @media (max-width: 800px) {
            padding: 0;
            width: 100%;
        }
        > .ttl {
            margin-bottom: 40px;
            border-bottom: 1px solid var(--color-kusumi-pink);
            @media (max-width: 800px) {
                margin-bottom: 24px;
            }
            .main {
                margin-bottom: 0.4em;
                display: block;
                font-size: 20px;
                font-family: var(--font-zen-maru);
            }
            .sub {
                margin-bottom: 1em;
                display: block;
                color: var(--color-accent);
            }
        }
    }
    .image {
        width: 43%;
        aspect-ratio: 420 / 260;
        @media (max-width: 800px) {
            margin-bottom: 40px;
            margin-left: -20px;
            margin-right: -20px;
            width: calc(100% + 40px);
            grid-row: 1;
        }
        img {
            width: 100%;
            height: 100%;
            border-radius: 20px;
            object-fit: cover;
            @media (max-width: 800px) {
                border-radius: 0;
            }
        }
    }
}
/* table_ptn_1 */
.table_ptn_1 {
    margin: 40px 0;
    border: 2px solid var(--table-bg-color, #79161c);
    .row {
        display: grid;
        grid-template-columns: 140px calc(100% - 140px);
        border-bottom: 2px solid var(--table-bg-color, #79161c);
        font-size: 16px;
        @media (max-width: 900px) {
            grid-template-columns: 140px calc(100% - 140px);
        }
        @media (max-width: 700px) {
            grid-template-columns: 1fr;
        }
        &:last-of-type {
            border: none;
        }
        dt,
        dd {
            margin: 0;
            padding: 16px 34px;
            padding-right: 16px;
            font-weight: 700;
            line-height: 1.7;
            @media (max-width: 900px) {
                padding: 16px 24px;
                padding-right: 16px;
            }
            @media (max-width: 700px) {
                padding: 12px 16px;
            }
        }
        dt {
            position: relative;
            z-index: 10;
            color: var(--table-text-color, #79161c);
            border-right: 2px solid var(--table-bg-color, #79161c);
            @media (max-width: 700px) {
                border: none;
            }
            &:after {
                position: absolute;
                top: 0;
                left: 0;
                z-index: -1;
                width: 100%;
                height: 100%;
                content: "";
                display: block;
                background: var(--table-bg-color, #79161c);
                opacity: 0.05;
            }
        }
    }
}
/* merit_ptn_1 */
.merit_ptn_1 {
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    @media (max-width: 700px) {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }
    .right {
        @media (max-width: 700px) {
            margin-top: 32px;
        }
    }
    .row {
        margin: 0;
        padding: 20px 30px;
        font-size: 20px;
        font-weight: 700;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
        background: #fff;
        @media (max-width: 700px) {
            padding: 0;
            font-size: 16px;
            box-shadow: none;
            background: none;
        }
        + .row {
            margin-top: 5px;
        }
        &.ttl {
            background: #d9d9d9;
            font-size: 24px;
            @media (max-width: 700px) {
                margin-block: 0 12px;
                font-size: 18px;
                background: none;
            }
        }
        &:not(.ttl) {
            &::before {
                @media (max-width: 700px) {
                    content: "・";
                    color: var(--color-accent);
                }
            }
        }
    }
}
/* message_ptn_1 */
.message_ptn_1 {
    position: relative;
    z-index: 10;
    margin: 64px 0;
    padding: 28px 48px 48px 60px;
    background: #fffabf;
    border-radius: 20px;
    @media (max-width: 700px) {
        margin-top: 100px;
        padding: 40px;
    }
    @media (max-width: 500px) {
        padding: 40px 15px;
    }
    &::after {
        position: absolute;
        top: -24px;
        left: -17px;
        z-index: 10;
        width: 70px;
        height: 120px;
        content: "";
        display: block;
        background: url(../image/icon/denkyu_2.svg) no-repeat;
        background-size: contain;
        @media (max-width: 700px) {
            top: -72px;
            left: 0;
            right: 0;
            margin: auto;
        }
    }
    .message_ttl {
        font-weight: 700;
        .sub {
            @media (max-width: 700px) {
                margin-bottom: 32px;
                text-align: center;
            }
        }
        .main {
            position: relative;
            margin-top: 4px;
            padding-left: 40px;
            font-size: 20px;
            font-family: var(--font-zen-maru);
            &::before {
                position: absolute;
                top: 13px;
                left: 0;
                height: 2px;
                width: 30px;
                content: "";
                display: block;
                border-radius: 2em;
                background: var(--color-accent);
            }
        }
    }
    > p {
        margin: 0;
        margin-top: 6px;
    }
    .message_comment {
        margin-top: 32px;
        display: grid;
        grid-template-columns: 145px calc(100% - 145px - 28px);
        gap: 28px;
        align-items: start;
        @media (max-width: 700px) {
            grid-template-columns: 1fr;
        }

        .image {
            width: 145px;
            height: 145px;
            border-radius: 50%;
            overflow: hidden;
            background: #fff;
            @media (max-width: 700px) {
                margin: 0 auto;
            }
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
        > p {
            position: relative;
            z-index: 1;
            margin: 0;
            margin-top: 12px;
            padding: 24px 32px;
            background: #fff;
            border-radius: 10px;
            font-weight: 700;
            @media (max-width: 700px) {
                grid-row: 1;
            }
            &::after {
                position: absolute;
                top: 50%;
                left: 0;
                z-index: -1;
                content: "";
                display: block;
                width: 14px;
                height: 14px;
                background: #fff;
                border-bottom-left-radius: 3px;
                transform: translate(-50%, -50%) scaleX(1.5) rotate(45deg);
                @media (max-width: 700px) {
                    top: 100%;
                    right: 0;
                    margin: auto;
                    transform: translate(-50%, -50%) scale(1.5) rotate(-45deg);
                }
            }
        }
    }
}
