/*
Theme Name: MEINOHAMA
*/

/* ご相談ランキングTOP４ start ここから */

/* section 1 */
.p-top-consultation {
    margin: 68px 0 90px;
}

.p-top-consultation-title {
    background: #faf7d8;
    text-align: center;
    padding: 32px 0;
    position: relative;
    border-top: 5px solid #eb6120;
    font-family: 'Noto Sans JP', sans-serif;
}

.p-top-consultation-title h2 {
    max-width: 1162px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
    font-size: 20px;
    text-align: center;
}

.p-top-consultation-img {
    position: absolute;
}

.p-top-consultation-img:nth-of-type(1) {
    top: -92px;
    left: 10px;
}

.p-top-consultation-img:nth-of-type(2) {
    top: 71px;
    right: -2px;
}

.p-top-consultation-title-inner {
    max-width: 850px;
    margin: 0 auto;
    letter-spacing: 1px;
}

.p-top-consultation-title-inner .p-top-consultation-txt {
    font-size: 30px;
    font-weight: 600;
}

.p-top-consultation-title-inner .p-top-consultation-ttl {
    font-size: 72px;
    color: #eb6120;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.p-top-consultation-title-inner .p-top-consultation-ttlspan {
    font-weight: 900;
    line-height: 1;
}

.p-top-consultation-title-inner .p-top-consultation-desc {
    margin-top: 20px;
    line-height: 1.9;
    text-align: left;
    letter-spacing: 0;
}

.p-top-consultation-title-inner .small {
    font-size: 70px;
}

.p-top-consultation-title-inner .big {
    font-size: 100px;
}

@media screen and (max-width: 767px) {
    .p-top-consultation {
        margin: 63px 0 0;
    }

    .p-top-consultation-title {
        padding: 17.5px 0 29px;
    }

    .p-top-consultation-img {
        width: 86px;
        height: 86px;
    }

    .p-top-consultation-img:nth-of-type(1) {
        top: -78px;
    }

    .p-top-consultation-img:nth-of-type(2) {
        top: 220px;
        right: 6px;
    }

    .p-top-consultation-title-inner .p-top-consultation-txt {
        font-size: 20px;
        padding-left: 45px;
        letter-spacing: 0;
    }

    .p-top-consultation-title-inner .p-top-consultation-ttl {
        font-size: 33px;
        margin-top: 10px;
        line-height: 1.1;
    }

    .p-top-consultation-title-inner .small {
        font-size: 38px;
    }

    .p-top-consultation-title-inner .big {
        font-size: 38px;
    }

    .p-top-consultation-title-inner .p-top-consultation-desc {
        font-size: 16px;
        margin-top: 12px;
        line-height: 1.5;
        letter-spacing: 0px;
    }
}

/* section 2 */

.p-top-consultation-content {
    max-width: 980px;
    margin: 46px auto 60px;
    padding: 0 10px;
    position: relative;
}

.p-top-consultation-subtitle {
    margin-bottom: 38px;
    padding: 0 46px 0 35px;
    text-align: right;
    font-size: 46px;
    font-weight: 600;
    color: #FF6C00;
    position: relative;
    letter-spacing: 1px;
}

.p-top-consultation-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.p-top-consultation-btnArea {
    text-align: center;
    width: 45%;
    max-width: 450px;
    padding-bottom: 4px;
    box-sizing: border-box;
    background: #eb6120;
    border: 2px solid #eb6120;
    border-radius: 10px;
    transition: 0.2s all ease 0s;
}

.p-top-consultation-btnArea:hover {
    transform: translateY(-4px);
}

.p-top-consultation-mix {
    border-radius: 10px;
}

a.p-top-consultation-mix:hover {
    opacity: 1;
}

.p-top-consultation-mix .ranking-btn {
    background: #eb6120;
    padding: 7px;
    border-radius: 10px 10px 0 0;
}

.p-top-consultation-mix .ranking-btn p {
    font-size: 16px;
    line-height: 35px;
    color: white;
    position: relative;
}

.p-top-consultation-mix .ranking-btn p::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 27px;
    background: url(./assets/images/top/consultation_arrow.png) center/contain no-repeat;
    top: 27px;
    right: 24px;
}

.p-top-consultation-mix .ranking-btn p span {
    font-size: 53px;
    font-weight: bold;
}

