﻿@charset "utf-8";

/* 1536 , 1530 × 735 ,1366 *//* 上記画面幅でも崩れていないか確認 */

/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */




/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/* color */
.txt_color_nomal, .hvr_txt_color_nomal:hover{color: var(--black);}
:root{
    --color1: #5b493b; 
    --color2: #fffaee; 
    --color3: #ffa92c; 
    --color4: #fff1b6; 
    --black: #151a1e; 
	--linkStyle:#f7920d;
}

.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;
}

html, body {
    font-size: 16px;
}
.width_60{
    width: 55px;
}
/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 10px;
    right: 50px;
    z-index: 5;
    width: 37%;
    max-width: 220px;
    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){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#fix_bnr {
    right: auto;
    left: 10px;
}
}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.scroll_bar{
    display: none;
}

#head_logo{
    display: none;
}

#main_img{
    background-image: url('/Files/img/main_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 700px;
}
#wrap{
    min-width: 1200px;
}

/*#main_img div:nth-child(1){
              width: 70%;
    max-width: 720px;
    left: 65%;
    bottom: 0;
    transform: translate(-50%, 0);
}*/
#main_img div:nth-child(2){
        width: 55%;
        max-width: 860px;
            left: 50%;
    top: 28%;
    transform: translate(-50%, -50%);

}
#main_img div:nth-child(3){
    width: 28%;
    max-width: 250px;
        right: 0;
        bottom: 10px;

}



/* スクロールさせるラッパー */
.scrolling-wrapper {
    overflow: hidden;
  width: 100%;
      position: absolute;
    bottom: 10px;
}

/* 画像を横並びにするコンテナ */
.scrolling-images {
  display: flex;
  /* 30秒かけて一周する設定 */
  animation: scroll-left 30s linear infinite; 
  width: max-content;
}

/* 画像単体の設定 */
.scrolling-images img {
    flex-shrink: 0;
  width: auto; 
  height: 400px;
  display: block; 
  object-fit: cover;
  object-position: center;
}

/* アニメーションの定義 */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#main_img{
    min-height: auto;
    height: 70vw !important;
}
#wrap{
    min-width: auto;
}
.scrolling-wrapper {
    bottom: 30px;
}
.scrolling-images img {
    height: 210px;
}
#main_img div:nth-child(2) {
            width: 74%;
        top: 29%;
}

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
        #main_img {
            height: 130vw !important;
        }
        
        .scrolling-images img {
            height: 143px;
        }
        #main_img div:nth-child(2) {
                    width: 87%;
                    top: 29%;
        }
#main_img div:nth-child(3) {
    width: 45%;
}
#main_img div:nth-child(4){
    width: 41%;
    max-width: 250px;
        left: 0;
        bottom: 0;

}
.scrolling-wrapper{
    bottom: 16%;
}
}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#top_contact{
    display: none;
}
#top_cms .more{
    margin-top: 50px;
}

#top_contents::before {
    background-color: var(--color2);
}

#top_video .video{
    max-width: 800px;
    margin: 0 auto;
}

#top_video .intro_title{
        width: 55%;
    max-width: 600px;
    top: 30px;
    left: 50%;
    transform: translate(-50%, 0);
}
.contents_no{
    display: none;
}



/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
    #intro .intro_img {
        height: 60vw;
        top: auto;
        bottom: 0;
    }
    #intro {
        padding-bottom: calc(60vw - 20px);
    }
    #video .video{
        width: 100%;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){

#top_video .intro_title {
    width: 72%;
    top: 20px;
}
}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.cate_list li a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px;
}

/*ブログ*/
.blog_list .border_color2{
    border-color: var(--color1);
}

/*お客様の声*/
#cms_5-f .cate_box .open_bt .box_title1::before, .cms_5-f .cate_box .open_bt .box_title1::before {
    display: none;
}
#cms_5-f .cate_box .open_bt .box_title1, .cms_5-f .cate_box .open_bt .box_title1 {
    margin-left: 50px;
}
    #cms_5-f .cate_box .box_txt1, .cms_5-f .cate_box .box_txt1 {
        background-color: rgba(237, 223, 195, 0.3);
    }

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
    /*お客様の声*/
    #cms_5-f .cate_box .box_item, .cms_5-f .cate_box .box_item {
        padding-right: 0;
    }
}


