@charset "UTF-8";



/*///////////////////////////
reset
///////////////////////////*/

.block-editor li::marker {
    display: none;
}
.breadcrumbs {
    font-size:1.4rem;
    margin: 3rem 0 4rem;
    max-width: 1520px;
    padding-bottom: 1rem;
    width: 96%;
    color: #e56038;
    font-weight: bold;
    padding-left: 0.5em;
    white-space: nowrap;
    overflow: auto;
}
.breadcrumbs > span,
.breadcrumbs .container > span {
    display: inline-block;
    margin: 0 1rem;
    font-weight: normal;
    color: #000;
}
.breadcrumbs > span:first-child,
.breadcrumbs .container > span:first-child {
    margin-left: 0;
}
.breadcrumbs > span a,
.breadcrumbs .container > span a{
    display: inline-block;
    border-bottom: 1px solid;
    padding-bottom: 0.6rem;
    transition: 0.2s;
}
.breadcrumbs > span a:hover,
.breadcrumbs .container > span a:hover{
    color: #e56038;
    border-color: #e56038;
    opacity: 1;
}

.breadcrumbs{

}
.breadcrumbs::-webkit-scrollbar{
   height: 3px;
}
.breadcrumbs::-webkit-scrollbar-track{
   background-color: #efefef;
}
.breadcrumbs::-webkit-scrollbar-thumb{
   background-color: #ccc;
}


@media screen and (max-width : 767px) {
    .breadcrumbs {
        padding: 1rem 0;
        overflow: auto;
        white-space: nowrap;
        text-align: left;
        font-size: 1.2rem;
        margin: 1rem 0 0;
    }
}


/*///////////////////////////
eng-title
///////////////////////////*/
.h2-eng-title{
    font-size: 2rem!important;
    margin-bottom: 0!important;
}
.h2-eng-title.h2-eng-title--large{
    font-size: 3.8rem!important;
}

.h2-eng-title + h2{
    margin-top: 0!important;
}

@media screen and (max-width : 767px) {
    .h2-eng-title.h2-eng-title--large{
        font-size: 1.8rem!important;
    }

    .h2-eng-title.h2-eng-title--large{
        font-size: 2.1rem!important;
    }


}
/*///////////////////////////
color
///////////////////////////*/
:root {
    --color-custom-orange: #e56038;
    --color-custom-beige: #f6f2f0;
    --color-custom-gray: #f5f5f5;
    --color-custom-black: #222;
    --color-custom-white: #fff;
    --color-custom-green: #009251;
    --color-custom-blue: #388de5;
    --color-custom-purple: #a56bdb;
}
.has-custom-orange-color {
    color: var(--color-custom-orange);
}
.has-custom-beige-color {
    color: var(--color-custom-beige);
}
.has-custom-gray-color {
    color: var(--color-custom-gray);
}
.has-custom-black-color {
    color: var(--color-custom-black);
}
.has-custom-white-color {
    color: var(--color-custom-white);
}
.has-custom-green-color {
    color: var(--color-custom-green);
}
.has-custom-blue-color {
    color: var(--color-custom-blue);
}
.has-custom-purple-color {
    color: var(--color-custom-purple);
}
.has-custom-orange-background-color {
    background-color: var(--color-custom-orange);
}
.has-custom-beige-background-color {
    background-color: var(--color-custom-beige);
}
.has-custom-gray-background-color {
    background-color: var(--color-custom-gray);
}
.has-custom-black-background-color {
    background-color: var(--color-custom-black);
}
.has-custom-white-background-color {
    background-color: var(--color-custom-white);
}
.has-custom-green-background-color {
    background-color: var(--color-custom-green);
}
.has-custom-blue-background-color {
    background-color: var(--color-custom-blue);
}
.has-custom-purple-background-color {
    background-color: var(--color-custom-purple);
}

/*///////////////////////////
page-title
///////////////////////////*/


.page-title-box {
    margin: 8rem auto 3rem;
    position: relative;
}

.page-title__h1 {
    font-size: 4.6rem;
    text-align: left;
    position: relative;
}
.page-title__h1::before {
    position: absolute;
    top: -.5em;
    FONT-VARIANT: JIS04;
    z-index: -1;
    width: 100%;
    height: 1em;
    content: "SHIN NIHON GROUP";
    color: #f6f2f0;
    font-size: 12rem;
    line-height: 1em;
    white-space: nowrap;
}
.page-title__eng{
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #e56038;
    font-size: 2.4rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: bold;
    transform: rotate(0.03deg);
    padding-left: 0.4rem;
}
@media screen and (max-width : 767px) {

    .page-title-box {
        margin: 2rem auto 0;
        position: relative;
    }

    .page-title__h1 {
        font-size: 2.4rem;
    }
    .page-title__h1::before {
        position: absolute;
        top: -43px;
        left: -5rem;
        z-index: -1;
        width: 20.6rem;
        height: 20.6rem;
        background: url(../img/common/img_dot.png) no-repeat center center/contain;
        content: "";
    }
    .page-title__eng{
        font-size: 1.6rem;
        margin: auto;
    }
}


/*============================================================================================================
base
============================================================================================================*/

/*///////////////////////////
container
///////////////////////////*/

.block-editor {
    padding: 0;
    overflow: hidden;
    position: relative;
}


/*///////////////////////////
p,li,a
///////////////////////////*/

.block-editor p {
    margin-bottom: 3rem;
    line-height: 2;
    letter-spacing: .05em;
}


