/* ============================================================
   BASE ONE — Apple-inspired Light & Stylish LP
   Color palette derived from the logo:
     Navy (primary):   #1b2d4f
     Accent gradient:  logo's rainbow dash (green→yellow→orange→red→purple→blue)
     Primary accent:   #2563eb (blue from logo)
     Background:       #ffffff, #f5f5f7 (Apple-style light gray)
     Text:             #1d1d1f, #6e6e73
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
body {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1d1d1f;
  background: #ffffff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }
input, select, textarea { font: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.pc-only { display: none; }
.sp-only { display: inline; }
@media (min-width: 768px) {
  .pc-only { display: inline; }
  .sp-only { display: none; }
}

/* ---------- Scroll Animation ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
}
.header-logo { display: flex; align-items: center; }
.brand-logo { height: 28px; width: auto; }
.header-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.header-nav a:hover { color: #2563eb; }
.header-cta-btn {
  display: inline-flex !important;
  align-items: center;
  padding: 8px 20px;
  border-radius: 3px;
  background: #1b2d4f;
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.header-cta-btn:hover {
  background: #2563eb;
  transform: scale(1.02);
}

/* ---- hamburger ---- */
.menu-trigger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
}
.menu-trigger span {
  display: block;
  height: 1.5px;
  background: #1d1d1f;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-trigger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-trigger.is-active span:nth-child(2) { opacity: 0; }
.menu-trigger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- drawer ---- */
.drawer-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%; height: 100vh;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 999;
}
.drawer-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.drawer-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.drawer-nav a:hover { color: #2563eb; }
.drawer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 998;
  display: none;
}

@media (min-width: 900px) {
  .header-nav { display: flex; }
  .menu-trigger { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  /* モバイルでは画面いっぱいにせず、コンパクトに収める */
  height: 72vh;
  height: 72svh;
  min-height: 420px;
  max-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  #hero {
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    max-height: none;
  }
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.50) 0%,
    rgba(255, 255, 255, 0.72) 35%,
    rgba(255, 255, 255, 0.88) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}
.hero-title {
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-size: clamp(1.875rem, 5vw, 3.375rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: #16253f;
  margin-bottom: 20px;
}
.hero-line { display: block; }
.hero-subtitle {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  color: #3a3a3c;
  font-weight: 400;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .hero-subtitle { margin-bottom: 40px; }
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, #1b2d4f, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}
.scroll-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6e6e73;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 3px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn--primary {
  background: #1b2d4f;
  color: #fff;
}
.btn--primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}
.btn--outline {
  background: transparent;
  color: #1b2d4f;
  border: 1.5px solid #1b2d4f;
}
.btn--outline:hover {
  background: #1b2d4f;
  color: #fff;
  transform: translateY(-1px);
}
.btn--xl { padding: 16px 48px; font-size: 1rem; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 96px 0;
}
.section--gray { background: #f6f3ee; }
.section--navy {
  background: #1b2d4f;
  color: #fff;
}

.section-title {
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3.4vw, 2.375rem);
  font-weight: 600;
  text-align: left;
  line-height: 1.55;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  color: #16253f;
}
/* 見出しの上に引く細い罫 */
.section-title::before {
  content: '';
  display: block;
  width: 34px;
  height: 1px;
  background: #16253f;
  margin-bottom: 22px;
}
.section-title--light { color: #fff; }

.section-lead {
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  color: #6b6b70;
  text-align: left;
  max-width: 640px;
  margin: 0 0 56px;
  line-height: 2.05;
}
.section-lead--light { color: rgba(255, 255, 255, 0.7); }

@media (min-width: 768px) {
  .section { padding: 128px 0; }
}

/* ============================================================
   CONCEPT
   ============================================================ */
.container--narrow {
  max-width: 800px;
}
.strengths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.strength-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  border: 1px solid #e7e2da;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.strength-card:hover { border-color: #16253f; }
.strength-card__num {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #16253f;
  opacity: 0.28;
  line-height: 1;
  margin-bottom: 14px;
}
.strength-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #1b2d4f;
}
.strength-card__text {
  font-size: 0.9375rem;
  color: #6e6e73;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .strengths-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .strength-card { padding: 40px 28px; }
}

/* ============================================================
   CUSTOMIZE (SLIDER)
   ============================================================ */
.style-slider-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
@media (min-width: 900px) {
  .style-slider-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.style-slider-column {
  display: flex;
  flex-direction: column;
}
.style-column-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1b2d4f;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.02em;
}
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f6f3ee;
}
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}
.slider-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  color: #1b2d4f;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s, opacity 0.2s, transform 0.15s;
  opacity: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.slider-container:hover .slider-arrow {
  opacity: 1;
}
.slider-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.4);
  padding: 4px 10px;
  border-radius: 980px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.slider-dot.active {
  background: #1b2d4f;
  transform: scale(1.2);
}

