/* みなと通り歯科 — コンセプト「まず、話を聞くところから。」 清潔でやさしく。白・ミント・紺・淡い水色。丸い書体と広い行間。 */
:root { --mint: #2BB39A; --navy: #17324D; --sky: #EAF4F8; --line: #D8E6EC; --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif; --gut: clamp(20px, 5vw, 64px); --max: 1120px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--navy); font: 400 16px/1.95 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.5; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.label { display: inline-block; font-weight: 700; font-size: 13px; color: var(--mint); background: #E3F6F1; padding: 3px 16px; border-radius: 999px; margin-bottom: 14px; }
.aside { margin-top: 20px; font-size: 14px; color: #4C6479; }

.hd { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px var(--gut); background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
.logo i { width: 26px; height: 26px; border-radius: 50% 50% 50% 8px; background: var(--mint); }
.hd nav { margin-left: auto; display: flex; gap: clamp(14px, 2vw, 28px); font-size: 14px; font-weight: 500; }
.hd nav a:hover { color: var(--mint); }
.tel { font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--mint); text-align: right; }
.tel small { display: block; font-size: 10px; color: var(--navy); font-weight: 500; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; padding: 15px 28px; border-radius: 999px; background: var(--mint); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 6px 0 #1E8F7A; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 #1E8F7A; }
.btn-sub { background: #fff; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.btn-sub:hover { transform: none; box-shadow: none; background: var(--sky); }
.btn-white { background: #fff; color: var(--mint); box-shadow: 0 6px 0 rgba(0, 0, 0, .14); }
.btn-ghost { background: transparent; border: 2px solid #fff; box-shadow: none; font-size: 19px; }

.hero { position: relative; background: var(--sky); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: var(--max); margin-inline: auto; padding: clamp(48px, 8vw, 110px) var(--gut) clamp(56px, 8vw, 110px); }
.hero-copy > * { max-width: 560px; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; background: #fff; padding: 4px 16px; border-radius: 999px; }
.hero h1 { margin-top: 20px; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.4; letter-spacing: .02em; white-space: nowrap; max-width: none; }
.hero-lead { margin-top: 20px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 30px; }
.hero-points li { font-size: 13px; font-weight: 700; padding: 3px 14px 3px 30px; border-radius: 999px; background: #fff; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 6px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: translateY(-70%) rotate(-45deg); }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 58%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sky) 0%, rgba(234, 244, 248, .55) 30%, rgba(234, 244, 248, 0) 60%); z-index: 1; }

.first, .hours, .faq { max-width: var(--max); margin-inline: auto; padding: clamp(64px, 9vw, 120px) var(--gut); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; counter-reset: s; }
.steps li { position: relative; padding: 26px 20px 24px; border: 2px solid var(--line); border-radius: 24px; background: #fff; }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--mint); border-right: 3px solid var(--mint); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.steps span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mint); color: #fff; font-weight: 700; font-size: 19px; }
.steps h3 { margin-top: 14px; font-size: 1.15rem; }
.steps p { margin-top: 6px; font-size: 14px; line-height: 1.8; }

.care { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; background: var(--sky); padding: clamp(56px, 8vw, 110px) max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
.care-photo { aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%; overflow: hidden; }
.care-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.care-list li { background: #fff; border-radius: 20px; padding: 20px 22px; }
.care-list h3 { font-size: 1.05rem; color: var(--mint); }
.care-list p { margin-top: 4px; font-size: 14px; line-height: 1.8; }

.hours-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); margin-top: 32px; align-items: start; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 440px; border-collapse: separate; border-spacing: 0; border: 2px solid var(--line); border-radius: 20px; overflow: hidden; text-align: center; }
th, td { padding: 14px 6px; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: #fff; font-weight: 700; }
tbody th { font-size: 14px; white-space: nowrap; background: var(--sky); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td { color: var(--mint); font-size: 18px; }
.door { border-radius: 24px; overflow: hidden; background: var(--sky); }
.door img { aspect-ratio: 3 / 2; height: auto; }
.door figcaption { padding: 14px 20px; font-size: 14px; font-weight: 500; }

.faq { max-width: 860px; padding-top: 0; }
.faq details { margin-top: 12px; border: 2px solid var(--line); border-radius: 20px; background: #fff; }
.faq details:first-of-type { margin-top: 30px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 56px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; font-size: 14px; line-height: 1; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 12px; font-size: 24px; color: var(--mint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px 56px; font-size: 15px; }

.reserve { background: var(--mint); color: #fff; text-align: center; padding: clamp(56px, 8vw, 100px) var(--gut); }
.reserve p { margin-top: 12px; }
.reserve .hero-btns { justify-content: center; }

.ft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 28px var(--gut); font-size: 12px; }

@media (max-width: 860px) {
  .hd nav, .tel small { display: none; }
  .tel { margin-left: auto; font-size: 17px; }
  .hero-photo { position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .hero-photo::before { background: linear-gradient(180deg, var(--sky), rgba(234, 244, 248, 0) 40%); }
  .hero-copy { padding-bottom: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .care, .hours-grid { grid-template-columns: 1fr; }
  .care-photo { max-width: 320px; margin-inline: auto; }
  .care-list { grid-template-columns: 1fr; }
  .btn { min-width: 0; flex: 1 1 200px; }
}

h1, h2, h3, .quote { text-wrap: balance; word-break: auto-phrase; }
