@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap");

:root {
  --green: #e982aa;
  --green-dark: #a85278;
  --green-soft: #fff3f8;
  --mint: #f7d8e6;
  --ink: #3c3035;
  --muted: #7d6971;
  --line: #f2dfe7;
  --paper: #ffffff;
  --warm: #fffaf3;
  --accent: #d58a7d;
  --shadow: 0 18px 42px rgba(168, 82, 120, 0.12);
  --soft-shadow: 0 10px 28px rgba(168, 82, 120, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 231, 190, 0.36), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(255, 220, 234, 0.7), transparent 30%),
    linear-gradient(180deg, #fffafb 0%, #fff8f2 54%, #fffafb 100%);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 250, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(83, 147, 24, 0.14);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.nav-dropdown-button:hover {
  color: var(--green-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 18px;
  content: "";
}

.nav-dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.nav-dropdown-button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 210px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 14px;
}

.nav-dropdown-menu a:hover {
  color: var(--green-dark);
  background: var(--green-soft);
}

.phone-link,
.primary-button,
.secondary-button,
.admin-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.phone-link,
.primary-button {
  color: #fff;
  background: linear-gradient(145deg, #ec8cb3, #df6f9e);
  box-shadow: 0 10px 22px rgba(217, 95, 141, 0.18);
}

.secondary-button,
.admin-open {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--green-dark);
}

.hero {
  display: grid;
  gap: 30px;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 122px);
  margin: 0 auto;
  padding: 50px 0 66px;
}