/* ---- options ---- */
.options-preview {
  text-align: center;
}
.options-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1b2d4f;
  margin-bottom: 20px;
}
.options-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.option-tag {
  padding: 8px 18px;
  border-radius: 3px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: #f6f3ee;
  color: #3a3a3c;
  transition: background 0.2s, color 0.2s;
}
.option-tag:hover {
  background: #1b2d4f;
  color: #fff;
}

/* ============================================================
   FOR BUSINESS
   ============================================================ */
/* ============================================================
   FLOW
   ============================================================ */
/* 縦線と点はやめ、区切り線だけのシンプルな並びにしている。
   番号は本文の左肩に置き、視線を横に動かさずに読めるようにした。 */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0;
  padding-left: 0;
}
.flow-step {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 0;
  border-top: 1px solid #e7e2da;
}
.flow-step:first-child { border-top: 0; padding-top: 8px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step__num {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #9a958c;
  margin-bottom: 8px;
}
.flow-step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1b2d4f;
  margin-bottom: 6px;
}
.flow-step__text {
  font-size: 0.9375rem;
  color: #6e6e73;
  line-height: 1.7;
}
.flow-step__connector { display: none; }

/* ============================================================
   CASE STUDY
   ============================================================ */
.case-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e7e2da;
  max-width: 900px;
  margin: 0 auto;
}
.case-card__img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  max-height: 400px;
}
.case-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card__body {
  padding: 32px 24px 36px;
}
.case-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #2563eb;
  background: #eef2ff;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.case-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1b2d4f;
  margin-bottom: 12px;
}
.case-card__text {
  font-size: 0.9375rem;
  color: #6e6e73;
  line-height: 1.8;
  margin-bottom: 16px;
}
.case-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.case-card__specs span {
  padding: 4px 14px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  color: #3a3a3c;
}

@media (min-width: 768px) {
  .case-card { grid-template-columns: 2fr 3fr; }
  .case-card__img-wrap { aspect-ratio: auto; max-height: none; }
  .case-card__body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
}

/* ============================================================
   CONTACT FORMS
   ============================================================ */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 6px;
}
.required {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #ef4444;
  padding: 2px 6px;
  background: #fef2f2;
  border-radius: 4px;
  margin-left: 4px;
}
.optional {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6e6e73;
  padding: 2px 6px;
  background: #f6f3ee;
  border-radius: 4px;
  margin-left: 4px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #1d1d1f;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.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='%236e6e73' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-error {
  display: none;
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 4px;
}
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #ef4444;
}

