:root {
  --orange: #e95513;
  --orange-dark: #b83c0b;
  --brown: #2f2118;
  --brown-soft: #6e5746;
  --green: #173f2b;
  --green-soft: #e8f0e8;
  --mustard: #c69a2d;
  --cream: #fbf6ed;
  --paper: #fffaf2;
  --line: rgba(47, 33, 24, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(47, 33, 24, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled {
  color: var(--brown);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 10px 30px rgba(47, 33, 24, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 220px;
  text-decoration: none;
}

.brand__main {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
}

.brand__sub {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.84;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.button--primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 12px 30px rgba(233, 85, 19, 0.26);
}

.nav-cta:hover,
.button--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.button--secondary {
  color: var(--green);
  border: 1px solid rgba(23, 63, 43, 0.24);
  background: var(--green-soft);
  box-shadow: none;
}

.button--secondary:hover {
  color: var(--white);
  background: var(--green);
  transform: translateY(-1px);
}

.button--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(23, 63, 43, 0.18);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.button--large {
  min-height: 70px;
  padding-inline: 36px;
  font-size: 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 132px clamp(20px, 6vw, 86px) 92px;
  color: var(--white);
  overflow: hidden;
}

.hero__image,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 62% center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 14, 11, 0.92) 0%, rgba(30, 19, 12, 0.72) 42%, rgba(20, 17, 13, 0.2) 76%),
    linear-gradient(0deg, rgba(18, 16, 12, 0.58), rgba(18, 16, 12, 0.14));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #f4e5c2;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow--dark {
  color: var(--orange);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.32;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

h1 {
  font-size: clamp(40px, 5.7vw, 78px);
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}

h3 {
  font-size: 21px;
}

.hero__lead {
  max-width: 580px;
  margin: 28px 0 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
}

.trust-list li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-list .dashicons,
.check-list .dashicons {
  color: var(--mustard);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 24px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section__head--center {
  display: block;
  text-align: center;
}

.section__head--center h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--orange);
}

.section__head a {
  color: var(--orange);
  font-weight: 800;
}

.table-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(233, 85, 19, 0.28);
  border-radius: 6px;
  color: var(--orange);
  background: #fff6ec;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.table-link:hover {
  color: var(--white);
  background: var(--orange);
}

.affiliate-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.concern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.concern {
  padding: 28px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.concern:last-child {
  border-right: 0;
}

.concern__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--green);
  background: #eee6d4;
  font-size: 34px;
}

.concern p,
.split p,
.note,
.guide-item p,
.faq-list p,
.career-band p,
.site-footer p {
  color: var(--brown-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(90deg, #f6f8ee 0%, var(--paper) 54%, #fff 100%);
}

.split__text {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
  font-weight: 700;
}

.check-list--compact {
  gap: 8px;
  margin: 20px 0 0;
}

.split__media img {
  width: 100%;
  min-height: 420px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.compare {
  max-width: 1260px;
}

.guide-section,
.fit-section,
.faq-section {
  max-width: var(--max);
}

.guide-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.guide-item,
.fit-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.guide-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.guide-item h3,
.fit-card h3 {
  font-size: 20px;
}

.guide-item p {
  margin: 16px 0 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--green);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

thead th {
  color: var(--white);
  background: var(--green);
  font-size: 13px;
}

tbody th {
  width: 150px;
  color: var(--green);
  font-size: 16px;
}

.note {
  margin: 16px 0 0;
  font-size: 13px;
}

.career-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.9fr);
  color: var(--white);
  background: var(--green);
}

.mid-cta {
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 66px) 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.mid-cta > div {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.mid-cta h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(26px, 3vw, 38px);
}

.mid-cta p:last-child {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--brown-soft);
}

.career-band__content {
  padding: clamp(58px, 7vw, 86px) clamp(24px, 6vw, 78px);
}

.career-band h2 {
  max-width: 720px;
}

.career-band img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.support-grid article {
  min-width: 0;
}

.support-grid .dashicons {
  width: auto;
  height: auto;
  color: var(--mustard);
  font-size: 40px;
}

