﻿
/* font ------------------------------------------------------------------------------*/
body p {
    font-size: 16px !important;
}
/* font ------------------------------------------------------------------------------*/

/* color -----------------------------------------------------------------------------*/

:root{
    --color1:#4B7FC0;
    --color2:#D3E3F4;
    --color3:#2fbcff;
    --color4:#f4f4f5;
    --color5:#4B7FC0;
    --white:#ffffff;
    --black:#333333;
    --gray:#ccc;
}

body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: var(--black);}
.txt_white,.hvr_txt_white:hover{color: var(--white);}
.txt_color1,.hvr_txt_color1:hover{color: var(--color1);} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: var(--color2);} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: var(--color3);} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: var(--color4);} /* アクセントカラー2 */
.txt_color5,.hvr_txt_color5:hover{color: var(--color5);} /* アクセントカラー2 */
/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: var(--white)} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: var(--black);} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: var(--color1);} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: var(--color2);} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: var(--color3);} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: var(--color4);} /* アクセントカラー2 */
.bg_color5,.hvr_bg_color5:hover{background-color: var(--color5);} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}
/* border-color ※!important */
.border_white,.hvr_border_white:hover{border-color: var(--white);}
.hvr_border_black:hover{border-color: var(--black);}
.border_black{border-color: var(--gray);}
.border_color1,.hvr_border_color1:hover{border-color: var(--color1);}
.border_color2,.hvr_border_color2:hover{border-color: var(--color2);}
.border_color3,.hvr_border_color3:hover{border-color: var(--color3);}
.border_color4,.hvr_border_color4:hover{border-color: var(--color4);}
.border_color5,.hvr_border_color5:hover{border-color: var(--color5);}

.linkStyle{color: var(--color1);
          border-bottom:solid 1px;
}
body#body {
    background: var(--white);
}

section#google_privacy a {
    color: var(--color1);
    transition: 0.5s;
}

section#google_privacy a:hover {
    opacity: 0.8;
}
/* color -----------------------------------------------------------------------------*/

/* ev --------------------------------------------------------------------------------*/
article#top_cms {
    max-width: 1400px;
    margin: 0 auto;
}

#main_img{position:relative;}

#main_img::before,#main_img::after,#top_cms::before{
    content: '';
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events:none;
}


/*ヘッダー追従----------------------------------------------------------------------*/


section#main_img {
    max-height: inherit;
    margin-top: 100px;}
#header #logo {
    width: 300px;
    height: 100px;
    background: transparent;
}
#header #logo h1 { width: 67%!important;}
#header{
    position: fixed;
    width: calc(100% - 90px);
    box-sizing: border-box;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 11;
    padding: 0 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);}
#header #header-nav{
    padding: 20px 0;
    margin-top: 0;}
#header.active #logo{height: 100%;}
#header .tel_bt_h span.font_4dw i{display: none;}
/*#header-nav li:last-of-type a .before{display: none;}*/

@media screen and (max-width: 1280px){
#header {
    position: fixed;
    width: calc(100% - 80px);
}
}

/*タブレット*/
@media screen and (max-width: 768px){
#header {z-index: 999;}

#header {background-color: var(--white) !important;}
header {
    background-color: var(--white) !important;
    position: fixed;
    width: 250px !important;
    display: block; }
#header #logo h1 {
    width: 100% !important;
    left: 1%;
    max-width: 250px;}
#header, #fix_menu {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    box-shadow: 0px 0px 0px 0px;}
#header #logo {
    width: 250px !important;
    height: 100px;
    background: transparent;}
header.width_100per{
    position: fixed;
    z-index: 999;}
}
/*カテゴリリストずれ修正------------------------*/
.cate {
    display: block;
    padding-top: 150px;
    margin-top: -150px;
}

@media screen and (max-width: 768px){
.cate {
    display: block;
    padding-top: 0px;
    margin-top: 0px;
}
}
/*カテゴリリストずれ修正------------------------*/

/*ヘッダー追従----------------------------------------------------------------------*/

/* ev --------------------------------------------------------------------------------*/


/*top■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


section#main_img {
    height: calc(100vh - 100px);
}

.topimg01 {
    object-fit: cover;
    width: 105%;
    height: 100vh;
    box-sizing: border-box;
    top: 50%;
    position: absolute !important;
    transform: translate(-50%, -50%);
    left: 55%;
}

#main_img::before {
    background: linear-gradient(88deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 70%);
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
}

#main_img::after {
    background: url(dup/img/wave.png);
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    background-size: 120%;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.catch_box {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.catch .copy {
    width: clamp(250px, 35vw, 600px);
    top: 22%;
    left: 5%;
    z-index: 2;
}

    .cate_anim_box {
        position: absolute;
        top: 57%;
        left: 4%;
        transform: translate(0%, -50%);
        z-index: 2;
    }
    
    .anim_box {
        display: flex;
       justify-content: center;
    }
    
    .anim_box img {
        width: clamp(75px, 35vw, 250px) !important;
        position: relative;
        transform: none;
    }



.anim_box .item{
	transform: translateY(20px);
	transition: transform 1.5s ease, opacity 2s;
	transition-property: opacity,transform;
	opacity: 0;
}
.anim_box .item.start{transform: translateY(0);opacity: 1;}


/*.maru02 img {*/
/*    transform: translateX(85%);*/
/*}*/

