/*
Theme Name: (EN)CAMPUS Asia Plus EEST
Text Domain: English language
*/
html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    line-height: 2;
    font-family: "Noto Sans JP";
}

body.index {
    background-image: url(img/index-bg.png);
    background-attachment: fixed;
    background-size: cover;
}


header {
    width: 100%;
    background-color: #ed1d23;
    z-index: 9999;
    transition: all 0.3s ease 0s;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    box-sizing: border-box;
}

.home header {
    position: fixed;
    background-color: transparent;
}

header .logo1 {
    opacity: 1;
}

header.scroll-nav {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    padding: 10px 15px;
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.logo {
    position: relative;
    display: block;
    left: 0;
    top: 0;
    width: 387px;
    height: 61px;
}

.logo img {
    position: absolute;
    height: auto;
}

header .logo2 {
    opacity: 0;
}

header.scroll-nav .logo1 {
    opacity: 0;
}

header.scroll-nav .logo2 {
    opacity: 1;
}

.head-right {
    display: flex;
    justify-content: flex-end;
    height: 43px;
}

.head-right img {
    margin-left: 10px;
}

.search-form {
    box-sizing: border-box;
    position: relative;
    border: 1px solid #999;
    display: block;
    padding: 3px 10px;
    border-radius: 25px;
    height: 2.6em;
    overflow: hidden;
    background-color: #eeeeee;
}

.search-field {
    border: none;
    background-color: #eeeeee !important;
}

.search-form input[type="text"] {
    border: none;
    height: 2.0em;
    background-color: #eeeeee !important;
}

.search-form input[type="text"]:focus {
    outline: 0;
}

.search-form input[type="submit"] {
    cursor: pointer;
    border: none;
    position: absolute;
    width: 2.5em;
    height: 2.5em;
    right: 0;
    top: 0px;
    outline: none;
    background-color: #eeeeee;
    background-image: url(img/ico-search.png);
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -99999px;
}


.fb-logo {
    position: relative;
    left: 0;
    top: 0;
    width: 48px;
    height: 38px;
    margin-right: 10px;
    box-sizing: border-box;
}

.fb-logo img {
    position: absolute;
}

/*　ハンバーガーボタン　*/
.nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid rgb(255, 106, 47);
    background-image: -moz-linear-gradient(0deg, rgb(237, 97, 29) 0%, rgb(237, 34, 35) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(237, 97, 29) 0%, rgb(237, 34, 35) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(237, 97, 29) 0%, rgb(237, 34, 35) 100%);
    padding: 5px 30px;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;
}

.nav-btn-click {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.nav-btn span {
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #fff;
}


.hamburger {
    display: block;
    position: relative;
    z-index: 3;
    right: 0;
    top: 0;
    width: 20px;
    height: 14px;
    cursor: pointer;
    text-align: center;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 15px;
    height: 3px;
    left: 6px;
    background: rgb(255, 255, 255);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 5px;
}

.hamburger span:nth-child(3) {
    top: 10px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
    top: 5px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    top: 5px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

nav.globalMenuSp {
    position: absolute;
    top: -1000px;
    right: 0;
    color: #000;
    background-image: -moz-linear-gradient(0deg, rgb(237, 97, 29) 0%, rgb(237, 34, 35) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(237, 97, 29) 0%, rgb(237, 34, 35) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(237, 97, 29) 0%, rgb(237, 34, 35) 100%);
    text-align: center;
    width: 400px;
    z-index: 1;
}

nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid rgb(255, 106, 47);
}

nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

nav.globalMenuSp ul li:hover {
    background: rgb(71, 71, 71);
}

nav.globalMenuSp ul li a {
    display: block;
    position: relative;
    color: rgb(255, 255, 255);
    padding: 1em 0;
    text-decoration: none;
}

nav.globalMenuSp ul li a::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -4px;
    transform: rotate(45deg);
    transition: all 0.3s ease 0s;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    top: 43px;
    transition: all 0.6s;
    transform: translateY(0%);
}

.nav-btn.active {
    border-radius: 20px 20px 0 0;
}

.btn-lang {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: rgb(102, 102, 102) solid 1px;
    margin-left: 10px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.btn-lang li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    background-color: #fff;
    height: 100%;
}

