/* =========================
   Reset（ごく簡易）
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Segoe UI", YuGothic, "Yu Gothic", "メイリオ", Meiryo;
  line-height: 1.7;
  color: #222;
  background-color: #f5f8fb;
  overflow-x: hidden;
}

ul {
  list-style: disc!important;
}

h1 {
  font-weight:800!important;
}

p {
  margin: 16px 0;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* リンク */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

/* =========================
   Layout
========================= */

.lp-shonan-chilltime {
  background-color: #f5f8fb;
}

/* 共通インナー */
.inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* セクション共通 */
section {
  position: relative;
  padding: 64px 0;
}

/* 共通インライン非改行 */
.no-wrap {
  white-space: nowrap;
}

/* =========================
   H2 見出し（ベース）
========================= */

.section-title {
  position: relative;
  margin: 0 0 24px;
  font-size: 1.8rem;
  font-weight: 700!important;
  line-height: 1.5;
  text-align: center;
  color: #014f86;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0076ff, #00b9ff);
}

.section-title span {
  font-weight: 700!important;
}


/* =========================
   ②・④ H2見出し：湘南デザイン
========================= */

.section-about .section-title,
.section-target .section-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin: 0 0 28px;
  padding: 0.45em 1.4em;
  font-size: 1.7rem;
  font-weight: 700!important;
  color: #014f86;
  background: linear-gradient(
    90deg,
    rgba(0, 181, 255, 0.18),
    rgba(0, 181, 255, 0.03)
  );
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 118, 255, 0.18);
}

.section-about .section-title::after,
.section-target .section-title::after {
  content: none;
}

.section-about .section-title::before,
.section-target .section-title::before {
  content: "";
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    #fff9d1 0%,
    #ffd36a 55%,
    #ffb347 100%
  );
}

/* =========================
   ⑨ H2見出し：湘南デザイン（白背景バージョン）
========================= */

.section-contact .section-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin: 0 0 24px;
  padding: 0.45em 1.5em;
  font-size: 1.7rem;
  font-weight: 700!important;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.section-contact .section-title::after {
  content: none;
}

.section-contact .section-title::before {
  content: "";
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.7) 55%,
    rgba(255, 255, 255, 0.3) 100%
  );
}

/* =========================
   Buttons
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700!important;
  font-size: 0.95rem!important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0076ff, #00b9ff);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 118, 255, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: #0076ff;
  border-color: #0076ff;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* 小さめボタン（掲載事例のリンク用） */
.btn-sm {
  min-width: auto;
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* =========================
   ファーストビュー（①）
========================= */

.section-fv {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.75) 100%
    ),
    url("../images/shonan-hero.jpg") center center / cover no-repeat;
  color: #fff;
}

.fv-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 旧ビジュアルは背景指定に移行しているため非表示のまま */
.fv-visual {
  display: none;
}

/* ロゴ（PC: 左側、SP: 最上部中央） */
.fv-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-right: 40px;
  margin-bottom: 16px;
}

.fv-logo img {
  width: 260px;              /* PCではやや大きめ（以前より約1.7倍イメージ） */
  max-width: 100%;
}

/* キャッチ・リード・CTA */
.fv-copy {
  flex: 1 1 0;
  padding: 8px 0;
}

.fv-label {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
  opacity: 0.85;
}

.fv-title {
  font-size: 2.1rem;
  line-height: 1.4;
  margin: 0 0 16px;
}

.fv-lead {
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.fv-sub {
  font-size: 0.95rem;
  margin: 0 0 24px;
}

.fv-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   About（②）
========================= */

.section-about {
  background-color: #ffffff;
}

.about-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.about-text {
  flex: 1 1 55%;
}

.point-list {
  padding-left: 1.2em;
  margin: 16px 0 0;
}

.point-list li {
  margin-bottom: 6px;
  position: relative;
}

.point-list li::before {
  content: "•";
  position: absolute;
  left: -1.2em;
  color: #0076ff;
}

.about-visual {
  flex: 1 1 45%;
}

/* =========================
   理由ブロック（③）
========================= */

.section-reasons {
  background-color: #f0f4fa;
}

.section-reasons .section-title {
  margin-bottom: 40px;
}

.reason-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.reason-block:last-of-type {
  border-bottom: none;
}

.reason-text {
  flex: 1 1 55%;
}

/* H3 + 大きめ数字（選ばれる理由） */
.section-reasons .reason-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 700!important;
  color: #014f86;
}

