:root {
    /* プライマリーカラー */
    --color-primary: #000000;
    --color-accent: #00888d;
    --color-title: #758686;
    --color-gray-dark: #001d1b;
    --color-gray-medium: #dfe0e6;
    --color-gray-light: #eeeff1;
    --color-white: #ffffff;

    /* フォントサイズ設定 - 小さいサイズ */
    --font-size-xx-small: calc(1vw + 10px);

    /* フォントサイズ設定 - やや小さいサイズ */
    --font-size-x-small: calc(1vw + 12px);

    /* フォントサイズ設定 - 普通のサイズ */
    --font-size-medium: calc(1vw + 14px);

    /* フォントサイズ設定 - 大きいサイズ */
    --font-size-large: calc(1vw + 16px);

    /* フォントサイズ設定 - さらに大きいサイズ */
    --font-size-x-large: calc(1vw + 18px);

    /* ヘッダーのタイトルフォントサイズ */
    --font-size-header-title: calc(1vw + 20px);
    --font-size-header-subtitle: calc(1vw + 16px);

    /* メインタイトルフォントサイズ */
    --font-size-main-title: calc(35px + (85 - 35) * ((100vw - 320px) / (1280 - 320)));
}

/* =====================
   blocks
========================= */
/* メインビジュアルタイトル */
.main-visual__title {
    font-family: 'Oswald', sans-serif;
    font-size: var(--font-size-main-title);
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
    font-weight: 500;
    line-height: 1.3;
}

/* ボックスの幅いっぱい */
.full-width-block{
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}
.full-width-block .smb-container__body{
    max-width: 80vw;
}
.smb-box,
.full-width-block .c-container{
    padding: 0;
}
@media screen and (max-width: 782px){
    .full-width-block .smb-container__body{
        max-width: 85vw;
    }
}

/* カバーの画像を半透明に */
.custom-cover-opacity .wp-block-cover__image-background {
    opacity: 0.5;
}

.custom-cover-opacity .wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
}

/* 主にボックスに使うパディング */
.box-paddingBottom{
    padding-top: calc(15px + (25 - 15) * ((100vw - 320px) / (1400 - 320)));
    padding-bottom: calc(35px + (85 - 35) * ((100vw - 320px) / (1400 - 320)));
}
/* メディアとテキスト */
.wp-block-media-text .wp-block-media-text__media,
.wp-block-media-text.is-stacked-on-mobile.is-image-fill{
    margin-bottom: calc(15px + (30 - 15) * ((100vw - 320px) / (1400 - 320)));
}

@media screen and (max-width: 782px){
	.wp-block-media-text .wp-block-media-text__content{
		padding: 0;
	}
    .smb-box__body p:first-child,
    .wp-block-media-text__content p:first-child{
        margin-bottom: 0;
    }
}

/* 固定ページ内 h2 装飾 */
.news-title,
.page h2.wp-block-heading{
    font-size: calc(22px + (26 - 22) * ((100vw - 320px) / (1400 - 320)));
    margin: calc(25px + (50 - 25) * ((100vw - 320px) / (1400 - 320)));
    padding-bottom: 5px;
    font-weight: 500;
    line-height: 1.6;
}

.page h2.wp-block-heading:first-child{
    margin-top: 0;
}


/* block 上下padding */
.cover-block-padding{
    padding-top:calc(60px + (120 - 60) * ((100vw - 320px) / (1400 - 320)));
    padding-bottom:calc(60px + (120 - 60) * ((100vw - 320px) / (1400 - 320)));
}
/* 固定ページ内 h3,h4,h5 */
.page .has-medium-font-size {
    font-size: calc(16px + (20 - 16) * ((100vw - 320px) / (1400 - 320)));
}

/* 装飾タイトル 下線 */
.page-third_title{
    font-size: calc(23px + (32 - 23) * ((100vw - 320px) / (1400 - 320)));
    padding-top: calc(40px + (80 - 40) * ((100vw - 480px) / (1400 - 320)));
    margin-bottom: calc(55px + (110 - 55) * ((100vw - 480px) / (1400 - 320)));
    font-weight: 600;
    line-height: 1.4;
    position: relative;
}
.page-third_title::before{
    position: absolute;
    content: '';
    width: 15%;
    max-width: 80px;
    left: 0;
    bottom: -30px;
    border-bottom: 5px solid var(--accent-color);
}

.inner_negative_margin{
    margin-bottom: -8em;
}

/* 固定ページ table */
.wp-block-table.is-style-stripes tbody tr{
    padding: .5em;
    display: block;
    line-height: 1.6;
}

