/*
$breakpoints-min: (
    'xs': 'screen and (min-width: 481px)',
    'sm': 'screen and (min-width: 769px)',
    'md': 'screen and (min-width: 990px)',
    'lg': 'screen and (min-width: 1367px)',
    'xl': 'screen and (min-width: 1921px)',
) !default;
 */
/* Layout
============================================================================= */
.footer__wrapper {
    width: 100%;
}

.footer {
    margin: 0 auto;
    background: #f1f3ee;
}

@media screen and (max-width: 767px) {
    .footer {
        width: auto;
    }
}

.footer__under-in {
    width: 1200px;
    margin: 0 auto;
}

/* contact
============================================================================= */
.contact-section {
    background: #007a63;
    padding: 78px 0 90px;
}

@media screen and (max-width: 767px) {
    .contact-section {
        padding: 49px 0 50px;
    }
}

.contact__title-wrapper {
    text-align: center;
}

.contact__title {
    color: #fff;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 48px;
}

@media screen and (max-width: 767px) {
    .contact__title {
        font-size: 20px;
        margin-bottom: 55px;
    }
}

.contact__list-wrapper {
    width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .contact__list-wrapper {
        width: 335px;
    }
}

.contact__list {
    display: flex;
    justify-content: space-between;
}

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

.contact__list-item {
    width: calc((100% - 3px) / 4);
    padding: 40px 40px 40px;
    background: #fff;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .contact__list-item {
        width: 100%;
        padding: 27px 20px 20px 20px;
        margin-bottom: 1px;
    }
}

.contact-item__title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 22px;
}

@media screen and (max-width: 767px) {
    .contact-item__title {
        font-size: 20px;
        margin-bottom: 19px;
    }
}

.contact-item__button-wrapper {
    width: 220px;
    margin: 0 auto;
    border-radius: 3px;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .contact-item__button-wrapper {
        width: 295px;
    }
}

.contact-item__button {
    padding: 20px 0;
}

.footer__button {
    background: #f5843c;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    display: block;
    width: 100%;
    opacity: 1!important;
}

.footer__button:hover {
    background: #007a63;
}

.footer__button--contact span {
    display: inline-block;
    padding: 3px 0 3px 33px;
    font-size: 14px;
    font-weight: 700;
    background: url("../../image/home-ic001.svg") no-repeat left top;
    background-size: 27px auto;
}

@media screen and (max-width: 767px) {
    .footer__button--contact span {
        font-size: 15px;
    }
}

.contact-item__list {
    background: #f1f3ee;
    margin-top: 10px;
    padding: 10px;
}

@media screen and (max-width: 767px) {
    .contact-item__list {
        padding: 20px;
    }
}

.contact-item__sub-item {
    border-radius: 3px;
    overflow: hidden;
}

.contact-item__sub-item + .contact-item__sub-item {
    margin-top: 5px;
}

.contact-item__sub-item a {
    display: block;
    padding: 13px 0;
    background: #fff;
}

