@charset "UTF-8";
/* -----------------------------------------------------------------
           1. Reset & Base Settings
        ----------------------------------------------------------------- */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* 10px = 1rem calculation base */
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}

body {
  font-family: var(--font-family-ja);
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* -----------------------------------------------------------------
           2. Design Tokens (CSS Variables)
        ----------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #223F76;
  --color-secondary: #223F76;
  --color-accent: #F5FC4A;
  --color-text-main: #303030;
  --color-text-sub: #91979C;
  --color-text-white: #ffffff;
  --color-bg-base: #ffffff;
  --color-bg-light: #F2F2F2;
  --color-border: #747474;
  /* Section Background Colors */
  --color-bg-orange: #F2A039;
  --color-bg-teal: #51BCC0;
  --color-bg-pink: #EA81A7;
  --color-bg-green: #59B86E;
  --color-bg-purple: #B675A7;
  --color-bg-button: #333333;
  /* Fonts */
  --font-family-ja: "Noto Sans JP", sans-serif;
  --font-family-en: "Inter", sans-serif;
  /* =========================================
               Mobile (SP) Default Tokens
            ========================================= */
  /* Spacing */
  --space-xxs: 0.4rem;
  --space-xs: 0.4rem;
  --space-sm: 0.8rem;
  --space-md: 1.2rem;
  --space-lg: 1.6rem;
  --space-xl: 2.4rem;
  --space-xxl: 3.2rem;
  --space-3l: 4.8rem;
  --space-4l: 6.4rem;
  --space-5l: 9.6rem;
  --space-6l: 12.8rem;
  /* Typography */
  --font-size-xs: 1.0rem;
  --font-size-sm: 1.4rem;
  --font-size-md: 1.6rem;
  --font-size-lg: 1.8rem;
  --font-size-xl: 2.0rem;
  --font-size-2xl: 2.4rem;
  --font-size-3xl: 2.8rem;
  --font-size-4xl: 3.2rem;
  --font-size-5xl: 4.0rem;
  --font-size-hero: 4.2rem;
  /* Container */
  --container-width: 100%;
  --container-padding: 2.0rem;
}

/* =========================================
           Desktop (PC) Tokens Override
        ========================================= */
@media (min-width: 768px) {
  :root {
    /* Spacing */
    --space-xxs: 0.4rem;
    --space-xs: 0.8rem;
    --space-sm: 1.2rem;
    --space-md: 1.6rem;
    --space-lg: 2.4rem;
    --space-xl: 3.2rem;
    --space-xxl: 4.8rem;
    --space-3l: 6.4rem;
    --space-4l: 9.6rem;
    --space-5l: 12.8rem;
    --space-6l: 16.0rem;
    /* Typography */
    --font-size-xs: 1.4rem;
    --font-size-sm: 1.6rem;
    --font-size-md: 1.8rem;
    --font-size-lg: 2.0rem;
    --font-size-xl: 2.4rem;
    --font-size-2xl: 3.2rem;
    --font-size-3xl: 4.2rem;
    --font-size-4xl: 5.6rem;
    --font-size-5xl: 7.2rem;
    --font-size-hero: 8.4rem;
    /* Container */
    --container-width: 1600px;
    --container-padding: 4.0rem;
  }
}
/* --- Header --- */
.header {
  position: fixed;
  width: 100%;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid #000;
  opacity: 0;
  -webkit-transition: opacity 1.5s ease-in-out;
  transition: opacity 1.5s ease-in-out;
}
.header--show {
  opacity: 1;
}
.header__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 68px;
  padding: 0 2rem;
}
@media screen and (min-width: 1024px) {
  .header__body {
    height: 82px;
  }
}
.header__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-main);
}
@media screen and (min-width: 1024px) {
  .header__logo {
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
  }
  .header__logo:hover {
    opacity: 0.6;
  }
}
.header__img {
  width: 207px;
  height: auto;
}
@media screen and (min-width: 1400px) {
  .header__img {
    width: 236px;
  }
}
.header__nav {
  margin-left: auto;
}
@media screen and (max-width: 1023px) {
  .header__nav {
    display: none;
  }
}
.header__more {
  display: block;
  margin: 4.2rem auto 6rem;
  width: 218px;
}
.header__more img {
  width: 100%;
  height: auto;
}
.header--fixed {
  position: fixed;
}

.sns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 2rem;
}
.sns__title {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  font-family: var(--font-family-en);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}
.sns__title::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: #000;
}
.sns__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2.6rem;
}
.sns__list li {
  width: 29px;
  height: 29px;
}
.sns__list li a {
  display: inline-block;
}
.sns__list li a img {
  height: 100%;
  width: auto;
}

