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

/* WordPress Gallery
------------------------------------------ */

.gallery:not(body) {
    margin-left: -0.5em;
    margin-right: -0.5em;
}

.gallery:not(body):after {
    display: table;
    content: "";
    clear: both;
}

.gallery-item {
    margin: 0;
    float: left;
    padding: 0.5em;
}

.gallery-item img {
    width: 100%;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
    float: none;
}

.gallery-columns-2 .gallery-item {
    width: 50%
}

.gallery-columns-3 .gallery-item {
    width: 33.3333%
}

.gallery-columns-4 .gallery-item {
    width: 25%
}

.gallery-columns-5 .gallery-item {
    width: 20%
}

.gallery-columns-6 .gallery-item {
    width: 16.6667%
}

.gallery-columns-7 .gallery-item {
    width: 14.2857%
}

.gallery-columns-8 .gallery-item {
    width: 12.5%
}

.gallery-columns-9 .gallery-item {
    width: 11.1111%
}

.gallery-columns-2 .gallery-item:nth-of-type(2n+1),
.gallery-columns-3 .gallery-item:nth-of-type(3n+1),
.gallery-columns-4 .gallery-item:nth-of-type(4n+1),
.gallery-columns-5 .gallery-item:nth-of-type(5n+1),
.gallery-columns-6 .gallery-item:nth-of-type(6n+1),
.gallery-columns-7 .gallery-item:nth-of-type(7n+1),
.gallery-columns-8 .gallery-item:nth-of-type(8n+1),
.gallery-columns-9 .gallery-item:nth-of-type(9n+1) {
    clear: left;
}

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*固定ページのクラシック版段落ブロックで画像を張り替えた際のマージン防止*/
body.page img.alignnone {
    margin: 0;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.logged-in.admin-bar .l-header,
.logged-in.admin-bar .c-slidebar-button {
    margin-top: var(--wp-admin--admin-bar--height) !important;
}

.mw_wp_form_input .u-hidden-mw-wp-input,
.mw_wp_form_confirm .u-hidden-mw-wp-confirm,
.mw_wp_form_complete .u-hidden-mw-wp-complete {
    display: none !important;
}

.mw_wp_form_confirm .c-forms__privacy {
    display: none !important;
}

.mw_wp_form_confirm #zipauto,
.mw_wp_form_confirm .c-forms__note,
.mw_wp_form_confirm .c-forms__block.is-privacy-policy {
    display: none !important;
}

.mw_wp_form_confirm .c-forms__privacy a,
.mw_wp_form_confirm .c-forms__block a {
    text-decoration: none !important;
    color: inherit !important;
    pointer-events: none !important;
}

.c-forms__privacy-button-wrapper .mwform-checkbox-field.horizontal-item {
    width: 1.5rem;
}

.mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0;
}

.c-forms__radio.is-column-02 .error, .c-forms__checkbox.is-column-02 .error {
    grid-column: 1 / -1;
}

.c-forms__file {
    position: relative;
}

.mwform-file-delete {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.wp-embedded-content {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 16px;
    margin-bottom: 16px;
}

/* Comment
-------------------------------------------------------------- */

.comment-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.comment {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f5f6fa;
}

.comment-author {
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 0.8em;
    color: #666;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
}

.comment-form textarea,
.comment-form input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.comment-reply-link {
    margin-top: 10px;
}

.comment-reply-link.c-button.is-sm {
    padding: 0.3rem 1.1rem;
    font-size: .75rem;
}

.comment-reply-link:after {
    display: none;
}

.comment-notes {
    font-size: .9rem;
    margin-bottom: 10px;
}

.comment-form .required {
    color: #ba0000;
}

.comment-form .logged-in-as {
    display: none;
}

.comment-form-cookies-consent {
    margin: 15px 0;
    display: flex;
}

.comment-form-cookies-consent > input {
    margin-top: 2px;
    margin-right: 5px;
}

#cancel-comment-reply-link {
    font-size: 1rem;
    margin-left: 1rem;
}

/* Breadcrumb
-------------------------------------------------------------- */

/*.c-breadcrumb__inner {*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*}*/

.c-forms__select select {
    padding: 0 1rem;
}

.c-forms__textarea textarea {
    padding: 0.625rem 1rem;
}

.c-block-view__image {
    aspect-ratio: unset;
}

.p-group-company-view {
    margin-bottom: 6.5rem;
}

.p-group-company-view:last-of-type {
    margin-bottom: 0;
}

.p-group-company-view.is-full {
    display: block;
}

.p-group-company-view.is-reverse {
    flex-direction: row-reverse;
}

.mw_wp_form .vertical-item + .vertical-item {
    margin-top: 0 !important;
}

.l-footer:not(.is-custom) .l-footer__copyright {
    display: none;
}


