﻿
.font_en, h2, h3, .cate_title {
     font-family: 'M PLUS Rounded 1c', 'Raleway', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro," メイリオ", Meiryo, Osaka," ＭＳ Ｐゴシック", MS PGothic," sans-serif"; 
}
/* color */
.txt_color_nomal{color: #212121;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #f4c61d} /* メインカラー */
.txt_color2{color: #f4f4f4} /* サブカラー */
.txt_color3{color: #e02c2b} /* アクセントカラー1 */
.txt_color4{color: #09659e} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #f4c61d} /* メインカラー */
.bg_color2{background-color: #f4f4f4} /* サブカラー */
.bg_color3{background-color: #e02c2b} /* アクセントカラー1 */
.bg_color4{background-color: #09659e} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #f4c61d}
.border_color2{border-color: #f4f4f4}
.border_color3{border-color: #e02c2b}
.border_color4{border-color: #09659e}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #212121;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #f4c61d} /* メインカラー */
.hvr_txt_color2:hover{color: #f4f4f4} /* サブカラー */
.hvr_txt_color3:hover{color: #e02c2b} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #09659e} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #f4c61d} /* メインカラー */
.hvr_bg_color2:hover{background-color: #f4f4f4} /* サブカラー */
.hvr_bg_color3:hover{background-color: #e02c2b} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #09659e} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}


/* border-color ※!important */
.hvr_border_color1:hover{border-color: #f4c61d}
.hvr_border_color2:hover{border-color: #f4f4f4}
.hvr_border_color3:hover{border-color: #e02c2b}
.hvr_border_color4:hover{border-color: #09659e}

.linkStyle {
    color: #f4c61d;
}
header {
    background-color: #09659e;
background-image: url("https://www.transparenttextures.com/patterns/subtle-carbon.png");
/* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
}

/*.head_box {
    background-color: #09659e;
}*/
.catch {
    z-index: 2;
    bottom: 0%;
    right: -4%;
    /* transform: translate(-50%, -50%); */
    width: 50%;
}


.catch_img {
    max-height: 100vh;
    min-height: 1vh !important;
    position: relative;
    object-fit: cover;
    width: 80%;
}
#contents1 h2 {
    text-align: center;
    color: #222;
    font-weight: bold;
}
.arrow, .circle {
    display: none;
}
.catch_name {
    margin-bottom: -10px;
    margin-top: 50px;
    opacity: 0.8;
}

.contents_h2 {
    position: relative;
    padding: 1.5rem 2rem 0.5rem 70px;
    border-bottom: 3px solid #09659e;
    color: #09659e;
    font-weight: bold;
}

.number {
    font-family: 'Roboto', sans-serif;
    font-size: 100px;
    font-size: 3rem;
    line-height: 1;
    position: absolute;
    bottom: 0rem;
    left: 0;
    color: #09659e;
}
.contact_bt a, .tel_bt a {
    border-color: #f4c61d;
    background-color: #f4c61d;
    color: #09659e;
}
.contact_bt a:hover, .tel_bt a:hover {
    border-color: #09659e;

    color: #fff;
}
#contents3 p, #contents2 p, .txt3 {
    letter-spacing: 2px;
    line-height: 2;
}

.enjoy {
    top: 5%;
    left: 26%;
    z-index: 2;
    width: 23%;
}
.learning {
    top: 11%;
    right: 3%;
    z-index: 2;
    width: 20%;
}
.rise {
    z-index: 2;
    bottom: 13%;
    right: 43%;
    width: 24%;
}
#main_menu li a, .contact_bt a {
    font-size: 18px;
}
.tel_bt a {
    font-size: 17px;
}
/***********ヘッダーナビ修正*******************/
#main_menu li a {
    margin-bottom: 15px;
}
.link_box {
    margin-top: 25px;
}
/*-------- 1250px --------*/
@media screen and (max-width: 1250px){
.number {
    font-family: 'Roboto', sans-serif;
    font-size: 100px;
    font-size: 2rem;
    line-height: 1;
    position: absolute;
    bottom: 0rem;
    left: 0;
    color: #09659e;
}
.contents_h2 {
    position: relative;
    padding: 1.5rem 2rem 0.3rem 60px;
    border-bottom: 3px solid #09659e;
    color: #09659e;
    font-weight: bold;
}
}
.cate_list a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px;
    border-color: #09659e;
    color: #09659e;
}
.txt_shadow-b {
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0);
}

.number {
  opacity : 0;
  transform : translate(0, 30px);
  transition : all 1s;
}
 
.number.active{
  opacity : 1;
  transform : translate(0, 0);
}
#page_title .page_box::before {
    background-color: #f4c61d;
}
.cms_title::before {
    background-color: #f4c61d;
}


.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
    content: "0"counter(box);
    font-size: 86px;
    color: #f4c61d;
    left: 0;
    top: -70px;
    z-index: -1;
    opacity: 0.3;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}

/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type3 .box_title1::before{
	left: auto;
	left: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}
/*-------- 1450px --------*/
@media screen and (max-width: 1450px){


}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.contents_h2 {
    position: relative;
    padding: 1.5rem 1.5rem 0.3rem 50px;
    border-bottom: 3px solid #09659e;
    color: #09659e;
    font-weight: bold;
    font-size: 18px;
}
.catch_name {
    margin-bottom: -11px;
    margin-top: 32px;
    opacity: 0.8;
}
.head_box {
    width: 100%;
    max-width: 210px;
}
#contents3 p, #contents2 p, .txt3 {
    letter-spacing: 2.5px;
    line-height: 1.8;
}
.enjoy {
    top: 10%;
    left: 2%;
    z-index: 2;
    width: 36%;
}
.learning {
    top: 17%;
    right: 1%;
    z-index: 2;
    width: 29%;
}
.rise {
    z-index: 2;
    top: 44%;
    right: 18%;
    width: 35%;
}

.catch_img {
    max-height: 100vh;
    min-height: 1vh !important;
    position: relative;
    object-fit: cover;
     width: 100%; 
}
.catch {
    z-index: 2;
    bottom: 0%;
    right: 0%;
    /* transform: translate(-50%, -50%); */
    width: 43%;
}
.link_box ul {
    background-color: #09659e;
}
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.order_1_sp {
    order: 1;
}
.order_2_sp {
    order: 2;
}
.catch_name {
    margin-bottom: -16px;
    margin-top: 29px;
    opacity: 0.8;
}
.number {
    font-family: 'Roboto', sans-serif;
    font-size: 100px;
    font-size: 3rem;
    line-height: 1;
    position: absolute;
    bottom: 2rem;
    left: 0px;
    color: #09659e;
    opacity: 0;
}
.contents_h2 {
    position: relative;
    padding: 1.5rem 1.5rem 0.3rem 30px;
    border-bottom: 3px solid #09659e;
    color: #09659e;
    font-weight: bold;
    font-size: 17px;
}
#contents1 {
    padding-top: 70px;
}
.head_box {
    width: 100%;
    max-width: 160px;
}

.tel_wrap .tel_box a {
    padding: 10px 0;
}
#contents2 {
    padding-top: 70px;
}
.head_box #logo {
    text-align: center;
}
.enjoy {
    bottom: 57%;
    right: 64%;
    z-index: 2;
    width: 35%;
}
.learning {
    top: 17%;
    right: 1%;
    z-index: 2;
    width: 30%;
}
.rise {
    z-index: 2;
    top: 41%;
    right: 30%;
    width: 39%;
}
}
/******firefox****************/
@-moz-document url-prefix() {
.head_box {
    overflow: hidden;
}
}