/* =====================================================

2021-7-20
 
===================================================== */

@media screen and (max-width:768px) {


	
	
/*  base
===================================================== */
img {
	max-width: 100%;
	height : auto ;
}
.mobile {
	display: inline-block;
}
.pc {
	display: none;
}


article,aside,canvas,details,figcaption,figure,
header,footer,main,menu,nav,section,summary {
	display: block;
}

html, body {
	height: 100%;
}
body {
	line-height: 130%;
	font-size: 90%;
	-webkit-text-size-adjust: 100%; /*文字の大きさが自動で調整OFF*/
	left: 0;
	position: relative;
	z-index: 0;
	word-break:break-all;
	background-image: none;
}

/*テキスト少ない時footer固定*/
article {
	min-height: calc(100vh - 290px);
}

/* h2, p */
p, dt, dd, li {
	text-align: justify;
	text-justify: inter-ideograph;
}

.imgL, .imgR {
	margin: 5px auto 10px;
	float: none;
	display:block;
	max-width: 100%;
}
hr {
	margin: 5px auto;
}

	
/*  layout
===================================================== */
header { /*header 10013*/
 	text-align: left;
    z-index: 10013;
	height: 70px;
}
#headerBar {
	height: 70px;
    width: 100%;
    min-width: 100%;
	background-image: none;
}

h1 {
	position: relative;
	right: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 15px;
	font-size: 0.7em;
	line-height: 150%;
	text-align: right;
	padding-right: 2%;
}
#headerLogoM {
	display: inline-block;
	position: absolute;
	left: 2%;
	top: 10px;
	max-width: 260px;
}
#headerLogo,
#top-taiken,
#top-inquiry,
#top-insta,
#top-home {
	display: none;
}


/* hamburger */
.drawer_toggle {
	display: block;
	margin: auto;
	position: absolute;
	top: 25px;
	right: 2%;
	cursor: pointer;
	padding: 0px;
    -webkit-transition: ease .8s;
    transition: ease .8s;
	z-index: 10014; /*header 10013*/
}
.drawer_toggle span {
	position: relative;
	display: block;
	height: 2px;
	width: 35px;
	background-color: #222;
	-webkit-transition: ease .8s;
	transition: ease .8s;
}
.drawer_toggle span:nth-child(1) {
	top: 0;
}
.drawer_toggle span:nth-child(2) {
	margin: 8px 0;
}
.drawer_toggle span:nth-child(3) {
	top: 0;
}
.drawer_toggle div { /*MENU*/
	padding-top: 2px;
	text-align: center;
	font-size: 12px;
}
/*OPEN時の動き*/
.drawer_toggle.open {
}
.drawer_toggle.open span {
    background-color: #222;
	width: 40px;
}
.drawer_toggle.open span:nth-child(1) {
	top: 10px;
	-webkit-transform: rotate(35deg);
	transform: rotate(35deg);
}
.drawer_toggle.open span:nth-child(2) {
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	opacity: 0;
}
.drawer_toggle.open span:nth-child(3) {
	top: -10px;
	-webkit-transform: rotate(-35deg);
	transform: rotate(-35deg);
}

/* drawer */
#headerNav.drawer_nav {
    border: none;
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    min-width: 80%;
    min-height: 100%;
    -webkit-transition: ease .5s;
    transition: ease .5s;
    z-index: 10012; /*header 10013*/
    padding-top: 70px; /*header height*/
    background-color: rgba(246,246,246,0.80); /*f6f6f6*/
    margin-top: 0;
}
#headerNav.drawer_nav.open {
	right: 0;
}
#headerNav.drawer_nav ul {
	border: none;
	display: block;
	width: 100%;
	min-width: 100%;
    height: auto;
}
#headerNav.drawer_nav li,
#headerNav > ul > li:first-child, /*homeはmobileで表示*/
#headerNav > ul > li:last-child { /*inquiryはmobileで表示*/
	border: none;
	height: auto;
	width: 100%;
	display: block;
}
#headerNav > ul > li span { /*2行*/
	display: inline-block;
}

