:root {
  --color_white: #ffffff;
  --color_text: #48423e;
  --color_title: #48423e;
  --color_green: #B4DF9C;
  --color_green_dark: #A0D582;
  --color_green_pale: #edf8df;
  --color_blue: #80BFD3;
  --color_blue_dark: #6CA0B0;
  --color_coral: #ff9d93;
  --color_coral_dark: #f48f85;
  --color_beige: #fbf6ee;
  --color_beige_dark: #f7f1e7;
  --color_line: #ece2d5;
  --color_dot: #f7e8cf;
  --color_footer: #b7de8a;
  --section_space: 144px;
  --section_space_sm: 112px;
  --margin_xl: 120px;
  --margin_l: 88px;
  --margin_m: 64px;
  --margin_s: 40px;
  --margin_xs: 24px;
  --gap_lg: 72px;
  --gap_md: 40px;
  --gap_sm: 20px;
  --header_height: 96px;
  --button_w: 280px;
  --button_h: 64px;
  --radius_l: 34px;
  --radius_m: 28px;
  --radius_s: 10px;
}

@media (max-width: 980px) {
  :root {
    --section_space: 96px;
    --section_space_sm: 72px;
    --margin_xl: 64px;
    --margin_l: 48px;
    --margin_m: 32px;
    --margin_s: 24px;
    --margin_xs: 16px;
    --gap_lg: 40px;
    --gap_md: 24px;
    --gap_sm: 16px;
    --header_height: 64px;
  }
}

body {
  font-family: "Quicksand", "Zen Maru Gothic", sans-serif;
  color: var(--color_text);
  background: #FFF;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.06em;
}

