@charset "utf-8";

/* リセットCSS */

body {
	width: 100%;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    background-color: #C3C3C3;
    margin: 0px;
    padding: 0px;
    -webkit-text-size-adjust: none;
    color: rgb(114, 101, 101);	/*全体の文字色*/
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
    font-size: 16px;	/*文字サイズ*/
    line-height: 2;		/*行間*/
    background: #E5E5E5;	/*背景色*/
}

h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}

/* 背景画像 */

.background-img {
	background-image: url(img/pexels-madison-inouye-1101122.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: rgba(255, 255, 255, 0.5);
	background-blend-mode: lighten;
	background-attachment: fixed;
}

/* body */

body {
	min-width: 500px;
	font-size: 20px;
	font-family: 'Oswald', sans-serif;
	color: #000;
}

.container {
	max-width: 85%;
	margin: 0 auto;
	padding-top: 20px;
}

h1 {
	color: snow;
	font-family: 'Oswald', sans-serif;
	font-size: 48px;
	font-weight: bolder;
	line-height: 2.0;
	padding-left: 50px;
}

.h2-layout {
	text-align: center;
}

h2 {
	font-size: 36px;
	color: #000;
	font-family: 'Oswald', sans-serif;
	line-height: 2.0;
	margin: 50px 0;
	display: inline-block;
	position: relative;	
}

h2:before {
	content: "";
	display: block;
	width: 50px;
	height: 2px;
	background: #000; 
	position: absolute;
	top: 37px;
	left: -75px;
}

h2:after {
	content: "";
	display: block;
	width: 50px;
	height: 2px;
	background: #000; 
	position: absolute;
	top: 37px;
	right: -75px;
}

h3 {
	font-size: 28px;
	text-align: center;
	text-decoration: underline;
	margin-top: 30px;
	margin-bottom: 10px;
}

/* Main */

.section-box {
	margin: 100px 0;
} 

/* header */

#header {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 100;
}

/* nav bar */

.header-title-nav {
	display: flex;
	justify-content: space-between;
	
}

.nav-bar {
	margin-top: 35px;
	margin-right:40px;
}

ul {
	text-align: center;
}

.nav-item {
	display: inline;
	list-style: none;
	padding: 5px;
	border: 1px solid white;
	border-radius: 3px;
	margin-right: 10px;
}

.nav-link {
	text-align: center;
	color: white;
	text-decoration: none;
}

.menu-sp {
	display: none;
}

/* Mainimg */

header {
	background-color: hsla(30, 70%, 50%, .8);
}

