﻿@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=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&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");


/*========================
TOPヘッダー
========================*/
.slider-container2 {
  display: none;
}
@media screen and (max-width: 767px) {
.slider-container {
  display: none;
}
.slider-container2 {
  display: block;
}
}
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slideimg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  animation: fadeInOut 12s infinite;
  transition: opacity 1.5s ease-in-out;
}
.slideimg:nth-child(1) {
  position: relative;
  animation-delay: 0s;
}
.slideimg:nth-child(2) {
  animation-delay: 6s;
}
/* フェードイン・アウトのアニメーション */
@keyframes fadeInOut {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}
/* 画像の表示調整 */
.slideimg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}


/*========================
TOPヘッダー元
========================*/
.topimg {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

/*ロゴ*/
.topimg_logo {
  position: absolute;
  top: 24px;
  left: 32px;
}
.topimg_logo img{
  width: 100%;
  max-width: 320px;
}

/*キャッチコピー*/
.topimg_comment {
  width:12%;
  position: absolute;
  top: 64px;
  right: 64px;
}
.topimg_comment h1{
  writing-mode: vertical-rl;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: 2.4em;
  white-space: nowrap;
  letter-spacing: 0.08em;
  color: #FFF;
  text-align: left;
  line-height: 1.5;
  text-shadow:
  0 0 5px rgba(0, 0, 0, 0.8),
  0 0 10px rgba(0, 0, 0, 0.6),
  0 0 20px rgba(0, 0, 0, 0.4);
}
.topimg_comment h1 span{
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 0.5em;
  white-space: nowrap;
  letter-spacing: 0.2em;
  text-align: left;
  line-height: 2.6;
}

/*TELリンク*/
.topimg_tel {
  position: absolute;
  bottom: 42px;
  right: 64px;
  text-align: center;
}
.topimg_tel p{
  font-size: 1.1em;
  font-weight: 500;
  color: #FFF;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
  0 0 5px rgba(0, 0, 0, 0.8),
  0 0 10px rgba(0, 0, 0, 0.6),
  0 0 20px rgba(0, 0, 0, 0.4);
}
.topimg_tel a{
  position:relative;
  display: inline-block;
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-size: 2.3em;
  line-height: 1;
  padding: 0.2em 0 0.2em 0.9em;
  color: #FFF;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  margin: 0.3em auto 0.2em;
  letter-spacing: 0.08em;
  text-shadow:
  0 0 5px rgba(0, 0, 0, 0.8),
  0 0 10px rgba(0, 0, 0, 0.6),
  0 0 20px rgba(0, 0, 0, 0.4);
  border-top: 1px solid #FFF;
  border-bottom: 1px solid #FFF;
}
.topimg_tel a:before{
	position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  content:"";
  display:inline-block;
  width:0.9em;
  height:0.9em;
  background:url(../img/common/tel_white.png) no-repeat;
  background-size:contain;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.8));
}
.topimg_tel span{
  display: block;
  font-size: 1.1em;
  font-weight: 500;
  color: #FFF;
  line-height: 1.65;
  white-space: nowrap;
  text-shadow:
  0 0 5px rgba(0, 0, 0, 0.8),
  0 0 10px rgba(0, 0, 0, 0.6),
  0 0 20px rgba(0, 0, 0, 0.4);
}
.topimg_tel .holiday{
  font-size: 0.9em;
}

/*デバイス高さ調整*/
@media screen and (max-height: 760px) {
.topimg_comment {
  top: 32px;
  right: 48px;
  }
.topimg_comment h1{
  font-size: 2em;
  }
}
@media screen and (max-height: 640px) {
.topimg_comment {
  display: none;
  }
}
@media screen and (max-height: 640px) {
.topimg {
  height: 100vh !important;
  }
}

