﻿/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #28303D;
  background: #E9F2FE;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  color: #16223A;
  margin: 0;
  letter-spacing: 0.02em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

@media (max-width: 768px) {
  p {
    text-wrap: wrap;
  }
}

a {
  color: #003898;
  text-decoration: none;
  transition: opacity 200ms ease;
}

a:hover {
  opacity: .75;
}

button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

[id] {
  scroll-margin-top: 88px;
}

/* ===== COLOR TOKENS ===== */
:root {
  --blue-50: #ECF3FE;
  --blue-100: #D2E2FB;
  --blue-200: #A6C2F2;
  --blue-300: #6E97E4;
  --blue-400: #3D6FD2;
  --blue-500: #1B50B9;
  --blue-600: #003898;
  --blue-700: #002F7E;
  --blue-800: #002461;
  --blue-900: #001A47;
  --orange-50: #FFF3E7;
  --orange-100: #FFE1C2;
  --orange-200: #FFC587;
  --orange-300: #FFA64D;
  --orange-400: #FF8C1F;
  --orange-500: #FB7305;
  --orange-600: #E16400;
  --orange-700: #B84F00;
  --teal-50: #E0F5F5;
  --teal-100: #B2E8E8;
  --teal-200: #7ECFCF;
  --teal-500: #0A9396;
  --teal-700: #007478;
  --green-50: #E8F7EF;
  --green-100: #C6ECD6;
  --green-400: #34B26C;
  --green-500: #14A155;
  --green-600: #0C8746;
  --sky-50: #E8F6FD;
  --sky-100: #C7EAFA;
  --sky-400: #36B5EC;
  --sky-500: #129BD8;
  --red-50: #FDECEB;
  --red-500: #DF5347;
  --amber-100: #FFF1C2;
  --amber-500: #F1CD08;
  --yellow-50: #FEFCE8;
  --yellow-200: #FEF08A;
  --yellow-500: #EAB308;
  --yellow-600: #CA8A04;
  --yellow-700: #A16207;
  --white: #fff;
  --gray-50: #F6F8FB;
  --gray-100: #EEF1F6;
  --gray-200: #E2E7EF;
  --gray-300: #CBD3DF;
  --gray-400: #A4AFC0;
  --gray-500: #7B8799;
  --gray-600: #5A6678;
  --gray-700: #3E4859;
  --gray-800: #28303D;
  --gray-900: #16223A;
  --brand: #003898;
  --cta: #FB7305;
  --cta-hover: #E16400;
  --success: #14A155;
  --text-strong: #16223A;
  --text-body: #28303D;
  --text-muted: #5A6678;
  --text-faint: #7B8799;
  --surface-tint: #ECF3FE;
  --surface-warm: #E0F5F5;
  --border-subtle: #E2E7EF;
  --border-default: #CBD3DF;
  --shadow-sm: 0 2px 8px rgba(22, 34, 58, .07);
  --shadow-md: 0 6px 18px rgba(22, 34, 58, .09);
  --shadow-cta: 0 4px 10px rgba(251, 115, 5, .32);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.section-pad {
  padding: clamp(56px, 8vw, 104px) 0;
}

/* ===== UTILITY ===== */
.text-cta {
  color: var(--teal-500);
  white-space: nowrap;
}

.text-amber {
  color: var(--teal-200);
  white-space: nowrap;
}

.font-yu {
  font-family: '游ゴシック体', YuGothic, sans-serif;
}

.font-din {
  font-family: 'Roboto', "游ゴシック体", YuGothic, sans-serif;
  white-space: nowrap;
}

.line-unit {
  white-space: nowrap;
}

.kuten {
  letter-spacing: -0.1em;
}

.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp .5s ease both;
}

/* ===== LOGO IMAGES ===== */
.lp-logo-img {
  height: 45px;
  width: auto;
  aspect-ratio: 1105 / 318;
  display: inline-block;
  vertical-align: middle;
}

@media(max-width:1080px) {
  .lp-logo-img {
    height: 28px;
  }
}

.inline-logo-img {
  height: 1.1em;
  width: auto;
  aspect-ratio: 1105 / 318;
  display: inline-block;
  vertical-align: middle;
}