.block-editor p>a,
.block-editor li>a {
    display: inline-block;
    padding: 0 0 0.2rem;
    border-bottom: 1px solid #e56038;
    transition: opacity .3s;
}

.block-editor p>a:hover,
.block-editor li>a:hover {
    opacity: .7;
}

.block-editor ul,
.block-editor ol {
    margin: 4rem auto;
}
.block-editor ul:last-child,
.block-editor ol:last-child {
    margin-bottom: auto;
}
.block-editor .wp-block-column ul,
.block-editor .wp-block-column ol {
    margin: 2rem auto;
}

.block-editor ul li,
.block-editor ol li {
    margin: 0 auto 2.7rem;
    padding-left: 3rem;
    position: relative;
    font-size: 1.8rem;
}
.block-editor ul li:last-child,
.block-editor ol li:last-child{
    margin-bottom: 0;
}
.block-editor ul li {
    padding-left: 2rem;
}

.block-editor ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    /* transform: translateY(-50%); */
    width: 1rem;
    height: 1rem;
    background: #e56038;
    border-radius: 50%;
}
.block-editor ul.list-large li::before {
    top: 0.7em;
    
}
.block-editor ul li ul,
.block-editor ol li ol {
    padding-bottom: 0;
    margin: 2rem 0;
    margin-left: .4rem;
}

.block-editor ul li ul li {
    padding-left: 3rem;
}

.block-editor ul li ul li::before {
    top: 1rem;
    width: .8rem;
    height: .8rem;
    background: #111;
}

.block-editor ol {
    counter-reset: num;
}

.block-editor ol li::before {
    counter-increment: num;
    content: counter(num);
    position: absolute;
    top: 1em;
    left: 0;
    transform: translateY(-50%);
    background: #e56038;
    color: #fff;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.block-editor ol.has-background,
.block-editor ul.has-background {
    padding: 5rem;
}



@media screen and (max-width : 767px) {
    .block-editor {
        padding: 5rem 0;
    }

    .block-editor p {
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .block-editor p {
        font-size: 1.4rem;
    }

    .block-editor .container>p:first-of-type {
        margin-bottom: 5rem;
    }

    .block-editor ul,
    .block-editor ol {
        margin: 4.3rem auto;
    }

    .block-editor ul li,
    .block-editor ol li {
        margin: 0 auto 1.7rem;
        padding-left: 2rem;
        font-size: 1.4rem;
    }

    .block-editor ul li::before {
        top: 0.6em;
        width: .7rem;
        height: .7rem;
    }

    .block-editor ul.list-large li::before{
        top: 0.8em;
    }

    .block-editor ol li::before {
        width: 1.6rem;
        height: 1.6rem;
        padding: 0 0 0.1rem 0;
        font-size: 1.1rem;
    }

    .block-editor ol.has-background,
    .block-editor ul.has-background {
        padding: 2rem;

    }
}


/*///////////////////////////
iframe
///////////////////////////*/

.block-editor iframe {
    max-width: 100%;
    margin: 0 auto 2rem;
    display: block;
}

.block-editor .wp-block-embed iframe {
    max-width: 100%;
    display: block;
    margin: auto;
}

.block-editor .youtube iframe {
    height: 200px!important;
}

/*///////////////////////////
table
///////////////////////////*/

.block-editor .wp-block-table {
    margin: 3rem auto 9rem;
}

.block-editor .wp-block-table table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    position: relative;
}

.block-editor .wp-block-table table th,
.block-editor .wp-block-table table td {
    padding: 2rem 3rem;
    background: #fff;
    font-size: 1.8rem;
    letter-spacing: .05em;
    border-spacing: 0;
    border: 0;
    /* border-top: 1px solid #ccc; */
    border-bottom: 1px solid #ccc;
}



.block-editor .wp-block-table table td:first-child,
.block-editor .wp-block-table table th:first-child {
    max-width: 34rem;
    min-width: 20rem;
    width: auto;
    background: #f5f5f5;
    font-weight: bold;
    text-align: left;
    vertical-align: top;
}

.block-editor .wp-block-table table span.must,
span.must{
    color: #d76f81;
}

@media screen and (min-width : 768px) {
    .block-editor .wp-block-table table tr:first-child th,
    .block-editor .wp-block-table table tr:first-child td {
     border-top: 1px solid #ccc; 
 }
}

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

    .block-editor .wp-block-table {
        margin: 3rem auto;
    }

    .block-editor .wp-block-table table th{
        border: 1px solid #d5d9d9;
    }

    .block-editor .wp-block-table table th,
    .block-editor .wp-block-table table td {
        display: block;
        width: 100%;
        padding: 1.2rem 1.5rem;
        font-size: 1.4rem;
    }
    .block-editor .wp-block-table table td:first-child,
    .block-editor .wp-block-table table th:first-child {
        max-width: 100%;
        min-width: 0;
        border-top:1px solid #d5d9d9;
    }
    .block-editor .wp-block-table table tr:first-child td:first-child,
    .block-editor .wp-block-table table tr:first-child th:first-child{
    }
    
    .block-editor .wp-block-table table {
    }
    .block-editor .wp-block-table table tr:first-child th:first-child, .block-editor .wp-block-table table tr:first-child td:first-of-type {
    }

    .block-editor .wp-block-table table td {
        border-bottom: none;
    }

    .block-editor .wp-block-table table td:first-child,
    .block-editor .wp-block-table table th {
        width: 100%;
        text-align: center;
    }
    .block-editor .wp-block-table table tr:last-child th, .block-editor .wp-block-table table tr:last-of-type td {
        border-bottom: 1px solid #ccc;
    }


}

