:root {
    --light__base: #f8f8f3;
    --base__color: #f7f8f8;
    --base__color2: #faf8f5;
    --heavy__base: #dcdddd;
    --font__color: #1d1e1f;
    --visited: #9c9c9c;
    --red: #ce3f32;
    --red2: #b84338;
    --yellow: #e8dc42;
    --yellow__translate: #e8dd42ad;
    --green: #b5ff9b;
    --blue: #264358;
    --light__blue: #3380f3;
    --pink: #fe9c9c;
    --white: #ffffff;
    --trans__bg: rgba(255, 255, 255, 0.2);
    --box__shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    --button__gradient: linear-gradient(130deg, #e39f32 1%, #e83327 100%);
    --clump1remTo2rem: clamp(1rem, 0.545rem + 1.94vw, 2rem);
    --clump2remTo4rem: clamp(2rem, 1.091rem + 3.89vw, 4rem);
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    font-style: normal;
    font-optical-sizing: auto;
    margin: 0;
    color: var(--font__color);
    background: var(--light__base);
}

body.no__scroll {
    overflow: hidden;
}

h1 {
    font-size: clamp(1.476rem, 0.927rem + 2.75vw, 2.986rem);
}

h2 {
    font-size: clamp(1.383rem, 0.981rem + 2.01vw, 2.488rem);
}

h3 {
    font-size: clamp(1.296rem, 1.013rem + 1.41vw, 2.074rem);
}

h4 {
    font-size: clamp(1.215rem, 1.028rem + 0.93vw, 1.728rem);
}

h5 {
    font-size: clamp(1.138rem, 1.028rem + 0.55vw, 1.44rem);
}

h6 {
    font-size: clamp(1.067rem, 1.019rem + 0.24vw, 1.2rem);
}

.text__wrap {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

p {
    font-size: clamp(0.9rem, 0.827rem + 0.36vw, 1.1rem);
    line-height: 1.8em;
}

.small {
    font-size: 0.889em;
}

.bold {
    font-weight: 700;
}

em {
    font-weight: 700;
    color: var(--red);
    font-style: normal;
}

hr {
    border: 1px solid var(--font__color);
    width: 100%;
}

.pc__hidden {
    display: none;
}

.sp__hidden {
    display: inline-block;
}

.link__text {
    text-decoration: underline;
    color: var(--blue);
}

.link__text:visited {
    color: var(--visited);
}

.hidden__contents {
    display: none;
}

main {
    padding-top: 80px;
}

#about,
#flow,
#contact {
    scroll-margin-top: 80px;
}

#date,
#slots {
    scroll-margin-top: 120px;
}

.section__title h2 {
    width: fit-content;
    margin: 0 auto 0.2em auto;
    text-align: center;
    position: relative;
}

.section__title h2::before {
    content: "";
    width: 110%;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
    position: absolute;
    bottom: -0.2em;
    left: 50%;
    transform: translateX(-50%);
}

/* プライバシーポリシーのモーダル＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.privacy {
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.privacy__button {
    width: fit-content;
    padding: 0.2em 1em;
    border-radius: 2em;
    background: var(--blue);
    color: var(--white);
    cursor: pointer;
    box-shadow: var(--box__shadow);
    transition: all 0.3s;
}

.privacy__button:hover {
    box-shadow: none;
}

.checkbox__wrap {
    line-height: 1em;
}

label.checkbox {
    width: fit-content;
    cursor: pointer;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 0.5em;
    position: relative;
}

.checkbox::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 1px solid var(--visited);
    border-radius: 16px;
    flex-shrink: 0;
}

.checkbox::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--font__color);
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 8px;
    /* ← beforeの幅(1em)の半分 */
    transform: translate(-50%, -50%);
    /* 完全中央寄せ */
    transition: all 0.3s;
}

input[type=checkbox]:checked+.checkbox::after {
    opacity: 1;
}

.privacy__modal {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--trans__bg);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: center;
    gap: 1em;
    z-index: 9999;
    padding: 5% 1rem;
    display: none;
}

.privacy__modal__display {
    display: flex;
}

