/*reset */
.pagetop-toc-sec {
    display: none;
}

/* banner-toc */
aside.events-banner-link {
    margin: 60px auto 0;
    @media screen and (max-width: 600px) {
        margin: 60px auto 80px;
    }
}
aside.events-banner-link ul{
    display: flex;
    gap: 8px;
    padding: 0;
    max-width: 1400px;
    margin: auto !important;
    @media screen and (max-width: 834px) {
        flex-wrap: wrap;
		flex-direction: column;
		gap: 20px;
    }
    @media screen and (max-width: 600px) {
        gap: 40px;
    }
}
aside.events-banner-link ul li {
    width: calc((100% - 16px)/3);
    aspect-ratio: 5/3;
    @media screen and (max-width: 1024px) {
        width: 100%;
		aspect-ratio: 2/2;
    }
    @media screen and (max-width: 834px) {
		aspect-ratio: unset;
    }
}
aside.events-banner-link ul li a {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    position: relative;
    overflow: hidden;
    @media screen and (max-width: 1024px) {
        padding: 20px 8px;
    }
    @media screen and (max-width: 834px) {
		padding: 0;
		align-items: center;
		justify-content: flex-start;
    }
    @media screen and (max-width: 600px) {
		align-items: flex-end;
		padding-bottom: 0;
		overflow: visible;
    }
}
aside.events-banner-link ul li:nth-child(2) a {
    @media screen and (max-width: 834px) {
		justify-content: flex-end;
    }
}
aside.events-banner-link ul li a::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-size: cover;
    background-position: top 0 left 50%;
    transition: .3s;
	z-index: 1;
    @media screen and (max-width: 834px) {
		position: relative;
		flex: 1;
		height: 200px;
    }
    @media screen and (max-width: 600px) {
		height: 120px;
		background: none !important;
    }
}
aside.events-banner-link ul li a[href="#toc1"]::before {
    background-image: url("/saiyo/wp-content/uploads/2025/05/recruit_events_toc_banner01.jpg");
    @media screen and (max-width: 834px) {
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
		background-position: top 10% right 0%;
    }
}
aside.events-banner-link ul li a[href="#toc5"]::before {
    background-image: url("/saiyo/wp-content/uploads/2025/05/recruit_events_toc_banner02.jpg");
	@media screen and (max-width: 834px) {
		clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
		background-position: top 13% left 0%;
    }
}
aside.events-banner-link ul li a[href="#toc8"]::before {
    background-image: url("/saiyo/wp-content/uploads/2025/05/recruit_events_toc_banner03.jpg");
	@media screen and (max-width: 834px) {
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
		background-position: top 40% left 0%;
    }
}
aside.events-banner-link ul li:nth-child(2) a::before{
    @media screen and (max-width: 834px) {
		order: 2;
    }
}
aside.events-banner-link ul li a:hover::before {
    transform: scale(1.2);
}
aside.events-banner-link ul li a div{
    color: #fff;
    background: rgb(0,0,0,20%);
    border: thin solid;
    border-radius: 30px;
    padding: .8em 2em;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px);
    text-shadow: 0 0 10px rgb(0,0,0,100%);
    z-index: 1;
    transition: .2s;
    @media screen and (max-width: 1024px) {
        font-size: 1rem;
    }
    @media screen and (max-width: 834px) {
		position: relative;
		text-shadow: unset;
		background: #fff;
		color: var(--hb-text-color);
		border: thin solid rgb(var(--hb-main-color));
		z-index: 2;
		right: 20px;
		flex-basis: 280px;
		flex-shrink: 0;
    }
	@media screen and (max-width: 600px) {
		flex-basis: calc(100% - 32px);
		padding: .6em 2.6em .6em 1.2em;
		font-size: .9rem;
		background: rgb(255,255,255,80%);
		right: 16px;
		top: 16px;
	}
}
aside.events-banner-link ul li:nth-child(2) a div{
    @media screen and (max-width: 834px) {
		right: unset;
		left: 20px;
    }
    @media screen and (max-width: 600px) {
		left: 16px;
    }
}
aside.events-banner-link ul li a div::before {
 	content: "";
	display: block;
	width: 1.2rem;
	height: 1.2rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(90deg);
	left: 1.2em;
	mask-image: url("/saiyo/wp-content/themes/cocoon-child-master/img/icon_arrow.svg");
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-image: url("/saiyo/wp-content/themes/cocoon-child-master/img/icon_arrow.svg");
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	background: var(--hb-text-color);
	opacity: 0;
    @media screen and (max-width: 834px) {
		left: unset;
		right: 1.5rem;
		opacity: 1;
    }
    @media screen and (max-width: 600px) {
		right: .8rem;
		width: 1rem;
		height: 1rem;
    }
}
aside.events-banner-link ul li a:hover div {
    background: rgb(var(--hb-main-color),75%);
    border: thin solid rgb(var(--hb-main-color));
    text-shadow: unset;
    @media screen and (max-width: 834px) {
		background: rgb(var(--hb-main-color));
		color: #fff;
    }
}
aside.events-banner-link ul li a:hover div::before{
    transition: .2s;
	opacity: 1;
	background: #fff;
}
aside.events-banner-link ul li a .tag {
    font-size: .7em;
    margin-right: 1em;
    padding: .2em .5em;
    border: thin solid;
    line-height: 1;
}
aside.events-banner-link ul li a div span{
    transition: .2s;
	line-height: 1;
}
aside.events-banner-link ul li a:hover div span{
    transform: translateX(.8em);
    @media screen and (max-width: 834px) {
		transform: unset;
    }
}

