@charset "UTF-8";

/* A案の通常表示。B案と共有する style.css には手を加えない。 */
.concept-a {
  --accent: #28784d;
  --forest: #123c2b;
  --green: #277e50;
  --mint: #e5f2e9;
  --paper: #fafcf9;
  background: var(--paper);
  color: #16281d;
}
.concept-a .sample-ribbon { background: #174631; }
.concept-a .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  color: #173b28;
  border-bottom: 1px solid #d6e5da;
  backdrop-filter: blur(18px);
}
.concept-a .desktop-nav a:hover { opacity: 1; color: var(--green); }
.concept-a .header-actions { display: flex; align-items: center; gap: 12px; }
.concept-a .header-contact { border-color: #a8c5b2; }
.concept-a .header-contact:hover { background: #e5f2e9; color: #173b28; }
.concept-a .mode-switch {
  border: 0;
  min-height: 44px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #cf302d;
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .025em;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(174,36,31,.18);
  transition: transform .25s, background .25s, box-shadow .25s;
}
.concept-a .mode-switch:hover { background: #a92222; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(174,36,31,.25); }
.concept-a .mode-switch span { font-size: 19px; font-weight: 400; line-height: 1; }
.concept-a .a-hero {
  color: #183925;
  background:
    radial-gradient(circle at 73% 46%, rgba(185,222,193,.66), transparent 32%),
    linear-gradient(120deg, #fff 12%, #f2faf4 65%, #e7f4e9);
}
.concept-a .a-hero-grid {
  opacity: .48;
  background-image: linear-gradient(to right,rgba(37,112,69,.1) 1px,transparent 1px),linear-gradient(to bottom,rgba(37,112,69,.1) 1px,transparent 1px);
  transform: translate3d(var(--grid-x, 0px), var(--grid-y, 0px), 0);
  transition: transform .25s ease-out;
}
.concept-a .a-hero::after {
  content: "";
  position: absolute;
  width: min(70vw, 850px);
  aspect-ratio: 1;
  right: -20%;
  bottom: -70%;
  border: 1px solid rgba(23,112,64,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(31,128,70,.025), 0 0 0 180px rgba(31,128,70,.02);
  pointer-events: none;
}
.concept-a .a-hero .eyebrow { color: #377754; }
.concept-a .status-dot { background: #2b9957; box-shadow: 0 0 0 4px rgba(43,153,87,.14); }
.concept-a .a-outline { -webkit-text-stroke: 1px #21834d; color: transparent; }
.concept-a .a-lead { color: #496456; }
.concept-a .button-light { background: #197347; color: #fff; }
.concept-a .button-light:hover { background: #105c38; }
.concept-a .text-link-light { color: #1e6741; }
.concept-a .a-hero-foot { color: #577464; }
.concept-a .a-hero-foot i { background: #4c8261; }
.concept-a .a-orbit {
  transform: translate3d(var(--orbit-x, 0px), var(--orbit-y, 0px), 0);
  transition: transform .3s ease-out;
}
.concept-a .a-orbit-ring { border-color: rgba(32,112,64,.32); }
.concept-a .a-orbit-ring-1 { animation: orbit-turn 36s linear infinite; }
.concept-a .a-orbit-ring-2 { border-color: rgba(32,112,64,.28); animation: orbit-turn-reverse 27s linear infinite; }
.concept-a .a-orbit::before, .concept-a .a-orbit::after { background: rgba(26,104,60,.16); }
.concept-a .a-orbit-core { background: #207b4b; color: #fff; box-shadow: 0 24px 80px rgba(20,100,53,.22), inset -24px -24px 45px rgba(8,52,30,.18); animation: core-breathe 5s ease-in-out infinite; }
.concept-a .orbit-label { background: #fff; color: #2b754c; border: 1px solid #c7dfcb; box-shadow: 0 9px 25px rgba(25,78,43,.08); }
.concept-a .a-scroll { color: #528069; }
.concept-a .a-manifesto, .concept-a .a-scope { background: #f0f7f1; }
.concept-a .a-work, .concept-a .a-works { background: #fff; }
.concept-a .a-products { background: #e9f3e9; }
.concept-a .a-about { background: #dceee0; }
.concept-a .a-contact { background: #133f2c; }
.concept-a .a-work-cards article { transition: background .3s, transform .3s, box-shadow .3s; }
.concept-a .a-work-cards article:hover { background: #f2faf3; transform: translateY(-6px); box-shadow: 0 20px 40px rgba(22,82,44,.1); }
.concept-a .scope-list article { transition: padding-left .3s, background .3s; }
.concept-a .scope-list article:hover { padding-left: 24px; background: rgba(255,255,255,.55); }
.concept-a .a-product-list a:hover { background: #d5ebd9; }

/* 通常ページの登場演出。JSが読み込めない場合は常に本文を表示する。 */
.concept-a.js-motion [data-reveal] { opacity: 0; transform: translate3d(0, 38px, 0); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.concept-a.js-motion [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.concept-a .cursor-halo { display: none; }
@media (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .concept-a .cursor-halo { display: block; position: fixed; z-index: 100; width: 32px; height: 32px; left: 0; top: 0; border: 1px solid rgba(30,131,76,.5); border-radius: 50%; pointer-events: none; opacity: 0; transform: translate3d(-50%,-50%,0); transition: width .2s, height .2s, opacity .2s, background .2s; }
  .concept-a .cursor-halo.is-visible { opacity: 1; }
  .concept-a .cursor-halo.is-hover { width: 55px; height: 55px; background: rgba(34,141,79,.08); }
}
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes orbit-turn-reverse { to { transform: rotate(-360deg); } }
@keyframes core-breathe { 50% { transform: scale(1.045); } }

/* 体験モードの基本表示。章の奥行きと操作案内は concept-a-depth.css に定義する。 */
.experience[hidden] { display: none !important; }
.experience {
  --xp-ink: #eff7ef;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  color: var(--xp-ink);
  background: radial-gradient(circle at calc(50% + var(--xp-mx, 0px)) calc(45% + var(--xp-my, 0px)), #23553b 0, #0d291e 42%, #07170f 100%);
  isolation: isolate;
}
.experience::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(149,221,164,.06) 1px, transparent 1px), linear-gradient(90deg,rgba(149,221,164,.06) 1px, transparent 1px);
  background-size: 78px 78px;
  transform: perspective(600px) rotateX(60deg) translate3d(var(--xp-grid-x, 0px), var(--xp-grid-y, 0px), -240px) scale(1.8);
  transform-origin: center bottom;
}
.experience-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .78; }
.experience-depth { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.experience-depth i { position: absolute; inset: 10% 17%; border: 1px solid rgba(171,226,178,.09); transform: perspective(700px) translateZ(-180px); }
.experience-depth i:nth-child(2) { inset: 18% 24%; transform: perspective(700px) translateZ(-90px); }
.experience-depth i:nth-child(3) { inset: 28% 33%; transform: perspective(700px) translateZ(-20px); }
.experience-topbar { position: absolute; z-index: 4; left: 0; right: 0; padding-inline: clamp(20px, 4vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.experience-topbar { top: 0; min-height: 88px; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid rgba(217,244,219,.16); background: rgba(7,30,18,.9); backdrop-filter: blur(16px); }
.experience-brand { font-size: 28px; font-weight: 750; letter-spacing: -.08em; }
.experience-brand span { color: #8cdda7; }
.experience-brand small { margin-left: 22px; font: 10px ui-monospace,monospace; letter-spacing: .19em; color: #a8d7af; vertical-align: middle; }
.experience-top-actions { display: flex; align-items: center; gap: 24px; }
.experience-counter { font: 12px ui-monospace,monospace; letter-spacing: .12em; color: #bedbc2; }
.experience-contact-link { min-height: 42px; padding: 8px 18px; display: inline-flex; align-items: center; gap: 18px; border: 1px solid rgba(186,236,197,.65); background: rgba(114,194,134,.12); color: #e1f4e2; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; }
.experience-contact-link:hover,.experience-contact-link:focus-visible { border-color: #d4f3d8; background: rgba(114,194,134,.3); }
.concept-a .mode-switch-exit { background: #bd2929; box-shadow: none; }
.experience-progress { position: absolute; top: 88px; left: 0; right: 0; height: 2px; z-index: 4; background: rgba(255,255,255,.07); }
.experience-progress span { height: 100%; width: 20%; display: block; background: #99d7a6; transition: width .18s linear; }
.experience-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; perspective: 900px; }
.experience-track::-webkit-scrollbar { display: none; }
.experience-scene { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; display: grid; place-items: center; padding: 110px clamp(24px,5vw,80px) 105px; position: relative; overflow: hidden; }
.experience-scene-inner { width: min(100%, 1360px); display: grid; grid-template-columns: minmax(0,1.05fr) minmax(290px,.95fr); gap: clamp(24px,5vw,80px); align-items: center; opacity: var(--scene-opacity,1); transform: translate3d(var(--scene-x,0px), 0, var(--scene-z,0px)) rotateY(var(--scene-rot,0deg)); transition: opacity .18s linear, transform .18s linear; transform-style: preserve-3d; }
.scene-copy { position: relative; z-index: 2; }
.scene-index { margin: 0 0 32px; color: #a4d9b0; font: 11px ui-monospace,monospace; letter-spacing: .16em; }
.scene-copy h2 { margin: 0 0 32px; font-size: clamp(42px,5.7vw,92px); line-height: 1.15; letter-spacing: -.085em; font-weight: 650; }
.scene-copy h2 em { color: #9ad8a7; font-style: normal; }
.scene-copy > p:not(.scene-index) { max-width: 590px; margin: 0; color: #d1e4d4; font-size: clamp(15px,1.45vw,19px); line-height: 1.95; }
.scene-visual { min-height: 350px; position: relative; display: grid; align-content: center; transform: translate3d(var(--xp-visual-x,0px), var(--xp-visual-y,0px), 0); transition: transform .18s ease-out; }
.scene-visual-portal { min-height: 480px; place-items: center; }
.portal-ring { position: absolute; width: min(39vw,430px); aspect-ratio: 1; border: 1px solid rgba(178,234,186,.55); border-radius: 50%; box-shadow: 0 0 75px rgba(111,218,141,.08); }
.portal-ring-one { animation: orbit-turn 30s linear infinite; border-style: dashed; }
.portal-ring-two { width: min(30vw,330px); transform: rotateX(65deg); border-color: rgba(193,235,198,.4); }
.portal-core { position: relative; width: 170px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%,#ddf7dd,#7ad19a 38%,#185739 80%); box-shadow: 0 0 100px rgba(138,230,156,.26); color: #103b28; font: 700 105px Georgia,serif; }
.portal-caption { position: absolute; bottom: 8%; color: #afe1b9; font: 10px ui-monospace,monospace; letter-spacing: .23em; }
.scene-window { width: min(100%,530px); min-height: 305px; border: 1px solid rgba(171,230,180,.48); background: rgba(230,255,233,.08); box-shadow: 28px 28px 0 rgba(167,231,181,.06), 0 24px 80px rgba(0,0,0,.2); backdrop-filter: blur(10px); transform: rotateY(-9deg) rotateX(3deg); }
.scene-window-top { padding: 18px 22px; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(171,230,180,.35); color: #b9dfbd; font: 10px ui-monospace,monospace; letter-spacing: .12em; }
.scene-window-top b { color: #9bdda9; font-size: 7px; letter-spacing: .25em; }
.scene-flow { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 75px 20px 55px; }
.scene-flow span { min-width: 84px; padding: 17px 9px; text-align: center; border: 1px solid rgba(175,232,185,.4); background: rgba(225,255,231,.1); font-size: 12px; }
.scene-flow i { height: 1px; width: 30px; background: #a0d8aa; }
.scene-window-note { padding: 15px 22px; border-top: 1px solid rgba(171,230,180,.25); color: #c9e6cd; font-size: 12px; }
.scene-final-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.scene-final-actions a { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 19px; border: 1px solid #a6d7b0; font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }
.scene-final-actions a:first-child { background: #d9f3dc; color: #153e2a; }
.scene-final-actions a:hover { transform: translateY(-3px); background: #b7e2bf; color: #143d29; }
.scene-visual-final { min-height: 400px; padding: 36px; border: 1px solid rgba(161,219,172,.38); background: linear-gradient(140deg,rgba(226,255,231,.13),rgba(255,255,255,.01)); transform: rotateY(-8deg); }
.scene-visual-final div { color: #e8f7ea; font: 700 clamp(25px,3.5vw,48px)/1.35 ui-monospace,monospace; letter-spacing: -.04em; }
.scene-visual-final span { position: absolute; right: 30px; bottom: 28px; color: #a8d9b2; font: 10px ui-monospace,monospace; letter-spacing: .15em; }
.experience-dots { display: flex; align-items: center; gap: 0; }
.experience-dots button { width: 44px; height: 44px; padding: 18px; border: 0; background: transparent; cursor: pointer; }
.experience-dots button::after { content: ""; display: block; width: 8px; height: 8px; border: 1px solid #aad9b4; border-radius: 50%; }
.experience-dots button[aria-current="step"]::after { background: #a9e2b4; box-shadow: 0 0 0 3px rgba(169,226,180,.2); }
.experience a:focus-visible,.experience button:focus-visible,.experience-track:focus-visible { outline: 3px solid #e9f7eb; outline-offset: 4px; }

@media (max-width: 850px) {
  .concept-a .a-hero { min-height: auto; }
  .experience-scene-inner { grid-template-columns: 1fr; gap: 20px; }
  .scene-copy h2 { font-size: clamp(42px,7vw,64px); }
  .scene-visual, .scene-visual-portal { min-height: 240px; }
  .portal-ring { width: 230px; }
  .portal-ring-two { width: 170px; }
  .portal-core { width: 110px; font-size: 65px; }
  .scene-window { min-height: 200px; }
  .scene-flow { padding: 35px 15px; }
  .scene-visual-final { min-height: 200px; }
}
@media (max-width: 600px) {
  .concept-a .header-actions { gap: 7px; }
  .concept-a .mode-switch { min-height: 44px; padding: 8px 10px; gap: 7px; font-size: 10px; }
  .concept-a .header-contact { min-height: 44px; padding-inline: 10px; }
  .experience-topbar { min-height: 72px; }
  .experience-brand { font-size: 24px; }
  .experience-brand small, .experience-counter { display: none; }
  .experience-topbar { gap: 8px; padding-inline: 14px; }
  .experience-top-actions { gap: 7px; }
  .experience-contact-link { min-height: 40px; padding: 7px 9px; gap: 0; font-size: 10px; white-space: nowrap; }
  .experience-contact-link span { display: none; }
  .experience-top-actions .mode-switch-exit { min-height: 40px; padding-inline: 8px; white-space: nowrap; }
  .experience-progress { top: 72px; }
  .experience-scene { padding: 84px 22px 82px; align-items: center; }
  .scene-index { margin-bottom: 16px; font-size: 9px; }
  .scene-copy h2 { margin-bottom: 16px; font-size: clamp(38px,10vw,54px); }
  .scene-copy > p:not(.scene-index) { font-size: 13px; line-height: 1.7; }
  .scene-visual, .scene-visual-portal { min-height: 190px; }
  .portal-ring { width: 180px; }
  .portal-ring-two { width: 135px; }
  .portal-core { width: 85px; font-size: 53px; }
  .portal-caption { bottom: 0; font-size: 8px; }
  .scene-window { min-height: 160px; transform: none; }
  .scene-window-top { padding: 12px; }
  .scene-flow { padding: 20px 10px; gap: 5px; }
  .scene-flow span { min-width: 0; flex: 1; padding: 9px 3px; font-size: 10px; }
  .scene-flow i { width: 10px; }
  .scene-window-note { padding: 9px 12px; font-size: 10px; }
  .scene-visual-final { min-height: 170px; padding: 20px; }
  .scene-visual-final div { font-size: 25px; }
  .scene-final-actions { margin-top: 20px; }
  .scene-final-actions a { min-height: 43px; font-size: 11px; }
}
@media (max-height: 650px) and (min-width: 601px) {
  .experience-scene { padding-block: 90px 75px; }
  .scene-visual, .scene-visual-portal { min-height: 250px; }
  .scene-copy h2 { font-size: clamp(38px,5vw,68px); margin-bottom: 15px; }
  .scene-index { margin-bottom: 16px; }
}
@media (max-height: 550px) {
  .experience-topbar { min-height: 64px; }
  .experience-progress { top: 64px; }
  .experience-scene { align-items: start; overflow-y: auto; padding: 82px 24px 72px; }
  .experience-scene-inner { align-self: start; }
  .scene-copy h2 { font-size: clamp(34px, 5vw, 52px); }
  .scene-visual, .scene-visual-portal { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .concept-a.js-motion [data-reveal] { opacity: 1; transform: none; }
  .concept-a .a-orbit-ring,.concept-a .a-orbit-core,.portal-ring-one { animation: none; }
  .experience-track { scroll-behavior: auto; }
  .experience-scene-inner { transition: none; transform: none; opacity: 1; }
}
