@charset "UTF-8";
/*-------------
editor
-------------*/
:where(.editor-styles) *{
    letter-spacing: .02em;
}
:where(.editor-styles) > *:first-child{
    margin-top: 0!important;
}
:where(.editor-styles) > *:last-child,
:where(.editor-styles) > *:has(+ script:last-child),
.mt-be-column > *:last-child{
    margin-bottom: 0!important;
}
:where(.editor-styles) p,
:where(.editor-styles) blockquote{
    margin: -7px 0 -5px;
    line-height: calc(1em + 12px);
}
@media screen and (max-width:768px){
    :where(.editor-styles) p,
    :where(.editor-styles) blockquote{
        margin: -6px 0 -5px;
        line-height: calc(1em + 11px);
    }
}
:where(.editor-styles) :where(p, blockquote) + :is(p, blockquote){
    margin-top: 1em;
}

/* hr */
:where(.editor-styles) hr{
    clear: both;
    margin: 60px 0;
    border-color: var(--accent-gray);
}
:where(.editor-styles) *:has(+ hr){
    margin-bottom: 0!important;
}
:where(.editor-styles) hr + *{
    margin-top: 0!important;
}
@media screen and (max-width:768px){
    :where(.editor-styles) hr{
        margin: 40px 0;
    }
}

/* img */
:where(.editor-styles) img{
    max-width: 100%;
    height: auto;
}
:where(.editor-styles) p:not([class]):has(img),
:where(.editor-styles) .mt-figure{
    margin: 30px 0;
}
:where(.editor-styles) :is(p:not([class]):has(img), .mt-figure) + :is(p:not([class]):has(img), .mt-figure){
    margin-top: -10px;
}
:where(.editor-styles) p:not([class]) img:not(:last-child){
    margin-bottom: 10px;
}
:where(.editor-styles) figcaption{
    display: block;
    margin-top: 9px;
    color: var(--text-gray);
    line-height: calc(1em + 4px);
}
@media screen and (max-width:768px){
    :where(.editor-styles) figcaption{
        margin-top: 7px;
        font-size: 1.3rem;
    }
}
:where(.editor-styles) .mt-figure-center,
:where(.editor-styles) p:has(.mt-image-center){
    text-align: center;
}
:where(.editor-styles) .mt-image-center{
    justify-content: center;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
}
:where(.editor-styles) :is(p:not([class]):has(img), .mt-figure) + p{
    margin-top: -12px;
}
:where(.editor-styles) :is(p:not([class]):has(img), .mt-figure):not(:has(figcaption)) + p{
    margin-top: -17px;
}
@media screen and (max-width:768px){
    :where(.editor-styles) :is(p:not([class]):has(img), .mt-figure) + p{
        margin-top: -11px;
    }
    :where(.editor-styles) :is(p:not([class]):has(img), .mt-figure):not(:has(figcaption)) + p{
        margin-top: -16px;
    }
}

/* a */
:where(.editor-styles) a{
    color: var(--main-green);
    text-decoration: underline;
}
@media (any-hover: hover){
    :where(.editor-styles) a:hover{
        text-decoration: none;
    }
}
@media screen and (min-width:769px){
    :where(.editor-styles) a[href^="tel:"]{
        color: inherit;
        text-decoration: inherit;
    }
}
:where(.editor-styles) div:not([class]):has(a:only-child){
    margin: 13px 0 15px;
}
:where(.editor-styles) a:has(img),
:where(.editor-styles *[class*="custom-block"]) a{
    color: inherit;
    text-decoration: none;
}

