@charset "UTF-8";
/* =========================================================
   春里内科 プレサイト（開院予定版）
   デザイン基準: PC 1440px / コンテンツ幅 1080px
   ========================================================= */
:root {
  --navy: #14467b;
  --blue: #007cb8;
  --blue-light: #1b8cc4;
  --text: #313235;
  --text-navy: #041b50;
  --bg-gray: #f4f7f9;
  --line: #b5bcc4;
  --container: 1080px;
  --header-h: 120px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.sp-only { display: none; }
.nowrap { white-space: nowrap; }

/* ---------- 共通パーツ ---------- */
.sec-label {
  display: inline-block;
  color: var(--blue);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  border-bottom: 1px solid currentColor;
}
.sec-label--white { color: #fff; }
.sec-label--center { display: table; margin-inline: auto; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 46px 0 50px;
  max-width: 1440px;
  margin-inline: auto;
}
.header__logo { line-height: 0; }
.header__logo a { display: inline-flex; align-items: center; transition: opacity .2s; }
.header__logo a:hover { opacity: .75; }
.header__logo img { width: 388px; }
.header__logo-text {
  margin-left: 6px;
  color: #3e7cb4;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
}
.header__right { display: flex; align-items: center; gap: 28px; }
.header__tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 38px;
  font-weight: 500;
  color: #000;
  letter-spacing: 0;
  line-height: 1;
}
.header__tel img { margin-top: 4px; }
.hamburger,
.spnav { display: none; }

/* ---------- MV ---------- */
.mv {
  position: relative;
  min-height: 724px;
  display: flex;
  align-items: center;
  background: url("../images/mv.jpg") center right / cover no-repeat;
}
.mv::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(14, 44, 92, .72) 0%, rgba(14, 44, 92, .5) 38%, rgba(14, 44, 92, 0) 70%); }
.mv__inner { position: relative; width: min(var(--container), 100% - 40px); margin-inline: auto; color: #fff; }
.mv__open {
  position: absolute;
  right: max(40px, (100% - var(--container)) / 2 - 60px);
  bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 52px 32px;
  background: rgba(20, 70, 123, .92);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(10, 30, 70, .25);
}
.mv__open-date { font-size: 88px; letter-spacing: .02em; }
.mv__open-date small { font-size: .42em; margin-inline: .1em; }
.mv__open-text {
  width: 100%;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .6);
  font-size: 44px;
  letter-spacing: .4em;
  text-indent: .4em;
  text-align: center;
}
.mv__catch {
  font-size: 50px;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(20, 40, 90, .25);
}
.mv__lead { margin-top: 36px; font-size: 18px; font-weight: 500; line-height: 1.8; }
.mv__place {
  display: inline-block;
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .7);
  font-size: 16px;
}

/* ---------- 診療科目 ---------- */
.menu { padding: 98px 0 100px; }
.menu__panel { margin-top: 40px; padding: 48px 62px 40px; background: var(--bg-gray); }
.dept { display: grid; grid-template-columns: repeat(3, 1fr); gap: 68px; }
.dept__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  aspect-ratio: 274 / 248;
  background: var(--blue);
  color: #fff;
  font-size: 26px;
  font-weight: 500;
}
.dept__item img { height: 118px; width: auto; }
.dept__item--navy { background: var(--navy); }
.menu__note { margin-top: 28px; text-align: center; color: var(--text-navy); font-size: 17px; font-weight: 500; }

