@charset "UTF-8";
/* ============================================================
   LINKEY Plus (Minpaku) Landing Page — Stylesheet
   Based on LINKEY Pro design system with red color scheme
   ============================================================ */

/* ----- Screen-reader only ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Skip Link ----- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--color-primary, #A92C3D);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

/* ----- YouTube Facade ----- */
.yt-facade {
  position: relative;
  cursor: pointer;
}

/* ----- CSS Custom Properties ----- */
:root {
  --color-font: #1D2F3E;
  --color-font-rgb: 29, 47, 62;
  --color-primary: #A92C3D;
  --color-secondary: #DE6070;
  --color-red: #B12D3E;
  --color-red-light: #DE6070;
  --color-white: #ffffff;
  --color-border: #D7D9DD;
  --color-text-muted: #8A8D93;
  --color-bg-subtle: #F4F5F7;
  --color-grad-blue: #C4384D;

  --font-stack: 'Noto Sans JP', 'M PLUS 1p', 'Roboto', 'Hiragino Sans',
    'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-en: 'Roboto', 'M PLUS 1p', sans-serif;

  --shadow-sm: 0 0 10px rgba(5, 28, 46, 0.12);
  --shadow-md: 0 0 20px rgba(5, 28, 46, 0.2);
  --shadow-lg: 0 0 20px rgba(5, 28, 46, 0.3);

  --radius-btn: 50px;
  --radius-card: 30px;
  --radius-sm: 10px;

  --container: 1000px;
  --container-wide: 1200px;
  --header-height: 60px;

  --transition: 0.3s ease;
}

@media (min-width: 768px) {
  :root {
    --header-height: 70px;
  }
}

@media (min-width: 1200px) {
  :root {
    --header-height: 80px;
  }
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-font);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.75;
}

ul,
ol,
dl {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin-bottom: 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

iframe {
  max-width: 100%;
  border: none;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
}

strong {
  font-weight: 700;
}

.strong--blue {
  color: var(--color-primary);
}

picture {
  display: block;
}

/* ----- Utility Classes ----- */
.sp-only {
  display: block;
}

.sp-none {
  display: none;
}

.pc-only {
  display: none;
}

.tab-only {
  display: none;
}

.center-txt {
  text-align: center;
}


.underline {
  background: linear-gradient(transparent 65%, rgba(222, 96, 112, 0.25) 65%);
  padding: 0 2px;
  font-weight: 700;
}

.small {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.big {
  font-size: 1.2em;
  font-weight: 900;
}

.ls-3 {
  letter-spacing: -0.05em;
}

/* Weight & color utilities — see after typography system for overrides */

/* ----- Badge (small label pills) ----- */
.badge {
  display: inline-block;
  color: var(--color-white);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--color-secondary);
}

.badge--pill {
  padding: 6px 16px;
  border-radius: 20px;
}

/* ----- Gradient Line (reusable underline) ----- */
.grad-line,
.hr,
.section__title--en .line::after,
.accent-title::after {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

/* ----- Card Base ----- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

/* ----- Gradient Button Base ----- */
.btn-grad {
  display: block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  font-weight: 700;
  border-radius: var(--radius-btn);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-white);
  opacity: 1;
}

/* ----- Dot Grid Overlay (reusable) ----- */
.dot-grid {
  position: relative;
  background: var(--section-tint, transparent);
}

/* dot-grid pattern is rendered by canvas in scripts.js */
.dot-grid>* {
  position: relative;
  z-index: 1;
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: var(--container-wide);
}

/* ----- Grid System (Row) ----- */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}


.row--min {
  gap: 24px;
}

.row--micro {
  gap: 10px;
}

/* .row--mt — eliminated, use .mt-30 */
/* .row--mtmin — margin via .mt-16, class kept for .box .row--mtmin .row__item img selector */

.row__item {
  width: 100%;
}

.row__item img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.row__item--mobile-6 {
  width: calc(50% - 8px);
}

/* Facility grid image labels */
#about .row--micro .row__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

#about .row--micro .row__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#about .row--micro .row__item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

#about .row--micro .row__item:not([data-label])::after {
  display: none;
}

/* ============================================================
   HEADER
   ============================================================ */

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-white);
  transition: background var(--transition), box-shadow var(--transition);
}

#header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

#header>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 16px;
  max-width: var(--container-wide);
  margin: 0 auto;
}

#header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#header-logo img {
  width: 100%;
  max-width: 212px;
  height: auto;
}

/* Nav (hidden on mobile) */
#gnav {
  display: none;
}

#gnav>ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

#gnav>ul a {
  color: var(--color-font);
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}

#gnav>ul a:hover {
  color: var(--color-primary);
  opacity: 1;
}

#gnav>ul a.js-navlink::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: -2px;
  border-radius: 50%;
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,6 8,10 12,6'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
}

#gnav>ul a[target]::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D2F3E' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: middle;
}

#gnav-cv {
  display: flex;
  gap: 8px;
  margin-left: 20px;
}

.cvbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  text-align: center;
  min-height: 44px;
  transition: opacity var(--transition);
  color: var(--color-white);
}

.cvbtn--tel {
  background: var(--color-font);
}

