.fadeIn,
.fadeIn-1,
.fadeIn-2,
.fadeIn-3,
.fadeIn-4 {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms ease, transform 600ms ease;
    will-change: opacity, transform;
}

.fadeIn.is-fadeinview,
[class*="fadeIn-"].is-fadeinview {
    opacity: 1;
    transform: none;
}

.fadeIn {
    transition-delay: 0ms;
}

.fadeIn-1 {
    transition-delay: 250ms;
}

.fadeIn-2 {
    transition-delay: 500ms;
}

.fadeIn-3 {
    transition-delay: 750ms;
}

.fadeIn-4 {
    transition-delay: 1000ms;
}

.fadeIn.is-inview {
    opacity: 1;
    transform: translateY(0);
}


/* text-anim: add .text-anim to element (e.g. <strong class="text-anim">...) */

.text-anim {
    display: inline-block;
    /* ensures transform works nicely */
}

.text-anim.ta-ready .ta-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(64px);
    will-change: opacity, transform;
}


/* animate when element becomes in-view */

.text-anim.is-inview.ta-ready .ta-char {
    animation: taUpFade 520ms ease forwards;
    animation-delay: var(--d, 0ms);
}

@keyframes taUpFade {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* reduced motion */

@media (prefers-reduced-motion: reduce) {
    .fadeIn,
    .fadeIn-1,
    .fadeIn-2,
    .fadeIn-3,
    .fadeIn-4 {
        transition: none;
        opacity: 1;
        transform: none;
    }
    .text-anim.ta-ready .ta-char,
    .text-anim.is-inview.ta-ready .ta-char {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.tac {
    text-align: center;
}

.tal {
    text-align: left;
}

.tar {
    text-align: right;
}

@media (max-width: 767px) {
    .tac--sp {
        text-align: center;
    }
    .tal--sp {
        text-align: left;
    }
    .tar--sp {
        text-align: right;
    }
}

.g-flex {
    --g-flex-gap: var(--space-md);
    --g-flex-columns: 3;
    display: flex;
    flex-wrap: wrap;
    gap: var(--g-flex-gap);
    box-sizing: border-box;
}

.g-flex--cols-2 {
    --g-flex-columns: 2;
}

.g-flex--cols-3 {
    --g-flex-columns: 3;
}

.g-flex--cols-4 {
    --g-flex-columns: 4;
}

.g-flex--cols-5 {
    --g-flex-columns: 5;
}

.g-flex--cols-6 {
    --g-flex-columns: 6;
}

.g-flex__item {
    --g-flex-span: 1;
    flex: 0 0 calc((100% - (var(--g-flex-columns) - 1) * var(--g-flex-gap)) / var(--g-flex-columns) * var(--g-flex-span) + (var(--g-flex-span) - 1) * var(--g-flex-gap));
    box-sizing: border-box;
}

.g-flex-auto {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.g-flex-auto__item {
    flex: 0 1 auto;
    width: auto;
    white-space: normal;
}

.g-flex--nowrap {
    flex-wrap: nowrap;
}

.g-flex-auto__item--fill {
    flex: 1 1 auto;
    min-width: 0;
}

.u-gspan-2 {
    --g-flex-span: 2;
}

.u-gspan-3 {
    --g-flex-span: 3;
}

.g-flex__item--fixed {
    flex: 0 0 var(--g-flex-fixed-width);
    max-width: 100%;
}

.u-gw-80 {
    --g-flex-fixed-width: 5rem;
}

.u-gw-120 {
    --g-flex-fixed-width: 7.5rem;
}

.u-gw-160 {
    --g-flex-fixed-width: 10rem;
}

.u-gw-25p {
    --g-flex-fixed-width: 25%;
}

.u-gw-33p {
    --g-flex-fixed-width: 33.3333%;
}

.u-gw-50p {
    --g-flex-fixed-width: 50%;
}

.u-gw-10r {
    --g-flex-fixed-width: 10rem;
}

.section__inner {
    max-width: var(--container-max);
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .section__inner {
        max-width: 100%;
    }
}

.section__header {
    text-align: center;
}

.section__header h2 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-text-main);
    line-height: 1.7;
}

.section__header h2 span {
    letter-spacing: 0.3rem;
    color: var(--color-text-main);
}

@media (max-width: 767px) {
    .section__header h2 span {
        letter-spacing: 0rem;
    }
}

.section__header--subtitle {
    display: block;
    margin-bottom: 5px;
}

.section__header--subtitle+strong {
    margin-top: 10px;
}

@media (max-width: 767px) {
    .section__header h2 {
        font-size: 5.5vw;
    }
    .section__header--subtitle {
        /* margin-bottom: 1rem; */
    }
    .section__header--subtitle img {
        width: auto;
        height: 9vw;
    }
}

.section__header h2 strong,
.block__title strong {
    font-size: 2.5rem;
    display: inline-block;
    background: var(--color-brand-blue-soft);
    color: #fff;
    padding: 0 8px 3px;
    line-height: 1.35;
    letter-spacing: 0.2rem;
}

.section__header h2 strong:last-child {
    margin-top: 5px;
}

.section__header h2 strong.pink {
    background: var(--color-accent-pink);
    color: #fff;
}

.block__title strong {
    padding-top: 8px;
    padding-bottom: 10px;
    letter-spacing: 0;
    font-size: 32px;
}

@media (max-width: 767px) {
    .section__header h2 strong {
        line-height: 1.1;
        padding-bottom: 3px;
        font-size: 8.5vw;
    }
    .block__title strong {
        font-size: 4.8vw;
        padding: 0.5rem 0;
    }
}

.block__title.w100p strong {
    width: 100%;
    display: block;
}

.section__header-lead {
    font-size: 1.25rem;
    margin-top: var(--space-2xl);
    letter-spacing: -0.05rem;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .section__header-lead {
        font-size: 17px;
        text-align: left;
        letter-spacing: 0.01rem;
    }
}

.section__header-lead span {
    font-weight: 700;
}

.note {
    text-align: left;
}

.note .note__list {
    font-size: 1rem;
}

.note .note__list+p {
    margin-top: 4px;
    text-indent: 1.2em;
}

@media (max-width: 767px) {
    .note,
    .note .note__list {
        font-size: 11px;
        text-align: left;
    }
}

.block.important {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.important .important__inner {
    border: 2px solid #FF0000;
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
}

.important .important__inner p {
    color: #FF0000;
    font-size: 16px;
    font-weight: bold;
}

@media (max-width: 767px) {
    .important .important__inner {
        text-align: left;
        padding: 0.2rem 1rem;
    }
    .important .important__inner p {
        font-size: 12px;
    }
}

.block {
    margin-top: var(--space-2xl);
    margin-bottom: 5.25rem;
}

@media (max-width: 767px) {
    .block {
        margin: 2rem 0;
    }
}

.block h3 {
    font-size: 2rem;
    color: var(--color-accent-pink);
    text-align: center;
    margin-bottom: 1.875rem;
    letter-spacing: -0.06rem;
}

@media (max-width: 767px) {
    .block h3 {
        font-size: 20px;
    }
}

.block h3.deco {
    text-align: center;
}

.block h3.deco span {
    position: relative;
    display: inline-flex;
    justify-content: center;
    padding: 0 2rem 0 3.125rem;
    line-height: 1.4;
    color: var(--color-accent-pink);
}

.block h3.deco span::before,
.block h3.deco span::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% + 0.1875rem);
    width: 2.25rem;
    height: 0.1875rem;
    transform: translateY(-50%) rotate(60deg);
    transform-origin: center;
    background: var(--color-accent-pink);
}

.block h3.deco span::after {
    right: 0;
    left: auto;
    transform: translateY(-50%) rotate(-60deg);
}

.block--lead {
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.65;
    letter-spacing: -0.06rem;
}

.block--lead+p {
    margin-top: 30px;
}

.block--lead span {
    font-weight: 700;
}

@media (max-width: 767px) {
    .block--lead {
        font-size: 16px;
        text-align: left;
    }
	
	.block--lead {
        font-size: 16px;
        text-align: left;
    }
	
	    .learning .section__inner .block .block--lead {
        font-size: 17px;
    }
}

.block__midashi {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-2xl);
    text-align: center;
}

