@charset "utf-8";
/* CSS Document */

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
contactform 7
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/* ボタン押した後の経過を表示するスピナー */
span.wpcf7-spinner {
    display: block;
    margin: 1rem auto;
}
/* エラーメッセージ */
.wpcf7-validation-errors,
.wpcf7-not-valid-tip,
.wpcf7-mail-sent-ng {
    display: inline-block;
    background-color: #ffc7c7;
    font-size: 1.4rem;
    padding: 0.5em;
    line-height: 1.5;
    border-radius: 0.5em;
    margin: 0.5em;
    border: none;
}

.wpcf7-response-output {
    max-width: 80%;
    border: none;
    margin: auto !important;
    background-color: #ffc7c7;
    font-size: 1.8rem;
    line-height: 2;
    text-align: center;
    border-radius: 0.5em;

    @media screen and (max-width: 480px) {
        max-width: 90%;
        font-size: 1.4rem;
    }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
singleページ
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

#whatsnew {
    .news_honbun {
        /*--------------------*/
        /* 本文 */
        p {
            margin: 1.8em 0;

            /* 背景がある場合 */
            &.has-background {
                padding: 1.25em 2em;

                @media screen and (max-width: 480px) {
                    padding: 1em 1.25em;
                }
            }
        }

        /*--------------------*/
        /* タイトル */
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.5;
            margin: 1.25em 0;
        }

        h1 {
            font-size: 2em;
        }

        h2 {
            font-size: 1.75em;
            text-align: center;
        }

        h3 {
            font-size: 1.5em;
        }

        h4 {
            font-size: 1.25em;
        }

        h5,
        h6 {
            font-size: 1em;
        }

        h6 {
            color: #666;
        }

        /*--------------------*/
        /* リスト */
        ul {
            list-style-type: disc;
        }

        ol {
            list-style-type: decimal;
        }

        ul,
        ol {
            padding: 0 0 0 2em;
            margin: 2em 0;

            &li {
                margin: 0.5em 0;
            }
        }

        /*--------------------*/
        /* テキスト付き要素 */
        figure {
            /* 画像 */
            /* 埋込要素 */
            &.wp-block-image,
            &.wp-block-embed {
                margin: 6rem auto;

                @media screen and (max-width: 480px) {
                    margin: 3rem auto;
                }
            }

            /* テーブル */
            &.wp-block-table {
                margin: 3em 0;

                @media screen and (max-width: 480px) {
                    margin: 2em 0;
                }

                /* 通常のテーブル */
                &.is-style-regular {
                    table {
                        border: 2px solid #000;
                    }
                }
            }

            /* テーブル・画像などのキャプション */
            figcaption {
                &.wp-element-caption {
                    font-size: 1.2rem;
                    color: #333;
                    margin-top: 0.5em;
                }
            }
        }

        /*--------------------*/
        /* ボタン */

        .wp-block-buttons {
            margin: 3em 0;

            .wp-block-button {
                margin: 0.25em;

                .wp-block-button__link {
                    min-width: 9em;
                    background-color: #eb6d8e;
                    color: #fff;
                }
            }
        }

        /*--------------------*/
        /* ファイル */

        .wp-block-file {
            margin: 1em 0 1em 2em;
            display: list-item;
            list-style-type: disc;
            font-size: 1.6rem;

            .wp-block-file__button {
                padding: 0.25em 1em;
                background-color: #eb6d8e;
                color: #fff;
            }
        }

        /*--------------------*/
        blockquote {
            color: #666;
            padding-left: 1em;
            margin-left: 1em;
            border-left: 2px solid #666;
        }

        /*--------------------*/
        table {
            thead,
            tfoot,
            td,
            th {
                border-color: #666;
            }
        }
    }
}