/* heading */
:where(.editor-styles) :is(h1,h2,h3,h4,h5,h6) + :is(h1,h2,h3,h4,h5,h6,div,img,p:not([class]):has(img),table,ul,ol){
    margin-top: 0!important;
}
:where(.editor-styles) :is(h1,h2):not([class]){
    position: relative;
    margin: 100px 0 36px;
    padding-top: 37px;
    color: var(--accent-black);
    font-size: 32px;
    font-weight: bold;
    line-height: calc(1em + 10px);
    letter-spacing: .04em;
}
:where(.editor-styles) :is(h1,h2):not([class])::before{
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 1px;
    background: var(--main-green);
    content: "";
}
:where(.editor-styles) :is(h1,h2):not([class])::after{
    position: absolute;
    top: 1px;
    left: 50px;
    width: calc(100% - 50px);
    height: 1px;
    background: var(--border-gray);
    content: "";
}
@media screen and (max-width:768px){
    :where(.editor-styles) :is(h1,h2):not([class]){
        margin: 60px 0 25px;
        padding-top: 28px;
        font-size: 2.5rem;
    }
    :where(.editor-styles) :is(h1,h2):not([class])::before{
        width: min(40px, 9.375vw);
    }
    :where(.editor-styles) :is(h1,h2):not([class])::after{
        left: calc(min(40px, 9.375vw) + 10px);
        width: calc(100% - (min(40px, 9.375vw) + 10px));
    }
}
:where(.editor-styles) h3:not([class]){
    position: relative;
    padding-left: 30px;
    margin: 53px 0 25px;
    color: var(--accent-black);
    font-size: 2.6rem;
    font-weight: bold;
    line-height: calc(1em + 12px);
    letter-spacing: .02em;
}
:where(.editor-styles) h3:not([class])::before{
    position: absolute;
    top: calc(.5em - 5px);
    left: 0;
    width: 20px;
    height: 24px;
    background: url(../images/heading_icon.svg) no-repeat center / contain;
    content: "";
}
@media screen and (max-width:768px){
    :where(.editor-styles) h3:not([class]){
        padding-left: 23px;
        margin: 35px 0 20px;
        font-size: 2rem;
        line-height: calc(1em + 10px);
    }
    :where(.editor-styles) h3:not([class])::before{
        top: calc(.5em - 4px);
        width: 15px;
        height: 18px;
    }
}
:where(.editor-styles) h3:not([class])[style*="text-align: center;"],
:where(.editor-styles) h3:not([class])[style*="text-align: right;"]{
    padding: 0;
}
:where(.editor-styles) h3:not([class])[style*="text-align: center;"]::before,
:where(.editor-styles) h3:not([class])[style*="text-align: right;"]::before{
    display: inline-block;
    position: static;
    transform: translateY(calc((.5em + 4px) - 50%));
    margin-right: 10px;
}
@media screen and (max-width:768px){
    :where(.editor-styles) h3:not([class])[style*="text-align: center;"]::before,
    :where(.editor-styles) h3:not([class])[style*="text-align: right;"]::before{
        transform: translateY(calc((.5em + 5px) - 50%));
    }
}
:where(.editor-styles) h4:not([class]){
    position: relative;
    margin: 40px 0 30px;
    padding: 5px 15px 7px;
    border-left: solid 5px var(--main-green);
    background: var(--bg-gray);
    background: #F7F8F8;
    color: var(--accent-black);
    font-size: 2.2rem;
    font-weight: bold;
    line-height: calc(1em + 8px);
    letter-spacing: .02em;
}
@media screen and (max-width:768px){
    :where(.editor-styles) h4:not([class]){
        margin: 35px 0 20px;
        padding: 6px 14px;
        border-left-width: 4px;
        font-size: 1.8rem;
    }
}
:where(.editor-styles) h4:not([class])[style*="text-align: center;"],
:where(.editor-styles) h4:not([class])[style*="text-align: right;"]{
    padding: 0;
}
:where(.editor-styles) h4:not([class])[style*="text-align: center;"]::before,
:where(.editor-styles) h4:not([class])[style*="text-align: right;"]::before{
    display: inline-block;
    position: static;
    transform: translateY(calc((.5em + 3px) - 50%));
    height: 1em;
    margin-right: 10px;
}
@media screen and (max-width:768px){
    :where(.editor-styles) h4:not([class])[style*="text-align: center;"]::before,
    :where(.editor-styles) h4:not([class])[style*="text-align: right;"]::before{
        transform: translateY(calc((.5em + 4px) - 50%));
    }
}
:where(.editor-styles) h5:not([class]){
    margin: 36px 0 23px;
    color: var(--accent-black);
    font-size: 2.2rem;
    font-weight: bold;
    line-height: calc(1em + 16px);
    letter-spacing: .02em;
}
@media screen and (max-width:768px){
    :where(.editor-styles) h5:not([class]){
        margin: 24px 0 20px;
        font-size: 1.8rem;
        line-height: calc(1em + 11px);
    }
}
:where(.editor-styles) h6:not([class]){
    margin: 38px 0 20px;
    color: var(--main-green);
    font-size: 1.8rem;
    font-weight: bold;
    line-height: calc(1em + 12px);
    letter-spacing: .02em;
}
@media screen and (max-width:768px){
    :where(.editor-styles) h6:not([class]){
        margin: 24px 0 14px;
        font-size: 1.6rem;
    }
}