.support-grid h3 {
  margin-top: 20px;
  font-size: 17px;
}

.career-band p,
.support-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 86px) 24px;
}

.final-cta__packet {
  position: relative;
  height: 160px;
}

.packet {
  position: absolute;
  display: grid;
  place-items: center;
  width: 118px;
  height: 150px;
  border: 1px solid rgba(47, 33, 24, 0.2);
  border-radius: 4px;
  color: var(--brown);
  background: var(--white);
  box-shadow: 0 16px 30px rgba(47, 33, 24, 0.16);
  font-family: "Yu Mincho", serif;
  font-weight: 800;
  text-align: center;
}

.packet--one {
  left: 20px;
  top: 14px;
  transform: rotate(-9deg);
  color: var(--green);
}

.packet--two {
  left: 84px;
  top: 0;
  transform: rotate(7deg);
  color: var(--orange);
}

.final-cta__action {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.final-cta__action p {
  margin: 0;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(24px, 6vw, 78px);
  color: rgba(255, 255, 255, 0.82);
  background: #211710;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a {
  align-self: center;
  color: #f6d98f;
  font-weight: 800;
}

.fallback-page {
  min-height: 60vh;
  padding: 140px 24px;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    display: none;
    width: min(360px, calc(100vw - 36px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--brown);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: 700px;
  }

  .concern-grid,
  .split,
  .career-band,
  .mid-cta,
  .guide-grid,
  .fit-grid,
  .support-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .concern {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .concern:last-child {
    border-bottom: 0;
  }

  .career-band img {
    min-height: 320px;
  }

  .final-cta__action {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand__sub {
    display: none;
  }

  .hero {
    min-height: 680px;
    align-items: end;
    padding: 108px 20px 44px;
  }

  .hero__image {
    object-position: 70% center;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(19, 14, 11, 0.94) 0%, rgba(19, 14, 11, 0.72) 45%, rgba(19, 14, 11, 0.34) 100%),
      linear-gradient(90deg, rgba(19, 14, 11, 0.84), rgba(24, 17, 12, 0.42));
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .trust-list {
    gap: 10px 14px;
    margin-top: 22px;
    font-size: 12px;
  }

  .button,
  .button--large {
    width: 100%;
    min-height: 58px;
  }

  .section__head {
    display: grid;
    align-items: start;
  }

  .section {
    padding-inline: 20px;
  }

  .split {
    padding-inline: 20px;
  }

  .split__media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-position: center top;
  }

  .table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }

  table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 16px;
  }

  thead {
    display: none;
  }

  tbody,
  tr,
  tbody th,
  td {
    display: block;
    width: 100%;
  }

  tbody tr {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(47, 33, 24, 0.08);
  }

  tbody th,
  td {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(47, 33, 24, 0.1);
  }

  tbody th {
    color: var(--green);
    font-size: 20px;
    line-height: 1.45;
  }

  tbody td {
    display: grid;
    grid-template-columns: minmax(116px, 38%) minmax(0, 1fr);
    gap: 12px;
    font-size: 14px;
  }

  tbody td::before {
    color: var(--brown-soft);
    font-size: 12px;
    font-weight: 800;
  }

  tbody td:nth-child(2) {
    display: block;
    padding-top: 14px;
  }

  tbody td:nth-child(2)::before {
    content: none;
  }

  tbody td:nth-child(3)::before {
    content: "学習サポート";
  }

  tbody td:nth-child(4)::before {
    content: "学習スタイル";
  }

  tbody td:nth-child(5)::before {
    content: "質問サポート";
  }

  tbody td:nth-child(6)::before {
    content: "転職支援";
  }

  tbody td:nth-child(7)::before {
    content: "受講期間";
  }

  tbody td:nth-child(8) {
    border-bottom: 0;
  }

  tbody td:nth-child(8)::before {
    content: "料金目安";
  }

  .table-link {
    width: 100%;
    min-height: 48px;
    color: var(--white);
    background: var(--orange);
  }

  .career-band img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-position: center top;
  }

  .site-footer {
    display: grid;
  }
}
