@charset "UTF-8";

.sec-stafflist {
	margin-top: 9rem;
	padding: 0 20px;
}

.staff-list {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 5rem 6rem;
	justify-content: center;
}

.staff-item {
	position: relative;
	background: #fff;
	border-radius: 15px 15px 0 15px;
}

.staff-item.gr01 {
	--gr-color: #e74921;
}

.staff-item.gr02 {
	--gr-color: #f98b2b;
}

.staff-item.gr03 {
	--gr-color: #29a251;
}

.staff-item.gr04 {
	--gr-color: #0e89cd;
}

.staff-item::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 5rem;
	height: 5rem;
	background: var(--gr-color) url(../img/staff/arrow-right_w.svg) right .8rem bottom 1rem / 15px no-repeat;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.staff-item .img {
	display: block;
	width: 100%;
	aspect-ratio: 360 / 250;
	border-radius: 15px 15px 0 0;
	overflow: hidden;
}

.staff-item .img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.staff-item .txt {
	padding: 3.7rem 4rem;
}

.staff-item .name {
    font-family: "Outfit", "Zen Kaku Gothic New", sans-serif;
	font-size: 2.2rem;
	font-weight: 500;
	letter-spacing: .06em;
	line-height: 1;
}

.staff-item .job {
	color: var(--gr-color);
    font-family: "Outfit", sans-serif;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: .07em;
	line-height: 1;
	margin-top: 1rem;
}

.staff-item .overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	min-height: 100%;
	border-radius: 15px 15px 0 15px;
	opacity: 0;
	overflow: hidden;
	transition: .2s;
	z-index: 2;
	pointer-events: none;
}

.staff-item .overlay::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	background: var(--gr-color);
	opacity: .95;
	z-index: -1;
}

.staff-item .overlay-inner {
	width: 100%;
	height: 100%;
	color: #fff;
	padding: 4.6rem 4rem 2.6rem;
}

.staff-item .overlay .name {
	font-size: 32px;
	text-align: center;
}

.staff-item .overlay .job {
	color: #fff;
	text-align: center;
}


.staff-item .overlay .comment {
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: .01em;
	margin-top: 2.2rem;
}

.staff-item .overlay .like-ttl {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin-top: 1.5rem;
}

.staff-item .overlay .like-ttl::before,
.staff-item .overlay .like-ttl::after {
	content: '';
	flex: 1;
	display: block;
	height: 1px;
	background: #fff;
}

.staff-item .overlay .like-list {
	width: max-content;
	margin: 1.6rem auto 0;
}

.staff-item .overlay .like-list li {
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.5;
}

.staff-item .overlay .like-list li::before {
	content: '・';
}

.staff-item .overlay .like-list li + li {
	margin-top: .4em;
}


@media screen and (max-width: 1200px) {
	.staff-list {
		gap: 5rem 3rem;
	}

	.staff-item .overlay {
		padding: 3.6rem 2rem 2.6rem;
	}
}


@media screen and (max-width: 960px) {
	.staff-list {
		gap: 5rem 6rem;
		grid-template-columns: repeat(2,minmax(auto,360px));
		margin-top: 100px;
	}

	.staff-item .overlay {
		padding: 4.6rem 4rem 2.6rem;
	}
}

@media screen and (min-width: 751px) {
	.staff-item:hover {
		z-index: 10;
	}

	.staff-item:hover .overlay {
		opacity: 1;
		pointer-events: all;
	}
}

