@charset "UTF-8";
/* =========================================================
   落合住宅機器 トップページ（白ベース・ワイド）
   brand  #3A2BA0  ロゴの紫（画面用にわずかに明るく）
   gold   #F3C300  ロゴの黄（差し色のみ）
   logis  #0F2F80  設備ロジス.com 本家サイトの紺
   ========================================================= */
:root {
  --ink: #16142B;
  --text: #45435A;
  --muted: #8D8BA2;
  --line: #E4E3EC;
  --soft: #F4F3F9;
  --brand: #3A2BA0;
  --brand-deep: #2C1F88;
  --brand-pale: #EFEDF8;
  --gold: #F3C300;
  --logis: #0F2F80;
  --logis-2: #1E4DB3;

  --ff: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --ff-en: "Jost", "Futura", "Century Gothic", sans-serif;
  --ff-logis: "Oswald", "Arial Narrow", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --side: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --ease: cubic-bezier(.22, .8, .26, 1);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--ff); font-size: 15px; line-height: 2; letter-spacing: .05em; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.45; letter-spacing: .06em; word-break: auto-phrase; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.sec { padding-block: clamp(80px, 11vw, 150px); position: relative; }

/* ---------- 見出しまわり ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-en); font-size: 12px; font-weight: 500; letter-spacing: .26em; color: var(--brand); line-height: 1;
}
.kicker::before {
  /* ロゴの紫と黄の二本線 */
  content: ""; width: 20px; height: 16px; flex: none;
  background: linear-gradient(90deg, transparent 0 5px, var(--brand) 5px 8px, transparent 8px 12px, var(--gold) 12px 15px, transparent 15px);
  transform: skewX(-28deg);
}
.kicker--light { color: #C9C3F2; }
.h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 14px; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { text-align: center; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }

/* ---------- ボタン ---------- */
.arw { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid currentColor; flex: none; transition: transform .35s var(--ease), background-color .3s; }
.arw::before { content: ""; position: absolute; left: 9px; top: 14px; width: 11px; height: 1px; background: currentColor; }
.arw::after { content: ""; position: absolute; left: 15px; top: 11px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 58px; padding: 0 14px 0 28px; font-size: 14px; font-weight: 700; letter-spacing: .1em;
  border: 1px solid var(--ink); transition: background-color .3s, color .3s, border-color .3s;
}
.btn:hover .arw { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brand); border-color: var(--brand); }
.btn--line { background: #fff; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: var(--gold); border-color: var(--gold); }
.btn--sm { min-height: 46px; padding: 0 20px; gap: 10px; justify-content: center; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }
.link-more { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.link-more .arw { width: 26px; height: 26px; }
.link-more .arw::before { left: 7px; top: 12px; width: 10px; }
.link-more .arw::after { left: 12px; top: 9px; }
.link-more:hover .arw { transform: translateX(4px); background: var(--ink); color: #fff; }

/* =========================================================
   Header
   ========================================================= */
.header { position: relative; z-index: 40; background: #fff; }
.header__inner { height: 92px; display: flex; align-items: center; gap: 28px; padding-inline: clamp(20px, 3vw, 44px); }
.header__logo img { width: 216px; height: auto; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.gnav a { position: relative; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink); padding: 8px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__tel { display: flex; flex: none; white-space: nowrap; align-items: center; gap: 8px; color: var(--ink); }
.header__tel svg { width: 18px; height: 18px; fill: var(--brand); }
.header__tel span { display: grid; line-height: 1.25; }
.header__tel b { font-family: var(--ff-en); font-size: 20px; font-weight: 600; letter-spacing: .04em; }
.header__tel small { font-size: 10.5px; color: var(--muted); letter-spacing: .02em; }

/* ハンバーガー */
.menu-btn { border: 0; padding: 0; cursor: pointer; font: inherit; display: grid; place-items: center; align-content: center; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .3s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
.menu-btn i::before { top: -7px; } .menu-btn i::after { top: 7px; }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-7px) rotate(-45deg); }
.menu-btn--in { display: none; width: 52px; height: 52px; margin-left: auto; background: var(--ink); color: #fff; }
.menu-btn--float {
  position: fixed; z-index: 130; top: calc(18px + env(safe-area-inset-top, 0px)); right: 18px;
  width: 68px; height: 68px; background: var(--ink); color: #fff;
  transform: translateY(-160%); transition: transform .45s var(--ease), background-color .3s;
}
.menu-btn--float span { font-family: var(--ff-en); font-size: 10px; letter-spacing: .2em; margin-top: 10px; line-height: 1; }
.menu-btn--float:hover { background: var(--brand); }
.is-scrolled .menu-btn--float, .menu-open .menu-btn--float { transform: none; }

/* 右のフローティングタブ */
.side-tabs { position: fixed; z-index: 60; right: 0; top: 50%; translate: 0 -50%; display: grid; gap: 2px; transform: translateX(110%); transition: transform .45s var(--ease); }
.is-scrolled .side-tabs { transform: none; }
.menu-open .side-tabs { transform: translateX(110%); }
.side-tabs__item { width: 54px; padding: 20px 0 22px; display: grid; justify-items: center; gap: 12px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .14em; transition: width .3s var(--ease), background-color .3s; }
.side-tabs__item span { writing-mode: vertical-rl; }
.side-tabs__item svg { width: 18px; height: 18px; fill: currentColor; }
.side-tabs__item--logis { background: var(--logis); }
.side-tabs__item--logis:hover { background: var(--logis-2); width: 62px; }
.side-tabs__item--contact { background: var(--brand); }
.side-tabs__item--contact:hover { background: var(--brand-deep); width: 62px; }

/* 左下のフローティングバナー（設備ロジス.com） */
.float-logis { position: fixed; z-index: 60; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 300px; background: #fff; box-shadow: 0 14px 40px rgba(15, 47, 128, .22); transform: translateY(160%); transition: transform .5s var(--ease); }
.is-scrolled .float-logis { transform: none; }
.float-logis.is-closed, .menu-open .float-logis { transform: translateY(160%); }
.float-logis > a { display: block; }
.float-logis__bar { display: block; background: var(--logis); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 6px 36px 6px 12px; line-height: 1.5; }
.float-logis__body { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.float-logis__body img { width: 112px; }
.float-logis__txt { display: grid; line-height: 1.35; }
.float-logis__txt b { color: var(--logis); font-size: 15px; font-weight: 900; letter-spacing: .08em; }
.float-logis__txt small { color: var(--logis-2); font-size: 11.5px; font-weight: 700; margin-top: 2px; }
.float-logis a:hover .float-logis__txt b { text-decoration: underline; text-underline-offset: 3px; }
.float-logis__close { position: absolute; top: 0; right: 0; width: 30px; height: 30px; border: 0; background: transparent; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; z-index: 1; }

/* スマホ下部バー */
.sp-bar { display: none; }

/* 全画面メニュー */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--ink); color: #fff; overflow-y: auto; opacity: 0; transition: opacity .35s; }
.menu.is-open { opacity: 1; }
.menu__inner { width: min(100% - var(--gutter) * 2, 1100px); margin-inline: auto; padding: calc(120px + env(safe-area-inset-top, 0px)) 0 calc(60px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; }
.menu__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.menu__list a { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; border-bottom: 1px solid #2E2B4A; font-size: 19px; font-weight: 700; }
.menu__list small { font-family: var(--ff-en); font-size: 11px; letter-spacing: .22em; color: #8B86B8; }
.menu__list a:hover span { color: var(--gold); }
.menu.is-open .menu__list li { animation: menu-in .5s var(--ease) both; }
.menu.is-open .menu__list li:nth-child(2) { animation-delay: .04s; } .menu.is-open .menu__list li:nth-child(3) { animation-delay: .08s; }
.menu.is-open .menu__list li:nth-child(4) { animation-delay: .12s; } .menu.is-open .menu__list li:nth-child(5) { animation-delay: .16s; }
.menu.is-open .menu__list li:nth-child(6) { animation-delay: .2s; } .menu.is-open .menu__list li:nth-child(7) { animation-delay: .24s; }
.menu.is-open .menu__list li:nth-child(8) { animation-delay: .28s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(14px); } }
.menu__tel { display: grid; line-height: 1.3; margin-bottom: 28px; }
.menu__tel small { font-size: 12px; color: #8B86B8; }
.menu__tel b { font-family: var(--ff-en); font-size: 40px; font-weight: 500; margin-top: 6px; }
.menu__tel span { font-size: 12px; color: #B5B1D8; margin-top: 4px; }
.menu__side .btn { width: 100%; }
.menu-open { overflow: hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: clamp(28px, 5vw, 64px); position: relative; }
.hero__head { display: grid; grid-template-columns: max-content minmax(260px, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero__title { font-size: clamp(36px, 4.6vw, 68px); font-weight: 900; line-height: 1.32; letter-spacing: .04em; margin-top: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; white-space: nowrap; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .14s; }
.hero__title em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 82%, var(--gold) 82% 94%, transparent 94%) no-repeat; background-size: 0 100%; animation: marker .9s .95s var(--ease) forwards; }
@keyframes rise { to { transform: none; } }
@keyframes marker { to { background-size: 100% 100%; } }
.hero__side { padding-bottom: 10px; }
.hero__side p { font-size: 14.5px; line-height: 2.1; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__btns .btn { min-width: 200px; }

.hero__visual { position: relative; margin-top: clamp(40px, 5vw, 64px); padding-left: var(--side); }
.hero__slides { position: relative; z-index: 1; height: clamp(300px, 44vw, 640px); overflow: hidden; background: var(--soft); clip-path: inset(0 0 0 100%); animation: reveal 1.4s .35s var(--ease) forwards; }
@keyframes reveal { to { clip-path: inset(0 0 0 0); } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.slide.is-active { opacity: 1; }
.slide.is-active img { animation: kenburns 8s linear forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__block { position: absolute; z-index: 0; left: calc(var(--side) - clamp(20px, 3vw, 40px)); top: clamp(40px, 6vw, 90px); width: 28%; height: calc(100% - clamp(40px, 6vw, 90px) + clamp(20px, 3vw, 40px) - 56px); background: var(--brand); transform: scaleY(0); transform-origin: bottom; animation: grow 1s .9s var(--ease) forwards; }
@keyframes grow { to { transform: none; } }
.hero__meta { display: flex; justify-content: space-between; align-items: center; height: 56px; position: relative; z-index: 2; }
.hero__scroll { display: flex; align-items: center; gap: 14px; font-family: var(--ff-en); font-size: 11px; letter-spacing: .26em; color: var(--ink); margin-left: calc(clamp(20px, 3vw, 40px) + 12px); }
.hero__scroll i { position: relative; width: 64px; height: 1px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scroll-line 2.2s var(--ease) infinite; }
@keyframes scroll-line { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.hero__counter { display: flex; align-items: center; gap: 14px; font-family: var(--ff-en); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.hero__counter b { color: var(--ink); font-weight: 600; }
.hero__counter .bar { width: 80px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.hero__counter .bar i { position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.hero__counter .bar i.run { animation: bar 7s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { overflow: hidden; padding-block: clamp(36px, 5vw, 64px) 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--ff-en); font-weight: 500; font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px #CFCBE6; white-space: nowrap; display: flex; align-items: center; }
.marquee span::after { content: ""; width: .18em; height: .18em; background: var(--gold); border-radius: 50%; margin: 0 .6em; -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   About
   ========================================================= */
.about { overflow: hidden; }
.bigword { position: absolute; top: clamp(40px, 6vw, 90px); right: -2vw; font-family: var(--ff-en); font-weight: 600; font-size: clamp(110px, 20vw, 300px); line-height: 1; color: var(--brand-pale); letter-spacing: .02em; pointer-events: none; z-index: 0; }
.about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about__photo { position: relative; max-width: 460px; margin-left: clamp(20px, 3vw, 40px); }
.about__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__block { position: absolute; left: clamp(-40px, -3vw, -20px); bottom: clamp(-40px, -3vw, -20px); width: 70%; height: 60%; background: var(--brand); z-index: 0; }
.about__photo figcaption { position: absolute; z-index: 2; right: -1px; bottom: -1px; background: #fff; padding: 10px 18px 0 22px; font-family: var(--ff-en); font-size: 11px; letter-spacing: .26em; color: var(--ink); }
.about__lead { margin-top: 32px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; color: var(--ink); line-height: 1.9; }
.about__text { margin-top: 22px; display: grid; gap: 1em; }
.about__points { margin: 32px 0 40px; border-top: 1px solid var(--line); }
.about__points li { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 14.5px; }
.about__points b { font-family: var(--ff-en); font-weight: 500; color: var(--brand); font-size: 13px; letter-spacing: .1em; }

/* =========================================================
   Numbers
   ========================================================= */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.num { padding: clamp(36px, 4vw, 56px) clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.num:first-child { border-left: 0; }
.num__label { font-size: 13px; font-weight: 700; color: var(--brand); }
.num__val { color: var(--ink); line-height: 1; margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.num__val b { font-family: var(--ff-en); font-weight: 500; font-size: clamp(52px, 6vw, 84px); letter-spacing: .01em; }
.num__val small, .num__val span { font-size: 16px; font-weight: 700; }
.num__note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* =========================================================
   Products
   ========================================================= */
.products { background: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.card { position: relative; background: #fff; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(22, 20, 43, .1); }
.card__img { overflow: hidden; aspect-ratio: 16 / 10; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 30px clamp(22px, 2.4vw, 32px) 32px; display: flex; flex-direction: column; flex: 1; position: relative; }
.card__no { position: absolute; right: 18px; top: -34px; background: #fff; padding: 8px 12px 0; font-family: var(--ff-en); font-weight: 400; font-size: 46px; line-height: 1; color: var(--brand); letter-spacing: .02em; }
.card__en { font-family: var(--ff-en); font-size: 11px; letter-spacing: .24em; color: var(--brand); }
.card h3 { font-size: 21px; margin-top: 8px; }
.card__body > p:not(.card__en) { font-size: 13.5px; line-height: 1.95; margin-top: 12px; flex: 1; }
.card__more { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); }
.card:hover .card__more .arw { background: var(--ink); color: #fff; transform: translateX(4px); }

/* =========================================================
   設備ロジス.com バナー（本家サイトの意匠に合わせる）
   ========================================================= */
.logis { background: var(--soft); padding-bottom: clamp(80px, 11vw, 150px); }
.logis__box { display: block; background: #fff; border: 1px solid #D5D9E2; transition: box-shadow .4s, transform .4s var(--ease); }
.logis__box:hover { box-shadow: 0 20px 50px rgba(15, 47, 128, .16); transform: translateY(-4px); }
.logis__top { display: flex; justify-content: space-between; gap: 16px; background: var(--logis); color: #fff; font-size: 12px; font-weight: 700; padding: 9px 24px; line-height: 1.5; letter-spacing: .04em; }
.logis__top span { color: #FFE36B; }
.logis__main { display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; }
.logis__left { padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.logis__logo { width: 210px; }
.logis__catch { margin-top: 20px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 900; color: var(--logis); letter-spacing: .12em; line-height: 1.3; }
.logis__sub { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--logis); letter-spacing: .06em; }
.logis__search { margin-top: 26px; display: flex; width: 100%; max-width: 420px; }
.logis__input { flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border: 1px solid #C6CCD8; border-right: 0; border-radius: 23px 0 0 23px; background: #fff; color: #9AA1B0; font-size: 13px; }
.logis__input::before { content: ""; width: 12px; height: 12px; border: 2px solid #9AA1B0; border-radius: 50%; flex: none; }
.logis__go { display: grid; place-items: center; width: 92px; height: 46px; background: var(--logis); color: #fff; font-weight: 700; font-size: 14px; border-radius: 0 23px 23px 0; letter-spacing: .1em; transition: background-color .3s; }
.logis__box:hover .logis__go { background: var(--logis-2); }
.logis__right { display: grid; place-items: center; padding: 24px; background-color: #EEF0F4; background-image: radial-gradient(#D9DDE5 1px, transparent 1.2px); background-size: 8px 8px; }
.logis__right img { width: min(100%, 560px); transition: transform .8s var(--ease); }
.logis__box:hover .logis__right img { transform: scale(1.04); }
.logis__cats { display: flex; align-items: center; gap: 24px; background: var(--logis); padding: 16px 24px; }
.logis__label { font-family: var(--ff-logis); font-weight: 600; font-size: 22px; letter-spacing: .02em; color: #fff; line-height: 1; white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.logis__label small { font-family: var(--ff); font-size: 11px; font-weight: 700; padding-left: 12px; border-left: 1px solid #fff; }
.logis__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.logis__tabs span { background: var(--logis-2); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 14px; line-height: 1.6; letter-spacing: .04em; }

/* =========================================================
   News
   ========================================================= */
.news__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(48px, 7vw, 100px); }
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.events a { display: block; }
.events__img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--soft); }
.events__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.events a:hover img { transform: scale(1.06); }
.events__txt { display: grid; margin-top: 14px; line-height: 1.7; }
.events time { font-family: var(--ff-en); font-size: 13px; letter-spacing: .1em; color: var(--brand); }
.events b { font-size: 14.5px; color: var(--ink); margin-top: 4px; }
.events a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.plist { border-top: 1px solid var(--ink); }
.plist a { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 20px 36px 20px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.75; color: var(--ink); transition: padding-left .35s var(--ease), background-color .3s; }
.plist a::after { content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: translateY(-50%) rotate(45deg); transition: right .35s var(--ease); }
.plist a:hover { padding-left: 12px; background: var(--soft); }
.plist a:hover::after { right: 4px; }
.plist time { font-family: var(--ff-en); color: var(--muted); letter-spacing: .08em; }

/* =========================================================
   Company（ダーク面。写真には何も重ねない）
   ========================================================= */
.company { background: var(--ink); color: #C9C6DE; }
.company .h2 { color: #fff; }
.company__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.company__text { margin-top: 26px; font-size: 14.5px; }
.company__links { margin-top: 40px; border-top: 1px solid #2E2B4A; }
.company__links a { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; padding: 22px 8px 22px 0; border-bottom: 1px solid #2E2B4A; color: #fff; transition: padding-left .35s var(--ease); }
.company__links .en { font-family: var(--ff-en); font-size: 11px; letter-spacing: .22em; color: #8B86B8; }
.company__links b { font-size: 17px; }
.company__links a:hover { padding-left: 14px; }
.company__links a:hover .arw { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.company__photo { position: relative; }
.company__photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold); }
.company__photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* =========================================================
   Contact
   ========================================================= */
.contact { position: relative; overflow: hidden; background: #0F0D20; color: #C9C6DE; padding-block: clamp(80px, 10vw, 130px); }
.contact .h2 { color: #fff; }
.contact__stripe { position: absolute; right: -10%; top: -20%; width: 46%; height: 160%; transform: rotate(32deg); background: repeating-linear-gradient(90deg, #1D1A3A 0 70px, transparent 70px 110px, var(--brand) 110px 124px, transparent 124px 190px); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact__text { margin-top: 24px; }
.contact__boxes { display: grid; gap: 12px; }
.contact__tel { display: grid; border: 1px solid #3A3760; padding: 24px 28px; background: #0F0D20; line-height: 1.5; color: #fff; transition: border-color .3s; }
.contact__tel:hover { border-color: var(--gold); }
.contact__tel small { font-size: 12px; color: #B5B1D8; }
.contact__tel b { font-family: var(--ff-en); font-weight: 500; font-size: clamp(32px, 3.6vw, 44px); letter-spacing: .03em; line-height: 1.2; margin-top: 6px; }
.contact__tel span { font-size: 11.5px; color: #8B86B8; margin-top: 6px; }
.contact__mail, .contact__blog { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 0 16px 0 28px; font-weight: 700; font-size: 14.5px; letter-spacing: .08em; transition: background-color .3s, color .3s; }
.contact__mail { background: #fff; color: var(--ink); }
.contact__mail:hover { background: var(--gold); }
.contact__blog { background: var(--brand); color: #fff; }
.contact__blog .en { font-family: var(--ff-en); font-size: 11px; letter-spacing: .24em; color: #C9C3F2; margin-right: auto; padding-right: 18px; }
.contact__blog:hover { background: var(--brand-deep); }
.contact__mail:hover .arw, .contact__blog:hover .arw { transform: translateX(4px); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #fff; padding-top: clamp(64px, 8vw, 96px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.footer__logo img { width: 216px; }
.footer address { margin-top: 24px; font-size: 13px; line-height: 2; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__nav a { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; padding: 5px 0; color: var(--ink); }
.footer__nav a::before { content: ""; width: 10px; height: 1px; background: var(--muted); transition: width .3s var(--ease), background-color .3s; }
.footer__nav a:hover::before { width: 18px; background: var(--brand); }
.footer__big { font-family: var(--ff-en); font-weight: 600; font-size: clamp(48px, 10.6vw, 170px); line-height: .9; letter-spacing: .01em; color: var(--brand-pale); white-space: nowrap; text-align: center; margin: clamp(56px, 7vw, 96px) 0 0; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }

.pagetop { position: fixed; z-index: 55; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .3s, background-color .3s, color .3s; }
.pagetop svg { width: 20px; height: 20px; }
.pagetop:hover { background: var(--ink); color: #fff; }
.is-scrolled .pagetop { opacity: 1; visibility: visible; }

/* =========================================================
   スクロールで現れる動き
   ========================================================= */
[data-anim] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-anim].is-in { opacity: 1; transform: none; }
.hero [data-anim] { transition-delay: .5s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1360px) {
  .header__tel { display: none; }
}
@media (max-width: 1180px) {
  .header__inner { gap: 20px; }
  .gnav ul { gap: 16px; }
  .gnav a { font-size: 13.5px; }
}
@media (max-width: 1040px) {
  .gnav, .header__cta { display: none; }
  .menu-btn--in { display: grid; }
  .header__inner { height: 76px; }
  .hero__head { grid-template-columns: 1fr; }
  .menu__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .about__grid, .company__grid, .contact__grid, .news__grid, .footer__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 360px; }
  .cards { grid-template-columns: 1fr; }
  .logis__main { grid-template-columns: 1fr; }
  .logis__cats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .logis__top span { display: none; }
}
@media (max-width: 767px) {
  body { font-size: 14.5px; padding-bottom: 60px; }
  .header__logo img { width: 180px; }
  .hero__title { font-size: min(36px, 9vw); }
  .hero__btns .btn { min-width: 0; flex: 1 1 100%; }
  .hero__visual { padding-left: 20px; }
  .hero__block { left: 0; width: 40%; }
  .hero__scroll { margin-left: 0; }
  .numbers__grid { grid-template-columns: 1fr; }
  .num { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .num:first-child { border-top: 0; }
  .events { grid-template-columns: 1fr; }
  .events a { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
  .events__txt { margin-top: 0; }
  .menu__list { grid-template-columns: 1fr; }
  .company__links a { grid-template-columns: 1fr auto; }
  .company__links .en { display: none; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .side-tabs, .float-logis { display: none; }
  .menu-btn--float { width: 56px; height: 56px; top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; }
  .pagetop { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); right: 12px; width: 44px; height: 44px; }
  .sp-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); transform: translateY(110%); transition: transform .45s var(--ease); }
  .is-scrolled .sp-bar { transform: none; }
  .menu-open .sp-bar { transform: translateY(110%); }
  .sp-bar a { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; color: #fff; font-size: 11px; font-weight: 700; border-left: 1px solid #2E2B4A; }
  .sp-bar a:first-child { border-left: 0; }
  .sp-bar svg { width: 18px; height: 18px; fill: currentColor; }
  .sp-bar a.is-logis { background: var(--logis); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__title .line > span { transform: none; }
  .hero__slides { clip-path: none; }
  .hero__block { transform: none; }
  .hero__title em { background-size: 100% 100%; }
  [data-anim] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- 調整 ---------- */
.hero__btns { flex-direction: column; max-width: 320px; }
.hero__btns .btn { width: 100%; }
.hero__block { top: 18%; height: auto; bottom: 56px; }
.float-logis { transform: translateY(160%); }
.is-scrolled.is-past-hero .float-logis { transform: none; }
.float-logis.is-closed { transform: translateY(160%) !important; }
.footer__big { font-size: clamp(40px, 7.4vw, 120px); }
.card__img { aspect-ratio: 16 / 9; }

/* 企業情報は明るい面にして、ダークはお問い合わせだけに */
.company { background: #fff; color: var(--text); }
.company .h2 { color: var(--ink); }
.company .kicker--light { color: var(--brand); }
.company__links { border-top-color: var(--ink); }
.company__links a { color: var(--ink); border-bottom-color: var(--line); }
.company__links .en { color: var(--brand); }
.company__links a:hover { background: var(--soft); }
.company__links a:hover .arw { background: var(--ink); border-color: var(--ink); color: #fff; }
.company__photo::before { border-color: var(--brand); }
.company { border-top: 1px solid var(--line); }
.hero__head > * { min-width: 0; }
@media (max-width: 767px) {
  .hero__title { font-size: min(30px, 7.8vw); letter-spacing: .02em; }
  .kicker { letter-spacing: .16em; font-size: 11px; }
  .hero__btns { max-width: none; }
}
.footer__big { font-size: clamp(26px, 7.4vw, 120px); } @media (max-width: 767px){ .company__photo::before { inset: 14px -10px -14px 14px; } }

/* =========================================================
   下層ページ
   ========================================================= */
.sec--tight { padding-block: clamp(56px, 7vw, 100px); }
.sec--soft { background: var(--soft); }
.sec-lead { margin-top: 18px; max-width: 46em; font-size: 14.5px; }
.sec-head--center .sec-lead { margin-inline: auto; }
.anchor { display: block; position: relative; top: -24px; visibility: hidden; }

/* グローバルナビのサブメニュー */
.gnav li { position: relative; }
.gnav__sub { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 190px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(22,20,43,.1); padding: 8px 0; display: block !important; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 50; }
.gnav li:hover > .gnav__sub, .gnav li:focus-within > .gnav__sub { opacity: 1; visibility: visible; }
.gnav__sub a { display: block; padding: 10px 22px; font-size: 13.5px; white-space: nowrap; }
.gnav__sub a::after { display: none; }
.gnav__sub a:hover { background: var(--soft); color: var(--brand); }

/* ページ見出し */
.phead { position: relative; overflow: hidden; padding-top: clamp(32px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.phead__big { position: absolute; left: -.04em; top: clamp(4px, 2vw, 24px); font-family: var(--ff-en); font-weight: 600; font-size: clamp(80px, 13vw, 200px); line-height: 1; color: var(--brand-pale); white-space: nowrap; pointer-events: none; letter-spacing: .01em; }
.phead__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-bottom: clamp(40px, 5vw, 64px); }
.phead__title { font-size: clamp(32px, 4.4vw, 60px); font-weight: 900; letter-spacing: .06em; margin-top: 22px; line-height: 1.3; }
.phead__lead { margin-top: 24px; font-size: 14.5px; max-width: 34em; }
.phead__img { position: relative; margin-right: clamp(0px, 2vw, 24px); }
.phead__img img { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; clip-path: inset(0 0 0 100%); animation: reveal 1.2s .2s var(--ease) forwards; }
.phead__block { position: absolute; right: clamp(-24px, -2vw, -12px); bottom: clamp(-24px, -2vw, -12px); width: 46%; height: 64%; background: var(--brand); transform: scaleY(0); transform-origin: bottom; animation: grow .9s .7s var(--ease) forwards; }
.phead .kicker, .phead__title, .phead__lead { animation: fade-up .9s var(--ease) both; }
.phead__title { animation-delay: .08s; } .phead__lead { animation-delay: .16s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0 0 18px; list-style: none; font-size: 12px; color: var(--muted); }
.crumb li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumb a:hover { color: var(--brand); }
.crumb [aria-current] { color: var(--ink); }

/* ページ内リンク（チップ） */
.chips { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.chips__inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chips__inner::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 7px 16px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.chips a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 配管材 */
.mats { display: grid; gap: clamp(56px, 7vw, 96px); }
.mat { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; scroll-margin-top: 80px; }
.mat:nth-child(even) .mat__img { order: 2; }
.mat__img { background: #1d1c22; }
.mat__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mat__no { display: flex; align-items: baseline; gap: 14px; font-family: var(--ff-en); font-size: 11px; letter-spacing: .24em; color: var(--brand); }
.mat__no b { font-weight: 400; font-size: 44px; letter-spacing: 0; line-height: 1; }
.mat h3 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 10px; }
.mat__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 22px 0 26px; border-top: 1px solid var(--ink); }
.mat__items li { position: relative; padding: 11px 8px 11px 18px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--ink); }
.mat__items li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }

/* 工具 */
.flyer { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.flyer__img { position: relative; display: block; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(22,20,43,.12); transition: transform .45s var(--ease); }
.flyer__img:hover { transform: translateY(-6px) rotate(-.6deg); }
.flyer__img img { width: 100%; }
.flyer__tag { position: absolute; left: -1px; top: 18px; background: var(--gold); color: var(--ink); font-family: var(--ff-en); font-size: 11px; font-weight: 600; letter-spacing: .2em; padding: 6px 14px; }
.flyer__now { font-weight: 700; color: var(--ink); margin-top: -20px; }
.bnlist { margin-top: 20px; border-top: 1px solid var(--ink); }
.bnlist a { display: flex; justify-content: space-between; align-items: center; padding: 16px 6px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); transition: padding-left .3s var(--ease), background-color .3s; }
.bnlist a:hover { padding-left: 14px; background: var(--soft); }
.bnlist small { font-family: var(--ff-en); font-size: 11px; letter-spacing: .14em; color: #fff; background: #C8102E; padding: 2px 8px; }
.makers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.makers a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 76px; padding: 0 22px; background: #fff; font-weight: 700; font-size: 14.5px; color: var(--ink); transition: background-color .25s, color .25s; }
.makers a:hover { background: var(--ink); color: #fff; }
.ext { width: 13px; height: 13px; flex: none; color: var(--brand); }
.makers a:hover .ext { color: var(--gold); }
.guide { margin-top: 32px; display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 20px 28px 20px 20px; color: var(--ink); transition: box-shadow .35s; }
.guide:hover { box-shadow: 0 16px 36px rgba(22,20,43,.1); }
.guide:hover .arw { background: var(--ink); color: #fff; transform: translateX(4px); }
.guide__img img { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; }
.guide__txt { display: grid; gap: 4px; line-height: 1.6; }
.guide__txt small { font-family: var(--ff-en); font-size: 11px; letter-spacing: .24em; color: var(--brand); }
.guide__txt b { font-size: 19px; }
.guide__txt span { font-size: 13.5px; color: var(--text); }

/* 企業情報ハブ */
.cards--hub .card__img { aspect-ratio: 16 / 10; }
.hub-links { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.hub-links a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); color: var(--ink); }
.hub-links .en { grid-column: 1; font-family: var(--ff-en); font-size: 11px; letter-spacing: .22em; color: var(--brand); }
.hub-links b { grid-column: 1; font-size: 17px; }
.hub-links .arw { grid-column: 2; grid-row: 1 / span 2; }
.hub-links a:hover .arw { background: var(--ink); color: #fff; transform: translateX(4px); }

/* 代表挨拶 */
.greet { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.greet__catch { font-size: clamp(24px, 2.8vw, 36px); font-weight: 900; color: var(--ink); line-height: 1.65; letter-spacing: .06em; position: sticky; top: 40px; }
.greet__catch::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 28px; }
.greet__body p { font-size: 15.5px; line-height: 2.2; margin-bottom: 1.4em; }
.greet__sign { text-align: right; margin-top: 40px !important; display: grid; justify-items: end; gap: 4px; }
.greet__sign span { font-size: 13px; color: var(--muted); }
.greet__sign b { font-size: 24px; letter-spacing: .3em; color: var(--ink); }
.eras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: none; }
.eras a { position: relative; display: grid; gap: 6px; padding: 28px 24px 70px; background: #fff; border-top: 3px solid var(--brand); color: var(--ink); height: 100%; transition: transform .4s var(--ease), box-shadow .4s; }
.eras a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,20,43,.1); }
.eras__gen { font-family: var(--ff-en); font-size: 38px; line-height: 1; color: var(--brand); }
.eras b { font-size: 17px; margin-top: 10px; }
.eras small { font-size: 13px; color: var(--muted); }
.eras .arw { position: absolute; right: 22px; bottom: 22px; }
.eras a:hover .arw { background: var(--ink); color: #fff; }

/* 会社概要 */
.tbl { margin: 0; border-top: 1px solid var(--ink); }
.tbl > div { display: grid; grid-template-columns: 15em 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tbl dt { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.tbl dd { margin: 0; font-size: 14.5px; line-height: 2; }
.tbl a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.tbl--s > div { grid-template-columns: 7em 1fr; }
.tl { position: relative; margin: 0; padding: 0; list-style: none; }
.tl::before { content: ""; position: absolute; left: 152px; top: 8px; bottom: 8px; width: 1px; background: #CFCBE6; }
.tl li { position: relative; display: grid; grid-template-columns: 90px 62px 1fr; gap: 0 32px; padding: 14px 0; align-items: baseline; }
.tl li::before { content: ""; position: absolute; left: 148px; top: 23px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1px solid var(--brand); }
.tl li.is-mark::before { background: var(--brand); }
.tl__y { font-family: var(--ff-en); font-size: 22px; color: var(--ink); }
.tl__w { font-size: 11.5px; color: var(--muted); grid-column: 1; grid-row: 2; }
.tl p { grid-column: 3; grid-row: 1 / span 2; font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.tl li.is-mark p { font-weight: 700; }
.tl li.is-mark .tl__y { color: var(--brand); }
.access { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 80px); align-items: end; }
.access__map { position: relative; aspect-ratio: 4 / 3; background: var(--soft); }
.access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 我社の理念 */
.ph-lead { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.ph-lead__catch { font-size: clamp(24px, 3vw, 38px); font-weight: 900; color: var(--ink); line-height: 1.6; letter-spacing: .06em; }
.ph-lead__note { margin-top: 20px; font-size: 13px; color: var(--muted); }
.qa { max-width: 920px; margin-inline: auto; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.qa__item { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 4vw, 56px); padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.qa__q { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.75; }
.qa__q span { display: block; font-family: var(--ff-en); font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--brand); margin-bottom: 10px; }
.qa__a p { font-size: 15px; line-height: 2.1; }
.qa__a p + p { margin-top: 1.2em; }

/* 投稿本文（イベント・商品・ブログ共通） */
.entry p { font-size: 15px; line-height: 2; }
.entry p + p { margin-top: 1em; }
.entry a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.gal { display: grid; gap: 14px; margin-top: 28px; }
.gal--2 { grid-template-columns: 1fr 1fr; }
.gal--3 { grid-template-columns: repeat(3, 1fr); }
.gal figure { background: var(--soft); }
.gal img { width: 100%; height: auto; }
.gal--2 img, .gal--3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.gal figcaption { font-size: 12.5px; color: var(--muted); padding: 8px 2px 0; background: #fff; line-height: 1.6; }
.gal--1 { max-width: 640px; }

/* イベント */
.posts { display: grid; }
.post-row { display: grid; grid-template-columns: 170px 1fr; gap: clamp(24px, 4vw, 64px); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.post-row:first-of-type { padding-top: 0; }
.post-row__date { line-height: 1; position: sticky; top: 90px; align-self: start; }
.post-row__date b { display: block; font-family: var(--ff-en); font-weight: 500; font-size: 46px; color: var(--ink); }
.post-row__date span { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: #fff; background: var(--brand); padding: 4px 12px; }
.post-row h2 { font-size: clamp(20px, 2vw, 25px); margin-bottom: 20px; }
.post-row__body { max-width: 860px; }

/* 新着商品 */
.prds { display: grid; }
.prd { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 5vw, 60px) 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 80px; }
.prd:first-child { padding-top: 0; }
.prd__img { border: 1px solid var(--line); background: #fff; position: sticky; top: 90px; }
.prd__img img { width: 100%; }
.prd__img--none { aspect-ratio: 4 / 3; background: var(--soft); }
.prd__date { font-family: var(--ff-en); font-size: 14px; letter-spacing: .12em; color: var(--brand); }
.prd h2 { font-size: clamp(19px, 1.9vw, 24px); margin: 8px 0 18px; }
.prd .link-more { margin-top: 24px; }

/* お問い合わせ */
.cboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: clamp(64px, 8vw, 100px); }
.cbox { display: grid; gap: 4px; padding: 28px 32px; border: 1px solid var(--line); border-top: 3px solid var(--brand); line-height: 1.6; color: var(--ink); }
.cbox small { font-size: 12.5px; color: var(--muted); }
.cbox b { font-family: var(--ff-en); font-weight: 500; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.3; }
.cbox span { font-size: 12.5px; color: var(--text); }
.req, .opt { display: inline-block; margin: 0 4px; padding: 1px 8px; font-size: 11px; font-weight: 700; line-height: 1.7; vertical-align: 2px; }
.req { background: var(--brand); color: #fff; }
.opt { background: var(--soft); color: var(--muted); }
.form { max-width: 900px; border-top: 1px solid var(--ink); }
.form__row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.form__row label { font-weight: 700; color: var(--ink); font-size: 14.5px; padding-top: 12px; display: flex; align-items: center; flex-wrap: wrap; }
.form__row label .req, .form__row label .opt { margin-left: 10px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--soft); border: 1px solid transparent; padding: 13px 16px; border-radius: 0; transition: border-color .2s, background-color .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.form .is-short { max-width: 220px; }
.form textarea { resize: vertical; min-height: 200px; }
.form__agree { text-align: center; margin-top: 36px; }
.form__agree label { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; color: var(--ink); cursor: pointer; }
.form__agree input { width: 18px; height: 18px; accent-color: var(--brand); }
.form__agree a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.form__submit { text-align: center; margin-top: 24px; }
.form__submit .btn { min-width: 300px; cursor: pointer; font-family: inherit; }
.privacy__body { max-width: 900px; }
.privacy__body h3 { font-size: 16px; margin: 28px 0 8px; }
.privacy__body p { font-size: 14.5px; }

/* 住宅機器（カタログ） */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 4vw, 56px); }
.filter button { font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 9px 18px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.filter button:hover { border-color: var(--ink); }
.filter button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-group { scroll-margin-top: 80px; }
.cat-group + .cat-group { margin-top: clamp(56px, 6vw, 80px); }
.cat-group.is-hidden { display: none; }
.cat-group__h { display: flex; align-items: baseline; gap: 14px; font-size: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 28px; }
.cat-group__h small { font-family: var(--ff-en); font-size: 13px; color: var(--muted); font-weight: 500; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 20px; }
.cat-card { display: grid; gap: 10px; color: var(--ink); }
.cat-card__img { display: grid; place-items: center; aspect-ratio: 3 / 4; background: var(--soft); overflow: hidden; border: 1px solid var(--line); }
.cat-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__t { font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.cat-card__go { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--brand); font-weight: 700; }
.cat-card:hover .cat-card__t { color: var(--brand); }
.cat-note { margin-top: 56px; text-align: center; font-size: 14px; }

/* ブログ */
.blayout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.bcards { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 28px; }
.bcard { display: grid; gap: 10px; color: var(--ink); }
.bcard__img { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.bcard__img img.is-noimg { width: 50%; height: auto; object-fit: contain; opacity: .35; }
.bcard:hover .bcard__img img { transform: scale(1.05); }
.bcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; margin-top: 6px; }
.bcard__meta time { font-family: var(--ff-en); letter-spacing: .1em; color: var(--muted); font-size: 13px; }
.tag { display: inline-block; padding: 1px 10px; border: 1px solid var(--brand); color: var(--brand); font-size: 11.5px; font-weight: 700; line-height: 1.8; }
.bcard__t { font-size: 16px; line-height: 1.65; }
.bcard:hover .bcard__t { color: var(--brand); }
.bcard__ex { font-size: 13px; line-height: 1.85; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 64px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--ff-en); font-size: 15px; border: 1px solid var(--line); color: var(--ink); padding: 0 10px; }
.pager .is-cur { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager a:hover { border-color: var(--ink); }
.bside { display: grid; gap: 40px; position: sticky; top: 24px; }
.bside__box h2 { display: flex; align-items: baseline; gap: 10px; font-family: var(--ff-en); font-size: 15px; font-weight: 500; letter-spacing: .2em; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.bside__box h2 small { font-family: var(--ff); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
.bside__box a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink); line-height: 1.6; }
.bside__box a small { font-family: var(--ff-en); color: var(--muted); }
.bside__box a:hover span { color: var(--brand); }
.bside__years { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.bside__logis { display: grid; justify-items: center; gap: 6px; padding: 20px; border: 1px solid #D5D9E2; border-top: 4px solid var(--logis); font-size: 12px; font-weight: 700; color: var(--logis); }
.bside__logis img { width: 170px; }
.article__head { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.article__head h1 { font-size: clamp(22px, 2.6vw, 32px); margin-top: 12px; }
.article__by { margin-top: 10px; font-size: 13px; color: var(--muted); }
.entry--article p { font-size: 16px; line-height: 2.1; }
.entry--article h2 { font-size: 20px; margin: 44px 0 18px; padding-left: 16px; border-left: 4px solid var(--brand); line-height: 1.5; }
.entry--article figure { margin: 24px 0; }
.entry--article img { width: 100%; height: auto; }
.article__nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ink); font-size: 13.5px; }
.article__nav a { color: var(--ink); line-height: 1.6; }
.article__nav small { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.article__nav .next { text-align: right; }
.article__nav .list { padding: 10px 22px; border: 1px solid var(--ink); font-weight: 700; }
.article__nav .list:hover { background: var(--ink); color: #fff; }
.article__nav a:not(.list):hover { color: var(--brand); }

@media (max-width: 1040px) {
  .blayout { grid-template-columns: 1fr; }
  .bside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .phead__grid, .mat, .flyer, .greet, .access, .qa__item { grid-template-columns: 1fr; }
  .phead__img { margin-right: 12px; }
  .mat:nth-child(even) .mat__img { order: 0; }
  .greet__catch { position: static; }
  .eras, .hub-links { grid-template-columns: 1fr 1fr; }
  .post-row { grid-template-columns: 1fr; }
  .post-row__date { position: static; display: flex; align-items: center; gap: 12px; }
  .post-row__date b { font-size: 32px; display: inline; }
  .post-row__date span { margin-top: 0; }
  .prd { grid-template-columns: 1fr; }
  .prd__img { position: static; max-width: 360px; }
  .cboxes { grid-template-columns: 1fr; }
  .bcards { grid-template-columns: 1fr; }
  .bside { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .phead__title { font-size: min(32px, 8.4vw); }
  .tbl > div, .tbl--s > div { grid-template-columns: 1fr; gap: 4px; }
  .tl::before { left: 5px; }
  .tl li { grid-template-columns: 1fr; padding-left: 28px; gap: 2px; }
  .tl li::before { left: 1px; top: 22px; }
  .tl__w { grid-row: auto; }
  .tl p { grid-column: 1; grid-row: auto; }
  .eras, .hub-links { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 8px; }
  .form__row label { padding-top: 0; }
  .form__submit .btn { min-width: 0; width: 100%; }
  .gal--3 { grid-template-columns: 1fr 1fr; }
  .guide { grid-template-columns: 80px 1fr; padding: 16px; gap: 16px; }
  .guide__img img { width: 80px; }
  .guide .arw { display: none; }
  .article__nav { grid-template-columns: 1fr; text-align: left; }
  .article__nav .next { text-align: left; }
  .article__nav .list { justify-self: start; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .phead__img img { clip-path: none; }
  .phead__block { transform: none; }
}
.is-broken { visibility: hidden; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 960px); }
.form, .privacy__body { max-width: none; }
.greet__catch { font-size: clamp(22px, 2.4vw, 32px); }
.tl li { padding: 10px 0; }
.post-row > *, .prd > *, .mat > *, .blayout > *, .phead__grid > *, .flyer > *, .greet > *, .access > *, .qa__item > * { min-width: 0; }

/* 代表写真（代表挨拶・我社の理念） */
.greet { grid-template-columns: minmax(260px, .8fr) 1.2fr; align-items: start; }
.greet__photo { position: relative; max-width: 420px; position: sticky; top: 32px; }
.greet__photo img { position: relative; z-index: 1; width: 100%; height: auto; background: #f3f3f3; }
.greet__block { position: absolute; left: clamp(-32px, -2.4vw, -16px); bottom: clamp(-32px, -2.4vw, -16px); width: 60%; height: 50%; background: var(--brand); }
.greet__catch { position: static; margin-bottom: 36px; }
.qa__side { display: grid; gap: 20px; align-content: start; }
.qa__img img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
@media (max-width: 860px) {
  .greet__photo { position: relative; top: auto; max-width: 300px; margin: 0 0 24px 16px; }
  .qa__img { max-width: 420px; }
}

/* =========================================================
   落合住宅機器の歴史を辿る（/wp-blog/history/）
   ========================================================= */
.hist-intro { border-bottom: 1px solid var(--line); }
.hist-intro__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hist-intro__grid > * { min-width: 0; }
.hist-intro__catch { font-size: clamp(24px, 2.8vw, 36px); font-weight: 900; color: var(--ink); line-height: 1.6; letter-spacing: .06em; }
.hist-intro__catch::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 24px; }
.hist-intro__body p { font-size: 15px; line-height: 2.1; }
.hist-intro__body p + p { margin-top: 1em; }
.hist-intro__sign { text-align: right; font-weight: 700; color: var(--ink); margin-top: 1.4em; }
.chips--era a { display: inline-flex; align-items: baseline; gap: 8px; }
.chips--era a span { font-family: var(--ff-en); font-size: 12px; color: var(--brand); letter-spacing: .08em; }
.chips--era a:hover span { color: var(--gold); }

.hist { padding-block: clamp(48px, 6vw, 80px) 0; }
.era { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: 60px; }
.era:first-child { padding-top: 0; }
.era:last-child { border-bottom: 0; }
.era > * { min-width: 0; }
.era__head { position: sticky; top: 90px; align-self: start; }
.era__no { font-family: var(--ff-en); font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.era__no span { margin-left: 6px; }
.era__gen { font-family: var(--ff-en); font-weight: 500; font-size: clamp(64px, 7vw, 96px); line-height: .95; color: var(--brand); margin-top: 10px; }
.era__gen small { display: block; font-size: 12px; letter-spacing: .26em; color: var(--muted); margin-top: 8px; }
.era__head h2 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 22px; line-height: 1.5; }
.era__who { margin-top: 6px; font-weight: 700; color: var(--ink); }
.era__years { display: inline-block; margin-top: 14px; font-family: var(--ff-en); font-size: 15px; letter-spacing: .1em; color: #fff; background: var(--ink); padding: 3px 12px; }
.era__lead { margin-top: 20px; font-size: 14px; line-height: 2; }
.era__count { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.era__count::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--muted); vertical-align: middle; margin-right: 8px; }

.hl { list-style: none; margin: 0; padding: 0; position: relative; }
.hl::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 1px; background: #CFCBE6; }
.hl li { position: relative; padding-left: 40px; }
.hl li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-sizing: border-box; transition: background-color .25s, border-color .25s; }
.hl li:hover::before { background: var(--gold); border-color: var(--gold); }
.hl a { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); color: var(--ink); }
.hl a > * { min-width: 0; }
.hl__period { display: grid; align-content: start; line-height: 1.4; }
.hl__period b { font-size: 16px; transition: color .25s; }
.hl__period small { font-family: var(--ff-en); font-size: 14px; letter-spacing: .08em; color: var(--brand); margin-top: 4px; }
.hl__body { display: grid; gap: 10px; }
.hl__ex { font-size: 14px; line-height: 1.9; color: var(--text); }
.hl__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); font-family: var(--ff-en); letter-spacing: .06em; }
.hl__go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff); font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.hl__go .arw { width: 26px; height: 26px; }
.hl__go .arw::before { left: 7px; top: 12px; width: 10px; }
.hl__go .arw::after { left: 12px; top: 9px; }
.hl a:hover .hl__period b { color: var(--brand); }
.hl a:hover .arw { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateX(4px); }

.bside__hist { position: relative; display: grid; gap: 6px; padding: 26px 24px 28px; background: var(--ink); color: #fff; line-height: 1.5; overflow: hidden; }
.bside__hist::after { content: "HISTORY"; position: absolute; right: -8px; bottom: -14px; font-family: var(--ff-en); font-weight: 600; font-size: 56px; color: rgba(255,255,255,.06); pointer-events: none; }
.bside__hist small { font-family: var(--ff-en); font-size: 11px; letter-spacing: .24em; color: var(--gold); }
.bside__hist b { font-size: 19px; letter-spacing: .06em; }
.bside__hist span { font-size: 12.5px; color: #C9C6DE; }
.bside__hist .arw { position: absolute; right: 20px; top: 24px; color: #fff; }
.bside__hist:hover .arw { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateX(4px); }

@media (max-width: 960px) {
  .era { grid-template-columns: 1fr; }
  .era__head { position: static; }
}
@media (max-width: 767px) {
  .hist-intro__grid { grid-template-columns: 1fr; }
  .hl a { grid-template-columns: 1fr; gap: 8px; }
  .hl li { padding-left: 30px; }
  .hl li::before { top: 23px; }
}