.gnav-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}
@media screen and (min-width: 1400px) {
  .gnav-list {
    gap: 33px;
  }
}
.gnav-list__item {
  position: relative;
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
.gnav-list__item:nth-child(1) a::before {
  border-color: #E69A2F;
}
.gnav-list__item:nth-child(2) a::before {
  border-color: #43AFB9;
}
.gnav-list__item:nth-child(3) a::before {
  border-color: #DA75A3;
}
.gnav-list__item:nth-child(4) a::before {
  border-color: #3DBC75;
}
.gnav-list__item:nth-child(5) a::before {
  border-color: #B675A7;
}
.gnav-list__link {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  color: inherit;
  font-size: 1.2rem;
  font-weight: 900;
  padding: 1rem 0;
}
@media screen and (min-width: 1400px) {
  .gnav-list__link {
    font-size: 1.4rem;
  }
}
.gnav-list__link::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid #000;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media screen and (min-width: 1400px) {
  .gnav-list__link::before {
    width: 19px;
    height: 19px;
    border-width: 6px;
  }
}
.gnav-list__child {
  position: absolute;
  top: 100%;
  left: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.gnav-list__item:hover .gnav-list__child {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.gnav-list__trigger {
  display: none;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  height: 100dvh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 99;
  padding-top: 106px;
  padding-bottom: 47px;
  padding-inline: 35px;
}
.menu--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.menu__copy {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
}
.menu__copy span {
  display: block;
  font-size: 16px;
  letter-spacing: 0;
}

.menu-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 4rem;
}
.menu-list__item {
  position: relative;
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  border-bottom: 2px dashed #2B2E34;
  padding: 2.4rem 2.8rem;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}
.menu-list__item::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 6px solid #000;
  position: absolute;
  top: 25px;
  left: 0;
}
.menu-list__item span {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.8rem;
}
.menu-list__item:nth-child(1)::before {
  border-color: #E69A2F;
}
.menu-list__item:nth-child(2)::before {
  border-color: #43AFB9;
}
.menu-list__item:nth-child(3)::before {
  border-color: #DA75A3;
}
.menu-list__item:nth-child(4)::before {
  border-color: #3DBC75;
}
.menu-list__item--icon-none {
  padding: 3rem 0 0;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.5rem;
}
.menu-list__item--icon-none::before {
  display: none;
}
.menu-list__btn {
  border: 1px solid #000;
  border-radius: 3px;
  padding: 1rem 2rem;
  font-size: 10px !important;
  margin: 1.4rem -1.5rem 0;
  width: calc(100% + 3rem);
  -webkit-box-pack: justify !important;
      -ms-flex-pack: justify !important;
          justify-content: space-between !important;
}
.menu-list__btn::after {
  width: 20px !important;
  height: 20px !important;
  line-height: 20px !important;
  font-size: 10px !important;
}
.menu-list__link {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.menu-list__link::after {
  content: "→";
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 10px;
  text-align: center;
  border-radius: 50%;
  background: var(--color-text-main);
  color: #fff;
  font-family: var(--font-family-ja);
  font-weight: bold;
  position: absolute;
  top: 26px;
  right: 33px;
}
.menu-list__title-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 1rem;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: #000;
  font-weight: 900;
}
.menu-list__title-link::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 5px solid #000;
  border-color: #B675A7;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.menu-btn {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  background: #2B2E34;
  border: none;
  border-radius: 50%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media screen and (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}
.menu-btn__line {
  position: absolute;
  top: 50%;
  left: 25%;
  display: block;
  width: 20px;
  height: 2px;
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  background: #fff;
}
.menu-btn__line:nth-child(1) {
  -webkit-transform: translateY(-7px);
          transform: translateY(-7px);
}
.menu-btn__line:nth-child(2) {
  top: 50%;
}
.menu-btn__line:nth-child(3) {
  width: 10px;
  -webkit-transform: translateY(7px);
          transform: translateY(7px);
}
.menu-btn[aria-expanded=true] .menu-btn__line:nth-child(1) {
  -webkit-transform: translateY(0) rotate(-30deg);
          transform: translateY(0) rotate(-30deg);
}
.menu-btn[aria-expanded=true] .menu-btn__line:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded=true] .menu-btn__line:nth-child(3) {
  width: 20px;
  -webkit-transform: translateY(0) rotate(30deg);
          transform: translateY(0) rotate(30deg);
}

/*********************/
/*  loader  */
/*********************/
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
}
.loader__icon {
  position: absolute;
  border-left: 2px solid var(--color-white);
  border-top: 2px solid var(--color-text-main);
  border-right: 2px solid var(--color-text-main);
  border-bottom: 2px solid var(--color-text-main);
  height: 46px;
  width: 46px;
  left: 50%;
  top: 50%;
  margin: -23px 0 0 -23px;
  text-indent: -9999em;
  font-size: 10px;
  z-index: 9999;
  -webkit-animation: load 0.8s infinite linear;
          animation: load 0.8s infinite linear;
}
.loader__icon, .loader__icon::after {
  border-radius: 50%;
  width: 46px;
  height: 46px;
}

