@charset "UTF-8";

/* =====================================================
 * エイトライフ デザインシステム
 * 白基調 / テーマ青 / 差し色黄色
 * ===================================================== */

html {
  scroll-behavior: smooth;
}
body,
.l-header,
.l-footer,
.el-fullwidth-wrap {
  font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

/* =====================================================
 * ページローダー
 * ===================================================== */
.el-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.el-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.el-loader__inner {
  text-align: center;
}

/* =====================================================
 * ページローダー：会社名
 * ===================================================== */
.el-loader__company {
  font-size: 20px;
  font-weight: 700;
  font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: #111;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  animation: elLoaderCopyIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* ロゴ出現 */
@keyframes elLoaderLogoIn {
  from { opacity: 0; transform: scale(0.72); }
  to   { opacity: 1; transform: scale(1); }
}
/* 揺れ */
@keyframes elLoaderWobble {
  0%   { transform: scale(1)    rotate(0deg); }
  20%  { transform: scale(1.04) rotate(-2.5deg); }
  40%  { transform: scale(1.02) rotate(2deg); }
  60%  { transform: scale(1.04) rotate(-1.5deg); }
  80%  { transform: scale(1.01) rotate(1deg); }
  100% { transform: scale(1)    rotate(0deg); }
}
/* コピー出現 */
@keyframes elLoaderCopyIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.el-loader__logo {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  animation:
    elLoaderLogoIn   0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s  both,
    elLoaderWobble   0.9s ease-in-out                   1.1s  both;
}
.el-loader__copy {
  font-size: 15px;
  color: var(--el-blue);
  font-weight: bold;
  letter-spacing: 0.12em;
  margin-top: 22px;
  animation: elLoaderCopyIn 0.6s ease 1.6s both;
}

/* ─── Design tokens ─── */
:root {
  --el-blue:       #3d8eaf;
  --el-blue-dark:  #2a6e8a;
  --el-blue-mid:   #5aa3c0;
  --el-blue-lite:  #e4f1f7;
  --el-blue-pale:  #f5f9fb;
  --el-yellow:     #e8a54b;
  --el-yellow-dk:  #d4894a;
  --el-yellow-pale:#fdf5ec;
  --el-text:       #2c3e50;
  --el-muted:      #8a9bae;
  --el-border:     #e4eaf0;
  --el-ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --el-radius:     10px;
  --el-bg-warm:    #f7f9fb;
}

/* =====================================================
 * 全幅レイアウト制御
 * el_open_fullwidth() / el_close_fullwidth() と連動
 * ===================================================== */

/* 全幅ラッパー本体：幅いっぱいに広げる */
.el-fullwidth-wrap {
  width: 100%;
  overflow-x: hidden;
}

/* footer.php が閉じるためのダミーコンテナ：見た目には出さない */
.el-dummy-container {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 0 !important;
}

/* Arkhe の #content > .l-content__body が flex で並ぶのを阻止 */
.home .l-content,
.single-pharmacy .l-content,
.post-type-archive-pharmacy .l-content {
  display: block !important;
}
/* ヘッダー直下の余白を詰める（全カスタムページ共通） */
.single-pharmacy .l-content,
.post-type-archive-pharmacy .l-content,
.page-slug-recruit .l-content,
.page-slug-service .l-content,
.page-slug-about .l-content,
.page-slug-intern .l-content,
.home .l-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.single-pharmacy .l-content__body,
.post-type-archive-pharmacy .l-content__body,
.page-slug-recruit .l-content__body,
.page-slug-service .l-content__body,
.page-slug-about .l-content__body,
.page-slug-intern .l-content__body,
.home .l-content__body,
.single-pharmacy .l-content__body.l-container,
.post-type-archive-pharmacy .l-content__body.l-container,
.page-slug-recruit .l-content__body.l-container,
.page-slug-service .l-content__body.l-container,
.page-slug-about .l-content__body.l-container,
.page-slug-intern .l-content__body.l-container,
.home .l-content__body.l-container {
  margin: 0 !important;
  padding: 0 !important;
}
.single-pharmacy .el-fullwidth-wrap {
  margin-top: 0;
  padding-top: 0;
}

/* Arkhe ヘッダーのコンテナ幅も全幅寄せ */
.l-header__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 全カスタムページ：Arkheパンくずを非表示（カスタムパンくずを使用） */
.single-pharmacy .p-breadcrumb,
.post-type-archive-pharmacy .p-breadcrumb,
.page-slug-recruit .p-breadcrumb,
.page-slug-service .p-breadcrumb,
.page-slug-about .p-breadcrumb,
.page-slug-intern .p-breadcrumb,
.home .p-breadcrumb {
  display: none !important;
}

/* HEROロゴ（削除済み — イラスト不使用） */

/* フッター：白ベース + ボーダー */
.l-footer {
  background: #fff !important;
  color: var(--el-muted) !important;
  border-top: 1px solid var(--el-border);
}
.l-footer__inner {
  max-width: 100%;
}
.l-footer__foot .l-container,
.l-footer__widgets .l-container {
  max-width: 1200px;
}

/* ─── Scroll reveal ─── */
.el-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--el-ease), transform 0.7s var(--el-ease);
}
.el-reveal.from-left  { transform: translateX(-44px); }
.el-reveal.from-right { transform: translateX(44px); }
.el-reveal.visible    { opacity: 1; transform: translate(0,0); }
.el-delay-1 { transition-delay: 0.1s; }
.el-delay-2 { transition-delay: 0.2s; }
.el-delay-3 { transition-delay: 0.3s; }
.el-delay-4 { transition-delay: 0.4s; }


/* =====================================================
 * HEADER カスタマイズ
 * ===================================================== */
/* Arkhe のヘッダーを透明→スクロールで白に */
#site-header {
  transition: background 0.4s var(--el-ease), box-shadow 0.4s;
}
#site-header.el-scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 1px 20px rgba(61,142,175,0.1) !important;
  backdrop-filter: blur(8px);
}

/* ナビリンク色 */
.c-headerNav__link,
.c-headerNav__link:visited {
  color: var(--el-blue) !important;
  font-size: 13px;
  font-weight: 600;
}
.c-headerNav__link:hover {
  color: var(--el-blue-dark) !important;
}

/* CTAボタン（最後のナビ項目） */
.c-headerNav__item:last-child .c-headerNav__link {
  background: var(--el-yellow) !important;
  color: var(--el-text) !important;
  padding: 7px 18px !important;
  border-radius: 6px !important;
  font-weight: bold !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.c-headerNav__item:last-child .c-headerNav__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232,165,75,0.4);
}


/* =====================================================
 * SP Sticky CTA
 * ===================================================== */
