﻿@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500&display=swap');

body, .font_sans-serif, .font_serif{
    font-family: "メイリオ", Meiryo, "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

#contents4 p.font_8up, .cms_box .cms_title h2, #top_info .con_title, #page_title h2, #sp_nav ul, #cms_2-a .voice_box .txt_wrap::before, .cms_2-a .voice_box .txt_wrap::before, .cms_title_h{
    font-family: 'Barlow Condensed', "メイリオ", Meiryo, "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

/*** vivus ***/

.line_anm1, .line_anm2{
    z-index: 1;
}
.line_anm1 path, .line_anm2 path{
     fill: none;
     stroke: #ffffff;
     stroke-width: 7;
     stroke-linejoin: round;
     stroke-miterlimit: 10;
}

/*** other ****/

html, body, .font_2dw_sp, .font_2dw_tb{
    font-size: 16px;
}

.txt_shadow_h{
    text-shadow: none;
}

#loading_bg{
    background-color: #b56177;
}

main{
    background-color: #1a1a1a;
    position: relative;
    z-index: 1;
}
/*main .main_bg{
    top: 0;
    left: 0;
    background-image: url('./Dup/img/bg_img.png');
}*/

header{
    height: inherit!important;
}
header .menu_stick{
    top: 50%;
    transform: translateY(-50%);
}
header .menu_stick span{
    border-width: 1px;
}
header .menu_stick.stick_trans span:last-child {
    margin-top: -1px;
}
header .header_banner {
    top: 50%;
    transform: translateY(-50%);
    right: 150px;
}
header .header_banner a{
    background-color: rgba(226,175,187,0.5);
}
#header{
    height: 100px;
    transition: 0.3s;
    transition-property: background-color;
    background-image: none!important;
}
#header.active{
    opacity: 1;
    background-color: rgba(132,64,30,0.4);
}
#header h1{
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50px;
}
#header h1 img{
    height: inherit;
    width: 200px!important;
}
.index #header h1{
    opacity: 0;
    transition: opacity 0.3s;
}
.index #header.active h1{
    opacity: 1;
}

#sp_nav{
    background-color: transparent;
}
#sp_nav nav{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26,26,26,0.9);
    backdrop-filter: blur(5px);
}
#sp_nav ul{
    letter-spacing: 3px;
    font-size: 20px;
    margin-bottom: 20px;
}
#sp_nav .grid_3{
    display: none;
}

#main_img .main_logo{
    z-index: 1;
}
/*#main_img .main_txt{
    right: 50px;
    bottom: 50px;
    z-index: 1;
}
#main_img .line_anm1{
    top: -20px;
    right: 50px;
}*/

.con_title{
    padding-left: 0;
    font-size: 40px;
}
.con_box::before{
    display: none;
}
.con_box .line_anm2{
    height: inherit!important;
    top: -50px!important;
    left: -50px!important;
}

#top_info .con_box{
    background-color: transparent;
    background-image: linear-gradient(to bottom right, rgba(207,154,137,0.9), rgba(181,97,119,0.9));
}
#contents1 .con_box{
    color: #333;
    background-color: rgba(255,255,255,0.9);
    z-index: 1;
}
/*#contents1 .con_box::before, #top_info .con_box::before{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    left: 20px;
    top: 20px;
    border: solid 1px #e2afbb;
    z-index: -1;
    transform: none;
    background-color: transparent;
}*/

#contents2 .con_box, #contents3 .con_box{
    background: rgba(255,255,255,0.5);
    color: #333;
}
/*#contents2 .con_box{
    background: linear-gradient(to right, rgba(66,25,8,0), rgba(66,25,8,0.8));
}*/
#contents2 .con_box, #contents3 .con_box{
    padding: 100px;
}

.con4_wrap, #wrap:not(.index) main > .main_bg{
    background-image: url('./Dup/img/bg_img5.png');
    background-size: 1000px 1000px;
    animation: anime4 50s linear infinite;
    background-position: 0 0;
}
/*#page_title::before{
    background-position-y: 50%;
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    left: 0;
    bottom: -150px;
    z-index: 2;
    pointer-events: none;
}
@keyframes anime2 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -1400px;
    }
}
@keyframes anime3 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -840px;
    }
}*/
@keyframes anime4 {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px -1000px;
    }
}
@keyframes anime5 {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 500px -500px;
    }
}
/*#contents3::before, #page_title::before{
    position: absolute;
    content: "";
    width: 500px;
    height: 500px;
    right: -100px;
    bottom: -300px;
    background-image: url(./Dup/img/bg_img3.png);
    background-size: contain;
    animation: anime1 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes anime1 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
#contents3 .con_box{
    background: linear-gradient(to left, rgba(66,25,8,0), rgba(66,25,8,0.8));
}*/

#contents4{
    position: relative;
    z-index: 1;
}
#contents4 p.font_8up{
    letter-spacing: 4px;
    font-size: 40px;
}
#contents4 p.txt_color2{
    color: #fff;
}

#contents4 .con_bg_img, #footer .con_img, #page_title{
    background-color: #1a1a1a;
}

#top_cms, #under_page .under_box, .cms_2-a_wrap{
    background-color: #fff!important;
    z-index: 1;
    color: #333;
}
#top_cms .txt_color_nomal, #under_page .under_box .txt_color_nomal{
    color: #333!important;
}
#top_cms{
    position: relative;
    z-index: 1;
}
.cms_title::before{
    background-color: #333;
}
.cms_box .cms_title h2{
    letter-spacing: 5px;
    font-size: 50px;
}
.cms_box .cms_title p{
    color: #333;
    opacity: 0.6;
}

.more a{
    color: #af6c35;
}
.more a::before, .more a::after{
    border-color: #af6c35;
}
.more a:hover{
    background-color: rgba(175,108,53,0.1);
}