/*.maru03 img {*/
/*    transform: translateX(170%);*/
/*}*/



/*上下に揺らす----------------------------------------*/

.anim_box .item.maru01.start{
  animation: img_box_9955 10s linear infinite;
  animation-delay: 2s;
  transform-origin: 50% 50%;
  margin: 1rem 0 !important;
  transform: translateY(0px);
}
.anim_box .item.maru02.start{
  animation: img_box_0000 10s linear infinite;
  animation-delay: 2s;
  transform-origin: 50% 50%;
  margin: 1rem 0 !important;
  transform: translateY(0px);
}
.anim_box .item.maru03.start{
  animation: img_box_1111 10s linear infinite;
  animation-delay: 1.8s;
  transform-origin: 50% 50%;
  margin: 1rem 0 !important;
  transform: translateY(0px);
}

@keyframes img_box_9955 {
  0% { transform: translateY(0px) }
  33.33333% { transform: translateY(-8px) }
  66.66667% { transform: translateY(0) }
  100% { transform: translateY(0) }}
  
 @keyframes img_box_0000 {
  0% { transform: translateY(0px) }
  33.33333% { transform: translateY(-6px) }
  66.66667% { transform: translateY(0) }
  100% { transform: translateY(0) }}

 @keyframes img_box_1111 {
  0% { transform: translateY(0px) }
  33.33333% { transform: translateY(-8px) }
  66.66667% { transform: translateY(0) }
  100% { transform: translateY(0) }}


/*上下に揺らす----------------------------------------*/

#top_contents1 {
    position: relative;
    z-index: 0;
}

#top_contents1 p {
    font-size: 16px;
    max-width: 850px;
}

section#top_contents2 h2 {
    font-size: clamp(18px, 1.5vw, 23px);
    color: var(--color1);
}

#top_contents2 .con_box:nth-of-type(2) .text_box .before{
    background-color: var(--color1);
}

#top_cms::before {
    position: fixed;
    top: 60%;
    width: 150%;
    height: 100vh;
    background: url(dup/img/wave02.png) center no-repeat;
    background-size: 100%;
    z-index: -99;
    animation: anime1 60s linear infinite;
    opacity: 0.08;

}

/*** animation ***/

@keyframes anime1 {
    0% {
        left: 50%;
        transform: translate(-50%,-50%) rotate3d(1, 1, 1, -5deg);
    }
    50% {
        left: 30%;
        transform: translate(-50%,-50%) rotate3d(1, 1, 1, -15deg);
    }
    100% {
        left: 50%;
        transform: translate(-50%,-50%) rotate3d(1, 1, 1, -5deg);
    }
}


/*topinfo----------------------------------------------------------*/
#footer_info .contact_box a:hover .contact_bg {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.1);}
section#footer_nav {
    margin: 0;
    padding: 20px 0;}

/*タブレット*/
@media screen and (max-width: 768px){
.tb_sns_wrap ul {padding: 30px 0 20px;}
section#footer_nav li {padding: 0 15px;}
}


.info_box {
    background: var(--color4);
}
/*topinfo----------------------------------------------------------*/

.cms_title_inner span {
    border-width: 2px;
    width: 30px !important;
    height: 30px !important;
}

#header-nav li a .before {
    height: 1px;
}


.link_type2 .cate_box a {
    color: #fff;
}
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    background-color: #c52e3d;
    transition: 0.5s;
	z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .cate_box a:hover .more {
    opacity: 1;
}

.btn_box {
    max-width: 850px;
    justify-content: space-between;
    align-items: center;
}

.top_btn {
    border: solid 1px  var(--color1);
    padding: 16px 20px;
    position: relative;
    width: 44%;
    color: var(--color1);
    transition: 0.5s;
}

.top_btn::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 1px var(--color1);
  border-right: solid 1px var(--color1);
  transform: rotate(45deg);
  position: absolute;
  margin-top: -5px;
  top: 50%;
  right: 20px;
    transition: 0.5s;  
}

.top_btn:hover::after{
  right: 15px;
  border-top: solid 1px var(--white);
  border-right: solid 1px var(--white);
}

.top_btn:hover {
    background: var(--color1);
    color: var(--white);
}

#loading_logo {
    max-width: 350px;
}

