@charset "utf-8";
/* CSS Document */


/* =============== 全体共通 =============== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
/*	font-family: 'Klee One', cursive;*/
	font-family: 'Zen Maru Gothic', sans-serif;
}
html {
 scroll-behavior: smooth;
}
body {
	background-color: #fff;
	color: #311;
	line-height: 1.8;
}
img {
	max-width: 100%;
	height: auto;
}
/*video {
	max-width: 100%;
	height: auto;
}　サーバー上では効かない。。*/

a {
	color: inherit; /*青や紫にならない*/
	text-decoration: none; /*下線いらない*/
}
.a-intext {
	color: #006633;
	border-bottom: solid 0.1px #99cccc;
}
a:hover {
	opacity: 0.8;
}
nav a:hover {
	opacity: 0.8;
	background-color: #ffffcc;
}
.to-top a:hover {
	opacity: 0.8;
	background-color: #ffffcc;
}
header a {
	border: 1px solid #311;
	border-radius: 45%;
	background-color: #fff;
}
li {
	list-style-type: none;
}
.about,.skill {
	padding: 40px 1rem 20px; /*上40px 下20px 左右1文字分*/
	border-top: 1px solid #505050;
}
.work {
	padding: 40px 0px 20px; /*上40px 下20px 左右0*/
	border-top: 1px solid #505050;
}
h2 {
	font-size: 50px;
	text-align: center;
	margin-bottom: 40px;
	padding: 40px;
}
h1,h2,h3,h4,.h1-mobile,header li,header a,footer {
/*	font-family: 'Bad Script', cursive;
*/	font-family: 'Amatic SC', cursive;
}

/*トップに戻るボタン*/
.to-top {
/*	width: 89px;*/
/*	height: 35px;*/
	position: fixed;
	right: 0px;
	bottom: 20px;
	z-index: 99999;
}

.to-top a {
	width: 50px;
	height: 40px;
	display: block;
	background-color: #fff;
	text-align: center;
	border-top: 1px solid #311;
	border-left: 1px solid #311;
	border-bottom: 1px solid #311;
	border-radius: 50% 0% 0% 50% ;
}

.to-top a:hover {
	opacity: 0.8;
	background-color: #ffffcc;
}
.to-top img {
	width: 35px;
	padding: 5px 0px 5px 10px;
}

/* =============== header =============== */

header .mobile-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 10px;
}
nav {
	background-image: linear-gradient(to top,#66999900,#66999990);
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 99999;
}

nav ul {
	display: flex;
	flex-direction: column;
	font-size: 150%;
	text-align: end;
	/*justify-content: flex-endが効かないのはなぜ*/
	margin-right: 5px;
}
nav a {
	padding: 0px 15px;
}
.h1-mobile {
	font-size: 60px;
	font-weight: bold;
	color: #411;
	padding: 20px 5px;
	z-index: 100000;
	text-shadow: #ffffcc 1px 0 10px;
}



/* =============== top =============== */

.mainvisual {
	background-image: url("../img/top.jpg");
	height: 50vh;
	background-size: cover;
	background-position: center;
}
h1 {
	display: none;
	}


/* =============== about =============== */
.about .container {
	text-align: center;
	align-items: center;
}
.about img {
	width: 40%;
	max-width: 250px;
	border-radius: 50%;
	margin: 20px 10px 10px 10px;
}

.about table {
	margin: 0px auto;
}

/* =============== skill =============== */


.skill li {
	margin-bottom: 20px;
}
.skill .logo {
	display: flex;
	width: 50%;
	margin: 0px auto;
}
.skill .caption {
	width: 85%;
	margin: 0px auto;
}



/* =============== work =============== */

h3 {
	font-size: 40px;
	margin-bottom: 20px;
}

.site {
	background-color: #66999920;
	margin-bottom: 80px;
	padding: 20px;
}
.baner {
	background-color: #66999920;
	margin-bottom: 80px;
	padding: 40px;
}
.poster {
	background-color: #66999920;
	margin-bottom: 80px;
	padding: 40px;
}
.site-ga {
	max-width: 100%;
	max-height: 600px;/*ひとまず指定(autoでOKなので削除）*/
	padding: 20px;
	margin: 0 auto;
}

.site-item {
	background-color: #ffffff;
	border-radius: 10px;
	margin: 0px auto;
	padding: 30px 20px;
}
.site-item2 {
	margin-top: 40px;
}

.site p {
	width: 85%;
	margin: 0px auto 1rem;
	text-align: justify;
}
.site .site-title {
	line-height: 4;
	font-size: 1rem;
	border-bottom: 0.1px solid #99cccc;
}

.baner-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
}
.baner-inner .item, .baner-inner .item_big {
	margin: 10px 10px 30px;
	text-align: center;
}
.poster-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	margin: 20px;
}
.poster-item {
	display: flex;
	flex-direction: column;
}
.poster-item p {
	text-align: center;
}





