/* わざのひと — 生成り・焦げ茶・青竹 */
:root{
  --bg:#F7F2EA; --ink:#2B1F1A; --sub:#6B5A52; --line:#E2D6C8; --ph:#E4DACD;
  --btn:#3E8068; --btn-text:#FFFFFF; --link:#316A55; --tint:#DDEDE7;
  --gothic:'Zen Kaku Gothic New',sans-serif; --mincho:'Shippori Mincho',serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--gothic);-webkit-font-smoothing:antialiased}
a{color:inherit}
a:hover{opacity:.88}
img{display:block;max-width:100%}
.pre{white-space:pre-line}
.wrap{max-width:1100px;margin:0 auto;padding:0 28px}
.wrap-n{max-width:880px;margin:0 auto}

/* 言語の切り替え */
.lang{position:absolute;top:20px;right:16px;z-index:15;display:flex;border:1px solid var(--ink);border-radius:999px;overflow:hidden;background:var(--bg)}
.lang button{min-width:52px;height:36px;border:0;background:transparent;color:var(--ink);font:700 12px/1 var(--gothic);letter-spacing:.06em;cursor:pointer}
.lang button[aria-pressed="true"]{background:var(--ink);color:#fff}

/* ボタン */
.pill{display:flex;align-items:center;justify-content:center;height:48px;max-width:360px;border:1px solid var(--ink);border-radius:999px;text-decoration:none;font-size:13px;letter-spacing:.06em}
.pill-main{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 34px;border-radius:999px;background:var(--btn);color:var(--btn-text);text-decoration:none;font-size:14px;font-weight:700;letter-spacing:.06em}
.pill-main.block{display:flex;height:54px;max-width:420px;padding:0;font-size:15px;letter-spacing:.08em}
.textlink{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:var(--link);text-underline-offset:5px}
.label{margin:0;font-size:12px;font-weight:700;letter-spacing:.08em}
h2.sec{margin:8px 0 0;font-size:24px;font-weight:700;line-height:1.6}

/* ホームの冒頭 */
@keyframes wzIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes wzOpen{from{height:0}to{height:min(560px,64vh)}}
@keyframes wzDrift{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.intro{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center}
.l1{opacity:0;animation:wzIn .9s ease-out .3s forwards}
.l2{opacity:0;animation:wzIn .9s ease-out 1.1s forwards}
.l3{opacity:0;animation:wzIn .9s ease-out 1.9s forwards}
.lead{margin:0;font-size:17px;font-weight:700;letter-spacing:.04em}
.stage{height:0;overflow:hidden;animation:wzOpen 1.4s cubic-bezier(.6,0,.2,1) 3s forwards}
.drift{display:flex;gap:10px;width:max-content;height:100%;animation:wzDrift 60s linear 3s infinite}
.drift img{height:100%;width:300px;object-fit:cover}
.intro-text{width:100%;padding-top:28px;padding-bottom:40px}
.logo-big{height:34px;width:auto;margin-top:12px}
html[lang="en"] .logo-big{height:56px}

/* カード */
.cards{overflow-x:hidden;overflow-x:clip;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:56px 28px;padding:72px 16px 40px;max-width:1100px;margin:0 auto}
.card{display:flex;flex-direction:column;transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.card.hide{opacity:0;transform:translateX(48px)}
.card > a{text-decoration:none;color:var(--ink);display:flex;flex-direction:column}
.card .name{padding:0 4px;font-size:22px;font-weight:700;letter-spacing:.02em}
.card .sub{margin-top:2px;padding:0 4px;font-size:14px;color:var(--sub)}
.card .photo{margin-top:12px;height:420px;border-radius:12px;overflow:hidden;background:var(--ph)}
.card .photo img{width:100%;height:100%;object-fit:cover}
.card .hitokoto{margin-top:16px;padding:0 4px;font-family:var(--mincho);font-weight:600;font-size:18px;line-height:1.8}
.card .acts{margin-top:16px;padding:0 4px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}
.nophoto{display:flex;height:100%;align-items:center;justify-content:center;font-size:12px;color:var(--sub)}

/* ぐるり */
.gururi{padding:32px 24px;border-radius:12px;background:var(--tint)}
.body13{margin:0;font-size:13px;line-height:2.3;letter-spacing:.04em}

/* フッター */
footer{padding:64px 28px 140px}
.socials,.footlinks{display:flex;flex-wrap:wrap;gap:0 20px}
.socials a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
.footlinks a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:var(--sub);text-decoration:none}
.copy{margin:28px 0 0;font-size:11px;color:var(--sub)}

/* メニュー */
.fab{position:fixed;right:18px;bottom:28px;z-index:30;width:60px;height:60px;border-radius:50%;border:0;background:var(--ink);color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.28);display:flex;align-items:center;justify-content:center;cursor:pointer}
.menu{position:fixed;inset:0;z-index:25;background:var(--bg);padding:88px 28px 40px;overflow-y:auto;display:none}
.menu.open{display:block}
.menu .row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:56px;padding-top:16px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.menu .row b{font-size:17px}
.menu .row span{font-size:12px;color:var(--sub)}
.menu .plain{display:flex;align-items:center;min-height:48px;font-size:15px;font-weight:700;text-decoration:none;color:var(--ink)}
.menu-logo{height:30px;width:auto}
html[lang="en"] .menu-logo{height:48px}

/* ページのヘッダー（わざのひとについて・ひとのページ） */
.head{padding:20px 28px 0;min-height:56px;display:flex;align-items:center}
.head img{height:26px;width:auto}
html[lang="en"] .head img{height:44px}
.in1{opacity:0;animation:wzIn .9s ease-out .2s forwards}
.in2{opacity:0;animation:wzIn 1s ease-out .6s forwards}

/* ひとのページ */
.hero-photo{margin-top:20px;height:520px;border-radius:12px;overflow:hidden;background:var(--ph)}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.words{margin-top:28px;display:flex;flex-direction:column;gap:22px;border-left:1px solid #D8CCBE;padding-left:20px}
.words p{margin:0;font-family:var(--mincho);font-weight:600;font-size:17px;line-height:2.1}
.rail{display:flex;gap:14px;overflow-x:auto;padding:0 28px 4px;scroll-snap-type:x mandatory;scroll-padding:0 28px;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.rail figure{margin:0;flex:0 0 auto;width:280px;scroll-snap-align:start}
.rail figure .ph{width:280px;height:210px;border-radius:10px;overflow:hidden;background:var(--ph)}
.rail figure img{width:100%;height:100%;object-fit:cover}
.rail figcaption{margin-top:10px;font-size:13px}
.map{margin-top:24px;height:260px;border-radius:12px;overflow:hidden;background:var(--ph)}
.map iframe{width:100%;height:100%;border:0}
.other{flex:0 0 auto;width:236px;scroll-snap-align:start;display:flex;flex-direction:column;text-decoration:none;color:var(--ink)}
.other .ph{margin-top:10px;height:300px;border-radius:10px;overflow:hidden;background:var(--ph)}
.other .ph img{width:100%;height:100%;object-fit:cover}

/* コンセプト */
.value{padding:28px 0;border-top:1px solid #D8CCBE}
.value h3{margin:10px 0 0;font-size:19px;font-weight:700;line-height:1.6}

@media (prefers-reduced-motion: reduce){
  .l1,.l2,.l3,.in1,.in2{animation:none;opacity:1}
  .stage{animation:none;height:min(560px,64vh)}
  .drift{animation:none}
  .card{transition:none}
}
