:root {
  --navy: #08376c;
  --navy-dark: #052a55;
  --blue: #195ca1;
  --orange: #f58216;
  --red: #de2938;
  --green: #25874b;
  --ink: #112f50;
  --muted: #536579;
  --line: #cdd9e6;
  --pale: #f5f9fd;
  --white: #fff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f1f5f9;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.site-header {
  height: 72px;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
}
.brand { display: flex; align-items: center; gap: 10px; }
.site-header .brand,
.site-header .brand:visited,
.site-header nav a,
.site-header nav a:visited {
  color: #fff !important;
}
.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.brand small { font-weight: 700; }
.brand-name { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand strong { font-family: "Yu Mincho", serif; font-size: 29px; letter-spacing: .08em; }
.brand-name em {
  margin: 0 0 3px;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .16em;
}
nav { display: flex; gap: 25px; font-size: 13px; font-weight: 700; }

.hero {
  max-width: var(--max);
  min-height: 430px;
  margin: auto;
  padding: 38px 22px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 46px;
  align-items: center;
  background:
    radial-gradient(circle at 43% 40%, rgba(223,238,250,.9), transparent 27%),
    linear-gradient(105deg, #fff 0%, #fff 58%, #eef6fb 100%);
}
.hero-label { color: var(--navy); font-weight: 800; font-size: 14px; }
.hero h1 { margin-bottom: 14px; color: var(--navy-dark); font-size: clamp(38px, 5vw, 62px); font-weight: 900; line-height: 1.25; letter-spacing: -.03em; }
.hero h1 span { color: var(--orange); font-size: 1.08em; }
.hero-lead { color: var(--navy); font-size: 19px; font-weight: 800; }
.skill-badges { display: flex; gap: 10px; margin-top: 22px; }
.skill-badges > span {
  width: 74px; height: 74px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; font-size: 32px; font-weight: 900; box-shadow: 0 8px 20px rgba(8,55,108,.15);
}
.skill-badges small { display: block; font-size: 8px; margin-top: -18px; }
.typing-badge { background: var(--orange); }
.word-badge { background: #1761ae; }
.excel-badge { background: #17834a; }
.laptop-screen {
  position: relative; height: 210px; padding: 28px; border: 12px solid var(--navy); border-radius: 16px 16px 5px 5px;
  background: linear-gradient(140deg, #d9f0ff, #fff);
}
.laptop-screen span { display: block; height: 12px; margin-bottom: 15px; border-radius: 6px; background: #99bddb; }
.laptop-screen span:nth-child(2) { width: 75%; }
.laptop-screen span:nth-child(3) { width: 55%; }
.laptop-screen b { display: inline-block; margin-top: 12px; padding: 8px 16px; color: #fff; background: var(--orange); border-radius: 20px; }
.laptop-base { height: 18px; margin: 0 -22px; background: #a7b9c9; border-radius: 3px 3px 16px 16px; }
.hero-price, .price-box {
  position: relative; padding: 28px 24px 24px; background: #fff; border: 2px solid #f5c596; border-radius: 14px; box-shadow: 0 12px 30px rgba(8,55,108,.11);
}
.ribbon { width: max-content; margin: -40px auto 15px; padding: 5px 24px; color: #fff; background: var(--orange); font-size: 13px; font-weight: 900; clip-path: polygon(8% 0,92% 0,100% 50%,92% 100%,8% 100%,0 50%); }
.total { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.total > span { font-size: 18px; font-weight: 900; }
.total strong { color: var(--red); font-size: 44px; letter-spacing: -.04em; }
.total small { color: var(--ink); font-size: 12px; margin-left: 3px; }
.hero-price > p:not(.ribbon), .price-box > p:not(.ribbon) { text-align: center; font-size: 13px; font-weight: 700; }
.hero-price ul, .price-box ul, .check-list { list-style: none; padding: 0; margin: 16px 0; }
.hero-price li, .price-box li, .check-list li { display: flex; gap: 10px; margin: 10px 0; font-size: 16px; font-weight: 800; line-height: 1.65; }
.worries .check-list li { font-size: 18px; line-height: 1.7; }
.check { flex: 0 0 20px; height: 20px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-size: 12px; }
.hero-price .check, .price-box .check { color: var(--orange); background: transparent; font-size: 20px; }
.cta {
  display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; padding: 15px 14px;
  color: #fff; background: linear-gradient(90deg, #ff921e, #f57200); border-radius: 8px;
  font-weight: 900; box-shadow: 0 7px 18px rgba(245,130,22,.2);
}
.cta:hover { filter: brightness(.96); }

.page-body { max-width: var(--max); margin: auto; padding: 10px 22px 36px; background: #fff; }
.panel {
  padding: 22px; margin: 14px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 6px rgba(8,55,108,.04);
}
.section-title { display: flex; align-items: center; gap: 12px; margin: -5px -5px 22px; padding: 12px 14px 12px 9px; color: #032750; background: linear-gradient(90deg, #e8f2fc 0%, #f7fbff 75%, #fff 100%); border-bottom: 3px solid var(--navy); border-radius: 7px 7px 2px 2px; font-size: 26px; font-weight: 900; line-height: 1.35; letter-spacing: .01em; }
.section-title > span { flex: 0 0 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: 19px; font-weight: 900; box-shadow: 0 4px 9px rgba(8,55,108,.23); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.three-cards, .four-cards, .assurance-grid { display: grid; gap: 16px; }
.three-cards { grid-template-columns: repeat(3,1fr); }
.four-cards { grid-template-columns: repeat(4,1fr); }
.course-card { display: grid; grid-template-columns: 45px minmax(0,1fr); column-gap: 16px; align-content: start; padding: 22px; border: 1px solid #aec7e2; border-radius: 10px; }
.course-card h3 { grid-column: 2; margin: 0 0 4px; font-size: 22px; font-weight: 900; line-height: 1.35; }
.course-card > p { grid-column: 1 / -1; margin: 14px 0 0; padding-left: 27px; font-weight: 800; font-size: 15px; line-height: 1.6; }
.course-card ul { grid-column: 1 / -1; padding-left: 27px; margin: 6px 0 0; color: #163b61; font-size: 16px; font-weight: 800; line-height: 1.75; }
.course-icon { grid-column: 1; grid-row: 1 / span 2; width: 45px; height: 45px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 6px; font-size: 22px; font-weight: 900; }
.word-card { border-color: #97bbe3; }
.word-card .course-icon { background: #1761ae; }
.excel-card { border-color: #a9d396; }
.excel-card .course-icon { background: #17834a; }
.step-text-method { background: linear-gradient(180deg, #fff, #fffaf3); border-color: #f1c58f; }
.step-text-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: center; }
.step-text-layout figure { margin: 0; overflow: hidden; background: #fff; border: 1px solid #e2e8ee; border-radius: 12px; box-shadow: 0 7px 22px rgba(8,55,108,.09); }
.step-text-layout figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.step-text-layout figcaption { padding: 10px 14px 12px; color: #405d77; font-size: 13px; font-weight: 700; line-height: 1.65; }
.step-text-copy > p { color: #294966; font-size: 16px; font-weight: 700; line-height: 1.85; }
.step-text-copy .step-text-lead { margin-top: 0; color: var(--navy); font-size: 19px; font-weight: 900; }
.step-text-copy strong { color: var(--orange); }
.step-text-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.step-text-flow li { position: relative; padding: 44px 10px 12px; color: var(--navy); background: #fff; border: 1px solid #dce6ef; border-radius: 9px; text-align: center; }
.step-text-flow li > span { position: absolute; top: 9px; left: 50%; display: grid; width: 28px; height: 28px; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font-size: 14px; font-weight: 900; transform: translateX(-50%); }
.step-text-flow strong, .step-text-flow small { display: block; }
.step-text-flow strong { color: var(--navy); font-size: 14px; font-weight: 900; }
.step-text-flow small { margin-top: 5px; color: #526b82; font-size: 11px; font-weight: 700; line-height: 1.55; }
.step-text-copy .step-text-result { margin-bottom: 0; padding: 12px 15px; color: var(--navy); background: #fff3df; border-left: 4px solid var(--orange); border-radius: 5px; }
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split-row .panel { margin: 0; }
.split-row .panel > p { color: #294966; font-size: 17px; font-weight: 700; line-height: 1.85; }
.process { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 24px; }
.process span { min-width: 72px; padding: 12px 8px; color: var(--navy); background: var(--pale); border-radius: 8px; text-align: center; font-size: 14px; font-weight: 900; }
.process b { color: #9bafc1; }
.compact span { min-width: 95px; }
.small-cta { margin-top: 20px; padding: 11px; }
.assurance { background: linear-gradient(180deg, #fff, #f7fbff); }
.assurance-grid { grid-template-columns: repeat(3,1fr); }
.assurance-grid article { position: relative; padding: 24px 20px; background: #fff; border-top: 4px solid var(--orange); border-radius: 9px; box-shadow: 0 5px 18px rgba(8,55,108,.08); }
.assurance-grid article:nth-child(2) { border-color: var(--blue); }
.assurance-grid article:nth-child(3) { border-color: var(--green); }
.big-number { position: absolute; top: 12px; right: 16px; color: #e6eef6; font-size: 55px; font-weight: 900; line-height: 1; }
.assurance-icon { width: 54px; height: 54px; margin-bottom: 15px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font-size: 29px; font-weight: 900; box-shadow: 0 5px 13px rgba(8,55,108,.14); }
.assurance-grid article:nth-child(2) .assurance-icon { background: var(--blue); }
.assurance-grid article:nth-child(3) .assurance-icon { background: var(--green); }
.assurance-grid h3 { position: relative; color: var(--navy); font-size: 21px; font-weight: 900; line-height: 1.55; }
.assurance-grid article:first-child h3 { font-size: 19px; }
.nowrap { white-space: nowrap; }
.assurance-grid p { color: #294966; font-size: 16px; font-weight: 700; line-height: 1.85; }
.assurance-grid small { display: block; color: #405c75; font-size: 13px; font-weight: 700; line-height: 1.7; }
.four-cards article { padding: 18px 14px; text-align: center; border: 1px solid #dde5ee; border-radius: 8px; }
.four-cards article > span { color: var(--blue); font-size: 25px; }
.four-cards h3 { color: var(--navy); font-size: 17px; font-weight: 900; line-height: 1.6; }
.four-cards p { margin: 0; color: #38536d; font-size: 14px; font-weight: 700; line-height: 1.7; }
.real-school { background: linear-gradient(180deg,#fff 70%,#eef6fd); }
.real-photo-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 14px; }
.real-photo-grid figure { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.real-photo-grid img { display: block; width: 100%; height: 250px; object-fit: cover; }
.real-photo-grid figure:nth-child(1) img { object-position: center; }
.real-photo-grid figure:nth-child(2) img { object-position: center 22%; }
.real-photo-grid figcaption { padding: 12px 14px 14px; }
.real-photo-grid figcaption strong, .real-photo-grid figcaption span { display: block; }
.real-photo-grid figcaption strong { color: var(--navy); font-size: 16px; font-weight: 900; }
.real-photo-grid figcaption span { margin-top: 3px; color: #405d77; font-size: 13px; font-weight: 700; }
.history-copy { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 15px 18px; color: #fff; background: var(--navy); border-radius: 8px; }
.history-copy strong { font-size: 19px; }
.history-copy span { font-size: 14px; }
.testimonial { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; position: relative; padding-top: 70px; background: #fffaf3; border-color: #f4c796; }
.voice-label { position: absolute; top: 20px; left: 22px; margin: 0; color: var(--orange); font-size: 19px; font-weight: 900; }
.testimonial-person { align-self: center; margin: 0; text-align: center; }
.testimonial-person img { display: block; width: 220px; height: auto; margin: 0 auto; object-fit: contain; object-position: center; border: 6px solid #fff; border-radius: 14px; box-shadow: 0 7px 22px rgba(8,55,108,.16); }
.testimonial-person figcaption { margin-top: 10px; color: var(--navy); font-size: 13px; font-weight: 900; line-height: 1.5; }
.testimonial blockquote { margin: 0; padding: 22px 26px; background: #fff; border-left: 6px solid var(--orange); border-radius: 8px; box-shadow: 0 5px 15px rgba(8,55,108,.06); }
.testimonial blockquote > strong { display: block; margin-bottom: 15px; color: var(--navy); font-size: 25px; line-height: 1.5; }
.testimonial blockquote p { margin: 9px 0; color: #294966; font-size: 15px; font-weight: 700; line-height: 1.8; }
.voice-points { display: grid; align-content: center; gap: 12px; }
.voice-points p { margin: 0; padding: 17px; color: #294966; background: #fff; border-radius: 8px; font-size: 14px; font-weight: 700; }
.voice-points span { display: block; margin-bottom: 5px; color: var(--orange); font-size: 15px; font-weight: 900; }
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; list-style: none; text-align: center; }
.flow li { position: relative; min-height: 150px; padding: 18px 12px 15px; background: #f4f8fc; border: 1px solid #c7d9ea; border-radius: 10px; }
.flow span { width: 42px; height: 42px; margin: 0 auto 11px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: 19px; font-weight: 900; box-shadow: 0 3px 8px rgba(8,55,108,.2); }
.flow b { display: block; color: #092f5a; font-size: 16px; font-weight: 900; line-height: 1.5; }
.flow small { display: block; margin-top: 5px; color: #3e5b75; font-size: 14px; font-weight: 700; line-height: 1.5; }
.price-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 25px; }
.summary-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.summary-grid p { padding: 18px 8px; margin: 0; text-align: center; border-right: 1px solid var(--line); }
.summary-grid strong, .summary-grid span { display: block; }
.summary-grid strong { color: var(--navy); font-size: 15px; }
.summary-grid span { color: #365571; font-size: 14px; font-weight: 700; }
.other-courses-link {
  margin: 22px 0 0;
  text-align: center;
}
.other-courses-link a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.other-courses-link a:hover,
.other-courses-link a:focus-visible {
  color: var(--navy-dark);
}
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
details { border: 1px solid var(--line); border-radius: 5px; }
summary { padding: 14px 16px; cursor: pointer; color: var(--navy); font-weight: 900; font-size: 16px; line-height: 1.55; }
details p { margin: 0; padding: 0 16px 14px; color: #38536d; font-size: 15px; font-weight: 600; }
.access { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; padding: 0; overflow: hidden; }
.access-info { padding: 24px; }
.access-info h3 { color: var(--navy); font-size: 22px; }
.access dl { margin: 0; }
.access dl > div { display: grid; grid-template-columns: 90px 1fr; padding: 9px 0; border-bottom: 1px solid var(--line); }
.access dt { color: var(--muted); font-weight: 700; }
.access dd { margin: 0; font-weight: 800; }
.access dd small { color: var(--muted); font-weight: 500; }
.access dd a { color: var(--blue); font-size: 20px; }
.map-link { display: inline-block; margin-top: 18px; color: #fff; background: var(--navy); padding: 10px 16px; border-radius: 5px; font-weight: 800; font-size: 13px; }
.access iframe { width: 100%; height: 100%; min-height: 385px; border: 0; }
.contact {
  max-width: var(--max); margin: auto; padding: 23px 32px; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 26px; align-items: center;
  color: #fff; background: linear-gradient(110deg, var(--navy-dark), var(--navy));
}
.contact h2 { margin: 0; font-size: 20px; }
.contact p { margin: 3px 0 0; font-size: 13px; }
.contact-phone { text-align: center; }
.contact-phone a { display: block; font-size: 27px; font-weight: 900; }
.contact-phone small { display: block; font-size: 10px; }
.reservation-note { max-width: var(--max); margin: auto; padding: 8px; text-align: center; color: #778493; background: #fff; font-size: 10px; }
footer { max-width: var(--max); margin: auto; padding: 20px 30px 55px; display: flex; gap: 35px; align-items: center; background: #fff; font-size: 12px; }
footer a { margin-left: auto; padding: 5px 20px; color: #fff; background: var(--navy); border-radius: 4px; }
.mobile-cta { display: none; }

@media (max-width: 900px) {
  body { padding-bottom: 64px; }
  .site-header { height: 64px; padding: 0 18px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 44px 20px 28px; }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: 44px; }
  .skill-badges { justify-content: center; }
  .hero-price { margin-top: 15px; }
  .page-body { padding: 8px 12px 24px; }
  .panel { padding: 18px 15px; }
  .two-cols, .three-cards, .four-cards, .assurance-grid, .step-text-layout, .split-row, .price-layout, .faq-grid, .access, .contact { grid-template-columns: 1fr; }
  .section-title { margin: -2px -2px 20px; padding: 10px 10px 10px 7px; font-size: 22px; align-items: flex-start; }
  .section-title > span { flex-basis: 35px; width: 35px; height: 35px; font-size: 17px; }
  .split-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .split-row > .panel { min-width: 0; width: 100%; max-width: 100%; }
  .step-text-layout { gap: 20px; }
  .step-text-flow { grid-template-columns: 1fr; }
  .step-text-flow li { min-height: 72px; padding: 14px 12px 14px 54px; text-align: left; }
  .step-text-flow li > span { top: 50%; left: 13px; transform: translateY(-50%); }
  .process { width: 100%; max-width: 100%; gap: 4px; overflow: visible; justify-content: stretch; padding-bottom: 4px; }
  .process span, .compact span { flex: 1 1 0; min-width: 0; padding: 10px 3px; font-size: 12px; overflow-wrap: anywhere; }
  .process b { flex: 0 0 auto; font-size: 12px; }
  .four-cards { grid-template-columns: 1fr 1fr; }
  .real-school, .real-photo-grid, .real-photo-grid figure { min-width: 0; width: 100%; max-width: 100%; }
  .real-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .real-photo-grid img { height: auto; max-height: 360px; }
  .history-copy { display: block; }
  .history-copy span { display: block; margin-top: 4px; }
  .testimonial { grid-template-columns: 1fr; padding-top: 72px; }
  .testimonial-person img { width: min(100%, 260px); height: auto; }
  .flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .summary-grid p:nth-child(2) { border-right: 0; }
  .price-box { margin-top: 18px; }
  .access iframe { min-height: 300px; }
  .contact { padding: 35px 20px; text-align: center; }
  footer { display: block; text-align: center; }
  footer span, footer a { display: block; margin: 8px 0; }
  .mobile-cta {
    position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: block; padding: 16px 10px;
    color: #fff; background: var(--orange); text-align: center; font-weight: 900; box-shadow: 0 -5px 20px rgba(0,0,0,.15);
  }
}

@media (max-width: 480px) {
  .brand small { font-size: 10px; }
  .brand strong { font-size: 24px; }
  .brand-name em { font-size: 9px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .total strong { font-size: 38px; }
  .four-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