.el-sp-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.el-sp-sticky__inner { display: flex; }
.el-sp-sticky__btn {
  flex: 1;
  padding: 12px 8px 16px;
  text-align: center;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.el-sp-sticky__btn .ic { font-size: 18px; }
.el-sp-sticky__btn .tx { font-size: 12px; }
.el-sp-sticky__btn .sx { font-size: 10px; opacity: 0.8; }
.el-sp-sticky__btn--tel    { background: var(--el-blue);      color: #fff; }
.el-sp-sticky__btn--kakari { background: var(--el-yellow-dk); color: #fff; }

@media (max-width: 768px) {
  .el-sp-sticky { display: block; }
  .l-footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }
  .el-sp-sticky {
    padding-bottom: env(safe-area-inset-bottom);
  }
}


/* =====================================================
 * 共通レイアウト
 * ===================================================== */
.el-section { padding: 96px 32px; }
.el-section--pale { background: var(--el-bg-warm, #faf7f2); }
.el-inner { max-width: 1200px; margin: 0 auto; }

.el-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--el-blue);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.el-section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--el-yellow);
  border-radius: 1px;
}
.el-section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.el-section-desc {
  font-size: 15px;
  color: var(--el-muted);
  line-height: 1.85;
  max-width: 540px;
}
.el-section-head--center {
  text-align: center;
  margin-bottom: 52px;
}
.el-section-head--center .el-section-label {
  justify-content: center;
}
.el-section-head--center .el-section-desc {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .el-section { padding: 64px 20px; }
}


/* =====================================================
 * HERO（フロントページ）
 * ===================================================== */
.el-hero {
  min-height: 100svh;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

/* 左テキストエリアのフェードイン */
@keyframes elHeroTextIn {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.el-hero__pill  { animation: elHeroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s  both; animation-play-state: paused; }
.el-hero__logo  { animation: elHeroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s  both; animation-play-state: paused; }
.el-hero__h1    { animation: elHeroTextIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s  both; animation-play-state: paused; }
.el-hero__sub   { animation: elHeroTextIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s  both; animation-play-state: paused; }
.el-hero__btns  { animation: elHeroTextIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both; animation-play-state: paused; }
.el-hero__stats { animation: elHeroTextIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s  both; animation-play-state: paused; }

/* 左テキストエリア（白背景） */
.el-hero__left {
  padding: 48px 32px 48px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
  background: #fff;
}
.el-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--el-blue-lite);
  color: var(--el-blue);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
}
.el-hero__pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--el-blue);
}
.el-hero__h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--el-text);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.el-hero__h1 em {
  font-style: normal;
  color: var(--el-blue);
  position: relative;
}
.el-hero__h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--el-yellow);
  opacity: 0.3;
  border-radius: 2px;
  z-index: -1;
}
.el-hero__sub {
  font-size: 15px;
  color: var(--el-muted);
  margin-bottom: 40px;
  line-height: 1.9;
  max-width: 440px;
}
.el-hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.el-btn--hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--el-blue);
  color: #fff;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
  min-height: 50px;
  text-decoration: none;
}
.el-btn--hero-primary:hover {
  background: var(--el-blue-dark);
  transform: translateY(-2px);
  color: #fff;
}
.el-btn--hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--el-border);
  color: var(--el-text);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s;
  min-height: 50px;
  text-decoration: none;
}
.el-btn--hero-outline:hover {
  border-color: var(--el-blue);
  color: var(--el-blue);
}

/* Hero 統計 */
.el-hero__stats {
  display: flex;
  gap: 28px;
}
.el-hero__stat {}
.el-hero__stat .n {
  font-size: 40px;
  font-weight: 700;
  color: var(--el-text);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.el-hero__stat .n sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--el-blue);
}
.el-hero__stat .l {
  font-size: 11px;
  color: var(--el-muted);
  margin-top: 6px;
}

/* Hero 右フォトグリッド */
.el-hero__right {
  position: relative;
  background: var(--el-bg-warm);
  z-index: 1;
}

/* 斜めカットを無効化（白ベースでは不要） */
.el-hero__right::before {
  display: none;
}

.el-hero__photo-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 58% 42%;
  gap: 4px;
  padding: 32px 32px 32px 0;
}

.el-hero__photo-grid .ph {
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.el-hero__photo-grid .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
  display: block;
}

.el-hero__photo-grid .ph:hover img {
  transform: scale(1.04);
}

.el-hero__photo-grid .ph-main {
  grid-row: 1 / 3;
  grid-column: 1;
  border-radius: 16px;
}

/* ── 写真ライズアニメーション（不規則タイミング） ── */
@keyframes elPhotoRise {
  from {
    opacity: 0;
    transform: translateY(56px) scale(0.95);
    filter: brightness(0.6);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

/* 右上：最初に現れる（小さい写真が先に出て期待感を作る） */
.el-hero__photo-grid .ph:nth-child(2) {
  animation: elPhotoRise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  animation-play-state: paused;
}
/* 右下：少し遅れて */
.el-hero__photo-grid .ph:nth-child(3) {
  animation: elPhotoRise 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
  animation-play-state: paused;
}
/* メイン（縦長・左）：最後にゆっくり大きく立ち上がる */
.el-hero__photo-grid .ph-main {
  animation: elPhotoRise 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
  animation-play-state: paused;
}

/* ローダー完了後にアニメーション開始 */
.el-loaded .el-hero__pill,
.el-loaded .el-hero__logo,
.el-loaded .el-hero__h1,
.el-loaded .el-hero__sub,
.el-loaded .el-hero__btns,
.el-loaded .el-hero__stats,
.el-loaded .el-hero__photo-grid .ph:nth-child(2),
.el-loaded .el-hero__photo-grid .ph:nth-child(3),
.el-loaded .el-hero__photo-grid .ph-main {
  animation-play-state: running;
}

/* オーバーレイは非表示（白ベースでは不要） */
.el-hero__photo-grid .ph-overlay {
  display: none;
}

.el-hero__photo-grid .ph-label {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: var(--el-text);
  font-size: 11px; font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}

/* Scroll indicator */
.el-scroll-indicator {
  position: absolute;
  bottom: 36px; right: 48px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--el-muted);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}
.el-scroll-indicator__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.el-scroll-line {
  width: 44px; height: 1px;
  background: var(--el-border);
  position: relative;
  overflow: hidden;
}
.el-scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--el-yellow);
  animation: elScrollLine 2s ease infinite;
}
@keyframes elScrollLine {
  0%   { left: -100%; }
  100% { left:  100%; }
}

/* Scroll Chevron（V字バウンド） */
.el-scroll-chevron-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  animation: elChevronBounce 1.7s ease-in-out infinite;
  pointer-events: none;
}
.el-scroll-chevron {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--el-muted);
  border-bottom: 2px solid var(--el-muted);
  transform: rotate(45deg);
}
.el-scroll-chevron:nth-child(2) {
  opacity: 0.35;
}
@keyframes elChevronBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

@media (max-width: 768px) {
  .el-scroll-chevron-wrap { display: none; }
}

@media (max-width: 960px) {
  /* タブレット */
  .el-hero { grid-template-columns: 1fr 1fr; }
  .el-hero__left { padding: 48px 40px 48px 40px; }
}

@media (max-width: 768px) {
  /* SP：縦積みに切り替え */
  .el-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .el-hero__left {
    padding: 32px 24px 32px;
  }
  .el-hero__right { height: 60vw; }
  .el-hero__photo-grid {
    position: relative;
    inset: auto;
    padding: 16px;
    height: 100%;
  }
  .el-scroll-indicator { display: none; }
}


/* =====================================================
 * TICKER（流れるテキスト）
 * ===================================================== */
.el-ticker {
  background: #fff;
  border-top: 1px solid var(--el-border);
  border-bottom: 1px solid var(--el-border);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.el-ticker__track {
  display: inline-flex;
  animation: elTicker 30s linear infinite;
}
.el-ticker:hover .el-ticker__track {
  animation-play-state: paused;
}
@keyframes elTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.el-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--el-text);
  font-size: 13px;
  font-weight: 700;
  padding: 0 28px;
  letter-spacing: 0.04em;
}
.el-ticker__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--el-blue);
  flex-shrink: 0;
}


/* =====================================================
 * ABOUT セクション
 * ===================================================== */
