﻿@font-face {
font-family: "行書体";
  src: url("./Dup/css/行書体.ttf") format("ttf"),url("./Dup/css/行書体.woff") format("woff"),url("./Dup/css/行書体.woff2") format("woff2");
}
#main_menu .d_block, #contents_box h2, #contents_box h3, #top_cms h2, #page_title h2 {
     font-family: "行書体", serif !important;
     font-size: 28px !important;
}
.pc_box .contact_bt .d_block, .tel_bt .d_block {
     font-family: "行書体", serif !important;
    font-size: 24px;
}
/* YouTube */
.yt{width: 800px;}
.video_cms{
	padding-bottom: 50.25%;
	height: 0;
}
body {
    font-size: 17px;
}
.font_14 {
    font-size: 17px;
}
header {
	background-image: url("./Dup/img/header_back3.jpg");
	background-size: cover;
}
#sp_nav .bg_white {
	background-image: url("./Dup/img/back2.jpg");
	background-size: cover;
}
#fakeloader {
	background-image: url("./Dup/img/back2.jpg");
       background-size: cover;
}

/*----------------以下テンプレ？---------------*/

.head_box{
position:relative;
    overflow: visible;

}

.pc_box{
position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 92%;
}


#main_img {
    z-index: 1;
    overflow: hidden;
    position: relative;
    max-height: 100vh;
    min-height: auto;
}

.scroll_bt {
    bottom: -20px;
}

.link_box ul{
justify-content: left;
}

.link_box ul li{
margin-right:10px;
}


#main_menu.mg_t-50px {
    margin-top: 2vh;
}

#main_menu ul li a {
    margin-bottom: 1.5vh;
}

header .tel_bt{
margin-top: 2.5vh;
}


/**************ここまで********************/
/* loader ---------------------------------------------------------------------------------------------*/
#fakeloader .fl{
	position: absolute;
	top: 49%!important;
	left: 50%!important;
	transform: translate(-50%,-50%);
	width: 50%;
	max-width: 350px;
}
#fakeloader .fl{
	animation-name: loader;
	animation-duration: 3s;
	animation-timing-function: ease;
	animation-iteration-count: 1;
}
@keyframes loader {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
/**************ここまで********************/


#contents_box .txt2, #contents_box .txt4 {
	position: relative;
}


#page_title .font_30 {
   font-weight: bold;
}
.baner2 {
    margin: 25px auto 0;
}
.baner2:hover {
	opacity: 0.8;
}
#cms_2-c .cate figure {
    width: 47%!important;
    margin: 10px;
}
/*--------------inoue tst-------------------*/
#contents_box .txt2:before, #contents_box .txt4:before {
    content: "";
    position: absolute;
    top: -30px;
    left: -38px;
    z-index: -1;
    background-image: url(./Dup/img/exam.png);
    width: 100%;
    height: 200%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
}
.cms_1-c a {
   color: #222222;
}
.lb-data .lb-close {
    background: url(./Dup/img/close.png) top right no-repeat;
}
/*--------------inoue tst-------------------*/
#contents_box .txt5, #contents_box .txt7 {
	position: relative;
}
#contents_box .txt5:before, #contents_box .txt7:before {
	content: url("./Dup/img/sen.png");
	position: absolute;
	top: -10px;
	left: -5px;
     z-index: -1;
}

.width_1280-1000 {
    width: 100%;
    max-width: 1280px;
    min-width: 300px;
}


.bosyuu {
    position: absolute;
    top: 260px;
    right: 10px;
    z-index: 1;
    width: 250px;
}



#tel_txt .txt_color2 {
    color: #212121;
}

#tel_txt .border_color2, #contact_tel .border_color2 {
    border-color: #cbcbcb;
}

#cms_6-a .border_color3, #page_title .page_box::before, .cms_title::before {
    background-color: #eea71d;
}
#page_title .txt_color3, #top_cms .txt_color4 {
    color: #eea71d;
}

.pc_box .contact_bt .d_block:hover, .pc_box .tel_bt .d_block:hover, .foot_tel_bt .d_block:hover, .more .txt_color3:hover {
    background-color: #eea71d;
}

footer .txt_color3 {
    color: #212121;
}
#page-top .txt_color1 {
    color: #eea71d;
}
#cms_6-b .bg_color3 {
    background-color: #eea71d;
}
.foot_tel .border_color1 {
    border-color: #212121;
}
#cms_2-c .border_color1 {
    width: 450px;
}

