/* --------------------------------------------------------------
    1. reset
    2. common
    3. layout design
    4. js

    ※基本的にはシングルクラス、BEMを使用する
    ※レイアウト・デザイン・機能を分割し、併記する
    ※接頭にspliderとあるものもしくはjs-とあるものは
    振る舞いを定義するためレイアウト及びデザインには使用しない
-------------------------------------------------------------- */

/* 1. reset */

.html,
body,
h1,
h2,
ul,
p {
	margin: 0;
	padding: 0;
}

ul {
	list-style-type: none;
}

* {
	font-family: 'Zen Maru Gothic', YuGothic, 'Yu Gothic', 'Hiragino Kaku Gothic ProN',
		'Hiragino Sans', Meiryo, sans-serif;
	font-weight: 300;
}

img {
	max-height: 100vh;
	display: block;
}

a {
	text-decoration: none;
}

h1 {
	padding: 15px 0;
}

/* 2. common */

/* 2-1. header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
	background: rgba(255, 255, 255, 0.8);
}

.headerRow {
	display: flex;
	max-width: 1000px;
	margin: 0 auto;
}

.headerRow__headNav {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
}

.headerRow__headNav__menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-right: 20px;
	font-family: Quicksand, 'Zen Maru Gothic', YuGothic, 'Yu Gothic', 'Hiragino Kaku Gothic ProN',
		'Hiragino Sans', Meiryo, sans-serif;
}

@media screen and (max-width: 1040px) {
	.headerRow {
		padding: 0 20px;
	}

	.headerRow__headNav {
		position: fixed;
		top: 90px;
		right: -100%;
		width: 100%;
		flex-direction: column;
		transition: 0.5s;
		background: rgba(255, 255, 255, 0.95);
		min-height: calc(100vh - 50px);
		justify-content: start;
		border-top: solid 1px #e3e5ea;
		padding: 30px 0 0;
	}

	.headerRow::before {
		content: '';
		position: absolute;
		right: 20px;
		top: 35px;
		height: 15px;
		width: 40px;
		border-top: solid 2px;
		transition: 0.5s;
		color: #5f6ba1;
	}

	.headerRow::after {
		content: '';
		position: absolute;
		right: 20px;
		top: 35px;
		height: 15px;
		width: 40px;
		border-bottom: solid 2px;
		transition: 0.5s;
		color: #5f6ba1;
	}

	.headerRow.menu-active::before {
		transform: rotate(45deg);
		top: 42px;
	}

	.headerRow.menu-active::after {
		transform: rotate(-45deg);
		top: 30px;
	}

	.menu-active .headerRow__headNav {
		right: 0;
	}

	.headerRow__headNav__menu {
		flex-direction: column;
		align-items: center;
		margin-right: 0;
	}

	.headerRow__headNav__sns {
		margin: 40px 0;
	}
}

.headerRow__headNav__menu__item {
	display: flex;
}

.headerRow__headNav__menu__item__link {
	padding: 15px 10px;
	font-size: 18px;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.6);
	border-bottom: solid 2px transparent;
}

.headerRow__headNav__menu__item__link--active {
	padding: 15px 10px;
	font-size: 18px;
	font-weight: 500;
	color: #5f6ba1;
	border-bottom: solid 2px #5f6ba1;
}

.headerRow__headNav__menu__item__link:hover {
	color: #5f6ba1;
	border-bottom: solid 2px #5f6ba1;
}

.headerRow__headNav__sns {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.headerRow__headNav__sns__item {
	display: flex;
}

.headerRow__headNav__sns__item__logoLink {
	padding: 5px 10px;
}

.logo {
	height: 80px;
}

.logo__img {
	max-width: 100%;
	max-height: 100%;
}

@media screen and (max-width: 1040px) {
	.logo {
		height: 60px;
		width: 150px;
	}
}

/* 2-2. all pages */

.textLink {
	color: #8893c1;
}

.textLink:hover, .textLink:active {
	color: #5f6ba1;
	text-decoration: underline;
}

mark {
    background: linear-gradient(to bottom, transparent 60%, rgb(223 228 251) 60%);
}