.p-top-consultation-mix .ranking-details-btn {
    background: #FFFFF8;
    border-radius: 0 0 10px 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
}

.p-top-consultation-mix .ranking-details-btn p {
    font-size: 34px;
    line-height: 49px;
    color: #333333;
    font-weight: 700;
}

.p-top-consultation-btnArea .ranking-details-btn span {
    color: #FF6C00;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .p-top-consultation-content {
        margin: 23px auto;
        padding: 0 20px;
    }

    .p-top-consultation-subtitle {
        padding: 0;
        margin-bottom: 40px;
    }

    .p-top-consultation-flex {
        gap: 22px;
    }

    .p-top-consultation-mix .ranking-btn {
        padding: 3px;
    }

    .p-top-consultation-mix .ranking-btn p {
        font-size: 12px;
        line-height: 23px;
    }

    .p-top-consultation-mix .ranking-btn p span {
        font-size: 34px;
    }

    .p-top-consultation-mix .ranking-btn p::after {
        width: 10px;
        height: 25px;
        top: 15px;
        right: 15px;
    }

    .p-top-consultation-mix .ranking-details-btn {
        height: 120px;
    }

    .p-top-consultation-mix .ranking-details-btn p {
        font-size: 22px;
        padding: 17px 17px 27px;
        line-height: 34px;
    }

    .p-top-consultation-btnArea {
        width: 100%;
    }
}

/* ご相談ランキングTOP４ ここまで */