@media screen and (max-width: 1240px) {
.topimg_logo {
  top: 24px;
  left: 24px;
  }
.topimg_logo img{
  max-width: 260px;
  }
.topimg_comment {
  top: 32px;
  right: 48px;
  }
.topimg_comment h1{
  font-size: 2.1em;
  }
}
@media screen and (max-width: 960px) {
.topimg {
  height: 680px;
  }
.topimg_logo img{
  max-width: 240px;
  }
.topimg_comment {
  width:20%;
  top: 32px;
  right: 32px;
  }
.topimg_tel {
  bottom: 24px;
  right: 32px;
}
.topimg_tel p{
  font-size: 1em;
}
.topimg_tel a{
  font-size: 2.1em;
  }
.topimg_tel span{
  font-size: 1.1em;
  }
}
@media screen and (max-width: 767px) {
.topimg {
  height: 640px;
  }
.topimg_logo img{
  max-width: 200px;
  }
.topimg_comment {
  width:24%;
  top: 32px;
  right: 24px;
  }
.topimg_tel {
  bottom: 24px;
  right: auto;
  left: 24px;
  }
.topimg_tel .holiday{
  font-size: 0.85em;
  }
}
@media screen and (max-width: 480px) {
.topimg {
  height: 500px;
  }
.topimg_logo {
  top: 18px;
  left: 18px;
  }
.topimg_logo img{
  max-width: 184px;
  }
.topimg_comment {
  display: none;
  }
.topimg_tel {
  bottom: 18px;
  right: 24px;
  left: auto;
  }
.topimg_tel p{
  font-size: 0.9em;
}
.topimg_tel a{
  font-size: 1.8em;
  }
.topimg_tel span{
  font-size: 1.05em;
  }
}


/*========================
TOPナビゲーション
========================*/
nav {
  width: 100%;
  position: sticky;
  top: 0;
  padding: 18px 0 12px;
  margin: 0 auto;
  z-index: 1;
  background-color: #FFF;
}
nav.transform {
  box-shadow: 0px 4px 6px -3px rgba(0,0,0,0.15);
  padding: 6px 0;
}
nav ul{
  width:100%;
  max-width: 1420px;
  height: auto;
  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:stretch;
  flex-wrap: wrap;
}
nav ul li{
  width: 12.5%;
  max-width:12.5%;
  width: calc(100% / 8);
  height: auto;
  line-height: 1;
  padding: 0;
  white-space: nowrap;
  border-right: 1px solid #CCC;
  margin: 0 auto;
  position: relative;
  transition: 0.3s;
}
nav ul li:hover{
  transform: translateY(-5px);
  transition-duration: 0.3s;
}
nav ul li.transform {
  font-size: 0.85em;
}
nav ul li:last-child {
  border-right: none;
}
nav ul li a{
  display: block;
  height: 100%;
  text-decoration: none;
  color: #2C5985;
  font-weight: 600;
  text-align: center;
  padding: 52px 6px 0;
}
nav ul li span{
  display: block;
  line-height: 1.8;
  font-size: 0.85em;
  color: #A5A6AC;
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: normal;
}
@media screen and (max-width: 1240px) {
nav {
  padding: 12px 0 12px;
  }
nav ul li a{
  font-size: 0.85em;
  }
}
@media screen and (max-width: 960px) {
nav {
  padding: 12px 0;
  }
nav ul li{
  width: 25%;
  max-width:25%;
  width: calc(100% / 4);
  padding: 10px 6px 0;
  border-right: none;
  }
nav ul li:hover{
  transform: translateX(5px);
  transition-duration: 0.3s;
  }
nav ul li a{
  padding: 0 0 0 36px;
  font-size: 0.9em;
  }
}
@media screen and (max-width: 640px) {
nav {
  display: none;
  }
}

/*-------------------------
ナビアイコン
--------------------------*/
nav ul li:before{
	position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  content:"";
  display:inline-block;
  width:48px;
  height:48px;
  pointer-events: none;
}
nav ul li:nth-child(1):before{
  background:url(../img/common/icon_aboutus.png) no-repeat;
  background-size:contain;
}
nav ul li:nth-child(2):before{
  background:url(../img/common/icon_guide.png) no-repeat;
  background-size:contain;
}
nav ul li:nth-child(3):before{
  background:url(../img/common/icon_doctor.png) no-repeat;
  background-size:contain;
}
nav ul li:nth-child(4):before{
  background:url(../img/common/icon_general.png) no-repeat;
  background-size:contain;
}
nav ul li:nth-child(5):before{
  background:url(../img/common/icon_kodomo.png) no-repeat;
  background-size:contain;
}
nav ul li:nth-child(6):before{
  background:url(../img/common/icon_ortho.png) no-repeat;
  background-size:contain;
}
nav ul li:nth-child(7):before{
  background:url(../img/common/icon_beauty.png) no-repeat;
  background-size:contain;
}
nav ul li:nth-child(8):before{
  background:url(../img/common/icon_implant.png) no-repeat;
  background-size:contain;
}
@media screen and (max-width: 960px) {
nav ul li:before{
  top: 50%;
  left: 12%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width:36px;
  height:36px;
  }
}


