/** 水曜インプラント無料相談 予約フォーム（2026.10.06）
 *  KV: Figma「pasted-2026.09.03-08.34.03 1」（1920px幅デザイン）
 *  1200px以上: デザイン比率のまま縮小 / 1199px以下: 写真とテキストを縦積み
 *  --u はデザイン上の 1px（1200px以上は 画面幅/1920、上限 1px）
 */

.sp {
    display: none;
}
@media (max-width: 767px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    br.sp {
        display: inline;
    }
}

/* ---------- KV ---------- */
.cs-kv {
    --cs-blue: #004da0;
    --cs-text: #333;
    --cs-serif: "Noto Serif JP", serif;
    --cs-sans: "Noto Sans JP", sans-serif;
    --cs-num: "Barlow", "Noto Sans JP", sans-serif;
    --u: min(1px, calc(100cqw / 1920));
    container-type: inline-size;
    margin-top: 115px;
    overflow: hidden;
    background: #fff;
    color: var(--cs-text);
}
/* 詳細度を上げないよう :where で囲む（各要素の margin 指定を優先させる） */
:where(.cs-kv) p,
:where(.cs-kv) h1 {
    margin: 0;
    padding: 0;
}
.cs-kv img {
    display: block;
    max-width: none;
}
.cs-kv__inner {
    position: relative;
    max-width: 1920px;
    height: calc(1186.54 * var(--u));
    margin: 0 auto;
}

/* 写真（右）と左側の白グラデーション */
.cs-kv__photo {
    position: absolute;
    top: 0;
    left: calc(724.71 * var(--u));
    width: calc(1195.3 * var(--u));
    height: calc(911.48 * var(--u));
}
.cs-kv__photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cs-kv__photo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(621 * var(--u));
    height: calc(1186.54 * var(--u));
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
}
/* 写真の内側に置いているので、写真の左端（724.71）からの位置 */
.cs-kv__implant {
    position: absolute;
    z-index: 2;
    top: calc(756.27 * var(--u));
    left: calc(655.29 * var(--u));
    width: calc(340.906 * var(--u));
    height: calc(340.906 * var(--u));
}
.cs-kv__implant img {
    width: 100%;
    height: 100%;
}

/* 左のパネル */
.cs-kv__panel {
    position: absolute;
    z-index: 1;
    top: calc(225.52 * var(--u));
    left: 0;
    width: calc(1224 * var(--u));
    height: calc(828 * var(--u));
}
.cs-kv__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #e6e8ee;
    opacity: 0.72;
}
.cs-kv__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(856.27 * var(--u));
    margin-left: calc(265.57 * var(--u));
}

/* 10月限定 */
.cs-kv__ribbon {
    position: relative;
    width: calc(511.999 * var(--u));
    height: calc(131.136 * var(--u));
    margin-top: calc(-49 * var(--u));
}
.cs-kv__ribbon > img {
    width: 100%;
    height: 100%;
}
.cs-kv__ribbon-text {
    position: absolute;
    top: calc(-3.9 * var(--u));
    left: 50%;
    transform: translateX(calc(-50% - 12.7 * var(--u)));
    color: #fff;
    font-family: var(--cs-serif);
    font-size: calc(53 * var(--u));
    font-weight: 500;
    line-height: 1;
    letter-spacing: calc(-1.06 * var(--u));
    white-space: nowrap;
}
.cs-kv__ribbon-text .-num {
    position: relative;
    top: calc(10.8 * var(--u));
    font-size: calc(82 * var(--u));
    letter-spacing: calc(-3.28 * var(--u));
}

