/*
Theme Name: Reframe Studio
Theme URI: https://reframelab.jp/
Author: 合同会社Reframe
Author URI: https://reframelab.jp/
Description: 合同会社Reframe（Reframe Studio）公式サイト用のカスタムテーマ。小さなお店向けのWeb制作・MEO・AI活用サービスを紹介する1ページ構成のトップページと、会社概要・特定商取引法に基づく表記・プライバシーポリシーの下層ページ。
Version: 1.2.15
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reframe
*/

/* =========================================
   Reframe Studio（合同会社Reframe）トップページ
   配色: ネイビー #16243F / ティール #2A9D8F / コーラル #E76F51
   ========================================= */

:root {
  --navy: #16243F;
  --teal: #2A9D8F;
  --teal-light: #E6F4F2;
  --coral: #E76F51;
  --coral-dark: #D45A3C;
  --text: #2B3444;
  --text-light: #5A6478;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FA;
  --border: #E3E8EF;
  --font-heading: "Montserrat", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only {
  display: none;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(42, 157, 143, 0.35);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 14px rgba(231, 111, 81, 0.4);
  font-size: 20px;
  padding: 20px 56px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-logo img {
  width: 200px;
  height: auto;
}

.global-nav {
  margin-left: auto;
}

.global-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.global-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.global-nav a:hover {
  border-bottom-color: var(--teal);
}

.header-cta {
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 26px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.header-cta:hover {
  background: var(--coral-dark);
}

/* ---------- 1. ファーストビュー ---------- */
.hero {
  background: linear-gradient(135deg, #FDFEFE 0%, var(--teal-light) 100%);
  padding: 96px 24px 88px;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.hero-title .accent {
  color: var(--teal);
}

/* フレーズ単位で改行させる（単語の途中で折り返さない）。見出し・名前・CTA文などで使用 */
.ht-seg {
  display: inline-block;
}

.hero-lead {
  margin-top: 30px;
  font-size: 18px;
  color: var(--text-light);
  line-height: 2.1;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 88px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 48px;
}

.section-title-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

/* ---------- 2. お悩み ---------- */
.worry-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.worry-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 30px;
  position: relative;
  padding-left: 58px;
}

.worry-item::before {
  content: "✓";
  position: absolute;
  left: 26px;
  top: 24px;
  color: var(--coral);
  font-weight: 700;
  font-size: 20px;
}

.worry-item strong {
  color: var(--navy);
}

.worries-closing {
  text-align: center;
  margin-top: 44px;
  font-size: 20px;
}

.worries-closing strong {
  color: var(--teal);
  font-size: 22px;
}

/* ---------- 3. Reframeとは（ブリッジ） ---------- */
.section-about {
  background: var(--navy);
  padding: 72px 0;
}

.about-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-mark {
  margin: 0 auto 24px;
  border-radius: 12px;
}

.about-text {
  color: #E9EEF6;
  font-size: 18px;
  line-height: 2.2;
  text-align: left;
}

.about-text strong {
  color: #7FD6CB;
}

/* ---------- 4. サービス3本柱 ---------- */
.section-service {
  background: var(--bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 30px;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 22px;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 16px;
  color: var(--text-light);
}

/* ---------- 5. 選ばれる理由 ---------- */
.section-reason {
  background: var(--bg-soft);
}

.reason-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.reason-item {
  background: #fff;
  border-radius: 16px;
  padding: 34px 38px;
  box-shadow: 0 2px 12px rgba(22, 36, 63, 0.06);
  border-left: 6px solid var(--teal);
}

.reason-item h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.reason-item p {
  font-size: 16px;
  color: var(--text-light);
}

/* ---------- 6. 代表メッセージ ---------- */
.message-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--teal-light);
  border-radius: 16px;
  padding: 44px 48px;
  font-size: 17px;
  line-height: 2.2;
}

.message-sign {
  margin-top: 28px;
  text-align: right;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- 7. 料金 ---------- */
.section-price {
  background: var(--bg-soft);
}

.price-table-wrap {
  max-width: 760px;
  margin: 0 auto;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(22, 36, 63, 0.06);
}

.price-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 24px;
  text-align: left;
}

.price-table tbody th,
.price-table tbody td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody th {
  font-family: var(--font-heading);
  color: var(--teal);
  font-weight: 700;
  white-space: nowrap;
}

.price-cell {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.price-note {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 14px;
  color: var(--text-light);
  text-align: right;
}

/* 注記が3行になったので、右寄せの1行から左寄せの箇条書きに切り替えます。
   ※のぶんを字下げして、折り返しても行頭がそろうようにしています。 */
.price-notes {
  list-style: none;
  text-align: left;
  line-height: 1.9;
}

.price-notes li {
  padding-left: 1.25em;
  text-indent: -1.25em;
}

.price-notes li + li {
  margin-top: 8px;
}

/* ---------- 8. クロージングCTA ---------- */
.section-contact {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.contact-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}

.contact-lead {
  font-size: 18px;
  margin-bottom: 40px;
  color: #D7DEE9;
}

.contact-mail {
  margin-top: 24px;
  font-size: 16px;
  color: #B8C2D4;
}

.contact-mail a {
  color: #7FD6CB;
  text-decoration: underline;
}

/* ---------- 9. フッター ---------- */
.site-footer {
  background: #0F1930;
  color: #B8C2D4;
  text-align: center;
  padding: 48px 24px 40px;
}

.footer-mark {
  margin: 0 auto 14px;
  border-radius: 10px;
}

.footer-name {
  font-weight: 700;
  color: #fff;
  font-size: 18px;
}

.footer-info {
  margin-top: 6px;
  font-size: 14px;
}

.footer-nav {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer-nav a {
  color: #B8C2D4;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 24px;
  font-size: 13px;
}

/* =========================================
   スマホ最適化（〜768px）
   ========================================= */
@media (max-width: 768px) {

  body {
    font-size: 16px;
  }

  .sp-only {
    display: inline;
  }

  /* ヘッダー: ロゴ+CTAのみ、ナビは非表示（1ページ構成のため） */
  .global-nav {
    display: none;
  }

  .header-inner {
    padding: 10px 16px;
    justify-content: space-between;
    gap: 12px;
  }

  .header-logo img {
    width: 160px;
  }

  .header-cta {
    font-size: 14px;
    padding: 10px 18px;
  }

  .hero {
    padding: 64px 20px 60px;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.65;
    letter-spacing: 0;
  }

  .hero-lead {
    font-size: 16px;
    text-align: left;
  }

  .hero-lead br {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 36px;
  }

  .worry-item {
    padding: 18px 20px 18px 48px;
  }

  .worry-item::before {
    left: 20px;
    top: 18px;
  }

  .worries-closing {
    font-size: 18px;
  }

  .worries-closing strong {
    font-size: 20px;
  }

  .about-text {
    font-size: 16px;
    line-height: 2.1;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reason-item {
    padding: 26px 24px;
  }

  .reason-item h3 {
    font-size: 20px;
  }

  .message-box {
    padding: 30px 24px;
    font-size: 16px;
    line-height: 2.1;
  }

  .price-table thead th,
  .price-table tbody th,
  .price-table tbody td {
    padding: 14px 14px;
    font-size: 15px;
  }

  .contact-title {
    font-size: 26px;
  }

  .contact-lead br {
    display: none;
  }

  .btn-coral {
    width: 100%;
    max-width: 320px;
  }

  .footer-info {
    font-size: 13px;
  }
}

/* =========================================
   下層ページ（会社概要 / 特商法 / プライバシーポリシー）
   ここから下は v1.0.3 で追記。既存のトップページ用CSSは変更していません。
   ========================================= */

/* ---------- トップ: 「会社概要はこちら →」リンク ---------- */
.message-link {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: right;
  font-size: 16px;
}

.message-link a {
  color: var(--teal);
  font-weight: 700;
  border-bottom: 1px solid rgba(42, 157, 143, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.message-link a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.message-link .arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.message-link a:hover .arrow {
  transform: translateX(3px);
}

/* ---------- 下層ページ: ページ見出し ---------- */
.page-hero {
  background: linear-gradient(135deg, #FDFEFE 0%, var(--teal-light) 100%);
  padding: 64px 24px 56px;
  text-align: center;
}

.page-hero-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.page-lead {
  margin-top: 18px;
  font-size: 16px;
  color: var(--text-light);
  line-height: 2;
}

/* ---------- 下層ページ: 本文 ---------- */
.page-body {
  padding: 72px 0 88px;
}

.page-body-inner {
  max-width: 760px;
  margin: 0 auto;
}

.page-section + .page-section {
  margin-top: 48px;
}

.page-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
  margin-bottom: 20px;
}

.page-text {
  font-size: 16px;
  color: var(--text);
  line-height: 2.1;
}

.page-text + .page-text {
  margin-top: 16px;
}

.page-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
}

/* ---------- 下層ページ: 定義リスト ---------- */
.info-list {
  border-top: 1px solid var(--border);
}

.info-list > div {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
}

.info-list dt {
  flex: 0 0 190px;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.9;
}

.info-list dd {
  flex: 1 1 auto;
  font-size: 16px;
  color: var(--text);
  line-height: 1.9;
  /* 以前は word-break: break-word でしたが、これだと「228,000／円」のように
     数字や単語の途中でも折れてしまいます。はみ出し防止だけをここで担保し、
     どこで折るかは下の word-break: auto-phrase に任せています。 */
  overflow-wrap: anywhere;
}

.info-list dd a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 未確定項目のプレースホルダ（内容が固まったら本文に差し替える） */
.info-todo {
  color: var(--text-light);
  font-size: 15px;
}

/* 事業内容などの箇条書き */
.info-sublist {
  list-style: none;
}

.info-sublist li {
  position: relative;
  padding-left: 18px;
}

.info-sublist li + li {
  margin-top: 6px;
}

.info-sublist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- 下層ページ: 代表メッセージ枠 ---------- */
.page-message {
  margin-top: 64px;
}

/* ---------- 下層ページ: 用スマホ最適化 ---------- */
@media (max-width: 1000px) and (min-width: 769px) {
  /* ナビが4項目になったため、中間幅では詰めて1行に収める */
  .global-nav ul {
    gap: 20px;
  }

  .global-nav a {
    font-size: 15px;
  }

  .header-inner {
    gap: 20px;
  }
}

@media (max-width: 768px) {

  .message-link {
    text-align: center;
    font-size: 15px;
  }

  .page-hero {
    padding: 48px 24px 40px;
  }

  .page-title {
    font-size: 25px;
  }

  .page-lead {
    font-size: 15px;
  }

  .page-body {
    padding: 52px 0 64px;
  }

  .page-section + .page-section {
    margin-top: 40px;
  }

  .page-section-title {
    font-size: 19px;
  }

  .page-text,
  .info-list dt,
  .info-list dd {
    font-size: 15px;
  }

  /* 定義リストは縦積みに */
  .info-list > div {
    display: block;
    padding: 18px 4px;
  }

  .info-list dt {
    margin-bottom: 6px;
  }

  .page-message {
    margin-top: 48px;
  }
}

/* =========================================
   ▼ ここから下が v1.0.7 で追加したぶん
      （ヒーローの一行／サービスの価格／制作イメージ／
        料金表のセット行／プラン比較表）
      既存の指定は上書きしていません。
   ========================================= */


/* ---- ヒーローの上に置く一行（福岡＋業種） ---- */
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin: 0 0 18px;
}


/* ---- サービスカードの価格 ---- */
.service-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}


/* ---- 制作イメージ ---- */
.section-works {
  background: var(--bg-soft);
}

.works-note {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light);
  margin: -12px 0 44px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}

/* カードが奇数枚のとき、最後の1枚が左に寄って欠けて見えないよう中央に置く */
.work-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 18px);
  justify-self: center;
}

.work-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 10px;
}

.work-card p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}