/*========================
お知らせ＆カレンダー
========================*/
.topinfo {
  width:100%;
  max-width: 1240px;
  margin: 64px auto 0;
  padding:0 32px;
  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;
}
.topinfo_news {
  flex: 1;
  padding: 0 42px 0 64px;
  position: relative;
}
.topinfo_calendar {
  width: 460px;
  padding: 0 0 0 64px;
  position: relative;
}
.topinfotitle {
  width:42px;
  position: absolute;
  top: 0;
  left: 0;
  writing-mode: vertical-rl;
  font-family: "Kosugi Maru", sans-serif;
  color: #2C5985;
  font-size: 1.3em;
  white-space: nowrap;
  letter-spacing: 0.08em;
  line-height: 1;
}
.topinfotitle:before{
  margin: 0 0 0.4em;
  content:"";
  display:inline-block;
  width:42px;
  height:42px;
  background:url(../img/common/logomark.png) no-repeat;
  background-size:contain;
}
@media screen and (max-width: 1240px) {
.topinfo_news {
  flex: 1;
  padding: 0 42px 0 48px;
  position: relative;
  }
.topinfo_calendar {
  width: 380px;
  padding: 0 0 0 48px;
  }
.topinfotitle {
  width:32px;
  font-size: 1.15em;
  }
.topinfotitle:before{
  margin: 0 0 0.4em;
  width:32px;
  height:32px;
  }
}
@media screen and (max-width: 960px) {
.topinfo {
  display: block;
  flex-direction: column;
  max-width: 680px;
  }
.topinfo_news {
  padding: 48px 0 42px;
  }
.topinfo_calendar {
  width: 100%;
  padding: 48px 0 0;
  }
.topinfo_calendar .calendarslide img{
  width: 100%;
  max-width: 480px;
  }
.topinfotitle {
  width:100%;
  writing-mode: horizontal-tb;
  font-size: 1.3em;
  letter-spacing: 0.03em;
  }
.topinfotitle:before{
  margin: 0 0.5em 0 0;
  width:42px;
  height:42px;
  vertical-align: middle;
  }
}
@media screen and (max-width: 640px) {
.topinfo {
  padding:0 24px;
  margin: 32px auto 0;
  }
}
@media screen and (max-width: 480px) {
.topinfo {
  padding:0;
  }
.topinfo_news {
  padding: 32px 0 42px;
  }
.topinfo_calendar {
  padding: 32px 24px 0;
  }
.topinfotitle {
  left: 18px;
  font-size: 1.15em;
  }
.topinfotitle:before{
  margin: 0 0.5em 0 0;
  width:32px;
  height:32px;
  }
}

/*-------------------------
お知らせ
--------------------------*/
details {
  border-bottom: 1px solid #A6A8AE;
  padding: 0.8em 0;
}
details:first-child{
  border-top: 1px solid #A6A8AE;
}
.newsarticle{
  padding: 1em 1.8em 0 1.8em;
  font-size: 0.95em;
}
.newsarticle p{
  margin-bottom: 0.6em;
}
.newsarticle img{
  margin: 8px auto 18px;
}
summary {
  display: block;
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
  padding: 0 3em 0 0.6em;
}
summary .date{
  display: block;
  color: #A5A7AD;
  font-size: 1em;
  letter-spacing: 0.04em;
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 200;
}
summary h2{
  display: inline;
  color: #333;
  font-family: "Kosugi Maru", sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.05em;
  font-weight: normal;
  line-height: 1.6;
}
@media screen and (max-width: 480px) {
details {
  padding: 0.6em 0 0.6em 1em;
  }
.newsarticle{
  padding: 0.8em 1.5em 0 1em;
  }
}