.privacy__modal__inner {
    width: 100%;
    height: 80vh;
    max-width: 1000px;
    background: var(--white);
    box-shadow: var(--box__shadow);
    margin: 0 auto;
    padding: 1rem;
    border-radius: 1rem;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.privacy__modal__inner h3 {
    text-align: center;
}

.privacy__modal__inner ol {
    padding: 0.5em 0 0 2em;
}

.privacy__modal__inner ol li {
    list-style: decimal;
    line-height: 1.6em;
}


.privacy__modal__close {
    width: fit-content;
    padding: 0.5em 1em;
    background: var(--blue);
    color: var(--white);
    margin: 0 auto;
    box-shadow: var(--box__shadow);
    transition: all 0.3s;
}

.privacy__modal__close:hover {
    box-shadow: none;
}

/* お問い合わせ後のモーダル＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.ajax-modal {
    position: fixed;
    inset: 0;
    display: none;
    /* display: grid; */
    place-items: center;
    z-index: 99999;
}

.ajax-modal.is-open {
    display: grid;
}

/* 送信中は閉じる操作を視覚的に無効化 */
.ajax-modal.is-loading .ajax-modal__close {
    opacity: .4;
    pointer-events: none;
}

/* ---------- 背景 ---------- */

.ajax-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
}

/* ---------- 本体 ---------- */

.ajax-modal__panel {
    position: relative;
    width: min(560px, 92vw);
    margin: auto;
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--box__shadow);
    padding: 2rem 1rem;
}

/* ---------- 閉じるボタン ---------- */

.ajax-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: opacity .2s ease;
}

/* 成功時は右上の閉じるボタンを消す */
.ajax-modal.is-success .ajax-modal__close {
    display: none;
}

/* ---------- 内容 ---------- */

.ajax-modal__body {
    text-align: center;
}

.ajax-modal__title {
    margin: 14px 0 8px;
    font-size: clamp(1.2rem, 1.091rem + 0.55vw, 1.5rem);
}

.ajax-modal__text {
    margin: 0;
    font-size: clamp(1rem, 0.891rem + 0.55vw, 1.3rem);
    white-space: pre-line;
    /* \n を改行表示 */
}

/* ---------- ボタンエリア ---------- */

.ajax-modal__actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* 共通ボタンスタイル */
.ajax-modal__btn,
.ajax-modal__ok {
    padding: .6em 1.2em;
    border-radius: 999px;
    background: var(--red2);
    color: var(--white);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all .2s ease;
}

.ajax-modal__btn:hover,
.ajax-modal__ok:hover {
    background: #f5f5f5;
    color: var(--font__color);
}

/* ★ 初期状態ではOKボタン非表示 */
.ajax-modal__ok {
    display: none;
}

/* 結果表示時のみ出現 */
.ajax-modal__ok.is-show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- スピナー ---------- */

.ajax-modal__spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 5px solid rgba(0, 0, 0, .12);
    border-top-color: var(--red2);
    margin: 6px auto 0;
    animation: spin .9s linear infinite;
}

