@charset "utf-8";
/* 基本設定はこちら */
@import url("reset.css");
@import url("rule.css");
/*  */

/*———————————
共通
———————————*/
body {
    font-family: "Zen Kaku Gothic New", sans-serif;
}

/* 虹色ライン
高さ、線幅、間隔はコレで管理
--bordr-height:px;
--border-size: px;
--border-gap: px;
--unit: calc(var(--border-size) + var(--border-gap));
*/

.el-rainbow,
.el-rainbow_under::after {
    height: var(--bordr-height);
    background-image:
        linear-gradient(to right,
            var(--cl-orange) 0 var(--border-size),
            transparent var(--border-size) var(--unit)),
        linear-gradient(to right,
            var(--cl-yellow) 0 var(--border-size),
            transparent var(--border-size) var(--unit)),
        linear-gradient(to right,
            var(--cl-blue) 0 var(--border-size),
            transparent var(--border-size) var(--unit));
    background-size: calc(var(--unit) * 3) 100%;
    /* 3色セット＝12px */
    background-position: 0 0, var(--unit) 0, calc(var(--unit) * 2) 0;
    background-repeat: repeat-x;
}

/* ボタン */
.el-btn {
    display: grid;
    place-content: center;
    padding: 20px 5px;
    border-radius: var(--kadomaru);
    text-align: center;
    font-size: 1.6rem;
    position: relative;
    cursor: pointer;
    transition: 0.5s;

    &::after {
        content: "";
        width: 10px;
        height: 10px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        position: absolute;
        right: 1em;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    &:hover {
        opacity: 0.8;
        text-decoration: none;
    }
}

/*
grid
———————————*/
:where(.grid) {
    gap: var(--gap-main);
}

.grid {
    display: grid;

}

/*
flex
———————————*/
.fx {
    display: flex;

}

:where(.fx) {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;

}



/*———————————
ヘッダー
———————————*/

.ly-header {
    width: 100%;
    aspect-ratio: 21 / 8;
    background-color: var(--cl-base);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*
ロゴ・電話番号
.bl-headVisual
———————————*/
.bl-headVisual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-content: center;
    align-items: center;
    justify-content: center;

}

/* ロゴ */
.bl-headVisual_logo {
    img {
        width: 200px;
        margin-inline: auto;
    }
}

/* コピー */

.bl-headVisual_info {}

.bl-headVisual_copy {
    background-image: url(/img/sun.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    display: contain;
    width: 300px;
    aspect-ratio: 250/125;
    display: grid;
    place-content: center;

    p {
        color: #fff;
        font-size: 3.4rem;
        margin-top: 10px;
        font-weight: 700;
    }
}

/* 電話FAX */
.bl-headVisual_num {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;

    a,
    p {
        display: flex;
        align-items: center;
        font-size: 3.8rem;
        padding-block: 8px;
        font-weight: 500;
        color: var(--cl-brown);
    }

    a {
        border-bottom: 1px solid var(--cl-orange);

    }


    span {
        margin-right: auto;

        font-size: 60%;
    }
}

/*
ナビ
———————————*/
.bl-nav {
    width: 100%;
    width: 800px;
    padding-block: 30px;

    ul {
        gap: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-left: 0;
    }

    li {
        font-size: 1.7rem;
        border: 1px solid var(--cl-glay);
        width: calc(25% - 10px);
        text-align: center;
        padding: 10px 0px;
        background-color: #fff;
        border-radius: var(--kadomaru)
    }
}

/*
ハンバーガー
———————————*/
.bl-openbtn {
    display: none;
}


@media (max-width:768px) {

    .bl-openbtn {
        --bar-h: 4px;
        --bar-gap: 4px;
        position: fixed;
        right: 15px;
        width: 30px;
        /* 箱の横幅 */
        height: calc(var(--bar-h)*3 + var(--bar-gap)*2);
        /* 箱の高さ */
        cursor: pointer;
    }

    .bl-openbtn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        /* 線の太さ */
        border-radius: 2px;
        background: #bcbcbc;
        transition: .4s;
    }

    /* 通常状態の3本線 */
    .bl-openbtn span:nth-child(1) {
        top: 0;
    }

    .bl-openbtn span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .bl-openbtn span:nth-child(3) {
        bottom: 0;
    }

    /* active状態で×に変化 */
    .bl-openbtn.active span:nth-child(1) {
        transform: translateY(8px) rotate(-45deg);
    }

    .bl-openbtn.active span:nth-child(2) {
        opacity: 0;
    }

    .bl-openbtn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(45deg);
    }

}

/* SPナビ */
.bl-spnav {
    display: none;
}

@media (max-width:768px) {}

/* ヘッダー下レインボー */

.bl-headerRainbow {
    --bordr-height: 20px;
    --border-size: 4px;
    --border-gap: 8px;
    --unit: calc(var(--border-size) + var(--border-gap));
    width: 100%;
    height: var(--bordr-height);
    background-color: var(--cl-base);


}

/*———————————
メイン
———————————*/