.section-reasons .reason-title::before,
.section-reasons .reason-title::after {
  content: none;
}

.reason-title-text {
  font-weight: 700!important;
}

.section-reasons .reason-num {
  font-size: 3rem;
  font-weight: 700!important;
  font-style: italic;
  line-height: 1;
  color: #1ad39c;
  flex-shrink: 0;
}

.reason-text p {
  margin: 0 0 10px;
}

.reason-text ul {
  padding-left: 1.2em;
  margin: 0 0 10px;
}

.reason-text li {
  margin-bottom: 4px;
}

.reason-visual {
  flex: 1 1 40%;
}

/* =========================
   Target（④）
========================= */

.section-target {
  background-color: #ffffff;
}

/* PC時はfloatレイアウト */
.target-inner {
  position: relative;
}

/* clearfix */
.target-inner::after {
  content: "";
  display: block;
  clear: both;
}

/* 画像を右に浮かせて、テキストが左に回り込む */
.target-visual {
  float: right;
  width: 40%;
  max-width: 420px;
  margin-left: 24px;
  margin-bottom: 12px;
}

.target-content {
  /* floatした画像の左＆下に本文が回り込む */
}

.target-list {
  padding-left: 1.2em;
  margin: 0 0 12px;
}

.target-list li {
  margin-bottom: 4px;
}

/* =========================
   Plan（⑤）カード比較版
========================= */

.section-plan {
  position: relative;
  padding: 72px 0 72px;
  background-color: #004274;
  color: #ffffff;
  text-align: center;
}

/* 上側：前セクションとの波（target→plan） */
.section-plan::before {
  content: "";
  position: absolute;
  top: -64px;
  left: 0;
  width: 100%;
  height: 72px;
  background-repeat: repeat-x;
  background-size: auto 72px;
  background-position: bottom center;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22800%22%20height%3D%2280%22%20viewBox%3D%220%200%20800%2080%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%2C40%20C100%2C25%20300%2C25%20400%2C40%20C500%2C55%20700%2C55%20800%2C40%20L800%2C80%200%2C80Z%22%20fill%3D%22%23004274%22/%3E%3C/svg%3E");
}

.section-plan .inner {
  position: relative;
  z-index: 1;
}

.section-plan .section-title {
  color: #ffffff;
}

.section-plan .section-title::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.7)
  );
}

.section-plan .section-lead {
  margin: 0 0 24px;
  color: #e7f3ff;
  font-size: 18px;
}

/* ラッパー */
.plan-overlay-panel {
  max-width: 1040px;
  margin: 0 auto 18px;
}

/* カードコンテナ（PCベース） */
.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

/* カード本体 */
.plan-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 320px;
  text-align: left;
  border-radius: 18px;
  background: #fdfdff;
  border: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  color: #222;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: none;
}

.plan-card-silver,
.plan-card-one,
.plan-card-gold {
  transform: none;
}

/* ヘッダー（PC表示の基本） */
.plan-card-header {
  padding: 12px 18px 14px;
  color: #ffffff;
}

