/*
Theme Name: SPEEDS
Version: 1.0.0
Author: CBL
Template: businesspress
*/
body.page-id-19 .footer-widget-1,
body.page-id-25 .footer-widget-2,
body.blog .footer-widget-3 {
    display: none;
}
.entry-content h2 {
    padding: 1rem 2rem;
    border-left: 4px solid #2d3f54;
}
.wp-block-button a {
    min-width: 16rem;
    font-size: 1.35rem;
	text-decoration: none;
}
.wp-block-button a:hover {
    color: #fff;
}
.wp-block-button__link {
    background-color: #2d3f54;
}
h2,h3,h4 {
    font-family: Roboto,"Droid Sans","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}
a.wp-block-button__link {
    text-decoration: none;
}
.site-content {
    max-width: 960px;
}
.footer-widget.widget-area {
    border-bottom: 1px solid #e5e5e5;
}
.footer-widget-area {
    padding-top: 0;
	padding-bottom: 0;
}
h2.footer_headline {
    margin-top: 2em;
    margin-bottom: 0;
    text-align: center;
    font-size: 225%;
    font-weight: normal;
    font-family: serif;
    letter-spacing: 0.5rem;
}
.widget_recent_entries li a {
    border-bottom: unset;
    font-weight: 700;
}
.wp-block-latest-posts__featured-image {
    margin-bottom: 1em;
}
.wp-block-latest-posts {
    border-top: unset;
}
.jumbotron-content {
    padding-bottom: 90px;
    padding-top: 90px;
}
.mt4rem {
    margin-top: 4rem;
}
p.mb0 {
    margin-bottom: 0;
}
a.wp-block-button__link {
    color: #fff;
}
.footer-widget-5.footer-widget.widget-area {
    border: none;
}
/* フローティングバナーのラップ要素 */
#fixed_right_banner {
    position: fixed;
    right: 0;
    margin: 50vh auto 0;
    transform: translateY(-50%);
}
#fixed_right_banner img {
    width: 100%;
    float: left;
}
/* 画像の共通設定 */
#fixed_right_banner > * {
    clear: both;
    float: right;
    /* 横幅 */
    width: 80px;
    /* 最初にあらかじめ右側を詰めて表示。 */
    margin-right: -15px;
    /* アニメーション設定を追加。 */
    -webkit-transition: margin .2s ease;
    transition: margin .2s ease;
}
/* 2個目以降の画像の上部に余白を作る */
#fixed_right_banner > * ~ * { margin-top: 20px; }
/* リンク要素 */
#fixed_right_banner > a {
/* ブロック要素に変更 */
    display: block;
}
/* マウスオーバーで、詰めた右側のマージンをリセット。 */
#fixed_right_banner > *:hover {
    margin-right: 0;
}
/*ページid指定でバナーを非表示 */
body.page-id-23 #fixed_right_banner {display:none!important;}
/* コンテンツに被らないようにするメディアクエリ */
@media (max-width: 1274px) {
    #fixed_right_banner { display: none !important; }
}
.mt55rem {
    margin-top: 5.5rem;
}
.menu a[href*="lin.ee"]:before {
    content: "\f3c0";
}
a img:hover {
    opacity: 0.8;
}
.wp-block-table td, .wp-block-table th {
    padding: 1rem;
}
figure.wp-block-gallery {
    margin-bottom: 1.8em;
}
@media screen and (min-width: 782px) {
.br-pc {display:inline-block!important;} 
.br-sp {display:none!important;}
.forpc{display:inline-block!important;}
.forsp{display:none!important;} 
.footer-widget-6.footer-widget.widget-area {display: none !important;}
}
@media screen and (max-width: 781px) {
.br-sp {display:inline-block!important;} 
.br-pc {display:none!important;} 
.wp-block-latest-posts.is-grid li {margin-right: 0;}
.forpc{display:none!important;} 
.forsp{display:inline-block!important;} 
.footer-widget-6 {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}
.floatingBnr img {
    width: 49%;
    margin: 0 0.5%;
    float: left;
}
.footer-widget-6.footer-widget.widget-area .widget,
.footer-widget-6.footer-widget.widget-area .wp-block-columns {
    margin-bottom: 0;
}
.back-to-top {
    bottom: 80px;
}
.nowrap table {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 3.5rem;
    table-layout: unset !important;
}
.footer-widget-4.footer-widget.widget-area img {
    width: 70%;
    margin: -0.5rem 15%;
}
}
/************************************
** お問い合わせフォームの入力
************************************/
@media screen and (min-width:769px){
#cf-tbl{
width: 100%;
}
#cf-tbl table {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    padding: 30px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background-color: #fff;
    border-collapse: unset;
    margin-bottom: 1.5rem;
}
#cf-tbl table tr {
    width: 100%;
    float: left;
}
#cf-tbl table tr th {
    width: 35%;
    float: left;
    font-weight: 700;
    text-align: left;
    vertical-align: top;
    padding: 20px 10px 10px 10px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: unset;
    background-color: unset;
}
#cf-tbl table tr td {
    width: 65%;
    float: left;
    padding: 20px 10px 10px 10px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: unset;
}
}
@media screen and (max-width:768px){
#cf-tbl table {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    padding: 20px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-collapse: unset;
    margin-bottom: 1.5rem;
    font-size: 100%;
}
#cf-tbl table tr {
    width: 100%;
    float: left;
}
#cf-tbl table th {
    width: 100%;
    float: left;
    text-align: left;
    border: 0;
    margin: 0 0 10px 0;
    padding: 0 0 1rem 0;
    font-size: 15px;
    border-bottom: 1px solid #ccc;
    background-color: unset;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#cf-tbl table td {
    width: 100%;
    float: left;
    margin-bottom: 3rem;
    padding: 0;
    border: unset;
}
#cf-tbl table tr td{
border-width: 0px 1px 0px 1px;
}
}
/*「必須」文字デザイン*/
span.wpcf7-list-item {
    display: block;
    margin: 0;
}
#cf-tbl table input.wpcf7-form-control.wpcf7-text,
#cf-tbl table textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 10px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    font-size: 100%;
    margin: 0;
}
span.wpcf7-list-item.first {
    margin-left: 0;
}
.required {
    font-size: .8em;
    padding: 5px;
    background: orange;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
    font-weight: normal;
}
span.pp_text {
    text-align: center;
    font-weight: 700;
    display: block;
    margin: 1rem 0;
}
/*「任意」文字デザイン*/
.optional{
font-size:.8em;
padding: 5px;
background: #172f6a;
color: #fff;
border-radius: 3px;
margin-right: 5px;
    font-weight: normal;
}
/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 8px 15px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #d0d5d8;
    border-radius: 3px;
    background-color: #eff1f5;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}
/* 「送信する」ボタン */
input.wpcf7-submit {
    display: block;
    padding: 30px 15px;
    width: 400px;
    background: orange;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 15px auto 0;
    -webkit-border-radius: 50px;
}
@media screen and (max-width:768px){
input.wpcf7-submit {
width: 250px;
}
}
input.wpcf7-submit:hover {
	box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
	transform: translateY(-4px);
	opacity:0.7;
}
/* エラーメッセージを見やすく */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: red;
	font-weight: 600;
}