/* --------------------
 Family bath - spa
-------------------- */
.com-page-head {
    background-image: url(../../images/pages/spa/spa-page-head.webp);
}

.spa__overview {
    margin: 0 0 120px;
    overflow-x: clip;
    padding: 12px 0 0;
}

@media (min-width: 768px) {
    .spa__overview {
        margin: 0 0 160px;
        padding: 20px 0 0;
    }
}

.spa__overview-container {
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .spa__overview-container {
        padding: 0 30px;
    }
}

.spa__overview__title {
    display: block;
    font-size: var(--fs24);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.05;
    margin: 0 0 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .spa__overview__title {
        font-size: var(--fs28);
        margin: 0 0 24px;
    }
}

.spa__overview__subtitle {
    color: var(--color-theme);
    font-size: var(--fs14);
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.4;
    margin: 0 0 80px;
    position: relative;
    text-align: center;
    z-index: 1;
}

@media (min-width: 768px) {
    .spa__overview__subtitle {
        font-size: var(--fs18);
        margin: 0 0 160px;
    }
}

.spa__overview__content {
    margin: 0 auto 0;
    max-width: 900px;
    padding: 0 0 240px;
    position: relative;
    z-index: 0;
}

@media (min-width: 768px) {
    .spa__overview__content {
        margin: 0 auto 160px;
        padding: 0;
    }
}

.spa__overview__content p {
    font-size: var(--fs14);
    letter-spacing: 0.1em;
    line-height: 2;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .spa__overview__content p {
        font-size: var(--fs18);
        line-height: 2.5;
    }
}

