@charset 'UTF-8';

h4 span {
    margin-left: 10px;
    font-size: 1.2rem;
}
/*.font_teian {
    font-size: 1.4rem;
    color: #333;
    font-family: "メイリオ", "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, sans-serif;
}

.font_teian_h3 {
    font-size: 1.5rem;
    color: #333;
    font-family: "メイリオ", "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, sans-serif;
}*/
.sub {
    margin: 20px auto 0;
}
/*
.half_box, .half_box2 {
    width: 100%;
}
*/

.half_box > li img,
.half_box2 > li img  {
    vertical-align: top;
    width: 100%;
    height: auto;
}




img {
    max-width: 100%;
}

.main_title {
    width: 100%;
    height: 150px;
    line-height: 150px !important;
    text-align: center;
    font-size: 36px;
    background-color: #ccc;
    color: #fff;
}
.main_title img {
    vertical-align: middle;
    margin-right: 20px;
    width: 46px;
    height: 46px;
    top: -4px;
    position: relative;
}



#privacy_box {
    border: 1px solid #cccccc;
    padding: 20px;
    overflow-y: auto;
    /*height: 250px;*/
    height: 400px;
}

.privacy_body #privacy_box {
    height: auto;
    border: none;
    overflow-y: visible;
    padding: 0;
}
#privacy_box h2 {
    margin-top:2em;
}
#privacy_box h3 {
    line-height:1.4;
    margin-left:2em;
    text-indent:-2em;
    margin-top:1em;
    margin-bottom:0.5em;
}
#privacy_box ol {
    margin-top:1em;
}
#privacy_box ol li {
    margin-left:2em;
    text-indent:-2em;
    line-height:1.2;
    margin-bottom:0.8em;
}

.paragraph img {
    max-width: 100%;
}

/* 第一階層トップイメージ
----------------------------------------------------------*/
#main_image .imgblock {
    background-color:#fff;
    background-position:center center;
    background-size:auto 100%;
    background-repeat: no-repeat;
}
#main_image .imgblock.about {
    background-image:URL("/wp-content/themes/josuikan/img/cmn/img_about_sp.jpg");
}
#main_image .imgblock.junior {
    background-image:URL("/wp-content/themes/josuikan/img/cmn/img_junior_sp.jpg");
}
#main_image .imgblock.high {
    background-image:URL("/wp-content/themes/josuikan/img/cmn/img_high_sp.jpg");
}
#main_image .imgblock.life {
    background-image:URL("/wp-content/themes/josuikan/img/cmn/img_life_sp.jpg");
}
#main_image .imgblock.club {
    background-image:URL("/wp-content/themes/josuikan/img/cmn/img_club_sp.jpg");
}
#main_image .imgblock.access {
    background-image:URL("/wp-content/themes/josuikan/img/cmn/img_access_sp.jpg");
}
#main_image .imgblock.junior_high {
    background-image:URL("/wp-content/themes/josuikan/img/openschool/img_h30ops_j_top.png");
}
#main_image .imgblock.senior_high {
    background-image:URL("/wp-content/themes/josuikan/img/openschool/img_h30ops_h_top.png");
}


/* 部活動
----------------------------------------------------------*/
.club_list {
}
.club_list.link_category>li {
    display: inline-block;
    padding: 4px;
    width: 30%;
}
.club_list.link_category>li>a {
    display: block;
    position: relative;
    padding-left: 24px;
    overflow:hidden;
}
.imgtile .club_list  {
	line-height:0;
}
.imgtile .club_list li {
    display: inline-block;
    width: 33.3%;
}
.imgtile .club_list li a {
    display: block;
    position:relative;
    z-index:1;
    overflow:hidden;
    background:#fafafa;
    border:solid 1px #ffffff;
    box-sizing:borderbox;
    -webkit-transition:all 0.1s ease-out 0s;
   	transition:all 0.1s ease-out 0s;
}
.imgtile .club_list li:nth-of-type(even) a {
    background:#ededed;
}
/*
.imgtile .club_list li a:before {
	content:"";
	display:block;
	position:absolute;
	top:50%;
	bottom:50%;
	left:50%;
	right:50%;
    z-index:-1;
    opacity:0;
    border-radius:50%;
    background:rgba(221,145,62,1);
    -webkit-transition:all 0.3s ease-out 0s;
   	transition:all 0.3s ease-out 0s;
}
.imgtile .club_list li a:hover:before {
	top:0%;
	bottom:0%;
	left:0%;
	right:0%;
    z-index:0;
    opacity:0.5;
    border-radius:0;
}
*/
.imgtile .club_list li a img{
    width:100%;
    height:auto;
    vertical-align:middle;
    position:relative;
    z-index:1;
}
.imgtile .club_list li a span {
    display: block;
    position:absolute;
    bottom:0;
    width:100%;
    padding:0.5em 0;
    font-size:0.8em;
    line-height:1.2;
    text-align:center;
    z-index:1;
    color:#fff;
    background:rgba(221,145,62,0.5);
    -webkit-transition:all 0.1s ease-out 0s;
   	transition:all 0.1s ease-out 0s;
}
.imgtile .club_list li a:hover {
    box-shadow:inset 0 0 0 6px rgba(221,145,62,0.5);
}

