@charset "UTF-8";
/* ==========================================================================
   三和交通 M&A仲介 LP  /service/ma_dx/
   - Figma(PC: 1400px キャンバス / コンテンツ幅 960px) を正本として実装
   - Breakpoints（既存LP「AI会社説明会」の PC/SP 切替 960px に合わせた仮値）
       PC        : 1100px 以上   … Figma 準拠（1400px キャンバス）
       PC narrow : 960〜1099px   … PC レイアウトを流動的に縮小
       SP        : 959px 以下    … Figma に SP デザインなし（設計案）
         └ 600px 以上で 2 カラム化など、800px 以上で理由を 3 カラム化
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --c-red: #d02d28;
  --c-text: #1a1a1a;
  --c-gray: #666;
  --c-line: #d1d1d1;
  --c-bg-light: #f9f9f9;
  --c-bg-cell: #f3f3f3;
  --c-bg-note: #f5f5f5;
  --c-black: #000;
  --c-footer: #333;

  --ff-gothic: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "Yu Gothic Medium", "YuGothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  --ff-mincho: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "ヒラギノ明朝 ProN W3", "Yu Mincho", "YuMincho", "Noto Serif CJK JP", "Noto Serif JP", "MS PMincho", serif;

  --inner: 960px;
  --gutter: 24px;
  --section-gap: 100px;
}

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

html {
  scroll-padding-top: 50px; /* 固定ヘッダー分（既存LPと同値） */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-gothic);
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, small { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; }
small { font-size: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.u-accent { color: var(--c-red); }
.u-line { display: block; }
.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.c-skip {
  position: absolute;
  top: 0; left: 0;
  z-index: 1000;
  padding: 8px 16px;
  color: #fff;
  background: var(--c-red);
  transform: translateY(-100%);
}
.c-skip:focus { transform: none; }

/* 表示アニメーション（JS 有効時のみ。控えめなフェードアップ） */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .js-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .js-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.l-inner {
  width: min(var(--inner), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* Header ------------------------------------------------------------------ */
.l-header {
  position: relative;
  z-index: 10;
  padding-top: 50px; /* 固定バー(50px)分のスペーサー */
}

.l-header__bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 50px;
  background: var(--c-black);
}
.l-header__bar .l-inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.l-header__logo { display: block; line-height: 0; }
.l-header__logo:hover { opacity: .8; }
.l-header__logo img { width: 177px; height: 20px; }

.l-nav { background: #fff; }
.l-nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 40px;
  font-size: 12px;
  line-height: 1.5;
}
.l-nav__list a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.l-nav__list a:hover { color: var(--c-red); }
.l-nav__icon { display: none; }

.c-hamburger { display: none; }

/* Footer ------------------------------------------------------------------ */
.l-footer { margin-top: var(--section-gap); }

.l-footer__main {
  position: relative;
  padding: 100px 0 79px;
  background: var(--c-bg-note);
}

.l-footer__banners {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  gap: 20px;
  justify-content: center;
}
.l-footer__banners a { display: block; line-height: 0; transition: opacity .2s; }
.l-footer__banners a:hover { opacity: .8; }
.l-footer__banners img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }

.l-footer__recruit {
  margin-top: 73px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.l-footer__recruit a { text-decoration: underline; }
.l-footer__recruit a:hover { text-decoration: none; }

/* キャラクター＋ふきだし（PC: 中央基準の絶対配置 / 1400px キャンバス上 x=932.5〜1160） */
.l-footer__char {
  position: absolute;
  left: calc(50% + 232.5px);
  bottom: 0;
  display: block;
  width: 227.4px;
  height: 126px;
  color: inherit;
  text-decoration: none;
}
.l-footer__char:hover .l-footer__bubble-text,
.l-footer__char:focus-visible .l-footer__bubble-text { text-decoration: underline; }
.l-footer__bubble {
  position: absolute;
  left: -1px; top: 16.3px;
  width: 165.46px; height: 71.73px;
}
.l-footer__bubble-text {
  position: absolute;
  left: 77.5px; top: 51px;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.l-footer__figure {
  position: absolute;
  left: 172.4px; top: 0;
  width: 55px; height: 126px;
  object-fit: cover;
  object-position: top;
}

.c-pagetop {
  position: fixed;
  right: 20px;
  bottom: calc(20px + var(--pagetop-lift, 0px));
  z-index: 150;
  display: block;
  width: 45px; height: 45px;
  line-height: 0;
  transition: opacity .3s;
}
.c-pagetop:hover { opacity: .7; }
@media (scripting: enabled) {
  .c-pagetop { opacity: 0; pointer-events: none; }
  .c-pagetop.is-visible { opacity: 1; pointer-events: auto; }
  .c-pagetop.is-visible:hover { opacity: .7; }
}
.c-pagetop img { width: 100%; height: 100%; }

.l-footer__bar {
  height: 40px;
  color: #fff;
  background: var(--c-footer);
}
.l-footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.l-footer__links {
  display: flex;
  align-items: center;
  font-size: 12px;
}
.l-footer__links li + li {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, .8);
  line-height: 14px;
}
.l-footer__links a { text-decoration: underline; }
.l-footer__links a:hover { text-decoration: none; }
.l-footer__copy {
  font-family: "Avenir", "Avenir Next", var(--ff-gothic);
  font-weight: 300;
  font-size: 10px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Components
   -------------------------------------------------------------------------- */

/* CTA ---------------------------------------------------------------------- */
.c-cta {
  padding: 33px 0 39px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-red);
  border-radius: 5px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}
.c-cta__lead {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.c-cta__note {
  font-size: 14px;
  font-weight: 400;
}
.c-cta__btn {
  position: relative;
  display: block;
  width: 54.1667%;
  max-width: 520px;
  height: 80px;
  margin: 22px auto 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 80px;
  color: #fff;
  text-decoration: none;
  background: var(--c-red);
  border-radius: 5px;
  transition: opacity .2s, transform .2s;
}
.c-cta__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 40px;
  width: 10px;
  height: 16px;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
  transition: transform .2s;
}
.c-cta__btn:hover { opacity: .88; }
.c-cta__btn:hover::after { transform: translate(4px, -50%); }
.c-cta__btn:focus-visible { outline-offset: 4px; }

.l-cta-wrap { margin-top: var(--section-gap); }

/* Section heading ---------------------------------------------------------- */
.c-heading { text-align: center; }
.c-heading__en {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
  color: var(--c-red);
}
.c-heading__title {
  margin-top: 25px;
  font-family: var(--ff-mincho);
  font-weight: 400;
  line-height: 1.25;
}
.c-heading__sub { display: block; font-size: 30px; }
.c-heading__main { display: block; font-size: 36px; }

/* --------------------------------------------------------------------------
   Project : Hero
   -------------------------------------------------------------------------- */
.p-hero {
  position: relative;
  overflow: hidden;
}
.p-hero__bg {
  position: absolute;
  top: -40px; /* ナビ(40px)の下に潜り込ませる（Figma: bg は y=50 から） */
  left: 0;
  z-index: 0;
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.p-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
}
.p-hero__illust {
  position: absolute;
  top: 40px;
  left: calc(50% + 40px);
  width: 500px;
  height: auto;
  pointer-events: none;
}
.p-hero__body { padding-top: 67.5px; }

.p-hero__head { position: relative; }
.p-hero__head::before { /* タイトル背面の白グラデーション */
  content: "";
  position: absolute;
  top: -27.5px;
  left: -60px;
  z-index: -1;
  width: 612px;
  height: 215px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 20%, #fff 80%, rgba(255, 255, 255, 0) 100%);
}
.p-hero__title { font-family: var(--ff-mincho); font-weight: 700; }
.p-hero__lead {
  display: block;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: .05em;
  color: var(--c-red);
}
.p-hero__main {
  display: block;
  font-size: 46px;
  line-height: 1.25;
  letter-spacing: .05em;
  color: var(--c-text);
}
.p-hero__lead + .p-hero__main { margin-top: 11px; }
.p-hero__main + .p-hero__main { margin-top: 7.5px; }

.p-hero__catch {
  margin-top: 55px;
  font-family: var(--ff-mincho);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
}
.p-hero__text {
  margin-top: 21px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .05em;
}
.p-hero__text p + p { margin-top: 21px; }
.p-hero .c-cta { margin-top: 30px; }

/* --------------------------------------------------------------------------
   Project : 事業承継・M&A仲介の現実
   -------------------------------------------------------------------------- */
.p-reality { margin-top: 106px; }
.p-reality__title {
  font-family: var(--ff-mincho);
  font-size: 32px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: .05em;
  text-align: center;
}
.p-reality__visual {
  position: relative;
  height: 600px;
  margin-top: 47px;
  overflow: hidden;
}
.p-reality__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.p-reality__box {
  position: absolute;
  top: 60px;
  left: calc(50% - 20px);
  width: 540px;
  min-height: 260px;
  padding: 32px 40px;
  font-size: 16px;
  line-height: 1.75;
  background: rgba(255, 255, 255, .8);
}

/* --------------------------------------------------------------------------
   Project : 3つの支援・協業スタイル
   -------------------------------------------------------------------------- */
.p-style { margin-top: var(--section-gap); }
.p-style .c-heading { margin-bottom: 57px; }

.p-style__list { border-top: 1px solid var(--c-line); }
.p-style__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px 0 29px;
  border-bottom: 1px solid var(--c-line);
}
.p-style__item.is-reverse { grid-template-columns: 1fr 200px; }
.p-style__item.is-reverse .p-style__icon { order: 2; }
.p-style__icon { width: 200px; height: 200px; }

.p-style__head > * + * { margin-top: 4px; }
.p-style__head > .p-style__name { margin-top: 12px; }
.p-style__tag {
  display: inline-block;
  min-width: 104px;
  padding: 0 18px 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: .05em;
  color: #fff;
  background: var(--c-text);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}
.p-style__name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-red);
}
.p-style__lead { font-size: 18px; line-height: 1.75; }

