:root {
  --forest: #1e4d2b;
  --forest-dark: #14351e;
  --leaf: #dceee2;
  --honey: #dca72c;
  --gold: #f0c85b;
  --sky: #e8f0f3;
  --ink: #223027;
  --muted: #68746c;
  --line: #dce4df;
  --paper: #ffffff;
  --soft: #f6f8f5;
  --max: 1120px;
  font-family: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 44px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(30, 77, 43, .1);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 188px;
}

.brand-logo {
  width: clamp(170px, 18vw, 248px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 14px;
  font-weight: 700;
}

.nav-cta {
  padding: 10px 16px;
  color: var(--forest-dark);
  background: var(--gold);
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--forest);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--forest-dark);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(17, 38, 24, .86), rgba(17, 38, 24, .58) 43%, rgba(17, 38, 24, .14));
}

.hero-content {
  position: relative;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 80px 0 120px;
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--honey);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(30px, 5vw, 66px);
  line-height: 1.24;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: var(--forest-dark);
  background: var(--gold);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
}

.button.large {
  min-height: 56px;
  padding-inline: 30px;
}

.section {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 118px) 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(36px, 7vw, 78px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--forest-dark);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--forest-dark);
  font-size: 21px;
  line-height: 1.45;
}

p {
  margin: 0;
}

.lead-block p + p {
  margin-top: 18px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head p:not(.section-label) {
  margin-top: 14px;
  color: var(--muted);
}

.reason-grid,
.plans,
.case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reason-card,
.plan,
.case-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}

.number,
.case-item span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--honey);
  font-weight: 900;
}

.reason-card p,
.plan p,
.case-item p {
  margin-top: 12px;
  color: var(--muted);
}

.case-item strong {
  color: var(--forest-dark);
}

.plan {
  display: flex;
  flex-direction: column;
}

.plan-name {
  color: var(--forest);
  font-weight: 900;
}

.price {
  color: var(--forest-dark) !important;
  font-size: 24px;
  font-weight: 900;
}

.note-small {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
}

.plan.featured {
  border: 2px solid var(--honey);
}

.plan-badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 10px !important;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--honey);
  color: var(--forest-dark) !important;
  font-size: 12px;
  font-weight: 900;
}

.plan-total {
  margin-top: 4px !important;
  font-weight: 700;
}

.plan-aftercare {
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.plan-aftercare strong {
  color: var(--forest-dark);
}

ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--ink);
}

li + li {
  margin-top: 8px;
}

.title-line {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

.x-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: min(100%, 420px);
  padding: 16px 18px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(30, 77, 43, .1);
  transition: transform .2s ease, box-shadow .2s ease;
}

.x-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(30, 77, 43, .16);
}

.x-card:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
}

.x-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: #000;
  border-radius: 50%;
}

.x-card-body {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.45;
}

