﻿
/* ---------- font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root{
    --font-jp:  "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: "Roboto", "Noto Sans JP",  "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
	/*font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";*/
}
body, .font_sans-serif, .font_serif, .font_Quick{
    font-family: var(--font-jp)!important;
    font-weight: 500;
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en)!important;
}

/* ---------- color ---------- */
#footer::before{
    background: var(--color3);
}


/* anim */
.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;}




/* ======================================================================================
　　all
======================================================================================== */
html, .font_2dw {
    font-size: 17px;
}
#loading_line .line {
    background-color: #c90c14;
}
#wrap{
    min-width: 1000px;
}
#loading_logo {
    max-width: 300px;
}
.tel_bt {
    display: none;
}
.fadein_left {
    position: relative;
    overflow: visible;
    z-index: 0;
    transform: translateX(50px);
    opacity: 0;
    transition: transform 1.5s cubic-bezier(0.5, 0.1, 0.2, 1), opacity 1.8s cubic-bezier(0.5, 0.1, 0.2, 1);
}
.fadein_left.start {
    transform: translateX(0);
    opacity: 1;
}
#top_contents2 .fadein_right {
    position: relative;
    overflow: visible;
    z-index: 0;
    transform: translateX(-57%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.5, 0.1, 0.2, 1), opacity 1.3s cubic-bezier(0.5, 0.1, 0.2, 1);
}
#top_contents2 .fadein_right.start {
    transform: translateX(0);
    opacity: 1;
}

/* ---------- header ---------- */
#logo {
    width: 350px;
    height: 157px;
    border-radius: 0 0 5px 0;
}
#logo .logo{
    left: 44%;
}
#logo img{
    width: 100%!important;
}
.tel_bt, #header .contact_box {
    display: none!important;
}

header{position: absolute!important;z-index: 4;right: 0;width: 100%;box-sizing: border-box;padding-right: 58px;}
#header-nav{
    position: absolute;
    z-index: 2;
    background-color: #fff;
    padding: 16px 10px;
    border-radius: 5px;
    right: 117px;
    top: 0;
}
#header-nav ul {
    justify-content: space-around;
    align-items: center;
}
#header-nav ul li{
    margin: 0 15px;
    font-size: 17px;
}
#main_img {
    max-height: 100%;
}
#top_contact_box .con_bt .line_btn{
    padding-left: 0;
}
#fix_menu .sns_links li{
    width: 28px;
}


/* ---------- footer ---------- */
#logo2{
    width: 29% !important;
    max-width: 208px;
}



/*======================================================================================
　　top
======================================================================================== */
.swiper-container-fade .swiper-slide{
    height: 100vh!important;
}
.fv_txt {
    z-index: 2;
    width: min(40%, 600px);
    top: 30%;
    left: 8%;
}
#top_contents1 {
    padding: 100px 0 60px;
}
#top_contents1 .catch_txt {
    padding-left: 10%;
    padding-right: 6%;
}
.con1_img{
   padding-right: 5%;
}
#top_contents1 .title h2, #top_con2 .title h2{
    font-size: clamp(18px, 2.5vw, 37px);
    line-height: 1.4;
}
#top_contents1 .title:before {
    content: "About us";
    font-size: clamp(80px, 17vw, 157px);
    width: 100vw;
    color: var(--color4);
    font-weight: bold;
    line-height: 1.2;
    position: absolute;
    top: -129px;
    left: -5%;
    font-family: var(--font-en);
}

#top_con2 {
    padding-bottom: 174px;
    padding-top: 90px;
}
#top_con2 .txt2{
    line-height: 1.7;
}
.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 89px solid transparent;
  border-left: 89px solid transparent;
  border-top: 60px solid #ffffff;
  border-bottom: 0;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}
#top_con2 .title{
    padding-bottom: 21px;
}
#top_con2 .title:before{
    content: "";
    width: 79px;
    height: 4px;
    background-color: var(--color1);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
#top_con2 .font_en{
    font-size: 50px;
    font-weight: 900;
    
}
#top_con2 .img_box {
    margin: 50px auto 3%;
    max-width: 1280px;
}
#top_con2 .img_box .item{
    padding: 0 20px;
}


#top_contents2 .con_box .text_box .before{
    display: none;
}
#top_contents2 {
    padding: 53px 0 22px;
    position: relative;
}
#top_contents2:before {
    content: "Worries";
    font-size: clamp(80px, 17vw, 157px);
    width: 100vw;
    color: #fff;
    font-weight: bold;
    line-height: 1.2;
    position: absolute;
    top: -96px;
    right: 3%;
    font-family: var(--font-en);
    text-align: right;
    z-index: 3;
}
#top_contents2 .title {
    font-size: clamp(18px, 2vw, 30px);
    padding: 20px;
    position: relative;
    z-index: 2;
    padding: 49px 99px 49px 10%;
    display: inline-block;
    border-radius: 0 200px 200px 0;
    top: -44px;
    position: absolute;
    width: 24%;
}
#top_contents2 .con_box .text_box {
    width: 86%;
    z-index: 0;
    top: 50%;
    right: 0;
    padding: 162px 5% 5% 10%;
    overflow-y: visible;
    max-height: 100%;
    transform: none;
    border-radius: 0 10px 10px 0;
    position: static;
}
#top_contents2 .con_box .text_box > div{
    padding-right: 49%;
    line-height: 1.7;
}
#top_contents2 .con_box .img_box {
    width: 49% !important;
    z-index: 2;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
