@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

.fade-in {
    opacity: 0;
}

.inview {
    animation-name: fade-in;
    animation-duration: .5s;
    animation-timing-function: ease-in-out;
    animation-delay: .4s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

@keyframes fade-in {
    0% {
        transform: translateY(40px);
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.wrapper {
    margin: 0 auto;
    overflow: hidden;
}

.inner {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
    position: relative;
}

.cls-1 {
    fill: #a51c47;
}

.splash-cont {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #A51C47;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.splash-cont img {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    max-width: 350px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.header-inner {
    position: fixed;
    top: 20px;
    width: calc(100% - 80px);
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 21;
}

.header-logo {
    max-width: 350px;
}

.header-right {
    width: 380px;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.header-right-top .drawer-hamburger {
    position: relative;
    background: #A51C47;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 0;
    transition: all .7s;
}

.overlay-active .header-right-top .drawer-hamburger {
    transform: scale(180);
}

.header-right-top .drawer-hamburger-icon,
.header-right-top .drawer-hamburger-icon:after,
.header-right-top .drawer-hamburger-icon:before {
    background-color: initial;
}

.header-right-top {
    display: flex;
    justify-content: right;
    align-items: center;
    cursor: pointer;
}

.header-right-top p {
    font-size: 30px;
    font-weight: 700;
    margin-right: 20px;
    line-height: 1;
    letter-spacing: .075em;
}

.header-right-bottom {
    width: 100%;
    max-width: 220px;
}

.drawer-overlay {
    background-color: initial;
}

.drawer-nav {
    padding-top: 30px;
    width: 100%;
    max-width: 500px;
    color: #fff;
    background-color: initial;
    opacity: 0;
    transition: all .5s .4s !important;
    z-index: 50;
}

.overlay-active .drawer-nav {
    opacity: 1;
}

.drawer--right .drawer-nav {
    right: -100%;
}

.drawer--right.drawer-open .drawer-hamburger {
    right: 0;
}

/* .header-inner::before {
    content: "";
    position: fixed;
    top: -100%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: #A51C47;
    border-radius: 50%;
    transform: translateX(-100%) scale(0);
    transition: transform 1s;
    z-index: 999;
    pointer-events: none;
}

.overlay-active .header-inner::before {
    transform: translateX(-100%) scale(50);
} */
.drawer-nav .header-right-top {
    margin-right: 30px;
}

.drawer-nav .header-right-top .drawer-hamburger {
    background: linear-gradient(45deg, #D43575, #A51C47);
    transform: initial;
}

.drawer-menu {
    padding-top: 30px;
    margin-bottom: 60px;
}

.drawer-menu li a {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
    display: block;
    font-style: italic;
    letter-spacing: .2rem;
}

.drawer-txt {
    max-width: 265px;
}

.modal-movie {
    position: fixed;
    max-width: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    width: 100%;
    z-index: 110;
}

.modal-movie-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .35);
    z-index: 100;
}

.modal-movie-title {
    max-width: 210px;
    width: 100%;
    margin: 0 auto 25px;
}

.youtube-cont {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    margin-bottom: 25px;
}

.youtube-cont iframe {
    width: 99%;
    right: -1%;
    position: relative;
    height: 100%;
    border-radius: 30px;
}

.close-btn {
    background: #A51C47;
    width: 190px;
    text-align: center;
    padding: 10px 0;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 auto;
    cursor: pointer;
    transition: all .7s;
    letter-spacing: .1rem;
}

.close-btn:hover {
    opacity: .7;
}

.movie-conts {
    max-width: 350px;
    width: 100%;
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 20;
}

.movie-conts-title {
    margin-bottom: 30px;
}

.movie-conts-title h2 {
    font-size: 26px;
    padding-bottom: 5px;
    font-weight: 700;
}

.movie-conts-title p {
    font-size: 14px;
    font-weight: 700;
}

.movie-cont {
    display: block;
    border-radius: 20px;
    aspect-ratio: 16 / 9;
    position: relative;
}

.movie-cont iframe {
    width: 98.5%;
    height: 100%;
    border-radius: 20px;
    border: 3px solid #fff;
    pointer-events: none;
}

.play-icon {
    position: absolute;
    top: 54.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.play-icon img {
    width: 47.5px;
    margin-bottom: 5px;
}

.play-icon p {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    font-family: "Lato", serif;
    text-shadow: 0 0 20px rgba(0, 0, 0, .7);
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.fv {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /* 初期状態では横スクロールのみ */
}

.fv-scroll {
    display: flex;
    align-items: center;
    height: 100vh;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    will-change: transform;
}

.fv-scroll img {
    height: 100vh;
    /* 画像の高さを100vhに固定 */
    width: auto;
    /* 横幅はアスペクト比に合わせて自動調整 */
    display: block;
}

@keyframes arrow-move {
    0% {
        transform: translateY(0)rotate(90deg);
        opacity: 1;
    }

    50% {
        transform: translateY(10px)rotate(90deg);
        opacity: 0.5;
    }

    100% {
        transform: translateY(0)rotate(90deg);
        opacity: 1;
    }
}

.arrow-bottom {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 20px;
    z-index: 10;
    transform: rotate(90deg);
    animation: arrow-move 1.5s infinite ease-in-out;
}

.movie-list-cont-video-thumb {
    position: relative;
}

.fv-bottom {
    background: #A51C47;
    padding: 100px 0 150px;
}

.top-inner {
    max-width: calc(100% - 400px);
    margin-left: auto;
}

.fv-bottom-cont h3 {
    font-size: 32px;
    padding-bottom: 80px;
    font-weight: 700;
    color: #fff;
}

.fv-bottom-cont ol {
    margin-bottom: 50px;
}

.fv-bottom-cont ol li {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.fv-bottom-cont img {
    max-width: 350px;
}

.news {
    background-image: url(./img/common/math_bg.webp);
    background-size: 100%;
    background-position: center;
    padding: 100px 0 150px;
}

.news-archive-wrap .news {
    padding-top: 150px;
}

.cmn-title {
    margin-bottom: 60px;
}

.cmn-title h2 {
    font-size: 36px;
    font-weight: 500;
    color: #A51C47;
    padding-bottom: 10px;
}

.cmn-title p,
.cmn-title span {
    font-size: 18px;
    color: #818181;
}

.news-lists {
    margin-bottom: 40px;
    border-bottom: 1px solid #717272;
}

.news-lists ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 40px;
    border-top: 1px solid #717272;
    position: relative;
}

.news-lists ul li a::before {
    position: absolute;
    content: "⚫︎";
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    color: #A51C47;
    font-size: 16px;
    opacity: 0;
    transition: all .6s;
}

.news-lists ul li a:hover::before {
    opacity: 1;
}

.news-lists ul li a p.day {
    width: 20%;
    font-size: 16px;
    font-weight: 500;
    color: #000004;
}

.news-lists ul li a .title {
    width: 77.5%;
    font-size: 16px;
    font-weight: 500;
    color: #000004;
}

.more-link a {
    display: flex;
    width: 220px;
    align-items: center;
    justify-content: space-between;
    margin-inline: auto 30px;
}

.more-link a .more-txt {
    width: calc(100% - 30px);
    font-size: 24px;
    font-weight: 700;
    color: #000004;
}

.text-wrap {
    display: inline-flex;
    overflow: hidden;
    position: relative;
}

.letter {
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-size: 30px;
    font-weight: 500;
    color: #000004;
    transition: color 0.3s ease-in-out;
    transition-delay: calc(var(--index) * 0.05s);
    padding: 0 .5px;
}

.letter::before {
    content: attr(data-letter);
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    color: #000004;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    transition-delay: calc(var(--index) * 0.05s);
}

.more-link a:hover .letter,
#how-cont .more-link a:hover .letter,
.under-case-list ul li a:hover .letter {
    color: transparent;
}

.more-link a:hover .letter::before,
.under-case-list ul li a:hover .letter::before {
    transform: translateY(0);
}

.arrow-parts {
    position: relative;
    width: 25px;
    height: 25px;
    overflow-x: hidden;
}

.arrow-parts svg {
    position: absolute;
    top: 0;
    right: 0;
    transition: transform 0.6s ease-in-out;
}

.arrow-parts #rihgt-arrow01 {
    transform: translateX(0);
}

.arrow-parts #rihgt-arrow02 {
    transform: translateX(-150%);
}

.arrow-parts #rihgt-arrow03 {
    transform: translateX(-300%);
}

.more-link:hover .arrow-parts #rihgt-arrow01,
.under-case-list ul li a:hover .arrow-parts #rihgt-arrow01 {
    transform: translateX(150%);
}

.more-link:hover .arrow-parts #rihgt-arrow02,
.under-case-list ul li a:hover .arrow-parts #rihgt-arrow02 {
    transform: translateX(0);
}

.more-link:hover .arrow-parts #rihgt-arrow03,
.under-case-list ul li a:hover .arrow-parts #rihgt-arrow03 {
    transform: translateX(-150%);
}

.fw1h {
    padding: 100px 0 150px;
    background-image: url(./img/top/5w1h_bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fw1h .cmn-title h2,
.fw1h .cmn-title span {
    color: #fff;
}

.fw1h .cmn-title h2 span {
    font-size: 42px;
    padding: 0 2px 0 0;
}

.fw1h .cmn-title h2 span:nth-child(2) {
    padding-left: 3px;
}

.cmn-txt {
    margin-bottom: 80px;
}

.cmn-txt h3 {
    font-size: 30px;
    color: #fff;
}

.theway .movie-lists {
    width: calc(100% + min(13.8vw,200px));
}

@media screen and (max-width:1100px) {
    .theway .movie-lists {
        width: 100%;
    }
}

.movie-list-cont {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.theway .movie-list-cont {
    justify-content: flex-start;
    gap: min(3.47vw,50px);
}

.movie-list-cont-left {
    width: calc(100% - 300px);
}

.theway .movie-list-cont-left {
    width: calc(100% - 500px);
}

@media screen and (max-width:1100px) {
    .theway .movie-list-cont-left {
        width: calc(100% - 300px);
    }
}

.movie-list-cont-video {
    position: relative;
    cursor: pointer;
    transition: all .7s;
}

.movie-list-cont-video-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    transition: all .7s;
    position: relative;
}

.movie-list-cont-video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    top: 0;
    left: 0;
    transition: all .7s;
}

.movie-list-cont-video.active iframe {
    opacity: 1;
    visibility: visible;
}

.movie-list-cont-right {
    width: 250px;
}

.theway .movie-list-cont-right {
    width: fit-content;
    min-width: 250px;
}

@media screen and (max-width:834px) {
    .theway .movie-list-cont-right {
        min-width: auto;
        width: 135px;
    }
}

.movie-list-cont-right-title {
    margin-bottom: 30px;
}

.movie-list-cont-right-title h3 {
    font-size: 56px;
    color: #fff;
    line-height: 1;
    padding-bottom: 5px;
}

.theway .movie-list-cont-right-title h3 {
    color: black;
    font-size: min(3.8vw,56px);
}

@media screen and (max-width:834px) {
    .theway .movie-list-cont-right-title h3 {
        font-size: 20px;
    }
} 

.movie-list-cont-right-title h3 span {
    padding-left: 7.5px;
}

.movie-list-cont-right-title p {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.theway .movie-list-cont-right-title p {
    color: black;
}

.movie-list-cont-right-link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #A51C47;
    border-radius: 50px;
    padding: 5px 10px;
}

.movie-list-cont-right-link a p {
    font-size: 20px;
    color: #fff;
    letter-spacing: .1rem;
    padding-left: 15px;
    line-height: 1;
}

.more-link-two .arrow-parts {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.arrow-parts-arrow {
    position: absolute;
    display: flex;
    gap: 30px;
    width: 15px;
    height: 15px;
    top: 52.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.arrow-parts-arrow svg {
    transition: transform 0.6s ease-in-out, opacity 0.3s ease-in-out;
}

/* 初期位置 */
#rihgt-arrow04 {
    transform: translateX(0);
    opacity: 1;
}

#rihgt-arrow05 {
    transform: translateX(-150%);
    opacity: 0;
}

/* hover時のアニメーション */
.more-link-two:hover .arrow-parts-arrow #rihgt-arrow04 {
    transform: translateX(150%);
    opacity: 0;
}

