@charset "UTF-8";
.site {
  background-color: #e6eaff;
}
.site-footer {
  margin-top: 56px;
}
@media screen and (min-width: 1024px) {
  .site-footer {
    margin-top: 129px;
  }
}
.site-bottom {
  opacity: 0;
  visibility: hidden;
}
.site-bottom.is-fixed {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
.mv {
  height: 674px;
  padding-top: 99px;
  color: #fff;
  background-color: #9da8e6;
  background-image: url("../img/top/mv_sp.jpg");
  background-size: 100% 100%;
}
.mv--inner {
  display: grid;
  justify-items: center;
  row-gap: 44px;
}
.mv--title {
  width: 53%;
  max-width: 281px;
}
.mv--text {
  display: grid;
  align-content: space-between;
  width: 90%;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.25;
  writing-mode: vertical-rl;
}
.mv .text-6 {
  display: none;
}
@media screen and (min-width: 370px) {
  .mv--text {
    align-content: unset;
    row-gap: 18px;
    width: fit-content;
  }
}
@media screen and (min-width: 768px) {
  .mv .text-6 {
    display: revert;
  }
}
@media screen and (min-width: 1024px) {
  .mv {
    height: 928px;
    padding-top: 147px;
    background-image: url("../img/top/mv.jpg");
    background-position: center;
    background-size: cover;
  }
  .mv--inner {
    row-gap: 66px;
  }
  .mv--text {
    row-gap: 49px;
    font-size: 18px;
    line-height: 1.278;
  }
}
@media screen and (min-width: 1920px) {
  .mv {
    background-size: 100% 100%;
  }
}
/* お知らせ */
.sec-1 {
  padding-top: 33px;
  color: #fff;
  background-color: #182987;
}
.sec-1 .list {
  margin-top: 20px;
}
.sec-1 .list .item:last-child {
  border-bottom-width: 0;
}
@media screen and (min-width: 768px) {
  .sec-1 .list .item {
    padding: 26px 18px;
  }
}
@media screen and (min-width: 1024px) {
  .sec-1 {
    padding-top: 9px;
    padding-bottom: 3px;
  }
  .sec-1 .sec--inner {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    column-gap: 97px;
    max-width: 1620px;
    margin-inline: auto;
    padding-left: 94px;
  }
  .sec-1 .list {
    margin-top: 0;
  }
  .sec-1 .list .item {
    padding-left: 0;
  }
}
/* 院長挨拶 */
.sec-2 {
  --heading-color: #182987;
  padding-top: 48px;
  background-image: url("../img/top/sec-2-bg.svg");
  background-position: top 26px right -53px;
  background-size: 205px auto;
}
.sec-2--block {
  display: grid;
  justify-items: center;
  gap: 50px;
  margin-top: 32px;
}
.sec-2 .img-1 img {
  max-width: 265px;
  margin-inline: auto;
}
.sec-2 .img-1 figcaption {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-align: center;
}
.sec-2 .img-1 .name {
  padding: 0 0.5em;
  font-size: 18px;
  letter-spacing: 0.1em;
}
.sec-2 .text-1 {
  display: grid;
  row-gap: 30px;
  letter-spacing: 0.1em;
  line-height: 1.875;
}
.sec-2 .link-1 {
  margin-top: 40px;
}
@media screen and (min-width: 1024px) {
  .sec-2 {
    padding-top: 62px;
    background-position: top 62px left calc(50% + 560px);
    background-size: 420px auto;
  }
  .sec-2--block {
    grid-template-columns: 403px 1fr;
    margin-top: 30px;
  }
  .sec-2 .img-1 img {
    max-width: 100%;
  }
  .sec-2 .img-1 figcaption {
    margin-top: 20px;
    font-size: 16px;
  }
  .sec-2 .img-1 .name {
    font-size: 20px;
  }
  .sec-2 .link-1 {
    margin-top: 30px;
  }
}
/* 診療案内 医院紹介 自費診療 */
.sec--wrap .img-1 {
  margin-inline: 20px;
  position: relative;
  z-index: 1;
}
.sec--wrap .text {
  margin-top: -54px;
  padding-top: 54px;
  color: #fff;
  background: linear-gradient(16deg, #9da8e6 0%, #182987 100%);
}
.sec--wrap .text--inner {
  display: grid;
  row-gap: 24px;
  padding: 29px 50px 40px;
}
.sec--wrap .heading-lv1 {
  text-align: left;
}
.sec--wrap .text-1 {
  max-width: 18em;
  letter-spacing: 0.1em;
  line-height: 1.875;
}
.sec--wrap .text-1 span {
  display: inline-block;
}
.sec--wrap .link-1 {
  margin-inline: -12px;
}
.sec-3 {
  margin-top: 77px;
}
.sec-4 {
  margin-top: 51px;
}
.sec-5 {
  margin-top: 56px;
}
@media screen and (min-width: 768px) {
  .sec--wrap .sec--inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .sec--wrap .img-1 {
    margin-inline: 0;
  }
  .sec--wrap .img-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sec--wrap .text {
    margin-top: 0;
    padding-top: 0;
    background: linear-gradient(43deg, #6072db 0%, #182987 100%);
  }
  .sec--wrap .text--inner {
    align-content: center;
    height: 100%;
  }
  .sec--wrap .link-1 {
    margin-inline: 0;
  }
  section:nth-child(2n) .text {
    order: -1;
  }
}
@media screen and (min-width: 1024px) {
  .sec--wrap .sec--inner {
    max-width: 1620px;
    margin-inline: auto;
  }
  .sec--wrap .text--inner {
    row-gap: 32px;
    max-width: 810px;
    padding: 100px 83px;
  }
  .sec--wrap .text-1 {
    font-size: 18px;
    line-height: 1.667;
  }
  .sec-3 {
    margin-top: 132px;
  }
  .sec-4 {
    margin-top: 58px;
  }
  .sec-5 {
    margin-top: 58px;
  }
}
/* 診療時間 */
.sec-6 {
  margin-top: 73px;
  padding-top: 50px;
  padding-bottom: 68px;
  color: #fff;
  background: linear-gradient(4deg, #9da8e6 0%, #182987 100%);
}
.sec-6 .schedule {
  --thead-bg: rgba(0,0,0,0.23);
}
.sec-6 .schedule--box::before {
  background: linear-gradient(270deg, #e6eaff 0%, #fff 100%);
}
@media screen and (min-width: 1024px) {
  .sec-6 {
    margin-top: 110px;
    padding-top: 90px;
    padding-bottom: 103px;
    background: linear-gradient(18deg, #9da8e6 0%, #182987 100%);
  }
}
/* アクセス */
.sec-7 {
  --heading-color: #182987;
  padding-top: 61px;
}
.sec-7 .sec--inner {
  display: grid;
  row-gap: 30px;
}
.sec-7 .heading-lv1 {
  padding: 0 27px;
  text-align: left;
}
.sec-7 .map {
  width: 100%;
  height: 262px;
}
.sec-7 .map iframe {
  width: 100%;
  height: 100%;
}
.sec-7 .text {
  padding: 0 20px;
}
.sec-7 .name {
  font-size: 20px;
}
.sec-7 .address {
  margin-top: 12px;
  line-height: 2;
}
.sec-7 .address span {
  display: inline-block;
}
.sec-7 .tel {
  display: grid;
  row-gap: 8px;
  margin-top: 12px;
}
.sec-7 .tel dt {
  font-size: 20px;
}
.sec-7 .tel dd {
  font-size: 24px;
}
@media screen and (min-width: 1024px) {
  .sec-7 {
    padding-top: 88px;
  }
  .sec-7 .sec--inner {
    align-content: center;
    row-gap: 20px;
    max-width: 1620px;
    min-height: 508px;
    margin-inline: auto;
    position: relative;
    isolation: isolate;
  }
  .sec-7 .heading-lv1,
  .sec-7 .text {
    padding-left: calc(50% + 48px);
  }
  .sec-7 .map {
    width: 50%;
    height: 100%;
    margin-top: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
}
