@charset "utf-8";

/* section-hero */
.section-hero {
    position: relative;
    height: 800px;
    background-image: url("../img/front-page/top-hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__wrap {
    position: relative;
    width: 100%;
    height: 33vh;
}

.hero__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    line-height: 1.6;
    text-align: center;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: min(max(2.5vw, 14px), 40px);
    font-weight: 500;
    letter-spacing: 2px;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}
/* heroここまで */

/* section-information */
.section-information {
    padding: 0 0 var(--section-padding) 0;
}
.section-information
.information__container {
    max-width: 1200px;
    margin-left: auto;
}

.information__wrap {
    display: flex;
    gap: 64px;
}

.information__news {
    width: 45%;
    padding: 40px;
}

.information__days {
    width: 55%;
}

.section-information .news__heading {
    display: flex;
    justify-content: space-between;
}

.news__button {
    display: inline-flex;
    align-items: center;
}

.news__list {
    margin-top: 40px;
    border-top: 1px solid #000;
}

.news__item {
    padding: 24px 0;
    border-bottom: 1px solid #000;
}

.news__link {
    position: relative;
    display: flex;
    gap: 16px;
    padding-right: 80px;
}

.news__link .news__arrow {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: var(--main-color);
}

.news__link .news__arrow::before {
    top: 10px;
    left: 8px;
    width: 10px;
    height: 10px;
    border-color: #fff;
}

.news__name {
    color: var(--main-color);
}

/* section-visit */
.section-visit {
    background-color: var(--bg-color);
}

.visit__container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.visit__wrap {
    display: flex;
    gap: 64px;
}

.visit__item {
    background-color: #fff;
    border-radius: 16px;
}

.visit__reserve {
    width: 40%;
    padding: 40px;
}

.visit__title {
    margin-bottom: 32px;
    text-align: center;
}

.visit__access {
    width: 60%;
}

.visit__access-inner {
    display: flex;
}

.visit__access-info {
    width: 50%;
    padding: 40px;
}

.visit__access-map {
    width: 50%;
}

.visit__zipcode {
    margin: 40px 0 24px 0;
    text-align: center;
}

.visit__address {
    margin-bottom: 24px;
    font-size: 24px;
    text-align: center;
    line-height: 2;
}

.visit__label {
    margin-bottom: 16px;
    padding: 8px 16px;
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
    background-color: var(--bg-color);
    border-radius: 8px;
}

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

/* section-mri */
.mri__contents {
    display: flex;
    align-items: center;
    padding: 40px;
    background-image: url("../img/front-page/top-mri-bg.jpg");
}

.mri__img {
    border-radius: 16px;
    vertical-align: top;
}

.mri__visual {
    width: 30%;
}

.mri__text {
    width: 70%;
    padding-left: 40px;
    line-height: 2;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 500;
    letter-spacing: 2px;
    color: #fff;
}

/* section-symptoms */
.symptoms__heading {
    margin-bottom: 32px;
    text-align: center;
}

.symptoms__heading-title {
    margin-bottom: 24px;
}

.symptoms__heading-title span {
    font-size: inherit;
}

.symptoms__list {
    display: flex;
    flex-wrap: wrap;
}

.symptoms__item {
    width: 33.333%;
    margin-bottom: 32px;
    padding: 8px;
}

.symptoms__img {
    width: auto;
    max-height: 120px;
}

.symptoms__link {
    position: relative;
    display: block;
    height: 100%;
    min-height: 200px;
    padding: 16px 16px 80px 16px;
    background-color: var(--bg-color);
    border-radius: 8px;
}

.symptoms__link .symptoms__arrow {
    content: "";
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background-color: var(--main-color);
    border-radius: 100vw;
}

.symptoms__link .symptoms__arrow::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 8px;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

.symptoms__icon {
    text-align: center;
}

.symptoms__name {
    margin-top: 16px;
    font-weight: 500;
}

/* section-cpap */
.cpap__wrap {
    position: relative;
    padding-left: 40px;
}

.cpap__intro {
    position: relative;
    background-color: var(--bg-color);
    border-radius: 8px;
}

.cpap__intro::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-image:
      linear-gradient(to left, rgba(255,255,255,0), rgba(228,237,247,1)),
      url('../img/front-page/cpap-bg.jpg');
    background-blend-mode: normal;
    background-size: cover;
    background-position: center;
    border-radius: 0 8px 8px 0;
    opacity: .8;
}

.cpap__desc {
    position: relative;
    z-index: 1;
    width: 50%;
    padding: 5% 0 5% 10%;
}

