:root {
  --green: #0f6f5a;
  --green-dark: #074637;
  --green-soft: #e7f3ef;
  --mint: #f4faf7;
  --line: #dce9e4;
  --text: #25332f;
  --muted: #64736f;
  --white: #ffffff;
  --orange: #c9782d;
  --shadow: 0 18px 50px rgba(15, 111, 90, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.brand img {
  width: 54px;
  height: 46px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.25;
}

.brand small,
.brand em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.brand strong {
  color: var(--green-dark);
  font-size: 22px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  color: var(--text);
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--green);
}

.site-nav .header-phone {
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.site-nav .update-date {
  color: var(--orange);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 660px;
  padding-top: 112px;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 39%, rgba(255, 255, 255, 0.12) 72%),
    linear-gradient(0deg, rgba(7, 70, 55, 0.45) 0%, rgba(7, 70, 55, 0) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  align-items: end;
  gap: 28px;
  max-width: 1180px;
  min-height: 548px;
  margin: 0 auto;
  padding: 44px 24px 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 13px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  background: var(--green-soft);
  border-radius: 999px;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: 25px;
  line-height: 1.42;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero h1 .hero-line {
  display: block;
  color: var(--green-dark);
  white-space: nowrap;
}

.lead {
  max-width: 500px;
  margin: 18px 0 26px;
  color: var(--text);
  font-size: 17px;
}

.lead span {
  color: var(--orange);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 800;
}

.primary-button {
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow);
}

.secondary-button {
  color: var(--green);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--green);
}

.today-card,
.hero-news-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-info-grid {
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(900px, 100%);
}

.today-card,
.hero-news-card {
  padding: 24px;
  border-radius: 8px;
}

.today-card > div:first-child,
.hero-news-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.card-label,
.today-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.today-status,
.news-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  line-height: 1.3;
}

.today-status.is-closed {
  background: #c01818;
}

.hero-news-card {
  border: 2px solid rgba(217, 130, 43, 0.35);
}

.hero-news-card .news-label {
  color: var(--white);
  background: var(--orange);
}

.hero-news-card time {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.hero-news-card h2 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1.45;
}

.hero-news-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.hero-news-card a {
  color: var(--orange);
  font-weight: 800;
}

.today-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0;
}

.today-card .closed-today {
  grid-column: 1 / -1;
  padding: 18px;
  background: #fff1f1;
  border-radius: 6px;
}

.today-card .is-closed dt,
.today-card .is-closed dd {
  color: #c01818;
}

.today-card dd {
  margin: 0;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.today-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section.pale {
  max-width: none;
  background: var(--mint);
}

.section.pale > * {
  max-width: 1132px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 36px;
  text-align: center;
}

.section h2 {
  font-size: 34px;
}

.section-heading p:last-child,
.section-copy p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.mini-grid div {
  padding: 18px;
  background: var(--mint);
  border-left: 5px solid var(--green);
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid span {
  color: var(--muted);
  font-size: 13px;
}

.service-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.two-cards article,
.doctor-box,
.info-list,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(7, 70, 55, 0.07);
}

.service-card,
.two-cards article {
  padding: 28px;
}

.service-card h3,
.two-cards h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 24px;
}

ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
}

.feature-card {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.feature-card div {
  padding: 28px 28px 28px 0;
}

.wide-card {
  grid-column: 1 / -1;
}

.columns-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
}

.note,
.note-list {
  margin: 22px 0 0;
  padding: 16px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 4px;
}

.note-list p {
  margin: 0 0 6px;
}

.note-list p:last-child {
  margin-bottom: 0;
}

.two-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.section-photo {
  width: 100%;
  height: 360px;
  margin: 0 0 24px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.doctor-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  padding: 34px;
}

.doctor-title {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.doctor-box h3 {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 30px;
  line-height: 1.3;
}

.doctor-box h3 span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip-list span {
  padding: 6px 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--green);
  border-radius: 999px;
}

.doctor-box p {
  margin-top: 0;
  color: var(--muted);
}

.doctor-box dl,
.info-list dl {
  margin: 0;
}

.doctor-box dl div,
.info-list dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.doctor-box dt,
.info-list dt {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.doctor-box dd,
.info-list dd {
  margin: 0;
}

.photo-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mint);
  box-shadow: var(--shadow);
}

.photo-slider-track {
  position: relative;
  min-height: 560px;
}

.photo-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}

.photo-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.photo-slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

.compact-slider .photo-slider-track {
  min-height: 420px;
}

.compact-slider .photo-slide img {
  height: 420px;
}

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--green-dark);
  font-size: 34px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: translateY(-50%);
  cursor: pointer;
}

.slider-prev {
  left: 18px;
}

.slider-next {
  right: 18px;
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--green);
  border-color: var(--green);
}

.hours-wrap {
  display: grid;
  gap: 24px;
}

.feature-grid,
.symptom-grid,
.consult-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.consult-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article,
.symptom-grid article,
.consult-grid p,
.news-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(7, 70, 55, 0.07);
}

