:root {
  --navy: #040336;
  --yellow: #f6b23a;
  --text: #10121f;
  --max: 1200px;
  --screen: 920px;
  --radius: 4px;
  --shadow: 4px 4px 2px rgba(115, 12, 12, 0.25);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 89px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo img {
  display: block;
  width: 181px;
  max-width: 100%;
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  color: #000;
  font-size: 16px;
  font-weight: 400;
}

.site-header__nav a {
  color: inherit;
  text-decoration: none;
  padding: 10px 0;
  white-space: nowrap;
}

.cta,
.button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 200ms ease,
    color 200ms ease,
    filter 200ms ease,
    transform 200ms ease;
}

.cta {
  color: #fff;
  background: linear-gradient(90deg, #fcb213 0%, #ff0000 100%);
  box-shadow: var(--shadow);
}

.cta:hover {
  color: #fff;
  background: linear-gradient(90deg, #ff0000 0%, #fcb213 100%);
  border-color: transparent;
}

.button-dark {
  color: #fff;
  background: var(--navy);
  padding-inline: 28px;
  box-shadow: var(--shadow);
}

.button-dark:hover {
  color: var(--navy);
  background: #fff;
  border-color: var(--navy);
}

/* These selectors also override the front-page stylesheet loaded later. */
body .cta:hover {
  color: #fff;
  background: linear-gradient(90deg, #ff0000 0%, #fcb213 100%);
  border-color: transparent;
}

body .button-dark:hover {
  color: var(--navy);
  background: #fff;
  border-color: var(--navy);
}

body .cta:hover img {
  filter: brightness(0) invert(1);
}

body .button-dark:hover img {
  filter: brightness(0) saturate(100%) invert(9%) sepia(56%) saturate(2080%)
    hue-rotate(236deg) brightness(79%) contrast(116%);
}

.cta img,
.button-dark img {
  display: block;
  width: 16px;
  height: auto;
}

.cta--small {
  min-height: 52px;
  padding: 12px 18px;
  font-size: 15px;
}

.menu-button,
.mobile-nav {
  display: none;
}

.site-footer {
  background: #4aa9dc;
  color: #fff;
  padding: 30px 0 22px;
}

.site-footer__inner {
  width: min(var(--screen), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 178px 1fr;
  align-items: start;
  gap: 28px;
}

.site-footer__logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}

.site-footer nav {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #fff;
  font-size: 16px;
}

.site-footer nav a {
  color: #fff;
  text-decoration: none;
}

.sns-links {
  grid-column: 2;
  justify-self: end;
  display: flex;
  gap: 14px;
}

.sns-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.sns-links img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer small {
  grid-column: 1 / -1;
  justify-self: center;
  color: #fff;
  font-size: 12px;
}

body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------
 * Instructor profile page (/about/)
 * -------------------------------------------------- */
.kishi-about {
  --about-navy: #040336;
  --about-gold: #f0b245;
  --about-sky: #eaf3fc;
  --about-cream: #fff9ed;
  --about-ink: #1d2340;
  margin-top: -89px;
  color: var(--about-ink);
  overflow: hidden;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.kishi-about *,
.kishi-about *::before,
.kishi-about *::after {
  box-sizing: border-box;
}

.about-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.about-container--reading {
  width: min(780px, calc(100% - 48px));
}
.about-section {
  padding: clamp(80px, 10vw, 144px) 0;
}
.about-section--blue {
  color: #fff;
  background: var(--about-navy);
}
.about-section--cream {
  background: var(--about-cream);
}

.about-section__eyebrow,
.about-kicker {
  margin: 0 0 18px;
  color: #b77b14;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.about-section--blue .about-section__eyebrow {
  color: var(--about-gold);
}
.kishi-about h1,
.kishi-about h2,
.kishi-about h3,
.kishi-about p {
  margin-top: 0;
}
.kishi-about h2 {
  margin-bottom: 32px;
  color: var(--about-navy);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.about-section--blue h2 {
  color: #fff;
}
.about-section__lead {
  max-width: 720px;
  margin: -10px auto 48px;
  font-size: 17px;
  line-height: 2;
  text-align: center;
}
.about-prose {
  font-size: 16px;
  line-height: 2.15;
}
.about-prose p {
  margin-bottom: 1.5em;
}
.about-prose--large {
  font-size: 17px;
}

.about-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  background: linear-gradient(115deg, #f9fbff 0%, #eef6fd 52%, #d9e8f6 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  left: -180px;
  bottom: -170px;
  border: 1px solid rgba(4, 3, 54, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(255, 255, 255, 0.28),
    0 0 0 92px rgba(255, 255, 255, 0.18);
}

.about-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  padding-block: 64px;
}
.about-hero__copy {
  position: relative;
  z-index: 1;
}
.about-hero h1 {
  margin-bottom: 30px;
  color: var(--about-navy);
  font-size: clamp(42px, 5.7vw, 72px);
  line-height: 1.34;
  letter-spacing: 0.045em;
}
.about-hero h1 span {
  position: relative;
  display: inline-block;
}
.about-hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.12em;
  height: 0.28em;
  background: rgba(240, 178, 69, 0.52);
}
.about-hero__lead {
  margin-bottom: 38px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 2;
}
.about-signature {
  padding-left: 18px;
  border-left: 3px solid var(--about-gold);
}
.about-signature p {
  margin-bottom: 4px;
  font-size: 13px;
}
.about-signature strong {
  margin-right: 12px;
  color: var(--about-navy);
  font-size: 26px;
  letter-spacing: 0.1em;
}
.about-signature span {
  color: #636a7e;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.about-hero__portrait {
  position: relative;
  margin: 0;
}
.about-hero__portrait::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: var(--about-gold);
  opacity: 0.42;
}
.about-hero__portrait img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  box-shadow: 0 26px 60px rgba(4, 3, 54, 0.18);
}
.about-hero__portrait figcaption {
  position: relative;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: -24px 0 0 -24px;
  padding: 14px 22px;
  color: #fff;
  background: var(--about-navy);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.about-intro {
  position: relative;
  background: #fff;
  text-align: center;
}
.about-intro .about-prose {
  text-align: left;
}
.about-intro blockquote {
  position: relative;
  margin: 56px 0 0;
  padding: 38px 32px;
  border: 0;
  color: var(--about-navy);
  background: var(--about-cream);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.75;
}
.about-intro blockquote::before {
  content: "“";
  position: absolute;
  top: -28px;
  left: 24px;
  color: var(--about-gold);
  font-family: Georgia, serif;
  font-size: 88px;
  line-height: 1;
}

.about-story {
  background: var(--about-cream);
}
.about-story > .about-container > .about-section__eyebrow,
.about-story > .about-container > h2 {
  text-align: center;
}
.about-story__timeline {
  position: relative;
  max-width: 920px;
  margin: 70px auto 0;
}
.about-story__timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 46px;
  width: 1px;
  background: #d5c8ad;
}
.about-story__chapter {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 38px;
  padding-bottom: 76px;
}
.about-story__chapter:last-child {
  padding-bottom: 0;
}
.about-story__number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid #d5c8ad;
  border-radius: 50%;
  color: var(--about-gold);
  background: var(--about-cream);
  font-family: Georgia, serif;
  font-size: 24px;
}
.about-story__body {
  padding-top: 7px;
}
.about-story__age {
  margin-bottom: 10px;
  color: #9b762f;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.about-story__body h3 {
  margin-bottom: 24px;
  color: var(--about-navy);
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.55;
}
.about-stumbles {
  margin: 52px 0 0;
  padding: 36px;
  background: #f5f9fd;
  text-align: left;
}
.about-stumbles__title {
  color: var(--about-navy);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
.about-stumbles ol {
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}
.about-stumbles li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: #fff;
}
.about-stumbles li span {
  color: var(--about-gold);
  font-family: Georgia, serif;
  font-size: 13px;
}
.about-stumbles > p:last-child {
  margin-bottom: 0;
  text-align: center;
}
.about-intro__phrase {
  margin: 38px 0 0;
  color: #b55b43;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
}

.about-origin__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(52px, 8vw, 120px);
  align-items: start;
}
.about-origin .about-prose {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.about-method {
  text-align: center;
  background: #fff;
}
.about-method__visual {
  max-width: 980px;
  margin: 56px auto 64px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
}
.about-addition-levels {
  margin: 54px 0 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}
.about-addition-levels article {
  padding: 28px 24px;
  border-top: 4px solid var(--about-gold);
  background: var(--about-cream);
}
.about-addition-levels span {
  color: #b77b14;
  font-family: Georgia, serif;
  font-size: 13px;
}
.about-addition-levels h3 {
  margin: 12px 0 14px;
  color: var(--about-navy);
  font-size: 20px;
}
.about-addition-levels p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.9;
}
.about-method__piece {
  flex: 1;
  min-width: 0;
  padding: 34px 18px;
  border: 1px solid #dbe1eb;
  background: #fff;
  box-shadow: 0 16px 40px rgba(4, 3, 54, 0.08);
}
.about-method__piece span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--about-navy);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}
.about-method__piece strong,
.about-method__piece small {
  display: block;
}
.about-method__piece strong {
  color: var(--about-navy);
  font-size: 20px;
}
.about-method__piece small {
  margin-top: 8px;
  color: #74798a;
  font-size: 13px;
}
.about-method__plus {
  display: grid;
  place-items: center;
  color: var(--about-gold);
  font-size: 40px;
  font-weight: 300;
}
.about-method__copy {
  text-align: left;
}
.about-method__motto {
  margin: 56px 0 0;
  color: var(--about-navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.5;
}
.about-method__motto span {
  font-size: 0.55em;
}

.about-principles {
  text-align: center;
}
.about-principles__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}
.about-principles__grid article {
  padding: 36px 28px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(4, 3, 54, 0.07);
}
.about-principles__grid span {
  color: var(--about-gold);
  font-family: Georgia, serif;
  font-size: 32px;
}
.about-principles__grid h3 {
  margin: 18px 0 15px;
  color: var(--about-navy);
  font-size: 21px;
}
.about-principles__grid p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.95;
}

