/***********************************/
/*************** 共通 **************/
/**********************************/
html{
    scroll-behavior:smooth;
    box-sizing: border-box;
}
img{
    max-width: 100%;
    height:auto;
}
body {
    width: 100%;
    font-size: 14px;
    color: #666;
    background-color:#c7e3f0;
    font-family: "M PLUS Rounded 1c";
}
/*************************************/
/********* header ********************/
/*************************************/
header {
    width: 100%;
    background-color: #fff;
}
.border{
    width:100%;
    height: 0.3rem;
    background-size: auto auto;
    background-color: #c7e3f0;
}
.logo {
    line-height: 50px;
    padding: 1rem;
    display: flex;
  }
  .logo img{
    height: 50px;
    padding-right: 1rem;
  }
  .nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .gnav {
    display: none;
  }
  a {
    text-decoration: none;
    color:#666;
  }
  a:hover {
    opacity: 0.5;
  }
  /*************************************/
/*========= ナビゲーションのためのCSS ===============*/
/*************************************/
#hamburger-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  display: block;
  z-index: 1000;
  /*ナビのスタート位置と形状*/
  top:-120%;
  left:0;
  width:100%;
  height: 100vh;/*ナビの高さ*/
  background:rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
    /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#hamburger-nav.in{
  top: 0;
}

/*ナビゲーション*/
#hamburger-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  width:100%;
}

/*リストのレイアウト設定*/
#hamburger-nav li{
  list-style: none;
  text-align: center;
  border-bottom:1px solid #666;
  padding:0.5rem;
  margin: 0 1rem;
}
#hamburger-nav li a{
color: #333;
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
top:10px;
right: 10px;
cursor: pointer;
  width: 50px;
  height:50px;
}
/*×に変化*/  
.openbtn1 span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
background-color: #666;
  width: 45%;
}
.openbtn1 span:nth-of-type(1) {
top:15px; 
}
.openbtn1 span:nth-of-type(2) {
top:23px;
}
.openbtn1 span:nth-of-type(3) {
top:31px;
}
.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn1.active span:nth-of-type(2) {
opacity: 0;
}
.openbtn1.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
/********非表示********/
.hikaru,.footer_logo,.tel,.head_title {
  display: none;
}
/*****************************/
/*共通*/
.background {/*白い背景*/
  width:100%;
  background-color: #fff;
  }
.content {/*内容*/
  width: 95%;
  background-color: #fff;
  margin: 0 auto;
  padding-bottom: 0.1rem;
}
/****** ページ下固定 *******/
.banner_parent{
  height: 50px;
  position: fixed;
  bottom:0;
  left:0;
  padding:0;
  z-index: 100;
}
/****共通*****/
.curve01 {
  background: #fff;
  border-bottom-left-radius: 1500px 500px;
  border-bottom-right-radius: 1500px 500px;
  height: 20px;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 100px;
  padding-right: 100px;
}
.curve02 {
  background: #fff;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  width:100%;
  height: 100px;
  margin-left: -100px;
  margin-right: -100px;
  padding-left: 100px;
  padding-right: 100px;
  z-index: 1000;
}
.curve03 {
  background: #fff;
  border-bottom-left-radius: 1500px 500px;
  border-bottom-right-radius: 1500px 500px;
  height: 50px;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 100px;
  padding-right: 100px;
}

