@charset "utf-8";

/* ページタイトルエリア */
.subPageTitle {
    /* 画像と画像の配置を個別に設定 */
    background: linear-gradient(145deg, rgba(2, 54, 59, 0.9), rgba(2, 54, 59, 0.5)), url(../img/company/titleImage.png);
    background-position: top 65% left;
    background-size: cover;
    background-repeat: no-repeat;
}

/*-----------------------
各ブロック毎の設定
------------------------*/

/* firstBlock */

.firstBlock {
    background-image: url(../img/company/greetingImage.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.firstBlock h2::after {
    content: "Message";
}

.message {
    max-width: 96rem;
    margin: 0 auto;
}

.message p {
    text-indent: 1em;
    margin-bottom: 1rem;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

.signature {
    text-align: right;
    margin-top: 2rem;
}

/* secondBlock */
.secondBlock h2::after {
    content: "Corporate profile";
}

.secondBlock .tableType2 {
    max-width: 80rem;
    /*margin: 0 auto;*/
}

/* thirdBlock */
.thirdBlock h2::after {
    content: "Organizational Overview";
}

.thirdBlock dl {
    background-color: #02363b;
    position: relative;
    /*    padding-left: 2rem;*/
/*    width: 90%;*/
    margin: 2rem auto 5rem;
}

.thirdBlock dl:last-of-type {
    margin-bottom: 0;
}

.thirdBlock dt {
    color: #fff;
    text-align: center;
    text-shadow: 0 0 3px rgba(2, 54, 59, 0.3);
    background-color: rgba(2, 54, 59, 1);
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
}

.thirdBlock dt span {
    display: inline-block;
    letter-spacing: 0.085rem;
    padding: 1rem 2rem;
}

.thirdBlock dd:first-of-type {
    line-height: 0;
    border-top: 10px solid rgba(2, 54, 59, 1);
    border-left: 10px solid rgba(2, 54, 59, 1);
    border-right: 10px solid rgba(2, 54, 59, 1);
}

.thirdBlock dd img {
    display: block;
    width: 100%;
    height: auto;

}

.thirdBlock dd:nth-of-type(2) {
    color: #fff;
    padding: 1.5rem;
}

.thirdBlock dd ul {
    margin-left: 2rem;
}

.thirdBlock dd ul li {
    position: relative;
}

.thirdBlock dd ul li::before {
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 1px;
    background-color: #fff;
    position: absolute;
    top: 1rem;
    left: -1rem;
}
.thirdBlock dl:nth-of-type(2) dt {
    width: 85%;
    max-width: 14rem;
}

.thirdBlock dl:nth-of-type(4) dt {
    width: 85%;
    max-width: 20rem;
}

/* fourthBlock */
.fourthBlock h2::after {
    content: "History";
}
.fourthBlock ul {
    max-width: 80rem;
    margin: 0 auto;
}
.fourthBlock ul li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ddd;
}
.fourthBlock ul li span {
    flex-grow: 0;
    flex-shrink: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.fourthBlock ul li span:not(.year) {
    line-height: 1.8;
    flex-basis: 70%;
    padding-right: 2%;
}
.year {
    flex-basis: 25%;
    text-align: center;
}


/* fifthBlock */
.fifthBlock {
    background-color:rgba(2,54,59,0.1);
}

.fifthBlock h2::after {
    content: "Access";
}
.fa-map-marker-alt,
.fa-train,
.fa-car {
    padding-right: 0.5rem;
}
.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}
.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.location:not(:last-of-type) {
    padding-bottom: 3rem;
}
.location>dt {
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(2,54,59,0.7);
}
.location>dt span {
font-weight: 700;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}
.location>dd:first-of-type {
    margin-bottom: 2rem;
}
.officeAddress {
    margin-top: 0.5rem;
/*    padding-left: 1.5rem;*/
}

.location dd:first-of-type dl {
    margin-top: 1rem;
}
.officeAddress dt,
.howtoaccess dt {
    display: inline-block;
    background-color: rgba(2,54,59,0.7);
    border-radius: 3px;
    padding: 0.15rem 1rem 0.25rem;
    color: #fff;
}

/*====================
TAB style
====================*/
@media screen and (min-width: 768px) {
    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 96rem;
        margin: 0 auto;
    }

    .container dl {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 48%;
        margin-left: unset;
        margin-right: unset;
        margin-bottom: 3rem;
    }
    .container dl:nth-last-of-type(2),
    .container dl:last-of-type {
        margin-bottom: 0;
    }
    .locationWrap {
        display: flex;
        justify-content: space-between;
    }
    .location {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 45%;
    }
}



/*====================
PC_S style
====================*/
@media screen and (min-width: 960px) {

    /* ナビゲーション現在地 */
    .luxbar-navigation li.firstMenuItem:nth-of-type(2) > a {
        position: relative;
        opacity: 1;
    }

    .luxbar-navigation li.firstMenuItem:nth-of-type(2) > a::before {
        content: "";
        display: block;
        width: 65%;
        height: 3px;
        background-color: #06c1d4;
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .fourthBlock ul li span:not(.year) {
        flex-basis: 80%;
    }
    .year {
        flex-basis: 18%;
    }

}


/*====================
PC_W style
====================*/
@media screen and (min-width: 1360px) {
    .officeAddress dl:first-of-type {
        min-height: inherit;
    }
}