.el-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.el-about__img-block { position: relative; }
.el-about__img-main {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 20px; overflow: hidden;
}
.el-about__img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.el-about__img-sub {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 55%;
  border-radius: 16px; overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 12px 32px rgba(61,142,175,0.2);
  aspect-ratio: 4/3;
}
.el-about__img-sub img { width: 100%; height: 100%; object-fit: cover; display: block; }
.el-about__accent {
  position: absolute;
  top: 40px; left: -16px;
  width: 6px; height: 80px;
  background: var(--el-yellow);
  border-radius: 3px;
}
.el-about__text p {
  font-size: 15px;
  color: #4a5a6a;
  line-height: 1.95;
  margin-bottom: 16px;
}
.el-about__nums {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--el-border);
}
.el-about__num .n {
  font-size: 40px; font-weight: 900;
  color: var(--el-blue); line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.el-about__num .n span { font-size: 16px; }
.el-about__num .l { font-size: 12px; color: var(--el-muted); margin-top: 4px; }

@media (max-width: 900px) {
  .el-about__grid { grid-template-columns: 1fr; gap: 48px; }
  .el-about__img-sub { right: 0; bottom: -20px; }
}


/* =====================================================
 * SERVICE カード
 * ===================================================== */
.el-service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.el-svc-card {
  background: #fff;
  border-radius: var(--el-radius);
  padding: 28px 22px;
  border: 1px solid var(--el-border);
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--el-ease), box-shadow 0.3s;
  cursor: default;
}
.el-svc-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--el-blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--el-ease);
}
.el-svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(61,142,175,0.12); }
.el-svc-card:hover::after { transform: scaleX(1); }
.el-svc-num {
  font-size: 56px; font-weight: 900;
  color: var(--el-blue-lite);
  position: absolute; top: 8px; right: 14px;
  line-height: 1; user-select: none;
  transition: color 0.3s;
}
.el-svc-card:hover .el-svc-num { color: rgba(61,142,175,0.08); }
.el-svc-icon {
  width: 52px; height: 52px;
  background: var(--el-blue-lite);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
  transition: background 0.3s, transform 0.3s;
}
.el-svc-card:hover .el-svc-icon { background: var(--el-yellow); transform: scale(1.1); }
.el-svc-card h3 { font-size: 15px; font-weight: bold; margin-bottom: 10px; line-height: 1.4; }
.el-svc-card p  { font-size: 13px; color: var(--el-muted); line-height: 1.75; }
.el-svc-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px; font-size: 13px; font-weight: bold; color: var(--el-blue);
  text-decoration: none;
}
.el-svc-link .arrow { display: inline-block; transition: transform 0.2s; }
.el-svc-card:hover .el-svc-link .arrow { transform: translateX(4px); }

@media (max-width: 900px) { .el-service-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .el-service-cards { grid-template-columns: 1fr; } }


/* =====================================================
 * SERVICE 写真カードグリッド
 * ===================================================== */
.el-svc-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.el-svc-photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: block;
  text-decoration: none;
}

.el-svc-photo-card__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--el-ease);
}
.el-svc-photo-card:hover .el-svc-photo-card__bg {
  transform: scale(1.08);
}

.el-svc-photo-card__overlay {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.el-svc-photo-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 22px 22px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.el-svc-photo-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 11px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.el-svc-photo-card__tag--human   { background: var(--el-yellow);    color: var(--el-text); }
.el-svc-photo-card__tag--digital { background: var(--el-blue-mid);  color: #fff; }

.el-svc-photo-card__icon  { font-size: 28px; display: block; margin-bottom: 8px; }
.el-svc-photo-card__title {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 7px;
}
.el-svc-photo-card__desc {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.el-svc-photo-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: bold;
  color: var(--el-yellow);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.el-svc-photo-card:hover .el-svc-photo-card__link {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .el-svc-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .el-svc-photo-grid { grid-template-columns: 1fr; }
  .el-svc-photo-card { aspect-ratio: 4 / 3; }
}


/* =====================================================
 * STORE スライダー
 * ===================================================== */
.el-stores__head {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap; gap: 16px;
}
.el-btn--all {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--el-border); color: var(--el-text);
  padding: 10px 22px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.el-btn--all:hover { border-color: var(--el-blue); color: var(--el-blue); }

.el-store-slider-wrap {
  overflow: hidden;
  position: relative;
}
/* 両サイドのグラデーションフェード */
.el-store-slider-wrap::before,
.el-store-slider-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px;
  pointer-events: none;
  z-index: 2;
}
.el-store-slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.98), transparent);
}
.el-store-slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.98), transparent);
}

.el-store-slider {
  display: flex; gap: 24px;
  overflow-x: auto;
  /* 先頭・末尾カードもセンタースナップできるよう左右にパディング */
  padding: 16px calc(50% - 250px) 32px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.el-store-slider:active { cursor: grabbing; }
.el-store-slider::-webkit-scrollbar { display: none; }

/* スライダー内のカードのみセンターフォーカス対象 */
.el-store-slider .el-store-card {
  min-width: 500px; max-width: 500px;
  scroll-snap-align: center;
  flex-shrink: 0;
  opacity: 0.45;
  filter: brightness(0.6);
  transform: scale(0.95);
  transition: opacity 0.4s var(--el-ease), filter 0.4s var(--el-ease), transform 0.4s var(--el-ease), box-shadow 0.4s;
}
.el-store-slider .el-store-card.is-active {
  opacity: 1;
  filter: brightness(1);
  transform: scale(1);
  box-shadow: 0 20px 48px rgba(61,142,175,0.15);
}

.el-store-card {
  background: #fff;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--el-text);
}
.el-store-card__img {
  height: 240px; position: relative; overflow: hidden;
}
.el-store-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.5s var(--el-ease);
}
.el-store-card:hover .el-store-card__img img { transform: scale(1.06); }
.el-store-card__area {
  position: absolute; top: 10px; left: 10px;
  background: #fff; color: var(--el-blue);
  font-size: 10px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.el-store-card__body { padding: 18px; }
.el-store-card__body h3 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.el-store-card__addr { font-size: 12px; color: var(--el-muted); margin-bottom: 3px; }
.el-store-card__tel  { font-size: 13px; font-weight: bold; color: var(--el-blue); margin-bottom: 10px; }
.el-store-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.el-store-card__tags span {
  background: var(--el-blue-lite); color: var(--el-blue);
  font-size: 10px; padding: 2px 8px; border-radius: 20px;
}
.el-store-card__btn {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--el-blue);
  padding: 10px 0 0; border-top: 1px solid var(--el-border);
  font-size: 13px; font-weight: 700;
}

/* SP：カード幅を画面幅の80%に */
@media (max-width: 600px) {
  .el-store-slider .el-store-card { min-width: 80vw; max-width: 80vw; }
  .el-store-slider { padding-left: 10vw; padding-right: 10vw; }
  .el-store-slider-wrap::before,
  .el-store-slider-wrap::after { width: 60px; }
}

/* スライダーコントロールボタン */
.el-slider-controls {
  display: flex; gap: 10px;
  margin-top: 20px; justify-content: center;
}
.el-slider-btn {
  width: 44px; height: 44px;
  background: #fff;
  border: 1.5px solid var(--el-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--el-blue);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  line-height: 1;
}
.el-slider-btn:hover { background: var(--el-blue); color: #fff; border-color: var(--el-blue); }


/* =====================================================
 * 店舗ページ：お知らせセクション
 * ===================================================== */
.el-store-news {
  margin-top: 48px;
  padding: 40px;
  background: var(--el-pale);
  border-radius: var(--el-radius);
}
.el-store-news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.el-store-news__head h2 {
  font-size: 18px;
  font-weight: bold;
}

/* =====================================================
 * NEWS セクション
 * ===================================================== */
.el-news__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.el-news-list { display: flex; flex-direction: column; }
.el-news-item {
  display: flex; align-items: baseline; gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--el-border);
  text-decoration: none; color: var(--el-text);
  transition: color 0.2s;
}
.el-news-item:first-child { border-top: 1px solid var(--el-border); }
.el-news-item:hover { color: var(--el-blue); }
.el-news-item__date { font-size: 13px; color: var(--el-muted); white-space: nowrap; }
.el-news-item__cat {
  background: var(--el-blue-lite); color: var(--el-blue);
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px; white-space: nowrap;
}
.el-news-item__cat--yellow { background: var(--el-yellow-pale); color: var(--el-yellow-dk); }
.el-news-item__title { font-size: 14px; }
.el-btn--more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--el-blue);
  font-size: 13px; font-weight: 700;
  margin-top: 24px; text-decoration: none;
  transition: gap 0.2s;
}
.el-btn--more:hover { gap: 10px; color: var(--el-blue); }

