@charset "utf-8";

.cn {
    color: #4fb16d
}

.cnk {
    color: #288344
}

.red {
    color: #ff0000;
}

.bd {
    font-weight: bold
}

.hr-dots {
    border: 0;
    height: 1px;
    margin: 2.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr-dots::before {
    content: '•••';
    font-size: 1.25em;
    letter-spacing: .75em;
    opacity: .75;
}

.cl-tag {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 10px 0;
}

/*.dot {
	width: 80px;
padding-top: .4em;
background-position: top left -2px;
background-repeat: repeat-x;
background-size: 1.0em .3em;
background-image: radial-gradient(.12em .12em at center center,#4fb16d,#4fb16d 100%,transparent);
}*/

.dot {
    width: 30px;
    padding-bottom: .3em;
    border-bottom: 2px solid #4fb16d;

}

.dot1 {
    width: 90%;
    padding: 1.0em;
    border-bottom: 1px dotted #1f7239;

}

.balloon1 {
    position: relative;
    display: inline-block;
    margin: 2.5em 0;
    padding: 10px 25px;
    min-width: 220px;
    max-width: 100%;
    color: #fff;
    font-size: 16px;
    background: #4fb16d;
}

.balloon1:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #4fb16d;
}



/*----------------------------------------*/

/* FV */
.fv {
    position: relative;
    background: url("img/kasugai.jpg") center/cover no-repeat;
    padding: 120px 40px;
    color: #111;
}

.fv-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
}

.fv-inner {
    position: relative;
    max-width: 900px;
}

/* バッジ */
.fv-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #e85956, #ff9a8b);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg);
    font-size: 1.1rem;
    color: #ffffff;
}

.badge-inner {
    transform: rotate(8deg);
    text-align: center;
    font-weight: bold;
}

/* テキスト */
.fv-top {
    background: #eeeeee;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
}

h1 {
    font-size: 1.8rem;
}

.fv-sub {
    margin: 10px 0 20px;
    color: #4fb16d;
}

/* アイコン */
.fv-icons {
    display: flex;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    /*    justify-content: center;*/
}

.icon-item {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}


/* ボタン */
.btn {
    display: inline-block;
    background: #4fb16d;
    color: #111;
    padding: 12px 20px;
    border-radius: 30px;
    margin-right: 10px;
    text-decoration: none;
    font-size: 1.0rem;
}

.btn_a {
    display: inline-block;
    background: #c45b88;
    color: #111;
    padding: 12px 20px;
    border-radius: 30px;
    margin-right: 10px;
    text-decoration: none;
    font-size: 1.0rem;
}

.btn.outline {
    background: transparent;
    border: 1px solid #fff;
}

.fv-btn .btn, .btn_a{
    color: #ffffff;
    text-align: center;
}


/* =========================
  レスポンシブ
========================= */
@media (max-width: 1290px) {

    h1 {
        font-size: 1.6rem;
    }

    .fv h2 {
        font-size: 1.4rem;
    }

    .fv h3 {
        font-size: 1.3rem;
    }

    .fv h4 {
        font-size: 1.2rem;
    }

    .btn {
        width: 50%;

    }

    .btn_a {
        width: 50%;

    }

    .fv-badge {
        width: 75px;
        height: 75px;
    }

    .fv-badge h4 {
        font-size: 0.9rem;
    }


}

/*------------------------------------------*/
/* 特徴 */

.features {
    position: relative;
    padding: 80px 20px;
    background: #f7faf9;
    overflow: hidden;
    text-align: center;
}

/* ぼかし背景 */
.features::before {
    content: "";
    position: absolute;
    inset: 0;

    background: url("img/bg1.jpg") center/cover no-repeat;

    opacity: 0.3;
}

/* グラデで整える 
.features::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.9),
    rgba(230,245,240,0.9)
  );
}
*/
/* コンテンツ前面 */
.features .container {
    position: relative;
    z-index: 1;
}


.feature-list {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
}

.feature-item img {
    width: 100%;
    border-radius: 10px;
}

.feature-item p {
    padding: 0 20px;
    text-align: left;
    text-align: justify;
}


/* =========================
  レスポンシブ
========================= */
@media (max-width: 1290px) {

    .features h3 {
        font-size: 1.3rem;
    }

    .features h4 {
        font-size: 1.1rem;
    }

    .feature-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}


/* 診療時間 */

.time {
    padding: 80px 20px;
    background: #ffffff;
}

