/* ============================================================
   メッシュ コーポレートサイト 共通スタイル
   パレット:
     NAVY    #243B53  見出し・本文強調
     GREEN   #3E6B4F  アクセント・リンク・ボーダー
     WARM_BG #FAF8F2  薄背景
     本文     #334155
     補助     #64748B
     罫線     #DDE3E0
     薄緑背景  #EEF4EF
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "YuGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #334155;
  background: #ffffff;
  line-height: 1.7;
  font-size: 16px;
}

a { color: #3E6B4F; }

img { max-width: 100%; }

/* 中央寄せコンテナ */
.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================ ヘッダー ============================ */
.site-header {
  border-bottom: 1px solid #DDE3E0;
  background: #ffffff;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 700;
  color: #243B53;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .logo { width: 26px; height: auto; display: block; }
.global-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.global-nav a {
  font-size: 12px;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
}
.global-nav a:hover { color: #3E6B4F; }

/* ============================ フッター ============================ */
.site-footer {
  border-top: 1px solid #DDE3E0;
  background: #FAF8F2;
  margin-top: 56px;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}
.site-footer .copyright {
  font-size: 13px;
  color: #64748B;
  letter-spacing: .04em;
}
.site-footer a {
  font-size: 13px;
  color: #3E6B4F;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

/* ============================ ヒーロー ============================ */
.hero {
  background: #FAF8F2;
  border-bottom: 1px solid #DDE3E0;
}
.hero .container {
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-text { width: 100%; }
.hero-art { flex: 0 0 auto; }
.hero-art svg { width: 150px; height: auto; display: block; }
.hero h1 {
  font-size: 30px;
  line-height: 1.4;
  color: #243B53;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero p {
  margin-top: 20px;
  color: #475569;
  font-size: 16px;
  max-width: 760px;
}

/* ============================ セクション共通 ============================ */
section { padding-top: 48px; }

h2.section-title {
  font-size: 22px;
  color: #243B53;
  font-weight: 700;
  letter-spacing: .03em;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid #DDE3E0;
}

.lead {
  color: #475569;
  margin-bottom: 24px;
  max-width: 760px;
}

/* ============================ 事業カード ============================ */
.biz-card {
  display: block;
  border: 1px solid #DDE3E0;
  border-radius: 12px;
  padding: 28px 28px 24px;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(36, 59, 83, .06);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.biz-card:hover {
  box-shadow: 0 10px 26px rgba(36, 59, 83, .12);
  transform: translateY(-2px);
  border-color: #3E6B4F;
}
.biz-card .biz-label {
  display: inline-block;
  font-size: 12px;
  color: #3E6B4F;
  font-weight: 700;
  letter-spacing: .06em;
  background: #EEF4EF;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.biz-card .biz-name {
  font-size: 24px;
  color: #243B53;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.biz-card .biz-desc {
  color: #475569;
  font-size: 15px;
}
.biz-card .biz-more {
  margin-top: 16px;
  color: #3E6B4F;
  font-weight: 700;
  font-size: 15px;
}

/* ============================ 概要表（dl） ============================ */
.info-table {
  border-top: 1px solid #DDE3E0;
  max-width: 720px;
}
.info-table .row {
  display: flex;
  border-bottom: 1px solid #DDE3E0;
  padding: 14px 0;
  gap: 16px;
}
.info-table dt {
  flex: 0 0 130px;
  color: #243B53;
  font-weight: 700;
  font-size: 15px;
}
.info-table dd {
  flex: 1;
  color: #475569;
  font-size: 15px;
}
.info-table dd a { text-decoration: none; }
.info-table dd a:hover { text-decoration: underline; }

/* ============================ お問い合わせ ============================ */
.contact-box {
  background: #EEF4EF;
  border-radius: 12px;
  padding: 28px;
}
.contact-box p { color: #475569; }
.form-placeholder {
  border: 1.5px dashed #9DBBA6;
  border-radius: 10px;
  background: #ffffff;
  padding: 28px 20px;
  text-align: center;
  color: #64748B;
  font-size: 14px;
  margin: 20px 0;
}
.contact-mail {
  font-size: 16px;
  color: #243B53;
}
.contact-mail a {
  color: #3E6B4F;
  font-weight: 700;
  text-decoration: none;
}
.contact-mail a:hover { text-decoration: underline; }

/* ============================ じぶんほどき ページ ============================ */
.kicker {
  font-size: 13px;
  color: #64748B;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.tagline {
  font-size: 17px;
  color: #475569;
  font-weight: 600;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 4px solid #3E6B4F;
  max-width: 640px;
}
.status-badge {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #3E6B4F;
  background: #EEF4EF;
  border: 1px solid #9DBBA6;
  border-radius: 999px;
  padding: 4px 14px;
  letter-spacing: .04em;
}

.concept {
  background: #FAF8F2;
  border-left: 4px solid #3E6B4F;
  border-radius: 4px;
  padding: 18px 22px;
  color: #475569;
  margin-bottom: 8px;
}
.concept b { color: #3E6B4F; }

/* 箇条書き（・印 緑） */
ul.dotlist { list-style: none; max-width: 800px; }
ul.dotlist li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  color: #475569;
  font-size: 15px;
}
ul.dotlist li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #3E6B4F;
  font-weight: 700;
}
ul.dotlist li b { color: #243B53; }

.hyp-note {
  font-size: 13px;
  color: #64748B;
  margin-top: 4px;
}

/* 3ステップ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step {
  background: #EEF4EF;
  border-radius: 10px;
  padding: 18px 20px;
}
.step .step-icon {
  width: 34px;
  height: 34px;
  display: block;
  margin-bottom: 10px;
}
.step .num {
  font-size: 13px;
  color: #3E6B4F;
  font-weight: 700;
}
.step .name {
  font-size: 17px;
  color: #243B53;
  font-weight: 700;
  margin: 4px 0 8px;
}
.step p {
  font-size: 14px;
  color: #475569;
}

/* スクリーンショット */
.shots {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.shot {
  width: 100%;
  max-width: 280px;
}
.shot-frame {
  border: 1px solid #DDE3E0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(36, 59, 83, .10);
}
.shot-frame img { display: block; width: 100%; }
.shot-caption {
  font-size: 13px;
  color: #64748B;
  text-align: center;
  margin-top: 10px;
}

/* CTA ボタン風リンク */
.cta-button {
  display: inline-block;
  margin-top: 18px;
  background: #3E6B4F;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  letter-spacing: .04em;
}
.cta-button:hover { background: #345a43; }

/* ポジションノート */
.position-note {
  background: #FAF8F2;
  border-left: 4px solid #3E6B4F;
  border-radius: 4px;
  padding: 18px 22px;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}
.position-note b { color: #3E6B4F; }

/* ============================ プライバシー ============================ */
.policy h2 {
  font-size: 18px;
  color: #243B53;
  font-weight: 700;
  margin: 28px 0 8px;
}
.policy p {
  color: #475569;
  font-size: 15px;
}
.policy a { color: #3E6B4F; }
.policy .established {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #DDE3E0;
  font-size: 14px;
  color: #64748B;
}


/* ============================ ナビのCTA ============================ */
.global-nav a.nav-cta {
  color: #ffffff;
  background: #3E6B4F;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 700;
}
.global-nav a.nav-cta:hover { background: #345a43; color: #ffffff; }

/* ============================ 事業カード 2列 ============================ */
.biz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 14px;
}
.biz-card { display: flex; flex-direction: column; }
.biz-card .biz-sub {
  font-size: 14px;
  color: #64748B;
  font-weight: 700;
  margin: -6px 0 12px;
}
.biz-card .biz-desc { flex: 1; }

/* ============================ CTA 帯 ============================ */
.cta-band {
  background: #EEF4EF;
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cta-band-title {
  font-size: 18px;
  color: #243B53;
  font-weight: 700;
  margin-bottom: 6px;
}
.cta-band p { color: #475569; font-size: 15px; }
.cta-band .cta-button { align-self: flex-start; }

/* ============================ DX支援ページ ============================ */
ul.check-list { list-style: none; max-width: 800px; margin-bottom: 20px; }
ul.check-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  margin-bottom: 10px;
  background: #FAF8F2;
  border-radius: 8px;
  color: #334155;
  font-size: 15px;
}
ul.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 14px;
  height: 14px;
  border: 2px solid #3E6B4F;
  border-radius: 3px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.feature {
  border: 1px solid #DDE3E0;
  border-radius: 10px;
  padding: 20px;
  background: #ffffff;
}
.feature-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #3E6B4F;
  color: #ffffff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.feature-name { font-size: 17px; font-weight: 700; color: #243B53; margin-bottom: 6px; }
.feature p { font-size: 14px; color: #475569; }

.example-box {
  background: #FAF8F2;
  border-left: 4px solid #3E6B4F;
  border-radius: 4px;
  padding: 18px 22px;
}
.example-title { font-weight: 700; color: #243B53; margin-bottom: 10px; }
.example-note { font-size: 14px; color: #64748B; }

ol.flow {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.flow-step {
  background: #EEF4EF;
  border-radius: 10px;
  padding: 16px 18px;
}
.flow-num { font-size: 12px; font-weight: 700; color: #3E6B4F; letter-spacing: .08em; }
.flow-name { font-size: 16px; font-weight: 700; color: #243B53; margin: 2px 0 6px; }
.flow-step p { font-size: 14px; color: #475569; }

.faq details {
  border-bottom: 1px solid #DDE3E0;
  padding: 14px 0;
  max-width: 800px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #243B53;
  font-size: 15px;
}
.faq details p { margin-top: 8px; color: #475569; font-size: 15px; }

.pc-br { display: none; }

/* ============================ お問い合わせフォーム ============================ */
.contact-form { max-width: 640px; }
.contact-form .form-row { margin-bottom: 22px; border: 0; }
.contact-form label,
.contact-form legend {
  display: block;
  font-weight: 700;
  color: #243B53;
  font-size: 15px;
  margin-bottom: 8px;
}
.contact-form label.choice {
  font-weight: 400;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: #334155;
  border: 1px solid #C9D3CE;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #3E6B4F;
  outline-offset: 1px;
  border-color: #3E6B4F;
}
.contact-form .req,
.contact-form .opt {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: 2px;
}
.contact-form .req { background: #3E6B4F; color: #ffffff; }
.contact-form .opt { background: #E2E8F0; color: #475569; }
.form-help { font-size: 13px; color: #64748B; margin-top: 6px; }
.contact-form .submit { border: 0; cursor: pointer; font-family: inherit; }
.contact-form .submit:disabled { opacity: .6; cursor: not-allowed; }

/* honeypot（bot対策のダミー項目。人には見せない） */
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 送信結果のアラート領域 */
.form-alert {
  background: #FCEEEE;
  border: 1px solid #E4A9A9;
  color: #8B3A3A;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 22px;
  font-size: 14px;
}
.form-alert[hidden] { display: none; }
.form-alert:focus { outline: 2px solid #8B3A3A; outline-offset: 2px; }

/* 入力項目ごとのエラー文 */
.field-error {
  color: #B3261E;
  font-size: 13px;
  margin-top: 6px;
}
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #B3261E;
}

/* noscript向けの案内文 */
.js-note {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 20px;
}

/* ============================ レスポンシブ ============================ */
@media (min-width: 768px) {
  body { font-size: 16px; }

  .hero h1 { font-size: 38px; }
  .hero .container {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .hero-inner { flex-direction: row; gap: 48px; }
  .hero-text { flex: 1; }
  .hero-art svg { width: 220px; }

  section { padding-top: 64px; }

  .steps {
    flex-direction: row;
  }
  .steps .step { flex: 1; }

  .global-nav { gap: 22px; }
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  ol.flow { grid-template-columns: repeat(4, 1fr); }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .cta-band .cta-button { align-self: center; margin-top: 0; white-space: nowrap; }
  .pc-br { display: inline; }
  .global-nav a { font-size: 14px; }
}

.more-link { margin-top: 14px; font-size: 14px; }
.more-link a { text-decoration: none; font-weight: 700; }

.hero p.hero-biz {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #3E6B4F;
}
