@charset "utf-8";
/*=========================================
#message
=========================================*/
#message {
    width: 100%;
    height: 100%;
    padding: 150px 100px 120px;
    margin-bottom: 0;
    margin-top: 0;
    background: none;
    position: relative;
    z-index: 10;
}
#message .message_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
#message .message_inner .title_box {
    position: relative;
}
#message .message_inner .title_box .sbttl_h2{
    top: -50px;
}
#message .message_inner .content_box {
    display: flex;
    gap: 70px;
    margin-top: 50px;
}
#message .message_inner .content_box.no_flex {
    flex-direction: column;
    gap: 0;
}
#message .message_inner .content_box .left_box,
#message .message_inner .content_box .right_box {
    width: 100%;
}
#message .message_inner .content_box h3 {
    font-family: "ShipporiMincho-Bold";
    font-size: 4rem;
    text-align: start;
}
#message .message_inner .content_box h4 {
    font-size: 3rem;
    font-family: "ShipporiMincho-Bold";
    font-weight: 500;
}
#message .text_box.t_center {
    text-align: center;
    font-size: 2.5rem;
    padding-top: 3rem;
    font-family: "ShipporiMincho-Bold";
}
#message .text_box + h4 {
    margin-top: 3rem;
}
#message h4 + .text_box {
    margin-top: 1.5rem;
}
#message .message_inner .message_image {
    max-width: 830px;
    transition: 1s;
    position: relative;
    top: 20px;
    border-radius: 5px;
}
#message .message_inner .message_image::before {
    content: "";
    display: block;
    border: double 9px #9d8c2f;
    height: 98%;
    width: 98%;
    position: absolute;
    top: -30px;
    right: 20px;
}
#message .message_inner .message_image figure {
    width: 100%;
}
#message .message_inner .message_image img {
    width: 100%;
}
#message .message_inner .content_box p.right {
    font-family: "ShipporiMincho-Medium";
    text-align: end;
    margin-top: 40px;
}
#message .message_inner .message_fadeIn {
    opacity: 1;
    top: 0;
}
/* #message span.name {
    font-size: 150%;
    margin-left: 1rem;
} */
#message span.role-name {
    fill: #1a2a51;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
}
#message .role {
    width: 190px;
    /* width: 300px; */
    position: relative;
    top: 5px;
}
#message .name {
    width: 200px;
    /* width: 350px; */
}
@media (max-width: 1024px) {
    #message .message_inner .content_box {
        flex-direction: column;
    }
    #message .message_inner .message_image {
        max-width: 500px;
        margin: 0 auto;
    }
}
@media (max-width: 767px) {
    #message {
        padding: 50px 15px 100px;
        margin-bottom: 0;
        margin-top: 0;
    }
    #message .message_inner {
        gap: 50px;
        padding: 0 15px;
    }
    #message .message_inner .title_box .sbttl_h2 {
        top: -10px;
    }
    #message .message_inner .content_box {
        margin-top: 25px;
        flex-direction: column;
        gap: 50px;
    }
    #message .message_inner .content_box + .content_box.no_flex {
        margin-top: 50px;
    }
    #message .message_inner .content_box h3 {
        font-size: 2.5rem;
    }
    #message .message_inner .content_box h4 {
        font-size: 2.5rem;
    }
    #message .text_box.t_center {
        font-size: 1.8rem;
        padding-top: 1.5rem;
    }
    #message .message_inner .message_image {
        max-width: 380px;
    }
    #message .message_inner .message_image::before {
        top: -20px;
        right: 10px;
        border: double 6px #9d8c2f;
    }
    #message .message_inner .content_box p.right {
        margin-top: 20px;
    }
}

/*=========================================
#company
=========================================*/
#company {
    width: 100%;
    height: 100%;
    padding: 0 100px;
    margin-bottom: 0;
    margin-top: 0;
    background: none;
    position: relative;
    overflow: visible;
}
#company::before {
    display: none;
}
#company::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(../img/bg_triangle.png) no-repeat;
    background-position: left 0 top 0px;

    position: absolute;
    left: 0;
    top: 0;
}
#company .company_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    padding-bottom: 150px;
    opacity: 1;
    display: block;
    top: unset;
}
#company .company_inner .title_box {
    position: relative;
}
#company .company_inner .title_box .sbttl_h2 {
    top: -50px;
}
#company .company_inner .content_box{
    width: 100%;
    margin-top: 90px;
}
#company .company_inner .content_box .company_list {
    border-top: solid 1px #1a2a51;
    border-bottom: solid 1px #1a2a51;
    font-size: 2rem;
    line-height: 2;
}
#company .company_inner .content_box .company_list li {
    padding: 40px 0;
    display: flex;
    border-bottom: solid 1px #1a2a51;
}
#company .company_inner .content_box .company_list li:last-child {
    border-bottom: none;
}
#company .company_inner .content_box .company_list li p:first-child {
    width: 20%;
    font-family: "ShipporiMincho-Bold";
}
#company .company_inner .content_box .company_list li ol li {
    padding: 0;
    border: none;
    list-style: decimal;
    display: list-item;
}
@media (max-width: 767px) {
    #company {
        padding: 50px 15px 100px;
        margin-bottom: 0;
        margin-top: 0;
    }
    #company .company_inner {
        gap: 50px;
        padding: 0 15px;
    }
    #company .company_inner .title_box .sbttl_h2 {
        top: -10px;
    }
    #company .company_inner .content_box {
        margin-top: 40px;
    }
    #company .company_inner .content_box .company_list {
        font-size: 1.5rem;
    }
    #company .company_inner .content_box .company_list li {
        padding: 30px 0;
        display: block;
    }
    #company .company_inner .content_box .company_list li p:first-child {
        width: 100%;
    }
    #company .company_inner .content_box .company_list li ol {
        width: calc(100% - 1.5em);
        position: relative;
        left: 1.5em;
    }
}

/*=========================================
#access
=========================================*/
#access {
    /* background: linear-gradient(90deg, #c8d0e0 60%, #e3cee1); */
    background: url(../img/common/kv_bg.png) no-repeat;
    background-size: cover;
    background-position: top center;
    z-index: 500;
    position: relative;
    padding: 0 100px;
    margin-bottom: 200px;
}
#access .access_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 0 150px;
    position: relative;
}
#access .access_inner .title_box {
    position: relative;
}
#access .access_inner .title_box .sbttl_h2 {
    top: -30px;
}
#access .access_inner .content_box {
    width: 100%;
    margin-top: 40px;
}
#access .access_inner .content_box .map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
    max-height: 500px;
}
#access .access_inner .content_box .map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media (max-width: 767px) {
    #access {
        padding: 50px 15px 100px;
        margin-bottom: 0;
        margin-top: 0;
        background-size: 300%;
    }
    #access .access_inner {
        gap: 50px;
        padding: 0 15px;
    }
    #access .access_inner .title_box .sbttl_h2 {
        top: -10px;
    }
    #access .access_inner .content_box {
        margin-top: 40px;
    }
}
/*=========================================
#footer
=========================================*/
#footer {
    margin-top: 0;
}