/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.0
*/

html,
body,
.wpcf7-form-control-wrap .wpcf7-validates-as-date {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

li {
    list-style: none;
}

em {
    font-style: normal;
}

a {
    color: #3c98d5;
}

.numbering {
    position: relative;
    margin-left: 60px !important;
    margin-top: 60px !important;
    font-weight: 400;
    border-bottom: 2px solid #66cbc5 !important;
    padding: 0 0 10px;
    counter-increment: number !important;
    font-weight: bold;
}

.numbering::before {
    content: counter(number) !important;
    width: 48px !important;
    height: 48px !important;
    border: 1px solid;
    position: absolute;
    top: 50%;
    transform: translate(-60px, -50%);
    background: #66cbc5 !important;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
    color: #FFF;
}

.pc_d_none {
    display: none;
}

@media screen and (max-width: 991px) {
    .pc_d_none {
        display: block;
    }

    .sp_d_none {
        display: none;
    }
}

.home h2 {
    border: none;
    font-size: 28px;
    color: #3C98D5;
    text-align: center;
    position: relative;
}

.home h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: #2EAAA7;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.home .entry-body {
    max-width: 950px;
    margin: 0 auto;
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 950px;
    }
}

/* ====KV==== */

.kv {
    background-color: #EAF4FA;
}

.kv .kv__inner {
    position: relative;
    width: 94%;
    margin: 0 auto;
    display: flex;
}

@media (min-width: 970px) {
    .kv .kv__inner {
        position: relative;
        width: 950px;
        margin: 0 auto;
        justify-content: center;
    }
}

.kv .kv__inner .kv_left {
    width: 94%;
    margin: 0 auto;
}

@media (min-width: 970px) {
    .kv .kv__inner .kv_left {
        width: 58%;
    }
}

.kv .kv__inner .kv_left ul {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

@media (min-width: 970px) {
    .kv .kv__inner .kv_left ul {
        margin-top: 50px;
    }
}

.kv .kv__inner .kv_left ul li {
    width: 130px;
    margin: 20px 20px 0;
}

@media (min-width: 970px) {
    .kv .kv__inner .kv_left ul li {
        width: 100px;
        margin: 0 20px;
    }
}

.kv .kv__inner .kv_left .staff {
    max-width: 560px;
    width: 55%;
    position: absolute;
    bottom: 0;
    left: -15px;
}

.kv .kv__inner .kv_right {
    width: 350px;
    margin: -30px auto 0;
    z-index: 0;
}

@media (max-width: 970px) {
    .kv .kv__inner .kv_right {
        width: 60%;
        min-width: 160px;
        margin: -10px auto 0;
    }
}

.kv .kv__inner .notes {
    font-size: 8px;
    color: #A9A9AA;
    position: absolute;
    bottom: -20px;
    right: 0;
}

@media (min-width: 970px) {
    .kv .kv__inner .notes {
        bottom: 0px;
    }
}

#topMainBnr {
    background-color: #fff;
}

/* ====スライダー==== */
.swiper-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 30px 0 50px;
    overflow-x: hidden;
}

@media screen and (max-width: 991px) {
    .swiper-container {
        padding: 10px 0;
    }
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
}

/* ====REASON==== */

.reason {
    margin-top: 20px;
    padding: 50px 0;
    background-color: #EAF4FA;
}

@media (min-width: 600px) {
    .reason .reason__inner {
        width: 600px;
        margin: 0 auto;
    }
}

.reason .reason__inner h2 {
    line-height: 2;
}

.reason .reason__inner ul {
    padding: 0;
    margin-bottom: 0;
}

@media (min-width: 600px) {
    .reason .reason__inner ul {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
    }
}

.reason .reason__inner ul li {
    width: 94%;
    margin: 20px auto;
    padding: 20px 0;
    background-color: #fff;
    border-radius: 10px;
}

@media (min-width: 600px) {
    .reason .reason__inner ul li {
        width: 180px;
    }
}

.reason .reason__inner ul .img {
    width: 150px;
    margin: 0 auto;
}

.reason .reason__inner ul li p {
    margin-top: 20px;
    font-size: 12px;
    color: #3C98D5;
    font-weight: bold;
    text-align: center;
}

.reason .reason__inner ul li p {
    margin-bottom: 0;
}

.reason .reason__inner ul li p em {
    margin-top: 20px;
    font-size: 18px;
}

/* ==== Googleレビュー ==== */
.ti-widget.ti-goog .ti-header.source-Google {
    margin-top: 32px;
    margin-bottom: 12px;
}

/* ==== カレンダー ==== */
.googlecal iframe {
    width: 100%;
    height: 500px;
}

/* ==== サービス提供エリア ==== */
.wp-container-9 .wp-container-7 .wp-block-image img {
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 782px) {
    .wp-container-9 .wp-container-7 .wp-block-image img {
        width: 240px;
        margin: 0 auto;
    }

}


