/* ============================================================
   Ever-Marketing — Style A: オフホワイト × エメラルド
   クリーン・ミニマル・誠実
   ============================================================ */

:root {
  --red: #0D9E6A;
  --red-deep: #0A7A52;
  --red-bright: #10C47F;
  --black: #F7F9F8;
  --black-soft: #EEF4F1;
  --black-mid: #E3EDE8;
  --gray-dark: #C5D5CC;
  --gray: #7A9A8A;
  --gray-light: #4A6A5A;
  --white: #1A2E25;
  --white-pure: #FFFFFF;
  --gold: #B8960C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

body::before { display: none; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  background: rgba(247,249,248,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,158,106,0.2);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--red-bright); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gray-light);
  transition: color 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--red);
  color: var(--white-pure) !important;
  padding: 0.45em 1.2em;
  border: none !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-bright) !important; color: var(--white-pure) !important; }

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 5% 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(13,158,106,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(10,122,82,0.08) 0%, transparent 55%),
    var(--black);
}

.hero-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--red) 30%, var(--red-bright) 70%, transparent);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(13,158,106,0.4);
  padding: 0.35em 1em;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3.2vw, 4.8rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s 0.1s ease both;
  color: var(--white);
}

.title-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-title em {
  font-style: normal;
  color: var(--red);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--red);
}

.hero-subtitle {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.8s 0.18s ease both;
}

.subtitle-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.15em;
  border-bottom: 1px solid rgba(26,46,37,0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 0.2rem;
}

.subtitle-phrase {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 5vw, 1.65rem);
  font-weight: 900;
  color: var(--red);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.subtitle-phrase::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--white);
  flex-shrink: 0;
}
.subtitle-phrase.phrase-2 { color: var(--red); font-size: clamp(1.1rem, 5vw, 1.65rem); font-weight: 900; }
.subtitle-phrase.phrase-2::after { display: none; }

.hero-sub {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 540px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn {
  display: inline-block;
  padding: 0.85em 2em;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
  background: var(--red);
  color: var(--white-pure);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(26,46,37,0.3);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-outline:hover { border-color: var(--white); background: rgba(26,46,37,0.06); transform: translateY(-2px); }

/* ─── SECTION COMMON ─── */
section { padding: 100px 5%; }

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-sub {
  color: var(--gray-light);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ─── PROBLEM ─── */
#problem {
  background: var(--black-soft);
  border-top: 1px solid rgba(13,158,106,0.15);
  border-bottom: 1px solid rgba(13,158,106,0.15);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(0,0,0,0.06);
  margin-top: 3rem;
}

.problem-item {
  background: var(--black-soft);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.problem-item:hover { background: var(--black-mid); }
.problem-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height 0.4s ease;
}
.problem-item:hover::before { height: 100%; }

.problem-keyword {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.problem-text {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ─── SERVICE ─── */
#service { background: var(--black); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.plan-card {
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--black-soft);
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.plan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,158,106,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.plan-card:hover { border-color: rgba(13,158,106,0.4); transform: translateY(-4px); }
.plan-card.featured { border-color: var(--red); background: linear-gradient(160deg, rgba(13,158,106,0.08) 0%, var(--black-soft) 50%); }

.plan-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white-pure);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25em 0.8em;
  margin-bottom: 1.2rem;
}

.plan-name { font-family: 'Noto Serif JP', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--white); }
.plan-tagline { font-size: 0.9rem; color: var(--gray-light); margin-bottom: 1.5rem; }
.plan-price { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; letter-spacing: 0.02em; color: var(--white); margin-bottom: 0.3rem; }
.plan-price span { font-size: 1rem; letter-spacing: 0; color: var(--gray); }
.plan-note { font-size: 0.85rem; color: var(--gray); margin-bottom: 1.8rem; }

.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li {
  font-size: 0.92rem;
  color: var(--gray-light);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.plan-features li::before { content: '—'; color: var(--red); flex-shrink: 0; }

/* ─── REVIEWS ─── */
#reviews { background: var(--black-soft); border-top: 1px solid rgba(0,0,0,0.06); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(0,0,0,0.06);
}

.review-card { background: var(--black-soft); padding: 1.8rem; transition: background 0.2s; }
.review-card:hover { background: var(--black-mid); }
.review-text { font-size: 0.95rem; color: var(--gray-light); line-height: 1.85; font-style: italic; }
.review-text::before { content: '「'; color: var(--red); }
.review-text::after { content: '」'; color: var(--red); }

