/* ============================================================
   logic.css — Refined BtoB Tech Spec (2026 Complete)
============================================================ */
:root {
  --white-pure: #ffffff;
  --white-warm: #ffffff;
  --white-cool: #f5f6f8;
  --white-mid: #eaecf0;
  --white-border: rgba(55, 65, 81, 0.08);
  --white-border-strong: rgba(55, 65, 81, 0.14);

  --silver-bright: #d4d8e0;
  --silver-mid: #b0b6c2;
  --silver-muted: rgba(176, 182, 194, 0.4);

  --ice-bright: #00d4ff;
  --ice-mid: #00b8e0;
  --ice-dark: #003366;
  --ice-muted: rgba(0, 212, 255, 0.15);
  --ice-glow: rgba(0, 212, 255, 0.08);

  --text-primary: #1c2030;
  --text-secondary: rgba(28, 32, 48, 0.65);
  --text-muted: rgba(28, 32, 48, 0.38);

  --font-display: "Cormorant Garamond", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--white-warm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--white-border);
  transition: background 0.4s ease;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
}
.nav-logo span {
  background: linear-gradient(
    135deg,
    var(--ice-bright) 0%,
    var(--ice-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-logo-icon {
  width: 28px;
  height: 28px;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a.active {
  color: var(--ice-mid);
  font-weight: 400;
}
.nav-cta {
  border: 1px solid var(--white-border-strong) !important;
  color: var(--text-primary) !important;
  padding: 8px 22px;
  border-radius: 20px;
  transition: all 0.3s ease !important;
}
.nav-cta:hover {
  border-color: var(--ice-mid) !important;
  color: var(--ice-mid) !important;
  background: var(--ice-glow);
}

/* ── HERO（余白とボタン配置の最適化） ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 32px 180px; /* 下部余白を拡張しボタンとScrollの衝突をガード */
  background: var(--white-warm);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--white-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
}
.light-beam {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.light-beam-1 {
  width: 500px;
  height: 300px;
  top: -80px;
  right: -60px;
  background: radial-gradient(
    ellipse,
    rgba(0, 212, 255, 0.08) 0%,
    transparent 70%
  );
}
.light-beam-2 {
  width: 400px;
  height: 400px;
  bottom: 0;
  left: -80px;
  background: radial-gradient(
    ellipse,
    rgba(212, 216, 224, 0.15) 0%,
    transparent 70%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-bottom: 48px;
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.eyebrow-text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--ice-mid);
  text-transform: uppercase;
}
.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--silver-muted);
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.title-ja {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.3;
  color: var(--text-primary);
}
.title-en {
  font-family: var(--font-display);
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 3px;
  color: var(--text-muted);
}
.hero-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.hero-brand-copy {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.hero-brand-copy-ja {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* 🌟 洗練されたヒーローCTAボタン */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1c2030 0%, #003366 100%);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 16px 44px;
  border-radius: 40px;
  box-shadow: 0 10px 25px rgba(0, 51, 102, 0.15);
  transition: all 0.3s var(--ease-out-expo);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 212, 255, 0.25);
  background: linear-gradient(135deg, #003366 0%, #00a8e8 100%);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}
.hero-scroll-hint span {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--silver-mid), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── CONCEPT ── */
.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--ice-mid);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.concept {
  padding: 120px 0;
  border-top: 1px solid var(--white-border);
  background: var(--white-pure);
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.concept-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
  margin-top: 8px;
}
.concept-title em {
  font-style: italic;
  color: var(--ice-mid);
}
.concept-right p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 20px;
}
.concept-right .concept-en {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.9;
  letter-spacing: 0.5px;
}
.concept-divider {
  width: 40px;
  height: 1px;
  background: var(--silver-muted);
  margin: 28px 0;
}
.intro-signature-tag {
  display: block;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--white-border);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  opacity: 0.8;
}

/* ── PILLARS ── */
.pillars {
  padding: 120px 0;
  background: var(--white-cool);
  border-top: 1px solid var(--white-border);
  border-bottom: 1px solid var(--white-border);
}
.pillars-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 60px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--white-border-strong);
}
.pillar-card {
  background: var(--white-pure);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.pillar-card::before {
  content: attr(data-num);
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 300;
  color: rgba(28, 32, 48, 0.04);
  line-height: 1;
  pointer-events: none;
}
.pillar-card:hover {
  background: #ffffff;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ice-glow);
  border: 1px solid var(--ice-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-mid);
  margin-bottom: 20px;
}
.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.5;
}
.pillar-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 2;
}

