h1{
	margin: 10px 0 10px 0;
	border-bottom: 2px ridge;
}
h2{
	margin: 10px 0px;
	padding: 0.4em 0.5em;
	color: #494949;
	background: #fffaf4;
	border-left: solid 5px #ffaf58;
	border-bottom: solid 3px #d7d7d7;
}
textarea{
	font-size: 1rem;
}
#main{
	display: block;
	width: 960px;
}
.Hikaku{
	display:flex;
}
.m_go{
	margin: 0 5px;
}
.Hikaku img{
	width: 100%;
	height: auto;
}
.Hikaku p{
	font-size: 15px;
	text-align: center;
}
a{
	color: black;
}
p{
margin: 10px 0;
	font-size: 18px;
letter-spacing: 0.025em;
}
.blog_ol{
margin: 0 0 0 40px;
font-size: 18px;
letter-spacing: 0.025em;
}
.blog_li{
margin: 0 0 0 40px;
font-size: 18px;
letter-spacing: 0.025em;
}
.pf{
	font-weight: bold;
}
.ore{
	background-color: rgba(255,166,2,0.4);
}
.gre{
	background-color: rgba(88,173,91,0.4);
}
.red{
	background-color: rgba(255,117,117,0.4);
}
.DF{
	display: flex;
}

.Date{
	font-size: 14px;
}
.Folder {
	margin: 0 5px 0 5px;
	font-size: 11px;
	position: relative;
	width: 0.8em;
	height: 0.3em;
	background-color: #39a9d6;
	border-radius: 0.1em 0.1em 0 0;
}
#content ul, #content ol{
	margin-left: 20px;
}

/* ブログ画像 */
img {
	max-width: none;
}

.img {  /* 一番外の枠 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 20px;  /* 角の丸み */
    overflow: hidden;   /* はみ出した部分を見えなく */
    gap: 2px;   /* 画像と画像の隙間 */
  }
  .img img {
    margin: 0;
    width: 100%;
  }
  .img .wrapper {   /* 画像を包む要素 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;   /* はみ出した部分を見えなく */
  }

  .two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .two img {
    width: 200%;   /* ここがポイント */
  }

  .three {
    display: grid;
    grid-template:
      "wrapper1 wrapper3"
      "wrapper2 wrapper3";
  }
  .third {  /* 三枚目の画像を包む要素 */  
    grid-area: wrapper3;
  }
  .third img {  /* 三枚目だけ縦長に */
    width: 200%;    /* 2枚の画像の時と同じで高さを2倍に */
  }

  .four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

/* ここまでブログ画像 */
/* 本体 */
.Folder::before {
	content: "";
	position: absolute;
	top: 0.3em;
	left: 0;
	width: 1.6em;
	height: 1.0em;
	background-color: #39a9d6;
	border-radius: 0 0.1em 0.1em 0.1em;
}
#comment{
	border-top: solid 3px #d7d7d7;
	margin: 0 10px;
    padding: 5px;
}

.weight{
	font-weight: 700;
}
.bred{
	color: #db1f1f;
}
#come{
	width: 100%;
	max-width: calc( 1.3em * 30 );
	height: calc( 1.3em * 5 );
	line-height: 1.3;
	padding: 0 0.2em;
	display: block;
	box-sizing: border-box;
}
.virusformdiv{
	margin: 5px auto;
	width: 100%;
}
#check{
	display: none;
}

#alertBox {
	z-index: 1;
	width: fit-content;
	height: fit-content;
	border-radius: 15px;
	background-color: #f5f5f5;
	box-shadow: 0 0 5px rgb(0 0 0 / 50%), 0 -1px 0 rgb(0 0 0 / 2%);
	opacity: 0;
	display: none;
	position: fixed;
	top: 120px;
    left: 0;
    right: 0;
    margin: auto;

}
#alert div{
	position: relative;
    margin: 10px 20px;
}
#alert p{
	margin: auto;
	width: max-content;
}
#loading {
	background-color: #101010CC;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	bottom: 0px;
	z-index: 200;
}

