@charset "utf-8";
/* リセット */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

:root {
 --m-box: clamp(75px, 20vw, 100px);
}

body {
 position: relative;
 font-size: 16px;
 color: #000;
 line-height: 1;
 margin: 0;
 background-color: #fff;
}

h1,h2,h3,h4,h5,h6,p,tl,td,ul,dd {
 margin: 0;
 padding: 0;
 list-style: none;
}

a {
 color: inherit;
 text-decoration: none;
}

/* 共通 */
p {
 font-size: clamp(15px,1.5vw,20px);
}

/* ヘッダーここから */
.header {
 position: absolute;
 height: 250px;
 width: 100%;
 margin-top: 0;
 background-color: rgba(255,255,255,0.5);
 z-index: 500;
}

.header_innner {
 display: flex;
 justify-content: space-between;
 margin: auto auto;
}

.clinic {
 display: flex;
}

.clinic > img {
 width: clamp(44.2px,7.36vw,95px);
 margin-top: 12px;
 margin-left: 5vw;
}

.clinic_name {
 margin-top: 27px;
 font-family: 'M PLUS Rounded 1c', sans-serif;
 font-size: clamp(18px,2vw,26px);
}

.header_add {
 margin-top: 50px;
}

.header_add::before {
 content:"";
 display:block;
 width:50vw;
 height:14px;
 background-color:rgba(104,170,214,0.9);
 border-radius: 10px; 
 margin-bottom: 0.5em;
}


.add {
 display: block;
 font-size: clamp(11.16px,1.86vw,15px);
}

/* ナビゲーションメニュー */
.nav_box {
 margin-top: 0.5em;
 margin-left: clamp(118.62px,19.77vw,255px);
 margin-right: 0;
 height: 120px;
 /* width: clamp(775px,129.15vw,1666px); */
 background-color:rgba(104,170,214,0.9);
}

.nav_menu > ul {
 font-size: clamp(14px,2vw,18px);
 display: flex;
 align-items: center;
 /* justify-content: space-around; */
}

.nav_menu >ul >li {
 margin-top: 2.5em;
 flex-grow: 1;
 text-align: center;
}

.nav_menu li+ li {
 position: relative;
} 

.nav_menu li+ li ::before {
 content: "";
 display: block;
 height: 38px;
 width: 6px;
 background-color:  #5389ad;
 border-radius: 10px; 
 position: absolute;
 top: -0.5em;
 bottom: 0; 
}

.nav_menu >ul >li:hover {
 color: #fff;
}


/* ヒーロー */
.hero {
 position: absolute;
 top: 0;
 left: 0%;
 height: 100vh;
 width: 100%;
 background-image: url(../img/hero_bg.jpg);
 background-size: cover;
}

/* うけつけ診察時間 */
/* 外枠 */
.header_sch_box,.sch_box {
 width:clamp(338.5px, 33.85vw, 650px);
 height: 400px;
 border-radius: 5%;
}

.header_sch_box {
 position: absolute;
 display: flex;
 flex-direction: column;
 bottom: 10vh;
 left: 5em;
 background-color: rgba(99,99,99,0.5);
 /* width: 660px;
 height: 500px; */
 /* grid-column: 2 / 5;
 grid-row: 2 / 5; */
}

h3 {
 font-size: clamp(24px,2vw,28px);
 font-weight: 400;
 font-family: 'M PLUS Rounded 1c', sans-serif;
}

.header_sch_box > h3 {
 position: absolute;
 top: 2em;
 left: 2em;
 letter-spacing: 0.3em;
 color: #fff;
}

/* 内枠 */
.header_sch,.schedule {
 height: 250px;
 border-radius: 5%;
 display: flex;

 /* padding-left: 1em; */
 background-color: rgba(255,255,255,0.5);
}

.header_sch {
 width: clamp(286.5px, 28.65vw, 550px);
 align-items: flex-start;
 margin: auto auto;
 margin-top: 110px;
 padding-top: 35px;
}

.dayoff {
 position: absolute;
 bottom: 3em;
 right: 5em;
}

table {
 padding-left: 1em;
 padding-right: 1em;
 font-size: clamp(14px,1.2vw,20px);
}

.td_time {
 text-align: center;
 width: clamp(83.3px, 8.33vw, 160px);
 height: 50px;
 background-color: #fff5ea;
}

.td_day {
 text-align: center;
 width: clamp(33.9px, 3.39vw, 65px);
 background-color: #fff;
}