.cvbtn--mail {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

/* Header contact buttons (tablet) */
.cvbtn--header {
  display: none;
}

/* Hamburger Menu Button */
#menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
  background: none;
  border: none;
}

#menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-font);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

#menu-btn.is-open span {
  background: #fff;
}

#menu-btn.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

#menu-btn.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
#gnav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--color-font-rgb), 0.97);
  z-index: 999;
  padding: 80px 30px 30px;
  overflow-y: auto;
}

#gnav.is-open>ul {
  flex-direction: column;
  gap: 0;
}

#gnav.is-open>ul>li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#gnav.is-open>ul a {
  color: var(--color-white);
  display: block;
  padding: 16px 0;
  font-size: 16px;
}

#gnav.is-open #gnav-cv {
  flex-direction: column;
  margin-left: 0;
  margin-top: 30px;
  gap: 12px;
}

#gnav.is-open .cvbtn {
  padding: 14px 20px;
  font-size: 14px;
  border-radius: var(--radius-card);
}


/* ============================================================
   HERO / FIRST VIEW
   ============================================================ */

#fv {
  padding-top: var(--header-height);
}

#fv-emblem-wrap {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 170px;
  text-align: center;
}

#fv-emblem {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

#fv-emblem-wrap small {
  display: block;
  color: var(--color-white);
  font-size: 9px;
  line-height: 1.4;
  margin-top: 6px;
  max-width: 170px;
}

#fv-series {
  width: 480px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}

#fv-bg {
  position: relative;
  background:
    linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  overflow: hidden;
  padding: 0;
  min-height: 480px;
  display: flex;
  align-items: center;
}

#fv-bg>div {
  width: 100%;
  position: relative;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 48px;
  align-items: center;
  min-height: 100%;
}

/* #fv-bg dot-grid is rendered by canvas in scripts.js */

#fv-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: var(--color-white);
  container-type: inline-size;
}

#fv-copy mark {
  background: none;
  color: inherit;
  background-image: linear-gradient(transparent 40%, var(--color-font) 40%, var(--color-font) 90%, transparent 90%);
}

#fv-title {
  margin: 0;
  line-height: 1.3;
  font-size: 16.5cqi;
  font-weight: 900;
  font-family: var(--font-en);
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

#fv-logo {
  width: 100%;
  height: auto;
  display: block;
}

#fv-chips {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.fv-chip {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.fv-chip strong {
  color: var(--color-white);
}

#fv-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
}

#fv-img img {
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
}

#fv-cv {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px 14px 32px;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 60px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

#fv-cv:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

#fv-cv>span:first-child {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

#fv-cv>span:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

#fv-cv>span:last-child svg {
  width: 40px;
  height: 40px;
}


/* ============================================================
   SECTION BASE
   ============================================================ */

.section {
  padding: 60px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 50px;
  overflow: visible;
}

/* .section__body--mt — eliminated, use .mt-30 */

/* Section Title */
.section__title {
  position: relative;
  display: inline-block;
}

.section__title .line {
  position: relative;
  display: inline;
}

.section__title .big {
  font-size: 1.15em;
}

/* Section title with English subtitle (data-en pseudo) */
.section__title--en {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.section__title--en::before {
  content: attr(data-en);
  position: absolute;
  left: 50%;
  bottom: 0.4em;
  transform: translateX(-50%) skewX(-8deg);
  white-space: nowrap;
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  opacity: 0.25;
  pointer-events: none;
  /* Gradient stroke, white fill to mask interior */
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: var(--color-white);
  -webkit-text-stroke: 2px transparent;
  paint-order: stroke fill;
}

.section__title--en .line::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  margin: 12px auto 0;
}


/* ============================================================
   JITUGEN SECTION
   ============================================================ */

/* section--jitugen: white bg inherited from body */

#jitugen .section__title .big {
  color: var(--color-primary);
  font-size: 1.3em;
}

#jitugen .section__title::after {
  content: '';
  display: block;
  margin-top: 12px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.jitugen-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
}

.jitugen-card__label {
  position: relative;
  padding: 32px 20px 16px;
  text-align: center;
  color: var(--color-font);
  border: 2px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(135deg, var(--color-primary), var(--color-secondary)) border-box;
}

.jitugen-card__label::before {
  content: '';
  position: absolute;
  top: -29px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.jitugen-card__icon {
  position: absolute;
  top: -29px;
  left: 50%;
  transform: translate(-50%);
  width: 58px;
  height: 58px;
  padding: 8px;
  color: var(--color-white);
  z-index: 1;
  pointer-events: none;
}

.jitugen-card__label strong {
  color: var(--color-primary);
}

/* ----- Contain + Blur Fill ----- */
.contain-blur {
  position: relative;
  overflow: hidden;
}

.contain-blur>img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0 !important;
}

.contain-blur>img.blur-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  filter: blur(24px);
  transform: scale(1.3);
}

#jitugen .jitugen-card>.contain-blur,
#recommendation .jitugen-card>.contain-blur {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

#reason .thmb-card__thmb .contain-blur {
  border-radius: 8px;
}

#kinou .thmb-card__thmb .contain-blur {
  aspect-ratio: 2 / 1;
  border-radius: 6px;
}