@keyframes header_drop_in {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fixed_button_in_pc {
  from {
    opacity: 0;
    transform: translate(100%, -50%);
  }

  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes fixed_button_in_sp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade_in_up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wrapper {
  overflow: hidden;
}

.main {
  padding: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section_eyebrow {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 21px;
  padding-left: 0.7rem;
}

.section_eyebrow_green {
  color: var(--color_green);
}

.section_eyebrow_blue {
  color: var(--color_blue);
}

.section_center {
  text-align: center;
}

.section_title {
  position: relative;
  color: var(--color_title);
  font-weight: 500;
  line-height: 1.35;
  font-size: clamp(24px, calc((42 / 1440) * 100vw), 42px);
  letter-spacing: 0.08em;
}

.section_title::after {
  content: "";
  display: block;
  width: 74px;
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle, currentColor 2px, transparent 3px) center / 14px 8px repeat-x;
  opacity: 0.55;
}

.section_title_left::after {
  margin-left: 0;
}

.section_center.section_title::after,
.section_center .section_title::after {
  margin-left: auto;
  margin-right: auto;
}

.button_group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.button {
  width: min(100%, var(--button_w));
  min-height: var(--button_h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: clamp(16px, calc((26 / 1440) * 100vw), 26px);
}

.button::after {
  content: "›";
  margin-left: 18px;
  font-size: 1em;
  line-height: 1;
}

.button_green {
  background: var(--color_green_dark);
  color: var(--color_white);
}

.button_cta {
  position: relative;
  min-width: 320px;
  min-height: 80px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  transition: filter 0.2s ease;
}

.button_cta::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  pointer-events: none;
}

.button_cta::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 6px;
  height: 10px;
  margin-left: 0;
  background: url("../images/arrow_white.svg") center / 6px auto no-repeat;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.button_cta:hover {
  filter: brightness(1.06);
}

.button_cta:hover::after {
  transform: translate(4px, -50%);
}

.button_coral {
  background: var(--color_coral);
  color: var(--color_white);
  border: 2px solid var(--color_coral_dark);
}

.button_coral.button_cta::before {
  border-color: rgba(255, 255, 255, 0.6);
}

/* ====================
  header
==================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  animation: header_drop_in 0.8s ease forwards;
}

.header_inner {
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 18px var(--margin_s) 16px;
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 32px;
}

.header_logo {
  display: flex;
  align-items: center;
  width: 240px;
}

.header_logo img {
  width: 100%;
  height: auto;
}

.header_right {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.access_mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #8bdb58;
  color: #ffd84d;
  font-size: 28px;
  line-height: 1;
}

.header_info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}

.access_station {
  color: #7d756c;
  font-weight: 500;
  font-size: 14px;
}

.access_name {
  color: var(--color_title);
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(22px, calc((30 / 1440) * 100vw), 30px);
}

.header_address {
  position: relative;
  padding-left: 25px;
  color: var(--color_text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.header_address::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  background: url("../images/ico_pin.svg") center / contain no-repeat;
}

.header_tel,
.access_tel {
  position: relative;
  padding-left: 26px;
  font-family: "Quicksand", "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: var(--color_text);
  font-size: clamp(18px, calc((20 / 1440) * 100vw), 24px);
  line-height: 1.4;
}

.header_tel::before,
.access_tel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  background: url("../images/ico_tel.svg") center / contain no-repeat;
}

.nav {
  justify-self: end;
}

.nav_list {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
  color: var(--color_text);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}

.nav_list a::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color_green);
}

.header_toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  justify-self: end;
  position: relative;
}

.header_toggle_line {
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--color_title);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header_toggle_line:nth-child(1) {
  transform: translateY(-8px);
}

.header_toggle_line:nth-child(2) {
  transform: translateY(0);
}

.header_toggle_line:nth-child(3) {
  transform: translateY(8px);
}

.header.is_open .header_toggle_line:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.header.is_open .header_toggle_line:nth-child(2) {
  opacity: 0;
}

.header.is_open .header_toggle_line:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

@media (max-width: 1180px) {
  .header_inner {
    grid-template-columns: 240px 1fr;
    gap: 16px 24px;
  }

  .header_info {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header_address_group {
    flex-wrap: wrap;
  }

  .nav_list {
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: flex-start;
  }
}

@media (max-width: 1000px) {
  .header_logo {
    width: clamp(170px, calc((190 / 1000) * 100vw), 190px);
  }

  .header_inner {
    grid-template-columns: minmax(170px, 190px) 1fr;
    min-height: 0;
    align-items: center;
    gap: 16px;
    padding: clamp(8px, calc((12 / 1000) * 100vw), 12px) clamp(8px, calc((24 / 1000) * 100vw), 24px);
  }

  .header_toggle {
    display: inline-flex;
    z-index: 31;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .header_right {
    display: block;
  }

  .header_info {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 100vh;
    padding: 96px 24px 32px;
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.3s ease,
      opacity 0.2s ease,
      visibility 0.2s ease;
    z-index: 30;
  }

  .header.is_open .nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav_list {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 16px;
  }

  .header_tel,
  .access_tel {
    font-size: 20px;
  }

  .nav_list li {
    width: 100%;
    border-top: 1px solid rgba(63, 57, 53, 0.08);
  }

  .nav_list a {
    display: block;
    width: 100%;
    padding: 14px 0;
  }
}

/* ====================
  footer
==================== */

.footer {
  background: var(--color_footer);
}

.footer_inner {
  min-height: 58px;
  display: grid;
  place-items: center;
}

.footer p {
  color: var(--color_white);
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
}

/* ====================
  page: hero
==================== */

.hero {
  position: relative;
}

.hero_visual {
  position: relative;
}

.hero_swiper,
.hero_slide,
.hero_slide picture,
.hero_slide img {
  height: clamp(520px, calc((980 / 1440) * 100vw), 980px);
}

.hero_swiper {
  position: relative;
  z-index: 1;
}

.hero_slide img {
  object-fit: cover;
}

.hero_cloud {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -2px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.hero_inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero_copy p {
  width: fit-content;
  padding: 10px 18px 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color_title);
  font-weight: 500;
  line-height: 1.25;
  border-radius: 4px;
  font-size: clamp(24px, calc((44 / 1440) * 100vw), 48px);
  box-shadow: 0 8px 20px rgba(72, 66, 62, 0.12);
  opacity: 0;
  animation: fade_in_up 0.8s ease forwards;
}

.hero_copy p + p {
  margin-top: 12px;
}

.hero_copy p:nth-child(1) {
  animation-delay: 0.45s;
}

.hero_copy p:nth-child(2) {
  animation-delay: 0.6s;
}

.hero_copy p:nth-child(3) {
  animation-delay: 0.75s;
}

.fixed_button_group {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
  z-index: 10;
  animation: fixed_button_in_pc 0.8s ease forwards;
}

.fixed_button {
  width: 112px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 20px 0 0 20px;
  color: var(--color_white);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.fixed_button_reserve {
  background: var(--color_coral);
}

.fixed_button_tel {
  display: none;
  background: var(--color_blue_dark);
}

.fixed_button_calendar {
  background: var(--color_green_dark);
}

.fixed_button::before {
  content: "";
  width: 32px;
  aspect-ratio: 1 / 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.fixed_button_reserve::before {
  background-image: url("../images/ico_fixed_reserve.svg");
}

.fixed_button_tel::before {
  background-image: url("../images/ico_tel_white.svg");
}

.fixed_button_calendar::before {
  background-image: url("../images/ico_fixed_calendar.svg");
}

.fixed_button_label {
  display: block;
}

.fixed_button:hover {
  filter: brightness(0.94);
}

@media (min-width: 768px) {
  .hero_visual {
    aspect-ratio: 1476 / 716;
  }

  .hero_swiper,
  .hero_slide,
  .hero_slide picture,
  .hero_slide img {
    height: 100%;
  }
}

@media (max-width: 980px) {
  .hero_inner {
    align-items: flex-end;
    padding-bottom: 120px;
  }
}

@media (max-width: 767px) {
  .hero_visual {
    aspect-ratio: 510 / 716;
  }

  .hero_swiper,
  .hero_slide,
  .hero_slide picture,
  .hero_slide img {
    height: 100%;
  }
}

@media (max-width: 640px) {
  .hero_copy p {
    padding: 8px 12px 10px;
  }

  .hero_cloud {
    bottom: 0;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .fixed_button_group {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 20px rgba(72, 66, 62, 0.12);
    animation: fixed_button_in_sp 0.8s ease forwards;
  }

  .fixed_button_tel {
    display: flex;
  }

  .fixed_button {
    width: 100%;
    min-height: 72px;
    flex-direction: column;
    gap: 4px;
    padding: 10px 8px 8px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
  }

  .fixed_button + .fixed_button {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }

  .fixed_button::before {
    width: 28px;
    height: 28px;
  }

  .fixed_button_label br {
    display: none;
  }
}

/* ====================
  page: important_notice
==================== */

.important_notice {
  position: relative;
  z-index: 4;
  margin-top: var(--margin_m);
  padding: 24px 32px;
  background: #fff8f7;
  border-radius: 12px;
}

.important_notice_label {
  font-weight: 700;
  font-size: 20px;
  color: var(--color_coral_dark);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.important_notice_body p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color_text);
}

.important_notice_body p + p {
  margin-top: 12px;
}

/* ====================
  page: news
==================== */

.news {
  position: relative;
  z-index: 4;
  margin-top: var(--margin_m);
  padding: var(--margin_s) var(--margin_m);
  background: linear-gradient(180deg, #fdf9f1 0%, #fdf8f0 100%);
  border-radius: 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--gap_sm);
}

.news::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px dashed rgba(115, 90, 64, 0.3);
  border-radius: 30px;
  pointer-events: none;
}

.news::after {
  content: "";
  position: absolute;
  top: 0;
  right: var(--margin_s);
  width: clamp(120px, 16.25vw, 195px);
  aspect-ratio: 195 / 154;
  background: url("../images/top_news_deco.png") center / contain no-repeat;
  transform: translateY(-100%);
}

.news_heading {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 12px;
}

.news_heading_text {
  display: grid;
  gap: 6px;
}

.news_heading .section_eyebrow {
  font-size: 21px;
}

.news_heading .section_title {
  font-size: 34px;
}

.news_heading .section_title::after {
  display: none;
}

.news_body {
  display: grid;
}

.news_list {
  display: grid;
}

.news_item {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  border-bottom: 1px solid #efe4d7;
}

.news_item:last-child {
  border-bottom: 0;
}

.news_item time,
.news_item a,
.news_more {
  font-size: clamp(16px, calc((18 / 1440) * 100vw), 18px);
}

.news_item time {
  color: #8d867d;
  font-family: "Quicksand", sans-serif;
}

.news_item a {
  color: var(--color_title);
  transition: color 0.2s ease;
}

.news_item a:hover {
  color: var(--color_green_dark);
}

.news_more {
  margin-top: auto;
  width: fit-content;
  color: #5d5a57;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
}

.news_more::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 10px;
  margin-left: 12px;
  background: url("../images/arrow_green.svg") center / 6px auto no-repeat;
  transition: transform 0.2s ease;
}

.news_more:hover {
  color: var(--color_green_dark);
}

.news_more:hover::after {
  transform: translateX(4px);
}

@media (max-width: 820px) {
  .news {
    position: relative;
    grid-template-columns: 1fr;
    padding: 32px 30px 72px;
    margin-top: calc(var(--margin_m) + 60px);
  }

  .news_heading {
    min-height: auto;
  }

  .news_more {
    position: absolute;
    right: 30px;
    bottom: 30px;
    margin-top: 0;
  }

  .news_body {
    gap: 16px;
  }

  .news_item {
    grid-template-columns: 1fr;
    min-height: 68px;
    gap: 4px;
    padding: 12px 0;
  }

  .news_heading .section_eyebrow {
    font-size: 17px;
  }

  .news_heading .section_title {
    font-size: 26px;
  }

  .news_item time,
  .news_item a {
    display: block;
  }
}

/* ====================
  page: greeting
==================== */

.greeting {
  position: relative;
  padding-top: var(--section_space);
  padding-bottom: var(--section_space_sm);
}

.greeting_inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: var(--gap_lg);
}

.greeting_content {
  padding-right: 18px;
}

.greeting_heading {
  display: inline-flex;
  align-items: end;
  gap: 60px;
}

.greeting_heading_text {
  display: grid;
  gap: 6px;
}

.greeting_heading_deco {
  width: clamp(96px, calc((200 / 1440) * 100vw), 200px);
  height: auto;
}

.greeting_text {
  margin-top: 24px;
  color: #554f4a;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
}

.greeting .section_title {
  display: inline-block;
}

.greeting .section_title::after {
  width: 100%;
  color: rgba(109, 187, 81, 0.6);
}

.greeting_name {
  margin-top: 28px;
  text-align: right;
  color: var(--color_title);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.8;
}

.greeting_image {
  position: relative;
  z-index: 2;
}

.greeting_image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(72px, calc((161 / 1440) * 100vw), 161px);
  height: clamp(72px, calc((161 / 1440) * 100vw), 161px);
  background: url("../images/dot_deco_green.svg") center / contain no-repeat;
  transform: translate(60%, -60%);
  z-index: -1;
}

