@charset "utf-8";
/* CSS Document */


/*==================================================================

		$index　＊　mainvisual

==================================================================*/
#top_mainvisual {
    position: relative;
    width: 100%;
    height: 850px;
    overflow: hidden;
}
#top_mainvisual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/bg_01.png") repeat , rgba(0,0,0,.4);
    background-size: 4px 4px;
    z-index: 2; 
    pointer-events: none;
}
#video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
@media screen and (max-width:640px) {
    #top_mainvisual {
        height: 650px;
		min-width: 400px;
    }
}



/*------------------------------ キャッチコピー ------------------------------*/
#mv_catch {
	position: absolute;
	top: 0; bottom: 0;
	left: 0; right: 0;
	margin: auto;
	width: 450px;
	height: 350px;
	text-align: center;
	z-index: 99;
}
#mv_catch img:nth-of-type(1) { margin-bottom: 40px;}
@media screen and (max-width:640px) {
	#mv_catch {
        width: 80%;
        height: auto;
        top: 45%; 
        left: 50%;
        bottom: auto;
        right: auto;
        transform: translate(-50%, -40%);
        margin: 0;
    }
    #mv_catch img:nth-of-type(1) {
        width: 140px; 
        margin-bottom: 25px;
        display: inline-block;
    }
    #mv_catch img:nth-of-type(2) {
        width: 80%; 
        height: auto;
		margin: auto;
        display: block;
	}
}





/*------------------------------ インフォメーション ------------------------------*/
#mv_info {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	background: rgba(38,24,17,.9);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	z-index: 99;
}
#mv_info p {
	color: #FFF;
	font-size: 14px;
	line-height: 1;
}
#mv_info img {
	margin-right: 10px;
}
@media screen and (max-width:640px) {
    #mv_info {
        height: 65px; 
        flex-direction: column;
        padding: 0px 0 0;
        justify-content: center;
    }
    #mv_info p {
        font-size: 12px;
        margin: 5px 0 3px;
        width: 90%;
        text-align: left;
    }
}

	
	
/*Schedule*/
#mv_info p:nth-of-type(1) img {
	position: relative; top: -2px;
}
#mv_info em {
	font-size: 16px;
	font-weight: 300;
	font-family: "Josefin Sans", sans-serif;
  	font-optical-sizing: auto;
}
#mv_info em i {
	position: relative;
	top: 3px;
	margin: 0 3px;
}
@media screen and (max-width:640px) {
	#mv_info em {
		font-size: 15px;
	}
}

	
	
/*Access*/
#mv_info p:nth-of-type(2) {
	margin-right: 30px;
	margin-left: 30px;
}
@media screen and (max-width:640px) {
    #mv_info p:nth-of-type(2) {
        margin-right: 0;
        margin-left: 2px;
        line-height: 1.4;
    }
}




/*X*/
#mv_info p a {
	width: 60px;
	height: 60px;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}
#mv_info p a img {
	margin: 0;
}
#mv_info p a:hover {
	background: #15531c;
}

@media screen and (max-width: 640px) {
    #mv_info p:nth-of-type(3) {
        position: absolute;
		right: 8px;
		bottom: 5px;
		width: 50px;
		height: 50px;
    }
	#mv_info p a {
		width: inherit;
		height: inherit;
	}
}





/*==================================================================

		.slider　＊　ボードゲーム一覧

==================================================================*/
#top_gamelist {
	padding-top: 120px;
	background: url("../images/bg_02.png");
}
@media screen and (max-width:640px) {
	#top_gamelist {
		padding-top: 70px;
	}
}



