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

#headerContents,
#footerContents,
#mainVisual,
.aboutbox,
.contactbox,
.moviebox {
	max-width: 100%;
	margin: 0 auto;
	background: #faf3e5;
}
#mainVisual {
	width: 90%;
	margin-top: 1%;
	margin-bottom: 3%;
}
header,
footer,
hr {
	max-width: 100%;
	margin: 0 auto;
}
html {
	overflow-y: scroll;
	letter-spacing: 0.2em;
}
body {
	line-height: 1.5em;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	background: #faf3e5;
}
a {
	text-decoration: none;
	display: block;
	color: #000;
}
small {
	font-size: 0.8em;
}
img {
	max-width: 100%;
	height: auto;
}
.centerh1 {
	text-align: center;
}
h1 {
	margin-top: 5%;
	font-size: 3em;
	position: relative;
	display: inline-block;
}
h1 a{
	color: #111111;
}
h1 a:hover {
	opacity: 0.7;
}
h1:before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -75%;/*線の上下位置*/
	display: inline-block;
	width: 110%;/*線の長さ*/
	height: 5%;/*線の太さ*/
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);/*位置調整*/
	background: #111111;/*線の色*/
	border-radius: 2px;/*線の丸み*/
}
h3 {
	color: #111111;
	text-align: center;
	font-size: 0.8em;
	font-weight: 100;
}
h2 {
	/*color: #F38173;*/
	font-size: 2rem;
	font-weight: 200;
	margin: 8% auto 5%;
	text-align: center;
}
.centerText {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 14%;
}
.aboutbox dl a:hover {
	opacity: 0.7;
	text-decoration: underline;
}

.shadow_btn02 {
  display: inline-block;
  width: 100%;
  max-width: 15%; /* ボタン幅 */
  border: 2px solid #F38173; /* 線幅・種類・色 */
  border-radius: 0;
  color: #F38173; /* 文字色 */
  background: #faf3e5;/* 背景色 */
  -webkit-box-shadow: 4px 4px 0 #F38173; /* 影の距離・色 */
  box-shadow: 4px 4px 0 #F38173; /* 影の距離・色 */
  padding: 1em 2em;
  font-weight: bold; /*文字の太さ*/
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
}
/* マウスオーバーした際のデザイン */
.shadow_btn02:hover {
  -webkit-box-shadow: -4px -4px 0 #F38173; /* 影の距離・色 */
  box-shadow: -4px -4px 0 #F38173; /* 影の距離・色 */
}
.btn {
	text-align: center;
	margin: 5% auto;
}

/* about */
.aboutbox dt {
	font-weight: bold;
	margin-bottom: 2%;
}
.aboutbox dd {
	margin-bottom: 3%;
	border-bottom: solid 1px #ccc;
}
.aboutbox dd:last-child {
	margin-bottom: 0;
}
header {
	z-index: 2;
}
#headerContents {
	align-items: center;
	z-index: 2;
}
.sticky {
	position: -webkit-sticky; /* Safariに対応する */
	position: sticky; /* 要素を固定/解除する */
	top: 0; /* 縦方向の閾値 */
	left: 0; /* 横方向の閾値 */
	z-index: 99;
}
nav {
	width: 100%;
	margin: 2% -2% 0;
}
nav ul {
	display: flex;
}
nav ul li {
	margin: auto 3%;
}
#navi {
	justify-content: right;
	font-size: 0.875rem;
}
#navi li a {
	color: #111111;
}
#navi li a:hover {
	opacity: 0.7;
}

/* main共通 */
main {
	font-size: 1rem; /*1.8vmin;*/
	min-height: 800px;
	margin: auto 0;
}
.centerText {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 14%;
}
dl dt span {
	background: linear-gradient(transparent 60%, #FFEF6C 60%);
}

/* 下層aboutページ */
.flex {
 	display: flex; /*横並び*/
}
.flex #profilephoto {
	width: 70%; /*画像サイズ指定*/
	margin: 1% auto 0;
	overflow: hidden;
	position: relative;
}
.flex .right {
 	margin: 0 0 0 5%;
}
.flex .title {
 	margin: 0 auto;
 	font-size: 1.5em;
}
.flex .text {
 	margin: 0% 0 15%;
}

.flexarea {
    display: flex;
    justify-content: space-around;
}
.flexarea dt {
	margin: 5% auto 0;
}
.flexarea dt img {
	width: 300px;
	height: 300px;
}
.flexarea dl dd {
    text-align: center;
    margin-top: 3%;
}
.flexarea2 {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.flexarea2 dt {
	margin: 5% auto 0;
}
.flexarea2 dl dd {
    text-align: left;
    margin: 1% 23% 0;
	padding: 0 20px;
}
.more {
	width: 50%;
}
.more a:hover {
	opacity: 0.7;
}

footer {
	margin-top: 10%;
}
#footerContents {
	display: flex;
	padding: 5% 0;
}
footer p {
	margin-left: 15%;
}
footer ul {
	display: flex;
	margin: 0 15% 0 auto;
}
footer ul li {
	margin: 0 3%;
}
footer ul li:hover {
	opacity: 0.5;
}

footer ul li img {
	max-width: 50px;
	height: 50px;
}

footer ul {
	position: relative;
}

/* カレント設定 */
#about nav .nav1 a,
#works nav .nav2 a,
#contact nav .nav3 a {
	border-bottom: solid 2px #ff8189;
	color: #ff8189;
	opacity: 0.5;
}

/*contact*/
	#email {
		margin-left: 7%;
}
@media screen and (max-width : 767px ){
	#headerContents {
		display: block;
		position: relative;
	}
	h1 {
		position: static;
		position: relative;
	}
	h2 {
		position: static;
		position: relative;
	}
	nav ul {
		margin-left: 0;
		margin-top: 3%;
		width: 100%;
	}
	.flex {
	 	display: block; /*横並び*/
	}
	.flexarea {
		display: flex;
		justify-content: space-around;
		flex-wrap: wrap;
	}
	.flexarea2 dl dd {
   	 	text-align: left;
    	margin: 1% 21% 0;
		padding: 0 20px;
	}

	#footerContents {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	footer p {
		margin-left: 0;
		margin-bottom: 3%;
	}
	footer ul {
		margin: 0;
	}
	main {
		font-size: 0.875rem; 
	}

}
