/* ═══════════════════════════════════════════════
   MORIMORIDA Inc. — web-development.css
   WEB制作・システム開発ページ専用(無料の外部点検が軸)。
   共通の .section / .wrap / .btn / .faq / .plan は style.css を使う。
═══════════════════════════════════════════════ */

/* ─── ヒーロー ─── */
.webdev-hero {
  padding: calc(var(--nav-h) + 76px) 0 76px;
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%);
  overflow: hidden;
}
.webdev-hero__grid {
  display: grid;
  /* 見出しの1行が折り返さない幅を左に確保する */
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 52px;
  align-items: center;
}
.webdev-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  margin-bottom: 20px;
}
.webdev-hero__title {
  font-size: clamp(28px, 3.9vw, 48px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.webdev-hero__title em { font-style: normal; color: var(--accent); }
.webdev-hero__lead {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 2.05;
  color: var(--ink-sub);
  margin-bottom: 26px;
  max-width: 40em;
}
.webdev-hero__lead b { color: var(--navy); font-weight: 700; }
.webdev-hero__pledge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid var(--accent);
  border-left-width: 4px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
}
.webdev-hero__pledge svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.webdev-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.webdev-hero__note { font-size: 13px; line-height: 1.8; color: var(--ink-dim); }
.webdev-hero__visual { margin: 0; }

/* ヒーローの図 — 点検結果の見本 */
.webdev-fig {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-lg);
}
.webdev-fig__head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.webdev-fig__list { display: grid; }
.webdev-fig__list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 4px 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.webdev-fig__list i {
  grid-row: span 2;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}
