/*
Theme Name:NikotamaCorsage
Template:sela
Version:1.00
*/

/* 見出し */
h2{
	margin: 1em 0 1em 0;
	position: relative;
	padding: 0.25em 0;
	font-size: 2.2rem;
	text-align: center;
}
h2:after {
	content: "";
	display: block;
	height: 4px;
    margin-top: 0.2em;
    /* 20170824 saito */
	background: -moz-linear-gradient(to right, rgba(240,160,0,1), transparent);
	background: -webkit-linear-gradient(to right, rgba(240,160,0,1), transparent);
	background: linear-gradient(to right, rgba(240,160,0,1), transparent);
}
h3, h4, h5, h6 {
	margin: 2em 0 2em 0;
}

/* ヘッダーロゴの余白調整 */
.site-branding {
	min-height: 24px;
}

/* グローバルナビの調整 */
.main-navigation {
    background-color: #c0c0c0;
}

button, input[type="button"], input[type="reset"], input[type="submit"], #infinite-handle span {
    background-color: #c0c0c0;
}

/* グローバルナビのドット色調整 */
@media screen and (min-width: 768px) {
	.main-navigation .nav-menu > li > a:after,
	.main-navigation .menu > li > a:after {
		color: #fff;
	}
}

/* フロントページのテキストエリアの余白調整 */
.front-page-content-area .with-featured-image .entry-header {
	margin-top: 0.5em;
	padding: 0;
}
.front-page-content-area .with-featured-image .entry-content {
	margin-bottom: 0.5em;
	padding: 0;
}
@media screen and (min-width: 768px) {
	.front-page-content-area .with-featured-image {
		padding: 0.5em;
	}
}

/* フロントページのテキストエリアの透過度調整 */
@media screen and (min-width: 768px) {
	.front-page-content-area .with-featured-image {
		opacity: 0.88;
	}
}

/* フロントページのトップ画像の上のテキストエリア調整 */
footer.entry-meta {
    padding: 0;
}
.entry-content p{
    margin-bottom: 0.8em;
}


/***** コンタクトフォーム *****/
.table-contactform7{
  overflow: hidden;
  table-layout: fixed;
}

.required-contactform7{
  padding: 5px;
	/* 20170824 saito */
  background: #FFD700;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}

.unrequired-contactform7{
  padding: 5px;
  background: #BDBDBD;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}

.table-contactform7 th{

}

.table-contactform7 td{
  border-top:none;
  padding: 0.3em;
}

.table-contactform7 input,
.table-contactform7 textarea{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}

.address-100 input{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}
 
.message-100 textarea{
  width: 100%;
  margin: 5px 10px 10px 5px;
}
 
@media screen and (min-width: 900px){
  .table-contactform7 th{
/*    width:28%; */
  }
}

@media screen and (max-width: 900px){
  .table-contactform7{
    display:block;
  }

  .table-contactform7 tbody,
  .table-contactform7 tr{
    display: block;
    width: 100%;
  }
  .table-contactform7 th{
    width:100%;
    display:block;
    margin: 0 auto;
    border:none;
  }
  .table-contactform7 td{
    display: list-item;
    list-style-type:none;
    margin:0;
    padding:0;
    width: 100%;
    border-top: none !important;
  }
}