#kinou .thmb-card__thmb .contain-blur>img {
  object-fit: contain;
}

#kinou .thmb-card__thmb .contain-blur>img.blur-bg {
  object-fit: cover;
}

#jitugen .jitugen-card> :last-child>img:not(.blur-bg) {
  filter: contrast(1.35) saturate(0.85);
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */

#about,
#voice {
  background: linear-gradient(135deg, rgba(169, 44, 61, 0.25), rgba(222, 96, 112, 0.2));
  --dot-color: rgba(255, 255, 255, 0.4);
}

/* Dot grid fades left→right */
#about::before,
#voice::before {
  mask-image: linear-gradient(to right, transparent, black);
  -webkit-mask-image: linear-gradient(to right, transparent, black);
}

#about>.container {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* .about-row--header — eliminated, use .center-txt */
/* .about-header__sub — eliminated, inline styles */


.grad-text {
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#about-cols {
  display: flex;
  gap: 32px;
  align-items: center;
}

#about-cols>div:first-child {
  flex: 6;
}

#about-cols>div:last-child {
  flex: 4;
}

#about-cols>div:last-child img {
  width: 100%;
  height: auto;
}

#about-circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#about-circle img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

#about .section__header picture img {
  max-width: 100%;
  margin: 0 auto;
}


/* ============================================================
   TYPOGRAPHY SYSTEM — 4 headings, 2 text, 2 small
   ============================================================ */

.display-lg {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}

.display-md {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
}

.h-xl {
  font-size: 23px;
  font-weight: 900;
  line-height: 1.4;
}

.h-lg {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.h-md {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.h-sm {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.text-compact {
  font-size: 13px;
  line-height: 1.6;
}

.tiny {
  font-size: 10px;
  line-height: 1.4;
}

/* Spacing utilities */
.mt-xs {
  margin-top: 6px;
}

.mt-sm {
  margin-top: 12px;
}

.mt-md {
  margin-top: 24px;
}

.mt-lg {
  margin-top: 40px;
}

.mb-xs {
  margin-bottom: 8px;
}

.mb-sm {
  margin-bottom: 14px;
}

.mb-md {
  margin-bottom: 24px;
}

.mb-lg {
  margin-bottom: 32px;
}

/* Weight & color utilities (after typography to win cascade) */
.wt-700 {
  font-weight: 700;
}

.wt-900 {
  font-weight: 900;
}

.color-primary {
  color: var(--color-primary);
}

.color-secondary {
  color: var(--color-secondary);
}

.color-white {
  color: var(--color-white);
}

.color-muted {
  color: var(--color-text-muted);
}

.bg-grad {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.opacity-6 {
  opacity: 0.6;
}

.opacity-9 {
  opacity: 0.9;
}

.d-block {
  display: block;
}

.font-en {
  font-family: var(--font-en);
}

/* Section tint utilities */
.tint-blue {
  --section-tint: rgba(169, 44, 61, 0.08);
}

.tint-purple {
  --section-tint: rgba(222, 96, 112, 0.08);
}

.tint-dark {
  --section-tint: rgba(29, 47, 62, 0.08);
}

.tint-blue-subtle {
  --section-tint: rgba(169, 44, 61, 0.06);
}

/* Flex center utilities */
.flex-center {
  display: flex;
  justify-content: center;
}

.flex-center-gap {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* .h7 — eliminated, use .d-block .wt-700 .color-muted .mt-20 .mb-8 */


/* ============================================================
   OCT TITLE (circle dot + label)
   ============================================================ */

.oct-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.oct-title::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  flex-shrink: 0;
}

.oct-title--en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-secondary);
  font-style: italic;
  letter-spacing: 0.05em;
}

.oct-title--en::before {
  width: 10px;
  height: 10px;
}


/* ============================================================
   WHY SECTION (Feature)
   ============================================================ */

/* Thmb Card */
/* .thmb-card--mt — eliminated, use .mt-40 */

.thmb-card__thmb {
  margin-bottom: 20px;
  overflow: hidden;
}

.thmb-card__thmb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thmb-card__thmb iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* .thmb-card__title — margin via .mb-12, class kept for grid placement in desktop MQ */

.thmb-card--normal .thmb-card__desc {
  text-align: start;
}

.thmb-card__desc .small {
  display: block;
  margin-top: 10px;
}

/* Number Title (01, 02, 03, 04) */
.number-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Shared gradient circle badge */
.number-title::before,
.qa__question::before,
.qa__answer::before {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}

.number-title::before {
  content: '';
  width: 48px;
  height: 48px;
  font-size: 20px;
  font-style: italic;
}

.number-title--01::before {
  content: '01';
}

.number-title--02::before {
  content: '02';
}

.number-title--03::before {
  content: '03';
}

.number-title--04::before {
  content: '04';
}

.number-title--05::before {
  content: '05';
}

.number-title--min::before {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

/* System diagram small text */
.thmb-card__thmb .small {
  display: block;
  margin-top: 8px;
}


/* CTA stack: column → row at tablet */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.cv-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  border-radius: 16px;
  overflow: hidden;
}

.cv-btn__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.cv-btn--contact {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
}

.cv-btn--tel {
  background: var(--color-font);
  color: var(--color-white);
}

/* .cv-btn__title — eliminated, use .h-sm .mb-6 */

/* .cv-btn__desc — eliminated, use .text-compact .opacity-9 */


/* .left-icon — eliminated, use .d-block */

.left-icon--contact::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: middle;
}

.left-icon--tel {
  font-size: 22px;
  letter-spacing: 0.02em;
}

.left-icon--tel::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: middle;
}