.more-link-two:hover .arrow-parts-arrow #rihgt-arrow05 {
    transform: translateX(0);
    opacity: 1;
}


.exam,
.moj-link,
.column-cont,
.under-fv,
.under-cont-wrap {
    background-image: url(./img/common/math_bg.webp);
    background-size: 100% auto;
    background-position: left top;
    padding: 100px 0 120px;
    position: relative;
    background-color: #fff;
}

.under-fv {
    background-image: url(./img/common/under_bg.webp);
}

.under-cont .under-fv {
    background-image: url(./img/common/math_bg.webp);
}

.hidden {
    display: none;
}

@media (min-width: 835px) {

    .fw1h,
    .exam,
    .moj-link,
    .column-cont,
    .under-fv,
    .under-cont-wrap {
        background-attachment: fixed;
    }
}

.exam .cmn-title {
    margin-bottom: 35px;
}

.exam .cmn-title h2 {
    font-size: 64px;
    color: #A51C47;
}

.exam .cmn-title span {
    font-size: 32px;
    color: #818181;
}

.exam .movie-list-cont-video {
    max-width: 480px;
}

.exam .theway .movie-list-cont-video {
    max-width: unset;
}

.exam .more-link a {
    position: absolute;
    right: 30px;
    bottom: 60px;
    width: 200px;
}

.exam .arrow-parts {
    transform: rotate(90deg);
}

.exam .theway .arrow-parts {
    transform: rotate(0);
}

.exam-info {
    background: #A51C47;
    padding: 120px 0 150px;
}

.exam-info-title {
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exam-info-title h2 {
    width: 400px;
    font-size: 22px;
    font-weight: 500;
    padding-left: 30px;
    color: #fff;
}

.exam-info-title p {
    max-width: calc(100% - 400px);
    width: 100%;
    font-size: 18px;
    display: inline-block;
    padding-bottom: 2.5px;
    font-weight: 500;
    color: #fff;
}

.exam-info-title p span {
    border-bottom: 1px solid #fff;
}

.exam-info-table table {
    width: 100%;
}

.exam-info-table table tr th {
    width: 400px;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    padding: 40px 0 70px 30px;
    border-top: 1px solid #C487A0;
    vertical-align: baseline;
}

.exam-info-table table tr td {
    max-width: calc(100% - 400px);
    line-height: 3;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    padding: 30px 0 65px;
    border-top: 1px solid #C487A0;
}

.exam-info-table table tr:nth-child(1) th,
.exam-info-table table tr:nth-child(1) td {
    border-top: none;
}

.moj-txt p {
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 50px;
    line-height: 2;
}

.moj-link .movie-list-cont-right-link a {
    max-width: 240px;
    padding: 10px 10px 10px 25px;
}

.column-cont .cmn-title {
    margin-bottom: 40px;
}

.column-cont .cmn-txt {
    margin-bottom: 60px;
}

.column-cont .cmn-txt h3 {
    font-size: 18px;
    color: #A51C47;
    font-weight: 500;
}

.footer-flex {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.footer-flex-left {
    width: 500px;
    padding: 30px;
    background: #A51C47;
    border-radius: 10px;
}

.footer-flex-left-top {
    padding-top: 60px;
    max-width: 100%;
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #fff;
}

.footer-flex-left-top li a {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .3rem;
    display: block;
    margin-bottom: 10px;
}

.footer-flex-right {
    width: calc(100% - 500px);
    position: relative;
}

.footer-flex-right img {
    width: 335px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    position: absolute;
}

.footer-flex-left-center {
    margin-bottom: 100px;
}

.footer-flex-left-center ul li a {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.copy {
    max-width: 285px;
}

.cmn-btn a {
    transition: all .7s;
}

.cmn-btn a:hover {
    opacity: .7;
}

.splash-cont-txt {
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.splash-cont-txt p {
    color: #fff;
    font-size: 90px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: .06em;
    padding-bottom: 20px;
}

.splash-cont-txt span {
    font-size: 20px;
    letter-spacing: .16rem;
    color: #fff;
}

.under-fv {
    padding: 160px 0 0;
    pointer-events: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100svh;
    z-index: 0;
}

.under-fv-flex {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    width: calc(100% - 30px);
    margin: 0 auto;
    bottom: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.under-fv-txt {
    width: 35%;
    position: relative;
    z-index: 1;
    top: -20px;
}

#why-cont .under-fv-txt {
    top: -10px;
}

#who-cont .under-fv-txt {
    top: -42.5px;
}

#how-cont .under-fv-txt {
    top: -37.5px;
}

.column-wrap .under-fv-txt {
    top: -32px;
}

.under-fv-img {
    width: 62.5%;
    padding-right: 2.5%;
    padding-top: 30px;
    position: relative;
    left: -5%;
}

.under-wrap {
    padding-top: 100lvh;
}

.scroll-circle {
    width: 95px;
    height: 95px;
    position: absolute;
    border-radius: 50%;
    border: 1px solid #000;
    right: 0;
    bottom: 100px;
    display: block;
}

.scroll-circle p {
    text-align: center;
    line-height: 94px;
    font-size: 20px;
    letter-spacing: .08rem;
    color: #000;
}

.column-wrap {
    background: #E8EDEF;
    padding: 40px 0 0px;
    position: relative;
}

.column-wrap .under-cmn-title-jp {
    width: calc(100% - 400px);
}

.under-fv-txt-title {
    margin-bottom: 300px;
}

#how-cont .under-fv-txt-title {
    margin-bottom: 47.5vh;
}

.under-fv-txt-title h1 {
    font-size: 130px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: .06em;
    padding-bottom: 10px;
    white-space: nowrap;
}

.under-fv-txt-title p {
    font-size: 26px;
    color: #4D4B45;
    letter-spacing: .18rem;
}

.under-fv-txt-txt p {
    font-size: 20px;
    letter-spacing: .16rem;
    color: #9B9B9B;
}

.scroll-up {
    transform: translate3d(0, calc(clamp(1.4rem, 1.08rem + .5vw, 1.9rem) * 4), 0) scale(.9, .98);
    transition: transform 3s .25s cubic-bezier(.2, .28, 0, 1.12);
}

.under-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.under-cmn-title {
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.under-cmn-title-en p {
    font-size: 20px;
    font-weight: 700;
}

.under-cmn-title-jp p {
    font-size: 20px;
    font-weight: 600;
    color: #A51C47;
}

.search-cont {
    margin-bottom: 80px;
}

.search-cont-title {
    padding: 0 50px 25px;
    border-bottom: 1px solid #9B9B9B;
}

.search-cont-title h2 {
    font-size: 30px;
    font-weight: 700;
}

.search-cont-list {
    padding: 25px 50px 0;
    display: flex;
    align-items: center;
}

.search-cont-list p {
    margin-right: 40px;
    font-size: 20px;
    font-weight: 700;
}

.search-cont-list ul {
    display: flex;
    align-items: center;
}

.search-cont-list ul li {
    margin-right: 15px;
}

.search-cont-list ul li a {
    background: #D6D4D5;
    border-radius: 30px;
    display: block;
    padding: 2.5px 15px;
    font-size: 20px;
    color: #000;
    transition: all .7s;
}

.search-cont-list ul li a:hover {
    opacity: .7;
}

#columnList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 100px;
    padding-bottom: 100px;
    position: relative;
}

.column-archive-list {
    padding-bottom: 100px;
}

.column-archive-list-img {
    margin-bottom: 30px;
    overflow: hidden;
}

.column-archive-list-img img {
    transition: all .7s;
}

#columnList li a:hover .column-archive-list-img img {
    transform: scale(1.05);
}

.column-archive-list-txt {
    margin-bottom: 20px;
}

.column-archive-list-txt p {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    color: #000004;
}

.column-archive-list-txt h3 {
    font-size: 20px;
    font-weight: 500;
    color: #000004;
}

.column-archive-cat-list ul {
    display: flex;
    align-items: center;
}

.column-archive-cat-list ul li {
    font-size: 14px;
    margin-right: 20px;
    font-weight: 500;
    color: #000004;
}

#loadMoreBtnWrapper {
    text-align: center;
    width: 65px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

#loadMoreBtnWrapper button {
    background: initial;
    border: initial;
    padding: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .06rem;
    cursor: pointer;
    transition: all .7s;
    color: #000004;
}

#loadMoreBtnWrapper button:hover {
    color: #A51C47;
}

#why-cont .under-fv-img {
    padding-top: 40px;
    left: -15%;
}

#what-cont .under-fv-img {
    width: 50%;
    padding-top: 150px;
    left: -22.5%;
}

.under-cont-wrap {
    padding: 0px 0 150px;
}

.under-title-img {
    margin-bottom: 60px;
}

.under-cont .under-cmn-title-jp {
    width: calc(100% - 400px);
}

.under-cont .under-cmn-title-jp p {
    font-size: 34px;
    letter-spacing: .02rem;
}

.under-cont .under-cmn-title {
    margin-bottom: 60px;
}

.under-faq-list ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 180px;
}

.under-faq-list ul li:last-child {
    margin-bottom: 0;
}

.under-faq-list-img {
    width: 70px;
    margin-left: 100px;
}

.under-faq-list-txt {
    width: calc(100% - 400px);
}

.under-faq-list-txt h3 {
    font-size: 30px;
    font-weight: 700;
    padding-bottom: 60px;
    line-height: 1.8;
}