/* header */
#headerTop {
    width: 100%;
    background-color: #f3f3f3;
    border-top: 3px solid #3c98d5;
}

@media screen and (max-width: 991px) {
    #headerTop {
        display: none;
    }
}

#headerTop .innerBox {
    width: 960px;
    margin: 0 auto;
    padding: 0 15px;
    font-size: 10px;
}

#site-description {
    padding: 2px 0;
    color: #666;
}

#site-header-container {
    width: 950px;
    display: flex;
    align-items: center;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 991px) {
    #site-header-container {
        margin-top: 10px;
    }

}

.site-header-logo-img {
    width: 360px;
}

@media screen and (max-width: 991px) {
    .site-header-logo-img {
        width: 150px;
    }
}

.site-header-logo-img span img {
    margin-right: 0;
    width: 180px;
}

#headContactTel,
#headContactTel a {
    color: #3c98d5;
    margin-bottom: 4px;
    line-height: 21px;
    font-weight: bold;
}

#headContactTel,
#headContactTel a {
    font-size: 24px;
}

@media screen and (max-width: 781px) {

    #headContactTel,
    #headContactTel a {
        font-size: 18px;
    }
}

#headContactTxt,
#headContactTime {
    font-size: 12px;
}

.button_wrapper {
    width: 160px;
    background-color: #ea4c44;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 9999px;
    transition: 0.3s;
}

.button_wrapper:hover {
    opacity: 0.6;
}

.button_wrapper a {
    font-size: 14px;
    color: #FFF;
    font-weight: bold;
}

.button_wrapper::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background: url(images/arrow_wh_r.png) center center /contain no-repeat;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    ;
}

@media screen and (max-width: 991px) {
    #site-header-container {
        width: 100%;
        align-items: center;
        flex-direction: column;
        padding-bottom: 10px;
    }

    .site-header-logo-img {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    #headContact {
        text-align: center;
    }

    .button_wrapper {
        margin-top: 10px;
    }
    #site-header-container .button_wrapper {
        display: none;
    }
}

#global-nav {
    width: 950px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

.global-nav-list {
    width: 100%;
}

.global-nav-list>li {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 400;
    margin-right: 30px;
}

.global-nav-list>li:last-child {
    margin-right: 0;
}

.global-nav-list>li::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    border-bottom: 2px solid #3C98D5;
    transition: all .5s ease-out;
}

#global-nav-sp {
    display: none;
    background-color: #3C98D5;
    width: 100%;
    padding: 14px 24px;
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    /* border: 2px solid #3C98D5; */
}

#global-nav-sp:hover {
    cursor: pointer;
}

#global-nav-sp span {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#global-nav-sp span .global-nav-menu-button,
#global-nav-sp span .global-nav-menu-button:before,
#global-nav-sp span .global-nav-menu-button:after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 30px;
    background-color: #FFF;
    position: absolute;
}

#global-nav-sp span .global-nav-menu-button:before {
    bottom: 7px;
}

#global-nav-sp span .global-nav-menu-button:after {
    top: 7px;
}

#global-nav-sp span .global-nav-menu-button.active {
    background-color: rgba(255, 255, 255, 0);
}

#global-nav-sp span .global-nav-menu-button.active::before {
    bottom: 0;
    transform: rotate(45deg);
}

#global-nav-sp span .global-nav-menu-button.active::after {
    top: 0;
    transform: rotate(-45deg);
}

@media screen and (max-width: 991px) {

    #global-nav-sp {
        display: flex;
        align-items: center;
    }

    #global-nav {
        width: 100%;
        background-color: #FFF;
    }

    .device-mobile .global-nav-list>li {
        padding: 0 !important;
    }

    .device-mobile .global-nav-list>li>a {
        display: block;
        padding: 20px 0;
    }

    #global-nav.active {
        display: block;
    }

    #menu-top {
        flex-direction: column;
    }

    #menu-top>li {
        display: block;
        margin: 0;
    }
}

.vk-mobile-nav-menu-btn {
    display: none;
}

/* popup */
.close_btn {
    padding: 10px 20px;
    border-radius: 20px;
    background: #ea4c44;
    color: #fff;
    transition: .3s;
}

@media (hover:hover) {
    .close_btn:hover {
        color: #fff;
        opacity: .6;
    }
}

@media (hover:none) {
    .close_btn:active {
        color: #fff;
        opacity: .6;
    }
}

/* footer */
footer {
    margin-bottom: 100px;
}

footer.popup-hidden {
    margin-bottom: 0;
}

.site-footer {
    border: none;
    background: #EEE;
    padding-top: 20px;
}

@media screen and (max-width: 991px) {
    .footer-link {
        width: 90%;
        margin: 0 auto;
    }
}

.site-footer-content {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 769px) {
    .site-footer-content {
        flex-direction: column;
    }
    .site-footer-content .col-lg-4,
    .site-footer-content .col-md-6 {
        padding-right: 0;
        padding-left: 0;
    }
    .site-footer-content .row {
        margin-left: 0;
    }
}