/* ── PRICING（大幅刷新・洗練カードUI） ── */
.pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--white-pure);
  border: 1px solid var(--white-border-strong);
  border-radius: 12px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s var(--ease-out-expo);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.pricing-card-featured {
  border: 2px solid var(--ice-mid);
}
.featured-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--ice-mid);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 12px;
}
.plan-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ice-mid);
  text-transform: uppercase;
  font-weight: 600;
}
.plan-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin: 12px 0 8px;
  color: var(--text-primary);
}
.plan-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}
.plan-price {
  font-size: 32px;
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-bottom: 24px;
  font-weight: 400;
}
.plan-price .tax {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2.2;
  flex: 1;
}

/* 🌟 プラン内ボタン（ダサさを払拭） */
.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  border-radius: 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
  text-align: center;
}
.btn-plan-standard {
  background: var(--white-cool);
  border: 1px solid var(--white-border-strong);
  color: var(--text-primary);
}
.btn-plan-standard:hover {
  background: var(--ice-mid);
  border-color: var(--ice-mid);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 184, 224, 0.25);
}
.btn-plan-featured {
  background: linear-gradient(135deg, #003366 0%, #00a8e8 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.2);
}
.btn-plan-featured:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(0, 168, 232, 0.35);
}

/* ── PROCESS ── */
.process {
  padding: 120px 0;
  background: var(--white-pure);
  border-top: 1px solid var(--white-border);
}
.process-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 64px;
}
.process-steps {
  display: flex;
  flex-direction: column;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--white-border);
}
.process-step:first-child {
  border-top: 1px solid var(--white-border);
}
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--ice-muted);
  line-height: 1;
  padding-top: 4px;
}
.step-body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.step-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
  max-width: 640px;
}

/* ── QUOTE ── */
.quote-section {
  padding: 100px 0;
  background: #1c2030;
  text-align: center;
}
.quote-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 32px;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.6;
  color: var(--ice-muted);
  margin-bottom: 32px;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}
.quote-sub {
  display: block;
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
  margin-top: 10px;
}
.quote-rule {
  width: 40px;
  height: 1px;
  background: var(--ice-muted);
  margin: 28px auto;
}
.quote-attr {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ice-bright);
  opacity: 0.8;
}