.work-thumb {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(22, 36, 63, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-thumb:hover,
.work-thumb:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(22, 36, 63, 0.12);
}

.work-thumb img {
  display: block;
  width: 100%;
  height: auto;
  /* 2枚のサムネイルで縦横比が違うため、上ぞろえで16:9にそろえてカードの高さを合わせる */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

/* サンプルであることを画像の上で明示する（実績と誤認させないため） */
.work-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}

.work-meta {
  font-size: 13px !important;
  color: var(--text-light) !important;
  margin-top: 10px !important;
}


/* ---- 料金表：セット行を目立たせる ---- */
.price-row-set th[scope="row"],
.price-row-set td {
  background: var(--teal-light);
}

.price-tag {
  display: inline-block;
  margin-left: 8px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
}

.price-cell small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
}

/* MEO運用の条件（最低3か月／2店舗目以降）。
   .price-cell の white-space: nowrap を打ち消して、折り返させます。 */
.price-cell small.price-cond {
  white-space: normal;
  line-height: 1.7;
}


/* ---- プラン比較表 ---- */
.spec-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin: 72px 0 24px;
}

.spec-wrap {
  max-width: 860px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(22, 36, 63, 0.06);
}

.spec-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
}

.spec-price {
  display: block;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.spec-table tbody th {
  width: 26%;
  background: var(--bg-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.spec-table tbody td {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-note {
  max-width: 860px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-light);
}


/* ---- MEO支援で行わないこと ---- */
/* 「やらないこと」を先に見せるための一覧。
   順位保証をしない旨を、探さなくても目に入る位置に置いています。 */
.not-list {
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
}

.not-list li {
  position: relative;
  padding: 18px 22px 18px 54px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.not-list li + li {
  margin-top: 12px;
}

.not-list li::before {
  content: "\00d7";
  position: absolute;
  left: 22px;
  top: 19px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.not-list b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
}

.not-list span {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-light);
}


/* ---- スマホ ---- */
@media (max-width: 768px) {
  .hero-eyebrow {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* 1カラムなので、中央寄せ用の幅制限は外す */
  .work-card:last-child:nth-child(odd) {
    max-width: none;
  }

  .works-note {
    text-align: left;
    margin-bottom: 32px;
  }

  .spec-title {
    font-size: 18px;
    margin-top: 56px;
  }

  .not-list li {
    padding: 16px 16px 16px 46px;
  }

  .not-list li::before {
    left: 16px;
    top: 17px;
  }

  .not-list b {
    font-size: 15.5px;
  }

  .not-list span {
    font-size: 14px;
  }

  /* 横スクロールできることが分かるように、右端を少し見せる */
  .spec-wrap {
    margin-right: -20px;
    padding-right: 20px;
  }

  .spec-table {
    min-width: 560px;
  }

  .spec-table tbody th {
    width: 32%;
    font-size: 13px;
    padding: 14px 16px;
  }

  .spec-table tbody td {
    font-size: 14px;
    padding: 14px 16px;
  }
}


/* ---- モーションを減らす設定を尊重 ---- */
@media (prefers-reduced-motion: reduce) {
  .work-thumb {
    transition: none;
  }

  .work-thumb:hover,
  .work-thumb:focus-visible {
    transform: none;
  }
}


/* =========================================
   スマホ（640px以下）では、表を「カード」に組み替える
   ・横スクロールに気づかず、価格や右側の列を見落とす事故を防ぐため
   ・641px以上は、いままでどおりの表のまま
   ========================================= */

@media (max-width: 640px) {

  /* ---- 料金表：1行 = 1枚のカード ---- */
  .price-table-wrap {
    overflow-x: visible;
  }

  .price-table {
    display: block;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .price-table thead {
    /* 見出し行は、カードでは意味を持たないので隠す（読み上げ対策で位置だけ残す） */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .price-table tbody {
    display: block;
  }

  .price-table tbody tr {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(22, 36, 63, 0.06);
  }

  .price-table tbody th,
  .price-table tbody td {
    display: block;
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
  }

  .price-table tbody th[scope="row"] {
    font-size: 17px;
    margin-bottom: 6px;
  }

  /* 「内容」の列 */
  .price-table tbody td:not(.price-cell) {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 12px;
  }

  .price-table .price-cell {
    font-size: 22px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
  }

  /* 「セット」行は、カードごと強調する */
  .price-table tbody tr.price-row-set {
    background: var(--teal-light);
    border-color: var(--teal);
  }

  .price-row-set th[scope="row"],
  .price-row-set td {
    background: transparent;
  }

  /* カードの中では改行しなくても収まる */
  .price-cell small br.sp-only {
    display: none;
  }


  /* ---- プラン比較表・MEO表：1項目 = 1枚のカード ---- */
  .spec-wrap {
    overflow-x: visible;
    margin-right: 0;
    padding-right: 0;
  }

  .spec-table {
    display: block;
    min-width: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .spec-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .spec-table tbody {
    display: block;
  }

  .spec-table tbody tr {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
  }

  .spec-table tbody th,
  .spec-table tbody td {
    display: block;
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
  }

  .spec-table tbody th {
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 8px;
  }

  .spec-table tbody td {
    font-size: 14px;
    line-height: 1.8;
  }

  /* 比較表は、プラン名と価格を上に帯で残す（表の見出しが消えて分からなくなるため） */
  .spec-table-compare thead {
    position: static;
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    margin-bottom: 12px;
  }

  .spec-table-compare thead tr {
    display: flex;
    gap: 8px;
  }

  .spec-table-compare thead th {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 10px;
  }

  .spec-table-compare thead th:first-child {
    display: none;
  }

  .spec-table-compare .spec-price {
    font-size: 15px;
    margin-top: 2px;
  }

  /* 比較表だけ、どちらのプランの話かを出す */
  .spec-table-compare tbody td::before {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--teal);
    margin-bottom: 2px;
  }

  .spec-table-compare tbody td:nth-of-type(1)::before {
    content: "Lite";
  }

  .spec-table-compare tbody td:nth-of-type(2)::before {
    content: "Standard";
  }

  .spec-table-compare tbody td:nth-of-type(2) {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
  }
}


/* =========================================
   ▼ ここから下が「動き」の追記ぶん（v1.0.6 で追加）
      既存のCSSは1行も変更していません。末尾に足しているだけです。

   ・JSが読み込まれたときだけ <body> に .rf-motion が付きます
   　→ JSが動かない環境では、いままで通り最初からすべて表示されます
   ・prefers-reduced-motion（OSの「動きを減らす」設定）の方には動きません
   ・トップページと下層ページ（会社概要 / 特商法 / プライバシーポリシー）の
   　両方に効きます
   ========================================= */

/* =========================================
   1. トップのヒーロー
      「できない」→「できる」に文字が組み替わる
   ========================================= */

.rf-swap {
  position: relative;
  display: inline-block;
}

/* 組み替え前の「できない」。動きONのときだけ現れる影武者 */
.rf-ghost {
  display: none;
}

.rf-motion .rf-ghost {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  color: var(--navy);
  pointer-events: none;
  /* 既定は透明。再生中（.rf-play）だけアニメーションが不透明にします。
     こうしておくと、何かの理由で再生が止まっても「できない」が残りません */
  opacity: 0;
}

.rf-motion .rf-ghost i {
  display: inline-block;
  font-style: normal;
}

/* 「できる」の上を通り抜けるティールの光 */
.rf-sweep {
  display: none;
}

.rf-motion .rf-sweep {
  display: block;
  position: absolute;
  left: -0.12em;
  right: -0.12em;
  bottom: 0.1em;
  height: 0.5em;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(42, 157, 143, 0) 0%, rgba(42, 157, 143, 0.3) 50%, rgba(42, 157, 143, 0) 100%);
  opacity: 0;
  pointer-events: none;
}

/* 登場シーケンス（.rf-play が付いている間だけ走る） */
.rf-motion.rf-play .hero-title .ht-seg {
  animation: rf-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.rf-motion.rf-play .hero-title .ht-seg:nth-of-type(1) { animation-delay: 0.10s; }
.rf-motion.rf-play .hero-title .ht-seg:nth-of-type(2) { animation-delay: 0.26s; }
.rf-motion.rf-play .hero-title .ht-seg:nth-of-type(3) { animation-delay: 0.42s; }
/* 4つめ「組み替える。」は、組み替えが終わってから出す */
.rf-motion.rf-play .hero-title .ht-seg:nth-of-type(4) { animation-delay: 1.85s; }

/* 「ない」が外れて落ちる */
.rf-motion.rf-play .rf-gx {
  animation: rf-drop 0.5s cubic-bezier(0.55, 0.06, 0.68, 0.19) 0.95s both;
}

/* 閉じカッコが1文字ぶん詰めて、「る」の居場所をつくる */
.rf-motion.rf-play .rf-g2 {
  animation: rf-close 0.40s cubic-bezier(0.65, 0, 0.35, 1) 1.15s both;
}

/* 影武者が消える */
.rf-motion.rf-play .rf-ghost {
  animation: rf-ghost-out 2s linear both;
}

/* 本物の「できる」が入れ替わりで立ち上がる */
.rf-motion.rf-play .hero-title .accent {
  animation: rf-word-in 0.7s cubic-bezier(0.22, 1.15, 0.36, 1) 1.58s both;
}

.rf-motion.rf-play .rf-sweep {
  animation: rf-sweep 1.1s ease-out 1.65s both;
}

/* 見出しの上の一行（福岡＋業種）は、いちばん先に出す */
.rf-motion.rf-play .hero-eyebrow {
  animation: rf-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.02s both;
}

.rf-motion.rf-play .hero-lead {
  animation: rf-up 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 2.10s both;
}

.rf-motion.rf-play .hero-cta {
  animation: rf-up 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 2.30s both;
}

/* =========================================
   2. 下層ページの見出し（トップのヒーローと同じ調子で）
   ========================================= */

.rf-motion.rf-play .page-hero > * {
  animation: rf-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.rf-motion.rf-play .page-hero > *:nth-child(1) { animation-delay: 0.08s; }
.rf-motion.rf-play .page-hero > *:nth-child(2) { animation-delay: 0.20s; }
.rf-motion.rf-play .page-hero > *:nth-child(3) { animation-delay: 0.32s; }

/* =========================================
   3. キーフレーム
   ========================================= */

@keyframes rf-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes rf-drop {
  from { opacity: 1; transform: none; filter: blur(0); }
  to   { opacity: 0; transform: translateY(0.6em) rotate(14deg); filter: blur(2px); }
}

@keyframes rf-close {
  from { transform: none; }
  to   { transform: translateX(-1.03em); }
}

@keyframes rf-ghost-out {
  0%     { opacity: 1; }
  77.5%  { opacity: 1; }
  90%    { opacity: 0; }
  100%   { opacity: 0; }
}

@keyframes rf-word-in {
  from { opacity: 0; transform: translateY(0.2em) scale(0.94); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes rf-sweep {
  0%   { opacity: 0; transform: translateX(-55%); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(55%); }
}

/* =========================================
   4. スクロールで下からふわっと

   ※ transition はプロパティごとに上書きし合うため、
   　 ホバーもする要素は「出現ぶん」と「ホバーぶん」を1本にまとめて書いています。
   　 行を分けて書くと、あとに書いたほうが前のほうを消してしまいます。
   ========================================= */

/* 出てくる要素には、JSが .rf-rv という目印を付けます。
   （CSSに要素名を並べると詳細度がばらついて、隠れたまま出てこない事故が起きるため）
   JSが動かなければ目印も付かない＝いままで通り最初から全部見えます。
   対象は reframe-motion.js の REVEAL に一覧があります。 */

.rf-motion .rf-rv {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ホバーもする要素は、出現ぶんとホバーぶんを1本にまとめて指定 */
.rf-motion .service-card {
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.rf-motion .reason-item {
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.3s ease,
    border-left-width 0.25s ease,
    padding-left 0.25s ease;
}

.rf-motion .info-list > div {
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.25s ease;
}

/* 画面に入ったら、この状態になる（3つ並びは時間差つき） */
.rf-motion .rf-rv.is-in {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--rf-i, 0) * 110ms);
}

/* =========================================
   5. ヘッダー：スクロールで薄く影／現在地をハイライト
   ========================================= */

.rf-motion .site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.rf-motion .site-header.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 20px rgba(22, 36, 63, 0.08);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
}

.rf-motion .global-nav a.is-active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.rf-motion .header-logo img {
  transition: transform 0.3s ease;
}

.rf-motion .header-logo:hover img {
  transform: translateY(-1px);
}

.rf-motion .header-cta {
  transition: background 0.2s ease, transform 0.2s ease;
}

.rf-motion .header-cta:hover {
  transform: translateY(-1px);
}

.rf-motion .btn:active,
.rf-motion .header-cta:active {
  transform: translateY(0);
  opacity: 0.9;
}

/* =========================================
   6. カード類のホバー
   ========================================= */

/* サービスカード：ふわっと浮く */
.rf-motion .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(22, 36, 63, 0.10);
  border-color: #CBE6E2;
}

.rf-motion .service-card .service-num {
  transition: letter-spacing 0.3s ease;
}

.rf-motion .service-card:hover .service-num {
  letter-spacing: 0.28em;
}

/* 理由カード：左のティール線が少し伸びる */
.rf-motion .reason-item:hover {
  box-shadow: 0 10px 24px rgba(22, 36, 63, 0.09);
  border-left-width: 10px;
  padding-left: 34px;
}

/* 下層ページの定義リスト：行ホバー */
.rf-motion .info-list > div:hover {
  background: rgba(42, 157, 143, 0.05);
}

/* =========================================
   7. 料金表：行ホバー＋「セット」行を強調
   ========================================= */

.rf-motion .price-table tbody tr {
  transition: background 0.25s ease;
}

.rf-motion .price-table tbody tr:hover {
  background: var(--teal-light);
}

/* v1.0.7: 行の並びが変わっても崩れないよう、行番号ではなくクラスで指定します。
   （背景の強調は .price-row-set の指定で常時かかっています） */
.rf-motion .price-table tbody tr.price-row-set .price-cell {
  color: var(--coral-dark);
}

.rf-motion .price-cell {
  font-variant-numeric: tabular-nums;
}

/* =========================================
   8. キーボード操作でも居場所が分かるように
   ========================================= */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================
   9. 「動きを減らす」設定の方には動かさない
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  body:not(.rf-force) *,
  body:not(.rf-force) *::before,
  body:not(.rf-force) *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  html {
    scroll-behavior: auto;
  }
}


/* =========================================
   10. 追加セクション（v1.1.0）
   お悩みへの答え／対応業種／6つのお約束
   ========================================= */

/* ---------- お悩みへの答え ---------- */
.worry-answer {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
}

.worry-arrow {
  flex-shrink: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- 対応業種 ----------
   サービスと同じ「白い背景＋グレーのカード」。
   直後の「制作イメージ」がグレー背景なので、ここをグレーにすると
   3セクション続けて同じ色になり、切れ目が消えます。 */
.section-industry {
  background: var(--bg);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.industry-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
}

.industry-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.industry-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}

.industry-note {
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-light);
  margin: 36px 0 0;
}

/* ---------- 6つのお約束 ----------
   直前の「料金」がグレー背景なので、ここは白。 */
.section-promise {
  background: var(--bg);
}

.promise-lead {
  text-align: center;
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin: -12px 0 44px;
}

.promise-list {
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  counter-reset: promise;
}

.promise-item {
  position: relative;
  padding: 26px 28px 26px 76px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  counter-increment: promise;
}

.promise-item + .promise-item {
  margin-top: 16px;
}

.promise-item::before {
  content: counter(promise);
  position: absolute;
  top: 26px;
  left: 26px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}

.promise-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.6;
}

.promise-item p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}

/* ---------- フッターの電話・メール ---------- */
.footer-tel {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.9;
}

.footer-tel a {
  color: #7FD6CB;
}

/* ---------- 無料診断CTAの補足文 ----------
   v1.1.5 で「無料相談」→「無料診断」へ切り替えた際に使い始めた1行です。 */
.contact-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 14px 0 0;
}

/* ---------- スマホ ---------- */
@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-item {
    padding: 20px 18px;
  }

  .industry-note,
  .promise-lead {
    text-align: left;
  }

  .promise-item {
    padding: 22px 20px;
  }

  .promise-item::before {
    position: static;
    margin-bottom: 12px;
  }

  .promise-item h3 {
    font-size: 16px;
  }
}


/* =========================================
   LINE友だち追加の導線（v1.1.5 で追記）
   トップページのクロージングCTA・下層ページ共通CTA・会社概要の連絡先で使います。
   ========================================= */

/* メールとLINEの2つのボタンを並べる。既存の .contact-cta は素のdivでした。 */
.contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}

