:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #637083;
  --paper: #f7f8fa;
  --white: #ffffff;
  --red: #d71920;
  --red-dark: #a50f16;
  --blue: #0a4f93;
  --line: rgba(20, 33, 61, 0.14);
  --shadow: 0 24px 70px rgba(9, 20, 38, 0.22);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

.site-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: end;
  gap: 28px;
  overflow: hidden;
  padding: 28px clamp(18px, 4vw, 64px) 58px;
  color: var(--white);
}

.hero__bg,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__bg {
  background-image: url("./assets/daiichi-new-location.jpg");
  background-size: cover;
  background-position: 50% 44%;
  transform: scale(1.01);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(2, 9, 20, 0.86) 0%, rgba(2, 9, 20, 0.66) 44%, rgba(2, 9, 20, 0.34) 100%),
    linear-gradient(0deg, rgba(2, 9, 20, 0.78) 0%, rgba(2, 9, 20, 0.3) 55%, rgba(2, 9, 20, 0.64) 100%);
}

.topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 64px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  background: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.brand__name,
.brand__sub {
  display: block;
}

.brand__name {
  font-size: 16px;
  font-weight: 800;
}

.brand__sub {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.topbar__tel {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.hero__content,
.opening-panel {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 780px;
  padding-top: 150px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #ffdf70;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(215, 25, 32, 0.28);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.opening-panel {
  align-self: end;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.opening-panel__label {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.opening-panel__date {
  display: block;
  margin-bottom: 22px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.countdown div {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 10px 6px;
  border-radius: 8px;
  background: #eef2f7;
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  font-size: 26px;
  line-height: 1;
}

.countdown span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

address {
  margin: 0;
  font-style: normal;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}

.opening-panel__note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.notice-section,
.service-section {
  padding: 64px clamp(18px, 4vw, 64px);
}

.notice-section {
  background: var(--white);
}

.service-section {
  background: #edf1f6;
}

.notice-section__inner,
.service-section__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.2;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.info-card--accent {
  border-color: transparent;
  background: var(--ink);
  color: var(--white);
}

.info-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.8;
}

.info-card--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.info-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.info-card li {
  position: relative;
  padding-left: 18px;
  font-weight: 800;
}

.info-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.service-list a,
.service-list span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.service-list a {
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.service-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 25, 32, 0.45);
  color: var(--red-dark);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 34px;
  }

  .hero__content {
    padding-top: 140px;
  }

  .opening-panel {
    max-width: 560px;
  }

  .section-heading,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }

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

@media (max-width: 560px) {
  .hero {
    padding-inline: 16px;
  }

  .topbar {
    align-items: flex-start;
    padding-inline: 16px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand__name {
    font-size: 14px;
  }

  .brand__sub {
    font-size: 11px;
  }

  .topbar__tel {
    padding: 9px 11px;
    font-size: 13px;
  }

  .hero__content {
    padding-top: 124px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .button {
    width: 100%;
  }

  .opening-panel {
    padding: 20px;
  }

  .opening-panel__date {
    font-size: 26px;
  }

  .notice-section,
  .service-section {
    padding: 46px 16px;
  }

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