@media screen and (max-width:991px) {
    .site-footer-content .row div:nth-child(3) {
        display: none;
    }
}

.site-footer-content-link {
    display: flex;
    align-items: center;
}

#block-55 {
    width: 180px;
    margin-top: -20px;
    margin-bottom: 0;
    margin-right: 30px;
}

@media screen and (max-width: 991px) {
    #block-55 {
        margin-top: 30px;
    }
}

.footer-address {
    font-size: 14px;
    font-weight: 400;
}

.footer-address p {
    line-height: 1.5;
}

.footer-nav {
    border: none;
    padding-top: 0;
}

.footer-nav .container {
    padding: 0;
}

@media screen and (max-width: 769px) {
    .site-footer-content-link {
        flex-direction: column;
        width: 100%;
    }

    .site-footer-content-link>div {
        margin-right: auto;
    }

    .site-footer .widget:last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767.98px) {
    .footer-nav-list li a {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

#menu-footer li {
    border: none;
    margin: 5px 0;
    font-size: 13px;
    font-weight: 700;
    padding: 0;
}

#menu-footer li:hover a {
    color: #3c98d5;
}

.site-footer-copyright p {
    margin: 0;
}

.site-footer-copyright p:last-child {
    display: none;
}

#menu-footer {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width:769px) {
    #menu-footer {
        align-items: flex-end;
    }
}

#footer_cta {
    width: 100%;
    height: 105px;
    background-color: #f0f0f0;
    position: fixed;
    bottom: -130px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    transition: .3s;
    /* 非表示にする */
    opacity: 0;
    visibility: hidden;
}
#footer_cta.is-active{
    /* 表示する */
    opacity: 1;
    visibility: visible;
}
#footer_cta.popup-hidden {
    display: none;
    visibility: hidden;
}
@media screen and (max-width:380px) {
    #footer_cta {
        padding: 20px 10px;
    }
}

.show {
    bottom: 0 !important;
}

#footer_cta a,
.side_cta_btn,
.foot_cta_btn {
    width: 260px;
    border-radius: 40px;
    border-bottom-color: unset !important;
    box-shadow: none;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
}

.side_cta_btn,
.foot_cta_btn {
    display: block;
    margin: 0 20px;
    padding: 16px 0;
}

#footer_cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

#footer_cta a.footer_cta_btn {
    position: relative;
    width: 260px;
    height: 60px;
}

.footer_cta_btn::after {
    position: absolute;
    content: "";
    width: 13px;
    height: 13px;
    background: url(images/arrow_wh_r.png) center center /contain no-repeat;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

.footer_cta_btn:hover {
    opacity: 0.6;
    transition: 0.3s;
}

#footer_cta .line_pc {
    display: none;
}

@media (min-width: 770px) {

    #footer_cta .line_pc {
        display: flex;
        border-radius: 40px;
        background-color: #06C655;
    }
}

#footer_cta .line_pc:hover {
    background-color: #06C655;
}

#footer_cta .line_sp {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: none;
    border-radius: 0px;
    width: 60px;
}

#footer_cta .line_sp img {
    height: 60px;
}

@media (min-width: 770px) {
    #footer_cta .line_sp,
    #footer_cta .line_sp img {
        display: none;
    }
}

.page_top_btn {
    display: none !important;
}

.reserve {
    background-color: #ea4c44;
}


/* body pages */
.page-header {
    color: #3C98D5;
    background-color: #f3faff;
    min-height: 0;
}

.page-header-title {
    padding: 5px 24px;
}

.page-header-inner {
    padding: 0;
    text-align: left;
    margin: .6em auto;
}

.site-body-container {
    padding: 0;
    color: #333;
}

.entry-meta {
    width: 90%;
    margin: 10px auto 0;
}

@media screen and (max-width: 991px) {
    .site-body-container .wp-block-button {
        margin: 0 auto;
        font-size: 14px;
    }
}

@media screen and (max-width: 991px) {
    .site-body-container .is-layout-flow {
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 991px) {
    .site-body-container #block-57 .is-layout-flow img,
    .site-body-container #block-58 .is-layout-flow img,
    .site-body-container #block-59 .is-layout-flow img {
        display: none;
    }
}


@media screen and (max-width: 991px) {
    .container {
        max-width: 950px;
    }
}

.container h1 {
    width: 90%;
    margin: 0 auto;
    font-size: 22px;
    font-weight: normal;
}

@media screen and (max-width: 991px) {
    .container h1 {
        font-size: 18px;
    }
}

#breadcrumb {
    padding: 10px 0;
    border: none;
}

#breadcrumb .container {
    padding: 0 24px;
}

.main-section--col--two {
    width: 660px;
    margin-right: 20px;
}

@media screen and (max-width: 991px) {
    .main-section--col--two {
        width: 100%;
        margin: 0;
    }
}