.clubbox {
    padding: 20px;
    background:#fff;
}
.clubbox dt {
    font-weight: bold;
    background:#ddd;
    text-align:center;
    margin:0 0 0.5em;
}
.clubbox dd {
    margin-bottom: 20px;
    font-size:0.9em;
    line-height:1.6;
    letter-spacing:0.1em;
    color:#666;
}
.clubbox .imagebox {
    width: 48%;
    display: inline-block;
    margin: 10px 0;
}
.clubbox .imagebox img {
    /*background-color: #ccc;*/
    width: 100%;
    height: auto;
}
.clubbox .textbox {
    width: 48%;
    display: inline-block;
    float: right;
    margin: 10px 0;
}
.clubdetailbody {
    padding:32px;
    background:#fff;
    max-width:100%;
    margin:0 auto;
}
.clubdetailbody .clubbox {
    margin:0;
    padding:0;
    max-width:720px;
}
.clubdetailbody .clubbox .imagebox
.clubdetailbody .clubbox .textbox {
    width:48%;
}

/* 如水館について　トップ
----------------------------------------------------------*/
#seisin h3 { font-size:1.2em; line-height:1.6; }
#seisin .attenttext { font-size:1em; line-height:1.8; }
#seisin .seisincomment p { font-size:0.8em; line-height:1.4; text-align:left;}

#aboutmenu ul.sub-menu dt {
    position:relative;
    border-radius:50%;
    border:solid 2px #596db3;
    background:#596db3;
    overflow:hidden;
    max-width:204px;
    margin:0 auto;
    box-sizing:border-box;
}
#aboutmenu ul.sub-menu dd {
    color:#333;
    font-size:0.9em;
    line-height:1.4;
    margin-top:4px;
}
#aboutmenu ul.sub-menu li a dt img {
    vertical-align:middle;
    max-width:200px;
    width:100%;
    height:auto;
    border-radius:50%;
    -webkit-transition:all 0.1s linear 0s;
    transition:all 0.1s linear 0s;
}
#aboutmenu ul.sub-menu li a:hover dt img {
    opacity:0;
}
#aboutmenu ul.sub-menu li a dt {
    background-position:center center;
    background-repeat:no-repeat;
    background-size:100% auto;
}

#aboutmenu ul.sub-menu li:nth-of-type(1) a dt {
    background-image:URL("../img/about/img_hoshin_on2.png");
}
#aboutmenu ul.sub-menu li:nth-of-type(2) a dt {
    background-image:URL("../img/about/img_gaiyou_on2.png");
}
#aboutmenu ul.sub-menu li:nth-of-type(3) a dt {
    background-image:URL("../img/about/img_uniform_on2.png");
}
#aboutmenu ul.sub-menu li:nth-of-type(4) a dt {
    background-image:URL("../img/about/img_schoolsong_on2.png");
}
#aboutmenu ul.sub-menu li:nth-of-type(5) a dt {
    background-image:URL("../img/about/img_syougakukin_on2.png");
}
#aboutmenu ul.sub-menu li:nth-of-type(6) a dt {
    background-image:URL("../img/about/img_enkaku_on2.png");
}
#aboutmenu ul.sub-menu li:nth-of-type(7) a dt {
    background-image:URL("../img/about/img_ryo_on2.png");
}

/* 如水館について　校章・制服
----------------------------------------------------------*/
.uniform {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}
.uniform:nth-of-type(2) {
    float: right;
}
.uniform img {
    max-width: 100%;
}
/* 如水館について　学校概要・キャンパス案内
----------------------------------------------------------*/
.kousha {
    margin: 20px 0;
}
.kousha dt {
    width: 60%;
    display: inline-block;
    vertical-align: top;
}
.kousha dt img {
    max-width: 100%;
}
.kousha dd {
    float: right;
    width: 40%;
    display: inline-block;
    vertical-align: top;
}

/* 如水館について　寮
----------------------------------------------------------*/
table {
    min-width: 70%;
    max-width: 100%;
    margin:1em auto 0;
}
table , td, th {
    border: 1px solid #cccccc;
    border-collapse: collapse;
}
td, th {
    padding: 8px;
    line-height:1.4;
}
th {
    background: #EfEfEf;
    vertical-align:middle;
	font-size:0.9em;
	font-weight:bold;
}
td {
    font-size:0.9em;
}
td.tta_c { text-align:center; }
td.tta_r { text-align:right; }
td.tva_m { vertical-align:middle; }
td.tva_b { vertical-align:bottom; }
table.junior th,
th.junior {
    background: rgba(237,203,0,0.2);
}
table.high th,
th.high {
    background: rgba(85,168,222,0.2);
}
.width_10 tr td {
    width: 10%;
}
.width_33 tr td {
    width: 33%;
}
.tablewapper {
    width:100%;
    overflow-x:auto;
}
.tablewapper table {
    min-width: 680px;
}





