@charset "UTF-8";
/*****************
    common
 *****************/
main {
  width: 50%;
  margin: 150px auto 80px;
}

#post .post__title {
  margin-bottom: 30px;
}

#post .post__title p {
  margin-bottom: 15px;
}

#post .post__title p a {
  color: #3498db;
}

#post .post__title h1 {
  margin-bottom: 15px;
  font-size: 2em;
}

#post .post__content  {
  border-bottom: 1px solid #646464;
  padding-bottom: 30px;
}


/* Contact Form7 */

.contact7 {
	max-width: 100%;
	box-sizing: border-box;
}
.contact7 dd {
  margin: 15px 0 30px 0;
  text-align: right;
}
.contact7 dt {
	font-weight: normal;
}

.contact7 dd span input,
.contact7 dd span textarea {
  width: 100%
}

/* 必須マーク */
.contact7 .must {
	background: #FF1A00;
}

/* 任意マーク */
.contact7 .optional {
	background: #999;
}

.contact7 .must,
.contact7 .optional {
	color: #FFF;
	border-radius: 3px;
	font-size: 10px;
	margin-left: 10px;
	padding: 5px 10px;
	letter-spacing: 2px;
}
.btn_contact7 {
	text-align: center;
}
.btn_contact7 input {
  width: 70%;
  display: block;
  margin:15px auto 0;
  padding: 8px 0;
  border-radius: 30px;
  border: none;
  background-color: #3498db;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
  transition: 0.3s;
  -webkit-appearance: none;
}
.btn_contact7 input:hover {
	background-color: #FFF;
	color: #3498db;
}
@media screen and (min-width: 768px) {
.contact7 dt {
	float: left;
	clear: left;
	width: 35%;
	padding: 5px 10px 5px 0;
	}
.contact7 dd {
	margin-left: 35%;
  }

  .contact7 dd span input,
  .contact7 dd span textarea {
    width: 80%;
  }

.btn_contact7 input {
  width: 70%;
  margin: 30px auto;
  padding: 15px 0;
  background-color: #3498db;
  border-radius: 45px;
  border: none;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}
.btn_contact7 input:hover {
	background-color: #FFF;
  color: #3498db;
  border: 2px solid #3498db;
}
}



@media screen and (max-width:390px) {
  main {
    flex-direction: column;
    width: 90%;
    margin-top: 0;
    padding-top: 80px;
    margin-bottom: 0px;
  }

  main #post {
    width: 100%;
    margin-bottom: 50px;
  }

  #post .page-nav a {
    max-width: 150px;
  }
}