/* News サイドカード */
.el-news__side { display: flex; flex-direction: column; gap: 16px; }
.el-news-side-card {
  border-radius: var(--el-radius); overflow: hidden;
  border: 1px solid var(--el-border);
}
.el-news-side-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.el-news-side-card__body {
  padding: 20px;
  background: #fff;
}
.el-news-side-card__body p  {
  font-size: 11px; color: var(--el-blue); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px;
}
.el-news-side-card__body h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.el-news-side-card__body--yellow { background: #fff !important; }
.el-nsc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--el-blue);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .el-news__grid { grid-template-columns: 1fr; }
}


/* =====================================================
 * RECRUIT バナー
 * ===================================================== */
.el-recruit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.el-recruit__photo { position: relative; overflow: hidden; }
.el-recruit__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.el-recruit__photo::after {
  content: '';
  position: absolute; inset: 0;
  background: none;
}
.el-recruit__text {
  background: #fff;
  padding: 72px 64px;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--el-border);
  border-bottom: 1px solid var(--el-border);
}
.el-recruit__text .el-section-label { color: var(--el-blue); }
.el-recruit__text .el-section-label::before { background: var(--el-yellow); }
.el-recruit__text .el-section-title { color: var(--el-text); margin-bottom: 14px; }
.el-recruit__text p { font-size: 14px; color: var(--el-muted); line-height: 1.9; margin-bottom: 32px; }
.el-btn--recruit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--el-blue); color: #fff;
  padding: 15px 36px; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  width: fit-content;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.el-btn--recruit:hover {
  background: var(--el-blue-dark);
  transform: translateY(-2px);
  color: #fff;
}

@media (max-width: 768px) {
  .el-recruit { grid-template-columns: 1fr; }
  .el-recruit__photo { height: 240px; }
  .el-recruit__text { padding: 48px 24px; }
}


/* =====================================================
 * 店舗個別ページ（single-pharmacy）
 * ===================================================== */

/* パンくずリスト */
.el-breadcrumb {
  background: var(--el-blue-pale);
  border-bottom: 1px solid #d4e4ec;
  padding: 10px 24px;
  font-size: 12px; color: var(--el-muted);
}
.el-breadcrumb a { color: var(--el-blue); text-decoration: none; }
.el-breadcrumb a:hover { text-decoration: underline; }
.el-breadcrumb span { margin: 0 6px; }

/* 店舗ヒーロー写真グリッド */
.el-store-hero__imgs {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 6px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
}
.el-store-hero__imgs .ph-main {
  grid-row: 1 / 3;
  overflow: hidden;
}
.el-store-hero__imgs .ph-main img,
.el-store-hero__imgs .ph-sub img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.el-store-hero__imgs .ph-sub { overflow: hidden; }

/* 店舗名ヘッド */
.el-store-hero__head {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 40px;
}
.el-store-area-tag {
  display: inline-block;
  background: var(--el-blue-lite); color: var(--el-blue);
  font-size: 12px; font-weight: bold;
  padding: 3px 12px; border-radius: 20px;
  margin-bottom: 8px;
}
.el-store-name { font-size: clamp(24px, 5vw, 36px); font-weight: 900; margin-bottom: 4px; }
.el-store-name-en { font-size: 13px; color: var(--el-muted); letter-spacing: 0.08em; }

/* CTA ボタン */
.el-store-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.el-btn--tel {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--el-blue); color: #fff;
  padding: 12px 24px; border-radius: 8px;
  font-size: 15px; font-weight: bold;
  box-shadow: 0 4px 12px rgba(61,142,175,0.3);
  transition: transform 0.2s;
  text-decoration: none;
}
.el-btn--tel small { display: block; font-size: 10px; font-weight: normal; opacity: 0.8; }
.el-btn--tel:hover { transform: translateY(-2px); color: #fff; }
.el-btn--fax {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--el-blue-lite); color: var(--el-blue);
  padding: 12px 20px; border-radius: 8px;
  font-size: 14px; font-weight: bold;
  border: 1.5px solid #a0c8d8;
  transition: background 0.2s;
  text-decoration: none;
}
.el-btn--fax:hover { background: #bbd8e8; color: var(--el-blue); }

/* 店舗レイアウト（サイドバーはPC非表示） */
.el-store-grid {
  display: block;
}
.el-store-grid > aside {
  display: none;
}

/* カード */
.el-card {
  background: #fff;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.el-card__head {
  background: var(--el-blue-pale);
  border-bottom: 1px solid #d4e4ec;
  padding: 13px 20px;
  display: flex; align-items: center; gap: 10px;
}
.el-card__head h2 { font-size: 15px; font-weight: bold; color: var(--el-blue); }
.el-card__body { padding: 20px; }
.el-card__body--no-pad { padding: 0; }

/* 情報テーブル */
.el-info-table { width: 100%; border-collapse: collapse; }
.el-info-table th,
.el-info-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--el-border);
  font-size: 14px; vertical-align: top; text-align: left;
}
.el-info-table tr:last-child th,
.el-info-table tr:last-child td { border-bottom: none; }
.el-info-table th {
  width: 90px; min-width: 80px;
  color: var(--el-blue); font-weight: bold;
  background: var(--el-blue-pale);
  white-space: nowrap;
}
.el-tel-link { color: var(--el-blue); font-weight: bold; font-size: 17px; text-decoration: none; }
.el-tel-link:hover { text-decoration: underline; }

/* デジタルサービスバッジ */
.el-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.el-badge-item {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--el-blue-lite);
  border-radius: 10px; padding: 12px 14px;
}
.el-badge-item--full { grid-column: 1 / -1; }
.el-badge-item--kakari {
  background: var(--el-yellow-pale);
  border: 1px solid #f0d4a8;
}
.el-badge-item--sokuyaku {
  background: #e4f1f7;
  border: 1px solid #a0c8d8;
}
.el-badge-icon { display: none; }
.el-badge-text strong {
  display: block; font-size: 12px; font-weight: bold;
  color: var(--el-blue); line-height: 1.3;
}
.el-badge-item--kakari .el-badge-text strong { color: var(--el-yellow-dk); }
.el-badge-item--sokuyaku .el-badge-text strong { color: #2a6e8a; }
.el-badge-text span { font-size: 11px; color: #4a5568; }
.el-badge-app-btns { display: flex; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.el-badge-app-btns a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 6px;
  font-size: 11px; font-weight: bold; text-decoration: none;
}
.el-badge-app-btns .ios { background: #1a1a1a; color: #fff; }
.el-badge-app-btns .android { background: var(--el-blue); color: #fff; }

/* 特徴リスト */
.el-feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.el-feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--el-blue-pale);
  border-radius: 10px; padding: 14px;
  border-left: 4px solid var(--el-blue);
}
.el-feature-list .f-icon { display: none; }
.el-feature-list h3 { font-size: 14px; font-weight: bold; margin-bottom: 4px; }
.el-feature-list p { font-size: 13px; color: #4a5568; line-height: 1.65; }

/* マッププレースホルダー */
.el-map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--el-border); }
.el-map-wrap iframe { display: block; width: 100%; height: 350px; border: none; }
.el-btn--map {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--el-blue-pale); color: var(--el-blue);
  padding: 11px 16px; border-radius: 8px;
  font-size: 13px; font-weight: bold;
  border: 1px solid #a5c8d8;
  transition: background 0.2s; margin-top: 10px;
  text-decoration: none;
}
.el-btn--map:hover { background: var(--el-blue-lite); color: var(--el-blue); }

