/*
Theme Name: 士業監修 v3 ベンチマークデザイン（SWELL子テーマ）
Theme URI: https://shigyoukanshu.com
Description: 士業監修トップページ 2026年7月リニューアル版。CROCOベンチマーク準拠デザイン。旧テーマ（士業監修 - SWELL Child v2.2.0）とは別テーマとして共存可能
Author: Claude Studio
Template: swell
Version: 3.0.0
License: GPL v2 or later
Text Domain: shigyo-kanshu-swell-child
*/

/* ================================================================
   Design Tokens（ベンチマーク.html 実測値）
   No reset - SWELL parent handles base styles
   ================================================================ */
:root {
  --sk-ink: #222;
  --sk-muted: #777;
  --sk-line: #ddd8cc;
  --sk-beige: #f7f5ef;
  --sk-beige2: #e8e2d4;
  --sk-accent: #f5df3d;
  --sk-green: #6ac66b;
  --sk-blue: #55b8e8;
  --sk-card: #fff;
  --sk-sp: 96px;   /* セクション間の基準余白 */
  --sk-font: Arial, 'Helvetica Neue', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

/* ================================================================
   SWELL親レイアウトの制約解除（本番で844px左寄せになる問題の修正）
   SWELLは .l-content をサイドバー前提のflex+max-width1296pxで描画するため、
   トップページ（sk-frontPage）はコンテナを全幅化する。
   ================================================================ */
.home .l-content.l-container { max-width: none !important; padding: 0 !important; margin: 0 !important; display: block !important; width: 100% !important; }
main.sk-frontPage { width: 100% !important; max-width: none !important; flex: none !important; margin: 0 !important; }
main.sk-frontPage .l-mainContent__inner { padding: 0 !important; max-width: none !important; width: 100% !important; }
.home .l-sidebar { display: none !important; }

/* ================================================================
   共通
   ================================================================ */
.sk-frontPage,
.p-siteHeader,
.p-siteFooter {
  font-size: 14px;
  font-family: var(--sk-font);
  color: var(--sk-ink);
  letter-spacing: .04em;
}
.sk-frontPage a { text-decoration: none; color: inherit; }
.sk-wrap { width: min(1000px, calc(100% - 48px)); margin: auto; } /* コンテナ幅は1000px（ユーザー指定・確定） */

/* ピルボタン */
.sk-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid #222; border-radius: 99px;
  padding: 10px 20px; font-size: 13px; font-weight: 700;
  background: #fff; color: var(--sk-ink); cursor: pointer;
  transition: background .2s;
}
.sk-pill:hover { background: var(--sk-accent); color: var(--sk-ink); }

/* セクション見出し */
.sk-sectionTitle { margin: 0 0 32px; text-align: center; }
.sk-sectionTitle h2 { font-size: 22px; letter-spacing: .25em; margin: 0; font-weight: 700; }
.sk-sectionTitle p { font-size: 13px; color: var(--sk-muted); line-height: 2; margin: 8px auto 0; max-width: 720px; }

/* パネル */
.sk-panel {
  background: #fff; border: 1px solid #dedbd3; border-radius: 8px;
  padding: 48px; margin: 0 auto;
  box-shadow: 0 10px 22px rgba(30,30,30,.04);
}
.sk-panelHead { display: flex; gap: 20px; align-items: center; margin-bottom: 32px; }
.sk-badge {
  width: 76px; height: 76px; border-radius: 50%;
  background: #fff; border: 2px solid #222;
  box-shadow: 6px 6px 0 var(--sk-accent); /* ベンチマークのオフセット影モチーフ */
  display: grid; place-items: center; flex: 0 0 auto;
}
.sk-panelHead h3 { font-size: 24px; letter-spacing: .18em; margin: 0; font-weight: 700; }
.sk-panelHead h3 span { display: block; font-size: 13px; color: var(--sk-muted); letter-spacing: .08em; margin-top: 5px; font-weight: 400; }
.sk-panelHead .sk-panelDesc { font-size: 13px; line-height: 1.8; margin: 8px 0 0; color: #555; max-width: 640px; }

/* ================================================================
   ヘッダー（p-siteHeader を上書き）
   ================================================================ */
.p-siteHeader { height: 78px; display: flex; align-items: center; background: #fff; }
.p-siteHeader__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0 42px; max-width: none;
}
.p-siteHeader__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sk-ink); }
.p-siteHeader__logoImg { max-height: 40px; width: auto; }
.p-siteHeader__logoText { font-weight: 900; letter-spacing: .15em; font-size: 18px; }
.p-siteHeader__nav { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 700; }
.p-siteHeader__navLink { color: var(--sk-ink); text-decoration: none; }
.p-siteHeader__navLink:hover { opacity: .6; }
.p-siteHeader__cta {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #222; border-radius: 99px; padding: 9px 18px;
  font-size: 13px; font-weight: 700; background: #fff; color: var(--sk-ink);
  text-decoration: none; transition: background .2s;
}
.p-siteHeader__cta:hover { background: var(--sk-accent); color: var(--sk-ink); }