/* 高校　TOP
----------------------------------------------------------*/
#introduction .bg_dot {
    /*padding: 40px 0;*/
    padding: 40px 2.5%;
    width: 105%;
    margin-left: -2.5%;
}
#introduction .bg_dot > div.narrow {
    margin: 0px auto;
}
#introduction .bg_dot ul li {
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 0;
    transition:all 0.1s linear 0s;
}
.sub li>a,
#introduction .bg_dot ul li>a {
	display:block;
	margin:0;
	padding:0;
	text-indent:0;
	text-decoration:none;
	margin:0 auto;
}
ul._1to1to1_box li a img,
ul.half_box2 li a img,
#introduction .bg_dot ul li img {
    vertical-align:middle;
}
ul._1to1to1_box li a h5,
ul._1to1to1_box li a p,
ul.half_box2 li a h5,
ul.half_box2 li a p {
    padding: 0 1rem;
    margin-top: 1rem;
}
#introduction .bg_dot ul li h5,
#introduction .bg_dot ul li p {
    padding: 0 2rem;
    margin-top: 1rem;
}
a p {
	text-decoration:none;
	color:initial;
}
.sub li a:hover,
#introduction .bg_dot li a:hover {
	text-decoration:none;
}
.sub li a:hover h5,
#introduction .bg_dot a:hover h5 {
	text-decoration:underline;
}
ul._1to1to1_box li a h5,
ul.half_box2 li a h5 {
	position: relative;
	font-size: 1.8rem;
	margin-left:1rem;
    padding-left: 2.4rem;
    text-align: left;
    font-weight:bold;
}
#introduction .bg_dot ul li h5 {
	position: relative;
	font-size: 1.8rem;
	margin-left:2rem;
    padding-left: 3.4rem;
    text-align: left;
    font-weight:bold;
}
/*
#introduction .bg_dot ul li h5 span.arrow {
	margin:0;
	padding:0;
	text-indent:0;
	left:0%;
}
*/
#courses ul li img,
#bunbu_ryodo ul li img {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
/*#courses .half_box2 li,
#courses ._1to1to1_box li {

    margin-bottom:35px;
}*/
#jyuken a,
#bunbu_ryodo ul li a,
#courses ul li a {
    transition:all 0.1s linear 0s;
    /*overflow:hidden;*/
    border-radius: 10px;
}
#courses .half_box2 > li:nth-of-type(1) {
    margin-left: 0;
}
#courses .half_box2 > li:nth-of-type(3) {
    margin-right: 0;
}
.bunbu_body #kentei .sub,
.bunbu_body #club .sub {
background-color: rgba(237,203,0,0.1);
padding: 20px 8px 40px 8px;
}

/* 高校　進路
----------------------------------------------------------*/
#schedule>div:after {
    display:none;
}
#schedule>div {
    display:table;
    width:100%;
}
#schedule dl {
    display:table-cell;
    width:33.3%;
    border:solid 1px #fff;
}
#schedule>div:nth-of-type(4) dl:nth-of-type(1) dt {
    background:#e3441d;
}
#schedule>div:nth-of-type(4) dl:nth-of-type(2) dt {
    background:#0075b1;
}
#schedule>div:nth-of-type(4) dl:nth-of-type(3) dt {
    background:#e57771;
}
#schedule>div:nth-of-type(1) dl:nth-of-type(1) dt {
    background:#84b523;
}
#schedule>div:nth-of-type(1) dl:nth-of-type(2) dt {
    background:#00a299;
}
#schedule>div:nth-of-type(1) dl:nth-of-type(3) dt {
    background:#9d458b;
}
#schedule>div:nth-of-type(2) dl:nth-of-type(1) dt {
    background:#00a2dd;
}
#schedule>div:nth-of-type(2) dl:nth-of-type(2) dt {
    background:#e9810c;
}
#schedule>div:nth-of-type(2) dl:nth-of-type(3) dt {
    background:#336825;
}
#schedule>div:nth-of-type(3) dl:nth-of-type(1) dt {
    background:#ab7600;
}
#schedule>div:nth-of-type(3) dl:nth-of-type(2) dt {
    background:#89451f;
}
#schedule>div:nth-of-type(3) dl:nth-of-type(3) dt {
    background:#415094;
}
#schedule>div:nth-of-type(4) dl:nth-of-type(1) {
    background:#fdefeb;
}
#schedule>div:nth-of-type(4) dl:nth-of-type(2) {
    background:#e8f3f8;
}
#schedule>div:nth-of-type(4) dl:nth-of-type(3) {
    background:#fef3f2;
}
#schedule>div:nth-of-type(1) dl:nth-of-type(1) {
    background:#f4f8ec;
}
#schedule>div:nth-of-type(1) dl:nth-of-type(2) {
    background:#e8f6f6;
}
#schedule>div:nth-of-type(1) dl:nth-of-type(3) {
    background:#f6eff5;
}
#schedule>div:nth-of-type(2) dl:nth-of-type(1) {
    background:#e8f7fc;
}
#schedule>div:nth-of-type(2) dl:nth-of-type(2) {
    background:#fdf4ea;
}
#schedule>div:nth-of-type(2) dl:nth-of-type(3) {
    background:#eef2ec;
}
#schedule>div:nth-of-type(3) dl:nth-of-type(1) {
    background:#f8f3e9;
}
#schedule>div:nth-of-type(3) dl:nth-of-type(2) {
    background:#f5eeeb;
}
#schedule>div:nth-of-type(3) dl:nth-of-type(3) {
    background:#eef0f5;
}
#schedule dl dt {
    position: relative;
    padding: 8px;
    background: linear-gradient(transparent 0%, #e6e8f4 0%);
    font-weight:bold;
    color:#fff;
}
#schedule dl dd {
    display: block;
    padding: 8px;
    font-size:0.9em;
}
#schedule dl dd ul li {
    text-indent:-1.25em;
    line-height:1.4;
    margin:0.5em 0;
    margin-left:1.25em;
}
#schedule dl dt:after {
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    position: absolute;
    content: "";
    right: 16px;
    top: 50%;
    margin-top: -5px;
    width: 10px;
    height: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