/* #06C755 はLINEのブランドカラー。サイトのティール／ネイビー系とは意図的に
   揃えていません。「LINEのボタンである」と一瞬で分かることを優先しています。
   角丸・文字サイズ・余白は隣の .btn-coral に合わせ、2つが同じ高さで並ぶようにしています。 */
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.4);
  font-size: 20px;
  padding: 20px 56px;
  min-height: 48px; /* タップ領域の確保。ご年配の方も想定しているので詰めないでください */
}

.btn-line:hover,
.btn-line:focus-visible {
  background: #05B54C;
}

/* ---------- QRコード ---------- */
.qr-block {
  margin-top: 36px;
}

.qr-block img {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

/* この注記は必須です。スマホで見ている方は同じ画面のQRを読み取れないため、
   説明がないと迷わせてしまいます。 */
.qr-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #B8C2D4;
}

@media (max-width: 768px) {
  .contact-cta {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  /* メール・LINEの2つを同じ幅・同じ高さで縦に並べます。
     左右の余白を詰めないと「メールで診断を申し込む」が2行になり、高さがそろいません。 */
  .contact-cta .btn {
    width: 100%;
    max-width: 320px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* v1.2.1：スマホではQRを消します。
     同じ画面に出ているQRは、その端末では読み取れないためです。
     LINEへの導線は、すぐ上の「LINEで診断を申し込む」ボタンが担います。
     （以前は「印刷して使う方がいる」という理由で残していましたが、
     　印刷はPC表示から行うため、PC側にQRを残しておけば足ります） */
  .qr-block {
    display: none;
  }
}


/* =========================================
   お問い合わせページ（/contact/・v1.1.6 で追記）
   3つの連絡手段カード → フォーム本体＋サイドの案内、という並びです。
   ========================================= */

/* ---------- 3つの連絡手段 ---------- */
.contact-routes {
  padding: 64px 0 0;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.route-item {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px 26px;
  box-shadow: 0 2px 10px rgba(22, 36, 63, 0.05);
}

.route-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  margin-bottom: 18px;
}

.route-icon svg {
  width: 24px;
  height: 24px;
}

.route-item h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 12px;
}

.route-item p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-light);
  margin-bottom: 18px;
}

