@charset "UTF-8";
/* 共通スタイル（mixin） */
/* 基本スタイル */
body {
  background-color: #f8edde;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #333;
}

main {
  margin-top: calc(-100vh + 50px);
  overflow-x: hidden;
}

/* ヘッダー */
.header-wrapper {
  width: 100vw;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.4);
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title {
  margin-left: 10px;
}
.header-title img {
  width: 70vw;
  height: auto;
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
  margin-right: 10px;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
}
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #516744;
  transition: ease 0.6s;
  display: block;
}
.hamburger span:nth-child(2) {
  margin: 8px 0 0 auto;
  width: 80%;
}

/* ↓↓↓ハンバーガーメニュークリック後のスタイル↓↓↓ */
.nav.active {
  transform: translateX(0);
  position: relative;
  z-index: 998;
  opacity: 1; /* 表示 */
  visibility: visible; /* 見える状態に */
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(25deg);
}

.hamburger.active span:nth-child(2) {
  top: -4px;
  transform: rotate(-25deg);
  margin: 0;
  width: 100%;
}

/* ↑↑↑ハンバーガーメニュークリック後のスタイル終わり↑↑↑*/
/* ↓↓↓ナビゲーション↓↓↓ */
.nav-wrapper {
  overflow-x: hidden;
}

.nav {
  font-family: "Noto Sans JP", YuGothic, sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  background-color: #5cad43;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  transform: translateX(100%);
  transition: ease 0.6s;
  overflow-y: hidden;
  /* リストアイテム共通 */
  /* リンク装飾 */
}
.nav ul:first-child {
  margin: 50px 0 50px 30px;
}
.nav li {
  padding-top: 20px;
  list-style: none;
}
.nav a {
  text-decoration: none;
  color: #fff;
}

/* サブカテゴリ（第1階層） */
.sub-category01 {
  font-family: "Noto Sans JP", YuGothic, sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

/* サブカテゴリ（第2階層） */
.sub-category02 li {
  font-family: "Noto Sans JP", YuGothic, sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  padding-top: 5px;
}

/* inputを非表示 */
.acd-check {
  display: none;
}

/* sub-category01（アコーディオンのラベル部分） */
.acd-label {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  color: #fff;
}

/* アコーディオンアイコン */
.acd-label .AcdIcon,
.acd-label .AcdIcon::after {
  display: block;
  background: #fff;
}

.acd-label .AcdIcon {
  position: absolute;
  right: 40px;
  width: 14px;
  height: 2px;
  background-color: #fff;
  transition: 0.3s;
}

.acd-label .AcdIcon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 14px;
  inset: -6px auto auto 6px;
  background-color: #fff;
}

/* 開いたとき（マイナスアイコンに変更） */
.acd-check:checked + .acd-label .AcdIcon::after {
  display: none;
}

/* sub-category02（サブメニュー）の開閉 */
.sub-category02 {
  display: none;
  padding-left: 20px;
}

.acd-check:checked + .acd-label + .sub-category02 {
  display: block;
}