/* 見出し */
.cs-kv__title {
    margin-top: calc(31.9 * var(--u));
    color: var(--cs-text);
    font-family: var(--cs-serif);
    font-size: calc(81 * var(--u));
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: nowrap;
}
.cs-kv__title .-blue {
    color: var(--cs-blue);
}
.cs-kv__title .-k1 {
    letter-spacing: -0.19em;
}
.cs-kv__title .-k2 {
    letter-spacing: -0.35em;
}
.cs-kv__catch {
    margin-top: calc(13 * var(--u));
    font-family: var(--cs-serif);
    font-size: calc(39 * var(--u));
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* 日程ボックス */
.cs-kv__info {
    display: flex;
    align-items: center;
    width: 100%;
    height: calc(144.74 * var(--u));
    margin-top: calc(35.5 * var(--u));
    padding-left: calc(29.45 * var(--u));
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}
.cs-kv__dates {
    position: relative;
    flex: 0 0 auto;
    align-self: flex-start;
    width: calc(395.1 * var(--u));
    height: calc(136.45 * var(--u));
    margin-top: calc(3.58 * var(--u));
    color: var(--cs-blue);
    font-family: var(--cs-num);
    line-height: 1.25;
}
.cs-kv__dates > * {
    position: absolute;
    white-space: nowrap;
}
.cs-kv__dates .-month {
    top: calc(15.84 * var(--u));
    left: 0;
    font-size: calc(54.582 * var(--u));
    font-weight: 700;
    letter-spacing: calc(1.0916 * var(--u));
}
.cs-kv__dates .-slash {
    top: calc(34.94 * var(--u));
    left: calc(42.75 * var(--u));
    width: calc(23.544 * var(--u));
    height: calc(73.946 * var(--u));
}
.cs-kv__dates .-slash img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(77.6037 * var(--u));
    height: calc(2 * var(--u));
    transform: translate(-50%, -50%) rotate(-72.35deg);
}
.cs-kv__dates .-day {
    top: 0;
    font-size: calc(109.163 * var(--u));
    font-weight: 600;
}
.cs-kv__dates .-day.-d1 {
    left: calc(71.35 * var(--u));
    letter-spacing: calc(-2.1833 * var(--u));
}
.cs-kv__dates .-day.-d2 {
    left: calc(245.27 * var(--u));
    letter-spacing: calc(-4.3665 * var(--u));
}
.cs-kv__dates .-wd {
    top: calc(81 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(32.976 * var(--u));
    height: calc(30.702 * var(--u));
    background: #8f8f8f;
    color: #fff;
    font-family: var(--cs-sans);
    font-size: calc(18.194 * var(--u));
    font-weight: 700;
    line-height: 1;
}
.cs-kv__dates .-wd.-w1 {
    left: calc(174.57 * var(--u));
}
.cs-kv__dates .-wd.-w2 {
    left: calc(362.12 * var(--u));
}
.cs-kv__dates .-dot {
    top: calc(66 * var(--u));
    left: calc(220.98 * var(--u));
    width: calc(15 * var(--u));
    height: calc(15 * var(--u));
}
.cs-kv__divider {
    position: relative;
    flex: 0 0 auto;
    width: 1px;
    height: calc(88 * var(--u));
}
.cs-kv__divider img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(88 * var(--u));
    height: 1px;
    transform: translate(-50%, -50%) rotate(90deg);
}
.cs-kv__divider.-v1 {
    margin-left: calc(40.55 * var(--u));
}
.cs-kv__time,
.cs-kv__slot {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}
.cs-kv__time {
    gap: calc(15.41 * var(--u));
    width: calc(170.65 * var(--u));
    margin-left: calc(19.35 * var(--u));
    font-family: var(--cs-sans);
    font-size: calc(24 * var(--u));
    line-height: 1.25;
    letter-spacing: 0.08em;
}
.cs-kv__time img {
    width: calc(33 * var(--u));
    height: calc(33 * var(--u));
}
.cs-kv__slot {
    gap: calc(24.75 * var(--u));
    margin-left: calc(23.2 * var(--u));
    font-family: var(--cs-serif);
    font-size: calc(32 * var(--u));
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0.08em;
}
.cs-kv__slot img {
    width: calc(29.4794 * var(--u));
    height: calc(34.6274 * var(--u));
}

/* リード・ボタン */
.cs-kv__lead {
    width: calc(851.73 * var(--u));
    margin-top: calc(29.3 * var(--u));
    margin-left: calc(4.5 * var(--u));
    font-family: var(--cs-sans);
    font-size: max(13px, calc(20 * var(--u)));
    line-height: 2;
    letter-spacing: 0.08em;
}
.cs-kv__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(708 * var(--u));
    height: calc(111 * var(--u));
    margin-top: calc(57.7 * var(--u));
    background: var(--cs-blue);
    border-radius: calc(61 * var(--u));
    color: #fff !important;
    font-family: var(--cs-sans);
    font-size: calc(32 * var(--u));
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-decoration: none !important;
    transition: opacity 0.3s;
}
.cs-kv__btn:hover {
    opacity: 0.8;
}
.cs-kv__btn img {
    position: absolute;
    top: calc(40.89 * var(--u));
    left: calc(647.66 * var(--u));
    width: calc(16.7332 * var(--u));
    height: calc(29.2239 * var(--u));
}