.feature-grid article,
.symptom-grid article {
  padding: 26px;
}

.feature-grid h3,
.symptom-grid h3,
.news-list h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
}

.feature-grid p,
.consult-grid p,
.news-list p,
.center-note {
  color: var(--muted);
}

.policy-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(7, 70, 55, 0.07);
}

.policy-list li {
  color: var(--muted);
}

.policy-list li + li {
  margin-top: 12px;
}

.consult-grid p {
  margin: 0;
  padding: 18px;
  font-weight: 700;
}

.consult-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 30px auto 0;
  padding: 28px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.consult-cta strong {
  color: var(--green-dark);
}

.consult-cta span {
  color: var(--muted);
  font-size: 14px;
}

.center-note {
  margin: 22px 0 0;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

th,
td {
  padding: 18px 10px;
  text-align: center;
  border: 1px solid var(--line);
}

thead th {
  color: var(--white);
  background: var(--green);
}

tbody th {
  color: var(--green-dark);
  background: var(--mint);
}

td {
  color: var(--green);
  font-weight: 800;
}

.hours-note {
  padding: 24px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-left: 6px solid var(--green);
  border-radius: 8px;
}

.hours-note p {
  margin: 6px 0 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--green-dark);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.news-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.news-list article {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  padding: 24px;
  border-left: 5px solid var(--green);
}

.news-list time {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: fit-content;
  padding: 4px 10px;
  color: var(--orange);
  background: #fff5ea;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.news-list h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.55;
}

.news-list p {
  margin: 6px 0 0;
  line-height: 1.75;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.info-list {
  padding: 30px;
}

.info-list a {
  color: var(--green);
  font-weight: 800;
}

iframe {
  width: 100%;
  min-height: 470px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 24px 88px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-dark);
}

.footer > * {
  max-width: 1132px;
}

.footer strong,
.footer a {
  color: var(--white);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: 780px;
  margin-top: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .menu-button {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
  }

  .menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green-dark);
  }

  .site-nav.is-open {
    position: absolute;
    display: grid;
    inset: 75px 16px auto;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 12px;
  }

  .hero {
    min-height: 700px;
    padding-top: 76px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: 624px;
    align-items: end;
  }

  .hero h1 {
    font-size: 22px;
  }

  .today-card {
    grid-column: auto;
  }

  .hero-info-grid {
    grid-column: auto;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .split-section,
  .service-layout,
  .two-cards,
  .doctor-box,
  .access-grid,
  .feature-grid,
  .symptom-grid,
  .consult-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    display: block;
    grid-template-columns: 1fr;
  }

  .feature-card img {
    height: 260px;
    min-height: 0;
  }

  .feature-card div {
    position: relative;
    z-index: 1;
    padding: 24px 28px 28px;
    background: var(--white);
  }

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

@media (max-width: 640px) {
  .header-inner {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 44px;
    height: 38px;
  }

  .brand strong {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 75px;
  }

  .hero-image {
    object-position: 73% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.78) 54%, rgba(7, 70, 55, 0.55) 100%);
  }

  .hero-content {
    display: block;
    min-height: auto;
    padding: 34px 16px 22px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(13px, 3.6vw, 15px);
    line-height: 1.95;
  }

  .hero h1 .hero-line {
    white-space: nowrap;
  }

  .hero-badge {
    margin-bottom: 12px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .lead {
    margin: 10px 0 14px;
    font-size: 10px;
    line-height: 1.6;
  }

  .hero-actions,
  .today-card dl {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .today-card {
    margin-top: 22px;
    padding: 18px;
  }

  .hero-info-grid {
    margin-top: 22px;
    gap: 12px;
  }

  .hero-info-grid .today-card {
    margin-top: 0;
  }

  .hero-news-card {
    padding: 18px;
  }

  .hero-news-card h2 {
    font-size: 16px;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  .news-list h3 {
    font-size: 16px;
  }

  .news-list p {
    font-size: 14px;
  }

  .section {
    padding: 66px 16px;
  }

  .section h2 {
    font-size: 27px;
  }

  .section-photo,
  .photo-slide img {
    height: 260px;
  }

  .compact-slider .photo-slide img {
    height: 260px;
    object-fit: contain;
    background: var(--mint);
  }

  .photo-slider-track,
  .compact-slider .photo-slider-track {
    min-height: 260px;
  }

  .slider-button {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .mini-grid,
  .columns-list {
    grid-template-columns: 1fr;
  }

  th,
  td {
    padding: 12px 6px;
    font-size: 13px;
  }

  .doctor-box dl div,
  .info-list dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer {
    display: block;
    padding-bottom: 110px;
  }

  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 12px 12px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(7, 70, 55, 0.12);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-cta::-webkit-scrollbar {
    display: none;
  }

  .mobile-cta a {
    display: inline-grid;
    flex: 0 0 auto;
    min-width: 96px;
    min-height: 44px;
    padding: 0 12px;
    place-items: center;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    background: var(--mint);
    border: 1px solid var(--line);
    border-radius: 4px;
  }

  .mobile-cta a:hover {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
  }
}