.beginner-topVisual {
    background: url('https://harepika.jp/wp-content/uploads/background-beginner.jpg') no-repeat;
    height: 356px;
    padding-top: 100px;
}

.beginner-topVisual p {
    width: 80%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 4%;
    margin: 0 auto;
}

.entry-body h2 {
    position: relative;
    font-size: 24px;
    color: #3c98d5;
    border: 0;
    margin: 30px 0 20px;
}

@media screen and (max-width: 991px) {
    .entry-body h2 {
        font-size: 20px;
    }
}

.main-section--col--two .entry-body h2::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 4px;
    background: url('images/underline_blue.png') left center /cover repeat;
    bottom: 0;
    left: 0;
}

.entry-body h2::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 4px;
    background: url('images/underline_blue.png') left center /cover repeat;
    bottom: 0;
    left: 0;
}

#post-242 .entry-body h2::before {
    display: none;
}

.wp-block-image a {
    margin-bottom: 10px;
}

.wp-block-image figcaption {
    text-align: left;
    margin-top: 10px;
    margin-left: 4px;
    font-size: 14px;
}

.entry-body h3 {
    font-size: 20px;
    border-bottom: none !important;
    position: relative;
    padding: 10px 0;
    color: #3c98d5;
    margin: 10px 0 20px;
}

.entry-body h3::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 2px;
    background-color: #3c98d5;
    bottom: 0;
    left: 0;
}

.entry-body h3::after {
    content: "";
    border: none;
}

.entry-body h4 {
    border-left: 3px solid;
    background: url(images/line_wh.png) left top repeat-x;
    border-radius: 0;
    font-size: 18px;
    padding: 4px 8px;
}

.entry-body p {
    font-size: 16px;
    line-height: 1.8;
}

.entry-body .caution {
    font-size: 14px;
    line-height: 1.5;
}

.lower_link {
    color: #3c98d5;
    text-decoration: underline;
    font-size: 16px;
}

/* flex-gap */
:where(.wp-block-columns.is-layout-flex) {
    gap: 24px;
}

/* side bar */

.sub-section {
    width: 220px;
}

.widget {
    margin-bottom: 20px;
}

/* CTAボタン */
.wp-block-button__link.estimate {
    background-color: #ea4c44;
}

.wp-block-button__link.contact {
    background-color: #3c98d5;
}

.wp-block-button__link.line {
    background-color: #06C655;
}

@media (hover: hover) {
    .widget_block .wp-block-button__link:hover {
        filter: initial;
        opacity: .6;
    }
}

@media (hover: none) {
    .widget_block .wp-block-button__link:active {
        filter: initial;
        opacity: .6;
    }
}

/* 料金ページ */
.notice {
    font-size: 14px;
    line-height: 1.5;
    padding: 0;
}

.notice li {
    padding-left: 1em;
    text-indent: -1em;
}

.notice li::before {
    content:"※";
}

.sub-section #block-57 {
    margin: 0px;
}

.sub-section #block-61 {
    margin: 0px;
}

.sub-section #block-58 {
    margin-bottom: 0px;
}

.sub-section .wp-block-preformatted {
    display: block;
}

.sub-section h2 {
    border-top: none;
}

@media screen and (max-width: 991px) {

    #block-37,
    #block-38,
    #block-39,
    #block-40 {
        display: block;
    }
}

.sub-section h2 {
    display: block;
    margin-top: 60px;
    margin-bottom: 0;
}

.sub-section .wp-block-columns {
    margin: 0;
}

.sub-section .side-menu {
    padding: 0.7em;
    border-bottom: 1px solid var(--vk-color-border-hr);
}

@media screen and (max-width: 991px) {
    .sub-section .side-menu {
        padding: 1.5em;
    }
}

.sub-section .side-menu a {
    text-decoration: none;
    color: #4a4a4a;
}

@media screen and (max-width: 991px) {
    .sub-section .side-menu a {
        font-size: 16px;
    }
}

.wp-block-button__link::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    background: url(images/arrow_wh_r.png) center center /contain no-repeat;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.wp-block-buttons .wp-block-button__link {
	width: 220px;
    border-radius: 100px;
}

.sub-section .wp-block-buttons .wp-block-button__link {
    font-weight: bold;
}

@media screen and (max-width: 980px) {
    .wp-block-buttons .wp-block-button__link {
		width: 80%;
		min-width: 260px;
        text-align: center;
        margin: 20px auto 0;
        font-weight: bold;
    }
    .sub-section .wp-block-buttons .wp-block-button__link {
        min-width: initial;
        max-width: 260px;
    }
}

.wp-block-button {
    width: 100%;
    margin: 10px auto 0;
}

.wp-block-button__link {
    width: 80%;
    margin: auto;
    display: block;
    transition: .3s;
    position: relative;
    font-size: 20px;
    padding: 10px;
    padding-right: 30px;
}