/* ↑↑↑ナビゲーション終わり↑↑↑ */
/* ↓↓↓メイン画像↓↓↓ */
.main-images-wrapper {
  position: relative;
  width: 100vw;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-images02 {
  display: none;
}

.main-images01 img {
  width: 80vw;
  height: auto;
  margin: 0 -5vw;
  display: block;
}

.main-copy-wrapper {
  background: rgba(255, 255, 255, 0.6);
  width: 50vw;
  aspect-ratio: 4/1.8;
  display: flex;
  align-items: center;
  position: relative;
  top: 25vw;
  right: -0.5vw;
}

.main-copy {
  font-family: "Noto Sans JP", YuGothic, sans-serif;
  font-weight: 300;
  font-size: 3vw;
  margin: 30px;
  width: 50vw;
}

/* ↑↑↑メイン画像終わり↑↑↑ */
/* ↓↓↓ご挨拶↓↓↓ */
.wrapper-message {
  margin: 5rem auto 0 auto;
}
.wrapper-message img {
  width: 90vw;
  height: auto;
  display: block;
  margin: 30px auto 0 auto;
  padding-right: 2vw;
}

.inner-message {
  position: relative;
}

.message01 {
  font-family: "Times New Roman", serif;
  font-weight: normal;
  font-size: 40px;
  color: #323432;
  opacity: 0.1;
  position: absolute;
  width: 150px;
  height: auto;
  margin: auto;
  inset: -25px 0 0 -165px;
}

.message02 {
  font-family: "Noto Sans JP", YuGothic, sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  text-align: center;
}

.message-section h3 {
  font-family: "M PLUS 1", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  margin: 30px 5vw;
}
.message-section p {
  font-family: "M PLUS 1", sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  margin: 10px 5vw;
  line-height: 1.8;
}

/* 親コンテナ */
.message-container {
  display: flex;
  flex-direction: column;
  /* スマホでは縦並び（テキスト → 画像） */
  margin: 0 auto;
}

/* 画像ラッパー */
.message-images-wrapper {
  width: 90vw;
  order: 2;
  margin: 0 6vw 0 auto;
}

/* テキストエリア */
.message-text {
  order: 1;
  /* スマホでは1番目（画像の前） */
}

/* ↑↑↑ご挨拶終わり↑↑↑ */
.eng {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 0.5rem;
  text-align: center;
  margin: 30px auto 0 auto;
}

.jp {
  font-family: "Noto Sans JP", YuGothic, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
}

#wrapper-depatrment > section > p {
  font-family: "M PLUS 1", sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  margin: 15px 6vw;
  line-height: 1.6;
}

.wrapper-depatrment h3 {
  font-family: "Noto Sans JP", YuGothic, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
}

/*↓↓↓診療メニュー案内↓↓↓*/
.wrapper-hoken,
.wrapper-shinbi,
.wrapper-yobou {
  width: 90vw;
  border-radius: 25px;
  background-color: #e7decc;
  padding: 35px 0;
  margin: 15px auto;
}

.image-hoken,
.image-shinbi,
.image-yobou {
  height: 20vh;
  display: flex;
  align-items: center;
}
.image-hoken img,
.image-shinbi img,
.image-yobou img {
  height: 15vh;
  margin: 0 auto;
}

.image-yobou > img {
  height: 14vh;
}

p.text-department {
  width: 70vw;
  max-width: -moz-max-content;
  max-width: max-content;
  margin: 0 auto 15px;
  text-align: left;
  font-size: 0.9rem;
}

.link-department {
  text-decoration: none;
  color: inherit;
  /* text-align: center; */
  display: block;
  text-align: center;
  font-size: 0.9rem;
}

/*↑↑↑診療メニュー案内↑↑↑*/
/* ↓↓↓アクセス紹介↓↓↓ */
.map iframe {
  width: 75vw;
  aspect-ratio: 680/480;
  display: block;
  margin: 0 auto 30px auto;
}

