/* =========================================================
  株式会社SHINE Corporate Site
  Theme: 洗練された大人の空間 / Dark + Gold + Navy
  - Mobile-first
  - No external frameworks
========================================================== */

:root{
  --bg:#000000;
  --panel:#0b0b0b;
  --muted:#2c2c2c;
  --text:#ffffff;
  --sub:#cfcfcf;
  --gold:#d4af37;
  --navy:#1a237e;
  --line:rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1120px;
  --headerH: 70px;

  --font: "Noto Sans JP","Yu Gothic","游ゴシック",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(26,35,126,.20), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(212,175,55,.14), transparent 55%),
    radial-gradient(700px 700px at 50% 100%, rgba(255,255,255,.06), transparent 50%),
    var(--bg);
  line-height:1.7;
  letter-spacing:.02em;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }
button, input, textarea{ font-family:inherit; }

.container{
  width:min(var(--max), 100% - 32px);
  margin-inline:auto;
}

/* ---------- Header ---------- */
header.site-header{
  position:fixed;
  inset:0 0 auto 0;
  height:var(--headerH);
  z-index:999;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.35));
  border-bottom:1px solid var(--line);
}
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.logo{
  display:flex;
  align-items:baseline;
  gap:10px;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  user-select:none;
}
.logo .mark{
  width:12px;height:12px;border-radius:4px;
  background: linear-gradient(135deg, var(--gold), rgba(212,175,55,.45));
  box-shadow:0 0 0 1px rgba(212,175,55,.35), 0 8px 20px rgba(212,175,55,.12);
}
.logo .text{ font-size:18px; }
.logo .tag{
  font-size:12px;
  color:var(--sub);
  letter-spacing:.06em;
  font-weight:600;
}

nav.primary-nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-links{
  display:none; /* mobile default */
  list-style:none;
  margin:0;
  padding:0;
  gap:6px;
  align-items:center;
}
.nav-links a{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  color:rgba(255,255,255,.88);
  font-size:13px;
  font-weight:600;
  transition: transform .18s ease, background .18s ease, color .18s ease;
  outline:none;
}
.nav-links a:hover,
.nav-links a:focus-visible{
  background: rgba(212,175,55,.12);
  color: #fff;
  transform: translateY(-1px);
}

.hamburger{
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.35);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.hamburger:hover{ transform: translateY(-1px); border-color: rgba(212,175,55,.35); }
.hamburger:active{ transform: translateY(0px) scale(.98); }
.hamburger .bars{ width:20px;height:14px; position:relative; }
.hamburger .bars span{
  position:absolute; left:0; right:0;
  height:2px; border-radius:2px;
  background: rgba(255,255,255,.92);
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.hamburger .bars span:nth-child(1){ top:0; }
.hamburger .bars span:nth-child(2){ top:6px; opacity:.9; }
.hamburger .bars span:nth-child(3){ top:12px; opacity:.85; }

/* Mobile menu panel */
.mobile-menu{
  position:fixed;
  top:var(--headerH);
  left:0; right:0;
  background: rgba(0,0,0,.92);
  border-bottom:1px solid var(--line);
  transform: translateY(-8px);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
}
.mobile-menu.open{
  opacity:1;
  transform: translateY(0px);
  pointer-events:auto;
}
.mobile-menu ul{
  list-style:none;
  margin:0;
  padding:14px 16px 18px;
  display:grid;
  gap:8px;
}
.mobile-menu a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  font-weight:650;
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
}
.mobile-menu a:hover{
  background: rgba(212,175,55,.10);
  border-color: rgba(212,175,55,.25);
  transform: translateY(-1px);
}
.mobile-menu a small{
  color:rgba(255,255,255,.55);
  font-weight:600;
}

/* Hamburger "X" when open */
.menu-open .hamburger .bars span:nth-child(1){ top:6px; transform: rotate(45deg); }
.menu-open .hamburger .bars span:nth-child(2){ opacity:0; }
.menu-open .hamburger .bars span:nth-child(3){ top:6px; transform: rotate(-45deg); }