#top_contents2 .con_box .con_img {
    height: 31vw;
}
#top_contents2 .title2 {
    font-size: 25px;
    line-height: 1.5;
}
#top_contents2 .check {
    /*background: #f7f7f7;*/
    /*padding: 10px;*/
    border-radius: 10px;
    display: inline-block;
    width: 100%;
    max-width: 500px;
}
#top_contents2 .check li {
    background: url(../img/check.png);
    background-repeat: no-repeat;
    background-position: 0 5px;
    background-size: 28px;
    padding: 5px 5px 8px 38px;
    font-size: 16px;
    border-bottom: 1px solid var(--color1);
    font-weight: 600;
}
@media screen and (max-width: 667px){
#top_contents2 .check li {
    background-size: 21px;
    padding: 2px 3px 2px 30px;
    font-size: 14px;
}
}

/* linkBox */
#linkBox {
    margin: 0 auto 200px;
    width: 90%;
    /*max-width: 1280px;*/
}
#linkBox .box {
    height: 100%;
    /*overflow: hidden;*/
    overflow: visible;
    padding: 0 15px;
}
#linkBox .box a {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* box-shadow: 0 4px 47px rgb(0 0 0 / 6%); */
    transition: all .5s;
}
#linkBox .box a:hover {
    opacity: 0.7;
}
#linkBox .titleBox {
    /* background-color: #fff; */
    height: 100%;
    /*width: 40%;*/
    width: 100%;
    display: flex;
    order: 2;
    align-items: center;
    text-align: center;
    position: relative;
}
#linkBox .title {
    color: #333;
    margin: auto;
    width: 71%;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
    padding: 20px;
    background-color: #fff;
    position: absolute;
    top: -46px;
    left: 0;
    right: 0;
    z-index: 1;
}
#linkBox .title::before {
    position: absolute;
    content: "";
    width: 90px;
    height: 3px;
    background-color: var(--color1);
    background: var(--color1);
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
}
#linkBox .sub_title {
    color: var(--color1);
    font-weight: normal;
    font-size: 14px;
}
#linkBox .obje_rectangle {
    /*width: 60%;*/
    width: 100%;
    padding-top: 59.66%;
    position: relative;
    display: flex;
    order: 1;
}
#linkBox .obje_square{
	padding-top: 100%;
    position: relative;
}
#linkBox .obje_rectangle img, .obje_square img{
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    object-fit: cover;
}
a .hvr_img_zoom {
    -webkit-transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-transform: scale(1);
    transform: scale(1);
}
a:hover .hvr_img_zoom{
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}
@media screen and (max-width: 768px){
#linkBox {
    width: 70%;
    margin: 0 auto 30px;
}
#linkBox .box {
    margin-bottom: 85px;
}
#linkBox .obje_rectangle {
    padding-top: 57.66%;
}
}
@media screen and (max-width: 667px){
#linkBox {
    width: 90%;
    margin: 0 auto 20px;
}
#linkBox .title {
    font-size: 14px;
    padding: 20px 15px;
}
}

#top_contact_box .top .box {
    background-color: rgb(221 23 31 / 87%);
}
#top_contact_box .bottom .box {
    background-color: rgb(40 39 39 / 88%);
}



/*======================================================================================
　　under
======================================================================================== */
.checkbox li{
    width: 33.33333% !important;
    padding: 0;
}
#form_area{
    margin-top: 30px;
}
.form_wrap input {
    background-color: var(--color2)!important;
}
.form_wrap #submit input {
    background-color: var(--color1)!important;
}
#page_title::before{
    background: rgb(0 0 0 / 0%);
}



/*======================================================================================
　　size
======================================================================================== */

@media screen and (max-width: 1545px){
    #top_contents1 {
    padding: 14% 0 60px;
}
}
/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
html, .font_2dw {
    font-size: 16px;
}
.overlay nav{
    height: 79%;
}
header{position: absolute;z-index: 4;right: 0;width: 100%;box-sizing: border-box;padding-right: 58px;}
#logo {
        width: 37% !important;
    height: 94px;
}
#logo h1.logo{
    width: 100%;
    max-width: 100%;
}
#wrap{
    min-width: 100%;
}
.tb_sns_wrap .sns_links_tb li {
    width: 40px;
}
#header .contact_box {
    display: block!important;
}

