@charset "UTF-8";
/* =========================================================
   webyoyaku.php（Web予約の方へ）専用スタイル
   ※クラスは wy- 接頭辞で既存CSSと衝突しないようにしています
   ========================================================= */

.wy {
    --wy-pink: #ee6a6a;
    --wy-red: #e60012;
    --wy-text: #333;
    --wy-peach: #fdf3ea;
    --wy-green: #f1fae7;
    --wy-yellow: #f2e271;
    color: var(--wy-text);
    
    line-height: 1.9;
}
.wy img { max-width: 100%; height: auto; }
.wy :where(p, ul, h1, h2, h3) { margin: 0; padding: 0; }
.wy :where(ul) { list-style: none; }

.wy-inner {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: content-box;
}
.wy-pink { color: var(--wy-pink); font-weight: bold; }
.wy-red  { color: var(--wy-red); }
.wy-deco { position: absolute; pointer-events: none; z-index: 1; }
.wy-sp { display: none; }

/* ---------- タイトル・導入 ---------- */
.wy-hero {
    background: var(--wy-peach);
    padding: 90px 0 100px;
    text-align: center;
}
.wy-hero__title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 170px;
    background: url(../img/yoyaku/yoyaku.png) no-repeat center / 172px auto;
    font-size: 32px;
    font-weight: normal;
    letter-spacing: .06em;
    color: #444;
}
.wy-hero__title span { position: relative; top: 15px; }
.wy-hero__left  { position: absolute; left: 10px;   top: -10px; width: 260px; }
.wy-hero__right { position: absolute; right: 110px; top: -20px; width: 190px; }
.wy-hero__lead { margin-top: 45px;  }
.wy-hero__lead p + p { margin-top: 30px; }

/* ---------- 注意事項（緑エリア） ---------- */
.wy-notice {
    position: relative;
    background: var(--wy-green);
    padding: 80px 0 140px;
}
/* 上下のパステルライン */
.wy-notice::before,
.wy-notice::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    background: url(../img/yoyaku/border.jpg) repeat-x center / 100% 5px;
}
.wy-notice::before { top: 0; }
.wy-notice::after  { bottom: 0; }

.wy-notice__title {
    margin: 0 0 70px;
    font-size: 34px;
    font-weight: bold;
    letter-spacing: .1em;
    line-height: 1.4;
    text-align: center;
}
.wy-notice__title span {
    position: relative;
    display: inline-block;
    padding: 0 85px;
}
.wy-notice__title span::before,
.wy-notice__title span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 72px;
    height: 42px;
    transform: translateY(-50%);
    background: no-repeat center / contain;
}
.wy-notice__title span::before { left: 0;  background-image: url(../img/yoyaku/maru_01.png); }
.wy-notice__title span::after  { right: 0; background-image: url(../img/yoyaku/maru_02.png); }

.wy-block + .wy-block { margin-top: 80px; }

.wy-subttl {
    margin-bottom: 15px;
    color: var(--wy-pink);
    font-size: 26px;
    font-weight: normal;
    text-align: center;
}

/* 白ボックス */
.wy-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    text-align: center;
}
.wy-box--ok { padding: 35px 20px 30px; }
.wy-box__main { font-size: 30px; line-height: 1.5; }
.wy-underline {
    padding-bottom: 2px;
    background: linear-gradient(var(--wy-pink), var(--wy-pink)) no-repeat left bottom / 100% 1px;
}
.wy-box__sub { margin-top: 5px; font-size: 20px; }
.wy-dog01 { right: -30px; top: 35px; width: 170px; }

.wy-box--ng { padding: 30px 20px; }
.wy-box__ng { font-size: 22px; font-weight: bold; }
.wy-maru04 { right: -50px; top: -20px; width: 90px; }

/* できない方の詳細 */
.wy-except {
    position: relative;
    width: fit-content;
    margin: 50px auto 0;
}
.wy-except__ttl {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--wy-pink);
    
    border-bottom: 1px solid var(--wy-pink);
    line-height: 1.6;
}
.wy-except__ttl span { display: inline; }
.wy-maru03 { left: -150px; bottom: -10px; width: 70px; }

