@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: #30a1af;
  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 (特徴)
   ============================================================ */

.features {
  max-width: 60rem;
  margin: 0 auto;
}

.features__columns {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.features__left {
  flex: 1;
  min-width: 0;
}
.features__right {
  flex-shrink: 0;
  width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.features__chart {
  margin-bottom: 1.5rem;
}
.features__chart img {
  max-width: 100%;
}

.features__list {
  list-style: none;
  padding: 0;
  line-height: 1.8;
}
.features__heading {
  font-weight: 700;
  font-size: 1.125rem;
  color: #30a1af;
  padding: 1.25rem 0 0.5rem;
}
.features__heading::before {
  content: '■';
  color: #70bed2;
  font-size: 1.5rem;
  vertical-align: bottom;
  margin-right: 0.25rem;
}
.features__item {
  padding-left: 1.875rem;
}

/* ============================================================
   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: #06617f;
  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-shrink: 0;
  max-width: 50%;
}
.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 0.5rem;
}

/* Numbered flow steps (ol) */
ol.auto-flow__steps {
  counter-reset: flow-step;
}
ol.auto-flow__steps li::before {
  content: counter(flow-step) ". ";
  counter-increment: flow-step;
  font-weight: 700;
}

/* 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;
}

.intro-coming {
  text-align: center;
  font-size: 1.25rem;
  color: #646464;
  padding: 3rem 0;
}

/* ============================================================
   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
   ============================================================ */

.product-hero__actions {
  display: flex;
  gap: 0.625rem;
  margin-left: auto;
  flex-shrink: 0;
}
.hero-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e1e4e1;
  background: #06617f;
  border-radius: 0.25rem;
  letter-spacing: 0.05em;
  transition: opacity .2s;
}
.hero-btn:hover {
  opacity: 0.7;
  color: #e1e4e1;
}

.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-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;
  }
  .product-hero__actions {
    flex-wrap: wrap;
    justify-content: 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;
  }

  .features__columns {
    flex-direction: column;
  }
  .features__right {
    width: 100%;
  }
  .features__chart img {
    max-width: 20rem;
  }
  .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: 0.75rem;
  }

  .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);
  }
}