/* サイドバー */
.el-side-tel-card {
  background: var(--el-blue);
  border-radius: var(--el-radius);
  padding: 20px; color: #fff;
  margin-bottom: 18px; text-align: center;
}
.el-side-tel-card p { font-size: 12px; opacity: 0.85; margin-bottom: 6px; }
.el-side-tel-num { font-size: 24px; font-weight: 900; display: block; margin-bottom: 4px; color: #fff; text-decoration: none; }
.el-side-tel-hours { font-size: 11px; opacity: 0.75; margin-bottom: 14px; }
.el-side-btn {
  display: block; text-align: center;
  padding: 11px; border-radius: 8px;
  font-size: 13px; font-weight: bold;
  margin-bottom: 8px; text-decoration: none;
  transition: opacity 0.2s;
}
.el-side-btn:hover { opacity: 0.9; }
.el-side-btn--white { background: #fff; color: var(--el-blue); }
.el-side-btn--ghost { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.35); }

.el-side-kakari-card {
  background: var(--el-yellow-pale);
  border: 2px solid var(--el-yellow);
  border-radius: var(--el-radius);
  padding: 20px; margin-bottom: 18px; text-align: center;
}
.el-side-kakari-card h3 { font-size: 15px; font-weight: bold; color: var(--el-blue); margin-bottom: 8px; }
.el-side-kakari-card p  { font-size: 12px; color: #4a5568; line-height: 1.65; margin-bottom: 14px; }
.el-side-btn--kakari { background: var(--el-yellow-dk); color: #fff; }
.el-side-btn--sokuyaku { background: var(--el-blue); color: #fff; }

.el-side-map-card {
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  overflow: hidden; margin-bottom: 18px;
}
.el-side-map-actions {
  display: flex; gap: 8px; padding: 10px;
}
.el-side-map-actions a {
  flex: 1; text-align: center;
  background: var(--el-blue-pale); color: var(--el-blue);
  padding: 9px 6px; border-radius: 7px;
  font-size: 12px; font-weight: bold;
  border: 1px solid #a5c8d8; text-decoration: none;
}
.el-side-map-actions a:hover { background: var(--el-blue-lite); }

/* 他店舗グリッド */
.el-other-stores { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--el-border); }
.el-other-stores h2 { font-size: 20px; font-weight: bold; margin-bottom: 20px; }
.el-other-stores__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.el-other-store-card {
  border: 1px solid var(--el-border); border-radius: 10px;
  padding: 13px 15px; display: flex; align-items: center; gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s; text-decoration: none; color: var(--el-text);
}
.el-other-store-card:hover { border-color: var(--el-blue); box-shadow: 0 3px 10px rgba(61,142,175,0.1); }
.el-other-store-card .os-icon {
  width: 38px; height: 38px; background: var(--el-blue-lite);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.el-other-store-card h3 { font-size: 13px; font-weight: bold; margin-bottom: 2px; }
.el-other-store-card p  { font-size: 11px; color: var(--el-muted); }

@media (max-width: 900px) {
  .el-other-stores__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .el-store-hero__imgs {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 130px;
  }
  .el-store-hero__imgs .ph-main { grid-row: 1; }
  .el-store-hero__imgs .ph-sub:last-child { display: none; }
  .el-badges-grid { grid-template-columns: 1fr; }
  .el-badge-item--full { grid-column: 1; }
  .el-other-stores__grid { grid-template-columns: 1fr; }
  .el-store-news { padding: 24px 16px; }
  .el-news-item {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .el-news-item__title {
    width: 100%;
    flex-basis: 100%;
  }
}


/* =====================================================
 * フッター上書き
 * ===================================================== */
#site-footer {
  background: #1a2f2b !important;
}
.c-footer a { color: rgba(255,255,255,0.65) !important; }
.c-footer a:hover { color: #fff !important; }


/* =====================================================
 * ユーティリティ
 * ===================================================== */
.el-text-blue   { color: var(--el-blue) !important; }
.el-text-yellow { color: var(--el-yellow-dk) !important; }
.el-bg-pale     { background: var(--el-blue-pale) !important; }
.el-divider     { height: 1px; background: var(--el-border); max-width: 1200px; margin: 0 auto; }


/* =====================================================
 * 採用情報ページ（page-recruit）
 * ===================================================== */

/* 二重スクロールバー防止：全ラッパーの overflow を解除 */
.page-slug-recruit .l-wrapper,
.page-slug-recruit .l-content,
.page-slug-recruit .l-content__body,
.page-slug-recruit .el-fullwidth-wrap {
  overflow: visible !important;
  overflow-x: visible !important;
}
/* ヒーロー（写真背景） */
.el-recruit-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.el-recruit-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,110,138,0.82) 0%, rgba(61,142,175,0.72) 60%, rgba(90,163,192,0.65) 100%);
}
.el-recruit-hero__inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  padding: 80px 32px;
  animation: elRecruitHeroIn 0.8s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes elRecruitHeroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.el-recruit-hero__label {
  display: inline-block;
  background: #e8a54b;
  color: #2d3436;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.el-recruit-hero__title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.el-recruit-hero__sub {
  font-size: 16px;
  opacity: 0.9;
  letter-spacing: 0.06em;
}

/* メッセージ（画像 + テキスト 2カラム） */
.el-recruit-message { padding-top: 80px; padding-bottom: 80px; }
.el-recruit-message__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.el-recruit-message__img {
  border-radius: var(--el-radius);
  overflow: hidden;
  position: relative;
}
.el-recruit-message__img::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--el-yellow);
  border-radius: var(--el-radius);
  z-index: -1;
}
.el-recruit-message__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--el-radius);
}
.el-recruit-message__text .el-section-label { color: var(--el-blue); }
.el-recruit-message__text .el-section-label::before { background: var(--el-yellow); }
.el-recruit-message__text .el-section-title { color: var(--el-text); margin-bottom: 20px; }
.el-recruit-message__text p {
  font-size: 15px;
  line-height: 2;
  color: var(--el-text);
  margin-bottom: 14px;
}
.el-recruit-message__text p:last-child { margin-bottom: 0; }

/* テーブル（ゆとりある行高） */
.el-recruit-table th,
.el-recruit-table td {
  padding: 16px 20px;
  font-size: 15px;
}
.el-recruit-table th {
  width: 130px;
  min-width: 110px;
}

/* 募集要項 2カラム（テーブル + 数値ハイライト） */
.el-recruit-req-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.el-recruit-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.el-recruit-highlight {
  background: var(--el-blue-pale);
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s var(--el-ease), box-shadow 0.3s var(--el-ease);
}
.el-recruit-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(61,142,175,0.12);
}
.el-recruit-highlight__num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--el-blue);
  line-height: 1.2;
  margin-bottom: 6px;
}
.el-recruit-highlight__num small {
  font-size: 14px;
  font-weight: 700;
}
.el-recruit-highlight__label {
  font-size: 12px;
  color: var(--el-muted);
  font-weight: 600;
}

/* 研修制度（画像 + ステップ型カード 2カラム） */
.el-recruit-training-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.el-recruit-training-photo {
  border-radius: var(--el-radius);
  overflow: hidden;
}
.el-recruit-training-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--el-radius);
}
.el-recruit-training-content .el-section-label { color: var(--el-blue); }
.el-recruit-training-content .el-section-label::before { background: var(--el-yellow); }
.el-recruit-training-content .el-section-title { color: var(--el-text); }
.el-recruit-training-content .el-section-desc { color: var(--el-muted); }

.el-recruit-training-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.el-recruit-training-step {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  padding: 20px;
  transition: transform 0.3s var(--el-ease), box-shadow 0.3s var(--el-ease);
}
.el-recruit-training-step:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(61,142,175,0.1);
}
.el-recruit-training-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--el-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.el-recruit-training-step__body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--el-text);
  margin-bottom: 4px;
}
.el-recruit-training-step__body p {
  font-size: 13px;
  color: var(--el-muted);
  line-height: 1.75;
}

