@charset "UTF-8";
/*
Theme Name: Liddel's Portfolio
Description: ポートフォリオサイト
Version: 1.0
Author: Liddel
*/

html {
	font-size: 100%;
}
body {
	background-color: #FBFBFB;
	font-size: 0.9rem;
	font-family: sans-serif;
}
img {
	max-width: 100%;
}
a {
	text-decoration: none;
	color: #121212;
}
li {
	list-style: none;
}

.wrapper {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.section-title {
	font-weight: bold;
	margin-bottom: 70px;
	text-align: center;
}
.article-title {
	display: block;
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 40px;
	text-align: center;
}
.section-title .en {
	display: block;
	font-size: 2rem;
	letter-spacing: 0.3em;
	margin-bottom: 10px;
}
.section-title .ja {
	display: block;
	font-size: 1rem;
	margin-bottom: 15px;
}
.text-title {
	font-size: 1.35rem;
	font-weight: bold;
	margin-bottom: 15px;
}

/* header */
#header {
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
	height: 80px;
	background: rgb(135,224,253);
	background: -moz-linear-gradient(top,  rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%);
    background: linear-gradient(to bottom,  rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=0 );
}
.site-title {
	width: 180px;
	line-height: 1;
}
.site-title a {
	display: block;
	transition: 0.3s;
}
.site-title a:hover {
	opacity: 0.7;
}
#header .nav-menu {
	display: flex;
	align-items: center;
}
#header li {
	margin-right: 30px;
	text-shadow: 0 3px 3px #020202;
}
#header .nav-item a {
	display: block;
	padding: 10px;
	color: #f9f9f9;
	position: relative;
	transition: all .3s;
}
#header .sns {
	transition: all .3s;
}
#header .nav-item a:hover, #header .sns:hover {
	color: #020202;
	opacity: 0.7;
	text-shadow: none;
}
#header .nav-item a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 10%;
	width: 80%;
	height: 2px;
	background: #f9f9f9;
	transition: all .3s;
	transform: scale(0,1);
	transform-origin: left top;
}
#header .nav-item a:hover::after {
	transform: scale(1,1);
}
#header .sns {
	width: 40px;
	margin-left: 40px;
}
#header .hamburger {
	display: none;
}
#mask {
	display: none;
}
/* mainvisual */
#mainvisual {
	margin-bottom: 100px;
	position: relative;
}
#mainvisual .catchphrease {
	color: #f9f9f9;
	font-size: 2.5rem;
	font-family: 'Noto Sans JP', sans-serif;
	text-shadow: 0 4px 6px #020202;
	position: absolute;
	bottom: 3%;
	left: 3%;
}
#mainvisual img {
	width: 100%;
	height: calc(100vh - 80px);
	object-fit: cover;
}
/* ABOUT */
#about {
	margin-bottom: 100px;
}
#about .about-flex {
	display: flex;
	justify-content: space-around;
	align-items: center;
}
#about .about-img {
	width: 20%;
	padding-left: 5%;
}
#about .about-flex img {
	border-radius: 50%;
	width: 100px;
	height: 100px;
	object-fit: cover;
}
#about .about-flex .profile {
	width: 70%;
	line-height: 1.5em;
}
/* WORKS */
#works {
	margin-bottom: 100px;
}
#works .text-title {
	text-align: center;
	margin-bottom: 40px;
}
#works .site-flex,#works .thumbnail-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 80px;
}
#works li {
	width: 30%;
}
#works a {
	display: block;
}
#works .site-flex li img {
	vertical-align: bottom;
	margin-bottom: 10px;
	transition: all .3s;
}
#works .thumbnail-flex li img {
	border: solid 1px #020202;
	vertical-align: bottom;
	margin-bottom: 10px;
	transition: all .3s;
}
#works .site-flex li img:hover {
	opacity: 0.7;
}
#works li p {
	font-size: 0.8rem;
}
.img-mask {
	display: block;
	line-height: 0;
	overflow: hidden;
}
.img-mask img {
	transform: scale(1);
	transition: 0.3s ease-in-out;
}
.img-mask img:hover {
	transform: scale(1.05);
}
#works .thumbnail-flex li a {
	position: relative;
	overflow: hidden;
}
#works .thumbnail-flex li a::before {
	content: "";
	width: 100%;
	height: 100%;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: -100%;
	opacity: 0.3;
	transition: 0.5s;
}
#works .thumbnail-flex a:hover::before {
	left: 0;
}
/* モーダルウィンドウ1 */
.modal-site1, .modal-site2, .modal-site3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(20, 20, 20, 0.9);
    display: none;
	z-index: 25;
}
.modal-area {
    position: absolute;
    width: 80%;
    max-width: 800px;
	background-color: #E7E7E7;
    top: 12%;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
	padding: 20px 4% 40px 4%;
	border-radius: 4%;
}
.modal-area img {
	margin-bottom: 20px;
	border: solid 1px #191919;
}
.modal-area a {
	margin-bottom: 20px;
	text-decoration: underline;
	transition: 0.3s;
}
.modal-area a:hover {
	opacity: 0.7;
}

