@charset "utf-8";

/*
---------------------------------------
全ページ共通で使用するcssを記述
---------------------------------------*/

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
}

.pcOnly {
  display: block;
}
.spOnly {
  display: none;
}

@media screen and (max-width: 480px) {
  .pcOnly {
    display: none;
  }
  .spOnly {
    display: block;
  }
}

/*
---------------------------------------------
    page
---------------------------------------------
*/

.inner{
	width: 1000px;
    margin: 0 auto;
}

@media screen and (min-width: 768px){
  .inner {
    max-width: 1152px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
  }
}

@media screen and (max-width: 767px){
  .inner {
    width: 90%;
    margin: 0 auto;
  }
}


/*
---------------------------------------------
	header area
---------------------------------------------
*/

.header{
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	z-index: 999;
  	margin-bottom: 2rem;
	font-family: "Noto Serif JP", serif;
  }
  .header_inner {
	position: relative;
	background:#fff;
	display: flex;
	justify-content: space-between;
  }
  .logo{
	top: 0;
	left: 0;
	padding: 0px 30px 10px;
	background: #003C31;
  }
  .header_title{
	font-size: 1.5rem;
	font-weight: 600;
	color: #000;
	line-height: 1.2;
	color: #fff;
  }
  .header_title span{
	font-size: 0.5rem;
  }
  .nav{
	display: flex;
    justify-content: flex-end;
	align-items: center;
	padding: 0 1rem;
  }
  .nav_list a{
	margin-right: 0.5rem;
  }
  
  @media only screen and (min-width: 769px) {
	.header_inner{
	  width: 100%;
	}
	.logo{
		padding: 0 30px 10px;
	}
	.nav_list{
	  text-align: right;
	}
	.nav_list li{
	  display: inline-block;
	  text-align: right;
	  padding-left: 20px;
	}
	.nav_list li a{
	  color: #000;
	  font-weight: 600;
	}
}/* pc */

@media only screen and (max-width: 768px) {
	.header_inner{
		display: block;
	}
	.header_title{
		font-size: 1rem;
		text-align: center;
	}
	.logo{
		padding: 16px 11px;
	}
	.nav {
	  position: fixed;
	  right: -320px; /* 右から出てくる */
	  top: 0;
	  width: 300px; /* スマホに収まるサイズ */
	  height: 100vh;
	  padding-top: 60px;
	  background-color: #fff;
	  transition: all .6s;
	  z-index: 200;
	  overflow-y: auto; /* メニューが多くなったらスクロールできるように */
	}
	.hamburger {
	  position: absolute;
	  right: 15px;
	  top: 5px;
	  width: 40px; /* クリックしやすい幅 */
	  height: 40px; /* クリックしやすい高さ */
	  cursor: pointer;
	  z-index: 300;
	}
	.nav_list {
	  margin: 0;
	  padding: 0;
	  list-style: none;
	}
	.nav_item {
	  text-align: center;
	  padding: 0 14px;
	}
	.nav_item a {
	  display: block;
	  padding: 8px 0;
	  border-bottom: 1px solid #eee;
	  text-decoration: none;
	  color: #333;
	}
	.nav_item a:hover {
	  background-color: #eee;
	}
	.hamburger_border {
	  position: absolute;
	  left: 11px;
	  width: 18px;
	  height: 2px;
	  background-color: #333;
	  transition: all .6s;
	}
	.hamburger_border_top {
	  top: 14px;
	}
	.hamburger_border_center {
	  top: 20px;
	}
	.hamburger_border_bottom {
	  top: 26px;
	}
	.black_bg {
	  position: fixed;
	  left: 0;
	  top: 0;
	  width: 100vw;
	  height: 100vh;
	  z-index: 100;
	  background-color: #333;
	  opacity: 0;
	  visibility: hidden;
	  transition: all .6s;
	  cursor: pointer;
	}
  
	/* 表示された時用のCSS */
	.nav-open .nav {
	  right: 0;
	}
	.nav-open .black_bg {
	  opacity: .8;
	  visibility: visible;
	}
	.nav-open .hamburger_border_top {
	  transform: rotate(45deg);
	  top: 20px;
	}
	.nav-open .hamburger_border_center {
	  width: 0;
	  left: 50%;
	}
	.nav-open .hamburger_border_bottom {
	  transform: rotate(-45deg);
	  top: 20px;
	}
  }/* sp */

  .header_inner .widgettitle,
  .footer_inner .widgettitle{
	  display: none;
  }
/*  ------------------------------------------
基本CSSを追加する際は以下を変更してください。
------------------------------------------*/

