@charset "UTF-8";

:root {
  --green: #567b03;
  --bright-green: #7f9d43;
  --pale-green: #f4f8ec;
  --black: #2d2d2d;
  --gray: #5e5e5e;
}

html {
  font-size: 10px;
}
body {
  font-size: 1.6rem;
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
  width: 100vw;
}

/* ======================================

  共通スタイル

 ====================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--green);
  font-weight: 700;
}

a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

p {
  font-weight: 500;
}

.e-heading {
  color: var(--green);
  display: block;
  font-size: 3.6rem;
  text-align: center;
}
.e-heading span {
  color: var(--bright-green);
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 40px;
}
main {
  overflow-x: hidden;
}
main .-inner {
  margin: 100px auto 0;
}

.m-1000 {
  margin: 100px auto 0;
  max-width: 1000px;
}

/* メニュー ====================================== */

.b-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.b-menu a {
  align-items: center;
  display: flex;
  gap: 10px;
  transition: 0.3s;
}
.b-menu a:hover {
  color: var(--green);
  text-decoration: none;
}
.b-menu a i {
  border-bottom: 2px solid var(--green);
  border-right: 2px solid var(--green);
  display: block;
  height: 8px;
  opacity: 0;
  transform: rotate(45deg) translate(-5px, -5px);
  transition: 0.5s;
  width: 8px;
}
.b-menu a:hover i {
  opacity: 1;
  transform: rotate(45deg);
}

/* 共通テーブル ====================================== */

.b-table {
  border-collapse: separate;
  width: 100%;
}
.b-table th,
.b-table td {
  padding: 1em;
}
.b-table th {
  background-color: var(--green);
  color: #fff;
  font-size: 600;
  width: 30%;
}
.b-table td {
  background-color: #fff;
  width: 70%;
}
.b-table.m-bg-white td {
  background-color: var(--pale-green);
}

@media screen and (max-width: 1023px) {
  .b-table {
    padding: 0 10px;
  }
}

/* 診療時間テーブル ====================================== */

.b-recept {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #fff;
  max-width: 680px;
  width: 100%;
}
/* footerのみ */
footer .b-recept {
  max-width: 630px;
}
/* footerのみここまで */
.b-recept th {
  background-color: var(--green);
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  color: #fff;
  font-weight: 900;
  padding: 1.5em 1em;
  width: calc(100% / 8);
}
.b-recept th:first-child {
  font-size: clamp(1.2rem, 1vw, 1.5rem);
  padding: 1.5em 0.5em;
}
.b-recept th:last-child {
  border-right: none;
}
.b-recept td {
  background-color: var(--pale-green);
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  padding: 10px 5px;
  text-align: center;
}
.b-recept tr:last-child td {
  border-bottom: none;
}
.b-recept td:nth-child(1) {
  font-weight: 900;
}
.b-recept td:has(span) {
  color: var(--green);
}
.b-recept td:last-child {
  border-right: none;
}
.b-recept td span {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
}

/* ======================================

  個別セクション

 ====================================== */

/* 背景付き ここから ====================================== */

.b-greeting,
.b-facilities {
  background-image: url(img/bg_long.png);
  background-position: center top;
  background-size: cover;
  padding: 220px 0;
}

@media screen and (max-width: 1023px) {
  .b-greeting,
  .b-facilities {
    padding: 150px 0;
  }
}

/* 背景付き ここまで ====================================== */

/* 白半円がくっついてるやつ ここから ====================================== */

.b-about::before,
.b-access::before,
.b-news::after,
.b-about::after {
  background-color: #fff;
  border-radius: 100% 100% 0 0;
  content: "";
  height: 220px;
  left: 50%;
  position: absolute;
  top: -110px;
  transform: translateX(-50%);
  width: 110%;
  z-index: 0;
}
.b-news::after,
.b-about::after {
  border-radius: 0 0 100% 100%;
  bottom: -110px;
  top: unset;
  transform: translateX(-50%);
  width: 110%;
  z-index: 0;
}
.b-news,
.b-about,
.b-access {
  padding: 100px 0;
  position: relative;
}
.b-news *,
.b-about *,
.b-access * {
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 1023px) {
  .b-about::before,
  .b-access::before {
    top: -65px;
  }
  .b-news::after,
  .b-about::after {
    bottom: -65px;
  }
}