.footer-logo-img {
  height: 35px;
  width: auto;
  aspect-ratio: 1105 / 318;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", sans-serif;
  font-weight: 900;
  border: none;
  outline: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-cta {
  background: linear-gradient(135deg, #FFB040 0%, #FF7E1A 100%);
  color: #fff;
  box-shadow: var(--shadow-cta);
  gap: 9px;
}


.btn-cta:hover {
  box-shadow: 0 6px 14px rgba(251, 115, 5, .4);
  opacity: 1;
}

.btn-md {
  font-size: 19px;
  padding: 19px 22px;
  border-radius: var(--radius-pill);
}

.btn-xl {
  font-size: 25px;
  padding: 23px 55px;
  border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
  .btn-md {
    font-size: 17px;
  }

  .btn-xl {
    font-size: 20px;
  }
}

/* ===== CTA ROW ===== */
.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

@media(max-width:1080px) {

  .cta-row,
  .lp-cta-row {
    flex-direction: column !important;
    align-items: center;
    width: 100%;
    margin-top: 10px;
  }

  .cta-row .btn,
  .lp-cta-row .btn {
    width: 100%;
    max-width: 420px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 18px 20px;
  }
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-cta {
  background: var(--teal-50);
  color: var(--teal-700);
}

.badge-success {
  background: var(--green-50);
  color: var(--green-600);
}

.badge-sky {
  background: var(--sky-50);
  color: var(--sky-500);
}

.badge-neutral {
  background: var(--gray-100);
  color: var(--gray-700);
}

.badge-white {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

@media (max-width: 768px) {
  .badge {
    font-size: 14px;
  }
}

/* ===== BRACKET LABEL ===== */
.bracket-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.bracket-label::before,
.bracket-label::after {
  content: "";
  width: 2px;
  height: 1.4em;
  border-radius: 2px;
  opacity: .55;
  background: currentColor;
}

.bracket-label::before {
  transform: rotate(-18deg);
}

.bracket-label::after {
  transform: rotate(18deg);
}

.bracket-brand {
  color: var(--brand);
}

.bracket-cta {
  color: var(--teal-500);
}

.bracket-white {
  color: #fff;
}

@media (max-width: 768px) {
  .bracket-label {
    font-size: 15px;
  }
}

/* ===== SECTION HEADING ===== */
.section-heading {
  text-align: center;
}

.section-heading .eyebrow {
  display: inline-block;
  font-family: "游ゴシック体", YuGothic, sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.14em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.eyebrow-cta {
  background: #fff;
  color: var(--teal-500);
}

.eyebrow-brand {
  background: var(--blue-50);
  color: var(--brand);
}

.eyebrow-orange {
  background: var(--orange-50);
  color: var(--orange-600);
}

#pain .eyebrow,
#benefit .eyebrow,
#voice .eyebrow {
  background: #fff;
}

.section-heading h2 {
  font-size: clamp(25px, 3.2vw, 45px);
  font-weight: 900;
  margin: 0;
  color: var(--text-strong);
}

.section-heading h3 {
  font-size: 25px;
  font-weight: 900;
  margin: 0;
  color: var(--text-strong);
}

.section-heading--sub {
  margin-top: clamp(40px, 6vw, 64px);
  margin-bottom: clamp(20px, 2.8vw, 32px);
}

.highlight-cta {
  color: var(--teal-500);
  white-space: nowrap;
}

.highlight-brand {
  color: var(--brand);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .section-heading .eyebrow {
    font-size: 13px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .section-heading h3 {
    font-size: 22px;
  }
}

/* ===== ACCORDION ===== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.acc-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 5px 14px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.05);
}

.acc-header {
  width: 100%;
  background: var(--blue-400);
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "游ゴシック体", YuGothic, sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  transition: background 200ms ease;
}

.acc-q {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acc-q-mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-400);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
}

.acc-arrow {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background 200ms ease;
}

.acc-arrow svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 200ms ease;
}

.acc-item.open .acc-arrow svg {
  transform: rotate(180deg);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}

.acc-body-inner {
  padding: 16px 24px 22px 64px;
  font-size: 18px;
  color: var(--text-body);
}

@media (max-width: 767px) {
  .acc-item {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset,
      0 4px 11px rgba(0, 0, 0, 0.06),
      0 1px 3px rgba(0, 0, 0, 0.05);
  }
}

@media(max-width:1080px) {
  .acc-body-inner {
    padding-left: 24px;
  }
}

@media (max-width: 768px) {
  .acc-header {
    font-size: 16px;
  }

  .acc-q-mark {
    font-size: 15px;
  }

  .acc-item.open .acc-q-mark {
    color: var(--blue-400);
  }

  .acc-arrow {
    color: #fff;
  }

  .acc-body-inner {
    font-size: 15px;
  }
}

/* ===== FORM ===== */
.form-label {
  display: block;
  font-family: "游ゴシック体", YuGothic, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.req {
  display: inline-block;
  background: var(--red-500);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-input,
.form-select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 18px;
  font-family: inherit;
  color: var(--text-strong);
  background: #fff;
  border: 1.5px solid var(--border-default);
  border-radius: 10px;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  -webkit-appearance: none;
}

textarea.form-input {
  height: auto;
  padding: 12px 14px;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 56, 152, .15);
}

.form-input::placeholder {
  font-weight: 500;
  color: #C2C9D4;
}

.field-error {
  display: block;
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 4px;
}

.form-input.is-error {
  border-color: var(--red-500);
  background: var(--red-50);
}

.form-input.is-error:focus {
  box-shadow: 0 0 0 3px rgba(223, 83, 71, .15);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6678' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* === EFO Form Steps & Radio Tiles === */
.form-efo {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

.form-step {
  margin-bottom: 2rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(27, 80, 185, 0.10);
  position: relative;
  font-size: 20px;
}

.form-step:last-of-type {
  margin-bottom: 1.5rem;
}

.form-step-num {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #5A8AEA 0%, #2B5ED4 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.form-step-label {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-strong);
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: .75rem;
  margin-bottom: 1rem;
}

.form-opt {
  display: inline-block;
  background: #9ca3af;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.radio-tile-grid {
  display: grid;
  gap: .75rem;
}

.radio-tile-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.radio-tile {
  cursor: pointer;
  position: relative;
}

.radio-tile input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-tile-body {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem .5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  background: #fff;
  color: #374151;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  height: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.radio-tile:hover .radio-tile-body {
  background: #eff6ff;
}

.radio-tile input[type="radio"]:checked+.radio-tile-body {
  border-color: var(--brand);
  background: #eff6ff;
  color: var(--brand);
}

.radio-tile-grid.is-error .radio-tile-body {
  border-color: var(--red-500);
  background: var(--red-50);
}

.radio-tile-icon {
  font-size: 1.9rem;
  color: var(--blue-400);
  line-height: 1;
}

.radio-tile input[type="radio"]:checked+.radio-tile-body .radio-tile-icon {
  color: var(--brand);
}

.form-efo-submit {
  text-align: center;
  margin-top: 8px;
}

.form-efo-submit .form-note:first-child {
  margin-bottom: 12px;
}

@media (max-width: 768px) {

  .form-step-label {
    font-size: 16px;
  }

  .form-label {
    font-size: 15px;
  }

  .radio-tile-body {
    font-size: 15px;
  }

  /* iOS Safari のフォーカス時自動ズーム防止 (16px 以上が必須) */
  .form-input,
  .form-select {
    font-size: 16px;
  }

  .form-step-num {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .form-step-num {
    position: static;
    display: inline-flex;
    vertical-align: middle;
    margin: 0 8px 0 0;
    width: 33px;
    height: 33px;
  }

  .form-step-label {
    display: block;
  }

  .form-step {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .radio-tile-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== TABLE ===== */
.tbl-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tbl-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  vertical-align: middle;
}

.tbl-row {
  border-bottom: 1.5px solid var(--border-subtle);
}

.tbl-wrap .tbl-row:last-child {
  border-bottom: none;
}

.tbl-row--stripe {
  background: var(--gray-50);
}

.tbl-min-640 {
  min-width: 640px;
}

/* ===== CTA BLOCK ===== */
.cta-block {
  --section-shadow-rgb: 251, 115, 5;
  background: linear-gradient(135deg, var(--orange-50) 0%, var(--orange-100) 100%);
  padding: clamp(56px, 8vw, 104px) 0;
  position: relative;
  overflow: visible;
}

.cta-stripes-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ===== CTA DIAGONAL STRIPES ===== */
.cta-stripe {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  transform: rotate(-32deg);
}

/* 上右ペア① THICK */
.cta-stripe--1 {
  width: 680px;
  height: 130px;
  background: linear-gradient(120deg, rgba(255, 193, 122, 0.55) 0%, rgba(255, 140, 50, 0.26) 100%);
  top: -35px;
  right: -160px;
}

/* 上右ペア② THIN (--1のすぐ下) */
.cta-stripe--2 {
  width: 540px;
  height: 63px;
  background: linear-gradient(120deg, rgba(255, 220, 160, 0.65) 0%, rgba(255, 182, 90, 0.32) 100%);
  top: 41px;
  right: -189px;
}

/* 中上左 MEDIUM ソロ */
.cta-stripe--3 {
  width: 500px;
  height: 110px;
  background: linear-gradient(120deg, rgba(255, 232, 172, 0.58) 0%, rgba(255, 197, 120, 0.28) 100%);
  top: 118px;
  left: -100px;
}

/* 中下右 MEDIUM ソロ */
.cta-stripe--4 {
  width: 560px;
  height: 90px;
  background: linear-gradient(120deg, rgba(255, 208, 138, 0.52) 0%, rgba(255, 164, 74, 0.38) 100%);
  bottom: 104px;
  right: -188px;
}

/* 下左ペア① MEDIUM-THIN */
.cta-stripe--5 {
  width: 550px;
  height: 134px;
  background: linear-gradient(120deg, rgba(255, 173, 98, 0.50) 0%, rgba(255, 216, 152, 0.34) 100%);
  bottom: 60px;
  left: -148px;
}

/* 下左ペア② THIN (--5のすぐ下) */
.cta-stripe--6 {
  width: 400px;
  height: 80px;
  background: linear-gradient(120deg, rgba(255, 237, 178, 0.62) 0%, rgba(255, 202, 128, 0.28) 100%);
  bottom: -75px;
  left: -68px;
}

.cta-block .container {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 950px;
}

.cta-block .section-heading {
  margin-bottom: 0;
}

.cta-block .section-heading h2 {
  color: #231200;
}

.cta-block .eyebrow-orange {
  background: rgba(255, 255, 255, 0.92);
  color: var(--orange-600);
}

.cta-block-wrap {
  background: #fff;
  border-radius: 40px;
  padding: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 64px);
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  opacity: 0;
  transform: scale(0.78) translateY(56px);
  will-change: transform, opacity;
  font-size: 20px;
}

@keyframes cta-block-pop {
  0% {
    opacity: 0;
    transform: scale(0.78) translateY(56px);
  }

  55% {
    opacity: 1;
    transform: scale(1.06) translateY(-12px);
  }

  75% {
    transform: scale(0.97) translateY(5px);
  }

  90% {
    transform: scale(1.02) translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cta-block-wrap.is-popped {
  animation: cta-block-pop 0.55s ease-out both;
  box-shadow: 0 2px 8px rgba(225, 100, 0, 0.10);
}

@keyframes cta-img-fly-in {
  0% {
    opacity: 0;
    transform: translate(-80px, -60px);
  }

  45% {
    opacity: 0;
    transform: translate(-30px, -22px);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.cta-contact-img {
  position: absolute;
  top: clamp(-150px, -11vw, -80px);
  left: 0;
  width: clamp(150px, 20vw, 302px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.cta-contact-img.is-animated {
  animation: cta-img-fly-in 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-phone-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 4px dotted #D6CFC7;
  width: 100%;
  max-width: 416px;
}

@media (max-width: 767px) {
  .cta-phone-strip {
    margin-top: 8px;
    padding-top: 12px;
    border-top-width: 2px;
  }
}

.cta-tel-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  object-fit: contain;
}

.cta-tel-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: center;
}

.cta-block .text-cta {
  color: #FF7E1A;
}

.cta-block-wrap>p {
  font-size: 22px;
  color: var(--text-muted);
  white-space: nowrap;
}

.phone-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
  padding-top: 5px;
  transform: translateX(0.2em);
}

.phone-num {
  font-family: 'Roboto', "游ゴシック体", YuGothic, sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 3vw, 41px);
  color: #3D6FD2;
  display: block;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .phone-num {
    font-size: clamp(30px, 7vw, 32px);
  }
}

@media (max-width: 767px) {
  .cta-stripe--1 {
    width: 440px;
    height: 85px;
    top: -87px;
    right: -255px;
  }

  .cta-stripe--2 {
    width: 350px;
    height: 43px;
    top: 5px;
    right: -246px;
  }

  .cta-stripe--3 {
    width: 325px;
    height: 72px;
    top: 230px;
    left: -188px;
  }

  .cta-stripe--4 {
    width: 364px;
    height: 59px;
    bottom: 68px;
    right: -122px;
  }

  .cta-stripe--5 {
    width: 358px;
    height: 87px;
    bottom: 39px;
    left: -96px;
  }

  .cta-stripe--6 {
    width: 260px;
    height: 52px;
    bottom: -49px;
    left: 127px;
  }
}

@media (max-width: 768px) {
  .cta-block-wrap>p {
    font-size: clamp(13px, 4vw, 15px);
  }

  .cta-tel-icon {
    width: 38px;
    height: 38px;
  }

  .cta-contact-img {
    width: 120px;
    top: -84px;
    left: 7px;
  }

  .phone-label {
    font-size: 10px;
  }
}

/* ===== GLOBAL FIXED UI (モバイル下部CTA / チャットボット) ===== */
.lp-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  align-items: stretch;
}

@media(max-width:1080px) {
  .lp-bottom-cta {
    display: flex;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .lp-bottom-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.lp-bcta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 58px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 200ms ease, transform 200ms ease;
  color: #fff;
}

.lp-bcta-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.lp-bcta-btn--orange {
  background: linear-gradient(135deg, #FFB040 0%, #FF7E1A 100%);
  box-shadow: 0 3px 10px rgba(251, 115, 5, .30);
}

.lp-bcta-btn--cta {
  flex-direction: row;
  gap: 8px;
  height: 62px;
  border-radius: 50px;
}

.lp-bcta-btn--cta .lp-bcta-icon {
  font-size: 20px;
}

.lp-bcta-btn--cta .lp-bcta-label {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.lp-bcta-btn--blue {
  background: linear-gradient(135deg, #5A8AEA 0%, #2B5ED4 100%);
  box-shadow: 0 3px 10px rgba(0, 56, 152, .25);
}

.lp-bcta-btn--teal {
  background: linear-gradient(135deg, #0AC399 0%, #0A9396 100%);
  box-shadow: 0 3px 10px rgba(10, 147, 150, .30);
  border: none;
  cursor: pointer;
}

.lp-bcta-icon {
  font-size: 21px;
  line-height: 1;
}

.lp-bcta-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .lp-bcta-btn--cta .lp-bcta-label {
    font-size: 19px;
  }
}

/* ===== CHATBOT FAB ===== */
.chatbot-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--teal-500);
  cursor: pointer;
  padding: 8px 18px 8px 8px;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(10, 147, 150, 0.22);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.chatbot-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10, 147, 150, 0.32);
}

.chatbot-fab__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatbot-fab__label {
  color: var(--teal-500);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

@media (max-width: 1080px) {
  .chatbot-fab {
    display: none;
    /* チャットは下部CTAから利用 */
  }
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 23px;
  z-index: 100;
  margin: 12px 16px 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-radius: 48px;
  --header-shadow-rgb: 27, 80, 185;
  box-shadow: 0 2px 8px rgba(var(--header-shadow-rgb), 0.14),
    0 -2px 8px rgba(var(--header-shadow-rgb), 0.14);
  transition: box-shadow 500ms ease;
  will-change: transform;
  transform: translateZ(0);
}

header .container {
  height: 90px;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
}

.lp-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 10px;
}

.lp-logo-name {
  font-family: '游ゴシック体', YuGothic, sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--brand);
  letter-spacing: -.01em;
}

.lp-logo-cta {
  color: var(--teal-500);
}

.lp-header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-header-sp-icons {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lp-header-sp-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
  transition: opacity 200ms ease, transform 200ms ease;
  gap: 2px;
  padding: 0;
  font-family: inherit;
}

.lp-header-sp-icon-btn--blue {
  background: linear-gradient(135deg, #5A8AEA 0%, #2B5ED4 100%);
}

.lp-header-sp-icon-btn--teal {
  background: linear-gradient(135deg, #FFB040 0%, #FF7E1A 100%);
  box-shadow: 0 2px 8px rgba(251, 115, 5, 0.20);
}

header .btn-cta,
.lp-cta-row .btn-cta {
  box-shadow: 0 2px 8px rgba(251, 115, 5, 0.10);
}

.lp-header-sp-icon-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.lp-header-sp-icon-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.lp-header-tel {
  display: flex;
  align-items: center;
  line-height: 1.15;
}

.lp-header-tel-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.lp-header-tel-text {
  text-align: center;
}

.lp-header-tel-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  padding-top: 5px;
  transform: translateX(0.2em);
}

.lp-header-tel-number {
  font-family: 'Roboto', "游ゴシック体", YuGothic, sans-serif;
  font-weight: 900;
  font-size: 35px;
  color: #3D6FD2;
  display: block;
  text-align: center;
}

@media(max-width:1080px) {
  .lp-header-cta {
    display: none !important;
  }

  .lp-header-sp-icons {
    display: flex;
  }

  header {
    position: fixed;
    left: 0;
    right: 0;
    top: 8px;
    margin: 4px 8px 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }

  header .container {
    height: 65px;
    padding: 0 16px;
  }
}

/* ===== HERO ===== */
#top {
  position: relative;
  --section-shadow-rgb: 27, 80, 185;
  background: linear-gradient(180deg, #E9F2FE 0%, #F4F8FF 45%, #fff 100%);
  overflow: hidden;
  margin-top: -96px;
  padding-top: 96px;
}

@media (max-width: 1080px) {
  #top {
    margin-top: 0;
    padding-top: 83px;
  }
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(26px, -30px);
  }
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-blob--blue {
  top: -120px;
  right: -60px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(54, 181, 236, .28), transparent 70%);
  filter: blur(20px);
  animation: blobFloat 9s ease-in-out infinite;
}

.hero-blob--amber {
  bottom: -160px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(10, 147, 150, .22), transparent 70%);
  filter: blur(24px);
  animation: blobFloat 11s ease-in-out infinite;
}

/* ===== FV DIAGONAL STRIPES ===== */
.fv-stripe {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  transform: rotate(-32deg);
}

.fv-stripe--1 {
  width: 737px;
  height: 134px;
  background: linear-gradient(120deg, rgba(166, 194, 242, 0.68) 0%, rgba(110, 151, 228, 0.32) 100%);
  top: 140px;
  right: -200px;
}

.fv-stripe--2 {
  width: 610px;
  height: 92px;
  background: linear-gradient(120deg, rgba(199, 234, 250, 0.65) 0%, rgba(54, 181, 236, 0.32) 100%);
  top: -13px;
  right: -87px;
}

.fv-stripe--3 {
  width: 640px;
  height: 96px;
  background: linear-gradient(120deg, rgba(210, 226, 251, 0.62) 0%, rgba(166, 194, 242, 0.4) 100%);
  top: 54px;
  left: 6px;
}

.fv-stripe--4 {
  width: 580px;
  height: 88px;
  background: linear-gradient(120deg, rgba(178, 232, 232, 0.5) 0%, rgba(166, 194, 242, 0.55) 100%);
  bottom: -78px;
  left: -226px;
}

.fv-stripe--5 {
  width: 700px;
  height: 134px;
  background: linear-gradient(120deg, rgba(166, 194, 242, 0.6) 0%, rgba(210, 226, 251, 0.38) 100%);
  left: -363px;
  bottom: 63px;
}

.hero-inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) clamp(16px, 4vw, 32px) clamp(56px, 7vw, 88px);
}

@media (min-width: 769px) {
  .hero-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

.lp-hero-copy {
  display: grid;
  grid-template-columns: 50fr 50fr;
  column-gap: clamp(16px, 2.5vw, 56px);
  row-gap: 22px;
  align-items: start;
}

.lp-hero-copy>h1,
.lp-hero-copy>.hero-trust-trio,
.lp-hero-copy>.lp-cta-row {
  grid-column: 1;
}

.lp-hero-copy>h1 {
  position: relative;
  z-index: 1;
}

.lp-hero-copy>.lp-hero-visual {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 780px;
  animation: heroFadeFloat 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@keyframes heroFadeFloat {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-copy>.lp-hero-visual {
    animation: none;
  }
}

.lp-hero-copy h1 {
  font-weight: 900;
  font-size: clamp(28px, 4.8vw, 58px);
  line-height: 1.26;
  letter-spacing: .01em;
  color: var(--gray-900);
  margin-top: 22px;
}

@media (max-width: 767px) {
  .lp-hero-copy h1 {
    margin-top: 0;
  }
}

.hero-h1-cta {
  color: var(--teal-500);
  white-space: nowrap;
}

.hero-h1-highlight--green {
  color: var(--brand);
  white-space: nowrap;
}

.hero-lead {
  font-size: clamp(19px, 2vw, 20px);
  color: var(--text-body);
  max-width: 620px;
  font-weight: 700;
}

.lp-hero-sp-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* ===== FV SHOWCASE (メインカット + オフィスデザイン装飾のコラージュ配置) ===== */
.fv-showcase {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
}

.fv-item {
  position: absolute;
  animation: fvItemPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.fv-item-img {
  display: block;
  width: 95%;
  height: auto;
}

@keyframes fvItemPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fvItemPopFloat1 {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fvItemPopFloat2 {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

/* ===== FV FLOAT (常時ゆらぎ・上下浮遊) ===== */
@keyframes fvFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* 背景写真 — 中央、最大 */
.fv-item--bg {
  z-index: 1;
  transform: scale(1.7);
  animation: none;
}
.fv-item--bg .fv-item-img {
  -webkit-mask-image:
    radial-gradient(ellipse 100% 100% at center, #000 0%, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.08) 67%, transparent 75%),
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 16%, rgba(0, 0, 0, 0.8) 28%, #000 40%);
  mask-image:
    radial-gradient(ellipse 100% 100% at center, #000 0%, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.08) 67%, transparent 75%),
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 16%, rgba(0, 0, 0, 0.8) 28%, #000 40%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* 装飾カード1 — ノートPC（左） */
.fv-item--float1 {
  z-index: 20;
  animation-name: fvItemPopFloat1;
  animation-delay: 0.38s;
}
.fv-item--float1 .fv-item-img { animation: fvFloat 4.4s ease-in-out 1.1s infinite; }
.fv-item--float1::after {
  content: "";
  position: absolute;
  left: 46%;
  bottom: -7%;
  width: 80%;
  height: 45%;
  transform: translateX(-50%) rotate(-10deg);
  background: radial-gradient(ellipse at center, rgba(15, 20, 60, 0.5) 0%, rgba(15, 20, 60, 0.28) 45%, transparent 72%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

/* 装飾カード2 — モニター（右） */
.fv-item--float2 {
  z-index: 15;
  animation-name: fvItemPopFloat2;
  animation-delay: 0.46s;
}
.fv-item--float2 .fv-item-img { animation: fvFloat 4.8s ease-in-out -1.3s infinite; }
.fv-item--float2::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -3%;
  width: 62%;
  height: 14%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(15, 20, 60, 0.54) 0%, rgba(15, 20, 60, 0.3) 45%, transparent 72%);
  filter: blur(9px);
  z-index: -1;
  pointer-events: none;
}

/* ===== FV ITEM 配置（PC / SP 個別指定） ===== */
/* PC: 1081px以上 */
@media (min-width: 1081px) {
  .fv-item--bg        { width: 112%; left: 0; top: 17%; }
  .fv-item--float1    { width: 57%;  left: 5%; top: auto; bottom: 6%; }
  .fv-item--float2    { width: 53%;  right: 0%; top: 15%; bottom: auto; }
}

/* SP: 1080px以下 */
@media (max-width: 1080px) {
  .fv-item--bg        { width: 112%; left: 0%; top: 17%; transform: scale(1.5); }
  .fv-item--float1    { width: 56%;  left: 4%; top: auto; bottom: 6%; }
  .fv-item--float2    { width: 52%;  right: 3%; top: 15%; bottom: auto; }

  /* SP: fv_bg の下部をフェードアウト */
  .fv-item--bg .fv-item-img {
    -webkit-mask-image:
      radial-gradient(ellipse 100% 100% at center, #000 0%, rgba(0, 0, 0, 0.95) 32%, rgba(0, 0, 0, 0.8) 38%, rgba(0, 0, 0, 0.6) 46%, rgba(0, 0, 0, 0.4) 53%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.08) 66%, transparent 72%),
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 7%, rgba(0, 0, 0, 0.8) 12%, #000 18%),
      linear-gradient(to top, transparent 0%, #000 22%),
      linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 14%, rgba(0, 0, 0, 0.8) 24%, #000 36%);
    mask-image:
      radial-gradient(ellipse 100% 100% at center, #000 0%, rgba(0, 0, 0, 0.95) 32%, rgba(0, 0, 0, 0.8) 38%, rgba(0, 0, 0, 0.6) 46%, rgba(0, 0, 0, 0.4) 53%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.08) 66%, transparent 72%),
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 7%, rgba(0, 0, 0, 0.8) 12%, #000 18%),
      linear-gradient(to top, transparent 0%, #000 22%),
      linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 14%, rgba(0, 0, 0, 0.8) 24%, #000 36%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv-item {
    animation: none !important;
  }

  .fv-item-img {
    animation: none !important;
  }
}

/* PC: 右側の画像を拡大し、左側のコピー領域へはみ出しても良いようにする */
@media (min-width: 1081px) {
  .fv-showcase {
    transform: scale(1.13);
    transform-origin: right center;
  }
}

@media (max-width: 767px) {
  .fv-stripe--1 {
    width: 520px;
    height: 84px;
    top: auto;
    right: auto;
    left: -333px;
    bottom: 130px;
  }

  .fv-stripe--5 {
    width: 520px;
    height: 64px;
    left: -281px;
    bottom: 42px;
  }
}

.hero-trust-strip {
  background: var(--brand);
  position: relative
}

.hero-trust-inner {
  padding: 17px clamp(16px, 4vw, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  font-family: '游ゴシック体', YuGothic, sans-serif;
}

.hero-trust-label {
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 16px;
}

.hero-trust-sep {
  opacity: .5;
}

/* ===== HERO TRUST TRIO (月桂冠 権威バッジ) ===== */
.hero-trust-trio {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-trust-item__label {
  width: 100%;
  font-family: '游ゴシック体', YuGothic, sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 1.5vw, 17px);
  color: var(--text-body);
  line-height: 1.35;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-trust-item__wreath-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-trust-item__wreath {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-trust-item__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  margin-top: -6px;
}

.hero-trust-item__center>*:not(:first-child) {
  margin-top: 6px;
}

.hero-trust-item__num {
  font-family: 'Roboto', "游ゴシック体", YuGothic, sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 4.5vw, 54px);
  color: var(--teal-500);
  line-height: 1;
}

.hero-trust-item__num--text {
  font-size: clamp(15px, 1.7vw, 27px);
  padding-bottom: 5px;
  white-space: nowrap;
}

.hero-trust-item__num-suffix {
  font-size: 0.6em;
}

.hero-trust-item__unit {
  font-family: '游ゴシック体', YuGothic, sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--text-strong);
}

.hero-trust-item__sub {
  width: 100%;
  text-align: center;
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.4;
  margin-top: 0;
}

@media(max-width:1080px) {
  .lp-hero-copy {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .lp-hero-copy>.lp-hero-visual {
    width: 100%;
    max-width: 520px;
    padding: 12px 0;
  }

  .hero-trust-trio {
    justify-content: center;
    gap: 0;
  }

  .hero-trust-item__wreath-wrap {
    width: 175px;
    height: 149px;
  }

  .hero-trust-item__center {
    margin-top: 0;
  }

  .hero-trust-item__center>*:not(:first-child) {
    margin-top: 4px;
  }

  .hero-trust-item__num {
    font-size: 30px;
    line-height: 0.85;
  }

  .hero-trust-item__num--text {
    font-size: 13px;
  }

  .hero-trust-item__unit {
    font-size: 14px;
  }

  .hero-trust-item__sub {
    font-size: 12px;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .hero-trust-inner {
    font-size: 15px;
    gap: 7px 13px;
  }

  .hero-trust-label {
    font-size: 13px;
    order: 0;
  }

  .hero-trust-inner::after {
    content: '';
    flex-basis: 100%;
    height: 0;
    order: 1;
    margin-top: -8px;
  }

  .hero-trust-inner>span:not(.hero-trust-label) {
    order: 2;
  }
}

@media (max-width: 480px) {
  .hero-trust-trio {
    gap: 0;
  }

  .hero-trust-item__wreath-wrap {
    width: 120px;
    height: 102px;
  }

  .hero-trust-item__center {
    margin-top: 0;
    gap: 0;
  }

  .hero-trust-item__center>*:not(:first-child) {
    margin-top: 3px;
  }

  .hero-trust-item__num {
    font-size: 33px;
    line-height: 0.85;
  }

  .hero-trust-item__num--text {
    font-size: 14px;
  }

  .hero-trust-item__unit {
    font-size: 15px;
  }

  .hero-trust-item__sub {
    font-size: 11px;
    margin-top: 0;
  }
}

/* ===== LOGO MARQUEE ===== */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-marquee-section {
  --section-shadow-rgb: 123, 135, 153;
  background: #fff;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
}

.logo-marquee-track {
  position: relative;
  overflow: hidden;
}

.logo-marquee {
  display: flex;
  gap: 32px;
  align-items: center;
  width: max-content;
  animation: marquee 50s linear infinite;
  will-change: transform;
}

.logo-marquee:hover {
  animation-play-state: paused;
}

.logo-marquee img {
  height: 96px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ===== PAIN ===== */
#pain {
  --section-shadow-rgb: 18, 155, 216;
  background: #d8eafc;
  position: relative;
  z-index: 1;
  overflow-x: visible;
  overflow-y: visible;
}

#pain::after {
  content: '';
  position: absolute;
  bottom: -49px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 50px solid #d8eafc;
}

#pain-surround {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0px 20px;
  margin-top: 48px;
  align-items: center;
}

.pain-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pain-col--left {
  align-items: flex-end;
}

.pain-col--right {
  align-items: flex-start;
}

.pain-surround__img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.pain-surround__img img {
  max-width: 420px;
  width: 100%;
  height: auto;
  aspect-ratio: 1579 / 554;
  display: block;
}

.pain-surround__top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.pain-surround__top .pain-card {
  max-width: 354px;
}

.pain-summary {
  text-align: center;
  margin-top: 40px;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 2;
  color: var(--brand);
}

.pain-summary img {
  display: inline-block;
  height: 3em;
  width: auto;
  aspect-ratio: 1105 / 318;
  vertical-align: middle;
  margin: 0 0.2em;
}

/* --- Pain Points --- */
.pain-card {
  background: #fff;
  border-radius: 9999px;
  padding: 0 32px;
  max-width: 354px;
  width: 100%;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(40, 80, 150, 0.10));
  position: relative;
  opacity: 0;
  will-change: transform, opacity;
  font-size: 21px;
}

.pain-card p {
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 21px;
  text-align: center;
  color: var(--text-strong);
  margin: 0;
}

.pain-card p .pain-line {
  white-space: nowrap;
}

.pain-card::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 15px solid #fff;
}

.pain-col--left .pain-card::after {
  bottom: auto;
  left: auto;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 15px solid #fff;
  border-right: none;
}

.pain-col--right .pain-card::after {
  bottom: auto;
  left: -13px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-right: 15px solid #fff;
  border-left: none;
}

.pain-col--left .pain-card:first-child::after {
  top: 65%;
  right: -11px;
  transform: translateY(-50%) rotate(15deg);
}

.pain-col--right .pain-card:first-child::after {
  top: 65%;
  left: -10px;
  transform: translateY(-50%) rotate(-15deg);
}

.pain-col--left .pain-card:first-child {
  top: -24px;
  margin-right: -15px;
}

.pain-col--right .pain-card:first-child {
  top: -24px;
  margin-left: -15px;
}

.pain-col--left .pain-card:last-child {
  margin-right: 15px;
}

.pain-col--right .pain-card:last-child {
  margin-left: 15px;
}

@keyframes painFloatUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.pain-card.is-popped {
  animation: painFloatUp 0.8s ease-out both;
  animation-delay: var(--pop-delay, 0s);
}

@media (max-width: 768px) {
  #pain-surround {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .pain-surround__img {
    order: 10;
    padding: 0;
    align-self: center;
  }

  .pain-surround__img img {
    max-width: 280px;
  }

  .pain-col {
    width: 100%;
    gap: 20px;
  }

  .pain-col--left {
    align-items: flex-start;
  }

  .pain-col--right {
    align-items: flex-end;
  }

  .pain-card {
    height: 80px;
    padding: 0 18px;
  }

  .pain-card p {
    font-size: clamp(14px, 4vw, 16px);
  }

  .pain-col .pain-card {
    max-width: 78%;
  }

  .pain-surround__top .pain-card {
    max-width: 90%;
  }

  .pain-col--left .pain-card::after {
    bottom: auto;
    left: auto;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 15px solid #fff;
    border-right: none;
  }

  .pain-col--right .pain-card::after {
    bottom: auto;
    left: -13px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 15px solid #fff;
    border-left: none;
  }

  .pain-col--left .pain-card:first-child::after {
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
  }

  .pain-col--right .pain-card:first-child::after {
    top: 50%;
    left: -13px;
    transform: translateY(-50%);
  }

  .pain-surround__top .pain-card::after {
    bottom: -14px;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-top: 15px solid #fff;
    border-bottom: none;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
  }

  #pain-surround.pain-surround--sp {
    align-items: center;
    gap: 32px;
  }

  #pain-surround.pain-surround--sp .pain-card {
    max-width: 90%;
  }

}

@media (max-width: 768px) {
  .pain-summary {
    font-size: 18px;
  }
}

/* 20260708 追記 */
.pain-summary__part {
  display: inline-block;
}

.pain-summary__part--1,
.pain-summary__part--2b,
.pain-summary__part--3 {
  opacity: 0;
}

.pain-summary__part--2 {
  opacity: 0;
  transform: scale(0.4);
}

.pain-summary.is-visible .pain-summary__part--1 {
  animation: pain-summary-fade-in 0.5s ease-out 1 both;
  animation-delay: 0s;
}

.pain-summary.is-visible .pain-summary__part--2 {
  animation: pain-summary-pop 0.9s ease-in-out 1 both;
  animation-delay: 0.7s;
}

.pain-summary.is-visible .pain-summary__part--2b,
.pain-summary.is-visible .pain-summary__part--3 {
  animation: pain-summary-fade-in 0.5s ease-out 1 both;
  animation-delay: 1.3s;
}

@media (max-width: 768px) {
  .pain-summary.is-visible .pain-summary__part--2b {
    animation-delay: 0.7s;
  }
}

@keyframes pain-summary-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes pain-summary-pop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }

  40% {
    opacity: 1;
    transform: scale(1.3);
  }

  65% {
    transform: scale(0.92);
  }

  85% {
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .pain-summary__part--1,
  .pain-summary__part--2b,
  .pain-summary__part--3,
  .pain-summary__part--2 {
    opacity: 1;
    transform: none;
  }

  .pain-summary.is-visible .pain-summary__part--1,
  .pain-summary.is-visible .pain-summary__part--2,
  .pain-summary.is-visible .pain-summary__part--2b,
  .pain-summary.is-visible .pain-summary__part--3 {
    animation: none;
  }
}

/* ===== MERITS ===== */
#merits {
  --section-shadow-rgb: 20, 161, 85;
  background: #eef7f0;
  padding-bottom: 40px;
}

#merits .section-heading {
  margin-top: 40px;
}

.merits-list {
  margin-top: 40px;
}

.merit-row-wrap {
  background: #eef7f0;
  padding: clamp(15px, 4vw, 40px) 0 clamp(19px, 7vw, 80px);
}

.merit-row-wrap:last-child {
  padding-bottom: clamp(56px, 8vw, 104px);
}

.merit-row {
  display: grid;
  grid-template-columns: 1fr;
}

.merit-row--reverse .merit-row__text {
  justify-self: end;
  align-self: start;
  width: 70%;
  padding: clamp(48px, 5vw, 72px) clamp(72px, 7vw, 100px) clamp(72px, 7vw, 100px) 22%;
}

.merit-row--reverse .merit-row__image {
  justify-self: start;
  margin-left: -148px;
  margin-right: 0;
  margin-bottom: -52px;
}

.merit-row__text {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  width: 70%;
  position: relative;
  z-index: 0;
  background: #FEFDFA;
  padding: clamp(48px, 5vw, 72px) 22% clamp(72px, 7vw, 100px) clamp(72px, 7vw, 100px);
  border-radius: 40px;
  box-shadow: 0 2px 8px rgba(40, 110, 60, 0.10);
}

.merit-row__no {
  display: none;
  position: absolute;
  bottom: -0.1em;
  right: -0.05em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(120px, 18vw, 200px);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.merit-row__title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 900;
  color: var(--teal-500);
  margin: 0 0 19px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  text-decoration: underline;
  text-decoration-color: #FFB300;
  text-decoration-thickness: 6px;
  text-underline-offset: 8px;
}

.merit-row__body {
  font-size: 20px;
  color: var(--text-body);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.merit-row__image {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: end;
  justify-self: end;
  width: 70%;
  height: 620px;
  margin-right: -163px;
  margin-bottom: -52px;
  position: relative;
  z-index: 1;
}

.merit-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

.merit-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--blue-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-300);
}

.merit-img-placeholder::before {
  content: 'IMAGE';
}

/* ===== Merit row scroll-in animation ===== */
@keyframes merit-pop-left {
  from {
    opacity: 0;
    transform: translateX(-90px) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes merit-pop-right {
  from {
    opacity: 0;
    transform: translateX(90px) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes merit-pop-up {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.88);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.merit-row__text,
.merit-row__image {
  opacity: 0;
}

.merit-row-wrap.is-visible .merit-row__text {
  animation: merit-pop-left 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.merit-row-wrap.is-visible .merit-row__image {
  animation: merit-pop-right 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.merit-row-wrap.is-visible .merit-row--reverse .merit-row__text {
  animation: merit-pop-right 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.merit-row-wrap.is-visible .merit-row--reverse .merit-row__image {
  animation: merit-pop-left 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

@media (max-width: 1080px) {
  .merit-row {
    display: block;
    --merit-text-pad-b: clamp(56px, 12vw, 88px);
    --merit-img-gap: 16px;
  }

  .merit-row__text {
    width: 100%;
    justify-self: auto;
    padding: 40px clamp(28px, 6vw, 44px) var(--merit-text-pad-b);
  }

  .merit-row--reverse .merit-row__text {
    width: 100%;
    justify-self: auto;
    padding: 40px clamp(28px, 6vw, 44px) var(--merit-text-pad-b);
  }

  .merit-row__image {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    justify-self: auto;
    width: 60%;
    height: auto;
    margin-left: auto;
    margin-right: 16px;
    margin-top: calc(-1 * (var(--merit-text-pad-b) - var(--merit-img-gap)));
    margin-bottom: 0;
    justify-content: flex-end;
  }

  .merit-img {
    height: auto;
  }

  .merit-row--reverse .merit-row__image {
    align-self: auto;
    justify-self: auto;
    margin-left: 16px;
    margin-right: auto;
    margin-top: calc(-1 * (var(--merit-text-pad-b) - var(--merit-img-gap)));
    margin-bottom: 0;
    width: 60%;
    justify-content: flex-start;
  }

  .merit-img-placeholder {
    max-width: 360px;
    margin: 0 auto;
  }

  .merit-row-wrap:last-child {
    padding-bottom: 0;
  }

  .merit-row-wrap.is-visible .merit-row__text,
  .merit-row-wrap.is-visible .merit-row__image,
  .merit-row-wrap.is-visible .merit-row--reverse .merit-row__text,
  .merit-row-wrap.is-visible .merit-row--reverse .merit-row__image {
    animation: merit-pop-up 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  .merit-row-wrap.is-visible .merit-row__image,
  .merit-row-wrap.is-visible .merit-row--reverse .merit-row__image {
    animation-delay: 0.4s;
  }
}

@media (min-width: 1081px) {
  .merit-row__text {
    padding-right: 15.4%;
  }

  .merit-row--reverse .merit-row__text {
    padding-left: 15.4%;
  }

  .merit-row__image {
    width: 60%;
    aspect-ratio: 966 / 620;
    height: auto;
    margin-right: -11.81%;
    margin-bottom: -3.77%;
  }

  .merit-row--reverse .merit-row__image {
    margin-left: -10.72%;
    margin-bottom: -3.77%;
  }
}

/* --- Merits --- */
.merit-card {
  background: #fff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.merit-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.merit-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.merit-no {
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: var(--blue-100);
}

.merit-card h3 {
  font-size: 25px;
  font-weight: 900;
}

.merit-card p {
  font-size: 18px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .merit-no {
    font-size: 20px;
  }

  .merit-row__title {
    text-align: center;
  }

  .merit-row__body {
    font-size: 15px;
  }

  .merit-card h3 {
    font-size: 16px;
  }

  .merit-card p {
    font-size: 15px;
  }
}

/* ===== BENEFIT / SIMULATION ===== */
#benefit {
  --section-shadow-rgb: 27, 80, 185;
  background: var(--surface-tint);
}

#sim {
  padding-top: clamp(48px, 7vw, 88px);
}

.lp-sim-grid {
  background: #fff;
  border-radius: 40px;
  padding: clamp(25px, 4vw, 65px);
  box-shadow: 0 4px 16px rgba(27, 80, 185, 0.10);
  display: grid;
  grid-template-columns: max-content 1fr auto;
  row-gap: clamp(28px, 4vw, 48px);
  column-gap: clamp(12px, 2vw, 30px);
  align-items: center;
  position: relative;
}

.sim-grid-note {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  pointer-events: none;
  text-align: right;
  margin: 0;
}

.sim-ribbon-img {
  position: absolute;
  top: -19px;
  right: 58px;
  width: clamp(61px, 12vw, 115px);
  height: auto;
  aspect-ratio: 1047 / 1427;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 768px) {
  .sim-ribbon-img {
    top: -11px;
    right: auto;
    left: 33px;
    width: clamp(55px, 15vw, 75px);
  }
}

.sim-grid-heading {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: -8px;
}


.sim-grid-title {
  display: inline-block;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--gray-700);
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--teal-500);
  position: relative;
}

.sim-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 48px;
  height: 400px;
  position: relative;
  padding-right: 32px;
  padding-left: 32px;
  background: #f4f7fa;
  border-radius: 20px;
}

.sim-cost-down {
  position: absolute;
  top: 18px;
  left: calc(50% - 55px);
  pointer-events: none;
}

.sim-cost-down-img {
  width: auto;
  height: 145px;
  display: block;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
}

@keyframes costDownReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }

  100% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
}

.lp-sim-grid.sim-animated .sim-cost-down-img {
  animation: costDownReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.sim-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: none;
}

.sim-bar-val {
  font-family: 'Roboto', "游ゴシック体", YuGothic, sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gray-600);
}

.sim-bar-val--after {
  font-weight: 900;
  font-size: clamp(23px, 2.4vw, 34px);
  color: var(--teal-500);
}

.sim-bar-val-unit {
  font-family: "游ゴシック体", YuGothic, sans-serif;
  font-size: 17px;
}

.sim-bar-val--after .sim-bar-val-unit {
  font-size: 18px;
}

.sim-balloon {
  position: absolute;
  top: clamp(18px, 3.5%, 32px);
  right: clamp(8px, 2.5%, 24px);
  width: clamp(90px, 12vw, 118px);
  height: clamp(90px, 12vw, 118px);
  background: #F1CD08;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.06em;
  z-index: 10;
  opacity: 0;
}

.sim-balloon::after {
  content: '';
  position: absolute;
  left: -3px;
  bottom: 6px;
  top: auto;
  width: 0;
  height: 0;
  background: none;
  border-top: 32px solid #F1CD08;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: none;
  transform: rotate(45deg);
}

.lp-sim-grid.sim-animated .sim-balloon {
  animation: simPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}

.sim-balloon--td {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  display: inline-flex;
  width: 53px;
  height: 53px;
  flex: none;
  vertical-align: middle;
  margin-right: 12px;
  font-size: 12px;
  line-height: 1.05;
  letter-spacing: 0;
  opacity: 1;
}

.sim-balloon--td::after {
  left: auto;
  right: -7px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #F1CD08;
  border-right: none;
}

.sim-bar {
  width: clamp(88px, 14vw, 132px);
  border-radius: 10px 10px 0 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-bar--before {
  height: 288px;
  background: linear-gradient(180deg, #A4AFC0, #5A6678);
  transition-delay: 0.1s;
}

.sim-bar--after {
  height: 156px;
  background: linear-gradient(180deg, #1AACAC, #0A9396);
  transition-delay: 0.35s;
}

@media (min-width: 769px) {
  .sim-chart {
    height: 498px;
    min-width: 380px;
    padding-top: 8px;
    padding-bottom: 40px;
  }

  .sim-bar--before {
    height: 342px;
  }

  .sim-cost-down {
    top: 73px;
    left: calc(50% - 35px);
  }

  .sim-balloon {
    top: clamp(26px, 5%, 40px);
  }

  .sim-grid-note {
    grid-column: 2 / -1;
    font-size: 15px;
    margin-top: -18px;
  }
}

@keyframes simPopIn {
  0% {
    transform: scale(0.82);
    opacity: 0;
  }

  65% {
    transform: scale(1.06);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.sim-chart,
.sim-stat--monthly,
.sim-stat--yearly {
  opacity: 0;
}

.lp-sim-grid.sim-animated .sim-bar {
  transform: scaleY(1);
}

.lp-sim-grid.sim-animated .sim-chart {
  animation: simPopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}

.lp-sim-grid.sim-animated .sim-stat--monthly {
  animation: simPopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.55s both;
}

.lp-sim-grid.sim-animated .sim-stat--yearly {
  animation: simPopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.85s both;
}

.sim-bar-label {
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-700);
}

.sim-stats {
  display: flex;
  flex-direction: column;
  gap: 27px;
  margin-left: 0;
}

.sim-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 18px;
  padding: 35px 22px;
}

.sim-stat--monthly {
  border: 4px solid var(--teal-100);
}

.sim-stat--yearly {
  background: #fff;
  border: 4px solid var(--blue-300);
  color: var(--gray-900);
  padding: 35px 22px;
}

.sim-stat-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-stat-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sim-stat-body {
  flex: 1;
  min-width: 0;
}

.sim-stat-label {
  font-weight: 700;
  font-size: 23px;
  line-height: 1.6;
  margin-bottom: 2px;
}

.sim-stat--monthly .sim-stat-label {
  color: var(--teal-700);
}

.sim-stat--yearly .sim-stat-label {
  color: var(--blue-500);
}

.sim-stat-value {
  font-family: 'Roboto', "游ゴシック体", YuGothic, sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 6.5vw, 65px);
  line-height: 1.3;
}

.sim-stat--monthly .sim-stat-value {
  color: var(--teal-500);
}

.sim-stat--yearly .sim-stat-value {
  color: var(--blue-500);
}

.sim-stat-sub {
  font-size: 17px;
  margin-top: 6px;
  line-height: 1.6;
  color: var(--gray-600);
}

.sim-cost-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  align-self: end;
  opacity: 0;
}

.sim-cost-bubble {
  position: relative;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-500));
  color: #fff;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  padding: 18px 40px;
  border-radius: 100px;
  margin-bottom: 39px;
}

.sim-cost-bubble__line1 {
  display: block;
  margin-bottom: 6px;
}

.sim-cost-bubble__accent {
  color: #FFE566;
  font-size: 1.3em;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .sim-cost-bubble__accent {
    font-size: 1.5em;
  }

  .sim-cost-img {
    max-width: 225px;
  }
}

.sim-cost-bubble::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 17px 14px 0;
  border-style: solid;
  border-color: var(--blue-400) transparent transparent;
}

.sim-cost-img {
  width: auto;
  max-width: 250px;
  height: auto;
  display: block;
}

.lp-sim-grid.sim-animated .sim-cost-img-wrap {
  animation: simPopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 2.55s both;
  padding-left: clamp(16px, 2vw, 16px);
}

@media (max-width: 768px) {
  .sim-bar-label {
    font-size: 14px;
  }

  .sim-cost-img-wrap {
    display: flex;
    justify-self: center;
  }

  .sim-cost-bubble {
    font-size: 17px;
    padding: 18px 26px;
    margin-bottom: 20px;
  }

  .sim-cost-img {
    max-width: 148px;
  }

  .sim-chart {
    height: 400px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 0;
    padding-left: 0;
  }

  .sim-cost-down {
    top: 58px;
  }

  .sim-balloon {
    width: 90px;
    height: 90px;
    font-size: 16px;
    top: 13px;
    right: 17px;
  }

  .sim-balloon::after {
    left: 3px;
    bottom: -2px;
    top: auto;
    width: 0;
    height: 0;
    background: none;
    border-top: 24px solid #F1CD08;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: none;
    transform: rotate(45deg);
  }

  .sim-balloon--td {
    width: 40px;
    height: 40px;
    font-size: 9px;
    margin-right: 11px;
    top: auto;
    right: auto;
  }

  .sim-balloon--td::after {
    left: auto;
    right: -7px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 9px solid #F1CD08;
    border-right: none;
  }

  .sim-bar--before {
    height: 215px;
  }

  .sim-bar--after {
    height: 116px;
  }

  .sim-cost-down-img {
    height: 100px;
  }

  .sim-stats {
    gap: 16px;
  }

  .sim-stat {
    gap: 14px;
    border-width: 3px;
    border-radius: 14px;
    padding: 22px 16px;
  }

  .sim-stat-icon {
    width: 44px;
    height: 44px;
  }

  .sim-stat-label {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 1px;
  }

  .sim-stat-value {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.2;
  }

  .sim-stat-sub {
    font-size: 12px;
    margin-top: 4px;
  }

  .sim-grid-note {
    margin-top: -12px;
    text-align: center;
  }

  .lp-sim-grid.sim-animated .sim-chart,
  .lp-sim-grid.sim-animated .sim-stat--monthly,
  .lp-sim-grid.sim-animated .sim-stat--yearly,
  .lp-sim-grid.sim-animated .sim-cost-img-wrap {
    animation: none;
    opacity: 0;
  }

  .lp-sim-grid.sim-animated .sim-bar {
    transform: scaleY(0);
  }

  .lp-sim-grid.sim-animated .sim-balloon {
    animation: none;
  }

  .lp-sim-grid.sim-animated .sim-cost-down-img {
    animation: none;
  }

  .lp-sim-grid .sim-chart.is-visible {
    animation: simPopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
  }

  .lp-sim-grid .sim-chart.is-visible .sim-bar {
    transform: scaleY(1);
  }

  .lp-sim-grid .sim-chart.is-visible .sim-balloon {
    animation: simPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
  }

  .lp-sim-grid .sim-chart.is-visible .sim-cost-down-img {
    animation: costDownReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
  }

  .lp-sim-grid .sim-stats.is-visible .sim-stat--monthly {
    animation: simPopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
  }

  .lp-sim-grid .sim-stats.is-visible .sim-stat--yearly {
    animation: simPopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
  }

  .lp-sim-grid .sim-cost-img-wrap.is-visible {
    animation: simPopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
  }
}

.sim-stat-value-unit {
  font-family: "游ゴシック体", YuGothic, sans-serif;
  font-size: .5em;
}

#sim .tbl-scroll {
  margin-top: 40px;
}

.lp-table-scroll .tbl-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  transition: border-radius 0.2s ease;
}

@media (max-width: 768px) {
  .lp-table-scroll .tbl-wrap {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .lp-table-scroll .tbl-wrap.is-scroll-end {
    border-top-right-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
  }

  .lp-table-scroll .tbl-wrap.is-scrolled {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

#sim table {
  min-width: 620px;
  background: #fff;
}

#sim thead tr {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

#sim th {
  padding: 16px 18px;
  background: var(--blue-500);
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
}

#sim th:last-child {
  border-right: none;
}

#sim th:nth-child(3),
#sim th:nth-child(4) {
  border-right: none;
}

#sim th.sim-th--highlight {
  background: var(--teal-500);
  width: 1%;
}

#sim th:first-child,
#sim th.sim-th--before,
#sim th.sim-th--after {
  background: color-mix(in srgb, color-mix(in srgb, var(--gray-500) 70%, var(--sky-500) 30%) 65%, white 35%);
  color: #fff;
}

#sim th:first-child {
  width: 1%;
}

#sim th.sim-th--before {
  width: 200px;
}

