@charset "utf-8";
/* CSS Document */

* {
    line-height: 1;
}

html {
    scroll-padding-top: 180px;
    scroll-behavior: smooth;
}

img {
    border: 0;
    vertical-align: top;
    object-fit: cover;
}


/*clearfix*/
.clearfix:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0.1px;
    font-size: 0.1em;
    line-height: 0;
}

* html .clearfix {
    display: inline-block;
}

/* no ie mac \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

.clearfix {
    overflow: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {
    height: 1%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    word-wrap: break-word;
}

/*body*/

body {
    width: 100%;
    -webkit-text-size-adjust: 100%;
}


li {
    list-style-type: none;
}

a {
    text-decoration: none;
    transition: .5s;
}

a:hover {
    opacity: 0.75;
    transition: .5s;
}

/* basefont */
:root {
    --base-font: "Noto Sans JP", sans-serif;
    --title-font: "Zen Maru Gothic", sans-serif;
    --title-font2: "M PLUS Rounded 1c", sans-serif;
    --subtitle-font: "Poppins", sans-serif;
    --number-font: "Roboto", sans-serif;

    --base-font-size: 16px;

    --base-weight: 400;
    --base-weight2: 500;
    --base-weight3: 600;

    --color-base: #000;
    --color-main: #009245;
    --color-sub: #006837;
    --color-sub2: #39B54A;
    --color-sub3: #50B47C;
    --color-back: rgba(140, 198, 63, 0.25);
}


.contents-box {
    font-family: var(--base-font);
    font-weight: var(--base-weight);
    clear: both;
    margin-right: auto;
    margin-left: auto;
    font-size: var(--base-font-size);
    color: var(--color-base);
    line-height: 1;
}

.contents-box p {
    font-family: var(--base-font);
    font-weight: var(--base-weight);
    font-size: var(--base-font-size);
    color: var(--color-base);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.contents-box p br.sp-view {
    display: none;
}

.contents-box a {
    color: var(--color-base);
    font-weight: var(--base-weight2);
}

.contents-box p a {
    color: var(--color-base);
    font-weight: var(--base-weight2);
}

/* animation_box */

.animation_box {
    transition: 1s ease;
    opacity: 0;
    transition-delay: .5s;
    transform: translateY(0px);
}

.animation_box-left {
    transform: translateX(-100px);
}

.animation_box-right {
    transform: translateX(100px);
}

.animation_box2 {
    transition-delay: 1s;
}

.animation_box3 {
    transition-delay: 1.5s;
}

.animation_box4 {
    transition-delay: 2s;
}

.animation_box.effect {
    opacity: 1;
    transform: translate(0px);
}



/*header*/

.header-wrap {
    z-index: 9999999;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
}

.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    transition: .5s;
    padding: 0px 25px;
}

.header .header-left {
    padding-top: 20px;
}

.header .header-left img {
    height: 90px;
    width: auto;
    transition: .5s;
}

.header .header-right {
    flex: 1;
}

/* lay-headerguide */

.lay-headerguide {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    text-align: right;
    gap: 0px 20px;
}

.lay-headerguide h5,
.lay-headerguide h5 a {
    font-size: 38px;
    font-family: var(--number-font);
    font-weight: var(--base-weight2);
    color: var(--color-sub2);
    line-height: 0.9;
    letter-spacing: 0.05em;
}

.lay-headerguide h5 {
    position: relative;
    padding-left: 40px;
}

.lay-headerguide h5::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    background-image: url("../images/common/icon-tel.svg");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 30px;
    height: 35px;
}

.lay-headerguide h6 img {
    height: 65px;
    width: auto;
}


/* nav-pc */

.nav-pc ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-top: 15px;
}

.nav-pc ul li a {
    font-weight: var(--base-weight2);
    color: var(--color-sub);
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    display: inline-block;
    padding: 0px 25px;
    transition: .5s;
}



/*メニュー部分*/
nav {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    left: 0;
    overflow: auto;
    background-color: #FFF;
}