.plan-card-label {
  margin: 0 0 4px;
  font-size: clamp(0.85rem, 1.5vw, 1.2rem);
  opacity: 0.9;
  font-weight: 700!important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* プラン名 */
.plan-card-name {
  margin: 0 0 4px;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 800!important;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* プラン名下のアクセントライン */
.plan-card-name::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.plan-card-price {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700!important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.plan-card-tax {
  font-size: 0.75rem;
  margin-left: 4px;
  opacity: 0.9;
  font-weight: 700!important;
}

/* ヘッダー色（プランごと／PC） */
.plan-card-silver .plan-card-header {
  background: linear-gradient(
    135deg,
    #b3b3b3 0%,
    #6b6b6b 18%,
    #d5d5d5 32%,
    #555555 50%,
    #c7c7c7 68%,
    #5f5f5f 82%,
    #b0b0b0 100%
  );
}

.plan-card-gold .plan-card-header {
  background: linear-gradient(
    135deg,
    #fff0b3 0%,
    #f0b429 20%,
    #c98506 40%,
    #f7c84b 60%,
    #b87300 80%,
    #ffd95e 100%
  );
}

.plan-card-one .plan-card-header {
  background: linear-gradient(
    135deg,
    #64bfb1 0%,
    #3f989e 25%,
    #7bcdc1 50%,
    #347e8b 75%,
    #93d7cb 100%
  );
}

/* ボディ */
.plan-card-body {
  padding: 14px 18px 18px;
  flex: 1 1 auto;
}

.plan-card-type {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600!important;
  color: #f18200;
}

.plan-card-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.9rem;
}

.plan-card-list li {
  margin-bottom: 6px;
}

/* =========================
   Cases（⑥ 掲載事例）
========================= */

.section-cases {
  background-color: #ffffff;
}

/* 上側：料金プランとの波セパレート（plan→cases） */
.section-cases::before {
  content: "";
  position: absolute;
  top: -64px;
  left: 0;
  width: 100%;
  height: 72px;
  background-repeat: repeat-x;
  background-size: auto 72px;
  background-position: bottom center;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22800%22%20height%3D%2280%22%20viewBox%3D%220%200%20800%2080%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%2C40%20C100%2C25%20300%2C25%20400%2C40%20C500%2C55%20700%2C55%20800%2C40%20L800%2C80%200%2C80Z%22%20fill%3D%22%23ffffff%22/%3E%3C/svg%3E");
}

.cases-lead {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: #444;
  text-align: center;
}

.cases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.case-card {
  flex: 1 1 0;
  min-width: 260px;
  max-width: 340px;
  background-color: #f5f8fb;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}

/* サムネイル画像 */
.case-thumb {
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 10px;
  aspect-ratio: 16 / 9;
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700!important;
  color: #f18200;
}

.case-desc {
  margin: 0 0 10px;
  color: #555;
}

.case-link {
  margin-top: 4px;
}

/* =========================
   Flow（⑦）
========================= */

.section-flow {
  background-color: #ffffff;
}

.section-flow .section-title {
  margin-bottom: 24px;
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-timeline {
  position: relative;
  margin: 0 0 24px;
  padding: 8px 0;
}

.flow-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(0, 118, 255, 0.25) 0%,
    rgba(0, 185, 255, 0.6) 50%,
    rgba(0, 118, 255, 0.25) 100%
  );
  z-index: 1;
}

.flow-timeline-item {
  position: relative;
  margin: 0 0 28px;
}

.flow-timeline-item:last-child {
  margin-bottom: 0;
}

.flow-timeline-body {
  position: relative;
  margin-left: 32px;
  padding: 14px 16px 14px 56px;
  background: transparent;
}

.flow-timeline-body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  right: 0;
  border-radius: 12px;
  background-color: #f5f8fb;
  z-index: 0;
}

.flow-timeline-body h3,
.flow-timeline-body p {
  position: relative;
  z-index: 2;
}

.flow-timeline-body h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight:700!important;
}

.flow-timeline-body p {
  margin: 0;
  font-size: 0.9rem;
}

.flow-timeline-marker {
  position: absolute;
  top: -10px;
  left: 5px;
  z-index: 3;
}

.flow-timeline-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0076ff, #00b9ff);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700!important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.flow-visual {
  max-width: 640px;
  margin: 16px auto 0;
}

/* =========================
   FAQ（⑧）
========================= */

.section-faq {
  background-color: #f0f4fa;
}

