/* =============================================
   カガヤク薬剤師 — Global Design System
============================================= */

:root {
  --orange:   #FF6200;
  --orange2:  #FF8800;
  --white:    #FFFFFF;
  --dark:     #111111;
  --gray-bg:  #F5F5F5;
  --muted:    rgba(255,255,255,0.55);

  --en: 'Inter', sans-serif;
  --ja: 'Noto Sans JP', sans-serif;

  --fs-display: clamp(60px, 10vw, 136px);
  --fs-h1:      clamp(36px, 5.5vw, 64px);
  --fs-h2:      clamp(26px, 3.5vw, 48px);
  --fs-h3:      clamp(19px, 2.4vw, 30px);
  --fs-body:    16px;
  --fs-sm:      16px;
  --fs-xs:      12px;
  --fs-label:   11px;

  --py:   clamp(72px, 10vw, 128px);
  --px:   clamp(20px, 5vw, 64px);
  --inner: 1200px;
  --hd-h:  80px;

  --ease:     cubic-bezier(.22,.68,0,1.2);
  --ease-out: cubic-bezier(0,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ja);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── LAYOUT ── */
.inner     { max-width: var(--inner); margin-inline: auto; }
.sec       { width: 100%; padding: var(--py) var(--px); }
.sec-inner { max-width: var(--inner); margin-inline: auto; }
@media (min-width: 1025px) {
  .ab-mv .sec-inner,
  .mv-orange .sec-inner,
  .ab-values .sec-inner { max-width: 1400px; }
  .ab-mv,
  .mv-orange,
  .ab-values { padding-left: clamp(20px, 5vw, 80px); padding-right: clamp(20px, 5vw, 80px); }
}

/* ── TYPOGRAPHY ── */
.sec-label {
  display: inline-block;
  font-family: var(--en);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sec-label--orange { color: var(--orange); }
.sec-label--white  { color: var(--muted); }

.sec-h  { font-size: var(--fs-h1); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
.sec-h2 { font-size: var(--fs-h2); font-weight: 900; line-height: 1.2; }
.sec-lead { font-size: var(--fs-h3); font-weight: 700; line-height: 1.65; }
.sec-body { font-size: var(--fs-body); line-height: 1.95; color: var(--dark); }
.sec-body--white { font-size: var(--fs-body); line-height: 1.95; color: #fff; font-weight: 600; }

/* ── DIVIDERS ── */
.hr       { border: none; border-top: 1px solid #E5E5E5; }
.hr-white { border: none; border-top: 1px solid rgba(255,255,255,0.18); }

/* =============================================
   HEADER
============================================= */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  background: transparent;
  height: var(--hd-h);
  width: 100%;
  transition: background 0.3s, opacity 0.4s, transform 0.4s;
}
.hd.is-scrolled { background: var(--orange); }
.hd.is-hidden { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.hd-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 var(--px);
}
.hd-logo {
  font-family: var(--en); font-weight: 900; font-size: 18px;
  color: var(--white); letter-spacing: -0.01em; flex-shrink: 0;
}
.hd-logo img { width: 220px; height: auto; display: block; }
.hd-nav { display: flex; align-items: center; gap: 36px; }
.hd-nav a {
  font-size: 17px; font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
.hd-nav a:hover { color: #fff; }
.hd-cta {
  background: var(--white) !important;
  color: var(--orange) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 12px 30px;
  letter-spacing: 0.04em;
  transition: background 0.18s, transform 0.18s !important;
}
.hd-cta:hover {
  background: rgba(255,255,255,0.88) !important;
  transform: translateY(-1px);
}
.hd-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
  cursor: pointer; z-index: 600; position: relative;
}
.hd-hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: 0.25s; }
.hd-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd-hamburger.is-active span:nth-child(2) { opacity: 0; }
.hd-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   FULLSCREEN MENU
============================================= */
.menu-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: var(--orange);
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out);
  visibility: hidden;
}
.menu-overlay.is-open { transform: translateY(0); visibility: visible; }
.menu-overlay-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px); height: var(--hd-h); flex-shrink: 0;
  border-bottom: 2px solid #fff;
}
.menu-overlay-logo img { width: 160px; height: auto; }
.menu-close {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
}
.menu-close::before { content: '×'; font-size: 20px; line-height: 1; }
.menu-list { padding: clamp(32px,6vw,56px) var(--px) 24px; overflow-y: auto; flex: 1; }
.menu-item {
  display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
  padding: 16px 0;
}
.menu-item-title {
  font-size: clamp(28px,5vw,44px); font-weight: 900;
  color: #fff; line-height: 1.1;
}
.menu-item-sub { font-size: 13px; color: #fff; font-weight: 700; }
.menu-bottom {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 2px solid #fff; flex-shrink: 0;
}
.menu-bottom a {
  padding: 24px var(--px); display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 15px;
  border-left: 2px solid #fff;
}
.menu-bottom a:first-child { border-left: none; }

/* =============================================
   FOOTER
============================================= */
.ft {
  background: var(--orange);
  padding: clamp(56px,8vw,90px) var(--px) 40px;
}
.ft-inner { width: 100%; }
.ft-nav {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.ft-nav a {
  font-size: 17px; color: #fff; font-weight: 600;
  transition: opacity 0.18s;
}
.ft-nav a:hover { opacity: 0.7; }
.ft-divider { border: none; border-top: 1px solid rgba(255,255,255,0.25); margin-bottom: 40px; }
.ft-bottom-row { display: flex; flex-direction: column; gap: 20px; }
.ft-logo img { width: 200px; height: auto; }
.ft-address { font-size: 16px; color: #fff; line-height: 1.85; }
.ft-bottom {
  margin-top: 36px;
  font-family: var(--en); font-size: var(--fs-label);
  color: #fff;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ja); font-weight: 700;
  font-size: var(--fs-sm); letter-spacing: 0.04em;
  padding: 18px 48px;
  transition: all 0.22s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange2); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--orange); }
.btn-white:hover { background: rgba(255,255,255,0.88); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 22px 60px; font-size: 16px; }
.btn-arrow::after {
  content: '→';
  font-family: var(--en); font-size: 16px;
  transition: transform 0.22s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =============================================
   IMAGE PLACEHOLDERS
============================================= */
.img-ph {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px dashed rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); font-size: 12px;
  text-align: center; line-height: 1.8;
}
.img-ph-dark {
  width: 100%; height: 100%;
  background: #EBEBEB; border: 1px dashed #CCC;
  display: flex; align-items: center; justify-content: center;
  color: #BBB; font-size: 12px;
  text-align: center; line-height: 1.8;
}

/* =============================================
   PAGE HERO
============================================= */
.page-hero {
  width: 100%; min-height: 480px;
  background: var(--orange);
  display: flex; align-items: flex-end;
  padding: calc(60px + var(--hd-h)) var(--px) 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,180,0,0.55) 0%, transparent 75%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-label {
  display: block;
  font-size: var(--fs-sm); color: rgba(255,255,255,0.6);
  margin-bottom: 10px; letter-spacing: 0.04em;
}
.page-hero-sub {
  display: block;
  font-size: 20px; font-weight: 700; color: #fff;
  margin-bottom: 12px; letter-spacing: 0.04em;
}
.page-hero-title {
  font-family: var(--en);
  font-size: var(--fs-display);
  font-weight: 900; line-height: 1;
  color: var(--white); letter-spacing: -0.03em;
}
.page-hero--right { justify-content: flex-end; }
.page-hero--right .page-hero-content { text-align: right; }

/* =============================================
   BADGE
============================================= */
.badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--orange); color: var(--orange);
}