.greeting_image::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px dashed rgba(255, 255, 255, 0.8);
  border-radius: 17px;
  pointer-events: none;
}

.greeting_image img {
  border-radius: 30px;
}

.greeting_button_group {
  margin-top: var(--margin_m);
  justify-content: center;
}

@media (max-width: 980px) {
  .greeting_inner {
    grid-template-columns: 1fr;
  }

  .greeting_content {
    padding-right: 0;
  }

  .greeting_heading {
    gap: clamp(20px, calc((40 / 980) * 100vw), 40px);
  }

  .greeting_image {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .greeting_name {
    font-size: 18px;
  }
}

/* ====================
  page: medical
==================== */

.medical {
  position: relative;
  padding: var(--section_space_sm) 0 var(--section_space);
  background: #fcf7f0;
}

.medical::before,
.medical::after {
  content: "";
  position: absolute;
  top: 0;
  width: clamp(120px, calc((166 / 1440) * 100vw), 230px);
  height: auto;
  aspect-ratio: 160 / 98;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}

.medical::before {
  left: 0;
  background-image: url("../images/top_menu_deco_left.svg");
}

.medical::after {
  right: 0;
  background-image: url("../images/top_menu_deco_right.svg");
}

.medical .container {
  position: relative;
  z-index: 1;
}

.medical .section_title::after {
  color: var(--color_blue);
}

.medical_grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.medical_card {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 172px;
  padding: 32px 16px;
  border-radius: 8px;
  background: var(--color_blue);
  color: var(--color_white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
}

@media (min-width: 561px) {
  .medical_grid {
    grid-template-columns: repeat(3, 194px);
    justify-content: center;
  }

  .medical_card {
    width: 194px;
  }
}

@media (min-width: 821px) {
  .medical_grid {
    grid-template-columns: repeat(4, 194px);
  }
}

@media (min-width: 921px) {
  .medical_grid {
    grid-template-columns: repeat(4, 194px);
  }
}

@media (min-width: 1181px) {
  .medical_grid {
    grid-template-columns: repeat(5, 194px);
  }
}

.medical_card_dark {
  background: var(--color_blue_dark);
}

.medical_icon {
  width: 118px;
  height: 82px;
  object-fit: contain;
}

.medical_button_wrap {
  margin-top: var(--margin_m);
  text-align: center;
}

.medical_card:nth-child(1) .medical_icon,
.medical_card:nth-child(2) .medical_icon,
.medical_card:nth-child(3) .medical_icon,
.medical_card:nth-child(8) .medical_icon,
.medical_card:nth-child(14) .medical_icon {
  width: 60px;
  height: 70px;
}

.medical_card:nth-child(12) .medical_icon,
.medical_card:nth-child(10) .medical_icon {
  width: 82px;
  height: 60px;
}

.medical_card:nth-child(14) .medical_icon {
  width: 56px;
  height: 82px;
}

@media (max-width: 980px) {
  .medical_card {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .medical_grid {
    gap: 8px;
  }

  .medical_card {
    width: 100%;
    max-width: none;
    min-height: 120px;
    gap: 8px;
    padding: 0 12px;
  }

  .medical_icon {
    width: 72px;
    height: 50px;
  }

  .medical_card:nth-child(1) .medical_icon,
  .medical_card:nth-child(2) .medical_icon,
  .medical_card:nth-child(3) .medical_icon,
  .medical_card:nth-child(8) .medical_icon {
    width: 36px;
    height: 46px;
  }

  .medical_card:nth-child(10) .medical_icon,
  .medical_card:nth-child(12) .medical_icon {
    width: 52px;
    height: 38px;
  }

  .medical_card:nth-child(14) .medical_icon {
    width: 34px;
    height: 54px;
  }

  .medical_card:nth-child(6) span,
  .medical_card:nth-child(10) span {
    letter-spacing: -0.12em;
    white-space: nowrap;
  }
}

@media (max-width: 468px) {
  .medical_card {
    padding: 0;
  }
}

/* ====================
  page: reason
==================== */

.reason {
  position: relative;
  padding: var(--margin_m) 0 var(--section_space);
}

.reason_cloud {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  transform: translateY(calc(-100% + 2px));
}

.reason .section_eyebrow {
  color: var(--color_coral);
}

.reason .section_title::after {
  color: var(--color_coral);
}

.reason_heading {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
}

.reason_heading_text {
  position: relative;
  z-index: 1;
}

.reason_heading_deco {
  position: absolute;
  height: auto;
}

.reason_heading_deco_left {
  left: 0;
  bottom: 8px;
  width: clamp(88px, calc((171 / 1440) * 100vw), 171px);
  aspect-ratio: 171 / 161;
}

.reason_heading_deco_right {
  right: 0;
  bottom: -48px;
  width: clamp(120px, calc((242 / 1440) * 100vw), 242px);
  aspect-ratio: 1 / 1;
}

.reason_grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 80px;
}

.reason_card {
  position: relative;
}

.reason_card::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 13px;
  width: calc(100% - 26px);
  aspect-ratio: 390 / 260;
  border: 1px dashed rgba(255, 255, 255, 0.8);
  border-radius: 7px;
  pointer-events: none;
  z-index: 1;
}

.reason_media {
  position: relative;
}

.reason_card img {
  border-radius: 20px;
}

.reason_body {
  width: 100%;
  margin: -18px 0 0;
  transform: translateX(24px);
  padding: 22px 24px 24px;
  background: #fdf8f1;
  border-radius: 20px;
}

.reason_index {
  position: absolute;
  left: 24px;
  top: 20px;
  color: #ffffff;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 14px;
  z-index: 2;
}

.reason_body h3 {
  color: #f09489;
  font-weight: 700;
  line-height: 1.5;
  font-size: 18px;
}

.reason_body p:last-child {
  margin-top: 10px;
  font-weight: 500;
  font-size: 14px;
}

.reason_button_wrap {
  margin-top: 62px;
  text-align: center;
}

.reason_button_wrap .button {
  width: min(100%, 306px);
}

@media (max-width: 980px) {
  .reason_heading_deco_left {
    bottom: 18px;
  }

  .reason_heading_deco_right {
    bottom: 8px;
  }

  .reason_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reason_heading {
    min-height: 120px;
  }

  .reason_heading_deco_left {
    width: 88px;
  }

  .reason_heading_deco_right {
    width: 120px;
  }

  .reason_grid {
    grid-template-columns: 1fr;
  }

  .reason_body {
    width: 100%;
    margin-top: -18px;
  }

  .reason_card:nth-child(odd) .reason_body {
    transform: translateX(24px);
    border-radius: 20px 0 0 20px;
  }

  .reason_card:nth-child(even) .reason_body {
    transform: translateX(-24px);
    border-radius: 0 20px 20px 0;
  }

  .reason_body h3 {
    font-size: 17px;
  }

  .reason_index {
    left: 22px;
    top: 12px;
  }

  .greeting_image::after {
    inset: 10px;
  }

  .reason_card::before {
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
  }
}

/* ====================
  page: gallery
==================== */

.gallery {
  position: relative;
}

.gallery_character {
  position: absolute;
  top: 0;
  right: 140px;
  width: clamp(72px, calc((110 / 1440) * 100vw), 110px);
  height: auto;
  transform: translateY(-100%);
  z-index: 2;
}

@media (max-width: 768px) {
  .gallery_character {
    right: 16px;
  }
}

.gallery_swiper {
  overflow: hidden;
}

.gallery_swiper .swiper-wrapper {
  transition-timing-function: linear;
}

.gallery_slide {
  width: clamp(220px, calc((420 / 1440) * 100vw), 420px);
  aspect-ratio: 420 / 320;
  overflow: hidden;
}

.gallery_slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {
  .gallery_slide {
    width: clamp(180px, 72vw, 300px);
  }
}

/* ====================
  page: access
==================== */

.access {
  padding-top: var(--section_space_sm);
  background: var(--color_beige);
}

.access_inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 64px;
  align-items: start;
}

