/* 伊藤製綱株式会社 Webサイト
   紺（関門の海）× ロープの黄色。撚りロープの模様を区切りと装飾に使う。 */
:root{
  --navy:#0E2350;
  --navy-2:#16336F;
  --navy-3:#081634;
  --rope:#F6CD46;
  --rope-deep:#D9A51F;
  --rope-ink:#8A6410;      /* 白地に置く黄色系の文字 */
  --rope-gray:#6A6764;
  --paper:#F4F6F9;
  --cream:#F6F0DF;
  --white:#FFFFFF;
  --ink:#14233A;
  --soft:#4F5F74;
  --line:#D8DEE7;
  --signal:#C23A2B;

  --f-head:"Shippori Mincho B1","Hiragino Mincho ProN","Yu Mincho",serif;
  --f-body:"Zen Kaku Gothic New","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --f-num:"Barlow Condensed","Arial Narrow",sans-serif;

  --wrap:1180px;
  --gutter:clamp(16px,4vw,40px);
  --header-h:72px;
  --logo-blue:#1F228A;
  --rope-h-white:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2218%22 height=%2240%22 viewBox=%220 0 18 40%22><g fill=%22%23FFFFFF%22><rect x=%22-33.45%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 -27.0 20%29%22/><rect x=%22-15.45%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 -9.0 20%29%22/><rect x=%222.55%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 9.0 20%29%22/><rect x=%2220.55%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 27.0 20%29%22/><rect x=%2238.55%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 45.0 20%29%22/></g></svg>") 0 0/auto 100% repeat-x;
  --rope-h:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2218%22 height=%2240%22 viewBox=%220 0 18 40%22><g fill=%22%231F228A%22><rect x=%22-33.45%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 -27.0 20%29%22/><rect x=%22-15.45%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 -9.0 20%29%22/><rect x=%222.55%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 9.0 20%29%22/><rect x=%2220.55%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 27.0 20%29%22/><rect x=%2238.55%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 45.0 20%29%22/></g></svg>") 0 0/auto 100% repeat-x;
  --rope-v:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2240%22 height=%2218%22 viewBox=%220 0 40 18%22><g transform=%22translate%2840 0%29 rotate%2890%29%22><g fill=%22%231F228A%22><rect x=%22-33.45%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 -27.0 20%29%22/><rect x=%22-15.45%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 -9.0 20%29%22/><rect x=%222.55%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 9.0 20%29%22/><rect x=%2220.55%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 27.0 20%29%22/><rect x=%2238.55%22 y=%22-1.5%22 width=%2212.9%22 height=%2243%22 rx=%226.4%22 transform=%22rotate%28-38 45.0 20%29%22/></g></g></svg>") 0 0/100% auto repeat-y;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--f-body);font-size:16px;line-height:1.9;-webkit-font-smoothing:antialiased;font-feature-settings:"palt" 0}
h1,h2,h3,h4{margin:0;line-height:1.4;text-wrap:balance}
p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:3px solid var(--rope-deep);outline-offset:3px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:8px;top:-60px;z-index:100;background:var(--navy);color:var(--white);padding:8px 14px;border-radius:4px}
.skip:focus{top:8px}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.num{font-family:var(--f-num);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--f-num);font-weight:700;font-size:15px;letter-spacing:.18em;text-transform:uppercase;color:var(--rope-ink)}
.eyebrow::before{content:"";width:34px;height:10px;background:var(--rope-h)}
.on-dark .eyebrow{color:var(--rope)}
.on-dark .eyebrow::before{background:var(--rope-h-white)}
.rope-band{height:18px;background:var(--rope-h);background-color:var(--white);border:0}