.swiper-container-fade .swiper-slide{
    height: 57vw !important;
}
.fv_txt{
    width: 50%;
    left: 7%;
}

#top_contents1 {
    padding: 130px 0 60px;
}
#top_contents1 .title h2, #top_con2 .title h2 {
    font-size: clamp(20px, 3.5vw, 26px);
}
#top_contents1 .title:before {
    top: -92px;
    font-size: 15vw;
}

#top_con2 {
    padding-bottom: 121px;
}
#top_con2 .img_box .item {
    padding: 0;
}
#top_con2 .img_box {
    margin: 50px auto 50px;
    max-width: 100%;
}
#top_contents2:before{
    font-size: 16vw;
    right: 0;
    top: -59px;
    z-index: 2;
}
#top_contents2 .title {
    font-size: 20px;
    padding: 20px;
    position: relative;
    z-index: 2;
    padding: 37px 50px 37px 8%;
    display: inline-block;
    border-radius: 0 200px 200px 0;
    top: -44px;
    position: absolute;
    width: 29%;
}
#top_contents2 .con_box{
    margin-bottom: 0;
}
#top_contents2 .con_box .text_box{
    padding: 10% 10% 20%;
}
#top_contents2 .con_box .text_box > div {
    padding-right: 0;
}
#top_contents2 .title2 {
    font-size: 18px;
}
#top_contents2 .con_box .img_box{
    width: 73% !important;
    z-index: 2;
    position: static;
    order: 2;
    transform: translateY(-33%);
    margin: 0 auto -7%!important;
}
#top_contents2 .con_box .con_img {
    height: 43vw;
}
#top_contents2 .check li {
    font-size: 15px;
}
.link_type2 {
    margin-top: -33px;
}
#linkBox{
    margin: 0 auto 80px;
}
.checkbox li {
    width: 50% !important;
    padding: 0;
}

}

/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
html, .font_2dw {
    font-size: 15px;
}
#loading_logo {
    width: 53%;
    max-width: 200px;
}
.overlay nav {
    top: 47%;
}
.overlay .menu-box .menu_list li a {
    font-size: 14px;
}
#logo {
    width: 46% !important;
    height: 76px;
}
.tb_sns_wrap .sns_links_tb li {
    width: 33px;
}
#logo2{
    width: 51% !important;
}
.overlay .menu-box .menu_list li a{
    font-size: 16px;
}
.foot_sns.tb_sns_wrap .sns_links_tb li {
    width: 34px;
}

.swiper-container-fade .swiper-slide {
    height: 80vw !important;
}
.fv_txt {
    width: 66%;
    top: 30%;
    left: 5%;
}

#top_contents1 {
    padding: 86px 0 60px;
}
#top_contents1 .title:before {
    top: -56px;
    font-size: 70px;
}
#top_contents1 .title h2, #top_con2 .title h2 {
    font-size: 23px;
}
.con1_img {
    padding-right: 0;
    width: 74.33333% !important;
}
.triangle {
    border-right: 60px solid transparent;
    border-left: 60px solid transparent;
    border-top: 35px solid #ffffff;
}
#top_con2 {
    padding-bottom: 91px;
    padding-top: 58px;
}
#top_con2 .img_box {
    margin: 27px auto 50px;
}

#top_contents2:before {
    font-size: 70px;
    right: auto;
    top: -64px;
    z-index: 2;
    text-align: left;
    left: 14px;
}
#top_contents2 .title {
    font-size: 19px;
    padding: 26px 34px 26px 8%;
    width: 58%;
    top: 0;
}
#top_contents2 .con_box .text_box {
    padding: 24% 6% 20%;
    width: 89% !important;
    border-radius: 10px;
}
#top_contents2 .title2 {
    font-size: 16px;
}
.link_type2 .cate_box a {
    padding-top: 45px;
    padding-bottom: 45px;
}
#top_cms .more {
    margin-top: 43px;
}
#linkBox {
    margin: 0 auto 57px;
}
.checkbox li {
    width: 100% !important;
    padding: 0;
    margin-bottom: 14px;
}
.info_txt .font_4up {
    font-size: -webkit-calc(1rem + 1px);
    font-size: calc(1rem + 1px);
}
}


/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 26px;
    right: 109px;
    z-index: 10;
    width: 70%;
    max-width: 398px;
    transition: 0.5s;
    opacity: 1;
    /* pointer-events: none; */
    z-index: 4;
    filter: drop-shadow(0px 8px 4px rgba(0, 0, 0, 0.2));
}
#fix_bnr.scroll{
    opacity: 1;
pointer-events: auto;
}
#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}
#fix_bnr a:hover{
    opacity: 1;
    transform: translateY(-5px);
}
@media screen and (max-width: 768px){
#fix_bnr{
    left: 0;
    right: 0;
    margin: auto;
}
#fix_bnr.close{
    transform: translateY(200px);
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 78%!important;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 10px;
}
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/






