body{
    background-color: #242424 !important;
    width: 100%;
}

.header-group {
    margin-top: -180px;
}

.group{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    height: 100vh;
    margin-top: 5%;
}

h1{
    font-size: 2.8rem;
}

h2{
    font-size: 2.5rem;
    font-weight: bold;
}

h4{
    font-size: 1.5rem;
    color: #7a7878;
    font-weight: 100;
}
.tag{
    margin-bottom: 10%;
    font-weight: 100;
}

a{
    margin-right: 5%;
    color: #7a7878;
}

p{
    font-size: 1.5rem;
    color: white;
    margin-top: 5%;
    line-height: 2.0;
}

.spacer {
    margin: 10% 0;
    position: relative;
    text-align: left;
    width: 7%;
    height: 2px;
    background-color: #ADADAD;
}

img{
    max-width: 1080px;
    width: 100%;
}

/*only int2*/
.parallel-image{
    margin-top: 10%;
    position: relative;
    display: flex;
    align-items: center; 
    width: 90%;
    left: 5%;
    right: 5%;
    margin-bottom: 10%;
    }
    
    /* 画像左 */
    .img1 {
        width: 47%;
        height: auto;
        margin-right: 6%;
    }
    
    /* 画像右 */
    .img2 {
        width: 47%;
        height: auto;
    }
/*end*/

.in-group-parallel {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 10%;
}

.in-group-left {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.in-link-left {
    position: absolute;
    font-size: 1rem;
    white-space: nowrap;
    z-index: 10;
    top: 25%;
    left: 115px;
}

.in-allow-left {
    position: relative;
    width: 60%;
    height: auto;
    left: 80px;
}
.in-group-right {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.in-link-right {
    position: absolute;
    font-size: 1rem;
    white-space: nowrap;
    z-index: 10;
    top: 25%;
    left: 140px;
}

.in-allow-right {
    position: relative;
    width: 60%;
    height: auto;
    left: 10px;
}



footer{
    margin-top: 20%;
    margin-bottom: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 100%;
    height: auto;
}


/* Tablet Styles */
@media screen and (max-width: 768px) {
    .group {
        width: 95%;
        margin-top: 10%;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    p {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .parallel-image {
        width: 100%;
        left: 0;
        right: 0;
    }

    .in-link-left,
    .in-link-right {
        font-size: 0.9rem;
    }
}


/* Mobile Styles */
@media screen and (max-width: 480px) {
    .header-group {
        margin-top: -100px;
    }

    .group {
        width: 92%;
        margin-top: 15%;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .parallel-image {
        flex-direction: column;
        margin-top: 15%;
        margin-bottom: 15%;
    }

    .img1,
    .img2 {
        width: 100%;
        margin-right: 0;
    }

    .img1 {
        margin-bottom: 5%;
    }

    .in-group-parallel {
        flex-direction: column;
        margin-top: 15%;
    }

    .in-group-left,
    .in-group-right {
        width: 100%;
        margin-bottom: 10%;
        margin-top: -50px;
    }

    .in-link-left {
        font-size: 0.8rem;
        position: relative;
        padding-top: -200px;
    }

    .in-link-right{
        font-size: 0.8rem;
        position: relative;
        margin-top: 30%;
        left: 2%;
    }

    .in-allow-left {
        width: 100%;
        margin-top: -10%;
        left: 0;
    }

    .in-allow-right{
        width: 100%;
        margin-top: -10%;

    }
}
