/*
Theme Name: ロードサービス
Theme URI: https://nines-performance.ltd/
Template: arkhe
Author: 株式会社ナインズ
Author URI: https://nines-performance.ltd/
Description: 
Tags: two-columns,one-column,right-sidebar,custom-colors,custom-menu,editor-style,theme-options,block-styles,wide-blocks
Version: 3.11.0.1738061045
Updated: 2025-01-28
*/

body,
div {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-display: optional !important;
    font-display: swap;
}

/* ------------ トップ ------------ */
.rs_sec1 h3{
    font-size: 1.4rem !important;
}

@media (min-width: 768px) {
.rs_sec1 .wp-block-image img{
    height: 250px;
    object-fit: cover;
}
}

@media (max-width: 480px) {
    .rs_sec1 h3{
        font-size: 1.4rem !important;
    }
}


/* ------------ ヘッダーメニュー ------------ */
li.current-menu-item span.__mainText {
    background-color: #dd3333;
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
}
li.current-menu-item span.__mainText:hover {
    background-color: #b10000;
}

@media (max-width: 480px) {
div#n2-ss-3 .n2-ss-slider-4{
    height: 400px !important;
}
}

/* ------------ コンテンツ ------------ */

.h_d1 h2 {
    padding: 1rem;
    color: #fff;
    margin: auto;
    background: #fa4141;
    line-height: 100%;
    width: 50%;
}
/*.h_d1 h2 {
    position: relative;
    display: inline-block;
    height: 64px;
    margin-left: 30px;
    padding: 1rem 2rem 1rem 3rem;
    color: #fff;
    background: #fa4141;
    line-height: 100%;
    width: 50%;
}

.h_d1 h2:before {
    position: absolute;
    top: 0;
    left: -30px;
    content: '';
    border-width: 32px 30px 32px 0;
    border-style: solid;
    border-color: transparent #222 transparent transparent;
}


.h_d1 h2:after {
    position: absolute;
    top: calc(50% - 7px);
    left: -10px;
    width: 14px;
    height: 14px;
    content: '';
    border-radius: 50%;
    background: #222;
}
*/
.h_d2 h3{
    font-size: 1.1rem;
    margin-top: 20px;
    padding: 1rem 2rem 1rem 1rem;
    border-left: 5px dotted #dd3333;
    background: #f4f4f4;
}

/*.outline_sec1 h2.smb-section__title{
    font-size: 2.4rem;
    background-color: #DD3333;
    padding: 10px;
    color: #fff;
    border-radius: 50px;
}
    */
.outline_sec1 h3.wp-block-heading{
    border-left: 15px solid #DAB539;
    padding: 5px 5px 5px 15px;
    line-height: 100%;
    margin-bottom: 15px;
}

ul.outline_ul1{
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px !important;
}
ul.outline_ul1 li{
    width: 50%;
}
.outline_item1 {
    font-size: 2rem;
    text-align: center;
    background-color: #f9f9f9;
    padding: 20px;
}

.outline_item1 strong {
    color: #DD3333;
    font-size: 2.4rem;
}

:is(.wp-block-details, .wp-block-quote, .wp-block-column, .wp-block-media-text__content, .wp-block-cover__inner-container, .wp-block-group__inner-container:where(:not(.is-layout-grid)))>:not(:first-child) {
    line-height: auto;
}
.company_item1 em{
    font-style: normal;
    font-size: 1.2rem;
}

.bottom1 a{
    border: 5px solid #ccc;
}

.smb-section__background-text__text {
    transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
    background-color: #999;
  color: #fff;
  width: 100%;
  padding-left: 20px;
}

