/*# sourceURL=https://www.seig-boys.org/wordpress/wp-content/themes/seigakuin/assets/css/add.css */
/*@ sourceURL=https://www.seig-boys.org/wordpress/wp-content/themes/seigakuin/assets/css/add.css */
@charset "utf-8";
/*
 style.css
*/

/*

 ポップアップ表示

*/

.modal_btn {
  cursor: pointer;
  color: #016ba3;
}
.modal {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow-y: auto;
	transition: all 0.4s;
}
.modal_box {
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
}
.modal_bg {
	background-color: rgba(30, 30, 30, 0.3);
	height: 100%;
	width: 100%;
}
.modal_inner {
	left: 50%;
	position: absolute;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.modal_block {
	position: relative;
	margin: 0 auto;
  background-color: #fff;
}
.modal_close {
	cursor: pointer;
	position: absolute;
  right: -7px;
  top: -65px;
  color: #fff;
	font-size: 4rem;
	font-weight: bold;
}
.modal.is-show {
	opacity: 1;
	visibility: visible;
	z-index: 999;
}
.qua-unit.modal_item {
  margin-bottom: 0;
}

/*

 クラブ活動
 ポップアップ表示

*/

.club_list .modal_inner {
    width: 780px;
}
.club_list .modal_block .club_name {
    margin-bottom: 0;
    padding: 19px 20px 14px 20px;
    background-color: #00397e;
    color: #fff;
    line-height: 1.5;
    font-size: 2.6rem;
    font-weight: bold;
}
.club_list .modal_block .club_name::before {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}
.club_list .modal_block .content_wrap {
    max-height: 765px;
    padding: 20px;
    overflow: scroll;
}
.club_list .modal_block .content_wrap .img {
    margin-bottom: 20px;
}
.club_list .modal_block .content_wrap .comment {
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.club_list .modal_block .content_wrap .info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: baseline;
}
.club_list .modal_block .content_wrap .info li {
    position: relative;
    width: 49%;
    margin-bottom: 0.8em;
    padding: 15px 30px;
    background-color: #f6f6f6;
    line-height: 1.7;
    font-size: 1.8rem;
    font-weight: bold;
}
.club_list .modal_block .content_wrap .info li::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 30px 30px 0 0;
    border-color: #00397e transparent transparent transparent;
}
.club_list .modal_block .content_wrap .info li:last-child,
.club_list .modal_block .content_wrap .info li:nth-last-child(2) {
    margin-bottom: 0;
}
.club_list .modal_block .content_wrap .img img {
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    display: block;
    height: 480px;
}

/* SP */
@media only screen and (max-width: 768px) {
    .club_list .modal_inner {
        width: 90%;
    }
    .club_list .modal_block .club_name {
        font-size: 4rem;
        padding: 2.5rem 2rem 1.6rem 3rem;
    }
    .club_list .modal_block .content_wrap {
        padding: 3rem;
    }
    .club_list .modal_block .content_wrap .img,
    .club_list .modal_block .content_wrap .comment {
        margin-bottom: 3rem;
    }
    .club_list .modal_block .content_wrap .comment {
        line-height: 1.92;
        font-size: 2.6rem;
    }
    .club_list .modal_block .content_wrap .info li {
        width: 100%;
        padding: 3rem 3.5rem;
        line-height: 1.92;
        font-size: 2.6rem;
    }
    .club_list .modal_block .content_wrap .info li:nth-last-child(2) {
        margin-bottom: 0.8em;
    }
    .club_list .modal_block .content_wrap .info li::after {
        border-width: 3rem 3rem 0 0;
    }
    .club_list .modal_close {
        top: -11vw;
        right: -1vw;
        font-size: 6rem;
    }
    .club_list .modal_block .content_wrap .img img {
        height: 40rem;
    }

}

/*

 クラブ活動 ボタン調整

*/

/* PC */
@media print, screen and (min-width: 768px) {

    .page_club .qua-unit-button li {
        margin-bottom: 25px;
    }
    .page_club .qua-unit-button li>.in {
        padding: 15px 55px 15px 30px;
        font-size: 1.5rem;
    }
    .page_club .qua-unit-button li>.in:after {
        width: 28px;
        top: calc( 50% - 1px );
    }

}


/*

 年間行事
 年間スケジュール

*/

.icon_month {
	margin-bottom: 30px!important;
}
.icon_month .qua-picture-img {
	position:relative;
}
.icon_month .qua-picture-img::after {
	content:"";
	display:block;
	position:absolute;
	bottom:0;
	left:0;
	width: 53.478%;
	height: 50px;
	background-repeat:no-repeat;
	background-size:100%;
}
.icon_month.april .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56afe8bdc0.png);
}
.icon_month.may .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56aff4643d.png);
}
.icon_month.june .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56b0006da3.png);
}
.icon_month.july .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56b0132ffb.png);
}
.icon_month.august .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56b01e0eba.png);
}
.icon_month.september .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56b02a4067.png);
}
.icon_month.october .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56b0371eee.png);
}
.icon_month.november .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56b0432e74.png);
}
.icon_month.december .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56b05626cb.png);
}
.icon_month.january .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56afc4bad9.png);
}
.icon_month.february .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56afd1209a.png);
}
.icon_month.march .qua-picture-img::after {
	background-image:url(../../../../uploads/2020/05/20200508-5eb56afdcec18.png);
}

