﻿/*YouTube---------------------------------------------------------------------*/
/* YouTube */
.yt{width: 800px;}
.video_cms{
	padding-bottom: 55.25%;
	height: 0;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 667px){
/* YouTube */
.yt{width: 100%;}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
/* YouTube */
.video_cms {padding-bottom: 56.25%;}
}

/*YouTube---------------------------------------------------------------------*/

/*font---------------------------------------------------------------------*/
h1,h2,h3,h4,h5,h6,li a,.cms_title,.cms_5-c .box_txt1::before,#cms_5-c .box_txt1::before{
font-family: 'M PLUS Rounded 1c', sans-serif !important;
transform: rotate(0.07deg);
}
/*font---------------------------------------------------------------------*/

/*color---------------------------------------------------------------------*/
/*bg*/
.bg_color1 {background-color: #f5a338;}
div#header h1 {
    background: #ffffff !important;
    padding: 2% 1% !important;
    border-top: solid 3px #f5a338 !important;
}
/*txt*/
.txt_color1,.txt_color2 {color: #ef9637;}
h2 span, h3 span,.txt_color_nomal,h3.box_title1,#contents1 p,#contents2 p,section#page07 p{color: #333333 !important;}
/*border*/
.border_color1 {border-color: #ef9637;}
.border_color2 {border-color: rgba(245, 163, 56,0.4);}
.cms_5-c h3,#cms_5-c h3 {color: #ef9637 !important;}
#contents2 .box::after, #contents2 .box .box_img::after {background-color: rgb(239, 150, 55) !important;}
/*hvr*/
.hvr_border_color1:hover {border-color: #ef9637;}


/*linkStyle*/
a.linkStyle {
    color: #ef9637;
    transition: 0.5s;
}
a.linkStyle:hover {
    opacity: 0.7;
}

/*color---------------------------------------------------------------------*/


/*logo---------------------------------------------------------------------*/
.logo img {
    background: rgba(255,255,255,0.7);
    padding: 4%;
    max-width: 260px;
    width: 100%;
}

#loader div img {
    width: 300px;
    animation-name: loader1;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}
/*logo---------------------------------------------------------------------*/


/*top*/
.item2::before, .item3::before {
    background-color: transparent !important;
    background-image: radial-gradient(#f5a338 20%, transparent 20%), radial-gradient(#f5a338 20%, transparent 20%);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
}

.cms_wrap.bg_color2.dot {
    background-color: transparent !important;
    background-image: radial-gradient(#f5a338 20%, transparent 20%), radial-gradient(#f5a338 20%, transparent 20%);
    background-size: 7px 7px;
    background-position: 0 0, 3px 3px;
}


/*catchcopy*/
div#video::before {
    content: '';
    background-image: url(dup/img/catchcopy.png);
    position: absolute;
    height: 37%;
    width: 40%;
    opacity: 1.3;
    content: "";
    display: block;
    z-index: 3;
    right: 2%;
    bottom: 0%;
    background-repeat: no-repeat;
    background-size: 100%;
}


#main_img {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}


@media screen and (max-width: 1450px){
    #main_img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}
}


/*top*/





/*contact hukidashi---------------------------------------------------------------------*/
.bg_img::after {
    content: '';
    background-image: url(dup/img/mail.png);
    width: 365px;
    height: 365px;
    max-width: 400px;
    background-size: 100%;
    z-index: 0;
    background-position: top 10%;
    background-repeat: no-repeat;
    position: absolute;
    top: 54%;
    padding: 0px 0px;
    right: -12%;
    transform: rotate(5deg);}
    

@media screen and (max-width: 1290px){
    .bg_img::after {
    width: 365px;
    height: 351px;
    max-width: 330px;
    background-size: 100%;
    right: -8%;
}
}

@media screen and (max-width: 1211px){
.bg_img::after {
    width: 365px;
    height: 351px;
    max-width: 285px;
    background-size: 100%;
    right: -4%;
}
}

@media screen and (max-width: 1100px){
.bg_img::after {
    width: 365px;
    height: 351px;
    max-width: 249px;
    background-size: 100%;
    right: -2%;
}
}


@media screen and (max-width: 1050px){
.bg_img::after {
    width: 365px;
    height: 351px;
    max-width: 249px;
    background-size: 100%;
    right: -4%;
    top: 50%;
    transform: rotate( 
0deg
 );
}

.bg_img.mg_t-50px {
    margin-top: 120px;
}
}


@media screen and (max-width: 940px){
.bg_img::after {
    width: 365px;
    height: 351px;
    max-width: 249px;
    background-size: 100%;
    right: -4%;
    top: 50%;
    transform: rotate( 
0deg
 );
}

.bg_img.mg_t-50px {
    margin-top: 120px;
}
}
/*contact hukidashi---------------------------------------------------------------------*/



/*IE*/
@media all and (-ms-high-contrast: none){
.posi_center {
    position: absolute;
    top: 48% !important;
    left: 50%;
    transform: translate(-50%, -50%);
}


#cms_2-a .cate .cate_title {
    padding-top: 11px !important;
}


#cms_2-b .cate .cate_title {
    padding-top: 11px !important;
}

    
    
}
/*タブレット*/
@media screen and (max-width: 768px){
    #main_img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}
.cms_wrap.bg_color2.dot {
    background-color: transparent !important;
    background-image: radial-gradient(#ffd8a6 20%, transparent 20%), radial-gradient(#ffd8a6 20%, transparent 20%);
    background-size: 7px 7px;
    background-position: 0 0, 3px 3px;
}

div#header h1 {
    background: #ffffff !important;
    padding: 1% 2% 2%!important;
    border-top: solid 3px #f5a338 !important;
}

.bg_img::after {
   background-image: url(dup/img/mail_tb.png);
    width: 366px;
    height: 351px;
    max-width: 237px;
    background-size: 100%;
    right: 4%;
    top: 49%;
    transform: rotate( 0deg);
}
#contents2 h3.font_24_tb {
    font-size: 23px;
}

#contents2 h3::before{
    
    width: 77px;
    height: 77px;
    top: -40px;
    left: -21px;
    transform: translate(10px,25px);
}