/*layouts*/
#jumbotron img {
    object-position: right 30% top 50%!important;
}
.main figure.wp-block-table {
    width: 100%;
}
#main section h3.wp-block-heading{
    display: inline-block !important;
    width: 100% !important;
    font-size: 1.5rem !important;
    font-family: Noto Serif JP;
}
section h3 span{
    padding: 1rem 2rem !important;
    position: relative;
    color: #fff;
    background: rgb(var(--hb-main-color));
    border-radius: 15px 0 0 0;
    @media screen and (max-width: 600px) {
		padding: .8rem 1.5rem !important;
    }
}
section h3 span::after,
section h3 span::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}
section h5 {
    padding: 1.5em 0 !important;
    @media screen and (max-width: 1024px) {
        padding: 0 !important;
    }
}
section > .indent{
    gap: 0 !important;
}
section .indent {
    align-items: flex-start;
}
.entry-content section .indent .indent .indent{
	margin-left: 0 !important;
}
section .note {
    gap: 60px !important;
}
section .flex {
    display: flex;
    align-items: flex-start;
    @media screen and (max-width: 1024px) {
        flex-direction: column;
        gap: 40px;
    }
}
section .flex h4 {
    flex-basis: 160px;
    flex-shrink: 0;
    @media screen and (max-width: 1024px) {
        flex-basis: unset;
    }
}
h3 + .note {
    padding: 60px!important;
    width: 100%;
    @media screen and (max-width: 1024px) {
        padding: 40px !important;
    }
    @media screen and (max-width: 600px) {
        padding: 20px 16px 60px !important;
    }
}
p.info-icon{
    padding-top: 1em !important;
}
p.info-icon::before {
    top: 1.45em !important;
}
p.tag {
    color: var(--hb-text-color);
    display: inline-block;
    font-size: 1.em;
    font-weight: 600;
    line-height: 2.8;
    border-bottom: thin solid;
}
section .remote .title,
section .tour .title,
section .online .title{
    top: 0;
}
section:not(.highschool) .indent .remote.note .section-mv,
section .indent .tour.note .section-mv{
    margin-bottom: 0px !important;
}
section .indent .tour.note .section-mv{
    margin-bottom: -40px !important;
}
section.graduate,
section.highschool{
    overflow: hidden;
}