#schedule dl dt.open:after {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.univlist img {
    vertical-align:middle;
    margin-right:0.5em;
}

.half_box > li a,
.half_box2 > li a {
    border-radius: 10px;
    /*overflow:hidden;*/
    transition:all 0.1s linear 0s;
}

#gojitutable {
position:relative;
width:100%;
}
#gojitutable .info {
    font-size:12px;
    text-align:right;
}
#gojitutable h4 {
}
#gojitutable .gojituwrapper {
position:relative;
width:100%;
margin-left:0;
}
#gojitutable .gojiturow {
    width:100%;
    margin-bottom:1em;
}
#gojitutable .gojiturow.pc_float_l {
float:left;
}
#gojitutable .gojiturow.pc_float_r {
float:right;
}
#gojitutable table {
width:100%;
border:solid 2px rgb(68, 68, 68);
border-collapse:collapse;
box-sizing:border-box;
font-size:13px;
line-height:1.2;
margin:1em auto 0;
}
#gojitutable table:first-child {
margin:0 auto;
}
#gojitutable table th,
#gojitutable table td {
box-sizing:border-box;
font-size:13px;
}
#gojitutable thead th,
#gojitutable thead td{
border-bottom:solid 2px rgb(68, 68, 68);
padding:0.25em 0.5em;
vertical-align:middle;
text-align:center !important;
background:#ffff98;
}
#gojitutable tfoot td{
border-top:double 3px rgb(68, 68, 68);
padding:0.25em 0.5em;
vertical-align:middle;
}
#gojitutable tbody th,
#gojitutable tbody td{
border-top:solid 1px rgb(68, 68, 68);
border-right:solid 1px rgb(68, 68, 68);
padding:0.25em 0.5em;
vertical-align:middle;
}
#gojitutable tbody td{
border-right:dotted 1px rgb(68, 68, 68);
}
#gojitutable tbody tr:nth-of-type(even) td{
background:#e8f8fe;
}
#gojitutable tbody th {
    width:4em;
    font-size:0.9em;
    padding:0.25em;
}
#gojitutable table tr *:last-child {
    text-align:right;
    width:3.5em;
}
#gojitutable tfoot td {
    font-weight:bold;
}
#gojitutable tfoot td:first-child {
    text-align:center;
}

/* 学校生活スナップ
----------------------------------------------------------*/
#snap h2 img {
    vertical-align: middle;
    margin-right: 10px;
}

/* 学校生活　TOP
----------------------------------------------------------*/
#life_body #event ul li img,
#life_body #real ul li img  {
    border-radius: 10px;
}
.link360 {
    position:relative;
    overflow:hidden;
}
.link360:after {
    content:"360° VR画像で確認！";
    display:block;
    position:absolute;
    bottom:0;
    width:100%;
    padding:0 16px;
    background:rgba(0,0,0,0.6);
    color:#fff;
    font-weight:bold;
    text-align:center;
    letter-spacing:0.2em;
    -webkit-transition:all 0.2s ease 0s;
    -mos-transition:all 0.2s ease 0s;
    transition:all 0.2s ease 0s;
}

/* 中学　TOP
----------------------------------------------------------*/
.border_box {
    border: 2px solid rgba(237, 203, 0, 1);
    padding: 25px 0;
    text-align: center;
    font-size: 1.5rem;
}
.border_box span {
    display: block;
    font-size: 1.9rem;
}
.table_container {
    display:block;
    overflow-x:auto;
}
table#eiken,
table#kanken {
    table-layout:fixed;
    min-width:500px;
}
table#eiken th,
table#eiken td,
table#kanken th,
table#kanken td {
    vertical-align:middle;
    text-align:center;
    line-height:1.4;
}
table#eiken th,
table#kanken th {
    font-size:0.9em;
}
table#eiken th:nth-of-type(1),
table#kanken th:nth-of-type(1) {
    width:26%;
}

#jyuken .fl,
#jyuken .fr {
	max-width:480px;
}
#jyuken a.db>img {
	vertical-align:middle;
}
#jyuken .jukenmenu {
	margin-bottom:8%;
}
#jyuken .jukenmenu ul li {
	margin-top:2%;
}
#jyuken .jukenmenu ul.column1 li {
	display:block;
}
#jyuken .jukenmenu ul.column2:after {
	content:"";
	display:block;
	height:0;
	clear:left;
}
#jyuken .jukenmenu ul.column2 li{
	display:block;
	width:49%;
	float:left;
}
#jyuken .jukenmenu ul.column2 li:nth-of-type(even){
	margin-left:2%;
}
#jyuken .jukenmenu ul li a {
	display:block;
	padding:1em;
	border-radius:8px;
	background-color:#ededed;
	position: relative;
	padding-left: 2.75em;
	color: #333333;
	text-decoration:none;
	line-height:1.2;
	font-size:1.4rem;
}
#jyuken .jukenmenu ul li a span.arrow {
    left:1em;
}