/* ---------- Main / Sections ---------- */
main{ padding-top: var(--headerH); }
section{
  padding: 64px 0;
  position:relative;
}
.section-head{
  margin-bottom: 22px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: rgba(212,175,55,.92);
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.kicker::before{
  content:"";
  width:18px;height:2px;
  background: linear-gradient(90deg, var(--gold), rgba(212,175,55,.2));
  border-radius:2px;
}
h2{
  margin:6px 0 0;
  font-size: 26px;
  line-height:1.2;
  letter-spacing:.02em;
}
.lead{
  margin:0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  max-width: 62ch;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card.pad{ padding: 18px; }
.divider{
  height:1px;
  background: var(--line);
  margin: 16px 0;
}

/* ---------- Hero ---------- */
.hero{
  min-height: calc(100vh - var(--headerH));
  display:grid;
  align-items:center;
  padding: 40px 0 30px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.70), rgba(0,0,0,.70)),
    url("hero-main.jpg") center/cover no-repeat;
  filter: saturate(1.05);
  transform: scale(1.02);
  z-index:-2;
}
.hero::after{
  content:"";
  position:absolute;
  inset:-80px;
  background: radial-gradient(600px 240px at 50% 20%, rgba(212,175,55,.12), transparent 55%);
  z-index:-1;
  pointer-events:none;
}
.hero-inner{
  display:grid;
  gap:18px;
  padding: 12px 0 54px;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width: fit-content;
  padding: 8px 12px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.25);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
  font-weight:700;
  font-size:12px;
  letter-spacing:.08em;
}
.hero-badge .dot{
  width:8px;height:8px;border-radius:50%;
  background: var(--gold);
  box-shadow:0 0 0 4px rgba(212,175,55,.15);
}
h1{
  margin:0;
  font-size: 34px;
  line-height:1.15;
  letter-spacing:.02em;
  text-shadow: 0 12px 34px rgba(0,0,0,.55);
}
.hero-copy{
  margin:0;
  color: rgba(255,255,255,.80);
  font-size: 15px;
  max-width: 64ch;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 4px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  user-select:none;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(212,175,55,.35);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  background: rgba(212,175,55,.10);
}
.btn:active{ transform: translateY(0px) scale(.99); }
.btn.primary{
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(212,175,55,.35));
  color:#121212;
  border-color: rgba(212,175,55,.55);
}
.btn.primary:hover{ background: linear-gradient(135deg, rgba(212,175,55,1), rgba(212,175,55,.45)); }
.btn .arrow{
  width: 14px; height:14px;
  border:2px solid currentColor;
  border-left:none; border-bottom:none;
  transform: rotate(45deg);
  opacity:.9;
}

/* Scroll indicator */
.scroll-hint{
  position:absolute;
  left:50%;
  bottom: 18px;
  transform: translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color: rgba(255,255,255,.72);
  font-size:12px;
  letter-spacing:.08em;
  user-select:none;
}
.mouse{
  width:22px;height:34px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.32);
  position:relative;
  background: rgba(0,0,0,.15);
}
.mouse::after{
  content:"";
  width:4px;height:8px;
  border-radius:4px;
  background: var(--gold);
  position:absolute;
  left:50%;
  top:8px;
  transform: translateX(-50%);
  animation: wheel 1.6s ease-in-out infinite;
  opacity:.95;
}
@keyframes wheel{
  0%{ transform: translateX(-50%) translateY(0); opacity:.95; }
  60%{ transform: translateX(-50%) translateY(10px); opacity:.35; }
  100%{ transform: translateX(-50%) translateY(0); opacity:.95; }
}

/* ---------- Layout helpers ---------- */
.grid{ display:grid; gap:16px; }
.two{ grid-template-columns: 1fr; }
.three{ grid-template-columns: 1fr; }

.media{
  position:relative;
  overflow:hidden;
  border-radius: calc(var(--radius) - 2px);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.media img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio: 4 / 3;
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.01);
}
.media .cap{
  position:absolute;
  left:12px; bottom:12px;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  padding:8px 10px;
  border-radius: 12px;
  font-size:12px;
  backdrop-filter: blur(8px);
  max-width: calc(100% - 24px);
}

.rich-text p{ margin: 0 0 12px; color: rgba(255,255,255,.78); }
.rich-text p:last-child{ margin-bottom:0; }

.gold-strong{ color:rgba(212,175,55,.95); font-weight:800; }
.muted-small{ margin:0; color:rgba(255,255,255,.72); font-size:13px; }

/* ---------- Business cards ---------- */
.biz-card{ display:grid; gap:0; }
.biz-body{ padding:16px 16px 18px; }
.biz-title{ margin:0 0 6px; font-size:18px; letter-spacing:.02em; }
.biz-desc{ margin:0; color: rgba(255,255,255,.75); font-size:14px; }
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.24);
  background: rgba(212,175,55,.08);
  color: rgba(255,255,255,.88);
  font-size:12px;
  font-weight:650;
  letter-spacing:.04em;
  width: fit-content;
}
.pill i{
  width:7px;height:7px;border-radius:50%;
  background: var(--gold);
  display:inline-block;
  box-shadow: 0 0 0 4px rgba(212,175,55,.12);
}