.route-item p a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

/* カードの下端でリンクの高さをそろえます */
.route-link {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  font-size: 15px;
  color: var(--teal);
  border-bottom: 1px solid rgba(42, 157, 143, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.route-link::after {
  content: "→";
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.route-link:hover,
.route-link:focus-visible {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.route-link:hover::after {
  transform: translateX(3px);
}

/* ---------- フォーム本体＋サイド ---------- */
.contact-main {
  padding: 56px 0 88px;
  scroll-margin-top: 90px; /* ヘッダーが固定なので、アンカーで飛んだとき隠れないように */
}

.contact-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 40px;
  align-items: start;
}

.form-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-light);
  margin-bottom: 24px;
}

.contact-form-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 28px;
}

.form-empty {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-light);
}

.form-empty a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-light);
}

/* ---------- Contact Form 7 の見た目 ----------
   プラグイン側の素のフォームは、このサイトの他の部分と質感が合いません。
   クラス名は Contact Form 7 が出力するものに合わせています。 */
.contact-form-box .cf7-row {
  margin-bottom: 22px;
}

.contact-form-box .cf7-row:last-of-type {
  margin-bottom: 0;
}

.contact-form-box .cf7-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form-box .cf7-req {
  color: var(--coral);
  margin-left: 4px;
}

