@charset "UTF-8";

/* =========================================================
   シンジ総合法律事務所 採用サイト
   ---------------------------------------------------------
   色や文字の大きさは、この :root のところだけ直せば
   サイト全体に反映されます。
   ========================================================= */

:root {
  /* 色 */
  --navy:        #1b2b45;   /* 主色：深い紺 */
  --navy-soft:   #2c4266;   /* 紺の明るめ */
  --navy-deep:   #131f33;   /* 紺の暗め（フッター） */
  --gold:        #9c7c3c;   /* 差し色：落ち着いた金茶 */
  --gold-light:  #d8bd85;   /* 差し色の明るめ（濃い背景の上で使う） */
  --cream:       #faf8f3;   /* 背景：生成り */
  --cream-deep:  #f2ece1;   /* 背景：生成りの濃いめ */
  --white:       #ffffff;
  --ink:         #24282e;   /* 本文の文字 */
  --ink-soft:    #5c6572;   /* 補助の文字 */
  --line:        #ddd6c9;   /* 罫線 */
  --todo-bg:     #fff3c4;   /* 未記入の目印 */
  --todo-ink:    #7a5a00;

  /* 文字 */
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
               "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho",
                "Noto Serif JP", "MS PMincho", serif;

  /* 余白 */
  --wrap: 1080px;
  --gap: 24px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, p, ul, ol, dl, table, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-soft); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 20px; z-index: 100;
}
.skip:focus { left: 0; }