/* 予約案内 */
.reserve {
 position: fixed;
 bottom: 0;
 right: 5em;
 width: clamp(278.6px, 27.86vw, 400px);
 height: 200px;
 background-color:rgba(104,170,214,0.9);
 font-family: 'M PLUS Rounded 1c', sans-serif;
 text-align: center;
 /* border-radius: 5%; */
}

.reserve > h3 {
 text-align: center;
 margin-top: 1em;
 font-weight: 400;
 color: #fff;
}

.reserve > h3:hover {
 color: #333B54;
}
.reserve > p {
 text-align: center;
 margin-top: 30px;
 font-size: clamp(15px,1.5vw,20px);
}

.reserve > span {
 font-size: clamp(12px,1.2vw,16px);
}

.telno {
 display: flex;
 flex-direction: row;
 justify-content: center;
 margin-top: 20px;
 margin-bottom: 15px;
 font-size: clamp(18px,1.8vw,20px);
}

.fa-solid,.tel {
 display: block;
}

/* メインここから */
main{
 padding-top: 960px;
 background-color: #F0E1D0;
 padding-bottom: 150px;
}

.main_inner {
 width: calc(100vw - 10em);
 margin: auto auto;
}

h4 {
text-align: center;
font-size: clamp(24px,2vw,28px);
font-weight: 400;
font-family: 'M PLUS Rounded 1c', sans-serif;
letter-spacing: 0.2em;
margin-top: 120px;
}

h4::after {
 content:"";
 display:block;
 width:6em;
 height:2px;
 background-color:#000;
 margin: auto auto;
 margin-top: 0.5em;
}

.sinryo_menu {
 display: flex;
 flex-direction: row;
 justify-content: space-around;
 margin-top: 60px;
}

.kaku_sinryo {
 display: flex;
 flex-direction: column;
 width: clamp(235px, 23.5vw, 450px);
}

.kaku_sinryo > img {
 width: clamp(235px, 23.5v6w, 450px);
 margin-bottom: 0.5em;
}

.kaku_sinryo > dl >dt {
 display: inline;
 font-size: clamp(18px,2vw,20px);
 padding: 0.4em;
 background-color: rgba(255,255,255,0.8);
 border-radius: 5%;
}

.kaku_sinryo > dl >dt:hover {
 background-color: rgba(99,99,99,0.8);
 color: #fff;
}

dd {
 margin-top: 2em;
 margin-bottom: 2em;
 line-height: 1.5;
}

/* クリニックについて */
.map {
 margin-top: 60px;
}

.map > iframe {
 width: 100%;
 margin-bottom: 20px;
}

/* 受付時間について */
.about_time {
 margin-top: 60px;
 padding-bottom: 20px;
 display: flex;
 justify-content: space-around;
 align-items: flex-end;
}

.schedule {
 display: flex;
 flex-direction: column;
 width: clamp(500px, 50vw, 960px);
 align-items: flex-start;
 justify-content: space-evenly;
}

.schedule > table {
 margin-top: 1em;
 font-size: clamp(16px,1.4vw,24px);
}

.schedule > p {
 margin-left: 3em;
}

.for_main > .td_time {
 text-align: center;
 width: clamp(250px, 25vw, 480px);
 height: 50px;
 background-color: #fff5ea;
}

.for_main > .td_day {
 text-align: center;
 width: clamp(50px, 5vw, 96px);
 background-color: #fff;
}

.time_text {
 width: auto;
 margin-left: 2em;
 line-height: 1.2;
}

.about_telno {
justify-content: flex-start;
margin-top: 1em;
margin-bottom: 0.5em;
}

.link_buttom {
 font-size: clamp(18px,2vw,20px);
 padding: 0.4em;
 background-color: rgba(255,255,255,0.8);
 border-radius: 5%;
 margin-top: 1em;
 line-height: 1.5;
}

.link_buttom:hover {
 background-color: rgba(99,99,99,0.8);
 color: #fff;
}

/* 医師について */
.about_doctor {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 margin-top: 60px;
 gap: 20px;
}

.doctor_text {
 width: 40vw;
 line-height: 1.5;
}

.for_center_link {
 text-align: center;
}

.link_buttom_dr {
display: inline-block;
}

.doctor_photo > img {
 width: 40vw;
}

/* フッター */
footer {
 height: 300px;
 background-color: #575757;
}

.footer_innner {
 width: calc(100vw - 10em);
 margin: auto auto;
}

.footer_text_box {
 position: absolute;
 bottom: 2em;
}

.footer_clinic {
 color: #fff;
}

.footer_clinic > img {
 margin-left: 0;
 margin-bottom: 0.5em;
}

.footer_add {
 margin-left: 1em;
 color: #dbdbdb;
}