/* ======= CSS変数 ======= */
:root {
  --navy: #0a1628;
  --navy-mid: #142240;
  --accent: #1a6cff;
  --accent-light: #4d8fff;
  --gold: #c8a96e;
  --white: #ffffff;
  --off-white: #f5f4f0;
  --gray-100: #f0eff9;
  --gray-300: #d0cfc8;
  --gray-500: #8a8880;
  --text: #1a1a2e;
  --text-light: #5a5a6e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ======= HEADER ======= */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.logo {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
}

.menu-toggle { display: none; }

nav a { color: var(--text); text-decoration: none; }
nav a:visited { color: var(--text); }
nav a:hover { color: var(--accent); }
nav a.active { color: var(--navy); font-weight: 700; }
.btn-contact {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s !important;
}
.btn-contact:hover { background: var(--accent) !important; }

/* ======= SECTION BASE ======= */
section {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 6vw, 80px);
}
.section-label {
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after {
  display: none;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(16px, 3vw, 30px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 46px;
  line-height: 1.4;
}
.section-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 30px;
  max-width: 600tapx;
}

/* FAQ */

#faq {
  background: var(--gray-50);
  padding: 72px;
}

.faq-sub {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 28px;
}

.faq-list {
  max-width: 700px;
  margin: 28px auto 0; /* ← 0 auto で中央寄せ */
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--gray-800);
  transition: background 0.15s;
}

.faq-q:hover { background: var(--gray-50); }

.faq-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(26, 86, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #1a56ff;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-plus {
  margin-left: auto;
  color: #1a56ff;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-a {
  display: none;
  padding: 14px 18px 16px 56px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
  font-weight: 300;
  border-top: 1px solid var(--gray-100);
}

.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-plus { transform: rotate(45deg); }

/* ======= BUTTONS ======= */
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,108,255,0.4);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: white;
  color: white;
  background: rgba(255,255,255,0.05);
}




/* ======= FOOTER ======= */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  /* padding: 60px 80px 40px; */
  padding: clamp(40px, 5vw, 60px) clamp(20px, 6vw, 80px) clamp(24px, 3vw, 40px);
}
.footer-top {
  display: grid;
  grid-template-columns: 360px 1fr auto;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}
.footer-brand .logo { color: white; margin-bottom: 16px; display: block; }
.footer-info p { font-size: 12px; line-height: 2.2; }
.footer-info strong {
  color: rgba(255,255,255,0.4);
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 16px;
  display: block;
}
.footer-nav-group h5 {
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.footer-nav-group a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-nav-group a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.05em;
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }
.copyright { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.05em; }


/* ======= PAGE HERO（サブページ共通） ======= */
.page-hero {
  /* padding: 140px 80px 80px; */
  padding: clamp(100px, 12vw, 140px) clamp(20px, 6vw, 80px) clamp(40px, 6vw, 80px);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(26,108,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 30% 50% at 10% 80%, rgba(200,169,110,0.08) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(16px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}
.page-hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}

/* ======= BREADCRUMB ======= */
.breadcrumb {
  /* padding: 16px 80px; */
  padding: 16px clamp(20px, 6vw, 80px);
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb span { color: var(--gray-500); }

/* ======= フェードイン（サブページ共通） ======= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  section { padding: 48px 32px; }
  header { padding: 0 32px; }
  .page-hero { padding: 120px 32px 60px; }
  .breadcrumb { padding: 12px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  section { padding: 36px 20px; }
  header { padding: 0 20px; }
  .page-hero { padding: 120px 20px 60px; }
  .breadcrumb { padding: 12px 20px; }
  nav .btn-contact { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}
/* =============================
   送信完了メッセージ（contact-form用）
   ============================= */

#success-msg {
  display: none; 
  text-align: center;
  padding: 48px 24px;
  color: #fff;
}
 
#success-msg .icon {
  font-size: 48px;
  margin-bottom: 16px;
}
 
#success-msg p {
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a2e;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* ✕ アニメーション */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) {
    transform: rotate(-45deg);
  }

  #main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-300);
    gap: 0;
    z-index: 999;
  }

  #main-nav.open {
    display: flex;
  }

  #main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-300);
    font-size: 14px;
    text-decoration: none;
  }

  #main-nav a:last-child {
    border-bottom: none;
  }
}
/* ======= CONTACT FORM ======= */
.contact {
  background: var(--off-white);
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-intro p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.cf-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.cf-group {
  margin-bottom: 1.2rem;
}

.cf-label {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 400;
}

.cf-req {
  color: #c0392b;
  margin-left: 3px;
  font-size: 12px;
}

.cf-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin: 2px 0 10px;
}

.contact-inner input[type=text],
.contact-inner input[type=email],
.contact-inner input[type=tel],
.contact-inner textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  color: var(--text);
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
}

.contact-inner input:focus,
.contact-inner textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 108, 255, 0.1);
}

.contact-inner input::placeholder,
.contact-inner textarea::placeholder {
  color: var(--gray-300);
}

.contact-inner textarea {
  resize: vertical;
  min-height: 120px;
}

.cb-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 14px;
  color: var(--text);
}

.cb-item:hover {
  border-color: var(--accent);
  background: rgba(26, 108, 255, 0.03);
}

.cb-item input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.cf-other-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.cf-other-wrap.visible {
  max-height: 60px;
  opacity: 1;
  margin-top: 8px;
}

.cf-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 8px;
}

/* ======= 利用規約同意チェック ======= */
.cf-agree-group {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.cf-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.cf-agree:hover {
  border-color: var(--accent);
  background: rgba(26, 108, 255, 0.03);
}

.cf-agree input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.cf-agree-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

.cf-agree-text a {
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.cf-agree-text a:hover {
  opacity: 0.7;
}

.cf-submit {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding: 15px;
  font-size: 15px;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .cf-row2 {
    grid-template-columns: 1fr;
  }
}