@charset "utf-8";

html {
    font-size: 62.5%;
    font-family: sans-serif;
}

.container {
    padding: 0 20px;

}

.br-sp {
    display: block;
}

.br-pc {
    display: none;
}

.more-btn {
    width: 180px;
    height: 55px;
    background-color: #F5E33C;
    font-size: 1.8rem;
    line-height: 55px;
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
}

.small {
    font-size: 1.6rem;
}

.more-link {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.more-bar {
    width: 42px;
    height: 2px;
    background-color: #181818;
    margin-right: 8px;
}

.black {
    color: #181818;
}

.back-black {
    background-color: #181818;
}

.white {
    color: #fff;
}

.back-white {
    background-color: #fff;
}

.open-menu {
    position: fixed;
    top: -100%;
    left: 0;
    text-align: center;
    background-color: #181818;
    font-size: 3rem;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    z-index: 4;
    transition: .5s;
}

/*SP版openクラスがついた時=========================================*/
.open-menu.open {
    top: 0;
}

.top-logo.open,
.top.open {
    opacity: 0;
}

header.open {
    background-color: #181818;
}

.humberger.open > span {
    background-color: #fff;
}

.humberger.open > span:first-child {
    transform: rotate(45deg);
    margin-top: 2px;
}

.humberger.open > span:nth-of-type(2) {
    display: none;
}

.humberger.open > span:last-child {
    width: 30px;
    transform: rotate(-45deg);
    margin-top: -2px;
}
/*==============================================================*/

.open-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
}

.open-menu a:not(:last-child) {
    margin-bottom: 40px;
}

.humberger-close {
    display: none;
    color: #fff;
    font-size: 1.8rem;
    margin-left: 18px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    height: 60px;
    background-color: #fff;
    font-weight: bold;
    color: #000;
    font-size: 1.8rem;
    z-index: 5;
}
    
.menu {
    display: flex;
    align-items: center;
}
    
.logo-pc {
    display: none;
}

.top a {
    text-decoration: none;
    color: #000;
}
    
.humberger-pc {
    display: none;
}

.humberger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    cursor: pointer;
}

.humberger span {
    display: block;
    height: 2px;
    background-color: #000;
    transition: .5s;
}
    
.humberger span:first-child {
    width: 30px;
}
    
.humberger span:nth-of-type(2) {
    width: 20px;
    margin: 4px 0;
}
    
.humberger span:last-child {
    width: 10px;
}

.move-heart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin-top: 60px;
    background-image: url(images/mv_sm.png);
    height: calc((100vh - 60px) / 10 * 9);
    color: #fff;
}

.move-heart h1 {
    margin-bottom: 10px;
    font-size: 4.3rem;
    text-align: center;
    white-space: nowrap;
}

.move-heart p {
    font-weight: bold;
    font-size: 1.8rem;
    text-align: center;
    white-space: nowrap;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc((100vh - 60px) / 10);
    background-color: #fff;
    text-align: center;
    }

.sns-icon i {
    display: block;
}

.sns-icon i:nth-of-type(2) {
    margin: 0 25px;
}

.about {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about h2 {
    font-size: 3.6rem;
    color: #181818;
    text-align: center;
}

.about p {
    margin-top: 35px;
    margin-bottom: 40px;
    font-size: 1.6rem;
    text-align: center;
    color: #181818;
    font-weight: bold;
}

.about img {
    display: block;
    margin-top: 50px;
    width: 310px;
    box-shadow: -20px 20px #F5E33C ;
}

.service {
    padding-top: 120px;
    padding-bottom: 60px;
}

.service h2 {
    color: #181818;
    text-align: center;
    font-size: 3.6rem;
}

.service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content-common {
    margin-top: 42px;
}

.service-content-common img {
    display: block;
    width: 100%;
}

.service-content-common h3 {
    font-size: 1.8rem;
    text-decoration: underline;
    text-align-last: left;
    margin-top: 20px;
}

.service-content-common p {
    font-size: 1.4rem;
    text-align-last: left;
    margin-top: 20px;
    margin-bottom: 16px;
}

.works {
    background-color: #181818;
    color: #fff;
    padding-top: 55px;
    padding-bottom: 60px;
}

.works h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 42px;
}

.sheep-literature {
    margin-bottom: 40px;
}

.sheep-literature img {
    width: 100%;
    margin-bottom: 15px;
}

.sheep-literature-link {
    display: flex;
}

.sheep-literature-link a {
    display: block;
    font-size: 1.4rem;
    color: #fff;
}

.sheep-literature-link a:not(.sheep-literature-link a:last-child) {
    margin-right: 14px;
}

.sheep-literature h3 {
    font-size: 2.6rem;
    text-align-last: left;
    margin-top: 12px;
}

.sheep-literature p {
    font-size: 1.4rem;
    text-align-last: left;
    font-weight: bold;
    margin-top: 17px;
}

