/* ==========================================================================
   株式会社ファイブ生コン LP
   Breakpoints: PC 1024px〜 / タブレット 768〜1023px / スマホ 〜767px
   ========================================================================== */

:root {
  --color-navy: #124481;
  --color-navy-dark: #0b2340;
  --color-blue: #1f6fb2;
  --color-orange: #e8622c;
  --color-orange-dark: #cf4f1e;
  --color-bg-light: #f3f6f9;
  --color-bg-white: #ffffff;
  --color-text: #2c333a;
  --color-text-light: #6b7580;
  --color-border: #e1e6ec;
  --max-width: 1120px;
  --radius: 10px;
  --shadow-card: 0 4px 16px rgba(18, 68, 129, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.only-mobile {
  display: none;
}
@media (max-width: 767px) {
  .only-mobile {
    display: block;
  }
}

/* ==========================================================================
   パララックスバナー
   ========================================================================== */

.parallax-banner {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background-color: var(--color-bg-light);
}
.parallax-banner-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -80%;
  height: 260%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}
.parallax-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgb(0 44 100), rgb(0 106 220 / 60%));
}
.parallax-banner::before,
.parallax-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0px;
  z-index: 2;
  background: linear-gradient(90deg, #ffd166, var(--color-orange), #ffd166);
}
.parallax-banner::before {
  top: 0;
}
.parallax-banner::after {
  bottom: 0;
}
.parallax-banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.parallax-banner-content::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle, rgba(0, 15, 40, 0.35), transparent 68%);
  z-index: -1;
}
.parallax-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #ffd166;
}
.parallax-kicker::before,
.parallax-kicker::after {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffd166, var(--color-orange));
}
.parallax-caption {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.6;
  text-shadow: 0 4px 18px rgba(0, 10, 30, 0.55);
}
@media (min-width: 768px) {
  .parallax-banner {
    height: 460px;
  }
  .parallax-caption {
    font-size: 30px;
  }
}
@media (min-width: 1024px) {
  .parallax-banner {
    height: 560px;
  }
  .parallax-caption {
    font-size: 36px;
  }
}
.parallax-sitework {
  background-image: url("../images/parallax-sitework.jpg");
}
.parallax-flow {
  background-image: url("../images/parallax-flow.jpg");
}
@media (prefers-reduced-motion: reduce) {
  .parallax-banner-bg {
    transform: none !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* スクロール表示アニメーション */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.grid .reveal:nth-child(5) { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section {
  padding: 60px 0;
  position: relative;
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--color-orange);
}
.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-orange-dark));
}
.section-kicker-light {
  color: #ffd166;
}
.section-kicker-light::before,
.section-kicker-light::after {
  background: linear-gradient(90deg, #ffd166, #ffb703);
}

.section-title {
  position: relative;
  text-align: center;
  font-size: 23px;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 44px;
  padding-bottom: 22px;
  line-height: 1.6;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-blue));
}
.section-title-light {
  color: #fff;
}

.section-note {
  text-align: center;
  margin-top: 28px;
  color: var(--color-text-light);
}

/* 写真画像共通（split-media, area-map, hero-bg） */
.split-media,
.area-map {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-bg-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 68, 129, 0.22);
}
.btn:hover::before {
  left: 130%;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.btn-orange {
  background: var(--color-orange);
  color: #fff;
}
.btn-white-outline {
  background: #fff;
  color: var(--color-navy);
}
.btn-skyblue {
  background: #1698d1;
  color: #fff;
}
.btn-large {
  padding: 16px 40px;
  font-size: 16px;
  width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 767px) {
  .header-right {
    gap: 8px;
  }
}

.header-tel {
  text-align: right;
  display: none;
  line-height: 1.2;
}
.header-tel a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #144a92;
  font-weight: 700;
}
.header-tel .tel-number {
  font-size: 32px;
}
.header-tel svg {
  width: 34px;
  height: 34px;
  fill: #144a92;
}
.header-tel small {
  display: block;
  margin-top: 2px;
  color: #000000;
  font-size: 14px;
}

.header-cta {
  padding: 10px 14px;
  margin-top: 4px;
  font-size: 13px;
}