.access_address {
  margin-top: 18px;
  color: #5e5954;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}

.access_contact {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.access_head {
  display: flex;
  align-items: center;
}

.access_logo {
  width: 240px;
  height: auto;
}

.access_tel {
  font-size: 26px;
  padding-left: 30px;
}

.access_tel::before {
  width: 20px;
  height: 20px;
}

.access_reserve {
  min-width: 210px;
  min-height: 50px;
}

.access_table {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color_white);
}

.access_table th,
.access_table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #eef1ef;
  font-size: clamp(13px, calc((18 / 1440) * 100vw), 18px);
}

.access_table thead th {
  color: var(--color_title);
  font-weight: 700;
}

.access_table tbody th {
  text-align: left;
  color: #625d57;
  font-weight: 500;
}

.access_table td {
  color: var(--color_green_dark);
  font-weight: 700;
}

.access_table_closed {
  color: #c0b8b0 !important;
  font-weight: 500 !important;
}

.access_table tbody th {
  white-space: nowrap;
  padding-right: 16px;
}

.access_note {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

.access_calendar_title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color_title);
  letter-spacing: 0.06em;
}

.access_calendar img {
  border-radius: 18px;
}

.access_map {
  margin-top: 64px;
  margin-bottom: 0;
}

.access_map iframe {
  display: block;
  width: 100%;
  height: clamp(280px, calc((500 / 1440) * 100vw), 500px);
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .access_inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .access_logo {
    width: 190px;
  }

  .access_reserve {
    min-width: 210px;
  }
}

