* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Serif JP";
    transition: all .3s;
    font-weight: 500;
}

b {
    font-size: 0 !important;
}

:root {
    --primary1: #1F1F1F;
    --primary2: #606060;
    --primary3: #A9A9A9;
    --primary4: #E7E7E7;
    --primary5: #F1F1F1;
    --primary6: #F8F8F6;
    --primary7: #FFFFFF;

    --main1: #262B38;
    --main2: #536278;
    --main3: #E6EEF7;
    --main4: #83BAFF;
    --main5: #F8F2DC;
    --main6: #E9D074;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    cursor: pointer;
}

button {
    cursor: pointer;
}

.hidden {
    display: none;
}

.show {
    display: flex;
}

.container {
    padding-inline: 150px;
    width: 100%;
    position: relative;
}

.body {
    margin: 0 auto;
    max-width: 1440px;
    min-width: 393px;
}

.section-container {
    max-width: 1440px;
    min-width: 393px;
    margin: 0 auto;
    width: 100%;
}

header,
main,
footer {
    width: 100%;
}

th {
    font-weight: 700;
}

td:first-child {
    font-weight: 700;
}

.wpcf7 p {
    font-weight: 600;
}

.application-text p {
    letter-spacing: 1px;
    font-weight: 500;
    line-height: 180%;
}

.application a {
    color: var(--primary1);
}

/* =================================First Section==================================== */

.first-section {
    width: 100%;
}

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