.modal-info {
	display: flex;
	flex-wrap: wrap;
}
.modal-info dt {
	width: 18%;
	font-size: 1rem;
	font-weight: bold;
	padding-bottom: 10px;
}
.modal-info dd {
	width: 82%;
	padding-bottom: 10px;
}

/* モーダルウィンドウ2 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(20, 20, 20, 0.9);
    display: none;
	z-index: 25;
}
.bigimg {
    position: absolute;
    width: 80%;
    max-width: 800px;
    top: 25%;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
}
.close-btn {
    color: #fff;
    font-size: 40px;
    position: absolute;
    right: 20px;
    top: 0;
	z-index: 10;
}
.close-btn a {
    color: #fff;
}



/* 画像のフェードインアニメーション　*/
.animation_box1 {
	padding: 10px;
	opacity: 0;
	transform: translateY(20px);
	transition: 1s ease;
}
.animation_box2 {
	padding: 10px;
	opacity: 0;
	transform: translateY(20px);
	transition: 1.5s ease;
}
.animation_box3 {
	padding: 10px;
	opacity: 0;
	transform: translateY(20px);
	transition: 2s ease;
}
.animation_box4 {
	padding: 10px;
	opacity: 0;
	transform: translateX(20px);
	transition: 1s ease;
}
.animation_box5 {
	padding: 10px;
	opacity: 0;
	transform: translateX(20px);
	transition: 1.5s ease;
}
.animation_box6 {
	padding: 10px;
	opacity: 0;
	transform: translateX(20px);
	transition: 2s ease;
}

/* SKILL */
#skill {
	margin-bottom: 100px;
}
#skill .skill-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-top: 40px;
}
#skill .skill-flex .skill-box {
	width: 48%;
	display: flex;
	margin-bottom: 60px;
}
#skill .skill-flex .skill-box img {
	width: 15%;
	margin-right: 20px;
}
#skill .skill-flex .skill-box .skill-text {
	width: 85%;
}
#skill .target {
	transition: 2s;
	transform: rotateY(0deg);
}
#skill .target:hover {
	transform: rotateY(360deg);
}