.btn-lang li a {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 5px 15px;
    line-height: 1;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.btn-lang li.btn-lang-active {
    color: #fff;
    background-color: #535353;
}

.btn-lang li.btn-lang-active a {
    color: #fff;
}
nav.globalMenuSp ul.btn-lang li a{color: #000;}
nav.globalMenuSp ul.btn-lang li.btn-lang-active a {
    color: #fff;
    background-color: #535353;
}

/* コンテンツクラス */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

.center-block {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#alpha-block {
    float: left;
    width: 70%;
    padding-bottom: 60px;
}

#alpha-block img {
    width: 100%;
    height: auto;
}

.sidenav {
    float: right;
    width: 25%;
    padding-bottom: 60px;
}

.sidenav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #ed611d 0%, #ed2121 100%);
}

.sidenav ul li {
    border-bottom: solid 1px #dbdbdb;
}

.sidenav ul li a {
    display: block;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    padding: 20px;
    line-height: 1.6em;
}

.sidenav ul li ul li {
    background-color: #ececec;
}

.sidenav ul li ul li:hover {
    background-color: #e4e4e4;
}

.sidenav ul li ul li a {
    display: block;
    text-decoration: none;
    color: #535353;
    padding: 15px 20px 15px 30px;
    position: relative;
}

.sidenav ul li ul li a::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 2px #ed1d23;
    border-right: solid 2px #ed1d23;
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -3px;
    transform: rotate(45deg);
}


.btn-red {
    background: linear-gradient(15deg, rgb(237, 216, 29) 0%, rgb(237, 98, 29) 30%, rgb(237, 29, 35));
    background-size: 100% 300%;
    color: #fff;
    transition: background-position 0.5s;
    position: relative;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    padding: 10px 10%;
    margin: 0 auto;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-red::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -4px;
    transform: rotate(45deg);
    transition: all 0.3s ease 0s;
}

.btn-red:hover {
    background-position: 0% 100%;
}

.btn-red:hover::after {
    right: 15px;
}

.min-title {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.mainimage-video{
    position: relative;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    background: url('img/poster.png') no-repeat;
    background-size: cover;
   }

.mainimage {
    background-size: cover;
    background-position: center right;
    display: flex;
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    height: 90vh;
    overflow: hidden;
    background-color: #ed1d23;
}

.triangle01 {
    display: block;
    background-image: url(img/mainimage-bg1.png);
    background-size: 100% 100%;
    background-position: right top;
    background-repeat: no-repeat;
    position: absolute;
    height: 100%;
    width: 50%;
    top: 0;
    left: 0;
    z-index: 3;
}

.triangle02 {
    display: block;
    background-image: url(img/mainimage-bg2.png);
    background-size: 100% 100%;
    background-position: right top;
    background-repeat: no-repeat;
    position: absolute;
    height: 100%;
    width: 50%;
    top: 0;
    left: 0;
    z-index: 2;
}

.maintext-wrap {
    position: absolute;
    left: 10%;
    z-index: 4;
}

.maintext {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: bold;
    font-size: 5rem;
    font-size: clamp(26px, 3vw, 50px);
    color: #fff;
}

.maintext-sub {
    color: #fff;
    font-size: 18px;
}

.eachTextAnime span {
    opacity: 0;
}

.eachTextAnime.appeartext span {
    animation: text_anime_on 0.3s ease-out forwards;
}

@keyframes text_anime_on {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.links01 ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    background-color: #fff;

}

.links01 ul li {
    width: 50%;
    overflow: hidden;
}

.links01 ul li a:hover img {
    transition: all 0.6s ease 0s;
    opacity: 0.9;
    transform: scale(1.1, 1.1);
}


.links01 ul li img {
    width: 100%;
}

.act2 {
    background-color: #ed1d23;
    background-image: url(img/act2-bg.png);
    padding: 130px 0 150px 0;
}

.act2-contents {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
}

.act2-contents li {
    padding: 5px;
}

.act2-contents li.act2-contents-con1 {
    margin-top: -50px;
    width: 50%;
}

.act2-contents li.act2-contents-con2 {
    width: 50%;
}


.act2-contents-txt {
    color: #fff;
    font-size: 18px;
    margin-left: 20px;
}

.act3 {
    margin-top: -100px;
    padding-bottom: 50px;
}

.act3-link {
    display: flex;
    margin: 0;
    padding: 0;
}

.act3-link li {
    width: 33.3333%;
}

.act3-link li a {
    display: block;
    transition: all 0.3s ease 0s;
}

.act3-link li a:hover {
    transform: scale(1.1, 1.1);
}

.index-title {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: bold;
    font-size: 5rem;
    color: rgb(0, 0, 0);
    text-align: center;
    margin-bottom: 50px;
}

.index-title img {
    padding-bottom: 20px;
}

.news {
    background-image: url(img/news-bg.png);
    background-attachment: fixed;
    background-size: cover;
    padding: 150px 5%;
}

.news ul {
    padding: 0;
    margin-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
}

.news ul li {
    padding: 15px;
    width: 25%;
}

.news ul li a {
    height: 100%;
    display: block;
    background-color: #fff;
    color: black;
    text-decoration: none;
    box-shadow: 0px 0px 10px 0.5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease 0s;
}

.news ul li a:hover {
    transform: scale(1.1, 1.1);
}

.news-pic {
    position: relative;
}

.news-pic-cate {
    color: #fff;
    font-size: 1.2rem;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 15px;
}

.news-pic-cate-project {
    background-color: #000;
}

.news-pic-cate-event {
    background-color: #1d4eed;
}

.news-pic-cate-communication {
    background-color: #055c34;
}

.news-pic-cate-newsletter {
    background-color: #6d1ded;
}

.news-pic-cate-youtube {
    background-color: #ed1d23;
}

.news-pic-cate-archive {
    background-color: #e49502;
}

.news-pic img {
    width: 100%;
    height: auto;
}

.news-text {
    padding: 20px;
}

.news-text span {
    display: block;
}

.news-day {
    color: rgb(92, 92, 92);
}

.news-title {
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    display: flex;
    justify-content: center;
    padding-right: 10px;
}

.news-title::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #ed1d23;
    border-right: solid 2px #ed1d23;
    position: absolute;
    top: 50%;
    right: 0px;
    margin-top: -4px;
    transform: rotate(45deg);
    transition: all 0.3s ease 0s;
}

