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

* {
    line-height: 1;
}

html {
    scroll-padding-top: 0px;
    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: "Josefin Sans", sans-serif;
    --number-font: "M PLUS Rounded 1c", sans-serif;

    --base-font-size: 16px;

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

    --color-base: #000;
    --color-base2: #333;
    --color-main: #00A69A;
    --color-sub: #89C33F;
    --color-back1: #DCEEE9;
    --color-back2: #EFEFEF;
    --color-back3: #4FBBC0;
}


.contents-box {
    font-family: var(--base-font);
    font-weight: var(--base-weight);
    font-size: var(--base-font-size);
    color: var(--color-base);
    clear: both;
    margin-right: auto;
    margin-left: auto;
    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-weight);
}

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


/* animation_box */

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

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

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

.animation_box-top {
    transform: translateY(100px);
}

.animation_box-bottom {
    transform: translateY(-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, 0px);
}



/*header*/


.header {
    width: 100%;
    z-index: 99;
    position: relative;
}

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

.header h1 img {
    height: 150px;
    width: auto;
}

/*banner-digisma*/

#banner-digisma {
    position: fixed;
    top: 0px;
    right: 0px;
    display: flex;
    justify-content: flex-end;
    z-index: 999;
}

#banner-digisma .box02 {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/*メニュー部分*/
nav {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    left: 0;
    text-align: center;
    z-index: 100;
}

nav div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 12%;
}

.contents-box nav h2 {
    width: 260px;
}

.contents-box nav h2 img {
    width: 100%;
    height: auto;
}

nav ul {
    gap: 17px 10px;
    width: 500px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

nav ul li a {
    color: var(--color-main);
    font-weight: var(--base-weight);
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    width: 100%;
    padding: 15px 0px;
    display: block;
    border-style: solid;
    border-radius: 5px;
    border-color: var(--color-main);
    border-width: 1px;
    transition: .5s;
    text-align: center;
}

nav ul li a:hover {
    background-color: var(--color-main);
    color: #FFF;
}


/*開閉ボタン*/
#nav_toggle {
    display: fixed;
    width: 80px;
    height: 80px;
    top: 0px;
    right: 0px;
    z-index: 10000;
    background-color: var(--color-main);
    padding: 26px 20px;

}

#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);
}



/* lay */

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