.x-card-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.x-card-handle {
  color: var(--forest-dark);
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.x-card-text {
  color: var(--muted);
  font-size: 13px;
}

.x-card-cta {
  padding: 8px 14px;
  color: #fff;
  background: #000;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .x-card {
    grid-template-columns: auto 1fr;
  }

  .x-card-cta {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .x-card {
    transition: none;
  }
}

.profile-aside {
  display: grid;
  gap: 16px;
}

.profile-photo {
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(30, 77, 43, .14);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.skill-tags span {
  padding: 8px 12px;
  color: var(--forest);
  background: var(--leaf);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.credential-list,
.bridge-box {
  margin-top: 26px;
}

.credential-list {
  display: grid;
  gap: 12px;
}

.credential-list p {
  margin: 0;
}

.bridge-box {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bridge-box h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 156px;
  padding: 22px;
  background: linear-gradient(180deg, #fff, #f8fbf9);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-list strong,
.flow-list span {
  display: block;
}

.flow-list strong {
  color: var(--forest-dark);
  font-size: 18px;
}

.flow-list span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 22px;
}

summary {
  cursor: pointer;
  padding: 10px 0;
  color: var(--forest-dark);
  font-weight: 900;
}

details p {
  margin-top: 12px;
  color: var(--muted);
}

.faq-points {
  margin: 14px 0 0;
  padding-left: 1.15em;
  color: var(--muted);
}

.faq-points li + li {
  margin-top: 14px;
}

.faq-points strong {
  color: var(--forest-dark);
}

.faq-steps-lead {
  margin-top: 20px;
  color: var(--muted);
}

.faq-steps-lead strong {
  color: var(--forest-dark);
}

.faq-steps {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.faq-steps li {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-steps li > span {
  color: var(--forest-dark);
  font-weight: 900;
  white-space: nowrap;
}

.overview-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.overview-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.overview-list dt {
  color: var(--forest-dark);
  font-weight: 900;
}

.overview-list dd {
  margin: 0;
  color: var(--ink);
}

.overview-list dd span {
  color: var(--muted);
  font-size: 14px;
}

.plain-list {
  margin-top: 0;
}

.contact {
  padding: clamp(72px, 10vw, 120px) 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--forest-dark), var(--forest));
}

.contact-inner {
  width: min(100%, 820px);
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  color: #fff;
}

.contact p:not(.section-label) {
  margin-top: 16px;
}

.contact .button {
  margin-top: 30px;
}

.note {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.site-footer {
  padding: 34px 18px;
  color: #dfe8e1;
  background: #112618;
  text-align: center;
}

.site-footer p {
  max-width: 900px;
  margin: 8px auto;
}

.site-footer small {
  display: block;
  margin-top: 16px;
  color: #aab8ae;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-nav {
  justify-content: flex-end;
}

.legal-document {
  width: min(100% - 36px, 880px);
  margin: 0 auto;
  padding: clamp(62px, 9vw, 104px) 0;
}

.legal-document h1 {
  margin: 0 0 24px;
  color: var(--forest-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.3;
}

.legal-document section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.legal-document h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 28px);
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.effective-date {
  margin-top: 28px;
  color: var(--ink) !important;
  font-weight: 800;
  text-align: right;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 12px 4px;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border-bottom: 0;
    font-size: 13px;
  }

  .legal-nav a {
    padding: 8px 0;
  }

  .legal-nav .nav-cta {
    padding: 8px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .split,
  .reason-grid,
  .plans,
  .case-list,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(17, 38, 24, .9), rgba(17, 38, 24, .58));
  }

  .overview-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 178px;
    max-height: 44px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding: 58px 0 88px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, var(--max));
  }

  .band {
    padding-inline: 14px;
  }

  .reason-card,
  .plan,
  .case-item {
    padding: 22px;
  }

  details {
    padding: 8px 16px;
  }

  summary {
    font-size: 15px;
    line-height: 1.65;
  }

  .faq-steps li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 14px;
  }

  .faq-points {
    padding-left: 1.05em;
  }
}

/* ===== 実績（数字ブロック・実績一覧・地域での活動） ===== */

.stats-section {
  padding-top: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  text-align: center;
}

.stat-value {
  margin: 0;
  color: var(--forest);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
}

.stat-prefix {
  margin-right: 4px;
  font-size: 18px;
  font-weight: 700;
}

.stat-unit {
  margin-left: 3px;
  font-size: 20px;
  font-weight: 700;
}