.ajax-modal__spinner.is-hidden {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ヘッダー＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
header {
    background-color: var(--white);
    box-shadow: var(--box__shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header__inner {
    max-width: 1500px;
    height: 80px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav ul {
    display: flex;
    gap: 1.5rem;
}

.header__nav ul li {
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    font-size: 1.2rem;
}

.header__nav ul li a {
    display: block;
    padding: 0.2em 0.5em;
    position: relative;
    z-index: 2;
}

/* 背景のアニメーション部分 */
.header__nav ul li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--red);
    transition: width 0.3s ease-in-out;
    z-index: 1;
}

/* ホバー時に左→右に広がる */
.header__nav ul li:hover::before {
    width: 100%;
}

.header__nav ul li:hover {
    color: var(--white);
}

/* メインビジュアル */

.mv img {
    width: 100%;
    height: auto;
}

/* どんなお悩みでも＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.summary {
    width: 100%;
    background: url(../images/summary__bg.webp) no-repeat center center;
    background-size: cover;
    padding: var(--clump2remTo4rem) 1rem;
}

.summary__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--clump2remTo4rem);
}

.summary__title {
    text-align: center;
    line-height: 1.5em;
    font-size: clamp(1.28rem, 0.945rem + 1.67vw, 2.2rem);
}

/* 写真付き大項目のリスト */
.summary__list__first {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.summary__list__first li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.summary__list__first__image {
    width: 100%;
    border-radius: 1rem;
}

.summary__list__first__button {
    width: 80%;
    background: var(--red2);
    color: var(--white);
    text-align: center;
    padding: 0.5em 0.8em;
    font-size: clamp(1.2rem, 1.164rem + 0.18vw, 1.3rem);
    border-radius: 0.5em;
    box-shadow: var(--box__shadow);
    cursor: pointer;
    position: relative;
}

.summary__list__first__button .caret__icon {
    color: var(--white);
    position: absolute;
    top: 50%;
    right: 0.5em;
    transform: translateY(-45%);
}

.summary__price__wrap {
    width: 90%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* 小項目のリスト */
.summary__list {
    width: 100%;
    max-width: 600px;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.summary__list li {
    width: 100%;
    max-width: calc(50% - 1rem);
    min-width: 9rem;
    background: var(--blue);
    color: var(--white);
    text-align: center;
    padding: 0.5em;
    font-size: clamp(1.1rem, 1.027rem + 0.36vw, 1.3rem);
    border-radius: 0.5em;
    box-shadow: var(--box__shadow);
    cursor: pointer;
    position: relative;
}

.summary__list li .caret__icon {
    color: var(--white);
    position: absolute;
    top: 50%;
    right: 0.5em;
    transform: translateY(-45%);
}

.summary__price {
    width: 80%;
    max-width: 400px;
    display: grid;
    place-items: center;
}

/* 各種ご祈願も承ります */
.summary__text {
    text-align: center;
}

.summary__text .heading {
    width: fit-content;
    margin: 0 auto 0.2em auto;
    position: relative;
}

.summary__text .heading::after {
    content: "";
    width: 110%;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.summary__text .summary__text__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta__button {
    width: fit-content;
    padding: 0.5em 1em;
    background: var(--red);
    color: var(--white);
    border-radius: 2em;
    font-size: clamp(1.3rem, 1.227rem + 0.36vw, 1.5rem);
    box-shadow: var(--box__shadow);
}

/* お祓い詳細のポップアップ */

.summary__detail__wrap {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    z-index: 9999;
    visibility: hidden;
    pointer-events: none;
}

.summary__detail__wrap.active {
    visibility: visible;
    pointer-events: auto;
    transition: none;
}

.summary__detail__wrap::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .2);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.summary__detail {
    /* 非表示 */
    opacity: 0;
    transform: translateY(10px) scale(.95);
    transition: opacity .25s ease, transform .25s ease;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--box__shadow);
    color: var(--font__color);
    display: flex;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

/* active時の本体 */
.summary__detail__wrap.active .summary__detail {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.summary__scroll__wrap {
    width: 100%;
    padding: var(--clump2remTo4rem) 1rem calc(var(--clump2remTo4rem) + 1rem) 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow-y: auto;
    /* フェード */
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 2rem,
            black calc(100% - 3rem),
            transparent 100%);
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 2rem,
            black calc(100% - 3rem),
            transparent 100%);
}

.summary__detail .text__wrap {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    white-space: normal;
    text-align: left;
}

.summary__detail__image {
    width: 50%;
    max-width: 300px;
    border-radius: 1rem;
}

.summary__detail__close {
    width: clamp(2rem, 1.636rem + 1.82vw, 3rem);
    height: clamp(2rem, 1.636rem + 1.82vw, 3rem);
    aspect-ratio: 1/1;
    border-radius: 100%;
    background: var(--blue);
    box-shadow: var(--box__shadow);
    display: grid;
    place-items: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    align-self: flex-end;
    z-index: 1000;
    cursor: pointer;
}

.summary__detail__close i {
    color: var(--white);
    font-size: var(--clump1remTo2rem);
}

.summary__price__wrap .price__name {
    padding-left: 1em;
}

.summary__price__item {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    position: relative;
}

.summary__price__item .price__name {
    padding-left: 1em;
}

/* 法真寺について＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.about {
    width: 100%;
    padding: var(--clump2remTo4rem) 1rem;
    background: url('../images/about__bg2.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.about::before {
    background: url('../images/about__bg__item1.webp') no-repeat center center;
    bottom: 0;
    left: -100px;
}

.about::after {
    background: url('../images/about__bg__item2.webp') no-repeat center center;
    bottom: 0;
    right: -100px;
}

.about::before,
.about::after {
    content: "";
    width: 30%;
    height: auto;
    aspect-ratio: 1/1;
    background-size: cover;
    position: absolute;
    opacity: 0;
    z-index: 1;
    transition: all 1s ease-in-out;
}

/* アニメーション */
.about.is-active::before,
.about.is-active::after {
    opacity: 1;
}

.about.is-active::before {
    bottom: 0;
    left: 0;
}

.about.is-active::after {
    bottom: 0;
    right: 0;
}

.about__inner {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    border-radius: 1rem;
    color: var(--white);
}

.about__title {
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
    align-items: center;
    position: relative;
}

.about__title img {
    height: 120px;
}

.about h2 {
    width: fit-content;
    margin: 0 auto 0.2em auto;
    text-align: center;
}

.about h2::before {
    content: "";
    width: 110%;
    height: 4px;
    border-radius: 2px;
    background: var(--red);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hr__style1 {
    width: 100%;
    border: 0;
    height: 40px;
    background-image: url('../images/hr.webp');
    background-repeat: repeat-x;
    background-position: center center;
    background-size: contain;
    background-color: var(--blue);
}

/* お悩み相談＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.consultation {
    background: url('../images/bg1.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.consultation::before {
    background: url('../images/bg__item1.webp') no-repeat center center;
    top: -100px;
    left: -100px;
}

.consultation::after {
    background: url('../images/bg__item2.webp') no-repeat center center;
    top: -100px;
    right: -100px;
}

.consultation::before,
.consultation::after {
    content: "";
    width: 20%;
    height: auto;
    aspect-ratio: 1/1;
    background-size: cover;
    position: absolute;
    opacity: 0;
    z-index: 1;
    transition: all 1s ease-in-out;
}

/* アニメーション */
.consultation.is-active::before,
.consultation.is-active::after {
    opacity: 1;
}

.consultation.is-active::before {
    top: 0;
    left: 0;
}

.consultation.is-active::after {
    top: 0;
    right: 0;
}

.consultation__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--clump2remTo4rem) 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--clump2remTo4rem);
    align-items: center;
}

.consultation__title h2 {
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    color: var(--blue);
    position: relative;
}

/* ご相談の流れ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.flow {
    width: 100%;
    position: relative;
    padding: 50px 0;
}

.flow::before {
    content: "";
    background: url('../images/hr1.webp') repeat-x center center;
    background-size: contain;
    width: 100%;
    height: 50px;
    position: absolute;
    top: 0;
    z-index: 1;
}

.flow::after {
    content: "";
    background: url('../images/hr2.webp') repeat-x center center;
    background-size: contain;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    z-index: 1;
}

.flow__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--clump2remTo4rem) 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
    align-items: center;
}

.flow__list {
    display: flex;
    flex-direction: column;
    gap: var(--clump2remTo4rem);
    width: 100%;
    max-width: 680px;
    padding: 2rem 0 2rem calc(80px + 1rem);
    position: relative;
}

.flow__list::before {
    content: "";
    width: 80px;
    height: 100%;
    background: url('../images/flow__line.svg') no-repeat center center;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.flow__list li {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow__title {
    display: flex;
    align-items: center;
    gap: 1em;
}

.flow__number {
    font-size: clamp(1.4rem, 1.182rem + 1.09vw, 2rem);
    font-weight: 800;
    color: var(--red);
    flex-shrink: 0;
}

/* 料金＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.flow__price__wrap {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.flow__price__wrap h3 {
    font-size: clamp(1.1rem, 0.991rem + 0.55vw, 1.4rem);
}

.price__list {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-weight: 500;
    padding: 1rem 0;
}

.price__item {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: flex;
    align-items: end;
    gap: 0.5rem;
    position: relative;
}

.price__category {
    width: fit-content;
    margin: 1rem auto 0 auto;
    font-size: clamp(1.3rem, 1.155rem + 0.73vw, 1.7rem);
    font-weight: 700;
    padding-left: 1em;
    position: relative;
}

.price__category::before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    background: var(--blue);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
    transform: rotate(45deg);
}

.price__dot {
    width: 0.6rem;
    height: 0.6rem;
    background: var(--blue);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
    transform: rotate(45deg);
}

.price__name {
    white-space: nowrap;
    /* padding-left: 1em; */
    font-size: clamp(1.1rem, 0.991rem + 0.55vw, 1.4rem);
}

.price__price {
    white-space: nowrap;
    font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem);
}

