/* =========================
  Base
========================= */
:root {
  --bg: #ffffff;
  --text: #000;
  --muted: #6b7280;

  --brand: #009999; /* ティール */
  --brand-dark: #0b7f7d;
  --brand-soft: #e7f5f3; /* 薄いミント */
  --mint-bg: #dfeee9; /* セクション背景のミント寄り */

  --primary: #f97316; /* オレンジ系ボタン */
  --primary-dark: #ea580c;

  --border: #e5e7eb;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

  --container: 980px;
  --container2: 1100px;

  --sp: 14px;
  --md: 16px;
  --lg: 18px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto,
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
}

p {
  margin: 0 0 var(--space-3);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 1em auto 2em auto;
}

.container2 {
  width: min(var(--container2), calc(100% - 32px));
  margin: 1em auto 2em auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  z-index: 9999;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

.green{color:var(--brand);}

/* =========================
  Header
========================= */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.85);
}

.site-header__inner {
  display: flex;
  align-items: center;
}

/* =========================
  Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0.7em 2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 3px solid rgba(14, 165, 163, 0.35);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

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

.btn-blue {
  background: var(--brand);
}

.btn-blue:hover {
  background: var(--brand-dark);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline {
  background: #fff;
  color: var(--primary-dark);
  border-color: rgba(249, 115, 22, 0.45);
}

.btn--outline:hover {
  border-color: rgba(249, 115, 22, 0.7);
}

/* =========================
  Section title
========================= */
.section-title {
  margin: 0 0 var(--space-4);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-title--center {
  text-align: center;
}

.section-title__accent {
  color: var(--brand);
  font-weight: 600;
  font-size: 200%;
}

/* =========================
  Hero
========================= */
.hero {
  position: relative;
  min-height: 340px;
  padding: 3em 0;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../images/bg-main.jpg") center/cover no-repeat;
  transform: scale(1.02);
}

.hero__overlay2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.22) 60%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 40px;
}

.hero__content {
  max-width: 850px;
  color: #fff;
}

.site-header__kicker {
  display: inline;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 0.5em 1em;
  background-color: #000;
  border-radius: 5px;
}

.hero__title {
  margin: 0.5em 0 var(--space-3);
  font-size: 50px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.hero__lead {
  margin: 0 0 var(--space-4);
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
  Badges
========================= */
.badges {
  padding: 18px 0 10px;
}

.badges__list {
  display: flex;
  gap: 10px;
  justify-content: left;
  flex-wrap: wrap;
  margin-top: 3em;
}

.badge {
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 5px;
  letter-spacing: 0.02em;
}

/* =========================
  Reasons
========================= */
.reasons {
  padding: var(--space-3) 0 var(--space-6);
}

.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}

.reason {
  padding: 6px 4px;
}

.reason__point {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--brand);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.1;
}