/*///////////////////////////
heading
///////////////////////////*/
.block-editor h2 {
    margin: 10rem auto 6rem;
    border-radius: 1rem;
    font-size: 4rem;
    letter-spacing: 0.05em;
    line-height: 1.4545454545;
    position: relative;
}
/*.block-editor h2:after {
    position: absolute;
    bottom: 0;
    left:0;
    width: 20rem;
    height: 0.4rem;
    background: #e56038;
    content: "";
}*/

.block-editor .container > h2:first-child {margin-top: 5rem;}

.block-editor h2.has-background {
    padding: 1.5rem 3rem;
    line-height: 1.6;
    border-radius: 1rem;
}
.block-editor h2.has-background:after {
    content:none;
    background: none;
}

.block-editor h2.has-text-align-center {
    position: relative;
}
.block-editor h2.has-text-align-center:after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.block-editor h2.has-background.has-text-align-center {}


.block-editor h3 {
    margin: 2.5em 0 1.2em;
    padding: 0 0 1rem;
    font-size: 2.8rem;
    line-height: 1.8;
    letter-spacing: .05em;
    display: table;
    border-bottom: 1px solid #e56038;
    font-weight: bold;
}


.block-editor h3.has-text-align-center {
    margin-left: auto;
    margin-right: auto;
}

.block-editor h3.has-background.has-text-align-center {}

.block-editor h4 {
    margin: 2em 0 1em;
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: .05em;
    line-height: 1.6;
    padding-bottom: 1.8rem;
    display: table;
}

.block-editor h4.has-background {}

.block-editor h4.has-text-align-center {
  margin-left:auto;
  margin-right:auto;
}

.block-editor h4.has-background.has-text-align-center {}

.block-editor h5 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 2.5em 0 1.5em;
    border-bottom: 1px dotted #e56038;
    padding-bottom: 1rem;
    display: table;
}

.block-editor h5.has-background {}

.block-editor h5.has-text-align-center {
  margin-left:auto;
  margin-right:auto;
}

.block-editor h5.has-background.has-text-align-center {}

.block-editor h6 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 2.5em auto 1.5em;
}

.block-editor h6.has-background {}

.block-editor h6.has-text-align-center {}

.block-editor h6.has-background.has-text-align-center {}

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

    .block-editor h2 {
        font-size: 2.2rem;
        margin: 3em auto 1.5em;
    }

    .block-editor h3 {
        font-size: 2rem;
        line-height: 1.4;
        margin: 4em 0 1.5em;
    }

    .block-editor h4 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin: 4em auto 1.5em;
        padding-bottom: 1.8rem;
    }

    .block-editor h5 {
        font-size: 1.6rem;
        margin: 2em auto 1em;
    }

    .block-editor h6 {
        font-size: 1.6rem;
        margin: 1.5em auto .75em;
    }

}

.block-editor h2 a {
    display: inline-block;
    padding-right: 1.5em;
    position: relative;
}

.block-editor h2 a::after {
    content: "";
    position: absolute;
    border: transparent solid;
    border-left-color: #e56038;
    border-width: 0.3em 0.5em;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0.05em;
}


/*///////////////////////////
wp-block-column
///////////////////////////*/

.block-editor .wp-block-columns {
    margin: 4rem auto;

}

.block-editor .wp-block-columns.has-background {
    padding: 2em;
    border-radius: 1rem;
}

.block-editor .wp-block-columns.has-background .wp-block-column {
    margin-top: 0;
    margin-bottom: 0;
}

.block-editor .wp-block-column {
    margin: 3rem auto;
    position: relative;
}
.block-editor .wp-block-column.has-background {
    padding: 2rem;
    border-radius: 3rem;
}

.block-editor .wp-block-column h2:first-child,
.block-editor .wp-block-column h3:first-child,
.block-editor .wp-block-column h4:first-child,
.block-editor .wp-block-column h5:first-child,
.block-editor .wp-block-column h6:first-child {
    margin-top: 0;
}

.block-editor .wp-block-column figure.wp-block-image+h2,
.block-editor .wp-block-column figure.wp-block-image+h3,
.block-editor .wp-block-column figure.wp-block-image+h4,
.block-editor .wp-block-column figure.wp-block-image+h5,
.block-editor .wp-block-column figure.wp-block-image+h6 {
    margin-top: 2rem;
}


.block-editor .wp-block-column figure.wp-block-image:only-of-type {
    margin-bottom: 0;
}

@media screen and (max-width : 767px) {
    .block-editor .wp-block-columns{
        margin: 2rem auto;
    }

    .block-editor .wp-block-column figure.wp-block-image+h2,
    .block-editor .wp-block-column figure.wp-block-image+h3,
    .block-editor .wp-block-column figure.wp-block-image+h4,
    .block-editor .wp-block-column figure.wp-block-image+h5,
    .block-editor .wp-block-column figure.wp-block-image+h6 {
        font-size: 1.8rem;
    }

    /* .block-editor .wp-block-columns .wp-block-column>*:last-child {
        margin-bottom: 0;
        } */
        .block-editor .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column h3 {
            margin:0 0 1em;
        }
        .block-editor .wp-block-column {
            margin: 1.5rem auto;
        }
        .block-editor .wp-block-columns.has-background {
            padding: 2rem;
        }

    }

