/* ==========================================================================
   Base
   ========================================================================== */

:root {
  --color-bg: #F8F7F4;
  --color-bg-subtle: #ECE9E3;
  --color-border: #D8D4CD;
  --color-text: #222222;
  --color-footer-bg: #3E352D;
  --color-white: #fff;
  --color-accent: #993038;
  --font-body: "Noto Sans JP", sans-serif;
  /* DNP ???????? Std?Adobe Fonts?: weight 400 / 500 / 600, style normal */
  --font-heading: "dnp-shuei-gothic-gin-std", sans-serif;
  --container-max: 1440px;
  --header-height-pc: 80px;
  --site-header-height: 67px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg);
  border-bottom: 1px solid #eee;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 20px;
  gap: 16px;
}

.site-header__brand {
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}

.site-header__tagline {
  margin: 0 0 1px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.site-header__logo {
  display: block;
  line-height: 0;
}

.site-header__logo img {
  width: auto;
  height: 18px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.site-header__setsumeikai {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0;
  transition: opacity 0.2s;
}

.site-header__setsumeikai:hover {
  opacity: 0.7;
}

.site-header__setsumeikai img {
  width: auto;
  height: 38px;
}

.site-header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  position: relative;
  z-index: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-header__menu-btn::before {
  content: "";
  position: absolute;
  inset: -12px;
}

.site-header__menu-line {
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: 0;
  border-top: 2px solid var(--color-text);
  background-color: transparent;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.site-header__menu-btn.is-active .site-header__menu-line:nth-child(1) {
  width: 26px;
  transform: translateY(12px) rotate(45deg);
}

.site-header__menu-btn.is-active .site-header__menu-line:nth-child(2) {
  opacity: 0;
}

.site-header__menu-btn.is-active .site-header__menu-line:nth-child(3) {
  width: 26px;
  transform: translateY(-12px) rotate(-45deg);
}

body.is-nav-open .site-header {
  z-index: 2100;
}

/* PC header */
@media (min-width: 768px) {
  .site-header__inner {
    padding: 24px 40px;
  }

  .site-header__brand {
    padding-right: 0;
  }

  .site-header__tagline {
    font-size: 12px;
    margin-bottom: 4px;
    letter-spacing: 0.06em;
  }

  .site-header__logo img {
    height: 30px;
  }

  .site-header__actions {
    gap: 28px;
  }

  .site-header__setsumeikai img {
    height: 56px;
  }

  .site-header__menu-btn {
    width: 36px;
    height: 36px;
    gap: 12px;
    padding: 0;
  }

  .site-header__menu-btn.is-active .site-header__menu-line:nth-child(1) {
    width: 32px;
    transform: translateY(14px) rotate(45deg);
  }

  .site-header__menu-btn.is-active .site-header__menu-line:nth-child(3) {
    width: 32px;
    transform: translateY(-14px) rotate(-45deg);
  }

}

/* ==========================================================================
   Global Navigation (Overlay)
   ========================================================================== */

body.is-nav-open {
  overflow: hidden;
}

.global-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  --global-nav-bg: #EAE5DB;
  --global-nav-text: #3E352D;
  font-family: var(--font-heading);
  background-color: var(--global-nav-bg);
  color: var(--global-nav-text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.global-nav.is-open {
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.global-nav__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px 20px 32px;
}

/* Header */
.global-nav__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  margin-bottom: 24px;
}

.global-nav__header-brand {
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}

.global-nav__tagline {
  margin: 0 0 1px;
  font-family: inherit;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.global-nav__logo {
  display: block;
  line-height: 0;
}

.global-nav__logo img {
  width: auto;
  height: 18px;
}

.global-nav__header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.global-nav__setsumeikai {
  display: flex;
  line-height: 0;
  transition: opacity 0.2s;
}

.global-nav__setsumeikai:hover {
  opacity: 0.7;
}

.global-nav__setsumeikai img {
  width: auto;
  height: 38px;
}

.global-nav__close {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  transition: opacity 0.2s;
}

.global-nav__close:hover {
  opacity: 0.6;
}

.global-nav__close-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 1px;
  background-color: var(--global-nav-text);
}

.global-nav__close-line:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.global-nav__close-line:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Body */
.global-nav__body {
  flex: 1;
}

.global-nav__columns {
  display: flex;
  flex-direction: column;
}

.global-nav__col {
  display: flex;
  flex-direction: column;
}

/* Accordion sections */
.global-nav__section {
  border-bottom: 1px solid var(--color-border);
}

.global-nav__section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  text-align: left;
  gap: 16px;
}

.global-nav__section-title {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.global-nav__toggle-icon {
  flex-shrink: 0;
  width: 24px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

.global-nav__toggle-icon::before {
  content: "+";
}

.global-nav__section.is-open .global-nav__toggle-icon::before {
  content: "\2212";
}

.global-nav__submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.global-nav__section.is-open .global-nav__submenu {
  grid-template-rows: 1fr;
}

.global-nav__submenu-list {
  overflow: hidden;
  padding-bottom: 4px;
  padding-left: 0.5em;
}

.global-nav__link {
  display: block;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.global-nav__link:hover {
  opacity: 0.6;
}

.global-nav__dash {
  display: inline-block;
  margin-right: 0.35em;
  font-weight: 300;
}

/* Side column (primary links + quick buttons) */
.global-nav__col--side {
  margin-top: 8px;
}

.global-nav__primary-list {
  margin-top: 16px;
}

.global-nav__primary-link {
  display: block;
  padding: 12px 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  transition: opacity 0.2s;
}

.global-nav__primary-link:hover {
  opacity: 0.6;
}

.global-nav__quick {
  margin-top: 20px;
}

.global-nav__quick-row {
  display: flex;
  gap: 8px;
}

.global-nav__quick-btn {
  display: block;
  flex: 1;
  padding: 14px 8px;
  background-color: var(--color-white);
  border: none;
  border-radius: 5px;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.4;
  transition: opacity 0.2s;
}

.global-nav__quick-btn:hover {
  opacity: 0.7;
}

.global-nav__quick-btn--wide {
  width: 100%;
  margin-top: 8px;
  padding: 14px 12px;
}

.global-nav__accent {
  color: var(--color-accent);
}

/* Footer (CTA + SNS) */
.global-nav__footer {
  flex-shrink: 0;
  margin-top: 32px;
}

.global-nav__cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.global-nav__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 18px;
  min-height: 72px;
  transition: opacity 0.2s;
}

.global-nav__cta:hover {
  opacity: 0.85;
}

.global-nav__cta--primary {
  background-color: var(--color-footer-bg);
  color: var(--color-white);
}

.global-nav__cta--secondary {
  background-color: var(--global-nav-bg);
  border: 1px solid var(--global-nav-text);
  color: var(--global-nav-text);
}

.global-nav__cta-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.global-nav__cta-lead {
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.global-nav__cta-title {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.global-nav__cta-title--single {
  font-size: 15px;
}

.global-nav__cta-arrow {
  flex-shrink: 0;
  width: 56px;
  height: auto;
}

.global-nav__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
}

.global-nav__social a {
  display: block;
  line-height: 0;
  transition: opacity 0.2s;
}

.global-nav__social a:hover {
  opacity: 0.6;
}

.global-nav__social img {
  width: 28px;
  height: auto;
}

.global-nav__social li:last-child img {
  width: 21px;
}

/* Slide overlay variant */
.global-nav--slide {
  opacity: 1;
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.35, 1), visibility 0.7s ease;
}

.global-nav--slide.is-open {
  transform: translateX(0);
  top: var(--site-header-height);
  bottom: 0;
  height: auto;
  margin-top: 0;
}

.global-nav--slide .global-nav__inner {
  min-height: 0;
  padding-top: 16px;
}

/* Slide: PC only slides from top (full-screen) */
@media (min-width: 768px) {
  .global-nav--slide-top-pc.global-nav--slide {
    transform: translateY(-100%);
  }

  .global-nav--slide-top-pc.global-nav--slide.is-open {
    transform: translateY(0);
  }
}

/* Drawer overlay variant (85% panel + dimmed backdrop) */
.global-nav--drawer.global-nav--slide {
  transform: none;
  background-color: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: visibility 0.7s ease;
}

.global-nav--drawer.global-nav--slide.is-open {
  transform: none;
}

.global-nav--drawer .global-nav__backdrop {
  display: block;
  flex: 0 0 15%;
  width: 15%;
  padding: 0;
  border: none;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.global-nav--drawer.is-open .global-nav__backdrop {
  opacity: 1;
}

.global-nav--drawer .global-nav__panel {
  flex: 0 0 85%;
  width: 85%;
  background-color: var(--global-nav-bg);
  color: var(--global-nav-text);
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.35, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.global-nav--drawer.is-open .global-nav__panel {
  transform: translateX(0);
}

.global-nav--drawer .global-nav__inner {
  min-height: 0;
}

/* Drawer: PC slides panel from top, backdrop on bottom */
@media (min-width: 768px) {
  .global-nav--drawer-top-pc.global-nav--slide {
    flex-direction: column;
  }

  .global-nav--drawer-top-pc .global-nav__panel {
    order: 1;
    flex: 0 0 85%;
    width: 100%;
    transform: translateY(-100%);
  }

  .global-nav--drawer-top-pc.is-open .global-nav__panel {
    transform: translateY(0);
  }

  .global-nav--drawer-top-pc .global-nav__backdrop {
    order: 2;
    flex: 0 0 15%;
    width: 100%;
  }
}

/* Glass overlay variant */
.global-nav--glass {
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

.global-nav--glass.is-open {
  background-color: rgba(234, 229, 219, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
  backdrop-filter: blur(20px) saturate(115%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .global-nav--glass.is-open {
    background-color: rgba(234, 229, 219, 0.9);
  }
}

.global-nav--glass.is-open .global-nav__header {
  background-color: rgba(248, 247, 244, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.global-nav--glass.is-open .global-nav__quick-btn {
  background-color: rgba(255, 255, 255, 0.88);
  border-color: rgba(62, 53, 45, 0.22);
}

.global-nav--glass.is-open .global-nav__cta--primary {
  background-color: rgba(62, 53, 45, 0.94);
}

.global-nav--glass.is-open .global-nav__cta--secondary {
  background-color: rgba(248, 247, 244, 0.86);
  border-color: var(--global-nav-text);
}

/* SP: reorder side column (quick buttons before primary links) */
@media (max-width: 767px) {
  .global-nav__inner {
    padding: 0 0 32px;
  }

  .global-nav--slide .global-nav__inner {
    padding-top: 16px;
  }

  .global-nav__header {
    padding: 14px 20px;
    margin-bottom: 24px;
    background-color: var(--color-bg);
  }

  .global-nav__body,
  .global-nav__footer {
    padding: 0 20px;
  }

  .global-nav__section {
    border-bottom: none;
  }

  .global-nav__section-toggle {
    margin-bottom: 10px;
    border-bottom: 2px solid var(--color-border);
  }

  .global-nav__section.is-open {
    border-bottom: none;
    margin-bottom: 16px;
  }

  .global-nav__section.is-open .global-nav__section-toggle {
    border-bottom: 2px solid var(--color-border);
  }

  .global-nav__section.is-open .global-nav__submenu-list {
    padding-bottom: 8px;
  }

  .global-nav__col--side {
    display: flex;
    flex-direction: column;
  }

  .global-nav__quick {
    order: 1;
    margin-top: 24px;
  }

  .global-nav__primary-list {
    order: 2;
    margin-top: 30px;
  }

  .global-nav__primary-link {
    padding: 8px 0;
  }
}

/* PC layout */
@media (min-width: 768px) {
  .global-nav--slide .global-nav__inner {
    padding-top: 24px;
  }

  .global-nav__inner {
    max-width: none;
    margin: 0;
    padding: 0 0 48px;
  }

  .global-nav__header {
    padding: 24px 40px;
    margin-bottom: 40px;
    background-color: var(--color-bg);
  }

  .global-nav__body {
    box-sizing: border-box;
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 48px;
  }

  .global-nav__footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 48px;
  }

  .global-nav__header-brand {
    padding-right: 0;
  }

  .global-nav__tagline {
    font-size: 12px;
    margin-bottom: 4px;
    letter-spacing: 0.06em;
  }

  .global-nav__logo img {
    height: 30px;
  }

  .global-nav__header-actions {
    gap: 28px;
  }

  .global-nav__setsumeikai img {
    height: 56px;
  }

  .global-nav__close {
    width: 36px;
    height: 36px;
  }

  .global-nav__close-line {
    width: 32px;
  }

  .global-nav__columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    align-items: start;
  }

  .global-nav__col:not(.global-nav__col--side) {
    display: contents;
  }

  .global-nav__col:nth-child(1) .global-nav__section:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .global-nav__col:nth-child(1) .global-nav__section:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .global-nav__col:nth-child(2) .global-nav__section:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
  }

  .global-nav__col:nth-child(2) .global-nav__section:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
  }

  .global-nav__col--side {
    display: flex;
    flex-direction: column;
    grid-column: 3;
    grid-row: 1 / span 2;
    gap: 32px;
  }

  .global-nav__section {
    border-bottom: none;
  }

  .global-nav__section-toggle {
    display: block;
    padding: 0 0 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
    pointer-events: none;
    cursor: default;
  }

  .global-nav__section-title {
    font-size: 16px;
  }

  .global-nav__toggle-icon {
    display: none;
  }

  .global-nav__submenu {
    grid-template-rows: 1fr;
  }

  .global-nav__submenu-list {
    padding-bottom: 0;
  }

  .global-nav__link {
    padding: 7px 0;
    font-size: 14px;
  }

  .global-nav__col--side {
    margin-top: 0;
  }

  .global-nav__primary-list {
    margin-top: 0;
    padding-top: calc(16px * 1.4 + 10px + 14px + 1px);
  }

  .global-nav__primary-link {
    padding: 7px 0;
    font-size: 14px;
  }

  .global-nav__quick {
    margin-top: 8px;
  }

  .global-nav__quick-btn {
    padding: 16px 12px;
    font-size: 16px;
  }

  .global-nav__quick-btn--wide {
    margin-top: 10px;
    padding: 16px 16px;
    font-size: 16px;
  }

  .global-nav__footer {
    margin-top: 48px;
  }

  .global-nav__cta-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
  }

  .global-nav__cta {
    flex: 0 0 420px;
    width: 420px;
    padding: 28px 32px;
    min-height: 96px;
  }

  .global-nav__cta-lead {
    font-size: 12px;
  }

  .global-nav__cta-title {
    font-size: 20px;
  }

  .global-nav__cta-title--single {
    font-size: 18px;
  }

  .global-nav__cta-arrow {
    width: 74px;
  }

  .global-nav__social {
    justify-content: flex-start;
    gap: 32px;
    margin-top: 40px;
  }

  .global-nav__social img {
    width: 32px;
  }

  .global-nav__social li:last-child img {
    width: 23px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-white);
  padding: 40px 24px 36px;
}

.site-footer a:hover {
  opacity: 0.75;
}

/* Top navigation */
.site-footer__nav-top {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: var(--container-max);
  margin: 0 auto 40px;
}

.site-footer__nav-top-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-footer__arrow {
  flex-shrink: 0;
  margin-left: 8px;
}

/* Main content */
.site-footer__main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto 44px;
}

.site-footer__cta {
  order: 1;
  width: 100%;
  margin-bottom: 40px;
}

.site-footer__info {
  order: 2;
  width: 100%;
  margin-bottom: 0;
  container-type: inline-size;
  container-name: footer-info;
}

.site-footer__tagline {
  width: 75%;
  max-width: 75%;
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.site-footer__logo {
  display: block;
  width: 100%;
  margin-bottom: 60px;
  line-height: 0;
}

.site-footer__logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.site-footer__address {
  width: 100%;
  font-family: var(--font-body);
}

.site-footer__address p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.65;
}

.site-footer__address p:last-child {
  margin-bottom: 0;
}

.site-footer__address p:nth-last-child(2) {
  margin-bottom: 2px;
}

.site-footer__address a {
  color: var(--color-white);
}

.site-footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* CTA box */
.site-footer__cta {
  display: block;
  border: 1px solid var(--color-white);
  padding: 24px 20px 22px;
  color: var(--color-white);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-footer__cta:hover {
  opacity: 0.85;
}

.site-footer__cta-lead {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__cta-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.site-footer__cta-title-text {
  display: inline-block;
  line-height: 1.3;
}

.site-footer__cta-title-suffix {
  font-size: 0.72em;
  letter-spacing: 0.04em;
}

.site-footer__cta-title-line {
  display: block;
  width: 85%;
  height: 1px;
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.5);
}

.site-footer__cta-text {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

.site-footer__cta-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
}

.site-footer__cta-arrow {
  flex: 1;
  max-width: 120px;
  height: auto;
}

/* Social icons */
.site-footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  max-width: var(--container-max);
  margin: 0 auto 44px;
}

.site-footer__social a {
  display: block;
  line-height: 0;
}

.site-footer__social img {
  width: 28px;
  height: 28px;
}

.site-footer__social li:last-child img {
  width: 22px;
  height: 22px;
}

/* Footer links */
.site-footer__links {
  max-width: var(--container-max);
  margin: 0 auto 0;
  text-align: left;
}

.site-footer__links-primary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.site-footer__links-primary a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-footer__links-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 24px;
}

.site-footer__links-secondary li:last-child {
  flex: 0 0 100%;
  margin-top: 0;
}

.site-footer__links-secondary a {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
}

/* Copyright */
.site-footer__copyright {
  max-width: var(--container-max);
  margin: 60px auto 0;
  font-family: var(--font-body);
  font-size: 10px;
  text-align: center;
  line-height: 1.8;
  opacity: 0.8;
}

/* ?????????????????????????????? */
@media (max-width: 767.98px) {
  .site-footer__address a:not(.site-footer__map-link):not([href^="mailto:"]),
  .site-footer__copyright a {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
  }
}

/* PC footer */
@media (min-width: 768px) {
  .site-footer {
    padding: 48px 40px 40px;
  }

  .site-footer__nav-top {
    flex-direction: row;
    justify-content: center;
    gap: 120px;
    margin-bottom: 48px;
  }

  .site-footer__nav-top-link {
    justify-content: center;
    gap: 16px;
    padding: 0;
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .site-footer__nav-top-link .site-footer__arrow {
    margin-left: 0;
  }

  .site-footer__main {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 96px;
    margin-bottom: 48px;
  }

  .site-footer__info {
    order: 1;
    flex: 0 1 auto;
    width: auto;
    margin-bottom: 0;
    container-type: normal;
  }

  .site-footer__cta {
    order: 2;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: 440px;
    margin-bottom: 0;
    padding: 28px 40px 26px;
  }

  .site-footer__logo {
    width: auto;
    margin-bottom: 36px;
  }

  .site-footer__logo img {
    width: 400px;
    max-width: 100%;
  }

  .site-footer__tagline {
    width: auto;
    max-width: none;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
  }

  .site-footer__links-secondary li:last-child {
    flex: initial;
    margin-top: 0;
  }

  .site-footer__address {
    width: auto;
  }

  .site-footer__address p {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.65;
  }

  .site-footer__address p:nth-last-child(2) {
    margin-bottom: 2px;
  }

  .site-footer__cta-lead {
    font-size: 15px;
  }

  .site-footer__cta-title {
    margin-bottom: 16px;
    font-size: 26px;
  }

  .site-footer__cta-title-line {
    width: 85%;
    margin-top: 14px;
  }

  .site-footer__cta-text {
    font-size: 15px;
    text-align: left;
  }

  .site-footer__cta-more {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }

  .site-footer__cta-arrow {
    max-width: 90px;
  }

  .site-footer__social {
    gap: 48px;
    margin-bottom: 48px;
  }

  .site-footer__social img {
    width: 44px;
    height: 44px;
  }

  .site-footer__social li:last-child img {
    width: 38px;
    height: 38px;
  }

  .site-footer__links {
    margin-bottom: 32px;
    text-align: center;
  }

  .site-footer__links-primary {
    flex-direction: row;
    justify-content: center;
    gap: 48px;
    margin-bottom: 20px;
  }

  .site-footer__links-primary a {
    font-size: 16px;
  }

  .site-footer__links-secondary {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
  }

  .site-footer__links-secondary a {
    font-size: 13px;
  }

  .site-footer__copyright {
    margin-top: 0;
    font-size: 11px;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .site-header__inner {
    max-width: none;
    padding: 26px 40px;
  }

  .site-header__tagline {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .site-header__logo img {
    height: 32px;
  }

  .site-header__setsumeikai img {
    height: 60px;
  }

  .site-header__menu-btn {
    width: 38px;
    height: 36px;
    gap: 12px;
  }

  .site-footer__logo img {
    width: 420px;
  }

  .site-footer__tagline {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .site-footer__nav-top {
    gap: 140px;
  }

  .site-footer__social {
    gap: 56px;
  }

  .site-footer__social img {
    width: 48px;
    height: 48px;
  }

  .site-footer__social li:last-child img {
    width: 42px;
    height: 42px;
  }

  .site-footer__main {
    gap: 112px;
  }

  .site-footer__cta {
    width: 480px;
    padding: 28px 44px 26px;
  }

  .site-footer__cta-title {
    font-size: 28px;
  }
}

/* ==========================================================================
   Page content (text pages)
   ========================================================================== */

/* Breadcrumb???????????????? */
.breadcrumb {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto 1.5rem;
  padding: 0 20px;
  box-sizing: border-box;
}

.breadcrumb__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb__item {
  margin: 0;
  padding: 0;
}

.breadcrumb__text {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  color: #666666;
  letter-spacing: normal;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
}

.breadcrumb__text a,
.breadcrumb__text span {
  display: inline;
  float: none;
  width: auto;
  max-width: none;
  white-space: normal;
  vertical-align: baseline;
}

.breadcrumb__link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb__link:hover {
  opacity: 0.7;
  text-decoration: none;
}

.breadcrumb__current {
  color: inherit;
}

@media (min-width: 768px) {
  .breadcrumb {
    margin-bottom: 2rem;
    padding: 0 40px;
  }

  .breadcrumb__text {
    font-size: 0.8125rem;
  }
}

@media (min-width: 1024px) {
  .breadcrumb {
    max-width: none;
  }
}

.page-main {
  padding: 12px 0 56px;
}

.page-main__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.page-article h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.page-article h2 {
  margin: 2.5rem 0 1rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.page-article section:first-of-type h2 {
  margin-top: 2rem;
}

.page-article p {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.page-article section > p:last-child {
  margin-bottom: 0;
}

.page-article ul {
  margin: 0 0 1.25rem;
  padding-left: 1.5em;
  list-style: disc;
}

.page-article li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.page-article li:last-child {
  margin-bottom: 0;
}

.page-article a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.page-article a:hover {
  opacity: 0.7;
}

.page-article__signature {
  margin: 2.5rem 0 0;
  text-align: right;
  font-size: 0.9375rem;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .page-main {
    padding: 20px 0 80px;
  }

  .page-main__inner {
    padding: 0 40px;
  }

  .page-article h1 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
  }

  .page-article h2 {
    margin-top: 3rem;
    font-size: 1.25rem;
  }

  .page-article section:first-of-type h2 {
    margin-top: 2.5rem;
  }

  .page-article p,
  .page-article li,
  .page-article__signature {
    font-size: 1rem;
  }
}

/* Legal table (tokushoho etc.) */
.page-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
}

.page-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.page-table th,
.page-table td {
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.page-table th {
  width: 28%;
  font-family: var(--font-heading);
  font-weight: 500;
  background-color: var(--color-bg-subtle);
  letter-spacing: 0.02em;
}

.page-table td {
  background-color: var(--color-white);
}

.page-table td p {
  margin: 0 0 0.75rem;
  font-size: inherit;
  line-height: 1.8;
}

.page-table td p:last-child {
  margin-bottom: 0;
}

.page-table td strong {
  font-weight: 500;
}

/* Mobile: stack th and td vertically */
@media (max-width: 767px) {
  .page-table,
  .page-table tbody,
  .page-table tr,
  .page-table th,
  .page-table td {
    display: block;
    width: 100%;
  }

  .page-table {
    border: none;
  }

  .page-table tr {
    margin-bottom: 0;
    border: 1px solid var(--color-border);
    border-bottom: none;
  }

  .page-table tr:last-child {
    border-bottom: 1px solid var(--color-border);
  }

  .page-table th {
    width: 100%;
    padding: 0.875rem 1rem 0.5rem;
    border-bottom: none;
    background-color: var(--color-bg-subtle);
  }

  .page-table td {
    padding: 0.5rem 1rem 1rem;
    border-top: none;
  }

  .page-table th,
  .page-table td {
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
  }

  .page-table th {
    border-top: 1px solid var(--color-border);
  }
}

@media (min-width: 768px) {
  .page-table-wrap {
    margin-top: 2.5rem;
  }

  .page-table {
    font-size: 1rem;
  }

  .page-table th {
    width: 26%;
    padding: 1.125rem 1.5rem;
  }

  .page-table td {
    padding: 1.125rem 1.5rem;
  }
}

/* News list */
.page-article .news-list {
  margin: 2rem 0 0;
  padding: 0;
  padding-left: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.news-list__status,
.news-list__message {
  margin: 0;
  padding: 1.25rem 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text);
}

.news-list__item {
  border-bottom: 1px solid var(--color-border);
}

.page-article .news-list__link {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 12px 16px;
  align-items: baseline;
  padding: 16px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.page-article .news-list__link:hover {
  opacity: 0.7;
  text-decoration: none;
}

.news-list__date {
  font-size: 0.8125rem;
  line-height: 1.5;
  white-space: nowrap;
}

.news-list__title {
  font-size: 0.9375rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .page-article .news-list {
    margin-top: 2.5rem;
  }

  .page-article .news-list__link {
    grid-template-columns: 7.5rem 1fr;
    gap: 12px 24px;
    padding: 18px 0;
  }

  .news-list__date {
    font-size: 0.875rem;
  }

  .news-list__title {
    font-size: 1rem;
  }

  .news-list__status,
  .news-list__message {
    font-size: 1rem;
  }
}

/* News pagination */
.news-pagination {
  --news-pagination-height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.page-article .news-pagination .news-pagination__numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-article .news-pagination .news-pagination__numbers li {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1;
  list-style: none;
}

.page-article .news-pagination a.news-pagination__prev,
.page-article .news-pagination a.news-pagination__next,
.page-article .news-pagination a.news-pagination__number,
.page-article .news-pagination .news-pagination__current {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: var(--news-pagination-height);
  min-height: var(--news-pagination-height);
  max-height: var(--news-pagination-height);
  min-width: var(--news-pagination-height);
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  vertical-align: top;
  transition: opacity 0.2s;
}

.page-article .news-pagination a.news-pagination__prev,
.page-article .news-pagination a.news-pagination__next {
  padding: 0 16px;
}

.page-article .news-pagination a.news-pagination__prev:hover,
.page-article .news-pagination a.news-pagination__next:hover,
.page-article .news-pagination a.news-pagination__number:hover {
  opacity: 0.7;
  text-decoration: none;
}

.page-article .news-pagination .news-pagination__current {
  border-color: var(--color-text);
}

@media (min-width: 768px) {
  .news-pagination {
    --news-pagination-height: 40px;
    margin-top: 2.5rem;
    gap: 10px;
  }

  .page-article .news-pagination .news-pagination__numbers li {
    font-size: 0.9375rem;
  }

  .page-article .news-pagination a.news-pagination__prev,
  .page-article .news-pagination a.news-pagination__next,
  .page-article .news-pagination a.news-pagination__number,
  .page-article .news-pagination .news-pagination__current {
    font-size: 0.9375rem;
  }
}

/* News detail */
.news-detail__status {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.news-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 1rem;
}

.news-detail__date {
  font-size: 0.8125rem;
  line-height: 1.5;
}

.news-detail__category {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  line-height: 1.5;
}

.news-detail__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.news-detail__body {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.news-detail__body > *:first-child {
  margin-top: 0;
}

.news-detail__body > *:last-child {
  margin-bottom: 0;
}

.news-detail__body p {
  margin: 0 0 1.25rem;
}

.news-detail__body h2,
.news-detail__body h3,
.news-detail__body h4 {
  margin: 2rem 0 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.news-detail__body h3 {
  font-size: 1.0625rem;
}

.news-detail__body ul,
.news-detail__body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5em;
}

.news-detail__body ul {
  list-style: disc;
}

.news-detail__body ol {
  list-style: decimal;
}

.news-detail__body li {
  margin-bottom: 0.5rem;
}

.news-detail__body figure {
  margin: 1.25rem 0;
}

.news-detail__body img {
  max-width: 100%;
  height: auto;
}

.news-detail__body a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.news-detail__body a:hover {
  opacity: 0.7;
}

.news-detail__back {
  margin: 0;
  padding-top: 4rem;
  text-align: center;
}

.page-article .news-detail__back-link {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--color-border);
  font-size: 0.8rem;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.2s;
}

.page-article .news-detail__back-link:hover {
  opacity: 0.7;
  text-decoration: none;
}

@media (min-width: 768px) {
  .news-detail__date {
    font-size: 0.875rem;
  }

  .news-detail__category {
    font-size: 0.8125rem;
  }

  .news-detail__title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
  }

  .news-detail__body {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    font-size: 1rem;
  }

  .news-detail__body h3 {
    font-size: 1.125rem;
  }

  .news-detail__status {
    font-size: 1rem;
  }

  .news-detail__back {
    padding-top: 5rem;
  }

  .page-article .news-detail__back-link {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Graduate Interview
   ========================================================================== */

.page-main--graduate-interview {
  padding: 0 0 56px;
}

.graduate-hero {
  position: relative;
  background-image: url("/images/graduate_head.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-white);
}

.graduate-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.graduate-hero > * {
  position: relative;
  z-index: 1;
}

.breadcrumb--hero {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 20px 0;
}

.breadcrumb--hero .breadcrumb__text,
.breadcrumb--hero .breadcrumb__link,
.breadcrumb--hero .breadcrumb__current {
  color: var(--color-white);
  font-family: var(--font-heading);
}

.breadcrumb--hero .breadcrumb__link:hover {
  opacity: 0.75;
}

.graduate-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.graduate-hero__title {
  margin: 0 0 34px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.graduate-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.graduate-hero__title-text {
  display: block;
}

.graduate-hero__title-main,
.graduate-hero__title-sub {
  display: block;
}

.graduate-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.graduate-hero__title-main {
  margin-bottom: 0.35em;
  font-size: clamp(0.8125rem, 2.5vw + 0.625rem, 1.5rem);
  white-space: nowrap;
}

.graduate-hero__title-sub {
  font-size: 1rem;
}

@media (max-width: 390px) {
  .graduate-hero__title-group {
    gap: 10px;
  }

  .graduate-hero__title-sub {
    font-size: 0.875rem;
  }

  .graduate-hero__text {
    font-size: 0.75rem;
  }
}

@media (max-width: 320px) {
  .graduate-hero__title-sub {
    font-size: 0.8125rem;
  }

  .graduate-hero__text {
    font-size: 0.75rem;
  }
}

.graduate-hero__body {
  max-width: 640px;
}

.graduate-hero__lead {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.graduate-hero__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.graduate-list {
  padding: 40px 0 0;
}

.graduate-list__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.graduate-list__status {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: center;
}

.graduate-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.graduate-card {
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.graduate-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.graduate-card__link:hover {
  opacity: 0.75;
}

.graduate-card__thumb {
  aspect-ratio: 520 / 245;
  overflow: hidden;
  line-height: 0;
}

.graduate-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.graduate-card__body {
  padding: 20px 18px 22px;
}

.graduate-card__catchphrase {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.graduate-card__name {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.graduate-card__meta {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #666666;
}

.graduate-list__more {
  margin-top: 40px;
}

.graduate-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  width: auto;
  max-width: 280px;
  margin: 0 auto;
  padding: 12px 48px 10px;
  border: 2px solid var(--color-border);
  border-radius: 0;
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.graduate-more-btn:hover {
  opacity: 0.7;
}

.graduate-more-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.graduate-more-btn__bar {
  display: none;
}

.graduate-more-btn__icon {
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transform: rotate(45deg);
}

@media (min-width: 768px) {
  .page-main--graduate-interview {
    padding: 0 0 80px;
  }

  .breadcrumb--hero {
    padding: 16px 40px 0;
  }

  .graduate-hero__inner {
    padding: 48px 40px 72px;
  }

  .graduate-hero__title {
    margin-bottom: 42px;
  }

  .graduate-hero__title-group {
    gap: 20px;
  }

  .graduate-hero__title-main {
    font-size: 2rem;
  }

  .graduate-hero__title-sub {
    font-size: 1.25rem;
  }

  .graduate-hero__lead {
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .graduate-hero__text {
    font-size: 0.875rem;
    line-height: 2;
  }

  .graduate-list {
    padding-top: 56px;
  }

  .graduate-list__inner {
    padding: 0 40px;
  }

  .graduate-card-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
  }

  .graduate-card-list__item {
    display: flex;
  }

  .graduate-card {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .graduate-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
  }

  .graduate-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 22px 26px;
  }

  .graduate-card__catchphrase {
    flex: 1;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .graduate-card__name,
  .graduate-card__meta {
    font-size: 0.875rem;
  }

  .graduate-card__meta {
    min-height: 1.5em;
  }

  .graduate-hero__title-line {
    width: 120px;
  }

  .graduate-list__more {
    margin-top: 48px;
  }
}

@media (min-width: 1024px) {
  .graduate-hero__title-main {
    font-size: 2.25rem;
  }

  .graduate-hero__title-sub {
    font-size: 1.375rem;
  }

  .graduate-hero__lead {
    font-size: 1.625rem;
  }
}

/* ==========================================================================
   Graduate Interview Detail
   ========================================================================== */

.page-main--graduate-detail {
  padding: 0 0 56px;
}

.graduate-detail__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.graduate-detail__inner > .breadcrumb {
  margin: 0 0 1.5rem;
  padding: 12px 0 0;
  max-width: none;
}

.graduate-detail__heading {
  margin: 24px 0 32px;
}

.graduate-detail__page-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.graduate-detail__page-title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.graduate-detail__page-title-text {
  display: block;
}

.graduate-detail__page-title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.graduate-detail__page-title-main,
.graduate-detail__page-title-sub {
  display: block;
}

.graduate-detail__page-title-main {
  margin-bottom: 0.35em;
  font-size: clamp(0.8125rem, 2.5vw + 0.625rem, 1.5rem);
  white-space: nowrap;
}

.graduate-detail__page-title-sub {
  font-size: 1rem;
}

@media (max-width: 390px) {
  .graduate-detail__page-title-group {
    gap: 10px;
  }

  .graduate-detail__page-title-sub {
    font-size: 0.875rem;
  }
}

@media (max-width: 320px) {
  .graduate-detail__page-title-sub {
    font-size: 0.8125rem;
  }
}

.graduate-detail__status {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: center;
}

.graduate-detail__hero {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.graduate-detail__intro,
.graduate-detail__accordion,
.graduate-detail__actions {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.graduate-detail__intro {
  margin-bottom: 32px;
}

.graduate-detail__thumb {
  line-height: 0;
}

.graduate-detail__thumb img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.graduate-detail__profile {
  position: relative;
  z-index: 1;
  margin-top: -24px;
  padding: 24px 20px 28px;
  background-color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.graduate-detail__catchphrase {
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.graduate-detail__meta {
  margin: 0;
}

.graduate-detail__meta-name {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.graduate-detail__meta-item {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.graduate-detail__meta-item:last-child {
  margin-bottom: 0;
}

.graduate-detail__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.graduate-detail__summary {
  padding: 24px 20px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.graduate-detail__summary > *:first-child {
  margin-top: 0;
}

.graduate-detail__summary > *:last-child {
  margin-bottom: 0;
}

.graduate-detail__accordion {
  margin-bottom: 40px;
}

.graduate-detail__read-btn,
.graduate-detail__close-btn:not([hidden]) {
  width: min(100%, 260px);
  box-sizing: border-box;
}

.graduate-detail__read-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  padding: 14px 32px 12px;
  border: 2px solid var(--color-border);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.graduate-detail__read-btn-text {
  white-space: nowrap;
}

.graduate-detail__read-btn:hover {
  opacity: 0.7;
}

.graduate-detail__read-btn-icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transform: rotate(45deg);
  transition: transform 0.35s ease;
}

.graduate-detail__read-btn.is-open .graduate-detail__read-btn-icon {
  transform: rotate(225deg);
}

.graduate-detail__close-btn[hidden] {
  display: none;
}

.graduate-detail__close-btn:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 32px auto 0;
  padding: 14px 32px 12px;
  border: 2px solid var(--color-border);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.graduate-detail__close-btn:hover {
  opacity: 0.7;
}

.graduate-detail__close-btn-icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transform: rotate(-135deg);
}

.graduate-detail__full {
  display: grid;
  grid-template-rows: 0fr;
}

.graduate-detail__full.is-open {
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s ease;
}

.graduate-detail__full.is-open .graduate-detail__full-inner {
  overflow: visible;
}

.graduate-detail__full-inner {
  overflow: hidden;
}

.graduate-detail__content,
.graduate-detail__postscript {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.graduate-detail__content {
  padding-top: 32px;
}

.graduate-detail__content > *:first-child,
.graduate-detail__postscript > *:first-child {
  margin-top: 0;
}

.graduate-detail__content > *:last-child,
.graduate-detail__postscript > *:last-child {
  margin-bottom: 0;
}

.graduate-detail__content h2,
.graduate-detail__content h3,
.graduate-detail__content h4 {
  margin: 2rem 0 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.graduate-detail__content h2:has(.bg-white-heading),
.graduate-detail__content h3:has(.bg-white-heading),
.graduate-detail__content h4:has(.bg-white-heading) {
  margin: 48px 0;
}

.graduate-detail__content h2:has(.bg-white-heading) > strong,
.graduate-detail__content h3:has(.bg-white-heading) > strong,
.graduate-detail__content h4:has(.bg-white-heading) > strong {
  display: block;
  font-weight: inherit;
}

.graduate-detail__content .bg-white-heading {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 22px 22px;
  background-color: #ffffff;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.2rem !important;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: left;
}

.graduate-detail__content h2.bg-white-heading,
.graduate-detail__content h3.bg-white-heading,
.graduate-detail__content h4.bg-white-heading {
  margin: 48px 0;
  padding: 32px 28px;
  background-color: #ffffff;
  font-weight: 700;
  line-height: 1.7;
}

.graduate-detail__content p {
  margin: 0 0 1.25rem;
}

.graduate-detail__content figure {
  margin: 1.5rem 0;
  max-width: 100%;
}

.graduate-detail__content figcaption {
  margin: 0.5rem 0 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #666666;
  text-align: left;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.graduate-detail__content img {
  max-width: 100%;
  height: auto;
}

.graduate-detail__postscript {
  margin-top: 2.5rem;
  padding: 24px 20px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  font-family: var(--font-body);
}

.graduate-detail__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
}

.graduate-detail__back {
  margin: 0;
  width: min(100%, 260px);
  text-align: center;
}

.graduate-detail__back-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 32px;
  box-sizing: border-box;
  border: 2px solid var(--color-border);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  transition: opacity 0.2s;
}

.graduate-detail__back-label,
.graduate-detail__back-sublabel {
  display: block;
}

.graduate-detail__back-link:hover {
  opacity: 0.7;
}

.graduate-detail__back-arrow {
  flex-shrink: 0;
  width: 56px;
  height: auto;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .graduate-detail__hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .graduate-detail__thumb img {
    display: block;
    width: 100%;
  }

  .graduate-detail__profile {
    margin-top: 0;
    box-shadow: none;
    background-color: var(--color-white);
    padding-left: 20px;
    padding-right: 20px;
  }

  .graduate-detail__content figcaption {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .page-main--graduate-detail {
    padding: 0 0 80px;
  }

  .graduate-detail__inner {
    padding: 0 40px;
  }

  .graduate-detail__inner > .breadcrumb {
    margin-bottom: 2rem;
    padding-top: 16px;
  }

  .graduate-detail__heading {
    margin: 32px 0 48px;
  }

  .graduate-detail__page-title-group {
    gap: 20px;
  }

  .graduate-detail__page-title-line {
    width: 120px;
  }

  .graduate-detail__page-title-main {
    font-size: 2rem;
  }

  .graduate-detail__page-title-sub {
    font-size: 1.25rem;
  }

  .graduate-detail__hero {
    display: grid;
    grid-template-columns: 58% 42%;
    grid-template-rows: auto auto;
    margin-bottom: 56px;
  }

  .graduate-detail__thumb {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .graduate-detail__profile {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    align-self: start;
    width: 46%;
    margin-top: calc(58% * 520 / 780 * 0.26);
    margin-left: 50%;
    margin-bottom: 0;
    padding: 32px 36px 36px;
  }

  .graduate-detail__catchphrase {
    margin-bottom: 24px;
    padding-bottom: 24px;
    font-size: 1.375rem;
    line-height: 1.75;
  }

  .graduate-detail__meta-name {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .graduate-detail__meta-item {
    margin-bottom: 10px;
    font-size: 0.875rem;
  }

  .graduate-detail__intro {
    margin-bottom: 40px;
  }

  .graduate-detail__title {
    margin-bottom: 28px;
    font-size: 1.2rem;
  }

  .graduate-detail__summary {
    padding: 32px 40px;
    font-size: 1rem;
  }

  .graduate-detail__postscript {
    padding: 32px 40px;
  }

  .graduate-detail__read-btn,
  .graduate-detail__close-btn:not([hidden]) {
    width: min(100%, 360px);
  }

  .graduate-detail__back {
    width: min(100%, 360px);
  }

  .graduate-detail__read-btn {
    padding: 16px 40px 14px;
    font-size: 0.8rem;
  }

  .graduate-detail__close-btn:not([hidden]) {
    margin-top: 40px;
    padding: 16px 40px 14px;
    font-size: 0.8rem;
  }

  .graduate-detail__back-link {
    padding: 16px 40px;
    font-size: 0.8rem;
  }

  .graduate-detail__actions {
    margin-top: 40px;
  }

  .graduate-detail__content {
    padding-top: 40px;
  }

  .graduate-detail__content p,
  .graduate-detail__content ul,
  .graduate-detail__content ol,
  .graduate-detail__content blockquote {
    padding-left: 32px;
    padding-right: 32px;
  }

  .graduate-detail__content,
  .graduate-detail__postscript {
    font-size: 1rem;
  }

  .graduate-detail__content h2 {
    font-size: 1.2rem;
  }

  .graduate-detail__content h3 {
    font-size: 1.0625rem;
  }

  .graduate-detail__content h2:has(.bg-white-heading),
  .graduate-detail__content h3:has(.bg-white-heading),
  .graduate-detail__content h4:has(.bg-white-heading) {
    margin: 64px 0;
  }

  .graduate-detail__content .bg-white-heading {
    padding: 40px 48px;
    font-size: 1.2rem;
    line-height: 1.75;
  }

  .graduate-detail__content h2.bg-white-heading,
  .graduate-detail__content h3.bg-white-heading,
  .graduate-detail__content h4.bg-white-heading {
    margin: 64px 0;
    padding: 40px 48px;
    line-height: 1.75;
  }

  .graduate-detail__back-arrow {
    width: 74px;
  }
}

@media (min-width: 1024px) {
  .graduate-detail__page-title-main {
    font-size: 2.25rem;
  }

  .graduate-detail__page-title-sub {
    font-size: 1.375rem;
  }

  .graduate-detail__hero {
    grid-template-columns: 56% 44%;
  }

  .graduate-detail__thumb {
    grid-column: 1;
    width: 100%;
  }

  .graduate-detail__profile {
    width: 44%;
    margin-top: calc(56% * 520 / 780 * 0.26);
    margin-left: 50%;
    padding: 36px 40px 40px;
  }
}

/* ==========================================================================
   Blog index
   ========================================================================== */

.page-main--blog {
  padding: 0 0 56px;
}

.blog-hero {
  position: relative;
  background-image: url("/images/blog_head.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-white);
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.blog-hero > * {
  position: relative;
  z-index: 1;
}

.blog-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.blog-hero__title {
  margin: 0 0 34px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.blog-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.blog-hero__title-text {
  display: block;
}

.blog-hero__title-main,
.blog-hero__title-sub {
  display: block;
}

.blog-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.blog-hero__title-main {
  margin-bottom: 0.35em;
  font-size: clamp(0.8125rem, 2.5vw + 0.625rem, 1.5rem);
  white-space: nowrap;
}

.blog-hero__title-sub {
  font-size: 1rem;
}

.blog-hero__body {
  max-width: 640px;
}

.blog-hero__lead {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.blog-hero__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.page-main--blog,
.page-main--blog-detail {
  --blog-dot-color: #B8B4AB;
  --blog-dot-spacing: 6px;
}

.blog-list {
  padding: 40px 0 0;
}

.blog-list__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.blog-list__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-list__main {
  min-width: 0;
}

.blog-list__heading {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.blog-list__status {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: center;
}

.blog-list__status--empty {
  padding: 8px 0 0;
}

.blog-list__status-text {
  margin: 0;
}

.blog-list__back {
  margin: 48px 0 0;
  text-align: center;
}

.blog-list__back--below-list {
  margin-top: 48px;
}

.blog-list__back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 14px 32px;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-list__back-link:hover {
  opacity: 0.7;
}

.blog-list__back-arrow {
  flex-shrink: 0;
  width: 74px;
  height: auto;
}

.blog-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-card-list__item {
  border: none;
}

.blog-card-list__item + .blog-card-list__item::before {
  content: "";
  display: block;
  height: 2px;
  background-image: radial-gradient(circle, var(--blog-dot-color) 2px, transparent 2px);
  background-size: var(--blog-dot-spacing) 1px;
  background-repeat: repeat-x;
  background-position: left center;
}

.blog-card-list::after {
  content: "";
  display: block;
  height: 2px;
  background-image: radial-gradient(circle, var(--blog-dot-color) 2px, transparent 2px);
  background-size: var(--blog-dot-spacing) 1px;
  background-repeat: repeat-x;
  background-position: left center;
}

.blog-card {
  padding: 24px 0;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-card__link:hover {
  opacity: 0.75;
}

.blog-card__thumb {
  overflow: hidden;
  line-height: 0;
}

.blog-card__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 320;
  object-fit: cover;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.blog-card__date {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #666666;
}

.blog-card__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.blog-card__desc {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.blog-card__more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.blog-card__more-arrow {
  flex-shrink: 0;
  width: 50px;
  height: auto;
}

.blog-pagination {
  --blog-pagination-size: 36px;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.blog-pagination__numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-pagination__numbers li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-pagination__number,
.blog-pagination__current {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--blog-pagination-size);
  height: var(--blog-pagination-size);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-pagination__number {
  color: var(--color-text);
}

.blog-pagination__number:hover {
  opacity: 0.7;
}

.blog-pagination__current {
  background-color: var(--color-footer-bg);
  color: var(--color-white);
}

.blog-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--blog-pagination-size);
  height: var(--blog-pagination-size);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.2em;
  color: var(--color-text);
}

.blog-sidebar {
  flex-shrink: 0;
}

.blog-sidebar__box {
  padding: 24px 20px;
  border-radius: 14px;
  background-color: var(--color-white);
}

.blog-sidebar__box + .blog-sidebar__box {
  margin-top: 24px;
}

.blog-sidebar__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.blog-sidebar__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

.blog-sidebar__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.blog-sidebar__item {
  border: none;
}

.blog-sidebar__item + .blog-sidebar__item::before {
  content: "";
  display: block;
  height: 4px;
  background-image: radial-gradient(circle, var(--blog-dot-color) 2px, transparent 2px);
  background-size: var(--blog-dot-spacing) 1px;
  background-repeat: repeat-x;
  background-position: left center;
}

.blog-sidebar__item:last-child {
  border-bottom: none;
}

.blog-sidebar__link {
  display: block;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-sidebar__link:hover {
  opacity: 0.7;
}

.blog-sidebar__expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 8px 0 0;
  padding: 6px 0;
  border: none;
  background: transparent;
  line-height: 1;
  cursor: pointer;
}

.blog-sidebar__expand[hidden] {
  display: none;
}

.blog-sidebar__expand-icon {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #666666;
  border-bottom: 1.5px solid #666666;
  transform: rotate(45deg);
}

@media (max-width: 390px) {
  .blog-hero__title-group {
    gap: 10px;
  }

  .blog-hero__title-sub {
    font-size: 0.875rem;
  }

  .blog-hero__text {
    font-size: 0.75rem;
  }
}

@media (max-width: 320px) {
  .blog-hero__title-sub {
    font-size: 0.8125rem;
  }

  .blog-hero__text {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .page-main--blog {
    padding: 0 0 80px;
  }

  .blog-hero__inner {
    padding: 48px 40px 72px;
  }

  .blog-hero__title {
    margin-bottom: 42px;
  }

  .blog-hero__title-group {
    gap: 20px;
  }

  .blog-hero__title-main {
    font-size: 2rem;
  }

  .blog-hero__title-sub {
    font-size: 1.25rem;
  }

  .blog-hero__lead {
    font-size: 1.125rem;
    margin-bottom: 20px;
  }

  .blog-hero__text {
    font-size: 0.9375rem;
  }

  .blog-hero__title-line {
    width: 120px;
  }

  .blog-list {
    padding: 56px 0 0;
  }

  .blog-list__inner {
    padding: 0 40px;
  }

  .blog-list__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .blog-list__main {
    flex: 1;
  }

  .blog-sidebar {
    width: 280px;
  }

  .blog-sidebar__box {
    padding: 28px 24px;
  }

  .blog-list__heading {
    margin-bottom: 32px;
    font-size: 1.25rem;
  }

  .blog-card {
    padding: 32px 0;
  }

  .blog-card__link {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .blog-card__thumb {
    flex: 0 0 42%;
    max-width: 420px;
  }

  .blog-card__date {
    margin-bottom: 10px;
    font-size: 0.875rem;
  }

  .blog-card__title {
    margin-bottom: 16px;
    font-size: 1.125rem;
  }

  .blog-card__desc {
    margin-bottom: 20px;
    font-size: 0.9375rem;
  }

  .blog-pagination {
    margin-top: 48px;
  }

  .blog-pagination__number,
  .blog-pagination__current,
  .blog-pagination__ellipsis {
    font-size: 0.9375rem;
  }
}

/* ==========================================================================
   Blog detail
   ========================================================================== */

.page-main--blog-detail {
  padding: 0 0 56px;
}

.blog-detail__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.blog-detail__inner > .breadcrumb {
  margin: 0 0 1.5rem;
  padding: 12px 0 0;
  max-width: none;
}

.blog-detail__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-detail__main {
  min-width: 0;
}

.blog-detail__status {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: center;
}

.blog-detail__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.blog-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 24px;
}

.blog-detail__date {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #666666;
}

.blog-detail__category {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.blog-detail__thumb {
  margin: 0 0 28px;
  line-height: 0;
}

.blog-detail__thumb img {
  width: 100%;
  height: auto;
}

.blog-detail__body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.blog-detail__body > *:first-child {
  margin-top: 0;
}

.blog-detail__body > *:last-child {
  margin-bottom: 0;
}

.blog-detail__body p {
  margin: 0 0 1.25rem;
}

.blog-detail__body h2,
.blog-detail__body h3,
.blog-detail__body h4 {
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.blog-detail__body h2 {
  font-size: 1.0625rem;
}

.blog-detail__body ul,
.blog-detail__body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5em;
}

.blog-detail__body ul {
  list-style: disc;
}

.blog-detail__body ol {
  list-style: decimal;
}

.blog-detail__body li {
  margin-bottom: 0.5rem;
}

.blog-detail__body figure {
  margin: 1.5rem 0;
}

.blog-detail__body img {
  max-width: 100%;
  height: auto;
}

.blog-detail__body figcaption {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #666666;
}

.blog-detail__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-detail__body a:hover {
  opacity: 0.7;
}

.blog-detail__body strong {
  font-weight: 700;
}

.blog-detail__body .text-accent,
.blog-detail__body span[style*="993038"] {
  color: var(--color-accent);
}

.blog-detail__back {
  margin: 48px 0 0;
  text-align: center;
}

.blog-detail__back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 14px 32px;
  box-sizing: border-box;
  border: 2px solid var(--color-border);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-detail__back-link:hover {
  opacity: 0.7;
}

.blog-detail__back-arrow {
  flex-shrink: 0;
  width: 50px;
  height: auto;
}

@media (min-width: 768px) {
  .page-main--blog-detail {
    padding: 0 0 80px;
  }

  .blog-detail__inner {
    max-width: 1200px;
    padding: 0 40px;
  }

  .blog-detail__inner > .breadcrumb {
    padding-top: 16px;
    margin-bottom: 2rem;
  }

  .blog-detail__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .blog-detail__main {
    flex: 1;
  }

  .blog-detail__title {
    margin-bottom: 16px;
    font-size: 1.5rem;
  }

  .blog-detail__meta {
    margin-bottom: 32px;
  }

  .blog-detail__date {
    font-size: 0.875rem;
  }

  .blog-detail__thumb {
    margin-bottom: 36px;
  }

  .blog-detail__body {
    font-size: 1rem;
  }

  .blog-detail__body h2 {
    font-size: 1.125rem;
  }

  .blog-detail__back {
    margin-top: 56px;
  }
}

/* ==========================================================================
   Teacher
   ========================================================================== */

.page-main--teacher {
  padding: 0 0 56px;
}

.teacher-hero {
  position: relative;
  background-image: url("/images/teacher_head.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-white);
}

.teacher-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.teacher-hero > * {
  position: relative;
  z-index: 1;
}

.teacher-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.teacher-hero__title {
  margin: 0 0 34px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.teacher-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.teacher-hero__title-text {
  display: block;
}

.teacher-hero__title-main,
.teacher-hero__title-sub {
  display: block;
}

.teacher-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.teacher-hero__title-main {
  margin-bottom: 0.35em;
  font-size: clamp(0.8125rem, 2.5vw + 0.625rem, 1.5rem);
  white-space: nowrap;
}

.teacher-hero__title-sub {
  font-size: 1rem;
}

.teacher-hero__body {
  max-width: 640px;
}

.teacher-hero__lead {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.teacher-hero__lead-br {
  display: none;
}

.teacher-hero__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.teacher-list {
  padding: 40px 0 0;
}

.teacher-list__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.teacher-list__status {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: center;
}

.teacher-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-card {
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.teacher-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.teacher-card__link:hover {
  opacity: 0.75;
}

.teacher-card__inner {
  display: flex;
  align-items: stretch;
  min-height: 120px;
}

.teacher-card__thumb {
  flex-shrink: 0;
  width: 120px;
  line-height: 0;
  overflow: hidden;
}

.teacher-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  font-size: 1rem;
}

.teacher-card__position {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.teacher-card__name {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.teacher-card__office {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .teacher-hero__lead-br {
    display: block;
  }
}

@media (max-width: 390px) {
  .teacher-hero__title-group {
    gap: 10px;
  }

  .teacher-hero__title-sub {
    font-size: 0.875rem;
  }

  .teacher-hero__text {
    font-size: 0.75rem;
  }
}

@media (max-width: 320px) {
  .teacher-hero__title-sub {
    font-size: 0.8125rem;
  }

  .teacher-hero__text {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .page-main--teacher {
    padding: 0 0 80px;
  }

  .teacher-hero__inner {
    padding: 48px 40px 72px;
  }

  .teacher-hero__title {
    margin-bottom: 42px;
  }

  .teacher-hero__title-group {
    gap: 20px;
  }

  .teacher-hero__title-main {
    font-size: 2rem;
  }

  .teacher-hero__title-sub {
    font-size: 1.25rem;
  }

  .teacher-hero__lead {
    font-size: 1.125rem;
    margin-bottom: 20px;
  }

  .teacher-hero__text {
    font-size: 0.9375rem;
  }

  .teacher-hero__title-line {
    width: 120px;
  }

  .teacher-list {
    padding: 56px 0 0;
  }

  .teacher-list__inner {
    padding: 0 40px;
  }

  .teacher-card-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .teacher-card__inner {
    min-height: 140px;
  }

  .teacher-card__thumb {
    width: 140px;
  }

  .teacher-card__body {
    padding: 18px 20px;
  }
}

/* ==========================================================================
   Teacher Detail
   ========================================================================== */

.page-main--teacher-detail {
  padding: 0 0 56px;
}

.teacher-detail__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.teacher-detail__inner > .breadcrumb {
  margin: 0 0 1.5rem;
  padding: 12px 0 0;
  max-width: none;
}

.teacher-detail__status {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: center;
}

.teacher-detail__hero,
.teacher-detail__identity,
.teacher-detail__profile,
.teacher-detail__qa,
.teacher-detail__note,
.teacher-detail__actions {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.teacher-detail__hero {
  margin-bottom: 28px;
}

.teacher-detail__thumb {
  line-height: 0;
}

.teacher-detail__thumb img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.teacher-detail__catchphrase-box {
  background-color: var(--color-white);
  padding: 24px 20px;
}

.teacher-detail__catchphrase {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.teacher-detail__identity {
  margin-bottom: 32px;
}

.teacher-detail__position {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.teacher-detail__name {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.1875em;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.teacher-detail__office {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.teacher-detail__office-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: opacity 0.2s;
}

.teacher-detail__office-link:hover {
  opacity: 0.7;
}

.teacher-detail__sns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* ????????????????????1/2?????????????????? */
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.teacher-detail__sns-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-detail__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* ????16px + ?????????8px */
  width: 32px;
  height: 32px;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s;
}

.teacher-detail__sns-link:hover {
  opacity: 0.75;
}

.teacher-detail__sns-icon {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.teacher-detail__sns-label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.teacher-detail__profile {
  margin-bottom: 64px;
}

.teacher-detail__profile-body {
  font-family: var(--font-body);
  font-size: 0.8em;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.teacher-detail__note-body {
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.teacher-detail__profile-body > *:first-child,
.teacher-detail__note-body > *:first-child {
  margin-top: 0;
}

.teacher-detail__profile-body > *:last-child,
.teacher-detail__note-body > *:last-child {
  margin-bottom: 0;
}

.teacher-detail__profile-body h2,
.teacher-detail__profile-body h3,
.teacher-detail__profile-body h4,
.teacher-detail__profile-body p,
.teacher-detail__profile-body ul,
.teacher-detail__profile-body ol {
  margin: 0 0 1rem;
}

.teacher-detail__profile-body ul,
.teacher-detail__profile-body ol {
  padding-left: 1.25em;
}

.teacher-detail__profile-body li {
  margin-bottom: 0.35em;
}

.teacher-detail__profile-body h2,
.teacher-detail__profile-body h3,
.teacher-detail__profile-body h4 {
  font-family: var(--font-body);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.6;
}

.teacher-detail__qa {
  margin-bottom: 40px;
}

.teacher-detail__qa-item + .teacher-detail__qa-item {
  margin-top: 56px;
}

.teacher-detail__question {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 1.1875em;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.teacher-detail__answer {
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.teacher-detail__answer > *:first-child {
  margin-top: 0;
}

.teacher-detail__answer > *:last-child {
  margin-bottom: 0;
}

.teacher-detail__answer p {
  margin: 0 0 1rem;
}

.teacher-detail__answer strong,
.teacher-detail__answer b,
.teacher-detail__answer em,
.teacher-detail__answer span[style*="color"] {
  color: var(--color-accent);
  font-weight: 700;
}

.teacher-detail__note {
  margin-bottom: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.teacher-detail__note-body {
  color: #666666;
}

.teacher-detail__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
}

.teacher-detail__back {
  margin: 0;
  width: min(100%, 260px);
  text-align: center;
}

.teacher-detail__back-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 32px;
  box-sizing: border-box;
  border: 2px solid var(--color-border);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  transition: opacity 0.2s;
}

.teacher-detail__back-link:hover {
  opacity: 0.7;
}

.teacher-detail__back-label {
  display: block;
}

.teacher-detail__back-arrow {
  flex-shrink: 0;
  width: 56px;
  height: auto;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .teacher-detail__hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .teacher-detail__catchphrase-box {
    box-shadow: none;
  }

  .teacher-detail__identity,
  .teacher-detail__profile,
  .teacher-detail__qa,
  .teacher-detail__note,
  .teacher-detail__actions {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 768px) {
  .page-main--teacher-detail {
    padding: 0 0 80px;
  }

  .teacher-detail__inner {
    padding: 0 40px;
  }

  .teacher-detail__inner > .breadcrumb {
    margin-bottom: 2rem;
    padding-top: 16px;
  }

  .teacher-detail__hero {
    margin-bottom: 36px;
  }

  .teacher-detail__catchphrase-box {
    margin-top: 28px;
    padding: 32px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .teacher-detail__identity {
    margin-bottom: 40px;
  }

  .teacher-detail__position {
    margin-bottom: 10px;
  }

  .teacher-detail__name {
    margin-bottom: 10px;
  }
}

/* ==========================================================================
   Calendar test (Jicoo)
   ========================================================================== */

.calendar-test__widget .jicoo-widget {
  min-width: 320px;
  border: 1px solid #e4e4e4;
  box-sizing: border-box;
  overflow: hidden;
}

.calendar-test__widget .jicoo-widget iframe {
  display: block;
  width: 100%;
  border: 0;
  vertical-align: bottom;
}

.calendar-test__heading {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.calendar-test__widget:first-of-type {
  margin-top: 2rem;
}

.calendar-test__widget + .calendar-test__widget {
  margin-top: 48px;
}

@media (min-width: 768px) {
  .calendar-test__widget + .calendar-test__widget {
    margin-top: 64px;
  }
}

/* ==========================================================================
   Form test (Form Mailer)
   ========================================================================== */

.form-test__embed {
  margin-top: 2rem;
}

/* ==========================================================================
   Calendar test (Select Type)
   ========================================================================== */

.calendar-test-st__embed {
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

.calendar-test-st__embed:last-child {
  margin-bottom: 0;
}

.calendar-test-st__embed iframe {
  display: block;
  max-width: 100%;
  border: 0;
  vertical-align: bottom;
}

/* ==========================================================================
   About Reason (???????)
   ========================================================================== */

.page-main--aboutreason {
  padding: 0 0 56px;
}

.aboutreason-hero {
  position: relative;
  color: var(--color-white);
  background-image: url("/images/reason_header.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.aboutreason-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.aboutreason-hero > * {
  position: relative;
  z-index: 1;
}

.aboutreason-hero__bg {
  display: none;
}

.aboutreason-hero:has(.aboutreason-hero__bg) {
  display: grid;
  background-image: none;
}

.aboutreason-hero:has(.aboutreason-hero__bg) > * {
  position: static;
  z-index: auto;
}

.aboutreason-hero:has(.aboutreason-hero__bg) .aboutreason-hero__bg {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  align-self: start;
  z-index: 0;
}

.aboutreason-hero:has(.aboutreason-hero__bg)::before {
  position: static;
  inset: auto;
  grid-area: 1 / 1;
  z-index: 1;
}

.aboutreason-hero:has(.aboutreason-hero__bg) > .aboutreason-hero__foreground {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.aboutreason-hero__foreground > .breadcrumb--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.aboutreason-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px;
  width: 100%;
  box-sizing: border-box;
}

.aboutreason-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.aboutreason-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.aboutreason-hero__title-text {
  display: block;
}

.aboutreason-hero__title-main,
.aboutreason-hero__title-sub {
  display: block;
}

.aboutreason-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.aboutreason-hero__title-main {
  margin-bottom: 0.35em;
  font-size: clamp(0.8125rem, 2.5vw + 0.625rem, 1.5rem);
  white-space: nowrap;
}

.aboutreason-hero__title-sub {
  font-size: 1rem;
}

.aboutreason-content {
  padding: 48px 20px 0;
}

.aboutreason-block {
  max-width: 920px;
  margin: 0 auto;
}

.aboutreason-block + .aboutreason-block,
.aboutreason-block + .aboutreason-figure,
.aboutreason-figure + .aboutreason-block {
  margin-top: 48px;
}

.aboutreason-block__heading {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-align: left;
}

.aboutreason-block__title-br {
  display: none;
}

.aboutreason-block__body {
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.aboutreason-block__body p {
  margin: 0 0 1.25rem;
}

.aboutreason-block__body p:last-child {
  margin-bottom: 0;
}

.aboutreason-block__body--verse p {
  line-height: 2;
}

.aboutreason-figure {
  max-width: 630px;
  margin: 48px auto 0;
  padding: 0;
  line-height: 0;
}

.aboutreason-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.aboutreason-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 920px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.aboutreason-nav__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.aboutreason-nav__row--pair {
  width: 100%;
}

.aboutreason-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(100%, 280px);
  margin: 0 auto;
  padding: 14px 20px;
  box-sizing: border-box;
  border: 2px solid var(--color-border);
  background-color: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.aboutreason-nav__link:hover {
  opacity: 0.7;
}

.aboutreason-nav__link--back {
  border: none;
}

.aboutreason-nav__label {
  display: block;
}

.aboutreason-nav__arrow {
  flex-shrink: 0;
  width: 56px;
  height: auto;
}

@media (max-width: 767px) {
  .aboutreason-block__title-br {
    display: block;
  }
}

@media (max-width: 390px) {
  .aboutreason-hero__title-group {
    gap: 10px;
  }

  .aboutreason-hero__title-sub {
    font-size: 0.875rem;
  }
}

@media (max-width: 320px) {
  .aboutreason-hero__title-sub {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .page-main--aboutreason {
    padding: 0 0 80px;
  }

  .aboutreason-hero:has(.aboutreason-hero__bg) {
    display: block;
  }

  .aboutreason-hero:has(.aboutreason-hero__bg) .aboutreason-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .aboutreason-hero:has(.aboutreason-hero__bg)::before {
    position: absolute;
    inset: 0;
    grid-area: auto;
    z-index: 1;
  }

  .aboutreason-hero:has(.aboutreason-hero__bg) > .aboutreason-hero__foreground {
    position: relative;
    z-index: 2;
    display: block;
  }

  .aboutreason-hero__foreground > .breadcrumb--hero {
    position: static;
  }

  .aboutreason-hero__inner {
    padding: 48px 40px 72px;
  }

  .aboutreason-hero__title-group {
    gap: 20px;
  }

  .aboutreason-hero__title-main {
    font-size: 2rem;
  }

  .aboutreason-hero__title-sub {
    font-size: 1.25rem;
  }

  .aboutreason-hero__title-line {
    width: 120px;
  }

  .aboutreason-content {
    padding: 72px 40px 0;
  }

  .aboutreason-block + .aboutreason-block,
  .aboutreason-block + .aboutreason-figure,
  .aboutreason-figure + .aboutreason-block {
    margin-top: 64px;
  }

  .aboutreason-block__heading {
    margin-bottom: 40px;
  }

  .aboutreason-figure {
    margin-top: 64px;
  }

  .aboutreason-nav {
    margin-top: 80px;
  }

  .aboutreason-nav__row--pair {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  .aboutreason-nav__row--pair .aboutreason-nav__link,
  .aboutreason-nav__link--back {
    width: 280px;
  }

  .aboutreason-nav__row--pair .aboutreason-nav__link {
    margin: 0;
  }
}

/* ==========================================================================
   About Message?????????
   ========================================================================== */

.page-main--aboutmessage {
  padding: 0 0 56px;
}

.aboutmessage-hero {
  position: relative;
  color: var(--color-white);
  background-image: url("/images/message_header.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.aboutmessage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.aboutmessage-hero > * {
  position: relative;
  z-index: 1;
}

.aboutmessage-hero__bg {
  display: none;
}

.aboutmessage-hero:has(.aboutmessage-hero__bg) {
  display: grid;
  background-image: none;
}

.aboutmessage-hero:has(.aboutmessage-hero__bg) > * {
  position: static;
  z-index: auto;
}

.aboutmessage-hero:has(.aboutmessage-hero__bg) .aboutmessage-hero__bg {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  align-self: start;
  z-index: 0;
}

.aboutmessage-hero:has(.aboutmessage-hero__bg)::before {
  position: static;
  inset: auto;
  grid-area: 1 / 1;
  z-index: 1;
}

.aboutmessage-hero:has(.aboutmessage-hero__bg) > .aboutmessage-hero__foreground {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.aboutmessage-hero__foreground > .breadcrumb--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.aboutmessage-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px;
  width: 100%;
  box-sizing: border-box;
}

.aboutmessage-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.aboutmessage-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.aboutmessage-hero__title-text {
  display: block;
}

.aboutmessage-hero__title-main,
.aboutmessage-hero__title-sub {
  display: block;
}

.aboutmessage-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.aboutmessage-hero__title-main {
  margin-bottom: 0.35em;
  font-size: clamp(0.8125rem, 2.5vw + 0.625rem, 1.5rem);
  white-space: nowrap;
}

.aboutmessage-hero__title-sub {
  font-size: 1rem;
}

.aboutmessage-content {
  padding: 48px 20px 0;
}

.aboutmessage-block {
  max-width: 920px;
  margin: 0 auto;
}

.aboutmessage-block + .aboutmessage-block,
.aboutmessage-block + .aboutmessage-figures,
.aboutmessage-block + .aboutmessage-figure,
.aboutmessage-figures + .aboutmessage-block,
.aboutmessage-figure + .aboutmessage-block {
  margin-top: 48px;
}

.aboutmessage-block__heading {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-align: left;
}

.aboutmessage-block__title-br {
  display: none;
}

.aboutmessage-block__body {
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.aboutmessage-block__body p {
  margin: 0 0 1.25rem;
}

.aboutmessage-block__body p:last-child {
  margin-bottom: 0;
}

.aboutmessage-block__em {
  color: var(--color-accent);
}

.aboutmessage-block__signature {
  margin-top: 2rem;
  text-align: right;
  line-height: 1.8;
}

.aboutmessage-figures--pair {
  width: calc(100% + 40px);
  margin: 48px auto 0;
  margin-left: -20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.aboutmessage-figure--offset-left,
.aboutmessage-figure--offset-right {
  width: 65%;
}

.aboutmessage-figures--pair .aboutmessage-figure--offset-left {
  margin-right: auto;
}

.aboutmessage-figures--pair .aboutmessage-figure--offset-right {
  margin-left: auto;
}

.aboutmessage-figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.aboutmessage-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.aboutmessage-figure--center {
  max-width: 630px;
  margin: 48px auto 0;
}

.aboutmessage-figure--left {
  width: 65%;
  margin: 48px 0 0 -20px;
}

@media (max-width: 767px) {
  .aboutmessage-block__title-br {
    display: block;
  }
}

@media (max-width: 390px) {
  .aboutmessage-hero__title-group {
    gap: 10px;
  }

  .aboutmessage-hero__title-sub {
    font-size: 0.875rem;
  }
}

@media (max-width: 320px) {
  .aboutmessage-hero__title-sub {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .page-main--aboutmessage {
    padding: 0 0 80px;
  }

  .aboutmessage-hero:has(.aboutmessage-hero__bg) {
    display: block;
  }

  .aboutmessage-hero:has(.aboutmessage-hero__bg) .aboutmessage-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .aboutmessage-hero:has(.aboutmessage-hero__bg)::before {
    position: absolute;
    inset: 0;
    grid-area: auto;
    z-index: 1;
  }

  .aboutmessage-hero:has(.aboutmessage-hero__bg) > .aboutmessage-hero__foreground {
    position: relative;
    z-index: 2;
    display: block;
  }

  .aboutmessage-hero__foreground > .breadcrumb--hero {
    position: static;
  }

  .aboutmessage-hero__inner {
    padding: 48px 40px 72px;
  }

  .aboutmessage-hero__title-group {
    gap: 20px;
  }

  .aboutmessage-hero__title-main {
    font-size: 2rem;
  }

  .aboutmessage-hero__title-sub {
    font-size: 1.25rem;
  }

  .aboutmessage-hero__title-line {
    width: 120px;
  }

  .aboutmessage-content {
    padding: 72px 40px 0;
  }

  .aboutmessage-block + .aboutmessage-block,
  .aboutmessage-block + .aboutmessage-figures,
  .aboutmessage-block + .aboutmessage-figure,
  .aboutmessage-figures + .aboutmessage-block,
  .aboutmessage-figure + .aboutmessage-block {
    margin-top: 64px;
  }

  .aboutmessage-block__heading {
    margin-bottom: 40px;
  }

  .aboutmessage-figures--pair,
  .aboutmessage-figure--center,
  .aboutmessage-figure--left {
    margin-top: 64px;
  }

  .aboutmessage-figures--pair {
    width: 100%;
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
  }

  .aboutmessage-figure--offset-left {
    width: 400px;
    margin-right: auto;
  }

  .aboutmessage-figure--offset-right {
    width: 400px;
    margin-top: 40px;
    margin-left: auto;
  }

  .aboutmessage-figure--left {
    width: 100%;
    max-width: 630px;
    margin-right: auto;
    margin-left: auto;
  }
}

/* ==========================================================================
   About????????????
   ========================================================================== */

.page-main--about {
  padding: 12px 0 0;
}

.about-page {
  max-width: none;
  margin: 0;
}

.about-page > .breadcrumb {
  margin-bottom: 1.5rem;
}

/* Page header */

.about-page__header {
  max-width: var(--container-max);
  margin: 0 auto 24px;
  padding: 0 20px;
}

.about-page__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.about-page__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.about-page__title-text {
  display: block;
}

.about-page__title-name {
  display: block;
  font-size: clamp(0.8125rem, 2.5vw + 0.625rem, 1.5rem);
  white-space: nowrap;
}

.about-page__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

/* Main visual */

.about-mv {
  overflow: hidden;
}

.about-mv__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 0 48px 20px;
}

.about-mv__copy {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 0;
}

.about-mv__headline {
  position: relative;
  z-index: 0;
  margin-bottom: 48px;
  /* ?SVG? em ???catch ?????????? */
  font-size: clamp(1.5rem, 9vw, 2.5rem);
}

.about-mv__circle {
  position: absolute;
  top: 50%;
  left: -0.85em;
  z-index: -1;
  width: auto;
  height: 4.5em;
  transform: translateY(-50%);
  pointer-events: none;
}

.about-mv__lead {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 5.1vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.about-mv__catch {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 9vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.about-mv__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 6.15vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.about-mv__text-group {
  display: block;
}

.about-mv__text-group + .about-mv__text-group {
  margin-top: 1.6em;
}

.about-mv__text-line {
  display: block;
}

.about-mv__text-line--indent {
  padding-left: 2em;
}

.about-mv__em {
  color: var(--color-accent);
}

.about-mv__ill {
  position: relative;
  z-index: 0;
  flex: 0 0 34%;
  width: 34%;
  /* ???729?228?90??????????????? */
  aspect-ratio: 228 / 729;
  margin: 0 -24px 0 0;
  line-height: 0;
}

.about-mv__ill img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  /* 729 / 228 = 319.74%????????????????? */
  width: 319.74%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
}

/* Intro????? */

.about-intro {
  padding: 64px 20px 0;
}

.about-intro__inner {
  max-width: 920px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.about-intro__inner p {
  margin: 0 0 1.5em;
}

.about-intro__inner p:last-child {
  margin-bottom: 0;
}

.about-intro__em {
  color: var(--color-accent);
  font-weight: 700;
}

/* Lead??????????????? */

.about-lead {
  padding: 100px 20px 0;
}

.about-lead__inner {
  max-width: 920px;
  margin: 0 auto;
}

.about-lead__block + .about-lead__block {
  margin-top: 112px;
}

.about-lead__heading {
  position: relative;
  z-index: 0;
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.about-lead__circle {
  position: absolute;
  top: 50%;
  left: -0.85em;
  z-index: -1;
  width: auto;
  height: 4em;
  transform: translateY(-50%);
  pointer-events: none;
}

.about-lead__body {
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.about-lead__body p {
  margin: 0 0 0.75em;
}

.about-lead__body p:last-child {
  margin-bottom: 0;
}

.about-lead__em {
  color: var(--color-accent);
  font-weight: 700;
}

.about-lead__figure {
  width: calc(100% + 40px);
  margin: 88px 0 0 -20px;
  padding: 0;
  line-height: 0;
}

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

/* Anchor nav????????? */

.about-anchor-nav {
  padding: 100px 20px 40px;
}

.about-anchor-nav__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.about-anchor-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px 12px 20px;
  border: 1px solid #9B9A96;
  background-color: transparent;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.2s;
}

.about-anchor-nav__link:hover {
  opacity: 0.7;
}

.about-anchor-nav__arrow {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ????????????????? */

.about-can {
  position: relative;
  padding: 64px 20px clamp(120px, 36vw, 120px);
  scroll-margin-top: 90px;
  --about-can-top-offset: 30px;
  /* ???1px??????????????? */
  background: linear-gradient(
    to bottom,
    var(--color-bg) calc(var(--about-can-top-offset) + 1px),
    var(--color-white) calc(var(--about-can-top-offset) + 1px)
  );
}

.about-can::before {
  content: "";
  position: absolute;
  top: var(--about-can-top-offset);
  left: 0;
  right: 0;
  height: clamp(140px, 58vw, 230px);
  background-color: var(--color-bg);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.about-can::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(140px, 58vw, 230px);
  background-color: var(--color-bg);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.about-can__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
}

.about-can__heading {
  margin: 0 0 56px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.about-can__block {
  display: flex;
  flex-direction: column;
}

.about-can__block + .about-can__block {
  margin-top: 110px;
}

.about-can__subheading {
  order: 1;
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 1.375em;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.about-can__figure {
  margin: 0;
  line-height: 0;
}

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

.about-can__circles {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
}

.about-can__circles-row {
  display: flex;
  gap: 22px;
  margin-top: -6px;
}

.about-can__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #222222;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
}

.about-can__media {
  order: 2;
}

.about-can__body {
  display: contents;
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.about-can__text {
  order: 3;
  margin: 24px 0 0;
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.about-can__text p {
  margin: 0 0 1.25em;
}

.about-can__text p:last-child {
  margin-bottom: 0;
}

.about-can__em {
  color: var(--color-accent);
  font-weight: 700;
}

/* ?????????????????? */

.about-reason {
  padding: 32px 20px 0;
  scroll-margin-top: 90px;
}

.about-reason__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.about-reason__heading {
  margin: 0 0 52px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.about-reason__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-reason__card {
  padding: 24px 20px 28px;
  background-color: var(--color-white);
  border-radius: 8px;
}

.about-reason__label {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1em;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.about-reason__subheading {
  margin: 0 0 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #AFAEAA;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.375em;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.about-reason__body {
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.about-reason__body p {
  margin: 0 0 1.25rem;
}

.about-reason__body p:last-child {
  margin-bottom: 0;
}

.about-reason__ill {
  margin: 56px auto 0;
  padding: 0 28px;
  line-height: 0;
  text-align: center;
}

.about-reason__ill img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ???????3??????????????? */

.about-important {
  position: relative;
  margin-top: 88px;
  padding: 64px 20px 48px;
  scroll-margin-top: 90px;
  --about-important-top-offset: 35px;
  /* ::before ???????????????????????? */
  background: linear-gradient(
    to bottom,
    var(--color-bg) calc(var(--about-important-top-offset) + 1px),
    var(--color-white) calc(var(--about-important-top-offset) + 1px)
  );
}

.about-important::before {
  content: "";
  position: absolute;
  top: var(--about-important-top-offset);
  left: 0;
  right: 0;
  height: clamp(140px, 58vw, 230px);
  background-color: var(--color-bg);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.about-important__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
}

.about-important__heading {
  margin: 0 0 52px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.about-important__scroll {
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.about-important__scroll::-webkit-scrollbar {
  display: none;
}

.about-important__list {
  display: flex;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}

.about-important__item {
  flex: 0 0 calc(100% - 52px);
  scroll-snap-align: start;
}

.about-important__card {
  height: 100%;
}

.about-important__card-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.about-important__icon {
  display: block;
  flex-shrink: 0;
  width: 56px;
  height: auto;
}

.about-important__subheading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.375em;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.about-important__figure {
  margin: 0 0 16px;
  line-height: 0;
}

.about-important__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 460 / 295;
  object-fit: cover;
}

.about-important__body {
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.about-important__body p {
  margin: 0 0 1em;
}

.about-important__body p:last-child {
  margin-bottom: 0;
}

.about-important__em {
  color: var(--color-accent);
  font-weight: 700;
}

.about-important__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.about-important__dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--color-text);
  border-radius: 50%;
  background-color: transparent;
}

.about-important__dot--active {
  background-color: var(--color-text);
}

/* ???????? */

.about-overview {
  padding: 72px 20px 48px;
  scroll-margin-top: 90px;
}

.about-overview__inner {
  max-width: 920px;
  margin: 0 auto;
}

.about-overview__heading {
  margin: 0 0 56px;
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-align: left;
}

.about-overview__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.8;
}

.about-overview__table th,
.about-overview__table td {
  padding: 16px 0;
  border-bottom: 1px solid #AFAEAA;
  text-align: left;
  vertical-align: top;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.about-overview__table th {
  width: 27%;
  padding-right: 16px;
}

.about-overview__table td a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ?????????????????? */

.about-environment {
  position: relative;
  background-image: url("/images/about_pic2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-white);
}

.about-environment::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
}

.about-environment__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 84px 20px 64px;
  text-align: left;
}

.about-environment__heading {
  margin: 0 0 64px;
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.about-environment__body {
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.9;
  letter-spacing: 0.05em;
  text-align: left;
}

.about-environment__body p {
  margin: 0 0 1.25rem;
}

.about-environment__body p:last-child {
  margin-bottom: 0;
}

.about-page__nav.aboutreason-nav {
  margin-top: 32px;
  margin-bottom: 48px;
}

@media (max-width: 360px) {
  .about-page__title-group {
    gap: 10px;
  }

  .about-can__circle {
    width: 106px;
    height: 106px;
    font-size: 0.8125rem;
  }

  .about-can__circles-row {
    gap: 16px;
  }
}

@media (max-width: 320px) {
  .about-page__title-group {
    gap: 8px;
  }
}

/* ==================== PC layout?1920px?????????? ==================== */
@media (min-width: 768px) {
  .page-main--about {
    padding: 12px 0 0;
  }

  .about-page > .breadcrumb {
    margin-bottom: 2rem;
    padding: 0 40px;
  }

  .about-page__header {
    margin-bottom: 104px;
    padding: 0 40px;
  }

  .about-page__title-group {
    gap: 20px;
  }

  .about-page__title-name {
    font-size: 2rem;
  }

  .about-page__title-line {
    width: 120px;
  }

  /* MV */

  .about-mv__inner {
    display: grid;
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
    align-items: center;
    gap: 0;
    min-height: 460px;
    padding: 64px 0 48px 40px;
  }

  .about-mv__copy {
    flex: none;
    padding-top: 0;
    padding-left: 60px;
    max-width: 720px;
  }

  .about-mv__headline {
    margin-bottom: 48px;
    font-size: 3.25rem;
  }

  .about-mv__circle {
    top: 50%;
    left: -0.9em;
    height: 5em;
    transform: translateY(-50%);
  }

  .about-mv__lead {
    margin-bottom: 12px;
    font-size: 1.75rem;
  }

  .about-mv__catch {
    font-size: 3.25rem;
  }

  .about-mv__text {
    font-size: 2rem;
    line-height: 1.9;
  }

  .about-mv__text-group {
    display: block;
  }

  .about-mv__text-group + .about-mv__text-group {
    margin-top: 0;
  }

  .about-mv__text-line {
    display: inline;
  }

  .about-mv__text-line--indent {
    padding-left: 0;
  }

  .about-mv__ill {
    position: relative;
    top: auto;
    right: auto;
    flex: none;
    width: calc(100% + 40px + 120px + (100vw - min(100vw, var(--container-max))) / 2);
    aspect-ratio: auto;
    max-width: none;
    margin: 0 calc(-40px - 120px - (100vw - min(100vw, var(--container-max))) / 2) 0 auto;
  }

  .about-mv__ill img {
    position: static;
    width: 108%;
    height: auto;
    max-width: none;
    transform: none;
  }

  /* Intro / Lead */

  .about-intro {
    padding: 72px 40px 0;
  }

  .about-intro__inner {
    line-height: 1.8;
  }

  .about-lead {
    padding: 140px 40px 0;
  }

  .about-lead__block + .about-lead__block {
    margin-top: 110px;
  }

  .about-lead__heading {
    margin-bottom: 36px;
    line-height: 1.5;
  }

  .about-lead__circle {
    top: 50%;
    left: -0.9em;
    height: 4em;
    transform: translateY(-50%);
  }

  .about-lead__body {
    line-height: 1.8;
  }

  .about-lead__figure {
    width: 630px;
    max-width: 100%;
    margin: 100px auto 0;
  }

  /* Anchor nav */

  .about-anchor-nav {
    padding: 130px 40px 36px;
  }

  .about-anchor-nav__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: var(--container-max);
  }

  .about-anchor-nav__link {
    min-height: 68px;
    padding: 12px 12px 12px 16px;
    font-size: 0.9375rem;
  }

  /* ????? */

  .about-can {
    padding: 120px 40px 120px;
  }

  .about-can::before,
  .about-can::after,
  .about-important::before {
    height: clamp(80px, 15.6vw, 300px);
  }

  .about-can__heading {
    margin-bottom: 80px;
    line-height: 1.35;
  }

  .about-can__block {
    display: grid;
    grid-template-columns: minmax(0, 604fr) minmax(0, 796fr);
    column-gap: 40px;
  }

  .about-can__block + .about-can__block {
    margin-top: 150px;
  }

  .about-can__block--reverse {
    grid-template-columns: minmax(0, 796fr) minmax(0, 604fr);
  }

  .about-can__body {
    display: contents;
  }

  .about-can__subheading {
    order: unset;
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 0 32px;
    line-height: 1.7;
  }

  .about-can__block:first-of-type .about-can__subheading {
    margin-bottom: 64px;
  }

  .about-can__block--reverse .about-can__subheading {
    text-align: right;
  }

  .about-can__media {
    order: unset;
    grid-column: 1;
    grid-row: 2;
  }

  .about-can__block--reverse .about-can__media {
    grid-column: 2;
  }

  .about-can__body > p,
  .about-can__text {
    order: unset;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin: 0;
    padding-left: 32px;
    font-size: 1em;
    line-height: 1.8;
  }

  .about-can__block--reverse .about-can__body > p,
  .about-can__block--reverse .about-can__text {
    grid-column: 1;
    padding-left: 150px;
    padding-right: 40px;
  }

  .about-can__circles {
    padding: 0;
  }

  .about-can__circles-row {
    gap: 20px;
    margin-top: -24px;
  }

  .about-can__circle {
    width: 195px;
    height: 195px;
    font-size: 1.375rem;
  }

  /* ????? */

  .about-reason {
    padding: 96px 40px 0;
  }

  .about-reason__heading {
    margin-bottom: 64px;
    line-height: 1.35;
  }

  .about-reason__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
  }

  .about-reason__card {
    padding: 34px 44px 28px;
  }

  .about-reason__label {
    margin-bottom: 12px;
  }

  .about-reason__subheading {
    margin-bottom: 24px;
    padding-bottom: 40px;
  }

  .about-reason__body {
    line-height: 1.8;
  }

  .about-reason__ill {
    margin-top: 100px;
    padding: 0;
  }

  .about-reason__ill img {
    width: 35vw;
    max-width: 35vw;
  }

  /* 3???? */

  .about-important {
    margin-top: 120px;
    padding: 48px 40px 100px;
    --about-important-top-offset: 5px;
  }

  .about-important__heading {
    margin-bottom: 84px;
    line-height: 1.35;
  }

  .about-important__scroll {
    margin: 0;
    overflow: visible;
  }

  .about-important__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 0;
  }

  .about-important__item {
    flex: none;
  }

  .about-important__card-head {
    gap: 32px;
    margin-bottom: 28px;
  }

  .about-important__icon {
    width: 80px;
  }

  .about-important__figure {
    margin-bottom: 22px;
  }

  .about-important__body {
    line-height: 1.8;
  }

  .about-important__dots {
    display: none;
  }

  /* ???? */

  .about-overview {
    padding: 100px 40px 72px;
  }

  .about-overview__heading {
    margin-bottom: 60px;
    text-align: center;
  }

  .about-overview__table th,
  .about-overview__table td {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* ??????? */

  .about-environment__inner {
    max-width: 920px;
    padding: 122px 40px 130px;
  }

  .about-environment__heading {
    margin-bottom: 160px;
    line-height: 1.6;
    text-align: center;
  }

  .about-environment__body {
    line-height: 2;
  }

  .about-page__nav.aboutreason-nav {
    margin-top: 40px;
    margin-bottom: 96px;
  }

  .aboutreason-nav__row--triple {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  .aboutreason-nav__row--triple .aboutreason-nav__link {
    width: 280px;
    margin: 0;
  }
}

/* ==========================================================================
   Top page???????????????????????????????
   ========================================================================== */

.page-main--top {
  padding: 0;
}

.top-page {
  overflow: hidden;
}

/* ---- ?????? ---- */

.top-heading {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.top-heading__group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.top-heading__text {
  display: block;
}

.top-heading__main {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
}

.top-heading__sub {
  display: block;
  margin-top: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.top-heading__sub--accent {
  color: var(--color-accent);
}

.top-heading__accent {
  color: #993038;
}

.top-heading__sub-em {
  font-size: 1.375rem;
  font-weight: 700;
}

.top-heading__line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.top-heading--white {
  color: var(--color-white);
}

.top-heading--simple {
  margin-bottom: 24px;
}

/* ---- ????????????????? ---- */

.top-more-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.top-more-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 28px 10px;
  border: 2px solid var(--color-border);
  border-radius: 0;
  background-color: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.top-more-btn:hover {
  opacity: 0.7;
}

.top-more-btn__label {
  display: inline-block;
  flex: 0 0 auto;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: nowrap;
}

.top-more-btn__arrow {
  display: block;
  flex: 0 0 32px;
  box-sizing: content-box;
  width: 32px;
  max-width: 32px;
  height: auto;
}

.top-more-btn--white {
  border-color: var(--color-white);
  color: var(--color-white);
}

.top-link-more-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.top-link-more {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.top-link-more:hover {
  opacity: 0.7;
}

.top-link-more__label {
  display: inline-block;
  flex-shrink: 0;
  writing-mode: horizontal-tb;
  white-space: nowrap;
}

.top-link-more__arrow {
  display: block;
  flex-shrink: 0;
  width: 47px;
  max-width: 47px;
  height: auto;
}

/* ---- ????????????? ---- */

@keyframes topFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-fade-in {
  opacity: 0;
  animation: topFadeInUp 0.9s ease-out forwards;
}

.top-fade-in--delay-1 {
  animation-delay: 0.1s;
}

.top-fade-in--delay-2 {
  animation-delay: 0.35s;
}

.top-fade-in--delay-3 {
  animation-delay: 0.6s;
}

/* ---- ???????? ---- */

.top-fv {
  position: relative;
  height: 70vh;
  min-height: 420px;
  max-height: 780px;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
}

.top-fv__slides {
  position: absolute;
  inset: 0;
}

.top-fv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px);
  animation: topFvFade 12s ease-in-out infinite;
}

.top-fv__slide:first-child {
  opacity: 1;
  transform: translateY(0);
  animation-name: topFvFadeFirst;
}

.top-fv__slide:nth-child(2) {
  animation-delay: 4s;
}

.top-fv__slide:nth-child(3) {
  animation-delay: 8s;
}

.top-fv__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes topFvFadeFirst {
  0%,
  22% {
    opacity: 1;
    transform: translateY(0);
  }
  35%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes topFvFade {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  12% {
    opacity: 1;
    transform: translateY(0);
  }
  22% {
    opacity: 1;
    transform: translateY(0);
  }
  35% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

.top-fv__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.top-fv__catch {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 24px;
  z-index: 1;
  margin: 0;
  line-height: 0;
}

.top-fv__catch img {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* ---- ????????????? ---- */

.top-intro {
  padding: 72px 20px 64px;
}

.top-intro__block {
  opacity: 0;
  animation: topFadeInUp 0.9s ease-out forwards;
}

.top-intro__block--1 {
  position: relative;
  z-index: 1;
  animation-delay: 0.1s;
  text-align: center;
}

.top-intro__block--1 img {
  width: 100%;
  max-width: 320px;
}

.top-intro__block--2 {
  position: relative;
  z-index: 2;
  /* 画像（.top-intro__block--1 img, 最大幅320px）の透明な余白部分に
     テキストを重ねる。画像の実測幅（vw基準・上限320pxでキャップ）に
     一定の比率を掛けて負のマージンを算出することで、デバイス幅が
     変わっても画像とテキストの重なり具合が一定に保たれるようにする。 */
  width: fit-content;
  max-width: 100%;
  margin-top: calc(min(100vw - 40px, 320px) * -0.08);
  margin-left: auto;
  animation-delay: 0.45s;
  font-family: var(--font-heading);
  text-align: left;
}

.top-intro__text {
  margin: 0 0 1.4em;
  font-size: 0.875rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

.top-intro__text--lead {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.85;
}

.top-intro__em {
  color: #993038;
}

.top-intro__credit {
  margin: 1.6em 0 0;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.top-intro__block--3 {
  margin-top: 48px;
  animation-delay: 0.8s;
  text-align: center;
}

.top-intro__block--3 img {
  width: 80%;
  max-width: 460px;
}

.top-intro__more {
  margin-top: 40px;
}

/* ---- ????????? ---- */

.top-interview {
  padding: 64px 0;
}

.top-interview .top-heading {
  padding: 0 20px;
}

.top-interview__scroll {
  margin: 32px 0 0;
  padding: 8px 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: calc(50% - min(36vw, 140px));
  scrollbar-width: none;
}

.top-interview__scroll::-webkit-scrollbar {
  display: none;
}

.top-interview__list {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 0;
  padding: 0 calc(50% - min(36vw, 140px));
  list-style: none;
}

.top-interview__item {
  flex: 0 0 min(72vw, 280px);
  width: min(72vw, 280px);
  scroll-snap-align: center;
}

.top-interview-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.top-interview-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  color: inherit;
  transition: opacity 0.2s;
}

.top-interview-card__link:hover {
  opacity: 0.75;
}

.top-interview-card__photo {
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-subtle);
  line-height: 0;
  overflow: hidden;
}

.top-interview-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-interview-card__name {
  margin: 16px 20px 8px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.top-interview-card__comment {
  flex: 1;
  margin: 0 20px 20px;
  font-size: 0.8125rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.top-interview .top-more-btn-wrap {
  padding: 0 20px;
}

.top-interview__status {
  flex: 0 0 100%;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-align: center;
  color: #666666;
}

/* ---- ????????? ---- */

.top-slideshow {
  padding: 48px 0;
  overflow: hidden;
}

.top-slideshow__track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: topSlideMarquee 34s linear infinite;
}

.top-slideshow__track img {
  flex-shrink: 0;
  width: 160px;
  height: 120px;
  object-fit: cover;
  object-position: center;
}

.top-slideshow__track img.top-slideshow__center {
  width: 160px;
  height: 120px;
}

@keyframes topSlideMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---- 就職先 ---- */

.top-result {
  position: relative;
  padding: 56px 20px;
  background-color: var(--color-bg);
  text-align: center;
}

.top-result__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.top-result .top-more-btn-wrap {
  position: relative;
  z-index: 1;
}

/* ---- クラス紹介 ---- */

.top-class {
  position: relative;
  padding: 64px 20px clamp(120px, 36vw, 160px);
  --top-class-top-offset: 30px;
  background: linear-gradient(
    to bottom,
    var(--color-bg) calc(var(--top-class-top-offset) + 1px),
    var(--color-white) calc(var(--top-class-top-offset) + 1px)
  );
}

.top-class::before {
  content: "";
  position: absolute;
  top: var(--top-class-top-offset);
  left: 0;
  right: 0;
  height: clamp(140px, 58vw, 230px);
  background-color: var(--color-bg);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.top-class::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(140px, 58vw, 230px);
  background-color: var(--color-bg);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.top-class .top-heading,
.top-class__list {
  position: relative;
  z-index: 1;
}

.top-class__list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.top-class__item {
  position: relative;
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  cursor: pointer;
}

.top-class__item:first-child {
  border-top: none;
}

.top-class__item .top-link-more::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.top-class__figure {
  margin: 0 0 20px;
  line-height: 0;
}

.top-class__figure img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.top-class__label {
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.top-class__name {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.top-class__catch {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.top-class__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

/* ---- Instagram ---- */

.top-insta {
  margin: 0 20px 56px;
  padding: 56px 20px;
  background-color: #5C4E42;
  color: var(--color-white);
}

.top-insta .top-heading__main {
  font-size: 0.9375rem;
  font-weight: 500;
}

.top-insta .top-heading__sub {
  white-space: nowrap;
}

.top-insta .top-heading__sub-em {
  font-size: 1.25rem;
  font-weight: 700;
}

.top-insta__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.top-insta__item {
  aspect-ratio: 1 / 1;
  background-color: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.top-insta__link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  transition: opacity 0.2s;
}

.top-insta__link:hover {
  opacity: 0.85;
}

.top-insta__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-insta .top-more-btn-wrap {
  justify-content: center;
  margin-top: 28px;
}

.top-insta .top-more-btn {
  border: none;
  padding: 12px 0 10px;
}

@media (max-width: 374px) {
  .top-insta .top-heading__sub-em {
    font-size: 1.125rem;
  }

  .top-insta .top-heading__sub {
    font-size: 0.8125rem;
  }
}

/* ---- ??????? ---- */

.top-setsumei {
  position: relative;
  padding: 56px 20px;
}

.top-setsumei__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.top-setsumei__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.top-setsumei__card {
  position: relative;
  z-index: 1;
  padding: 32px 24px;
  background-color: var(--color-white);
  border-radius: 8px;
}

.top-setsumei__heading {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
}

.top-setsumei__heading-main {
  display: block;
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 700;
}

.top-setsumei__heading-sub {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 500;
}

.top-setsumei__figure {
  margin: 0 0 20px;
  line-height: 0;
}

.top-setsumei__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.top-setsumei__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.top-setsumei .top-more-btn-wrap {
  justify-content: center;
  margin-top: 24px;
}

/* ---- ??????????? ---- */

.top-faq-teaser {
  padding: 40px 20px 0;
  text-align: center;
}

.top-faq-teaser img {
  width: 100%;
  max-width: 300px;
}

.top-qa {
  padding: 20px 20px 56px;
}

.top-qa__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px;
  background-color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  color: inherit;
  transition: opacity 0.2s;
}

.top-qa__card:hover {
  opacity: 0.7;
}

.top-qa__heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.top-qa__arrow {
  flex-shrink: 0;
  width: 62px;
  height: auto;
}

/* ---- ???? ---- */

.top-news {
  padding: 0 20px 64px;
}

.top-news .top-heading--simple {
  text-align: center;
}

.top-news__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.top-news__item {
  border-bottom: 1px solid var(--color-border);
}

.top-news__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 4px;
  color: inherit;
  transition: opacity 0.2s;
}

.top-news__link:hover {
  opacity: 0.7;
}

.top-news__date {
  flex: 0 0 auto;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #666666;
}

.top-news__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.top-news .top-more-btn-wrap {
  justify-content: flex-end;
}

.top-news .top-more-btn {
  border: none;
  padding: 12px 0 10px;
  margin: 0 0 0 auto;
}

.top-news__status {
  padding: 24px 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-align: center;
  color: #666666;
}

/* ---- よみもの 建築家になるには ---- */

.top-column {
  padding: 56px 20px 64px;
  background-color: var(--color-white);
}

.top-column__list {
  margin: 32px 0 0;
}

.top-column__status {
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-align: center;
  color: #666666;
  list-style: none;
}

/* ---- 代表メッセージ ---- */

.top-message {
  position: relative;
  padding: 0 0 64px;
  background-color: var(--color-bg);
}

.top-message__inner {
  position: relative;
}

.top-message__figure {
  margin: 0;
  line-height: 0;
}

.top-message__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.top-message__card {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% - 40px);
  max-width: 480px;
  margin: -60px 0 0 auto;
  padding: 28px 24px 36px;
  background-color: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: left;
  color: inherit;
  transition: opacity 0.2s;
}

.top-message__card:hover {
  opacity: 0.85;
}

.top-message__heading {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.top-message__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.top-message__arrow {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 6px;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .top-fv__slide,
  .top-intro__block,
  .top-fade-in,
  .top-slideshow__track {
    animation: none !important;
  }

  .top-fv__slide:first-child {
    opacity: 1;
    transform: none;
  }

  .top-fv__slide:not(:first-child) {
    opacity: 0;
    transform: none;
  }

  .top-intro__block,
  .top-fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   TOP???PC?????1024px??????
   ========================================================================== */
@media (min-width: 1024px) {
  /* ---- ???????? ---- */

  .top-fv {
    height: 640px;
    max-height: 46vw;
    min-height: 480px;
  }

  .top-fv__catch {
    left: max(40px, calc((100vw - 1440px) / 2 + 40px));
    right: auto;
    bottom: 56px;
  }

  .top-fv__catch img {
    max-width: 520px;
  }

  /* ---- メインビジュアル ---- */

  .top-intro {
    padding: 120px 40px 130px;
  }

  .top-intro__inner {
    max-width: none;
    margin: 0 auto;
  }

  .top-intro__block--1 {
    margin-bottom: 0;
    text-align: center;
  }

  .top-intro__block--1 img {
    width: 100%;
    max-width: 420px;
  }

  .top-intro__row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 920px;
    margin: 56px auto 0;
  }

  .top-intro__block--2 {
    flex: 1 1 56%;
    width: auto;
    max-width: none;
    margin: 0;
  }

  .top-intro__block--3 {
    flex: 1 1 44%;
    margin-top: 0;
  }

  .top-intro__text {
    font-size: 0.875rem;
  }

  .top-intro__text--lead {
    font-size: 1.125rem;
  }

  .top-intro__credit {
    font-size: 0.6875rem;
  }

  .top-intro__block--3 img {
    width: 100%;
    max-width: 340px;
  }

  .top-intro__more {
    justify-content: center;
    margin-top: 56px;
  }

  /* ---- ??????? ---- */

  .top-heading__main {
    font-size: 1.75rem;
  }

  .top-heading__sub {
    margin-top: 8px;
    font-size: 1.125rem;
  }

  .top-heading__sub-em {
    font-size: 2rem;
  }

  .top-insta .top-heading__sub-em {
    font-size: 2rem;
  }

  .top-insta .top-heading__sub {
    font-size: 1.125rem;
  }

  .top-interview {
    padding: 120px 0;
  }

  .top-interview .top-heading {
    max-width: 1440px;
    margin: 0 auto 40px;
    padding: 0 40px;
  }

  .top-interview__scroll {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 40px 16px;
    overflow: visible;
    scroll-padding-inline: 0;
  }

  .top-interview__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 32px;
    padding: 0;
  }

  .top-interview__item {
    flex: unset;
    width: auto;
    max-width: none;
    scroll-snap-align: none;
    display: flex;
    min-width: 0;
  }

  .top-interview-card__name {
    font-size: 1rem;
  }

  .top-interview-card__comment {
    font-size: 0.875rem;
  }

  .top-interview .top-more-btn-wrap {
    max-width: 1440px;
    margin: 40px auto 0;
    padding: 0 40px;
  }

  /* ---- ????????? ---- */

  .top-slideshow {
    padding: 72px 0;
  }

  .top-slideshow__track {
    gap: 24px;
  }

  .top-slideshow__track img,
  .top-slideshow__track img.top-slideshow__center {
    width: 360px;
    height: 270px;
  }

  /* ---- 就職先 ---- */

  .top-result {
    padding: 96px 40px;
  }

  .top-result__img {
    max-width: 560px;
  }

  /* ---- クラス紹介 ---- */

  .top-class {
    padding: 140px 40px 120px;
  }

  .top-class::before,
  .top-class::after {
    height: clamp(80px, 15.6vw, 300px);
  }

  .top-class .top-heading {
    max-width: 1440px;
    margin: 0 auto 48px;
  }

  .top-class__list {
    max-width: 1440px;
    margin: 0 auto;
  }

  .top-class__item {
    display: grid;
    grid-template-columns: minmax(0, 560fr) minmax(0, 700fr);
    column-gap: 64px;
    align-items: center;
    padding: 64px 0;
  }

  .top-class__figure {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .top-class__body {
    grid-column: 2;
    grid-row: 1;
  }

  .top-class__figure img {
    aspect-ratio: 4 / 3;
  }

  .top-class__label,
  .top-class__name {
    text-align: left;
  }

  .top-class__label {
    margin-bottom: 10px;
  }

  .top-class__name {
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .top-class__text {
    font-size: 1rem;
  }

  .top-link-more-wrap {
    justify-content: flex-start;
    margin-top: 28px;
  }

  /* ---- Instagram ---- */

  .top-insta {
    box-sizing: border-box;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 80px;
    padding: 72px 40px;
  }

  .top-insta .top-heading {
    max-width: none;
    margin: 0 0 40px;
  }

  .top-insta__grid {
    max-width: none;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .top-insta .top-more-btn-wrap {
    max-width: none;
    margin: 40px 0 0;
  }

  /* ---- 学校説明会誘導 ---- */

  .top-setsumei {
    padding: 140px 40px;
  }

  .top-setsumei__card {
    display: grid;
    grid-template-columns: minmax(0, 360fr) minmax(0, 560fr);
    column-gap: 48px;
    align-items: start;
    max-width: 920px;
    margin: 0 auto;
    padding: 56px 64px;
  }

  .top-setsumei__heading {
    grid-column: 1 / -1;
    margin-bottom: 32px;
    text-align: center;
  }

  .top-setsumei__figure {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  .top-setsumei__text {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 0.9375rem;
  }

  .top-setsumei .top-more-btn-wrap {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: 32px;
  }

  /* ---- ??????????? ---- */

  .top-faq-teaser {
    padding: 72px 40px 0;
  }

  .top-faq-teaser img {
    max-width: 340px;
  }

  .top-qa {
    padding: 24px 40px 100px;
  }

  .top-qa__card {
    max-width: 700px;
    margin: 0 auto;
    padding: 36px 48px;
  }

  .top-qa__heading {
    font-size: 1.25rem;
  }

  /* ---- ???? ---- */

  .top-news {
    padding: 0 40px 120px;
  }

  .top-news .top-heading--simple {
    max-width: 700px;
    margin: 0 auto 32px;
  }

  .top-news__list {
    max-width: 700px;
    margin: 0 auto;
  }

  .top-news .top-more-btn-wrap {
    max-width: 700px;
    margin: 24px auto 0;
  }

  /* ---- よみもの 建築家になるには ---- */

  .top-column {
    padding: 80px 40px 140px;
    background-color: var(--color-white);
  }

  .top-column .top-heading {
    max-width: 1440px;
    margin: 0 auto 40px;
  }

  .top-column__list.howtoarchitect-card-list {
    max-width: 1440px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .top-column .howtoarchitect-card-list__item {
    border-top: none;
  }

  .top-column .howtoarchitect-card__link {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 0;
  }

  .top-column .howtoarchitect-card__thumb {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .top-column .howtoarchitect-card__title {
    padding-right: 0;
    font-size: 0.9375rem;
    font-weight: 400;
  }

  .top-column .howtoarchitect-card__chevron {
    display: none;
  }

  .top-column .top-more-btn-wrap {
    max-width: 1440px;
    margin: 40px auto 0;
  }

  /* ---- 代表メッセージ ---- */

  .top-message {
    max-width: none;
    margin: 0;
    padding: 100px 40px 140px;
    background-color: var(--color-bg);
  }

  .top-message__inner {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
  }

  .top-message__figure {
    width: 65%;
    max-width: none;
  }

  .top-message__figure img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .top-message__card {
    position: absolute;
    top: 50%;
    left: 55%;
    right: 0;
    z-index: 1;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 48px 56px 56px;
    transform: translateY(-50%);
  }

  .top-message__heading {
    margin-bottom: 24px;
    font-size: 1.5rem;
  }

  .top-message__text {
    font-size: 0.875rem;
  }

  .top-message__arrow {
    right: 40px;
    bottom: 32px;
  }
}

/* ==========================================================================
   How to Architect???????????????
   ========================================================================== */

.page-main--howtoarchitect {
  padding: 12px 0 56px;
}

.howtoarchitect-page {
  max-width: var(--container-max);
  margin: 0 auto;
}

.howtoarchitect-page > .breadcrumb {
  margin-bottom: 1.5rem;
}

.howtoarchitect-mv {
  padding: 0 0 0 20px;
  overflow: hidden;
}

.howtoarchitect-mv__stage {
  position: relative;
  min-height: 200px;
  padding-top: 20px;
  padding-bottom: 8px;
}

.howtoarchitect-mv__title-panel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  box-sizing: border-box;
  width: 75%;
  max-width: none;
  margin-bottom: 0;
  padding: 10px 14px 12px;
  background-color: var(--color-white);
}

.howtoarchitect-mv__page-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.howtoarchitect-mv__page-title-group {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.howtoarchitect-mv__page-title-text {
  display: block;
}

.howtoarchitect-mv__page-title-main,
.howtoarchitect-mv__page-title-sub {
  display: block;
}

.howtoarchitect-mv__page-title-main {
  margin-bottom: 0.2em;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.howtoarchitect-mv__page-title-sub {
  font-size: clamp(1rem, 2.5vw + 0.75rem, 1.5rem);
  white-space: nowrap;
}

.howtoarchitect-mv__accent {
  color: var(--color-accent);
}

.howtoarchitect-mv__page-title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.howtoarchitect-mv__visual {
  position: relative;
  z-index: 1;
  width: 75%;
  margin: 0 0 0 auto;
  overflow: hidden;
  color: var(--color-white);
  aspect-ratio: auto;
  min-height: 320px;
}

.howtoarchitect-mv__visual-img {
  position: absolute;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  vertical-align: middle;
  inset: 0;
  object-fit: cover;
}

.howtoarchitect-mv__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.45);
}

.howtoarchitect-mv__visual-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 68px 20px 12px;
  text-align: left;
}

.howtoarchitect-mv__lead {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.65;
}

.howtoarchitect-mv__lead-br {
  display: block;
}

.howtoarchitect-mv__desc {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.9;
  text-align: left;
}

.howtoarchitect-list {
  padding: 48px 20px 0;
}

.howtoarchitect-list__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.howtoarchitect-list__heading {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.howtoarchitect-list__status {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: center;
}

.howtoarchitect-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.howtoarchitect-card-list__item + .howtoarchitect-card-list__item {
  border-top: 1px solid var(--color-border);
}

.howtoarchitect-card__link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.howtoarchitect-card__link:hover {
  opacity: 0.75;
}

.howtoarchitect-card__thumb {
  position: relative;
  flex: 0 0 42%;
  max-width: 200px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  line-height: 0;
}

.howtoarchitect-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.howtoarchitect-card__title {
  flex: 1 1 auto;
  margin: 0;
  padding-right: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.howtoarchitect-card__chevron {
  flex-shrink: 0;
  align-self: flex-end;
  width: 8px;
  height: 8px;
  margin-bottom: 6px;
  border-top: 1.5px solid var(--color-text);
  border-right: 1.5px solid var(--color-text);
  transform: rotate(45deg);
}

.howtoarchitect-list__more {
  margin-top: 40px;
}

.howtoarchitect-list__back {
  max-width: var(--container-max);
  margin: 48px auto 0;
  padding: 0 20px;
  text-align: center;
}

.howtoarchitect-list__back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 14px 32px;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.howtoarchitect-list__back-link:hover {
  opacity: 0.7;
}

.howtoarchitect-list__back-text {
  text-align: center;
  line-height: 1.6;
}

.howtoarchitect-list__back-arrow {
  flex-shrink: 0;
  width: 74px;
  height: auto;
}

.howtoarchitect-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  width: auto;
  max-width: 280px;
  margin: 0 auto;
  padding: 12px 48px 10px;
  border: 2px solid var(--color-border);
  border-radius: 0;
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}

.howtoarchitect-more-btn:hover {
  opacity: 0.7;
}

.howtoarchitect-more-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.howtoarchitect-more-btn__icon {
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transform: rotate(45deg);
}

.howtoarchitect-category {
  max-width: var(--container-max);
  margin: 56px auto 0;
  padding: 0 20px;
}

.howtoarchitect-category__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 0;
  border-bottom: none;
}

.howtoarchitect-category__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

.howtoarchitect-category__label {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.howtoarchitect-category__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--color-border);
}

.howtoarchitect-category__link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 16px 0;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-decoration: none;
  transition: opacity 0.2s;
}

.howtoarchitect-category__item + .howtoarchitect-category__item {
  border-top: 1px solid var(--color-border);
}

.howtoarchitect-category__link:hover {
  opacity: 0.7;
}

.howtoarchitect-category__link-text {
  flex: 0 1 auto;
}

.howtoarchitect-category__arrow {
  flex-shrink: 0;
  display: block;
  width: 56px;
  height: auto;
}

@media (max-width: 767px) {
  .howtoarchitect-mv {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .howtoarchitect-mv__title-panel {
    left: 0;
  }

  .howtoarchitect-mv__page-title-group {
    gap: 10px;
  }

  .howtoarchitect-mv__visual-inner {
    padding: 96px 16px 24px;
    position: relative;
    inset: auto;
    min-height: 320px;
    justify-content: flex-start;
  }

  .howtoarchitect-category__list {
    border-bottom: 1px solid var(--color-border);
  }

  .howtoarchitect-category__item + .howtoarchitect-category__item {
    border-top: none;
  }

  .howtoarchitect-category__link {
    justify-content: space-between;
  }

  .howtoarchitect-category__link-text {
    flex: 1 1 auto;
  line-height: 1.8;
  }

  .howtoarchitect-category__arrow {
    margin-left: auto;
  }
}

@media (max-width: 390px) {
  .howtoarchitect-mv__page-title-group {
    gap: 8px;
  }

  .howtoarchitect-mv__page-title-sub {
    font-size: 0.9375rem;
  }
}

@media (max-width: 320px) {
  .howtoarchitect-mv__page-title-sub {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .page-main--howtoarchitect {
    padding: 12px 0 80px;
  }

  .howtoarchitect-page > .breadcrumb {
    margin-bottom: 2rem;
    padding: 0 40px;
  }

  .howtoarchitect-mv {
    padding: 0;
  }

  .howtoarchitect-mv__stage {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    padding: 0 0 8px;
    container-type: inline-size;
    container-name: howtoarchitect-mv;
  }

  .howtoarchitect-mv__visual {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 65%;
    margin: 0 0 0 35%;
    aspect-ratio: auto;
    min-height: 320px;
    overflow: hidden;
  }

  .howtoarchitect-mv__visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .howtoarchitect-mv__title-panel {
    position: absolute;
    top: 20px;
    left: 2.777%; /* ? 40px / 1440px */
    z-index: 2;
    box-sizing: border-box;
    width: 52%;
    max-width: none;
    padding: 16px 28px 18px;
    padding: 1.1cqi 1.9cqi 1.25cqi;
  }

  .howtoarchitect-mv__page-title-group {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    gap: 1.4cqi;
    width: 100%;
  }

  .howtoarchitect-mv__page-title-main {
    margin-bottom: 0.2em;
    font-size: 1.25rem;
    font-size: clamp(1rem, 2.2cqi, 1.25rem);
  }

  .howtoarchitect-mv__page-title-sub {
    font-size: 2rem;
    font-size: clamp(1.25rem, 3.4cqi, 2rem);
  }

  .howtoarchitect-mv__page-title-line {
    width: 120px;
    width: clamp(72px, 8.3cqi, 120px);
    height: auto;
  }

  .howtoarchitect-mv__visual-inner {
    position: relative;
    inset: auto;
    min-height: 320px;
    justify-content: flex-start;
    padding: 200px 48px 28px;
    text-align: left;
  }

  .howtoarchitect-mv__lead {
    margin-bottom: 28px;
    font-size: 1.5rem;
    font-size: clamp(1.125rem, 2.5cqi, 1.5rem);
  }

  .howtoarchitect-mv__lead-br {
    display: none;
  }

  .howtoarchitect-mv__desc {
    margin: 0;
    font-size: 0.875rem;
    font-size: clamp(0.8125rem, 1.5cqi, 0.875rem);
    text-align: left;
  }

  .howtoarchitect-list {
    padding: 64px 40px 0;
  }

  .howtoarchitect-list__heading {
    margin-bottom: 28px;
    font-size: 1.5rem;
  }

  .howtoarchitect-card-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px 20px;
  }

  .howtoarchitect-card-list__item + .howtoarchitect-card-list__item {
    border-top: none;
  }

  .howtoarchitect-card__link {
    flex-direction: column;
    gap: 16px;
    padding: 0 0 12px;
  }

  .howtoarchitect-card__thumb {
    flex: none;
    max-width: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  }

  .howtoarchitect-card__title {
    padding-right: 0;
    font-size: 1rem;
    line-height: 1.7;
  }

  .howtoarchitect-card__chevron {
    display: none;
  }

  .howtoarchitect-list__more {
    margin-top: 48px;
  }

  .howtoarchitect-list__back {
    margin-top: 64px;
    padding: 0 40px;
  }

  .howtoarchitect-category {
    margin-top: 80px;
    padding: 0 40px;
  }

  .howtoarchitect-category__head {
    margin-bottom: 0;
  }

  .howtoarchitect-category__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 32px;
    border-bottom: 1px solid var(--color-border);
  }

  .howtoarchitect-category__item + .howtoarchitect-category__item {
    border-top: none;
  }

  .howtoarchitect-category__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 24px 0 20px;
    font-size: 0.9375rem;
  }

  .howtoarchitect-category__arrow {
    width: 74px;
  }
}

/* ==========================================================================
   How to Architect Detail????????
   ========================================================================== */

.page-main--howtoarchitect-detail {
  padding: 12px 0 0;
  background-color: var(--color-bg);
}

.ha-detail {
  max-width: var(--container-max);
  margin: 0 auto;
}

.ha-detail > .breadcrumb {
  margin-bottom: 1.5rem;
}

.ha-detail__status {
  margin: 40px 20px;
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.ha-detail__article {
  padding-bottom: 0;
}

/* ---- Hero ---- */

.ha-detail-hero {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.ha-detail-hero__media {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.ha-detail-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Header / Intro ---- */

.ha-detail-header {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 20px 24px;
  background-color: var(--color-white);
}

.ha-detail-header__category {
  display: inline-block;
  margin: 0 0 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.ha-detail-header__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.ha-detail-intro {
  margin: 28px 20px 0;
  font-size: 0.9375rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.ha-detail-intro > *:first-child {
  margin-top: 0;
}

.ha-detail-intro > *:last-child {
  margin-bottom: 0;
}

.ha-detail-intro h2,
.ha-detail-intro h3 {
  margin: 1.5em 0 0.75em;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
}

.ha-detail-intro p {
  margin: 0 0 1em;
}

.ha-detail-intro strong {
  font-weight: 700;
}

/* ---- Actions / Accordion ---- */

.ha-detail-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px;
}

.ha-detail-actions--before {
  margin-top: 40px;
}

.ha-detail-actions--before[hidden] {
  display: none;
}

.ha-detail-actions--back {
  margin-top: 40px;
  margin-bottom: 48px;
  gap: 20px;
}

.ha-detail-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(100%, 260px);
  padding: 14px 32px 12px;
  border: 2px solid var(--color-border);
  background-color: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ha-detail-accordion-btn:hover {
  opacity: 0.7;
}

.ha-detail-accordion-btn__icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transform: rotate(45deg);
  transition: transform 0.35s ease;
}

.ha-detail-close-btn[hidden] {
  display: none;
}

.ha-detail-close-btn:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(100%, 260px);
  padding: 14px 32px 12px;
  border: 2px solid var(--color-border);
  background-color: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ha-detail-close-btn:hover {
  opacity: 0.7;
}

.ha-detail-close-btn__icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-right: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transform: rotate(225deg);
}

.ha-detail-accordion {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}

.ha-detail-accordion.is-open {
  grid-template-rows: 1fr;
}

.ha-detail-accordion__inner {
  overflow: hidden;
  min-height: 0;
}

.ha-detail-accordion.is-open .ha-detail-accordion__inner {
  overflow: visible;
}

.ha-detail-back-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: min(100%, 260px);
  padding: 14px 32px;
  box-sizing: border-box;
  border: 2px solid var(--color-border);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-align: center;
  transition: opacity 0.2s;
}

.ha-detail-back-btn:hover {
  opacity: 0.7;
}

.ha-detail-back-btn__label,
.ha-detail-back-btn__sublabel {
  display: block;
}

.ha-detail-back-btn__arrow {
  flex-shrink: 0;
  display: block;
  width: 56px;
  height: auto;
  margin-top: 2px;
}

/* ---- Content (rich editor) ---- */

.ha-detail-content {
  margin: 64px 20px 0;
  font-size: 0.9375rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.ha-detail-content > *:first-child {
  margin-top: 0;
}

.ha-detail-content > *:last-child {
  margin-bottom: 0;
}

.ha-detail-content h2,
.ha-detail-content h3,
.ha-detail-content h4 {
  margin: 2em 0 0.85em;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.ha-detail-content h2 {
  margin: 3.5rem 0 1.25rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  font-size: 1.0625rem;
  font-weight: 700;
}

.ha-detail-content h3 {
  font-size: 1.0625rem;
}

.ha-detail-content p {
  margin: 0 0 1.1em;
}

.ha-detail-content ul,
.ha-detail-content ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.ha-detail-content ul {
  list-style: disc;
}

.ha-detail-content ol {
  list-style: decimal;
}

.ha-detail-content li {
  margin-bottom: 0.4em;
}

.ha-detail-content figure {
  margin: 1.75em 0;
}

.ha-detail-content img {
  display: block;
  width: 100%;
  height: auto;
}

.ha-detail-content figcaption {
  margin-top: 0.5em;
  font-size: 0.8125rem;
  line-height: 1.6;
  opacity: 0.8;
}

.ha-detail-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ha-detail-content a:hover {
  opacity: 0.7;
}

.ha-detail-content strong {
  font-weight: 700;
}

.ha-detail-content table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.ha-detail-content th,
.ha-detail-content td {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  vertical-align: top;
  text-align: left;
}

.ha-detail-content th {
  background-color: var(--color-bg-subtle);
  font-weight: 600;
}

/* content カスタムクラス（背景） */
.ha-detail-content .bg-white,
.ha-detail-content .bg-beige-\#EAE5DB,
.ha-detail-content [class*="bg-beige-#EAE5DB"] {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 1.5em 0;
  padding: 24px 20px;
}

.ha-detail-content .bg-white {
  background-color: #FFFFFF;
}

.ha-detail-content .bg-beige-\#EAE5DB,
.ha-detail-content [class*="bg-beige-#EAE5DB"] {
  background-color: #EAE5DB;
}

/* ---- Relation cards ---- */

.ha-detail-relation {
  margin: 80px 20px 0;
}

.ha-detail-relation + .ha-detail-relation {
  margin-top: 56px;
}

.ha-detail-relation__lead {
  margin-bottom: 24px;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.ha-detail-relation__lead > *:first-child {
  margin-top: 0;
}

.ha-detail-relation__lead > *:last-child {
  margin-bottom: 0;
}

.ha-detail-relation__lead h2,
.ha-detail-relation__lead h3 {
  margin: 0 0 0.75em;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.55;
}

.ha-detail-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ha-detail-card {
  background-color: var(--color-white);
  height: 100%;
}

.ha-detail-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 16px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.ha-detail-card__link:hover {
  opacity: 0.75;
}

.ha-detail-card__thumb {
  margin-bottom: 12px;
  line-height: 0;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
}

.ha-detail-card__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ha-detail-card__category {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.ha-detail-card__name {
  margin: 0 16px 6px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ha-detail-card__title {
  margin: 0 16px;
  flex: 1;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.ha-detail-card__date {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.ha-detail-card__chevron {
  display: none;
}

/* 関連記事・参照卒業生：スマホは左サムネ／右テキストの横並び */
.ha-detail-relation--articles .ha-detail-card-list,
.ha-detail-relation--obog .ha-detail-card-list {
  gap: 0;
}

.ha-detail-relation--articles .ha-detail-card-list__item + .ha-detail-card-list__item,
.ha-detail-relation--obog .ha-detail-card-list__item + .ha-detail-card-list__item {
  border-top: 1px solid var(--color-border);
}

.ha-detail-relation--articles .ha-detail-card,
.ha-detail-relation--obog .ha-detail-card {
  background-color: transparent;
}

.ha-detail-relation--articles .ha-detail-card__link,
.ha-detail-relation--obog .ha-detail-card__link {
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  height: auto;
  padding: 24px 0;
}

.ha-detail-relation--articles .ha-detail-card__thumb,
.ha-detail-relation--obog .ha-detail-card__thumb {
  position: relative;
  flex: 0 0 42%;
  max-width: 200px;
  margin-bottom: 0;
  aspect-ratio: 4 / 3;
}

.ha-detail-relation--articles .ha-detail-card__thumb img,
.ha-detail-relation--obog .ha-detail-card__thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.ha-detail-relation--obog .ha-detail-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 8px;
}

.ha-detail-relation--articles .ha-detail-card__title {
  flex: 1 1 auto;
  margin: 0;
  padding-right: 8px;
  font-weight: 700;
  line-height: 1.65;
}

.ha-detail-relation--obog .ha-detail-card__name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.ha-detail-relation--obog .ha-detail-card__meta {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.ha-detail-relation--obog .ha-detail-card__title {
  margin: 0;
  font-weight: 700;
  line-height: 1.65;
}

.ha-detail-relation--articles .ha-detail-card__chevron,
.ha-detail-relation--obog .ha-detail-card__chevron {
  display: block;
  flex-shrink: 0;
  align-self: flex-end;
  width: 8px;
  height: 8px;
  margin-bottom: 6px;
  border-top: 1.5px solid var(--color-text);
  border-right: 1.5px solid var(--color-text);
  transform: rotate(45deg);
}

/* ---- FAQ ---- */

.ha-detail-faq {
  margin: 0 20px 56px;
  padding: 36px 24px;
  background-color: var(--color-white);
}

.ha-detail-faq__heading {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-text);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ha-detail-faq__body {
  font-size: 0.9375rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.ha-detail-faq__body > *:first-child {
  margin-top: 0;
}

.ha-detail-faq__body > *:last-child {
  margin-bottom: 0;
}

.ha-detail-faq__body h2,
.ha-detail-faq__body h3 {
  margin: 1.75em 0 0.6em;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.ha-detail-faq__body h2:first-child,
.ha-detail-faq__body h3:first-child {
  margin-top: 0;
}

.ha-detail-faq__body p {
  margin: 0 0 0.25em;
}

.ha-detail-faq__body p + h2,
.ha-detail-faq__body p + h3 {
  margin-top: 1.75em;
}

/* ---- Setsumeikai CTA ---- */

.ha-detail-setsumeikai {
  margin: 0 0 40px;
  padding: 0;
}

.ha-detail-setsumeikai__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 0 8px;
  background-color: var(--color-white);
}

.ha-detail-setsumeikai__figure {
  margin: 0;
  line-height: 0;
}

.ha-detail-setsumeikai__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ha-detail-setsumeikai__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 20px 28px;
  text-align: left;
}

.ha-detail-setsumeikai__lead {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-align: left;
}

.ha-detail-setsumeikai__heading {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: left;
}

.ha-detail-setsumeikai__heading-link {
  color: var(--color-accent);
}

.ha-detail-setsumeikai__heading-link:hover {
  opacity: 0.75;
}

.ha-detail-setsumeikai__text {
  margin: 0 0 24px;
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  text-align: left;
}

.ha-detail-more-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 12px;
  min-width: 200px;
  padding: 14px 28px;
  border: 1px solid var(--color-text);
  background-color: var(--color-white);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.ha-detail-more-btn img {
  width: 74px;
  height: auto;
}

.ha-detail-more-btn:hover {
  opacity: 0.7;
}

/* ---- About CTA ---- */

.ha-detail-about {
  margin: 0;
  padding: 0 20px 56px;
}

.ha-detail-about__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 0;
  padding: 20px 24px;
  background-color: #5C4E42;
  color: var(--color-white);
  transition: opacity 0.2s;
}

.ha-detail-about__link:hover {
  opacity: 0.88;
}

.ha-detail-about__text {
  align-self: flex-start;
}

.ha-detail-about__lead {
  margin: 0 0 6px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.ha-detail-about__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.ha-detail-about__more {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  align-self: flex-end;
  gap: 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ha-detail-about__more img {
  width: 74px;
  height: auto;
}

/* ---- Detail PC ---- */

@media (min-width: 768px) {
  .page-main--howtoarchitect-detail {
    padding: 24px 0 0;
  }

  .ha-detail > .breadcrumb {
    margin-bottom: 2rem;
    padding: 0 40px;
  }

  .ha-detail-hero,
  .ha-detail-header {
    width: calc(100% - 80px);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }

  .ha-detail-hero {
    padding: 0;
  }

  .ha-detail-header {
    margin-top: 40px;
    padding: 24px 40px 28px;
  }

  .ha-detail-header__category {
    margin-bottom: 20px;
    font-size: 0.9375rem;
  }

  .ha-detail-header__title {
    max-width: none;
    font-size: 1.375rem;
    line-height: 1.75;
  }

  .ha-detail-intro {
    max-width: 800px;
    margin: 36px auto 0;
    padding: 0 40px;
    font-size: 1rem;
  }

  .ha-detail-intro h2,
  .ha-detail-intro h3 {
    font-size: 1.125rem;
  }

  .ha-detail-actions--before {
    margin-top: 48px;
  }

  .ha-detail-actions--back {
    margin-top: 48px;
    margin-bottom: 64px;
    gap: 24px;
  }

  .ha-detail-accordion-btn,
  .ha-detail-close-btn:not([hidden]) {
    width: min(100%, 360px);
  }

  .ha-detail-back-btn {
    width: min(100%, 360px);
  }

  .ha-detail-content {
    max-width: 800px;
    margin: 96px auto 0;
    padding: 0 40px;
    font-size: 1rem;
  }

  .ha-detail-content h2 {
    margin-top: 4rem;
    font-size: 1.125rem;
  }

  .ha-detail-content h3 {
    font-size: 1.125rem;
  }

  .ha-detail-content .bg-white,
  .ha-detail-content .bg-beige-\#EAE5DB,
  .ha-detail-content [class*="bg-beige-#EAE5DB"] {
    margin: 2em 0;
    padding: 32px 28px;
  }

  .ha-detail-relation {
    box-sizing: border-box;
    width: calc(100% - 80px);
    max-width: 960px;
    margin: 112px auto 0;
    padding: 0;
  }

  .ha-detail-relation + .ha-detail-relation {
    margin-top: 72px;
  }

  .ha-detail-card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 28px;
  }

  .ha-detail-card-list__item {
    display: flex;
    flex: 0 1 calc((100% - 56px) / 3);
    min-width: 220px;
    max-width: 300px;
  }

  .ha-detail-card {
    width: 100%;
  }

  .ha-detail-relation--articles .ha-detail-card-list {
    gap: 32px 28px;
  }

  .ha-detail-relation--articles .ha-detail-card-list__item + .ha-detail-card-list__item {
    border-top: none;
  }

  .ha-detail-relation--articles .ha-detail-card {
    background-color: var(--color-white);
  }

  .ha-detail-relation--articles .ha-detail-card__link {
    flex-direction: column;
    gap: 0;
    height: 100%;
    padding: 0 0 16px;
  }

  .ha-detail-relation--articles .ha-detail-card__thumb {
    flex: none;
    max-width: none;
    width: 100%;
    margin-bottom: 12px;
    aspect-ratio: auto;
  }

  .ha-detail-relation--articles .ha-detail-card__thumb img {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .ha-detail-relation--articles .ha-detail-card__title {
    margin: 0 16px;
    padding-right: 0;
    font-weight: 600;
    line-height: 1.55;
  }

  .ha-detail-relation--articles .ha-detail-card__chevron {
    display: none;
  }

  .ha-detail-relation--obog .ha-detail-card-list {
    gap: 32px 28px;
  }

  .ha-detail-relation--obog .ha-detail-card-list__item + .ha-detail-card-list__item {
    border-top: none;
  }

  .ha-detail-relation--obog .ha-detail-card {
    background-color: var(--color-white);
  }

  .ha-detail-relation--obog .ha-detail-card__link {
    flex-direction: column;
    gap: 0;
    height: 100%;
    padding: 0 0 16px;
  }

  .ha-detail-relation--obog .ha-detail-card__thumb {
    flex: none;
    max-width: none;
    width: 100%;
    margin-bottom: 12px;
    aspect-ratio: auto;
  }

  .ha-detail-relation--obog .ha-detail-card__thumb img {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .ha-detail-relation--obog .ha-detail-card__body {
    display: block;
    padding: 0 16px;
  }

  .ha-detail-relation--obog .ha-detail-card__name {
    margin: 0 0 6px;
    font-size: 0.9375rem;
  }

  .ha-detail-relation--obog .ha-detail-card__meta {
    margin: 0 0 6px;
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .ha-detail-relation--obog .ha-detail-card__title {
    margin: 0;
    font-weight: 600;
    line-height: 1.55;
  }

  .ha-detail-relation--obog .ha-detail-card__chevron {
    display: none;
  }

  .ha-detail-faq {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 48px 56px;
  }

  .ha-detail-faq__heading {
    margin-bottom: 28px;
    font-size: 1.25rem;
  }

  .ha-detail-setsumeikai {
    max-width: 800px;
    margin: 0 auto 56px;
    padding: 0 40px;
  }

  .ha-detail-setsumeikai__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }

  .ha-detail-setsumeikai__figure img {
    height: 100%;
    min-height: 280px;
    aspect-ratio: auto;
  }

  .ha-detail-setsumeikai__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 36px;
    text-align: left;
  }

  .ha-detail-setsumeikai__heading {
    font-size: 1.625rem;
  }

  .ha-detail-setsumeikai__text {
    margin-bottom: 28px;
  }

  .ha-detail-more-btn {
    align-self: center;
  }

  .ha-detail-about {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px 80px;
  }

  .ha-detail-about__link {
    padding: 24px 32px;
    gap: 24px;
  }

  .ha-detail-about__title {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .ha-detail-about__lead {
    font-size: 0.875rem;
  }

  .ha-detail-about__title {
    font-size: 1.3125rem;
  }
}


/* ==========================================================================
   Result (?A?E????)
   ========================================================================== */

.page-main--result {
  padding: 0 0 56px;
}

/* ---- Hero ---- */

.result-hero {
  position: relative;
  background-image: url("/images/result_header.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-white);
}

.result-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.result-hero > * {
  position: relative;
  z-index: 1;
}

.result-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.result-hero__title {
  margin: 0 0 34px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.result-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.result-hero__title-text {
  display: block;
}

.result-hero__title-main,
.result-hero__title-sub {
  display: block;
}

.result-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.result-hero__title-main {
  margin-bottom: 0.35em;
  font-size: clamp(0.8125rem, 2.5vw + 0.625rem, 1.5rem);
  white-space: nowrap;
}

.result-hero__title-sub {
  font-size: 1rem;
}

.result-hero__body {
  max-width: 640px;
}

.result-hero__lead {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.result-hero__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* ---- Chart / Image ---- */

.result-chart {
  padding: 40px 0 0;
}

.result-chart__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.result-chart__inner img {
  display: block;
  width: 100%;
  height: auto;
}

.result-image {
  padding: 32px 0 0;
}

.result-image__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.result-image__inner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Employment list ---- */

.result-list {
  padding: 48px 0 0;
}

.result-list__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.result-list__card {
  padding: 32px 24px 28px;
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.result-list__heading {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.result-list__body {
  max-height: 280px;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.result-list__body.is-open {
  max-height: 3000px;
}

.result-list__firms {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 1;
  column-gap: 32px;
}

.result-list__firms li {
  break-inside: avoid;
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: left;
}

.result-list__more {
  margin-top: 24px;
}

.result-list-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 12px 24px;
  border: 1px solid var(--color-text);
  border-radius: 0;
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.result-list-more-btn:hover {
  opacity: 0.7;
}

.result-list-more-btn__icon {
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.result-list-more-btn.is-open .result-list-more-btn__icon {
  margin-top: 4px;
  transform: rotate(-135deg);
}

/* ---- Comment illustration ---- */

.result-comment {
  padding: 40px 0 0;
}

.result-comment__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.result-comment__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Graduate interview ---- */

.result-interview {
  padding: 64px 0 0;
}

.result-interview__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.result-interview__header {
  padding: 0 20px;
}

.result-interview__lead {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.result-interview__heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.result-interview__status {
  margin: 28px 20px 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: center;
}

.result-interview__scroll {
  margin: 28px 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6%;
  scrollbar-width: none;
}

.result-interview__scroll::-webkit-scrollbar {
  display: none;
}

.result-interview__list {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 6% 8px;
  list-style: none;
}

.result-interview__item {
  flex: 0 0 88%;
  max-width: none;
  scroll-snap-align: center;
}

.result-interview-card {
  height: 100%;
  overflow: hidden;
  background-color: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.result-interview-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.result-interview-card__link:hover {
  opacity: 0.75;
}

.result-interview-card__thumb {
  aspect-ratio: 520 / 245;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
  line-height: 0;
}

.result-interview-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-interview-card__body {
  padding: 16px 18px 20px;
}

.result-interview-card__name {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.result-interview-card__meta {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #666666;
}

.result-interview-card__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.result-interview__more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  padding: 0 20px;
}

.result-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 220px;
  padding: 14px 28px;
  border: 1px solid var(--color-text);
  background-color: transparent;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.result-more-btn img {
  width: 74px;
  height: auto;
}

.result-more-btn:hover {
  opacity: 0.7;
}

/* ---- Architect interview ---- */

.result-architect {
  padding: 72px 0 0;
}

.result-architect__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.result-architect__lead {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.result-architect__heading {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.result-architect__intro {
  margin: 0 0 32px;
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.result-architect__videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.result-architect__video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--color-bg-subtle);
}

.result-architect__video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.result-architect__video-caption {
  margin: 10px 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.result-architect__articles {
  margin-top: 48px;
  display: grid;
  gap: 48px;
}

.result-architect-item {
  padding: 28px 20px;
  background-color: var(--color-white);
}

.result-architect-item__quote {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.65;
}

.result-architect-item__br {
  display: none;
}

.result-architect-item__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.result-architect-item__photo {
  display: block;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.result-architect-item__meta {
  min-width: 0;
}

.result-architect-item__role {
  margin: 0 0 4px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.result-architect-item__name {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.result-architect-item__office {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.result-architect-item__text {
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.result-architect-item__text p {
  margin: 0 0 1em;
}

.result-architect-item__text p:last-child {
  margin-bottom: 0;
}

/* ---- Support ---- */

.result-support.about-important {
  margin-top: 72px;
  padding: 64px 0 48px;
}

.result-support__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.result-support__lead {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.result-support__heading {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.result-support__intro {
  margin: 0 0 40px;
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.result-support__blocks {
  display: grid;
  gap: 48px;
}

.result-support-block__heading {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.result-support-block__layout {
  display: grid;
  gap: 20px;
}

.result-support-block__figure {
  margin: 0;
  line-height: 0;
}

.result-support-block__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.result-support-block__body {
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.result-support-block__body p {
  margin: 0 0 1em;
}

.result-support-block__body p:last-child {
  margin-bottom: 0;
}

.result-support-block__lead-text {
  margin-bottom: 12px !important;
}

.result-support-block__em {
  color: var(--color-accent);
  font-weight: 700;
}

/* ---- Setsumeikai CTA ---- */

.result-setsumeikai {
  margin-top: 64px;
}

.result-setsumeikai .ha-detail-setsumeikai__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.result-setsumeikai .ha-detail-setsumeikai__lead,
.result-setsumeikai .ha-detail-setsumeikai__heading {
  text-align: left;
}

.result-setsumeikai .ha-detail-more-btn {
  display: inline-flex;
  align-self: center;
}

/* ---- Result PC ---- */

@media (min-width: 768px) {
  .page-main--result {
    padding: 0 0 80px;
  }

  .result-hero {
    background-position: center top;
  }

  .result-hero__inner {
    padding: 48px 40px 72px;
  }

  .result-hero__title {
    margin-bottom: 42px;
  }

  .result-hero__title-group {
    gap: 20px;
  }

  .result-hero__title-main {
    font-size: 2rem;
  }

  .result-hero__title-sub {
    font-size: 1.25rem;
  }

  .result-hero__lead {
    font-size: 1.125rem;
    margin-bottom: 20px;
  }

  .result-hero__text {
    font-size: 0.9375rem;
    line-height: 2;
  }

  .result-hero__title-line {
    width: 120px;
  }

  .result-chart {
    padding-top: 56px;
  }

  .result-chart__inner,
  .result-list__inner,
  .result-architect__inner,
  .result-support__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .result-image {
    padding-top: 40px;
  }

  .result-image__inner {
    max-width: 700px;
    padding-left: 0;
    padding-right: 0;
  }

  .result-list {
    padding-top: 56px;
  }

  .result-list__card {
    padding: 48px 48px 40px;
  }

  .result-list__heading {
    margin-bottom: 36px;
    font-size: 1.5rem;
  }

  .result-list__body {
    max-height: 220px;
  }

  .result-list__firms {
    columns: 3;
  }

  .result-list__firms li {
    text-align: left;
    font-size: 0.875rem;
  }

  .result-list__more {
    margin-top: 32px;
  }

  .result-comment {
    padding-top: 56px;
  }

  .result-comment__inner {
    max-width: 700px;
    padding: 0 40px;
  }

  .result-interview {
    padding-top: 80px;
  }

  .result-interview__status {
    margin-top: 40px;
    padding: 0 40px;
  }

  .result-interview__header {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
  }

  .result-interview__lead {
    font-size: 1rem;
  }

  .result-interview__heading {
    font-size: 1.875rem;
  }

  .result-interview__scroll {
    margin-top: 40px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .result-interview__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
  }

  .result-interview__item {
    flex: none;
    max-width: none;
  }

  .result-interview__more {
    margin-top: 40px;
  }

  .result-architect {
    padding-top: 96px;
  }

  .result-architect__lead {
    font-size: 1rem;
  }

  .result-architect__heading {
    font-size: 1.875rem;
  }

  .result-architect__intro {
    margin-bottom: 40px;
    font-size: 0.9375rem;
  }

  .result-architect__videos {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .result-architect__video-caption {
    font-size: 0.8125rem;
  }

  .result-architect__articles {
    margin-top: 72px;
    gap: 80px;
  }

  .result-architect-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-areas:
      "quote quote"
      "profile text";
    column-gap: 48px;
    row-gap: 28px;
    padding: 40px 48px;
  }

  .result-architect-item__quote {
    grid-area: quote;
    margin: 0;
    font-size: 1.375rem;
  }

  .result-architect-item__br {
    display: inline;
  }

  .result-architect-item__profile {
    grid-area: profile;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
  }

  .result-architect-item__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .result-architect-item__role {
    font-size: 0.8125rem;
  }

  .result-architect-item__name {
    font-size: 1.0625rem;
  }

  .result-architect-item__office {
    font-size: 0.8125rem;
  }

  .result-architect-item__text {
    grid-area: text;
    font-size: 0.9375rem;
  }

  .result-support.about-important {
    margin-top: 96px;
    padding: 48px 0 100px;
    --about-important-top-offset: 5px;
  }

  .result-support__lead {
    font-size: 1rem;
  }

  .result-support__heading {
    font-size: 1.875rem;
  }

  .result-support__intro {
    max-width: 960px;
    margin-bottom: 56px;
    font-size: 0.9375rem;
  }

  .result-support__blocks {
    gap: 64px;
  }

  .result-support-block__heading {
    margin-bottom: 28px;
    font-size: 1.25rem;
  }

  .result-support-block__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: start;
  }

  .result-support-block__body {
    padding-top: 4px;
    font-size: 0.9375rem;
  }

  .result-setsumeikai {
    max-width: 700px;
    margin: 96px auto 0;
    padding: 0 40px;
  }
}

@media (min-width: 1024px) {
  .result-hero__title-main {
    font-size: 2.25rem;
  }

  .result-hero__title-sub {
    font-size: 1.375rem;
  }

  .result-hero__lead {
    font-size: 1.625rem;
  }

  .result-architect-item {
    grid-template-columns: 260px 1fr;
    column-gap: 56px;
  }
}

@media (max-width: 390px) {
  .result-hero__title-group {
    gap: 10px;
  }

  .result-hero__title-sub {
    font-size: 0.875rem;
  }

  .result-hero__text {
    font-size: 0.75rem;
  }
}

@media (max-width: 320px) {
  .result-hero__title-sub {
    font-size: 0.8125rem;
  }

  .result-hero__text {
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  .result-architect-item__photo {
    width: 140px;
    height: 140px;
  }
}

/* ==========================================================================
   Fee / 募集要項
   ========================================================================== */

.page-main--fee {
  padding: 0 0 56px;
}

.fee-hero {
  position: relative;
  display: grid;
  color: var(--color-white);
}

.fee-hero__bg {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
}

.fee-hero::before {
  content: "";
  grid-area: 1 / 1;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.fee-hero__foreground {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.fee-hero__foreground > .breadcrumb--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.fee-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px;
  width: 100%;
  box-sizing: border-box;
}

.fee-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.fee-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.fee-hero__title-text {
  display: block;
  font-size: 1.5rem;
}

.fee-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.fee-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

.fee-banner {
  margin: 0 0 64px;
}

.fee-banner__link {
  display: block;
  line-height: 0;
  transition: opacity 0.2s;
}

.fee-banner__link:hover {
  opacity: 0.85;
}

.fee-banner__img {
  display: block;
  width: 100%;
  height: auto;
}

.fee-course + .fee-course,
.fee-course + .fee-notice,
.fee-notice + .fee-course,
.fee-course + .fee-section,
.fee-section + .fee-section {
  margin-top: 96px;
}

.fee-course__header {
  margin: 0 0 24px;
}

.fee-course__category {
  margin: 0 0 0.4em;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.fee-course__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.fee-course__term {
  margin: 0.35em 0 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.fee-table {
  display: block;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #E5DBD2;
  table-layout: fixed;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  background-color: var(--color-bg);
}

.fee-table tbody {
  display: block;
  width: 100%;
}

.fee-table tr {
  display: block;
  width: 100%;
}

.fee-table th,
.fee-table td {
  display: block;
  width: 100%;
  margin: 0;
  padding: 18px 16px;
  vertical-align: top;
  text-align: left;
  border: none;
  font-weight: 400;
  box-sizing: border-box;
}

.fee-table th {
  background-color: #E5DBD2;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--color-bg);
}

.fee-table td {
  background-color: var(--color-bg);
  border-bottom: 2px solid #E5DBD2;
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table td > p {
  margin: 0 0 0.5em;
}

.fee-table td > p:last-child {
  margin-bottom: 0;
}

.fee-table__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fee-table__list li {
  position: relative;
  padding-left: 1em;
}

.fee-table__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.fee-table__link {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.fee-table__link:hover {
  opacity: 0.7;
}

.fee-table__chevron {
  font-size: 0.85em;
}

.fee-table__follow {
  margin-top: 0.75em;
}

.fee-notice {
  padding: 24px 20px;
  border-radius: 12px;
  background-color: #E5DBD2;
}

.fee-notice__title {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(62, 53, 45, 0.2);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.fee-notice__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.fee-section {
  scroll-margin-top: calc(var(--site-header-height) + 16px);
}

.fee-section__title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.fee-section__lead {
  margin: 0 0 32px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.fee-subsection + .fee-subsection {
  margin-top: 56px;
}

.fee-subsection__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.fee-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 920px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.fee-nav__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.fee-nav__row--pair {
  width: 100%;
}

.fee-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(100%, 280px);
  margin: 0 auto;
  padding: 14px 20px;
  box-sizing: border-box;
  border: 2px solid var(--color-border);
  background-color: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.fee-nav__link:hover {
  opacity: 0.7;
}

.fee-nav__label {
  display: block;
}

.fee-nav__arrow {
  flex-shrink: 0;
  width: 56px;
  height: auto;
}

@media (max-width: 390px) {
  .fee-hero__title-group {
    gap: 10px;
  }

  .fee-hero__title-text {
    font-size: 1.25rem;
  }
}

@media (max-width: 320px) {
  .fee-hero__title-text {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .page-main--fee {
    padding: 0 0 80px;
  }

  .fee-hero {
    display: block;
  }

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

  .fee-hero::before {
    position: absolute;
    inset: 0;
  }

  .fee-hero__foreground {
    position: relative;
    z-index: 2;
    display: block;
  }

  .fee-hero__foreground > .breadcrumb--hero {
    position: static;
  }

  .fee-hero__inner {
    padding: 48px 40px 72px;
  }

  .fee-hero__title-group {
    gap: 20px;
  }

  .fee-hero__title-text {
    font-size: 2rem;
  }

  .fee-hero__title-line {
    width: 120px;
  }

  .fee-content {
    padding: 64px 40px 0;
  }

  .fee-banner {
    margin-bottom: 80px;
  }

  .fee-course + .fee-course,
  .fee-course + .fee-notice,
  .fee-notice + .fee-course,
  .fee-course + .fee-section,
  .fee-section + .fee-section {
    margin-top: 120px;
  }

  .fee-course__header {
    margin-bottom: 32px;
  }

  .fee-course__category {
    font-size: 1rem;
  }

  .fee-course__title {
    font-size: 1.875em;
  }

  .fee-course__term {
    font-size: 1.125rem;
  }

  .fee-table {
    display: table;
    font-size: 1rem;
  }

  .fee-table tbody {
    display: table-row-group;
  }

  .fee-table tr {
    display: table-row;
  }

  .fee-table th,
  .fee-table td {
    display: table-cell;
    padding: 22px 28px;
  }

  .fee-table th {
    width: 30%;
    white-space: nowrap;
    border-top: 1px solid var(--color-bg);
    border-right: 1px solid var(--color-bg);
    border-bottom: 1px solid var(--color-bg);
    border-left: none;
  }

  .fee-table tr:first-child th {
    border-top: none;
  }

  .fee-table tr:last-child th {
    border-bottom: none;
  }

  .fee-table td {
    width: auto;
    border-top: none;
    border-right: none;
    border-bottom: 2px solid #E5DBD2;
    border-left: none;
  }

  .fee-table tr:last-child td {
    border-bottom: none;
  }

  .fee-notice {
    padding: 32px 40px;
  }

  .fee-section__title {
    margin-bottom: 24px;
  }

  .fee-section__lead {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .fee-subsection + .fee-subsection {
    margin-top: 64px;
  }

  .fee-subsection__title {
    margin-bottom: 20px;
  }

  .fee-nav {
    margin-top: 120px;
    padding: 0 40px;
  }

  .fee-nav__row--pair {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  .fee-nav__row--pair .fee-nav__link {
    width: 280px;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .fee-hero__title-text {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Admission / 入学案内
   ========================================================================== */

.page-main--admission {
  padding: 0 0 56px;
}

.admission-hero {
  position: relative;
  display: grid;
  color: var(--color-white);
}

.admission-hero__bg {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
}

.admission-hero::before {
  content: "";
  grid-area: 1 / 1;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.admission-hero__foreground {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.admission-hero__foreground > .breadcrumb--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.admission-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px;
  width: 100%;
  box-sizing: border-box;
}

.admission-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.admission-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.admission-hero__title-text {
  display: block;
  font-size: 2rem;
}

.admission-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.admission-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

.admission-content__title {
  margin: 0 0 40px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: left;
}

.admission-step {
  padding: 32px 24px;
  border-radius: 12px;
  background-color: var(--color-white);
}

.admission-step--start {
  padding-bottom: 32px;
}

.admission-step__heading {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.admission-step__figure {
  margin: 0 0 24px;
  line-height: 0;
}

.admission-step__figure--schedule + .admission-step__figure--schedule {
  margin-top: 24px;
}

.admission-step__img {
  display: block;
  width: 100%;
  height: auto;
}

.admission-step__body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.admission-step__body > p {
  margin: 0 0 1.25rem;
}

.admission-step__body > p:last-child {
  margin-bottom: 0;
}

.admission-step__lead > p {
  margin: 0 0 1.25rem;
}

.admission-step__lead > p:last-child {
  margin-bottom: 0;
}

.admission-step__note {
  font-size: 0.875rem;
}

.admission-step__notes {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.admission-step__notes li {
  position: relative;
  padding-left: 1em;
}

.admission-step__notes li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
}

.admission-step__divider {
  margin: 32px 0;
  border: none;
  border-top: 1px solid var(--color-border);
}

.admission-step__table-title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.admission-step__address {
  margin-bottom: 0;
}

.admission-step__text-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s;
}

.admission-step__text-link:hover {
  opacity: 0.7;
}

.admission-step__action {
  margin: 32px 0 0;
  text-align: center;
}

.admission-step__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: min(100%, 280px);
  padding: 14px 20px;
  box-sizing: border-box;
  border: 2px solid var(--color-border);
  background-color: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.admission-step__link:hover {
  opacity: 0.7;
}

.admission-step__link-label {
  display: block;
}

.admission-step__link-arrow {
  flex-shrink: 0;
  width: 56px;
  height: auto;
}

.admission-period {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 32px;
}

.admission-period__item {
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  overflow: hidden;
}

.admission-period__label {
  margin: 0;
  padding: 16px 18px;
  background-color: #E5DBD2;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.admission-period__content {
  padding: 18px;
  border-top: 1px solid var(--color-border);
}

.admission-period__date {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.admission-period__sub {
  margin: 0.5em 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.admission-period__note {
  margin: 0.75em 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.admission-period__content > p:first-child {
  margin-top: 0;
}

.admission-arrow {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.admission-arrow__img {
  display: block;
  width: 24px;
  height: auto;
}

.admission-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 920px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.admission-nav__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.admission-nav__row--pair {
  width: 100%;
}

.admission-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(100%, 280px);
  margin: 0 auto;
  padding: 14px 20px;
  box-sizing: border-box;
  border: 2px solid var(--color-border);
  background-color: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.admission-nav__link:hover {
  opacity: 0.7;
}

.admission-nav__label {
  display: block;
}

.admission-nav__arrow {
  flex-shrink: 0;
  width: 56px;
  height: auto;
}

@media (max-width: 390px) {
  .admission-hero__title-group {
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .page-main--admission {
    padding: 0 0 80px;
  }

  .admission-hero {
    display: block;
  }

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

  .admission-hero::before {
    position: absolute;
    inset: 0;
  }

  .admission-hero__foreground {
    position: relative;
    z-index: 2;
    display: block;
  }

  .admission-hero__foreground > .breadcrumb--hero {
    position: static;
  }

  .admission-hero__inner {
    padding: 48px 40px 72px;
  }

  .admission-hero__title-group {
    gap: 20px;
  }

  .admission-hero__title-line {
    width: 120px;
  }

  .admission-content {
    padding: 64px 40px 0;
  }

  .admission-content__title {
    margin-bottom: 56px;
  }

  .admission-step {
    padding: 40px 48px;
  }

  .admission-step__heading {
    margin-bottom: 32px;
  }

  .admission-step__figure {
    margin-bottom: 32px;
  }

  .admission-step__body {
    font-size: 1rem;
  }

  .admission-step__table-title {
    margin-bottom: 24px;
  }

  .admission-step__divider {
    margin: 40px 0;
  }

  .admission-period {
    gap: 24px;
    margin-bottom: 40px;
  }

  .admission-period__item {
    display: flex;
    align-items: stretch;
  }

  .admission-period__label {
    display: flex;
    align-items: center;
    flex: 0 0 30%;
    width: 30%;
    padding: 22px 28px;
    box-sizing: border-box;
  }

  .admission-period__content {
    flex: 1;
    padding: 22px 28px;
    border-top: none;
    border-left: 1px solid var(--color-border);
  }

  .admission-period__date {
    font-size: 1.125rem;
  }

  .admission-period__sub {
    font-size: 1rem;
  }

  .admission-period__note {
    font-size: 0.875rem;
  }

  .admission-arrow {
    padding: 32px 0;
  }

  .admission-arrow__img {
    width: 40px;
  }

  .admission-nav {
    margin-top: 80px;
    padding: 0 40px;
  }

  .admission-nav__row--pair {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  .admission-nav__row--pair .admission-nav__link {
    width: 280px;
    margin: 0;
  }
}

/* ==========================================================================
   Access
   ========================================================================== */

.page-main--access .page-main__inner {
  max-width: 920px;
}

.access-content h1 {
  margin-bottom: 2rem;
}

.access-info__heading,
.access-map__heading {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.access-map {
  margin-bottom: 3rem;
}

.access-info__list {
  margin: 0;
  border-top: 1px solid var(--color-border);
}

.access-info__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 0;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.access-info__label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--color-text);
}

.access-info__value {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.access-info__address {
  font-style: normal;
}

.access-info__note {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.access-map__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f0eeeb;
}

.access-map__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.access-map__action {
  margin: 1rem 0 0;
}

.access-map__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.2s;
}

.access-map__link:hover {
  opacity: 0.7;
}

.access-map__arrow {
  flex-shrink: 0;
  width: 56px;
  height: auto;
}

@media (min-width: 768px) {
  .access-info__heading,
  .access-map__heading {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
  }

  .access-map {
    margin-bottom: 4rem;
  }

  .access-info__item {
    grid-template-columns: 140px 1fr;
    gap: 0 2rem;
    padding: 1.5rem 0;
    align-items: start;
  }

  .access-info__label {
    font-size: 1rem;
  }

  .access-map__embed {
    aspect-ratio: 16 / 9;
  }

  .access-map__action {
    margin-top: 1.25rem;
  }
}

/* ==========================================================================
   Entry (入学申し込みフォーム)
   ========================================================================== */

.page-main--entry .page-main__inner {
  max-width: 920px;
}

.entry-content h1 {
  margin-bottom: 1.5rem;
}

.entry-lead {
  margin-bottom: 2.5rem;
}

.entry-lead p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.entry-lead p:last-child {
  margin-bottom: 0;
}

.page-article .entry-lead__note {
  font-size: 0.875rem;
  line-height: 1.8;
}

.entry-form {
  width: 100%;
  min-height: 200px;
  overflow-x: auto;
}

.entry-form .formmailer-embed {
  width: 100%;
  max-width: 100%;
}

.entry-form iframe {
  max-width: 100%;
}

.page-article .entry-form__note {
  margin: 1.5rem 0 0;
}

@media (min-width: 768px) {
  .page-main--entry .page-main__inner {
    max-width: 920px;
  }

  .entry-content h1 {
    margin-bottom: 2rem;
  }

  .entry-lead {
    margin-bottom: 3rem;
  }

  .page-article .entry-form__note {
    margin-top: 2rem;
  }
}

/* ==========================================================================
   Inquiry Recruit (お問い合わせ / 求人フォーム)
   ========================================================================== */

.inquiry-recruit {
  margin-top: 3rem;
  padding-top: 0;
  border-top: 1px solid #ddd;
}

.page-article .inquiry-recruit__title {
  margin: 1.5rem 0 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  scroll-margin-top: calc(var(--site-header-height) + 16px);
}

.page-article .inquiry-recruit__pending {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .inquiry-recruit {
    margin-top: 4rem;
  }

  .page-article .inquiry-recruit__title {
    margin: 2rem 0 2rem;
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   Class List (/class/)
   ========================================================================== */

.page-main--class-list {
  padding: 0 0 80px;
}

/* ---- Hero ---- */

.class-hero {
  position: relative;
  background-image: url("/images/classlist_header.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-white);
}

.class-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.class-hero > * {
  position: relative;
  z-index: 1;
}

.class-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.class-hero__title {
  margin: 0 0 34px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.class-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.class-hero__title-text {
  display: block;
}

.class-hero__title-main,
.class-hero__title-sub {
  display: block;
}

.class-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.class-hero__title-main {
  margin-bottom: 0.35em;
  font-size: clamp(0.8125rem, 2.5vw + 0.625rem, 1.5rem);
  white-space: nowrap;
}

.class-hero__title-sub {
  font-size: 1rem;
}

.class-hero__body {
  max-width: 640px;
}

.class-hero__lead {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.class-hero__lead-br {
  display: block;
}

.class-hero__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

@media (max-width: 390px) {
  .class-hero__title-group {
    gap: 10px;
  }

  .class-hero__title-sub {
    font-size: 0.875rem;
  }

  .class-hero__text {
    font-size: 0.75rem;
  }
}

@media (max-width: 320px) {
  .class-hero__title-sub {
    font-size: 0.8125rem;
  }

  .class-hero__text {
    font-size: 0.75rem;
  }
}

/* ---- Sections ---- */

.class-list-section {
  padding-top: 72px;
}

.class-list-section--last {
  padding-bottom: 0;
}

.class-list-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.class-list-section__heading {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--color-text);
}

.class-list-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.class-list-cards__item {
  margin: 0;
}

/* ---- Card ---- */

.class-card {
  background-color: var(--color-white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.class-card__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: opacity 0.2s;
}

.class-card__link:hover {
  opacity: 0.85;
}

.class-card__figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.class-card__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.class-card__body {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 22px;
}

.class-card__title {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
  color: var(--color-text);
}

.class-card__catch {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.class-card__catch--day {
  color: #993038;
}

.class-card__catch--night {
  color: #1C5A40;
}

.class-card__catch--pro {
  color: #124E78;
}

.class-card__text {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.85;
  color: var(--color-text);
}

.class-card__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-end;
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.class-card__more-arrow {
  display: block;
  width: 74px;
  height: auto;
}

/* ---- Extra card ---- */

.class-card--extra {
  background-color: transparent;
}

.class-card--extra .class-card__body {
  background-color: #5C4E42;
  color: var(--color-white);
}

.class-card--extra .class-card__lead {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--color-white);
}

.class-card--extra .class-card__title {
  margin: 0 0 16px;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1.125em;
  text-align: left;
  color: var(--color-white);
}

.class-card--extra .class-card__text {
  color: var(--color-white);
}

.class-card--extra .class-card__more {
  color: var(--color-white);
}

/* ---- Class List PC ---- */

@media (min-width: 768px) {
  .page-main--class-list {
    padding: 0 0 112px;
  }

  .class-hero {
    background-position: center center;
  }

  .class-hero__inner {
    padding: 48px 40px 72px;
  }

  .class-hero__title {
    margin-bottom: 42px;
  }

  .class-hero__title-group {
    gap: 20px;
  }

  .class-hero__title-main {
    font-size: 2rem;
  }

  .class-hero__title-sub {
    font-size: 1.25rem;
  }

  .class-hero__lead {
    font-size: 1.125rem;
    margin-bottom: 20px;
  }

  .class-hero__lead-br {
    display: none;
  }

  .class-hero__text {
    font-size: 0.9375rem;
    line-height: 2;
  }

  .class-hero__title-line {
    width: 120px;
  }

  .class-list-section {
    padding-top: 104px;
  }

  .class-list-section__inner {
    padding: 0 40px;
  }

  .class-list-section__heading {
    margin-bottom: 36px;
    font-size: 1.875rem;
  }

  .class-list-cards {
    gap: 40px;
  }

  .class-card__link {
    flex-direction: row;
    align-items: stretch;
    min-height: 280px;
  }

  .class-card__figure {
    flex: 0 0 48%;
    width: 48%;
    aspect-ratio: unset;
    min-height: 100%;
  }

  .class-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 36px 40px 32px;
  }

  .class-card__title {
    margin-bottom: 16px;
    padding-bottom: 16px;
    font-size: 1.25rem;
    text-align: left;
  }

  .class-card__catch {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
  }

  .class-card__text {
    margin-bottom: 28px;
    font-size: 0.9375rem;
    line-height: 1.9;
  }

  .class-card__more {
    font-size: 0.875rem;
  }

  .class-card--extra .class-card__lead {
    font-size: 1rem;
  }

  .class-card--extra .class-card__title {
    margin-bottom: 20px;
    font-size: 1.125em;
  }
}

@media (min-width: 1024px) {
  .class-hero__title-main {
    font-size: 2.25rem;
  }

  .class-hero__title-sub {
    font-size: 1.375rem;
  }

  .class-hero__lead {
    font-size: 1.625rem;
  }

  .class-card__link {
    min-height: 300px;
  }

  .class-card__body {
    padding: 40px 48px 36px;
  }

  .class-card__title {
    font-size: 1.375rem;
  }

  .class-card--extra .class-card__title {
    font-size: 1.125em;
  }
}

/* ==========================================================================
   Daybuild (/class/daybuild/)
   ========================================================================== */

.page-main--daybuild {
  padding: 0 0 80px;
  overflow-x: hidden;
}

.daybuild-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.daybuild-container--md {
  max-width: 920px;
}

.daybuild-container--sm {
  max-width: 700px;
}

/* ---- Hero ---- */

.daybuild-hero {
  padding: 20px 0 48px;
  background-color: var(--color-bg);
}

.daybuild-hero .breadcrumb {
  max-width: 1440px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.daybuild-hero__label {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

.daybuild-hero__title {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.daybuild-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.daybuild-hero__title-text {
  display: block;
  font-size: clamp(1.25rem, 3vw + 0.5rem, 2rem);
}

.daybuild-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.daybuild-hero__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.daybuild-hero__catch {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw + 0.5rem, 1.75rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.daybuild-hero__catch p {
  margin: 0;
}

.daybuild-hero__figure {
  margin: 0;
  line-height: 0;
}

.daybuild-hero__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 800 / 560;
  object-fit: cover;
}

/* ---- Anchor Nav ---- */

.daybuild-anchor {
  padding: 0 0 56px;
  background-color: var(--color-bg);
}

.daybuild-anchor__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daybuild-anchor__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--color-text);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.daybuild-anchor__link:hover {
  opacity: 0.7;
}

.daybuild-anchor__icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: rotate(45deg) translateY(-2px);
}

/* ---- Recommend ---- */

.daybuild-recommend {
  padding: 0 0 72px;
  background-color: var(--color-bg);
}

.daybuild-recommend__heading {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: 1.375em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-align: center;
}

.daybuild-recommend__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daybuild-recommend__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  background-color: var(--color-white);
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.daybuild-recommend__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ---- Features ---- */

.daybuild-features {
  position: relative;
  padding: 0 0 88px;
  background-color: var(--color-white);
  overflow: hidden;
}

.daybuild-features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(140px, 58vw, 230px);
  background-color: var(--color-bg);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
}

.daybuild-features__inner {
  position: relative;
  z-index: 1;
}

.daybuild-features__heading {
  margin: 0 0 36px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.daybuild-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daybuild-feature-card,
.daybuild-curriculum-card {
  position: relative;
  cursor: pointer;
}

.daybuild-feature-card > .daybuild-detail-link::after,
.daybuild-curriculum-card > .daybuild-detail-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.daybuild-feature-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.daybuild-feature-card__num {
  flex-shrink: 0;
  display: block;
  width: 40px;
  height: auto;
}

.daybuild-feature-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.375em;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.daybuild-feature-card__figure {
  margin: 0 0 12px;
  line-height: 0;
}

.daybuild-feature-card__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 400 / 260;
  object-fit: cover;
}

.daybuild-feature-card__figure--placeholder {
  aspect-ratio: 400 / 260;
  background-color: #E8E5DF;
}

/* ---- Detail Link ---- */

.daybuild-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.daybuild-detail-link:hover {
  opacity: 0.7;
}

.daybuild-detail-link img {
  width: 74px;
  height: auto;
}

/* ---- Curriculum ---- */

.daybuild-curriculum {
  padding: 72px 0 0;
  background-color: var(--color-bg);
}

.daybuild-curriculum__heading {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.daybuild-curriculum__intro {
  margin: 0 0 32px;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

.daybuild-curriculum__em {
  color: var(--color-accent);
}

.daybuild-curriculum__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daybuild-curriculum-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 18px 22px;
  background-color: var(--color-white);
}

.daybuild-curriculum-card__title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1.375em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.daybuild-curriculum-card__figure {
  margin: 0 0 16px;
  line-height: 0;
}

.daybuild-curriculum-card__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 280 / 180;
  object-fit: cover;
}

.daybuild-curriculum-card__text {
  flex: 1 1 auto;
  margin: 0 0 18px;
  font-size: 0.8125rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.daybuild-curriculum-card__em {
  color: var(--color-accent);
}

.daybuild-curriculum-exclusive {
  margin-top: 56px;
  padding: 48px 0 56px;
  background-color: var(--color-accent);
  color: var(--color-white);
}

.daybuild-curriculum-exclusive__heading {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.daybuild-curriculum-exclusive__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daybuild-curriculum-exclusive__item {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.daybuild-curriculum-exclusive__list > li:first-child .daybuild-curriculum-exclusive__item {
  padding-top: 0;
  border-top: none;
}

.daybuild-curriculum-exclusive__title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1.375em;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.daybuild-curriculum-exclusive__figure {
  margin: 0 0 14px;
  line-height: 0;
}

.daybuild-curriculum-exclusive__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 280 / 180;
  object-fit: cover;
}

.daybuild-curriculum-exclusive__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* ---- Works Slider ---- */

.daybuild-works {
  padding: 72px 0;
  background-color: var(--color-bg);
}

.daybuild-works__heading {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.daybuild-works-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.daybuild-works-slider__viewport {
  overflow: hidden;
}

.daybuild-works-slider__track {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daybuild-works-slider__slide {
  flex: 0 0 72%;
  opacity: 0.45;
  transition: opacity 0.3s, transform 0.3s;
}

.daybuild-works-slider__slide.is-active {
  flex: 0 0 100%;
  opacity: 1;
}

.daybuild-works-slider__slide.is-adjacent {
  opacity: 0.65;
}

.daybuild-works-slider__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 640 / 420;
  object-fit: cover;
}

.daybuild-works-slider__prev,
.daybuild-works-slider__next {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.daybuild-works-slider__prev:hover,
.daybuild-works-slider__next:hover {
  opacity: 0.6;
}

.daybuild-works-slider__label {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ---- Graduates ---- */

.daybuild-graduates {
  position: relative;
  padding: 72px 0 80px;
  overflow: visible;
}

.daybuild-graduates__bg {
  position: absolute;
  inset: 0;
  background-color: #EAE5DB;
  z-index: 0;
}

.daybuild-graduates__bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(140px, 58vw, 230px);
  background-color: var(--color-bg);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.daybuild-graduates__inner {
  position: relative;
  z-index: 1;
}

.daybuild-graduates__header {
  margin-bottom: 28px;
}

.daybuild-graduates__lead {
  margin: 0 0 8px;
  font-size: 1em;
  letter-spacing: 0.06em;
}

.daybuild-graduates__heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.daybuild-graduates__video {
  max-width: 920px;
  margin: 0 auto 32px;
}

.daybuild-graduates__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}

.daybuild-graduates__video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.daybuild-graduates__status {
  margin: 0 0 24px;
  font-size: 0.875rem;
  text-align: center;
  color: #666;
}

.daybuild-graduates__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daybuild-graduate-card {
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.daybuild-graduate-card__link {
  display: block;
  color: inherit;
  transition: opacity 0.2s;
}

.daybuild-graduate-card__link:hover {
  opacity: 0.75;
}

.daybuild-graduate-card__thumb {
  aspect-ratio: 520 / 245;
  overflow: hidden;
  line-height: 0;
}

.daybuild-graduate-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.daybuild-graduate-card__body {
  padding: 18px 16px 20px;
}

.daybuild-graduate-card__name {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.daybuild-graduate-card__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.daybuild-graduates__pager {
  display: none;
}

.daybuild-graduates__pager-dot {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--color-footer-bg);
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.daybuild-graduates__pager-dot.is-active {
  background-color: var(--color-footer-bg);
}

.daybuild-graduates__pager-dot:hover {
  opacity: 0.75;
}

/* ---- Voices ---- */

.daybuild-voices {
  padding: 72px 0;
  background-color: var(--color-bg);
}

.daybuild-voices__heading {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.daybuild-voices__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.daybuild-voice {
  border-radius: 0;
  background-color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.daybuild-voice__toggle {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  width: 100%;
  padding: 20px 18px 16px;
  text-align: left;
}

.daybuild-voice__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.daybuild-voice__summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.daybuild-voice__quote {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.daybuild-voice__meta {
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: right;
  color: #666;
}

.daybuild-voice__open {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  align-self: flex-end;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.daybuild-voice__open-icon {
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.daybuild-voice__toggle.is-open .daybuild-voice__open-icon {
  transform: rotate(-135deg);
}

.daybuild-voice__panel {
  padding: 0 18px 20px 124px;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.daybuild-voice__panel p {
  margin: 0;
}

.daybuild-schedule {
  display: block;
  margin: 40px auto 0;
  max-width: 700px;
  line-height: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: opacity 0.2s;
}

.daybuild-schedule:hover {
  opacity: 0.85;
}

.daybuild-schedule img {
  display: block;
  width: 100%;
  height: auto;
}

.daybuild-special {
  margin-top: 32px;
  padding: 24px 20px;
  border-radius: 16px;
  background-color: #EAE5DB;
}

.daybuild-special__title {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(34, 34, 34, 0.2);
  font-family: var(--font-heading);
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

.daybuild-special__text {
  margin: 0 0 12px;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.daybuild-special__note {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #666;
}

/* ---- FAQ ---- */

.daybuild-faq {
  padding: 72px 0;
  background-color: var(--color-bg);
}

.daybuild-faq__inner {
  padding: 28px 20px;
  background-color: var(--color-white);
}

.daybuild-faq__heading {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.daybuild-faq__list {
  margin: 0;
}

.daybuild-faq__item {
  padding: 20px 0;
  border: none;
}

.daybuild-faq__item:last-child {
  border: none;
}

.daybuild-faq__q {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.daybuild-faq__a {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* ---- Setsumeikai ---- */

.daybuild-setsumeikai {
  margin-top: 0;
}

/* ---- Modal ---- */

.daybuild-modal[hidden] {
  display: none;
}

.daybuild-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.daybuild-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.daybuild-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: min(85vh, 720px);
  overflow: auto;
  padding: 60px 24px 32px;
  border-radius: 8px;
  background-color: var(--color-white);
}

.daybuild-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-text);
}

.daybuild-modal__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.daybuild-modal__title[hidden],
.daybuild-modal__figure[hidden] {
  display: none;
}

.daybuild-modal__figure {
  margin: 0 0 20px;
  line-height: 0;
}

.daybuild-modal__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.daybuild-modal__body {
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  white-space: pre-line;
}

/* ---- Daybuild PC ---- */

@media (min-width: 768px) {
  .page-main--daybuild {
    padding: 0 0 112px;
  }

  .daybuild-hero {
    padding: 28px 0 56px;
  }

  .daybuild-hero__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 32px;
  }

  .daybuild-anchor__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .daybuild-anchor__link {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  .daybuild-recommend {
    padding-bottom: 96px;
  }

  .daybuild-recommend__heading {
    margin-bottom: 36px;
  }

  .daybuild-recommend__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .daybuild-recommend__item {
    min-height: 56px;
    padding: 14px 22px;
    font-size: 0.9375rem;
  }

  .daybuild-features {
    padding-bottom: 112px;
  }

  .daybuild-features::before {
    height: clamp(80px, 15.6vw, 300px);
  }

  .daybuild-features__heading {
    margin-bottom: 48px;
  }

  .daybuild-features__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .daybuild-features__item:nth-child(1) {
    grid-column: 1 / 3;
  }

  .daybuild-features__item:nth-child(2) {
    grid-column: 3 / 5;
  }

  .daybuild-features__item:nth-child(3) {
    grid-column: 5 / 7;
  }

  .daybuild-features__item:nth-child(4) {
    grid-column: 2 / 4;
  }

  .daybuild-features__item:nth-child(5) {
    grid-column: 4 / 6;
  }

  .daybuild-feature-card__num {
    width: 48px;
  }

  .daybuild-curriculum {
    padding-top: 96px;
  }

  .daybuild-curriculum .daybuild-container--md {
    max-width: 1440px;
  }

  .daybuild-curriculum__intro {
    font-size: 0.9375rem;
  }

  .daybuild-curriculum__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .daybuild-curriculum-exclusive {
    margin: 72px 0 0;
    padding: 56px 24px 64px;
  }

  .daybuild-curriculum-exclusive__heading {
    margin-bottom: 36px;
  }

  .daybuild-curriculum-exclusive__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .daybuild-curriculum-exclusive__item {
    padding: 0 24px;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
  }

  .daybuild-curriculum-exclusive__list > li:first-child .daybuild-curriculum-exclusive__item {
    border-left: none;
  }

  .daybuild-works {
    padding: 96px 0;
  }

  .daybuild-works__heading {
    margin-bottom: 40px;
  }

  .daybuild-works-slider__slide,
  .daybuild-works-slider__slide.is-active {
    flex: 0 0 30%;
    opacity: 0.45;
  }

  .daybuild-works-slider__slide.is-active {
    opacity: 1;
  }

  .daybuild-works-slider__slide.is-adjacent {
    opacity: 0.65;
  }

  .daybuild-graduates {
    padding: 96px 0 112px;
  }

  .daybuild-graduates__bg::before {
    height: clamp(80px, 15.6vw, 300px);
  }

  .daybuild-graduates__video {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .daybuild-graduates__list {
    display: flex;
    align-items: stretch;
    grid-template-columns: none;
    gap: 20px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 calc((100vw - min(420px, max(300px, calc((100vw - 80px) / 3)))) / 2) 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
  }

  .daybuild-graduates__list.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
  }

  .daybuild-graduates__list::-webkit-scrollbar {
    display: none;
  }

  .daybuild-graduates__item {
    display: flex;
    flex: 0 0 min(420px, max(300px, calc((100vw - 80px) / 3)));
    max-width: none;
    scroll-snap-align: center;
  }

  .daybuild-graduate-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .daybuild-graduate-card__link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
  }

  .daybuild-graduate-card__body {
    flex: 1 1 auto;
  }

  .daybuild-graduates__pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 0 20px;
  }

  .daybuild-graduates__list {
    cursor: default;
  }

  .daybuild-voices {
    padding: 96px 0;
  }

  .daybuild-voice__toggle {
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 28px 32px 20px;
  }

  .daybuild-voice__photo {
    width: 120px;
    height: 120px;
  }

  .daybuild-voice__quote {
    font-size: 1.0625rem;
  }

  .daybuild-voice__panel {
    padding: 0 32px 28px 176px;
    font-size: 0.875rem;
  }

  .daybuild-special {
    padding: 32px 36px;
  }

  .daybuild-faq {
    padding: 96px 0;
  }

  .daybuild-faq .daybuild-faq__inner {
    padding: 64px 56px;
    background-color: var(--color-white);
  }

  .daybuild-faq__q {
    font-size: 1rem;
  }

  .daybuild-faq__a {
    font-size: 1rem;
  }

  .page-main--daybuild .ha-detail-setsumeikai {
    max-width: 920px;
  }
}

@media (min-width: 1024px) {
  .daybuild-container {
    padding: 0 40px;
  }

  .daybuild-hero .breadcrumb {
    padding: 0 40px;
  }

  .daybuild-anchor__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .daybuild-hero__title-line {
    width: 120px;
  }
}

/* ---- Daybuild SP ---- */

@media (max-width: 767px) {
  .page-main--daybuild {
    padding: 0 0 56px;
  }

  .daybuild-hero {
    padding: 16px 0 32px;
  }

  .daybuild-hero .breadcrumb {
    margin-bottom: 20px;
  }

  .daybuild-hero__label {
    margin-bottom: 4px;
  }

  .daybuild-hero__title {
    margin-bottom: 24px;
  }

  .daybuild-hero__title-text {
    font-size: clamp(1.0625rem, 5.4vw, 1.375rem);
    white-space: nowrap;
  }

  .daybuild-hero__row {
    gap: 20px;
  }

  .daybuild-hero__catch {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .daybuild-hero__figure {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
  }

  .daybuild-anchor {
    padding-bottom: 40px;
  }

  .daybuild-anchor__list {
    gap: 0;
    border-top: 1px solid var(--color-text);
    border-left: 1px solid var(--color-text);
  }

  .daybuild-anchor__link {
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 10px;
    border: none;
    border-right: 1px solid var(--color-text);
    border-bottom: 1px solid var(--color-text);
  }

  .daybuild-recommend {
    padding-bottom: 56px;
  }

  .daybuild-recommend__heading {
    margin-bottom: 20px;
    line-height: 1.7;
  }

  .daybuild-features {
    padding-bottom: 56px;
  }

  .daybuild-features__heading {
    margin-bottom: 28px;
  }

  .daybuild-features__grid {
    gap: 36px;
  }

  .daybuild-feature-card__num {
    width: 36px;
  }

  .daybuild-curriculum {
    padding-top: 56px;
  }

  .daybuild-curriculum__intro {
    font-size: 1rem;
    line-height: 1.95;
  }

  .daybuild-curriculum__cards {
    gap: 16px;
  }

  .daybuild-curriculum-exclusive {
    margin: 40px 0 0;
    padding: 40px 20px 48px;
  }

  .daybuild-works {
    padding: 56px 0;
  }

  .daybuild-works__inner {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }

  .daybuild-works__heading {
    margin-bottom: 24px;
    padding: 0 20px;
  }

  .daybuild-works-slider {
    position: relative;
    display: block;
    gap: 0;
  }

  .daybuild-works-slider__viewport {
    overflow: hidden;
    width: 100%;
  }

  .daybuild-works-slider__prev,
  .daybuild-works-slider__next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 32px;
    height: 44px;
    font-size: 1.5rem;
    transform: translateY(-50%);
    background-color: rgba(248, 247, 244, 0.72);
  }

  .daybuild-works-slider__prev {
    left: 0;
  }

  .daybuild-works-slider__next {
    right: 0;
  }

  .daybuild-works-slider__track {
    gap: 10px;
    transition: transform 0.35s ease;
  }

  .daybuild-works-slider__slide {
    flex: 0 0 82%;
    opacity: 0.45;
  }

  .daybuild-works-slider__slide.is-active {
    flex: 0 0 82%;
    opacity: 1;
  }

  .daybuild-works-slider__slide.is-adjacent {
    opacity: 0.6;
  }

  .daybuild-works-slider__label {
    padding: 0 8px;
    font-size: 0.75rem;
  }

  .daybuild-graduates {
    padding: 56px 0 64px;
  }

  .daybuild-graduates__video {
    margin-bottom: 24px;
  }

  .daybuild-graduates__list {
    display: flex;
    align-items: stretch;
    grid-template-columns: none;
    gap: 12px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 calc((100vw - 78vw) / 2) 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
  }

  .daybuild-graduates__list::-webkit-scrollbar {
    display: none;
  }

  .daybuild-graduates__item {
    display: flex;
    flex: 0 0 78vw;
    max-width: none;
    scroll-snap-align: center;
  }

  .daybuild-graduate-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .daybuild-graduate-card__link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
  }

  .daybuild-graduate-card__body {
    flex: 1 1 auto;
  }

  .daybuild-voices {
    padding: 56px 0;
  }

  .daybuild-voices__heading {
    margin-bottom: 20px;
  }

  .daybuild-voice__toggle {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 16px 16px 14px;
  }

  .daybuild-voice__photo {
    width: 72px;
    height: 72px;
  }

  .daybuild-voice__quote {
    font-size: 1rem;
    line-height: 1.7;
  }

  .daybuild-voice__panel {
    padding: 0 16px 18px;
    margin-top: -4px;
  }

  .daybuild-schedule {
    margin-top: 32px;
  }

  .daybuild-special {
    margin-top: 24px;
    padding: 20px 18px;
  }

  .daybuild-faq {
    padding: 56px 20px;
    background-color: var(--color-bg);
  }

  .daybuild-faq .daybuild-container {
    padding-left: 0;
    padding-right: 0;
  }

  .daybuild-faq .daybuild-faq__inner {
    padding: 28px 24px;
    background-color: var(--color-white);
  }

  .daybuild-faq__heading {
    margin-bottom: 20px;
    text-align: left;
  }

  .daybuild-faq__item {
    padding: 20px 0;
  }

  .daybuild-faq__q {
    font-size: 1rem;
  }

  .daybuild-faq__a {
    font-size: 1rem;
  }

  .daybuild-setsumeikai.ha-detail-setsumeikai {
    margin-bottom: 0;
  }

  .daybuild-modal {
    padding: 20px;
    align-items: center;
  }

  .daybuild-modal__dialog {
    width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    padding: 56px 20px 32px;
  }

  .daybuild-modal__figure {
    margin: 0 0 16px;
  }

  .daybuild-modal__title {
    font-size: 1rem;
  }

  .daybuild-modal__body {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Nightbuild (/class/nightbuild/)
   ========================================================================== */

.page-main--nightbuild {
  --color-accent: #1C5A40;
}

.page-main--nightbuild .ha-detail-setsumeikai__heading-link {
  color: #993038;
}

.page-main--nightbuild .daybuild-hero__title-line {
  filter: brightness(0) saturate(100%) invert(27%) sepia(28%) saturate(1045%) hue-rotate(109deg) brightness(95%) contrast(92%);
}

@media (max-width: 767px) {
  .page-main--nightbuild .daybuild-hero__title-text {
    white-space: normal;
    font-size: clamp(1.0625rem, 5.4vw, 1.375rem);
    line-height: 1.5;
  }

  .page-main--nightbuild .daybuild-hero__title-group {
    align-items: flex-start;
  }

  .page-main--nightbuild .daybuild-hero__title-line {
    width: 48px;
    margin-top: 0.2em;
  }

  .page-main--nightbuild .daybuild-features__grid {
    grid-template-columns: 1fr;
  }

  .page-main--nightbuild .daybuild-voice__panel {
    padding-left: 16px;
  }
}

@media (min-width: 768px) {
  .page-main--nightbuild .daybuild-hero__title-break {
    display: none;
  }

  .page-main--nightbuild .daybuild-anchor__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-main--nightbuild .daybuild-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 40px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-main--nightbuild .daybuild-features__item:nth-child(1),
  .page-main--nightbuild .daybuild-features__item:nth-child(2),
  .page-main--nightbuild .daybuild-features__item:nth-child(3),
  .page-main--nightbuild .daybuild-features__item:nth-child(4) {
    grid-column: auto;
  }
}

/* ==========================================================================
   Sunbuild (/class/sunbuild/)
   ========================================================================== */

.page-main--sunbuild {
  --color-accent: #124E78;
}

.page-main--sunbuild .daybuild-hero__title-line {
  filter: brightness(0) saturate(100%) invert(18%) sepia(42%) saturate(1200%) hue-rotate(175deg) brightness(90%) contrast(95%);
}

.page-main--sunbuild .ha-detail-setsumeikai__heading-link {
  color: #124E78;
}

/* ---- Anchor scroll offset ---- */

.page-main--sunbuild #sunbuild-features,
.page-main--sunbuild #sunbuild-curriculum,
.page-main--sunbuild #sunbuild-graduates,
.page-main--sunbuild #sunbuild-voices,
.page-main--sunbuild #sunbuild-faq {
  scroll-margin-top: calc(var(--site-header-height) + 24px);
}

/* 上余白を持たないセクションは、その分だけオフセットを上乗せする */
.page-main--sunbuild #sunbuild-features {
  scroll-margin-top: calc(var(--site-header-height) + 48px);
}

/* ---- Hero ---- */

.sunbuild-hero__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.sunbuild-hero__catch p {
  margin: 0;
}

.sunbuild-hero__figure {
  margin: 0;
  line-height: 0;
}

.sunbuild-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Recommend ---- */

.sunbuild-recommend {
  padding: 72px 0;
  background-color: #D9E4EF;
}

.sunbuild-recommend__lead {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-align: center;
}

.sunbuild-recommend__heading {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  text-align: center;
}

.sunbuild-recommend__checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.sunbuild-recommend__check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.sunbuild-recommend__check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.sunbuild-recommend__check-item em {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: #993038;
}

.sunbuild-recommend__box {
  margin-bottom: 36px;
  padding: 28px 24px;
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  background-color: var(--color-white);
}

.sunbuild-recommend__box-lead {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-align: center;
}

.sunbuild-recommend__box-title {
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #c7d2dd;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  text-align: center;
}

.sunbuild-recommend__box-highlight {
  margin: 0 0 24px;
}

.sunbuild-recommend__box-highlight p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

.sunbuild-recommend__box-marker {
  background: linear-gradient(transparent 60%, #f5e6a8 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sunbuild-recommend__box-text {
  margin: 0 0 32px;
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

/* ---- 見出し＋「詳しくみる」の2段リンク ---- */

.sunbuild-more-link {
  display: block;
  width: 100%;
  transition: opacity 0.2s;
}

.sunbuild-more-link:hover {
  opacity: 0.7;
}

.sunbuild-more-link__title {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  text-align: left;
}

.sunbuild-more-link__more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.sunbuild-more-link__more img {
  width: 74px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(18%) sepia(42%) saturate(1200%) hue-rotate(175deg) brightness(90%) contrast(95%);
}

.sunbuild-recommend__banner {
  max-width: 700px;
  margin: 0 auto 28px;
  padding: 20px 24px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-align: center;
}

.sunbuild-recommend__banner p {
  margin: 0;
}

.sunbuild-recommend__intro {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  text-align: center;
}

/* ---- Features (3 col) ---- */

.page-main--sunbuild .daybuild-features {
  padding-top: 72px;
}

.sunbuild-features__grid {
  grid-template-columns: 1fr;
}

.sunbuild-feature-card__head {
  align-items: flex-start;
}

.sunbuild-feature-card__num {
  flex-shrink: 0;
  display: block;
  width: 40px;
  height: auto;
}

.sunbuild-feature-card__head .daybuild-feature-card__title {
  font-size: 1rem;
}

.sunbuild-schedule-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  text-align: center;
}

.sunbuild-schedule-highlight__figure {
  width: 100%;
  max-width: 664px;
  margin: 0;
  line-height: 0;
}

.sunbuild-schedule-highlight__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.sunbuild-schedule-highlight__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  padding: 14px 24px;
  border: 1px solid var(--color-text);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.sunbuild-schedule-highlight__btn:hover {
  opacity: 0.7;
}

.sunbuild-schedule-highlight__btn-icon {
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: rotate(-45deg);
}

/* ---- Teachers ---- */

.sunbuild-teachers {
  padding: 72px 0;
  background-color: var(--color-white);
}

.sunbuild-teachers__heading {
  margin: 0 0 40px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.sunbuild-teachers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sunbuild-teacher-card__figure {
  margin: 0 0 16px;
  line-height: 0;
}

.sunbuild-teacher-card__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 280 / 200;
  object-fit: cover;
}

.sunbuild-teacher-card__name {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sunbuild-teacher-card__firm {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sunbuild-teacher-card__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

/* ---- Curriculum ---- */

.sunbuild-curriculum {
  padding: 72px 0;
  background-color: var(--color-bg);
}

.sunbuild-curriculum__heading {
  margin: 0 0 40px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sunbuild-curriculum-block {
  margin-bottom: 48px;
  padding: 28px 24px;
  background-color: var(--color-white);
}

.sunbuild-curriculum-block:last-child {
  margin-bottom: 0;
}

.sunbuild-curriculum-block__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sunbuild-curriculum-block__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.sunbuild-curriculum-block__figure {
  margin: 0;
  line-height: 0;
}

.sunbuild-curriculum-block__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.sunbuild-curriculum-block__text {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.sunbuild-curriculum-block__text:last-child {
  margin-bottom: 0;
}

.sunbuild-curriculum-block__em {
  font-weight: 700;
  color: var(--color-accent);
}

.sunbuild-curriculum-accordion {
  margin-top: 32px;
}

.sunbuild-curriculum-accordion__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 14px 20px;
  border: 1px solid var(--color-text);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.sunbuild-curriculum-accordion__toggle:hover {
  opacity: 0.7;
}

.sunbuild-curriculum-accordion__icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.sunbuild-curriculum-accordion__toggle.is-open .sunbuild-curriculum-accordion__icon {
  transform: rotate(-135deg);
}

.sunbuild-curriculum-accordion__panel {
  padding: 20px 0 0;
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.sunbuild-curriculum-accordion__step {
  margin-bottom: 24px;
}

.sunbuild-curriculum-accordion__step:last-child {
  margin-bottom: 0;
}

.sunbuild-curriculum-accordion__step-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sunbuild-curriculum-accordion__step p {
  margin: 0;
}

.sunbuild-curriculum-accordion__panel[hidden] {
  display: none;
}

.sunbuild-curriculum-lectures {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #ddd;
}

.sunbuild-curriculum-lectures__heading {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.sunbuild-curriculum-lectures__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.sunbuild-curriculum-lectures__title {
  margin: 0 0 12px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.sunbuild-curriculum-lectures__list {
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.sunbuild-curriculum-lectures__list li {
  padding-left: 1em;
  text-indent: -1em;
}

.sunbuild-curriculum-lectures__list li::before {
  content: "・";
}

.sunbuild-curriculum-lectures__note {
  margin: 0 0 20px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.sunbuild-curriculum-lectures .sunbuild-more-link {
  margin-top: 28px;
}

/* ---- Graduates (2 col) ---- */

.page-main--sunbuild .daybuild-graduates__bg {
  background-color: var(--color-accent);
}

.page-main--sunbuild .daybuild-graduates__lead,
.page-main--sunbuild .daybuild-graduates__heading {
  color: var(--color-white);
}

.sunbuild-graduates__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sunbuild-graduates__grid > li {
  display: flex;
}

.sunbuild-graduate-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-white);
}

.sunbuild-graduate-card__figure {
  margin: 0;
  line-height: 0;
}

.sunbuild-graduate-card__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 520 / 280;
  object-fit: cover;
}

.sunbuild-graduate-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px 20px 20px;
}

.sunbuild-graduate-card__quote {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.sunbuild-graduate-card__rule {
  margin: 0 0 16px;
  border: none;
  border-top: 1px solid #ddd;
}

.sunbuild-graduate-card__meta {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.sunbuild-graduate-card__text {
  flex: 1 1 auto;
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.sunbuild-graduate-card__link {
  margin-left: auto;
}

/* ---- Voices ---- */

.sunbuild-voices {
  padding-top: 64px;
}

.sunbuild-voices .daybuild-voices__list {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- FAQ ---- */

.sunbuild-faq .daybuild-faq__heading {
  text-align: center;
}

.sunbuild-faq .daybuild-faq__heading::after {
  content: "";
  display: block;
  width: min(180px, 100%);
  height: 1px;
  margin: 12px auto 0;
  background-color: #ccc;
}

/* ---- 背景の斜め切り替えは使用しない ---- */

.page-main--sunbuild .daybuild-features::before,
.page-main--sunbuild .daybuild-graduates__bg::before {
  display: none;
}

@media (min-width: 768px) {
  .page-main--sunbuild .daybuild-anchor__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sunbuild-hero__row {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 32px;
    align-items: start;
  }

  .sunbuild-recommend__checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }

  .sunbuild-recommend__box {
    padding: 36px 40px;
  }

  .sunbuild-recommend__box-highlight {
    text-align: center;
  }

  .sunbuild-more-link {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
  }

  .sunbuild-more-link__title {
    text-align: right;
    white-space: nowrap;
  }

  .sunbuild-features__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .page-main--sunbuild .sunbuild-features__grid .daybuild-features__item:nth-child(1),
  .page-main--sunbuild .sunbuild-features__grid .daybuild-features__item:nth-child(2),
  .page-main--sunbuild .sunbuild-features__grid .daybuild-features__item:nth-child(3) {
    grid-column: auto;
  }

  .sunbuild-teachers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .sunbuild-curriculum-block__body {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 32px;
    align-items: start;
  }

  .sunbuild-curriculum-lectures__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .sunbuild-graduates__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 90px;
  }

  .sunbuild-graduate-card__body {
    padding: 28px 24px 24px;
  }

  /* 2行分の高さを確保し、左右のカードで区切り線の位置を揃える */
  .sunbuild-graduate-card__quote {
    font-size: 1.0625rem;
    min-height: calc(1.65em * 2);
  }
}

@media (min-width: 1024px) {
  .page-main--sunbuild .daybuild-anchor__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---- Sunbuild SP ---- */

@media (max-width: 767px) {
  .page-main--sunbuild .daybuild-hero__title-text {
    white-space: normal;
    font-size: clamp(1.0625rem, 5.4vw, 1.375rem);
    line-height: 1.5;
  }

  .page-main--sunbuild .daybuild-hero__title-group {
    align-items: flex-start;
  }

  .page-main--sunbuild .daybuild-hero__title-line {
    width: 48px;
    margin-top: 0.2em;
  }

  .page-main--sunbuild .daybuild-hero__catch {
    font-size: 1.5rem;
    line-height: 1.7;
  }

  .sunbuild-hero__row {
    gap: 32px;
  }

  /* 画像は左を本文に揃え、右は画面端まで */
  .sunbuild-hero__figure {
    margin-right: -20px;
    width: calc(100% + 20px);
  }

  .sunbuild-recommend {
    padding: 48px 0 56px;
  }

  .sunbuild-recommend__lead,
  .sunbuild-recommend__heading,
  .sunbuild-recommend__box-lead,
  .sunbuild-recommend__box-title {
    text-align: left;
  }

  .sunbuild-recommend__checks {
    gap: 20px;
    margin-bottom: 32px;
  }

  .sunbuild-recommend__box {
    padding: 24px 20px 28px;
  }

  .sunbuild-recommend__box-title {
    font-size: 1.0625rem;
  }

  .sunbuild-recommend__box-highlight p {
    font-size: 1rem;
  }

  .sunbuild-more-link__title {
    font-size: 0.8125rem;
  }

  .page-main--sunbuild .daybuild-features {
    padding-top: 48px;
  }

  .sunbuild-feature-card__num {
    width: 34px;
  }

  .sunbuild-schedule-highlight {
    gap: 28px;
    margin-top: 40px;
  }

  .sunbuild-schedule-highlight__btn {
    width: 100%;
    min-width: 0;
  }

  .sunbuild-teachers {
    padding: 48px 0;
  }

  .sunbuild-teachers__heading {
    margin-bottom: 32px;
    font-size: 1.125rem;
  }

  .sunbuild-teachers__grid {
    gap: 32px;
  }

  /* 講師カードは写真を左、名前・事務所名・紹介文を右に */
  .sunbuild-teacher-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .sunbuild-teacher-card__figure {
    margin: 0;
  }

  .sunbuild-teacher-card__figure img {
    aspect-ratio: 1 / 1;
  }

  .sunbuild-teacher-card__name {
    font-size: 1rem;
  }

  .sunbuild-teacher-card__firm {
    margin-bottom: 20px;
  }

  .sunbuild-curriculum {
    padding: 48px 0;
  }

  .sunbuild-curriculum__heading {
    margin-bottom: 28px;
    font-size: 1.25rem;
  }

  .sunbuild-curriculum-block {
    padding: 24px 16px 28px;
  }

  .sunbuild-curriculum-accordion__toggle {
    max-width: 220px;
  }

  .sunbuild-curriculum-lectures__grid {
    gap: 28px;
  }

  .sunbuild-graduate-card__quote {
    font-size: 1.125rem;
  }

  .sunbuild-voices {
    padding-top: 40px;
  }

  .page-main--sunbuild #sunbuild-voices {
    scroll-margin-top: calc(var(--site-header-height) + 16px);
  }

  .page-main--sunbuild .daybuild-voice__meta {
    text-align: left;
  }

  .sunbuild-faq .daybuild-faq__heading {
    text-align: left;
  }

  .sunbuild-faq .daybuild-faq__heading::after {
    width: 100%;
    margin-left: 0;
  }

  .sunbuild-faq .daybuild-faq__q {
    padding-left: 1.6em;
    text-indent: -1.6em;
  }
}

/* ==========================================================================
   Request (資料ダウンロード)
   ========================================================================== */

.page-main--request {
  padding: 0;
}

.request-hero {
  position: relative;
  display: grid;
  color: var(--color-white);
}

.request-hero__bg {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
}

.request-hero::before {
  content: "";
  grid-area: 1 / 1;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.request-hero__foreground {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.request-hero__foreground > .breadcrumb--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.request-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px;
  width: 100%;
  box-sizing: border-box;
}

.request-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.request-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.request-hero__title-text {
  display: block;
  font-size: 1.5rem;
}

.request-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.request-intro {
  background-color: var(--color-bg);
}

.request-intro__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

.request-intro__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.request-intro__text + .request-intro__text {
  margin-top: 0.5em;
}

.request-materials {
  background-color: var(--color-bg);
}

.request-materials__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px 56px;
}

.request-materials__title {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
}

.request-materials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 20px 28px;
  background-color: var(--color-white);
  border-radius: 6px;
}

.request-card__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.request-card__figure {
  margin: 0 0 16px;
  line-height: 0;
}

.request-card__img {
  display: block;
  width: 100%;
  height: auto;
}

.request-card__text {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.request-card__action {
  margin: auto 0 0;
  text-align: center;
}

.request-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background-color: var(--color-footer-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.request-card__btn:hover {
  opacity: 0.85;
}

.request-card__btn-chevron {
  flex-shrink: 0;
  font-size: 0.75rem;
}

.request-order {
  background-color: #EAE5DB;
}

.request-order__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 56px;
  text-align: left;
}

.request-order__title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
}

.request-order__lead {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.request-order__note {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.request-order__form {
  width: 100%;
  min-height: 200px;
  overflow-x: auto;
  text-align: left;
}

.request-order__form .formmailer-embed {
  width: 100%;
  max-width: 100%;
}

.request-order__form iframe {
  max-width: 100%;
}

@media (max-width: 390px) {
  .request-hero__title-group {
    gap: 10px;
  }

  .request-hero__title-text {
    font-size: 1.25rem;
  }
}

@media (max-width: 320px) {
  .request-hero__title-text {
    font-size: 1.125rem;
  }
}

@media (min-width: 700px) {
  .request-materials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .request-card__body {
    padding: 32px 28px 36px;
  }

  .request-card__btn {
    width: auto;
    min-width: min(100%, 280px);
  }
}

@media (min-width: 768px) {
  .page-main--request {
    padding: 0 0 80px;
  }

  .request-hero {
    display: block;
  }

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

  .request-hero::before {
    position: absolute;
    inset: 0;
  }

  .request-hero__foreground {
    position: relative;
    z-index: 2;
    display: block;
  }

  .request-hero__foreground > .breadcrumb--hero {
    position: static;
  }

  .request-hero__inner {
    padding: 48px 40px 72px;
  }

  .request-hero__title-group {
    gap: 20px;
  }

  .request-hero__title-text {
    font-size: 2rem;
  }

  .request-hero__title-line {
    width: 120px;
  }

  .request-intro__inner {
    padding: 56px 40px;
  }

  .request-intro__text {
    font-size: 1rem;
  }

  .request-materials__inner {
    padding: 0 40px 80px;
  }

  .request-materials__title {
    margin-bottom: 56px;
    font-size: 2rem;
  }

  .request-card__title {
    font-size: 1.25rem;
  }

  .request-card__text {
    font-size: 0.9375rem;
  }

  .request-card__btn {
    min-width: min(100%, 320px);
    padding: 16px 28px;
    font-size: 0.875rem;
  }

  .request-order__inner {
    padding: 72px 40px 80px;
  }

  .request-order__title {
    margin-bottom: 32px;
    font-size: 2rem;
  }

  .request-order__lead {
    margin-bottom: 20px;
    font-size: 1rem;
  }

  .request-order__note {
    margin-bottom: 40px;
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .request-materials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .request-card__body {
    padding: 40px 36px 44px;
  }
}

/* ==========================================================================
   QA / よくある質問
   ========================================================================== */

.page-main--qa {
  padding: 0 0 56px;
}

.qa-hero {
  position: relative;
  display: grid;
  color: var(--color-white);
}

.qa-hero__bg {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
}

.qa-hero::before {
  content: "";
  grid-area: 1 / 1;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.qa-hero__foreground {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.qa-hero__foreground > .breadcrumb--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.qa-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px;
  width: 100%;
  box-sizing: border-box;
}

.qa-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.qa-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.qa-hero__title-text {
  display: block;
  font-size: 1.5rem;
}

.qa-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  max-width: 48px;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.qa-nav {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

.qa-nav__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-text);
  border-left: 1px solid var(--color-text);
}

.qa-nav__list > li {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.qa-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex: 1 1 auto;
  width: 100%;
  min-height: 56px;
  padding: 12px 10px 12px 12px;
  border: none;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 1.4;
  box-sizing: border-box;
  transition: opacity 0.2s;
}

.qa-nav__link:hover {
  opacity: 0.7;
}

.qa-nav__text {
  flex: 1;
  min-width: 0;
}

.qa-nav__icon {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: rotate(45deg);
}

.qa-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

.qa-section {
  scroll-margin-top: calc(var(--site-header-height) + 24px);
}

.qa-section + .qa-section {
  margin-top: 48px;
}

.qa-section__heading {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.375em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.qa-accordion__item {
  border: 1px solid var(--color-border);
}

.qa-accordion__item + .qa-accordion__item {
  margin-top: 8px;
}

.qa-accordion__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.qa-accordion__trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 12px 14px 14px;
  border: none;
  background-color: #E5DBD2;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: left;
  color: var(--color-text);
  cursor: pointer;
  transition: opacity 0.2s;
}

.qa-accordion__trigger:hover {
  opacity: 0.85;
}

.qa-accordion__q-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.qa-accordion__question {
  flex: 1;
  min-width: 0;
}

.qa-accordion__toggle {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.qa-accordion__toggle::before,
.qa-accordion__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-text);
  transform: translate(-50%, -50%);
}

.qa-accordion__toggle::before {
  width: 12px;
  height: 1px;
}

.qa-accordion__toggle::after {
  width: 1px;
  height: 12px;
  transition: opacity 0.2s;
}

.qa-accordion__trigger[aria-expanded="true"] .qa-accordion__toggle::after {
  opacity: 0;
}

.qa-accordion__panel[hidden] {
  display: none;
}

.qa-accordion__answer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 14px 20px;
  background-color: var(--color-bg);
}

.qa-accordion__a-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.qa-accordion__answer-body {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.qa-accordion__answer-body > p {
  margin: 0 0 1.25rem;
}

.qa-accordion__answer-body > p:last-child {
  margin-bottom: 0;
}

.qa-accordion__answer-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.qa-accordion__answer-body table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  font-size: inherit;
  line-height: 1.7;
}

.qa-accordion__answer-body th,
.qa-accordion__answer-body td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.qa-accordion__answer-body th {
  font-weight: 500;
  background-color: var(--color-bg-subtle);
}

.qa-accordion__answer-body td {
  background-color: var(--color-bg);
}

.qa-accordion__answer-body img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
}

.qa-accordion__figure {
  margin: 16px 0 0;
}

.page-main--qa .daybuild-setsumeikai {
  margin-top: 56px;
}

@media (max-width: 390px) {
  .qa-hero__title-group {
    gap: 10px;
  }

  .qa-hero__title-text {
    font-size: 1.25rem;
  }

  .qa-nav__link {
    font-size: 0.6875rem;
    padding: 12px 8px 12px 10px;
  }
}

@media (max-width: 320px) {
  .qa-hero__title-text {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .page-main--qa {
    padding: 0 0 80px;
  }

  .qa-hero {
    display: block;
  }

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

  .qa-hero::before {
    position: absolute;
    inset: 0;
  }

  .qa-hero__foreground {
    position: relative;
    z-index: 2;
    display: block;
  }

  .qa-hero__foreground > .breadcrumb--hero {
    position: static;
  }

  .qa-hero__inner {
    padding: 48px 40px 72px;
  }

  .qa-hero__title-group {
    gap: 20px;
  }

  .qa-hero__title-text {
    font-size: 2rem;
  }

  .qa-hero__title-line {
    max-width: none;
    width: 120px;
  }

  .qa-nav {
    padding: 56px 40px 0;
  }

  .qa-nav__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qa-nav__link {
    gap: 8px;
    min-height: 56px;
    padding: 14px 16px;
    font-size: 0.875rem;
  }

  .qa-nav__icon {
    width: 8px;
    height: 8px;
    margin-top: -4px;
  }

  .qa-nav__text br {
    display: none;
  }

  .qa-content {
    padding: 56px 40px 0;
  }

  .qa-section + .qa-section {
    margin-top: 64px;
  }

  .qa-section__heading {
    margin-bottom: 28px;
    font-size: 1.875em;
  }

  .qa-accordion__item + .qa-accordion__item {
    margin-top: 10px;
  }

  .qa-accordion__trigger {
    align-items: center;
    gap: 12px;
    padding: 18px 20px 18px 24px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .qa-accordion__q-icon {
    width: 24px;
    height: 24px;
    margin-top: 0;
  }

  .qa-accordion__question {
    padding-top: 0;
  }

  .qa-accordion__toggle {
    width: 16px;
    height: 16px;
    margin-top: 0;
  }

  .qa-accordion__answer {
    padding: 24px 24px 28px;
    gap: 16px;
  }

  .qa-accordion__a-icon {
    width: 25px;
    height: 24px;
    margin-top: 0;
  }

  .qa-accordion__answer-body {
    font-size: 0.9375rem;
    line-height: 1.9;
  }

  .page-main--qa .daybuild-setsumeikai {
    margin-top: 96px;
  }
}

/* ==========================================================================
   Setsumeikai / School Information Session
   ========================================================================== */

.page-main--setsumeikai {
  padding: 0 0 56px;
}

.setsumeikai-hero {
  position: relative;
  display: grid;
  color: var(--color-white);
}

.setsumeikai-hero__bg {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
}

.setsumeikai-hero::before {
  content: "";
  grid-area: 1 / 1;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.setsumeikai-hero__foreground {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.setsumeikai-hero__foreground > .breadcrumb--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.setsumeikai-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 20px;
  width: 100%;
  box-sizing: border-box;
}

.setsumeikai-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.setsumeikai-hero__title-group {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
}

.setsumeikai-hero__title-text {
  display: block;
  font-size: 1.5rem;
}

.setsumeikai-hero__title-line {
  flex-shrink: 0;
  align-self: stretch;
  width: auto;
  height: auto;
  aspect-ratio: 61.995 / 36.734;
  object-fit: contain;
}

.setsumeikai-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.setsumeikai-container--lg {
  max-width: 1440px;
}

.setsumeikai-container--md {
  max-width: 920px;
}

.setsumeikai-container--sm {
  max-width: 700px;
}

.setsumeikai-anchor {
  max-width: 920px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.setsumeikai-anchor__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-text);
  border-left: 1px solid var(--color-text);
}

.setsumeikai-anchor__list > li {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.setsumeikai-anchor__list > li:last-child {
  grid-column: 1 / 2;
}

.setsumeikai-anchor__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex: 1 1 auto;
  width: 100%;
  min-height: 56px;
  padding: 12px 10px 12px 12px;
  border: none;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  background-color: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s;
}

.setsumeikai-anchor__link:hover {
  opacity: 0.7;
}

.setsumeikai-anchor__label {
  flex: 1;
  min-width: 0;
}

.setsumeikai-anchor__icon {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: rotate(45deg);
}

.setsumeikai-section-header {
  margin: 0 0 32px;
  text-align: left;
}

.setsumeikai-section-header__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.setsumeikai-section-header__sub {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.setsumeikai-beginner,
.setsumeikai-experienced,
.setsumeikai-kobetsu,
.setsumeikai-archive {
  scroll-margin-top: var(--site-header-height);
}

.setsumeikai-beginner {
  padding: 64px 0 0;
}

.setsumeikai-schedule {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 24px;
  scroll-margin-top: calc(var(--site-header-height) + 16px);
}

.setsumeikai-schedule__item {
  margin: 0;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  overflow: hidden;
}

.setsumeikai-schedule__item img {
  display: block;
  width: 100%;
  height: auto;
}

.setsumeikai-calendar {
  margin: 0 0 24px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  overflow: hidden;
  scroll-margin-top: calc(var(--site-header-height) + 16px);
}

.setsumeikai-calendar__iframe {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
}

.setsumeikai-notes {
  margin: 0 0 24px;
  font-size: 0.8125rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.setsumeikai-notes p {
  margin: 0;
}

.setsumeikai-notes p + p {
  margin-top: 0.4em;
}

.setsumeikai-text-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.setsumeikai-text-link:hover {
  opacity: 0.75;
}

.setsumeikai-gains {
  margin: 0;
  padding: 0;
}

.setsumeikai-gains__heading {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
}

.setsumeikai-gains__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setsumeikai-gallery-block {
  margin: 48px 0 56px;
}

.setsumeikai-gallery-block--experienced {
  margin-bottom: 48px;
}

.setsumeikai-gains__item {
  padding: 28px 24px;
  background-color: var(--color-white);
}

.setsumeikai-gains__item p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.8;
  text-align: left;
}

.setsumeikai-em {
  color: var(--color-accent);
  font-weight: 700;
}

.setsumeikai-em--blue {
  color: #2F5F8A;
}

.setsumeikai-gallery {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.setsumeikai-gallery::-webkit-scrollbar {
  display: none;
}

.setsumeikai-gallery__item {
  flex: 0 0 78%;
  margin: 0;
  line-height: 0;
  scroll-snap-align: center;
}

.setsumeikai-gallery-block .setsumeikai-container--lg {
  padding-left: 0;
  padding-right: 0;
}

.setsumeikai-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.setsumeikai-topics {
  margin: 0 0 72px;
}

.setsumeikai-taiken.daybuild-works {
  margin: 0;
  padding: 56px 0 64px;
}

.setsumeikai-taiken .daybuild-works__heading {
  font-size: 1.375rem;
}

.setsumeikai-taiken .daybuild-works-slider__track {
  align-items: flex-start;
}

.setsumeikai-topics__heading,
.setsumeikai-voices__heading {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
}

.setsumeikai-topics__list {
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 0 0 0 1.25em;
  font-size: 0.9375rem;
  line-height: 2;
  letter-spacing: 0.04em;
  list-style: disc outside;
}

.setsumeikai-topics__list > li {
  margin: 0;
  padding-left: 0.25em;
}

.setsumeikai-topics__list > li + li {
  margin-top: 0.6em;
}

.setsumeikai-teacher {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 24px;
  border-radius: 24px;
  background-color: var(--color-white);
}

.setsumeikai-teacher__body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.setsumeikai-teacher__profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: left;
}

.setsumeikai-teacher__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.setsumeikai-teacher__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.setsumeikai-teacher__role {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.setsumeikai-teacher__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.setsumeikai-voices {
  margin: 0 0 48px;
}

.setsumeikai-voices-slider {
  position: relative;
  display: block;
  margin: 0 0 40px;
}

.setsumeikai-voices-slider__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 0 20px;
}

.setsumeikai-voices-slider__viewport::-webkit-scrollbar {
  display: none;
}

.setsumeikai-voices-slider__track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setsumeikai-voices-slider__slide {
  flex: 0 0 78%;
  min-width: 0;
  box-sizing: border-box;
  scroll-snap-align: center;
}

.setsumeikai-voice-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin: 0;
  padding: 24px 20px;
  border-radius: 12px;
  background-color: #EDE6DF;
  box-sizing: border-box;
}

.setsumeikai-voice-card p {
  width: 100%;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: left;
}

.setsumeikai-voices-slider__nav {
  display: none;
}

.setsumeikai-voices-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.setsumeikai-voices-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #888;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.setsumeikai-voices-slider__dot.is-active {
  background-color: #555;
  border-color: #555;
}

.setsumeikai-cta-wrap {
  margin: 0;
  text-align: center;
}

.setsumeikai-cta-wrap--after-notes {
  margin: 0 0 64px;
}

.setsumeikai-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.setsumeikai-cta:hover {
  opacity: 0.75;
}

.setsumeikai-cta--solid {
  width: min(100%, 360px);
  min-width: 0;
  padding: 14px 28px;
  border-radius: 999px;
  background-color: #3E352D;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.setsumeikai-cta__chevron {
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.setsumeikai-cta--outline {
  flex-direction: column;
  gap: 8px;
  width: min(100%, 360px);
  padding: 18px 24px;
  border: 2px solid var(--color-border);
  background-color: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.setsumeikai-cta__arrow {
  width: 56px;
  height: auto;
}

.setsumeikai-archive {
  margin: 56px 0 0;
  padding: 0 0 72px;
}

.setsumeikai-archive__lead {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
}

.setsumeikai-archive__link {
  display: block;
  line-height: 0;
  transition: opacity 0.2s;
}

.setsumeikai-archive__link:hover {
  opacity: 0.85;
}

.setsumeikai-archive__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Setsumeikai archive modal ---- */

.setsumeikai-archive-modal[hidden] {
  display: none;
}

.setsumeikai-archive-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.setsumeikai-archive-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.setsumeikai-archive-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 48px 20px 28px;
  border-radius: 16px;
  background-color: var(--color-white);
}

.setsumeikai-archive-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-text);
}

.setsumeikai-archive-modal__header {
  margin: 0 0 20px;
  text-align: left;
}

.setsumeikai-archive-modal__lead {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.setsumeikai-archive-modal__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: min(1.25rem, 5.2vw);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.setsumeikai-archive-modal__figure {
  margin: 0 0 20px;
  line-height: 0;
}

.setsumeikai-archive-modal__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.setsumeikai-archive-modal__body {
  margin: 0 0 24px;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.setsumeikai-archive-modal__body p {
  margin: 0;
}

.setsumeikai-archive-modal__body p + p {
  margin-top: 0.8em;
}

.setsumeikai-archive-modal__note {
  font-size: 0.8125rem;
}

.setsumeikai-archive-modal__form {
  width: 100%;
  min-height: 200px;
  overflow-x: auto;
}

.setsumeikai-archive-modal__form .formmailer-embed {
  width: 100%;
  max-width: 100%;
}

.setsumeikai-archive-modal__form iframe {
  max-width: 100%;
}

.setsumeikai-experienced {
  padding: 72px 0 80px;
  background-color: #D9E4EF;
}

.setsumeikai-experienced .setsumeikai-notes {
  margin-bottom: 24px;
}

.setsumeikai-experienced .setsumeikai-cta-wrap--after-notes {
  margin-bottom: 56px;
}

.setsumeikai-gains--experienced {
  margin-bottom: 0;
}

.setsumeikai-experienced__text {
  margin: 0 0 40px;
  font-size: 0.9375rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

.setsumeikai-experienced__text p {
  margin: 0;
}

.setsumeikai-experienced__text p + p {
  margin-top: 1.2em;
}

.setsumeikai-teacher--experienced {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
}

.setsumeikai-teacher--experienced .setsumeikai-teacher__profile {
  justify-content: center;
  width: auto;
}

.setsumeikai-kobetsu {
  padding: 80px 0 0;
}

.setsumeikai-kobetsu__title {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: left;
}

.setsumeikai-kobetsu__figure {
  margin: 0 0 28px;
  line-height: 0;
}

.setsumeikai-kobetsu__img {
  display: block;
  width: 100%;
  height: auto;
}

.setsumeikai-kobetsu__text {
  margin: 0 0 40px;
  font-size: 0.9375rem;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: left;
}

.setsumeikai-kobetsu__text p {
  margin: 0;
}

@media (min-width: 768px) {
  .page-main--setsumeikai {
    padding: 0 0 80px;
  }

  .setsumeikai-hero {
    display: block;
  }

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

  .setsumeikai-hero::before {
    position: absolute;
    inset: 0;
  }

  .setsumeikai-hero__foreground {
    position: relative;
    z-index: 2;
    display: block;
  }

  .setsumeikai-hero__foreground > .breadcrumb--hero {
    position: static;
  }

  .setsumeikai-hero__inner {
    padding: 48px 40px 72px;
  }

  .setsumeikai-hero__title-group {
    gap: 20px;
  }

  .setsumeikai-hero__title-text {
    font-size: 2rem;
  }

  .setsumeikai-hero__title-line {
    width: 120px;
  }

  .setsumeikai-container {
    padding: 0 40px;
  }

  .setsumeikai-anchor {
    margin-top: 56px;
    padding: 0 40px;
  }

  .setsumeikai-anchor__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    border: none;
  }

  .setsumeikai-anchor__list > li:last-child {
    grid-column: auto;
  }

  .setsumeikai-anchor__link {
    gap: 12px;
    min-height: 68px;
    padding: 12px 12px 12px 16px;
    border: 1px solid #9B9A96;
    border-right: 1px solid #9B9A96;
    border-bottom: 1px solid #9B9A96;
    background-color: transparent;
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
  }

  .setsumeikai-anchor__icon {
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right-width: 1.5px;
    border-bottom-width: 1.5px;
  }

  .setsumeikai-beginner {
    padding-top: 88px;
  }

  .setsumeikai-section-header {
    margin-bottom: 40px;
  }

  .setsumeikai-section-header__title {
    font-size: 1.875em;
  }

  .setsumeikai-section-header__sub {
    font-size: 1.125rem;
  }

  .setsumeikai-schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
  }

  .setsumeikai-calendar {
    margin-bottom: 28px;
  }

  .setsumeikai-calendar__iframe {
    min-height: 720px;
  }

  .setsumeikai-taiken.daybuild-works {
    padding: 72px 0 80px;
  }

  .setsumeikai-taiken .daybuild-works__heading {
    margin-bottom: 40px;
    font-size: 1.75rem;
  }

  .setsumeikai-notes {
    margin-bottom: 32px;
  }

  .setsumeikai-cta-wrap--after-notes {
    margin-bottom: 88px;
  }

  .setsumeikai-gains {
    margin-bottom: 0;
  }

  .setsumeikai-gains__heading {
    margin-bottom: 40px;
    font-size: 1.75rem;
  }

  .setsumeikai-gains__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .setsumeikai-gains__item {
    padding: 36px 28px;
  }

  .setsumeikai-gains__item p {
    font-size: 1rem;
  }

  .setsumeikai-gallery-block {
    margin: 80px 0 88px;
  }

  .setsumeikai-gallery-block--experienced {
    margin-bottom: 56px;
  }

  .setsumeikai-gallery-block .setsumeikai-container--lg {
    padding-left: 40px;
    padding-right: 40px;
  }

  .setsumeikai-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .setsumeikai-gallery__item {
    flex: none;
    width: auto;
  }

  .setsumeikai-topics {
    margin-bottom: 96px;
  }

  .setsumeikai-topics__heading,
  .setsumeikai-voices__heading {
    margin-bottom: 40px;
    font-size: 1.75rem;
  }

  .setsumeikai-topics__list {
    margin-bottom: 48px;
    font-size: 1rem;
  }

  .setsumeikai-teacher {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 36px 40px;
    border-radius: 32px;
  }

  .setsumeikai-teacher__body {
    flex: 1;
    min-width: 0;
  }

  .setsumeikai-teacher__body p {
    font-size: 0.9375rem;
  }

  .setsumeikai-teacher__profile {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .setsumeikai-teacher__photo {
    width: 140px;
    height: 140px;
  }

  .setsumeikai-voices-slider {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    grid-template-areas:
      "prev viewport next"
      "dots dots dots";
    align-items: center;
    gap: 16px 8px;
    margin-bottom: 48px;
  }

  .setsumeikai-voices-slider__viewport {
    grid-area: viewport;
    overflow-x: auto;
    margin: 0;
    padding: 0;
  }

  .setsumeikai-voices-slider__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
  }

  .setsumeikai-voices-slider__nav--prev {
    grid-area: prev;
  }

  .setsumeikai-voices-slider__nav--next {
    grid-area: next;
  }

  .setsumeikai-voices-slider__nav:hover {
    opacity: 0.6;
  }

  .setsumeikai-voices-slider__nav:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .setsumeikai-voices-slider__dots {
    grid-area: dots;
    margin-top: 4px;
  }

  .setsumeikai-voices-slider__slide {
    flex: 0 0 calc((100% - 32px) / 3);
  }

  .setsumeikai-voice-card {
    min-height: 220px;
    padding: 28px 22px;
  }

  .setsumeikai-voice-card p {
    font-size: 0.875rem;
  }

  .setsumeikai-cta--solid {
    width: auto;
    min-width: 360px;
    padding: 16px 36px;
    font-size: 1rem;
  }

  .setsumeikai-cta--outline {
    width: 400px;
    padding: 20px 28px;
    font-size: 0.9375rem;
  }

  .setsumeikai-archive {
    margin-top: 72px;
    padding-bottom: 96px;
  }

  .setsumeikai-archive__lead {
    margin-bottom: 24px;
    font-size: 1.375rem;
  }

  .setsumeikai-archive-modal {
    padding: 24px;
  }

  .setsumeikai-archive-modal__dialog {
    padding: 56px 40px 40px;
    border-radius: 20px;
  }

  .setsumeikai-archive-modal__close {
    top: 12px;
    right: 12px;
  }

  .setsumeikai-archive-modal__header {
    margin-bottom: 24px;
    padding-right: 44px;
  }

  .setsumeikai-archive-modal__lead {
    font-size: 0.875rem;
  }

  .setsumeikai-archive-modal__title {
    font-size: 1.5rem;
  }

  .setsumeikai-archive-modal__figure {
    margin-bottom: 24px;
  }

  .setsumeikai-archive-modal__body {
    margin-bottom: 32px;
    font-size: 0.9375rem;
  }

  .setsumeikai-experienced {
    padding: 96px 0 100px;
  }

  .setsumeikai-experienced .setsumeikai-notes {
    margin-bottom: 32px;
  }

  .setsumeikai-experienced .setsumeikai-cta-wrap--after-notes {
    margin-bottom: 72px;
  }

  .setsumeikai-experienced__text {
    margin-bottom: 48px;
    font-size: 1rem;
  }

  .setsumeikai-teacher--experienced {
    margin-bottom: 48px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    background-color: transparent;
  }

  .setsumeikai-teacher--experienced .setsumeikai-teacher__profile {
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }

  .setsumeikai-kobetsu {
    padding-top: 100px;
  }

  .setsumeikai-kobetsu__title {
    margin-bottom: 40px;
    font-size: 1.875em;
  }

  .setsumeikai-kobetsu__figure {
    margin-bottom: 36px;
  }

  .setsumeikai-kobetsu__text {
    margin-bottom: 48px;
    font-size: 1rem;
  }
}

@media (max-width: 390px) {
  .setsumeikai-hero__title-group {
    gap: 10px;
  }

  .setsumeikai-hero__title-text {
    font-size: 1.25rem;
  }

  .setsumeikai-anchor__link {
    min-height: 52px;
    padding: 12px 8px 12px 10px;
    font-size: 0.6875rem;
  }

  .setsumeikai-gallery__item {
    flex-basis: 78%;
  }

  .setsumeikai-voices-slider__slide {
    flex-basis: 78%;
  }
}

@media (max-width: 320px) {
  .setsumeikai-hero__title-text {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   404 Error
   ========================================================================== */

.page-main--404 .page-main__inner,
.page-main--coming-soon .page-main__inner {
  max-width: 920px;
}

.error-404__header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.error-404__code {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-border);
}

.error-404__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.error-404__message {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: left;
}

.error-404__primary {
  margin-bottom: 3rem;
  text-align: center;
}

.error-404__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  padding: 16px 24px;
  box-sizing: border-box;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.error-404__btn--primary {
  background-color: var(--color-footer-bg);
  color: var(--color-white);
}

.error-404__btn--primary:hover {
  opacity: 0.85;
}

.error-404__btn-arrow {
  flex-shrink: 0;
  width: 74px;
  height: auto;
}

.error-404__links-heading {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
}

.error-404__link-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.error-404__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 72px;
  padding: 14px 20px;
  box-sizing: border-box;
  border: 2px solid var(--color-border);
  background-color: var(--color-white);
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.error-404__link:hover {
  opacity: 0.7;
}

.error-404__link-text {
  display: block;
}

.error-404__link-sub {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #666;
}

.error-404__link-note {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.error-404__link-accent {
  color: var(--color-accent);
}

.error-404__link-arrow {
  flex-shrink: 0;
  width: 56px;
  height: auto;
}

@media (min-width: 768px) {
  .page-main--404,
  .page-main--coming-soon {
    padding-bottom: 80px;
  }

  .error-404__header {
    margin-bottom: 3rem;
  }

  .error-404__code {
    margin-bottom: 1rem;
    font-size: 5rem;
  }

  .error-404__title {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
  }

  .error-404__message {
    font-size: 1rem;
    text-align: center;
  }

  .error-404__primary {
    margin-bottom: 4rem;
  }

  .error-404__btn {
    max-width: 400px;
    padding: 18px 32px;
    font-size: 0.9375rem;
  }

  .error-404__links-heading {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
  }

  .error-404__link-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .error-404__link-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
    margin-left: auto;
    margin-right: auto;
  }

  .error-404__link {
    min-height: 80px;
    padding: 16px 24px;
    font-size: 0.875rem;
  }

  .error-404__link-sub {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Page Top Button
   ========================================================================== */

.page-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #EAE5DB;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-top:hover {
  background-color: #E0DAD0;
}

.page-top:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.page-top__icon {
  display: block;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-top: 2.5px solid var(--color-white);
  border-right: 2.5px solid var(--color-white);
  transform: rotate(-45deg);
}

@media (min-width: 768px) {
  .page-top {
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
  }

  .page-top__icon {
    width: 16px;
    height: 16px;
    margin-top: 6px;
    border-width: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-top {
    transition: none;
  }
}