/* list */
:where(.editor-styles) ul,
:where(.editor-styles) ol{
    margin: 29px 0 36px;
    line-height: calc(1em + 9px);
}
:where(.editor-styles) li:not(:last-child){
    margin-bottom: 9px;
}
@media screen and (max-width:768px){
    :where(.editor-styles) ul,
    :where(.editor-styles) ol{
        margin: 20px 0 25px;
    }
    :where(.editor-styles) li:not(:last-child){
        margin-bottom: 8px;
    }
}
:where(.editor-styles) ul li{
    position: relative;
    padding-left: 14px;
}
:where(.editor-styles) ul li::before{
    position: absolute;
    top: calc(.5em + 2.5px);
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--main-green);
    content: "";
}
@media screen and (max-width:768px){
    :where(.editor-styles) ul li{
        padding-left: 12px;
    }
    :where(.editor-styles) ul li::before{
        top: calc(.5em + 3px);
        width: 4px;
        height: 4px;
    }
}
:where(.editor-styles) ol{
    counter-reset: list-num;
}
:where(.editor-styles) ol li{
    position: relative;
    padding-left: max(1.4em, 21px);
}
:where(.editor-styles) ol:has(li:nth-child(10)) li{
    padding-left: max(2em, 30px);
}
:where(.editor-styles) ol li::before{
    position: absolute;
    top: 0;
    left: 0;
    min-width: 17px;
    color: var(--main-green);
    font-weight: 600;
    content: counter(list-num)".";
    counter-increment: list-num;
}
@media screen and (max-width:768px){
    :where(.editor-styles) ol li{
        padding-left: max(1.42em, 20px);
    }
    :where(.editor-styles) ol:has(li:nth-child(10)) li{
        padding-left: max(2em, 28px);
    }
    :where(.editor-styles) ol li::before{
        min-width: 16px;
    }
}

/* table  */
:where(.editor-styles) table{
    max-width: 100%;
    border: none;
    line-height: calc(1em + 8px);
}
:where(.editor-styles) > table,
.editor__table{
    margin: 45px 0 30px;
}
:where(.editor-styles) table caption{
    margin-bottom: 10px;
}
:where(.editor-styles) table p{
    margin: 0;
}
:where(.editor-styles) table p + p{
    margin-top: 10px;
}
:where(.editor-styles) th,
:where(.editor-styles) td{
    padding: 20px 10px 22px;
    border: none;
    border-top: solid 1px var(--border-gray);
    border-bottom: solid 1px var(--border-gray);
}
:where(.editor-styles) th{
    color: var(--main-green);
    font-weight: bold;
}
@media screen and (max-width:768px){
    :where(.editor-styles) table,
    :where(.editor-styles) table :is(caption,thead,tbody,tr,th,td){
        height: unset!important;
    }
    :where(.editor-styles) > table,
    .editor__table{
        clear: both;
        margin: 30px 0 20px;
    }
    :where(.editor-styles) th,
    :where(.editor-styles) td{
        padding: 11px 8px;
    }
    :where(.editor-styles) th{
        min-width: 31.25vw;
    }
    :where(.editor-styles) td{
        min-width: 43.75vw;
    }
}