.under-faq-list-txt p {
    font-size: 20px;
    line-height: 2;
    letter-spacing: .04em;
}

.under-faq-list ul li:last-child .under-faq-list-txt p {
    max-width: 610px;
}

.under-case-list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px 40px;
}

.under-case-list ul li {
    background: #EFEFEF;
    border-radius: 30px;
}

.under-case-list-inner {
    padding: 45px 30px;
}

.under-case-list-title {
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #A51C47;
}

.under-case-list-title h2 {
    font-size: 34px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: .08em;
    color: #A51C47;
}

.under-case-list-top-txt {
    margin-bottom: 50px;
}

.under-case-list-top-txt span {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 15px;
    display: block;
}

.under-case-list-top-txt p {
    font-size: 18px;
    font-weight: 700;
}

.under-case-list-top-txt p span {
    font-size: 24px;
    padding-right: 2.5px;
    display: inline;
    padding-bottom: 0;
}

.under-case-list-txt {
    margin-bottom: 70px;
}

.under-case-list-txt p {
    font-size: 19px;
    font-weight: 500;
    line-height: 2.4;
}

.under-case-list-inner a {
    display: flex;
    align-items: center;
    width: 200px;
    justify-content: space-between;
    margin-left: auto;
}

.under-case-hover {
    transition: all .7s;
}

.under-case-list ul li:hover .under-case-hover {
    transform: scale(1.025);
}

#what-cont .inner,
#what-cont .under-inner {
    max-width: 1200px;
}

#what-cont .inner#message {
    padding-top: 60px;
}

#what-cont #first .under-title-img {
    margin-bottom: 0px;
}

#what-cont #first .under-cmn-title-jp p {
    color: #fff
}

.message-cont-title {
    margin-block: 100px;
}

.message-cont-title h3 {
    font-size: 30px;
    color: #fff;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: .02rem;
}

#what-cont.under-cont .under-cmn-title-jp {
    width: calc(100% - 400px);
}

#what-cont .under-cont-wrap#first {
    background-image: none;
    background-color: #A51C47;
}

#what-cont .under-cont-wrap#first .under-cmn-title-en p {
    color: #fff;
}

.message-cont-txt p {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    padding-bottom: 50px;
    line-height: 2;
    letter-spacing: .02rem;
}

.message-cont-txt p.name {
    font-weight: 700;
    padding-top: 70px;
}

.message-cont-txt p.name span {
    font-size: 30px;
    font-weight: 700;
}

.philosophy-txt {
    margin-top: -20px;
}

.philosophy-txt h3 {
    font-size: 24px;
    font-weight: 600;
    padding-bottom: 100px;
}

.philosophy-txt p {
    font-size: 20px;
    font-weight: 400;
    line-height: 2;
    padding-bottom: 50px;
}

#what-cont .top-inner {
    max-width: calc(100% - 400px);
}

#what-cont .under-cont .under-cmn-title {
    width: calc(100% - 60px);
    margin: 0 auto 60px;
}

.what-table {
    max-width: 1315px;
    margin: 0 auto 20px;
    width: calc(100% - 30px);
}

#what-cont .under-faq-list-txt h3 {
    padding-bottom: 30px;
}

#what-cont .under-faq-list-img {
    width: 85px;
    margin-left: 140px;
}

.under-what-cont-first {
    margin-block: -65px 60px;
}

.what-table table tr th {
    width: calc(100% - 870px);
    padding-block: 30px 80px;
    border-top: 1px solid #9B9B9B;
    font-size: 32px;
    font-weight: 500;
    color: #A51C47;
    padding-left: 70px;
    vertical-align: baseline;
}

.what-table table tr td {
    width: 860px;
    padding-block: 30px 80px;
    border-top: 1px solid #9B9B9B;
    font-size: 20px;
    line-height: 2;
    font-weight: 500;
    color: #A51C47;
    padding-right: 60px;
}

#what-cont .under-faq-list ul li:last-child .under-faq-list-txt p {
    max-width: 100%;
}

#what-cont .under-faq-list-img.under-faq-list-img02 {
    width: 100px;
    margin-left: 100px;
    margin-top: 15px;
}

#what-cont .under-faq-list-txt {
    width: calc(100% - 400px);
}

#what-cont .under-faq-list ul li:last-child .under-faq-list-txt p.pb {
    padding-bottom: 100px;
}

.syokusyu-table table {
    width: 100%;
    margin-block: 60px 30px;
}

.syokusyu-table table th {
    width: 145px;
    text-align: center;
    border-bottom: 5px solid #a5a5a5;
    border-left: 5px solid #a5a5a5;
    font-size: 24px;
    font-weight: 500;
}

.syokusyu-table table tr.first th {
    border-top: 5px solid #A51C47;
    border-color: #A51C47;
    background: #A51C47;
    color: #fff;
}

.syokusyu-table table tr.first td {
    border-color: #A51C47;
    border-top: 5px solid #A51C47;
}

.syokusyu-table table td {
    border-bottom: 5px solid #a5a5a5;
    border-right: 5px solid #a5a5a5;
    padding: 25px 60px 25px 20px;
}

.syokusyu-table .caution-txt {
    margin-top: 5px;
}

.syokusyu-table .caution-txt p {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1rem;
}

.syokusyu-table-txt.mb {
    margin-bottom: 25px;
}

.syokusyu-table-title {
    padding-bottom: 10px;
}

.syokusyu-table-title p {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .05rem;
}

.syokusyu-table-txt ul {
    border-radius: 10px;
    padding: 30px 20px;
    background: #E8EDEF;
}

.syokusyu-table-txt ul li {
    font-size: 15px;
    font-weight: 700;
    line-height: 2;
    letter-spacing: .1rem;
}

footer.gray-footer {
    background: #F5F5F5;
}

footer.gray-footer .footer-flex {
    background: #F5F5F5;
}

#when-cont .under-fv-img {
    padding-top: 85px;
    left: -12.5%;
}

.under-scene-list ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.under-scene-list ul li:last-child {
    margin-bottom: 0;
}

.under-scene-list-img {
    width: 35%;
}

.under-scene-list-img img {
    width: 75px;
    display: block;
    margin: 0 auto;
}

.under-scene-list-wrap {
    width: 65%;
    background: #E8EDEF;
    border-radius: 10px;
}

#when-cont .under-case-list-top-txt {
    margin-bottom: 25px;
}

#when-cont .under-case-list-top-txt p {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .1rem;
    color: #A51C47;
}

#when-cont .under-case-list-txt p {
    line-height: 2;
    font-size: 20px;
}

#when-cont .under-case-list-txt {
    margin-bottom: 0;
}

#when-cont .top-inner {
    max-width: 800px;
}

.under-history-cont-txt {
    margin-bottom: 60px;
}

.under-history-cont-txt p {
    line-height: 2;
    font-size: 20px;
    font-weight: 500;
}

#when-cont .under-cont#two .under-cmn-title,
#when-cont .under-cont#three .under-cmn-title {
    margin-bottom: 100px;
}

.under-history-cont-video {
    max-width: 600px;
}

.movie-list-cont-video-thumb {
    margin-bottom: 40px;
}

.under-history-cont-video p {
    font-size: 16px;
}

#where-cont .under-fv-img {
    width: 60%;
    padding-top: 95px;
    left: -17.5%;
}

#where-cont .under-cont-wrap#first {
    background-image: none;
    background: #A51C47;
}

#where-cont #first .under-cmn-title-jp p,
#where-cont #first .under-cmn-title-en p {
    color: #fff
}

.under-cont-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.under-cont-flex-txt {
    width: calc(100% - 400px);
    color: #fff;
}

.under-cont-flex-txt h3 {
    font-size: 30px;
    font-weight: 700;
    padding-bottom: 60px;
}

.under-cont-flex-txt p {
    font-size: 20px;
    line-height: 2;
    letter-spacing: .04em;
    font-weight: 500;
}

.under-cont-flex-img {
    width: 400px;
}

.under-cont-flex-img img {
    width: 135px;
    margin: 0 auto;
}

.under-cont-flex-wrap .under-cont-flex:nth-child(1) {
    margin-bottom: 200px;
}

.under-cont-flex-wrap .under-cont-flex:nth-child(2) .under-cont-flex-img img {
    width: 75px;
}

#where-cont #two.under-cont-wrap {
    padding: 100px 0;
}

#where-cont #two .under-cmn-title-en p {
    color: #A51C47;
}

#where-cont #two .under-cont .under-cmn-title {
    margin-bottom: 100px;
}

.map-img-cont img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px;
}

.map-img-cont p {
    text-align: right;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: .02rem;
}

#where-cont .under-title-img {
    margin-bottom: 90px;
}

#Who-cont.under-cont .under-fv,
#Who-cont .under-cont-wrap,
#how-cont.under-cont .under-fv,
#how-cont .under-cont-wrap {
    background-image: url(./img/common/red_math_bg.webp);
    background-size: 100%;
    background-repeat: repeat;
}

#Who-cont .under-fv-img {
    width: 54.5%;
    padding-right: 2.5%;
    padding-top: 75px;
    position: relative;
    left: -17.5%;
}

#Who-cont .under-title-img img {
    border-radius: 70px;
}

#Who-cont .under-fv-txt-title {
    margin-bottom: 340px;
}

.under-who-cont {
    margin-bottom: 80px;
    background: #E8EDEF;
    padding: 60px 50px 100px;
    border-radius: 30px;
}

.under-who-cont:nth-child(2) {
    margin-bottom: 0;
}

.under-who-cont-flex {
    display: flex;
    justify-content: space-between;
}

.under-who-cont-flex-left {
    width: 300px;
}

.under-who-cont-flex-left .under-case-list-top-txt {
    margin-bottom: 40px;
}

.under-who-cont-flex-left-txt p {
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 40px;
}

.under-who-cont-flex-right {
    width: calc(100% - 400px);
}

.under-who-cont-flex-right-list ul li {
    margin-bottom: 30px;
}

.under-who-cont-flex-right-list ul li:last-child {
    margin-bottom: 0;
}

.under-who-cont-flex-right-list-title {
    margin-bottom: 15px;
}

.under-who-cont-flex-right-list-title h3 {
    background: #A51C47;
    display: inline-block;
    padding: 0.5px 5px 2.5px;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.under-who-cont-flex-right-list-txt p {
    font-size: 20px;
    line-height: 2.2;
}


@media screen and (min-width:841px) {
    #pass-cont .under-fv-img {
        left: -10%;
        width: 72.5%;
    }
}

#pass-cont .under-fv-txt {
    top: -120px;
}

#pass-cont .under-faq-list ul li:last-child .under-faq-list-txt p {
    max-width: 100%;
}

@media screen and (min-width:841px) {
    #training-cont .under-fv-img {
        left: -10%;
        width: 72.5%;
    }
}

#training-cont .under-cont-wrap#first {
    background-image: none;
    background: #A51C47;
    padding-bottom: 80px;
}