@-webkit-keyframes load {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes load {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@-webkit-keyframes fade {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes fade {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}
.link-card {
  position: relative;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.link-card img {
  margin-bottom: 2rem;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.link-card:hover {
  opacity: 0.8;
}

/* Main Footer */
.footer {
  background: #fff;
  padding: var(--space-3l) 36px;
  border-top: 1px solid #eee;
  font-size: 1rem;
  color: var(--color-text-sub);
}
@media screen and (min-width: 768px) {
  .footer {
    padding: var(--space-3l) 64px;
  }
}
.footer__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 1.2rem;
  font-size: 1rem;
  color: #000;
  font-weight: 700;
  margin-top: 4rem;
}
@media screen and (min-width: 768px) {
  .footer__links {
    font-size: 1.6rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 2rem;
    margin-top: 5rem;
  }
}
@media screen and (min-width: 1024px) {
  .footer__links {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
}
.footer__container {
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media screen and (min-width: 768px) {
  .footer__container {
    gap: var(--space-lg);
  }
}
@media screen and (min-width: 1024px) {
  .footer__container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    display: grid;
    grid-template-columns: auto 1fr;
  }
}
.footer .menu__copy {
  color: #000;
  font-size: var(--font-size-xl);
}
.footer .menu__copy span {
  font-size: var(--font-size-xl);
}
.footer .footer__more {
  margin: 0;
  max-width: 217px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 767px) {
  .footer .footer__more {
    margin-bottom: 3rem;
  }
}
.footer .footer__more img {
  width: 60%;
  height: auto;
}
@media screen and (min-width: 768px) {
  .footer .footer__more img {
    width: 100%;
  }
}
.footer .sns {
  margin-top: 4rem;
}
@media screen and (min-width: 1024px) {
  .footer .sns {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
.footer .sns__title {
  display: none;
}
.footer__copy {
  text-align: center;
  color: #ccc;
  margin-top: 2.5rem;
}
@media screen and (min-width: 1024px) {
  .footer__copy {
    text-align: right;
    margin-top: 5rem;
  }
}

/* Footer Links */
.footer-links {
  padding: var(--space-4l) 0;
  text-align: center;
  background: #fff;
  position: relative;
}
.footer-links__grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-3l);
}
@media (min-width: 768px) {
  .footer-links__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 767px) {
  .footer-links h2 {
    font-size: 3.2rem !important;
  }
}

.learn-more__pagetop {
  text-align: right;
  margin-top: 4rem;
  padding-right: 2rem;
}
@media screen and (min-width: 768px) {
  .learn-more__pagetop {
    margin-top: 8rem;
    padding-right: 4rem;
  }
}

.btn--back.btn--pagetop::after {
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

/*  パンくず  */
.breadcrumb {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}
@media screen and (min-width: 768px) {
  .breadcrumb {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }
}
.breadcrumb__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  font-size: 1.2rem;
  list-style: none;
  gap: 6px;
}
.breadcrumb__item {
  color: var(--color-text-main);
}
.breadcrumb__item:not(:first-child):before {
  content: "/";
  position: relative;
  display: inline-block;
  margin-right: 6px;
}
.breadcrumb__item:not(:last-child) {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.breadcrumb__item:not(:last-child) a {
  color: var(--color-text-main);
  text-decoration: underline;
  font-weight: 700;
}
@media screen and (min-width: 1024px) {
  .breadcrumb__item:not(:last-child) a {
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
  }
  .breadcrumb__item:not(:last-child) a:hover {
    opacity: 0.6;
  }
}
.breadcrumb__item:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumb__item:last-child a {
  pointer-events: none;
  font-weight: 500;
}
.breadcrumb__link {
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}
.breadcrumb__link:hover {
  opacity: 1;
}
.kadomaru {
  border-radius: 20px;
  overflow: hidden;
}

.goto {
  border-radius: 6px;
  border: 2px solid #000;
  padding: 3.2rem var(--space-xl);
  margin: 4rem 0 5rem;
}
@media screen and (min-width: 768px) {
  .goto {
    padding-top: 5rem;
    padding-bottom: 4.2rem;
  }
}
.goto__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.goto__list {
  list-style: none;
  margin-top: var(--space-lg);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 2.4rem;
  counter-reset: number 0;
}
@media screen and (min-width: 768px) {
  .goto__list {
    gap: 1.8rem;
  }
}
.goto__list li {
  counter-increment: number 1;
  display: block;
}
.goto__list li a {
  color: var(--color-text-main);
  font-size: var(--font-size-md);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-decoration-color: #000;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.goto__list li a::before {
  display: inline-block;
  margin-right: 2rem;
}
.goto__list li a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("../images/arrow-down.svg") no-repeat center/contain;
  vertical-align: middle;
  margin-left: 0.6rem;
}
@media screen and (min-width: 768px) {
  .goto__list li a::after {
    width: 25px;
    height: 25px;
    margin-left: 1.2rem;
  }
}

.sub-hero--orange {
  background: var(--color-bg-orange);
}
.sub-hero--teal {
  background-color: var(--color-bg-teal);
}
.sub-hero--green {
  background-color: var(--color-bg-green);
}
.sub-hero {
  margin-bottom: 6rem;
}
@media screen and (min-width: 768px) {
  .sub-hero {
    margin-bottom: 10rem;
  }
}

.table-responsive {
  overflow-x: auto;
}

.sub-page *:first-child {
  margin-top: 0;
}
.sub-page p {
  line-height: 1.8;
}
.sub-page p:not(:first-child) {
  margin-top: 1rem;
}
.sub-page .h1 {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-text-main);
  margin-block: 8rem 4rem;
}
@media screen and (min-width: 768px) {
  .sub-page .h1 {
    font-size: 3.2rem;
    margin-block: 12rem 6rem;
  }
}
.sub-page .h2 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-text-main);
  margin-block: 4rem 2.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 2px solid #000;
}
@media screen and (min-width: 768px) {
  .sub-page .h2 {
    font-size: 2.8rem;
    margin-block: 8rem 4rem;
  }
}
.sub-page .h3 {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-text-main);
  margin-block: 2rem 1.6rem;
}
@media screen and (min-width: 768px) {
  .sub-page .h3 {
    font-size: 2.2rem;
    margin-block: 4rem 2rem;
  }
}
.sub-page .h4 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  display: inline-block;
  background: var(--color-text-main);
  padding: 0.5rem 2rem 0.8rem;
  margin-block: 2rem 1.6rem;
}
@media screen and (min-width: 768px) {
  .sub-page .h4 {
    font-size: 2rem;
  }
}
.sub-page .img-box {
  margin-block: 4rem;
}
.sub-page figcaption {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  font-weight: 500;
}
.sub-page .box {
  display: block;
  border: 2px solid #000;
  padding: 2.4rem;
  margin-block: 4rem 2rem;
  border-radius: 8px;
}
@media screen and (min-width: 768px) {
  .sub-page .box {
    margin-block: 6rem 4rem;
  }
}
.sub-page .table {
  margin-block: 3.5rem;
  border-top: 2px dashed #000;
  border-collapse: collapse;
}
.sub-page .table tr {
  border-bottom: 2px dashed #000;
}
@media screen and (max-width: 767px) {
  .sub-page .table tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 2.2rem 0;
  }
}
.sub-page .table th, .sub-page .table td {
  padding: 2.2rem 0;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .sub-page .table th, .sub-page .table td {
    padding: 0;
  }
}
.sub-page .table th {
  width: 20%;
  text-align: left;
  font-weight: 700;
  margin-bottom: 1rem;
}
.sub-page .table-scroll {
  overflow-x: auto;
  display: block;
  margin-block: 3rem 6rem;
}
.sub-page .table-scroll__table {
  width: 100%;
  border-collapse: collapse;
}
.sub-page .table-scroll__table th, .sub-page .table-scroll__table td {
  white-space: nowrap;
  padding: 1.5rem;
  font-size: 1.5rem;
}
.sub-page .table-scroll__table th {
  border: 1px solid #fff;
  background: var(--color-text-main);
  color: #fff;
  font-weight: 900;
  text-align: center;
}
.sub-page .table-scroll__table td {
  font-weight: 500;
  text-align: left;
  border: 1px solid var(--color-text-main);
}
.sub-page .underline {
  display: inline;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(75%, transparent), color-stop(75%, #D3D7DD));
  background: linear-gradient(transparent 75%, #D3D7DD 75%);
}
.sub-page .annotation {
  color: #8891A3;
  font-weight: 500;
  line-height: 1.8;
}
.sub-page .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.6rem;
}
@media screen and (max-width: 767px) {
  .sub-page .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.sub-page .btn-wrap {
  margin-block: 6.4rem 3rem;
}
@media screen and (max-width: 767px) {
  .sub-page .btn-wrap {
    margin-block: 4rem 2rem;
  }
}
.sub-page .btn-wrap--center {
  text-align: center;
}

.page-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
}
@media screen and (min-width: 768px) {
  .page-wrapper {
    max-width: 1920px;
  }
}

.page-image {
  display: block;
  width: 100%;
  line-height: 0;
}
.page-image img {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

/*表示・非表示 切り替え用 */
@media screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .tab-only {
    display: none;
  }
}
@media screen and (min-width: 1024px) {
  .tab-only {
    display: none;
  }
}

@media screen and (max-width: 1023px) {
  .pc-only {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .sp-none {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .tab-none {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .pc-none {
    display: none;
  }
}

/* -----------------------------------------------------------------
           3. Utility Classes
        ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.container--min {
  max-width: 1280px;
}

.text-center {
  text-align: center;
}

.next-career__banner {
  max-width: 540px;
  margin: 0 auto;
}

.text-right {
  text-align: right;
}

.font-en {
  font-family: var(--font-family-en);
}

.font-bold {
  font-weight: 900;
}

/* Button Component */
.btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--color-text-main);
  font-size: var(--font-size-lg);
  font-weight: bold;
  letter-spacing: 0.1em;
  gap: 1rem;
}
@media screen and (max-width: 767px) {
  .btn {
    font-size: 1.4rem;
  }
}
.btn::after {
  content: "→";
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  background: var(--color-text-main);
  color: #fff;
  font-family: var(--font-family-ja);
  font-weight: bold;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  .btn::after {
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
}
@media screen and (min-width: 1024px) {
  .btn {
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
  }
  .btn:hover {
    opacity: 0.6;
  }
}
.btn--white {
  background-color: #fff;
  color: #000;
}
.btn--white:hover {
  background-color: #f0f0f0;
}
.btn--more {
  background: none;
  font-family: var(--font-family-en);
  text-decoration: underline;
}
.btn--border {
  border: 2px solid #000;
  border-radius: 6px;
  padding: 2.7rem 2.4rem;
  gap: 3.2rem;
}
@media screen and (max-width: 767px) {
  .btn--border {
    padding: 1.8rem 1.6rem;
    gap: 1.6rem;
  }
}
.btn--border::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.btn--back {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .btn--back {
    font-size: 1.8rem;
  }
}
.btn--back::after {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  margin: 0;
}
@media screen and (max-width: 767px) {
  .btn--back::after {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
}

/* Section Number */
.section-num {
  font-family: var(--font-family-en);
  font-size: var(--font-size-5xl);
  line-height: 1;
  margin-bottom: var(--space-xs);
  display: block;
}

/* -----------------------------------------------------------------
           4. Layout Components
        ----------------------------------------------------------------- */
/* Hero Section */
.hero {
  position: relative;
  aspect-ratio: 780/1000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  background-color: #fff;
  -webkit-transition: 2s ease-out;
  transition: 2s ease-out;
}
@media screen and (min-width: 768px) {
  .hero {
    width: 100%;
    max-height: 100vh;
    margin-inline: auto;
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
  opacity: 0;
  -webkit-transition: 2s ease-out;
  transition: 2s ease-out;
}
.hero--show {
  background-color: #e77e00;
}
.hero--show::before {
  opacity: 1;
}
.hero__bg {
  position: absolute;
  display: block;
  top: 68px;
  left: 0;
  width: 100%;
  height: calc(100% - 68px); /* ヘッダー分を引く */
  z-index: 0;
  opacity: 0; /* 初期状態は非表示 */
  -webkit-transition: opacity 1.5s ease-in-out;
  transition: opacity 1.5s ease-in-out; /* フェードイン表示 */
}
@media screen and (min-width: 1024px) {
  .hero__bg {
    top: 82px;
    height: calc(100% - 82px);
  }
}
.hero__bg--show {
  opacity: 1 !important;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: var(--space-lg);
}

.hero__title {
  position: relative;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.8;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--font-size-hero);
  }
}

/* 横線要素 */
.hero__title-line {
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 3;
}
.hero__title-line--anime {
  -webkit-animation: drawLine 1s 0.7s ease-in-out forwards;
          animation: drawLine 1s 0.7s ease-in-out forwards;
}

/*  1行目（横並び用の行） */
.hero__title-row--top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0;
}

/*  テキスト共通スタイル */
.hero__title-text {
  opacity: 0;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
}
.hero__title-text--3 {
  display: block;
}

/* 初回訪問時のアニメーション */
.hero__title--anime .hero__title-line {
  -webkit-animation: drawLine 1s 0.7s ease-in-out forwards;
          animation: drawLine 1s 0.7s ease-in-out forwards;
}
.hero__title--anime .hero__title-text--1 {
  -webkit-animation: fadeInUp 0.6s 1.8s ease-out forwards;
          animation: fadeInUp 0.6s 1.8s ease-out forwards;
}
.hero__title--anime .hero__title-text--2 {
  -webkit-animation: fadeInUp 0.6s 2.8s ease-out forwards;
          animation: fadeInUp 0.6s 2.8s ease-out forwards;
}
.hero__title--anime .hero__title-text--3 {
  -webkit-animation: fadeInUp 0.6s 3.8s ease-out forwards;
          animation: fadeInUp 0.6s 3.8s ease-out forwards;
}

/* 2回目以降（即座に表示） */
.hero__title--line .hero__title-line {
  width: 100vw;
}
.hero__title--line .hero__title-text {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* アニメーション定義 */
@-webkit-keyframes drawLine {
  from {
    width: 0;
  }
  to {
    width: 100vw;
  }
}
@keyframes drawLine {
  from {
    width: 0;
  }
  to {
    width: 100vw;
  }
}
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.hero__tagline {
  display: inline-block;
  background-color: #fff;
  color: var(--color-primary);
  padding: 0.5rem 1.5rem;
  font-weight: bold;
  font-size: var(--font-size-xs);
  margin-top: var(--space-md);
}

/* Intro Section */
.intro {
  padding: var(--space-3l) 0;
  background-color: #fff;
  border-bottom: 2px solid #000;
  -webkit-transition: 2s ease-out;
  transition: 2s ease-out;
  opacity: 0;
}
@media screen and (min-width: 768px) {
  .intro {
    padding-top: 150px;
    padding-bottom: 100px;
  }
}
.intro--show {
  opacity: 1;
}

.intro__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: var(--space-3l);
}

@media screen and (min-width: 1024px) {
  .intro__container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.intro__message {
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  font-weight: 900;
  font-size: var(--font-size-5xl);
  line-height: 1.7;
  margin: 0 auto;
}

@media screen and (min-width: 1024px) {
  .intro__message {
    margin: 0;
  }
}
.intro__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  max-width: 800px;
}

.intro__heading {
  font-size: var(--font-size-xl);
  font-weight: 900;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-sm);
}
.intro__heading span {
  font-size: 150%;
}
@media screen and (max-width: 767px) {
  .intro__heading span {
    display: block;
  }
}

.index-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: var(--space-3l);
}
@media screen and (max-width: 767px) {
  .index-grid {
    border-top: 2px solid #000;
  }
}
@media screen and (min-width: 768px) {
  .index-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-3l);
  }
}

