/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #e8eaef;
  line-height: 1.85;
  background: #0e1016;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }

:root {
  --ink: #0e1016;
  --ink-2: #161922;
  --ink-3: #1d212c;
  --gold: #f5b521;
  --gold-deep: #d99a10;
  --paper: #f4f5f7;
  --paper-ink: #20242e;
  --muted: #9aa1ad;
  --line: rgba(255,255,255,0.10);
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --mont: "Montserrat", sans-serif;
}
.container { width: min(92%, 1140px); margin-inline: auto; }

/* ===== Section heading ===== */
.sec-head { text-align: center; margin-bottom: 54px; }
.sec-en {
  font-family: var(--mont); font-weight: 600; letter-spacing: .28em;
  font-size: 13px; color: var(--gold); margin-bottom: 12px;
}
.sec-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 4.4vw, 40px);
  letter-spacing: .04em; color: #fff; position: relative; padding-bottom: 20px;
}
.sec-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 46px; height: 3px; background: var(--gold); border-radius: 2px;
}
.sec-desc { margin-top: 18px; color: var(--muted); font-size: 15px; }
.sec-head.light .sec-title { color: #fff; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0; transition: background .35s, padding .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(13,15,21,0.92); backdrop-filter: blur(10px);
  padding: 10px 0; box-shadow: 0 6px 24px rgba(0,0,0,.4);
}
.header-inner {
  width: min(94%, 1280px); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 11px; color: #fff; }
.logo-mark { display: inline-flex; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-ja { font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.logo-en { font-family: var(--mont); font-size: 9.5px; letter-spacing: .24em; opacity: .8; margin-top: 3px; }

.global-nav { flex: 1; }
.global-nav ul { display: flex; justify-content: center; gap: 30px; }
.global-nav a {
  font-size: 15px; font-weight: 500; color: #eef0f4; position: relative; padding: 6px 0;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .3s;
}
.global-nav a:hover { color: var(--gold); }
.global-nav a:hover::after { width: 100%; }

.contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #1a1205; font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 8px; box-shadow: 0 6px 18px rgba(245,181,33,.28);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.contact-btn:hover { transform: translateY(-2px); background: #ffc233; box-shadow: 0 10px 24px rgba(245,181,33,.4); }

.menu-toggle {
  display: none; width: 44px; height: 40px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; padding: 0;
}
.menu-toggle span { display: block; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; padding: 120px 0 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 28%, #2b3b57 0%, #1a2336 38%, #0e1320 70%, #090b12 100%);
}
.hero-sun {
  position: absolute; top: 30%; right: 22%; width: 380px; height: 380px; transform: translate(50%,-50%);
  background: radial-gradient(circle, rgba(245,181,33,.55) 0%, rgba(245,150,33,.18) 35%, transparent 68%);
  filter: blur(6px);
}
.hero-scaffold { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,11,18,.96) 0%, rgba(9,11,18,.78) 34%, rgba(9,11,18,.30) 62%, rgba(9,11,18,.55) 100%);
}
.hero-content { position: relative; z-index: 2; width: min(92%, 1140px); margin-inline: auto; }
.hero-eyebrow {
  font-family: var(--mont); letter-spacing: .3em; color: var(--gold);
  font-weight: 600; font-size: clamp(15px, 2vw, 19px); margin-bottom: 14px;
}
.hero-title {
  font-family: var(--serif); font-weight: 900; color: #fff;
  font-size: clamp(52px, 11vw, 132px); line-height: 1.04; letter-spacing: .03em;
  text-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.hero-lead {
  margin-top: 26px; font-size: clamp(15px, 2.1vw, 19px); font-weight: 500;
  color: #d6dae2; line-height: 1.9;
}
.hero-features { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 34px; }
.hero-features li { display: flex; align-items: center; gap: 13px; }
.hf-icon {
  width: 54px; height: 54px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(245,181,33,.10); border: 1px solid rgba(245,181,33,.4);
}
.hf-ttl { font-weight: 700; font-size: 16px; color: #fff; }
.hf-sub { font-size: 12.5px; color: var(--muted); }

.hero-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 40px;
  background: var(--gold); color: #1a1205; font-weight: 700; font-size: clamp(15px,2vw,18px);
  padding: 18px 34px; border-radius: 10px; box-shadow: 0 12px 30px rgba(245,181,33,.32);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.hero-cta:hover { transform: translateY(-3px); background: #ffc233; box-shadow: 0 16px 38px rgba(245,181,33,.45); }
.hero-cta svg { transition: transform .25s; }
.hero-cta:hover svg { transform: translateX(5px); }

.hero-badge {
  position: relative; z-index: 2; width: min(92%, 1140px); margin: 46px auto 0;
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
}
.hero-badge .badge-laurel.flip { transform: scaleX(-1); }
.badge-body { text-align: center; }
.badge-line { font-weight: 700; font-size: clamp(15px, 2.2vw, 21px); color: #fff; letter-spacing: .02em; }
.badge-sub { font-size: 14px; color: #d6dae2; margin-top: 2px; }
.badge-free {
  display: inline-block; background: var(--gold); color: #1a1205; font-weight: 700;
  padding: 1px 12px; border-radius: 5px; margin-left: 6px; font-size: 13px;
}
@media (max-width: 760px){ .hero-badge { justify-content: center; } }

/* ===== About ===== */
.about { background: var(--paper); color: var(--paper-ink); padding: 96px 0; }
.about-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about .sec-en { text-align: left; color: var(--gold-deep); }
.about-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.3; color: #1c2230; margin-bottom: 26px;
}
.about-text { color: #455065; font-size: 15.5px; margin-bottom: 18px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-weight: 700; color: var(--gold-deep); border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.text-link:hover { border-color: var(--gold-deep); }
.about-figure { position: relative; }
.figure-ph {
  aspect-ratio: 4/3.2; border-radius: 16px; overflow: hidden;
  background:
    linear-gradient(135deg, #2b3b57 0%, #161e2e 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 50px rgba(20,28,45,.28);
}
.figure-ph span { font-family: var(--mont); letter-spacing: .3em; color: rgba(255,255,255,.35); font-size: 14px; }
.figure-stat {
  position: absolute; left: -22px; bottom: -26px; background: #fff; color: #1c2230;
  padding: 20px 26px; border-radius: 14px; box-shadow: 0 18px 40px rgba(20,28,45,.18);
  border-top: 4px solid var(--gold); text-align: center;
}
.stat-num { display: block; font-family: var(--serif); font-weight: 900; font-size: 40px; color: var(--gold-deep); line-height: 1; }
.stat-num small { font-size: 16px; margin-left: 2px; }
.stat-lbl { font-size: 12.5px; color: #6b7484; margin-top: 6px; display: block; }

/* ===== Service ===== */
.service { padding: 100px 0; background: var(--ink); }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.svc-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.svc-card:hover { transform: translateY(-8px); border-color: rgba(245,181,33,.5); box-shadow: 0 22px 44px rgba(0,0,0,.45); }
.svc-img { position: relative; aspect-ratio: 16/11; display: flex; align-items: flex-end; }
.svc-img::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(10,12,18,.6)); }
.svc-1 { background: linear-gradient(150deg,#33456a,#19243a); }
.svc-2 { background: linear-gradient(150deg,#3a5a4a,#1a2c25); }
.svc-3 { background: linear-gradient(150deg,#5a4030,#2c1f17); }
.svc-4 { background: linear-gradient(150deg,#2f4d63,#13212c); }
.svc-5 { background: linear-gradient(150deg,#4a4f63,#1b1f2a); }
.svc-6 { background: linear-gradient(150deg,#5b4a36,#241c14); }
.svc-no {
  position: relative; z-index: 1; font-family: var(--mont); font-weight: 700;
  font-size: 60px; color: rgba(255,255,255,.16); padding: 0 22px 8px;
}
.svc-badge {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  background: var(--gold); color: #1a1205; font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; padding: 4px 12px; border-radius: 6px;
  box-shadow: 0 6px 16px rgba(245,181,33,.35);
}
.svc-card--main { border-color: rgba(245,181,33,.5); box-shadow: 0 0 0 1px rgba(245,181,33,.18); }
.svc-card--main .svc-ttl { font-size: 25px; }
.svc-body { padding: 26px 26px 30px; }
.svc-ttl {
  font-family: var(--serif); font-weight: 700; font-size: 24px; color: #fff; margin-bottom: 14px;
  position: relative; padding-left: 16px;
}
.svc-ttl::before { content:""; position:absolute; left:0; top:6px; bottom:6px; width:4px; background: var(--gold); border-radius:2px; }
.svc-text { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags li {
  font-size: 12px; color: #d9c281; background: rgba(245,181,33,.08);
  border: 1px solid rgba(245,181,33,.25); padding: 4px 11px; border-radius: 20px;
}

/* ===== Strength ===== */
.strength { padding: 100px 0; background: var(--ink-2); }
.strength-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.str-item {
  position: relative; background: var(--ink-3); border: 1px solid var(--line);
  border-radius: 14px; padding: 34px 32px 30px; padding-left: 92px;
}
.str-no {
  position: absolute; left: 30px; top: 30px; font-family: var(--mont); font-weight: 700;
  font-size: 30px; color: var(--gold); width: 44px; text-align: center;
}
.str-no::after { content:""; display:block; width: 34px; height: 2px; background: rgba(245,181,33,.4); margin: 6px auto 0; }
.str-item h3 { font-size: 19px; color: #fff; font-weight: 700; margin-bottom: 10px; }
.str-item p { color: var(--muted); font-size: 14.5px; }

/* ===== Works ===== */
.works { padding: 100px 0; background: var(--ink); }
.works-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.work {
  position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; margin: 0;
  display: flex; align-items: flex-end; isolation: isolate;
}
.work::before { content:""; position:absolute; inset:0; z-index:-1; transition: transform .5s; }
.work:hover::before { transform: scale(1.07); }
.work::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(8,10,16,.82)); }
.work-a::before { background: linear-gradient(150deg,#33456a,#141d2e); }
.work-b::before { background: linear-gradient(150deg,#3a5a4a,#15231d); }
.work-c::before { background: linear-gradient(150deg,#5a4030,#241a13); }
.work-d::before { background: linear-gradient(150deg,#2f4d63,#13212c); }
.work-e::before { background: linear-gradient(150deg,#4a4f63,#1b1f2a); }
.work-f::before { background: linear-gradient(150deg,#5b4a36,#241c14); }
.work figcaption {
  position: relative; z-index: 1; padding: 18px 20px; color: #fff; font-size: 14px; font-weight: 500;
}
.work-cat {
  display: inline-block; background: var(--gold); color: #1a1205; font-size: 11px; font-weight: 700;
  padding: 2px 10px; border-radius: 4px; margin-bottom: 8px;
}
.works-note { text-align: center; color: #6b7280; font-size: 12.5px; margin-top: 26px; }

/* ===== Company ===== */
.company { padding: 100px 0; background: var(--ink-2); }
.company-table { width: 100%; border-collapse: collapse; max-width: 860px; margin: 0 auto; }
.company-table th, .company-table td {
  text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top;
}
.company-table th { width: 200px; color: var(--gold); font-weight: 700; }
.company-table td { color: #d2d7df; }

/* ===== License ===== */
.license { padding: 100px 0; background: var(--ink); }
.license-grid { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: stretch; max-width: 940px; margin: 0 auto; }
.lic-card.lic-main {
  background: linear-gradient(160deg, var(--ink-3), #12161f);
  border: 1px solid rgba(245,181,33,.35); border-radius: 16px;
  padding: 38px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lic-laurel { margin-bottom: 14px; }
.lic-label { font-family: var(--mont); letter-spacing: .2em; font-size: 12px; color: var(--gold); margin-bottom: 12px; }
.lic-value { font-family: var(--serif); font-weight: 700; font-size: 22px; color: #fff; line-height: 1.5; }
.lic-date { margin-top: 12px; font-size: 12.5px; color: var(--muted); letter-spacing: .03em; }
.lic-list {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 30px;
  display: grid; grid-template-columns: repeat(2,1fr); align-content: center; gap: 0 30px;
}
.lic-list li {
  padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); color: #d2d7df; font-size: 14.5px; position: relative;
}
.lic-list li::before {
  content:""; position:absolute; left:0; top:50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: rgba(245,181,33,.16);
  box-shadow: inset 0 0 0 2px var(--gold);
}
.lic-list li:nth-last-child(-n+2){ border-bottom: 0; }

/* ===== Contact ===== */
.contact { position: relative; padding: 110px 0; overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,18,.86), rgba(10,12,18,.94)),
    radial-gradient(120% 120% at 80% 0%, #2b3b57 0%, #11151f 60%);
}
.contact-inner { position: relative; text-align: center; }
.sec-en.gold { color: var(--gold); }
.contact-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 4.6vw, 42px);
  color: #fff; margin: 12px 0 18px;
}
.contact-lead { color: #cfd4dd; font-size: 16px; max-width: 600px; margin: 0 auto 40px; }
.contact-lead strong { color: var(--gold); }
.contact-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.c-btn {
  display: flex; align-items: center; gap: 14px; padding: 20px 32px; border-radius: 12px;
  min-width: 290px; transition: transform .2s, box-shadow .2s;
}
.c-btn span { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.c-btn small { font-size: 12px; opacity: .85; }
.c-btn strong { font-size: 22px; font-family: var(--mont); }
.c-tel { background: var(--gold); color: #1a1205; box-shadow: 0 12px 30px rgba(245,181,33,.3); }
.c-mail { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.c-btn:hover { transform: translateY(-3px); }
.c-tel:hover { box-shadow: 0 16px 38px rgba(245,181,33,.45); }
.contact-mail {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  color: #cfd4dd; font-size: 14.5px;
}
.contact-mail svg { color: var(--gold); flex: none; }
.contact-mail a { color: #fff; border-bottom: 1px solid rgba(245,181,33,.5); padding-bottom: 1px; word-break: break-all; }
.contact-mail a:hover { color: var(--gold); }

/* ===== Footer ===== */
.site-footer { background: #090b11; padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand .logo-ja { font-size: 19px; color: #fff; display: block; }
.footer-brand .logo-en { font-family: var(--mont); font-size: 10px; letter-spacing: .24em; color: var(--gold); display: block; margin: 4px 0 14px; }
.footer-tel { color: #c3c8d2; font-size: 13.5px; margin-top: 10px; }
.footer-tel a { color: #fff; }
.footer-tel a:hover { color: var(--gold); }
.footer-addr { color: var(--muted); font-size: 13.5px; max-width: 360px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 26px; align-content: flex-start; }
.footer-nav a { color: #c3c8d2; font-size: 14px; }
.footer-nav a:hover { color: var(--gold); }
.copyright { text-align: center; color: #5b626e; font-size: 12px; padding: 22px 0; border-top: 1px solid var(--line); }

/* ===== Responsive ===== */
@media (max-width: 960px){
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .figure-stat { left: 0; }
  .service-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .works-grid { grid-template-columns: repeat(2,1fr); }
  .license-grid { grid-template-columns: 1fr; max-width: 480px; }
  .lic-list { grid-template-columns: 1fr; }
  .lic-list li:nth-last-child(2){ border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px){
  .menu-toggle { display: flex; }
  .global-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78%, 300px); background: rgba(14,16,22,.98);
    backdrop-filter: blur(8px); transform: translateX(100%); transition: transform .35s;
    display: flex; align-items: center; padding-top: 40px; box-shadow: -10px 0 40px rgba(0,0,0,.5);
  }
  body.nav-open .global-nav { transform: translateX(0); }
  .global-nav ul { flex-direction: column; gap: 8px; width: 100%; }
  .global-nav a { display: block; padding: 16px 32px; font-size: 17px; }
  body.nav-open .menu-toggle span:nth-child(1){ transform: translateY(8.5px) rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2){ opacity: 0; }
  body.nav-open .menu-toggle span:nth-child(3){ transform: translateY(-8.5px) rotate(-45deg); }
  .header-inner .contact-btn { display: none; }
  .strength-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .hero-features { gap: 18px 26px; }
  .company-table th { width: 120px; padding: 14px 10px; font-size: 13.5px; }
  .company-table td { padding: 14px 10px; font-size: 14px; }
  .c-btn { min-width: 0; width: 100%; max-width: 360px; }
}
@media (max-width: 480px){
  .works-grid { grid-template-columns: 1fr; }
  .figure-stat { padding: 16px 20px; }
}

/* ===== Sample banner (fixed, follows scroll) ===== */
.sample-banner {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(14,16,22,.9); backdrop-filter: blur(10px);
  border: 1px solid rgba(245,181,33,.55); color: #f6e6bf;
  padding: 9px 16px 9px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .03em; white-space: nowrap;
  box-shadow: 0 12px 32px rgba(0,0,0,.5); cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: sb-in .5s ease both;
}
.sample-banner:hover {
  transform: translateX(-50%) translateY(-3px);
  border-color: rgba(245,181,33,.9);
  box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(245,181,33,.25);
}
.sample-banner:hover .sb-arrow { transform: translate(2px,-2px); }
@keyframes sb-in { from { opacity: 0; } to { opacity: 1; } }
.sb-arrow { color: var(--gold); opacity: .85; transition: transform .22s ease; }
.sb-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,181,33,.18); animation: sb-pulse 2s ease-in-out infinite;
}
@keyframes sb-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(245,181,33,.22); } 50% { box-shadow: 0 0 0 6px rgba(245,181,33,.06); } }
.sb-tag {
  font-family: var(--mont); font-weight: 700; font-size: 10.5px; letter-spacing: .18em;
  color: #1a1205; background: var(--gold); padding: 2px 8px; border-radius: 5px;
}
.sb-text { color: #f6e6bf; }
@media (max-width: 480px){
  .sample-banner { font-size: 11px; padding: 7px 13px 7px 10px; gap: 7px; bottom: 12px; }
  .sb-text { color: #f6e6bf; }
  .sample-banner .sb-text { font-size: 11px; }
}
