@charset "utf-8";

body {
    font-size: 1.4rem;
}

a {
    color: #003876;
    text-decoration: underline;
}

.txt-times {
    font-family: "Times New Roman", Times, "serif";
}

.content-inner {
    padding: 0 4%;
    max-width: 1280px;
    margin: 0 auto 7em;
}

.content-ttl {
    font-size: 2.4rem;
    text-align: center;
    border-bottom: 2px solid #93a8c9;
    margin: 0 0 1.2em;
}

.content-inner section:not(:nth-child(1)) {
    padding: 3em 0 0;
}

@media screen and (min-width: 769px) {
    body {
        font-size: 1.5rem;
    }

    .content-ttl {
        font-size: 2.8rem;
    }
}

@media screen and (min-width: 1025px) {
    .content-inner {
        padding: 0 2%;
    }

    .content-ttl {
        font-size: 3.2rem;
    }

    .content-inner section:not(:nth-child(1)) {
        padding: 4em 0 0;
    }
}

/*---------------------------------

  header

---------------------------------*/
header {
    width: 100%;
    position: absolute;
    z-index: 10;
}

.head-logo-wrap {
    padding: 1.5em 1em;
}

.head-logo-wrap .main_logo {
    width: 180px;
    margin: auto;
    display: block;
}

.navbar-wrap .navbar-nav {
    display: flex;
    gap: 1.5em;
    font-size: 1.2rem;
    justify-content: center;
}

.navbar-wrap .navbar-nav a {
    color: inherit;
    text-decoration: none;
}

@media screen and (min-width: 769px) {
    .navbar-wrap .navbar-nav {
        font-size: 1.4rem;
    }
}

@media screen and (min-width: 1025px) {
    .head-logo-wrap .main_logo {
        width: 260px;
    }

    .head-logo-wrap {
        padding: 2.5em 1em 1.5em;
    }

    .navbar-wrap .navbar-nav {
        font-size: 1.5rem;
        gap: 2.5em;
    }

    .navbar-wrap .navbar-nav a:hover {
        text-decoration: underline;
    }
}


/*---------------------------------

  Top

---------------------------------*/
.top-content-wrap {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/images/main_visual.jpg);
    height: 420px;
    min-height: auto;
    position: relative;
    margin: 0 0 2em;
}

.top-content-wrap .main-message {
    font-size: 2.6rem;
    font-weight: bold;
    letter-spacing: 0.15rem;
    bottom: 22px;
    left: 12%;
    position: absolute;
    line-height: 1.8;
    z-index: 1;
}

@media screen and (min-width: 769px) {
    .top-content-wrap {
        height: 600px;
        margin: 0 0 4em;
    }

    .top-content-wrap .main-message {
        bottom: 45px;
        font-size: 3.2rem;
    }
}

@media screen and (min-width: 1025px) {
    .top-content-wrap {
        height: 860px;
    }

    .top-content-wrap .main-message {
        bottom: auto;
        font-size: 5rem;
        top: 50%;
        transform: translateY(-50%);
        letter-spacing: 0.25rem;
        left: 18%;
    }
}

/*---------------------------------

  About

---------------------------------*/
@media screen and (min-width: 769px) {
    #About .content-wrapper br {
        display: none;
    }

    #About .content-wrapper p {
        width: fit-content;
        margin: auto;
    }
}


/*---------------------------------

  Service

---------------------------------*/
#Service .content-box figure {
    margin: 0 0 1.5em;
}

#Service .content-box .content-subttl {
    font-weight: bold;
    font-size: 120%;
    margin: 0 0 1em;
}

#Service .content-box p {
    text-align: justify;
    line-height: 1.7;
}

#Service .content-wrapper .content-box:not(:nth-child(1)) {
    padding: 3em 0 0;
}

#Service .platform {
    padding: 2em 0 0;
}

#Service .platform .ttl {
    margin: 0 0 0.5em;
}

#Service .platform ul li {
    display: list-item;
    list-style: disc;
    margin: 0 0 0 1.5em;
    line-height: 2;
}

@media screen and (min-width: 769px) {
    #Service .content-wrapper {
        display: flex;
        gap: 2em;
    }

    #Service .content-wrapper .content-box {
        width: calc(100% / 3);
    }

    #Service .content-wrapper .content-box:not(:nth-child(1)) {
        padding: 0;
    }
}


/*---------------------------------

  Company

---------------------------------*/
#Company table tr {
    border-top: solid 1px #DEE2E6;
}

#Company table tr:last-child {
    border-bottom: solid 1px #DEE2E6;
}

#Company table tr:nth-of-type(odd) {
    background-color: #F2F2F2;
}

#Company table th {
    width: 110px;
}

#Company table th,#Company table td {
    padding: 0.8em 1em;
}

@media screen and (min-width: 1025px) {
    #Company table th {
        width: 140px;
    }

    #Company table th, #Company table td {
        padding: 1em 2em;
    }
}


/*---------------------------------

  Access

---------------------------------*/
#Access .map-box {
    position: relative;
    width: auto;
    padding-top: 70.33%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

#Access .map-box iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}

@media screen and (min-width: 769px) {
    #Access .map-box {
        padding-top: 51.56%;
    }
}

/*---------------------------------

  Contact

---------------------------------*/
#Contact .content-wrapper {
    text-align: center;
}


/*---------------------------------

  footer

---------------------------------*/
#footer {
    position: relative;
}

#footer::before {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 2px #DEE2E6;
    top: 50%;
    width: 100%;
    left: 0;
    z-index: -1;
    transform: translateY(-50%);
}

#footer .content-wrapper {
    text-align: center;
    border-top: 2px solid #003876;
    border-left: 2px solid #003876;
    border-right: 2px solid #003876;
    width: 90%;
    margin: auto;
    padding: 2.5em 1em;
    background-color: #FFF;
    z-index: 0;
}

#footer .footer_logo {
    width: 140px;
    margin: 0 auto 2em;
    display: block;
}

#footer .content-wrapper p {
    font-size: 1.2rem;
}

#page-top {
    width: 100px;
    text-align: center;
}

#page-top a {
    text-decoration: none;
}

#page-top .arrow-up {
    width: 24%;
    margin: 0 0 0.5em;
}

#page-top {
    position: absolute;
    top: 0;
    right: 1.5%;
    z-index: 2;
    transform: translate(0,-125%);
}

@media screen and (min-width: 769px) {
    #footer .content-wrapper {
        width: 92%;
    }
}

@media screen and (min-width: 1025px) {
    #footer {
        display: flex;
    }

    #footer .content-wrapper {
        width: auto;
        max-width: calc(1280px - 80px);
        padding: 4em 1em;
        flex-grow: 1;
    }

    #footer .footer_logo {
        width: 180px;
    }

    #footer .footer-side {
        flex-grow: 0.4;
        position: relative;
    }

    #page-top {
        top: 0;
        left: 50%;
        right: auto;
        transform: translate(-50%,0);
    }

    #page-top a:hover {
        opacity: 0.7;
        transition: 0.3s;
    }
    
}