/* 働く魅力（画像カード） */
.el-recruit-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.el-recruit-fcard {
  background: #fff;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  overflow: hidden;
  transition: transform 0.4s var(--el-ease), box-shadow 0.4s var(--el-ease);
}
.el-recruit-fcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(61,142,175,0.13);
}
.el-recruit-fcard__img {
  height: 180px;
  overflow: hidden;
}
.el-recruit-fcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--el-ease);
}
.el-recruit-fcard:hover .el-recruit-fcard__img img {
  transform: scale(1.06);
}
.el-recruit-fcard__body {
  padding: 20px;
}
.el-recruit-fcard__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--el-text);
  margin-bottom: 8px;
}
.el-recruit-fcard__desc {
  font-size: 13px;
  color: var(--el-muted);
  line-height: 1.8;
}

/* CTAセクション */
.el-recruit-cta {
  background: linear-gradient(135deg, #2a6e8a 0%, #3d8eaf 60%, #5aa3c0 100%);
  padding: 88px 32px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.el-recruit-cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(232,165,75,0.08);
}
.el-recruit-cta::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.el-recruit-cta__inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.el-recruit-cta .el-section-label::before {
  background: rgba(255,255,255,0.4);
}
.el-recruit-cta__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
}
.el-recruit-cta__desc {
  font-size: 15px;
  opacity: 0.88;
  margin-bottom: 36px;
  line-height: 1.8;
}
.el-recruit-cta__buttons {
  margin-bottom: 16px;
}
.el-recruit-cta__buttons .el-btn--recruit {
  background: #fff;
  color: var(--el-blue);
  font-size: 16px;
  padding: 18px 44px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.el-recruit-cta__buttons .el-btn--recruit:hover {
  background: var(--el-yellow);
  color: #2d3436;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.el-recruit-cta__note {
  font-size: 13px;
  opacity: 0.7;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .el-recruit-features-grid { grid-template-columns: repeat(2, 1fr); }
  .el-recruit-req-grid { grid-template-columns: 1fr; }
  .el-recruit-highlights { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .el-recruit-hero { min-height: 300px; }
  .el-recruit-hero__inner { padding: 56px 20px; }
  .el-recruit-message__grid { grid-template-columns: 1fr; gap: 32px; }
  .el-recruit-message__img::after { display: none; }
  .el-recruit-training-layout { grid-template-columns: 1fr; gap: 32px; }
  .el-recruit-highlights { grid-template-columns: repeat(2, 1fr); }
  .el-recruit-table th { width: 100px; min-width: 90px; }
  .el-recruit-table th,
  .el-recruit-table td { padding: 14px 16px; font-size: 14px; }
  .el-recruit-cta { padding: 64px 20px; }
}
@media (max-width: 560px) {
  .el-recruit-features-grid { grid-template-columns: 1fr; }
  .el-recruit-highlights { grid-template-columns: 1fr 1fr; }
  .el-recruit-message__text p { font-size: 14px; }
}


/* =====================================================
 * 店舗専用ページローダー
 * ===================================================== */
.el-ph-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #2a6e8a 0%, #3d8eaf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.el-ph-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* ローダー中はヘッダー非表示 */
body:has(.el-ph-loader:not(.is-done)) .l-header {
  opacity: 0;
  pointer-events: none;
}
body:has(.el-ph-loader.is-done) .l-header,
body.el-loaded .l-header {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}
.el-ph-loader__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  animation: elPhAllIn 0.6s ease-out 0.2s forwards;
}
@keyframes elPhAllIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* 十字マーク（ゴシック太十字・角ばり・回転） */
.el-ph-loader__cross {
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
  animation: elPhCrossSpin 1.2s ease-out forwards;
}
.el-ph-loader__cross::before,
.el-ph-loader__cross::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 0;
}
.el-ph-loader__cross::before {
  width: 12px; height: 44px;
  top: 0; left: 50%;
  transform: translateX(-50%);
}
.el-ph-loader__cross::after {
  width: 44px; height: 12px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
@keyframes elPhCrossSpin {
  0%   { transform: rotate(0deg); }
  70%  { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}

/* 薬局名 */
.el-ph-loader__name {
  font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fcf649;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
/* ロゴ */
.el-ph-loader__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}


/* =====================================================
 * 店舗ヒーロー（左画像＋右テキスト）
 * ===================================================== */
.el-store-hero {
  display: flex !important;
  flex-direction: row !important;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}
.el-store-hero__img {
  flex: 1 1 auto;
  width: calc(100% - 400px);
  min-width: 0;
  overflow: hidden;
}
.el-store-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  animation: elHeroZoom 6s ease-out forwards;
}
@keyframes elHeroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.el-store-hero__text {
  flex: 0 0 400px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 36px;
  position: relative;
  overflow: hidden;
}
.el-store-hero__area {
  display: inline-block;
  background: var(--el-blue-lite);
  color: var(--el-blue);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  align-self: flex-start;
  opacity: 0;
  transform: translateX(20px);
  animation: elHeroTextIn 0.7s ease-out 0.15s forwards;
}
.el-store-hero__catch {
  font-size: 15px;
  color: var(--el-muted);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  opacity: 0;
  transform: translateX(20px);
  animation: elHeroTextIn 0.7s ease-out 0.3s forwards;
}
.el-store-hero__name {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  color: var(--el-text);
  letter-spacing: 0.04em;
  line-height: 1.3;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
  animation: elHeroTextIn 0.7s ease-out 0.5s forwards;
}
@keyframes elHeroTextIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.el-store-hero__text:hover .el-store-hero__name {
  color: var(--el-blue);
}
.el-store-hero__watermark {
  position: absolute;
  bottom: -20px;
  right: -10px;
  height: 260px;
  width: auto;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
/* ヒーロー下線 */
.el-store-hero {
  border-bottom: 1px solid var(--el-border);
}

/* ヒーロー直下 CTA */
.el-store-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
}

/* サブ写真（ヒーロー下に小さく表示） */
.el-store-sub-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.el-store-sub-imgs img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--el-radius);
  display: block;
}


/* =====================================================
 * セクション区切りラベル（店舗ページ用）
 * ===================================================== */
.el-ph-section-divider {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--el-border);
}
.el-ph-section-divider .el-section-label {
  margin-bottom: 6px;
}
.el-ph-section-divider .el-section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--el-text);
  margin: 0;
}
.el-ph-section-divider:first-child {
  margin-top: 0;
}


/* =====================================================
 * 特徴セクション（画像＋テキスト 2カラム）
 * ===================================================== */
.el-ph-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.el-ph-feature-img {
  border-radius: var(--el-radius);
  overflow: hidden;
  position: relative;
}
.el-ph-feature-img::after {
  content: '';
  position: absolute;
  bottom: -10px; right: -10px;
  width: 100%; height: 100%;
  background: var(--el-blue-lite);
  border-radius: var(--el-radius);
  z-index: -1;
}
.el-ph-feature-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--el-radius);
}
.el-ph-feature-text .el-feature-list {
  margin-top: 0;
}

/* 特徴リスト（改善版 — 白ベース＋左ボーダー） */
.el-feature-list li {
  background: #fff;
  border: 1px solid var(--el-border);
}


/* =====================================================
 * 他店舗カード（画像付きミニ版）
 * ===================================================== */
.el-other-store-card--rich {
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--el-text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: block;
}
.el-other-store-card--rich:hover {
  border-color: var(--el-blue);
  box-shadow: 0 6px 20px rgba(61,142,175,0.12);
  transform: translateY(-2px);
}
.el-other-store-card--rich__img {
  height: 140px;
  overflow: hidden;
}
.el-other-store-card--rich__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--el-ease);
}
.el-other-store-card--rich:hover .el-other-store-card--rich__img img {
  transform: scale(1.06);
}
.el-other-store-card--rich__body {
  padding: 14px 16px;
}
.el-other-store-card--rich__body h3 {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 4px;
}
.el-other-store-card--rich__body p {
  font-size: 11px;
  color: var(--el-muted);
  margin: 0;
}