.works-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.test {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.works-sub-content img{
    display: block;
    width: 100%;
}

.works-sub-content > div {
    margin-top: 14px;
    color: #fff;
    font-weight: bold;
}

.works-sub-content > div h4 {
    margin-bottom: 13px;
    font-size: 1.4rem;
}

.news {
    padding-top: 56px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.news h2 {
    font-size: 3.6rem;
    color: #181818;
    text-align: center;
    margin-bottom: 42px;
}

.news-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.news-about-hp {
    display: flex;
    flex-direction: column;
    background-color: #F5E33C;
    padding: 20px 25px;
    font-weight: bold;
    text-align: left;
}

.news-about-hp img {
    display: block;
    width: 100%;
}

.news-about-hp > div {
    height: 165px;
    padding: 20px;
    background-color: #fff;
}

.date {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.news-about-hp > div p:nth-of-type(2) {
    font-size: 1.4rem;
    margin-bottom: 17px;
}

.contact {
    background-color: #F5E33C;
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding-top: 36px;
    padding-bottom: 40px;
}

.contact-content h2 {
    font-size: 3.6rem;
    color: #181818;
    margin-bottom: 32px;
    text-align: center;
}

.contact-content p {
    text-align: center;
    line-height: 40px;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 40px;
}

footer {
    padding-top: 60px;
    background-color: #F5E33C;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer img {
    display: block;
    width: 100px;
}

.footer-sns-icon {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.footer-sns-icon i {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
}

.footer-sns-icon i:nth-of-type(2) {
    margin: 0 25px;
}

.footer-menu {
    display: none;
}

.author {
    margin-top: 50px;
    margin-bottom: 32px;
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
}

@media (min-width:600px) {
    .container {
        padding: 0 93px;
    }

    .br-sp {
        display: none;
    }

    .br-pc {
        display: block;
    }

    .more-btn {
        width: 200px;
        height: 62px;
        font-size: 2rem;
        line-height: 62px;
    }

    .small {
        font-size: 1.8rem;
    }

    .more-link {
        font-size: 2rem;
    }

    .more-bar {
        width: 58px;
    }

    .open-menu {
        font-size: 4rem;
    }

    .open-menu a:not(:last-child) {
        margin-bottom: 54px;
    }

    /*SP版openクラスがついた時=========================================*/

    .humberger.open > span:nth-of-type(2) {
        display: none;
    }

    .humberger.open > span:last-child {
        width: 40px;
    }

    .humberger-close.open {
        display: block;
    }

    .humberger-pc.open {
        display: none;
    }
    /*==============================================================*/

    header {
        height: 80px;
        font-size: 2rem;
    }

    .logo-pc {
        display: block;
    }

    .logo-sp {
        display: none;
    }

    .humberger-pc {
    display: block;
    margin-left: 18px;
    }

    .humberger span:first-child {
        width: 40px;
    }
        
    .humberger span:nth-of-type(2) {
        width: 30px;
        margin: 6px 0;
    }
        
    .humberger span:last-child {
        width: 15px;
    }

    .move-heart {
        margin-top: 80px;
        background-image: url(images/mv_bg.png);
        background-size: cover;
        background-position: center;
    }

    .move-heart h1 {
        margin-bottom: 3px;
        font-size: 9.2rem;
    }

    .move-heart p {
        font-size: 2.6rem;
    }

    .sns-icon i:nth-of-type(2) {
        margin: 0 40px;
    }

    .about {
        padding-top: 0;
        flex-direction: row;
        justify-content: space-around;
    }

    .about-content {
        align-items: stretch;
    }

    .about h2 {
        font-size: 4.6rem;
        text-align-last: left;
    }

    .about p {
        margin-top: 42px;
        margin-bottom: 40px;
        font-size: 1.8rem;
        text-align-last: left;
    }

    .about img {
        margin-top: 0;
        width: 630px;
        box-shadow: -60px 60px #f5e33c;
    }

    .service {
        padding-top: 175px;
        padding-bottom: 90px;
    }

    .serivce h2 {
        font-size: 4.6rem;
    }

    .service-content {
        flex-direction: row;
        justify-content: space-around;
    }

    .service-content-common {
        margin-top: 52px;
        width: 380px;
    }

    .service-content-common:nth-of-type(2) {
        margin-top: 100px;
    }

    .service-content-common:nth-of-type(3) {
        margin-top: 150px;
    }

    .works {
        padding-top: 85px;
        padding-bottom: 90px;
    }

    .works-content {
        display: flex;
        justify-content: space-around;
    }

    .works h2 {
        text-align-last: left;
        font-size: 4.6rem;
        margin-bottom: 50px;
    }

    .sheep-literature {
        margin-bottom: 0;
        width: 680px;
    }

    .sheep-literature h3 {
        font-size: 4rem;
    }

    .sheep-literature p {
        font-size: 1.6rem;
        margin-top: 22px;
        margin-bottom: 18px;
    }

    .works-sub {
        align-items: center;
    }

    .test {
        grid-template-columns: 1fr;
        gap: 30px;

    }

    .works-sub-content {
        display: flex;

    }

    .works-sub-content img {
        width: 180px;
        margin-right: 20px;
    }

    .works-sub-content > div {
        margin-top: 20px;
    }

    .works-sub-content > div h4 {
        margin-bottom: 15px;
    }

    .news {
        padding-top: 85px;
        padding-bottom: 90px;
    }

    .news h2 {
       font-size: 4.6rem;
        margin-bottom: 52px;
    }

    .news-content {
        flex-direction: row;
        justify-content: space-around;
    }

    .news-about-hp {
        flex-direction: row;
    }

    .news-about-hp img {
        width: 280px;
        height: 172px;
    }

    .news-about-hp > div {
        height: 172px;
    }

    .date {
        margin-bottom: 12px;
    }

    .news-about-hp > div p:nth-of-type(2) {
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .contact {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .contact-content {
        padding-top: 45px;
        padding-bottom: 50px;
    }

    .contact-content h2 {
        font-size: 4.6rem;
        margin-bottom: 42px;
    }

    .contact-content p {
        font-size: 1.8rem;
        line-height: 46px;
    }

    .author {
        width: 100%;
        text-align: right;
    }
}