.index-item {
  padding-bottom: var(--space-xl);
  border-bottom: 2px solid #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}
@media screen and (max-width: 767px) {
  .index-item {
    padding-top: var(--space-xl);
  }
}
@media screen and (min-width: 768px) {
  .index-item:nth-child(1), .index-item:nth-child(2) {
    border-top: 2px solid #000;
    padding-top: var(--space-xl);
  }
}
.index-item__head {
  display: grid;
  grid-template-columns: auto 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.5rem;
}
@media screen and (max-width: 767px) {
  .index-item__head {
    margin-bottom: 2rem;
  }
}
.index-item p {
  font-weight: 900;
  font-size: var(--font-size-xl);
  margin-bottom: 5rem;
}
.index-item hr.dotted {
  border-style: dashed;
  margin-block: 1rem;
}
.index-item__link {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.index-item__num {
  font-family: var(--font-family-en);
  font-size: 7.2rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: var(--space-xs);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.index-item__num::before {
  content: "#";
  font-size: 50%;
}

.index-item__title {
  font-weight: bold;
  font-size: var(--font-size-md);
  margin-bottom: var(--space-sm);
  border-left: 1px solid #000;
  padding-left: 1.5rem;
}
.index-item__title::before {
  content: attr(data-en) "";
  display: block;
  font-family: var(--font-family-en);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.4rem;
}

.index-item__more {
  text-align: right;
  font-family: var(--font-family-en);
  font-size: var(--font-size-xs);
  font-weight: bold;
  text-transform: uppercase;
  position: absolute;
  bottom: var(--space-xl);
  right: 0;
}
.index-item__more::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  border-radius: 50%;
  background: #000;
  color: #fff;
  width: 1.6rem;
  height: 1.6rem;
  text-align: center;
  line-height: 1.6rem;
  font-size: 1rem;
}

.index-item__more-group {
  position: absolute;
  bottom: var(--space-xl);
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 0.2rem;
}
.index-item__more-group .index-item__more {
  position: static;
}

.intro__sub {
  margin-top: var(--space-3l);
}

.intro__sub-title {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  margin-bottom: var(--space-3l);
}
.intro__sub-title span {
  font-size: 120%;
  display: block;
  margin-top: 2rem;
}
.intro__sub-title + p {
  font-size: var(--font-size-lg);
  font-weight: 900;
  line-height: 2.2;
}
@media screen and (min-width: 1024px) {
  .intro__sub-title + p {
    width: 60%;
    margin-left: auto;
    margin-right: 0;
  }
}

.font-en {
  font-family: var(--font-family-en);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 2;
  letter-spacing: 0.84px;
  margin-bottom: 3.2rem;
}
@media screen and (min-width: 768px) {
  .font-en {
    font-size: 1.6rem;
    margin-bottom: 5.6rem;
  }
}

/* Feature Section Base */
.feature {
  padding: var(--space-4l) 0 4rem;
  color: #333;
  /* Removed overflow: hidden to allow sticky to work properly relative to viewport/ancestors */
  position: relative;
  padding-left: 30px;
}
@media screen and (min-width: 768px) {
  .feature {
    padding-left: 60px;
    padding-block: 82px;
    padding-bottom: var(--space-4l);
  }
}
.feature--sub {
  background: none !important;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}
.feature--sub .local-sidebar {
  border-right: 2px solid #000;
}
.feature--sub .local-sidebar + .container {
  max-width: none;
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .feature--sub .local-sidebar + .container {
    padding-inline: 40px;
  }
}
@media screen and (min-width: 1024px) {
  .feature--sub .local-sidebar + .container {
    padding-inline: 80px;
  }
}
.feature--sub .container + .container {
  border-top: 2px solid #000;
  margin-top: 5rem;
  padding-top: 6rem;
  max-width: none;
  padding-inline: 2rem;
}
@media screen and (min-width: 768px) {
  .feature--sub .container + .container {
    padding-inline: 4rem;
    margin-top: 10rem;
    padding-top: 12rem;
  }
}
@media screen and (min-width: 1024px) {
  .feature--sub .container + .container {
    padding-inline: max(4rem, (100vw - 60px - 1200px) / 2);
  }
}

/* -------------------------------------------
           Local Sidebar for Sections
        ------------------------------------------- */
.local-sidebar {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30px;
  background-color: #fff;
  z-index: 10;
  border-right: 2px solid #000;
}
@media screen and (min-width: 768px) {
  .local-sidebar {
    width: 60px;
  }
}

.local-sidebar__inner {
  position: sticky;
  top: 6.8rem;
  /* Sticks to the top of the viewport */
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-family-ja);
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  padding: 1.3rem 0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
@media screen and (min-width: 768px) {
  .local-sidebar__inner {
    top: 8.2rem;
    font-size: 1.4rem;
    gap: 1rem;
    padding: 3rem 0;
  }
}
.local-sidebar__inner {
  /* No height needed if we just want it to stick at top */
}
.local-sidebar__inner::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 5px solid red;
}
@media screen and (min-width: 768px) {
  .local-sidebar__inner::before {
    width: 30px;
    height: 30px;
    border-width: 10px;
  }
}

.feature__grid {
  display: grid;
}

@media (min-width: 768px) {
  .feature__grid {
    grid-template-columns: 1fr 1fr;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: var(--space-4l);
  }
}
/* Feature Colors */
.feature--orange {
  background-color: var(--color-bg-orange);
}
.feature--orange .local-sidebar__inner::before {
  border-color: var(--color-bg-orange);
}

.feature--teal {
  background-color: var(--color-bg-teal);
  border-top: 2px solid #000;
}
.feature--teal .local-sidebar__inner::before {
  border-color: var(--color-bg-teal);
}

.feature--pink {
  background-color: var(--color-bg-pink);
  border-top: 2px solid #000;
}
.feature--pink .local-sidebar__inner::before {
  border-color: var(--color-bg-pink);
}

.feature--green {
  background-color: var(--color-bg-green);
  border-top: 2px solid #000;
}
.feature--green .local-sidebar__inner::before {
  border-color: var(--color-bg-green);
}

.feature--purple {
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}
.feature--purple .local-sidebar__inner::before {
  border-color: var(--color-bg-purple);
}

/* Feature Content */
.feature__meta {
  font-size: var(--font-size-xs);
  font-weight: bold;
  margin-bottom: var(--space-sm);
  display: block;
}

@media screen and (max-width: 767px) {
  .feature__text--grid .feature__title span {
    display: block;
  }
}
@media screen and (min-width: 768px) {
  .feature__text--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 5rem;
    margin-bottom: var(--space-3l);
  }
  .feature__text--grid .index-item__head {
    grid-column: 1/3;
    grid-row: 1/2;
  }
  .feature__text--grid .feature__title {
    grid-column: 1/2;
    grid-row: 2/3;
    padding-bottom: 0;
    border: none;
    margin-bottom: 0;
  }
  .feature__text--grid .feature__desc {
    grid-column: 2/3;
    grid-row: 2/3;
  }
}