/* 3. layout design */

/* 3-1. top page */
.topCvLink {
	position: fixed;
	top: 70%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	background: rgba(0, 0, 0, 0.1);
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	border: solid 2px;
	padding: 15px 30px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.1), inset 0 0 3px rgba(0, 0, 0, 0.1);
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 600px) {
	.topCvLink {
		font-size: 16px;
	}
}

/* 3-2. other page */
.pageWrap {
	background: rgba(0, 0, 0, 0.01);
	min-height: 100vh;
}

.pageHeadline {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 300px;
	padding: 95px 0 0 0; /* headerHeight/2 */
	box-sizing: border-box;
	background: url(assets/top-eyecatch-1.jpeg) no-repeat center center / cover;
	color: #fff;
	text-shadow: 0 0 3px #8893c1;
	font-size: 40px;
	font-family: Quicksand, 'Zen Maru Gothic', YuGothic, 'Yu Gothic', 'Hiragino Kaku Gothic ProN',
		'Hiragino Sans', Meiryo, sans-serif;
}

.contentWrap {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 0 1px 0;
}

@media screen and (max-width: 1040px) {
	.contentWrap {
		padding: 0 20px 1px 20px;
	}
}

.contentHeadline {
	font-size: 30px;
	text-align: center;
}

/* 3-3. profile page */
.profile {
	display: flex;
	margin: 80px 0 100px;
	background: #fff;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
	padding: 30px;
	border-radius: 10px;
}

.profile__portrait {
	width: 200px;
	height: 200px;
	overflow: hidden;
	margin: 0 80px 0 0;
	flex-shrink: 0;
}

.profile__portrait__img {
	width: 130%;
	height: 130%;
	object-fit: cover;
	margin: -11px 0 0 -35px;
}

.profile__name {
	margin: 0 0 40px 0;
	font-size: 20px;
}

@media screen and (max-width: 768px) {
	.profile {
		flex-direction: column;
	}

	.profile__portrait {
		margin: 0 auto;
		width: 500px;
		max-width: 100%;
	}

	.profile__portrait__img {
		margin: -2px 0 0 -35px;
	}

	.profile__name {
		margin: 20px 0;
		text-align: center;
	}
}

.profile__detail {
	margin: 0 0 40px 0;
}

.profile__sns {
	display: flex;
}

.profile__sns__item {
	margin: 0 20px 0 0;
	border: solid 1px #000;
	border-radius: 5px;
	padding: 8px;
	background: #fff;
	filter: invert();
}

@media screen and (max-width: 600px) {
	.profile__sns {
		flex-wrap: wrap;
	}
	.profile__sns__item {
		margin: 0 10px 10px 0;
	}
}

.bio {
	margin: 80px 0;
}

.bio__list {
	padding: 0 0 0 60px; /* list padding 60px */
	margin: 0 0 0 7px; /* round 14px/2 */
	position: relative;
}

.bio__list::before {
	content: '';
	border-left: solid 1px #8893c1;
	position: absolute;
	left: 0;
	height: 100%;
}

.bio__list__item {
	padding: 25px 0;
	position: relative;
}

.bio__list__item::before {
	content: '';
	width: 15px; /* round 14px + 中心点 1px */
	height: 15px;
	border-radius: 15px;
	background: #8893c1;
	position: absolute;
	left: -67px; /* list padding 60px + round 14px/2 */
	top: calc(50% - 7px); /* 中心にするため 50% - round 14px/2 */
}

.tool {
	margin: 80px 0;
}

.tool__list {
}

.tool__list__item {
	padding: 15px 0;
}

.tool__list__item::before {
	content: '▼';
}

/* 3-4. gallery page */
.works {
	padding: 130px 0 0 0;
}

.tags {
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
	margin: 50px auto 80px;
	flex-wrap: wrap;
}

.tags__item {
	cursor: pointer;
	position: relative;
	margin: 0 20px 0;
	padding: 0 0 0 10px;
	font-size: 20px;
	font-family: 'Zen Maru Gothic', YuGothic, 'Yu Gothic', 'Hiragino Kaku Gothic ProN';
}