.hero-title {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 38px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.stealth-admin-link {
  text-decoration: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-title-main,
.hero-title-sub {
  display: block;
}

.hero-title-sub {
  margin-top: 12px;
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.35;
}

.hero-logo-sns {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 12px;
  margin: 22px auto 0;
}

.hero-logo {
  width: clamp(132px, 18vw, 210px);
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(83, 147, 24, 0.13));
}

.hero-sns-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.hero-sns-links span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.hero-sns-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.hero-sns-links a:hover,
.hero-sns-links a:focus-visible {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.lead {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-news {
  width: min(100%, 540px);
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.hero-news h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
}

.hero-news-head a {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.hero-news-head a::after {
  content: "→";
  margin-left: 6px;
}

.hero-news-list {
  display: grid;
  gap: 10px;
}

.hero-news-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.hero-news-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.hero-news-date {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.hero-news-title {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 800;
}

.hero-news-body {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.hero-news-image {
  width: min(180px, 100%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 10px;
  border-radius: 14px;
  border: 4px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.hero-news-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.hero-news-link::after,
.news-link::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}

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

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  position: absolute;
  inset: 12% -6% -8% 10%;
  content: "";
  background: linear-gradient(135deg, var(--green-soft), var(--warm));
  border-radius: 34px;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  max-height: 340px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px 28px 68px 28px;
  box-shadow: var(--shadow);
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto 58px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

.info-band div {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.9);
}

.info-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.intro-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(19px, 3vw, 24px);
  line-height: 1.35;
  letter-spacing: 0;
}

.section-text {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1100px, calc(100% - 32px));
  padding-top: 24px;
}

.service-card {
  display: block;
  min-height: 230px;
  padding: 30px 24px;
  color: inherit;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:focus-within {
  border-color: var(--green);
  box-shadow: 0 18px 36px rgba(168, 82, 120, 0.14);
}

.service-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.service-card-head a {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.service-card-head a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}

.service-card-head a:hover {
  color: var(--green);
}

.service-card-head a:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 999px;
}

.service-card h3 {
  min-width: 0;
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.28;
  letter-spacing: 0;
}

.page-hero .service-page-title {
  max-width: 760px;
  margin: 0;
  font-family: inherit;
  font-size: clamp(28px, 3vw, 32px);
  line-height: 1.32;
  letter-spacing: 0;
}

.page-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(24px, 4vw, 28px);
  line-height: 1.24;
  letter-spacing: 0;
}

.page-hero .lead {
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--green-dark);
  text-decoration: none;
}

.detail-layout {
  display: block;
}

.detail-content {
  display: grid;
  gap: 24px;
}

.detail-block {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.detail-block h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0;
}

.detail-block p {
  margin: 0;
  color: var(--muted);
}

.important-text {
  display: inline;
  padding: 0 4px 2px;
  color: var(--green-dark);
  background: linear-gradient(transparent 58%, #ffe5ef 58%);
  font-weight: 900;
}

.detail-intro {
  max-width: 820px;
}

.consultation-time {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.45fr);
  gap: 8px 30px;
  align-items: center;
  padding: 28px 30px;
  background: linear-gradient(135deg, var(--green-soft), #fffdf8);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 20px;
}

.consultation-time-label {
  grid-column: 1;
  margin: 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.consultation-time-value {
  grid-column: 1;
  grid-row: 2 / span 2;
  margin: 0;
  color: var(--green-dark);
}

.consultation-time-value strong {
  font-size: 28px;
  letter-spacing: 0;
}

.consultation-time > p:not(.consultation-time-label, .consultation-time-value) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
}

.consultation-time > a {
  grid-column: 2;
  justify-self: start;
  color: var(--green-dark);
  font-weight: 800;
}

.emergency-privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, var(--green-soft), #fffdf8);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 20px;
}

.emergency-privacy-label {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.emergency-privacy-panel h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: 0;
}

.emergency-privacy-panel p {
  margin: 0;
  color: var(--muted);
}

.emergency-privacy-panel > a {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(145deg, #ec8cb3, #df6f9e);
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(217, 95, 141, 0.18);
}

.emergency-privacy-panel > a span {
  font-size: 14px;
  font-weight: 800;
}

.emergency-privacy-panel > a strong {
  font-size: 24px;
  letter-spacing: 0;
}

.emergency-privacy-panel > a:hover,
.emergency-privacy-panel > a:focus-visible {
  background: var(--green-dark);
}

.emergency-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.emergency-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.emergency-steps li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.emergency-steps h3 {
  margin: 3px 0 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.emergency-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.check-list,
.note-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.medical-institution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.medical-institution-list li {
  position: relative;
  padding-left: 18px;
}

.medical-institution-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.dispensing-notes {
  display: grid;
  gap: 6px;
  margin: 24px 0 0;
  padding: 18px 20px 18px 38px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 18px;
}

.prescription-send-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.send-method {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.send-method-fax {
  border-top-color: #4f78a5;
}

.send-method-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.send-method-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 34px;
  padding: 5px 10px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.send-method-fax .send-method-label {
  background: #4f78a5;
}

.send-method h3 {
  margin: 0 0 4px;
  font-size: 21px;
  letter-spacing: 0;
}

.send-method-heading p {
  font-size: 14px;
  line-height: 1.6;
}

.line-friend-link {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  background: #f5fff7;
  border: 1px solid #ccefd4;
  border-radius: 18px;
}

.line-friend-link img {
  display: block;
  width: 148px;
  height: 148px;
  background: #fff;
}

.line-friend-link p {
  margin: 0 0 12px;
  font-size: 14px;
}

.line-friend-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  color: #fff;
  background: #06c755;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.line-friend-link a:hover,
.line-friend-link a:focus-visible {
  background: #05a847;
}

.send-steps {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  counter-reset: send-step;
  list-style: none;
}

.send-steps li {
  position: relative;
  min-height: 32px;
  padding-left: 44px;
  color: var(--muted);
  counter-increment: send-step;
}

.send-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  content: counter(send-step);
  font-size: 13px;
  font-weight: 800;
}

.send-method-fax .send-steps li::before {
  background: #4f78a5;
}

.send-steps a {
  color: var(--green-dark);
  font-weight: 800;
}

.send-method-note {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.hours-section {
  width: 100%;
  max-width: none;
  padding: 72px max(16px, calc((100% - 1100px) / 2));
  background: linear-gradient(180deg, rgba(255, 250, 251, 0.76), rgba(255, 248, 242, 0.8));
}

.hours-layout {
  margin-top: 28px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.hours-layout::-webkit-scrollbar {
  height: 8px;
}

.hours-layout::-webkit-scrollbar-thumb {
  background: var(--mint);
  border-radius: 999px;
}

.hours-layout::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 999px;
}

.hours-table {
  width: auto;
  min-width: 0;
  overflow: hidden;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
}

.hours-table th,
.hours-table td {
  width: 58px;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-table th:last-child,
.hours-table td:last-child {
  border-right: 0;
}

.hours-table thead th {
  color: var(--green-dark);
  background: #ffedf4;
  font-size: 16px;
  font-weight: 800;
}

.hours-table thead th:first-child {
  color: #fff;
  background: var(--green);
  border-radius: 18px 0 0 0;
}

.hours-table tbody th {
  width: 120px;
  color: var(--green-dark);
  background: #fff8fb;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
}

.hours-table tbody th span {
  font-size: 16px;
}

.hours-table td {
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 800;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  margin-top: 28px;
}

.access-map-area {
  display: grid;
  gap: 16px;
  align-content: start;
}

.map-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.52) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.52) 1px, transparent 1px),
    #fae8ef;
  background-size: 58px 58px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.google-map {
  display: block;
  width: 100%;
  height: 360px;
  background: #fff;
}

.access-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.access-photo-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border: 6px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.map-road {
  position: absolute;
  background: #fff;
  box-shadow: inset 0 0 0 1px #ead2dc;
}

.road-main {
  top: 46%;
  left: -4%;
  width: 108%;
  height: 54px;
  transform: rotate(-8deg);
}

.road-sub {
  top: -10%;
  left: 48%;
  width: 44px;
  height: 120%;
  transform: rotate(18deg);
}

.map-pin {
  position: absolute;
  top: 44%;
  left: 54%;
  transform: translate(-50%, -50%);
  padding: 12px 16px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(163, 88, 51, 0.18);
}

.access-detail {
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

.access-detail dl {
  margin: 0;
}

.access-detail div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.access-detail div:first-child {
  padding-top: 0;
}

.access-detail div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.access-detail dt {
  color: var(--green);
  font-weight: 800;
}

.access-detail dd {
  margin: 4px 0 0;
}

.sns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sns-links a,
.sns-links span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 22px;
  padding: 9px 16px;
  color: #fff;
  background: linear-gradient(145deg, #ec8cb3, #df6f9e);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(217, 95, 141, 0.18);
}

.news-section {
  padding-top: 24px;
}

.news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.news-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.news-item:first-child {
  border-top: 0;
}

.news-date {
  color: var(--green);
  font-weight: 800;
}

.news-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.news-body {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
}

.news-image {
  width: min(100%, 520px);
  max-height: 420px;
  object-fit: contain;
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.news-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  margin-top: 12px;
  padding: 7px 14px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.hero-news-link:hover,
.news-link:hover {
  color: var(--green);
}

.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.news-action-button {
  min-height: 36px;
  padding: 7px 14px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.news-action-button:hover {
  background: var(--green-soft);
}

.news-action-button-danger {
  color: #9b3d46;
  border-color: #efc7cf;
}

.news-action-button-danger:hover {
  background: #fff0f2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1100px, calc(100% - 32px));
  margin: 36px auto 0;
  padding: 34px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0 0;
}

.admin-dialog {
  width: min(560px, calc(100% - 24px));
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.admin-dialog::backdrop {
  background: rgba(60, 48, 53, 0.36);
}

.admin-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.dialog-head,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dialog-head h2 {
  margin: 0;
}

.icon-button {
  width: 40px;
  height: 40px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

.admin-link-fields {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
}

.admin-checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  width: fit-content;
}

.admin-checkbox input {
  width: auto;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-message {
  min-height: 1.6em;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 900px) {
  .header-inner {
    gap: 14px;
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .phone-link {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
  }

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

  .site-nav.is-open .nav-dropdown {
    display: grid;
  }

  .site-nav.is-open .nav-dropdown-button {
    justify-content: space-between;
    width: 100%;
    padding: 12px;
    color: var(--muted);
    font-size: 14px;
  }

  .site-nav.is-open .nav-dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 4px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transform: none;
    transition: max-height 0.18s ease, opacity 0.18s ease;
  }

  .site-nav.is-open .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    max-height: 240px;
    pointer-events: auto;
  }

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

  .hero,
  .intro-section,
  .access-layout {
    grid-template-columns: 1fr;
  }

  .hero-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .hero-media {
    order: -1;
  }

  .hero-media::before {
    inset: 10% 0 -7% 8%;
  }

  .hero-media img {
    border-radius: 22px 22px 60px 22px;
  }

  .info-band {
    grid-template-columns: 1fr;
  }

  .prescription-send-grid {
    grid-template-columns: 1fr;
  }

  .consultation-time {
    grid-template-columns: 1fr;
  }

  .emergency-privacy-panel {
    grid-template-columns: 1fr;
  }

  .emergency-steps {
    grid-template-columns: 1fr;
  }

  .consultation-time-label,
  .consultation-time-value,
  .consultation-time > p:not(.consultation-time-label, .consultation-time-value),
  .consultation-time > a {
    grid-column: 1;
    grid-row: auto;
  }

}

@media (max-width: 620px) {
  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    width: min(100% - 24px, 1160px);
    gap: 26px;
  }

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

  .hero-title-sub {
    font-size: 22px;
  }

  .hero-logo-sns {
    gap: 14px;
  }

  .hero-sns-links {
    gap: 6px;
  }

  .hero-sns-links a {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
  }

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

  .access-photo-grid {
    grid-template-columns: 1fr;
  }

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

  .send-method {
    padding: 20px;
  }

  .send-method-heading {
    display: grid;
  }

  .line-friend-link {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .lead {
    font-size: 16px;
  }

  .hero-news-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .section,
  .info-band,
  .site-footer {
    width: min(100% - 24px, 1100px);
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .service-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .hours-section {
    padding-inline: 12px;
  }

  .hours-table th,
  .hours-table td {
    padding: 13px 10px;
    font-size: 14px;
  }

  .news-heading,
  .site-footer,
  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-link-fields {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .page-hero {
    width: min(100% - 24px, 1100px);
    padding-top: 42px;
  }
}
