/*
Theme Name: IGNITE Corporate
Theme URI: https://igniteinc.jp
Author: IGNITE Inc.
Description: IGNITE株式会社 コーポレートサイト カスタムテーマ
Version: 1.0
*/

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

:root {
    --gold: #c8a050;
    --gold-light: #d4aa6a;
    --dark: #080808;
    --dark2: #111;
    --text: #1a1a1a;
    --text-muted: #777;
    --text-light: #aaa;
    --border: #e8e8e8;
    --bg-soft: #f8f7f4;
    --ff-display: 'Cormorant Garamond', serif;
    --ff-body: 'Noto Sans JP', sans-serif;
    --radius: 8px;
}

body {
    font-family: var(--ff-body);
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0 48px; height: 70px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo-icon { height: 32px; width: 32px; object-fit: contain; filter: invert(1); flex-shrink: 0; }
.nav-logo-img { height: 20px; width: auto; filter: none; flex-shrink: 0; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 11px; color: #666;
    text-decoration: none; letter-spacing: 0.08em;
    transition: color .2s;
}
.nav-links a:hover { color: #1a1a1a; }
.nav-btn {
    font-size: 10px; letter-spacing: 0.14em;
    padding: 8px 22px; border: 1px solid #c8a050;
    background: transparent; color: #c8a050; border-radius: 3px; cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
}
.nav-btn:hover { background: #c8a050; color: #fff; }

/* ── HERO ── */
.hero {
    position: relative; height: 620px;
    display: flex; flex-direction: column; justify-content: flex-end;
    overflow: hidden;
}
.hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
    filter: brightness(0.55) saturate(0.8);
}
.hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.4) 45%,
      rgba(0,0,0,0.1) 100%
    );
}
.hero-content {
    position: relative; z-index: 2;
    padding: 0 52px 64px;
}
.hero-eyebrow {
    font-size: 10px; letter-spacing: 0.3em; color: rgba(255,255,255,0.38);
    text-transform: uppercase; margin-bottom: 20px;
}
.hero-title {
    font-family: var(--ff-display);
    font-size: 56px; font-weight: 300; color: #fff;
    line-height: 1.2; margin-bottom: 22px; letter-spacing: 0.01em;
}
.hero-title .accent { color: var(--gold-light); font-style: italic; }
.hero-sub {
    font-size: 13px; color: rgba(255,255,255,0.58);
    line-height: 2; max-width: 460px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; }
.btn-primary {
    background: var(--gold); color: #fff; border: none;
    padding: 13px 32px; border-radius: 3px;
    font-size: 12px; letter-spacing: 0.1em;
    font-family: var(--ff-body); cursor: pointer;
    transition: background .2s;
}
.btn-primary:hover { background: #b8922a; }
.btn-outline {
    background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 13px 32px; border-radius: 3px;
    font-size: 12px; letter-spacing: 0.1em;
    font-family: var(--ff-body); cursor: pointer;
    transition: border-color .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); }

/* ── MESSAGE SECTION ── */
.msg-sec {
    background: var(--dark2);
    padding: 80px 52px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.msg-sec-label {
    font-size: 9px; letter-spacing: 0.28em; color: rgba(255,255,255,0.25);
    text-transform: uppercase; margin-bottom: 48px;
}
.msg-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.msg-item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.msg-item:last-child { border-bottom: none; }
.msg-text {
    font-family: var(--ff-display); font-size: 26px; font-weight: 300;
    color: rgba(255,255,255,0.82); letter-spacing: 0.05em; line-height: 1.4;
}
.msg-text em { color: var(--gold-light); font-style: italic; }

/* ── PHOTO STRIP ── */
.photo-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 200px; }
.strip-cell { position: relative; overflow: hidden; }
.strip-cell img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s ease;
}
.strip-cell:hover img { transform: scale(1.04); }
.strip-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%);
}
.strip-label {
    position: absolute; bottom: 16px; left: 18px; z-index: 2;
    font-size: 9px; color: rgba(255,255,255,0.75); letter-spacing: 0.2em; text-transform: uppercase;
}

/* ── GENERAL SECTION ── */
.sec { padding: 72px 52px; }
.sec-bg { background: var(--bg-soft); }
.sec-dark { background: var(--dark); }
.sec-label {
    font-size: 9px; letter-spacing: 0.24em; color: var(--text-light);
    text-transform: uppercase; margin-bottom: 12px;
}
.sec-title {
    font-family: var(--ff-body); font-size: 26px; font-weight: 500;
    margin-bottom: 10px; line-height: 1.35;
}
.sec-desc { font-size: 13px; color: var(--text-muted); line-height: 1.95; max-width: 520px; margin-bottom: 44px; }
.divider { height: 1px; background: var(--border); margin: 0 52px; }