/* ---------- コンセプト ---------- */
.concept__inner { display: grid; grid-template-columns: 513fr 567fr; background: var(--navy); }
.concept__img img { width: 100%; height: 100%; object-fit: cover; }
.concept__body { padding: 60px 40px 60px 52px; color: #fff; align-self: center; }
.concept__title { font-size: 30px; font-weight: 500; line-height: 1.6; margin-bottom: 34px; }
.concept__body p { font-size: 16px; line-height: 1.8; }
.concept__body p + p { margin-top: 1.8em; }

/* ---------- 特徴 ---------- */
.features {
  margin-top: 100px;
  padding: 90px 0 100px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(120deg, #0077b1 0 12%, transparent 12%),
    linear-gradient(120deg, transparent 72%, var(--blue-light) 72%),
    var(--blue);
}
.features__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
  text-align: left;
}
.feature { background: #fff; color: var(--text); }
.feature img { width: 100%; aspect-ratio: 514 / 260; object-fit: cover; }
.feature__body { padding: 24px 28px 28px; }
.feature__title {
  color: var(--text-navy);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 12px;
}
.feature__body p { font-size: 16px; font-weight: 300; line-height: 1.6; }

/* ---------- ごあいさつ ---------- */
.greeting { padding: 96px 0; }
.greeting__inner { display: grid; grid-template-columns: 1fr 500px; gap: 52px; align-items: center; }
.greeting__body > .sec-label { margin-bottom: 32px; }
.greeting__body > p:not(.sec-label) { font-size: 16px; line-height: 1.8; }
.greeting__body > p + p { margin-top: 1.8em; }
.greeting__body > p.greeting__sign { margin-top: 1.8em; text-align: right; font-size: 18px; letter-spacing: .08em; }
.greeting__img img { width: 100%; }

/* ---------- 写真帯 ---------- */
.photo-band img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 595; object-fit: cover; }

/* ---------- アクセス ---------- */
.access { padding: 97px 0 96px; }
.access__inner { display: grid; grid-template-columns: 552fr 528fr; }
.access__map { background: #e5e9ee; }
.access__map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.access__info { background: var(--navy); color: #fff; padding: 30px 40px 36px; }
.access__logo { display: block; width: 329px; }
.access__open {
  display: inline-block;
  margin-top: 18px;
  padding: 2px 14px;
  border: 1px solid #fff;
  font-size: 15px;
  font-weight: 500;
}
.access__dl { display: grid; grid-template-columns: 110px 1fr; gap: 14px 0; margin: 22px 0 22px; align-items: baseline; }
.access__dl dt { font-size: 18px; font-weight: 500; letter-spacing: .06em; }
.access__dl dd { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: .02em; }
.access__train { font-size: 14px !important; line-height: 1.7 !important; }
.access__tel { font-size: 36px !important; font-weight: 600; line-height: 1.2 !important; letter-spacing: .02em; }
.hours { background: var(--bg-gray); color: #322b2b; padding: 20px 31px 18px; }
.hours table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; }
.hours th, .hours td { padding: 4px 2px; height: 32px; font-weight: 500; line-height: 1.5; }
.hours thead th:first-child { letter-spacing: .1em; }
.hours tbody th { letter-spacing: .05em; }
.hours thead th { border-bottom: 1px solid var(--line); }
.hours tbody tr + tr { border-top: 1px solid var(--line); }
.hours tbody th { white-space: nowrap; }
.hours td { color: #777; }
.hours td.on { color: var(--blue); font-size: 16px; }
.hours__note { margin-top: 10px; font-size: 12px; line-height: 1.7; text-align: left; }

/* ---------- footer ---------- */
.footer { background: var(--blue); color: #fff; padding: 44px 0 40px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .7); }
.footer__info img { width: 262px; }
.footer__info p { margin-top: 29px; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: .02em; }
.footer__open { padding: 4px 18px; border: 1px solid #fff; font-size: 16px; font-weight: 500; }
.footer__copy { margin-top: 36px; text-align: center; }
.footer__copy small { font-size: 16px; letter-spacing: .05em; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1200px) {
  .header__logo img { width: 280px; }
  .mv__open { right: 30px; bottom: 40px; padding: 22px 36px 24px; }
  .mv__open-date { font-size: 64px; }
  .mv__open-text { margin-top: 14px; padding-top: 14px; font-size: 32px; }
  .greeting__inner { grid-template-columns: 1fr 42%; }
}

/* =========================================================
   SP
   ========================================================= */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  body { font-size: 14px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }

  /* SP: 1段目 ロゴ＋電話 / 2段目 開院予定の帯 */
  .header__inner { flex-wrap: wrap; height: auto; padding: 0 12px 0 16px; }
  .header__logo { display: flex; align-items: center; padding: 10px 0 9px; }
  .header__logo a { flex-direction: column; align-items: flex-start; gap: 4px; }
  .header__logo img { width: 160px; }
  .header__logo-text { margin-left: 0; font-size: 11.5px; letter-spacing: .06em; }
  .header__right { display: contents; }
  html { scroll-padding-top: 80px; }
  .header__tel { display: none; }
  .hamburger {
    display: grid;
    align-content: center;
    gap: 7px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0 11px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .hamburger span { display: block; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
  .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .spnav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    overflow-y: auto;
    padding: 8px 24px 32px;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, .12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .spnav.is-open { visibility: visible; opacity: 1; transform: none; }
  .spnav__list li { border-bottom: 1px solid #e3e7eb; }
  .spnav__list a {
    display: block;
    position: relative;
    padding: 16px 4px;
    color: var(--text-navy);
    font-size: 16px;
    font-weight: 500;
  }
  .spnav__list a::after { content: "→"; position: absolute; right: 4px; color: var(--blue); }
  .spnav__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 30px;
    font-weight: 500;
    color: #000;
    letter-spacing: 0;
    line-height: 1;
  }
  .spnav__tel img { width: 24px; height: 24px; margin-top: 2px; }

  .mv { min-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-end; background-position: 70% center; padding: 170px 0 0; }
  .mv::before { content: ""; position: absolute; inset: 0; background:
    linear-gradient(to right, rgba(14, 44, 92, .35) 0%, rgba(14, 44, 92, 0) 75%),
    linear-gradient(to top, rgba(14, 44, 92, .88) 0%, rgba(14, 44, 92, .72) 55%, rgba(14, 44, 92, .2) 85%, rgba(14, 44, 92, 0) 100%); }
  .mv__catch { text-shadow: 0 2px 10px rgba(10, 30, 70, .45); }
  .mv__lead,
  .mv__place { text-shadow: 0 1px 6px rgba(10, 30, 70, .6); }
  .mv__inner { position: relative; }
  .mv__open {
    position: relative;
    right: auto;
    bottom: auto;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 16px;
    margin-top: 28px;
    padding: 16px 12px 18px;
    box-shadow: none;
  }
  .mv__open-date { font-size: clamp(34px, 11vw, 48px); }
  .mv__open-text { width: auto; margin: 0; padding: 0; border: 0; font-size: clamp(22px, 7vw, 32px); letter-spacing: .15em; text-indent: 0; }
  .mv__catch { font-size: 26px; }
  .mv__lead { margin-top: 12px; font-size: 13px; line-height: 1.8; }
  .mv__place { margin-top: 14px; padding-top: 10px; font-size: 12px; }

  .menu { padding: 48px 0 56px; }
  .menu__panel { margin-top: 24px; padding: 20px 14px; }
  .dept { gap: 10px; }
  .dept__item { gap: 8px; font-size: 13px; aspect-ratio: 1 / 1; }
  .dept__item img { height: 52px; }
  .menu__note { margin-top: 16px; font-size: 14px; }

  .concept__inner { grid-template-columns: 1fr; width: 100%; }
  .concept__img img { aspect-ratio: 4 / 3; }
  .concept__body { padding: 36px 20px 44px; }
  .concept__title { font-size: 20px; margin-bottom: 20px; }
  .concept__body p { font-size: 14px; }

  .features { margin-top: 0; padding: 56px 0 64px; }
  .features__list { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .feature__title { font-size: 17px; }
  .feature__body p { font-size: 14px; }

  .sec-label { font-size: 17px; }

  .greeting { padding: 56px 0; }
  .greeting__inner { grid-template-columns: 1fr; gap: 32px; }
  .greeting__img { order: -1; width: 80%; margin-inline: auto; }
  .greeting__body > .sec-label { margin-bottom: 20px; }
  .greeting__body > p:not(.sec-label) { font-size: 14px; }

  .photo-band img { aspect-ratio: auto; height: 240px; }

  .access { padding: 56px 0; }
  .access__inner { grid-template-columns: 1fr; }
  .access__map { order: 1; }
  .access__map iframe { min-height: 280px; }
  .access__info { padding: 28px 20px 32px; }
  .access__logo { width: 220px; }
  .access__dl { grid-template-columns: 1fr; gap: 6px 0; }
  .access__dl dd + dt { margin-top: 12px; }
  .access__dl dt { font-size: 14px; }
  .access__dl dd { font-size: 14px; }
  .access__train { font-size: 12px !important; }
  .access__tel { font-size: 26px !important; }
  .hours { padding: 12px 10px; }
  .hours table { font-size: 11px; }
  .hours th, .hours td { height: 28px; }
  .hours td.on { font-size: 13px; }

  .footer { padding: 36px 0 28px; }
  .footer__top { flex-direction: column; gap: 20px; }
  .footer__info img { width: 200px; }
  .footer__info p { margin-top: 16px; font-size: 13px; }
  .footer__open { font-size: 13px; }
  .footer__copy small { font-size: 12px; }
}