.p-style__detail {
  display: flex;
  align-items: flex-start;
  margin-top: 25px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.02em;
}
.p-style__label { flex: none; font-weight: 700; white-space: nowrap; }
.p-style__points li,
.p-style__text { flex: 1; min-width: 0; }
.p-style__points li { text-indent: -1em; padding-left: 1em; }
.p-style__points li::before { content: "・"; }

/* --------------------------------------------------------------------------
   Project : 手数料が安い理由
   -------------------------------------------------------------------------- */
.p-fee {
  margin-top: var(--section-gap);
  padding: 100px 0;
  background: var(--c-bg-light);
}
.p-fee .c-heading { margin-bottom: 57px; }
.p-fee__lead { font-size: 16px; line-height: 1.75; }

.p-fee__table { margin-top: 40px; }
.c-compare {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.25;
  text-align: left;
}
.c-compare__col-label { width: 31.25%; }
.c-compare th,
.c-compare td {
  padding: 19px 23px;
  vertical-align: top;
  border: 1px solid var(--c-line);
}
.c-compare .c-compare__blank { border: 0; background: transparent; }
.c-compare thead th {
  font-weight: 700;
  color: #fff;
  vertical-align: middle;
  text-align: center;
}
.c-compare thead .is-general { background: var(--c-gray); }
.c-compare thead .is-sanwa { background: var(--c-red); }
.c-compare tbody th {
  font-weight: 700;
  color: #000;
  background: var(--c-bg-cell);
}
.c-compare tbody td { font-weight: 400; background: #fff; }
.c-compare tbody td.is-strong { font-weight: 700; }
.c-compare tbody tr:first-child th,
.c-compare tbody tr:first-child td { vertical-align: middle; }

.p-fee__why {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin-top: 80px;
  min-height: 324px;
  padding: 40px;
  background: rgba(208, 45, 40, .1);
  border-radius: 5px;
}
.p-fee__why-title {
  display: grid;
  flex: none;
  align-content: center;
  width: 250px;
  padding: 0 20px 0 30px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.5;
  background: #fff;
  border-radius: 5px;
}
.p-fee__why-text {
  flex: 1;
  min-width: 0;
  padding-top: 12px;
  font-size: 14px;
  line-height: 1.75;
}
.p-fee__why-text p + p { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Project : 選ばれる理由
   -------------------------------------------------------------------------- */
.p-reason { margin-top: var(--section-gap); }
.p-reason .c-heading { margin-bottom: 55px; }

.p-reason__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 60px;
  margin-bottom: -5px; /* Figma のテキストボックス下端の余白分 */
}
.p-reason__item {
  position: relative;
  width: 100%;
  max-width: 280px;
}
.p-reason__item + .p-reason__item::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -30.5px;
  width: 1px;
  background: var(--c-line);
}
.p-reason__img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.p-reason__name {
  margin-top: 21px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--c-red);
}
.p-reason__text {
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Project : FAQ
   -------------------------------------------------------------------------- */
.p-faq {
  margin-top: var(--section-gap);
  padding: 100px 0;
  background: var(--c-bg-light);
}
.p-faq .c-heading { margin-bottom: 52px; }

.p-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: space-between;
  gap: 40px 40px;
}
.p-faq__item dt,
.p-faq__item dd {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.p-faq__item dd { margin-top: 20px; }
.p-faq__mark {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-family: "Helvetica Neue", Arial, var(--ff-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  border-radius: 5px;
}
.p-faq__mark.is-q { background: var(--c-red); }
.p-faq__mark.is-a { background: var(--c-gray); }
.p-faq__text { flex: 1; min-width: 0; margin-block: -5px; }

/* --------------------------------------------------------------------------
   Project : 注意事項
   -------------------------------------------------------------------------- */
.p-notes {
  display: flex;
  gap: 40px;
  margin-top: var(--section-gap);
  padding: 35px 40px;
  background: var(--c-bg-note);
  border-radius: 5px;
}
.p-notes__title {
  flex: none;
  width: 150px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.p-notes__sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
}
.p-notes__body {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.75;
}
.p-notes__item + .p-notes__item { margin-top: 20px; }
.p-notes__heading { font-size: 14px; font-weight: 700; }
.p-notes__item p { margin-top: 4px; }
.p-notes__item p + p { margin-top: 12px; }
.p-notes__item a { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Project : SNS
   -------------------------------------------------------------------------- */
.p-sns { margin-top: var(--section-gap); }
.p-sns__tiktok { min-height: 200px; }
.p-sns__tiktok .tiktok-embed { margin-inline: auto; }
.p-sns__share { margin-top: 100px; }
.p-sns__share-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px 30px;
  min-height: 24px;
}
.p-sns__share-list li,
.p-sns__share-list li div { display: flex; align-items: center; min-width: 0; }
/* Facebook SDK が読み込めない場合のフォールバック（SDK が動けばこのリンクごと置き換わる） */
.p-sns__fb {
  display: inline-block;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: #1877f2;
  border-radius: 3px;
}
.p-sns__fb:hover { opacity: .85; }
.p-sns__share-x { width: 77px; }
.p-sns__share-list img { display: block; height: 24px; width: auto; }
.p-sns .c-cta { margin-top: 100px; }

/* ==========================================================================
   PC narrow : 960px 〜 1099px（PC レイアウトを流動的に縮小）
   ========================================================================== */
@media (min-width: 960px) and (max-width: 1099px) {
  :root { --section-gap: 80px; }

  .l-nav__list { gap: 8px; font-size: 11px; }

  /* Hero: 1400px キャンバス比で縮小 */
  .p-hero__bg { height: 46vw; min-height: 340px; }
  .p-hero__illust {
    top: 3vw;
    left: 52.86%;
    width: 35.7vw;
  }
  .p-hero__body { padding-top: 6vw; }
  .p-hero__head::before { left: -24px; width: min(612px, 80vw); height: auto; top: -3vw; bottom: -3vw; }
  .p-hero__lead { font-size: clamp(14px, 1.8vw, 20px); }
  .p-hero__main { font-size: clamp(28px, 4.2vw, 46px); }
  .p-hero__catch { margin-top: 40px; font-size: clamp(18px, 2.2vw, 24px); }

  .p-reality { margin-top: 80px; }
  .p-reality__title { font-size: clamp(22px, 2.9vw, 32px); line-height: 1.6; }
  .p-reality__visual { height: 480px; margin-top: 40px; }
  .p-reality__box {
    top: 40px;
    left: auto;
    right: var(--gutter);
    width: min(560px, 62%);
    min-height: 0;
    padding: 28px 32px;
    font-size: 15px;
  }

  .p-style__item { grid-template-columns: 160px 1fr; gap: 28px; }
  .p-style__item.is-reverse { grid-template-columns: 1fr 160px; }
  .p-style__icon { width: 160px; height: 160px; }
  .p-style__name { font-size: 22px; }
  .p-style__lead { font-size: 16px; }

  .c-heading__sub { font-size: clamp(22px, 2.7vw, 30px); }
  .c-heading__main { font-size: clamp(26px, 3.3vw, 36px); }

  .p-fee { padding: 80px 0; }
  .p-fee__why { gap: 24px; padding: 32px 28px; }
  .p-fee__why-title { width: 220px; font-size: 26px; padding: 24px 16px 24px 24px; }

  .p-reason__list { column-gap: 48px; }
  .p-reason__item + .p-reason__item::before { left: -24.5px; }
  .p-reason__name { font-size: clamp(17px, 2.4vw, 20px); }
  .p-reason__text { font-size: 15px; }

  .p-faq { padding: 80px 0; }
  .p-faq__list { gap: 32px 32px; }

  .p-sns__share, .p-sns .c-cta { margin-top: 80px; }

  /* Footer */
  .l-footer__main { padding: 80px 0 0; }
  .l-footer__banners { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(880px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
  .l-footer__recruit { margin-top: 56px; }
  .l-footer__char {
    position: relative;
    left: auto; bottom: auto;
    margin: 24px auto 0;
  }
}

/* ==========================================================================
   SP : 959px 以下（設計案）
   ========================================================================== */
@media (max-width: 959px) {
  :root { --gutter: 20px; --section-gap: 56px; }

  body { font-size: 14px; }

  /* Header（既存LP同様: 固定ヘッダー50px + ハンバーガー + スライドメニュー） */
  .c-hamburger {
    position: fixed;
    top: 50px;
    right: 0;
    z-index: 210;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, .6);
    border: 0;
  }
  .c-hamburger span {
    width: 26px;
    height: 2px;
    margin: 3px 0;
    background: #fff;
    transition: transform .3s ease-in-out, opacity .3s ease-in-out;
  }
  .c-hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(-45deg); }
  .c-hamburger.is-active span:nth-child(2) { opacity: 0; }
  .c-hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(45deg); }

  .l-nav {
    position: fixed;
    top: 100px;
    left: 0;
    z-index: 190;
    width: 100%;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .6s, visibility 0s .6s;
  }
  .l-nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform .6s, visibility 0s;
  }
  .l-nav__list {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    font-size: 14px;
  }
  .l-nav__list li { display: flex; justify-content: center; }
  .l-nav__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    padding: 1em;
    font-weight: 700;
    color: #444;
    white-space: normal;
    border-bottom: 1px solid #c9c9c9;
  }
  .l-nav__list li:last-child a { border-bottom: 0; }
  .l-nav__icon {
    position: relative;
    display: inline-block;
    flex: none;
    width: 18px;
    height: 18px;
    margin-left: 12px;
    background: var(--c-red);
    border-radius: 50%;
  }
  .l-nav__icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
    transform: translate(-30%, -50%);
  }

  /* Hero */
  .p-hero { padding-bottom: 0; }
  .p-hero__bg { top: 0; height: 100%; min-height: 0; object-position: 60% top; opacity: .9; }
  .p-hero__illust {
    position: relative;
    top: auto; left: auto;
    width: min(80%, 340px);
    margin: 28px auto 0;
  }
  .p-hero__body { position: relative; padding-top: 24px; }
  .p-hero__head::before { left: -20px; right: -20px; width: auto; top: -12px; bottom: -12px; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 12%, rgba(255,255,255,.9) 88%, rgba(255,255,255,0) 100%); }
  .p-hero__lead { font-size: 13px; letter-spacing: .03em; }
  .p-hero__lead + .p-hero__main { margin-top: 8px; }
  .p-hero__main { font-size: clamp(26px, 8vw, 34px); letter-spacing: .03em; }
  .p-hero__main + .p-hero__main { margin-top: 4px; }
  .p-hero__catch { margin-top: 28px; font-size: 18px; letter-spacing: .03em; line-height: 1.6; }
  .p-hero__text { margin-top: 14px; font-size: 13px; line-height: 1.8; letter-spacing: .02em; }
  .p-hero__text .u-line { display: inline; }
  .p-hero__text p + p { margin-top: 14px; }
  .p-hero .c-cta { margin-top: 28px; margin-bottom: 0; }

  /* CTA */
  .c-cta { padding: 22px 16px 24px; }
  .c-cta__lead { font-size: 16px; }
  .c-cta__note { display: block; margin-top: 2px; font-size: 12px; }
  .c-cta__btn { width: 100%; height: 64px; margin-top: 16px; font-size: 18px; line-height: 64px; }
  .c-cta__btn::after { right: 20px; width: 8px; height: 13px; }

  /* Heading */
  .c-heading__en { font-size: 12px; }
  .c-heading__title { margin-top: 12px; }
  .c-heading__sub { font-size: 16px; }
  .c-heading__main { font-size: 22px; line-height: 1.4; }

  /* Reality */
  .p-reality { margin-top: 56px; }
  .p-reality__title { font-size: 20px; line-height: 1.6; letter-spacing: .03em; padding-inline: var(--gutter); }
  .p-reality__title .u-line { display: inline-block; }
  .p-reality__visual { height: auto; margin-top: 24px; overflow: visible; }
  .p-reality__visual > img { height: clamp(220px, 45vw, 400px); object-position: 15% 50%; }
  .p-reality__box {
    position: static;
    width: auto;
    margin: 0;
    padding: 20px var(--gutter) 0;
    font-size: 14px;
    line-height: 1.8;
    background: transparent;
  }

  /* Style */
  .p-style .c-heading { margin-bottom: 28px; }
  .p-style__item,
  .p-style__item.is-reverse { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .p-style__item.is-reverse .p-style__icon { order: 0; }
  .p-style__icon { width: 100%; max-width: 200px; height: auto; margin-inline: auto; aspect-ratio: 1 / 1; }
  .p-style__head > * + * { margin-top: 12px; }
  .p-style__tag { font-size: 14px; }
  .p-style__name { font-size: 20px; }
  .p-style__lead { font-size: 15px; }
  .p-style__detail { margin-top: 16px; font-size: 13px; }

  /* Fee */
  .p-fee { padding: 56px 0; }
  .p-fee .c-heading { margin-bottom: 28px; }
  .p-fee__lead { font-size: 14px; line-height: 1.8; }
  .p-fee__table { margin-top: 28px; }
  .c-compare { font-size: 12px; line-height: 1.5; }
  .c-compare__col-label { width: 27%; }
  .c-compare th,
  .c-compare td { padding: 10px 8px; }
  .p-fee__why { flex-direction: column; gap: 20px; margin-top: 40px; padding: 20px 8px 24px; }
  /* 「なぜ三和交通はここまで安くできるのか？」(19字) を 1 行で表示。
     画面幅に応じて文字サイズを可変にし、改行させない（上限 28px） */
  .p-fee__why-title {
    display: block;
    width: 100%;
    padding: 16px 4px;
    font-size: min(28px, calc((100vw - 68px) / 19.2));
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
  }
  .p-fee__why-title .u-line { display: inline; }
  .p-fee__why-text { padding: 0 8px; font-size: 13px; line-height: 1.8; }

  /* Reason */
  .p-reason .c-heading { margin-bottom: 28px; }
  .p-reason__list { grid-template-columns: 1fr; row-gap: 48px; margin-bottom: 0; }
  .p-reason__item { max-width: none; }
  .p-reason__item + .p-reason__item::before {
    top: -24.5px; bottom: auto; left: 0; right: 0;
    width: auto; height: 1px;
  }
  .p-reason__img { width: min(100%, 280px); margin-inline: auto; }
  .p-reason__name { margin-top: 20px; font-size: 20px; }
  .p-reason__text { margin-top: 12px; font-size: 14px; line-height: 1.7; }

  /* FAQ */
  .p-faq { padding: 56px 0; }
  .p-faq .c-heading { margin-bottom: 28px; }
  .p-faq__list { grid-template-columns: 1fr; gap: 28px; }
  .p-faq__item dt,
  .p-faq__item dd { gap: 12px; font-size: 13px; line-height: 1.7; }
  .p-faq__mark { width: 30px; height: 30px; font-size: 20px; }

  /* Notes */
  .p-notes { flex-direction: column; gap: 12px; padding: 24px 20px; }
  .p-notes__title { width: auto; }
  .p-notes__body { font-size: 13px; line-height: 1.7; }

  /* SNS */
  .p-sns__share { margin-top: 32px; }
  .p-sns .c-cta { margin-top: 40px; }

  /* Footer */
  .l-footer__main { padding: 48px 0 0; }
  .l-footer__banners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .l-footer__recruit { margin-top: 36px; font-size: 16px; }
  .l-footer__char { position: relative; left: auto; bottom: auto; margin: 16px auto 0; }
  .c-pagetop { right: 12px; bottom: calc(12px + var(--pagetop-lift, 0px)); width: 40px; height: 40px; }

  /* 既存LP（AI会社説明会）の SP フッターに合わせ、リンク→コピーライトを縦に中央揃え */
  .l-footer__bar { height: auto; padding: 20px 0; }
  .l-footer__bar-inner { flex-direction: column; align-items: center; }
  .l-footer__links { flex-direction: column; align-items: center; gap: 6px; margin-bottom: 30px; text-align: center; } /* リンク〜コピーライト間は既存LP（.footer-contents-link { margin-bottom: 30px }）と同値 */
  .l-footer__links li + li { margin-left: 0; padding-left: 0; border-left: 0; line-height: 1.5; }
  .l-footer__copy { width: 100%; text-align: center; }
}