/* ───── header ───── */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:24px;height:var(--header-h);max-width:1320px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:none}
.brand img{height:58px;width:auto}
.brand b{display:block;font-family:var(--f-head);font-weight:800;font-size:21px;letter-spacing:.12em;line-height:1.2}
.brand small{display:block;font-family:var(--f-num);font-weight:700;font-size:11px;letter-spacing:.22em;color:var(--soft);line-height:1.2}
.gnav{margin-left:auto}
.gnav ul{list-style:none;display:flex;gap:4px}
.gnav a{display:block;padding:8px 12px;font-size:14px;font-weight:700;text-decoration:none;border-radius:4px;white-space:nowrap}
.gnav a:hover{background:var(--paper)}
.gnav a[aria-current="page"]{color:var(--navy);box-shadow:inset 0 -3px 0 var(--rope-deep)}
.head-tel{display:flex;flex-direction:column;align-items:flex-end;line-height:1.1;text-decoration:none;flex:none}
.head-tel span{font-size:11px;color:var(--soft)}
.head-tel b{font-family:var(--f-num);font-size:26px;color:var(--navy);letter-spacing:.02em}
.head-cta{flex:none;background:var(--navy);color:var(--white);text-decoration:none;font-weight:700;font-size:14px;padding:11px 18px;border-radius:4px}
.head-cta:hover{background:var(--navy-2)}
.menu-btn{display:none;margin-left:auto;width:48px;height:48px;border:1px solid var(--line);background:var(--white);border-radius:6px;cursor:pointer;position:relative}
.menu-btn span,.menu-btn::before,.menu-btn::after{content:"";position:absolute;left:12px;right:12px;height:2px;background:var(--ink);transition:transform .2s,opacity .2s}
.menu-btn span{top:23px}.menu-btn::before{top:15px}.menu-btn::after{top:31px}
.menu-btn[aria-expanded="true"] span{opacity:0}
.menu-btn[aria-expanded="true"]::before{transform:translateY(8px) rotate(45deg)}
.menu-btn[aria-expanded="true"]::after{transform:translateY(-8px) rotate(-45deg)}

.gnav .gnav-tel{display:none}
@media (max-width:1180px){
  .head-tel{display:none}
}
@media (max-width:980px){
  :root{--header-h:64px}
  .brand img{height:48px;width:auto}
  .brand b{font-size:18px}
  .menu-btn{display:block}
  .head-cta{display:none}
  .gnav{position:fixed;inset:var(--header-h) 0 auto 0;background:var(--white);border-bottom:1px solid var(--line);box-shadow:0 20px 40px -20px rgba(14,35,80,.35);padding:8px var(--gutter) 20px;display:none;max-height:calc(100dvh - var(--header-h));overflow:auto}
  .gnav.open{display:block}
  .gnav ul{flex-direction:column;gap:0}
  .gnav a{padding:14px 4px;font-size:16px;border-bottom:1px solid var(--line);border-radius:0}
  .gnav a[aria-current="page"]{box-shadow:inset 4px 0 0 var(--rope-deep);padding-left:14px}
  .gnav .gnav-tel{display:block;margin-top:16px;text-align:center;font-family:var(--f-num);font-size:28px;font-weight:700;color:var(--navy);text-decoration:none}
}