.section-faq .section-title {
  margin-bottom: 24px;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.faq-q {
  font-size: 1rem;
  margin: 0 0 8px;
  font-weight:700!important;
}

.faq-a {
  font-size: 0.9rem;
  margin: 0;
}

/* =========================
   Contact（⑨）
========================= */

.section-contact {
  background: linear-gradient(
    135deg,
    #002d5f 0%,
    #005aaa 40%,
    #00b0ff 100%
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.contact-content {
  flex: 1 1 55%;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.contact-visual {
  flex: 1 1 40%;
  position: relative;
  z-index: 1;
}

/* =========================
   Form（⑩）
========================= */

.section-form {
  background-color: #ffffff;
}

.section-form .section-title {
  margin-bottom: 8px;
}

.section-form .section-lead {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: #444;
  text-align: center;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  margin-bottom: 16px;
}

.form-label {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 700!important;
  font-size: 0.9rem;
}

.form-required {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 0.75rem;
  background-color: #e53935;
  color: #fff;
  border-radius: 999px;
  vertical-align: middle;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d0d7e2;
  font-size: 0.9rem;
  outline: none;
  background-color: #fdfefe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #0076ff;
  box-shadow: 0 0 0 2px rgba(0, 118, 255, 0.16);
  background-color: #ffffff;
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.form-radio {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.85rem;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
}

.form-checkbox a {
  text-decoration: underline;
}

.form-privacy-note {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: #666;
}

.form-row-submit {
  margin-top: 24px;
  text-align: center;
}

.form-submit {
  min-width: 260px;
  text-align: center !important;
  margin: auto !important;
}

/* =========================
   ⑪ 事業紹介
========================= */

.section-company {
  background-color: #ffffff;
}

.company-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.company-section-title {
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0.4em 1.4em;
  font-size: 1.6rem;
  background: linear-gradient(
    90deg,
    rgba(0, 181, 255, 0.14),
    rgba(0, 181, 255, 0.02)
  );
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 118, 255, 0.16);
}

/* 会社名横の黄色丸は削除（他セクションの丸は維持） */
.company-section-title::after {
  content: none;
}
.company-section-title::before {
  content: none;
}

.company-lead {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #445;
}

.company-business-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.company-business-card {
  background-color: #f5f8fb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  font-size: 0.9rem;
}

.company-business-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700!important;
  color: #014f86;
}

.company-business-name {
  margin: 0 0 6px;
  font-weight: 600!important;
}

.company-business-desc {
  margin: 0;
  color: #555;
}

/* =========================
   Footer
========================= */

.site-footer {
  background-color: #02223d;
  color: #ffffff;
  padding: 24px 0 32px;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-meta {
  min-width: 200px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700!important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-company {
  margin: 0 0 4px;
}

.footer-invoice {
  margin: 0 0 4px;
}

.footer-copy {
  margin: 0;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-links a {
  color: #e0f2ff;
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 0.9;
  text-decoration: underline;
}

/* =========================
   Section Wave Borders（③,④,⑦,⑧）
========================= */

.section-reasons::before,
.section-target::before,
.section-flow::before,
.section-faq::before {
  content: "";
  position: absolute;
  top: -64px;
  left: 0;
  width: 100%;
  height: 72px;
  background-repeat: repeat-x;
  background-size: auto 72px;
  background-position: bottom center;
  pointer-events: none;
  z-index: 0;
}

.section-target::before,
.section-flow::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22800%22%20height%3D%2280%22%20viewBox%3D%220%200%20800%2080%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%2C40%20C100%2C25%20300%2C25%20400%2C40%20C500%2C55%20700%2C55%20800%2C40%20L800%2C80%200%2C80Z%22%20fill%3D%22%23ffffff%22/%3E%3C/svg%3E");
}

.section-reasons::before,
.section-faq::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22800%22%20height%3D%2280%22%20viewBox%3D%220%200%20800%2080%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%2C40%20C100%2C25%20300%2C25%20400%2C40%20C500%2C55%20700%2C55%20800%2C40%20L800%2C80%200%2C80Z%22%20fill%3D%22%23f0f4fa%22/%3E%3C/svg%3E");
}

/* =========================
   Highlight underline（文字幅にフィット＋アニメ）
========================= */

.hl {
  position: relative;
  display: inline;
}

/* 文字の下半分にマーカーを敷く。初期状態は0%で非表示 */
.hl-text {
  position: relative;
  z-index: 0;
  background-image: linear-gradient(
    transparent 40%,
    rgba(255, 255, 0, 0.7) 40%
  );
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 100%;          /* アニメの起点 */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.45s ease-out;
  font-weight: 800!important;
}

/* アクティブ時に横方向へ100%まで伸びる */
.hl.is-active .hl-text {
  background-size: 100% 100%;
}

/* 旧仕様の要素は互換のためだけに残す */
.hl-line {
  display: none;
}

/* =========================
   スマホ用フローティングCTA
========================= */

.floating-cta {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  background: linear-gradient(135deg, #00a4ff, #3cdfff);
  color: #ffffff;
  font-weight: 700!important;
  font-size: 0.9rem;
  border-radius: 14px 14px 0 0;         /* 左上・右上を少し丸く */
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.22);
  text-align: center;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* 表示状態（JSでis-visible付与） */
.floating-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* PCでは非表示 */
@media (min-width: 769px) {
  .floating-cta {
    display: none;
  }
}

/* =========================
   Responsive
========================= */

@media (max-width: 960px) {
  .company-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- SP (〜768px) ---------- */
@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-about .section-title,
  .section-target .section-title,
  .section-contact .section-title,
  .company-section-title {
    font-size: 1.45rem;
    margin-bottom: 22px;
    padding: 0.4em 1.2em;
  }

  /* FV：縦並び＋ロゴ中央寄せ、ロゴは少し小さめに */
  .fv-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .fv-logo {
    width: 100%;
    margin: 0 0 16px;
    justify-content: center;
  }

  .fv-logo img {
    width: 200px;
  }

  .fv-copy {
    width: 100%;
    padding: 0;
  }

  .fv-title {
    font-size: 1.6rem;
  }

  .fv-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .reason-block,
  .about-inner,
  .contact-inner {
    flex-direction: column;
  }

  .contact-form {
    font-size: 0.9rem;
  }

  .form-radio-group {
    flex-direction: column;
  }

  .form-submit {
    width: 100%;
  }

  .section-reasons::before,
  .section-target::before,
  .section-flow::before,
  .section-faq::before,
  .section-plan::before,
  .section-cases::before {
    top: -40px;
    height: 60px;
    background-size: auto 60px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 料金プラン：スマホ時は縦積み＋白カード＆上部カラーバー */
  .section-plan .inner,
  .plan-overlay-panel,
  .plan-cards,
  .plan-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .plan-cards {
    flex-direction: column;
    gap: 16px;
  }

  .plan-card {
    flex: 0 0 auto;
    margin: 0 auto;
    background: #ffffff;
    overflow: visible;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  }

  .plan-card-silver {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), 0 -6px 0 0 #c0c0c0;
  }

  .plan-card-gold {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), 0 -6px 0 0 #d4af37;
  }

  .plan-card-one {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), 0 -6px 0 0 #7bcdcd;
  }

  .plan-card-header {
    background: #ffffff !important;
    color: #222;
    padding: 12px 16px 10px;
    border-radius: 20px;
  }

  .plan-card-label {
    color: #555555;
    font-weight: 700!important;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 1;
    text-shadow: none;
  }

  .plan-card-name {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-shadow: none;
    color: #222;
  }

  .plan-card-name::after {
    background: rgba(0, 0, 0, 0.08);
  }

  .plan-card-price {
    color: #222;
    text-shadow: none;
  }

  .plan-card-body {
    padding: 10px 16px 16px;
  }

  /* ▼④ ターゲット：スマホ時はテキスト→画像の順に見せる */
  .target-inner {
    display: flex;
    flex-direction: column;
  }

  .target-visual {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0;
    order: 2;   /* 画像を下に */
  }

  .target-content {
    order: 1;   /* テキストを上に */
  }

  /* ▼理由②・④：スマホ時はテキスト→画像の順になるように入れ替え */
  #reason-2 .reason-text,
  #reason-4 .reason-text {
    order: 1;
  }

  #reason-2 .reason-visual,
  #reason-4 .reason-visual {
    order: 2;
  }
}

@media (max-width: 640px) {
  .company-section-title {
    font-size: 1.35rem;
  }

  .company-business-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .sp {
    display: none;
  }
}

/* spクラス初期値 */
.sp {
  display: none;
}