/* ============================================================
   HR
   ============================================================ */

.hr {
  margin: 0;
  border: none;
  height: 2px;
}


/* ============================================================
   USE SECTIONS (How to Use)
   ============================================================ */

/* Use sections: tint via utilities, accent colors via #id */
#pl01 .oct-title--en {
  color: var(--color-primary);
}

#pl01 .oct-title--en::before {
  background: var(--color-primary);
}

#pl01 .underline {
  background: linear-gradient(transparent 65%, rgba(169, 44, 61, 0.25) 65%);
}

#pl02 .oct-title--en {
  color: var(--color-secondary);
}

#pl02 .oct-title--en::before {
  background: var(--color-secondary);
}

#pl02 .underline {
  background: linear-gradient(transparent 65%, rgba(222, 96, 112, 0.25) 65%);
}

#pl03 .oct-title--en {
  color: var(--color-font);
}

#pl03 .oct-title--en::before {
  background: var(--color-font);
}

#pl03 .underline {
  background: linear-gradient(transparent 65%, rgba(29, 47, 62, 0.25) 65%);
}

/* Page Link Buttons */
/* .pagelink-btn: gradient/hover via .btn-grad in HTML */
.pagelink-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  min-height: 56px;
  height: 100%;
}

.pagelink-btn span {
  display: block;
}

#use .row__item:nth-child(1) .pagelink-btn {
  background: var(--color-primary);
}

#use .row__item:nth-child(2) .pagelink-btn {
  background: var(--color-secondary);
}

#use .row__item:nth-child(3) .pagelink-btn {
  background: var(--color-font);
}

/* Step List */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-list li {
  position: relative;
}

/* Normal thmb-card inside step-list */
.thmb-card--normal {
  padding: 20px;
}

.thmb-card--normal .thmb-card__thmb {
  margin-bottom: 0;
}

.thmb-card--normal .thmb-card__thmb img {
  border-radius: 0;
}

/* Step list arrows between items (vertical on mobile) */
.step-list:not(.step-list--vertical) li+li::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 16px solid var(--color-primary);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
}

/* Vertical step list */
.step-list--vertical {
  gap: 0;
}

.step-list--vertical li {
  position: relative;
  padding-bottom: 20px;
}

.step-list--vertical li:last-child {
  padding-bottom: 0;
}

.step-list--vertical li+li::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid var(--color-primary);
  margin: 0 auto 16px;
}

.step-list--vertical .thmb-card--normal {
  border: 1px solid var(--color-border);
  box-shadow: none;
}


/* ============================================================
   BOX (おすすめ box)
   ============================================================ */

.box {
  border: 2px solid var(--color-border);
  padding: 24px 20px;
  margin-top: 30px;
  text-align: center;
  box-shadow: none;
}

/* Picup title — "おすすめ！" highlight */
.picup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.picup::after {
  content: 'おすすめ！';
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  font-size: 18px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 4px;
  margin-left: 4px;
}

.box .row--mtmin .row__item img {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 8px;
}

/* Check List */
.check-list {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-size: 16px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list li::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='1' width='22' height='22' rx='4' fill='%231370A8'/%3E%3Cpath d='M6 12l4 4 8-8' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.check-list li h6 {
  margin: 0;
  font-size: inherit;
}


/* ============================================================
   ACCENT TITLE (gradient underline + span emphasis)
   ============================================================ */

.accent-title {
  position: relative;
  display: inline-block;
  width: auto;
}

.section__body:has(.accent-title) {
  text-align: center;
}

.accent-title::before {
  display: none;
}

.accent-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin: 10px auto 0;
}

.accent-title span {
  color: var(--color-primary);
  font-size: 1.2em;
}

/* Highlight variant: no underline, span gets highlight bg */
.accent-title--hl::after {
  display: none;
}

.accent-title--hl span {
  font-size: 1.3em;
  background: linear-gradient(transparent 65%, rgba(169, 44, 61, 0.15) 65%);
  padding: 0 4px;
  color: inherit;
}

.price-plan__item--strong .accent-title--hl span {
  background: linear-gradient(transparent 65%, rgba(222, 96, 112, 0.15) 65%);
}


/* ============================================================
   PRICING SECTION
   ============================================================ */

/* section--plan: eliminated — padding inherited from .section */

/* IC Box (初期費用) */
/* #ic-box: bg/radius/shadow via .card in HTML */
#ic-box {
  overflow: hidden;
}

#ic-box>div:last-child {
  display: flex;
  flex-direction: column;
}