/*///////////////////////////
wp-block-quote
///////////////////////////*/

.block-editor .wp-block-quote {
    background: #f8f8f8;
    margin: 8rem auto;
    padding: 4rem 7rem;
    position: relative;
    border-radius: 1.5rem;
}

.block-editor .wp-block-quote::before {
    content: "";
    position: absolute;
    left: 2.2rem;
    top: -1.8rem;
    font-weight: bold;
    line-height: 1;
    width: 5.4rem;
    height: 4rem;
    background: url(../img/icon_blockquote01.svg) no-repeat;
    background-size:contain;
}

.block-editor .wp-block-quote::after {
    content: "";
    position: absolute;
    right: 2.2rem;
    bottom: -1.8rem;
    font-weight: bold;
    line-height: 1;
    width: 5.4rem;
    height: 4rem;
    background: url(../img/icon_blockquote01.svg) no-repeat right 0;
    background-size:contain;
}

.block-editor .wp-block-quote cite {
    font-style: normal;
    font-size: 1.4rem;
    color: #999999;
}

@media screen and (max-width : 767px) {
  .block-editor .wp-block-quote {
    padding: 3rem 1.5rem 4rem 2rem;
}
.block-editor .wp-block-quote::before,
.block-editor .wp-block-quote::after {
    background-size:85%;
}

}

/*///////////////////////////
wp-block-buttons
///////////////////////////*/

.block-editor .wp-block-buttons {
    margin: 4rem auto;
}

.block-editor .wp-block-buttons.is-content-justification-center {
    /* justify-content: space-evenly; */
}

.block-editor .wp-block-buttons .wp-block-button {
    display: block;
    margin: 2rem;
    max-width: 40rem;
    min-width: 25rem;
    width: auto;
}

.block-editor .wp-block-buttons .wp-block-button .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: auto;
    border: 3px solid #e5623a;
    border-radius: 6px;
    background: #e5623a;
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
    transition: background 0.3s, color 0.3s;
    padding: 1.5rem 4rem;
    font-weight: 700;
}

.block-editor .wp-block-buttons .wp-block-button .wp-block-button__link:hover {
    opacity: 1;
    background-color: #fff;
    color: #222;
}
}

.block-editor .wp-block-buttons .wp-block-button .wp-block-button__link:before {
    position: absolute;
    top: 50%;
    right: 2rem;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 1.6rem;
    height: 1.6rem;
    border: 2px solid #fff;
    border-radius: 50%;
    content: "";
    background: url(../img/common/img_arrow-small_pc.svg) no-repeat center right 1rem;
    background-size: 28px 8px;
}
.block-editor .wp-block-buttons .wp-block-button .wp-block-button__link:hover:after {
    -webkit-transform: translate(10px, -85%);
    transform: translate(10px, -85%);
}
.block-editor .wp-block-buttons .wp-block-button .wp-block-button__link:after {
    position: absolute;
    top: 50%;
    right: 1em;
    -webkit-transform: translateY(-85%);
    transform: translateY(-85%);
    width: 2.8rem;
    height: 0.8rem;
    background: url(../img/common/img_arrow-small_pc.svg) no-repeat center center/contain;
    content: "";
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}
.block-editor .wp-block-buttons .wp-block-button .wp-block-button__link:hover:before,
.block-editor .wp-block-buttons .wp-block-button .wp-block-button__link:hover:after {
}
.block-editor .wp-block-buttons .wp-block-button .wp-block-button__link {
    padding: 1.3em 3.8em;
}

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

    .block-editor .wp-block-buttons {
        margin: 3rem auto;
    }

    .block-editor .wp-block-buttons .wp-block-button {
        width: 100%;
        margin-top: auto;
        margin-bottom: auto;
    }

    .block-editor .wp-block-buttons .wp-block-button .wp-block-button__link::after {
        position: absolute;
        right: 2.4rem;
        top: 0.5em;
        bottom: 0;
        margin: auto;
    }

    .block-editor .wp-block-buttons .wp-block-button .wp-block-button__link {
        font-size: 1.4rem;
        margin: 0 auto 2rem;
        width: 100%;
        min-width: 100%;
        height: auto;
        min-height: 50px;
        padding: 1em 1.5em;
        border-radius: 10px;
    }

    .block-editor .wp-block-buttons .wp-block-button .wp-block-button__link::after {
        top: .5rem;
        right: -1rem;
    }
    .block-editor .wp-block-buttons .wp-block-button .wp-block-button__link:before {
      right:1rem;
  }
}


/*///////////////////////////
wp-block-image
///////////////////////////*/

.block-editor .wp-block-image {
    margin: 5rem auto;
}
.block-editor .wp-block-image figcaption {
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6;
}

.block-editor .wp-block-column figure.wp-block-image {
    position: relative;
}

.block-editor .wp-block-image .aligncenter>figcaption,
.block-editor .wp-block-image .alignleft>figcaption,
.block-editor .wp-block-image .alignright>figcaption {
    text-align: center;
    font-size: 1.4rem;
    /* color: #999; */
}

.block-editor .wp-block-image:not(.is-style-rounded) img, .blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .wp-block-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
    border-radius: 1rem;
}
.block-editor .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  margin: 0;
  padding: 1rem;
  border-radius: 0 0 1rem 1rem;
  background: rgba(255,255,255,.75);
  text-align: center;
  line-height: 1.4;
  font-size: .8em;
  color: #111;
}
.block-editor .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
  margin-bottom:4em;
}

