/* nav pc*/

@media screen and ( min-width:770px) {

	.tracking_menu {
		position: fixed;
		padding: 20px;
		background: rgba(255,255,255,0.9);
		top:550px;
		left: 0px;
		z-index: 20;
	}

	.tracking_menu a {
		color: inherit;
		text-decoration: none;
	}

	.tracking_menu ul li {
		margin-bottom: 15px;
	}

	.tracking_menu ul li:last-child {
		margin-bottom: 0;
	}
}



/* 体裁 */
section{
    font-family:'Noto Serif JP', 'Sawarabi Mincho', sans-serif;
}
.g-box{
    position: absolute;
    z-index: 100;
    width:150px;
    height:150px;
    left:40px;
    top: 40px;
    background-color:#f5f1f1dc;
    background-image:url(https://www.umds.ac.jp/sotsugyo2020/img/top_bg.png);
    background-size: cover;
    background-position: center;
    padding: 15px;
    text-align: center;
}
.g-box_2{
    background-image:url(https://www.umds.ac.jp/sotsugyo2020/img/top_bg2.png);
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 15px;
}
/* -入学式用- */
.g-box_ny{
    position: absolute;
    z-index: 200;
    width:150px;
    height:150px;
    left:40px;
    top: 40px;
    background-color:#f5f1f1dc;
    background-image:url(https://www.umds.ac.jp/wp-content/themes/umds/imgs/nyugaku/top_bgny.png);
    background-size: cover;
    background-position: center;
    padding: 15px;
    text-align: center;
}
.g-box_ny2{
    background-image:url(https://www.umds.ac.jp/wp-content/themes/umds/imgs/nyugaku/top_bgny2.png);
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 15px;
}
/* ここまで */
.pt-03{
    padding-top: 3rem;
}
.title2{
    color: #b6b4b4;
}
.gnav_sp{
    padding: 10px;
}
.gnav_sp a{
    text-decoration: none;
    color: #333;
}
.h2-box{
    position: relative;
    padding-right: 20px;

}
.h2-1{
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 0px 60px 0 0;
    font-size: 2.2rem;
    background-image: url(https://www.umds.ac.jp/sotsugyo2020/img/ttl_bg.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 50px;
    line-height: 1.4em;
}
.h2-1_1{
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 5px 45px 0 0;
    font-size: 1.4rem;
    background-image: url(https://www.umds.ac.jp/sotsugyo2020/img/ttl_bg.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 35px;
    line-height: 1em;
}
.h2-2{
    display: inline-block;
    margin-bottom: 1em;
    padding: 10px 60px 0 0;
    font-size: 1.8rem;
    background-image: url(https://www.umds.ac.jp/sotsugyo2020/img/ttl_bg.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 40px;
    line-height: 1.4em;
}
.h2-2_1{
    display: inline-block;
    margin-bottom: 0.5em;
    font-size: 1.1rem;
    padding: 10px 30px 0 0;
    background-image: url(https://www.umds.ac.jp/sotsugyo2020/img/ttl_bg.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 25px;
    line-height: 1.4em;
}
.h2-3{
    display: inline-block;
    margin-bottom: 0.5em;
    font-size: 1.5rem;
    padding: 10px 30px 0 0;
    background-image: url(https://www.umds.ac.jp/sotsugyo2020/img/ttl_bg.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 25px;
    line-height: 1.4em;
}
/* -入学式用- */
.h2-1ny{
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 0px 60px 0 0;
    font-size: 2.2rem;
    background-image: url(https://www.umds.ac.jp/wp-content/themes/umds/imgs/nyugaku/ttl_bgny.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 50px;
    line-height: 1.4em;
}
.h2-1_1ny{
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 5px 45px 0 0;
    font-size: 1.4rem;
    background-image: url(https://www.umds.ac.jp/wp-content/themes/umds/imgs/nyugaku/ttl_bgny.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 35px;
    line-height: 1em;
}
.h2-2ny{
    display: inline-block;
    margin-bottom: 1em;
    padding: 10px 60px 0 0;
    font-size: 1.8rem;
    background-image: url(https://www.umds.ac.jp/wp-content/themes/umds/imgs/nyugaku/ttl_bgny.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 40px;
    line-height: 1.4em;
}
.h2-2_1ny{
    display: inline-block;
    margin-bottom: 0.5em;
    font-size: 1.1rem;
    padding: 10px 30px 0 0;
    background-image: url(https://www.umds.ac.jp/wp-content/themes/umds/imgs/nyugaku/ttl_bgny.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 25px;
    line-height: 1.4em;
}
.h2-3ny{
    display: inline-block;
    margin-bottom: 0.5em;
    font-size: 1.5rem;
    padding: 10px 30px 0 0;
    background-image: url(https://www.umds.ac.jp/wp-content/themes/umds/imgs/nyugaku/ttl_bgny.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 25px;
    line-height: 1.4em;
}
/* ここまで */
.c-box{
    display: inline-block;
    padding: 2px 10px;
    background-color:#d4d4d4;
}
.h4-1{
    display: inline-block;
    margin-bottom: 0;
    padding: 10px 0 10px 40px;
    background-image: url(https://www.umds.ac.jp/sotsugyo2020/img/ttl_bg2.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: top 10px left;
    font-weight: bold;
    font-size: 1rem;
}
.name-box{
    border-bottom: 2px solid #787878 ;
}
.bg-flower{
    background-image: url(https://www.umds.ac.jp/sotsugyo2020/img/footer_bg.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100%;
}
.bg-color-y{
    background-color: #FCFEEE;
    padding: 10px;

}
/* 入学式用 */
.bg-flowerny{
    background-image: url(https://www.umds.ac.jp/wp-content/themes/umds/imgs/nyugaku/footer_bgny.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100%;
}
.bg-color-p{
    background-color: #fff6ef;
    padding: 10px;
}
/* ここまで */
.pt-03{
    padding-top: 3rem;
}
.u_b{
    width: 30%;
    border-bottom: 1px solid #333;
    margin-bottom: 2rem;
}


/* readmore */
#text-wrap {
    font-family:'Noto Serif JP', 'Sawarabi Mincho', sans-serif;
    height: 100%;
    display: block;
    margin: 0 auto;
    padding: 0 70px;
}
.hide-text01 {
    display: none;
}
.hide-text02 {
    display: none;
}
button.readmore01 {
    font-size: 0.5rem;
    position: relative;
    height: 80px;
    width: 90px;
    margin: 40px auto;
    display: block;
    background-color: transparent;
    color: #666;
    padding-bottom: 40px;
    border: none;
    outline: 0;
    transition: .5s;
}
button.readmore01::after {
    content: " ";
    position: absolute;
    width: 30px;
    height: 30px;
    border-top: solid 3px #666;
    border-right: solid 3px #666;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    right: 28px;
    top: 25px;
    transition: .5s;
}
button.readmore01:hover::after {
    top: 40px;
}
.on-click01{
    color: transparent!important;
}
.on-click01{
    transform: rotate(-180deg);
}

button.readmore02 {
    font-size: 0.5rem;
    position: relative;
    height: 80px;
    width: 90px;
    margin: 40px auto;
    display: block;
    background-color: transparent;
    color: #666;
    padding-bottom: 40px;
    border: none;
    outline: 0;
    transition: .5s;
}

button.readmore02::after {
    content: " ";
    position: absolute;
    width: 30px;
    height: 30px;
    border-top: solid 3px #666;
    border-right: solid 3px #666;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    right: 28px;
    top: 25px;
    transition: .5s;
}

button.readmore02:hover::after {
    top: 40px;
}

.on-click02{
    color: transparent!important;
}

.on-click02{
    transform: rotate(-180deg);
}

/* ヒーローイメージ */
.main_imgBox {
    height: calc(100vh - 126.36px);
    overflow: hidden;
    position: relative;
}
.main_imgBox_sp {
    height: 35vh;
    overflow: hidden;
    position: relative;
}
/* .ratio-1_1:before {
    content: "";
    display: block;
    padding-top: 100%;
} */
.main_img {
    z-index:10;
    opacity: 0;
    width: 100%;
    height: 680px;
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    animation: anime 75s 0s infinite;
}
.main_img:nth-of-type(2) {
    -webkit-animation-delay: 6s;
    animation-delay: 3s;
}

.main_img:nth-of-type(3) {
    -webkit-animation-delay: 12s;
    animation-delay: 6s;
}

.main_img:nth-of-type(4) {
    -webkit-animation-delay: 18s;
    animation-delay: 9s;
}

.main_img:nth-of-type(5) {
    -webkit-animation-delay: 24s;
    animation-delay: 12s;
}
.main_img:nth-of-type(6) {
    -webkit-animation-delay: 24s;
    animation-delay: 15s;
}
.main_img:nth-of-type(7) {
    -webkit-animation-delay: 24s;
    animation-delay: 18s;
}
.main_img:nth-of-type(8) {
    -webkit-animation-delay: 24s;
    animation-delay: 21s;
}
.main_img:nth-of-type(9) {
    -webkit-animation-delay: 24s;
    animation-delay: 24s;
}
.main_img:nth-of-type(10) {
    -webkit-animation-delay: 24s;
    animation-delay: 27s;
}
.main_img:nth-of-type(11) {
    -webkit-animation-delay: 24s;
    animation-delay: 30s;
}
.main_img:nth-of-type(12) {
    -webkit-animation-delay: 24s;
    animation-delay: 33s;
}
.main_img:nth-of-type(13) {
    -webkit-animation-delay: 24s;
    animation-delay: 36s;
}
.main_img:nth-of-type(14) {
    -webkit-animation-delay: 24s;
    animation-delay: 39s;
}
.main_img:nth-of-type(15) {
    -webkit-animation-delay: 24s;
    animation-delay: 42s;
}
.main_img:nth-of-type(16) {
    -webkit-animation-delay: 24s;
    animation-delay: 45s;
}
.main_img:nth-of-type(17) {
    -webkit-animation-delay: 24s;
    animation-delay: 48s;
}
.main_img:nth-of-type(18) {
    -webkit-animation-delay: 24s;
    animation-delay: 51s;
}
.main_img:nth-of-type(19) {
    -webkit-animation-delay: 24s;
    animation-delay: 54s;
}
.main_img:nth-of-type(20) {
    -webkit-animation-delay: 24s;
    animation-delay: 57s;
}
.main_img:nth-of-type(21) {
    -webkit-animation-delay: 24s;
    animation-delay: 60s;
}
.main_img:nth-of-type(22) {
    -webkit-animation-delay: 24s;
    animation-delay: 63s;
}
.main_img:nth-of-type(23) {
    -webkit-animation-delay: 24s;
    animation-delay: 66s;
}
.main_img:nth-of-type(24) {
    -webkit-animation-delay: 24s;
    animation-delay: 69s;
}
.main_img:nth-of-type(25) {
    -webkit-animation-delay: 24s;
    animation-delay: 72s;
}
.main_img_sp{
    z-index:10;
    opacity: 0;
    width: 100%;
    height: 35vh;
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    animation: anime 75s 0s infinite;
}
.main_img_sp:nth-of-type(2) {
    -webkit-animation-delay: 6s;
    animation-delay: 3s;
}

.main_img_sp:nth-of-type(3) {
    -webkit-animation-delay: 12s;
    animation-delay: 6s;
}

.main_img_sp:nth-of-type(4) {
    -webkit-animation-delay: 18s;
    animation-delay: 9s;
}

.main_img_sp:nth-of-type(5) {
    -webkit-animation-delay: 24s;
    animation-delay: 12s;
}
.main_img_sp:nth-of-type(6) {
    -webkit-animation-delay: 24s;
    animation-delay: 15s;
}
.main_img_sp:nth-of-type(7) {
    -webkit-animation-delay: 24s;
    animation-delay: 18s;
}
.main_img_sp:nth-of-type(8) {
    -webkit-animation-delay: 24s;
    animation-delay: 21s;
}
.main_img_sp:nth-of-type(9) {
    -webkit-animation-delay: 24s;
    animation-delay: 24s;
}
.main_img_sp.m:nth-of-type(10) {
    -webkit-animation-delay: 24s;
    animation-delay: 27s;
}
.main_img_sp:nth-of-type(11) {
    -webkit-animation-delay: 24s;
    animation-delay: 30s;
}
.main_img_sp:nth-of-type(12) {
    -webkit-animation-delay: 24s;
    animation-delay: 33s;
}
.main_img_sp:nth-of-type(13) {
    -webkit-animation-delay: 24s;
    animation-delay: 36s;
}
.main_img_sp:nth-of-type(14) {
    -webkit-animation-delay: 24s;
    animation-delay: 39s;
}
.main_img_sp:nth-of-type(15) {
    -webkit-animation-delay: 24s;
    animation-delay: 42s;
}
.main_img_sp:nth-of-type(16) {
    -webkit-animation-delay: 24s;
    animation-delay: 45s;
}
.main_img_sp:nth-of-type(17) {
    -webkit-animation-delay: 24s;
    animation-delay: 48s;
}
.main_img_sp:nth-of-type(18) {
    -webkit-animation-delay: 24s;
    animation-delay: 51s;
}
.main_img_sp:nth-of-type(19) {
    -webkit-animation-delay: 24s;
    animation-delay: 54s;
}
.main_img_sp:nth-of-type(20) {
    -webkit-animation-delay: 24s;
    animation-delay: 57s;
}
.main_img_sp:nth-of-type(21) {
    -webkit-animation-delay: 24s;
    animation-delay: 60s;
}
.main_img_sp:nth-of-type(22) {
    -webkit-animation-delay: 24s;
    animation-delay: 63s;
}
.main_img_sp:nth-of-type(23) {
    -webkit-animation-delay: 24s;
    animation-delay: 66s;
}
.main_img_sp:nth-of-type(24) {
    -webkit-animation-delay: 24s;
    animation-delay: 69s;
}
.main_img_sp:nth-of-type(25) {
    -webkit-animation-delay: 24s;
    animation-delay: 72s;
}
@keyframes anime {
  0% {
        opacity: 0;
    }
    5% {
        opacity: 5;
    }
    10% {
        opacity: 5;
    }
    25% {
        opacity: 0;
        /* transform: scale(1.2) ;
         z-index:9; */
    }
    100% { opacity: 0 }
}

/* scroll btn  */
.scroll {
    position: absolute;
    z-index: 100;
    width: 100%;
    bottom: 0;
    text-align: center;
  }
  .scroll a {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    padding: 0 0 50px;
    /*矢印を作成する*/
  }
  .scroll a:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: 0;
    right: 0;
    bottom: 25px;
    margin: auto;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    animation: move 2s infinite;
  }
  /*矢印をアニメーションする*/
@keyframes move {
    0% {
      transform: rotate(45deg) translate(0, 0);
    }
    20% {
      transform: rotate(45deg) translate(10px, 10px);
    }
    40% {
      transform: rotate(45deg) translate(0, 0);
    }
  }


/* スライダー */
.slider1 {
  display: flex;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  height:200px;
  overflow: hidden;
}
.slider1 ul{
	display:flex;
	padding: 0;
	margin:0;
}
.slider1 li{
	width:300px;
	list-style: none;
}
.slider1 ul:first-child {
  animation: slide1 150s -75s linear infinite;
}

.slider1 ul:last-child {
  animation: slide2 150s linear infinite;
}
@keyframes slide1 {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes slide2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
/* ふわっと出てくる */
.fade {
    opacity : 0;
    transform: translateY(20px);
    transition: all 1s;
  }