/*
 Theme Name: Lightning Child
 Template: lightning
 Description: Lightning 用の子テーマ（Forestサイト用）
 Author: Forest LLC
 Version: 1.0
*/

/* ここから下に共通CSSを書いていく */
/* 共通style.css（修正後） */
:root {
  --primary: #006699;
  --primary-light: #e6f3f7;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-light: #f7f9fb;
  --border-light: #e0e4ea;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --radius-large: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "メイリオ", Meiryo, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.header__logo {
  display: flex;
  flex-direction: column;
}

.header__company-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.header__tagline {
  font-size: 11px;
  color: var(--text-muted);
}

.header__nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}

.header__nav a {
  color: var(--text-main);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.2s ease;
}

.header__nav a:hover::after {
  width: 100%;
}

.header__contact-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.header__contact-btn:hover {
  background-color: #00517a;
}

/* Hero section（トップページ用） */
.hero {
  padding: 48px 0 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f5fafc 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.hero__content {
  flex: 1 1 320px;
  min-width: 0;
}

.hero__kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-main);
}

.hero__subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero__points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-main);
}

.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.hero__points-icon {
  display: inline-block;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  text-align: center;
  line-height: 16px;
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #00517a;
}

.btn-secondary {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background-color: #ffffff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: var(--primary-light);
}

.hero__note {
  font-size: 12px;
  color: var(--text-muted);
}

.hero__visual {
  flex: 0 0 320px;
  max-width: 360px;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    45deg,
    #f1f5f8,
    #f1f5f8 10px,
    #e5edf2 10px,
    #e5edf2 20px
  );
  border-radius: var(--radius-large);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999999;
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

.hero__image-placeholder span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

/* Breadcrumb（パンくず） */
.breadcrumb-wrapper {
  padding-top: 12px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb__sep {
  margin: 0 4px;
}

/* ページ専用ヒーロー（下層ページ） */
.page-hero {
  padding: 24px 0 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f5fafc 100%);
  border-bottom: 1px solid var(--border-light);
  margin-top: 4px;
}

.page-hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.page-hero__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-main);
}

.page-hero__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.page-hero__note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.page-hero__nav {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-hero__nav a {
  text-decoration: none;
  color: var(--primary);
}

.page-hero__nav a:hover {
  text-decoration: underline;
}

/* 下層ページ用 追加要素 */
.page-hero__tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 6px;
}

.page-hero__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.page-hero__info-box {
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 14px;
  font-size: 12px;
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
  max-width: 360px;
}

.page-hero__info-box strong {
  color: var(--text-main);
}

/* Section base */
.section {
  padding: 40px 0;
}

.section--alt {
  background-color: var(--bg-light);
}

.section__header {
  margin-bottom: 24px;
  text-align: left;
}

.section__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-main);
  border-left: 4px solid var(--primary);
  padding-left: 8px;
}

.section__subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Achievements */
.achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.achievement-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.achievement-card__label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.achievement-card__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.achievement-card__desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* 個別実績カード用（下層ページ向け） */
.achievement-card__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-main);
}

.achievement-card__text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Problems */
.problem-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.problem-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 16px;
}

.problem-card__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.problem-card__text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Services overview */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.service-card__header {
  margin-bottom: 8px;
}

.service-card__tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 6px;
}

.service-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.service-card__level {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.service-card__text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.service-card__meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.service-card__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.service-card__link:hover {
  text-decoration: underline;
}

/* Reasons */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.reason-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 18px 16px;
}

.reason-card__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.reason-card__text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Profile digest */
.profile-digest {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 24px;
  align-items: center;
}

.profile-digest__text {
  font-size: 13px;
  color: var(--text-main);
}

.profile-digest__list {
  font-size: 13px;
  color: var(--text-muted);
  margin: 8px 0 0;
  padding-left: 18px;
}

.profile-digest__link {
  font-size: 12px;
  margin-top: 8px;
}

.profile-digest__photo {
  max-width: 280px;
  margin: 0 auto;
}

.profile-digest__photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: repeating-linear-gradient(
    135deg,
    #f5f5f5,
    #f5f5f5 10px,
    #e8e8e8 10px,
    #e8e8e8 20px
  );
  border-radius: var(--radius-large);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999999;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

.profile-digest__photo-placeholder span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

/* Flow */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  counter-reset: flow-step;
}

.flow-step {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 16px;
  position: relative;
}

.flow-step::before {
  counter-increment: flow-step;
  content: counter(flow-step);
  position: absolute;
  top: -10px;
  left: 12px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.flow-step__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  padding-top: 4px;
  color: var(--text-main);
}

.flow-step__text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Note / Info box */
.info-box {
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 16px;
  font-size: 13px;
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
}

.info-box strong {
  color: var(--text-main);
}

/* Info box 内の補足テキスト */
.info-box__note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

/* 強調ボックス（理念・特徴など） */
.highlight-box {
  border-left: 4px solid var(--primary);
  background-color: var(--primary-light);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-main);
}

