/* Add override styles here. Loaded after style.css. */

/* トップページ ニュース部分 */
.top_news{
  position: relative;
  overflow: hidden;
  background: #2E68AC;
  background: linear-gradient(91deg,rgba(46, 104, 172, 1) 0%, rgba(92, 142, 201, 1) 50%, rgba(255, 151, 178, 1) 100%);
  padding: 60px 0;
}

.top_news .top_news-bg-wrapper{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}


.top_news .top_news-title{
  font-family: "Venti", sans-serif;
	font-weight: 700;
  font-size: 24px;
  color: #fff;
  margin-bottom: 32px;
}

.top_news .top_news__inner{
  width: 86.666%;
  max-width: 1080px;
  margin: 0 auto;
}

.top_news .top_news__content{
  margin-bottom: 32px;
}

.top_news .common-ttl-en .js-sprit-item{
  background: #fff;
  background-clip: text;
  -webkit-background-clip: text;
}

.top_news .top_news-item{
  padding: 20px 48px 20px 0;
  position: relative;
}

.top_news .top_news-item:before{
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.top_news .top_news-link{
  display: block;
  transition: 0.6s;
  color: #fff;
  text-decoration: none;
}

.top_news .top_news-link:hover{
  padding: 0 0 0 16px;
}

.top_news .top_news-link:hover .top_news-item-yajirushi img:nth-child(2){
  opacity: 1;
}

.top_news .top_news-item-yajirushi{
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 38px;
  height: 38px;
}

.top_news .top_news-item-yajirushi img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.top_news .top_news-item-yajirushi img:nth-child(2){
  opacity: 0;
  transition: 0.6s;
}

.top_news .top_news-meta{
  display: flex;
  align-items: center;
  gap: 0 28px;
  margin-bottom: 16px;
}

.top_news .top_news-meta .top_news-date{
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.04em;
  font-weight: bold;
}

.top_news .top_news-meta .top_news-categories{
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(91deg,rgba(46, 104, 172, 1) 0%, rgba(92, 142, 201, 1) 50%, rgba(255, 151, 178, 1) 100%);
  padding: 2px 8px 0;
  font-family: "Venti", sans-serif;
}

.top_news .top_news-item-title{
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.top_news .coursemenu-btn{
  background: #012045;
  border:solid 2px #012045;
  transition: 0.5s;
}
.top_news .coursemenu-btn:hover{
  color: #012045;
  background-color :#fff;
}

@media screen and (min-width: 768px){
  .top_news{
    padding: 80px 0;
  }
  .top_news .top_news-title{
    font-size: 36px;
  }
  .top_news .top_news__inner{
    width: 90%;
  }
  .top_news .top_news-link{
    display: flex;
    gap: 0 16px;
  }
  .top_news .top_news-meta{
    justify-content: space-between;
    width: 200px;
    gap: 0;
    margin-bottom: 0;
  }
  .top_news .top_news-item{
    padding: 24px 48px 24px 0;
  }
}

.newssingle-body a{
  text-decoration: none;
}


.o-form{
  padding: 0px 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.o-form .o-form__title{
  text-align: center;
  color: #012045;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 48px;
}

.o-form .o-form__title span{
  display: inline-block;
}

.o-form .o-form__title p{
  text-align: left;
}

.o-form .o-form__title p:nth-child(1){
  font-size: 15.5px;
  color: #5A8CC9;
}

.o-form .o-form__title p:nth-child(2){
  color: #525D64;
  font-size: 25px;
  font-weight: bold;
  line-height: 37px;
}

.o-form .o-form__title p:nth-child(2) span{
  display: inline-block;
}

.o-form .o-form__row{
  margin-bottom: 24px;
}

.o-form .o-form__row.is-mb{
  margin-bottom: 32px;
}

.o-form .o-form__row .o-form__row__title{
  font-size: 16px;
  font-weight: bold;
  color: #525D64;
  margin-bottom: 12px;
  font-weight: 500;
  text-align: left;
}

.o-form .o-form__row .o-form__row__title span{
  font-size: 14px;
  color: #FF97B1;
}

.o-form .o-form__row .o-form__row__select select{
  width: 100%;
  background-color: #fff;
  border: solid 1px rgb(153 153 153 /.7);
  height: 50px;
  border-radius: 6px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(../images/select_yajirushi.svg);
  background-size: 16px 10px;
  background-position: right 16px center;
  background-repeat: no-repeat;
  padding: 0 48px 0 16px;
  font-size: 16px;
  color: #525D64;
  box-sizing: border-box;
}

.o-form .o-form__row .o-form__row__select select::-ms-expand {
  display: none;
}

.o-form .o-form__row .o-form__row__input input{
  width: 100%;
  background-color: #fff;
  border: solid 1px rgb(153 153 153 /.7);
  height: 50px;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 16px;
  color: #525D64;
  box-sizing: border-box;
}

.o-form .o-form__row .o-form__row__input input::placeholder{
  color: #CCCCCC;
}

.o-form .o-form__privacy{
  margin-bottom: 48px;
  font-size: 12px;
  color: #525D64;
  font-weight: 500;
}

.o-form .o-form__privacy label:hover{
  cursor: pointer;
}

.o-form .o-form__privacy label input{
  visibility: hidden;
  width: 0;
}

.o-form .o-form__privacy label span{
  padding-left: 36px;
  position: relative;
}

.o-form .o-form__privacy label span:before{
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border: solid 1px rgb(153 153 153 /.7);
  border-radius: 6px;
  background-color: #fff;
  left: 0;
  top: -4px;
}

.o-form .o-form__privacy label span:after{
  content: '';
  position: absolute;
  width: 12px;
  height: 6px;
  border-left: 3px solid #5A8CC9;
  border-bottom: 3px solid #5A8CC9;
  transform: rotate(-45deg);
  left: 6px;
  top: 4px;
  opacity: 0;
}

.o-form .o-form__privacy label input:checked + span:after{
  opacity: 1;
}

.o-form .o-form__privacy a{
  color: #5C8CC9;
}

.o-form .o-form__submit{
  width: 100%;
  height: 65px;
  overflow: hidden;
  margin-bottom: 48px;
}

.o-form .o-form__submit input{
  width: 100%;
  height: 100%;
  background-color: #618CC8;
  border: solid 1px #618CC8;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: 0.3s;
  border-radius: 65px;
}

.o-form .o-form__submit input:hover{
  background-color: #fff;
  color: #5C8CC9;
  cursor: pointer;
}

/* disabled状態 */
.o-form .o-form__submit input:disabled {
  background-color: #ccc;
  border: solid 1px #ccc;
  color: #888;
  cursor: not-allowed;
  pointer-events: none; /* hover無効化 */
  transition: none;
}

/* hoverしても変わらないように上書き */
.o-form .o-form__submit input:disabled:hover {
  background-color: #ccc;
  border: solid 1px #ccc;
  color: #888;
}

.o-form .o-form__text{
  border-radius: 16px;
  background-color: #fff;
  padding: 20px;
  height: 284px;
  overflow-x:hidden;
  overflow-y: auto;
}

.o-form .o-form__text .o-form__text__title{
  font-size: 16px;
  color: #525D64;
  font-weight: 500;
  line-height: 25px;
  margin-bottom: 12px;
  text-align: left;
  border-bottom: solid 1px #525D64;
  padding-bottom: 4px;
}


.o-form .o-form__text .o-form__text__detail{
  font-size: 12px;
  color: #525D64;
  font-weight: 500;
  line-height: 20.5px;
  text-align: left;
}

.o-form .o-form__text .o-form__text__detail a{
  color: #5C8CC9;
}


@media screen and (min-width: 768px){
  .o-form{
    padding: 0px 48px;
  }
  .o-form .o-form__title{
    font-size: 32px;
  }
}

#form-loading{
  font-size: 16px;
  line-height: 33px;
  color: #525D64;
  font-weight: 500;
  margin-bottom: 48px;
  display: none;
}


.spinner{
  display:inline-block;
  width:16px;
  height:16px;
  border:2px solid #ccc;
  border-top-color:#333;
  border-radius:50%;
  animation: spin 0.8s linear infinite;
  vertical-align:middle;
  margin-right:8px;
}
@keyframes spin{ to{ transform: rotate(360deg); } }