/* ───── buttons ───── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 28px;border-radius:4px;font-weight:700;font-size:15px;text-decoration:none;border:2px solid var(--navy);transition:background .15s,color .15s}
.btn-primary{background:var(--navy);color:var(--white)}
.btn-primary:hover{background:var(--navy-2);border-color:var(--navy-2)}
.btn-ghost{color:var(--navy);background:var(--white)}
.btn-ghost:hover{background:var(--paper)}
.btn-rope{background:var(--rope);border-color:var(--rope);color:var(--navy)}
.btn-rope:hover{background:#FFDD6E}
.btn .arr{width:18px;height:2px;background:currentColor;position:relative}
.btn .arr::after{content:"";position:absolute;right:0;top:-4px;width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}
.btns{display:flex;flex-wrap:wrap;gap:12px}
.more{display:inline-flex;align-items:center;gap:10px;font-weight:700;text-decoration:none;color:var(--navy);border-bottom:2px solid var(--rope-deep);padding-bottom:2px}

/* ───── top hero ───── */
.hero{position:relative;display:flex;justify-content:center;background:radial-gradient(ellipse 60% 80% at 50% 40%,#1B3A7A 0%,var(--navy) 60%,#081634 100%)}
.hero video{width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;background:var(--navy)}
.hero .vid-toggle{position:absolute;right:16px;bottom:16px;font:700 12px/1 var(--f-body);color:var(--white);background:rgba(8,22,52,.6);border:1px solid rgba(255,255,255,.55);border-radius:999px;padding:9px 16px;cursor:pointer}
@media (max-width:760px){.hero video{aspect-ratio:4/5}}
.hero-lead{background:var(--white);border-bottom:1px solid var(--line)}
.hero-lead .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px 48px;flex-wrap:wrap;padding-block:36px}
.hero-lead h1{font-family:var(--f-head);font-weight:800;font-size:clamp(24px,3vw,34px);letter-spacing:.04em}
.hero-lead h1 em{font-style:normal;background:linear-gradient(transparent 68%,var(--cream) 68%)}
.hero-lead p{color:var(--soft);font-size:15px;max-width:46em;margin-top:8px}
.hero-lead .txt{flex:1 1 520px;min-width:0}

/* ───── facts ───── */
.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}
.facts div{padding:28px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.facts div:last-child{border-right:0}
.facts b{font-family:var(--f-num);font-size:clamp(40px,5vw,60px);font-weight:700;color:var(--navy);line-height:1}
.facts b small{font-family:var(--f-body);font-size:.36em;font-weight:900;margin-left:4px}
.facts div>span{font-size:14px;color:var(--soft)}
@media (max-width:760px){
  .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts div:nth-child(2){border-right:0}
  .facts div:nth-child(-n+2){border-bottom:1px solid var(--line)}
}

/* ───── sections ───── */
.sec{padding-block:clamp(64px,9vw,112px)}
.sec.tint{background:var(--paper)}
.sec.dark{background:var(--navy);color:var(--white)}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 40px;flex-wrap:wrap;margin-bottom:clamp(32px,4vw,48px)}
.sec-head h2{font-family:var(--f-head);font-weight:800;font-size:clamp(28px,3.6vw,40px);letter-spacing:.04em;margin-top:10px}
.sec-head p{max-width:36em;color:var(--soft);font-size:15px}
.sec.dark .sec-head p{color:#C7D2E6}
.lead-text{max-width:42em;font-size:17px}
.prose{max-width:40em}
.prose p+p{margin-top:1.2em}

/* business cards */
.biz-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.biz-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);background:var(--white);border:1px solid var(--line);border-radius:6px;overflow:hidden;text-decoration:none;transition:box-shadow .2s,transform .2s}
.biz-card:hover{box-shadow:0 18px 40px -24px rgba(14,35,80,.45);transform:translateY(-2px)}
.biz-card .ph{overflow:hidden;min-height:260px;position:relative}
.biz-card .ph img{position:absolute;inset:0}
.biz-card .ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.biz-card:hover .ph img{transform:scale(1.05)}
.biz-card .tx{padding:24px;display:flex;flex-direction:column;gap:10px;min-width:0}
.biz-card .en{font-family:var(--f-num);font-weight:700;font-size:13px;letter-spacing:.16em;color:var(--rope-ink)}
.biz-card h3{font-family:var(--f-head);font-weight:800;font-size:22px}
.biz-card p{font-size:14px;color:var(--soft);line-height:1.8}
.biz-card .more{margin-top:auto;align-self:flex-start;font-size:14px}
.tags{display:flex;flex-wrap:wrap;gap:6px;list-style:none}
.tags li{font-size:12px;border:1px solid var(--line);border-radius:999px;padding:2px 12px;line-height:1.8;background:var(--white)}
@media (max-width:960px){.biz-grid{grid-template-columns:1fr}}
@media (max-width:520px){.biz-card{grid-template-columns:1fr}.biz-card .ph{min-height:0;aspect-ratio:16/9}}

