@media screen and (min-width:1200px){
  footer{
    margin-top: 100px;
  }
  .campus-card{
    flex-wrap: nowrap;
  }
  .campus-card .item{
    width: calc((100% / 2) + 25px);
    flex: 1 0 calc((100% / 2) + 25px);
  }
  .campus-card .item:nth-child(2n){
    position: relative;
    right: 50px;
  }
  #main_visual h1 .title {    
    font-size: 70px;
  }
  .main_visual--top h2{
    font-size: 32px;
  }
  .main_visual--top .txt{
    font-size: 20px;
    margin-top: 13px;
  }
  .main_visual--bottom{
    padding: 0 20px;
    bottom: 0;
  }
  #main_visual .anchor-link > a{
    width: calc((100% - 60px) / 4);
  }
  #message{
    margin-top: -11%;
    padding-top: 12%;
  }
  .intro-video__more .btn-action{
    gap: 20px 40px;
  }
  .intro-video__more .btn-action > .btn{
    width: calc((100% - 120px) / 4);
  }
  #tour-campus .intro-video__more .btn-action > .btn{
    min-width: 320px;
  }
  .item-txt .ttl{
    font-size: 24px;
  }
  .container-xm{
    max-width: 1140px;
  }
  .container-m {max-width:1040px;}
  .card__item {
    padding: 0 25px;
  }
}
@media screen and (min-width:1400px){
  .container{
    padding: 0;
  }  
  
  #main_visual .anchor-link > a{
    padding: 0;
    line-height: 1.2;
  }
  #main_visual .anchor-link > a::after{
    top:15px;
  }
  #main_visual h1 .title {    
    font-size: 90px;
  }
  .main_visual--top h2{
    font-size: 40px;
  }
  .main_visual--top .txt{
    font-size: 26px;
    margin-top: 20px;
  }
  .main_visual--bottom{
    padding: 0 40px;
    bottom: 15%;
  }
  .campus-card .item{
    width: calc((100% / 2) + 30px);
    flex: 1 0 calc((100% / 2) + 30px);
  }
  .campus-card .item:nth-child(2n){
    right: 60px;
  }
  #message {
    margin-top: -8%;
    padding-top: 5%;
  }
  section:not(:first-child){
    margin-bottom: 30px;
  }
  #tour-campus{
    margin: 120px 0;
  }
  #vr-campus{
    margin-bottom: 100px;
  }
  #undergraduate .intro-video__more .btn-action{
    max-width: 85%;
  }
  #main_visual .anchor-link{
    gap: 20px 40px;
    padding: 30px 40px;
  }
  #main_visual .anchor-link > a{
    width: calc((100% - 200px) / 6);
  }
}
@media screen and (min-width:1024px) and (max-width:1199px){  
  #main_visual .anchor-link{
    margin-top: -8px;
  }
  #main_visual .anchor-link > a{
    width: calc((100% - 40px) / 3);
  }
  .fvarea.__red::before {
    background: linear-gradient(352deg, rgba(255, 255, 255, 0) 29.8%, var(--main-color) 30%, var(--main-color) 80%, rgba(255, 255, 255, 0) 80.2%);
    top: -20%;
  }
  #main_visual h1 .title{
    font-size: 54px;
  }
  .main_visual--top h2{
    font-size: 30px;
  }
  .main_visual--top .txt{
    font-size: 20px;
  }
  .main_visual--bottom{
    bottom: -5%;
  }
  #message{
    margin-top: 0;
    padding-top: 15px;
  }
  #message.fvarea.__red::before{
    top:-35%;
  }
  .intro-video__more .btn-action{
    max-width: 75%;
  }
  .ttl img{
    max-width: 65%;
  }
  .inner__bottom{
    justify-content: flex-end;
  }
}
@media screen and (min-width:768px){
  .ttl{
    font-size: 32px;
    line-height: 1.5;
  }
  .l {font-size:24px;}
  header{
    width: 200px;
    height: 100vh;
    flex-direction: column;
  }
  #head_logo{
    padding: 30px 40px;
    justify-content: center;
  }
  #head_logo > a{
    max-width: 9.72vw;
    margin: 0 auto;
  }  
  .menu-nav{
    font-size: 14px;
    padding: 20px 0;
  }
  .menu-bar{
    display: none;
  }
  .menu-nav li.dropdown:hover > span{
    color: var(--main-color);
  }
  .menu-dropdown{
    width: 0;
    height: 100vh;
    background: var(--main-color);
    position: absolute;
    left: 100%;
    top: 0;
    overflow: hidden;
    transition: 0.3s;
    z-index: 0;
    visibility: hidden;
    transition: width 0.3s ease 0.1s;
  }
  .menu-dropdown.show{
    width: 280px;
    visibility: visible;
  }
  .menu-dropdown > li > * {
    color: #fff;
  }
  .menu-nav > li:not(:last-child){
    border-bottom-color:#ccc ;
  }
  .menu-dropdown > li:not(:last-child){
    border-bottom-color: #fff;
  }
  .mn-open{
    position: relative;
    overflow: hidden;
  }
  .mn-open::before{
    content: '';
    position: absolute;
    left: 0;
    top:0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 50%);
    z-index: 10;
  }
  main,
  footer {
    padding-left:200px;
    position:relative;
  }
  #vr-campus .sub--ttl{
    font-size: 18px;
  }
  #simulation .title_box .sub--ttl{
    font-size: 20px;
    margin-bottom: 15px;
  }  
  .card__txt .name .txt{
    font-size: 18px;
  }  
  .figure-box__image{
    width: 55%;
    max-width: 660px;
  }
  .sp{
    display: none;
  }
  .menu-dropdown.show > li > a{
    transition: 0.3s ease;
  }
  .menu-dropdown.show > li > a:hover{
    opacity: 0.8;
  }
}
@media screen and (min-width:768px) and (max-width:1023px){
  .main_visual--top h2{
    font-size: 30px;
  }
  .main_visual--top .txt{
    font-size: 20px;
  }
  .main_visual--bottom{
    bottom: 10%;
  }
  #main_visual .anchor-link{
    margin-top: -6px;
  }
  #message{
    margin-top: -10%;
    padding-top: 0;
  }
  .ttl{
    font-size: 24px;
  }
  .figure-box__image,
  #vr-campus .figure-box__image{
    width: 50%;
    max-width: 400px;
  }
}
@media screen and (max-width: 1023px){  
  .play:after{
    width: 56px;
    height: 40px;
    background-size: 56px auto;
  }
  #simulation{
    overflow: hidden;
  }
  .intro-video .figure-box__txt > .btn.pc{
    display: none;
  }
  .intro-video .figure-box__txt .ttl .btn.sp{
    display: inline-block;
  }
  .intro-video .figure-box__txt .ttl{
    display: flex;
  }
  .intro-video .figure-box__txt .ttl .btn{
    border: none;
    background: none;
    padding: 0;
    margin-left: 10px;
  }
  .campus-card{
    flex-direction: column;
    flex-wrap: wrap;
    row-gap: 40px;
  }
  .campus-card .item{
    width: 100%;
  }
  #vr-campus .figure-box .btn-action.pc{
    display: none;
  }
  #vr-campus .btn-action.sp{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
  }
  #vr-campus .btn-action.sp .btn{
    width: calc((100% - 20px) / 2);
  }
  .inner__bottom{
    display: block;
  }
  .inner__bottom .slide-button{
    position: relative;
    top:0;
    left: 0;
    transform: none;
    justify-content: center;
    margin-bottom: 30px;
  }
  .inner__bottom .btn-action{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slick-dots li{
    width: 20px;
    height: 20px;
  }
  .slick-dots li::before{
    width: 10px;
    height: 10px;
  }
}
@media screen and (min-width:576px) and (max-width:1023px){
  .card:not(.card_carousel) .card__item{
    width: calc((100% - 20px) / 2);
  }
}
@media screen and (max-width: 767px){
  .pc{
    display: none;
  }
  #contents{
    padding-top: 70px;
  }
  header > * {
    width: calc(100% / 2);
  }
  #menu{
    width: 100%;
    height: 0;
    background: var(--main-color);
    position: absolute;
    left: 0;
    top: 70px;
    overflow: hidden;
    transition: 0.3s;
  }
  .menu-dropdown{
    height: 0;
    opacity: 0;
    visibility: hidden;
  }
  .menu-dropdown.show{
    height: 100%;
    opacity: 1;
    visibility: visible;
  }
  .menu-dropdown > li > a,
  .menu-dropdown > li > span{
    font-size: 14px;
    line-height: 1.3;
  }
  .menu-dropdown > li > a::before{
    background-image: url(/exam/weboc/common/images/arw-line02.svg);
  }
  .menu-nav li a.icon-out::after{
    background-image: url(/exam/weboc/common/images/icon-out_red.svg);
  }
  .mn-open_sp{
    overflow: hidden;
  }
  .mn-open_sp #menu {
    height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .mn-open_sp .menu-bar > span {
    display: none;
  }
  .mn-open_sp .menu-bar::before {
    transform: rotate(45deg);
  }
  .mn-open_sp .menu-bar::after {
    transform: rotate(-45deg);
  }
  .menu-nav > li > span{
    color: #fff;
  }
  .menu-nav li span > svg{
    fill: #fff;
    stroke: #fff;
  }
  .menu-nav li span > svg rect{
    fill: #fff;
    stroke-width: 0px;
  }
  .btn::after{
    width: 35px;
    height: 35px;
  }
  .inner__bottom .btn-action .btn{
    flex: 1;
  }
}
@media screen and (min-width:576px) and (max-width:767px){
  .main_visual--top{
    top:15%;
  }
  #main_visual .anchor-link{margin-top: -7px;
  }
  .figure-box__image{
    width: 50%;
    max-width: 500px;
  }
  .ttl img {
    max-width: 60%;
  }
}
@media screen and (max-width: 575px){
  .card:not(.card_carousel) .card__item{
    width: 100%;
  }
  .main_visual--bottom{
    position: relative;
    margin-top: -40%;
    padding: 0 15px;
    text-align: left;
  }
  .main_visual--bottom::after{
    content: '';
    background: rgb(255, 255, 255);
    background: linear-gradient(352deg, rgba(255, 255, 255, 0) 0, var(--main-color) 0, var(--main-color) 76%, rgba(255, 255, 255, 0) 76.2%);
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: -40%;
  }
  .fvarea{
    z-index: 1;
  }
  .main_visual--top{
    top:8%;
  }
  .main_visual--top .txt{
    font-size: 14px;
    margin-top: 5px;
  }
  #main_visual h1 .title{
    font-size: 40px;
  }
  #main_visual .anchor-link{
    margin-top: 23px;
  }
  .figure-box{
    flex-direction: column-reverse;
    row-gap: 20px;
    padding: 15px 0;
  }
  .figure-box.--right{
    flex-direction: column-reverse;
  }
  #message{
    margin-top: 0;
    padding: 10% 0 0;
  }
  .figure-box + .intro-video__more{
    margin-top: 30px;
  }
  .intro-video__more .ttl{
    font-size: 20px;
  }
  .intro-video__more .btn-action{
    gap: 20px 0;
  }
  .intro-video__more .btn-action > .btn {
    width: 100%;
  }
  #vr-campus .figure-box__image{
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  #vr-campus .figure-box__image a{
    max-width: 80%;
    display: inline-flex;
  }
  #vr-campus .btn-action.sp .btn {
    width: 100%;
  }
  .card__item {
    padding: 0 10px;
  }
  #university::before{
    display: none;
  }
  #undergraduate{
    position: relative;
  }
  #undergraduate > *{
    position: relative;
  }
  #undergraduate::before{
    content: '';
    background: rgb(255,255,255);
    background: linear-gradient(352deg, rgba(255, 255, 255, 0) 38%, #F4F4F4 38%, #F4F4F4 68%, rgba(255, 255, 255, 0) 68%);
    position: absolute;
    left: 0;
    top:-50%;
    right: 0;
    bottom: 0;
  }
  #simulation.fvarea.__red::before{
    top:0;
    bottom: -33%;
  }
}
@media screen and (max-width: 374px){
  .main_visual--top{
    top:20px;
  }
}