@charset "UTF-8";
/*
	Theme Name: ending.blog
	Theme URI: 
	Description: ending.blog
	Version: 1.1
	Author: Toshihiro Masaki
	Author URI: 
*/
*,
::before,
::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

* {
  font-size: inherit;
  line-height: inherit;
}

::before,
::after {
  text-decoration: inherit;
  vertical-align: inherit;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header, main, menu, nav, section,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

header, footer, article, section, aside, main, nav, menu, figure, figcaption {
  display: block;
}

span, small, strong, em, b, i {
  color: inherit;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

ul,
ol {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
  border: 0;
  vertical-align: top;
  margin: 15px 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th {
  text-align: left;
}

input, select {
  vertical-align: middle;
}

input, textarea {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

q::before,
q::after {
  display: none;
}

/*以上reset*/
html{
	font-size: 62.5%;
	width: 100%;
}
body{
	overflow-x: hidden;
	background-color: #EFECEC;
}
main{
	margin-bottom: 5px;
}
.container{
	max-width: 1440px;
	margin: 0 auto;
}
h1{
	font-size: 3.0rem;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 600;
}
h2{
	font-size: 2.3rem;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 400;
}
h3{
	font-size: 2.1rem;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 400;
	line-height: 1.8;
}
h4{
	font-size: 1.8rem;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 400;
}
p{
	font-size: 1.8rem;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 300;
}
li{
	list-style: none;
	font-size: 1.8rem;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 300;
}
a{
	text-decoration: none;
	font-size: 1.8rem;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 300;
	color: #000;
}

h1{
		text-align: center;
		margin: 3rem auto;
		display: inline-block;
		position: relative;
		top: 0;
		left: 50%;
		-webkit-transform: translateX(-50%);
       transform: translateX(-50%);
	}
    h1:before {
       content: '';
       position: absolute;
       bottom: -10px;
       display: inline-block;
       width: 3rem;
       height: 5px;
	   border-radius: 2px;
       left: 50%;
       -webkit-transform: translateX(-50%);
       transform: translateX(-50%);
       background-color: black;
       border-radius: 1px;
}
h2{
	margin: 1rem 2rem;
	padding-left: 2rem;
	position: relative;
	
}
h2::before{
	position:absolute;
	content: '';
	top: 0;
	left: 0;
	width: 5px;
	height: 3rem;
	border: 1px solid #000;
	border-radius: 2px;
	background-color: #000;
	display: block;
}
.container{
	min-height: 100vh;
    position: relative;/*←相対位置*/
    padding-bottom: 100px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}

/*スマホ用*/
@media screen and (max-width: 986px){
/*ここからメインコンテンツ*/
	.pc{
		display: none;
	}
	.top-content{
		display: block;
		width: 100%;
		margin-bottom: 5px;
		padding: 0;
		background-color: #fff;
	}
	.LeadText{
		padding:0 2rem;
	}
	.new-post-area{
		padding:0 2rem;
	}
	.archive-post-area{
		padding:0 2rem;
	}
	
	.new-post-normal{
		display: block;
		padding: 10px;
		margin: 0;
			border: 1px solid #888;
	border-radius: 5px;
	}
	
	.new-post .new-post-normal img.attachment-archive_thumbnail{
		margin-bottom: 1rem ;
		width: calc(100% - 2rem);
	}
	.cotegory-post .new-post-normal{
		display: grid;
		/*grid-template-rows:25px 75px;
		grid-template-columns:120px 1fr;*/
		width: 100%;
		/*height: 120px;*/
		margin: 5px auto;
		padding: 1rem;
		border: 1px solid #888;
		gap: 8px;
	}
	.cotegory-post .new-post-normal li{
		line-height: 1;
	}
	.cotegory-post .new-post-normal li a{
		line-height: 1;
		padding: 0;
	}
	h3{
		grid-row: 1 / 2;
        grid-column: 2 / 3;
		font-size: 1.8rem;
		margin: 0;
	  }
	.cotegory-post p{
		display: block;
		grid-row: 2/ 3;
        grid-column: 2 / 3;
		font-size: 1.4rem;
		line-height: 1.5;
	}

/*ここからシングルページ*/
section{
		display: block;
		margin-top: 2rem;
	}
.single-content{
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.single-content .main-content{
	display: block;
	witdh: 100%;
	background-color: #fff;
	margin-right: 0;
}
.single-content  aside{
	width: 100%;
	margin: auto;
	padding: 2rem 0;
	background-color: #fff;
}
h2.headline{
	margin: 5rem 2rem 3rem 2rem;	
	}
img.eyecatch-img{
	margin-bottom: 30px;	
	}
	p.blog-txt{
		display: block;
		padding: 0 2rem;
	}
	.content-Meta a{
		color:#0A069A;
		font-weight: 400;
	}
/*アーカイブページ*/
section.archive{
	width: 100%;
	padding: 0;	
	}
.archive-content{
	margin-top: 5px;
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background-color: #fff;
	}
.archive-content-list{
	display: block;
	witdh: 100%;
	margin: 15px auto;
	
	}
.ul_archive-list{
	width: 100%;
}
.ul_archive-list li .new-post-normal	{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	width: calc(100% - 20px);
	margin: 0 auto;
	padding: 1rem;
	border: 1px solid #888;
	border-radius: 5px;
	}
.ul_archive-list .new-post-normal img{
	width: 30%;	
	}
.archive-tex{
		display: block;
		width: calc(70% - 40px);
	}
.ul_archive-list .new-post-normal h2{
		font-size: 2.3rem;
		margin: 0;
	}
.ul_archive-list .new-post-normal p{
		font-size: 1.8rem;
		line-height: 1.5;
	}
}

/*ここから先はPC用*/
@media screen and (min-width: 987px){
/*ここからメインコンテンツ*/
	.sp{
		display: none;
	}
.top-content{
	display: block;
	width: 100%;
	margin: 0 auto 5px auto;
	padding: 0;
	background-color: #fff;
	}
.home-Hero_Inner img{
	width: 100%;
	margin: 0;
	}
p.home-Hero_Inner_txt{
	padding: 2rem;
	font-size: 3.0rem;
	text-align: center; 
	}
section{
	display: block;
	padding: 2rem;
	}
.grid-area{
	display: grid;
	}
.new-post{
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	}
.new-post .new-post-normal{
		padding: 10px;
			border: 1px solid #888;
	border-radius: 5px;
	margin: 1rem;
	}
.cotegory-post{
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 50%;
	gap: 30px;
	border: 1px solid #888;
	border-radius: 5px;
	padding: 10px;
	}

/*シングルページ*/
section{
		display: block;
		margin-top: 2rem;
	}
.single-content{
	/*margin-top: 8rem;*/
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	background-color: #EFECEC;
}
.single-content .main-content{
	display: block;
	witdh: 60%;
	max-width: 1100px;
	margin-right: 5px;
	background-color: #fff;
		background-image: url("images/wave_down.svg");
	background-repeat: no-repeat;
	background-position: top;
}

h2.headline{
	margin: 5rem 2rem 3rem 2rem;	
	}
img.eyecatch-img{
	margin-bottom: 30px;	
	}
p.blog-txt{
		display: block;
		padding: 0 2rem;
	}
	.content-Meta a{
		color:#0A069A;
		font-weight: 400;
	}
/*アーカイブページ*/
.archive-content{
	padding: 0;
	width: 100%;
	min-height: calc(100vh - 150px);
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	background-color: #EFECEC;
	}
.archive-content-list{
	/*display: block;*/
	witdh: 60%;
	max-width: 1100px;
	margin-right: 5px;
	background-color: #fff;
	background-image: url("images/wave_archive_down.svg");
	background-position: top;
	background-repeat: no-repeat;
}	
	
.ul_archive-list{
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3,1fr);
	
}
.ul_archive-list li	{
	margin: 15px auto;
	padding: 1rem;
	border: 1px solid #888;
	border-radius: 5px;
	}
.ul_archive-list li h2{
	margin: 1rem 0;
	padding: 0 0 0 1rem;
	position: relative;
	color: #000;
	}
.ul_archive-list li h2::before{
	content: '';
	position:absolute;
	content: '';
	top: 0;
	left: -2px;
	width: 5px;
	height: 3rem;
	border: 1px solid #000;
	border-radius: 2px;
	background-color: #000;
	display: block;
}
	.ul_archive-list li p{
		color: #000;
	}
	

/*page > profile*/
/*スマホ用*/
@media screen and (max-width: 986px){
.page-content{
		width: 100%;
	    padding: 20px;
		background-color: #fff;
	}
.page-content img.portrait{
	width: 15%;
	margin: 20px;
	}
.page-content p.name{
	font-size: 3rem;
	font-weight: 600;
	display: block;
	margin: 0 0 2rem 2rem;
	border-bottom: solid 2px #000;
	}
.page-content .profile{
	display: block;
	width: 80%;
	margin: 10%;
	}
p.profile-txt{
	padding: 1rem;
	}
.flex{
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
	background-color: #fff;
	}
}

.archive-post-area{
	margin-top: 8rem;
}
	}

/*pc用*/
@media screen and (min-width: 987px){
.page-content{
		width: 100%;
	    padding: 2rem;
	    display: block;
	    background-color: #fff;
	}
.page-content img.portrait{
	width: 30%;
	margin: 20px;
	}
.page-content p.name{
	font-size: 3rem;
	font-weight: 600;
	display: block;
	margin: 0 0 2rem 2rem;
	border-bottom: solid 2px #000;
	}
.page-content .profile{
	display: block;
	width: calc(70% - 40px);
	padding: 2rem;
	}
p.profile-txt{
	padding: 1rem;
	}
.flex{
	display: flex;
	flex-direction: row-reverse;
	gap: 2rem;
	align-items: center;
	}
}

.archive-post-area{
	margin-top: 8rem;
}
.has-accent-color{
	color: #FA2626;
}
.has-x-small-font-size{
	font-size: 0.875rem;
}
.has-small-font-size{
	font-size: 1rem;
}
.has-normal-font-size{
	font-size: 1.125rem;
}
.has-large-font-size{
	font-size: 1.5rem;
}
.has-x-large-font-size{
	font-size: 2rem;
}

img.wave-img{
	margin: 15px 0 0 0;
}

/*404ページ・検索結果ページ*/
/*スマホページ*/
@media screen and (max-width: 986px){
	.notfoundcontent{
		display: flex;
		flex-direction: column;
	}
	.main-notfoundcontent{
		width: 100%;
		padding: 10px;
	}
	.content-notf{
		display: block;
	}
	.content-notf p.font-size36{
		font-size: 36px;
		font-weight: bold;
	}
}
/*pc用*/
@media screen and (min-width: 987px){
	.notfoundcontent{
		display: flex;
		flex-direction: row;
	}
	.main-notfoundcontent{
		width: 100%;
		padding: 10px;
	}
	.content-notf{
		witdh: 60%;
	    max-width: 1100px;
	    margin-right: 5px;
		background-color: #fff;
	}
	.content-notf p.font-size36{
		font-size: 36px;
		font-weight: bold;
	}
	.search-content{
	min-height: calc(100vh - 150px);
	margin-top: 5px;
	padding: 0;
	width: 100%;
	display: flex;
	}
.archive-content-list{
	display: block;
	witdh: 60%;
	max-width: 1100px;
	background-color: #fff;
	}
.ul_search-list{
	width: 100%;
}
.ul_search-list li .new-post-normal	{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	width: 100%;
	margin: 15px auto;
	padding: 1rem;
	border: 1px solid #888;
	border-radius: 5px;
	}
.ul_search-list .new-post-normal img{
	width: 30%;	
	}
.ul_search-list .new-post-normal h2{
		font-size: 2.3rem;
		margin: 0;
	}
.ul_search-list .new-post-normal p{
		font-size: 1.8rem;
		line-height: 1.5;
	}
p.search-massage{
		padding: 50px;
	}
}
