/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ===== 変数 ===== */
:root {
  --color-main:    #1d3461;
  --color-accent:  #e8633a;
  --color-bg:      #f8f7f4;
  --color-text:    #2c2c2c;
  --color-light:   #ffffff;
  --color-border:  #e2ddd8;
  --font-base:    'Noto Sans JP', sans-serif;
  --font-display: 'Poppins', sans-serif;
  --inner-width: 1000px;
  --radius: 8px;
}

/* ===== リセット・ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-base); color: var(--color-text); background: var(--color-bg); line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== スクロールプログレスバー ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #f5a06e);
  z-index: 1001;
  width: 0%;
  transition: width 0.05s linear;
}

/* ===== レイアウト ===== */
.inner { width: 90%; max-width: var(--inner-width); margin: 0 auto; }
section { padding: 80px 0; }

/* ===== 共通：セクションタイトル ===== */
.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-main);
}
.section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--color-accent);
  margin: 10px auto 0;
}
.section-note {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 40px;
}

/* ===== 共通：CTAボタン ===== */
.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-accent);
  color: var(--color-light);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cta-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3s infinite 1s;
}
@keyframes shimmer {
  0%   { left: -80%; }
  100% { left: 160%; }
}
.cta-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 99, 58, 0.35);
}
.cta-btn--light {
  background: var(--color-light);
  color: var(--color-accent);
}
.cta-btn--light::after {
  background: linear-gradient(90deg, transparent, rgba(232,99,58,0.15), transparent);
}
.cta-btn--light:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  padding: 16px 0;
  transition: box-shadow 0.3s;
}
.site-header .inner { display: flex; justify-content: space-between; align-items: center; }
.logo a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--color-main);
  letter-spacing: 0.03em;
}
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-list a { font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-list a:hover { color: var(--color-accent); }
.nav-cta {
  background: var(--color-accent);
  color: var(--color-light) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-cta:hover { opacity: 0.85; color: var(--color-light) !important; }
.nav-toggle { display: none; }

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(135deg, #0d1f3c 0%, #1d3461 55%, #243d72 100%);
  color: var(--color-light);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

/* ドットグリッドテクスチャ */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  z-index: 0;
}
.hero-orb--1 {
  width: 480px; height: 480px;
  top: -140px; right: -60px;
  background: rgba(232, 99, 58, 0.2);
  animation: floatA 8s ease-in-out infinite;
}
.hero-orb--2 {
  width: 380px; height: 380px;
  bottom: -100px; left: -60px;
  background: rgba(80, 120, 220, 0.13);
  animation: floatB 11s ease-in-out infinite;
}
.hero-orb--3 {
  width: 260px; height: 260px;
  top: 50%; left: 40%;
  background: rgba(232, 99, 58, 0.08);
  animation: floatA 14s ease-in-out infinite reverse;
}
@keyframes floatA {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-28px) scale(1.04); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(6deg); }
}

.hero-inner { position: relative; z-index: 1; }

