/* 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;
}

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

/* フォーム共通
-------------------------------------------------------------- */

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

.c-forms__file {
    position: relative;
}

/* MW WP Form
-------------------------------------------------------------- */

.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;
}

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

/* CF7
-------------------------------------------------------------- */

.wpcf7-list-item {
    margin-left: 0;
}

.c-forms__radio .wpcf7-not-valid-tip,
.c-forms__checkbox .wpcf7-not-valid-tip {
    font-size: 0;
}

/* 疑似要素でエラーメッセージをリライト表示 */
.c-forms__radio .wpcf7-not-valid-tip::before,
.c-forms__checkbox .wpcf7-not-valid-tip::before {
    content: "選択してください。";
    font-size: 1rem;
}

.wpcf7-form.submitting .wpcf7-submit {
    opacity: 0.5;
    filter: grayscale(1);
    pointer-events: none;
}

/* 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: 0.75rem;
}

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

.comment-notes {
    font-size: 0.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;*/
/*}*/


.l-footer__bottom-links li a {
    display: flex;
    align-items: center;
}

.l-footer__bottom-links li a img {
    width: auto;
    height: 1.8rem;
}

.l-footer__bottom-links li a span {
    font-size: 1.2rem;
    margin: 0 0 0 0.5rem;
}

.c-recruit-table-announce {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 0 3rem;
}

@media screen and (max-width: 46.8125em) {
    .c-recruit-table-announce {
        text-align: left;
        font-size: 0.8rem;
        margin: 0 0 1.5rem;
    }
}

/* mv-movie-banner　追加 20251017 */
.c-mv-banner {
    position: absolute;
    z-index: 10;
    bottom: 2.5rem;
    right: 2.5rem;
    display: flex;
    padding-left: 5rem
}

.c-mv-banner__thumbnail {
    width: 15.25rem;
    aspect-ratio: 244/164;
    position: relative;
    overflow: hidden;
    border-radius: 8px
}

.c-mv-banner__thumbnail img {
    width: 100%;
    height: 100%;
    max-width: initial;
    -o-object-fit: cover;
    object-fit: cover
}

.c-mv-banner__thumbnail::before {
    content: "";
    width: 200%;
    height: 100%;
    background-image: linear-gradient(to right, #707a93 0%, #76bbc8 100%);
    background-position: left center;
    opacity: .4;
    position: absolute;
    inset: 0;
    margin: auto;
    z-index: 1;
    transition-property: transform;
    transition-timing-function: ease;
    transition-duration: .3s
}

.c-mv-banner__thumbnail::after {
    content: "play_arrow";
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    overflow: hidden;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    aspect-ratio: 1/1;
    color: #fff;
    font-size: 2.5rem;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    inset: 0;
    margin: auto;
    z-index: 2;
    transition-property: transform;
    transition-timing-function: ease;
    transition-duration: .3s
}

.c-mv-banner__title {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    color: #fff;
    background: #76bbc8;
    border: 1px solid #76bbc8;
    padding: 0.5rem;
    height: 7.5rem;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8125rem;
    border-radius: 50%;
    font-weight: 700;
    line-height: 1.4;
    inset-block: 0;
    margin-block: auto;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: ease;
    transition-duration: .3s
}

/* small donw start */
@media screen and (max-width: 46.8125em) {
    .c-mv-banner {
        right: 1.5rem;
        bottom: 1.5rem;
        padding-left: 4.5rem;
        padding-right: 0
    }

    .c-mv-banner__thumbnail {
        width: 10.675rem
    }

    .c-mv-banner__thumbnail::after {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.75rem
    }

    .c-mv-banner__title {
        font-size: 0.625rem;
        height: 6rem
    }
}

/* small down end */

/* hover start */
.c-mv-banner:where(:-moz-any-link, :enabled, summary):hover {
    opacity: 1
}

.c-mv-banner:where(:any-link, :enabled, summary):hover {
    opacity: 1
}

.c-mv-banner:where(:-moz-any-link, :enabled, summary):hover .c-mv-banner__thumbnail::before {
    transform: translateX(-50%)
}

.c-mv-banner:where(:any-link, :enabled, summary):hover .c-mv-banner__thumbnail::before {
    transform: translateX(-50%)
}

.c-mv-banner:where(:-moz-any-link, :enabled, summary):hover .c-mv-banner__thumbnail::after {
    transform: scale(1.1)
}

.c-mv-banner:where(:any-link, :enabled, summary):hover .c-mv-banner__thumbnail::after {
    transform: scale(1.1)
}

/* hover end */


/* list */
.c-list.is-icon.is-check>li::before {
    content: "✓";
    width: var(--_icon-size);
    height: var(--_icon-size);
    background: none !important;
    border-radius: 0 !important;
    top: calc(1em * 1.7 / 2 - var(--_icon-size) / 2);
    left: .5em;
    position: absolute;
}


/* c-strong-points__points */
.c-strong-points__points {
    width: 28rem;
}

@media screen and (max-width: 46.8125em) {
    .c-strong-points__points {
        width: 20.4375rem;
    }
}

.p-data-card__title .is-ref {
    white-space: nowrap;
}