/* checkbox */
.form-group--checkbox { margin-top: 8px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.checkbox-custom {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: #2563eb;
  border-color: #2563eb;
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 3px; left: 6px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

/* phone block */
.contact-phone-block {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
.phone-label {
  font-size: 0.8125rem;
  color: #6e6e73;
  margin-bottom: 4px;
}
.phone-number {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1b2d4f;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.phone-hours {
  font-size: 0.8125rem;
  color: #6e6e73;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #1b2d4f;
  color: #fff;
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
/* baselogo-white.png が白一色で書き出し済みなので、
   CSSで反転させない。反転させると元画像に残った背景が
   白いモヤになって出てしまう。 */
.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-company-name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-address,
.footer-tel,
.footer-hours {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.footer-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}
.footer-copyright {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  font-family: 'Inter', sans-serif;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SUCCESS MESSAGE (form submission feedback)
   ============================================================ */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.form-success__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1b2d4f;
  margin-bottom: 8px;
}
.form-success__text {
  font-size: 0.9375rem;
  color: #6e6e73;
  line-height: 1.7;
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
@media (max-width: 899px) {
  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.06);
    padding: 8px 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  .mobile-sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background 0.2s;
  }
  .mobile-sticky-cta .cta-contact {
    background: #1b2d4f;
    color: #fff;
    margin-right: 6px;
  }
  .mobile-sticky-cta .cta-phone {
    background: #f6f3ee;
    color: #1b2d4f;
  }
}
@media (min-width: 900px) {
  .mobile-sticky-cta { display: none; }
}

/* ============================================================
   RAINBOW GRADIENT DIVIDER (from logo)
   ============================================================ */
.rainbow-divider {
  height: 3px;
  background: linear-gradient(90deg, #4ade80, #a3e635, #fbbf24, #f97316, #ef4444, #a855f7, #3b82f6, #2563eb);
  border: none;
}

/* ============================================================
   ADDITIONAL STYLES (MODAL / INTEGRATED FORM)
   ============================================================ */

/* Play icon in button */
.play-icon {
  margin-right: 6px;
  font-size: 0.75rem;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.video-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}
.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  z-index: 2;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.video-modal.is-active .video-modal__content {
  transform: scale(1);
}
.video-modal__video-wrap {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  background: #000;
}
.video-modal__video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
}
.video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.video-modal__close:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

/* Radio Group styling */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
@media (min-width: 480px) {
  .radio-group {
    flex-direction: row;
    gap: 24px;
  }
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #3a3a3c;
  user-select: none;
}
.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.radio-custom {
  width: 20px;
  height: 20px;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
  background: #fff;
}
.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: #2563eb;
}
.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2563eb;
}

/* Business Fields Transition */
.business-fields {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease, margin-bottom 0.35s ease;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}
.business-fields.is-active {
  max-height: 400px;
  opacity: 1;
  margin-bottom: 20px;
}


/* ============================================================
   SIMULATION（スマホでかんたんシミュレーション）
   ============================================================ */
.sim-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sim-phone-col { flex-shrink: 0; }

.phone-mockup {
  position: relative;
  width: 220px;
  height: 393px;
  background: #1b2d4f;
  border: 8px solid #1b2d4f;
  border-radius: 34px;
  box-shadow: 0 24px 48px -18px rgba(27, 45, 79, 0.45), 0 0 0 1.5px rgba(27, 45, 79, 0.15);
  overflow: hidden;
}
.phone-speaker {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 3px;
  background: #3a4a6b;
  border-radius: 2px;
  z-index: 10;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-iframe {
  width: 360px;
  height: 664px;
  border: none;
  display: block;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
  transform: scale(0.5667);
  transform-origin: center center;
}

.sim-text-col { width: 100%; max-width: 520px; }

.sim-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sim-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.sim-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1b2d4f;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.sim-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1b2d4f;
  line-height: 1.6;
  margin-bottom: 2px;
}
.sim-step__text {
  font-size: 0.875rem;
  color: #6e6e73;
  line-height: 1.8;
}

.sim-note {
  margin-top: 24px;
  font-size: 0.75rem;
  color: #86868b;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .sim-layout {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 64px;
  }
  .phone-mockup {
    width: 268px;
    height: 478px;
    border-width: 10px;
    border-radius: 40px;
  }
  .phone-speaker { top: 6px; width: 50px; height: 4px; }
  .phone-screen { border-radius: 30px; }
  .phone-iframe { transform: scale(0.6889); }
}

/* ============================================================
   CONCEPT — キャッチと2枚のカード
   ============================================================ */
.concept-catch {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b6b70;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.concept-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 56px;
}
.concept-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 10px;
  overflow: hidden;
}
.concept-card__body {
  padding: 32px 24px;
}
.concept-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1b2d4f;
  line-height: 1.5;
  margin-bottom: 12px;
}
.concept-card__text {
  font-size: 0.9375rem;
  color: #6e6e73;
  line-height: 1.9;
}
.concept-card__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.concept-card__list li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #16253f;
  border: 1px solid #e7e2da;
  padding: 8px 10px;
  text-align: center;
}
.concept-card__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  transition: opacity 0.2s;
}
.concept-card__link:hover { opacity: 0.7; }
.concept-card__media {
  order: -1;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.concept-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .concept-cards { gap: 32px; }
  .concept-card {
    flex-direction: row;
    align-items: stretch;
  }
  .concept-card__body {
    flex: 1 1 50%;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .concept-card__media {
    order: 0;
    flex: 1 1 50%;
    aspect-ratio: auto;
  }
  .concept-card--reverse { flex-direction: row-reverse; }
  .concept-card__list { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   STYLE TICKER — デザインスタイル例（自動スクロール）
   ============================================================ */
.style-ticker-wrap {
  margin-top: 64px;
}
.style-ticker-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #6b6b70;
  margin-bottom: 22px;
}
.style-ticker-title::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
}
.style-ticker {
  position: relative;
  overflow: hidden;
  /* コンテナ幅を超えて画面いっぱいに流す */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.style-ticker__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: style-ticker-scroll 60s linear infinite;
}
.style-ticker:hover .style-ticker__track { animation-play-state: paused; }
@keyframes style-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.style-ticker__item {
  width: 200px;
  flex-shrink: 0;
}
.style-ticker__img-wrap {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #f6f3ee;
}
.style-ticker__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.style-ticker__item:hover .style-ticker__img { transform: scale(1.06); }
.style-ticker__name {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3a3a3c;
  text-align: center;
}
.style-ticker-note {
  margin-top: 24px;
  font-size: 0.75rem;
  color: #8a8a8f;
  text-align: left;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .style-ticker__track { gap: 24px; }
  .style-ticker__item { width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .style-ticker__track { animation: none; }
  .style-ticker { overflow-x: auto; }
}

/* ============================================================
   CUSTOM OPTIONS — カスタムできる内容
   ============================================================ */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.option-item {
  background: #fff;
  border-radius: 8px;
  padding: 16px 18px;
  border: 1px solid #e7e2da;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}
.option-item:hover { border-color: #16253f; }
.option-item__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.option-item__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1b2d4f;
  line-height: 1.5;
}
.option-item__desc {
  font-size: 0.8125rem;
  color: #6e6e73;
  line-height: 1.75;
}
.options-note {
  margin-top: 24px;
  font-size: 0.75rem;
  color: #8a8a8f;
  text-align: left;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .options-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1000px) {
  .options-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   MONEY PLAN — 3つの安心マネープラン
   ============================================================ */
.money-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.money-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px 32px;
  border: 1px solid #e7e2da;
}
.money-card__num {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: #16253f;
  opacity: 0.25;
  margin-bottom: 14px;
}
.money-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #1b2d4f;
  line-height: 1.6;
  margin-bottom: 10px;
}
.money-card__text {
  font-size: 0.9375rem;
  color: #6e6e73;
  line-height: 1.9;
}
.money-card__small {
  font-size: 0.75rem;
  color: #86868b;
  margin-left: 2px;
}
.money-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2563eb;
  transition: opacity 0.2s;
}
.money-card__link:hover { opacity: 0.7; }
@media (min-width: 900px) {
  .money-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ============================================================
   FLOW — 注記
   ============================================================ */
.flow-note {
  max-width: 680px;
  margin: 32px 0 0;
  font-size: 0.75rem;
  color: #86868b;
  line-height: 1.9;
}

/* ============================================================
   CONTACT — 追加項目
   ============================================================ */
.form-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: #ef4444;
  font-weight: 600;
}
.visit-fields {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease, margin-bottom 0.35s ease;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}
.visit-fields.is-active {
  max-height: 400px;
  opacity: 1;
  margin-bottom: 20px;
}

/* ============================================================
   FOOTER — 会社情報の追加
   ============================================================ */
.footer-company-role {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}
.footer-company-info + .footer-company-info { margin-top: 20px; }
.footer-license {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-main {
  padding: 120px 0 96px;
}
.privacy-title {
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #1b2d4f;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 48px;
}
.privacy-content h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #1b2d4f;
  line-height: 1.7;
  margin: 40px 0 12px;
}
.privacy-content h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1b2d4f;
  margin-bottom: 8px;
}
.privacy-content p {
  font-size: 0.9375rem;
  color: #3a3a3c;
  line-height: 2;
  margin-bottom: 12px;
}
.privacy-content ol {
  list-style: decimal;
  padding-left: 1.4em;
  margin-bottom: 16px;
}
.privacy-content ol li {
  font-size: 0.9375rem;
  color: #3a3a3c;
  line-height: 2;
}
.privacy-contact-block {
  margin-top: 40px;
  padding: 28px 24px;
  background: #f6f3ee;
  border-radius: 8px;
}
.privacy-contact-block .company-name {
  font-weight: 700;
  color: #1b2d4f;
  margin-bottom: 4px;
}
.privacy-back {
  margin-top: 56px;
  text-align: center;
}