.header {
    width: 100%;
    height: 98px;
    background-color: var(--main1);
    color: var(--primary7);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    box-shadow: #000 0 0 12px 1px;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    color: #FFF;
    width: 204px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-text span {
    font-size: 30px;
    font-weight: 600;
    line-height: 28px;
}

.logo-text p:first-child {
    font-size: 8px;
    line-height: 10px;
}

.logo-text p:last-child {
    font-size: 12px;
    line-height: 16px;
}

.logo-rectangle {
    border: 1px solid #f5f5dc;
    border-radius: 5px;
    width: 62px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-rectangle p {
    font-size: 10px;
}

.logo-rectangle p:first-of-type {
    letter-spacing: -2px;
}

.navigation {
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 31px;
    padding-right: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -15px;
    color: #666;
}

.nav-menu a {
    color: var(--primary7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.nav-menu a:hover {
    color: #4a9eff;
}

.contact-section {
    display: flex;
    gap: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-info span {
    letter-spacing: 1px;
    font-weight: 900;
    letter-spacing: 1px;
}

.contact-info p:first-child {
    font-size: 12px;
    font-weight: 500;
}

.contact-info p:last-child {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-phone {
    width: 175px;
    height: 52px;
}

.header-button {
    width: 158px;
    height: auto;
    object-fit: contain;
}

.hamburger-menu-bar {
    width: 34px;
    height: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    display: none;
    cursor: pointer;
}

.menubar {
    width: 100%;
    border: 1px solid var(--primary7);
}

.hamburger-menu {
    display: none;
    position: absolute;
    top: 98px;
    left: 0;
    width: 100%;
    height: calc(100vh - 178px);
}

.real-menu {
    width: 60%;
    height: 100%;
    background-color: var(--primary7);
    padding-inline: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    right: 0;
}

.blur-menu {
    width: 40%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5))
}

.hamburger-list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    padding-block: 20px;
    border-bottom: 1px solid #AAABAB;
    position: relative;
}

.hamburger-list a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hamburger-list span:first-child {
    width: 90%;
    color: var(--main1);
    font-size: 15px;
}

.hamburger-list span:last-child {
    width: 10%
}

.hamburger-list img {
    width: 9px;
    height: 9px;
}

/* =================================Hero Section==================================== */

.hero-section {
    width: 100%;
    height: 60vh;
    background: var(--main1);
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-left,
.hero-image-right {
    width: 30%;
    height: 100%;
}

.hero-female,
.hero-male {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-message {
    background-image: url('../images/hero-message.png');
    width: 40%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 67px 0 47px 0;
}

.hero-title {
    width: 134%;
    height: auto;
    z-index: 1;
}

.hero-title-mobile {
    display: none;
}

.hero-main-text {
    width: 55%;
    height: auto;
    max-width: 320px;
    max-height: 260px;
    /* margin-bottom: 20px; */
}

.hero-subtitle {
    width: 86%;
    height: auto;
    max-width: 505px;
    max-height: 35px;
}

/* =================================Magazine Section==================================== */

.magazine-section {
    background-color: var(--main1);
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.magazine-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.magazine-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding-top: 30px;
    padding-bottom: 50px;
}

.magazine-title {
    font-size: 28px;
    color: var(--primary7);
    margin-bottom: 30px;
    line-height: 1.4;
    text-align: center;
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
}

.magazine-title p:first-child {
    font-size: 18px;
    line-height: 40px;
}

.magazine-title p:last-child {
    font-size: 26px;
}

.magazine-description {
    font-size: 16px;
    color: #cccccc;
    line-height: 32px;
    text-align: left;
}

.magazine-cover {
    width: 183px;
    height: 182px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* =================================Mobile-Extra Section==================================== */

.mobile-extra {
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 79px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
    background-color: var(--main1);
    box-shadow: #000 0 0 12px 1px;
    display: none;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.mobile-extra.hide {
    opacity: 0;
    pointer-events: none;
}

.contact-info-new {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 50%;
}

.cta-button-new {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ヘッダー用のスタイル */
.contact-info .contact-info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 8px 12px;
    background-color: var(--main1);
    border-radius: 8px;
}

.contact-info .contact-info-label {
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    text-align: left;
}

.contact-info .contact-info-phone {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.contact-info .phone-icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info .phone-number {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.contact-info .contact-info-hours {
    font-size: 9px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    text-align: left;
}

/* mobile-extra用のスタイル */
.contact-info-new .contact-info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 8px 12px;
    background-color: var(--main1);
    border-radius: 8px;
}

.contact-info-new .contact-info-label {
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    text-align: left;
}

.contact-info-new .contact-info-phone {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.contact-info-new .phone-icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-new .phone-number {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.contact-info-new .contact-info-hours {
    font-size: 9px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    text-align: left;
}

.contact-info-new p,
.contact-info-new span {
    color: #ffffff;
}

.cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* =================================Announcement Section==================================== */

.announcement-section {
    background-color: #fdfdfd;
    padding: 20px 0;
    width: 100%;
}

.announcement-container {
    max-width: 1140px;
    margin: 0 auto;
}

.announcement-box {
    background-color: #F8F2DC;
    padding: 32px 42px 28px 42px;
    text-align: center;
}

.update-date {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary1);
    line-height: 1;
}

.announcement-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    padding-bottom: 20px;
    padding-top: 10px;
}

.announcement-content {
    color: #333;
    line-height: 1.4;
}

.announcement-content-container {
    border-top: 1px solid var(--primary2);
    padding-top: 30px;
}

.announcement-content p {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    line-height: 160%;
}

/* =================================Suggestion Section==================================== */

.suggestion {
    background: var(--main2);
    padding-bottom: 82px;
}

.suggestion__title {
    color: var(--primary7);
    text-align: center;
    font-weight: 600;
    letter-spacing: .05rem;
    line-height: 1.6;
    font-size: 36px;
    padding: 73px 0 35px 0;
}

.card {
    position: relative;
}

.card--neg {
    background-color: var(--primary7);
    margin-bottom: 18px;
}

.card--pos {
    background-color: var(--main3);
    position: relative;
}

.card_title_container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.card_title_image {
    width: 71px;
    height: 60px;
    display: none;
}

.triangle {
    position: absolute;
    bottom: -14%;
    right: 50%;
    z-index: 1;
    transform: translateX(50%);
}

.card__inner {
    position: relative;
    border-radius: 4px;
    border: 1px solid var(--line);
    padding: 40px
}

.card_inner_container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card__title {
    display: flex;
    width: 100%;
    justify-content: center;
}

.card__title span {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    position: relative;
}

.card-title {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.point-group {
    display: flex;
}

.card-point {
    position: relative;
}

.card-point::after {
    position: absolute;
    bottom: 25px;
    right: 40%;
    content: ".";
}

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    row-gap: 10px
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary1);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    z-index: 2;
}

.check {
    width: 18px;
    height: 18px;
    flex: 0 0 18px
}

.card__icon {
    width: 126px;
    height: 108px;
    margin-right: 36px;
    object-fit: contain;
}


.speech-tail {
    position: absolute;
    left: 40px;
    bottom: -9px;
    width: 28px
}

.speech-tail--right {
    left: auto;
    right: 40px
}

.speech-tail img {
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .04))
}

/* =================================Necessary Section==================================== */

.necessary {
    position: relative;
    background: #fff;
    width: 100%;
    padding: 76px 0 84px 0;
}

.content__bg {
    position: absolute;
    right: 0;
    top: 16px;
    width: 260px;
    opacity: .12;
    pointer-events: none
}

.text-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.text-block__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 5%;
    line-height: 1.5rem;
    color: var(--primary1)
}

.text-block__title2 {
    padding-top: 96px;
}

.text-block p {
    margin: 0;
    color: var(--primary1);
    font-size: 18px;
    font-weight: 500;
    line-height: 36px;
}

/* =================================Advancement Section================================== */

.advancement {
    background-color: var(--main3);
    padding: 102px 0 120px 0;
}

.advancement-title {
    text-align: center;
    margin-bottom: 57px;
}

.advancement-title h1 {
    font-size: 46px;
    font-weight: 600;
    color: var(--main1);
    line-height: 1.3;
    letter-spacing: .05rem;
}

.advance_math {
    border-radius: 10px;
    background-color: var(--primary7);
}

.advance_header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.advance_header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary1);
    flex: 1;
}

.advance_math_header {
    margin-bottom: 40px;
}

.advance_number {
    background-color: var(--main2);
    color: var(--primary7);
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advance_number p {
    font-size: 53px;
    font-weight: 700;
}

.advance_math {
    margin-bottom: 80px;
    padding: 28px 36px 46px 36px;
}

.tier-progression {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.tier {
    position: relative;
    margin-bottom: 0;
}

.tier-header {
    background-color: var(--main2);
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

.tier-number {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.tier-number span {
    font-weight: 700;
    font-size: 22px;
}

.tier-title {
    font-weight: 600;
    font-size: 22px;
}

.tier-target {
    font-size: 0.9rem;
    opacity: 0.9;
}

.tier-duration {
    font-size: 22px;
    margin-left: auto;
}

.tier-content {
    background-color: var(--primary5);
    padding: 24px 36px 24px 36px;
    border: 1px solid #E1E8ED;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tier-content p {
    color: var(--primary1);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.tier-content-extra {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.tier-content-extra span {
    line-height: 1.6;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    padding: 4px 14px;
    background-color: var(--primary7);
}

.tier-arrow {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 22px solid #2C3E50;
    z-index: 1;
}

.tier-extra {
    text-align: end;
    font-size: 14px;
    padding-top: 10px;
    color: var(--primary1);
}

.advance_exam {
    background-color: var(--primary7);
    padding: 28px 36px 46px 36px;
}

.instruction-description {
    background-color: white;
    padding-block: 32px;
    border-radius: 8px;
}

.instruction-description p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--primary1);
}

.instruction-description p:last-child {
    margin-bottom: 24px;
}

.two-column-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 70px;
}

.column-header {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: var(--main2);
}

.column{
    max-width: 475px;
    max-height: 591px;
    width: 100%;
    height: auto;
}

.column-header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    line-height: 16px;
    color: var(--primary7);
}

.checkbox-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.column-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary7);
}

.dialogue-flow {
    padding: 24px 34px;
    display: flex;
    flex-direction: column;
    background-color: #E6EEF7;
}

.dialogue-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.speech-avatar {
    width: 98px;
    height: 98px;
    flex-shrink: 0;
    border-radius: 50%;
}

.speech-bubble {
    background-color: white;
    border: 2px solid #2D79D7;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #2D79D7;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 7px solid var(--primary7);
    z-index: 1;
}

.first-student {
    position: relative;
}

.first-student:after {
    content: "生徒";
    font-size: 14px;
    color: #2D79D7;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-20%, -20%);
}

.first-teacher {
    position: relative;
}

.first-teacher:after {
    content: "講師";
    font-size: 14px;
    color: #454545;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(20%, -20%);
}

.speech-bubble span {
    color: #2C3E50;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
}

.speech-bubble2 {
    background-color: white;
    border: 2px solid #2D79D7;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.speech-bubble2::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #2D79D7;
}

.speech-bubble2 span:first-child {
    font-size: 14px;
}

.speech-bubble2 span:last-child {
    font-size: 17px;
}

.response-box {
    background-color: var(--primary7);
    border: 2px solid #454545;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    position: relative;
    flex: 1;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.response-box::before {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid var(--primary7);
    z-index: 1;
}

.response-box::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #454545;
}

.response-box span {
    color: #2C3E50;
    font-weight: 500;
    font-size: 18px;
}

.benefits-section {
    background-color: white;
    border: 3px solid var(--main2);
    max-width: 974px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.benefits-title {
    display: inline-block;
    height: 60px;
    background-color: var(--main2);
    font-size: 22px;
    text-align: center;
    padding: 0 20px;
    line-height: 60px;
    font-weight: 700;
    color: var(--primary7);
    box-sizing: border-box;
    margin: 0 auto;
}

.benefits-list {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.tier-badge {
    color: var(--primary1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.benefit-item span:last-child {
    text-align: start;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
}

/* =================================Advancement Section================================== */

.weakness {
    padding: 106px 0 118px 0;
    background-color: var(--primary7);
}

.weakness__header {
    text-align: center;
    margin-bottom: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weakness__title {
    font-size: 46px;
    color: var(--main1);
    letter-spacing: .05rem;
}

.weakness__cases {
    display: flex;
    flex-direction: column;
    gap: 90px;
    align-items: center;
    justify-content: center;
}

.weakness__case {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.weakness__case__middle {
    padding: 98px 0 98px 0;
}

.weakness__case__title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    border-bottom: 1px solid var(--primary1);
    padding-bottom: 4px;
    gap: 16px;
}

.weakness__case__number {
    font-size: 48px;
    font-weight: 700;
    color: #747474;
    line-height: 1;
    flex-shrink: 0;
}

.weakness__case__title-text {
    font-weight: 600;
    font-size: 22px;
    color: var(--main1);
    line-height: 1.3;
    margin: 0;
    padding: 0;
}


.weakness__case__text {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 0;
    padding-top: 0;
}

.weakness__case__text p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
    color: var(--primary1)
}

/* =================================Advancement Section================================== */

.benefit {
    padding: 124px 0 100px 0;
    background-color: var(--main3);
}

.benefit-header {
    text-align: center;
}

.benefit-title {
    padding-bottom: 83px;
}

.benefit-title span {
    font-size: 46px;
    font-weight: 600;
    letter-spacing: .05rem;
}

.benefit-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 48px;
}

.benefit-card-container {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.benefit-card-title {
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.benefit-card-title div {
    min-width: 88px;
    height: 88px;
    background-color: var(--main2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 14px;
}

.benefit-title-change {
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card-title div span:first-child {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.benefit-card-title div span:last-child {
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
}

.benefit-card-title h2 {
    font-size: 32px;
    font-weight: 700;
}

.benefit-card-grid {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 37px;
}

.benefit-image {

    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-img-hiden {
    display: none;
}

.benefit-img1 {
    width: 544px;
    height: 302px;
}

.benefit-img2 {
    width: 542px;
    height: 294px;
}

.benefit-img3 {
    width: 394px;
    height: 302px;
    margin-left: 60px;
}

.benefit-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-block: 38px;
}

.benefit-content p {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
}

.benefit {
    position: relative;
}

.benefit-final {
    width: 100%;
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.benefit-final span {
    font-weight: 700;
    text-align: center;
    color: #12496A;
    letter-spacing: .05rem;
}

.final-big {
    font-size: 42px;
}

.final-small {
    font-size: 32px;
}

/* =================================Advancement Section================================== */

.oral {
    background: var(--main2);
    color: var(--primary7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-bottom: 94px;
}

.oral::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 260px;
    top: 0;
    left: 0;
    background-image: url("../images/triangle.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.oral .section-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.oral-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 280px 0 60px 0;
}

.oral-list-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}

.oral-list-item img {
    width: 34px;
    height: 34px;
}

.oral-list-item span {
    font-size: 24px;
    font-weight: 700;
    text-align: start;
}

.oral-f {
    width: 100%;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.golden-color {
    font-size: 46px;
    color: #E9D074;
    font-weight: 700;
}

/* =================================Course Section================================== */

.course {
    background-color: var(--main3);
    padding: 108px 0 200px 0;
}

.course-header {
    text-align: center;
    margin-bottom: 38px;
}

.course-header-text {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    display: block;
}

.course-content {
    background-color: var(--primary7);
    padding: 45px 45px 8px 45px;
    border-radius: 0;
    width: 100%;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}

.question-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

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

.hor {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.question-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}


.question-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.6;
}

.math-expression {
    font-size: 16px;
    color: #333;
    margin: 10px 0 10px 20px;
    font-family: 'Times New Roman', serif;
    padding: 8px 12px;
    border-radius: 4px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.math-list {
    display: flex;
    flex-direction: column;
    margin: 10px 0 10px 20px;
}

.math-item {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-family: 'Times New Roman', serif;
    padding: 6px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
}

/* =================================Success Section================================== */

.success {
    padding: 172px 0 184px 0;
    background-color: var(--primary7);
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

.outcontainer {
    max-width: 1440px;
    min-width: 393px;
    margin: 0 auto;
    padding: 176px 150px 186px 150px;
    display: flex;
    flex-direction: column;
    gap: 210px;
}

.success-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 74px;
}

.title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 46px;
    letter-spacing: .06em;
    text-align: center;
}

.achievements {
    padding-bottom: 210px;
}

.achievement-group {
    text-align: center;
}

.achievement-group .label {
    font-size: 25px;
    font-weight: 500;
    color: #1f1f1f;
    padding-bottom: 8px;
}

.achievement-group .text {
    color: #1f1f1f;
    font-size: 25px;
    font-weight: 500;
    line-height: 38px;
}

.achievement-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}


.voice-container {
    display: flex;
    flex-direction: column;
    gap: 109px;
}

.voice-card {
    display: flex;
    gap: 50px;
    justify-content: center;
    background: #fff;
    position: relative;
}

.voice-after {
    color: var(--primary1);
    position: absolute;
    font-size: 14px;
    bottom: -8%;
    right: 4%;
    transform: translateY(150%);
    border-bottom: #1F1F1F 1px solid;
    padding-bottom: 4px;
}

.voice-after::after {
    content: "▶";
    margin-left: 4px;
}

.voice-media img {
    width: 404px;
    height: 270px;
}

.voice-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.voice-body-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.voice-body-text1 P:first-child {
    font-size: 18px;
}

.voice-body-text1 p:last-child {
    font-size: 24px;
}


.voice-body-text2 {
    padding-top: 12px;
    border-top: 1px solid #000;
    font-size: 16px;
}

.voice-body-text3 {
    font-size: 14px;
}

.body-footer {
    padding: 12px;
    border: 2px solid #d3d3d3;
}

/* =================================Features Section================================== */
.features {
    background-color: #E6EEF7;
    padding: 94px 0 74px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.features .title {
    padding-bottom: 68px;
}


.feature-grid {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.feature-card {
    width: 50%;
    min-height: 260px;
    background: #fff;
    border-radius: 10px;
    padding: 28px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.feat-number {
    color: #2965B0;
    font-size: 58px;
    font-weight: 700;
    line-height: 0;
}

.feat-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 23px;
    font-size: 32px;
    font-weight: 700;
    color: var(--main1);
}

.feat-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--main1);
    margin: 0;
    padding-bottom: 20px;
}

.site-header {
    height: 56px;
}

.site-footer {
    padding: 40px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
}

/* =================================professional Section================================== */

.professional {
    background-color: var(--main2);
    padding: 122px 0 100px 0;
}

.professional-header {
    width: 100%;
    padding-bottom: 62px;
    text-align: center;
}

.professional-header h1 {
    color: var(--primary7);
    font-size: 46px;
    font-weight: 700;
}

.professional-content-box {
    background-color: var(--primary7);
    border-radius: 12px;
    padding: 12px 42px 32px 42px;
    width: 100%;
    margin-bottom: 36px;
}

.instructor-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 58px;
    width: 100%;
}

.instructor-section-title h1 {
    font-size: 24px;
    color: #0a0a0a;
    text-align: center;
}

.instructor-section-title hr {
    position: absolute;
    top: 50%;
    width: calc(50% - 168px);
    size: 1px solid #000;
}

.instructor-section-title hr:first-child {
    left: 0;
}

.instructor-section-title hr:last-child {
    right: 0;
}

.instructor-profile {
    display: flex;
    /* align-items: flex-end; */
    justify-content: center;
}

.instructor-image img {
    width: 286px;
    height: 390px;
}

.professional-avatar-hiden {
    display: none;
}

.instructor-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    padding-right: 38px;
}

.instructor-name {
    font-size: 32px;
    font-weight: 500;
}

.instructor-text p:first-child {
    font-size: 22px;
}

.instructor-text p :last-child {
    font-size: 17px;
}

.instructor-summary {
    font-size: 20px;
    margin-bottom: 20px;
}

.resume {
    margin-top: 58px;
}

.resume-title {
    font-size: 32px;
    font-weight: 500;
}

.resume-text {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
}

.resume-text p {
    font-size: 16px;
    font-weight: 500;
}

.resume-summary {
    margin-top: 40px;
    padding: 15px 20px;
    border: 1px solid #000;
}


.philosophy-section {
    margin-top: 32px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 38px;
}

.philosophy-profile {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.philosophy-image{
    width: 100%;
}

.philosophy-image img {
    width: 204px;
    height: 220px;
}

.philosophy-name {
    font-size: 30px;
    font-weight: 500;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.philosophy-text{
    width: 100%;
}

.philosophy-text p:first-child {
    font-size: 17px;
}

.philosophy-text p:last-child {
    font-size: 14px;
}

.philosophy-summary {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
}

/* ==============================Trend Section=========================== */

.trend {
    padding: 108px 0 104px 0;
    background-color: var(--primary7);
}

.grapvine-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    margin-bottom: 108px;
}

.problem-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    margin-bottom: 120px;
}

.solution-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    margin-bottom: 124px;
}

.solution-section-answer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.solution-section-image {
    width: 100%;
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.solution-section-image img {
    width: 264px;
    height: 264px;
}

.condition-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    margin-bottom: 120px;
}

.condition-section-image {
    width: 100%;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.condition-section-image img {
    width: 758px;
    height: 210px;
}

.condition-section-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
}

.income-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    margin-bottom: 66px;
}

.income-section h3 {
    border-bottom: 1px solid var(--primary2);
    padding-bottom: 8px;
    width: 100%;
}

.income-list {
    padding-left: 30px;
    padding-top: 26px;
}

.parent-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    margin-bottom: 66px;
}

.parent-section h3 {
    border-bottom: 1px solid var(--primary2);
    padding-bottom: 8px;
    width: 100%;
}


.parent-list {
    padding-left: 30px;
}

.learning-section {
    gap: 26px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 48px;
    border-bottom: 1px solid #000;
}

.trend h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.05rem;
}

.trend h3 {
    font-size: 22px;
    font-weight: 700;
    /* padding-bottom: 20px;
    border-bottom:  1px solid var(--primary2); */
}

.trend p {
    font-size: 16px;
}

/* ==============================FAQ Section=========================== */

.faq {
    background: var(--main3);
    padding: 0 0 96px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.faq h2 {
    width: 100%;
    text-align: center;
    font-size: 46px;
    font-weight: 600;
    margin-bottom: 34px;
    color: var(--main1);
    padding-top: 86px;
}

details {
    width: 100%;
    background-color: var(--main2);
    margin-bottom: 20px;
}

summary {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    list-style: none;
    position: relative;

    padding: 12px 20px;
}

summary:after {
    content: "\002B";
    font-size: 32px;
    color: var(--primary7);
    font-weight: 700;
    position: absolute;
    top: 50%;
    right: 24px;
    line-height: 0;
}

details[open] summary:after {
    content: "−";
    font-size: 34px;
}

details[open] div {
    padding: 20px 24px;
    background-color: var(--primary7);
}

details div h4 {
    margin-bottom: 20px;
    font-weight: bold;
}

.details div p {
    font-size: 16px;
    font-weight: 700;
}

/* ==============================Serivce Section=========================== */

.service {
    padding: 124px 0 120px;
    background-color: var(--primary6);
}

.service-header {
    width: 100%;
    text-align: center;
    margin-bottom: 62px;
    font-size: 46px;
    font-weight: 700;
    color: var(--main1);
}

.step-card {
    padding: 30px;
    display: flex;
    justify-content: center;
    gap: 32px;
    background-color: var(--primary7);
    margin-bottom: 24px;
}

.step-image {
    width: 388px;
    height: 316px;
}

.step-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

.step-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.step-title .step-title-text-shown {
    display: none;
}

.step-title-num {
    min-width: 54px;
    min-height: 52px;
    background-color: var(--main2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary7);
}

.step-title-num p {
    font-size: 13px;
}

.step-title-num span {
    font-size: 16px;
}

.step-title-text {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.step-title-text span {
    font-size: 20px;
    font-weight: 700;
    color: #12496a;
}

.step-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
}

.step-text p {
    font-size: 15px;
    letter-spacing: .05rem;
    font-weight: 600;
    color: var(--main1);
}

.step-image-mobile{
    display: none;
    width: 100%;
    height: auto;
}

/* ==============================Cost Section=========================== */

.cost {
    width: 100%;
    padding: 100px 0 86px;
    background-color: var(--primary7);
}

.cost-header {
    font-size: 46px;
    text-align: center;
    padding-bottom: 60px;
}

.cost-math-fee {
    width: 100%;
}

.cost-title {
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #747474;
}

.cost-title span {
    font-size: 17px;
    font-weight: 500;
}

.cost section {
    margin-bottom: 48px;
}

.cost-math-title {
    border-bottom: 1px solid #747474;
}

.cost-math-text{
    width: 80%;
}

.cost-math-text p {
    font-size: 13px;
    font-weight: 500;
}

.cost li {
    font-size: 16px;
    font-weight: 500;
}

.cost-math-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 56px 0;
}

.cost-math-table {
    margin-bottom: 20px;
}

.cost table {
    width: 80%;
}

.cost table thead {
    background-color: var(--primary4);
}

table thead tr {
    background-color: var(--primary6);
}

.cost table th,
.cost table td {
    padding-block: 16px;
    font-size: 14px;
}

.cost table,
th,
td {
    text-align: center;
    border: 1px solid #E7E7E7;
    border-collapse: collapse;
}

.junior-fee p:first-child {
    font-size: 16px;
    font-weight: 700;
}


.junior-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.junior-table {
    margin-bottom: 28px;
}


.miscellaneous-title {
    border-bottom: 1px solid #747474;
}

.notes-title {
    border-bottom: 1px solid #747474;
}

.cost ul {
    padding-left: 20px;
}

.course-fee {
    padding: 30px 40px 48px 40px;
    background-color: #f8f8f6;
    margin-top: 65px;
}

.course-fee-header {
    font-size: 22px;
    padding-block: 12px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.course-fee ul {
    padding-left: 20px;
    line-height: 1.8;
}

/* ==============================Special Section=========================== */

.special {
    background-color: var(--main3);
    padding-top: 74px;
    padding-bottom: 62px;
}

.difficult {
    width: 100%;
}

.diff-top {
    height: 220px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.diff-top img {
    width: 100%;
    height: auto;
}

.diff-top-img-hiden {
    display: none;
    width: 0;
}

.special-text3{
    max-width: 290px;
    height: auto;
    object-fit: contain;
}

.diff-top-text0{
    max-width: 312px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.diff-top-text1{
    /* height: 100%; */
    gap: 30px;
    /* max-width: 336px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.diff-top-text2{
    /* max-width: 309px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.diff-middle {
    margin-top: 36px;
    margin-bottom: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 76px;
    background-color: var(--primary7);
    gap: 24px;
}

.check-div{
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-middle p {
    font-size: 22px;
    text-align: center;
}

.diff-middle-hidden {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.diff-middle li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 4px;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
}

.diff-middle .check {
    width: 28px;
    height: 28px;
}

.diff-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-footer-container {
    width: 386px;
    height: 54px;
    padding: 10px 20px 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main6);
    box-shadow: var(--primary3) 0 6px 5px 0;
    border-radius: 34px;
}

.diff-footer-text1 {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary7);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 14px;
    color: var(--main1);
}

.diff-footer-text2 {
    font-size: 18px;
    color: var(--main1);
}

.diff-footer-text3 {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary7);
    color: var(--main1);
}

.polygon {
    padding-left: 3px;
    width: 10px;
    height: 10px;
}

/* ==============================Applicatoin Section=========================== */

.application {
    padding-top: 120px;
    padding-bottom: 124px;
    background-color: var(--primary7);
}

.application-completion {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-completion span {
    width: 208px;
    height: 50px;
    font-size: 20px;
    background-color: var(--main1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary7);
}

.application-header {
    font-size: 46px;
    text-align: center;
    margin-top: 36px;
    margin-bottom: 36px;
    font-weight: 600;
    color: var(--main1);
}

.application-step {
    width: 100%;
    height: 142px;
    background-color: #e6eef7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.triangle-step {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.triangle-step p:first-child {
    padding-bottom: 8px;
}

.application-step p {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

#first-child {
    font-size: 16px;
    font-weight: 700;
}

#last-child {
    font-size: 22px;
    font-weight: 700;
}

#triangle-span {
    font-size: 13px;
}

.step-img {
    width: 140px;
    height: 104%;
    padding-inline: 46px;
}


.application-form {
    margin: 0 auto;
    margin-top: 40px;
    width: 70%;
}

.form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding-block: 20px;
    border-bottom: 1px solid var(--primary4)
}

.form-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-type {
    width: 44px;
    height: 30px;
    background-color: var(--main2);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--primary7);
}

.form .form-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 0;
    width: 200px;
    min-width: 200px;
}

.form-type-gray {
    background-color: var(--primary4);
    color: var(--primary1);
}

.form-type-gray p {
    text-align: center;
}

.form p {
    width: 90%;
    text-align: center;
}

.form-content {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    min-width: 150px;
    flex-shrink: 0;
}

.form dl {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.form dl dt {
    display: none;
}

.form dl dd {
    margin: 0;
    padding: 0;
}

.form-input {
    width: 100%;
    border: 1px solid var(--primary3);
    padding: 13px 17px;
    border-radius: 3px;
    font-size: 14px;
    color: var(--primary1);
}

.form-input::placeholder {
    color: var(--primary3);
}

/* エラーメッセージのスタイル */
.form dl dd span.error_blank,
.form dl dd span.error_format,
.date-select dl dd span.error_blank,
.form-textarea dl dd span.error_blank {
    display: block;
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1.4;
    width: 100%;
}

/* メールアドレスのフォーマットエラー用 */
.form dl dd span.error_format {
    display: block;
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1.4;
}


.form-text {
    display: flex;
    margin-top: 35px;
    align-items: center;
    justify-content: flex-start;
}

.form-text p:first-child {
    font-size: 17px;
    font-weight: 700;
}

.form-text p:last-child {
    font-size: 14px;
    font-weight: 700;
}

.date {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: space-between;
    justify-content: center;
    padding-top: 28px;
    padding-bottom: 36px;
    gap: 12px;
    border-bottom: 1px solid var(--main3);
}

.form-date {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.form-group {
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 30%;
}

.form-date .form-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 0;
    width: 200px;
    min-width: 200px;
}

.form-date .form-content {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    min-width: 150px;
    flex-shrink: 0;
}

.date-select {
    flex: 1;
    min-width: 0;
}

.date-select dl {
    margin: 0;
    padding: 0;
}

.date-select dl dt {
    display: none;
}

.date-select dl dd {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.date-select dl dd > div {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.wpcf7-form-control-wrap {
    width: 40%;
}

.date-select p {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding-left: 20px;

}

.form-date-input {
    flex: 0 1 auto;
    width: 200px;
    max-width: 200px;
    min-width: 120px;
    min-height: 42px;
    border: 1px solid var(--primary3);
    padding: 13px 17px;
    border-radius: 3px;
    font-size: 14px;
    color: var(--primary1);
}

.date-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
    padding-right: 35px;
}

.form-textarea {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    padding-top: 32px;
}

.form-textarea .form-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 0;
    width: 200px;
    min-width: 200px;
}

.form-textarea .form-content {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    min-width: 150px;
    flex-shrink: 0;
}

.form-textarea dl {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.form-textarea dl dt {
    display: none;
}

.form-textarea dl dd {
    margin: 0;
    padding: 0;
}

.textarea {
    padding: 13px 17px;
    width: 100%;
    height: 203px;
    border: 1px solid var(--primary3);
}

.application-underline {
    text-decoration: underline;
}

.application-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.application-text p {
    font-size: 14px;
}

.application-button {
    padding-top: 40px;
}

.application-button p {
    /* width: 100%; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-button .wpcf7-spinner {
    width: 0;
    height: 0;
    margin: 0;
}

.application-button p {
    position: relative;
}

.submit {
    width: 306px;
    height: 64px;
    border-radius: 34px;
    background-color: var(--main6);
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--main1);
    box-shadow: var(--primary3) 0 6px 5px 0;
    /* position: relative; */
    cursor: pointer;
}

.application-button p:after {
    position: absolute;
    top: 50%;
    right: 24px;
    content: '';
    transform: translateY(-80%);
    height: 15px;
    width: 12px;
    scale: 0.6;
    background-image: url('../images/Polygon\(2\).png');
    background-position: center;
    background-repeat: no-repeat;
    z-index: 20;
}

.application-button p::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--primary7);
    /* background-image: url("../images/Polygon\(2\).png"); */
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
}

/* ==============================Final Section=========================== */

.final {
    background: var(--main1);
}

.final-header {
    width: 100%;
    height: 211px;
    background-image: url('../images/final-header.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}




.final-header-content {
    height: 100%;
    z-index: 2;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.6rem;
}

.final-header-content p,
.final-header-content span {
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 5%;
}

.main-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mathmatics-content {
    background-color: var(--primary6);
    padding-block: 98px;
}

.mathmatics-content .container {
    max-width: 1440px;
    margin: 0 auto;
}

.mathmatics-container {
    padding: 98px 150px 98px 150px;
}

.mathmatics-title {
    font-size: 46px;
    font-weight: 600;
    text-align: center;
    color: var(--main1);
    margin-bottom: 86px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    row-gap: 80px;
    margin-bottom: 94px;
}

.articles-grid .article-card {
    padding-bottom: 0;
}

.articles-grid .article-link-block {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.articles-grid .article-link-block:hover {
    opacity: 0.8;
}

.articles-grid .article-image {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

.articles-grid .article-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.articles-grid .article-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
}

.articles-grid .article-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #1F1F1F;
}

.articles-grid .article-date {
    font-size: 12px;
    color: #606060;
    font-weight: 500;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.clock {
    width: 10px;
    height: 10px;
}

.viewmore-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewmore-button-btn {
    width: 306px;
    height: 54px;
    background-color: var(--main6);
    border-radius: 34PX;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    box-shadow: var(--primary3) 0 6px 5px 0;
    color: var(--main1);
}

.viewmore-btn-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--primary7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewmore-btn-circle img {
    padding-left: 3px;
    width: 10px;
    height: 10px;
}

.viewmore-btn-circle1 {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--main6);
}

.footer {
    /* height: 261px; */
    width: 100%;
    background-color: var(--main1);
    color: white;
    padding: 70px 0 40px;
}

.footer-shield {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    /* padding-bottom: 150px; */
}

.footer-shield img {
    width: 68px;
    height: 64px;
}

.lecture {
    width: 204px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary7);
}

.lecture .lecture-text1 {
    font-size: 8px;
    font-weight: 600;
    line-height: 0;
}

.lecture .lecture-text2 {
    font-size: 34px;
    font-weight: 600;
    line-height: 48px;
}

.lecture .lecture-text3 {
    font-size: 12px;
    font-weight: 600;
    line-height: 0;
}

.online {
    width: 62px;
    height: 44px;
    padding: 6px;
    text-align: center;
    outline: 1px solid var(--primary7);
    font-size: 10px;
    border-radius: 5px;
}

.footer-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-menu a {
    color: #fff;
    font-size: 15px;
    padding-inline: 12px;
    border-right: 1px solid var(--primary7);
}

.footer-menu a:last-child {
    border: none
}

.footer-company a {
    color: #fff;
    font-size: 15px;
}

.footer .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 60px;
}

/* Thanks Page Styles */
.thanks-page {
    position: relative;
    min-height: 40vh;
    padding: 80px 0 0;
}

.thanks-page .container {
    position: relative;
    padding-bottom: 60px;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 40px 20px;
}

.thanks-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary1);
    margin-bottom: 30px;
    line-height: 1.6;
}

.thanks-content p {
    font-size: 16px;
    line-height: 2;
    color: var(--primary1);
    margin-bottom: 20px;
}

.thanks-page .small-pin {
    color: var(--primary1);
    position: absolute;
    left: 68px;
    bottom: 10px;
    font-size: 13px;
}

.thanks-page .small-pin a {
    color: var(--primary1);
    text-decoration: none;
}

.thanks-page .small-pin a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .thanks-content h1 {
        font-size: 24px;
    }
    
    .thanks-content p {
        font-size: 14px;
    }
    
    .thanks-page .small-pin {
        left: 20px;
    }
}

.privacy-policy-page {
    position: relative;
    min-height: 40vh;
    padding: 80px 0 0;
}

.privacy-policy-page .container {
    position: relative;
    padding-bottom: 60px;
}

.privacy-policy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 40px 20px;
}