/* ---------- Philosophy ---------- */
.quote{
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26,35,126,.22), rgba(0,0,0,.05));
  border:1px solid rgba(26,35,126,.35);
}
.quote blockquote{
  margin:0;
  font-size:18px;
  line-height:1.5;
  color: rgba(255,255,255,.92);
}
.quote cite{
  display:block;
  margin-top:10px;
  color: rgba(212,175,55,.9);
  font-style:normal;
  font-weight:700;
  letter-spacing:.06em;
  font-size:12px;
  text-transform:uppercase;
}

/* ---------- CEO ---------- */
.ceo{
  display:grid;
  gap:16px;
  align-items:center;
}
.avatar{
  width:150px;height:150px;
  border-radius:50%;
  overflow:hidden;
  border:1px solid rgba(212,175,55,.35);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  background: rgba(255,255,255,.06);
  margin-inline:auto;
}
.avatar img{ width:100%;height:100%; object-fit:cover; }
.ceo-meta{ text-align:center; }
.ceo-meta h3{ margin: 6px 0 2px; font-size:18px; letter-spacing:.02em; }
.ceo-meta p{ margin:0; color: rgba(255,255,255,.72); font-size:13px; }

/* ---------- Company table ---------- */
.table-wrap{
  overflow:auto;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
table{ width:100%; border-collapse:collapse; min-width: 560px; }
th, td{
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align:top;
  text-align:left;
  font-size:14px;
}
th{
  width: 34%;
  color: rgba(255,255,255,.86);
  background: rgba(0,0,0,.18);
  font-weight:700;
}
td{ color: rgba(255,255,255,.78); }
tr:last-child th, tr:last-child td{ border-bottom:none; }
.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  font-size: 13px;
  letter-spacing:.02em;
}

/* ---------- Contact ---------- */
.contact-grid{ display:grid; gap:16px; }
.phone-box{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid rgba(212,175,55,.25);
  background: linear-gradient(180deg, rgba(212,175,55,.10), rgba(255,255,255,.03));
}
.phone-title{
  margin:0;
  font-size:14px;
  color: rgba(255,255,255,.78);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.phone-number{
  margin:8px 0 0;
  font-size:22px;
  font-weight:900;
  letter-spacing:.04em;
  color: rgba(255,255,255,.94);
}
.phone-number a{
  text-decoration: underline;
  text-decoration-color: rgba(212,175,55,.55);
  text-underline-offset: 6px;
}
form{ display:grid; gap:10px; }
.field{ display:grid; gap:6px; }
label{
  font-size:12px;
  color: rgba(255,255,255,.72);
  font-weight:650;
  letter-spacing:.04em;
}
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  outline:none;
  transition: border-color .15s ease, background .15s ease;
}
input:focus, textarea:focus{
  border-color: rgba(212,175,55,.35);
  background: rgba(0,0,0,.45);
}
textarea{ resize: vertical; min-height: 130px; }
.form-row{ display:grid; gap:10px; }
.form-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top: 4px;
}
.note{
  margin:0;
  color: rgba(255,255,255,.55);
  font-size:12px;
  line-height:1.5;
}

/* ---------- Footer ---------- */
footer{
  padding: 28px 0 34px;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.55);
}
.footer-inner{
  display:grid;
  gap:14px;
  align-items:center;
}
.footer-nav{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color: rgba(255,255,255,.70);
  font-size:13px;
}
.footer-nav a{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
}
.footer-nav a:hover{
  background: rgba(212,175,55,.10);
  border-color: rgba(212,175,55,.25);
  transform: translateY(-1px);
}
.copyright{
  margin:0;
  color: rgba(255,255,255,.55);
  font-size:12px;
  letter-spacing:.03em;
}

/* ---------- Fade-in ---------- */
.reveal{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* ---------- Breakpoints ---------- */
@media (min-width: 769px){
  .nav-links{ display:flex; }
  .hamburger{ display:none; }
  .mobile-menu{ display:none; }

  h1{ font-size: 46px; }
  h2{ font-size: 30px; }
  .hero-copy{ font-size:16px; }

  .two{ grid-template-columns: 1.05fr .95fr; gap:18px; }
  .three{ grid-template-columns: repeat(3, 1fr); }

  .ceo{
    grid-template-columns: 180px 1fr;
    align-items:start;
  }
  .avatar{ margin-inline:0; }
  .ceo-meta{ text-align:left; }

  .contact-grid{
    grid-template-columns: 1fr 1fr;
    align-items:start;
  }
  .form-row{ grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1025px){
  section{ padding: 76px 0; }
  .hero-inner{ padding-bottom: 70px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ transition:none; transform:none; opacity:1; }
  .mouse::after{ animation:none; }
  .btn, .nav-links a, .footer-nav a, .hamburger{ transition:none; }
}