:root {
  --wm-amber: #D97706;
  --wm-amber-pale: #FFFBEB;
}

/* ========================================
   リセット・ベーススタイル
   ======================================== */
* {
  margin: 0;
  padding: 0;
          box-sizing: border-box;
}

html {
  overflow-x: hidden;
}
body {
  font-family: "Quicksand", "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: #5b8cba;
}

/* ボタンやナビゲーションなど、アンダーラインを表示しない要素 */
.header__nav-link,
.header__logo a,
.article-card__link,
.article-card__title a,
.btn,
.button,
.btn-more,
.pickup__article-link,
.callout-box a,
.withmind-concept__manga-lp a,
.cta_btn,
.footer a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 0.5px solid #e0e0e0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  /* padding: 16px 0; */
}

.header.is-sticky {
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.header__container {
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.header__logo h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
  margin: 0;
}

.header__logo img {
  width: 346px;
  height: auto;
  max-width: 100%;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.header__nav-list {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.header__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 400;
  color: #444;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #0C7A5E;
  transition: width 0.3s, left 0.3s;
  transform: translateX(-50%);
}

.header__nav-link:hover {
  color: #0C7A5E;
}

.header__nav-link:hover::after {
  width: calc(100% + 20px);
  left: 50%;
}

/* 現在のページのナビアイテム */
.current-menu-item .header__nav-link,
.header__nav-item--search.current-menu-item .header__nav-link {
  color: #030213;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.04);
}

/* 医療機関を探すアイコン */
.header__nav-item--search .header__nav-link {
  color: #0C7A5E;
  font-weight: 500;
}

/* ログインボタン */
.header__login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #0C7A5E;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
  letter-spacing: -0.15px;
}

.header__login-btn:hover {
  background: #0A5446;
  color: #fff;
}

.header__hamburger {
  display: none;
            flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  }

.header__hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #333333;
  transition: all 0.3s ease;
  transform-origin: center;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(1) {
  transform: rotate(45deg) translateY(14px);
}

.header__hamburger.is-active .header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-14px);
  }

/* ========================================
   メインコンテンツ
   ======================================== */
.main {
  background-color: #F5F5F7;
  padding-top: 100px; /* SVG viewBox 1000x300, width:346px → logo:104px。JSが上書き */
}

/* 病院ポータルページのみ背景グラデーション */
.main:has(.hp-search-form),
.main:has(.hp-results),
.main:has(.hp-single) {
  background-color: transparent;
  background-image: linear-gradient(160deg, #e6f2ec 0%, #f0f7f4 45%, #eaf4f0 100%);
  background-attachment: fixed;
}




/* ========================================
   HERO セクション
   ======================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  height: calc(100vh - 150px);
  overflow: hidden;
  z-index: 1;
}

/* 背景テキスト */
.hero-bg-text {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bg-track {
  position: absolute;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 120px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 75, 70, 0.04);
  line-height: 1;
  user-select: none;
}
.bg-track-1 { top: 18%; animation: bgScroll 40s linear infinite; }
.bg-track-2 { top: 52%; animation: bgScroll 55s linear infinite reverse; font-size: 90px; }

/* 左：テキストエリア */
.hero-left {
  position: relative;
  z-index: 1;
  padding: 120px 48px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(ellipse at 18% 65%, rgba(82,168,118,0.06) 0%, transparent 62%);
}
.issue-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #52a876;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.issue-tag::before { content: ''; width: 24px; height: 1px; background: #52a876; }
.hero-title {
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #141414;
  margin-bottom: 14px;
}
.hero-title__char {
  display: inline-block;
  filter: blur(8px);
  opacity: 0;
}
.hero-left.is-active .hero-title__char {
  animation: heroChar 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: calc(0.08s * var(--char-index));
}
@keyframes heroChar {
  0%   { filter: blur(8px); opacity: 0; }
  35%  { filter: blur(2px); opacity: 1; }
  60%  { filter: blur(0);   opacity: 1; }
  100% { filter: blur(0);   opacity: 1; }
}
.hero-title-en {
  font-style: italic;
  font-size: clamp(15px, 1.8vw, 21px);
  color: #52a876;
  letter-spacing: 0.05em;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}
.hero-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 2.2;
  color: #555;
  max-width: 380px;
  margin-bottom: 52px;
  padding-left: 18px;
  border-left: 2px solid #d4ece0;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.55s forwards;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f5548 0%, #2e7a65 100%);
  color: #fff;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 18px 40px;
  width: fit-content;
  border: 1.5px solid rgba(82, 168, 118, 0.38);
  box-shadow: 0 6px 24px rgba(34, 75, 70, 0.38), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.25s;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.7s forwards;
}
.hero-btn:hover {
  background: linear-gradient(135deg, #2a6b5a 0%, #3a917a 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(34, 75, 70, 0.48), inset 0 1px 0 rgba(255,255,255,0.15);
}
.arrow-line {
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  position: relative;
  display: inline-block;
  transition: width 0.3s;
}
.hero-btn:hover .arrow-line { width: 30px; }
.arrow-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  transform: rotate(45deg);
}

/* 右：写真＋スライダー */
.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero-photo {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #224B46;
}
/* 写真左端フェード（左の白背景との接続を自然に） */
.hero-photo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 60px;
  z-index: 3;
  background: linear-gradient(to right, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}
/* 写真下部グラデーション（スライダーへの奥行き感） */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom, transparent 55%, rgba(34, 75, 70, 0.22) 100%),
    rgba(0, 100, 60, 0.05);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-photo__bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  background-color: #224B46;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.hero-photo__bg.ken-burns {
  animation: kenBurns 8s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.08); opacity: 0; }
  6%   { opacity: 1; }
  100% { transform: scale(1.0);  opacity: 1; }
}

/* 実績数値 */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 40px;
  padding: 18px 20px;
  border-radius: 12px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 24px;
}
.hero-stat--primary .hero-stat__value {
  font-size: 48px;
}
.hero-stat__value {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #215654;
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}
.hero-stat__unit {
  font-size: 18px;
  font-weight: 600;
  color: #aaa;
  margin-left: 2px;
  margin-top: 5px;
  letter-spacing: 0.02em;
}
.hero-stat__label {
  font-size: 11px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.06em;
  margin: 0 0 0 2px;
  white-space: nowrap;
}
.hero-stat__sep {
  width: 1px;
  height: 32px;
  background: rgba(0, 0, 0, 0.1);
  margin-right: 24px;
  flex-shrink: 0;
  align-self: center;
}

/* フィーチャースライダー */
.feature-slider {
  flex-shrink: 0;
  background: linear-gradient(135deg, #1f5548 0%, #2e7a65 100%);
  border-top: 1px solid rgba(82, 168, 118, 0.38);
  overflow: hidden;
  position: relative;
  height: 160px;
  border-radius: 0 0 0 60px;
}
.feature-slider__track {
  position: relative;
  height: calc(100% - 40px);
}
.feature-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  display: flex;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.feature-slide.is-active {
  animation: featureSlideIn 0.9s ease 0.4s both;
  pointer-events: auto;
  z-index: 1;
}
.feature-slide.is-out {
  animation: featureSlideOut 0.4s ease forwards;
  pointer-events: none;
}
@keyframes featureSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes featureSlideOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
.feature-slide__main {
  flex: 1;
  padding: 20px  60px 0;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  color: #fff;
  text-decoration: none;
}
.feature-slide__meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #52a876;
  margin-bottom: 10px;
}
.feature-slide__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-slide__doctor {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
}
.feature-slider__footer {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}
.feature-slider__prev {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  line-height: 0;
  transition: color 0.2s;
}
.feature-slider__prev:hover { color: rgba(255, 255, 255, 0.9); }
.feature-slider__dots {
  display: flex;
  gap: 6px;
  z-index: 2;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.slider-dot.is-active { background: #6EB1CF; transform: scale(1.3); }

/* ロゴスクロール */
.logo-scroll {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 36px 0;
  position: relative;
}
.logo-fade-label {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 28px;
}
.logo-fade-wrap {
  overflow: hidden;
  width: 100%;
  padding: 0;
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee 25s linear infinite;
}
.logo-marquee__inner {
  display: flex;
  align-items: center;
}
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clinic-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  opacity: 0.55;
  cursor: default;
  transition: opacity 0.35s ease;
}
.clinic-logo:hover {
  opacity: 0.82;
}
.clinic-logo img {
  height: 140px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.logo-mock-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #555;
  white-space: nowrap;
  text-align: center;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* hero レスポンシブ */
/* 2カラムのまま幅だけ縮む帯で画像が cover により過剰にトリミングされるため、
   768px よりだいぶ前倒しで1カラム化し、写真は contain で全体が見えるようにする */
@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    overflow: hidden;
    align-items: start;
  }
  .hero-right {
    height: auto;
  }
  .hero-photo {
    flex: none;
    aspect-ratio: 4 / 3;
  }
  .hero-photo__bg {
    background-size: contain;
  }
}

@media (max-width: 768px) {
  .main { padding-top: 90px; }
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    overflow: hidden;
    align-items: start;
  }
  .hero-right {
    height: auto;
  }
  .hero-photo {
    flex: none;
    aspect-ratio: 4 / 3;
  }
  .hero-left {
    padding: 80px 24px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }
  .hero-stats {
    gap: 0;
    margin-top: 44px;
    margin-bottom: 32px;
  }
  .hero-stat--primary .hero-stat__value { font-size: 32px; font-weight: 700; }
  .hero-stat__value { font-size: 32px; font-weight: 700; }
  .hero-stat { padding-right: 10px; }
  .hero-stat__sep { margin-right: 10px; height: 22px; }
  .hero-stat__unit { font-size: 12px; margin-top: 4px; }
  .bg-track { font-size: 60px; }
  .bg-track-2 { font-size: 48px; }
  .logo-fade-wrap { padding: 0; }
  .clinic-logo {
    padding: 0 18px;
  }
  .clinic-logo img {
    height: 90px;
    max-width: 170px;
    object-fit: contain;
  }
}


@media (max-width: 480px) {
  .hero-left { padding: 64px 20px 30px; }
  .hero-stat--primary .hero-stat__value { font-size: 28px; }
  .hero-stat__value { font-size: 28px; }
  .hero-stat { padding-right: 8px; }
  .hero-stat__sep { margin-right: 8px; height: 18px; }
  .hero-stat__label { font-size: 10px; }
  .hero-stats { padding: 12px 12px; }
}

@media (max-width: 387px) {
  .hero-stat__label { font-size: 8px; }
}

/* ========================================
   LINE公式アカウント誘導セクション
   ======================================== */
.line-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(134deg, #1E2D24 -42.97%, #27756A 91.52%, #38A899 122.26%);
  border-radius: 60px 0 0 0;
}

.line-cta__glow {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
}
.line-cta__glow--tr {
  width: 384px;
  height: 384px;
  top: -128px;
  right: -60px;
  opacity: 0.1;
}
.line-cta__glow--bl {
  width: 536px;
  height: 536px;
  left: -130px;
  bottom: -180px;
  opacity: 0.05;
}

.line-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 200px;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* ── スマホモックアップ ── */
.line-cta__phone {
  flex: 0 0 auto;
  width: 220px;
}
.line-cta__phone-frame {
  position: relative;
  width: 220px;
  height: 440px;
  background: #1e2d24;
  border: 8px solid #1e2d24;
  border-radius: 36px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.line-cta__phone-notch {
  position: absolute;
  top: 0;
  left: 70px;
  width: 64px;
  height: 20px;
  background: #1e2d24;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.line-cta__phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #06c755;
  padding: 8px 16px;
  border-radius: 28px 28px 0 0;
}
.line-cta__phone-bar-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 10px;
  color: #ffffff;
}
.line-cta__phone-bar-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.line-cta__phone-bar-dots span {
  display: block;
  background: #ffffff;
  opacity: 0.8;
  border-radius: 6px;
  height: 6px;
}
.line-cta__phone-bar-dots span:first-child { width: 12px; }
.line-cta__phone-bar-dots span:last-child { width: 4px; }

