.d2-home {
  --d2-ink: #09294F;
  --d2-blue: #1097ED;
  --d2-paper: #F8F5EE;
  --d2-line: rgba(9, 41, 79, .22);
  width: 100%;
  margin-block: 0;
  overflow: hidden;
  background: var(--d2-paper);
  color: var(--d2-ink);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}
.d2-home.alignfull { width: 100%; max-width: none; margin-inline: 0; }
.d2-home, .d2-home *, .d2-home *::before, .d2-home *::after { box-sizing: border-box; }
.d2-home :where(h1, h2, p, figure) { margin-top: 0; }
.d2-home a { color: inherit; }
.d2-home .hero {
  min-height: 615px;
  padding: 62px clamp(24px, 6vw, 92px) 72px;
  display: flex;
  align-items: center;
  color: var(--d2-paper);
  background: var(--d2-ink);
  position: relative;
}
.d2-home .hero-copy { position: relative; z-index: 1; width: 48%; max-width: 610px; }
.d2-home .eyebrow { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.d2-home .hero .eyebrow { display: flex; align-items: center; gap: 12px; color: #8ae5ee; }
.d2-home .hero .eyebrow span { color: rgba(248,245,238,.68); letter-spacing: .12em; }
.d2-home h1 { margin: 30px 0 22px; font-size: clamp(40px, 4.4vw, 63px); line-height: 1.48; letter-spacing: .025em; font-weight: 600; animation: d2-question-arrive 1800ms ease-out both; }
@keyframes d2-question-arrive { from { opacity: .08; } to { opacity: 1; } }
.d2-home h1 em { color: #8ae5ee; font-style: normal; }
.d2-home .primary-link {
  width: min(100%, 345px); min-height: 56px; margin-top: 30px; padding: 0 18px 0 21px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(138,229,238,.78); color: var(--d2-paper); text-decoration: none;
  font-size: 12px; letter-spacing: .04em; transition: background .18s ease, color .18s ease;
}
.d2-home .primary-link b { color: #8ae5ee; font-size: 19px; font-weight: 400; }
.d2-home .primary-link:hover, .d2-home .primary-link:focus-visible { background: #8ae5ee; color: var(--d2-ink); }
.d2-home .primary-link:hover b, .d2-home .primary-link:focus-visible b { color: var(--d2-ink); }
.d2-home .hero-visual { position: absolute; z-index: 0; inset: 0 0 0 48%; width: auto; height: auto; margin: 0; overflow: hidden; }
.d2-home .hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--d2-ink) 0%, rgba(9,41,79,.86) 10%, rgba(9,41,79,.45) 21%, rgba(9,41,79,.08) 32%, rgba(9,41,79,0) 38%); pointer-events: none; }
.d2-home .hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 68% 42%; }
.d2-home .hero-index { position: absolute; z-index: 1; right: clamp(24px, 6vw, 92px); bottom: 22px; font-size: 9px; letter-spacing: .18em; }
.d2-home .hero-index span { padding: 0 6px; color: #8ae5ee; }
.d2-home .current { padding: 71px clamp(24px, 10vw, 150px) 77px; background: #fffefa; position: relative; }
.d2-home .section-kicker { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--d2-line); font-size: 9px; letter-spacing: .16em; }
.d2-home .section-kicker span:last-child { color: #557087; }
.d2-home .current-layout { display: grid; grid-template-columns: 110px 1fr; gap: 5vw; align-items: center; padding: 65px 0 14px; }
.d2-home .beat-number { margin: 0; color: rgba(16,151,237,.36); font-size: 86px; line-height: 1; font-weight: 300; letter-spacing: -.08em; }
.d2-home.is-motion-ready .beat-number { opacity: 0; }
.d2-home.is-motion-started .beat-number { animation: d2-current-arrive 700ms ease-out 500ms both; }
@keyframes d2-current-arrive { from { opacity: 0; } to { opacity: 1; } }
.d2-home .current-message { max-width: 780px; }
.d2-home .current h2 { margin: 0; font-size: clamp(35px, 4.4vw, 59px); line-height: 1.55; letter-spacing: .02em; font-weight: 500; }
.d2-home.is-motion-ready .motion-char { opacity: .08; }
.d2-home .motion-char { transition: opacity 55ms linear; }
.d2-home .motion-char.is-visible { opacity: 1; }
.d2-home .current h2 > span:not(.motion-char) { color: var(--d2-blue); }
.d2-home .current-message > p { margin: 23px 0 0; color: #405b70; font-size: 14px; line-height: 2; letter-spacing: .015em; }
.d2-home .path { padding: 86px clamp(24px, 11vw, 165px) 91px; display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: clamp(42px, 7vw, 104px); align-items: center; background: #e8f4f6; position: relative; overflow: hidden; }
.d2-home .path-number { position: absolute; z-index: 0; right: clamp(12px, 5vw, 72px); bottom: -.16em; color: rgba(16,151,237,.1); font-size: clamp(190px, 22vw, 320px); line-height: 1; font-weight: 300; letter-spacing: -.08em; pointer-events: none; user-select: none; }
.d2-home .goal-sequence { display: flex; flex-direction: column; align-items: flex-start; color: var(--d2-ink); position: relative; z-index: 1; }
.d2-home .goal-word { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; line-height: .9; }
.d2-home .goal-your { padding-left: .08em; color: #087db8; font-size: 14px; line-height: 1; font-weight: 600; letter-spacing: .2em; }
.d2-home .goal-main { color: var(--d2-ink); font-size: clamp(42px, 4.7vw, 66px); font-weight: 700; letter-spacing: -.075em; }
.d2-home .goal-arrow { margin: 18px 0 13px 5px; color: #087db8; font-size: 30px; line-height: 1; opacity: 1; transition: opacity 400ms ease-out; }
.d2-home.is-motion-enabled .goal-arrow { opacity: .04; }
.d2-home .next-word { padding-left: 7px; color: #087db8; font-size: clamp(24px, 2.8vw, 38px); line-height: 1; font-weight: 600; letter-spacing: .12em; }
.d2-home .path .next-word, .d2-home .path .path-product { color: #087db8; }
.d2-home.is-motion-enabled .path .next-word, .d2-home.is-motion-enabled .path .path-product { color: #dfeff4; }
.d2-home .path .next-word { transition: color 500ms ease-out 400ms; }
.d2-home .path .path-product { font-weight: 600; transition: color 550ms ease-out 900ms; }
.d2-home .path.is-motion-revealed .goal-arrow { opacity: 1; }
.d2-home .path.is-motion-revealed .next-word, .d2-home .path.is-motion-revealed .path-product { color: #087db8; }
.d2-home .path-heading { position: relative; z-index: 1; }
.d2-home .path .eyebrow { color: var(--d2-ink); }
.d2-home .path h2 { margin: 24px 0 0; font-size: clamp(31px, 4vw, 53px); line-height: 1.42; font-weight: 500; letter-spacing: .015em; }
.d2-home .path-context, .d2-home .path-product { display: block; }
.d2-home .path-context { margin-bottom: .7em; color: var(--d2-ink); font-size: .43em; line-height: 1.6; letter-spacing: .05em; }
.d2-home .path-product { color: #087db8; font-size: 1em; }
.d2-home .path-heading > p:not(.eyebrow) { max-width: 570px; margin: 24px 0 20px; color: #405b70; font-size: 13px; line-height: 2; }
.d2-home .text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 7px; border-bottom: 1px solid var(--d2-ink); font-size: 11px; text-decoration: none; }
.d2-home .text-link b { color: #087db8; font-size: 16px; font-weight: 400; }
.d2-home .mobile-break { display: none; }
.d2-home .move { padding: 74px clamp(24px, 10vw, 150px) 64px; background: var(--d2-paper); position: relative; }
.d2-home .move-heading { padding: 47px 0 32px; }
.d2-home .move h2 { margin: 0; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.5; font-weight: 500; letter-spacing: .015em; }
.d2-home .university-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--d2-line); }
.d2-home .university-list li { min-height: 94px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; border-bottom: 1px solid var(--d2-line); }
.d2-home .university-name { font-size: clamp(23px, 3vw, 37px); font-weight: 400; letter-spacing: .025em; transition: color 180ms ease, font-weight 180ms ease; }
@media (hover: hover) and (pointer: fine) { .d2-home .university-name:hover { color: #087db8; font-weight: 600; } }
.d2-home .university-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; min-width: 0; }
/* 受付中バッジ。サイトの青 #1097ED の補色（橙）。白文字のコントラストを確保するため濃いめの橙にする。 */
.d2-home .status-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #C25800; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; white-space: nowrap; }
.d2-home .university-detail { color: #536a7c; font-size: 11px; letter-spacing: .04em; }
.d2-home .university-detail:has(time) { color: #405b70; font-size: 16px; font-weight: 500; line-height: 1.75; }
.d2-home .university-detail time { display: inline-block; white-space: nowrap; }
.d2-home .fact-note { margin: 17px 0 0; color: #526879; font-size: 10px; line-height: 1.9; }
.d2-home .legacy-anchor { position: absolute; width: 0; height: 0; overflow: hidden; }
.d2-home :focus-visible { outline: 3px solid #ffca4d; outline-offset: 4px; }

/* D2 homepage chrome: mirror the approved light-surface header and footer. */
.site-header.d2-site-header { min-height: 76px; background: #F8F5EE; color: #09294F; }
.site-header.d2-site-header .d2-site-header__inner { min-height: 76px; max-width: none; padding: 0 clamp(24px, 6vw, 92px); justify-content: space-between; gap: 1rem; }
.d2-site-header .site-global-nav { display: none; }
.d2-site-header .site-header__brand { width: 142px; min-height: 44px; }
.d2-site-header .site-header__account-link--login {
  min-width: 44px; min-height: 44px; padding: .45rem .75rem; border: 0; border-radius: 0;
  background: transparent; color: #09294F !important; font-size: 13px; font-weight: 500; line-height: 1.4; text-decoration: none;
}
.d2-site-header .site-header__account-link--login:hover { background: transparent; color: #09294F !important; text-decoration: underline; text-underline-offset: .2em; }
.d2-site-header .site-header__account-link:focus-visible,
.d2-site-header .site-header__brand:focus-visible { outline: 2px solid #09294F; outline-offset: 3px; }
.tolearn-home-footer.d2-home-footer {
  min-height: 76px; padding: 12px clamp(24px, 6vw, 92px); border-top: 1px solid rgba(9,41,79,.08);
  background: #fffefa; color: #09294F;
}
.d2-home-footer .tolearn-home-footer__inner {
  display: flex; width: 100%; max-width: 1200px; min-height: 52px; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .5rem 1rem;
}
.d2-home-footer .tolearn-home-footer__brand { margin: 0; }
.d2-home-footer .tolearn-home-footer__logo img { width: 108px; }
.d2-home-footer .tolearn-home-footer__nav { margin: 0; }
.d2-home-footer .tolearn-home-footer__nav-list { gap: .25rem; }
.d2-home-footer .tolearn-home-footer__nav a {
  min-height: 44px; padding: .5rem .625rem; color: #09294F; font-size: 12px; text-underline-offset: .18em;
}
.d2-home-footer .tolearn-home-footer__copyright { margin: 0; color: #405b70; font-size: 9px; }
.d2-home-footer .tolearn-home-footer__nav a:visited { color: #09294F; }
.d2-home-footer :where(a, button):focus-visible { outline-color: #09294F; }

@media (prefers-reduced-motion: reduce) {
  .d2-home *, .d2-home *::before, .d2-home *::after { animation: none !important; transition: none !important; }
  .d2-home h1 { opacity: 1; }
  .d2-home .beat-number { opacity: 1; }
  .d2-home .motion-char { opacity: 1 !important; }
  .d2-home .goal-arrow { opacity: 1; }
  .d2-home .next-word, .d2-home .path-product { color: #087db8; }
}
@media (max-width: 850px) {
  .d2-home .hero { min-height: 520px; padding: 42px clamp(24px, 6vw, 48px) 48px; align-items: center; }
  .d2-home .hero-copy { width: 52%; max-width: 440px; padding: 0; }
  .d2-home h1 { margin: 22px 0 17px; font-size: clamp(30px, 4.1vw, 36px); line-height: 1.48; }
  .d2-home .hero-visual { inset: 0 0 0 44%; }
  .d2-home .hero-visual::after { background: linear-gradient(90deg, var(--d2-ink) 0%, rgba(9,41,79,.86) 10%, rgba(9,41,79,.45) 22%, rgba(9,41,79,.08) 34%, rgba(9,41,79,0) 40%); }
  .d2-home .current-layout { grid-template-columns: 80px 1fr; }
  .d2-home .beat-number { font-size: 70px; }
  .d2-home .path { grid-template-columns: minmax(150px, .55fr) minmax(0, 1.45fr); padding: 72px 8vw; gap: 5vw; }
  .d2-home .path-number { right: clamp(12px, 5vw, 40px); bottom: -.16em; font-size: clamp(190px, 22vw, 240px); }
  .d2-home .goal-main { font-size: clamp(42px, 4.7vw, 56px); }
  .d2-home .move { padding: 63px 8vw 55px; }
}
@media (max-width: 560px) {
  .site-header.d2-site-header { min-height: 66px; }
  .site-header.d2-site-header .d2-site-header__inner { min-height: 66px; padding-inline: 21px; }
  .d2-site-header .site-header__brand { width: 125px; }
  .d2-site-header .site-header__account-link--login { min-height: 44px; padding-inline: .7rem; font-size: 11px; }
  .tolearn-home-footer.d2-home-footer { min-height: 65px; padding: 17px 22px; }
  .d2-home-footer .tolearn-home-footer__inner { min-height: 31px; gap: .25rem .5rem; }
  .d2-home-footer .tolearn-home-footer__logo img { width: 95px; }
  .d2-home-footer .tolearn-home-footer__nav { width: 100%; }
  .d2-home-footer .tolearn-home-footer__nav-list { gap: 0 .25rem; }
  .d2-home-footer .tolearn-home-footer__nav a { min-height: 40px; padding-inline: .4rem; font-size: 11px; }
  .d2-home .hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "visual" "copy"; min-height: 0; padding: 0 0 43px; }
  .d2-home .hero .eyebrow { font-size: 9px; }
  .d2-home .hero-copy { grid-area: copy; width: auto; max-width: 700px; padding: 17px 22px 0; }
  .d2-home .hero-visual { grid-area: visual; position: relative; inset: auto; z-index: 0; width: 100%; height: clamp(205px, 64vw, 270px); }
  .d2-home .hero-visual::after { inset: 58% 0 0; background: linear-gradient(180deg, rgba(9,41,79,0) 0%, var(--d2-ink) 100%); }
  .d2-home .hero-visual img { object-position: 68% 0%; }
  .d2-home h1 { margin: 18px 0 14px; font-size: clamp(30px, 8.5vw, 36px); line-height: 1.48; }
  .d2-home .primary-link { width: 100%; min-height: 52px; margin-top: 0; }
  .d2-home .hero-index { right: 22px; bottom: 14px; }
  .d2-home .current { padding: 54px 22px 59px; }
  .d2-home .section-kicker { font-size: 8px; }
  .d2-home .current-layout { grid-template-columns: 1fr; gap: 14px; padding: 38px 0 0; }
  .d2-home .beat-number { font-size: 53px; }
  .d2-home .current h2 { font-size: 34px; }
  .d2-home .current-message > p { margin-top: 18px; font-size: 12px; }
  .d2-home .mobile-break { display: block; }
  .d2-home .path { grid-template-columns: 1fr; gap: 31px; padding: 57px 22px 62px; }
  .d2-home .path-number { right: clamp(8px, 4vw, 18px); bottom: -.08em; font-size: clamp(124px, 34vw, 170px); }
  .d2-home .goal-sequence { flex-direction: row; align-items: baseline; gap: 8px; }
  .d2-home .goal-word { flex-direction: row; align-items: baseline; gap: 0; }
  .d2-home .goal-your { padding: 0; font-size: 9px; letter-spacing: .14em; }
  .d2-home .goal-main { font-size: clamp(26px, 8vw, 36px); }
  .d2-home .goal-arrow { margin: 0 4px; font-size: 20px; transform: rotate(-90deg); }
  .d2-home .next-word { padding: 0; font-size: clamp(18px, 6vw, 21px); }
  .d2-home .path h2 { font-size: clamp(27px, 7.5vw, 30px); margin-top: 19px; }
  .d2-home .path-context { font-size: .5em; }
  .d2-home .path-heading > p:not(.eyebrow) { margin-top: 20px; font-size: 11px; }
  .d2-home .move { padding: 53px 22px 48px; }
  .d2-home .move-heading { padding: 37px 0 24px; }
  .d2-home .move h2 { font-size: 27px; }
  .d2-home .university-list li { min-height: 83px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .d2-home .university-name { font-size: 24px; }
  .d2-home .status-badge { padding: 3px 10px; font-size: 11px; }
  .d2-home .university-detail { grid-column: 1; grid-row: 2; margin-top: -19px; font-size: 9px; }
  .d2-home .university-list li:has(time) { padding-block: 12px; }
  .d2-home .university-detail:has(time) { margin-top: 0; font-size: 14px; }
  .d2-home .fact-note { font-size: 9px; }
}

@media (max-width: 599px) {
  .d2-site-header .site-global-nav { display: flex; flex: 0 0 auto; margin-left: auto; }
  .d2-site-header .site-header__inner > .wp-block-shortcode,
  .d2-site-header .site-header__inner > .site-header__account { display: none; }
  .d2-site-header .wp-block-navigation__responsive-container-open {
    display: inline-flex; border-color: #09294F; color: #09294F;
  }
  .d2-site-header .wp-block-navigation__responsive-container-open:focus-visible { outline-color: #09294F; }
  .d2-site-header .site-header__no-js-nav a { color: #09294F; }
  .d2-site-header .site-header__no-js-nav a:focus-visible { outline-color: #09294F; }
  .d2-site-header__inner:has(.site-header__no-js-nav) > .site-global-nav { display: none; }
  .d2-site-header__inner:has(.site-header__no-js-nav) > noscript { display: block; flex: 1 1 100%; margin: 0; }
  .d2-site-header__inner:has(.site-header__no-js-nav) > noscript .site-header__no-js-nav { display: flex; flex-direction: column; gap: .5rem; }
}

/* Keep the homepage footer's three items on deliberate left / center / right anchors. */
.d2-home-footer .tolearn-home-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.d2-home-footer .tolearn-home-footer__legacy-anchor { position: absolute; }
.d2-home-footer .tolearn-home-footer__brand { justify-self: start; }
.d2-home-footer .tolearn-home-footer__nav { justify-self: center; }
.d2-home-footer .tolearn-home-footer__copyright { justify-self: end; }
@media (max-width: 560px) {
  .d2-home-footer .tolearn-home-footer__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .d2-home-footer .tolearn-home-footer__nav { grid-column: 1 / -1; justify-self: start; }
  .d2-home-footer .tolearn-home-footer__copyright { grid-column: 2; grid-row: 1; }
}
