:root {
  --ink: #344f6d;
  --muted: #6f8399;
  --pale: #e8f0f7;
  --line: #b8c7d5;
  --white: #fff;
  --accent: #d8b9a2;
  --max: 1120px;
  --mincho: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--mincho);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
}

body.drawer-open {
  overflow: hidden;
}

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

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

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(100% - 96px, 1200px);
  margin: 48px auto 36px;
  gap: 32px;
}

.logo img {
  width: 353px;
  height: auto;
}

.header-info {
  padding-top: 8px;
  text-align: center;
  color: var(--ink);
  line-height: 1.45;
}

.tel,
.access-tel {
  display: inline-block;
  font-family: var(--maru);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.tel::before {
  content: "☎";
  margin-right: 6px;
  font-size: 15px;
}

.header-info p {
  margin: 4px 0 0;
  font-size: 13px;
}

.drawer-button,
.drawer,
.drawer-backdrop {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  width: min(100% - 96px, 1200px);
  margin: 0 auto;
  gap: 42px;
}

.side-nav {
  display: grid;
  gap: 26px;
  align-content: end;
  height: 424px;
  padding: 0 0 0 72px;
}

.side-nav a {
  display: grid;
  gap: 1px;
  width: max-content;
}

.side-nav span {
  font-family: var(--mincho);
  font-size: 21px;
  font-weight: 600;
}

.side-nav small,
.section-title p {
  font-size: 13px;
  line-height: 1;
  color: var(--muted);
}

.hero-image {
  overflow: hidden;
  height: 424px;
  border-radius: 30px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  width: min(100% - 96px, var(--max));
  margin: 98px auto 0;
}

.section-title {
  margin-bottom: 52px;
  text-align: center;
}

.section-title h1,
.section-title h2 {
  margin: 0 0 12px;
  font-family: var(--mincho);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2;
}

.news-list {
  display: grid;
  gap: 16px;
  width: min(100%, 610px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
}

.news-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 18px;
}

.news-list time {
  font-family: var(--maru);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}

.schedule-wrap {
  border-radius: 28px;
  background: var(--pale);
  padding: 66px 12%;
}

.schedule-card {
  border-radius: 26px;
  background: var(--white);
  padding: 28px 42px 32px;
}

.table-scroll {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-family: var(--maru);
}

.schedule-table th,
.schedule-table td {
  padding: 17px 18px;
  text-align: center;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.35;
}

.schedule-table thead th {
  border-bottom: 1px solid var(--line);
}

.schedule-table th:first-child {
  min-width: 170px;
  text-align: left;
}

.schedule-table tbody td {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.schedule-table tbody td span {
  display: inline-block;
  font-size: 21px;
  line-height: 1.35;
}

.mobile-schedule {
  display: none;
}

.schedule-note {
  margin: 28px 0 0;
  color: #1d2730;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.schedule-note strong {
  color: #b65262;
}

.schedule-closed-note {
  color: #b65262;
}

.access-section {
  width: 100%;
}

.access-section .section-title,
.access-info {
  width: min(100% - 96px, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.access-info {
  display: grid;
  justify-items: center;
  gap: 34px;
  margin-bottom: 56px;
  text-align: center;
}

.access-info img {
  width: 353px;
}

address {
  font-style: normal;
  font-size: 18px;
}

address span {
  display: block;
  white-space: nowrap;
}

.access-tel {
  font-size: 27px;
  font-weight: 700;
}

.map-frame {
  overflow: hidden;
  width: 100%;
  height: 640px;
  background: var(--pale);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.doctor-card {
  border-radius: 28px;
  background: var(--pale);
  padding: 60px 11% 68px;
}

.doctor-profile {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 70px;
}

.doctor-profile img {
  width: 230px;
  border-radius: 50%;
}

.doctor-name {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .18em;
}

.doctor-name span {
  margin-right: 34px;
}

.doctor-license {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

.doctor-message,
.policy {
  width: min(100%, 660px);
  margin: 54px auto 0;
}

.doctor-message {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 28px;
}

.doctor-message h3,
.policy h3,
.recruit-lead h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 400;
}

.doctor-message p,
.policy p {
  margin: 0;
  font-size: 18px;
  line-height: 2;
}

.quote {
  font-size: 22px;
}

.policy p {
  position: relative;
  padding-left: 1.2em;
}

.policy p::before {
  content: "・";
  position: absolute;
  left: 0;
}

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

.menu-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 458px;
  border: 1px solid #dce5ee;
  border-radius: 24px;
  background: var(--white);
}

.menu-card img {
  width: 100%;
  aspect-ratio: 786 / 524;
  object-fit: cover;
}

.menu-card div {
  padding: 34px 34px 40px;
}

.menu-card h3 {
  margin: 0 0 26px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.menu-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.recruit-section {
  width: min(100% - 96px, 950px);
}

.recruit-lead {
  margin: 0 0 70px;
}

.recruit-lead h3 {
  margin-bottom: 32px;
  font-weight: 700;
}

.recruit-lead p {
  width: min(100%, 900px);
  margin: 0 auto;
  font-size: 18px;
  font-weight: 600;
}

.job-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 425px));
  justify-content: center;
  gap: 24px 60px;
  margin-bottom: 72px;
}

.job-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 40px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--mincho);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.job-tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.job-tab strong {
  font-size: 18px;
}

.job-tab span {
  font-size: 14px;
  font-weight: 600;
}

.job {
  margin-top: 0;
}

.job h3 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.5;
}

.job dl {
  margin: 0;
  border-top: 1px solid #252525;
}

.job dl div {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-bottom: 1px solid #252525;
  min-height: 72px;
}

.job dt,
.job dd {
  margin: 0;
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 22px;
  margin: 142px 0 72px;
}