#training-cont .under-cont-wrap#first .under-cmn-title-jp > p {
    color: #fff;
}

#training-cont .under-cmn-title {
    align-items: flex-start;
    margin-bottom: 0;
}

@media screen and (max-width:1000px) {
    #training-cont .under-cont-wrap#first .under-cmn-title {
        display: flex;
    }
}

#training-cont .under-cont-wrap#first .under-cmn-title-en {
    max-width: 340px;
    padding-right: 20px;
}

@media screen and (max-width:1000px) {
    #training-cont .under-cont-wrap#first .under-cmn-title-en {
        margin-inline: auto;
    }
}

#training-cont .message-cont-title {
    margin-top: 30px;
    margin-bottom: 70px;
}

#training-cont .message-cont-title h3 {
    font-size: 25px;
}

#training-cont .message-cont-txt p {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    padding-bottom: 50px;
    line-height: 2;
    letter-spacing: .02rem;
}

#training-cont .under-cont-wrap#two {
    padding-top: 80px;
}

#training-cont .under-cont-wrap#two .under-cmn-title-en p {
    color: #a51c47;
}

#training-cont .what-table {
    margin-top: 100px;
}

@media screen and (max-width: 840px) {
    #training-cont .what-table {
        margin-top: 40px;
    }
}

#training-cont .what-table table tr th {
    padding-left: min(4.16vw, 60px);
    font-size: min(2.22vw, 32px);
    width: calc(100% - min(60.416vw,870px));
}

@media screen and (max-width: 1000px) {
    #training-cont .what-table table tr th {
        width: 100%;
    }
}

#training-cont .what-table table tr:first-child th {
    border-top: none;
}

#training-cont .what-table table tr:first-child td {
    border-top: none;
}

@media screen and (min-width:841px) {
    #future-cont .under-fv-img {
        left: -10%;
        width: 72.5%;
    }
}

#future-cont.under-cont .under-cont-wrap#first .under-cmn-title {
    align-items: flex-start;
}

#future-cont.under-cont .under-cont-wrap#first .under-cmn-title-jp p.q {
    color: black;
    font-size: 31px;
    margin-top: 36px;
}

#future-cont .under-who-cont {
    padding-bottom: 0;
}

#future-cont .under-who-cont-flex-left-txt-img {
    max-height: 200px;
    height: 100%;
    margin-bottom: 0;
}

#future-cont .under-who-cont-flex-left-txt-img img {
    height: 100%;
    object-fit: contain;
    margin-inline: auto;
    width: auto;
    max-width: unset;
}

#future-cont .under-case-list-top-txt {
    margin-bottom: 10px;
}

#how-cont .under-fv-img {
    width: 52.5%;
    padding-right: 0;
    padding-top: 0px;
    left: -20.5%;
    margin-top: -1.5%;
}

#how-cont .under-cont-wrap#first {
    background-image: none;
    background: #A51C47;
}

#how-cont #first .under-cmn-title-jp p,
#how-cont #first .under-cmn-title-en p {
    color: #fff
}

#how-cont .under-cont-flex-img img {
    width: 75%;
}

#how-cont .under-title-img {
    margin-bottom: 100px;
}

#how-cont .under-cont-flex-txt p {
    padding-bottom: 50px;
}

#how-cont .under-cont-flex {
    align-items: flex-start;
}

#how-cont .under-cont-wrap#two {
    padding-block: 50px 200px;
}

#how-cont .under-cont-wrap#two .under-cmn-title-en p {
    color: #A51C47;
}

.flow-list {
    margin-bottom: 80px;
}

.flow-list ul {
    display: flex;
}

.flow-list ul li {
    width: 30%;
    border: 2px solid #000004;
    border-radius: 10px;
    background: #fff;
    margin-left: -2.5%;
    height: 225px;
}

.flow-list ul li:nth-child(1) {
    margin-left: 0;
    transition-delay: .2s;
}

.flow-list ul li:nth-child(2) {
    transition-delay: .4s;
}

.flow-list ul li:nth-child(3) {
    transition-delay: .6s;
}

.flow-list ul li:nth-child(4) {
    transition-delay: .8s;
}

.flow-list ul li:nth-child(even) {
    margin-top: 45px;
}

.under-step-list {
    padding: 45px;
}

.under-step-list .under-case-list-title {
    padding-bottom: 12.5px;
    margin-bottom: 15px;
}

.under-step-list .under-case-list-top-txt {
    margin-bottom: 0px;
}

.under-step-list .under-case-list-top-txt p {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #A51C47;
}

#how-cont .under-inner {
    max-width: 1400px;
}

.flow-flex-list ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    position: relative;
}

#how-cont #two .under-inner {
    max-width: 1300px;
}

#how-cont .abs-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    max-width: 255px;
}

.flow-flex-list-right {
    width: calc(100% - 400px);
}

.flow-flex-list-left {
    width: calc(100% - 800px);
}

.flow-flex-list-left p {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
}

.flow-flex-list-left img {
    width: 175px;
    margin: 0 auto;
}

.flow-flex-list ul li:nth-child(1) .flow-flex-list-left img {
    width: 380px;
    margin: 0 auto 0 20px;
}

.flow-flex-list-title {
    margin-bottom: 60px;
}

.flow-flex-list-title p {
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
}

.flow-flex-list-title p::before {
    width: 0%;
    height: 1px;
    background: #A51C47;
    content: "";
    left: 0;
    bottom: 0;
    transition: all .7s;
    transition-delay: .3s;
    position: absolute;
}

.flow-flex-list-title p.active-anime::before {
    width: 100%;
}

.flow-flex-list-txt p {
    font-size: 20px;
    line-height: 2.2;
    font-weight: 500;
    padding-bottom: 50px;
}

.flow-flex-list-txt p:last-child {
    padding-bottom: 100px;
}

.flow-flex-list-title h3 {
    font-size: 32px;
    font-weight: 700;
    color: #A51C47;
}

#how-cont .more-link {
    position: absolute;
    bottom: 0;
    right: 0;
}

#how-cont .more-link a {
    width: 310px;
    margin-inline: auto 0;
}

#how-cont .more-link a .more-txt {
    width: calc(100% - 60px);
    font-size: 24px;
}

#how-cont .letter,
#how-cont .letter::before {
    font-size: 24px;
    color: #A51C47;
}

#how-cont .more-link-two .arrow-parts {
    width: 60px;
    height: 60px;
    background: #A51C47;
}

#how-cont .cls-1 {
    fill: #fff;
}

#how-cont .arrow-parts-arrow {
    width: 25px;
    height: 25px;
}

.bottom-scroll {
    position: relative;
    z-index: 6;
}

.single-cont-wrap .news {
    padding: 150px 0 200px;
}

.single-cont-wrap .inner {
    max-width: 1320px;
}

.news-single-title {
    padding-bottom: 80px;
    margin-bottom: 80px;
    border-bottom: 1px solid #000004;
    padding: 0 40px 80px;
}

.news-single-title .under-cmn-title-jp {
    max-width: 780px;
    width: 100%;
}

.news-single-title .under-cmn-title-jp h1 {
    font-size: 36px;
    font-weight: 500;
    color: #A51C47;
}

.news-single-title .under-cmn-title {
    margin-bottom: 50px;
}

.day-cont {
    max-width: 780px;
    width: 100%;
    margin-left: auto;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .02rem;
}

.single-cont-wrap .top-inner {
    max-width: 820px;
    margin-left: auto;
    padding-right: 40px;
}

.news-single-cont {
    margin-bottom: 100px;
}

.news-single-cont h2 {
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 40px;
}

.news-single-cont h3 {
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 40px;
}

.news-single-cont h4 {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 40px;
}

.news-single-cont p {
    font-size: 20px;
    font-weight: 500;
    line-height: 2.2;
    letter-spacing: .04rem;
    padding-bottom: 40px;
}

.news-single-cont a {
    text-decoration: underline;
    color: #A51C47;
}

.news-single-cont img {
    display: inline-block;
    width: auto;
    height: auto;
    margin-bottom: 40px;
}

.single-more-link.more-link a {
    width: 270px;
    margin-inline: 0 auto;
}

.single-more-link.more-link a .arrow-parts {
    transform: rotate(180deg);
}

.single-more-link.more-link a .more-txt {
    width: auto;
    font-size: 30px;
}

.single-cont-wrap .column {
    background-image: url(./img/common/red_math_bg.webp);
    padding-top: 0;
}

.news-single-cont .under-cmn-title {
    margin-bottom: 0px;
    display: block;
}

.column-thumb {
    height: 100vh;
    width: 100%;
    position: relative;
    margin-bottom: 100px;
}

