@charset "UTF-8";

/* ==========================================================================
   実証試験受託サービス LP
   --------------------------------------------------------------------------
   設計方針
     - クラス名はすべて lp- 接頭辞。既存テーマのCSSと衝突しない
     - デスクトップ既定 → メディアクエリで縮小（desktop first）
     - 色・寸法はすべて 1. のトークンに集約。個別の値は原則ここを参照
   目次
     1. デザイントークン
     2. ベース
     3. レイアウト・共通パーツ
     4. セクション
        4-1 ヒーロー / 4-2 リード文 / 4-3 流れ / 4-4 強み / 4-5 CTA
        4-6 サービス見出し / 4-7 お悩み / 4-8 ソリューション
        4-9 プラン表 / 4-10 取得データ・実績 / 4-11 フッター・追従CTA
     5. レスポンシブ（820px / 680px）
   ========================================================================== */


/* ==========================================================================
   1. デザイントークン
   ========================================================================== */
:root {
  /* 色 ------------------------------------------------------------------ */
  --color-primary:      #163E37;              /* 濃緑：見出し帯、表ヘッダー、CTA背景 */
  --color-accent:       #B89253;              /* ゴールド：下線、区切り、CTAボタン */
  --color-emphasis:     #B5563A;              /* 朱色：本文中の強調 */
  --color-tag:          #8B2B2B;              /* 濃赤：解決策のタグ */
  --color-flow-bg:      rgba(47, 154, 135, .15); /* ブランドグリーン #2F9A87 の15% */

  --color-bg:           #FAFAF7;              /* ページ背景 */
  --color-surface:      #E8E8E8;              /* 強みカードの背景 */
  --color-surface-alt:  #E7EBE8;              /* 表の見出し列、アイコンの円 */
  --color-border:       #CCD4CC;              /* 通常の枠線 */
  --color-border-table: #A9B7B0;              /* 表の罫線（背景と識別できる濃さ） */
  --color-text:         #111;

  /* レイアウト ---------------------------------------------------------- */
  --layout-width:  900px;                     /* 本文の最大幅 */
  --layout-gutter: 24px;                      /* 左右の余白（680px以下で18px） */
}


/* ==========================================================================
   2. ベース
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
               "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}


/* ==========================================================================
   3. レイアウト・共通パーツ
   ========================================================================== */

/* 本文カラム */
.lp-container {
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

/* セクションの縦余白 */
.lp-section          { padding: 34px 0; }
.lp-section--tight   { padding: 22px 0; }

/* 本文中の強調（朱色） */
.lp-em {
  color: var(--color-emphasis);
}

/* 「❶」などの通し番号 */
.lp-no {
  margin-right: .15em;
  color: var(--color-emphasis);
  font-weight: 700;
}

/* 区分が変わる行に引く区切り線 */
.lp-divider-top {
  border-top: 2px dotted var(--color-border);
}

/* PCのみ有効な改行（680px以下では無効化） */
.lp-br-pc {
  display: inline;
}

/* ラベル付き見出し（「流れ」「強み」） */
.lp-label-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 16px;
  font-size: clamp(15px, 3.3vw, 18px);
  font-weight: 700;
  line-height: 1.5;
}

.lp-label {
  flex: none;
  padding: 4px 18px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
}

/* ▼付き見出し */
.lp-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 14px;
  font-size: clamp(16px, 3.4vw, 19px);
  font-weight: 700;
}

.lp-heading::before {
  content: "▼";
  color: var(--color-accent);
  font-size: .85em;
}

/* 小見出し（h4 の既定余白 1.33em をそのまま明示） */
.lp-subheading {
  margin: 1.33em 0;
  font-size: 16px;
  font-weight: 700;
}

.lp-subheading--spaced {
  margin-top: 26px;
}

.lp-star {
  margin-right: .2em;
  color: var(--color-tag);
}

/* CTAボタン --------------------------------------------------------------
   3.6秒ごとに白い帯が横切る（キラッと光る）。
   OSで「視差効果を減らす」が有効な場合は 5. で停止する。 */
