@charset "UTF-8";

.ui-front{
	z-index: 1001;
}
.search_result {
    margin-top: 60px;
    margin-bottom: 60px;
}
.result_title {
    font-size: 32px;
    font-weight: bold;
}
.search_bar_pcnone {
    display: none;
}
.search_bar_con {width: calc(27%);}
.search_bar_group {
    display: flex;
    width: 100%;
}
.search_bar_group > div {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    width: calc(100% / 3);
}
.search_bar_group > div:nth-child(n+2) {
    border-left: 1px solid #dddddd;
}
.search_barWrap {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 15px;
}
[data-class="jhs"] .search_barWrap{
    background-color: #4ca1d4;
}
[data-class="hs"] .search_barWrap{
    background-color: #e689b4;
}
.search_bar_schoolname {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding-left: 10px;
    border: 1px solid #dddddd;
    height: 100%;
}
.search_bar {
    display: flex;
    gap: 10px;
    width: 100%;
}
.search_bar_btn {
    max-width: 200px;
    background-color: #d95792;
    aspect-ratio: 5 / 2;
    /* height: 80px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0px 7px 5px 0px rgba(51, 51, 51, 0.2);
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s;
    width: 100%;
}
[data-class="jhs"] .search_bar_btn{
    background-color: var(--high-main-color);
}
[data-class="hs"] .search_bar_btn{
    background-color: var(--jumior-main-color);
}
.search_bar_btn:hover {
    box-shadow: none;
    transition: all 0.5s;
}
.search_bar_btn span{
    position: relative;
}
.search_bar_btn span:before{
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 21px;
	background-image: url("../../images/icon_sibori.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	height: 17px;
	transform: translate(-30px, -50%);
}
.resultKobetu{
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 20px 10px 15px;
    font-size: 14px;
}
.resultKobetu:before {
    content: attr(data-type);
    position: absolute;
    top: 0;
    left: 5px;
    font-size: 12px;
    color: #8a8a8a;
}

.result_con {
    margin-top: 50px;
}
.result_menu {
    display: flex;
    justify-content: space-between;
}
.result_menu_l {
    display: flex;
    align-items: center;
}
.result_menu_r {
    display: flex;
    align-items: center;
    gap: 10px;
}
.result_menu_num {
    font-size: 20px;
    font-weight: bold;
}
.search_bar_btn_positionUnder {
    aspect-ratio: unset;
    width: auto;
    padding: 5px 10px 5px 30px;
}
.search_bar_btn_positionUnder.search_bar_btn span:before {
    width: 15px;
    height: 15px;
    transform: translate(-20px, -50%);
}
.search_bar_btn_positionUnder + .result_sort {
    display: flex;
    align-items: center;
    gap: 2px 10px;
}
.result_menu_r:has(.search_bar_btn_positionUnder) {
    gap: 30px;
}

/*
[data-class="jhs"] .result_menu_num{
    color: var(--jumior-main-color);
}
[data-class="hs"] .result_menu_num{
    color: var(--high-main-color);
}
*/
.result_menu_numSub {
    margin-left: 10px;
}
.result_menu_r select {
    background-color: #ffffff;
    box-shadow: 0px 7px 5px 0px rgba(51, 51, 51, 0.2);
    padding: 3px 15px 3px 5px;
    font-size: 13px;
	border: 2px solid rgb(68, 68, 68)
}
/*[data-class="jhs"] .result_menu_r select{
    border: 2px solid var(--jumior-main-color);
}
[data-class="hs"] .result_menu_r select{
    border: 2px solid var(--high-main-color);
}*/
.result_kobetuWrap {
    margin-top: 7px;
	display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.result_kobetu {
    padding: 20px 50px 20px 20px;
    border: 1px solid #000000;
    width: calc((100% / 3) - (40px / 3));
    background-color: #ffffff;
    position: relative;
}
.result_kobetu:before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.result_kobetu.school_men:before {
    background-image: url("../../images/gen_icon01.png");
}
.result_kobetu.school_women:before {
    background-image: url("../../images/gen_icon02.png");
}
.result_kobetu.school_common:before {
    background-image: url("../../images/gen_icon03.png");
}
.result_kobetu:after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    margin: auto;
    transition: all 0.5s;
}
[data-class="jhs"] .result_kobetu:after{
    border-top: solid 1px var(--jumior-main-color);
    border-right: solid 1px var(--jumior-main-color);
}
[data-class="hs"] .result_kobetu:after{
    border-top: solid 1px var(--high-main-color);
    border-right: solid 1px var(--high-main-color);
}
.result_kobetu:hover:after {
    right: 10px;
    transition: all 0.5s;
}
.school .result_kobetu:after {
    content: none;
}
.result_kobetu_schoolName {
    font-size: 20px;
    font-weight: bold;
}
.result_kobetu_title {
    margin-top: 10px;
}
.search_result.article .result_kobetu_cat {
    text-align: left;
}
.result_kobetu_cat {
	background-color: #333333;
	color: #ffffff;
	display: inline-block;
	padding: 3px 10px;
    font-size: 14px;
    margin-top: 10px;
    text-align: right;
}
.result_kobetu_cat span:before {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 1px #ffffff;
    border-right: solid 1px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0;
    margin: auto;
    transition: all 0.5s;
}
.result_kobetu:hover .result_kobetu_cat span {
    transition: all 0.5s;
}
[data-class="jhs"] .result_kobetu:hover .result_kobetu_cat span{
    background-color: var(--jumior-main-color);
}
[data-class="hs"] .result_kobetu:hover .result_kobetu_cat span{
    background-color: var(--high-main-color);
}
.result_kobetu:hover .result_kobetu_cat span:before {
    right: 5px;
}


.result_kobetu:nth-child(n+10) {
    display: none;
}
.search_result.school .result_kobetu:nth-child(n+9) {
    display: none;
}
.result_kobetu:nth-child(n+10).open {
    display: block;
}
.search_result.school .result_kobetu:nth-child(n+9).open{
    display: block;
}
.more_btn:before{
    content: "もっと見る";
}
.more_btn:after{
    content: "";
	position: absolute;
	
}
.result_kobetu.open + .more_btn:before{
    content: "閉じる";
}
.more_btn {
    width: 100%;
    color: #ffffff;
    padding: 20px;
    border-radius: 3px;
    border: none;
    transition: all 0.5s;
}
[data-class="jhs"] .more_btn{
    background-color: var(--jumior-main-color);
}
[data-class="hs"] .more_btn{
    background-color: var(--high-main-color);
}
.more_btn span {
    position: relative;
}
.more_btn span:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-70%) rotate(45deg);
    transition: all 0.5s;
}
.more_btn:hover {
    transition: all 0.5s;
}
[data-class="jhs"] .more_btn:hover{
    background-color: var(--jumior-main-color-hover);
}
[data-class="hs"] .more_btn:hover{
    background-color: var(--high-main-color-hover);
}
.result_kobetu.open + .more_btn span:before {
    transform: translateY(-30%) rotate(225deg);
    transition: all 0.5s;
}