#cms_2-c .cate_title {
    width: 610px;
}
.con1 {
      margin-top: 30px;
}
.box_title1, #contents3 .font_20, #contents_box .font_22 {
   font-weight: bold;
}
#cms_6-a .border_color3, #cms_6-b .bg_color3 {
    font-weight: bold;
}

#contents_box .txt_color1 {
    color: #212121;
}


.baner {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 0;
    z-index: 1;
}
.link_box .grid_1 {
    width: 15.33333%!important;
    height: 40px !important;
}
.pc_box .txt_color3 {
    color: #033167;
}
.pc_box .border_color1 {
    border-color: #033167;
}
#main_menu ul li a::before {
    background-color: #033167;
}
#cms_2-c .cate_list .grid_4 {
    width: 50%!important;
}
@media screen and (max-height: 800px){
#main_menu.mg_t-50px {
    margin-top: 35px;
}

#main_menu ul li a {
    margin-bottom: 20px;
}

header .tel_bt{
margin-top: 10px;
}
}
.abc .width_30per {
    width: 33%!important;
}
.abc figure {
  margin: 1px;
}
.d_flex {
    justify-content: start;
}
@media screen and (max-width: 1057px){
.yt {
    width: 700px;
}
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
/* YouTube */
.yt{width: 100%;}
.pc_box{
    position:relative;
    transform: none;
    top: 0%;
    left: 0%;
    width: 100%;
}

header{
padding:15px 0 !important;
}

#contents_box .txt2:before, #contents_box .txt4:before {
    content: url(./Dup/img/sen2.png);
    position: absolute;
    top: -15px;
    left: -5px;
    z-index: -1;
}
#contents_box .txt5, #contents_box .txt7 {
	position: relative;
}
#contents_box .txt5:before, #contents_box .txt7:before {
	content: url("./Dup/img/sen.png");
	position: absolute;
	top: -14px;
	left: -5px;
     z-index: -1;
}
.bosyuu {
    position: absolute;
    top: 230px;
    right: 8px;
    z-index: 1;
    width: 200px;
}
#cms_2-c .border_color1 {
    width: 260px;
}
#cms_2-c .cate_title {
      width: 560px;
}
footer .link_box li {
    max-width: 60px;
height: 40px;
}
.baner2 {
  display: none;
    position: fixed;
    left: 10px;
    top: 2px;
    width: 30%;
}
.baner {
    display: block;
    position: fixed;
    top: 103px;
    right: 0;
    width: 40%!important;
    z-index: 1;
}
#page_title {
  margin-top: 27px;
}
#main_img {
    margin-top: 27px;
}
#cms_2-c .cate figure {
    width: 48%!important;
    margin: 10px 5px;
}
.abc .width_30per {
    width: 33%!important;
    /*height: 143.25px;*/
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
/* YouTube */
.video_cms {padding-bottom: 56.25%;}
#fakeloader .fl{max-width: 100px;}
#main_menu .d_block, #contents_box h2, #contents_box h3, #top_cms h2 {
    font-size: 22px !important;
}
#contents_box .txt2:before, #contents_box .txt4:before {
    content: url(./Dup/img/sen2.png);
    position: absolute;
    top: -18px;
    left: -18px;
    z-index: -1;
}
.bosyuu {
    position: absolute;
    top: 120px;
    right: 10px;
    z-index: 1;
    width: 100px;
}
#cms_2-c .cate_list .grid_4 {
    width: 100%!important;
}
#cms_2-c .border_color1 {
    width: 300px;
}
#cms_2-c .font_14_sp {
    font-size: 12px;
}
#cms_2-c .cate_title {
  font-size: 22px;
}
.baner {
    display: block;
    position: fixed;
    top: 82px;
    left: 0;
    width: 50%!important;
    z-index: 1;
    height: 73px;
}
#page_title {
    margin-top: 21px;
}
#main_img {
    margin-top: 21px;
}
#cms_2-c .cate figure {
    width: 100%!important;
}
.abc .width_30per {
    width: 48%!important;
    /*height: 91.25px !important;*/
}
}

/*====================================
  	IE環境の設定
====================================*/
@media all and (-ms-high-contrast:none){
.more .pd_t-10px {
    padding-top: 16px;
}
}