/* SP */
@media only screen and (max-width: 767px) {
	.icon_month {
	    margin-bottom: 4rem!important;
	}
	.icon_month .qua-picture-img::after {
	    height: 12.6vw;
    }
}



/*

 TOPアニメーション

*/
.home .effect-scroll {
  opacity: 0;
  transform: translate(0, 80px);
  -moz-transition-delay:300ms;
  -webkit-transition-delay:300ms;
  -o-transition-delay:300ms;
  -ms-transition-delay:300ms;
}
.home .effect-scroll.left {
  transform: translate(-50px, 0);
}
.home .effect-scroll.right {
  transform: translate(50px, 0);
}
.home .home-pics ul li.effect-scroll:nth-child(2) {
	-moz-transition-delay:300ms;
	-webkit-transition-delay:300ms;
	-o-transition-delay:300ms;
	-ms-transition-delay:300ms;
}
.home .home-pics ul li.effect-scroll:nth-child(3) {
	-moz-transition-delay:600ms;
	-webkit-transition-delay:600ms;
	-o-transition-delay:600ms;
	-ms-transition-delay:600ms;
}
.home .home-pics ul li.effect-scroll:nth-child(4) {
	-moz-transition-delay:900ms;
	-webkit-transition-delay:900ms;
	-o-transition-delay:900ms;
	-ms-transition-delay:900ms;
}
.home-education section:nth-child(1) .effect-scroll,
.home-education section:nth-child(3) .effect-scroll {
  transform: translate(-50px, 0);
}
.home-education section:nth-child(2) .effect-scroll {
  transform: translate(50px, 0);
}
/* 可視範囲フェードイン */
.home .effect-scroll.on {
  opacity: 1;
  transform: translate(0, 0) !important;
  transition: all 1s;
}

/* Education 帯スライド */
.home-education section:nth-child(1) .home-education_content .home-education_title.on .motion-txt.slide::before,
.home-education section:nth-child(3) .home-education_content .home-education_title.on .motion-txt.slide::before {
  animation: SlideInLeft 1s;
}
.home-education section:nth-child(2) .home-education_content .home-education_title.on .motion-txt.slide::before {
  animation: SlideInRight 1s;
}

@keyframes SlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%) skewX(-20deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) skewX(-20deg);
  }
}
@keyframes SlideInRight {
  0% {
    opacity: 0;
    transform: translateX(100%) skewX(-20deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) skewX(-20deg);
  }
}


/*

 問い合わせフォーム

*/
.form {
    width: 100%;
    table-layout: fixed;
}
.form .check_txt {
  display: block;
}
.confirm .note,
.confirm .check_txt {
  display: none;
}
.form input[type=text],
.form textarea,
.form select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: none;
  border: 1px solid #e1ebf5;
  border-radius: 0;
}
.form input[type=checkbox],
.form input[type=radio] {
  position: relative;
  cursor: pointer;
}
.form input[type=radio] {
  -moz-appearance: radio;
  -webkit-appearance: radio;
  appearance: radio;
}
.form select {
    position: relative;
    line-height: 1;
    background: #fff url(../images/shared/select-arrow.png) no-repeat center right 15px/13px 10px;
    cursor: pointer;
}
::-webkit-input-placeholder {
  color: #b5b5b5;
}
::-moz-placeholder {
  color: #b5b5b5; opacity: 1;
}
:-ms-input-placeholder {
  color: #b5b5b5;
}
.form .must {
    margin-left: 5px;
    color: #EB540B;
}
.form th {
  font-weight: bold;
}
.form td {
    vertical-align: middle;
}
.form-btns {
  text-align: center;
}
.btns-in {
  display: inline-block;
  padding: 0;
}
.form-btns button[type=submit] {
    position: relative;
    display: block;
    -webkit-appearance: none;
    background-color: transparent;
    background-image: none;
    border: 1px solid #00397e;
    border-radius: 3em;
    background-color: transparent;
    cursor: pointer;
    text-align: center;
    color: #00397e;
    font-weight: bold;
}
.form-btns button[type=submit]::after {
    display: block;
    position: absolute;
    content: "";
    background: url(../images/shared/button-arrow.png) 0 0 no-repeat,url(../images/shared/button-arrow-on.png) -9999px 0 no-repeat;
    background-size: 100% auto;
    transform: translateY(-50%);
}

