html {
    font-size: 18px;
    line-height: 140%;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
}
@media screen and (max-width: 800px) {
    html {
        font-size: 16px;
    }
}
body {
    background: #FFE4E4;
}
main {
    position: relative;
    height: 100vh;
}
main.lightbox-open {
    overflow-y: hidden;
}
.hidden {
    opacity: 0;
    transition: .3s;
    pointer-events: none;
}
.disabled {
    opacity: 0.3;
    pointer-events: none;
}
.service_logo {
    width: 80%;
    margin: auto;
}
.service_logo img {
    width: 100%;
    height: auto;
}
.menu-button-wrap {
    max-width: 600px;
    width: 100%;
    height: 64px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
}
.menu-button {
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background-color: #E21F1F;
    border-radius: 100vh;
    filter: drop-shadow(0px 2px 8px rgba(0,0,0,0.14));
}
.menu-button::before {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-image: url(/storage/icon/menu_icon.png);
}
.spsize-mainarea {
    display: flex;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    height: 94dvh;
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 24px 24px 0px 0px;
    filter: drop-shadow(0px 4px 20px rgba(0,0,0,0.2));
    overflow-x: scroll;
}
.firstview {
    position: relative;
    height: 32vh;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}
.fv_back_circle {
    position: absolute;
    width: 200%;
    height: auto;
    border-radius: 100vh;
    overflow: hidden;
    background: #E21F1F;
    opacity: .3;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    z-index: -1;
}
.fv_back_circle::before {
    content: "";
    display: block;
    padding-top: 100%;
}
.fv_illust {
    position: absolute;
    height: 90%;
    width: auto;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}
.contents {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 92%;
    margin: auto;
    padding: 40px 0px;
}
.header_menu {
    position: absolute;
    display: none;
    padding: 60px 5%;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    background: white;
    z-index: 999999;
    flex-direction: column;
    gap: 32px;
}
.head-txt {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.head-txt-top {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sub-txt-m {
    font-size: 1rem;
    text-align: center;
    line-height: 140%;
    font-weight: 300;
}
.title-txt-xl {
    font-size: 2rem;
    font-weight: 700;
    line-height: 140%;
    text-align: center;
}
@media screen and (max-width: 800px) {
    .title-txt-xl {
        font-size: 1.6rem;
    }
}
.area-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 16px;
}
.area-menu .arealist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: Calc( (100% - 16px)/2 );
}
.area-menu .arealist .areaname {
    position: relative;
    padding-left: 22px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 140%;
}
@media screen and (max-width: 800px) {
    .area-menu .arealist .areaname {
        font-size: 0.8rem;
    }
}
.area-menu .arealist .areaname::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
    width: 18px;
    height: 18px;
    background-image: url(/storage/location_icon.png);
    background-size: contain;
}
.area-menu .arealist a {
    background: #F6F6F6;
    padding: 16px 12px;
    line-height: 140%;
}
.area-menu .arealist a li {
    display: flex;
    justify-content: space-between;
    -webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
}
.countLabel {
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    padding: 4px 8px;
    background: #ABABAB;
    border-radius: 100vh;
    line-height: 100%;
    margin: auto 0px;
}
footer {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #262626;
    color: white;
    padding: 60px 4%;
}
.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 140%;
}
footer .desc {
    font-size: 1rem;
    line-height: 140%;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    font-size: 0.875rem;
    color: white;
    opacity: .6;
}
.copyright {
    text-align: center;
    font-size: 0.875rem;
    line-height: 140%;
}
.link-button {
    opacity: .6;
    cursor: pointer;
}
.link-button div {
    position: relative;
    padding-left: 26px; /* アイコンのスペースを確保 */
    font-size: 1rem;
    line-height: 140%;
}

/* 登録ボタンのアイコン */
.link-button.registration div::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
    background-image: url(/storage/registration_icon.png);
    background-size: contain;
}

/* フィルターボタンのアイコン */
.link-button.filter div::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
    background-image: url(/storage/filter_icon.png);
    background-size: contain;
}

/* フィルターボタンのアクティブ状態 */
.link-button.filter.active {
    font-weight: bold;
    opacity: .8;
}

/* フィルターボタンのアクティブ状態で文言を切り替える */
.link-button.filter.active div::after {
    content: "フィルター解除"; /* 文言を変更 */
    position: absolute;
    left: 26px; /* アイコン右側に配置 */
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold; /* 強調表示 */
}

