﻿@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
/* 1536 , 1530 × 735 ,1366 *//* 上記画面幅でも崩れていないか確認 */

/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */




/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/* color */
.txt_color_nomal, .hvr_txt_color_nomal:hover{color: var(--black);}
:root{
    --color1: #ff9312; 
    --color2: #fffae1; 
    --color3: #ffac1a; 
    --color4: #ffe7ab; 
    --black: #151a1e; 
	--linkStyle:#f47f00;
	--en:"Jost", sans-serif;
}

.txt_red, .hvr_txt_red:hover{color: #C12326;}
.txt_gray, .hvr_txt_gray:hover{color: #ccc}
.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 */

/* background-color */
.bg_black, .hvr_bg_black:hover{background-color: var(--black)} /* 黒背景 */
.bg_gray, .hvr_bg_gray:hover{background-color: #ccc}
.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_color_clear, .hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.border_black, .hvr_border_black:hover{border-color: var(--black)}
.border_gray, .hvr_border_gray:hover{border-color: #ccc}
.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)}


.linkStyle{
	color:var(--color1);
}
.linkStyle:hover{
	color:var(--color1);
	opacity: 0.7;
	transition: all 0.5s;
}

.point_no{
    pointer-events: none;
}

.en, #page_title .box span, #page10 .more_bt2 .font_100per ,.top_cms_title span, .more_bt a,.text-slider div {
    font-family: var(--en);
}
html, .font_100per{
    font-size: 18px;
}

/*load*/
#loader .load_logo img{
    max-width: 180px;
}

/*header*/
#pc_nav #logo{
    max-width: 130px;
}
#sp_nav li.scrollin:last-child {
    display: none;
}

/*footer*/
#footer #logo2{
        max-width: 200px;
}
#bottom_menu ul li a{
    font-size: 16px;
}

.tel_bt{
    display: none;
}

/*page top*/
.icon-img {
    display: inline-block;
    width: 1em;  
    height: auto;
    vertical-align: middle; 
}

/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 0;
    right: 100px;
    z-index: 11;
    width: 26%;
    max-width: 290px;
    margin: auto;
    transition: opacity 0.8s, transform 0.8s;
    opacity: 0;
    transform: translateY(20px); 
    pointer-events: none; 
}

.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important; 
}

#fix_bnr:hover{
   transform: translateY(0) scale(1.1) !important;
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#sp_nav a.active {
    border-bottom: 1px solid var(--color2);
}
#sp_nav a {
    text-shadow: none;
}
/*footer*/
#footer #logo2 {
    max-width: 130px;
}
#f_contact .more_bt a{
        background-color: transparent;
    color: #fff;
    border: solid 2px #fff;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
/*fix_bnr*/
#fix_bnr {
width:45%;
right:0;
left:0;
}

/*load*/
#loader .load_logo img {
    max-width: 130px;
}

}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

#main_img{
    background-image: url('/Files/img/main_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 700px;
    overflow: hidden;
}
#main_img::before {
    display: none;
}
#main_img div:nth-child(1){
         position: absolute;
    left: 0; 
    bottom: -30%; 
    animation: drive 6s linear infinite;
    width: 100px;   
    z-index: 1;  
}

@keyframes drive {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(0, -130vh) scale(1); 

    }
}
#main_img div:nth-child(2){
        width: 45%;
    max-width: 740px;
    left: 34%;
    top: 60%;
    transform: translate(-50%, -50%);
}
#main_img div:nth-child(3){
    width: 28%;
    max-width: 430px;
    left: 0;
    bottom: 0;
}

#main_img .copy {
    position: absolute;
    top: 0;
    right: 40px;
    width: 130px;
    height: 100vh;
    overflow: hidden; 
}

#main_img .copy::before,
#main_img .copy::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 180vh; 
    background-image: url(/files/img/copy.png);
    background-size: 100% 100%; 
    background-repeat: no-repeat;
    animation: tate-scroll-up 30s linear infinite;
}

#main_img .copy::before {
    top: 0;
}
#main_img .copy::after {
    top: 180vh; 
}

@keyframes tate-scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-180vh); 
    }
}