.ic-box__item {
  padding: 24px 20px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.ic-box__item:last-child {
  border-bottom: none;
}

/* Price Plan Contents */

/* Shared display-number typography */
.dl-row dd,
.voice-card__initial,
.left-icon--tel {
  font-family: var(--font-en);
  font-weight: 900;
}


/* .pp-contents__comment — eliminated, use .d-block .color-muted .mt-4 */


/* Price Plan Cards */
#price-plans {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

/* .price-plan__item: bg/radius/shadow via .card in HTML */
.price-plan__item {
  padding: 30px 20px;
  border: 2px solid var(--color-border);
}

.price-plan__item--strong {
  border-color: var(--color-secondary);
}

/* .price-plan__label — eliminated, use .d-block .center-txt .wt-700 .color-primary .mb-8 (secondary: .color-secondary) */

/* .price-plan__title — eliminated, use .accent-title--hl */

/* .price-plan__desc — eliminated, use .mb-20 */

/* .price-plan__main — eliminated, use .mb-20 */

/* .ul — eliminated (dead code, no HTML usage) */


/* ── dl-row — reusable key-value row ── */
.dl-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.dl-row dt small {
  color: var(--color-text-muted);
  font-weight: 400;
}

.dl-row dd {
  font-size: 22px;
  color: var(--color-font);
}

.dl-row--total {
  border-bottom: none;
  padding-top: 12px;
}

.dl-row--total dt {
  font-weight: 900;
}

.dl-row--total dd {
  font-size: 28px;
  color: var(--color-primary);
}

/* ── Quote Simulator ── */
/* .quote-sim — eliminated, use .card .center-txt .mt-lg + inline border/padding */
#sim-inputs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

#sim-inputs>label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}

.sim__input {
  width: 120px;
  padding: 10px 14px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-en);
  transition: border-color 0.2s;
}

.sim__input:focus {
  outline: none;
  border-color: var(--color-primary);
}

#sim-result {
  background: var(--color-bg-subtle);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

#sim-breakdown {
  margin-bottom: 20px;
}

.plus-icon {
  display: block;
  width: 52px;
  height: 52px;
  margin: 12px auto;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 4v5.5H4v5h5.5V20h5v-5.5H20v-5h-5.5V4z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 4v5.5H4v5h5.5V20h5v-5.5H20v-5h-5.5V4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* .sim__plans: layout via .flex-center-gap in HTML */
#sim-result .flex-center-gap>div {
  flex: 1;
  background: var(--color-white);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

/* .sim__plan-price — eliminated, use .h-xl .font-en on span, .wt-700 on small */
/* .sim__promo — eliminated, use .grad-text .h-lg .mt-20 */
#sim-cta {
  margin-top: 16px;
  font-size: 16px;
}




/* ============================================================
   KINOU SECTION (トラブル防止)
   ============================================================ */

/* section--kinou: eliminated → #kinou + .tint-blue */

#caution-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(transparent 60%, rgba(222, 96, 112, 0.15) 60%);
  padding: 0 4px;
}

#caution-title span::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--color-secondary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 4l7.5 13h-15L12 6zm-1 5v4h2v-4h-2zm0 5v2h2v-2h-2z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 4l7.5 13h-15L12 6zm-1 5v4h2v-4h-2zm0 5v2h2v-2h-2z'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
}

/* func-card — eliminated, reconstructed as thmb-card--normal inside step-list--plain */
#kinou .step-list li+li::before {
  display: none;
}

#kinou-title {
  line-height: 1.4;
}

#kinou-title .big {
  font-size: 1.6em;
}

#kinou-title span:last-child {
  font-size: 1.1em;
}



/* ============================================================
   HIKAKU SECTION (比較表)
   ============================================================ */

/* section--hikaku: eliminated → #hikaku */

#hikaku-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#hikaku-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

#hikaku-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 12px;
  text-align: center;
  white-space: nowrap;
}

#hikaku-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

#hikaku-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

#hikaku-corner {
  background: transparent !important;
  width: 130px;
}

#hikaku-table thead .hikaku-hl {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  font-size: 16px;
  font-weight: 900;
  font-family: var(--font-en);
}

#hikaku-table tbody th {
  background: rgba(169, 44, 61, 0.06);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  padding: 16px 14px;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid var(--color-border);
}

#hikaku-table tbody td {
  padding: 16px 12px;
  text-align: center;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

#hikaku-table tbody tr:last-child th,
#hikaku-table tbody tr:last-child td {
  border-bottom: none;
}

#hikaku-table tbody td.hikaku-hl {
  background: rgba(222, 96, 112, 0.06);
}

#hikaku-table tbody td small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

#hikaku-table tbody td.hikaku-hl small {
  color: var(--color-font);
  font-weight: 500;
}

/* Rating icons */
.hk-bad,
.hk-mid,
.hk-good,
.hk-great {
  display: inline-block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.hk-bad,
.hk-mid {
  color: var(--color-text-muted);
}

.hk-good {
  color: var(--color-primary);
}

.hk-great {
  color: var(--color-secondary);
  font-size: 22px;
}


/* ============================================================
   VOICE SECTION (お客様の声)
   ============================================================ */

/* #voice: bg + dot-color shared with #about above */

#voice-slide {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.voice-card {
  padding: 24px 20px;
}

.voice-card__initial {
  display: inline-flex;
  align-items: baseline;
  font-size: 32px;
  color: var(--color-primary);
  line-height: 1;
}

.voice-card__initial span {
  font-family: var(--font-stack);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-font);
  margin-left: 2px;
}