.header-cta-tel {
  background: #144a92;
  color: #fff;
  padding: 10px 14px;
}
.header-cta-tel svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-navy-dark);
}
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  margin-left: 0;
  margin-right: auto;
  max-width: 800px;
  padding-top: 50px;
  padding-bottom: 70px;
  padding-left: 6%;
  color: var(--color-navy-dark);
}
.hero-eyebrow {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
  color: var(--color-navy);
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 32px rgba(255, 255, 255, 0.8);
}
.hero-title {
  position: relative;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 14px;
  color: var(--color-navy-dark);
}
.hero-title-main {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 14px #fff, 0 0 28px #fff, 0 0 44px rgba(255, 255, 255, 0.8);
}
.hero-title-accent {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: -0.03em;
  font-size: 1.8em;
  line-height: 1.1;
  background: linear-gradient(180deg, #096ab1, #00356e 60%, #001c3a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px #fff) drop-shadow(0 0 28px #fff) drop-shadow(0 0 44px rgba(255, 255, 255, 0.8));
}
.hero-title-small {
  font-size: 0.7em;
  vertical-align: 0.05em;
}
.hero-title-strong {
  display: inline-block;
  margin-top: -0.08em;
  font-size: 1.25em;
}
.hero-chip {
  display: inline-block;
  background: none;
  color: #154992;
  font-weight: 700;
  font-size: 28px;
  padding: 4px 0;
  border-top: 2px solid #154992;
  border-bottom: 2px solid #154992;
  margin: 0;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 32px rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Intro
   ========================================================================== */

.intro {
  position: relative;
  text-align: center;
  padding: 60px 0 50px;
  background: #144a92;
  overflow: hidden;
}
.intro-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 2px, transparent 2px, transparent 26px);
  pointer-events: none;
}
.intro .container {
  position: relative;
}
.intro h2 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 10px;
}
.intro p {
  color: #cfe0ee;
  margin: 0;
}
.price-table-btn {
  margin-top: 24px;
  padding: 18px 36px;
  font-size: 18px;
}
.price-table-btn svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Grid / Cards
   ========================================================================== */

.grid {
  display: grid;
  gap: 16px;
}

/* 特徴 4項目・選ばれる理由 4項目: mobile 2列 / tablet 2列 / PC 4列 */
.grid-features,
.grid-reasons {
  grid-template-columns: repeat(2, 1fr);
}

/* こんな現場に対応 5項目: mobile 2列 / tablet 3列 / PC 5列 */
.grid-sites {
  grid-template-columns: repeat(2, 1fr);
}

/* 納品までの流れ 4項目: mobile 1列 / tablet 2列 / PC 4列 */
.grid-flow {
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 32px 18px 26px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(18, 68, 129, 0.18);
}
.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: linear-gradient(150deg, #eaf2fa, #d7e6f5);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9), 0 10px 22px rgba(18, 68, 129, 0.12);
  color: var(--color-blue);
  margin-bottom: 16px;
  transition: transform 0.35s ease;
}
.card:hover .card-icon {
  transform: scale(1.06) rotate(-3deg);
}
.card-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.card-icon img.icon-wide {
  width: 200px;
  max-width: 200px;
  height: 100px;
}

.card-title {
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  font-size: 15px;
}
.card-desc {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.features-section,
.site-types-section,
.flow-section {
  background: var(--color-bg-light);
}

.features-section .card-icon {
  background: linear-gradient(150deg, #eaf2fa, #d7e6f5);
}

.reasons-section {
  position: relative;
  background: #144a92;
  overflow: hidden;
}
.reasons-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(-45deg, #fff 0, #fff 2px, transparent 2px, transparent 26px);
  pointer-events: none;
}
.reasons-section .container {
  position: relative;
}
.reasons-section .card-icon {
  background: linear-gradient(150deg, #1f6fb2, #0b2340);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.15), 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* 流れステップ */
.flow-step {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 30px 16px 22px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.flow-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(18, 68, 129, 0.18);
}
.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--color-blue), var(--color-navy));
  box-shadow: 0 8px 18px rgba(18, 68, 129, 0.35);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  position: absolute;
  top: -23px;
  left: 50%;
  transform: translateX(-50%);
}
.flow-step .card-icon {
  margin-top: 10px;
  background: linear-gradient(150deg, #eaf2fa, #d7e6f5);
}
.grid-flow-line {
  position: relative;
}
@media (min-width: 1024px) {
  .grid-flow-line::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--color-border) 0, var(--color-border) 8px, transparent 8px, transparent 16px);
    z-index: 0;
  }
}

/* ==========================================================================
   Split sections (image + text)
   ========================================================================== */

