@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --orange: #e8630a;
  --orange-light: #fef3ec;
  --gray: #888;
  --light: #f8f7f5;
  --border: rgba(0,0,0,0.08);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--black); background: var(--white); line-height: 1.8; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s, opacity 0.2s; }

/* ===== GLOBAL HOVER EFFECTS ===== */
nav a:hover { color: var(--orange) !important; opacity: 1 !important; }

.footer-links a:hover { color: var(--white) !important; }

.seminar-card {
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.seminar-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.company-table a:hover { opacity: 0.75; }

.footer-nav a:hover { opacity: 0.5 !important; }

/* テキストリンク汎用hover */
.text-link {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.text-link:hover { opacity: 0.7; }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white); height: 68px;
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }

.logo {
  font-family: var(--serif);
  font-size: 1.4rem; font-weight: 500; letter-spacing: 0.03em;
}

nav { display: flex; align-items: center; gap: 36px; }
nav a { font-size: 0.85rem; letter-spacing: 0.05em; color: var(--black); transition: opacity 0.2s; }
nav a:hover { opacity: 0.5; }

.btn-nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px; border-radius: 2px;
  font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 6px;
  transition: filter 0.2s !important; opacity: 1 !important;
}
.btn-nav-cta:hover { filter: brightness(1.1); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 99;
  padding: 40px 32px; flex-direction: column; gap: 28px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 1.1rem; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

/* ===== MAIN ===== */
main { padding-top: 68px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh; display: flex; align-items: center;
  padding: 0 80px;
  background: url('../images/hero.png') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.28) 35%, rgba(0,0,0,0.05) 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 580px;
}

.hero .hero-label { color: rgba(255,255,255,0.75); }
.hero h1 { color: #ffffff !important; }
.hero .hero-sub { color: rgba(255,255,255,0.85); }

.hero-label {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px; font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700; line-height: 1.25; letter-spacing: -0.01em;
  margin-bottom: 28px; color: var(--black);
}

.hero-sub {
  font-size: 1rem; color: #555; line-height: 1.9; margin-bottom: 48px;
  max-width: 480px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--white);
  padding: 16px 36px; border-radius: 2px;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em;
  transition: filter 0.2s;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

/* ===== ABOUT STRIP ===== */
.about-strip {
  padding: 80px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; background: var(--light);
}

.about-strip--single {
  grid-template-columns: 1fr;
  padding-left: max(80px, calc(50% - 360px));
  padding-right: max(80px, calc(50% - 360px));
}

.about-strip .label {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}

.about-strip h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700; line-height: 1.4; margin-bottom: 20px;
}

.about-strip p { font-size: 0.9rem; color: #555; line-height: 2; }

.about-strip .right {
  display: flex; flex-direction: column; gap: 24px;
}

.stat-item { border-left: 2px solid var(--orange); padding-left: 20px; }
.stat-item .num { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; color: var(--orange); line-height: 1; }
.stat-item .desc { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }

/* ===== SERVICES ===== */
.services { padding: 80px 80px; background: var(--white); }

.section-label {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700; line-height: 1.4; margin-bottom: 8px;
}

.section-sub { font-size: 0.9rem; color: var(--gray); margin-bottom: 48px; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.service-card {
  border: 1px solid var(--border); padding: 40px 36px; border-radius: 4px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.service-card:hover { box-shadow: 0 6px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }

.service-card .tag {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); border: 1px solid var(--orange);
  display: inline-block; padding: 3px 10px; border-radius: 2px;
  margin-bottom: 20px; align-self: flex-start;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.service-card .sub {
  font-size: 0.8rem; color: var(--gray); margin-bottom: 20px;
}

.service-card p {
  font-size: 0.875rem; color: #555; line-height: 1.9;
  margin-bottom: 32px; flex: 1;
}

.service-card .card-desc {
  min-height: 6em;
}

.service-card ul {
  list-style: none; margin: 0 0 28px;
}
.service-card ul li {
  font-size: 0.82rem; color: #555; line-height: 1.75;
  padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: flex-start; gap: 8px;
}
.service-card ul li:first-child { border-top: 1px solid rgba(0,0,0,0.06); }
.service-card ul li::before { content: '—'; color: var(--orange); flex-shrink: 0; font-size: 0.75rem; margin-top: 3px; }

.service-card .price-row {
  background: var(--light); padding: 12px 16px; border-radius: 2px;
  font-size: 0.82rem; color: #444; margin-bottom: 24px; line-height: 1.8;
}
.service-card .price-row strong { color: var(--black); }

.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--orange); align-self: flex-start;
  transition: gap 0.2s;
}
.btn-link:hover { gap: 14px; }

/* ===== FOOTER ===== */
footer {
  background: var(--black); color: var(--white);
  padding: 60px 80px;
}

.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 48px; flex-wrap: wrap; gap: 40px;
}