/* ← ドット部分はここ！ */
.price__line {
    flex: 1;
    background: radial-gradient(circle, #000 1px, transparent 1px) repeat-x 0 50% / 8px 8px;
    height: clamp(1.2rem, 1.127rem + 0.36vw, 1.4rem);
}


/* お問い合わせ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.contact__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--clump2remTo4rem) 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--clump2remTo4rem);
    align-items: center;
}

.contact__tel {
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact__tel a {
    color: var(--red);
    font-size: 2rem;
}

/* form＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.contact__form {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: var(--base__color2);
    padding: var(--clump2remTo4rem) 1rem;
    border-radius: 1rem;
    box-shadow: var(--box__shadow);
}

.form__inner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
}

.contact__form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 700;
}

.required {
    color: var(--red);
    font-size: 0.8rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--heavy__base);
    background: var(--white);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

select {
    appearance: none;
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--heavy__base);
    border-radius: 8px;
    background: var(--white);
    outline: none;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

/* カレンダー＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.calendar__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--clump1remTo2rem);
    padding-bottom: 0.2em;
}

.calendar__title {
    position: relative;
}

.calendar__title::after {
    content: "";
    width: 110%;
    height: 0.1em;
    background: var(--red);
    position: absolute;
    bottom: -0.2em;
    left: 50%;
    transform: translateX(-50%);
}

#calendar {
    width: 100%;
    margin: 0 auto;
}

.fc-daygrid-day:hover {
    cursor: pointer;
}

.fc .fc-toolbar-title {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
}

.slot-list {
    width: 100%;
    margin: 0 auto;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.slot-list ul {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.sunday {
    color: var(--red) !important;
}

.saturday {
    color: var(--light__blue) !important;
}

.holiday {
    color: var(--red) !important;
}

/* 予約時間スロット */

.slot-btn {
    width: fit-content;
    padding: 0.2em 0.5em;
    border-radius: 0.2em;
}

.is-disabled {
    background: var(--heavy__base);
}

.is-reserved {
    background: var(--heavy__base);
}

.is-available {
    background: var(--green);
    box-shadow: var(--box__shadow);
}



.submit {
    width: fit-content;
    margin: 0 auto;
    padding: 0.2em 1em;
    font-size: 1.4rem;
    background: var(--red);
    color: var(--white);
    border-radius: 2em;
    box-shadow: var(--box__shadow);
    transition: all .3s;
}

.submit:hover {
    background: var(--white);
    color: var(--red);
    box-shadow: 0px 0px 10px var(--red);
}

/* disabled状態 */
.submit:disabled {
    background: #ccc;
    color: #888;
    box-shadow: none;
    cursor: not-allowed;
    opacity: .7;
}

/* disabled時はhover効かせない */
.submit:disabled:hover {
    background: #ccc;
    color: #888;
    box-shadow: none;
}

/* お客様の声＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.hr__style2 {
    width: 100%;
    border: 0;
    height: 40px;
    background-image: url('../images/review__hr1.webp');
    background-position: center center;
    background-size: cover;
}

.review {
    width: 100%;
    background: url(../images/review__bg.webp) no-repeat center center;
    background-size: cover;
    padding: 350px 1rem 200px 1rem;
    position: relative;
    overflow: hidden;
}

.review::before {
    height: 500px;
    background: url('../images/review__bg1.webp') no-repeat center center;
    top: -200px;
    left: 0;
}

.review::after {
    height: 500px;
    background: url('../images/review__bg2.webp') no-repeat top center;
    bottom: -100px;
    left: 0;
}

.review::before,
.review::after {
    content: "";
    width: 100%;
    background-size: cover;
    position: absolute;
    opacity: 0;
    z-index: 1;
    transition: all 1s ease-in-out;
}

/* アニメーション */
.review.is-active::before,
.review.is-active::after {
    opacity: 1;
}

.review.is-active::before {
    top: 0;
    left: 0;
}

.review.is-active::after {
    bottom: 0;
    left: 0;
}

.review__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.review__items {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--clump2remTo4rem) 0;
    display: flex;
    flex-direction: column;
    gap: var(--clump2remTo4rem);
}

