@charset "utf-8";

/*====================================
common
=======================================*/
:root {
    --primary-white: #FDFDFD;
    --primary-yellow: #FFF9C4;
    --primary-hiyellow: #FEFFB1;
    --primary-green: #ACFF97;
    --primary-darkGreen: #4F9E3B;
    --primary-oreng: #FF7000;
    --primary-black: #333A3A;
    --contentWidth: 91.4%;
    --contentPadding: 4.2%;
}

html {
    font-size: 62.5%;
}

body {
    font-family:
        'Noto Sans JP',
        'M PLUS 1p',
        'Kiwi Maru',
        'sans-serif';
    color: var(--primary-black, #333A3A);
    background-color: var(--primary-white, #FDFDFD);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.title {
    color: var(--primary-black, #333A3A);
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 auto;
    position: relative;
    display: block;
    padding: 0 16px;
    z-index: 1;
}

.title::before,
.title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 23px;
    background-image: url(../images/nanohana-title-sp.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -2;
}

.title::before {
    left: 14px;
}

.title::after {
    right: 14px;
}

.btn {
    display: block;
    border-radius: 13px;
    background-color: var(--primary-hiyellow);
    padding: 12px 32px 12px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
    position: relative;
    transition: 0.4s;
}

.btn::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 22px;
    background-image: url(../images/icon_btn.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.btn:hover,
.question:hover {
    opacity: 0.5;
}

/* common pc */
@media screen and (min-width: 769px) {
    .title {
        font-family: "M PLUS 1p";
        font-size: 3.2rem;
        font-weight: 700;
        }

    .title::before,
    .title::after {
        width: 116px;
        height: 51px;
    }
    
    .title::before {
        left: 50px;
    }
    
    .title::after {
        right: 50px;
    }

    .btn {
        width: 270px;
        height: 50px;
        font-size: 2.4rem;
    }

}/* pc 769px */

/*====================================
header
=======================================*/
.header {
    padding: 24px 6.4% 16px;
}

.header__topic,
.nav__topic {
    color: var(--primary-black);
    font-family: "Kiwi Maru";
    font-size: 1.6rem;
    font-weight: 500;
}

.header__topic::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 24px;
    background-image: url(../images/icon-computer.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 14px;
}

/* .nav初期表示 */
.nav {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100vh;
    padding: 24px 6.4%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__list {
    margin-top: 66px;
}

.nav__item {
    color: var(--primary-black), #333A3A;
    font-family: "M PLUS 1p";
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 52px;
}

.nav__item img {
    display: inline-block;
    vertical-align: -3px;
    margin-right: 24px;
}

.nav.active {
    transform: translateX(0);
}

.header__btn {
    display: block;
    width: 18px;
    height: 11px;
    cursor: pointer;
    position: absolute;
    top: 37px;
    right: 6.4%;
}

@media screen and (min-width: 769px) {
    .header {
        max-width: 1280px;
        height: 65px;
        margin: 0 auto;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }    

    .header__topic {
        font-size: 2rem;
    }

    .nav__header {
        display: none;
    }
    
    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translateX(0);
    }

    .nav__list {  
        margin-top: 0;
        display: flex;
        align-items: center;
    }

    .nav__item {
        margin: 0 0 0 30px;
        padding: 0;
        font-family: "Kiwi Maru";
        font-size: 1.8rem;
        font-weight: 500;
    }

    .nav__item img {
        display: none;
        margin-right: 0;
    }

    .nav__item:first-of-type {
        display: none;
    }

    .header__btn {
        display: none;
    }

}/* pc 769px */


/*====================================
footer
=======================================*/
.footer__group {
    margin: 48px 0 0;
    padding: var(--contentPadding);
}

.footerTitlle {
    font-family: "M PLUS 1p";
    font-size: 1.8rem;
    font-weight: 700;  
}

.tel {
    font-family: "M PLUS 1p";
    font-size: 1.4rem;
    font-weight: 400;
}

.footer__group2 {
    margin: 48px 0;
    padding: var(--contentPadding);
}

.footerNav__list {
    margin-top: 32px;
}

.footerNav__item {
    color: var(--primary-darkGreen);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 16px;
}

.home {
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.sns {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
}

.sns__item {
    width: 40px;
    height: 40px;
    margin-right: 36px;
}

.smart {
    display: block;
    margin-bottom: 10px;    
}

.linksite {
    font-family: "M PLUS 1p";
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
}

.site:hover,
.smart:hover,
.organic:hover,
.learn:hover,
.home:hover {
    opacity: 0.5;
}

.contact {
    background-image: url(../images/bg_horse.png);
    background-repeat: no-repeat ;
    background-size: contain;
    background-position: bottom;
    padding-bottom: 100px;
}

.copy {
    text-align: center;
    padding: 8px 0;
    margin-top: 10px;

}

/* footer pc */
@media screen and (min-width: 769px) {
    .article__footer {
        max-width: 1160px;
        margin: 0 auto;
        background-size: cover;
    }
    .footer__group {
        margin: 64px 0px 0px;
        display: flex;
        justify-content: space-between;
    }

    .footer__group2 {
        max-width: 1160px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        font-weight: 500;
    }

    .footerTitlle,
    .tel {
        font-size: 2.4rem;
    }

    .footerNav__list {
        display: flex;
        justify-content: center;
        gap: 20px;

    }

    .footerNav__item {
        font-size: 2.4rem;
        margin-left: 20px;
    }

    .home {
        font-size: 2.4rem;
    }

    .sns {
        margin: 0px;
        padding: 0px;
        margin-left: 20px;
    }

    .spBr {
        display: none;
    }

    .linksite {
        font-size: 2rem;
    }

    .home:hover,
    .smart:hover,
    .organic:hover,
    .learn:hover {
        opacity: 0.5;
    }

}/* pc 769px */