﻿/*** font ***/

@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@1&family=Shippori+Mincho+B1:wght@500&display=swap');

:root{
    --font-shi: 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    --font-en: 'Baskervville', 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
body{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
.font_en{
    font-family: var(--font-en);
}

/*** color ***/

:root{
    --color1: #8f2e14;
    --color2: #e5e4e3;
    --color3: #2a3556;
    --color4: #d6c9c5;
    --color-base1: #e2e2e0;
    --color-base2: #ededeb;
}

/*** cursor ***/

.follower{
	border-radius: 50%;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 10001;
	transition: 0.3s;
	transition-property: width,height,transform,border;
	width: 30px;
	height: 30px;
	border: solid 1px #bcb8b5;
}
.follower.is-active{
    width: 60px;
    height: 60px;
    transform: translate(-15px, -15px);
	border: solid 1px #ba3f2b;
}

/*** other ***/

#loading_bg{
    top: 0;
    left: 0;
    height: 100%;
}

a[href^="tel:"]{
    font-family: var(--font-en);
}

html, body{
    font-size: 14px;
}

.txt_shadow, .txt_shadow-l, .txt_shadow-b, .txt_shadow_h{
    text-shadow: none;
}
.shadow, .shadow-l, .shadow-b, .shadow_h{
    box-shadow: none;
}

#wrap{
    background-image: url('./Dup/img/bg_img.jpg');
    background-size: 1200px;
}

#header{
    top: 0;
    left: 0;
    background-image: linear-gradient(to bottom, rgba(226,226,224,1), rgba(226,226,224,0));
    height: 130px;
}

header .menu_stick{
    color: #333;
}
header .menu_stick span{
    border-width: 1px;
}
header .menu_stick.stick_trans span{
    color: #fff;
}
header .menu_stick.stick_trans span:last-child {
    margin-top: -1px;
}

#sp_nav{
    background-color: rgba(229,226,218,0.8);
}
#sp_nav .grid_3{
    display: none;
}
#sp_nav nav {
    top: 0;
    right: -50px;
    bottom: 0;
    left: auto;
    transition: right 0.5s cubic-bezier(.05,.67,.41,1);
    text-align: left;
}
#sp_nav.active nav{
    right: 0;
}
#sp_nav nav .grid_6{
    padding: 0 50px;
    width: 100%!important;
}
#sp_nav nav li a{
    color: #fff;
}
#sp_nav nav a[href^="tel:"]{
    text-align: center;
}

#pc_nav{
    display: none;
}

#main_img{
    top: 0;
    left: 0;
}
#main_img .top_anim_wrap{
    background-color: var(--color-base2);
    transition-property: opacity, transform;
    transition-timing-function: ease, cubic-bezier(.05,.67,.41,1);
    transition-duration: 1s;
}
#main_img.trans .top_anim_wrap{
    transform: scale(1.1);
    opacity: 0.4;
}
#main_img .main_txt p{
    font-family: var(--font-shi);
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
    transform: skewX(-10deg);
}

main.index_main{
    margin-top: 100vh;
    background-image: url('./Dup/img/bg_img.jpg');
    background-size: 1200px;
}

.con_title{
    font-family: var(--font-shi);
    padding: 0;
}
.con_box::before{
    display: none;
}

#contents1{
    padding-top: 0;
    padding-bottom: 200px;
    background-image: url('./Dup/img/bg_img2.png');
    background-size: 80px;
    background-repeat: repeat-y;
    background-position-x: 3%;
    background-position-y: 0;
    animation: anime1 30s linear infinite;
}

@keyframes anime1 {
    0% {
        background-position-y: 0;
    }
    100% {
        background-position-y: -1200px;
    }
}

