@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

html,
body {
    margin: 0;
    padding: 0;
}


body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    background: #f3f8fb;
    color: #222;
    font-size: 17px;
}

h1,
h2,
h3,
h4 {
    font-family: "Noto Serif JP", serif;
    font-weight: 800;
    font-style: normal;
}

h1 {
    font-size: 2.3vw;
}


h2 {
    font-size: 2vw;
}

h3 {
    font-size: 1.8vw;
}

h4 {
    font-size: 1.4vw;
}

.dot {
	width: 30px;
	padding-bottom: .3em;
	border-bottom: 2px solid #4fa3d1;

}


.t-c {
    text-align: center
}

.t-l {
    text-align: left
}

.t-r {
    text-align: right
}

a {
	color: #333333;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;

}


.mt30 {
    margin-top: 30px
}

.mt50 {
    margin-top: 50px
}

.mt100 {
    margin-top: 100px
}

.mb30 {
    margin-bottom: 30px
}

.mb50 {
    margin-bottom: 50px
}

.mb100 {
    margin-bottom: 100px
}

.mr20{
	margin-right: 20px;

}

.p15{padding: 15px;}

.en {
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}


/* 色 */
.info {
    color: #579a73;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: normal;
}

.kasu {
    color: #4591ba;
}

.se {
    color: #8970d1;
}

.naga {
    color: #de9416;
}

.bg-eye {
    background: linear-gradient(135deg, #e8f4fb, #f5fbff);
}


.f25 {
    font-size: 28px;
		font-family: "Noto Serif JP", serif;
	font-weight: 600;
}
.f18 {
    font-size: 18px;
}

.f20 {
    font-size: 20px;
    font-weight: bold;
}

.f14 {
    font-size: 1.4vw;
}


.fs {
    font-size: 95%;
}

.red{color:#d65a5a;}


.container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
}

#container {
    animation: opa1 0.2s 0.2s both;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/*　写真up　*/
.inview-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.4s ease;
}

/* 表示後 */
.inview-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

/*-------------------------------------*/

/*スライド*/


.mainimg-slide1-parts * {
    margin: 0;
    padding: 0;
}

.mainimg-slide1-parts .slide-parts picture {
    display: block;
    width: 100%;
    height: 100%;
}

/*スライドショー全体を囲むブロック*/
.mainimg-slide1-parts {
    width: 100%;
    position: relative;
}

/*３枚の画像の共通設定*/
.mainimg-slide1-parts .slide-parts {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s;
    /*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。１枚が表示される時間はjsで指定できます。*/
    overflow: hidden;
}

/*１枚目画像（変更不要）*/
.mainimg-slide1-parts .img1-parts {
    position: relative;
    width: 100%;
    height: auto;
}

/*画像全般（変更不要）*/
.mainimg-slide1-parts .slide-parts img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*画像をコンテナのサイズに合わせてクリップ*/
    object-position: center;
    /*画像の中心を基準に*/
}


/*スライドショー上のテキスト
---------------------------------------------------------------------------*/
/*テキストブロックの基本設定（中央配置がデフォルト）*/
.mainimg-slide1-parts .slide-parts .text-parts {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 3vw;
    color: #fff;
    /*文字色*/
    text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
    /*テキストの影。右へ、下へ。rgbaは影の色。*/
}

/*テキストブロックを左に配置させたい場合*/
.mainimg-slide1-parts .slide-parts .text-parts.left-parts {
    align-items: flex-start;
    text-align: left;
}

/*テキストブロックを右に配置させたい場合*/
.mainimg-slide1-parts .slide-parts .text-parts.right-parts {
    align-items: flex-end;
    text-align: right;
}

/*テキストブロックをインラインにする為のブロック*/
.mainimg-slide1-parts .slide-parts .text-parts .text-bg-parts {
    display: inline-flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2vw 3vw;
    /*上下、左右へのブロック内の余白。*/
    background: rgba(0, 0, 0, 0.5);
    /*背景色。0,0,0は黒の事で0.5は色が50%出た状態。*/
    border-radius: 5px;
    /*角を少し丸くする*/
    width: 65vw;
    /*幅。画面幅100% = 100vwです。*/
}

/*h2（大きな文字）*/
.mainimg-slide1-parts .slide-parts .text-parts h2 {
    line-height: 1.5;
    font-weight: 500;
    /*テキストの太さ。100〜900まで指定可能。*/
    font-size: 4vw;
    /*文字サイズ。１文字あたり画面幅の約4%。*/
}

/*p（説明テキスト部分）*/
.mainimg-slide1-parts .slide-parts .text-parts p {
    font-size: 1.2rem;
    /*文字サイズ90%*/
}