.privacy-policy-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary1);
    margin-bottom: 30px;
    line-height: 1.6;
}

.privacy-policy-body {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.privacy-policy-body p {
    width: 100%;
    display: block;
    margin-bottom: 1em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 16px;
    line-height: 2;
    color: var(--primary1);
}

.privacy-policy-body h2,
.privacy-policy-body h3,
.privacy-policy-body h4 {
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 1em;
    color: var(--primary1);
}

.privacy-policy-body h2 {
    font-size: 24px;
}

.privacy-policy-body h3 {
    font-size: 20px;
}

.privacy-policy-body h4 {
    font-size: 18px;
}

.privacy-policy-body ul,
.privacy-policy-body ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
    list-style-position: outside;
    overflow: visible;
}

.privacy-policy-body li {
    margin-bottom: 0.5em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 16px;
    line-height: 2;
    color: var(--primary1);
}

.privacy-policy-page .small-pin {
    color: var(--primary1);
    position: absolute;
    left: 68px;
    bottom: 10px;
    font-size: 13px;
}

.privacy-policy-page .small-pin a {
    color: var(--primary1);
    text-decoration: none;
}

.privacy-policy-page .small-pin a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .privacy-policy-content h1 {
        font-size: 24px;
    }
    
    .privacy-policy-body p,
    .privacy-policy-body li {
        font-size: 14px;
    }
    
    .privacy-policy-body h2 {
        font-size: 20px;
    }
    
    .privacy-policy-body h3 {
        font-size: 18px;
    }
    
    .privacy-policy-body h4 {
        font-size: 16px;
    }
    
    .privacy-policy-page .small-pin {
        left: 20px;
    }
}

