/**
 * Theme Name:     Yamashige
 * Author:         ensemble
 * Template:       responsive
 * Text Domain:	   yamashige
 * Description:    Yamashige Theme
 */

a:hover img{
opacity:0.6;
}
.copyright {display: none!important;}
.cp {text-align:center;
padding-bottom:30px;}

h1.t01{
  padding: 1em 1em;
  border: double 5px black;

	/*font-size: 22px;*/
	text-align: center;
	font-family: serif;
}

/*h1 {font-size:22px;}*/
h2 {font-size:18px;}
.box3{
margin: 2em auto;
padding:2em;
background:linear-gradient(-45deg,transparent 25%,#eee 25%,#eee 50%,transparent 50%,transparent 75%,#eee 75%,#eee);
background-size: 4px 4px;
border-bottom: 4px double #ddd;
border-top: 4px double #ddd;
background-clip: padding-box;
}

h2.t02 {
  position: relative;
  padding: 1.2rem .5rem  1rem .5rem;
	text-align:center;
	font-family: serif;
	font-size: 22px
}

h2.t02:before,
h2.t02:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  content: '';
  background-image: -webkit-gradient(linear, right top, left top, from(#30cfd0), to(#330867));
  background-image: -webkit-linear-gradient(right, #30cfd0 0%, #330867 100%);
  background-image: linear-gradient(to left, #30cfd0 0%, #330867 100%);
}

h2.t02:before {
  top: 0;
}

h2.t02:after {
  bottom: 0;
}

.wp-show-posts-single {margin:0!important;
}

a.wp-show-posts-read-more:hover,
a.wp-show-posts-read-more:focus {
	border: 1px solid #ccc!important;
	color: #fff!important;
	background: #B77C59;
	text-decoration: none;
}

.wp-show-posts-read-more {border:1px solid #c0c0c0!important;}
/*.wp-show-posts-entry-title a{color: #8b4513!important;}*/

/*.wp-show-posts-entry-title a:hover {color:#B77C59!important;}*/

.wp-show-posts-inner {
	background-color: #FFF;
	border: 1px solid #ccc;
padding:5px}

@media screen and (max-width: 480px) {
   .wp-show-posts-inner {
	background-color: #FFF;
	border: 1px solid #ccc;
padding:5px;
	margin-left: -20px!important;
	margin-right: -20px!important;}

}

.tb01 th,
.tb01 td{
  padding: 10px;
  border: solid 1px #c0c0c0;
  text-align:center;
  box-sizing:border-box;
 color: #000;
background-color: rgba(256,256,256,1);
}
.tb01 th {
 background-color: rgba(198,129,67,0.3);
  color: #000;
	width:25%;
	vertical-align:middle;
  
}
@media screen and (max-width: 640px) {
  .tb01 {
    width: 100%;
  }
  table.tb01 th,
  table.tb01 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  .tb01 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}


input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
  display: block;
  width: 100%;
  height: 45px;
  margin-bottom: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background-color: #eff1f5;
  box-shadow: none;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
  transition: background-color 0.24s ease-in-out;
}
textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5em;
  padding: 0.5em;
  overflow: auto;
}
@media(max-width:700px) {
    .inquiry td,
    .inquiry th {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important
    }
    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important
    }
    .inquiry .any,
    .inquiry .haveto {
        font-size: 10px
    }
}
.inquiry th {
    text-align: left;
    font-size: 14px;
    color: #444;
    padding-right: 5px;
    width: 30%;
    background: #f7f7f7;
    border: solid 1px #d7d7d7
}
.inquiry td {
    font-size: 13px;
    border: solid 1px #d7d7d7
}
.entry-content .inquiry tr,
.entry-content table {
    border: solid 1px #d7d7d7
}
.haveto {
    font-size: 7px;
    padding: 5px;
    background: #ff9393;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.any {
    font-size: 7px;
    padding: 5px;
    background: #93c9ff;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.verticallist .wpcf7-list-item {
    display: block
}
#formbtn {
    display: block;
    padding: 15px;
    width: 350px;
    background: #ffaa56;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 25px auto 0
}
#formbtn:hover {
    background: #ffe58f;
    color: #fff;
   /* border: 2px solid #ffaa56;*/
}
th {
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px
}
td {
    border-top: 1px solid #ededed;
    padding: 12px
}
input,
select,
textarea {
    border: 1px solid #dfdfdf;
    letter-spacing: 1px;
    margin: 0;
    max-width: 100%;
    resize: none
}

.cl {clear: both;}

h1.page-title{font-size:18px!important;}

.s_box3_1 {
    position: relative;
    padding: 1em 1.5em;
    margin: 2em 0;
    border: solid 2px #CC3300;
    border-radius: 8px;
    color: #000000;
}
.s_box3_1 .s_box_title{
    position: absolute;
    display: inline-block;
    top: -10px;
    left: 10px;
    padding: 0 10px;
    line-height: 1;
    font-size: 1.3em;
    background: #ffffff;
    color: #CC3300;
    font-weight: bold;
}
.s_box3_1 p {
    margin: 0; 
    padding: 0;
	text-align:center;
}
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}