/* 横並び */
.time-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* 左ボックス */
.time-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* テーブル */
.time-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.time-table th {
    background: #4fb16d;
    color: #ffffff;
}

.time-table th,
.time-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.sat {
    color: #f39c12;
}

.sun {
    color: #e74c3c;
}

.box-bg {
    background: rgb(224, 203, 248, 0.2);
    padding: 5px 15px;
    border-radius: 8px;
}

/* 右画像 */
.time-img {
    position: relative;
    flex: 1;
}

.time-img img {
    width: 100%;
    border-radius: 20px;
}

/* コピー（斜めっぽく） */
.time-copy {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ff7f2a;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: bold;
}

.time-img img {
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(10px);
}

/* =========================
  レスポンシブ
========================= */

@media (max-width: 1290px) {
    .time-inner {
        flex-direction: column;
    }

    .time-copy {
        font-size: 1rem;
    }
}



/* =====================
   医師カード
===================== */

.doctor-overview {
    padding: 80px 20px;
    /*	background: linear-gradient(135deg, #e8f8f5, #f7fffd);*/
}

/* 横並び */
.doc-wrap {
    display: flex;
    gap: 40px;
    align-items: stretch;
}


.doc-card {
    width: 420px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 10px 30px;
    z-index: 5;
}

.doc-card img {
    width: 100%;
    display: block;
}

.doc-info {
    padding: 20px;
}