.event {
    background-image: url(img/index-bg.png);
    background-size: cover;
    background-attachment: fixed;
    padding: 150px 5%;
}

.event ul {
    padding: 0;
    margin-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
}

.event ul li {
    padding: 15px;
    width: 25%;
}

.event ul li a {
    display: block;
    height: 100%;
    background-color: #fff;
    color: black;
    text-decoration: none;
    box-shadow: 0px 0px 10px 0.5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease 0s;
}

.event ul li a:hover {
    transform: scale(1.1, 1.1);
}

.event-pic img {
    width: 100%;
    height: auto;
}

.event-text {
    padding: 20px;
}

.event-text span {
    display: block;
}

.event-day {
    color: rgb(92, 92, 92);
}

.event-title {
    font-size: 1.8rem;
    font-weight: bold;
}

.video {
    display: block;
    background-color: #a0d0ff;
    transition: all 0.3s ease 0s;
    background-image: url(img/movie-bg2.png);
    background-repeat: no-repeat;
    background-position: top center;
    padding: 100px 10px 60px 10px;
}
.video::before{
    content: "CAMPUS Asia Plus EEST VIDEO";
    text-shadow: 0px 0px 2px rgba(1,33,91,0.3);
    display: block;
	color: #fff;
	font-size: 3.2rem;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 40px;
}

.youtube {
    position: relative;
    width: 800px;
    padding-top: 450px;
    margin: 0 auto;
    box-shadow: 0px 0px 15px 0px #325596;
    border: solid 1px #fff;
    background-color: #fff;
  }
  .youtube iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

footer {
    clear: both;
}

.footer-nav {
    background-color: #ed1d23;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
}

.footer-logo {
    padding: 50px 0;
}

.footer-nav-main {
    background-color: #c91117;
    padding: 10px 20px;
    margin-bottom: 15px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.footer-nav-pri {
    text-align: right;
}

.footer-nav-pri a {
    color: #fff;
    position: relative;
    padding-left: 15px;
    margin-left: 15px;
}

.footer-nav-pri a::before {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    position: absolute;
    top: 55%;
    left: 0;
    margin-top: -4px;
    transform: rotate(45deg);
    transition: all 0.3s ease 0s;
}

.footer-c {
    padding: 50px 0;
}

.footer-nav2 ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav2 ul li {
    border-left: solid 1px #fff;
}

.footer-nav2 ul li:first-of-type {
    border-left: solid 0px #fff;
}

.footer-nav2 ul li a {
    display: block;
    color: #fff;
    margin: 0 10px;
    line-height: 1;
    text-decoration: none;
}

/*========= ページトップのためのCSS ===============*/
/*リンクの形状*/
.page-top a {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(148, 46, 48, 0.8);
    border-radius: 5px;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
}

.page-top a:hover {
    background: #777;
}

.flex-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

hr {
    height: 1px;
    border: 0;
    clear: both;
}

/*ページクラス*/
.section{margin-bottom: 20px;}
.pan {
    background-color: #f3f3f3;
    padding: 15px;
    color: #ABADB3;
}

.pan a {
    text-decoration: none;
    color: #535353;
}

.contents {
    padding-bottom: 50px;
    background-image: url(img/index-bg.png);
    background-attachment: fixed;
    background-size: cover;
    overflow: hidden;
}

.contents h1 {
    font-size: 2.3em;
}

.contents h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 10px;
    position: relative;
}