/* columns */
.mt-be-columns{
    gap: 40px;
    margin: 40px 0;
}
.mt-be-columns:has(.mt-be-column:nth-child(3):last-child){
    gap: 32px;
}
.mt-be-columns:has(.mt-be-column:nth-child(4)){
    gap: 20px;
}
.mt-be-column{
    flex: 1;
    min-width: 0;
}
.mt-be-column > *:first-child{
    margin-top: 0!important;
}
.mt-be-column > *:last-child{
    margin-bottom: 0!important;
}
@media screen and (min-width:769px){
    .mt-be-columns:has(.mt-be-column:nth-child(2):last-child) .mt-be-column:has(.mt-figure),
    .mt-be-columns:has(.mt-be-column:nth-child(2):last-child) .mt-be-column:has(p img:only-child){
        flex: 0 0 auto;
        max-width: calc(50% - 20px);
    }   
}
@media screen and (max-width:768px){
    .mt-be-columns:has(.mt-be-column:nth-child(2):last-child){
        flex-direction: column;
        gap: 30px 0;
    }
    .mt-be-columns:has(.mt-be-column:nth-child(2):last-child) .mt-be-column img{
        width: auto;
    }
    .mt-be-columns:has(.mt-be-column:nth-child(3):last-child){
        flex-direction: column;
        gap: 20px 0;
    }
    .mt-be-columns:has(.mt-be-column:nth-child(4)){
        flex-wrap: wrap;
        gap: 20px 14px;
    }
    .mt-be-columns:has(.mt-be-column:nth-child(4)) .mt-be-column{
        flex: 0 0 auto;
        width: calc(50% - 7px);
    }
    .mt-be-columns:not(:has(.mt-be-column:nth-child(4))) .mt-be-column:has(h1:first-child),
    .mt-be-columns:not(:has(.mt-be-column:nth-child(4))) .mt-be-column:has(h2:first-child){
        margin-top: 10px;
    }
    .mt-be-columns:not(:has(.mt-be-column:nth-child(4))) .mt-be-column:has(h3:first-child):not(:first-child),
    .mt-be-columns:not(:has(.mt-be-column:nth-child(4))) .mt-be-column:has(h4:first-child):not(:first-child){
        margin-top: 5px;
    }
}
.mt-be-column .mt-be-columns:has(.mt-be-column:nth-child(2):last-child){
    gap: 30px;
}
.mt-be-column .mt-be-columns:has(.mt-be-column:nth-child(3):last-child){
    gap: 20px;
}
.mt-be-column .mt-be-columns:has(.mt-be-column:nth-child(4):last-child){
    gap: 10px;
}
@media screen and (max-width:768px){
    .mt-be-column .mt-be-columns:has(.mt-be-column:nth-child(2):last-child){
        flex-direction: row;
        gap: min(20px, var(--inner-sides_sp));
    }
    .mt-be-column .mt-be-columns:has(.mt-be-column:nth-child(3):last-child){
        flex-wrap: wrap;
        flex-direction: row;
        gap: 10px;
    }
    .mt-be-column .mt-be-columns:has(.mt-be-column:nth-child(3):last-child) .mt-be-column{
        flex: 0 0 auto;
        width: calc(50% - 5px);
    }
    .mt-be-column .mt-be-columns:has(.mt-be-column:nth-child(4):last-child){
        flex-wrap: wrap;
        gap: 5px;
    }
    .mt-be-column .mt-be-columns:has(.mt-be-column:nth-child(4):last-child) .mt-be-column{
        width: calc((100% - 10px) / 3);
    }
}

/* emded */
.editor__emded{
    margin: 30px 0;
}
:where(.editor-styles) iframe{
    max-width: 100%;
    background: var(--bg-gray);
}
@media screen and (max-width:768px){
    .editor__emded{
        margin: 20px 0;
    }
    :where(.editor-styles) iframe[src^="https://www.google.com/maps/embed"]{
        height: unset;
        aspect-ratio: 4 / 3;
    }
}