.page-template {
    position: relative;
    min-height: 40vh;
    padding: 80px 0 0;
}

.page-template .container {
    position: relative;
    padding-bottom: 60px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 40px 20px;
}

.page-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary1);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-body {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.page-body p {
    width: 100%;
    display: block;
    margin-bottom: 1em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 16px;
    line-height: 2;
    color: var(--primary1);
}

.page-body h2,
.page-body h3,
.page-body h4 {
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 1em;
    color: var(--primary1);
}

.page-body h2 {
    font-size: 24px;
}

.page-body h3 {
    font-size: 20px;
}

.page-body h4 {
    font-size: 18px;
}

.page-body ul,
.page-body ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
    list-style-position: outside;
    overflow: visible;
}

.page-body li {
    margin-bottom: 0.5em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 16px;
    line-height: 2;
    color: var(--primary1);
}

.page-template .small-pin {
    color: var(--primary1);
    position: absolute;
    left: 68px;
    bottom: 10px;
    font-size: 13px;
}

.page-template .small-pin a {
    color: var(--primary1);
    text-decoration: none;
}

.page-template .small-pin a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .page-content h1 {
        font-size: 24px;
    }
    
    .page-body p,
    .page-body li {
        font-size: 14px;
    }
    
    .page-body h2 {
        font-size: 20px;
    }
    
    .page-body h3 {
        font-size: 18px;
    }
    
    .page-body h4 {
        font-size: 16px;
    }
    
    .page-template .small-pin {
        left: 20px;
    }
}