@charset "UTF-8";
/* =========================================================
   erde / staRebirth  デザインシステム  v1.0
   ブランドブルー #2C6BAE を軸に、手描き線画ロゴの
   「やわらかさ・まるさ・手のぬくもり」を全体へ展開する
   ========================================================= */

/* ---------- 1. デザイントークン ---------- */
:root {
  /* ブランド（現行サイトから継承） */
  --blue:        #2C6BAE;
  --blue-deep:   #1E4C7E;
  --blue-mid:    #5A93CE;
  --blue-soft:   #A9CCEA;
  --blue-pale:   #E2EFFA;

  /* やわらかアクセント */
  --sun:         #F6C265;
  --sun-pale:    #FFF1D4;
  --coral:       #F2988C;
  --coral-pale:  #FFE5DF;
  --mint:        #7FC9AE;
  --mint-pale:   #DFF3EB;
  --lilac:       #B3A7DA;
  --lilac-pale:  #EDE9F8;

  /* ベース */
  --cream:       #FFFBF3;
  --cream-2:     #FDF4E6;
  --white:       #FFFFFF;
  --ink:         #3C4A5A;
  --ink-soft:    #6B7A8C;

  /* かたち */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-xl: 48px;
  --r-pill: 999px;

  /* 影（やわらかく、濃くしない） */
  --shadow-sm: 0 4px 14px rgba(44,107,174,.08);
  --shadow-md: 0 10px 30px rgba(44,107,174,.10);
  --shadow-lg: 0 18px 46px rgba(44,107,174,.13);

  /* 余白リズム */
  --gap: clamp(20px, 4vw, 40px);
  --sec-pad: clamp(64px, 9vw, 120px);
  --wrap: 1120px;

  /* 書体 */
  --font-jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Quicksand", var(--font-jp);
}

/* ---------- 2. リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.95;
  letter-spacing: .04em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: .25s; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.55; font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- 3. レイアウト ---------- */
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gap), 860px); margin-inline: auto; }
.section { position: relative; padding-block: var(--sec-pad); }
.section > .wrap, .section > .wrap-narrow { position: relative; z-index: 2; }