/* 卒業生　唱歌
----------------------------------------------------------*/
#song-josuikan h2 { letter-spacing:0; }
#song-josuikan h2 span { letter-spacing: 0.4rem; }
#song-josuikan .artist {font-size:0.9em; background:#efefef; padding:1em;}
#song-josuikan ol { margin:0 0 0 2em; list-style-type:cjk-ideographic; }
#song-josuikan .songlist { font-size:0; margin-left:-1%;}
#song-josuikan .songlist li { font-size:1.2rem; display:inline-table; width:49%; margin-left:1%; background:#ae8dc4; color:#fff; font-weight:bold; text-align:center; margin-bottom:1%; line-height:1.2; vertical-align:top; }
#song-josuikan .songlist li a { display:table-cell; width:100%; padding:0.5em 1.2em; height:3.4em; color:#fff; text-decoration:none; vertical-align:middle; }
#song-josuikan .songlist:after { content:""; display:block; height:0; clear:both; }


/* 沿革
----------------------------------------------------------*/
.historyblock { display:table; width:100%; }
.historyblock dl { display:table-row; }
.historyblock dl:nth-of-type(even) { background:#f3f3f3; }
.historyblock dt { font-weight:bold; }
.historyblock dt, .historyblock dd { display:table-cell; padding:1em; }
.historyblock dd ul { list-style-type:none; margin-left:1em; }
.historyblock dd ul li { padding:0.8em 0 0.8em 2.8em; line-height:1.4; border-bottom:dotted 1px #bbb; text-indent:-2.8em; }
.historyblock dd ul li:last-child { border-bottom:none; }
.historyblock dd ul li:before { content:"沿革"; display:inline-block; width:3em; text-align:center; text-indent:0; font-size:0.8em; padding:0.25em 0; margin-right:0.5em; line-height:1; background:rgba(91,109,174,1); color:#fff; }
.historyblock dd ul .clubinfo:before { content:"活動"; background:#6e3b50; }


/* リンク
----------------------------------------------------------*/

#form_links .linklist li,
#link .linklist li {
    display:inline-block;
    width:100%;
    vertical-align:top;
}
#form_links .linklist li a,
#link .linklist li a {
    display:block;
    margin:0.5em;
    border-radius:8px;
    -webkit-transition:all 0.2s linear 0s;
    transition:all 0.2s linear 0s;
}
#form_links .linklist li a:hover,
#link .linklist li a:hover {
    text-decoration:none !important;
    box-shadow:0 0 0 8px rgba(91,109,174,0.5);
}
#form_links .linklist li a dl,
#link .linklist li a dl {
    padding:0.5em 0em 0.5em 0em;
}
#form_links .linklist li a dl dt,
#link .linklist li a dl dt {
    font-size:1.4em;
    line-height:1.2em;
    font-weight:bold;
    padding:0 0 0 1.25em;
    position: relative;
}
#form_links .linklist li a dl dd,
#link .linklist li a dl dd {
    padding:0.5em 0 0 1.75em;
    font-size:1em;
    line-height:1.4em;
    color:#666;
}
#form_links .linklist a dt:before,
#link .linklist a dt:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -10px;
    background-color: #596db3;
}
#form_links .linklist a dt:after,
#link .linklist a dt:after {
    content: '';
    width: 4px;
    height: 4px;
    border: 0px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 6px;
    margin-top: -3px;
    border-top: solid 1px #ffffff;
    border-right: solid 1px #ffffff;
}
.guidebooks {

}
.guidebooks a {
    display:block;
    width:50%;
}
.guidebooks dl dt,
.guidebooks dl dd {
    margin:0 8px;
    text-align:center;
}
.guidebooks dl dt img {
    width:100%;
    max-width:180px;
    height:auto;
    border:solid 1px #bbb;
}
.guidebooks dl dd {
    line-height:1.2;
}

.appl_box {
    padding:0 1em 1em;
    border:solid 1px #fa9500;
    border-radius:4px;
}
.appl_box li {
    display:block;
    margin-top:1em;
    clear:both;
}
.appl_box li dl {
    display:block;
}
.appl_box li dt,
.appl_box li dd {
    display:inline;
    vertical-align:middle;
}
.appl_box li dt {
    width:8em;
    padding-right:1em;
    float:left;
}
.appl_box li dt img {
    width:100%;
    height:auto;
    vertical-align:middle;
}

/*===============================================
画面の横幅が320pxまで *モバイル*
===============================================*/
@media screen and (max-width: 320px){
#jyuken .jukenmenu ul li a {
	font-size:1.2rem;
}
}

