@charset "UTF-8";
/** -----------------------------------------------
  共通
------------------------------------------------**/
body {
	/*下記のCSSはご自身のデザインに合わせて書き換えてください。*/
	margin: auto;
	font-size: 16px;
	line-height: 1;
	color: #333;
	background-color:#fff;
	font-family:  YuGothic,'Yu Gothic', Osaka, sans-serif, Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
}

.text{
	font-size: 18px;
	line-height: 1.5em;
}

.space{
	width: 100%;
	height: 30px;
}



/** -----------------------------------------------
  PC :  画面の横幅が641px以上
------------------------------------------------**/

#header{
	background-color: rgb(255, 255, 255, 0.5);
	width: 100%;
	height: 90px;
	display: flex;
	justify-content: flex-end;
	padding: 0 40px;
	z-index: 10;
	position: fixed;
}

.logo{
	display: flex;
	align-items: center;
}

.logo-img{
	height: 30px;
}


.header-nav{
	list-style: none;
	line-height: 1;
}

.header-nav a{
	text-decoration: none;
	color: #3b3935;
	font-size: 18px;
	font-weight: bold;
	margin-right: 45px;
	font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif;
}

.header-nav a {
  padding-bottom: 5px;
  position: relative;
}

.header-nav a::before {
  background: #3b3935;
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}

.header-nav a:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
}

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

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


.menu-icon{
	color: #3b3935;
	float: right;
	font-size: 30px;
	padding: 17.5px 0;
	display: none !important;
}

#js-sp-nav{
	display: none;
}

/* ヘッダーここまで */

.contents{
	text-align: left;
	max-width: 1000px;
	margin: 0 220px;
	padding-bottom: 70px;
	padding-top: 140px;
}

.title{
	font-size: 20px;
}

.date{
	font-size:13px;
	padding-top: 10px;
	padding-bottom: 50px;
}

/* フッターここから */
footer{
	background-color: #62615d;
	text-align: center;
	padding: 50px 0;
}

.footer-nav a{
	color: #fff;
	text-decoration: none;
	font-size: 15px;
}

.footer-list{
	display: flex;
	justify-content: center;
}

.footer-nav{
	list-style: none;
}

.footer-deco{
	color: #fff;
	margin: 0 20px;
}

.copyright{
	font-size: 10px;
	color: #fff;
	margin-top: 30px;
}

.footer-nav a:hover{
	opacity: 0.7;
}




/*ここからメディアクエリで各デバイスサイズに書き分けます。
今回の課題で考慮するのはPCとスマホのみでOKですが、タブレットサイズでのスタイルを書いてもOK！
また、CSSは上から下に継承されるので、変化させたいところだけ書けばOKです*/


/** -----------------------------------------------
  Smartphone :  画面の横幅が640pxまで
------------------------------------------------**/
@media screen and (max-width:640px){
	.contents{
		width: 90%;
		padding: 120px 27.5px;
		margin: auto;
	}

	.title{
		font-size: 24px;
	}
	.text{
		font-size: 18px;
	}
	/* ヘッダーここから */
	#header{
		padding: 0 18px;
	}

	.menu-icon{
		display: block !important;
	}

	#js-sp-nav{
	 	display: none;
		width: 100vw;
		height: 100vh;
		position: fixed;
		left: 0;
		background-color: #fff;
	}

	.js-nav-link{
		font-size: 18px;
		color: #3b3935;
		font-weight: bold;
		line-height: 1;
		padding-bottom: 30px;
		text-decoration: none;
		display:block;
	}

	.js-nav-body{
		 padding-top: 100px;
		 text-align: center;
	}

	.ja-close-icon{
		 display: block;
	   width: 26px;/*枠の大きさ*/
	   height: 26px;/*枠の大きさ*/
	   position: relative;
	}

	.ja-close-icon::before, .ja-close-icon::after{
	    content: "";
	    display: block;
	    width: 100%;/*バツ線の長さ*/
	    height: 3px;/*バツ線の太さ*/
	    background: #3b3935;
	    transform: rotate(45deg);
	    transform-origin:0% 50%;
	    position: absolute;
	    top: calc(14% - 5px);
	    left: 14%;
	}

	.ja-close-icon::after{
	    transform: rotate(-45deg);
	    transform-origin:100% 50%;
	    left: auto;
	    right: 14%;
	}

	.ja-close{
		  position: absolute;
		  top: 28px;
		  right: 36px;
	}

	.header-list{
		display: none;
	}
	/* ヘッダーここまで */

	/* フッターここから */
	.footer-deco{
		display: none;
	}

	.footer-list{
		display: flex;
		justify-content: center;
		flex-direction: column;
	}

	.footer-nav{
		padding-bottom: 8px;
	}
}