#sim th.sim-th--after {
  width: 120px;
}

#sim th.sim-th--yearly {
  background: var(--blue-500);
}

#sim td {
  text-align: right;
  border-right: 1px solid var(--border-subtle);
}

#sim td.sim-td--lines {
  text-align: center;
  padding: 0 48px;
}

#sim td:last-child {
  border-right: none;
}

.sim-th-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9em;
  height: 1.9em;
  margin-right: 10px;
  font-size: 0.85em;
  vertical-align: middle;
}

.sim-th-icon--outline {
  border: 1.5px solid #fff;
  border-radius: 50%;
}

#sim th:first-child .sim-th-icon--outline {
  border: none;
  border-radius: 0;
  width: auto;
  height: 2.1em;
  font-size: 1em;
  justify-content: normal;
}

.sim-th-icon--circle {
  color: #fff;
  border: 3.5px solid #fff;
  border-radius: 50%;
}

.sim-th-icon--circle-blue {
  color: #fff;
  border: 3.5px solid #fff;
  border-radius: 50%;
}

.sim-th-icon--circle .icon-arrow-dr,
.sim-th-icon--circle-blue .icon-arrow-dr {
  -webkit-text-stroke-width: 1px;
  transform: rotate(45deg);
}

.sim-th-icon--yen {
  border: 3.5px solid currentColor;
  border-radius: 50%;
  color: #fff;
}