/* ====================
  inner page: common
==================== */

.page_hero {
  position: relative;
  margin-top: var(--header_height);
  padding: clamp(140px, 14vw, 180px) 0 clamp(120px, 10vw, 150px);
  background-color: var(--color_beige);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page_hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 0;
}

.page_hero_cloud {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.page_hero .container {
  position: relative;
  z-index: 2;
  transform: translateY(-36px);
}

.page_hero .section_eyebrow {
  display: block;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.page_hero_title {
  margin-top: 10px;
  display: inline-block;
  padding: 10px 18px 12px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(72, 66, 62, 0.12);
  font-size: clamp(28px, calc((40 / 1440) * 100vw), 40px);
  font-weight: 500;
  color: var(--color_title);
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.page_content {
  padding: var(--margin_s) 0 var(--section_space);
}

/* ====================
  page: blog
==================== */

.blog_section {
  padding: var(--section_space) 0;
  background: var(--color_beige);
}

.blog_section_heading {
  margin-bottom: var(--margin_m);
}

.blog_section .section_title::after {
  color: var(--color_green_dark);
}

.blog_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog_card_link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color_white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog_card_link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(72, 66, 62, 0.12);
}

.blog_card_image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog_card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog_card_link:hover .blog_card_image img {
  transform: scale(1.04);
}

.blog_card_noimage {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color_beige_dark);
}

.blog_card_body {
  padding: 16px 20px 20px;
}

.blog_card_categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.blog_card_category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color_green_pale);
  color: #5e7f49;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.blog_card_date {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
  color: #8d867d;
}