.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box input[type="tel"],
.contact-form-box input[type="url"],
.contact-form-box select,
.contact-form-box textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px; /* 16px未満だとiPhoneで入力時に拡大されます */
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  line-height: 1.7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
  color: #9AA4B5;
}

.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

/* ドロップダウン（ご相談の内容）
   ブラウザ標準の見た目のままだと、他の入力欄と質感がそろいません。
   矢印だけ自前で描いて、入力欄と同じ枠・角丸に合わせています。
   文字を16pxにしているのは、入力欄と同じ理由（iPhoneで拡大されないため）です。
   選択肢の文言が長いので、スマートフォンでは閉じているときに末尾が切れます。
   タップして開いたときはOS標準のピッカーで全文が読めるため、文言は短くしていません。 */
.contact-form-box select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2316243F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 44px;
  cursor: pointer;
  /* スマートフォンでは長い選択肢が枠に収まりません。
     ぶつ切りにせず「…」で切れていることが分かるようにしています。 */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 未選択（「選択してください」）のときだけ、プレースホルダーと同じ薄さにする */
.contact-form-box select:has(option[value=""]:checked) {
  color: #9AA4B5;
}

/* 項目の下に添える補助文（例：無料診断をご希望の方はご記入ください） */
.contact-form-box .cf7-hint {
  display: block;
  margin: -2px 0 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-light);
}

