@charset "UTF-8";
/* =========================================================
   内装屋ひづめ - 共通スタイル (common.css)
   コンセプト: 表装の手仕事 / 紙と継ぎ目 / Before→After
   親しみやすさ × 大人の落ち着き（白 × 柿色オレンジ）
========================================================= */

/* ---------- カラー & 変数 ---------- */
:root {
  --orange: #e86e1e;          /* 柿色オレンジ（職人の橙） */
  --orange-dark: #c85912;
  --orange-soft: #f3d8bd;
  --orange-pale: #fbeede;
  --brown: #8a6a4b;           /* ロゴ調和の茶 */
  --brown-dark: #5f452e;
  --ink: #2a211c;             /* 墨に近いインクブラウン */
  --ink-soft: #4a3f37;
  --gray: #6b6058;
  --gray-light: #9b938b;
  --line-green: #06c755;
  --bg: #ffffff;
  --paper: #fbf8f3;           /* 温かみのある紙白 */
  --paper2: #f5eee4;
  --border: #ece3d6;
  --border-soft: #f1ebe1;
  --shadow: 0 18px 50px rgba(110, 80, 45, 0.13);
  --shadow-sm: 0 8px 24px rgba(110, 80, 45, 0.09);
  --shadow-xs: 0 3px 12px rgba(110, 80, 45, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-h: 86px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* 和紙風のごく薄いテクスチャ */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  --font-mincho: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  --font-gothic: "Zen Kaku Gothic New", "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Cormorant Garamond", serif;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-gothic);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.95;
  letter-spacing: 0.02em;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease), opacity 0.3s var(--ease); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- 共通レイアウト ---------- */
.container { width: min(92%, var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(92%, 880px); margin-inline: auto; }
.section { padding: clamp(66px, 9vw, 132px) 0; position: relative; }
.section--soft { background: var(--paper); background-image: var(--grain); }
.section--soft2 { background: var(--paper2); background-image: var(--grain); }

/* ---------- 継ぎ目モチーフ（縦のヘアライン） ---------- */
.seam {
  display: inline-block; width: 1px; height: 46px;
  background: linear-gradient(var(--orange), transparent);
}

/* ---------- セクション見出し（明朝主役 + 英字エイブロウ） ---------- */
.sec-head { text-align: center; margin-bottom: clamp(40px, 5vw, 66px); }
.sec-head__en {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: 1.05rem; font-weight: 600; letter-spacing: 0.22em;
  color: var(--orange); text-transform: uppercase; line-height: 1;
}
.sec-head__en::before {
  content: ""; width: 1px; height: 30px;
  background: linear-gradient(var(--orange-soft), var(--orange));
}
.sec-head__ja {
  display: block; margin-top: 18px;
  font-family: var(--font-mincho);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 700;
  letter-spacing: 0.04em; line-height: 1.5; color: var(--ink);
}
.sec-head--light .sec-head__en { color: #fff; }
.sec-head--light .sec-head__en::before { background: rgba(255,255,255,0.6); }
.sec-head--light .sec-head__ja { color: #fff; }

/* 小さなラベル（英） */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: 1.02rem; letter-spacing: 0.2em;
  color: var(--orange); font-weight: 600; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 1.5px; background: var(--orange); display: inline-block; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 36px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 12px 26px rgba(232,110,30,0.32); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-3px); box-shadow: 0 18px 34px rgba(232,110,30,0.42); }
.btn--line { background: var(--line-green); color: #fff; box-shadow: 0 12px 26px rgba(6,199,85,0.3); }
.btn--line:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(6,199,85,0.44); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 18px 46px; font-size: 1rem; }
.btn__ico { width: 19px; height: 19px; fill: currentColor; flex-shrink: 0; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.1em; color: var(--ink);
}
.arrow-link::after { content: ""; width: 36px; height: 1.5px; background: var(--orange); transition: width 0.35s var(--ease); display: inline-block; }
.arrow-link:hover { color: var(--orange-dark); }
.arrow-link:hover::after { width: 56px; }

/* =========================================================
   ローダー
========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--paper); background-image: var(--grain);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__logo {
  width: 96px; height: 96px; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); animation: loaderPulse 1.7s var(--ease) infinite;
}
.loader__logo img { width: 100%; height: 100%; object-fit: cover; }
.loader__name { font-family: var(--font-mincho); font-weight: 700; letter-spacing: 0.18em; color: var(--ink); font-size: 1.05rem; }
.loader__bar { width: 180px; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--orange); border-radius: 3px; animation: loaderBar 1.3s var(--ease) infinite; }
@keyframes loaderPulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes loaderBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

/* =========================================================
   ヘッダー
========================================================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.84); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.header.is-scrolled {
  height: 68px; background: rgba(255,255,255,0.96);
  box-shadow: 0 6px 24px rgba(110,80,45,0.08); border-bottom-color: var(--border-soft);
}
.header__inner { width: min(94%, 1280px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__logo { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-xs); flex-shrink: 0; }
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { line-height: 1.3; }
.brand__name { font-family: var(--font-mincho); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.06em; }
.brand__tag { font-size: 0.64rem; letter-spacing: 0.22em; color: var(--gray-light); font-family: var(--font-en); }

.gnav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.gnav__list { display: flex; align-items: center; gap: clamp(15px, 2vw, 30px); }
.gnav__link { position: relative; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; padding: 6px 0; }
.gnav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--orange); transition: width 0.3s var(--ease); }
.gnav__link:hover, .gnav__link.is-current { color: var(--orange-dark); }
.gnav__link:hover::after, .gnav__link.is-current::after { width: 100%; }
.gnav__cta { display: flex; align-items: center; gap: 10px; }
.gnav__cta .btn { padding: 11px 22px; font-size: 0.84rem; }

.hamburger { display: none; width: 46px; height: 46px; position: relative; z-index: 1200; border-radius: 12px; background: var(--orange); }
.hamburger span { position: absolute; left: 12px; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(251,248,243,0.98); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; padding: 80px 24px 40px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer__link { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-mincho); font-weight: 700; font-size: 1.22rem; padding: 13px 0; border-bottom: 1px solid var(--border); width: min(92%, 380px); }
.drawer__link span { font-family: var(--font-en); font-size: 0.78rem; color: var(--orange); letter-spacing: 0.12em; }
.drawer__cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   フローティング CTA（モバイル）
========================================================= */
.float-cta { position: fixed; left: 0; bottom: 0; width: 100%; z-index: 900; display: none; box-shadow: 0 -6px 20px rgba(0,0,0,0.1); }
.float-cta a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 11px 4px; color: #fff; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; }
.float-cta__line { background: var(--line-green); }
.float-cta__tel { background: var(--orange); }
.float-cta svg { width: 21px; height: 21px; fill: currentColor; }

/* =========================================================
   下層ページ ヒーロー
========================================================= */
.page-hero {
  position: relative; margin-top: var(--header-h);
  padding: clamp(74px, 10vw, 134px) 0 clamp(60px, 8vw, 104px);
  background: linear-gradient(125deg, var(--orange-pale), var(--paper) 60%);
  background-image: var(--grain), linear-gradient(125deg, var(--orange-pale), var(--paper) 60%);
  overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; right: -90px; top: -90px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(232,110,30,0.13), transparent 70%); }