.column-thumb img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-cont {
    max-width: 780px;
    width: 100%;
    margin-left: auto;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.category-cont p {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .02rem;
    margin-right: 30px;
}

.category-cont ul {
    display: flex;
    align-items: center;
}

.category-cont ul li {
    background: #D6D4D5;
    border-radius: 30px;
    display: block;
    padding: 2.5px 15px;
    font-size: 20px;
    color: #000;
    margin-right: 15px;
}

.category-cont ul li:nth-child(1) {
    display: none;
}

.pass-btn {
    max-width: 240px;
    width: 100%;
    margin-top: 60px;
}

@media screen and (max-width:840px) {
    .pass-btn {
        margin-top: 40px;
    }
}

@media screen and (max-width: 1300px) {
    .under-inner {
        max-width: 100%;
        width: calc(100% - 40px);
    }

    .under-step-list .under-case-list-top-txt p {
        font-size: 20px;
    }
}

@media screen and (max-width: 1200px) {
    .inner {
        max-width: 100%;
    }

    .more-link a {
        margin-inline: auto 0;
    }

    .footer-flex-left {
        width: 400px;
        padding: 20px;
    }

    .footer-flex-left-top {
        padding-top: 0px;
        padding-bottom: 20px;
        margin-bottom: 35px;
    }

    .footer-flex-right {
        width: calc(100% - 420px);
    }

    .footer-flex-right img {
        width: 300px;
    }

    .search-cont-title {
        padding: 0 20px 15px;
    }

    .search-cont-list {
        padding: 15px 20px 0;
    }

    #columnList {
        gap: 60px 20px;
        padding-bottom: 80px;
    }

    .under-fv-txt-title h1 {
        font-size: 100px;
    }

    .under-fv-txt-title p {
        font-size: 20px;
    }

    .under-fv-txt-txt p {
        font-size: 18px;
    }

    .under-fv-img {
        padding-right: 0;
        padding-top: 0;
    }

    .scroll-circle {
        width: 70px;
        height: 70px;
        bottom: 60px;
    }

    .scroll-circle p {
        line-height: 70px;
        font-size: 16px;
    }

    .under-cont .under-cmn-title-jp,
    .under-faq-list-txt {
        width: calc(100% - 250px);
    }

    .under-faq-list-img {
        width: 70px;
        margin-left: 40px;
    }

    .under-case-list ul {
        gap: 0px 20px;
    }

    .under-case-list-txt p {
        font-size: 18px;
        line-height: 2;
    }

    #what-cont .under-faq-list-img {
        width: 80px;
        margin-left: 20px;
    }

    .what-table table tr th {
        width: 100%;
        display: block;
        padding-block: 30px;
        font-size: 24px;
        padding-left: 0;
    }

    .what-table table tr td {
        width: 100%;
        display: block;
        padding-block: 0px 40px;
        border-top: initial;
        font-size: 18px;
        padding-right: 0px;
    }

    #what-cont .under-faq-list-img.under-faq-list-img02 {
        width: 90px;
        margin-left: 20px;
        margin-top: 0;
    }

    .syokusyu-table table td {
        padding: 25px;
    }

    .under-scene-list-img {
        width: 250px;
    }

    .under-scene-list-wrap {
        width: calc(100% - 250px);
    }

    #when-cont .top-inner {
        max-width: calc(100% - 250px);
    }

    .under-cont-flex-img {
        width: 250px;
    }

    #where-cont .under-inner {
        width: 100%;
    }

    .under-cont-flex-img {
        width: 250px;
    }

    .under-cont-flex-txt {
        width: calc(100% - 250px);
    }

    .under-cont-flex-wrap .under-cont-flex:nth-child(1) {
        margin-bottom: 100px;
    }

    .under-map-wrap {
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .under-step-list {
        padding: 30px;
    }

    .flow-list ul li {
        height: 200px;
    }

    .flow-flex-list ul li:nth-child(1) .flow-flex-list-left img {
        width: 200px;
        margin: 0 auto;
    }

    .flow-flex-list-right {
        width: 700px;
    }

    .flow-flex-list-left {
        width: calc(100% - 720px);
    }

    .under-step-list .under-case-list-top-txt p {
        font-size: 18px;
    }

    .flow-flex-list-left img {
        width: 145px;
    }

    .flow-flex-list ul li:nth-child(1) .flow-flex-list-left img {
        width: 175px;
    }

    .news-single-title {
        padding-inline: 0px;
    }

    .single-cont-wrap .top-inner {
        padding-right: 0px;
    }

    .news-single-title .under-cmn-title-en {
        margin-right: 20px;
    }

    .news-single-title .under-cmn-title-jp h1 {
        font-size: 30px;
    }
}

@media screen and (max-width: 1000px) {
    .under-fv-txt-title {
        margin-bottom: 200px;
    }

    .under-cmn-title-jp p {
        font-size: 18px;
    }

    .single-cont-wrap .top-inner {
        max-width: 100%;
    }

    .under-cmn-title {
        margin-bottom: 40px;
        display: block;
    }

    .news-single-title .under-cmn-title-en {
        margin-right: 0;
        margin-bottom: 35px;
    }

    .day-cont {
        max-width: 100%;
    }

    .category-cont {
        max-width: 100%;
    }
}

