/*
Theme Name: FLOWTECH
Author: エムエー総建株式会社
Description: FLOWTECH 法人向け水まわりサービスのオリジナルテーマ。トップ・強み・サービス・対応施設・対応エリアの専用ページ。
Version: 2.0.23
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: flowtech
*/

/* Shared article typography for the published page and the block editor. */
@font-face {
    font-family: FlowZen;
    src: url('assets/fonts/flow-zen-medium-full-v1.woff2') format('woff2');
    font-weight: 400 500;
    font-display: swap;
}
@font-face {
    font-family: FlowZen;
    src: url('assets/fonts/flow-zen-bold-full-v1.woff2') format('woff2');
    font-weight: 600 800;
    font-display: swap;
}
body {
    font-family: FlowZen, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}
.article-body h2,
.article-body h3,
h2.wp-block-heading,
h3.wp-block-heading {
    box-sizing: border-box;
    color: #123b53;
    font-family: FlowZen, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: .015em;
    line-height: 1.65;
    overflow-wrap: break-word;
    word-break: normal;
    word-break: auto-phrase;
    text-wrap: balance;
}
.article-body h2,
h2.wp-block-heading {
    margin: 56px 0 24px;
    padding: 19px 24px;
    border: 0;
    border-left: 4px solid #008591;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(110deg, #e0f0f4, #edf6f8);
    font-size: clamp(24px, 2.1vw, 29px);
}
.article-body h3,
h3.wp-block-heading {
    margin: 36px 0 18px;
    padding: 0 0 13px;
    border: 0;
    border-bottom: 1px solid #c6dce3;
    border-radius: 0;
    background: linear-gradient(90deg, #008591, #42a8b7) left bottom / 42px 3px no-repeat;
    font-size: clamp(20px, 1.7vw, 23px);
}
.article-body h2 + h3,
h2.wp-block-heading + h3.wp-block-heading {
    margin-top: 26px;
}
.article-body :is(h2, h3) :is(strong, em),
:is(h2, h3).wp-block-heading :is(strong, em) {
    color: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}
@media (max-width: 600px) {
    .article-body h2,
    h2.wp-block-heading {
        margin: 42px 0 20px;
        padding: 15px 17px;
        font-size: 22px;
        letter-spacing: 0;
    }
    .article-body h3,
    h3.wp-block-heading {
        margin: 30px 0 16px;
        padding-bottom: 11px;
        font-size: 20px;
        letter-spacing: 0;
    }
}
