/* ReSow コーポレートサイト 共通スタイル（ルール：ホームページ制作ルール_v1.md）
   色と文字はここだけで直す。 */
:root {
  --green: #0b563c;
  --green-light: #22cf93;
  --text: #1f2a24;
  --sub: #5b6660;
  --line: #d9dfdb;
  --gray: #f5f6f5;
  --white: #ffffff;
  --max: 1200px;
  --sans: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Noto Sans JP", sans-serif;
  --serif: "游明朝体", YuMincho, "游明朝", "Yu Mincho", "Noto Serif JP", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- ヘッダー ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 40px; }
.footer .brand img { height: 36px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 600; letter-spacing: .04em; }
.nav a:hover { color: var(--green); }
.nav .btn { padding: 10px 22px; }
.menu-toggle { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .05em;
  padding: 15px 34px; border: 1px solid var(--green); background: var(--green); color: #fff; border-radius: 2px;
  transition: background .2s, color .2s;
}
.btn:hover { background: #08432f; }
.btn.outline { background: transparent; color: var(--green); }
.btn.outline:hover { background: var(--green); color: #fff; }
.btn.white { background: #fff; color: var(--green); border-color: #fff; }
.btn.white:hover { background: transparent; color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.link-more::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .2s; }
.link-more:hover::after { width: 40px; }

/* ---------- 見出し ---------- */
.sec { padding: 112px 0; }
.sec.gray { background: var(--gray); }
.sec-head { margin-bottom: 56px; }
.sec-head .en { display: block; font-size: 12.5px; letter-spacing: .2em; color: var(--green); font-weight: 700; margin-bottom: 10px; }
.sec-head h2 { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.5; margin: 0; letter-spacing: .04em; }
.sec-head p { color: var(--sub); margin: 18px 0 0; max-width: 40em; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }

/* ---------- 最初の面（全面の写真に文字と人物を重ねて一枚の絵にする） ---------- */
.hero { position: relative; height: 700px; overflow: hidden; background: #0d1f18; color: #fff; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 0%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 26, 19, .48) 0%, rgba(6, 26, 19, .30) 45%, rgba(6, 26, 19, 0) 100%); }
.hero .wrap { position: relative; height: 100%; display: flex; align-items: center; }
.hero-text { width: 56%; position: relative; z-index: 2; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: 50px; line-height: 1.55; letter-spacing: .05em; margin: 0; }
.hero .lead { margin: 32px 0 44px; color: #fff; font-size: 16px; font-weight: 600; max-width: 32em; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.hero h1 { text-shadow: 0 1px 4px rgba(0,0,0,.25); }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-person { position: absolute; right: 0; bottom: 0; height: 640px; width: auto; z-index: 1; }
.btn.line-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn.line-white:hover { background: #fff; color: var(--green); }

/* ---------- 実績の数字 ---------- */
.numbers { border-bottom: 1px solid var(--line); }
.numbers .wrap { padding-top: 56px; padding-bottom: 48px; }
.numbers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.numbers li { padding: 0 24px; border-left: 1px solid var(--line); }
.numbers li:first-child { border-left: 0; padding-left: 0; }
.numbers .label { font-size: 13.5px; color: var(--sub); font-weight: 600; }
.numbers .num { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--green); line-height: 1.4; letter-spacing: .02em; }
.numbers .num small { font-size: 18px; margin-left: 2px; }
.numbers .note { font-size: 12px; color: var(--sub); line-height: 1.6; margin-top: 4px; }
.numbers .source { margin-top: 28px; font-size: 12px; color: var(--sub); }

/* ---------- 事業紹介 ---------- */
.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.biz article { border-top: 2px solid var(--green); background: #fff; display: flex; flex-direction: column; }
.biz-img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.biz-img img { width: 100%; height: 100%; object-fit: cover; }
.biz-body { padding: 28px 4px 8px; display: flex; flex-direction: column; flex: 1; }
.biz-top { display: flex; align-items: center; }
.biz .no { font-size: 13px; color: var(--green); font-weight: 700; letter-spacing: .1em; }
.biz-logo { height: 46px; width: auto; margin-left: -6px; }
.biz h3 { font-size: 22px; margin: 16px 0 14px; letter-spacing: .04em; line-height: 1.5; }
.biz p { margin: 0 0 24px; color: var(--sub); font-size: 15px; flex: 1; }
.biz ul { margin: 0 0 26px; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14.5px; }
.biz li { padding-left: 16px; position: relative; line-height: 2; }
.biz li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--green); }

/* ---------- 進め方 ---------- */
.process-fig img { width: 100%; height: auto; }

/* ---------- お知らせ ---------- */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 130px 120px 1fr; gap: 16px; align-items: center; padding: 22px 8px; text-decoration: none; }
.news a:hover .title { color: var(--green); text-decoration: underline; }
.news time { color: var(--sub); font-size: 14.5px; }
.news .cat { font-size: 12px; border: 1px solid var(--line); text-align: center; padding: 2px 0; color: var(--sub); }

/* ---------- 問い合わせ ---------- */
.cta { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: 1fr 360px; align-items: end; }
.cta-text { padding: 88px 0; }
.cta .en { display: block; font-size: 12.5px; letter-spacing: .2em; font-weight: 700; margin-bottom: 10px; color: var(--green-light); }
.cta h2 { font-family: var(--serif); font-weight: 600; font-size: 34px; margin: 0 0 18px; letter-spacing: .04em; }
.cta p { margin: 0 0 36px; opacity: .9; }
.cta .row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta .tel { font-size: 14px; line-height: 1.6; }
.cta .tel strong { display: block; font-family: var(--serif); font-size: 30px; letter-spacing: .06em; }
.cta-photo img { height: 400px; width: auto; margin: 0 auto; }

/* ---------- フッター ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 14px; }
.footer .top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer address { font-style: normal; color: var(--sub); line-height: 2; margin-top: 18px; }
.footer .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer h4 { margin: 0 0 12px; font-size: 14px; color: var(--green); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { text-decoration: none; color: var(--sub); line-height: 2.1; }
.footer li a:hover { color: var(--green); }
.footer .bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; color: var(--sub); font-size: 12.5px; }

/* ---------- スマホ ---------- */
@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open a { padding: 16px 20px; border-top: 1px solid var(--line); }
  .nav.open .btn { margin: 16px 20px; text-align: center; }
  .menu-toggle { display: block; background: none; border: 1px solid var(--line); padding: 8px 12px; font: inherit; font-size: 13px; }
  .hero { height: auto; }
  .hero .wrap { flex-direction: column; align-items: stretch; }
  .hero-text { width: 100%; padding: 56px 0 24px; }
  .hero h1 { font-size: 27px; }
  .hero h1 span { white-space: normal; }
  .hero-person { position: relative; right: auto; height: 340px; align-self: center; }
  .numbers ul { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .numbers li { padding: 0 0 0 16px; }
  .numbers li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .numbers .num { font-size: 32px; }
  .sec { padding: 72px 0; }
  .sec-head h2, .cta h2 { font-size: 26px; }
  .sec-head.row { display: block; }
  .biz { grid-template-columns: 1fr; gap: 48px; }
  .news a { grid-template-columns: 1fr; gap: 4px; }
  .news .cat { width: 110px; }
  .cta .wrap { grid-template-columns: 1fr; }
  .cta-text { padding: 64px 0 24px; }
  .cta-photo img { height: 300px; }
  .footer .top, .footer .cols { grid-template-columns: 1fr; }
  .footer .bottom { flex-direction: column; gap: 8px; }
}

/* ================================================================ 下層ページ */
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); padding-bottom: 4px; }

.page-head { background: var(--gray); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 40px; padding-bottom: 64px; }
.crumbs { font-size: 13px; color: var(--sub); margin-bottom: 44px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--sub); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.page-head .en { display: block; font-size: 12.5px; letter-spacing: .2em; color: var(--green); font-weight: 700; margin-bottom: 10px; }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: 38px; line-height: 1.5; letter-spacing: .05em; margin: 0; }
.page-head .lead { margin: 18px 0 0; color: var(--sub); max-width: 44em; }