@media screen and (max-width : 767px) {
  .block-editor .wp-block-image:not(.is-style-rounded) img, .blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .wp-block-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
    border-radius: 20px;
}
.block-editor .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    font-size:1.4rem;
    padding:0.5rem;
    margin: -2rem auto 0;
    width:95%;
}
.block-editor .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    margin-bottom:1rem;
}

}


/*///////////////////////////
blocks-gallery-grid
///////////////////////////*/

.block-editor .blocks-gallery-grid.columns-3 .blocks-gallery-image,
.block-editor .blocks-gallery-grid.columns-3 .blocks-gallery-item,
.block-editor .wp-block-gallery.columns-3 .blocks-gallery-image,
.block-editor .wp-block-gallery.columns-3 .blocks-gallery-item {
    padding-left: 0;
}

.block-editor .blocks-gallery-grid.columns-3 .blocks-gallery-image::before,
.block-editor .blocks-gallery-grid.columns-3 .blocks-gallery-item::before,
.block-editor .wp-block-gallery.columns-3 .blocks-gallery-image::before,
.block-editor .wp-block-gallery.columns-3 .blocks-gallery-item::before {
    display: none;
}

.block-editor .blocks-gallery-grid .blocks-gallery-image figcaption,
.block-editor .blocks-gallery-grid .blocks-gallery-item figcaption,
.block-editor .wp-block-gallery .blocks-gallery-image figcaption,
.block-editor .wp-block-gallery .blocks-gallery-item figcaption {
    pointer-events: none;
    font-size: 1rem;
    line-height: 1;
}


.block-editor .blocks-gallery-grid.is-cropped .blocks-gallery-image img,
.block-editor .blocks-gallery-grid.is-cropped .blocks-gallery-item img,
.block-editor .wp-block-gallery.is-cropped .blocks-gallery-image img,
.block-editor .wp-block-gallery.is-cropped .blocks-gallery-item img {
    border-radius: 1.5rem;
    /* max-width: 360px; */
}

.block-editor .blocks-gallery-grid .blocks-gallery-image figcaption,
.block-editor .blocks-gallery-grid .blocks-gallery-item figcaption,
.block-editor .wp-block-gallery .blocks-gallery-image figcaption,
.block-editor .wp-block-gallery .blocks-gallery-item figcaption {
    border-radius: 0 0 1.5rem 1.5rem;
}


@media screen and (min-width : 768px) {

    .block-editor .blocks-gallery-grid.columns-3 .blocks-gallery-image,
    .block-editor .blocks-gallery-grid.columns-3 .blocks-gallery-item,
    .block-editor .wp-block-gallery.columns-3 .blocks-gallery-image,
    .block-editor .wp-block-gallery.columns-3 .blocks-gallery-item {
        max-width: calc((100% - 2em) / 3);
    }
}

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

    .block-editor .blocks-gallery-grid.columns-3 .blocks-gallery-image,
    .block-editor .blocks-gallery-grid.columns-3 .blocks-gallery-item,
    .block-editor .wp-block-gallery.columns-3 .blocks-gallery-image,
    .block-editor .wp-block-gallery.columns-3 .blocks-gallery-item {
        max-width: calc((100% - 1em) / 2);
    }
}

/*///////////////////////////
wp-block-video
///////////////////////////*/

.block-editor figure.wp-block-video,
.block-editor .video figure {
    position: relative;
    width: 100%;
}

.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {}

/*///////////////////////////
wp-block-cover
///////////////////////////*/
.wp-block-cover,
.wp-block-cover-image {}


section.block-editor .wp-block-cover {
    margin: 12rem calc(50% - 50vw);
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 12rem 0;
    min-height: 0;
}

section.block-editor .wp-block-cover.is-block {
    width: auto;
    margin: auto;
}

section.block-editor .wp-block-cover-image .wp-block-cover__inner-container,
section.block-editor .wp-block-cover .wp-block-cover__inner-container {
  /* color:#fff; */
  width:90%;
  max-width: 1280px;
  margin:
  auto;
}
.block-editor .wp-block-cover .wp-block-buttons {
  margin:2rem auto;
}

@media screen and (max-width : 767px) {
    section.block-editor .wp-block-cover{
        margin: 6rem calc(50% - 50vw);
        padding: 6rem 0;
    }

    section.block-editor .wp-block-cover .has-large-font-size {
        font-size:2.4rem!important;
    }
}

/*///////////////////////////
wp-block-group
///////////////////////////*/

.block-editor .wp-block-group {
    margin: 5rem auto;
}

.block-editor .wp-block-group.has-background {
    padding: 5rem;
    position: relative;
    border-radius: 1rem;
}
.has-background-bg-after {

}

.block-editor .bg-cover-right-before::before,
.block-editor .bg-cover-right-after::after {
    content: "";
    width: 100vw;
    height: 100%;
    position: absolute;
    background: inherit;
    left: 3rem;
    top: 0;
    z-index: -10;
}

.block-editor .wp-block-group.has-background>.wp-block-group__inner-container>*:first-child {
    margin-top: 0;
}

.block-editor .wp-block-column>*:first-child {
    margin-top: 0;
}

.block-editor .wp-block-group.has-background>.wp-block-group__inner-container>*:last-child {
    margin-bottom: 0;
}

@media screen and (max-width : 767px) {
    .block-editor .wp-block-group.has-background {
        padding: 2rem;
        border-radius: 20px;
    }
}