.spa__overview__content:after {
    background-image: url(../../images/pages/spa/spa-overview.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0;
    content: "";
    height: 400px;
    left: 50%;
    pointer-events: none;
    position: absolute;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    width: 400px;
    z-index: 0;
}

@media (min-width: 768px) {
    .spa__overview__content:after {
        bottom: auto;
        left: auto;
        right: -40px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (min-width: 992px) {
    .spa__overview__content:after {
        height: 550px;
        right: -60px;
        width: 550px;
    }
}

.spa__overview__menu {
    align-items: stretch;
    display: flex;
    flex-flow: row nowrap;
    gap: 60px 12px;
    margin: 0 auto 80px;
    max-width: 800px;
    width: 100%;
}

@media (min-width: 768px) {
    .spa__overview__menu {
        gap: 60px 40px;
        margin: 0 auto 120px;
    }
}

.spa__overview__menu__item {
    position: relative;
    width: calc(33.33333% - 8px);
}

@media (min-width: 768px) {
    .spa__overview__menu__item {
        width: calc(33.33333% - 26.66667px);
    }
}

.spa__overview__menu__item__link {
    align-items: center;
    border: 2px solid #9babb5;
    border-radius: 15px;
    color: inherit;
    display: flex;
    flex-flow: row nowrap;
    height: 100%;
    justify-content: center;
    padding: 8px;
    text-decoration: none;
    transition: background-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 100%;
}

@media (min-width: 768px) {
    .spa__overview__menu__item__link {
        padding: 20px 16px;
    }
}

.spa__overview__menu__item__link__title {
    font-size: var(--fs16);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .spa__overview__menu__item__link__title {
        font-size: var(--fs24);
        gap: 16px;
    }
}

.spa__overview__menu__item__link.-active {
    background-color: #d9dfe3;
}

.spa__overview__menu__item__link:focus {
    background-color: #d9dfe3;
}

@media (hover: hover) and (pointer: fine) {
    .spa__overview__menu__item__link:hover {
        background-color: #d9dfe3;
    }
}

.spa__main {
    margin: 0 0 80px;
}

@media (min-width: 768px) {
    .spa__main {
        margin: 0 0 100px;
    }
}

.spa__main__head {
    margin: 0 0 20px;
}

@media (min-width: 768px) {
    .spa__main__head {
        margin: 0 0 80px;
    }
}

.spa__main__head-container {
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 16px;
    position: relative;
    width: 100%;
    z-index: 2;
}

@media (min-width: 768px) {
    .spa__main__head-container {
        padding: 0 30px;
    }
}

.spa__main__head__title__en {
    display: block;
    font-family: var(--ff-brandon-grotesque);
    font-size: var(--fs32);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.05;
    margin: 0 0 8px;
    text-align: center;
}

@media (min-width: 768px) {
    .spa__main__head__title__en {
        font-size: 2.625rem;
        margin: 0 0 12px;
    }
}

.spa__main__head__title__en ._small {
    font-size: 60%;
    letter-spacing: 0.05em;
}

.spa__main__head__title__ja {
    display: block;
    font-size: var(--fs10);
    letter-spacing: 0.18em;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .spa__main__head__title__ja {
        font-size: var(--fs14);
    }
}

.spa__main__list {
    container-type: inline-size;
    overflow-x: clip;
    padding: 60px 0 120px;
    position: relative;
}

@media (min-width: 768px) {
    .spa__main__list {
        padding: 0 0 220px;
    }
}

.spa__main__list:before {
    background-color: #ffffff;
    content: "";
    display: block;
    height: 140px;
    left: -1px;
    -webkit-mask-image: url(../../images/commons/com-bg-mask-top.svg);
    mask-image: url(../../images/commons/com-bg-mask-top.svg);
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: auto 100%;
    mask-size: auto 100%;
    pointer-events: none;
    position: absolute;
    right: -1px;
    top: 0;
    transform: translateY(-2px);
    width: auto;
    z-index: 1;
}

@media (min-width: 768px) {
    .spa__main__list:before {
        top: 0px;
    }
}

@container (min-width: 1200px) {
    .spa__main__list:before {
        aspect-ratio: 1200/140;
        height: auto;
        -webkit-mask-size: cover;
        mask-size: cover;
    }
}

.spa__main__list:after {
    background-color: #ffffff;
    bottom: 0;
    content: "";
    display: block;
    height: 140px;
    left: -1px;
    -webkit-mask-image: url(../../images/commons/com-bg-mask-bottom.svg);
    mask-image: url(../../images/commons/com-bg-mask-bottom.svg);
    -webkit-mask-position: center top;
    mask-position: center top;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: auto 100%;
    mask-size: auto 100%;
    pointer-events: none;
    position: absolute;
    right: -1px;
    top: auto;
    transform: translateY(2px);
    width: auto;
    z-index: 1;
}

@container (min-width: 1200px) {
    .spa__main__list:after {
        aspect-ratio: 1200/140;
        height: auto;
        -webkit-mask-size: cover;
        mask-size: cover;
    }
}

.spa__main__list__bg {
    background-color: #345569;
    bottom: 0;
    display: block;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

@media (min-width: 768px) {
    .spa__main__list__bg {
        top: 0px;
    }
}

.spa__main__list__bg:before {
    background-image: url(../../images/commons/com-bg-long.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 2010px 6440px;
    bottom: 0;
    content: "";
    display: block;
    left: 0;
    -webkit-mask-image: linear-gradient(-120deg, rgba(72, 102, 120, 0) 0%, rgba(72, 102, 120, 0) 20%, #486678 100%);
    mask-image: linear-gradient(-120deg, rgba(72, 102, 120, 0) 0%, rgba(72, 102, 120, 0) 20%, #486678 100%);
    position: absolute;
    right: 170px;
    top: 0;
    z-index: 0;
}

.spa__main__list-container {
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 16px;
    position: relative;
    width: 100%;
    z-index: 2;
}

@media (min-width: 768px) {
    .spa__main__list-container {
        padding: 0 30px;
    }
}

.spa__main__list__item {
    align-items: center;
    display: flex;
    flex-flow: column nowrap;
    gap: 20px 0;
    margin: 0 0 80px;
}

@media (min-width: 768px) {
    .spa__main__list__item {
        flex-direction: row;
        margin: 0 0 120px;
    }
}

.spa__main__list__item:last-child {
    margin-bottom: 0;
}

.spa__main__list__item__fig {
    width: 100%;
}

@media (min-width: 768px) {
    .spa__main__list__item__fig {
        flex-grow: 1;
        flex-shrink: 1;
        width: auto;
    }
}

.spa__main__list__item__contents {
    width: 100%;
}

@media (min-width: 768px) {
    .spa__main__list__item__contents {
        flex-grow: 0;
        flex-shrink: 0;
        width: 240px;
    }
}

@media (min-width: 992px) {
    .spa__main__list__item__contents {
        width: 280px;
    }
}

.spa__main__list__item__contents__title {
    margin: 0;
    width: -webkit-fit-content;
    width: fit-content;
}

.spa__main__list__item__contents__title__en {
    color: #b0a39f;
    display: block;
    font-family: var(--ff-brandon-grotesque);
    font-size: var(--fs24);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.05;
    margin: 0 0 8px;
}

@media (min-width: 768px) {
    .spa__main__list__item__contents__title__en {
        font-size: var(--fs35);
    }
}

.spa__main__list__item__contents__title__ja {
    color: #b0a39f;
    display: block;
    font-size: var(--fs12);
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin: 0;
}

@media (min-width: 768px) {
    .spa__main__list__item__contents__title__ja {
        font-size: var(--fs14);
    }
}

.spa__menu {
    margin: 0 0 160px;
}

@media (min-width: 768px) {
    .spa__menu {
        margin: 0 0 200px;
    }
}

.spa__menu-container {
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .spa__menu-container {
        padding: 0 30px;
    }
}

.spa__menu__title {
    color: var(--color-theme);
    font-size: var(--fs20);
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.4;
    margin: 0 0 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .spa__menu__title {
        font-size: var(--fs24);
        margin: 0 0 30px;
    }
}

.spa__menu__list {
    align-items: stretch;
    display: flex;
    flex-flow: row nowrap;
    gap: 60px 12px;
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
}

@media (min-width: 768px) {
    .spa__menu__list {
        gap: 60px 40px;
    }
}

.spa__menu__list__item {
    position: relative;
    width: calc(33.33333% - 8px);
}

@media (min-width: 768px) {
    .spa__menu__list__item {
        width: calc(33.33333% - 26.66667px);
    }
}

.spa__menu__list__item:after {
    background-image: url(../../images/icons/icon-navy-angle-bottom.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -36px;
    content: "";
    display: block;
    height: 14px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 22px;
}

.spa__menu__list__item__link {
    align-items: center;
    border: 2px solid #9babb5;
    border-radius: 15px;
    color: inherit;
    display: flex;
    flex-flow: row nowrap;
    height: 100%;
    justify-content: center;
    padding: 8px;
    text-decoration: none;
    transition: background-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 100%;
}

@media (min-width: 768px) {
    .spa__menu__list__item__link {
        padding: 20px 16px;
    }
}

.spa__menu__list__item__link__title {
    font-size: var(--fs16);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .spa__menu__list__item__link__title {
        font-size: var(--fs24);
        gap: 16px;
    }
}

.spa__menu__list__item__link.-active {
    background-color: #d9dfe3;
}

.spa__menu__list__item__link:focus {
    background-color: #d9dfe3;
}

@media (hover: hover) and (pointer: fine) {
    .spa__menu__list__item__link:hover {
        background-color: #d9dfe3;
    }
}

.spa__detail {
    margin: 0 0 160px;
}

@media (min-width: 768px) {
    .spa__detail {
        margin: 0 0 200px;
    }
}

.spa__detail-container {
    margin: 0 auto;
    max-width: 740px;
    padding: 0 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .spa__detail-container {
        padding: 0 30px;
    }
}

.spa__detail__table-wrapper {
    margin: 0 0 60px;
}

@media (min-width: 768px) {
    .spa__detail__table-wrapper {
        margin: 0 0 80px;
    }
}

.spa__detail__table {
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.spa__detail__table > tbody > tr > th, .spa__detail__table > tbody > tr > td {
    font-size: var(--fs12);
    letter-spacing: 0.1em;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
    width: auto;
}

@media (min-width: 768px) {
    .spa__detail__table > tbody > tr > th, .spa__detail__table > tbody > tr > td {
        font-size: var(--fs14);
    }
}

.spa__detail__table > tbody > tr > th {
    border-bottom: 1px solid var(--color-theme);
    font-weight: 500;
    padding: 20px 10px 20px 0;
    width: 100px;
}

@media (min-width: 768px) {
    .spa__detail__table > tbody > tr > th {
        padding: 25px 10px 25px 0;
        width: 180px;
    }
}

.spa__detail__table > tbody > tr > td {
    border-bottom: 1px solid rgba(var(--color-theme-rgb), 0.2);
    padding: 20px 0 20px 12px;
    word-break: break-all;
}

@media (min-width: 768px) {
    .spa__detail__table > tbody > tr > td {
        padding: 25px 0 25px 30px;
    }
}

.spa__detail__table > tbody > tr > td p {
    margin: 0 0 1.25em;
}

.spa__detail__table > tbody > tr > td p:last-child {
    margin-bottom: 0;
}

.spa__detail__table > tbody > tr:first-child > th {
    border-top: 1px solid var(--color-theme);
}

.spa__detail__table > tbody > tr:first-child > td {
    border-top: 1px solid rgba(var(--color-theme-rgb), 0.2);
}