/* =============================================
   TOP PAGE
============================================= */

/* FV */
.fv {
  width: 100%;
  min-height: 100vh;
  background: var(--orange);
  position: relative; overflow: hidden;
}
.fv::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgba(255,180,0,0.55) 0%, transparent 65%);
}
.fv-visual {
  position: fixed; inset: -80px 0 0;
  z-index: 1; pointer-events: none;
  will-change: clip-path;
}
.fv-visual .img-ph,
.fv-visual img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center;
  transform: scale(1.9); transform-origin: top center;
  background: none; border: none; display: block;
}
.fv-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.fv-slide.is-active { opacity: 1; }
.fv-body {
  position: absolute; bottom: clamp(48px, 8vh, 96px); left: var(--px);
  z-index: 3; max-width: 860px;
}
/* TOP以降のセクションをfv-visualより手前に */
.top-about, .stats-bar, .split-sec, .top-news, .cta-strip, .ft { position: relative; z-index: 2; }

/* =============================================
   ACCENT — 装飾レイヤー
   A: 大面積（同系色・低コントラスト）… 角から2辺を画面外へ
   B: 小ストローク（高コントラスト）… 見出しの文字に食い込ませる
   ============================================= */
.accent-wrap {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.accent {
  position: absolute; pointer-events: none; user-select: none;
  display: block; height: auto; z-index: 0;
}

/* ---------- A. 大面積：角に寄せて2辺を画面外へ ---------- */
.accent--bg {
  width: clamp(560px, 72vw, 1200px);
  opacity: 0.16;
  display: none;
}
/* 左上の角から入って右下へ抜ける */
.accent--bg-tl { left: -14%; top: -18%; }
/* 右下の角から入って左上へ抜ける */
.accent--bg-br { right: -14%; bottom: -18%; transform: scaleX(-1); }
/* 左下の角 */
.accent--bg-bl { left: -14%; bottom: -18%; }
/* 右上の角 */
.accent--bg-tr { right: -14%; top: -18%; transform: scaleX(-1); }

/* 白背景セクション用：さらに淡く */
.accent--bg-light { opacity: 0.09; }

/* ---------- TOP FV ---------- */
.accent--fv {
  z-index: 0;
  width: clamp(620px, 80vw, 1280px);
  right: -16%; bottom: -20%;
  transform: scaleX(-1);
  opacity: 0.16;
  display: none;
}

@media (max-width: 767px) {
  .accent--bg { width: 150%; opacity: 0.12; }
  .accent--bg-tl, .accent--bg-bl { left: -30%; }
  .accent--bg-br, .accent--bg-tr { right: -30%; }
  .accent--fv { width: 170%; right: -40%; opacity: 0.12; }
}

.fv-label {
  font-family: var(--en); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #fff; margin-bottom: 20px; display: block;
}
.fv-catch {
  font-size: clamp(56px, 5.6vw, 80px); font-weight: 900; line-height: 1.25;
  color: var(--white); letter-spacing: -0.02em; margin-bottom: 20px;
}
.fv-catch-line1::after { content: '\A'; white-space: pre; }
.fv-sub {
  font-size: 24px; color: #fff; font-weight: 600;
  line-height: 1.85; margin-bottom: 36px;
}
.fv-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.fv-scroll {
  position: absolute; bottom: 120px; left: var(--px); z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.fv-scroll::before {
  content: '';
  display: block; width: 1px; height: 60px;
  background: rgba(255,255,255,0.35);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ABOUT STRIP (TOP) */
.top-about { background: var(--orange); padding-bottom: 0; }
.top-about-text { width: 100%; margin-bottom: 24px; }
.top-about-text .btn { display: flex; margin-left: auto; width: fit-content; }
.top-about-body { font-size: 20px; margin-bottom: 32px; }

/* 画面幅いっぱいのフルブリード画像エリア */
.top-about-visual {
  position: relative; overflow: hidden;
  width: calc(100% + 2 * var(--px));
  margin-left: calc(-1 * var(--px));
  aspect-ratio: 3/2;
  display: flex; align-items: flex-end; justify-content: center;
}
/* 帯：腰掛けラインに上端を合わせる（画像の腰の高さ = 下から50%）
   上端は明るいオレンジ、下に向かって濃いオレンジへグラデーション */
.ta-visual-floor {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(to bottom, var(--orange2) 0%, var(--orange) 100%);
  z-index: 0;
}
/* 人物：帯をまたいで画面中央に、大きく */
.ta-visual-people {
  position: relative; z-index: 1;
  width: auto; height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  margin: 0 auto;
  opacity: 0; transform: translateY(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.ta-visual-people.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 767px) {
  .top-about-visual { aspect-ratio: 4/3; }
  .ta-visual-people { max-width: 100%; }
}

/* STATS BAR */
.stats-bar { background: var(--orange); padding: clamp(40px,5vw,70px) var(--px) clamp(80px,10vw,140px); margin-top: -1px; }
.stats-inner {
  max-width: var(--inner); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: clamp(48px,6vw,100px);
}
.stat-item {
  text-align: center; padding: 0;
}
.stat-num {
  font-family: var(--en);
  font-size: clamp(64px,9vw,140px);
  font-weight: 900; color: var(--white);
  line-height: 1; letter-spacing: -0.03em; margin-top: 24px;
}
.stat-unit { font-family: var(--ja); font-size: clamp(18px,1.6vw,28px); font-weight: 700; vertical-align: sub; margin-left: 6px; }
.stat-label { font-size: clamp(20px,1.3vw,24px); font-weight: 700; color: #fff; }
.stats-note {
  max-width: var(--inner); margin: 20px auto 0;
  text-align: right; font-size: 14px; font-weight: 700; color: #fff;
}

/* SPLIT CARDS */
.split-sec { background: var(--white); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split-card {
  position: relative; overflow: hidden;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 40px 48px;
  transition: transform 0.4s var(--ease-out);
}
.split-card:hover { transform: scale(1.012); }
.split-card--orange { background: var(--orange); }
.split-card--sub    { background: var(--orange2); }

/* 光の筋（レイズ）演出 */
.split-card > * { position: relative; z-index: 1; }
.split-card-accent {
  position: absolute; top: 0; right: 0;
  width: 60%; height: 100%;
  object-fit: contain; object-position: top right;
  z-index: 0; pointer-events: none;
}
.split-card--orange .split-card-accent { width: 68%; }

.split-card-label {
  font-family: var(--en); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
}
.split-card-h {
  font-size: var(--fs-h2); font-weight: 900;
  color: var(--white); line-height: 1.25; margin-bottom: 20px;
}
.split-card-foot {
  display: flex; align-items: flex-start;
  gap: 24px;
}
.split-card-body {
  font-size: var(--fs-sm); color: #fff; font-weight: 600;
  line-height: 1.9; max-width: 380px;
}
.split-card-link {
  position: absolute; right: 48px; top: 50%;
  transform: translateY(calc(-50% - 4px));
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 4px;
  transition: border-color 0.2s, gap 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.split-card-link:hover { border-color: #fff; gap: 14px; }

/* NEWS */
.top-news { background: #fff; }
.top-news-head {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px;
}
.top-news-foot { display: flex; justify-content: flex-end; margin-top: 32px; }
.news-list { border-top: 1px solid #E5E5E5; }
.news-row {
  display: grid; grid-template-columns: 130px 110px 1fr;
  gap: 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid #E5E5E5;
  transition: background 0.18s;
}
.news-row .news-cat { justify-self: start; }
.news-row:hover { background: #FAFAFA; }
.news-date { font-family: var(--en); font-size: var(--fs-sm); color: #111; white-space: nowrap; }
.news-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--orange); color: var(--orange); padding: 2px 10px; white-space: nowrap;
}
.news-title { font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; }
.news-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--en); font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 0.08em; color: var(--orange);
  border-bottom: 1px solid var(--orange); padding-bottom: 2px;
  transition: gap 0.2s;
}
.news-all:hover { gap: 12px; }

/* CTA STRIP */
.cta-strip {
  background: var(--orange2); padding: clamp(64px,8vw,100px) var(--px); text-align: left;
  position: relative; overflow: hidden;
}
.cta-strip-inner {
  max-width: var(--inner); margin: 0 auto;
}
.cta-strip-h {
  font-size: var(--fs-h1); font-weight: 900; color: var(--white);
  line-height: 1.25; margin-bottom: 16px;
}
.cta-strip-sub {
  font-size: 16px; color: #fff; font-weight: 600; margin-bottom: 44px; line-height: 1.8;
}
.cta-strip-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-strip-note { margin-top: 20px; font-size: var(--fs-xs); color: #fff; }
.privacy-box a { color: var(--orange); text-decoration: underline; font-weight: 600; }
.profile-doc-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.profile-doc-link {
  color: var(--orange); text-decoration: none; font-weight: 400;
  font-size: 15px;
  transition: color 0.2s;
}
.profile-doc-link:hover { color: var(--orange2); }

/* =============================================
   ABOUT PAGE
============================================= */
.ab-mv { background: #fff; }
.ab-mv-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.ab-mv-num {
  font-family: var(--en);
  font-size: clamp(64px,10vw,128px);
  font-weight: 900; line-height: 1; color: #F0F0F0;
  letter-spacing: -0.05em; margin-bottom: -20px; display: block;
}
.ab-mv-h { margin-bottom: 20px; color: var(--orange); font-size: clamp(48px, 6.5vw, 76px); }
.ab-mv-lead { margin-bottom: 20px; color: var(--dark); }
.ab-mv-body { color: var(--dark); line-height: 1.95; font-weight: 700; font-size: 20px; }
.ab-mv-img { overflow: hidden; min-width: 0; }
.ab-mv-img img {
  width: 100%; height: auto; display: block;
  opacity: 0; transition: opacity 2s var(--ease-out);
}
.ab-mv-img img.is-visible { opacity: 1; }
.ab-mv-img-spacer { min-width: 0; }

/* MISSION / VISION：オレンジ背景 + 2セクションをまたぐ大きな写真 */
.mv-wrap { position: relative; background: var(--orange); overflow: hidden; }
.mv-wrap .page-hero::before { display: none; }
.mv-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(120deg, rgba(255,180,0,0.55) 0%, transparent 75%);
  pointer-events: none; z-index: 0;
}
.mv-orange { background: transparent; }
.mv-orange .ab-mv-h { color: #fff; }
.mv-orange .ab-mv-lead { color: #fff; }
.mv-orange .ab-mv-body { color: #fff; }
.mv-photo {
  position: absolute; right: 4%; top: 60%;
  transform: translateY(-50%);
  width: 48%; max-width: 680px;
  z-index: 1; overflow: hidden;
}
.mv-photo img {
  width: 100%; height: auto; display: block;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
.mv-photo img.is-visible { opacity: 1; }

.mv-photo-mobile { display: none; }

@media (max-width: 1024px) {
  .mv-photo { display: none; }
  .ab-mv { padding-bottom: 0; }
  .mv-photo-mobile {
    display: block;
    padding: 0 var(--px) 24px;
    margin-top: -48px;
    position: relative; z-index: 1;
  }
  .mv-photo-mobile img {
    width: 100%; height: auto; display: block;
    opacity: 0; transition: opacity 1.2s var(--ease-out);
  }
  .mv-photo-mobile img.is-visible { opacity: 1; }
}

.ab-values { background: #fff; }
.ab-values-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.ab-value-list { display: flex; flex-direction: column; counter-reset: value-num; }
.ab-value-item {
  display: grid; grid-template-columns: 1fr;
  padding: 28px 0; border-bottom: 1px solid #E0E0E0;
  position: relative;
  counter-increment: value-num;
  opacity: 0; transform: translateX(60px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.ab-value-item.is-visible { opacity: 1; transform: translateX(0); }
.ab-value-item:nth-child(1) { transition-delay: 0s; }
.ab-value-item:nth-child(2) { transition-delay: 0.2s; }
.ab-value-item:nth-child(3) { transition-delay: 0.4s; }
.ab-value-item:first-child { border-top: 1px solid #E0E0E0; }
.ab-value-item::after {
  content: counter(value-num, decimal-leading-zero);
  position: absolute; right: -10px; top: 28px;
  transform: rotate(-18deg) skewX(-10deg);
  font-family: var(--en); font-size: 130px; font-weight: 900;
  font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1;
  color: rgba(240, 120, 20, 0.32); line-height: 1;
  pointer-events: none; z-index: 0;
  font-style: italic;
}
.ab-value-num { display: none;
  position: relative; z-index: 1;
}
.ab-value-text { font-size: 28px; font-weight: 700; color: var(--dark); line-height: 1.5; position: relative; z-index: 1; }
.ab-value-sub { font-size: 20px; color: var(--dark); line-height: 1.7; margin-top: 6px; position: relative; z-index: 1; }

.ab-msg { background: var(--orange); position: relative; overflow: hidden; }
.ab-msg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ab-msg-quote {
  font-size: clamp(26px,3vw,36px); font-weight: 900;
  line-height: 1.55; color: var(--white);
  margin-bottom: 40px;
  padding-left: 0;
}
.ab-msg-body p { font-size: 20px; font-weight: 600; line-height: 1.95; color: #fff; margin-bottom: 24px; }
.ab-msg-sign { margin-top: 44px; }
.ab-msg-role { font-size: var(--fs-body); font-weight: 600; color: #fff; margin-bottom: 8px; }
.ab-msg-name { font-size: 22px; font-weight: 700; color: var(--white); }
.ab-msg-photo {
  min-width: 0; position: relative;
  align-self: stretch;
  display: flex; align-items: center; justify-content: center;
}
.ab-msg-photo-bg {
  position: absolute; top: 50%; left: 5%; right: 5%;
  transform: translateY(-50%);
  height: 75%; background: var(--orange2); z-index: 0;
}
.ab-msg-photo img {
  position: relative; z-index: 1;
  width: 100%; display: block;
  height: auto; object-fit: contain;
  opacity: 0; transform: translateY(60px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.ab-msg-photo img.is-visible { opacity: 1; transform: translateY(0); }

/* 代表メッセージの背景は上から降りてくる */
.ab-msg .accent--bg {
  transform: translateY(-100%);
  transition: transform 0.9s var(--ease-out);
}
.ab-msg .accent--bg.is-visible { transform: translateY(0); }

.ab-visual {
  width: 100%; min-height: 100vh; background: var(--orange2);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 100px var(--px);
}
.ab-visual-text {
  position: relative; z-index: 2; text-align: center;
}
.ab-visual-title {
  font-size: clamp(36px,5.5vw,68px); font-weight: 900;
  color: var(--white); line-height: 1.3; margin-bottom: 16px;
}
.ab-visual-sub { font-size: clamp(16px,2vw,24px); color: #fff; font-weight: 600; }
.ab-visual-img {
  position: absolute; z-index: 1;
  width: clamp(220px, 26vw, 380px);
  border-radius: 0; overflow: hidden;
  box-shadow: 0 12px 48px rgba(220,80,0,0.6);
  opacity: 0;
  transition: opacity 1s var(--ease-out);
}
.ab-visual-img.is-visible { opacity: 1; }
.ab-visual-img--bl { transition-delay: 0.2s; }
.ab-visual-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-visual-img--tr {
  top: 60px; right: clamp(20px, 5vw, 80px);
  height: clamp(280px, 34vw, 460px);
}
.ab-visual-img--bl {
  bottom: 60px; left: clamp(20px, 5vw, 80px);
  height: clamp(280px, 34vw, 460px);
}

.history-sec { background: #fff; }
.history-track {
  margin-top: 56px;
  border-top: 1px solid #E5E5E5;
}
.history-item {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid #E5E5E5;
}
.history-year {
  font-family: var(--en); font-size: 20px; font-weight: 700;
  color: var(--dark); letter-spacing: -0.01em; line-height: 1.85;
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}
.history-event { font-size: 18px; color: #111; line-height: 1.95; }
.history-event-link { color: var(--orange); text-decoration: underline; transition: color 0.2s; }
.history-event-link:hover { color: var(--orange2); }

.ab-profile { background: #fff; }
.profile-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.profile-table tr { border-bottom: 1px solid #EBEBEB; }
.profile-table th {
  width: 200px; padding: 24px 0; vertical-align: top;
  font-size: 17px; font-weight: 700; color: var(--orange); text-align: left;
  white-space: nowrap;
}
.profile-table td { padding: 24px 0 24px 32px; font-size: 19px; color: #333; line-height: 1.85; }

.ab-access { background: var(--orange); }
.ab-access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.profile-map { width: 100%; height: 320px; margin-top: 20px; }
.access-info-h { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 28px; }
.access-row { margin-bottom: 22px; }
.access-row-val { font-size: 18px; color: #fff; line-height: 1.75; }

/* =============================================
   PHARMACIST / PHARMACY PAGES
============================================= */
.pg-intro { background: #fff; }
.pg-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pg-intro-visual { overflow: hidden; min-width: 0; border-radius: 0; }
.pg-intro-visual img { width: 100%; height: auto; display: block; border-radius: 0; }

.pain-sec { background: var(--white); }
.pain-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; margin-top: 48px; }
.pain-card { background: #fff; padding: 36px 32px; border-top: 3px solid var(--orange); }
.pain-card-num {
  font-family: var(--en); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--orange); margin-bottom: 16px;
}
.pain-card-h { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.pain-card-body { font-size: var(--fs-sm); color: var(--dark); line-height: 1.85; }

.process-sec { background: var(--orange); }
.process-list { display: flex; flex-direction: column; margin-top: 56px; }
.process-item {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 40px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.16);
}
.process-item:first-child { border-top: 1px solid rgba(255,255,255,0.16); }
.process-num {
  font-family: var(--en); font-size: clamp(40px,5vw,60px); font-weight: 900;
  color: rgba(255,255,255,0.55); line-height: 1; letter-spacing: -0.04em; padding-top: 4px;
}
.process-h { font-size: var(--fs-h3); font-weight: 700; color: var(--white); margin-bottom: 10px; }
.process-desc { font-size: var(--fs-sm); color: #fff; font-weight: 600; line-height: 1.85; }

/* サービス内容 3列グリッド */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.svc-card {
  padding: 40px 36px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.svc-card:last-child { border-right: none; }
.svc-card-label {
  font-family: var(--en); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px; display: block;
}
.svc-card-h { font-size: clamp(23px,2.8vw,34px); font-weight: 700; color: var(--white); line-height: 1.4; margin-bottom: 16px; }
.svc-card-body { font-size: var(--fs-sm); color: #fff; font-weight: 600; line-height: 1.85; }

.features-sec { background: #fff; }

/* サービス内容（白背景・オレンジカード） */
.svc-white-sec { background: #fff; }
.svc-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.svc-card-item {
  background: var(--orange); border-radius: 4px;
  padding: 40px 32px;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.svc-card-item.is-visible { opacity: 1; }
.svc-card-item:nth-child(1) { transition-delay: 0s; }
.svc-card-item:nth-child(2) { transition-delay: 0.15s; }
.svc-card-item:nth-child(3) { transition-delay: 0.3s; }
.svc-card-item .svc-card-label { color: #fff; font-size: 15px; }
.svc-card-item .svc-card-h { color: #fff; }
.svc-card-item .svc-card-body { color: #fff; }

/* WHY US */
.why-us-sec { background: var(--orange); position: relative; overflow: hidden; }
.why-us-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.why-us-body-col { grid-column: 1; }
.why-us-img-col {
  grid-column: 2; grid-row: 1 / 4;
  align-self: center;
}
.why-us-img-col img { width: 100%; height: auto; border-radius: 4px; display: block; }
.why-us-label {
  font-family: var(--en); font-size: var(--fs-h1); font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; display: block; margin-bottom: 20px;
}
.why-us-h {
  font-size: clamp(32px, 4.5vw, 60px); font-weight: 900;
  color: #fff; line-height: 1.2; margin-bottom: 40px;
}
.why-us-body {
  font-size: 20px; color: #fff; font-weight: 600;
  line-height: 1.95; margin-bottom: 24px;
}
.why-us-body strong { color: #fff; font-weight: 900; }
.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; margin-top: 56px; }

/* 選ばれる理由 — 交互レイアウト */
.features-alt { display: flex; flex-direction: column; gap: 80px; margin-top: 64px; }
.features-alt-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.features-alt-num {
  font-family: var(--en); font-size: 48px; font-weight: 900;
  color: var(--orange); letter-spacing: 0.05em; margin-bottom: 8px;
  font-style: italic; line-height: 1;
}
.features-alt-h {
  font-size: clamp(20px, 2.5vw, 28px); font-weight: 900;
  color: var(--dark); line-height: 1.45; margin-bottom: 20px;
}
.features-alt-body { font-size: var(--fs-sm); color: var(--dark); line-height: 1.95; }
.features-alt-img { overflow: hidden; min-width: 0; }
.features-alt-img .img-ph-dark { width: 100%; aspect-ratio: 4/3; }
.features-alt-img img { width: 100%; height: auto; display: block; }

.feature-card {
  padding: 40px; border: 1px solid #EBEBEB;
  transition: border-color 0.22s, transform 0.22s;
}
.feature-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.feature-icon {
  font-family: var(--en); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.feature-h { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.feature-body { font-size: var(--fs-sm); color: var(--dark); line-height: 1.85; }

/* MANIFESTO */
.manifesto-sec { background: var(--orange); position: relative; overflow: hidden; }
.manifesto-h {
  font-size: var(--fs-h1); font-weight: 900; color: #fff;
  line-height: 1.8; margin-bottom: 32px; letter-spacing: -0.02em;
  max-width: 820px;
}
.manifesto-h-mark,
.why-us-h-mark {
  background: linear-gradient(to bottom, transparent 55%, var(--orange2) 55%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.06em;
}
/* 1行ずつ左→右に現れるリビール演出（box-decoration-break:cloneで行ごとに独立してマスクされる） */
.reveal-sweep {
  -webkit-mask-image: linear-gradient(to right, #000, #000);
  mask-image: linear-gradient(to right, #000, #000);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: 0% 100%;
  mask-size: 0% 100%;
  transition: -webkit-mask-size 0.9s var(--ease-out);
  transition: mask-size 0.9s var(--ease-out);
}
.reveal-sweep.is-revealed {
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
/* MISSION/VISION 見出しはゆっくり */
.ab-mv-h.reveal-sweep,
.ab-mv-lead.reveal-sweep,
.ab-mv-body.reveal-sweep {
  transition-duration: 2s;
}
/* pharmacist/pharmacy の見出しも少しゆっくり */
.manifesto-h-mark.reveal-sweep,
.why-us-h-mark.reveal-sweep {
  transition-duration: 1.3s;
}
.manifesto-h ruby { ruby-position: over; }
.manifesto-h rt {
  font-size: 0.38em; font-weight: 700; letter-spacing: 0.08em;
  color: #fff;
}
.manifesto-body { max-width: 50%; margin-bottom: 48px; }
.manifesto-body p {
  font-size: 20px; color: #fff; font-weight: 600;
  line-height: 1.95; margin-bottom: 20px;
}
.manifesto-quote {
  padding: 4px 0; margin: 0;
  font-size: clamp(22px,2.4vw,30px); font-weight: 900;
  color: #fff; line-height: 1.55; max-width: 100%;
}

/* VOICE — testimonial cards */
.voice-sec { background: var(--orange); }
.voice-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 48px; margin-top: 56px;
}
/* カルーセル — デスクトップは3列グリッド */
.voice-carousel { position: relative; }
.voice-carousel-track {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.voice-carousel-track .voice-card {
  box-sizing: border-box;
}
.voice-carousel-nav { display: none; }
.voice-prev, .voice-next {
  background: #fff; border: none; cursor: pointer;
  color: var(--orange); font-size: 20px; font-weight: 700; width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.voice-prev:hover, .voice-next:hover { background: rgba(255,255,255,0.85); }
.voice-dots { display: flex; gap: 10px; align-items: center; }
.voice-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); transition: background 0.2s, transform 0.2s;
}
.voice-dot.is-active { background: #fff; transform: scale(1.3); }
.voice-card {
  cursor: pointer;
  background: var(--orange2);
  border: none;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.voice-photo {
  width: 100%; aspect-ratio: 4/3;
  overflow: hidden; margin-bottom: 18px; position: relative;
}
.voice-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center; display: block;
}
.voice-quote {
  font-size: 21px; font-weight: 700; color: #fff;
  line-height: 1.65; margin-bottom: 12px;
  min-height: calc(1.65em * 2);
  padding: 0 20px;
}
.voice-name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; min-height: 1.4em; padding: 0 20px; }
.voice-tags { display: flex; flex-direction: column; gap: 4px; padding: 0 20px 16px; }
.voice-card-foot { margin-top: auto; display: flex; justify-content: flex-end; padding: 0 16px 16px; }
.voice-card-btn { background: #fff; color: var(--orange2); font-size: 13px; font-weight: 700; border: none; border-radius: 4px; padding: 7px 16px; cursor: pointer; pointer-events: none; transition: opacity 0.2s; }
.voice-card:hover .voice-card-btn { opacity: 0.8; }
.voice-tag {
  box-sizing: border-box;
  padding: 0; font-size: 16px; font-weight: 600; color: #fff;
  display: flex; gap: 8px; align-items: center;
}
.voice-tag-label { color: #fff; flex-shrink: 0; }

/* 薬剤師の声モーダル */
.voice-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.65); display: flex;
  align-items: center; justify-content: center;
  padding: 24px; box-sizing: border-box;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.voice-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.voice-modal-wrap {
  position: relative; max-width: 560px; width: 100%; max-height: 90vh;
}
.voice-modal-box {
  background: var(--orange); border-radius: 16px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.voice-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  background: var(--orange2); border: none; border-radius: 20px; cursor: pointer;
  height: 36px; padding: 0 16px; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  line-height: 1; color: #fff;
  transition: background 0.2s;
}
.voice-modal-close:hover { background: var(--orange); }
.voice-modal-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 16px 16px 0 0; position: relative; }
.voice-modal-slider { width: 100%; height: 100%; overflow: hidden; }
.voice-modal-slides { display: flex; height: 100%; transition: transform 0.35s ease; }
.voice-modal-slide { min-width: 100%; height: 100%; }
.voice-modal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voice-modal-slide-prev,
.voice-modal-slide-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.35); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0; transition: background 0.2s; }
.vm-arrow { display: block; width: 9px; height: 9px; border-top: 2px solid #fff; border-right: 2px solid #fff; }
.vm-arrow-left { transform: rotate(-135deg) translate(-1px, 1px); }
.vm-arrow-right { transform: rotate(45deg) translate(-1px, 1px); }
.voice-modal-slide-prev { left: 8px; }
.voice-modal-slide-next { right: 8px; }
.voice-modal-slide-prev:hover,
.voice-modal-slide-next:hover { background: rgba(0,0,0,0.6); }
.voice-modal-slide-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.vm-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: background 0.2s; }
.vm-dot.is-active { background: #fff; }
.voice-modal-body { padding: 28px 28px 32px; }
.voice-modal-catchphrase {
  font-size: 18px; font-weight: 700; color: #fff;
  line-height: 1.65; margin-bottom: 12px;
}
.voice-modal-name { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.voice-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.voice-modal-tag {
  height: 32px; padding: 0; font-size: 16px; color: #fff; font-weight: 600;
  display: flex; gap: 6px; align-items: center;
}
.voice-modal-tag-label { flex-shrink: 0; font-weight: 600; }
.voice-modal-content { font-size: 15px; line-height: 1.8; color: #fff; font-weight: 600; }

/* FAQ — white bg, accordion */
.faq-sec { background: #fff; }
.faq-hero { margin-bottom: 56px; }
.faq-hero-title {
  font-family: var(--en); font-size: var(--fs-display); font-weight: 900;
  color: var(--dark); line-height: 1; letter-spacing: -0.04em; margin-bottom: 12px;
}
.faq-hero-sub { font-size: var(--fs-h3); font-weight: 700; color: var(--orange); }
.faq-accordion {
  border: 1px solid #e0e0e0;
  display: flex; flex-direction: column;
}
.faq-details { border-bottom: 1px solid #e8e8e8; }
.faq-details:last-child { border-bottom: none; }
.faq-summary {
  display: grid;
  grid-template-columns: 64px 1fr 52px;
  align-items: stretch;
  list-style: none; cursor: pointer;
  transition: background 0.18s;
  min-height: 68px;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker { display: none; }
.faq-summary:hover { background: rgba(255,98,0,0.04); }
.faq-q-badge {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--en); font-size: 22px; font-weight: 900; color: #fff;
  flex-shrink: 0; align-self: stretch;
  background: var(--orange);
}
.faq-q-text {
  font-size: 15px; font-weight: 700; color: var(--dark);
  line-height: 1.55; padding: 20px 20px 20px 24px;
  display: flex; align-items: center;
}
.faq-plus {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--en); font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.3);
  padding: 0 16px; align-self: stretch;
  transition: transform 0.25s, color 0.18s;
}
.faq-details[open] .faq-plus {
  transform: rotate(45deg); color: var(--orange);
}
.faq-answer {
  padding: 20px 24px 28px calc(64px + 24px);
  font-size: var(--fs-sm); color: var(--dark); line-height: 1.9;
  border-top: 1px solid #eeeeee;
  background: #fff;
}

/* =============================================
   NEWS LIST PAGE
============================================= */
.news-page-sec { background: #fff; }
.news-layout { display: grid; grid-template-columns: 1fr; gap: 80px; align-items: start; }
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.cat-btn {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  padding: 8px 18px; border: 1px solid #DDD;
  background: transparent; color: #888; cursor: pointer;
  transition: all 0.18s; font-family: var(--ja);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--orange); color: #fff; border-color: var(--orange);
}
.news-card-list { border-top: 1px solid #E5E5E5; }
.news-card {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 28px; padding: 32px 0; border-bottom: 1px solid #E5E5E5;
  align-items: center; transition: background 0.18s;
}
.news-card:hover { background: #FAFAFA; }
.news-card-img { overflow: hidden; min-width: 0; }
.news-card-img img { width: 100%; height: auto; display: block; }
.news-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.news-meta-date { font-family: var(--en); font-size: 16px; color: #111; }
.news-meta .badge { font-size: 14px; }
.news-card-title { font-size: 19px; font-weight: 700; line-height: 1.55; margin-bottom: 8px; }
.news-card-excerpt { font-size: 16px; color: var(--dark); line-height: 1.75; }
.news-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-family: var(--en); font-size: 15px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange);
  border-bottom: 1px solid var(--orange); padding-bottom: 2px; transition: gap 0.2s;
}
.news-more:hover { gap: 10px; }
.pagination { display: flex; gap: 4px; margin-top: 48px; }
.page-btn {
  width: 40px; height: 40px; border: 1px solid #DDD;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; transition: all 0.18s;
}
.page-btn:hover, .page-btn.active {
  background: var(--orange); color: #fff; border-color: var(--orange);
}
.sidebar { display: flex; flex-direction: column; gap: 36px; }
.sidebar-block { padding: 28px; border: 1px solid #E5E5E5; }
.sidebar-title {
  font-family: var(--en); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #999; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #E5E5E5;
}
.sidebar-list li {
  padding: 9px 0; border-bottom: 1px solid #F0F0F0;
  font-size: var(--fs-sm); display: flex; justify-content: space-between; align-items: center;
}
.sidebar-count { font-family: var(--en); font-size: var(--fs-xs); color: #BBB; }

/* =============================================
   NEWS DETAIL PAGE
============================================= */
/* 固定ヘッダーの高さぶん余白を確保（このページはページヒーローが無いため） */
.article-sec { padding-top: calc(var(--hd-h) + var(--py)); }
.article-layout { display: grid; grid-template-columns: 1fr; gap: 80px; align-items: start; max-width: 820px; margin-inline: auto; }
.article-header { margin-bottom: 40px; }
.article-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.article-date { font-family: var(--en); font-size: 20px; color: #111; }
.article-meta .badge { font-size: 14px; }
.article-title { font-size: clamp(22px, 3.2vw, 44px); font-weight: 900; line-height: 1.25; color: var(--dark); }
.article-hero-img { width: 100%; margin-bottom: 48px; }
.article-hero-img:empty { display: none; }
.article-hero-img img { width: 100%; height: auto; display: block; }
.article-body h2 {
  font-size: 22px; font-weight: 700; color: var(--dark);
  border-left: 4px solid var(--orange); padding-left: 16px; margin: 48px 0 20px;
}
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin: 32px 0 14px; }
.article-body p { font-size: var(--fs-body); line-height: 1.95; color: #111; margin-bottom: 24px; }
.article-body ul { margin-bottom: 24px; }
.article-body ul li {
  font-size: var(--fs-body); color: #111; line-height: 1.85;
  padding: 4px 0 4px 24px; position: relative;
}
.article-body ul li::before { content: '–'; position: absolute; left: 0; color: var(--orange); }
.article-share { margin-top: 56px; padding-top: 32px; border-top: 1px solid #E5E5E5; }
.article-share-label {
  font-family: var(--en); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: #BBB; margin-bottom: 14px;
}
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.article-nav-item {
  padding: 24px; border: 1px solid #E5E5E5;
  font-size: var(--fs-sm); line-height: 1.5; color: #444; transition: border-color 0.2s;
}
.article-nav-item:hover { border-color: var(--orange); color: var(--orange); }
.article-nav-dir {
  font-family: var(--en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #BBB; margin-bottom: 8px;
}

/* =============================================
   CONTACT PAGE
============================================= */
.contact-intro { background: var(--orange); }
.contact-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-layout-sec { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: start; }
.form-group { margin-bottom: 28px; }
.form-label {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); font-weight: 700; margin-bottom: 10px; color: var(--dark);
}
.form-req {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  background: var(--orange); color: #fff; padding: 2px 8px;
}
.form-opt { font-size: 10px; border: 1px solid #DDD; color: #AAA; padding: 2px 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 15px 16px; border: 1px solid #DDD;
  font-size: var(--fs-sm); font-family: var(--ja); line-height: 1.5;
  background: #fff; appearance: none; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,98,0,0.12);
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: var(--fs-xs); color: #AAA; margin-top: 6px; }
.form-radio-group { display: flex; gap: 24px; flex-wrap: wrap; }
.form-radio-label { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); cursor: pointer; }
.form-radio-label input { width: 16px; height: 16px; accent-color: var(--orange); }
.privacy-content h2 { font-size: clamp(20px,2.5vw,28px); font-weight: 700; margin-bottom: 24px; line-height: 1.6; }
.privacy-content h3 { font-size: clamp(16px,2vw,20px); font-weight: 700; margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #E5E5E5; }
.privacy-content h4 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.privacy-content p { font-size: 16px; line-height: 1.9; margin-bottom: 12px; }
.privacy-content ul { padding-left: 1.5em; margin-bottom: 16px; }
.privacy-content li { font-size: 16px; line-height: 1.9; margin-bottom: 6px; }
.privacy-box {
  border: 1px solid #E5E5E5; padding: 20px;
  max-height: 140px; overflow-y: auto;
  font-size: var(--fs-xs); color: var(--dark); line-height: 1.8; margin-bottom: 12px; background: #FAFAFA;
}
.form-check-label { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-sm); cursor: pointer; }
.form-check-label input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--orange); }
.form-submit { margin-top: 36px; }
.form-submit-note { font-size: var(--fs-xs); color: #AAA; margin-top: 10px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 28px; }
.c-info-block { border: 1px solid #E5E5E5; padding: 28px; }
.c-info-title {
  font-family: var(--en); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #BBB; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #E5E5E5;
}
.c-info-item { margin-bottom: 16px; }
.c-info-label { font-size: 11px; color: #AAA; margin-bottom: 4px; }
.c-info-value { font-size: 15px; font-weight: 700; color: var(--dark); }
.c-info-sub { font-size: 11px; color: #AAA; margin-top: 2px; }

/* =============================================
   ANIMATIONS (page load)
============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp 0.7s var(--ease-out) 0.1s both; }
.anim-2 { animation: fadeUp 0.7s var(--ease-out) 0.28s both; }
.anim-3 { animation: fadeUp 0.7s var(--ease-out) 0.46s both; }
.anim-4 { animation: fadeUp 0.7s var(--ease-out) 0.62s both; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .hd-nav { display: none; }
  .hd-hamburger { display: flex; }
  .fv { min-height: 100vh; }
  .fv-body { bottom: clamp(36px, 6vh, 64px); right: var(--px); }
  .fv-catch { font-size: clamp(32px, 7.5vw, 92px); }
  .fv-catch-line2 { white-space: nowrap; }
  .fv-sub { font-size: clamp(16px, 3.8vw, 24px); }
  .ab-mv-grid, .pg-intro-grid,
  .ab-msg-grid, .ab-access-grid, .contact-intro-grid { grid-template-columns: 1fr; }
  .why-us-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-us-body-col { grid-column: 1; }
  .why-us-img-col { grid-column: 1; grid-row: auto; }
  .why-us-body { font-size: 22px; }
  .manifesto-body p { font-size: 18px; }
  .manifesto-quote { font-size: clamp(26px, 2.8vw, 34px); }
  .ab-msg-body p { font-size: 18px; }

  /* お知らせ一覧 */
  .news-meta-date { font-size: 18px; }
  .news-meta .badge { font-size: 16px; }
  .news-card-title { font-size: 23px; }
  .news-card { grid-template-columns: 220px 1fr; }
  /* TOPのお知らせ：タイトルを下の行に */
  .news-row {
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "date cat ." "title title title";
    row-gap: 10px;
  }
  .news-date { grid-area: date; font-size: 18px; }
  .news-cat { grid-area: cat; font-size: 12px; }
  .news-title { grid-area: title; font-size: 20px; }

  /* お知らせ詳細 */
  .article-date { font-size: 20px; color: #111; }
  .article-meta .badge { font-size: 14px; }
  .article-meta { margin-bottom: 20px; }
  .article-body p,
  .article-body ul li { font-size: 20px; font-weight: 500; }

  /* 薬局向け サービス内容 */
  .svc-card-label { font-size: 15px; }
  .svc-card-body { font-size: 20px; }

  /* FAQ */
  .faq-q-text { font-size: 19px; }

  /* 選ばれる理由 本文 */
  .features-alt-body { font-size: 20px; }

  /* 代表メッセージの写真を少し小さく */
  .ab-msg-photo img { width: 95%; margin-inline: auto; }

  /* 薬剤師の声 */
  .voice-quote { font-size: 25px; }
  .voice-name { font-size: 22px; }
  .voice-tag { font-size: 20px; }

  /* TOP FVの人物画像を少し小さく */
  .fv-visual .img-ph,
  .fv-visual img { transform: scale(1.6); }
  .split-grid { grid-template-columns: 1fr; }
  .news-layout, .article-layout, .contact-grid { grid-template-columns: 1fr; }
  .ab-values-grid { grid-template-columns: 1fr; gap: 20px; }
  .top-about-text p.sec-body--white { max-width: 100% !important; }
  .manifesto-body, .manifesto-quote { max-width: 100%; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .features-alt-item { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: 1fr; border-top: none; }
  .svc-card { border-right: none; border-top: 1px solid rgba(255,255,255,0.2); padding: 32px 0; }
  .svc-card-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Stats */
  .stat-num { font-size: clamp(56px, 11vw, 110px); margin-top: 18px; }
  .stat-label { font-size: clamp(15px, 1.8vw, 18px); }
  .stat-unit { font-size: clamp(16px, 2vw, 22px); }

  /* セクション見出し */
  .sec-h { font-size: clamp(28px, 4.5vw, 64px); }
  .sec-h2 { font-size: clamp(22px, 3.2vw, 48px); }
  .sec-lead { font-size: clamp(25px, 2.2vw, 38px); }
  .sec-body, .sec-body--white { font-size: 18px; }

  /* ABOUT */
  .ab-mv-h { font-size: clamp(44px, 5.5vw, 80px); }
  .ab-mv-body { font-size: 18px; }
  .ab-value-text { font-size: clamp(20px, 2.6vw, 28px); }
  .ab-value-sub  { font-size: clamp(16px, 1.8vw, 20px); }
  .ab-msg-name   { font-size: 26px; }
  .ab-msg-role   { font-size: 20px; }
  .ab-visual-sub { font-size: clamp(18px, 2.2vw, 24px); }
  .ab-visual { min-height: 100vh; padding: 80px var(--px); }
  .ab-visual-img { width: clamp(240px, 32vw, 380px); height: clamp(300px, 40vw, 480px); }

  /* スプリット */
  .split-card { min-height: 420px; padding: 44px 36px; }
  .split-card-accent { width: 55%; height: auto; }
  .split-card--orange .split-card-accent { width: 62%; top: 0; bottom: auto; }
  .split-card--sub .split-card-accent { bottom: 0; top: auto; }
  .split-card-link {
    position: static; transform: none;
    margin-top: 16px;
    align-self: flex-start;
    font-size: 20px;
  }

  /* CTA */
  .cta-strip-h { font-size: clamp(28px, 4vw, 64px); }
  .cta-strip-sub { font-size: 16px; }

  /* 薬剤師の声：タブレット以下はカルーセル表示 */
  .voice-carousel { overflow: hidden; width: 100%; }
  .voice-carousel-track {
    display: flex; gap: 0; width: 100%;
    transition: transform 0.4s var(--ease-out);
  }
  .voice-carousel-track .voice-card {
    min-width: 100%; padding: 0;
  }
  .voice-carousel-nav {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .fv-visual img { transform: scale(1.08) translateY(6%); transform-origin: top center; }
  .fv-catch { font-size: clamp(34px, 8.5vw, 92px); }
  .fv-sub { font-size: 16px; }

  /* お知らせ詳細 本文 */
  .article-body p,
  .article-body ul li { font-size: 14px; }

  /* サービス内容 本文 */
  .svc-card-body { font-size: 12px; }
  .features-alt-body { font-size: 14px; }

  /* Stats */
  .stat-item { padding: 0; }
  .stat-num { font-size: clamp(36px, 12vw, 56px); margin-top: 10px; }
  .stat-label { font-size: 15px; }
  .stat-unit { display: inline; margin-left: 4px; margin-top: 0; font-size: 14px; }

  /* セクション見出し */
  .sec-h  { font-size: clamp(26px, 7vw, 48px); }
  .sec-h2 { font-size: clamp(22px, 5.5vw, 36px); }
  .sec-lead { font-size: 21px; }
  .sec-body, .sec-body--white { font-size: 16px; }
  .news-card-title { font-size: 16px; }

  /* ページヒーロー */
  .page-hero { min-height: 300px; padding: calc(40px + var(--hd-h)) var(--px) 40px; }
  .page-hero-title { font-size: clamp(32px, 11vw, 56px); }
  .page-hero-sub { font-size: 16px; }

  /* ナビ */
  .ft-nav { flex-direction: column; gap: 18px; }
  .ft-nav a { font-size: 16px; }

  /* 沿革 */
  .history-item { grid-template-columns: 1fr; gap: 8px; }
  .history-year { font-size: 16px; }
  .history-event { font-size: 16px; }

  /* グリッド */
  .pain-grid { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-row {
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "date cat ." "title title title";
    row-gap: 10px;
  }
  .news-date { grid-area: date; }
  .news-cat { grid-area: cat; }
  .news-title { grid-area: title; font-size: 16px; }
  .ab-msg-grid, .ab-values-grid, .ab-access-grid { grid-template-columns: 1fr; }
  .ab-values-grid { gap: 20px; }
  .process-item { grid-template-columns: 56px 1fr; gap: 16px; }
  .svc-grid { grid-template-columns: 1fr; border-top: none; }
  .svc-card { border-right: none; border-top: 1px solid rgba(255,255,255,0.2); padding: 28px 0; }
  .svc-card-h { font-size: clamp(20px, 5.5vw, 28px); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-h { font-size: 17px; }
  .feature-body { font-size: 16px; }
  .pain-card-h { font-size: 17px; }
  .pain-card-body { font-size: 16px; }

  /* ABOUT */
  .ab-mv-h { font-size: clamp(40px, 8vw, 72px); }
  .ab-value-text { font-size: 20px; }
  .ab-value-sub  { font-size: 16px; }
  .ab-msg-name   { font-size: 20px; }
  .ab-msg-role   { font-size: 16px; }
  .ab-msg-body p { font-size: 16px; }
  .why-us-body { font-size: 16px; }
  .manifesto-body p { font-size: 16px; }
  .ab-visual-sub { font-size: 18px; }
  .ab-visual {
    min-height: 100vh; padding: 60px var(--px);
    background-image: url('../images/ab-visual-bl.webp');
    background-size: cover; background-position: center;
  }
  .ab-visual::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(255, 255, 255, 0.70); z-index: 1;
  }
  .ab-visual-text { z-index: 2; }
  .ab-visual-title { color: var(--orange); }
  .ab-visual-sub { color: var(--orange); }
  .ab-visual-img { display: none; }

  /* スプリットカード */
  .split-card { min-height: 340px; padding: 32px 24px; }
  .split-card-h { font-size: clamp(22px, 6vw, 36px); }
  .split-card-body { font-size: 16px; }
  .split-card-link { font-size: 16px; }
  .split-card-accent { width: 50%; }
  .split-card--orange .split-card-accent { width: 55%; }
  .split-card-link { margin-top: 20px; }

  /* CTA */
  .cta-strip-h { font-size: clamp(24px, 7vw, 48px); }
  .cta-strip-sub { font-size: 16px; }

  /* マニフェスト */
  .manifesto-body, .manifesto-quote { max-width: 100%; }

  /* 声 */
  .voice-grid { grid-template-columns: 1fr; gap: 40px; }
  .voice-photo { max-width: 100%; }
  .voice-quote { min-height: unset; font-size: 20px; }
  .voice-name { min-height: unset; font-size: 16px; }
  .voice-modal-body { padding: 20px 20px 28px; }
  .voice-modal-catchphrase { font-size: 16px; }
  .line-cta-link img { max-width: 248px !important; }

  /* FAQ */
  .faq-summary { grid-template-columns: 48px 1fr 44px; }
  .faq-q-text { font-size: 16px; padding: 16px 12px 16px 16px; }
  .faq-answer { padding: 16px 16px 24px calc(48px + 16px); font-size: 16px; }

  /* ボタン */
  .btn-lg { padding: 18px 32px; font-size: 16px; }
  .cta-strip-btns .btn-lg { width: 100%; justify-content: center; }

  /* 会社概要テーブル */
  .profile-doc-links { flex-direction: column; gap: 8px; }
  .profile-table tr { display: flex; flex-direction: column; padding: 16px 0; }
  .profile-table th { width: 100%; font-size: 15px; padding: 0 0 6px; border: none; }
  .profile-table td { padding: 0; font-size: 16px; }

}