.contents h2:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    content: '';
    background-image: -webkit-repeating-linear-gradient(135deg, #b1b1b1, #b1b1b1 1px, transparent 2px, transparent 5px);
    background-image: repeating-linear-gradient(-45deg, #b1b1b1, #b1b1b1 1px, transparent 2px, transparent 5px);
    background-size: 7px 7px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.contents h3 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 5px;
}

.contents p {
    margin: 20px 0;
}

.subtext {
    font-size: 85%;
    font-weight: normal;
}

.mintext {
    font-size: 16px;
    font-weight: normal;
}

.main-title {
    background-color: rgb(48, 48, 48);
    color: #F3FAFA;
    padding: 30px 0;
    margin-bottom: 40px;
}

.main-title h1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

.program_photo,
.photo_box {
    display: flex;
}

.photo_box img {
    margin: 5px;
}

.item-blocklist ul {
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
}

.item-blocklist ul li {
    width: 50%;
    line-height: 1.8em;
    padding: 10px;
}

.item-blocklist ul li a {
    height: 100%;
    border-bottom: solid 3px #e6e6e6;
    display: block;
    position: relative;
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: bold;
    color: #535353;
    padding: 20px 10px 20px 30px;
    transition: all 0.3s ease 0s;
    background-color: #f7f7f7;
    border-radius: 6px;
}

.item-blocklist ul li a:hover {
    background-color: #ececec;
}

.item-blocklist ul li a::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 2px #ed1d23;
    border-right: solid 2px #ed1d23;
    position: absolute;
    top: 35px;
    left: 10px;
    margin-top: -3px;
    transform: rotate(45deg);
    transition: all 0.3s ease 0s;
}

.item-blocklist ul li a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 5px;
    background: linear-gradient(15deg, rgb(237, 216, 29) 0%, rgb(237, 98, 29) 30%, rgb(237, 29, 35));
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

.item-blocklist ul li a:hover::after {
    transform: scale(1, 1);
}

.unit-j {
    display: flex;
}

.unit-j .box-a {
    width: 28%;
    margin-right: 2%;
}

.unit-j .box-b {
    width: 70%;
}

.unit-j th {
    white-space: nowrap;
    background-color: #e4e4e4;
}

.news-list-old ul {
    margin: 0;
    padding: 0;
}

.news-list-old li {
    background-color: #fff;
    border-bottom: solid 1px #e6e6e6;
}

.news-list-old li a {
    text-decoration: none;
    display: block;
    padding: 15px;
    position: relative;
}

.news-list-old li a::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #c9c9c9;
    border-right: solid 2px #c9c9c9;
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -4px;
    transform: rotate(45deg);
    transition: all 0.3s ease 0s;
}

.caticon {
    color: #fff;
    padding: 0 10px;
    font-size: 80%;
    margin-right: 5px;
}

.news-list-old li .entrydate {
    color: #535353;
}

.news-list-old li .entrytitle {
    text-decoration: underline;
    width: 100%;
    display: block;
    padding-right: 20px;
}

.news-list-old li a:hover,
.news-list-old li .entrytitle a:hover {
    color: #c91117;
    background-color: #eeeeee;
}

.news-data-box {
    background-color: #e7e7e7;
    padding: 5px;
    display: flex;
    align-items: center;
    font-size: 80%;
}

.news-contents {
    margin: 20px 0;
}

.pager {
    padding-top: 40px;
}

.pager .pagination {
    text-align: center;
    line-height: 0;
}

.pager .pagination li {
    display: inline;
    margin: 0 2px;
    padding: 0;
    display: inline-block;
    width: 40px;
    height: 40px;
    overflow: hidden;
    text-align: center;
    position: relative;
    border-radius: 2px;
}

@media (max-width: 750px) {
    .pager .pagination li {
        display: none;
    }
}