.blog_card_title {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color_title);
  line-height: 1.6;
}

.blog_section_more {
  margin-top: var(--margin_m);
  text-align: center;
}

.blog_more_link {
  position: relative;
  display: inline-block;
  padding: 0 0 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color_text);
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}

.blog_more_link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 10px;
  margin-left: 10px;
  background: url("../images/arrow_green.svg") center / contain no-repeat;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.blog_more_link:hover {
  color: var(--color_green_dark);
}

.blog_more_link:hover::after {
  transform: translateX(4px);
}

.blog_archive_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.blog_archive_main .blog_grid {
  grid-template-columns: repeat(2, 1fr);
}

.blog_archive_main .blog_card_link {
  background: #fcf7f0;
}

.blog_archive_sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
}

.blog_sidebar_widget {
  padding: 24px;
  background: var(--color_beige);
  border-radius: 8px;
}

.blog_sidebar_title {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color_title);
}

.blog_category_list {
  display: grid;
  gap: 10px;
}

.blog_sidebar_list {
  display: grid;
  gap: 8px;
}

.blog_recent_list {
  display: grid;
}

.blog_category_link {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--color_white);
  color: var(--color_text);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog_sidebar_link {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--color_white);
  color: var(--color_text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog_recent_list li {
  border-bottom: 1px solid var(--color_line);
}

.blog_recent_list li:first-child {
  border-top: 1px solid var(--color_line);
}

.blog_recent_link {
  display: grid;
  gap: 4px;
  padding: 14px 4px;
  color: var(--color_text);
  transition: opacity 0.2s ease;
}

.blog_recent_link:hover {
  opacity: 0.65;
}

.blog_recent_date {
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  color: #8d867d;
}

.blog_recent_title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.blog_category_link:hover,
.blog_category_link.is_current,
.blog_sidebar_link:hover,
.blog_sidebar_link.is_current {
  background: var(--color_green_dark);
  color: var(--color_white);
}

@media (max-width: 900px) {
  .blog_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog_archive_layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog_archive_sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .blog_grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* single: thumbnail */

.single_thumbnail {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
}

.single_thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* ====================
  inner page: news archive
==================== */

.archive_list {
  display: grid;
}

.archive_item {
  border-bottom: 1px solid var(--color_line);
}

.archive_item:first-child {
  border-top: 1px solid var(--color_line);
}

.archive_item_link {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 8px;
  transition: opacity 0.2s ease;
}

.archive_item_link:hover {
  opacity: 0.65;
}

.archive_item_date {
  font-family: "Quicksand", sans-serif;
  font-size: 15px;
  color: #8d867d;
  white-space: nowrap;
}

.archive_item_title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color_title);
  line-height: 1.7;
}