@media (min-width: 768px) {
    .fnt_box1 {
        text-align: center;
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 680px) {
    .wp-block-media-text__content{
        padding-right: 0% !important;
        padding-left: 0% !important;
    }
    .outline_sec1 h2.smb-section__title {
        font-size: 2rem;
    }
    .outline_item1 {
        font-size: 1.3rem !important;
        padding: 10px !important;
        text-align: left;
    }
    
    .outline_item1 strong {
        font-size: 1.5rem !important;
    }
    ul.outline_ul1 li {
        width: 100%;
      }
    /*#bfb_content_sp {
      width: 50%;
      margin: auto;
      margin-bottom: auto;
      margin-bottom: 5px;
    }*/

    .h_d1 h2 {
        padding: 1rem;
        width: 100%;
    }
}

.wp-block-media-text__content{
    margin-top: 0px !important;
}

/* ------------ 下部バナー ------------ */
[id^="bfb_content_"] .bfb_closed {
display: none;
}
[id^="bfb_content_"].bfb_view_pc.bfb_imgBanner.bfb_view_pc img {
    border: 2px solid #DAB539 !important;
}
[id^="bfb_content_"].bfb_view_sp.bfb_imgBanner.bfb_rb img{
    border: 2px solid #DAB539 !important;
}
[id^="bfb_content_"].bfb_view_sp.bfb_imgBanner.bfb_rb {
    top: auto;
    width: 70%;
    margin: auto;
}

/* ------------ プライバシーポリシー ------------ */
.pp_1 h3{
    font-size: 1.1rem;
    margin-bottom: 20px;
    background-color: #333;
    padding: 10px 20px;
    color: #fff;
}
.pp_1 h4{
    font-size: 1.1rem;
    margin-top: 20px;
    padding: 1rem 2rem 1rem 1rem;
    border-left: 5px dotted #dd3333;
    background: #f4f4f4;
}
.pp_group1{
    padding: 10px;
    margin-left: 12px
}

.telbox1 {
    text-align: center;
}

.telbox1 a {
    text-decoration: none;
    font-size: 2.8rem;
    color: #222;
}

.wp-image-392 {
    vertical-align: text-bottom;
    margin-right: 15px;
}
.tel2_1 em{
font-size: 1.8rem;
font-style: normal;
}

/* ------------ 問い合わせフォーム ------------ */

#form1 {
    overflow: hidden;
    background-color: #fff;
}

#form1 th,
#form1 td {
    padding: 20px !important;
}

#form1 th {
    width: 40%;
    text-align: left;
    font-weight: normal;
vertical-align: middle;
}

div.wpcf7 .wpcf7-spinner {
    display: block;
}

#form1 .form_1 {
    background-color: #f39800;
    padding: 10px;
    color: #fff;
    text-align: center !important;
    margin-bottom: 20px;
}

#form1 .color-botton01 {
    width: 220px;
    margin: 20px auto;
    padding: 15px 5px;
    background-color: #f39800;
    text-align: center;
    border-radius: 30px;
}

#form1 .color-botton01 a {
    color: #fff;
}

@media (min-width: 768px) {
    .wpcf7 {
        width: 100% !important;
    }
}

.wpcf7 {
    margin: 0px auto !important;
    padding: 0px !important;
    padding-bottom: 0px !important;
}

span.wpcf7-list-item {
    display: block !important;
    margin: 0 0 0 1em;
    width: 100%;
    text-align: center;
}

.must {
    color: #fff;
    margin-right: 5px;
    padding: 3px 5px;
    background: #F92931;
    border-radius: 20px;
    font-size: 11px;
}

.free {
    color: #fff;
    margin-right: 5px;
    padding: 3px 5px;
    background: #a9a9a9;
    border-radius: 20px;
    font-size: 11px;
}

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;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    height: 200px;
}

input.wpcf7-submit {
    padding: 10px 80px;
    background: #ff7b00;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.formb2 {
    margin-top: 10px;
    text-align: center;
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
    color: red;
    font-weight: 600;
}

.wpcf7-form-control.wpcf7c-btn-confirm {
    width: 350px;
    padding: 15px !important;
    color: #fff;
    font-size: 30px !important;
    font-weight: 600;
    border-radius: 50px !important;
    margin-top: 30px !important;
    background: #ffc86a !important;
    background: -moz-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
    background: -webkit-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
    background: linear-gradient(to bottom, #ffc86a 0%, #f39800 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc86a', endColorstr='#f39800', GradientType=0) !important;
}

@media only screen and (max-width:480px) {
    #form1 {
        margin: 0 -10px;
    }

    #form1 th,
    #form1 td {
        width: 100% !important;
        display: block;
        border-top: none;
    }

    #form1 tr:first-child th {
        border-top: 1px solid #ddd;
    }
}