﻿@charset "UTF-8";

@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url('//fonts.googleapis.com/css?family=Quicksand:300,400,500,700');
@import url('//fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700;900&display=swap');


/*=================================================
トップページ
=================================================*/
/*-------------------------
ヘッダー
--------------------------*/
.topheadwrap {
  width: 100%;
  max-width: 960px;
  padding: 60px 0 0;
  margin: 0 auto;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-image: url(../img/index/header.png);
  text-align: center;
}
.topheadinner {
  width: 100%;
  max-width: 480px;
  padding: 0;
  margin: 0 auto;
}
.topheadlogo {
  width: 100%;
  max-width: 480px;
  margin-bottom: 12px;
}
.topheadadd {
  font-size: 1.2em;
  font-weight: bold;
}
.tabappear {
  display: none;
}
@media screen and (max-width: 960px) {
.topheadinner {
  max-width: 420px;
  }
.topheadlogo {
  max-width: 380px;
  }
}
@media screen and (max-width: 767px) {
.topheadwrap {
  padding: 40px 0 0;
  }
.topheadlogo {
  max-width: 320px;
  }
.topheadinner {
  max-width: 360px;
  padding-bottom: 20px;
  }
.tabhide {
  display: none;
  }
.tabappear {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 8px 6px;
  }
}
@media screen and (max-width: 640px) {
.topheadlogo {
  max-width: 240px;
  }
}
@media screen and (max-width: 420px) {
.topheadinner {
  padding-bottom: 6px;
  }
.topheadlogo {
  max-width: 220px;
  margin-top: 20px;
  margin-bottom: 10px;
  }
.topheadadd {
  font-size: 1em;
  font-weight: normal;
  }
}

/*アイコン付き電話リンク*/
.topheadtel {
  font-size:2.5em;
  line-height:100%;
  padding:0;
  font-family: 'Quicksand', sans-serif;
  margin: 0;
}
.topheadtel :before {
  content:"";
  display:inline-block;
  width:0.8em;
  height:0.9em;
  background:url(../img/common/icon_tel.png) no-repeat;
  background-size:contain;
  vertical-align:middle;
}
.topheadtel a{
  text-decoration:none;
  color:#7FBE25;
  font-weight:600;
}
@media screen and (max-width: 767px) {
.topheadtel {
  font-size:2em;
  }
}
@media screen and (max-width: 420px) {
.topheadtel {
  font-size:1.6em;
  }
}

/*オンライン予約はこちらボタン*/
.topheadbtn {
  display: block;
  position: relative;
  background: #7FBE25;
  width: 100%;
  max-width: 240px;
  padding: 6px 12px;
  color: #FFF;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  font-weight: 700;
  transition: all .3s;
  font-family: "Noto Sans Japanese", sans-serif;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  margin-top: 10px;
}
.topheadbtn:before {
  content: "";
  position: absolute;
  top: 42%;
  right: 12px;
  width: 10px;
  height: 2px;
  background: #FFF;
  transform: rotate(45deg);
}
.topheadbtn:after {
  content: "";
  position: absolute;
  top: 56%;
  right: 12px;
  width: 10px;
  height: 2px;
  background: #FFF;
  transform: rotate(-45deg);
}
.topheadbtn:hover {
  background: #FF8000;
}
@media screen and (max-width: 420px) {
.topheadbtn {
  max-width: 200px;
  padding: 5px 12px;
  font-size: 0.9em;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  margin-top: 6px;
  }
.topheadbtn:before {
  content: "";
  position: absolute;
  top: 42%;
  right: 10px;
  width: 8px;
  height: 2px;
  background: #FFF;
  transform: rotate(45deg);
  }
.topheadbtn:after {
  content: "";
  position: absolute;
  top: 56%;
  right: 10px;
  width: 8px;
  height: 2px;
  background: #FFF;
  transform: rotate(-45deg);
  }
}

