[class^="section-theme"] .section-title {
    position: relative;
    font-family: "Montserrat",sans-serif;
    color: #FFDB3A;
    line-height: 0.7em;
    padding: 24px 0;
}

[class^="section-theme"] .section-under-title {
    margin-top: 0;
    margin-bottom: 2.6em;
}
.section-theme-message .text {
    line-height: 2.0;
}
.section-theme-about {
    position: relative;
}

.about-peint {
    position: absolute;
    right: 0;
    bottom: -30%;
    transform: translate(-50%, -50%);
    width: 20%;
}
.section-theme-recruit {
    margin-top: 56px;
}

@media (max-width: 1000px) {
    .about-peint {
        right: -80px;
        bottom: -24%;
        width: 30%;
    }
    [class^="section-theme"] .section-title {
        padding: 10px 0 0 0px;
        margin-top: 0;
    }
    .company-info{
        padding: 16px 0 24px;
    }
    .address .text-bold-office {
        font-size: 14px;
    }
}
@media (max-width: 500px) {
    .about-peint {
        right: -80px;
        bottom: -24%;
        width: 50%;
    }
}

.message-area {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 0 0 40px 10px;
    gap: 40px;
}
.message-area-left{
    width: 100%;
}

.message-area-right{
    position: absolute;
    right: 0;
    width: 51%;
    bottom: 21%;
}

@media screen and (max-width: 1000px) {
    .message-area {
        flex-direction: column-reverse;
        padding: 0;
    }
}

/* ビデオ */
.video-wrap {
    max-width: 100%;
    margin: 50px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

#video {
    width: 100%;
    max-width: 680px;
    height: auto;
}

@media screen and (max-width: 1000px) {
    .video-wrap {
        margin: 24px auto;
    }
}

/* 会社情報 */

.address {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 56px;
    text-align: left;
    margin: 24px 0;
}

.address .text {
    font-size: 13px;
    line-height: 19px;
    color: #8388a0;
    padding: 6px 0px;
}

.address .text-bold-office {
    display: inline-block;
    margin-bottom: 3px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-bottom: none;
    background-color: #ffdcc2;
    border-radius: 15px;
    padding: 0px 12px;
    font-size: 13px;
}

.table th,
.table td {
    padding: 20px 0 20px 10px;;
    vertical-align: top;
    text-align: left;
}

@media (max-width: 1000px) {

    .table th,
    .table td {
        padding: 5px 0;
    }
    .address .text-bold-office {
        margin-bottom: 0;
    }
    .address .map-office:nth-child(1) {
        padding: 0;
    }
    .address .map-office {
        padding: 16px 0 8px;
    }
    .address {
        margin: 0;
    }
}

.google-text-link {
    text-decoration: underline;
    color: #262A42;
    display: block;
    margin-left: auto;
    text-align: right;
    text-underline-offset: 8px;
    font-size: 13px;
}

.google-text-link i {
    margin-left: 10px;
}

.address div {
    flex-basis: calc(50% - 40px);
    box-sizing: border-box;
}

.address iframe {
    height: 300px;
    margin-top: 10px;
}

@media (max-width: 1000px) {
    .address div {
        flex-basis: 100%;
    }
}

.section-theme-group-company .inner .section-under-title {
    margin: 0;
}

.company-info {
    padding: 6px 0 2.6em 0;
}
@media (max-width: 1000px) {
    .company-info {
        padding: 6px 0 1.6em 0;
    }
}

/* 関連団体 */

.section-theme-group {
    background: #faf7f6 !important;
    padding: 0;

}

.association-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.association-description {
    padding: 56px 0 40px;
    max-width: 1000px;
}

.section-theme-group h4 {
    /* font-family: Montserrat; */
    text-align: center;
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: inline-block;
}

.section-theme-group h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 6px;
    background-color: #FFDB3A;
}

.section-theme-group h5 {
    font-family: Noto Sans JP,sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.08em;
    text-align: center;
    margin-top: 20px;
}

.image-area {
    text-align: center;
}

.image-area img {
    max-width: 90%;
    height: auto;
    margin-bottom: 10px;
}


@media (max-width: 1000px) {

    .section-theme-group-company .inner .section-under-title {
        margin: 0;
    }
    .association-description {
        padding: 30px 0;
        font-size: 14px;
        line-height: 24.5px;
        letter-spacing: 0.04em;
    }
    .about .message-area-right {
        padding-bottom: 0;
        width: 92%;
        bottom: 0;
        position: unset;
        margin: 0px 0 0 22px;
    }
    

    .association-content {
        margin-top: 24px;
    }
    .section-theme-group h5 {
        font-size: 18px;
    }
    .section-theme-group h4::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        width: 168px;
        height: 3px;
        background-color: #FFDB3A;
    }
    .image-area img {
        max-width: 100%;
    }
}

/* 求人情報 */
.recruit-content {
    margin-top:40px;
    width: 100%;
    display: flex;
    flex-direction: row;
    background-image: linear-gradient(90deg, rgb(76 76 126), rgb(50 49 94));
}

.recruit-content img {
    max-width: 50%;
    height: auto;
}

.recruit-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
.recruit-link {
    color: #262A42;
    border-color: #262A42;
    background-color: #FFDB3A;
    border-style: solid;
    border-width: 1px;
    padding: 15px 40px;
    width: 220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 6px 8px 13px #2e2d4d;
}

.recruit-link i {
    margin-left: 10px;
}

.recruit-link:visited,
.recruit-link:active {
    color: #262A42;
    border-color: #262A42;
    background-color: #FFDB3A;
    border-color: #FFDB3A;
}

.recruit-link:hover {
    color: #fff;
    background-color: #262A42;
    border-color: #ffffff;
    box-shadow: none;
}

.recruit-text-link {
    display: flex;
    position: relative;
    align-items: center;
    text-align: right;
    gap: 10px;
    margin: 0 auto;
    cursor: pointer;
    height: 50px;
    font-size: 14px;
    color: #fff;
}
.section-theme-recruit a.recruit-text-link::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 2px;
    left: 0;
    background-color: #fff;
    transition: all 0.6s ease-in-out;
}

.section-theme-recruit a.recruit-text-link:hover::before {
    height: 3px;
}
.recruit-text-link i {
    color: #ffdb3a;
}

.recruit-text-link:visited,
.recruit-text-link:active {
    color: #fff;
    border-color: #fff;
}



.recruit-text-link::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
}

@media (max-width: 1000px) {
    .recruit-links {
        margin-top: 16px;
    }
    [class^="section-theme"] .section-under-title {
        margin-bottom: 0;
        font-size: 14px;
        padding: 8px 0;
    }
    .recruit-content {
        margin-top: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 20px;
        padding-bottom: 48px;
    }
    .recruit-content img {
        max-width: 95%;
        height: auto;
    }
    .section-theme-group-company .section-under-title {
        margin-bottom: 0;
        font-size: 14px;
        padding: 8px 0;
    }
    .section-theme-recruit {
        padding-bottom: 40px !important;
    }
    .section-theme-recruit a.recruit-text-link::before {
        bottom: 8px;
    }
}

/* モーダルのスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #00000047;
}

/* モーダルのコンテンツ */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 90%;
    max-width: 700px;
}

#img01 {
    background-color: #F7F7F7;
    touch-action: auto;
}

/* 閉じるボタン */
.close {
    display: flex;
}
.close img {
    margin-left: auto;
    margin-right: 10px;
    margin-bottom: 10px;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}