.contact-form-box textarea {
  min-height: 180px;
  resize: vertical;
}

/* お名前と会社名、メールと電話を2列に */
.contact-form-box .cf7-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form-box .wpcf7-submit {
  display: inline-block;
  width: 100%;
  margin-top: 26px;
  padding: 18px 32px;
  border: none;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(231, 111, 81, 0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-form-box .wpcf7-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* 入力エラー・送信結果のメッセージ */
.contact-form-box .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--coral-dark);
}

.contact-form-box .wpcf7-not-valid {
  border-color: var(--coral);
}

.contact-form-box .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.8;
}

.contact-form-box .wpcf7-spinner {
  margin-left: 12px;
}

/* ---------- サイドの案内 ---------- */
.side-card {
  background: var(--teal-light);
  border-radius: 14px;
  padding: 28px 26px;
}

.side-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 12px;
}

.side-text {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* サイドではボタンを縦に積むので、トップのCTAより控えめにします。
   display:flex にしているので、中の文字は justify-content で中央に寄せます
   （.btn の text-align:center はフレックスの子には効きません）。 */
.side-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 17px;
  padding: 16px 20px;
}

.side-mail {
  background: var(--bg);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
}

.side-mail-label {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.side-mail a {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  word-break: break-all;
}

.side-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

.side-privacy {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(42, 157, 143, 0.25);
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-light);
}

