﻿video.video.width_100per {
    object-fit: cover !important;
    height: 100%;
}
div#video {
    height: 100% !important;
    object-fit: cover;
}

@media screen and (min-width:668px){
p#main_b3 {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #404960;
    width: 10vw;
}
}
#fix_banner {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 5;
    max-width: 350px;
}
#fix_banner a:hover{
    opacity:0.8;
}
#fix_banner a{
    transition:all 0.3s;
}
a.linkStyle {
    color: #ffda00;
    text-decoration: underline;
}
#cms_4-a .cate_box p{
    text-align: left;
    width: 90%;
    margin: auto;
    margin-bottom: 20px;
}
#cms_4-a h3.cate_title {
    background: #404960;
    color: white;
    text-align: center;
    padding: 5px;
}
#cms_4-a .cate_box {
    text-align: center;
    margin-bottom: 50px;
}
#cms_4-a h4.box_txt.font_2dw_tb.over_txt.txt_color3 {
    text-align: center;
    font-size: 24px;
    border-bottom: 1px solid #404960;
    display: inline-block;
    color: #404960;
    margin-bottom: 20px;
}
#cms_4-a figure.square_img {
    width: 30% !important;
}
#cms_4-a .fig_wrap {
    justify-content: space-around;
}
body{
    overflow:hidden;
}
div#sns_links p {
    color: white;
}
div#sns_links{
    border-color:white;
}
.tel_box{
    max-width:440px;
}
a.d_inline_b.pd_r-10px.pd_l-10px.bg_color3.hvr_bg_color1.txt_white.motion03s.mg_r-5px.mg_l-5px:hover{
    background: #404960;
}
.cate_title {
    font-weight: bold;
    color: #404960;
}
#cms_6-c .arrow{
        border-color: #ffe33f;
}
.bg_color3 {
    background-color: #ffe33f;
}
.border_color1 {
    border-color: #ffe33f;
}
h4.box_title1 {
    font-weight: bold;
}
.txt_color1 {
    color: #404960;
}
#page_top{
    background-color: #404960;
    color: white;
}
.pager li a {
    color: white;
    background: #ffde1a;
}
.pager li a:hover{
    background-color: #404960;
}
#page_top .arrow{
    border-color: white;
}

#logo2{
    width: 350px;
}
.page .footer_left,.page .footer_left a {
    color: white;
}
footer {
    background: #404960 !important;
}
#page_title .title_wrap .title_bar {
    background: #101932;
}
.title_wrap {
    z-index: 2;
    color: #101932;
    position: relative;
}
#page_title .title_bg {
    opacity: 1;
}
#page_title:after {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: #fffdee66;
    mix-blend-mode: screen;
}
.title_bg:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: url(Dup/img/sub_page.png) no-repeat;
    background-position: right bottom;
    background-size: contain;
    z-index: 2;
}
p.con_no.font_bar.mg_b-10px {
    font-size: 18px;
    line-height: 18px;
    color: #ffffff5c;
    font-weight: bold;
}
h2.intro_title span{
    background: #404960;
    padding: 0px 15px;
    color: white;
}
#footer_nav li a {
    color: white;
}
.top footer {
    background: #fffef7 !important;
}
#footer_nav li a:hover {
    color: #ffe33f;
}
span.footer_bg {
    background: #404960;
}
.cms5 .cms_title p:before {
    width: 100%;
    height: 140px;
    content: "";
    position: absolute;
    background: url(Dup/img/title3.png) no-repeat;
    background-size: contain;
    top: -80px;
    left: 10px;
    background-position: 49% 50%;
}
.cms_box {
    margin-top: 100px;
}
.cms_box:first-of-type {
        margin-top: 50px;
}
.cms3 .cms_title p:before {
    width: 100%;
    height: 140px;
    content: "";
    position: absolute;
    background: url(Dup/img/title2.png) no-repeat;
    background-size: contain;

    top: -80px;
    left: 10px;
    background-position: 49% 50%;
}
#top_cms {
    background: #fffdee;
}
.cms_title {
   border:0;
   margin-bottom:50px;
}
section#contents {
    background: #fffef7;
}
#top_cms .cms_title span{
    display:none;
}
.cms_title h3{
    display:none;
}
.cms1 .cms_title p:before {
   width: 100%;
    height: 120px;
    content: "";
    position: absolute;
    background: url(Dup/img/title1.png) no-repeat;
    background-size: contain;
    top: -60px;
    left: 10px;
    background-position: 49% 50%;
}
.txt_color3 {
    color: #101932;
}