/* 「・」付きリスト */
.wy-list {  line-height: 1.9; text-align: left; }
.wy-list li {
position: relative;
padding-left: 1.2em;
line-height: 1.5;
margin-bottom: 0.3em; }
.wy-list li::before { content: "・"; position: absolute; left: 0; }
.wy-list b { font-weight: bold; }

/* 黄色の点線 */
.wy-dash {
    max-width: 990px;
    margin: 90px auto;
    border: 0;
    border-top: 3px dashed var(--wy-yellow);
    letter-spacing : 0.03em 
}

/* ピンク見出し */
.wy-pinkttl {
    color: var(--wy-pink);
    font-size: 32px;
    font-weight: normal;
    text-align: center;
    letter-spacing: .03em;
    line-height: 1.5;
}
.wy-pinkttl--s { font-size: 24px; }

/* ボタン */
.wy-btn {
    position: relative;
    display: block;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #f2a4a4;
    color: var(--wy-text);
    text-align: center;
    text-decoration: none;
    transition: .3s;
}
.wy-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    border-style: solid;
    border-color: transparent transparent transparent currentColor;
    transform: translateY(-50%);
}
.wy-btn:hover { background: #fff2f2; opacity: 1; }
.wy-btn--s {
    width: 370px;
    padding: 18px 50px 18px 20px;
    border-radius: 12px;
    
    box-sizing: border-box;
}
.wy-btn--s::after { right: 28px; border-width: 5px 0 5px 8px; }
.wy-btn--l {
    width: 380px;
    padding: 28px 60px 28px 20px;
    border-radius: 50px;
    font-size: 24px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(238, 106, 106, .15);
}
.wy-btn--l::after { right: 70px; border-width: 6px 0 6px 10px; }

/* 書類作成希望の方へ */
.wy-doc {
    position: relative;
    min-height: 220px;
    padding-top: 25px;
}
.wy-doc .wy-pinkttl { margin-bottom: 15px; }
.wy-kirin { left: -10px; top: 50px; width: 300px; }

/* WEB予約できる医師 */
.wy-doctor { position: relative; }
.wy-doctor__list {
    display: flex;
    justify-content: center;
    gap: 0 50px;
    margin-top: 15px;
}
.wy-doctor__list li::before { content: "・"; }
.wy-maru05 { right: -20px; top: 70px; width: 90px; }

/* 予約・変更・キャンセル */
.wy-cancel { margin-top: 70px; }
.wy-cancel .wy-pinkttl { margin-bottom: 15px; }
.wy-box--cancel { padding: 45px 20px 55px; }
.wy-box--cancel .wy-list {
    width: fit-content;
    margin: 0 auto;
    
}
.wy-box--cancel .wy-list li + li { margin-top: 14px; }
.wy-maru06 { left: -70px; top: 120px; width: 85px; }
.wy-dog02 { right: -65px; bottom: -100px; width: 245px; }
.wy-note { margin-top: 15px; padding-left: 10px; font-size: 15px; line-height: 1.8; letter-spacing : 0.03em;}

/* みなさまへ */
.wy-everyone__hana { display: block; width: 90px; margin: 0 auto 5px; }
.wy-everyone .wy-list { max-width: 790px; margin: 40px auto 0; }

/* ---------- Web予約ボタン ---------- */
.wy-cta {
    background: var(--wy-peach);
    padding: 120px 0 180px;
    text-align: center;
}
.wy-cta__txt { margin-bottom: 25px; color: var(--wy-pink);  }
.wy-bird { right: 25px; top: 130px; width: 175px; }

/* =========================================================
   スマホ（SP_yoyaku.jpg）
   ========================================================= */
@media screen and (max-width: 767px) {
    .wy {  line-height: 1.8; }
    .wy-inner { padding: 0 20px; }
    .wy-sp { display: inline; }
    br.wy-sp { display: inline; }
    .wy-pc { display: none; }

    /* タイトル・導入 */
    .wy-hero { padding: 153px 0 70px; }
    .wy-hero__title { height: 120px; font-size: 20px; background-size: 120px auto; }
    .wy-hero__title span { top: 8px; }
    .wy-hero__left  { 
        top: 0;
        width: 110px;}
    .wy-hero__right { right: 8px; top: -5px; width: 100px; }
    .wy-hero__lead { margin-top: 30px; font-size: 14px; line-height: 2; }
    .wy-hero__lead p + p { margin-top: 25px; }

    /* 注意事項 */
    .wy-notice { padding: 60px 0 80px; }
    .wy-notice__title { margin-bottom: 45px; font-size: 22px; }
    .wy-notice__title span { padding: 0 75px; }
    .wy-notice__title span::before,
    .wy-notice__title span::after { width: 62px; height: 36px; }

    .wy-block + .wy-block { margin-top: 90px; }
    .wy-subttl { margin-bottom: 10px; font-size: 1.4rem;}

    .wy-box--ok { padding: 20px 10px 30px; }
    .wy-box__main {  font-weight: bold; line-height: 1.6; font-size: 1.4rem;}
    .wy-underline { background: none; padding: 0; }
    .wy-box__sub { margin-top: 0; font-size: 15px; }
    .wy-dog01 { right: -10px; top: auto; bottom: -70px; width: 95px; }

    .wy-box--ng { padding: 22px 10px; }
    .wy-box__ng { font-size: 15px; }
    .wy-maru04 { right: -12px; top: -22px; width: 50px; }

    .wy-except { width: auto; margin-top: 35px; }
    .wy-except__ttl {
        display: block;
        margin-bottom: 20px;
        border-bottom: 0;
        font-size: 15px;
       
        text-align: center;
    }
    .wy-except__ttl span { border-bottom: 1px solid var(--wy-pink); }
    .wy-except .wy-list { padding-left: 5px; }
    .wy-maru03 { display: block; left: -10px; bottom: -45px; width: 40px; }

    .wy-list {  }
    .wy-dash { margin: 67px -5px; border-top-width: 2px; }

    .wy-pinkttl {font-size: 1.35rem; }
    .wy-pinkttl--s {  }

    /* 書類作成希望の方へ */
    .wy-doc { min-height: 0; padding: 0 0 130px; }
    .wy-doc .wy-pinkttl { margin-bottom: 15px; }
    .wy-btn--s { width: 80%; padding: 14px 40px 14px 20px; font-size: 14px; }
    .wy-btn--s::after { right: 20px; }
    .wy-kirin { left: 5px; top: auto; bottom: 0; width: 145px; transform: none; }

    /* 医師 */
    .wy-doctor__list { gap: 0 25px; margin-top: 10px;  }
    .wy-maru05 { right: -5px; top: 70px; width: 45px; }

    /* 予約・変更・キャンセル */
    .wy-cancel { margin-top: 70px; }
    .wy-cancel .wy-pinkttl { margin-bottom: 10px;  letter-spacing: .02em; }
    .wy-box--cancel { padding: 30px 15px 40px; }
    .wy-box--cancel .wy-list { width: auto;  }
    .wy-box--cancel .wy-list li + li { margin-top: 18px; }
    .wy-box--cancel .wy-list .wy-red { font-weight: normal; }
    .wy-maru06 { display: block; left: -10px; top: auto; bottom: -5px; width: 45px; }
    .wy-dog02 { right: -20px; bottom: -255px; width: 163px; }
    .wy-note { margin-top: 18px; padding: 0 0 130px; font-size: 0.8rem; line-height: 1.8; letter-spacing : 0.03em; }
    .wy-note p { padding-left: 1em; text-indent: -1em; }
    .wy-cancel + .wy-dash { margin-top: 30px; }

    /* みなさまへ */
    .wy-everyone__hana { width: 55px; }
    .wy-everyone .wy-list { margin-top: 20px;  }
    .wy-everyone .wy-list li { padding-left: 0; }
    .wy-everyone .wy-list li::before { position: static; }

    /* Web予約ボタン */
    .wy-cta { padding: 80px 0 200px; }
    .wy-cta__txt { margin-bottom: 20px;  line-height: 1.7; }
    .wy-btn--l { 
        width: 76%; 
        max-width: 300px; 
        padding: 8px 45px 8px 20px;
        font-size: 1.1rem;}
    .wy-btn--l::after { right: 35px; border-width: 5px 0 5px 8px; }
    .wy-bird { right: 10px; top: auto; bottom: -85px; width: 110px; }
}