@media screen and (max-width: 991px) {
    .wp-block-button__link {
        font-size: 20px;
        padding: 15px 10px;
    }
}

.wp-block-button__link.footer-contact-btn {
    background-color: transparent;
    border: solid 1px #333;
    color: #333;
    font-size: 16px;
    margin: 0;
    width: 100%;
    max-width: 200px;
}
@media (hover:hover) {
    .wp-block-button__link.footer-contact-btn:hover {
        background-color: #333;
        color: #fff;
    }
}
@media (hover:none) {
    .wp-block-button__link.footer-contact-btn:active {
        background-color: #333;
        color: #fff;
    }
}
@media screen and (max-width:991px) {
    .wp-block-button__link.footer-contact-btn {
        padding: 10px;
        padding-right: 30px;
    }
}
@media screen and (max-width:769px) {
    .wp-block-button__link.footer-contact-btn {
        margin-top: 15px;
        margin-right: 0;
        margin-left: auto;
    }
}
.wp-block-button__link.footer-contact-btn::after {
    filter: brightness(0.25);
    right: 10px;
}

@media (hover:hover) {
    .wp-block-button__link.footer-contact-btn:hover::after {
        filter: brightness(1);
    }
}
@media (hover:none) {
    .wp-block-button__link.footer-contact-btn:active::after {
        filter: brightness(1);
    }
}

.widget_link_list-category a{
    color: #4a4a4a;
}

@media screen and (max-width: 991px) {
    .widget_link_list-category a{
        padding: 1.5em !important;
        font-size: 16px;
    }
}

.localHead {
    position: relative;
    border-top: none;
    color: #3c98d5;
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 3px solid #e3e3e3;
}

.localHead::after {
    content: ".";
    line-height: 0;
    display: block;
    overflow: hidden;
    position: absolute;
    bottom: -3px;
    width: 30%;
    border-bottom: 3px solid #3c98d5;
}

#block-44 {
    padding-left: 20px;
}

.widget_block h4 {
    display: block;
    padding: 0;
    margin-bottom: 10px;
    border: none;
    background-color: #fff;
    position: relative;
    font-size: 14px;
}

.widget_block h4::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    background-color: #3c98d5;
}

.widget_block p {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 0;
}

@media screen and (max-width: 991px) {
    .sub-section {
        width: 90%;
        margin: 0 auto;
    }

    #block-43 {
        width: 100%;
    }
}

.wp-block-preformatted {
    display: none;
}

.widget_media,
.widget_link_list-archive {
    display: none;
}

.sub-section-title {
    position: relative;
    border-top: none;
    color: #3c98d5;
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 3px solid #e3e3e3;
}

.sub-section-title::after {
    content: ".";
    line-height: 0;
    display: block;
    overflow: hidden;
    position: absolute;
    bottom: -3px;
    width: 30%;
    border-bottom: 3px solid #3c98d5;
}

/* price */

.wp-block-table {
    margin: 10px 0 24px;
}

.wp-block-table tr:first-child td {
    background-color: #EDEDED;
}

.wp-block-table td {
    padding: 10px 15px;
}

/* philosophy */

.has-medium-font-size .marker {
    background: linear-gradient(to bottom, transparent 60%, #fff799 60%) !important;
}

.flame01 {
    margin: 2em auto;
    width: 100%;
    background-color: #f8f8f8;
    border-radius: 1px;
    padding: 10px;
    border: none;
}

.flame01 ol {
    margin: 15px;
    padding: 0;
}

.flame01 ol li {
    font-size: 18px;
    list-style: none;
    line-height: 1.8;
    margin-top: 20px;
}

.flame01 ol li .num {
    display: inline-block;
    font-size: 24px;
    color: #3c98d5;
    font-weight: bold;
    line-height: 1;
    margin-right: 10px;
}

/* result */
.vk_post-btn-display.media .vk_post_body {
    padding-bottom: 0;
}

.vk_post-btn-display .vk_post_btnOuter {
    position: static;
    margin-top: 20px;
}

.vk_post .vk_post_btn {
    width: 150px;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #c6c6c6;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

@media (max-width: 980px) {
    .vk_post_imgOuter_singleTermLabel {
        display: none;
    }
}

@media (min-width: 980px) {
    .vk_post_imgOuter_singleTermLabel {
        background-color: #5397CF !important;
    }
}

/* fqq */
.qaContainer dt {
    padding: 10px 10px 10px 35px;
    border-radius: 5px;
    background: #f0f0f0;
    margin-bottom: 10px;
    color: #3c98d5;
    margin-bottom: 10px;
    font-size: 14px;
    text-indent: -24px;
}

.qaContainer dd {
    margin: 20px 10px 40px 35px;
    font-size: 14px;
    text-indent: -20px;
}

.qaContainer dt:before {
    content: "Q.";
    font-weight: bold;
    margin-right: 7px;
}

.qaContainer dd:before {
    content: "A.";
    color: #3c98d5;
    font-weight: bold;
    margin-right: 7px;
}

/* about */
/* #post-12>.entry-body h2 {
    position: relative;
    margin-left: 60px;
    font-size: 28px;
    font-weight: 400;
    border-bottom: 2px solid #66cbc5;
    padding: 0;
    counter-increment: number !important;
}

@media screen and (max-width: 991px) {
    #post-12>.entry-body h2 {
        font-size: 20px;
    }
}

#post-12>.entry-body h2::before {
    content: counter(number) !important;
    width: 48px !important;
    height: 48px !important;
    border: 1px solid;
    position: absolute;
    top: 50%;
    transform: translate(-60px, -50%);
    background: #66cbc5 !important;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
    color: #FFF;
} */


/* ====見積もり==== */

.page-id-1995 #site-header-container,
.page-id-1999 #site-header-container,
.page-id-2031 #site-header-container,
.page-id-1997 #site-header-container {
    padding-top: 5px;
    padding-bottom: 5px;
}

.page-id-1995 #headContactInner,
.page-id-1999 #headContactInner,
.page-id-2031 #headContactInner,
.page-id-1997 #headContactInner {
    display: none;
}