.about-student {
  text-align: center;
  background: #fff;
}
.about-student .about-prose {
  text-align: left;
}
.about-student blockquote {
  margin: 48px 0 0;
  padding: 34px;
  border: 1px solid #e3d3b6;
  color: var(--about-navy);
  background: var(--about-cream);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  line-height: 1.9;
}

.about-worlds {
  color: #fff;
  background: linear-gradient(150deg, #040336 0%, #11105d 100%);
  text-align: center;
}
.about-worlds h2 {
  color: #fff;
}
.about-worlds__grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}
.about-worlds__grid article {
  position: relative;
  min-height: 390px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}
.about-worlds__grid article > span {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.14);
  font-family: Georgia, serif;
  font-size: 58px;
}
.about-worlds__en {
  margin-bottom: 44px;
  color: var(--about-gold);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.about-worlds__grid h3 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 25px;
}
.about-worlds__grid article p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 2;
}
.about-worlds__closing {
  margin: 64px 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(18px, 2.5vw, 23px);
  line-height: 2;
}

.about-career__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(60px, 9vw, 130px);
}
.about-career__heading {
  position: relative;
  padding-right: 30px;
  border-right: 1px solid #ded7c8;
}
.about-career__heading h2 {
  margin-bottom: 4px;
}
.about-career__roman {
  color: #89806f;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.18em;
}
.about-career__facts {
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9d3c7;
}
.about-career__facts li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 18px 4px;
  border-bottom: 1px solid #d9d3c7;
}
.about-career__facts span {
  color: #746c5f;
  font-size: 14px;
}
.about-career__facts strong {
  color: var(--about-navy);
}

