/*
Theme Name: Three Piece
Theme URI: https://www.threepiece-med.com
Author: スリーピース株式会社
Author URI: https://www.threepiece-med.com
Description: スリーピース株式会社 コーポレートサイト - 訪問看護・相談支援・居宅介護支援
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: threepiece
*/

/* ===========================
   CSS Custom Properties
   =========================== */
:root {
  --blue: #1a74b5;
  --navy: #14324f;
  --blue-light: #2f86c4;
  --dash: #8ec0e6;
  --pale: #e6f0f8;
  --yellow: #ffe27a;
  --white: #fff;
  --section-y: clamp(48px, 8vw, 120px);
  --section-x: clamp(20px, 7vw, 160px);
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--white);
  background: var(--blue);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--yellow); }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.v { writing-mode: vertical-rl; text-orientation: mixed; }

/* ===========================
   日本語の折り返し（2026-10-14）：単語・文節の途中で行を替えない
   - word-break:auto-phrase は Chrome / Edge 119+・Android Chrome で効く（<html lang="ja"> が前提）。
     未対応のブラウザ（iPhone の Safari 等）は値が無視されて従来どおりになる。
   - .ph は文節ひとかたまり。テンプレートで <span class="ph"> として包む（threepiece_ph()）ので、iPhone でも文節の途中では折れない。
   - 長い段落（ブログ本文・規約・長い説明文）は、文節ごとに折ると行末がガタつくので掛けない。
   =========================== */