/*-------------
custom-block
-------------*/
.custom-block_file{
    margin: 30px 0 40px;
}
.custom-block_file + .custom-block_file{
    margin-top: -25px;
}
@media screen and (max-width:768px){
    .custom-block_file + .custom-block_file{
        margin-top: -30px;
    }
}
.custom-block_file a{
    display: flex;
    align-items: center;
    position: relative;
    min-height: 50px;
    padding: 11px 15px 12px 50px;
    border: solid 1px var(--border-gray);
    border-radius: 5px;
    background: #fff;
    color: var(--base-black);
    font-size: 1.6rem;
    line-height: calc(1em + 8px);
    letter-spacing: .02em;
    text-decoration: none;
    transition: background var(--ease), color var(--ease);
}
@media (any-hover: hover){
    .custom-block_file a:hover{
        background: var(--bg-green);
        color: var(--main-green);
    }
}
@media screen and (max-width:768px){
    .custom-block_file a{
        min-height: 48px;
        padding: 11px 15px 11px 48px;
        font-size: 1.4rem;
    }
}
.custom-block_file a::before{
    position: absolute;
    top: 11px;
    left: 15px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: url(../images/icon_file.svg) no-repeat center / auto, var(--main-green);
    content: "";
}
@media screen and (max-width:768px){
    .custom-block_file a::before{
        width: 24px;
        height: 24px;
    }    
}

/* custom-block_linkbtn */
.custom-block_linkbtn{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0 50px;
}
.custom-block_linkbtn + .custom-block_linkbtn{
    margin-top: -35px;
}
@media screen and (max-width:768px){
    .custom-block_linkbtn{
        margin-bottom: 40px;
    }
    .custom-block_linkbtn + .custom-block_linkbtn{
        margin-top: -30px;
    }
}
.custom-block_linkbtn a{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-width: min(100%, 400px);
    min-height: 60px;
    padding: 12px 45px 13px;
    border-radius: 5px;
    background: var(--main-green);
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: calc(1em + 8px);
    text-align: center;
    transition: color var(--ease);
}
@media (any-hover: hover){
    .custom-block_linkbtn a:hover{
        color: var(--accent-yellow);
    }
}
@media screen and (max-width:768px){
    .custom-block_linkbtn a{
        min-height: 50px;
        padding: 10px 45px;
        font-size: 1.4rem;
    }
}
.custom-block_linkbtn a[target="_self"]::after{
    position: absolute;
    top: calc(50% - 6px);
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--bg-arrow);
    content: "";
}
@media (any-hover: hover){
    .custom-block_linkbtn a[target="_self"]:hover::after{
        animation: arrow-slide .75s forwards;
    }
}
.custom-block_linkbtn a[target="_blank"]::after{
    position: absolute;
    top: calc(50% - 7px);
    right: 19px;
    width: 14px;
    height: 14px;
    background: var(--bg-blank);
    content: "";
}