/* ================================================================
   1. ヒーロー
   ================================================================ */
.sk-hero { position: relative; padding: 64px 0; background: #fff; }
/* 画像スロット①: ヒーロー右カラムのイラスト（透過PNG推奨） */
.sk-heroGrid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
.sk-illust.-img { height: auto; }
.sk-illust.-img img { width: 100%; height: auto; display: block; }
.sk-eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .28em; }
.sk-hero h1 { font-size: 44px; letter-spacing: .18em; margin: 10px 0 4px; font-weight: 700; line-height: 1.4; }
.sk-heroJp { font-weight: 700; font-size: 15px; }
.sk-lead { margin-top: 38px; max-width: 560px; font-size: 15px; line-height: 2.1; }
.sk-heroBtnWrap { margin-top: 28px; }
/* CSSイラスト（画像未設定時のフォールバック） */
.sk-illust { height: 170px; position: relative; }
.sk-illust img { max-width: 100%; height: auto; }
.sk-monitor {
  width: 190px; height: 110px; background: #e8f6ff; border: 3px solid #222; border-radius: 9px;
  position: absolute; right: 35px; top: 18px; box-shadow: 12px 18px 0 var(--sk-accent);
}
.sk-monitor:before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 18px; height: 54px;
  border: 2px solid #222; background: #fff; border-radius: 3px;
}
.sk-monitor:after {
  content: ""; position: absolute; width: 70px; height: 10px; background: #222;
  bottom: -20px; left: 55px; border-radius: 8px;
}
.sk-spark { position: absolute; border-radius: 999px; background: var(--sk-accent); }
.sk-s1 { width: 42px; height: 42px; right: 196px; top: 18px; }
.sk-s2 { width: 28px; height: 28px; right: 16px; top: 25px; background: var(--sk-blue); }
.sk-s3 { width: 20px; height: 20px; right: 125px; top: 0; background: var(--sk-green); }

/* ================================================================
   縦ベージュ帯 + イントロ
   ================================================================ */
.sk-mainBg {
  background: linear-gradient(90deg, #fff 0 12%, var(--sk-beige) 12% 88%, #fff 88%); /* ベンチマーク準拠 12%/88% */
  margin-top: 64px; padding: var(--sk-sp) 0;
}
.sk-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start; margin-bottom: var(--sk-sp);
}
.sk-intro h2 { font-size: 19px; line-height: 2; margin: 0 0 20px; font-weight: 700; word-break: keep-all; }
.sk-intro p { font-size: 14px; line-height: 2; margin: 0 0 20px; }
.sk-jump { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 28px; background: rgba(255,255,255,.72); }
.sk-jump h3 { font-size: 15px; letter-spacing: .24em; margin: 0 0 10px; font-weight: 700; }
.sk-jump ol { list-style: none; padding: 0; margin: 0; }
.sk-jump li { border-top: 1px solid var(--sk-line); padding: 10px 0; font-size: 13px; font-weight: 700; }

/* セクション共通: 下余白で間隔を一元管理 */
.sk-section { margin-bottom: var(--sk-sp); }
.sk-section:last-of-type { margin-bottom: 0; }
.sk-flowItem:last-of-type { margin-bottom: 0; }

