@charset "utf-8";
/* ======================
common
=======================*/
html {
    font-size: 62.5%;
}

body {
    font-family:
     "Hind",
     sans-serif,
     "Hepta Slab",
     serif;
    font-style: normal;
    color: black;
    background-color:#FEF5EC;
    line-height: 2;
}

img {
    max-width: 100%;
    height: auto;
}
/* =========================
header
==========================*/
.header {
    padding: 10px 3.7%;
}

.header__topic,
.nav__topic {
    color: #6C2735;
    font-family: "Hepta Slab";
    font-size: 3.2rem;
    font-weight: 700;
    line-height: normal;
}

.nav {
    background: #FEF5EC;
    width: 100%;
    height: 100vh;
    padding: 10px 3.7% 78px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header {
    display: flex;
}

.nav__topic {
    display: inline;
    margin-left: auto;
    margin-right: auto;
}

.nav__list {
    margin-top: 35px;
}

.nav__item {
    font-family: Hind;
    font-size: 3.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3.2;
    gap: 45px;
}

/* .nav.active表示 */
.nav.active {
    transform: translateX(0);
}

.header__topic {
    text-align: center;
}

.header__btn {
    display: block;
    width: 24px;
    height: 26px;
    cursor: pointer;
    position: absolute;
    top: 18px;
    left: 14px;
}
/* header pc */
@media screen and (min-width:769px) {
    .header {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0;
    }

    .header__topic {
        color: #6C2735;
        font-family: "Hepta Slab";
        font-size: 5rem;
        font-weight: 700;
        letter-spacing: 1px;
        padding-top: 15px;
    }

    .nav {
        background: transparent;
        position: static;
        width: 100%;
        height: auto;
        padding: 0;
        transform: translate(0);
    }

    .nav__list {
        display: flex;
        justify-content: center;
        margin-top: 17px;
        margin-bottom: 17px;
        gap: 50px;
    }

    .nav__item {
        padding: 0px;
        color: #000;
        font-family: Hind;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;


    }

    .nav__header {
        display: none;
    }

    .nav__btn {
        display: none;
    }

    .header__btn {
        display: none;
    }
}

/*==========================
main
==========================*/

.mainImg__title {
    background-image: url(../images/img_main_sp.png);
    background-size: cover;
    text-align: center;
}

.main__title {
    display: inline-block;
    padding-top: 32%;
    padding-bottom: 7%;
}

.main__first--title {
    color: #FFF;
    font-family: Hind;
    font-size: 21.3vw;
    font-weight: 700;
    line-height: 62%;
}

.main__second--title {
    color: #FFF;
    font-family: Hind;
    font-size: 10.66vw;
    font-weight: 700;
    line-height: 1;
}

.main__third--title {
    color: #FFF;
    font-family: Hind;
    font-size: 4.26vw;
    font-weight: 700;
    line-height: 1;
}

/* ====================
chart
======================*/
.secondary__txtbox {
    text-align: center;
}

.secondary__txt{
    color: #000;
    font-family: Hind;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2;
    text-align: left;
    display: inline-block;
    margin-top: 38px;
}

.secondary__img {
    width: 100vw;
}

.chart__title {
    color: #7F0E0E;
    text-align: center;
    font-family: "Hepta Slab";
    font-size: 3.2rem;
    font-weight: 700;
    margin-top: 15px;
}

.chart__number  {
    width: 86px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    margin-top: 30px;
}

.chart__item {
    text-align: center;
    position: relative;
    margin-bottom: 180px;
}

.chart__item::before {
    content: "";
    width: 50px;
    height: 50px;
    background-image: url(../images/how\ to\ make_arrow.svg);
    background-size: cover;
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
}

.chart__item:last-child::before {
    width: 0;
    height: 0;
}

.chart__item:last-child {
    margin: 0;
}


.chart__number--step {
    color: #000;
    font-family: "Hepta Slab";
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.chart__number--number {
    color: #000;
    font-family: "Hepta Slab";
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.chart__explanation {
    margin-top: 56px;
}

.chart__img--yarn {
    width: 47vw;
    height: 150px;
    display: inline-block;
}

.chart__img--knitting {
    width: 232px;
    height: 150px;
    display: inline-block;
}

.chart__img--sweater {
    width: 139px;
    height: 150px;
    display: inline-block;
}

.chart__topic--yarn {
    color: #000;
    text-align: center;
    font-family: "Hind";
    font-size: 3.3rem;
    font-weight: 700;
    margin-top: 32px;
}

.chart__topic--knitting {
    color: #000;
    text-align: center;
    font-family: "Hind";
    font-size: 3.3rem;
    font-weight: 700;
    margin-top: 32px;
}

.chart__topic--sweater {
    color: #000;
    text-align: center;
    font-family: "Hind";
    font-size: 3.3rem;
    font-weight: 700;
    margin-top: 32px;
}
.chart__txt {
    color: #000;
    font-family: Hind;
    font-size: clamp(16px,4.2vw,30px);
    font-weight: 700;
    line-height: 2;
    text-align: left;
    display: inline-block;
    margin-top: 37px;
}

.chart__img--arrow {
    margin: 70px 46% ;
}


.btn {
    display: block;
    padding: 16px 0px 18px;
    background: #7F0E0E;
    border-radius: 8px;
    color: #FFF;
    font-weight: 700;
    font-size: 1.1rem;
    /* text-align: center; */
    line-height: 1;
    padding: 6px 11px;
    transition: 0.4s;
    position: relative;
    margin: 22px 23%;
}

.btn::after {
    display: block;
    content: '';
    width: 7px;
    height: 12px;
    background-image: url(../images/triangle-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 11px;
    right: 11px;
    transform: translateY(-50%);
}

/* pc chart */
@media screen and (min-width:769px) {
    .secondary__txt {
        text-align: center;
        font-family: Hind;
        font-size: 2rem;
        font-weight: 700;
        line-height: 3.5;
        width: 34%;
        margin: 60px auto 70px;
    }

    .br__sp {
        display: none;
    }

    .chart__title {
        color: #7F0E0E;
        text-align: center;
        font-family: "Hepta Slab";
        font-size: 4.8rem;
        font-weight: 700;
        line-height: normal;
        margin-top: 70px;
    }

    .chart {
        display: flex;
        justify-content: center;
        width: 80%;
        margin: 70px auto;
        gap: 86px;
    }


    .chart__item {
        margin-bottom: 0;

    }

    .chart__item::before {
        content: '';
        width: 50px;
        height: 50px;
        background-image: url(../images/how\ to\ make_arrow.svg);
        background-size: cover;
        position: absolute;
        bottom: 50%;
        left: 105%;
        transform: translateY(-50%) rotate(-90deg);
    }

    .chart__img--yarn {
        width: 18vw;
        margin-top: 43px;
    }

    .chart__img--knitting {
        width: 23vw;
        margin-top: 30px;
    }

    .chart__img--sweater {
        width: 15vw;
        margin-top: 45px;
    }

    .chart__topic--yarn {
        color: #000;
        text-align: center;
        font-size: 3.3rem;
        margin-top: 40px;
    }

    .chart__topic--knitting {
        color: #000;
        text-align: center;
        font-size: 3.3rem;
        margin-top: 25px;
    }

    .chart__topic--sweater {
        color: #000;
        font-size: 3.3rem;
        margin-top: -2px;
    }
    .chart__txt {
        color: #000;
        font-family: Hind;
        font-size: 1.6rem;
    }

    .chart__img--arrow {
        width: 40px;
        height: 40px;
        transform: rotate(270deg);
    }

    .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 240px;
        height: 20px;
        padding: 14px 30px 14px 19px;
        margin: 138px auto 128px;
    }

    .btn::after {
        top: 13px;
    }
}

/* =====================
patterns
======================*/
.patterns {
    overflow: hidden;
}

.pattern__scroll--title {
    display: flex;
    align-items: center;
    list-style: none;
    width: 100%;
    margin-top: 30px;
    gap: 40px;
}

.pattern__title {
    color: #FFF;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #000;
    font-family: Hind;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: normal;
    white-space: nowrap;
    animation: marquee-left 16s linear infinite;
}

/* アニメーション */
    @keyframes marquee-left {
    100% {
      transform: translateX(-100%);
    }
  }


.patterns__bluesweater--img {
    border-radius: 30px;
    background: #D9D9D9;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    margin-top: 30px;
}

.patterns__whitesweater--img {
    border-radius: 30px;
    background: #D9D9D9;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    margin-top: 80px;
}

.patterns__txtbox {
    width: 89.8%;
    margin: 32px auto;
}

.patterns__first--txt {
    color: #000;
    font-family: Hind;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.patterns__blue--txt {
    color: #0E357F;
    font-family: "Hepta Slab";
    font-size: 6.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 30px;
    width: 100%;
}

.patterns__white--txt {
    color: #000;
    font-family: "Hepta Slab";
    font-size: 6.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 30px;
}

.patterns__third--txt {
    color: #000;
    font-family: Hind;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2;
    margin-top: 30px;
}

.patterns__fourth--txt {
    color: #000;
    font-family: Hind;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2;
    margin-top: 45px;

}

.sns__txtbox {
    display: flex;
    align-items: center;
    margin-top: 30px;
    border-bottom: 1px solid #000;
    justify-content: space-between;

}

.sns__txt {
    color: #000;
    font-family: Hind;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
}

.patterns__sns {
    display: flex;
    align-items: center;
}

.patterns__sns--icon {
    margin-left: 11px;
}

.patterns__diagram {
    margin-top: 80px;
    text-align: center;
}

.patterns__item--top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.patterns__item--bottom {
    display: flex;
    align-items: center;
    justify-content: center;
}

.patterns__item--pattern {
    width: 100px;
    height: 100px;
}

.patterns__item--txt {
    text-align: left;
    margin-left: 20px;
}

.patterns__item--title {
    color: #000;
    font-family: Hind;
    font-size: 2rem;
    font-weight: 700;
    line-height: normal;
}

.patterns__item--explanatory {
    color: #000;
    font-family: Hind;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
    margin-top: 12px;
}

.patterns__arrow--top {
    width: 102px;
    height: 72px;
    transform: rotate(20deg);
    margin-left: 10%;
    margin-bottom: 10px;
}
.patterns__item--img {
    width: 260px;
    height: 241px;
}

.patterns__arrow--bottom {
    width: 102px;
    height: 72px;
    margin: 10px 10% 0 58%;
    transform: rotate(-160deg);
}

.patterns__item--rope {
    width: 110px;
    height: 110px;
}

.patterns__item--basket {
    width: 100px;
    height: 95px;
}

/* pc patterns */
@media screen and (min-width:769px) {
.pattern__scroll--title {
    overflow: hidden;
    }

    .pattern__title {
        color: #FFF;
        -webkit-text-stroke-width: 0.5;
        -webkit-text-stroke-color: #000;
        font-family: Hind;
        font-size: 8rem;
        line-height: normal;
    }


    .patterns__header {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        margin-top: 88px;
        gap: 8.68%;
    }

    .patterns__bluesweater--img {
        width: 38.5%;
        height: 38.5%;
        margin: 0;
    }

    .patterns__whitesweater--img {
        width: 38.5%;
        height: 38.5%;
        margin: 0;
    }

    .patterns__diagram {
        margin-top: 100px;
        margin-bottom: 100px;
    }
    .patterns__txtbox {
        width: 33%;
        margin: 0 ;
    }


    .patterns__item--top {
        margin-right: 30%;
    }

    .patterns__item--bottom {
        margin-left: 30%;
    }
    .patterns__item--pattern {
        width: 238px;
        height: 238px;
    }

    .patterns__item--rope {
        width: 238px;
        height: 238px;
    }

    .patterns__item--basket {
        width: 238px;
        height: 238px;
    }

    .patterns__imgbox {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 103px;
    }

    .patterns__arrow--top {
        margin: 0;
        width: 140px;
        height: 98px;
        transform: rotate(17deg);
    }

    .patterns__arrow--bottom {
        margin: 0;
        width: 140px;
        height: 98px;
    }
}

@media screen and (max-width:855px) {
    .patterns__blue--txt {
        font-size: 5.4rem;
    }

    .patterns__white--txt {
        font-size: 5.4rem;
    }
}

/* =====================
section
======================*/
.section__pc--img {
    display: none;
}

.section {
    position: relative;
}

.section__sp--img {
    width: 100%;
    margin-top: 80px;
}

.section__txt {
    position: absolute;
    color: #000;
    font-family: Hind;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    top: 90px;
    left: 12px;
}

@media screen and (min-width:769px) {
    .section__txt {
    font-family: Hind;
    font-size: 1.8rem;
    margin-top: 10%;
    margin-left: 11%;
    }

    .section__br {
        display: none;
    }
}

/* =====================
footer
======================*//* footer */
.footer__head {
    position: relative;
}

.footer__img {
    width: 100%;
}
.footer__txt {
    color: #FFF;
    font-family: Hind;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: normal;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.footer__foot {
    margin: 20px 5% 15px;
}

.footer__title {
    color: #6C2735;
    font-family: "Hepta Slab";
    font-size: 3.2rem;
    font-weight: 700;
    line-height: normal;
}

.footer__nav {
    margin-top: 20px;
}

.footer__nav--item {
    color: #000;
    font-family: Hind;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.2;
}

.footer__copylight {
    display: flex;
    align-items: flex-end;
    margin-top: 34px;
    justify-content: space-between;
}

.footer__sns {
    display: flex;

}

.footer__sns--icon img {
    width: 16px;
    height: auto;
    margin-right: 11px;
    object-fit: cover;

}

.copy {
    display: inline-block;
    color: #000;
    font-family: Hind;
    font-size: 1rem;
    font-weight: 700;
    line-height: normal;
}

.copy small {
    display: inline-block;
    line-height: 1;
}

@media screen and (min-width:769px){
    .footer__txt {
        color: #FFF;
        font-family: Hind;
        font-size: 8vw;
        line-height: normal;
    }

    .footer__foot {
        width: 86%;
        margin: 0 auto;
    }

    .footer__menu {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .footer__title {
        color: #6C2735;
        font-family: "Hepta Slab";
        font-size: 6rem;
        line-height: normal;
    }

    .footer__nav {
        display: flex;
        gap: 60px;
    }

    .footer__nav--item {
        color: #000;
        font-family: Hind;
        font-size: 2.5rem;
        line-height: normal;
    }

    .footer__copylight {
        display: flex;
        flex-flow: column;
    }

    .footer__sns {
        margin-right: -15px;
        margin-top: 60px;
    }

    .footer__sns--icon img {
        width: 30px;
    }

    .copy {
        display: block;
        width: 100%;
        text-align: center;
    }

    .copy small {
        margin-top: 60px;
        margin-bottom: 30px;
        color: #000;
        font-family: Hind;
        font-size: 1rem;
        line-height: normal;
    }
}