#contents1 .con_box{
    top: 100px;
    background-image: linear-gradient(to bottom, var(--color1), var(--color1));
    background-position: top 0 left 50px;
    background-size: 50px 3px;
    background-repeat: no-repeat;
    background-color: var(--color-base2);
    clip-path: polygon(calc(100% - 50px) 0%, 100% 50px, 100% 100%, 0 100%, 0 0);
}
#contents1 .con_title{
    line-height: 1.7;
}
#contents1 .con_title span{
    padding-bottom: 5px;
    background-image: linear-gradient(to right, var(--color2) , var(--color2));
    background-size: 100% 5px;
    background-repeat: no-repeat;
    background-position: left bottom;
}
#contents1 .con_title::before{
    content: "INTRODUCTION";
    display: block;
    margin-bottom: 20px;
    font-family: var(--font-en);
    font-size: 16px;
    letter-spacing: 3px;
    left: 0;
    top: -30px;
    color: var(--color1);
}
#contents1 .con_box .con_bt{
    font-family: var(--font-en);
}

#contents2, #contents3{
    margin-bottom: 100px;
    width: 90%!important;
    margin-right: 10%;
}
#contents2 .con_box, #contents3 .con_box{
    padding: 100px;
    width: 100%!important;
    background-image: linear-gradient(to bottom, rgba(143,46,20,0) 50%, rgba(143,46,20,1));
}
#contents2 .con_box p, #contents3 .con_box p{
    vertical-align: bottom;
    color: #fff;
}
#contents2 .con_title, #contents3 .con_title{
    position: absolute;
    top: -30px;
    max-height: 60vh;
    line-height: 2.5;
    left: 100px;
}

#top_conveyer .swiper-wrapper{
	transition-timing-function:linear;
}

#contents4{
    font-family: var(--font-en);
}
#contents4 a:hover .con4_bg{
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.2;
}
#contents4 a .con_txt::before {
    height: 70px;
    top: -50px;
}

#top_cms .cms_title{
    padding-top: 0;
    padding-bottom: 30px;
}
#top_cms .cms_title::before{
    width: 50px;
    height: 1px;
    background-color: currentColor;
    top: auto;
    bottom: 0;
    transform: none;
}
#top_cms .cms_title h2{
    font-family: var(--font-shi);
}
#top_cms .cms_title p{
    font-family: var(--font-en);
}
.more{
    font-family: var(--font-en);
}
.more a{
    color: var(--color1);
}
.more a:hover{
    background-color: rgba(143,46,20,0.1);
}
.more a::before, .more a::after{
    border-color: var(--color1);
}

.date{
    font-family: var(--font-shi);
}

#top_cms, #under_page .under_box{
    background-color: var(--color-base2);
}

#page_title{
    background-color: #cfcdcc;
}
#page_title .page_title_box{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: row-reverse;
}
#page_title h2{
    font-family: var(--font-shi);
    font-size: 16px;
    padding-left: 20px;
    letter-spacing: 3px;
}
#page_title p{
    font-size: 40px;
    font-family: var(--font-en);
    letter-spacing: 3px;
}

.cate_list{
    border-bottom: none;
    background-color: var(--color2);
    padding: 30px;
}
.cate_list::before{
    content: "Category";
    display: block;
    color: var(--color1);
    margin-bottom: 10px;
    width: 100%;
    padding: 5px;
    font-family: var(--font-en);
}
.cate_list li{
    width: auto!important;
    padding: 5px;
    margin: 0!important;
}
.cate_list li::before{
    display: none!important;
}
.cate_list li a{
    padding: 10px 15px!important;
    background-color: var(--color1);
    color: #fff;
}
.cate_list li a:hover{
    opacity: 1;
    background-color: var(--color3);
}
.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: left;
	padding-bottom: 10px!important;
	margin-bottom: 50px;
	color: #333;
	border-bottom: solid 1px;
	font-weight: normal;
	font-family: var(--font-shi);
}

.pager li a{
    color: var(--color1);
    border: none!important;
}
.pager li:not(.prev):not(.next) a {
    background-color: rgba(143,46,20,0.1);
    border: none;
}
.pager li a:hover{
    color: #fff!important;
    background-color: var(--color1)!important;
    border: none!important;
}