/* =====================================================
 * Instagram プレースホルダー（3×2）
 * ===================================================== */
.el-store-instagram {
  margin-top: 48px;
}
.el-ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.el-ig-placeholder {
  aspect-ratio: 1 / 1;
  background: var(--el-pale);
  border: 2px dashed var(--el-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--el-muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.el-ig-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--el-muted);
  text-align: center;
}
@media (max-width: 480px) {
  .el-ig-grid { gap: 4px; }
  .el-ig-placeholder { font-size: 10px; }
}


/* =====================================================
 * 他店舗ミニカルーセル
 * ===================================================== */
.el-other-carousel-wrap {
  position: relative;
}
.el-other-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.el-other-carousel::-webkit-scrollbar { display: none; }
.el-other-carousel .el-other-store-card--rich {
  min-width: 220px;
  max-width: 220px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.el-other-carousel .el-other-store-card--rich__img {
  height: 120px;
}
.el-other-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--el-border);
  background: #fff;
  font-size: 20px;
  line-height: 1;
  color: var(--el-blue);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.el-other-carousel__btn:hover {
  background: var(--el-blue-lite);
  box-shadow: 0 4px 12px rgba(61,142,175,0.15);
}
.el-other-carousel__btn--prev { left: -18px; }
.el-other-carousel__btn--next { right: -18px; }

@media (max-width: 768px) {
  .el-other-carousel .el-other-store-card--rich {
    min-width: 180px;
    max-width: 180px;
  }
  .el-other-carousel .el-other-store-card--rich__img {
    height: 100px;
  }
  .el-other-carousel__btn--prev { left: -8px; }
  .el-other-carousel__btn--next { right: -8px; }
}


/* =====================================================
 * 情報テーブル行高拡大
 * ===================================================== */
.el-info-table th,
.el-info-table td {
  padding: 14px 18px;
}


/* =====================================================
 * 店舗ページ レスポンシブ追加
 * ===================================================== */
@media (max-width: 900px) {
  .el-ph-feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .el-ph-feature-img::after { display: none; }
}
@media (max-width: 768px) {
  .el-store-hero { flex-direction: column !important; min-height: auto; margin: 0; }
  .el-store-hero__img { width: 100% !important; height: 240px; }
  .el-store-hero__text { flex: none !important; width: 100% !important; padding: 14px 16px; }
  .el-store-hero-cta { padding: 20px 16px; }
  .el-store-sub-imgs { grid-template-columns: 1fr; }
  .el-store-sub-imgs img { height: 200px; }
  .el-ph-loader__inner { gap: 14px; }
  .el-ph-loader__cross { width: 32px; height: 32px; }
  .el-ph-loader__cross::before { width: 9px; height: 32px; }
  .el-ph-loader__cross::after { width: 32px; height: 9px; }
  .el-ph-loader__name { font-size: 18px; }
  .el-ph-loader__logo { width: 36px; height: 36px; }
}


/* =====================================================
 * サービスページ（page-service.php）
 * ===================================================== */

/* --- 理念セクション --- */
.el-svc-philosophy { padding-top: 80px; padding-bottom: 80px; }

/* --- サービスナビカード 3×2グリッド --- */
.el-svc-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.el-svc-nav-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  text-decoration: none;
  color: var(--el-text);
  transition: transform 0.3s var(--el-ease), box-shadow 0.3s var(--el-ease), border-color 0.3s;
}
.el-svc-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(61,142,175,0.12);
  border-color: var(--el-blue);
}
.el-svc-nav-card__icon {
  display: none;
}
.el-svc-nav-card__title {
  font-size: 15px;
  font-weight: 700;
  flex: 1;
  line-height: 1.4;
}
.el-svc-nav-card__arrow {
  font-size: 18px;
  color: var(--el-blue);
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}
.el-svc-nav-card:hover .el-svc-nav-card__arrow {
  opacity: 1;
  transform: translateY(3px);
}
/* ナビカード タイプ別ボーダーアクセント */
.el-svc-nav-card--human  { border-left: 3px solid var(--el-yellow); }
.el-svc-nav-card--digital { border-left: 3px solid var(--el-blue-mid); }

@media (max-width: 900px) {
  .el-svc-nav-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .el-svc-nav-grid { grid-template-columns: 1fr; }
}


/* --- サービス詳細 2カラム --- */
.el-svc-detail { padding-top: 80px; padding-bottom: 80px; }

.el-svc-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.el-svc-detail__grid--reverse {
  direction: rtl;
}
.el-svc-detail__grid--reverse > * {
  direction: ltr;
}

.el-svc-detail__img {
  border-radius: var(--el-radius);
  overflow: hidden;
  position: relative;
}
.el-svc-detail__img::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--el-yellow);
  border-radius: var(--el-radius);
  z-index: -1;
}
.el-svc-detail__grid--reverse .el-svc-detail__img::after {
  right: auto;
  left: -12px;
}
.el-svc-detail__img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.el-svc-detail__num {
  font-size: 48px;
  font-weight: 900;
  color: var(--el-blue);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: -8px;
  letter-spacing: 0.04em;
}

.el-svc-detail__text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--el-muted);
  margin-bottom: 12px;
}
.el-svc-detail__text p:last-child { margin-bottom: 0; }
.el-svc-detail__text strong { color: var(--el-text); }

/* アプリDLリンク */
.el-svc-app-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.el-svc-app-links .el-btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid var(--el-blue);
  border-radius: 30px;
  color: var(--el-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.el-svc-app-links .el-btn--outline:hover {
  background: var(--el-blue);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .el-svc-detail__grid,
  .el-svc-detail__grid--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
  .el-svc-detail__img::after { display: none; }
  .el-svc-detail__img img { aspect-ratio: 3 / 2; }
}


/* --- 健康増進活動カード --- */
.el-svc-health-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.el-svc-health-card {
  background: #fff;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.4s var(--el-ease), box-shadow 0.4s var(--el-ease);
}
.el-svc-health-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(61,142,175,0.1);
}
.el-svc-health-card__icon {
  display: none;
}
.el-svc-health-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.el-svc-health-card__desc {
  font-size: 14px;
  color: var(--el-muted);
  line-height: 1.85;
  text-align: left;
}

@media (max-width: 900px) {
  .el-svc-health-grid { grid-template-columns: 1fr; gap: 20px; }
}


/* --- サービスページ 二重スクロールバー防止 --- */
.page-slug-service .l-wrapper,
.page-slug-service .l-content,
.page-slug-service .l-content__body,
.page-slug-service .el-fullwidth-wrap {
  overflow: visible !important;
  overflow-x: visible !important;
}
/* --- スムーススクロール --- */
.page-slug-service { scroll-behavior: smooth; }
.page-slug-service .el-svc-detail[id] { scroll-margin-top: 80px; }


/* =====================================================
 * About ページ
 * ===================================================== */

/* About：スムーススクロール・Arkhe制御 */
.page-slug-about { scroll-behavior: smooth; }
.page-slug-about [id] { scroll-margin-top: 80px; }
.page-slug-about .l-content { display: block !important; }
.page-slug-about .l-wrapper,
.page-slug-about .l-content,
.page-slug-about .l-content__body,
.page-slug-about .el-fullwidth-wrap {
  overflow: visible !important;
  overflow-x: visible !important;
}

/* --- 6つの理念カード --- */
.el-about-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.el-about-principle {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--el-ease), box-shadow 0.3s;
}
.el-about-principle:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(61,142,175,0.08);
}
.el-about-principle__num {
  font-size: 36px;
  font-weight: 900;
  color: var(--el-blue-lite);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}
.el-about-principle:hover .el-about-principle__num {
  color: var(--el-blue);
}
.el-about-principle__text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--el-text);
}

