@charset "utf-8"; 

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ヘッダーエリア
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#header_frame .logo {
    width: 145px;
}

#header_frame h1.logo img {
    width: 145px;
    height: 68px;
}

#header_frame > .inner {
    padding: 10px 0 0;
}

#header_frame .inner_box {
    align-items: flex-end;
}

#header_frame .inner_box .items {
    background: #d5edec;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    overflow: hidden;
}

#header_frame .inner_box .items li {
    font-weight: bold;
}

#header_frame .inner_box .items li:hover {
    background: #edf9f7;
}

#header_frame .inner_box .items li a {
    text-decoration: none;
    display: block;
    padding: 10px 15px;
}

#header_frame .inner_box p.tel {
    font-size: 36px;
    padding: 0 25px 0px 75px;
    position: relative;
    font-weight: bold;
    font-family: 'Barlow Semi Condensed', sans-serif;
    line-height: 1.2;
}

#header_frame .inner_box p.tel span {
    font-size: 16px;
    color: #0059c6;
    display: block;
    font-family: "my_gothic"
}

#header_frame .inner_box p.tel:before {
    font-family: "icomoon";
    content: '\e900';
    font-size: 0.7em;
    position: absolute;
    top: 65%;
    margin-top: -.4em;
    line-height: 1;
    left: 23px;
    color: #00c6bf;
    font-weight: normal;
}

#header_frame .inner_box p.reserve a {
    background: #0059c6;
    display: block;
    color: #fff;
    padding: 16px 30px;
    font-size: 16px;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    position: relative;
    font-weight: bold;
}

#header_frame .inner_box p.reserve a.btn_move:before {
    background: #0572f8;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
グローバルナビ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#h_navi_main {
    background: #fff;
    padding: 10px 0 10px 0;
    margin-bottom: 5px;
}

#h_navi_main ul:not(.sub-menu) > li.home {
    flex-grow: 1;
}

#h_navi_main ul:not(.sub-menu) > li.home a i {
    align-self: center;
}

#h_navi_main ul:not(.sub-menu) > li {
    height: 70px;
    font-weight: bold;
    border-radius: 5px;
}

#h_navi_main ul:not(.sub-menu) > li:not(.home):after {
    content: '';
    width: 50%;
    height: 2px;
    position: absolute;
    left: 25%;
    opacity: 0;
    transition: all .2s;
    background: #00c6bf;
    bottom: -10px;
}

#h_navi_main ul:not(.sub-menu) > li:hover:after,#h_navi_main ul:not(.sub-menu) > li[class*='current']:not(.home):after {
    bottom: -5px;
    opacity: 1;
}

#h_navi_main ul:not(.sub-menu) > li > a {
    align-items: flex-end;
    padding: 0px;
    color: #333;
    border-radius: 5px;
    position: relative;
}

#h_navi_main ul:not(.sub-menu) > li.current_page_item > a {
    background-color: #00c6bf;
    border-radius: 5px;
}

#h_navi_main ul:not(.sub-menu) > li.home > a:hover {
    background: #51cac5;
    color: #fff;
}

#h_navi_main ul:not(.sub-menu) > li > a:hover {
    background: #fff;
    color: #333;
}

#h_navi_main ul li:not(.home) a:before {
    content: '';
    position: absolute;
    right: calc(50% - 13px);
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

#h_navi_main ul li.news > a:before {
    top: 8px;
    right: calc(50% - 13px);
    width: 26px;
    height: 31px;
    background: url(https://kaichijuku.jp/wordpress/wp-content/themes/cyber-child/images/header_01.png);
}

#h_navi_main ul li.mission > a:before {
    top: 0;
    right: calc(50% - 22px);
    width: 45px;
    height: 40px;
    background: url(https://kaichijuku.jp/wordpress/wp-content/themes/cyber-child/images/header_02.png);
    background-size: 45px 40px;
}

#h_navi_main ul li.course > a:before {
    top: 5px;
    right: calc(50% - 17px);
    width: 35px;
    height: 35px;
    background: url(https://kaichijuku.jp/wordpress/wp-content/themes/cyber-child/images/header_03.png);
}

#h_navi_main ul li.price > a:before {
    top: 10px;
    right: calc(50% - 10px);
    width: 20px;
    height: 29px;
    background: url(https://kaichijuku.jp/wordpress/wp-content/themes/cyber-child/images/header_04.png);
}

#h_navi_main ul li.school > a:before {
    top: 4px;
    right: calc(50% - 19px);
    width: 39px;
    height: 33px;
    background: url(https://kaichijuku.jp/wordpress/wp-content/themes/cyber-child/images/header_05.png);
}

