/*
Theme Name:yStandard
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ
Version: 4.25.0
Requires at least: 5.4
Requires PHP: 7.3.0
Text Domain: ystandard
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/**
 * yStandardではテーマ本体のstyle.css編集は推奨していません。外観→カスタマイズの追加CSSをご利用ください。
 * 子テーマを使っている場合は子テーマのstyle.cssが読み込まれ、このファイルは無視されます。
 */

/* googleマップレスポンシブ対応 */
.ggmap {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
}
.ggmap iframe {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

/* googleマップ 横幅表示対応 */
body {
	overflow-x: hidden;
}

.orver-width {
	margin:0 -222%;
	padding:0 200%;
	text-align: center;
	margin-bottom: -300px;
}

@media(max-width:500px) {
	.orver-width {
		margin:0 -207%;
		padding:0 200%;
		text-align: center;
		margin-bottom: 0px;
	}
}

/* メールフォーム装飾 */

@media(max-width:500px){
.inquiry th,.inquiry td {
 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 .haveto,.inquiry .any {	
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:10px;
 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:1em 0;
 margin-top:30px;
 width:100%;
 background:#ffaa56;
 color:#fff;
 font-size:18px;
 font-weight:bold;	 
 border-radius:2px;
 border: none;
}

#formbtn:hover{
 background:#fff;
 color:#ffaa56;
}


/* 見出しデザイン変更（下線）*/
.entry-content h2 {
  position:relative;
  padding-bottom: .25em;
}
.entry-content h2::after {
  content: "";
  width: 50px;
  height: 1px;
  position:absolute;
  left: 0;
  bottom: -1px;
  background-color: #222222;
}
.entry-content h2.has-text-align-center::after {
  right: 0;
  margin-right: auto;
  margin-left: auto;
}
.entry-content h2.has-text-align-right::after {
  left: auto;
  right: 0;
}