@media (max-width: 767px) {
    .block__midashi {
        font-size: 20px;
    }
}

.block.note {
    margin-top: 49px;
    padding-left: 11px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .block.note {
        padding-top: 1.56789rem;
        padding-bottom: 0;
        padding-left: 0;
        margin-block: 0;
    }
}

.button_cv,
.button_choice {
    width: 100%;
    height: 5rem;
    display: flex;
    justify-content: center;
}

.button_cv a i {
    display: inline-block;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.button_cv a,
.button_choice a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-brand-green);
    border-bottom: 0.25rem solid #231815;
    border-radius: var(--radius-md);
    position: relative;
    text-decoration: none;
    transition: all 0.1s;
    top: 0;
    line-height: 1;
}

@media (max-width: 767px) {
    .button_cv a,
    .button_choice a {
        height: 67px;
    }
}

.button_choice.white a {
    background: #fff;
    color: var(--color-text-main);
    border-top: 0.0625rem solid var(--color-text-main);
    border-left: 0.0625rem solid var(--color-text-main);
    border-right: 0.0625rem solid var(--color-text-main);
}

.button_choice.n1 a {
    background: var(--color-accent-pink);
}

.button_choice.n2 a {
    background: var(--color-brand-blue-mid);
}

.button_cv a:hover,
.button_choice a:hover {
    top: 2px;
    border-bottom: 0 solid #231815;
    opacity: 1;
}

.button_choice.white a:hover {
    border-bottom: 0.0625rem solid var(--color-text-main);
}

.button_cv a span {
    position: relative;
    display: block;
    padding-left: 2.5rem;
}

.button_choice a span {
    position: relative;
    display: block;
}

@media (max-width: 767px) {
    .button_choice a span {
        left: -4vw;
    }
}

