@charset "UTF-8";

/*------------------------about------------------------*/

#about+div {
    padding-top: 180px;
}

.block_table_1 table tr {
    border-bottom: 1px dotted #939393;
}

.block_table_1 table th {
    font-weight: 500;
    border-bottom: 1px dotted #333 !important;
}

.block_table_1 table th,
.block_table_1 table td {
    border: none;
    background: none;
    text-align: left;
    padding-bottom: 30px;
    padding-top: 30px;
}

.block_table_1 table td {
    padding-left: 20px;
}

.block_table_1 table tr:first-of-type th,
.block_table_1 table tr:first-of-type td {
    border-top: none;
    padding-top: 0;
}

@media screen and (max-width: 450px) {
    .block_table_1 table th {
        width: auto !important;
    }
}

/*------------------------greeting------------------------*/

a[id^="greeting"]+section .heading.block_header_2 .h {
    font-size: 2.5rem;
}

a[id^="greeting"]+section .heading.block_header_2 p {
    font-size: 1.8rem;
    font-family: "Jost", sans-serif;
    font-weight: 400;
    letter-spacing: 0rem;
}

a[id^="greeting"]+section.contents_box01 .inner_item_txt {
    border: 1px solid #707070;
    height: auto;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 40px !important;
    margin-left: 5%;
    border-radius: 50px 0 50px 0;
}

a[id^="greeting"]+section .wrapper_item {
    align-items: inherit !important;
}

#greeting_1+section.contents_box01 .inner_item_txt {
    margin-left: 0;
    margin-right: 5%;
}

@media screen and (min-width: 801px) {
    a[id^="greeting"]+section>.content_wrapper {
        display: flex;
    }

    a[id^="greeting"]+section .heading.block_header_6 {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-bottom: 0;
        align-items: flex-start;
        padding-right: 15px;
    }

    #greeting_1+section>.content_wrapper {
        flex-direction: row-reverse;
    }

    #greeting_1+section .heading.block_header_6 {
        padding-right: 0;
        padding-left: 15px;
    }
}

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

    a[id^="greeting"]+section.contents_box01 .inner_item_txt,
    #greeting_1+section.contents_box01 .inner_item_txt {
        margin-left: 0;
        margin-right: 0;
    }
}

/*------------------------expert------------------------*/

#expert+div .inner_item_img img {
    border-radius: 50px 0 50px 0;
}

#expert+div .inner_item .heading {
    border-bottom: 1px dotted #707070;
    padding-bottom: 20px;
}

/*------------------------contact------------------------*/

#cta+div .heading.block_header_6 {
    margin-bottom: 30px !important;
}

#cta+div>.content_wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cta+div>.content_wrapper:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("/common/upload_data/wellsiscojp/image/c_bg_6.jpg") no-repeat top center / cover;
    pointer-events: none;
}

/*------------------------sp余白------------------------*/

@media screen and (max-width: 900px) {
    #about+div {
        padding-top: 100px;
    }

    .pt80,
    .pt30 {
        padding-top: 0 !important;
    }
}

/*------------------------lv------------------------*/

@media screen and (max-width: 800px) {
    .parallax_img {
        background-position: 80% 50% !important;
    }
}

/*------------------------headerナビ------------------------*/

@media screen and (min-width: 1080px) {
    body:not(.scrolled) header nav ul.nav_1st>li>a span {
        color: #fff;
    }

    body:not(.scrolled) header#pattern2 nav ul.nav_1st>li:not(:last-of-type)>a span {
        text-shadow: none;
    }

}

@media screen and (min-width: 901px) {
    body:not(.scrolled) header h1 {
        color: #fff;
    }
}

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

    body:not(.scrolled) header:not(.open) .sp_menu a div span,
    body:not(.scrolled) header:not(.open) .sp_menu a div::before,
    body:not(.scrolled) header:not(.open) .sp_menu a div::after {
        background: var(--i_bg_color);
    }
}