/* custom-block_nav */
.custom-block_nav{
    display: flex;
    gap: 0 14px;
    margin: 50px 0 100px;
}
@media screen and (max-width:768px){
    .custom-block_nav{
        flex-wrap: wrap;
        gap: 4px;
        margin: 20px 0 40px;
    }
}
.custom-block_nav-link{
    flex: 1;
}
@media screen and (max-width:768px){
    .custom-block_nav-link{
        flex: 0 0 auto;
        width: calc(50% - 2px);
    }
}
.custom-block_nav-link a{
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    min-height: 60px;
    padding: 4px 55px 6px 19px;
    border: solid 1px var(--main-green);
    border-radius: 5px;
    color: var(--main-green);
    font-size: 1.6rem;
    font-weight: bold;
    line-height: calc(1em + 8px);
    transition: background var(--ease), color var(--ease);
}
@media (any-hover: hover){
    .custom-block_nav-link a:hover{
        background: var(--main-green);
        color: #fff;
    }
}
@media screen and (max-width:768px){
    .custom-block_nav-link a{
        min-height: 50px;
        padding: 6px 36px 6px 9px;
        font-size: 1.4rem;
    }
}
.custom-block_nav-link a::after{
    position: absolute;
    top: calc(50% - 13px);
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-arrow), var(--main-green);
    content: "";
    transition: background var(--ease);
}
@media (any-hover: hover){
    .custom-block_nav-link a:hover::after{
        background: var(--bg-arrow_grn), #fff;
        animation: arrow-slide .75s forwards;
    }
}
@media screen and (max-width:768px){
    .custom-block_nav-link a::after{
        right: 9px;
        width: 22px;
        height: 22px;
    }
}
.custom-block_nav-link._current a{
    background: var(--main-green);
    color: #fff;
}
.custom-block_nav-link._current a::after{
    background: var(--bg-arrow_grn), #fff;
}

/* custom-block_catch */
.custom-block_catch{
    margin: 51px 0 33px;
    color: var(--main-green);
    font-size: 32px;
    font-weight: 500;
    line-height: calc(1em + 16px);
}
.custom-block_catch:first-child{
    font-feature-settings: "palt" 1;
}
@media screen and (max-width:768px){
    .custom-block_catch{
        margin: 34px 0 19px;
        font-size: 2.5rem;
        line-height: calc(1em + 12px);
    }
}

/* custom-block_around */
.custom-block_around{
    clear: both;
    margin: 40px 0;
}
.custom-block_around-image{
    float: right;
    position: relative;
    z-index: 1;
    max-width: 50%;
    margin: 0 0 20px;
    padding-left: 30px;
    background: var(--editor-bg);
}
.custom-block_around-image + *{
    margin-top: 0!important;
}
.custom-block_around :is(h1,h2):not([class]),
.custom-block_around h4:not([class]){
    overflow: hidden;
}
@media screen and (max-width:768px){
    /*--- sp ---*/
    .custom-block_around{
        margin: 25px 0;
    }
    .custom-block_around-image{
        max-width: 45%;
        margin-bottom: 15px;
        padding-left: 15px;
    }
}

/*-------------
スクロールコンテナ
-------------*/
.custom-scroller{
    --scrollbar-heghit: 8px; /* バーの高さ */
    --scrollbar-gap: calc(var(--scrollbar-heghit) + 12px); /* バーとの間隔 +00pxの部分 */
    position: relative;
    overflow: hidden;
}
.custom-scroll-container{
    position: relative;
    overflow: auto;
    scrollbar-width: none;
}
.custom-scroll-container.is--scrollable{
    padding-bottom: var(--scrollbar-gap);
}
.custom-scroll-container::-webkit-scrollbar{
    display: none;
}
@media screen and (min-width:769px){
    .custom-scroll-container.is--scrollable{
        cursor: grab;
    }  
    .custom-scroll-container.is--scrollable:active{
        cursor: grabbing;
    }  
}
.custom-scroll-container.is--scrolling a,
.custom-scroll-container.is--scrolling img{
    pointer-events: none;
}
.custom-scrollbar{
    display: block;
    position: relative;
    width: 100%;
    height: var(--scrollbar-heghit);
    margin-top: calc(-1 * var(--scrollbar-heghit));
    overflow: hidden;
    border-radius: 999px;
    background-color: rgba(100,100,100,.25);
}
.custom-scrollbar__thumb{
    opacity: .5;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 99px;
    background-color: rgba(0,0,0,.5);
    pointer-events: auto;
    transition: opacity .3s ease;
}
@media screen and (min-width:769px){
    .custom-scrollbar__thumb:hover{
        opacity: .75;
    }
    .custom-scrollbar__thumb:active{
        opacity: 1;
    }
}
.custom-scroller .shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - var(--scrollbar-gap));
    content: "";
    pointer-events: none;
}