.line-cta__phone-body {
  background: #f0f5f1;
  height: 396px;
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.line-cta__phone-date {
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 9px;
  color: #6b8c74;
  padding: 4px 0;
}
.line-cta__msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.line-cta__msg-avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #06c755;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 8px;
  color: #ffffff;
}
.line-cta__msg-bubble {
  width: 144px;
  padding: 8px 10px;
  background: #ffffff;
  border-radius: 6px 16px 16px 16px;
}
.line-cta__msg-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 9px;
  line-height: 1.25;
  color: #1e2d24;
}
.line-cta__msg-desc {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 8px;
  line-height: 1.25;
  color: #6b8c74;
  padding-top: 2px;
}
.line-cta__msg--reply {
  justify-content: flex-end;
}
.line-cta__msg-bubble--reply {
  width: auto;
  border-radius: 16px 6px 16px 16px;
  background: #06c755;
}
.line-cta__msg-bubble--reply .line-cta__msg-title {
  color: #ffffff;
  white-space: nowrap;
}

/* ── テキスト・CTA ── */
.line-cta__content {
  flex: 1 1 auto;
  min-width: 0;
}

.line-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #ffffff;
}
.line-cta__badge-icon {
  width: 16px;
  height: 16px;
}

.line-cta__title {
  margin-top: 24px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.375;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
}

/* 防御的スタイル: WithMind-block プラグインの
   body h2:not(...) グローバル上書き（!important）が
   環境によって旧バージョン（.line-cta__title 除外なし）のままでも
   正しく表示されるよう、IDセレクタで確実に上書きする */
#lineCtaTitle {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-weight: 500 !important;
  font-size: 36px !important;
  line-height: 1.375 !important;
  letter-spacing: 0.02em !important;
  color: #ffffff !important;
  background-color: transparent !important;
  margin-top: 24px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  white-space: nowrap !important;
  position: relative !important;
  width: auto !important;
}
#lineCtaTitle::after {
  content: none !important;
}

.line-cta__desc {
  max-width: 400px;
  margin-top: 24px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
}

.line-cta__features {
  list-style: none;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 301px));
  gap: 10px 0;
}
.line-cta__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.line-cta__feature-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.line-cta__actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.line-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #06c755;
  border-radius: 999px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.025em;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 7.5px rgba(0, 0, 0, 0.1), 0 4px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.line-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 20px rgba(0, 0, 0, 0.18), 0 4px 6px rgba(0, 0, 0, 0.1);
}
.line-cta__btn-icon {
  width: 20px;
  height: 20px;
}
.line-cta__note {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1024px) {
  .line-cta__inner {
    gap: 48px;
    padding: 64px 32px;
  }
  .line-cta__title { font-size: 30px; }
  #lineCtaTitle { font-size: 30px !important; }
}

@media (max-width: 860px) {
  .line-cta__inner {
    flex-direction: column;
    text-align: center;
  }
  .line-cta__content { width: 100%; }
  .line-cta__desc { width: 100%; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
  .line-cta__features {
    grid-template-columns: 1fr;
    justify-items: stretch;
    max-width: 230px;
    margin-left: auto;
    margin-right: auto;
  }
  .line-cta__features li { justify-content: flex-start; }
  .line-cta__actions { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .line-cta__inner { padding: 48px 20px; }
  .line-cta__phone { width: 180px; }
  .line-cta__phone-frame { width: 180px; height: 360px; }
  .line-cta__title { font-size: 24px; }
  #lineCtaTitle { font-size: 24px !important; }
  .line-cta__badge { font-size: 11px; padding: 8px 14px; }
  .line-cta__features { max-width: 190px; }
}

/* ごく狭い画面（iPhone SE等）でタイトル1行目が折り返さないようさらに縮小 */
@media (max-width: 360px) {
  .line-cta__title { font-size: 20px; }
  #lineCtaTitle { font-size: 20px !important; }
}

/* ========================================
   注目記事スクロールセクション
   ======================================== */
.featured-articles-scroll {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: transparent;
}

/* 関連記事セクション用の背景色 */
.single-post + .featured-articles-scroll {
  background-color: #F5F5F7;
  padding: 20px 0;
  margin-top: -100px;
}

.featured-articles-scroll__container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-articles-scroll__wrapper {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  padding-bottom: 10px;
  position: relative;
}

.featured-articles-scroll__wrapper::-webkit-scrollbar {
  display: none;
}

.featured-article-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  scroll-snap-align: start;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.featured-article-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.featured-article-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.featured-article-card__img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-article-card:hover .featured-article-card__img {
  transform: scale(1.05);
}

.featured-article-card__overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.featured-article-card__content {
  width: 100%;
}

.featured-article-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 1.4;
  color: white;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-article-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-article-card__author-image {
  flex-shrink: 0;
}

.featured-article-card__author-image img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  object-fit: cover;
}

.featured-article-card__author-info {
  flex: 1;
}

.featured-article-card__author-name {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.featured-article-card__author-role {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   With Mind Concept Section
   ======================================== */
.withmind-concept {
  padding: 40px 0 0;
}

.withmind-concept__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.withmind-concept__title {
  font-family: 'Quicksand', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 24px;
}

.withmind-concept__description {
  font-size: 1rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 40px;
}

.withmind-concept__manga {
  font-size: 1.25rem;
  color: #333333;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.withmind-concept__manga-lp {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
}
@media (max-width: 768px) {
  .withmind-concept__manga-lp {
    width: 100%;
  }
}

.withmind-concept__manga-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   New Interview Section
   ======================================== */

.new-interview {
  background-color: #f7f9f8;
  position: relative;
  overflow: hidden;
}

.new-interview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/interview_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}

.new-interview__container,
.new-articles__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

.new-interview__subtitle {
  font-size: 1rem;
  color: #666666;
  margin-left: 44px;
  margin-bottom: 40px;
  text-align: left;
}

.new-interview__grid-wrap {
  position: relative;
}
.new-interview__grid-wrap .section-deco-img {
  position: absolute;
  right: 44%;
  bottom: 100%; /* アイコン下端 = カード上端 */
  height: 160px;
  width: auto;
  pointer-events: none;
}
/* タイトル横アイコン：デスクトップでは非表示、モバイルで表示 */
/* タイトル横アイコン：常時表示、clampでスムーズにスケーリング */
.section-deco-img--title {
  display: block;
  height: clamp(5rem, 14vw, 10rem);
}
/* グリッド上アイコン：常時非表示（タイトル横アイコンに統一） */
.section-deco-img--grid {
  display: none;
}
.new-articles .section-deco-img {
  height: clamp(5rem, 14vw, 9.625rem);
}
.new-interview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.new-interview__more {
  text-align: center;
}


/* ========================================
   Pick up Section
   ======================================== */
.pickup {
  /* padding: 50px 0; */
  background-color: transparent;
}

.pickup__container {
  max-width: 1200px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
}

.pickup__title-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 2.5vw, 40px);
  margin-bottom: 20px;
}

.new-articles .pickup__title-wrap {
  flex-direction: row;
  align-items: center;
}
.pickup__title-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pickup__title {
  font-family: 'Quicksand', sans-serif;
  font-size: 4rem;
  margin-bottom: 0;
  color: #000000;
  text-align: left;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -2px;
}
/* .section-deco-img {
  height: 120px;
  width: auto;
  flex-shrink: 0;
  pointer-events: none;
} */

.pickup__subtitle {
  font-size: 1rem;
  color: #666666;
  margin-left: 113px;
  margin-bottom: 90px;
  text-align: left;
}

.pickup__subtitle.type-2 {
  margin-bottom: 40px;
  margin-left: 5px;
}

.category-title {
  font-size: 3rem;
  margin-bottom: -10px;
}

.pickup-title-logo {
  height: 0.7em;
  width: auto;
  vertical-align: middle;
  margin-right: 0.1em;
  display: inline-block;
}

.category-subtitle {
  font-size: 1rem;
  color: #666666;
  margin-left: 64px;
  margin-bottom: 20px;
  text-align: left;
}

.pickup__article {
  position: relative;
}

.pickup__image-wrapper {
  position: relative;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.pickup__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pickup__overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.15);
  padding: 50px 0 30px 30px;
  color: white;
  display: flex;
  align-items: flex-end;
}

.pickup__content {
  max-width: 800px;
}

.pickup__category-date {
  position: absolute;
  top: -42px;
  left: -20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pickup__category {
  display: inline-block;
  font-size: 0.875rem;
  color: white;
  background-color: #1E2939;
  padding: 10px 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.pickup__category:hover {
  background-color: #2a3a4f;
}

.pickup__date {
  display: inline-block;
  font-size: 0.875rem;
  color: #333;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 1.8px;
}

.pickup__article-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.4;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: white;
}

.pickup__author {
  display: flex;
          align-items: center;
  gap: 16px;
}

.pickup__author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.pickup__author-image img {
  width: 100%;
  height: 100%;
     object-fit: cover;
}

.pickup__author-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pickup__author-role {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   新着記事セクション
   ======================================== */
.new-articles {
  /* padding: 0 0 70px 0; */
  background-image: linear-gradient(rgba(247, 250, 249, 0.72), rgba(247, 250, 249, 0.72)), url('../img/column_bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .new-articles__container {
    padding: 50px 20px;
  }
}

.new-articles__title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: -30px;
  margin-bottom: 8px;
  color: #000000;
}

.new-articles__subtitle {
  font-size: 1rem;
  color: #666666;
  margin-left: 134px;
  margin-top: -10px;
  margin-bottom: 24px;
  text-align: left;
}

/* コラムタブ */
.columns-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}
.columns-tab {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 10px 32px;
  border: 1.5px solid #224B46;
  background: transparent;
  color: #224B46;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border-radius: 4px;
}
.columns-tab--active {
  background-image: linear-gradient(90deg, rgba(17, 48, 44, 0.90) 0%, rgba(35, 121, 110, 0.9) 51%, rgba(17, 48, 44, 0.90) 100%);
  background-size: 200% auto;
  background-position: left center;
  color: #fff;
  border-radius: 4px;
}
.columns-tab:not(.columns-tab--active):hover {
  background: rgba(34,75,70,0.06);
}
.columns-grid[hidden],
.columns-more[hidden] {
  display: none !important;
}

.new-articles__filters {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
      flex-wrap: wrap;
}

.new-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  transition: opacity 0.3s ease;
}

.new-articles__more {
  text-align: center;
}

/* ========================================
   フィルターボタン
   ======================================== */
.filter-btn {
  padding: 12px 24px;
  background-color: transparent;
  border: 1px solid #e0e0e0;
  font-size: 0.875rem;
  color: #333333;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-btn:hover {
  background-color: #e0e0e0;
  border-color: #333333;
}

.filter-btn--active {
  background-color: #333333;
  color: white;
  border-color: #333333;
}

/* ========================================
   記事カード
   ======================================== */
.article-card {
  background-color: #ffffff;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #E0E0E0;
  border-radius: 0 40px 0 0;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  border-color: rgba(34, 75, 70, 0.18);
}

.article-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f0f0f0;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-card:hover .article-card__image img {
  transform: scale(1.06);
}

.article-card__content {
  padding: 24px;
          flex: 1;
  display: flex;
          flex-direction: column;
}

.article-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.article-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.article-card__category {
  font-size: 0.75rem;
  color: #fff;
  padding: 4px 8px;
  background-color: #E9B1B9;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.article-card__category:hover {
  background-color: #e0e0e0;
  color: #333333;
}

.article-card__date {
  font-size: 0.75rem;
  color: #666666;
}

.article-card__title {
  font-size: 0.99rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.5;
  color: #000000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__excerpt {
  font-size: 0.875rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 10px;
          flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card__author {
  margin-top: auto;
  padding-right: 48px;
}

.article-card__author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 4px;
}

