@charset "utf-8";
p {
    font-size: 1.4rem;
    font-family: "IBM+Plex+Sans";
    font-weight: 400;
}
header {
    background-color: #f2f2f2;
    border-bottom: 5px solid #003;
    box-sizing: content-box;
    position: fixed;
    top: 0;
}
h1 {
    font-size: 7.2rem;
    line-height: 7.2rem;
    padding-bottom: 0;
    color: #003;
    position: relative;
    display: inline-block;
    z-index: 0;
    flex-grow: 0;
    width: auto;
    text-decoration: underline #ffcc00 10px;
    text-underline-offset: 1px;
}

#header-logo-bg::after {
    content: "";
    width: 200px;
    height: 65px;
    background-color: #f2f2f2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
#container {
    max-width: 1280px;
    height: auto;
    margin: 120px auto 0;
    padding: 0 60px;
    background-color: #f2f2f2;
}
.pagesFlex  {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.pagesBox {
    width: 50%;
    height: auto;
    padding: 30px;
}
.pagesBox:first-child {
    display: flex;
    flex-direction: column;
    justify-content: left;
}
.pagesBox:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.pagesBox h2 {
    font-size: 5.0rem;
}
.pagesBox p {
    margin: 0;
    line-height: normal;
}
.headerimg {
    width: 220px;
    height: 220px;
    border: solid #003 2px;
    position: relative;
}
.headerDecoration01 {
    width: 75px;
    height: 75px;
    background-color: #003;
    clip-path: polygon(0 0,100% 0,100% 0,0 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.headerDecoration02 {
    width: 150px;
    height: 150px;
    background-color: #003;
    clip-path: polygon(0 100%,100% 0,100% 100%,0 100%);
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
}
.headerimg img {
    width: 200px;
    height: auto;
    border: solid 3px #003;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 0;
}
#headerLogo {
    width: 100px;
    height: auto;
    border: none;
    position: absolute;
    z-index: 1;
}

/*about*/
.pagesBox02 {
    width: 50%;
    height: auto;
    padding: 60px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
}
.pagesBox02 img {
    width: 150px;
}
.pagesBox02 p {
    position: absolute;
    top: 0px;
    right: 0px;
}
.pagesBox02:nth-of-type(2) p {
    position: absolute;
    top: 0px;
    right: 60px;
}
.pagesBox02 p span {
    color: #aa3524;
    font-size: 3.4rem;
}
.pageAbout {
    width: 100%;
    margin-top: 30px;
    padding: 0 30px;  
}
/*process*/
.pagesFlex02 {
    display: flex;
    padding: 30px;
    margin-top: 60px;
}
.processbox {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}
.processbox img {
    height: 200px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
}
.processbox:nth-of-type(3) img {
    height: 60px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0);
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transition: transform 0.3s ease-out;
    transform: translate(-50%,-50%);
    z-index: 1;
}
.processbox:nth-of-type(3) img:hover {
    transform: translate(-50%, -50%) rotate(360deg);
}
.processbox:nth-of-type(3) span {
    width: 150px;
    height: 150px;
    border: solid #003 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 0;
}
.arrowshape {
    width: 75px;
    height: 75px;
    background-color: #003;
    clip-path: polygon(0% 20%, 50% 20%, 50% 0%, 100% 50%, 50% 100%, 50% 80%, 0% 80%);

}
.processtext {
    width: 100%;
    margin: 60px 0;
    padding: 0 30px;
}
/*up*/
#upload-wrap {
    width: 100%;
    height: auto;
    margin: 30px 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.4rem;
}
.up {
    width: 50%;
    height: 30px;
    margin: 0 auto;
    line-height: normal;
    border-left: solid #ccc 2px;
    border-right: solid #ccc 2px;
    border-bottom: solid #ccc 2px;
    box-sizing: border-box;
}
#up-head {
    padding: 0 30px;
    display: flex;
    align-items: center;
}
#up-area {
    height: 300px;
    text-align: center;
    position: relative;
}
#up-area img {
    width: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}