/* uses tiles */
.use-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.use-tile{position:relative;display:block;aspect-ratio:3/4;border-radius:6px;overflow:hidden;text-decoration:none;color:var(--white);background:var(--navy-3)}
.use-tile img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.use-tile:hover img{transform:scale(1.06)}
.use-tile .cap{position:absolute;inset:auto 0 0 0;padding:56px 18px 18px;background:linear-gradient(0deg,rgba(8,22,52,.92),rgba(8,22,52,0))}
.use-tile .cap b{display:block;font-family:var(--f-head);font-size:24px;font-weight:800}
.use-tile .cap span{font-size:13px;line-height:1.6;display:block;color:#DCE4F1}
.use-tile .lb{position:absolute;left:14px;top:14px;background:var(--rope);color:var(--navy);font-weight:900;font-size:12px;letter-spacing:.12em;padding:4px 10px;border-radius:4px;font-family:var(--f-num)}
@media (max-width:900px){.use-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* split block */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center}
.split.rev>.media{order:2}
.split .media{border-radius:6px;overflow:hidden;aspect-ratio:4/3}
.split .media img{width:100%;height:100%;object-fit:cover}
.split h3{font-family:var(--f-head);font-size:clamp(24px,2.8vw,30px);font-weight:800;margin:10px 0 14px}
.split p{color:var(--soft)}
.split .btns{margin-top:24px}
@media (max-width:860px){.split{grid-template-columns:1fr}.split.rev>.media{order:0}}

/* works gallery */
.filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.filter button{font:700 14px var(--f-body);padding:9px 18px;border-radius:999px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer}
.filter button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:var(--white)}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gallery figure{background:var(--white);border:1px solid var(--line);border-radius:6px;overflow:hidden;transition:opacity .25s,transform .25s}
.gallery figure.hide{display:none}
.gallery .ph{aspect-ratio:4/3;overflow:hidden;background:var(--paper)}
.gallery .ph img{width:100%;height:100%;object-fit:cover}
.gallery figcaption{padding:14px 16px 16px;font-size:14px;line-height:1.7}
.gallery figcaption .cat{display:inline-block;font-family:var(--f-num);font-weight:700;font-size:12px;letter-spacing:.12em;color:var(--rope-ink);margin-bottom:2px}
.gallery figcaption b{display:block;font-size:16px}
@media (max-width:900px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:540px){.gallery{grid-template-columns:1fr}}

/* tables */
.tbl-wrap{overflow-x:auto}
.tbl{width:100%;border-collapse:collapse;font-size:15px;min-width:520px}
.tbl th,.tbl td{text-align:left;vertical-align:top;padding:18px 16px;border-bottom:1px solid var(--line)}
.tbl th{width:26%;font-weight:700;background:var(--paper);white-space:nowrap}
.tbl td small{display:block;color:var(--soft);font-size:13px;margin-top:2px}
.tbl tr:first-child th,.tbl tr:first-child td{border-top:2px solid var(--navy)}
.tbl.list th{background:transparent;width:auto}
.tbl.list thead th{background:var(--navy);color:var(--white);font-size:13px;letter-spacing:.06em}

