html {
    scroll-behavior: smooth;
}

#about {
    scroll-margin-top: 80px;
}
#service {
    scroll-margin-top: -50px;
}
#message {
    scroll-margin-top: 100px;
}
#corporate {
    scroll-margin-top: 100px;
}

.title {
    color: #02ccba;
}

.header {
    height: 120px;
    /* background-color: white; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.header-content {
    padding: 48px 80px;
    display: flex;
    justify-content: space-between;
}
.header-logo {
    width: 220px;
    height: 60px;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
}
.header-menu {
    display: flex;
    /* justify-content: space-between; */
    gap: 48px;
}
.header-menu-content {
    font-size: 16px;
    font-weight: 700;
    /* width: 120px; */
    /* line-height: 60px; */
}
.header-menu-content:hover {
    color: gray;
}

.background {
    background-image: url('corporate_background.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 1100px;
}


.firstview {
    padding-top: 100px;
    position: relative;
}
.firstview img {
    width: 100%;
    height: auto;
}
.img-title {
    position: absolute;
    top: 285px;
    left: 75px;
    color: #FFF;

    text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.80);
    font-family: Inter;
    font-size: 100px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.img-headline {
    position: absolute;
    top: 430px;
    left: 75px;
    color: #FFF;

    text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.80);
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.img-text {
    position: absolute;
    top: 510px;
    left: 75px;
    color: #FFF;

    text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.80);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.about {
    padding: 140px 200px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    /* background-color: transparent; */
}
.about-title {
    font-size: 40px;
    font-weight: bold;
}
.about-headline {
    font-size: 48px;
    font-weight: bold;
}
.about-text {
    /* width: 600px; */
    overflow-wrap: break-word;

    color: #202020;

    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

    line-height: 250%;
}

.service {
    background-color: transparent;
    padding: 100px 110px;
}
.service-content {
    padding-bottom: 50px;
}
.service-title {
    font-size: 40px;
    font-weight: bold;
    color: white;
    margin: 50px 70px;
}
.service-block {
    margin: 0 60px;
    background-color: white;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
}
.service-button-content {
    width: 300px;
    height: 50px;
    margin-top: 30px;
    font-size: 16px;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-radius: 7px;
}
.service-button-content:hover {
    background: gray;
}

.member {
    margin: 100px 110px;
    padding: 50px 70px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.member-title {
    font-size: 40px;
    font-weight: bold;
}
.member-content {
    padding: 50px 0px;
    display: flex;
    justify-content: center;
}
.member-main {
    display: flex;
    gap: 50px;
}
.member-main img {
    width: 200px;
}
.member-detail {
    /* padding: 10px; */
}
.member-comment {
    padding-top: 20px;
    line-height: 1.5;
    width: 100%;
}

.corporate {
    margin: 100px 110px;
    padding: 50px 70px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.corporate-title {
    font-size: 40px;
    font-weight: bold;
}
.corporate-content {
    padding: 50px 0px;
    display: flex; 
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
}
.corporate-main {
    display: flex;
}
.corporate-line {
    height: 1px;
    align-self: stretch;
    background: black;
    margin-top: 20px;
    margin-bottom: 40px;
}
.corporate-name {
    width: 200px;
    font-size: 20px;
}
.corporate-detail {
    font-size: 20px;
}

.footer {
    background-color: rgba(0, 0, 0, 0.7);
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer-corporate {
    font-size: 12px;
    color: white;
    text-align: center;
    padding-bottom: 20px;
}
.footer-main {
    padding: 40px 300px;
    display: flex;
    gap: 30px;
}
.footer-logo {
    font-size: 40px;
    color: white;
    font-weight: bold;
}
.footer-menu {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-menu div {
    font-size: 15px;
    color: white;
    font-weight: bold;
    line-height: 60px;
}
.footer-link {
    text-decoration: none;
    color: white;
}
.footer-link:hover {
    color: gray;
}

@media screen and (max-width: 1150px) {
    .img-title {
        font-size: 70px;
        /* display: none; */
    }
    .img-headline {
        /* font-size: 40px; */
        /* display: none; */
    }
    .img-text {
        /* display: none; */
        font-size: 20px;
    }
    .service-block {
        flex-direction: column;
        margin: 0;
        padding: 40px 30px;
    }
    .service-block img {
        margin-top: 30px;
    }
    .service-button {
        display: flex;
        justify-content: center;
    }

    .member {
        margin: 0;
        padding: 50px 30px;
    }
    .member-main {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    .footer-content {
        padding: 0 30px;
    }
    .footer-main {
        padding: 0;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-logo {
        margin-top: 20px;
    }
    .footer-menu div {
        line-height: 20px;
    }
    .footer-corporate {
        margin-top: 20px;
    }
}

@media screen and (max-width: 900px) {
    .about {
        padding: 50px 30px;
    }
    .img-title {
        top: 200px;
        left: 30px;
    }
    .img-headline {
        top: 300px;
        left: 30px;
    }
    .img-text {
        top: 400px;
        left: 30px;
    }
}
@media screen and (max-width: 780px) {
    .img-title {
        font-size: 50px;
    }
    .img-headline {
        font-size: 30px;
    }
    .img-text {
        font-size: 24px;
    }
}

@media screen and (max-width: 780px) {
    .header-content {
        padding: 20px 30px;
    }
    .about {
        margin: 0;
        padding: 50px 30px;
    }
    .about-headline {
        font-size: 36px;
    }
    .about-text {
        width: 100%;
    }
    .service {
        padding: 0;
        background-color: white;
    }
    .service-block {
        /* display: block; */
        flex-direction: column;
        margin: 0;
        padding: 40px 30px;
    }
    .service-block img {
        margin-top: 30px;
    }
    .service-title {
        color: black;
        margin-bottom: 0;
        margin: 50px 30px 0 30px;
    }
    .service-button {
        display: flex;
        /* align-items: center; */
        justify-content: center;
    }


    .member {
        margin: 0;
        padding: 50px 30px;
    }
    .member-main {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    .corporate {
        margin: 0;
        padding: 50px 30px;
    }
    .corporate-name {
        width: 150px;
    }

    .footer-content {
        padding: 0 30px;
    }
    .footer-main {
        padding: 0;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-logo {
        margin-top: 20px;
    }
    .footer-menu div {
        line-height: 20px;
    }
    .footer-corporate {
        margin-top: 20px;
    }
}

@media screen and (max-width: 700px) {
    .img-title {
        font-size: 30px;
        top: 130px;
        left: 20px;
    }
    .img-headline {
        font-size: 20px;
        top: 180px;
        left: 20px;
    }
    .img-text {
        font-size: 20px;
        top: 220px;
        left: 20px;
    }

    .header-menu {
        display: none;
    }
    .corporate-name {
        font-size: 16px;
    }
    .corporate-detail {
        font-size: 16px;
    }

}
@media screen and (max-width: 450px) {
    .corporate-name {
        width: 130px;
    }
}
@media screen and (max-width: 400px) {
    .img-text {
        font-size: 14px;
    }
    .corporate-name {
        font-size: 14px;
    }
    .corporate-detail {
        font-size: 14px;
    }
    .member-comment {
        font-size: 14px;
    }
    .corporate-name {
        width: 100px;
    }
    .service-button-content {
        width: 250px;
    }
}


/* ここから新しいデザイン */
input:focus {
    border: none;
    outline: none;
}

textarea:focus {
    border: none;
    outline: none;   
}

@media screen and (max-width: 780px) {
    .header {
        /* display: none; */
    }
}

.footer-top {
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.footer-top-content {
    display: flex;
    gap: 48px;
    padding: 80px 0;
    justify-content: center;
}

.footer-bottom {
    padding: 80px 80px 48px 80px;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 800px) {
    .footer-top {
        padding: 0 24px;
    }
    .footer-top-content {
        flex-wrap: wrap;
        justify-content: start;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }
}

.corporate-top {
    padding: 320px 48px 100px 120px;
    display: flex;
    justify-content: space-between;

    .top-title {
        font-size: 56px;
        font-weight: 700;
        @media screen and (max-width: 800px) {
            font-size: 22px;
        }
    }

    .top-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 250%;
        padding-top: 24px;
        @media screen and (max-width: 800px) {
            font-size: 14px;
        }
    }
    
}
.scroll {
    display: flex; align-items: end; width: 30px;
}

.aboutus {
    padding: 124px 124px 124px 0;
    display: flex;
    gap: 80px;
}
.aboutus-content {
    display: flex;
    align-items: center;
}

.new-service {
    padding: 120px 164px;
    display: flex; 
    flex-direction: column;
    gap: 80px;
}
.service-detail {
    display: flex;
    align-items: center;
}
.service-detail-img {
    width: 35%;
    border-radius: 24px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.service-detail-text {
    width: 65%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.aboutus-img {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1200px) {
    .aboutus-img {
        width: 90%;
    }
    .new-service {
        padding: 120px 100px;
    }
}
@media screen and (max-width: 1000px) {
    .new-service {
        /* padding: 64px 24px; */
    }
    .aboutus {
        flex-direction: column;
        /* align-items: center; */
        gap: 24px;
        padding: 64px 0;
    }
    .aboutus-img {
        width: 80%;
        padding: 0 24px;
    }
    .aboutus-content {
        padding: 0 24px;
    }
}
@media screen and (max-width: 900px) {
    .service-detail {
        flex-direction: column;
    }
    .service-detail-img {
        width: 100%;
        height: 250px;
    }
    .service-detail-text {
        width: 90%;
        padding: 16px 0;
    }
    .corporate-top {
        padding: 339px 24px 80px 24px;
    }
    .scroll {
        display: none;
    }
}
@media screen and (max-width: 780px) {
    .new-service {
        padding: 64px 24px;
    }
}
@media screen and (max-width: 736px) {
    .corporate-top {
        padding: 250px 24px 80px 24px;
    }
}
@media screen and (max-width: 516px) {
    .corporate-top {
        padding: 250px 24px 80px 24px;
    }
}
@media screen and (max-width: 400px) {
    .corporate-top {
        padding: 250px 24px 80px 24px;
    }
}

/* コンタクト */
.contact {
    width: 100%;
}

.contact-form {
    padding: 120px 380px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (max-width: 1200px) {
    .contact-form {
        padding: 120px 200px;
    }
}
@media screen and (max-width: 780px) {
    .contact-form {
        padding: 64px 24px;
    }
}

/* 会社概要 */
.company {
    width: 100%;
}
.company-en {
    position: absolute;
    top: 175px;
    left: 140px;
    color: #007AFF;
    font-size: 24px;
    font-weight: 700;
}
.company-jp {
    position: absolute;
    top: 210px;
    left: 140px;
    color: #0F0F0F;
    font-size: 56px;
    font-weight: 700;
}
.company-content {
    padding: 120px 380px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (max-width: 1200px) {
    .company-content {
        padding: 120px 200px;
    }
}

@media screen and (max-width: 780px) {
    .company-content {
        padding: 64px 24px;
    }
    .company-en {
        top: 168px;
        left: 24px;
        font-size: 16px;
    }
    .company-jp {
        top: 193px;
        left: 24px;
        font-size: 24px
    }
}

@media screen and (max-width: 500px) {
    
}

