/* ===========================================
   Responsive - Tablet
   =========================================== */
@media (max-width: 1024px) {
  .hero__content {
    padding: 60px 48px;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .stats__grid {
    flex-wrap: wrap;
    gap: 24px;
  }

  .course-info__card {
    flex-direction: column;
    gap: 16px;
    height: auto;
  }

  .course-info__grant {
    width: auto;
    height: auto;
  }

  .course-info__main-text p {
    font-size: 1.25rem;
  }

  .voice__grid {
    gap: 40px;
    flex-wrap: wrap;
  }

  .anxiety__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .anxiety__card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .success-cases__grid {
    grid-template-columns: repeat(2, 340px);
    gap: 50px 40px;
  }


  .support__graduation {
    font-size: 1.5rem;
  }

  .support__title {
    font-size: 1.5rem;
  }

  .support__lead {
    font-size: 1rem;
  }

  .support__steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .support__step {
    flex: 0 0 auto;
    width: 330px;
  }

  .support__step-arrow {
    padding: 15px 0;
  }

  .support__step-arrow-img--pc {
    display: none;
  }

  .support__step-arrow-img--sp {
    display: block;
    width: 92px;
    height: auto;
  }

  .price__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .community__content {
    min-height: 420px;
  }

  .community__images {
    height: 420px;
  }

  .community__image--main {
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 300px;
  }

  .community__image--sub1 {
    width: 230px;
    height: 155px;
    bottom: 0;
  }

  .community__image--sub2 {
    width: 290px;
    height: 195px;
    bottom: 0;
    top: auto;
  }

  .community__text {
    right: 0;
    bottom: 0;
  }

  .community__desc {
    font-size: 1.125rem;
  }
}

/* ===========================================
   Responsive - Mobile (390px base)
   =========================================== */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .header__inner {
    padding: 15px 20px;
    justify-content: space-between;
  }

  .header__nav,
  .header__buttons {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }

  .hero {
    height: 500px;
  }

  .hero__bg {
    background-image: url('../images/hero_bg_sp.png') !important;
    background-position: center center;
    background-size: cover;
  }

  .hero__gradient {
    background: none;
  }

  .hero__woman-pc {
    display: none;
  }

  .hero__woman-sp {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
    z-index: 5;
  }

  .hero__content {
    padding: 36px 34px 40px;
    gap: 12px;
    width: 100%;
    max-width: 390px;
    height: 100%;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero__title {
    font-size: 2rem;
    letter-spacing: 0.1em;
  }

  .hero__subtitle {
    font-size: 0.9375rem;
    line-height: 1.9;
    letter-spacing: 0.2em;
  }

  .hero__logo {
    margin-top: 50px;
  }

  .hero__logo img {
    height: 35px;
    width: 160px;
  }

  .stats {
    padding: 24px 15px;
  }

  .stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stats__item {
    gap: 6px;
  }

  .stats__icon {
    width: 28px;
    height: 28px;
  }

  .stats__label {
    font-size: 0.75rem;
  }

  .stats__sublabel {
    font-size: 0.75rem;
  }

  .stats__number {
    font-size: 1.75rem;
  }

  .stats__unit {
    font-size: 0.875rem;
  }

  .stats__card {
    padding: 16px;
  }

  .stats__main-text p {
    font-size: 1rem;
  }

  .stats__grant-amount {
    font-size: 1.75rem;
  }

  .gallery {
    padding: 16px 0;
  }

  .gallery__fade {
    width: 60px;
  }

  .gallery__slide {
    gap: 12px;
    padding-right: 12px;
  }

  .gallery__item {
    flex: 0 0 140px;
    height: 112px;
    border-radius: 16px;
    border-width: 2px;
  }

  .gallery__track {
    animation-duration: 25s;
  }

  .course-info {
    padding: 30px 15px;
  }

  .course-info__container {
    max-width: 370px;
    gap: 16px;
  }

  .course-info__card {
    flex-direction: column;
    gap: 12px;
    padding: 20px 25px;
    height: auto;
    min-height: 202px;
  }

  .course-info__badge {
    flex-direction: row;
    border-radius: 50px;
    padding: 8px 20px;
    order: -1;
  }

  .course-info__badge-text {
    font-size: 1rem;
  }

  .course-info__badge-text:first-child::after {
    content: none;
  }

  .course-info__main-text {
    order: 0;
  }

  .course-info__main-text p {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .course-info__grant {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    height: 49px;
    padding: 8px 16px;
    order: 1;
  }

  .course-info__grant-prefix {
    font-size: 1.0625rem;
  }

  .course-info__grant-amount {
    font-size: 2.1875rem;
  }

  .course-info__grant-unit {
    font-size: 1.0625rem;
  }

  .course-info__grant-sub {
    font-size: 1rem;
    width: auto;
  }

  .course-info__link {
    display: inline-flex;
    width: 100%;
    max-width: 360px;
  }

  .voice {
    padding: 0 15px 30px;
  }

  .voice__container {
    gap: 40px;
  }

  .voice__title {
    font-size: 1.5rem;
  }

  .voice__title-line {
    display: block;
  }

  .voice__grid {
    flex-direction: column;
    gap: 40px;
  }

  .event-cta {
    padding: 30px 15px;
  }

  .event-cta__container {
    max-width: 360px;
  }

  .event-cta__banner {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .event-cta__buttons {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .event-cta__btn-wrapper {
    width: 100%;
    max-width: 358px;
  }

  .event-cta__btn {
    width: 100%;
    max-width: 358px;
    height: 90px;
  }

  .event-cta__btn-main {
    font-size: 1.25rem;
  }

  .event-cta__btn-sub {
    font-size: 0.9375rem;
  }

  .anxiety-intro {
    padding: 30px 15px;
    background-color: #EAE8F6;
  }

  .anxiety-intro__title {
    font-size: 1.5rem;
  }

  .anxiety-intro__subtitle {
    font-size: 1rem;
  }

  .anxiety-intro__cards {
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }

  .anxiety-intro__card-wrapper {
    padding-top: 35px;
  }

  .anxiety-intro__card-number {
    left: 35px;
  }

  .anxiety-intro__card-number-text {
    font-size: 47px;
  }

  .anxiety-intro__card-number-line {
    width: 31px;
    height: 8px;
  }

  .anxiety-intro__card {
    width: 300px;
  }

  .solution-intro {
    padding: 30px 15px;
  }

  .solution-intro__title {
    font-size: 1.375rem;
    margin-bottom: 30px;
  }

  .solution-intro__jobs {
    padding: 15px;
  }

  .solution-intro__jobs-title {
    font-size: 1.25rem;
  }

  .solution-intro__jobs-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .solution-intro__job-wrapper {
    width: 100%;
    max-width: 250px;
  }

  .solution-intro__job-card {
    width: 100%;
    max-width: 250px;
    height: 200px;
  }

  .solution-intro__job-img {
    width: calc(100% - 16px);
    height: 145px;
  }

  .solution-intro__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solution-intro__card {
    max-width: 340px;
    margin: 0 auto;
  }

  .anxiety {
    padding: 40px 15px;
  }

  .anxiety__grid {
    grid-template-columns: 1fr;
  }

  .anxiety__card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .solution {
    padding: 40px 15px;
  }

  .solution__cards {
    grid-template-columns: 1fr;
  }

  .success-cases {
    padding: 0 0 40px;
  }

  .success-cases__bg {
    background-image: url('../images/success_cases_bg_sp.png');
  }

  .success-cases__container {
    padding: 0 25px;
  }

  .success-cases__header {
    padding-top: 42px;
    margin-bottom: 20px;
  }

  .success-cases__title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .success-cases__title-line {
    display: block;
  }

  .success-cases__subtitle {
    font-size: 1rem;
  }

  .success-cases__subtitle-line {
    display: block;
  }

  .success-cases__grid {
    grid-template-columns: 1fr;
    gap: 38px;
    max-width: 340px;
  }

  .success-cases__card {
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 0 auto;
    padding-top: 0;
  }

  .success-cases__card-banner {
    position: relative;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    margin-bottom: -5px;
    padding: 8px 20px;
    height: auto;
  }

  .success-cases__card-banner span {
    font-size: 1rem;
  }

  .success-cases__card-content {
    padding-top: 0;
  }

  .success-cases__card-image {
    height: 194px;
  }

  .curriculum {
    padding: 40px 15px;
  }

  .curriculum__title {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }

  .curriculum__image--pc {
    display: none;
  }

  .curriculum__image--sp {
    display: block;
    margin: 0 auto;
  }

  .curriculum__note {
    font-size: 1.125rem;
    margin-top: 40px;
  }

  .support {
    padding: 40px 15px 60px;
  }

  .support__graduation {
    font-size: 1.5rem;
  }

  .support__graduation::after {
    width: 150px;
    height: 9px;
  }

  .support__subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .support__title {
    font-size: 1.5rem;
    line-height: 1.6;
    text-decoration-thickness: 9px;

  }

  /* .support__title::after {
    height: 9px;
  } */

  .support__lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .support__step {
    width: 100%;
    max-width: 330px;
    height: 380px;
  }

  .support__step-banner {
    border-radius: 8px 8px 0 0;
  }

  .support__step-title {
    font-size: 1rem;
  }

  .support__step-image {
    width: 100%;
    height: auto;
  }

  .support__step-desc {
    font-size: 0.9375rem;
  }

  .support__step-arrow {
    padding: 20px 0;
  }

  .support__step-arrow-img--pc {
    display: none;
  }

  .support__step-arrow-img--sp {
    display: block;
    width: 92px;
    height: auto;
  }

  .community {
    padding: 40px 20px 60px;
  }

  .community__title {
    font-size: 1.5rem;
  }

  .community__title-line {
    display: block;
    text-align: center;
  }

  .community__content {
    margin-bottom: 40px;
  }

  .community__images {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
    margin-bottom: 20px;
  }

  .community__image {
    position: static;
  }

  .community__image--main {
    width: 100%;
    height: 206px;
    left: auto;
    top: auto;
    transform: none;
    border: 6px solid #333;
    border-radius: 10px;
    box-shadow: none;
  }

  .community__image--main img {
    border-radius: 4px;
  }

  .community__image--sub1 {
    width: 100%;
    height: 227px;
    left: auto;
    bottom: auto;
    border: 4px solid var(--color-white);
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  }

  .community__image--sub2 {
    width: 100%;
    height: 227px;
    right: auto;
    top: auto;
    border: 4px solid var(--color-white);
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  }

  .community__text {
    position: static;
  }

  .community__desc {
    font-size: 1.125rem;
    line-height: 1.6;
    text-align: left;
  }

  .community__tagline {
    font-size: 1.875rem;
  }

  .community__tagline-line {
    display: block;
    text-align: center;
  }

  .price {
    padding: 40px 15px;
  }

  .faq {
    padding: 40px 15px;
  }

  .faq__item {
    padding: 16px;
  }

  .faq__question {
    gap: 12px;
  }

  .faq__q,
  .faq__a {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .faq__question p {
    font-size: 0.875rem;
  }

  .faq__answer {
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
  }

  .faq__answer p {
    font-size: 0.8125rem;
  }

  .faq__toggle {
    margin-top: 12px;
  }

  .faq__toggle-icon {
    width: 20px;
    height: 20px;
  }

  .comparison {
    padding: 40px 15px;
  }

  .comparison__header {
    gap: 12px;
    margin-bottom: 12px;
  }

  .comparison__title {
    font-size: 1.25rem;
  }

  .comparison__title::after {
    height: 10px;
  }

  .comparison__subtitle {
    font-size: 1rem;
    margin-left: 26px;
    margin-bottom: 24px;
  }

  .comparison__table-wrapper {
    margin: 0 -15px;
    padding: 0 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) #E0E0E0;
  }

  .comparison__table-wrapper::-webkit-scrollbar {
    height: 6px;
  }

  .comparison__table-wrapper::-webkit-scrollbar-track {
    background: #E0E0E0;
    border-radius: 3px;
  }

  .comparison__table-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 3px;
  }

  .comparison__th,
  .comparison__td {
    padding: 12px 10px;
    font-size: 0.8125rem;
  }

  .comparison__th {
    width: 140px;
  }

  .comparison__th--highlight {
    font-size: 1.125rem;
  }

  .comparison__note {
    font-size: 0.6875rem;
  }

  .story {
    padding: 40px 15px 60px;
  }

  .story__header {
    gap: 12px;
    margin-bottom: 30px;
  }

  .story__title {
    font-size: 1.25rem;
  }

  .story__title-highlight::after {
    height: 8px;
  }

  .story__cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story__card {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .story__card-image {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .story__card-image img {
    width: 210px;
    height: auto;
  }

  .story__card-name-text {
    font-size: 1.125rem;
  }

  .story__card-headline {
    font-size: 1rem;
  }

  .story__card-quote p {
    font-size: 0.8125rem;
  }

  /* DAIVE Section Mobile */
  .daive {
    padding: 40px 15px 60px;
  }

  .daive__bg img {
    top: auto;
    bottom: 0;
    right: auto;
    left: 0;
    width: 100%;
    height: 80%;
    object-position: center center;
  }

  .daive__bg::after {
    background: linear-gradient(180deg, rgba(35, 31, 36, 1) 0%, rgba(35, 31, 36, 0.9) 25%, rgba(35, 31, 36, 0.4) 50%, rgba(35, 31, 36, 0) 75%);
  }

  .daive__badge {
    position: relative;
    top: auto;
    left: auto;
    width: 75px;
    height: 75px;
    margin-bottom: 16px;
  }

  .daive__badge::before {
    width: 70px;
    height: 70px;
  }

  .daive__badge span {
    font-size: 0.875rem;
  }

  .daive__header {
    margin-left: 0;
    margin-bottom: 16px;
  }

  .daive__title-box {
    padding: 12px 20px;
  }

  .daive__title-sub {
    font-size: 1.125rem;
    letter-spacing: 0.08em;
  }

  .daive__title-main {
    font-size: 1.5625rem;
    letter-spacing: 0.1em;
  }

  .daive__content {
    margin-left: 0;
    margin-bottom: 30px;
  }

  .daive__subtitle {
    font-size: 1.375rem;
    letter-spacing: 0.08em;
  }

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

  .daive__desc {
    font-size: 1.25rem;
  }

  .daive__desc--bold {
    font-size: 1.25rem;
    margin-left: 0;
    margin-top: 24px;
  }

  .daive__features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-left: 0;
  }

  .daive__feature {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 80px;
    padding: 12px 16px;
  }

  .daive__feature-icon {
    width: 60px;
    height: 60px;
  }

  .daive__feature-text {
    font-size: 0.9375rem;
  }

  /* CTO Endorsement Section Mobile */
  .cto-endorsement {
    padding: 40px 15px 60px;
  }

  .cto-endorsement__title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .cto-endorsement__cards {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 50px;
  }

  .cto-endorsement__company-logo {
    height: 50px;
    margin-bottom: 12px;
  }

  .cto-endorsement__photo {
    width: 180px;
    height: 180px;
  }

  .cto-endorsement__company {
    font-size: 0.9375rem;
  }

  .cto-endorsement__name {
    font-size: 1.125rem;
  }

  .cto-endorsement__quote p {
    font-size: 0.8125rem;
  }

  .cto-endorsement__cta {
    max-width: 100%;
  }

  .cto-endorsement__banner {
    margin-bottom: 20px;
  }

  .cto-endorsement__buttons {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .cto-endorsement__btn {
    width: 100%;
    max-width: 320px;
    height: 80px;
  }

  .cto-endorsement__btn-main {
    font-size: 1.125rem;
  }

  .cto-endorsement__btn-sub {
    font-size: 0.8125rem;
  }

  .cta {
    padding: 40px 15px;
  }

  .footer {
    padding: 41px 37px 45px;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer__logo {
    order: -1;
  }

  .footer__nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
  }

  .footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .footer__nav-col:first-child {
    align-items: flex-start;
    text-align: left;
  }

  .footer__nav-col:last-child {
    align-items: flex-end;
    text-align: right;
  }

  .footer__copyright {
    margin-top: 10px;
  }

  .section-header__title {
    font-size: 1.375rem;
  }
}

/* ===========================================
   Responsive - Small Mobile
   =========================================== */
@media (max-width: 390px) {
  .stats__grid {
    gap: 16px;
  }

  .stats__number {
    font-size: 1.5rem;
  }

  .stats__unit {
    font-size: 0.75rem;
  }

  .stats__label,
  .stats__sublabel {
    font-size: 0.6875rem;
  }

  .course-info__badge {
    padding: 6px 16px;
  }

  .course-info__badge-text {
    font-size: 0.875rem;
  }

  .course-info__main-text p {
    font-size: 1rem;
  }

  .course-info__grant {
    height: auto;
    padding: 6px 12px;
  }

  .course-info__grant-amount {
    font-size: 1.75rem;
  }

  .course-info__grant-prefix,
  .course-info__grant-unit,
  .course-info__grant-sub {
    font-size: 0.875rem;
  }
}

/* ===========================================
   PC override
   =========================================== */
@media (min-width: 769px) {
  .course-info__grant {
    flex-direction: column;
    max-width: none;
    height: auto;
    align-items: center;
  }

  .course-info__grant-sub {
    white-space: nowrap;
  }
}