/* sub page hero */
.page-hero{position:relative;background:var(--navy);color:var(--white);overflow:hidden}
.page-hero .wrap{position:relative;z-index:1;padding-block:clamp(48px,7vw,84px) clamp(40px,6vw,64px)}
.page-hero h1{font-family:var(--f-head);font-weight:800;font-size:clamp(30px,4.6vw,52px);letter-spacing:.06em;margin-top:12px}
.page-hero p{margin-top:12px;color:#C7D2E6;max-width:40em}
.page-hero .bg{position:absolute;inset:0 0 0 45%;opacity:.42}
.page-hero .bg img{width:100%;height:100%;object-fit:cover}
.page-hero .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--navy) 0%,rgba(14,35,80,.2) 60%,rgba(14,35,80,0) 100%)}
.page-hero+.rope-band{margin:0}
@media (max-width:760px){.page-hero .bg{inset:0;opacity:.22}}
.crumbs{font-size:13px;color:var(--soft);padding-block:14px;border-bottom:1px solid var(--line)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.crumbs li+li::before{content:"／";margin-right:6px;color:var(--line)}
.crumbs a{text-decoration:none}
.crumbs a:hover{text-decoration:underline}

/* page-local nav (anchors) */
.anchor-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:8px}
.anchor-nav a{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border:1px solid var(--line);border-radius:4px;text-decoration:none;font-weight:700;font-size:14px;background:var(--white)}
.anchor-nav a:hover{border-color:var(--navy)}
.anchor-nav a::after{content:"";width:7px;height:7px;border-right:2px solid var(--rope-deep);border-bottom:2px solid var(--rope-deep);transform:rotate(45deg) translateY(-2px)}

/* business detail */
.biz-detail{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(28px,5vw,64px);padding-block:clamp(48px,6vw,80px);border-top:1px solid var(--line)}
.biz-detail:first-of-type{border-top:0}
.biz-detail .media{display:grid;gap:12px;align-content:start}
.biz-detail .media .main{aspect-ratio:4/3;border-radius:6px;overflow:hidden}
.biz-detail .media .main img,.biz-detail .media .sub img{width:100%;height:100%;object-fit:cover}
.biz-detail .media .subs{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.biz-detail .media .sub{aspect-ratio:4/3;border-radius:6px;overflow:hidden}
.biz-detail h2{font-family:var(--f-head);font-weight:800;font-size:clamp(26px,3vw,34px);margin:10px 0 16px}
.biz-detail .badge{display:inline-block;background:var(--cream);color:var(--ink);font-weight:700;font-size:13px;padding:4px 12px;border-radius:4px;margin-bottom:14px}
.biz-detail p{color:var(--soft)}
.biz-detail h3{font-size:15px;font-weight:700;margin:22px 0 8px;padding-left:12px;border-left:4px solid var(--rope-deep);line-height:1.5}
.biz-detail ul.dots{list-style:none;display:grid;gap:4px;font-size:15px}
.biz-detail ul.dots li{padding-left:16px;position:relative}
.biz-detail ul.dots li::before{content:"";position:absolute;left:2px;top:.8em;width:6px;height:6px;border-radius:50%;background:var(--navy)}
.biz-detail .btns{margin-top:28px}
@media (max-width:860px){.biz-detail{grid-template-columns:1fr}}

/* message */
.message{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,5vw,72px);align-items:start}
.message blockquote{margin:0 0 28px;font-family:var(--f-head);font-weight:800;font-size:clamp(24px,3vw,34px);line-height:1.6}
.message .sign{margin-top:32px;text-align:right;font-family:var(--f-head);font-size:15px}
.message .sign b{font-size:26px;margin-left:16px;letter-spacing:.2em}
.message figure{border-radius:6px;overflow:hidden}
.message figcaption{font-size:13px;color:var(--soft);padding-top:8px}
@media (max-width:860px){.message{grid-template-columns:1fr}}