.about-parents {
  background: #f5f9fd;
}
.about-parents h2 {
  text-align: center;
}
.about-parents .about-section__eyebrow {
  text-align: center;
}
.about-letter {
  position: relative;
  padding: clamp(40px, 7vw, 72px);
  background: #fff;
  box-shadow: 0 22px 70px rgba(4, 3, 54, 0.09);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  line-height: 2.25;
}
.about-letter::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #e6dcc7;
  pointer-events: none;
}
.about-letter p {
  position: relative;
  margin-bottom: 1.5em;
}
.about-letter__emphasis {
  margin-block: 2.2em !important;
  color: var(--about-navy);
  font-size: clamp(21px, 3.5vw, 28px);
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}
.about-letter__sign {
  margin: 40px 0 0 !important;
  text-align: right;
  font-size: 20px;
}

.about-future {
  text-align: center;
}
.about-future .about-prose {
  text-align: left;
}

.about-cta {
  color: #fff;
  background: var(--about-navy);
  text-align: center;
}
.about-cta h2 {
  color: #fff;
}
.about-cta__inner > p:not(.about-section__eyebrow) {
  margin-bottom: 34px;
  font-size: 17px;
}
.about-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.about-cta .button-dark {
  border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 820px) {
  .about-hero {
    min-height: auto;
  }
  .about-hero__inner {
    grid-template-columns: 1fr;
    padding-block: 56px 76px;
  }
  .about-hero__portrait {
    width: min(520px, calc(100% - 20px));
    margin-inline: auto;
    order: -1;
  }
  .about-origin__grid,
  .about-career__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .about-career__heading {
    padding: 0 0 26px;
    border-right: 0;
    border-bottom: 1px solid #ded7c8;
  }
  .about-method__visual {
    flex-wrap: wrap;
  }
  .about-addition-levels,
  .about-principles__grid {
    grid-template-columns: 1fr;
  }
  .about-method__piece {
    flex: 1 1 220px;
  }
  .about-method__plus {
    display: none;
  }
  .about-worlds__grid {
    grid-template-columns: 1fr;
  }
  .about-worlds__grid article {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .about-container,
  .about-container--reading {
    width: min(100% - 32px, 1120px);
  }
  .about-section {
    padding-block: 68px;
  }
  .about-hero__inner {
    width: min(100% - 40px, 1120px);
  }
  .about-hero h1 {
    font-size: 38px;
  }
  .about-hero__lead br {
    display: none;
  }
  .about-signature strong {
    display: block;
    margin: 0 0 3px;
  }
  .about-hero__portrait::before {
    inset: 14px -14px -14px 14px;
  }
  .about-hero__portrait figcaption {
    margin: -18px 0 0 -10px;
    font-size: 12px;
  }
  .about-intro blockquote {
    padding: 34px 20px;
  }
  .about-story__timeline::before {
    left: 25px;
  }
  .about-story__chapter {
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding-bottom: 56px;
  }
  .about-story__number {
    width: 50px;
    height: 50px;
    font-size: 15px;
  }
  .about-story__body {
    padding-top: 0;
  }
  .about-stumbles {
    padding: 26px 18px;
  }
  .about-method__piece {
    flex-basis: 100%;
  }
  .about-career__facts li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .about-letter {
    padding: 42px 26px;
    font-size: 15px;
  }
  .about-letter::before {
    inset: 9px;
  }
  .about-letter__emphasis br {
    display: none;
  }
  .about-cta__buttons {
    flex-direction: column;
  }
  .about-cta__buttons a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kishi-about *,
  .kishi-about *::before,
  .kishi-about *::after {
    scroll-behavior: auto !important;
  }
}

body:not(.home) {
  padding-top: 89px;
}

/* Keep every inner page comfortably separated from the shared footer. */
body:not(.home) #content,
body:not(.home) #main_content {
  padding-bottom: clamp(64px, 8vw, 120px);
}

/* Preserve SWELL's structural wrappers while the Kishi chrome is displayed. */
body.single-post #header,
body.blog #header,
body.archive #header,
body.search #header,
body.single-post #footer,
body.blog #footer,
body.archive #footer,
body.search #footer,
body.single-post .l-footer,
body.blog .l-footer,
body.archive .l-footer,
body.search .l-footer,
body.single-post #fix_header,
body.blog #fix_header,
body.archive #fix_header,
body.search #fix_header {
  display: none !important;
}

