@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Noto+Sans+JP:wght@100;300;500;600;700&display=swap");

:root {
    --color-coral: #ec6b73;
    --color-coral-dark: #df4d5b;
    --color-cream: #fff7f3;
    --color-cream-deep: #fff1ec;
    --color-white: #fff;
    --color-ink: #231f20;
    --color-brown: #6d4a2a;
    --color-muted: #808080;
    --color-pale: #f6f7fa;
    --color-gray: #555554;
    --color-line: #ec6b73;
    --color-input: #f2f2f2;
    --color-error: #d73737;
    --bgcolor-error: #ffe4e4;
    --breakpoint: 820px;
    --page-padding: 20px;
    --container: 1200px;
    --container--narrow: 1000px;
    --section-padding: clamp(2rem, 4vw, 5rem);
    --section-padding--wide: clamp(4rem, 6vw, 7rem);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    margin: 0;
    color: var(--color-ink);
    font-family: "Noto Sans JP", system-ui, sans-serif;
    line-height: 1.85;
    background: var(--color-white);
}

img,
iframe {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - var(--page-padding) * 2), var(--container));
    margin-inline: auto;
}

.container--narrow {
    width: min(calc(100% - var(--page-padding) * 4), var(--container--narrow));
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: var(--section-padding);
}

.section--cream {
    background: var(--color-cream);
}

.section-frame {
    position: relative;
    padding-left: clamp(1rem, 4vw, 3rem);
}

.section--line {
    padding-block: 0;
    .section-title,
    .section-frame {
        border-left: 1px solid var(--color-line);
    }
    .section-title {
        padding-top: var(--section-padding--wide);
    }
    .section-title:before {
        content: "";
        display: inline-block;
        width: 0.5rem;
        height: 0.9em;
        margin-right: 1rem;
        background: var(--color-line);
        vertical-align: bottom;
    }
    .section-copy {
        margin-left: 1.7rem;
    }
    .section-frame {
        padding-bottom: var(--section-padding--wide);
    }
}

.section-title {
    margin: 0 0 2.5rem;
    color: var(--color-coral);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(2.1rem, 5.8vw, 4.2rem);
    font-weight: 100;
    line-height: 1;
    letter-spacing: 0;
}

.section-title span {
    margin-left: 0.55rem;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.36em;
    font-weight: 100;
}

.section-title--light {
    color: var(--color-white);
}

.hero {
    color: var(--color-white);
    text-align: center;
    background: url("../images/header-bg.webp") center / cover;
}

.hero__main {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: clamp(28rem, 50vw, 40rem);
    padding: 5rem var(--page-padding);
    background:
        url(../images/logo-text.svg) center / auto 60% no-repeat,
        rgba(236, 107, 115, 0.86);
}

.hero__logo {
    width: clamp(6.5rem, 12vw, 10rem);
    height: auto;
    margin-bottom: 1.6rem;
    opacity: 0;
}

.hero__main p {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 2.2rem);
    font-weight: 500;
    opacity: 0;
}

.hero h1 {
    margin: 0.2rem 0 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(3.2rem, 9vw, 7.5rem);
    font-weight: 300;
    line-height: 1;
    opacity: 0;
}

.hero h1 strong {
    margin: 0.2rem 0 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(3.2rem, 9vw, 7.5rem);
    font-weight: 500;
    line-height: 1;
}

.hero__points {
    padding-block: clamp(2rem, 5vw, 3.6rem);
    color: var(--color-ink);
    background: rgba(255, 246, 242, 0.8);
    backdrop-filter: grayscale(1);
}

.point-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.4rem, 4vw, 4rem);
    width: min(calc(95% - var(--page-padding) * 4), 960px);
    margin-inline: auto;
}

.point-button {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    width: clamp(8rem, 14vw, 10.8rem);
    height: clamp(8rem, 14vw, 10.8rem);
    margin-inline: auto;
    border: 0;
    padding: 0;
    color: var(--color-ink);
    background: transparent;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.point-button::before,
.point-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition:
        border-color 250ms ease,
        transform 420ms ease;
}

.point-button::before {
    inset: 3px;
    border: 2px solid #5c5c5c;
}

.point-button::after {
    border: 7px solid var(--color-coral);
    border-left-color: transparent;
    border-right-color: transparent;
    transform: rotate(45deg);
}