#under_page{
    padding: 100px 50px;
    margin-bottom: 0
}
#under_page .under_box{
    top: 0;
}

#page_title .page_title_bg {
    opacity: 0.4;
}
#page_title .page_title_box{
    text-align: center;
    top: 150px;
}
#page_title .page_title_box h2{
    font-size: 50px;
    letter-spacing: 5px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    position: relative;
}
#page_title .page_title_box h2::before{
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-image: linear-gradient(to right, #cf9a89, #b56177);
    transition: 1s;
    transition-property: width;
}
#page_title .page_title_box p{
    opacity: 0.6;
}
#page_title.active .page_title_box h2::before{
    width: 100px;
}

.pager li a{
    color: #af6c35;
}
.pager li:not(.prev):not(.next) a{
    border-color: #af6c35;
    background-color: rgba(175,108,53,0.1);
}
.pager li a:hover{
    color: #fff!important;
    border-color: #af6c35;
    background-color: #af6c35!important;
}

.cate_list{
    border-bottom: solid 1px #eae2dc;
}
.cate_list li a{
    color: #333;
}
.cate_list li:not(:first-child):not(:nth-child(4n + 1))::before{
    background-color: #eae2dc;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: center;
	padding-bottom: 0!important;
	margin-bottom: 60px;
	color: #333;
	font-weight: bold;
	position: relative;
}
/*.cate_title::before, .cate_title::after{
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    margin: auto;
    background-color: #333;
}
.cate_title::before{
    width: 100px;
    height: 1px;
    bottom: 0;
}
.cate_title::after{
    width: 1px;
    height: 40px;
    bottom: -20px;
}*/

#cms_2-a .box_wrap, .cms_2-a .box_wrap{
    counter-reset: number 0;
}
#cms_2-a .voice_box .txt_wrap::before, .cms_2-a .voice_box .txt_wrap::before{
    counter-increment: number 1;
    content: "0" counter(number);
    font-size: 40px;
    line-height: 1;
    left: 30px;
    top: -25px;
    color: #e2afbb;
    position: absolute;
}

.cms_3-a_h .cate a:hover .bg_img{
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.4;
}
.cms_3-a_h .cate_title_h::before, .cms_3-a_h .cate_title_h::after{
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    margin: auto;
}
.cms_3-a_h .cate_title_h::before{
    width: 50px;
    height: 50px;
    bottom: 0;
    border: solid 1px;
    border-radius: 50%;
}
.cms_3-a_h .cate_title_h::after{
    width: 10px;
    height: 10px;
    bottom: 20px;
    right: 5px;
    border-top: solid 1px;
    border-right: solid 1px;
    transform: rotate(45deg);
}


/** tablet 780 **/
@media screen and (max-width: 768px){
header .header_banner {
    right: 100px;
}
#header{
    height: 80px;
}
#header h1{
    left: 20px;
}
#header h1 img {
    width: 150px!important;
}
#main_img .swiper-container{
    height: 100vw;
}
#main_img .line_anm1 {
    top: auto;
    right: -30px;
    bottom: -20px;
}
.con_title{
    font-size: 30px;
}
.con_box .line_anm2 {
    left: 50%!important;
    transform: translateX(-50%);
}
#contents1 .con_box{
    padding-top: 70px;
}
#contents2 .con_box, #contents3 .con_box {
    padding: 100px 50px 50px;
    background-image: none!important;
}
#page_title::before{
    background-size: 840px;
    animation: anime3 20s linear infinite;
}
#page_title::before{
    height: 60px;
    bottom: -80px;
}
/*#contents3::before, #page_title::before{
    width: 400px;
    height: 400px;
    right: -100px;
    bottom: -250px;
}*/
#top_info .con_box{
    padding-top: 50px;
}
#under_page{
    padding: 50px;
}
#page_title .page_title_box{
    top: 120px;
}

}

/** mobile 750 **/
@media screen and (max-width: 667px){
header .header_banner a{
    background-color: transparent;
}
#header h1 img {
    width: 120px!important;
}
#main_img .main_txt{
    right: 20px;
    bottom: 20px;
}
#main_img .line_anm1 {
    right: -10px;
    bottom: -10px;
}
.con_title{
    font-size: 20px;
}
.con_box .line_anm2 {
    top: -30px!important;
}
#contents1 .con_box::before, #top_info .con_box::before{
    left: 10px;
    top: 10px;
}
#contents2 .con_box, #contents3 .con_box {
    padding: 100px 20px 50px;
}
.con4_wrap, #wrap:not(.index) main > .main_bg{
    background-size: 500px;
    animation: anime5 30s linear infinite;
}
/*.con4_wrap{
    background-size: 840px;
    animation: anime3 20s linear infinite;
}
#contents3::before, #page_title::before{
    width: 300px;
    height: 300px;
    right: -100px;
    bottom: -200px;
}*/
.more a {
    background-color: rgba(175,108,53,0.1);
}
#under_page{
    padding: 50px 20px;
}
#page_title{
    height: 300px;
}
#page_title .page_title_box h2 {
    font-size: 40px;
    letter-spacing: 4px;
}
.cate_title{
    font-size: 20px;
}
#cms_2-a .voice_box .txt_wrap::before, .cms_2-a .voice_box .txt_wrap::before{
    left: 20px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
#main_img .line_anm1{
    height: 106px;
}
.con_box .line_anm2{
    height: 120px!important;
}
.more a{
    padding-top: 20px;
}
.tel_bt{
    padding-top: 10px;
}
.pager li a{
    line-height: 50px;
}
.info_box p{
    padding-top: 10px;
}
.sitemap_box .more a{
    line-height: 80px;
}
}