/* アプリ試作の解説ページ（/ax/apps/ 以下）。サイト共通の /style.css の色・書体の変数を使う */

.app-intro,
.app-demo,
.app-why,
.app-how,
.app-points,
.app-code,
.app-next {
  padding: 80px max(var(--gutter), calc((100vw - 1120px) / 2));
}
.app-page h2 { font-size: 34px; margin-bottom: 24px; }
.app-page section > p:not(.eyebrow):not(.app-label) { max-width: 800px; }
.app-page section > p + p { margin-top: 16px; }

/* Intro */
.app-intro { padding-top: 70px; padding-bottom: 72px; }
.app-label { font-size: 14px; color: var(--terra); letter-spacing: 0.08em; margin-bottom: 18px; }
.app-intro h1 { font-size: clamp(31px, 4vw, 50px); margin-bottom: 26px; }
.app-lead { font-size: 17px; }
.app-intro dl { max-width: 800px; margin-top: 34px; }
.app-intro dl div:last-child { border-bottom: 1px solid var(--cream-dark); }
.app-intro .text-link { margin-top: 34px; }

/* Demo */
.app-demo { background: var(--white); }
.demo-note { font-size: 15px; color: var(--forest-mid); }
.demo-frame {
  margin-top: 32px;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
}
.demo-frame iframe {
  display: block;
  width: 100%;
  height: var(--h, 680px);
  border: 0;
}

/* Why */
.app-why { background: var(--cream); }

/* How：作った順番 */
.app-how { background: var(--white); }
.steps { list-style: none; padding: 0; margin: 8px 0 0; max-width: 960px; }
.steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 26px 0;
  border-top: 1px solid var(--cream-dark);
}
.steps li:last-child { border-bottom: 1px solid var(--cream-dark); }
.steps .num { font-family: var(--serif); font-size: 24px; line-height: 1.5; color: var(--terra); }
.steps h3 { font-size: 21px; line-height: 1.6; margin-bottom: 6px; }
.steps p { font-size: 15px; line-height: 2; color: var(--forest-mid); }

/* Points */
.app-points { background: var(--cream); }
.points { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.points li { padding: 24px 0 26px; border-top: 1px solid var(--sage); min-width: 0; }
.points h3 { font-size: 20px; line-height: 1.6; margin-bottom: 8px; }
.points p { font-size: 15px; line-height: 2; color: var(--forest-mid); }

/* Code */
.app-code { background: var(--navy); color: var(--moon); }
.app-code .eyebrow { color: var(--sage-light); }
.app-code h2, .app-code h3 { color: var(--cream); }
.app-code h3 { font-size: 22px; margin: 56px 0 14px; }
.app-code dl { max-width: 900px; margin: 30px 0 0; }
.app-code dl div { border-top-color: #3A4A66; grid-template-columns: 200px minmax(0, 1fr); }
.app-code dl div:last-child { border-bottom: 1px solid #3A4A66; }
.app-code dt { color: var(--sage-light); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.app-code dd { font-size: 14px; }
.code-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 34px; }
.app-code .button { font-size: 14px; padding: 12px 22px; font-family: inherit; cursor: pointer; }
.code-status { font-size: 13px; color: var(--moon); }
.code-box {
  margin: 24px 0 0;
  max-height: 560px;
  overflow: auto;
  background: #121929;
  border: 1px solid #2E3F5C;
  padding: 20px 22px;
  color: #E9E3D3;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.65;
  tab-size: 2;
  white-space: pre;
}
.code-box:focus-visible, .app-code .button:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 3px; }
.prompt {
  max-width: 800px;
  border-left: 2px solid var(--terra-light);
  padding: 4px 0 4px 20px;
  margin-top: 20px;
}
.prompt p { font-size: 15px; line-height: 2; color: var(--cream); }
.prompt .button { margin-top: 16px; }

/* Next */
.app-next { background: var(--white); }
.next-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 32px;
  max-width: 960px;
  padding: 28px 0;
  border-top: 1px solid var(--sage);
  border-bottom: 1px solid var(--cream-dark);
  text-decoration: none;
}
.next-link small { display: block; font-size: 13px; color: var(--terra); letter-spacing: 0.08em; }
.next-link strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.6; letter-spacing: 0.06em; }
.next-link span.desc { display: block; font-size: 15px; color: var(--forest-mid); line-height: 1.9; }
.next-link .arrow { font-size: 14px; letter-spacing: 0.12em; white-space: nowrap; }
.back-link { display: inline-block; margin-top: 30px; font-size: 14px; letter-spacing: 0.08em; }