.icon-arrow-dr {
  display: inline-block;
  -webkit-text-stroke: 3px currentColor;
}

@media (min-width: 769px) {

  #sim th,
  #sim td {
    padding: 18px 28px;
  }

  #sim td.sim-td--saving {
    padding-left: 67px;
  }

  #sim td.sim-td--before {
    padding-right: 48px;
  }

  #sim td.sim-td--after {
    padding-left: 84px;
    padding-right: 34px;
  }
}

.sim-footnote {
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-faint);
}

@media (max-width: 768px) {
  .sim-footnote {
    font-size: 11px;
  }
}

/* --- Sim Table --- */
.sim-td {
  padding: 16px 18px;
  font-size: 20px;
  white-space: nowrap;
}

.sim-td--lines {
  font-weight: 900;
  font-size: 28px;
  color: color-mix(in srgb, var(--blue-600) 75%, var(--sky-500) 25%);
  width: 1%;
}

#sim-tbody tr:nth-child(1) .sim-td--lines,
#sim-tbody tr:nth-child(1) .sim-td-icon--blue {
  color: color-mix(in srgb, color-mix(in srgb, var(--blue-600) 75%, var(--sky-500) 25%) 80%, white 20%);
}

#sim-tbody tr:nth-child(2) .sim-td--lines,
#sim-tbody tr:nth-child(2) .sim-td-icon--blue {
  color: color-mix(in srgb, var(--blue-600) 75%, var(--sky-500) 25%);
}