.button_cv a span:before {
    content: "";
    background: url("../image/ic_cv.svg");
    background-size: 1.6875rem 2.0737rem;
    width: 1.6875rem;
    height: 2.0737rem;
    position: absolute;
    left: 0;
    top: 15px;
    transform: translateY(-50%);
}

.button_choice a:before {
    content: "";
    background: url("../image/ic_arrow.svg");
    background-size: 1.3438rem 0.625rem;
    width: 1.3438rem;
    height: 0.625rem;
    position: absolute;
    right: 1.5625rem;
    top: 50%;
    transform: translateY(-50%);
}

.w--455 a {
    width: 28.4375rem;
}

@media (max-width: 767px) {
    .button_cv a,
    .button_choice a {
        font-size: 20px;
    }
    .button_choice.n1 a,
    .button_choice.n2 a {
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }
    .button_cv a span {
        padding-left: 29px;
    }
    .button_cv a span:before {
        content: "";
        background: url(../image/ic_cv.svg);
        background-size: 24px 29.42px;
        width: 24px;
        height: 29.42px;
        position: absolute;
        left: 0;
        top: -3px;
        transform: none;
    }
    .button_cv a i {
        margin-left: 0;
        margin-right: 0;
    }
    .block--button {
        --g-flex-columns: 2;
        --g-flex-gap: 12px;
    }
    .block--button>.g-flex__item {
        --g-flex-span: 1;
    }
    .block--button .button_choice a {
        display: flex;
        width: 100%;
        padding-inline: 0vw;
    }
    .button_choice a:before {
        content: "";
        background: url("../image/ic_arrow.svg");
        background-size: 18px auto;
        width: 18px;
        background-repeat: no-repeat;
        /* height: 0.625rem; */
        aspect-ratio: 12/7;
        position: absolute;
        right: 9%;
        top: 50%;
        transform: translateY(-50%);
    }
    .button_choice.white {
        height: 46px;
    }
    .button_choice.white a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        height: 46px;
    }
    .button_choice.white a:before {
        display: none;
    }
    .button_choice.white a span {
        position: relative;
        left: 0;
        padding-right: 24px;
        padding-left: 0;
    }
    .button_choice.white a span:before {
        content: "";
        background: url("../image/ic_arrow.svg");
        background-size: 18px auto;
        width: 18px;
        background-repeat: no-repeat;
        /* height: 0.625rem; */
        aspect-ratio: 12/7;
        position: absolute;
        right: 0;
        top: 6.5px;
        transform: unset;
    }
    .w--455 a {
        width: 18.8rem;
    }
}

.wrap-01 .wrap__item {
    border-radius: var(--radius-lg);
    background: var(--color-bg-card);
    padding: 0.875rem 0.3125rem;
    box-shadow: var(--shadow-card);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    letter-spacing: -0.01rem;
}

.wrap-01 .wrap__item span {
    color: var(--color-accent-pink);
}

.wrap-02 .wrap__item {
    font-size: 1.25rem;
    position: relative;
    padding: 0.875rem;
    padding-left: 2.8125rem;
}

.wrap-02 .wrap__item::before {
    content: "";
    position: absolute;
    left: 0.875rem;
    top: 19px;
    background: url(../image/ic_check01.svg);
    background-size: 1.5rem 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

.wrap-02 .wrap__item span {
    color: var(--color-accent-pink);
}

@media (max-width: 767px) {
    .wrap-02 .wrap__item {
        font-size: 16px;
        text-align: left;
        padding-bottom: 0;
        padding-top: 0;
    }
    .wrap-02 {
        gap: 1rem;
        margin-left: 17px;
        width: 18.8rem;
    }
    .wrap-02>.g-flex-auto__item {
        flex: 0 0 100%;
        padding-left: 34px;
    }
    .wrap-02 .wrap__item::before {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
}

.wrap-03 {
    width: 295px;
}

.wrap-03 {
    width: 540px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 20px;
    margin-top: 40px;
}

.wrap-03 .title {
    padding: 10px;
    background: #829CF6;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    color: #fff;
    padding: 3px 0;
}

.wrap-03 .lead {
    padding: 10px;
    background: #829CF6;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    background: #fff;
    padding: 6px 0;
}

.wrap-03 .lead span {
    font-size: 32px;
    font-weight: bold;
    display: inline-block;
    margin-left: 5px;
}

.wrap-03 .lead small {
    font-size: 16px;
}

@media (max-width: 767px) {
    .wrap-03 {
        width: 100%;
        font-size: 16px;
    }
    .wrap-03 .lead span {
        font-size: 24px;
    }
    .wrap-03 .lead {
        padding-block: 1rem;
    }
}

@media (max-width: 767px) {
    .pc {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .sp {
        display: none !important;
    }
}


/* ========== scroll reveal (fade-up) ========== */

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms ease, transform 600ms ease;
    will-change: opacity, transform;
}

.reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 {
    transition-delay: 80ms;
}

.reveal--delay-2 {
    transition-delay: 160ms;
}

.reveal--delay-3 {
    transition-delay: 240ms;
}

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

a {
    transition: .3s all;
}

a:hover {
    opacity: 0.75;
}