.tab_content {
  padding: 0 20px;
  margin-bottom: 40px;
}
.search_schoolSelect_inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sibori_article .search_schoolSelect_inner {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ffffff;
    border-radius: 3px;
    padding: 10px 80px 30px;
}
.search_schoolSelect_txt {
    font-size: 18px;
    text-align: center;
    color: #ffffff;
}
.search_schoolSelect.sibori_article {
    max-width: 1000px;
    padding: 0;
}
.search_keyword {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
}
.search_keyword input {
    display: none;
}
.tabGroup > label:first-of-type {
    margin-left: 20%;
}
.tabGroup > label:last-of-type {
    margin-right: 20%;
}
.tabWrap {
    width: 100%;
    /* display: none; */
    position: fixed;
    box-sizing: border-box;
    overflow: auto;
    top: 0;
    right: 0;
    bottom: 0;
    /* left: 0; */
    /* color: #fff; */
    z-index: 1000;
    backface-visibility: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: all .5s;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transform-origin: center top;
    transform-origin: center top;
    opacity: 0;
    transition-property: opacity, transform, -webkit-transform;
    transition-duration: .5s, 0s, 0s;
    transition-delay: 0s, .5s, .5s;
}
[data-class="jhs"] .tabWrap{
    background-color: #4ca1d4;
}
[data-class="hs"] .tabWrap{
    background-color: #e689b4;
}
html.search_open .tabWrap {
    transform: translateX(0%);
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    transition-delay: 0s, 0s, 0s;
}
.header_hamburger_search {
    position: relative;
    width: 100px;
    padding: 30px;
    cursor: pointer;
}
/*
[data-class="jhs"] .header_hamburger_search{
    background-color: var(--jumior-main-color);
}
[data-class="hs"] .header_hamburger_search{
    background-color: var(--high-main-color);
}
*/
.header_hamburger_search span {
	position: absolute;
	left: 50%;
	width: 34px;
	height: 3px;
	background-color: #fff;
	border-radius: 1.5px;
	transform: translateX(-50%);
	display: flex;
}
.header_hamburger_search::after {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	content: '';
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, 0);
	transition: all 0.5s;
	transform: translate(-50%, -50%)
}
.header_hamburger_search {
    background-color: transparent;
    position: absolute;
    top: 0;
    right: 0;
}
.header_hamburger_search span:nth-of-type(1) {
	top: calc(50% - 12px);
	transition: all 0.5s;
	-webkit-transform: translateY(20px) rotate(45deg);
	transform: translate(-50%,12px) rotate(45deg);
}
.header_hamburger_search span:nth-of-type(2) {
	top: calc(50% + 12px);
	transition: all 0.5s;
	-webkit-transform: translateY(-20px) rotate(-45deg);
	transform: translate(-50%,-12px) rotate(-45deg);
}
.tabGroup {
    margin-top: 90px;
}