/* 背景色バリエーション（参考サイトのように面で色を変える） */
.bg-cream { background: var(--cream); }
.bg-sun   { background: var(--sun-pale); }
.bg-mint  { background: var(--mint-pale); }
.bg-blue  { background: var(--blue-pale); }
.bg-coral { background: var(--coral-pale); }
.bg-white { background: var(--white); }
.bg-deep  { background: var(--blue); color: #fff; }
.bg-deep .sec-title, .bg-deep .sec-label { color: #fff; }

/* ---------- 4. 見出し ---------- */
.sec-label {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(.8rem, 2.6vw, .95rem);
  letter-spacing: .22em;
  color: var(--blue-mid);
  text-align: center;
  margin-bottom: .4em;
}
.sec-title {
  text-align: center;
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  color: var(--blue-deep);
  letter-spacing: .06em;
  margin-bottom: 1.6em;
  position: relative;
}
.sec-title .mini {
  display: block;
  font-size: .52em;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .1em;
  margin-top: .6em;
}
/* 見出しの脇に添えるちいさな飾り（サブテキストがあっても両脇に並ぶ） */
.sec-title.deco {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: .5em;
}
.sec-title.deco::before,
.sec-title.deco::after {
  content: "";
  width: .5em; height: .5em;
  border-radius: 50%;
  background: var(--sun);
  flex: none;
}
.sec-title.deco::after { background: var(--coral); order: 1; }
.sec-title.deco .mini { flex-basis: 100%; order: 2; }

.lead {
  text-align: center;
  font-size: clamp(.95rem, 2.8vw, 1.08rem);
  line-height: 2.3;
  color: var(--ink);
}

/* 手書き風のアンダーライン */
.marker {
  background: linear-gradient(transparent 62%, var(--sun-pale) 62%, var(--sun-pale) 92%, transparent 92%);
  padding-inline: .1em;
}

/* ---------- 5. ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: .95em 2.2em;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 6px 0 var(--blue-deep), var(--shadow-sm);
  transform: translateY(0);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, background .25s;
}
.btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--blue-deep), var(--shadow-sm); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--blue-deep); }
.btn .arw { transition: transform .25s; }
.btn:hover .arw { transform: translateX(4px); }

.btn-sun   { background: var(--sun);   color: #6B4B12; box-shadow: 0 6px 0 #DDA53F, var(--shadow-sm); }
.btn-sun:hover { box-shadow: 0 3px 0 #DDA53F, var(--shadow-sm); }
.btn-coral { background: var(--coral); color: #7A3A31; box-shadow: 0 6px 0 #D9766A, var(--shadow-sm); }
.btn-coral:hover { box-shadow: 0 3px 0 #D9766A, var(--shadow-sm); }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 6px 0 var(--blue-soft), var(--shadow-sm); }
.btn-white:hover { box-shadow: 0 3px 0 var(--blue-soft), var(--shadow-sm); }
.btn-lg { font-size: 1.08rem; padding: 1.15em 2.8em; }

/* ---------- 6. カード ---------- */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-title {
  font-size: clamp(1.1rem, 3.4vw, 1.3rem);
  color: var(--blue-deep);
  margin-bottom: .7em;
  text-align: center;
}
.grid { display: grid; gap: clamp(20px, 3.2vw, 32px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* 丸くくり抜いたイラスト置き場（参考サイトの円形カット） */
.circle-illust {
  width: clamp(150px, 30vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin-inline: auto;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.circle-illust svg, .circle-illust img { width: 78%; }

/* ---------- 7. 波・ブロブの区切り ---------- */
.wave { position: absolute; left: 0; width: 100%; line-height: 0; z-index: 1; pointer-events: none; }
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }
.wave svg { width: 100%; height: clamp(40px, 6vw, 84px); display: block; }
.wave-bottom svg { transform: scaleY(-1); }

/* ---------- 8. 浮遊するかざり ---------- */
.floaties { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.floaty { position: absolute; opacity: .9; }
.floaty svg { width: 100%; }
@keyframes bob   { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(4deg); } }
@keyframes bob-s { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-5deg); } }
@keyframes drift { from { transform: translateX(-12vw); } to { transform: translateX(112vw); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.anim-bob    { animation: bob 6s ease-in-out infinite; }
.anim-bob-s  { animation: bob-s 4.5s ease-in-out infinite; }
.anim-drift  { animation: drift 42s linear infinite; }
.anim-spin   { animation: spin-slow 40s linear infinite; transform-origin: 50% 50%; }
.anim-twinkle{ animation: twinkle 3s ease-in-out infinite; }
.d1 { animation-delay: -1s; } .d2 { animation-delay: -2s; }
.d3 { animation-delay: -3s; } .d4 { animation-delay: -4.5s; } .d5 { animation-delay: -7s; }

/* ---------- 9. スクロール出現アニメーション ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.9,.3,1), transform .8s cubic-bezier(.22,.9,.3,1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="pop"]   { transform: scale(.86); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   10. ヘッダー
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 251, 243, .86);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  transition: .35s;
}
.site-header.is-stuck {
  background: rgba(255, 251, 243, .97);
  box-shadow: 0 4px 20px rgba(44,107,174,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: clamp(66px, 9vw, 88px);
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo svg { height: clamp(38px, 6vw, 50px); width: auto; }
.site-logo .name { font-weight: 700; color: var(--blue-deep); font-size: clamp(.95rem, 2.6vw, 1.15rem); letter-spacing: .06em; white-space: nowrap; }
.site-logo .name small { display: block; font-size: .62em; font-weight: 500; color: var(--ink-soft); letter-spacing: .12em; }

.gnav ul { display: flex; align-items: center; gap: clamp(4px, 1.4vw, 18px); }
.gnav a {
  display: block;
  padding: .55em 1em;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .95rem;
  color: var(--blue-deep);
  position: relative;
}
.gnav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-pill);
  background: var(--sun-pale);
  transform: scale(.6);
  opacity: 0;
  transition: .28s cubic-bezier(.34,1.5,.64,1);
  z-index: -1;
}
.gnav a:hover::before { transform: scale(1); opacity: 1; }
.gnav .nav-cta a { background: var(--blue); color: #fff; padding-inline: 1.4em; }
.gnav .nav-cta a::before { background: var(--blue-deep); }

.hamburger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); position: relative; z-index: 120; }
.hamburger span { position: absolute; left: 13px; width: 20px; height: 2.5px; border-radius: 2px; background: #fff; transition: .3s; }
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.is-menu-open .hamburger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.is-menu-open .hamburger span:nth-child(2) { opacity: 0; }
.is-menu-open .hamburger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  /* ★重要★ backdrop-filter が付いていると、その中の position:fixed が
     ヘッダーの箱の中に閉じ込められてしまう（メニューが開かない原因）。
     スマホではぼかしを切って、代わりに不透明な背景にする。 */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 251, 243, .97);
  }
  .site-header.is-stuck { background: rgba(255, 251, 243, 1); }

  .hamburger { display: block; }
  /* ロゴとハンバーガーはメニューを開いても上に出しておく */
  .site-logo { position: relative; z-index: 120; }

  .gnav {
    position: fixed;
    inset: 0;
    background: var(--cream);
    display: grid;
    place-items: center;
    padding: clamp(80px, 14vw, 110px) 20px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .is-menu-open .gnav { opacity: 1; visibility: visible; }
  .gnav ul { flex-direction: column; gap: 4px; width: 100%; max-width: 340px; }
  .gnav li { width: 100%; text-align: center; }
  .gnav a {
    display: block;
    font-size: 1.08rem;
    line-height: 1.6;
    padding: .85em 1.2em;
    border-radius: var(--r-md);
  }
  .gnav .nav-cta a { border-radius: var(--r-pill); margin-top: 14px; }
}

/* =========================================================
   11. ヒーロー
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(560px, 92svh, 880px);
  display: grid;
  place-items: center;
  padding-top: clamp(80px, 12vw, 110px);
  padding-bottom: clamp(60px, 10vw, 100px);
  background:
    radial-gradient(120% 90% at 80% 0%, var(--blue-pale) 0%, transparent 60%),
    radial-gradient(100% 80% at 5% 20%, var(--sun-pale) 0%, transparent 55%),
    linear-gradient(180deg, #FFFDF7 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: min(100% - 2 * var(--gap), 1180px);
  margin-inline: auto;
}
.hero-copy { text-align: left; }
.hero-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(.85rem, 2.4vw, 1.05rem);
  letter-spacing: .2em;
  color: var(--blue-mid);
  margin-bottom: .8em;
}
.hero-title {
  font-size: clamp(1.85rem, 6.4vw, 3.35rem);
  line-height: 1.6;
  color: var(--blue-deep);
  letter-spacing: .05em;
  margin-bottom: .55em;
}
.hero-title .hl { position: relative; display: inline-block; }
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: -.06em; right: -.06em; bottom: .08em;
  height: .34em;
  border-radius: var(--r-pill);
  background: var(--sun-pale);
  z-index: -1;
}
.hero-sub { font-size: clamp(.95rem, 2.7vw, 1.08rem); line-height: 2.2; color: var(--ink); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; }
.hero-art > svg { width: 100%; filter: drop-shadow(0 16px 34px rgba(44,107,174,.12)); }

/* スマホでは意図的な改行を解除して自然に折り返す */
@media (max-width: 600px) {
  .hero-sub br, .lead br, .cta-band p br, .office dd br { display: none; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; width: min(90%, 420px); margin-inline: auto; }
}

/* ---------- 11-b. ヒーローのイラストステージ ---------- */
.ha-stage { position: relative; width: 100%; aspect-ratio: 1 / .92; }
.ha-stage > * { position: absolute; }
.ha-blob { left: 4%; top: 6%; width: 92%; opacity: .85; }
.ha-globe { left: 26%; top: 20%; width: 48%; }
.ha-bub {
  width: 27%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(44,107,174,.14);
}
.ha-bub img { width: 74%; }
.ha-bub.p1 { left: -2%;  top: 6%; }
.ha-bub.p2 { right: -3%; top: 16%; background: var(--sun-pale); }
.ha-bub.p3 { left: 4%;   bottom: 2%; background: var(--coral-pale); }
.ha-bub.p4 { right: 2%;  bottom: 8%; background: var(--mint-pale); }

/* ---------- 11-c. 理念の引用ブロック ---------- */
.mind-quote {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--r-xl);
  padding: clamp(34px, 6vw, 58px) clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.mind-quote p {
  font-size: clamp(1.2rem, 4.4vw, 1.9rem);
  line-height: 1.9;
  color: var(--blue-deep);
  letter-spacing: .08em;
  margin: 0;
}
.mind-quote p b { color: var(--coral); font-weight: 700; }
.mind-quote .q-deco { position: absolute; width: clamp(38px, 6vw, 54px); }
.mind-quote .q-deco.l { left: -14px; top: -18px; transform: rotate(-14deg); }
.mind-quote .q-deco.r { right: -14px; bottom: -18px; transform: rotate(16deg); }

/* ---------- 11-d. タグ ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4em; }
.tag-list li {
  background: #fff;
  color: var(--blue-deep);
  font-size: .86rem;
  font-weight: 700;
  padding: .45em 1.1em;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 760px) { .tag-list { justify-content: center; } }

/* =========================================================
   12. 汎用パーツ
   ========================================================= */
/* 交互に並ぶ画像＋文章 */
.alt-row {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
/* 文章が先（＝イラストが右）に来る行 */
.alt-row.txt-first { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.alt-row + .alt-row { margin-top: clamp(48px, 7vw, 88px); }
.alt-row h3 {
  font-size: clamp(1.15rem, 3.6vw, 1.5rem);
  color: var(--blue-deep);
  margin-bottom: .7em;
  display: flex;
  align-items: center;
  gap: .5em;
}
.alt-row h3 .dot { width: .55em; height: .55em; border-radius: 50%; background: var(--coral); flex: none; }
@media (max-width: 760px) {
  .alt-row, .alt-row.txt-first { grid-template-columns: 1fr; }
  /* スマホではイラストを先に見せる */
  .alt-row.txt-first > .txt { order: 2; }
  .alt-row h3 { justify-content: center; }
  .alt-row .txt { text-align: center; }
}

/* 「サービス対象」などの補足ボックス */
.target-box {
  margin-top: 1.3em;
  padding: 1em 1.4em;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: .93rem;
  line-height: 1.9;
  text-align: left;
}
.target-box b { display: block; color: var(--blue-deep); font-size: .84rem; letter-spacing: .12em; }

/* サービスカード
   丸アイコンはカードの上辺にまたがって置くので、
   その分だけカードの上余白を確保しておく（見出しに被らないように） */
.svc { text-align: center; padding-top: clamp(76px, 8vw, 92px); }
.svc p { text-align: left; }
.svc .badge {
  position: absolute;
  top: clamp(-26px, -3vw, -20px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(72px, 12vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  background: var(--sun-pale);
}
.svc:nth-child(2) .badge { background: var(--mint-pale); }
.svc:nth-child(3) .badge { background: var(--coral-pale); }
.svc .badge svg { width: 58%; }
.svc .target {
  margin-top: 1.3em;
  padding: .8em 1.2em;
  border-radius: var(--r-md);
  background: var(--cream-2);
  font-size: .88rem;
  line-height: 1.8;
  text-align: left;
}
.svc .target b { color: var(--blue-deep); display: block; font-size: .82rem; letter-spacing: .1em; }

/* 特長（3つの丸） */
.point { text-align: center; }
.point .num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  color: var(--blue-mid);
  margin-bottom: .5em;
}
.point h3 { font-size: clamp(1.05rem, 3.2vw, 1.25rem); color: var(--blue-deep); margin-bottom: .6em; }
.point p { font-size: .95rem; }

/* 事業所カード */
.office { overflow: hidden; padding: 0; }
.office .head {
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3.4vw, 34px);
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}
.office:nth-child(2) .head { background: var(--mint); color: #1F5546; }
.office .head svg { width: 40px; flex: none; }
.office .head h3 { font-size: clamp(1.1rem, 3.4vw, 1.35rem); }
.office .head .en { font-family: var(--font-en); font-size: .72rem; letter-spacing: .16em; opacity: .85; display: block; }
.office dl { margin: 0; padding: clamp(20px, 3vw, 30px) clamp(22px, 3.4vw, 34px); }
.office dl > div { display: grid; grid-template-columns: 5.2em 1fr; gap: 10px; padding: .7em 0; border-bottom: 1px dashed var(--blue-soft); font-size: .93rem; }
.office dl > div:last-child { border-bottom: none; }
.office dt { color: var(--blue-deep); font-weight: 700; }
.office dd { margin: 0; }
.office dd a { color: var(--blue); font-weight: 700; }
.office dd a:hover { color: var(--coral); }

/* 企業方針（番号つきリスト） */
.creed {
  counter-reset: creed;
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: clamp(24px, 4vw, 36px) auto 0;
}
.creed li {
  counter-increment: creed;
  position: relative;
  background: #fff;
  border-radius: var(--r-md);
  padding: 1em 1.4em 1em 3.6em;
  box-shadow: var(--shadow-sm);
  font-size: .96rem;
  line-height: 1.9;
}
.creed li::before {
  content: counter(creed, decimal-leading-zero);
  position: absolute;
  left: 1.1em;
  top: 1em;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: .9em;
  color: var(--mint);
}

/* 方針の原文と、そのやさしい解説 */
.creed .c-main { display: block; }
.creed .c-note {
  display: block;
  margin-top: .75em;
  padding-top: .75em;
  border-top: 1px solid var(--blue-pale);
  font-size: .86rem;
  line-height: 1.95;
  color: var(--ink-soft);
}

/* 情報テーブル（会社概要・募集要項） */
.tbl { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.tbl th, .tbl td { padding: 1.1em 1.4em; text-align: left; vertical-align: top; font-size: .95rem; line-height: 2; }
.tbl th {
  width: 12em;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-weight: 700;
  border-bottom: 3px solid #fff;
}
.tbl td { background: #fff; border-bottom: 1px solid var(--blue-pale); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: none; }
@media (max-width: 680px) {
  .tbl th, .tbl td { display: block; width: auto; }
  .tbl th { border-bottom: none; border-radius: 0; }
  .tbl td { padding-top: .8em; }
}

/* 募集要項などの小見出し */
.job-head { text-align: center; margin-bottom: 1.2em; }
.job-head span {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  padding: .5em 2em;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

/* Q&A アコーディオン */
.qa { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.qa + .qa { margin-top: 16px; }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2em 3.4em 1.2em 3.6em;
  position: relative;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.8;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before {
  content: "Q";
  position: absolute;
  left: 1.1em; top: 1.05em;
  width: 1.7em; height: 1.7em;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-en);
  display: grid; place-items: center;
  font-size: .85em;
}
.qa summary::after {
  content: "";
  position: absolute;
  right: 1.5em; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--blue-mid);
  border-bottom: 2.5px solid var(--blue-mid);
  border-radius: 2px;
  transform: translateY(-70%) rotate(45deg);
  transition: .3s;
}
.qa[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.qa .a { padding: 0 1.6em 1.5em 3.6em; position: relative; font-size: .95rem; }
.qa .a::before {
  content: "A";
  position: absolute;
  left: 1.1em; top: -.1em;
  width: 1.7em; height: 1.7em;
  border-radius: 50%;
  background: var(--coral-pale);
  color: #B4574A;
  font-family: var(--font-en);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: .85em;
}

/* 1日の流れ（タイムライン） */
.timeline { position: relative; padding-left: clamp(56px, 9vw, 78px); }
.timeline::before {
  content: "";
  position: absolute;
  left: clamp(22px, 3.6vw, 31px);
  top: 8px; bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: repeating-linear-gradient(180deg, var(--blue-soft) 0 10px, transparent 10px 18px);
}
.tl-item { position: relative; padding-bottom: clamp(24px, 4vw, 34px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .time {
  position: absolute;
  left: clamp(-56px, -9vw, -78px);
  top: 0;
  width: clamp(48px, 7.4vw, 64px);
  height: clamp(48px, 7.4vw, 64px);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(.72rem, 2vw, .85rem);
  box-shadow: 0 0 0 6px var(--cream);
}
.tl-item:nth-child(even) .time { background: var(--mint); color: #1F5546; }
.tl-item .body { background: #fff; border-radius: var(--r-md); padding: 1.1em 1.4em; box-shadow: var(--shadow-sm); font-size: .95rem; }

/* CTAバナー */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 66px) clamp(24px, 5vw, 60px);
  background: linear-gradient(135deg, var(--blue) 0%, #4E8AC8 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(1.3rem, 4.4vw, 2rem); margin-bottom: .6em; }
.cta-band p { opacity: .95; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 1.8em; }
.cta-band .deco { position: absolute; opacity: .18; pointer-events: none; }

/* 電話番号ブロック */
.tel-box { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 28px); justify-content: center; }
.tel-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.4em 2em;
  box-shadow: var(--shadow-sm);
  text-align: center;
  min-width: 250px;
}
.tel-card .label { font-size: .85rem; color: var(--ink-soft); letter-spacing: .1em; }
.tel-card .num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(1.4rem, 4.6vw, 1.85rem);
  color: var(--blue-deep);
  letter-spacing: .04em;
  display: block;
  line-height: 1.5;
}
.tel-card .num:hover { color: var(--coral); }

/* =========================================================
   13. 下層ページのページヘッダー
   ========================================================= */
.page-hero {
  position: relative;
  padding-top: clamp(120px, 16vw, 170px);
  padding-bottom: clamp(56px, 8vw, 90px);
  text-align: center;
  background:
    radial-gradient(90% 120% at 85% 0%, var(--blue-pale) 0%, transparent 62%),
    radial-gradient(80% 100% at 8% 30%, var(--sun-pale) 0%, transparent 58%),
    var(--cream);
  overflow: hidden;
}
.page-hero .en {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--blue-mid);
  font-size: clamp(.75rem, 2.2vw, .9rem);
}
.page-hero h1 {
  font-size: clamp(1.6rem, 5.4vw, 2.5rem);
  color: var(--blue-deep);
  letter-spacing: .08em;
  margin-top: .35em;
}
.breadcrumb { font-size: .8rem; color: var(--ink-soft); margin-top: 1.4em; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin-inline: .5em; }

/* =========================================================
   14. フッター
   ========================================================= */
.site-footer { position: relative; background: var(--blue-deep); color: #fff; padding-top: clamp(56px, 8vw, 84px); overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.footer-logo svg { height: 56px; width: auto; margin-bottom: 14px; }
.footer-logo .cname { font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; }
.footer-grid address { font-style: normal; font-size: .88rem; line-height: 2.1; opacity: .88; margin-top: 1em; }
.fnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 20px; align-content: start; }
.fnav a { font-size: .92rem; opacity: .9; padding: .3em 0; display: inline-block; }
.fnav a:hover { opacity: 1; color: var(--sun); transform: translateX(4px); }
.sns { display: flex; gap: 12px; margin-top: 1.2em; }
.sns a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.sns a:hover { background: var(--sun); color: var(--blue-deep); transform: translateY(-3px); }
.sns svg { width: 20px; }
.copyright { text-align: center; padding: 1.4em 0; font-size: .78rem; opacity: .7; border-top: 1px solid rgba(255,255,255,.16); font-family: var(--font-en); letter-spacing: .1em; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .sns { justify-content: center; } }

/* ページトップへ */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sun);
  color: #6B4B12;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: .35s;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 22px; }

/* =========================================================
   15. Instagram 埋め込み枠（WPではプラグインが中身を出す）
   ========================================================= */
.ig-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3.4vw, 34px); }
.ig-col { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm); }
.ig-col h3 { text-align: center; color: var(--blue-deep); font-size: 1.05rem; margin-bottom: .3em; }
.ig-col .handle { text-align: center; font-family: var(--font-en); font-size: .82rem; color: var(--ink-soft); margin-bottom: 1.2em; }
.ig-placeholder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-placeholder i {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--blue-pale), var(--sun-pale));
}

/* =========================================================
   16. フォーム／注意書き／書類カード／長文ページ
   ========================================================= */
.form-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 22px); }
.fld { margin: 0; display: grid; gap: .5em; }
.fld.wide { grid-column: 1 / -1; }
.fld label { font-weight: 700; color: var(--blue-deep); font-size: .92rem; display: flex; align-items: center; gap: .6em; }
.fld input[type="text"], .fld input[type="tel"], .fld input[type="email"], .fld select, .fld textarea {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--blue-pale);
  border-radius: var(--r-md);
  padding: .8em 1.1em;
  transition: .25s;
}
.fld textarea { border-radius: var(--r-md); resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(90,147,206,.16);
}
.fld .req {
  background: var(--coral);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .08em;
  padding: .2em .8em;
  border-radius: var(--r-pill);
}
.fld.agree label { justify-content: center; font-weight: 500; color: var(--ink); flex-wrap: wrap; }
.fld.agree a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.fld.agree input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--blue); }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.form-note { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 1.6em; }