.feature__title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  line-height: 1.3;
  padding-bottom: var(--space-3l);
  border-bottom: 2px dashed #000;
  margin-bottom: var(--space-xxl);
}
@media screen and (min-width: 768px) {
  .feature__title {
    font-size: 5.6rem;
  }
}
.feature__title span:not([class]) {
  font-size: 80%;
}
.feature__title--border-top {
  border: none;
  padding-bottom: 0;
  margin-top: var(--space-3l);
  padding-top: var(--space-3l);
  border-top: 2px dashed #000;
}
.feature__title--min {
  border: none;
  padding-bottom: 0;
  font-size: var(--font-size-2xl);
}

/* Section 1 Specific Typography */
.feature__title-row {
  display: inline-block;
}

@media (min-width: 768px) {
  .feature__title-row--1 {
    font-size: 3.6rem;
    line-height: 1.4;
  }
  .feature__title-row--2 {
    font-size: 4.8rem;
    line-height: 1.4;
  }
  .feature__title-row--3 {
    font-size: 5.6rem;
    line-height: 1.4;
  }
}
.feature__desc {
  font-size: var(--font-size-sm);
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .feature__desc {
    margin-bottom: 6rem;
  }
}

/* Feature Images */
.feature__img-box {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 4rem;
}
.feature__img-box--column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4rem;
}

