@charset "UTF-8";

.bg-scroll {
    background: url(../images/access/access-eyecatch.jpg) fixed bottom center;
    padding-top: 250px;

    min-height: 60vh;
    min-width: 100vw;
    height: 60%;
    min-width: 100%;
    width: auto;
    height: auto;
    background-size: cover;
    display: flex;
    position: relative;
}


h1 {
    font-size: 3.4rem;
    position: absolute;
    top: 67%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

    color: #3e3a39;
    text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff;
}

h1 span {
    font-size: 1.3rem;
    font-family: "Noto Serif", serif;
    text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff;
    display: block;
}


.content1 h2 {
    font-family: "Noto Serif", serif;
}




/* アクセス */

.content2 h2 {
    font-family: "Noto Serif", serif;
    margin-top: 0px;
}

.content2 {
    display: flex;
    margin-top: 100px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.access-box {
    margin: 30px;
    background-color: #F3F5F5;
    padding: 45px;
    width: 45%;

    box-sizing: border-box;
}

.access-box ul {
    margin-top: 30px;
}


.access-box li {
    margin-top: 10px;
    font-size: 14px;
}

.access-box .address::before {
    content: "";
    display: inline-block;
    background-image: url(../images/access/address.png);
    background-size: contain;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}



.access-box .train::before {
    content: "";
    display: inline-block;
    background-image: url(../images/access/train.png);
    background-size: contain;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

/* 事業概要*/
.content3 .overview-img {
    width: 55%;
    position: relative;
    margin-top: 70px;
}

.content3 table {
    background-color: #F3F5F5;
    padding: 70px;
    position: relative;
    z-index: 2;
    left: 35%;
    top: -150px;
    width: 65%;
}

.content3 tbody {
    background-color: #fff;
    padding: 30px;
    z-index: 10;
    display: block;
}

.content3 tr {
    display: flex;
    align-items: center;
    padding-bottom: 30px;

    margin-right: auto;
    margin-left: auto;
}

.content3 tr:last-child {
    padding-bottom: 0px;
}

.content3 th {
    font-family: "Noto Serif", serif;
    font-weight: normal;
    width: 40%;
    text-align: left;
}

.content3 td {
    width: 60%;
    align-self: center;
    word-break: break-all;
}

.content3 th span {
    font-family: "Noto Serif", serif;
    font-size: 0.5rem;
    display: block;
    color: #b3b3b3;
}

/* 768px以上の表示領域（タブレット） */
@media screen and (max-width: 1179px) {
    h1 {

        top: 40%;

    }

    .bg-scroll {
        background-attachment: inherit;
        margin-top: 175px;
        min-height: 1vh;

    }

    .content2 {
        display: block;
    }

    .access-box {
        margin: 0px;
        margin-bottom: 50px;

        width: 100%;
    }

    .content3 .overview-img {
        width: 100%;
    }

    .content3 table {
        position: unset;
        width: 100%;
        padding: 50px;
    }
}

/* 767px以下の表示領域（スマホ） */
@media only screen and (max-width: 767px) {

    h1 {
        font-size: 2.2rem;

        width: fit-content;
    }

    .bg-scroll {
        margin-top: 104px;
    }


    h1 span {
        font-size: 0.8rem;
    }

    .access-box {
        padding: 20px;
    }

    .content2 h2 {
        margin-bottom: 30px;
    }

    .content3 .overview-img {
        margin-top: 0px;
    }

    .content3 table {
        padding: 20px;
    }

    .content3 tr {
        font-size: 12px;
    }

    .content3 tbody {
        padding: 15px;
        box-sizing: border-box;

    }
}