body.single-post .site-footer {
  width: 100%;
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header__inner {
    min-height: 76px;
    gap: 16px;
  }

  .site-header__logo img {
    width: 154px;
  }

  .site-header__nav,
  .site-header .cta--small {
    display: none;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 22;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition:
      opacity 200ms ease,
      transform 200ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 21;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 112px 24px 48px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }

  .mobile-nav.is-open {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 24px;
  }

  .mobile-nav a {
    color: var(--navy);
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
  }

  body:not(.home) {
    padding-top: 76px;
  }
}

@media (max-width: 980px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body:not(.home) #main_content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header__inner,
  .site-footer__inner {
    width: min(100% - 32px, var(--max));
  }

  .site-header__inner {
    min-height: 72px;
  }

  .site-header__logo img {
    width: 132px;
  }

  body:not(.home) {
    padding-top: 72px;
  }

  .site-footer__inner {
    justify-items: center;
    text-align: center;
  }

  .site-footer nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
  }

  .sns-links {
    grid-column: auto;
    justify-self: center;
    justify-content: center;
  }
}

/* About PROFILE: ロゴになった愛犬ナナの話 */
.about-logo-story {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(40px, 6vw, 76px);
  margin-top: 76px;
  padding: 58px clamp(28px, 5vw, 64px);
  align-items: center;
  border-top: 1px solid #decfae;
  background: rgba(255, 255, 255, 0.7);
}

.about-logo-story__visual {
  margin: 0;
  padding: 30px 24px;
  border-radius: 6px 54px 6px 6px;
  background: #fff;
}

.about-logo-story__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.about-logo-story__label {
  margin: 0 0 10px;
  color: #77571e;
  font-family: "Lexend", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.kishi-about .about-logo-story h3 {
  margin: 0 0 24px;
  padding-left: 17px;
  border-left: 4px solid #040336;
  color: #040336;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.5;
}

.about-logo-story .about-prose p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .about-logo-story {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 56px;
    padding: 40px 22px;
  }

  .about-logo-story__visual {
    width: min(100%, 320px);
    margin-inline: auto;
  }
}

/* About: 最下部はトップページと同じカリキュラムボタンのみ */
.kishi-about .about-page-links {
  padding: 58px 0;
  border-top: 0;
  background: #f8fbfe;
}

.kishi-about .about-page-links__inner {
  display: flex;
  justify-content: center;
}

.kishi-about .about-page-links__cta {
  width: min(100%, 360px);
}

.button-dark--arrow img {
  filter: brightness(0) invert(1);
}

@media (max-width: 640px) {
  .kishi-about .about-page-links {
    padding: 44px 0;
  }

  .kishi-about .about-page-links__cta {
    width: 100%;
  }
}