/* 経歴タイムライン（プロフィールページ用） */
.timeline {
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.timeline-item {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item__label {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2px;
}

.timeline-item__text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ▼ ここから 下層ページ共通で使うレイアウトなどを追記 */

/* Two-column layout */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.two-column--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}

/* インラインのタグリスト */
.list-inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
  font-size: 11px;
}

.list-inline-tags li {
  padding: 3px 8px;
  border-radius: 999px;
  background-color: var(--primary-light);
  color: var(--primary);
}

/* 記事リスト（コラム／お知らせページ用） */
.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.article-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.article-card__meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  margin-bottom: 4px;
}

.article-card__category {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: var(--primary-light);
  color: var(--primary);
}

.article-card__date {
  font-size: 11px;
  color: var(--text-muted);
}

.article-card__title {
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0;
  color: var(--text-main);
}

.article-card__title a {
  color: var(--text-main);
  text-decoration: none;
}

.article-card__title a:hover {
  text-decoration: underline;
}

.article-card__excerpt {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.article-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  gap: 8px;
  flex-wrap: wrap;
}

.article-card__readmore {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* サイドバー（コラム／お知らせページ用） */
.sidebar-box {
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sidebar-box__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-main);
}

.sidebar-list {
  list-style: none;
  margin: 6px 0 0;
  padding-left: 0;
  font-size: 13px;
}

.sidebar-list li {
  margin-bottom: 4px;
}

.sidebar-list a {
  text-decoration: none;
  color: var(--primary);
}

.sidebar-list a:hover {
  text-decoration: underline;
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.sidebar-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  color: var(--primary);
}

/* 箇条書きリスト（下層ページ用） */
.bullet-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-main);
}

.bullet-list li {
  margin-bottom: 4px;
}

/* ===== Contact / Form 共通スタイル ===== */
.form {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.form__group {
  margin-bottom: 14px;
}

.form__group--inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.form__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-main);
}

.form__required {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background-color: #e85d5d;
  color: #ffffff;
  font-size: 10px;
}

.form__optional {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background-color: #e0e4ea;
  color: #555555;
  font-size: 10px;
}

.form__control,
.form__textarea,
.form__select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
  background-color: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form__control:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 102, 153, 0.15);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

.form__radio-group,
.form__checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 12px;
  color: var(--text-main);
}

.form__radio-item,
.form__checkbox-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.form__radio-item input,
.form__checkbox-item input {
  accent-color: var(--primary);
}

.form__footer {
  margin-top: 18px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__privacy-text {
  font-size: 11px;
  color: var(--text-muted);
}

.form__consent {
  font-size: 12px;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.form__consent input {
  margin-top: 2px;
  accent-color: var(--primary);
}

.form__actions {
  margin-top: 6px;
}

/* カリキュラム（タイムライン） */
.curriculum-timeline {
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.curriculum-timeline__item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
}

.curriculum-timeline__item:last-child {
  border-bottom: none;
}

.curriculum-timeline__time {
  font-weight: 600;
  font-size: 12px;
  color: var(--primary);
}

.curriculum-timeline__content-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}

.curriculum-timeline__content-text {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* メタ情報テーブル（実施形態・料金など） */
.meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background-color: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.meta-table th,
.meta-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.meta-table th {
  width: 120px;
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--text-main);
  font-size: 12px;
}

.meta-table td {
  font-size: 13px;
  color: var(--text-main);
}

.meta-table tr:last-child th,
.meta-table tr:last-child td {
  border-bottom: none;
}

/* FAQ */
.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 12px 14px;
  font-size: 13px;
  box-shadow: var(--shadow-soft);
}

.faq-item__q {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-main);
}

.faq-item__a {
  color: var(--text-muted);
  margin: 0;
}

/* 導入事例カード（Casesページ用） */
.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 16px;
}

.case-card {
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.case-card__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.case-card__tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background-color: var(--primary-light);
  color: var(--primary);
}

.case-card__company {
  font-size: 12px;
  color: var(--text-muted);
}

.case-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.case-card__meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.case-card__body-title {
  font-weight: 600;
  margin-top: 6px;
  margin-bottom: 2px;
}

.case-card__body-text {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.case-card__result-list {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-main);
}

.case-card__result-list li {
  margin-bottom: 3px;
}

