body {
    background: #DCD2D3;
}

.scroll-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-bottom: 5px;
}

.loop, .loop2 {
    display: flex;
    gap: 0px;
    position: relative;
    width: 150%;
}

.loop {
    animation: smoothStepScroll1 40s ease-in-out infinite;
}

.loop2 {
    animation: smoothStepScroll2 40s ease-in-out infinite;
}

@keyframes smoothStepScroll1 {
    0%, 4% {
        transform: translateX(0);
    }

    5%, 9% {
        transform: translateX(-150px);
    }

    10%, 14% {
        transform: translateX(-300px);
    }

    15%, 19% {
        transform: translateX(-450px);
    }

    20%, 24% {
        transform: translateX(-600px);
    }

    25%, 29% {
        transform: translateX(-750px);
    }

    30%, 34% {
        transform: translateX(-900px);
    }

    35%, 39% {
        transform: translateX(-1050px);
    }

    40%, 44% {
        transform: translateX(-1200px);
    }

    45%, 49% {
        transform: translateX(-1350px);
    }

    50%, 54% {
        transform: translateX(-1500px);
    }

    55%, 59% {
        transform: translateX(-1650px);
    }

    60%, 64% {
        transform: translateX(-1800px);
    }

    65%, 69% {
        transform: translateX(-1950px);
    }

    70%, 74% {
        transform: translateX(-2100px);
    }

    75%, 79% {
        transform: translateX(-2250px);
    }

    80%, 84% {
        transform: translateX(-2400px);
    }

    85%, 89% {
        transform: translateX(-2550px);
    }

    90%, 94% {
        transform: translateX(-2700px);
    }

    95%, 99% {
        transform: translateX(-2850px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes smoothStepScroll2 {
    0%, 4% {
        transform: translateX(-2850px);
    }

    5%, 9% {
        transform: translateX(-2700px);
    }

    10%, 14% {
        transform: translateX(-2550px);
    }

    15%, 19% {
        transform: translateX(-2400px);
    }

    20%, 24% {
        transform: translateX(-2250px);
    }

    25%, 29% {
        transform: translateX(-2100px);
    }

    30%, 34% {
        transform: translateX(-1950px);
    }

    35%, 39% {
        transform: translateX(-1800px);
    }

    40%, 44% {
        transform: translateX(-1650px);
    }

    45%, 49% {
        transform: translateX(-1500px);
    }

    50%, 54% {
        transform: translateX(-1350px);
    }

    55%, 59% {
        transform: translateX(-1200px);
    }

    60%, 64% {
        transform: translateX(-1050px);
    }

    65%, 69% {
        transform: translateX(-900px);
    }

    70%, 74% {
        transform: translateX(-750px);
    }

    75%, 79% {
        transform: translateX(-600px);
    }

    80%, 84% {
        transform: translateX(-450px);
    }

    85%, 89% {
        transform: translateX(-300px);
    }

    90%, 94% {
        transform: translateX(-150px);
    }

    95%, 99% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-2850px);
    }
}

.scroll-container img {
    height: 25vw;
    width: auto;
}

.in {
    max-width: 1100px;
    margin: 90px auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

p.txt {
    width: 52%;
    font-size: 17px;
    line-height: 2.1;
}

p.sp-img {
    width: 40%;
}

section img {
    max-width: 100%;
    max-height: 80%;
}

h1 img {
    width: 350px;
}

h2.en-title span {
    background: #FF5A14;
    padding: 14px 50px 21px;
    font-size: 58px;
    font-weight: 600;
    border-radius: 50px;
}

h2.en-title {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    gap: 5px 0;
    position: absolute;
    z-index: 1;
}

h2.en-title span:nth-child(1),h2.en-title span:nth-child(2),h2.en-title span:nth-child(3),h2.en-title span:nth-child(5) {
    border-radius: 0 50px 50px 0;
}

h2.en-title span:nth-child(4) {
    margin-left: 80px;
}

main {
    padding-top: 240px;
}

h1 {
    position: absolute;
    right: 20%;
}

header {
    padding-top: 50px;
}

h2.jp-title {
    writing-mode: vertical-lr;
    display: flex;
    align-items: flex-start;
    flex-direction: column-reverse;
    justify-content: flex-start;
    position: absolute;
    right: 20px;
    z-index: 1;
    top: 0;
    gap: 10px 0;
}

h2.jp-title span {
    background: #ff5a14;
    font-size: 2vw;
    border-radius: 0 0 50px 50px;
    padding: 20px;
    font-weight: 600;
}

h2.jp-title span:nth-child(2) {
    font-size: 3vw;
    font-weight: 600;
    padding-left: 30px;
    border-radius: 0 0 60px 60px;
}

h2.jp-title span:nth-child(2) b {
    transform: rotate(45deg);
    display: inline-block;
    margin-top: -0.2em;
}

section.howto .in {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 100px 0;
}

section.howto {
    background: #ff5a14;
}

ol.step-ol h3 {
    background: #DCD3D3;
    border-radius: 50px;
    font-size: 24px;
    padding: 7px 70px 8px;
    display: block;
    margin: 40px auto 30px;
}

ol.step-ol li {
    display: flex;
    flex-direction: column;
    /*! align-items: flex-start; */
    /*! max-width: 840px; */
    padding-bottom: 130px;
    background: url(../img/ten.png) no-repeat center bottom/10px;
}

ol.step-ol li p {
    font-size: 30px;
    line-height: 2;
}

ol.step-ol li:last-child {
    background: none;
    padding-bottom: 70px;
}

section.howto .in p {
    font-size: 20px;
    text-align: center;
}

section h2 {
    font-size: 45px;
    text-align: center;
    margin: 0px 0 40px;
    font-weight: 600;
}

ul.works-li.in {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px 0;
    max-width: 90%;
}

ul.works-li.in li {
    width: 18%;
    display: grid;
    vertical-align: top;
    grid-template-rows: 16vw 2vw 5vw 4.2vw;
}

ul.works-li.in li.wide {
    width: 18%;
    display: grid;
    vertical-align: top;
    grid-template-rows: 16vw 2vw 9vw 6vw;
}

ul.works-li.in li.wide2 {
    width: 18%;
    display: grid;
        vertical-align: top;
    grid-template-rows: 16vw 2vw 9vw 6vw;
}
ul.works-li.in li.wide3 {
    width: 18%;
    display: grid;
        vertical-align: top;
    grid-template-rows: 16vw 2vw 8vw 6vw;
}

p.works-txt {
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 0.5vw;
}
p.works-ex {
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
}

p.no {
    color: #ff5a14;
    font-size: 20px;
    text-align: center;
}


p.works-img {
    height: 16vw;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

p.works-cap {
    text-align: center;
    font-size: 8px;
    line-height: 1;
}

section.rule {
    background: #ff5a14;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;
}

section.rule p {
    font-size: 18px;
    max-width: 840px;
    line-height: 2;
    margin: 0 auto 15px;
    position: relative;
    padding-left: 1em;
    text-indent: -1em;
}

p.btn {
    margin: 0 auto;
    text-align: center;
}

section.rule p:before {
    /*! content: "・"; */
    /*! position: absolute; */
    /*! left: -20px; */
}

p.btn:before {
    display: none;
}

p.btn a {
    text-decoration: none;
    color: #000;
    font-size: 46px;
    background: #DCD3D3;
    border-radius: 50px;
    padding: 20px 120px 20px;
    display: inline-block;
    margin-top: 80px;
    font-weight: 600;
}

p.btn a img {
    width: 50px;
    margin-left: 20px;
}

p.btn a:hover {
    background: #f6f1f1;
}

footer {
    text-align: center;
    background: #ff5a14;
    font-size: 19px;
    padding-bottom: 90px;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media screen and (min-width: 1201px) and (max-width:1280px) {
    ul.works-li.in li {
        width: 30%;
        display: grid;
        grid-template-rows: 16vw 2vw 6vw 4.2vw;
        gap: 0;
       vertical-align: top;
    }
    ul.works-li.in li.wide {
    width: 30%;
    display: grid;
    grid-template-rows: 16vw 2vw 10vw 3vw;
    gap: 0;
    vertical-align: top;
}

    ul.works-li.in li.wide2 {
    width: 30%;
    display: grid;
    grid-template-rows: 16vw 2vw 7vw 3vw;
    gap: 0;
    vertical-align: top;
}

    ul.works-li.in li.wide3 {
    width: 30%;
    display: grid;
    grid-template-rows: 16vw 2vw 10vw 3vw;
    gap: 0;
    vertical-align: top;
}
    p.works-txt {
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
}
p.works-ex {
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
}
p.works-cap {
    text-align: center;
    font-size: 8px;
    line-height: 1;
}

}


@media screen and (min-width: 1281px) and (max-width:1440px) {
    ul.works-li.in li {
        width: 30%;
        display: grid;
        grid-template-rows: 16vw 2vw 6vw 4.2vw;
        gap: 0;
       vertical-align: top;
    }
    ul.works-li.in li.wide {
    width: 30%;
    display: grid;
    grid-template-rows: 16vw 2vw 10vw 3vw;
    gap: 0;
    vertical-align: top;
}

    ul.works-li.in li.wide2 {
    width: 30%;
    display: grid;
    grid-template-rows: 16vw 2vw 7vw 3vw;
    gap: 0;
    vertical-align: top;
}

    ul.works-li.in li.wide3 {
    width: 30%;
    display: grid;
    grid-template-rows: 16vw 2vw 10vw 3vw;
    gap: 0;
    vertical-align: top;
}
    p.works-txt {
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
}
p.works-ex {
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
}
p.works-cap {
    text-align: center;
    font-size: 8px;
    line-height: 1;
}

}



@media screen and (min-width: 768px) and (max-width:1200px) {
    .in {
        width:92%;
        display: flex;
        flex-direction: column;
        margin: 60px auto;
    }

    h2.en-title span {
        font-size: 4vw;
        padding: 2vw 3vw;
    }

    h1 img {
        width: 26vw;
    }

    h1 {
        right: 30vw;
    }

    h2.jp-title span:nth-child(2) {
        font-size: 5vw;
    }

    h2.jp-title span {
        font-size: 3vw;
    }

    p.txt {
        font-size: 18px;
        width: 100%;
        margin-bottom: 50px;
    }
    p.no {
        color: #ff5a14;
        font-size: 14px;
        text-align: center;
    }
    .in {
    }

    ol.step-ol li {
        width: 100%;
        margin: 0 auto;
    }

    section.howto .in p {
        font-size: 23px;
    }

    p.sp-img {
        width: 55%;
    }

    ul.works-li.in li {
        width: 30%;
        display: grid;
        grid-template-rows: 30vw 2vw 9vw 6vw;
        gap: 0;
        vertical-align: top;
    }

    ul.works-li.in li.wide {
        width: 30%;
        display: grid;
        grid-template-rows: 30vw 2vw 9vw 6vw;
        gap: 0;
        vertical-align: top;
    }
ul.works-li.in li.wide2 {
    width: 30%;
    display: grid;
    grid-template-rows: 30vw 2vw 9vw 6vw;
    vertical-align: top;
}
ul.works-li.in li.wide3 {
    width: 30%;
    display: grid;
    grid-template-rows: 30vw 2vw 9vw 6vw;
    vertical-align: top;
}
    



    section.rule p {
        width: 92%;
    }

    p.btn {
        text-align: center;
    }

    footer {
        font-size: 19px;
    }

    p.btn a {
        font-size: 47px;
        padding: 15px 70px;
    }

    p.btn a img {
        width: 40px;
    }

    section.rule p.btn {
        max-width: 700px;
    }

    h2.en-title span:nth-child(4) {
        margin-left: 30px;
    }

    p.works-img {
        height: 30vw;
    }

    p.works-txt {
        text-align: center;
        font-size: 13px;
        line-height: 1.4;
    }
    p.works-ex {
        text-align: center;
        font-size: 13px;
        line-height: 1.4;
    }
    p.works-cap {
        text-align: center;
        font-size: 8px;
        line-height: 1;
    }

    section h2 {
        font-size: 40px;
        margin-bottom: 30px;
    }
}

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

    .pc {
        display: none;
    }

    h2.en-title span {
        font-size: 19px;
        padding: 10px 20px;
    }

    h2.en-title span:nth-child(4) {
        margin-left: 20px;
    }

    h1 {
        top: 20px;
        right: unset;
        left: 10px;
    }

    h1 img {
        width: 191px;
    }

    h2.en-title {
        top: 70px;
    }

    h2.jp-title span:nth-child(2) {
        font-size: 35px;
        padding-left: 18px;
    }

    h2.jp-title span {
        font-size: 19px;
        padding: 10px;
    }

    .in {
        display: flex;
        flex-direction: column;
        margin: 40px auto;
    }

    p.txt {
        width: 88%;
        font-size: 16px;
        line-height: 2;
    }
    p.no {
        color: #ff5a14;
        font-size: 14px;
        text-align: center;
    }
    p.sp-img {
        width: 82%;
        margin: 50px 00;
    }

    section h2 {
        font-size: 33px;
    }

    section.howto .in {
        padding: 80px 0;
    }

    section.howto .in p {
        font-size: 16px;
        text-align: justify;
    }

    ol.step-ol {
        width: 88%;
    }

    h2.jp-title span:nth-child(2) b {
        margin-top: -6px;
    }

    ol.step-ol h3 {
        margin: 30px auto;
        font-size: 22px;
    }

    ol.step-ol li {
        padding-bottom: 90px;
        background-size: 7px;
    }

    ul.works-li.in li {
        width: 48%;
        display: grid;
        grid-template-rows: 50vw 5vw 20vw 20vw;
        gap: 0;
        vertical-align: top;
    }

    ul.works-li.in li.wide {
        width: 48%;
        display: grid;
        grid-template-rows: 50vw 5vw 48vw 12vw;
        gap: 0;
        vertical-align: top;
    }

    ul.works-li.in li.wide2 {
        width: 48%;
        display: grid;
        grid-template-rows: 50vw 5vw 48vw 12vw;
        gap: 0;
        vertical-align: top;
    }


        ul.works-li.in li.wide3 {
        width: 48%;
        display: grid;
        grid-template-rows: 50vw 5vw 20vw 20vw;
        gap: 0;
        vertical-align: top;
    }

    ul.works-li.in {
        width: 88%;
    }

    p.works-img {
        height: 50vw;
    }
    p.works-txt {
        text-align: center;
        font-size: 13px;
        line-height: 1.4;
    }
    p.works-ex {
        text-align: center;
        font-size: 13px;
        line-height: 1.4;
    }
    p.works-cap {
        text-align: center;
        font-size: 8px;
        line-height: 1;
        padding-top: 2vw;
    }
    section.rule p {
        font-size: 16px;
        width: 88%;
    }

    p.btn a {
        width: 100%;
        padding: 15px 0;
        font-size: 30px;
        text-align: center;
    }

    p.btn a img {
        width: 27px;
    }

    footer {
        font-size: 15px;
    }

    section.works {
        padding: 30px 0;
    }

    section.rule {
        padding: 50px 0;
    }

    .loop {
        animation: smoothStepScroll1 40s ease-in-out infinite;
    }

    .loop2 {
        animation: smoothStepScroll2 40s ease-in-out infinite;
    }


    .scroll-container img {
        height: 50vw;
    }

    main {
        padding-top: 170px;
    }

    .scroll-container.sp {
        margin-bottom: 0;
    }

    ul.loop2 img {
        margin-left: 300px;
    }

    h2.jp-title {
        right: 10px;
    }
}
