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

.wpcf7-spinner {
    display: none;
}

/* 20260107 修正
-------------------------------------------------------------- */
.p-home-service__text {
    padding-right: 7.125rem;
}

@media screen and (max-width: 1330px) {
    .p-home-service__text {
        padding-right: 6.125rem;
    }
}

@media screen and (max-width: 1200px) {
    .p-home-service__text {
        padding-right: 5.125rem;
    }
}

.p-home-ir__date {
    min-width: 70px;
}


/* 20260109 修正
-------------------------------------------------------------- */

.c-breadcrumb{
    width: 100%;
}
.wpcf7 .wpcf7-submit{
    text-align: center;
}

.bTtl h4 {
    font-size: 24px;
    font-family: YuMincho, 'Yu Mincho', serif;
    font-style: italic;
    text-align: center;
    color: #0a64b1 !important;
    margin-top: 40px;
}

.bTxt {
    padding: 20px;
}

.inner {
    text-align: left;
}

.align_center {
    text-align: center;
}

.bImgS.align_center {
    text-align: center;
}

.hsNormal {
    margin-bottom: 20px !important;
}

.hsWide {
    margin-bottom: 40px !important;
}

.bCustomS {
    overflow: hidden;
}

#bCustomS-inner8657,
#bCustomS-inner8659 {
    display: flex;
    gap: 1.5rem;
}

.bPdf {
    width: auto !important;
    padding: 0 !important;
}

.bPdf .bPdfLeft {
    float: left;
    width: 26px;
}

.bPdf .bPdfRight {
    margin-left: 40px;
}

.clearfix {
    display: block;
    min-height: 1%;
}

.bcontainer-outer a {
    color: #444444;
}

.bCustomS-inner,
.col2-3,
.col2-1,
.col2-4,
.col2-3,
.bImg2Txt2,
.bImg3Txt3,
#unit-4387 > .bTxtImg,
#unit-4401 > .bTxtImg{
    width: 100%;
    display: flex;
    gap: 1rem;
}
#unit-4387 > .bTxtImg,
#unit-4401 > .bTxtImg{
    padding: 1rem;
    flex-direction: row-reverse;
}
.col2-1 .box1,
.col2-1 .box2{
    width: 50%;
}
.col2-3 .box1{
    width: 70%;
}
.col2-3 .box2{
    width: 30%;
}
.bImg3Txt3 .bImg3Txt3Left,
.bImg3Txt3 .bImg3Txt3Center {
    float: left;
    width: 33.333333%;
}

.bImg3Txt3 .bImg3Txt3Right {
    float: right;
    width: 33.333333%;
}

.bgColor {
    background-color: #dbe1ea !important;
}
.bcontainer-outer .bgColor {
    background-color: #ffd2d9 !important;
}

.bcontainer-outer .box1 .bTxt > p > span > strong {
    text-align: center;
    border-bottom: 1px solid gray;
    padding-bottom: 16px;
    display: block;
    width: 100%;
    font-size: 22px;
}

.bcontainer-outer .box1 .bTxt > div {
    display: flex;
    margin-top: 30px;
    font-size: 18px;
    font-weight: bold;
}

.bcontainer-outer .box1 .bTxt > div > .facilityList {
    width: 50%;
}

#unit-8656 .bTxt,
#unit-8656 .bTxt div {
    font-size: 0.9rem;
}

#bCustomS7194 {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
    padding-left: 32px;
    background-color: rgba(170, 212, 255, 1);
}


.bcu_title.bcu_title1 h3 {
    font-family: '明朝', 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
    font-size: 25px;
    color: #0a64b1;
    text-align: center;
    margin: 0;
}

.bTxtS {
    padding-top: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
    padding-left: 32px;
    background-color: rgba(170, 212, 255, 1);
}

#bCustomS-inner7194,
#bCustomS-inner4768,
#bCustomS-inner4827 {
    display: block;
}

#unit-4394 > .bTxt > p > strong,
#unit-4395  > .bTxt > p > strong {
    font-size: 14px;
}
#unit-4393 > .bVImgTxt {
    display: flex;
    padding: 10px;
    flex-direction: column;
    align-items: center;
}
#unit-4393 > .bVImgTxt .bVImgTxtBottom,
#unit-4392 .bImg3Txt3Inner > div > p {
    font-size: 12px;
    font-weight: bold;
}

@media screen and (width < 46.875em) {
    .bCustomS-inner,
    .col2-3,
    .col2-1,
    .col2-4,
    .col2-3,
    .bImg2Txt2,
    .bImg3Txt3,
    #unit-4387 > .bTxtImg,
    #unit-4401 > .bTxtImg{
        display: block;
    }

    .col2-1 .box1,
    .col2-1 .box2,
    .col2-3 .box1,
    .col2-3 .box2,
    .bImg3Txt3 .bImg3Txt3Left,
    .bImg3Txt3 .bImg3Txt3Center,
    .bImg3Txt3 .bImg3Txt3Right{
        width: 100%;
    }
    .hsNormal{
        margin-bottom: 0 !important;
    }
    .bTxt{
        padding: 0;
    }
    .bcontainer-outer .box1 .bTxt > p > span > strong{
        font-size: 1rem;
    }
    .hsNormal.bgColor{
        padding: 1rem;
    }
    .bcontainer-outer .box1 .bTxt > div {
        display: block;
        font-size: 1rem;
        margin-top: 0;
    }
    .bcontainer-outer .box1 .bTxt > div > .facilityList{
        width: 100%;
    }
    .bTxtImgRight{
        text-align: center;
    }
}
.p-home-ir__date {
    font-family: "Noto Sans JP","Yu Gothic","Meiryo",sans-serif;
}

.c-works-page__button{
    width: 100%;
}
