﻿@charset "UTF-8";

@import url('//fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;600;700;900&display=swap');
@import url('//fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700;900&display=swap');
@import url('//fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');
@import url('//fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');
@import url('//fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sen:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&display=swap');
/* Google font Icon */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");


/*========================
えがおこども歯科
========================*/
/*-------------------------
ヘッダー
--------------------------*/
.egaoheader{
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  background: url(../img/egao/header.png) no-repeat center right;
  background-size: cover;
}
.wave {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
}
@media screen and (max-width: 1240px) {
.egaoheader{
  height: 740px;
  }
}
@media screen and (max-width: 960px) {
.egaoheader{
  height: 680px;
  }
}
@media screen and (max-width: 480px) {
.egaoheader{
  height: 540px;
  }
}

/* ヘッダー中身 */
.egaoheaderinner {
  width: 100%;
  max-width: 840px;
  margin: 0;
  padding: 24px;
	position: absolute;
  top: 30%;
  left: 10%;
  transform: translateY(-30%);
  -webkit-transform: translateY(-30%);
  -ms-transform: translateY(-30%);
}
.egaoheaderinner h1{
  text-align: center;
}
.egaoheaderinner h1 img{
  width: 100%;
  max-width: 480px;
  margin-bottom: 32px;
}
@media screen and (max-width: 1240px) {
.egaoheaderinner {
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  }
.egaoheaderinner h1 img{
  max-width: 360px;
  }
}
@media screen and (max-width: 767px) {
.egaoheaderinner {
  top: 18px;
  }
.egaoheaderinner h1 img{
  max-width: 300px;
  }
}
@media screen and (max-width: 480px) {
.egaoheaderinner h1 img{
  max-width: 240px;
  }
}

/* ヘッダー内アンカーリンク */
.egaoheaderlink {
  width:100%;
  height: auto;
  margin: 0;
  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:stretch;
}
.egaoheaderlink li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  margin:0 18px 0 0;
}
.egaoheaderlink li:last-child{
  margin:0 0 0 0;
}
.egaoheaderlink li a{
  display: block;
  text-decoration: none;
}
@media screen and (max-width: 767px) {
.egaoheaderlink {
  display: block;
  flex-direction: column;
  }
.egaoheaderlink li{
  width: 100%;
  max-width:100%;
  margin:0 0 18px 0;
  }
}