/* contact */
#contact {
	margin-bottom: 100px;
}
#contact .contact-box {
	text-align: center;
}
#contact p {
	margin-bottom: 50px;
}
#contact img {
	width: 100px;
	object-fit: cover;
	transition: 0.3s;
}
#contact img:hover {
	transform: scale(1.2);
	opacity: 0.6;
}
/* contactフォーム　*/
.contact-navi {
	font-size: 1rem;
	font-weight: bold;
	margin: 40px 0;
	text-decoration: underline;
}
.contact-navi a {
	transition: 0.3s;
}
.contact-navi a:hover {
	opacity: 0.7;
}
input, textarea {
    width: 100%;
    border: solid 1px #c8c8c8;
    padding: 8px;
    margin-bottom: 10px;
}
input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
	transition: 0.3s;
}
input[type="submit"]:hover {
    opacity: 0.7;
}
/* footer */
#footer {
	text-align: center;
	padding: 60px;
	background: rgb(135,224,253);
	background: -moz-linear-gradient(top,  rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%);
    background: linear-gradient(to bottom,  rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=0 );
}
#footer p {
	font-size: 0.65rem;
}
/* TOPへ戻るボタン */
#to-top {
	width: 50px;
	height: 50px;
	background-color: #121212;
	border: solid 1px #121212;
	border-radius: 50%;
	position: fixed;
	right: 25px;
	bottom: 25px;
	transition: 0.3s;
	z-index: 20;
}
#to-top::after {
	content: "";
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 7px solid #fff;
	position: relative;
	left: 0;
	bottom: 0;
	transition: 0.3s;
}
#to-top:hover {
	background-color: #fff;
}
#to-top:hover::after {
	border-bottom: 7px solid #121212;
}
/* SP */
@media screen and (max-width: 900px) {
	.section-title {
		margin-bottom: 40px;
	}
	.section-title .en {
		font-size: 1.5rem;
	}
	.section-title .ja {
		font-size: 0.875rem;
	}
	.text-title {
		font-size: 1.3rem;
		margin-bottom: 10px;
	}
	/* header */
	#navi {
		width: 300px;
		height: 100%;
		background: #fff;
		position: fixed;
		top: 0;
		left: -300px;
		bottom: 0;
		opacity: 0;
		overflow-y: auto;
		transition: 0.5s;
		z-index: 20;
	}
	.open #navi {
		left: 0;
		opacity: 1;
	}
	#header .nav-menu {
		flex-direction: column;
		align-items: left;
		padding: 40px 100px 0 0;
	}
	#header .nav-item {
		text-shadow: none;
		margin-bottom: 60px;
	}
	#header .nav-item a {
		color: #020202;
		font-size: 1rem;
	}
	#header .nav-item a::after {
		background: #020202;
	}
	#header .sns {
		margin-right: 35px;
	}
	#mask {
		transition: 0.5s;
		display: none;
	}
	.open #mask {
		width: 100%;
		height: 100%;
		background-color: #000;
		cursor: pointer;
		display: block;
		opacity: 0.8;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
	}
	/* ハンバーガーメニュー　*/
	#header .hamburger {
		display: block;
		width: 30px;
		height: 30px;
		cursor: pointer;
		position: fixed;
		top: 22px;
		right: 18px;
		transition: 0.5s;
		z-index: 20;
	}
	 .hamburger span {
		display: block;
		width: 30px;
		height: 2px;
		background-color: #121212;
		border-radius: 4px;
		position: absolute;
		left: 0;
		transition: 0.5s;
	}
	.hamburger span:nth-child(1) {
		top: 4px;
	}
	.hamburger span:nth-child(2) {
		top: 14px;
	}
	.hamburger span:nth-child(3) {
		bottom: 4px;
	}
	.open .hamburger span {
		background-color: #fff;
	}
	.open .hamburger span:nth-child(1) {
		transform: translateY(10px) rotate(-315deg);
	}
	.open .hamburger span:nth-child(2) {
		opacity: 0;
	}
	.open .hamburger span:nth-child(3) {
		transform: translateY(-10px) rotate(315deg);
	}
	/* mainvisual */
	#mainvisual {
		margin-bottom: 40px;
	}
	#mainvisual .catchphrease {
		font-size: 1.5rem;
	}
	/* about */
	#about .about-flex {
		flex-direction: column;
	}
	#about .about-flex .about-img {
		width: 100%;
		padding-left: 0;
		padding-bottom: 30px;
		text-align: center;
	}
	#about .about-flex .profile {
		width: 98%;
		padding: 0 3%;
	}
	/* works */
	#works .site-flex, #works .thumbnail-flex {
		flex-direction: column;
		padding: 0 2%;
		margin-bottom: 40px;
	}
	#works li {
		width: 100%;
		margin-bottom: 30px;
	}
	#works li:last-child {
		margin-bottom: 0;
	}
	.modal-area {
		width: 95%;
		top: 7%;
		padding: 10px 4% 15px 4%;
	}
	.modal-area img {
		margin-bottom: 10px;
	}
	.modal-info dt {
		width: 40%;
		font-size: 0.9rem;
		text-align: left;
	}
	.modal-info dd {
		width: 60%;
		font-size: 0.85rem;
		text-align: left;
	}
	/* skill */
	#skill {
		margin-bottom: 40px;
	}
	#skill .skill-flex {
		flex-direction: column;
		padding: 0 4%;
	}
	#skill .text-title {
		font-size: 1.1rem;
	}
	#skill .skill-flex .skill-box {
		width: 100%;
	}
	#skill .skill-flex .skill-box img {
		width: 20%;
	}
	#skill .skill-flex .skill-box .skill-text {
		width: 80%;
		font-size: 0.875rem;
	}
	/* コンタクトフォーム　*/
	.page-box {
		padding: 0 3%;
	}
}