summary::-webkit-details-marker {
	display: none;
}
summary:after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 2em;
  line-height: 1;
  color: #2D5986;
  font-family:"Material Symbols Rounded";
	content: "\e7cd"; /*丸囲み下矢印*/
  font-variation-settings:
  'FILL' 1,
  'wght' 300
}
details[open] summary:after {
  color: #A6A8AE;
  font-family:"Material Symbols Rounded";
	content: "\e5c9"; /*丸囲みクローズ*/
  font-variation-settings:
  'FILL' 1,
  'wght' 300
}
@media screen and (max-width: 640px) {
summary:after {
  right: 0.3em;
  }
}

details[open] .newsarticle {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
0% {
  opacity: 0;
  transform: translateY(-10px);
  }
100% {
  opacity: 1;
  transform: none;
  }
}

/*-------------------------
リンクバナー
--------------------------*/
.topinfo_banner {
  width:100%;
  margin: 24px auto 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:center;
}
.topinfo_banner li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  margin:0 12px 0 0;
}
.topinfo_banner li:last-child{
  margin:0 0 0 0;
}
.topinfo_banner li img{
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
}
@media screen and (max-width: 480px) {
.topinfo_banner {
  margin: 18px auto 0;
  padding: 0 18px;
  }
.topinfo_banner li{
  margin:0 8px 0 0;
  }
.topinfo_banner li img{
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  }
}


/*========================
こども歯科
========================*/
.topkodomowrap {
  width: 100%;
  margin: 48px auto 0;
  padding: 64px 32px;
  background-image: url(../img/common/kodomobg.png);
  background-repeat: repeat;
}
@media screen and (max-width: 960px) {
.topkodomowrap {
  padding: 48px 18px;
  }
}
@media screen and (max-width: 640px) {
.topkodomowrap {
  padding: 48px 18px;
  }
}
@media screen and (max-width: 480px) {
.topkodomowrap {
  padding: 32px 18px;
  }
}

.topkodomo {
  width:100%;
  max-width: 1240px;
  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;
}
.topkodomo li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  margin:0 42px 0 0;
}
.topkodomo li:last-child{
  margin:0 0 0 0;
}
.topkodomo li:last-child h3{
  color: #E58D74;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 2em;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 18px;
}
.topkodomo li:last-child p{
  line-height: 1.9;
  margin-bottom: 18px;
}
@media screen and (max-width: 1240px) {
.topkodomo li:last-child h3{
  font-size: 1.8em;
  }
}
@media screen and (max-width: 960px) {
.topkodomo {
  max-width: 640px;
  display: block;
  flex-direction: column;
  }
.topkodomo li{
  width: 100%;
  max-width:100%;
  margin:0 0 24px 0;
  }
.topkodomo li:last-child{
  padding: 0 24px;
  }
}
@media screen and (max-width: 480px) {
.topkodomo li:last-child{
  padding: 0 12px;
  }
.topkodomo li:last-child h3{
  font-size: 1.4em;
  margin-bottom: 12px;
  }
.topkodomo li:last-child p{
  margin-bottom: 12px;
  }
}