#headerNav > ul > li:nth-child(4) dt,
#headerNav > ul > li:nth-child(4) a,
#headerNav > ul > li:nth-child(6) dt,
#headerNav > ul > li:nth-child(6) a, /*2行*/
#headerNav.drawer_nav dt,
#headerNav.drawer_nav a,
#headerNav.drawer_nav dd li a,
#headerNav > ul > li:hover dt,
#headerNav > ul > li:hover a {
    cursor: pointer;
    display: block;
    width: 100%;
    height: 40px;
    color: #146165;
    font-size: 0.95em;
    padding: 0 0 0 30px;
    font-weight: normal;
    line-height: 38px;
    text-decoration: none;
    position: relative;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ccc;
    text-align: left;
    background-color: #f6f6f6;
}
#headerNav.drawer_nav a,
#headerNav.drawer_nav dd li a {
    background-image: url(../images/_base/arrow08O.png);
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: auto auto;
}
#headerNav.drawer_nav dd li a {
    padding: 0 0 0 50px;
    background-color: #e6e6e6;
    background-position: left 38px center;
}
/*現在ページにマーク*/
#idx     #headerNav.drawer_nav > ul > li:nth-child(1) a,
#oc      #headerNav.drawer_nav > ul > li:nth-child(2) a,
#ryugaku #headerNav.drawer_nav > ul > li:nth-child(3) a,
#steps   #headerNav.drawer_nav > ul > li:nth-child(4) a,
#koe     #headerNav.drawer_nav > ul > li:nth-child(5) a,
#staff   #headerNav.drawer_nav > ul > li:nth-child(6) a,
#inquiry #headerNav.drawer_nav > ul > li:nth-child(7) li:nth-child(1) a,
#privacy #headerNav.drawer_nav > ul > li:nth-child(7) li:nth-child(2) a {
    background-image: url(../images/_base/maru04.png);
    background-repeat: no-repeat;
    background-position: left 13px center;
	background-color: #fcfcfc;
    color: #146165;
}	
#inquiry #headerNav.drawer_nav > ul > li:nth-child(7) li:nth-child(1) a,
#privacy #headerNav.drawer_nav > ul > li:nth-child(7) li:nth-child(2) a {
    background-position: left 35px center;
    background-color: #e6e6e6;
}	

/*accordion*/
#headerNav.drawer_nav dt::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url(../images/_base/arrow07B.png);
    background-repeat: no-repeat;
    background-position: center center;
    transition: transform .4s;
    margin-left: 5px;
}
#headerNav.drawer_nav dt.open::after {
	transform: rotateZ(180deg);
}
#headerNav dd,
#idx #headerNav dd { /*1dan*/
	position: relative;
	top: 0;
    left: 0;
	width: 100%;
}

.drawerBGwrapper.open {
	display: block;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 70px;
	left: 0;
    z-index: 10011; /*header 10013*/
	background-color: rgba(79,79,79,0.4)
}

headerImg,
#headerImgPassport,
section,
.wrapper,
footer {
	position: relative;
	display: block;
    margin: 0 auto;
    width: 100%;
    min-width: 100%;
 	padding: 0;
}
section {
 	padding: 20px 0;
}
.wrapper {
    margin: 0 3%;
    width: 94%;
    min-width: 94%;
}
#headerImg {
	display: block;
    position: relative;
	margin-top: 70px; /*header  70px*/
	height: 280px;
    width: 100%;
    min-width: 100%;
    background-image: url(../images/_headerimage/headerImage01M.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}