.border_color3 {
    border-color: #404960;
}
.bg_color2 {
    background-color: #ffe33f;
}
body{
    background: #fffef7;
}
.hvr_bg_color3:hover {
    background-color: #ffe33f;
}
#contents .con_bg {
    top: 0;
    right: 0;
    z-index: -1;
    background: #404960 url(Dup/img/con3.png) no-repeat;
    background-position: right top;
}
.cms_title h3 {
    color: #ffbe08;
}
.cms_title p {
    font-weight: bold;
    color: #404960;
    font-size: 34px;
    text-shadow: 2px 2px #cecece;
}
h2.con_title.mg_b-20px.font_10up.font_bold {
    display: inline-block;
    position: relative;
}
.con_box1 h2.con_title:before {
    width: 30px;
    height: 50px;
    content: "";
    position: absolute;
    background: url(Dup/img/con1.png) no-repeat;
    right: -45px;
    background-size: contain;
    top: 4px;
}

.con_box2 h2.con_title:before {
    width: 50px;
    height: 50px;
    content: "";
    position: absolute;
    background: url(Dup/img/con2.png) no-repeat;
    right: -60px;
    background-size: contain;
}
.bg_color1 {
    background-color: #404960;
}
#custom{
    background: url(Dup/img/main_bg.jpg);
}
div#main_slide_box {
    transform: rotate(-21deg);
    position: relative;
    top: -18vw;
    left: -12vw;
    width: 110%;
}
#custom .custom_wrap{
    position:relative;
}
div#main_b1{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40vw;
}
div#main_b2 {
    position: absolute;
    bottom: 2vw;
    width: 75vw;
    right: 10vw;
}
#intro.trans .intro_left {
    background: #fffef7;
}
h1#logo {
    margin-bottom: 20px;
}
div#intro_img {
    max-width: 200px;
    margin: auto;
    margin-bottom: 20px;
}
.b_wrap {
    text-align: center;
    margin-top: 20px;
}
.b_wrap img {
    max-width: 390px;
}
.b_wrap a:hover{
    opacity:0.8;
}
.b_wrap a{
    transition:all 0.3s;
}
#contents .con_bg {
    top: 0;
    right: 0;
    z-index: -1;
}
.con_img:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: #ffe33f;
    z-index: -1;
    right: 10px;
    bottom: -10px;
}
/*-----------------------------タブレット---------------------------------------------*/
@media screen and (max-width:768px){
 div#main_slide_box {
    transform: rotate(-21deg);
    position: relative;
    top: -23vw;
    left: -22vw;
    width: 150%;
}
div#main_b1 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80vw;
}
div#main_b2 {
    position: absolute;
    bottom: 12vw;
    width: 90vw;
    right: 5vw;
}
#contents .con_wrap {
    background: #404960;
}
.footer_left, .footer_left a, .copyright {
    color: white;
}
.title_bg:before{
        background-size: 80%;
}
#fix_banner {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 5;
    max-width: 350px;
}
}

/*-----------------------------スマホ--------------------------------------------*/
@media screen and (max-width:667px){
    div#main_b2 {
    right: 5vw;
}
    div#main_slide_box {
    transform: rotate(-21deg);
    position: relative;
    top: -19vw;
    left: -22vw;
    width: 150%;
}
h2.intro_title span {
    font-size: 20px;
}
#intro .intro_left {
    padding-top: 50px;
}
h2.con_title.mg_b-20px.font_10up.font_bold{
    font-size:22px;
}
.con_box1 h2.con_title:before {
    width: 25px;
    height: 50px;
    content: "";
    position: absolute;
    background: url(Dup/img/con1.png) no-repeat;
    right: -34px;
    background-size: contain;
    top: 5px;
}
#logo2 {
    width: 90%;
}
.tel_bt span {
    font-size: 18px;
    white-space: nowrap;
}
#page_title:after{
    background: #fffdeeb8;
}
.title_bg:before {
    background-size: 70%;
}
#page_title{
    padding-top:50px;
}
#page_title p,#page_title h2{
    text-align:left;
}
.title_bg:before {
    background-size: 90%;
}
.tel_box a {
    font-size: 18px;
    white-space: nowrap;
}
#cms_4-a .fig_wrap {
    justify-content: space-around;
    flex-direction: column;
}
#cms_4-a figure.square_img {
    width: 90% !important;
}
#cms_4-a figure.square_img{
    margin:10px;
}
#cms_4-a h4.box_txt.font_2dw_tb.over_txt.txt_color3{
    font-size:18px;
}
 div#main_b2 {
    bottom:60vw;
}
div#main_b1{
    width:65vw;
}
#fix_banner {
    position: fixed;
    bottom: 5px;
    left: 5px;
    z-index: 5;
    max-width: 80%;
}
p#main_b3 {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 2px #2e2e2e;
    width: 20vw;
}
}