/*------------------------------ スライダー設定 ------------------------------*/
.slider {
  width: 100%;
  margin: 0 auto 60px;
}
.article-item {
	position: relative;
  	margin: 0 30px;
	padding-top: 10px;
	width: 400px;
  	display: flex;
  	align-items: center;
  	justify-content: center;
}
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    border-top: 2px solid #573b1f !important;
    border-right: 2px solid #573b1f !important;
    cursor: pointer;
    outline: none;
    z-index: 10;
    font-size: 0;
}
.slick-prev {
    left: 30px !important; 
    transform: translateY(-50%) rotate(-135deg) !important;
}
.slick-next {
    right: 30px !important;
    transform: translateY(-50%) rotate(45deg) !important;
}
.slick-prev:before, .slick-next:before {/* デフォルトの疑似要素を完全に消去 */
    content: none !important;
}
@media screen and (max-width:640px) {
	.article-item {
		width: 360px;
	}
}



/*------------------------------ 各リスト設定 ------------------------------*/
.article-item a {
    display: block;
    transition: transform 0.3s ease;
}
.article-item figure {
	position: relative;
	width: 100%;
	height: 230px;
	box-sizing: border-box;
	border: 1px solid #c4b5a6;
	background: url("../images/news.jpg") center;
	background-size: cover;
	border-radius: 5px;
	overflow: hidden;
}
.article-item figure img {
	width: 100%;
	height: inherit;
	object-fit: cover;
    transition: transform 0.5s ease;
}
/*.article-item figure span {
	position: absolute;
	bottom: 10px;
	right: 10px;
	font-size: 14px;
	background: rgba(25,66,30,.9);
	color: #FFF;
	padding: 0 10px;
}*/
/* タグを複数並べるためのラッパー */
.article-item figure .tag-list {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    max-width: 80%;
}

.article-item figure .tag-list span {
    font-size: 12px;
    background: rgba(25,66,30,.9);
    color: #FFF;
    padding: 2px 8px;
    border-radius: 3px;
}

.article-item dt {
	margin: 15px 0 10px;
	font-size: 19px;
	font-weight: 500;
	color: #222;
}
.article-item dd {
	font-size: 15px;
	display: -webkit-box;
  	-webkit-box-orient: vertical;
  	-webkit-line-clamp: 3;
  	overflow: hidden;
	color: #573b1f;
}


/*------------------------------ hover時設定 ------------------------------*/
.article-item a:hover figure img {
    transform: scale(1.1);
}
.article-item a:hover dt , .article-item a:hover dd {
    color: #19421e;
}
.article-item a:hover {
    transform: translateY(-5px);
}




/*==================================================================

		#top_message　＊　Welcome to Machiawase!

==================================================================*/
#top_message {
	position: relative;
	padding-top: 110px;
	background: url("../images/bg_02.png");
}
#top_message::before {
	position: absolute;
	content: "";
	background: url("../images/wave_01.png") no-repeat;
	top: 0;
	right: 0;
	background-size: 1920px 270px;
	width: 1920px; height: 270px;
}
@media screen and (max-width:640px) {
    #top_message::before {
        background-size: auto 100%; 
        width: 100%;
        height: 200px;
        background-position: top right;
    }
}



/*------------------------------ 写真とキャッチコピー ------------------------------*/
.top_message-catch {
	position: relative;
	height: 560px;
	display: flex;
	align-items: center;
}
.top_message-catch::after {
	position: absolute;
	content: "";
	background: url("../images/mv.jpg") no-repeat center;
	background-size: cover;
	width: 78%;
	height: inherit;
	border-radius: 0 5px 5px 0;
}
.top_message-catch p {
	position: relative;
	width: 90%;
	margin: auto;
	font-family: "Schoolbell", cursive;
	text-align: right;
	font-size: 50px;
	color: #FFF;
	letter-spacing: 4px;
	z-index: 999;
}
.top_message-catch::before {
	position: absolute;
	content: "";
	bottom: -1px;
	width: 100%;
	height: 235px;
	background: #e6e2de;
	border-radius: 100px 100px 0 0;
}
@media screen and (max-width:640px) {
	.top_message-catch {
		height: 300px;
		align-items: flex-end;
	}
	.top_message-catch p {
		margin: 0 auto;
		padding-bottom: 30px;
		font-size: 24px;
		letter-spacing: 2px;
	}
	.top_message-catch::before {
		height: 150px;
		background: #e6e2de;
        border-radius: 50px 50px 0 0;
	}
}