/* 白半円がくっついてるやつ ここまで ====================================== */

/* ヘッダー ====================================== */

header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 0 20px;
  position: fixed;
  top: 30px;
  transform: translateY(-120%);
  transition: transform 0.5s ease-in-out;
  width: 100vw;
  z-index: 99;
}
header .-inner {
  align-items: center;
  display: flex;
  gap: 50px;
}
header.m-active {
  transform: translateY(0);
}

header .b-menu {
  background-color: #ffffff;
  border-radius: 50px;
  box-shadow: 0px 2px 3px 0px #00000033;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 20px 30px;
}
header .b-menu a {
  color: var(--black);
}
header .b-menu .e-top {
  display: none;
}

/* SP用メディアクエリ */
@media screen and (max-width: 1023px) {
  header {
    flex-direction: column;
    top: 20px;
  }
  header .-inner {
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
  }

  header .-sp-menu-btn {
    align-items: center;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0px 2px 3px 0px #00000033;
    display: flex;
    flex-direction: column;
    height: 60px;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
    width: 60px;
    z-index: 10;
  }
  header .m-active .-sp-menu-btn {
    box-shadow: none;
  }
  header .-sp-menu-btn i {
    background-color: var(--green);
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
    width: 25px;
  }
  header .-sp-menu-btn i:nth-child(1) {
    top: calc(50% - 8px);
  }
  header .-sp-menu-btn i:nth-child(3) {
    top: calc(50% + 8px);
  }
  header .m-active .-sp-menu-btn i:nth-child(2) {
    opacity: 0;
  }
  header .m-active .-sp-menu-btn i:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  header .m-active .-sp-menu-btn i:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  header .-sp-menu {
    background-color: #00000033;
    height: 100vh;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: -20px;
    transform: translateX(-50%);
    transition: all 0.3s;
    visibility: hidden;
    width: 100vw;
    z-index: 9;
  }
  header .m-active .-sp-menu {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
  }
  header .-sp-menu .-inner {
    background-color: #fff;
    border-bottom: 10px solid #fff;
    border-radius: 30px;
    flex-direction: column;
    gap: 0;
    height: calc(100vh - 20px);
    justify-content: flex-start;
    left: 50%;
    overflow-y: scroll;
    padding: 0 10px 10px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 20px);
  }
  header .-sp-menu .b-menu {
    border-bottom: 1px solid #eee;
    border-radius: 0;
    box-shadow: unset;
    flex-direction: column;
    gap: clamp(10px, 5dvh, 40px);
    margin: clamp(20px, 10dvh, 80px) auto 0;
    padding: 0 0 30px;
    width: calc(100% - 60px);
  }
  header .-sp-menu .b-menu li {
    margin: 0 auto;
    max-width: 172px;
    width: 100%;
  }
  header .-sp-menu .b-menu a {
    font-size: clamp(1.2rem, 2.5dvh, 1.8rem);
    position: relative;
  }
  header .-sp-menu .b-menu a::before {
    border-bottom: 2px solid #567b03;
    border-right: 2px solid #567b03;
    content: "";
    height: 8px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 8px;
  }
  header .-sp-menu .e-tel {
    font-size: clamp(2rem, 5dvh, 4rem);
    justify-content: center;
    margin: 4dvh 0 2dvh;
  }
  header .-sp-menu .b-recept th {
    padding: 0.5em 0;
  }
  header .-sp-menu .e-caption {
    font-size: 1.4rem;
  }
}

/* 情報 ====================================== */