.review__item {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: var(--clump2remTo4rem);
}

.review__item__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--clump1remTo2rem);
}

.review__item__image {
    background: var(--base__color2);
    border-radius: 100%;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    max-width: 200px;
}

.review__hr {
    width: 80%;
    border: 0;
    height: 30px;
    background-image: url('../images/review__item__hr.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    transform: translateX(15%)
}


.hr__style3 {
    width: 100%;
    border: 0;
    height: 40px;
    background-image: url('../images/review__hr2.webp');
    background-position: center center;
    background-size: cover;
}

/* お守り＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.amulet {
    width: 100%;
    padding: var(--clump2remTo4rem) 1rem;
    background: url(../images/summary__bg.webp) no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--clump2remTo4rem);
}

.amulet__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--clump2remTo4rem);
    align-items: center;
}

.amulet__items {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.amulet__item {
    width: 100%;
    max-width: calc(500px - 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.amulet__item img {
    width: 100%;
    border-radius: 1rem;
}

.other__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* footer＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

footer {
    width: 100%;
    padding: var(--clump1remTo2rem) 1rem;
    background: url(../images/footer__bg.webp) no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

footer::before {
    background: url(../images/footer__bg1.webp) no-repeat top left;
    top: 0;
    left: 0;
}

footer::after {
    background: url(../images/footer__bg2.webp) no-repeat bottom right;
    bottom: 0;
    right: 0;
}

footer::before,
footer::after {
    content: "";
    width: auto;
    height: 100%;
    max-width: 20%;
    aspect-ratio: 1/1;
    background-size: 100%;
    position: absolute;
    z-index: 1;
}

.footer__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--clump1remTo2rem);
    position: relative;
    z-index: 2;
}

.footer__logo {
    width: 100%;
    max-width: 180px;
    background: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 1rem;
}

.footer__inner__wrap {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--clump2remTo4rem);
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__info p {
    font-size: 1.2rem;
    line-height: 1em;
}

.footer__info iframe {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 16/9;
}

.footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__nav ul li {
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    font-size: 1.2rem;
}

.footer__nav ul li a {
    display: block;
    padding: 0.2em 0.5em;
    position: relative;
    z-index: 2;
}

/* 背景のアニメーション部分 */
.footer__nav ul li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--red);
    transition: width 0.3s ease-in-out;
    z-index: 1;
}