/*************************************/
/********* footer ********************/
/*************************************/
.footer_wrap{
    width: 100%;
    margin: 0;
    padding:0;
}
.footer_txt{
  width: 90%;
  margin: 0 auto;
  padding-bottom:1rem;
}
.ft_left {
  display: none;
}
.footer_nav {
    background-color: rgba(255, 255, 255, 0.3);
    padding:0;
}
.footer_nav ul{
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.footer_nav li{
      display: inline-block;
      border-bottom: 1px solid #fff;
      padding: 0.5rem;
    }
.ft_white {
    margin-bottom: 50px;
    background-color: #c7e3f0;
}
.copy_right {
    padding-top:0.5rem;
}
/******** トップへ戻る ************/
.pagetop_before{
  position: relative;
  z-index: 0;
  top: 3.5rem;
  right: -70%;
  width:100px;
  height:120px;
}
.pagetop_after{
  position: relative;
  top: 2.5rem;
  right: -70%;
  width:100px;
  height:120px;
  display: none;
}
.pagetop_a:hover {
  opacity: 100;
}
/*************************************/
/********* index.html ****************/
/*************************************/
#mainvisual {
  width: 100%;
  height: 60vh;
  background-position: center;
  position: relative;
  top: -1rem;
  z-index:-100;
  background-image: url(../img/main.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}
.topics {
  position:relative;
  top: 45vh;
  margin: 0 auto;
  display:inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: normal;
}
/*ニュース1行の周りの余白*/
.slider a{
  display: block;
  background:#fff;
  padding: 1rem;
}
/*日付*/
.slider span {
  display:inline-block;
  font-size:0.8rem;
  margin-right:10px;
  color:#3aabd2;
}
/********　ご来院時のお願い　**********/
.attention {
  width: 90%;
  padding:1rem;
  margin:0 auto;
}
.text_box {
  width: 100%;
  margin: 0 auto;
}
section{
  width: 100%;
  padding-bottom:1rem;
}
.last_section{
  padding-bottom: 0;
}
h2 {
  display: inline-block;
  padding: 0.5rem 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 8px dotted #3aabd2;
}
h3 {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: bold;
}

/********　縦並び　**********/
.parent {
  display: block;
  width: 100%;
  margin: 0 auto;
}
.radius {
  margin: 0 auto 1rem;
}
.medical_radius {
  margin: 0 auto 1rem;
}
/*************** 院長紹介 **************/
.doctor_parent {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top:2rem;
}
.doctor_text {
  width:80%;
  margin: 0 auto;
  padding-top:1rem;
}
table td,th {
  padding: 1rem 0;
  border-bottom:1px solid #ccc;
}
th {
  padding:0.1rem;
}
/*** news ***/
.parent_news {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin:0 auto;
}
.parent_news a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.child_news {
  width: 100%;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.img_box {
  width: 50%;
}
.img_box img {
  border-radius: 1rem 0 0 1rem;
}
.txt_box {
  width: 50%;
  display: block;
  padding: 1rem 0rem 1rem 0.5rem;
}
/******** アクセス　**********/
.access_parent{
  width:100%;
  padding:0;
  justify-content: space-between;
}
.access_child{
  padding: 1rem;
}

/*************************************/
/********* access.html ***************/
/*************************************/
.gaikan {
  width:100%;
}
.access_map{
  width:100%;
}

/*************************************/
/********* feature.html ***************/
/*************************************/
.f_box {
  width:100%;
  display: flex;
  flex-direction: column;
}
.d_txt,.f_txt,.f_txt_box,.f_img {
  width: 90%;
  margin: 0 auto;
}

.f_doctor {
  width: 250px;
  height:250px;
  background-image:url(../img/doctor.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  display: inline;
  margin: 0 0 2rem 1rem;
}
.f_message{
  font-size:0.8rem;
}
/*吹き出し*/
.balloon3-right-btm {
  position: absolute;
  top: 250px;
  right:0;
  display: block;
  margin: 1.5em 15px 1.5em 0;
  padding: 1rem;
  width: 50%;
  text-align: center;
  color: #FFF;
  font-size: 14px;
  font-weight: bold;
  background: #e95656;
  border-radius: 5rem;
  box-sizing: border-box;
}
.balloon3-right-btm p {
  line-height: 2rem;
}
.balloon3-right-btm:before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 55px;
  margin-top: 0px;
  border: 16px solid transparent;
  border-left: 16px solid #e95656;
  z-index: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}
/*************************************/
/********* about.html ****************/
/*************************************/
.border_left{
  border-left: 4px solid #3aabd2;
  padding-left:1rem;
}
.med_parent {
  display: flex;
  flex-direction: column;
}
.med_img{
  width: 100%;
  order:2;
}
.med_txt{
  width: 100%;
  order:1;
}
.med_img_box {
  padding-top: 1rem;
  order: 3;
}
/*************************************/
/********* contact.html ***************/
/*************************************/
.contact_txt {
  padding-top:0;
  margin-top:-4rem;
}
.contact_box{
    display: flex;
    flex-direction: column;
}
label{
  width:100%;
  padding-bottom:1rem;
}
.contet-label {
  padding-bottom:1rem;
}
input,textarea,select{
  width: 100%;
}
.bottom{
  padding-bottom:0;
}