/* ───── history timeline ───── */
.history{position:relative;max-width:980px;margin-inline:auto}
.tl-rope{position:absolute;left:calc(9.5em + 14px);top:0;bottom:0;width:18px;margin-left:-9px;border-radius:9px;background:var(--line);overflow:hidden}
.tl-rope i{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--rope-v)}
.era{position:relative;display:grid;grid-template-columns:9.5em 28px 1fr;gap:0 20px;margin:0 0 8px}
.era-label{grid-column:1;position:sticky;top:calc(var(--header-h) + 24px);align-self:start;text-align:right;padding-top:18px}
.era-label b{display:block;font-family:var(--f-head);font-size:30px;font-weight:800;color:var(--navy);line-height:1.2}
.era-label span{font-family:var(--f-num);font-size:15px;font-weight:700;letter-spacing:.12em;color:var(--soft)}
.era ol{grid-column:3;list-style:none;display:grid;gap:18px;padding-block:18px 32px}
.ev{position:relative;background:var(--white);border:1px solid var(--line);border-radius:6px;padding:18px 22px 20px}
.ev::before{content:"";position:absolute;left:-42px;top:20px;width:34px;height:34px;background:var(--white) url("../img/i-mark.png") center/100% no-repeat;border-radius:50%;box-shadow:0 0 0 5px var(--paper)}
.ev::after{content:"";position:absolute;left:-8px;top:36px;width:8px;height:2px;background:var(--logo-blue)}
.ev time{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.ev time .y{font-family:var(--f-num);font-size:40px;font-weight:700;line-height:1;color:var(--navy)}
.ev time .jp{font-size:14px;font-weight:700;color:var(--soft)}
.ev h3{font-size:18px;font-weight:700;margin-top:8px;line-height:1.6}
.ev p{font-size:14px;color:var(--soft);margin-top:4px}
.ev.key{border-color:var(--navy);box-shadow:0 14px 34px -24px rgba(14,35,80,.6)}
.ev.key::before{width:44px;height:44px;left:-47px;top:15px}
.ev.key time .y{color:var(--signal)}
.ev .ph{margin-top:14px;border-radius:4px;overflow:hidden;aspect-ratio:16/7}
.ev .ph img{width:100%;height:100%;object-fit:cover}
.cap-bar{margin-top:12px;display:grid;gap:6px;font-size:13px}
.cap-bar div{display:grid;grid-template-columns:5.5em 1fr;align-items:center;gap:10px}
.cap-bar span.bar{display:block;height:16px;background:var(--rope-h);transform-origin:left;width:calc(var(--v) * 100%)}
.cap-bar em{font-style:normal;font-family:var(--f-num);font-weight:700;font-size:16px;color:var(--navy)}
.tl-end{display:grid;grid-template-columns:9.5em 28px 1fr;gap:0 20px}
.tl-end .knot{grid-column:2;justify-self:center;width:60px;height:60px;background:var(--white) url("../img/i-mark.png") center/100% no-repeat;border-radius:50%;box-shadow:0 0 0 5px var(--paper);position:relative;z-index:1}
.tl-end p{grid-column:3;align-self:center;font-family:var(--f-head);font-weight:800;font-size:20px}
@media (max-width:700px){
  .tl-rope{left:14px}
  .era,.tl-end{grid-template-columns:28px 1fr;gap:0 18px}
  .era-label{grid-column:2;position:relative;top:auto;text-align:left;padding-top:28px}
  .era-label b{display:inline;font-size:24px;margin-right:10px}
  .era ol{grid-column:2;padding-top:12px}
  .ev::before{left:-40px}
  .ev.key::before{left:-45px}
  .ev::after{left:-6px;width:6px}
  .tl-end .knot{grid-column:1}
  .tl-end p{grid-column:2}
}
/* motion — added only when JS is running and the viewer allows motion */
.motion .ev{opacity:0;transform:translateX(36px);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1)}
.motion .ev::before{transform:scale(0) rotate(-120deg);transition:transform .5s cubic-bezier(.3,1.6,.5,1) .15s}
.motion .ev.in{opacity:1;transform:none}
.motion .ev.in::before{transform:scale(1) rotate(0)}
.motion .cap-bar span.bar{clip-path:inset(0 100% 0 0);transition:clip-path 1s cubic-bezier(.2,.7,.2,1) .35s}
.motion .ev.in .cap-bar span.bar{clip-path:inset(0 0 0 0)}
.motion .era-label{opacity:.35;transition:opacity .3s}
.motion .era.active .era-label{opacity:1}
.motion .tl-end .knot{transform:scale(0);transition:transform .6s cubic-bezier(.3,1.6,.5,1)}
.motion .tl-end.in .knot{transform:scale(1)}