.page-id-1995 .button_wrapper,
.page-id-1999 .button_wrapper,
.page-id-2031 .button_wrapper,
.page-id-1997 .button_wrapper {
    display: none;
}

.page-id-1995 #footer_cta,
.page-id-1999 #footer_cta,
.page-id-2031 #footer_cta,
.page-id-1997 #footer_cta {
    display: none;
}

.page-id-1995 a {
    color: #3c98d5;
}

form #order-step {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    margin-top: -30px;
}

form #order-step li {
    width: calc(100% / 5 - 25px);
    height: 36px;
    min-width: 85px;
    margin-right: 25px;
    color: #666666;
    background-color: #CCCCCC;
    position: relative;
    line-height: 2;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 0 10px;
}

@media (max-width: 770px) {
    form #order-step li {
        width: calc(100% / 5 - 25px);
        font-size: 12px;
        height: 24px;
    }
}

#order-step li::after {
    display: none;
}

#order-step li::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 0 18px 17px;
    border-color: transparent transparent transparent #CCCCCC;
    top: 50%;
    right: -17px;
    transform: translateY(-50%);
}

@media screen and (max-width: 780px) {
    #order-step li::before {
        border-width: 12px 0 12px 12px;
        right: -12px;
    }
}

form #order-step li.current {
    background-color: #3c98d5;
    color: #fff;
    font-weight: normal;
}

#order-step li.current::before {
    border-color: transparent transparent transparent #3c98d5;
}

.wpcf7-form-control-wrap .wpcf7-validates-as-date {
    width: 180px;
    height: 40px;
    font-size: 1.2rem;
}

.wpcf7-form h2::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 4px;
    background: url('images/underline_blue.png') left center /cover repeat;
    bottom: 0;
    left: 0;
}

.order_button input.wpcf7-form-control.wpcf7-submit,
#content form input.wpcf7-submit {
    border-radius: 40px !important;
}

form .flame01 {
    margin: 2em auto;
    padding: 2em .5em 2em 1.5em;
    width: 90%;
    border: 3px double #666666;
    background-color: #f8f8f8;
    border-radius: 1px;
}

form .flame01 .checkbox-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.order_select_type {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto;
    gap: 10px;
}

@media screen and (max-width:780px) {
    .order_select_type {
        grid-template-columns: 1fr;
    }
    .order_select_type>* {
        grid-column: 1;
    }
}

.order_select_type label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order_select_type label input {
    margin: 0;
    width: 18px;
    height: 18px;
}

@media (max-width: 979px) {
    form .flame01 {
        width: 100%;
    }
}


form .wp-block-image {
    max-width: 200px;
}

.order_menu_table {
    border: none;
    margin: 25px 0;
}

.order_menu_title {
    line-height: 1.3;
    font-size: 1.2em;
    font-weight: 700;
    color: #3C98D5;
    margin-bottom: 10px;
}

.home_other_toggle_box {
    display: flex;
    justify-content: center;
    width: 90%;
    max-width: 260px;
    margin: 15px auto;
    padding: 10px 0;
    border-radius: 20px;
    background: #2B7CB9;
    color: #fff;
    cursor: pointer;
    transition: .3s;
}

.order_sub_menu {
    display: none;
    height: 0;
    transition: .3s;    
}

.order_sub_menu.toggle_show {
    display: block;
    height: auto;
}
span.must {
    display: inline-block;
    background: #ea4c44;
    color: #FFF;
    border-radius: 30px;
    font-size: 12px;
    margin-left: 10px;
    padding: 4px 8px;
    letter-spacing: 0.1em;
}

.order_menu_price {
    font-size: 1.2em;
    font-weight: 700;
    display: inline-flex;
}