.tags__item::before {
	content: '#';
	position: absolute;
	left: 0;
	top: 0;
	line-height: 30px;
}

@media screen and (max-width: 600px) {
	.tags {
		margin: 30px 20px 50px;
	}

	.tags__item {
		font-size: 16px;
		margin: 0 10px 0;
		padding: 0 0 10px 10px;
	}

	.tags__item::before {
		line-height: inherit;
	}
}

.tags__item:hover {
	color: gray;
}

.works__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1700px;
}

@media screen and (max-width: 1500px) {
	.works__list {
		margin: 0 30px;
	}
}

@media screen and (max-width: 600px) {
	.works__list {
		margin: 0;
	}
}

.galleryCard {
	width: calc(100% / 4 - 60px);
	margin: 0 30px 60px;
}

@media screen and (max-width: 1500px) {
	.galleryCard {
		width: calc(100% / 3 - 60px);
	}
}

@media screen and (max-width: 1040px) {
	.galleryCard {
		width: calc(100% / 2 - 60px);
	}
}

@media screen and (max-width: 600px) {
	.galleryCard {
		width: calc(100% - 60px);
	}
}

.works__list__item {
	background: #fff;
}

.works__list__item__art {
	background: #fff;
	height: 170px;
	overflow: hidden;
}

.works__list__item__art__img {
	width: 120%;
	height: auto;
	margin: 0 -10%;
	transition: 0.3s;
}

.works__list__item:hover .works__list__item__art__img {
	transform: scale(1.1);
}

.works__list__item__text {
	padding: 20px 30px;
	border-top: solid 1px rgba(0, 0, 0, 0.01);
	background: #fff;
	min-height: 126px;
}

.works__list__item__text__desc {
	margin: 10px 0 0 0;
	color: gray;
}

/* 3-5. contact page */
.pageWrap--contact {
	position: relative;
	width: 100%;
	height: calc(100vh - 110px);
	padding-top: 110px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	background: #fcfcfc;
}

.pageWrap--contact::before {
	content: '';
	position: absolute;
	border-top: #fcfcfc 3px solid;
	left: 0;
	top: 110px;
	width: 100%;
}

/* 3-6. guide__paragraphline page */
.qa {
	padding: 50px 0 0;
}

.qa__list {
	margin: 0 0 30px;
}

.qa__list__question,
.qa__list__answer {
	padding: 5px 0;
	padding-left: 1em;
	text-indent: -1em;
}

.qa__list__answer {
	margin: 0 0 30px;
}

.qa__list__question::before {
	content: 'Q. ';
}

.qa__list__answer::before {
	content: 'A. ';
}

.qa__list__answer__img {
	padding: 30px 0 10px;
}

.qa__list__answer__img__flow {
	max-width: 100%;
	height: 100%;
}

.qa__list__answer__img__flow--sp {
	max-width: 100%;
	max-height: none;
	height: 100%;
	display: none;
}

@media screen and (max-width: 600px) {
	.qa__list__answer__img__flow {
		display: none;
	}
	.qa__list__answer__img__flow--sp {
		display: block;
	}
}

.guide {
	padding: 30px 0;
}

.guide__paragraph {
	margin: 30px 0;
}

.guide__paragraph__Title {
	font-weight: 500;
}

.guide__paragraph__subTitle {
	display: flex;
	color: gray;
	align-items: center;
	flex-wrap: wrap;
}

.guide__paragraph__subTitle__term {
	padding: 0 0.8em 0 0;
	font-weight: 500;
	flex: none;
}

.guide__paragraph__subTitle__desc {
	margin: 0;
	font-size: 13px;
}

.guide__paragraph__content {
	padding: 0 0 0 1em;
	color: gray;
}

.guide__paragraph__list {
	list-style-type: disc;
	margin: 0 0 30px 1em;
}

.guide__paragraph__list__item {
	margin: 0 0 10px;
}

/* 4. js */

