body {
  font-family: "EB Garamond", "Shippori Mincho", serif;
  font-size: 16px;
}

h1 {
  font-size: 30px;
  font-weight: bold;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

h3 {
  font-size: 20px;
  font-weight: bold;
}

h4 {
  font-size: 18px;
  font-weight: bold;
}

p {
  line-height: 30px;
}

a:hover {
  opacity: 0.5s;
}

header a:hover,
footer a:hover {
  color: deeppink;
}

.container {
  /* max-width: 900px; */
  padding: 0 100px;
  margin-inline: auto;
}

header {
  /* margin-bottom: 20px; */
  /* position: fixed; */
  z-index: 10;
  /* background-color: white; */
  width: 100%;
  background-image: url(img/green.png);
  background-size: cover;
  /* height: 200px; */
  padding: 0 40px;
}

.header {
  padding: 0.2px;
}

header img {
  width: 12%;
  padding: 20px;
}

header .header {
  display: flex;
  justify-content: space-between;
  /* padding-top: 20px; */
  align-items: center;
  /* margin-bottom: 20px; */
}

header>div a {
  font-size: 30px;
  color: red;
}

.about-list,
.guide-list,
.contact-list {
  display: none;
}

.about:hover .about-list,
.guide:hover .guide-list,
.contact:hover .contact-list {
  display: block;
  position: absolute;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  /* gap: 15px 0; */
  padding: 10px;
  border-bottom: solid 1px white;
}

.about-list li,
.guide-list li,
.contact-list li {
  padding: 10px 0;
  border-bottom: solid 1px white;
}

.about,
.guide,
.contact {
  position: relative;
  z-index: 10000;
}

.about-list a,
.guide-list a,
.contact-list a {
  /* display: flex;
  justify-content: center;
  align-items: center; */
  color: #fff;
  /* text-decoration: none;
  position: relative; */
}

/* .about::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(135deg);
  position: absolute;
  right: 15px;
  top: calc(50% - 5px);
} */

.main-img {
  display: contents;
  width: 20%;
}

header>div>div {
  text-align: right;
  font-size: 20px;
}

.swiper {
  width: 100%;
  height: clamp(220px, 55vw, 600px);
}

header small {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: gray;
}

header>div p {
  margin-bottom: 10px;
}

.header-menu {
  position: relative;
  width: 100%;
}

.header-menu a {
  width: 100%;
  display: block;
}

.menu-list {
  justify-content: space-between;
  display: flex;
  padding: 10px 30px;
  z-index: 10000;
}

.menu-list>li {
  width: 20%;
  z-index: 10000;
}

/* .about-list:hover{
  display: grid;
  text-align: center;
  gap: 15px 0;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  position: absolute;
  width: 20%;
  border: solid 1px black;
  color: white;
  display: none;
} */
/* span {
  border-left: solid 1px black;
  height: 20px;
} */

/* .menu ul li:not(:last-child){
  border-right: 1px solid black;
} */
.menu ul li {
  font-size: 16px;
  /* margin-inline: 5%; */
  text-align: center;
  /* width: 20%; */
}

.kv-sec h1 {
  text-align: center;
  padding: 20px;
}

.kv-sec p {
  text-align: center;
}

.kv-sec img {
  width: 100%;
  /* top: 100px; */
  display: block;
  margin-bottom: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kv-sec,
.news-sec,
.content-sec,
.hour-sec,
.info-header,
.contact-sec,
.qa-sec {
  /* top: 100px; */
  /* position: relative; */
  margin-bottom: 60px;
  /* max-width: 93%; */
}

.news-ttl,
.content-ttl,
.hour-ttl,
.intro-ttl,
.dr-ttl,
.intro-ttl,
.traffic-ttl,
.medi-ttl,
.kyosei-ttl,
.houmon-ttl,
.privacy-ttl,
.qa-ttl,
.contact-ttl {
  background-color: rgba(0, 500, 0, .5);
  border-radius: 10px;
  color: black;
  width: 50%;
  height: 100%;
}

.news-sec ul li div {
  display: flex;
  text-align: center;
  margin-bottom: 10px;
  padding-top: 10px;
}

.news-sec ul li .date {
  border-bottom: 2px black solid;
}

.news-sec ul li {
  border-bottom: 1px rgba(0, 0, 0, 0.7) solid;
}

.news-sec ul {
  max-width: 800px;
  margin-inline: auto;
  padding: 0 100px;
}

.date {
  font-size: 20px;
  margin-right: 30px;
}

.news {
  background-color: pink;
  border-radius: 10px;
  color: white;
  padding: 0 10px;
  /* height: 20px; */
}

.content a {
  display: flex;
  position: relative;
  /* display: block; */
  width: 50%;
  /* height: 200px; */
}

.content img {
  width: 100%;
  /* height: 20vh; */
  /* position: relative; */
}

.content {
  position: relative;
  /* width: calc(100% / 2 + 20px / 2); */
  /* height: 300px; */
  align-items: center;
  border: solid 0.5px pink;
  padding: 10px;
  border-radius: 10px;

}

.button {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding-top: 10px;
}

.button p {
  font-size: 1vw;
  /* position: relative; */
  height: 2vh;
}

.content-sec .content {
  display: flex;
}

button {
  border-radius: 10px;
  background-color: pink;
  color: gray;
  padding: 1px;
  border: 1px solid black;
  font-size: 10px;
  /* position: absolute; */
  margin-top: 6%;
}

.button p {
  font-weight: bold;
}

.content-cd {
  display: grid;
  grid-template-columns: 48% 48%;
  gap: 15px;
  padding-top: 20px;
}

.content-ex {
  width: 300px;
  height: 100%;
}

.content div h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
  top: 0;
}

.content-ex p {
  font-size: 14px;
}

.table {
  margin-top: 20px;
  /* width: 100%; */
  /* height: 100%; */
  /* margin-inline: auto; */
  /* border: 1px black solid; */
  text-align: center;
  display: block;
}

.table th {
  width: 200px;
  height: 50px;
  font-size: 20px;
  border: 1px black solid;
  vertical-align: middle;
  background-color: pink;
}

.table td {
  /* width: calc(70% / 7); */
  border: 1px black solid;
  text-align: center;
  vertical-align: middle;
  align-items: center;
  /* justify-content: space-between; */
  height: 100%;
  width: 70px;
}

.table tr:nth-child(1) {
  background-color: pink;
}

.hour-sec>div {
  display: flex;
  /* justify-content: space-between; */
  gap: 0 40px;
  align-items: center;
  margin-bottom: 20px;
}

.hour-ex {
  margin-top: 10px;
}

footer {
  background-image: url(/img/green.png);
  padding-top: 20px;
}

footer nav ul {
  display: flex;
  justify-content: center;
  gap: 0 30px;
  margin-bottom: 30px;
}

footer small {
  text-align: center;
  padding-bottom: 30px;
  display: block;
  font-size: 15px;
  font-weight: bold;
}

.intro-sec {
  padding-top: 30px;
}

.intro-table {
  margin-top: 20px;
  /* width: 100%; */
  /* height: 100%; */
  /* margin-inline: auto; */
  /* border: 1px black solid; */
  /* text-align: center; */
  display: block;
  max-width: 1100px;
  margin-inline: auto;
  /* padding: 40px; */
}

.intro-table tr {
  padding: 10px 20px;
}

.intro-table th {
  width: 20%;
  /* height: 50px; */
  font-size: 18px;
  border: 1px black solid;
  vertical-align: middle;
  /* background-color: pink; */
  padding: 10px 20px;
}

.intro-table td {
  /* width: calc(70% / 7); */
  border: 1px black solid;
  /* text-align: center; */
  vertical-align: middle;
  align-items: center;
  /* justify-content: space-between; */
  height: 100%;
  width: 80%;
  padding: 10px 20px;
}

.intro-table td a {
  color: lightcoral;
}

.dr-ttl>div {
  width: 1100px;
}

.dr-sec img {
  width: 80%;
}

.dr-sec>div>div {
  display: flex;
  margin-bottom: 40px;
  align-items: center;
}

.dr-img {
  text-align: center;
  width: 80%;
}

/* .dr-sec p{
  font-size: 14px;
} */
.dr-ttl {
  margin-top: 40px;
}

.dr-sec h3,
.traffic-sec h3,
.medi-sec h3,
.kyosei-sec h3,
.houmon-sec h3 {
  margin-bottom: 30px;
  border-bottom: 2px solid black;
  width: 40%;
}

.dr-img img {
  margin-bottom: 20px;
}

.history li {
  border-bottom: 1px solid gray;
}

.history {
  width: 80%;
  font-size: 20px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.history td,
.history th {
  border-bottom: 1px solid gray;
  padding: 10px 20px;
}

.history th {
  width: 30%;
  /* padding: 10px 20px; */
}

.history td {
  width: 70%;
}

.table {
  align-items: center;
}

.hour {
  gap: 0 40px;
}

.dr-sec>div>div:nth-child(3) {
  gap: 0 20px;
}

.traffic-table tr {
  border-bottom: solid 0.6px rgba(0, 0, 0, 0.8);
  /* padding: 20px 0; */
}

.traffic-table {
  margin-inline: auto;
  width: 900px;
  font-size: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.traffic-table th,
.traffic-table td {
  padding: 20px 0;
}

.traffic-sec iframe {
  width: 100%;
  height: 300px;
  margin-bottom: 40px;
}

#hospital,
#traffic {
  padding-top: 40px;
}

.medi-ttl,
.kyosei-ttl,
.houmon-ttl {
  margin-top: 40px;
}

.medi-sec>p,
.child-sec>p {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 20px;
  width: 70%;
}

.medi {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  justify-content: center;
  /* width: 900px; */
  gap: 20px;
  margin-inline: auto;
}

.face {
  width: 287px;
}

.condition,
.musiba,
.sishuubyou {
  width: 250px;
}

.medi-sec strong,
.child-sec strong,
.privacy-sec strong {
  display: block;
  /* font-weight: bold; */
  font-size: 20px;
  margin-bottom: 15px;
}

.child-sec strong:last-child {
  text-align: center;
}

.child-sec {
  border-top: dotted 1px red;
  padding-top: 40px;
}

.musiba-sec div div,
.sishuubyou-sec div div {
  background-color: antiquewhite;
  border: solid 0.5px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 20px;
  width: 70%;
}

.musiba-sec,
.sishuubyou-sec {
  border-top: 1px dotted red;
  padding: 30px 0;
}

.musiba-sec>div,
.sishuubyou-sec>div {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  justify-content: center;
  /* width: 900px; */
  gap: 20px;
  margin-inline: auto;
}

.sishuubyou-ex {
  margin-inline: auto;
  border: 1px solid black;
  background-color: antiquewhite;
  border-radius: 10px;
  width: 80%;
  padding: 20px;
}

.child {
  display: flex;
  justify-content: center;
  margin-inline: auto;
  width: 90%;
  gap: 0 20px;
  align-items: center;
  margin-bottom: 30px;
}

.child-sec h3 {
  margin-bottom: 20px;
}

.kennshin {
  display: flex;
  width: 50%;
}

.kennshin>div {
  padding: 20px;
  width: 60%;
}

.kennshin img {
  width: 200px;
}

.kennshin-sec {
  display: flex;
  margin-bottom: 30px;
  margin-inline: auto;
  justify-content: center;
  gap: 30px;
  border-top: 1px dotted red;
  padding-top: 40px;
}

.kennshin div p {
  font-size: 15px;
}

.kennshin-sec th {
  font-size: 18px;
  font-weight: bold;
  vertical-align: middle;
  width: 100%;
}

.kennshin-sec td {
  vertical-align: middle;
  width: 100%;
}

.kennshin-sec table {
  background-color: antiquewhite;
  /* padding: 20px; */
  border-radius: 10px;
  width: 50%;
}


.implant,
.implant-merit {
  align-items: center;
  display: flex;
  margin-inline: auto;
  justify-content: center;
  gap: 0 40px;
  margin-bottom: 40px;
}

/* .implant img{
  width: 50%;
} */
.implant-ex,
.implant-merit-ex {
  width: 50%;
  /* gap: 40px 0;
  display: block; */
}

.implant strong,
.implant-merit strong {
  font-size: 20px;
  display: block;
  padding: 40px 0;
}

.implant-img {
  width: 40%;
  margin-bottom: 40px;
}

.implant-step,
.houmon-step {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  /* width: 100%; */
  margin-bottom: 40px;

}

.implant-step div,
.houmon-step div {
  width: 45%;
  padding: 30px 30px;
  background-color: antiquewhite;
  border: 1px black solid;
  border-radius: 10px;
  height: 35vh;
  align-items: center;
  /* display: grid; */
}

.step {
  padding: 10px;
  background-color: gray;
  border-radius: 5px;
  color: white;
  /* align-items: center; */
  /* vertical-align: middle; */
  display: block;
  position: relative;

}

.step::after {
  content: "▶︎";
  /* font-size: 10px; */
  right: 10px;
  /* display: block; */
  position: absolute;
}

.implant-sec h4 {
  text-align: center;
  margin-bottom: 40px;
}

.implant-step div p {
  margin-top: 20px;
  line-height: 20px;
}

.kyosei-ex {
  display: flex;
  margin-bottom: 40px;
  justify-content: center;
  gap: 30px;
  /* align-items: center; */

}

.kyosei-ex img {
  width: 50%;
}

.kyosei-ex strong {
  margin-bottom: 30px;
  display: block;
}

.kyosei-child {
  text-align: center;
  font-size: 22px;
  background-color: aquamarine;
  display: block;
  width: 70%;
  margin-inline: auto;
  /* color: white; */
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 40px;
}

.kinds h4 {
  margin-bottom: 30px;
  border-bottom: dotted 1px red;
  padding-bottom: 20px;
}

.kyosei-kinds {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin-inline: auto;
  margin-bottom: 40px;
}

.kyosei-kinds img {
  width: 20%;
}

.kyosei-kinds p {
  width: 60%;

}

.kyosei-end {
  display: block;
  text-align: center;
  margin-bottom: 15px;
  font-size: 20px;
}

.visit {
  display: flex;
  justify-content: center;
  gap: 30px;
  /* align-items: center; */
  margin-inline: auto;
  margin-bottom: 40px;
}

.visit strong {
  display: block;
  margin-bottom: 30px;
}

.houmon-sec table th,
.houmon-sec table td {
  border: solid 1px black;
  padding: 10px;
}

.houmon-sec table th {
  background-color: antiquewhite;
}

.houmon-sec table {
  margin-inline: auto;
  margin-bottom: 40px;
}

.houmon-step a {
  color: rgba(500, 0, 0, 0.5);
}

.houmon-step p {
  font-size: 14px;
}

.kaigo {
  display: flex;
  margin-bottom: 40px;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.kaigo img {
  width: 130%;
  height: 100%;
}

.kaigo p {
  font-size: 14px;
}

.kaigo strong {
  display: block;
  margin-bottom: 10px;
}

.houmon-sec strong:last-child {
  display: block;
  text-align: center;
  background-color: rgba(0, 500, 0, .5);
  width: 80%;
  margin-bottom: 40px;
  font-size: 20px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 10px;
}

.privacy-sec strong {
  border-bottom: dotted 2px rgba(0, 500, 0, .5);
}

.privacy-sec p {
  font-size: 13px;
  margin-bottom: 30px;
}

.privacy-sec {
  margin-top: 40px;
}

.qa-sec strong {
  background-color: antiquewhite;
  border: 1px solid rgba(0, 0, 0, 0.7);
  padding: 10px;
  display: block;
  border-radius: 10px;
}

.qa-sec p {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.7);
  background-color: antiquewhite;
  border-radius: 10px;
}

.qa-sec,
.privacy-sec {
  padding-top: 20px;
}

.contact-table {
  width: 100%;
  margin-bottom: 20px;
  margin-inline: auto;
}

.contact-item,
.contact-body,
.contact-visit-body {
  padding: 20px;
  border: 1px solid #ccc;
}

.contact-item {
  text-align: left;
  /* テキスト左寄せ */
  width: 30%;
  /* 横幅30%指定（グレーの背景色部分） */
  background-color: pink;
  /* グレーの背景色 */
}

.contact-body {
  width: 70%;
  /* 横幅70%指定（白背景色部分） */
}

.form-text {
  width: 30%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  /* -webkit-appearance: none; */
  /* -moz-appearance: none; */
  /* max-width: 400px; */
  margin-inline: 20px;
}


.mail-form-text,
.tel-form-text {
  width: 70%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  /* -webkit-appearance: none; */
  /* -moz-appearance: none; */
  /* max-width: 400px; */
  margin-inline: 20px;
}

.contact-sex+.contact-sex,
.contact-visit+.contact-visit {
  margin-left: 10px;
}

.contact-sex-txt,
.contact-visit-txt {
  margin-left: 5px;
}

.form-select {
  width: 180px;
  height: 40px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-skill,
.contact-inquiry {
  display: block;
}

.contact-skill+.contact-skill,
.contact-inquiry+.contact-inquiry {
  margin-top: 10px;
}

.contact-skill-txt,
.contact-inquiry-txt {
  margin-left: 5px;
}

.form-textarea {
  width: 100%;
  padding: 10px;
  height: 200px;
  border-radius: 5px;
  border: 1px solid #ccc;
  /* appearance: none; */
  /* -webkit-appearance: none; */
  /* -moz-appearance: none; */
}

.contact-submit {
  width: 250px;
  /* 横幅指定 */
  background-color: #333;
  /* 背景色 */
  color: #fff;
  /* 文字色 */
  font-weight: bold;
  /* 文字の太さ */
  display: block;
  /* インライン要素をブロック要素に変更 */
  margin: 0 auto;
  /* 中央寄せ */
  font-size: 16px;
  /* 文字の大きさ */
  padding: 15px;
  /* 内側の余白 */
  border-radius: 100vh;
  /* 角丸指定 */
  /* border: none; */
  /* appearance: none; */
  /* -webkit-appearance: none; */
  /* -moz-appearance: none; */
  cursor: pointer;
  text-align: center;
}

input {
  appearance: revert;
  vertical-align: initial;
}

.contact-visit-body {
  /* text-align: center; */
  /* display: block; */
  /* width: 70%; 横幅70%指定（白背景色部分） */
  padding: 10px;
  border: 1px solid #ccc;
  /* gap: 10px 0; */
}

.details-summary {
  cursor: pointer;
  transition: 0.2s;
  padding: 6px;
  border-radius: 6px;
  font-size: 20px;
  border: 1px solid;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* ホバー時のスタイル */
.details-summary:hover {
  cursor: pointer;
  background-color: rgba(0, 500, 0, .5);
}

/* タブフォーカス時のスタイル */
.details-summary:hover :focus-visible {
  outline: dashed #00a5a0;
}

summary {
  padding: 10px 0;
}


.details-summary div {
  padding: 0 20px;
}

.news-page {
  padding-top: 40px;
  margin-bottom: 40px;
  /* max-width: 1000px; */
}

.news-page ul li div {
  display: flex;
  text-align: center;
  margin-bottom: 10px;
  padding-top: 10px;
}

.news-page ul li .date {
  border-bottom: 2px black solid;
}

.news-page ul li {
  border-bottom: 1px rgba(0, 0, 0, 0.7) solid;
}

.news-page ul {
  /* max-width: 800px; */
  margin-inline: auto;
}

.news-table th,
.news-table td {
  border: solid 1px;
  padding: 10px;
}

.news-table td {
  width: 35%;
}

.news-table th {
  width: 30%;
  font-weight: bold;
}

.news-table td span {
  color: red;
}

.news-table {
  /* padding-bottom: 40px; */
  margin-bottom: 20px;
}

.h-menu {
  display: none;
}

@media screen and (max-width: 950px) {
  .news-sec ul {
    padding: 0 40px;
  }

  .container {
    padding: 10px 30px;
  }

  header img {
    padding: 0;
  }
}

@media screen and (max-width:750px) {
  .content-cd {
    display: block;
  }

  .content {
    width: 100%;
    margin: 20px;
    margin-inline: auto;
  }

  .content-ex {
    width: 90%;
  }

  .button p {
    font-size: 16px;
  }

  button {
    font-size: 16px;
  }

  .medi {
    display: block;
  }

  .medi img {
    margin-inline: auto;
    display: block;
    margin-bottom: 20px;
  }

  .medi strong,
  .child strong,
  .implant strong,
  .implant-merit strong {
    text-align: center;
    display: block;
  }

  .musiba-sec>div,
  .sishuubyou-sec>div,
  .child,
  .kennshin-sec,
  .kennshin,
  .implant,
  .implant-merit,
  .implant-step,
  .kyosei-ex,
  .kyosei-kinds,
  .visit,
  .houmon-step,
  .kaigo {
    display: block;
  }

  .musiba-sec img,
  .sishuubyou-sec img,
  .child img,
  .implant img,
  .kyosei-ex img,
  .visit img {
    display: block;
    margin-inline: auto;
    margin-bottom: 40px;
  }

  .child img{
    width: 100%;
  }
  .musiba-sec div div,
  .sishuubyou-sec div div,
  .child div div,
  .sishuubyou-ex,
  .kennshin,
  .kennshin-sec,
  .kennshin-sec table,
  .kennshin>div,
  .implant-ex,
  .implant-merit-ex,
  .implant-img,
  .implant-step,
  .kyosei-ex img,
  .kaigo img {
    width: 100%;
  }

  .kennshin img,
  .kyosei-kinds img,
  .kyosei-kinds p,
  .houmon-step div,
  .implant-step div {
    width: 80%;
    margin-inline: auto;
    display: block;
  }

  .kennshin strong,
  .kennshin-sec th {
    width: 100%;
    display: block;
    text-align: center;
  }

  .kennshin>div p {
    text-align: center;
    font-size: 16px;
  }

  .kennshin-sec tr {
    padding: 10px;
    display: block;
  }

  .implant-sec h3,
  .kyosei-kinds img {
    margin-bottom: 40px;
  }

  .implant strong,
  .kaigo strong {
    padding: 0;
    margin-bottom: 40px;
    margin-top: 40px;
  }

  .implant-step div,
  .houmon-step div {
    /* padding: 20px; */
    height: 30vh;
    margin: 20px;
    margin-inline: auto;
  }

  .kyosei-ex strong,
  .visit strong,
  .kaigo strong {
    font-size: 20px;
    text-align: center;
  }

  .h-button {
    width: 40px;
    height: 60px;
    position: absolute;
    top: 45px;
    left: 93%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 99999999;
  }

  .header {
    position: relative;
    justify-content: left;
  }

  .header img {
    margin-right: 50px;

  }

  .h-button span {
    border-bottom: solid 2px;
    width: 40px;
  }

  .h-button span:nth-child(1) {
    top: 30%;
    width: 100%;
    margin-inline: auto;
    position: absolute;
    /* transform: translate(-50%, -50%); */
    /* left: 50%; */
    /* transform: rotate(45deg); */
    transition: .5s;
  }

  .h-button span:nth-child(2) {
    top: 50%;
    width: 100%;
    margin-inline: auto;
    position: absolute;
    /* transform: translate(-50%, -50%); */
    /* left: 50%; */
    transition: .5s;
  }

  .h-button span:nth-child(3) {
    top: 70%;
    width: 100%;
    margin-inline: auto;
    position: absolute;
    /* transform: translate(-50%, -50%); */
    /* left: 50%; */
    transition: .5s;
  }

  .h-button.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 45%;
    transition: .5s;
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    /* transition: .5s; */
  }

  .h-button.open span:nth-child(2) {
    display: none;
  }

  .h-button.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 45%;
    transition: .5s;
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
  }

  header .header {
    justify-content: left;
  }

  .menu-list {
    display: none;
  }

  .overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    left: 0;
    top: 0;
    margin: 0;
    transform: translateX(-100%);
  }

  .overlay.open {
    transform: none;
  }

  header {
    padding: 0;
  }

  .h-menu {
    position: fixed;
    background-color: rgba(500, 500, 500, .8);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 40vw;
    height: 100vh;
    z-index: 9999999;
    left: 100%;
    top: 0;
    /* right: 0; */
    /* margin: 0; */
    margin-inline: auto;
    text-align: center;
    transform: translateX(100%);
    padding: 40px;
    display: none;
  }

  .h-menu a {
    color: black;
    font-size: 16px;

  }

  .h-menu.open {
    transform: translateX(-100%);
    display: block;
    transition: .5s
  }

}

/* 診療内容: イラストの比率と文字位置を安定させる */
.content-sec .content > a {
  display: block;
  flex: 0 0 35%;
  width: 35%;
  min-width: 0;
  align-self: center;
  container-type: inline-size;
}
.content-sec .content > a > img {
  display: block;
  width: 100%;
  height: auto;
}
.content-sec .content > a > .button {
  top: 71%;
  left: 50%;
  width: 58%;
  height: 23%;
  padding: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1cqw;
}
.content-sec .button p {
  height: auto;
  margin: 0;
  font-size: clamp(6px, 6.5cqw, 14px);
  line-height: 1.2;
  white-space: nowrap;
}
.content-sec .button button {
  margin: 0;
  padding: 0 3px;
  font-size: clamp(6px, 6cqw, 12px);
  line-height: 1.2;
}
.content-sec .content-ex {
  flex: 1;
  min-width: 0;
  width: auto;
}
