@charset "utf-8";

/* ============================================================
   syokudo.css — 食堂楽 product page
   Shared styles are in components.css
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; overflow-x: hidden; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
  overflow-x: clip;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #06617f; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: #30a1af; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.8125rem;
  color: #646464;
}
.breadcrumb a { color: #30a1af; }
.breadcrumb a:hover { color: #06617f; }
.breadcrumb__sep {
  margin: 0 0.5rem;
  color: #cacaca;
}

/* ============================================================
   PRODUCT HERO (teal banner with logo)
   ============================================================ */

.product-hero {
  background: var(--c-teal);
  padding: 3rem 0;
}
.product-hero__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.product-hero__logo {
  flex-shrink: 0;
}
.product-hero__logo img {
  width: 14rem;
  height: auto;
}
.product-hero__text {
  color: #fff;
}
.product-hero__title {
  font-size: clamp(1.5rem, 3vw, 2.1875rem);
  font-weight: normal;
  line-height: 1.4;
}
.product-hero__sub {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ============================================================
   ANCHOR NAV (in-page navigation bar)
   ============================================================ */

.anchor-nav {
  max-width: 60rem;
  margin: 2.5rem auto 0;
  display: flex;
  list-style: none;
  padding: 0;
}
.anchor-nav__item {
  flex: 1;
}
.anchor-nav__link {
  display: block;
  line-height: 2.5rem;
  text-align: center;
  background: #06617f;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid #fff;
  border-right: none;
  transition: background .2s, color .2s;
}
.anchor-nav__item:first-child .anchor-nav__link {
  border-radius: 0.625rem 0 0 0.625rem;
}
.anchor-nav__item:last-child .anchor-nav__link {
  border-radius: 0 0.625rem 0.625rem 0;
  border-right: 1px solid #06617f;
}
.anchor-nav__link:hover {
  background: #fff;
  color: #06617f;
  border-color: #06617f;
}

/* ============================================================
   SECTION
   ============================================================ */

.section-pad { padding: 5rem 0; }
.section-border { border-bottom: 1px solid #a0a0a0; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-title::after {
  content: '';
  display: block;
  width: 3.75rem;
  height: 0.1875rem;
  background: #30a1af;
  margin: 0.75rem auto 0;
  border-radius: 0.125rem;
}

.section-heading {
  color: #30a1af;
  font-size: clamp(1.25rem, 2.5vw, 1.375rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ============================================================
   FEATURES SECTION (特徴)
   ============================================================ */

/* 特徴・管理システムは製品ページ（products.css）の prod-split / prod-merit を流用。
   構成図や管理画面は図版・スクリーンショットのため、prod-split__media の cover を
   上書きし、切り取らずに枠内へ全体表示する。 */
#features .prod-split__media,
#management .prod-split__media {
  background: var(--c-white);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#features .prod-split__media img,
#management .prod-split__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
}

/* カード対応セクションの見出し */
.features__detail-title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--c-dark-blue);
  border-left: 0.25rem solid var(--c-teal);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}

/* 各種カード対応：会社ページのアクセスカード（access-item）に準拠した小カード */
.card-spec {
  margin-top: 2.5rem;
}
.card-spec__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.card-spec__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: var(--c-white);
  border: 1px solid rgba(208, 208, 208, 0.3);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.card-spec__icon {
  font-size: 1.75rem;
  color: var(--c-dark-blue);
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.card-spec__body {
  flex: 1;
  min-width: 0;
}
.card-spec__name {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--c-text);
}
.card-spec__detail {
  font-size: 0.8125rem;
  color: #646464;
  line-height: 1.6;
  margin-top: 0.125rem;
}
@media (max-width: 768px) {
  .card-spec__list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CTA BUTTONS
   ============================================================ */

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  width: 100%;
}
.cta-btn {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: #06617f;
  border: 1px solid #06617f;
  border-radius: 0.1875rem;
  transition: background .2s, color .2s;
  font-family: inherit;
}
.cta-btn:hover {
  background: #fff;
  color: #06617f;
}