/*===============================================
画面の横幅が767pxまで *モバイル*
===============================================*/
@media screen and (max-width: 767px){

	.mainchild {
		margin:0 16px;
	}

    /* 新着記事体裁
    ----------------------------------------------------------*/
    #club_news #news #info p {

        width: 100%;
        float: none;
    }
    #club_news #news .news_list_link {
        float: none;
    }
    
    /* 如水館について　学校概要・キャンパス案内
    ----------------------------------------------------------*/
    .kousha dt {
        width: 100%;
    }
    .kousha dd {
        width: 100%;
        float: none;
    }

    /* 学校生活スナップ
    ----------------------------------------------------------*/

    #snap ul li {
        margin: 0px 2.5%;
        width: 45%;
        float: left;
        font-size: 1.4rem;
    }
    #snap ul li img {
        width: 100%;
        height: auto;
    }


    #contact_menu,#target_menu {
        display: none;
    }


    .details h2 {
        margin-bottom: 30px;
    }
    .details h3 {
        margin-bottom: 20px;
    }
    .details h4 {
        margin-bottom: 10px;
    }

    .page h2 {
        margin-bottom: 30px;
    }
    .page h3 {
        margin-bottom: 20px;
    }
    .page h4 {
        margin-bottom: 10px;
    }



    .paragraph {
        margin: 20px auto;
    }
    .paragraph img {
        margin: 0 auto;
        display: block;
    }
    .paragraph a img {
        margin: 0 auto;
        display: inline;
    }

    /*フッターに入る丸いボタン*/

    #privacy_box {
        padding:0 10px;
    }

    .club li {
        width: 48%;
    }
    .clubbox .imagebox {
        width: 100%;
    }
    .clubbox .imagebox img {
        max-width: 100%;
        height: auto;
    }
    .clubbox .textbox {
        width: 100%;
        float: none;
    }


    .half_box > li,
    .half_box2 > li,
    ._3to1_box > li,
    ._1to1to1_box > li {
        width: 100%;
        margin: 10px auto;
    }
    .half_box > li:nth-of-type(odd){
        float: none;
    }
    .half_box > li:nth-of-type(even){
        float: none;
    }
  
    ._3to1_box > li:nth-of-type(odd){
        float: none;
        width: 100%;
    }
    ._3to1_box > li:nth-of-type(even){
        float: none;
        width: 100%;
    }
    ._3to1_box > li span {
        display: block;
    }

    #introduction .bg_dot {
        padding: 20px 2.5%;
    }


    /* 如水館について第一階層のみ入るボタンメニュー
    ----------------------------------------------------------*/
    #aboutmenu {

    }
    #aboutmenu ul {
        text-align: center;
    }
    #aboutmenu ul li {
        width: 45%;
        display: inline-block;
        margin: 10px 2.5%;
        float: left;
    }
    #aboutmenu ul li a {
        display: block;
        opacity: 1;
    }

    /* クラブ
    ----------------------------------------------------------*/
	.imgtile .club_list li {
		width: 50%;
	}

    /* 交通アクセス
    ----------------------------------------------------------*/
	#access_body .bus_table {
		font-size: 0.8rem;
		line-height:1.2em;
	}

    
    /* 沿革
    ----------------------------------------------------------*/
    .historyblock { display:block; width:100%; }
    .historyblock dl { display:block; }
    .historyblock dl:nth-of-type(even) { background:#f3f3f3; }
    .historyblock dt { display:block; padding:2em 0 0; text-align:center; font-weight:bold;}
    .historyblock dd { display:block; padding:1em; font-size:0.9em;}
    .historyblock dd ul { list-style-type:none; margin-left:0; }

#schedule dl {
    margin: 10px auto;
    width:100%;
    float:none;
    display:table-row;
    margin:0;
}
#schedule dl dt {
    display:table-cell;
    width:40px;
    line-height:1em;
    text-align:center;
    height:100%;
    position: relative;
    border-bottom:solid 1px #fff;
}
#schedule dl dt:after {
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    position: absolute;
    content: "";
    left: 50%;
    top:100%;
    margin-top: -20px;
    margin-left: -6px;
    width: 10px;
    height: 10px;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
#schedule dl dd {
    display:table-cell;
    border-bottom:solid 1px #fff;
}

table.univlist,
table.univlist tbody {
    border:none;
}
table.univlist tbody tr td {
    border:none;
    font-size:0.8em;
    text-align:center;
}
table.univlist tbody tr td img{
    display:block;
    margin:0 auto;
}
table.univlist tbody tr td a {
    display:none;
}
}


