/*
Theme Name: Ito SR Office
Theme URI: https://srito.or.jp/
Author: いと社会保険労務士法人
Description: いと社会保険労務士法人の公式サイト用オリジナルテーマ。白×朱×墨の和モダンデザイン。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ito-sr
*/
/* =========================================================
   いと社会保険労務士法人  共通スタイル
   白 × 朱 × 墨 の和モダン
   ========================================================= */
:root {
  --shu: #c0472b;          /* ロゴの朱色 */
  --shu-dark: #a53a22;
  --shu-pale: #faf1ee;
  --sumi: #2b2926;         /* 墨色(本文) */
  --sumi-light: #6f6a63;
  --bg: #fdfcfa;           /* 温白色 */
  --bg-alt: #f7f4ef;       /* 生成り */
  --line: #e6e1d9;
  --serif: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--sumi);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--shu); text-decoration: none; }
a:hover { opacity: 0.75; }
ul { list-style: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.header-logo img { height: 44px; width: auto; display: block; }
.global-nav ul { display: flex; gap: 26px; align-items: center; }
.global-nav a { color: var(--sumi); font-size: 14px; font-weight: 500; }
.global-nav a:hover { color: var(--shu); opacity: 1; }
.nav-cta {
  background: var(--shu); color: #fff !important; padding: 10px 22px;
  border-radius: 999px; font-weight: 700;
}
.nav-cta:hover { background: var(--shu-dark); opacity: 1 !important; }
.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 110px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, var(--shu-pale) 0%, transparent 55%),
    var(--bg);
}
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; }
.hero-catch {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
}
.hero-catch .accent { color: var(--shu); }
.hero-lead {
  margin-top: 28px; font-size: 16px; color: var(--sumi-light); max-width: 560px;
}
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-mark {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  width: clamp(160px, 24vw, 300px); opacity: 0.14; pointer-events: none;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; padding: 14px 36px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.08em;
  transition: all .2s;
}
.btn-primary { background: var(--shu); color: #fff; }
.btn-primary:hover { background: var(--shu-dark); opacity: 1; }
.btn-outline { border: 1.5px solid var(--sumi); color: var(--sumi); background: transparent; }
.btn-outline:hover { border-color: var(--shu); color: var(--shu); opacity: 1; }

/* ---------- セクション共通 ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-label {
  display: block; color: var(--shu); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600; letter-spacing: 0.1em; margin-bottom: 40px; line-height: 1.5;
}
.section-title::after {
  content: ""; display: block; width: 48px; height: 2px;
  background: var(--shu); margin-top: 18px;
}
.section-title.centered { text-align: center; }
.section-title.centered::after { margin-left: auto; margin-right: auto; }

/* ---------- お知らせ ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex; gap: 28px; padding: 20px 8px; color: var(--sumi);
  align-items: baseline; flex-wrap: wrap;
}
.news-list a:hover { background: var(--shu-pale); opacity: 1; }
.news-date { font-size: 13px; color: var(--sumi-light); white-space: nowrap; font-family: var(--serif); }
.news-cat {
  font-size: 11px; color: var(--shu); border: 1px solid var(--shu);
  padding: 1px 12px; border-radius: 999px; white-space: nowrap;
}
.news-title-text { flex: 1; min-width: 200px; }
.more-link { display: inline-block; margin-top: 28px; font-weight: 700; font-size: 14px; letter-spacing: 0.1em; }
.more-link::after { content: " →"; }

/* ---------- お悩み ---------- */
.worry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.worry-item {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 26px; font-size: 15px; line-height: 1.8;
}
.worry-item::before {
  content: "✓"; display: inline-block; color: var(--shu); font-weight: 700; margin-right: 10px;
}
.worry-close { text-align: center; margin-top: 44px; font-family: var(--serif); font-size: clamp(18px, 2.6vw, 24px); letter-spacing: 0.1em; }
.worry-close strong { color: var(--shu); font-weight: 600; }

/* ---------- サービス ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 36px 30px; position: relative; transition: box-shadow .25s;
}
.service-card:hover { box-shadow: 0 8px 30px rgba(43, 41, 38, 0.08); }
.service-num {
  font-family: var(--serif); color: var(--shu); font-size: 13px;
  letter-spacing: 0.2em; display: block; margin-bottom: 12px;
}
.service-card h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  margin-bottom: 14px; letter-spacing: 0.06em;
}
.service-card p { font-size: 14.5px; color: var(--sumi-light); }
.service-tag {
  position: absolute; top: 22px; right: 22px; font-size: 11px;
  background: var(--shu-pale); color: var(--shu); padding: 3px 12px; border-radius: 999px;
}

/* ---------- 想い ---------- */
.philosophy-band { position: relative; overflow: hidden; }
.philosophy-band .mark-bg {
  position: absolute; left: -60px; bottom: -60px; width: 300px; opacity: 0.07; pointer-events: none;
}
.philosophy-quote {
  font-family: var(--serif); font-size: clamp(20px, 3vw, 28px);
  line-height: 2.1; letter-spacing: 0.12em; text-align: center; font-weight: 500;
}
.philosophy-note { text-align: center; margin-top: 30px; color: var(--sumi-light); font-size: 15px; }
.mvv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 50px; }
.mvv-item { background: #fff; border-top: 3px solid var(--shu); padding: 30px 28px; box-shadow: 0 2px 14px rgba(43,41,38,.05); }
.mvv-item h3 { font-size: 13px; letter-spacing: 0.2em; color: var(--shu); margin-bottom: 4px; }
.mvv-item .mvv-jp { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 12px; display: block; }
.mvv-item p { font-size: 14.5px; color: var(--sumi-light); }

/* ---------- 選ばれる理由 ---------- */
.reason-list { counter-reset: reason; display: grid; gap: 0; }
.reason-item {
  display: flex; gap: 28px; padding: 34px 10px; border-bottom: 1px solid var(--line); align-items: flex-start;
}
.reason-item:first-child { border-top: 1px solid var(--line); }
.reason-item::before {
  counter-increment: reason; content: "0" counter(reason);
  font-family: var(--serif); font-size: 34px; color: var(--shu); line-height: 1; min-width: 60px;
}
.reason-item h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.reason-item p { font-size: 14.5px; color: var(--sumi-light); }

/* ---------- 概要テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 18px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.info-table th { width: 180px; font-weight: 600; color: var(--sumi-light); white-space: nowrap; }

/* ---------- 料金 ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; }
.price-table th, .price-table td { padding: 16px 18px; border: 1px solid var(--line); font-size: 15px; text-align: left; }
.price-table thead th { background: var(--sumi); color: #fff; font-weight: 600; letter-spacing: 0.08em; }
.price-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.price-table .price-num { white-space: nowrap; font-weight: 700; }
.price-note { font-size: 13px; color: var(--sumi-light); margin-top: 14px; }
.table-scroll { overflow-x: auto; }

/* ---------- CTA ---------- */
.cta-band { background: var(--sumi); color: #fff; text-align: center; padding: 80px 24px; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: 0.12em; margin-bottom: 16px; }
.cta-band p { color: #c9c4bc; font-size: 15px; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-tel { color: #fff; font-family: var(--serif); font-size: 30px; letter-spacing: 0.06em; line-height: 1.3; }
.cta-tel small { display: block; font-family: var(--sans); font-size: 12px; color: #c9c4bc; letter-spacing: 0.1em; }

/* ---------- フッター ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-logo img { height: 70px; width: auto; }
.footer-address { font-size: 13.5px; color: var(--sumi-light); margin-top: 18px; line-height: 2; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
.footer-nav a { color: var(--sumi); font-size: 13.5px; }
.footer-copy { text-align: center; font-size: 12px; color: var(--sumi-light); margin-top: 50px; letter-spacing: 0.1em; }

/* ---------- 下層ページ ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--bg-alt) 0%, var(--shu-pale) 100%);
  padding: 70px 0 60px; border-bottom: 1px solid var(--line);
}
.page-hero .section-label { margin-bottom: 6px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); font-weight: 600; letter-spacing: 0.1em; }
.breadcrumb { font-size: 12px; color: var(--sumi-light); margin-top: 14px; }
.breadcrumb a { color: var(--sumi-light); }

.entry-content h2 {
  font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: 0.08em;
  margin: 56px 0 24px; padding-left: 16px; border-left: 4px solid var(--shu); line-height: 1.5;
}
.entry-content h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 40px 0 16px; letter-spacing: 0.06em;
}
.entry-content p { margin-bottom: 1.4em; }
.entry-content ul { margin: 0 0 1.6em; padding-left: 1.4em; }
.entry-content ul li { list-style: disc; margin-bottom: 0.4em; }
.entry-content ol { margin: 0 0 1.6em; padding-left: 1.6em; }
.entry-content ol li { margin-bottom: 0.4em; }
.entry-content blockquote {
  background: var(--bg-alt); border-left: 4px solid var(--shu);
  padding: 24px 28px; margin: 0 0 1.6em; font-family: var(--serif);
}
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.6em; background:#fff; }
.entry-content table th, .entry-content table td { border: 1px solid var(--line); padding: 14px 16px; font-size: 15px; text-align: left; }
.entry-content table thead th, .entry-content table tr:first-child th { background: var(--sumi); color: #fff; }

.notice-box {
  background: var(--shu-pale); border: 1px solid #ecc9be; border-radius: 10px;
  padding: 24px 28px; font-size: 14.5px; margin: 0 0 1.6em;
}
.notice-box strong { color: var(--shu); }

/* ---------- フォーム ---------- */
.form-table { width: 100%; }
.form-row { margin-bottom: 26px; }
.form-row label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.required-mark { color: #fff; background: var(--shu); font-size: 11px; padding: 1px 8px; border-radius: 4px; margin-left: 8px; font-weight: 500; }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row textarea, .form-row select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--sans); font-size: 15px; background: #fff;
}
.form-row textarea { min-height: 180px; }
.form-submit { text-align: center; margin-top: 36px; }
.form-submit .btn { border: none; cursor: pointer; font-family: var(--sans); }

/* ---------- 記事 ---------- */
.post-meta { font-size: 13px; color: var(--sumi-light); margin-bottom: 30px; font-family: var(--serif); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .global-nav { display: none; }
  .global-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 20px 24px 30px;
  }
  .global-nav.open ul { flex-direction: column; gap: 18px; align-items: flex-start; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--line); border-radius: 8px;
    padding: 8px 14px; font-size: 13px; color: var(--sumi); cursor: pointer; font-family: var(--sans);
  }
  .hero { padding: 70px 0 80px; }
  .hero-mark { opacity: 0.08; }
  .section { padding: 64px 0; }
  .info-table th { width: 110px; }
  .reason-item { gap: 18px; }
}