/*------------------------------ 写真スライダーとメッセージ ------------------------------*/
.top_message-inner {
	position: relative;
	padding-bottom: 60px;
	background: #e6e2de;
}
.top_message-inner::before {
	position: absolute;
	content: "";
	background: url("../images/wave_02.png") no-repeat right;
	bottom: 0;
	right: 0;
	background-size: 790px 150px;
	width: 790px; height: 150px;
}
@media screen and (max-width:640px) {
	.top_message-inner {
        padding-top: 50px;
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
    }
    .top_message-inner::before {
        background-size: contain;
        width: 100%;
        height: 80px;
    }
}




.top_message-inner .text {
	position: absolute;
	top: 140px;
	right: 10%;
	text-align: right;
	font-size: 17px;
	line-height: 2.5;
}
.top_message-inner .text .btn {
	margin-top: 30px;
	float: right;
	line-height: 1.75 !important;
}
.top_message-inner .text .btn a {
	color: #332312;
	text-decoration-line: none;
}
.top_message-inner .text .btn a:hover {
	color: #FFF;
}

.top_message-inner .text br.middle {
	display: none;
}
@media screen and (max-width:1800px) {
	.top_message-inner .text {
		right: 8%;
	}
}
@media screen and (max-width:1550px) {
	.top_message-inner .text {
		right: 5%;
	}
}
@media screen and (max-width:1450px) {
	.top_message-inner .text {
		top: 105px;
	}
	.top_message-inner .text br.middle {
		display: block;
	}
}
@media screen and (max-width:640px) {
    .top_message-inner .text {
        position: static;
        width: 90%;
        margin: 0 auto;
        text-align: left;
        font-size: 15px;
        line-height: 1.8;
    }
    .top_message-inner .text .btn {
        float: none;
        margin: 30px auto 0;
        text-align: center;
    }
    .top_message-inner .text .btn a {
        display: inline-block;
        width: 80%;
        padding: 12px 0;
        box-sizing: border-box;
        text-align: center;
    }
    .top_message-inner .text br.middle {
        display: none;
    }
}



.slider-message01 {
    position: relative!important;/*position: absolute;*/
	top: 70px;
	left: 4%;
    width: 40%;
    height: 400px; 
	border-radius: 5px;
	overflow: hidden;
}
.slider-message01 .message01-item {
    width: 100%;
	height: inherit !important;
}
.slider-message01 .message01-item img {
	object-fit: cover;
	width: 100%;
	height: 400px;
}
@media screen and (max-width:1700px) {
	.slider-message01 {
		width: 35%;
	}
}
@media screen and (max-width:640px) {
    .slider-message01 {
        position: static;
        width: 80%;
        border-radius: 5px;
    }
    .slider-message01 {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .slider-message01 .message01-item img {
        height: 100%;
		border-radius: 5px;
    }
}





.slider-message02 {
    position: relative!important;/*position: absolute;*/
	top: -30px;
	left: 34%;
    width: 20%;
    height: 240px; 
	border-radius: 5px;
	overflow: hidden;
}
.slider-message02 .message02-item {
    width: 100%;
    height: inherit !important;
}
.slider-message02 .message02-item img {
	object-fit: cover;
	width: 100%;
	height: 240px;
}
@media screen and (max-width:640px) {
    .slider-message02 {
        position: static;
		top: -15px;
		left: 50%;
        width: 45%;
    }
    .slider-message02 {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .slider-message02 .message02-item img {
        height: 100%;
		border-radius: 5px;
    }
}




.top_message-inner .slick-slide {/* Slickのフェード用設定を邪魔しないための記述 */
    height: auto !important;
}





/*==================================================================

		#top_price　＊　ご利用料金

==================================================================*/
#top_price {
	position: relative;
	padding-top: 130px;
	padding-bottom: 70px;
	background: url("../images/bg_02.png");
	border-radius: 100px 100px 0 0;
}
#top_price::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 300px;
	background: #e6e2de;
	top: -10px;
	z-index: -1;
}
#top_price .inner {
	width: 90%;
	max-width: 1280px;
	margin: auto;
}
#top_price .box {
	display: flex;
	justify-content: space-between;
	font-size: 17px;
}
@media screen and (max-width:640px) {
    #top_price {
        padding-top: 80px;
		padding-bottom: 50px;
        border-radius: 50px 50px 0 0;
    }
    #top_price .box {
        display: block; 
    }
}



