/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */
 @charset "utf-8";



/************************************
** お問い合わせフォームの入力
************************************/

#cf-tbl{
width:100%;
}

#cf-tbl table{
width: 100%;
border-collapse: collapse;
border: solid #CCC;
border-width: 1px;
color: #444;
}
#cf-tbl table tr th,
#cf-tbl table tr td{
padding: 0.5em;
text-align: left;
vertical-align: top;
border: solid #CCC;
border-width: 1px;
vertical-align: middle;
}
#cf-tbl table tr th{
width: 35%;
background: #eee;
}
@media screen and (max-width:768px){
#cf-tbl{
width: 100%;
}

#cf-tbl table,
#cf-tbl table tbody,
#cf-tbl table tr,
#cf-tbl table tr th,
#cf-tbl table tr td{
display: block;
}

#cf-tbl table{
width: 100%;
border-width: 0 0 1px 0;
}

#cf-tbl table tr th,
#cf-tbl table tr td{
width: 100%;
padding: 3% 5%;
}

#cf-tbl table tr td{
border-width: 0px 1px 0px 1px;
}
}
/*「必須」文字デザイン*/
.haveto{
font-size:.8em;
padding: 5px;
background: #F57500;
color: #fff;
border-radius: 3px;
margin-right: 5px;
}

/*「任意」文字デザイン*/
.any{
font-size:.8em;
padding: 5px;
background: #000080;
color: #fff;
border-radius: 3px;
margin-right: 5px;
}

/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	padding: 8px 15px;
	margin-right: 10px;
	margin-top: 10px;
	border: 1px solid #d0d5d8;
	border-radius: 3px;
	background-color: #eff1f5;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}

/* 「送信する」ボタン */
#cf7-btn {
    display: block;
    padding: 15px;
    width: 400px;
    background: #ffaa56;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 15px auto 0
}
@media screen and (max-width:768px){
}#cf7-btn {
width: 250px;
}
}

#cf7-btn:hover {
    background: #fff280;
    color: #ffaa56;
    border: 2px solid #ffaa56
}
/* エラーメッセージを見やすく */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: red;
	font-weight: 600;
}/* 追従CTA：右下固定・邪魔になりにくい形にする */
.cta-float{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  max-width: 320px;
  width: auto;

  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* ボタン中身の見た目 */
.cta-float a{
  display: inline-block;
  padding: 14px 18px;
  line-height: 1.2;
  white-space: nowrap;
}

/* 画面が狭い時は少し小さく */
@media (max-width: 1100px){
  .cta-float{
    right: 14px;
    bottom: 14px;
    max-width: 260px;
  }
}

/* スマホは邪魔なので非表示 */
@media (max-width: 768px){
  .cta-float{ display:none; }
}
/* 追従CTA：全ページでは出さない */
.cta-float{ display:none !important; }

/* 料金表ページ（ID=1234）だけ表示：1234を置換 */
body.page-id-4302
 .cta-float{
  display:inline-block !important;
  position:fixed !important;
  right:24px !important;
  bottom:24px !important;
  z-index:9999 !important;

  padding:14px 18px !important;
  border-radius:12px !important;
  background:#1f6f62 !important;
  color:#fff !important;
  font-weight:800 !important;
  text-decoration:none !important;

  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}

/* スマホは非表示（必要なら） */
@media (max-width: 767px){
  body.page-id-1234 .cta-float{ display:none !important; }
}