/* ---------- KV：1199px以下は縦積み ---------- */
@media (max-width: 1199px) {
    .cs-kv {
        --u: min(0.8px, calc(100cqw / 960));
    }
    .cs-kv__inner {
        height: auto;
    }
    .cs-kv__photo {
        position: relative;
        left: auto;
        width: 100%;
        height: auto;
    }
    .cs-kv__photo > img {
        height: auto;
        aspect-ratio: 1196 / 912;
    }
    .cs-kv__photo::before {
        display: none;
    }
    .cs-kv__implant {
        top: auto;
        bottom: 14%;
        left: auto;
        right: 3%;
        width: 26%;
        height: auto;
        aspect-ratio: 1;
    }
    .cs-kv__panel {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        padding: 0 16px calc(80 * var(--u));
    }
    .cs-kv__content {
        margin: 0 auto;
    }
    .cs-kv__lead {
        margin-left: 0;
    }
    .cs-kv__btn {
        min-height: 56px;
        font-size: max(16px, calc(32 * var(--u)));
    }
    .cs-kv__btn img {
        top: 50%;
        left: auto;
        right: calc(47.57 * var(--u));
        transform: translateY(-50%);
    }
}
@media (max-width: 767px) {
    .cs-kv {
        margin-top: 65px;
    }
    .cs-kv__content {
        width: 100%;
    }
    .cs-kv__catch {
        font-size: max(15px, calc(39 * var(--u)));
    }
    /* 日程ボックスは2段に組み替え */
    .cs-kv__info {
        --u: min(0.62px, calc((100cqw - 32px) / 553));
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        margin-top: 20px;
        padding: 10px 12px 14px;
    }
    .cs-kv__dates {
        margin-top: 0;
    }
    .cs-kv__divider.-v1 {
        display: none;
    }
    .cs-kv__time {
        width: auto;
        margin-left: 0;
    }
    .cs-kv__info::after {
        content: "";
        order: -1;
        flex: 0 0 100%;
    }
    .cs-kv__dates {
        order: -2;
        margin-bottom: 8px;
    }
    .cs-kv__time,
    .cs-kv__divider.-v2,
    .cs-kv__slot {
        margin-top: 10px;
    }
    .cs-kv__divider.-v2 {
        height: 40px;
        margin-left: 20px;
    }
    .cs-kv__divider.-v2 img {
        width: 40px;
    }
    .cs-kv__slot {
        margin-left: 20px;
    }
    .cs-kv__time {
        font-size: 15px;
    }
    .cs-kv__slot {
        font-size: 18px;
    }
    .cs-kv__lead {
        width: 100%;
        margin-top: 18px;
        font-size: 14px;
        letter-spacing: 0.04em;
    }
    .cs-kv__btn {
        width: 100%;
        max-width: 343px;
        margin-top: 24px;
    }
    .cs-kv__panel {
        padding-bottom: 48px;
    }
}

/* ---------- パンくず ---------- */
.cs-breadcrumb {
    padding: 6px 0;
    background: #fff;
}
.cs-breadcrumb .cs-container {
    max-width: 1370px;
    margin: 0 auto;
    padding: 0 24px;
}
.cs-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider: ">";
    margin: 0;
    padding: 0;
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    line-height: 26px;
}
.cs-breadcrumb .breadcrumb-item,
.cs-breadcrumb .breadcrumb-item a,
.cs-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #444;
}
@media (max-width: 767px) {
    .cs-breadcrumb {
        display: none;
    }
}

/* ---------- フォーム見出し（資料請求フォームと同じ） ---------- */
#form__section {
    background: #d5e3f1;
}
.cs-formhead {
    padding: 70px 24px 0;
    background: #d5e3f1;
    text-align: center;
}
.cs-formhead__title {
    margin: 0;
    color: #333;
    font-family: "Noto Serif JP", serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.88px;
}
.cs-formhead__line {
    display: block;
    height: 1px;
    margin: 24px auto 0;
}
.cs-formhead__text {
    margin: 44px 0 0;
    color: #444;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0;
}
@media (max-width: 767px) {
    .cs-formhead {
        padding: 89px 24px 0;
    }
    .cs-formhead__title {
        font-size: 26px;
        letter-spacing: 0.64px;
    }
    .cs-formhead__text {
        margin-top: 42px;
        font-size: 16px;
        text-align: left;
    }
}

/* ---------- フォーム部品の追加分 ---------- */
.form__item-note {
    padding-left: 16px;
    font-size: 15px;
    line-height: 1.6;
}
.cs-age {
    max-width: 320px;
}
/* 希望日のラジオボタン */
.cs-radio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 32px;
    width: calc(100% - 72px);
    min-height: 64px;
    padding: 12px 20px;
    background: #fff;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
/* mailformpro.css の form#mailformpro label（選択時の枠・背景）を打ち消す */
form#mailformpro .cs-radio label,
form#mailformpro .cs-radio label.mfp_checked,
form#mailformpro .cs-radio label.mfp_not_checked {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    white-space: nowrap;
}
form#mailformpro .cs-radio label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #222;
    font-size: 18px;
    cursor: pointer;
}
.cs-radio input[type="radio"] {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: #146dbe;
    cursor: pointer;
}
@media (max-width: 767px) {
    form#mailformpro .cs-radio label {
        font-size: 17px;
    }
}

/* ---------- 受付終了 ---------- */
.cs-closed {
    padding: 80px 24px 120px;
    background: #d5e3f1;
    text-align: center;
}
.cs-closed__text {
    margin: 0;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    line-height: 1.8;
    letter-spacing: 0.04em;
}
@media (max-width: 767px) {
    .cs-closed {
        padding: 56px 16px 80px;
    }
}

/* 送信ボタン：form-renew.css の translateX(3px) で、360px以下だと画面幅を3pxはみ出すため */
@media (max-width: 767px) {
    .form-btn {
        max-width: min(361px, calc(100% - 6px));
    }
}