/* ================================================================
   2. サービスカード
   ================================================================ */
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sk-serviceCard {
  border: 1px solid #e5e2d9; background: #fff; min-height: 170px;
  padding: 18px 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
/* 写真スロット②: サービスカード上部サムネイル（1064×655 ≒ 13:8。現行サイト踏襲） */
.sk-thumb { width: calc(100% + 28px); margin: -18px -14px 14px; aspect-ratio: 1064 / 655; overflow: hidden; flex: 0 0 auto; }
.sk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sk-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 2px solid #222;
  box-shadow: 5px 5px 0 var(--sk-accent); /* バッジと同じオフセット影モチーフ */
  display: grid; place-items: center; margin: 6px 0 18px;
}
.sk-icon svg { width: 30px; height: 30px; }
.sk-icon img { width: 56px; height: 56px; object-fit: contain; }
.sk-badge svg { width: 34px; height: 34px; }
.sk-contactIcon svg { width: 24px; height: 24px; }
.sk-serviceCard h4 { font-size: 15px; letter-spacing: .12em; margin: 0 0 10px; font-weight: 700; word-break: keep-all; line-height: 1.6; }
.sk-serviceCard p { font-size: 13px; color: #666; line-height: 1.75; margin: 0 0 16px; }
.sk-serviceCard .sk-cardBtn {
  margin-top: auto; border: 1px solid #222; border-radius: 99px;
  padding: 8px 18px; font-size: 12px; font-weight: 700; background: #fff; color: var(--sk-ink);
  transition: background .2s;
}
.sk-serviceCard .sk-cardBtn:hover { background: var(--sk-accent); }

/* ================================================================
   3. 実績（数値カード）
   ================================================================ */
.sk-statGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sk-statCard { border: 1px solid #e5e2d9; background: #fff; padding: 22px 14px; text-align: center; }
.sk-statCard h4 { font-size: 12px; letter-spacing: .14em; margin: 0 0 10px; color: #777; font-weight: 700; }
.sk-statNum { font-size: 36px; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.sk-statNum small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.sk-statCard p { font-size: 12px; color: #666; line-height: 1.7; margin: 10px 0 0; }

/* ================================================================
   4. 対応可能な専門領域（チップ）
   ================================================================ */
.sk-specGroup { margin: 14px 0; }
.sk-specGroup h4 { font-size: 15px; letter-spacing: .12em; margin: 0 0 8px; font-weight: 700; }
.sk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sk-chip { background: var(--sk-beige2); border-radius: 2px; padding: 5px 12px; font-size: 13px; color: #555; }

/* ================================================================
   5. ご利用の流れ（STEP帯行）
   ================================================================ */
.sk-flowItem { display: flex; align-items: flex-start; gap: 16px; background: var(--sk-beige2); padding: 20px; margin: 0 0 12px; }
.sk-tag {
  background: #fff; border-radius: 2px; padding: 5px 12px;
  color: #7d7a6d; white-space: nowrap; font-size: 12px; flex: 0 0 auto;
}
.sk-flowItem h5 { font-size: 15px; margin: 0 0 4px; letter-spacing: .08em; font-weight: 700; }
.sk-flowItem p { font-size: 13px; color: #555; margin: 0; line-height: 1.8; }

/* ================================================================
   6. CTA帯
   ================================================================ */
.sk-contactBand { background: linear-gradient(90deg, transparent 0 30%, var(--sk-beige2) 30%); padding: var(--sk-sp) 0; }
.sk-contactPanel {
  max-width: 860px; background: #fff; border: 1px solid #ddd9ce; border-radius: 8px;
  padding: 40px; box-shadow: 0 10px 22px rgba(30,30,30,.05); margin: auto;
}
.sk-contactPanel h2 { text-align: center; font-size: 20px; line-height: 1.8; margin: 0 0 26px; letter-spacing: .1em; font-weight: 700; }
.sk-contactGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; text-align: center; }
.sk-contactIcon {
  width: 54px; height: 54px; border: 2px solid #222; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 10px; font-size: 24px;
}
.sk-contactGrid strong { font-size: 14px; }
.sk-contactGrid p { font-size: 13px; color: #777; line-height: 1.8; }
.sk-telNum { font-size: 24px; font-weight: 900; color: var(--sk-ink); letter-spacing: .06em; }

/* ================================================================
   7. お問い合わせフォーム
   ================================================================ */
.sk-formSec { padding: var(--sk-sp) 0 112px; background: #fff; }
.sk-formRow { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--sk-beige); max-width: 760px; margin: 0 auto; }
.sk-formRow:last-of-type { border-bottom: none; }
.sk-reqB {
  flex: 0 0 44px; background: #222; color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 2px; text-align: center; padding: 3px 0; margin-top: 8px;
}
.sk-reqB.-opt { background: #9b988c; }
.sk-formLabel { flex: 0 0 130px; font-weight: 700; font-size: 13px; margin-top: 7px; }
.sk-formRow input, .sk-formRow textarea {
  flex: 1; border: 1px solid var(--sk-line); border-radius: 3px;
  padding: 10px 14px; font: inherit; font-size: 13px; background: var(--sk-beige);
}
.sk-formRow textarea { min-height: 110px; }
.sk-formRow input:focus, .sk-formRow textarea:focus { outline: 2px solid var(--sk-accent); background: #fff; }
.sk-privacy { text-align: center; font-size: 13px; color: var(--sk-muted); margin: 18px 0 14px; }
.sk-privacy a { text-decoration: underline; color: inherit; }
.sk-submitWrap { text-align: center; }
.sk-submitWrap .sk-pill { padding: 13px 46px; font-size: 14px; }
.sk-formStatus { display: none; text-align: center; padding: 12px; margin-bottom: 16px; border-radius: 4px; font-size: 13px; }

/* CF7を使う場合の最低限の調整 */
.sk-panel .wpcf7 input[type="text"],
.sk-panel .wpcf7 input[type="email"],
.sk-panel .wpcf7 input[type="tel"],
.sk-panel .wpcf7 textarea {
  width: 100%; border: 1px solid var(--sk-line); border-radius: 3px;
  padding: 10px 14px; font-size: 13px; background: var(--sk-beige);
}
.sk-panel .wpcf7 input[type="submit"] {
  display: inline-flex; border: 1px solid #222; border-radius: 99px;
  padding: 13px 46px; font-size: 14px; font-weight: 700; background: #fff; cursor: pointer;
}

/* ================================================================
   フッター（p-siteFooter を上書き）
   ================================================================ */
.p-siteFooter { background: #333; color: #eee; padding: 64px 0 40px; }
.p-siteFooter__container { width: min(920px, calc(100% - 48px)); margin: auto; }
.p-siteFooter__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.p-siteFooter__brandName { display: flex; align-items: center; gap: 8px; font-weight: 900; letter-spacing: .15em; font-size: 18px; color: #fff; }
.p-siteFooter__logoImg { max-height: 32px; width: auto; }
.p-siteFooter__brandDesc { font-size: 12px; color: #bbb; line-height: 2; margin-top: 10px; }
.p-siteFooter__nav { display: contents; }
.p-siteFooter__navGroup h4 { font-size: 14px; margin: 0 0 12px; color: #fff; font-weight: 700; }
.p-siteFooter__navGroup ul { list-style: none; padding: 0; margin: 0; }
.p-siteFooter__navGroup li { font-size: 12px; color: #bbb; line-height: 2; }
.p-siteFooter__navGroup a { color: #bbb; text-decoration: none; }
.p-siteFooter__navGroup a:hover { color: #fff; }
.p-siteFooter__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: #999; font-size: 12px;
}
.p-siteFooter__legalLinks { display: flex; gap: 24px; }
.p-siteFooter__legalLinks a { color: #bbb; text-decoration: none; }
.p-siteFooter__legalLinks a:hover { color: #fff; }

/* ================================================================
   レスポンシブ（ベンチマーク: 760px）
   ================================================================ */
@media (max-width: 1280px) {
  .sk-mainBg { background: var(--sk-beige); }
}
@media (max-width: 760px) {
  .sk-wrap { width: min(100% - 28px, 680px); }
  .p-siteHeader__inner { padding: 0 20px; }
  .p-siteHeader__navLink { display: none; }
  .sk-heroGrid, .sk-intro { grid-template-columns: 1fr; }
  .sk-jump { grid-template-columns: 1fr; }
  .sk-hero { padding: 40px 0 48px; }
  .sk-hero h1 { font-size: 34px; }
  .sk-illust { height: 120px; }
  .sk-monitor { left: 20px; right: auto; transform: scale(.8); transform-origin: left top; }
  .sk-mainBg { background: var(--sk-beige); margin-top: 24px; padding: 56px 0; }
  .sk-cards, .sk-contactGrid { grid-template-columns: 1fr; }
  .sk-statGrid { grid-template-columns: repeat(2, 1fr); }
  .sk-panel { padding: 24px 20px; }
  .sk-section, .sk-board, .sk-intro { margin-bottom: 56px; }
  .sk-panelHead { align-items: flex-start; }
  .sk-badge { width: 62px; height: 62px; font-size: 25px; }
  .sk-contactBand { background: var(--sk-beige2); }
  .sk-formRow { flex-wrap: wrap; }
  .sk-formRow input, .sk-formRow textarea { flex: 1 1 100%; }
  .p-siteFooter__main { grid-template-columns: 1fr; }
}

/* ================================================================
   ボードメンバー（ヒーロー直下・写真スロット⑤⑥）
   ================================================================ */
.sk-board { margin-bottom: var(--sk-sp); }
.sk-boardGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.sk-memberCard { border: 1px solid #e5e2d9; background: #fff; padding: 24px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sk-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--sk-beige2);
  display: grid; place-items: center; font-size: 34px; font-weight: 900; color: #7d7a6d; }
.sk-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sk-memberCard h4 { font-size: 16px; letter-spacing: .12em; margin: 0; font-weight: 700; }
.sk-memberCard .sk-role { font-size: 13px; color: var(--sk-muted); }
@media (max-width: 1280px) {
  .sk-mainBg { background: var(--sk-beige); }
}
@media (max-width: 760px) {
  .sk-boardGrid { grid-template-columns: 1fr; }
  .sk-board { margin-bottom: 48px; }
}