/* About STORY: 導入コピーは説明文として左揃えにする */
.kishi-about .about-story > .about-container > .about-section__lead {
  max-width: 880px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

@media screen and (max-width: 600px) {
  body.admin-bar #wpadminbar {
    min-width: 0 !important;
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* Contact page */
.kishi-contact-page {
  --contact-main: #4aa9dc;
  --contact-navy: #040336;
  --contact-sky: #eef8fd;
  --contact-border: #cbd9e3;
  --contact-text: #202638;
  color: var(--contact-text);
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  margin-top: -89px;
}

.kishi-contact-page,
.kishi-contact-page * {
  box-sizing: border-box;
}

.contact-hero {
  position: relative;
  display: grid;
  min-height: clamp(300px, 34vw, 460px);
  place-items: center;
  overflow: hidden;
  padding: 72px 24px;
  background-color: var(--contact-main);
  background-image:
    linear-gradient(110deg, rgba(4, 3, 54, 0.82), rgba(12, 57, 141, 0.64)),
    url("assets/site/contact-hero.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.contact-hero__en {
  margin: 0 0 8px;
  color: #f6b23a;
  font-family: "Lexend", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.contact-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.4;
}

.contact-hero__inner > p:last-child {
  margin: 0;
  font-size: 17px;
}

.contact-content {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
}

.contact-intro {
  margin-bottom: 40px;
  text-align: center;
}

.contact-intro h2 {
  margin: 0 0 24px;
  color: var(--contact-navy);
  font-size: clamp(25px, 3vw, 34px);
}

.contact-intro p {
  margin: 0 0 10px;
}

.contact-intro__required {
  margin-top: 22px !important;
}

.required {
  display: inline-block;
  margin: 0 7px 0 4px;
  padding: 2px 8px;
  border-radius: 2px;
  background: var(--contact-main);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  vertical-align: 2px;
}

.contact-form-shell {
  width: 100%;
  padding: clamp(28px, 5vw, 56px);
  border-top: 5px solid var(--contact-main);
  background: var(--contact-sky);
}

.contact-form-shell .wpcf7-form > p {
  margin: 0 0 28px;
}

.contact-form-shell label {
  display: block;
  color: var(--contact-navy);
  font-weight: 700;
}

.contact-form-shell input[type="text"],
.contact-form-shell input[type="email"],
.contact-form-shell select,
.contact-form-shell textarea {
  width: 100%;
  margin-top: 9px;
  padding: 13px 15px;
  border: 1px solid var(--contact-border);
  border-radius: 3px;
  background: #fff;
  color: var(--contact-text);
  font: inherit;
  font-weight: 400;
}

.contact-form-shell textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-form-shell input:focus,
.contact-form-shell select:focus,
.contact-form-shell textarea:focus {
  border-color: var(--contact-main);
  outline: 3px solid rgba(74, 169, 220, 0.22);
  outline-offset: 1px;
}

.contact-form-shell .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--contact-text);
  font-weight: 400;
}

.contact-form-shell .wpcf7-acceptance input {
  width: 18px;
  height: 18px;
  margin-top: 7px;
  flex: none;
}

.contact-form-shell a {
  color: #0c398d;
  font-weight: 700;
  text-underline-offset: 4px;
}

.contact-form-shell input[type="submit"] {
  display: block;
  width: min(100%, 420px);
  margin: 38px auto 0;
  padding: 16px 58px 16px 24px;
  border: 2px solid var(--contact-main);
  border-radius: 4px;
  background-color: var(--contact-main);
  background-image: url("assets/site/chevron-forward.svg");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 22px 22px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.contact-form-shell input[type="submit"]:hover {
  background-color: #368fc0;
  color: #fff;
}

.contact-form-shell .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 14px;
}

.contact-form-shell .wpcf7-response-output {
  margin: 28px 0 0 !important;
  padding: 14px 18px !important;
  background: #fff;
}

@media (max-width: 640px) {
  .contact-hero {
    min-height: 300px;
    padding: 58px 24px;
  }

  .contact-hero__inner {
    transform: translateY(24px);
  }

  .contact-hero__en {
    font-size: 38px;
  }

  .contact-hero__inner > p:last-child {
    font-size: 15px;
    text-align: left;
  }

  .contact-content {
    width: min(100% - 32px, 900px);
    padding: 52px 0 64px;
  }

  .contact-intro {
    text-align: left;
  }

  .contact-form-shell {
    padding: 26px 20px 32px;
  }

  .contact-form-shell textarea {
    min-height: 180px;
  }
}

@media (max-width: 1120px) {
  .kishi-contact-page {
    margin-top: -76px;
  }
}

@media (max-width: 640px) {
  .kishi-contact-page {
    margin-top: -72px;
  }
}

/* About: illustrated editorial layout, aligned with the main site typography. */
.kishi-about .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.kishi-about .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .kishi-about .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.kishi-about .about-container {
  max-width: 1120px;
}
.kishi-about .about-container--reading {
  max-width: 780px;
}
.kishi-about .about-section {
  padding-block: 80px;
}
.kishi-about h2 {
  font-size: 32px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.kishi-about h3 {
  font-size: 22px;
  line-height: 1.65;
}
.kishi-about .about-prose,
.kishi-about .about-prose--large,
.kishi-about .about-letter {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.9;
}
.kishi-about .about-section__lead,
.kishi-about .about-hero__lead {
  font-size: 16px;
  line-height: 1.9;
}
.kishi-about .about-section__eyebrow,
.kishi-about .about-kicker {
  font-family: "Lexend", sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #77571e;
}
.kishi-about .about-section--blue .about-section__eyebrow,
.kishi-about .about-worlds .about-section__eyebrow,
.kishi-about .about-cta .about-section__eyebrow {
  color: #f0b245;
}
.kishi-about .about-hero {
  min-height: 580px;
}
.kishi-about .about-hero__inner {
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
}
.kishi-about .about-hero h1 {
  font-size: 42px;
  line-height: 1.55;
}
.kishi-about .about-hero__portrait {
  max-width: 360px;
  justify-self: end;
}
.kishi-about .about-hero__portrait img {
  border-radius: 100px 100px 8px 8px;
}
.kishi-about .about-hero__portrait::before {
  border-radius: 100px 100px 8px 8px;
}
.kishi-about .about-story {
  background: #fff;
}
.kishi-about .about-story__timeline {
  max-width: none;
  margin-top: 48px;
}
.kishi-about .about-story__timeline::before {
  display: none;
}
.kishi-about .about-story__chapter {
  display: block;
  position: relative;
  padding: 44px 0 56px;
  border-top: 1px solid #d5e2ee;
}
.kishi-about .about-story__number {
  position: absolute;
  top: 40px;
  left: 0;
  width: 48px;
  height: 48px;
  font-size: 20px;
  background: #eaf3fc;
  border: 0;
  color: #040336;
}
.kishi-about .about-story__body {
  display: flow-root;
  padding-top: 0;
}
.kishi-about .about-story__age {
  padding-left: 66px;
  font-family: "Lexend", sans-serif;
  font-size: 12px;
  color: #576a7c;
}
.kishi-about .about-story__body h3 {
  padding-left: 66px;
  margin-bottom: 32px;
}
.about-story__image {
  float: left;
  width: 43%;
  margin: 4px 36px 20px 0;
}
.about-story__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px 60px 8px 8px;
}
.about-story__image figcaption {
  margin-top: 12px;
  color: #596578;
  font-size: 12px;
  line-height: 1.8;
}
.about-story__chapter:nth-child(3) .about-story__image {
  float: right;
  margin: 4px 0 20px 36px;
}
.about-story__chapter:nth-child(3) .about-story__image img {
  border-radius: 60px 8px 8px 8px;
}
.about-story__pullquote {
  float: right;
  width: 34%;
  margin: 8px 0 20px 36px;
  padding: 40px 26px;
  border-radius: 60px 8px 8px 8px;
  background: #eaf3fc;
  color: #040336;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.9;
  border-bottom: 5px solid #f0b245;
}
.kishi-about .about-intro {
  background: #eaf3fc;
}
.kishi-about .about-intro blockquote,
.kishi-about .about-student blockquote {
  font-family: inherit;
  font-size: 24px;
}
.kishi-about .about-origin {
  background: #f8fbfe;
  color: #1d2340;
}
.kishi-about .about-origin h2 {
  color: #040336;
}
.kishi-about .about-origin .about-section__eyebrow {
  color: #77571e;
}
.kishi-about .about-origin .about-prose {
  border-color: #d5e2ee;
}
.kishi-about .about-method__motto {
  font-family: inherit;
  font-size: 32px;
}
.kishi-about .about-intro__phrase {
  font-family: inherit;
  font-size: 26px;
}
.kishi-about .about-worlds {
  padding-top: 0;
  background: #eaf3fc;
  color: #1d2340;
}
.about-worlds__panorama {
  height: 270px;
  overflow: hidden;
  margin-bottom: 64px;
}
.about-worlds__panorama img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.kishi-about .about-worlds h2,
.kishi-about .about-worlds h3 {
  color: #040336;
}
.kishi-about .about-worlds .about-section__eyebrow {
  color: #77571e;
}
.kishi-about .about-worlds__grid article {
  min-height: 0;
  background: #fff;
  border: 0;
  border-top: 4px solid #f0b245;
}
.kishi-about .about-worlds__grid article > span {
  color: #d8e8f5;
}
.kishi-about .about-worlds__grid article p:last-child {
  color: #1d2340;
}
.kishi-about .about-worlds__en {
  color: #77571e;
}
.kishi-about .about-worlds__closing {
  font-family: inherit;
  font-size: 18px;
}
.about-letter__image {
  margin: 0;
  height: 220px;
  overflow: hidden;
  border-radius: 60px 8px 0 0;
}
.about-letter__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.kishi-about .about-letter {
  box-shadow: 0 12px 36px rgba(4, 3, 54, 0.05);
}
.kishi-about .about-letter__emphasis {
  font-size: 22px;
}
.kishi-about .about-future {
  background: #fff9ed;
  color: #1d2340;
}
.kishi-about .about-future h2 {
  color: #040336;
}
.kishi-about .about-future .about-section__eyebrow {
  color: #77571e;
}
.kishi-about a:focus-visible {
  outline: 3px solid #f0b245;
  outline-offset: 5px;
}
@media (max-width: 820px) {
  .kishi-about .about-hero__inner {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }
  .kishi-about .about-hero h1 {
    font-size: 32px;
  }
  .kishi-about .about-hero__portrait {
    order: 0;
    width: 100%;
  }
  .about-story__image,
  .about-story__chapter:nth-child(3) .about-story__image {
    width: 44%;
  }
}
@media (max-width: 640px) {
  .kishi-about .about-section {
    padding-block: 54px;
  }
  .kishi-about h2 {
    font-size: 26px;
  }
  .kishi-about h3 {
    font-size: 20px;
  }
  .kishi-about .about-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-block: 40px;
  }
  .kishi-about .about-hero h1 {
    font-size: 30px;
  }
  .kishi-about .about-hero__portrait {
    max-width: 280px;
    margin-inline: auto;
  }
  .kishi-about .about-story__chapter {
    padding-block: 28px 36px;
  }
  .kishi-about .about-story__number {
    top: 24px;
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
  .kishi-about .about-story__age,
  .kishi-about .about-story__body h3 {
    padding-left: 52px;
  }
  .about-story__image,
  .about-story__chapter:nth-child(3) .about-story__image,
  .about-story__pullquote {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }
  .about-story__pullquote {
    padding: 26px;
    font-size: 20px;
  }
  .kishi-about .about-worlds {
    padding-top: 0;
  }
  .about-worlds__panorama {
    height: 180px;
    margin-bottom: 44px;
  }
  .kishi-about .about-letter__emphasis,
  .kishi-about .about-intro blockquote,
  .kishi-about .about-student blockquote {
    font-size: 20px;
  }
  .about-letter__image {
    height: 170px;
  }
}

/* About v3: full-screen FV and unified CONCEPT-style headings. */
.kishi-about .about-hero {
  position: relative;
  min-height: 0;
  height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #040336;
}

.kishi-about .about-hero::before {
  display: none;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 3, 54, 0.22),
    rgba(4, 3, 54, 0.5)
  );
}