/* .voice-card__situation — eliminated, use .wt-700 .mt-6 .mb-12 */

/* .voice-card__label — eliminated, use .badge .mb-6 */

/* .voice-card__subject — eliminated, use .h-sm .wt-900 .mb-12 */

.voice-card__img {
  width: 60%;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0 auto 12px;
  display: block;
}

/* .voice-card__copy — eliminated, use .wt-700 .color-primary .mb-10 */



/* ============================================================
   FLOW SECTION
   ============================================================ */

/* section--flow: eliminated → #flow + .tint-blue-subtle */


/* ============================================================
   CASE SECTION (取り付けできないケース)
   ============================================================ */

/* section--case: eliminated → #case + .tint-dark */

/* Case cards */
.case-card {
  padding: 32px 28px;
  margin-bottom: 28px;
  text-align: center;
}

/* .case-card__title — eliminated, use .accent-title */

/* .case-card__desc — eliminated, use .color-muted .mb-24 */

.case-card__grid {
  display: grid;
  gap: 16px;
}

.case-card__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.case-card__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.case-card__fig {
  margin: 0;
}

.case-card__fig img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.case-card__fig figcaption {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  color: var(--color-font);
}

.case-card__fig figcaption small {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* .case-note — eliminated, use .center-txt + inline margin */

/* Case card mobile */
@media (max-width: 767px) {

  .case-card__grid--5,
  .case-card__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card {
    padding: 24px 16px;
  }

  #about-cols {
    flex-direction: column;
  }

  #about-cols>div:last-child {
    max-width: 280px;
    margin: 0 auto;
  }

  /* FV — stack vertically on mobile */
  #fv-bg>div {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 24px;
    overflow: hidden;
  }

  #fv-copy {
    container-type: normal;
  }

  #fv-img {
    order: -1;
    height: auto;
    overflow: hidden;
  }

  #fv-img img {
    display: block;
    max-width: 40%;
    margin: 0 auto;
  }

  #fv-emblem-wrap {
    display: none;
  }

  #fv-title {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 28px;
  }

  #fv-copy .h-xl {
    font-size: 16px;
  }

  #fv-chips {
    flex-wrap: wrap;
    justify-content: center;
  }

  .fv-chip {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Feature iframe responsive */
  .thmb-card__thmb iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* FV — ensure LINKEY Plus banner doesn't overlap chips */
  #fv-cv {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    align-self: flex-end;
  }

  /* FV chips need bottom spacing */
  #fv-chips {
    margin-bottom: 8px;
  }

  /* Hikaku table — enforce min-width for scroll */
  #hikaku-table {
    min-width: 640px;
  }

  /* Kinou section contain-blur — reduce aspect ratio on mobile */
  #kinou .thmb-card__thmb .contain-blur {
    aspect-ratio: 3 / 2;
  }

  /* Section padding reduction on mobile */
  .section {
    padding: 48px 0;
  }
}


/* ============================================================
   QA SECTION
   ============================================================ */

/* section--qa: eliminated → #qa + .tint-blue-subtle */

.qa {
  margin-bottom: 16px;
  overflow: hidden;
}

.qa:last-child {
  margin-bottom: 0;
}

.qa__question {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 56px 22px 22px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}

.qa__question:hover {
  background: rgba(var(--color-font-rgb), 0.02);
}

.qa__question::before {
  content: 'Q';
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.qa__question::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DE6070' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.3s ease;
}

.qa.is-open .qa__question::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DE6070' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}

.qa__answer {
  display: none;
  padding: 0 22px 22px 72px;
  color: var(--color-font);
  position: relative;
}

.qa__answer::before {
  content: 'A';
  width: 36px;
  height: 36px;
  font-size: 18px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  position: absolute;
  left: 22px;
  top: 0;
}

.qa.is-open .qa__answer {
  display: block;
}


/* ============================================================
   CONTACT SECTION
   ============================================================ */

/* section--contact: eliminated → #contact */

/* .contact-lead — eliminated, use .center-txt .color-muted .mt-12 */

/* Form tabs */
#form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
}

.form-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border: none;
  border-radius: 12px 12px 0 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--color-text-muted);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.form-tab:hover {
  background: rgba(255, 255, 255, 0.8);
}

.form-tab.is-active {
  background: var(--color-white);
  color: var(--color-font);
  box-shadow: 0 -4px 16px rgba(29, 47, 62, 0.08);
}

.form-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.form-tab__icon {
  display: block;
  width: 28px;
  height: 28px;
}

.form-tab__icon--dl {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DE6070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpath d='M14 2v6h6M12 18v-6M9 15l3 3 3-3'/%3E%3C/svg%3E") no-repeat center / contain;
}

.form-tab__icon--estimate {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DE6070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2'/%3E%3Crect x='9' y='3' width='6' height='4' rx='1'/%3E%3Cpath d='M9 14l2 2 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.form-tab__icon--mail {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DE6070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 4l-10 8L2 4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.form-tab>span:last-child {
  line-height: 1.4;
}

/* Form card */
#form-card {
  background: var(--color-white);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px -4px rgba(29, 47, 62, 0.1);
  padding: 32px 28px;
}

.form-panel {
  display: none;
}

.form-panel.is-active {
  display: block;
}

@media (max-width: 767px) {
  #form-tabs {
    gap: 4px;
  }

  .form-tab {
    padding: 12px 8px;
  }

  .form-tab__icon {
    width: 24px;
    height: 24px;
  }

  #form-card {
    padding: 24px 16px;
  }
}



