/* C案：ふたつの窓口（処方せんと漢方を、ひとつの店で） */
:root {
  --cream: #f4ede1;
  --cream-2: #ebe1d0;
  --sand: #ddcbb0;
  --kaki: #974a25;
  --kaki-2: #7d3c1d;
  --forest: #22402f;
  --forest-2: #183224;
  --sage: #9aab8e;
  --ink: #1e1a16;
  --ink-2: #4a4238;
  --white: #fffdf9;
  --ph-bg: #e4d7c2;
  --ph-ink: #4f4436;
  --ph-line: rgba(79, 68, 54, .08);
  --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--gothic); font-weight: 500; font-size: 18px; line-height: 1.95; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; }
a { color: var(--kaki-2); text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; line-height: 1.45; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
a:focus-visible, button:focus-visible, input:focus, select:focus, textarea:focus { outline: 3px solid #d68a00; outline-offset: 2px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 58px; padding: .5em 1.5em; font-weight: 700; font-size: 17.5px; text-decoration: none; border-radius: 40px; line-height: 1.4; }
.btn span { font-family: var(--mincho); font-size: 1.2em; letter-spacing: .02em; }
.btn-cream { background: var(--cream); color: var(--forest-2); }
.btn-cream:hover { background: #fff; }
.btn-ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-kaki { background: var(--kaki); color: #fff; }
.btn-kaki:hover { background: var(--kaki-2); }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(244, 237, 225, .97); border-bottom: 1px solid var(--sand); }
.hd-in { width: min(1260px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 20px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 6px; height: 42px; border-radius: 3px; background: linear-gradient(var(--forest) 50%, var(--kaki) 50%); }
.logo-name { display: flex; flex-direction: column; font-family: var(--mincho); font-weight: 900; font-size: 27px; line-height: 1.2; letter-spacing: .1em; }
.logo-name small { font-family: var(--gothic); font-weight: 500; font-size: 12px; letter-spacing: .04em; color: var(--ink-2); }
.gnav { display: flex; margin-left: auto; }
.gnav a { padding: .4em .75em; font-weight: 700; font-size: 16.5px; color: var(--ink); text-decoration: none; border-radius: 30px; }
.gnav a:hover { background: var(--cream-2); }
.hd-tel { display: flex; flex-direction: column; text-decoration: none; color: var(--forest-2); line-height: 1.15; font-family: var(--mincho); font-weight: 900; font-size: 23px; }
.hd-tel small { font-family: var(--gothic); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.hd-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 20px; font-weight: 700; color: #fff; background: var(--kaki); border-radius: 30px; text-decoration: none; }
.hd-btn:hover { background: var(--kaki-2); }
.nav-toggle { display: none; }

/* ファーストビュー */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 620px; }
.hero-copy { background: var(--forest); color: #fff; padding: 80px 56px 72px max(32px, calc(50vw - 570px)); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.hero-copy::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03); }
.hero-place { display: inline-flex; align-self: flex-start; padding: 2px 14px; margin-bottom: 1.2em; font-size: 15px; letter-spacing: .08em; border: 1px solid rgba(255, 255, 255, .5); border-radius: 30px; }
.hero h1 { font-family: var(--mincho); font-weight: 900; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.35; letter-spacing: .06em; margin-bottom: .55em; }
.hero-lead { font-size: 18.5px; max-width: 28em; color: #eef2ec; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; position: relative; z-index: 1; }

.hero-collage {
  position: relative; background: var(--cream-2); padding: 48px max(32px, calc(50vw - 570px)) 48px 44px;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 64px; gap: 14px;
}
.cl { margin: 0; overflow: hidden; border-radius: 6px; box-shadow: 0 14px 28px -20px rgba(30, 26, 22, .6); }
.cl img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-bowls { grid-column: 1 / span 4; grid-row: 1 / span 3; max-width: 640px; }
.cl-tea { grid-column: 1 / span 3; grid-row: 4 / span 4; aspect-ratio: auto !important; }
.cl-tea img { object-position: 50% 60%; }
.cl-shelf { grid-column: 4 / span 3; grid-row: 4 / span 3; max-width: 450px; }
.cl-free {
  grid-column: 5 / span 2; grid-row: 1 / span 3; align-self: center; justify-self: center;
  display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; margin: 0;
  background: var(--kaki); color: #fff; text-align: center; line-height: 1.2; box-shadow: none;
}
.cl-free span { font-size: 14px; }
.cl-free b { font-family: var(--mincho); font-weight: 900; font-size: 30px; }
.cl-sign { grid-column: 4 / span 3; grid-row: 7 / span 2; max-width: 442px; }

/* 見出し */
.ttl { font-family: var(--mincho); font-weight: 900; font-size: clamp(27px, 3.1vw, 40px); letter-spacing: .05em; margin-bottom: 36px; }
.ttl-sub { display: block; font-family: var(--gothic); font-weight: 700; font-size: 15px; letter-spacing: .12em; color: var(--kaki); margin-bottom: .2em; }
.ttl-light, .ttl-light .ttl-sub { color: #fff; }
.ttl-light .ttl-sub { opacity: .85; }
.sec { padding: 96px 0; }

/* ふたつの窓口 */
.doors { padding-top: 88px; }
.door-pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.door {
  position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px;
  padding: 38px 40px 36px 30px; color: #fff; text-decoration: none; min-height: 360px;
}
.door-rx { background: var(--forest); border-radius: 18px 0 0 18px; padding-right: 76px; }
.door-kp { background: var(--kaki); border-radius: 0 18px 18px 0; padding-left: 70px; grid-template-columns: minmax(0, 1fr) 76px; }
.door-kp .door-tate { order: 2; }
.door-tate { writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 900; font-size: 46px; letter-spacing: .18em; line-height: 1; opacity: .22; justify-self: center; }
.door-body { display: flex; flex-direction: column; gap: 14px; }
.door-name { font-family: var(--mincho); font-weight: 900; font-size: 30px; letter-spacing: .06em; }
.door-list { display: flex; flex-direction: column; }
.door-list span { padding: 9px 0 9px 26px; border-top: 1px solid rgba(255, 255, 255, .25); position: relative; font-size: 18px; }
.door-list span::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.door-go { margin-top: auto; align-self: flex-start; padding: 6px 18px; border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 30px; font-weight: 700; font-size: 16px; }
.door:hover .door-go { background: rgba(255, 255, 255, .14); }
.door-seal {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; margin: 0;
  display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%;
  background: var(--cream); color: var(--ink); border: 3px solid var(--cream);
  box-shadow: 0 0 0 6px rgba(244, 237, 225, .35);
  font-family: var(--mincho); font-weight: 900; font-size: 21px; line-height: 1.35; text-align: center;
}
.doors-note { margin: 22px 0 0; font-size: 17px; color: var(--ink-2); text-align: center; }

/* 漢方相談 */
.kampo { background: var(--white); }
.flow { list-style: none; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.flow::before { content: ""; position: absolute; left: 40px; right: 40px; top: 39px; border-top: 2px dashed var(--sand); }
.flow li { position: relative; }
.flow-no { position: relative; display: grid; place-items: center; width: 80px; height: 80px; margin-bottom: 18px; border-radius: 50%; background: var(--kaki); color: #fff; font-family: var(--mincho); font-weight: 900; font-size: 36px; }
.flow h3 { font-family: var(--mincho); font-weight: 900; font-size: 23px; margin-bottom: .4em; }
.flow p { margin: 0; color: var(--ink-2); }
.kampo-room { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.room-photo { position: relative; margin: 0; max-width: 520px; }
.room-photo::before { content: ""; position: absolute; left: -22px; top: 22px; right: 22px; bottom: -22px; background: var(--sage); border-radius: 12px; opacity: .55; }
.room-photo img { position: relative; display: block; width: 100%; border-radius: 12px; }
.room-photo figcaption { position: relative; font-size: 14px; color: var(--ink-2); margin-top: 30px; }
.room-text h3 { font-family: var(--mincho); font-weight: 900; font-size: 24px; margin: 0 0 .5em; }
.room-text h3:not(:first-child) { margin-top: 1.2em; }
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ways li { display: grid; grid-template-columns: 6em 1fr; align-items: center; padding: 10px 16px; background: var(--cream); border-radius: 10px; }
.ways b { color: var(--kaki); }
.ways a { font-weight: 700; }
.room-note { font-size: 16.5px; color: var(--ink-2); }

/* 処方せん */
.rx { background: var(--forest); color: #fff; }
.rx a { color: #fff; }
.rx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: 24px; }
.herbs { margin: 0 0 36px; border-radius: 12px; overflow: hidden; max-width: 460px; justify-self: end; }
.herbs img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.oshina { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.oshina > div { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.oshina > div.wide { grid-column: 1 / -1; }
.oshina dt { font-family: var(--mincho); font-weight: 900; font-size: 21px; margin-bottom: .2em; }
.oshina dd { margin: 0; color: #e7ece6; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.to-notice { margin: 24px 0 0; }
.to-notice a::after { content: " →"; }
.areas span { padding: 2px 14px; border-radius: 30px; background: var(--cream); color: var(--forest-2); font-weight: 700; }

/* 薬剤師 */
.people-top { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; margin-bottom: 56px; }
.since-big { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 6px; padding: 26px 26px 22px; background: var(--kaki); color: #fff; border-radius: 16px; }
.since-num { font-family: var(--mincho); font-weight: 900; font-size: 120px; line-height: .9; letter-spacing: -.02em; }
.since-unit { font-family: var(--mincho); font-weight: 900; font-size: 28px; padding-bottom: 8px; }
.since-cap { grid-column: 1 / -1; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .35); font-size: 16px; line-height: 1.7; }
.team { margin: 22px 0 0; max-width: 533px; }
.team img { display: block; width: 100%; border-radius: 12px; }
.team figcaption { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pf { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 36px -28px rgba(30, 26, 22, .6); }
.pf .portrait { --ph-bg: #e8dccb; }
.pf-body { padding: 20px 24px 24px; }
.pf-role { margin: 0; font-size: 15px; font-weight: 700; color: var(--kaki); }
.pf h3 { font-family: var(--mincho); font-weight: 900; font-size: 28px; letter-spacing: .1em; margin-bottom: .3em; }
.pf-q { font-weight: 700; font-size: 16.5px; line-height: 1.7; padding: 8px 12px; background: var(--cream); border-radius: 8px; }
.pf-c { margin: 0; padding: 0; list-style: none; font-size: 16.5px; line-height: 1.8; color: var(--ink-2); }

/* 採用 */
.recruit { background: var(--cream-2); }
.recruit-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.recruit-img { border-radius: 16px; }
.job { margin: 0 0 24px; }
.job div { display: grid; grid-template-columns: 8em 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--sand); }
.job dt { font-weight: 700; color: var(--kaki-2); }
.job dd { margin: 0; }

/* 店舗案内 */
.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 14px 4px; border-bottom: 1px solid var(--sand); text-align: left; }
.hours th { width: 6em; font-weight: 700; }
.hours td { font-family: var(--mincho); font-weight: 900; font-size: 26px; color: var(--forest-2); }
.small { font-size: 15.5px; color: var(--ink-2); margin-top: 10px; }
.addr { margin: 20px 0 0; }
.addr div { display: grid; grid-template-columns: 6em 1fr; padding: 8px 0; border-bottom: 1px dashed var(--sand); }
.addr dt { font-weight: 700; color: var(--kaki-2); }
.addr dd { margin: 0; }
.shop-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 14px; background: var(--cream-2); }
.river { margin-top: 16px; border-radius: 14px; max-width: 360px; }
.sns-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 22px 28px; background: var(--white); border-radius: 16px; }
.sns-band p { margin: 0; }
.sns-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sns-btns a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 18px; font-weight: 700; color: var(--ink); background: var(--cream); border-radius: 30px; text-decoration: none; }

/* お問い合わせ */
.contact { background: var(--forest); color: #fff; }
.contact-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.contact a { color: #fff; }
.tel-big { display: block; font-family: var(--mincho); font-weight: 900; font-size: clamp(34px, 3.8vw, 48px); text-decoration: none; letter-spacing: .03em; line-height: 1.3; margin: 10px 0; }
.tel-sub { font-size: 16.5px; color: #e7ece6; }
.form { background: var(--white); color: var(--ink); padding: 32px; border-radius: 18px; }
.form a { color: var(--kaki-2); }
.f-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-row { margin-bottom: 18px; }
.f-row label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 700; }
.req, .opt { font-size: 12.5px; padding: 0 .55em; border-radius: 20px; line-height: 1.8; }
.req { background: var(--kaki); color: #fff; }
.opt { background: var(--cream-2); color: var(--ink-2); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 18px; padding: 12px 16px; color: var(--ink); background: #fff;
  border: 1.5px solid #a7987f; border-radius: 10px;
}
.f-agree { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 18px; font-size: 16px; }
.f-agree input { width: 22px; height: 22px; }
.f-submit { width: 100%; min-height: 62px; font: inherit; font-weight: 700; font-size: 19px; color: #fff; background: var(--kaki); border: 0; border-radius: 40px; cursor: pointer; }
.f-submit:hover { background: var(--kaki-2); }
.form-note-live { margin: 14px 0 0; font-weight: 700; color: var(--kaki-2); }

/* 保険薬局としてのご案内 */
.notice { padding: 56px 0; background: var(--white); --notice-line: var(--sand); }
.notice h2 { font-family: var(--mincho); font-weight: 900; font-size: 24px; margin-bottom: .5em; }

/* フッター */
.ft { background: var(--ink); color: #efe8dc; padding: 44px 0 110px; font-size: 16px; }
.ft a { color: #fff; }
.ft-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; }
.ft p { margin: 0 0 .3em; }
.ft-name { font-family: var(--mincho); font-weight: 900; font-size: 26px; letter-spacing: .1em; }
.ft-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; align-content: start; }
.ft-copy { text-align: center; margin: 28px 0 0; font-size: 13px; opacity: .7; }

.sp-cta { display: none; }

@media (max-width: 1120px) {
  .gnav a { padding: .4em .5em; font-size: 15.5px; }
  .hd-tel small { display: none; }
  .hero-copy { padding-left: 32px; }
  .hero-collage { padding-right: 32px; }
}

@media (max-width: 900px) {
  body { font-size: 17.5px; }
  .hd-in { min-height: 64px; gap: 10px; }
  .logo-name { font-size: 23px; }
  .hd-tel, .hd-btn { display: none; }
  .nav-toggle { display: block; margin-left: auto; min-height: 48px; padding: 0 18px; font: 700 16px var(--gothic); color: #fff; background: var(--forest); border: 0; border-radius: 30px; }
  .gnav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; background: var(--cream); border-bottom: 2px solid var(--forest); }
  .gnav.is-open { display: flex; }
  .gnav a { padding: 16px 22px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--sand); }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px 20px 48px; }
  .hero-cta .btn { width: 100%; }
  .hero-collage { padding: 20px 16px 24px; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .hero-collage .cl { grid-column: auto; grid-row: auto; max-width: none; }
  .hero-collage .cl-bowls, .hero-collage .cl-sign { grid-column: 1 / -1; }
  .hero-collage .cl-tea { aspect-ratio: 4 / 5 !important; }
  .hero-collage .cl-shelf { align-self: start; }
  .hero-collage .cl-shelf img { height: auto; }
  .hero-collage .cl-free { position: absolute; right: 26px; top: 30px; width: 88px; height: 88px; }
  .cl-free b { font-size: 24px; }

  .sec { padding: 64px 0; }
  .door-pair { grid-template-columns: 1fr; gap: 0; }
  .door { min-height: 0; grid-template-columns: 52px minmax(0, 1fr); padding: 28px 22px 30px 16px; }
  .door-rx { border-radius: 18px 18px 0 0; padding-right: 22px; padding-bottom: 72px; }
  .door-kp { border-radius: 0 0 18px 18px; padding-left: 16px; padding-top: 72px; grid-template-columns: 52px minmax(0, 1fr); }
  .door-kp .door-tate { order: 0; }
  .door-tate { font-size: 34px; }
  .door-name { font-size: 25px; }
  .door-seal { width: 96px; height: 96px; font-size: 18px; }

  .flow { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .flow::before { left: 39px; right: auto; top: 40px; bottom: 40px; border-top: 0; border-left: 2px dashed var(--sand); }
  .flow li { padding-left: 100px; min-height: 80px; }
  .flow-no { position: absolute; left: 0; top: 0; }
  .kampo-room, .rx-head, .people-top, .recruit-in, .shop-grid, .contact-in { grid-template-columns: 1fr; gap: 32px; }
  .room-photo { margin-left: 22px; }
  .herbs { justify-self: start; margin-bottom: 8px; }
  .oshina { grid-template-columns: 1fr; }
  .since-big { max-width: 320px; }
  .since-num { font-size: 96px; }
  .cards { grid-template-columns: 1fr; }
  .pf { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
  .pf .portrait { height: 100%; aspect-ratio: auto; min-height: 150px; }
  .pf-body { padding: 16px 18px 18px; }
  .pf h3 { font-size: 24px; }
  .job div, .addr div { grid-template-columns: 6.5em 1fr; }
  .f-2 { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 22px; }
  .ft-in { grid-template-columns: 1fr; }

  .sp-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(244, 237, 225, .97); box-shadow: 0 -8px 20px -12px rgba(0, 0, 0, .4); }
  .sp-cta a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 18px; font-weight: 700; text-decoration: none; border-radius: 40px; }
  .sp-tel { background: var(--forest); color: #fff; }
  .sp-form { background: var(--kaki); color: #fff; }
}