.article-card__author-role {
  font-size: 0.75rem;
  color: #666666;
}

.article-card__link {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  display: flex;
          align-items: center;
          justify-content: center;
  border-radius: 50%;
  background-color: #E9B1B9;
  color: white;
  transition: transform 0.22s ease;
}

.article-card__link svg {
  width: 16px;
  height: 16px;
}

.article-card:hover .article-card__link {
  transform: scale(1.15) translateX(2px);
}

/* インタビューカテゴリーのカード */
.article-card--interview .article-card__category {
  background-color: #224B46;
  color: #fff;
  border-radius: 4px;
}

.article-card--interview .article-card__category:hover {
  background-color: #2a5a40;
  color: #fff;
}

.article-card--interview .article-card__link {
  background-color: #224B46;
}
.article-card--interview:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(34, 75, 70, 0.16);
  border-color: rgba(34, 75, 70, 0.22);
}
.article-card--interview:hover .article-card__image img {
  transform: scale(1.03);
}

/* インタビューカード: アイキャッチ右下コーナーにWithMindロゴ */
.article-card--interview .article-card__image {
  position: relative;
}

.article-card--interview .article-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 96px;
  height: 29px;
  background-color: rgba(255, 255, 255, 0.82);
  background-image: url('../img/02_bk.svg');
  background-size: 80% auto;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 6px 0 0 0;
  z-index: 2;
  pointer-events: none;
}

/* メンズコラムカテゴリーのカード */
.article-card--mens .article-card__category {
  background-color: #1b6875;
  color: #fff;
  border-radius: 4px;
}

.article-card--mens .article-card__category:hover {
  background-color: #224B46;
  color: #fff;
}

.article-card--mens .article-card__link {
  background-color: #1b6875;
}

/* ========================================
   ボタン
   ======================================== */
.btn-more {
  display: block;
  width: 100%;
  padding: 20px 20px;
  background: linear-gradient(135deg, #1f5548 0%, #2e7a65 100%);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.22s ease, box-shadow 0.22s ease;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(34,75,70,0.25);
}

.btn-more:hover {
  background: linear-gradient(135deg, #2e7a65 0%, #1f5548 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34,75,70,0.35);
}

.btn-more--banner {
  background: #1a3d2e;
  background-image: linear-gradient(135deg, #1a3d2e 60%, #2d6a4f 100%);
  border: none;
  color: #fff;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.btn-more--banner::before,
.btn-more--banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.6s ease;
}
.btn-more--banner::before {
  width: 200px;
  height: 200px;
  right: -60px;
  top: -60px;
}
.btn-more--banner::after {
  width: 140px;
  height: 140px;
  right: 60px;
  bottom: -60px;
}
.btn-more--banner:hover {
  background-color: #1a3d2e;
  color: #fff;
  opacity: 0.9;
}
.btn-more--banner:hover::before {
  transform: translateX(-12px);
}
.btn-more--banner:hover::after {
  transform: translateX(12px);
}

/* ── more-banner コンポーネント ── */
.more-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-image: linear-gradient(90deg, rgba(17, 48, 44, 0.90) 0%, rgba(35, 121, 110, 0.9) 51%, rgba(17, 48, 44, 0.90) 100%);
  background-size: 200% auto;
  background-position: left center;
  border-radius: 6px;
  padding: 1.5rem 2.5rem;
  text-decoration: none !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-position 0.45s, transform 0.22s ease, box-shadow 0.22s ease;
}
.more-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
}
.more-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  width: 100%;
  position: relative;
  z-index: 1;
}
.more-banner__line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  transform: scaleX(0.08);
  transition: transform 0.45s ease, background 0.3s;
}
.more-banner__line:first-child {
  transform-origin: right center;
}
.more-banner__line:last-child {
  transform-origin: left center;
}
.more-banner__text {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0;
  transition: color 0.25s ease, letter-spacing 0.3s ease;
}
.more-banner:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(17, 48, 44, 0.32);
}
.more-banner:hover .more-banner__text {
  color: #fff;
  letter-spacing: 0.06em;
}
.more-banner:hover .more-banner__line {
  transform: scaleX(0.3);
  background: rgba(255, 255, 255, 0.28);
}

.btn-primary {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.btn-primary:hover {
  background-color: #333333;
  border-color: #333333;
}

.btn-secondary {
  background-color: #ffffff;
  color: #000000;
  border-color: #000000;
}

.btn-secondary:hover {
  background-color: #f5f5f5;
}

.btn-tertiary {
  background-color: #f0f0f0;
  color: #000000;
  border-color: #000000;
}

.btn-tertiary:hover {
  background-color: #e0e0e0;
}

.single-post__content .btn,
.single-post__content .button {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 16px 0;
  border: 2px solid transparent;
}

/* ========================================
   フッター
   ======================================== */
.footer {
  background-color: #2c2c2c;
  color: white;
  padding: 70px 20px 20px 20px;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 40px;
}

.footer__logo h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer__logo img {
  width: 346px;
  height: 100px;
}

.footer__description {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer__nav-title {
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.footer__nav-title-en {
  font-size: 1.125rem;
  font-weight: 400;
  font-family: 'Quicksand', sans-serif;
  color: rgba(255, 255, 255, 0.9);
}

.footer__nav-title-ja {
  font-size: 0.625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.footer__nav-list {
  list-style: none;
}

.footer__nav-list li {
  margin-bottom: 8px;
}

.footer__nav-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer__nav-list a:hover {
  color: white;
}

.footer__disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__disclaimer-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin: 0;
}

.footer__disclaimer-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

.footer__disclaimer-link:hover {
  color: #fff;
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
}

.footer__bottom-links {
  display: flex;
  justify-content: right;
  gap: 24px;
  margin-bottom: 24px;
      flex-wrap: wrap;
}

.footer__bottom-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer__bottom-links a:hover {
  color: white;
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   記事詳細ページ
   ======================================== */
.single-post {
  margin-top: 10px;
  background-color: #F5F5F7;
}

.single-post__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-post__header {
  margin: 0;
}

/* ── 記事ヒーロー ───────────────────── */
.article-hero {
  background:   #0A5446;
  padding:      2rem 2rem 1.75rem;
  max-width:    1200px;
  margin-left:  auto;
  margin-right: auto;
  border-radius: 12px 12px 0 0;
}

.article-hero__badges {
  display:     flex;
  align-items: center;
  gap:         8px;
  margin-bottom: 14px;
}

.article-hero__cat {
  display:         inline-block;
  background:      rgba(255,255,255,0.15);
  color:           rgba(255,255,255,0.85);
  font-size:       12px;
  padding:         3px 10px;
  border-radius:   20px;
  text-decoration: none;
}
.article-hero__cat:hover {
  background:      rgba(255,255,255,0.28);
  color:           #fff;
  text-decoration: none;
}

.article-hero__pr {
  display:       inline-block;
  background:    rgba(255,255,255,0.25);
  color:         #fff;
  font-size:     11px;
  font-weight:   600;
  padding:       3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.article-hero__title {
  font-size:   1.5rem;
  font-weight: 700;
  color:       #fff;
  line-height: 1.4;
  margin:      0 0 16px;
  padding:     0;
}

.article-hero__meta {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  flex-wrap:       wrap;
  gap:             8px;
}

.article-hero__date {
  font-size: 12px;
  color:     rgba(255,255,255,0.7);
}

.article-hero__supervisor {
  display:       flex;
  align-items:   center;
  gap:           10px;
  background:    rgba(255,255,255,0.12);
  border-radius: 24px;
  padding:       6px 16px 6px 6px;
}
.article-hero__supervisor-photo {
  width:         36px;
  height:        36px;
  border-radius: 50%;
  object-fit:    cover;
}
.article-hero__supervisor-label {
  font-size: 12px;
  color:     rgba(255,255,255,0.7);
  margin:    0;
  line-height: 1.2;
}
.article-hero__supervisor-name {
  font-size:   14px;
  font-weight: 500;
  color:       #fff;
  margin:      0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .article-hero {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .article-hero__title {
    font-size: 1.25rem;
  }
}

.single-post__title {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
  line-height: 1.4;
  padding-top: 30px;
}

body.page .single-post__title {
  font-family: 'Quicksand', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.2;
  padding: 40px 0 20px 0;
  margin-bottom: 8px;
}

.single-post__date {
  font-size: 0.875rem;
  color: #666666;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.single-post__pr-label {
  display: inline-block;
  padding: 2px 8px;
  background-color: #666666;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.single-post__thumbnail {
  margin-bottom: 0;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

/* インタビュー記事のアイキャッチ右下ロゴバッジ */
.single-post--interview .single-post__thumbnail::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.82);
  background-image: url('../img/02_bk.svg');
  background-size: 80% auto;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px 0 0 0;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .single-post--interview .single-post__thumbnail::after {
    width: 110px;
    height: 36px;
  }
}

.single-post__thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 目次 */
.single-post__toc {
  background-color: #f5f5f5;
  padding: 16px;
  margin-bottom: 32px;
}

.toc-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #333333;
}

.toc-content {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.toc-content.active {
  display: block;
}

.toc-content ul,
.toc-content ol {
  list-style: none;
  padding-left: 0;
}

.toc-list {
  list-style: none;
  padding-left: 0;
}

.toc-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.toc-list li .toc-number {
  font-size: 1rem !important;
}

.toc-list li a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
  padding-left: 10px;
  font-size: 1rem;
}

.toc-list li a:hover {
  color: #000000;
  text-decoration: underline;
}

.toc-arrow {
  transition: transform 0.3s ease;
  margin-left: auto;
}

.toc-toggle.active .toc-arrow {
  transform: rotate(180deg);
}

/* 監修者セクション */
.single-post__supervisor {
  background-color: #f9f9f9;
  padding: 24px;
  margin-bottom: 32px;
}

.supervisor-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333333;
}

.supervisor-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.single-post__supervisor .supervisor-image {
  flex-shrink: 0;
}

.single-post__supervisor .supervisor-image img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

.supervisor-placeholder {
  width: 60px;
  height: 60px;
  background-color: #e0e0e0;
  border-radius: 4px;
}

.supervisor-info {
  flex: 1;
}

.supervisor-name {
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 4px;
}

.supervisor-role {
  font-size: 0.875rem;
  color: #666666;
  margin-bottom: 8px;
}

.supervisor-description {
  font-size: 0.875rem;
  color: #666666;
  line-height: 1.6;
}

/* 本文コンテンツ */
.single-post__content {
  background-color: #fff;
  padding: 20px 20px 40px 20px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 40px!important;
  max-width: 1200px;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  box-sizing: border-box;
  border-radius: 10px;
}

.single-post__content-inner {
  max-width: 900px;
  margin: 0 auto;
  isolation: isolate;
}

/* ========================================
   記事末尾 LINE誘導バナー（HorizontalBannerB4）
   ======================================== */
.article-line-banner {
  display: flex;
  align-items: stretch;
  width: calc(100% + 40px);
  max-width: 1200px;
  margin: 0 auto 40px;
  margin-left: -20px;
  margin-right: -20px;
  background: #ffffff;
  border: 1.5px solid #d8ede0;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(45, 106, 79, 0.06);
  overflow: hidden;
}
.article-line-banner__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 160px;
  padding: 24px 32px;
  background: #eef6f0;
}
.article-line-banner__badge-icon {
  width: 32px;
  height: 32px;
}
.article-line-banner__badge-label {
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #2d6a4f;
  white-space: nowrap;
}
.article-line-banner__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
}
.article-line-banner__text {
  min-width: 0;
}
.article-line-banner__title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1e2d24;
}
.article-line-banner__desc {
  margin-top: 6px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  color: #6b8c74;
}
.article-line-banner__btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #06c755;
  border-radius: 999px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.025em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}