.wp-block-table.is-style-stripes tr td:nth-child(1) {
    width: 260px;
    font-weight: 600;
}

/* ページ内段落にaリンクが差し込まれたら自動で太字＆下線 */
.wp-block-table.is-style-stripes tbody tr a,
.page-template-default p a{
    font-weight: 700;
    border-bottom: 1px solid;
}
@media screen and (max-width: 782px){
    .wp-block-table.is-style-stripes tbody tr{
        padding: 1em 0.8em
    }
    .wp-block-table.is-style-stripes td{
        display: block;
        padding: 0 1em;
        width: 100%;
    }
}

/* バナー テキスト */
.koumoku_banner .smb-items__banner__title{
    font-size: calc(21px + (27 - 21) * ((100vw - 320px) / (1400 - 320)));
}
.koumoku_banner .smb-items__banner__lede{
    font-size: calc(15px + (17 - 15) * ((100vw - 320px) / (1400 - 320)));
}

/* アコーディオン */
.smb-accordion__item__title{
	font-size: calc(15px + (17 - 15) * ((100vw - 320px) / (1400 - 320)));
    margin-bottom: calc(7px + (15 - 7) * ((100vw - 320px) / (1400 - 320)));
}

.smb-accordion__item__title__label::before {
    content: 'Q.';
	font-family: "Poppins", sans-serif;
	color: var(--main-color);
	font-size: 1.38em;
    margin-right: 0.3em;
}

.smb-accordion__item{
	margin-top: 0;
}
.smb-accordion__item__body{
	padding-top: 0;
}
.wp-block-image .alignright{
	margin: 0;
}
.sme-font-size.has-small-font-size{
	margin-top: -0.5em;
    display: block;
}
.faq_box{
    margin-top: calc(40px + (90 - 40) * ((100vw - 480px) / (1400 - 320)));
}
.has-background.faq_title{
    font-size: calc(16px + (21 - 16) * ((100vw - 320px) / (1400 - 320)));
    margin-bottom: calc(20px + (40 - 20) * ((100vw - 480px) / (1400 - 320)));
    padding: 0.5em 1em;
}

@media screen and (max-width: 782px){
	.smb-accordion__item__title{
		font-size: 1.15em;
        margin-bottom: 15px;
		line-height: 1.5;
	}
    .faq_box .smb-accordion__item__body{
        padding: 0 5vw 6vw;
    }
}
/* 段落 付箋color */
:root :where(p.is-style-sme-post-it-narrow):after{
    background-color: var(--accent-color);
}

/* 固定ページ p */
.page p{
	margin-bottom: 1.5em;
}
.page p:last-child{
    margin-bottom: 0;
}
.page .wp-block-list{
    list-style: auto;
    padding-left: 1.5em;
}
.page .wp-element-caption{
    margin-bottom: 0;
    font-weight: 700;
}
.page .wp-block-columns{
	margin-bottom: 2em;
}
.page .wp-block-columns:last-child{
	margin-bottom: 0em;
}

/* 情報ブロックをテーブルのように表示 */
.two-table{
    max-width: 960px;
    margin: auto;
}
.two-table .c-row{
    padding: 25px;
}
.two-table .wp-block-snow-monkey-blocks-information-item{
    margin: 0;
}
.two-table .wp-block-snow-monkey-blocks-information-item:nth-child(odd) .c-row{
    background-color: var(--gray-medium-color);
}
.two-table .wp-block-snow-monkey-blocks-information-item:nth-child(even) .c-row{
    background-color: var(--gray-light-color);
}
.two-table .sme-bg-color{
    margin-right: 7px;
    padding-left: 5px;
    padding-bottom: 2px;
}
@media screen and (max-width: 782px){
    .two-table .c-row{
        padding: 15px 20px 45px;
    }
    .two-table .c-row>.c-row__col{
        margin-bottom: 0;
    }
}

/* プラグインのtable */
.wp-block-flexible-table-block-table th,
.wp-block-flexible-table-block-table td{
    font-size: calc(11px + (13.5 - 11) * ((100vw - 320px) / (1400 - 320)));
    line-height: 1.3;
}
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th, 
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td{
    padding-top: calc(5px + (15 - 5) * ((100vw - 320px) / (1400 - 320)));
    padding-bottom: calc(5px + (15 - 5) * ((100vw - 320px) / (1400 - 320)));
    text-align: center;
    border-color: var(--gray-medium-color);
}
.wp-block-post-featured-image{
    max-width: 650px;
    margin: auto;
}