/* ============================================================
   CONCEPT — 「ベース ＋ 自由 ＝ BASE ONE」の図解
   ============================================================ */
.concept-formula {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.formula-item {
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 10px;
  padding: 24px 22px;
  flex: 1;
}
.formula-item--result {
  background: #1b2d4f;
  border-color: #1b2d4f;
}
.formula-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #6b6b70;
  margin-bottom: 14px;
}
.formula-label::before {
  content: '';
  width: 14px;
  height: 1px;
  background: currentColor;
}
.formula-label--light {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.16em;
}
.formula-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #1b2d4f;
  line-height: 1.6;
  margin-bottom: 8px;
}
.formula-title--light { color: #fff; }
.formula-text {
  font-size: 0.875rem;
  color: #6e6e73;
  line-height: 1.9;
}
.formula-text--light { color: rgba(255, 255, 255, 0.72); }
.formula-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #b6afa3;
  padding: 12px 0;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .concept-formula {
    flex-direction: row;
    align-items: stretch;
  }
  .formula-item { padding: 32px 28px; }
  .formula-sign { padding: 0 14px; font-size: 1.5rem; }
}

/* ============================================================
   CUSTOM OPTIONS — 折りたたみ表示
   ============================================================ */
.options-grid.is-collapsed .option-item:nth-child(n + 7) {
  display: none;
}
.options-more {
  margin-top: 24px;
  text-align: center;
}
.options-toggle {
  gap: 6px;
  font-size: 0.875rem;
}
.options-toggle__count {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.7;
}
.options-toggle__icon {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
  margin-left: 2px;
}
.options-toggle[aria-expanded="true"] .options-toggle__icon {
  transform: translateY(1px) rotate(-135deg);
}