@media screen and (max-width: 834px) {
    .splash-cont img {
        max-width: 250px;
    }

    .modal-movie {
        max-width: 500px;
        padding: 60px 15px;
        width: calc(100% - 30px);
    }

    .modal-movie-title {
        max-width: 250px;
        margin: 0 auto 50px;
    }

    .youtube-cont {
        border-radius: 15px;
        margin-bottom: 55px;
    }

    .close-btn {
        width: 200px;
        padding: 7.5px 0;
        font-size: 18px;
    }

    .header-inner {
        width: calc(100% - 40px);
    }

    .header-logo {
        max-width: 200px;
    }

    .header-right {
        width: 120px;
    }

    .header-right-top .drawer-hamburger {
        width: 12.5px;
        height: 12.5px;
    }

    .header-right-top p {
        font-size: 22px;
        margin-right: 10px;
    }

    .movie-conts {
        max-width: 300px;
        bottom: 20px;
        left: 20px;
    }

    .overlay-active .drawer-nav .header-right-top .drawer-hamburger {
        transform: initial;
    }

    .drawer-nav {
        padding: 20px 0 60px;
        max-width: 100%;
    }

    .drawer-nav .header-right-top {
        margin-right: 20px;
    }

    .drawer-menu {
        padding-top: 40px;
        width: calc(100% - 180px);
        margin: 0 auto 35px;
    }

    .drawer-menu li a {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .drawer-menu li a img {
        max-width: 180px;
        margin-top: 15px;
    }

    .drawer-txt {
        max-width: 200px;
        margin: 0 auto 35px;
    }

    .movie-conts-title h2 {
        font-size: 24px;
    }

    .drawer-btn {
        width: calc(100% - 180px);
        margin: 0 auto;
    }

    .drawer-btn a {
        display: block;
        width: 150px;
    }

    .top-inner {
        max-width: 100%;
    }

    .fv-bottom {
        padding: 200px 0;
    }

    .fv-bottom .top-inner {
        padding: 0 40px;
    }

    .fv-bottom-cont h3 {
        font-size: 24px;
        line-height: 2;
        padding-bottom: 60px;
    }

    .fv-bottom-cont ol li {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .news {
        background-image: url(./img/common/math_bg_sp.webp);
        padding: 35px 0 90px;
    }

    .news-archive-wrap .news {
        padding-top: 90px;
    }

    .cmn-title {
        margin-bottom: 40px;
    }

    .cmn-title h2,
    .cmn-title h2 span {
        font-size: 24px;
        padding-bottom: 7.5px;
    }

    .cmn-title p,
    .cmn-title span {
        font-size: 12px;
    }

    .fw1h .cmn-title h2 span {
        font-size: 24px;
    }

    .news-lists {
        margin-bottom: 30px;
    }

    .news-lists ul li a {
        padding: 20px 30px;
    }

    .news-lists ul li a p.day {
        width: 15%;
        font-size: 13px;
    }

    .news-lists ul li a .title {
        width: 82.5%;
        font-size: 13px;
    }

    .news-lists ul li a::before {
        right: 25px;
        font-size: 12px;
    }

    .more-link a {
        margin-inline: auto 20px;
        width: 160px;
    }

    .arrow-parts {
        width: 17.5px;
        height: 17.5px;
    }

    .more-link a .more-txt {
        width: calc(100% - 25px);
        font-size: 18px;
    }

    .letter {
        font-size: 18px;
        padding: 0;
    }

    .fw1h {
        padding: 80px 0 130px;
    }

    .cmn-txt {
        margin-bottom: 50px;
    }

    .cmn-txt h3 {
        font-size: 20px;
    }

    .movie-list-cont-left {
        width: calc(100% - 180px);
    }

    .theway .movie-list-cont-left {
        width: calc(100% - 160px);
    }

    .movie-list-cont-right {
        width: 160px;
    }

    .movie-list-cont-right-title h3 {
        font-size: 36px;
    }

    .movie-list-cont-right-title h3 span {
        padding-left: 4.5px;
    }

    .movie-list-cont-right-title p {
        font-size: 14px;
    }

    .movie-list-cont-right-link a p {
        font-size: 14px;
        padding-left: 7.5px;
    }

    .more-link-two .arrow-parts {
        width: 27.5px;
        height: 27.5px;
    }

    .arrow-parts-arrow {
        width: 12.5px;
        height: 12.5px;
    }

    #how-cont .arrow-parts-arrow {
        width: 15px;
        height: 15px;
    }

    #training-cont .under-cont-wrap#first .under-title-img {
        margin-bottom: 60px;
    }

    #training-cont .under-cont-wrap#first .under-cmn-title {
        display: flex;
        flex-direction: column-reverse;
    }

    #training-cont .message-cont-title {
        margin-top: 5px;
        margin-bottom: 30px;
    }

    #training-cont .message-cont-title h3 {
        font-size: 16px;
    }

    #training-cont .under-cont-wrap#first .under-cmn-title-jp > p {
        font-size: 18px;
    }

    #training-cont .message-cont-txt p {
        font-size: 14px;
    }

    #training-cont .under-cont-wrap#first .under-cmn-title-en {
        width: 64%;
        margin-inline: auto;
    }

    #training-cont .what-table table tr th {
        width: 100%;
        font-size: 18px;
        padding-left: 0;
    }

    .play-icon img {
        width: 32.5px;
    }

    .play-icon p {
        font-size: 13px;
    }

    .exam,
    .moj-link,
    .column-cont {
        background-image: url(./img/common/math_bg_sp.webp);
        padding: 80px 0;
    }

    .under-fv {
        background-image: url(./img/common/under_bg_sp.webp);
        padding-top: 0px;
        height: 80svh;
    }

    .column-wrap .under-fv {
        height: 80svh;
        background-image: url(./img/common/math_bg_sm_sp.webp);
    }

    .under-wrap {
        padding-top: 80lvh;
    }

    .under-cont .under-fv,
    .under-cont-wrap {
        background-image: url(./img/common/math_bg_sm_sp.webp);
        background-repeat: repeat;
        background-size: 100%;
    }

    .exam .cmn-title h2 {
        font-size: 30px;
    }

    .exam .cmn-title span {
        font-size: 14px;
    }

    .exam .top-inner {
        max-width: 500px;
        width: 65%;
        margin-left: 0;
    }

    .exam .theway .top-inner {
        max-width: 100%;
        width: 100%;
    }

    .exam .arrow-parts {
        width: 12.5px;
        height: 12.5px;
    }

    .exam .more-link a .more-txt {
        width: calc(100% - 20px);
    }

    .exam .more-link a {
        right: 20px;
        bottom: 60px;
        width: 110px;
        margin-right: 10px;
    }

    .exam-info {
        padding: 70px 0;
    }

    .exam-info .inner {
        padding: 0px;
    }

    .exam-info-title {
        margin-bottom: 40px;
        display: block;
        padding: 0 25px;
    }

    .exam-info-title h2 {
        width: 100%;
        font-size: 20px;
        padding-left: 0;
        margin-bottom: 10px;
    }

    .exam-info-title p {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
    }

    .exam-info-table table tr th {
        display: block;
        width: 100%;
        font-size: 20px;
        padding: 35px 0 10px 25px;
    }

    .exam-info-table table tr td {
        width: 100%;
        max-width: 100%;
        display: block;
        font-size: 16px;
        padding: 0px 25px 35px;
        border-top: none;
    }

    .exam-info-table table tr:last-child td {
        padding-bottom: 0;
    }

    .moj-link {
        padding: 50px 0 80px;
    }

    .moj-txt p {
        font-size: 16px;
        padding-bottom: 20px;
        line-height: 1.7;
        text-align: center;
    }

    .moj-link .movie-list-cont-right-link a {
        max-width: 180px;
        margin: 0 auto;
    }

    .moj-link .movie-list-cont-right-link a p {
        font-size: 18px;
        line-height: 1;
        padding-top: 3px;
    }

    .column-cont {
        padding: 30px 0;
    }

    .column-cont .cmn-txt {
        margin-bottom: 40px;
    }

    .footer-flex {
        padding: 10px;
        display: block;
    }

    .footer-flex-right {
        width: 100%;
        padding: 50px 0;
    }

    .footer-flex-left {
        width: 100%;
        padding: 20px 45px;
    }

    .footer-flex-right img {
        width: 250px;
        margin: 0 auto;
        position: relative;
        top: initial;
        left: initial;
        transition: initial;
        transform: initial;
        -webkit-transform: initial;
        -ms-transform: initial;
    }

    .footer-flex-left-top {
        padding-top: 50px;
        padding-bottom: 20px;
        margin-bottom: 35px;
        margin-left: auto;
    }

    .footer-flex-left-center {
        margin-bottom: 80px;
        text-align: right;
    }

    .copy {
        max-width: 250px;
        width: 100%;
        margin: 0 auto;
    }

    .footer-flex-left-top li a {
        font-size: 16px;
        text-align: right;
    }

    .footer-flex-left-center ul li a {
        font-size: 14px;
    }

    .header-inner::before {
        top: -75%;
        right: -35%;
        transition: transform 1s;
    }

    .top-wrap {
        overflow: hidden;
        width: 100%;
    }

    .overlay-active .header-inner::before {
        transform: translateX(-30%) scale(25);
    }

    .under-fv-flex {
        display: block;
        max-width: 100%;
        width: calc(100% - 20px);
    }

    .under-fv-txt {
        width: calc(100% - 120px);
        margin: 0 auto;
        top: 0;
    }

    #pass-cont .under-fv-txt {
        top: 0;
    }

    #why-cont .under-fv-txt {
        top: 30px;
    }

    #what-cont .under-fv-txt,
    #who-cont .under-fv-txt {
        top: 25px;
    }

    #how-cont .under-fv-txt {
        top: 15px;
    }

    .column-wrap .under-fv-txt {
        top: 10px;
    }

    .under-fv-txt-title h1 {
        font-size: 64px;
    }

    .under-fv-txt-title p {
        font-size: 16px;
    }

    .under-fv-txt-title,
    #Who-cont .under-fv-txt-title,
    #how-cont .under-fv-txt-title {
        margin-bottom: 60px;
    }

    .under-fv-txt-txt p {
        font-size: 12px;
        letter-spacing: .1rem;
    }

    .under-fv-img {
        max-width: 400px;
        width: 100%;
        margin: 20px auto 0;
        position: relative;
        left: 0;
    }

    .splash-cont-txt p {
        font-size: 54px;
        padding-bottom: 0px;
    }

    .splash-cont-txt span {
        font-size: 12px;
    }

    .scroll-circle {
        width: 50px;
        height: 50px;
        bottom: initial;
        top: 32.5%;
        right: 15px;
    }

    .scroll-circle p {
        line-height: 50px;
        font-size: 13px;
    }

    .column-wrap {
        padding: 40px 0 0px;
    }

    .under-inner {
        max-width: 100%;
        width: calc(100% - 40px);
    }

    .under-cmn-title {
        margin-bottom: 50px;
        display: block;
    }

    .under-inner .inner {
        width: 100%;
    }

    .under-cmn-title-en p {
        font-size: 16px;
        padding-bottom: 20px;
    }

    .under-cmn-title-jp p {
        font-size: 16px;
    }

    .search-cont {
        margin-bottom: 60px;
    }

    .search-cont-title {
        padding: 0 0px 15px;
    }

    .search-cont-list {
        padding: 15px 0px 0;
    }

    .search-cont-title h2 {
        font-size: 24px;
    }

    .search-cont-list p {
        margin-right: 20px;
        font-size: 16px;
    }

    .search-cont-list ul li {
        margin-right: 12.5px;
    }

    .search-cont-list ul li a {
        border-radius: 30px;
        padding: 1.5px 12.5px 2.5px;
        font-size: 14px;
    }

    #columnList {
        display: block;
        padding-bottom: 20px;
    }

    #columnList li {
        margin-bottom: 60px;
    }

    #columnList li .column-archive-cat-list li {
        margin-bottom: 0;
    }

    #columnList li:last-child {
        margin-bottom: 0;
    }

    .column-archive-list-img {
        margin-bottom: 20px;
    }

    .column-archive-list-txt {
        margin-bottom: 15px;
    }

    .column-archive-list-txt p {
        font-size: 14px;
        padding-bottom: 12.5px;
    }

    .column-archive-list-txt h3 {
        font-size: 16px;
    }

    .column-archive-cat-list ul li {
        font-size: 12px;
        margin-right: 15px;
    }

    #loadMoreBtnWrapper {
        width: 55px;
    }

    #loadMoreBtnWrapper button {
        font-size: 24px;
    }

    .under-cont .under-fv-flex {
        width: 100%;
    }

    #why-cont .under-fv-img {
        padding-top: 0;
        left: 0;
    }

    #future-cont .under-who-cont {
        position: relative;
        margin-top: 120px;
        padding-bottom: 30px;
    }

    #future-cont .under-who-cont-flex-left {
        margin-bottom: 20px;
    }

    #future-cont .under-cont .under-cmn-title-jp p {
        font-size: 18px;
    }

    #future-cont.under-cont .under-cont-wrap#first .under-cmn-title-jp p.q {
        font-size: 16px;
    }

    #future-cont .under-who-cont-flex-left-txt-img {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-height: 100px;
        top: -100px;
    }

    .under-title-img {
        margin-bottom: 50px;
    }

    .under-cont .under-cmn-title-jp p {
        font-size: 24px;
    }

    .under-cont .under-cmn-title {
        margin-bottom: 50px;
    }

    .under-faq-list ul li {
        display: block;
        margin-bottom: 100px;
    }

    .under-faq-list-img {
        width: 50px;
        margin: 0 auto 50px;
    }

    .under-cont .under-cmn-title-jp,
    .under-faq-list-txt {
        width: 100%;
    }

    #what-cont.under-cont .under-cmn-title-jp {
        width: 100%;
    }

    .under-faq-list-txt h3 {
        font-size: 24px;
        padding-bottom: 40px;
    }

    .under-faq-list-txt p {
        font-size: 18px;
        line-height: 1.8;
    }

    .under-cont-wrap {
        padding: 0px 0 100px;
    }

    .under-case-list ul {
        display: block;
    }

    .under-case-list ul li {
        border-radius: 20px;
        margin-bottom: 30px;
    }

    .under-case-list ul li:last-child {
        margin-bottom: 0;
    }

    .under-case-list-inner {
        padding: 30px 25px;
    }

    .under-case-list-title {
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .under-case-list-title h2 {
        font-size: 24px;
    }

    .under-case-list-top-txt span {
        font-size: 13px;
        padding-bottom: 10px;
    }

    .under-case-list-top-txt p {
        font-size: 14px;
    }

    .under-case-list-top-txt p span {
        font-size: 18px;
    }

    .under-case-list-top-txt {
        margin-bottom: 30px;
    }

    .under-case-list-txt {
        margin-bottom: 40px;
    }

    .under-case-list-txt p {
        font-size: 16px;
    }

    .under-case-list-inner a {
        width: 130px;
    }

    #what-cont .under-fv-img {
        width: 105%;
        padding-top: 0;
        left: 20vw;
        margin-left: 0;
        margin-top: 20px;
        max-width: 400px;
    }

    #what-cont .top-inner {
        max-width: 100%;
        padding: 0;
    }

    .message-cont-title {
        margin-block: 50px;
    }

    .message-cont-title h3 {
        font-size: 24px;
    }

    .message-cont-txt p {
        font-size: 16px;
        padding-bottom: 30px;
    }

    .message-cont-txt p.name {
        padding-top: 40px;
    }

    .message-cont-txt p.name span {
        font-size: 24px;
    }

    #what-cont .under-cont-wrap {
        padding: 0px 0 60px;
    }

    .philosophy-txt h3 {
        font-size: 20px;
        padding-bottom: 60px;
    }

    .philosophy-txt p {
        font-size: 16px;
        font-weight: 500;
        padding-bottom: 20px;
    }

    .under-what-cont-first {
        margin-block: 0 50px;
    }

    .under-what-cont-first ul li {
        display: flex;
        flex-direction: column-reverse;
    }

    #what-cont .under-faq-list-txt h3 {
        padding-bottom: 20px;
    }

    #what-cont .under-faq-list-img {
        width: 70px;
        margin-left: auto;
        margin-top: 60px;
    }

    .what-table table tr th {
        padding-block: 15px 20px;
        font-size: 20px;
    }

    .what-table table tr td {
        padding-block: 0px 30px;
        font-size: 16px;
    }

    #what-cont .under-faq-list-img.under-faq-list-img02 {
        width: 75px;
        margin-left: auto;
    }

    #what-cont .under-faq-list ul li:last-child .under-faq-list-txt p.pb {
        padding-bottom: 60px;
    }

    .syokusyu-table table th {
        width: 100%;
        display: block;
        border-inline: 5px solid #a5a5a5;
        font-size: 20px;
        padding-block: 12.5px 10px;
        border-bottom: none;
    }

    .syokusyu-table table tr.first th {
        border-left: 5px solid #A51C47;
    }

    .syokusyu-table table td {
        padding: 15px;
        border-left: 5px solid #a5a5a5;
        border-top: none;
        width: 100%;
        display: block;
    }

    .syokusyu-table-title {
        padding-bottom: 7.5px;
    }

    .syokusyu-table-title p {
        font-size: 18px;
    }

    .syokusyu-table-txt ul {
        border-radius: 4.5px;
        padding: 15px 12.5px;
    }

    .syokusyu-table-txt ul li {
        font-size: 14px;
        line-height: 1.5;
    }

    .syokusyu-table table {
        margin-block: 60px 20px;
    }

    .syokusyu-table-txt.mb {
        margin-bottom: 30px;
    }

    #what-cont .under-faq-list-txt {
        width: 100%;
    }

    #when-cont .under-fv-img {
        padding-top: 0px;
        left: 0%;
        margin-top: 30px;
        width: 115%;
        max-width: 400px;
    }

    .under-scene-list ul li {
        display: block;
        margin-bottom: 30px;
    }

    .under-scene-list-img {
        width: 100%;
        margin-bottom: 30px;
    }

    .under-scene-list-img img {
        width: 55px;
    }

    .under-scene-list-wrap {
        width: 100%;
    }

    #when-cont .under-case-list-inner {
        padding: 30px 20px;
    }

    #when-cont .under-case-list-top-txt {
        margin-bottom: 15px;
    }

    #when-cont .under-case-list-top-txt p {
        font-size: 16px;
    }

    #when-cont .under-case-list-txt p {
        line-height: 1.5;
        font-size: 14px;
        letter-spacing: 0;
    }

    #when-cont .under-cont-wrap#first {
        padding-bottom: 0;
    }

    #when-cont .under-cont-wrap#two {
        padding-block: 40px 60px;
    }

    #when-cont .top-inner {
        max-width: 100%;
    }

    .under-history-cont-txt {
        margin-bottom: 50px;
    }

    .under-history-cont-txt p {
        line-height: 1.6;
        font-size: 15px;
    }

    .under-history-cont-video {
        max-width: 100%;
        width: 82.5%;
    }

    .movie-list-cont-video-thumb {
        margin-bottom: 30px;
    }

    .under-history-cont-video p {
        font-size: 14px;
    }

    #where-cont .under-fv-img {
        width: 100%;
        padding-top: 0px;
        left: 0;
        margin-top: 30px;
    }

    #where-cont .under-title-img {
        margin-bottom: 60px;
    }

    .under-cont-flex-wrap .under-cont-flex:nth-child(1) {
        margin-bottom: 60px;
    }

    .under-cont-flex {
        display: block;
    }

    .under-cont-flex-img {
        width: 100%;
        margin-bottom: 45px;
    }

    .under-cont-flex-txt {
        width: 100%;
    }

    .under-cont-flex-img img {
        width: 100px;
    }

    .under-cont-flex-txt h3 {
        font-size: 20px;
        padding-bottom: 30px;
    }

    .under-cont-flex-txt p {
        font-size: 16px;
        line-height: 1.8;
    }

    .under-cont-flex-wrap .under-cont-flex:nth-child(2) .under-cont-flex-img img {
        width: 55px;
    }

    #where-cont #two.under-cont-wrap {
        padding: 60px 0;
    }

    .map-img-cont img {
        max-width: 100%;
        margin: 0 auto 30px;
    }

    #Who-cont.under-cont .under-fv,
    #how-cont.under-cont .under-fv {
        background-image: url(./img/common/red_math_bg_sp.webp);
    }

    #Who-cont .under-cont-wrap,
    #how-cont .under-cont-wrap {
        background-image: url(./img/common/red_math_bg_ssp.webp);
    }

    #Who-cont .under-fv-img {
        width: 102.5%;
        padding-right: 0%;
        padding-top: 0px;
        left: 0;
        margin-top: 20px;
    }

    #Who-cont .under-title-img img {
        border-radius: 0;
    }

    .under-who-cont {
        margin-bottom: 60px;
        padding: 30px 25px 50px;
        border-radius: 20px;
    }

    .under-who-cont-flex {
        display: block;
    }

    .under-who-cont-flex-left {
        width: 100%;
        margin-bottom: 80px;
    }

    .under-who-cont-flex-left .under-case-list-top-txt {
        margin-bottom: 30px;
    }

    .under-who-cont-flex-left-txt p {
        font-size: 14px;
        line-height: 1.8;
        padding-bottom: 0px;
    }

    .under-who-cont-flex-right {
        width: 100%;
    }

    .under-who-cont-flex-right-list ul li {
        margin-bottom: 25px;
    }

    .under-who-cont-flex-right-list-title {
        margin-bottom: 10px;
    }

    #Who-cont .under-case-list-top-txt span {
        font-size: 16px;
        padding-bottom: 7.5px;
    }

    #Who-cont .under-case-list-top-txt p {
        font-size: 16px;
    }

    #Who-cont .under-case-list-top-txt p span {
        font-size: 22px;
    }

    .under-who-cont-flex-left-txt p {
        font-size: 16px;
    }

    .under-who-cont-flex-right-list-title h3 {
        font-size: 18px;
    }

    .under-who-cont-flex-right-list-txt p {
        font-size: 16px;
        line-height: 2;
    }

    #Who-cont .under-title-img {
        margin-bottom: 60px;
    }

    #how-cont .under-fv-img {
        width: 95%;
        padding-right: 0;
        padding-top: 0px;
        left: 0;
        margin-top: 15px;
        max-width: 350px;
    }

    #how-cont .under-title-img {
        margin-bottom: 60px;
    }

    #how-cont .under-cont-flex {
        flex-direction: column-reverse;
        display: flex;
    }

    #how-cont .under-cont-flex-img {
        width: 100%;
        margin: 0 auto;
        max-width: 400px;
    }

    #how-cont .under-cont-flex-txt {
        margin-bottom: 10px;
    }

    #how-cont .under-cont-flex-txt p {
        padding-bottom: 20px;
        font-size: 14px;
    }

    #how-cont .under-inner {
        width: 100%;
    }

    #how-cont .under-cont-wrap#first {
        padding-bottom: 50px;
    }

    .flow-flex-list {
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .flow-list ul {
        display: block;
        max-width: 400px;
        margin: 0 auto;
    }

    .flow-list ul li {
        height: auto;
        width: 75%;
        margin-left: 0;
    }

    .flow-list ul li:nth-child(even) {
        margin-top: -10px;
        right: -25%;
        position: relative;
    }

    .flow-list ul li:nth-child(3) {
        margin-top: -10px;
    }

    .flow-flex-list ul li {
        display: block;
        margin-bottom: 40px;
    }

    .flow-flex-list-left {
        width: 100%;
        margin-bottom: 30px;
    }

    .flow-flex-list-right {
        width: 100%;
    }

    .flow-flex-list-title p {
        padding-bottom: 12.5px;
        margin-bottom: 15px;
        font-size: 14px;
    }

    .flow-flex-list-title h3 {
        font-size: 24px;
    }

    .flow-flex-list-title {
        margin-bottom: 30px;
    }

    .flow-flex-list-txt p {
        font-size: 16px;
        line-height: 2;
        padding-bottom: 30px;
    }

    #how-cont .more-link {
        position: relative;
        bottom: initial;
        right: initial;
        margin-top: 50px;
    }

    #how-cont .more-link a {
        width: 160px;
        margin: auto 10px 0 auto;
    }

    #how-cont .more-link a .more-txt {
        width: calc(100% - 30px);
        font-size: 15px;
    }

    #how-cont .more-link-two .arrow-parts {
        width: 30px;
        height: 30px;
    }

    #how-cont .letter,
    #how-cont .letter::before {
        font-size: 15px;
    }

    .flow-flex-list-left img {
        width: 85px;
    }

    #how-cont .abs-img {
        max-width: 145px;
    }

    #how-cont .under-cont-wrap#two {
        padding-block: 50px 150px;
    }

    .column-wrap .under-cmn-title-jp {
        width: 100%;
    }

    .exam-info-table table tr:nth-child(1) th {
        border-top: 1px solid #C487A0;
        margin-top: 5px;
    }

    .news-single-cont h2 {
        font-size: 20px;
        padding-bottom: 30px;
    }

    .news-single-cont h3 {
        font-size: 18px;
        padding-bottom: 30px;
    }

    .news-single-cont h4 {
        font-size: 16px;
        padding-bottom: 30px;
    }

    .news-single-cont p {
        font-size: 14px;
        line-height: 1.8;
        padding-bottom: 30px;
    }

    .news-single-cont img {
        margin-bottom: 30px;
    }

    .news-single-title .under-cmn-title-jp h1 {
        font-size: 20px;
    }

    .under-cmn-title-en p {
        font-size: 14px;
    }

    .day-cont {
        font-size: 14px;
    }

    .single-cont-wrap .news {
        padding: 100px 0 140px;
    }

    .news-single-title .under-cmn-title-en p {
        padding-bottom: 0;
    }

    .news-single-title .under-cmn-title-en {
        margin-bottom: 30px;
    }

    .news-single-title .under-cmn-title {
        margin-bottom: 40px;
    }

    .news-single-title {
        padding-bottom: 60px;
        margin-bottom: 60px;
    }

    .news-single-cont {
        margin-bottom: 60px;
    }

    .single-more-link.more-link a .more-txt {
        font-size: 18px;
    }

    .single-more-link.more-link a {
        width: 160px;
        margin-inline: auto;
        left: -40px;
        position: relative;
    }

    .column-thumb {
        margin-bottom: 40px;
    }

    .category-cont {
        margin-top: 15px;
        align-items: baseline;
    }

    .category-cont p {
        font-size: 14px;
        margin-right: 20px;
    }

    .category-cont ul {
        flex-wrap: wrap;
    }

    .category-cont ul li {
        padding: 1.5px 10px;
        font-size: 14px;
        margin-right: 10px;
        margin-bottom: 7.5px;
    }

    .single-cont-wrap .column {
        padding: 0px 0 120px;
    }
}

