@charset "utf-8";
/* CSS Document */
/* こども霞が関見学デー　年度別ページ */

/* -------------------------
@common
--------------------------*/

.content h1 {
	background-color: #c9f3f3 !important;
}

.content h2{
	background-color: #e5f5f5 !important;
	margin-top: 40px !important;
	padding: 14px 18px 10px !important;
}

.content h3{
	border-bottom: 3px solid #d5eeee !important;
    border-left: 8px solid #d5eeee !important;
    padding: 6px 12px;
	margin-top: 30px !important;
}

.content h4 {
    border-bottom: 3px dashed #bceaea !important;
	border-left: none !important;
    padding: 6px 12px 4px !important;
    margin: 25px 0 20px 0 !important;
}

.content p {
    text-align: justify;
    line-height: 1.6em;
}

.mgn_btm2 {
    margin-bottom: 2em;
}


/* -------------------------
@button
--------------------------*/

.btn_center {
	text-align: center;
	margin: 1.5em auto 4em;
	max-width: 350px;
	line-height: 1;
	transition: all 0.3s;
}

.btn_set {
	margin: 1.5em auto 4em;
}

.btn_set_last {
	margin: 4em auto;
}

.btn_set .btn_center {
	margin: 1.3em auto;
}

.btn_txt {
	text-decoration: none;
	font-weight: bold;
    font-size: 1.3em;
	color: #16bdbd !important;
}

.btn_right {
	position: relative;
	display: inline-block;
	padding: 22px 20px 18px;
    width: 100%;
    border-radius: 50vh;
    transition: all .3s;
}

.btn_right::before {
	border-right: 3px solid #16bdbd;
	border-top: 3px solid #16bdbd;
	bottom: 0;
	content: "";
	height: 10px;
	margin: auto;
	position: absolute;
	right: 22px;
	top: 0;
	transform: rotate(45deg);
	width: 10px;
}

.btn1 .btn_right {
	border: 2.5px solid #95dbdb;
	box-shadow: 0px 4px 0 #95dbdb;
}

.btn2 .btn_right {
	border: 2.5px solid #ebfafa;
	background-color: #ebfafa;
	box-shadow: 0px 6px 0 #95dbdb;
}

.btn1 .btn_right:hover
{
	box-shadow: 0px 1px 0 #95dbdb;
	transform: translateY(3px);
}

.btn2 .btn_right:hover
{
	box-shadow: 0px 2.5px 0 #95dbdb;
	transform: translateY(3.5px);
}



/* -------------------------
@header
--------------------------*/

.ksm_head {
    text-align: center;
}

.ksm_head .klogo {
    padding: 0;
	margin: 0.2em auto 1.1em;
	background: none !important;
}

.ksm_head .klogo img{
    max-width: 530px;
	width: 85%;
}



/* -------------------------
@header menu
--------------------------*/

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 15px;
	margin: 2.5em 0;
}

.menu .item {
	position: relative;
    display: table;
	flex-basis: calc((100% - 30px) / 4);
    max-width: calc((100% - 30px) / 4);
    height: 60px;
    text-align: center;
    padding: 11px 0 7px 0;
    border-radius: 10px;
    border: 2.5px solid #95dbdb;
    box-shadow: 0px 4px 0 #95dbdb;
	transition: all 0.3s;
}

.menu .item:hover {
	box-shadow: 0px 1px 0px 0px #95dbdb;
	transform: translateY(3px);
}

.menu .item p {
	color: #16bdbd;
	font-weight: bold;
	font-size: 1.2em;
	margin: 0 !important;
	padding: 0 !important;
	display: table-cell;
	vertical-align: middle;
	line-height: 1.3 !important;
    text-align: unset;
}

.menu .item span {
	font-size: .95rem;
    font-weight: normal;
    display: block;
}

.menu .item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

@media (max-width: 579px){
    .menu {
        padding: 0 10px;
    }
	.menu .item {
		flex-basis: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
    .menu .item p br {
        display: none;
    }
}



/* -------------------------
@waku
--------------------------*/

.waku {
    border: 1px solid #a5dddd;
    padding: 20px 0 0;
}

.waku .w_ttl {
    font-weight: bold;
}



/* -------------------------
@box - title
--------------------------*/

.rbox {
    position: relative;
    margin: 3em 0;
    padding: 2em 0 1em;
    border: solid 3px #c8ecec;
    border-radius: 8px;
}

.rbox .box_ttl {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #16bdbd;
    font-weight: bold;
}

.rbox ul {
    margin: 0 !important;
}



/* -------------------------
@character
--------------------------*/

.chara img {
    width: 100%;
    margin-bottom: .5em;
}

.chara .sp {
    display: none;
}

@media (max-width: 579px){
	.chara .sp {
		display: block;
	}
    .chara .pc {
        display: none;
    }
}




/* -------------------------
@juku_logo
--------------------------*/

.juku_logo {
	text-align: center;
}

.juku_logo img {
	max-width: 250px;
    margin-bottom: 1em;
}



/* -------------------------
@column
--------------------------*/

.col_set {
	display: flex;
	margin-bottom: 20px;
    flex-direction: row-reverse;
}

@media (max-width: 579px){
	.col_set {
		display: block;
	}
}


/* -------------------------
@flyer
--------------------------*/

.flyer {
	text-align: center;
}

.flyer img {
	max-width: 300px;
    width: 85%;
    border: solid 1px #cccccc;
	margin-bottom: 0.5em;
}


/* -------------------------
@form present
--------------------------*/

.flex_col {
    display: flex;
    gap: 10px;
}

.fl_inner {
    flex: 1;
    padding: 10px;
    text-align: center;
}

.fl_inner img.wide {
    width: 100%;
}

.fl_inner img.slim {
    width: 60%;
	max-width: 200px;
}

.fl_inner img {
    padding: 2px;
    margin-bottom: 1em;
    border:1px solid #bcbcbf;
    transition: 0.3s;
}

.fl_inner img:hover {
    opacity: 0.7;
}

.fl_inner .dl_txt {
    padding: 0;
	text-align: center;
}

@media (max-width: 550px){
	.flex_col {
		display: block;
	}
    .fl_inner img.wide {
        width: 80%;
    }
    .fl_inner img.slim {
        width: 50%;
    }
}


/* -------------------------
@footer illust
--------------------------*/

.end_illust {
	background-image: url("../juku/img/footer_illust.png");
	height: 27px;
	opacity: 0.7;
	margin-top: 40px;
}