.article-line-banner__btn-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .article-line-banner {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .article-line-banner {
    flex-direction: column;
  }
  .article-line-banner__badge {
    flex-direction: row;
    min-width: 0;
    padding: 16px 20px;
  }
  .article-line-banner__main {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .article-line-banner__text {
    text-align: center;
  }
  .article-line-banner__btn {
    justify-content: center;
  }
}

/* 投稿コンテンツ内のリンクにアンダーライン（線をテキストから少し下にずらす） */
.single-post__content a:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* 外部リンクにアンダーライン（目次とカスタムテーブルを除外） */
/* より具体的なセレクタを使用して確実に適用 */
.single-post__content p a[href^="http"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content p a[href^="https"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content p a[target="_blank"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content div a[href^="http"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content div a[href^="https"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content div a[target="_blank"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content li a[href^="http"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content li a[href^="https"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content li a[target="_blank"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content a[href^="http"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content a[href^="https"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post__content a[target="_blank"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post-content a[href^="http"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post-content a[href^="https"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.single-post-content a[target="_blank"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.entry-content a[href^="http"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.entry-content a[href^="https"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.entry-content a[target="_blank"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.wp-block-post-content a[href^="http"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.wp-block-post-content a[href^="https"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn),
.wp-block-post-content a[target="_blank"]:not(.btn):not(.button):not(.article-card__link):not(.article-card__title a):not(.hp-card__link):not(.hp-auth__switch-btn):not(.hp-auth__submit):not(.hp-sticky-submit):not(.hp-sticky-chip):not(.hp-mypage__fav-name):not(.page-numbers):not(.hp-single__btn):not(.hp-embed-section__all-link):not(.hp-embed-section__more-btn):not(.hp-results-filter-chip):not(.hp-top-search__banner-btn) {
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
}

/* 目次内のリンクはアンダーラインなし（外部リンクルールより後に配置して優先度を上げる） */
.single-post__content .toc-list a[href^="http"],
.single-post__content .toc-list a[href^="https"],
.single-post__content .toc-list a[target="_blank"],
.single-post__content .toc-content a[href^="http"],
.single-post__content .toc-content a[href^="https"],
.single-post__content .toc-content a[target="_blank"],
.single-post__content .toc-toggle[href^="http"],
.single-post__content .toc-toggle[href^="https"],
.single-post__content .toc-toggle[target="_blank"],
.single-post-content .toc-list a[href^="http"],
.single-post-content .toc-list a[href^="https"],
.single-post-content .toc-list a[target="_blank"],
.single-post-content .toc-content a[href^="http"],
.single-post-content .toc-content a[href^="https"],
.single-post-content .toc-content a[target="_blank"],
.single-post-content .toc-toggle[href^="http"],
.single-post-content .toc-toggle[href^="https"],
.single-post-content .toc-toggle[target="_blank"],
.entry-content .toc-list a[href^="http"],
.entry-content .toc-list a[href^="https"],
.entry-content .toc-list a[target="_blank"],
.entry-content .toc-content a[href^="http"],
.entry-content .toc-content a[href^="https"],
.entry-content .toc-content a[target="_blank"],
.entry-content .toc-toggle[href^="http"],
.entry-content .toc-toggle[href^="https"],
.entry-content .toc-toggle[target="_blank"],
.wp-block-post-content .toc-list a[href^="http"],
.wp-block-post-content .toc-list a[href^="https"],
.wp-block-post-content .toc-list a[target="_blank"],
.wp-block-post-content .toc-content a[href^="http"],
.wp-block-post-content .toc-content a[href^="https"],
.wp-block-post-content .toc-content a[target="_blank"],
.wp-block-post-content .toc-toggle[href^="http"],
.wp-block-post-content .toc-toggle[href^="https"],
.wp-block-post-content .toc-toggle[target="_blank"],
.single-post__content .toc-list a,
.single-post__content .toc-content a,
.single-post__content .toc-toggle,
.single-post-content .toc-list a,
.single-post-content .toc-content a,
.single-post-content .toc-toggle,
.entry-content .toc-list a,
.entry-content .toc-content a,
.entry-content .toc-toggle,
.wp-block-post-content .toc-list a,
.wp-block-post-content .toc-content a,
.wp-block-post-content .toc-toggle {
  text-decoration: none !important;
}

/* カスタムテーブル内のリンクはアンダーラインなし（外部リンクルールより後に配置して優先度を上げる） */
.single-post__content .withmind-custom-table a[href^="http"],
.single-post__content .withmind-custom-table a[href^="https"],
.single-post__content .withmind-custom-table a[target="_blank"],
.single-post-content .withmind-custom-table a[href^="http"],
.single-post-content .withmind-custom-table a[href^="https"],
.single-post-content .withmind-custom-table a[target="_blank"],
.entry-content .withmind-custom-table a[href^="http"],
.entry-content .withmind-custom-table a[href^="https"],
.entry-content .withmind-custom-table a[target="_blank"],
.wp-block-post-content .withmind-custom-table a[href^="http"],
.wp-block-post-content .withmind-custom-table a[href^="https"],
.wp-block-post-content .withmind-custom-table a[target="_blank"],
.single-post__content .withmind-custom-table a,
.single-post-content .withmind-custom-table a,
.entry-content .withmind-custom-table a,
.wp-block-post-content .withmind-custom-table a {
  text-decoration: none !important;
}

/* 固定ページ専用 - margin-bottomを0に設定 */
body.page .single-post__content {
  margin-bottom: 0!important;
}

/* タイトルなしページ（ログイン等）の上余白 */
.single-post--no-title .single-post__container {
  padding: 70px 20px;
}

/* マージン崩壊防止（hp-auth の margin-top/bottom が親に漏れないようにする） */
.single-post--no-title .single-post__content {
  padding-top: 1px;
  padding-bottom: 1px;
}

/* ログイン・登録ページのテキストサイズ */
.single-post--no-title .single-post__content p:not(.hp-top-search__banner-title):not(.hp-top-search__banner-sub):not(.hp-top-search__banner-desc) {
  font-size: 0.875rem;
}

/* マイページ内の p マージンをリセット */
.single-post__content .hp-mypage p {
  margin: 0;
}

/* 記事下 SNSシェアボタン（完成版・インラインSVG）
 * 親要素の階層: .single-post__share → .single-post__content-inner → .single-post__content → .single-post__container → .single-post (article) → .main
 * iOS Safariで描画されない場合、親のどれかに transform / will-change / overflow:hidden 等があるとレイヤーバグの可能性あり */

/* 【Safari 確定テスト】インラインSVGも出ない場合、以下を有効にして表示されるか確認。出たら親の transform が犯人 */
.single-post__share {
  margin-top: 40px;
  margin-bottom: 24px;
  transform: none !important;
  position: relative;
  z-index: 1;
  overflow: visible;
}
.single-post__share * {
  transform: none !important;
}
.single-post__share-list,
.single-post__content .single-post__share-list {
  overflow: visible;
}

.single-post__share-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.single-post__share-list,
.single-post__content .single-post__share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0;
  min-height: 66px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.single-post__share-list .single-post__share-item,
.single-post__content .single-post__share-list .single-post__share-item {
  flex: 0 0 auto;
  min-width: 66px;
  min-height: 66px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0;
}

.single-post__share-btn {
  position: relative;
  width: 66px;
  height: 66px;
  min-width: 66px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.2s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-appearance: none;
  appearance: none;
}

.single-post__share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.single-post__share-btn:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.single-post__share-icon {
  width: 28px;
  height: 28px;
}

/* 画像がSafariで描画されない場合のテキストフォールバック（必ず見えるように） */
.single-post__share-fallback {
  display: block !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.single-post__share-icon--img {
  display: block;
  object-fit: contain;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 0;
}

/* ボタン別色指定（currentColorで反映） */
.single-post__share-btn--x {
  background: linear-gradient(160deg, #3a3a3a 0%, #000 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35), 0 2px 4px rgba(0,0,0,0.2);
}

.single-post__share-btn--facebook {
  background: linear-gradient(160deg, #42a0ff 0%, #1877F2 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(24,119,242,0.45), 0 2px 4px rgba(24,119,242,0.25);
}

.single-post__share-btn--line {
  background: linear-gradient(160deg, #1de876 0%, #06C755 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(6,199,85,0.45), 0 2px 4px rgba(6,199,85,0.25);
}

/* Facebook・LINEアイコンを白で表示（SVGが黒で出る環境用） */
.single-post__share-btn--facebook img.single-post__share-icon-fb,
.single-post__share-btn--line img.single-post__share-icon-line {
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
}

/* シンプル版：他要素に隠されないよう z-index を十分に高く（iPhoneで全ボタン反応） */
.single-post__share--simple {
  margin-top: 40px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  padding-left: 20px !important;
  padding-right: 20px !important;
  -webkit-padding-start: 20px;
  -webkit-padding-end: 20px;
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.single-post__share--simple .single-post__share-label,
.single-post__share--simple .single-post__share-buttons {
  max-width: 100%;
  min-width: 0;
}
.single-post__share--simple .single-post__share-label {
  margin-bottom: 12px;
}
.single-post__share-buttons {
  display: block;
  position: relative;
  z-index: 10;
}
.single-post__share--simple .single-post__share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  line-height: 1 !important;
  text-align: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 10px;
  margin-right: 10px;
  vertical-align: top;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease !important;
}
.single-post__share--simple .single-post__share-btn:hover {
  transform: translateY(-4px) !important;
}
.single-post__share--simple .single-post__share-btn--line {
  border: none;
}

.single-post__share--simple .single-post__share-buttons button.single-post__share-btn {
  font-family: inherit;
  padding: 0;
  box-sizing: border-box;
}

/* シェアボタン＝ラッパー＋img（外）＋a（全面）。アイコンはリンクの外なのでSafariで消えない */
.single-post__share--simple .single-post__share-buttons .single-post__share-btn {
  position: relative;
}
.single-post__share--simple .single-post__share-btn-icon {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
}
.single-post__share--simple .single-post__share-btn-link {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.single-post__share--simple .single-post__share-buttons .single-post__share-btn img {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
}


.single-post__content-bottom {
  width: 100%;
  height: 100px;
  background-color: #F5F5F7;
}

/* 関連記事セクション（Featured Articles Scroll Sectionと同じスタイルを使用） */
.related-articles__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  padding-left: 0;
}

/* title-listのリスト表示を削除 */
.title-list {
  list-style: none !important;
  padding-left: 0;
}

.title-list li {
  list-style: none !important;
}

.title-list li::marker {
  display: none !important;
  content: none !important;
}

.single-post__content h2:not(.hp-card__name):not(.hp-embed-section__title) {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 20px 0;
  color: #333;
  padding: 20px 10px;
}

.single-post__content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 14px;
  margin-bottom: 12px;
  color: #333;
}

.toc-title,
.withmind-supervisor-name,
.comment-title,
.doctor-name,
.withmind-custom-table td,
.withmind-pros-cons__description,
.withmind-pros-cons__card-title,
.withmind-pros-cons__item,
.withmind-patient-reviews__name,
.withmind-patient-reviews__text {
  color: #333!important;
}

.single-post__content p {
  font-size: 1.125rem;
  line-height: 2.0;
  margin: 1.0em;
}

.single-post__content ul {
  padding: 20px 0px!important;
  font-size: 1rem;
  list-style: disc;
}

/* 通常ulのマーカーをグリーンに（カスタムブロック・シェアボタン除外） */
.single-post__content ul:not(.withmind-pros-cons__list):not(.withmind-bulleted-list__list):not(.toc-list):not(.boxed-list-items):not(.single-post__share-list) li::marker {
  color: #224B46;
}

/* シェアボタン用リストはマーカー・余白なし（上記ulより後に記述） */
.single-post__content .single-post__share-list,
.single-post__content ul.single-post__share-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0;
}
.single-post__content .single-post__share-list li,
.single-post__content ul.single-post__share-list li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0;
}
.single-post__content .single-post__share-list li::marker,
.single-post__content ul.single-post__share-list li::marker {
  display: none !important;
  content: "" !important;
}

.single-post__content .single-post__share-list li::before,
.single-post__content .single-post__share-list li::after,
.single-post__content ul.single-post__share-list li::before,
.single-post__content ul.single-post__share-list li::after {
  display: none !important;
  content: none !important;
}

.single-post__content ul li {
  font-size: 1rem;
  padding-right: 12px;
  position: relative;
  margin-bottom: 6px;
}

/* 通常のulリストのpadding-leftを打ち消し（global-styles等に負けないよう !important）（pros-cons・bulleted-list・boxed-listは除外） */
.single-post__content ul:not(.withmind-pros-cons__list):not(.withmind-bulleted-list__list):not(.toc-list):not(.boxed-list-items),
.single-post-content ul:not(.withmind-pros-cons__list):not(.withmind-bulleted-list__list):not(.toc-list):not(.boxed-list-items),
.wp-block-post-content ul:not(.withmind-pros-cons__list):not(.withmind-bulleted-list__list):not(.toc-list):not(.boxed-list-items),
.entry-content ul:not(.withmind-pros-cons__list):not(.withmind-bulleted-list__list):not(.toc-list):not(.boxed-list-items) {
  padding-left: 0 !important;
}

/* pros-cons リストのグローバルulルールを無効化 */
.single-post__content .withmind-pros-cons__list {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* boxed-list: .single-post__content ul / ul li のグローバルルールを無効化 */
.single-post__content .boxed-list-items,
.single-post-content .boxed-list-items,
.wp-block-post-content .boxed-list-items,
.entry-content .boxed-list-items {
  padding: 0 !important;
  list-style: none !important;
}
.single-post__content .boxed-list-items .boxed-list-item,
.single-post-content .boxed-list-items .boxed-list-item,
.wp-block-post-content .boxed-list-items .boxed-list-item,
.entry-content .boxed-list-items .boxed-list-item {
  padding-right: 0 !important;
  position: static !important;
  margin-bottom: 0 !important;
}

/* シェアボタン用のul・liは右余白なし（.single-post__content ul li より後に記述） */
.single-post__content .single-post__share-list,
.single-post__content ul.single-post__share-list {
  padding-right: 0 !important;
  margin-right: 0;
}
.single-post__content .single-post__share-list li,
.single-post__content ul.single-post__share-list li {
  padding-right: 0 !important;
  margin-right: 0;
}

.single-post__content ol {
  padding: 20px 0px!important;
  font-size: 1rem;
  list-style: decimal;
}

/* olの数字をゴールドに */
.single-post__content ol li::marker {
  color: #D7841D;
  font-weight: 700;
}

.single-post__content ol li {
  font-size: 1rem;
  padding-right: 12px;
  position: relative;
  margin-bottom: 6px;
}


.single-post__content table {
  width: 100%;
  border-collapse: collapse;
}

.single-post__content table th,
.single-post__content table td {
  font-size: 1rem !important;
}

/* カスタムブロック内のテーブル（2列の場合も含む）のfont-sizeを明示的に指定 */
.single-post__content .withmind-custom-table th,
.single-post__content .withmind-custom-table td,
.single-post__content .withmind-custom-table th *,
.single-post__content .withmind-custom-table td * {
  font-size: inherit !important;
}

.single-post__content table th {
  background-color: #2c2c2c;
  color: #ffffff;
  font-weight: 600;
}


.single-post__content table a {
  color: #5b8cba;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.single-post__content table a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.single-post__content mark:not(.medical-marker):not([class*="medical-marker"]):not([data-marker-color]) {
  background-color: #ffff00;
  padding: 2px 4px;
}

/* カスタムマーカー（medical-marker）を細いマーカーに（文字の下半分に表示） */
.single-post__content mark.medical-marker,
.single-post__content mark[class*="medical-marker"],
.single-post__content mark[data-marker-color] {
  padding: 0 2px !important;
  display: inline !important;
  background-color: transparent !important;
  background-image: linear-gradient(to bottom, var(--medical-marker-bg, rgba(255, 188, 4, 0.2)), var(--medical-marker-bg, rgba(255, 188, 4, 0.2))) !important;
  background-size: 100% 0.4em !important;
  background-position: left bottom !important;
  background-repeat: no-repeat !important;
  box-shadow: none !important;
  box-decoration-break: clone !important;
  -webkit-box-decoration-break: clone !important;
  vertical-align: baseline !important;
  position: relative !important;
}

/* 投稿内で直接挿入した画像のみに適用（カスタムブロック内の画像は除外） */
.single-post__content > img,
.single-post__content > p > img,
.single-post__content .wp-block-image:not([class*="withmind-"]):not([class*="medical-"]),
.single-post__content figure:not([class*="withmind-"]):not([class*="medical-"]) {
  display: block;
  margin: 1.0em auto;
  max-width: 100%;
  height: auto;
  text-align: center;
  border-radius: 0 !important;
}

.single-post__content .wp-block-image:not([class*="withmind-"]):not([class*="medical-"]) img,
.single-post__content figure:not([class*="withmind-"]):not([class*="medical-"]) img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 0 !important;
}

/* 投稿内のすべての画像からborder-radiusを削除 */
.single-post__content img {
  border-radius: 0 !important;
}

/* ブロックのキャプション（画像説明文）の文字サイズ */
.wp-element-caption {
  font-size: 0.8125rem;
}

.single-post__content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid #D7841D;
  background-color: #fdf8f0;
  font-style: italic;
  color: #555;
  quotes: "\201C""\201D""\2018""\2019";
  border-radius: 0 6px 6px 0;
}

.single-post__content blockquote p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.8;
}

.single-post__content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-style: normal;
  color: #666;
}

.single-post__content blockquote cite::before {
  content: "— ";
}

/* コールアウトボックス */
.callout-box {
  padding: 20px;
  margin: 24px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 100%;
}

.callout-box--left {
  margin-left: 0;
  margin-right: auto;
}

.callout-box--right {
  margin-left: auto;
  margin-right: 0;
  flex-direction: row-reverse;
}

.callout-box--info,
.callout-box--success,
.callout-box--warning {
  background-color: #f0f0f0;
}

.callout-box__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callout-box--right .callout-box__icon {
  order: 2;
}

.callout-box__content {
  flex: 1;
}

.callout-box--right .callout-box__content {
  order: 1;
}

.callout-box__title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333333;
}

.callout-box__text {
  font-size: 0.875rem;
  color: #666666;
  line-height: 1.6;
}

/* メリット・デメリット */
.single-post__merits-demerits {
  margin: 50px 0;
}

.merits-demerits-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #000000;
}

.merits-demerits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.merits-section,
.demerits-section {
  background-color: #f9f9f9;
  padding: 24px;
}

.merits-header,
.demerits-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.merits-header h3,
.demerits-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
  margin: 0;
}

.merits-list,
.demerits-list {
  list-style: none;
  padding-left: 0;
}

.merits-list li,
.demerits-list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #333333;
}

.merit-marker,
.demerit-marker {
  position: absolute;
  left: 0;
  color: #000000;
  font-weight: 600;
}

/* 受講生の声 */
.single-post__testimonials {
  margin: 50px 0;
}

.testimonials-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #000000;
}

.testimonials-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666666;
}

.testimonials-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.testimonials-container {
  display: flex;
  gap: 24px;
  padding-bottom: 16px;
}

.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 24px;
}

.testimonial-image {
  margin-bottom: 16px;
}

.testimonial-image img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

.testimonial-placeholder {
  width: 60px;
  height: 60px;
  background-color: #e0e0e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #666666;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 4px;
}

.testimonial-date {
  font-size: 0.75rem;
  color: #666666;
  margin-bottom: 8px;
}

.testimonial-rating {
  margin-bottom: 12px;
}

.star {
  font-size: 1rem;
  margin-right: 2px;
}

.star-empty {
  color: #cccccc;
}

.testimonial-text {
  font-size: 0.875rem;
  color: #666666;
  line-height: 1.6;
}

/* ========================================
   ページネーション
   ======================================== */
.pagination-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  width: 100% !important;
  /* margin: 50px auto !important; */
  padding: 0 !important;
  clear: both !important;
  text-align: center !important;
}

.pagination-wrapper * {
  text-align: center !important;
}

.pagination-wrapper > span,
.pagination-wrapper > a {
  display: inline-block !important;
  margin: 0 4px !important;
  text-align: center !important;
  float: none !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.pagination-wrapper > nav,
.pagination-wrapper > div:not(.page-numbers),
.pagination-wrapper nav,
.pagination-wrapper .nav-links,
.pagination-wrapper .navigation,
.pagination-wrapper .pagination,
.pagination-wrapper .navigation.pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 auto !important;
  width: auto !important;
  text-align: center !important;
  float: none !important;
  flex-direction: row !important;
  padding: 0 !important;
}

.pagination-wrapper a,
.pagination-wrapper span,
.pagination-wrapper .page-numbers,
.pagination-wrapper a.page-numbers,
.pagination-wrapper span.page-numbers,
.pagination-wrapper .prev.page-numbers,
.pagination-wrapper .next.page-numbers,
.pagination-wrapper nav a,
.pagination-wrapper nav span,
.pagination-wrapper .nav-links a,
.pagination-wrapper .nav-links span {
  display: inline-block !important;
  margin: 0 4px !important;
  text-align: center !important;
  float: none !important;
  vertical-align: middle !important;
}

.pagination,
.nav-links,
.navigation.pagination .nav-links,
nav.navigation.pagination .nav-links,
.navigation.pagination,
nav.navigation.pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px;
  margin: 0 auto !important;
  width: 100%;
  text-align: center;
}

.pagination-wrapper .pagination,
.pagination-wrapper .nav-links,
.pagination-wrapper .navigation.pagination,
.pagination-wrapper nav.navigation.pagination {
  margin: 0 auto !important;
}

.new-articles__container .pagination-wrapper,
.new-articles .pagination-wrapper,
.new-interview__container .pagination-wrapper,
.new-interview .pagination-wrapper {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: row !important;
}

.new-articles__container .pagination-wrapper > *,
.new-articles .pagination-wrapper > *,
.new-interview__container .pagination-wrapper > *,
.new-interview .pagination-wrapper > * {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  width: fit-content !important;
}

.page-numbers,
a.page-numbers,
span.page-numbers,
.prev.page-numbers,
.next.page-numbers {
  display: inline-block !important;
  padding: 6px 16px !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px;
  color: #333333 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.pagination .page-numbers,
.nav-links .page-numbers,
.navigation.pagination .page-numbers,
.navigation.pagination .nav-links .page-numbers,
.navigation.pagination a.page-numbers,
.navigation.pagination span.page-numbers,
.navigation.pagination .prev.page-numbers,
.navigation.pagination .next.page-numbers,
nav.navigation.pagination .page-numbers,
nav.navigation.pagination .nav-links .page-numbers,
nav.navigation.pagination a.page-numbers,
nav.navigation.pagination span.page-numbers {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  color: #333333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current,
a.page-numbers:hover,
span.page-numbers.current {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current,
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current,
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover,
.navigation.pagination span.page-numbers.current,
nav.navigation.pagination .page-numbers:hover,
nav.navigation.pagination .page-numbers.current,
nav.navigation.pagination a.page-numbers:hover,
nav.navigation.pagination span.page-numbers.current {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.page-numbers.dots,
.pagination .page-numbers.dots,
.nav-links .page-numbers.dots,
.navigation.pagination .page-numbers.dots {
  border: none !important;
  cursor: default !important;
}

.page-numbers.dots:hover,
.pagination .page-numbers.dots:hover,
.nav-links .page-numbers.dots:hover,
.navigation.pagination .page-numbers.dots:hover {
  background-color: transparent !important;
  color: #333333 !important;
}

/* ========================================
   ユーティリティ
   ======================================== */
.pickup__title,
.pickup__subtitle,
.new-articles__subtitle {
  text-align: left !important;
}

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: #666666;
  font-size: 1rem;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 1200px) {
  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .header {
    padding: 16px 10px;
  }

  .header__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }

  .header__logo img {
    width: 200px;
    height: auto;
    max-width: 100%;
  }

  .header__hamburger {
    display: flex;
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 400;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 300;
    padding: 80px 20px 32px;
    gap: 0;
    overflow-y: auto;
  }

  .header__nav.is-active {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  .header__nav-list li {
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
  }

  .header__nav-link {
    display: flex;
    width: 100%;
    padding: 16px 0;
    font-size: 1rem;
    border-radius: 0;
  }

  .header__nav-link::after {
    display: none;
  }

  .header__nav-link:hover {
    color: #333333;
  }

  /* モバイルのログインボタン */
  .header__login-btn {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header {
  padding: 16px 10px;
  }


  .feature-slider {
    border-radius: 0 0 0 40px;
    height: 160px;
  }
  .withmind-concept {
    padding: 0;
  }

  .new-interview {
    padding: 0;
  }

  .new-interview__container {
    padding: 30px 20px;
  }

  .new-interview__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .withmind-concept__title {
    font-size: 1.5rem;
  }

  .withmind-concept__description {
    font-size: 0.875rem;
  }

  .withmind-concept__manga {
    font-size: 0.875rem;
    margin-bottom: 0;
  }

  .featured-articles-scroll {
    padding: 30px 0;
  }

  .featured-article-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 240px;
  }

  .featured-article-card__title {
    font-size: 0.875rem;
    margin-top: 30px;
    margin-bottom: 12px;
  }

  .featured-article-card__author-image img {
    width: 50px !important;
    height: 50px !important;
  }

  .featured-article-card__author-name {
    font-size: 0.6875rem;
  }

  .featured-article-card__author-role {
    font-size: 0.625rem;
  }

  .pickup {
    padding: 0 0 20px 0;
  }

  .pickup__container {
    margin: 0 auto;
  }

  .pickup__title {
    font-size: 2.25rem;
    line-height: 1.15;
    margin-bottom: 0;
  }
  /* .pickup__title-wrap {
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
  } */
  .new-articles .pickup__title-wrap {
    flex-direction: row;
    margin-bottom: 20px;
  }


  .pickup__subtitle {
    font-size: 0.875rem;
    margin: 6px 0 24px 4px;
  }
  .pickup__subtitle.type-2 {
    margin: 0;
  }

  .pickup__image-wrapper {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    aspect-ratio: 4 / 3;
  }

  .pickup__overlay {
    padding: 20px;
  }

  .pickup__author-image {
    width: 50px;
    height: 50px;
  }

  .pickup__article-title {
    font-size: 1rem;
    width: 100%;
    margin-bottom: 20px;
  }

  .new-articles {
    padding: 0;
  }

  .new-articles__subtitle {
    font-size: 0.875rem;
    margin: 10px 0 20px 48px;
  }

  .new-articles__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
  }

  .new-articles__filters {
    margin-top: -30px;
    margin-bottom: 10px;
    gap: 8px;
  }

  /* カテゴリーページのpickup__headerのpadding調整 */
  body.category .pickup__header {
    padding: 20px 0 10px !important;
  }

  /* カスタムテーブルのfont-size調整 */
  .withmind-custom-table th,
  .withmind-custom-table td,
  .single-post__content table th,
  .single-post__content table td {
    font-size: 14px !important;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .article-card__title {
    font-size: 0.8125rem;
  }

  .article-card__excerpt {
    font-size: 0.8125rem;
  }

  .btn-more {
    width: 100%;
    padding: 10px 20px;
  }

  .footer {
    padding: 40px 40px 10px 40px;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom-links {
    justify-content: center;
  }

  .single-post__title {
    font-size: 1.5rem;
  }

  .single-post__content h2 {
    font-size: 1.5rem;
  }

  .single-post__content h3 {
    font-size: 1.25rem;
  }

  .single-post__content p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0.85em 0;
  }

  .single-post__content {
    padding: 20px;
  }

  /* 固定ページ専用 */
  body.page .single-post__content {
    /* padding: 20px 25px; */
    margin-bottom: 0!important;
  }

  .merits-demerits-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    width: 280px;
  }

  .single-post__thumbnail-img {
    border-radius: 0;
  }
}

@media (max-width: 480px) {

  .withmind-concept {
    padding: 20px 0;
  }

  .withmind-concept__title {
    font-size: 1.25rem;
  }

  .withmind-concept__description {
    font-size: 0.8125rem;
  }

  .withmind-concept__manga {
    font-size: 0.8125rem;
  }

  .related-articles__title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .single-post__share-label {
    font-size: 1rem !important;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .new-interview__container {
    padding: 40px 20px;
    margin: 0 auto;
  }

  .new-interview__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .featured-articles-scroll {
    padding: 20px 0;
  }

  .featured-article-card {
    flex: 0 0 85%;
    min-width: 200px;
  }

  .featured-article-card__title {
    font-size: 0.8125rem;
    margin-top: 24px;
    margin-bottom: 10px;
  }

  .featured-article-card__author-image img {
    width: 50px !important;
    height: 50px !important;
  }

  .featured-article-card__author-name {
    font-size: 0.625rem;
  }

  .featured-article-card__author-role {
    font-size: 0.5625rem;
  }


  .pickup__article-title {
    font-size: 0.875rem;
  }

  .pickup__author-image {
    width: 50px;
    height: 50px;
  }

  .new-articles__grid {
    grid-template-columns: 1fr;
  }

  .footer__nav {
    grid-template-columns: 1fr;
  }

  .btn-more {
    padding: 10px 20px;
  }

  .single-post__content {
    padding: 20px;
    margin-bottom: 40px!important;
  }

  /* 固定ページ専用 */
  body.page .single-post__content {
    /* padding: 20px; */
    margin-bottom: 0!important;
  }

  .single-post__content-bottom {
    width: 100%;
    height: 60px;
    background-color: #F5F5F7;
  }

  /* content-bottom スペーサーが100px→60pxに縮小される分、引き上げ量も合わせて縮小 */
  .single-post + .featured-articles-scroll {
    margin-top: -60px;
  }

  .related-articles__title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .single-post__share-label {
    font-size: 1rem !important;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .single-post__content p {
    line-height: 1.7;
    margin: 0.85em 0;
  }
  
  .single-post__content > img,
  .single-post__content > p > img,
  .single-post__content .wp-block-image:not([class*="withmind-"]):not([class*="medical-"]),
  .single-post__content figure:not([class*="withmind-"]):not([class*="medical-"]) {
    margin: 0.85em auto;
  }

  .pickup-title-logo {
    height: 0.95em;
  }

  .hp-top-search__title-wrap {
    gap: 10px!important;
  }

  .hp-top-search__method-desc {
    font-size: 11px!important;
  }

  .hp-top-search__method-title {
    font-size: 0.9rem!important;
  }

  .more-banner {
   padding: 0.9rem 1.5rem!important;
  }

  .more-banner__text {
    font-size: 14px!important;
  }
}

/* ========================================
   お問い合わせフォーム（Googleフォーム）
   ======================================== */
/* YouTube埋め込み動画を画面いっぱいに広げる */
.single-post__content iframe[src*="youtube.com"],
.single-post__content iframe[src*="youtu.be"],
.single-post__content .wp-block-embed-youtube,
.single-post__content .wp-block-embed-youtube iframe,
.single-post__content .wp-block-embed iframe[src*="youtube.com"],
.single-post__content .wp-block-embed iframe[src*="youtu.be"] {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 0;
  margin: 24px 0;
  display: block;
}

.single-post__content iframe[src*="docs.google.com"],
.single-post__content iframe[src*="forms.gle"],
.single-post__content iframe[src*="google.com/forms"] {
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 8px;
  margin: 20px 0;
  min-height: 600px;
}

/* Googleフォームのコンテナ */
.single-post__content .google-form-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
}

.single-post__content .google-form-wrapper iframe {
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 8px;
  margin: 0;
  min-height: 600px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* YouTube埋め込み動画のレスポンシブ対応 */
  .single-post__content iframe[src*="youtube.com"],
  .single-post__content iframe[src*="youtu.be"],
  .single-post__content .wp-block-embed-youtube iframe,
  .single-post__content .wp-block-embed iframe[src*="youtube.com"],
  .single-post__content .wp-block-embed iframe[src*="youtu.be"] {
    width: 100% !important;
    margin: 20px 0;
  }

  .single-post__content iframe[src*="docs.google.com"],
  .single-post__content iframe[src*="forms.gle"],
  .single-post__content iframe[src*="google.com/forms"],
  .single-post__content .google-form-wrapper iframe {
    min-height: 800px;
  }

  .single-post__content .google-form-wrapper {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  /* YouTube埋め込み動画のレスポンシブ対応 */
  .single-post__content iframe[src*="youtube.com"],
  .single-post__content iframe[src*="youtu.be"],
  .single-post__content .wp-block-embed-youtube iframe,
  .single-post__content .wp-block-embed iframe[src*="youtube.com"],
  .single-post__content .wp-block-embed iframe[src*="youtu.be"] {
    width: 100% !important;
    margin: 16px 0;
  }

  .single-post__content iframe[src*="docs.google.com"],
  .single-post__content iframe[src*="forms.gle"],
  .single-post__content iframe[src*="google.com/forms"],
  .single-post__content .google-form-wrapper iframe {
    min-height: 1000px;
  }

  .single-post__content .google-form-wrapper {
    padding: 12px;
  }
}

@media (max-width: 798px) {
  /* 病院検索ページのpadding-top削除 */
  .single-post--no-title .single-post__container {
    padding: 10px 20px 20px 20px;
  }

  /* 検索結果ページのulのpadding */
  .single-post__content ul,
  .single-post-content ul,
  .wp-block-post-content ul,
  .entry-content ul {
    padding: 0 !important;
  }

  /* カテゴリーページのnew-articlesとall-articlesのみpadding調整 */
  /* body.category .new-articles,
  body.category .all-articles,
  .all-articles.new-articles {
    padding: 0 0 40px 0 !important;
  } */

  /* カテゴリーページのpickup__subtitleのみmargin調整 */
  body.category .pickup__subtitle,
  body.category .category-subtitle {
    margin: 14px 0 !important;
  }
}

/* ========================================
   TOPへ戻るボタン
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #1f5548 0%, #2e7a65 100%);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, filter 0.2s ease;
  padding: 8px 6px 6px;
  box-shadow: 0 4px 12px rgba(34, 75, 70, 0.3);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  filter: brightness(1.12);
}

.back-to-top__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 84px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ========================================
   SP用フローティングLINE友だち追加ボタン
   ======================================== */
.floating-line-cta {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 250;
  align-items: center;
  gap: 12px;
  padding: 12px 24px 12px 16px;
  background: #06c755;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(6, 199, 85, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-line-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 20px rgba(6, 199, 85, 0.4);
}
.floating-line-cta__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.floating-line-cta__label {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  white-space: nowrap;
}
.floating-line-cta__arrow {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-top: 1.6px solid #ffffff;
  border-right: 1.6px solid #ffffff;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .floating-line-cta {
    display: inline-flex;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ========================================
   スクロールフェードイン
   ======================================== */
.js-fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease var(--delay, 0s),
              transform 0.75s ease var(--delay, 0s);
}
.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ロゴアイテム: 初期状態は非表示 */
.interview-clinic__logo-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* セクションが見えたとき、3秒間隔で1件ずつ順番に表示 */
.interview-clinic--in-view .interview-clinic__logo-item:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.interview-clinic--in-view .interview-clinic__logo-item:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 3s; }
.interview-clinic--in-view .interview-clinic__logo-item:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 6s; }
.interview-clinic--in-view .interview-clinic__logo-item:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 9s; }
.interview-clinic--in-view .interview-clinic__logo-item:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 12s; }
.interview-clinic--in-view .interview-clinic__logo-item:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 15s; }

/* ========================================
   Interview Clinic 背景テキストアニメーション
   ======================================== */
.clinic-bg-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.clinic-bg-text__track {
  display: flex;
  white-space: nowrap;
  font-size: 120px;
  font-weight: 800;
  color: #2a5c40;
  opacity: 0.04;
  animation: bgScroll 40s linear infinite;
  will-change: transform;
}
.clinic-bg-text__track--reverse {
  animation-direction: reverse;
}
@keyframes bgScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clinic-bg-text__track span {
  padding-right: 80px;
}

/* ========================================
   背景テキストマーキー
   ======================================== */
.bg-text-marquee {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.bg-text-marquee__track {
  display: flex;
  white-space: nowrap;
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 800;
  color: #2a5c40;
  opacity: 0.045;
  letter-spacing: 0.06em;
  animation: bgMarqueeForward 45s linear infinite;
  will-change: transform;
}
.bg-text-marquee__track--reverse {
  animation-name: bgMarqueeReverse;
  animation-duration: 38s;
  opacity: 0.03;
}
@keyframes bgMarqueeForward {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes bgMarqueeReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.bg-text-marquee__track span {
  padding-right: 80px;
}

/* ========================================
   Interview Clinic セクション
   ======================================== */
.interview-clinic {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: #d4ece0;
}
.interview-clinic__container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.interview-clinic__logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.interview-clinic__logo-item {
  position: relative;
}
.interview-clinic__logo-placeholder {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 2 / 1;
  background: linear-gradient(135deg, #e8f4ed 0%, #c8e6d4 100%);
  border: 1px solid #b8d4c0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.interview-clinic__logo-placeholder:hover {
  box-shadow: 0 6px 20px rgba(42, 92, 64, 0.12);
  transform: translateY(-2px);
}
.interview-clinic__logo-name {
  font-size: 15px;
  font-weight: 700;
  color: #2a5c40;
  letter-spacing: 0.06em;
  text-align: center;
}
.interview-clinic__logo-sub {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .interview-clinic {
    padding: 56px 0;
  }
  .interview-clinic__container {
    padding: 0 20px;
  }
  .interview-clinic__logos {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================================
   クリニック検索セクション（TOP ページ）
   ============================================================ */

.hp-top-search {
  background: linear-gradient(160deg, #e6f2ec 0%, #f0f7f4 45%, #eaf4f0 100%);
  padding: 96px 20px 104px;
  position: relative;
  overflow: hidden;
}
.hp-top-search__ring {
  position: absolute;
  left: 0;
  top: 15px;
  width: 52px;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}

.hp-top-search__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* タイトル */
.hp-top-search__head {
  display: flex;
  flex-direction: column;
}
.hp-top-search__subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0 4px;
  line-height: 1;
  color: #2D6A4F;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hp-top-search__subtitle::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: #2D6A4F;
  flex-shrink: 0;
}
.hp-top-search__title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hp-top-search__top {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 20px rgba(34, 75, 70, 0.06);
  padding: 36px 40px 48px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hp-top-search__doctor {
  position: absolute;
  right: 0;
  bottom: 116px;
  height: clamp(5rem, 13vw, 11.5rem);
  left: 43%;
  width: auto;
  pointer-events: none;
}
.hp-top-search__main-title {
  font-family: 'Chiron GoRound TC', sans-serif !important;
  font-size: 2.5rem;
  font-weight: 600;
  color: #000;
  margin: 0;
  line-height: 1.1;
  line-height: 61.6px;
}
.hp-top-search__desc {
  font-size: 0.875rem;
  color: #888;
  margin: 16px 0 0;
}

@media (max-width: 1365px) {
  .hp-top-search__ring {
    display: none;
  }
  .hp-top-search__doctor {
    left: 83%;
  }
}
@media (max-width: 980px) {
  .hp-top-search__doctor {
    left: 80%;
  }
}
@media (max-width: 768px) {
  .hp-top-search__main-title {
    font-size: 1.75rem;
  }
  .hp-top-search__top {
    padding: 24px 20px 36px;
  }
  .hp-top-search__doctor {
    bottom: 170px;
    left: 72%;
  }
  .hp-top-search__desc {
    font-size: 13px;
    margin-top: 10px;
  }
  .more-banner {
    padding: 1rem 1.8rem!important;
  }
  .more-banner__text {
    font-size: 14px!important;
  }
}
@media (max-width: 580px) {
  .hp-top-search__doctor {
    bottom: 170px;
    left: 70%;
  }
}
@media (max-width: 526px) {
  .hp-top-search__spec-note-dash {
    display: none;
  }
}
@media (max-width: 480px) {
  .hp-top-search__main-title {
    font-size: 1.6rem;
  }
  .hp-top-search__top {
    padding: 20px 16px 32px;
  }
  .hp-top-search__doctor {
    bottom: 210px;
    left: 69%;
  }
  .hp-top-search__inner {
    gap: 20px;
  }
  .hp-top-search__bar-icon {
    padding: 0 8px!important;
  }
  .hp-top-search__bar-icon {
    display: none !important;
  }
}
/* 検索バー */
.hp-top-search__bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  border: 1.5px solid rgba(34, 75, 70, 0.55);
  background: #FFF;
  box-shadow: 0 4px 20px rgba(34, 75, 70, 0.14), 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  height: 70px;
}
.hp-top-search__bar-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 14px 0 20px;
}
.hp-top-search__bar-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #1a1a1a;
  background: transparent;
  padding: 0;
}
.hp-top-search__bar-input::placeholder {
  color: #b5c7bf;
}
.hp-top-search__bar-divider {
  width: 1px;
  height: 40px;
  background: rgba(224,224,224,0.7);
  flex-shrink: 0;
}
.hp-top-search__bar-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-image: linear-gradient(90deg, #224B46 0%, #3F8980 50%, #224B46 100%);
  background-size: 200% auto;
  background-position: left center;
  color: #fff;
  border: none;
  height: 70px;
  padding: 0 36px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background-position 0.4s;
}
.hp-top-search__bar-btn:hover {
  background-position: right center;
}

/* よく検索されています */
.hp-top-search__popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.875rem;
}
.hp-top-search__popular-label {
  color: #888;
  white-space: nowrap;
}
.hp-top-search__popular-tag {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.875rem;
  color: #5c5c5c;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.hp-top-search__popular-tag:hover {
  border-color: #2c6345;
  color: #2c6345;
  background: rgba(44, 99, 69, 0.06);
}

/* 4つの検索方法カード */
.hp-top-search__methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hp-top-search__method {
  background: #fff;
  border: 1px solid #2d6a4f;
  border-radius: 12px;
  padding: 32px 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  text-align: center;
  box-shadow: 0 2px 10px rgba(34, 75, 70, 0.07), 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.hp-top-search__method:hover {
  border-color: #2d6a4f;
  box-shadow: 0 8px 28px rgba(34, 75, 70, 0.16);
  transform: translateY(-4px);
}
.hp-top-search__method--active {
  border: 2px solid #2d6a4f;
  box-shadow: 0 4px 18px rgba(42,126,100,0.18);
}
.hp-top-search__method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF8DC;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.hp-top-search__method-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  filter: invert(62%) sepia(70%) saturate(900%) hue-rotate(6deg) brightness(105%) contrast(97%);
  transition: filter 0.2s;
}
@media (max-width: 768px) {
  .hp-top-search__method-icon { width: 88px; height: 88px; }
  .hp-top-search__method-img  { width: 54px; height: 54px; }
}
@media (max-width: 480px) {
  .hp-top-search__method-icon { width: 72px; height: 72px; }
  .hp-top-search__method-img  { width: 44px; height: 44px; }
}
.hp-top-search__method:hover .hp-top-search__method-icon {
  background: #f19233;
}
.hp-top-search__method:hover .hp-top-search__method-img {
  filter: brightness(0) invert(1);
}
.hp-top-search__method-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  transition: color 0.22s;
}
.hp-top-search__method:hover .hp-top-search__method-title {
  color: #1f5548;
}
.hp-top-search__method-desc {
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.7;
}

/* 診療科フィルターパネル */
.hp-top-search__spec {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(232,240,236,0.9);
  overflow: hidden;
}
.hp-top-search__spec-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-bottom: 1px solid #e0e8e4;
}
.hp-top-search__spec-accent {
  display: block;
  width: 3px;
  height: 16px;
  background: #2d6a4f;
  border-radius: 2px;
  flex-shrink: 0;
}
.hp-top-search__spec-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}
.hp-top-search__spec-note {
  font-size: 0.75rem;
  color: #888;
}
.hp-top-search__spec-more {
  margin-left: auto;
  font-size: 0.825rem;
  color: #2d6a4f;
  text-decoration: none !important;
  white-space: nowrap;
}
.hp-top-search__spec-more:hover {
  text-decoration: underline !important;
}
.hp-top-search__spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 24px;
}
.hp-top-search__spec-tag {
  display: inline-block;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 0.925rem;
  color: #1a1a1a;
  text-decoration: none !important;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.hp-top-search__spec-tag:hover {
  border-color: #2d6a4f;
  color: #2d6a4f;
}
@media (max-width: 798px) {
  .hp-top-search__spec-tag { padding: 3px 12px; }
}
/* 会員登録バナー */
.hp-top-search__banner {
  border-radius: 40px 10px 50px 10px;
  background: linear-gradient(90deg, #16423C 17.71%, #27756A 103.91%, #38A899 106.92%);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.hp-top-search__banner::before,
.hp-top-search__banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.6s ease, right 0.6s ease;
}
.hp-top-search__banner:hover::before {
  transform: translateY(-50%) translateX(-20px);
}
.hp-top-search__banner:hover::after {
  transform: translateY(-50%) translateX(20px);
}
.hp-top-search__banner::before {
  right: -70px;
  top: 200px;
  width: 660px;
  height: 620px;
  background: rgba(255, 255, 255, 0.05);
}
.hp-top-search__banner::after {
  right: -60px;
  top: -10px;
  width: 440px;
  height: 370px;
  background: rgba(255, 255, 255, 0.05);
}
.hp-top-search__banner-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hp-top-search__banner-sub {
  font-size: 0.75rem;
  color: #5C96AF;
  letter-spacing: 0.06em;
  margin: 0;
}
.hp-top-search__banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.hp-top-search__banner-desc {
  font-size: 0.75rem;
  color: #828f87;
  margin: 0;
}
.hp-top-search__banner-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hp-top-search__banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 18px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-position 0.5s ease;
}
.hp-top-search__banner-btn--primary {
  border-radius: 6px;
  border: 0 solid rgba(255, 238, 0, 0.60);
  background: linear-gradient(90deg, #D7841D 0%, #E6AB27 40%, #F4D330 60%, #E6AB27 80%, #D7841D 100%);
  background-size: 200% 100%;
  background-position: left center;
  color: #fff;
}
.hp-top-search__banner-btn--primary:hover {
  background-position: right center;
}
.hp-top-search__banner-btn--outline {
  transition: opacity 0.15s;
}
.hp-top-search__banner-btn--outline:hover {
  opacity: 0.85;
}
.hp-top-search__banner-btn--outline {
  border: 1px solid #ddd;
  color: #fff;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .hp-top-search__methods {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-top-search__title {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .hp-top-search__popular {
    font-size: 12px;
  }
  .hp-top-search__popular-tag {
    font-size: 12px;
  }
  .hp-top-search {
    padding: 48px 16px 56px;
  }
  .hp-top-search__title {
    font-size: 26px;
  }
  .hp-top-search__bar {
    height: 52px;
  }
  .hp-top-search__bar-btn {
    height: 52px;
    padding: 0 10px;
    font-size: 14px;
  }
  .hp-top-search__bar-input {
    font-size: 10px;
    padding-left: 12px;
  }
  .hp-top-search__methods {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hp-top-search__method {
    padding: 20px 12px 18px;
  }
  .hp-top-search__spec-header {
    flex-wrap: wrap;
    gap: 6px;
  }
  .hp-top-search__spec-more {
    margin-top: 10px;
    text-align: right;
  }
  .hp-top-search__banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
  }
  .hp-top-search__banner-title {
    font-size: 15px;
  }
  .hp-top-search__banner::before {
    right: -40px;
    top: auto;
    bottom: -80px;
    width: 260px;
    height: 260px;
  }
  .hp-top-search__banner::after {
    right: 60px;
    top: -60px;
    width: 200px;
    height: 200px;
  }
}

/* ════════════════════════════════════════
   お問い合わせページ
════════════════════════════════════════ */

/* ── ラッパー */
.contact-wrap {
  max-width:  950px;
  margin:     0 auto;
  padding:    2.5rem 1.5rem 3rem;
}

@media (max-width: 768px) {
  .contact-wrap {
    padding: 1.5rem 1rem 2rem;
  }
}

/* ── ヒーロー */
.contact-hero {
  background: #0A5446;
  padding:    2rem 2rem 1.75rem;
  border-radius: 12px 12px 0 0;
  margin:     0.5rem auto 0;
}
.contact-hero__breadcrumb {
  font-size:     0.875rem;
  color:         rgba(255,255,255,0.6);
  margin:        0 0 8px;
}
.contact-hero__breadcrumb a {
  color:           rgba(255,255,255,0.7);
  text-decoration: none;
}
.contact-hero__title {
  font-size:   clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color:       #fff;
  line-height: 1.4;
  margin:      0 0 10px;
  padding:     0;
}
.contact-hero__desc {
  font-size:   1rem;
  color:       rgba(255,255,255,0.75);
  line-height: 1.75;
  margin:      0 0 1.75rem;
}
.contact-hero__desc strong {
  color:       #9FE1CB;
  font-weight: 500;
}
.contact-hero__sub {
  font-size:   1rem;
  color:       rgba(255,255,255,0.8);
  line-height: 1.7;
  margin:      0;
}

/* ── Step フロー */
.contact-hero__steps {
  display:     flex;
  align-items: center;
  gap:         8px;
  flex-wrap:   wrap;
}
.contact-hero__step {
  flex:          1;
  min-width:     100px;
  background:    rgba(255,255,255,0.1);
  border-radius: 8px;
  padding:       10px 14px;
}
.contact-hero__step-num {
  font-size:      0.875rem;
  color:          #9FE1CB;
  margin:         0 0 4px;
  letter-spacing: 0.05em;
}
.contact-hero__step-text {
  font-size:   1rem;
  font-weight: 500;
  color:       #fff;
  margin:      0;
}
.contact-hero__step-arrow {
  color:       rgba(255,255,255,0.35);
  font-size:   1rem;
  flex-shrink: 0;
}

/* ── 種別選択カードグリッド */
.contact-type-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:                   1rem;
  margin-top:            1.5rem;
}

.contact-type-card {
  border:        0.5px solid #e0e0e0;
  border-radius: 12px;
  overflow:      hidden;
}
.contact-type-card__head {
  background:    var(--wm-green-pale);
  padding:       14px 18px;
  display:       flex;
  align-items:   center;
  gap:           12px;
  border-bottom: 0.5px solid var(--wm-green-light);
}
.contact-type-card__icon {
  width:         36px;
  height:        36px;
  background:    var(--wm-green);
  border-radius: 8px;
  display:       flex;
  align-items:   center;
  justify-content: center;
  flex-shrink:   0;
  color:         #fff;
}
.contact-type-card__title {
  font-size:   1rem;
  font-weight: 500;
  color:       var(--wm-green-dark);
  margin:      0 0 2px;
}
.contact-type-card__sub {
  font-size: 0.875rem;
  color:     var(--wm-green);
  margin:    0;
}
.contact-type-card__body {
  background: #fff;
  padding: 1.25rem;
}
.contact-type-card__desc {
  font-size:   1rem;
  color:       #555;
  line-height: 1.7;
  margin:      0 0 0.75rem;
}
.contact-type-card__tags {
  display:   flex;
  flex-wrap: wrap;
  gap:       6px;
}
.contact-type-card__tag {
  font-size:     0.8125rem;
  color:         var(--wm-green-dark);
  background:    var(--wm-green-pale);
  border:        0.5px solid var(--wm-green-light);
  border-radius: 20px;
  padding:       2px 10px;
}
.contact-type-card__btn {
  display:         block;
  background:      var(--wm-green);
  color:           #fff;
  text-align:      center;
  padding:         10px;
  border-radius:   8px;
  font-size:       1rem;
  font-weight:     500;
  text-decoration: none;
  margin-top:      1rem;
  transition:      background 0.15s;
}
.contact-type-card__btn:hover {
  background: var(--wm-green-dark);
  color:      #fff;
}

/* ── フォームラッパー */
.contact-form-wrap {
  background:    #fff;
  border:        0.5px solid #e0e0e0;
  border-radius: 0 0 12px 12px;
  padding:       2rem;
}
.contact-form-notice {
  font-size:  1rem;
  color:      #888;
  padding:    1rem;
  background: #f9f9f9;
  border-radius: 8px;
}

/* ── CF7 フォームスタイル */
.cf7-spam-notice {
  background:    var(--wm-amber-pale);
  border:        0.5px solid #FDE68A;
  border-radius: 8px;
  padding:       10px 14px;
  margin-bottom: 1.25rem;
  font-size:     1rem;
  color:         #92400E;
  line-height:   1.6;
}
.cf7-field {
  margin-bottom: 1.25rem;
}
.cf7-field label {
  display:       flex;
  align-items:   center;
  gap:           6px;
  font-size:     1rem;
  font-weight:   500;
  margin-bottom: 6px;
}
.cf7-req {
  font-size:     0.75rem;
  background:    var(--wm-green);
  color:         #fff;
  padding:       1px 6px;
  border-radius: 3px;
}
.cf7-opt {
  font-size:     0.75rem;
  background:    #f0f0f0;
  color:         #888;
  padding:       1px 6px;
  border-radius: 3px;
  border:        0.5px solid #e0e0e0;
}
.cf7-hint {
  display:    block;
  font-size:  0.875rem;
  color:      #aaa;
  margin-top: 4px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width:       100%;
  box-sizing:  border-box;
  padding:     10px 14px;
  border:      0.5px solid #e0e0e0;
  border-radius: 8px;
  font-size:   1rem;
  line-height: 1.6;
  transition:  border-color 0.15s;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline:    none;
  border-color: var(--wm-green);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}
.wpcf7-form textarea {
  min-height: 120px;
  resize:     vertical;
}
.wpcf7-form input[type="submit"] {
  width:         100%;
  background:    var(--wm-green);
  color:         #fff;
  border:        none;
  padding:       14px;
  border-radius: 8px;
  font-size:     1.0625rem;
  font-weight:   500;
  cursor:        pointer;
  margin-top:    0.5rem;
  transition:    background 0.15s;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--wm-green-dark);
}
.wpcf7-form .wpcf7-honeypot {
  display: none;
}

/* ── 注意事項ブロック */
.contact-notice {
  border: 1.5px solid var(--wm-amber);
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.contact-notice__head {
  background: var(--wm-amber-pale);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #FDE68A;
  font-size: 1rem;
  font-weight: 500;
  color: #92400E;
}

.contact-notice__body {
  padding: 1rem 1.25rem;
  background: #fff;
}

.contact-notice__list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.contact-notice__list li {
  font-size: 1rem;
  color: #555;
  padding: 5px 0;
  border-bottom: 0.5px solid #f5f5f5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.contact-notice__list li::before {
  content: '×';
  color: var(--wm-amber);
  font-weight: 500;
  flex-shrink: 0;
}

.contact-notice__list li:last-child {
  border-bottom: none;
}

.contact-notice__footer {
  font-size: 0.875rem;
  color: #999;
  margin: 8px 0 0;
  line-height: 1.6;
}

/* ── FAQ セクション */
.contact-faq {
  margin: 1.5rem 0 2rem;
}
.contact-faq .faq-section,
.contact-faq .faq-item {
  background: transparent;
}
.contact-faq__title {
  font-size:     1.125rem;
  font-weight:   500;
  color:         #333;
  margin:        0 0 1rem;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
  position:      relative;
  width:         100%;
  display:       block;
}
.contact-faq__title::after {
  content:    '';
  position:   absolute;
  bottom:     -2px;
  left:       0;
  width:      48px;
  height:     2px;
  background: var(--wm-green);
}
.contact-faq__item {
  border-bottom: 0.5px solid #e8e8e8;
}
.contact-faq__item:first-of-type {
  border-top: 0.5px solid #e8e8e8;
}
.contact-faq__q {
  display:     flex;
  align-items: center;
  gap:         12px;
  padding:     1rem 0.25rem;
  cursor:      pointer;
}
.contact-faq__q-text {
  font-size:   1rem;
  font-weight: 500;
  color:       #333;
  flex:        1;
  margin:      0;
  line-height: 1.5;
}
.contact-faq__chevron {
  color:       var(--wm-green);
  font-size:   1rem;
  flex-shrink: 0;
  transition:  transform 0.2s ease;
}
.contact-faq__item.is-open .contact-faq__chevron {
  transform: rotate(180deg);
}
.contact-faq__a {
  display:     flex;
  align-items: flex-start;
  gap:         12px;
  padding:     0 0.25rem 1rem;
}
.contact-faq__a-text {
  font-size:   1rem;
  color:       #666;
  line-height: 1.75;
  flex:        1;
  margin:      4px 0 0;
}
.contact-faq__badge {
  width:           28px;
  height:          28px;
  border-radius:   50%;
  font-size:       0.875rem;
  font-weight:     700;
  line-height:     1;
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
}
.contact-faq__badge--q {
  background: var(--wm-green);
  color:      #fff;
}
.contact-faq__badge--a {
  background: var(--wm-green-pale);
  color:      var(--wm-green-dark);
}

/* ── レスポンシブ */
@media (max-width: 768px) {
  .contact-hero {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .contact-form-wrap {
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .contact-hero__steps {
    flex-direction: column;
    gap:            6px;
  }
  .contact-hero__step {
    width: 100%;
  }
  .contact-hero__step-arrow {
    transform: rotate(90deg);
  }
}

/* 記事内病院埋め込み：画像を上揃え */
.single-post__content .hp-embed-list .hp-card__link,
.single-post__content-inner .hp-embed-list .hp-card__link {
  align-items: flex-start !important;
}
.single-post__content .hp-embed-list .hp-card__image,
.single-post__content-inner .hp-embed-list .hp-card__image {
  align-self: flex-start !important;
  margin-top: 0 !important;
}
.single-post__content .hp-embed-list .hp-card__body,
.single-post__content-inner .hp-embed-list .hp-card__body {
  align-self: center !important;
}

@media (max-width: 640px) {
  .single-post__content .hp-embed-list .hp-card__body,
  .single-post__content-inner .hp-embed-list .hp-card__body {
    text-align: left !important;
    width: 100%;
  }
}

/* アクセシビリティ用 視覚的非表示 */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* カテゴリーページ ページネーション */
.new-interview__container nav.navigation.pagination,
.new-articles__container nav.navigation.pagination {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
}
.new-interview__container .nav-links,
.new-articles__container .nav-links {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
}
.new-interview__container .page-numbers,
.new-interview__container a.page-numbers,
.new-interview__container span.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  color: #333333 !important;
  text-decoration: none !important;
  background-color: transparent !important;
}
.new-interview__container .page-numbers.current {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}
.new-interview__container .page-numbers.dots {
  border: none !important;
  background-color: transparent !important;
}

/* パンくずリスト */
.breadcrumb {
  margin-bottom: 20px;
}
.breadcrumb__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.breadcrumb__link:hover {
  color: #fff;
  text-decoration: underline;
}
.breadcrumb__item--current {
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  max-width: 400px;
}