/* JS 無効時（SP）: メニューを常時表示（ハンバーガーは使えないため） */
@media (max-width: 959px) and (scripting: none) {
  .c-hamburger { display: none; }
  .l-nav { position: static; max-height: none; transform: none; visibility: visible; box-shadow: none; }
  .l-header { padding-top: 50px; }
}

/* ==========================================================================
   SP 中間幅 : 600px 〜 959px
   ========================================================================== */
@media (min-width: 600px) and (max-width: 959px) {
  .p-style__item { grid-template-columns: 160px 1fr; align-items: center; gap: 28px; }
  .p-style__item.is-reverse { grid-template-columns: 1fr 160px; }
  .p-style__item.is-reverse .p-style__icon { order: 2; }
  .p-style__icon { width: 160px; max-width: none; margin: 0; }

  .p-faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 32px; }
  .l-footer__banners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* SP 中間幅 : 800px 〜 959px（選ばれる理由を 3 カラムに） */
@media (min-width: 800px) and (max-width: 959px) {
  .p-reason__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 0; }
  .p-reason__item + .p-reason__item::before {
    top: 0; bottom: 0; left: -24.5px; right: auto;
    width: 1px; height: auto;
  }
  .p-reason__name { font-size: 18px; }
  .p-reason__text { font-size: 14px; }
}