.side-privacy a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.side-info {
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.side-info > div {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
}

.side-info dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.side-info dd {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}

.side-info dd a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- タブレット ---------- */
@media (max-width: 960px) {
  .route-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- スマホ ---------- */
@media (max-width: 768px) {
  .contact-routes {
    padding-top: 48px;
  }

  .route-item {
    padding: 24px 20px 22px;
  }

  .contact-main {
    padding: 40px 0 64px;
  }

  .contact-form-box {
    padding: 24px 18px;
  }

  .contact-form-box .cf7-half {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-box .cf7-half .cf7-row {
    margin-bottom: 22px;
  }

  .side-card {
    padding: 24px 20px;
  }
}


/* =========================================
   スマホでの折り返しを整える（v1.1.7 で追記）

   日本語には単語の区切りがないため、放っておくと
   「〜します。」の「す。」だけが次の行に落ちます。
   基本の対策は .ht-seg（フレーズ単位で改行）ですが、
   1フレーズ自体が1行に入りきらないと結局そこで切れるので、
   長いフレーズはPHP側で短く分けました。ここはその補強です。
   ========================================= */

/* 対応ブラウザでは文節単位で折ってもらいます。
   未対応のブラウザはこの1行を読み飛ばすだけで、表示は変わりません。 */
.page-lead,
.page-title,
.contact-lead,
.contact-title,
.contact-sub,
.hero-lead,
.spec-title,
.side-title,
.side-text,
.form-lead,
.route-item p,
.qr-note,
.footer-tel,
.worry-answer,
.promise-lead,
.info-list dd,
.info-sublist li,
.page-text p,
.page-text li,
.price-notes li,
.not-list b,
.not-list span {
  word-break: auto-phrase;
}

@media (max-width: 768px) {
  /* スマホでは本文全体に効かせます。日本語の文節の切れ目で折るだけなので、
     見た目が大きく変わることはありません（未対応ブラウザでは無視されます）。 */
  body {
    word-break: auto-phrase;
  }

  /* 左右をわずかに詰めて、1行に入る文字数を増やします */
  .container {
    padding: 0 18px;
  }

  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* 電話とメールを、それぞれのかたまりで折り返します */
  .footer-tel .ht-seg {
    margin: 0 2px;
  }
}


/* =========================================
   無料診断への導線を整える（v1.2.1 で追記）

   引継ぎ書「reframelab.jp 修正引継ぎ書」（2026-08-30）の反映ぶんです。
   配色・フォント・余白リズムは既存のトークンをそのまま使っています。
   新しい色や装飾は足していません。
   ========================================= */

/* ---------- ヒーローCTAの補足1行（修正2） ----------
   「押した先に何が待っているか」を、押す前に見せるための行です。
   PCは縦の細い罫線で区切り、スマホ（〜768px）では縦積みにします。 */
.hero-note {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 2px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-light);
}

.hero-note span {
  position: relative;
  padding: 0 15px;
}

.hero-note span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 1em;
  margin-top: -0.5em;
  background: var(--border);
}

/* ---------- 制作イメージ（修正7・修正8） ---------- */

/* 「実際にお受けした案件ではありません」。本文より一段落とした注記の調子で */
.works-note-sub {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
}

/* サンプル内のダミー数値への注記。「※表示価格はすべて税込」と同じ調子 */
.works-caution {
  max-width: 900px;
  margin: 18px auto 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-light);
  text-align: right;
}

/* ---------- 6つのお約束5：期間と対象の書き分け（修正9） ---------- */
.promise-item p + p {
  margin-top: 10px;
}

.promise-term strong {
  color: var(--navy);
}

/* プラン比較表「公開後」→ お約束5 へのアンカー */
.spec-ref {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--teal);
  border-bottom: 1px solid rgba(42, 157, 143, 0.4);
  padding-bottom: 1px;
}