/*現在表示されているスライドのみをクリック可能にする設定（変更不要）
---------------------------------------------------------------------------*/
.mainimg-slide1-parts .slide-parts {
    pointer-events: none;
    /* デフォルトでクリックを無効にする */
}

.mainimg-slide1-parts .slide-parts.active {
    pointer-events: auto;
    /* 表示中のスライドのみクリックを有効にする */
}


/*現在表示中（インジケーター）のボタン
---------------------------------------------------------------------------*/
/*全体*/
.mainimg-slide1-parts .slide-indicators {
    text-align: center;
    position: absolute;
    z-index: 3;
    width: 100%;
    bottom: 2vw;
    /*ボタンの配置場所*/
    left: 0px;
}

/*１個あたり*/
.mainimg-slide1-parts .indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    /*未アクティブ時のボタン色*/
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.mainimg-slide1-parts .indicator.active {
    background: #d00000;
    /*アクティブ時のボタン色*/
}

/*-------------------------------------
　背景セクション
--------------------------------------*/

.section01 {
    padding: 70px 0px;
}


/* グリッド */
.section01 .container {
    max-width: 1100px;
    margin: 0 auto;
}

/*-------------------------------------
　背景白セクション
--------------------------------------*/

.section00 {
    padding: 70px 0px;
    background: #ffffff;
}


/* グリッド */
.section00 .container {
    max-width: 1100px;
    margin: 0 auto;
}
/*-------------------------------------*/
/* FV */
.fv {
    background: url("img/fv.jpg") center/cover no-repeat;
    padding: 140px 20px;
    text-align: left;
    color: #2c5f73;
}

.fv-inner {
    max-width: 500px;
}

.fv h2 {
    font-size: 34px;
}

.fv-btns {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 30px;
    /*	background: #6bb7c7;*/
    color: #fff;
    margin: 10px;
}

.btn.green {
    background: #7dc2a5;
}

.btn.white {
    background: #fff;
    color: #333;
}

/* クリニック */
.clinic {
    padding: 80px 0;
    text-align: center;
}

.clinic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0px;
}


.card {
    position: relative;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    margin: 15px;
}

.card p {
    margin: 0 15px 15px;
}


.card span {
    position: absolute;
    top: 0;
    /*画像の左上に配置*/
    left: 0;
    margin: 0;
    width: 100%;
    /*余計な隙間を除く*/

}

.kasugai {
    color: white;
    /*文字を白に*/
    background: #60B56C;
    /*背景色*/
    font-size: 16px;
    line-height: 1;
    /*行高は1に*/
    padding: 10px 15px;
    /*文字周りの余白*/
}

.seto {
    color: white;
    /*文字を白に*/
    background: #78B8D3;
    /*背景色*/
    font-size: 16px;
    line-height: 1;
    /*行高は1に*/
    padding: 10px 15px;
    /*文字周りの余白*/
}

.nagakute {
    color: white;
    /*文字を白に*/
    background: #99A2DF;
    /*背景色*/
    font-size: 16px;
    line-height: 1;
    /*行高は1に*/
    padding: 10px 15px;
    /*文字周りの余白*/
}

.basic {
    background: #4fa3d1;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    /*行高は1に*/
    padding: 10px 15px;
}


/* 診療 */

.medical-services {
    padding: 70px 0px;
    background: #f9fbfd;
    text-align: center;
}


/* タイトル */
.section-title {
    font-size: 22px;
    margin-bottom: 40px;
    color: #2c5f73;
    position: relative;
}

/* グリッド */
.service-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 70px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    margin-bottom: 50px;
}

/* 各アイテム */
.service-item {
    width: 120px;
    text-align: center;
    transition: 0.3s;
}

/* 丸背景 */
.icon-circle {
    width: 110px;
    height: 110px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d9edf7, #eaf6fb);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b6eaf5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.service-item {
    cursor: pointer;
}

.icon-circle {
    transition: all 0.35s ease;
}

.service-item {
    cursor: pointer;
}

.service-item .icon-circle {
    transform: scale(1.05);
}


/* グリーンアクセント（画像の再現） */
.icon-circle.green {
    background: linear-gradient(135deg, #dff5ea, #eefcf6);
}

/* アイコン画像 */
.icon-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* テキスト */
.service-item p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* ホバー */
.service-item:hover .icon-circle {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}


/* メディカルアイケアーについて
-------------------------------------------*/
.medical-care {
    padding: 60px 20px;
    background: #fff;
}

.medical-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, #e8f4fb, #f5fbff);
    border-radius: 16px;
    padding: 40px;
    z-index: 2;
    position: relative;
}

.medical-care {
    position: relative;
    padding: 80px 20px;
    overflow: hidden;
}

/* 左上の装飾 */
.medical-care::before {
    content: "";
    position: absolute;
    top: 0px;
    left: -10px;
    width: 250px;
    height: 250px;
    background: #ffeefa;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(20px);
    z-index: 0;
}