/* company table + access */
.access{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
.access .addr{font-size:17px;font-weight:700}
.access dl{display:grid;grid-template-columns:4.5em 1fr;gap:6px 12px;margin-top:16px;font-size:15px}
.access dt{color:var(--soft)}
.access .media{border-radius:6px;overflow:hidden;aspect-ratio:4/3}
.access .media img{width:100%;height:100%;object-fit:cover}
@media (max-width:860px){.access{grid-template-columns:1fr}}

/* factory */
.steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;counter-reset:st}
.steps li{background:var(--white);border:1px solid var(--line);border-radius:6px;overflow:hidden;display:flex;flex-direction:column}
.steps .ph{aspect-ratio:4/3;overflow:hidden}
.steps .ph img{width:100%;height:100%;object-fit:cover}
.steps .tx{padding:18px 20px 22px}
.steps .tx::before{counter-increment:st;content:"STEP " counter(st);font-family:var(--f-num);font-weight:700;font-size:13px;letter-spacing:.16em;color:var(--rope-ink)}
.steps h3{font-size:18px;margin:4px 0 6px}
.steps p{font-size:14px;color:var(--soft)}
@media (max-width:860px){.steps{grid-template-columns:1fr}}

/* contact */
.contact-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,64px);align-items:start}
.tel-card{background:var(--navy);color:var(--white);border-radius:6px;padding:28px}
.tel-card dl{display:grid;gap:14px}
.tel-card dt{font-family:var(--f-num);font-weight:700;letter-spacing:.16em;font-size:13px;color:var(--rope)}
.tel-card dd{font-family:var(--f-num);font-size:38px;font-weight:700;line-height:1.1;user-select:all}
.tel-card dd.mail{font-family:var(--f-body);font-size:17px;word-break:break-all}
.tel-card a{text-decoration:none}
.tel-card p{font-size:13px;color:#C7D2E6;margin-top:16px}
.form{display:grid;gap:20px}
.field{display:grid;gap:6px}
.field label,.field legend{font-weight:700;font-size:15px}
.req{display:inline-block;margin-left:8px;background:var(--signal);color:var(--white);font-size:11px;padding:1px 8px;border-radius:3px;vertical-align:2px}
.opt{display:inline-block;margin-left:8px;background:var(--line);color:var(--soft);font-size:11px;padding:1px 8px;border-radius:3px;vertical-align:2px}
.field input,.field select,.field textarea{font:inherit;font-size:16px;padding:12px 14px;border:1px solid #B9C3D1;border-radius:4px;background:var(--white);color:var(--ink);width:100%}
.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid rgba(217,165,31,.45);border-color:var(--rope-deep)}
.field textarea{min-height:180px;resize:vertical}
.field .hint{font-size:13px;color:var(--soft)}
.field .err{font-size:13px;color:var(--signal);font-weight:700}
.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:var(--signal)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media (max-width:640px){.row2{grid-template-columns:1fr}}
fieldset.field{border:0;padding:0;margin:0}
.checks{display:flex;flex-wrap:wrap;gap:8px 18px}
.checks label{font-weight:500;display:flex;align-items:center;gap:8px}
.checks input{width:20px;height:20px}
.agree{display:flex;gap:10px;align-items:flex-start;font-size:15px}
.agree input{width:20px;height:20px;margin-top:4px;flex:none}
.confirm{border:1px solid var(--line);border-radius:6px;padding:24px;background:var(--paper)}
.confirm dl{display:grid;grid-template-columns:9em 1fr;gap:10px 16px;font-size:15px}
.confirm dt{font-weight:700}
.confirm dd{white-space:pre-wrap;word-break:break-word}
.notice-box{border-left:4px solid var(--rope-deep);background:var(--cream);padding:16px 20px;font-size:15px}

/* CTA band */
.cta-band{background:var(--navy);color:var(--white);position:relative;overflow:hidden}
.cta-band .wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:28px 48px;align-items:center;padding-block:clamp(48px,6vw,72px)}
.cta-band h2{font-family:var(--f-head);font-weight:800;font-size:clamp(24px,3vw,32px);margin-top:10px}
.cta-band p{color:#C7D2E6;margin-top:10px;font-size:15px}
.cta-band .tel{display:block;font-family:var(--f-num);font-weight:700;font-size:clamp(40px,5vw,56px);line-height:1;color:var(--rope);text-decoration:none}
.cta-band .tel-sub{font-size:13px;color:#C7D2E6;margin:8px 0 18px}
@media (max-width:860px){.cta-band .wrap{grid-template-columns:1fr}}

.tsuna{background:var(--white);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:16px 28px;flex-wrap:wrap;padding:20px var(--gutter);font-size:14px;color:var(--soft);line-height:1.8}
.tsuna img{height:84px;width:auto}
.tsuna b{display:block;font-family:var(--f-head);font-size:20px;color:var(--ink)}

/* footer */
.site-footer{background:var(--navy-3);color:#C7D2E6;font-size:14px}
.site-footer .wrap{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px 48px;padding-block:56px 32px}
.site-footer .f-brand{display:flex;align-items:center;gap:14px;color:var(--white)}
.site-footer .f-brand{flex-direction:column;align-items:flex-start}
.site-footer .f-brand img{width:120px;height:auto}
.site-footer .f-brand b{font-family:var(--f-head);font-size:22px;letter-spacing:.12em}
.site-footer address{font-style:normal;margin-top:16px;line-height:1.9}
.site-footer nav ul{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 24px}
.site-footer nav a{text-decoration:none}
.site-footer nav a:hover{color:var(--white);text-decoration:underline}
.site-footer .copy{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.12);padding-top:20px;font-size:12px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
@media (max-width:760px){.site-footer .wrap{grid-template-columns:1fr}}

/* sticky call bar on phones */
.call-bar{display:none}
@media (max-width:760px){
  .call-bar{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:40;box-shadow:0 -8px 24px -12px rgba(0,0,0,.35);padding-bottom:env(safe-area-inset-bottom,0px);background:var(--navy)}
  .call-bar a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;font-weight:700;text-decoration:none;font-size:15px}
  .call-bar a:first-child{background:var(--rope);color:var(--navy)}
  .call-bar a:last-child{color:var(--white)}
  body{padding-bottom:56px}
}

/* generic reveal (sections) */
.motion .rv{opacity:0;transform:translateY(24px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
.motion .rv.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
}

.ev .ev-logo{margin-top:14px;display:flex;justify-content:center;background:var(--paper);border-radius:4px;padding:18px}
.ev .ev-logo img{height:200px;width:auto}

/* キッコーくん（隠しページ） */
.kk-price{display:flex;align-items:baseline;gap:8px;margin:4px 0 18px;color:var(--ink)}
.kk-price span{font-size:15px;font-weight:700}
.kk-price b{font-size:52px;line-height:1;color:var(--signal)}
.kk-prose p{font-family:var(--f-head);font-size:17px;line-height:2.2}
.kk-prose .sign{text-align:right;margin-top:28px}

/* 沿革：歴代社長の写真 */
.ev:has(.ev-person){display:grid;grid-template-columns:minmax(0,1fr) 132px;column-gap:20px;align-items:start}
.ev:has(.ev-person)>*:not(.ev-person){grid-column:1}
.ev-person{grid-column:2;grid-row:1 / span 4;margin:0}
.ev-person img{width:100%;height:auto;aspect-ratio:480/603;object-fit:cover;border-radius:4px;filter:saturate(.95)}
.ev-person figcaption{font-size:12px;color:var(--soft);text-align:center;margin-top:6px;line-height:1.4}
@media (max-width:700px){.ev:has(.ev-person){grid-template-columns:minmax(0,1fr) 92px;column-gap:14px}}

.brand .kabu{font-size:.62em;letter-spacing:0;margin-left:2px;vertical-align:.12em}
.site-footer .f-brand b{display:flex;align-items:center;gap:8px}
.site-footer .f-brand .f-oi{width:1.15em;height:1.15em}
