/* ==========================================================================
   nuリノベーション 臨時LP（静的HTML）
   - カラー：primary #fff / secondary #000 / tertiary #efefef
   - フォント：和文 Noto Sans JP / 英数 Montserrat
   ========================================================================== */

:root {
  --primary: #ffffff;
  --secondary: #000000;
  --tertiary: #efefef;
  --ink: var(--secondary);
  --ink-sub: #666666;
  --line: #d4d4d4;
  --paper: var(--primary);
  --header-h: 64px;
  --wrap: 1120px;
  --ff-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --ff-en: "Montserrat", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .7; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { flex-shrink: 0; }
.logo img { height: 30px; width: auto; }
.gnav ul { display: flex; gap: 28px; align-items: center; }
.gnav a { font-family: var(--ff-en); font-size: 12px; font-weight: 600; letter-spacing: .14em; white-space: nowrap; }
.btn-contact-sm {
  display: inline-block; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; padding: 11px 36px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero { position: relative; height: min(78vh, 760px); height: min(78svh, 760px); min-height: 460px; overflow: hidden; background: #1a1a1a; }
.hero-slides, .hero-slides li, .hero-slides picture, .hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides img { object-fit: cover; }
.hero-slides li { opacity: 0; transition: opacity 1.8s ease; }
.hero-slides li.is-active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.48) 100%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14%; color: #fff; }
.hero-copy .lead { line-height: 1; }
.hero-copy .lead img { width: clamp(210px, 28vw, 364px); height: auto; filter: drop-shadow(0 1px 12px rgba(0,0,0,.25)); }
.hero-copy .sub { margin-top: 18px; font-size: 13px; letter-spacing: .16em; }
.hero-copy .hero-cta { display: inline-flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 220px; padding: 15px 28px; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 999px; transition: opacity .2s;
}
.btn.is-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.is-light { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Telephone strip ---------- */
.tel-strip { background: var(--secondary); color: var(--primary); }
.tel-strip .wrap { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; padding: 18px 0; font-size: 13px; letter-spacing: .06em; }
.tel-strip .num { font-family: var(--ff-en); font-size: 26px; font-weight: 600; letter-spacing: .06em; }
.tel-strip .hours { color: #cfcfcf; font-size: 12px; }

/* ---------- Section base ---------- */
.section { padding: 104px 0; }
.section.is-tertiary { background: var(--tertiary); }
.sec-head { display: flex; align-items: center; gap: 22px; margin-bottom: 40px; }
.initial {
  flex: none; width: 58px; height: 58px; border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--ff-en); font-size: 24px; font-weight: 500; letter-spacing: 0;
}
.sec-head .en { font-family: var(--ff-en); font-size: 24px; font-weight: 600; letter-spacing: .12em; line-height: 1.2; }
.sec-head .ja { display: block; font-family: var(--ff-base); font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--ink-sub); margin-top: 4px; }

/* ---------- Notice（イントロ上の枠付きお知らせ） ---------- */
.notice-frame {
  max-width: 720px; margin: 0 auto 64px; padding: 24px 32px 26px;
  border: 1px solid var(--ink); background: var(--primary);
}
.notice-frame .label { display: block; text-align: center; font-family: var(--ff-en); font-size: 16px; font-weight: 600; letter-spacing: .2em; color: var(--ink); }
.notice-frame .text { margin-top: 12px; font-size: 14px; line-height: 1.9; }
.notice-frame .text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Intro ---------- */
.intro { text-align: center; padding: 80px 0 24px; }
.intro .catch { font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; letter-spacing: .14em; line-height: 1.8; }
.intro .text { max-width: 680px; margin: 24px auto 0; color: var(--ink-sub); }

/* ---------- Service ---------- */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card { background: #fff; display: flex; flex-direction: column; }
.service-card .ph { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tertiary); }
.service-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.ph picture { display: block; height: 100%; }
.service-card .body { padding: 26px 24px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 19px; font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
.service-card p { margin-top: 14px; font-size: 14px; color: var(--ink-sub); flex: 1; }
.link-arrow { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-en); font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.link-arrow::after { content: ""; width: 34px; height: 1px; background: var(--ink); }

/* ---------- Works（Instagram 3×2） ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.works-grid li { aspect-ratio: 1 / 1; overflow: hidden; background: var(--primary); }
.works-grid img { width: 100%; height: 100%; object-fit: cover; }
.works-more { margin-top: 48px; text-align: center; }
.works-more p { font-size: 15px; font-weight: 500; letter-spacing: .1em; }
.works-more .btn { margin-top: 20px; font-family: var(--ff-en); font-weight: 600; letter-spacing: .16em; }

/* ---------- Order lines ---------- */
.lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
/* PC画像(約2.06:1)・SP画像(約1.36:1)の比率どおりに表示し、右上のラインバッジを切らない */
.line-item .ph { aspect-ratio: 1800 / 875; overflow: hidden; background: var(--tertiary); }
.line-item .ph img { width: 100%; height: 100%; object-fit: cover; }
.line-item .body { margin-top: 20px; }
.line-item .tag { font-family: var(--ff-en); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--ink-sub); }
.line-item h3 { margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.line-item p { margin-top: 8px; font-size: 13px; line-height: 1.85; color: var(--ink-sub); }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--line); padding: 48px 56px; }

.form-tabs { display: flex; gap: 0; margin-top: 40px; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.form-tabs button {
  flex: 1 1 0; min-width: 160px; padding: 16px 12px; background: #fff; border: 1px solid var(--line); border-bottom: 0; margin-right: -1px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; color: var(--ink-sub);
}
.form-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-panel { padding-top: 32px; }
.form-panel[hidden] { display: none; }
.form-panel .desc { font-size: 13px; color: var(--ink-sub); margin-bottom: 24px; }
.form-fallback { display: none; margin-top: 16px; padding: 16px 18px; background: var(--tertiary); font-size: 13px; }
.form-fallback.is-show { display: block; }
.form-notes { margin-top: 28px; font-size: 12px; color: var(--ink-sub); line-height: 1.9; }
.form-notes li { padding-left: 1.2em; text-indent: -1.2em; }
.form-notes li::before { content: "※"; margin-right: .2em; }

/* HubSpot form: ブランドトーンに寄せる（HubSpot側の既定スタイルを上書き） */
.hs-form-frame { min-height: 120px; }
.hs-form-frame .hs-form-field label, .hs-form-frame label { font-family: var(--ff-base); }
.hs-form-frame input[type="submit"], .hs-form-frame .hs-button {
  background: var(--ink) !important; color: #fff !important; border-radius: 999px !important; border: 0 !important;
  padding: 16px 48px !important; font-weight: 700 !important; letter-spacing: .1em !important; cursor: pointer;
}

/* ---------- Company ---------- */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.dl-table { border-top: 1px solid var(--line); }
.dl-table div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dl-table dt { font-weight: 700; letter-spacing: .08em; font-size: 13px; }
.company .about p + p { margin-top: 1em; }
.sns { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.sns a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 12px; font-family: var(--ff-en); font-weight: 600; letter-spacing: .08em; }

/* ---------- Privacy ---------- */
.privacy { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 24px; }
.privacy summary { cursor: pointer; font-size: 14px; font-weight: 700; letter-spacing: .08em; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after { content: "+"; font-family: var(--ff-en); font-size: 22px; font-weight: 400; }
.privacy[open] summary::after { content: "−"; }
.privacy .body { margin-top: 24px; font-size: 13px; line-height: 1.95; color: var(--ink-sub); }
.privacy h3 { margin: 28px 0 8px; font-size: 14px; color: var(--ink); }
.privacy ol { list-style: decimal; padding-left: 1.6em; }
.privacy li { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--secondary); color: var(--primary); padding: 56px 0 36px; }
.site-footer .row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-end; }
.site-footer .logo img { height: 32px; filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; font-size: 12.5px; line-height: 1.9; color: #d6d6d6; margin-top: 18px; }
.site-footer .copy { margin-top: 40px; font-family: var(--ff-en); font-size: 11px; letter-spacing: .1em; color: #9a9a9a; }

/* ---------- Fixed SP CTA ---------- */
.sp-cta { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ロゴ＋ナビ＋ボタンが1行に収まらなくなる幅でナビを隠す */
@media (max-width: 760px) {
  .gnav { display: none; }
}
@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .contact-card { padding: 40px 32px; }
  .service-list { grid-template-columns: 1fr; gap: 28px; }
  .service-card { flex-direction: row; }
  .service-card .ph { width: 42%; aspect-ratio: auto; }
  .company { grid-template-columns: 1fr; gap: 40px; }
}
/* フォームのタブ：3列だと3行に折り返す幅から縦積みにする */
@media (max-width: 720px) {
  .form-tabs button { flex: 1 1 100%; border-bottom: 1px solid var(--line); margin-right: 0; margin-bottom: -1px; }
  .form-tabs br { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 56px; }
  body { font-size: 14px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .wrap { width: calc(100% - 32px); }
  .logo img { height: 26px; }
  .btn-contact-sm { padding: 9px 26px; }
  .notice-frame { padding: 20px 18px 22px; margin-bottom: 48px; text-align: left; }
  .notice-frame .text { font-size: 13px; }
  .works-grid { gap: 6px; }
  .works-more { margin-top: 36px; }
  .hero { height: 70vh; height: 70svh; min-height: 420px; }
  /* SP：コピーをKVの上下左右中央に、KV幅の80%で表示 */
  .hero-copy { top: 0; bottom: 0; display: flex; align-items: center; }
  .hero-copy .wrap { width: 100%; }
  .hero-copy .lead img { width: 70%; margin-inline: auto; }
  .hero-copy .hero-cta .btn { min-width: 0; width: 100%; }
  .tel-strip .wrap { gap: 6px; flex-direction: column; text-align: center; }
  .tel-strip .num { font-size: 24px; }
  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 28px; gap: 16px; }
  .initial { width: 48px; height: 48px; font-size: 20px; }
  .sec-head .en { font-size: 20px; }
  .service-card { flex-direction: column; }
  .service-card .ph { width: 100%; aspect-ratio: 3 / 2; }
  .lines { grid-template-columns: 1fr; gap: 44px; }
  .line-item .ph { aspect-ratio: 1800 / 1322; }
  .line-item .body { margin-top: 16px; }
  .contact-card { padding: 28px 18px; }
  .dl-table div { grid-template-columns: 92px 1fr; }
  .site-footer { padding-bottom: 92px; }
  .sp-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line);
  }
  .sp-cta a { padding: 14px 8px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
  .sp-cta a:first-child { background: #fff; }
  .sp-cta a:last-child { background: var(--ink); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides li { transition: none; }
}