.webdev-fig__list i.is-ok { color: #2f8a4f; }
.webdev-fig__list i.is-warn { color: #b8791b; }
.webdev-fig__list i.is-bad { color: var(--accent); }
.webdev-fig__list b { font-size: 13.5px; color: var(--navy); line-height: 1.5; }
.webdev-fig__list span { font-size: 12.5px; color: var(--ink-sub); line-height: 1.65; }
.webdev-fig__note { font-size: 11.5px; line-height: 1.7; color: var(--ink-dim); margin-top: 14px; }

/* ─── 対象と対象外 ─── */
.webdev-target { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.webdev-target__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 26px 44px; }
.webdev-target__h {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-bottom: 12px;
}
.webdev-target__list { display: grid; gap: 8px; }
.webdev-target__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-sub);
}
.webdev-target__list.is-yes li::before {
  content: "";
  position: absolute; left: 2px; top: 7px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.webdev-target__list.is-no li::before {
  content: "×";
  position: absolute; left: 2px; top: 0;
  font-weight: 700;
  color: var(--icon-dim);
}

/* ─── ページ内ナビ ─── */
.webdev-subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.webdev-subnav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.webdev-subnav__inner::-webkit-scrollbar { display: none; }
.webdev-subnav a {
  flex: none;
  padding: 15px 14px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink-sub);
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.webdev-subnav a:hover { color: var(--accent-ink); }
.webdev-subnav a.is-active { color: var(--accent-ink); border-bottom-color: var(--accent); }

/* ─── 見出しブロック ─── */
.webdev-head { max-width: 800px; margin-bottom: 50px; }
.webdev-head .section__title { margin-bottom: 20px; }
.webdev-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.webdev-close {
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 2;
  color: var(--ink-sub);
  max-width: 46em;
}
.webdev-close b { color: var(--navy); }

/* ─── 悩みカード ─── */
.webdev-worry__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.webdev-worry__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.webdev-worry__card i {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.webdev-worry__card p { font-size: 15px; line-height: 1.8; font-weight: 700; color: var(--navy); }

/* ─── 【核心】そとから点検 ─── */
.webdev-check { background: var(--navy); color: #fff; }
.webdev-check .section__label span, .webdev-check .section__label i { color: rgba(255, 255, 255, 0.6); }
.webdev-check .section__title { color: #fff; }
.webdev-check .section__title em { color: #ff8f74; font-style: normal; }
.webdev-check .section__lead { color: rgba(255, 255, 255, 0.78); }

.webdev-nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
  margin-bottom: 34px;
}
.webdev-nums div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.webdev-nums b {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  color: #ff8f74;
  margin-bottom: 10px;
}
.webdev-nums span { font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, 0.76); }

.webdev-check__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
}
.webdev-check__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.webdev-check__card h3 {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.webdev-check__card h3 i { font-family: var(--font-mono); font-style: normal; font-size: 12px; color: #ff8f74; flex: none; }
.webdev-check__card p { font-size: 14.5px; line-height: 1.95; color: rgba(255, 255, 255, 0.78); }
.webdev-check__card p + p, .webdev-check__card ul + p { margin-top: 12px; }
.webdev-check__card ul { margin-top: 14px; display: grid; gap: 9px; }
.webdev-check__card li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}
.webdev-check__card li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 11px; height: 6px;
  border-left: 2px solid #ff8f74;
  border-bottom: 2px solid #ff8f74;
  transform: rotate(-45deg);
}

/* ─── 12分野 ─── */
.webdev-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.webdev-items__group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.webdev-items__gh { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.webdev-items__gh b {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
}
.webdev-items__gh span { font-size: 17px; line-height: 1.5; color: var(--navy); font-weight: 700; }
.webdev-items__group ul { display: grid; gap: 16px; }
.webdev-items__group li { padding-left: 16px; border-left: 2px solid var(--line-strong); }
.webdev-items__group li b { display: block; font-size: 14.5px; color: var(--navy); margin-bottom: 6px; line-height: 1.6; }
.webdev-items__group li span { display: block; font-size: 13px; line-height: 1.85; color: var(--ink-sub); }

/* ─── 前提と限界 ─── */
.webdev-limits {
  background: var(--bg-tint);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  padding: 40px 38px;
}
.webdev-limits h2 { font-size: clamp(19px, 2vw, 25px); line-height: 1.55; color: var(--navy); margin-bottom: 22px; }
.webdev-limits h2 em { font-style: normal; color: var(--accent); }
.webdev-limits ul { display: grid; gap: 14px; }
.webdev-limits li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-sub);
}
.webdev-limits li::before {
  content: "";
  position: absolute; left: 3px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.webdev-limits li b { color: var(--navy); }

/* ─── やらないこと ─── */
.webdev-quote {
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 24px;
  margin-bottom: 18px;
  max-width: 48em;
}
.webdev-quote p { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.95; color: var(--navy); font-weight: 700; }
.webdev-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 12.5px; color: var(--ink-dim); }
.webdev-quote cite a,
.webdev-permit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.webdev-never__bridge { font-size: 15px; line-height: 1.9; color: var(--ink-sub); margin-bottom: 40px; max-width: 44em; }

.webdev-never__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.webdev-never__col { border-radius: var(--radius); padding: 30px 28px; }
.webdev-never__col.is-no { background: #fff; border: 2px solid var(--accent); }
.webdev-never__col.is-ok { background: #fff; border: 1px solid var(--line); }
.webdev-never__h { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.webdev-never__col ul { display: grid; gap: 11px; }
.webdev-never__col li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-sub);
}
.webdev-never__col.is-no li::before {
  content: "×";
  position: absolute; left: 3px; top: 0;
  font-weight: 700;
  color: var(--accent);
}
.webdev-never__col.is-ok li::before {
  content: "";
  position: absolute; left: 3px; top: 8px;
  width: 11px; height: 6px;
  border-left: 2px solid #2f8a4f;
  border-bottom: 2px solid #2f8a4f;
  transform: rotate(-45deg);
}
.webdev-never__foot { margin-top: 16px; font-size: 13px; line-height: 1.85; color: var(--ink-dim); }

.webdev-permit {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.webdev-permit h3 { font-size: 18px; line-height: 1.6; color: var(--navy); margin-bottom: 12px; }
.webdev-permit > p { font-size: 14.5px; line-height: 1.95; color: var(--ink-sub); }
.webdev-permit__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink-dim); margin: 22px 0 12px; }
.webdev-permit__list { display: grid; gap: 9px; counter-reset: permit; }
.webdev-permit__list li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-sub);
  counter-increment: permit;
}
.webdev-permit__list li::before {
  content: counter(permit);
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 11px;
}
.webdev-permit__note { margin-top: 18px; font-size: 13.5px; line-height: 1.85; color: var(--ink-dim); }