.logo img {
    background: rgba(255,255,255,0.7);
    padding: 3% 10%;
    max-width: 351px;
    width: 100%;
}

div#header h1 {
    background: #ffffff !important;
    padding: 1% 2% 2%!important;
    border-top: solid 3px #f5a338 !important;
    z-index: 1;
}
}
/*スマホ*/
@media screen and (max-width: 667px){
    #loader div img {
    width: 200px;
    animation-name: loader1;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}


#footer p.tel{
    padding: 0px 0 5px !important;
}

#footer p.tel span{
    font-size: 18px;
}
div#footer_cms .pd_30px_sp {
    padding: 20px;
}
.logo img {
    background: rgba(255,255,255,0.7);
    padding: 4%;
    max-width: 246px;
    width: 100%;
}

div#header h1 {
    background: #ffffff !important;
    padding: 0% 3% 2% !important;
    border-top: solid 0px #f5a338 !important;
}

.bg_img.mg_t-50px {
    margin-top: 50px;
}

.bg_img::after {
    background-image: url(dup/img/mail_tb.png);
    width: 367px;
    height: 298px;
    max-width: 235px;
    background-size: 100%;
    right: 4%;
    top: 69%;
    transform: rotate( 
0deg
);
}

#header img {
    max-width: 120px;
    width: auto;
}

#menu_bt {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 4px;
    left: -55px;
}

div#video::before {
    content: '';
    background-image: url(dup/img/catchcopy.png);
    position: absolute;
    height: 45%;
    width: 45%;
    opacity: 1.3;
    content: "";
    display: block;
    z-index: 3;
    left: 4%;
    bottom: -3%;
    background-repeat: no-repeat;
    background-size: 100%;
}

#contents2 h3.font_24_tb {
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
    max-width: 344px;
}

#contents2 h3::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -15px;
    transform: translate(10px,25px);
}

}







/*公開後修正2021*/

a.banner_main img {
    max-width: 500px !important;
    margin: 10px auto 30px;
    display: block;
    transition: 0.5s;}

a.banner_main img:hover{
opacity: 0.7;}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
a.banner_main img {
    max-width: 400px !important;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
a.banner_main img {
    max-width: 280px !important;
}

}




/*20220304*/
a.banner_main img {
    margin: 0px;
    display: block;
    transition: 0.5s;
    max-width: 100% !important;
}