@charset "utf-8";
/* CSS Document */

/*---------

base set

----------------------------**/

/*---------

color & font set

----------------------------**/

:root{
    --main-point-color: rgb(255, 253,56);
    --result-color: rgb(38, 162, 216);
    --main-color: rgb(255, 253,56);
    --bg-site-main-blue: rgb(217, 243, 255);
    --bg-site-main-cream: rgb(252, 242, 222);
}

.support{
    --theme-color: rgb(255,92,168);
    --theme-sub-color: rgb(0, 0, 0);
    --bg-introduction-accent: rgb(255, 235, 243);
    --bg-theme-main: rgb(217, 243, 255);
    --bg-theme-main: rgb(217, 243, 255);
    --bg-theme-sub: rgb(252, 242, 222);
    --bg-theme-accent: rgb(0, 0,0);
    --bg-theme-stripe-color: rgb(254, 203, 224);
    --bg-sub-title: rgb(249, 136, 7);
}

.theme-main{
    background-color: var(--bg-theme-main);
}

.theme-sub{
    background-color: var(--bg-theme-sub);
}

.theme-accent{
    background-color: var(--bg-theme-accent);
}

.introduction-accent{
    background-color: var(--bg-introduction-accent);
}

.theme-main,
.theme-sub,
.theme-accent{
    background-size: auto auto;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.support table h4 {
    flex-basis: 100%;
    width: 100%;
    padding: 0.8em;
    color: #fff;
    background-color: var(--bg-sub-title);
    margin-top: 1.6em;
}

.free-education.reservation h3,
.free-education.current h3{
    padding: 0.4em;
    border-bottom: 1px solid #000;
}

.free-education.reservation h3{
    background-color: var(--bg-site-main-blue);
}

.free-education.current h3{
    background-color: rgba(212 ,234 ,167 ,1);
}

/* /support/test/　banner */
.section-wrap > .site-theme-bg-stripe:not(:last-child){ margin-bottom: 0;}
.site-theme-bg-stripe + .banner{
    display: grid;
    grid-template-columns: minmax(1fr, 75rem);
    justify-content: center;
    text-align: center;
    background-color: rgba(226, 243, 255, 1);
}

/*---------

figure

----------------------------**/

.section-inner figure{ margin: 1.5em auto 2em;}
.section-inner .fig-large{ width: 70%;}

/*---------

merit

----------------------------**/

.recommend-program{
    padding: 4%;
    background-color: var(--main-point-color);
    border-radius: 20px;
}

.heading-area h3 + span{
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 500;
    display: inline-block;
    padding: 0 .6em;
    color: var(--theme-color);
    border:2px solid var(--theme-color);
    background-color: #FFF;
    border-radius: 30px;
}

/*---------

point-list banner

----------------------------**/

.site-stripe + picture{
    display: grid;
    justify-content: center;
    text-align: center;
    background-color: rgba(226, 243, 255, 1);
}

.site-stripe + picture .banner{ max-width: 75rem;}

/*---------

rank-list

----------------------------**/

.rank-list dl{
    border-top: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
    display: grid;
    grid-template-columns: 16% repeat(auto-fit ,minmax(120px ,1fr));
    grid-auto-rows: 1fr;
    margin-bottom: 1rem;
}

.rank-list dt,
.rank-list dd{
    padding: 4%;
    display: grid;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.rank-list dt{
    color: #ce1536;
    line-height: 1.6;
}

.rank-list dl dt:nth-of-type(1){
    font-size: 1.1rem;
    line-height: 1.0;
    color: #FFF;
    background-color: rgba(253, 142, 190 ,1);
    align-content: center;
}

.rank-list dt:nth-of-type(1) span{
    font-size: 2.5rem;
    display: block;
}

.rank-list dt:nth-of-type(2){
    border-right: 1px solid #bfbfbf;
}

.rank-list dl dd:nth-child(2){
    justify-content: flex-start;
}

.rank-list dl dd:nth-child(2) ul{
    text-align: left;
}

.rank-list dl.rank_a dt:nth-of-type(1){ background-color: rgba(206, 021, 054 ,1);}
.rank-list dl.rank_b dt:nth-of-type(1){ background-color: rgba(218, 051, 087 ,1);}
.rank-list dl.rank_c dt:nth-of-type(1){ background-color: rgba(230, 081, 121 ,1);}
.rank-list dl.rank_d dt:nth-of-type(1){ background-color: rgba(241, 112, 156 ,1);}
.rank-list dl.rank_e dt:nth-of-type(1){ background-color: rgba(253, 142, 190 ,1);}

/*---------

free-education

----------------------------**/

.free-education,
.free-education_list{ position: relative;}
.free-education_list{ margin-top: 1em;}
.free-education .emphasis h4{ margin: 0; padding: .25em;}

.free-education_list::after{
    content: "";
    display: block;
    width: .2rem;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    background-color: #00c6ff;
    z-index: -1;
}

.free-education_body:not(:last-child){ padding-bottom: 2.4rem;}

.free-education_head{
    border: 1px solid #bfbfbf;
    display: grid;
    grid-template-columns: repeat(auto-fit ,33.33%);
    grid-auto-rows: 1fr;
    gap: 0;
}

.free-education_head > div{
    line-height: 1.2;
    min-height: 6rem;
    display: grid;
    place-items: center;
    text-align: center;
    background-color: #ededed;
}

.free-education_head > div:nth-of-type(2){
    border-left: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
    background-color: var(--bg-site-main-blue);
}

.free-education_item{
    padding: 1em;
    border-left: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
    background-color: #FFF;
}

@media (min-width:768px){

    .free-education_body:not(:last-child){ padding-bottom: 4rem;}
}

/*--- icon
----------------------------**/

.free-education_head span.person,
.free-education_head span.school{ display: inline-block; position: relative; margin-left: 2rem;}

.free-education_head span.person::before,
.free-education_head span.school::before{
    content: "";
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    background-size: contain;
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-.8rem);
}

.free-education_head span.person::before{ background-image: url(../images/icon/icon-person.png);}
.free-education_head span.school::before{ background-image: url(../images/icon/icon-school.png);}

@media (min-width:768px){

    .free-education_head span.person::before,
    .free-education_head span.school::before{
        width: 1.6rem;
        height: 1.6rem;
    }
}

/*--- reservation
----------------------------**/

.free-education.reservation .emphasis h4{
    color: initial;
    background-color: var(--site-point-color);
    padding: 1em;
}

.free-education.reservation .emphasis_item{
    color: #FFF;
    background-color: #e60000;
}

.free-education.reservation .emphasis_item span{
    color: var(--site-point-color);
}

@media not all and (min-width:768px){

    .free-education_head{
        font-size: 1.1rem;
    }

    .free-education.reservation .emphasis_item span{
        font-size: 1.6rem;
    }
}

@media (min-width:768px){}

/*--- current
----------------------------**/

.free-education.current .emphasis h4{
    color: #FFF;
    background-color: rgba(127, 189, 0, 1);
}

.current .free-education_head > div:nth-of-type(2){
    background-color: rgba(212 ,234 ,167 ,1);
}


/*---------

other

----------------------------**/

/* .banner-area{
    max-width: 87.6rem;
    margin: 0 auto;
} */

.table-style table tbody th.subtitle{ text-align: left;}

.graph-area{
    max-width: 62rem;
    margin: 2.5rem auto;
}

.test_hall li {
    display: inline-block;
    width: 49%;
}

@media (min-width: 1200px){
.test_hall li {
    width: 31%;
}
}



.flow-img {
	margin-bottom: 30px;
}
@media not all and (min-width:768px){
	
.flow-img {
    overflow-x: scroll;
}
.flow-img img {
    width: 73.6rem;
}
}


/*---------

until-certification

----------------------------**/

h3.site-theme-point{
    padding: .5em 0;
    border-bottom: solid 1px #000;
}

.until-certification.flow-list{
    max-width: var(--width-min);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.until-certification .flow-body {
    flex-basis: 100%;
    display: block;
}

.until-certification .flow-body.flow-accent-color{ padding: .5em;}

@media (min-width:768px){
.until-certification .flow-body.flow-accent-color {
	padding: 0.5em 1.1em;
}
}

.until-certification .flow-body.col2 { flex-basis: 49%;}

.until-certification .flow-body.col2 > .heading-area {
	display: block;
	padding: 0.5em 0.5em;
}

@media (min-width:768px){
.until-certification .flow-body.col2 > .heading-area {
	padding: 0.5em 1.1em;
}
}

.until-certification .flow-body::before {
    display: block;
    content: " ";
    position:relative;
    width: .2rem;
    height: 1.6rem;
    top:-1.6rem;
    left: 50%;
    background-color: #00c6ff;
}


.until-certification .flow-body:nth-child(3){
	position: relative;
}

.until-certification .flow-body:nth-child(3)::after {
    display: block;
    content: " ";
    position:absolute;
    width: .2rem;
    height: 1.6rem;
    bottom:-1.6rem;
    left: 50%;
    background-color: #00c6ff;
}

.until-certification .flow-body:nth-child(4)::before{ left: 24.5%; top:-1.6rem}

.until-certification .flow-body:last-child::before{ left: 50%; top:-2.3rem}

.until-certification .flow-body:last-child > .heading-area {
    display: block;
    margin-top: -1.2rem;
}

.until-certification .flow-body:nth-child(5) > .flow-item{ padding-bottom: -1.6em;}
.until-certification .flow-body:first-child { padding-top: 1.6rem;}
.until-certification .heading-area { margin-top: -1.2em;}

.until-certification .flow-body:last-child .heading-area {
    margin-top: -1.35em;
    padding-top: 0.5em;
    padding-bottom: 0;
}


ul.disc.icon_plus { margin-bottom: 1em;}
ul.disc.icon_plus:after{
    display: inline-block;
    content: "+";
    position:relative;
    font-size: 2rem;
    color: #00c6ff;
    border: solid 1px;
    border-radius: 2em;
    padding: 0 .65em;
    left: calc(50% - 1em);
    margin-top: 1em;
}

.until-certification .flow-body:first-child::before,
.until-certification div.flow-item::before,
.until-certification.flow-list::after { display: none; }

@media (min-width:768px){

    .table-style table td,
    .table-style table th{ padding: .75em 1em;}
    .type-scroll_nav{ display: none;}
}

    .shien_table .table-style table td{ padding: 0.2em; text-align: end;}
    .shien_table .type-scroll{ overflow-x: scroll;}
    .shien_table .type-scroll table{width: 133rem;}
    .shien_table div table{ width: 130%;}
    .shien_table .type-scroll_nav{ display: inline-block;}

    .shien_table table tbody tr:nth-child(3) td:nth-child(n+4),
    .shien_table table tbody tr:nth-child(5) td:not(:last-child){
        text-align: center;
        background-color: rgba(255, 251, 219, 1);
        vertical-align:top;
        line-height: 1.4em;
    }


/*---------

20240912 教育費無償化ページ修正

----------------------------**/
.table-style table.scheTB-b th, .table-style table.scheTB-b td{
	border:1px solid #fff;
}

.table-style table.scheTB-b th.red-square{
	background:#e40202;
	color: #fff;
}

.table-style table span.red{
	color:#e40202;
}

.table-style table.scheTB-b th{
	background:#9ed8f6;
}

.table-style table.scheTB-b td{
	background:#bae3fa;
	text-align:center;
}

.table-style table.scheTB-b td.emphasis{
	background:rgba(255, 251, 219, 1);
	border:1px solid #bfbfbf;
	text-align:left;
    font-size:12px;
}

.table-style table.scheTB-g th, .table-style table.scheTB-g td{
	border:1px solid #fff;
}

.table-style table.scheTB-g th{
	background: #6baf6c;
	color: #fff;
}

.table-style table.scheTB-g td{
	background:#c0dfaf;
	text-align:center;
	font-weight:bold;
}

.table-style table.scheTB-g td.light-green{
	background:#d6eacb;
	text-align:center;
	font-weight:initial;
}

.table-style table.scheTB-g td.emphasis{
	background:rgba(255, 251, 219, 1);
	border:1px solid #bfbfbf;
	text-align:left;
	font-weight:initial;
    font-size:12px;
}

.table-style table span.person,
.table-style table span.school{ display: inline-block; position: relative; margin-left: 2rem;}

.table-style table span.person::before,
.table-style table span.school::before{
    content: "";
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
    background-size: contain;
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-1rem);
}

.table-style table span.person::before{ background-image: url(../images/icon/icon-person.png);}
.table-style table span.school::before{ background-image: url(../images/icon/icon-school.png);}

.table-style table.scheTB-g tr:last-of-type th,
.table-style table.scheTB-g tr:last-of-type td.light-green{
	border-top: 5px solid #fff;
}

/* 20250404追記 */

.column_style .img {
    width: 100%;
    margin: 0 auto 1rem;
    position: relative;
}

.column_2-1 {
    display: block;
}

@media (min-width: 768px) {
    .column_2-1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 2rem 4rem;
    }
}

@media not all and (min-width:768px) {
    .graph-area.type-scroll {
        overflow-x: scroll;
    }

    .graph-area.type-scroll img {
        width: 70rem;
        margin-bottom: .8em;
    }
}

/* 20250711 視認性の悪い背景　*/
.point-list_item{
    border: 1px solid #c9c9c9;
    padding: 1.6rem 0;
    background: #fff;
    border-radius: 1rem;
}
@media (min-width: 768px) {
    .point-list:not(.vertical) .point-number {
        width: 90%;
        margin: 0 auto;
        margin-bottom: .5em;
    }
}