/* 注意書き */
.notice {
  margin-top: clamp(32px, 5vw, 48px);
  background: var(--sun-pale);
  border-radius: var(--r-lg);
  padding: clamp(22px, 4vw, 34px) clamp(22px, 4vw, 38px);
}
.notice h3 { color: var(--blue-deep); font-size: 1.02rem; margin-bottom: .6em; }
.notice ul { display: grid; gap: .5em; }
.notice li { position: relative; padding-left: 1.3em; font-size: .92rem; line-height: 1.9; }
.notice li::before { content: "※"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }

/* 書類ダウンロードカード */
.doc-card { display: flex; align-items: center; gap: 16px; padding: clamp(20px, 3vw, 28px); }
.doc-ico {
  width: 56px; height: 56px; flex: none;
  border-radius: 50%;
  background: var(--sun-pale);
  display: grid; place-items: center;
}
.doc-ico img { width: 46%; }
.doc-txt { flex: 1; }
.doc-txt b { display: block; color: var(--blue-deep); font-size: 1rem; line-height: 1.7; }
.doc-txt small { color: var(--ink-soft); font-size: .78rem; word-break: break-all; }
.doc-dl {
  flex: none;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  background: var(--blue);
  color: #fff;
  padding: .5em 1.1em;
  border-radius: var(--r-pill);
}