.split-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
.split-media-frame {
  position: relative;
}
.split-media-frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-navy), var(--color-blue));
  opacity: 0.85;
  z-index: 0;
}
.split-media-frame .split-media {
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(18, 68, 129, 0.2);
  transition: transform 0.5s ease;
}
.split-media-frame:hover .split-media {
  transform: scale(1.02);
}
.split-reverse .split-media-frame::before {
  left: -14px;
  right: 14px;
}
.split-text .section-kicker {
  justify-content: flex-start;
}
.split-text .section-kicker::after {
  display: none;
}
.split-text h2 {
  color: var(--color-navy);
  font-size: 22px;
  margin: 0 0 16px;
  line-height: 1.6;
}
.split-text p {
  color: var(--color-text-light);
  margin: 0;
}

.check-list {
  margin-top: 20px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--color-navy);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-blue);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ==========================================================================
   対応エリア
   ========================================================================== */

.area-section {
  background: none;
  overflow: hidden;
}
.area-map-frame {
  position: relative;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(160deg, #eaf2fa, #fff);
  box-shadow: var(--shadow-card);
}
.area-map-frame::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: radial-gradient(circle, rgba(31, 111, 178, 0.15), transparent 70%);
}
.area-map {
  min-height: 280px;
  border-radius: 12px;
}

/* ==========================================================================
   理念
   ========================================================================== */

.section.philosophy-section {
  background: radial-gradient(circle at 50% 0%, #eaf2fa, var(--color-bg-light) 60%);
  padding: 100px 0 80px;
}

.philosophy-box {
  position: relative;
  background: #ffffff;
  border: 1px solid #124481;
  color: var(--color-navy);
  border-radius: 16px;
  padding: 48px 24px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(18, 68, 129, 0.12);
}
.philosophy-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--color-navy), var(--color-blue));
  box-shadow: 0 8px 20px rgba(18, 68, 129, 0.3);
  color: #fff;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 19px;
  margin: 0;
}
.philosophy-box p {
  position: relative;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: 17px;
}

/* ==========================================================================
   CTA
   ========================================================================== */

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  background: #144a92;
  color: #cfe0ee;
  padding: 0 0 20px;
  overflow: hidden;
}
.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 2px, transparent 2px, transparent 26px);
  pointer-events: none;
}
.site-footer > .container {
  position: relative;
}
.footer-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-cta-tel {
  text-align: center;
  line-height: 1.2;
}
.footer-cta-tel a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}
.footer-cta-tel .tel-number {
  font-size: 28px;
}
.footer-cta-tel svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.footer-cta-tel small {
  display: block;
  margin-top: 4px;
  color: #cfe0ee;
  font-size: 13px;
  font-weight: 700;
}
.footer-cta-order,
.footer-cta-price {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 30px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  justify-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
}
.footer-logo-img {
  height: 44px;
  width: auto;
}
.footer-info p {
  margin: 0 0 8px;
  font-size: 14px;
}
.footer-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer-mail svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}
.footer-contact p.footer-hours {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
  margin: 0 0 10px;
}
.footer-contact p {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.footer-label {
  display: inline-block;
  min-width: 38px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.75;
}
.footer-legal-links {
  text-align: center;
  font-size: 12px;
  margin: 20px 0 0;
}
.footer-legal-links a {
  color: #cfe0ee;
  text-decoration: underline;
}
.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: #8ea3ba;
  margin: 8px 0 0;
}



/* ==========================================================================
   パンくずリスト
   ========================================================================== */

.breadcrumb {
  background: #f5f6f8;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.6;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  color: var(--color-text-light);
}

.breadcrumb li + li::before {
  content: ">";
  display: inline-block;
  margin: 0 10px;
  color: #a0a8b0;
}

.breadcrumb a {
  color: var(--color-navy);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .breadcrumb {
    padding: 8px 0;
    font-size: 12px;
  }

  .breadcrumb li + li::before {
    margin: 0 7px;
  }
}

/* ==========================================================================
   注文フォームページ
   ========================================================================== */

.page-header {
  background: #144a92;
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-header-eyebrow {
  letter-spacing: 0.1em;
  color: #ffd166;
  font-size: 13px;
  margin: 0 0 8px;
}
.page-header h1 {
  font-size: 28px;
  margin: 0 0 12px;
}
.page-header p {
  color: #cfe0ee;
  margin: 0;
  font-size: 14px;
}

.form-section {
  background: var(--color-bg-light);
}
.form-container {
  max-width: 720px;
}
.form-note {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 30px;
  font-size: 14px;
}
.form-note a {
  color: var(--color-orange);
  font-weight: 700;
}

.order-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
}