.pager .pagination li a {
    vertical-align: middle;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: table;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.pager .pagination li a span {
    display: table-cell;
    vertical-align: middle;
    transform: none;
}

.pager .pagination li a:hover {
    color: #fff;
    background: #ab2222;
}

.pager .pagination li .active {
    color: #fff;
    background: #ab2222;
}

@media (max-width: 750px) {

    .pager .pagination .pre,
    .pager .pagination .next {
        display: inline-block;
        width: 40%;
        height: 50px;
        text-align: center;
    }

    .pager .pagination .pre a,
    .pager .pagination .next a {
        width: 100%;
        text-align: center;
    }

    .pager .pagination .pre span:after {
        content: "　前の10件へ";
    }

    .pager .pagination .next span:before {
        content: " 次の10件へ　";
    }
}

/***********************************************
	table
************************************************/

table {
    border-collapse: collapse;
    margin-bottom: 30px;
}

/* table-b */
.table-a {
    width: 100%;
}

.table-a th,
.table-a td {
    padding: 9px 14px;
    border-bottom: 1px dotted #CCCCCC;
}

.table-a th {
    padding: 9px 0 9px 14px;
    width: 5em;
}

.table-a td a {
    display: block;
    padding-left: 9px;
    background: url(../images/arrow_news.gif) 0 0.6em no-repeat;
}

/* table-b */
.table-b {
    width: 100%;
    border-top: 1px solid #CCCCCC;
}

.table-b th,
.table-b td {
    padding: 9px 14px;
    border-bottom: 1px solid #CCCCCC;
    vertical-align: top;
}

.table-b th {
    width: 12em;
    background: #F3FAFA;
}

.table-b th.must {
    padding-right: 48px;
    background: #E7F5F5 url(../images/icon_must.gif) right 14px no-repeat;
}

#form-inquiry input[type=text],
#form-inquiry select,
#form-inquiry textarea {
    border: 1px solid #ABADB3;
}

/* table-c */

.table-c {
    width: 100%;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
}

.table-c th,
.table-c td {
    padding: 9px 14px;
    border-bottom: 1px solid #CCCCCC;
    border-left: 1px solid #CCCCCC;
    vertical-align: top;
}

.table-c thead th {
    width: 25%;
    background: #E4F3F3;
}

.table-c tbody th {
    background: #F8FCFC;
}

/* table-d */

.table-d {
    width: 100%;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
}

.table-d th,
.table-d td {
    padding: 6px 10px;
}

.table-d th {
    border-bottom: 1px solid #CCCCCC;
    border-left: 1px solid #CCCCCC;
}

.table-d td {
    border-bottom: 1px dotted #CCCCCC;
    border-left: 1px solid #CCCCCC;
}

.table-d thead th {
    width: 25%;
    background: #E4F3F3;
}

.table-d tbody th {
    background: #F8FCFC;
    border-bottom: 1px dotted #CCCCCC;
}

.table-d tr.last-child th,
.table-d tr.last-child td {
    border-bottom: 1px solid #CCCCCC;
}

/* table-e */

.table-e {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
    border-top: 1px solid #CCCCCC;
}

.table-e th,
.table-e td {
    padding: 6px 10px;
    border-bottom: 1px solid #CCCCCC;
}

.table-e th {
    width: 4em;
}

/*ContactForm7カスタマイズ*/
table.CF7_table {
    width: 80%;
    margin: 0 auto 20px auto;
    border: 2px solid #e5e5e5;
    background-color: #fff;
    text-align: left;
}

table.CF7_table tr {
    border-top: 1px solid #e5e5e5;
}

table.CF7_table th,
table.CF7_table td {
    padding: 10px;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
    display: table;
}

/*入力欄*/
.CF7_table input,
.CF7_table textarea {
    border: 1px solid #d8d8d8;
    width: 100%;
}

.CF7_table ::placeholder {
    color: #797979;
}

/*「必須」文字*/
.CF7_req {
    font-size: .9em;
    padding: 5px;
    background: #f79034;
    /*オレンジ*/
    color: #fff;
    border-radius: 3px;
    margin-right: 1em;
}

/*「任意」文字*/
.CF7_unreq {
    font-size: .9em;
    padding: 5px;
    background: #bdbdbd;
    /*グレー*/
    color: #fff;
    border-radius: 3px;
    margin-right: 1em;
}