/* 長文ページ（プライバシーポリシー等） */
.rich h3 {
  color: var(--blue-deep);
  font-size: clamp(1.02rem, 3.2vw, 1.18rem);
  margin: 2.2em 0 .7em;
  padding-left: .8em;
  border-left: 6px solid var(--sun);
  line-height: 1.7;
}
.rich ul { display: grid; gap: .4em; margin: 0 0 1.2em; }
.rich li { position: relative; padding-left: 1.3em; }
.rich li::before {
  content: "";
  position: absolute; left: .2em; top: .82em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
}
.ig-note { text-align: center; font-size: .78rem; color: var(--ink-soft); margin-top: 1em; }

/* =========================================================
   17. お知らせ・ブログ
   ========================================================= */
.post-card { padding: clamp(18px, 2.6vw, 24px); }
.post-card a { display: block; }
.post-thumb {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--blue-pale);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  margin-bottom: 1em;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* アイキャッチ未設定のときの差し込みイラスト */
.post-thumb img.ph { width: 50%; max-width: 150px; height: auto; object-fit: contain; opacity: .55; }
/* 記事一覧は件数が少なくてもカードが横に伸びないようにする */
.grid-posts { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-bottom: .6em;
}
.post-cat {
  background: var(--sun-pale);
  color: #7A5A18;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: .74rem;
  padding: .2em .9em;
  border-radius: var(--r-pill);
}
.post-title {
  font-size: clamp(1rem, 3vw, 1.14rem);
  color: var(--blue-deep);
  line-height: 1.7;
  margin-bottom: .5em;
}
.post-card a:hover .post-title { color: var(--blue); }
.post-excerpt { font-size: .9rem; color: var(--ink-soft); line-height: 1.9; }