.stat-label {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.stats-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.client-list {
  display: grid;
  /* 4社を2列×2段で並べる（3列だと4社目だけが1段に残るため） */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-item {
  margin: 0;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.client-item h3 {
  margin: 0;
  color: var(--forest-dark);
  font-size: 18px;
}

.client-industry {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.client-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.work-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-item {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 20px;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.work-date {
  margin: 0;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.work-body h3 {
  margin: 6px 0 0;
  font-size: 18px;
}

.work-type {
  display: inline-block;
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--forest-dark);
  font-size: 12px;
  font-weight: 900;
}

.work-meta,
.work-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.works-more {
  margin: 22px 0 0;
  text-align: right;
  font-weight: 900;
}

.works-more a {
  color: var(--forest);
  border-bottom: 2px solid var(--honey);
  padding-bottom: 2px;
}

.activity-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.activity-list li {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 20px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.activity-list li > span {
  color: var(--forest-dark);
  font-weight: 900;
  font-size: 14px;
}

.page-head {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 60px 0 10px;
}

.page-head h1 {
  margin: 0 0 12px;
  color: var(--forest-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.3;
}

.page-head p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .stats-note {
    text-align: left;
  }

  .work-item,
  .activity-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .work-item {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  /* 数字ブロックはスマホでは1行1項目の横並びにして高さを抑える */
  .stats {
    gap: 4px;
    padding: 18px 0;
  }

  .stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    text-align: left;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .stat-value {
    min-width: 5.2em;
    font-size: 34px;
  }

  .stat-label {
    margin: 0;
    font-size: 15px;
  }
}


/* 2026-09-22 料金体系改定：経営者向けメニュー・オプション */
.sub-block {
  margin-top: 56px;
}

/* 2026-11-04 経営者向け・オプションは折りたたみにまとめる */
.more-menu {
  margin-top: 28px;
  padding: 14px 26px 26px;
}

.more-menu > summary {
  font-size: 17px;
}

.more-menu .sub-block:first-of-type {
  margin-top: 20px;
}

.more-menu .sub-block + .sub-block {
  margin-top: 40px;
}

.sub-title {
  margin-bottom: 18px;
  color: var(--forest-dark);
  font-size: 22px;
}

.sub-lead {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--muted);
}

.plan-wide {
  max-width: 780px;
}

.plans.plans-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.plan-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--forest-dark);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.partner-list {
  margin: 12px 0;
}

.career-open {
  margin-left: 10px;
  padding: 2px 4px;
  border: 0;
  background: transparent;
  color: var(--forest);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.career-open:hover {
  color: var(--forest-dark);
}

.career-open:focus-visible,
.career-close:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
}

.career-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: min(80vh, 720px);
  padding: clamp(20px, 4vw, 32px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 20px 60px rgba(17, 38, 24, .2);
}

.career-dialog::backdrop {
  background: rgba(17, 38, 24, .65);
}

.career-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.career-dialog h2 {
  margin: 0 0 16px;
  color: var(--forest-dark);
  font-size: clamp(20px, 3vw, 24px);
}

.career-dialog p {
  margin: 0 0 16px;
}

.career-dialog p:last-child {
  margin-bottom: 0;
}

.career-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest-dark);
  background: var(--soft);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .plans.plans-options {
    grid-template-columns: 1fr;
  }
}

/* スマホ用：画面下に固定する「無料相談」ボタン */
.mobile-cta {
  display: none;
}

@media (max-width: 920px) {
  .site-footer {
    padding-bottom: calc(34px + 76px + env(safe-area-inset-bottom));
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(17, 38, 24, .08);
    transition: transform .25s ease, opacity .25s ease;
  }

  .mobile-cta.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-cta .button {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    min-height: 56px;
    box-shadow: 0 4px 12px rgba(220, 167, 44, .35);
  }

  .mobile-cta-note {
    font-size: 12px;
    font-weight: 700;
    opacity: .8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta {
    transition: none;
  }
}

/* 見出しを読点（、）で改行し、言葉の途中で折り返さないようにする */
.phrase-heading {
  word-break: auto-phrase;
}

.phrase-heading span {
  display: block;
}

/* 2列レイアウトの左側でも「豊かなプライベートの」が1行に収まる大きさにする */
#concept .phrase-heading {
  font-size: clamp(28px, 3.4vw, 40px);
}

/* 「会社のどこまでAIを届けるかで選べる、」をPCで1行に収める */
#services .section-head {
  max-width: 880px;
}

/* プライバシーポリシー本文中のリンクをリンクと分かるようにする */
.legal-page main section a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page main section p + p {
  margin-top: 12px;
}

/* 連携パートナーの外部リンク */
.partner-link,
.career-link {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 記事コーナー「現場のAIノート」（/column/） ---------- */

.column-index {
  padding-top: 32px;
}

.column-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column-item a {
  display: block;
  padding: 26px clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}

.column-item a:hover,
.column-item a:focus-visible {
  border-color: var(--forest);
  box-shadow: 0 6px 18px rgba(30, 77, 43, .08);
}

.column-date {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.column-item h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.45;
  word-break: auto-phrase;
  text-wrap: balance;
}

.column-desc {
  margin: 0;
  color: var(--muted);
}

.column-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--forest);
  font-weight: 800;
}

.column-article {
  width: min(100% - 36px, 760px);
  margin: 0 auto;
  padding: 56px 0 clamp(68px, 9vw, 104px);
}

.column-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.column-head .section-label a {
  color: inherit;
}

.column-head h1 {
  margin: 0 0 14px;
  color: var(--forest-dark);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.4;
  word-break: auto-phrase;
  text-wrap: balance;
}

.column-byline {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.column-body {
  font-size: 17px;
  line-height: 2;
}

.column-body p {
  margin: 1.2em 0 0;
}

.column-body h2 {
  margin: 2.4em 0 0;
  padding: 4px 0 4px 14px;
  border-left: 5px solid var(--honey);
  font-size: clamp(21px, 3vw, 26px);
  line-height: 1.5;
}

.column-body h3 {
  margin: 1.8em 0 0;
  color: var(--forest-dark);
  font-size: 19px;
  line-height: 1.6;
}

.column-body ul {
  margin: 1.2em 0 0;
  padding: 18px 22px 18px 40px;
  border-radius: 8px;
  background: var(--soft);
}

.column-body li + li {
  margin-top: 6px;
}

.column-body strong {
  background: linear-gradient(transparent 62%, rgba(240, 200, 91, .45) 62%);
}

.column-body a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.column-back {
  margin: 48px 0 0;
}

.column-back a {
  color: var(--forest);
  font-weight: 800;
}

@media (max-width: 560px) {
  .column-body {
    font-size: 16px;
  }

  .legal-nav a {
    white-space: nowrap;
  }
}

/* トップページの「現場のAIノート」欄（代表の紹介の後） */
.column-teaser {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column-teaser a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}

.column-teaser a:hover,
.column-teaser a:focus-visible {
  border-color: var(--forest);
  box-shadow: 0 6px 18px rgba(30, 77, 43, .08);
}

.column-tag {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--forest-dark);
  font-size: 12px;
  font-weight: 800;
}

.column-tag.is-new {
  background: var(--gold);
}

.column-teaser-title {
  color: var(--forest-dark);
  font-weight: 800;
  line-height: 1.6;
  word-break: auto-phrase;
}

@media (max-width: 920px) {
  .column-teaser {
    grid-template-columns: 1fr;
  }
}

/* 運営パートナー：主張の添え書きと見出しの下の一文（2026-11-10） */
.page-head .page-claim {
  margin: 0 0 10px;
  color: var(--forest);
  font-weight: 700;
}

.page-head .page-sub {
  margin: 0 0 16px;
  color: #9a6408;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
}

.section-note {
  margin-top: 22px;
  color: var(--muted);
}

.lead-block + .reason-grid {
  margin-top: 26px;
}

.section-note a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
}