.b-clinic-info {
  background-color: #fff;
  border-radius: 20px;
  display: flex;
  gap: 20px;
}
/* headerのみ */
header .b-clinic-info {
  box-shadow: 0px 2px 6px 0px #00000033;
  padding: 15px 20px;
}
/* headerのみここまで */

.b-clinic-info .-inner {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  margin: 0;
}
.e-tel {
  align-items: center;
  color: var(--green);
  display: flex;
  font-size: 3.2rem;
  font-weight: 900;
  gap: 5px;
}
.b-clinic-info .e-address {
  font-size: 1.2rem;
  line-height: 1.5;
}
/* footerのみ */
footer .e-tel {
  font-size: 4rem;
}
footer .b-clinic-info .e-caption {
  font-size: 1.4rem;
}
/* footerのみここまで */

.b-clinic-info .-inner.m-time h3 {
  font-size: 1.5rem;
}
.b-clinic-info .-inner.m-time .-time-table {
  border-bottom: 1px solid #eee;
  color: var(--green);
  display: flex;
  font-size: 1.6rem;
  font-weight: 700;
  gap: 2em;
  padding: 3px;
}

/* SP用メディアクエリ */
@media screen and (max-width: 1023px) {
  .b-clinic-info,
  .b-clinic-info .-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .b-clinic-info .-close {
    align-items: center;
    display: flex;
    gap: 10px;
  }
  .b-clinic-info .-close .e-text {
    color: var(--green);
    font-size: 1.4rem;
  }
}

/* ヒーローエリア ====================================== */

.b-hero {
  background-image: url(img/mv_pc.jpg);
  background-position: center center;
  background-size: cover;
  height: 100vh;
  position: relative;
  width: 100vw;
}
.b-hero .e-maincopy {
  bottom: 10%;
  color: #ffffff;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 60px;
  position: absolute;
  right: 3.5%;
  text-shadow: 0px 0px 10px #00000080;
}
@media screen and (max-width: 1023px) {
  .b-hero .e-maincopy {
    font-size: 7vw;
    left: 50%;
    line-height: 2;
    padding-left: 0.5em;
    transform: translateX(-50%);
    right: unset;
    width: 14em;
  }
}

/* お知らせ ====================================== */

.b-news {
  padding-top: 300px;
}

.b-news .e-heading {
  text-align: left;
}

.b-news .-recept-wrap {
  background-color: #ffffff;
  border-radius: 20px;
  left: 50%;
  padding: 2px;
  position: absolute;
  top: -46px;
  transform: translateX(-50%);
}
.b-news .-recept-wrap .e-caption {
  display: block;
  line-height: 1.76;
  margin-top: 10px;
}

@media screen and (max-width: 1023px) {
  .b-news .-recept-wrap {
    max-width: calc(100% - 20px);
  }
  .b-recept th {
    padding: 0 0.75em;
  }
}

.b-news .-inner {
  display: flex;
  gap: 60px;
  margin: 24px auto 0;
  max-width: 1200px;
}

.b-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
@media screen and (max-width: 1023px) {
  .b-news .-inner {
    flex-direction: column;
    padding: 0 20px;
  }
}

.b-news-item {
  padding: 10px 0;
}
.b-news-item a:hover {
  text-decoration: none;
}
.b-news-item a:hover .e-title {
  text-decoration: underline;
}
.b-news-item .e-meta {
  display: flex;
  gap: 1em;
}
.b-news-item .e-meta time {
  color: var(--gray);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
}
.b-news-item .e-category-btn {
  align-items: center;
  border: 1px solid var(--green);
  border-radius: 3px;
  color: var(--green);
  display: flex;
  height: 30px;
  justify-content: center;
  width: 160px;
}
.b-news-item .e-title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.33;
  margin-top: 10px;
}

/* 院長挨拶 ====================================== */