/* アンカーリンクボタン */
.egaoheaderlink_child,
.egaoheaderlink_maternity,
.egaoheaderlink_kidsortho {
  width: 100%;
  height: 100%;
  background: rgb(236,123,171,0.7);
  margin: auto;
  padding: 18px 18px 24px 6em;
  border: 3px solid #FFF;
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  position: relative;
}
.egaoheaderlink_child h3,
.egaoheaderlink_maternity h3,
.egaoheaderlink_kidsortho h3 {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  line-height: 1.5;
  font-size: 1.1em;
  color: #FFF;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  margin-bottom: 10px;
  text-align: center;
}
.egaoheaderlink_child h2,
.egaoheaderlink_maternity h2,
.egaoheaderlink_kidsortho h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  line-height: 1;
  font-size: 1.6em;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #FFF;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  text-align: center;
}
.egaoheaderlink_child:before{
	position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 6.4em;
  color: #FFF;
  font-family:"Material Symbols Rounded";
	content: "\eb41"; /*子供*/
  font-variation-settings:
  'FILL' 1,
  'wght' 200
}
.egaoheaderlink_maternity:before{
	position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 6.4em;
  color: #FFF;
  font-family:"Material Symbols Rounded";
	content: "\f5f1"; /*妊婦*/
  font-variation-settings:
  'FILL' 1,
  'wght' 500
}
.egaoheaderlink_kidsortho:before{
	position: absolute;
  top: 50%;
  left: 0.2em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 5em;
  color: #FFF;
  font-family:"Material Symbols Rounded";
	content: "\e116"; /*治療器具*/
  font-variation-settings:
  'FILL' 1,
  'wght' 500
}
@media screen and (max-width: 960px) {
.egaoheaderlink_child,
.egaoheaderlink_maternity,
.egaoheaderlink_kidsortho {
  padding: 18px 18px 24px 3em;
  }
.egaoheaderlink_child h3,
.egaoheaderlink_maternity h3,
.egaoheaderlink_kidsortho h3 {
  font-size: 1.05em;
  }
.egaoheaderlink_child h2,
.egaoheaderlink_maternity h2,
.egaoheaderlink_kidsortho h2 {
  font-size: 1.35em;
  }
.egaoheaderlink_child:before{
  left: 12px;
  font-size: 5em;
  }
.egaoheaderlink_maternity:before{
  left: 0;
  font-size: 5em;
  }
.egaoheaderlink_kidsortho:before{
  font-size: 4em;
  }
}
@media screen and (max-width: 767px) {
.egaoheaderlink_child,
.egaoheaderlink_maternity,
.egaoheaderlink_kidsortho {
  max-width: 480px;
  }
.egaoheaderlink_child h3 br,
.egaoheaderlink_maternity h3 br,
.egaoheaderlink_kidsortho h3 br {
  display: none;
  }
}
@media screen and (max-width: 480px) {
.egaoheaderlink_child,
.egaoheaderlink_maternity,
.egaoheaderlink_kidsortho {
  max-width: 320px;
  padding: 8px 12px 18px 2.4em;
  }
.egaoheaderlink_child h3,
.egaoheaderlink_maternity h3,
.egaoheaderlink_kidsortho h3 {
  font-size: 0.95em;
  margin-bottom: 6px;
  }
.egaoheaderlink_child h2,
.egaoheaderlink_maternity h2,
.egaoheaderlink_kidsortho h2 {
  font-size: 1.25em;
  }
.egaoheaderlink_child:before{
  left: 6px;
  font-size: 3.2em;
  }
.egaoheaderlink_maternity:before{
  font-size: 3.2em;
  }
.egaoheaderlink_kidsortho:before{
  font-size: 2.6em;
  }
}

/*-------------------------
導入文
--------------------------*/
.messagewrap {
  width: 100%;
  margin: auto;
  padding: 48px 0 64px;
  background: #FDF5D7;
}
.egaomessage {
  width: 100%;
  max-width: 960px;
  background: url(../img/egao/message_img.png) no-repeat top right;
  background-size: 480px;
  padding: 64px 0 0;
}
.egaomessage p{
  max-width: 640px;
  line-height: 2;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.05em;
  padding: 0 0.4em;
  font-weight: 400;
  text-shadow:0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7,0 0 3px #FDF5D7;
}
@media screen and (max-width: 960px) {
.egaomessage {
  padding: 320px 0 0;
  }
}
@media screen and (max-width: 680px) {
.egaomessage {
  background: url(../img/egao/message_img.png) no-repeat top center;
  background-size: 380px;
  padding: 360px 0 0;
  }
}
@media screen and (max-width: 480px) {
.egaomessage {
  background-size: 320px;
  padding: 300px 0 0;
  }
}
@media screen and (max-width: 480px) {
.messagewrap {
  padding: 48px 0 48px;
  }
.egaomessage p{
  line-height: 1.8;
  }
.egaomessage p br{
  display: none;
  }
.egaomessage p .spbr480{
  display: block;
  }
}


/*-------------------------
２カラム
--------------------------*/
.egaocontents {
  width:100%;
  max-width: 1240px;
  margin: auto;
  padding:0 32px;
  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;
}
.egaocontents_title {
  width: 30%;
  max-width: 380px;
}
.egaocontents_title img{
  width: 100%;
  max-width: 320px;
}
.egaocontents_detail {
  width: 70%;
  padding: 0 0 0 32px;
}
@media screen and (max-width: 1240px) {
.egaocontents_title {
  width: 25%;
  }
.egaocontents_detail {
  width: 75%;
  }
}
@media screen and (max-width: 1000px) {
.egaocontents {
  flex-direction: column;
  display:block;
  max-width: 840px;
  }
.egaocontents_title {
  width: 100%;
  max-width: 100%;
  text-align: center;
  }
.egaocontents_title img{
  max-width: 260px;
  }
.egaocontents_detail {
  width: 100%;
  padding: 42px 0 0 0;
  }
}
@media screen and (max-width: 640px) {
.egaocontents {
  padding:0 24px;
  }
.egaocontents_title img{
  max-width: 200px;
  }
.egaocontents_detail {
  padding: 32px 0 0 0;
  }
}