.site-footer img {
  width: 250px;
  opacity: .72;
}

.site-footer small {
  font-family: var(--maru);
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    width: min(100% - 40px, 680px);
    margin: 28px auto 24px;
  }

  .logo img,
  .access-info img {
    width: 260px;
  }

  .header-info {
    display: none;
  }

  .drawer-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    border: 1px solid #d6e0ea;
    border-radius: 50%;
    padding: 0;
    background: var(--white);
    cursor: pointer;
  }

  .drawer-button span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--ink);
  }

  .drawer-button span + span {
    margin-top: 0;
  }

  .drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 100;
    display: block;
    width: min(72vw, 240px);
    height: 100dvh;
    padding: 76px 31px 48px;
    background: var(--white);
    box-shadow: -18px 0 40px rgb(52 79 109 / 12%);
    transform: translateX(100%);
    transition: transform .32s ease;
  }

  .drawer.is-open {
    transform: translateX(0);
  }

  .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    background: rgb(52 79 109 / 22%);
  }

  .drawer-backdrop[hidden] {
    display: none;
  }

  .drawer-close {
    position: absolute;
    top: 25px;
    right: 27px;
    width: 46px;
    height: 46px;
    border: 1px solid #d6e0ea;
    border-radius: 50%;
    padding: 0;
    background: var(--white);
    cursor: pointer;
  }

  .drawer-close::before,
  .drawer-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 19px;
    height: 1px;
    background: var(--ink);
  }

  .drawer-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .drawer-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .drawer-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .drawer-nav a {
    display: grid;
    gap: 1px;
    width: max-content;
  }

  .drawer-nav span {
    font-family: var(--mincho);
    font-size: 21px;
    font-weight: 600;
  }

  .drawer-nav small {
    font-size: 13px;
    line-height: 1;
    color: var(--muted);
  }

  .hero {
    display: block;
    width: min(100% - 28px, 680px);
  }

  .side-nav {
    display: none;
  }

  .hero-image {
    height: auto;
    border-radius: 18px;
  }

  .hero-image img {
    height: auto;
    min-height: 300px;
  }

  .section,
  .recruit-section,
  .access-section .section-title,
  .access-info {
    width: min(100% - 32px, 680px);
  }

  .section {
    margin-top: 72px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title h1,
  .section-title h2 {
    font-size: 29px;
  }

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

  .news-list li {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .schedule-wrap {
    border-radius: 20px;
    padding: 18px;
  }

  .schedule-card {
    border-radius: 18px;
    padding: 18px;
  }

  .table-scroll {
    display: none;
  }

  .mobile-schedule {
    display: table;
    width: 100%;
    border-collapse: collapse;
    font-family: var(--maru);
  }

  .mobile-schedule th,
  .mobile-schedule td {
    border-bottom: 1px solid var(--line);
    padding: 11px 8px;
    text-align: center;
    font-weight: 500;
    line-height: 1.35;
  }

  .mobile-schedule thead th {
    font-size: 14px;
  }

  .mobile-schedule tbody th {
    width: 22%;
    font-size: 18px;
    font-weight: 700;
  }

  .mobile-schedule tbody td {
    width: 39%;
    font-size: 19px;
  }

  .mobile-schedule tbody td span {
    display: inline-block;
    font-size: 12px;
    line-height: 1.35;
  }

  .schedule-note {
    font-size: 13px;
  }

  .access-section {
    width: 100%;
  }

  .access-info {
    gap: 20px;
    margin-bottom: 36px;
  }

  address {
    font-size: 15px;
    line-height: 1.8;
  }

  .access-tel {
    font-size: 24px;
  }

  .map-frame {
    height: 360px;
  }

  .doctor-card {
    border-radius: 20px;
    padding: 34px 24px 42px;
  }

  .doctor-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    text-align: center;
  }

  .doctor-profile img {
    width: 190px;
  }

  .doctor-name {
    font-size: 24px;
    letter-spacing: .1em;
  }

  .doctor-name span {
    display: block;
    margin: 0 0 6px;
    font-size: 18px;
  }

  .doctor-license,
  .doctor-message p,
  .policy p {
    font-size: 16px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .menu-card {
    min-height: 0;
    border-radius: 18px;
  }

  .menu-card div {
    padding: 26px 24px 30px;
  }

  .job-tabs {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 64px;
  }

  .job-tab {
    padding: 0 22px;
  }

  .job dl div {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .job dt {
    padding-bottom: 4px;
  }

  .job dd {
    padding-top: 4px;
  }

  .site-footer {
    margin: 90px 0 44px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .site-header {
    justify-content: space-between;
  }

  .logo img {
    width: 220px;
  }

  .drawer {
    padding-top: 74px;
  }

  .drawer-nav {
    gap: 26px;
  }

  .side-nav small,
  .section-title p {
    font-size: 11px;
  }

  .schedule-wrap {
    padding: 16px;
  }

  .schedule-card {
    padding: 14px 12px 20px;
  }

  .mobile-schedule th,
  .mobile-schedule td {
    padding: 10px 5px;
  }

  .mobile-schedule thead th {
    font-size: 12px;
  }

  .mobile-schedule tbody th {
    font-size: 16px;
  }

  .mobile-schedule tbody td {
    font-size: 18px;
  }

  .mobile-schedule tbody td span {
    font-size: 10px;
  }

  .doctor-message h3,
  .policy h3,
  .recruit-lead h3 {
    font-size: 22px;
  }

  .recruit-lead {
    margin-bottom: 46px;
  }

  .recruit-lead p {
    font-size: 15px;
  }

  .job h3 {
    font-size: 21px;
  }

  .job dt,
  .job dd {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 15px;
  }
}