.feature__img-link {
  display: inline-block;
}

.feature__img {
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
}

.tag-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}
.tag-list li {
  display: inline-block;
  background: #fff;
  border: 2px solid #000;
  border-radius: 5px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem 4rem;
}
.tag-list li::before {
  content: "#";
  display: inline-block;
  margin-right: 0.5rem;
}

/* 数字の位置 */
.pagination {
  display: block;
  width: 420px;
  height: 90px;
  border-radius: 5px;
  background: #fff;
  border: 2px solid #000;
  text-align: center;
  line-height: 86px;
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  margin-top: 4rem;
  z-index: 1;
  /* これがないとスライドの下になる */
}
@media screen and (max-width: 767px) {
  .pagination {
    width: 248px;
    height: 60px;
    line-height: 56px;
  }
}

/* 数字の色やサイズ調整 */
.pagination span {
  font-family: var(--font-family-en);
  font-size: 28px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.07em;
}
@media screen and (max-width: 767px) {
  .pagination span {
    font-size: 18px;
  }
}
.pagination span:not([id]) {
  margin-inline: 1rem 0.5rem;
}

@media screen and (max-width: 767px) {
  #simple-carousel {
    margin-top: 3rem;
  }
}
#simple-carousel .splide__arrows {
  width: 420px;
  height: 90px;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 2;
}
@media screen and (max-width: 767px) {
  #simple-carousel .splide__arrows {
    width: 220px;
    height: 60px;
  }
}
#simple-carousel .splide__arrow {
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-family: var(--font-family-ja);
  font-weight: bold;
  opacity: 1;
}
@media screen and (max-width: 767px) {
  #simple-carousel .splide__arrow {
    width: 34px;
    height: 34px;
    line-height: 34px;
  }
}
#simple-carousel .splide__arrow::before {
  content: "→";
  font-size: 2rem;
}
#simple-carousel .splide__arrow svg {
  display: none;
}
#simple-carousel .splide__arrow--prev {
  -webkit-transform: rotateY(180deg) translateY(-50%);
          transform: rotateY(180deg) translateY(-50%);
}

