/* ===== カラートークン ===== */
:root {
  --bg: #ffffff;
  --bg-sub: #f7f7f5;
  --text: #2f3437;
  --text-sub: #5f6368;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #b08a2e;
  --accent-dark: #8f6f24;
  --focus: #b08a2e;
}

/* ===== リセット・基本設定 ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
}

a {
  color: var(--accent-dark);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ヘッダー ===== */
.site-header {
  background-color: #3b3730;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== ヒーロー ===== */
.hero {
  background-color: #f4f3ef;
  background-image: url("assets/images/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 60px 0 50px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 243, 239, 0.88);
}

.hero .container {
  position: relative;
}

.hero h1 {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}

.hero-cta-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
}

.btn:hover {
  background-color: var(--accent-dark);
}

.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* ===== セクション共通 ===== */
.section {
  padding: 50px 0;
}

.section-gray {
  background-color: var(--bg-sub);
}

.section h2 {
  font-size: 22px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 28px;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

/* ===== お困りごと ===== */
.problem-list {
  list-style: none;
  width: fit-content;
  max-width: 480px;
  margin: 0 auto 20px;
}

.problem-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
}

.problem-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.problem-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 10px;
}

/* ===== サービスカード ===== */
.card-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 240px;
  background-color: var(--bg-sub);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 20px;
}

.card h3 {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.card p {
  font-size: 14px;
  color: var(--text-sub);
}

/* ===== サービス画像 ===== */
.service-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
  object-fit: cover;
}

/* ===== 対象企業像 ===== */
.target-list {
  list-style: none;
  width: fit-content;
  max-width: 480px;
  margin: 0 auto;
}

.target-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
}

.target-list li::before {
  content: "\25A0";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-size: 10px;
  top: 12px;
}

/* ===== 業務構造診断パック ===== */
.diagnosis-lead {
  text-align: center;
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.diagnosis-content {
  display: flex;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 24px;
}

.diagnosis-block {
  flex: 1 1 300px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}

.diagnosis-block h3 {
  font-size: 15px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.diagnosis-list {
  list-style: none;
  margin: 0;
}

.diagnosis-list li {
  padding: 5px 0 5px 24px;
  position: relative;
  font-size: 14px;
}

.diagnosis-list li::before {
  content: "\2714";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: bold;
  font-size: 12px;
}

.diagnosis-block-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.7;
}

.diagnosis-price {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 12px;
}

.diagnosis-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.diagnosis-cta {
  text-align: center;
}

.diagnosis-cta-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* ===== 月額顧問 ===== */
.advisory-lead {
  text-align: center;
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.advisory-price {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 24px;
}

.advisory-term {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.advisory-content {
  display: flex;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.advisory-block {
  flex: 1 1 300px;
  background-color: var(--bg-sub);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}

.advisory-block h3 {
  font-size: 15px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.advisory-block h3:only-of-type {
  border-bottom-color: var(--accent);
}

.advisory-list {
  list-style: none;
  margin: 0;
}

.advisory-list li {
  padding: 5px 0 5px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-sub);
}

.advisory-list li::before {
  content: "\2714";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: bold;
  font-size: 12px;
}

.advisory-list-excluded li::before {
  content: "\2716";
  color: var(--muted);
}

.advisory-block-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.7;
}

/* ===== 個別実装プロジェクト ===== */
.projects-lead {
  text-align: center;
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.projects-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto 20px;
}

.projects-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 15px;
}

.projects-list li::before {
  content: "\25CB";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-size: 12px;
}

.projects-price-guide {
  max-width: 520px;
  margin: 0 auto 20px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}

.projects-price-guide h3 {
  font-size: 15px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.projects-dl {
  margin: 0;
}

.projects-dl dt {
  font-size: 14px;
  color: var(--text);
  padding-left: 24px;
  position: relative;
}

.projects-dl dt::before {
  content: "\25CB";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-size: 12px;
}

.projects-dl dd {
  font-size: 16px;
  font-weight: bold;
  color: var(--text);
  margin: 4px 0 16px 24px;
}

.projects-dl dd:last-child {
  margin-bottom: 0;
}

.projects-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== 導入支援 ===== */
.onboarding-list {
  max-width: 480px;
  margin: 0 auto 20px;
}

/* ===== 透明性宣言 ===== */
.advisory-transparency {
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 24px;
  line-height: 1.8;
  padding: 16px 20px;
  background-color: var(--bg-sub);
  border: 1px solid var(--line);
  border-radius: 6px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 改善・自動化事例 ===== */
.case-group {
  max-width: 640px;
  margin: 0 auto 24px;
}

.case-group:last-child {
  margin-bottom: 0;
}

.case-category {
  font-size: 16px;
  font-weight: bold;
  color: var(--text);
  padding: 8px 12px;
  background-color: var(--bg-sub);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  margin-bottom: 10px;
}

.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-sub);
}

.case-list li::before {
  content: "\25CB";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-size: 12px;
}

.case-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  padding-left: 4px;
}

.cases-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.8;
}

