/* 株式会社シーレン 会社サイト 共通スタイル(配色B: ホワイト×ティール) */
:root {
  --teal: #0f766e; --teal-dark: #0b5d57; --ink: #0b1f2a; --muted: #3b4a52;
  --bg-soft: #f0faf8; --line: #e6eeee; --white: #fff; --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.8; font-size: 16px;
  font-family: "Hiragino Kaku Gothic Pro", "Noto Sans JP", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 1.9rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.note { font-size: .85rem; color: var(--muted); }
.lead { font-size: 1.05rem; color: var(--muted); }

/* ヘッダー */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-en { color: var(--teal); font-weight: 700; font-size: 1.3rem; letter-spacing: .06em; }
.brand-ja { font-size: .85rem; }
.global-nav { display: flex; align-items: center; gap: 22px; }
.global-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.global-nav a:hover { color: var(--teal); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ボタン */
.btn { display: inline-block; padding: 10px 22px; border-radius: 24px; font-weight: 700; text-decoration: none; border: 2px solid var(--teal); font-size: .95rem; }
.btn-primary { background: var(--teal); color: var(--white) !important; }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline { background: var(--white); color: var(--teal); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* セクション */
.hero { background: linear-gradient(135deg, var(--bg-soft) 0%, var(--white) 70%); padding: 72px 0 56px; }
.hero .kicker, .kicker { color: var(--teal); font-size: .85rem; letter-spacing: .18em; font-weight: 700; margin-bottom: 8px; }
.hero h1 { font-size: 2.2rem; }
.hero .lead { max-width: 640px; }
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title .kicker { text-align: center; }
.page-title { background: var(--bg-soft); padding: 44px 0 36px; }
.page-title h1 { margin-bottom: 4px; }

/* グリッド・カード */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card .icon, .badge .icon { width: 32px; height: 32px; flex: none; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { background: var(--bg-soft); border-radius: 12px; padding: 20px 12px; text-align: center; }
.badge .icon { margin: 0 auto 8px; display: block; }
.badge b { display: block; font-size: 1.05rem; }
.badge small { color: var(--muted); }

/* 表(会社概要) */
.table-spec { width: 100%; border-collapse: collapse; }
.table-spec th, .table-spec td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-spec th { width: 30%; color: var(--teal); font-weight: 700; white-space: nowrap; }

/* 業務フロー */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.flow-4 { grid-template-columns: repeat(4, 1fr); }
.flow-step { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 12px; text-align: center; position: relative; }
.flow-step::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; left: 12px; background: var(--teal); color: var(--white); width: 24px; height: 24px; border-radius: 50%; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.flow-step .icon { width: 40px; height: 40px; display: block; margin: 4px auto 8px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-step b { display: block; margin-bottom: 4px; }
.flow-step small { color: var(--muted); line-height: 1.5; display: block; }

/* CTA帯 */
.cta-band { background: var(--teal); color: var(--white); padding: 56px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band .btn-primary { background: var(--white); color: var(--teal) !important; border-color: var(--white); }
.cta-band .tel { font-size: 1.6rem; font-weight: 700; color: var(--white); text-decoration: none; }

/* フォーム */
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.req { color: #b42318; font-size: .8rem; margin-left: 6px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; padding: 12px; border: 1px solid #c9d6d4; border-radius: 8px; font: inherit; }
textarea { min-height: 180px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fff4f2; border: 1px solid #f3b5ad; color: #7a1f14; border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; }

/* フッター */
.site-footer { background: var(--ink); color: #cfe0dd; padding: 48px 0 24px; margin-top: 0; }
.site-footer a { color: #cfe0dd; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-name { font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: start; }
.footer-nav a { text-decoration: none; font-size: .9rem; }
.copyright { grid-column: 1 / -1; font-size: .8rem; margin: 16px 0 0; }
.site-footer .note { color: #9fb8b4; }

/* スマホ */
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; } .hero h1 { font-size: 1.6rem; }
  .section { padding: 44px 0; }
  .grid-2, .grid-3, .grid-4, .flow, .flow-4, .footer-inner { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .badge b { font-size: .92rem; } .badge small { font-size: .78rem; }
  .flow { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .global-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .global-nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .global-nav .btn { margin: 12px 20px; text-align: center; }
  .site-header.nav-open .global-nav { display: flex; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .table-spec th, .table-spec td { display: block; width: 100%; }
  .table-spec th { padding-bottom: 2px; border: 0; }
  .table-spec td { padding-top: 0; }
}