.doc-position {
    display: inline-block;
    background: linear-gradient(135deg, #4fb16d, #519565);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.doc-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 10px;
}

.doc-text {
    line-height: 1.6;
    margin-bottom: 15px;
}

.doc-tags span {
    display: inline-block;
    border: 1px solid #4fb16d;
    color: #4fb16d;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 5px;
}

/* =====================
   概要ボックス
===================== */
.clinic-overview {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 10px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


.clinic-overview img {
    width: 100%;
    display: block;
    padding-bottom: 30px;
}

/* リスト */
.overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overview-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* 左ラベル */
.label {
    /*background: linear-gradient(135deg, #43C6AC, #2e7d32);*/
    background: linear-gradient(135deg, #4fb16d, #519565);
    color: #fff;

    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    min-width: 100px;
    text-align: center;
    margin-right: 15px;
}

/* 右テキスト */
.value {

    color: #333;
}

/* =========================
  レスポンシブ
========================= */
@media (max-width: 1290px) {

    .doc-wrap {
        flex-direction: column;
    }

    .doc-card {
        width: 88%;
    }

    .overview-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .label {
        margin-bottom: 5px;
    }

}

/* 診療内容　*/
.medical {
    padding: 80px 20px;
    /*	background: linear-gradient(135deg, #e8f8f5, #f7fffd);*/
    text-align: center;
}

.medical-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.medical-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 140px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.medical-item .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/*施設・設備*/

.equipment {
    padding: 80px 20px;
    background: #f7fafc;
    overflow: hidden;
    text-align: center;
}

/* スライダー */
.equip-slider {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
}

/* 横並び */
.equip-track {
    display: flex;
    width: max-content;
    animation: scroll 35s linear infinite;
    ← 早く25s → 遅く50sに変更 */
}

.equip-slider {
    overflow: hidden;
    cursor: grab;
}

.equip-slider:active {
    cursor: grabbing;
}

.equip-track {
    display: flex;
    width: max-content;
}





/* カード */
.equip-item {
    width: 240px;
    margin-right: 20px;
    text-align: center;
}

.equip-item img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* キャプション */
.equip-item p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #333;
}

/* 自動スクロール */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ホバーで停止 */
.equip-slider:hover .equip-track {
    animation-play-state: paused;
}






/*アクセス*/
.access {
    padding: 30px 20px;
    background: #f7faf9;
    text-align: center;
}

.access-inner {
    margin-top: 50px;
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* 左：地図 */
.access-map {
    flex: 1;
    width: 100%;
}

/* 右：テキスト */
.access-info {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.access-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* タグ */
.access-tags span {
    display: inline-block;
    background: #43C6AC;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-top: 10px;
    font-size: 0.9rem;
}

@media (max-width: 1290px) {
    .access-map {
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 75%;
        /* 比率を4:3に固定 */
    }

    /* Google Mapのiframe */
    .access-map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* top pageへ戻る
-----------------------------------*/

.to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;

    width: 60px;
    height: 60px;
    border-radius: 50%;

    background: linear-gradient(135deg, #99A2DF, #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);
}



/*----------------------------------*/
/*.wave {
	position: relative;
	height: 40px;
	background: #ffffff;
}

.wave::before {
	content: "";
	position: absolute;
	top: -40px;
	width: 100%;
	height: 40px;
	background: #fff;
	border-radius: 50% 50% 0 0;
}

.wave1 {
	overflow: hidden;
	position: relative;
	height: 100px;
}

.wave1::before {
	content: "";
	position: absolute;
	z-index: 3;
	pointer-events: none;
	background-repeat: no-repeat;
	bottom: -0.1vw;
	left: -0.1vw;
	right: -0.1vw;
	top: -0.1vw;
	transform: scaleX(4);
	transform-origin: 100% 0;
	animation: 10s infinite alternate shape-anim-8266 linear;
	background-size: 100% 100px;
	background-position: 50% 0%;
	background-image: url('data:image/svg+xml;charset=utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none">\
<path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23e8f0ee"/>\
<path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23e8f0ee"/>\
<path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23dfe9e7"/>\
</svg>');
}


.wave2 {
	overflow: hidden;
	position: relative;
}

.wave2::before {
	content: '';
	position: absolute;
	z-index: 3;
	pointer-events: none;
	background-repeat: no-repeat;
	bottom: -0.1vw;
	left: -0.1vw;
	right: -0.1vw;
	top: -0.1vw;
	background-size: 100% 142px;
	background-position: 50% 100%;
	background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.67c-3.07-.55-9.27.41-16.15 0-6.87-.4-13.74-.58-19.13.1v.4h35.28z" fill="%23ffffff"/></svg>');
}



.wave-top {
	overflow: hidden;
	position: relative;
}

.wave-top::before {
	content: '';
	font-family: 'shape divider from ShapeDividers.com';
	position: absolute;
	z-index: 3;
	pointer-events: none;
	background-repeat: no-repeat;
	bottom: -0.1vw;
	left: -0.1vw;
	right: -0.1vw;
	top: -0.1vw;
	background-size: 100% 142px;
	background-position: 50% 0%;
	background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23ffffff"/></svg>');
}

@media (min-width:2100px) {
	.wave-top::before {
		background-size: 100% calc(2vw + 142px);
	}
}



.wave-bottom {
	overflow: hidden;
	position: relative;
}

.wave-bottom::before {
	content: '';
	font-family: 'shape divider from ShapeDividers.com';
	position: absolute;
	z-index: 3;
	pointer-events: none;
	background-repeat: no-repeat;
	bottom: -0.1vw;
	left: -0.1vw;
	right: -0.1vw;
	top: -0.1vw;
	background-size: 100% 142px;
	background-position: 50% 100%;
	background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.67c-3.07-.55-9.27.41-16.15 0-6.87-.4-13.74-.58-19.13.1v.4h35.28z" fill="%23ffffff"/></svg>');
}

@media (min-width:2100px) {
	.wave-bottom::before {
		background-size: 100% calc(2vw + 142px);
	}
}



@media (min-width:2100px) {
	.wave2::before {
		background-size: 100% calc(2vw + 142px);
	}
}




@media (min-width: 2100px) {
	.wave1::before {
		background-size: 100% calc(2vw + 100px);
	}
}

@keyframes wave1 {
	100% {
		transform: scaleX(4) translateX(calc(100% - (100% / 4)));
	}
}

*/


/* section 区切り
--------------------------------------------------*/

.section-wave {
    position: relative;
}

.section-wave::before,
.section-wave::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}


.section-wave::before {
    top: -1px;
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml;charset=utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35.28 2.17' preserveAspectRatio='none'>\
<path d='M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z' fill='%23f7faf9'/>\
<path d='M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z' opacity='.5' fill='%23e8f0ee'/>\
<path d='M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z' opacity='.5' fill='%23dfe9e7'/>\
</svg>");
}

.section-wave::after {
    bottom: -1px;
    background-image: url("data:image/svg+xml;charset=utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35.28 2.17' preserveAspectRatio='none'>\
<path d='M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z' fill='%23f7faf9'/>\
<path d='M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z' opacity='.5' fill='%23e8f0ee'/>\
<path d='M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z' opacity='.5' fill='%23dfe9e7'/>\
</svg>");
}

.section-wave::after {
    mix-blend-mode: multiply;
    opacity: 0.7;
}

@media (max-width: 1290px) {

    .doctor-inner,
    .access-inner,
    .medical-list,
    .feature-list {
        flex-direction: column;
    }

    .facility-list {
        grid-template-columns: repeat(2, 1fr);
    }

}