.about-hero__title {
  position: relative;
  z-index: 1;
  padding: 32px;
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 18px rgba(4, 3, 54, 0.35);
}

.about-hero__title p {
  margin: 0 0 8px;
  font-family: "Lexend", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.035em;
}

.kishi-about .about-hero__title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.about-heading {
  margin: 0 0 42px;
  color: #040336;
  text-align: center;
}

.about-heading p {
  margin: 0 0 7px;
  color: inherit;
  font-family: "Lexend", sans-serif;
  font-size: clamp(46px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.kishi-about .about-heading h2 {
  margin: 0;
  color: inherit;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.about-heading--left {
  text-align: left;
}
.about-heading--light {
  color: #fff;
}
.about-origin .about-heading {
  color: #040336;
}
.about-future .about-heading {
  color: #040336;
}
.about-worlds .about-heading {
  color: #040336;
}

.kishi-about .about-section__lead {
  max-width: 760px;
  margin: -14px auto 42px;
  color: #283149;
  text-align: center;
}

.about-section-visual {
  width: min(100%, 720px);
  margin: 0 auto 42px;
  overflow: hidden;
  border-radius: 8px 72px 8px 8px;
  box-shadow: 0 18px 42px rgba(4, 3, 54, 0.11);
}

.about-section-visual--wide {
  width: calc(100% + 160px);
  max-width: none;
  margin-left: -80px;
}

.about-section-visual img {
  display: block;
  width: 100%;
  height: clamp(240px, 34vw, 390px);
  object-fit: cover;
}

.about-origin__lead {
  margin: -22px 0 0;
  color: #283149;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.kishi-about .about-student {
  background: #f8fbfe;
}

.about-career > .about-container > .about-heading {
  margin-bottom: 54px;
}

.kishi-about .about-career__grid {
  grid-template-columns: minmax(260px, 390px) 1fr;
  align-items: start;
  gap: clamp(48px, 7vw, 90px);
}

.kishi-about .about-career__heading {
  padding: 0;
  border: 0;
  text-align: center;
}

.about-career__portrait {
  position: relative;
  margin: 0 0 24px;
}

.about-career__portrait::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 120px 120px 8px 8px;
  background: #e2b34e;
  opacity: 0.45;
}

.about-career__portrait img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 120px 120px 8px 8px;
}

.kishi-about .about-career__heading h3 {
  margin: 0 0 5px;
  color: #040336;
  font-size: 24px;
  letter-spacing: 0.08em;
}

.about-cta__lead {
  font-size: 18px !important;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .kishi-about .about-hero {
    min-height: 0;
    height: 500px;
  }
}

@media (max-width: 820px) {
  .kishi-about .about-career__grid {
    grid-template-columns: minmax(230px, 310px) 1fr;
    gap: 44px;
  }
  .about-section-visual--wide {
    width: calc(100% + 64px);
    margin-left: -32px;
  }
}

@media (max-width: 640px) {
  .kishi-about .about-hero {
    min-height: 300px;
    height: auto;
  }
  .about-hero__title p {
    font-size: 38px;
  }
  .kishi-about .about-hero__title h1 {
    font-size: 25px;
  }
  .about-heading {
    margin-bottom: 34px;
  }
  .about-heading p {
    font-size: 40px;
  }
  .kishi-about .about-heading h2 {
    font-size: 15px;
  }
  .about-heading--left {
    text-align: center;
  }
  .kishi-about .about-section__lead {
    margin-top: -10px;
  }
  .about-section-visual--wide {
    width: calc(100% + 32px);
    margin-left: -16px;
  }
  .about-section-visual img {
    height: 230px;
  }
  .about-origin__lead {
    margin: -16px 0 30px;
    text-align: center;
  }
  .kishi-about .about-career__grid {
    grid-template-columns: 1fr;
  }
  .about-career__portrait {
    width: min(280px, calc(100% - 20px));
    margin: 0 auto 28px;
  }
}

.about-story__image--student {
  float: right;
  margin: 4px 0 20px 36px;
}

.about-story__image--student img {
  border-radius: 60px 8px 8px 8px;
}

@media (max-width: 640px) {
  .about-story__image--student {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }
}

/* About: MESSAGEにエピソードと未来への願いを統合 */
.kishi-about .about-intro .about-container--reading {
  max-width: 940px;
}

.kishi-about .about-intro > .about-container > .about-prose,
.kishi-about .about-intro > .about-container > .about-stumbles,
.kishi-about .about-intro > .about-container > blockquote {
  width: min(100%, 780px);
  margin-right: auto;
  margin-left: auto;
}

.about-message-block {
  margin-top: 84px;
  padding-top: 72px;
  border-top: 1px solid #c9d9e8;
  text-align: left;
}

.about-message-block__heading {
  margin-bottom: 22px;
  text-align: center;
}

.about-message-block__heading p {
  margin: 0 0 7px;
  color: #040336;
  font-family: "Lexend", sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.025em;
}

.about-message-block__heading h3 {
  margin: 0;
  color: #040336;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.about-message-block__lead {
  margin: 0 0 38px;
  color: #283149;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.about-message-block .about-prose,
.about-message-block blockquote {
  width: min(100%, 780px);
  margin-right: auto;
  margin-left: auto;
}

.about-message-block--episode blockquote {
  margin-top: 44px;
}

.about-message-block--future {
  padding: 58px clamp(24px, 5vw, 64px);
  border: 0;
  border-radius: 8px 72px 8px 8px;
  background: #fff9ed;
}

/* About: PROFILEの人物写真をコンパクトに */
.kishi-about .about-career__grid {
  grid-template-columns: minmax(240px, 310px) 1fr;
}

.kishi-about .about-career__portrait {
  width: min(100%, 300px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 8px;
}

.kishi-about .about-career__portrait::before {
  display: none;
}

.kishi-about .about-career__portrait img {
  z-index: 1;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-position: center 24%;
  border-radius: 8px;
}

/* About: 独立したLESSONセクションの代わりに回遊導線だけを配置 */
.about-page-links {
  padding: 58px 0;
  border-top: 1px solid #d8e1ea;
  background: #f8fbfe;
}

.about-page-links__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-page-links__button {
  display: flex;
  min-height: 92px;
  padding: 18px 24px;
  border: 1px solid #c9d9e8;
  color: #040336;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.about-page-links__button span {
  color: #77571e;
  font-family: "Lexend", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.about-page-links__button:hover,
.about-page-links__button:focus-visible {
  color: #fff;
  background: #040336;
  transform: translateY(-2px);
}

.about-page-links__button:hover span,
.about-page-links__button:focus-visible span {
  color: #f0b245;
}

@media (max-width: 820px) {
  .kishi-about .about-career__grid {
    grid-template-columns: minmax(220px, 270px) 1fr;
  }
}

@media (max-width: 640px) {
  .about-message-block {
    margin-top: 64px;
    padding-top: 54px;
  }

  .about-message-block--future {
    padding: 44px 20px;
  }

  .about-message-block__heading p {
    font-size: 32px;
  }

  .kishi-about .about-career__grid {
    grid-template-columns: 1fr;
  }

  .kishi-about .about-career__portrait {
    width: min(240px, calc(100% - 28px));
  }

  .about-page-links__inner {
    grid-template-columns: 1fr;
  }

  .about-page-links__button {
    min-height: 78px;
  }
}

/* About STORY: 画像を左・右・左・右へ交互に配置 */
@media (min-width: 641px) {
  .about-story__chapter:nth-child(odd) .about-story__image {
    float: left;
    margin: 4px 36px 20px 0;
  }

  .about-story__chapter:nth-child(odd) .about-story__image img {
    border-radius: 8px 60px 8px 8px;
  }

  .about-story__chapter:nth-child(even) .about-story__image {
    float: right;
    margin: 4px 0 20px 36px;
  }

  .about-story__chapter:nth-child(even) .about-story__image img {
    border-radius: 60px 8px 8px 8px;
  }
}

/* About MESSAGE: 長文を読み進めるブログ記事型レイアウト */
.kishi-about .about-intro {
  padding-block: clamp(72px, 8vw, 112px);
  background: #f3f7fa;
  text-align: left;
}

.kishi-about .about-intro > .about-container {
  width: min(980px, calc(100% - 48px));
  max-width: 980px;
  padding: clamp(48px, 7vw, 86px) clamp(32px, 7vw, 92px);
  border-top: 6px solid #040336;
  background: #fff;
  box-shadow: 0 24px 60px rgba(4, 3, 54, 0.09);
}

.kishi-about .about-intro > .about-container > .about-heading {
  margin-bottom: 24px;
  text-align: left;
}

.kishi-about .about-intro > .about-container > .about-heading p {
  font-size: clamp(44px, 5vw, 62px);
}

.kishi-about .about-intro > .about-container > .about-heading h2 {
  text-align: left;
}

.kishi-about .about-intro > .about-container > .about-section__lead {
  max-width: none;
  margin: 0 0 44px;
  padding: 0 0 28px;
  border-bottom: 1px solid #d8e1ea;
  color: #040336;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.65;
  text-align: left;
}

.kishi-about .about-intro .about-section-visual--wide,
.kishi-about .about-message-block .about-section-visual {
  width: 100%;
  max-width: none;
  margin: 0 0 44px;
  border-radius: 4px;
  box-shadow: none;
}

.kishi-about .about-intro .about-section-visual img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

.kishi-about .about-intro > .about-container > .about-prose,
.kishi-about .about-intro > .about-container > .about-stumbles,
.kishi-about .about-intro > .about-container > blockquote,
.kishi-about .about-message-block .about-prose,
.kishi-about .about-message-block blockquote {
  width: 100%;
  max-width: 740px;
  margin-right: auto;
  margin-left: auto;
}

.kishi-about .about-intro .about-prose p {
  margin-bottom: 1.65em;
  line-height: 2.05;
}

.kishi-about .about-intro .about-stumbles {
  margin-top: 44px;
  padding: 34px clamp(22px, 4vw, 40px);
  border: 1px solid #d8e1ea;
  border-left: 5px solid #7596b4;
  background: #f8fbfe;
}

.kishi-about .about-intro > .about-container > blockquote,
.kishi-about .about-message-block blockquote {
  margin-top: 46px;
  padding: 24px 28px;
  border: 0;
  border-left: 5px solid #f0b245;
  color: #040336;
  background: #fff9ed;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.85;
  text-align: left;
}

.kishi-about .about-intro blockquote::before {
  display: none;
}

.kishi-about .about-intro__phrase {
  width: min(100%, 740px);
  margin: 24px auto 0;
  color: #9b4c38;
  font-size: 21px;
  text-align: right;
}

.kishi-about .about-message-block {
  margin-top: 72px;
  padding-top: 58px;
  border-top: 1px solid #c9d9e8;
}

.kishi-about .about-message-block__heading {
  width: min(100%, 740px);
  margin: 0 auto 20px;
  text-align: left;
}

.kishi-about .about-message-block__heading p {
  margin-bottom: 10px;
  color: #77571e;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.kishi-about .about-message-block__heading h3 {
  padding-left: 18px;
  border-left: 4px solid #040336;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.55;
}

.kishi-about .about-message-block__lead {
  width: min(100%, 740px);
  margin: 0 auto 34px;
  font-size: 16px;
  text-align: left;
}

.kishi-about .about-message-block--future {
  padding: 58px 0 0;
  border-top: 1px solid #c9d9e8;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 640px) {
  .kishi-about .about-intro {
    padding-block: 44px;
  }

  .kishi-about .about-intro > .about-container {
    width: calc(100% - 24px);
    padding: 42px 20px 48px;
  }

  .kishi-about .about-intro > .about-container > .about-heading p {
    font-size: 38px;
  }

  .kishi-about .about-intro > .about-container > .about-section__lead {
    font-size: 20px;
  }

  .kishi-about .about-intro .about-stumbles {
    padding: 26px 18px;
  }

  .kishi-about .about-intro > .about-container > blockquote,
  .kishi-about .about-message-block blockquote {
    padding: 20px;
  }

  .kishi-about .about-message-block {
    margin-top: 56px;
    padding-top: 46px;
  }

  .kishi-about .about-message-block--future {
    padding: 46px 0 0;
  }
}
