/* ============================================================
   TSUGI HANDS — Shared Design System
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;900&family=Noto+Serif+JP:wght@400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --amber:        #C8860A;
  --amber-mid:    #D4921A;
  --amber-circle: #DBA92E;
  --amber-light:  #F5E4A8;
  --teal:         #6AB8B8;
  --teal-circle:  #7ECECE;
  --teal-light:   #D0ECEC;
  --dark:         #1A1A1A;
  --dark-nav:     #1B3856;
  --body:         #3D3D3D;
  --muted:        #6B6B6B;
  --bg:           #FAFAFA;
  --bg-warm:      #F5F3EE;
  --bg-card:      #F0EDE8;
  --border:       #E0DDD8;
  --border-light: #EBE8E2;
  --white:        #FFFFFF;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.10);
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-pill:  999px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
ul,ol { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

/* ── Typography ─────────────────────────────────────────────── */
.f-serif { font-family:'Noto Serif JP',serif; }
.f-script { font-family:'Noto Serif JP',serif; font-style:italic; font-weight:400; }

/* ── Container ──────────────────────────────────────────────── */
.container { max-width:1100px; margin:0 auto; padding:0 24px; }
.container-sm { max-width:800px; margin:0 auto; padding:0 24px; }
.container-lg { max-width:1280px; margin:0 auto; padding:0 40px; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,250,250,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--dark);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-item a {
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  letter-spacing: .03em;
  padding-bottom: 2px;
  transition: color 150ms;
  position: relative;
}
.nav-item a:hover,
.nav-item.active a { color: var(--dark); }
.nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--dark);
}
.lang-toggle span { color: var(--muted); margin:0 2px; }
.icon-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  transition: opacity 150ms;
}
.icon-btn:hover { opacity: .6; }
@media(max-width:767px){
  .nav-list { display:none; }
  .lang-toggle { display:none; }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: background 150ms, color 150ms, border-color 150ms;
  cursor: pointer;
  white-space: nowrap;
}
.btn-dark {
  background: var(--dark);
  color: var(--bg);
  border: 1.5px solid var(--dark);
}
.btn-dark:hover { background: #333; border-color:#333; }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--bg); }
.btn-amber {
  background: var(--amber-circle);
  color: var(--dark);
  border: 1.5px solid var(--amber-circle);
  font-weight: 700;
}
.btn-amber:hover { background: #C8960A; border-color:#C8960A; }
.btn-lg {
  font-size: 15px;
  padding: 16px 36px;
}
.btn-sm {
  font-size: 12px;
  padding: 8px 18px;
}

/* ── Section Layout ──────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 108px 0; }
.section-warm { background: var(--bg-warm); }
.section-white { background: var(--bg); }

.section-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--amber);
  margin-bottom: 8px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px,3.5vw,34px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: .02em;
}
.section-title-center { text-align:center; }
.section-lead {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.9;
  letter-spacing: .04em;
}
.section-lead-center { text-align:center; }
.section-head { margin-bottom:56px; }
.section-head-center { text-align:center; margin-bottom:56px; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.card-img { width:100%; object-fit:cover; display:block; }
.card-body { padding: 20px 20px 24px; }
.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-warm);
  color: var(--body);
  margin-bottom: 10px;
}
.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 8px;
}
.card-meta {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
}
.card-desc {
  font-size: 12.5px;
  color: var(--body);
  line-height: 1.75;
  margin-top: 8px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 14px;
  letter-spacing: .04em;
  transition: gap 150ms;
}
.card-link:hover { gap: 8px; }

/* ── Grid Layouts ────────────────────────────────────────────── */
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media(max-width:1023px){
  .grid-4 { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:767px){
  .grid-2,.grid-3,.grid-4 { grid-template-columns:1fr; }
}

/* ── Badge / Label ───────────────────────────────────────────── */
.badge-amber {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--amber-circle);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(219,169,46,.30);
}
.badge-amber .year { font-size:15px; font-weight:700; line-height:1.1; color:var(--dark); }
.badge-amber .start { font-size:13px; font-weight:700; color:var(--dark); }
.badge-amber .sub { font-size:8.5px; color:var(--dark); line-height:1.5; margin-top:4px; }

/* ── Divider ─────────────────────────────────────────────────── */
.divider { border:none; border-top:1px solid var(--border); margin:0; }
.divider-dashed { border-top:1px dashed var(--border); }

/* ── Check List ──────────────────────────────────────────────── */
.check-list { display:flex; flex-direction:column; gap:10px; }
.check-item {
  display:flex; align-items:flex-start; gap:8px;
  font-size:12.5px; color:var(--body); line-height:1.6;
}
.check-icon { flex-shrink:0; margin-top:2px; color:var(--dark); }

/* ── Flow Arrow ──────────────────────────────────────────────── */
.flow-row {
  display:flex; align-items:center; gap:8px;
  flex-wrap:wrap;
}
.flow-node {
  display:flex; flex-direction:column; align-items:center; gap:6px;
}
.flow-icon-box {
  width:48px; height:48px;
  border:1.5px solid var(--border);
  border-radius: var(--radius-md);
  display:flex; align-items:center; justify-content:center;
  background: var(--bg);
}
.flow-label { font-size:11px; font-weight:500; color:var(--dark); text-align:center; }
.flow-arrow-icon { color:var(--muted); font-size:18px; margin-bottom:22px; }

/* ── Stat Card ───────────────────────────────────────────────── */
.stat-row {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background: var(--bg);
}
.stat-item {
  padding:24px 16px;
  border-right:1px solid var(--border);
  text-align:center;
}
.stat-item:last-child { border-right:none; }
.stat-num { font-size:clamp(24px,4vw,40px); font-weight:700; color:var(--dark); line-height:1; margin:8px 0 4px; }
.stat-num sup { font-size:.5em; font-weight:500; vertical-align:super; }
.stat-label { font-size:11px; color:var(--muted); }
.stat-note { font-size:10px; color:var(--muted); margin-top:4px; }
@media(max-width:767px){
  .stat-row { grid-template-columns:repeat(2,1fr); }
  .stat-item { border-bottom:1px solid var(--border); }
}

/* ── Testimonial ─────────────────────────────────────────────── */
.testimonial {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding:28px;
}
.testimonial-text { font-size:14px; color:var(--dark); line-height:1.8; font-weight:500; }
.testimonial-meta { font-size:11px; color:var(--muted); margin-top:12px; }
.testimonial-avatar { width:48px; height:48px; border-radius:50%; object-fit:cover; }

/* ── Win-Win Diagram ─────────────────────────────────────────── */
.diagram-wrap {
  display:grid;
  grid-template-columns:1fr 120px 1fr;
  gap:0;
  align-items:center;
  max-width:760px;
  margin:0 auto;
}
.diagram-circle {
  border-radius:50%;
  aspect-ratio:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:28px 20px;
  text-align:center;
  width:220px;
  height:220px;
}
.diagram-amber { background:var(--amber-circle); }
.diagram-teal  { background:var(--teal-circle); }
.diagram-circle-title { font-size:14px; font-weight:700; color:var(--dark); margin-bottom:12px; }
.diagram-circle-list { font-size:10.5px; color:var(--dark); line-height:1.9; text-align:left; }
.diagram-circle-icons { display:flex; gap:10px; margin-top:12px; justify-content:center; }
.diagram-center-wrap {
  display:flex; flex-direction:column; align-items:center; gap:6px;
}
.diagram-top-label { font-size:9px; font-weight:600; color:var(--dark-nav); letter-spacing:.04em; white-space:nowrap; margin-bottom:4px; }
.diagram-bottom-label { font-size:9px; font-weight:600; color:var(--dark-nav); letter-spacing:.04em; white-space:nowrap; margin-top:4px; }
.diagram-sub { font-size:9px; color:var(--muted); white-space:nowrap; }

/* ── Activity Grid ───────────────────────────────────────────── */
.activity-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:auto auto;
  gap:3px;
  border-radius: var(--radius-lg);
  overflow:hidden;
}
.activity-cell {
  position:relative;
  overflow:hidden;
}
.activity-cell img {
  width:100%; height:100%; object-fit:cover;
  display:block;
  transition:transform 300ms ease;
}
.activity-cell:hover img { transform:scale(1.03); }
.activity-cell-main { grid-row: 1/3; }
.activity-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:20px;
}
.activity-overlay-tag {
  display:inline-block;
  font-size:10px; font-weight:700;
  background: var(--amber-circle);
  color: var(--dark);
  padding:3px 10px;
  border-radius:var(--radius-pill);
  margin-bottom:6px;
}
.activity-overlay-title { font-size:22px; font-weight:900; color:#FFF; line-height:1.2; }
.activity-overlay-sub { font-size:12px; color:rgba(255,255,255,.85); margin-top:6px; line-height:1.5; }
.activity-overlay-sm .activity-overlay-title { font-size:16px; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:40px;
  margin-bottom:48px;
}
.footer-logo { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.footer-tagline { font-size:11px; color:var(--muted); line-height:1.8; }
.footer-col-title { font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--dark); margin-bottom:14px; }
.footer-col-list { display:flex; flex-direction:column; gap:10px; }
.footer-col-list li a { font-size:12px; color:var(--muted); transition:color 150ms; }
.footer-col-list li a:hover { color:var(--dark); }
.footer-bottom { border-top:1px solid var(--border); padding-top:20px; text-align:center; }
.footer-copy { font-size:10.5px; color:var(--muted); letter-spacing:.04em; }
@media(max-width:767px){
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px; }
}

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--bg-warm); }
::-webkit-scrollbar-thumb { background:var(--border); border-radius:3px; }

/* ── Animation Enhancements v5 ───────────────────────────────────
   アニメーション品質向上: Ken Burns / SVG stroke / 微細 hover
   デザイン・レイアウト・色・タイポグラフィは一切変更しない
   ─────────────────────────────────────────────────────────────── */

/* Ken Burns — ヒーロー背景 */
@keyframes kenburns {
  0%   { transform: scale(1.00); }
  100% { transform: scale(1.03); }
}
#layerA img {
  animation: kenburns 28s ease-in-out alternate infinite;
  will-change: transform;
}

/* Ken Burns — NEWSヒーロー */
.news-hero-vis img {
  animation: kenburns 24s ease-in-out alternate infinite;
  will-change: transform;
}

/* prefers-reduced-motion: すべての追加アニメーションを無効 */
@media (prefers-reduced-motion: reduce) {
  #layerA img,
  .news-hero-vis img {
    animation: none !important;
    will-change: auto;
  }
  .ww-diagram *,
  .ww-mobile * {
    animation: none !important;
    transition: none !important;
  }
}