#oc #headerImg {
	background-image: url(../images/_headerimage/headerImage11M.jpg);
}
#steps #headerImg {
	background-image: url(../images/_headerimage/headerImage12M.jpg);
}
#koe #headerImg {
    background-image: url(../images/_headerimage/headerImage14M.jpg);
}
#ryugaku #headerImg {
    background-image: url(../images/_headerimage/headerImage13M.jpg);
}
#staff #headerImg {
	background-image: url(../images/_headerimage/headerImage01M.jpg);
}
#inquiry #headerImg {
	background-image: url(../images/_headerimage/headerImage01M.jpg);
}
#headerImg ul {
	width: 100%;
	top: 50%;
    left: 0%;
	transform: translate(0, -45%);
	color: #146165;
	font-size: 2.0em;
	line-height: 110%;
	letter-spacing: 0px;
	text-shadow:
            2px 2px 2px #fff, -2px -2px 2px #fff,
           -2px 2px 2px #fff,  2px -2px 2px #fff,
            2px 0px 2px #fff, -2px -0px 2px #fff,
            0px 2px 2px #fff,  0px -2px 2px #fff;
}
#headerImg ul li {
	text-align: center;
}
#headerImg ul li:nth-child(3) span {
	border: 1px solid #146165;
	outline: solid 1px #fff;    /* 外側の線になる一本線の枠線をひく*/
	outline-offset: 1px; 
}
#headerImgPassport {
    position: relative;
	height: 120px;
    width: 100%;
    min-width: 100%;
	background:linear-gradient(to right, #146165, #3c8898);
}
#headerImgPassport div {
	width: 100%;
    top: 50%;
    left: 0;
    transform: translate(0, -55%);
	font-size: 1.6em;
	line-height: 150%;
	letter-spacing: 0px;
	text-shadow:
           1px 1px 0px #146165, -1px -1px 0px #146165,
          -1px 1px 0px #146165,  1px -1px 0px #146165,
           1px 0px 0px #146165, -1px  0px 0px #146165,
           0px 1px 0px #146165,  0px -1px 0px #146165;
}
#headerImgPassport img {
    margin: auto;
    position: absolute;
    top: -15px;
    right: 1%;
	height: 80px;
}
footer {
    width: 100%;
    min-width: 100%;
	padding-top: 10px;
}
footer .wrapper > ul li#footerLogo {
    width: 100%;
    height: 70px;
	text-align: left;
    line-height: 140%;
    font-size: 1.0em;
    font-weight: bold;
    padding: 18px 0 0 90px;
    background-size: 70px auto;

}
footer .wrapper > ul > li:nth-child(2),
footer .wrapper > ul > li:nth-child(3) {
	display: none;
}
address {
	font-size: 0.85em;
	line-height: 120%;
	padding: 0 0 70px;
	background-color: #f6f6f6;
}
ul#footerNavM {
    display: flex;
    position: fixed;
    width: 100%;
    right: 0px;
    bottom: 0px;
    z-index: 10013; /*header 10013*/
    border-top: 1px solid #fff;
    box-shadow: 0 -2px 5px 3px rgba(204,204,204,0.50);
}
ul#footerNavM li {
	width: 45%;
}
ul#footerNavM li:last-child {
	width: 10%;
}
ul#footerNavM a {
	display: block;
	height: 50px;
    font-size: 90%;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    color: #fff;
	padding-top: 28px;
    background-image: url(../images/_icon/h-mail01W.png);
    background-position: center top 8px;
    background-color: #146165;
    background-repeat: no-repeat;
}
ul#footerNavM li:first-child a {
    background-position: center top 5px;
    background-image: url(../images/_icon/h-pen01W.png);
    background-color: #db4325;
}
ul#footerNavM li:last-child a {
    background-position: center center;
    background-image: url("../images/_icon/h-insta28.png");
    background-color: #dceced;
}


#page-top a {
	display: none;
}
	
	
	
/* h2345 */
h2 {
    margin: 0 auto 1.25em;
	font-size: 1.9em;
	letter-spacing: 0px;
}
h2.oc,
h2.ryugaku,
h2.inquiry {
    margin: 0 auto 1.0em;
}
h3 {
	font-size: 1.4em;
	letter-spacing: 0px;
}
h4 { /*inquiry*/
	font-size: 1.1em;
	text-align: left;
}