/*------------------------------ 左のテキスト ------------------------------*/
#top_price .left {
	width: 500px;
	margin-top: 6px;
	margin-right: 5%;
	line-height: 2.2;
}
#top_price .right {
	width: calc( 100% - 500px - 5% );
}
@media screen and (max-width:640px) {
    #top_price .left {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
        line-height: 1.8;
        font-size: 15px;
    }
    #top_price .right {
        width: 100%;
        font-size: 15px;
    }
}



/*------------------------------ 右のTable ------------------------------*/
#top_price .right dl {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	text-align: center;
	line-height: 2.8;
}
#top_price .right dl:nth-of-type(1) {
	border-bottom: none;
}
#top_price .right dt {
	width: 30%;
	box-sizing: border-box;
	border-right: 1px solid;
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: 500;
}
#top_price .right dd {
	width: 70%;
	margin-top: 10px;
	margin-bottom: 10px;
}
#top_price .right p {
	margin-top: 20px;
	line-height: 2;
}
@media screen and (max-width:640px) {
    #top_price .right dl {
        line-height: 2;
    }
    #top_price .right dt {
        width: 25%;
    }
    #top_price .right dd {
        width: 75%;
        padding-left: 5px;
        box-sizing: border-box;
    }
    #top_price .right p {
        margin-top: 15px;
    }
}





/*==================================================================

		#top_news　＊　お知らせ

==================================================================*/
#top_news {
	position: relative;
	padding-top: 60px;
	padding-bottom: 50px;
	background: url("../images/bg_02.png");
}
#top_news .inner {
	position: relative;
	width: 90%;
	max-width: 1280px;
	margin: auto;
}
@media screen and (max-width:640px) {
    #top_news {
        padding-top: 50px;
        padding-bottom: 80px;
    }
}




/*------------------------------ 各リスト設定 ------------------------------*/
#top_news ul {
  	width: 100%;
  	margin: 0 auto 60px;
  	display: flex;
	flex-wrap: wrap;
  	align-items: flex-start;
  	justify-content: space-between;
}
#top_news ul::after {
    content: "";
    display: block;
    width: 31%;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
}
#top_news li {
	position: relative;
	width: 31%;
}
#top_news li a {
    display: block;
    transition: transform 0.3s ease; 
}
#top_news li figure {
	width: 100%;
	height: 230px;
	box-sizing: border-box;
	border: 1px solid #c4b5a6;
	background: url("../images/news.jpg") center;
	background-size: cover;
	border-radius: 5px;
	overflow: hidden;
}
#top_news li figure img {
	width: 100%;
	height: inherit;
	object-fit: cover;
	transition: transform 0.5s ease;
}
#top_news li p.date {
	margin-top: 15px;
	font-family: "Josefin Sans", sans-serif;
  	font-optical-sizing: auto;
	font-weight: 400;
	color: rgba(25,66,30,.9);
}
#top_news li dt {
	margin: 5px 0 10px;
	font-size: 19px;
	font-weight: 500;
	color: #222;
}
#top_news li dd {
	font-size: 15px;
	display: -webkit-box;
  	-webkit-box-orient: vertical;
  	-webkit-line-clamp: 3;
  	overflow: hidden;
	color: #573b1f;
}
@media screen and (max-width:640px) {
    #top_news ul {
        display: block;
        margin-bottom: 40px;
    }
    #top_news li {
        width: 100%;
        margin-bottom: 40px;
    }
    #top_news li figure {
        height: 200px;
    }
}



