@charset "UTF-8";
/* =========================================================
   フジタ産業株式会社  — style.css
   デザイン基準幅: 1321px（Illustrator アートボード px と 1:1）
   ========================================================= */

:root {
  --c-blue: #3264b6;
  --c-green: #628d42;
  --c-brown: #635437;
  --c-red: #d20000;
  --c-navy: #1a1822;
  --c-gray: #ededed;
  --c-dot: #d3dcdb;
  --ff-ls: 'LINE Seed JP', sans-serif;
  --ff-sm: 'Shippori Mincho B1', serif;
  --ff-mo: 'Modak', sans-serif;
  --canvas: 1321px;
}

/* ---------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--ff-ls);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: none;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address { margin: 0; padding: 0; font: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }
img { display: block; max-width: none; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; padding: 0; background: none; cursor: pointer; }

/* SP のみの改行 */
.u-sp { display: none; }

/* スクリーンリーダー専用 */
.u-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.u-sr-only:focus-visible { width: auto; height: auto; clip: auto; margin: 0; padding: 4px 8px; background: #fff; color: #000; z-index: 3; outline: 2px solid var(--c-blue); }

/* 見出し共通 */
.c-head__ja, .c-subhead__ja { font-weight: 700; color: var(--c-blue); }
.c-head__en, .c-subhead__en { font-family: var(--ff-mo); font-weight: 400; color: var(--c-blue); }

/* =========================================================
   PC（768px 以上）— カンプ 1321px 固定レイアウト
   768〜1320px は --pc-zoom で等倍縮小（1321px 以上は等倍＝カンプ通り）
   ========================================================= */
@media (min-width: 768px) {
body { min-width: var(--canvas); }
@media (max-width: 1320.98px) { body { zoom: var(--pc-zoom, 1); } }
/* PC では画面に出さず、支援技術・キーボード向けにのみ提供 */
.u-sr-pc { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.u-sr-pc:focus-visible { width: auto; height: auto; clip: auto; margin: 0; padding: 4px 8px; background: #fff; color: #000; z-index: 3; outline: 2px solid var(--c-blue); }
.p-history__controls { position: static; }

/* ---------------------------------------------------------- layout */
/* 1321px 固定キャンバス。子要素はカンプ座標で絶対配置 */
.l-canvas { position: relative; width: var(--canvas); height: 100%; margin: 0 auto; }
.l-canvas > *, .c-head > *, .c-subhead > * { position: absolute; white-space: nowrap; }
.c-head, .c-subhead, .p-hslide__head { position: static; }

/* 均等割付の行（Illustrator の行送りをそのまま再現するため行単位で指定） */
.jl { display: block; text-align: justify; text-align-last: justify; text-justify: inter-character; }

/* Illustrator 文字組みの再現 */
.akl { margin-left: .25em; }            /* 和文→欧文のアキ */
.akr { margin-right: .25em; }           /* 欧文→和文のアキ */
.aklr { margin: 0 .25em; }
.nd { margin: 0 -.1875em; }             /* 中黒の詰め */
.ye { margin-right: -.5em; }            /* 行末約物の半角 */
.ys { margin-left: -.5em; }
.ls { letter-spacing: calc(var(--ls, 0em) + var(--lsx, 0px)); }   /* 溢れる行の字間調整 */             /* 行頭括弧の半角 */

/* ---------------------------------------------------------- header */
.l-header { height: 200.5px; }
.l-header__logo a, .l-footer__logo a { display: block; }
.l-header__logo img { width: 329.5px; height: 45.6px; }
.l-header__nav { left: 0; }
.l-header__nav li { position: absolute; top: 0; font-size: 16px; line-height: 28px; letter-spacing: .2em; white-space: nowrap; }
.l-header__nav li + li::before { content: ""; position: absolute; width: 1px; height: 16.7px; background: #000; }
.l-header__nav a { transition: opacity .3s; }
.l-header__nav a:hover { opacity: .6; }

/* ---------------------------------------------------------- hero */
.p-hero { height: 678px; background: #b6d6ef; }
.p-hero__visual { background: #b6d6ef url(../images/hero.webp) center top / cover no-repeat; }
.p-hero__title { color: #4383e8; }
.p-hero__title-l1 { position: relative; left: 10.5px; }
.p-hero__lead { color: #4d92eb; }

/* ---------------------------------------------------------- philosophy */
.p-philosophy { position: relative; height: 1321.5px; overflow: hidden; }
.p-philosophy > .l-canvas { position: absolute; left: 0; right: 0; top: 0; height: 100%; }
.p-philosophy > .l-canvas--overlay { pointer-events: none; }
.p-philosophy__slider { position: absolute; left: 0; right: 0; height: 382px; }
.p-philosophy__track {
  position: absolute; top: 0; left: calc(50% - 660.5px - 131.2px);
  display: flex; gap: 24.7px; will-change: transform;
}
.p-philosophy__slide { flex: 0 0 382px; }
.p-philosophy__slide img { width: 382px; height: 382px; object-fit: cover; }

/* ---------------------------------------------------------- business */
.p-business__intro { height: 935.5px; }
.p-business__dog { object-fit: cover; object-position: top; }
.p-bnav { height: 63px; background: var(--c-blue); }
.p-bnav__list { left: 0; }
.p-bnav__list li { position: absolute; top: 0; font-size: 16px; line-height: 28px; font-weight: 700; color: #fff; white-space: nowrap; }
.p-bnav__list li + li::before { content: ""; position: absolute; width: 1px; height: 15.8px; background: #fff; }
.p-bnav__list a { transition: opacity .3s; }
.p-bnav__list a:hover { opacity: .7; }

.p-biz-list { padding-top: 6px; }
.p-biz { position: relative; background: #f2f2f2 center top / cover no-repeat; scroll-margin-top: 0; }
.p-biz + .p-biz { margin-top: 12px; }
#insurance { background-image: url(../images/biz01-bg.webp); }
#corporate { background-image: url(../images/biz02-bg.webp); }
#lpgas     { background-image: url(../images/biz03-bg.webp); }
#lumber    { background-image: url(../images/biz04-bg.webp); }
#apollo    { background-image: url(../images/biz05-bg.webp); }
.p-biz .c-head__ja, .p-biz .c-head__en { color: var(--c-green); }
.p-biz__num { font-family: var(--ff-mo); color: var(--c-blue); }
.p-biz__svc-title::before { content: ""; position: absolute; width: 12px; height: 12px; background: #000; }
.p-biz__tags { left: 0; top: 0; }
.p-biz__tags li {
  position: absolute; display: flex; align-items: center; justify-content: center;
  height: 34px; border: 1px solid #000; background: #fff;
  font-size: 20px; line-height: 32px; font-weight: 700; white-space: nowrap;
}
.p-biz__dept::after { content: ""; position: absolute; width: 1px; height: 15px; background: #000; }
.p-biz__photo { width: 497px; height: 263px; object-fit: cover; }

/* ---------------------------------------------------------- company */
.p-company { height: 2170px; }
.p-company .c-subhead__ja, .p-company .c-subhead__en { color: var(--c-green); }
.p-company__profile { height: 600px; }
.p-company__profile dt, .p-company__profile dd { position: absolute; white-space: nowrap; }
.p-company__row:last-child::after { content: none; }
.p-company__row::after { content: ""; position: absolute; left: 0; width: 429.9px; height: 1px; background: #7f7f7f; }
.p-company__related-title { width: 132px; margin-bottom: 6px; }
.p-company__affiliate-row { display: grid; grid-template-columns: 152px minmax(0, 1fr); align-items: center; min-height: 75px; padding: 12px 5px; border-bottom: 1px solid #7f7f7f; font-size: 19px; line-height: 28px; }
.p-company__affiliate-row:last-child { border-bottom: 0; }
.p-company__affiliate-row dt { width: 78.7px; }
.p-company__affiliate-row dd { min-width: 0; overflow-wrap: anywhere; }
.p-company__related-other { margin-top: 60px; }
.p-company__related-other > p:not(.p-company__related-title) { font-size: 19px; line-height: 28px; }
.p-company__map { display: block; }

/* ---------------------------------------------------------- history */
.p-history { position: relative; height: 1657px; background: var(--c-navy) url(../images/history-bg.webp) center top / cover no-repeat; color: #fff; overflow: hidden; }
.p-history .c-head__en { color: var(--c-red); }
.p-history__ribbon img { width: 766.7px; height: 160px; }
.p-history__ribbon-text { position: absolute; left: 0; top: 0; overflow: visible; }
.p-history__ribbon-text text { font-family: var(--ff-sm); font-weight: 700; font-size: 24px; letter-spacing: .32em; fill: #000; }
.p-history__num-big { position: relative; top: .04em; font-size: 74px; letter-spacing: -.13em; line-height: 0; vertical-align: baseline; margin-right: .08em; }
.p-history__bg-text { color: #d5d5d5; opacity: .1; }
.p-history__slider { z-index: 1; touch-action: pan-y pinch-zoom; background: url(../images/history-card.webp) 0 0 / 789px 830px no-repeat; }
.p-history__slides { position: absolute; inset: 0; }
.p-hslide { position: absolute; inset: 0; color: var(--c-brown); opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.p-hslide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s 0s; z-index: 1; }
.p-hslide > * { position: absolute; white-space: nowrap; }
.p-hslide__line { height: 1px; background: var(--c-brown); }
.p-hslide__hyphen { position: relative; top: -7px; }
.p-hslide__photo { background: #fff; }
.p-hslide__pill {
  border-radius: 0 14px 14px 0; background: var(--c-brown); color: #fff;
  padding-left: 68.08px; font-size: 14px; line-height: 28px; font-weight: 700; letter-spacing: .18em;
}
.p-history__message { z-index: 1; border: 1px solid var(--c-gray); }
.p-history__message > * { position: absolute; white-space: nowrap; }

/* ---------------------------------------------------------- footer */
.l-footer { height: 214.5px; background: var(--c-gray); }
.l-footer__logo img { width: 297.6px; height: 41.2px; }
.l-footer__nav ul { display: flex; gap: 33px; }
.l-footer__nav a { transition: opacity .3s; }
.l-footer__nav a:hover, .l-footer__address a:hover { opacity: .6; }

/* ---------------------------------------------------------- generated positions (Illustrator 座標から算出) */
.l-header__logo { left: 114.3px; top: 98.7px; width: 329.5px; height: 45.6px }
.l-header__nav { top: 120.43px }
.l-header__nav li:nth-child(1) { left: 832.11px }
.l-header__nav li:nth-child(2) { left: 1034.11px }
.l-header__nav li:nth-child(3) { left: 1170.11px }
.l-header__nav li:nth-child(2)::before { left: -26.81px; top: 5.37px }
.l-header__nav li:nth-child(3)::before { left: -31.81px; top: 5.37px }
.p-hero__title { left: 36.05px; top: 171.36px; width: 900px; text-align: center; font-size: 67.21px; line-height: 102.14px; font-family: var(--ff-sm); font-weight: 700 }
.p-hero__lead { left: 32.35px; top: 399.05px; width: 900px; text-align: center; font-size: 19.26px; line-height: 38.52px; font-weight: 700 }
.p-philosophy .c-head__ja { left: 549.58px; top: 96.88px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
.p-philosophy .c-head__en { left: 421.94px; top: 123.21px; font-size: 82.17px; line-height: 143.79px; font-family: var(--ff-mo) }
.p-philosophy__dog { left: 571px; top: 277.4px; width: 185.9px; height: 147.2px }
.p-philosophy__catch { left: 169.18px; top: 471.67px; width: 1000px; text-align: center; font-size: 42px; line-height: 62px; font-weight: 700 }
.p-philosophy__text { left: 281.8px; top: 549.18px; width: 765px; font-size: 16px; line-height: 31px }
.p-philosophy__slider { top: 752px }
.p-business__mark { left: 587px; top: 65.5px; width: 120.6px; height: 122px }
.p-business .c-head__ja { left: 590.02px; top: 215.08px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
.p-business .c-head__en { left: 469.39px; top: 229.89px; font-size: 82.17px; line-height: 143.79px; font-family: var(--ff-mo) }
.p-business__catch { left: 162.11px; top: 362.83px; width: 1000px; text-align: center; font-size: 42px; line-height: 62px; font-weight: 700 }
.p-business__text { left: 313.8px; top: 437.01px; width: 674px; font-size: 16px; line-height: 31px }
.p-business__dog { left: 479.8px; top: 598.8px; width: 376.6px; height: 336.7px }
.p-bnav__list { top: 16.76px }
.p-bnav__list li:nth-child(1) { left: 323.61px }
.p-bnav__list li:nth-child(2) { left: 459.61px }
.p-bnav__list li:nth-child(3) { left: 600.61px }
.p-bnav__list li:nth-child(4) { left: 717.61px }
.p-bnav__list li:nth-child(5) { left: 832.61px }
.p-bnav__list li:nth-child(2)::before { left: -26.81px; top: 6.94px }
.p-bnav__list li:nth-child(3)::before { left: -29.81px; top: 6.94px }
.p-bnav__list li:nth-child(4)::before { left: -28.81px; top: 6.94px }
.p-bnav__list li:nth-child(5)::before { left: -22.81px; top: 6.94px }
#insurance { height: 1183px }
#insurance .p-biz__num { left: 156.26px; top: 59.37px; font-size: 221.59px; line-height: 387.79px; font-family: var(--ff-mo); letter-spacing: -0.01em; --ls: -0.01em; transform: scaleX(0.9); transform-origin: left top }
#insurance .c-head__ja { left: 170.77px; top: 345.23px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
#insurance .c-head__en { left: 169.77px; top: 361.69px; font-size: 82.17px; line-height: 143.79px; font-family: var(--ff-mo) }
#insurance .p-biz__catch { left: 169.77px; top: 497.66px; font-size: 42px; line-height: 62px; font-weight: 700 }
#insurance .p-biz__text { left: 169.8px; top: 580.67px; width: 595.4px; font-size: 16px; line-height: 28px }
#insurance .p-biz__svc-title { left: 187.09px; top: 799.59px; font-size: 16px; line-height: 28px; font-weight: 700 }
#insurance .p-biz__svc-title::before { left: -17.29px; top: 8.41px }
#insurance .p-biz__tags li:nth-child(1) { left: 169.3px; top: 836px; width: 121px; height: 34px }
#insurance .p-biz__tags li:nth-child(2) { left: 301.3px; top: 836px; width: 196px; height: 34px }
#insurance .p-biz__tags li:nth-child(3) { left: 169.3px; top: 882px; width: 101px; height: 34px }
#insurance .p-biz__tags li:nth-child(4) { left: 280.6px; top: 882px; width: 104px; height: 34px }
#insurance .p-biz__tags li:nth-child(5) { left: 395.6px; top: 882px; width: 183px; height: 34px }
#insurance .p-biz__dept { left: 170.11px; top: 946.92px; font-size: 16px; line-height: 28px }
#insurance .p-biz__dept::after { left: 137.99px; top: 7.08px }
#insurance .p-biz__tel { left: 169.77px; top: 975.4px; font-size: 18px; line-height: 31.5px; font-weight: 700 }
#insurance .p-biz__note { left: 169.77px; top: 1006.43px; font-size: 14px; line-height: 24.5px }
#insurance .p-biz__photo:nth-of-type(1) { left: 824.8px; top: 474px; width: 497px; height: 263px }
#insurance .p-biz__photo:nth-of-type(2) { left: 824.8px; top: 778px; width: 497px; height: 263px }
#insurance .p-biz__illust { left: 966.5px; top: 241.6px; width: 234.6px; height: 173.2px }
#corporate { height: 1162px }
#corporate .p-biz__num { left: 156.26px; top: 35.37px; font-size: 221.59px; line-height: 387.79px; font-family: var(--ff-mo); letter-spacing: -0.01em; --ls: -0.01em; transform: scaleX(0.9); transform-origin: left top }
#corporate .c-head__ja { left: 175.77px; top: 318.23px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
#corporate .c-head__en { left: 171.77px; top: 331.69px; font-size: 82.17px; line-height: 143.79px; font-family: var(--ff-mo); transform: scaleX(0.9); transform-origin: left top }
#corporate .p-biz__catch { left: 175.77px; top: 471.66px; font-size: 42px; line-height: 62px; font-weight: 700 }
#corporate .p-biz__text { left: 175.8px; top: 603.67px; width: 595.4px; font-size: 16px; line-height: 28px }
#corporate .p-biz__svc-title { left: 193.09px; top: 799.59px; font-size: 16px; line-height: 28px; font-weight: 700 }
#corporate .p-biz__svc-title::before { left: -17.29px; top: 8.41px }
#corporate .p-biz__tags li:nth-child(1) { left: 175.3px; top: 836px; width: 294.9px; height: 34px }
#corporate .p-biz__tags li:nth-child(2) { left: 481.6px; top: 836px; width: 236px; height: 34px }
#corporate .p-biz__tags li:nth-child(3) { left: 175.3px; top: 882px; width: 222.4px; height: 34px }
#corporate .p-biz__tags li:nth-child(4) { left: 409.3px; top: 882px; width: 259.4px; height: 34px }
#corporate .p-biz__dept { left: 176.11px; top: 946.92px; font-size: 16px; line-height: 28px }
#corporate .p-biz__dept::after { left: 137.99px; top: 7.08px }
#corporate .p-biz__tel { left: 175.77px; top: 975.4px; font-size: 18px; line-height: 31.5px; font-weight: 700 }
#corporate .p-biz__note { left: 175.77px; top: 1006.43px; font-size: 14px; line-height: 24.5px }
#corporate .p-biz__photo:nth-of-type(1) { left: 824.8px; top: 470px; width: 497px; height: 263px }
#corporate .p-biz__photo:nth-of-type(2) { left: 824.8px; top: 761px; width: 497px; height: 263px }
#corporate .p-biz__illust { left: 958px; top: 197.7px; width: 230.4px; height: 223.9px }
#lpgas { height: 1161px }
#lpgas .p-biz__num { left: 156.26px; top: 21.37px; font-size: 221.59px; line-height: 387.79px; font-family: var(--ff-mo); letter-spacing: -0.01em; --ls: -0.01em; transform: scaleX(0.9); transform-origin: left top }
#lpgas .c-head__ja { left: 180.77px; top: 293.23px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
#lpgas .c-head__en { left: 175.77px; top: 305.69px; font-size: 82.17px; line-height: 143.79px; font-family: var(--ff-mo) }
#lpgas .p-biz__catch { left: 176.94px; top: 437.66px; font-size: 42px; line-height: 62px; font-weight: 700 }
#lpgas .p-biz__text { left: 176.9px; top: 578.67px; width: 584.9px; font-size: 16px; line-height: 28px }
#lpgas .p-biz__svc-title { left: 194.26px; top: 780.59px; font-size: 16px; line-height: 28px; font-weight: 700 }
#lpgas .p-biz__svc-title::before { left: -17.36px; top: 8.41px }
#lpgas .p-biz__tags li:nth-child(1) { left: 176.4px; top: 817px; width: 206.4px; height: 34px }
#lpgas .p-biz__tags li:nth-child(2) { left: 395.4px; top: 817px; width: 252.4px; height: 34px }
#lpgas .p-biz__tags li:nth-child(3) { left: 176.4px; top: 863px; width: 222.4px; height: 34px }
#lpgas .p-biz__tags li:nth-child(4) { left: 409.4px; top: 863px; width: 218.4px; height: 34px }
#lpgas .p-biz__dept { left: 177.27px; top: 927.92px; font-size: 16px; line-height: 28px }
#lpgas .p-biz__dept::after { left: 138.03px; top: 7.08px }
#lpgas .p-biz__tel { left: 176.94px; top: 956.4px; font-size: 18px; line-height: 31.5px; font-weight: 700 }
#lpgas .p-biz__note { left: 176.94px; top: 987.43px; font-size: 14px; line-height: 24.5px }
#lpgas .p-biz__photo:nth-of-type(1) { left: 824.8px; top: 463px; width: 497px; height: 263px }
#lpgas .p-biz__photo:nth-of-type(2) { left: 824.8px; top: 754px; width: 497px; height: 263px }
#lpgas .p-biz__illust { left: 899px; top: 184.4px; width: 205.6px; height: 220.8px }
#lumber { height: 1221px }
#lumber .p-biz__num { left: 170.26px; top: 39.37px; font-size: 221.59px; line-height: 387.79px; font-family: var(--ff-mo); letter-spacing: -0.01em; --ls: -0.01em; transform: scaleX(0.9); transform-origin: left top }
#lumber .c-head__ja { left: 180.77px; top: 323.23px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
#lumber .c-head__en { left: 175.77px; top: 335.69px; font-size: 82.17px; line-height: 143.79px; font-family: var(--ff-mo); transform: scaleX(0.9); transform-origin: left top }
#lumber .p-biz__catch { left: 178.44px; top: 463.66px; font-size: 42px; line-height: 62px; font-weight: 700 }
#lumber .p-biz__text { left: 176.9px; top: 617.67px; width: 595.4px; font-size: 16px; line-height: 28px }
#lumber .p-biz__svc-title { left: 197.26px; top: 794.59px; font-size: 16px; line-height: 28px; font-weight: 700 }
#lumber .p-biz__svc-title::before { left: -17.36px; top: 8.41px }
#lumber .p-biz__tags li:nth-child(1) { left: 179.4px; top: 831px; width: 171.4px; height: 34px }
#lumber .p-biz__tags li:nth-child(2) { left: 359.4px; top: 831px; width: 158.4px; height: 34px }
#lumber .p-biz__tags li:nth-child(3) { left: 525.4px; top: 831px; width: 238.4px; height: 34px }
#lumber .p-biz__dept { left: 180.77px; top: 905.92px; font-size: 16px; line-height: 28px }
#lumber .p-biz__dept::after { left: 138.03px; top: 7.08px }
#lumber .p-biz__tel { left: 180.44px; top: 934.4px; font-size: 18px; line-height: 31.5px; font-weight: 700 }
#lumber .p-biz__note { left: 180.44px; top: 965.43px; font-size: 14px; line-height: 24.5px }
#lumber .p-biz__photo:nth-of-type(1) { left: 826.8px; top: 476px; width: 497px; height: 263px }
#lumber .p-biz__photo:nth-of-type(2) { left: 826.8px; top: 769px; width: 497px; height: 263px }
#lumber .p-biz__illust { left: 1041.6px; top: 195.6px; width: 233.3px; height: 231.3px }
#apollo { height: 1367px }
#apollo .p-biz__num { left: 170.26px; top: 63.37px; font-size: 221.59px; line-height: 387.79px; font-family: var(--ff-mo); letter-spacing: -0.01em; --ls: -0.01em; transform: scaleX(0.9); transform-origin: left top }
#apollo .c-head__ja { left: 180.77px; top: 347.23px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
#apollo .c-head__en { left: 175.77px; top: 359.69px; font-size: 82.17px; line-height: 143.79px; font-family: var(--ff-mo) }
#apollo .p-biz__catch { left: 178.44px; top: 499.66px; font-size: 42px; line-height: 62px; font-weight: 700 }
#apollo .p-biz__text { left: 176.9px; top: 641.67px; width: 595.4px; font-size: 16px; line-height: 28px }
#apollo .p-biz__svc-title { left: 197.26px; top: 818.59px; font-size: 16px; line-height: 28px; font-weight: 700 }
#apollo .p-biz__svc-title::before { left: -17.36px; top: 8.41px }
#apollo .p-biz__tags li:nth-child(1) { left: 179.4px; top: 855px; width: 293.4px; height: 34px }
#apollo .p-biz__tags li:nth-child(2) { left: 486.4px; top: 855px; width: 236.4px; height: 34px }
#apollo .p-biz__tags li:nth-child(3) { left: 179.4px; top: 902px; width: 278.4px; height: 34px }
#apollo .p-biz__dept { left: 180.77px; top: 972.92px; font-size: 16px; line-height: 28px }
#apollo .p-biz__dept::after { left: 138.03px; top: 7.08px }
#apollo .p-biz__tel { left: 180.44px; top: 1001.4px; font-size: 18px; line-height: 31.5px; font-weight: 700 }
#apollo .p-biz__note { left: 180.44px; top: 1032.43px; font-size: 14px; line-height: 24.5px }
#apollo .p-biz__photo:nth-of-type(1) { left: 828.8px; top: 523px; width: 497px; height: 263px }
#apollo .p-biz__photo:nth-of-type(2) { left: 828.8px; top: 827px; width: 497px; height: 263px }
#apollo .p-biz__illust { left: 1024.3px; top: 213.5px; width: 217.6px; height: 246.9px }
.p-company__mark { left: 608.6px; top: 60px; width: 105.7px; height: 107px }
.p-company .c-head__ja { left: 606.64px; top: 176.56px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
.p-company .c-head__en { left: 478.05px; top: 186.37px; font-size: 82.17px; line-height: 143.79px; font-family: var(--ff-mo) }
.p-company__dog { left: 549.2px; top: 261px; width: 224.5px; height: 341px }
.p-company__catch { left: 299.34px; top: 618.1px; font-size: 42.08px; line-height: 62.12px; font-weight: 700 }
.p-company .c-subhead__ja { left: 167.11px; top: 744.22px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
.p-company .c-subhead__en { left: 165.79px; top: 766.02px; font-size: 52.71px; line-height: 92.25px; font-family: var(--ff-mo) }
.p-company__lead { left: 732.3px; top: 757.98px; width: 446.5px; font-size: 16px; line-height: 28px }
.p-company__map { left: 676.8px; top: 897px; width: 557px; height: 511px }
.p-company__profile { left: 172.1px; top: 853.5px; width: 429.9px }
.p-company__related { left: 171.77px; top: 1450.99px; width: 646px; font-size: 16px; line-height: 28px }
.p-company__row--1 dt { left: 5px; top: 26.65px; width: 78.7px; font-size: 19px; line-height: 28px }
.p-company__row--1 dd { left: 157.01px; top: 26.65px; font-size: 19px; line-height: 28px }
.p-company__row--1::after { top: 73.15px }
.p-company__row--2 dt { left: 5px; top: 117.65px; width: 78.7px; font-size: 19px; line-height: 28px }
.p-company__row--2 dd { left: 156.67px; top: 101.26px; font-size: 19px; line-height: 30px }
.p-company__row--2::after { top: 184.15px }
.p-company__row--3 dt { left: 5px; top: 207.65px; width: 78.7px; font-size: 19px; line-height: 28px }
.p-company__row--3 dd { left: 157.01px; top: 210.65px; font-size: 19px; line-height: 28px }
.p-company__row--3::after { top: 259.15px }
.p-company__row--4 dt { left: 5px; top: 281.65px; width: 78.7px; font-size: 19px; line-height: 28px }
.p-company__row--4 dd { left: 157.01px; top: 284.65px; font-size: 19px; line-height: 28px }
.p-company__row--4::after { top: 334.15px }
.p-company__row--5 dt { left: 5px; top: 355.65px; width: 78.7px; font-size: 19px; line-height: 28px }
.p-company__row--5 dd { left: 157.01px; top: 358.65px; font-size: 19px; line-height: 28px }
.p-company__row--5::after { top: 409.15px }
.p-company__row--6 dt { left: 5px; top: 429.65px; width: 78.7px; font-size: 19px; line-height: 28px }
.p-company__row--6 dd { left: 157.01px; top: 432.65px; font-size: 19px; line-height: 28px }
.p-company__row--6::after { top: 484.15px }
.p-company__row--7 dt { left: 5px; top: 495.66px; width: 78.7px; font-size: 16px; line-height: 25px }
.p-company__row--7 dd { left: 157.01px; top: 506.65px; font-size: 19px; line-height: 28px }
.p-history__sub { left: 118.15px; top: 170px; font-size: 22.46px; line-height: 39.31px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
.p-history .c-head__ja { left: 108.78px; top: 268.88px; font-size: 20px; line-height: 35px; font-weight: 700; letter-spacing: 0.37em; --ls: 0.37em }
.p-history .c-head__en { left: 42.53px; top: 275.85px; width: 400px; text-align: center; font-size: 64.6px; line-height: 121.1px; font-family: var(--ff-mo) }
.p-history__catch { left: 118.11px; top: 380.59px; font-size: 27.12px; line-height: 40.04px; font-weight: 700 }
.p-history__text { left: 110.4px; top: 477.66px; width: 264.4px; font-size: 16px; line-height: 28px }
.p-history__dog { left: 64.8px; top: 781.5px; width: 376.1px; height: 584.5px }
.p-history__ribbon { left: 467.1px; top: 124.6px; width: 766.7px; height: 160px }
.p-history__num-label { left: 467.1px; top: 270.35px; width: 766.7px; text-align: center; font-size: 19px; line-height: 33.25px; font-weight: 700; letter-spacing: 0.1em; --ls: 0.1em }
.p-history__num-title { left: 467.1px; top: 312.02px; width: 766.7px; text-align: center; font-size: 47.12px; line-height: 82.45px; font-family: var(--ff-sm); font-weight: 800; letter-spacing: -.04em; --ls: -.04em; white-space: nowrap; transform: scaleX(.91); transform-origin: center top; }
.p-history__bg-text { left: 343.35px; top: 1093.91px; width: 1000px; text-align: center; font-size: 184px; line-height: 344.92px; font-family: var(--ff-mo) }
.p-history__slider { left: 464.8px; top: 389px; width: 789px; height: 830px }
.p-history__message { left: 90.7px; top: 1365px; width: 1158.1px; height: 198.1px }
.p-history__message-title { left: 161.08px; top: 19.88px; font-size: 51.7px; line-height: 80px; font-weight: 700; transform: matrix(.98481, 0, -.17365, .98481, 0, 0); transform-origin: 0 59.75px }
.p-history__message-text { left: 76.66px; top: 99px; width: 1000px; text-align: center; font-size: 17.48px; line-height: 30.59px; font-weight: 700; transform: matrix(.98481, 0, -.17365, .98481, 0, 0); transform-origin: 50% 21.97px }
/* 各年代のカードは同じ座標・サイズを共有 */
.p-hslide__head { left: 72px; right: 65px; top: 37.5px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.p-hslide__period { display: flex; justify-content: flex-end; align-items: baseline; width: 100%; height: 112.5px; white-space: nowrap; }
.p-hslide__years { font-size: 70.38px; line-height: 131.93px; font-family: var(--ff-sm); font-weight: 500; letter-spacing: .05em; }
.p-hslide__nen { font-size: 35.51px; line-height: 52.42px; font-family: var(--ff-sm); font-weight: 600; letter-spacing: .05em; }
.p-hslide__title { font-size: 42px; line-height: 62px; font-family: var(--ff-sm); font-weight: 500; }
.p-hslide__line { left: 5px; top: 42px; width: 237px; height: 1px; }
.p-hslide__body { left: 72px; top: 262px; width: 342px; white-space: normal; }
.p-hslide__catch { width: 370px; font-size: 22px; line-height: 37.63px; font-weight: 700; white-space: normal; }
.p-hslide__text { margin-top: 20px; width: 342px; font-size: 16px; line-height: 28px; white-space: normal; overflow-wrap: anywhere; }
.p-hslide__text .jl { display: inline; text-align: inherit; text-align-last: auto; }
.p-hslide__photo { left: 456px; top: 262px; width: 268px; height: auto; }
.p-hslide__pill { left: 5px; top: 570px; width: 169px; height: 28px; }
.p-hslide__ev { left: 204px; top: 560px; width: 560px; font-size: 16px; line-height: 37px; white-space: normal; }
/* イラストはポーズ・縦横比に応じた配置を維持 */
.p-hslide--1 .p-hslide__dog { left: 670px; top: 624px; width: 195.6px; height: 236.3px }
.p-hslide--2 .p-hslide__dog { left: 510px; top: 546px; width: 297.7px; height: 335.3px }
.p-hslide--3 .p-hslide__dog { left: 598px; top: 541px; width: 255.9px; height: 339.3px }
.p-hslide--4 .p-hslide__dog { left: 576px; top: 637px; width: 222.6px; height: 208.9px }
.p-hslide--5 .p-hslide__dog { right: -64px; bottom: -44px; width: 268px; height: auto; }
.l-footer__logo { left: 105.2px; top: 80.4px; width: 297.6px; height: 41.2px }
.l-footer__address { left: 108.77px; top: 134.82px; font-size: 15px; line-height: 27px; font-weight: 700; letter-spacing: 0.1em; --ls: 0.1em }
.l-footer__nav { left: 611.77px; top: 122.82px; font-size: 15px; line-height: 27px; font-weight: 700; letter-spacing: 0.1em; --ls: 0.1em }
.sq1 { margin-right: -6px; }
.sq2 { margin-right: -4px; }
.sq3 { margin-right: -7.96px; }
.sq4 { margin-right: -1.5px; }
.sq5 { margin-right: -8px; }
.sq6 { margin-right: -3.5px; }
.sq7 { margin-right: -7px; }
.sq8 { margin-right: -12px; }
.sq9 { margin-right: -24px; }
.sq10 { margin-right: 6px; }
.ts1 { margin-left: 0em; margin-right: -0.1em; }
.ts2 { margin-left: -0.11em; margin-right: -0.1em; }
.ts3 { margin-left: -0.09em; margin-right: -0.08em; }
.ts4 { margin-left: -0.04em; margin-right: -0.04em; }
.ts5 { margin-left: -0.09em; margin-right: -0.08em; }
.ts6 { margin-left: -0.07em; margin-right: -0.03em; }
.ts7 { margin-left: -0.02em; margin-right: -0.02em; }
.ts8 { margin-left: 0.01em; margin-right: 0em; }
.ts9 { margin-left: -0.13em; margin-right: -0.12em; }
.ts10 { margin-left: -0.11em; margin-right: -0.1em; }
.ts11 { margin-left: -0.05em; margin-right: -0.05em; }
.ts12 { margin-left: -0.03em; margin-right: 0em; }
.ts13 { margin-left: 0em; margin-right: 0.01em; }
.ts14 { margin-left: -0.1em; margin-right: -0.09em; }
.ts15 { margin-left: 0.01em; margin-right: -0.04em; }
.ts16 { margin-left: -0.02em; margin-right: -0.02em; }
} /* end @media (min-width: 768px) */

/* 出来事は年号と詳細を別列にして、折り返し・補足の頭もそろえる */
.p-hslide__ev > li { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); column-gap: .6em; align-items: start; }
.p-hslide__ev-year { white-space: nowrap; font-variant-numeric: tabular-nums; }
.p-hslide__ev-detail { min-width: 0; overflow-wrap: anywhere; }
.p-hslide__ev-note { display: block; line-height: 1.5; }
.p-hslide--5 .p-hslide__catch { white-space: nowrap; }

/* 沿革の左右ボタン（全画面幅共通） */
.p-history__controls { position: absolute; top: calc(100% + 41px); left: 0; width: 100%; display: flex; justify-content: center; gap: 28px; z-index: 2; }
.p-history__controls button { position: relative; flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); color: #fff; background: var(--c-navy); }
.p-history__controls button:hover { background: #34323e; }
.p-history__controls button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.p-history__controls button::before { content: ""; position: absolute; inset: 0; margin: auto; }
.p-history__prev::before, .p-history__next::before { width: 12px; height: 12px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; }
.p-history__prev::before { transform: translateX(3px) rotate(-135deg); }
.p-history__next::before { transform: translateX(-3px) rotate(45deg); }

/* 理念スライダーの操作はPC・タブレット・スマートフォン共通 */
.p-history__num-tail { font-feature-settings: normal; letter-spacing: inherit; }
/* 小さい画面でも前半・句読点をPCと同じ比率で詰める */
.p-history__num-title .ts9 { margin-left: -.13em; margin-right: -.12em; }
.p-history__num-title .ts10 { margin-left: -.11em; margin-right: -.10em; }
.p-history__num-title .ts11 { margin-left: -.05em; margin-right: -.05em; }
.p-history__num-title .ye { margin-right: -.5em; }
/* 沿革見出し：PDFの文字位置に合わせた「年から続く歩み」の個別調整 */
.p-history__num-tail .ts17 { margin-left: 0; margin-right: 0; }       /* 年 */
.p-history__num-tail .ts18 { margin-left: 0; margin-right: -.04em; }  /* か */
.p-history__num-tail .ts19 { margin-left: -.04em; margin-right: -.04em; } /* ら */
.p-history__num-tail .ts20 { margin-left: -.04em; margin-right: -.06em; } /* 続 */
.p-history__num-tail .ts21 { margin-left: -.06em; margin-right: -.10em; } /* く */
.p-history__num-tail .ts22 { margin-left: -.10em; margin-right: -.03em; } /* 歩 */
.p-history__num-tail .ts23 { margin-left: -.03em; margin-right: 0; }   /* み */
.p-company__era { display: inline-block; white-space: nowrap; }
.p-company__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.p-philosophy__slider { cursor: grab; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.p-philosophy__slider.is-dragging { cursor: grabbing; }
.p-philosophy__slider img { -webkit-user-drag: none; }

/* =========================================================
   SP（767px 以下）— 375px 基準。PC のトーン・配色・素材をそのまま縦積みに再構成
   ========================================================= */
@media (max-width: 767.98px) {
  :root { --gutter: 20px; }
  body { font-size: 14px; line-height: 1.9; }
  .l-canvas { position: relative; padding: 0 var(--gutter); }
  .u-pc { display: none; }
  .u-sp { display: inline; }
  .akl { margin-left: .25em; }
  .akr { margin-right: .25em; }
  .aklr { margin: 0 .25em; }
  .nd { margin: 0 -.1875em; }
  .c-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .c-head__ja, .c-subhead__ja { font-size: 14px; line-height: 1.6; letter-spacing: .37em; margin-right: -.37em; }
  .c-head__en, .c-subhead__en { font-size: min(46px, 12.3vw); line-height: 1.25; white-space: nowrap; }

  /* ---------------- header */
  .l-header .l-canvas { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 22px; padding-bottom: 18px; }
  .l-header__logo img { width: 230px; height: auto; }
  .l-header__nav ul { display: flex; justify-content: center; }
  .l-header__nav li { font-size: 12px; line-height: 1.6; letter-spacing: .15em; white-space: nowrap; }
  .l-header__nav li + li a { background: linear-gradient(#000, #000) left center / 1px 1.15em no-repeat; }
  .l-header__nav a { display: block; padding: 8px 14px; }

  /* ---------------- hero */
  .p-hero { height: 600px; background: #a3c6ea; }
  .p-hero__visual { background: url(../images/hero.webp) 80% 100% / auto 430px no-repeat, linear-gradient(#a3c6ea, #c6e1f3 60%, #d4e9f5); }
  .p-hero .l-canvas { padding-top: 46px; text-align: center; }
  .p-hero__title { font-family: var(--ff-sm); font-weight: 700; font-size: min(29px, 7.7vw); line-height: 1.55; color: #4383e8; }
  .p-hero__lead { margin-top: 18px; font-weight: 700; font-size: 12.5px; line-height: 2; color: #4d92eb; }

  /* ---------------- philosophy */
  .p-philosophy { padding: 56px 0 64px; overflow: hidden; }
  .p-philosophy__dog { width: 120px; height: auto; margin: 22px auto 0; }
  .p-philosophy__catch { margin-top: 24px; font-weight: 700; font-size: min(17px, 4.6vw); line-height: 1.6; text-align: center; white-space: nowrap; }
  .p-philosophy__text { margin-top: 16px; }
  .p-philosophy__slider { position: relative; height: 240px; margin-top: 36px; }
  .p-philosophy__track { position: absolute; top: 0; left: calc(50% - 120px - 256px); display: flex; gap: 16px; will-change: transform; }
  .p-philosophy__slide { flex: 0 0 240px; }
  .p-philosophy__slide img { width: 240px; height: 240px; object-fit: cover; }

  /* ---------------- business intro */
  .p-business__intro { padding-top: 56px; }
  .p-business__intro .l-canvas { display: flex; flex-direction: column; }
  .p-business__mark { width: 82px; height: auto; margin: 0 auto 12px; }
  .p-business__catch { margin-top: 20px; font-weight: 700; font-size: min(19px, 5.1vw); line-height: 1.6; text-align: center; white-space: nowrap; }
  .p-business__text { margin-top: 16px; }
  .p-business__dog { width: 230px; height: auto; margin: 28px auto 0; }

  /* ---------------- business nav */
  .p-bnav { background: var(--c-blue); padding: 6px 0; }
  .p-bnav__list { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 0; }
  .p-bnav__list li { font-size: 13px; line-height: 1.6; font-weight: 700; color: #fff; white-space: nowrap; }
  .p-bnav__list a { display: block; padding: 6px 12px; }
  .p-bnav__list li:nth-child(1), .p-bnav__list li:nth-child(2), .p-bnav__list li:nth-child(4) { border-right: 1px solid #fff; }
  .p-bnav__list li:nth-child(4) { margin-left: 30px; }
  .p-bnav__list li:nth-child(5) { margin-right: 30px; }

  /* ---------------- business panels */
  .p-biz-list { padding-top: 6px; }
  .p-biz { position: relative; padding: 40px 0 48px; background: #f2f2f2 center top / cover no-repeat; overflow: hidden; }
  .p-biz + .p-biz { margin-top: 8px; }
  #insurance { background-image: url(../images/biz01-bg.webp); }
  #corporate { background-image: url(../images/biz02-bg.webp); }
  #lpgas     { background-image: url(../images/biz03-bg.webp); }
  #lumber    { background-image: url(../images/biz04-bg.webp); }
  #apollo    { background-image: url(../images/biz05-bg.webp); }
  .p-biz .l-canvas { display: flex; flex-direction: column; }
  .p-biz__num { font-family: var(--ff-mo); color: var(--c-blue); font-size: 112px; line-height: 1; letter-spacing: -.01em; transform: scaleX(.9); transform-origin: left top; }
  .p-biz .c-head { align-items: flex-start; text-align: left; margin-top: 6px; }
  .p-biz .c-head__ja, .p-biz .c-head__en { color: var(--c-green); }
  .p-biz .c-head__en { font-size: min(40px, 10.7vw); }
  #corporate .c-head__en { font-size: min(36px, 9.6vw); }
  #lumber .c-head__en { font-size: min(30px, 8vw); }
  .p-biz__illust { position: absolute; top: 0; right: var(--gutter); width: auto; max-width: 136px; max-height: 136px; height: auto; }
  .p-biz__catch { margin-top: 16px; font-weight: 700; font-size: min(22px, 5.87vw); line-height: 1.5; }
  .p-biz__text { margin-top: 14px; }
  .p-biz__svc-title { position: relative; margin-top: 24px; padding-left: 18px; font-weight: 700; font-size: 14px; }
  .p-biz__svc-title::before { content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px; background: #000; }
  .p-biz__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .p-biz__tags li { padding: 3px 9px; border: 1px solid #000; background: #fff; font-size: 15px; line-height: 1.5; font-weight: 700; }
  .p-biz__dept { position: relative; margin-top: 22px; font-size: 13px; }
  .p-biz__dept::after { content: ""; position: absolute; left: 8.45em; top: .55em; width: 1px; height: 1em; background: #000; }
  .p-biz__tel { font-weight: 700; font-size: 17px; line-height: 1.6; }
  .p-biz__note { font-size: 12px; line-height: 1.7; }
  .p-biz__photo { width: calc(100% + var(--gutter)); max-width: none; height: auto; aspect-ratio: 497 / 263; object-fit: cover; margin-right: calc(var(--gutter) * -1); }
  .p-biz__photo:nth-of-type(1) { margin-top: 26px; }
  .p-biz__photo:nth-of-type(2) { margin-top: 14px; }

  /* ---------------- company */
  .p-company { padding: 56px 0 64px; }
  .p-company .l-canvas { display: flex; flex-direction: column; }
  .p-company__mark { width: 72px; height: auto; margin: 0 auto 12px; }
  .p-company__dog { position: relative; z-index: 1; width: 140px; height: auto; margin: -22px auto 0; }
  .p-company__catch { margin-top: 18px; font-weight: 700; font-size: min(19px, 5.1vw); line-height: 1.6; text-align: center; }
  .c-subhead { display: flex; flex-direction: column; margin-top: 44px; }
  .p-company .c-subhead__ja, .p-company .c-subhead__en { color: var(--c-green); }
  .p-company .c-subhead__en { font-size: min(34px, 9vw); }
  .p-company__lead { margin-top: 12px; }
  .p-company__profile { margin-top: 20px; border-top: 1px solid #7f7f7f; }
  .p-company__row { display: grid; grid-template-columns: 76px 1fr; column-gap: 22px; align-items: center; padding: 14px 6px; border-bottom: 1px solid #7f7f7f; font-size: 14px; line-height: 1.7; }
  .p-company__row dt .jl { display: block; text-align: justify; text-align-last: justify; }
  .p-company__row--7 dt { font-size: 12.5px; line-height: 1.5; }
  .p-company__row dd { min-width: 0; overflow-wrap: anywhere; }
  .p-company__related { margin-top: 22px; font-size: 13px; line-height: 1.9; }
  .p-company__affiliate-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 22px; align-items: center; padding: 14px 6px; border-bottom: 1px solid #7f7f7f; font-size: 14px; line-height: 1.7; }
  .p-company__affiliate-row:last-child { border-bottom: 0; }
  .p-company__affiliate-row dt { width: auto; }
  .p-company__affiliate-row dt .jl { display: block; text-align: justify; text-align-last: justify; }
  .p-company__affiliate-row dd { min-width: 0; overflow-wrap: anywhere; }
  .p-company__related-other { margin-top: 36px; }
  .p-company__related-other > p:not(.p-company__related-title) { font-size: 14px; line-height: 1.7; }
  .p-company__related-title { width: 120px; }
  .p-company__related-title .jl { display: block; text-align-last: justify; }
  .p-company__map { width: 100%; height: auto; aspect-ratio: 557 / 511; margin-top: 28px; }

  /* ---------------- history */
  .p-history { position: relative; padding: 52px 0 56px; color: #fff; background: var(--c-navy) url(../images/history-bg.webp) 50% 62% / auto 1300px no-repeat; overflow: hidden; }
  .p-history .l-canvas { display: flex; flex-direction: column; }
  .p-history__sub { order: 1; font-weight: 700; font-size: 15px; letter-spacing: .37em; }
  .p-history .c-head { order: 2; align-items: flex-start; text-align: left; margin-top: 20px; }
  .p-history .c-head__en { color: var(--c-red); font-size: 50px; line-height: 1.2; }
  .p-history__catch { order: 3; margin-top: 10px; font-weight: 700; font-size: 20px; line-height: 1.5; }
  .p-history__dog { order: 4; position: absolute; top: 18px; right: 10px; width: 112px; height: auto; }
  .p-history__text { order: 4; margin-top: 14px; }
  .p-history__ribbon { order: 5; position: relative; margin-top: 40px; }
  .p-history__ribbon img, .p-history__ribbon-text { width: 100%; height: auto; }
  .p-history__ribbon-text { position: absolute; left: 0; top: 0; overflow: visible; }
  .p-history__ribbon-text text { font-family: var(--ff-sm); font-weight: 700; font-size: 24px; letter-spacing: .32em; fill: #000; }
  .p-history__num-label { order: 6; margin-top: 6px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-align: center; }
  .p-history__num-title { order: 7; width: 100%; font-family: var(--ff-sm); font-weight: 800; font-size: min(24px, 6.4vw); line-height: 1.65; letter-spacing: -.04em; text-align: center; white-space: nowrap; }
  .p-history__num-big { position: relative; top: .04em; font-size: 1.57em; letter-spacing: -.13em; line-height: 0; vertical-align: baseline; margin-right: .08em; }
  .p-history__slider { order: 8; position: relative; z-index: 1; margin-top: 16px; touch-action: pan-y pinch-zoom; }
  /* HISTORY はカードのすぐ下に全体が見えるように置き、操作ボタンはその下へ。
     --bt: 文字サイズ / 40px: ボタン高さ / 12px: HISTORY とボタンの間 */
  .p-history .l-canvas { --bt: min(80px, 21vw); }
  .p-history__bg-text { order: 9; margin-top: calc(-52px - var(--bt)); font-family: var(--ff-mo); font-size: var(--bt); line-height: 1; text-align: center; color: #d5d5d5; opacity: .2; }
  .p-history__message { order: 10; position: relative; z-index: 1; margin-top: 74px; padding: 22px 16px 20px; border: 1px solid var(--c-gray); text-align: center; }
  .p-history__message > * { transform: matrix(.98481, 0, -.17365, .98481, 0, 0); }
  .p-history__message-title { font-weight: 700; font-size: min(24px, 6.4vw); line-height: 1.45; }
  .p-history__message-text { margin-top: 10px; font-weight: 700; font-size: 12.5px; line-height: 1.8; text-align: left; }

  /* 沿革カード：全スライドを同じグリッドセルに重ね、最も高いスライドの高さで固定 */
  .p-history__slides { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(5, auto); padding: 26px 18px 30px; background: #e6e6e6; border: 5px solid #000; }
  .p-hslide { grid-column: 1; grid-row: 1 / span 5; position: relative; display: grid; grid-template-rows: subgrid; min-width: 0; padding-bottom: 70px; color: var(--c-brown); opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
  .p-hslide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s 0s; z-index: 1; }
  .p-hslide__line { position: absolute; top: 2px; left: -18px; width: 46%; height: 1px; background: var(--c-brown); }
  .p-hslide__head { grid-row: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; text-align: right; margin-top: 10px; }
  .p-hslide__period { display: flex; justify-content: flex-end; align-items: baseline; width: 100%; white-space: nowrap; }
  .p-hslide__years { font-family: var(--ff-sm); font-weight: 500; font-size: min(40px, 10.6vw); line-height: 1.3; letter-spacing: .05em; }
  .p-hslide__hyphen { position: relative; top: -.1em; }
  .p-hslide__nen { font-family: var(--ff-sm); font-weight: 600; font-size: min(20px, 5.3vw); letter-spacing: .05em; }
  .p-hslide__title { flex-basis: 100%; font-family: var(--ff-sm); font-weight: 500; font-size: min(24px, 6.4vw); line-height: 1.5; }
  .p-hslide__body { grid-row: 2; min-width: 0; margin-top: 18px; align-self: start; }
  .p-hslide__catch { font-weight: 700; font-size: 16px; line-height: 1.7; }
  .p-hslide--5 .p-hslide__catch { font-size: min(16px, 4.4vw); }
  .p-hslide__text { margin-top: 8px; font-size: 13.5px; line-height: 1.85; }
  .p-hslide__photo { grid-row: 3; align-self: start; width: 100%; height: auto; margin-top: 16px; }
  .p-hslide__pill { grid-row: 4; align-self: start; justify-self: start; margin: 20px 0 0 -18px; padding: 0 22px 0 18px; border-radius: 0 13px 13px 0; background: var(--c-brown); color: #fff; font-size: 12px; line-height: 26px; font-weight: 700; letter-spacing: .18em; }
  .p-hslide__ev { grid-row: 5; margin-top: 10px; font-size: 13px; line-height: 1.75; }
  .p-hslide__ev li + li { margin-top: 6px; }
  .p-hslide__ev > li { grid-template-columns: 4.1em minmax(0, 1fr); column-gap: .5em; }
  .p-hslide__dog { position: absolute; right: -14px; bottom: -40px; width: auto; height: 118px; }

  /* 沿革カードの下に左右ボタンを配置 */
  .p-history__slider { display: flex; flex-direction: column; }
  .p-history__controls { order: 2; position: relative; top: calc(8px - var(--bt) / 2); left: auto; width: auto; gap: 20px; margin-top: calc(var(--bt) + 6px); }
  .p-history__controls button { width: 48px; height: 48px; }
  .p-history__prev::before, .p-history__next::before { width: 10px; height: 10px; }

  /* 小さい緑見出しのコントラスト確保（4.5:1 以上） */
  .p-biz .c-head__ja, .p-company .c-subhead__ja { color: #4a6c32; }

  /* ---------------- footer */
  .l-footer { padding: 32px 0 36px; background: var(--c-gray); }
  .l-footer .l-canvas { display: flex; flex-direction: column; }
  .l-footer__logo img { width: 230px; height: auto; }
  .l-footer__address { margin-top: 14px; font-weight: 700; font-size: 12px; line-height: 1.9; letter-spacing: .1em; }
  .l-footer__nav { margin-top: 18px; }
  .l-footer__nav ul { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -8px; }
  .l-footer__nav a { display: block; padding: 6px 8px; }
  .l-footer__nav li { font-weight: 700; font-size: 12px; letter-spacing: .1em; }
}

/* 固定ヘッダー。本文とページ内リンクの停止位置に同じ高さを確保する。 */
.p-hero { position: relative; isolation: isolate; overflow: hidden; }
.p-hero__visual { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.p-hero > .l-canvas { z-index: 1; }
.has-hero-intro .p-hero__visual { filter: blur(18px); }
.has-hero-intro .p-hero__title, .has-hero-intro .p-hero__lead { opacity: 0; }
:root { --header-height: 104px; }
html { scroll-padding-top: var(--header-offset, var(--header-height)); }
body { padding-top: var(--header-space, var(--header-height)); }
.p-hero { overflow-anchor: none; }
.l-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-height); background: #fff; box-shadow: 0 3px 18px rgba(26,24,34,.07); }
@media (min-width: 768px) {
  .l-header { min-width: var(--canvas); }
  .l-header__logo { top: calc((var(--header-height) - 45.6px) / 2); }
  .l-header__nav { top: calc((var(--header-height) - 28px) / 2); }
}
@media (max-width: 767.98px) {
  :root { --header-height: 100px; }
  .l-header .l-canvas { padding: 14px var(--gutter) 10px; gap: 8px; }
}

/* 演出中の移動をスクロール位置の自動補正から除外する。 */
.has-reveal { overflow-anchor: none; }

/* 理念の犬だけ、小さなshakeYでゆっくり上下に揺らす。 */
.p-philosophy__dog { animation: philosophy-shake-y 10s ease-in-out infinite; }
@keyframes philosophy-shake-y {
  0%, 100% { transform: translateY(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateY(-3px); }
  20%, 40%, 60%, 80% { transform: translateY(3px); }
}

/* 操作時の反応。スクロール演出はJS対応時だけ実行し、本文を常時隠さない。 */
.l-header__nav a, .p-bnav__list a, .l-footer__nav a,
.l-footer__address a, .p-company a, .p-biz__tel a {
  transition: opacity .22s ease, color .22s ease;
}
.l-header__logo img, .l-footer__logo img { transition: opacity .22s ease; }
.p-history__controls button { transition: background-color .22s ease, translate .22s ease, scale .16s ease; }
@media (hover: hover) and (pointer: fine) {
  .p-company a:hover, .p-biz__tel a:hover,
  .l-header__logo a:hover img, .l-footer__logo a:hover img { opacity: .72; }
}
@media (hover: hover) and (pointer: fine) {
  .p-history__controls button:hover { translate: 0 -3px; }
  .p-history__controls button:active { translate: 0 0; scale: .96; }
}