#h_navi_main ul li.result > a:before {
    top: 5px;
    right: calc(50% - 22px);
    width: 38px;
    height: 37px;
    background: url(https://kaichijuku.jp/wordpress/wp-content/themes/cyber-child/images/header_06.png);
}

#h_navi_main ul li.blog > a:before {
    top: 2px;
    right: calc(50% - 12px);
    width: 24px;
    height: 45px;
    background: url(https://kaichijuku.jp/wordpress/wp-content/themes/cyber-child/images/header_07.png);
}

#h_navi_main ul li.contact > a:before {
    top: 14px;
    right: calc(50% - 13px);
    width: 26px;
    height: 20px;
    background: url(https://kaichijuku.jp/wordpress/wp-content/themes/cyber-child/images/header_08.png);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
グローバルナビ（下段／親のスタイル）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#h_navi_main ul:not(.sub-menu) > li[class*='current']:not(.home) > a {
    background-color: #fff;
    color: #333;
}

#h_navi_main ul:not(.sub-menu) > li > a:hover {
    background-color: #fff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
グローバルナビ（下段）子ナビ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#h_navi_main ul > li {
    position: relative;
}

#h_navi_main ul.sub-menu {
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: -112px;
    margin-top: 7px;
    background: rgba(0,172,166,.8);
    min-width: 225px;
    width: auto;
    text-align: center;
    padding: 10px 0;
}

#h_navi_main ul li:hover ul.sub-menu {
    display: block;
}

/* ドロップダウンする子ナビを母体から離した際の架け橋 */
#h_navi_main ul:not(.sub-menu) > li:hover:not(:first-child):before {
    content: '';
    width: 100%;
    height: 50px;
    position: absolute;
    left: 0;
    bottom: -50px;
    /* background:red; */
}

#h_navi_main ul.sub-menu:before {
    content: "";
    position: absolute;
    left: 50%;
    top: -20px;
    margin-left: -10px;
    border-width: 10px;
    border-color: transparent;
    border-style: solid;
    border-bottom-color: rgba(0,172,166,.8);
    z-index: 10;
}

#h_navi_main ul.sub-menu > li {
    min-width: 225px;
    width: auto;
}

#h_navi_main ul.sub-menu > li:not(:first-child):before {
    content: "";
    width: 90%;
    height: 1px;
    background: rgba(255, 255, 255, .3);
    display: block;
    position: absolute;
    top: 0;
    margin-top: 0px;
    left: 5%;
}

#h_navi_main ul.sub-menu > li > a {
    display: block;
    width: 100%;
    color: #fff;
    padding: 20px 30px;
    font-size: 16px;
    font-weight: bold;
}

#h_navi_main ul.sub-menu > li > a:hover {
    background: #009893;
    text-decoration: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ローカルナビ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
ul.child_navi a {
    padding: 10px;
    font-size: 20px;
    background: #fff;
    font-weight: bold;
    display: inline-block;
    padding: 3px 5px;
    position: relative;
    margin-left: 35px;
    transition: 1s;
    background: -webkit-linear-gradient(left, #00c6bf 50%, transparent 50%) 100% bottom / 200% 50% no-repeat;
    background: linear-gradient(to right, #a3e3e0 50%, transparent 50%) 100% bottom / 200% 45% no-repeat;
    -webkit-transition: background-position .2s ease-out;
    transition: background-position .2s ease-out;
}

ul.child_navi a:hover, ul.child_navi li[class*="current"] a {
    text-decoration: none;
    background-position: 0% bottom;
}

ul.child_navi a:before {
    content: '\e91f';
    font-family: "icomoon";
    color: #00c6bf;
    position: absolute;
    left: -25px;
    top: calc(50% - 14px);
}

ul.child_navi >*:not(:last-child):after {
    content: '';
    display: inline-block;
    width: 25px;
    height: 1px;
    background: #000;
    transform: rotate(-45deg);
    vertical-align: 5px;
    margin-left: 15px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
固定ページ用プロモ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page_promo .ttl {
    font-size: 36px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
フッター
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
div#f_navi_wrap {
    background: #00c6bf;
    padding: 40px 0 20px;
}

div#footer_info {
    display: none;
}

div#f_navi_wrap .wrap_inner {
    background: #fff;
    padding: 30px 40px 45px;
    position: relative;
}

div#f_navi_other > * {
    background: #fff;
    margin-top: 0;
    border: none;
    padding: 20px 40px 30px 40px;
}

div#f_navi_wrap p.link {
    position: absolute;
    bottom: 0;
    right: 40px;
    width: 300px;
}

div#copy_frame {
    background-color: #00c6bf;
}

div#copy_area {
    padding-top: 0;
}