/* index */
#idx article section:nth-of-type(1) {
	padding: 3em 0 2em;
}
#idx article section:nth-of-type(2) {
    padding: 2em 0;
}
#idx article section:nth-of-type(3) {
    padding: 2em 0;
    background-image: none;
}
ul.teikyou li:nth-child(odd),
ul.teikyou li:nth-child(even),
ul.tokutyou li:nth-child(odd),
ul.tokutyou li:nth-child(even) {
	width: 100%;
	margin: 0 0 30px;
}
ul.tokutyou li:nth-child(3) {
	margin: 0px;
	margin-bottom: 30px;
	order: 3;
}
ul.tokutyou li:nth-child(4) {
	order: 4;
}
ul.tokutyou li:nth-child(even):before {
	font-size: 110px;
}
ul.tokutyou li:nth-child(6):after {
    top: 0px;
}
ul.teikyou dt {
	font-size: 1.5em;
	line-height: 140%;
	margin-bottom: 0.5em;
}
ul.tokutyou dt {
	font-size: 1.7em;
	line-height: 140%;
	margin-bottom: 0.5em;
	letter-spacing: 0px;
	padding-top: 90px;
}
ul.teikyou dd , ul.tokutyou dd {
	font-size: 1.1em;
	line-height: 140%;
}
dl.aisatu {
    padding: 270px 1em 1em;
    border: 1px solid #fff;
    background-position: center top 20px;
}
dl.aisatu dt {
	font-size: 1.6em;
	line-height: 140%;
	text-align: center;
	margin-bottom: 0.5em;
}

.wrapper.globalbnr {
	border: 1px solid #ccc;
	padding: 10px 5px;
	text-align: left;
}
.wrapper.globalbnr img {
	width: calc((100% - 20px) / 2);
	margin: 0 5px 5px;;
}
.wrapper.globalbnr img:nth-of-type(even) {
	margin-left: 15px;
}
	
	
/*  local
===================================================== */
#oc article section:nth-of-type(2) {
	padding: 1em 0;
    background-image: none;
}
ul.oc_catch li {
	width: calc(100% / 3);
	padding: 8px;
	text-align: justify;
	text-justify: inter-ideograph;
	font-size: 1.1em;
	line-height: 140%;
}
ul.oc_catch li br {
	display: none;
}
ul.oc_tokutyou li:nth-child(odd),
ul.oc_tokutyou li:nth-child(even) {
	width: 100%;
	margin: 0 0 30px;
}
ul.oc_tokutyou li:nth-child(3) {
	margin: 0px;
	margin-bottom: 30px;
	order: 3;
}
ul.oc_tokutyou li:nth-child(4) {
	order: 4;
}

dl.oc_tokuten > dt {
	font-size: 1.3em;
}
dl.oc_tokuten > dd {
	padding: 1em;
	text-align: justify;
	text-justify: inter-ideograph;
}
dl.oc_tokuten ul {
	display: block;
}
dl.oc_tokuten li,
dl.oc_tokuten li:last-child {
    width: 100%;
    padding: 170px 2em 2em;
    background-position: center top 30px;
    background-size: auto 120px;
}
dl.oc_tokuten li:last-child {
	margin-left: 0em ;
	margin-top: 1em;
}
	
div.oc_catch {
	font-size: 1.1em;
	line-height: 150%;
	text-align: justify;
	text-justify: inter-ideograph;
	padding: 0 1em;
	font-weight: bold;
}
	
ul.step_123 li {
    margin: 50px 0 30px;
    height: auto;
    background-position: right bottom;
 }
ul.step_123 dl {
	position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
	width: 90%;
	margin: auto 5% 230px;
}	
ul.step_123 dl::after {
    left: 10px;
    top: -22px;
     width: 170px;
    height: 65px;
}

dl.staff dt {
	margin: 0 0 0.5em;
	text-align: center;
	width: 100%;
	padding: 310px 0 0 0;
    background-position: center top;
}
dl.staff dd {
	width: 100%;
	margin: 0 0 3em;
	padding: 1.5em 2em;
}

ul.ryugaku_catch {
	display: block;
}
.ryugaku_tokutyo ul {
	display: block;
	margin: 0 0 1em;
}
ul.ryugaku_catch li,
ul.ryugaku_catch li:last-child,
.ryugaku_tokutyo ul li,
.ryugaku_tokutyo ul li:last-child {
    width: 100%;
    padding: 0em 0em;
}
ul.ryugaku_catch li img,
.ryugaku_tokutyo ul img {
    width: 100%;
	margin: 1em auto;
}
	
ul.koe li {
	margin: 0 0 1em;
    background-position: left 20px top 20px;
    background-size: 100px auto;
}
ul.koe dl {
     padding: 130px 1em 1em 1em;
}
ul.koe dt {
	padding: 0.5em 1.5em;
	font-size: 1.2em;
	line-height: 130%;
}
ul.koe dt:after {
	display: none;
}
ul.koe dd {
	padding: 10px 0 0;
}


