@charset "UTF-8";
/* CSS Document */
html {
    scroll-behavior: smooth;
}

.wrapper2 {
	margin: 0 auto;
}
.contents-wrapper2 {
	/* max-width: 1200px; */
}
.txt-ttl {
	text-align: center;
	font-weight: normal;
    font-size: 1em;
    margin-top: 0;
}
.tab_menu {
    z-index: 2;
    position: relative;
    width: 49.5%;
    background-color: #eee;
    line-height: 36px;
    float: left;
    text-align: center;
    transition: all 0.2s ease;
    border: solid 2px #ccc;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    box-sizing: border-box;
}
.tab_menu:hover {
    color: #838383;
}
.tab_menu:first-of-type{
	
}
input:checked + .tab_menu {
    background-color: #24bbb7;
    border-bottom: solid 2px #fff;
    color: #fff;
    font-weight: bolder;
}
input[name="tab_menu"] {
  display: none;
}
.tab_content {
    display: none;
    z-index: 1;
    clear: both;
    border: solid 2px #ccc;
    border-radius: 0 0 8px 8px;
    padding: 15px 20px;
    margin: 0 0 30px 0;
    position: relative;
    top: -2px;
}
#tab_a:checked ~ #tab_a_content,
#tab_b:checked ~ #tab_b_content {
    display: block;
    background-color: #fff;
}

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}
.toplist-t {
	position: fixed;
    z-index: 999;
    left: 7%;
}

.toplist {
	display: flex;
	flex-wrap: wrap;
	width: 65%;
	gap: 1%;
    position: fixed;
    bottom: 20px;
    z-index: 999;
    padding: 3% 2% 0 2%;
    background: #fff;
    border-radius: 15px;
    margin: 0 8% 0 8%;
    background-color: rgba(255, 255, 255, 0.75);
    list-style: none;
}
.toplist li {
	width: 20%;
	background-color: #24bbb7;
	padding: 1%;
	text-align: center;
	margin-left: 1%;
	margin-right: 1%;
	margin-bottom: 1.5%;
	font-weight: bolder;
	border-radius: 8px;
	opacity: 1 !important;

}

.toplist li a {
	color: #fff;
	display: block;
    height: 100%;
    width: 100%
}

.ji-h2 {
	border-bottom: 2px solid #24bbb7;
	font-size: 1.3em;
	text-align: center;
	margin-top: 4%;
}

.ji-list {
	display: flex;
	flex-wrap: wrap;
	background-color: #fff;
	border-radius: 8px;
	justify-content: center;
	gap: 1%;
}
.sample1 {
	overflow:		hidden;
	/* margin:			6% 1% 0 2%; */
	position:		relative;	/* 相対位置指定 */
}
.sample1 .caption {
	font-size:		100%;
	text-align: 	center;
	padding:	55px 3% 0 3%;
	color:			#fff;
}
.sample1 .mask {
	width:			100%;
	height:			97%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0,0,0,0.4);	/* マスクは半透明 */
	-webkit-transition:	all 0.4s ease;
	transition:		all 0.4s ease;
}
.sample1:hover .mask {
	opacity:		1;	/* マスクを表示する */
}

.sample1 img {
	margin-top: 0;
}
.jirei-img {
	width: 19%;
	margin-bottom: 1%;
}
.jirei-btn {
	text-align: center;
	margin: 1% auto 7% auto;
	background-color: #808080;
	border-radius: 6px;
    width: 97%;
}
.jirei-btn a {
	color: #fff;
	font-weight : bolder;
	font-size: 0.8em;
	padding: 1% 0;
}
ul::before {
    position: absolute;
    top: 0.2rem;
    left: 50%;
    transform: translateX(-50%);
    /* background: linear-gradient(transparent 60%, #ff6 60% 90%, transparent 90%); */
    font-weight: normal;
    font-size: 17px;
    color: #333;
    content: attr(data-title);

}
.space {
	margin-bottom: 20%;
}

@media screen and (max-width:1000px) {
	.tab_content {
		padding : 0;
	}
    .txt-ttl {
		font-size: 0.9em;
		padding: 0 5%;
	}
	.ji-list {
		gap: 3%;
	}
	.jirei-img {
		width: 48%;
	}
	.sample1 .caption {
		padding: 6% 3% 0 3%;
    }
    .sample1:hover .mask {
		border-radius: 8px;
    }
    .sample1 .mask {
		height: 95%;
	}
    .sample1 .caption {
		font-size: 14px;
	}
	.toplist {
		padding: 12% 2% 0 2%;
		width: 90%;
		margin: 0;
	}
	ul::before {
        top: 0.5rem;
        font-size: 14px;
        left: 55px;
        transform: translateX(0%);
    }
    
	.toplist li a {
		font-size: 11px;
	}
	.toplist-t {
		left: 3%;
	}
	.pagetop {
		height: 30px;
        width: 30px;
        right: 10px;
        top: 85%;
	}
}