.spec-ref:hover,
.spec-ref:focus-visible {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* ---------- 対応エリア（修正5） ----------
   「MEO初期設定に含まれるもの」と同じ、薄グレー背景＋白カードです。 */
.section-area {
  background: var(--bg-soft);
}

.area-box {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(22, 36, 63, 0.06);
  padding: 32px 36px;
  font-size: 16px;
  line-height: 1.95;
}

.area-box p + p {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* ---------- 無料診断セクションの入口文言（修正1） ----------
   1行目「お店のお名前だけ〜」だけを強く見せます。
   ネイビー背景の上では var(--teal) が沈むので、リンクと同じ #7FD6CB を使います。 */
.contact-lead-group {
  margin-bottom: 40px;
}

.contact-lead-group .contact-lead {
  margin-bottom: 0;
}

.contact-lead-group .contact-lead + .contact-lead {
  margin-top: 10px;
}

.contact-lead strong {
  color: #7FD6CB;
  font-weight: 700;
}

.contact-lead-sub {
  font-size: 16px;
  color: #B8C2D4;
}

/* 追記ぶんも文節単位で折り返します */
.hero-note,
.area-box p,
.works-caution,
.promise-term {
  word-break: auto-phrase;
}

/* ---------- スマホ ---------- */
@media (max-width: 768px) {

  /* 3項目を縦積みにして、区切り線は消します */
  .hero-note {
    flex-direction: column;
    align-items: center;
    row-gap: 2px;
  }

  .hero-note span {
    padding: 0;
  }

  .hero-note span + span::before {
    display: none;
  }

  .works-caution {
    text-align: left;
    font-size: 13px;
  }

  .area-box {
    padding: 24px 20px;
    font-size: 15px;
  }

  /* 幅が狭いので、PC用の改行位置は使いません */
  .area-box br {
    display: none;
  }

  .contact-lead-sub {
    font-size: 15px;
  }
}


/* ---------- 追記ぶんの「動き」（v1.2.1） ----------
   ヒーローの補足1行は、2つのボタン（2.30s）の直後に出します。
   .rf-motion が付くのはJSが動いたときだけなので、JSなしでは最初から見えています。 */
.rf-motion.rf-play .hero-note {
  animation: rf-up 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 2.45s both;
}


/* =========================================
   特商法ページを読みやすくする（v1.2.14 で追記）

   「役務の対価」のように <br> で12行つづく箇所は、
   行と行の切れ目が分からず、文字のかたまりに見えていました。
   文言は1文字も変えず、見せ方だけを次のように整えています。
     ・料金などの列挙は <ul class="info-lines"> にして、
       1項目ずつ余白をあけ、頭に小さなティールの点をつけました。
       折り返した2行目は字下げされるので、どこからが次の項目か分かります。
     ・（〜の場合）のような補足は .info-lines-sub で下の行に落とし、
       一段小さいグレーにして、主役の一行を目立たせています。
     ・※の注記は .info-notes で本文と線で区切りました。
     ・スマホでは項目名（dt）にティールの縦線をつけて、
       見出しと本文の区別がつくようにしています。
   ========================================= */

.info-list > div {
  padding: 26px 4px;
}

.info-list dd {
  line-height: 2;
}

/* dd のなかの段落・箇条書きのあいだ（以前の <br><br> の代わり） */
.info-list dd > * + * {
  margin-top: 14px;
}

/* ---- 1行1項目でならべるもの（料金・提供時期など） ---- */
.info-lines {
  list-style: none;
}

.info-lines li {
  position: relative;
  padding-left: 17px;
}

.info-lines li + li {
  margin-top: 11px;
}

.info-lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.55;
}

/* 金額はネイビーの太字にして、目で追えるようにします */
.info-lines b {
  font-weight: 700;
  color: var(--navy);
}

/* 補足の一行（条件・注記）。改行して一段小さく */
.info-lines-sub {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---- ※ではじまる注記 ---- */
.info-list dd > .info-notes {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  list-style: none;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
}

.info-notes li {
  padding-left: 1.4em;
  text-indent: -1.4em;
}

.info-notes li + li {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .info-list > div {
    padding: 20px 4px 24px;
  }

  /* 項目名に縦線をつけて、本文と見分けやすくします */
  .info-list dt {
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid var(--teal);
    line-height: 1.6;
  }

  /* 幅が狭いぶん、項目どうしのすき間を少し広げます */
  .info-lines li + li {
    margin-top: 14px;
  }

  .info-lines-sub,
  .info-list dd > .info-notes {
    font-size: 13px;
  }
}


/* =========================================
   ファーストビューの納品物モック（2026-09-03）

   目的は装飾ではなく、「何が納品されるのか」をFV内で見せることです。
   スマホの筐体はCSSで描き、画像は画面の中身だけにしています
   （軽く済み、あとで中身だけ差し替えられるため）。

   高さは指定しません。ヒーローの下に置くと、ノートPCでもスマホでも
   モックの下側が画面の外にはみ出し、そこがスクロールの手がかりになります。
   100vh で高さを固定しないのは、スマホのアドレスバーの伸縮で
   切れる位置が動いてしまうためです。
   ========================================= */

.hero-mock {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

.hero-mock-frame {
  position: relative;
  width: 300px;
  padding: 16px 12px 14px;
  border-radius: 38px;
  background: var(--navy);
  box-shadow: 0 20px 44px rgba(22, 36, 63, 0.20);
}

/* 受話口。実機に見せるための最小限の1本だけです */
.hero-mock-frame::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 74px;
  height: 4px;
  margin-left: -37px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.30);
}

.hero-mock-screen {
  overflow: hidden;
  border-radius: 24px;
  background: #FFFFFF;
  line-height: 0;
}

.hero-mock-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-mock-caption {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-light);
  word-break: auto-phrase;
}

@media (max-width: 768px) {

  .hero-mock {
    margin-top: 40px;
  }

  /* 画面が狭いぶん枠を細くします。切れる位置は画面まかせのままです */
  .hero-mock-frame {
    width: 244px;
    padding: 14px 10px 12px;
    border-radius: 32px;
  }

  .hero-mock-frame::before {
    top: 6px;
    width: 62px;
    margin-left: -31px;
  }

  .hero-mock-screen {
    border-radius: 20px;
  }

  .hero-mock-caption {
    font-size: 12.5px;
  }
}

/* ---------- PCだけ2カラムにする（2026-09-03） ----------
   1000px以上のときだけ、左＝テキスト／右＝モックの2カラムにします。
   中央揃えのままだとモックが折り返し地点より下に落ちてしまい、
   「FV内で何を作る会社か伝わる」が成立しないためです（実測で確認）。

   タブレット・スマホ（〜999px）は中央揃えのまま。
   スマホではモックが折り返し地点より下に来ますが、
   ヒーローの余白を変えずに上げる方法がないため、そのままにしています。
   ========================================= */

@media (min-width: 1000px) {

  .hero-inner {
    max-width: 1120px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 72px;
    align-items: start;
    text-align: left;
  }

  .hero-eyebrow { grid-column: 1; grid-row: 1; }
  .hero-title   { grid-column: 1; grid-row: 2; }
  .hero-lead    { grid-column: 1; grid-row: 3; }
  .hero-cta     { grid-column: 1; grid-row: 4; justify-content: flex-start; }
  .hero-note    { grid-column: 1; grid-row: 5; justify-content: flex-start; }

  /* リード文のPC用の改行位置は、カラムが狭くなるぶん使いません */
  .hero-lead br {
    display: none;
  }

  .hero-mock {
    grid-column: 2;
    grid-row: 1 / span 5;
    margin-top: 6px;
  }

  .hero-mock-caption {
    grid-column: 2;
    grid-row: 6;
    margin-top: 14px;
    text-align: center;
  }
}