@media screen and (max-width: 750px) {
    .page-header.detail {
        background-size: 100% calc(100% - 30px);
    }
    
	.staff-list {
		grid-template-columns: 1fr;
		gap: 30px;
		margin-top: 80px;
	}

	.staff-item {
		border-radius: 7.5px 7.5px 0 7.5px;
	}

	.staff-item.open {
		z-index: 10001;
	}

	.staff-item::after {
		width: 47px;
		height: 47px;
		background: var(--gr-color) url(../img/staff/arrow-right_w.svg) right 8px bottom 10px / 14px no-repeat;
	}

	.staff-item .img {
		border-radius: 7.5px 7.5px 0 0;
	}

	.staff-item .txt {
		padding: 31px 36px 33px;
	}

	.staff-item .name {
		font-size: 24px;
	}

	.staff-item .job {
		font-size: 14px;
		margin-top: 10px;
	}

	.staff-item .overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		min-height: unset;
		display: flex;
		flex-direction: column;
		background: rgba(0, 0, 0, 0);
		border-radius: 0;
		overflow-y: scroll;
		padding: 0;
		opacity: 1;
		transition: background-color .2s;
		visibility: hidden;
	}

	.staff-item .overlay::before {
		display: none;
	}

	.staff-item .overlay-inner {
		position: relative;
		height: auto;
		min-height: 500px;
		padding: 95px 40px 40px;
		margin: auto;
		opacity: 0;
	}

	.staff-item .overlay-inner::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		display: block;
		background: var(--gr-color);
		opacity: .95;
		z-index: -1;
	}

	.staff-item .overlay-inner::after {
		content: '';
		position: absolute;
		top: 20px;
		right: 20px;
		bottom: 20px;
		left: 20px;
		border: solid 1px #fff;
		border-radius: 75px 7.5px;
		clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 35px, 100% 100%, 0 100% );
		z-index: 0;
	}

	.staff-item.open .overlay {
		background: rgba(0, 0, 0, 0.5);
		pointer-events: all;
		visibility: visible;
	}

	.staff-item.open .overlay-inner {
		opacity: 1;
	}

	.staff-item .close {
        position: absolute;
        top: 15px;
        right: 16px;
        display: block;
        width: 32px;
        height: 32px;
        z-index: 1;
	}

	.staff-item .close::before,
	.staff-item .close::after {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 1px;
		background: #fff;
		margin: auto;
		transform: rotate(45deg);
	}

	.staff-item .close::after {
		transform: rotate(135deg);
	}

	.staff-item .overlay .name {
		font-size: 32px;
	}

	.staff-item .overlay .comment {
		font-size: 14px;
		line-height: calc(24/14);
		margin-top: 35px;
	}

	.staff-item .overlay .like-ttl {
		gap: 12px;
		margin-top: 33px;
	}

	.staff-item .overlay .like-ttl img {
		width: 17px;
		height: 15px;
	}

	.staff-item .overlay .like-list {
		margin-top: 28px;
	}

	.staff-item .overlay .like-list li {
		font-size: 14px;
	}

	.staff-item .overlay .like-list li + li {
		margin-top: 4px;
	}
}


/* about us */
.sec-recruit {
	position: relative;
	margin-top: 10.2rem;
	padding-bottom: 20rem;
	overflow: hidden;
}

.sec-recruit::after {
	content: 'BE HAPPY! BE HAPPY!';
	position: absolute;
	bottom: -2.8rem;
	left: 0;
	display: flex;
	justify-content: end;
	width: 100%;
	color: #fff;
    font-family: "Outfit", sans-serif;
	font-size: 20rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	text-align: right;
	white-space: nowrap;
}

.sec-recruit .inner {
	max-width: 1400px;
	padding: 189px 50px 0;
	box-sizing: border-box;
}

@media screen and (max-width: 1400px) {
	.sec-recruit .inner  {
		padding: 11.8125vw 50px 0;
		max-width: 100%;
	}

	.sec-recruit::after {
		font-size: 14.28vw;
	}
}

@media screen and (max-width: 750px) {
	.sec-recruit {
		margin-top: 60px;
		padding-bottom: 100px;
	}

	.sec-recruit::after {
		bottom: -10px;
		font-size: 75px;
	}

	.sec-recruit .inner  {
		padding: 13.33vw 5.333vw 0;
	}
}

@media screen and (max-width: 375px) {
	.sec-recruit .inner  {
		padding: 50px 20px 0;
	}
}

.recruit-box {
	width: 1300px;
	background: #007ab5;
	padding: 0px 0 60px;
	border-radius: 600px;
	box-sizing: border-box;
	color: #fff;
	text-align: center;
	position: relative;
}

