@charset "UTF-8";
/*
Template: arkhe
Theme Name: Arkhe Child
Theme URI: https://arkhe-theme.com/ja/
Description: Arkhe用子テーマ
Version: 1.0.0
Text Domain: arkhe
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ─── 薬局ヒーロー フルブリード ─── */
.el-store-hero--full {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

@media (max-width: 767px) {
  .el-store-hero--full {
    height: 65vh;
  }
}

/* オーバーレイ：全面均一に変更（写真の構図を選ばない） */
.el-store-hero--full__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.10);
  z-index: 1;
}

/* 動画：opacity下げて明るく淡い印象に */
.el-store-hero--full .el-hero-video {
  opacity: 0.6;
}

/* コンテンツ：中央配置・濃紺カラー */
.el-store-hero--full__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1a2f5a;
  padding: 0 2rem;
}

/* ─── HERO：動画モード ─── */
.el-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ─── HERO：スライドショー / 静止画モード ─── */
.el-hero-slideshow,
.el-hero-static {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.el-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.el-hero-slide.is-active { opacity: 1; }

.el-hero-static {
  background-size: cover;
  background-position: center;
}

/* エリア表示：白shadowで可読性確保 */
.el-store-hero--full__area {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  opacity: 0.85;
  margin-bottom: 16px;
  text-shadow:
    0 2px 24px rgba(255,255,255,0.95),
    0 1px 8px rgba(255,255,255,0.9),
    0 0 40px rgba(255,255,255,0.5);
}

/* 店舗名：白shadowで浮き出し */
.el-store-hero--full__name {
  font-size: 5.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
  line-height: 1.1;
  max-width: 90vw;
  text-shadow:
    0 2px 24px rgba(255,255,255,0.95),
    0 1px 8px rgba(255,255,255,0.9),
    0 0 40px rgba(255,255,255,0.5);
}

/* キャッチコピー：白shadowで可読性確保 */
.el-store-hero--full__catch {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  opacity: 0.92;
  margin: 0;
  line-height: 2;
  text-shadow:
    0 2px 24px rgba(255,255,255,0.95),
    0 1px 8px rgba(255,255,255,0.9),
    0 0 40px rgba(255,255,255,0.5);
}

@media (max-width: 767px) {
  .el-store-hero--full__name { font-size: 2.8rem; max-width: 90vw; }
  .el-store-hero--full__area { font-size: 0.8rem; }
  .el-store-hero--full__catch { font-size: 0.95rem; }
}


/* ─── 薬局 ヒーロー直下 CTA（3列） ─── */
.el-store-hero-cta {
  display: flex;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.el-btn--tel,
.el-btn--epark,
.el-btn--line {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 12px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s, opacity 0.2s;
  line-height: 1.35;
}

/* TEL：青 */
.el-btn--tel {
  background: var(--color-main, #1a56a0);
  color: #fff;
}
.el-btn--tel:hover { background: color-mix(in srgb, var(--color-main, #1a56a0) 85%, #000); }
.el-btn--tel .el-cta-label  { font-size: 0.7rem; opacity: 0.85; letter-spacing: 0.1em; }
.el-btn--tel .el-cta-value  { font-size: 1.1rem; font-weight: 800; }
.el-btn--tel .el-cta-sub    { font-size: 0.65rem; opacity: 0.75; }

/* EPARK：白地・青文字 */
.el-btn--epark {
  background: #fff;
  color: var(--color-main, #1a56a0);
  border-left: 1px solid #d0dce8;
  border-right: 1px solid #d0dce8;
}
.el-btn--epark:hover { background: #f0f5fc; }
.el-btn--epark .el-cta-label  { font-size: 0.7rem; color: #666; letter-spacing: 0.05em; }
.el-btn--epark .el-cta-value  { font-size: 0.95rem; font-weight: 800; color: var(--color-main, #1a56a0); }
.el-btn--epark .el-cta-sub    { font-size: 0.65rem; color: #888; }

/* LINE：緑 */
.el-btn--line {
  background: #06c755;
  color: #fff;
}
.el-btn--line:hover { opacity: 0.88; }
.el-btn--line .el-cta-label  { font-size: 0.7rem; opacity: 0.9; letter-spacing: 0.05em; }
.el-btn--line .el-cta-value  { font-size: 0.95rem; font-weight: 800; }
.el-btn--line .el-cta-sub    { font-size: 0.65rem; opacity: 0.8; }

/* 電話番号の改行防止 */
.el-btn--tel .el-cta-value,
[href^="tel:"],
.el-about-contact__tel {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .el-store-hero-cta { flex-direction: column; }
  .el-btn--tel, .el-btn--epark, .el-btn--line {
    padding: 14px 16px;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
  }
  .el-btn--epark { border-left: none; border-right: none; border-top: 1px solid #d0dce8; border-bottom: 1px solid #d0dce8; }
}

@media (max-width: 767px) {
  /* CTAバー：電話番号を改行させずサブテキストを非表示 */
  .el-btn--tel .el-cta-label { font-size: 10px; }
  .el-btn--tel .el-cta-value { font-size: 1rem; font-weight: 800; white-space: nowrap; }
  .el-btn--tel .el-cta-sub   { display: none; }
  /* ページ2お問い合わせ */
  .el-about-contact__tel     { font-size: 1.4rem; white-space: nowrap; word-break: keep-all; }
}


/* ─── セクション背景帯 ─── */
.el-ph-band {
  margin: 0 -32px;
  padding: 32px 32px;
}

.el-ph-band--blue { background: #f0f5fc; }
.el-ph-band--gray { background: #f7f7f7; }

@media (max-width: 768px) {
  .el-ph-band { margin: 0 -16px; padding: 24px 16px; }
}


/* ─── 特徴カード ─── */
.el-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.el-feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 3px solid var(--color-main, #1a56a0);
}

.el-feature-card__num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-main);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  opacity: 0.8;
}

.el-feature-card__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.5;
}

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


/* ─── ローディング画面 ─── */
.el-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 1;
  transition: opacity .7s ease;
}

.el-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease; /* JS の FADE_TIME と合わせる */
}

.el-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: el-loader-fadein .8s ease both;
}

@keyframes el-loader-fadein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.el-loader__logo {
  width: 180px;
  height: auto;
}

.el-loader__company {
  font-size: .8rem;
  color: #888;
  letter-spacing: .1em;
  margin: 0;
}

.el-loader__copy {
  font-size: .9rem;
  color: var(--color-main, #1a56a0);
  letter-spacing: .12em;
  margin: 0;
}

/* ドットスピナー */
.el-loader__dots {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.el-loader__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-main, #1a56a0);
  animation: el-dot-bounce .9s infinite ease-in-out both;
}

.el-loader__dots span:nth-child(2) { animation-delay: .15s; }
.el-loader__dots span:nth-child(3) { animation-delay: .30s; }

@keyframes el-dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: .4; }
  40%           { transform: scale(1);   opacity: 1; }
}

/* ヒーロー：ローダー非表示と同時にクロスフェードイン */
body:not(.loader-done) .el-hero {
  opacity: 0;
}
body.loader-done .el-hero {
  opacity: 1;
  transition: opacity .8s ease .1s; /* ローダーフェードより少し遅れて完全に現れる */
}


/* ─── CTA ボタングループ ─── */
.el-recruit-cta__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA 内のプライマリボタン：白地・青文字 */
.el-recruit-cta__btns .el-btn--recruit,
.el-recruit-cta__btns .el-btn--recruit-primary {
  background: #fff;
  color: var(--color-main, #1e3a6e);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}
.el-recruit-cta__btns .el-btn--recruit:hover,
.el-recruit-cta__btns .el-btn--recruit-primary:hover {
  background: #f0f5fc;
  color: var(--color-main, #1e3a6e);
  transform: translateY(-2px);
}

/* ゴーストボタン（白縁取り） */
.el-btn--recruit.el-btn--recruit-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  box-shadow: none;
}
.el-btn--recruit.el-btn--recruit-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── CTAボタン SP間隔修正 ─── */
@media (max-width: 768px) {
  .el-recruit-cta__btns,
  .el-recruit-cta__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .el-recruit-cta__btns .el-btn--recruit,
  .el-recruit-cta__btns .el-btn--recruit-ghost,
  .el-recruit-cta__buttons .el-btn--recruit {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}


/* ─── 採用サブ導線（薬局詳細ページ フッター直前） ─── */
.el-recruit-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: linear-gradient(140deg, var(--color-main-dark, #152a52) 0%, var(--color-main, #1e3a6e) 100%);
  font-size: .87rem;
  color: rgba(255, 255, 255, 0.78);
}

.el-recruit-footer-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50px;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.el-recruit-footer-link a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

@media (max-width: 768px) {
  .el-recruit-footer-link {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 20px 24px;
  }
}


/* ─── レスポンシブ改行制御 ─── */
/* PC（769px以上）では el-br--sp を非表示 */
.el-br--sp { display: none; }

/* SP（768px以下）では el-br--pc を非表示、el-br--sp を表示 */
@media (max-width: 768px) {
  .el-br--pc { display: none; }
  .el-br--sp { display: inline; }
}


/* ─── お知らせページ ─── */
.el-news-hero {
  padding: 48px 0 32px;
  text-align: center;
}

/* フィルターボタン */
.el-news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.el-news-filter__btn {
  display: inline-block;
  padding: 7px 18px;
  border: 1.5px solid #d0d0d0;
  border-radius: 50px;
  font-size: .85rem;
  color: #555;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}

.el-news-filter__btn:hover,
.el-news-filter__btn.is-active {
  background: var(--color-main, #1a56a0);
  border-color: var(--color-main, #1a56a0);
  color: #fff;
}

/* 記事なし */
.el-news-empty {
  padding: 40px 0;
  text-align: center;
  color: #999;
}

/* ページネーション */
.el-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.el-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid #d0d0d0;
  border-radius: 6px;
  font-size: .9rem;
  color: #555;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}

.el-pagination .page-numbers.current,
.el-pagination .page-numbers:hover {
  background: var(--color-main, #1a56a0);
  border-color: var(--color-main, #1a56a0);
  color: #fff;
}

.el-pagination .page-numbers.dots {
  border: none;
  background: none;
  color: #999;
}

@media (max-width: 768px) {
  .el-news-filter {
    gap: 6px;
  }
  .el-news-filter__btn {
    padding: 6px 14px;
    font-size: .8rem;
  }
}


/* ─── お問い合わせページ ─── */
.el-inner--narrow {
  max-width: 760px;
  margin-inline: auto;
}

.el-contact-intro {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.9;
}

.el-contact-intro a {
  color: var(--color-main, #1a56a0);
  text-decoration: underline;
}

/* ─── Contact Form 7 レイアウト ─── */
.el-contact-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 40px 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}

.el-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-bottom: 20px;
}

.el-cf7-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.el-cf7-col--full {
  grid-column: 1 / -1;
}

.el-cf7-row label,
.el-cf7-col label {
  font-size: .85rem;
  font-weight: 700;
  color: #333;
}

.el-cf7-row label abbr,
.el-cf7-col label abbr {
  color: #e53935;
  text-decoration: none;
  margin-left: 4px;
  font-size: .75rem;
}

/* CF7 のインプット共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color .2s;
  box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-main, #1a56a0);
  background: #fff;
}

.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.el-cf7-submit {
  text-align: center;
  margin-top: 28px;
}

.wpcf7 input[type="submit"] {
  display: inline-block;
  padding: 14px 60px;
  background: var(--color-main, #1a56a0);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: .05em;
  transition: background .2s, transform .15s;
}

.wpcf7 input[type="submit"]:hover {
  background: color-mix(in srgb, var(--color-main, #1a56a0) 85%, #000);
  transform: translateY(-2px);
}

/* CF7 バリデーション */
.wpcf7 .wpcf7-not-valid-tip {
  color: #e53935;
  font-size: .8rem;
  margin-top: 4px;
}

.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: .9rem;
  text-align: center;
}

.wpcf7 .wpcf7-mail-sent-ok {
  border-color: var(--color-main, #1a56a0);
  background: #e8f0fb;
  color: var(--color-main, #1a56a0);
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-spam-blocked {
  border-color: #e53935;
  background: #ffebee;
  color: #c62828;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .el-contact-form-wrap {
    padding: 28px 20px;
  }

  .el-cf7-row {
    grid-template-columns: 1fr;
  }

  .el-cf7-col--full {
    grid-column: 1;
  }
}


/* ─── ヘッダー sticky 固定 ─── */
#header.l-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 管理バー表示時のずれ補正 */
.admin-bar #header.l-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar #header.l-header {
    top: 46px;
  }
}


/* ===== 認定・資格セクション ===== */
.el-certifications { padding: 32px 0; }

.el-certifications__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.el-certifications__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 18px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  border-top: 1px solid #d0dce8;
}

.el-certifications__logo {
  height: 52px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.el-certifications__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.el-certifications__name {
  font-weight: 700;
  font-size: 1rem;
  color: #222;
}

.el-certifications__sub  { font-size: .85em; color: #444; }
.el-certifications__note { font-size: .80em; color: #888; }

.el-certifications__note-block {
  margin: 14px 0 0;
  font-size: .82em;
  color: #666;
  line-height: 1.8;
  padding: 10px 14px;
  background: #f0f5fc;
  border-radius: 6px;
}


/* ─── NEWS ティッカー帯 ─── */
.el-news-ticker {
  background: #1a56a0;
  color: #fff;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  font-size: 0.85rem;
  min-height: 44px;
}

.el-news-ticker__label {
  background: rgba(0,0,0,0.25);
  padding: 0 20px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  flex-shrink: 0;
}

.el-news-ticker__body {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.el-news-ticker__link {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

.el-news-ticker__link:hover { text-decoration: underline; }

.el-news-ticker__date {
  opacity: 0.75;
  font-size: 0.78rem;
  margin-right: 10px;
}

.el-news-ticker__more {
  background: rgba(0,0,0,0.2);
  padding: 0 16px;
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.el-news-ticker__more:hover { background: rgba(0,0,0,0.35); }


/* ─── SP スティッキーCTA ─── */
.el-sp-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: none;
}

@media (max-width: 767px) {
  .el-sp-sticky { display: block; }
}

.el-sp-sticky__inner {
  display: flex;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.15);
}

.el-sp-sticky__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  min-height: 44px; /* WCAG 2.5.5 タッチターゲット最小サイズ */
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 2px;
  line-height: 1.3;
  text-align: center;
}

.el-sp-sticky__btn .ic { font-size: 1rem; line-height: 1; }
.el-sp-sticky__btn .tx { font-size: 0.72rem; font-weight: 700; }
.el-sp-sticky__btn .sx { font-size: 0.65rem; opacity: 0.85; white-space: nowrap; } /* 10.4px — 9.6pxから引き上げ */

.el-sp-sticky__btn--tel   { background: var(--color-main, #1a56a0); color: #fff; }
.el-sp-sticky__btn--epark { background: #fff; color: var(--color-main, #1a56a0); border-left: 1px solid #d0dce8; border-right: 1px solid #d0dce8; }
.el-sp-sticky__btn--line  { background: #06c755; color: #fff; }


/* ─── 営業時間テーブル ─── */
.el-hours-section {
  background: #fff;
  padding: 40px 0;
}

.el-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.el-hours-table th,
.el-hours-table td {
  padding: 10px 16px;
  border: 1px solid #e0e8f0;
  text-align: center;
}

.el-hours-table thead th {
  background: var(--color-main, #1a56a0);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.el-hours-table tbody tr:nth-child(even) td { background: #f5f8fc; }
.el-hours-table .el-hours-holiday td { color: #e53935; }
.el-hours-table .el-hours-sat td { color: #1a56a0; }

.el-hours-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.8;
}

/* 旧テキスト表示（フォールバック） */
.el-hours-text {
  background: #f5f8fc;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #333;
  white-space: pre-line;
}


/* ─── 電子決済セクション ─── */
.el-payment-section {
  padding: 40px 0;
}

.el-payment-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.el-payment-category__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.el-payment-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.el-payment-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1.5px solid #d0dce8;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
}


/* ─── 薬局について詳しく見る CTA ─── */
.el-about-link-cta {
  background: linear-gradient(135deg, #1a3f7a 0%, #1a56a0 100%);
  padding: 60px 24px;
  text-align: center;
  margin-top: 0;
}

.el-about-link-cta__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  .el-about-link-cta__title { font-size: 1.1rem; letter-spacing: 0.02em; }
}

.el-about-link-cta__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 28px;
  line-height: 1.7;
}

.el-about-link-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: #fff;
  color: var(--color-main, #1a56a0);
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.el-about-link-cta__btn:hover {
  background: #f0f5fc;
  transform: translateY(-2px);
}

.el-about-link-cta__btn::after {
  content: '›';
  font-size: 1.2rem;
  line-height: 1;
}


/* ─── 薬局（single）シングルカラムラッパー ─── */
.el-ph-single {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

@media (max-width: 767px) {
  .el-ph-single { padding: 24px 16px 80px; }
}


/* ─── 会社案内ページ：スプリットヒーロー ─── */
/* el-about-hero のレイアウトは my_style.css（スプリットグリッド）に委ねる */
/* テキスト色のみ補正（my_style.css の --el-text 変数をサイトカラーに揃える） */
.el-about-hero__h1 {
  color: var(--el-text, #2c3e50);
}
.el-about-hero__sub {
  color: var(--el-muted, #8a9bae);
}

.el-about-section {
  padding: 48px 0;
  border-bottom: 1px solid #e8eef5;
}

.el-about-section:last-of-type { border-bottom: none; }

.el-about-section__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent, #8a5c14);
  letter-spacing: 0.22em;
  margin: 0 0 20px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(138, 92, 20, 0.28);
}
.el-about-section__title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-accent, #8a5c14);
  border-radius: 1px;
  flex-shrink: 0;
}

.el-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.el-about-card {
  background: #f5f8fc;
  border-radius: 12px;
  padding: 24px;
}

.el-about-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-main, #1a56a0);
  margin: 0 0 10px;
}

.el-about-tel-cta {
  text-align: center;
  padding: 48px 28px;
  background: var(--color-main, #1e3a6e);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(30, 58, 110, 0.28);
}

.el-about-tel-cta__title {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 6px;
}

.el-about-tel-cta__sub {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 22px;
}

.el-about-tel-cta__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.el-about-tel-cta__num:hover {
  opacity: 0.85;
  color: #fff;
}

.el-about-back-link {
  text-align: center;
  padding: 24px;
}

.el-about-back-link a {
  color: var(--color-main, #1a56a0);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.el-about-back-link a:hover { text-decoration: underline; }


/* ─── 営業時間テーブル（CTA直下・新デザイン） ─── */
.el-pharmacy-hours {
  background: #fff;
  border-bottom: 1px solid #e8eef5;
}

.el-pharmacy-hours__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 32px 16px;
}

@media (max-width: 767px) {
  .el-pharmacy-hours__inner { padding: 14px 16px 12px; }
}

/* テーブル */
.el-hours-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* ヘッダー行（曜日） */
.el-hours-table thead th {
  background: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 6px 4px;
}

/* ラベル列幅：table-layout:fixed は col 要素で確定させる */
.el-pharmacy-hours .el-hours-table { table-layout: fixed; }
.el-pharmacy-hours .el-hours-col-label { width: 60px; }

/* 左端の開局時間ラベルセル（曜日列と揃えて中央寄せ）
   ※プラグイン my_style.css の !important ルールに勝つため詳細度＋!important */
.el-pharmacy-hours .el-hours-label {
  font-size: 11px;
  color: #9ca3af;
  text-align: center !important;
  padding: 10px 4px 4px !important;
  white-space: nowrap;
  vertical-align: middle;
}

/* 各曜日の閉局時間テキスト */
.el-hours-time {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 10px 2px 4px;
  color: #374151;
  white-space: nowrap;
}

/* パターン別テキスト色 */
.el-hours-time--extended { color: #5B21B6; }
.el-hours-time--closed   { color: #9ca3af; font-size: 12px; }

/* カラーバー */
.el-hours-bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  margin: 0 auto 8px;
  width: 70%;
}

.el-hours-bar--normal   { background: #3B82F6; }
.el-hours-bar--extended { background: #7C3AED; }
.el-hours-bar--short    { background: #F59E0B; }

/* 凡例 */
.el-hours-legend {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
  align-items: center;
}

.el-hours-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.el-hours-lbar {
  display: inline-block;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  flex-shrink: 0;
}

.el-hours-lbar--normal   { background: #3B82F6; }
.el-hours-lbar--extended { background: #7C3AED; }
.el-hours-lbar--short    { background: #F59E0B; }

/* フッター（休局日テキスト） */
.el-hours-footer {
  margin-top: 6px;
  font-size: 11px;
  color: #e53935;
}

/* フォールバック（旧テキスト） */
.el-hours-fallback {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #333;
}

.el-hours-fallback__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* SP レスポンシブ (767px以下) */
@media (max-width: 767px) {
  .el-hours-table          { font-size: 11px; }
  .el-hours-table thead th { font-size: 11px; padding: 6px 2px; }
  .el-hours-table td       { padding: 6px 1px; text-align: center; }
  .el-pharmacy-hours .el-hours-col-label { width: 54px; }
  .el-pharmacy-hours .el-hours-label     { font-size: 10px; padding: 8px 3px 3px !important; }
  .el-hours-time           { font-size: 11px; padding: 8px 1px 3px; white-space: nowrap; }
  .el-hours-bar            { width: 80%; max-width: 100%; }
  .el-hours-legend         { gap: 10px; font-size: 10px; }
  /* 時刻の「:00」を省略してコンパクトに */
  .el-hours-time-full      { display: none; }
  .el-hours-time-short     { display: inline; }
}

/* さらに狭い端末 (375px以下 / iPhone SE等) */
@media (max-width: 375px) {
  .el-hours-table          { font-size: 10px; }
  .el-hours-table thead th { font-size: 10px; padding: 5px 1px; }
  .el-pharmacy-hours .el-hours-col-label { width: 50px; }
  .el-pharmacy-hours .el-hours-label     { font-size: 10px; padding: 8px 2px 3px !important; }
  .el-hours-time           { font-size: 10px; }
}

/* PC: short表示を非表示 */
@media (min-width: 768px) {
  .el-hours-time-short { display: none; }
  .el-hours-time-full  { display: inline; }
}


/* ─── Google マップ埋め込み ─── */
.el-map-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}

.el-map-wrap iframe {
  width: 100% !important;
  height: 400px;
  border: 0;
  display: block;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .el-map-wrap iframe {
    height: 280px;
  }
}


/* ================================================================
   デザイン改善：AI感の排除
   ================================================================ */

/* ─── カラーパレット上書き ─── */
:root {
  --color-main:        #1e3a6e;   /* より深みのあるネイビー */
  --color-main-dark:   #152a52;
  --color-accent:      #8a5c14;   /* 温かみのあるアンバー（WCAG AA対応 5.53:1） */
  --color-bg-warm:     #faf9f6;   /* ウォームオフホワイト */
  --color-bg-pale:     #f2efe9;   /* ウォームペール */
}

/* 薄い背景セクションをウォームトーンに */
.el-section--pale {
  background: var(--color-bg-pale);
}

/* ─── 明朝体：見出しフォント ─── */
.el-section-title,
.el-hero__h1,
.el-recruit-hero__title,
.el-recruit-cta__title,
.el-store-hero--full__name,
.el-about-hero__name,
.el-svc-detail__num {
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ─── セクションラベル再デザイン ─── */
.el-section-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem; /* 12px — WCAG 最小可読サイズ確保 */
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
  padding-bottom: 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
}

/* 白背景CTA内のラベル */
.el-recruit-cta .el-section-label {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.25);
}

/* ─── CTAセクションに奥行きとテクスチャ ─── */
.el-recruit-cta {
  background: linear-gradient(140deg, #152a52 0%, #1e3a6e 55%, #1a3460 100%);
  position: relative;
  overflow: hidden;
}

.el-recruit-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

.el-recruit-cta__inner {
  position: relative;
  z-index: 1;
}

/* ─── ヒーロー見出し em の色 ─── */
.el-hero__h1 em {
  font-style: normal;
  color: #f0c96a;
}

/* ─── アクセントカラーをボタン・ボーダーに反映 ─── */
.el-about-link-cta {
  background: linear-gradient(140deg, #152a52 0%, #1e3a6e 100%);
}

.el-feature-card {
  border-top-color: var(--color-accent);
}

/* ─── 統計数値に明朝体 ─── */
.el-hero__stat .n span,
.el-about__num .n,
.el-about-numbers__value span,
.el-recruit-highlight__num {
  font-family: 'Shippori Mincho B1', serif;
}

/* ─── ストアカード：より温かい印象 ─── */
.el-store-card {
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.el-store-card:hover {
  border-bottom-color: var(--color-accent);
}

/* ─── ニュースアイテムのホバー下線をアクセントカラーに ─── */
.el-news-item:hover {
  border-color: var(--color-accent);
}

/* ─── タイムライン年数に明朝体 ─── */
.el-about-timeline__year {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-accent);
}

/* ─── ティッカー帯の色更新 ─── */
.el-news-ticker {
  background: var(--color-main);
}

/* ─── ボタンの色更新 ─── */
.el-btn--tel,
.el-sp-sticky__btn--tel {
  background: var(--color-main);
}
.el-btn--tel:hover { background: var(--color-main-dark); }

.el-btn--epark,
.el-sp-sticky__btn--epark {
  color: var(--color-main);
}

/* ─── 採用セクション背景 ─── */
.el-recruit {
  background: var(--color-bg-pale);
}


/* ================================================================
   アクセシビリティ対応（WCAG 2.2 AA）
   ================================================================ */

/* ─── スキップリンク ─── */
.el-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--color-main);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.15s;
}
.el-skip-link:focus {
  top: 0;
  outline: 3px solid #f0c96a;
  outline-offset: 2px;
}

/* ─── フォーカスリング（全インタラクティブ要素）─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* フォーカスリングを消しているサイトが多いが、キーボードユーザーに必須 */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ─── prefers-reduced-motion：アニメーション無効化 ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .el-loader {
    display: none !important;
  }

  .el-ticker__track {
    animation: none !important;
  }

  .el-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