.cpap__title {
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.cpap__button {
    display: block;
    max-width: 400px;
    margin-top: 24px;
    padding: 16px 64px 16px 32px;
}

.cpap__button-text {
    font-size: 24px;
}

.cpap__heading {
    position: absolute;
    z-index: 1;
    top: -8%;
    left: 0;
}

.cpap__heading-text {
    padding: 16px 40px 16px 120px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    background-color: #fff;
    box-shadow: 0 0 24px rgba(169, 215, 237, 0.4);
    border-radius: 100vw;
}

.cpap__heading-large {
    font-size: 24px;
}

.cpap__heading-icon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 96px;
    height: 96px;
    padding: 24px;
    background-color: var(--main-color);
    border-radius: 100vw;
}

/* section-examination */
.examination__list {
    display: flex;
    flex-wrap: wrap;
}

.examination__item {
    width: 25%;
    margin-bottom: 32px;
    padding: 8px;
}

.examination__img {
    width: auto;
    max-height: 120px;
}

.examination__link {
    position: relative;
    display: block;
    height: 100%;
    min-height: 200px;
    padding: 16px 16px 48px 16px;
    background-color: var(--bg-color);
    border-radius: 8px;
}

.examination__link .examination__arrow {
    content: "";
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background-color: var(--main-color);
    border-radius: 100vw;
}

.examination__link .examination__arrow::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 8px;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

.examination__icon {
    text-align: center;
}

.examination__name {
    margin-top: 16px;
    font-weight: 500;
}

/* section-features */
.features__wrap {
    position: relative;
}

.features__wrap::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 96px;
    right: 0;
    left: 0;
    width: 100vw;
    height: 360px;
    background-image: url("../img/front-page/features-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
    padding-top: 40px;
}

.features__cta {
    text-align: center;
}

.features__button {
    display: block;
    max-width: 320px;
    margin: 0 auto;
    padding: 16px 64px 16px 32px;
}

.features__card {
    position: relative;
    padding: 80px 24px;
    text-align: center;
    background-color: var(--bg-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.features__card-number {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    font-size: 24px;
    font-weight: 400;
    color: var(--main-color);
    background-color: var(--sub-color);
    border-radius: 100vw;
}

.features__card-title {
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.4;
}

.features__card-desc {
    line-height: 2;
}

/* section-greeting */
.greeting__wrap {
    display: flex;
}

.greeting__intro {
    width: 60%;
}

.greeting__visual {
    position: relative;
    width: 40%;
    padding-left: 80px;
}

.greeting__heading-title {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #555;
}

.greeting__text {
    line-height: 2;
    font-size: 1.2em;
    text-indent: 1em;
}

.greeting__button {
    display: block;
    max-width: 320px;
    padding: 16px 64px 16px 32px;
}

.greeting__visual-wrap {
    max-width: 320px;
    height: 100%;
    margin-left: auto;
}

.greeting__visual-img {
    height: 100%;
    object-fit: cover;
}

.greeting__visual-name {
    position: absolute;
    bottom: 24px;
    left: 20%;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 24px rgba(169, 215, 237, 0.4);
}

.greeting__visual-name-ja {
    display: inline-block;
    margin-right: 16px;
    font-size: 24px;
    letter-spacing: 2px;
}

.greeting__visual-name-en {
    display: inline-block;
    font-size: 14px;
    color: var(--main-color);
    letter-spacing: 2px;
}

.greeting__visual-position {
    margin-bottom: 8px;
}

/* section-news */
.section-news .news__item {
    padding: 24px 16px;
}

.section-news .news__link {
    gap: 40px;
}

/* section-links */
.links__wrap {
    display: flex;
    gap: 80px;
}

.links__item {
    width: 50%;
    padding: 40px 24px;
    text-align: center;
    background-color: var(--bg-color);
}

.links__title {
    font-size: 24px;
}

.links__button {
    margin: 0 auto;
}

/* section-payment */
.payment__wrap {
    display: flex;
    align-items: center;
    gap: 80px;
}

.payment__contents {
    padding: 40px 0;
    background-color: var(--bg-color);
}

.payment {
    display: flex;
    gap: 40px;
    width: 50%;
}

.payment__desc {
    width: 50%;
    color: var(--main-color);
}

.payment__method {
    position: relative;
    width: 50%;
}

.payment__title {
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 2px;
}

.payment__text {
    line-height: 2;
}

.payment__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background-color: #fff;
    box-shadow: 0 0 24px rgba(169, 215, 237, 0.4);
    border-radius: 100vw;
}

.payment__icon-img {
    width: 65%;
}

.payment__label {
    position: absolute;
    z-index: 0;
    top: -40%;
    left: -10%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    text-align: center;
    line-height: 1.2;
    color: #fff;
    background-color: var(--main-color);
    border-radius: 100vw;
}

.payment__cash .payment__label {
    font-size: 24px;
}

























.reserve__btn-wrap {
    text-align: center;
}

.reserve__btn {
    display: inline-flex;
    gap: 16px;
    padding: 8px 48px;
    border: 1px solid var(--main-color);
    border-radius: 16px;
}

.reserve__btn-icon {
    width: 40px;
    height: auto;
    fill: var(--main-color);
}

.reserve__btn-number {
    font-size: 32px;
    letter-spacing: 2px;
    color: var(--main-color);
}

.reserve__info {
    margin-top: 40px;
}

.reserve__info__item {
    display: flex;
    margin-bottom: 24px;
}

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

.reserve__info__term {
    width: 25%;
}

.reserve__info__desc {
    width: 75%;
}

/* section-slider */
.section-slider {
    overflow: hidden;
}

/* Element: slider__contents */
.slider__contents {
    display: flex;
    animation: slide 30s linear infinite;
    width: calc(250px * 20); /* 10枚 × 2セット × 250px */
}

/* Block: slider-item */
.slider-item {
    flex: 0 0 320px;
    margin-right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Element: slider-item__image */
.slider-item__image {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* アニメーション */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 10 - 20px * 10)); /* 10枚分移動 */
    }
}