/*top■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*all■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


#footer::before {background: var(--color1);}
.footer_box p, .footer_box a {color: var(--white);}

#header #logo h1 {
    width: 90% !important;
}

.mail_bt a {
    font-weight: 600;
    font-size: 15px;
}

.footer_txt{
    text-align: center;
}



/*all■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*sub■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

.g_type1 > div{justify-content: space-around;}
.g_type1 .modal_bt{cursor: pointer}
.g_type1 .modal_bg{top: 0;left: 0;background-color: rgba(0,0,0,0.5);z-index: 9998;}
.g_type1 .modal_box{max-height: 80%;overflow-y: auto;z-index: 9999;}
.g_type1 .close_bt{cursor: pointer}
.g_type1 .cate_box {position: relative;width: 22.99999%!important;margin: 0 1%;margin-bottom: 20px;overflow: hidden; }

@media all and (-ms-high-contrast:none){
.g_type1 .modal_box .box_txt2 a {padding: 8px 10px 2px;}
}

@media screen and (max-width: 768px){
.g_type1 .cate_box {width: 30.99999%!important;}
}
	
@media screen and (max-width: 667px){
.g_type1 .cate_box {width: 47.99999%!important;}
}


#page9 .box {
    border-color: var(--color1);
}

div#logo2 {
    max-width: 300px;
}


/*sub■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/*1536*/
@media screen and (max-width: 1536px){

}

/*1530 × 735*/
@media screen and (max-width: 1530px){

}

/*1366*/
@media screen and (max-width: 1366px){
    #top_contents2 .con_box .text_box {
        width: 50%;
    }
    
}

/*タブレット*/
@media screen and (max-width: 768px){
    
    section#main_img {
        height: calc(70vh - 100px);
        padding-top:0px !important;
    }
    
    .topimg01 {
        object-fit: cover;
        width: 166%;
        height: calc(70vh - 100px + 10%);
        box-sizing: border-box;
        top: 45%;
        position: absolute !important;
        transform: translate(-50%, -50%);
        left: 17%;
    }
    
    #main_img::before {
        background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%);
        width: 100%;
        height: 100%;
        top: 0%;
        left: 0%;
    }

    .catch .copy {
        width: clamp(250px, 45vw, 600px);
        top: 6%;
        left: auto;
        z-index: 2;
        right: 4%;
    }  
    
    .cate_anim_box {
        position: absolute;
        top: auto;
        left: 50%;
        bottom: -6%;
        transform: translate(-50%, 0%);
        z-index: 2;
    }
    .anim_box img {
        width: clamp(75px, 32vw, 250px) !important;
    }
    
    /*.maru02 img {*/
    /*    transform: translateX(85%);*/
    /*}*/
    
    /*.maru03 img {*/
    /*    transform: translateX(170%);*/
    /*}*/
    
    .top_btn {
        width: 43%;
    }
    
     #top_contents2 .con_box .text_box {
        width: 90%;
    }
    
    .tb_sns_wrap ul {
        padding: 0;
    }
    
    div#logo2 {
        max-width: 200px;
        width: 50% !important;
    }
    div#contact_wrap {
        padding: 0 2%;
    }
    #loading_logo {
        width: 60%;
    }
    
}

/*スマホ*/
@media screen and (max-width: 667px){

    section#main_img {
        height: calc(70vh - 80px);
        padding-top:0px !important;
        margin-top: 80px;
    }
    
    .topimg01 {
        object-fit: cover;
        width: 200%;
        height: calc(70vh - 80px );
        box-sizing: border-box;
        top: 50%;
        position: absolute !important;
        transform: translate(-50%, -50%);
        left: 10%;
    }
    
    #header #logo h1 {
        width: 80% !important;
        left: 15px;
    }
    
    #header #logo {
        width: 300px !important;
        height: 80px !important;
        background: transparent;
    }
    
    #header, #fix_menu{
        height: 80px;
    }
    
    #main_img::before {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 20%,
            rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.7) 100%);
            width: 100%;
            height: 100%;
            top: 0%;
            left: 0%;
    }
        
    #main_img::after {
        background: url(dup/img/wave.png);
        bottom: 0%;
        left: 50%;
        transform: translateX(-50%);
        background-size: 200%;
        background-position: center bottom;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
        opacity: 0.4;
    }
    

    
    body p,#top_contents1 p {
        font-size: 15px !important;
    }
    .top_btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    #footer {
        margin-top: 0px;
    }
    
    section#top_contents2 h2{
        text-align: center;
    }
    
    
    .cate_anim_box {
        position: absolute;
        top: auto;
        left: 50%;
        bottom: 0%;
        transform: translate(-50%, 0%);
        z-index: 2;
    }
    
    
    #top_cms::before {
    position: fixed;
    top: 300px;
    width: 150%;
    height: 100vh;
    background: url(dup/img/wave02.png) center no-repeat;
    background-size: 100%;
    z-index: -99;
    animation: anime1 60s linear infinite;
    opacity: 0.15;

}

/*** animation ***/

@keyframes anime1 {
    0% {
        left: 50%;
        transform: translate(-50%,-50%);
    }
    50% {
        left: 30%;
        transform: translate(-50%,-50%);
    }
    100% {
        left: 50%;
        transform: translate(-50%,-50%);
    }
}

    
}



