﻿@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=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Questrial&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ヘッダー
========================*/
.topimg {
  width: 96%;
  height: 96vh;
  margin: 12px auto 0;
  padding: 18px 0 0;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  position: relative;
}
.topcomment {
  position: absolute;
  bottom: 32px;
  right: 42px;
}
.topcomment img{
  width: 100%;
  max-width: 640px;
}
@media screen and (max-width: 1240px) {
.topimg {
  height: 680px;
  margin: 18px auto 0;
  }
}
@media screen and (max-width: 960px) {
.topimg {
  height: 540px;
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  }
.topcomment {
  bottom: 24px;
  right: 32px;
  }
.topcomment img{
  max-width: 480px;
  }
}
@media screen and (max-width: 767px) {
.topimg {
  width: 100%;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  margin: 0 auto;
  }
}
@media screen and (max-width: 480px) {
.topimg {
  height: 420px;
  }
.topcomment {
  bottom: 12px;
  right: 12px;
  }
.topcomment img{
  max-width: 340px;
  }
}


/*========================
お知らせ＆カレンダー
========================*/
.topinfo {
  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: flex-start;
  align-items:flex-end;
}
.topinfo_news {
  flex: 1;
  padding: 0 42px 0 0;
}
.topinfo_calendar {
  width: 420px;
}
@media screen and (max-width: 1080px) {
.topinfo {
  display: block;
  flex-direction: column;
  max-width: 680px;
  }
.topinfo_news {
  padding: 0 0 32px 0;
  }
.topinfo_calendar {
  width: 100%;
  text-align: center;
  }
.topinfo_calendar img{
  width: 100%;
  max-width: 640px;
  }
}
@media screen and (max-width: 640px) {
.topinfo {
  padding:0 24px;
  }
}
@media screen and (max-width: 480px) {
.topinfo_news .title_navy32,
.topinfo_news .title_navyeng24 {
  padding: 0 0 0 1em;
}
.topinfo {
  padding:0;
  }
.topinfo_calendar {
  padding: 0 24px;
  }
}

/*-------------------------
お知らせ
--------------------------*/
details {
  border-top: 1px solid #B7C1C6;
  padding: 1em 0;
}
/*details:last-child{
  border-bottom: 1px solid #B7C1C6;
}*/
.newsarticle{
  padding: 1em 2.4em 0 1em;
  font-size: 0.95em;
}
.newsarticle p{
  margin-bottom: 0.6em;
}
summary {
  display: block;
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
  padding: 0 2.2em 0 0;
}
summary .date{
  width: 6em;
  display: inline-block;
  color: #91A0A8;
  font-size: 1.05em;
  letter-spacing: 0.08em;
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-style: normal;
}
summary h2{
  display: inline;
  color: #333;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.65;
}
@media screen and (max-width: 640px) {
summary h2{
  display: block;
  }
}
@media screen and (max-width: 480px) {
details {
  padding: 0.8em 0 0.8em 1em;
  }
.newsarticle{
  padding: 0.8em 0.8em 0 0.8em;
  }
}

summary::-webkit-details-marker {
	display: none;
}
summary:after {
  position: absolute;
  top: 50%;
  right: -0.25em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 3em;
  line-height: 1;
  color: #91A0A8;
  font-family:"Material Symbols Rounded";
	content: "\e5cc"; /*右向き矢じり*/
  font-variation-settings:
  'FILL' 1,
  'wght' 100
}
details[open] summary:after {
  font-family:"Material Symbols Rounded";
	content: "\e316"; /*上向き矢じり*/
  font-variation-settings:
  'FILL' 1,
  'wght' 200
}

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

/*-------------------------
求人情報
--------------------------*/
.toprecruit {
  width: 100%;
  margin: auto;
  padding: 0 3em 0 0;
  background: #FBF3D9;
  border-top: 1px solid #B7C1C6;
  border-bottom: 1px solid #B7C1C6;
  position: relative;
}
.toprecruit a{
  display: block;
  text-decoration: none;
}
.toprecruit:after {
  position: absolute;
  top: 50%;
  right: -0.15em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 4.8em;
  line-height: 1;
  color: #4B595F;
  font-family:"Material Symbols Rounded";
	content: "\e5cc"; /*右向き矢じり*/
  font-variation-settings:
  'FILL' 1,
  'wght' 200
}

/* 中身*/
.toprecruit ul{
  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-end;
}
.toprecruit ul li:first-child{
  display: inline-block;
  white-space: nowrap;
  padding: 0 0 0 12px;
}
.toprecruit ul li:last-child{
  flex: 1;
  padding: 18px 0 18px 18px;
}
.toprecruit ul li:first-child img{
  max-height: 100px;
}
.toprecruit ul li:last-child h3{
  display: inline;
  color: #4B595F;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1;
}
.toprecruit ul li:last-child h4 {
  display: inline;
  margin-left: 0.4em;
}
.toprecruit ul li:last-child h4 span{
  display: inline;
  color: #FFF;
  background-color: #4B595F;
  font-size:1em;
  font-weight: 500;
  line-height: 1;
  padding: 0.3em 0.5em;
  margin-right: 0.3em;
}
.toprecruit ul li:last-child p{
  display: block;
  color: #4B595F;
  font-size: 0.85em;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 10px;
}
@media screen and (max-width: 1160px) {
.toprecruit ul li:last-child h4 {
  display:block;
  margin-left: 0;
  }
}
@media screen and (max-width: 1080px) {
.toprecruit ul li:last-child h4 {
  display: inline;
  margin-left: 0.4em;
  }
}
@media screen and (max-width: 767px) {
.toprecruit ul{
  display: block;
  flex-direction: column;
  }
.toprecruit ul li:first-child{
  width: 100%;
  text-align: center;
  padding: 12px 0 0 0;
  }
.toprecruit ul li:last-child{
  padding: 12px 0 18px 24px;
  }
}
@media screen and (max-width: 480px) {
.toprecruit ul li:last-child{
  padding: 12px 0 12px 18px;
  }
.toprecruit ul li:first-child img{
  max-height: 84px;
  }
.toprecruit ul li:last-child h3 {
  display:block;
  text-align: center;
  margin-bottom: 12px;
  }
.toprecruit ul li:last-child h4 {
  display:block;
  margin-left: 0;
  text-align: center;
  }
}