nav .box-menu {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav .box-menu > h2 {
    position: absolute;
    left: 0px;
    top: 0px;
}

nav .box-menu > h2 img {
    height: 100px;
    width: auto;
}

nav .box-menu > h2 a:hover {
    opacity: 1;
}

nav .box-menu-wrap {
    width: 100%;
    padding-top: 80px;
}

nav .box-menu-wrap ul li {
    border-top-style: solid;
    border-color: var(--color-sub);
    border-width: 1px;
}

nav .box-menu-wrap ul li:last-child {
    border-bottom-style: solid;
}

nav .box-menu-wrap ul li a {
    font-size: 20px;
    color: var(--color-sub);
    line-height: 1.2;
    letter-spacing: 0.1em;
    font-weight: var(--base-weight);
    display: block;
    text-align: left;
    padding: 17px 25px;
}


/*開閉ボタン*/
#nav_toggle {
    display: inline-block;
    vertical-align: top;
    float: right;
    width: 80px;
    height: 80px;
    position: relative;
    top: 15px;
    right: 15px;
    z-index: 10000000000;
    background-color: var(--color-sub);
    padding: 28px 20px;
    margin-right: 0px;
    margin-top: 0px;
    cursor: pointer;
}

#nav_toggle div {
    position: relative;
}

#nav_toggle span {
    display: block;
    height: 1px;
    background: #FFF;
    position: absolute;
    width: 100%;
    left: 0;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

#nav_toggle span:nth-child(1) {
    top: 0px;
}

#nav_toggle span:nth-child(2) {
    top: 12px;
}

#nav_toggle span:nth-child(3) {
    top: 24px;
}

/*開閉ボタンopen時*/
.open #nav_toggle span:nth-child(1) {
    top: 12px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
}

.open #nav_toggle span:nth-child(2) {
    width: 0;
    left: 50%;
}

.open #nav_toggle span:nth-child(3) {
    top: 12px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
}


/*main-img*/

.main-img {
    width: 100%;
    position: relative;
}