/* ============================================================
   FOOTER
   ============================================================ */

#footer {
  background: var(--color-font);
  color: var(--color-white);
  padding: 40px 0;
}

#org {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#org>div {
  order: 1;
}

#org>div:last-child {
  order: 0;
}

/* .org__name — eliminated, use .h-md .color-white .mb-20 */

#org-logo {
  width: 180px;
  opacity: 0.6;
}

#org-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
}

#org-dl dt {
  font-weight: 700;
  white-space: nowrap;
}

#org-dl dd {
  color: rgba(255, 255, 255, 0.8);
}


/* ============================================================
   SLICK CAROUSEL BASE STYLES
   ============================================================ */

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.slick-track::before,
.slick-track::after {
  display: table;
  content: '';
}

.slick-track::after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir='rtl'] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

/* Slick Dots */
.slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
}

.slick-dots li {
  display: block;
}

.slick-dots li button {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background: transparent;
  font-size: 0;
  cursor: pointer;
  transition: background var(--transition);
}

.slick-dots li.slick-active button {
  background: var(--color-primary);
}

/* Slick Arrows */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-size: 0;
  transition: box-shadow var(--transition);
}

.slick-prev {
  left: -20px;
}

.slick-next {
  right: -20px;
}

.slick-prev::before,
.slick-next::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-font);
  border-right: 2px solid var(--color-font);
  margin: 0 auto;
}

.slick-prev::before {
  transform: rotate(-135deg);
  margin-left: 14px;
}

.slick-next::before {
  transform: rotate(45deg);
  margin-right: 14px;
}


/* ============================================================
   HubSpot Form Overrides
   ============================================================ */

.hs-form {
  max-width: 800px;
  margin: 0 auto;
}


.hs-form-field {
  margin-bottom: 20px;
}

.hs-form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hs-form-field label .hs-form-required {
  color: var(--color-red);
}

.hs-form-field input[type="text"],
.hs-form-field input[type="email"],
.hs-form-field input[type="tel"],
.hs-form-field input[type="number"],
.hs-form-field textarea,
.hs-form-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-stack);
  transition: border-color var(--transition);
  background: var(--color-bg-subtle);
}

.hs-form-field input:focus,
.hs-form-field textarea:focus,
.hs-form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.hs-form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.hs-submit .hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: opacity var(--transition);
  font-family: var(--font-stack);
}

.hs-submit .hs-button:hover {
  opacity: 0.85;
}


/* ============================================================
   TABLET BREAKPOINT (768px+)
   ============================================================ */

@media (min-width: 768px) {

  .sp-only {
    display: none;
  }

  .sp-none {
    display: inline;
  }

  .tab-only {
    display: inline;
  }

  /* Header */
  #header>div {
    padding: 0 20px;
  }

  #header-logo img {
    width: 180px;
  }

  .cvbtn--header {
    display: flex;
    margin-left: auto;
  }

  .cvbtn--header+.cvbtn--header {
    margin-left: 8px;
  }

  /* FV */
  #fv-bg {
    min-height: 560px;
  }

  /* Grid */
  .row__item--tablet-3 {
    width: calc(25% - 12px);
  }

  .row__item--tablet-4 {
    width: calc(33.333% - 16px);
  }



  /* Section */
  .section {
    padding: 80px 0;
  }

  .display-lg {
    font-size: 48px;
  }

  .display-md {
    font-size: 42px;
  }

  .h-xl {
    font-size: 26px;
  }

  .section__title--en::before {
    font-size: 64px;
  }

  /* Thmb Card — alternating layout */
  .thmb-card:not(.thmb-card--normal) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 30px;
  }

  .thmb-card:not(.thmb-card--normal) .thmb-card__thmb {
    grid-row: 1 / 3;
    margin-bottom: 0;
    position: relative;
    min-height: 0;
  }

  .thmb-card:not(.thmb-card--normal) .thmb-card__thmb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .thmb-card:not(.thmb-card--normal) .thmb-card__thmb .contain-blur {
    position: absolute;
    inset: 0;
  }

  .thmb-card:not(.thmb-card--normal) .thmb-card__thmb .contain-blur>img {
    position: relative;
    object-fit: contain;
  }

  .thmb-card:not(.thmb-card--normal) .thmb-card__thmb .contain-blur>img.blur-bg {
    position: absolute;
    object-fit: cover;
  }

  .thmb-card__thmb img[src*="why04"] {
    object-fit: contain;
  }

  .thmb-card:not(.thmb-card--normal) .thmb-card__title {
    grid-column: 2;
    align-self: end;
  }

  .thmb-card:not(.thmb-card--normal) .thmb-card__desc {
    grid-column: 2;
  }

  .thmb-card--reverse:not(.thmb-card--normal) .thmb-card__thmb {
    grid-column: 2;
    order: 0;
  }

  .thmb-card--reverse:not(.thmb-card--normal) .thmb-card__title {
    grid-column: 1;
    grid-row: 1;
  }

  .thmb-card--reverse:not(.thmb-card--normal) .thmb-card__desc {
    grid-column: 1;
    grid-row: 2;
  }

  /* Step list — horizontal 3 columns with subgrid */
  .step-list:not(.step-list--vertical) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto 1fr;
    gap: 0 20px;
  }

  /* 4-item step-list: 2x2 subgrid */
  #flow .step-list:not(.step-list--vertical) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto auto 1fr);
  }

  #flow .step-list:not(.step-list--vertical)>li {
    grid-row: span 3;
  }

  .step-list:not(.step-list--vertical)>li {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / -1;
  }

  .step-list:not(.step-list--vertical) li+li::before {
    display: none;
  }

  .thmb-card--normal {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }

  .cta-stack {
    flex-direction: row;
    gap: 20px;
  }

  .cv-btn {
    flex: 1;
  }



  /* IC Box */
  #ic-box>div:last-child {
    flex-direction: row;
  }

  .ic-box__item {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }

  .ic-box__item:last-child {
    border-right: none;
  }

  /* Price Plan side by side */
  #price-plans {
    flex-direction: row;
  }

  .price-plan__item {
    flex: 1;
  }

  /* Voice cards */
  #voice-slide {
    flex-direction: row;
  }

  .voice-card {
    flex: 1;
  }

  /* Vertical Step list */
  .step-list--vertical .thmb-card--normal {
    padding: 24px 30px;
  }

  /* Footer */
  .org {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  #org>div {
    order: 0 !important;
  }

  #org>div:last-child {
    order: 0 !important;
    text-align: right;
  }

  /* Section contact buttons */
  #contact .cta-stack {
    flex-direction: row;
  }

}