table.dl { width: 100%; border-collapse: collapse; border-top: 2px solid var(--green); }
table.dl th, table.dl td { text-align: left; vertical-align: top; padding: 22px 24px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
table.dl th { width: 240px; font-weight: 700; color: var(--green); background: rgba(11, 86, 60, .03); }
.sec.gray table.dl th { background: #fff; }
.sec.gray table.dl td { background: #fff; }

table.grid3 { width: 100%; border-collapse: collapse; border-top: 2px solid var(--green); font-size: 15px; }
table.grid3 th, table.grid3 td { text-align: left; vertical-align: top; padding: 20px 20px; border-bottom: 1px solid var(--line); }
table.grid3 thead th { font-size: 13px; color: var(--sub); font-weight: 700; background: var(--gray); }
table.grid3 tbody th { color: var(--green); width: 230px; }

.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps .sn, .case-step .sn { font-family: var(--serif); font-size: 30px; color: var(--green); line-height: 1.2; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--sub); }

ul.ticks { list-style: none; margin: 0; padding: 0; }
ul.ticks li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.note { font-size: 13px; color: var(--sub); margin: 20px 0 0; }
.more-right { text-align: right; margin-top: 28px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-logo { height: 44px; width: auto; margin: 0 0 22px -6px; }
.split-text p { margin: 0 0 16px; }
.split-img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.numbers.plain ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--green); padding-top: 28px; }
.numbers.plain.small ul { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.numbers.plain li { padding: 0 20px; border-left: 1px solid var(--line); }
.numbers.plain li:first-child { border-left: 0; padding-left: 0; }

.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case { background: #fff; border-top: 2px solid var(--green); padding: 32px 32px 36px; }
.case-meta { font-size: 13px; color: var(--sub); margin: 0 0 10px; }
.case-meta span { display: inline-block; border: 1px solid var(--green); color: var(--green); padding: 0 10px; margin-right: 10px; }
.case h3 { font-size: 20px; margin: 0 0 10px; line-height: 1.6; }
.case p { color: var(--sub); margin: 0 0 16px; }
.case ul { list-style: none; margin: 0 0 22px; padding: 14px 0 0; border-top: 1px solid var(--line); font-weight: 700; color: var(--green); }
.case-step { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.case-step:first-of-type { border-top: 2px solid var(--green); }
.case-label { font-size: 13px; color: var(--green); font-weight: 700; margin: 0 0 4px; }
.case-step h3 { margin: 0 0 10px; font-size: 20px; }
.case-step p { margin: 0 0 14px; color: var(--sub); }

.message { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.message-photo { margin: 0; }
.message-text p { margin: 0 0 18px; }
.sign { text-align: right; font-weight: 700; margin-top: 28px !important; }

.toc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.toc a { color: var(--green); font-weight: 700; text-decoration: none; }
.toc a::before { content: "↓"; margin-right: 6px; font-size: 13px; }
.policy { max-width: 880px; background: #fff; padding: 40px 44px; border-top: 2px solid var(--green); }
.sec:not(.gray) .policy { background: var(--gray); }
.policy p { margin: 0 0 14px; }
.policy h3 { font-size: 17px; color: var(--green); margin: 28px 0 10px; }

.column-list a { grid-template-columns: 120px 1fr; }
.article { max-width: 760px; }
.article h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 56px 0 18px; padding-top: 24px; border-top: 2px solid var(--green); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 18px; margin: 28px 0 8px; }
.article p { margin: 0 0 14px; }
.memo-label { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green); border: 1px solid var(--green); padding: 0 10px; margin-top: 18px !important; }

.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.contact-side h3 { font-size: 16px; margin: 0 0 8px; color: var(--green); }
.contact-side p { margin: 0 0 28px; }
.contact-side .tel-big { font-family: var(--serif); font-size: 30px; margin: 0; }
.form { display: grid; gap: 22px; background: var(--gray); padding: 40px; border-top: 2px solid var(--green); }
.form label { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.form .req { display: inline-block; margin-left: 10px; font-size: 11px; color: #fff; background: var(--green); padding: 0 8px; vertical-align: 2px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 500; padding: 12px 14px; border: 1px solid #c9d3cd; background: #fff; border-radius: 2px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 0; }
.form .agree { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form .agree input { width: 18px; height: 18px; }
.form .hp { position: absolute; left: -9999px; }
.form button { justify-self: start; cursor: pointer; }

.sitemap { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--green); }
.sitemap li a { display: block; padding: 16px 8px; border-bottom: 1px solid var(--line); text-decoration: none; white-space: pre; }
.sitemap li a:hover { color: var(--green); }

@media (max-width: 960px) {
  .page-head h1 { font-size: 27px; }
  .crumbs { margin-bottom: 28px; }
  table.dl th, table.dl td { display: block; width: 100%; padding: 12px 16px; }
  table.dl th { border-bottom: 0; padding-bottom: 0; }
  table.grid3 thead { display: none; }
  table.grid3 tr, table.grid3 th, table.grid3 td { display: block; width: 100%; }
  table.grid3 tbody th { width: 100%; padding-bottom: 4px; border-bottom: 0; }
  .split, .cases, .message, .contact { grid-template-columns: 1fr; gap: 28px; }
  .message-photo { max-width: 240px; }
  .numbers.plain ul, .numbers.plain.small ul { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .numbers.plain li { padding: 0 0 0 14px; }
  .numbers.plain li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .steps li, .case-step { grid-template-columns: 52px 1fr; gap: 14px; }
  .policy, .form { padding: 24px 20px; }
}
/* アクセルジャパンの掲出画像（フッターの上）2026-11-11 */
.partner-banner { padding: 56px 0; background: #fff; border-top: 1px solid #e5e5e5; }
.partner-banner img { display: block; width: 100%; max-width: min(600px, 100%); height: auto; margin: 0 auto; box-sizing: border-box; }
.partner-banner .wrap { overflow: hidden; }
@media (max-width: 768px) { .partner-banner { padding: 36px 0; } }
/* 集客・Web支援のサービスのロゴ／展示会の出展（2026-11-11） */
.mk-logo { height: 40px; width: auto; margin: 0 0 6px -3px; display: inline-block; }
.event { border-top: 1px solid #e5e5e5; }
.event .sec-head { margin-bottom: 32px; }
.event-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 768px) { .event-pics { grid-template-columns: 1fr; } .mk-logo { height: 26px; } }
.event-pics:has(> figure:only-child) { grid-template-columns: minmax(0, 640px); }
.event-pics figure { margin: 0; }
/* アライアンスの実績（2026-11-11）：1社ずつ縦に並べ、左に公式サイトの画像 */
.alliances { display: flex; flex-direction: column; gap: 28px; }
.alliance { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: center; border: 1px solid #e5e5e5; border-left: 4px solid var(--green); padding: 28px 32px; background: #fff; }
.alliance-img { margin: 0; }
.alliance-img img { width: 100%; height: auto; display: block; border: 1px solid #e5e5e5; }
.alliance-img figcaption { font-size: 11px; color: var(--sub); margin-top: 6px; word-break: break-all; }
.alliance h3 { font-size: 20px; margin: 10px 0 14px; line-height: 1.5; }
.alliance h3 a { color: inherit; text-decoration: none; }
.alliance h3 a:hover { text-decoration: underline; }
.alliance p { margin: 0; font-size: 15px; color: var(--sub); line-height: 1.9; }
@media (max-width: 900px) { .alliance { grid-template-columns: 1fr; gap: 18px; padding: 20px; } }
/* 補助金の活用事例（2026-11-12） */
.subcases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.subcase { background: #fff; border: 1px solid #e5e5e5; border-top: 3px solid var(--green); padding: 26px 28px; }
.subcase h3 { font-size: 20px; margin: 8px 0 16px; }
.sc-money { background: #f3f7f5; padding: 16px 18px; margin-bottom: 16px; }
.sc-amt { font-size: 13px; font-weight: 700; color: var(--green); }
.sc-amt b { font-size: 30px; margin-left: 10px; font-family: var(--serif); }
.sc-amt small { font-size: 14px; margin-left: 2px; }
.sc-bars { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.sc-row { display: grid; grid-template-columns: 11.5em 1fr 6.5em; white-space: nowrap; align-items: center; gap: 10px; font-size: 12px; }
.sc-row i { display: block; height: 14px; background: linear-gradient(90deg, #0b563c, #22cf93); }
.sc-row i.off { background: #c9d3ce; }
.sc-row em { font-style: normal; font-weight: 700; font-size: 14px; text-align: right; }
.subcase dl { margin: 0; font-size: 14px; line-height: 1.8; }
.subcase dt { font-weight: 700; color: var(--green); margin-top: 8px; }
.subcase dd { margin: 0; color: var(--sub); }
@media (max-width: 900px) { .subcases { grid-template-columns: 1fr; } .sc-row { grid-template-columns: 8em 1fr 5.5em; } }
.sc-img { margin: -26px -28px 18px; }
.sc-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #fff; border-bottom: 1px solid #e5e5e5; }
.sc-img figcaption { font-size: 11px; color: var(--sub); padding: 6px 28px 0; }