@media screen and (max-width: 1024px) {
    .information__wrap {
        flex-wrap: wrap;
    }

    .information__news {
        width: 100%;
    }

    .information__days {
        width: 100%;
    }

    .visit__wrap {
        flex-wrap: wrap;
    }

    .visit__reserve {
        width: 100%;
    }

    .visit__access {
        width: 100%;
    }

    .symptoms__name {
        font-size: 1.2em;
    }

    .greeting__wrap {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .greeting__intro {
        width: 100%;
    }

    .greeting__visual {
        width: 100%;
        margin-bottom: 40px;
        padding-left: 0;
    }

    .greeting__visual-wrap {
        margin: 0 auto;
    }
}
@media screen and (max-width: 767px) {
    .section-hero {
        height: 280px;
        background-position: right;
    }

    .hero__wrap {
        height: 120px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 8px 4px;
        font-size: 13px;
    }

    .schedule-table td:first-child {
        font-size: 14px;
    }

    .available {
        width: 16px;
        height: 16px;
    }

    .location-info {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .features__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features__card {
        margin-bottom: 32px;
        padding: 40px 24px;
    }

    .features__card-number {
        width: 50px;
        height: 50px;
    }

    .slider-item {
        flex: 0 0 200px;
        height: 280px;
    }

    .slider__contents {
        width: calc(200px * 20);
    }

    .slider-item__image {
        height: 180px;
        font-size: 2.5rem;
    }

    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 10 - 20px * 10));
        }
    }

    .news__heading {
        flex-wrap: wrap;
    }

    .reserve__btn {
        align-items: center;
        padding: 8px 24px;
    }

    .reserve__btn-number {
        font-size: 1.2em;
    }

    .visit__access-inner {
        flex-wrap: wrap;
    }

    .visit__access-info {
        width: 100%;
    }

    .visit__access-map {
        width: 100%;
    }

    .symptoms__item {
        width: 50%;
    }

    .symptoms__name {
        font-size: 16px;
    }

    .cpap__wrap {
        padding-left: 0;
    }

    .cpap__desc {
        width: 100%;
        padding: 5%;
    }

    .links__wrap {
        flex-wrap: wrap;
    }

    .links__item {
        width: 100%;
    }

    .payment__wrap {
        flex-wrap: wrap;
    }

    .payment {
        flex-wrap: wrap;
        width: 100%;
    }

    .payment__method {
        left: 50%;
        transform: translateX(-25%);
        width: 100%;
        margin-bottom: 120px;
    }

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

    .payment__desc {
        width: 100%;
    }

}
@media screen and (max-width: 599px) {
    .mri__contents {
        flex-wrap: wrap;
    }

    .mri__visual {
        width: 100%;
    }

    .mri__text {
        width: 100%;
        padding-top: 16px;
        padding-left: 0;
    }

    .mri__text br {
        display: none;
    }
}