/*///////////////////////////
hr
///////////////////////////*/

.block-editor .wp-block-separator {
    border: 0;
    background: #ebebeb;
    width: 20rem;
    height: 2px;
    margin: 5rem auto;
}

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


    .block-editor figure.wp-block-video,
    .block-editor .wp-block-image.video {
        margin-bottom: 6.5rem;
    }
}


/*///////////////////////////
option
///////////////////////////*/
@media screen and (min-width : 768px) {

    .block-editor .has-text-align-left,
    .block-editor .has-text-align-center,
    .block-editor .wp-block-columns {
      position: relative;
  }
  .block-editor .bg-dots-blue-right-before::before,
  .block-editor .bg-dots-blue-right-after::after {
    position: absolute;
    top: 0;
    right: 4.6rem;
    z-index: -1;
    width: 26rem;
    height: 26rem;
    background: url(../img/common/img_dot-blue.png) no-repeat center center/contain;
    content: "";
    background-size: 15vw;
}
.block-editor .bg-dots-blue-left-before::before,
.block-editor .bg-dots-blue-left-after::after {
    position: absolute;
    top:-12rem;
    left: -20rem;
    z-index: -1;
    width: 26rem;
    height: 26rem;
    background: url(../img/common/img_dot-blue.png) no-repeat center center/contain;
    content: "";
    background-size: 15vw;
}
.block-editor .bg-dots-normal-left-before::before,
.block-editor .bg-dots-normal-left-after::after {
    position: absolute;
    top: -12rem;
    left: -28rem;
    z-index: -1;
    width: 26rem;
    height: 26rem;
    background: url(../img/common/img_dot.png) no-repeat center center/contain;
    content: "";
    background-size: 15vw;
}
.block-editor .bg-dots-normal-right-before::before,
.block-editor .bg-dots-normal-right-after::after {
    position: absolute;
    top: 0;
    right: -15rem;
    z-index: -1;
    width: 26rem;
    height: 26rem;
    background: url(../img/common/img_dot.png) no-repeat center center/contain;
    content: "";
    background-size: 15vw;
}

}

@media screen and (max-width : 1280px) {
  .block-editor .bg-dots-blue-right-before::before,
  .block-editor .bg-dots-blue-right-after::after {
    right:-10rem;
}
}

/*============================================================================================================
addClass
============================================================================================================*/

/*///////////////////////////
text-align
///////////////////////////*/

.block-editor .txt-left {
    text-align: left;
}

.block-editor .txt-right {
    text-align: right;
}

.block-editor .txt-center {
    text-align: center;
}

@media screen and (min-width: 480.1rem) {

    .block-editor .txt-left_pc {
        text-align: left !important;
    }

    .block-editor .txt-right_pc {
        text-align: right !important;
    }

    .block-editor .txt-center_pc {
        text-align: center !important;
    }

}


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

    .block-editor .txt-left_sp {
        text-align: left !important;
    }

    .block-editor .txt-right_sp {
        text-align: right !important;
    }

    .block-editor .txt-center_sp {
        text-align: center !important;
    }
}

/*///////////////////////////
border
///////////////////////////*/

.block-editor .border {
    border: 1px solid #ccc;
}

.block-editor .no-border {
    border: 0 !important;
}


.block-editor .wp-block-embed figcaption {
    text-align: center;
}

.block-editor .wp-block-embed.w100per iframe {
    width: 100%;
    height: 42.5vw;
}

/*============================================================================================================
snow-monkey-parts
============================================================================================================*/


/*///////////////////////////
sme-block
///////////////////////////*/
.block-editor .smb-box{
    padding: 0;
}
.block-editor .smb-box__body {
    padding: 6rem 12rem;
}

.block-editor .smb-box__body>h2 {
    margin-bottom: 8rem;
}
.block-editor .smb-box__background{
    border-radius: 2rem;
}

@media screen and (max-width : 767px) {
    .block-editor .smb-box__body {
        padding: 3rem 2rem;
    }
}

/*///////////////////////////
sme-badge
///////////////////////////*/

.block-editor .sme-badge {
    color: inherit;
    padding: 2.5rem 5rem;
    height: auto;
}

.block-editor .badge-link .sme-badge {
    margin: 0 auto 2rem;
    padding: 0;
    display: inline-block;
    height: auto;
}

.block-editor .badge-link .sme-badge a {
    padding: 2.5rem 3.5rem;
    display: inline-block;
    text-decoration: underline;
    transition: .2s;
}

.block-editor .badge-link .sme-badge a:hover {
    opacity: .6;
}


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

    .block-editor .badge-link .sme-badge {
        margin: 1rem 0;
    }

    .block-editor .badge-link .sme-badge a {
        padding: 1.5rem 2rem;
    }

}

/*///////////////////////////
smb-media-text
///////////////////////////*/

.block-editor .wp-block-snow-monkey-blocks-media-text {
    margin: 8rem 0;
}

.block-editor h2.smb-media-text__title,
.block-editor h3.smb-media-text__title,
.block-editor h4.smb-media-text__title,
.block-editor h5.smb-media-text__title,
.block-editor h6.smb-media-text__title {
    margin: 0;
    padding: 0 0 0 3.1rem;
    border: none;
    font-size: 2.8rem;
    line-height: 1.5;
}
.block-editor h2.smb-media-text__title:after,
.block-editor h3.smb-media-text__title:after,
.block-editor h4.smb-media-text__title:after,
.block-editor h5.smb-media-text__title:after,
.block-editor h6.smb-media-text__title:after {
  content:none;
  background: none;
}