.contact-item__sub-item span {
    display: inline-block;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.contact-item__sub-item a:hover span {
    color: #007a63;
}

.contact-item__sub-item--download span {
    padding-left: 25px;
    background: url("../../image/home-ic002.svg") no-repeat left top 7px;
    background-size: 15px auto;
}

.contact-item__sub-item--faq span {
    padding-left: 32px;
    background: url("../../image/home-ic003.svg") no-repeat left top 3px;
    background-size: 24px auto;
}


/* menu
============================================================================= */
.footer__list {
    width: 1200px;
    margin: 0 auto;
    padding: 85px 0 80px;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 767px) {
    .footer__list {
        width: 335px;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-bottom: -12px;
        padding: 31px 0 15px;
    }
}

.footer__menu {
    position: relative;
    padding-top: 20px;
}

.footer__menu::after {
    content: '';
    display: block;
    width: 1px;
    height: 196px;
    background: #fff;
    position: absolute;
    right: 0;
    top: 0;
}

@media screen and (max-width: 767px) {
    .footer__menu {
        padding-top: 0;
    }
    .footer__menu::after {
        content: none;
    }
}

.footer__menu--menu1 {
    width: 232px;
}

@media screen and (max-width: 767px) {
    .footer__menu--menu1 {
        width: auto;
    }
    .footer__menu--menu1 .footer__menu-title-link {
        width: 160px;
    }
}

.footer__menu--menu2 {
    width: 209px;
    padding-left: 36px;
}

@media screen and (max-width: 767px) {
    .footer__menu--menu2 {
        padding-left: 0;
        width: auto;
    }
}

.footer__menu--menu3 {
    width: 251px;
    padding-left: 36px;
}

@media screen and (max-width: 767px) {
    .footer__menu--menu3 {
        padding-left: 0;
        width: auto;
    }
    .footer__menu--menu3 .footer__menu-title-link {
        width: 160px;
    }
}

.footer__menu--menu4 {
    width: 288px;
    padding-left: 36px;
}

@media screen and (max-width: 767px) {
    .footer__menu--menu4 {
        padding-left: 0;
        width: 175px;
    }
}

.footer__menu--menu5 {
    width: 147px;
    padding-left: 36px;
}

@media screen and (max-width: 767px) {
    .footer__menu--menu5 {
        padding-left: 0;
        width: auto;
    }
}

.footer__menu--menu6 {
    width: 165px;
    padding-left: 30px;
}

.footer__menu--menu6::after {
    content: none;
}

@media screen and (max-width: 767px) {
    .footer__menu--menu6 {
        display: none;
    }
}

.footer__menu--menu5 .footer__menu-title-link {
    margin-bottom: 11px;
}

.footer__menu-title-link {
    font-size: 13px;
    font-weight: 700;
    position: relative;
    display: block;
    padding-left: 14px;
    margin-bottom: 9px;
}

.footer__menu-title-link:hover {
    color: #007a63;
}

@media screen and (max-width: 767px) {
    .footer__menu-title-link {
        margin-bottom: 15px;
    }
}

.footer__menu-title-link::before {
    content: '';
    display: block;
    width: 8px;
    height: 3px;
    background: #007a63;
    position: absolute;
    left: 0;
    top: 8px;
}

.footer__menu-list {
    margin-left: 7px;
}

@media screen and (max-width: 767px) {
    .footer__menu-list {
        display: none;
    }
}

.footer__menu-item {
    margin: 5px 0;
}

.footer__menu-link {
    color: #666;
    font-size: 13px;
    font-weight: 400;
    position: relative;
    padding-left: 9px;
}

.footer__menu-link::before {
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #666;
    position: absolute;
    left: 0;
    top: 7px;
}

.footer__menu-link:hover {
    color: #007a63;
}

/* related
============================================================================= */
.footer__related {
    padding: 49px 0 58px;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .footer__related {
        padding: 50px 0 7px;
        text-align: center;
    }
}

.footer__related .footer__related-title {
    margin-bottom: 28px;
}

.footer__related .footer__related-title h2 {
    font-size: 20px;
    font-weight: 700;
}


@media screen and (max-width: 767px) {
    .footer__related .footer__related-title {
        margin-bottom: 20px;
    }

    .footer__related .footer__related-title h2 {
        font-size: 18px;
    }
}


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

@media screen and (max-width: 767px) {
    .footer__related ul {
        flex-wrap: wrap;
    }
}

.footer__related ul li a {
    display: block;
    width: 260px;
    margin: 0 12px 0 12px;
    border: solid 1px #B8C4CE;
    border-radius: 3px;
}

@media screen and (max-width: 767px) {
    .footer__related ul li a {
        margin: 0 12px 3px 12px ;
    }
}

.footer__related ul li a:hover{
    border: solid 1px #007A63;
}

@media screen and (max-width: 767px) {
    .footer__related ul li a:hover{
        border: solid 1px #B8C4CE;
    }
}



.footer__related ul li a img {
    width: 100%;
}




/* under
============================================================================= */
.footer__under-in {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 34px 0;
}

@media screen and (max-width: 767px) {
    .footer__under-in {
        width: auto;
        display: block;
        padding: 30px 20px 30px 20px;
    }
}

.footer-nav__lists {
    display: flex;
    justify-content: flex-start;
}

@media screen and (max-width: 767px) {
    .footer-nav__lists {
        display: block;
        text-align: center;
    }
}

.footer-nav__list {
    margin-right: 20px;
    position: relative;
}

.footer-nav__list + .footer-nav__list {
    padding-left: 20px;
}

.footer-nav__list + .footer-nav__list::before {
    content: '';
    display: block;
    width: 1px;
    height: 16px;
    background: #b8c4ce;
    position: absolute;
    left: 0;
    top: 6px;
}

@media screen and (max-width: 767px) {
    .footer-nav__list {
        margin: 5px 0 5px;
    }
    .footer-nav__list + .footer-nav__list {
        padding-left: 0;
    }
    .footer-nav__list + .footer-nav__list::before {
        content: none;
    }
}

.footer-nav__link {
    position: relative;
    font-size: 12px;
    font-weight: 400;
}

.footer__copy {
    color: #007a63;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding-top: 4px;
}

@media screen and (max-width: 767px) {
    .footer__copy {
        margin-top: 23px;
        text-align: center;
    }
}

/* floating
============================================================================= */

#footer .atm-floating-area {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 80;
    transition: all 0.3s;
    line-height: 1.2;
}
#footer .atm-floating-area a {
    display: block;
}
#footer .atm-floating-area input {
    display: none;
}
#footer .atm-floating-area input:checked ~ .bn_overlay {
    display: none;
}
#footer .atm-floating-area .close_button {
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: #111;
    text-align: center;
    display: inline-block;
}
#footer .atm-floating-area .close_button:hover {
    opacity: 0.7;
}
#footer .atm-floating-area img {
    width: 225px;
}

@media screen and (max-width: 767px) {
    #footer .atm-floating-area img {
        width: 160px;
    }
    #footer .atm-floating-area .close_button {
        font-size: 12px;
        width: 16px;
        height: 16px;
    }
}