#sim-tbody tr:nth-child(3) .sim-td--lines,
#sim-tbody tr:nth-child(3) .sim-td-icon--blue {
  color: color-mix(in srgb, color-mix(in srgb, var(--blue-600) 75%, var(--sky-500) 25%) 85%, black 15%);
}

.sim-td--before {
  text-align: right;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 22px;
  width: 200px;
  padding-right: 40px;
}

.sim-td--after {
  position: relative;
  text-align: right;
  font-weight: 700;
  font-size: 24px;
  color: var(--gray-700);
  width: 120px;
  padding-left: 54px;
}

.sim-td-arrow {
  position: absolute;
  left: 37px;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cost-down-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F1CD08;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
  padding: 8px 16px 8px 14px;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cost-down-arrow.is-visible {
  animation: costDownIn 0.6s ease-out forwards;
}

@keyframes costDownIn {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  65% {
    clip-path: inset(-40px -40px -40px 0);
  }

  100% {
    clip-path: inset(-40px -40px -40px 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cost-down-arrow {
    clip-path: inset(-40px -40px -40px 0);
  }

  .cost-down-arrow.is-visible {
    animation: none;
  }
}

.cost-down-arrow::after {
  content: '';
  position: absolute;
  left: 99%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 22px solid #F1CD08;
}

.sim-td--saving {
  text-align: right;
  font-weight: 900;
  font-size: 34px;
  color: var(--teal-700);
  width: 1%;
}

.sim-td--yearly {
  color: var(--blue-500);
}

.sim-td-unit {
  font-size: 0.7em;
}

.sim-td-value {
  display: inline-block;
  opacity: 0;
  transform: translate(-8px, -8px);
}

#sim-tbody.is-visible .sim-td-value {
  animation: simValueIn 0.45s ease-out forwards;
}

@keyframes simValueIn {
  0% {
    opacity: 0;
    transform: translate(-8px, -8px);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

#sim-tbody.is-visible tr:nth-child(1) .sim-td--saving:not(.sim-td--yearly) .sim-td-value {
  animation-delay: 0.6s;
}

#sim-tbody.is-visible tr:nth-child(1) .sim-td--yearly .sim-td-value {
  animation-delay: 0.75s;
}

#sim-tbody.is-visible tr:nth-child(2) .sim-td--saving:not(.sim-td--yearly) .sim-td-value {
  animation-delay: 0.75s;
}

#sim-tbody.is-visible tr:nth-child(2) .sim-td--yearly .sim-td-value {
  animation-delay: 0.9s;
}