.form-row {
  margin-bottom: 22px;
}
.form-row label {
  display: block;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-size: 14px;
}
.required {
  display: inline-block;
  background: var(--color-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row input[type="date"],
.form-row input[type="time"],
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}
.form-row textarea {
  resize: vertical;
}

.form-row-half {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.form-row-checkbox {
  background: var(--color-bg-light);
  padding: 14px 16px;
  border-radius: 6px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  margin: 0;
}
.checkbox-label input {
  margin-top: 3px;
}

.error-message {
  color: #d1373f;
  font-size: 12px;
  margin: 6px 0 0;
  display: none;
}
.error-message.is-visible {
  display: block;
}
.form-row.has-error input,
.form-row.has-error textarea {
  border-color: #d1373f;
}

.form-submit {
  margin-top: 30px;
}

.form-error {
  margin-top: 20px;
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c2be;
  border-radius: 6px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
}

/* ==========================================================================
   タブレット 768px〜1023px
   ========================================================================== */

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 28px;
  }

  .header-cta {
    padding: 18px 28px;
  }

  .header-tel {
    display: block;
  }
  .header-cta-tel {
    display: none;
  }

  .hero {
    min-height: 480px;
  }
  .hero-eyebrow {
    font-size: 19px;
  }
  .hero-title {
    font-size: 72px;
  }
  .hero-chip {
    font-size: 32px;
  }

  .grid-sites {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-flow {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .split-inner {
    grid-template-columns: 1fr 1fr;
  }
  .split-media {
    min-height: 280px;
  }

  .form-row-half {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta-inner {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    padding: 30px 0;
  }
  .footer-cta-tel {
    text-align: center;
  }
  .footer-cta-tel a {
    justify-content: center;
  }
  .footer-cta-tel .tel-number {
    font-size: 40px;
  }
  .footer-cta-tel svg {
    width: 34px;
    height: 34px;
  }
  .footer-cta-tel small {
    font-size: 14px;
  }
  .footer-cta-order,
  .footer-cta-price {
    padding: 20px 36px;
    font-size: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }
  .footer-info,
  .footer-contact {
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* ==========================================================================
   PC 1024px〜
   ========================================================================== */

@media (min-width: 1024px) {
  .hero-eyebrow {
    font-size: 21px;
  }
  .hero-title {
    font-size: 90px;
  }
  .hero-chip {
    font-size: 36px;
  }


  .grid-features,
  .grid-reasons {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-sites {
    grid-template-columns: repeat(5, 1fr);
  }

  .grid-flow {
    grid-template-columns: repeat(4, 1fr);
  }

  .split-reverse .split-media-frame {
    order: 2;
  }
  .split-reverse .split-text {
    order: 1;
  }

  .philosophy-box {
    padding: 50px 60px;
  }
}

/* ==========================================================================
   極小画面（480px以下でヘッダーCTA調整）
   ========================================================================== */

@media (max-width: 767px) {
  .header-cta span.header-cta-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 40px;
  }
}

/* ==========================================================================
   価格表ポップアップ
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 35, 64, 0.6);
}
.modal-overlay[hidden] {
  display: none;
}
.modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #144a92;
  color: #fff;
}
.modal-header h2 {
  margin: 0;
  font-size: 18px;
}
.modal-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.modal-tabs {
  display: flex;
  flex-shrink: 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-light);
  overflow-x: auto;
}
.modal-tab {
  flex: 1;
  padding: 14px 12px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-light);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.modal-tab.is-active {
  color: var(--color-navy);
  border-bottom-color: var(--color-orange);
}
.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
}
.modal-panel {
  display: none;
}
.modal-panel.is-active {
  display: block;
}
.modal-panel-title {
  font-size: 16px;
  color: var(--color-navy);
  margin: 28px 0 12px;
}
.modal-panel-title:first-child {
  margin-top: 0;
}
.price-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin: 0 0 10px;
}
.price-note-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.price-note-list li {
  font-size: 12px;
  color: var(--color-text-light);
  margin: 0 0 4px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
.price-table th,
.price-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
}
.price-table th:last-child,
.price-table td:last-child {
  border-right: none;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}
.price-table thead th {
  background: var(--color-bg-light);
  color: var(--color-navy);
  font-weight: 700;
}
.price-table-list td:first-child {
  text-align: left;
  white-space: normal;
}
.price-table-list td:last-child {
  font-weight: 700;
  color: var(--color-navy);
}
.price-table-test td:first-child {
  text-align: left;
  white-space: normal;
}
.price-table-test td:nth-child(2) {
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .modal-header h2 {
    font-size: 15px;
  }
  .modal-tab {
    font-size: 12px;
    padding: 12px 8px;
  }
  .modal-body {
    padding: 16px;
  }
  .price-table {
    font-size: 12px;
  }
  .price-table th,
  .price-table td {
    padding: 8px 10px;
  }
}