@media (max-width: 768px) {
  .el-about-principles { grid-template-columns: 1fr; }
  .el-about-principle { padding: 20px 18px; gap: 14px; }
  .el-about-principle__num { font-size: 28px; min-width: 36px; }
}

/* --- 補足テキストブロック --- */
.el-about-supplement {
  max-width: 880px;
  margin: 0 auto;
}
.el-about-supplement__inner {
  background: var(--el-blue-pale);
  border-left: 4px solid var(--el-blue);
  border-radius: 0 var(--el-radius) var(--el-radius) 0;
  padding: 32px 36px;
}
.el-about-supplement__inner p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--el-text);
}
.el-about-supplement__inner p + p {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .el-about-supplement__inner { padding: 24px 20px; }
}

/* --- 数値ハイライト帯 --- */
.el-about-numbers {
  background: linear-gradient(135deg, var(--el-blue-dark) 0%, var(--el-blue) 60%, var(--el-blue-mid) 100%);
  padding: 64px 32px;
}
.el-about-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.el-about-numbers__item {
  color: #fff;
}
.el-about-numbers__value {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}
.el-about-numbers__value small {
  font-size: 0.45em;
  font-weight: 700;
  margin-left: 2px;
}
.el-about-numbers__label {
  font-size: 13px;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .el-about-numbers { padding: 48px 24px; }
  .el-about-numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

/* --- 沿革タイムライン --- */
.el-about-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 90px;
}
.el-about-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 89px;
  width: 2px;
  background: var(--el-border);
}
.el-about-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  position: relative;
  /* スムーズなリビール */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.el-about-timeline__item.visible {
  opacity: 1;
  transform: translateY(0);
}
.el-about-timeline__year {
  position: absolute;
  left: -90px;
  width: 72px;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--el-blue);
  text-align: right;
  line-height: 1.4;
}
.el-about-timeline__year--hidden {
  visibility: hidden;
}
.el-about-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--el-blue);
  flex-shrink: 0;
  margin-top: 4px;
  position: absolute;
  left: -7px;
  z-index: 1;
  transition: background 0.3s, transform 0.3s;
}
.el-about-timeline__item:hover .el-about-timeline__dot {
  background: var(--el-blue);
  transform: scale(1.3);
}
.el-about-timeline__content {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-left: 24px;
}
.el-about-timeline__date {
  font-size: 13px;
  color: var(--el-muted);
  flex-shrink: 0;
  min-width: 64px;
}
.el-about-timeline__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--el-text);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .el-about-timeline { padding-left: 60px; }
  .el-about-timeline::before { left: 59px; }
  .el-about-timeline__year { left: -60px; width: 46px; font-size: 15px; }
  .el-about-timeline__item { gap: 12px; padding: 12px 0; }
  .el-about-timeline__content { flex-direction: column; gap: 2px; padding-left: 18px; }
  .el-about-timeline__date { min-width: auto; }
  .el-about-timeline__dot { width: 10px; height: 10px; left: -5px; margin-top: 6px; }
}


/* =============================================
   インターンシップページ
   ============================================= */

/* --- 対象者カード --- */
.el-intern-target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.el-intern-target-card {
  background: var(--el-pale);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--el-border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.el-intern-target-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.el-intern-target-card__num {
  font-size: 28px;
  font-weight: 900;
  color: var(--el-blue);
  margin-bottom: 12px;
  line-height: 1;
}
.el-intern-target-card__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--el-text);
  line-height: 1.6;
}
.el-intern-note {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--el-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .el-intern-target-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* --- プログラムカード --- */
.el-intern-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.el-intern-program-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--el-border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.el-intern-program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.el-intern-program-card__num {
  font-size: 24px;
  font-weight: 900;
  color: var(--el-yellow);
  margin-bottom: 8px;
  line-height: 1;
}
.el-intern-program-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--el-text);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .el-intern-program-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .el-intern-program-grid { grid-template-columns: 1fr; max-width: 320px; }
}

/* --- 奨学金セクション --- */
.el-intern-scholarship {
  max-width: 700px;
  margin: 0 auto;
}
.el-intern-scholarship__inner {
  background: var(--el-pale);
  border-radius: 12px;
  padding: 40px;
  border-left: 4px solid var(--el-blue);
}
.el-intern-scholarship__inner p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--el-text);
  margin-bottom: 12px;
}
.el-intern-scholarship__inner ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 8px;
}
.el-intern-scholarship__inner li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--el-text);
}

/* --- お問い合わせ情報 --- */
.el-intern-contact {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.el-intern-contact__company {
  font-size: 18px;
  font-weight: 700;
  color: var(--el-text);
  margin-bottom: 8px;
}
.el-intern-contact__address,
.el-intern-contact__tel {
  font-size: 15px;
  color: var(--el-muted);
  line-height: 1.8;
}

/* --- 採用ページ：インターンシップ案内ブロック --- */
.el-recruit-intern-block {
  max-width: 800px;
  margin: 0 auto;
  background: var(--el-pale);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--el-border);
}
.el-recruit-intern-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--el-text);
  margin-bottom: 16px;
}
.el-recruit-intern-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--el-text);
  margin-bottom: 12px;
}
.el-recruit-intern-block .el-btn--hero-outline {
  margin-top: 8px;
}

/* --- 公式ストアバッジ --- */
.el-store-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.el-store-badges a {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s;
}
.el-store-badges a:hover {
  opacity: 0.75;
}
.el-store-badge {
  height: 40px;
  width: auto;
}
/* サイドバー等の縦並び */
.el-store-badges--vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
}
.el-store-badges--vertical .el-store-badge {
  height: 36px;
}

@media (max-width: 768px) {
  .el-store-badges { justify-content: center; }
  .el-store-badges--vertical { align-items: center; }
}

/* --- 法令に基づく掲示事項 --- */
.el-legal-notice {
  background: var(--el-pale);
  border-top: 1px solid var(--el-border);
  padding: 24px 32px;
  margin-top: 0;
}
.el-legal-notice ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.el-legal-notice li {
  font-size: 11px;
  line-height: 1.7;
  color: #999;
  padding-left: 1em;
  text-indent: -1em;
}
.el-legal-notice li::before {
  content: '※';
}
.el-legal-notice li + li {
  margin-top: 6px;
}


/* =============================================
   ナビゲーション カスタマイズ
   ============================================= */

/* --- PC サブメニュー（ドロップダウン） --- */
.c-gnav .sub-menu {
  color: var(--el-text);
  background: #fff;
  border: 1px solid var(--el-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  --ark-color--border: var(--el-border);
}
.c-gnav .sub-menu .c-gnav__a {
  color: var(--el-text);
  font-size: 13px;
  padding: 12px 20px;
}
.c-gnav .sub-menu .c-gnav__a::before {
  display: none;
}
.c-gnav .sub-menu .c-gnav__a:hover {
  background: var(--el-pale);
  color: var(--el-blue);
}
/* ▲ 三角も白に */
.c-gnav__depth1::before {
  background-color: #fff !important;
}

/* --- SP ドロワー（ハンバーガーメニュー） --- */
.p-drawer {
  color: var(--el-text);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-drawer="opened"] .l-header__drawerBtn {
  color: var(--el-text);
}
.p-drawer .c-drawerNav a {
  color: var(--el-text);
}
.p-drawer .c-drawerNav a:hover {
  color: var(--el-blue);
}
.p-drawer .c-drawerNav .sub-menu {
  background: transparent;
}
.p-drawer .c-drawerNav .sub-menu a {
  color: var(--el-muted);
  font-size: 13px;
}
.p-drawer .c-drawerNav .sub-menu a:hover {
  color: var(--el-blue);
}
/* ドロワー内のボーダー */
.p-drawer {
  --ark-color--border: var(--el-border);
}
/* 閉じるボタン */
.p-drawer__close {
  color: var(--el-text);
}
/* アコーディオン開閉ボタン */
.p-drawer .ark-svg {
  color: var(--el-muted);
}