/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
    #main_img{
            min-height: auto;
    }
#main_img div:nth-child(1) {
    width: 70px;
}
#main_img div:nth-child(2){
    width: 68%;
    left: 38%;
    top: 68%;
}

#main_img div:nth-child(3) {
    width: 50%;
}
#main_img .copy {
        width: 100px;  
        right: 20px;   
    }
    
    #main_img .copy::before,
#main_img .copy::after {
    content: "";
    height: 120vh; 
    animation: tate-scroll-up-tb 30s linear infinite;
}
#main_img .copy::after {
    top: 120vh; 
}

}
@keyframes tate-scroll-up-tb {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-120vh); 
    }
}
/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
    #main_img {
        height: 150vw !important;
    }
        #main_img div:nth-child(1) {
        width: 45px;
    }
    #main_img div:nth-child(2) {
        width: 85%;
        left: 46%;
        top: 72%;
    }
        #main_img div:nth-child(3) {
        width: 62%;
        left: -1%;
    }
    
    #main_img .copy::before,
#main_img .copy::after {
    display: none;
}
#main_img .copy {
    position: relative;
    top: 0;
    right: 0;
    background-image: none;
    width: 100%;
    height: auto;
    background-size: auto;
    background-repeat: repeat-y;
    background-position: 0 -50%;
    animation: none;
    margin-top: -5px;
}
}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

.intro_title h2 ,.top_title h2{
    font-size: 46px;
}
#contents2 .top_title {
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 187px;
}
.footer_item{
    max-width: 210px;
    width: 30%;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,0);
}
#intro .item{
    width: 30%;
        bottom: 0;
    right: 24%;
    max-width: 190px;
    z-index: 1;
}

#contents1 .item{
     width: 38%;
    max-width: 330px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
#top_cms {
    overflow: hidden;
}

.text-slider {
    position: absolute;
    top: 0;     
 
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    animation: text-scroll-up 30s linear infinite;
    
    z-index: 1; 
    pointer-events: none;  
}
.text-slider div {
        flex-shrink: 0;
    writing-mode: vertical-lr;
    font-size: 100px;      
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
    white-space: nowrap;  
    margin-bottom: 15px;   
    line-height: 1;
}
.text-slider.is-left {
        left: 0;   
}
.text-slider.is-right{
    right: 0;
    
}

.text-slider.tb{
    display: none !important;
}
@keyframes text-scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#intro .item{
    right: auto;
    left: 20%;
}
#contents2 .top_title {
        padding-bottom: 200px;
    }
    .text-slider.is-right, .text-slider.is-left {
        display: none !important;
    }
    .text-slider.tb{
        display: flex !important;
    }
    .text-slider {
        flex-direction: row;
        top: -17%;
        left: 0;
        width: 100%; 
        animation-name: text-scroll-horizontal;
    }
    .text-slider div {
        writing-mode: horizontal-tb;
        font-size: 60px; 
        
        margin-bottom: 0;
        margin-right: 40px; 
    }
    
}
@keyframes text-scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.intro_title h2 ,.top_title h2{
    font-size: 28px;
}
#contents1 .item {
    width: 48%;
}
    #contents2 .top_title {
        padding-bottom: 130px;
        padding-top: 50px;
    }
.footer_item {
    width: 38%;
}
.text-slider {
    top: -10%;
}
    .text-slider div {
        font-size: 40px;
    }
}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.cate_list li a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px;
}

/*ブログ*/
.blog_list .border_color2 ,.blog_wrap .border_color2{
    border-color: var(--color1);
}

/*お問い合わせ*/

.button a {
    background: var(--color1);
    border-radius: 9999px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 10px 25px 10px 10px;;
    color: #fff;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    border: solid 2px var(--color1);
    font-size: 36px;
}
.button a:hover {
    background: var(--color2);
    color: var(--color1);
}
.button a:after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 25px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button a:hover:after {
    border-color:var(--color1);
}


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.button a {
    font-size: 22px;
}
/*プライバシーポリシー*/
#page10 .more_bt2 a .font_100per{
    font-size: 14px;
}

}