.point-button span {
    display: block;
    color: var(--color-coral);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    line-height: 1;
    margin: -0.9em 0 0.2em;
}

.point-button span::after {
    content: "";
    position: absolute;
    left: calc(50% - 0.8rem);
    bottom: 1.15rem;
    width: 0;
    height: 0;
    border-left: 0.8rem solid transparent;
    border-right: 0.8rem solid transparent;
    border-top: 0.8rem solid var(--color-coral);
}

.point-button:hover::after,
.point-button.is-active::after {
    border-top-color: var(--color-coral-dark);
    border-bottom-color: var(--color-coral-dark);
    transform: rotate(225deg);
}

.site-nav {
    opacity: 0;
    position: fixed;
    z-index: 30;
    top: 0;
    display: flex;
    width: 100%;
    align-items: center;
    gap: clamp(0.8rem, 2.4vw, 1.8rem);
    padding: 0.65rem max(var(--page-padding), calc((100vw - var(--container)) / 2));
    color: var(--color-white);
    background: rgba(236, 107, 115, 0.94);
    box-shadow: 0 0.8rem 1.6rem rgba(92, 39, 45, 0.12);
    transition: opacity 1000ms ease;
}
.hero:hover .site-nav {
    opacity: 1;
}

.site-nav a {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.82rem;
}

.site-nav a:not(.brand) {
    opacity: 0.9;
    transition:
        opacity 220ms ease,
        color 220ms ease;
}

.site-nav a:hover {
    opacity: 0.65;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-right: auto;
}

.brand img {
    width: 2rem;
    height: 2rem;
}

.intro {
    overflow: hidden;
    padding-top: clamp(2rem, 4vw, 5rem);
    background: linear-gradient(var(--color-cream) 0 50%, var(--color-white) 50% 100%);
    text-align: center;
}

.intro h2 {
    margin: 0 0 1.7rem;
    color: var(--color-brown);
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
}

.intro__lead {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
}

.use-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.6rem, 4vw, 3.2rem);
    margin-top: clamp(3.8rem, 7vw, 6rem);
    text-align: left;
}

.use-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.use-grid h3 {
    margin: 1.4rem 0 0.85rem;
    color: var(--color-coral);
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 800;
    text-align: center;
}

.use-grid p {
    margin: 0;
    font-weight: 500;
}

.section-copy {
    margin: -1.4rem 0 4.8rem;
    font-weight: 600;
}

.interior-collage {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.interior-collage-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.interior-collage-block:not(:first-child) img {
    max-height: 350px;
}

.features {
    overflow: hidden;
    background: var(--color-white);
    position: relative;
}

.features::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        url("../images/logo-pink.svg") left -9rem top 22% / 34rem auto no-repeat,
        url("../images/logo-pink.svg") right -9rem bottom 4rem / 34rem auto no-repeat;
    opacity: 0.1; /* ここで薄さを調整（0.1 = 10%） */
    pointer-events: none;
    z-index: 0;
}

.features > * {
    position: relative;
    z-index: 1;
}

.features__heading {
    margin: 0 0 2.4rem;
    text-align: center;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 700;
}

.features__heading em {
    color: var(--color-coral);
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    font-weight: 500;
}

.features__heading strong {
    color: var(--color-coral);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    line-height: 0;
}

.point-nav--features {
    margin-bottom: clamp(4rem, 8vw, 7rem);
}
.container--narrow {
    width: min(calc(100% - var(--page-padding) * 4), var(--container--narrow));
    margin-inline: auto;
    margin: 0 auto;
}

.feature-list {
    display: grid;
    gap: clamp(3rem, 6vw, 5.5rem);
}

.feature-item {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
    gap: clamp(1.7rem, 5vw, 4.2rem);
    align-items: center;
}

.feature-item--left {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.12fr);
}

.feature-item--right {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr);
}

.feature-item img {
    width: 100%;
    aspect-ratio: 1.52;
    object-fit: cover;
}

.feature-text {
    position: relative;
}

.feature-word {
    position: absolute;
    z-index: -1;
    top: -0.8em;
    margin: 0;
    color: #d7d7d7;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 100;
    line-height: 1;
}

.feature-item--left .feature-word {
    left: -0.8em;
}

.feature-item--right .feature-word {
    right: -0.8em;
}

.feature-text h3 {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: last baseline;
    gap: 1rem;
    margin: 0 0 1rem;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 800;
    line-height: 1.35;
}

