/* mock-sections.css ― モック本体：ヘッダー〜フッター（ヒーロー周り・各セクション） */
/* --- モック内ヘッダー --- */
.m-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 28px; border-bottom: 1px solid var(--m-line);
  position: relative; background: var(--m-bg);
}
.m-logo { text-decoration: none; line-height: 1.25; display: flex; align-items: center; gap: 11px; }
.m-logo svg { flex: none; }
.m-logo .jp { font-size: 19px; font-weight: 900; letter-spacing: .06em; display: block; }
.m-logo .en { font-size: 10px; font-weight: 700; letter-spacing: .34em; color: var(--m-accent); display: block; }
.m-nav { display: flex; gap: 4px; align-items: center; }
.m-nav a {
  text-decoration: none; font-size: 13.5px; font-weight: 700; padding: 10px 11px; border-radius: 6px;
}
.m-nav a:hover { background: var(--m-alt); }
.m-nav a.cta { background: var(--m-accent); color: #fff; margin-left: 8px; padding: 10px 18px; }
.m-nav a.cta:hover { opacity: .88; background: var(--m-accent); }
.m-burger {
  display: none; border: 1px solid var(--m-line); background: var(--m-bg); color: var(--m-ink);
  border-radius: 8px; padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit;
}

/* --- ヒーロー（明るい背景に、事業を表すアイソメのジオラマ） --- */
.m-hero { position: relative; background: #ffffff; color: var(--m-ink); overflow: hidden; border-bottom: 1px solid var(--m-line); }
.m-hero::before { content: none; }
.m-hero-in {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 10px;
  align-items: start; padding: 44px 48px 30px;
}
.m-hero-body { max-width: 700px; }
.hero-scene { width: 100%; max-width: 920px; margin: 0 auto; height: auto; display: block; }
.hero-figure { position: relative; width: 100%; max-width: 1120px; margin: 4px auto 0; }
.hero-figure picture { display: block; }
.hero-figure > img { width: 100%; height: auto; aspect-ratio: 3 / 2; display: block; }
/* ヒーローアニメーション部品（.yt-hero）：中の画像はすべて絶対配置で、figure の幅を決める
   インラインの中身がない。そのため土台（1920×1280＝3:2）の幅と高さはここで明示する。
   幅を指定しないと figure が 0 に潰れ、aspect-ratio も効かず絵の領域が消える */
.hero-figure .yt-hero { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.hero-figure .yt-hero__static { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; display: block; }
.hero-figure .yt-hero__anim img { aspect-ratio: auto; }
.hero-tag {
  position: absolute; z-index: 3; transform: translateX(-50%); white-space: nowrap;
  background: #ffffff; border: 1.5px solid #2f7fd0; color: #20303f;
  border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 900; letter-spacing: .04em;
  box-shadow: 0 3px 10px rgba(40, 70, 100, .14);
}
@media (max-width: 600px) { .hero-tag { font-size: 10.5px; padding: 4px 9px; } }
.hero-label { font-family: "Noto Sans JP", sans-serif; font-size: 15px; font-weight: 900; fill: var(--m-ink); }
.hero-label-sub { font-family: "Noto Sans JP", sans-serif; font-size: 11.5px; font-weight: 500; fill: var(--m-sub); }
.hero-label-no { font-family: "Archivo", sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .14em; fill: var(--m-accent); }
.shop-sign { font-family: "Noto Sans JP", sans-serif; font-size: 14px; font-weight: 900; fill: #ffffff; letter-spacing: .04em; }
.shop-sign-sm { font-family: "Noto Sans JP", sans-serif; font-size: 10px; font-weight: 700; fill: #ffffff; opacity: .92; }

/* --- アイソメトリック面と金属パーツのアニメーション --- */
.iso-t { fill: color-mix(in srgb, var(--m-accent) 16%, #ffffff); }
.iso-l { fill: color-mix(in srgb, var(--m-accent) 46%, #ffffff); }
.iso-r { fill: color-mix(in srgb, var(--m-accent) 60%, #9db2c4); }
.iso-at { fill: color-mix(in srgb, var(--m-accent) 30%, #ffffff); }
.iso-al { fill: color-mix(in srgb, var(--m-accent) 78%, #ffffff); }
.iso-ar { fill: color-mix(in srgb, var(--m-accent) 72%, #7d94a8); }
.win { fill: #ffd97a; }
.spin-slow { transform-box: fill-box; transform-origin: center; animation: spinz 16s linear infinite; }
.spin-rev { transform-box: fill-box; transform-origin: center; animation: spinz 11s linear infinite reverse; }
@keyframes spinz { to { transform: rotate(360deg); } }
.float-a { animation: floaty 5s ease-in-out infinite alternate; }
.float-b { animation: floaty 6.5s ease-in-out infinite alternate-reverse; }
@keyframes floaty { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
.smoke-puff { transform-box: fill-box; transform-origin: center; opacity: 0; animation: smoke 4.2s ease-in infinite; }
@keyframes smoke { 0% { transform: translateY(0) scale(.55); opacity: 0; } 22% { opacity: .45; } 100% { transform: translateY(-52px) scale(1.3); opacity: 0; } }
.blink { animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
/* ヒーロー：つながりのルートを流れるドット */
.flow-dot { fill: var(--m-accent); stroke: #ffffff; stroke-width: 1.6; animation: flowmove 2.8s linear infinite; }
.flow-dot.fd-l { offset-path: path("M 268 272 C 310 246, 340 242, 378 256"); }
.flow-dot.fd-rt { offset-path: path("M 582 238 C 624 208, 656 196, 694 202"); }
.flow-dot.fd-rb { offset-path: path("M 582 306 C 624 336, 656 348, 694 344"); }
.flow-dot.fd-box { fill: #ffffff; stroke: var(--m-accent); stroke-width: 2.2; }
.flow-dot.d2 { animation-delay: -1.4s; }
@keyframes flowmove { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .mock svg * { animation: none !important; }
}
.m-hero .kicker { font-size: 12px; font-weight: 700; letter-spacing: .3em; margin: 0 0 14px; color: var(--m-accent); }
.m-hero h1 { font-size: clamp(28px, 4.6vw, 42px); line-height: 1.35; margin: 0 0 16px; font-weight: 900; }
.m-hero p.lead { margin: 0 0 24px; font-size: 15px; line-height: 1.9; color: var(--m-sub); max-width: 38em; }
.m-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 13px 26px; border-radius: 6px; min-height: 44px;
}
.btn-solid { background: var(--m-accent); color: #fff; }
.btn-ghost { border: 1.5px solid var(--m-line); color: var(--m-ink); background: #fff; }
.btn-dark { background: var(--m-ink); color: #fff; }

/* --- セクション共通 --- */
.m-section { padding: 64px 48px; }
.m-section.alt { background: var(--m-alt); }
.m-section.dark {
  background-color: var(--m-accent-soft); color: var(--m-ink);
  background-image:
    linear-gradient(30deg, rgba(50,80,110,.05) 1px, transparent 1.5px),
    linear-gradient(150deg, rgba(50,80,110,.05) 1px, transparent 1.5px);
  background-size: 34px 59px;
}
.sec-head { margin-bottom: 34px; max-width: 640px; }
.sec-head .en { font-size: 12px; font-weight: 800; letter-spacing: .3em; color: var(--m-accent); margin: 0 0 8px; }
.dark .sec-head .en { color: var(--m-accent); }
.sec-head h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 10px; font-weight: 900; line-height: 1.4; }
.sec-head p { margin: 0; color: var(--m-sub); font-size: 14.5px; }
.dark .sec-head p { color: var(--m-sub); }

/* --- 理念（ミッション／ビジョン／バリュー） --- */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mv-card {
  border: 1px solid var(--m-line); border-radius: 8px; padding: 28px 24px; background: var(--m-bg);
}
.mv-card .en { font-size: 12px; font-weight: 800; letter-spacing: .26em; color: var(--m-accent); margin: 0 0 6px; }
.mv-card h3 { margin: 0 0 14px; font-size: 18px; font-weight: 900; }
.mv-card .slot {
  border: 1.5px dashed var(--m-line); border-radius: 6px; padding: 16px;
  color: var(--m-sub); font-size: 13.5px; background: var(--m-alt); margin-bottom: 14px;
}
.mv-card .slot strong { display: block; color: var(--m-ink); font-size: 15px; margin-bottom: 4px; }
.mv-card ul { margin: 0; padding-left: 1.1em; font-size: 13px; color: var(--m-sub); }
.mv-card ul li { margin: 3px 0; }

/* --- 事業 --- */
.biz-list { display: grid; gap: 22px; }
.biz-row { display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--m-line); border-radius: 8px; overflow: hidden; background: var(--m-bg); }
.biz-visual {
  min-height: 230px; display: flex; align-items: center; justify-content: center; padding: 20px 14px;
  background-color: var(--m-alt);
  background-image:
    linear-gradient(30deg, rgba(90,110,130,.07) 1px, transparent 1.5px),
    linear-gradient(150deg, rgba(90,110,130,.07) 1px, transparent 1.5px);
  background-size: 26px 45px;
}
.biz-visual svg { width: 100%; max-width: 350px; height: auto; display: block; }
.biz-visual.photo { display: block; padding: 0; background-image: none; }
.biz-visual.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-body { padding: 30px 30px 26px; }
.biz-body .num { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--m-accent); margin: 0 0 6px; }
.biz-body h3 { margin: 0 0 12px; font-size: 20px; font-weight: 900; }
.biz-body p { margin: 0 0 16px; color: var(--m-sub); font-size: 14.5px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; background: var(--m-alt); border: 1px solid var(--m-line); border-radius: 999px; padding: 5px 12px; }

/* --- 強み・数字 --- */
.num-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.num-cell { border-top: 3px solid var(--m-accent); padding-top: 16px; }
.num-cell .v { font-size: 34px; font-weight: 800; line-height: 1.1; }
.num-cell .v small { font-size: 15px; font-weight: 700; }
.num-cell .l { font-size: 13px; color: var(--m-sub); margin-top: 4px; }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.strength { background: #ffffff; border: 1px solid var(--m-line); border-radius: 8px; padding: 24px; }
.strength h3 { margin: 0 0 8px; font-size: 17px; font-weight: 900; }
.strength h3 .en { color: var(--m-accent); font-size: 12px; letter-spacing: .2em; display: block; margin-bottom: 4px; }
.strength p { margin: 0; font-size: 13.5px; color: var(--m-sub); }

/* --- つながりの仕組み --- */
.flow-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; margin-bottom: 22px; }
.flow-step { background: var(--m-bg); border: 1px solid var(--m-line); border-radius: 8px; padding: 20px 18px; }
.flow-step .who { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--m-accent); margin: 0 0 5px; }
.flow-step h3 { margin: 0 0 8px; font-size: 16px; font-weight: 900; }
.flow-step p { margin: 0; font-size: 13px; color: var(--m-sub); }
.flow-arrow { align-self: center; font-weight: 900; color: var(--m-accent); font-size: 18px; }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud-card { border: 1px solid var(--m-line); border-radius: 8px; padding: 24px; background: var(--m-alt); }
.aud-card .en { font-size: 11px; font-weight: 800; letter-spacing: .22em; color: var(--m-accent); margin: 0 0 6px; }
.aud-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 900; }
.aud-card ul { margin: 0; padding-left: 1.1em; font-size: 13.5px; color: var(--m-sub); }
.aud-card ul li { margin: 4px 0; }

/* --- お知らせ --- */
.news-list { border-top: 1px solid var(--m-line); }
.news-item {
  display: grid; grid-template-columns: 110px 92px 1fr auto; gap: 14px; align-items: center;
  padding: 17px 6px; border-bottom: 1px solid var(--m-line); text-decoration: none; font-size: 14.5px;
}
.news-item time { color: var(--m-sub); font-size: 13.5px; }
.news-cat { font-size: 11.5px; font-weight: 700; text-align: center; border: 1px solid var(--m-accent); color: var(--m-accent); border-radius: 4px; padding: 4px 6px; }
.news-item .arr { color: var(--m-accent); font-weight: 800; }

/* --- 会社概要 --- */
.profile-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
table.profile { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.profile th, table.profile td { border-bottom: 1px solid var(--m-line); padding: 15px 12px; text-align: left; vertical-align: top; }
table.profile th { width: 32%; font-weight: 700; background: var(--m-alt); }
.tbd { color: var(--m-sub); }
.access-box { border: 1px solid var(--m-line); border-radius: 8px; padding: 24px; background: var(--m-bg); }
.access-box h3 { margin: 0 0 10px; font-size: 16px; font-weight: 900; }
.access-box p { margin: 0 0 8px; font-size: 14px; color: var(--m-sub); }
.map-slot {
  margin-top: 14px; height: 150px; border: 1.5px dashed var(--m-line); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: var(--m-sub); font-size: 13px; background: var(--m-alt); text-align: center; padding: 10px;
}

/* --- 採用・CTA・フッター --- */
.recruit-band { display: grid; grid-template-columns: 1.2fr 1fr; }
.recruit-band .txt { padding: 52px 48px; }
.recruit-band .txt h2 { font-size: 24px; margin: 0 0 12px; font-weight: 900; line-height: 1.45; }
.recruit-band .txt p { margin: 0 0 22px; color: var(--m-sub); font-size: 14.5px; }
.recruit-visual {
  min-height: 240px; display: flex; align-items: center; justify-content: center; padding: 22px 16px;
  background-color: var(--m-alt);
  background-image:
    linear-gradient(30deg, rgba(90,110,130,.07) 1px, transparent 1.5px),
    linear-gradient(150deg, rgba(90,110,130,.07) 1px, transparent 1.5px);
  background-size: 26px 45px;
}
.recruit-visual svg { width: 100%; max-width: 350px; height: auto; display: block; }
.cta-band { background: var(--m-accent-soft); color: var(--m-ink); text-align: center; padding: 56px 32px; position: relative; overflow: hidden; }
.cta-bolt { position: absolute; top: 50%; margin-top: -21px; opacity: .35; pointer-events: none; }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(21px, 3vw, 28px); font-weight: 900; }
.cta-band p { margin: 0 0 24px; color: var(--m-sub); font-size: 14.5px; }
.cta-band .btn { background: var(--m-accent); color: #fff; }
.m-footer { background: var(--m-alt); color: var(--m-ink); padding: 46px 48px 30px; border-top: 1px solid var(--m-line); }
.m-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 34px; }
.m-footer h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; color: var(--m-sub); }
.m-footer ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.m-footer li { margin: 7px 0; }
.m-footer a { text-decoration: none; }
.m-footer .brand .jp { font-size: 18px; font-weight: 900; letter-spacing: .06em; }
.m-footer .brand p { font-size: 12.5px; color: var(--m-sub); margin: 8px 0 0; }
.m-footer .copy { border-top: 1px solid var(--m-line); padding-top: 18px; font-size: 12px; color: var(--m-sub); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