@media (max-width: 760px) {
  .app-intro, .app-demo, .app-why, .app-how, .app-points, .app-code, .app-next { padding: 56px 26px; }
  .app-page h2 { font-size: 29px; }
  .app-intro h1 { font-size: 31px; letter-spacing: 0.03em; }
  .app-lead { font-size: 16px; }
  .demo-frame iframe { height: var(--h-sp, 620px); }
  .steps li { grid-template-columns: 1fr; gap: 2px; }
  .steps h3 { font-size: 19px; }
  .points { grid-template-columns: 1fr; }
  .app-code dl div { grid-template-columns: 1fr; gap: 4px; }
  .code-box { max-height: 420px; padding: 16px; font-size: 12px; }
  .next-link { grid-template-columns: 1fr; }
  .next-link strong { font-size: 21px; }
  .app-page nav { font-size: 13px; }
}
@media (max-width: 360px) {
  .app-intro, .app-demo, .app-why, .app-how, .app-points, .app-code, .app-next { padding-left: 20px; padding-right: 20px; }
}

[hidden]{display:none!important}.app-page button:focus-visible,.app-page a:focus-visible{outline:2px solid var(--terra);outline-offset:5px}.app-examples,.app-check,.prototype-list,.hub-flow,.hub-note-section,.ax-apps{padding:80px max(var(--gutter),calc((100vw - 1120px)/2))}.intro-actions{display:flex;flex-wrap:wrap;gap:16px}.intro-actions .text-link{margin-top:28px}.page-guide{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:38px;border-top:1px solid var(--cream-dark);padding-top:24px;font-size:13px;letter-spacing:.02em}.page-guide a{text-decoration:underline}.prototype-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px}.prototype-card{padding:30px 0 34px;border-top:1px solid var(--sage);min-width:0;display:flex;flex-direction:column}.prototype-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.prototype-number{font:29px var(--serif);color:var(--terra)}.prototype-tag{font-size:12px;color:var(--forest-mid);letter-spacing:.1em}.prototype-card h3{font-size:26px;line-height:1.6;letter-spacing:.04em;margin-bottom:14px}.prototype-card h3 a{text-decoration:none}.prototype-card>p{font-size:15px;line-height:1.95;color:var(--forest-mid)}.prototype-card .prototype-use{font-size:13px;margin:12px 0 0;color:#687662}.prototype-bottom{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-top:auto;padding-top:25px}.prototype-bottom>span{font-size:12px;line-height:1.8;color:var(--forest-mid)}.prototype-bottom .text-link{white-space:nowrap;font-size:13px;padding:9px 18px;letter-spacing:.05em}.hub-intro{padding-bottom:40px}.hub-intro h1{font-size:clamp(34px,4.3vw,55px)}.hub-note{font-size:14px;margin-top:22px!important;color:var(--forest-mid)}.prototype-list{padding-top:20px;background:var(--cream)}.hub-flow{background:var(--white)}.hub-flow h2{font-size:32px}.hub-flow ol{list-style:none;display:grid;grid-template-columns:1fr 1fr;padding:0;gap:0 40px;margin:34px 0}.hub-flow li{padding:14px 0;border-top:1px solid var(--cream-dark);font-size:15px;display:flex;gap:20px}.hub-flow li span{font-family:var(--serif);color:var(--terra)}.hub-flow>p:last-child{font-size:16px;max-width:850px}.hub-note-section{background:var(--cream)}.hub-note-section h2{font-size:27px;margin-bottom:20px}.hub-note-section p{font-size:15px;max-width:850px;margin:12px 0 24px}.ax-apps{background:var(--white)}.ax-apps h2{font-size:34px;margin-bottom:24px}.ax-apps>p:not(.eyebrow){max-width:820px;font-size:16px}.ax-apps .prototype-grid{margin-top:36px}.ax-apps>.text-link{margin-top:24px}.app-examples{background:var(--white)}.expansion-list{list-style:none;padding:0;margin:34px 0 0}.expansion-list>li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:24px;border-top:1px solid var(--cream-dark);padding:27px 0}.expansion-list .num{font:24px var(--serif);color:var(--terra)}.expansion-list h3{font-size:22px;margin-bottom:10px}.expansion-list p{font-size:15px;color:var(--forest-mid)}.expansion-list dl{margin:20px 0}.expansion-list dl div{padding:10px 0;grid-template-columns:80px minmax(0,1fr)}.expansion-list .adaptation{font-size:14px}.app-check{background:var(--cream)}.trial-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;margin:30px 0}.trial-list li{border-top:1px solid var(--sage);padding:24px 0}.trial-list strong{font-family:var(--serif);font-size:20px;font-weight:400}.trial-list p{font-size:15px;margin-top:10px;color:var(--forest-mid)}.learning-note,.mechanism-note{border-left:2px solid var(--terra);padding:8px 0 8px 23px;margin-top:28px;max-width:900px}.learning-note strong,.mechanism-note strong{font-size:16px}.learning-note p,.mechanism-note p{font-size:15px;margin-top:9px}.company-quote{border-left:2px solid var(--sage);padding:10px 0 10px 24px;margin:30px 0;max-width:850px;font-family:var(--serif);font-size:20px;line-height:2}.app-next .prototype-card h3{font-size:22px}.app-next .prototype-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.app-next .prototype-bottom{display:block}.app-next .prototype-bottom a{margin-top:18px}.demo-escape{font-size:13px;margin-top:16px}.app-page p,.app-page dd{overflow-wrap:anywhere}.code-box{white-space:pre}.app-code .code-box{margin-top:22px}.app-code button:focus-visible{outline-color:var(--sage-light)}.app-page h2[id]{scroll-margin-top:24px}
@media(max-width:900px){.app-next .prototype-grid{grid-template-columns:1fr}.app-next .prototype-bottom{display:flex}.prototype-grid{gap:0 28px}.prototype-card h3{font-size:24px}.prototype-bottom{flex-wrap:wrap}.page-guide{gap:10px 20px}}
@media(max-width:760px){.app-examples,.app-check,.prototype-list,.hub-flow,.hub-note-section,.ax-apps{padding:56px 26px}.prototype-list{padding-top:0}.prototype-grid,.trial-list,.hub-flow ol{grid-template-columns:1fr}.prototype-card{padding:27px 0 32px}.prototype-card h3{font-size:25px}.hub-intro{padding-bottom:34px}.hub-intro h1{font-size:34px}.hub-flow h2,.ax-apps h2{font-size:29px}.page-guide{justify-content:flex-start;margin-top:30px;font-size:12px}.intro-actions{gap:10px}.intro-actions .text-link{font-size:12px;padding:10px 14px}.expansion-list>li{grid-template-columns:1fr;gap:10px}.expansion-list h3{font-size:21px}.company-quote{font-size:18px}.prototype-bottom{flex-wrap:nowrap}.app-next .prototype-bottom{display:block}.app-next .prototype-bottom>span{display:block}.source-tools{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* AX体験ラボ：完成品を選びやすい、イラスト付きカード。 */
.lab-hero{padding:44px max(var(--gutter),calc((100vw - 1120px)/2)) 42px}.lab-name{font-family:var(--serif);font-size:25px;letter-spacing:.08em;margin-bottom:29px}.lab-hero-content{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:44px;align-items:end}.lab-hero .eyebrow{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.1em;color:#748079;margin-bottom:22px}.lab-hero h1{font-family:var(--sans);font-size:clamp(30px,3.7vw,47px);font-weight:700;line-height:1.65;letter-spacing:.015em;margin-bottom:23px;text-wrap:balance}.lab-hero .app-lead{font-size:15px;line-height:2;color:#758079;max-width:760px}.lab-aside{border-left:1px solid #cbd4c6;padding:4px 0 4px 25px;margin-bottom:6px;font-family:var(--sans);font-size:13px;line-height:1.9;color:#758079}.lab-aside strong{font-size:15px;color:var(--forest);display:block;margin-bottom:10px}.lab-aside p{font-size:13px}.lab-aside>span{display:inline-block;background:#eee3d3;color:#926348;border-radius:22px;padding:6px 12px;font-size:11px;margin-top:16px}.prototype-list{padding-top:0}.prototype-grid{gap:26px}.prototype-card{padding:0;border:1px solid #dde0d5;border-radius:22px;background:var(--white);overflow:hidden;box-shadow:0 13px 30px #2c3d2e08;--card-accent:#65816c;--card-art:#e3e9d9}.prototype-card.kitei-chatbot{--card-accent:#7a7765;--card-art:#e9e5dc}.prototype-card.booking-guide{--card-accent:#a76949;--card-art:#f0dfce}.prototype-card.factory-report{--card-accent:#527d8c;--card-art:#dee9ec}.prototype-art{height:200px;position:relative;display:flex;align-items:center;justify-content:center;background:var(--card-art)}.prototype-art svg{width:83%;height:174px;display:block;margin-top:12px}.prototype-art .prototype-tag{position:absolute;top:20px;left:24px;color:var(--card-accent);font-family:var(--sans);font-size:11px;line-height:1.5;font-weight:700}.prototype-art .prototype-number{position:absolute;right:23px;bottom:4px;color:#fff9;font:72px/1 var(--serif)}.prototype-body{padding:26px 28px 28px;display:flex;flex-direction:column;flex:1;min-width:0;font-family:var(--sans)}.prototype-body .card-kicker{font-size:11px;font-weight:700;color:var(--card-accent);letter-spacing:.06em;margin:0 0 17px;line-height:1.8}.prototype-card h3{font-family:var(--sans);font-size:24px;font-weight:700;line-height:1.75;letter-spacing:0;margin:0 0 18px;text-wrap:balance}.prototype-card h3 a{display:block}.prototype-card .card-description{font-size:13px;line-height:1.95;color:#758079;margin:0 0 25px}.prototype-bottom{padding-top:20px;border-top:1px solid #dce0d3;align-items:center;gap:12px;flex-wrap:nowrap}.prototype-bottom>span{font-size:11px;color:#758079;white-space:nowrap}.prototype-bottom .text-link{background:var(--forest);border-color:var(--forest);color:var(--white);border-radius:8px;font-family:var(--sans);font-size:12px;letter-spacing:0;padding:12px 16px;display:inline-flex;gap:9px;align-items:center;justify-content:center}.prototype-bottom .text-link:hover{background:var(--forest-mid);border-color:var(--forest-mid)}.prototype-bottom .text-link:focus-visible{outline-color:var(--terra);outline-offset:4px}.ax-apps>.eyebrow{color:var(--terra);margin-bottom:16px}.ax-apps>h2{font-size:39px;margin-bottom:17px}.ax-apps>.ax-lab-catch{font-family:var(--sans);font-size:clamp(21px,2.5vw,29px);line-height:1.75;font-weight:700;letter-spacing:.01em;margin-bottom:18px;color:var(--forest)}.ax-apps>.ax-lab-copy{font-size:15px;color:var(--forest-mid)}.ax-apps .prototype-grid{margin-top:34px}.app-next .prototype-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.app-next .prototype-card h3{font-size:19px;line-height:1.8}.app-next .prototype-body{padding:22px}.app-next .prototype-art{height:155px}.app-next .prototype-art svg{height:131px}.app-next .prototype-art .prototype-tag{font-size:10px;left:18px;top:15px}.app-next .prototype-number{font-size:54px;right:16px}.app-next .prototype-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.app-next .prototype-bottom a{margin:0;width:100%;font-size:11px}.hub-flow{margin-top:0}
@media(max-width:1050px){.lab-hero-content{grid-template-columns:minmax(0,1fr) 190px;gap:26px}.lab-aside{padding-left:18px}.prototype-card h3{font-size:22px}.prototype-body{padding:24px}.prototype-bottom .text-link{font-size:11px;padding:11px 13px}.app-next .prototype-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.lab-hero{padding:28px 26px 32px}.lab-name{font-size:22px;margin-bottom:24px}.lab-hero-content{display:block}.lab-hero .eyebrow{font-size:11px;letter-spacing:.05em;margin-bottom:17px}.lab-hero h1{font-size:clamp(25px,5.8vw,35px);line-height:1.65;margin-bottom:19px}.lab-hero .app-lead{font-size:13px}.lab-aside{margin-top:24px;padding:0;border:0}.lab-aside strong{font-size:13px;margin-bottom:6px}.lab-aside p{font-size:12px}.lab-aside>span{margin-top:11px}.prototype-grid{grid-template-columns:1fr;gap:24px}.prototype-card{padding:0;border-radius:18px}.prototype-art{height:180px}.prototype-art svg{height:156px;width:84%}.prototype-body{padding:24px}.prototype-card h3{font-size:23px}.prototype-bottom{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:10px}.prototype-bottom .text-link{font-size:11px;padding:12px 14px}.prototype-art .prototype-tag{font-size:10px;left:22px;top:18px}.prototype-art .prototype-number{font-size:65px}.ax-apps>h2{font-size:32px}.ax-apps>.ax-lab-catch{font-size:23px}.ax-apps>.ax-lab-copy{font-size:14px}.app-next .prototype-grid{grid-template-columns:1fr}.app-next .prototype-card h3{font-size:22px}.app-next .prototype-bottom{flex-direction:row;align-items:center}.app-next .prototype-bottom a{width:auto;font-size:11px}.app-next .prototype-art{height:170px}.app-next .prototype-art svg{height:147px}}
@media(max-width:380px){.lab-hero{padding-right:20px;padding-left:20px}.prototype-list,.ax-apps,.app-next{padding-right:18px;padding-left:18px}.prototype-body{padding:21px}.prototype-card h3{font-size:21px}.prototype-body .card-kicker{font-size:10px}.prototype-bottom{flex-wrap:wrap}.prototype-bottom .text-link{margin-left:auto;padding:11px 12px}.app-next .prototype-bottom{flex-wrap:wrap}.app-next .prototype-bottom a{margin-left:auto}.lab-hero h1{font-size:25px}}