.feature-text h3 span {
    color: var(--color-coral);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(3.6rem, 8vw, 5.2rem);
    line-height: 1;
}

.feature-text p:last-child {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 500;
}

.type {
    background: #f7f7f7;
    text-align: center;
}

.type .section-title {
    text-align: left;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(10rem, 17rem));
    gap: clamp(2.2rem, 8vw, 6rem);
    justify-content: center;
}

.type-grid figure {
    margin: 0;
}

.type-grid img {
    width: 100%;
}

.type-grid figcaption {
    margin-top: 0.6rem;
    color: #6f6f6f;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1;
}

.type-grid strong {
    color: var(--color-coral);
    font-size: 3.1em;
    font-weight: 100;
    vertical-align: -20%;
}
.type-grid strong::before {
    content: " ";
    display: inline-block;
    width: 0.3rem;
}

.type__button {
    margin: clamp(3rem, 6vw, 5rem) 0 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12rem;
    min-height: 3.2rem;
    border: 0;
    padding: 0.8rem 2rem;
    color: var(--color-white);
    background: var(--color-coral);
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 220ms ease,
        color 220ms ease,
        opacity 220ms ease;
}

.button:hover {
    background: var(--color-coral-dark);
}

.button--gray {
    min-width: 18rem;
    min-height: 4.2rem;
    background: #999;
    font-size: 1.25rem;
    font-weight: 400;
}

.button--gray:hover {
    background: #777;
}

.button--ghost {
    color: var(--color-coral);
    background: var(--color-white);
    border: 1px solid var(--color-coral);
}

.facilities {
    color: var(--color-white);
    background: linear-gradient(var(--color-gray) 0 65%, #f2f2f2 65% 100%);
}

.section-title--light.section-title {
    color: var(--color-white);
}
.section-title--light.section-title {
    border-left-color: var(--color-white);
}

.section-title--light.section-title::before {
    background: var(--color-white);
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(12rem, 1fr));
    gap: 1rem;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.facility-grid li {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1.1rem;
    min-height: 13rem;
    padding: 1.4rem;
    color: #7b7b7b;
    background: var(--color-pale);
    border: 1px solid #d9d9d9;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.35;
}

.facility-grid li::after {
    content: "";
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    width: 0;
    height: 0;
    border-top: 2.1rem solid var(--color-coral);
    border-left: 2.1rem solid transparent;
}

.facility-grid img {
    width: 5.2rem;
    height: 5.2rem;
    object-fit: contain;
}

.location {
    color: var(--color-white);
    background: var(--color-coral);
    line-height: 1.4;
}

.location address {
    font-style: normal;
}

.location ul {
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
}

.location iframe {
    width: 100%;
    height: clamp(18rem, 36vw, 27rem);
    margin: 1.5rem 0 0;
    border: 0;
}

.location-contact {
    margin: 0.8rem 0 0;
}

.contact {
    background: var(--color-white);
    text-align: center;
    padding-bottom: var(--section-padding--wide);
}

.container--form {
    max-width: 720px;
}

.contact-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.3rem;
    margin: 0 0 1.2rem;
    color: var(--color-coral);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 200;
    line-height: 1;
}

.contact-title::before,
.contact-title::after {
    content: "";
    width: min(10rem, 22vw);
    height: 1px;
    background: var(--color-coral);
}

.contact-heading {
    margin: 0;
    color: #555;
    font-size: 1.6rem;
}

.required-note {
    margin: 0.2rem 0 2rem;
    color: var(--color-coral);
    font-size: 0.98rem;
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.contact-form label {
    color: #5f5f5f;
    font-weight: 500;
}

.contact-form label em {
    color: var(--color-coral);
    font-style: normal;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
    width: 100%;
    border: 1px solid #9b9b9b;
    padding: 0.8rem;
    background: var(--color-input);
    border-radius: 0;
    font-weight: normal;
    transition:
        border-color 200ms ease,
        background-color 200ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-coral);
    background: var(--color-white);
}

.contact-form .is-invalid {
    border-color: var(--color-error) !important;
    background: var(--bgcolor-error) !important;
}

.field-error {
    min-height: 1em;
    color: var(--color-error);
    font-size: 0.85rem;
    font-weight: 700;
}

.privacy {
    margin-top: 1.1rem;
    color: #1f1f1f;
    font-size: 0.78rem;
    line-height: 1.55;
}