/* 通常時の文言 */
.link-button.filter div::after {
    content: "フィルター"; /* 初期状態の文言 */
    position: absolute;
    left: 26px; /* アイコン右側に配置 */
    top: 50%;
    transform: translateY(-50%);
}
.h2_style {
    position: relative;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 16px 0px 16px 34px;
    border-bottom: 2px solid #E21F1F;
}
.h2_style.profile::before {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    background-image: url(/storage/icon/therapist_icon.svg);
}
.h2_style.review::before {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    background-image: url(/storage/icon/review_icon.svg);
}
.therapist_list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 16px;
}
.therapist_list li {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    width: Calc( (100% / 2) - 8px );
    height: auto;
}
.therapist_list li .thumbnail {
    position: relative;
    width: 100%;
    height: auto;
}
.therapist_list li .thumbnail::before {
    content: "";
    padding-top: 100%;
    display: block;
    background: rgba(0,0,0,0.1);
}
.therapist_list li .thumbnail img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    object-fit: cover;
}
.therapist_list li .thumbnail .label {
    position: absolute;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    bottom: 0px;
    left: 0px;
    list-style: 100%;
    padding: 8px 12px;
    background: #E21F1F;
    border-radius: 0px 4px 0px 0px;
}
.profile_text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.profile_text .profile {
    font-size: 0.9rem;
}
.profile-tag {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.profile-tag li {
    font-size: 0.8rem;
    color: white;
    padding: 6px;
    border-radius: 6px;
    background: rgba(0,0,0,0.8);
    width: auto;
    line-height: 100%;
}
.profile_text .therapist_name {
    font-size: 1.25rem;
    line-height: 140%;
    font-weight: bold;
}
.profile_label {
    width: 90px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    padding: 6px 0px;
    color: white;
    background: #8B8B8B;
    border-radius: 4px;
}
.profile_value {
    line-height: 140%;
    overflow-wrap: break-word;
}
.more_buttom {
    width: 100%;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    padding: 13px 16px;
    border-radius: 4px;
    background: #585858;
}
.more_buttom div {
    position: relative;
    text-align: center;
    padding-right: 18px;
    font-size: 1rem;
}
.more_buttom div::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    background-image: url(/storage/right_arrow_wh.png);
    background-size: contain;
}
.main_contents {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
/* セラピスト詳細 */
.profile_image_block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.profile_image {
    width: 100%;
    height: auto;
    position: relative;
}
.profile_image .label {
    position: absolute;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    bottom: 0px;
    left: 0px;
    list-style: 100%;
    padding: 8px 12px;
    background: #E21F1F;
    border-radius: 0px 4px 0px 0px;
}
.profile_image::before {
    content: "";
    display: block;
    padding-top: 100%;
    background: rgba(0,0,0,0.1);
}
.profile_image img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumbnail_gallery {
    display: flex;
    gap: 8px;
    width: 100%;
}
.thumbnail_gallery li {
    width: calc( (100% / 4) - 6px );
    height: auto;
    position: relative;
    flex-shrink: 0;
}
.thumbnail_gallery li::before {
    content: "";
    display: block;
    padding-top: 100%;
    background: rgba(0,0,0,0.1);
}
.thumbnail_gallery li img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile_block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.profile_block .profile_txt {
    font-size: 1.25rem;
    line-height: 100%;
}
.profile_block .therapistName {
    font-size: 2rem;
    line-height: 100%;
    font-weight: bold;
}
.profile_block .review {
    font-size: 1.25rem;
    line-height: 100%;
}
.profile_block .review span {
    color: rgba(0,0,0,0.5);
}
.profile_block .review span.star {
    color: #F8C200;
}
.notification {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.notification .notification_button {
    padding: 18px 0px;
    border: 1px solid black;
    border-radius: 4px;
    text-align: center;
}
.notification .notification_button p {
    position: relative;
    display: inline-block;
    padding-left: 26px;
    font-weight: bold;
    line-height: 100%;
}
.notification .notification_button p::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background-image: url(/storage/icon/mail_icon.png);
}
.notice {
    font-size: 0.8rem;
    color: rgba(0,0,0,.4);
    line-height: 140%;
}
.h2_under_notice {
    margin-top: -20px;
}
.review {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
}
.review li {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 256px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.2);
    flex-shrink: 0;;
}
.review li .name_set {
    display: flex;
    flex-direction: column;
    gap: 8px;
    -webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
}
.review li .customerName {
    line-height: 100%;
}
.review li .profile {
    font-size: 0.8rem;
    line-height: 100%;
    padding: 8px 6px;
    border-radius: 4px;
    background: rgba(0,0,0,0.1);
}
.review li .reviewComment {
    letter-spacing: 0.03em;
}
.reserve_button {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 100%;
    padding: 16px;
    border-radius: 100vh;
    background-color: #26C922;
    z-index: 99;
    max-width: 560px;
    width: 90%;
    filter: drop-shadow(0px 4px 2px rgba(0,0,0,0.4));
}
.reserve_button::before {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    background-image: url(/storage/right_arrow_wh.png);
    background-size: contain;
}
.reserve_button p {
    padding-right: 36px;
    text-align: center;
    color: white;
    line-height: 100%;
    font-size: 1.5rem;
    font-weight: bold;
}
.undo_button {
    position: relative;
    font-weight: bold;
    color: rgba(0,0,0,0.6);
    line-height: 100%;
    padding-left: 24px;
}
.undo_button::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(/storage/icon/undo_icon.png);
    opacity: .6;
}
/*セラピストギャラリー*/
.profile_image_block {
    text-align: center;
}