/*-------------------------
こびとが住まうキャンバス
--------------------------*/
.topteamlabwrap {
  width: 100%;
  max-width: 1000px;
  margin: 42px auto 0;
  padding: 32px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.2);
}
@media screen and (max-width: 1000px) {
.topteamlabwrap {
  max-width: 840px;
  padding: 24px;
  }
}
@media screen and (max-width: 640px) {
.topteamlabwrap {
  margin: 32px auto 0;
  padding: 24px;
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  }
}
.topteamlab {
  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;
}
.topteamlab li:first-child{
  flex: 1;
  padding: 0 42px 0 12px;
}
.topteamlab li:last-child{
  width: 400px;
}
.topteamlab li:first-child h4{
  text-align: center;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 600;
  color: #444;
  font-size: 1.05em;
  letter-spacing: 0.03em;
  line-height: 1.6;
  margin-bottom: 12px;
}
.topteamlab li:first-child h4 strong{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700 !important;
  font-size: 1.2em;
  color: #E68E75;
}
.topteamlab li:first-child p{
  font-size: 0.95em;
  line-height: 1.75;
}
.topteamlab li:last-child img{
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
}
@media screen and (max-width: 1000px) {
.topteamlab li:first-child{
  padding: 0 32px 0 12px;
  }
.topteamlab li:last-child{
  width: 320px;
  }
.topteamlab li:first-child h4{
  text-align: left;
  font-size: 1em;
  line-height: 1.5;
  }
.topteamlab li:first-child h4 strong{
  font-size: 1.1em;
  }
.topteamlab li:first-child h4 br{
  display: none;
  }
.topteamlab li:first-child p{
  font-size: 0.85em;
  line-height: 1.7;
  }
}
@media screen and (max-width: 767px) {
.topteamlab {
  display: block;
  flex-direction: column;
  }
.topteamlab li:first-child{
  padding: 0 0 24px 0;
  }
.topteamlab li:first-child h4{
  text-align: center;
  font-size: 1.05em;
  line-height: 1.6;
  }
.topteamlab li:first-child h4 strong{
  font-size: 1.2em;
  }
.topteamlab li:first-child h4 br{
  display: block;
  }
.topteamlab li:first-child p{
  font-size: 0.9em;
  padding: 0 18px;
  }
.topteamlab li:last-child{
  width: 100%;
  text-align: center;
  }
.topteamlab li:last-child img{
  width: 100%;
  max-width: 480px;
  }
}
@media screen and (max-width: 640px) {
.topteamlab li:last-child img{
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  }
}
@media screen and (max-width: 480px) {
.topteamlab li:first-child{
  padding: 0 0 18px 0;
  }
.topteamlab li:first-child h4{
  text-align: left;
  line-height: 1.55;
  }
.topteamlab li:first-child h4 strong{
  font-size: 1.05em;
  }
.topteamlab li:first-child h4 br{
  display: none;
  }
.topteamlab li:first-child p{
  padding: 0;
  }
}

/*スラッシュ吹き出し*/
.topteamlab .balloon span{
  position: relative;
  text-align: center;
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0.3em 0.8em 0;
  margin-bottom: 12px;
  color: #E68E75;
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 300;
  font-size: 1.5em;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.1em;
}
.topteamlab .balloon span:before,
.topteamlab .balloon span:after{
  content: "";
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 86%;
  background: #E68E75;
}
.topteamlab .balloon span:before {
  transform: rotate(-24deg);
  left: 0;
}
.topteamlab .balloon span:after {
  transform: rotate(24deg);
  right: 0;
}
@media screen and (max-width: 1000px) {
.topteamlab .balloon span{
  margin-bottom: 6px;
  font-size: 1.3em;
  }
}
@media screen and (max-width: 767px) {
.topteamlab .balloon span{
  margin-bottom: 12px;
  font-size: 1.5em;
  }
}