.reason__point span {
  display: inline-block;
  font-size: 44px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.reason__figure {
  margin: 0 auto 10px;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f3f4f6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.reason__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reason__title {
  margin: 1em 0;
  line-height: 1.5;
  font-size: 22px;
  font-weight: 600;
  text-align: left;
  color: var(--brand);
}

.reason__text {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  text-align: left;
}

.strong {
  font-weight: 600;
}

/* =========================
  Cases
========================= */
.cases {
  padding: var(--space-6) 0 var(--space-6);
  background: var(--mint-bg);
}

.cases__list {
  display: grid;
  gap: 32px;
}

.case {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.case__bar {
  background: var(--brand);
  padding: 10px 14px;
  text-align: center;
}

.case__label {
  color: #fff;
  padding: 0.8em 6em;
  font-size: 18px;
  background: url("../images/bg-case.png") center no-repeat;
  background-size: 100%;
}

.case__body {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 16px;
  padding: 16px;
}

.case__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.case__thumbs {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
}

.case__thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f3f4f6;
}

.case__dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.case__row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: start;
}

.case__row dt {
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 13px;
}

.case__row dd {
  margin: 0;
  font-size: 13px;
  color: #374151;
}

/* =========================
  Specs table
========================= */
.specs {
  padding: var(--space-6) 0 var(--space-6);
  background: #eef7f5;
}

.table-wrap {
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.specs-table thead th {
  background: rgba(14, 165, 163, 0.16);
  color: #0f3d3c;
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.specs-table tbody th,
.specs-table tbody td {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.specs-table tbody tr:last-child th,
.specs-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table tbody th {
  background: rgba(14, 165, 163, 0.06);
  width: 140px;
  font-weight: 600;
  color: #0f3d3c;
}

/* =========================
  Flow
========================= */
.flow {
  padding: var(--space-6) 0 var(--space-6);
  background: var(--mint-bg);
}

.flow__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 18px;
  align-items: start;
}

.flow__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f3f4f6;
}

.flow__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow__steps {
  display: grid;
  gap: 12px;
}

.flow-step {
  position: relative;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.flow-step::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid var(--brand);
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

.flow-step__num {
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.flow-step__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.flow-step__text {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================
  Contact
========================= */
.contact {
  padding: var(--space-6) 0 var(--space-6);
  background: #fff;
}

.contact-box {

}

.contact-box__lead {
  margin: 1.5em 0 var(--space-2);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.55;
}

.contact-box__sub {
  margin: 1em 0 var(--space-4);
  color: var(--text);
  font-size: 28px;
}

.contact-box__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
  Final CTA
========================= */
.final-cta {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background: url("../images/cta-bg.jpg") center/cover no-repeat;
}

.final-cta__overlay {
  position: absolute;
  inset: 0;
}

.final-cta__inner {
  position: relative;
  z-index: 2;
  color: #000;
  text-align: left;
}

.final-cta__title {
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
}

.final-cta__text {
  margin: 0 0 18px;
  font-size: 18px;
}

/* =========================
  Footer
========================= */
.site-footer {
  background: #0b2b2a;
  color: rgba(255, 255, 255, 0.8);
  padding: 16px 0;
}

.site-footer__inner {
  display: flex;
  justify-content: center;
}

.site-footer__copy {
  font-size: 12px;
}

/* =========================
  Responsive
========================= */
@media (max-width: 900px) {
  .reasons__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .reason__figure {
    width: min(360px, 85%);
  }

  .case__body {
    grid-template-columns: 1fr;
  }

  .flow__grid {
    grid-template-columns: 1fr;
  }

  .flow-step::after {
    display: none;
  }

  .hero__title {
    font-size: 40px;
  }

  .pcbr {
    display: none;
  }

  .btn {
    width: 90%;
    margin: 0.3em auto;
  }
}

@media (max-width: 520px) {
  .hero__inner {
    padding: 54px 0 34px;
  }

  .hero__title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .contact-box__lead {
    font-size: 28px;
  }

  .contact-box__sub {
    font-size: 16px;
  }

  .pcbr {
    display: none;
  }
}

/*--------------------------------------------------------------------------------
/* =========================
  CASES (Rebuild)
========================= */
.cases2 {
  padding: var(--space-6) 0 var(--space-6);
  background: var(--mint-bg);
}

.cases2__head {
  text-align: center;
  margin-bottom: 22px;
}

.cases2__title {
  margin: 0 0 6px;
  font-size: 34px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.cases2__subtitle {
  margin: 0;
  font-size: 14px;
  color: #374151;
  letter-spacing: 0.08em;
}

/* Card */
.case2 {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Top bar with diagonal accents */
.case2__topbar {
  background: #089a98;
}

.case2__topbar-inner {
  position: relative;
  padding: 18px 16px;
  display: grid;
  place-items: center;
}

.case2__topbar-inner::before,
.case2__topbar-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.18) 18%,
    transparent 18%,
    transparent 100%
  );
  opacity: 0.55;
}

.case2__topbar-inner::after {
  background: linear-gradient(
    225deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.18) 18%,
    transparent 18%,
    transparent 100%
  );
  opacity: 0.35;
}

.case2__casecode {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

/* Inner */
.case2__inner {
  padding: 22px 22px 26px;
}

.case2__client {
  margin: 0 0 6px;
  color: #374151;
  font-size: 14px;
}

.case2__heading {
  margin: 1em 0 1em 0  ;
  padding:0;
  font-size: 32px;
  font-weight: 600;
  line-height:1;
}

/* Layout: left image / right text */
.case2__grid {
  display: grid;
  grid-template-columns: 0.6fr 1.3fr;
  gap: 18px;
  align-items: start;
}

.case2__figure {
  margin: 0;
  background: #eef6f3;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.case2__figure img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Problem box */
.case2__problem {
  background: #dbecee;
  border-radius: 6px;
  padding: 14px 14px;
  margin-bottom: 14px;
}

.case2__problem-title {
  margin: 0 0 6px;
  font-size: 14px;
}

.case2__problem-text {
  margin: 0;
  font-size: 14px;
  color: #1f2937;
}

/* Solution list */
.case2__solution-title {
  margin: 0 0 10px;
  font-size: 15px;
}

.case2__list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.case2__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.case2__bullet {
  width: 0;
  height: 0;
  border-left: 10px solid var(--brand);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-top: 4px;
}

.case2__item-text {
  font-size: 14px;
  color: #111827;
}

.case2__item-text strong {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .cases2__title {
    font-size: 28px;
  }

  .case2__heading {
    font-size: 26px;
  }

  .case2__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .case2__inner {
    padding: 18px 16px 22px;
  }

  .case2__casecode {
    font-size: 22px;
  }

  .case2__heading {
    font-size: 22px;
  }
}
.case_hosoku{
    margin:1em 0;
    font-size:80%;
}
/* =========================
  Specs table (override)
========================= */
.specs {
  padding: var(--space-6) 0 var(--space-6);
  background: #fff;
}

.table-wrap {
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

/* ここが “min-w-[920px]” 相当 */
.specs-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

/* Head */
.specs-table thead th {
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-size: 110%;
  padding: 14px 18px; /* px-5 py-4 相当 */
  font-weight: 800;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

/* Body cells */
.specs-table tbody th,
.specs-table tbody td {
  padding: 14px 18px; /* px-5 py-4 相当 */
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top;
  background: #dbecee;
}

/* 左端（設備区分）を “見出し扱い” で強調 */
.specs-table tbody th {
  background: rgba(14, 165, 163, 0.06);
  color: #0f3d3c;
  font-weight: 800;
  width: 160px;
  white-space: nowrap;
}

/* 文字の濃淡（text-white/80 相当の “少し薄い” を提案デザインに寄せて再現） */
.specs-table tbody td:nth-child(3),
.specs-table tbody td:nth-child(4) {
  color: #4b5563; /* muted寄り */
}

/* zebra（スクショ風の読みやすさ） */
.specs-table tbody tr:nth-child(even) td {
  background: #eef7f5;
}

/* 最終行の罫線を消す */
.specs-table tbody tr:last-child th,
.specs-table tbody tr:last-child td {
  border-bottom: none;
}

/* キーボードフォーカス（table-wrapにtabindexがある前提） */
.table-wrap:focus-visible {
  outline: 3px solid rgba(14, 165, 163, 0.35);
  outline-offset: 3px;
}

/* =========================
  FLOW（Rebuild / arrow image overlay）
========================= */
.flow2 {
  padding: var(--space-6) 0 var(--space-6);
  background: var(--mint-bg);
}

.flow2__title {
  margin: 0 0 22px;
  text-align: center;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #111827;
}

.flow2__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.25fr;
  gap: 22px;
  align-items: start;
}

.flow2__figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}

.flow2__figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* steps */
.flow2__steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

/* card */
.flow2-step {
  position: relative;
  padding: 10px 22px;
  border-radius: 8px;
  color: #fff;

  /* ツートン背景 */
  background: linear-gradient(
    to right,
    #00b7b7 0%,
    #00b7b7 3.5em,
    var(--brand) 3.5em,
    var(--brand) 100%
  );

  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.flow2-step__heading {
  margin: 0 0 0px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.flow2-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 3.5em;
}

/* 右端の下向き矢印（画像を重ねる） */
.flow2-step__arrow {
  position: absolute;
  right: 26px;
  bottom: -42px; /* 下に少しはみ出させる */
  width: 52px; /* 矢印画像に合わせて調整 */
  height: auto;
  pointer-events: none;
}

.number {
  padding-right: 0.5em;
}

/* 最後は矢印を出さない */
.flow2-step--last .flow2-step__arrow {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .flow2__title {
  font-size: 42px;
  }

  .flow2__grid {
    grid-template-columns: 1fr;
  }

  .flow2-step__heading {
    font-size: 22px;
  }

  .flow2-step__arrow {
    right: 18px;
    width: 46px;
  }

  .flow2__figure {
    margin: 0 auto;
    width: 50%;
  }
}

@media (max-width: 520px) {
  .flow2-step {
    padding: 16px 16px;
  }

  .flow2-step__heading {
    font-size: 20px;
  }

  .flow2-step__arrow {
    right: 14px;
    bottom: -42px;
    width: 42px;
  }
}

/* ステップカードのレイヤー */
.flow2-step {
  position: relative;
  z-index: 1; /* カードは基本レイヤー */
  overflow: visible;
  position: relative;
  overflow: visible;
}

/* 矢印はカードより前 */
.flow2-step__arrow {
  position: absolute;
  z-index: 2; /* 矢印を最前面に */
  pointer-events: none;
}

/* 次のカードが矢印の下に潜るように */
.flow2-step + .flow2-step {
  z-index: 0; /* 次のカードを一段下げる */
}

/* ステップは全て position 必須 */
.flow2-step {
  position: relative;
  overflow: visible;
}

/* 矢印はカード内で最前面 */
.flow2-step__arrow {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.flow2 {
  position: relative;
  isolation: isolate;
}

.flow2__steps,
.flow2-step {
  overflow: visible !important;
}

.flow2-step:nth-child(1) {
  z-index: 50;
}

.flow2-step:nth-child(2) {
  z-index: 40;
}

.flow2-step:nth-child(3) {
  z-index: 30;
}

.flow2-step:nth-child(4) {
  z-index: 20;
}

.flow2-step:nth-child(5) {
  z-index: 10;
}

/* =========================
  Fade Up Animation
========================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

/* 表示状態 */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを減らす設定への配慮 */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================
  Specs Marquee（設備写真の自動スクロール）
========================= */
.specs-marquee{
  margin: 2em 0;
  padding: 14px 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eef7f5; /* specs系に寄せる */
  border: 1px solid rgba(0,0,0,.06);
}

.specs-marquee__track{
  display: flex;
  width: max-content;
  animation: specs-marquee-scroll 60s linear infinite; /* 速度：60s（お好みで） */
  will-change: transform;
}

.specs-marquee__list{
  display: flex;
  gap: 14px;
  padding: 0 14px;
  margin: 0;
  list-style: none;
}

.specs-marquee__item{
  flex: 0 0 auto;
  height: 220px; 
  width:auto;               /* 画像カード幅 */
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

.specs-marquee__item img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@keyframes specs-marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); } /* 2リスト合計の半分＝最初のリスト分 */
}

/* ホバー中は止めたい場合（必要なら有効化）*/
.specs-marquee:hover .specs-marquee__track{
  animation-play-state: paused;
}


@media (max-width: 900px){
  .specs-marquee__track{ animation-duration: 75s; } /* SPは少しゆっくり */
  .specs-marquee__item{ width: 180px; }
}
@media (max-width: 520px){
  .specs-marquee__item{ width: 150px; }
}

/* 動きに弱い方向け配慮 */
@media (prefers-reduced-motion: reduce){
  .specs-marquee__track{
    animation: none;
    transform: none;
  }
}
/* =========================
  Specs Marquee with Caption
========================= */

/* item は横幅可変のまま */
.specs-marquee__item{
  flex: 0 0 auto;
  padding: 10px 12px 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

/* figure */
.specs-marquee__figure{
  margin: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
}

/* 画像：高さだけ揃える */
.specs-marquee__figure img{
  height: 140px;            /* ← 揃えたい高さ */
  width: auto;
  max-width: 260px;         /* 横に伸びすぎ防止（任意） */
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #f3f4f6;
  border-radius: 6px;
}

/* 注釈 */
.specs-marquee__caption{
  font-size: 12px;
  line-height: 1.4;
  color: #374151;
  text-align: center;
  white-space: nowrap;      /* 1行に収めたい場合 */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SP */
@media (max-width: 900px){
  .specs-marquee__figure img{
    height: 120px;
    max-width: 220px;
  }
}
@media (max-width: 520px){
  .specs-marquee__figure img{
    height: 100px;
    max-width: 200px;
  }
}
/* =========================
  REASONS：画像ホバー拡大
========================= */

/* はみ出し防止（すでに overflow: hidden; なら不要だが安全のため） */
.reason__figure{
  overflow: hidden;
}

/* 画像の基本状態 */
.reason__img{
  transition: transform .45s ease;
  will-change: transform;
  transform: scale(1); /* 明示しておくと安定 */
}

/* カード or 画像にマウスオーバーで拡大 */
.reason:hover .reason__img,
.reason__figure:hover .reason__img{
  transform: scale(1.2);
}

/* タッチ端末では hover を無効化（誤作動防止） */
@media (hover: none){
  .reason:hover .reason__img,
  .reason__figure:hover .reason__img{
    transform: none;
  }
}
/* =========================
  Pick Up（Cases page）
  追加スタイル
========================= */
.pickup__title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #111827;
}

/* tags（黒いピル） */
.case2__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.case2__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 1em;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 見出しの2行目（小さめ） */
.case2__subhead {
  display: inline-block;
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}

/* 点線の区切り（スクショのドット） */
.case2__divider {
  border: 0;
  border-top: 3px dotted rgba(0, 0, 0, 0.35);
  margin: 18px 0 16px;
}

/* 成果ブロック */
.case2__result {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;
}
.case2__result-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.case2__result-text {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .case2__subhead {
    font-size: 16px;
  }
  .case2__result {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .case2__result-label {
    width: 88px;
  }
}

/* =========================
  Applications
========================= */
.apps {
  padding: var(--space-6) 0;
}

.apps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 3em;
}

.app-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.app-card__media {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}

.app-card__media img {
  width: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.35s ease;
}

/* hover */
.app-card:hover .app-card__media img {
  transform: scale(1.05);
}

.app-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.01em;
 text-align:center;
}

.app-card__list {
  margin: 0;
  padding-left: 1em;
  display: grid;
  gap: 8px;
  color: #111827;
  font-size: 13px;
  line-height: 1.5;
}

.app-card__list li {
  margin: 0;
  list-style: disc;
  padding-bottom: 0.3em;
}

/* Responsive */
@media (max-width: 980px) {
  .apps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .app-card__title {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .apps__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
.app-card {
    width:70%;
    margin:0 auto;
}

  .app-card__title {
    font-size: 20px;
  }
}
/* =========================
  Full Width Image
========================= */
.full-image {
  width: 100%;
  margin: 0;
}

.full-image__inner {
  width: 100%;
  height: clamp(320px, 45vw, 520px); /* 高さは可変で美しく */
  overflow: hidden;
}

.full-image__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* =========================
  TECH COLUMN
========================= */
.tech-column {
  padding: var(--space-6) 0;
  background: #f3f7f6;
}

.tech-column__head {
  text-align: center;
  margin-bottom: 1em;
}

.tech-column__subtitle {
  margin: -1.5em 0 3em;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* Grid */
.tech-column__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.tech-column__card {
  background: #fff;
  border-radius: 10px;
  padding: 22px 22px 26px;
  border: 2px solid rgba(8, 154, 152, 0.4);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-column__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  line-height: 1.4;
}

.tech-column__text {
  margin: 0 0 20px;
  font-size: 14px;
  color: #374151;
  line-height: 1.8;
}

/* Link button */
.tech-column__link {
  align-self: flex-start;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
  width:100%;
  text-align:center;
}

.tech-column__link:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .tech-column__grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
  Full Image (Zoom on Scroll)
========================= */
.full-image {
  width: 100%;
  margin: 0;
}

.full-image__inner {
  width: 100%;
  height: clamp(320px, 45vw, 520px);
  overflow: hidden;
  position: relative;
}

/* 画像 */
.full-image__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* ★ ここが重要 */
  transform: scale(1);
  transition: transform 1.6s ease-out;
  will-change: transform;
}

/* スクロール到達後のズーム */
.full-image.is-active .full-image__inner img {
  transform: scale(1.08);
}