.wrapper-map {
  background-color: #e7decc;
  width: 90vw;
  margin: 15px auto 15px auto;
  padding: 40px 0 40px 0px;
  border-radius: 25px;
}
.wrapper-map p {
  width: 80vw;
  margin: 0 auto;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

/* ↑↑↑アクセス紹介終わり↑↑↑ */
/*↓↓↓診療時間案内↓↓↓*/
.wrapper-schedule {
  width: 90vw;
  border-radius: 25px;
  background-color: #574420;
  margin: 30px auto 0 auto;
  padding: 60px 0;
}

table {
  width: 70vw;
  margin: 0 auto;
  color: #fff;
}
table tr {
  border-bottom: 1px solid;
}
table th {
  padding: 0.5rem 2rem 0.5rem 0;
  font-weight: normal;
}
table td {
  padding-left: 5px;
  font-size: 0.8rem;
}

.wrapper-schedule p {
  color: #fff;
  font-size: 0.8rem;
  width: 70vw;
  margin: 0 auto;
  padding: 2rem 0 0 0;
}

/*↑↑↑診療時間案内終わり↑↑↑*/
/*↓↓↓予約バナー*/
.wrapper-float-banner {
  background-color: #3397b0;
  color: #fff;
  padding: 1rem;
  width: 75vw;
  border-radius: 15px;
  position: fixed;
  z-index: 997;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.float-banner {
  display: flex;
  width: 70vw;
  justify-content: center;
}
.float-banner p:nth-child(1) {
  border-right: 1px solid;
  padding-right: 10px;
}
.float-banner i {
  padding: 0 10px;
}

/*↑↑↑予約バナー終わり↑↑↑*/
/*↓↓↓フッター↓↓↓*/
.footer {
  background-color: #5cad43;
  margin: 50px 0 100px 0;
  color: #fff;
  padding: 30px 0;
}
.footer ul {
  font-weight: normal;
  padding: 30px 0 15px 30px;
}
.footer li {
  padding-bottom: 1rem;
}
.footer li:nth-child(2) > ul > li {
  border-left: 1px solid;
  padding: 0 0 0.8rem 2rem;
}

/*↑↑↑フッター終わり↑↑↑*/
.anchor {
  scroll-margin-top: 100px;
}

/*↓↓↓タブレットサイズ↓↓↓*/
@media screen and (min-width: 768px) {
  body.no-scroll {
    overflow: auto;
  }
  .header__hamburger {
    display: none;
  }
  .header-wrapper {
    height: 80px;
    background-color: rgba(0, 0, 0, 0);
  }
  main {
    margin-top: 20px;
  }
  .nav-wrapper {
    margin-top: 80px;
    position: relative;
    width: 100vw;
    height: 35px;
  }
  .nav-wrapper-depatrment {
    display: flex;
    flex-flow: column;
    background-color: #5cad43;
    position: absolute;
    z-index: 110000;
    visibility: hidden;
    opacity: 0;
    /*不透明度0*/
    transition: all 0.3s;
    padding: 10px 30px 30px 30px;
  }
  .nav {
    width: 100vw;
    height: auto;
    transform: none;
    background-color: transparent;
    position: fixed;
    z-index: 10000;
  }
  .nav ul {
    display: flex;
    justify-content: flex-end;
  }
  .nav ul:first-child {
    margin: 0 0;
  }
  .category {
    margin-left: 20px;
    /* グローバルのメニュー項目にホバーしたときに緑色に変更 */
  }
  .category > a {
    color: #000;
    display: block;
    /* インライン要素からブロック要素に変更 */
    padding: 10px 15px;
  }
  .category:hover, .category:hover > a {
    color: #5cad43;
  }
  .sub-category02 {
    display: flex;
    flex-flow: column;
  }
  /* ＋ー（SP用）アイコンの非表示*/
  .sub-category01 .acd-label .AcdIcon,
  .sub-category01 .acd-label .AcdIcon::after {
    display: none;
  }
  /* 診療案内にホバーしたときに、サブカテゴリーメニューが表示 */
  li.category-department :hover + .nav-wrapper-depatrment {
    visibility: visible;
    opacity: 1;
    /*不透明度1*/
    position: fixed;
  }
  /* ↓↓↓サブカテゴリーへのホバーに移ってからも、サブメニューを表示を維持↓↓↓ */
  .nav-wrapper-depatrment:hover {
    visibility: visible;
    opacity: 1;
    position: fixed;
  }
  /* サブメニュー内の項目の、ホバー時の色変更 */
  .sub-category01 .acd-label:hover a,
  .sub-category02 li a:hover {
    color: rgba(255, 255, 255, 0.6) !important;
  }
  .main-images-wrapper {
    min-height: auto;
    /* 高さは自動調整 */
    aspect-ratio: 16/9;
    /* タブレットではアスペクト比を使う */
  }
  .main-images {
    margin: 0 auto;
    width: 100vw;
    height: auto;
  }
  .main-images01 img {
    display: none;
  }
  .main-images01::before {
    content: "";
    display: block;
    background-image: url(./images/main01.jpeg);
    width: 90vw;
    height: 50vw;
    max-width: 1800px;
    margin: 0 auto;
    background-size: cover;
    visibility: visible;
  }
  .main-copy-wrapper {
    width: 40vw;
    max-width: -moz-max-content;
    max-width: max-content;
    aspect-ratio: auto;
    position: absolute;
    top: 10%;
    left: 10%;
  }
  .main-copy {
    margin: 0;
    width: -moz-max-content;
    width: max-content;
    font-size: 1.3rem;
    padding: 1.8rem;
  }
  .wrapper-message {
    margin-top: 4rem;
    /* タブレット時の間隔を適切に調整 */
  }
  #message01 {
    position: static;
  }
  .message-container {
    flex-direction: row;
    /* 横並び */
    align-items: center;
    text-align: left;
    width: 90vw;
    max-width: 1100px;
    margin-top: 2vw;
  }
  .message-images-wrapper {
    width: 50vw;
    max-width: 800px;
    order: 1;
    /* PCでは1番目（画像が左） */
  }
  .message-images-wrapper img {
    width: 45vw;
    max-width: 800px;
    padding: 0;
  }
  .message-text {
    width: 50vw;
    padding: 0 0 0 0;
    order: 2;
    /* PCでは2番目（テキストが右） */
    margin-top: 2rem;
  }
  .message-text h3,
  .message-text p {
    margin: 0;
  }
  .message-text p {
    margin-top: 3vw;
  }
  .section {
    margin-top: 5rem;
  }
  .eng {
    font-size: 1rem;
  }
  .jp {
    font-size: 2rem;
  }
  #wrapper-depatrment > section > p {
    font-size: 1rem;
    max-width: 900px;
    margin: 0 auto;
  }
  .inner-department {
    display: flex;
    width: 95vw;
    margin: 0 auto;
  }
  .wrapper-hoken,
  .wrapper-yobou,
  .wrapper-shinbi {
    width: 28vw;
  }
  .images-department {
    height: 15vh;
  }
  .images-department img {
    height: 10vh;
  }
  .image-shinbi img {
    padding-top: 2rem;
  }
  .image-yobou img {
    height: 8vh;
    padding-top: 1rem;
  }
  p.text-department {
    width: 20vw;
    max-width: 250px;
  }
  .wrpper-map {
    max-width: 1100px;
  }
  .map iframe {
    width: 65vw;
    margin: 30px auto 60px auto;
  }
  table {
    width: 60vw;
  }
  #wrapper-office-hours > section > div > p {
    width: 60vw;
  }
  .wrapper-schedule p {
    width: 60vw;
  }
  table th,
  table td,
  .wrapper-schedule p {
    padding: 2rem 0rem 2rem 0;
    font-family: "Noto Sans JP", YuGothic, sans-serif;
    font-weight: normal;
    font-size: 1.2rem;
  }
  .wrapper-float-banner,
  .float-banner {
    max-width: 500px;
  }
  .wrapper-float-banner {
    padding: 1.5rem;
    font-size: 1.5rem;
  }
  .footer {
    margin: 50px 0 150px 0;
  }
}
/*↑↑↑タブレットサイズ終わり↑↑↑*/
/*↓↓↓PCサイズ↓↓↓*/
/*===========================================================================*/
@media screen and (min-width: 1025px) {
  .flex-1025-1900 {
    display: flex;
    width: 90vw;
    max-width: 1100px;
    justify-content: space-between;
    margin: 0px auto;
  }
  .wrapper-access {
    width: 50%;
  }
  .wrapper-office-hours {
    width: 45%;
  }
  .wrapper-map,
  .wrapper-schedule {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  .header-wrapper {
    height: 100px;
    position: static;
    margin: 10px 0 0 10px;
  }
  .nav-wrapper {
    margin-top: 0px;
    position: static;
  }
  .nav {
    position: absolute;
  }
  #message01 {
    position: static;
    font-size: 80px;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }
  .message02 {
    font-size: 2rem;
  }
  .message-container {
    flex-direction: row;
    align-items: center;
    text-align: left;
    width: 80vw;
    max-width: 1100px;
    margin-top: 2vw;
  }
  .message-images-wrapper img {
    width: 35vw;
    max-width: 800px;
    margin: 0;
    padding: 0;
  }
  .message-text {
    width: 55vw;
    padding: 0 0 0 0px;
    order: 2;
  }
  .inner-department {
    max-width: 1100px;
  }
  .wrapper-hoken, .wrapper-yobou, .wrapper-shinbi {
    width: 25vw;
    max-width: 330px;
  }
  .wrapper-map {
    width: 100%;
    max-width: 900px;
    margin: 15px 0 0 0;
    padding: 30px 0;
  }
  .wrapper-map iframe,
  .wrapper-map p {
    width: 80%;
  }
  .wrapper-schedule {
    width: 100%;
    max-width: 900px;
    margin: 15px 0 0 0;
    padding: 30px 0;
  }
  table th,
  table td,
  .wrapper-schedule p {
    padding: 1.5rem 0rem 1.5rem 0;
    font-family: "Noto Sans JP", YuGothic, sans-serif;
    font-weight: normal;
    font-size: 1.2rem;
  }
  table {
    width: 80%;
  }
  #wrapper-office-hours > section > div > p {
    width: 80%;
  }
  .wrapper-schedule p {
    width: 80%;
  }
  .float-banner p:nth-child(1) {
    padding-right: 20px;
  }
  .float-banner i {
    padding: 0 10px 0 20px;
  }
  .footer {
    margin: 50px 0 0 0;
    padding: 60px 0 150px 0;
  }
  footer > ul {
    display: flex;
    justify-content: space-evenly;
    max-width: 1100px;
    margin: auto;
    font-size: 1.5rem;
  }
  footer > ul > li:nth-child(2) {
    display: flex;
    align-items: flex-start;
  }
  footer > ul > li:nth-child(2) > ul {
    padding: 0 0 0 30px;
    font-size: 1.2rem;
  }
}
@media screen and (min-width: 1900px) {
  .header-wrapper {
    height: 180px;
    max-width: 1800px;
    margin: 0 auto;
  }
  .header-title img {
    max-width: 1400px;
  }
  .nav-wrapper, .nav {
    max-width: 1800px;
    margin: 0 auto;
  }
  .main-copy {
    font-size: 2.8rem;
    padding: 3.5rem;
  }
  .message-container {
    max-width: 1600px;
  }
  .message-images-wrapper {
    width: 60vw;
  }
  .message-images-wrapper img {
    width: 45vw;
  }
  .nav,
  .message-text h3 {
    font-size: 2rem;
  }
  .message-text p,
  #wrapper-depatrment > section > p,
  p.text-department,
  .eng,
  #wrapper-yobou > p,
  .link-department > a {
    font-size: 1.5rem;
  }
  #wrapper-depatrment > section > p {
    max-width: 1600px;
  }
  .message01 {
    font-size: 120px;
  }
  .message02,
  .jp {
    font-size: 3rem;
  }
  .wrapper-hoken,
  .wrapper-yobou,
  .wrapper-shinbi {
    display: flex;
    flex-direction: column;
    max-width: 500px;
  }
  .wrapper-depatrment h3 {
    font-size: 2rem;
  }
  p.link-department {
    padding-top: 3rem;
  }
  p.text-department {
    flex-grow: 1;
    max-width: 350px;
  }
  .inner-department {
    max-width: 1600px;
  }
  .flex-1025-1900 {
    display: flex;
    width: 90vw;
    max-width: 1600px;
    margin: 0 auto;
  }
  .wrapper-access, .wrapper-office-hours {
    width: 45%;
  }
  .wrapper-map {
    width: auto;
    margin: 30px 0;
    padding: 30px;
  }
  .wrapper-schedule {
    width: auto;
    margin: 30px 0;
    padding: 30px;
  }
  .wrapper-map,
  .wrapper-schedule {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
}/*# sourceMappingURL=style.css.map */