@media screen and (max-width: 500px) {
    .splash-cont img {
        max-width: 180px;
    }

    .news-lists ul li a p.day {
        width: 80px;
    }

    .news-lists ul li a .title {
        width: calc(100% - 90px);
    }

    .footer-flex-left {
        padding: 20px 30px;
    }

    .movie-list-cont-right-title h3 {
        font-size: 30px;
    }

    .movie-list-cont-right-title p {
        font-size: 12px;
    }

    .movie-list-cont-right-title {
        margin-bottom: 15px;
    }

    .movie-list-cont-right {
        width: 135px;
    }

    .movie-list-cont-left {
        width: calc(100% - 160px);
    }

    .news-lists ul li a {
        padding: 15px 30px 15px 20px;
    }

    .fv-bottom .top-inner {
        padding: 0 20px;
    }

    .fv-bottom-cont h3 {
        font-size: 20px;
        padding-bottom: 50px;
    }

    .theway,
    .exam,
    .moj-link {
        padding: 60px 0;
    }

    .theway {
        padding-bottom: 0;
    }

    .exam-info-table table tr th {
        font-size: 18px;
        padding: 25px 0 10px 20px;
    }

    .exam-info-table table tr td {
        font-size: 16px;
        padding: 0px 20px 30px;
    }

    .exam .top-inner {
        max-width: 220px;
        width: 100%;
    }

    .exam .theway .top-inner {
        max-width: 100%;
    }

    .exam .cmn-title h2 {
        font-size: 25px;
    }

    .movie-list-cont-right-link a p {
        font-size: 12px;
        padding-left: 5px;
    }

    .more-link-two .arrow-parts {
        width: 22.5px;
        height: 22.5px;
    }

    .fv-bottom-cont ol li {
        font-size: 16px;
    }

    .movie-conts {
        max-width: 240px;
        bottom: 15px;
        left: 15px;
    }

    .movie-conts-title {
        margin-bottom: 20px;
    }

    .movie-conts-title h2 {
        font-size: 22px;
        padding-bottom: 0;
    }

    .movie-conts-title p {
        font-size: 13px;
    }

    .moj-txt p {
        font-size: 12px;
    }

    .moj-link {
        padding: 30px 0 40px;
    }

    .exam-info-table table tr th,
    .exam-info-title h2 {
        font-size: 16px;
    }

    .exam-info-table table tr td,
    .exam-info-title p {
        font-size: 13px;
        line-height: 1.6;
    }

    .exam-info-title p span {
        line-height: 1.8;
    }

    .more-link a {
        margin-inline: auto 0px;
        width: 140px;
    }

    .column-cont .cmn-txt h3 {
        font-size: 16px;
    }

    .footer-flex-left-top li a {
        font-size: 15px;
    }

    .footer-flex-left-center ul li a {
        font-size: 13px;
    }

    .exam .more-link a {
        right: 15px;
        bottom: 40px;
        margin-right: 0px;
    }

    .fw1h {
        padding: 60px 0 80px;
    }

    .exam-info-title {
        margin-bottom: 30px;
        padding: 0px 20px;
    }

    .play-icon img {
        width: 27.5px;
    }

    .play-icon p {
        font-size: 12px;
    }

    .under-fv {
        padding-top: 0px;
        height: 100svh;
    }

    .under-fv-img {
        max-width: 100%;
        width: 100%;
        margin: 15px auto 0 7.5px;
    }

    .under-fv-txt {
        width: calc(100% - 50px);
    }

    .scroll-circle {
        top: 22.5%;
    }

    .under-cmn-title-jp p {
        font-size: 14px;
    }

    .search-cont-list {
        align-items: top;
    }

    .search-cont-list p {
        margin-right: 15px;
        font-size: 14px;
        padding-top: 3.5px;
    }

    .search-cont-list ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .search-cont-list ul li {
        margin-right: 0;
    }

    .search-cont-list ul li a {
        font-size: 12px;
    }

    .search-cont {
        margin-bottom: 50px;
    }

    .under-case-list-txt p {
        font-size: 14px;
    }

    .under-cont .under-cmn-title-jp p {
        font-size: 16px;
    }

    .under-cmn-title-en p {
        padding-bottom: 12.5px;
        font-size: 12px;
    }

    .under-faq-list-img {
        width: 45px;
        margin: 0px auto 40px;
    }

    .under-faq-list-txt h3 {
        font-size: 18px;
        padding-bottom: 30px;
    }

    .under-faq-list-txt p {
        font-size: 12px;
    }

    .under-faq-list ul li {
        margin-bottom: 60px;
    }

    .under-case-list-txt {
        margin-bottom: 30px;
    }

    .message-cont-title h3 {
        font-size: 18px;
    }

    .message-cont-title {
        margin-block: 40px;
    }

    .message-cont-txt p {
        font-size: 12px;
        padding-bottom: 20px;
    }

    .message-cont-txt p.name {
        padding-top: 25px;
    }

    .message-cont-txt p.name span {
        font-size: 18px;
    }

    .philosophy-txt h3 {
        font-size: 14px;
        padding-bottom: 45px;
    }

    .philosophy-txt p {
        font-size: 12px;
    }

    #what-cont .inner#message {
        padding-top: 40px;
    }

    #what-cont .under-faq-list-img {
        width: 50px;
        margin-block: 40px 0;
    }

    .what-table table tr th {
        font-size: 18px;
    }

    .what-table table tr td {
        font-size: 12.5px;
    }

    #what-cont .under-faq-list-img.under-faq-list-img02 {
        width: 55px;
        margin-bottom: 40px;
    }

    #what-cont .under-faq-list-txt h3 {
        padding-bottom: 15px;
        font-size: 14px;
    }

    .syokusyu-table table {
        margin-block: 30px 20px;
    }

    .syokusyu-table table th {
        font-size: 16px;
        padding-block: 7.5px;
    }

    .syokusyu-table-title p {
        font-size: 14px;
    }

    .syokusyu-table-txt ul li {
        font-size: 11px;
    }

    .syokusyu-table-txt.mb {
        margin-bottom: 20px;
    }

    .syokusyu-table .caution-txt p {
        font-size: 12px;
    }

    .overlay-active .header-right-top .drawer-hamburger {
        transform: scale(145);
    }

    #when-cont .under-fv-img {
        left: -5%;
    }

    .under-title-img {
        margin-bottom: 30px;
    }

    .under-scene-list-img img {
        width: 45px;
    }

    #when-cont .under-cont .under-cmn-title {
        margin-bottom: 30px;
    }

    #when-cont .under-case-list-txt p {
        font-size: 12px;
    }

    #when-cont .under-case-list-inner {
        padding: 15px 20px 25px;
    }

    .under-scene-list ul li {
        margin-bottom: 20px;
    }

    .under-scene-list-img {
        margin-bottom: 20px;
    }

    .under-case-list-title {
        padding-bottom: 7.5px;
        margin-bottom: 12.5px;
    }

    .under-case-list-title h2 {
        font-size: 22px;
    }

    .under-history-cont-txt p {
        font-size: 11.5px;
        line-height: 1.7;
    }

    .under-history-cont-video {
        width: 87.5%;
    }

    .movie-list-cont-video-thumb {
        margin-bottom: 20px;
    }

    .under-history-cont-video p {
        font-size: 12px;
    }

    #when-cont .under-cont-wrap#two .under-title-img {
        margin-bottom: 30px;
        width: 105%;
    }

    #where-cont .under-fv-img {
        width: 105%;
        left: -3.5%;
        margin: 30px 0 0 0;
        max-width: 105%;
    }

    #where-cont .under-cont#first .under-cmn-title {
        margin-bottom: 35px;
    }

    .under-cont-flex-img {
        margin-bottom: 35px;
    }

    .under-cont-flex-img img {
        width: 85px;
    }

    .under-cont-flex-txt h3 {
        font-size: 16px;
        padding-bottom: 25px;
    }

    .under-cont-flex-txt p {
        font-size: 12px;
    }

    .under-cont-flex-wrap .under-cont-flex:nth-child(1) {
        margin-bottom: 40px;
    }

    .under-cont-flex-wrap .under-cont-flex:nth-child(2) .under-cont-flex-img img {
        width: 45px;
    }

    #where-cont .under-cont#two .under-cmn-title-en p {
        font-size: 10px;
    }

    .map-img-cont img {
        margin: 0px auto 25px;
    }

    .map-img-cont p {
        font-size: 10px;
    }

    #where-cont #two.under-cont-wrap {
        padding: 60px 0 40px;
    }

    .under-who-cont {
        padding: 30px 20px 50px;
    }

    .under-who-cont-flex-left-txt p {
        font-size: 13px;
    }

    #Who-cont .under-case-list-top-txt p,
    #Who-cont .under-case-list-top-txt span {
        font-size: 14px;
    }

    .under-who-cont-flex-left {
        margin-bottom: 60px;
    }

    .under-who-cont-flex-right-list-title h3 {
        font-size: 16px;
    }

    .under-who-cont-flex-right-list-txt p {
        font-size: 12px;
    }

    #Who-cont .under-cont-wrap {
        padding-bottom: 80px;
    }

    #how-cont .under-cont-flex-txt p {
        font-size: 13px;
    }

    .flow-list {
        margin: 0 auto 80px;
        max-width: 240px;
    }

    .under-step-list {
        padding: 20px 25px;
    }

    .under-step-list .under-case-list-title {
        padding-bottom: 7.5px;
        margin-bottom: 10px;
    }

    #how-cont .under-case-list-title h2 {
        font-size: 16px;
    }

    .under-step-list .under-case-list-top-txt p {
        font-size: 13px;
        white-space: nowrap;
    }

    .flow-list ul li:nth-child(even),
    .flow-list ul li:nth-child(3) {
        margin-top: -7.5px;
    }

    .flow-list ul li {
        border-radius: 5px;
    }

    .flow-flex-list-left {
        margin-bottom: 20px;
    }

    .flow-flex-list ul li:nth-child(1) .flow-flex-list-left img {
        width: 150px;
    }

    .flow-flex-list-title h3 {
        font-size: 20px;
    }

    .flow-flex-list-txt p {
        font-size: 12px;
        padding-bottom: 20px;
    }

    #how-cont .more-link {
        margin-top: 40px;
    }

    .flow-flex-list-txt p:last-child {
        padding-bottom: 0;
    }

    #how-cont .abs-img {
        max-width: 135px;
    }

    #how-cont .under-cont-wrap#two {
        padding-block: 50px 120px;
    }

    .flow-flex-list-title {
        margin-bottom: 25px;
    }

    #when-cont .under-cont .under-cmn-title {
        margin-bottom: 40px;
    }

    .news-single-title .under-cmn-title-jp h1 {
        font-size: 18px;
    }

    .day-cont {
        font-size: 12px;
    }

    .news-single-title .under-cmn-title {
        margin-bottom: 30px;
    }

    .news-single-title .under-cmn-title-en {
        margin-bottom: 22.5px;
    }

    .news-single-title {
        padding-bottom: 50px;
        margin-bottom: 50px;
    }

    .news-single-cont h2 {
        font-size: 18px;
        padding-bottom: 20px;
    }

    .news-single-cont h3 {
        font-size: 16px;
        padding-bottom: 20px;
    }

    .news-single-cont h4 {
        font-size: 14px;
        padding-bottom: 20px;
    }

    .news-single-cont p {
        font-size: 13px;
    }

    .news-single-cont {
        margin-bottom: 40px;
    }

    .single-more-link.more-link a {
        width: 150px;
        left: -30px;
    }

    .single-cont-wrap .column {
        padding: 0px 0 90px;
    }

    #what-cont .under-fv-img {
        left: 0;
        margin-left: -2.5%;
        max-width: 105%;
    }

    #when-cont .under-fv-img {
        max-width: 110%;
    }

    .column-wrap .under-fv {
        height: 100svh;
    }

    .under-wrap {
        padding-top: 100lvh;
    }

    .under-fv-txt-title,
    #Who-cont .under-fv-txt-title,
    #how-cont .under-fv-txt-title {
        margin-bottom: 25px;
    }

    .under-fv-txt-title h1 {
        padding-bottom: 0;
        line-height: 1.2;
    }

    #what-cont .under-fv-txt {
        top: 47.5px;
    }

    #where-cont .under-fv-txt {
        top: 25px;
    }

    #Who-cont .under-fv-txt {
        top: 22.5px;
    }

    #when-cont .under-fv-txt {
        top: 35.5px;
    }

    .column-wrap .under-fv-txt {
        top: 37.5px;
    }

    #Who-cont .under-fv-img {
        margin-top: 0;
    }

    #how-cont .under-fv-img {
        margin-top: 0;
        bottom: -30px;
        margin-left: auto;
    }

    #how-cont .under-fv-txt {
        top: 50px;
    }

    .column-wrap .under-fv-img {
        margin: 40px auto 0 7.5px;
    }

    .drawer-menu,
    .drawer-txt,
    .drawer-btn {
        max-width: 100%;
        width: calc(100% - 60px);
    }

    .drawer-menu {
        padding-top: 15px;
        margin-bottom: 30px;
    }

    .drawer-menu li a {
        font-size: 18px;
    }

    .movie-cont iframe {
        width: 98%;
    }

    .drawer-txt img {
        max-width: 200px;
    }
}