/* 右下の装飾 */
.medical-care::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: #ccf5ca;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(20px);
}

/* 左 */
.medical-text {
    flex: 1.2;
}

.medical-text h2 {
    font-size: 22px;
    color: #2b5c7a;
    margin-bottom: 15px;
}

.medical-text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 中央（ドクター） */
.doctor {
    flex: 0.8;
    text-align: center;
}

.doctor img {
    max-width: 360px;
    width: 100%;
}

/* 右（ミッション） */
.mission {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission h3 {
    font-size: 16px;
    color: #2b5c7a;
    margin-bottom: 10px;
}

.mission ul {
    list-style: none;
    padding: 0;
}

.mission li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 14px;
}

.mission li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #6bbf8f;
}


/* レスポンシブ */
@media (max-width: 1290px) {
    .medical-inner {
        flex-direction: column;
        text-align: center;
    }

    .mission {
        width: 100%;
    }
    
}



/* ======================
   セクション
====================== */
.sec04 {
    padding: 80px 20px;
    background: #f9fbfd;
}

.sec04 .container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ======================
   レイアウト
====================== */
.sec04 .row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.sec04 .row:last-child {
    margin-bottom: 0;
}

.sec04 .row.reverse {
    flex-direction: row-reverse;
}

.sec04 .col_2 {
    flex: 1;
}

/* ======================
   画像
====================== */
.sec04 .sec_img {
    position: relative;
}

.sec04 .sec_img img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    display: block;
}

