
/*=========================================================================== */
/* 実績
============================================================================= */
.cat-launcher{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
}

.cat-launcher a{
    display: block;
    border: 1px solid var(--themeColor);
    flex-basis: 14em;
    font-size: var(--fontSize20);
    text-align: center;
    padding-block: 0.5em;
    color: var(--themeColor);
    background-color: white;
    transition: all 0.3s ease;
}

.cat-launcher a:hover{
    background-color: var(--themeColor);
    color: white;
}

.cat-launcher a.current{
    background-color: var(--themeColor);
    color: white;
}

.result-thumb-wrap{
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 2%;
	row-gap: 20px;
}

@media(min-width:750px){
	.result-thumb-wrap{
		grid-template-columns: 1fr 1fr 1fr ;
	}
}
@media(min-width:1000px){
	.result-thumb-wrap{
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

.result-thumb-wrap .result-index{
	background-color: var(--themeColor);
	color: white;
	padding: 1em;
	font-size: var(--fontSize18);
	transition: all 0.3s ease;
	text-align: right;
}

.post-type-archive-reform-results .result-thumb-wrap .result-index{
	background-color: #E3F6FF;
	color: var(--themeColor);
}

.result-thumb-wrap .result-cat{
	display: inline-block;
	background-color: white;
	color: var(--themeColor);
	width: auto;
	padding: 2px 1em;
	margin-bottom:5px;
	font-size: var(--fontSize16);
	font-weight: 500;
}

.result-thumb-wrap .result-name{
	text-align: left;
}

.ignition{
	cursor: pointer;
}

.ignition figure{
	overflow: hidden;
}

.ignition img{
	transition: all 0.3s ease ;
}

.ignition:hover img{
	transform: scale(1.2);
}


.ignition:hover .result-index{
	background-color: rgba(0,137,206,0.6);
}

.result-base{
	background-color: #67BBE5;
	padding: var(--variableSpaceS);
}
.result-wrap{
    position: relative;
	display: grid;
	column-gap: 2em;
	grid-template-columns: 1fr;
    grid-template-rows: auto auto;
	padding: 30px;
	background-color: white;
	font-size: var(--fontSize16);
}

@media(min-width: 800px){
    .result-wrap{
        column-gap: 2em;
	    grid-template-columns: 1fr 19em;
        grid-template-rows: auto;
    }
}

.result-wrap .images .main{
	position: relative;
	display: grid;
	place-items: center;
	background-color: #eee;
	aspect-ratio: 4 / 3;
}

.result-wrap .images .main img{
	max-height: 678px;
}

.result-wrap .images .main figcaption{
	position: absolute;
	top: 3%;
	color: white;
	font-size: var(--fontSize5018);
	font-weight: 700;
	letter-spacing: 0.3em;
	text-shadow: 0 0 5px gray;
}

.result-wrap .variations{
	display: flex;
	column-gap: 10px;
	justify-content: flex-start;
	margin-top: 10px;
}

.result-wrap .variations figure{
	aspect-ratio: 1 / 1;
	flex-basis: calc((100% - 40px) / 5);
	cursor: pointer;
}

.result-wrap .variations figure.current{
	border: 3px solid var(--themeColor2);
	opacity: 0.8;
}

.result-wrap .variations img{
	display: block;
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

.result-wrap .cat-lavel{
	text-align: right;
	margin-right: 1em;
}

.result-wrap .cat-lavel span{
	display: inline-block;
	font-size: var(--fontSize20);
	font-weight: 500;
	color: white;
	background-color: var(--themeColor);
	width: auto;
	text-align: center;
	padding: 2px 1em;
}

.result-wrap .title{
	font-size: var(--fontSize24);
	font-weight: 700;
	color: var(--themeColor);
	margin-block: 1em;
}

.spec-list{
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 2em;
	font-family: var(--gothicFont);
}

.spec-list .separator{
	flex-basis: 100%;
	height: 1px;
	border-bottom: 1px solid #9DDEFF;
	margin: 0.2em 0;
}

.spec-list .left{
	flex-basis: 100%;
}

.spec-list .right{
	flex-basis: 100%;
}

@media(min-width: 600px){

	.spec-list .left{
		flex-basis: 4em;
		text-align:justify;
		text-align-last:justify;
	}

	.spec-list .right{
		flex-basis: calc(100% - 6em);
	}
}


.hidden-block{
    display: none;
}

#popup_base .hidden-block{
    display: block;
    margin-top: var(--headerHeight);
    padding-block: 1em;
}

/*fixed bg*/
.fixed_bg{
    position: fixed;
    width: 1780px;
    top: 70px;
    z-index: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
}
/*result Popup
---------------------------------------------------------------------*/
/*POPUP BASE*/
body.popup-active{
	overflow: hidden;
	margin-right: var(--sbw);
}

body.popup-active #popup_background{
	position: fixed;
    width: 100%;
    height: 100vh;
	top: 0;
	z-index: 3;
    background-color: var(--themeColor);
    opacity: 0.8;
}

body.post-type-archive-reform-results.popup-active #popup_background{
	background-color: #FFD050;
}

#popup_background .fixed_bg{
    opacity: 0;
    transition: opacity 0.3s 0.5s ease;
}

body.fixed #popup_background .fixed_bg{
    opacity: 1;
}

#popup_base{
    position: fixed;
    top: 0;
    z-index: 3;
	overflow-y: scroll;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

#popup_base.active{
    transform: none;
}

/* .result-wrap
-------------------------------------------*/
.result-wrap .close-btn{
    display: flex;
    width: 30px;
    height: 30px;
    background-color:#9DDEFF;
    color: white;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
}

body.single .result-wrap .close-btn{ display: none;}

.contact-in-popup{
	max-width: var(--contentWidth);
    margin-inline: auto;
	background-color: white;
	padding-bottom: var(--variableSpaceS);
}

.contact-in-popup h2{
	color: var(--themeColor);
}

.contact-in-popup .page-launcher3{
	background-color: transparent;
}

body.single:not(.single-post) main{ background-color: var(--themeTranslucent70)!important;}