.p-banner-link__item-image::after {
    background: rgba(0, 0, 0, .4);
}

.c-box-member__item.is-right .c-box-member__item-name {
    justify-content: flex-start;
}

.c-box-member__item-text {
    font-weight: 500;
    line-height: 1.05;
    font-size: 14px;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.c-box-member__item-text div.is-years span {
    writing-mode: initial;
}

.c-box-member__item.is-right.is-text-left .c-box-member__item-content {
    justify-content: flex-end;
}

.c-box-member__item {
    height: 453px;
}

.c-box-member__item.is-right .c-box-member__item-content {
    padding: 32px 0;
}

.c-box-member__item-image::after {
    background: linear-gradient(-270deg, rgba(255, 255, 255, 0) 0%, rgba(0, 78, 162, 0.2) 100%);

}

.c-box-member__item-image::before {
    width: calc(435 / 1400 * 100%);
    background: linear-gradient(270deg, rgba(255, 255, 255, 0) -7.95%, rgba(0, 78, 162, 0.4) 82.37%);

}

.c-box-member__item.is-right.is-text-right .c-box-member__item-image::after {
    left: 0;
    right: auto;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(0, 78, 162, 0.2) 100%);
}

.c-box-member__item.is-right.is-text-right .c-box-member__item-image::before {
    left: auto;
    right: 0;
    background: linear-gradient(-270deg, rgba(255, 255, 255, 0) -7.95%, rgba(0, 78, 162, 0.4) 82.37%);
}

@media screen and (max-width: 59.3125em) {
    .c-box-member__item-text {
        /*display: none;*/
        writing-mode: horizontal-tb;
    }

    .c-box-member__item.is-right .c-box-member__item-content {
        padding: 0;
        height: auto;
    }

    .c-box-member__item-inner {
        height: auto;
    }

    .c-box-member__item {
        height: auto;
    }

    .c-box-member__item.is-right.is-text-left .c-box-member__item-image img {
        object-position: 80%;
    }
}

.c-page-header-member__item-image::after {
    display: none;
}

.c-page-header-member__item-image::before {
    width: 100%;
    background: linear-gradient(-270deg, rgba(255, 255, 255, 0) 1.41%, rgba(0, 78, 162, 0.2) 47.48%, rgba(0, 78, 162, 0.2) 100%);

}

.c-page-header-member__item.is-right .c-page-header-member__item-name {
    justify-content: flex-start;
}

.c-page-header-member__graph {
    width: calc(415 / 826 * 100%);
    padding: 1rem 0;
    max-width: 100%;
}

.c-page-header-member__item.is-right .c-page-header-member__item-content {
    padding: 26px 0 21px;
    justify-content: flex-end;
}

.c-page-header-member__item-title {
    line-height: 1.3;
    font-weight: 700;
    padding: 15px 1px;
    font-size: 46px;
}