.archive_empty {
  font-size: 16px;
  font-weight: 500;
  color: #8d867d;
  padding: 48px 0;
  text-align: center;
}

.pagination {
  margin-top: var(--margin_m);
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color_text);
  background: var(--color_beige);
  transition: background 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  min-width: 40px;
  padding: 0;
  background: var(--color_green_dark);
}

.pagination .pagination_arrow {
  width: 6px;
  height: 10px;
  background: url("../images/arrow_white.svg") center / contain no-repeat;
}

.pagination .pagination_arrow_prev {
  transform: rotate(180deg);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--color_green_dark);
  color: var(--color_white);
}

@media (max-width: 640px) {
  .archive_item_link {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 4px;
  }
}

/* ====================
  inner page: news single
==================== */

.single_article {
  max-width: 800px;
}

.single_meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single_date {
  font-family: "Quicksand", sans-serif;
  font-size: 15px;
  color: #8d867d;
}

.single_title {
  margin-top: 12px;
  font-size: clamp(20px, calc((28 / 1440) * 100vw), 28px);
  font-weight: 500;
  color: var(--color_title);
  line-height: 1.5;
  letter-spacing: 0.06em;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color_line);
}

.single_body {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color_text);
}

.single_body p + p {
  margin-top: 1.5em;
}