/* ============================================================
   MOBILE COMPACT — スマホでの縦スクロールを短くする調整
   （2列化できるところは2列に、余白と画像比率を詰める）
   ============================================================ */
@media (max-width: 767px) {

  /* セクション共通の余白を圧縮 */
  .section { padding: 64px 0; }
  .section-title { margin-bottom: 12px; }
  .section-lead { margin-bottom: 36px; }

  /* --- 強み: 2列（3枚目は横いっぱい） --- */
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .strength-card { padding: 20px 16px; border-radius: 8px; }
  .strength-card__num { margin-bottom: 8px; }
  .strength-card__title { font-size: 1rem; margin-bottom: 8px; }
  .strength-card__text { font-size: 0.8125rem; line-height: 1.75; }
  .strength-card:last-child { grid-column: 1 / -1; }

  /* --- コンセプト: 図解と2枚のカードを圧縮 --- */
  .concept-formula { gap: 0; }
  .formula-item { padding: 18px 16px; border-radius: 8px; }
  .formula-label { margin-bottom: 8px; }
  .formula-title { font-size: 1rem; margin-bottom: 6px; }
  .formula-text { font-size: 0.8125rem; line-height: 1.75; }
  .formula-sign { padding: 6px 0; font-size: 1.125rem; }

  .concept-cards { gap: 16px; margin-top: 40px; }
  .concept-card__media { aspect-ratio: 5 / 2; }
  .concept-card__body { padding: 20px 18px; }
  .concept-card__title { font-size: 1.125rem; margin-bottom: 8px; }
  .concept-card__text { font-size: 0.875rem; line-height: 1.8; }
  .concept-card__list { gap: 6px; margin-top: 14px; }
  .concept-card__list li { font-size: 0.75rem; padding: 6px 4px; }
  .concept-card__link { margin-top: 14px; }

  /* --- 選べるスタイル: スライダーを2列（3つ目は横いっぱい） --- */
  .style-slider-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
  }
  .style-slider-column:last-child { grid-column: 1 / -1; }
  .style-column-title { font-size: 0.9375rem; margin-bottom: 8px; }
  .slider-container { border-radius: 8px; }
  /* 2列で幅が狭くなるぶん、ドットと矢印を小さく */
  .slider-dots { bottom: 8px; gap: 3px; padding: 3px 7px; }
  .slider-dot { width: 4px; height: 4px; }
  .slider-arrow { width: 28px; height: 28px; font-size: 0.75rem; }
  .style-slider-column:last-child .slider-dots { gap: 5px; padding: 4px 10px; }
  .style-slider-column:last-child .slider-dot { width: 6px; height: 6px; }
  .style-ticker-wrap { margin-top: 40px; }

  /* --- カスタムできる内容: 2列 --- */
  .options-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .option-item { padding: 14px 12px; border-radius: 8px; }
  .option-item__head { gap: 6px; margin-bottom: 4px; }
  .option-item__name { font-size: 0.875rem; }
  .option-item__desc { font-size: 0.75rem; line-height: 1.7; }

  /* --- シミュレーション: ステップを詰める --- */
  .sim-layout { gap: 28px; }
  .sim-steps { gap: 16px; }
  .sim-step__num { width: 30px; height: 30px; font-size: 0.75rem; }
  .sim-step__title { font-size: 0.9375rem; }
  .sim-step__text { font-size: 0.8125rem; line-height: 1.75; }

  /* --- マネープラン: 余白を圧縮 --- */
  .money-grid { gap: 12px; }
  .money-card { padding: 22px 18px; border-radius: 8px; }
  .money-card__num { font-size: 1.5rem; margin-bottom: 8px; }
  .money-card__title { font-size: 1rem; margin-bottom: 8px; }
  .money-card__text { font-size: 0.8125rem; line-height: 1.8; }
  .money-card__link { margin-top: 12px; }

  /* --- 家づくりの流れ: カードと連結線を詰める --- */
  .flow-steps { padding-left: 22px; }
  .flow-steps::before { left: 3px; }
  .flow-step { padding: 0 0 24px; }
  .flow-step::before { left: -22px; width: 7px; height: 7px; }
  .flow-step__num {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 0.625rem;
  }
  .flow-step__title { font-size: 1rem; margin-bottom: 4px; }
  .flow-step__text { font-size: 0.8125rem; line-height: 1.75; }
  .flow-note { margin-top: 20px; }

  /* --- 施工事例: 縦長画像を横長に --- */
  .case-card__img-wrap { aspect-ratio: 16 / 10; max-height: none; }
  .case-card__body { padding: 22px 18px; }

  /* --- お問い合わせ: 入力欄の間隔を詰める --- */
  .form-group { margin-bottom: 14px; }
  .form-row { gap: 10px; }
  .form-textarea { height: 104px; }
}