/* タイトル列 */
@media screen and (min-width: 768px) {
    .CF7_table th {
        width: 30%;
        /*横幅*/
        background-color: #f5ebeb;
    }
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    table.CF7_table {
        width: 95%;
    }

    .CF7_table tr,
    .CF7_table td,
    .CF7_table th {
        display: block;
        width: 100%;
        line-height: 2.5em;
    }

    .CF7_table th {
        background-color: #ebedf5;
    }
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
    min-width: 360px;
    background-color: #f79034;
    /* オレンジ*/
    border: 0;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto;
}

.CF7_btn {
    text-align: center;
    margin-top: 20px;
}

.wpcf7-spinner {
    width: 0;
    margin: 0;
}

.sp-on {
    display: none;
}

.pc-non {
    display: none;
}

/*mid*/
@media screen and (max-width: 1000px) {
    header {
        padding: 10px;
    }

    .logo {
        position: relative;
        display: block;
        left: 0;
        top: 0;
        width: 258px;
        height: 40px;
    }

    .maintext-wrap {
        padding: 0 20px;
        left: 10px;
    }

    .wrap {
        width: 100%;
        margin: 0;
        padding: 0 15px;
    }

    .pc-non {
        display: none;
    }

    .mid-non {
        display: none;
    }

    .sp-on {
        display: block;
    }

    .event ul li,
    .news ul li {
        width: 50%;
    }

    .act2-contents {
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }

    .act2-contents :nth-child(1) {
        order: 2;
    }

    .act2-contents :nth-child(2) {
        order: 3;
    }

    .act2-contents :nth-child(3) {
        order: 4;
    }

    .act2-contents :nth-child(4) {
        order: 1;
        width: 100%;
    }

    .act2-contents li.act2-contents-con1,
    .act2-contents li.act2-contents-con2 {
        margin-top: 0;
        width: 33.333%;
    }

    .act2-contents li.act2-contents-txt {
        margin-bottom: 40px;
        padding-left: 0;
    }

    .footer-nav {
        background-color: #ed1d23;
        color: #fff;
        display: block;
        justify-content: space-between;
        padding: 0 15px 20px 15px;
        text-align: center;
    }
}

/*SP*/
@media screen and (max-width: 760px) {
    .sp-non {
        display: none;
    }

    .sp-on {
        display: block;
    }

    .nav-btn {
        padding: 5px 10px;
        margin-left: 10px;
        border-radius: 20px;
        font-size: 80%;
    }

    nav.globalMenuSp {
        box-sizing: border-box;
        width: 100vw;
        right: -10px;
    }
    nav.globalMenuSp ul.sp-nav{display: flex;flex-wrap: wrap;border-top: 1px solid rgb(255, 106, 47);}
    nav.globalMenuSp ul.sp-nav li{width: 50%;border-right: 1px solid rgb(255, 106, 47);}
    nav.globalMenuSp ul.sp-nav li a{padding-right: 15px;padding-left: 10px;  text-align: left;height: 100%;}
    nav.globalMenuSp ul.sp-nav li a::after {right: 10px;}

    .links01 ul li {
        width: 100%;
    }

    .event ul li,
    .news ul li {
        width: 100%;
    }

    .footer-logo,
    .footer-nav2 {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-nav-pri a {
        text-align: left;
        display: block;
    }

    #alpha-block {
        float: none;
        width: 100%;
        padding-bottom: 30px;
    }

    .sidenav {
        float: none;
        width: 100%;
        padding-bottom: 0;
    }

    /*Index*/
    .mainimage {
        background-image: url(img/poster.png);
    }
    .mainimage-video{display: none;}
    .maintext {
        font-size: 2.2rem;
        line-height: 1.4;
    }

    .maintext-sub {
        color: #fff;
        font-size: 14px;
        line-height: 1.4;
    }

    .act2-title {
        font-size: 1.8rem;
    }

    .act3-link {
        display: block;
        margin: 0;
        padding: 0;
    }

    .act3-link li {
        width: 100%;
    }

    .video::before{
        font-size: 2rem;
        padding-bottom: 30px;
    }
    .youtube {
        position: relative;
        width: 100%;
        padding-top: 56.25%;
      }
      .youtube iframe {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
      }

    /*Page*/
    .main-title {
        padding: 20px 10px;
        margin-bottom: 40px;
    }

    .main-title h1 {
        font-size: 1.8rem;
    }

    .item-blocklist ul {
        margin-bottom: 0;
        display: block;
    }

    .item-blocklist ul li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
}