.b-greeting {
  position: relative;
  z-index: -1;
}
.b-greeting::before {
  aspect-ratio: 5 / 1;
  background-size: cover;
  background-image: url(img/bg.png);
  background-position: center top;
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
}
.b-greeting .-wrap {
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0px 0px 10px 0px #00000040;
  min-width: 360px;
  max-width: 1000px;
  padding: 60px;
}
.b-greeting .-wrap .e-text p {
  font-weight: 500;
  font-size: 14px;
  line-height: 50px;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-color: var(--green);
  text-underline-offset: 120%;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
}
.b-greeting .-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}
.b-greeting .-bottom img {
  max-width: 50%;
}
.b-greeting .-bottom p {
  display: flex;
  flex-direction: column;
  max-width: 153px;
}
.b-greeting .-bottom p span {
  margin-bottom: 10px;
}
.b-greeting .-bottom p img {
  max-width: 100%;
}

.b-greeting .e-heading.m-sub {
  margin-top: 80px;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

@media screen and (max-width: 1023px) {
  .b-greeting .-wrap {
    padding: 60px 20px;
  }

  .b-greeting .-bottom {
    align-items: flex-end;
    flex-direction: column;
    gap: 50px;
  }
  .b-greeting .-bottom img {
    max-width: 100%;
  }
}

/* 当院について ====================================== */

.b-about .-intro {
  display: flex;
  margin-top: 100px;
}
.b-about .-intro .-right {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 40px;
}
.b-about .-intro .-right h3 {
  font-size: 2.2rem;
}
.b-about .-intro .-right p {
  font-size: 1.8rem;
  line-height: 2;
}
.b-about .-intro .-right img {
  max-height: 200px;
}

/* SP用メディアクエリ */
@media screen and (max-width: 1023px) {
  .b-about .-intro {
    flex-direction: column;
  }
  .b-about .-intro img {
    max-width: 100%;
  }
  .b-about .-intro .-right {
    margin: 0;
  }
  .b-about .-intro .-right h3 {
    margin: 40px 40px 0;
  }
  .b-about .-intro .-right p {
    margin: 20px 40px 0;
  }
  .b-about .-intro .-right img {
    margin: 40px auto 0;
    max-height: unset;
    width: calc(100% - 46px);
  }
}

.b-about .-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  list-style: none;
  margin: 100px 0 0;
  padding: 0;
}
.b-about .-list li {
  background: #f4f8ec33;
  border-radius: 30px;
  box-shadow: 0px 0px 10px 0px #00000033;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 30px;
}
.b-about .-list li img {
  max-width: 460px;
}
.b-about .-list h3 {
  font-size: 2.2rem;
}
.b-about .-list p {
  margin-top: 1em;
}
.b-about .-list .-sub-list {
  display: flex;
  gap: 1em;
}
.b-about .-list .-sub {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.b-about .-list .-shop {
  font-weight: 700;
}
.b-about .-list .-shop a {
  color: var(--black);
  transition: 0.3s;
}
.b-about .-list .-shop a:hover {
  opacity: 0.6;
  text-decoration: none;
}
.b-about .-list .-shop .e-logo {
  height: 20px;
  margin: 10px 10px 0 0;
}
.b-about .b-table {
  margin-top: 40px;
}
/* SP用メディアクエリ */
@media screen and (max-width: 1023px) {
  .b-about .-list {
    margin: 40px 0 0;
    padding: 0 20px;
  }
  .b-about .-list li {
    flex-direction: column;
  }
  .b-about .-list .-sub-list {
    flex-direction: column;
  }
  .b-about .-list .-shop {
    margin-top: 3em;
  }
}

/* 設備紹介 ====================================== */

.b-facilities .-inner {
  max-width: 1200px;
}

.b-facilities .-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
}
.b-facilities .-list li {
  background: #ffffffcc;
  border-radius: 30px;
  box-shadow: 0px 0px 10px 0px #00000033;
  display: flex;
  flex-direction: column;
  padding: 25px;
  width: calc(100% / 3 - 20px);
}
.b-facilities .-list li img {
  border-radius: 20px;
  width: 100%;
}
.b-facilities .-list .-txt-wrap {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-bottom: 20px;
  min-height: 3em;
}
.b-facilities .-list .-txt-wrap h3 {
  color: var(--black);
  font-size: 1.8rem;
  font-weight: 900;
}
/* SP用メディアクエリ */
@media screen and (max-width: 1023px) {
  .b-facilities .-list {
    flex-direction: column;
    margin: 0 auto;
    width: calc(100% - 40px);
  }
  .b-facilities .-list li {
    width: 100%;
  }
}