/*========================
歯の健康を守ることはあなたの未来をまもること。
========================*/
.topmessagewrap{
  width: 100%;
  background-color: #E8F0F4;
}
.topmessage {
  width:100%;
  height: auto;
  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:stretch;
}
.topmessage li:first-child{
  width: 50%;
  width: calc(100% / 2 + 1px);
  background: linear-gradient(to right, transparent 0%, transparent 70%, #E8F0F4 100%), url(../img/index/message.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.topmessage li:last-child{
  width: 50%;
  margin: 0 auto;
  padding: 100px 32px 64px;
}
.topmessageinner {
  max-width: 840px;
  margin: 0 0 0 -100px;
}
.topmessageinner h3{
  font-family: 'Zen Old Mincho', serif;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.6;
  color: #2C5985;
}
.topmessageinner p{
  line-height: 1.9;
  margin: 18px auto 24px;
}
.topmessagebtn{
  text-align: right;
}
@media screen and (max-width: 960px) {
.topmessageinner h3{
  font-size: 1.7em;
  }
}
@media screen and (max-width: 767px) {
.topmessage {
  display: block;
  flex-direction: column;
  }
.topmessage li:first-child{
  width: 100%;
  height: 480px;
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, #E8F0F4 100%), url(../img/index/message.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  }
.topmessage li:last-child{
  width: 100%;
  padding: 0 32px 42px;
  }
.topmessageinner {
  max-width: 840px;
  margin: -32px auto 0;
  }
.topmessageinner h3{
  font-size: 2em;
  }
.topmessageinner p{
  padding: 0 1em;
  }
}
@media screen and (max-width: 640px) {
.topmessage li:first-child{
  height: 320px;
  }
}
@media screen and (max-width: 480px) {
.topmessage li:last-child{
  padding: 0 24px 42px;
  }
.topmessageinner {
  margin: -24px auto 0;
  }
.topmessageinner h3{
  font-size: 1.5em;
  letter-spacing: 0.02em;
  }
.topmessagebtn{
  font-size: 0.85em;
  white-space: nowrap;
  }
}


/*========================
診療案内
========================*/
.topservice {
  width:100%;
  max-width: 1240px;
  height: auto;
  margin: 48px auto 84px;
  padding:0 12px;
  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;
}
.topservice li{
  width: 25%;
  max-width:25%;
  width: calc(100% / 4);
  height: auto;
  padding: 0 12px;
}
.topservice li:nth-child(1),
.topservice li:nth-child(2),
.topservice li:nth-child(3){
  border-right: 1px solid #A6A8AE;
}
.topservice li a{
  display: block;
  text-decoration: none;
  font-weight: 400;
  color: #333;
}
.topservice li div{
  position: relative;
  width: 164px;
  height: 164px;
  background: #E8F0F4;
  border: 1px solid #E8F0F4;
  border-radius: 9999px;
  -webkit-border-radius: 9999px;
  -moz-border-radius: 9999px;
  margin: 0 auto;
	transition: 0.3s;
}
.topservice li div img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  width: 100%;
  max-width: 124px;
  margin: 0 auto;
	transition: 0.3s;
}
.topservice li a:hover div{
  background: #FCF5E0;
  border: 1px solid #B9B9C8;
}
.topservice li a:hover div img{
transform: translate(-50%, -50%) scale(0.9);
  transition: 0.3s;
}
.topservice li h3{
  font-family: "Kosugi Maru", sans-serif;
  color: #2C5985;
  font-weight: normal;
  font-size: 1.3em;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  margin: 24px auto 12px;
}
.topservice li p{
  font-size: 0.9em;
  line-height: 1.7;
  padding: 0 1em;
  margin: 0 0 0.2em;
}
@media screen and (max-width: 1240px) {
.topservice li div{
  width: 124px;
  height: 124px;
  }
.topservice li div img{
  max-width: 100px;
  }
}
@media screen and (max-width: 960px) {
.topservice {
  max-width: 680px;
  padding:0 24px;
  }
.topservice li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding: 0;
}
.topservice li:nth-child(1){
  padding: 0 18px 24px 0;
}
.topservice li:nth-child(2){
  padding: 0 0 24px 18px;
}
.topservice li:nth-child(3){
  padding: 24px 18px 0 0;
}
.topservice li:nth-child(4){
  padding: 24px 0 0 18px;
}
.topservice li:nth-child(1),
.topservice li:nth-child(2){
  border-bottom: 1px solid #A6A8AE;
  }
.topservice li:nth-child(2){
  border-right: none;
  }
}
@media screen and (max-width: 640px) {
.topservice {
  margin: 32px auto 48px;
  }
.topservice li p{
  line-height: 1.65;
  }
}
@media screen and (max-width: 480px) {
.topservice li div{
  width: 100px;
  height: 100px;
  }
.topservice li div img{
  max-width: 68px;
  }
.topservice li h3{
  font-size: 1.2em;
  margin: 18px auto 12px;
  }
.topservice li p{
  line-height: 1.6;
  font-size: 0.85em;
  padding: 0;
  }
}


/*========================
“納得できる治療”を、すべての患者さんへ。
========================*/
.topconcepttitle {
  font-family: 'Zen Old Mincho', serif;
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  padding: 0 18px;
  margin-bottom: 42px;
}
.topconcepttitle br{
  display: none;
}
@media screen and (max-width: 840px) {
.topconcepttitle {
  font-size: 1.8em;
  }
}
@media screen and (max-width: 767px) {
.topconcepttitle br{
  display: block;
  }
}
@media screen and (max-width: 640px) {
.topconcepttitle {
  margin-bottom: 24px;
  }
}
@media screen and (max-width: 480px) {
.topconcepttitle {
  font-size: 1.6em;
  }
}