/* お客様の声カード（Casesページ用） */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.voice-card {
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.voice-card__role {
  font-size: 11px;
  color: var(--primary);
  margin-bottom: 2px;
}

.voice-card__name {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.voice-card__quote {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* CTA section */
.cta {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, var(--primary), #004563);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.cta__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.cta__text {
  font-size: 14px;
  margin: 0 0 16px;
}

.cta__note {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 8px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 16px 0 24px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.footer__company {
  font-weight: 600;
  color: var(--primary);
}

.footer__info {
  font-size: 11px;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .header__nav {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    padding: 32px 0 28px;
  }

  .hero__title {
    font-size: 24px;
  }

  .hero__visual {
    flex: 1 1 100%;
    max-width: none;
  }

  .profile-digest {
    grid-template-columns: 1fr;
  }

  .profile-digest__photo {
    max-width: 220px;
  }

  .page-hero__inner {
    flex-direction: column;
    gap: 12px;
  }

  .two-column,
  .two-column--reverse {
    grid-template-columns: 1fr;
  }

  .form__group--inline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .section {
    padding: 32px 0;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .voice-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Header navigation override for WP menu ========== */

/* ナビ全体を横並び */
.header__nav {
  display: flex;
  align-items: center;
  gap: 24px; /* メニューとボタンの間 */
}

/* ULを横並びに */
.header__menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* LIのデフォルト余白リセット（保険） */
.header__menu > li {
  margin: 0;
  padding: 0;
}

/* メニューリンクのスタイル */
.header__menu > li > a {
  text-decoration: none;
  color: #1f2933;       /* お好みで */
  font-weight: 500;
  font-size: 0.95rem;
}

/* ========== Header contact button ========== */
/* Header contact button */
.header__contact-btn,
.header__contact-btn:link,
.header__contact-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6em 1.6em;
  border-radius: 999px;
  background-color: #006699;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  white-space: nowrap;
  text-decoration: none !important;  /* ← ここで消す */
}

.header__contact-btn:hover,
.header__contact-btn:focus,
.header__contact-btn:active {
  background-color: #00517a;
  color: #ffffff !important;
  text-decoration: none !important;  /* ← hover時も消す */
}

/* ================================
   Contact Form layout
   ================================ */

.contact-form {
  max-width: 960px;
  margin: 40px auto 80px;
  padding: 24px 24px 32px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

/* 1行ごとの余白 */
.contact-form__row {
  margin-bottom: 20px;
}

/* 2カラム行（PC） */
.contact-form__row--2col {
  display: flex;
  gap: 16px;
}

/* 各カラム */
.contact-form__field {
  flex: 1 1 0;
}

/* ラベルとバッジ */
.contact-form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.contact-form__required,
.contact-form__optional {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  vertical-align: middle;
}

.contact-form__required {
  background: #f97373;
  color: #ffffff;
}

.contact-form__optional {
  background: #e5e7eb;
  color: #4b5563;
}

/* 入力コントロール共通 */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1f4fd7;
  box-shadow: 0 0 0 1px rgba(31, 79, 215, 0.15);
  background-color: #ffffff;
}

/* テキストエリア */
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* 注意書き */
.contact-form__note {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #6b7280;
}

/* ラジオボタン */
.contact-form__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.9rem;
}

.contact-form__radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* 個人情報テキストとチェックボックス */
.contact-form__privacy-text {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
}

/* 送信ボタン行 */
.contact-form__row--submit {
  margin-top: 28px;
  text-align: center;
}

/* submit は CF7 側で class:btn-primary を付けている前提 */
.contact-form__row--submit .wpcf7-submit {
  min-width: 180px;
}

/* モバイルレイアウト */
@media (max-width: 768px) {
  .contact-form {
    margin: 24px 0 48px;
    padding: 20px 16px 28px;
    border-radius: 18px;
  }

  .contact-form__row--2col {
    flex-direction: column;
  }
}

/* ===== Blog index ===== */

.forest-blog {
  padding: 40px 0 80px;
  background: #f9fafb;
}

.forest-blog__header {
  margin-bottom: 24px;
}

.forest-blog__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.forest-blog__subtitle {
  font-size: 0.9rem;
  color: #6b7280;
}

.forest-blog__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.forest-blog__item {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.forest-blog__item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.forest-blog__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.forest-blog__category {
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5e7ff;
  color: #1f4fd7;
  font-weight: 600;
}

.forest-blog__item-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 4px 0 6px;
}

.forest-blog__excerpt {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0 0 8px;
}

.forest-blog__more {
  font-size: 0.85rem;
  color: #1f4fd7;
  font-weight: 600;
}

/* ===== Single article ===== */

.forest-blog-single {
  padding: 40px 0 80px;
}

.forest-article__header {
  margin-bottom: 24px;
}

.forest-article__title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.forest-article__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.8rem;
  color: #6b7280;
}

.forest-article__category {
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5e7ff;
  color: #1f4fd7;
  font-weight: 600;
}

.forest-article__content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #111827;
}

.forest-article__content p {
  margin-bottom: 1em;
}

.forest-article__nav {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .forest-blog,
  .forest-blog-single {
    padding: 24px 0 56px;
  }

  .forest-article__title {
    font-size: 1.4rem;
  }

  .forest-article__nav {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===== 404 page ===== */

.forest-404 {
  padding: 80px 0 120px;
  text-align: center;
}

.forest-404__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.forest-404__subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 24px;
}

.forest-404__text {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 24px;
}

.forest-404__btn {
  min-width: 200px;
}

@media (max-width: 768px) {
  .forest-404 {
    padding: 56px 0 80px;
  }

  .forest-404__title {
    font-size: 1.4rem;
  }
}