@media screen and (max-width: 1400px) {
	.recruit-box {
		width: 100%;
		padding: 0 0 6.786vw;
	}
}

@media screen and (max-width: 750px) {
	.recruit-box {
		border-radius: 26.666vw;
		padding: 14vw 0 8vw;
	}
}

@media screen and (max-width: 375px) {
	.recruit-box {
		border-radius: 100px;
		padding: 70px 0 40px;
	}
}

.recruit-box .ttl {
	font-size: 4.2rem;
	line-height: calc(60/42);
	position: relative;
}

.recruit-box .ttl .span01 {
	position: relative;
    font-weight: 700;
    letter-spacing: .05em;
}

.recruit-box .ttl .span01::before {
	position: absolute;
	top: -2.5rem;
	left: -7rem;
	content: "“";
	color: rgba(0, 0, 0, 0.5);
	font-size: 10rem;
    font-weight: 400;
}

.recruit-box .ttl .span01::after {
	position: absolute;
	top: -5.5rem;
	right: -10rem;
	content: "“";
	color: rgba(0, 0, 0, 0.5);
	font-size: 10rem;
	transform: rotate(180deg);
    font-weight: 400;
}


@media screen and (max-width: 1400px) {
	.recruit-box .ttl {
		font-size: 2.857vw;
	}

	.recruit-box .ttl .span01::before {
		top: -1.7857vw;
		left: -5vw;
		font-size: 7.142vw;
	}

	.recruit-box .ttl .span01::after {
		top: -3.9285vw;
		right: -7.1428vw;
		font-size: 7.142vw;
	}
}

@media screen and (max-width: 750px) {
	.recruit-box .ttl {
		font-size: 5.333vw;
		line-height: 1.2;
	}

	.recruit-box .ttl .span01::before {
		top: -4vw;
		left: -8vw;
		font-size: 13.333vw;
	}

	.recruit-box .ttl .span01::after {
		top: -7.466vw;
		right: -11.2vw;
		font-size: 13.333vw;
	}
}

@media screen and (max-width: 375px) {
	.recruit-box .ttl {
		font-size: 20px;
		line-height: 1.2;
	}

	.recruit-box .ttl .span01::before {
		top: -15px;
		left: -30px;
		font-size: 50px;
	}

	.recruit-box .ttl .span01::after {
		top: -28px;
		right: -42px;
		font-size: 50px;
	}
}

.recruit-box .catch {
    color: #ffeb52;
	font-size: 2.8rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: calc(42/28);
	margin-top: 2.1rem;
	position: relative;
}

.recruit-box .text01 {
	font-size: 1.6rem;
	margin-top: 2.1rem;
	position: relative;
}

@media screen and (max-width: 1400px) {
	.recruit-box .catch {
		font-size: 2vw;
		margin-top: 1.5vw;
	}

	.recruit-box .text01 {
		font-size: 1.14285vw;
		line-height: 2.5;
		margin-top: 1.5vw;
	}
}

@media screen and (max-width: 750px) {
	.recruit-box .catch {
		font-size: 4.266vw;
		margin-top: 4vw;
	}

	.recruit-box .text01 {
		font-size: 3.4666vw;
		line-height: 1.769;
		letter-spacing: 0.01em;
		margin-top: 4vw;
	}
}

@media screen and (max-width: 375px) {
	.recruit-box .catch {
		font-size: 16px;
		margin-top: 15px;
	}

	.recruit-box .text01 {
		font-size: 13px;
		line-height: 1.769;
		letter-spacing: 0.01em;
		margin-top: 15px;
	}
}


.recruit-box .button01 {
	width: 36rem;
	margin: 4.2rem auto 0;
}

@media screen and (max-width: 750px) {
	.recruit-box .button01 {
		width: 70.66vw;
	}

	.recruit-box .button01 a {
		width: 100%;
	}
}


.recruit-illusts {
    padding-bottom: 10.7rem;
}