.page-hero__inner { position: relative; text-align: center; }
.page-hero__en { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--font-en); font-size: clamp(2.6rem, 6.6vw, 4.2rem); font-weight: 600; color: var(--orange); line-height: 1; letter-spacing: 0.04em; }
.page-hero__en::before { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--orange-soft), var(--orange)); }
.page-hero__ja { display: block; margin-top: 18px; font-family: var(--font-mincho); font-weight: 700; letter-spacing: 0.14em; font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--ink); }

/* パンくず */
.breadcrumb { background: var(--bg); border-bottom: 1px solid var(--border-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; font-size: 0.78rem; color: var(--gray); }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--gray-light); }
.breadcrumb a:hover { color: var(--orange-dark); }

/* =========================================================
   共通 CTA セクション
========================================================= */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(125deg, #fff7ec 0%, #fbe7cf 100%); padding: clamp(60px, 8vw, 100px) 0; }
.cta-band::after { content: ""; position: absolute; left: -70px; bottom: -100px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(232,110,30,0.12), transparent 70%); }
.cta-band__inner { position: relative; text-align: center; }
.cta-band__lead { font-family: var(--font-mincho); font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; line-height: 1.6; margin: 18px 0 12px; }
.cta-band__lead em { color: var(--orange-dark); font-style: normal; }
.cta-band__sub { color: var(--gray); margin-bottom: 28px; }
.cta-band__order { font-size: 0.82rem; color: var(--orange-dark); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 22px; }
.cta-band__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band__tel { margin-top: 22px; font-size: 0.84rem; color: var(--gray); }
.cta-band__tel strong { font-family: var(--font-en); font-size: 1.55rem; color: var(--ink); letter-spacing: 0.04em; vertical-align: middle; }

/* =========================================================
   フッター
========================================================= */
.footer { background: var(--ink); color: #e9e1d6; padding: clamp(58px, 7vw, 88px) 0 0; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--orange), var(--brown)); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr; gap: 46px; }
.footer__brand { max-width: 330px; }
.footer__logo { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer__logo-img { width: 50px; height: 50px; border-radius: 13px; overflow: hidden; }
.footer__logo-img img { width: 100%; height: 100%; object-fit: cover; }
.footer__logo-name { font-family: var(--font-mincho); font-weight: 700; font-size: 1.15rem; }
.footer__logo-tag { font-size: 0.64rem; letter-spacing: 0.2em; color: var(--orange); font-family: var(--font-en); }
.footer__desc { font-size: 0.86rem; color: #b3a99d; line-height: 1.95; }
.footer__col-title { font-family: var(--font-en); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.18em; color: var(--orange); margin-bottom: 18px; }
.footer__nav li { margin-bottom: 11px; }
.footer__nav a { font-size: 0.9rem; color: #ddd4c8; }
.footer__nav a:hover { color: var(--orange); padding-left: 5px; }
.footer__info { font-size: 0.88rem; color: #c6bcb0; line-height: 2; }
.footer__info dt { color: var(--orange); font-size: 0.7rem; letter-spacing: 0.12em; margin-top: 13px; font-family: var(--font-en); font-weight: 600; }
.footer__info dt:first-child { margin-top: 0; }
.footer__contact-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.footer__bottom { margin-top: clamp(42px, 6vw, 66px); border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; text-align: center; font-size: 0.74rem; color: #8f867b; }
.footer__bottom a:hover { color: var(--orange); }

/* =========================================================
   スクロールアニメーション
========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* =========================================================
   レスポンシブ
========================================================= */
@media (max-width: 1024px) {
  .gnav__list { gap: 15px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .gnav__list, .gnav__cta { display: none; }
  .hamburger { display: block; }
  .float-cta { display: flex; padding-bottom: env(safe-area-inset-bottom); }
  body { padding-bottom: 60px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .brand__tag { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .btn { padding: 14px 26px; }
  .cta-band__btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