#sim-tbody.is-visible tr:nth-child(3) .sim-td--saving:not(.sim-td--yearly) .sim-td-value {
  animation-delay: 0.9s;
}

#sim-tbody.is-visible tr:nth-child(3) .sim-td--yearly .sim-td-value {
  animation-delay: 1.05s;
}

#sim-tbody.is-visible tr:nth-child(n+4) .sim-td--saving:not(.sim-td--yearly) .sim-td-value {
  animation-delay: 1.05s;
}

#sim-tbody.is-visible tr:nth-child(n+4) .sim-td--yearly .sim-td-value {
  animation-delay: 1.2s;
}

@media (prefers-reduced-motion: reduce) {
  .sim-td-value {
    opacity: 1;
    transform: translate(0, 0);
  }

  #sim-tbody.is-visible .sim-td-value {
    animation: none;
  }
}

.sim-td-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 0.65em;
  vertical-align: middle;
}

.sim-td-icon--blue {
  width: 2.1em;
  height: 2.1em;
  font-size: 0.85em;
  background: var(--sky-50);
  color: var(--sky-500);
}

.sim-td-icon--yearly {
  background: none;
  border-radius: 0;
  color: var(--blue-500);
}

.sim-td-icon--green {
  background: none;
  border-radius: 0;
  color: var(--teal-500);
}

.sim-td-icon--green .icon-arrow-dr,
.sim-td-icon--yearly .icon-arrow-dr {
  font-size: 1.5em;
  transform: rotate(45deg);
}

/* --- Plan + Usage (merged) --- */
.usage-td {
  padding: 15px 18px;
}

.usage-td--type {
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--brand);
  white-space: nowrap;
}

.usage-td--use {
  font-size: 18px;
  color: var(--text-body);
}

.usage-td--price {
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--teal-500);
  white-space: nowrap;
}

.thead-brand {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.benefit-sub {
  margin-top: 56px;
}

.benefit-sub-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-sub-header--sm h3 {
  font-size: 25px;
}

@media (min-width: 769px) {
  .benefit-sub-header h3 {
    font-size: 25px;
  }
}

@media (max-width: 768px) {
  .benefit-sub-header h3 {
    font-size: 19px;
  }
}

.detail-tag {
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  padding: 5px 16px;
}

.detail-tag--cta {
  background: var(--teal-500);
}

.detail-tag--brand {
  background: var(--brand);
  border-radius: 10px;
}

.detail-tag--success {
  background: var(--success);
  border-radius: 10px;
}

#carriers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 27px;
}

@media (min-width: 1200px) {
  #carriers-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

#lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 27px;
}

/* ---- Hero lineup cards (upper row: iPhone / Android / ガラケー) ---- */
.lineup-card--hero {
  padding: 0;
  gap: 0;
  overflow: hidden;
  text-align: center;
  background: #fff;
}

.lineup-hero-img-wrap {
  background: linear-gradient(160deg, #e8f1ff 0%, #f0f6ff 60%, #e0edff 100%);
  padding: 22px 20px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-radius: 25px;
}

.lineup-hero-img-wrap img {
  width: auto;
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 56, 152, 0.18));
}

.lineup-hero-body {
  padding: 20px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.lineup-card--hero h4 {
  font-size: 22px;
  margin: 0;
  color: var(--text-strong);
}

@media (max-width: 767px) {
  #carriers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #lineup-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .lineup-hero-img-wrap {
    min-height: 150px;
    padding: 18px 14px 18px;
  }

  .lineup-hero-img-wrap img {
    max-height: 130px;
  }

  .lineup-hero-body {
    padding: 16px 16px 18px;
    gap: 14px;
  }

  .lineup-card--hero h4 {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  #lineup-grid {
    grid-template-columns: 1fr;
  }

  .lineup-hero-img-wrap {
    min-height: 180px;
  }

  .lineup-hero-img-wrap img {
    max-height: 160px;
  }
}

/* --- Carriers --- */
.carrier-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(27, 80, 185, 0.10);
  text-align: center;
}

@media (max-width: 767px) {
  .carrier-card {
    padding: 15px 11px;
  }
}

.carrier-name {
  display: inline-block;
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 19px;
  color: #fff;
  background: var(--carrier-color, var(--brand));
  padding: 3px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.carrier-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 14px auto 0;
  color: var(--carrier-color, var(--brand));
}

.carrier-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.carrier-icon i {
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 767px) {
  .carrier-icon {
    width: 44px;
    height: 44px;
    margin: 10px auto 0;
  }

  .carrier-icon i {
    font-size: 26px;
  }
}

.carrier-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 13px 0 0;
}

@media (max-width: 767px) {
  .carrier-card p {
    font-size: 12px;
  }
}

/* --- Lineup (機種・サービス等の紹介カード / device以外の用途にも流用可) --- */
.lineup-card {
  background: #fff;
  border-radius: 30px;
  padding: 22px 20px;
  box-shadow: 0 2px 8px rgba(27, 80, 185, 0.10);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lineup-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #e8f1ff 0%, #f0f6ff 60%, #e0edff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  box-sizing: border-box;
}

.lineup-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 56, 152, 0.18));
}

.lineup-card h4 {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
  text-align: center;
  color: #007478;
}

.lineup-rec {
  padding-top: 14px;
  border-top: 1.5px solid var(--border-subtle);
}

.lineup-rec__label {
  display: inline-block;
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  background: #60AEA5;
  border-radius: 999px;
  padding: 4px 12px;
  line-height: 1.5;
}

.lineup-rec p {
  font-size: 15px;
  color: var(--text-body);
  margin: 10px 0 0;
}

