/* TOP review: logo blue sampled from the original image (30, 185, 238). */
:root {
  --blue: #1eb9ee;
  --deep: var(--ink);
}

.brand img,
.footer-brand img {
  height: auto;
  aspect-ratio: 425 / 113;
  object-fit: contain;
  flex-shrink: 0;
}

.menu-button {
  width: 54px;
  height: 54px;
  padding: 0;
  flex: 0 0 54px;
  white-space: nowrap;
  word-break: keep-all;
  font-size: 11px;
  line-height: 1;
  color: #fff;
  align-items: center;
  justify-content: center;
}

.button,
.desktop-nav .header-contact,
.contact-block {
  color: #fff;
}

.button:hover,
.desktop-nav .header-contact:hover {
  color: #fff;
  background: #8ed3f5;
}

.hero-media::after {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .84) 0%,
    rgba(255, 255, 255, .80) 48%,
    rgba(255, 255, 255, .58) 78%,
    rgba(255, 255, 255, .40) 100%);
}
.hero-english { color: var(--blue); }
.mobile-title em { color: inherit; }
.service-body h3,
.service-minimal h3 { color: var(--ink); }
.section-label { color: #536f79; }
.section-label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  margin: 0 8px 3px 0;
  background: var(--blue);
}
.text-link::after { border-color: var(--blue); }
.text-link:hover::after { color: #fff; }
.service-number { color: var(--ink); }
.contact-block .section-label { color: #fff; }
.contact-block .section-label::before { background: #fff; }
.contact-actions .button,
.contact-actions .button:hover { color: var(--blue); }
.intro-block { padding-bottom: 48px; }

/* Give both service rows the same gentle circle, mirrored with the layout. */
.services-section::before { content: none; }
.service-card { position: relative; isolation: isolate; }
.service-card::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -300px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: #fff4d4;
  z-index: -1;
  pointer-events: none;
}
.service-card:nth-child(even)::before { left: auto; right: -300px; }

/* Hako has one service row: keep its decoration beside the photo, clear of copy. */
.hako-services .service-card::before { content: none; }
.hako-services .service-image::after {
  content: "";
  position: absolute;
  right: -200px;
  bottom: -30px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: #fff4d4;
  z-index: -1;
  pointer-events: none;
}

/* Service schedules are large text links with a shared baseline, not pills. */
.hours-section { padding-bottom: 58px; }
.hours-layout { row-gap: 32px; }
.hours-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 0;
}
.hours-links:has(> :only-child) { grid-template-columns: 1fr; }
.hours-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-top: 1px solid #d8eaf0;
  border-bottom: 3px solid var(--blue);
  background: #f5fbfe;
}
.hours-link:hover { background: var(--pale); }
.hours-link-content { display: flex; flex-direction: column; gap: 4px; }
.hours-link-content strong { font-size: 19px; line-height: 1.8; }
.hours-link-content > span { font-size: 13px; color: #607984; }
.hours-link-arrow {
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 8px;
  flex-shrink: 0;
}
.facility-section { padding-top: 55px; }
.gallery-tail .button { min-width: 255px; }
.flow-section .section-head { align-items: center; }
.flow-section .section-head > .button { font-size: 13px; }

/* Footer: original logo proportions and identifiable official social links. */
.footer-brand img { width: 190px; }
.footer-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  margin-bottom: 30px;
  border-radius: 18px;
  background: var(--pale);
}
.footer-social h2 { font-size: 21px; white-space: nowrap; }
.footer-social .section-label { margin-bottom: 8px; }
.social-links { display: flex; gap: 16px; flex-wrap: wrap; }
.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 12px;
  background: #fff;
  min-width: 225px;
}
.social-link:hover { box-shadow: 0 0 0 2px var(--blue); }
.social-link > img { width: 42px; height: 42px; flex: 0 0 42px; }
.social-name { display: flex; flex-direction: column; line-height: 1.6; }
.social-name strong { font-size: 16px; }
.social-name > span { font-family: Arial, sans-serif; font-size: 12px; color: #5d737d; letter-spacing: .01em; }
.social-arrow { margin-left: 8px; font-size: 19px; }
.footer-bottom { justify-content: flex-end; }

@media (max-width: 1000px) {
  .menu-button { display: inline-flex; }
  .hours-links { margin-top: 30px; }
  .hours-link-content strong { font-size: 17px; }
  .footer-social { align-items: flex-start; flex-direction: column; }
  .social-links { width: 100%; }
  .social-link { flex: 1 1 220px; }
}

@media (max-width: 680px) {
  .menu-button { width: 50px; height: 50px; flex-basis: 50px; font-size: 10.5px; }
  .hero-grid { display: block; min-height: 430px; }
  .hero-media { position: absolute; inset: 0; height: 100%; }
  .hero-media > img { object-position: 60% center; }
  .hero-media::after {
    background: linear-gradient(90deg,
      rgba(255, 255, 255, .86) 0%,
      rgba(255, 255, 255, .82) 60%,
      rgba(255, 255, 255, .68) 100%);
  }
  .hero-copy { width: 100%; padding: 99px 25px 105px; background: transparent; }
  .hero-english { margin-top: 23px; font-size: 21px; }
  .intro-block { padding-bottom: 34px; }
  .service-card::before { top: 290px; left: -215px; width: 340px; height: 340px; }
  .service-card:nth-child(even)::before { left: auto; right: -215px; }
  .hako-services .service-image::after {
    right: -170px;
    bottom: -10px;
    width: 280px;
    height: 280px;
  }
  .hours-section { padding-bottom: 36px; }
  .hours-links { grid-template-columns: 1fr; gap: 15px; margin-top: 26px; }
  .hours-link { padding: 19px 18px; gap: 15px; }
  .hours-link-content strong { font-size: 18px; }
  .hours-link-content > span { font-size: 12px; }
  .facility-section { padding-top: 35px; }
  .gallery-tail .button { width: 100%; min-width: 0; font-size: 13px; }
  .flow-section .section-head > .button { margin-top: 19px; font-size: 12px; }
  .footer-brand img { width: 165px; }
  .footer-social { padding: 23px 18px; gap: 21px; margin-bottom: 25px; }
  .footer-social h2 { font-size: 21px; }
  .social-links { flex-direction: column; gap: 12px; }
  .social-link { width: 100%; min-width: 0; flex: auto; padding: 15px; gap: 14px; }
  .social-arrow { margin-left: auto; }
}

@media (max-width: 360px) {
  .menu-button { width: 48px; height: 48px; flex-basis: 48px; font-size: 10px; }
  .hero-grid { min-height: 400px; }
  .hero-copy { padding: 96px 22px 105px; }
  .hero-english { font-size: 19px; }
  .hours-link-content strong { font-size: 16px; }
  .flow-section .section-head > .button { width: 100%; font-size: 11px; padding-inline: 20px; gap: 12px; }
}

/* Readability review: balance the short hero copy within a shallower photo. */
.hero-grid {
  min-height: clamp(440px, 35vw, 520px);
  display: flex;
  align-items: center;
}
.hero-copy { padding-block: 65px; }
.hero h1 { max-width: 100%; }
.desktop-title { font-size: clamp(36px, 3.35vw, 52px); }
.hero-english { font-size: 30px; }
.desktop-nav { font-size: 14px; gap: 20px; }
.intro-block > p { font-size: 17px; }
.button,
.intro-block .button,
.flow-section .section-head > .button { font-size: 15px; }
.text-link,
.news-heading .text-link { font-size: 15px; }
.section-label,
.contact-block .section-label { font-size: 12px; }
.news-item { font-size: 15px; padding-block: 18px; }
.news-item time { font-size: 13px; }
.news-category { font-size: 12px; }
.news-layout { grid-template-columns: 260px 1fr; gap: 40px; }
.news-item { grid-template-columns: 92px 138px 1fr 18px; }
.service-place { font-size: 14px; }
.service-body p { font-size: 16px; }
.service-body h3 span { font-size: 16px; }
.service-illustration {
  display: block;
  width: 240px;
  height: auto;
  aspect-ratio: 659 / 407;
  object-fit: contain;
  margin: 0 0 22px;
}
.service-card:nth-child(even) .service-illustration { margin-left: auto; }
.gallery-head p:last-child,
.flow-step p,
.hours-copy > p:not(.section-label) { font-size: 16px; }
.flow-step h3 { font-size: 18px; }
.gallery-tail { font-size: 14px; }
.hours-link-content > span { font-size: 14px; }
.schedule,
.schedule td:first-child { font-size: 16px; }
.phone-block small { font-size: 14px; }
.contact-block > p:not(.section-label) { font-size: 16px; }
.footer-identity address,
.footer-nav { font-size: 14px; }
.social-name > span { font-size: 14px; }
.footer-bottom { font-size: 12px; }

/* Large, cropped translucent shapes read as a background pattern. */
.contact-block { overflow: hidden; isolation: isolate; }
.contact-block::before,
.contact-block::after {
  border: 0;
  background: rgba(255, 255, 255, .11);
  z-index: -1;
}
.contact-block::before { width: 350px; height: 350px; left: -140px; top: -180px; }
.contact-block::after { width: 480px; height: 480px; right: -150px; bottom: -320px; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; font-size: 12px; }
  .mobile-nav.open { display: flex; flex-direction: column; background: #fff; padding: 8px 30px 20px; }
  .mobile-nav a { font-size: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
}

@media (min-width: 681px) and (max-width: 1000px) {
  .news-layout { grid-template-columns: 1fr; gap: 24px; }
  .news-heading { display: flex; align-items: center; justify-content: space-between; }
  .news-heading .text-link { margin-top: 0; }
  .service-card { gap: 32px; }
  .service-illustration { width: 210px; }
}

@media (max-width: 680px) {
  .hero-grid { min-height: 430px; }
  .hero-copy { padding: 65px 25px; }
  .mobile-title { font-size: 34px; }
  .hero-english { font-size: 23px; }
  .intro-block > p { font-size: 15px; }
  .button,
  .intro-block .button,
  .gallery-tail .button,
  .flow-section .section-head > .button,
  .contact-actions .button { font-size: 14px; }
  .flow-section .section-head > .button { max-width: 100%; }
  .text-link,
  .news-heading .text-link { font-size: 14px; }
  .news-heading .text-link { max-width: 185px; }
  .section-label,
  .contact-block .section-label { font-size: 11px; }
  .news-item { grid-template-columns: 88px 1fr 15px; font-size: 15px; }
  .news-item time { font-size: 12px; }
  .news-category { font-size: 11px; }
  .service-body { padding-inline: 0; }
  .service-place { font-size: 13px; }
  .service-body h3 span { font-size: 15px; }
  .service-body p { font-size: 15px; }
  .service-illustration,
  .service-card:nth-child(2) .service-illustration {
    position: static;
    float: none;
    width: 190px;
    height: auto;
    margin: 0 0 16px;
    opacity: 1;
  }
  .service-card:nth-child(even) .service-illustration { margin-left: auto; }
  .service-card:first-child .service-body h3 { padding-right: 0; }
  .gallery-head p:last-child,
  .flow-step p,
  .hours-copy > p:not(.section-label) { font-size: 15px; }
  .flow-step h3 { font-size: 18px; }
  .hours-link-content > span { font-size: 14px; }
  .hours-layout > div:has(> .schedule) { overflow-x: auto; }
  .schedule { min-width: 420px; font-size: 14px; }
  .schedule td:first-child { font-size: 14px; }
  .phone-block small { font-size: 13px; }
  .contact-block > p:not(.section-label) { font-size: 15px; }
  .footer-identity address,
  .footer-nav { font-size: 14px; }
  .contact-block::before { width: 220px; height: 220px; left: -140px; top: -90px; }
  .contact-block::after { width: 290px; height: 290px; right: -180px; bottom: -160px; }
}

@media (max-width: 360px) {
  .hero-grid { min-height: 400px; }
  .hero-copy { padding-inline: 22px; }
  .mobile-title { font-size: 30px; }
  .hero-english { font-size: 21px; }
  .menu-button { font-size: 11px; }
  .news-heading .text-link { max-width: 165px; }
  .flow-section .section-head > .button { font-size: 14px; gap: 12px; padding-inline: 18px; }
}

/* Phone links keep the desktop typography and show a clear action on mobile. */
.phone-link { display: inline-flex; flex-direction: column; vertical-align: middle; }
.phone-number { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.phone-icon { display: none; width: 22px; height: 22px; flex-shrink: 0; }
.phone-hint { display: none; font: 700 13px/1.6 "Zen Maru Gothic", "Yu Gothic", sans-serif; letter-spacing: .04em; }
.phone-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.footer-phone { line-height: inherit; }
.detail-phone-label { display: block; font: 500 14px/1.8 "Zen Maru Gothic", "Yu Gothic", sans-serif; margin-bottom: 6px; }

.access-section { padding-block: 75px 85px; background: #fff; }
.access-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 24px 65px; align-items: start; }
.access-copy { grid-column: 1; grid-row: 1; align-self: end; }
.access-copy h2 { font-size: 30px; line-height: 1.7; }
.access-copy address { font-size: 16px; line-height: 2; font-style: normal; margin-top: 23px; }
.access-map { grid-column: 2; grid-row: 1 / 3; overflow: hidden; border-radius: 20px; background: var(--pale); border: 1px solid #dcebf1; }
.access-map iframe { display: block; width: 100%; height: 340px; border: 0; }
.access-action { grid-column: 1; grid-row: 2; display: flex; justify-content: center; width: 100%; }
.access-action .button { font-size: 15px; gap: 28px; }
@media (max-width: 1000px) {
  .access-grid { gap: 24px 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .access-copy h2 { font-size: 26px; }
}
@media (max-width: 680px) {
  .phone-icon { display: block; }
  .phone-hint { display: block; }
  .phone-block { width: 100%; max-width: 320px; }
  .phone-block > small { display: block; margin-bottom: 10px; }
  .phone-block .phone-link { display: flex; align-items: center; gap: 3px; width: 100%; padding: 13px 12px; border-radius: 16px; background: #fff; color: var(--blue); font-size: clamp(22px, 7vw, 29px); line-height: 1.5; }
  .phone-block .phone-hint { color: var(--ink); }
  .footer-phone,
  .inline-phone { min-height: 44px; justify-content: center; border: 1px solid #cfeaf4; border-radius: 12px; background: #f1faff; padding: 7px 12px; color: var(--ink); line-height: 1.6; }
  .footer-phone { font: 700 14px/1.6 Arial, sans-serif; letter-spacing: .03em; }
  .footer-phone .phone-icon,
  .inline-phone .phone-icon { width: 16px; height: 16px; color: var(--blue); }
  .footer-phone .phone-hint,
  .inline-phone .phone-hint,
  .detail-phone .phone-hint { display: none; }
  .detail-phone .phone-link { min-height: 46px; justify-content: center; border: 1px solid #cfeaf4; border-radius: 11px; background: #f1faff; padding: 8px 13px; color: var(--ink); font-size: 18px; line-height: 1.5; letter-spacing: .03em; }
  .detail-phone .phone-number { gap: 7px; }
  .detail-phone .phone-icon { width: 18px; height: 18px; color: var(--blue); }
  .detail-phone .phone-number > span { text-decoration: none; }
  .footer-phone:active,
  .inline-phone:active,
  .detail-phone .phone-link:active { background: #e3f6fd; border-color: var(--blue); }
  .access-section { padding-block: 48px 55px; }
  .access-grid { display: flex; flex-direction: column; gap: 24px; }
  .access-copy { align-self: stretch; order: 0; }
  .access-copy h2 { font-size: 25px; }
  .access-copy address { font-size: 15px; margin-top: 18px; }
  .access-map { width: 100%; order: 1; border-radius: 16px; }
  .access-map iframe { height: 280px; }
  .access-action { order: 2; }
  .access-action .button { font-size: 14px; }
}