/* 2カラムレイアウト */
.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text { flex: 1; min-width: 0; }

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  border: 1px solid rgba(232, 99, 58, 0.55);
  background: rgba(232, 99, 58, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-title-accent {
  color: var(--color-accent);
  font-family: var(--font-display);
  display: inline-block;
}
.hero-sub {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 36px;
  line-height: 1.9;
  min-height: 3.8em;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.76rem;
  opacity: 0.62;
  letter-spacing: 0.02em;
}

/* ===== ヒーロー：ビジュアル（右カラム） ===== */
.hero-visual {
  flex-shrink: 0;
  width: 380px;
  position: relative;
}

/* ブラウザ風モックアップ */
.hero-mockup {
  background: rgba(13, 20, 40, 0.6);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 32px 64px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transform: perspective(900px) rotateY(-10deg) rotateX(4deg);
  transition: transform 0.4s ease;
}
.hero-mockup:hover {
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
}
.mockup-bar {
  background: rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }
.mockup-url {
  margin-left: 10px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.hero-mockup img { width: 100%; display: block; }

/* フローティングバッジ */
.hero-badge {
  position: absolute;
  right: -20px;
  top: 24px;
  background: var(--color-accent);
  color: white;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 8px 24px rgba(232,99,58,0.45);
  animation: floatA 4s ease-in-out infinite;
  white-space: nowrap;
}
.hero-badge--bottom {
  top: auto;
  bottom: 24px;
  right: -16px;
  background: var(--color-main);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: floatA 5s ease-in-out infinite reverse;
}
.badge-icon { font-size: 0.85rem; }

/* ===== ティッカー ===== */
.hero-ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.22);
  border-top: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  padding: 9px 0;
  z-index: 2;
}
.hero-ticker {
  display: flex;
  gap: 0;
  animation: ticker 22s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.hero-ticker span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  padding: 0 28px;
}
.hero-ticker span::before {
  content: '✦';
  margin-right: 12px;
  color: var(--color-accent);
  opacity: 0.8;
  font-size: 0.55rem;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== プロフィール ===== */
.about { background: var(--color-light); }
.about-content { display: flex; align-items: flex-start; gap: 48px; max-width: 800px; margin: 40px auto 0; }
.about-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(29,52,97,0.1), 0 0 0 8px rgba(29,52,97,0.05);
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-name { font-size: 1.3rem; font-weight: 700; color: var(--color-main); margin-bottom: 12px; }
.about-desc { font-size: 0.95rem; line-height: 2; color: #555; margin-bottom: 20px; }
.about-links { display: flex; gap: 12px; }
.about-link {
  display: inline-block;
  padding: 6px 18px;
  border: 2px solid var(--color-main);
  color: var(--color-main);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.about-link:hover { background: var(--color-main); color: var(--color-light); }

/* ===== 制作実績 ===== */
.works { background: var(--color-bg); }
.works-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.works-item {
  display: flex;
  flex-direction: column;
  background: var(--color-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.works-item:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}
.works-thumb {
  position: relative;
  width: 100%;
  padding-top: 62%;
  overflow: hidden;
  background: #e8e4df;
}
.works-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.works-item:hover .works-thumb img { transform: scale(1.06); }
.works-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 60, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.works-item:hover .works-overlay { opacity: 1; }
.works-overlay-btn {
  color: white;
  border: 2px solid rgba(255,255,255,0.75);
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.85rem;
  transform: translateY(10px);
  transition: transform 0.3s, background 0.2s;
  letter-spacing: 0.04em;
}
.works-item:hover .works-overlay-btn { transform: translateY(0); }
.works-overlay-btn:hover { background: rgba(255,255,255,0.15); }
.works-info { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.works-tag {
  display: inline-block;
  background: rgba(232,99,58,0.1);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  align-self: flex-start;
  border: 1px solid rgba(232,99,58,0.25);
}
.works-title { font-size: 1rem; font-weight: 700; color: var(--color-main); margin-bottom: 8px; }
.works-desc { font-size: 0.85rem; color: #666; line-height: 1.7; margin-bottom: 14px; flex: 1; }
.works-link { font-size: 0.85rem; font-weight: 700; color: var(--color-accent); transition: opacity 0.2s; align-self: flex-start; }
.works-link:hover { opacity: 0.7; }

/* ===== サービス ===== */
.service { background: var(--color-light); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 50px; }
.service-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}
.service-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
}
.flow-list { display: flex; flex-direction: column; gap: 16px; }
.flow-item { display: flex; align-items: flex-start; gap: 16px; }
.flow-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--color-accent);
  color: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}
.flow-body { flex: 1; }
.flow-body strong { display: block; font-weight: 700; font-size: 0.95rem; }
.flow-body span { font-size: 0.85rem; color: #666; }
.flow-period { margin-top: 20px; font-size: 0.9rem; color: #555; }
.flow-period strong { color: var(--color-accent); }

/* ===== 料金 ===== */
.price { background: var(--color-bg); }
.price-cards { display: flex; gap: 24px; justify-content: center; margin-top: 48px; }
.price-card {
  background: var(--color-light);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 40px 36px;
  text-align: center;
  width: 280px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.price-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.09); transform: translateY(-4px); }
.price-card.is-recommended {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(232,99,58,0.03) 0%, var(--color-light) 100%);
}
.price-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}
.price-plan { font-size: 1rem; font-weight: 700; color: var(--color-main); margin-bottom: 12px; }
.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-main);
  margin-bottom: 24px;
}
.price-amount span { font-size: 1.2rem; }
.price-features { margin-bottom: 28px; }
.price-features li { font-size: 0.9rem; padding: 8px 0; border-bottom: 1px solid var(--color-border); color: #555; }
.price-note { text-align: center; font-size: 0.85rem; color: #888; margin-top: 24px; }

/* ===== CTAバナー ===== */
.cta-section {
  background: linear-gradient(135deg, #0d1f3c 0%, #1d3461 100%);
  color: var(--color-light);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 350px; height: 350px;
  background: rgba(232,99,58,0.1);
  border-radius: 50%;
  filter: blur(50px);
}
.cta-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; position: relative; }
.cta-sub { font-size: 0.95rem; opacity: 0.8; margin-bottom: 32px; position: relative; }

/* ===== お問い合わせ ===== */
.contact { background: var(--color-bg); }
.contact-lead { text-align: center; margin-bottom: 40px; color: #666; }
.contact-options { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 200px;
  padding: 36px 20px;
  background: var(--color-light);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contact-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(232,99,58,0.12);
  transform: translateY(-4px);
}
.contact-icon { font-size: 2rem; line-height: 1; color: var(--color-main); }
.contact-label { font-size: 0.9rem; font-weight: 700; color: var(--color-main); }
.contact-handle { font-size: 0.78rem; color: #888; }

/* ===== フッター ===== */
.site-footer {
  background: #0d1f3c;
  color: var(--color-light);
  text-align: center;
  padding: 32px 0;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.footer-copy { font-size: 0.8rem; opacity: 0.6; }

/* ===== スクロールアニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ===== スマホ対応（768px以下） ===== */
@media (max-width: 768px) {
  section { padding: 60px 0; }

  .hero { padding: 72px 0 80px; }
  .hero-content { flex-direction: column; gap: 40px; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat-num { font-size: 1.6rem; }

  .hero-visual { width: 100%; max-width: 300px; margin: 0 auto; }
  .hero-mockup { transform: none; }
  .hero-mockup:hover { transform: none; }
  .hero-badge { right: -8px; top: 16px; }
  .hero-badge--bottom { right: -8px; bottom: 16px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-main);
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--color-light);
    padding: 80px 0 24px;
    align-items: center;
    justify-content: center;
    z-index: 100;
  }
  .nav-list.is-open { display: flex; }
  .nav-list li { width: 100%; text-align: center; }
  .nav-list a { display: block; padding: 16px 20px; font-size: 1.1rem; }
  .nav-cta { background: none; color: var(--color-accent) !important; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about-content { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
  .about-links { justify-content: center; }

  .works-list { grid-template-columns: 1fr; }
  .works-thumb { padding-top: 56%; }

  .service-grid { grid-template-columns: 1fr; gap: 40px; }

  .price-cards { flex-direction: column; align-items: center; }

  .contact-options { flex-direction: column; align-items: center; }
  .contact-card { width: 100%; max-width: 320px; }

  .section-title { font-size: 1.4rem; }
  .cta-title { font-size: 1.3rem; }
}

/* ===== モニター価格バナー ===== */
.price-monitor {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(232,99,58,0.06), rgba(232,99,58,0.12));
  border: 2px solid rgba(232,99,58,0.35);
  border-radius: 12px;
  padding: 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.price-monitor-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
}
.price-monitor-text strong { color: var(--color-accent); }

/* ===== フローティングCTA ===== */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}
.float-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-cta .cta-btn {
  box-shadow: 0 8px 28px rgba(232,99,58,0.45);
  font-size: 0.9rem;
  padding: 13px 28px;
}

@media (max-width: 768px) {
  .float-cta { bottom: 16px; right: 16px; }
  .price-monitor { padding: 20px 16px; }
}

/* ===== ページヒーロー（contact.html用） ===== */
.page-hero {
  background: linear-gradient(135deg, #0d1f3c 0%, #1d3461 100%);
  color: var(--color-light);
  text-align: center;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.page-hero-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: 12px;
  position: relative;
}
.page-hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
}
.page-hero-sub {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.9;
  position: relative;
}

/* ===== フォームセクション ===== */
.contact-form-section { background: var(--color-bg); }

.contact-form-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: flex-start;
}

.contact-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 6px;
}
.contact-form-note {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 32px;
}

.contact-form-wrap {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px 44px;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-required {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-light);
  background: var(--color-accent);
  padding: 2px 8px;
  border-radius: 20px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-main);
  box-shadow: 0 0 0 3px rgba(29,52,97,0.08);
}
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-btn { align-self: flex-start; padding: 14px 48px; font-size: 1rem; }

.form-success { display: none; text-align: center; padding: 60px 20px; }
.form-success-icon {
  width: 56px; height: 56px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
}
.form-success-title { font-size: 1.3rem; font-weight: 700; color: var(--color-main); margin-bottom: 10px; }
.form-success-text { font-size: 0.9rem; color: #666; line-height: 1.8; }

.contact-side { display: flex; flex-direction: column; }
.contact-options--vertical { flex-direction: column; align-items: stretch; }
.contact-options--vertical .contact-card { width: 100%; flex-direction: row; justify-content: flex-start; padding: 20px 24px; gap: 16px; }
.contact-options--vertical .contact-icon { font-size: 1.4rem; }

.contact-info-box {
  margin-top: 28px;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-info-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}
.contact-faq dt { font-size: 0.85rem; font-weight: 700; color: var(--color-main); margin-bottom: 4px; }
.contact-faq dd { font-size: 0.82rem; color: #666; margin-bottom: 16px; line-height: 1.7; }
.contact-faq dd:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .page-hero-title { font-size: 1.8rem; }
  .contact-form-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-options--vertical .contact-card { flex-direction: column; align-items: center; padding: 24px 16px; }
}