.lineup-models {
  padding-top: 14px;
  border-top: 1.5px solid var(--border-subtle);
  margin-bottom: auto;
}

.lineup-models__label {
  display: inline-block;
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  background: #003898;
  border-radius: 999px;
  padding: 4px 12px;
  line-height: 1.5;
}

.lineup-models__list {
  margin: 10px 0 0;
  padding-left: 18px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lineup-models__list li {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

.lineup-models__list li::marker {
  color: var(--blue-400);
}

.lineup-models__etc {
  display: block;
  font-size: 14px;
  color: var(--text-body);
  margin-top: 4px;
}

@media(max-width:1080px) {
  .lp-sim-grid {
    grid-template-columns: 1fr !important;
  }

  .sim-chart {
    justify-content: space-around;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .thead-brand {
    font-size: 14px;
  }

  #sim thead tr {
    font-size: 14px;
  }

  .sim-td {
    font-size: 17px;
  }

  .sim-td--lines {
    font-size: 20px;
  }

  #sim td.sim-td--lines {
    padding: 0px 25px;
  }

  .sim-td--saving {
    font-size: 22px;
  }

  .sim-td--after {
    font-size: 19px;
  }

  .sim-td--before {
    font-size: 18px;
  }

  #sim th.sim-th--after,
  #sim td.sim-td--after {
    width: 96px;
    padding-left: 57px;
  }

  #sim th.sim-th--before,
  #sim td.sim-td--before {
    width: 140px;
    padding-left: 34px;
  }

  #sim td.sim-td--saving {
    padding-right: 18px;
  }

  #sim td.sim-td--after {
    padding-right: 18px;
  }

  #sim td.sim-td--before {
    padding-right: 39px;
  }

  .cost-down-arrow {
    left: -17px;
    font-size: 11px;
    padding: 6px 11px 6px 9px;
  }

  .cost-down-arrow::after {
    left: 98%;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 16px solid #F1CD08;
  }

  #sim-tbody.is-visible-monthly .sim-td--saving:not(.sim-td--yearly) .sim-td-value,
  #sim-tbody.is-visible-yearly .sim-td--yearly .sim-td-value {
    animation: simValueIn 0.45s ease-out forwards;
  }

  #sim-tbody.is-visible-monthly tr:nth-child(2) .sim-td--saving:not(.sim-td--yearly) .sim-td-value,
  #sim-tbody.is-visible-yearly tr:nth-child(2) .sim-td--yearly .sim-td-value {
    animation-delay: 0.15s;
  }

  #sim-tbody.is-visible-monthly tr:nth-child(n+3) .sim-td--saving:not(.sim-td--yearly) .sim-td-value,
  #sim-tbody.is-visible-yearly tr:nth-child(n+3) .sim-td--yearly .sim-td-value {
    animation-delay: 0.3s;
  }

  .usage-td--type {
    font-size: 15px;
  }

  .usage-td--use {
    font-size: 15px;
  }

  .usage-td--price {
    font-size: 15px;
  }

  .lineup-card {
    padding: 18px 16px;
    gap: 12px;
  }

  .lineup-img-wrap {
    border-radius: 14px;
    padding: 24px;
  }

  .lineup-card h4 {
    font-size: 18px;
  }

  .lineup-rec {
    padding-top: 12px;
  }

  .lineup-rec p {
    font-size: 14px;
    margin: 8px 0 0;
  }

  .lineup-models {
    padding-top: 12px;
  }

  .lineup-models__list {
    margin: 8px 0 0;
  }

  .benefit-sub-header,
  .benefit-sub-header--sm {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-tag--brand.font-yu,
  .detail-tag--success.font-yu {
    align-self: flex-start;
  }

  .detail-tag {
    font-size: 15px;
  }

  .carrier-name {
    font-size: 14px;
  }
}

/* ===== FLOW ===== */
#flow {
  --section-shadow-rgb: 123, 135, 153;
  background: #fff;
}

#step-flow {
  margin-top: 56px;
}

/* ===== STEP FLOW ===== */
.step-flow {
  display: flex;
  align-items: stretch;
}

.step-card {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  color: #fff;
}

.step-card:nth-child(1) {
  background: #38C4A0;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
  padding: 32px 48px 32px 20px;
  z-index: 3;
}

.step-card:nth-child(2) {
  background: #1FAABB;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
  padding: 32px 48px 32px 48px;
  margin-left: -28px;
  z-index: 2;
}

.step-card:nth-child(3) {
  background: #0B8FD0;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
  padding: 32px 48px 32px 48px;
  margin-left: -28px;
  z-index: 1;
}

.step-badge {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
}

.step-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

.step-title {
  font-family: "游ゴシック体", YuGothic, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  line-height: 1.4;
  background: #fff;
  border-radius: 999px;
  padding: 6px 28px;
  display: inline-block;
}

.sf2-wrap:nth-child(1) .step-title {
  color: #38C4A0;
}

.sf2-wrap:nth-child(2) .step-title {
  color: #1FAABB;
}

.sf2-wrap:nth-child(3) .step-title {
  color: #0B8FD0;
}

.step-body {
  font-size: 18px;
  color: #fff;
  line-height: 1.75;
}

@media(max-width:1080px) {
  .step-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .step-card:nth-child(1) {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px)) !important;
    padding: 28px 32px 52px !important;
    margin-left: 0 !important;
  }

  .step-card:nth-child(2) {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px)) !important;
    padding: 28px 32px 52px !important;
    margin-left: 0 !important;
    margin-top: -24px;
  }

  .step-card:nth-child(3) {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px)) !important;
    padding: 28px 32px 52px !important;
    margin-left: 0 !important;
    margin-top: -24px;
  }
}

@media (max-width: 768px) {
  .step-title {
    font-size: 16px;
  }

  .step-body {
    font-size: 15px;
  }
}

/* ===== STEP FLOW V2 ===== */
#step-flow {
  display: none !important;
}

.step-flow-v2 {
  display: flex;
  align-items: stretch;
  margin-top: 56px;
  padding-top: 100px;
}

.sf2-wrap {
  flex: 1;
  position: relative;
}

.sf2-wrap:nth-child(1) {
  z-index: 3;
}

.sf2-wrap:nth-child(2) {
  z-index: 2;
}

.sf2-wrap:nth-child(3) {
  z-index: 1;
}

.sf2-img-zone {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 10;
  height: 200px;
}

.sf2-wrap:nth-child(1) .sf2-img-zone {
  height: 190px;
  left: 16px;
}

.sf2-wrap:nth-child(2) .sf2-img-zone {
  height: 200px;
  left: 16px;
}

.sf2-wrap:nth-child(2) .sf2-img {
  transform: translateX(24px);
}

.sf2-wrap:nth-child(3) .sf2-img-zone {
  height: 185px;
  left: 16px;
}

.sf2-wrap:nth-child(3) .sf2-img {
  transform: translateX(24px);
}

.sf2-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.sf2-step-lbl {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: #1E4A9A;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(30, 74, 154, 0.10);
  min-width: 64px;
}

.sf2-lbl-step {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.80);
}

.sf2-lbl-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-top: 2px;
  font-family: "游ゴシック体", YuGothic, sans-serif;
}

.sf2-inner {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  color: #fff;
}

.sf2-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}


.sf2-wrap:nth-child(1) .sf2-inner::before {
  background: linear-gradient(135deg, #4DD9B4 0%, #1FAABB 100%);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
}

.sf2-wrap:nth-child(2) .sf2-inner::before {
  background: linear-gradient(135deg, #1FAABB 0%, #0B8FD0 100%);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%, 28px 50%);
}

.sf2-wrap:nth-child(3) .sf2-inner::before {
  background: linear-gradient(135deg, #0B8FD0 0%, #2B5DB8 100%);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%, 28px 50%);
}

.sf2-inner .step-title,
.sf2-inner .step-body {
  position: relative;
  z-index: 1;
}

.sf2-wrap:nth-child(1) .sf2-inner {
  padding: 116px 48px 32px 20px;
}

.sf2-wrap:nth-child(2) .sf2-inner {
  padding: 116px 48px 32px 48px;
}

.sf2-wrap:nth-child(3) .sf2-inner {
  padding: 116px 48px 32px 48px;
}

@media (max-width: 768px) {
  .step-flow-v2 {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0;
  }

  .sf2-wrap:nth-child(1) {
    z-index: 3;
    margin-left: 0;
  }

  .sf2-wrap:nth-child(2) {
    z-index: 2;
    margin-left: 0;
    margin-top: -10px;
  }

  .sf2-wrap:nth-child(3) {
    z-index: 1;
    margin-left: 0;
    margin-top: -10px;
  }

  .sf2-img-zone {
    position: static;
    width: 100%;
    height: 170px;
    z-index: 2;
  }

  .sf2-wrap:nth-child(1) .sf2-img-zone {
    height: 170px;
  }

  .sf2-wrap:nth-child(2) .sf2-img-zone {
    height: 165px;
  }

  .sf2-wrap:nth-child(3) .sf2-img-zone {
    height: 150px;
  }

  .sf2-wrap:nth-child(2) .sf2-img,
  .sf2-wrap:nth-child(3) .sf2-img {
    transform: none;
  }

  .sf2-step-lbl {
    top: 12px;
    left: 13px;
    transform: none;
    padding: 9px 13px;
    min-width: 52px;
  }

  .sf2-lbl-step {
    font-size: 12px;
  }

  .sf2-lbl-num {
    font-size: 2.25rem;
  }

  .sf2-wrap:nth-child(1) .sf2-inner::before {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px));
  }

  .sf2-wrap:nth-child(2) .sf2-inner::before,
  .sf2-wrap:nth-child(3) .sf2-inner::before {
    clip-path: polygon(0 0, 50% 24px, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px));
  }

  .sf2-wrap:nth-child(1) .sf2-inner,
  .sf2-wrap:nth-child(2) .sf2-inner,
  .sf2-wrap:nth-child(3) .sf2-inner {
    height: auto;
    padding: 32px 18px 52px !important;
  }

  .sf2-wrap:nth-child(2) .sf2-inner,
  .sf2-wrap:nth-child(3) .sf2-inner {
    padding-top: 56px !important;
  }

}

/* ===== STEP FLOW V2: 順番アニメーション ===== */
.sf2-wrap {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.sf2-wrap.sf2-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .sf2-wrap {
    transform: translateY(-30px);
  }

  .sf2-wrap.sf2-visible {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .sf2-lbl-step {
    font-size: 11px;
  }
}

/* ===== VOICE ===== */
#voice {
  --section-shadow-rgb: 20, 161, 85;
  background: #eef7f0;
}

#voice-carousel {
  position: relative;
  width: 100%;
  margin-top: 44px;
}

@media (max-width: 768px) {
  #voice-carousel {
    margin-top: 0;
  }
}

#voice-outer {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 27px 0 28px;
}

#voice-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  transition: transform .8s cubic-bezier(.25, .46, .45, .94);
}

.voice-card {
  position: relative;
  flex-shrink: 0;
  transition: transform .5s ease, opacity .5s ease;
  transform: scale(.86);
  opacity: .6;
}

.voice-card.is-active {
  transform: scale(1);
  opacity: 1;
}

.voice-card::before {
  content: "\201D";
  position: absolute;
  top: -28px;
  left: 8px;
  font-size: 100px;
  font-weight: 900;
  line-height: 1;
  color: #F1CD08;
  z-index: 3;
  pointer-events: none;
}