/* Unique Style for #1 */
.speech-bubble {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background: #444;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: var(--font-size-sm);
  font-weight: bold;
  white-space: nowrap;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .speech-bubble {
    left: 0;
    -webkit-transform: translateX(-10%);
            transform: translateX(-10%);
    bottom: 2rem;
  }
}
/* Unique Style for #2 & #4 (Circle Layout) */
.circle-layout .feature__img {
  border-radius: 50%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border: 8px solid #fff;
}

.dummy-label {
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  color: red;
  font-weight: bold;
  padding: 0.2rem 0.5rem;
  font-size: 1.2rem;
  border: 1px solid red;
  -webkit-transform: rotate(-5deg);
          transform: rotate(-5deg);
  z-index: 10;
}

.circle-text {
  position: absolute;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.circle-text--1 {
  top: 10%;
  right: 0;
}

.circle-text--2 {
  bottom: 10%;
  left: 0;
}

/* Carousel Section (#3) */
.carousel-section {
  padding: var(--space-4l) 0;
  background-color: var(--color-bg-pink);
  overflow: hidden;
  text-align: center;
}

.carousel-title {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  margin-bottom: var(--space-3l);
}

.carousel-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--space-xl);
  overflow-x: auto;
  padding: 0 var(--space-lg) var(--space-xl);
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar */
.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-item {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 80%;
          flex: 0 0 80%;
  max-width: 400px;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: var(--space-lg);
  text-align: left;
  position: relative;
}