.privacy h3 {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
}

.privacy p {
    margin: 0;
}

.agree {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.8rem !important;
    margin-top: 1.3rem;
    text-align: center;
}

.agree input {
    width: 1.45rem;
    height: 1.45rem;
    accent-color: var(--color-coral);
}

.button--submit {
    justify-self: center;
    min-width: 12rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.footer {
    padding: clamp(4rem, 8vw, 7rem) var(--page-padding);
    color: var(--color-white);
    background: var(--color-coral);
    text-align: center;
}

.footer img {
    width: 6.2rem;
    height: auto;
    margin: 0 auto 1rem;
}

.footer p {
    margin: 0.1rem 0;
    font-weight: 300;
    line-height: 1.4;
}

.footer p.footer__brand {
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 2rem;
}
.footer__brand strong {
    font-weight: 500;
}

.footer a {
    text-wrap: nowrap;
}

.footer__logo {
    margin: 0 auto 1.2rem;
    width: min(25rem, 70%);
    aspect-ratio: 1.902;
    background: url("../images/logo-text.svg") center / contain no-repeat;
    overflow: hidden;
}
.footer__logo * {
    opacity: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(1.7rem);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.modal {
    width: min(calc(100% - 2rem), 680px);
    border: 0;
    padding: 0;
    background: transparent;
    opacity: 0;
    transform: translateY(-30px); /* 閉じ終わる位置（下方向へ消える） */
    transition:
        opacity 600ms ease,
        transform 600ms ease,
        display 600ms ease allow-discrete,
        overlay 600ms ease allow-discrete;
}

.modal::backdrop {
    background: rgba(35, 31, 32, 0);
    transition:
        display 600ms ease allow-discrete,
        overlay 600ms ease allow-discrete,
        background-color 600ms ease;
}

.modal__panel {
    padding: clamp(1.2rem, 4vw, 2rem);
    background: var(--color-white);
}
.modal[open] {
    opacity: 1;
    transform: translateY(0);
}

.modal[open]::backdrop {
    background: rgba(35, 31, 32, 0.55);
}

/* 表示される瞬間のスタイルを定義 */
@starting-style {
    .modal[open] {
        opacity: 0;
        transform: translateY(-30px); /* 開き始める位置（上から入る） */
    }
    .modal[open]::backdrop {
        background-color: rgba(35, 31, 32, 0);
    }
}

.modal__summary {
    display: grid;
    gap: 0.45rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.modal__summary div {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.35rem;
}

.modal__progress {
    overflow: hidden;
    height: 0.6rem;
    background: #f0e4e1;
}

.modal__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--color-coral);
    transition: width 240ms ease;
}

.modal__message {
    min-height: 1.6em;
    color: var(--color-error);
    font-weight: 700;
}

.modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 820px) {
    .container--narrow {
        width: min(calc(100% - var(--page-padding) * 2), var(--container));
        margin-inline: auto;
    }
    .hero__main {
        background:
            url(../images/logo-text.svg) center / 70% auto no-repeat,
            rgba(236, 107, 115, 0.86);
    }
    .site-nav {
        overflow-x: auto;
    }

    .site-nav a:not(.brand) {
        white-space: nowrap;
    }

    .use-grid,
    .feature-item,
    .feature-item--left,
    .feature-item--right {
        grid-template-columns: 1fr;
    }
    .feature-word {
        font-size: clamp(1.5rem, 5vw, 3rem);
    }
    .feature-item--left .feature-word {
        left: auto;
        right: 0;
        top: 0;
    }

    .feature-item--right .feature-word {
        right: 0;
        top: 0;
    }

    .point-nav {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        justify-items: center;
        width: min(100% - var(--page-padding) * 2, 36rem);
    }

    .point-button {
        width: 9rem;
        height: 9rem;
    }

    .use-grid {
        max-width: 30rem;
        margin-inline: auto;
    }
    .interior-collage-block {
        flex-direction: column;
        gap: 2rem;
    }
    .interior-collage-block:not(:first-child) img {
        max-height: none;
    }

    .feature-item--left img,
    .feature-item--right img {
        order: 0;
    }

    .feature-text {
        order: 1;
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-grid,
    .location iframe {
        margin-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 560px) {
    html {
        font-size: 16px;
    }

    .section-frame {
        padding-left: 1rem;
    }

    .type-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .brand span {
        display: none;
    }
}