/*inquiry*/
div.inquiry_waku {
	border: 1px solid #f6f6f6;
	padding: 1em;
	background-color: #fafafa;
}
form.inquiry {
	width: 100%;
	margin: 20px 0 20px;
}
form.inquiry > ul {
 	display: block;
	padding: 1.0em 0 0;
	margin: 0 auto;
}
form.inquiry > ul > li {
	width: 100%;
}
form.inquiry > ul > li:nth-child(2) {
	margin-left: 0;
}
form.inquiry textarea.width4 {
	height: 180px;
}
dl.inquiry dt.hissu {
	padding-left: 35px;
}
dl.inquiry dt.hissu::after {
    top: 0.2em;
    width: 30px;
    height: 12px;
}

.submitbutton {
	padding: 1.0em 0 0;
}
form.inquiry input[type="submit"],
form.inquiry input[type="reset"] {
    padding: 4px 0px;
	font-size: 1.1em;
    width: 100%;
	margin: 8px 0 0;
}
div.inquiry_waku.thanx {
	padding: 1em 1em 100px;
	text-align: left;
}
	
/* privacy */
dl.privacy {
	display: block;
	margin: 2em 0 2em;
}
dl.privacy dt {
    width: 100%;
 	padding: 0;
	margin: 0;
}
dl.privacy dd {
	width: calc(100% - 1em);
    margin: 0 0 1.5em 1.0em;
	padding: 2px 0 0 1.0em;
}




/* 削除しないこと
===================================================== */
}


/* ------------------------------------------------
mediaQueriesの指定を入れておきます。
------------------------------------------------ */
/* ===========================================
	タブレット系 480 - 768
=========================================== */
@media screen and (min-width: 480px) and (max-width: 768px) {

.imgR {
	float: right;
	display:block;
	margin: 0 0 10px 2em;
	max-width: 49%;
}
.imgL {
	float: left;
	display:block;
	margin: 0 2em 10px 0;
	max-width: 49%;
}

#headerNav.drawer_nav {
    right: -60%;
    width: 60%;
    min-width: 60%;
}



/* index */
ul.teikyou li:nth-child(odd),
ul.tokutyou li:nth-child(odd) {
	text-align: center;
}
ul.teikyou img, ul.tokutyou img {
	margin: auto;
	width: 100%;
}
.wrapper.globalbnr img {
	width: calc((100% - 30px) / 3);
	margin: 0 5px 5px;;
}

/*local*/
ul.oc_catch li {
	padding: 10px;
	text-align: center;
}
ul.oc_catch li br {
	display: block;
}

ul.step_123 li {
    margin: 0 0 65px;
	width: 100%;
    height: 400px;
    background-position: right center;
 }
ul.step_123 dl {
	display: inline-block;
	position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0, -50%);
	width: 50%;
	margin: auto;
	padding: 50px 2em 2em;
	background-color: #2b7075;
	color: #fff;
}

ul.ryugaku_catch li:last-child,
.ryugaku_tokutyo ul li:last-child {
	text-align: center;
}
ul.ryugaku_catch li img,
.ryugaku_tokutyo ul img {
    width: auto;
	max-width: 100%;
}

ul.koe dl {
    padding: 2em 2em 2em 150px;
}
ul.koe dt {
	padding: 0.75em 1.5em;
}
ul.koe dt:after {
	display: block;
  top: 10px;
	left: -40px;
}


/*inquiry*/
form.inquiry > ul {
 	display: flex;
	padding: 1em 0 0;
}
form.inquiry > ul > li {
	width: 48.5%;
}
form.inquiry > ul > li:nth-child(2) {
	margin-left: 3%;
}
form.inquiry textarea.width4 {
	height: 440px;
}

.submitbutton {
	padding: 20px 0 0;
}
form.inquiry input[type="submit"],
form.inquiry input[type="reset"] {
    width: 35%;
	margin: 8px 0 0;
}
form.inquiry input[type="reset"] {
	margin: 8px 0 0 2%;
}
div.inquiry_waku.thanx {
	padding: 1.0em 0 200px;
}
		
/*privacy*/
dl.privacy {
	margin: 2em 0 0;
}
	
	
	
	
/* 削除しないこと
=========================================== */
}