.block-editor .smb-media-text__body {
    padding-left: 3.1rem;
}

.block-editor .smb-media-text__body p {
    margin-bottom: 0;
}
.smb-media-text__figure>img, .smb-media-text__figure>video {
    border-radius: 2rem;
}

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

    .block-editor h2.smb-media-text__title,
    .block-editor h3.smb-media-text__title,
    .block-editor h4.smb-media-text__title,
    .block-editor h5.smb-media-text__title,
    .block-editor h6.smb-media-text__title {
        padding-left: 0;
        font-size: 1.8rem;
    }

    .block-editor .smb-media-text__body {
        padding-left: 0;
    }

    .block-editor .smb-media-text .block-editor-rich-text+.smb-media-text__body,
    .block-editor .smb-media-text__title+.smb-media-text__body {
        margin-top: 2rem;
    }

    .block-editor .wp-block-snow-monkey-blocks-media-text {
        margin:3rem 0 5rem;
    }

}

/*///////////////////////////
smb-faq
///////////////////////////*/


.block-editor .smb-faq {
    margin: 8rem auto;
}

.block-editor .smb-faq__item {
    margin-top: 0;
    padding: 4rem !important;
    border-bottom: none;
    border-radius: 1rem;
}

.block-editor .smb-faq__item:first-child {
    border-top: none;
}

.block-editor .smb-faq__item:nth-child(odd) {
    background-color: #f8f8f8;
}

.block-editor .smb-faq__item__answer__label,
.block-editor .smb-faq__item__question__label {
    width: 10%;
    font-weight: 500;
    font-size: 6rem;
    margin-right: 1rem;
    width: 6rem;
    flex: initial;
}

.block-editor .smb-faq__item__question__label {
    color: #e56038;
    border-radius: 10rem;
    font-size: 2em;
    height: auto;
    padding: 0.1em 0.4em 0.4em 0.35em;
    line-height: 1;
    align-content: center;
}

.block-editor .smb-faq__item__answer__label {
  color: #409057;
  border-radius: 10rem;
  font-size: 2em;
  height: auto;
  padding: 0.15em 0.44em 0.35em 0.44em;
  line-height: 1;
  align-content: center;
}

.block-editor .smb-faq__item__answer__body,
.block-editor .smb-faq__item__question__body {
    padding-top: 0;
    flex: initial;
    width: 90%;
}

.block-editor .smb-faq__item__question__body {
    font-size: 2.4rem;


    line-height: 1.6;
}

.block-editor .smb-faq__item__answer,
.block-editor.smb-faq__item__question {
    align-items: flex-start;
}

.block-editor .smb-faq__item__question {
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px dotted #babeb9;
}

.block-editor .smb-faq__item__answer p {
    margin-bottom: 0;
}


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

    .block-editor .smb-faq {
        margin-bottom: 6rem;
    }

    .block-editor .smb-faq__item__answer,
    .block-editor .smb-faq__item__question {
        align-items: flex-start;
    }

    .block-editor .smb-faq__item__question {
        margin-bottom: 0;
        padding-bottom: 1rem;
    }

    .block-editor .smb-faq__item__answer__label,
    .block-editor .smb-faq__item__question__label {
        width: 3.5rem;
        height: 3.3rem;
        font-size: 2.2rem;
        font-weight: 400;
        margin: .5rem 1.5rem 0 0rem;
    }

    .block-editor .smb-faq__item__answer__label {
        margin: .5rem 1.5rem 0 0rem;
    }

    .block-editor .smb-faq__item__question__body {
        padding-top: 0;
        font-size: 1.8rem;
    }

    .block-editor .smb-faq__item__answer__body,
    .block-editor .smb-faq__item__question__body {
        width: calc(100% - 6rem);
    }

    .block-editor .smb-faq__item {
        padding: 2rem 1.5rem 2rem 2rem!important;
    }

    .block-editor .smb-faq__item__answer p {
        line-height: 2;
    }
    .block-editor .smb-faq__item__answer,
    .block-editor.smb-faq__item__question {
        justify-content: flex-start;
    }
    .block-editor .smb-faq__item__answer {
        padding-top:1em;
    }
    .block-editor .smb-faq__item {
      margin-top: 1em;
  }

}


/*///////////////////////////
smb-balloon
///////////////////////////*/

.block-editor .smb-balloon {
    margin: 5rem auto;
}

.block-editor .smb-balloon__figure {
    position: relative;
    flex: 0 0 16rem;
    height: 16rem;
    width: 16rem;
    overflow: hidden;
    background: #fff;
    max-width: 16rem;
    border: 0;
}

.block-editor .is-style-sme-speech {
    margin-bottom: 0;
}

.block-editor .smb-balloon .smb-balloon__body {
    padding: 2rem 3rem;
    border-radius: 1.5rem;
    background-color: #f8f8f8;
    border-color: #f8f8f8;
}
.block-editor .smb-balloon .smb-balloon__body:after {
    border-color: transparent;
    border-right-color: inherit;
    border-width: 1rem 1.5rem 1.1rem 0;
    left: -1.5rem;
    margin-top: -0.5rem;
    top: 50%;
}