@media (min-width: 768px) {
  .carousel-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 400px;
            flex: 0 0 400px;
  }
}
.carousel-item__img {
  width: 100%;
  height: 300px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: var(--space-md);
}

.carousel-item__title {
  font-family: var(--font-family-en);
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.carousel-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 2rem;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.carousel-btn:hover {
  opacity: 0.8;
}

.carousel-indicator {
  font-family: var(--font-family-en);
  font-size: 1.8rem;
  font-weight: bold;
  background: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
}

/* Next Career Section */
.next-career {
  background: #fff;
}

.next-career__grid {
  display: grid;
  gap: var(--space-xl);
}
.next-career__grid--mt {
  margin-top: var(--space-5l);
}

@media (min-width: 768px) {
  .next-career__grid {
    grid-template-columns: 1fr 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.next-career__heading {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.next-career__logo {
  width: 100%;
  height: auto;
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* FAQ Section */
.faq {
  background-color: var(--color-bg-light);
  padding: var(--space-5l) 0;
}

.faq__heading {
  font-size: var(--font-size-2xl);
  font-weight: bold;
  margin-bottom: var(--space-xl);
}

.faq__grid {
  display: grid;
  gap: var(--space-xxl) var(--space-3l);
  background: #F2F2F2;
  padding: 3rem 2rem;
  border-radius: 20px;
}
@media screen and (min-width: 768px) {
  .faq__grid {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-3l);
  }
}

.faq-item:nth-child(1), .faq-item:nth-child(2) {
  border-bottom: 2px dashed #000;
  padding-bottom: var(--space-xxl);
}

.faq-item__q {
  font-weight: bold;
  margin-bottom: var(--space-sm);
  font-size: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.faq-item__q::before {
  content: "Q";
  font-family: var(--font-family-en);
  font-size: 34px;
}

.faq-item__a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding-left: 3rem;
}

/* Banner */
.banner-section {
  padding: var(--space-3l) 0;
  text-align: center;
}

.banner-img {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
}