.post-hero-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: clamp(28px, 4vw, 44px); }
.post-hero-img img { width: 100%; display: block; }

.post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(40px, 6vw, 64px);
}

/* ページ送り */
.navigation.pagination { margin-top: clamp(40px, 6vw, 64px); }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.navigation.pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding-inline: .8em;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--blue-deep);
  font-family: var(--font-en);
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.navigation.pagination .page-numbers:hover { background: var(--sun-pale); }
.navigation.pagination .page-numbers.current { background: var(--blue); color: #fff; }
.navigation.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.page-links { text-align: center; margin-top: 2em; font-size: .9rem; }

/* =========================================================
   18. 募集要項（WordPressのブロックエディタで編集する部分）
   ブロックエディタの「見出し」「表」ブロックが、
   テンプレート内の見た目と揃うようにする
   ========================================================= */
.job-content > *:first-child { margin-top: 0; }
/* 「正社員」「アルバイト・パート」などの見出しをラベル風にする */
.job-content h3 {
  width: fit-content;
  margin: clamp(44px, 6vw, 68px) auto 1.2em;
  padding: .5em 2em;
  background: var(--blue);
  color: #fff;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  border: none;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.job-content h3:first-child { margin-top: 0; }
.job-content .wp-block-table,
.job-content figure.wp-block-table { margin: 0 0 1em; }
.job-content table {
  border-collapse: collapse;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: none;
}
.job-content table th,
.job-content table td {
  padding: 1.1em 1.4em;
  text-align: left;
  vertical-align: top;
  font-size: .95rem;
  line-height: 2;
  border: none;
}
.job-content table th {
  width: 12em;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-weight: 700;
  border-bottom: 3px solid #fff;
}
.job-content table td { background: #fff; border-bottom: 1px solid var(--blue-pale); }
.job-content table tr:last-child th,
.job-content table tr:last-child td { border-bottom: none; }
@media (max-width: 680px) {
  .job-content table th, .job-content table td { display: block; width: auto; }
  .job-content table th { border-bottom: none; }
  .job-content table td { padding-top: .8em; }
}
.job-content table strong { color: var(--blue-deep); font-size: 1.12rem; font-weight: 700; }

/* 送信完了ページ */
.rich.is-thanks { text-align: center; }
.rich.is-thanks p { margin-bottom: 1em; }
.thanks-back { margin-top: 2.4em; }