/*-------------------------
サブタイトル
--------------------------*/
.egaosubtitle {
  width: 100%;
  padding: 0.6em 1em;
  margin: auto;
  font-weight: 700;
  font-size: 1.3em;
  line-height: 1.55;
  color: #FFF;
  background: #EC7BAB;
  margin-bottom: 18px;
}
@media screen and (max-width: 480px) {
.egaosubtitle {
  padding: 0.5em 0.8em;
  font-size: 1.15em;
  margin-bottom: 15px;
  }
}

/*-------------------------
アイコン付き見出し
--------------------------*/
/*小児歯科*/
.chapter_child {
  font-weight: 600;
  font-size: 1.15em;
  color: #EC7BAB;
  line-height: 1.55;
  position: relative;
  padding: 0 0 0 2em;
  margin-bottom: 0.5em;
}
.chapter_child:before{
	position: absolute;
	top: 0;
	left: -0.1em;
  font-size: 2em;
  line-height: 0.7;
  font-family:"Material Symbols Rounded";
	content: "\eb41"; /*子供*/
  font-variation-settings:
  'FILL' 1,
  'wght' 400
}

/*マタニティ歯科*/
.chapter_maternity {
  font-weight: 600;
  font-size: 1.15em;
  color: #EC7BAB;
  line-height: 1.55;
  position: relative;
  padding: 0 0 0 1.7em;
  margin-bottom: 0.5em;
}
.chapter_maternity:before{
	position: absolute;
	top: 0;
	left: -0.2em;
  font-size: 2.3em;
  line-height: 0.7;
  font-family:"Material Symbols Rounded";
	content: "\e91e"; /*妊婦*/
  font-variation-settings:
  'FILL' 1,
  'wght' 400
}

/*-------------------------
歯科医院に通っていると歯医者も怖くなくなります
--------------------------*/
.childadvice {
  width: 100%;
  padding: 24px 32px 24px;
  margin: 124px auto 0;
  background: #FCE9E2;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.05em;
  font-weight: 500;
}
.childadviceimg{
  text-align: center;
  margin: -124px 0 12px;
}
.childadvice img{
  width: 100%;
  max-width: 360px;
}
@media screen and (max-width: 640px) {
.childadvice {
  padding: 24px 24px 24px;
  }
.childadvice img{
  max-width: 300px;
  }
}

/*-------------------------
院内風景
--------------------------*/
.egaophototitle {
  text-align: center;
  margin-bottom: 24px;
}
.egaophototitle img{
  width: 100%;
  max-width: 640px;
}
@media screen and (max-width: 640px) {
.egaophototitle img{
  max-width: 420px;
  }
}

.egaophoto {
  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;
  flex-wrap: wrap;
}
.egaophoto li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding: 0 6px 18px;
}
.egaophoto li img{
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border: 2px solid #F09FC1;
}
.egaophoto li h5{
  font-size: 0.85em;
  font-weight: 400;
  line-height: 1.55;
  padding: 0 0.8em;
  margin-top: 0.5em;
}
@media screen and (max-width: 640px) {
.egaophoto {
  display: block;
  flex-direction: column;
  max-width: 480px;
  }
.egaophoto li{
  width: 100%;
  max-width:100%;
  padding: 0 0 18px;
  }
}

/*-------------------------
区切り線
--------------------------*/
.egaosepline {
  margin: 64px 0;
	height: 12px;
	background: linear-gradient(-70deg,transparent 35%,#EC7BAB 45%, #EC7BAB 55%,transparent 65%);
	background-size: 8px 12px;
	border: none;
}
@media screen and (max-width: 640px) {
.egaosepline {
  margin: 48px 0;
  }
}

