body::before{
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent), url(../images/company/header.webp);
}
article{
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
}
section:not(#overview, #access){
    height: 100vh;
    height: 100dvh;
}

.link-btn{
    border: solid 1px rgb(255, 255, 255);
    position: relative;
    font-weight: 300;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    letter-spacing: 0.5em;
    width: 300px;
    display: block;
}
.link-btn::before{
    content: "";
    background: rgb(255, 255, 255);
    width: 30px;
    height: 1px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    right: -15px;
}
.link-btn:hover{
    background: rgb(100, 100, 100);
}
/*--------------------------------------------
max-width 810
--------------------------------------------*/
@media (max-width: 810px) {
    section, footer{
        scroll-snap-align: none;
    }
    .link-btn{
        width: 200px;
        font-size: 0.8rem;
    }
}



/*--------------------------------------------

second-view

--------------------------------------------*/
#second-view {
    background: linear-gradient(rgba(0, 0, 0, 0) ,rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
    padding: 5%;
}
#second-view h2{
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    text-align: center;
}
#second-view p{
    font-size: 1.2rem;
    text-align: center;
    line-height: 2em;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}
/*--------------------------------------------
max-width 810
--------------------------------------------*/
@media (max-width: 810px) {
    #second-view h2{
        font-size: 10vw;
    }
    #second-view p{
        font-size: 0.8rem;
        line-height: 1.8em;
    }
}

/*--------------------------------------------

company-content

--------------------------------------------*/
.company-content {
    background: linear-gradient(rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    position: relative;
}
.company-content:nth-child(even) {
    flex-direction: row-reverse;
}
.company-content::before{
    content: "";
    width: 100%;
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    position: absolute;
    bottom: 0;
    left: 0;
}
.company-content > *{
    width: 50%;
}
.company-content img{
    height: 100%;
    object-fit: cover;
}
.company-content div{
    padding: 0 5%;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.company-content h2{
    font-weight: 400;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    font-size: 2rem;
    text-align: center;
    line-height: 1.8em;
    text-shadow: 2px 2px 2px rgba(50, 50, 50, 0.3);
}

/*--------------------------------------------
max-width 1200
--------------------------------------------*/
@media (max-width: 1200px) {
    .company-content h2{
        font-size: 1.5rem;
    }
}

/*--------------------------------------------
max-width 1080
--------------------------------------------*/
@media (max-width: 1080px) {
    .company-content{
        align-items: flex-end;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .company-content img{
        display: none;
    }
    .company-content div{
        width: 100%;
        padding-bottom: 50px;
        position: relative;
        z-index: 2;
    }
}

/*--------------------------------------------
max-width 810
--------------------------------------------*/
@media (max-width: 810px) {
    .company-content h2{
        font-size: 1.3rem;
    }
}

/*--------------------------------------------

greeting

--------------------------------------------*/
#greeting div{
    align-items: center;
}
#greeting hgroup{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#greeting hgroup p{
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}
#greeting div > p{
    font-size: 1rem;
    line-height: 1.8em;
}
#greeting div > span{
    text-align: right;
    display: block;
    margin: 0 0 0 auto;
    line-height: 1.8em;
    font-size: 1rem;
}

/*--------------------------------------------
max-width 1080
--------------------------------------------*/
@media (max-width: 1080px) {
    #greeting{
        background-image: linear-gradient(rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)), url(../images/company/representative.webp);
    }
}

/*--------------------------------------------
max-width 810
--------------------------------------------*/
@media (max-width: 810px) {
    #greeting hgroup p{
        font-size: 0.9rem;
        letter-spacing: 0;
        text-indent: 0;
    }
    #greeting div > p{
        font-size: 0.8rem;
        line-height: 1.6em;
    }
    #greeting div > span{
        line-height: 1.8em;
        font-size: 0.8rem;
    }
}

/*--------------------------------------------

contract

--------------------------------------------*/
#contract h2 {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
#contract h2::before {
    content: "";
    width: 50px;
    height: 2px;
    background: rgb(255, 255, 255);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
#contract ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: fit-content;
    margin: 0 auto;
    position: relative;
}
#contract ul li {
    list-style: disc;
}

/*--------------------------------------------
max-width 1080
--------------------------------------------*/
@media (max-width: 1080px) {
    #contract{
        background-image: linear-gradient(rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)), url(../images/company/contract.webp);
        height: fit-content !important;
    }
}

/*--------------------------------------------

overview, access

--------------------------------------------*/
#overview , #access{
    padding: 5%;
    padding-top: calc(5% + 60px);
}
#overview hgroup, #access hgroup{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 50px;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}
#overview hgroup h2, #access hgroup h2{
    font-size: 2rem;
    letter-spacing: 0.5em;
    font-weight: 500;
}
#overview hgroup p, #access hgroup p{
    letter-spacing: 0.5em;
}

/*--------------------------------------------
max-width 1080
--------------------------------------------*/
@media (max-width: 1080px) {

}

/*--------------------------------------------
max-width 810
--------------------------------------------*/
@media (max-width: 810px) {
    #overview , #access{
        padding-top: calc(5% + 100px);
    }
    #overview hgroup, #access hgroup{
        width: 100%;
    }
    #overview hgroup h2, #access hgroup h2{
        font-size: 1.5rem;
    }
}

/*--------------------------------------------

overview

--------------------------------------------*/
#overview{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) ,rgba(0, 0, 0, 1));
}
.overview-content{
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}
.overview-content dl{
    display: flex;
    gap: 50px;
    border-bottom: solid 1px rgb(255, 255, 255);
    padding: 30px 0;
}
.overview-content dl:first-child{
    border-top: solid 1px rgb(255, 255, 255);
}
.overview-content dl dt{
    width: 7em;
    white-space: nowrap;
}

/*--------------------------------------------
max-width 1080
--------------------------------------------*/
@media (max-width: 1080px) {

}

/*--------------------------------------------
max-width 810
--------------------------------------------*/
@media (max-width: 810px) {
    .overview-content{
        width: 90%;
    }
    .overview-content dl{
        gap: 25px;
    }
}

/*--------------------------------------------

access

--------------------------------------------*/
#access{
    padding-bottom: 100px;
    min-height: 100vh;
    min-height: 100dvh;
    height: fit-content;
}
#access div{
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 80%;
    margin: 0 auto;
    padding-top: 50px;
}
#access div:first-of-type{
    padding-top: 0;
}
#access dl{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#access dl dt{
    font-size: 1.5rem;
    padding-bottom: 20px;
    letter-spacing: 0.1em;
}
#access dl dd{
    line-height: 1.8em;
}
#access dl dd.detail{
    padding-top: 20px;
}
#access iframe{
    aspect-ratio: 1 / 1;
}

/*--------------------------------------------
max-width 1080
--------------------------------------------*/
@media (max-width: 1080px) {
    #access div{
        width: 90%;
    }
}

/*--------------------------------------------
max-width 810
--------------------------------------------*/
@media (max-width: 810px) {
    #access div{
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    #access dl dt{
        font-size: 1.2rem;
        padding-bottom: 0;
    }
    #access dl dd.detail{
        padding-top: 0;
    }
    #access iframe{
        aspect-ratio: 4 / 3;
        width: 100%;
    }
}

