@charset "UTF-8";
/*
Theme Name: itsmoBPO
Description: 丸紅グループ itsmoBPO サービスLP用WordPressテーマ
Author: kibidango
Version: 1.0.0
*/

/* =========================================================
   Reset / Base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.7;
  color: #0f172a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* PC では sp-only の改行を無効化 */
.sp-only { display: none; }

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =========================================================
   Variables
   ========================================================= */
:root {
  --color-primary: #1959e1;
  --color-primary-dark: #0f172a;
  --color-accent: #f97316;
  --color-teal: #2ca6b4;
  --color-text: #0f172a;
  --color-text-light: #0f172a;
  --color-bg-light: #f0f6ff;
  --color-border: #e5e7eb;
  --container: 1200px;
  --container-narrow: 1080px;
  --header-h: 80px;
}


/* =========================================================
   Layout helpers
   ========================================================= */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, var(--container-narrow));
  margin-inline: auto;
}

.section {
  padding-block: 80px;
}

.section-title {
  font-size: 3.6rem;
  text-align: center;
  margin: 0 0 48px;
  font-weight: 700;
  line-height: 1.4;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  height: var(--header-h);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  gap: 32px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__logo img {
  width: auto;
  height: 50px;
}

.site-header__tagline {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0;
}

.site-header__nav {
  margin-left: auto;
}

.site-header__nav ul {
  display: flex;
  gap: 23px;
}

.site-header__nav a {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color .2s;
}

.site-header__nav a:hover {
  color: var(--color-primary);
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: opacity .2s;
}

.header-btn:hover { opacity: .85; }
.header-btn--blue   { background: var(--color-primary); }
.header-btn--orange { background: var(--color-accent); }

.site-header__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

/* =========================================================
   FV
   ========================================================= */
.fv {
  position: relative;
  aspect-ratio: 1920 / 720;
  background-color: #eaf1ff;
  background-image: url(assets/images/itsmobpo-fv-bg-pc.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0;
  display: flex;
  align-items: center;
}

/* SP MV — 別画像差し替え（共有後 itsmobpo-fv-bg-sp.webp を assets/images/ に配置） */
@media (max-width: 768px) {
  .fv {
    background-image: url(assets/images/itsmobpo-fv-bg-sp.webp);
  }
}

.fv__inner {
  position: relative;
  width: min(100% - 40px, 1620px);
  margin: 0 auto;
  padding-left: clamp(30px, 3.13vw, 60px);
}

.fv__title {
  font-size: clamp(3.4rem, 3.33vw, 6.4rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 clamp(15px, 1.46vw, 28px);
  letter-spacing: .01em;
}

.fv__title-accent {
  color: var(--color-primary);
}

.fv__lead {
  font-size: clamp(1.4rem, 1.35vw, 2.6rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
  margin: 0 0 clamp(20px, 2.08vw, 40px);
}

/* Stats */
.fv-stats {
  display: flex;
  gap: clamp(5px, 0.52vw, 10px);
  margin: 0 0 clamp(20px, 1.88vw, 36px);
  flex-wrap: wrap;
}

.fv-stats__item {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.73vw, 14px);
  background: #fff;
  border-radius: 12px;
  padding: clamp(12px, 1.04vw, 20px);
  min-width: clamp(140px, 11.46vw, 220px);
  box-shadow: 0 0 10px rgba(25, 89, 225, 0.3);
}

.fv-stats__icon {
  flex-shrink: 0;
  width: auto;
  height: clamp(36px, 3.13vw, 60px);
}

.fv-stats__body {
  display: flex;
  flex-direction: column;
}

.fv-stats__label {
  font-size: clamp(1rem, 0.83vw, 1.6rem);
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}

.fv-stats__value {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 2px;
  font-size: clamp(1.1rem, 0.94vw, 1.8rem);
  font-weight: 500;
  color: #000;
}

.fv-stats__unit {
  display: inline-block;
  line-height: 1.15;
  text-align: left;
  font-size: 1.2rem;
  padding-bottom: 4px;
}

.fv-stats__value em {
  font-style: normal;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: clamp(2.4rem, 2.19vw, 4.2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

/* CTA buttons */
.fv-cta {
  display: flex;
  gap: clamp(10px, 1.04vw, 20px);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: clamp(48px, 4.17vw, 80px);
  width: clamp(240px, 21.88vw, 420px);
  max-width: 100%;
  border-radius: 999px;
  border: clamp(2px, 0.21vw, 4px) solid #fff;
  color: #fff;
  font-size: clamp(1.2rem, 1.04vw, 2.0rem);
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
  position: relative;
}

.btn span { padding-right: 8px; }

.btn__arrow {
  position: absolute;
  right: clamp(10px, 0.83vw, 16px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(28px, 2.08vw, 40px);
  height: clamp(28px, 2.08vw, 40px);
  border-radius: 50%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: clamp(12px, 0.94vw, 18px) clamp(12px, 0.94vw, 18px);
}

.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn--orange { background: var(--color-accent); }
.btn--blue   { background: var(--color-primary); }

/* 矢印アイコンはボタンの色に合わせる */
.btn--orange .btn__arrow {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14'/><path d='m13 5 7 7-7 7'/></svg>");
}
.btn--blue .btn__arrow {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231959e1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14'/><path d='m13 5 7 7-7 7'/></svg>");
}

/* SP用 左側アイコン（DL/メール） — PCでは非表示 */
.btn__icon {
  display: none;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.btn__icon--download {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' y1='15' x2='12' y2='3'/></svg>");
}

.btn__icon--mail {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>");
}

/* SP用 MV画像 — PCでは非表示 */
.fv__mv-sp {
  display: none;
}

/* =========================================================
   Logo marquee
   ========================================================= */
.logo-marquee {
  background: #fff;
  padding: 32px 0;
  overflow: hidden;
}

.logo-marquee .swiper {
  overflow: hidden;
}

.logo-marquee .swiper-wrapper {
  transition-timing-function: linear !important;
  align-items: center;
}

.logo-marquee .swiper-slide {
  width: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-marquee .swiper-slide img {
  height: 60px;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: grayscale(0);
}

/* =========================================================
   Footer (skeleton)
   ========================================================= */
.site-footer {
  background: var(--color-primary-dark);
  color: #fff;
  padding-block: 40px;
  text-align: center;
}

/* =========================================================
   Section styles placeholder — each section is filled
   incrementally below.
   ========================================================= */

/* --- 1. First View --- */

/* --- 2. itsmoBPOとは --- */
.section-eyebrow {
  text-align: center;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-primary);
  margin: 0 0 12px;
}

.about {
  background: #f0f6ff;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.about__image img {
  margin: 0 auto;
  max-height: 480px;
  object-fit: contain;
}

.about__text p {
  font-size: 2.0rem;
  line-height: 2;
  margin: 0 0 20px;
}

.about__text p:last-child { margin-bottom: 0; }
.about__text strong { color: var(--color-primary); font-weight: 700; }

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__image img { max-height: 320px; }
  .about__text p { font-size: 1.5rem; line-height: 1.85; }
  .section-eyebrow { font-size: 1.35rem; }
}

/* --- 3. お悩み --- */
.troubles {
  background: #ffffff;
  padding-bottom: 120px;
  position: relative;
}

.troubles__accent {
  color: var(--color-primary);
}

.troubles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 0 0 48px;
}

.trouble {
  text-align: center;
}

.trouble__img {
  height: 200px;
  margin: 0 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.trouble__img img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.trouble__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.6;
  color: #0f172a;
  margin: 0 0 16px;
  text-align: left;
}

.trouble__desc {
  font-size: 1.8rem;
  line-height: 1.85;
  color: #0f172a;
  margin: 0;
  text-align: left;
}

.troubles__lead {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.troubles__pill {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 0;
  font-size: 3.4rem;
}

.troubles__arrow {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 36px solid transparent;
  border-right: 36px solid transparent;
  border-top: 30px solid #f97316;
}

@media (max-width: 768px) {
  .troubles__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .trouble__img { height: 160px; }
  .trouble__title { font-size: 2.0rem; }
  .trouble__desc { font-size: 1.35rem; }
  .troubles__lead { font-size: 2.4rem; }
  .troubles__pill { font-size: 2.4rem; padding: 2px 12px; }
  .troubles__arrow {
    border-left-width: 24px;
    border-right-width: 24px;
    border-top-width: 22px;
  }
}

/* --- 4a. サービスフロー --- */
.service-flow {
  background: #f0f6ff;
  padding-top: 100px;
}

.flow-card {
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  padding-bottom: 60px;
  margin-bottom: 60px;
  position: relative;
}

/* 区切り線なし */
.flow-card + .flow-card { padding-top: 0; }

.flow-card__body { padding-top: 8px; }

.flow-card__badge {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  font-size: 2.0rem;
  padding: 4px 22px;
  border-radius: 8px;
  margin-bottom: 20px;
  letter-spacing: .12em;
}

.flow-card__title {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5;
}

.flow-card__desc {
  font-size: 1.8rem;
  line-height: 2;
  color: var(--color-text);
  margin: 0 0 24px;
}

.flow-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flow-card__tags li {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 4px 18px;
  border-radius: 999px;
}

.flow-card__img {
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 420 / 280;
}

.flow-card__img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 16px;
}

/* セクション別カラー */
.flow-card--intro   .flow-card__badge,
.flow-card--intro   .flow-card__tags li { background: #1959e1; }
.flow-card--ops     .flow-card__badge,
.flow-card--ops     .flow-card__tags li { background: #f97316; }
.flow-card--dispose .flow-card__badge,
.flow-card--dispose .flow-card__tags li { background: #2ca6b4; }

.flow-footnote {
  font-size: 1.6rem;
  color: var(--color-text-light);
  text-align: center;
  margin: -40px 0 48px;
}

/* Inline CTA strip — グラデーション帯 */
.inline-cta {
  background: linear-gradient(102.5deg, #2ca6b4 0%, #1959e1 100%);
  border-radius: 20px;
  min-height: 240px;
  padding: 0 60px;
  margin-top: 96px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  color: #fff;
  position: relative;
}

.inline-cta__cover {
  margin-top: -70px;
  margin-bottom: -16px;
  margin-left: -30px;
}

.inline-cta__cover img {
  width: 330px;
  height: auto;
  max-width: 100%;
}

.inline-cta__copy {
  font-size: 3.0rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 20px;
  text-align: center;
}

.inline-cta .btn--narrow {
  width: 420px;
  max-width: 100%;
  min-width: 0;
  height: 70px;
  font-size: 2.0rem;
  margin: 0 auto;
  display: flex;
  border-width: 2px;
}

@media (max-width: 768px) {
  .service-flow { padding-top: 56px; }
  .flow-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
  .flow-card + .flow-card { padding-top: 40px; }
  .flow-card__badge { font-size: 1.5rem; padding: 4px 16px; }
  .flow-card__title { font-size: 2.4rem; }
  .flow-card__desc { font-size: 1.35rem; }
  .flow-card__tags li { font-size: 1.2rem; }
  .flow-card__img {
    padding: 0;
    aspect-ratio: auto;
  }
  .flow-card__img img {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
  }
  .flow-footnote { font-size: 1.0rem; }

  .inline-cta {
    grid-template-columns: 1fr;
    padding: 24px;
    text-align: center;
  }
  .inline-cta__cover img {
    width: auto;
    max-width: 100%;
    max-height: 160px;
    height: auto;
    margin: 0 auto;
  }
  .inline-cta__copy { font-size: 2.2rem; }
  .inline-cta .btn--narrow {
    width: 100%;
    min-width: 0;
    max-width: 320px;
    margin: 0 auto;
    font-size: 1.5rem;
  }
}

/* --- 4. 選ばれる理由 --- */
.reasons {
  background: #ffffff;
}

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

.reason-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.reason-card__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1959e1;
  margin: 0 0 24px;
  min-height: 60px;
  text-align: center;
}

.reason-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  margin: 0 0 24px;
  position: relative;
}

.reason-card__media--logo img { max-height: 140px; width: auto; }
.reason-card__media--icon img { max-height: 160px; width: auto; }

/* Marubeniロゴだけ横幅を抑える */
.reason-card__media img[src*="itsmobpo-reason-marubeni"] {
  max-width: 200px;
  max-height: 110px;
}

.reason-card__sub {
  position: absolute;
  bottom: 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.reason-card__desc {
  font-size: 1.8rem;
  line-height: 1.85;
  color: var(--color-text-light);
  margin: 0;
  flex: 1;
}

@media (max-width: 1024px) {
  .reasons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .reasons__grid { grid-template-columns: 1fr; gap: 20px; }
  .reason-card { padding: 24px 32px; }
  .reason-card__title { font-size: 2.0rem; min-height: 0; }
  .reason-card__media {
    height: auto;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
  }
  .reason-card__media--logo img,
  .reason-card__media--icon img { max-height: 130px; }
  .reason-card__desc { font-size: 1.35rem; }
  .reason-card__sub {
    position: static;
    font-size: 1.0rem;
    text-align: center;
    display: block;
    margin-top: 4px;
  }
}

/* --- 5. 発注例 --- */
.orders {
  background: #f0f6ff;
}

.orders__lead {
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.85;
  color: var(--color-text);
  margin: -24px 0 48px;
}

.orders__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.plan {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.plan__name {
  color: #fff;
  font-size: 2.0rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding: 18px 16px;
  line-height: 1.3;
}

.plan__items {
  padding: 24px 28px;
  flex: 1;
}

.plan__items li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--color-text);
}

.plan__items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Plan color variants */
.plan--blue   { border-color: #1959e1; }
.plan--blue   .plan__name { background: #1959e1; }
.plan--blue   .plan__items li::before { background: #1959e1; }

.plan--orange { border-color: #f97316; }
.plan--orange .plan__name { background: #f97316; }
.plan--orange .plan__items li::before { background: #f97316; }

.plan--teal   { border-color: #2ca6b4; }
.plan--teal   .plan__name { background: #2ca6b4; }
.plan--teal   .plan__items li::before { background: #2ca6b4; }

.orders__note {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.85;
  color: #1959e1;
  margin: 32px 0 48px;
}

@media (max-width: 768px) {
  .orders__lead { font-size: 1.35rem; margin: 0 0 28px; }
  .orders__lead br { display: none; }
  .orders__grid { grid-template-columns: 1fr; gap: 16px; }
  .plan__name { font-size: 1.5rem; padding: 14px 12px; }
  .plan__items { padding: 16px 20px; }
  .plan__items li { font-size: 1.35rem; }
  .orders__note { font-size: 2.0rem; }
}

/* --- 5x legacy (pricing) --- */

/* --- 6. 導入事例 --- */
.cases {
  background: #ffffff;
}

.cases__lead {
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.85;
  color: var(--color-text);
  margin: -24px 0 48px;
}

.cases-slider {
  position: relative;
  padding: 0;
}

.cases-slider .swiper {
  overflow: visible;
  padding-bottom: 50px;
}

.cases-slider .swiper-wrapper {
  align-items: stretch;
}

.cases-slider .swiper-slide {
  height: auto;
  display: flex;
}

.case-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  height: 100%;
}

.case-card__head {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 30px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  align-items: stretch;
}

.case-card__logo {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

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

.case-card__title {
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 16px;
}

.case-card__company {
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 16px;
}

.case-card__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.case-card__meta li {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

.case-card__body { display: grid; gap: 20px; }

.case-card__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: start;
}

.case-card__badge {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: Inter, "Noto Sans JP", sans-serif;
  color: #fff;
  text-align: center;
  padding: 2px 18px;
  border-radius: 999px;
  letter-spacing: .03em;
}

.case-card__badge--before { background: #1959e1; }
.case-card__badge--after  { background: #f97316; }

.case-card__row p {
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

/* Swiper navigation — 黒丸＋白矢印 */
.cases-slider .swiper-button-prev,
.cases-slider .swiper-button-next {
  width: 50px;
  height: 50px;
  background: #0f172a;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  top: 50%;
  margin-top: -25px;
  --swiper-navigation-size: 18px;
  --swiper-navigation-color: #ffffff;
}

.cases-slider .swiper-button-prev { left: -85px; }
.cases-slider .swiper-button-next { right: -85px; }

.cases-slider .swiper-button-prev::after,
.cases-slider .swiper-button-next::after {
  font-weight: 700;
}

.cases-slider .swiper-pagination-bullet {
  background: #c7d2fe;
  opacity: 1;
}

.cases-slider .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

.inline-cta--cases { margin-top: 56px; }

@media (max-width: 768px) {
  .cases-slider { padding: 0; }
  .case-card { padding: 20px; }
  .case-card__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cases__lead { font-size: 1.35rem; }
  .case-card__title { font-size: 1.5rem; }
  .case-card__company { font-size: 1.3rem; }
  .case-card__meta li { font-size: 1.1rem; }
  .case-card__badge { font-size: 1.1rem; }
  .case-card__row { grid-template-columns: 1fr; gap: 6px; }
  .case-card__row p { font-size: 1.35rem; }
  .cases-slider .swiper-button-prev,
  .cases-slider .swiper-button-next { display: none; }
}

/* --- 7. FAQ --- */
.faq { background: #f0f6ff; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.faq-item__q {
  display: grid;
  grid-template-columns: 40px 1fr 32px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--color-text);
  position: relative;
}

.faq-item__icon {
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  line-height: 1;
}

.faq-item__icon--a { color: var(--color-accent); }

.faq-item__toggle {
  position: relative;
  width: 20px;
  height: 20px;
  justify-self: end;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
  content: '';
  position: absolute;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform .25s;
}

.faq-item__toggle::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-item__toggle::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.is-open .faq-item__toggle::after { transform: scaleY(0); }

.faq-item__a {
  display: none;
  padding: 0 28px 22px 80px;
}

.faq-item.is-open .faq-item__a { display: block; }

.faq-item__a p {
  font-size: 1.8rem;
  line-height: 1.85;
  color: var(--color-text);
  margin: 0;
}

/* --- 8. 資料DL / フォーム --- */
.dl-form {
  background: linear-gradient(102.5deg, #2ca6b4 0%, #1959e1 100%);
  position: relative;
}

.dl-form .section-eyebrow,
.dl-form .section-title {
  color: #ffffff;
}

.anchor-offset {
  position: absolute;
  top: -100px;
  visibility: hidden;
}

.dl-form__lead {
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.85;
  margin: -24px 0 48px;
  color: #ffffff;
}

.dl-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.dl-form__intro,
.dl-form__box {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.dl-form__intro-head {
  background: #1959e1;
  color: #fff;
  padding: 10px 0;
  font-size: 2.0rem;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  margin-bottom: 12px;
}

.dl-form__cover {
  width: 100%;
  height: 240px;
  object-fit: contain;
  border-radius: 8px;
}

.dl-form__bullets {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.dl-form__bullets-title {
  font-size: 2.0rem;
  font-weight: 700;
  color: #1959e1;
  margin: 0 0 8px;
  text-align: left;
}

.dl-form__bullets li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 1.8rem;
  color: var(--color-text);
}

.dl-form__bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}


.form-row { margin-bottom: 20px; }

.form-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-required {
  display: inline-block;
  background: #e85656;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: .02em;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"] {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1.5rem;
  font-family: inherit;
  background: #fff;
  transition: border-color .2s;
}

.form-row input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(25, 89, 225, 0.15);
}

.form-note {
  font-size: 1.4rem;
  color: var(--color-text-light);
  margin: 16px 0 12px;
  text-align: center;
}

/* 個人情報の取り扱いについて */
.form-privacy {
  margin: 24px 0 12px;
}

.form-privacy__title {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: #0f172a;
  line-height: 1.5;
}

.form-privacy__box {
  max-height: 120px;
  overflow-y: auto;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #f8fafc;
  font-size: 1.3rem;
  line-height: 1.75;
  color: var(--color-text);
}

.form-privacy__box p {
  margin: 0 0 12px;
}

.form-privacy__box p:last-child {
  margin-bottom: 0;
}

.form-privacy__box strong {
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}

/* CF7 エラーメッセージ */
.wpcf7-not-valid-tip,
.wpcf7-response-output {
  font-size: 1.4rem;
}

.form-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.6rem;
  margin-bottom: 24px;
  cursor: pointer;
}

.form-submit {
  text-align: center;
}

.form-submit .btn {
  cursor: pointer;
}

/* --- 9. 会社概要 --- */
.company { background: #fff; }


.company-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin: 0 auto 48px;
}

.company-logos__item {
  background: #fff;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logos__item img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--color-border);
}

.company-list {
  margin: 0;
  padding: 0;
}

.company-list li {
  position: relative;
  padding: 2px 0 2px 16px;
  list-style: none;
}

.company-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  top: 2px;
}

.company-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--color-border);
}

.company-row dt {
  font-weight: 500;
  color: var(--color-text);
}

.company-row dd {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .faq-item__q { padding: 16px 18px; font-size: 1.5rem; }
  .faq-item__icon { font-size: 1.65rem; }
  .faq-item__a { padding: 0 18px 18px; }
  .faq-item__a p { font-size: 1.35rem; }

  .dl-form__lead { font-size: 1.35rem; margin: 0 0 28px; }
  .dl-form__lead br { display: none; }
  .dl-form__grid { grid-template-columns: 1fr; gap: 24px; }
  .dl-form__intro,
  .dl-form__box { padding: 24px 20px; }
  .dl-form__cover { max-width: 240px; margin: 0 auto; display: block; height: 220px; }
  .dl-form__intro-head { font-size: 1.5rem; }
  .dl-form__bullets-title { font-size: 1.5rem; }
  .dl-form__bullets li { font-size: 1.35rem; }
  .form-label { font-size: 1.2rem; }
  .form-required { font-size: 1.2rem; }
  .form-note { font-size: 1.05rem; }
  .form-agree { font-size: 1.2rem; }
  .form-privacy__title { font-size: 1.2rem; }
  .form-privacy__box { font-size: 1.1rem; padding: 12px 14px; max-height: 180px; }

  .company-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 8px;
  }
  .company-row dt { font-size: 1.3rem; color: var(--color-text-light); }
  .company-row dd { font-size: 1.35rem; }

  /* SP: 会社概要タイトル下の画像は縦並び */
  .company-logos {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 auto 32px;
  }
  .company-logos__item {
    padding: 24px 16px;
    min-height: 100px;
  }
  .company-logos__item img { max-height: 56px; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .site-header__tagline { display: none; }
  .site-header__nav ul { gap: 16px; }
  .site-header__nav a { font-size: 1.4rem; }
  .header-btn { padding: 0 16px; font-size: 1.4rem; height: 44px; }
  .section-title { font-size: 3.0rem; }

  /* Header → burger */
  .site-header__nav,
  .site-header__cta {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: #fff;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(-120%);
    transition: transform .3s;
    z-index: 99;
    display: flex;
  }
  .site-header__nav { padding-bottom: 0; }
  .site-header__cta {
    top: auto;
    bottom: 0;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    transform: translateY(120%);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.12);
    z-index: 99;
  }
  .site-header__cta.is-visible { transform: translateY(0); }
  .site-header__cta .header-btn { flex: 1 1 0; }
  .site-header__nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-header__nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.5rem;
  }
  .site-header.is-nav-open .site-header__nav {
    transform: translateY(0);
  }
  .header-btn { width: 100%; }
  .site-header__burger { display: flex; margin-left: auto; }
  .site-header.is-nav-open .site-header__burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .site-header.is-nav-open .site-header__burger span:nth-child(2) {
    opacity: 0;
  }
  .site-header.is-nav-open .site-header__burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .site-header__burger span { transition: transform .3s, opacity .3s; }

  /* FV */
  .fv { min-height: auto; padding: 64px 0 56px; }
  .fv__inner {
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .fv__title { font-size: 4.8rem; }
  .fv__lead { font-size: 2.0rem; }
  .fv-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
  .fv-stats__item { min-width: 0; }
}

@media (max-width: 768px) {
  body { font-size: 1.35rem; }
  .section { padding-block: 56px; }
  .section-title { font-size: 2.7rem; margin-bottom: 32px; }
  .container,
  .container-narrow {
    width: calc(100% - 40px);
  }

  /* SP: 本文系はすべて左寄せ */
  .orders__lead,
  .orders__note,
  .cases__lead,
  .dl-form__lead,
  .form-note,
  .form-agree {
    text-align: left;
    justify-content: flex-start;
  }

  /* SP: お悩みリードはセンタリング維持 */
  .troubles__lead {
    text-align: center;
    justify-content: center;
  }

  /* SP: お悩みカードタイトルは中央揃え + 改行 */
  .sp-only { display: inline; }
  .trouble__title {
    text-align: center;
  }

  .site-header { height: 64px; }
  :root { --header-h: 64px; }
  .site-header__inner { padding: 0 16px; gap: 12px; }
  .site-header__logo img { height: 36px; }

  /* FV: SP — 上部にMV画像、下に白エリア */
  .fv {
    background-image: none;
    background-color: #fff;
    padding: 0 0 32px;
    min-height: auto;
    aspect-ratio: auto;
    display: block;
  }
  .fv__mv-sp {
    display: block;
    margin: 0;
  }
  .fv__mv-sp img {
    display: block;
    width: 100%;
    height: auto;
  }
  .fv__inner {
    padding: 0 20px;
    width: 100%;
    margin-top: -460px;
    position: relative;
    z-index: 2;
  }
  .fv__title {
    font-size: 2.6rem;
    line-height: 1.45;
    margin: 0 0 16px;
    text-align: left;
  }
  .fv__lead {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: left;
  }
  .fv__lead br { display: inline; }

  /* 実績バッジ — 3カラム横並び（縦並びの数字/単位） */
  .fv-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }
  .fv-stats__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 6px;
    gap: 6px;
    min-width: 0;
  }
  .fv-stats__icon { height: 36px; }
  .fv-stats__body { align-items: center; }
  .fv-stats__label { font-size: 1.2rem; text-align: center; }
  .fv-stats__value { font-size: 1.3rem; }
  .fv-stats__value em { font-size: 3.2rem; }

  /* CTA — 縦並び + 左アイコン */
  .fv-cta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 360px;
    height: 60px;
    font-size: 1.6rem;
    margin: 0 auto;
    border-width: 2px;
    gap: 12px;
    justify-content: center;
  }
  .btn__icon { display: inline-block; }
  .btn__arrow { display: none; }
  .btn span { padding-right: 0; }

  .logo-marquee { padding: 20px 0; }
  .logo-marquee .swiper-slide img { height: 40px; }
}

/* タブレット（769〜1024px）— FV調整: aspect-ratio解除/左寄せ/3カラム均等 */
@media (max-width: 1024px) and (min-width: 769px) {
  .fv {
    aspect-ratio: auto;
    min-height: 520px;
    padding: 48px 0;
    align-items: center;
  }
  .fv__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 24px;
    padding-right: 24px;
  }
  .fv-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
  .fv-stats__item { min-width: 0; }
}