.lp-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 44px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  background: linear-gradient(180deg, #D8B274 0%, #C29A5B 46%, #A87F45 100%);
  box-shadow: 0 4px 0 #85652F, 0 8px 18px rgba(0, 0, 0, .3);
  color: #fff;
  font-size: clamp(15px, 3.4vw, 18px);
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.lp-btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -150%;
  width: 55%;
  height: 220%;
  background: linear-gradient(100deg,
              rgba(255, 255, 255, 0) 0%,
              rgba(255, 255, 255, .85) 50%,
              rgba(255, 255, 255, 0) 100%);
  transform: rotate(18deg);
  pointer-events: none;
  animation: lp-btn-shine 3.6s ease-in-out infinite;
}

@keyframes lp-btn-shine {
  0%   { left: -150%; }
  28%  { left:  150%; }
  100% { left:  150%; }
}

.lp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #85652F, 0 11px 22px rgba(0, 0, 0, .32);
  filter: brightness(1.06);
}

.lp-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #85652F, 0 4px 10px rgba(0, 0, 0, .26);
}

.lp-btn-icon {
  flex: none;
  width: 15px;
  height: 15px;
}


/* ==========================================================================
   4. セクション
   ========================================================================== */

/* --------------------------------------------------------------------------
   4-1. ヒーロー
   -------------------------------------------------------------------------- */
.lp-hero {
  padding: 20px 0 44px;
  background: var(--color-primary);
  color: #fff;
}

.lp-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.lp-hero-eyebrow {
  font-size: clamp(13px, 2.6vw, 15px);
  font-weight: 700;
  letter-spacing: .02em;
}

.lp-hero-logo {
  display: block;
  line-height: 0;
  transition: opacity .15s ease;
}

.lp-hero-logo:hover {
  opacity: .75;
}

.lp-hero-logo img {
  width: clamp(104px, 18vw, 140px);
}

.lp-hero-title {
  margin: 0;
  font-size: clamp(26px, 6.4vw, 46px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: .01em;
}

.lp-hero-title-lead {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 5px solid var(--color-accent);
}

.lp-hero-title-name {
  display: block;
  margin-top: .42em;
  font-size: .63em;
}

.lp-hero-title-main {
  display: block;
  margin-top: .12em;
  font-size: .8em;
}

.lp-hero-tagline {
  width: fit-content;
  max-width: 100%;
  margin: 26px auto 0;
  padding: 8px 20px;
  border-radius: 8px;
  background: #fff;
  color: var(--color-primary);
  font-size: clamp(14px, 3.2vw, 17px);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

/* --------------------------------------------------------------------------
   4-2. リード文
   -------------------------------------------------------------------------- */
.lp-lead {
  padding: 44px 0 8px;
  font-size: clamp(17px, 3.9vw, 23px);
  font-weight: 700;
  line-height: 1.62;
  text-align: center;
}

.lp-lead p {
  margin: 0 0 1.1em;
}

/* 文字から離した太いゴールドの下線 */
.lp-underline {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 5px;
  text-decoration-skip-ink: none;
  text-underline-offset: 10px;
}

/* --------------------------------------------------------------------------
   4-3. 流れ（4ステップ。680px以下では縦並び＋下向き矢印）
   -------------------------------------------------------------------------- */
.lp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
}

.lp-flow-step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-flow-bg);
}