.footer-logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 16px; }
.footer-info { font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 2; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.7rem; color: rgba(255,255,255,0.3); }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.social-links a:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.social-links svg { width: 14px; height: 14px; color: rgba(255,255,255,0.7); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 72px 80px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.page-hero .en {
  font-family: var(--serif); font-size: 3.5rem;
  color: rgba(0,0,0,0.05); font-weight: 600; line-height: 1;
  margin-bottom: -4px; letter-spacing: 0.05em;
}
.page-hero h1 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; }
.page-hero p { margin-top: 12px; color: #555; font-size: 0.9rem; max-width: 560px; line-height: 1.9; }

/* ===== CONTACT ===== */
.contact-wrap { padding: 80px 80px; max-width: 760px; }

.form-group { margin-bottom: 24px; }
.form-group label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 8px;
}
.required { font-size: 0.6rem; background: var(--black); color: var(--white); padding: 2px 6px; border-radius: 2px; }
.optional { font-size: 0.6rem; background: var(--light); color: var(--gray); padding: 2px 6px; border-radius: 2px; }

.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.15); border-radius: 2px;
  font-family: var(--sans); font-size: 0.9rem; background: var(--white);
  transition: border-color 0.2s; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.btn-submit {
  background: var(--orange); color: var(--white); border: none;
  padding: 15px 64px; font-family: var(--sans); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.15em; cursor: pointer; border-radius: 2px;
  transition: filter 0.2s;
}
.btn-submit:hover { filter: brightness(1.1); }

/* ===== THANKYOU ===== */
.thankyou-wrap {
  min-height: calc(100vh - 68px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 32px;
}
.check-circle {
  width: 64px; height: 64px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 28px;
}
.check-circle svg { width: 28px; height: 28px; color: var(--white); }
.thankyou-wrap h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.thankyou-wrap p { color: var(--gray); font-size: 0.9rem; margin-bottom: 36px; line-height: 1.9; max-width: 440px; }
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--black); padding: 12px 28px; border-radius: 2px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
}
.btn-back:hover { background: var(--black); color: var(--white); }

/* ===== PRIVACY ===== */
.privacy-content { max-width: 800px; padding: 64px 80px; }
.privacy-content h2 { font-size: 1rem; font-weight: 700; margin: 36px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.privacy-content p { font-size: 0.875rem; line-height: 2; color: #444; margin-bottom: 12px; }

/* ===== ABOUT PAGE ===== */
.company-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.company-table th, .company-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  font-size: 0.875rem; text-align: left; vertical-align: top;
}
.company-table th { width: 160px; color: var(--gray); font-weight: 500; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  header { padding: 0 32px; }
  .hero { padding: 0 40px; }
  .about-strip { padding: 64px 40px; gap: 48px; }
  .services { padding: 64px 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { padding: 64px 40px; }
  .privacy-content { padding: 64px 40px; }
  .page-hero { padding: 60px 40px 48px; }
  footer { padding: 48px 40px; }
}

@media (max-width: 768px) {
  nav, .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  header { padding: 0 24px; }
  .hero { padding: 60px 24px; min-height: 70vh; }
  .about-strip { padding: 48px 24px; grid-template-columns: 1fr; gap: 40px; }
  .services { padding: 48px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-wrap { padding: 48px 24px; }
  .privacy-content { padding: 48px 24px; }
  .page-hero { padding: 48px 24px 40px; }
  footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .mobile-nav { padding: 40px 24px; }
}