/* アクセス ====================================== */

.b-access .-inner h3 {
  font-size: 2.2rem;
}

.b-access .-inner {
  display: flex;
}
.b-access .-inner > * {
  width: 50%;
}
.b-access .-place-photo {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}
.b-access .-place-photo img {
  max-width: 220px;
}
.b-access .e-subway {
  align-items: flex-start;
  display: flex;
  gap: 5px;
}
.b-access .e-subway img {
  margin-top: 5px;
}

/* SP用メディアクエリ */
@media screen and (max-width: 1023px) {
  .b-access {
    padding-bottom: 0;
  }
  .b-access .-inner {
    flex-direction: column;
  }
  .b-access .-inner h3 {
    font-size: 2.1rem;
  }
  .b-access .-inner > * {
    width: 100%;
  }
  .b-access .-inner h3,
  .b-access .-place-photo,
  .b-access .b-table,
  .b-access span {
    padding: 0 20px;
  }
  .b-access iframe {
    margin: 70px 0 0;
    height: 410px;
  }
}

/* フッター ====================================== */

footer p {
  font-size: 1.4rem;
  font-weight: 500;
}

footer .-top {
  background-color: var(--pale-green);
  padding: 30px;
}
footer .-top ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer .-top .-recept-wrap {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px #00000033;
  display: flex;
  gap: 20px;
  margin: 0 auto 40px;
  max-width: 1000px;
  padding: 20px;
}
footer .-top .-menu-wrap {
  display: flex;
}
footer .-top .-menu-wrap > div {
  width: 50%;
}
footer .b-menu a i {
  display: none;
}

footer .-bottom {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

footer .e-bnr {
  margin: 30px 0;
}
footer .e-bnr img {
  max-width: 300px;
}

footer small {
  color: #b4b4b4;
  font-size: 1rem;
  line-height: 40px;
  text-align: center;
}

/* SP用メディアクエリ */
@media screen and (max-width: 1023px) {
  footer .-top {
    padding: 50px 10px;
  }
  footer .-top .-recept-wrap {
    flex-direction: column;
  }
  footer .b-recept th {
    padding: 0;
  }
  footer .-top .-recept-wrap .e-caption {
    font-size: 1.4rem;
  }
  footer .-top .-menu-wrap {
    flex-direction: column;
    padding: 0 30px;
  }
  footer .-top .-menu-wrap > div {
    width: 100%;
  }
  footer .-top .-menu-wrap > div a {
    padding-left: 0.75em;
  }
  footer p {
    line-height: 1.75;
    margin-top: 10px;
  }
  footer .-top ul {
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
  }
}

/* ======================================

  シングル

 ====================================== */

.b-page-hero {
  align-items: flex-end;
  background-image: url(img/bg_img.png);
  background-position: center center;
  background-size: cover;
  display: flex;
  height: 390px;
  justify-content: center;
  padding: 0 0 50px;
  text-align: center;
}
.b-page-hero .e-heading {
  font-size: 5rem;
}

.b-single .-inner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 100px 130px;
}
.b-single .e-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 30px;
}
.b-single .e-body {
  line-height: 2;
  margin-top: 30px;
}

@media screen and (max-width: 1023px) {
  .b-single .-inner {
    padding: 50px 30px;
  }
}

.m-pc {
  display: inline;
}
.m-sp {
  display: none;
}

@media screen and (max-width: 1023px) {
  .m-pc {
    display: none;
  }
  .m-sp {
    display: inline;
  }
}