#up-area span {
    height: 30px;
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 1;
}
#up-area::after {
    content: "";
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #ccc;
    border: dotted #003 3px;
    opacity: 0.7;
    z-index: 0;
}
#up-button {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#up-button span {
    color: #f2f2f2;
    padding: 10px;
    margin: 20px;
    background-color: #003;
    border: solid #003 2px;
    box-sizing: border-box;
}
#up-head {
    background-color: #ccc;
}
/* format */
.formatbox {
    width: 100%;
    margin-top: 30px;
    padding: 0 30px;
}
.formatbox h2 {
    font-size: 5.0rem;
    text-decoration: underline 3px;
    font-family: "IBM+Plex+Sans";
    font-weight: 100;
}
.formatflex {
    margin: 60px 0;
    padding: 0 60px;
    display: flex;
    justify-content: center;
    gap: 120px;
}
.formatflex img {
    width: 50%;
}


@media (max-width: 1220px) {
    footer {
        height: 60px;
        position: fixed;
        bottom: 0;
        z-index: 3;
    }
    #footer-wrap {
        height: 60px;
    }
    #footer-logo {
        height: 30px;
        position: absolute;
        top: 5px;
        left: 50%;
        transform: translateX(-50%);
    }
    #footer-logo img {
        height: 30px;
        position: absolute;
        top: 5px;
        left: 50%;
        transform: translateX(-50%);
        transform-origin: center center;
        transition: transform 0.3s ease-out;
    }
    #copy-right {
        margin: 0;
    }
}
@media (max-width: 480px) {
    h1 {
        font-size: 6.8rem;
    }
    #container {
        max-width: 1280px;
        height: auto;
        margin: 120px auto 150px;
        padding: 0 30px;
        background-color: #f2f2f2;
    }
    .pagesFlex  {
        flex-direction: column  ;
    }
    .pagesBox {
        width: 100%;
    }
    .pagesBox:first-child {
        order: 2;
    }
    .pagesBox:last-child {
        order: 1;
    }
    .pagesBox h2 {
        font-size: 4.0rem;
    }
    .pagesBox02 {
        width: 100%;
        padding: 60px;
        position: relative;
        display: flex;
        flex-direction: column;
        text-align: right;
    }
    .pagesBox02:nth-of-type(2) p {
        position: absolute;
        top: 0px;
        right: 0px;
    }
    .pagesFlex02 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 60px;
    }
    .processbox {
        width: 100%;
    }
    .arrowshape {
        transform: rotate(90deg);
    }
    .up {
        width: 100%;
    }
    #upload-wrap {
        margin-bottom: 150px;
    }
    .formatbox {
        width: 100%;
        margin-top: 30px;
        padding: 0;
    }
    .formatbox h2 {
        font-size: 3.6rem;
        text-decoration: underline 3px;
        font-family: "IBM+Plex+Sans";
        font-weight: 100;
    }
    .formatflex {
        margin: 60px 0;
        display: flex;
        justify-content: center;
        gap: 30px;
    }
    .formatflex img {
        width: 100%;
    }



    #sp-nav {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,51,1);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        clip-path: polygon(0 90px,30px 60px,calc(65% - 30px) 60px,65% 30px,65% 0,100% 0,
        100% calc(100% - 86.25px),calc(100% - 30px) calc(100% - 60px),
        calc(0% + 30px) calc(100% - 60px),0% calc(100% - 86.25px),0 calc(100% - 76.25px),0 calc(50% - 112.5px));
        position: absolute;
        top: 0;
        right: 0;
        opacity: 0;
        z-index: 10;
    }
    #sp-nav ul {
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }
    #sp-nav li {
        list-style: none;
        padding: 20px;
        width: 34%;
        aspect-ratio: 1/1;
        background-color: #f2f2f2;
        display: flex;
        justify-content: center;
        align-items: center;
        clip-path: polygon(0 15px,15px 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,0 100%);
    }
}