input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-number {
    max-width: 3em;
    font-size: 1.4em;
    padding: 4px;
    margin-right: 10px;
}

select.wpcf7-form-control.wpcf7-select_custom {
	max-width: 3em;
	font-size: 1.5em;
	padding: 4px;
	border: 2px solid #666;
	margin-right: 10px;
}

.open_option {
    position: relative;
    padding: 16px;
    min-width: 120px;
    max-width: 100%;
    background: #f3faff;
}

.open_option::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 70%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-bottom: 15px solid #e0edff;
}

.order_menu_table.order_optionmenu_table th {
    background-color: #f5f5f5;
}

.wpcf7-form-control.wpcf7-total.wpcf7-calculated.ctf7-total {
    max-width: 200px;
    margin: 0 8px;
    text-align: right;
    border: 2px solid #3c98d5;
    font-size: 20px;
    font-weight: 400;
    padding: 10px 15px;
}

.wpcf7-form-control.wpcf7-total.wpcf7-calculated.ctf7-total.discount {
    position: relative;
    font-size: 18px;
    padding: 10px 15px;
    color: #CC3E36;
}

.wpcf7-form-control.wpcf7-total.wpcf7-calculated.ctf7-total.discount::before {
    display: block;
    content: '';
    width: 10px;
    height: 3px;
    background: #CC3E36;
    position: absolute;
    top: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.order_btn_microcopy {
    font-size: 16px;
    font-weight: bold;
    color: #ea4c44;
    text-align: center;
    margin-top: 40px;
    transform: translateY(40px);
}

.order_btn_microcopy:before {
    content: '＼';
    margin-right: 1rem;
}

.order_btn_microcopy:after {
    content: '／';
    margin-left: 1rem;
}

.order_btn {
    width: 100%;
    margin: 40px auto 0;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.order_btn input {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    background: #ea4c44;
    padding: 20px 42px;
    border-radius: 30px;
    border: none;
    transition: opacity 0.3s;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}

.order_btn.btn_align_left input {
    margin: 10px 0;
}

.order_btn input:hover {
    margin-top: 15px;
    background: #cc3e36;
}

.wpcf7-form-control.wpcf7-previous {
    background-color: #b0b0b0;
    color: #FFF;
    width: 80px;
    padding: .5rem 0;
    border-radius: 40px;
    text-align: center;
    font-weight: 400;
}

.wpcf7-form-control.wpcf7-previous:hover {
    background-color: #a0a0a0;
}

.wpcf7 .ajax-loader {
    display: none;
}

.wpcf7-list-item {
    width: auto;
    display: inline-block;
    margin-right: 10px;
    margin-left: 0;
    margin-top: 5px;
}

.contactway .wpcf7-list-item > label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wpcf7-form-control-wrap input {
    margin-top: 10px;
}

.wpcf7-form-control-wrap input[name="contactway"] {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
}

.wpcf7-form-control-wrap .wpcf7-textarea{
    margin-top: 10px;
}

/* 確認画面 */
.confirm-table th {
    background: #eee;
}

.confirm-table td {
    font-size: 16px;
}

/* add */

.device-mobile .global-nav-list>li {
    padding: 15px;
}

@media screen and (max-width: 980px) {
    .device-mobile .global-nav-list>li {
        border-bottom: 1px solid #e0edff;
    }
}

.device-mobile .global-nav-list>li .global-nav-name {
    font-size: 14px;
    font-weight: bold;
}

#global-nav {
    margin-top: 0px;
}

@media (min-width: 980px) {
    #global-nav {
        margin-top: 30px;
    }
}

@media screen and (max-width: 991px) {
    .entry-body {
        width: 90%;
        margin: 0 auto;
    }
}

#toc_container {
    margin: 0 auto;
    border: none;
    padding: 0px 30px 30px;
    box-shadow: #7e7e7e 1px 1px 3px;
}

#toc_container p.toc_title {
    background-color: #3c98d5;
    color: #fff;
    width: 240px;
    margin: -15px auto 0;
    font-weight: normal;
    letter-spacing: 2px;
}

.toc_list li a {
    color: #3c98d5;
    line-height: 1.8;
}

.toc_toggle {
    margin-left: 30px;
    font-size: 12px !important;
}

.toc_toggle a {
    color: #fff;
}


@media screen and (max-width: 991px) {
    .post-list {
        width: 90%;
        margin: 0 auto 80px !important;
    }
}

#kiyaku_frame {
    height: 200px;
}

.kiyaku_wrap {
    overflow-y: scroll;
    height: 100%;
}

.kiyaku_wrap ol li,
.kiyaku_wrap p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.kiyaku_wrap ol li {
    list-style: decimal;
}

#post-28 p a {
    color: #3c98d5;
}


/* 3PR */

.wp-container-8{
    margin-bottom: 45px !important;
}