.policy {
	background-image: url(img/pexels-ákos-szabó-440731.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	background-blend-mode: lighten;
	box-sizing: border-box;
	height: 800px;
	position: relative;
	/* background-color: rgba(255, 255, 255, 0.5);
	background-blend-mode: lighten;
	background-attachment: fixed; */
}

.policy-fontsize {
	font-size: 1.5em;
	padding: 0 5px;
}

.policy-comment {
	font-size: 1.25em;
	font-weight: bolder;
	line-height: 3.0;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Profile */

.profile {
	display: flex;
	justify-content: center;
	align-items: center;
}

.profile-img {
	margin-right: 100px;
	width: 300px;
	height: 300px;
	border:2px solid #666;
	border-radius: 10%;
}

table {
	width: 50%;
}

tr {
	line-height: 2.0;
}

.td-1, .td-2 {
	font-size: 20px;
	text-align: center;
	padding: 20px 50px;
	border-bottom: 1px dotted #666;
}

.td-1 {
	border-right: 1px dotted #666;
}

tr:last-child .td-1, tr:last-child .td-2 {
	border-bottom: none;
}


.clear {
	clear: both;
}

/* Skill */

/* #skill {
	background-color: rosybrown;
} */

.language, .coding, .communication {
	display: flex;
	justify-content: center;
	margin-bottom: 100px;
}

.skill-language {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	margin: 10px;
	background-color: #fff;
	border: 1px solid #666;
	border-radius: 10%;
}

.skill-language img {
	width: 70%;
}

.communication {
	flex-direction: row-reverse;
}

.coding img {
	width: 250px;
	border-radius: 5%;
}

.communication img {
	width: 300px;
	border-radius: 5%;
}

.skill-comment {
	padding-left: 100px;
	margin: auto 0;
}

.communication-comment {
	padding-right: 100px;
	margin: auto 0;
}

/* Works */

.works-homepage {
	display: flex;
	justify-content: center;
}

.homepage, .blog {
	text-align: center;
	margin-bottom: 100px;
}

.homepage img {
	width: 65%;
	border: 1px solid #000;
	border-radius: 10px;

}

.homepage-p {
	padding: 20px 0;
}

.blog img {
	width: 40%;
	border: 1px solid #000;
	border-radius: 10px;
}

/* contact */

#contact {
	text-align: center;
	margin-top: 50px;
	margin-bottom: 50px;
}

.contact-p {
	margin-top: 10px;
	margin-bottom: 20px;
}

.icon-twitter {
	width: 30px;
	padding: 5px;
	border: 1px solid #666;
	border-radius: 5px;
}

.contact-item, .contact-email {
	margin: 20px 0;
}

/* footer */

footer {
	text-align: center;
	margin-top: 50px;
}

/* Media */

@media screen and (max-width:1024px) {

	.policy-comment-sentence {
		font-size: 16px;
	}

	.policy-fontsize {
		font-size: 24px;
	}

	.section-box {
		margin: 0;
	}

	.profile, .language,
	.coding, .communication,
	.works-homepage {
		display: block;
		text-align: center;
		margin: 0 auto;
	}

	.profile-img {
		margin-right: 0;
	}

	table {
		margin: 50px auto;
		width: 90%;
	}
	
	.td-1, .td-2 {
		padding: 20px 20px;
	}

	.skill-language {
		width: 50%;
		margin: 20px auto;
	}

	.skill-comment, .communication-comment {
		padding: 0;
		margin: 20px 0;
	}

	.homepage img{
		width: 50%;
	}

/* ハンバーガーメニュー */

/* ナビバーの非表示 */

	.menu-pc {
		display: none;
	}

/*3本線を作る*/

	#label1 span, #label1 span::before, #label1 span::after {
		position: absolute;
		z-index: 1000;
		width: 30px;
		height: 3px;
		background-color: white;
		content: "";
		cursor: pointer;
	}

	#label1 span {
		top: 24px;
		right: 30px;
	}

	#label1 span::before {
		bottom: -12px;
	}

	#label1 span::after {
		bottom: -24px;
	}

/* リスト作成 */

	.menu-sp {
		display: block;
	}

	#input{
		display: none;
	}

	.sp_content {
		position: absolute;
		top: 50px;
		right: 0;
		z-index: 200;
		width: 150px;
		height: auto;
		background: black;
		transition: .3s;
		opacity: 0;
	}

	#input:checked  ~ .sp_content {
		opacity: .8;
	}

/*メニューのデザイン*/

	.sp_ul {
		letter-spacing: 0;
	}

	.sp_list {
		border-bottom: 1px solid white;
		text-align: left;
		line-height: 2.0;
		padding: 16px;
	}

	.nav_sp_top, .nav_sp_bottom {
		color: #fff;
	}

	.nav_sp_top {
		font-size: 18px;
	}

}

@media screen and (max-width:600px) {

	body {
		font-size: 15px;
	}

	.container {
		max-width: 100%;
	}
	
	h1 {
		font-size: 24px;
		line-height: 2.0;
	}

	.policy {
		background-size: 800px;
		height: 400px;
	}

	.policy-comment {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.policy-comment-sentence {
		font-size: 14px;
	}

	.policy-fontsize {
		font-size: 20px;
	}

	.homepage, .blog {
		margin-bottom: 0;
	}

	.homepage img {
		width: 90%;
	}

	.blog img {
		width: 90%;
	}

	#label1 span {
		top: 12px;
		right: 30px;
	}

	#label1 span::before {
		bottom: -12px;
	}

	#label1 span::after {
		bottom: -24px;
	}
}