.profile_image .top_image img {
    width: 100%; /* 親要素の幅に合わせる */
    height: 100%; /* 親要素の高さに合わせる */
    object-fit: cover; /* 画像を切り抜いてフィットさせる */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail_gallery {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail_gallery li {
    display: inline-block;
}

.thumbnail_gallery img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail_gallery img:hover {
    border-color: #007BFF;
}

/* ライトボックスのスタイル */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999; /* 最前面に表示 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* ライトボックス内のスクロール無効化 */
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

/* 閉じるボタンのスタイル */
.lightbox .close {
    position: fixed;
    top: 20px; /* 画面上からの位置 */
    left: 50%; /* 中央に配置 */
    transform: translateX(-50%); /* 中央揃え */
    color: white;
    font-size: 20px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 1000; /* 画像よりも上に配置 */
}

/* コンテンツ全体のスクロール無効化 */
.contents.lightbox-open {
    overflow: hidden; /* コンテンツ部分のスクロールを無効化 */
}

.header_sns a {
    display: flex;
    gap: 8px;
    -webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
}
.header_sns li {
    width: 100%;
    border-radius: 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 20px;
}
.header_sns li.x {
    background: #202020;
}
.header_sns li img {
    width: 40px;
    height: 40px;
}
.header_sns li p {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: auto;
}

/* Filter */
.filter-modal {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform:translate(-50%,100%);
    width: 100%;
    max-width: 600px;
    background-color: white;
    border-radius: 32px 32px 0px 0px;
    filter: drop-shadow(0px -4px 10px rgba(0,0,0,0.12));
    padding: 40px 32px;
    z-index: 999999;
    transition: .3s;
}
.filter-modal.view {
    transform:translate(-50%,0%);
    transition: .3s;
}
.filter-modal .close-button {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    background-image: url(/storage/icon/close_icon.png);
    background-size: contain;
    opacity: .4;
    cursor: pointer;
}
.filter-modal-title {
    text-align: center;
    font-size: 1.25rem;
    line-height: 100%;
    font-weight: bold;
}
.filter-types {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.filter-type {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.filter-type-label {
    font-size: 0.8rem;
    line-height: 100%;
}
.filter-type ul {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.filter-type ul li {
    padding: 4px 6px;
    border-radius: 6px;
    background: rgba(0,0,0,0.2);
    color: rgba(255,255,255,0.8);
    line-height: 110%;
    cursor: pointer;
}
.filter-type ul li.active {
    background: #BB0909;
    color: white;
    font-weight: bold;
}
.filter-button {
    width: 100%;
    background: #E21F1F;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    line-height: 110%;
    text-align: center;
    padding: 12px 16px;
}
.filtered-item {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.filtered-item li {
    font-size: 0.8rem;
    color: white;
    padding: 6px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.8);
    width: auto;
    line-height: 100%;
}
.filter-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nothit-note {
    display: none;
    padding: 24px;
    border-radius: 16px;
    flex-direction: column;
    gap: 16px;
    background: rgba(226,31,31,0.08);
}
.nothit-note.active {
    display: flex;
}
.nothit-note img {
    width: 40px;
    height: 40px;
    margin: auto;
}
.nothit-note p {
    color: #E21F1F;
}
