:root {
    --bg: #0b0b0c;
    --bg-alt: #111113;
    --text: #ececec;
    --muted: #8d8d93;
    --line: rgba(255, 255, 255, .12);
    --accent: #f97316;
    --serif: "Noto Serif JP", serif;
    --sans: "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 300 16px/2 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 22px 40px; transition: background .4s; }
.header.scrolled { background: rgba(11, 11, 12, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { font: 700 24px/1 "Oswald", sans-serif; letter-spacing: .06em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 32px; font-size: 13px; letter-spacing: .12em; }
.nav a { color: var(--muted); transition: color .3s; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 0 40px; position: relative; background: radial-gradient(ellipse at 75% 20%, #1c140e 0%, var(--bg) 60%); }
.hero-inner { max-width: 1080px; margin: 0 auto; width: 100%; }
.eyebrow { font: 700 16px "Oswald", sans-serif; letter-spacing: .28em; color: var(--accent); margin-bottom: 24px; }
.hero h1 { font: 500 clamp(36px, 7vw, 80px)/1.35 var(--serif); letter-spacing: .06em; }
.hero-sub { margin-top: 36px; color: var(--muted); letter-spacing: .1em; }
.scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font: 400 11px "Oswald", sans-serif; letter-spacing: .3em; color: var(--muted); }
.scroll::after { content: ""; display: block; width: 1px; height: 48px; margin: 12px auto 0; background: var(--muted); }

/* Section */
.section { padding: 140px 0; }
.section.alt { background: var(--bg-alt); }
.label { font: 400 12px "Oswald", sans-serif; letter-spacing: .35em; color: var(--accent); text-transform: uppercase; margin-bottom: 20px; }
h2 { font: 500 clamp(24px, 3.4vw, 38px)/1.6 var(--serif); letter-spacing: .05em; margin-bottom: 48px; }
h3 { font: 500 20px/1.6 var(--serif); letter-spacing: .06em; }
.section p + p { margin-top: 1.6em; }
.lead { font: 400 20px/2.1 var(--serif); }

/* Standard */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.cols3 article { border-top: 1px solid var(--line); padding-top: 28px; }
.num { font: 400 14px "Oswald", sans-serif; letter-spacing: .2em; color: var(--accent); }
.cols3 h3 { margin: 12px 0 16px; font-size: 26px; }
.cols3 p, .list p { color: var(--muted); font-size: 15px; }

/* Service */
.list li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }

/* Company */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 22px 0; border-top: 1px solid var(--line); font-weight: 300; vertical-align: top; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 1px solid var(--line); }
.table th { width: 160px; color: var(--muted); }

/* Contact */
.notes { color: var(--muted); font-size: 14px; margin-bottom: 48px; }
.notes li::before { content: "・"; }
.form label { display: block; margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.form em { font-style: normal; font-size: 11px; color: var(--accent); margin-left: 8px; }
.form input[type=text], .form input[type=email], .form textarea { width: 100%; margin-top: 8px; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text); font: inherit; outline: none; transition: border-color .3s; }
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form .check { display: flex; gap: 12px; align-items: center; }
.form .check a { text-decoration: underline; }
.form button { margin-top: 12px; padding: 16px 56px; background: transparent; color: var(--text); border: 1px solid var(--text); font: inherit; letter-spacing: .2em; cursor: pointer; transition: all .3s; }
.form button:hover { background: var(--text); color: var(--bg); }
.form-status { margin-top: 20px; font-size: 14px; color: var(--accent); }

/* Footer */
.footer { padding: 56px 0 36px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer nav { display: flex; gap: 28px; }
.footer-in > p { width: 100%; margin-top: 24px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s, transform 1s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 800px) {
    .header { padding: 18px 20px; }
    .nav { gap: 16px; font-size: 11px; }
    .nav a:nth-child(-n+3) { display: none; }
    .hero { padding: 0 20px; }
    .section { padding: 90px 0; }
    .cols3 { grid-template-columns: 1fr; gap: 40px; }
    .list li { grid-template-columns: 1fr; gap: 8px; }
    .table th { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Works */
.works-lead { margin-bottom: 12px; }
.works-note { color: var(--muted); font-size: 14px; margin-bottom: 56px; }
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.works li { border-top: 1px solid var(--line); padding-top: 24px; }
.works .tag { font: 400 11px 'Oswald', sans-serif; letter-spacing: .25em; color: var(--accent); text-transform: uppercase; }
.works h3 { margin: 8px 0 12px; font-size: 18px; }
.works p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.legal h3 { margin: 48px 0 12px; font-size: 18px; }
.legal p, .legal li { color: #c8c8cc; font-size: 15px; }
.legal ul { margin: 12px 0 0 1.2em; list-style: disc; }
@media (max-width: 800px) { .works { grid-template-columns: 1fr; } }

/* --- Hero: 旧デザインを継承（レンズ写真＋オレンジのアクセント） --- */
.hero { justify-content: center; text-align: center; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; background: url('../img/hero_bg.jpg') center/cover; animation: scaleBg 20s linear infinite alternate; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,5,5,.55), rgba(5,5,5,.35) 45%, var(--bg)); }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { font: 700 clamp(36px, 6.2vw, 76px)/1.35 var(--sans); letter-spacing: .06em; text-shadow: 0 4px 28px rgba(0,0,0,.65); }
.hero-sub { color: #cfcfd4; }
.hl { color: var(--accent); font-weight: 700; }
.btn { display: inline-block; margin-top: 44px; padding: 16px 44px; background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; border: 0; border-radius: 4px; font: 500 15px var(--sans); letter-spacing: .08em; box-shadow: 0 4px 15px rgba(249,115,22,.3); cursor: pointer; transition: transform .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.45); }
.form button.btn, .form button.btn:hover { border: 0; color: #fff; background: linear-gradient(135deg, #f97316, #ea580c); }
.btn-block { width: 100%; }
.scroll { z-index: 2; }
@keyframes scaleBg { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Why: 写真＋テキスト */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; max-width: 1080px; }
.why-img { position: relative; }
.why-img img { width: 100%; display: block; border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; filter: brightness(.85); }
.why-img::after { content: ''; position: absolute; right: -16px; bottom: -16px; width: 60%; height: 60%; border: 1px solid var(--accent); border-radius: 4px; z-index: -1; }
@media (max-width: 800px) { .why { grid-template-columns: 1fr; gap: 40px; } .why-img img { aspect-ratio: 16/10; } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }

/* Service lead & tel input */
.service-lead { color: #d4d4d8; margin-bottom: 48px; max-width: 820px; }
.form input[type=tel] { width: 100%; margin-top: 8px; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text); font: inherit; outline: none; transition: border-color .3s; }
.form input[type=tel]:focus { border-color: var(--accent); }

/* Standard 3 cards images */
.std-img { margin-bottom: 20px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: #000; }
.std-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cols3 article:hover .std-img img { transform: scale(1.04); }

/* Service list with images */
.list.service-list li { grid-template-columns: 320px 1fr; gap: 44px; align-items: center; }
.srv-img { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: #000; }
.srv-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.list.service-list li:hover .srv-img img { transform: scale(1.04); }
.srv-body h3 { margin-bottom: 12px; }
@media (max-width: 800px) { .list.service-list li { grid-template-columns: 1fr; gap: 20px; } }