.lp-flow-step h3 {
  margin: 0;
  padding: 5px 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.lp-flow-step p {
  margin: 0;
  padding: 12px 12px 14px;
  font-size: 14px;
  line-height: 1.6;
}

/* 横並びのときは矢印を出さない（グリッドの並びで流れが読めるため） */
.lp-flow-arrow {
  display: none;
}

/* --------------------------------------------------------------------------
   4-4. 強み（カード × 記号 × カード → カード）
   -------------------------------------------------------------------------- */
.lp-strengths {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 10px;
  align-items: stretch;
}

.lp-strength {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 9px 8px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  background: var(--color-surface);
  color: var(--color-primary);
  text-align: center;
}

.lp-strength-value {
  margin: 0;
  font-size: clamp(20px, 4.6vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.lp-strength-value small {
  font-size: .62em;
}

.lp-strength-label {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.lp-strength-operator {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4-5. CTA
   -------------------------------------------------------------------------- */
.lp-cta {
  padding: 30px 0;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}

.lp-cta p {
  margin: 0 0 18px;
  font-size: clamp(16px, 3.6vw, 21px);
  font-weight: 700;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4-6. サービス見出し
   -------------------------------------------------------------------------- */
.lp-service-heading {
  padding: 36px 0 0;
}

.lp-service-heading h2 {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--color-accent);
  font-size: clamp(19px, 4.2vw, 26px);
  font-weight: 700;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   4-7. お悩み
   -------------------------------------------------------------------------- */
.lp-worries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
}

.lp-worries li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  list-style: none;
}

.lp-worry-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-surface-alt);
}

.lp-worry-icon img {
  width: 26px;
  height: 26px;
}

/* --------------------------------------------------------------------------
   4-8. ソリューション（ニーズ ▶ 解決策）
   3列グリッド：1列目=ニーズ / 2列目=矢印 / 3列目=解決策
   -------------------------------------------------------------------------- */
.lp-solution {
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  gap: 0 8px;
}

.lp-solution-head {
  margin: 0;
  padding: 5px 8px;
  border-radius: 2px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .38), var(--color-primary) 46%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.lp-solution-head--need   { grid-column: 1; }
.lp-solution-head--answer { grid-column: 3; }

.lp-solution-need,
.lp-solution-answer {
  position: relative;
  padding: 30px 6px 12px;   /* 上余白はタグの絶対配置ぶん */
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.lp-solution-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-solution-arrow i {
  display: block;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--color-emphasis);
}

/* 解決策の種別タグ。行の頭を揃えるため絶対配置にする */
.lp-tag {
  position: absolute;
  top: 4px;
  left: 6px;
  display: inline-block;
  padding: 1px 12px;
  border-radius: 999px;
  background: var(--color-tag);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4-9. プラン表（680px以下は横スクロール）
   -------------------------------------------------------------------------- */
.lp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lp-plan-table {
  width: 100%;
  min-width: 660px;
  border: 2px solid var(--color-primary);
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
  line-height: 1.6;
}

.lp-plan-table th,
.lp-plan-table td {
  padding: 9px 10px;
  border: 1px solid var(--color-border-table);
  vertical-align: middle;
}

.lp-plan-table thead th {
  border-color: rgba(255, 255, 255, .55);
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.lp-plan-table th.lp-plan-table-title {
  text-align: left;
}

.lp-plan-table th.lp-plan-table-quote {
  font-size: 13px;
}

.lp-plan-table tbody th {
  width: 46%;
  background: var(--color-surface-alt);
  color: var(--color-primary);
  font-weight: 700;
  text-align: left;
}

.lp-plan-table tbody td {
  background: #fff;
  font-weight: 700;
  text-align: center;
}

/* 成果物の行：見出し（朱色）＋説明文 */
.lp-plan-table th.lp-plan-table-item {
  background: #fff;
  color: var(--color-emphasis);
  font-size: 13.5px;
}

.lp-plan-table th.lp-plan-table-item span {
  display: block;
  margin-top: 3px;
  color: #333;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

.lp-table-note {
  margin: 10px 0 0;
  color: #555;
  font-size: 13px;
}

/* 横スクロールの案内。680px以下でのみ表示 */
.lp-scroll-hint {
  display: none;
  margin: 0 0 6px;
  color: #666;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   4-10. 取得できるデータと過去実績
   -------------------------------------------------------------------------- */
.lp-data {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: start;
}

.lp-data-list {
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  line-height: 1.85;
  list-style: none;
}

.lp-data-list li::before {
  content: "・";
}

.lp-data-list span {
  font-size: 13px;
}

.lp-data-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 白い吹き出し（左向きの尻尾。820px以下では上向き） */
.lp-note-bubble {
  position: relative;
  margin: 0;
  padding: 11px 14px;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  line-height: 1.65;
}

.lp-note-bubble b {
  color: var(--color-emphasis);
}

.lp-note-bubble::before,
.lp-note-bubble::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.lp-note-bubble::before {          /* 尻尾の外枠 */
  top: 20px;
  left: -11px;
  border-width: 9px 11px 9px 0;
  border-color: transparent var(--color-border) transparent transparent;
}

.lp-note-bubble::after {           /* 尻尾の内側 */
  top: 20px;
  left: -8px;
  border-width: 9px 11px 9px 0;
  border-color: transparent #fff transparent transparent;
}

/* 濃緑の吹き出し（上向きの尻尾） */
.lp-bubble {
  position: relative;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.lp-bubble::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 26px;
  border-right: 8px solid transparent;
  border-bottom: 9px solid var(--color-primary);
  border-left: 8px solid transparent;
}

.lp-badge {
  display: inline-block;
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.lp-results {
  margin: 22px 0 0;
  padding: 0;
  font-size: 14.5px;
  line-height: 1.8;
  list-style: none;
}

.lp-results li {
  margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
   4-11. フッター・追従CTA
   -------------------------------------------------------------------------- */
.lp-footer {
  padding: 22px 0 30px;
  border-top: 4px solid var(--color-accent);
  font-size: 14px;
  line-height: 1.8;
}

.lp-footer-company {
  font-weight: 700;
}

.lp-footer a {
  color: var(--color-primary);
  font-weight: 700;
}

/* 680px以下でのみ表示 */
.lp-sticky-cta {
  display: none;
}


/* ==========================================================================
   5. レスポンシブ
   ========================================================================== */

/* --- 820px以下：横に3つ並べると窮屈になる要素を縦積みにする -------------- */
@media (max-width: 820px) {
  .lp-strengths {
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
  }

  .lp-strength {
    width: 100%;
  }

  .lp-strength-operator {
    transform: rotate(90deg);
  }

  .lp-data {
    grid-template-columns: 1fr;
  }

  /* 吹き出しの尻尾を上向きに変更 */
  .lp-note-bubble::before {
    top: -11px;
    left: 24px;
    border-width: 0 9px 11px 9px;
    border-color: transparent transparent var(--color-border) transparent;
  }

  .lp-note-bubble::after {
    top: -8px;
    left: 24px;
    border-width: 0 9px 11px 9px;
    border-color: transparent transparent #fff transparent;
  }
}

/* --- 680px以下：スマートフォン ------------------------------------------ */
@media (max-width: 680px) {
  :root {
    --layout-gutter: 18px;
  }

  body {
    padding-bottom: 74px;   /* 追従CTAの高さぶん */
  }

  .lp-br-pc {
    display: none;
  }

  /* 流れ：縦並び＋下向き矢印 */
  .lp-flow {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lp-flow-arrow {
    display: flex;
    justify-content: center;
  }

  .lp-flow-arrow i {
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid var(--color-primary);
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
  }

  /* お悩み：縦並び */
  .lp-worries {
    grid-template-columns: 1fr;
  }

  /* ソリューション：1列にして「ニーズ→解決策」を交互に積む */
  .lp-solution {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lp-solution-head {
    display: none;   /* 列見出しは意味をなさないため非表示 */
  }

  .lp-solution-need,
  .lp-solution-answer {
    padding: 10px 0;
  }

  /* 列見出しの代わりに、ニーズ側へラベルを付ける */
  .lp-solution-need::before {
    content: "ニーズ";
    display: inline-block;
    margin-bottom: 5px;
    padding: 1px 12px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    line-height: 1.7;
  }

  /* タグは絶対配置をやめ、本文の上の行に置く */
  .lp-tag {
    position: static;
    display: block;
    width: max-content;
    margin-bottom: 8px;
  }

  /* 矢印を下向きに変更 */
  .lp-solution-arrow {
    padding: 2px 0;
  }

  .lp-solution-arrow i {
    border-top: 11px solid var(--color-emphasis);
    border-right: 8px solid transparent;
    border-bottom: 0;
    border-left: 8px solid transparent;
  }

  .lp-scroll-hint {
    display: block;
  }

  /* 追従CTA */
  .lp-sticky-cta {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    padding: 9px 14px;
    background: rgba(22, 62, 55, .96);
    text-align: center;
  }

  .lp-sticky-cta .lp-btn {
    width: 100%;
    max-width: 420px;
    padding: 12px 26px;
    font-size: 15px;
  }
}

/* --- OS設定で「視差効果を減らす」が有効な場合はアニメーションを止める ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .lp-btn::after {
    display: none;
  }
}