.search_result.school .result_kobetu_cat {
    background-color: transparent;
    display: block;
    padding: 0;
}
.result_kobetu_cat span {
    background-color: #333333;
    color: #ffffff;
    display: inline-block;
    padding: 3px 20px;
    font-size: 14px;
    margin-right: -40px;
    position: relative;
    transition: all 0.5s;
}
.search_result.school .result_kobetu {
    width: calc((100% / 2) - 10px);
}


@media only screen and (max-width: 1200px) {
}

@media only screen and (max-width: 1026px) {
}

@media only screen and (max-width: 767px) {
	.search_result {
		margin-top: 20px;
	}
	.result_title {
		font-size: 20px;
	}
	.search_bar_pcnone {
		display: block;
	}
	.search_bar {
		flex-direction: column;
	}
	.search_barWrap {
		flex-direction: column;
		margin-top: 10px;
		margin-left: -10px;
		margin-right: -10px;
		padding: 10px;
	}
	.search_bar_group {
		flex-direction: column;
		max-width: none;
		width: 100%;
	}
	.search_bar_con {
		display: flex;
		border: 1px solid #dddddd;
		width: 100%;
	}
	.resultKobetu {
		flex-grow: 1;
		max-width: none;
		padding: 10px 10px;
	}
	.search_bar_pcnone {
		padding: 10px 18px;
		background-color: #f4f4f4;
		width: 80%;
		max-width: 82px;
		border-right: 1px solid #dddddd;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.resultKobetu:before {
		content: none;
	}
	.search_bar_group > div {
		padding: 0;
		max-width: none;
		width: 100%;
	}
	.result_menu_l {
		flex-direction: column;
		align-items: flex-start;
	}
	.result_menu_numSub {
		margin-left: 0;
	}
	.result_kobetuWrap {
		gap: 10px;
	}
	.result_kobetu {
		width: calc((100% / 2) - 5px);
	}
	.result_kobetu_schoolName {
		font-size: 16px;
	}
	.search_bar_btn {
		width: 100%;
		max-width: none;
		padding: 15px;
		aspect-ratio: unset;
		height: auto;
	}
	
	.search_keywordInner {
		flex-direction: column;
		align-items: flex-start;
	}
	
	section:has(.search) {
		padding: 40px 0;
	}
	.tabGroup > label {
		font-size: 14px;
	}
	.search_schoolInner {
		padding-left: 0;
		padding-right: 0;
		flex-direction: column;
		align-items: flex-start;
	}
	.sibori_article .search_schoolSelect_inner {
		padding: 10px 20px 30px;
	}
	.search_schoolSelect {
		padding-left: 0;
		padding-right: 0;
	}
	
	.tabGroup > label:first-of-type {
		margin-left: 10px;
	}
	.tabGroup > label:last-of-type {
		margin-right: 10px;
	}
	
	.search_result.school .result_kobetu {
		width: 100%;
	}
	
    .search_bar_btn.search_bar_btn_positionUnder {
		width: auto;
		padding: 10px 10px 10px 30px;
	}
	.search_bar_btn_positionUnder + .result_sort {
		flex-direction: column;
		align-items: flex-start;
	}
	.result_menu_r:has(.search_bar_btn_positionUnder) {
		align-items: flex-end;
	}
	.result_menu_r select {
		padding: 9px 3px;
	}
	.result_menu {
		align-items: flex-end;
	}
}

@media only screen and (max-width: 500px) {
	.search_bar_pcnone {
		font-size: 12px;
	}
	.resultKobetu {
		font-size: 13px;
	}
	
	.result_kobetu {
		width: 100%;
	}
	
}