/*===============================================
画面の横幅が768px以上 *PC*
===============================================*/
@media screen and (min-width: 768px){
    
    /* 第一階層トップイメージ
    ----------------------------------------------------------*/
    #main_image .imgblock.about {
        background-image:URL("/wp-content/themes/josuikan/img/cmn/img_about_pc.jpg");
    }
    #main_image .imgblock.junior {
        background-image:URL("/wp-content/themes/josuikan/img/cmn/img_junior_pc.jpg");
    }
    #main_image .imgblock.high {
        background-image:URL("/wp-content/themes/josuikan/img/cmn/img_high_pc.jpg");
    }
    #main_image .imgblock.life {
        background-image:URL("/wp-content/themes/josuikan/img/cmn/img_life_pc.jpg");
    }
    #main_image .imgblock.club {
        background-image:URL("/wp-content/themes/josuikan/img/cmn/img_club_pc.jpg");
    }
    #main_image .imgblock.access {
        background-image:URL("/wp-content/themes/josuikan/img/cmn/img_access_pc.jpg");
    }
    #main_image .imgblock.junior_high {
        background-image:URL("/wp-content/themes/josuikan/img/openschool/img_h30ops_j_top.png");
    }
    #main_image .imgblock.senior_high {
        background-image:URL("/wp-content/themes/josuikan/img/openschool/img_h30ops_h_top.png");
    }

    .columnwrapper .narrow{
        width:700px;
    }
   

    h1 {
        /*font-size: 2.6rem;*/
        /*font-weight: bold;*/
    }
    h2 {
        font-size: 2.4rem;
        font-weight: bold;
        margin-bottom: 60px;
    }
    h3 {
        font-size: 2.2rem;
        font-weight: bold;
        margin-bottom: 10px;
    }
    h4 {
        font-size: 1.7rem;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .half_box > li,
    .half_box2 > li,
    ._3to1_box > li,
    ._1to1to1_box > li {
        margin-bottom: 16px;
        position: relative;
    }

    .half_box > li,
    .half_box2 > li {
        width: 47.2%;
    }
    .half_box > li:nth-of-type(odd){
        float: right;
    }
    .half_box > li:nth-of-type(even){
        float: left;
    }
    .half_box2 > li:nth-of-type(odd){
        float: left;
    }
    .half_box2 > li:nth-of-type(even){
        float: right;
    }

    ._3to1_box {
        width: 100%;
    }
    ._3to1_box > li {
        display: inline-block;
    }
    ._3to1_box > li:nth-of-type(odd){
        float: right;
        width: 33%;
    }
    ._3to1_box > li:nth-of-type(even){
        float: left;
        width: 63%;
    }

    ._1to1to1_box {
        width: 100%;
    }
    ._1to1to1_box > li {
        display: inline-block;
        width: 30%;
        float: left;
    }
    ._1to1to1_box > li:nth-of-type(3n-1){
        margin: 0 5%;
    }
    /* スナップ
    ----------------------------------------------------------*/
    #snap {
        width: 1000px;
    }
    #snap ul li {
        float: left;
        width: 23%;
        margin-right: 26px;
    }
    #snap ul li:last-of-type {
        margin-right: 0;
    }
    #snap ul li a img {
      max-width: 100%;
      height: auto;  
    }
    

    /*フッターに入る丸いボタン*/
    #main #sidebox {
        display: none;
    }

    /* 中学　TOP
    ----------------------------------------------------------*/
    #education_system img.j-system {
        width: 247px;
        float: right;
    }
    #education_system img.rui-senko {
        /*width: 320px;*/
    }
    #education_system .rui-img {
        width: 32%;
        float: left;
    }
    #education_system .rui-text {
        width: 60%;
        float: right;
    }


    /* お問い合わせ
    ----------------------------------------------------------*/
    .paragraph.column2:nth-of-type(even) {
        width: 40%;
        float: left;
        min-height: 220px;
    }
    .paragraph.column2:nth-of-type(odd) {
        width: 40%;
        float: right;
        min-height: 220px;
    }
    .paragraph.column2:nth-of-type(odd):after {
        clear: both;
        content: "";
    }

    /* 如水館についてトップ
    ----------------------------------------------------------*/
	#seisin h3 { font-size:2em; line-height:1.6; }
	#seisin .attenttext { font-size:1.4em; line-height:1.8; }
	#seisin .seisincomment p { font-size:1em; line-height:1.6; text-align:center;}

    /* 如水館について第一階層のみ入るボタンメニュー
    ----------------------------------------------------------*/
    #aboutmenu {

    }
    #aboutmenu ul {
        text-align: center;
    }
    #aboutmenu ul li {
        display: inline-block;
        margin: 30px 20px;
        width: 200px;
        vertical-align: top;
    }
    #aboutmenu ul li a {
        display: block;
        opacity: 1;
    }

    #club_news #info {
        width: 280px;
    }
    #results_body #info.fr {
        float: none;
    }
    #results_body #info.fr p {
        text-align: center;
    }

    /* 高校進路
    ----------------------------------------------------------*/
    #gojitutable .gojituwrapper {
        position:relative;
        width:100%;
        margin-left:-1%;
    }
    #gojitutable .gojituwrapper:after {
        content:"";
        display:block;
        height:0;
        clear:both;
    }
    #gojitutable .gojiturow {
        margin-left:2%;
        margin-bottom:2%;
        width:48%;
    }
    #gojitutable .gojiturow.pc_float_l {
        float:left;
    }
    #gojitutable .gojiturow.pc_float_r {
        float:right;
    }

    /* 入試情報
    ----------------------------------------------------------*/
    #jyukentop {
        width:1000px;
        margin:0 auto;
    }
    .jyukensei_body #news .news_contents {
        width: 580px;
    }
    .other_event {
        border: 2px solid #FBDC03;
    }
    .other_event dd {
        padding: 15px 30px;
    }
    .other_event dd li {
        text-align: center;
    }
    .other_event dd li a {
        text-align: center;
        color: #fff;
        max-width: 182px;
        display: inline-block;
        padding: 10px 35px;
        border-radius: 8px;
        margin: 0 8px;
    }
    .other_event dd li a span {
        display: block;
    }
    .other_event dd .ce {
        background: #ce7027;
    }
    .other_event dd .sm {
        background: #3a82c5;
    }
    .other_event dd .bb {
        background: #82488d;
    }
    .other_event dd .ks {
        background: #6ab140;
    }


    .other_event dt {
        position: relative;
        background-color: #FBDC03;
        color: #444444;
        display: block;
        /*padding: 15px 0px;*/
        text-align: center;
    }
    .other_event dt a {
        /*display: block;
        width: 100%;*/
    }
    /* クラブ
    ----------------------------------------------------------*/
    .clubbox {
    }
	.imgtile .club_list.column5 li {
		width: 20%;
	}
	.imgtile .club_list li a span {
		font-size:1em;
		line-height:1.2;
    }
    
	.imgtile .club_list li a span {
		bottom:-4em;
		background:rgba(221,145,62,0.5);
		color:rgba(255,255,255,1);
		-webkit-transition:all 0.1s ease-out 0s;
		transition:all 0.1s ease-out 0s;
	}
	.imgtile .club_list li a:hover span {
		bottom:6px;
		left:6px;
		right:6px;
		width:auto;
	}
    .clubbox .imagebox {
        max-width: 400px;
        vertical-align:top;
    }
    .clubbox .imagebox img {
        max-width: 100%;
        height: auto;
    }
    .clubbox .textbox {
        max-width: 400px;
        margin-left:16px;
        vertical-align:top;
        float: none;
    }

    /* 卒業生
    ----------------------------------------------------------*/
    #certificate ol { list-style-type:none; }
    #certificate ol>li { margin:0 0 0 3em; text-indent:-3em; }
    #certificate ol>li:nth-of-type(1):before { content:"（１）"; }
    #certificate ol>li:nth-of-type(2):before { content:"（２）"; }
    #certificate ol>li:nth-of-type(3):before { content:"（３）"; }
    #certificate ol>li:nth-of-type(4):before { content:"（４）"; }
    #certificate ol>li:nth-of-type(5):before { content:"（５）"; }
    #certificate ol ol>li { margin:0 0 0 1em; text-indent:-1em; }
    #certificate ol ol>li:nth-of-type(1):before { content:"①"; }
    #certificate ol ol>li:nth-of-type(2):before { content:"②"; }
    #certificate ol ol>li:nth-of-type(3):before { content:"③"; }
    #certificate ol ol>li:nth-of-type(4):before { content:"④"; }
    #certificate ol ol>li:nth-of-type(5):before { content:"⑤"; }
    #certificate ul { list-style-type:disc; }
    #certificate ul>li { margin:0 0 0 1em; text-indent:0em; }
    #certificate ul>li:before { content:""; }
    #song-josuikan .songlist { font-size:0; margin-left:-1%;}
    #song-josuikan .songlist li { font-size:1.4rem; display:inline-table; width:33%; margin-left:0.3%; background:#ae8dc4; color:#fff; font-weight:bold; text-align:center; margin-bottom:0.5%; line-height:1.2; vertical-align:top; }
    #song-josuikan .songlist li a { display:table-cell; width:100%; padding:0.5em 1.2em; height:3.4em; color:#fff; text-decoration:none; vertical-align:middle; }


    /* リンク
    ----------------------------------------------------------*/
    #form_links .linklist li,
    #link .linklist li {
        width:48%;
    }
    #form_links .linklist li a dl,
    #link .linklist li a dl {
        padding:0.5em 0 0;
    }
    #form_links .linklist li a dl dt,
    #link .linklist li a dl dt {
        font-size:1.4em;
        line-height:1.2em;
        font-weight:bold;
        padding:0 0 0 1.25em;
        position: relative;
    }
    #form_links .linklist li a dl dd,
    #link .linklist li a dl dd {
        padding:0.5em 2em 0 1.75em;
    }
    
    /* 中学アプリ
    ----------------------------------------------------------*/
    .appl_box li {
        display:table;
        margin-top:1em;
    }
    .appl_box li dl {
        display:table-row;
    }
    .appl_box li dt,
    .appl_box li dd {
        display:table-cell;
        vertical-align:middle;
    }
    .appl_box li dt {
        width:8em;
        padding-right:1em;
    }
    .appl_box li dt img {
        width:100%;
        height:auto;
        vertical-align:middle;
    }
    
    /* 施設紹介
    ----------------------------------------------------------*/
    .link360:after {
        bottom:-50px;
    }
    a:hover .link360:after {
        bottom:0;
    }
}

.pagedialogwrapper {
    padding:32px 16px;
}
#classroom_login {
    border:solid 1px #596db3;
    background-color: rgba(91,109,174,0.1);
}
#classroom_login.pagedialog {
    max-width:480px;
    margin:0 auto;
}
#classroom_login h2 {
    background:#596db3;
    color: #fff;
    padding: 1rem 1rem;
    display: block;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0;
    border-bottom: none;
}
#classroom_login h2:before {
    content: "";
    display: inline-block;
    position: relative;
    top: -2px;
    width: 32px;
    height: 32px;
    margin-right: 4px;
    background-position: center center;
    background-size: 32px auto;
    vertical-align: middle;
    background-image: url("/wp-content/themes/josuikan/img/cmn/icon_menu_about_all.png");
}
#classroom_login form {
    margin: 16px 0;
}
#classroom_login .btn {
    padding:0.5em 1em;
    margin:0 0.25em;
    border:solid 1px #666;
    background:#fff;
    border-radius:4px;
}
.classroom_body #main {
    max-width:640px;
    margin:0 auto;
}