.main-img img {
    width: 100%;
    height: auto;
    clip-path: url(#clip-frame);
}

.main-img .box-text {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding-left: 8%;
    padding-top: 30px;
}

.main-img .box-text .inner {
    display: inline-block;
    padding: 35px 70px;
    background-color: #FFF;
    border-radius: 30px;
}

.main-img h2,
.main-img h3 {
    font-family: var(--title-font);
    font-weight: var(--base-weight2);
    line-height: 1.2;
}

.main-img h2 {
    color: var(--color-main);
    font-size: 35px;
    letter-spacing: 0.1em;
}

.main-img h3 {
    color: var(--color-sub);
    font-size: 60px;
    letter-spacing: 0.2em;
    padding-top: 10px;
}


/* contents */

.contents {
    width: 100%;
    background-image: url("../../common/images/common/back-contents.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto 1460px;
}

.contents img {
    width: 100%;
    height: auto;
}

.contents p {
    line-height: 2;
}

.maincontents-inner {
    width: 100%;
    padding: 90px 0px 120px;
}

.maincontents-inner section:not(:last-child) {
    margin-bottom: 120px;
}

.maincontents-inner section > div:not(:last-child) {
    margin-bottom: 100px;
}



/* layout */

.layout-80 {
    width: 80%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.layout-85 {
    width: 85%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.layout-1100 {
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
}


/* box-title-page */

.maincontents-inner section > div.box-title-page,
box-title-page {
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}

.maincontents-inner section > div.box-title-page2,
.box-title-page2 {
    max-width: 1120px;
    margin: 0px auto;
    margin-bottom: 50px;
}

.box-title-page::after {
    content: "";
    display: block;
    margin: 0px auto;
    margin-top: 28px;
    width: 100px;
    height: 1px;
    border-bottom-style: dotted;
    border-color: var(--color-sub);
    border-width: 5px;
}


.box-title-page h2,
.box-title-page h3 {
    font-family: var(--title-font);
    font-weight: var(--base-weight2);
    line-height: 1.2;
}

.box-title-page h2 {
    color: var(--color-sub2);
    font-size: 70px;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.box-title-page h3 {
    color: var(--color-sub);
    font-size: 32px;
    letter-spacing: 0.2em;
}

.box-title-page2 h4 {
    font-family: var(--title-font);
    font-weight: var(--base-weight2);
    color: #FFF;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0.15em;
    background-color: var(--color-sub3);
    border-radius: 60px;
    text-align: center;
    padding: 15px;
}

/* link */

.link01 a {
    color: var(--color-base);
    font-weight: var(--base-weight2);
    line-height: 1.2;
    display: inline-block;
    position: relative;
    padding-right: 50px;
}

.link01 a:hover {
    opacity: 1;
}

.link01 a::before {
    content: "";
    position: absolute;
    right: 0px;
    top: 8px;
    background-image: url("../../common/images/common/link-arrow02.svg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 50px;
    height: 6px;
    transition: .5s;
}

.link01 a:hover::before {
    margin-right: -10px;
}


/*pagetop_btn*/

.pagetop_btn {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 100;
}

.pagetop_btn a {
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
}

.pagetop_btn a:hover {
    opacity: 0.75;
}

.pagetop_btn img {
    height: 70px;
    width: auto;
}


/*footer*/

footer {
    width: 100%;
    background-color: var(--color-back);
    text-align: center;
    padding: 45px 0px;
}

.footer-guide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0px 120px;
}

.footer-guide .box-detail {
    order: 2;
}

.footer-guide .s01 {
    order: 1;
}

.footer-guide .s02 {
    order: 3;
}

.footer-guide .box-service {
    width: 350px;
}

.footer-guide .box-service a {
    position: relative;
    display: block;
    padding-top: 330px;
}

.footer-guide .box-service a:hover {
    opacity: 1;
}

.footer-guide .box-service a::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 350px;
    height: 350px;
}

.footer-guide .s01 a::before {
    background-image: url("../../common/images/common/link-footer01.svg");
}

.footer-guide .s02 a::before {
    background-image: url("../../common/images/common/link-footer02.svg");
}

.footer-guide h6 {
    display: inline-block;
    padding: 18px 20px;
    border-radius: 60px;
    background-color: var(--color-sub2);
    font-weight: var(--base-font-weight2);
    color: #FFF;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    position: relative;
    min-width: 300px;
    text-align: center;
}


.footer-guide h6::before {
    content: "";
    position: absolute;
    right: 30px;
    top: 0px;
    display: block;
    background-image: url("../../common/images/common/link-arrow01.svg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 26px;
    width: 26px;
    height: 100%;
    transition: .5s;
}

.footer-guide .box-service:hover h6::before {
    right: 20px;
}

.f-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0px 35px;
    padding-top: 15px;
}

.f-nav ul li a {
    font-weight: var(--base-weight2);
    color: var(--color-sub);
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}


.footer-guide h2 {
/*    margin-bottom: 20px;*/
}

.footer-guide h2 img {
    width: auto;
    height: 230px;
}

.footer-guide h3,
.footer-guide h3 a {
    font-family: var(--number-font);
    font-weight: var(--base-weight2);
    color: var(--color-sub2);
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.footer-guide h3 {
    position: relative;
    display: inline-block;
    padding-left: 45px;
}

.footer-guide h3::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    background-image: url("../../common/images/common/icon-tel.svg");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 33px;
    height: 40px;
}

.footer-guide p,
.f-copy p {
    color: var(--color-sub);
    padding-top: 40px;
    font-size: 14px;
    line-height: 1.2;
}

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

    body {
        min-width: 1360px;
    }

    a[href^="tel:"] {
        pointer-events: none;
    }

    #header .sp-view {
        display: none;
    }

    #nav_toggle {
        display: none;
    }

}

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

    html {
        scroll-padding-top: 90px;
    }

    /* basefont */
    :root {
        --base-font-size: 14px;
    }


    .contents-box p br.sp-view {
        display: inline-block;
    }


    /*header*/

    .header {
        padding: 0px;
    }

    .header .header-left {
        padding-left: 10px;
        padding-top: 10px;
    }

    .header .header-left img {
        height: 50px;
    }

    /* lay-headerguide */

    .lay-headerguide {
        display: none;
    }

    /* nav-pc */

    .nav-pc {
        display: none;
    }


    /*開閉ボタン*/
    #nav_toggle {
        width: 50px;
        height: 50px;
        padding: 17px 12px 0px;
        margin-right: 0px;
        margin-top: 0px;
        top: 0px;
        right: 0px;
    }

    #nav_toggle span:nth-child(1) {
        top: 0px;
    }

    #nav_toggle span:nth-child(2) {
        top: 8px;
    }

    #nav_toggle span:nth-child(3) {
        top: 16px;
    }

    /*開閉ボタンopen時*/
    .open #nav_toggle span:nth-child(1) {
        top: 8px;
    }

    .open #nav_toggle span:nth-child(3) {
        top: 8px;
    }


    .nav-pc {
        display: none;
    }

    nav .box-menu {
        justify-content: center;
        align-items: flex-start;
    }

    nav .box-menu > h2 {
        padding: 10px;
    }

    nav .box-menu > h2 img {
        height: 50px;
    }


    /*main-img*/

    .main-img img {
        min-height: 200px;
    }

    .main-img .box-text {
        padding-left: 5%;
        padding-top: 20px;
    }

    .main-img .box-text .inner {

        padding: 15px 25px;
        border-radius: 15px;
    }

    .main-img h2 {
        font-size: 14px;
    }

    .main-img h3 {
        font-size: 22px;
        letter-spacing: 0.15em;
        padding-top: 5px;
    }


    /* contents */

    .contents {
        width: 100%;
        background-size: 220% auto;
    }

    .contents p {
        line-height: 1.8;
    }

    .maincontents-inner {
        padding: 45px 0px 60px;
    }

    .maincontents-inner section:not(:last-child) {
        margin-bottom: 70px;
    }

    .maincontents-inner section > div:not(:last-child) {
        margin-bottom: 50px;
    }


    .maincontents-inner .box-img {
        text-align: center;
    }

    .maincontents-inner .box-img img {
        max-width: 400px;
    }

    /* layout */

    .layout-80,
    .layout-85,
    .layout-1100 {
        width: 88%;
    }

    /* box-title-page */

    .maincontents-inner section > div.box-title-page,
    .box-title-page {
        margin-bottom: 35px;
    }

    .maincontents-inner section > div.box-title-page2,
    .box-title-page2 {
        max-width: 92%;
        margin-bottom: 28px;
    }

    .box-title-page::after {
        margin-top: 22px;
        width: 60px;
        border-width: 3px;
    }

    .box-title-page h2 {
        font-size: 40px;
        margin-bottom: 7px;
    }

    .box-title-page h3 {
        font-size: 20px;
        letter-spacing: 0.15em;
    }

    .box-title-page2 h4 {
        font-size: 18px;
        letter-spacing: 0.1em;
        padding: 10px;
    }

    /* link */

    .link01 a::before {
        top: 6px;
    }

    /*btn-top*/

    .pagetop_btn {
        /*    bottom: 10%;*/
        bottom: 10px;
        right: 10px;
    }

    .pagetop_btn img {
        height: 50px;
    }


    /*footer*/

    footer {
        padding: 30px 0px;
    }

    .footer-guide {
        gap: 35px;
    }

    .footer-guide .box-detail {
        order: 1;
    }

    .footer-guide .s01 {
        order: 2;
    }

    .footer-guide .s02 {
        order: 3;
    }

    .footer-guide .box-service {
        width: 280px
    }

    .footer-guide .box-service a {
        padding-top: 240px;
    }

    .footer-guide .box-service a::before {
        width: 260px;
        height: 260px;
    }

    .footer-guide h6 {
        padding: 15px 20px;
        font-size: 16px;
        min-width: 240px;
    }


    .footer-guide h6::before {
        background-size: auto 22px;
    }

    .f-nav ul {
        display: none;
    }


    .footer-guide h2 img {
        height: 150px;
    }

    .footer-guide p,
    .f-copy p {
        padding-top: 20px;
        font-size: 12px;
    }

    .f-copy p {
        padding-top: 50px;
    }


}