/* =============== footer =============== */
footer {
	border-top: 1.5px solid #311;
	background-color: #66999970;
}
footer p {
	text-align: center;
}

/* =============== タブレット対応（600px以上) =============== */
@media(min-width:600px) {
/*最大表示幅の指定*/
	.about .inner, .skill .inner {
		max-width: 960px;
		margin: 1rem auto 1rem;
	}
	.work .inner {
		max-width: 1200px;
		margin: 1rem auto 1rem;
	}
/*タイトルとメニュー表示の変更*/
	.h1-mobile {
		display: none;
	}
	h1 {
		display: flex !important;
		font-size: 100px;
		letter-spacing: 8px;
		font-weight: bold;
		color: #411;
		text-shadow: 1px 0 10px #ffffcc, 1px 0 0 #fff, 0 1px 0 #fff, -1px 0  #fff, 0 -1px 0 #fff;
	}
	header .mobile-inner {
		display: block;
	}
	nav ul {
		font-size: 200%;
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
	}
	nav li {
		margin: 20px 20px 20px 0px;
	}
	
	
/*トップ画像*/
	.mainvisual {
		/*background-image: url("../img/top.jpg");*/
		height: 100vh;/*画面サイズと同じ高さで表示*/
		background-size: cover;
		background-position: center;
		display: flex;/*ロゴ（画＋文字）をflexboxとして扱う*/
		justify-content: center;/*上記を平行方向中央に寄せる*/
		align-items: center;/*上記を垂直方向中央に*/
		text-align: center;
	}
/*プロフィールの表示*/
	.about .container {
		display: flex;
		justify-content: center;
	}
	.myphoto {
		width: 40%;
	}
	.about img {
		width: 70%;
	}
/*スキルの表示*/
	.skill li {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.skill .logo {
		width: 30%;
		margin: 0px 20px;
	}
	.skill .caption {
		width: 60%;
		margin: 10px 1rem;
	}

/*作品の表示サイズ*/
	.site {
		padding: 40px;
	}
	.site-ga {
		max-width: 500px;
		padding: 30px 20px;
		margin: 0 auto;
	}	
	.site .site-title {
		font-size: 1.3rem;
	}	
	.site p {
		padding: 1rem;
	}
	.baner-inner .item {
		width: 45%;
		max-width: 300px;
	}
	.baner-inner .item_big {
		width: 45%;
		/*max-width: 500px;*/
	}
	.poster-item {
		flex-direction: column;
		justify-content: space-around;
		width: 30%;
	}
}



/* =============== PC対応（960px以上) =============== */
@media(min-width:960px) {
	
	.site-item {
		display: flex;
		justify-content: space-around;
	}
	.site-ga {
		width: 50%;
		margin: 0px 0px 0px 20px;
	}
	.site p {
		width: 40%;
		margin: 30px 20px 20px 0px;
		text-align: justify;
	}
	
}

	