/* 未記入の目印 —— 公開前にすべて消してください */
.todo {
  background: var(--todo-bg);
  color: var(--todo-ink);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: .92em;
  font-weight: 700;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 600; color: var(--navy); letter-spacing: .06em;
}
.brand-sub {
  font-size: 11px; letter-spacing: .18em; color: var(--gold);
  border-left: 1px solid var(--line); padding-left: 10px;
}
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a {
  font-size: 13.5px; color: var(--ink); text-decoration: none; letter-spacing: .04em;
}
.header-nav a:hover { color: var(--gold); }
.btn-mini {
  background: var(--navy); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.btn-mini:hover { background: var(--gold); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background: var(--cream);
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12.5px; letter-spacing: .22em; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 999px;
  padding: 6px 18px; margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1.45; font-weight: 600; color: var(--navy);
  letter-spacing: .02em; margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(transparent 66%, rgba(156,124,60,.28) 66%);
}
.hero-lead {
  font-size: 16.5px; color: var(--ink); max-width: 640px; margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: 13.5px; color: var(--ink-soft); }

.btn {
  display: inline-block; text-decoration: none;
  padding: 15px 34px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: .04em;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--gold); color: #fff; }
.btn-ghost { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* 写真の代わりの装飾。写真を入れる場合は .hero-figure を差し替えてください */
.hero-figure {
  position: absolute; right: -80px; top: 0; bottom: 0; width: 46%;
  z-index: 1; pointer-events: none;
}
.hero-figure-inner {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, var(--cream-deep), rgba(156,124,60,.10));
  border-radius: 50% 0 0 50% / 50% 0 0 50%;
}
.hf-line {
  position: absolute; right: 18%; width: 1px; background: rgba(27,43,69,.10);
}
.hf-line:nth-child(1) { top: 12%; height: 76%; right: 22%; }
.hf-line:nth-child(2) { top: 20%; height: 60%; right: 32%; }
.hf-line:nth-child(3) { top: 28%; height: 44%; right: 42%; }

/* ---------- 節（セクション）共通 ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy); color: #eef1f5; }
.section-eyebrow {
  font-size: 11.5px; letter-spacing: .28em; color: var(--gold);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: #d8bd85; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600; color: var(--navy);
  letter-spacing: .04em; line-height: 1.5;
  margin-bottom: 20px;
}
.section-title.light { color: #fff; }
.section-lead { max-width: 720px; margin-bottom: 48px; color: var(--ink); }
.sub-title {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 600; color: var(--navy);
  margin: 52px 0 20px; padding-left: 14px;
  border-left: 3px solid var(--gold);
  line-height: 1.6;
}
.sub-title.flush { margin-top: 0; }
.fine { font-size: 13.5px; color: var(--ink-soft); margin-top: 24px; }

/* ---------- 3つの特徴 ---------- */
.point-list {
  display: grid; gap: 32px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
}
.point {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 34px 28px 32px;
}
.point-num {
  font-family: var(--font-serif);
  font-size: 30px; color: var(--gold); line-height: 1; margin-bottom: 16px;
}
.point-title {
  font-size: 19px; font-weight: 700; color: var(--navy);
  margin-bottom: 14px; line-height: 1.6;
}
.point-body { font-size: 15px; }

/* ---------- 格子 ---------- */
.grid-2 { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.grid-2.tight { gap: 8px 40px; }
.grid-3 { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); margin-top: 44px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
}
.card-title {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.card-note {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 14px; color: var(--ink-soft);
}

.list-check li {
  position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 15.5px;
}
.list-check li::before {
  content: ""; position: absolute; left: 4px; top: .72em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
}

.feature-title {
  font-size: 17.5px; font-weight: 700; color: var(--navy);
  margin-bottom: 14px; line-height: 1.6;
}
.feature p { font-size: 15px; }

/* ---------- 一日の流れ ---------- */
.timeline { position: relative; margin-top: 8px; padding-left: 4px; }
.timeline::before {
  content: ""; position: absolute; left: 78px; top: 12px; bottom: 12px;
  width: 1px; background: var(--line);
}
.tl-item {
  position: relative; display: grid;
  grid-template-columns: 78px 1fr; gap: 28px;
  padding: 16px 0;
}
.tl-time {
  font-family: var(--font-serif);
  font-size: 17px; color: var(--gold); font-weight: 600;
  text-align: right; padding-top: 2px; padding-right: 18px;
}
.tl-body { position: relative; padding-left: 4px; }
.tl-body::before {
  content: ""; position: absolute; left: -32px; top: .78em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold);
}
.tl-head { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.tl-body p:not(.tl-head) { font-size: 15px; color: var(--ink-soft); }

/* ---------- 囲み ---------- */
.callout {
  margin-top: 60px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 34px 32px;
}
.callout-title {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 20px;
}
.callout-note { margin-top: 20px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 代表から ---------- */
.message {
  display: grid; grid-template-columns: 1fr 320px; gap: 56px;
  margin-top: 44px; align-items: start;
}
.message-body p { margin-bottom: 22px; font-size: 16px; color: #e3e8ef; }
.message-body p:last-child { margin-bottom: 0; }
.message-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  padding: 28px 26px;
}
/* 代表の似顔絵。白地の線画なので、白い面に載せて紺の背景から浮かせる */
.message-photo {
  display: block;
  width: 100%; max-width: 240px; height: auto;
  margin: 0 auto 22px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 4px;
  padding: 10px;
}
.message-name {
  font-family: var(--font-serif);
  font-size: 19px; color: #fff; letter-spacing: .06em; margin-bottom: 4px;
}
.message-affil { font-size: 13px; color: #b9c4d3; margin-bottom: 22px; }
.career { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
.career li {
  font-size: 13.5px; color: #cbd4e0; margin-bottom: 9px; line-height: 1.7;
}
.career li span { display: block; color: #d8bd85; font-size: 12px; letter-spacing: .06em; }

/* ---------- 表 ---------- */
.table-info, .table-req { width: 100%; border-collapse: collapse; }
.table-info th, .table-info td,
.table-req th, .table-req td {
  border-bottom: 1px solid var(--line);
  padding: 18px 12px; text-align: left; vertical-align: top;
  font-size: 15.5px;
}
.table-info th, .table-req th {
  width: 30%; min-width: 118px;
  color: var(--navy); font-weight: 700; background: rgba(255,255,255,.4);
}
.table-req th { background: var(--cream); }
.table-info tr:first-child th, .table-info tr:first-child td,
.table-req tr:first-child th, .table-req tr:first-child td {
  border-top: 2px solid var(--navy);
}

/* 未確認の箇所を示すまとまり（公開前に消す） */
.todo-block {
  background: #fffbeb; border: 1px dashed #d9b84c;
  padding: 16px 20px; margin-bottom: 28px;
  font-size: 14.5px; color: var(--ink); line-height: 1.9;
}

/* 表の中の補足（条件のただし書き） */
.note-inline {
  display: inline-block; margin-top: 4px;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.8;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-list li {
  font-size: 13.5px; color: var(--navy);
  background: var(--white); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- 募集要項の切り替え ---------- */
.tabs { display: flex; gap: 8px; margin: 8px 0 32px; }
.tab {
  font-family: inherit; font-size: 15px; font-weight: 600;
  color: var(--navy-soft); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 11px 30px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--gold); color: var(--gold); }
.tab.is-active {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.pane { display: none; }
.pane.is-active { display: block; }
.pane-note {
  background: var(--cream); border-left: 3px solid var(--gold);
  padding: 16px 20px; margin-bottom: 24px; font-size: 15px;
}

/* ---------- 応募の流れ ---------- */
.flow { display: grid; gap: 20px; margin-top: 44px; }
.flow-step {
  display: grid; grid-template-columns: 110px 1fr;
  column-gap: 28px; row-gap: 2px;
  background: var(--white); border: 1px solid var(--line);
  padding: 28px 30px; align-items: start;
}
.flow-num {
  font-family: var(--font-serif);
  font-size: 14px; letter-spacing: .14em; color: var(--gold);
  padding-top: 4px;
}
.flow-title {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin-bottom: 8px; line-height: 1.6;
}
.flow-step p:not(.flow-num) { font-size: 15px; }
/* STEP の見出しと本文は、すべて右側の列に置く */
.flow-step > *:not(.flow-num) { grid-column: 2; }

/* ---------- よくある質問 ---------- */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 44px 22px 34px; position: relative;
  font-size: 16.5px; font-weight: 600; color: var(--navy); line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 0; top: 22px;
  font-family: var(--font-serif); color: var(--gold); font-size: 18px;
}
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 32px;
  width: 11px; height: 11px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p {
  padding: 0 44px 26px 34px; font-size: 15.5px; color: var(--ink);
}

/* ---------- 応募（最後の呼びかけ） ---------- */
.section-cta {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #eef1f5; text-align: center; padding: 96px 0;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 600; color: #fff;
  letter-spacing: .06em; margin-bottom: 20px;
}
.cta-lead { color: #cbd4e0; margin-bottom: 48px; }
.cta-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 760px; margin: 0 auto 32px; text-align: left;
}
.cta-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  padding: 28px 26px;
}
.cta-label {
  font-size: 12px; letter-spacing: .2em; color: #d8bd85; margin-bottom: 12px;
}
.cta-value {
  font-family: var(--font-serif);
  font-size: 26px; line-height: 1.4; margin-bottom: 12px; word-break: break-all;
}
.cta-value a { color: #fff; text-decoration: none; }
.cta-value a:hover { color: #d8bd85; }
.cta-btn-wrap { margin-bottom: 14px; }
.cta-btn {
  display: inline-block; text-decoration: none;
  background: var(--gold-light); color: var(--navy-deep);
  padding: 13px 32px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700; letter-spacing: .04em;
  transition: background .2s;
}
.cta-btn:hover { background: #fff; color: var(--navy-deep); }
.cta-card strong { color: #fff; }
.cta-sub { font-size: 13.5px; color: #b9c4d3; }
.cta-fine {
  font-size: 12.5px; color: #9aa7b8; max-width: 640px; margin: 0 auto;
  line-height: 1.9;
}

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-deep); color: #b9c4d3; padding: 52px 0 24px; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { max-width: 560px; }
.footer-name {
  font-family: var(--font-serif);
  font-size: 18px; color: #fff; letter-spacing: .08em; margin-bottom: 12px;
}
.footer-addr { font-size: 13.5px; line-height: 1.9; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13.5px; color: #cbd4e0; text-decoration: none; }
.footer-nav a:hover { color: #d8bd85; }
.copyright {
  text-align: center; font-size: 12px; color: #7f8b9d;
  padding-top: 24px;
}

/* =========================================================
   画面が狭いとき
   ========================================================= */
@media (max-width: 960px) {
  .point-list { grid-template-columns: 1fr; gap: 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .message { grid-template-columns: 1fr; gap: 36px; }
  .message-card { max-width: 420px; }
  .hero-figure { width: 60%; right: -140px; opacity: .7; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 68px; }
  .hero-figure { display: none; }
  .header-nav a:not(.btn-mini) { display: none; }
  .header-inner { min-height: 60px; }
  .brand-sub { display: none; }
  .btn { padding: 14px 26px; font-size: 15px; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }

  .table-info th, .table-req th,
  .table-info td, .table-req td {
    display: block; width: 100%; padding: 12px 4px;
  }
  .table-info th, .table-req th {
    border-bottom: none; padding-bottom: 2px; background: none;
    font-size: 13.5px; color: var(--gold);
  }
  .table-info tr:first-child td, .table-req tr:first-child td { border-top: none; }

  .tl-item { grid-template-columns: 58px 1fr; gap: 18px; }
  .timeline::before { left: 58px; }
  .tl-body::before { left: -22px; }
  .tl-time { font-size: 15px; padding-right: 14px; }

  .flow-step { grid-template-columns: 1fr; gap: 6px; padding: 24px 22px; }
  .flow-step > *:not(.flow-num) { grid-column: 1; }

  .cta-cards { grid-template-columns: 1fr; }
  .faq summary { font-size: 15.5px; padding-right: 34px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 18px; }
}

/* 動きを減らす設定の方への配慮 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