.block-editor .smb-balloon .smb-balloon__body p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width : 767px) {
    .block-editor .smb-balloon__person {
        display: block;
    }

    .block-editor .smb-balloon {
        justify-content: center;
        align-items: center;
    }

    .block-editor .smb-balloon .smb-balloon__body:after {
        border-color: transparent;
        border-bottom-color: inherit;
        border-width: 1.6rem;
        top: -2.7rem;
        left: 50%;
        margin-left: -1.6rem;
    }
    .block-editor .smb-balloon .smb-balloon__body {
        padding: 2rem;
    }
}

/*///////////////////////////
.smb-accordion
///////////////////////////*/

.block-editor .smb-accordion__item__title {
    padding: 2rem 4rem;
    background: #f6f2f0;
    border-radius: 10rem;
    font-weight: bold;
    font-size: 1.2em;
}
.block-editor .smb-accordion__item__body {
    padding: 2rem 4rem;
}

@media screen and (max-width : 767px) {
    .block-editor .smb-accordion__item__title {
        font-size: 1.6rem;
        padding: 1rem 2rem;
    }
    .block-editor .smb-accordion__item__body {
        padding: 1rem 2rem;
    }

}
/*///////////////////////////
.building-maintenance__service-list
///////////////////////////*/
.building-maintenance__service-list .wp-block-columns .wp-block-column img {
    width: 100%;
    height: 100%;
    border-radius: 0.4rem;
    object-fit: cover;
    transition: 0.3s;
}

.building-maintenance__service-list .wp-block-columns .wp-block-column {
    margin: 0;
    text-align: center;
}
.block-editor .building-maintenance__service-list .wp-block-columns .wp-block-column figure.wp-block-image {
    width: 30rem;
    height: 30rem;
    margin-bottom: 1.4rem;
    overflow: hidden;
}
.block-editor .building-maintenance__service-list .wp-block-columns .wp-block-column h3 {
    font-size: 1.6rem;
    margin: auto;
    border: none;
}
.block-editor .building-maintenance__service-list .wp-block-columns .wp-block-column h3 a {
    display: inline-block;
    position: relative;
    padding-bottom: 0.4em;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    line-height: 2.2;
    text-decoration: underline;
    text-underline-offset: 0.5em;
    font-weight: normal;
}

.block-editor .building-maintenance__service-list .wp-block-columns .wp-block-column h3 a::after {
    position: absolute;
    top: 50%;
    right: -1.8rem;
    -webkit-transform: translateY(-80%) rotate(-45deg);
    transform: translateY(-80%) rotate(-45deg);
    width: 7px;
    height: 7px;
    border-right: 3px solid #e5623a;
    border-bottom: 2px solid #e5623a;
    content: "";
}

.block-editor .building-maintenance__service-list .wp-block-columns .wp-block-column h3 a{
    transition: 0.3s;
}

.block-editor .wp-block-column figure.wp-block-image:hover + h3 a,
.block-editor .building-maintenance__service-list .wp-block-columns .wp-block-column h3 a:hover{
}
.block-editor .wp-block-column figure.wp-block-image:hover + h3 a::after,
.block-editor .building-maintenance__service-list .wp-block-columns .wp-block-column h3 a:hover::after{
}
.building-maintenance__service-list .wp-block-columns .wp-block-column a:hover img {width: 103%;height: 103%; margin-top: -1.5%;}


/*///////////////////////////
.big-arrow
///////////////////////////*/
.big-arrow01 {
    font-size: 10rem;
    margin-top: -10rem;
    line-height: 1;
}


/*///////////////////////////
.add-bg-triangle
///////////////////////////*/

.block-editor .add-bg-triangle-right::after {
    position: absolute;
    top: -2rem;
    right: calc((100vw - 100%) / 2 * (-1));
    z-index: -2;
    width: 50.5%;
    height: 155.2rem;
    background: url(../img/top/img_service_bg_pc.png) no-repeat top left/contain;
    content: "";
}


@media screen and (max-width : 767px) {
    .block-editor .add-bg-triangle-right::after {
        top: 2rem;
        width: 71%;
        height: 62.4rem;
        background: url(../img/top/img_service_bg_sp.png) no-repeat top right/contain;
    }
}

.block-editor .wp-block-columns.fives-list {
    justify-content: center;
    display: flex;
    gap: initial;
    width: auto;
}

.block-editor .wp-block-columns.fives-list .wp-block-column {
    height: 15rem;
    width: 15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    border-radius: 50%;
    padding: 0;
    flex: initial;
    flex-basis: initial!important;
    margin: 2rem;
}

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

    .block-editor .wp-block-columns.fives-list {
        max-width: 100%;
        gap: initial;
    }
    .block-editor .wp-block-columns.fives-list > .wp-block-column {
        height: 20vw;
        width: 20vw;
        font-size: 2.8rem;
        margin: 1rem;
        flex: initial;
        flex-basis: initial!important;
    }
}


.block-editor .icon-text-arrow {
    text-align: center;
    color: #e15b26;
    font-size: 6rem;
    line-height: 1;
    margin: 4rem 0;
}


@media screen and (max-width : 767px) {
    .block-editor .icon-text-arrow {
        text-align: center;
        color: #e15b26;
        font-size: 4rem;
        line-height: 1;
        margin: 2rem 0;
    }

}


.border-radius{
    border-radius: 1rem;
}


/*----------------------------------------
parts
----------------------------------------*/

.block-editor .p-service-flow-nth {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    display: inline-block;
    width: 5rem;
    height: 5rem;
    background: #e56038;
    border-radius: 50%;
    color: #fff!important;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}