/*------------------------------ 一覧はこちらボタン ------------------------------*/
#top_news .btn {
	position: absolute;
	top: 5px;
	right: 0;
}
#top_news .btn a {
	padding: 8px 60px;
}
@media screen and (max-width:640px) {
    #top_news .btn {
        position: static;
        text-align: center;
        margin-top: 30px;
    }

    #top_news .btn a {
        display: inline-block;
        width: 80%;
        padding: 12px 0;
        box-sizing: border-box;
    }
}



/*------------------------------ hover時設定 ------------------------------*/
#top_news a:hover figure img {
    transform: scale(1.1);
}
#top_news li a:hover p.date, #top_news li a:hover dt, #top_news li a:hover dd {
    color: #19421e;
}
#top_news li a:hover {
    transform: translateY(-5px);
}
@media screen and (max-width:640px) {
    #top_news li a:hover {
        transform: none;
    }
}





/*==================================================================

		.infinite-slider

==================================================================*/
.scroll-infinity {
	position: relative;
	background: url("../images/bg_02.png");
}
.scroll-infinity .inner {
  	display: flex;
  	overflow: hidden;
}
.scroll-infinity .inner ul {
  	display: flex;
  	animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
.scroll-infinity .inner ul li {
  	width: 600px;
	height: 380px;
    margin-right: 30px;
	border-radius: 10px;
	overflow: hidden;
}
.scroll-infinity .inner ul li img {
  	width: 100%;
	height: 100%;
	object-fit: cover;
}
@keyframes infinity-scroll-left {
	from { transform: translateX(0);}
  	to { transform: translateX(-100%);}
}

.scroll-infinity::before {
	position: absolute;
	content: "";
	bottom: -1px;
	width: 100%;
	height: 150px;
	background: #e6e2de;
	border-radius: 100px 100px 0 0;
}
@media screen and (max-width:640px) {
    .scroll-infinity .inner ul li {
        width: 280px;
        height: 180px;
        margin-right: 15px;
		border-radius: 5px;
    }
    .scroll-infinity::before {
        height: 80px;
        border-radius: 50px 50px 0 0;
    }
}





/*==================================================================

		#top_faq　＊　よくあるご質問

==================================================================*/
#top_faq {
	position: relative;
	padding-top: 130px;
	padding-bottom: 150px;
	background: #e6e2de;
}
#top_faq::before {
	position: absolute;
	content: "";
	background: url("../images/wave_03.png") no-repeat;
	top: 0;
	right: 0;
	background-size: 1150px 230px;
	width: 1150px; height: 230px;
}
#top_faq .inner {
	position: relative;
	width: 90%;
	max-width: 1280px;
	margin: auto;
}
@media screen and (max-width:640px) {
    #top_faq {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    #top_faq::before {
        background-size: contain;
        width: 100%;
        height: 100px;
    }
}



/*------------------------------ 各リスト設定 ------------------------------*/
#top_faq .inner dl {
	width: 90%;
	max-width: 1000px;
	margin: 50px auto 0;
}
#top_faq .inner dl dt {
	position: relative;
	margin-bottom: 20px;
	padding-left: 65px;
	font-size: 19px;
	font-weight: 500;
}
#top_faq .inner dl dd {
	position: relative;
	padding-left: 65px;
}
#top_faq .inner dl dt::before , #top_faq .inner dl dd::before {
	position: absolute;
	top: -15px;
	left: 0;
	font-size: 38px;
	width: 50px;
	text-align: center;
	font-family: "Josefin Sans", sans-serif;
  	font-optical-sizing: auto;
}
#top_faq .inner dl dt::before {
	content: "Q";
	color: #447b37;
}
#top_faq .inner dl dd::before {
	content: "A";
	color: #d3914b;
}
@media screen and (max-width:640px) {
    #top_faq .inner dl {
        width: 100%;   
    }
    #top_faq .inner dl dt {
        padding-left: 45px;
        font-size: 17px;
    }
    #top_faq .inner dl dd {
        padding-left: 45px;
    }
    #top_faq .inner dl dt::before, 
    #top_faq .inner dl dd::before {
        top: -8px;
        width: 35px;
        font-size: 28px;
    }
}