/* Card */
.vc-inner {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 147, 150, 0.12);
  display: flex;
  flex-direction: column;
}

.vc-head {
  background: #60AEA5;
  padding: 20px 32px 18px 32px;
  font-size: 25px;
}

.vc-head h3.vc-title {
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  margin: 0;
}

.vc-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-image: radial-gradient(circle, #d3ebe4 0.2px, rgba(211, 235, 228, 0) 3px);
  background-size: 20px 20px;
  background-position: center;
}

.vc-content {
  flex: 1;
}

.vc-text {
  color: #111827;
  font-size: 21px;
  font-weight: 600;
}

.vc-text strong {
  color: var(--teal-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #F9DE6B;
  text-decoration-thickness: 10px;
  text-underline-offset: -2px;
  text-decoration-skip-ink: none;
}

.vc-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 3px solid var(--border-subtle);
}

.vc-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vc-cat {
  display: inline-block;
  background: var(--teal-700);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.vc-company {
  font-weight: 700;
  font-size: 19px;
  color: var(--text-strong);
  margin: 5px 0 0;
}

.vc-person {
  font-size: 17px;
  color: var(--text-muted);
  margin: 3px 0 0;
}

/* Nav buttons */
.voice-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 8px rgba(10, 147, 150, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  cursor: pointer;
  transition: background 200ms ease;
}

.voice-nav:hover {
  background: var(--blue-50);
}

.voice-nav--prev {
  left: 2px;
}

.voice-nav--next {
  right: 2px;
}

@media (min-width: 768px) {
  .voice-nav--prev {
    left: 24px;
  }

  .voice-nav--next {
    right: 24px;
  }
}

/* Dots */
.vc-dots-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.voice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .3s;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .vc-head {
    padding: 18px 20px 16px;
  }

  .vc-body {
    padding: 20px;
    background-image: radial-gradient(circle, rgba(126, 207, 207, 0.22) 0.4px, rgba(126, 207, 207, 0) 2.5px);
  }

  .voice-card::before {
    top: -18px;
    left: 16px;
    font-size: 71px;
  }

  .vc-head h3.vc-title {
    font-size: 18px;
  }

  .vc-text {
    font-size: 15px;
  }

  .vc-text strong {
    text-underline-offset: -4px;
  }

  .vc-cat {
    font-size: 14px;
  }

  .vc-company {
    font-size: 15px;
  }

  .vc-person {
    font-size: 14px;
  }
}

/* ===== FAQ ===== */
#faq {
  --section-shadow-rgb: 123, 135, 153;
  background: #fff;
}

#faq .eyebrow {
  background: var(--blue-50);
  color: var(--brand);
}

#faq-accordion {
  margin-top: 44px;
}

/* ===== contactForm (EMEAO mail_send.js compatible) ===== */
.formSection__contents__privacy {
  margin: 16px 0;
}

.formBtn.b {
  display: none;
}

.formBtn.a input[type="submit"] {
  display: block;
  width: 100%;
  cursor: pointer;
  border: none;
  font-family: inherit;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.05em;
}

#back {
  background: #e8ecf0;
  color: #444;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin-right: 12px;
}

#back:hover {
  background: #d4d9e2;
}

#submit {
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

@media (max-width: 768px) {
  #faq-accordion {
    margin-top: 56px;
  }
}

@media (min-width: 769px) {
  #faq-accordion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    font-size: 20px;
  }

  #faq-accordion .acc-item {
    height: auto;
  }

  #faq-accordion .acc-header {
    padding: 28px 32px;
    font-size: 20px;
    cursor: default;
    pointer-events: none;
    background: var(--blue-400);
  }

  #faq-accordion .acc-body {
    max-height: none !important;
  }

  #faq-accordion .acc-arrow {
    display: none;
  }

  #faq-accordion .acc-body-inner {
    padding: 23px 32px 28px 72px;
    font-size: 18px;
  }

  #faq-accordion .acc-q-mark {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}

/* ===== CONTACT ===== */
#contact {
  --section-shadow-rgb: 27, 80, 185;
  background: linear-gradient(160deg, var(--blue-50) 0%, var(--blue-100) 100%);
  padding: clamp(56px, 8vw, 104px) 0 0;
}

.contact-intro {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  color: var(--brand);
}

#contact h2 {
  font-size: clamp(24px, 3.6vw, 45px);
  font-weight: 900;
  margin: 16px 0 0;
  color: var(--brand);
}

#contact .bracket-white {
  color: var(--teal-700);
}

#contact .text-amber {
  color: var(--teal-500);
}

.contact-form-wrap {
  max-width: 890px;
  margin: 40px auto 0;
  padding: 0 0 clamp(56px, 8vw, 104px);
}

.contact-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 4px 16px rgba(27, 80, 185, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-col-span,
.form-grid-full {
  grid-column: 1 / -1;
}

.form-col-span--submit {
  text-align: center;
  margin-top: 4px;
}

@media(max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .form-col-span {
    grid-column: auto !important;
  }
}

.btn-submit {
  width: 100%;
  max-width: 420px;
}

.btn-submit:disabled {
  background: var(--gray-300);
  color: var(--gray-500);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  font-size: 18px;
  padding: 18px 24px;
}

.btn-submit:disabled i {
  display: none;
}

.btn-submit:disabled:hover {
  transform: none;
}

.btn-submit.is-shrinking {
  animation: btnSubmitShrinkOut 220ms ease forwards;
}

.btn-submit.is-popping {
  animation: btnSubmitPopIn 420ms cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes btnSubmitShrinkOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.25);
    opacity: 0;
  }
}

@keyframes btnSubmitPopIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.form-note {
  font-size: 15px;
  color: var(--text-faint);
  margin-top: 12px;
}

.form-note-link {
  color: var(--blue-500);
}

@media (max-width: 768px) {
  #contact h2 {
    font-size: 25px;
  }
}

/* ===== THANKS PAGE ===== */
.thanks-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5A8AEA 0%, #2B5ED4 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(27, 80, 185, 0.10);
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.thanks-back-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.thanks-back-btn:active {
  transform: translateY(0);
}

#thanks-area .lp-cta-row {
  margin-top: 32px;
  justify-content: center;
}

#thanks-area {
  display: none;
  text-align: center;
  padding: 40px 0;
}

body.thanks-page #thanks-area {
  display: block;
}

.thanks-title-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 20px;
}

.thanks-title-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  animation: thanksTitlePop 700ms cubic-bezier(.34, 1.56, .64, 1) both;
}

.confetti {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  animation: confettiBurst 1400ms cubic-bezier(.25, .8, .35, 1) both;
  animation-delay: var(--delay, 0ms);
}

.confetti:nth-of-type(1) {
  --tx: 80px;
  --ty: 0px;
  --rot: 280deg;
  --delay: 0ms;
  background: #FF8C1F;
}

.confetti:nth-of-type(2) {
  --tx: 65px;
  --ty: -47px;
  --rot: 200deg;
  --delay: 40ms;
  background: #0AC399;
}

.confetti:nth-of-type(3) {
  --tx: 25px;
  --ty: -76px;
  --rot: 340deg;
  --delay: 80ms;
  background: #3D6FD2;
}

.confetti:nth-of-type(4) {
  --tx: -25px;
  --ty: -76px;
  --rot: 150deg;
  --delay: 120ms;
  background: #FFC587;
}

.confetti:nth-of-type(5) {
  --tx: -65px;
  --ty: -47px;
  --rot: 260deg;
  --delay: 60ms;
  background: #FF8C1F;
}

.confetti:nth-of-type(6) {
  --tx: -80px;
  --ty: 0px;
  --rot: 400deg;
  --delay: 100ms;
  background: #0AC399;
}

.confetti:nth-of-type(7) {
  --tx: -65px;
  --ty: 47px;
  --rot: 180deg;
  --delay: 20ms;
  background: #3D6FD2;
}

.confetti:nth-of-type(8) {
  --tx: -25px;
  --ty: 76px;
  --rot: 300deg;
  --delay: 140ms;
  background: #FFC587;
}

.confetti:nth-of-type(9) {
  --tx: 25px;
  --ty: 76px;
  --rot: 220deg;
  --delay: 70ms;
  background: #FF8C1F;
}

.confetti:nth-of-type(10) {
  --tx: 65px;
  --ty: 47px;
  --rot: 320deg;
  --delay: 110ms;
  background: #0AC399;
}

@keyframes confettiBurst {
  0% {
    transform: translate(-50%, -50%) translate(0, 0) rotate(0deg) scale(0.6);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(var(--rot, 360deg)) scale(1);
    opacity: 0;
  }
}

@keyframes thanksTitlePop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.12);
    opacity: 1;
  }

  80% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(1);
  }
}

.thanks-main-img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto 20px;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 8px rgba(20, 161, 85, .12);
}

.thanks-headline {
  font-size: 34px;
  font-weight: 900;
  color: #015DFD;
  margin-bottom: 28px;
  line-height: 1.5;
}

.thanks-highlight {
  color: #015DFD;
}

.thanks-lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.thanks-lead strong {
  color: var(--success);
  font-weight: 700;
}

/* next-steps */
.thanks-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 32px;
  max-width: 520px;
  flex-wrap: nowrap;
}

.thanks-step {
  flex: 1;
  background: var(--gray-50);
  border-radius: 12px;
  padding: 14px 10px;
  min-width: 0;
}

.thanks-step--done {
  background: var(--green-50);
  border: 1.5px solid var(--green-400);
}

.thanks-step__icon {
  font-size: 20px;
  margin-bottom: 6px;
  line-height: 1;
}

.thanks-step--done .thanks-step__icon {
  color: var(--success);
  font-size: 18px;
  font-weight: 900;
}

.thanks-step__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 4px;
}

.thanks-step--done .thanks-step__label {
  color: var(--success);
}

.thanks-step__body {
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.4;
}

.thanks-step-arrow {
  font-size: 13px;
  color: var(--gray-300);
  align-self: center;
  flex-shrink: 0;
  padding-top: 4px;
}

/* phone block */
.thanks-tel-block {
  background: var(--blue-50);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 auto 20px;
  max-width: 460px;
}

.thanks-tel-block .cta-phone-strip {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.thanks-tel-block .phone-num {
  white-space: nowrap;
}

.thanks-tel-label {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.thanks-tel-num {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  text-decoration: none;
}

.thanks-tel-num:hover {
  opacity: .75;
}

.thanks-tel-hours {
  font-size: 13px;
  color: var(--text-faint);
}

/* reassure */
.thanks-reassure {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 14px 18px;
  max-width: 400px;
  margin: 0 auto;
}

.thanks-reassure p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .thanks-steps {
    gap: 4px;
  }

  .thanks-step {
    padding: 10px 6px;
  }

  .thanks-step__body {
    display: none;
  }

  .thanks-tel-num {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .thanks-headline {
    font-size: 26px;
  }

  .thanks-lead {
    font-size: 15px;
    text-align: left;
  }

  .thanks-tel-label {
    font-size: 14px;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, .7);
  padding: 48px 0 36px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-name {
  font-family: '游ゴシック体', YuGothic, sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  letter-spacing: -.01em;
}

.footer-company {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}

.footer-company-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.footer-company dt {
  flex-shrink: 0;
  white-space: nowrap;
}

.footer-company dd {
  margin: 0;
}

.footer-company-link {
  color: #fff;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  font-size: 15px;
  text-align: center;
  color: rgba(255, 255, 255, .4);
}

@media (max-width: 768px) {
  .footer-logo-name {
    font-size: 18px;
  }
}