/*４つの特長*/
.topheadpr {
  width:100%;
  margin: 12px 0 0;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
.topheadpr li {
  width: 25%;
  max-width:25%;
  width: calc(100% / 4);
  padding:0 5px 0;
  box-sizing: border-box;
}
.topheadpr img {
  width:100%;
}
@media screen and (max-width: 767px) {
.topheadpr {
  margin: 0;
}
.topheadpr li {
  padding:0 3px 0;
  }
}

/*-------------------------
お知らせ
--------------------------*/
.information {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: flex-start;
}
.info_title {
  width: 100%;
  max-width: 320px;
  margin:0 30px 0 0;
  text-align: center;
}
.info_detail {
  width: 100%;
  max-width: 640px;
}
.info_title_eng {
  font-family: 'Quicksand', sans-serif;
  line-height: 100%;
  font-size: 2.5em;
  color: #7FBE25;
  font-weight: 400;
  margin-bottom: 10px;
}
.info_title_jpn {
  font-family: 'Noto Serif JP', serif;
  line-height:100%;
  letter-spacing: 0.03em;
  font-weight: 500;
  color: #111;
}
@media screen and (max-width: 960px) {
.info_title {
  max-width: 260px;
  margin:0 20px 0 0;
  }
}
@media screen and (max-width: 767px) {
.information {
  flex-direction: column;
  display:block;
  }
.info_title {
  max-width:100%;
  margin:0 0 30px 0;
  }
.info_detail {
  max-width:100%;
  }
}

/*-------------------------
バナー
--------------------------*/
.bannerwrap {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
.bannerwrap li {
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding:0 10px 15px 10px;
  box-sizing: border-box;
}
.bannerwrap img {
  width:100%;
}
@media screen and (max-width: 640px) {
.bannerwrap li {
  flex-direction: column;
  display:block;
  width: 100%;
  max-width:100%;
  padding:0 0 8px 0;
  }
}

/*-------------------------
カレンダー
--------------------------*/
.calendarframe {
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
  padding: 5px;
}

/*-------------------------
当院の特長
--------------------------*/
.featurebg {
  width: 100%;
  padding: 40px 20px;
  margin: 0 auto;
  background: #FDD23C;
}
.featurebr {
  display: none;
}
.featurebg h2 {
  padding: 0 20px;
  line-height: 1.5;
}
@media screen and (max-width: 960px) {
.featurebg {
  padding: 40px 15px;
  }
.featurebr {
  display: block;
  }
}
@media screen and (max-width: 640px) {
.featurebg {
  padding: 20px 10px;
  }
}
.featurewrap {
  width:100%;
  height: auto;
  max-width: 1420px;
  margin: 0 auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:stretch;
  flex-wrap: wrap;
}
.featurewrap li {
  width: 25%;
  height: auto;
  max-width:25%;
  width: calc(100% / 4);
  padding:0 6px 12px 6px;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
.featurewrap li {
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  box-sizing: border-box;
  padding:0 5px 10px 5px;
  }
}

.featurebox {
  width: 100%;
  height: 100%;
  padding: 12px;
  margin: 0 auto;
  background: #FFF;
}
.featuretitle {
  font-family: "Noto Sans Japanese", sans-serif;
  line-height:1.4;
  color: #FF7F00;
  font-weight: 800;
  font-size: 1.1em;
  text-align: center;
  margin: 10px 0;
}
.featuredetail {
  font-size: 0.9em;
  line-height: 1.6;
  padding: 0 10px;
}
@media screen and (max-width: 960px) {
.featurebox {
  padding: 6px;
  }
.featuretitle {
  font-size:1em;
  margin: 8px 0 6px;
  }
.featuredetail {
  font-size: 0.8em;
  padding: 0 6px;
  }
}

.counseling {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
}
.counseling_img {
  width: 100%;
  max-width: 264px;
  margin:0 30px 0 0;
  text-align: center;
}
.counseling_text {
  flex: 1;
}
@media screen and (max-width: 960px) {
.counseling_img {
  width: 100%;
  max-width: 220px;
  text-align: center;
  }
}
@media screen and (max-width: 640px) {
.counseling {
  flex-direction: column;
  display:block;
  }
.counseling_img {
  max-width:100%;
  margin:0 0 20px 0;
  text-align: center;
  }
.counseling_img img{
  max-width: 200px;
  }
.counseling_text {
  max-width:100%;
  padding: 0 15px;
  }
}