/*
Theme Name: 2chiikipf2026
Author URI: https://www.mlit.go.jp/2chiiki_pf/
Description: 2Chiiki Platform Theme
Version: 1.0.0
*/

@charset "utf-8";

.contentArea .subtitle-en {
    margin-top: 40px;
    text-align: left;
    padding-left: 15px;
}

.contentArea .subtitle-en:first-of-type {
    margin-top: 0;
}

.contentArea.info .subtitle-jp {
    margin: 0 auto 40px;
    text-align: left;
    padding: 5px 15px 10px;
    border-bottom: 1px solid var(--c-black);

}

.contentArea.info>* {
    line-height: 2rem;
    padding: 0 15px 0px;
}

.contentArea h3 {
    text-align: left;
}

.contentArea h3:before {
    content: "■ ";
    color: var(--c-primary);
}

.contentArea li:before {
    content: "■ ";
    color: var(--c-primary);
}

@media (max-width: 960px) {
    .page-title {
        padding-bottom: 16px;
    }

    h1.page-title {
        font-size: 20px;
        font-weight: bold;
    }

    .contents-columns-notitle {
        margin-top: 0;
    }

    .contents-right .contentArea.info>p.subtitle-en:first-of-type {
        margin-top: 0;
        padding-top: 0;
    }

    .contentArea.info .subtitle-en {
        line-height: 1rem !important;
    }

    .contentArea.info .subtitle-jp {
        padding-top: 0;
        margin-top: 8px;
        margin-bottom: 16px;
    }

}

/* お問い合わせ */


.contact {
    background-color: var(--c-bgcolor);
    margin: 160px auto 24px auto;
    padding: 48px 36px;
}

.contact h2 {
    text-align: center;
    line-height: 150%;
}

@media (max-width: 960px) {
    .contact {
        margin-top: 80px;
        margin-left: -15px;
        margin-right: -15px;
        padding: 40px 20px 20px;
    }

    .contact h2 {
        font-size: 18px;
    }
}

.contact label {
    margin-bottom: 1rem;
}

.contact label>span.wpcf7-form-control-wrap {
    margin-top: 8px;
    display: block;
}

.wpcf7-form-control-wrap[data-name="file-add"] {
    display: block;
}

.wpcf7 input[type="file"] {
    width: 100%;
}


.wpcf7-file::file-selector-button {
    box-sizing: border-box;
    background-color: var(--c-white);
    border: solid 2px var(--c-primary);
    color: var(--c-primary);
    width: 178px;
    height: 40px;
    border-radius: 8px;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    -ms-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
    transition: all 0.2s;
    font-weight: 600;
    margin-right: 8px;
}



.wpcf7-spinner {
    width: 0;
    height: 0;
    margin: 0;
}

.btn_area .buttons {
    width: 385px;
    margin: 24px auto 0;
}

span[data-name="acceptance-600"] span.wpcf7-list-item{
    margin-left: 0;
}


@media (max-width: 960px) {
    .btn_area .buttons {
        width: 100%;
        height: 48px;
    }
}

@media (max-width: 578px) {
    .wpcf7-file::file-selector-button {
        display: block;
        margin-bottom: 8px
    }
}

/* お問い合わせ完了 */
/* layoutにいるよ */



@media (max-width: 960px) {

    section.contents-area-large {

        grid-template-areas:
            "pankuzu"
            "left"
            "title"
            "right";
    }

    section.contents-area-large {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 12px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    section.contents-area-large .pankuzu,
    section.contents-area-large .contents-right {
        width: calc(100% - 30px);
        padding: 0 15px;
    }

    ul.pankuzu {
        grid-area: pankuzu;
    }

    h1 {
        grid-area: title;
    }

    .contents-two-columns {
        display: contents;
    }

    .contents-left {
        margin: 24px auto 0 auto;
        grid-area: left;
    }

    .contents-right {
        grid-area: right;
    }
}