﻿@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('//fonts.googleapis.com/css?family=Cinzel');
/* 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");


/*========================
ヘッダーイメージ
========================*/
.topimg {
  width: 100%;
  height: 740px;
  margin: 0 auto;
	transition: 0.3s;
  position: relative;
  z-index: -1;
}
@media screen and (max-width: 1640px) {
.topimg {
  height: 620px;
  }
}
@media screen and (max-width: 1240px) {
.topimg {
  height: 520px;
  }
}
@media screen and (max-width: 767px) {
.topimg {
  height: 480px;
  }
}
@media screen and (max-width: 640px) {
.topimg {
  height: 420px;
  }
}
@media screen and (max-width: 480px) {
.topimg {
  height: 360px;
  }
}

/*キャッチコピー*/
.topimg span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.topimg h2 {
  text-align: center;
  text-shadow: 0 0 8px #000;
  font-family: 'Zen Old Mincho', serif;
  font-size: 2.6em;
  font-weight: 700;
  line-height: 1.6;
  color: #FFF;
  white-space: nowrap;
  margin-bottom: 32px;
}
.topimg p {
  text-align: center;
  text-shadow: 0 0 6px #000;
  font-family: 'Cinzel', serif;
  font-size: 1.5em;
  line-height: 1;
  letter-spacing: 0.2em;
  color: #FFF;
  white-space: nowrap;
}
@media screen and (max-width: 1240px) {
.topimg h2 {
  font-size: 2.4em;
  margin-bottom: 24px;
  }
.topimg p {
  font-size: 1.4em;
  }
}
@media screen and (max-width: 767px) {
.topimg h2 {
  font-size: 2.1em;
  margin-bottom: 24px;
  }
.topimg p {
  font-size: 1.3em;
  }
}
@media screen and (max-width: 480px) {
.topimg h2 {
  font-size: 1.6em;
  margin-bottom: 18px;
  }
.topimg p {
  font-size: 1.1em;
  }
}


/*========================
導入文
========================*/
.intro {
  width:100%;
  max-width: 960px;
  margin: auto;
  padding: 0 42px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items:flex-end;
  margin-top: -50px;
}
.intro li:first-child {
  max-width: 164px;
}
.intro li:last-child {
  flex: 1;
  margin: 0 0 0 32px;
}
.intro li:last-child h2 {
  font-weight: 700;
  font-size: 1.3em;
  color: #46B0AC;
  line-height: 1.6;
  margin-bottom: 18px;
}
.intro li:last-child h2 br{
  display: none;
}
.intro li:last-child p{
  margin-bottom: 12px;
}
@media screen and (max-width: 1240px) {
.intro {
  align-items:flex-start;
  margin-top: -50px;
  }
.intro li:first-child {
  max-width: 142px;
  }
.intro li:last-child {
  margin: 0 0 0 24px;
  padding: 84px 0 0;
  }
}
@media screen and (max-width: 960px) {
.intro {
  padding: 0 32px;
  margin-top: -42px;
  }
}
@media screen and (max-width: 767px) {
.intro {
  display: block;
  flex-direction: column;
  }
.intro li:first-child {
  max-width: 100%;
  text-align: center;
  }
.intro li:first-child img{
  width: 100%;
  max-width: 142px;
  }
.intro li:last-child {
  margin: 18px 0 0 0;
  padding: 0 0 0;
  }
.intro li:last-child h2 {
  text-align: center;
  }
}
@media screen and (max-width: 640px) {
.intro {
  padding: 0 24px;
  margin-top: -42px;
  }
.intro li:first-child img{
  max-width: 124px;
  }
.intro li:last-child h2 {
  margin-bottom: 12px;
  }
}
@media screen and (max-width: 480px) {
.intro {
  margin-top: -24px;
  }
.intro li:first-child img{
  max-width: 100px;
  }
.intro li:last-child h2 br{
  display: block;
  }
}


/*========================
当院からのお知らせ
========================*/
details {
  border-bottom: 1px solid #AAA;
  padding: 1em 0;
}
details:last-child{
  border-bottom: none;
}
.newsarticle{
  padding: 1em 1em 0;
  font-size: 0.95em;
}
.newsarticle p{
  margin-bottom: 0.8em;
}
.newsarticle img{
  margin: 15px 0;
}
summary {
  display: block;
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
  color: #333;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.7;
  padding: 0 2em 0 0;
}
summary span{
  display: block;
  color: #66C8B7;
  font-size: 0.95em;
  font-weight: 300;
  letter-spacing: 0.12em;
}
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: #66C8B7;
  font-family:"Material Symbols Rounded";
	content: "\e5cc"; /*右向き矢じり*/
  font-variation-settings:
  'FILL' 1,
  'wght' 200
}
details[open] summary:after {
  font-family:"Material Symbols Rounded";
	content: "\e316"; /*上向き矢じり*/
  font-variation-settings:
  'FILL' 1,
  'wght' 200
}
@media screen and (max-width: 640px) {
summary {
  font-size: 1em;
  }
}
@media screen and (max-width: 480px) {
.newsarticle{
  padding: 1em 0.8em 0;
  }
}

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


