﻿#fix_bnr{
	bottom: 10px;
	right: 90px;
	z-index: 5;
	width: 400px;
}
@media screen and (max-width: 667px){
	#fix_bnr{
	    width: 250px;
	    left: 0;
        right: 0;
        margin: auto;
	}
}

#wrap {
    min-width: 1280px;
}

header.top_header {
    position: relative;
    height: 0;
    width: 0;
}

.txt_vertical {
    -webkit-writing-mode: horizontal-tb;
 -ms-writing-mode: lr-tb;
 writing-mode: horizontal-tb;
}

#contents1 .font_32 .txt_vertical {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

/* TopCMS商品詳細 */
.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: var(--color1);
    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;
}

/*■■ top ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

#loader {
    background-image: url(/Files/img/bg_wagara.png);
    background-size: 7% auto;
}

#header h1 {
    background: none;
}

#header h1 span {
    border: none;
}

#main_nav .d_flex {
    flex-flow: column;
    align-items: center;
}

#main_img .box_img {
    background-position: top left 51%;
}

#main_img .fv_warabi {
      animation: skew 2.3s linear infinite;
    }

@keyframes skew {
      0% {transform: skew(0deg, 0deg)scale(0.9);}
      5% {transform: skew(3deg, 3.2deg)scale(0.9);}
      10% {transform: skew(-3deg, -2deg);}
      15% {transform: skew(3deg, 2.2deg);}
      20% {transform: skew(-2deg, -1.5deg);}
      25% {transform: skew(0.9deg, 0.9deg);}
      30% {transform: skew(-0.6deg, -0.6deg);}
      35% {transform: skew(0.3deg, 0.3deg);}
      40% {transform: skew(-0.2deg, -0.2deg);}
      45% {transform: skew(0.1deg, 0.1deg);}  
      50% {transform: skew(0deg, 0deg);}
      100% {transform: skew(0deg, 0deg);} /* ループ用に追加 */
    }
    
.fv_warabi {
    left: 6%;
    top: 22%;
    width: 60%;
}

.bg_l {
    left:0;
    top:0;
    height: 100%;
}

.bg_r {
    right:0;
    top:0;
    height: 100%;
}

.bg_l img, .bg_r img {
    width: auto;
    height: 100%;
}

.copy_l {
    left: 2%;
    bottom: 3%;
    width: 30%;
    max-width: 220px;
}

.copy_r {
    right: 0;
    top: 1%;
    width: 32%;
    max-width: 570px;
}

.warabi_img {
    right: 9%;
    top: 56%;
    width: 21%;
    max-width: 390px;
}

#top_cms .top_cms_title {
    padding: 30px 0 20px 0;
}

#intro, #top_cms .top_cms_box .top_cms_title {
    background-image: url(/Files/img/bg_wagara.png);
    background-size: 5% auto;
}

#contents2 {
     min-height: auto;
}

#contents2 .d_flex {
    flex-flow: column;
}

#page-top {
    transform: translateY(3px);
}

#contents2::after {
    background-color: rgba(0, 0, 0, 0.7);
}



/* タブレット */
@media screen and (max-width: 768px){
    #wrap {
        min-width: 100%;
    }
    
    .fv_warabi {
    left: -5%;
    top: 40%;
    width: 86%;
    z-index: 1;
    }
    
    .bg_l {
    left: -22%;
    }
    
    .bg_r {
    right: -23%;
    top: 0;
    height: 100%;
    }
    
    .copy_r {
    right: -4%;
    top: 7%;
    width: 48%;
    max-width: 570px;
    z-index: 2;
    }
    
    .copy_l {
    width: 19%;
    z-index: 2;
;
    }
    
    .warabi_img {
    right: 2%;
    top: 45%;
    width: 28%;
    max-width: 220px;
}

}
/* スマホ */
@media screen and (max-width: 667px){
    #loader {
        background-size: 20% auto;
    }
    
    #main_img {
        height: 84vh;
    }
    
    #main_img .box_img {
        height: 78vh;
        background-size: cover;
        background-position: top left 41%;
    }
    #header h1.active img {
        max-width: 150px;
    }
    #main_img .fv_warabi {
    animation: skew 2.3s linear infinite;
    
    }
    .fv_warabi {
    left: -16%;
    top: 47%;
    width: 91%;
}
    
    .bg_r {
        top:auto;
        bottom: 0;
        height: auto;
    }
    .bg_l img, .bg_r img {
    width: 100%;
    height: auto;
    }
    .copy_r {
    right: -6%;
    top: 8%;
    width: 57%;
    max-width: 570px;
    }
    
    .copy_l {
    left: 5%;
    bottom: 5%;
    width: 53%;
    max-width: 200px;
    }
    
    .warabi_img {
    right: 4%;
    top: 24%;
    width: 38%;
    max-width: 140px;
    z-index: 2;
    }
    
    #intro, #top_cms .top_cms_box .top_cms_title {
    background-image: url(/Files/img/bg_wagara.png);
    background-size: 20% auto;
    }
    
    #contents2 {
    padding: 50px 20px;
    }
}

/*■■ cms ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#page_title {
    background-image: url(/Files/img/bg_wagara.png);
    background-size: 7% auto;
    min-height: auto;
    max-height: 40vh;
    align-content: center;
}

#main_nav {
        background-image: url(/Files/img/bg_wagara.png);
    background-size: 7% auto;
}

#page8 .tel_box {
    background-image: url(/Files/img/bg_wagara.png);
    background-position: center top;
    background-size: 10% auto;
}

/* タブレット */
@media screen and (max-width: 768px){
    #page8 .tel_box {
    background-image: url(/Files/img/bg_wagara.png);
    background-position: center top;
    background-size: 13% auto;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    #main_nav {
    background-image: url(/Files/img/bg_wagara.png);
    background-size: 20% auto;
    }
    
    #page8 .tel_box {
    background-image: url(/Files/img/bg_wagara.png);
    background-position: center top;
    background-size: 20% auto;
    }
    
    #cms_2-c .cate_title {
        letter-spacing: -0.05em;
    }
    
    #page_title >div {
        padding-top: 20px;
    }
    
    #page_title h2 {
        font-size: 28px;
    }
}

/*-----下層ページ-----*/
#google_privacy {
    background-color: #f7f7f7 !important;
}

#page10 .d_flex {
    flex-flow: wrap;
}

#page10 ul li a span {
    position: unset;
}

#page10 ul li a {
    width: 97%;
    background-color: var(--color2);
    padding: 10px 0;
}

/* タブレット */
@media screen and (max-width: 768px){
    #page_title {
    background-image: url(/Files/img/bg_wagara.png);
    background-size: 13% auto;
    }
    
    #loader {
    background-image: url(/Files/img/bg_wagara.png);
    background-size: 13% auto;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    #page_title {
    background-image: url(/Files/img/bg_wagara.png);
    background-size: 20% auto;
    }
    
    #loader {
    background-image: url(/Files/img/bg_wagara.png);
    background-size: 20% auto;
    }
    
    #page10 .border_so1-b_sp {
        border: none;
    }
    
    #page10 ul li {
        padding-bottom: 0;
    }
    
    #page10 ul li a {
    padding: 10px 0 3px 0;
    }

    .cate_list li {
    margin: 0 auto;
    width: 100%;
    }

    .cate_list a {
    padding: 10px 20px;
    width: 100%;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    }
    
    .cate_list a img {
        display: none;
    }
}

/*--footer--*/
#sns_links li a,#footer_menu ul li a {
    opacity: 1;
}

#sns_links li a:hover,#footer_menu ul li a:hover {
    opacity: 0.5;
}