body { word-break: auto-phrase; }
.ph { display: inline-block; }
.entry-content, .privacy-block, .dx-notice p, .dx-notice li, .job-voice, .content-section > p:not(.job-note), .long-text { word-break: normal; }
.entry-content :is(h1, h2, h3, h4), .privacy-block h2 { word-break: auto-phrase; } /* 長い本文の中の見出しは短いので掛ける */
.qfilm .q { word-break: normal; } /* 縦書きの問いのカードは今の見た目のまま */
.brush { font-family: 'Yusei Magic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', sans-serif; font-weight: 400; }
.en { font-size: 12px; letter-spacing: 0.3em; font-weight: 700; } /* 2026-10-14 11px → 12px（サイト全体の英字ラベル） */
.tbd {
  display: inline-block;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 3px;
  padding: 0 6px;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===========================
   強調の道具（2026-10-14 下の方の強調／見本=彩アヤ lower-emphasis v1）
   1つのセクションで伝えることは1つだけ。それを ①黄色のテープ ②大きな字（筆文字） ③白いカード／紺の板 のどれかで目立たせる。
   =========================== */
.tp-tape { display: inline-block; background: var(--yellow); color: var(--navy); padding: 3px 12px 2px; line-height: 1.4; transform: rotate(-2deg); box-shadow: 0 2px 4px rgba(20, 50, 79, 0.18); }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 26px; border-radius: 999px; font-weight: 900; font-size: 15px; letter-spacing: 0.06em; line-height: 1.4; }
.tp-btn svg { width: 18px; height: 18px; flex: none; }
.tp-btn.white { background: var(--white); color: var(--blue); }
.tp-btn.white:hover { background: var(--yellow); color: var(--navy); }
.tp-btn.outline { border: 1.5px solid var(--white); color: var(--white); }
.tp-btn.outline:hover { border-color: var(--yellow); color: var(--yellow); }
.tp-btn.block { display: flex; width: 100%; max-width: 480px; }
.tp-h2 { margin-top: 12px; font-weight: 900; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.38; }
/* 長い語・区切りのない英数字が来ても、枠を押し広げず折り返す（下の方の強調で作った枠は、中身が変わっても崩れない） */
.about-section, .service-section, .recruit-teaser, .access-contact, .recruit-opening, .positions-section, .line-section, .entry-section, .s-block, .s-contact, .s-dxsec { overflow-wrap: anywhere; }
/* 英字ラベルの段落（見出しの上に1行で出す） */
.about-section .en, .service-section .en, .recruit-teaser .en, .access-contact .en, .recruit-opening .en, .positions-section .en, .line-section .en, .s-contact .en { display: block; }
/* 強調のテープが左から引かれる動き。隠すのは JS が <html> に js-sweep を付けた時だけ（JS なしでも見える）。動きを減らす設定では最初から引いた状態 */
.js-sweep .sweep { clip-path: inset(-6px 100% -6px -6px); transition: clip-path 0.75s cubic-bezier(0.3, 0.7, 0.2, 1) 0.2s; }
.js-sweep .sweep.is-in { clip-path: inset(-6px -6px -6px -6px); }
@media (prefers-reduced-motion: reduce) {
  .sweep { clip-path: none !important; transition: none !important; }
  /* スクロールで出るふわっとした動き：動きを減らす設定では最初から見えている（JS は何もしない。設定を後から変えた時の保険） */
  .fx-fade { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.wrap { max-width: 1200px; margin: 0 auto; }
.section { padding: var(--section-y) var(--section-x); }

/* ===========================
   Photo / Illust helper（threepiece_photo()）
   スタッフの写真（.has-photo）か、写真が届くまでの仮のイラスト（.has-illust）を入れる枠。
   =========================== */
.photo { position: relative; overflow: hidden; }
.photo.has-photo { background: transparent; }
.photo.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.has-illust { display: flex; align-items: flex-end; justify-content: center; padding: 12px 10px 0; background: #eef5fb; }
.photo.has-illust img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: center bottom; }

/* ポラロイド（写真の縁取り）。TOP のヒーロー・採用ページの帯・MEMBER・採用ティーザーで共通 */
.pol { background: var(--white); padding: 14px 14px 0; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(20, 50, 79, 0.28); }
.pol-film { flex: 1; position: relative; overflow: hidden; min-height: 0; }
.pol-cap { min-height: 72px; display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 900; font-size: 19px; letter-spacing: 0.06em; text-align: center; line-height: 1.5; padding: 8px 6px; }

/* 問いのポラロイド：問い（縦書き）→ 答え（黄色の大きな字）→ 事実の一文 */
.qcard { --qs: 24px; --as: 62px; --cs: 15px; }
.qfilm { background: var(--navy); }
.qfilm .q { position: absolute; top: 16px; right: 14px; writing-mode: vertical-rl; font-weight: 900; font-size: var(--qs); line-height: 1.5; letter-spacing: 0.08em; color: var(--white); max-height: calc(100% - 28px); }
.qfilm .a { position: absolute; left: 16px; bottom: 12px; color: var(--yellow); font-size: var(--as); line-height: 1; letter-spacing: 0.02em; white-space: nowrap; }
.qfilm .a small { font-size: 0.42em; margin-left: 0.08em; }
.qcap { font-size: var(--cs); font-weight: 700; letter-spacing: 0.04em; line-height: 1.6; min-height: 72px; }

/* ===========================
   Site chrome: header
   =========================== */
.site-header-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  pointer-events: none;
}
.site-header-bar .site-logo,
.site-header-bar .hamburger {
  pointer-events: auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 50, 79, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.site-logo img { width: 40px; height: 40px; }
.site-logo .site-logo-text { font-size: 11px; letter-spacing: 0.35em; font-weight: 700; white-space: nowrap; }
.site-logo .site-logo-text .sub { opacity: 0.65; margin-left: 8px; letter-spacing: 0.2em; }

.hamburger {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(20, 50, 79, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger span:nth-child(2) { width: 15px; align-self: center; }
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 22px; }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 22px; }

/* Right side rail: SNS + CONTACT */
.side-rail {
  position: fixed;
  right: clamp(16px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.side-rail .sns-box {
  display: flex;
  flex-direction: column;
  border: 1.5px solid rgba(255,255,255,0.8);
  width: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(20, 50, 79, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.side-rail .sns-box a {
  height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
}
.side-rail .sns-box a:last-child { border-bottom: none; }
.side-rail .sns-box svg { width: 16px; height: 16px; }
.side-rail .contact-tab {
  width: 40px; height: 100px;
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  background: rgba(20, 50, 79, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Left copyright */
.copyright-v {
  position: fixed;
  left: clamp(14px, 3vw, 22px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 190;
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.75;
}

/* ===========================
   Overlay menu
   =========================== */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 32px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.overlay-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.overlay-menu nav { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 3vw, 24px); }
.overlay-menu nav a {
  font-weight: 900;
  font-size: clamp(22px, 4vw, 36px);
  letter-spacing: 0.05em;
}
.overlay-menu .overlay-sns { display: flex; gap: 20px; margin-top: 12px; }
.overlay-menu .overlay-sns a { width: 40px; height: 40px; border: 1.5px solid rgba(255,255,255,0.8); border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.overlay-menu .overlay-sns svg { width: 16px; height: 16px; }
.overlay-menu .overlay-close {
  position: absolute;
  top: 18px; right: clamp(20px, 4vw, 56px);
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: none;
  display: flex; align-items: center; justify-content: center;
}
.overlay-menu .overlay-close svg { width: 20px; height: 20px; }
body.menu-open { overflow: hidden; }

/* ===========================
   Breadcrumb
   =========================== */
.breadcrumb-nav { background: rgba(20,50,79,0.35); font-family: inherit; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 14px var(--section-x); }
.breadcrumb-nav ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; opacity: 0.85; }
.breadcrumb-nav .sep { opacity: 0.5; }
.breadcrumb-nav .current { opacity: 0.65; }
.breadcrumb-nav ol { flex-wrap: nowrap; }
.breadcrumb-nav li { white-space: nowrap; }
.breadcrumb-nav .current { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* 固定ヘッダーのロゴ（左）とメニューボタン（右）の下にパンくずが隠れないよう、文字をそれらの内側から始める。
   ロゴの右端＝左余白clamp(20px,4vw,56px)＋最大258px（採用系ページは「RECRUIT」が付いて幅広）。ボタンは右余白＋48px。
   1200px超の画面は中身が中央寄せなので、その左右の余白ぶんを差し引く */
.breadcrumb-inner {
  --bc-side: max(0px, calc((100vw - 1200px) / 2));
  padding-left: max(var(--section-x), calc(clamp(20px, 4vw, 56px) + 272px - var(--bc-side)));
  padding-right: max(var(--section-x), calc(clamp(20px, 4vw, 56px) + 60px - var(--bc-side)));
}
@media (max-width: 768px) {
  /* ロゴ（〜84px）とメニューボタン（右16px＋48px）の間に入れる。長い階層は2行にする */
  .breadcrumb-inner { padding-left: 100px; padding-right: 76px; }
  .breadcrumb-nav ol { flex-wrap: wrap; row-gap: 2px; }
}

/* ===========================
   HERO (front page): 3つのピース
   スマホ・タブレット（〜1099px）は3枚を束ねて入れ替える。PC（1100px〜）は3枚を横に並べる。
   =========================== */
.hero {
  position: relative;
  padding: 110px 0 44px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-copy {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 30px;
  padding: 0 20px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
.hero-brush-side { display: none; }

/* 3枚のポラロイド（スマホ：束ねて重ねる） */
.trio { position: relative; margin: 0 auto; width: 296px; height: 384px; }
.tcard { --k: var(--ksp); position: absolute; inset: 0; }
.tcard .qcap { min-height: 70px; }
.tcard[data-i="1"] .qfilm { background: #173d60; }
.tape {
  position: absolute; top: -13px; left: 50%; z-index: 3;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 226, 122, 0.94); color: var(--navy);
  font-size: 17px; line-height: 1.3; padding: 5px 16px 4px; white-space: nowrap;
  box-shadow: 0 2px 4px rgba(20, 50, 79, 0.18);
}
.trio .tcard { transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.2, 1); }
.trio .tcard[data-pos="0"] { transform: rotate(-2deg); }
.trio .tcard[data-pos="1"] { transform: translate(14px, 10px) rotate(4deg); }
.trio .tcard[data-pos="2"] { transform: translate(-12px, 14px) rotate(-6deg); }
.trio .tcard.is-toss { transform: translate(135%, -4%) rotate(16deg); }

/* 3つのピースが揃う（パズルの帯） */
.p3 { margin: 46px auto 0; width: 300px; position: relative; text-align: center; }
.p3-row { position: relative; }
.p3 .pz { --k: var(--ksp); --pd: calc(var(--k) * 0.55s + 0.8s); position: absolute; transition: transform 0.35s, filter 0.35s; }
.p3 .pz svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.p3 .pz path { fill: var(--pc); stroke: var(--pc); stroke-width: 1; vector-effect: non-scaling-stroke; }
.p3 .pz[data-c="navy"] { --pc: #14324f; --tc: #fff; }
.p3 .pz[data-c="white"] { --pc: #fff; --tc: #14324f; }
.p3 .pz[data-c="yellow"] { --pc: #ffe27a; --tc: #14324f; }
.p3 .pz-in { position: absolute; display: flex; align-items: center; justify-content: center; color: var(--tc); font-weight: 900; font-size: 15px; letter-spacing: 0.06em; pointer-events: none; }
.p3 .pz.is-cur { transform: translateY(-5px) scale(1.05); filter: drop-shadow(0 6px 8px rgba(20, 50, 79, 0.35)); }
.p3-line { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.p3-line .brush { font-size: 24px; color: var(--yellow); margin: 0 0.1em; letter-spacing: 0.04em; }
.p3-btns { position: absolute; left: 0; right: 0; top: -6px; height: 56px; display: flex; }
.p3-btns button { flex: 1; background: none; border: 0; min-height: 44px; }
.p3-btns button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

/* 登場の動き（動きを減らす設定のときは出さない＝最初から完成した状態） */
@media (prefers-reduced-motion: no-preference) {
  .trio .tcard { animation: qdrop 0.75s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; animation-delay: calc(var(--k) * 0.55s + 0.2s); }
  .p3 .pz path { animation: p3fill 0.4s ease-out both; animation-delay: var(--pd); }
  .p3 .pz .pz-in { animation: p3ink 0.4s ease-out both; animation-delay: var(--pd); }
  .p3 .pz[data-i="0"] { animation: p3snapL 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) both; animation-delay: 2.25s; }
  .p3 .pz[data-i="2"] { animation: p3snapR 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) both; animation-delay: 2.25s; }
  .p3-line { animation: p3line 0.6s ease-out both; animation-delay: 2.55s; }
}
@keyframes qdrop { from { translate: 0 -150%; rotate: -16deg; opacity: 0; } 60% { opacity: 1; } to { translate: 0 0; rotate: 0deg; opacity: 1; } }
@keyframes p3fill { from { fill: rgba(255, 255, 255, 0); stroke: rgba(255, 255, 255, 0.75); } }
@keyframes p3ink { from { color: rgba(255, 255, 255, 0.75); } }
@keyframes p3snapL { from { translate: -14px 0; } }
@keyframes p3snapR { from { translate: 14px 0; } }
@keyframes p3line { from { opacity: 0; translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) {
  .trio .tcard, .p3 .pz { transition: none; }
}

@media (min-width: 1100px) {
  .hero { min-height: 100svh; padding: 96px 0 40px; justify-content: center; }
  .hero-copy {
    position: absolute;
    left: clamp(24px, 8vw, 150px);
    top: max(96px, calc(50% - 13.3em)); /* 縦中央。ただし固定ロゴ（下端74px）の下から始める */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(15px, 1.6vw, 22px);
    font-size: clamp(15px, min(1.6vw, (100svh - 124px) / 26.6), 22px); /* 縦が短い画面では文字を小さくして、ロゴの下・ヒーローの中に収める */
    line-height: 2.2;
    letter-spacing: 0.1em;
    width: auto;
    max-width: 90vw;
    height: 26.6em;
    margin: 0;
    padding: 0;
  }
  body.admin-bar .hero-copy { top: max(128px, calc(50% - 13.3em)); } /* ログイン中は管理バーぶんロゴが下がる */
  .hero-copy { word-break: normal; } /* 縦書きは今の折り返しのまま（文節の印は横書きのスマホ・タブレットだけで効かせる） */
  .hero-copy .ph { display: inline; }

  /* 3枚を横に並べる */
  .trio { width: auto; height: auto; display: flex; justify-content: center; align-items: flex-start; margin-top: 20px; }
  .tcard { --k: var(--kpc); position: relative; inset: auto; width: 250px; height: 336px; --qs: 26px; --as: 64px; --cs: 15px; }
  .trio .tcard[data-pos] { transform: none; }
  .trio .tcard[data-i="0"] { transform: rotate(-4deg) translateY(10px); margin-right: -12px; }
  .trio .tcard[data-i="1"] { transform: rotate(1deg) translateY(-6px); }
  .trio .tcard[data-i="2"] { transform: rotate(4deg) translateY(12px); margin-left: -12px; }

  .p3 { width: 360px; margin-top: 40px; }
  .p3 .pz { --k: var(--kpc); }
  .p3 .pz-in { font-size: 16px; }
  .p3-line { font-size: 17px; }
  .p3-line .brush { font-size: 28px; }
  .p3-btns { display: none; }
}

/* 右の飾り（「ピース」と安心・笑顔）は、3枚のカードと重ならない広さのときだけ */
@media (min-width: 1280px) {
  .hero-brush-side {
    position: absolute;
    right: clamp(16px, 6vw, 230px);
    top: 24%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-brush-side .brush { font-size: 34px; letter-spacing: 0.08em; }
  .hero-brush-side .pill {
    background: var(--white); color: var(--blue);
    font-size: 11px; font-weight: 700; padding: 3px 14px; border-radius: 999px; letter-spacing: 0.12em;
  }
  .hero-brush-side .kanji-row { display: flex; gap: 22px; margin-top: 10px; }
  .hero-brush-side .kanji-row .num { font-size: 10px; text-align: center; }
}

/* ===========================
   ABOUT section (front page)：「1ピース欠けても、パズルは完成しない。」を強調
   =========================== */
.about-section { padding: clamp(56px, 8vw, 120px) var(--section-x); display: grid; grid-template-columns: 1fr; }
.about-h { margin-top: 12px; font-weight: 900; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.45; }
/* 1ピース欠けたパズルの絵（ヒーローの .p3 とは別のクラス。ヒーローの動き・JS は掛からない） */
.about-pz { position: relative; width: 268px; margin: 34px 0 30px 8px; }
.about-pz .pz { position: absolute; }
.about-pz .pz svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.about-pz .pz-in { display: none; }
.about-pz .pz path { stroke-width: 1; vector-effect: non-scaling-stroke; }
.about-pz .pz[data-c="navy"] path { fill: var(--navy); stroke: var(--navy); }
.about-pz .pz[data-c="white"] path { fill: #fff; stroke: #fff; }
.about-pz .pz[data-c="empty"] path { fill: rgba(255, 255, 255, 0.08); stroke: #fff; stroke-width: 2; stroke-dasharray: 6 5; }
.about-msg { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.55; letter-spacing: 0.02em; }
.about-msg .tp-tape { margin-top: 8px; padding: 2px 12px 0; }
.about-sub { margin-top: 26px; font-size: 16px; font-weight: 700; line-height: 1.8; }
.about-main .tp-btn { margin-top: 26px; }
@media (min-width: 1025px) {
  .about-section { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 80px); align-items: center; }
  .about-pz { width: clamp(300px, 30vw, 420px); margin-bottom: 0; }
}

/* ===========================
   SERVICE section：3つの事業それぞれの「いちばんの事実」を黄色の大きな字で（カード全体が押せる）
   =========================== */
.service-section { padding: 8px var(--section-x) clamp(56px, 8vw, 120px); }
.service-list { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.service-card { display: block; min-width: 0; background: var(--navy); border-radius: 12px; padding: 18px 18px 12px; box-shadow: 0 10px 24px rgba(20, 50, 79, 0.22); }
.service-card:hover { color: var(--white); box-shadow: 0 14px 30px rgba(20, 50, 79, 0.32); }
.service-card:hover .svc-more { color: var(--yellow); }
.svc-top { display: flex; align-items: baseline; gap: 10px; }
.svc-top .num { font-size: 20px; color: var(--yellow); line-height: 1; }
.svc-top .ttl { font-size: 18px; font-weight: 900; letter-spacing: 0.04em; line-height: 1.4; }
.svc-fact { margin-top: 12px; }
.svc-fact .big { display: block; font-size: 46px; color: var(--yellow); line-height: 1.1; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.svc-fact .big.is-two { font-size: 32px; line-height: 1.3; }
.svc-fact .big.is-md { font-size: 40px; }
.svc-fact .txt { display: block; margin-top: 6px; font-size: 18px; font-weight: 900; line-height: 1.5; }
.svc-sub { margin-top: 10px; font-size: 14px; line-height: 1.7; opacity: 0.88; }
.svc-more { display: flex; justify-content: flex-end; align-items: center; gap: 6px; min-height: 36px; margin-top: 2px; font-size: 14px; font-weight: 700; }
.svc-more svg { width: 18px; height: 18px; }
@media (min-width: 1025px) {
  .service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: none; }
  .service-card { display: flex; flex-direction: column; }
  .svc-more { margin-top: auto; }
}

/* ===========================
   MEMBER section (white)
   =========================== */
.member-section { background: var(--white); color: var(--navy); padding: var(--section-y) 0; display: flex; flex-direction: column; gap: 40px; overflow: hidden; }
.member-section .heading-row { padding: 0 var(--section-x); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.member-section .en { color: var(--blue); }
.member-section h2 { font-weight: 900; font-size: clamp(30px, 5vw, 56px); line-height: 1.3; }
.member-section .brush { font-size: clamp(20px, 2.6vw, 26px); color: var(--blue); }
.member-strip { display: flex; gap: 20px; padding: 6px 0 14px var(--section-x); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.member-card {
  flex: 0 0 auto;
  width: 220px; height: 290px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(20,50,79,0.15);
  padding: 12px 12px 0;
  display: flex; flex-direction: column;
}
.member-card:nth-child(odd) { transform: rotate(-2deg); }
.member-card:nth-child(even) { transform: rotate(1.5deg); margin-top: 18px; }
.member-card .photo { flex: 1; min-height: 0; }
.member-cap { height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); line-height: 1.4; }
.member-cap b { font-size: 16px; font-weight: 900; letter-spacing: 0.04em; }
.member-cap span { font-size: 14px; font-weight: 700; color: #4b6378; }

/* ===========================
   RECRUIT teaser (front page)
   =========================== */
.recruit-teaser { padding: clamp(56px, 8vw, 120px) var(--section-x) clamp(64px, 8vw, 120px); display: grid; grid-template-columns: 1fr 1fr; gap: 44px clamp(30px, 5vw, 60px); align-items: center; }
.recruit-teaser .lead { min-width: 0; }
/* 伝えること：働く条件が一目で分かる（紺の板に答えを黄色の大きな字で） */
.teaser-tape { margin-top: 18px; font-size: 16px; font-weight: 900; }
.teaser-board { margin-top: 18px; max-width: 560px; background: var(--navy); border-radius: 12px; padding: 4px 18px; box-shadow: 0 10px 24px rgba(20, 50, 79, 0.22); }
.teaser-board > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; border-top: 1px dashed rgba(255, 255, 255, 0.3); }
.teaser-board > div:first-child { border-top: 0; }
.teaser-board dt { font-size: 15px; font-weight: 700; line-height: 1.4; }
.teaser-board dd { font-size: 32px; color: var(--yellow); line-height: 1.1; white-space: nowrap; }
.teaser-board dd small { font-size: 0.5em; margin-left: 0.06em; }
.teaser-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 769px) {
  .teaser-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
  .teaser-actions .tp-btn.block, .teaser-actions .btn-line.btn-block { width: auto; }
}
.recruit-teaser-figure { position: relative; padding-top: 18px; }
.recruit-teaser-figure .tag-card {
  position: absolute; left: -6px; top: 0; z-index: 5;
  background: var(--navy); color: var(--white);
  padding: 14px 20px; font-weight: 900; font-size: 16px; letter-spacing: 0.06em;
  transform: rotate(-3deg);
}
.wcard { position: relative; width: 100%; transform: rotate(1.5deg); }
.wcard-film { position: relative; }
.wcard-film .photo { aspect-ratio: 1.45; }
.wcard-film .photo.has-illust { padding: 22px 0 0 8%; justify-content: flex-start; }
/* イラストは枠（.photo）に対して絶対配置する。置き場所は今のまま＝左から8%・下端・上に22pxの余白。
   この枠は高さが aspect-ratio だけで決まるため、iOS Safari が flex の子の max-height:100% を解決できず、
   イラストが縮まず枠からはみ出して上が切れる。絶対配置なら％の基準が枠の実寸になり、どのブラウザでも同じになる。
   （写真 .has-photo の img{height:100%} は iOS でも効くので触らない） */
.wcard-film .photo.has-illust img { position: absolute; left: 8%; bottom: 0; max-width: 92%; max-height: calc(100% - 22px); }
.wcard-cap { padding: 12px 6px 14px; color: var(--navy); text-align: center; }
.wcard-cap .wq { font-weight: 900; font-size: 19px; letter-spacing: 0.04em; line-height: 1.45; }
.wcard-cap .wf { font-size: 14px; font-weight: 700; line-height: 1.6; margin-top: 4px; color: #3d5870; }
.sticker {
  position: absolute; right: 14px; top: 38%; width: 92px; height: 92px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 22px; line-height: 1.1; transform: rotate(8deg);
  box-shadow: 0 4px 10px rgba(20, 50, 79, 0.25);
}
@media (min-width: 769px) {
  .recruit-teaser-figure .tag-card { font-size: 20px; padding: 16px 22px; }
  .wcard-cap .wq { font-size: 24px; }
  .wcard-cap .wf { font-size: 15px; }
  .sticker { width: 124px; height: 124px; font-size: 30px; right: 28px; top: 34%; }
}

/* ===========================
   CONTACT + ACCESS (front page)：まず電話（白いカードごと押すと電話がかかる）。拠点は「どの街か」を大きく
   =========================== */
.access-contact { padding: clamp(56px, 8vw, 120px) var(--section-x) clamp(64px, 8vw, 120px); display: grid; grid-template-columns: 1fr 1fr; gap: 52px clamp(30px, 5vw, 60px); }
.access-contact .col { min-width: 0; }
.who-list { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.who-list li { display: flex; gap: 8px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.who-list li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 0.3em; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%2314324f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.phone-card { display: block; max-width: 480px; margin-top: 20px; background: var(--white); color: var(--navy); border-radius: 14px; padding: 16px 18px 0; box-shadow: 0 14px 30px rgba(20, 50, 79, 0.28); overflow: hidden; }
.phone-card:hover { color: var(--navy); }
.phone-card .lbl { display: block; font-size: 14px; font-weight: 700; color: #4b6378; }
.phone-card .num { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: clamp(24px, 8.3vw, 31px); font-weight: 900; letter-spacing: 0.02em; line-height: 1.2; white-space: nowrap; }
.phone-card .num svg { width: 36px; height: 36px; flex: none; background: var(--blue); border-radius: 50%; padding: 8px; color: var(--white); }
.phone-card .hrs { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; }
.phone-card .go { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px -18px 0; min-height: 50px; background: var(--yellow); color: var(--navy); font-weight: 900; font-size: 15px; letter-spacing: 0.08em; transition: background 0.2s ease; }
a.phone-card:hover .go { background: #fff0b0; }
.access-contact .tp-btn.outline { margin-top: 14px; }
.access-h { margin-top: 12px; font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; }
.office-tiles { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.office-tiles li { min-width: 0; }
.office-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100px; height: 100%; padding: 12px 14px; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 12px; }
.office-tile:hover { border-color: var(--yellow); }
.office-tile .city { font-size: 32px; line-height: 1.15; color: var(--yellow); letter-spacing: 0.02em; white-space: nowrap; }
.office-tile .city.is-long { font-size: 22px; line-height: 1.5; }
.office-tile .nm { margin-top: 6px; padding-right: 20px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.office-tile .nm .tp-tape { font-size: 14px; font-weight: 900; padding: 1px 8px; }
.office-tile .chev { position: absolute; right: 10px; bottom: 13px; width: 18px; height: 18px; }
.office-area { margin-top: 14px; font-size: 14px; font-weight: 700; line-height: 1.7; }
.office-hint { margin-top: 2px; font-size: 14px; line-height: 1.7; opacity: 0.88; }
/* お問い合わせページ（page-contact.php）の電話表記 */
.contact-phone-label { font-size: 14px; letter-spacing: 0.08em; opacity: 0.75; margin-bottom: -4px; }
.contact-phone { font-weight: 900; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: 0.04em; }
.contact-hours { font-size: 14px; letter-spacing: 0.1em; }
@media (min-width: 1025px) {
  .phone-card .num { font-size: 34px; }
}

/* ===========================
   Simple content pages (about / service / contact)
   =========================== */
.page-hero { padding: clamp(120px, 16vw, 200px) var(--section-x) clamp(40px, 6vw, 80px); }
.page-hero .en { display: block; margin-bottom: 14px; }
.page-hero h1 { font-weight: 900; font-size: clamp(34px, 6vw, 64px); line-height: 1.3; }
.content-section { padding: 0 var(--section-x) var(--section-y); }
.content-section + .content-section { padding-top: 0; }
.content-section h2 { font-weight: 900; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.3; margin-bottom: 20px; }
.content-section .brush { font-size: clamp(18px, 2.2vw, 24px); margin-bottom: 20px; display: block; }
.content-section p { font-size: 15px; line-height: 2.1; margin-bottom: 16px; }
.content-section ul.plain { display: flex; flex-direction: column; gap: 10px; }
.content-section ul.plain li { font-size: 14.5px; line-height: 1.9; padding-left: 1.3em; position: relative; }
.content-section ul.plain li::before { content: '・'; position: absolute; left: 0; }

.poem-block { font-size: 15px; line-height: 2.3; opacity: 0.95; }

.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th, .info-table td { text-align: left; padding: 16px 0; border-top: 1.5px solid rgba(255,255,255,0.35); vertical-align: top; }
.info-table th { width: 9em; font-weight: 700; opacity: 0.85; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 1.5px solid rgba(255,255,255,0.35); }

.office-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.office-card { border: 1.5px solid rgba(255,255,255,0.4); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.office-card .name { font-weight: 700; font-size: 15px; }
.office-card .addr, .office-card .tel { font-size: 13.5px; opacity: 0.9; }
.office-cards a.office-card { color: inherit; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.office-cards a.office-card:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.office-card .more { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; }
.text-link { color: var(--yellow); font-weight: 700; margin-left: 0.5em; }

/* 事業所紹介ページ（template-office.php） */
.office-hero-service { margin-top: 14px; font-size: 15px; opacity: 0.9; }
.availability-card { max-width: 560px; background: var(--white); color: var(--navy); border-radius: 12px; padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.availability-label { font-size: 14px; font-weight: 700; }
.availability-count { font-weight: 900; font-size: 22px; line-height: 1.2; }
.availability-count .num { font-size: clamp(56px, 9vw, 80px); color: var(--blue); margin: 0 0.08em; }
.availability-card.is-full .availability-status { color: var(--navy); }
.availability-status { font-weight: 900; font-size: clamp(20px, 3vw, 26px); line-height: 1.4; }
.content-section .availability-note { font-size: 14px; margin: 0; line-height: 1.8; }
.availability-updated { font-size: 13px; color: #5b6b7a; }
.availability-tel { margin-top: 8px; align-self: flex-start; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; font-size: 15px; }
.availability-tel:hover { background: var(--navy); }
.content-section .availability-caption { font-size: 12.5px; opacity: 0.85; margin-top: 14px; line-height: 1.8; }
.office-map { margin-top: 28px; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; max-height: 420px; background: var(--pale); }
.office-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===========================
   事業案内（page-service.php）2026-10-15：3つの事業それぞれに「伝えること」を1つ（紺の板に大きな字）。
   強調の道具は TOP の下の方（.tp-tape／.tp-btn／.tp-h2／.phone-card／.who-list）をそのまま使う。
   見本: 彩アヤ service-and-pay v1（RYO OK）。見本の @container は @media（768/769px・1024/1025px）に読み替えた。
   =========================== */
.s-block, .s-contact, .s-dxsec { padding-left: var(--section-x); padding-right: var(--section-x); }
/* ページの頭：見出し＋3つの事業の目次（押すと各事業へ） */
.page-hero.s-hero { padding-bottom: 8px; }
.s-jump { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.s-jump a { display: flex; flex-direction: column; gap: 6px; min-height: 88px; padding: 10px; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 12px; font-size: 14px; font-weight: 900; line-height: 1.45; }
.s-jump a:hover { border-color: var(--yellow); }
.s-jump .top { display: flex; align-items: center; justify-content: space-between; }
.s-jump .n { font-size: 22px; color: var(--yellow); line-height: 1; }
.s-jump svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 340px) { .s-jump { gap: 6px; } .s-jump a { padding: 10px 6px; } } /* 幅320px：「訪問看護・」が途中で折れないように余白を詰める */
/* 1つの事業のかたまり：見出し（イラスト・番号・事業名）→ 紺の板（伝えること1つ）→ 事実 → 押す所 */
.s-block { padding-top: 56px; scroll-margin-top: 80px; }
.s-head { display: flex; align-items: center; gap: 14px; }
.s-head .photo { flex: none; width: 76px; height: 76px; border-radius: 12px; }
.s-head .photo.has-illust { padding: 8px 6px 0; }
.s-ttl { min-width: 0; }
.s-ttl .num { display: block; font-size: 22px; color: var(--yellow); line-height: 1; }
.s-ttl h2 { margin-top: 4px; font-weight: 900; font-size: 24px; line-height: 1.35; }
.s-ttl .org { font-size: 14px; font-weight: 700; line-height: 1.55; opacity: 0.92; }
.s-board { margin-top: 18px; background: var(--navy); border-radius: 12px; padding: 18px 18px 16px; box-shadow: 0 10px 24px rgba(20, 50, 79, 0.22); }
.s-board .big { display: block; font-size: 52px; color: var(--yellow); line-height: 1.1; letter-spacing: 0.02em; }
.s-board .txt { display: block; margin-top: 8px; font-size: 19px; font-weight: 900; line-height: 1.5; }
.s-board.two > div { padding: 14px 0 12px; border-top: 1px dashed rgba(255, 255, 255, 0.32); }
.s-board.two > div:first-child { border-top: 0; padding-top: 0; }
.s-board.two > div:last-child { padding-bottom: 0; }
.s-board.two .big { font-size: 32px; line-height: 1.25; }
.s-board .fm { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; line-height: 1.5; opacity: 0.92; }
.s-board.care .tp-tape { font-size: 15px; font-weight: 900; }
.s-board.care .big { margin-top: 14px; font-size: 34px; line-height: 1.3; }
.s-board.care .big + .big { margin-top: 0; }
/* 事実：見出し（小）→ 札・短い文。札は四角（押せるボタンは丸）＝押せないことが形で分かる */
.s-facts { margin-top: 14px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 12px; padding: 2px 16px; }
.s-facts > div { padding: 14px 0; border-top: 1px dashed rgba(255, 255, 255, 0.35); }
.s-facts > div:first-child { border-top: 0; }
.s-facts dt { margin-bottom: 6px; font-size: 14px; font-weight: 700; line-height: 1.4; opacity: 0.85; }
.s-facts dd { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.6; }
.s-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.s-tags li { background: rgba(255, 255, 255, 0.16); border-radius: 6px; padding: 2px 10px; font-size: 15px; font-weight: 900; line-height: 1.6; }
.s-tags + p { margin-top: 6px; }
.s-area { font-size: 24px; color: var(--yellow); line-height: 1.35; letter-spacing: 0.02em; }
/* 拠点：押すと各拠点のページ（住所・地図・電話）へ。TOP の拠点タイルと同じ形を小さく */
.s-off { margin-top: 16px; }
.s-off h3 { margin-bottom: 8px; font-size: 14px; font-weight: 700; line-height: 1.4; opacity: 0.85; }
.s-off ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.s-off a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; height: 100%; padding: 8px 36px 8px 14px; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 12px; }
.s-off a:hover { border-color: var(--yellow); }
.s-off .city { flex: none; min-width: 2.6em; font-size: 26px; color: var(--yellow); line-height: 1.15; white-space: nowrap; }
.s-off .nm { font-size: 14px; font-weight: 700; line-height: 1.45; }
.s-off .chev { position: absolute; right: 12px; top: 50%; margin-top: -9px; width: 18px; height: 18px; }
.s-dxlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.s-dxlink svg { width: 16px; height: 16px; flex: none; }
.s-block .tp-btn { margin-top: 16px; }
@media (min-width: 769px) {
  .s-off ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-off a { flex-direction: column; align-items: flex-start; gap: 4px; min-height: 96px; padding: 12px 14px; }
  .s-off .chev { top: auto; bottom: 12px; margin-top: 0; }
  .s-off .nm { padding-right: 14px; }
  .s-facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .s-facts dt { margin: 0; }
}
/* PC：左に事業名とイラスト、右に中身 */
@media (min-width: 1025px) {
  .page-hero.s-hero { padding-bottom: 24px; }
  .s-jump { max-width: 780px; gap: 14px; margin-top: 36px; }
  .s-jump a { min-height: 92px; padding: 14px 16px; font-size: 16px; }
  .s-jump .n { font-size: 28px; }
  .s-block { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 56px; padding-top: 88px; }
  .s-block > * { grid-column: 2; }
  .s-block > .s-head { grid-column: 1; grid-row: 1 / span 8; flex-direction: column; align-items: flex-start; gap: 18px; align-self: start; }
  .s-head .photo { order: 2; width: 220px; height: 220px; border-radius: 16px; }
  .s-ttl .num { font-size: 40px; }
  .s-ttl h2 { font-size: 28px; }
  .s-ttl .org { font-size: 15px; }
  .s-board { margin-top: 0; padding: 26px 30px 24px; }
  .s-board .big { font-size: 72px; }
  .s-board .txt { font-size: 24px; }
  .s-board.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .s-board.two > div { padding: 0 0 0 24px; border-top: 0; border-left: 1px dashed rgba(255, 255, 255, 0.32); }
  .s-board.two > div:first-child { padding-left: 0; border-left: 0; }
  .s-board.two .big { font-size: 40px; }
  .s-board.care .big { font-size: 44px; }
  .s-board .fm { font-size: 15px; }
  .s-facts { padding: 4px 24px; }
  .s-facts dd { font-size: 16px; }
}
/* まず電話（TOP の .phone-card と同じ部品）＋ 相談支援・居宅介護支援の窓口 */
.s-contact { padding-top: 64px; padding-bottom: 16px; }
.s-tels { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.s-tels a, .s-tels .s-tel-off { display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 10px 14px; border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: 12px; }
.s-tels a:hover { border-color: var(--yellow); }
.s-tels .k { font-size: 14px; font-weight: 700; line-height: 1.5; }
.s-tels .k b { margin-right: 6px; font-weight: 900; }
.s-tels .t { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 900; letter-spacing: 0.02em; line-height: 1.25; white-space: nowrap; }
.s-tels .t svg { width: 26px; height: 26px; flex: none; background: var(--white); border-radius: 50%; padding: 5px; color: var(--blue); }
.s-contact .tp-btn.outline { margin-top: 14px; }
@media (min-width: 1025px) {
  .s-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); column-gap: 56px; align-items: start; padding-top: 112px; }
  .s-contact > .c-left { grid-column: 1; grid-row: 1; }
  .s-contact > .c-right { grid-column: 2; grid-row: 1; }
  .s-contact .phone-card { margin-top: 0; }
}
/* 医療ＤＸ推進の掲示：文言は1文字も変えない・折りたたまない。置き場所（ページの最後）と文字の大きさ・幅だけ変えた（本文14px・PC15px）。大事な掲示だが紺の板・白いカードは使わず「伝えること」と競わせない */
.s-dxsec { padding-top: 56px; padding-bottom: 72px; }
.dx-notice { max-width: 860px; padding: 20px 18px; border: 1.5px solid rgba(255, 255, 255, 0.45); border-radius: 12px; background: rgba(255, 255, 255, 0.06); scroll-margin-top: 80px; }
.dx-notice h4 { font-weight: 900; font-size: 18px; line-height: 1.6; margin-bottom: 12px; }
.dx-notice h5 { font-weight: 900; font-size: 15px; line-height: 1.6; margin: 20px 0 6px; }
.dx-notice p { font-size: 14px; line-height: 1.95; margin-bottom: 10px; }
.dx-notice p:last-child { margin-bottom: 0; }
/* 掲示の箇条（相談支援の体制）。・は他の箇条（.plain）と同じ作り */
.dx-notice ul.dx-list { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.dx-notice ul.dx-list li { position: relative; padding-left: 1.3em; font-size: 14px; line-height: 1.95; }
.dx-notice ul.dx-list li::before { content: '・'; position: absolute; left: 0; }
.dx-notice + .dx-notice { margin-top: 20px; } /* 掲示が2つ続く時の間隔（医療ＤＸ → 相談支援の体制） */
@media (min-width: 1025px) {
  .s-dxsec { padding-top: 96px; padding-bottom: 110px; }
  .dx-notice + .dx-notice { margin-top: 24px; }
  .dx-notice ul.dx-list li { font-size: 15px; }
  .dx-notice { padding: 32px 36px; }
  .dx-notice h4 { font-size: 20px; }
  .dx-notice h5 { font-size: 16px; }
  .dx-notice p { font-size: 15px; }
}

/* Contact */
.contact-block { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.contact-block .contact-phone a { color: var(--white); display: inline-flex; align-items: center; min-height: 44px; } /* 電話は tel: リンク（押せる高さ44px以上） */
.contact-block .contact-phone a:hover { color: var(--yellow); }
.wpcf7, .contact-form-wrap { max-width: 620px; }
.contact-form-wrap { background: rgba(255,255,255,0.08); border-radius: 12px; padding: clamp(20px, 4vw, 40px); }
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.05em; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  background: var(--white); color: var(--blue);
  border: none; padding: 14px 40px; font-weight: 900; font-size: 14px; letter-spacing: 0.1em; border-radius: 999px;
}
.wpcf7-form input[type="submit"]:hover { background: var(--yellow); }
.cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 480px) { .cf7-row { grid-template-columns: 1fr; } }
.wpcf7-form label .req { display: inline-block; margin-left: 6px; padding: 1px 7px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); background: var(--yellow); border-radius: 999px; vertical-align: middle; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { color: var(--yellow); font-size: 12px; margin-top: 4px; }
.wpcf7-response-output { border-radius: 6px; padding: 10px 14px; margin-top: 16px; background: rgba(255,255,255,0.15); font-size: 13px; }

/* ===========================
   Recruit page
   =========================== */
.recruit-hero { position: relative; padding-top: 96px; min-height: 90svh; display: flex; align-items: flex-end; }
.recruit-hero > .photo { position: absolute; left: 0; right: 0; top: 22%; bottom: 22%; }
.recruit-hero .hero-copy-v {
  position: relative; z-index: 3;
  margin: clamp(24px, 6vw, 96px) 0 0 clamp(20px, 6vw, 96px);
  font-size: clamp(16px, 2vw, 20px); font-weight: 700; letter-spacing: 0.12em; line-height: 2;
  background: var(--blue); padding: 16px 8px; display: inline-block;
}
@media (min-width: 769px) {
  /* PC幅は縦書き。今の折り返しのまま（文節の印は横書きになる 768px 以下だけで効かせる） */
  .recruit-hero .hero-copy-v { word-break: normal; }
  .recruit-hero .hero-copy-v .ph { display: inline; }
}
.recruit-hero .catch-card {
  position: relative; z-index: 3;
  margin: 0 clamp(20px, 6vw, 96px) clamp(24px, 6vw, 60px) auto;
  background: var(--white); color: var(--navy);
  padding: clamp(20px, 3vw, 28px) clamp(24px, 4vw, 40px);
  display: inline-flex; flex-direction: column; gap: 8px;
  transform: rotate(-2deg);
  max-width: 520px;
}
.recruit-hero .catch-card .brush { font-size: clamp(24px, 4vw, 44px); line-height: 1.35; }

/* 問いのカードが流れる帯（写真が置かれるまでの採用ページのファーストビュー） */
.recruit-hero .qband { position: absolute; left: 0; right: 0; top: 20%; bottom: 22%; z-index: 1; overflow: hidden; display: flex; align-items: center; }
.qtrack { display: flex; gap: 18px; padding: 0 9px; width: max-content; animation: qflow 90s linear infinite; }
.qband:hover .qtrack { animation-play-state: paused; }
@keyframes qflow { to { transform: translateX(-50%); } }
.qcard.mini { position: relative; flex: 0 0 auto; width: 206px; height: 280px; padding: 9px 9px 0; --qs: 20px; --as: 44px; --cs: 14px; box-shadow: 0 10px 24px rgba(20, 50, 79, 0.3); }
.qcard.mini:nth-child(3n+1) { transform: rotate(-3deg); }
.qcard.mini:nth-child(3n+2) { transform: rotate(2deg) translateY(10px); }
.qcard.mini:nth-child(3n) { transform: rotate(-1deg) translateY(-6px); }
.qcard.mini.is-alt .qfilm { background: #173d60; }
.qcard.mini .q { top: 10px; right: 8px; }
.qcard.mini .a { left: 10px; bottom: 9px; }
.qcard.mini .qcap { min-height: 64px; font-size: var(--cs); line-height: 1.5; padding: 6px 0; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) {
  .qtrack { animation: none; }
  .recruit-hero .qband { overflow-x: auto; }
}

/* 新拠点：伝えること＝「12月、千葉市緑区」と募集4職種。紺の板にして、青いページの中で目に留まるように */
.recruit-opening { margin: 0 var(--section-x) clamp(40px, 6vw, 80px); background: var(--navy); border-radius: 12px; padding: 26px 20px 22px; box-shadow: 0 10px 24px rgba(20, 50, 79, 0.22); }
.r-open-h { margin-top: 12px; font-weight: 900; font-size: 22px; line-height: 1.45; }
.r-open-h .big { display: block; font-size: 60px; line-height: 1.05; color: var(--yellow); letter-spacing: 0.02em; margin-bottom: 4px; }
.r-open-lead { margin-top: 16px; font-size: 15px; font-weight: 700; line-height: 1.7; }
.r-open-jobs { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.r-open-jobs li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 17px; font-weight: 900; line-height: 1.4; }
.r-open-jobs li svg { width: 22px; height: 22px; flex: none; }
.r-open-same { margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.35); font-size: 15px; line-height: 1.75; }
.r-open-same strong { color: var(--yellow); font-weight: 900; }
.r-open-addr { margin-top: 10px; font-size: 14px; line-height: 1.7; opacity: 0.85; }
.recruit-opening .tp-btn { margin-top: 18px; }
@media (min-width: 1025px) {
  .recruit-opening { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0 clamp(32px, 5vw, 72px); padding: 40px clamp(32px, 4vw, 56px); }
  .r-open-h { font-size: clamp(22px, 2.6vw, 34px); }
  .r-open-h .big { font-size: clamp(60px, 7vw, 96px); }
  .r-open-lead { font-size: 17px; }
  .r-open-jobs { margin-top: 0; }
}

.why-section { padding: var(--section-y) var(--section-x) clamp(40px, 6vw, 80px); display: flex; flex-direction: column; gap: 48px; }
.why-section h2 { font-weight: 900; font-size: clamp(30px, 5vw, 56px); line-height: 1.3; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 0; }
.why-item { border-left: 1.5px solid rgba(255,255,255,0.5); padding: 8px clamp(16px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.why-item .big { font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.why-item .big .unit { font-size: 24px; }
.why-item .title { font-weight: 900; font-size: 20px; }
.why-item p { font-size: 14px; line-height: 1.9; }
/* 週休3日も選べる（1つ目の理由「土日休み。」の下の黄色のテープ）。伝えることは「休みが多い」のまま */
.why-item .why-tape { margin-top: -4px; font-size: 15px; font-weight: 900; }
.why-tape .tp-tape { padding: 3px 10px 2px; }

.movie-section { padding: clamp(24px, 4vw, 40px) var(--section-x) var(--section-y); display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.movie-section .lead { display: flex; flex-direction: column; gap: 20px; }
.movie-section h2 { font-weight: 900; font-size: clamp(26px, 4vw, 48px); line-height: 1.3; }
.movie-section p { font-size: 13.5px; line-height: 2; }
.movie-stage { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; }
.movie-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.positions-section { background: var(--white); color: var(--navy); padding: clamp(48px, 8vw, 120px) var(--section-x) clamp(56px, 8vw, 120px); }
.positions-section .en { color: var(--blue); }
/* 伝えること：職種ごとの給与。数字を青い大きな字に。勤務地は4職種とも同じなので見出しの下に1回だけ */
.pos-loc { margin-top: 14px; display: flex; gap: 8px; font-size: 15px; line-height: 1.7; color: var(--navy); }
.pos-loc b { font-weight: 900; }
.pos-loc svg { width: 18px; height: 18px; flex: none; margin-top: 0.3em; color: var(--blue); }
.pos-group { margin-top: 28px; background: var(--pale); border-radius: 8px; padding: 9px 12px; font-size: 15px; font-weight: 900; line-height: 1.5; display: flex; align-items: center; gap: 8px; }
.pos-group svg { width: 20px; height: 20px; flex: none; }
.pos-cards { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.job-card { display: flex; flex-direction: column; min-width: 0; border: 1.5px solid #d5e2ee; border-radius: 14px; padding: 16px; box-shadow: 0 6px 18px rgba(20, 50, 79, 0.07); }
.job-head { display: flex; align-items: center; gap: 12px; }
/* 小さな写真（イラスト）：枠の大きさは固定。MEMBER に写真を置けば一緒に替わる */
.job-head .photo { flex: none; width: 68px; height: 68px; border-radius: 10px; }
.job-head .photo.has-illust { padding: 6px 4px 0; }
.job-ttl { min-width: 0; font-size: 21px; font-weight: 900; line-height: 1.35; }
.job-ttl small { display: block; font-size: 14px; font-weight: 700; color: #4b6378; line-height: 1.5; }
.job-pay { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; }
.job-pay .k { flex: none; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 700; padding: 1px 10px; border-radius: 4px; line-height: 1.6; position: relative; top: -6px; }
.job-pay .amt { font-size: 32px; color: var(--blue); line-height: 1.1; letter-spacing: 0.01em; }
.job-pay .amt .nb { white-space: nowrap; }
.job-pay .amt small { font-size: 0.55em; margin: 0 0.04em; }
.job-pay-note { margin-top: 4px; font-size: 14px; font-weight: 700; color: #4b6378; line-height: 1.6; }
.job-tags { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #c9d8e6; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.job-tags li { font-size: 14px; font-weight: 700; background: #eef5fb; border-radius: 6px; padding: 2px 9px; line-height: 1.6; }
/* 週休3日の札だけ黄色（職種データの tag_hi で明示）。札の形（四角）はそのまま＝押せるボタン（丸）と見分けがつく */
.job-tags li.is-hi { background: var(--yellow); font-size: 15px; font-weight: 900; padding: 3px 10px; box-shadow: 0 1px 0 rgba(20, 50, 79, 0.12); }
.job-card .pos-loc.is-card { margin: 0 0 14px; font-size: 14px; }
.job-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1.5px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 900; font-size: 15px; letter-spacing: 0.08em; }
.job-btn:hover { background: var(--navy); color: var(--white); }
.job-btn svg { width: 18px; height: 18px; }
@media (min-width: 700px) {
  .pos-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 769px) {
  .job-pay .amt { font-size: 36px; }
}

/* 伝えること：応募の前に、LINEで中が見られる。スマホの絵ごと押すとLINEが開く（絵の中身＝箇条書き） */
.line-section { padding: clamp(48px, 8vw, 120px) var(--section-x) clamp(56px, 8vw, 120px); display: grid; grid-template-columns: 1fr; scroll-margin-top: 80px; }
.line-lead { margin-top: 14px; font-size: 15px; line-height: 1.85; }
.line-phone-col { min-width: 0; }
.r-phone { display: block; width: 300px; max-width: 100%; margin: 24px auto 0; background: var(--navy); border-radius: 36px; padding: 12px; box-shadow: 0 26px 50px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease; }
.r-phone:hover { color: inherit; transform: translateY(-2px); }
.r-phone .screen { background: var(--white); border-radius: 26px; padding: 16px 14px 14px; color: var(--navy); }
.r-phone .head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.r-phone .head img { width: 28px; height: 28px; }
.r-phone .photo.thumb { height: 96px; border-radius: 12px; margin-top: 10px; }
.r-phone .photo.thumb.has-illust { padding: 8px 10px 0; }
.r-phone .bubbles { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.r-phone .bubbles li { display: flex; align-items: flex-start; gap: 8px; background: #eef3f8; border-radius: 4px 14px 14px 14px; padding: 9px 12px; font-size: 15px; font-weight: 700; line-height: 1.55; }
.r-phone .bubbles .n { flex: none; width: 22px; font-size: 20px; line-height: 1.15; color: var(--blue); text-align: center; }
.r-phone .qr { margin-top: 12px; display: flex; gap: 8px; }
.r-phone .qr span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; background: var(--blue); color: var(--white); border-radius: 10px; font-size: 14px; font-weight: 700; }
.line-phone-col .btn-line.btn-block { margin-top: 20px; min-height: 56px; font-size: 16px; }
.line-visit { margin-top: 14px; display: flex; gap: 8px; font-size: 15px; line-height: 1.7; }
.line-visit svg { width: 20px; height: 20px; flex: none; margin-top: 0.2em; }
.line-visit b { color: var(--yellow); font-weight: 900; }
.line-note { margin-top: 22px; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 10px; padding: 16px 16px 14px; position: relative; }
.line-note .tp-tape { position: absolute; top: -14px; left: 12px; font-size: 14px; font-weight: 900; }
.line-note p { margin-top: 4px; font-size: 14px; line-height: 1.8; }
@media (min-width: 1025px) {
  .line-section { grid-template-columns: 1fr 1fr; grid-template-areas: "head phone" "foot phone"; column-gap: clamp(30px, 5vw, 60px); align-items: center; }
  .line-head { grid-area: head; align-self: end; }
  .line-phone-col { grid-area: phone; }
  .line-foot { grid-area: foot; align-self: start; }
  .r-phone { margin-top: 0; }
  .line-phone-col .btn-line.btn-block { max-width: 300px; margin-left: auto; margin-right: auto; }
  .line-foot .line-visit { margin-top: 22px; }
  .line-foot .line-note { margin-top: 30px; }
}

.entry-section { padding: 0 var(--section-x) var(--section-y); display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.entry-section .brush { font-size: clamp(26px, 4vw, 40px); }
.entry-btn { background: var(--white); color: var(--blue); padding: 20px 56px; font-weight: 900; font-size: 15px; letter-spacing: 0.12em; border-radius: 4px; }
.entry-btn:hover { background: var(--yellow); color: var(--navy); }
.entry-note { font-size: 14px; opacity: 0.9; letter-spacing: 0.04em; line-height: 1.7; }
.entry-section .btn-line { min-height: 52px; padding: 10px 26px; font-size: 15px; }
.entry-section .entry-btn { line-height: 1.4; }
@media (max-width: 768px) { .entry-section .entry-btn { padding: 20px 40px; } }

/* ===========================
   Footer
   =========================== */
.site-footer { background: var(--navy); padding: 64px var(--section-x) 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand .en { font-size: 12px; letter-spacing: 0.3em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.footer-nav a { font-size: 13px; font-weight: 700; }

/* ===========================
   採用LINE ボタン（LINE緑は採用文脈のみ）
   =========================== */
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #06C755; color: var(--white); padding: 14px 26px; border-radius: 999px; font-weight: 900; font-size: 14px; letter-spacing: 0.04em; line-height: 1.3; text-decoration: none; transition: filter 0.2s, transform 0.2s; }
.btn-line svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-line:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-line.btn-block { display: flex; width: 100%; max-width: 480px; min-height: 52px; font-size: 15px; letter-spacing: 0.04em; }
.line-inline { margin: 0 var(--section-x) clamp(40px, 6vw, 80px); padding: 22px clamp(20px, 3vw, 32px); border: 1.5px solid rgba(255,255,255,0.5); border-radius: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.line-inline p { font-size: 14.5px; line-height: 1.9; margin: 0; }
.entry-or { margin-top: 12px; font-size: 14px; opacity: 0.9; }
.overlay-menu .overlay-line { margin-top: 8px; }
.footer-line { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-line-label { font-size: 12px; font-weight: 700; opacity: 0.85; letter-spacing: 0.08em; }
.recruit-sticky { display: none; }

/* 募集職種の詳細ページ（template-job.php） */
.positions-section { scroll-margin-top: 80px; }
.job-hero h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.job-hero-type { font-size: clamp(16px, 2vw, 22px); font-weight: 700; border: 1.5px solid var(--white); border-radius: 999px; padding: 2px 14px; }
.job-hero-catch { margin-top: 18px; font-size: clamp(15px, 1.8vw, 18px); font-weight: 700; line-height: 1.8; }
.job-hero-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; opacity: 0.95; }
.job-hero-meta span:first-child { font-weight: 900; color: var(--yellow); }
.job-apply-jump { display: inline-block; margin-top: 26px; background: var(--white); color: var(--blue); padding: 14px 30px; border-radius: 4px; font-weight: 900; font-size: 14px; letter-spacing: 0.08em; }
.job-apply-jump:hover { background: var(--yellow); color: var(--navy); }
.job-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.job-points li { background: rgba(255,255,255,0.1); border-radius: 8px; padding: 14px 16px; font-weight: 700; font-size: 14.5px; line-height: 1.7; }
.job-points li::before { content: '✓ '; color: var(--yellow); }
.content-section .job-note { font-size: 14px; opacity: 0.9; margin-top: 14px; }
.content-section .job-note a { text-decoration: underline; text-underline-offset: 3px; }
.job-h3 { font-weight: 900; font-size: 19px; margin: 26px 0 10px; }
.job-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.job-voice { margin: 0; background: var(--white); color: var(--navy); border-radius: 12px; padding: 24px; }
.job-voice figcaption { font-weight: 900; font-size: 13px; color: var(--blue); margin-bottom: 10px; }
.job-voice blockquote { margin: 0; font-size: 14.5px; line-height: 2; }
.job-table ul.plain { gap: 4px; }
.job-table ul.plain li { font-size: 14px; }
/* 募集要項の表は幅を固定する。中の表（給与表）が広くても外側の表を押し広げない
   （押し広げるとスマホで画面ごと横にはみ出し、給与表の横スクロール枠も効かなかった） */
.job-table { table-layout: fixed; }
.job-table > tbody > tr > td { overflow-wrap: anywhere; }
/* 募集要項の月給（2026-10-15）：「週5日勤務」と「週4日勤務（週休3日）」を別の組に。週5日を先に・大きく。
   内訳（基本給・職能手当・オンコール手当・固定残業手当と月○時間分）は組ごとの小さな表に全部残す。
   見本: 彩アヤ service-and-pay v1。.info-table の th/td の決まりは中の表にも掛かるので、中の表は .job-table 配下で上書きする */
.job-table .pay-lead { margin: 0 0 12px; font-size: 15px; font-weight: 700; line-height: 1.7; }
.job-table .pay-groups { display: grid; gap: 16px; }
.job-table .pg { border-radius: 12px; overflow: hidden; background: var(--white); color: var(--navy); box-shadow: 0 10px 24px rgba(20, 50, 79, 0.22); }
.job-table .pg-head { background: var(--navy); color: var(--white); padding: 14px 16px 16px; }
.job-table .pg-kind { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; line-height: 1.75; }
.job-table .pg-kind .kd { display: inline-block; background: var(--white); color: var(--navy); border-radius: 4px; padding: 1px 10px; font-size: 15px; font-weight: 900; line-height: 1.6; }
.job-table .pg-kind .tp-tape { font-size: 18px; font-weight: 900; }
.job-table .pg-rest { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; font-size: 16px; font-weight: 900; line-height: 1.3; }
.job-table .pg-rest b { display: inline; margin: 0 3px 0 5px; font-size: 40px; color: var(--yellow); line-height: 1; }
.job-table .pg-pay { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, 0.32); font-size: 15px; line-height: 1.75; }
.job-table .pg-pay .k { display: block; font-size: 14px; font-weight: 700; line-height: 1.4; opacity: 0.9; }
.job-table .pg-pay .amt { display: block; margin: 2px 0 0; font-size: 40px; color: var(--yellow); line-height: 1.15; letter-spacing: 0.01em; }
.job-table .pg-pay .amt .nb { white-space: nowrap; }
.job-table .pg-pay .amt small { font-size: 0.5em; margin: 0 0.04em; }
.job-table .pg.is-sub .pg-pay .amt { font-size: 30px; }
.job-table .pg-why { margin: 10px 0 0; display: flex; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.7; background: rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 8px 10px; }
.job-table .pg-why svg { width: 18px; height: 18px; flex: none; margin-top: 0.25em; }
.job-table .pg-body { padding: 2px 12px 8px; overflow-x: auto; } /* 列が増えて入りきらない時は、枠の中だけ横に動かす（ページ全体は動かさない） */
.job-table .pg-table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--navy); }
.job-table .pg-table th, .job-table .pg-table td { width: auto; padding: 9px 4px; border-top: 1px solid #dbe5ee; border-bottom: 0; font-size: 14px; line-height: 1.45; opacity: 1; vertical-align: middle; font-variant-numeric: tabular-nums; }
.job-table .pg-table thead th, .job-table .pg-table thead td { border-top: 0; padding-top: 12px; vertical-align: bottom; text-align: right; font-size: 14px; font-weight: 900; color: #4b6378; }
.job-table .pg-table thead td:first-child { width: 40%; }
.job-table .pg-table.one tbody tr:first-child th { width: 58%; }
.job-table .pg-table tbody th { text-align: left; font-weight: 700; }
.job-table .pg-table tbody td { text-align: right; white-space: nowrap; font-weight: 700; }
.job-table .pg-table th small, .job-table .pg-table td small { display: block; font-size: 14px; font-weight: 700; color: #4b6378; }
.job-table .pg-table tr.total th, .job-table .pg-table tr.total td { font-size: 17px; font-weight: 900; color: var(--blue); border-top: 2px solid var(--navy); }
.job-table .pg-table tr:last-child th, .job-table .pg-table tr:last-child td { border-bottom: 0; }
@media (min-width: 1025px) {
  .job-table .pay-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .job-table .pay-lead { font-size: 16px; }
  .job-table .pg-head { padding: 18px 22px 20px; }
  .job-table .pg-rest b { font-size: 44px; }
  .job-table .pg-pay .amt { font-size: 46px; }
  .job-table .pg.is-sub .pg-pay .amt { font-size: 34px; }
  .job-table .pg-body { padding: 4px 18px 10px; }
  .job-table .pg-table th, .job-table .pg-table td, .job-table .pg-table thead th { font-size: 15px; }
}
/* スマホ：募集要項の表は「見出しが上・中身が下」。中身が画面の幅いっぱいに使える（子の指定だけ。中の月給の表には掛けない） */
@media (max-width: 768px) {
  .job-table, .job-table > tbody, .job-table > tbody > tr, .job-table > tbody > tr > th, .job-table > tbody > tr > td { display: block; width: auto; }
  .job-table > tbody > tr > th { padding: 14px 0 0; font-size: 14px; }
  .job-table > tbody > tr > td { border-top: 0; padding: 6px 0 16px; }
  .job-table > tbody > tr:last-child > th { border-bottom: 0; }
}
.job-apply-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 10px; }
.job-apply-item { border: 1.5px solid rgba(255,255,255,0.5); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.job-apply-office a { font-weight: 900; font-size: 16px; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.job-apply-badge { display: inline-block; margin-top: 6px; background: var(--white); color: var(--blue); font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.job-apply-item .job-apply-note { font-size: 11.5px; opacity: 0.8; line-height: 1.6; margin-top: 8px; }
.job-apply-addr { font-size: 13px; opacity: 0.9; line-height: 1.7; }
.job-apply-item .entry-btn { margin-top: auto; padding: 14px 10px; text-align: center; font-size: 14px; letter-spacing: 0.06em; }
.job-apply-item .job-apply-addr:last-of-type { margin-bottom: 12px; }
.job-apply-line { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.content-section .job-apply-line p { margin: 0; font-size: 14px; }
@media (max-width: 768px) {
  .recruit-sticky { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(20, 50, 79, 0.96); transform: translateY(110%); transition: transform 0.25s; }
  .recruit-sticky.is-visible { transform: none; }
  .recruit-sticky .btn-line { flex: 1.4; padding: 13px 10px; font-size: 13.5px; }
  .recruit-sticky-apply { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--white); color: var(--blue); border-radius: 999px; font-weight: 900; font-size: 13.5px; }
  body.page-template-page-recruit .site-footer { padding-bottom: 90px; }
  .line-inline { margin-left: 20px; margin-right: 20px; }
  .line-inline .btn-line { width: 100%; }
}
.footer-meta { font-size: 12.5px; line-height: 1.9; opacity: 0.85; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 11px; opacity: 0.7; }
.footer-bottom a { opacity: 1; }

/* ===========================
   Blog / white content pages (home, single, archive, page, 404)
   =========================== */
.blue-band { background: var(--blue); padding: clamp(120px, 16vw, 180px) var(--section-x) clamp(48px, 6vw, 72px); text-align: left; }
.blue-band .en { display: block; margin-bottom: 12px; }
.blue-band h1 { font-weight: 900; font-size: clamp(30px, 5vw, 52px); line-height: 1.3; }
.white-area { background: var(--white); color: var(--navy); padding: clamp(40px, 6vw, 80px) var(--section-x) clamp(60px, 8vw, 120px); }
.white-area .inner { max-width: 760px; margin: 0 auto; }
.white-area .inner-wide { max-width: 900px; margin: 0 auto; }

.post-list { display: flex; flex-direction: column; }
.post-list-item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 22px 0; border-bottom: 1px solid #e6ecf2; }
.post-list-item time { font-size: 13px; color: #6b7a8c; width: 96px; flex-shrink: 0; }
.post-list-item .cat { background: var(--pale); color: var(--blue); font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.post-list-item a.title-link { color: var(--navy); font-weight: 700; flex: 1; min-width: 200px; }
.post-list-item a.title-link:hover { color: var(--blue); }
.post-excerpt { font-size: 13px; color: #6b7a8c; width: 100%; margin-top: 4px; }

.entry-content { line-height: 2.1; font-size: 15.5px; }
.entry-content p { margin-bottom: 1.5em; }
.entry-content h2 { font-size: 1.6em; font-weight: 900; margin: 2.4em 0 0.8em; color: var(--navy); }
.entry-content h3 { font-size: 1.3em; font-weight: 700; margin: 2em 0 0.6em; color: var(--navy); }
.entry-content ul, .entry-content ol { margin: 0 0 1.5em; padding-left: 1.6em; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content blockquote { border-left: 4px solid var(--blue); padding: 1em 1.4em; margin: 1.5em 0; background: var(--pale); border-radius: 0 8px 8px 0; }
.entry-content img { border-radius: 8px; margin: 1.5em 0; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--blue-light); }

.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: #6b7a8c; margin-bottom: 20px; }
.entry-title { font-weight: 900; font-size: clamp(24px, 4vw, 36px); line-height: 1.4; color: var(--navy); margin-bottom: 12px; }
.entry-thumb { margin: 24px 0; border-radius: 10px; overflow: hidden; }
.post-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid #e6ecf2; }
.post-nav a { font-size: 13px; color: var(--navy); }
.post-nav .back-link { border: 1.5px solid var(--navy); border-radius: 999px; padding: 10px 22px; font-weight: 700; }

.page-numbers { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0; margin: 48px 0 0; flex-wrap: wrap; }
.page-numbers li { display: inline-flex; }
.page-numbers a, .page-numbers span.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; height: 2.4rem; padding: 0 0.6rem; border-radius: 6px;
  font-size: 13px; font-weight: 700; color: var(--navy); background: var(--pale);
}
.page-numbers a:hover { background: var(--blue); color: var(--white); }
.page-numbers .current { background: var(--blue); color: var(--white); }

.empty-state { text-align: center; padding: 60px 0; color: #6b7a8c; font-size: 15px; }
.error-404 { text-align: center; }
.error-404 .code { font-size: clamp(60px, 12vw, 120px); font-weight: 900; color: var(--pale); line-height: 1; }
.error-404 h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: var(--navy); margin: 12px 0 16px; }
.error-404 p { color: #6b7a8c; margin-bottom: 28px; }
.btn-navy { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: var(--white); padding: 14px 32px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.btn-navy:hover { background: var(--blue); color: var(--white); }

/* ===========================
   Privacy policy
   =========================== */
.privacy-block { margin-bottom: 2.4em; }
.privacy-block h2 { font-size: 1.3em; font-weight: 900; margin-bottom: 0.8em; }
.privacy-block p, .privacy-block li { font-size: 14.5px; line-height: 2; }
.privacy-block ul { padding-left: 1.4em; margin-top: 0.6em; }
.privacy-block ul li { margin-bottom: 0.4em; }
.privacy-meta-table { background: var(--pale); border-radius: 8px; padding: 20px 24px; }
.privacy-meta-table dt { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue); text-transform: uppercase; margin-bottom: 2px; }
.privacy-meta-table dd { margin: 0 0 14px; font-size: 14px; }
.privacy-meta-table dd:last-child { margin-bottom: 0; }

/* ===========================
   WP admin bar compatibility (ログイン中のみ。一般訪問者の表示には影響しない)
   =========================== */
body.admin-bar .site-header-bar { top: 32px; }
body.admin-bar .side-rail,
body.admin-bar .copyright-v {
  transform: translateY(calc(-50% + 16px));
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header-bar { top: 46px; }
}
/* 管理バー内アバター画像はテーマの img{max-width:100%;height:auto} を打ち消す */
#wpadminbar img {
  max-width: none;
  height: auto;
}
/* WP標準のavatarクラス名が本テーマの .photo プレースホルダー用クラスと衝突し巨大化するため、
   管理バー内の .photo は無効化する（プレースホルダー用の見た目は一般ページ側のみ有効のまま） */
#wpadminbar img.photo {
  background: none;
  border: none;
  display: inline-block;
  padding: 0;
  min-height: 0;
  width: auto;
  height: auto;
  max-width: none;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .side-rail, .copyright-v { display: none; }
  .about-section, .recruit-teaser, .access-contact, .movie-section, .line-section { grid-template-columns: 1fr; }
  .recruit-teaser-figure { width: 100%; max-width: 560px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-x: 20px; }
  .about-section, .service-section, .recruit-teaser, .access-contact, .movie-section, .line-section, .why-section, .positions-section { padding-left: 20px; padding-right: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-left: none; border-top: 1.5px solid rgba(255,255,255,0.5); padding: 20px 4px; }
  .recruit-hero { flex-direction: column; align-items: stretch; gap: 20px; min-height: auto; padding-bottom: 40px; }
  .recruit-hero .hero-copy-v { writing-mode: horizontal-tb; margin: 24px 20px 0; font-size: 15px; padding: 14px 10px; align-self: flex-start; }
  .recruit-hero .catch-card { margin: 0 20px; align-self: flex-end; max-width: calc(100% - 40px); }
  .recruit-hero .catch-card .brush { line-height: 1.4; }
  .recruit-hero .qband { position: relative; top: auto; bottom: auto; left: auto; right: auto; height: 282px; }
  .qcard.mini { width: 170px; height: 236px; padding: 9px 9px 0; --qs: 17px; --as: 34px; }
  .qcard.mini .qcap { min-height: 56px; }
  .site-header-bar { padding: 14px 16px; }
  .site-logo .site-logo-text { display: none; }
  .info-table th { width: 6.5em; font-size: 12.5px; }
}