/* 30秒お見積もりフォーム */
.l-30sec {
    max-width: 880px;
    background-color: #F38C1F;
    padding: 20px;
    margin: 40px auto;
}
.l-30sec__inner {
    background-image: url("/wp-content/themes/protimes2023/assets/images/top/img_chara_gaihekisan.png");
    background-position: right 10px bottom 22px;
    background-size: 172px 224px;
    background-repeat: no-repeat;
    background-color: #fff;
    border: solid 4px #FFBB2C;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 840px;
    padding: 30px 70px;
    margin-right: auto;
    margin-left: auto;
}
.l-30sec__title {
    position: relative;
    text-align: center;
    color: #382712;
    font-weight: 700;
    letter-spacing: 0;
    width: 315px;
    margin: auto;
}
.l-30sec__title::before {
    position: absolute;
    top: 28px;
    left: -60px;
    display: block;
    flex: none;
    content: "";
    background-position: bottom center;
    background-repeat: no-repeat;
    background-image: url("wp-content/themes/protimes2023/assets/images/top/icon_30min.svg");
    width: 54px;
    height: 62px;
    margin: auto;
}
.l-30sec__title::after {
    display: block;
    content: "";
    background-position: bottom center;
    background-repeat: no-repeat;
    background-image: url("/wp/wp-content/themes/protimes2023/assets/images/common/deco_line_orange.svg");
    width: 315px;
    height: 6px;
    margin: auto;
}
.l-30sec__title--sub {
    display: block;
    font-size: 24px;
}
.l-30sec__title--main {
    display: block;
    color: #EB6120;
    font-size: 32px;
}
.l-30sec__lead {
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    margin-top: 16px;
    margin-bottom: 18px;
}
.l-30sec .c-button {
    text-align: center;
}
.l-30sec__fieldset {
    display: flex;
    margin-bottom: 16px;
}
.l-30sec__fieldset.--center {
    align-items: center;
}
.l-30sec__fieldset input[type="text"] {
    border-radius: 4px;
    border: solid 1px #A7A598;
    background-color: #fff;
    font-size: 16px;
    padding: 12px;
    width: 396px;
    max-width: 100%;
}
.p-blogdetail .l-30sec__fieldset input[type="text"] {
  width: 300px;
}
.l-30sec__fieldset .checkbox-parts::before {
    background-color: #fff;
}
.l-30sec__fieldset .checkbox-parts::before {
    bottom: 0;
    margin: auto;
}
.l-30sec__flex {
    display: flex;
    flex-wrap: wrap;
    width: 410px;
}
.l-30sec__fieldset input[type="checkbox"] {
    border-radius: 4px;
    border: solid 1px #A7A598;
    background-color: #fff;
    width: 16px;
    height: 16px;
    margin-right: 4px;
}
.l-30sec__fieldset label {
    display: flex;
    font-size: 18px;
    max-width: 100%;
    margin-right: 16px;
}
.l-30sec__checkbox {
    /* display: flex;
    align-items: center; */
    white-space: nowrap;
    line-height: 1;
    padding-top: 0;
    margin-bottom: 16px;
}
.l-30sec__legend {
    display: flex;
    justify-content: space-between;
    width: 152px;
    margin-right: 20px;
}
.l-30sec__legend--title {
    line-height: 1;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
}
.c-basicform__any {
    background: #888888;
    display: flex;
    align-items: center;
    color: #fff;
    line-height: 0;
    font-size: 14px;
    font-weight: 400;
    padding: 0 16px;
    border-radius: 5px;
    height: 22px;
}
.c-basicform__Required {
    line-height: 0;
}
.l-30sec .c-basicform__sendbtn {
    margin-top: 32px;
}
.l-30sec .c-headline, div.c-button a.c-button__link span {
    padding-right: 0;
    margin-right: 0;
}
.l-30sec .wpcf7-form-control.has-spinner.wpcf7-submit {
    margin-right: 6px;
}
@media screen and (max-width: 767px) {
    .l-30sec {
      max-width: 880px;
      background-color: #F38C1F;
      padding: 20px 10px;
      margin: 40px auto;
    }
    .p-blogdetail .l-30sec{
      width: 100%;
    }
    .l-30sec__inner {
      background-image: none;
      border: solid 4px #FFBB2C;
      border-radius: 20px 20px 0 0;
      width: 100%;
      max-width: 840px;
      padding: 30px 20px;
      margin-right: auto;
      margin-left: auto;
    }
    .l-30sec__title {
        text-align: left;
        width: 100%;
        max-width: 300px;
        padding-left: 80px;
        margin: auto;
    }
    .l-30sec__title::before {
        position: absolute;
        top: 15px;
        left: 10px;
        display: block;
        flex: none;
        content: "";
        background-position: bottom center;
        background-repeat: no-repeat;
        background-image: url("/wp/wp-content/themes/protimes2023/assets/images/top/icon_30min.svg");
        width: 54px;
        height: 62px;
        margin: auto;
    }
    .l-30sec__title::after {
        display: block;
        content: "";
        background-position: bottom center;
        background-repeat: no-repeat;
        background-image: url("/wp/wp-content/themes/protimes2023/assets/images/common/deco_line_orange.svg");
        width: 100%;
        height: 6px;
        margin: auto;
    }
    .l-30sec__title--sub {
        display: block;
        font-size: 24px;
    }
    .l-30sec__title--main {
        display: block;
        font-size: 24px;
    }
    .l-30sec__lead {
        font-size: 16px;
        text-align: left;
        letter-spacing: 0;
        margin-top: 16px;
        margin-bottom: 18px;
    }
    .l-30sec .c-button {
        text-align: center;
    }
    .l-30sec__fieldset {
        display: block;
        margin-bottom: 16px;
    }
    .l-30sec__fieldset.--center {
        align-items: center;
    }
    .l-30sec__fieldset input[type="text"] {
        border-radius: 4px;
        border: solid 1px #A7A598;
        background-color: #fff;
        font-size: 16px;
        padding: 12px;
        width: 100%;
        max-width: 100%;
    }
    .l-30sec__flex {
        width: 100%;
    }
    .l-30sec__fieldset input[type="checkbox"] {
        border-radius: 4px;
        border: solid 1px #A7A598;
        background-color: #fff;
        width: 24px;
        height: 24px;
        margin-right: 4px;
    }
    .l-30sec__fieldset label {
        display: flex;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        margin-right: 14px;
    }
    .l-30sec__checkbox {
        /* display: flex;
        align-items: center; */
        white-space: nowrap;
        line-height: 1;
        margin-bottom: 8px;
    }
    .l-30sec__legend {
        margin-bottom: 10px;
    }
    .l-30sec__legend--title {
        line-height: 1;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: 0;
    }
    .c-basicform__any {
        background: #888888;
        display: flex;
        align-items: center;
        color: #fff;
        line-height: 1;
        font-size: 14px;
        font-weight: 400;
        padding: 0 16px;
        border-radius: 5px;
        height: 22px;
    }
    .c-basicform__Required {
        line-height: 0;
    }
    .l-30sec .c-basicform__sendbtn {
        margin-top: 32px;
    }
    .l-30sec .c-recaptcha-note {
      margin-inline: 0;
    }
}
/* 30秒お見積もりフォーム ここまで */