/* ─── 3ステップ ─── */
.webdev-steps { display: grid; }
.webdev-steps li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.webdev-steps li:last-child { border-bottom: 1px solid var(--line); }
.webdev-steps li.is-key { background: var(--bg-tint); border-radius: var(--radius); padding-left: 22px; padding-right: 22px; }
.webdev-steps li.is-out { opacity: 0.72; }
.webdev-steps__no {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  padding-top: 4px;
}
.webdev-steps h3 { font-size: 17px; line-height: 1.6; color: var(--navy); margin-bottom: 8px; }
.webdev-steps p { font-size: 14.5px; line-height: 1.9; color: var(--ink-sub); }
.webdev-steps__price {
  text-align: right;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.webdev-steps__price small { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 400; color: var(--ink-dim); }

/* ─── セルフチェック ─── */
.webdev-self {
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.webdev-self li {
  position: relative;
  background: #fff;
  padding: 18px 22px 18px 52px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--navy);
}
.webdev-self li::before {
  content: "";
  position: absolute; left: 20px; top: 19px;
  width: 16px; height: 16px;
  border: 2px solid var(--field-border);
  border-radius: 4px;
}
.webdev-self__note { margin-top: 22px; font-size: 13.5px; line-height: 1.95; color: var(--ink-dim); }

/* ─── 2カラムのパネル ─── */
.webdev-scope-photo {
  position: relative;
  height: clamp(250px, 34vw, 420px);
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.webdev-scope-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.82) contrast(1.04);
}
.webdev-scope-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(12, 27, 48, 0.48));
}
.webdev-scope-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.webdev-scope-photo figcaption a { color: rgba(255, 255, 255, 0.78); }

.webdev-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 22px; }
.webdev-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.webdev-panel h3 { font-size: 19px; line-height: 1.55; color: var(--navy); margin-bottom: 20px; }
.webdev-panel ul { display: grid; gap: 12px; }
.webdev-panel li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-sub);
}
.webdev-panel li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.webdev-panel__note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.85; color: var(--ink-dim); }

/* ─── 料金の補足 ─── */
.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.webdev-plan-notes {
  margin-top: 32px;
  display: grid;
  gap: 12px;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.webdev-plan-notes li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-sub);
}
.webdev-plan-notes li::before {
  content: "";
  position: absolute; left: 3px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.webdev-plan-notes li b { color: var(--navy); }

/* ─── 正直な自己紹介 ─── */
.webdev-honest {
  background: var(--bg-tint);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  padding: 44px 42px;
}
.webdev-honest h2 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.55; color: var(--navy); margin-bottom: 20px; }
.webdev-honest h2 em { font-style: normal; color: var(--accent); }
.webdev-honest p { font-size: 15px; line-height: 2.05; color: var(--ink-sub); max-width: 44em; }
.webdev-honest p + p { margin-top: 14px; }
.webdev-honest b { color: var(--navy); }

/* ─── 申込 ─── */
.webdev-apply {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-lg);
}
.webdev-apply__rules { display: grid; gap: 11px; margin-bottom: 26px; }
.webdev-apply__rules li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-sub);
}
.webdev-apply__rules li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.webdev-apply__btn { width: 100%; justify-content: center; }
.webdev-apply__note { margin-top: 18px; font-size: 13.5px; line-height: 1.9; color: var(--ink-dim); }

/* ─── 関連 ─── */
.webdev-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.webdev-related a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.webdev-related a:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.webdev-related b { display: block; font-size: 16px; line-height: 1.55; color: var(--navy); margin-bottom: 8px; }
.webdev-related span { font-size: 13.5px; line-height: 1.85; color: var(--ink-sub); }

/* ═══ レスポンシブ ═══ */
@media (max-width: 1100px) {
  .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .webdev-hero { padding: calc(var(--nav-h) + 52px) 0 60px; }
  .webdev-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  .webdev-subnav { top: 0; }
  .webdev-head { margin-bottom: 38px; }
  .webdev-steps li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px 0; }
  .webdev-steps li.is-key { padding: 22px; }
  .webdev-steps__price { text-align: left; }
  .webdev-steps__price small { display: inline; margin-left: 10px; }
  .webdev-limits { padding: 30px 24px; }
  .webdev-panel { padding: 28px 22px; }
  .webdev-permit { padding: 26px 22px; }
  .webdev-honest { padding: 32px 24px; }
  .webdev-apply { padding: 28px 22px; }
}
@media (max-width: 620px) {
  .plans--4 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .webdev-hero__actions .btn { width: 100%; justify-content: center; }
  .webdev-worry__card { padding: 22px 18px; }
  .webdev-check__card { padding: 26px 20px; }
  .webdev-items__group { padding: 26px 20px; }
  .webdev-never__col { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .webdev-related a { transition: none; }
  .webdev-related a:hover { transform: none; }
}