/* ===== ご支援の流れ ===== */
.flow-steps {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.flow-step {
  flex: 1 1 200px;
  max-width: 240px;
  text-align: center;
  padding: 20px;
}

.flow-step-label {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: var(--accent);
  padding: 2px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.flow-step h3 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 14px;
  color: var(--text-sub);
  text-align: left;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 36px;
  font-size: 20px;
  color: var(--accent);
}

.flow-arrow::before {
  content: "\25B6";
}

.flow-step-meta {
  font-size: 13px;
  font-weight: bold;
  color: var(--accent);
  margin-top: 8px;
}

.flow-lead {
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.flow-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.8;
}

/* ===== 会社概要テーブル ===== */
.company-table {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 120px;
  background-color: var(--bg-sub);
  font-weight: bold;
  color: var(--text);
  white-space: nowrap;
}

/* ===== 代表プロフィール ===== */
.profile {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.profile-text {
  line-height: 1.9;
}

.profile-role {
  font-size: 14px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 10px;
}

.profile-text p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.profile-text p:last-child {
  margin-bottom: 0;
}

/* ===== お問い合わせ ===== */
.contact-box {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.contact-box p {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.btn-contact {
  font-size: 16px;
  padding: 14px 36px;
  max-width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.contact-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}

/* ===== 問い合わせフォーム ===== */
.contact-form-wrap {
  max-width: 480px;
  margin: 20px auto 0;
  text-align: left;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 6px;
}

.required {
  font-size: 12px;
  font-weight: normal;
  color: #c0392b;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(176, 138, 46, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  display: block;
  width: 100%;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 1.5em;
}

.form-status-success {
  color: #2d6a4f;
}

.form-status-error {
  color: #c0392b;
}

.mailto-fallback {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.mailto-fallback a {
  color: var(--accent-dark);
  font-size: 13px;
}

/* ===== フッター ===== */
.site-footer {
  background-color: var(--bg-sub);
  border-top: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ===== 事業内容リスト ===== */
.biz-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.biz-title {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

.biz-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-left: 0.25em;
  margin-top: 2px;
  color: var(--text-sub);
}

/* ===== 会社概要テーブル内の文字サイズ統一 ===== */
.company-table td {
  font-size: 0.95rem;
}

.company-table .biz-title {
  font-size: 0.95rem !important;
  font-weight: 600;
}

.company-table .biz-desc {
  font-size: 0.9rem !important;
}

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
  .hero {
    padding: 40px 0 35px;
  }

  .hero h1 {
    font-size: 21px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-sub br {
    display: none;
  }

  .section {
    padding: 36px 0;
  }

  .section h2 {
    font-size: 19px;
  }

  .card-row {
    flex-direction: column;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .flow-step {
    max-width: 100%;
  }

  .flow-arrow {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .company-table th {
    width: 90px;
    font-size: 14px;
  }

  .company-table td {
    font-size: 14px;
  }

  .diagnosis-content {
    flex-direction: column;
  }

  .advisory-content {
    flex-direction: column;
  }

  .site-logo-img {
    height: 32px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 13px;
  }
}
