:root {
  --ink: #080808;
  --red: #cc2608;
  --red-dark: #a71c04;
  --paper: #fff;
  --sky: #c9e9ef;
  --pink: #f7c2cc;
  --mint: #c9e9df;
  --yellow: #f4d472;
  --line: #b9b9b9;
  --muted: #515151;
  --content: 1120px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 30px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.85 "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
h1,h2,h3,p,figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button,input,select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; }
button,a,input,select,summary { -webkit-tap-highlight-color: transparent; }
a,button { touch-action: manipulation; }
img { display: block; width: 100%; height: auto; }
ul,ol { margin: 0; padding: 0; }
p+p { margin-top: 20px; }
h2 { font-size: clamp(30px,3.05vw,42px); line-height: 1.5; letter-spacing: -.04em; font-weight: 800; }
h3 { font-size: 23px; line-height: 1.55; letter-spacing: -.025em; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible { outline: 3px solid #07699b; outline-offset: 5px; }
.container { width: min(var(--content),calc(100% - 120px)); margin-inline: auto; }
.section { padding-block: 130px; position: relative; }
.eyebrow { font: 700 14px/1.6 Arial,sans-serif; letter-spacing: .06em; margin-bottom: 22px; }
.note { font-size: 14px; line-height: 1.75; color: var(--muted); }
.phrase { display: inline-block; }
.display-title {
  position: relative;
  font: 900 clamp(54px,6.8vw,94px)/1.06 "Arial Black", Arial, sans-serif;
  letter-spacing: -.055em;
  margin: 0 0 42px;
  text-wrap: balance;
}
.display-center { text-align: center; margin: 0 auto 90px; width: min(1120px,calc(100% - 80px)); }
.skip-link { position: fixed; top: 0; left: 20px; padding: 14px; background: #fff; z-index: 100; transform: translateY(-120%); }
.skip-link:focus { transform: none; }
.demo-banner { background: #f6f6f6; text-align: center; padding: 4px 20px; font-size: 14px; line-height: 1.6; }
.demo-banner>span { margin-left: 15px; }
.site-header { padding: 28px max(60px,calc((100% - 1280px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; line-height: 1.35; font-weight: 800; letter-spacing: -.04em; flex-shrink: 0; }
.brand-sub { display: flex; align-items: center; gap: 14px; font-size: 14px; letter-spacing: .02em; margin-top: 5px; }
.brand-sub b { font: 700 14px/1.4 Arial,sans-serif; }
.brand-mark { display: flex; align-items: center; gap: 4px; width: 40px; height: 48px; transform: skewY(-18deg); }
.brand-mark i { display: block; width: 10px; height: 32px; background: var(--red); }
.brand-mark i:nth-child(2) { height: 46px; }
.brand-mark i:nth-child(3) { height: 24px; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.site-header nav a:hover { color: var(--red); }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--red); color: #fff; border: 1px solid transparent; border-radius: 100px; padding: 19px 25px 19px 32px; min-height: 64px; font-weight: 700; font-size: 17px; line-height: 1.5; transition: background .2s; }
.button:hover { background: var(--red-dark); color: #fff!important; }
.button small { display: block; font-size: 14px; }
.button-small { min-height: 46px; font-size: 14px; padding: 12px 21px; gap: 24px; }
.arrow-circle { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: #fff; color: #000; font: 25px/1 Arial,sans-serif; flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; gap: 24px; background: none; padding: 0; font-size: 16px; font-weight: 700; line-height: 1.6; }
.text-link>span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font: 23px/1 Arial; flex-shrink: 0; }
.text-link:hover { color: var(--red); }
/* 横に広がる文字と、右下の写真・独自の電子部品によるヒーロー。 */
.hero { position: relative; min-height: 650px; padding: 38px max(60px,calc((100% - 1280px)/2)) 65px; isolation: isolate; overflow: clip; }
.hero-content { position: relative; z-index: 3; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(46px,4.9vw,64px); line-height: 1.25; letter-spacing: -.05em; font-weight: 900; max-width: 1080px; }
.hero-lead { margin-top: 28px; font-size: 24px; line-height: 1.6; font-weight: 800; }
.hero-description { margin-top: 17px; line-height: 1.8; max-width: 470px; }
.hero-action { display: flex; align-items: center; gap: 30px; margin-top: 32px; }
.hero-action .button { min-width: 310px; justify-content: space-between; text-align: center; }
.hero-action .button>span:first-child { flex: 1; }
.hero-sub-link { color: var(--red); font-size: 15px; font-weight: 700; }
.hero-audience { margin-top: 18px; font-size: 14px; }
.hero-art { position: absolute; z-index: -1; top: 0; right: 0; width: 50%; height: 100%; }
.hero-photo { position: absolute; right: 0; bottom: 75px; width: 100%; height: 330px; }
.hero-photo img { height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-disc { position: absolute; width: 380px; height: 380px; right: -110px; top: -90px; border-radius: 50%; border: 80px solid var(--sky); }
.hero-object { position: absolute; width: 240px; height: 220px; right: 55px; top: 12px; z-index: 2; transform: rotate(-9deg); }
.hero-coordinate { position: absolute; bottom: 40px; right: 18%; width: 160px; height: 160px; border: 1px solid #080808; transform: rotate(15deg); background: var(--pink); z-index: -1; }
.hero-coordinate i { position: absolute; width: 38px; height: 1px; background: #080808; }
.hero-coordinate i:nth-child(1) { left: 50%; top: 25%; }
.hero-coordinate i:nth-child(2) { left: 50%; top: 50%; }
.hero-coordinate i:nth-child(3) { left: 25%; top: 50%; transform: rotate(90deg); }
.hero-coordinate i:nth-child(4) { left: 25%; top: 75%; transform: rotate(90deg); }
.image-note { position: absolute; font-size: 14px; bottom: 44px; right: 20px; background: #fff; padding: 1px 6px; }
.hero-scroll { display: inline-flex; gap: 35px; align-items: center; margin-top: 55px; font: 700 14px/1.4 Arial; }
.hero-scroll span { font-size: 30px; }
/* 導入は大きな欧文と中央の日本語。背景色を増やさず余白で区切る。 */
.intro { padding-top: 105px; padding-bottom: 120px; }
.intro .display-title { font-size: clamp(64px,8.7vw,122px); }
.intro .display-title:after { content: ""; display: block; width: 145px; height: 13px; margin: 30px auto 0; background: var(--pink); transform: rotate(-7deg); }
.intro-layout { text-align: center; max-width: 830px; }
.intro-layout h2 { font-size: 34px; }
.intro-layout h2 br { display: none; }
.intro-copy { margin-top: 30px; }
.intro-copy .text-link { margin-top: 26px; }
.field-strip { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 70px; gap: 50px; }
.field-strip>div { display: grid; grid-template-columns: 55px 1fr; gap: 5px 14px; align-items: center; }
.field-strip strong { font-size: 23px; }
.field-strip>div>span:last-child { grid-column: 2; font: 700 14px/1.5 Arial,sans-serif; }
.field-strip svg,.mini-gear { grid-row: 1/3; width: 52px; height: 58px; }
.mini-gear { font: 70px/.8 Arial; color: var(--red); }
.field-strip svg { stroke: #080808; fill: var(--sky); stroke-width: 2; }
.field-strip>div:nth-child(2) svg { fill: var(--pink); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 45px; margin-bottom: 48px; }
.section-heading>div { min-width: 0; }
.section-heading .display-title { max-width: 850px; }
.section-heading>p,.section-heading>div>p:not(.display-title):not(.eyebrow) { font-size: 16px; line-height: 1.85; }
.section-heading .note { display: block; margin-top: 12px; }
/* 同じ情報を持つ3体験を、黒い輪郭と大きな写真で見せる。 */
.programs { background: var(--pink); padding-top: 105px; overflow: clip; }
.program-object { position: absolute; top: 75px; right: max(45px,calc((100% - 1120px)/2)); width: 265px; pointer-events: none; }
.programs .section-heading { position: relative; }
.programs .section-heading { display: block; }
.programs .section-heading>p { margin-top: 22px; }
.programs h2 { font-size: 32px; }
.programs h2 br { display: none; }
.programs .section-heading>p br:first-child { display: none; }
.program-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.program-card { border: 1px solid #080808; border-radius: 24px; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.program-photo { position: relative; }
.program-photo img { aspect-ratio: 1.35; object-fit: cover; }
.program-photo>span { position: absolute; bottom: 0; left: 0; padding: 8px 14px; background: #fff; color: #000; font: 700 14px/1.4 Arial,sans-serif; }
.program-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.course-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; }
.course-label span { font-weight: 400; }
.program-body h3 { font-size: 26px; margin: 22px 0 18px; }
.program-body>p:not(.course-label) { font-size: 16px; line-height: 1.85; }
.program-body ul { list-style: none; font-size: 14px; line-height: 1.9; margin: 20px 0 28px; }
.program-body li:before { content: "+"; margin-right: 8px; color: var(--red); }
.program-body button { margin-top: auto; justify-content: space-between; text-align: left; font-size: 15px; width: 100%; }
.program-note { margin-top: 28px; font-size: 14px; }
.mini-lab { background: #fff; }
.mini-lab>.display-title { margin: 0 auto 70px; }
.lab-layout { display: grid; grid-template-columns: .9fr 1fr; gap: 65px; align-items: center; }
.lab-layout h2+p { margin-top: 25px; }
.lab-layout .note { margin-top: 20px; }
.lab-board { padding: 28px; border: 1px solid #000; border-radius: 20px; background: #f1fbfd; box-shadow: 12px 14px 0 #000; }
.lab-board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 14px/1.5 Arial,sans-serif; }
.sample-tag { font-size: 14px; border: 1px solid #080808; padding: 2px 7px; background: #fff; }
.learning { padding-top: 70px; }
.learning>.container>.display-title { text-align: center; margin-bottom: 60px; }
.learning h2 { margin-left: 44%; max-width: 580px; margin-bottom: 45px; }
.learning-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; }
.learning figure { margin-top: -100px; }
.learning figure img { aspect-ratio: .93; object-fit: cover; border-radius: 0; }
.learning figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; margin-top: 12px; }
.learning-points article { position: relative; padding: 23px 25px; border: 1px solid #000; border-radius: 18px; margin-bottom: 20px; }
.learning-points article>span { display: inline-block; font: 700 14px/1.5 Arial; background: #000; color: #fff; border-radius: 40px; padding: 4px 12px; margin-bottom: 13px; }
.learning-points h3 { font-size: 21px; margin-bottom: 12px; }
.day { background: #e0f7fa; }
.day .section-heading { display: block; }
.day .section-heading>p { margin-top: 24px; }
.day-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: start; }
.day-photo { position: relative; }
.day-photo img { aspect-ratio: 1.2; object-fit: cover; }
.day-photo-caption { padding: 22px; background: #fff; border: 1px solid #000; position: relative; width: 90%; margin: -32px 0 0 -18px; }
.day-photo-caption>span { font: 700 14px/1.5 Arial; }
.day-photo-caption strong { display: block; font-size: 27px; line-height: 1.5; margin-top: 12px; }
.timeline { list-style: none; }
.timeline li { display: flex; align-items: flex-start; gap: 20px; padding-bottom: 28px; position: relative; }
.timeline time { width: 70px; flex-shrink: 0; font: 700 22px/1.5 Arial; }
.timeline li>div { border-left: 2px solid #000; padding: 0 0 5px 25px; }
.timeline li span { font: 700 14px/1.6 Arial; }
.timeline h3 { font-size: 20px; margin: 9px 0; }
.timeline p { font-size: 16px; }
.timeline .highlight>div { border-color: var(--red); }
.timeline .highlight h3 { color: var(--red); }
.courses .display-title { text-align: center; }
.courses h2 { font-size: 32px; text-align: center; }
.courses h2 br { display: none; }
.courses h2+p { margin-top: 20px; text-align: center; }
.comparison { margin-top: 50px; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; }
caption { font-size: 14px; color: var(--muted); text-align: left; margin-bottom: 14px; }
th,td { border: 1px solid #8e8e8e; text-align: left; vertical-align: top; padding: 22px; font-size: 16px; }
thead th { font-size: 22px; background: var(--sky); line-height: 1.5; }
thead th:first-child { width: 18%; font-size: 14px; background: #fff; }
thead th:nth-child(3) { background: #eee; }
thead th:nth-child(4) { background: var(--pink); }
thead th span { display: block; font: 700 14px/1.6 Arial; margin-top: 9px; }
tbody th { font-size: 14px; }
.courses .note { margin-top: 20px; }
.table-hint { display: none; }
.project { background: var(--pink); }
.project .section-heading { display: block; }
.project .section-heading>p { margin-top: 22px; }
.project-blueprint { border: 1px solid #000; border-radius: 20px; overflow: hidden; background: #fff; }
.blueprint-label { font: 700 14px/1.6 Arial; padding: 20px 28px; border-bottom: 1px solid #000; }
.machine-drawing { display: block; width: 100%; padding: 25px 40px 10px; background: #172322; }
.project-legend { display: grid; grid-template-columns: repeat(3,1fr); }
.project-legend>div { padding: 22px 28px; border-right: 1px solid #000; }
.project-legend>div:last-child { border-right: 0; }
.project-legend b { font: 700 26px/1.6 Arial; }
.project-legend b span { font-size: 18px; margin-left: 12px; }
.project-legend p { margin-top: 10px; }
.project .note { margin-top: 18px; }
.support-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.support .display-title { font-size: clamp(50px,5.3vw,74px); }
.support h2 { font-size: 32px; }
.support h2+p { margin-top: 22px; }
.support-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 28px; }
.support-topics span { border-radius: 50px; padding: 6px 15px; background: #000; color: #fff; font-size: 14px; }
.cost-sheet { border: 1px solid #000; padding: 35px; border-radius: 22px; background: #f5f5f5; }
.sheet-label { font-size: 14px; border-bottom: 1px solid #000; padding-bottom: 16px; margin-bottom: 23px; }
.cost-sheet dl { margin: 22px 0; }
.cost-sheet dl>div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid #b9b9b9; padding: 16px 0; }
.cost-sheet dt { font-size: 14px; }
.cost-sheet dd { margin: 0; font: 18px/1.6 Arial,sans-serif; }
.cost-sheet .total { border-bottom: 1px solid #000; font-weight: 700; }
.cost-sheet .total dd { font-size: 24px; font-weight: 700; color: var(--red); }
.dates { padding-top: 50px; }
.dates .section-heading { display: block; text-align: center; }
.dates h2 { font-size: 34px; }
.dates h2 br { display: none; }
.dates .section-heading>div+div { margin-top: 24px; }
.date-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 55px; }
.date-list article { border: 1px solid #000; border-radius: 22px; padding: 30px 25px; display: flex; flex-direction: column; align-items: flex-start; }
.date-display { display: flex; gap: 9px; align-items: baseline; flex-wrap: wrap; width: 100%; }
.date-display>span:first-child { font: 700 14px/1.5 Arial; width: 100%; }
.date-display strong { font: 800 62px/1.2 Arial; letter-spacing: -.06em; }
.day-badge { font: 700 14px/1.6 Arial; border-radius: 50%; border: 1px solid #000; padding: 9px 5px; }
.date-list p { margin: 23px 0; font-size: 16px; }
.date-list p>span { font-size: 14px; }
.date-list .button { width: 100%; margin-top: auto; padding: 15px 22px; font-size: 16px; }
.visit-guide { display: grid; grid-template-columns: 1fr 1.05fr .95fr; gap: 35px; margin-top: 60px; }
.visit-guide h3 { font-size: 21px; margin-bottom: 16px; }
.visit-guide .note { margin-top: 15px; }
.route { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px 15px; background: var(--sky); align-self: start; border-radius: 18px; font-weight: 700; }
.route small { display: block; font-size: 14px; font-weight: 400; }
.route>span { font-size: 15px; }
.route-line { min-width: 60px; font-size: 14px; }
.route-line i { display: block; border-bottom: 1px dashed #000; position: relative; margin-top: 7px; }
.route-line i:after { content: "→"; position: absolute; right: -2px; top: -19px; font-style: normal; font-size: 24px; }
.faq { padding-top: 80px; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.3fr; gap: 65px; }
.faq-layout>div { min-width: 0; }
.faq .display-title { font-size: clamp(52px,5.4vw,74px); }
.faq h2 { font-size: 30px; margin-bottom: 22px; }
.faq details { border-bottom: 1px solid #000; }
.faq details:first-child { border-top: 1px solid #000; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 26px 0; cursor: pointer; font-size: 16px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-size: 25px; line-height: 1; flex-shrink: 0; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { padding: 0 30px 28px 0; font-size: 16px; }
.closing { background: var(--sky); overflow: clip; padding-bottom: 0; }
.closing .container { position: relative; }
.closing .display-title { max-width: 700px; font-size: clamp(64px,8vw,112px); }
.closing h2 { font-size: 36px; }
.closing h2+p { margin-top: 25px; }
.closing .button { margin-top: 30px; min-width: 310px; }
.closing .note { margin-top: 18px; color: #222; }
.closing-object { position: absolute; width: 400px; right: 2%; top: 120px; transform: rotate(12deg); }
.closing-type { font: 900 clamp(64px,10.8vw,156px)/.95 Arial,sans-serif; letter-spacing: -.07em; margin-top: 85px; padding-bottom: 30px; }
.site-footer { background: #000; color: #fff; padding: 65px 0 36px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 40px; }
.site-footer p { font-size: 14px; color: #ddd; }
.site-footer .brand-mark i { background: var(--pink); }
.footer-bottom { margin-top: 35px; border-top: 1px solid #777; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: 14px; }
.footer-bottom .text-link { font-size: 14px; }
.circuit-flow {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:36px 0
}
.circuit-module {
  display:flex;
  flex-direction:column;
  align-items:center;
  flex:1;
  gap:4px
}
.circuit-module svg {
  height:76px;
  width:90px;
  stroke:var(--ink);
  stroke-width:2;
  fill:var(--mint)
}
.circuit-module svg circle {
  fill:#6b898b
}
.circuit-module b {
  font-size:16px;
  margin-top:10px
}
.circuit-module>span {
  font-size:14px
}
.circuit-wire {
  font-size:24px;
  align-self:flex-start;
  margin-top:30px
}
.chip-art {
  width:73px;
  height:72px;
  border:7px double var(--paper);
  outline:3px solid var(--ink);
  background:var(--ink);
  font:700 18px/1.4 monospace;
  text-align:center;
  color:white;
  padding-top:4px;
  margin:2px
}
.bulb-art {
  height:66px;
  width:45px;
  background:#e1e7e3;
  border:2px solid var(--ink);
  border-radius:28px 28px 5px 5px;
  position:relative;
  margin-top:8px;
  margin-bottom:2px;
  transition:background .2s,box-shadow .2s
}
.bulb-art:after {
  content:"";
  position:absolute;
  width:35px;
  height:11px;
  left:3px;
  bottom:-8px;
  background:var(--ink);
  border-radius:2px
}
.lab-board.is-lit .bulb-art {
  background:var(--yellow);
  box-shadow:0 0 30px 10px #f3d36575
}
.lab-board.is-lit .circuit-wire {
  color:var(--red)
}
.range-label {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:700
}
.range-label output {
  font-family:Arial;
  font-size:26px
}
.lab-board input[type=range] {
  width:100%;
  accent-color:var(--red);
  cursor:pointer;
  margin:18px 0 8px;
  height:20px
}
.range-ticks {
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:var(--muted)
}
#lab-status {
  font-size:14px;
  line-height:1.6;
  border-top:1px solid var(--line);
  padding-top:14px;
  margin-top:20px;
  min-height:39px
}

dialog {
  border:1px solid var(--ink);
  border-radius:18px;
  width:min(570px,calc(100% - 32px));
  padding:0;
  background:var(--paper);
  max-height:calc(100dvh - 40px);
  box-shadow:12px 12px 0 #172d231c
}
dialog::backdrop {
  background:#13241c99;
  backdrop-filter:blur(4px)
}
.dialog-inner {
  padding:42px 36px 34px;
  position:relative
}
.dialog-close {
  position:absolute;
  top:10px;
  right:12px;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:#edf0e9;
  font-size:28px;
  font-family:Arial
}
.dialog-inner .eyebrow {
  font-size:14px;
  margin-bottom:14px;
  padding-right:18px
}
.dialog-inner h2 {
  font-size:28px;
  letter-spacing:-.03em;
  margin-bottom:18px
}
.dialog-notice {
  padding:14px 16px;
  background:#e5eff0;
  border-radius:7px;
  font-size:14px;
  margin-bottom:20px
}
.dialog-inner form {
  display:flex;
  flex-direction:column;
  gap:10px
}
.dialog-inner label {
  font-size:16px;
  font-weight:700;
  margin-top:10px;
  display:flex;
  gap:15px;
  align-items:center
}
.dialog-inner label span {
  font-size:14px;
  color:var(--red-dark);
  font-weight:400
}
.dialog-inner select {
  font-size:16px;
  padding:13px 11px;
  width:100%;
  border:1px solid #899589;
  border-radius:6px;
  background:#fff;
  min-height:50px
}
.dialog-inner .button {
  width:100%;
  margin-top:22px;
  font-size:16px;
  padding:17px 23px;
  min-height:56px
}
.review-label {
  font-size:16px;
  font-weight:700
}
.dialog-inner dl {
  margin-block:22px
}
.dialog-inner dl>div {
  padding:14px 0;
  border-bottom:1px solid var(--line)
}
.dialog-inner dt {
  font-size:14px;
  color:var(--muted)
}
.dialog-inner dd {
  margin:5px 0 0;
  font-weight:700;
  font-size:16px
}
.back-button {
  background:none;
  text-decoration:underline;
  padding:14px;
  width:100%;
  font-size:16px
}
.complete-mark {
  margin:24px auto;
  width:70px;
  height:70px;
  border-radius:50%;
  background:var(--mint);
  display:grid;
  place-items:center;
  font-size:35px
}
#reservation-complete h3 {
  font-size:23px;
  margin-bottom:20px
}
#reservation-complete p {
  font-size:16px
}
.dialog-inner>p:not(.eyebrow):not(.dialog-notice) {
  font-size:16px
}
#reservation-complete:focus {
  outline:none
}
[hidden] {
  display:none!important
}
/* 既存の操作部品を新しい配色へ統合。 */
dialog { border-radius: 22px; box-shadow: none; }
dialog::backdrop { background: #0009; backdrop-filter: none; }
.dialog-notice { background: #e0f7fa; }
.dialog-close { background: #eee; }
.field-note { margin-top: 0; }
@media (min-width:1600px) {
  .hero-art { width: 47%; }
  .hero-photo { height: 370px; }
}
@media (max-width:1100px) {
  .container { width: calc(100% - 80px); }
  .site-header { padding: 26px 40px; }
  .site-header nav { gap: 20px; }
  .site-header nav>a:not(.button) { display: none; }
  .hero { padding-inline: 40px; min-height: 700px; }
  .hero h1 { font-size: 54px; }
  .hero-lead { font-size: 21px; }
  .hero-art { width: 47%; }
  .hero-photo { height: 290px; bottom: 70px; }
  .hero-object { width: 210px; right: 10px; }
  .hero-disc { right: -160px; }
  .hero-action { display: block; }
  .hero-sub-link { display: block; margin-top: 18px; }
  .hero-scroll { margin-top: 32px; }
  .section { padding-block: 95px; }
  .display-title { font-size: 70px; }
  .field-strip { gap: 20px; }
  .field-strip strong { font-size: 20px; }
  .program-grid { gap: 18px; }
  .program-body { padding: 22px 19px; }
  .program-body h3 { font-size: 23px; }
  .lab-layout,.learning-layout,.day-layout,.support-layout { gap: 40px; }
  .lab-board { padding: 22px; }
  .lab-board-top { flex-wrap: wrap; }
  .learning h2 { font-size: 34px; }
  .learning-points article { padding: 22px; }
  .learning-points h3 { font-size: 20px; }
  .day-photo-caption { margin-left: -10px; }
  .day-photo-caption strong { font-size: 24px; }
  th,td { padding: 20px 15px; }
  thead th { font-size: 19px; }
  .cost-sheet { padding: 25px; }
  .support h2 { font-size: 29px; }
  .date-list { gap: 18px; }
  .date-list article { padding: 25px 20px; }
  .date-display strong { font-size: 52px; }
  .visit-guide { grid-template-columns: 1fr 1fr; }
  .route { max-width: 420px; }
  .faq-layout { gap: 40px; grid-template-columns: .8fr 1.2fr; }
  .closing-object { width: 300px; top: 170px; right: 0; }
  .closing { padding-bottom: 0; }
}
@media (min-width:701px) and (max-width:900px) {
  .program-object { width: 190px; top: 90px; right: 18px; }
  .program-grid { grid-template-columns: 1fr; gap: 24px; }
  .program-card { display: grid; grid-template-columns: .85fr 1fr; }
  .program-photo img { height: 100%; aspect-ratio: auto; }
  .program-body { padding: 28px; }
  .program-body h3 { font-size: 27px; }
  .hero { min-height: 805px; }
  .hero h1 { font-size: 47px; }
  .hero-photo { bottom: 65px; }
  .hero-art { width: 48%; }
  .hero-audience { max-width: 280px; }
  .hero-scroll { margin-top: 105px; }
  .hero-object { top: -35px; width: 170px; }
  .lab-layout { grid-template-columns: 1fr; }
  .lab-board { width: 100%; max-width: 580px; justify-self: center; }
  .learning h2 { margin-left: 0; }
  .learning-layout { grid-template-columns: 1fr; }
  .learning figure { margin-top: 0; }
  .learning figure img { aspect-ratio: 1.7; }
  .learning-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
  .learning-points article { padding: 20px 16px; }
  .day-layout,.support-layout { grid-template-columns: 1fr; }
  .day-photo { display: grid; grid-template-columns: 1fr .6fr; align-items: end; }
  .day-photo-caption { margin: 0 0 -16px -40px; width: auto; }
  .day-photo-caption strong { font-size: 21px; }
  .date-list article { padding: 24px 16px; }
  .date-display strong { font-size: 49px; }
  .date-list .button { padding-inline: 16px; gap: 10px; }
  .faq-layout { grid-template-columns: 1fr; }
  .field-strip>div { grid-template-columns: 1fr; text-align: center; }
  .field-strip>div>span:last-child { grid-column: 1; }
  .field-strip svg,.mini-gear { grid-row: auto; justify-self: center; }
}
@media (max-width:700px) {
  html { scroll-padding-top: 22px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 76px; }
  h2 { font-size: 29px; line-height: 1.5; text-wrap: balance; }
  h3 { font-size: 22px; }
  .display-title { font-size: clamp(43px,12vw,65px); line-height: 1.04; margin-bottom: 28px; letter-spacing: -.06em; text-wrap: balance; }
  .display-center { width: calc(100% - 40px); margin-bottom: 46px; }
  .demo-banner { font-size: 14px; padding: 7px 15px; }
  .demo-banner { color: var(--muted); }
  .demo-banner>span { margin: 0; display: block; }
  .site-header { padding: 22px 20px; gap: 10px; }
  .brand { font-size: 17px; gap: 9px; }
  .brand-mark { width: 30px; gap: 3px; height: 39px; }
  .brand-mark i { width: 8px; height: 27px; }
  .brand-mark i:nth-child(2) { height: 37px; }
  .brand-mark i:nth-child(3) { height: 21px; }
  .brand-sub { gap: 10px; font-size: 14px; }
  .brand-sub b { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 8px 0; background: none; }
  .menu-toggle span { font-size: 24px; line-height: 1; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; border-block: 1px solid #000; z-index: 30; }
  .site-header nav.is-open { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .site-header nav.is-open>a:not(.button) { display: block; padding: 16px 10px; font-size: 16px; }
  .site-header nav.is-open>.button { margin-top: 10px; font-size: 16px; }
  .button { font-size: 16px; padding: 17px 22px; min-height: 62px; }
  .hero { padding: 18px 20px 0; min-height: 0; overflow: clip; }
  .hero .eyebrow { font-size: 14px; margin-bottom: 20px; letter-spacing: 0; }
  .hero h1 { font-size: clamp(29px,7.8vw,44px); line-height: 1.45; letter-spacing: -.05em; }
  .hero-lead { font-size: 17px; margin-top: 20px; }
  .hero-description { font-size: 16px; margin-top: 12px; }
  .hero-action { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }
  .hero-action .button { min-width: 0; width: min(340px,100%); }
  .hero-sub-link { margin: 0; font-size: 14px; }
  .hero-audience { text-align: center; margin-top: 15px; font-size: 14px; }
  .hero-art { position: relative; width: calc(100% + 40px); height: 340px; margin: 35px -20px 0; z-index: 0; }
  .hero-photo { width: calc(100% - 35px); height: 235px; bottom: 55px; }
  .hero-photo img { object-position: 52% 40%; }
  .hero-object { width: 130px; height: 120px; top: -28px; right: -5px; }
  .hero-disc { width: 160px; height: 160px; border-width: 35px; top: -22px; left: -50px; right: auto; }
  .hero-coordinate { width: 95px; height: 95px; bottom: 30px; left: 20px; }
  .image-note { right: 15px; bottom: 20px; width: 215px; line-height: 1.5; }
  .hero-scroll { display: flex; justify-content: center; margin-top: 14px; padding-bottom: 25px; }
  .intro { padding-top: 65px; }
  .intro .display-title { font-size: 53px; }
  .intro .display-title:after { width: 90px; height: 9px; margin-top: 22px; }
  .intro-layout { text-align: left; }
  .intro-layout .eyebrow { font-size: 14px; }
  .intro-layout h2 { font-size: 28px; }
  .intro-layout h2 br { display: initial; }
  .intro-copy { margin-top: 25px; }
  .intro-copy br { display: none; }
  .field-strip { gap: 25px; margin-top: 40px; grid-template-columns: 1fr; width: fit-content; }
  .field-strip>div { grid-template-columns: 55px 1fr; gap: 3px 20px; }
  .field-strip strong { font-size: 23px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading>p { margin-top: 22px; }
  .section-heading>p br { display: none; }
  .program-object { position: relative; top: auto; right: auto; width: 165px; margin: -45px 5px 0 auto; height: 125px; }
  .programs .display-title { max-width: 270px; }
  .programs h2 { font-size: 27px; }
  .programs h2 br { display: initial; }
  .program-grid { grid-template-columns: 1fr; gap: 30px; }
  .program-card { border-radius: 20px; }
  .program-body { padding: 25px; }
  .program-body h3 { font-size: 29px; margin-top: 19px; }
  .program-photo img { aspect-ratio: 1.38; }
  .program-note { margin-top: 25px; }
  .mini-lab>.display-title { margin-bottom: 42px; }
  .lab-layout { grid-template-columns: 1fr; gap: 35px; }
  .lab-board { padding: 22px 16px; box-shadow: 6px 7px 0 #000; margin-right: 6px; }
  .lab-board-top { flex-wrap: wrap; gap: 10px; }
  .circuit-flow { margin-block: 30px; }
  .circuit-module svg { width: 65px; height: 65px; }
  .circuit-module b { font-size: 16px; }
  .circuit-module>span { font-size: 14px; }
  .circuit-wire { font-size: 18px; margin-top: 25px; }
  .chip-art { width: 58px; height: 60px; font-size: 16px; }
  .bulb-art { height: 54px; width: 36px; }
  .bulb-art:after { width: 28px; left: 2px; }
  .range-label output { font-size: 23px; }
  .learning>.container>.display-title { text-align: left; margin-bottom: 30px; }
  .learning h2 { font-size: 28px; margin: 0 0 32px; }
  .learning-layout { grid-template-columns: 1fr; gap: 32px; }
  .learning figure { margin: 0; }
  .learning figure img { aspect-ratio: 1.2; }
  .learning-points article { padding: 24px; margin-bottom: 16px; }
  .learning-points h3 { font-size: 21px; }
  .day-layout { grid-template-columns: 1fr; gap: 50px; }
  .day-photo-caption { width: 90%; margin: -20px 0 0 -1px; padding: 20px; }
  .day-photo-caption strong { font-size: 25px; }
  .timeline { margin-top: 0; }
  .timeline li { gap: 8px; }
  .timeline time { width: 65px; font-size: 20px; }
  .timeline li>div { padding-left: 18px; }
  .timeline h3 { font-size: 20px; }
  .courses .display-title,.courses h2,.courses h2+p { text-align: left; }
  .courses h2 { font-size: 28px; }
  .courses h2 br { display: initial; }
  .comparison { overflow-x: auto; overscroll-behavior-inline: contain; margin-top: 14px; }
  .comparison table { min-width: 780px; }
  th,td { padding: 18px 14px; }
  thead th { font-size: 19px; }
  thead th:first-child { width: 120px; }
  caption { max-width: 290px; }
  .table-hint { display: block; font-size: 14px; margin-top: 25px; }
  .machine-drawing { padding: 22px 0; }
  .diagram-markers circle { r: 32px; }
  .diagram-numbers text { font-size: 42px; dominant-baseline: middle; transform: translateY(-6px); }
  .blueprint-label { padding: 18px; font-size: 14px; }
  .project-legend { grid-template-columns: 1fr; }
  .project-legend>div { padding: 20px; border-right: 0; border-bottom: 1px solid #000; }
  .project-legend>div:last-child { border-bottom: 0; }
  .project-legend p br { display: none; }
  .support-layout { grid-template-columns: 1fr; gap: 40px; }
  .support .display-title { font-size: 48px; }
  .support h2 { font-size: 28px; }
  .cost-sheet { padding: 24px 20px; }
  .cost-sheet h3 { font-size: 25px; }
  .cost-sheet dl>div { gap: 12px; }
  .cost-sheet .total dd { font-size: 24px; }
  .dates .section-heading { text-align: left; }
  .dates h2 { font-size: 29px; }
  .dates h2 br { display: initial; }
  .date-list { grid-template-columns: 1fr; gap: 22px; margin-top: 35px; }
  .date-list article { padding: 27px; }
  .date-display strong { font-size: 72px; }
  .date-display { gap: 18px; }
  .date-display>span:first-child { width: auto; }
  .date-list p { margin-block: 18px 24px; }
  .visit-guide { grid-template-columns: 1fr; gap: 35px; margin-top: 45px; }
  .route { width: 100%; padding-block: 30px; }
  .route>span { font-size: 17px; }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .faq .display-title { font-size: 58px; }
  .faq h2 { font-size: 28px; }
  .faq summary { padding-block: 23px; gap: 20px; }
  .faq details p { padding-right: 0; }
  .closing { padding-bottom: 0; }
  .closing .display-title { font-size: 64px; margin-bottom: 30px; }
  .closing h2 { font-size: 31px; }
  .closing .button { width: 100%; min-width: 0; }
  .closing .note { max-width: 280px; }
  .closing-object { width: 160px; top: auto; bottom: 135px; right: -22px; opacity: 1; }
  .closing-type { font-size: 50px; padding-bottom: 32px; padding-top: 80px; margin-top: 55px; }
  .site-footer { padding-top: 40px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 26px; margin-bottom: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .dialog-inner { padding: 48px 22px 28px; }
  .dialog-inner h2 { font-size: 25px; }
  .dialog-inner .eyebrow { letter-spacing: 0; padding-right: 0; }
  .dialog-inner .button { padding: 16px 20px; gap: 10px; }
  .dialog-inner select { padding-left: 9px; }
  .dialog-inner h2 { text-wrap: balance; }
}
@media (max-width:360px) {
  .site-header { padding-inline: 16px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 27px; gap: 2px; }
  .hero { padding-inline: 16px; }
  .hero h1 { font-size: 28px; }
  .hero-lead { font-size: 16px; }
  .hero-art { margin-inline: -16px; width: calc(100% + 32px); }
  .hero-object { right: -15px; }
  .hero .eyebrow { max-width: 250px; }
  .container { width: calc(100% - 32px); }
  .display-title { font-size: 43px; }
  .intro .display-title { font-size: 47px; }
  .program-body { padding: 23px 20px; }
  .program-body h3 { font-size: 27px; }
  .lab-board { padding-inline: 12px; }
  .circuit-module svg { width: 57px; }
  .circuit-module>span { letter-spacing: -.06em; }
  .circuit-wire { font-size: 16px; }
  .support .display-title { font-size: 43px; }
  .faq .display-title { font-size: 49px; }
  .cost-sheet { padding-inline: 17px; }
  .date-display strong { font-size: 63px; }
  .date-list article { padding-inline: 23px; }
  .date-display { gap: 12px; }
  .closing .display-title { font-size: 58px; }
  .closing-type { font-size: 43px; }
  .closing-object { bottom: 125px; }
  .dialog-inner { padding-inline: 18px; }
  .dialog-inner h2 { font-size: 24px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}