/* ── SERVICE MAIN ── */
.svc-main {
    display: grid; grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.svc-photo { position: relative; min-height: 360px; }
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-photo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.05) 100%);
}
.svc-body { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.svc-en { font-size: 9px; letter-spacing: 0.22em; color: var(--text-light); text-transform: uppercase; margin-bottom: 12px; }
.svc-name { font-family: var(--ff-display); font-size: 22px; font-weight: 400; margin-bottom: 16px; letter-spacing: 0.04em; }
.svc-desc { font-size: 13px; color: var(--text-muted); line-height: 1.9; margin-bottom: 26px; }
.svc-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.svc-point { display: flex; gap: 12px; }
.svc-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.svc-point-text { font-size: 13px; color: #555; line-height: 1.7; }
.svc-point-text strong { color: var(--text); font-weight: 500; display: block; margin-bottom: 2px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
    font-size: 11px; padding: 4px 13px;
    border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted);
}

/* ── OTHER SERVICES ── */
.other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.other-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.other-img { height: 150px; position: relative; overflow: hidden; }
.other-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.other-card:hover .other-img img { transform: scale(1.04); }
.other-img-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.18); }
.other-body { padding: 22px 24px; }
.other-en { font-size: 9px; letter-spacing: 0.2em; color: var(--text-light); text-transform: uppercase; margin-bottom: 9px; }
.other-name { font-family: var(--ff-display); font-size: 17px; font-weight: 400; margin-bottom: 10px; letter-spacing: 0.04em; }
.other-desc { font-size: 12px; color: var(--text-muted); line-height: 1.8; }

/* ── COMPANY ── */
.co-grid { display: flex; flex-direction: column; gap: 32px; }
.co-table { width: 100%; border-collapse: collapse; }
.co-table tr { border-bottom: 1px solid #f0f0f0; }
.co-table td { padding: 14px 0; font-size: 13px; vertical-align: top; line-height: 1.75; }
.co-table td:first-child { color: var(--text-muted); width: 34%; font-size: 12px; }
.partner-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.partner-pill { font-size: 11px; padding: 3px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); }
.map-box {
    border: 1px solid var(--border); border-radius: var(--radius);
    height: 400px; width: 100%;
    overflow: hidden;
}
.map-icon { font-size: 32px; }

/* ── CTA ── */
.cta-bar {
    background: var(--dark); padding: 72px 52px;
    display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
.cta-eyebrow { font-size: 9px; letter-spacing: 0.28em; color: rgba(255,255,255,0.25); text-transform: uppercase; margin-bottom: 14px; }
.cta-title { font-family: var(--ff-display); font-size: 28px; font-weight: 300; color: #fff; margin-bottom: 10px; letter-spacing: 0.04em; }
.cta-sub { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.85; }

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border); padding: 28px 52px;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-wordmark { font-family: var(--ff-display); font-size: 15px; font-weight: 400; letter-spacing: 0.18em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 11px; color: var(--text-muted); text-decoration: none; }
.footer-copy { font-size: 11px; color: var(--text-light); }


/* ── HAMBURGER MENU ── */

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #1a1a1a; border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── DRAWER ── */
.drawer {
  position: fixed; top: 0; right: -100%;
  width: 75%; max-width: 300px; height: 100vh;
  background: #fff; z-index: 200;
  transition: right .3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.drawer.open { right: 0; }
.drawer-inner {
  display: flex; flex-direction: column;
  padding: 90px 32px 40px; gap: 0;
}
.drawer-inner a {
  font-size: 14px; color: #1a1a1a;
  text-decoration: none; letter-spacing: 0.06em;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color .2s;
}
.drawer-inner a:hover { color: #c8a050; }
.drawer-cta {
  margin-top: 24px !important;
  background: #c8a050 !important; color: #fff !important;
  text-align: center; border-radius: 4px;
  padding: 13px 0 !important;
  border-bottom: none !important;
  letter-spacing: 0.1em !important;
}
.drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 199;
}
.drawer-overlay.open { display: block; }

/* 横スクロール防止 */
html, body { overflow-x: hidden; max-width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 60px; flex-wrap: nowrap; }
  .nav-logo-icon { height: 26px; width: 26px; }
  .nav-logo-img { height: 15px; }
  .nav-links { display: none !important; }
  .nav-btn { display: none !important; }
  .hamburger { display: flex !important; }

  .hero { height: auto; min-height: 520px; }
  .hero-content { padding: 0 24px 48px; }
  .hero-title { font-size: 32px; }
  .hero-eyebrow { font-size: 9px; }
  .hero-sub { font-size: 12px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }

  .msg-sec { padding: 48px 24px; }
  .msg-text { font-size: 18px; }

  .photo-strip { grid-template-columns: 1fr; height: auto; }
  .strip-cell { height: 120px; }

  .sec { padding: 48px 24px; }
  .divider { margin: 0 24px; }

  .svc-main { grid-template-columns: 1fr; }
  .svc-photo { min-height: 200px; }
  .svc-body { padding: 24px 20px; }

  .other-grid { grid-template-columns: 1fr; }
  .co-grid { grid-template-columns: 1fr; gap: 24px; }

  .cta-bar { flex-direction: column; padding: 48px 24px; gap: 24px; text-align: center; }
  .cta-title { font-size: 22px; }
  .cta-bar .btn-primary { width: 100%; }

  footer { flex-direction: column; gap: 20px; padding: 28px 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-logo { justify-content: center; }
}