/* section-mv */
section h2[data-subtitle] {
    display: flex !important;
    align-items: center;
    position: relative;
    gap: 1em;
}
section h2[data-subtitle]::before {
    content: attr(data-subtitle);
    display: inline;
    z-index: 1;
    color: #fff;
    background: var(--hb-text-color);
    flex-shrink: 0;
    padding: 5px 20px;
    font-size: .8em;
    margin-top: 30px;
    @media screen and (max-width: 600px) {
        margin: 0;
        font-size: .9rem;
        padding: .2em .8em;
    }
}
section h2[data-subtitle] span {
    flex: 1;
    z-index: 1;
}
section h2[data-subtitle]::after {
    position: absolute;
    bottom: 0;
}
body:not(.home) .entry-content section .section-mv{
    margin-bottom: -40px !important;
    @media screen and (max-width: 1024px) {
        flex-direction: column;
		margin-bottom: 0 !important;
    }
}
.section-mv > div:last-child {
    top: -60px !important;
    right: -60px !important;
    flex: 1 !important;
    margin: 0 calc(50% - 50vw) !important;
    height: 100% !important;
    position: relative !important;
    @media screen and (max-width: 1024px) {
        width: 100% !important;
        right: 0 !important;
        top: -40px !important; 
    }
}
.remote .section-mv > div:last-child,
.tour .section-mv > div:last-child,
.message .section-mv > div:last-child{
    @media screen and (max-width: 1024px) {
        order: -1;
        top: unset !important;
    }
}
.section-mv > div:last-child figure {
    width: calc(100% + 60px) !important;
    height: 300px !important;
    position: relative;
    left: -60px;
    z-index: 0;
    display: block;
    @media screen and (max-width: 1024px) {
        top: 0;
        left: 0;
        width: 100% !important;
        height: 240px !important;
    }
    @media screen and (max-width: 600px) {
        width: calc(100% + 16px) !important;
    }
}
.section-mv > div:last-child img {
    object-fit: cover !important;
    @media screen and (max-width: 1024px) {
        aspect-ratio: unset !important;
    }
}
.career .note.online .section-mv > div:last-child {
    top: -20px !important;
    @media screen and (max-width: 834px) {
        top: -60px !important;
    }
    @media screen and (max-width: 600px) {
        top: -20px !important;
    }
}
.career .note.online .section-mv > div:last-child figure {
    height: 200px !important;
    @media screen and (max-width: 600px) {
        height: 160px !important;
    }
}
.career .note.online .section-mv > div:last-child img {
    object-fit: contain !important;
    object-position: right 25% top 50%;
    @media screen and (max-width: 1024px) {
        object-position: right;
    }
    @media screen and (max-width: 600px) {
        object-position: right 16px top 50%;
    }
}
.section-mv .title {
    position: relative;
    top: 20px;
    @media screen and (max-width: 1024px) {
        top: 0;
    }
}
.section-mv .title br {
    @media screen and (max-width: 1440px) {
        display: none;
    }
    @media screen and (max-width: 1024px) {
        display: block;
    }
}
.online .title,
.tour .title{
    padding-bottom: 1rem !important;
}

/* each section */
.oneday {
    position: relative;
}
#main section.graduate .feature-list {
    justify-content: center;
    margin-top: -120px !important;
    position: relative;
    z-index: 0;
    padding: 0 0 20px;
    @media screen and (max-width: 600px) {
        width: calc(100% + 20px);
        left: -16px;
        gap: 16px;
        padding: 0;
    }
}
section.graduate .feature-list .fz-14px {
    opacity: .9;
    @media screen and (max-width: 600px) {
        font-size: .6rem ;
    }
}
section.graduate .feature-list > div{
    color: var(--hb-text-color);
    font-weight: 700;
    font-size: .9rem !important;
    border-radius: 100%;
    aspect-ratio: 1;
    max-width: 160px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #fff;
    @media screen and (max-width: 600px) {
        gap: 4px;
    }
}
section.graduate .feature-list > div::after {
    content: "";
    display: block;
    background: #fff;
    position: absolute;
    border-radius: 50%;
    inset: -8px;
    background: linear-gradient(to right bottom, rgb(var(--hb-main-color)) ,rgb(var(--hb-sub-color)));
    z-index: -1;
    opacity: .4;
    @media screen and (max-width: 600px) {
        inset: -5px;
    }
}
section.graduate .feature-list > div::before {
    content: "";
    display: block;
    width: 50px;
    height: 40px;
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    background: #fff;
    background: linear-gradient(to bottom right, rgb(var(--hb-main-color)) 30%,rgb(var(--hb-sub-color)));
    opacity: 1;
    @media screen and (max-width: 600px) {
        width: 24px;
        height: 24px;
    }
}
section.graduate .feature-list > div:first-child::before {
    mask-image:url('../img/fontawesome/yen-sign-solid.svg');
    -webkit-mask-image:url('../img/fontawesome/yen-sign-solid.svg');
}
section.graduate .feature-list > div:nth-child(2)::before {
    mask-image:url('../img/fontawesome/van-shuttle-solid.svg');
    -webkit-mask-image:url('../img/fontawesome/van-shuttle-solid.svg');
}
section.graduate .feature-list > div:nth-child(3)::before {
    mask-image:url('../img/fontawesome/utensils-solid.svg');
    -webkit-mask-image:url('../img/fontawesome/utensils-solid.svg');
}
section.graduate .feature-list > div p {
    line-height: 1.4;
    @media screen and (max-width: 600px) {
        font-size: .95rem !important;
        font-weight: 500;
    }
}