/* ─── EXPERT ─── */
#expert { background: var(--black); border-top: 1px solid rgba(0,0,0,0.06); }
.expert-wrap { display: grid; grid-template-columns: 180px 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.expert-photo { width: 100%; aspect-ratio: 3/4; background: var(--black-mid); border: 1px solid rgba(0,0,0,0.1); position: relative; overflow: hidden; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: absolute; inset: 0; }
.expert-name { font-family: 'Noto Serif JP', serif; font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 900; margin-bottom: 0.3rem; color: var(--white); }
.expert-title { font-size: 0.9rem; color: var(--red); letter-spacing: 0.05em; margin-bottom: 1.8rem; }
.expert-bio { font-size: 0.95rem; color: var(--gray-light); line-height: 2; border-left: 3px solid rgba(13,158,106,0.3); padding-left: 1.4rem; }
.expert-career { margin-top: 3rem; padding: 2rem 2.5rem; border-top: 1px solid rgba(0,0,0,0.08); border-left: 3px solid var(--red); display: flex; flex-direction: column; gap: 1.2rem; }
.expert-career p { font-size: 0.95rem; color: var(--gray-light); line-height: 2; }

/* ─── ABOUT ─── */
#about { background: var(--black-soft); border-top: 1px solid rgba(0,0,0,0.06); }
.about-body { max-width: 800px; margin-top: 2rem; display: flex; flex-direction: column; gap: 1.4rem; border-left: 3px solid var(--red); padding-left: 2rem; }
.about-body p { font-size: 1rem; color: var(--gray-light); line-height: 2; }

/* ─── CONTACT ─── */
#contact { background: var(--black-soft); border-top: 1px solid rgba(13,158,106,0.15); }
.contact-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: start; margin-top: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-meta { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; border: 1px solid rgba(0,0,0,0.08); background: var(--black); }
.contact-meta p { font-size: 1rem; color: var(--white); line-height: 1.7; padding-left: 1rem; border-left: 2px solid rgba(13,158,106,0.4); }
.contact-coconala-label { font-size: 0.85rem; color: var(--gray-light); margin-bottom: 0.8rem; letter-spacing: 0.05em; }
.contact-option { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid rgba(0,0,0,0.08); background: var(--black); text-decoration: none; color: var(--white); transition: border-color 0.2s, background 0.2s; font-size: 0.95rem; }
.contact-option:hover { border-color: rgba(13,158,106,0.4); background: rgba(13,158,106,0.04); }
.contact-option-icon { width: 36px; height: 36px; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-option-label { font-size: 0.8rem; color: var(--gray-light); display: block; margin-bottom: 0.1rem; letter-spacing: 0.08em; }
.contact-option-name { font-weight: 700; font-size: 1rem; }
.form-wrap { background: var(--black); border: 1px solid rgba(0,0,0,0.08); overflow: hidden; position: relative; box-shadow: 0 2px 16px rgba(0,0,0,0.05); }
.form-wrap::before { content: 'お問い合わせフォーム'; display: block; background: var(--red-deep); color: var(--white-pure); font-size: 0.88rem; letter-spacing: 0.1em; padding: 0.7rem 1.5rem; }
.form-wrap iframe { display: block; width: 100%; border: none; }

/* ─── COMPANY ─── */
#company { background: var(--black); padding: 80px 5%; }
.company-grid { display: grid; grid-template-columns: auto 1fr; gap: 0; border: 1px solid rgba(0,0,0,0.1); max-width: 600px; margin-top: 2rem; }
.company-grid dt, .company-grid dd { padding: 0.9rem 1.4rem; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.95rem; }
.company-grid dt { background: rgba(0,0,0,0.03); color: var(--gray-light); white-space: nowrap; letter-spacing: 0.05em; }
.company-grid dd { color: var(--white); }
.company-grid dt:last-of-type, .company-grid dd:last-child { border-bottom: none; }

/* ─── FOOTER ─── */
footer { background: var(--black-soft); border-top: 1px solid rgba(13,158,106,0.2); padding: 2.5rem 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.12em; color: var(--white); }
.footer-logo span { color: var(--red-bright); }
.footer-copy { font-size: 0.72rem; color: var(--gray); letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.72rem; color: var(--gray); text-decoration: none; letter-spacing: 0.08em; transition: color 0.2s; }
.footer-links a:hover { color: var(--gray-light); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── SCROLL TOP ─── */
.scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 42px; height: 42px; background: var(--red); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity 0.3s; z-index: 50; font-size: 1rem; text-decoration: none; color: var(--white-pure); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.scroll-top.show { opacity: 1; }
.scroll-top:hover { background: var(--red-bright); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(247,249,248,0.98); padding: 1.5rem 5%; gap: 1.2rem; border-bottom: 1px solid rgba(13,158,106,0.2); }
  .nav-links.open li { border-bottom: 1px solid rgba(0,0,0,0.06); padding-bottom: 0.8rem; }
  .nav-hamburger { display: flex; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-wrap iframe { height: 700px; }
  .expert-wrap { grid-template-columns: 1fr; }
  .expert-photo { aspect-ratio: 1/1; max-width: 220px; }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  #hero { padding-left: 5%; padding-right: 5%; overflow: hidden; }
  .title-line { white-space: normal; }
  .subtitle-phrase { white-space: normal; }
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