/* ── CONTACT ── */
.contact {
  padding: 120px 0;
  background: var(--white-warm);
  border-top: 1px solid var(--white-border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.contact-left p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 32px;
}
/* 🌟 Logic専用：左側カプセル型カードバッジ */
.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.contact-badges span {
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  background: var(--ice-glow); /* ほんのりアイスブルー背景 */
  border: 1px solid rgba(0, 184, 224, 0.25); /* アイスブルーの繊細な枠線 */
  padding: 6px 12px;
  border-radius: 14px; /* カプセル形状 */
}
.contact-badges a {
  color: var(--ice-mid); /* 「必須」タグと同じアイスブルー */
  font-weight: bold;
  text-decoration: underline;
}
.logic-form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.form-row label {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ★ 「必須」バッジ：背景 var(--ice-muted) / 文字色 var(--ice-mid) */
.req {
  font-size: 10px;
  background: var(--ice-muted);
  color: var(--ice-mid);
  padding: 2px 6px;
  border-radius: 2px;
}
.logic-form-stack input,
.logic-form-stack select,
.logic-form-stack textarea {
  background: var(--white-warm);
  border: 1px solid var(--white-border-strong);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  transition: all 0.2s var(--ease-out-expo);
  outline: none;
  width: 100%;
}
.logic-form-stack input:focus,
.logic-form-stack select:focus,
.logic-form-stack textarea:focus {
  border-color: var(--ice-mid);
  box-shadow: 0 0 0 3px var(--ice-glow);
  background: var(--white-pure);
}

/* 🌟 Logic専用：プライバシーポリシー注記カード ＆ 「必須」バッジ色（var(--ice-mid)）統一 */
.form-notice-box {
  margin-bottom: 8px;
  padding: 14px 18px;
  background: var(--ice-glow); /* ほんのりアイスブルーの透過背景 */
  border: 1px solid rgba(0, 184, 224, 0.25); /* アイスブルーの繊細な枠線 */
  border-radius: 8px; /* カード形状 */
  text-align: center;
  font-size: 13px;
  color: var(--text-primary);
}

.form-notice-box p:first-of-type {
  margin-bottom: 4px;
}

.form-notice-box p:last-of-type {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ★ プライバシーポリシーのリンク色を「必須」タグの文字色 (var(--ice-mid)) に完全統一 */
.form-notice-box a {
  color: var(--ice-mid);
  font-weight: bold;
  text-decoration: underline;
}

/* 🌟 フォーム送信ボタン（洗練されたハイエンド仕様） */
.btn-submit-tech {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1c2030 0%, #003366 100%);
  color: #ffffff;
  border: none;
  padding: 18px 32px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  margin-top: 12px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.15);
}
.btn-submit-tech:hover {
  background: linear-gradient(135deg, #003366 0%, #00a8e8 100%);
  box-shadow: 0 12px 25px rgba(0, 212, 255, 0.25);
}
.submit-arrow {
  transition: transform 0.3s ease;
}
.btn-submit-tech:hover .submit-arrow {
  transform: translateX(6px);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--white-border);
  padding: 48px 0;
  background: #1c2030;
  color: #ffffff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
}
.footer-logo span {
  background: linear-gradient(135deg, var(--ice-bright) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--ice-bright);
}
.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── ANIMATIONS & RESPONSIVE ── */
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ANIMATIONS & RESPONSIVE ── */
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 140px;
  }

  /* 🌟 コンセプトセクションの1列縦積み化 ＆ 余白調整 */
  .concept {
    padding: 60px 0 !important;
  }
  .concept-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .concept-title {
    font-size: clamp(26px, 6vw, 36px) !important;
  }
  .concept-divider {
    margin: 20px 0 !important;
  }

  /* 🌟 「3つの理由」カードの1列縦積み化 */
  .pillars-grid {
    grid-template-columns: 1fr !important;
  }
  .pillar-card {
    padding: 32px 24px !important;
  }

  .pricing-card-grid {
    grid-template-columns: 1fr;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nav-links li:not(:last-child) {
    display: none;
  }
  .container {
    padding: 0 20px;
  }
}

/* ──────────────────────────────────────────────────────────────
   🖼️ ロゴ画像のサイズ固定・ハレーション防止スタイル
────────────────────────────────────────────────────────────── */

/* ヘッダー全体の高さと配置を固定 */
.nav {
  height: 60px;
  box-sizing: border-box;
}

/* 左側の現在地ロゴ＋テキスト */
.nav-brand-current {
  display: flex;
  align-items: center;
  gap: 10px;
  max-height: 40px;
}

/* 現在地ロゴ画像（フクロウなど）の巨大化を絶対防ぐ設定 */
.nav-logo-img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain;
  flex-shrink: 0;
}

/* 右側のワープアイコン枠 */
.nav-icon-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ワープアイコン内の画像サイズ制限 */
.nav-icon-link img {
  width: 100% !important;
  height: 100% !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain;
}

/* ──────────────────────────────────────────────────────────────
   🛠️ ヘッダー＆ロゴサイズ強制統一リセット（既存スタイル上書き）
────────────────────────────────────────────────────────────── */

/* 1. ヘッダー全体を絶対横並びに固定 */
nav.nav,
#nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 60px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

/* 2. 左側：SyncGraphyブランドエリア */
nav.nav .nav-brand-current {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  height: 100% !important;
}

/* ★ SyncGraphyロゴのサイズを【32px】に強力固定（巨大化を防止） */
nav.nav .nav-brand-current img,
nav.nav img.nav-logo-img {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}

/* 3. 右側：他モジュールアイコン群を【絶対横並び】にする */
nav.nav .nav-sub-icons {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 右側アイコンの丸枠（36px × 36px） */
nav.nav .nav-icon-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

/* ★ 右側モチーフロゴのサイズを【26px】に拡大補正（SyncGraphyとバランスを統一） */
nav.nav .nav-icon-link img {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  object-fit: contain !important;
}

/* 右端のお問い合わせボタン */
nav.nav .nav-icon-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #00d4ff, #003366) !important;
  text-decoration: none !important;
}

/* ──────────────────────────────────────────────────────────────
   ✉️ CONTACTテキストボタン専用スタイル
────────────────────────────────────────────────────────────── */
nav.nav .nav-cta-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #00d4ff, #003366) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  letter-spacing: 0.8px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

/* タップ・クリック時のアニメーション */
nav.nav .nav-cta-text:active {
  transform: scale(0.94) !important;
  box-shadow: 0 1px 4px rgba(0, 212, 255, 0.2) !important;
}
