@charset "utf-8";
/* CSS Document */

/*
Theme Name: 駒澤大学附属苫小牧高等学校2023
Theme URI: http://www.komazawa-uth.ed.jp/
Author: SUDA SEIHAN CPC WEB TEAM
Author URI: http://www.suda.co.jp/
Description: 駒沢大学附属苫小牧高等学校のサイトテーマ2023
Version: 1.0
Tags: school
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;800;900&display=swap');

* { font-family: 'Noto Sans JP' , 'Montserrat' , sans-serif; font-weight: 400; }
.eng { font-family: 'Montserrat', sans-serif; font-weight: 400; }


/*COMMON*/
.inner { width: 1100px; margin: 0 auto; }
@media only screen and (max-width:767px){
    .inner { width: 96%; margin: 0 auto; }
}

/*ブロック平行四辺形にする*/
.parallelogram { clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%); padding: 90px 0!important; margin: -80px 0!important; }


/*HEADER*/
header { min-width: 1100px; margin: 0 auto; padding: 10px 70px 10px 20px; flex-wrap: nowrap; }
.headerTitle { width: 400px; margin-top: 15px; }
.spNav { width: 50px; height: 50px; background: #333; position: fixed; top: 15px; right: 0; }

#menu-h-sub-menu { justify-content: flex-end; margin-bottom: 1.2rem; margin-top: 1.2rem; }
#menu-h-sub-menu li { border: solid 1px #999; border-radius: 5px; margin-right: 1rem; padding: 0.2rem 0; margin-top: 0.8rem; }
#menu-h-sub-menu li a { font-size: 1.2rem; padding: 0 1rem; text-decoration: none }
#menu-h-sub-menu li:last-of-type { margin-right: 0; }
#menu-g-navi { justify-content: flex-end; }
#menu-g-navi li { border-right: solid 1px #666; -webkit-transform: skewX(160deg); -moz-transform: skewX(160deg); transform: skewX(160deg); }
#menu-g-navi li a { display:block; transform: skewX(-160deg); padding: 0 1rem; font-size: 1.4rem; font-weight: 500; text-decoration: none; }
#menu-g-navi li:last-of-type { border-right: none; }
#menu-g-navi li:last-of-type a { padding: 0 0 0 1rem; }
#menu-h-sub-menu li#menu-item-10980 { border: none; margin-top: 0; }
#menu-item-10980 a { background: #d2568e; color: #fff; padding: 5px 30px!important; font-size: 1.6rem!important; }


@media only screen and (max-width:767px){
    header { min-width: 100%; margin: 0 auto; padding: 10px; }
    .headerTitle { width: 85%;  }
    .headerTitle img { width: 100%; }
    .spNav { width: 50px; height: 50px; background: #333; }
    #menu-h-sub-menu { display: none; }
    #menu-g-navi { display: none; }
}


/*STICY*/
.stickyNav { display: block; position: fixed; top: 80px; right: 0; width: 50px; z-index: 99; }
.stickyNavBtn1 { width: 100%; height: auto; font-size: 1.4rem; font-weight: 600; -ms-writing-mode: tb-rl; writing-mode: vertical-rl; padding: 2rem 1.5rem; text-decoration: none; background: #c0272d; color: #fff; margin:0 0 1rem 0; }
.stickyNavBtn2 { width: 100%; height: auto; font-size: 1.4rem; font-weight: 600; -ms-writing-mode: tb-rl; writing-mode: vertical-rl; padding: 2rem 1.5rem; text-decoration: none; background: #ff1d25; color: #fff; margin: 0 0 1rem 0; text-align: center; }
.stickyNavBtn3 { width: 100%; height: auto; font-size: 1.4rem; font-weight: 600; -ms-writing-mode: tb-rl; writing-mode: vertical-rl; padding: 2rem 1.5rem; text-decoration: none; background: #069ce2; color: #fff; margin: 0 0 1rem 0; text-align: center; }
.stickyNavSns { width: 100%; height: auto; background: #533076; color: #fff; padding: 1rem 0.5rem 0.5rem; }
.stickyNavSns a { margin: 2rem auto; display: block; }
.stickyNavSns img { width: 70%; height: auto; display: block; margin: 0 auto; }
.stickyNavSnsTitle { display: block; font-size: 1.1rem; text-align: center; font-weight: 600; padding: 1.5rem auto 0; }
@media only screen and (max-width:767px){
    .stickyNav { width:40px; }
    .stickyNav a { font-size: 1.4rem; padding: 2rem 1rem; }
    .stickyNavSns a { margin: 1rem auto; display: block; padding: 0.5rem; }
    .stickyNavSns img { width: 100%; height: auto; display: block; margin: 0 auto; }
}

/*SUB NAV*/
.localMenu { margin: 3rem 0 3rem 3rem; padding: 3rem 0 3rem 10rem; background: #F9F9F2; clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%); }
.localMenu li { margin: 0 6rem 0 0; }
.localMenu li a { font-size: 1.4rem; font-weight: 600; color: #333; }
@media only screen and (max-width:767px){
    .localMenu { display: none; }
}

/*BREADCRUMBS*/
.breadcrumbs { margin: 0 0 2rem 0; font-size: 1.4rem; font-weight: 400; }
.breadcrumbs span { margin: 0 1rem 0 0; font-weight: 600; }
.breadcrumbs a { text-decoration: underline; font-weight: 400; }
@media only screen and (max-width:767px){
    .breadcrumbs { font-size: 1.0rem; }
}
/*MAIN*/
main { padding-bottom: 50px; }

.pageTitle { font-size: 4.0rem; margin: 1rem 0 6rem; letter-spacing: 1rem; display: inline-block; color: #333; line-height: 1.4; }
@media only screen and (max-width:767px){
    .pageTitle { font-size: 2.0rem; letter-spacing: 0.2rem; font-weight: 700; margin: 4rem auto 2rem; text-align: center; display: block; }
}
.pageContent { font-size: 1.6rem; font-weight: 400; line-height: 1.8; }
.pageContent .inner p {}
@media only screen and (max-width:767px){
    .pageContent .inner { width: auto; margin: 0 45px 0 10px; }
}



/*FOOTER*/
.bannerArea { background: #f5f5f5; }
.bannerArea .flex { justify-content: flex-start; }
.bannerArea .flex a { margin: 1rem; }
@media only screen and (max-width:767px){
    .bannerArea .flex a { width: 40%; }
    .bannerArea .flex a img { width: 100%; }
}

.splitter { height: 10px; background: #533076; padding: 50px 0; }

footer { background: #796baf!important; clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%); padding: 90px 0 0; margin: -80px 0 0; position: relative; }
.footerLeftArea { width: 40%; }
@media only screen and (max-width:767px){
    .footerLeftArea { width: 80%; }
    .footerLeftArea img { width: 100%; }
}
.footerLeftArea p { margin: 2rem 0; color: #fff; font-size: 1.4rem; }

.footerRightArea { width: 55%; }
@media only screen and (max-width:767px){
    .footerRightArea { display: none; }
}
.alumniNav { display: block; color: #fff; text-align: center; text-decoration: none; margin-top: 0.7rem; padding: 0.7rem 0; border: solid 1px #fff; }
.footerRightArea li { margin: 0.5rem 0; position: relative; padding-left: 20px; }
.footerRightArea li:before{ content: ""; position: absolute; top: .45em; left: 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); width: 8px; height: 8px; border-top: 1px solid #fff; border-right: 1px solid #fff; } 
.footerRightArea li a { color: #fff; font-size: 1.2rem; text-decoration: none; }
.groupArea {  margin: 2rem auto; padding: 2rem 0; border-top: solid 1px #fff; border-bottom: solid 1px #fff; }
.groupArea a img { width: 100%; }
@media only screen and (max-width:767px){
    .groupArea { padding-right: 40px; }
    .groupArea a { margin: 1rem auto; }
}
.copyArea { display: block; width: 100%; padding: 1rem 2rem; text-align: right; color: #fff; font-size: 1.2rem; background: #333; }
@media only screen and (max-width:767px){
    .copyArea { font-size: 1.0rem; }
}
.snsArea { width:200px; position: absolute; top: 20px; right: 10%; }
.snsArea .inner { width: 100%; align-items: center; }
.snsArea img { width:40px; height: auto; }
@media only screen and (max-width:767px){
    .snsArea { position: relative; top: 0; left: 0; width: 100%; }
    .snsArea .inner { justify-content: center; }
    .snsArea .inner a { margin: 1rem; }
}

/**FRONT PAGE**/
.firstView { width: 100%; height: 1120px; /*height: 115vh; max-height: 913px;*/ position: relative;}
.backDoted { display: block; width: 83%; height: 100%; max-height: 100%; min-width: 950px; margin: 0 auto; background: url(images/bg-doted.png) repeat; position: absolute; top: 0; left: 8.5%; z-index: -2;}
.backColor { display: block; width: 100%; height: 104vh; max-height: 733px; clip-path: polygon( 0 16%, 100% 0, 100% 84%, 0 100%); background: linear-gradient(85deg, rgba(186,177,215,1) 20%, rgba(255,248,135,1) 80%); position: absolute; left: 0; top: 5%; z-index: -1;}
.topMainImg { width: 100%; max-width: 1366px; margin: 0 auto; text-align: right; padding-top: 30px; }
.topMainImg figure { width: 95%; max-width: 1234px; margin-left: auto; clip-path: polygon(6% 15%, 100% 0, 100% 84%, 0 100% );}
.topMainImg figure img { width: 100%; height: auto;}

.topRead { width: 420px; height: 195px; position: absolute; top: 39%; left: 10.5%;}

.firstEventArea { margin-top: -120px; position: relative; z-index: 1; padding: 30px 0 35px;}
.bgWhitePath { width: 100%; height: 120px; background: rgba(255,255,255,0.9); clip-path: polygon(0 0, 82% 0, 80% 100%, 0 100%); position: absolute; top: 0; left: 0; z-index: -1;}

.headlineEn { font-size: 1.6rem; letter-spacing: 1em; text-align: center; margin: 50px 0;}
@media only screen and (max-width:767px){
    .headlineEn { margin: 10px 0;}
}
.headlineEn span img { width: auto; height: 70px; }

.headlinePurple { font-size: 2.4rem; font-weight: bold; color: #533076;}
.headlinePurple span { font-size: 2.0rem; border: solid 1px #533076; border-left: none; border-right: none; margin-right: 1em;}
.headlinePurpleBorder { font-size: 2.4rem; font-weight: bold; color: #533076; border-bottom: solid 1px #533076;}

.headlineBold { font-size: 3.0rem; font-weight: bold; margin: 50px 0;}

.firstEventTitle { font-size: 2.4rem; font-weight: bold;}
.firstEventTitle span { display: block; font-size: 1.2rem; font-weight: normal;}
.firstEventTitle span::after { content: ""; display: block; width: 100%; height: 13px; background: url(images/fukidashi-under.svg) no-repeat; background-size: contain; margin-top: 2px;}
.NextEvent { font-size: 2.4rem; font-weight: bold; line-height: 1.2;}
.NextEvent span { font-size: 1.8rem; font-weight: normal; }


.topNewsArea { position: relative; z-index: 0; margin-bottom: 150px;}
.topNewsArea .inner { height: 1000px;}
.bgNewsArea { width: calc(100% - (100% - 83%) / 2); min-width: calc(100% - (100% - 1140px) / 2); height: 1200px; position: absolute; top: 123px; left: 0; overflow: hidden; padding: 55px 0; z-index: -1;}
.bgNews { width: 120%; height: 90%; margin-left: -10%; background: url(images/news-back.png); position: relative; transform: rotate(-3.5deg);}
.bgNews:before { content: ""; width: 100%; /*height: 85px;*/ height: 5px; display: block; /*clip-path: polygon(0 80px, 100% 0, 100% 5px, 0 85px);*/ position: absolute; top: 0; left: 0; background: url(images/border-back.png);}


/*.bgNews { width: calc(100% - (100% - 83%) / 2); min-width: calc(100% - (100% - 1140px) / 2); height: 100%; background: url(images/news-back.png); clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%); position: absolute; z-index: -1; top: 150px; left: 0;}
.bgNews:before { content: ""; width: 100%; height: 85px; display: block; clip-path: polygon(0 80px, 100% 0, 100% 5px, 0 85px); position: absolute; top: 0; left: 0; background: url(images/border-back.png);}*/
.newsTabArea { width: 530px; margin: 0 auto; position: absolute; top: 106px; left: 50%;  transform: rotate(-3.5deg) translateX(-50%);}
.newsTab { width: 170px; height: 54px; background: #F1F1F1; text-align: center; font-size: 1.2rem; clip-path:polygon(0 35%, 95% 18%, 100% 28%, 100% calc(100% - 16%), 0 100%); cursor: pointer; padding-top: 25px; transform: rotate(3.5deg);}
/*.newsTab:nth-child(1) { margin-top: 15px;}
.newsTab:nth-child(2) { margin-top: 5px;}
.newsTab:nth-child(3) { margin-top: -7px;}
.newsTab:nth-child(4) { margin-top: -18px;}*/
.newsTab:hover {background: #533076; color: #fff;}
.newsListArea { padding-top: 100px; gap: 10px;}
.newsBox { background: #fff; padding: 10px; position: relative;}
.newsCat { position: absolute; top: 20px; left: 0; background: #533076; clip-path:polygon(0 0, 100% 0, 90% 100%, 0 100%); padding: 5px 10px;}
.newsCat p { color: #fff; font-size: 1.2rem;}
.newsData { font-size: 1.2rem; margin-top: 10px;}
.newsTitle { font-size: 1.5rem; font-weight: bold; margin: 20px 0; line-height: 1.2;}
.newsPhoto { width: 100%; height: 185px;}
.newsPhoto img { width: 100%; height: 100%; object-fit: cover; object-position: center;}
.topNewsArea .btnBorder { width: 360px; margin: 50px auto;}
.newsCont { font-size: 1.1rem; line-height: 1.2;}
.newsBtn { margin-top: 20px; text-align: right;}
.newsBtn a { font-size: 1.2rem; color:#533076;}

/*タブ切り替え用*/

.tab-show { display: block;}
.newsListArea { display: none;}
.news-show { display: flex;}


.bgBorder { width: calc(100% - (100% - 83%) / 2); max-width: 90%; height: 85px; display: block; clip-path: polygon(0 80px, 100% 0, 100% 5px, 0 85px); background: url(images/border-back.png); margin-top: -70px;}
.bgBorderLeft { margin-left: auto;}

.topGuideArea { position: relative; margin-bottom: 80px;}
.topGuideBack{ width: calc(100% - (100% - 83%) / 2); max-width: 90%; height: 85%; background: url(images/top-back-img01.jpg) no-repeat; background-size: cover; background-position: center 33%; clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%); position: absolute; z-index: -1; top: 210px; right: 0;}
.whiteBox { background: linear-gradient(90deg, rgba(255,255,255,0.9) 70%, rgba(255,255,255,0) 100%); padding: 20px 0; margin-right: 40%; padding-left: calc((100% - 1100px) / 2); margin-top: 20px;}
.whiteBoxRight { background: linear-gradient(90deg , rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 30%); margin-left: auto; padding: 20px 0;  margin-left: 40%; padding-right: calc((100% - 1100px) / 2); margin-top: 20px; margin-bottom: 400px;}
.whiteBoxWrap { min-width: 700px;}

.readText { font-size: 1.8rem; line-height: 1.5; text-align: center; margin-top: 20px;}

.lifeEventArea { clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%); background: #B7DEF7;}
.lifeTextArea { width: 45%; max-width: 600px; padding: 100px; display: flex; justify-content: center; align-items: center;}
.lifeEventArea .lifeTextArea {clip-path: polygon( 75px 0, 100% 0, 100% 100%, 0 100%); background: #D8EEFB;}
.lifePhotoArea { width: 55%;}
.lifePhotoArea .lifePhotoItem { width: 50%; height: 60%; clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%); margin: 0; margin-top: -20px; object-fit: cover;}
.lifePhotoArea .lifePhotoItem:nth-child(even) { margin-top: -40px;}
.lifePhotoArea img { width: 100%; height: 100%; }

.lifeClubArea { clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%); background: #FFE9B9;}
.lifeClubArea .lifeTextArea {clip-path: polygon( 0 0, 100% 0, calc(100% - 75px) 100%, 0 100%); background: #FFF4D9; padding: 50px 100px 100px;}
/*.lifeClubPhoto { position: relative;}
.lifeClubPhoto figure{ position: absolute; top: 0; right: 0;}*/

.topLifeArea .btnBorder { margin-top: 50px;}

.topFacilityArea { position: relative; padding: 80px 0;}
.topFacilityAreaBack { background: url(images/top-back-img02.png) no-repeat; background-size: 100%; background-position: -50%; width: calc(100% - (100% - 83%) / 2); min-width: calc(100% - (100% - 1140px) / 2); height: 100%; clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%); position: absolute; z-index: -1; top: 0; left: 0;}

@media only screen and (max-width:767px){
    .headlineEn span img { height: 45px; max-width: 90%; }
    .headlinePurple { font-size: 2.0rem; line-height: 1.5;}
    .headlinePurple span { font-size: 1.6rem; display: block;}
    .readText { width: 88%; font-size: 1.6rem; text-align: left;}

    .firstView { height: 100%; padding-bottom: 10px;}
    .backDoted { min-width: auto; width: 95%; left: 2.5%;}
    .backColor { height: 80%; max-height: none; clip-path: polygon( 0 7%, 100% 0, 100% 91%, 0 100%);}
    .topMainImg figure { width: 100%; height: 210px; clip-path: polygon(14% 5%, 100% 0, 100% 93%, 0 100% );}
    .topMainImg figure img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%;}

    .topRead { width: 50%; height: 90px; top: 28%; left: 3%;}
    .topRead img { width: 100%; height: auto;}
    .firstEventArea { margin-top: -50px; position: relative; padding-bottom: 70px;}
    .firstEventArea .inner { width: 75%; margin: 0 0 0 10px;}
    .bgWhitePath { height: 100%; clip-path: polygon(0 0, 85% 0, 80% 100%, 0 100%);}
    .firstEventTitle { font-size: 1.8rem;}
    .firstEventTitle span { margin-bottom: 5px;}
    .NextEvent { font-size: 1.8rem; margin-top: 20px;}
    .NextEvent span { font-size: 1.4rem; margin-bottom: 10px;}
    .firstEventArea .btnBorder { position: absolute; bottom: 10px; right: 15%;}

    .topNewsArea .inner { height: auto;}
    .newsTabArea { width: 90%; left: 0; transform: rotate(-3.5deg); top: 125px; justify-content: center; gap: 10px;}
    .newsTab { width: 24%; clip-path: polygon(0 30%, 95% 20%, 100% 31%, 100% calc(100% - 9%), 0 100%);}
    .newsBox { width: 90%; display: flex; justify-content: space-between;}
    .newsPhoto { width: 35%; }
    .newsTextArea { width: 62%; }
    .newsBox:nth-child(n+4) { display: none;}
    .topNewsArea .btnBorder { width: 65%;}

    .bgBorder { height: 45px; clip-path: polygon(0 35px, 100% 0, 100% 5px, 0 40px); margin-top: -30px;}
    .topGuideBack { clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%); top: 130px; background-size: contain; background-position: left bottom;}
    .whiteBox { margin-right: 10%; margin-left: 10%; padding: 20px; margin-top: -20px;}
    .whiteBoxRight { margin-left: 10%; margin-right: 10%; padding: 20px; margin-bottom: 150px;}

    .bgNewsArea { min-width: 90%; height: 950px}

    .whiteBoxWrap { min-width: 80%;}

    .lifeEventArea { clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);}
    .lifeTextArea { width: 100%; padding: 50px;}
    .lifePhotoArea { width: 100%;}
    .lifeClubArea { clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);}
    .lifeClubPhoto { position: relative; z-index: 1;}
    .lifeClubPhoto figure { position: static;}
    .lifeClubArea .lifeTextArea { margin-top: -50px; padding-right: 70px;}

    .topFacilityAreaBack { min-width: 90%;}
}


/*btn*/
.btnBorder { text-align: center;}
.btnBorder a { display: block; font-size: 1.4rem; text-decoration: none; border: solid 1px #000; padding: 20px;}
.btnYellow { width: 90%; margin: 40px auto; text-align: center;}
.btnYellow a { display: block; font-size: 1.6rem; text-decoration: none; font-weight: bold; background: #FFFF00; padding: 30px; line-height: 1.2;}
.btnPurple { width: 370px; margin: 0 auto; text-align: center;}
.btnPurple a { display: block; text-decoration: none; background: #533076; border: solid 1px #fff; color: #fff; font-size: 1.4rem; letter-spacing: 0.2rem; padding: 20px 0;}
.btnBlack { width: 370px; margin:40px auto; text-align: center;}
.btnBlack a { display: block; background: #302C2C; padding: 20px; color: #fff; text-decoration: none; }

.colorPurple { color: #533076;}

@media only screen and (max-width:767px){
    .btnBorder a { font-size: 1.3rem; padding: 15px;}
    .btnYellow { margin: 20px auto;}
    .btnYellow a { font-size: 1.4rem; padding: 15px;}
    .btnPurple { width: 60%;}
    .btnBlack { width: 65%;}
}


/**PAGE**/
.page main .wp-block-group { display: block; width: 100%; margin: 2rem auto; padding: 2rem 0; position: relative; }
.page main .wp-block-group__inner-container { width: 1100px; margin: 0 auto; }
.page main h3 { display: block; margin: 0 auto 2rem; font-size: 2.6rem; font-weight: 700; color: #533076; letter-spacing: 0.5rem; }
.page main figure { width: 100%; }
.page main figure img { width: 100%; }
.page main .wp-block-columns { margin-bottom:20px!important; }
@media only screen and (max-width:767px){
    .page main { padding-right: 40px; }
    .page main .wp-block-group__inner-container { width: 90%; margin: 0 auto; }
    .page main h3 { font-size: 1.6rem; letter-spacing: 0rem; }
    .page main p { font-size: 1.3rem; }
    .page main .directionReverse { flex-direction: column; }
    .page main .directionReverse div:nth-of-type(1) {order: 2;}
    .page main .wp-block-columns { margin-bottom: 0; gap: 0!important; }
}


/*沿革*/
.history main .wp-block-group { display: block; width: 100%; margin: 2rem auto; padding: 2rem 0; position: relative; }
.history main .wp-block-group__inner-container { width: 1100px; margin: 0 auto; }
.history main h3 { display: block; margin: 0 auto 2rem; font-size: 2.2rem; font-weight: 700; color: #533076; letter-spacing: 0.5rem; text-align: center; }
.history main table, .history main td { border: none; }
.history main td { border-bottom: dashed 1px #ccc ; padding: 1rem; }
.history main td:nth-of-type(1) { width: 150px; text-align: right; font-size: 1.3rem; color: #666; }
@media only screen and (max-width:767px){
    .history main .wp-block-group__inner-container { width: 90%; margin: 0 auto; }
    .history main td { width: 100%; display: block; }
    .history main td:nth-of-type(1) { width: 100%; text-align: left; font-size: 1.3rem; color: #666; border: none; }
}

/*年間行事*/
.event .pageContent .wp-block-group ul { display: flex; flex-wrap: wrap; }
.event .pageContent .wp-block-group ul li { list-style-type: circle; margin: 0.5rem 3rem; line-height: 1.0; }
.event .pageContent figcaption { font-size: 1.3rem; color: #555; }


/*コース共通*/
.curriculum .pageContent .timetable table { width: 100%; table-layout: fixed; border: none; }
.curriculum .pageContent .timetable table tr:nth-of-type(1) td { text-align: center!important; font-weight: 600; }
.curriculum .pageContent .timetable table tr td:nth-of-type(1) { width: 8rem; text-align: center; font-weight: 600; }
.curriculum .pageContent .timetable table tr td { word-wrap: break-word; border: solid 1px #ccc; font-size: 1.3rem; text-align: center; }
.curriculum .pageContent .timetable table tr td:nth-of-type(odd) { background: #f7f5e3; } 
.curriculum .pageContent .timetable table tr td:nth-of-type(even) { background: #f8f8f2; } 

.curriculum .pageContent .schedule table { width: 100%; table-layout: fixed; border: none; }
.curriculum .pageContent .schedule table tr td:nth-of-type(1) { text-align: center!important; font-weight: 600; width: 10rem; }
.curriculum .pageContent .schedule table tr td { word-wrap: break-word; border: none; border-bottom: dashed 1px #ccc; font-size: 1.3rem; vertical-align: middle; }
.curriculum .pageContent .schedule table tr:nth-of-type(odd) td { background: #f5f5f5; } 
.curriculum .pageContent .schedule table tr:nth-of-type(even) td { background: #fff; } 

.curriculum .pageContent h4 { color: #333; font-weight: 600; font-size: 2.2rem; line-height: 1.4; margin: 1rem 0; padding: 1rem 0; letter-spacing: 0.2rem; } 
.curriculum .pageContent h5 { font-weight: 600; font-size: 1.6rem; line-height: 1.0; margin: 2rem 0 1rem; } 
.curriculum .pageContent h6 { color: #333; font-weight: 600; font-size: 2.0rem; line-height: 1.0; margin: 1rem 0 2rem; } 
.curriculum .pageContent p { margin: 2rem 0; }
.curriculum .pageContent .wp-block-group { clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%); padding: 90px 0!important; margin: -80px 0!important; }
@media only screen and (max-width:767px){
    .curriculum .pageContent .timetable { overflow-x: scroll; }
    .curriculum .pageContentain .timetable table { width: 100%; min-width: 1100px; }
    .curriculum .pageContent h4 { font-size: 1.6rem; } 
    .curriculum .pageContent h5 { font-size: 1.2rem; } 
    .curriculum .pageContent h6 { font-size: 1.6rem; } 
}

/*特進 #d2568e*/
.tokushin .pageContent .pageTitle { color: #d2568e; }
.tokushin .pageContent h3 { color: #d2568e; } 
.tokushin .pageContent h4 { border-bottom: solid 2px #d2568e; } 
.tokushin .pageContent h5 { color: #d2568e; } 
.tokushin .pageContent .timetable table tr:nth-of-type(1) td { background: #d2568e!important; color: #fff; }
.tokushin .pageContent .timetable table tr td:nth-of-type(1) { color: #d2568e; }
.tokushin .pageContent .wp-block-group:nth-of-type(even) {background: rgba(210,86,142,0.05); }

/*総合系 #009cc9*/
.sougoukei .pageContent .pageTitle { color: #009cc9; }
.sougoukei .pageContent h3 { color: #009cc9; } 
.sougoukei .pageContent h4 { border-bottom: solid 2px #009cc9; } 
.sougoukei .pageContent h5 { color: #009cc9; } 
.sougoukei .pageContentin .timetable table tr:nth-of-type(1) td { background: #009cc9!important; color: #fff; }
.sougoukei .pageContent .timetable table tr td:nth-of-type(1) { color: #009cc9; }
.sougoukei .pageContent .wp-block-group:nth-of-type(even) {background: rgba(0,156,201,0.05); }

/*文化系 #d99e26*/
.bunkakei .pageContent .pageTitle { color: #be830d; }
.bunkakei .pageContent h3 { color: #be830d; } 
.bunkakei .pageContent h4 { border-bottom: solid 2px #d99e26; } 
.bunkakei .pageContent h5 { color: #be830d; } 
.bunkakei .pageContent .timetable table tr:nth-of-type(1) td { background: #d99e26!important; color: #fff; }
.bunkakei .pageContent .timetable table tr td:nth-of-type(1) { color: #be830d; }
.bunkakei .pageContent .wp-block-group:nth-of-type(even) {background: rgba(217,158,38,0.05); }

/*体育系 #87ad4b*/
.taiikukei .pageContent .pageTitle { color: #6a9721; }
.taiikukei .pageContent h3 { color: #6a9721; } 
.taiikukei .pageContent h4 { border-bottom: solid 2px #87ad4b; } 
.taiikukei .pageContent h5 { color: #6a9721; } 
.taiikukei .pageContent .timetable table tr:nth-of-type(1) td { background: #87ad4b!important; color: #fff; }
.taiikukei .pageContent .timetable table tr td:nth-of-type(1) { color: #6a9721; }
.taiikukei .pageContent .wp-block-group:nth-of-type(even) {background: rgba(135,173,75,0.05); }

/*仏教専修科 #7693a1*/
.buddhism .pageContent .pageTitle { color: #657f8b; }
.buddhism .pageContent h3 { color: #657f8b; } 
.buddhism .pageContent h4 { border-bottom: solid 2px #7693a1; } 
.buddhism .pageContent h5 { color: #657f8b; } 
.buddhism .pageContent .timetable table tr:nth-of-type(1) td { background: #7693a1!important; color: #fff; }
.buddhism .pageContent .timetable table tr td:nth-of-type(1) { color: #657f8b; }
.buddhism .pageContent .wp-block-group:nth-of-type(even) {background: rgba(118,147,161,0.05); }
.buddhism .pageContent .timetable table tr td:nth-of-type(odd) { background: #f5f5f5; } 
.buddhism .pageContent .timetable table tr td:nth-of-type(even) { background: #fff; } 
.buddhism .pageContent .timetable table tr td:nth-of-type(1) { width: 20rem; font-weight: 600; }

/*進路*/
.career .pageContent ul { list-style-type: circle; list-style-position: outside; padding-left: 4rem; }
.career .pageContent h4 { color: #fff; padding: 0.7rem 1rem; margin: 3rem auto 1rem; }
.career .pageContent h5 { margin: 1rem 0 1rem 1rem; padding: 0 0 0.7rem 0; font-size: 2.0rem; border-bottom: solid 1px; line-height: 1.4; }
.career .pageContent h6 { margin: 1rem 0 1rem 1rem; font-size: 2.0rem; }
.career .pageContent p { margin: 1rem 0 1rem 1rem; font-size: 1.4rem; }
.career .pageContent .place { margin: 1rem 0 1rem 1rem; font-size: 1.6rem; font-weight: 600; color: #333 }
.career .pageContent .course { margin: 1rem 0 0 1rem; font-size: 1.4rem; font-weight: 600;; }

.career .pageContent #tokushin h3 { color: #d2568e; }
.career .pageContent #tokushin h4 { background: #d2568e; }
.career .pageContent #tokushin h5 { color: #d2568e; border-color: #d2568e; }
.career .pageContent #tokushin .course { color: #d2568e; }

.career .pageContent #sougoukei h3 { color: #009cc9; }
.career .pageContent #sougoukei h4 { background: #009cc9; }
.career .pageContent #sougoukei h5 { color: #009cc9; border-color: #009cc9; }
.career .pageContentin #sougoukei .course { color: #009cc9; }

.career .pageContent #bunkakei h3 { color: #be830d; }
.career .pageContent #bunkakei h4 { background: #d99e26; }
.career .pageContent #bunkakei h5 { color: #be830d; border-color: #d99e26; }
.career .pageContent #bunkakei .course { color: #be830d; }

.career .pageContent #taiikukei h3 { color: #6a9721; }
.career .pageContentin #taiikukei h4 { background: #87ad4b; }
.career .pageContent #taiikukei h5 { color: #6a9721; border-color: #87ad4b; }
.career .pageContent #taiikukei .course { color: #6a9721; }

.career .pageContent #shido p { font-size: 1.6rem; }
.career .pageContent #shido h3 { color: #533076; }
.career .pageContent #shido h4 { background: #533076; }
.career .pageContent #shido h5 { color: #533076; border-color: #533076; }
.career .pageContent #shido .course { color: #533076; }


/*scholarship*/
/*.scholarship main .flex { display: flex; justify-content: space-between; }*/
.scholarship .joken-area { border: solid 1px #ccc; padding: 10px;}
.scholarship .setai-area { border: solid 1px #ccc; padding: 10px;}
.scholarship .nyugaku { width: 48%;}
.scholarship .getugaku { width: 48%;}
.scholarship table { border-collapse: collapse; width: 100%;}
.scholarship table th { border: solid 1px #999; padding: 10px; font-size: 14px; background: #eee;}
.scholarship table td { border: solid 1px #999; padding: 10px; font-size: 14px; background: #fff; }
.scholarship table thead th { background: #727171; color: #fff;}
.scholarship table thead td { background: #727171; color: #fff;}
.scholarship table .class1 { background: #F7C9DD; color: #000;}
.scholarship table .class2 { background: #BAE3F9; color: #000;}
.scholarship table .class3 { background: #FFFBC7; color: #000;}
.scholarship .kekka-area { padding: 1rem; background: #FFF3D9; border-radius: 10px; }
.scholarship .kekka-area table th { width: 50%;}
/*.post-157 .kekka-area table td { width: 50%; text-align: right;}*/
.scholarship .kekka-area table td { width: 50%; text-align: right;}
.scholarship .form { margin-bottom: 10px;}
.scholarship .form select { width: 100%; padding: 5px; border: solid 3px #666; }
.scholarship .yajirushi { text-align: center; font-size: 25px;}
.scholarship .noActive { display: none;}
/*.scholarship .btn p { font-size: 18px; color: #fff; width: 50%; margin: 0 auto; padding: 5px 0; border: solid 1px #999; border-radius: 50px; cursor: pointer; text-align: center; background: #f8590d;}
.scholarship .btn p:hover {opacity: 0.7;}*/
.scholarship p.small { font-size: 12px;}
.scholarship table .small { font-size: 10px; display: block;}

.scholarship-table { table-layout: fixed; box-sizing: border-box; width: 100%; }
.scholarship-table th span { display: block; font-size: 0.8em; font-weight: normal; text-align: left; }
.scholarship-table .right { text-align: right!important; }
.scholarship-table .center { text-align: center!important; }
.scholarship-table .left { text-align: left!important; }
.scholarship-table .w10p { width: 10%!important; }
.scholarship-table .w40p { width: 40%!important; }

.scholarship table .small { /*color: #f8590d;*/ }
.scholarship .kekka-area5 .flex { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
.scholarship .kekka-area5 .flex div { width: 315px; margin: 10px; padding: 10px; border: solid 1px #666; border-radius: 10px; }
.scholarship .kekka-area5 .flex div ul li { font-size: 0.8rem; }
.scholarship .kekka-area5 .flex div h6 { width: auto; margin-top: 0; }
.scholarship .kekka-area5 .flex div h6 span { display: block; }

.scholarship .kekka-area6 { margin: 2rem auto; padding: 1rem; border: solid 1px #ccc; border-radius: 10px; }
.scholarship .kekka-area6 ul { padding-left: 1rem; margin: 0 auto; list-style-type: circle; }
.scholarship .kekka-area6 ol { padding-left: 1rem; margin: 0 auto; list-style-type: decimal; }
.scholarship .kekka-area6 li { font-size: 0.7rem; }
.scholarship .kekka-area6 p { font-size: 0.7rem; margin: 0.5rem auto; }

.scholarship .pageContent ul { display: block; list-style-type: disc; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; padding-inline-start: 40px; }
.scholarship .pageContent ol { display: block; list-style-type: decimal; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; padding-inline-start: 40px; }
.scholarship .pageContent .btn { background: #0088b8!important; }
.scholarship2 .pageContent .btn { background: #0088b8!important; }


/*施設設備*/
.facilities img.map { width: 80%; height: auto; display: block; margin: 0 auto; }
.facilities .mapList { display: block; margin: 2rem auto; padding: 2rem; background: #f5f5f5; border-radius: 10px; display: flex; }
.facilities .mapList div { width: calc(100% / 5); display: flex; align-items: center; margin: 1rem; }
.facilities .mapList div h4 { width: 3.0rem; height: 3.0rem; background: #ed1e79; color: #fff; text-align: center; margin-right: 1rem; font-size: 1.6rem; font-weight: 700; border-radius: 5rem; }
.facilities .mapList div p a { font-size: 1.6rem; font-weight: 500; color: #333; text-decoration: none; }
@media only screen and (max-width:767px){
    .facilities img.map { width: 100%; }
    .facilities .mapList div { width: calc(100% / 1); display: flex; align-items: center; margin: 1rem; }
    .facilities .mapList div h4 { width: 2.0rem; height: 2.0rem; font-size: 1.2rem; }
    .facilities .mapList div p a { font-size: 1.2rem; }
}

.inquiry .pageContent { }


/*部活動*/
.pageNewsBack { background: url(images/news-back.png); clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%); padding: 120px 0; margin-right: 5%; padding-left: 5%;}
.pageNewsBack .inner { background: #fff; padding: 20px 30px;}
.clubNews li { border-bottom: dashed 1px #ccc;}

.clubBack { background: #FFF4D9; padding: 10px 0 50px; margin: 30px 0;}
.senmonWaku { width: 130px; border: #F60 solid 1px; background: #FFF3D9; font-size: 12px; display: block; margin: 0 0 10px 20px; text-align: center;}
.activeBox { margin: 10px 5px; padding: 1px; border: 1px rgba(139,139,139,1.00) solid; text-align: center;}
.activeBox figure { width: 100%; height: 260px; margin-bottom: 0;}
.activeBox img { width: 100%; height: 100%; object-fit: cover;}
.activeBoxTitle { font-size: 1.6rem; font-weight: bold;}
.activeBox.senmon { border: #F60 solid 1px; background: #FFF3D9;}
.actMainImg { height: 470px; background-repeat: no-repeat; background-size: contain; background-position: center;}
.actMainImg a { display: block; width: 100%; height: 100%;}
.actSubImg { height: 215px; background-repeat: no-repeat; background-size: contain; background-position: center;}
.actSubImg a { display: block; width: 100%; height: 100%;}
.actSubImg + .actSubImg { margin-top: 40px;}
.actContArea { margin-bottom: 60px;}
.actContArea dl { border-bottom: 1px #ccc dotted; margin: 5px 0 5px 20px; padding: 5px;}
.actContArea dt { width: 150px; background: #f5f5f5; padding: 5px 10px; text-align: center;}
.actContArea dd { width: calc(100% - 170px); padding: 5px 0; text-align-last: left;}
.actRecords { margin: 10px 0 10px 30px;}
.actNewsList { margin: 10px 0 10px 30px; gap: 10px 1%;}
.actNewsList li { width: 24%; height: 270px; display: block; border: solid 1px #ccc; overflow: hidden;}
.actNewsList li a { display:block; text-decoration:none; color:#333; padding:10px; }
.actNewsDate { font-size: 1.2rem;}
.actNewsTitle { font-size: 1.4rem;}
.actNewsPframe { width: 100%; height: 150px; margin: 10px 0;}
.actNewsPframe img { width: 100%; height: 100%; object-fit: cover; object-position: center;}

@media only screen and (max-width:767px){
    .activeBox {width: 48%;}
    .activeBox figure { height: 140px;}

    .actMainImg { width: 100%; height: 230px;}
    .actSubImg { height: 230px;}
    .actSubImg + .actSubImg { margin-top: 10px;}

    .actContArea dd { word-wrap: break-word;}
}

/*部活動からのお知らせ*/
.clubNewsBox {/* width: 238px; */overflow: hidden;}
.clubNewsBox a { display: block; height: 100%; color:
#333; text-decoration: none; position: relative;}
.clubNewsBox a:hover { opacity: 0.5;}
.clubNewsBox figure { margin: 0; height: 100%; background: #999;overflow: hidden; display: flex; align-items: center;}
.clubNewsBox figure img {height: 100%; width: 100%; object-fit: contain;}
.cNewsTextArea { font-size: 12px; color: #fff; background: rgba(0, 0, 0, 0.5); position: absolute; bottom: 0; left: 0; width: 100%; margin: 0; padding: 2px;}
.cNewsTextArea span { display: block; height: 16px; line-height: 1.0;}

.clubNewsList {
    display: grid;
    /*grid-template-rows: 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px;
    grid-template-columns: 240px 240px 240px;*/
    grid-template-rows: 276px 276px 276px 276px 276px 276px 276px 276px 276px 276px 276px 276px 276px 276px;
    grid-template-columns: 367px 367px 367px;
    }
.clubNewsBox:nth-child(1) {
    grid-row: 1/3;
    grid-column: 1/3;
 }
.clubNewsBox:nth-child(7) {
    grid-row: 4/6;
    grid-column: 2/4;
 }
.clubNewsBox:nth-child(13) {
    grid-row: 7/9;
    grid-column: 1/3;
 }
.clubNewsBox:nth-child(19) {
    grid-row: 10/12;
    grid-column: 2/4;
 }
 .clubNewsBox:nth-child(26) {
    grid-row: 13/15;
    grid-column: 1/3;
 }

 @media only screen and (max-width:767px){
    .clubNewsList { display: block;}
    .clubNewsBox { width: 100%;}
 }
 
 

/*お知らせ・ニュース一覧*/
.allNews { padding-top: 80px; margin-top: -80px;}
.newsList { width: 90%; margin: 0 auto; background: #fff; padding: 30px 40px;}
.newsList li { display: flex; gap: 1rem; align-items: center; padding: 5px 0; list-style: circle; border-bottom: dashed 1px #ccc; }
.newsList .newsDate { width: 90px;}
.newsList .newsIco { width: 60px; font-size: 1.2rem; text-align:center; color: #fff;}
.newsList .newsIco.ico-activities { background-color:#478F96; }
.newsList .newsIco.ico-etc { background-color:#999; }
.newsList .newsIco.ico-exam { background-color:#FA8C2D; }
.newsList .newsIco.ico-alumni { background-color:#C4BBDD; }
.newsList .newsIco.ico-student { background-color:#7eb0b5; }
.newsList .newsIco.ico-magazine { background-color:#6A52A3; }
.newsList .newsIco.ico-event { background-color:#6688EE; }
.newsList .newsIco.ico-inschool { background-color:#7eb0b5; }
.newsList .newsTitle { font-weight: bold;}

/*single*/
.single-post p { margin: 10px 0;}

/*スライダー用*/
.sliderWrapper { overflow: hidden;}
.sliderArea { 
    position: relative;
    width: 950px;
    height: 335px;
    margin: 50px auto;
}
.swiper { width: 100%; height: 100%; overflow: visible;}
.swiper-slide {
    /*スライド要素の幅と高さを調整*/
    width: 100%;
    height: 100%;

    /*テキストの位置調整*/
    display: flex;
    justify-content: center;
    align-items: center;

    /*テキストの色と太さを指定*/
    color: #fff;
    font-weight: bold;
    opacity: 0.5;
    background: #fff;
    box-shadow: 0 0 5px #555, 0 0 15px #555;
}
.swiper-slide-visible { opacity: 1;}
.swiper-slide a { display: block; width: 100%; height: 100%;}
.swiper-slide img { width: 100%; height: 100%; object-fit: cover;}

.swiper-pagination { bottom: -20px!important;}
.swiper-button-prev { left: -35px!important;}
.swiper-button-next { right: -35px!important;}
.swiper-button-next,.swiper-button-prev { color: #674489!important;}
.swiper-pagination-bullet-active { background: #533076!important;}

@media only screen and (max-width:767px){
    .sliderArea { width: calc(100% - 60px); height: auto; margin: 25px auto 40px 10px;}
    .swiper-button-next,.swiper-button-prev { display: none;}
}

/*snsリンク集*/
main .linkSns figure { width: auto;}
.link h4 { font-size: 2.2rem; font-weight: 600; letter-spacing: 0.1rem; margin-bottom: 15px; border-bottom: solid 1px #4D0C66;}
@media only screen and (max-width:767px){
    main .linkSns { margin-bottom: 2rem!important;}
    .link h4 { font-size: 1.6rem; margin: 2rem auto;}
    .link .wp-block-button { margin: 10px auto!important;}
}

/*sitemap*/
.sitemapContInner { margin: 10px; padding: 20px; background: rgba(255,255,255,0.7); }
.sitemapContent .firstParent { margin: 0 auto 2.5rem; padding: 2rem 0 0; background: #fff; }
.sitemapContent .firstChild { display: block; width: 100%; padding: 1rem; border-bottom: solid 1px #533076; color: #533076; text-decoration: none; font-size: 1.8rem; font-weight: 600; }
.sitemapContent .firstParent ul { display: flex; flex-wrap: wrap; padding: 1rem; width: calc(100% - 300px); }
.sitemapContent .firstParent ul li { margin:1rem; }
.sitemapContent .secondChild { padding: 0.7rem 1rem; font-size: 1.6rem; font-weight: 600; text-decoration: none; }
.sitemapContent .secondChild:hover { background:#533076; color: #fff; border-radius: 20px; }
.sitemapSubContent { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 30px; }
.sitemapSubContent .firstChild { border-right: solid 1px #666; }
.sitemapSubContent .firstChild a { padding: 0.7rem 1rem; text-align: center; text-decoration: none; line-height: 1.2; color: #333; font-size: 1.4rem; font-weight: 500; }
.sitemapSnsArea { width: 90%; background:#533076; margin: 50px auto; padding: 2rem; display: flex; justify-content: center; align-items: center; flex-wrap: wrap;}
.sitemapSnsArea a { width: 40px; margin: 0 20px; }
.sitemapSnsArea a img { width: 100%; }
.sitemapSnsArea p { width: 100%; border-bottom: solid 1px #fff; margin-bottom: 15px;}
@media only screen and (max-width:767px){
    .sitemapContent .firstParent { display: block; margin: 1rem auto; }
    .sitemapContent .firstChild { width: 100%; }
    .sitemapContent .firstParent ul { display: block; width: 100%; }
    .sitemapContent .firstParent ul li { margin:2rem 1rem; list-style-type: circle; }
    .sitemapContent .secondChild { font-size: 1.4rem; font-weight: 600; }
    .sitemapSubContent { display: block; padding: 2rem; background: rgba(255,255,255,0.7); }
    .sitemapSubContent .firstChild { margin: 1rem; border-right: none; list-style-type: disc; }
    .sitemapSubContent .firstChild a {text-align: left; padding: 1rem 0; }
}



/*出願特設*/
.application-2 .pageContent .listDisc a { font-size: 1.8rem; font-weight: 700; padding: 0.5rem 1rem; background: #333; color: #fff; text-decoration: none; }




/*bannerエリアのバナーにNewアイコン出す*/
.bannerArea a { position: relative; }
.bannerArea a.new::before { content:'new'; position: absolute; top: -10px; left: -10px; background: #CC0000; color: #fff; font-size: 1rem; font-weight: 700; width: 30px; height: 30px; border-radius: 15px; padding: 8px 5px 0; }


/*2024年4月剣道当番校*/
.kendo2024 ul { list-style-type: circle; padding-left:3rem; }
.kendo2024 ol { list-style-type: decimal; padding-left:3rem; }
.kendo2024 li { margin: 1rem 0; }
.kendo2024 strong { font-weight: 700; }


/*部活動見学会申込みフォーム*/
/*資料請求*/
.club-taiken2024 .pageContent table { width: 90%; margin: 2rem auto; }
.club-taiken2024 .pageContent table tr td:nth-of-type(1) { width: 240px; vertical-align: middle; background: #fff; color: #533076; font-size: 1.6rem;}
.club-taiken2024 .pageContent select {  margin: 0.5rem; padding: 0.7rem 1rem; font-size: 1.6rem; color: #333; }
.club-taiken2024 .pageContent .mwform-checkbox-field-text {  margin: 0.7rem 0; padding: 0.5rem; font-size: 1.6rem; color: #333; }
.club-taiken2024 .pageContent input { margin: 0.5rem; padding: 0.7rem 1rem; font-size: 1.6rem; color: #333; }
.club-taiken2024 .pageContent .mwform-zip-field input { width: 100px; }
.club-taiken2024 .pageContent textarea { width: 100%; margin: 0.5rem; padding: 0.7rem 1rem; font-size: 1.6rem; color: #333; }
.club-taiken2024 .pageContent .nameField input { width: 30%; }
.club-taiken2024 .pageContent .p-locality { width: 60%; }
.club-taiken2024 .pageContent .p-street-address { width: 60%; }
.club-taiken2024 .pageContent .p-extended-address { width: 60%; }
.club-taiken2024 .pageContent input[type=email] { width: 60%; }

.requiredItem { width: 35px; background: #cc0202; color: #fff; padding: 5px 10px; font-size: 1.2rem;}
.requiredItemNo { display: inline-block; width: 43px;}
.mw_wp_form_preview .table02 td span { display: none;}
@media only screen and (max-width:768px){
    .club-taiken2024 .pageContent table { width: 100%; }
    .club-taiken2024 .pageContent tbody { width: 100%; }
    .club-taiken2024 .pageContent table tr td:nth-of-type(1) { width: 100%; }
    .club-taiken2024 .pageContent input { width: 100%; }
    .club-taiken2024 .pageContent input[type=checkbox] { width: auto; }
    .club-taiken2024 .pageContent .mwform-tel-field input { width: 25%; }
    .requiredItem { display: block; width: 80px; text-align: center; margin: 0 8px 10px;}
    .requiredItemNo { display: none;}
}



.topExamBtn { width: 420px; height: auto; display: block; background: #c0272d; position: absolute; top: 20px; left: 6%; box-shadow: 0 0 5px #555, 0 0 15px #555; }
.topExamBtn:hover { background: #FA8C2D; }
.topExamBtn a { display: block; padding: 2.1rem 4.2rem; text-align: center; color: #fff; font-weight: 700; font-size: 2.1rem; text-decoration: none;  }

@media only screen and (max-width:768px){
    .topExamBtn { width: 80%; top: 5px; left: 5%;  }
    .topExamBtn a { padding: 1.4rem; font-weight: 700; font-size: 1.4rem; }

}

/*中学校専用ページ申込みフォーム*/
.for_teachers .pageContent table { width: 90%; margin: 2rem auto; }
.for_teachers .pageContent table tr td:nth-of-type(1) { width: 240px; vertical-align: middle; background: #fff; color: #533076; font-size: 1.6rem;}
.for_teachers .pageContent select {  margin: 0.5rem; padding: 0.7rem 1rem; font-size: 1.6rem; color: #333; }
.for_teachers .pageContent .mwform-checkbox-field-text {  margin: 0.7rem 0; padding: 0.5rem; font-size: 1.6rem; color: #333; }
.for_teachers .pageContent input { margin: 0.5rem; padding: 0.7rem 1rem; font-size: 1.6rem; color: #333; }
.for_teachers .pageContent .mwform-zip-field input { width: 100px; }
.for_teachers .pageContent textarea { width: 100%; margin: 0.5rem; padding: 0.7rem 1rem; font-size: 1.6rem; color: #333; }
.for_teachers .pageContent .nameField input { width: 30%; }
.for_teachers .pageContent .p-locality { width: 60%; }
.for_teachers .pageContent .p-street-address { width: 60%; }
.for_teachers .pageContent .p-extended-address { width: 60%; }
.for_teachers .pageContent input[type=email] { width: 60%; }

.requiredItem { width: 35px; background: #cc0202; color: #fff; padding: 5px 10px; font-size: 1.2rem;}
.requiredItemNo { display: inline-block; width: 43px;}
.mw_wp_form_preview .table02 td span { display: none;}
@media only screen and (max-width:768px){
    .for_teachers .pageContent table { width: 100%; }
    .for_teachers .pageContent tbody { width: 100%; }
    .for_teachers .pageContent table tr td:nth-of-type(1) { width: 100%; }
    .for_teachers .pageContent input { width: 100%; }
    .for_teachers .pageContent input[type=checkbox] { width: auto; }
    .for_teachers .pageContent .mwform-tel-field input { width: 25%; }
    .requiredItem { display: block; width: 80px; text-align: center; margin: 0 8px 10px;}
    .requiredItemNo { display: none;}
}

.pastexamquestion .pageContent .btn { background: #444; padding: 1.5rem; }
.pastexamquestion .pageContent .btn::before { top: 40%; }
.pastexamquestion .pageContent .btn:hover { background: #0088b8; }
.pastexamquestion .pageContent .btn a { font-size: 1.6rem; font-weight: 500; color: #fff!important; text-decoration: none; }