.el-ttl {
    .el-subttl_label {
        display: block;
        font-size: 65%;
        margin-bottom: 5px;
    }

    color: var(--cl-brown);
    font-size: 3rem;
    position: relative;
    padding-bottom: 24px;
    margin-bottom: 40px;
    text-align: center;

}

.el-ttl::after {
    --bordr-height: 12px;
    --border-size: 2px;
    --border-gap: 2px;
    --unit: calc(var(--border-size) + var(--border-gap));
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 46px;
    transform: translateX(-50%);
}

/*
想い
.sec-philosophy
———————————*/

.philo-bg {
    position: fixed;
    inset: 0;                 /* 全画面に広げる */
    background:
    linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)), /* 半透明レイヤー */
    url(/img/philosophy_bg.png) no-repeat center bottom;
    background-size: cover;
    z-index: -1;              /* 後ろに下げる */
    pointer-events: none;     /* 背景なのでクリックを邪魔しない */
    background-color: var(--cl-base);
}

.sec-philosophy {
    
    padding-block: 70px 100px;
    text-align: center;

    .st-copy {
        font-size: 4.2rem;
        color: var(--cl-main);
        margin-bottom: 4rem;
    }

    .st-txt {
        margin-bottom: 40px;

        p {
            font-size: 1.8rem;
            color: var(--cl-brown);
            line-height: 1.8;
        }

        p:not(:last-child) {
            margin-bottom: 1em;
        }
    }

    .el-btn {
        font-size: 2rem;
        font-weight: 500;
        background-color: var(--cl-main);
        color: #fff;
        width: 100%;
        max-width: 300px;
        margin-inline: auto;
    }
}

.sec-philosophy_inner {
    margin-inline: auto;
    width: 100%;
    max-width: 700px;
    background-color: #fff;
    border-radius: 16px;
    padding-block: 30px 50px;
    padding-inline: 20px;
    box-shadow: 0px 3px 5px #33333309;
}

/*
特徴
.sec-feature
———————————*/
.sec-feature {
    padding-block: 70px 100px;
    background-color: #E8F5F1;
}

.bl-feature {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 800px;
    place-content: center;
    margin-inline: auto;
    gap: 30px;

    li {
        background-color: #fff;
        padding: 30px;
        border-radius: var(--kadomaru);
        display: grid;
        gap: 30px;
        grid-template-columns: 100px 1fr;
        box-shadow: 0px 3px 5px rgba(var(--cl-main-rgb) /0.1);

        .st-ttl {
            font-size: 2rem;
            color: var(--cl-brown);
            margin-bottom: 10px;

            span {
                color: var(--cl-main);
            }
        }

        .st-txt {
            font-size: 1.6rem;
            line-height: 1.6;
        }
    }
}

/*
診療内容
.sec-medic
———————————*/
.sec-medic {
    padding-block: 70px 100px;
    background-color: #F4F9EE;

    h3 {
        font-size: 2.5rem;
        text-align: center;
        color: var(--cl-brown);
        margin-bottom: 20px;
    }

    section {
        max-width: 600px;
        margin-inline: auto;

        &:not(:last-child) {
            margin-bottom: 60px;
        }
    }
}

.sec-medic_target {
    li {
        border-radius: var(--kadomaru);
        background-color: #fff;
        box-shadow: 0px 3px 5px #3333331b;
        padding: 10px;
        font-size: 1.8rem;
        color: var(--cl-brown);
        font-weight: 500;

        &:not(:last-child) {
            margin-bottom: 0.8em;
        }
    }
}

.sec-medic_area {
    .st-content {

        text-align: center;
        color: var(--cl-brown);

        picture {
            margin-bottom: 16px;
            display: block;
        }

        img {
            width: 100%;
            display: inline;
        }

        .st-txt {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-bottom: 20px;
            background-color: #fff;
            border-radius: var(--kadomaru);
            width: 80%;
            margin-inline: auto;
            padding-block: 10px 20px;
            ;

            .st-ttl_sub {
                font-weight: 700;
                font-size: 2rem;
                margin-top: 8px;

            }

            .st-ttl {
                display: inline-block;
                padding-bottom: 8px;
                font-size: 3rem;
                line-height: 1;

                span {
                    font-size: 200%;
                }
            }
        }

        .st-notice {
            font-size: 1.6rem;
            font-weight: 500;
            width: 100%;

            span {
                font-size: 2.2rem;
                border-bottom: 4px solid var(--cl-orange);
                padding-bottom: 4px;
                display: block;
                margin-bottom: 8px;
                display: inline-block;
            }
        }
    }
}

.sec-medic_procedure {

    ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        background-color: #fff;
        padding-left: 0;
        border-radius: var(--kadomaru);

        li {
            border-bottom: 1px solid var(--cl-sub);
            padding: 10px;

            &:nth-of-type(2n-1) {
                border-right: 1px solid var(--cl-sub);
            }
        }


    }
}

/*
医師スタッフ
.sec-member
———————————*/
.sec-member {
    background-color: var(--cl-base);
    padding-block: 50px;
}

/*———————————
フッター
———————————*/