/* ============================================================
   DESKTOP BREAKPOINT (1200px+)
   ============================================================ */

@media (min-width: 1200px) {

  .pc-only {
    display: inline;
  }

  .tab-only {
    display: none;
  }

  /* Header — full nav visible */
  #header>div {
    height: 80px;
    padding: 0 24px;
    max-width: 1400px;
  }

  #header-logo img {
    width: 212px;
  }

  #gnav {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  #menu-btn {
    display: none;
  }

  .cvbtn--header {
    display: none;
  }

  /* Hero */
  #fv {
    padding-top: 80px;
  }

  #fv-bg {
    min-height: 700px;
  }

  #fv-logo {
    width: auto;
    height: 1em;
    display: inline;
    vertical-align: baseline;
  }


  /* Section */
  .section {
    padding: 100px 0;
  }

  .display-lg {
    font-size: 56px;
  }

  .display-md {
    font-size: 50px;
  }

  .h-xl {
    font-size: 30px;
  }

  .section__title--en::before {
    font-size: 80px;
    margin-bottom: -16px;
  }

  .h-lg {
    font-size: 22px;
  }

  .number-title::before {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  /* Thmb Card */
  .thmb-card:not(.thmb-card--normal) {
    gap: 0 40px;
  }

  /* Step list */
  .step-list:not(.step-list--vertical) {
    gap: 30px;
  }

  .step-list:not(.step-list--vertical) li+li::before {
    left: -22px;
  }

  /* Pricing */

  /* Contact title */


  /* Voice — slick slider on desktop */
  #voice-slide.slick-initialized {
    display: block;
  }

  #voice-slide.slick-initialized .slick-list {
    padding: 10px 0;
    margin: -10px 0;
  }

  #voice-slide.slick-initialized .voice-card {
    margin: 0 10px;
  }

  /* Footer */
  .footer {
    padding: 60px 0;
  }
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Focus styles */
:focus:not(:focus-visible) {
  outline: none;
}

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


/* ============================================================
   PLACEHOLDER — missing image fallback
   ============================================================ */

img.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D7D9DD;
  color: #8A8D93;
  font-size: 12px;
  font-family: monospace;
  text-align: center;
  object-fit: none;
  min-height: 120px;
  border-radius: 4px;
}


/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {

  #header,
  #fv-cv,
  .cta-stack,
  .cv-btn,
  #menu-btn,
  #loader {
    display: none !important;
  }

  #fv {
    padding-top: 0;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}


/* ============================================================
   Free plan CTA
   ============================================================ */
#fv-bg {
  min-height: 800px;
}

#fv-bg .h-md {
  margin: -45px 0 30px;
}

#fv-bg .ns-cta {
  margin-top: 30px;
  text-align: center;
}

.ns-cta-head {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.04em;
}

.ns-cta-text {
  font-size: 18px;
  line-height: 2;
}

.ns-cta-btn {
  display: inline-block;
  padding: 16px 80px;
  background: var(--color-font);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--color-white);
  border-radius: var(--radius-btn);
}

@media (max-width: 767px) {
  #fv-bg {
    padding-bottom: 30px;
  }

  #fv-bg .h-md {
    margin: 0 0 30px;
  }

  .ns-cta-head {
    font-size: 20px;
  }

  .ns-cta-text {
    font-size: 16px;
  }

  .ns-cta-btn {
    width: 100%;
    font-size: 18px;
  }
}