/*
---------------------------------------------
    text 
---------------------------------------------
*/
.original_code h1{
    font-size: 2.7rem;
  }
  
  .original_code h2{
    font-size: 2.5rem;
  }
  
  .original_code h3{
    font-size: 2rem;
  }
  
  @media only screen and (max-width: 768px) {
    .original_code h1{
      font-size: 2rem;
    }
    
    .original_code h2{
      font-size: 2.25rem;
    }
    
    .original_code h3{
      font-size: 1.7rem;
    }
  }
  
  /*
  ---------------------------------------------
      section
  ---------------------------------------------
  */
  section{
    margin-top: 2rem;
  }
  
  main section:first-of-type{
    margin-top: 7rem;
  }
  
  /*
  ---------------------------------------------
      content Block
  ---------------------------------------------
  */
  .inner_text,
  .inner_img{
    width: 50%;
    padding: 1rem;
  }
  
  @media only screen and (max-width: 768px) {
    .inner_text,
    .inner_img{
      width: 100%;
    }
  }
  
  /*
  ---------------------------------------------
      display
  ---------------------------------------------
  */
  
  .dis_flex{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  }
  
  .align_center{
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  
  .flex_wrap{
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  
  .flex_wrap div{
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 33.33333%;
    -moz-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
    padding: 0 1rem;
  }
  
  @media only screen and (max-width: 768px) {
    .dis_flex{
      display: block;
    }
    .flex_wrap div{
      flex: 0 0 100%;
      max-width: 100%;
      padding: 0;
      margin-bottom: 1rem;
    }
  }
  

/*
---------------------------------------------
    footer
---------------------------------------------
*/ 

footer{
  
}

.footer_inner{
  display: flex;
  padding: 6rem 2rem 2rem;
}

.footer_title{
  font-size: 1.5rem;
  font-weight: bold;
  width: 60%;
  margin: auto;
}

.footer_txt{
  margin-left: 2rem;
  width: 40%;
}

.footer_txt_inner{
  width: 45%;
  margin: 0 2rem;
}

.footer_list{
  text-align: right;
  margin-top: 0.5rem;
}

.copyright{
  text-align: center;
  padding: 2rem 0;
}


@media only screen and (max-width: 768px) {
  footer::before{
    top: -29px;
  }
  .footer_inner{
    display: block;
    padding: 3rem 0rem 1rem;
  }
  .footer_title{
    width: 100%;
    text-align: center;
  }
  .footer_txt{
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
  }
  .footer_txt_inner{
    width: 100%;
    margin: 0;
  }
  .footer_list{
    text-align: center;
  }
}

/* post */
#post{
	margin-top: 4rem;
	background: ;
}

#post .inner{
	padding: 2rem 0;
}

.post_title{
	color: ;
	font-size: 1.5rem;
	font-weight: bold;
}

.newpost_inner{
	margin-top: 1rem;
	display: flex;
}

.newpost_inner_child{
	width: 23%;
	margin: 0.5rem;
}

.newpost_inner_img img{
	border-radius: 1rem;
    width: 270px;
    height: 170px;
    object-fit: cover;
}

.newpost_inner_content{
  display: flex;
}

.newpost_inner_category{
	font-size: 0.7rem;
	font-weight: bold;
}

.newpost_inner_category,
.rnewpost_inner_elease_date,
.newpost_inner_title{
	font-size: 0.7rem;
	line-height: 1.25;
}

.rnewpost_inner_elease_date{
	font-weight: bold;
	font-size: 0.7rem;
  margin-left: 0.5rem;
}

.newpost_inner_title{
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.5;
	margin: 0.5rem 0;
}

.newpost_list_meta{
	opacity: .7;
	font-weight: bold;
    font-size: 0.75rem;
}

.newspost_more{
	margin-top: 1rem;
	text-align: right;
	font-size: 0.7rem;
	color: #74AE5B;
	font-weight: bold;
}

.newspost_more .newspost_more_img{
	margin-left: 0.5%;
	width: 20px;
    height: 17px;
}

.category_lists{
	margin: 1rem auto;
	display: flex;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.category_list{
	margin: 0 0.5rem;
}

.category_list a{
	position: relative;
	font-weight: bold;
}

.category_list::before{
	font-weight: normal;
    font-family: 'Material Icons';
    content: "chevron_right";
    -webkit-font-feature-settings: 'liga';
    vertical-align: top;
    color: #054D8B;
}

.category_list::after{
	position: absolute;
	padding-left: 0.5%;
	content: "|";
	color: #DEDEDE;
}

.tags{
	margin-top: 3rem;
}

.tags_lists{
	margin: 1rem auto;
	display: flex;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.tag{
	font-size: 0.7rem;
    background: #fff;
    padding: 0.5rem;
    letter-spacing: 0.1em;
    border-radius: 10rem;
    border: 1px solid #CECECE;
    box-sizing: border-box;
    margin: 0 0.2rem;
}

@media only screen and (max-width: 768px) {
	.newpost_inner{
		display: block;
	}
	.newpost_inner_child{
		width: 100%;
		overflow-wrap: normal;
		margin: 0 0 0.5rem;
	}
	.newpost_inner_img img{
		width: 100%;
		height: auto;
	}
	.category_list{
		margin: 7px 0.5rem 0;
	}
	.tag{
		margin: 7px 0.5rem 0 0;
	}
}

/* new */
.a_new{
	padding-top: 2rem;
	display: block;
	position: relative;
	font-size: 12px;
}
.a_new::after{
	position: absolute;
	content: "";
	background: url(../img/ew_arrow.png) no-repeat center/contain;
	width: 62%;
	height: 50%;
	inset: 0;
	margin: auto;
	margin-bottom: -1.2em;
	margin-right: 4.25em;
	z-index: 1;
}
@media only screen and (max-width: 768px) {
	.a_new::after{
		width: 195px;
	}
}
.p_new{
	padding-top: 2rem;
	font-size: 1rem;
}