/* ============================================================
   TYPOGRAPHY — カード見出しの明朝体
   ============================================================ */
.concept-card__title,
.formula-title,
.strength-card__title,
.money-card__title,
.flow-step__title,
.case-card__title,
.privacy-title {
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}


/* ============================================================
   ポップ調の配色・形（2026年9月 採用）
   ============================================================
   もとは style-pop.css として比較用に作っていたものを本体に統合した。
   ここより前の記述を上書きする形で効いているので、この塊は
   ファイル末尾に置いたままにすること。
   ・配色 … ネイビー基調 → 明るいブルー＋オレンジの差し色
   ・角丸 … 3〜10px → 20px
   ・見出し … 明朝体 → 丸ゴシック（Zen Maru Gothic）
   ・影   … ほぼ無し → やわらかく色のついた影
   ============================================================ */

:root {
  --pop-blue: #2f6bff;
  --pop-blue-dark: #1d4fd8;
  --pop-blue-soft: #eaf1ff;
  --pop-orange: #ff7a2f;
  --pop-orange-soft: #fff0e6;
  --pop-ink: #17234a;
  --pop-cream: #fff9f3;
  --pop-shadow: 0 10px 26px rgba(47, 107, 255, 0.12);
  --pop-shadow-lg: 0 18px 38px rgba(47, 107, 255, 0.18);
}

/* ============ 文字まわり ============ */

body {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  color: var(--pop-ink);
  background: var(--pop-cream);
}

/* 明朝体の見出しを、丸みのあるゴシックに置き換える */
h1, h2, h3, h4,
.section-title,
.hero-line,
.concept-card__title,
.strength-card__title,
.money-card__title,
.flow-step__title,
.sim-step__title,
.style-column-title,
.formula-title,
.option-item__name {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

/* 見出し左の細い罫線を、太くて丸いバーにする */
.section-title::before {
  height: 7px !important;
  width: 36px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--pop-blue), var(--pop-orange)) !important;
}