.c-box-member__item-title {
    font-size: 46px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.c-box-member__item-text {
    line-height: 1.5;
}

.c-page-header-member__item.is-right.is-text-right .c-page-header-member__item-content {
    justify-content: flex-start;
}

.c-block-view__faq-text {
    margin-top: 24px;
}

.c-block-view__faq-item:not(:first-child) {
    margin-top: 100px;
}

.c-page-header-member__item.is-right.is-text-right .c-page-header-member__item-inner {
    justify-content: flex-end;
}

@media screen and (max-width: 59.3125em) {
    .c-page-header-member__item.is-right.is-text-right .c-page-header-member__item-inner {
        justify-content: flex-start;
    }

    .c-page-header-member__item-title {
        font-size: 26px;
        padding: 5px 8px;
        line-height: 1.5;
    }

    .c-box-member__item-title {
        font-size: 26px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .c-block-view__faq-text {
        margin-top: 12px;
    }

    .c-block-view__faq-item:not(:first-child) {
        margin-top: 50px;
    }

    .c-page-header-member__graph {
        max-width: 90%;
        padding-bottom: 0;
    }
}

.c-page-header-member__wrapper {
    gap: calc(50 / 1400 * 100%);
}

.c-page-header-member__graph {
    max-width: 415px;
}

.c-page-header-member__item-inner {
    display: flex;
    align-items: center;
}

.c-page-header-member__item-number span.is-number {
    white-space: nowrap;
}

.c-page-header-member__item.is-right .c-page-header-member__item-image img {
    object-position: 70%;
}

.c-page-header-member__item.is-right.is-text-right .c-page-header-member__item-image img {
    object-position: 10%;
}

@media screen and (min-width: 1040px) {
    .c-page-header-member__item.is-right .c-page-header-member__item-inner {
        padding-left: 46px;
    }
}


@media not screen and (max-width: 46.8125em) {
    #growp-editor-wrapper .p-company-number__box.is-custom-01,
    .p-company-number__box.is-custom-01 {
        padding: 1.5rem clamp(.625rem, 6.0vw, 4.5rem) 1.25rem;
    }

    #growp-editor-wrapper .p-company-number__box-list,
    .p-company-number__box-list {
        align-self: center;
    }

    #growp-editor-wrapper .p-company-ideal__item-title,
    .p-company-ideal__item-title {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 46.8125em) {
    #growp-editor-wrapper .p-company-number__box-numbers span.is-number,
    .p-company-number__box-numbers span.is-number {
        letter-spacing: 0;
    }
}

/* 20251116 */
.c-main-visual__content {
    position: relative;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 8.125rem 9.1428571429vw 9.625rem 4.125rem;

}

.c-main-visual__content:before {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 5, 28, 0) 0%, rgba(0, 5, 28, 0.3) 58%, rgba(0, 5, 28, 0.5) 100%);
    content: "";
    z-index: -1;
    pointer-events: none;
}

.l-header__sns {
    margin-left: auto;
    margin-right: 2rem;
}

.l-header__sns .c-slidebar-menu__sns {
    gap: 0.8rem;
}

.c-slidebar-menu__sns-link img.is-black {
    display: none;
}

.l-header.is-fixed .c-slidebar-menu__sns-link img.is-white,
.l-header.is-color .c-slidebar-menu__sns-link img.is-white {
    display: none;
}

.l-header.is-fixed .c-slidebar-menu__sns-link img.is-black,
.l-header.is-color .c-slidebar-menu__sns-link img.is-black {
    display: block;
}

.is-slidebar-active .l-header__sns {
    opacity: 0;
}

.l-header__button {
    margin-left: 0;
}

.c-slidebar-menu__sns-link img {
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 59.3125em) {
    .l-header__sns {
        display: none !important;
    }
}

.l-section.is-color-even {
    background: #1A60AB;
}

.l-section.is-color-even .c-block-view {
    flex-direction: row-reverse;
}

.c-box-member.is-horizontal {
    margin-top: 2.5rem;
}

.c-box-member.is-horizontal .c-box-member__item {
    height: 293px;
}

.c-box-member.is-horizontal .c-box-member__item-inner {
    /*padding-inline: 3.75rem;*/
    padding-inline: 3.25rem;
}

.c-box-member.is-horizontal .c-box-member__item-content {
    max-width: 442px;
    padding: 5.315rem 0;
    text-align: left;
}

.c-box-member.is-horizontal .c-box-member__item.is-text-right .c-box-member__item-content {
    margin-left: auto;
}

.c-box-member.is-horizontal .c-box-member__item-number span.is-number {
    padding-top: 0.5rem;
    font-size: 1.75rem;
    line-height: 0.5;
}

.c-box-member.is-horizontal .c-box-member__item-number span.is-text {
    margin-right: 0;
    font-size: 1.375rem;
    line-height: 0.5;
}

.c-box-member.is-horizontal .c-box-member__item-title {
    line-height: 1.4;
    /*font-size: 1.875rem;*/
    font-size: 1.8rem;
    padding: 0 0.5rem;
}

.c-box-member.is-horizontal .c-box-member__item-title br.u-hidden-sm {
    display: none;
}

@media screen and (max-width: 59.3125em) {
    .l-section.is-color-even .c-block-view {
        flex-direction: column;
    }

    .c-page-header-member__item-title {
        font-size: 23px;
    }

    .c-box-member.is-horizontal {
        margin-top: 1.25rem;
    }

    .c-box-member.is-horizontal .c-box-member__item {
        height: auto;
    }

    .c-box-member.is-horizontal .c-box-member__item-inner {
        padding-inline: 0.5rem;
    }

    .c-box-member.is-horizontal .c-box-member__item-content {
        /*width: 100%;*/
        max-width: 100%;
        padding: 0;
    }

    .c-box-member.is-horizontal .c-box-member__item-title {
        font-size: 21px;
    }

    .c-box-member.is-horizontal .c-box-member__item::after {
        display: none;
    }
}

.l-footer__item-link.is-outsite {
    letter-spacing: 0;
}

.p-office__modal-image {
    text-align: center;
}

.c-block-links__buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(auto, 350px));
    justify-content: center;
    gap: 24px;
}

.c-block-links__button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #004ea2;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 64, 152, 0.05);
    position: relative;
    overflow: hidden;
}

/* 画像のレスポンシブ対応 */
.c-block-links__button img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.c-block-links__button:hover {
    opacity: 1;
    transform: translateY(-4px);
    border-color: #00a0e9;
    box-shadow: 0 10px 20px rgba(0, 64, 152, 0.15);
    background-color: #f0f8ff;
}

.c-block-links__button:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* スマホ対応 */
@media (max-width: 750px) {
    .c-block-links__buttons {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

input.is-fixed {
    pointer-events: none;
}