/*-------------------------
画像付きカラム
--------------------------*/
/*画像＋テキスト*/
.topconceptA {
  width:100%;
  height: auto;
  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:stretch;
  border-top: 1px solid #A6A8AE;
}
.topconceptA li:first-child{
  width: 50%;
  width: calc(100% / 2 + 1px);
  z-index: -1;
}
.topconceptA li:last-child{
  width: 50%;
  margin: 0 auto;
  padding: 84px 32px 64px;
}
@media screen and (max-width: 960px) {
.topconceptA li:first-child{
  width: 40%;
  width: calc(40% + 1px);
  }
.topconceptA li:last-child{
  width: 60%;
  padding: 48px 32px 32px;
  }
}
@media screen and (max-width: 767px) {
.topconceptA {
  display: block;
  flex-direction: column;
  }
.topconceptA li:first-child{
  width: 100%;
  height: 320px;
  }
.topconceptA li:last-child{
  width: 100%;
  padding: 0 32px 42px;
  }
}
@media screen and (max-width: 480px) {
.topconceptA li:first-child{
  height: 240px;
  }
.topconceptA li:last-child{
  padding: 0 32px 32px;
  }
}

/*テキスト＋画像*/
.topconceptB {
  width:100%;
  height: auto;
  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:stretch;
  border-top: 1px solid #A6A8AE;
}
.topconceptB li:first-child{
  width: 50%;
  margin: 0 auto;
  padding: 84px 32px 64px;
}
.topconceptB li:last-child{
  width: 50%;
  width: calc(100% / 2 + 1px);
  z-index: -1;
}
@media screen and (max-width: 960px) {.topconceptB li:first-child{
  width: 60%;
  padding: 48px 32px 32px;
  }
.topconceptB li:last-child{
  width: 40%;
  width: calc(40% + 1px);
  }
}
@media screen and (max-width: 767px) {
.topconceptB {
  flex-direction: column-reverse;
  }
.topconceptB li:first-child{
  width: 100%;
  padding: 0 32px 42px;
  }
.topconceptB li:last-child{
  width: 100%;
  height: 320px;
  }
}
@media screen and (max-width: 480px) {
.topconceptB li:first-child{
  padding: 0 32px 32px;
  }
.topconceptB li:last-child{
  height: 240px;
  }
}

/*テキスト中身*/
.topconceptA .topconceptinner {
  max-width: 640px;
  margin: 0 0 0 -64px;
}
.topconceptB .topconceptinner {
  max-width: 640px;
  margin: 0 -64px 0 auto;
}
.topconceptinner h5{
  display: inline-block;
  font-size: 3.4em;
  font-weight: 300;
  line-height: 1;
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #91B3CD;
  letter-spacing: 0.08em;
  margin: 0 0.2em 0 0;
}
.topconceptinner h5:after{
  display: block;
  content: "Concept";
  font-size: 0.25em;
  letter-spacing: 0.05em;
  text-align: center;
  font-weight: 400;
}
.topconceptinner h4{
  display: block;
  font-size: 1.6em;
  font-weight: 600;
  line-height: 1.6;
  color: #2C5985;
  margin-top: 0.2em;
}
.topconceptinner p{
  line-height: 1.9;
  margin: 12px auto 0;
}
@media screen and (max-width: 960px) {
.topconceptinner h4{
  font-size: 1.4em;
  }
}
@media screen and (max-width: 767px) {
.topconceptA .topconceptinner,
.topconceptB .topconceptinner {
  max-width: 600px;
  margin: -24px auto 0;
  }
.topconceptinner h4{
  font-size: 1.6em;
  }
}
@media screen and (max-width: 640px) {
.topconceptinner h4{
  font-size: 1.35em;
  letter-spacing: 0.03em;
  }
.topconceptinner p{
  line-height: 1.8;
  font-size: 0.95em;
  }
}
@media screen and (max-width: 480px) {
.topconceptinner h5{
  font-size: 3.2em;
  }
.topconceptinner h4{
  font-size: 1.2em;
  }
}

/*画像*/
.concept01{
  height: auto;
  background: linear-gradient(to right, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.concept02{
  height: auto;
  background: linear-gradient(to left, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.concept03{
  height: auto;
  background: linear-gradient(to right, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept3.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.concept04{
  height: auto;
  background: linear-gradient(to left, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept4.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.concept05{
  height: auto;
  background: linear-gradient(to right, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept5.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
@media screen and (max-width: 767px) {
.concept01{
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  }
.concept02{
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  }
.concept03{
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept3.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  }
.concept04{
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept4.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  }
.concept05{
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, #FFF 100%), url(../img/index/concept5.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  }
}