@media screen and (max-width: 750px) {
	.recruit-illusts {
		padding-bottom: 0;
	}
}

/* aboutのポワポワのアニメーション */
.illust.illust_person img,
.illust.illust_tab img,
.illust.illust_sta img {
    width: 100%;
}

/* 汎用ふわっとアニメーション（他の2つに使用） */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: translate(-50%, 0) scale(0.85);
    }

    60% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

/* .illust_person 用の控えめアニメーション */
@keyframes popInPerson {
    0% {
        opacity: 0;
        transform: translate(-50%, 0) scale(1.15);
    }

    60% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1.2);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1.15);
    }
}

.illust {
    position: absolute;
    opacity: 0;
    transform: translate(-50%, 0) scale(0.85);
}

.illust.illust_person {
	left: 50%;
    top: -29%;
    width: 53%;
}

.illust.illust_tab {
    left: 5.5%;
    top: 5.3%;
    width: calc(126.5/1300*100%);
}

.illust.illust_sta {
    right: -5.8%;
    bottom: 17.5%;
    width: calc(100/1300*100%);
}

.illust.inview {
    animation: popIn 0.7s ease forwards;
}

.illust_person.inview {
    animation: popInPerson 0.7s ease forwards;
}

/* 各イラストの delay（ほんの少しずつ） */
.illust_person.inview {
    animation-delay: 0.9s;
}

.illust_tab.inview {
    animation-delay: 0.8s;
}

.illust_sta.inview {
    animation-delay: 0.4s;
}

@media screen and (max-width: 1400px) {
    .illust.illust_person {
		top: unset;
		bottom: 90%;
        width: 37.857vw;
    }

    .illust.illust_tab {
        width: 13vw;
    }

    .illust.illust_sta {
        width: 7vw;
    }
}

@media screen and (max-width: 750px) {
	.illust.illust_person {
		bottom: 90%;
        width: 58vw;
    }

    .illust.illust_tab {
		left: 3.5%;
        top: 10%;
        width: 13vw;
    }

    .illust.illust_sta {
        right: -10%;
        bottom: 16.5%;
        width: 10.8vw;
    }
}

@media screen and (min-width: 751px) {
	.button01 a {
		display: block;
		height: 6.4rem;
		background: #222 url("../img/home/arrow01.png")right 1.7rem center no-repeat;
		border-radius: 3.2rem;
		padding: 1.85rem 2rem 0 0;
		box-sizing: border-box;
		color: #fff;
		font-size: 1.8rem;
		line-height: 1.5;
		letter-spacing: .05em;
		text-align: center;
		transition: all .2s;
	}
	.button01 a:hover {
		background: #e74921 url(../img/home/arrow02.png) right 1.7rem center no-repeat;
	}
}
@media screen and (max-width: 750px) {
	.button01 a {
		display: block;
		height: 14.933vw;
		background: #222 url("../img/home/arrow01_sp.png")right 5.2vw center no-repeat;
		background-size: 6.4vw;
		border-radius: 7.3333vw;
		padding: 2vw 0 0;
		box-sizing: border-box;
		color: #fff;
		font-size: 3.733vw;
		line-height: 3;
		letter-spacing: 0;
		text-align: center;
		transition: all .2s;
	}
	.button01 a:hover {
		background: #222 url("../img/home/arrow01_sp.png")right 5.2vw center no-repeat;
		background-size: 6.4vw;
		transition: all .2s;
	}
}
@media screen and (max-width: 375px) {
	.button01 a {
		display: block;
		height: 56px;
		background: #222 url("../img/home/arrow01_sp.png")right 20px center no-repeat;
		background-size: 23px;
		border-radius: 28px;
		padding: 5.5px 0 0;
		box-sizing: border-box;
		color: #fff;
		font-size: 14px;
		line-height: 3;
		letter-spacing: 0;
		text-align: center;
		transition: all .2s;
	}
	.button01 a:hover {
		background: #222 url("../img/home/arrow01_sp.png")right 20px center no-repeat;
		background-size: 23px;
		transition: all .2s;
	}
}