/*========================
クリニック案内
========================*/
/*-------------------------
院内ギャラリー
--------------------------*/
.clinicgallery {
  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;
}
.clinicgallery li {
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding:0 12px 24px 12px;
  box-sizing: border-box;
}
.clinicgallery img {
  width:100%;
  border: 1px solid #BBB;
}
@media screen and (max-width: 1000px) {
.clinicgallery li {
  padding:0 6px 18px 6px;
  }
}
@media screen and (max-width: 640px) {
.clinicgallery{
  display: block;
  flex-direction: column;
}
.clinicgallery li {
  width: 100%;
  max-width: 100%;
  padding:0 6px 15px 6px;
  }
}

/* 写真ギャラリーキャプション */
.clinicgallery .caption {
  font-size: 0.85em;
  margin-top: 8px;
  line-height: 1.6;
  padding: 0 0.5em 0 1.35em;
  position: relative;
}
.clinicgallery .caption:before{
  position: absolute;
  top: 0.08em;
  left: 0;
  line-height: 1;
  font-size: 1.2em;
  font-family:"Material Symbols Rounded";
	content: "\e86b"; /*上向き三角*/
  font-variation-settings:
  'FILL' 1,
  'wght' 300
}


/*========================
医師紹介
========================*/
.docinfo {
  width:100%;
  max-width: 640px;
  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;
}
.docinfo li:first-child{
  max-width: 240px;
}
.docinfo li:first-child img{
  width: 100%;
  max-width: 240px;
}
.docinfo li:last-child{
  flex: 1;
  margin: 0 0 0 32px;
}
.docinfo li:last-child h4{
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.08em;
  margin-right: 0.5em;
}
.docinfo li:last-child h3{
  display: inline-block;
  font-size: 1.5em;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.08em;
}
.docinfo li:last-child h5{
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.3em;
  line-height: 1;
  white-space: nowrap;
  color: #46B0AC;
  letter-spacing: 0.08em;
  margin: 8px 0 12px;
}
.docinfo li:last-child p br{
  display: none;
}
@media screen and (max-width: 1000px) {
.docinfo li:first-child{
  max-width: 200px;
  }
}
@media screen and (max-width: 767px) {
.docinfo li:first-child{
  max-width: 164px;
  }
.docinfo li:last-child h4{
  font-size: 1.05em;
  }
.docinfo li:last-child h3{
  font-size: 1.4em;
  }
}
@media screen and (max-width: 640px) {
.docinfo {
  align-items:flex-start;
  }
.docinfo li:first-child{
  width: 124px;
  }
.docinfo li:last-child{
  margin: 0 0 0 24px;
  }
.docinfo li:last-child h5{
  font-size: 1.2em;
  margin: 6px 0 10px;
  }
.docinfo li:last-child p{
  font-size: 0.9em;
  }
}
@media screen and (max-width: 480px) {
.docinfo {
  max-width: 320px;
  }
.docinfo li:first-child{
  width: 100px;
  }
.docinfo li:last-child{
  margin: 0 0 0 15px;
  }
.docinfo li:last-child h4{
  font-size: 0.9em;
  }
.docinfo li:last-child h3{
  font-size: 1.2em;
  }
.docinfo li:last-child h5{
  font-size: 1.05em;
  margin: 3px 0 8px;
  }
.docinfo li:last-child p br{
  display: block;
  }
}


/*========================
診療時間
========================*/
.hourtable {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-collapse: collapse;
}
.hourtable tr{
  border-bottom: 1px solid #666;
  height: 3.4em;
}
.hourtable tr:first-child{
  border-bottom: 1px solid #666;
  height: 0;
}
.hourtable th{
  width: 8em;
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  padding: 0 0.2em;
}
.hourtable td{
  font-size: 1.3em;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  padding: 0 0.2em;
}
.hourtable .hourchap{
  letter-spacing: 0.2em;
  font-size: 0.95em;
  padding-bottom: 0.6em;
}
.hourtable .closed{
  color: #D83500;
  font-weight: 500;
  letter-spacing: 0.2em;
  font-size: 1.1em;
}

@media screen and (max-width: 640px) {
.hourtable th{
  width: 6em;
  font-size: 1em;
  text-align: left;
  padding: 0 0 0 0.6em;
  }
.hourtable td{
  font-size: 1.2em;
  }
}
@media screen and (max-width: 480px) {
.hourtable tr{
  height: 3.2em;
  }
.hourtable th{
  width: 4.2em;
  font-size: 0.9em;
  padding: 0 0 0 0.5em;
  }
.hourtable td{
  font-size: 1.05em;
  }
.hourtable .hourchap{
  font-size: 0.85em;
  padding-bottom: 0.5em;
  }
.hourtable .closed{
  font-size: 1em;
  }
}