/* 4-1. top slider */
.topSlider {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.topSlider__img {
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	transition: 3.5s 1s ease-out; /* 3s = 画像の切り替わり時間：target_optionsと合わせる必要有  */
	object-position: top center;
}

.positionRight {
	object-position: 80% 0;
}

.positionLeft {
	object-position: 20% 0;
}

.topSlider .splide__slide[class*='-active'] img {
	transition-delay: 0s;
	transform: scale(1.05);
}

/*
.topSlider .splide__slide[class*=-active] .slide-title {
    animation: topSliderFadeIn 2s 0.5s var(--easing) both;
}
*/

@keyframes topSliderFadeIn {
	0% {
		transform: scale(0.5);
		opacity: 0;
		filter: blur(300px);
	}

	100% {
		transform: scale(1);
		opacity: 1;
		filter: blur(0);
	}
}

.splide__pagination {
	z-index: 0 !important;
}

.splide:not(.is-overflow) .splide__pagination { /* splide規定CSSに対するreset */
	display: flex;
}

.splide__arrow {
	background: transparent;
}

.splide__arrow svg {
	fill: #8893c1;
}

.splide__pagination__page.is-active {
    background: #8893c1;
}

/* 4-2. gallery slider */
.vtuber {
	padding: 160px 0 0;
}

.vtuber .splide__pagination {
	bottom: -2.5em;
}

.vtuber__vGallery {
	padding: 80px 0 0;
}

.vtuber__vGallery img {
	max-height: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.vtuber__vGallery__item {
	padding: 30px;
	background: #fff;
}

.vtuber__vGallery__item__img {
	max-height: 100%;
	height: 300px;
	min-width: 230px;
	max-width: 260px;
    background: #F3F4F9;
}

.vtuber__vGallery__item__detail {
	max-width: 260px;
	position: relative;
}

.vtuber__vGallery__item__detail__num {
	position: absolute;
	top: -25px;
	font-size: 30px;
    font-weight: bold;
}

.vtuber__vGallery__item__detail__name {
	padding: 20px 0 0;
	font-size: 18px;
}

.vtuber__vGallery__item__detail__desc {
	min-height: 70px;
}

.modal {
	display: none;
	align-items: center;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal_box {
	background-color: #fff;
	margin: 5vh auto;
	max-width: 90vw;
	max-height: 90vh;
	width: fit-content;
	border-radius: 10px;
	animation-name: modalopen;
	animation-duration: 1s;
	position: relative;
}

@media screen and (max-width: 600px) {
	.modal_box {
		max-width: 80vw;
		max-height: 70vh;
	}
}

.modal_box-slider {
	padding: 20px;
}

.modal_img {
	width: auto;
	height: auto;
	max-width: 90vw;
	max-height: 90vh;
}

@media screen and (max-width: 600px) {
	.modal_img {
		max-width: 80vw;
		max-height: 70vh;
	}
}

.modalOpen {
	cursor: pointer;
}

.modalClose {
	position: absolute;
	top: -30px;
	right: 0;
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	padding: 0;
	appearance: none;
	color: #fff;
}

/* モーダル内スライダー */

.modal_box .splide__track {
	height: 80vh;
	max-height: 90vh;
	min-height: 80vh;
}

.modal_box .splide__slide {
	display: flex;
	justify-content: center;
	max-height: 70vh;
	max-width: 90vw; // FireFox対策
}

.modal_box .splide__slide img {
	align-self: center;
	max-height: 100%;
	max-width: 100%;
	width: auto;
}

@media screen and (max-width: 600px) {
	.modal_box .splide__slide img {
		max-width: 80vw;
	}
}

/* 
.modal_box .splide__pagination__page.is-active {
	background: #fff;
}
 */

/* --------------------------------------------------------------
    5. sp

    ※spのみに適用する場合は、接頭にsp-をつける
-------------------------------------------------------------- */

/* 5-1. header */

/* 5-2. main */

/* --------------------------------------------------------------
    6. pc

    ※pcのみに適用する場合は、接頭にpc-をつける 
-------------------------------------------------------------- */

/* 6-1. header */

/* 6-2. main */