/* ホバー時に左→右に広がる */
.footer__nav ul li:hover::before {
    width: 100%;
}

.footer__nav ul li:hover {
    color: var(--white);
}

/* スクロールアップ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.scroll__up__button {
    width: clamp(3rem, 2.636rem + 1.82vw, 4rem);
    height: clamp(3rem, 2.636rem + 1.82vw, 4rem);
    border-radius: 3rem;
    background: var(--blue);
    box-shadow: var(--box__shadow);
    opacity: 0.8;
    position: fixed;
    bottom: var(--clump1remTo2rem);
    right: var(--clump1remTo2rem);
    z-index: 1000;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.scroll__up__button i {
    color: var(--white);
    font-size: clamp(2.2rem, 1.909rem + 1.45vw, 3rem);
}


/* レスポンシブ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
@media screen and (max-width: 850px) {

    .pc__hidden {
        display: inline-block;
    }

    .sp__hidden {
        display: none;
    }


    .header__inner {
        height: 70px;
        justify-content: center;
    }

    .header__inner img {
        height: 60px;
    }

    .header__nav {
        display: none;
    }

    main {
        padding-top: 70px;
    }

    /* どんなお悩みでも */

    .summary__list__first {
        display: flex;
        gap: 2rem 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .summary__list__first li {
        width: 100%;
        max-width: 250px;
        display: flex;
        justify-content: center;
    }

    .summary__list__first__text {
        width: 80%;
        padding: 0.5em 2em;
        display: inline-block;
        white-space: nowrap;
    }

    .summary__list li .caret__icon {
        right: 0.1em;
    }


    /* 法真寺について */
    .about {
        padding: 1rem 1rem 25% 1rem;
    }

    .about::before,
    .about::after {
        width: 40%;
    }

    /* ひとりで悩んで */

    .consultation {
        background: url('../images/bg1__sp.webp') no-repeat center center;
        background-size: 100% 100%;
        padding-top: 40%;
    }

    .consultation::before,
    .consultation::after {
        width: 40%;
    }

    /* 流れ */

    .flow__list {
        padding: 2rem 0 2rem calc(6% + 1.5rem);
    }

    .flow__list::before {
        width: 6%;
    }

    /* レビュー */

    .review {
        background-size: 100%;
        background-repeat: repeat-y;
        padding-top: 30%;
        padding-bottom: 20%
    }

    .review::before {
        height: 32vw;
    }

    .review::after {
        height: 70vw;
    }

    .review__item {
        display: flex;
        flex-direction: column;
        gap: var(--clump1remTo2rem);
    }

    .review__hr {
        width: 100%;
        transform: translateX(0);
    }

    /* footer */

    footer {
        padding: 100px 1rem 50% 1rem;
    }

    footer::before,
    footer::after {
        max-width: 50%;
    }

    .footer__logo {
        width: 160px;
    }

    .footer__inner__wrap {
        flex-direction: column;
    }
}