@charset "UTF-8";

main {
    background: url(../images/main_bg_pc.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100%;
    margin: 0 auto 5%;
    padding: 120px 0 0;
    overflow: hidden;
}

main .inner {
    max-width: var(--size2);
    margin: 0 auto;
    width: 95%;
    position: relative;
}

main h2 {
    color: var(--brown);
    font-size: var(--fsize72);
    font-weight: var(--b700);
    text-align: center;
    padding: 0 0 1%;
}

main h3 {
    font-size: var(--fsize27);
    font-weight: var(--b500);
    text-align: center;
    padding: 0 0 1%;
}

main h4 {
    font-size: var(--fsize18);
    text-align: center;
    padding: 0 0 3%;
}

#blog,
#contact {
    padding: 0 0 5%;
}

#contact.content {
    max-width: var(--size2);
    margin: 0 auto;
    width: 95%;
    position: relative;
}

@media screen and (max-width:768px) {
    main.low {
        padding: 5% 0;
    }

    main h2 {
        font-size: var(--fsize43);
    }

    main h4 {
        font-size: var(--fsize16);
        margin: 0 auto 8%;
    }

    #blog,
    #contact {
        padding: 0 0 15%;
    }
}

/*共通*/
.c-page__wrapper {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto 5%;
    padding-bottom: 5%;
    line-height: 1.75em;
}

.c-page__wrapper .titlearea h2 {
    font-size: var(--fsize32);
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 40px;
    line-height: 1.25;
}

.c-page__wrapper .titlearea h3 {
    font-size: var(--fsize27);
    color: var(--brown);
    line-height: 1em;
    margin-bottom: 24px;
}

.c-page__wrapper .titlearea h3 span {
    font-size: var(--fsize18);
}

.blue__btn {
    width: fit-content;
    margin: 0 auto;
    display: block;
}

.blue__btn a {
    font-size: var(--fsize24);
    font-weight: 500;
    color: var(--white);
    text-align: center;
    background-color: var(--blue);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    margin-top: 48px;
    transition: all ease 0.6s;
    position: relative;
    top: 0;

}

.blue__btn a:hover{
        background: var(--navy);
        top: 5px;
}

.c-page__wrapper .pager.detail{
    margin-bottom: 3%;
}

.c-page__wrapper .links{
    overflow: hidden;
}

/*companyページ*/


.company__wrapper .page__flexbox {
    display: flex;
    justify-content: space-around;
    gap: 24px;
}

.company__wrapper .img__background-blue {
    background-color: #102968;
    padding: 16px;
}

.company__wrapper section {
    margin-bottom: 160px;
}


.company__wrapper .blue__table {
    width: fit-content;
    padding: 0 16px;
    line-height: 1.75em;
}

.company__wrapper .blue__table th {
    background-color: var(--blue);
    color: var(--white);
    padding: 8px;
    border-bottom: 0.5px solid var(--light);
    white-space: nowrap;
}

.company__wrapper .blue__table td {
    padding: 8px;
    border-bottom: 0.5px solid var(--blue);
}

.company__wrapper .imgarea {
    max-width: 50%;
    box-shadow: 5px 5px 5px 0 #ccc;
    height: fit-content;
}

.company__wrapper .p-company__history th {
    color: var(--blue);
    font-weight: 500;
    padding: 8px;
    white-space: nowrap;
}
.company__wrapper .p-company__history td{
    padding: 8px 0;
}

.company__wrapper .p-company__caption{
    font-weight: 500;
    background-color: var(--navy);
    color: var(--white);
    padding-left: 4px;
}

.company__wrapper .mapImg{
    max-width: 50vw;
}

@media screen and (max-width:768px){
    .company__wrapper section{
        margin-bottom: 80px;
    }

    .company__wrapper .page__flexbox{
        flex-direction: column;
        justify-content: center;
    }
    .company__wrapper .textarea{
        max-width: 90%;
    }
    .company__wrapper .imgarea {
        max-width: 90%;
        margin: 0 auto;
    }
    .company__wrapper .mapImg{
        max-width: 95vw;
    }
    .company__wrapper .p-company__caption{
        font-size: 0.9em;
    }
}

/*サイトマップ*/
.sitemap__wrapper{
    max-width: 1080px;
    margin: 0 auto 80px;
}

.sitemap__wrapper section{
    margin-bottom: 160px;
}

.sitemap__wrapper a{
    transition: all ease 0.3s;
}

.sitemap__wrapper a:hover{
    opacity: 0.5;
}

.sitemap__wrapper h3{
    font-size: var(--fsize27);
    color: var(--blue);
    line-height: 1em;
    margin-bottom: 40px;
}

.sitemap__list{
    padding-left: 40px;
}

.sitemap__list li{
    font-size:var(--fsize18) ;
    margin-bottom: 24px;
}

.sitemap__list li::before{
    content: "▶";
    color: var(--blue);
    margin-right: 8px;
}

@media screen and (max-width:768px){
    .sitemap__wrapper section{
        margin-bottom: 80px;
    }
}