@media print, screen and (min-width: 768px) {
    .form {
        margin-bottom: 40px;
    }
    .form th,
    .form td {
        background-color: #f2f6fa;
        border-top: 1px #d4e0ee solid;
    }
    .form th {
        width: 26%;
        padding: 24px 30px;
        text-align: left;
        vertical-align: top;
    }
    .form td {
        padding: 15px 30px;
    }
    .form input[type=text],
    .form textarea,
    .form select {
        padding: 15px;
        margin: 0;
        font-size: 1.5rem;
    }
    .form select {
        min-width: 30%;
        font-size: 1.5rem;
    }
    .form textarea {
        width: 98%;
        margin: 10px 0;
        vertical-align: middle;
    }
		.form .bg_wht th,
		.form .bg_wht td {
				text-align: left;
				padding: 20px 15px 5px;
				border-bottom: none;
				background: #fff;
		}
    .form .name {
        width: 25%;
    }
    .form .name-wpr .txt1 {
        margin-right: 10px;
    }
    .form .name-wpr .txt2 {
        margin: 0 10px;
    }
    .form .zip {
        width: 30%;
    }
    .form .txt {
        width: 50%;
    }
    .form .note {
        width: 98%;
    }
    .form .txt4 {
        margin: 0 4px 0 0;
    }
    .form-btns {
        margin: 40px auto 0;
    }
    .form-btns .btns-in {
        display: flex;
        justify-content: center;
    }
    .form-btns button[type=submit] {
        min-width: 380px;
        font-size: 2rem;
        line-height: 1.5;
        padding: 20px 80px 20px 80px;
        margin-bottom: 30px;
    }
    .form-btns button[type=submit]:nth-of-type(2) {
        margin-left: 30px;
    }
    .form-btns button[type=submit]::after {
        width: 35px;
        height: 7px;
        right: 30px;
        top: calc( 50% - 2px );
    }
    .form-btns button[type=submit]:hover {
        color: #fff;
        background-color: #00397e;
    }
    .form-btns button[type=submit]:hover::after {
        background-position: -9999px 0,0 0;
    }
}
@media screen and (max-width: 768px) {
    .form th,
    .form td {
        display: block;
    }
    .form input[type=text],
    .form textarea,
    .form select {
        width: 100%;
        padding: 5px;
        font-size: 2.6rem;
        line-height: 1.92;
    }
    .form select {
        background: #fff url(../images/shared/select-arrow.png) no-repeat center right 5px/9px 7px;
    }
    .form th {
        vertical-align: top;
        background-color: #f2f6fa;
        border-top: 1px #d4e0ee solid;
        padding: 10px;
        text-align: left;
    }
    .form td {
        padding: 15px 0 30px;
    }
		.form .bg_wht th,
		.form .bg_wht td {
			border-top: none;
			background: #fff;
		}
    .form .name-wpr {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    .form .name-wpr .txt1,
    .form .name-wpr .txt2 {
        width: 2em;
        margin-right: 5px;
        text-align: center;
    }
    .form .name-wpr input {
        width: calc(100% - 2.5em);
    }
    .form .note {
        font-size: 2rem;
    }
    .form .tel input {
        width: 28%;
    }
    .form .tel .txt4 {
        margin-right: 4px;
    }
    .form .sp_mar {
        display: block;
        margin: 10px 0;
        font-feature-settings: "palt";
    }
    .form .sp_mar.name {
        padding: 0 35px;
    }
    .form-btns {
        margin: 30px auto 0;
    }
    .form-btns .btns-in {
        margin: auto;
    }
    .form-btns button[type=submit] {
        font-size: 3.6rem;
        padding: 1.9rem 12rem 1.9rem 4rem;
        margin-bottom: 4rem;
    }
    .form-btns button[type=submit]::after {
      width: 5.5rem;
      height: 1.1rem;
      right: 4rem;
      background-size: 5.5rem 1.1rem;
      top: calc( 50% - 0.4rem);
    }

}


/*

  PDF様式ボタン

*/
.pdf_btn {
  display: inline-block;
  background: #f3f8fe;
  border: 1px solid #00397e;
  line-height: 1;
}

@media print, screen and (min-width: 768px) {
  .pdf_btn {
    font-size: 1.4rem;
    padding: 0 10px 5px 5px;
    margin: 0 10px;
  }
  .pdf_btn::after {
    top: 3px;
  }
}
@media screen and (max-width: 767px) {
  .pdf_btn {
    padding: 0 1rem 1rem 0.5rem;
    margin: 1rem 0 0 1rem;
  }
  .pdf_btn::after {
    top: 3px;
  }
}


/*

  NEWS ユニット

*/
.qua-unit-archive .m-newsPost {
  width: 100% !important;
}
.qua-unit-archive .m-newsPost_image {
  display: none !important;
}

@media print, screen and (min-width: 768px) {
  .qua-unit-archive .m-newsPost:first-of-type {
    border-top: 1px #e5e5e5 solid;
  }
  .qua-unit-archive .m-newsPost {
    padding: 5px 0 15px 5px;
    margin: 0 !important;
    border-bottom: 1px #e5e5e5 solid;
  }
}
@media screen and (max-width: 767px) {
.m-newsPost .m-newsPost_wrap {
  width: 100%;
}

}