/*========================
ご家族みんなで通える歯のかかりつけ医として
========================*/
.topmessage {
  width:100%;
  max-width: 1240px;
  margin: 64px auto;
  padding:0 48px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items:center;
}
.topmessage li:first-child {
  flex: 1;
  padding: 0 32px 0 0;
}
.topmessage li:last-child {
  width: 540px;
}
.topmessage li:last-child img{
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
}
@media screen and (max-width: 1240px) {
.topmessage li:last-child {
  width: 420px;
  }
}
@media screen and (max-width: 1000px) {
.topmessage {
  display: block;
  flex-direction: column;
  max-width: 680px;
  }
.topmessage li:first-child {
  padding: 0 0 24px 0;
  }
.topmessage li:last-child {
  width: 100%;
  text-align: center;
  }
}
@media screen and (max-width: 640px) {
.topmessage {
  margin: 48px auto;
  padding:0 32px;
  }
}


/*========================
診療内容
========================*/
.topservicewrap {
  width: 100%;
  max-width: 1240px;
  height: 100%;
  margin: auto;
  padding: 42px;
  background: #EAEDEE;
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  position: relative;
}
@media screen and (max-width: 1000px) {
.topservicewrap {
  max-width: 640px;
  }
}
@media screen and (max-width: 640px) {
.topservicewrap {
  padding: 32px;
  }
}
@media screen and (max-width: 480px) {
.topservicewrap {
  padding: 32px 24px 24px;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  }
}

/*-------------------------
保険診療
--------------------------*/
.topservice_general {
  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;
}
.topservice_general_detail {
  flex: 1;
  padding: 0 42px 0 0;
}
.topservice_general_link {
  width: 40%;
}
.topservice_general_detail p {
  font-size: 0.9em;
}
@media screen and (max-width: 1240px) {
.topservice_general_link {
  width: 50%;
  }
}
@media screen and (max-width: 1000px) {
.topservice_general {
  display: block;
  flex-direction: column;
  }
.topservice_general_detail {
  padding: 0 0 24px 0;
  }
.topservice_general_link {
  width: 100%;
  }
}

/* 保険診療リンクボックス */
.topservice_general_link ul{
  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;
  flex-wrap: wrap;
}
.topservice_general_link ul li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  height: auto;
  padding: 12px;
}
.topservice_general_link ul li a{
  display: block;
  text-decoration: none;
  height: 100%;
}

/* 保険診療リンクボックス中身 */
.topservice_general_link ul li div{
  width: 100%;
  height: 100%;
  padding: 18px 12px;
  margin: auto;
  background: #FFF;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.3);
  text-align: center;
  white-space: nowrap;
}
.topservice_general_link ul li div img{
  width: 100%;
  max-width: 84px;
}
@media screen and (max-width: 1000px) {
.topservice_general_link ul{
  max-width: 480px;
  }
}
@media screen and (max-width: 640px) {
.topservice_general_link ul li{
  padding: 6px;
  }
.topservice_general_link ul li div{
  font-size: 0.9em;
  }
.topservice_general_link ul li div img{
  max-width: 64px;
  }
}
@media screen and (max-width: 480px) {
.topservice_general_link ul li div{
  font-size: 0.85em;
  padding: 12px 6px;
  }
.topservice_general_link ul li div img{
  max-width: 48px;
  }
}

/*-------------------------
自由診療
--------------------------*/
.topservice_selffund {
  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;
}
.topservice_selffund li{
  width: 33.33%;
  max-width:33.33%;
  width: calc(100% / 3);
  height: auto;
  margin:0 18px 0 0;
  text-align: center;
}
.topservice_selffund li:last-child{
  margin:0 0 0 0;
}
.topservice_selffund li a{
  display: block;
  text-decoration: none;
  height: 100%;
}
.topservice_selffund li img{
  width: 100%;
  max-width: 124px;
  margin-bottom: 12px;
}
.topservice_selffund li p{
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  margin-top: 12px;
  color: #333;
}
.topservice_selffund .topservicewrap:after{
  position: absolute;
  top: 0.75em;
  right: 0.25em;
  font-size: 2.5em;
  line-height: 0;
  color: #B7C1C6;
  font-family:"Material Symbols Rounded";
	content: "\eaaa"; /*右向き丸矢印*/
  font-variation-settings:
  'FILL' 1,
  'wght' 400
}
@media screen and (max-width: 1000px) {
.topservice_selffund {
  display: block;
  flex-direction: column;
  }
.topservice_selffund li{
  width: 100%;
  max-width:100%;
  margin:0 0 18px 0;
  }
.topservice_selffund li img{
  max-width: 100px;
  }
.topservice_selffund li p{
  max-width: 420px;
  margin: 12px auto 0;
  }
}
@media screen and (max-width: 480px) {
.topservice_selffund li img{
  max-width: 84px;
  }
}