/* ======================
   数値オーバーレイ（統一）
====================== */
.sec04 .text_box {
    position: absolute;
    bottom: -50px;
    left: -50px;
    background: linear-gradient(135deg,
            rgba(200, 255, 230, 10),
            rgba(120, 220, 180, 0.45));

    color: #fff;
    backdrop-filter: blur(8px);

    line-height: 1.6;
    color: #333;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* 数値 */
.sec04 .sec_span {
    font-size: 32px;
    font-weight: bold;
    color: #2b5c7a;
    margin-right: 4px;
}

/* 単位 */
.sec04 .sec_span2 {
    font-size: 16px;

}

/* ======================
   テキスト
====================== */


.sec04 .sec_text {

    line-height: 1.8;
    color: #222;
}

.sec04 .sec_text span {
    background: linear-gradient(135deg,
            rgba(255, 220, 170, 0.5),
            rgba(250, 220, 180, 0.5));
    padding: 10px 10px;
}


.sec04 .title_wrap {
    position: relative;
}

/* 英語（後ろ） */
.sec04 .sec_title {
    font-size: 60px;
    letter-spacing: 0.1em;
    color: rgba(107, 191, 143, 0.25);

    position: absolute;
    top: -100px;
    left: -5px;
    z-index: 1;

    pointer-events: none;
    /* クリック邪魔しない */
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

/* 日本語（前） */
.sec04 .sec_title2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.6;
    color: #2b5c7a;

    position: relative;
    z-index: 2;

    padding-top: 20px;
    /* ←ズラし */
    padding-left: 0px;
    /* ←ズラし */
}


/* ======================
   PC / SP
====================== */
.pc {
    display: block;
}

.sp {
    display: none;
}

/* ======================
   レスポンシブ
====================== */
@media (max-width: 1290px) {

    .sec04 {
        padding: 60px 15px;
    }

    .sec04 .row {
        flex-direction: column;
        gap: 30px;
    }

    .sec04 .row.reverse {
        flex-direction: column;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .sec04 .sec_title2 {
        font-size: 18px;
    }

    .sec04 .sec_span {
        font-size: 26px;
    }

    .sec04 .text_box {
        bottom: 10px;
        left: 10px;
        padding: 10px 12px;
    }
}


/*
-----------------------------------*/
/*others-overlay1-parts
---------------------------------------------------------------------------*/
/*２つのボックスを囲むブロック*/
.others-overlay1-parts {
    display: flex;
}

.others-overlay1-parts a {
    text-decoration: none;
    display: block;
}

/*ボックス１個あたり*/
.others-overlay1-parts .list-parts {
    flex: 1;
    text-align: center;
    position: relative;
    overflow-y: hidden;
}

/*テキストブロック*/
.others-overlay1-parts .text-parts {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 4rem;
}

/*h4見出し*/
.others-overlay1-parts .text-parts h4 {
    font-family: var(--accent-font), var(--base-font);
    /*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
    font-size: min(56px, 5vw);
    /*基本は5vwで、最大56pxまで*/
    font-weight: normal;
    /*デフォルトの太字を標準に*/
    letter-spacing: 0.05em;
    /*文字間隔を少しだけ広く*/
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

/*h4見出し内のspan（小さな文字）*/
.others-overlay1-parts .text-parts h4 span {
    display: block;
    font-size: 1.8rem;
}

/*段落（p）*/
.others-overlay1-parts .text-parts p {
    /*文字サイズ85%*/
}

/*1つ目（左）の背景画像*/
.others-overlay1-parts .image1-parts {
    background: url("../img/rec2.jpg") no-repeat center center / cover;
}

/*2つ目（右）の背景画像*/
.others-overlay1-parts .image2-parts {
    background: url("../img/rec1.jpg") no-repeat center center / cover;
}

/*マウスオン用のアニメーション*/
.others-overlay1-parts .list-parts::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    /*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
    transition: transform 0.3s 0.1s;
    /*アニメーションの速度（0.3秒）と待機時間（0.1秒）。*/
}

.others-overlay1-parts .list-parts:hover::before {
    transform: translateY(100%);
    /*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}


@media screen and (max-width: 1290px) {

    .others-overlay1-parts {
        flex-direction: column;
    }

}


/* お知らせ
------------------------------------ */
.news {
    padding: 80px 0px;
    background: #fff;
}

.news h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2b5c7a;
}

.news-list {
    list-style: none;
    padding: 0;
}

.news-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

/* 日付 */
.date {

    color: #444;
    width: 95px;
    /* 固定で揃える */
}

/* タグ（サイズ統一） */
.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    /* ← 固定幅 */
    height: 23px;
    /* ← 固定高さ */
    font-size: 15px;
    border-radius: 3px;
    color: #fff;
    flex-shrink: 0;
    /* ← 崩れ防止 */
}

/* 色 */
.tag.info {
    background: #6bbf8f;
}

.tag.kasu {
    background: #4fa3d1;
}

.tag.se {
    background: #a78bfa;
}

.tag.naga {
    background: #f59e0b;
}

/* タイトル */
.news-list a {
    text-decoration: none;
    color: #333;
    flex: 1;
    min-width: 200px;
}

.news-list a:hover {
    color: #4fa3d1;
}

/* リンク */
.news-list a {
    text-decoration: none;
    color: #333;
    flex: 1;
    transition: 0.3s;
}

.news-list a:hover {
    color: #4fa3d1;
}


/* フッター */
footer {
    background: #2c5f73;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* スマホ */
@media(max-width:1290px) {


    .service-grid {
        grid-template-columns: 3fr 1fr;
    }

    
}

@media(max-width:768px) {
    .clinic-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    
}


/* =====================
  固定CTA
===================== */
.fixed-cta {
    display: none;
}



/* =====================
  スマホ
===================== */
@media(max-width:768px) {

    body {
        font-size: 15px;
    }

    h2 {
        font-size: 22px;
    }

    /* FV */
    .fv {
        padding: 100px 20px;
        text-align: center;
    }

    .fv h2 {
        font-size: 22px;
        line-height: 1.4;
    }

    /* ボタン */
    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    /* クリニック */
    .clinic-grid {
        grid-template-columns: 1fr;
    }

    .card {
        margin-bottom: 20px;
    }

    /* 診療 */

    .icon.soft svg {
        width: 48px;
        height: 48px;
        stroke: #3a6f7f;
        stroke-width: 1.8;
        fill: none;

        stroke-linecap: round;
        stroke-linejoin: round;
    }



    .service-list {
        gap: 15px;
    }

    .service-item {
        width: 23%;
    }

    .icon-circle {
        width: 100px;
        height: 100px;
    }

    .icon-circle img {
        width: 55px;
        height: 55px;
    }

    .service-item p {
        font-size: 15px;
    }




    /* CTA固定 */
    .fixed-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .cta {
        flex: 1;
        text-align: center;
        padding: 15px;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
    }

    .cta.tel {
        background: #4fa3b5;
    }

    .cta.web {
        background: #7dc2a5;
    }

    /* フッター余白（CTA分） */
    footer {
        padding-bottom: 80px;
    }
}

@media(max-width:668px) {
    
    .service-list {
        gap: 20px;
    }

    .service-item {
        width: 45%;
    }
}



/* top pageへ戻る
-----------------------------------*/

.to-top {
	position: fixed;
	right: 20px;
	bottom: 30px;

	width: 60px;
	height: 60px;
	border-radius: 50%;

	background: linear-gradient(135deg, #4fa3d1, #7f8be0);
	color: #fff;

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 20px;
	text-decoration: none;

	box-shadow: 0 10px 25px rgba(153, 162, 223, 0.4);

	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);

	transition: 0.3s;
	z-index: 999;
}

/* 表示状態 */
.to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ホバー */
.to-top:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(153, 162, 223, 0.6);
}

.to-top::before {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: rotate(-45deg);
}