#circle{
	width:100px;
	height:100px;
	border-radius:150px;
	border:15px solid #fff;
	border-top-color:#10101000;
	box-sizing:border-box;
	position:absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	animation:circle 1s linear infinite;
	-webkit-animation:circle 1s linear infinite;
}
@keyframes circle{
	0%{transform:rotate(0deg)}
	100%{transform:rotate(360deg)}
}
@-webkit-keyframes circle{
	0%{-webkit-transform:rotate(0deg)}
	100%{-webkit-transform:rotate(360deg)}
}
#send_p{
	color: #fff;
	font-size: 2em;
	position:absolute;
	top: 50%;
	transform: translate(-50%, -250%);
	-webkit-transform: translate(-50%, -250%);
    -ms-transform: translate(-50%, -250%);
	left: 50%;
	width: fit-content;
	opacity: 0.9;
}
#caution{
	color: #fff;
	font-size: 1.5em;
	position:absolute;
	top: 50%;
	transform: translate(-50%, 150%);
	-webkit-transform: translate(-50%, 150%);
    -ms-transform: translate(-50%, 150%);
	left: 50%;
	width: fit-content;
	opacity: 0.9;
}
#comeform{
	margin: auto;
    width: 90%;
}

#post{

	min-width: 250px;
}
#name, #name:focus, #comearea, #comearea:focus,.replyname, .replyname:focus, .replyarea, .replyarea:focus{
	width: 100%;
	resize: none;
	border: #8a8a8a 1px solid;
	border-radius: 1em;
	outline: none;
	line-height: 1.5rem;
	padding: 5px 10px;
	font-size: 16px;
	box-sizing:border-box;
}
#name ,#name:focus, .replyname, .replyname:focus{
	width: 40%;
	margin-bottom: 5px;
}
#postsend, .replysend{
	width: 100%;
	height: 2rem;
	border: none;
	border-radius: 1rem;
	cursor: pointer;
}
.comebox{
	margin: 10px auto;
	background: #fefefe;
	border: #f1f1f1 solid 2px;
	max-width: 90%;
	min-width: 250px;
	box-sizing: border-box;
	border-radius: 10px;
	overflow: hidden;
}
.postdata{
	display: grid;
	/*Gridの列個数と列幅割合*/
	grid-template-columns: 1fr 0.1fr;
	/*Gridの行個数と行間隔割合*/
	grid-template-rows: auto auto 10px auto auto;
	grid-auto-flow: row;
	padding: 5px 10px;
}

.postdata.replys{
	grid-template-columns: 1fr auto auto;
	grid-template-rows: auto 5px auto auto auto auto;
	width: 90%;
	margin: auto;
	margin-bottom: 5px;
	border-bottom: #494949 2px solid;
}
.postdata p{
	margin: 0;
}
.name{
	font-weight: 700;
}
.post_id{
	font-size: 16px;
}
.post_id.replys{
	grid-column: 3;
}
.date{
	grid-column: 1/3;
}
.date.replys{
	grid-row: 5;
	grid-column: 1;
}
.come{
	grid-row: 4;
	grid-column: 1/3;
	line-height: 25.5px;
}
.come.replys{
	grid-row: 3;
	grid-column: 1/4;
}
.close{
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden; 
}
.open{
	grid-row: 5;
	grid-column: 1/3;
	width: 100%;
	height: 2rem;
	border: none;
	border-radius: 1rem;
	cursor: pointer;
}
.open.reply{
	grid-row: 4;
	grid-column: 1/4;
}
.action{
	height: fit-content;
	display: flex;
	justify-content: flex-end;
	background: #f5f5f5;
	/* border-top: #cfcfcf solid 1px; */
}
.action.replys{
	grid-row: 5;
	grid-column: 2/4;
	background: none;
	border-top: none;
}
.favo, .reply{
	padding: 5px 10px;
	cursor: pointer;
}
.favo.replys, .reply.replys{
	padding: 0 5px;
	font-size: 13px;
	position: relative;
}
.favo.replys:after {
	margin: 0;
	content: "";
	width: 1px;
	height: 50%;
	top: 25%;
	background-color: #a2a2a2;
	position: absolute;
	left: 100%;
  }
.favo:hover, .reply:hover, .open:hover, .replysend:hover, #postsend:hover{
	background: #cfcfcf;
}
.favo label, .reply label{
	cursor: pointer;
}
.replypost{
	width: 90%;
	margin: 5px auto;
}
.replyform{
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto auto;
}
.replyarea, .replyarea:focus{
	width: 97.5%;
	grid-column: 1;
	grid-row:2/4;
}
.replysend{

	grid-column: 2;
	grid-row: 3;
	padding: 0 20px;
	cursor: pointer;
	background: #f5f5f5;
	border: none;
	border-radius: 1rem;
	width: fit-content;
	height: 36px;
}
@media (max-width: 767px){
	#main {
		width: 100%
	};
}