.cms_1-a .cate_box a .box_title1 span{
    background-image: linear-gradient(to right, #333, #333);
    background-size: 0 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s cubic-bezier(.05,.67,.41,1);
}
.cms_1-a .cate_box a:hover .box_title1 span{
    background-size: 100% 1px;
}

#cms_3-f .sub_cate:nth-of-type(even) .sub_cate_wrap, .cms_3-f .sub_cate:nth-of-type(even) .sub_cate_wrap{
    flex-direction: row-reverse;
}
#cms_3-f .sub_cate_title, .cms_3-f .sub_cate_title{
    padding-left: 0;
    border-left: none;
    padding-bottom: 20px;
    margin-bottom: 30px;
    position: relative;
    color: var(--color3);
}
#cms_3-f .sub_cate_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 1px;
    left: 0;
    bottom: 0;
    background-color: currentColor;
}
.cms_3-f .sub_cate_title{
    padding-bottom: 10px;
    border-bottom: solid 1px;
}

#cms_4-a .box_item{
    cursor: pointer;
}
#cms_4-a .box_item:hover .square_twin .box_img2{
    opacity: 0;
}

.mySwiper .swiper-slide {
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}
.modal_box{
	top: 0;
	left: 0;
	pointer-events: none;
	transform: scale(0.95);
	transition-property: opacity, transform;
	z-index: 101;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.modal_box > div{
	overflow-y: auto
}
.modal_box.active{
	pointer-events: auto;
	opacity: 1;
	transform: none
}
.modal_box .modal_title1{
    font-family: var(--font-shi);
}
.modal_box .close{
	top: 30px;
	right: 30px;
	cursor: pointer
}

#top_info .con_box{
    clip-path: polygon(calc(100% - 50px) 0%, 100% 50px, 100% 100%, 0 100%, 0 0);
    color: #fff;
}

footer{
    color: #fff;
}
#footer .con_img{
    background-color: #5e5a58;
}
#page-top{
    font-family: var(--font-en);
}

.foot_banner{
    right: 20px;
    bottom: 20px;
    z-index: 1;
}



/** tablet 780 **/
@media screen and (max-width: 768px){
#header {
    height: 90px;
}
header .menu_stick{
    top: 30px;
}
.follower{
    display: none;
}
#contents1{
    padding-top: 50px;
    padding-bottom: 100px;
    background-image: none;
}
#contents1 .con_box{
    top: -30px;
    padding-top: 50px;
    background-position: top 0 center;
    background-size: 100px 3px;
}
#contents2, #contents3 {
    width: 100%!important;
    margin-left: 0;
}
#contents2 .con_box, #contents3 .con_box{
    background-image: linear-gradient(to bottom, rgba(143,46,20,0), rgba(143,46,20,1));
    padding: 0 50px 50px;
}
#contents2 .con_title, #contents3 .con_title{
    text-align: left;
    position: relative;
    top: -30px;
    left: 0;
    margin-bottom: 0;
    font-size: 24px;
}
#contents4 a::before{
    display: none;
}
.more a{
    background-color: rgba(143,46,20,0.1);
}
#page_title .page_title_box{
    text-align: center;
}
#page_title h2{
    width: 100%;
    margin-bottom: 0;
}
#page_title p{
    width: 100%;
}
.cms_1-a .cate_box a .box_title1 span{
    background-image: none;
}
#top_info .con_box{
    padding-top: 50px;
}
#copyright{
    padding-bottom: 80px;
}
.foot_banner{
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#header {
    height: 80px;
}
h1 img{
    max-width: 120px!important;
}
#contents2 .con_box, #contents3 .con_box {
    padding: 0 20px 50px;
}
#contents2 .con_title, #contents3 .con_title{
    font-size: 20px;
}
#contents2 .con_title span, #contents3 .con_title span{
    padding: 5px;
}
.cate_list{
    padding: 15px;
}
.cate_list::before{
    text-align: center;
}
.cate_list li{
    width: 100%!important;
    text-align: left
}
.cate_title{
    font-size: 20px;
}
.modal_box .close{
	top: 20px;
	right: 10px;
}
}