.pr_container {
    margin: -15px 0 0 0;
}
.pr_container .right .wp-block-button {
    width: 150px;
    margin: 0 0 0 auto;
}

.pr_container .right .wp-block-button__link {
	min-width: 150px;
    font-size: 14px;
    padding: 10px 30px 10px 20px;
    margin-top: -10px;
    transition: .3s;
}

@media (hover:hover) {
    .pr_container .right .wp-block-button__link:hover {
        filter: initial;
        background: #6EADDD;
    }
}

@media (hover:none) {
    .pr_container .right .wp-block-button__link:active {
        filter: initial;
        background: #6EADDD;
    }
}

.wp-block-button__link::after {
    width: 12px;
    height: 12px;
}

.pr_container .right .wp-block-button__link::after {
    right: 12px;
}

@media screen and (max-width: 991px) {
    .pr_container {
        margin: 0;
    }

    .wp-container-8 {
        margin-top: 30px;
        gap: 1em;
    }

    .wp-container-8 h3 {
        font-size: 16px;
        margin: 0 0 20px;
    }

    .pr_container {
        display: flex;
    }

    .pr_container .right {
        width: 80%;
    }

    .pr_container .right p {
        margin-left: 20px;
        line-height: 1.5;
    }

    .pr_container .right .wp-block-button__link {
        margin-top: 0px;
    }
}

/* 求人 */
.rewardArea .rewardList li {
    box-sizing: border-box;
    margin-left: 0;
    padding: 24px 15px 20px;
    text-align: center;
    width: 32%;
    list-style: none;
}

.rewardArea .rewardList li .has-small-font-size {
    font-size: 13px !important;
}

@media screen and (max-width: 991px) {
    .rewardArea .rewardList li {
        width: 100%;
    }
}

.rewardListA {
    background-color: #f1e180;
}

.rewardListB {
    background-color: #e4e5e6;
}

.rewardArea .rewardList {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

@media screen and (max-width: 991px) {
    .rewardArea .rewardList {
        display: block;
    }
}

.rewardArea .rewardList .reward_desc {
    font-size: 40px;
    margin-bottom: 24px;
}

.page-id-689 .wpcf7-submit,
.page-id-15 .wpcf7-submit {
    width: 500px;
    border-radius: 40px;
    font-size: 18px;
    background: #ea4c44;
    border: none;
    text-align: center;
    padding: 15px 0;
    transition: .3s;
    font-weight: bold;
    letter-spacing: 2px;
}
@media (hover: hover) {
    .page-id-689 .wpcf7-submit:hover,
    .page-id-15 .wpcf7-submit:hover {
        opacity: .6;
    }
}

@media (hover: none) {
    .page-id-689 .wpcf7-submit:active,
    .page-id-15 .wpcf7-submit:active {
        opacity: .6;
    }
}
@media screen and (max-width: 991px) {
    .page-id-689 .wpcf7-submit {
        width: 90%;
        padding: 20px 0;
    }
}

.page-id-689 .btn_wrapper {
    text-align: center;
}

.page-id-689 .wp-block-table tr:first-child td {
    background-color: #fff;
}

.page-id-689 th{
    background-color: #f5f5f5;
}

.page-id-689 dt{
    color: #3c98d5;
    margin-top: 30px;
}

/* お問い合わせ */

.page-id-15 .wpcf7-submit {
    width: 500px;
    border-radius: 40px;
    font-size: 18px;
    background: #ea4c44;
    border: none;
    text-align: center;
    padding: 15px 0;
    transition: .3s;
    font-weight: bold;
    letter-spacing: 2px;
}

@media (hover: hover) {
.page-id-689 .wpcf7-submit:hover {
    opacity: .6;
}
}

@media (hover: none) {
.page-id-689 .wpcf7-submit:hover {
    opacity: .6;
}
}
@media screen and (max-width: 991px) {
    .page-id-15 .wpcf7-submit {
        width: 90%;
        padding: 20px 0;
    }
}

.page-id-15 .btn_wrapper {
    text-align: center;
}

.vk_post .media-img {
    aspect-ratio: 1 / 1;
}

.post-type-post .wp-block-button__link{
	border-radius: 40px;
}

@media screen and (max-width: 991px) {
	.post-type-post .wp-block-button__link{
		font-size: 16px;
	}
}

@media screen and (max-width: 991px) {
	.post-type-post .next-prev {
		width: 90%;
		margin: 0 auto;
	}
}

@media screen and (max-width: 991px) {
	.post-type-post .entry-meta-data-list {
		width: 90%;
		margin: 0 auto;
	}
}

/* 利用規約・プライバシーポリシー */
.main-section--col--two .entry-body .terms h2::before {
    display: none;
}

.entry-body .terms h2 {
    border-left: solid 5px #3c98d5;
    padding: 0 0 0 10px;
}

.entry-body .terms p {
    font-size: 14px;
}

.terms ol li {
    font-size: 14px;
    list-style: decimal;
}