.section-lead { color: #55608a; }

/* ============ 背景の色 ============ */

.section--gray {
  background: var(--pop-blue-soft) !important;
}

/* ============ ボタン ============ */

.btn {
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
  /* スマホでは小さめに。PCでは下の指定で元の大きさに戻す */
  padding: 11px 22px;
  font-size: 0.875rem;
}

.btn--xl {
  padding: 12px 26px;
  font-size: 0.9375rem;
}

/* スマホのヒーローは、ボタンを横に2つ並べて縦の長さを抑える */
.hero-actions { gap: 8px; }
.hero-actions .btn { flex: 0 1 auto; }

@media (min-width: 768px) {
  .btn { padding: 14px 32px; font-size: 0.9375rem; }
  .btn--xl { padding: 16px 48px; font-size: 1rem; }
  .hero-actions { gap: 12px; }
}

.btn--primary {
  background: linear-gradient(135deg, var(--pop-orange) 0%, #ff5e2f 100%) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(255, 94, 47, 0.34) !important;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 94, 47, 0.42) !important;
}

.btn--outline {
  background: #fff !important;
  border: 2px solid var(--pop-blue) !important;
  color: var(--pop-blue) !important;
}

.btn--outline:hover {
  background: var(--pop-blue) !important;
  color: #fff !important;
}

/* 画面下に固定されている問い合わせバー */
.sp-cta,
.sp-cta a,
.floating-cta,
.floating-cta a {
  border-radius: 999px !important;
}

/* ============ カード ============ */

.concept-card,
.strength-card,
.money-card,
.sim-step,
.option-item,
.style-slider-column,
.slider-container,
.style-ticker__img-wrap {
  border-radius: 20px !important;
  border: 0 !important;
  background: #fff;
  box-shadow: var(--pop-shadow) !important;
  overflow: hidden;
}

.concept-card:hover,
.strength-card:hover,
.money-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pop-shadow-lg) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.concept-card__media img,
.style-ticker__img,
.slider-slide img {
  border-radius: 0 !important;
}

/* ============ 番号 ============ */

/* 数字は文字そのものに色をつける（背景を敷くと帯になってしまうため） */
.strength-card__num,
.money-card__num {
  font-family: 'Zen Maru Gothic', sans-serif !important;
  font-weight: 900 !important;
  font-size: 2rem !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, var(--pop-blue), var(--pop-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

/* もともと丸い形をしているものだけ、塗りつぶした丸にする */
.sim-step__num {
  background: linear-gradient(135deg, var(--pop-blue), var(--pop-blue-dark)) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 14px rgba(47, 107, 255, 0.3) !important;
}

/* 家づくりの流れは、区切り線だけのシンプルな並びのままにする */
.flow-step {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border-top: 1px solid #ece6dd !important;
}
.flow-step:first-child { border-top: 0 !important; }

.flow-step__num {
  background: none !important;
  color: var(--pop-orange) !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ============ 画面下の固定バー ============ */

.cta-contact {
  background: linear-gradient(135deg, var(--pop-orange) 0%, #ff5e2f 100%) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

.cta-phone {
  background: #fff !important;
  color: var(--pop-blue) !important;
  font-weight: 800 !important;
}

.mobile-sticky-cta {
  box-shadow: 0 -6px 20px rgba(23, 35, 74, 0.1) !important;
}

/* ============ 入力欄 ============ */

.form-input,
.form-select,
textarea.form-input {
  border-radius: 14px !important;
  border: 2px solid #e3e9f7 !important;
  background: #fff !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--pop-blue) !important;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12) !important;
  outline: none !important;
}

.radio-custom { border-radius: 999px !important; }
.required {
  background: var(--pop-orange) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 0 !important;
}

/* ============ 計算式の囲み ============ */

.formula-item {
  border-radius: 18px !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: var(--pop-shadow) !important;
}

.formula-sign { color: var(--pop-orange) !important; }

/* 結論のカードは、白背景にせず色を敷いたまま白文字を保つ */
.formula-item--result {
  background: linear-gradient(135deg, var(--pop-blue) 0%, #5b8cff 100%) !important;
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.28) !important;
}

.formula-title--light,
.formula-label--light,
.formula-item--result .formula-text {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* ============ 流れの線 ============ */

.flow-step__connector {
  background: linear-gradient(180deg, var(--pop-blue-soft), var(--pop-orange-soft)) !important;
}