.page-head .page-sub span {
  display: inline-block;
}

/* 日本語を語の途中で折り返さない（2026-11-10。Chrome・Edgeで有効。Safariは下の .phrase で区切りを決めた見出しのみ） */
body {
  word-break: auto-phrase;
}

.phrase {
  display: inline-block;
}

/* 支援先の声：1列の一覧（2026-11-10） */
.voice-list {
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.voice-list li {
  display: grid;
  grid-template-columns: 11em 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.voice-tag {
  color: #9a6408;
  font-size: 14px;
  font-weight: 900;
  padding-top: 3px;
}

.voice-text {
  margin: 0;
  color: var(--forest-dark);
  font-size: 17px;
  font-weight: 700;
}

.voice-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ご相談いただける内容：3列の一覧（2026-11-10） */
.support-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}

.support-list li:first-child {
  border-top: 0;
}

.ai-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--forest);
  font-size: 12px;
  font-weight: 900;
  vertical-align: 1px;
}

.support-note {
  margin-top: 18px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .voice-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.reason-card .support-example {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ご相談いただける内容：4分野を2×2で並べる（2026-11-10） */
.reason-grid.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 920px) {
  .reason-grid.support-grid {
    grid-template-columns: 1fr;
  }
}

/* トップのサービス欄：eラーニングのカードは横いっぱいに（2026-11-10） */
.plans.plans-options .plan-span {
  grid-column: 1 / -1;
}


/* =========================================================
   サイト全体の整え（2026-11-10）
   パーツが画面いっぱいに広がって読みにくかったので、
   ・全体の横幅を少し狭く ・文章の一行の長さに上限 ・見出しと余白を一段小さく
   変更前は _backups/2026-11-10_site-tidy/
   ========================================================= */
:root {
  --max: 1040px;
  --measure: 40em;
}

body {
  font-size: 15.5px;
  line-height: 1.8;
}

/* 区切りの上下の余白 */
.section {
  padding: clamp(52px, 6.5vw, 88px) 0;
}

.band {
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
}

/* 見出し */
h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.35;
}

