/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20210719
*/

/* reCAPTCHA 非表示 */
.grecaptcha-badge { visibility: hidden; }

.wp-block-table figcaption {
	color:#000;
}

#form_widget-2 {
	background:#f15062;
	border-radius: 50vh;
	font-size:16px;
}

#footer a{
	color:#ffffff;
}

/* トップページ下部ウィジェット「追従ボタン」fixed_btn */
/* 今すぐ電話するのボタン */
.fixed_btn { 
position: fixed;
cursor: pointer;
z-index: 100;
right: 1.5rem;
bottom: 3rem;
border: none;
outline: none;
background: transparent;
}

.fixed_btn a {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 100%;
    background-color: #fc357e;
    position: relative;
    display: table;
    border: 4px solid #fff;
    font-size: 1rem;
    -webkit-box-shadow: 0 2px 5px 1px rgba(0, 0, 0, .16);
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, .16);
	line-height: 2rem;
	text-decoration: none;
	color: inherit;
}

.fixed_btn a span {
    display: table-cell;
    vertical-align: top;
    padding-top: .875rem;
    text-align: center;
    color: #fff;
    line-height: 1.375rem;
	font-size: 1rem;
}


.fixed_btn a::before {
    position: absolute;
    top: 5.2rem;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	font-family:"Font Awesome 6 Free";
	content:"\f095";
	font-weight: 900;
	font-size: 1.8rem;
	color: white;
}


/* Contact Form7スマホ・タブレット用カスタマイズ */
@media(max-width:850px){
	
/* 営業時間の文字 */
.entry-content .contact-range-b{
	font-size: 15px;
	margin-top: -15px;
	}
	
/* テーブルの見出しとフォーム */
table.inquiry th,table.inquiry td {
   display:block;
   padding:1em 0;
   width:100%;
   border:0;
}

/* 送信ボタン */
input.wpcf7-submit{
   margin-bottom:30px;
   width:100%;
}
}


/* 日付タグ上のテキストをPCとスマホで変更 */
@media(max-width:900px){
.pcdate{
   display: none;
}
}
@media(min-width:1000px){

/* Contact文字サイズ変更 */
.entry-content .contact-range{
	font-size: 18px;
	margin-top: 30px;
	margin-bottom: 0px;
	}
	
.wp-block-contact-form-7-contact-form-selector{
	margin-top: 15px;
	}
	
.spdate{
   display: none;
}
	
/* 日付タグの幅を調整 */
.wpcf7-date.dateform{
   width: 25%;
}
}

/* Contact Form7全体カスタマイズ */

/* 自動入力されるPタグを無効にする */
.inquiry p {
   display: inline;
}

/*テーブル下に余白.枠線・テキストの行間 */
table.inquiry {
   margin-bottom: 30px;
   border:solid 1px #d7d7d7;
   line-height:1.2;
   vertical-align:middle;
}

/* テーブルの行 */
.inquiry tr {
   border:0!important;
	background-color:#ffffff !important;
}

.inquiry td {
	background-color:#ffffff !important;
	}
	


/* テーブルの見出し側 */
.inquiry th{
   text-align:left;
   font-size:14px;
   color:#444 !important;
   padding:1em 0.5em!important;
   width:0;
   background:#ebedf5 !important;/*ブルーグレー*/
   border:solid 1px #d7d7d7;
   white-space: nowrap;
}

/* 必須と任意タグ */
.haveto,.any{
   font-size:13px;
   padding:5px;
   background:#f79034;/*オレンジ*/
   color:#fff;
   border-radius:2px;
   margin-right:5px;
   font-weight:normal;
}

/* 任意タグの背景カラー */
.any{
   background:#bdbdbd;/*グレー*/
}

/* テーブルフォーム側 */
.inquiry td{
   font-size:13px;
   border:solid 1px #d7d7d7;	
}

/* 入力エリア幅最大 */
.wpcf7-form-control {
   width: 100%;
}

/* フォーム入力欄の余白・背景カラー・枠線消す指定 */
.inquiry input,.inquiry select,.inquiry textarea {
   margin: 5px 0;
   background:#fafafa;
	/*グレー#eff1f5*/
   border: none;
   padding:0.7em;
}
.inquiry textarea {
   padding-bottom:10em;
}

/* チェックボックスとラジオボタンの位置調整 */
.wpcf7-list-item-label,.wpcf7-checkbox,input[type=checkbox],input[type=radio]{
   vertical-align:middle;
}
.wpcf7-list-item-label{
   padding:0 5px 0 2px;
}
/*ラジオボタンを縦並び指定*/
.verticallist{
   display:inline-grid;
}

/* 送信ボタンのデザイン */
.wpcf7-submit{
   display: block;
   margin:10px auto !important;
   padding:1em 0 !important;
   width:80%;
   background:#f79034;/*オレンジ*/
   color:#fff;
   font-size:18px;
   font-weight:bold;	 
   border-radius:4px !important;
   border: none !important;
}

/* 送信ボタンマウスホバー時 */
.wpcf7-submit:hover{
   opacity: 0.9;
   transition: 0.3s;
}

/* フォーム上部に表示されるエラーメッセージを非表示 */
.screen-reader-response {
    display: none;
}

/* フォーム内エラーメッセージを赤色に指定 */
.wpcf7-not-valid-tip {
    color: #e92323;
}

/*-----サンクスページ　送信後にフォームを非表示　ここから-----*/
form.sent p{
display:none;
}

form.sent table.inquiry{
	display:none;
}

/*送信前はメッセージを非表示*/
form .form-message {
	display:none;
}

/*送信後にメッセージを表示*/
form.sent .form-message {
	display:block;
}
/*-----サンクスページ　送信後にフォームを非表示 ここまで-----*/






/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
	
/* 今すぐ電話するのボタン */
	
.fixed_btn { 
position: fixed;
cursor: pointer;
z-index: 100;
right: 1.5rem;
bottom: 5.5rem;
border: none;
outline: none;
background: transparent;
}
	
.fixed_btn a {
    width: 6rem;
    height: 6rem;
    border-radius: 100%;
    background-color: #fc357e;
    position: relative;
    display: table;
    border: 4px solid #fff;
    font-size: 1.4rem;
    -webkit-box-shadow: 0 2px 5px 1px rgba(0, 0, 0, .16);
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, .16);
	line-height: 2rem;
	text-decoration: none;
	color: inherit;
}
	
.fixed_btn a span {
    display: table-cell;
    vertical-align: top;
    padding-top: .6rem;
    text-align: center;
    color: #fff;
    line-height: 1.2rem;
	font-size: 1rem;
}

.fixed_btn a::before {
    position: absolute;
    top: 4.2rem;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	font-family:"Font Awesome 6 Free";
	content:"\f095";
	font-weight: 900;
	font-size: 1.65rem;
	color: white;
}
	

/* スマホフッターメニュー設置 */
#st-footermenubox{
	padding: 10px 14px 25px 14px;		
}
	
#st-footermenubox ul.menu li{
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    font-size: 15px !important;
	font-weight:bold;
	padding:0.5em 0 !important;
	background:#f79034;/*オレンジ*/
	border-radius:4px;
	border:solid 1.5px #fff;
}
	
#st-footermenubox a{
	color:white !important;
}
	

	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}