.lay p {
    line-height: 1.8;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.lay1000 {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.lay1060 {
    width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

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

.lay1160 {
    width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.lay-85 {
    width: 85%;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}


/* layout-contents01 */

.layout-contents01 {
    border-style: solid;
    border-color: var(--color-main);
    border-width: 2px;
    text-align: center;
    padding: 0px 50px 50px;
    background-color: #FFF;
    border-radius: 35px;
}

.layout-contents01 h3 {
    font-weight: var(--base-weight);
    font-size: 27px;
    color: #FFF;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-align: center;
    background-color: var(--color-main);
    min-width: 460px;
    padding: 12px 20px 15px;
    border-radius: 0px 0px 15px 15px;
    display: inline-block;
    margin-bottom: 40px;
}



/*pagetop_btn*/

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

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

.pagetop_btn a:hover {
    opacity: 0.75;
}

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

/*pagetop_btn2*/

.pagetop_btn2 {
    position: fixed;
    top: 300px;
    right: 0px;
    z-index: 100;
}

.pagetop_btn2 img {
    height: 220px;
    width: auto;
}


/* banner-24 */

.banner-24 {
    position: fixed;
    right: 0px;
    top: 250px;
    z-index: 10;
}

.banner-24 img {
    height: 150px;
    width: auto;
}

/*footer-link*/

.footer-link {
    width: 100%;
    text-align: center;
    padding: 10px 5px;
    background-color: var(--color-main);
    position: fixed;
    left: 0px;
    bottom: 0px;
    display: none;
}

.footer-link ul {
    display: flex;
    justify-content: center;
}

.footer-link ul li {
    width: 32%;
    margin: 0px 1%;
}

.footer-link ul li img {
    width: 100%;
    height: auto;
}




/*footer*/

footer {
    width: 100%;
    text-align: center;
}

/*footer-guide*/

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

.layout-time {
    width: 460px;
}

.layout-time img {
    width: 100%;
    height: auto;
}

.layout-time p {
    text-align: right;
    padding-top: 20px;
    color: var(--color-main);
}

.footer-guide h2 {
    margin-bottom: 15px;
}

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

.footer-guide h3,
.footer-guide h3 a {
    font-family: var(--number-font);
    font-weight: var(--base-weight);
    color: var(--color-main);
    line-height: 1.2;
    font-size: 45px;
}

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

.footer-guide h3::before {
    content: "";
    position: absolute;
    left: 0px;
    bottom: 8px;
    background-image: url("../images/tel-footer.svg");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 26px;
    height: 32px;
}

/* footer-map */

.footer-map {
    width: 100%;
    text-align: center;
}

.footer-map .box-text {
    background-color: var(--color-main);
    padding: 20px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0px 40px;
}

.footer-map p {
    color: #FFF;
    line-height: 1.2;
    padding: 10px 0px;
    padding-left: 40px;
    border-left-style: solid;
    border-color: #FFF;
    border-width: 1px;
    text-align: left;
}

.footer-map .map-box iframe {
    width: 100%;
    height: 450px;
}


/*footer*/

.footer p {
    font-size: 12px;
    color: #FFF;
    line-height: 1.2;
    font-weight: normal;
    padding: 20px 0px;
    background-color: var(--color-main);
}


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

    body {
        min-width: 1280px;
    }

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

}

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

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

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


    /*header*/

    .header {
        padding: 10px 5px;
    }

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

    .header h1 img {
        height: 85px;
    }


    /*開閉ボタン*/
    #nav_toggle {
        width: 48px;
        height: 48px;
        padding: 16px 10px 0px;
        margin-right: 0px;
        margin-top: 0px;
    }

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

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

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

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

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


    #banner-digisma nav div h2 img {
        height: 120px;
        width: auto;
    }

    nav div {
        padding-top: 60px;
        gap: 30px;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
    }

    nav ul {
        width: 300px;
        gap: 15px;
    }

    nav ul li a {
        font-size: 15px;
    }

    nav ul li a {
        padding: 15px 0px;
        letter-spacing: 0.05em;
    }


    .nav-pc {
        display: none;
    }



    /* lay */

    .lay1000,
    .lay1060,
    .lay1100,
    .lay1160,
    .lay-85 {
        width: 88%;
    }

    /* layout-contents01 */

    .layout-contents01 {
        padding: 0px 6% 30px;
    }

    .layout-contents01 h3 {
        font-size: 17px;
        letter-spacing: 0.05em;
        min-width: 80%;
        padding: 15px;
        border-radius: 0px 0px 15px 15px;
        margin-bottom: 27px;
    }

    .layout-contents01 p {
        text-align: left;
    }



    /*btn-top*/

    .pagetop_btn {
        bottom: 60px;
        right: 5px;
    }

    .pagetop_btn img {
        height: 50px;
    }


    /* banner-24 */

    .banner-24 {
        display: none;
    }


    /*footer-guide*/

    .footer-guide {
        flex-direction: column;
        align-items: center;
        gap: 30px 70px;
        padding: 60px 8% 40px;
    }

    .layout-time {
        width: 100%;
    }

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

    .footer-guide h3,
    .footer-guide h3 a {
        font-size: 38px;
    }

    .footer-guide h3 {
        padding-left: 30px;
    }

    .footer-guide h3::before {
        bottom: 8px;
        height: 25px;
    }


    /* footer-map */

    .footer-map .box-text {
        padding: 20px 0px;
        gap: 0px 20px;
        flex-direction: column;
    }

    .footer-map h6 img {
        height: 25px;
        width: auto;
    }

    .footer-map p {
        padding: 10px 0px 0px;
        border-left-style: none;
        font-size: 14px;
        text-align: center;
        line-height: 1.6;
    }

    .footer-map .map-box iframe {
        height: 200px;
    }

    /*footer*/

    .footer p {
        font-size: 10px;
        padding: 20px 0px;
        padding-bottom: 20%;
    }

    /*footer-link*/

    .footer-link {
        display: block;
    }


}