h3 {
  font-size: 18px;
}

.section-label {
  margin-bottom: 10px;
  font-size: 12px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head p:not(.section-label) {
  margin-top: 10px;
  font-size: 15px;
}

/* 1画面目 */
.hero {
  min-height: min(620px, calc(100vh - 74px));
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.3;
}

.hero-copy {
  max-width: 36em;
  margin-top: 20px;
  font-size: clamp(15px, 1.4vw, 17px);
}

.hero-actions {
  margin-top: 28px;
}

.hero-content {
  padding: 64px 0 88px;
}

/* 文章の一行の長さ */
.lead-block,
.sub-lead,
.page-head p,
.plan-aftercare,
.contact-inner p,
details p,
.faq-points,
.faq-steps {
  max-width: var(--measure);
}

.split {
  gap: clamp(28px, 5vw, 60px);
}

.lead-block p {
  font-size: 15.5px;
}

/* カード類：内側の余白と文字を一段小さく */
.plan,
.case-item,
.reason-card {
  padding: 22px;
}

.plan-name {
  font-size: 15px;
}

.price {
  font-size: clamp(20px, 2vw, 24px);
}

.plan p,
.case-item p,
.reason-card p {
  font-size: 14.5px;
}

.plans,
.case-list,
.reason-grid {
  gap: 14px;
}

/* 横いっぱいに伸びる2枚並びは、全体の幅の中で落ち着かせる */
.plans.plans-options {
  max-width: 940px;
}

/* ご依頼の流れ */
.flow-list li {
  min-height: 0;
  padding: 18px;
}

.flow-list strong {
  font-size: 16.5px;
}

/* よくある質問：横に伸びすぎないように */
.faq-list {
  max-width: 820px;
  gap: 10px;
}

details {
  padding: 6px 18px;
}

summary {
  font-size: 15px;
}

/* 事業概要の表 */
.overview-list {
  max-width: 820px;
}

/* 相談の帯 */
.contact {
  padding: clamp(56px, 7vw, 88px) 18px;
}

.contact-inner {
  width: min(100%, 720px);
}

.contact-inner p {
  margin-inline: auto;
}

/* 下層ページの見出し */
.page-head {
  padding: 48px 0 6px;
}

.page-head h1 {
  font-size: clamp(26px, 3.2vw, 38px);
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 48px 0 64px;
  }
}

.plan-note a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 特定商取引法に基づく表記：小さく、表で */
.tokushoho-page .legal-document {
  width: min(100% - 36px, 760px);
  padding: 40px 0 64px;
}

.tokushoho-page .legal-document h1 {
  margin-bottom: 18px;
  font-size: 20px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.7;
}

.legal-table th,
.legal-table td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 11em;
  background: var(--soft);
  color: var(--forest-dark);
  font-weight: 700;
}

.legal-table a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 560px) {
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    border-bottom: 0;
  }
}

/* トップのeラーニングのカード：法人・個人の2つのボタン */
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-actions .plan-btn-sub {
  background: #fff;
  color: var(--forest-dark);
  border: 2px solid var(--gold);
}

/* メニューの「eラーニング」：法人・個人を選ぶ小さなメニュー */
.nav-drop {
  position: relative;
}

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-drop-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease;
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 60;
  display: none;
  min-width: 190px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(17, 38, 24, .14);
  transform: translateX(-50%);
}

/* マウスで下に移るとき、すき間で閉じないように */
.nav-drop-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-drop-menu a:hover,
.nav-drop-menu a:focus-visible {
  background: var(--soft);
}

.nav-drop.is-open .nav-drop-menu {
  display: block;
}

.nav-drop.is-open .nav-drop-toggle::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

@media (hover: hover) and (min-width: 921px) {
  .nav-drop:hover .nav-drop-menu {
    display: block;
  }
}

/* スマホのメニューでは、2つをそのまま並べて見せる */
@media (max-width: 920px) {
  .nav-drop-toggle {
    width: 100%;
    padding: 12px 4px 4px;
    cursor: default;
  }

  .nav-drop-toggle::after {
    display: none;
  }

  .nav-drop-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 4px 14px;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-drop-menu::before {
    display: none;
  }

  .global-nav .nav-drop-menu a {
    padding: 8px 4px;
    font-size: 13.5px;
  }
}
