@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap");

@font-face {
    font-family: 'icomoon';
    src: url("../fonts/icomoon.eot?go3mui");
    src: url("../fonts/icomoon.eot?go3mui#iefix") format("embedded-opentype"), url("../fonts/icomoon.ttf?go3mui") format("truetype"), url("../fonts/icomoon.woff?go3mui") format("woff"), url("../fonts/icomoon.svg?go3mui#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: 'A-OTF-FutoGoB101Pro';
    src: url("../fonts/A-OTF-FutoGoB101Pro-Bold.otf");
    font-weight: normal;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: 'A-OTF-A1MinchoStd';
    src: url("../fonts/A-OTF-A1MinchoStd-Bold.otf");
    font-weight: normal;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: 'mplus-1p';
    src: url("../fonts/mplus-1p-regular.ttf");
    font-weight: normal;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: '玉ねぎ楷書激無料版v7改';
    src: url("../fonts/玉ねぎ楷書激無料版v7改.ttf") format("truetype"), url("../fonts/玉ねぎ楷書激無料版v7改.woff") format("woff"), url("../fonts/玉ねぎ楷書激無料版v7改.svg") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.icon-facebook:before {
    content: "\e900"
}

.icon-more:before {
    content: "\e901"
}

.icon-mail:before {
    content: "\e902"
}

.icon-instagram:before {
    content: "\e903"
}

.icon-tel:before {
    content: "\e904"
}

.__sp-only {
    display: none;
}

@media (max-width: 767px) {
    .__sp-only {
        display: block;
    }
}


.p-hero_company#localMain {
    margin-bottom: 90px;
}

@media (max-width: 991px) {
    .p-hero_company#localMain {
        margin-bottom: 70px;
    }
}

@media (max-width: 767px) {
    .p-hero_company#localMain {
        margin-bottom: 50px;
    }
}

.p-hero_message__wrapper {
    position: relative;
    overflow: hidden;
    height: 480px;
}

.p-hero_message__wrapper img {
    height: 100% !important;
    object-fit: cover;
}

@media (max-width: 991px) {
    .p-hero_message__wrapper {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .p-hero_message__wrapper {
        height: 300px;
    }
}

.p-hero_message__wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 58, 138, 0.18);
    pointer-events: none;
    /* オーバーレイがクリックを妨げないようにする */
    z-index: 1;
    /* テキストの下に配置 */
}

#localMain img {
    height: auto;
    width: 100%;
}

@media (max-width: 767px) {
    #localMain img {
        height: 270px;
        object-fit: cover;
    }
}

#container.message-container {
    margin-top: 120px;
}

@media (max-width: 1499px) {
    #container.message-container {
        margin-top: 100px;
    }
}

@media (max-width: 1199px) {
    #container.message-container {
        margin-top: 90px;
    }
}

@media (max-width: 767px) {
    #container.message-container {
        margin-top: 65px;
        padding-bottom: 70px;
    }
}

#localMain .pageTtl.__message {
    /* Message page specific styles if any */
}

/* #message .message {
    padding-top: 70px;
}

@media (max-width: 991px) {
    #message .message {
        padding-top: 50px;
    }
} */

#message .inner {
    margin-bottom: 90px;
    max-width: 94%;
    width: fit-content;
}

@media (max-width: 767px) {
    #message .inner {
        margin-bottom: 10px
    }
}

#message .message .p-message_catch {
    font-size: 2rem;
    margin-bottom: 55px;
    color: #0b3a8a;
    letter-spacing: 8px;
    text-align: center;
}

@media (max-width: 991px) {
    #message .message .p-message_catch {
        font-size: 2.0rem;
        letter-spacing: 5px;
        margin-bottom: 35px;
    }
}

@media (max-width: 767px) {
    #message .message .p-message_catch {
        font-size: 1.7rem;
        letter-spacing: 3px;
        margin-bottom: 25px;
    }
}

#message .message .__sub-ttl {
    font-size: 2.4rem;
    letter-spacing: 4px;
    margin-bottom: 34px;
    text-align: center;
}

@media (max-width: 991px) {
    #message .message .__sub-ttl {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
}

#message .message .__txt {
    text-align: center;
    margin-bottom: 60px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    #message .message .__txt {
        margin-bottom: 40px;
    }
}

#message .message .__txt p {
    font-size: 1.8rem;
    line-height: 2;
    font-weight: 400;
    text-align: left;
    width: fit-content;
}

@media (max-width: 991px) {
    #message .message .__txt p {
        font-size: 1.4rem;
        line-height: 1.8
    }
}

#message .message .__txt p+p {
    margin-top: 1.6em;
}

#message .message .p-message_signature {
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

@media (max-width: 767px) {
    #message .message .p-message_signature {
        margin-top: 15px;
        margin-right: 10px;
    }
}

#message .message .p-message_signature span {
    font-weight: 400;
}

#message .message .p-message_signature span.__occpation {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    #message .message .p-message_signature span.__occpation {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
}

#message .message .p-message_signature .__name {
    width: 120px;
}

@media (max-width: 767px) {
    #message .message .p-message_signature .__name {
        width: 94px;
    }
}

#message .message .p-message_signature .__name img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

html {
    scroll-behavior: smooth;
}