.features__note {
  font-size: 0.875rem;
  color: #646464;
  margin-top: 1.5rem;
}

/* ============================================================
   PHOTO GRID
   ============================================================ */

.photo-grid {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.photo-grid img {
  flex: 1;
  min-width: 0;
  border-radius: 0.1875rem;
}

/* ============================================================
   SYSTEM OVERVIEW (システム概要)
   ============================================================ */

.overview-diagram {
  text-align: center;
  margin-bottom: 2rem;
}
.overview-diagram img {
  display: inline-block;
  max-width: 10rem;
}

.overview-banner {
  border: 1px solid #30a1af;
  color: #30a1af;
  padding: 0.5rem 1rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-align: center;
  max-width: 35rem;
  margin: 0 auto 2rem;
  border-radius: 0.1875rem;
}
.overview-banner span {
  font-size: 0.875rem;
}

/* ============================================================
   PRODUCT GRID (6 product cards)
   ============================================================ */

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.product-card {
  text-align: center;
  width: 9.5rem;
}
.product-card__icon {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.product-card__icon img {
  width: 6.625rem;
  height: 6.625rem;
}
.product-card__name {
  color: var(--c-dark-blue);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.product-card__link {
  display: inline-block;
  font-size: 0.875rem;
  color: #fff;
  background: #06617f;
  border: 1px solid #06617f;
  border-radius: 0.1875rem;
  padding: 0.375rem 0.75rem;
  transition: background .2s, color .2s;
  line-height: 1.3;
  text-align: center;
}
.product-card__link:hover {
  background: #fff;
  color: #06617f;
}
.product-card__link span {
  font-size: 0.8125rem;
}

.overview-note {
  text-align: center;
  color: #30a1af;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
.overview-highlight {
  background: #30a1af;
  color: #fff;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 0.1875rem;
}

/* ============================================================
   COMPARISON TABLES (精算端末, 決済方法, 対応表)
   ============================================================ */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  min-width: 58.75rem;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 2rem;
}
.compare-table th,
.compare-table td {
  padding: 0.75rem 0.875rem;
  border: 1px solid #30a1af;
  vertical-align: middle;
  text-align: center;
  min-width: 9rem;
}
.compare-table thead {
  border-bottom: 3px double #30a1af;
}
.compare-table thead th {
  background: #e9f8fa;
  color: #30a1af;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem 0.75rem;
  white-space: nowrap;
}
.compare-table thead th img {
  display: block;
  margin: 0.5rem auto 0;
  max-height: 4.375rem;
}
.compare-table__label {
  background: #e9f8fa;
  font-weight: normal;
  font-size: 0.8125rem;
  white-space: nowrap;
  width: 12%;
  text-align: left;
}

/* icon + text cell layout */
.compare-table__cell {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.compare-table__cell img {
  flex-shrink: 0;
  width: 1.5625rem;
  height: auto;
}
.compare-table__cell p {
  flex: 1;
  text-align: left;
}

/* decision header row description (table 2) */
.compare-table__desc-row td {
  background: #e9f8fa;
  border-bottom: 3px double #30a1af;
}
.compare-table thead th span {
  font-size: 0.8125rem;
  font-weight: normal;
}

/* ============================================================
   FLOW DIAGRAMS (システム利用例)
   ============================================================ */

.flow-section {
  text-align: center;
  margin-bottom: 3rem;
}
.flow-section img {
  display: inline-block;
  max-width: 100%;
}

/* ============================================================
   MANAGEMENT SYSTEM (管理システム)
   ============================================================ */

.mgmt-intro {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.mgmt-intro__text {
  flex: 1;
  line-height: 1.8;
}
.mgmt-intro__img {
  flex: 0 0 60%;
  max-width: 60%;
}
.mgmt-intro__img img {
  width: 100%;
}
.mgmt-diagram {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================================
   AUTO REGI PAGE
   ============================================================ */

/* Anchor nav width overrides */
.anchor-nav--2 {
  max-width: 30rem;
}
.anchor-nav--3 {
  max-width: 40rem;
}

/* Feature boxes (特徴 / メリット) */
.auto-features {
  max-width: 58.75rem;
  margin: 0 auto;
}
.auto-features__box {
  border: 1px solid #30a1af;
  border-radius: 0.375rem;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
.auto-features__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #30a1af;
  margin-bottom: 1rem;
}
.auto-features__list {
  list-style: none;
  padding: 0;
  line-height: 1.8;
}
.auto-features__list li {
  padding-bottom: 0.375rem;
}

/* Procedure label */
.auto-procedure-label {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Side-by-side images */
.auto-images {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.auto-images__item {
  flex: 1;
  min-width: 0;
}

/* Flow boxes (利用例 / 利用画面) */
.auto-flow {
  padding: 2.5rem 0;
}
.auto-flow--bordered {
  border-bottom: 1px dotted #999;
}
.auto-flow__title {
  color: #30a1af;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.auto-flow__img {
  text-align: center;
  margin-bottom: 1.5rem;
}
.auto-flow__img img {
  display: inline-block;
  max-width: 100%;
}
.auto-flow__steps {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
}
.auto-flow__steps li {
  flex: 1;
  text-align: center;
  line-height: 1.6;
  font-size: 0.9375rem;
  padding: 0 2rem;
  position: relative;
}

/* Numbered flow steps (ol) */
ol.auto-flow__steps {
  counter-reset: flow-step;
}
ol.auto-flow__steps .auto-flow__text::before {
  content: counter(flow-step) ". ";
  counter-increment: flow-step;
  font-weight: 700;
}

/* --- Usage flow arrow(利用フローの矢印) --- */
ol.auto-flow__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  /* 画像エリアの右側に配置 */
  right: -10px; /* 隣の要素との隙間に合わせて調整 */
  top: 35%;
  transform: translateY(-50%);

  /* 三角形のデザイン */
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #30a1af; /* 矢印の色 */
  
  z-index: 1;
}

/* Highlight banner */
.auto-highlight {
  background: #30a1af;
  color: #fff;
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 0.1875rem;
  margin-top: 2rem;
}

/* Flow note callout */
.auto-flow__note {
  border: 1px solid #30a1af;
  color: #30a1af;
  font-weight: 700;
  padding: 1.25rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* Narrow table variant (2-column + label) */
.compare-table--narrow {
  min-width: 40rem;
}

/* ============================================================
   GRAM NAVI PAGE
   ============================================================ */

.gram-merit-subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ============================================================
   SELF TANMATU PAGE
   ============================================================ */

/* Feature box image */
.auto-features__img {
  margin-top: 1rem;
}

/* Note text below highlight */
.self-note {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

/* Self table variant (category / sub-label / value) */
.compare-table--self {
  min-width: 50rem;
}
.compare-table__sublabel {
  background: #e9f8fa;
  font-weight: normal;
  font-size: 0.8125rem;
  white-space: nowrap;
  text-align: left;
}

/* ============================================================
   IC CARD PAGE
   ============================================================ */

.ic-spec-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.ic-spec-header .section-heading {
  margin-bottom: 0;
}
.ic-spec-header__img img {
  max-height: 7rem;
}

/* ============================================================
   INTRODUCTION PAGE (導入事例)
   ============================================================ */

.intro-equip {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.intro-case {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.intro-case__img {
  flex-shrink: 0;
  max-width: 50%;
}
.intro-case__img img {
  border-radius: 0.1875rem;
}
.intro-case__text {
  flex: 1;
  min-width: 0;
}
.intro-case__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #30a1af;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.intro-case__desc {
  line-height: 1.8;
}

.intro-photos {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.intro-photos__item {
  flex: 1;
  min-width: 0;
}
.intro-photos__item img {
  border-radius: 0.1875rem;
}

.intro-detail {
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================================================
   POS SYSTEM PAGE
   ============================================================ */

/* Section sub-headings (teal banner) */
.pos-subheading {
  background: #30a1af;
  color: #fff;
  font-size: 1.125rem;
  font-weight: normal;
  text-align: center;
  padding: 0.625rem 0.5rem;
  border-radius: 0.1875rem;
  margin-bottom: 1.5rem;
}

/* Text blocks */
.pos-text {
  padding-bottom: 2.5rem;
  line-height: 1.8;
}
.pos-text--short {
  padding-bottom: 0.75rem;
  line-height: 1.8;
}

/* Merit list */
.pos-merit-list {
  list-style: none;
  padding: 0 0 2.5rem;
  line-height: 1.8;
}

/* Arrow between concept and highlight */
.pos-arrow {
  text-align: center;
  padding-bottom: 1.5rem;
}
.pos-arrow img {
  display: inline-block;
  max-width: 6.875rem;
}

/* Feature titles */
.pos-feature-title {
  color: #30a1af;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}
.pos-feature-desc {
  margin-bottom: 2.5rem;
  padding-left: 1.25rem;
}

/* Simple 2-column table (種類/内容, 業類/カスタマイズ) */
.pos-table {
  width: 100%;
  max-width: 58.75rem;
  margin: 0 auto 1.5rem;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}
.pos-table th,
.pos-table td {
  padding: 0.625rem 1.25rem;
  border: 1px solid #30a1af;
  text-align: left;
}
.pos-table thead th {
  background: #e9f8fa;
  color: #30a1af;
  font-size: 0.875rem;
  text-align: center;
}
.pos-table__label {
  background: #e9f8fa;
  white-space: nowrap;
}
.pos-accent {
  color: #30a1af;
}
.pos-table-note {
  text-align: right;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* Function title */
.pos-func-title {
  font-size: 1.25rem;
  color: #30a1af;
  font-weight: 700;
  text-align: center;
  padding: 2.5rem 0 1.5rem;
}

/* Step title in flow */
.pos-step-title {
  font-weight: 700;
}

/* ============================================================
   CLOUD SHOKUDORAKU PAGE
   ============================================================ */

.cloud-subtitle {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.cloud-img {
  text-align: center;
  margin-bottom: 2rem;
}
.cloud-img img {
  display: inline-block;
  max-width: 100%;
}

/* 食習慣診断: 分析の具体例コールアウト */
.cloud-example {
  max-width: 48rem;
  margin: 1.5rem auto 0;
  padding: 1.25rem 1.5rem;
  background: var(--c-light-bg);
  border-left: 4px solid var(--c-teal);
  border-radius: 0.25rem;
  text-align: left;
}
.cloud-example__label {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--c-dark-blue);
}
.cloud-example__text {
  margin: 0;
  color: var(--c-text);
  line-height: 1.8;
}

/* 食堂楽Pay: 2画像（アプリ画面 + 決済方法）を横並び。スマホでは縦積み */
.cloud-pair {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cloud-pair__item {
  margin: 0;
}
.cloud-pair__item img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cloud-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.cloud-cards--bottom {
  margin-bottom: 0;
}
.cloud-card {
  flex: 1;
  max-width: 18rem;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.cloud-card--bordered {
  border: 1px solid #30a1af;
  border-radius: 0.375rem;
}
.cloud-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #30a1af;
  margin-bottom: 0.5rem;
}
.cloud-card__img {
  margin-top: 0.75rem;
}
.cloud-card__img img {
  display: inline-block;
}

.cloud-qa {
  max-width: 58.75rem;
  margin: 2rem auto 0;
  padding: 1.5rem 0;
}
.cloud-qa__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cloud-qa__subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cloud-qa__list {
  list-style: none;
  padding: 0 0 1.5rem;
  line-height: 1.8;
}
.cloud-qa__list li {
  padding-bottom: 0.625rem;
}
.cloud-qa__bold {
  font-size: 1.125rem;
  font-weight: 700;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 48rem) {
  .section-pad { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }

  .product-hero { padding: 2rem 0; }
  .product-hero__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cloud-cards {
    flex-direction: column;
    align-items: center;
  }
  .cloud-card {
    max-width: 100%;
    width: 100%;
  }
  .product-hero__logo img { width: 10rem; }
  .product-hero__title { font-size: 1.375rem; }

  .anchor-nav {
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }
  .anchor-nav__item {
    flex: 1 1 33.333%;
  }
  .anchor-nav__link {
    font-size: 0.8125rem;
    line-height: 2.25rem;
    border-right: none;
  }
  .anchor-nav__item:first-child .anchor-nav__link {
    border-radius: 0.625rem 0 0 0;
  }
  .anchor-nav__item:last-child .anchor-nav__link {
    border-radius: 0 0 0.625rem 0;
  }
  .anchor-nav__item:nth-child(3) .anchor-nav__link {
    border-radius: 0 0.625rem 0 0;
  }
  .anchor-nav__item:nth-child(4) .anchor-nav__link {
    border-radius: 0 0 0 0.625rem;
  }

  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .photo-grid {
    flex-direction: column;
  }

  .compare-table {
    min-width: 40rem;
  }
  .compare-table--narrow {
    min-width: 28rem;
  }
  .compare-table--self {
    min-width: 34rem;
  }

  .auto-images {
    flex-direction: column;
  }

  .auto-flow__steps {
    flex-direction: column;
    gap: 4rem;
  }
  ol.auto-flow__steps li:not(:last-child)::after {
    /* 1. 位置を「右」から「下」へ移動 */
    right: auto;      /* PC版の右固定を解除 */
    left: 50%;        /* 中央へ */
    top: auto;        /* PC版の上固定を解除 */
    bottom: -3rem;  /* 画像の下側に配置 */
    transform: translateX(-50%); /* 左右中央揃えの補正 */

    /* 2. 三角形の向きを「右」から「下」へ変更 */
    border-left: 10px solid transparent;  /* 左右を透明にして */
    border-right: 10px solid transparent;
    border-top: 12px solid #30a1af;      /* 上側に色をつけて下を向かせる */
  }

  .auto-features__box {
    padding: 1.25rem 1.25rem;
  }

  .mgmt-intro {
    flex-direction: column;
  }
  .mgmt-intro__img {
    max-width: 100%;
  }

  .intro-case {
    flex-direction: column;
  }
  .intro-case__img {
    max-width: 100%;
  }
  .intro-photos {
    flex-direction: column;
  }
}

@media (max-width: 30rem) {
  .section-pad { padding: 2.5rem 0; }

  .anchor-nav {
    flex-direction: column;
  }
  .anchor-nav__link {
    border-right: 1px solid #fff;
    border-radius: 0 !important;
  }
  .anchor-nav__item:first-child .anchor-nav__link {
    border-radius: 0.625rem 0.625rem 0 0 !important;
  }
  .anchor-nav__item:last-child .anchor-nav__link {
    border-radius: 0 0 0.625rem 0.625rem !important;
  }

  .cta-buttons {
    flex-direction: column;
  }
  .cta-btn {
    width: 100%;
  }

  .product-card {
    width: calc(50% - 0.5rem);
  }
}

/* ============================================================
   ソフトウェア（クラウド食堂楽）：特長カード
   ※トップページの製品特長カード（.product-feature）と同じ見た目
   ============================================================ */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--c-light-bg);
  border-radius: 0.75rem;
  padding: 1.75rem;
  border: 1px solid rgba(208, 208, 208, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.feature-card__icon {
  font-size: 2rem;
  color: var(--c-dark-blue);
  margin-bottom: 0.75rem;
}
.feature-card__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--c-text);
}
.feature-card__text {
  font-size: 0.9375rem;
  color: #646464;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .feature-cards { grid-template-columns: 1fr; }
}

/* 精算システム概要: 左にテキスト＋カード / 右に図 の2カラム */
.overview-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.overview-split .policy-article__lead { margin-top: 0; }
.overview-split .feature-cards { margin-bottom: 0; }
.feature-cards--stack { grid-template-columns: 1fr; }
.overview-split__img img {
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .overview-split { grid-template-columns: 1fr; gap: 1.75rem; }
}