.single_body h2 {
  margin-top: 2em;
  margin-bottom: 0.75em;
  padding: 0.5em 0.75em;
  font-size: 20px;
  font-weight: 700;
  color: var(--color_title);
  background: var(--color_green_pale);
  border-left: 4px solid var(--color_green_dark);
  border-radius: 0 6px 6px 0;
}

.single_body h3 {
  margin-top: 1.75em;
  margin-bottom: 0.9em;
  padding: 0.35em 0.75em;
  font-size: 18px;
  font-weight: 700;
  color: var(--color_title);
  background: var(--color_green_pale);
  border-radius: 6px;
}

.single_body ul,
.single_body ol {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 0;
  display: grid;
  gap: 0.5em;
}

.single_body ul li {
  list-style: none;
  padding-left: 1.4em;
  position: relative;
}

.single_body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color_green_dark);
}

.single_body ol {
  counter-reset: ol-counter;
}

.single_body ol li {
  list-style: none;
  padding-left: 1.8em;
  position: relative;
  counter-increment: ol-counter;
}

.single_body ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.3em;
  height: 1.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color_green_dark);
  color: var(--color_white);
  font-size: 12px;
  font-weight: 700;
  font-family: "Quicksand", sans-serif;
  line-height: 1;
}

.single_body a {
  color: var(--color_green_dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.single_body a:hover {
  opacity: 0.7;
}

.single_body img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.single_back {
  margin-top: var(--margin_m);
  padding-top: var(--margin_s);
  border-top: 1px solid var(--color_line);
}

.single_back_link {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color_text);
  transition: color 0.2s ease;
}

.single_back_link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 10px;
  transform: translateY(-50%) scaleX(-1);
  background: url("../images/arrow_green.svg") center / contain no-repeat;
}

.single_back_link:hover {
  color: var(--color_green_dark);
}