section .message .indent {
    align-items: flex-start;
}
section .message .indent.note {
    align-items: center;
    gap: 40px !important;
}
section .message .highlight {
    position: relative;
    padding: .2em 0 .2em calc(8px + 1em);
    color: var(--hb-text-color);
    background: var(--hb-light-color);
    @media screen and (max-width: 600px) {
        padding: .2em 0 .2em calc(5px + .8em);
        font-size: 1rem !important;
    }
}
section .message .highlight::before {
    content: "";
    display: block;
    width: 8px;
    height: 100%;
    background: rgb(var(--hb-main-color));
    margin-right: .5em;
    position: absolute;
    top:0;
    left: 0;
    @media screen and (max-width: 600px) {
        width: 6px;
    }
}
section .message .highlight + p {
    padding-top: 20px;
    padding-left: calc(10px + 1em);
    @media screen and (max-width: 600px) {
        padding-left: 0;
    }
}
section .message .note.border {
    gap: 40px !important;
}
section .message .note.border ul {
    align-self: center;
    @media screen and (max-width: 600px) {
        display: flex;
        flex-direction: column;
        gap: 1rem !important;
    }
}
section .message .contact {
    width: 100% !important;
    padding-bottom: 40px;
    @media screen and (max-width: 600px) {
        padding-bottom: 20px;
    }
}
section .message .contact tr {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--hb-text-color);
    @media screen and (max-width: 600px) {
        align-items: flex-start;
        gap: 1rem;
    }
}
section .message .contact td{
    width: auto !important;
    border: none;
}
section .message .note .contact td:last-child {
    font-size: 1.3em;
}
section .message .mail-detail {
    padding: 20px;
    @media screen and (max-width: 600px) {
        padding-left: 0;
    }
}
section .message .bold-red{
	border-bottom: thin solid;
}

@media screen and (max-width: 834px) {
	aside.events-banner-link ul li a {
		background: linear-gradient(to bottom, #fff 20%, var(--hb-light-color) 20%,var(--hb-light-color) 80%,#fff 80%);
	}
}
@media screen and (max-width: 600px) {
    section .message p.underline {
        font-size: 1.2rem !important;
    }
    section .message p.underline span {
        display: block;
    }
    section .message .note.border ul li {
        font-size: 1rem !important;
    }
	aside.events-banner-link ul li {
		position: relative;
	}
	aside.events-banner-link ul li::before {
	    content: "";
	    display: block;
	    width: 80%;
	    height: 100%;
	    position: absolute;
	    left: 0;
	    top: 0;
	    background-size: cover;
	    transition: .3s;
		z-index: 1;
	}
	aside.events-banner-link ul li:first-child::before {
	    background-image: url("/saiyo/wp-content/uploads/2025/05/recruit_events_toc_banner01.jpg");
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
		background-position: top 10% right 0%;
	}
	aside.events-banner-link ul li:nth-child(2)::before {
	    background-image: url("/saiyo/wp-content/uploads/2025/05/recruit_events_toc_banner02.jpg");
		clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
		background-position: top 13% left 0%;
		right: 0;
		left: unset;
	}
	aside.events-banner-link ul li:last-child::before {
	    background-image: url("/saiyo/wp-content/uploads/2025/05/recruit_events_toc_banner03.jpg");
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
		background-position: top 100% right 0%;
	}
	aside.events-banner-link ul li:hover::before {
		transform: scale(1.2);
	}
	aside.events-banner-link ul li a {
		background: linear-gradient(to bottom, #fff 30%, var(--hb-light-color) 30%,var(--hb-light-color) 100%,#fff 100%);
	}
}
