/*
 Theme Name:   Polyvalent2
 Theme URI:    https://angleinc.jp
 Description:  Angle Inc.のオリジナルテーマ。
 Author:       Memi Miyake
 Author URI:   https://angleinc.jp
 Version:      2.0.0
*/


@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500&display=swap');

/* 変数 */
:root {
    --header-bg-color: #FEF2F6;
    --header-font-color: #FA7EA1;
    --infobar-bg-color: #FA7EA1;
    --infobar-font-color: #FFFFFF;
    --main-bg-color: #FEF2F6;
    --main-font-color: #63515B;
    --main-accent-color: #FA7EA1;
    --footer-bg-color: #FDD5E1;
    --footer-font-color: #63515B;
    --link-font-color: #63515B;
    --link-hover-color: #FA7EA1;
}


/* アニメーション */
.top_load {
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top_load p {
    display: none;
    z-index: 9999;
    /* width: 280px; */
}

.top_load p img {
    width: 240px;
}

.load {
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;
}

.load p {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    width: 280px;
}

/* General Settings */
html {
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    line-height: 1.5;
    color: var(--main-font-color);
    font-weight: 300;
    background-color: var(--main-bg-color);
}

/* Headings */
a {
    text-decoration: none;
    color: inherit;
    line-height: normal;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

a:hover {
    color: var(--link-hover-color) !important;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

ol,
ul,
p {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

table {
    border-collapse: collapse;
    border-color: var(--main-font-color);
    border-spacing: 0;
}

th,
td {
    vertical-align: top;
    border: var(--main-font-color);
    font-weight: normal;
    text-align: left;
}

caption {
    text-align: left;
}

.m_header {
    background-color: var(--header-bg-color);
}

.m_container {
    background-color: var(--main-bg-color)
}


.m_sidebar_contents {
    background-color: var(--main-bg-color)
}

.m_footer {
    color: var(--footer-font-color);
    background-color: var(--footer-bg-color);
}

/* Header_Settings */
.m_header_01 .m_header_contents {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header_Settings > Title */
.m_header_01 .m_header_contents_title {
    width: 45%;
    display: flex;
    align-items: end;
}

.m_header_01 .m_header_contents_title .m_siteTitle {
    max-width: 70%;
    padding: 0 10px;
    font-size: 2em;
    color: var(--header-font-color);
}

.m_header_01 .m_header_contents_title .m_siteSubTitle {
    max-width: 30%;
    font-size: 0.8em;
    padding-bottom: 6px;
    color: var(--header-font-color);
}

.m_header_01 .m_header_contents_title .custom-logo {
    max-width: 220px;
    height: auto;
    margin-right: 10px;
}

.m_header_01 .m_header_contents_info {
    width: 55%;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
}

/* Header_Settings01 > Menu */
.m_header_01 .m_header_menu {
    height: 30px;
    overflow-x: auto;
    overflow-y: hidden;
}

.m_header_01 .m_header_menu ul {
    width: auto;
    display: flex;
    justify-content: flex-start;
    white-space: nowrap;
    color: var(--header-font-color);
}

.m_header_01 .m_header_menu ul li {
    padding: 0 14px;
    border-right: 1px solid var(--header-font-color);
    display: flex;
    align-items: center;
}

.m_header_01 .m_header_menu ul li:first-child {
    border-left: 1px solid var(--header-font-color);
}

.m_header_01 .m_header_menu ul li:hover {
    opacity: 0.6;
}

.m_header_01 .m_hamburger_menu,
.m_header_01 .m_hamburger_menu_toggle {
    display: none;
}

/* Header_Settings > Search */
.m_header_01 .m_header_search_container i {
    width: 50px;
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 5px;
    color: var(--header-font-color);
}

.m_header_01 .search_toggle_close {
    display: none;
}

.m_header_01 .m_header_search {
    position: relative;
}

.m_header_01 .m_searchForm {
    position: absolute;
    /* fixedからabsoluteに変更 */
    top: 100%;
    /* toggleの高さ分下に配置 */
    right: 200px;
    /* 左端に合わせる */
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.m_header_01 .m_header_search_container:hover {
    cursor: pointer;
}

.m_header_01 .m_searchForm.active {
    opacity: 1;
    visibility: visible;
}

.m_header_01 .m_searchForm input[type='text'] {
    font-size: 0.8em;
    box-sizing: border-box;
    width: 250px;
    padding: 4px 10px;
    transition: 0.3s;
    letter-spacing: 1px;
    border: 1px solid white;
    box-shadow: 0 0 5px 1px rgba(170, 170, 170, .5);
    border-radius: 4px;
}

.m_header_01 .ef input[type='text']:focus {
    border: 1px solid #aaaaaa;
    outline: none;
    box-shadow: 0 0 5px 1px rgba(170, 170, 170, .5);
}

.m_header_01 .js_searchbtn {
    position: absolute;
    top: 6;
    right: -180px;
    cursor: pointer;
    color: #aaaaaa;
}

/* 02_Header_Settings */
.m_header_02 .m_header_contents {
    width: 100%;
    padding: 10px 0;
}

/* Header_Settings > Title */
.m_header_02 .m_header_contents_title {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.m_header_02 .m_header_contents_title .m_siteTitle {
    padding: 0 10px;
    font-size: 2em;
    color: var(--header-font-color);
}

.m_header_02 .m_header_contents_title .m_siteSubTitle {
    font-size: 0.8em;
    padding-bottom: 6px;
    color: var(--header-font-color);
}

.m_header_02 .m_header_contents_title .custom-logo {
    max-width: 220px;
    height: auto;
    margin: 0 auto;
}

.m_header_02 .m_header_contents_info {
    width: 100%;
    margin: 0 auto;
    padding-top: 20px;
}

/* Header_Settings02 > Menu */
.m_header_02 .m_header_menu {
    height: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.m_header_02 .m_header_menu ul {
    width: auto;
    display: flex;
    justify-content: center;
    white-space: nowrap;
    color: var(--header-font-color);
}

.m_header_02 .m_header_menu ul li {
    padding: 0 14px;
    border-left: 1px solid var(--header-font-color);
    display: flex;
    align-items: center;
}

.m_header_02 .m_header_menu ul li:first-child {
    border-left: 1px solid var(--header-font-color);
}

.m_header_02 .m_header_menu ul li:last-child {
    border-right: 1px solid var(--header-font-color);
}

.m_header_02 .m_header_menu ul li:hover {
    opacity: 0.6;
}

.m_header_02 .m_hamburger_menu {
    display: none;
}

.m_header_02 .m_hamburger_menu_toggle {
    display: none;
}

/* 02_Header_Settings > Search */
.m_header_02 .m_header_search_container i {
    width: 50px;
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 5px;
    color: var(--header-font-color);
    position: absolute;
    top: -106;
    right: 0;
}

.m_header_02 .search_toggle_close {
    display: none;
}

.m_header_02 .m_header_search {
    position: relative;
    width: 100%;
}

.m_header_02 .m_searchForm {
    position: absolute;
    /* fixedからabsoluteに変更 */
    top: -80px;
    /* toggleの高さ分下に配置 */
    right: 0px;
    /* 左端に合わせる */
    /* width: 100%; */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}


.m_header_02 .m_header_search_container:hover {
    cursor: pointer;
}

.m_header_02 .m_searchForm.active {
    opacity: 1;
    visibility: visible;
}

.m_header_02 .m_searchForm input[type='text'] {
    font-size: 0.8em;
    box-sizing: border-box;
    width: 250px;
    padding: 4px 10px;
    transition: 0.3s;
    letter-spacing: 1px;
    border: 1px solid white;
    box-shadow: 0 0 5px 1px rgba(170, 170, 170, .5);
    border-radius: 4px;
}

.m_header_02 .ef input[type='text']:focus {
    border: 1px solid #aaaaaa;
    outline: none;
    box-shadow: 0 0 5px 1px rgba(170, 170, 170, .5);
}

.m_header_02 .js_searchbtn {
    position: absolute;
    top: 6;
    right: 6px;
    cursor: pointer;
    color: #aaaaaa;
}

.m_header.m_full_height {
    height: 100vh;
    object-fit: cover;
}

.m_header.m_original_height {
    height: 400px;
    object-fit: cover;
}

/* Header 03 */
.home .m_header_03 {
    height: 100vh;
}

/* Information Bar */
.m_infoBar {
    background-color: var(--infobar-bg-color);
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 0.8em;
    width: 100%;
}

.m_infoBar p {
    line-height: normal;
    margin: 0;
    color: var(--infobar-font-color);
}

.m_infoBar .m_button02 {
    margin: 0;
    width: 220px;
    padding: 4px 10px;
}

/* m_main_contents */
.m_main_contents {
    margin: 0;
    padding: 0;
}

.m_main_contents h3.m_index_title {
    color: var(--main-accent-color);
    letter-spacing: 1.2;
}

/* m_main_contents > m_articles  */
.m_main_contents .m_section {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0px;
}

/* m_main_contents > cardArticles > m_articles  */
.m_main_contents .m_section .m_cardArticles_row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 20px;
}

.m_main_contents .m_section .m_cardArticles_row .m_card {
    width: 48%;
    background-color: #fff;
    box-shadow: 0 2px 6px 0px rgba(170, 170, 170, 0.15);
    transition: all 1.1s ease;
    border-radius: 6px;
    margin-bottom: 30px;
    position: relative;
}

.m_main_contents .m_section .m_cardArticles_row .m_card:hover {
    top: -6px;
    box-shadow: 0 4px 12px 0px rgba(170, 170, 170, 0.25);
}

.m_main_contents .m_section .m_cardArticles_row .m_card .m_card_img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-top-left-radius: 6px;
    /* 左上の角を丸くする */
    border-top-right-radius: 6px;
    /* 右上の角を丸くする */
}

.m_main_contents .m_section .m_cardArticles_row .m_card .m_card_body {
    padding: 16px;
    max-height: 200px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.m_main_contents .m_section .m_cardArticles_row .m_card .m_card_body .m_card_title {
    color: var(--main-font-color);
    font-size: 1em;
}

.m_main_contents .m_section .m_cardArticles_row .m_card .m_card_body .m_published_date {
    color: var(--main-font-color);
    font-size: 0.8em;
    text-align: right;
}

/* m_index_list m_main_contents > m_cardArticles_row_wide  */
.m_main_contents .m_section .m_cardArticles_row_list {
    padding-top: 20px;
}

.m_main_contents .m_section .m_cardArticles_row_list .m_card {
    width: 100%;
    height: 140px;
    background-color: #fff;
    box-shadow: 0 2px 6px 0px rgba(170, 170, 170, 0.15);
    transition: all 1.1s ease;
    display: flex;
    border-radius: 6px;
    margin-bottom: 14px;
    position: relative;
}

.m_main_contents .m_section .m_cardArticles_row_list .m_card a {
    display: flex;
}

.m_main_contents .m_section .m_cardArticles_row_list .m_card:hover {
    top: -6px;
    box-shadow: 0 4px 12px 0px rgba(170, 170, 170, 0.25);
}

.m_main_contents .m_section .m_cardArticles_row_list .m_card .m_card_head {
    height: 140px;
    aspect-ratio: 16 / 9;
}

.m_main_contents .m_section .m_cardArticles_row_list .m_card .m_card_img {
    height: 140px;
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 6px;
    /* 左上の角を丸くする */
    border-bottom-left-radius: 6px;
    /* 右上の角を丸くする */
}

.m_main_contents .m_section .m_cardArticles_row_list .m_card .m_card_body {
    padding: 16px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.m_main_contents .m_section .m_cardArticles_row_list .m_card .m_card_body h3.m_card_title {
    color: var(--main-font-color);
    font-size: 1em;
}

.m_main_contents .m_section .m_cardArticles_row_list .m_card .m_card_body .m_published_date {
    color: var(--main-font-color);
    font-size: 0.8em;
    text-align: left;
}

.m_main_contents h3.m_index_title {
    color: var(--main-font-color);
    letter-spacing: 1.2;
}

/* Category PHP > m_category */
.m_section .category_subTitle {
    display: inline-block;
    color: var(--main-font-color);
    font-size: 0.8em;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 10px;
}

.m_section h3.category_Title::before {
    content: "";
    height: 1px;
    width: 60px;
    background-color: var(--main-accent-color);
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.m_section h3.category_Title {
    color: var(--main-font-color);
    text-align: center;
}

/* m_main_contents > listArticles  */
.m_main_contents .m_section .m_listArticles_row {
    margin: 30px 0 20px 0;
}

.m_main_contents .m_section .m_listArticles_row li {
    padding-bottom: 10px;
}

.m_main_contents .m_section .m_listArticles_row li a {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.m_main_contents .m_section .m_listArticles_row li a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.m_main_contents .m_section .m_listArticles_row .m_pub_date {
    color: var(--main-font-color);
    font-size: 0.8em;
    flex: 0 0 20%;
    /* 変更 */
    text-align: left;
    /* 追加 */
    margin-right: 10px;
    /* 追加 */
}

.m_main_contents .m_section .m_listArticles_row .m_title {
    color: var(--main-font-color);
    font-size: 0.9em;
    font-weight: 500;
    flex: 1;
    /* 追加 */
    text-align: left;
    /* 追加 */
}

.m_main_contents .m_section .m_category_box {
    margin-bottom: 10px;
}

.m_main_contents .m_section .m_category_box span {
    color: var(--main-font-color);
    font-size: 0.8em;
    background-color: #F6EFF2;
    padding: 10px;
    margin-right: 6px;
    border-radius: 2px;
}

/* m_main_contents > .m_ctaCard  */
.m_main_contents .m_section .m_ctaCard {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m_main_contents .m_ctaCard span {
    margin: 10px 0;
    color: var(--main-accent-color);
    font-size: 0.8em;
}

.m_main_contents .m_ctaCard .m_button03 {
    margin: 10px auto;
}

.m_main_contents .m_ctaCard .m_button03 a {
    width: 300px;
}

/* m_sidebar_contents */
.m_sidebar_contents {
    width: 30%;
    margin: 0 0 0 auto;
    padding: 0;
    /* padding-top: 30px; */
}

.m_sidebar_contents h3 {
    font-weight: 300;
    margin-top: 30px;
    margin-bottom: 10px;
}

.m_sidebar_contents h3::after {
    content: "";
    height: 1px;
    width: 100%;
    background-color: var(--main-accent-color);
    display: block;
    margin-top: 4px;
}

/* m_main_contents > m_sb_sponcer  */
.m_sidebar_contents .m_sb_sponcer {
    padding: 30px 0;
    border-radius: 10px;
    margin-bottom: 30px;
}

.m_sidebar_contents .m_sb_sponcer img {
    width: 100%;
    height: auto;
}

/* m_main_contents > m_sb_articles  */
.m_sidebar_contents .m_sb_articles {
    margin-bottom: 30px;
}

.m_sidebar_contents .m_sb_articles_row li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.m_sidebar_contents .m_sb_articles_row li .m_thumb {
    position: relative;
    width: 30%;
    aspect-ratio: 16 / 9;
}

.m_sidebar_contents .m_sb_articles_row li img {
    width: 100%;
}

.m_sidebar_contents .m_sb_articles_row li .m_thumb:after {
    content: "";
    position: absolute;
    font-size: 0.8em;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.m_sidebar_contents .m_sb_articles_row li:nth-child(1) .m_thumb:after {
    content: "1";
    /* この行を追加 */
    background-color: #F9E154;
}

.m_sidebar_contents .m_sb_articles_row li:nth-child(2) .m_thumb:after {
    content: "2";
    /* この行を追加 */
    background-color: #B5B7B7;
}

.m_sidebar_contents .m_sb_articles_row li:nth-child(3) .m_thumb:after {
    content: "3";
    /* この行を追加 */
    background-color: #C59A6A;
}


.m_sidebar_contents .m_sb_articles_row li a {
    width: 65%;
    display: inline-block;
    font-size: 0.8em;
    font-weight: 300;
}

/* m_main_contents > m_sb_profile  */
.m_sidebar_contents .m_sb_profile {
    margin-bottom: 30px;
}

.m_sb_profile .profile {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
}

.m_sb_profile .profile .profile_img {
    display: block;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto;
}

.m_sb_profile .profile .profile_name {
    text-align: center;
    color: var(--main-font-color);
    font-weight: 500;
    font-size: 1.2em;
    margin: 1rem auto 0;
}

.m_sb_profile .profile .profile_role {
    text-align: center;
    color: #C8C0C4;
    font-weight: 300;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.m_sb_profile .profile .profile_desc {
    color: var(--main-font-color);
    font-size: 0.8em;
}

/* 検索バー */
.wp-block-search__inside-wrapper {
    position: relative;
}

.wp-block-search__input {
    margin: 0 4px;
    font-size: 0.8em;
    box-sizing: border-box;
    padding: 4px 10px;
    transition: 0.3s;
    letter-spacing: 1px;
    border: 1px solid white;
    box-shadow: 0 0 5px 1px rgba(170, 170, 170, .5);
    border-radius: 4px;
}

.wp-block-search__input:focus {
    border: 1px solid #aaaaaa;
    outline: none;
    box-shadow: 0 0 5px 1px rgba(170, 170, 170, .5);
}

.wp-block-search__button {
    position: absolute;
    top: 2;
    right: 14px;
    cursor: pointer;
    color: #aaaaaa;
}

/* タグクラウド カスタマイズ */
.wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;

}

.wp-block-tag-cloud a {
    /*   border: 1px solid #ddd; */
    background: #FFF9FB;
    /* 各タグを囲む枠線の色 */
    border-radius: 2px;
    /* 枠線の角の丸み */
    color: #555;
    /* タグ名の色 */
    padding: 3px 8px;
    text-decoration: none;
    /* 下線の解除 */
    margin: 1px 2px;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
    /* hover時の色の変化する速度 */
    font-size: 0.8em !important;
}

.wp-block-tag-cloud a:hover {
    color: #FA86A6;
    /* hover時の色 */
}

/* タグ名の前にアイコンを追加 */
.wp-block-tag-cloud a:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f02b";
    font-weight: 800;
    font-size: 1em;
    margin-top: 4px;
    margin-right: 5px;
}

/* ウィジェット > カテゴリ */
.wp-block-categories-list a,
.wp-block-latest-posts__list a {
    color: #63515A;
    transition: all 0.3s ease-in-out;
    /* hover時の色の変化する速度 */
}

.wp-block-categories-list a:hover,
.wp-block-latest-posts__list a:hover {
    color: #FA86A6;
    /* hover時の色 */
}


/* Footer */
.m_footer {
    padding: 30px 0;
}

.m_footer_contents {
    width: 86%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.m_footer .m_footer_menu {
    height: auto; 
    overflow-x: auto; 
    overflow-y: visible;
}

.m_footer .m_footer_menu ul {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    white-space: normal;
    flex-wrap: wrap;
}

.m_footer .m_footer_menu ul li {
    color: var(--footer-font-color);
    font-size: 0.8em;
    padding: 0 14px;
    border-right: 1px solid var(--footer-font-color);
    display: flex;
    align-items: center;
}

.m_footer .copyright {
    color: var(--footer-font-color);
    font-size: 0.8em;
}

/* single page > m_main_contents > article  */
.m_main_contents .m_article p {
    margin-bottom: 10px;
}

.m_main_contents .m_article {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.m_main_contents .m_article .m_article_info span {
    color: var(--main-font-color);
    font-size: 0.8em;
    padding-right: 10px;
    margin-bottom: 20px;
}

.m_main_contents .m_article h1.m_article_title {
    font-size: 2em;
    color: var(--main-font-color);
    font-weight: 300;
}

.m_main_contents .m_article .m_article_thumb {
    margin: 20px 0;
    width: 100%;
}

.m_main_contents .m_article .m_article_thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.m_main_contents .m_article article img {
    width: 100%;
    margin-bottom: 20px;
}

/* Page */
.m_main_contents .m_article .m_page_thumb {
    margin: 20px 0;
    width: 100%;
}

.m_main_contents .m_article .m_page_thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* recommendArticles */
.m_main_contents .m_section .m_recommendArticles_row {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    min-width: calc(100% - 4%);
    /* 3つのカードで 32% * 3 = 96%, 残り4% */
}

.m_main_contents .m_section .m_recommendArticles_row .card {
    width: 300px;
    flex: 0 0 32%;
    /* flex-grow, flex-shrink, flex-basis */
    margin-top: 10px;
    margin-right: 1%;
    /* 右マージン */
    border: none;
}

.m_main_contents .m_section .m_recommendArticles_row .card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.m_main_contents .m_section .m_recommendArticles_row .card .card-title {
    color: var(--main-font-color);
    font-size: 1em;
    overflow: hidden;
}

.m_main_contents .m_section .m_card .m_card_body .m_published_date {
    color: var(--main-font-color);
    font-size: 0.8em;
    text-align: right;
}


.m_main_contents .m_section .m_recommendArticles_row .card a {
    font-size: 0.8em;
    font-weight: 300;
}

/* breadCrumb */
.m_main_contents .m_breadCrumb {
    padding: 5px 5px 15px 5px;
    border-radius: 10px;
    margin-top: -20px;
    margin-bottom: 20px;
    font-size: 0.8em;
    color: var(--main-font-color);
}

/* Pagenation */
.m_pagination {
    padding: 30px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.m_pagination ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
}

.m_pagination a {
    display: inline-block;
    padding: 10px 18px;
}

.m_pagination .is-active {
    background-color: var(--main-accent-color);
    color: #fff;
}

article h1 {
    color: pink;
    font-weight: bold;
}

/* 404 Page */
.m_404_page {
    text-align: center;
}

.m_404_page h2 {
    padding-bottom: 20px;
}

.m_404_page a {
    display: inline-block;
    text-align: center;
    margin: 10px 0;
    padding: 8px 10px;
    border: 1px solid var(--main-font-color);
}

.m_404_page a:hover {
    border: 1px solid var(--main-accent-color);
}



.single-column .m_sidebar_contents {
    display: none;
}

.single .single-column .m_main_contents,
.page .single-column .m_main_contents,
.category .single-column .m_main_contents,
.search .single-column .m_main_contents {
    width: 75%;
    margin: 0 auto;
}

.home .single-column .m_main_contents {
    width: 100%;
}

/************************************
** お問い合わせフォームの入力
************************************/
#cf-tbl {
    width: 800px;
}

#cf-tbl table {
    width: 100%;
    border-collapse: collapse;
    border: solid #CCC;
    border-width: 1px;
    color: #444;
}

#cf-tbl table tr th,
#cf-tbl table tr td {
    padding: 0.5em;
    text-align: left;
    vertical-align: top;
    border: solid #CCC;
    border-width: 1px;
    vertical-align: middle;
}

#cf-tbl table tr th {
    width: 35%;
    background: #eee;
}

/*「必須」文字デザイン*/
.required {
    font-size: .8em;
    padding: 5px;
    background: #CF2D2D;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
}

/*「任意」文字デザイン*/
.optional {
    font-size: .8em;
    padding: 5px;
    background: #9CC3D9;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
}

/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 8px 15px;
    margin-right: 10px;
    margin-top: 10px;
    border: 1px solid #d0d5d8;
    border-radius: 3px;
    background-color: #eff1f5;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    height: 200px;
}

/* 「送信する」ボタン */
input.wpcf7-submit {
    display: block;
    padding: 15px;
    width: 400px;
    background: var(--main-accent-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 15px auto 0
}

input.wpcf7-submit:hover {
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, .15), 0 0 5px rgba(0, 0, 0, .1);
    transform: translateY(-4px);
    opacity: 0.7;
}

/* エラーメッセージを見やすく */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
    color: #CF2D2D;
    font-weight: 600;
}



/* Small devices (sm 769px-992px) */
@media (max-width: 992px) {
    .no-scroll {
        overflow: hidden;
        height: 100%;
    }

    /* Your CSS here */
    h1 {
        color: blue;
    }

    .m_header_01 .m_header_contents_title {
        width: 80%;
    }

    .m_header_01 .m_header_contents_info {
        width: 20%;
        /* width: 100px; */
        flex-direction: row-reverse;
        z-index: 10000;
    }

    .m_header_01 .m_header_search_container i {
        font-size: 0.8em;
    }

    /* Header_Settings > Toggle */
    .m_header_01 .m_hamburger_menu_toggle {
        position: relative;
        margin: 0;
        padding: 0;
        margin-bottom: 22px;
        margin-left: 4px;
    }

    /* ハンバーガーメニューの線 */
    .m_hamburger_menu_toggle span {
        width: 25px;
        height: 2px;
        background-color: var(--header-font-color);
        position: absolute;
        /* 'absolute'に変更 */
        transition: ease .4s;
        display: block;
    }

    .m_hamburger_menu_toggle span:nth-child(1) {
        top: 0;
    }

    .m_hamburger_menu_toggle span:nth-child(2) {
        top: 8px;
    }

    .m_hamburger_menu_toggle span:nth-child(3) {
        top: 16px;
    }

    .header__nav.active {
        transform: translateX(0);
    }

    .m_hamburger_menu_toggle.active span:nth-child(1) {
        top: 8px;
        transform: rotate(45deg);
    }

    .m_hamburger_menu_toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .m_hamburger_menu_toggle.active span:nth-child(3) {
        top: 8px;
        transform: rotate(-45deg);
    }


    /* Header_Settings > Menu */
    .m_header_01 .m_header_search_container,
    .m_header_01 .m_hamburger_menu_toggle {
        display: block;
        font-size: 30px;
    }

    .m_header_01 .m_header_menu {
        display: none;
    }

    .m_header_01 .m_hamburger_menu_toggle {
        display: block;
        z-index: 10000;
    }

    .m_header .m_hamburger_menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        background-color: rgba(251, 251, 251, 0.9);
        backdrop-filter: blur(10px);
        /* これを追加 */
    }

    .m_header .m_hamburger_menu.active {
        opacity: 1;
        visibility: visible;
    }

    .m_header .m_hamburger_menu ul {
        color: white;
        margin: 160px auto 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }

    .m_header .m_hamburger_menu li {
        width: 50%;
        padding: 16px;
        border-bottom: 1px solid #DCD7D5;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--main-font-color);
    }

    .m_header .m_hamburger_menu li:after {
        content: '>';
        display: inline-block;
        color: #DCD7D5;
    }

    /* Header 02 */
    .m_header_02 .m_header_contents {
        padding-top: 20px;
    }

    .m_header_02 .m_header_contents_title {
        width: 100%;
    }

    .m_header_02 .m_header_contents_info {
        width: 100%;
        position: relative;
        height: 0px;
        z-index: 10000;
    }

    .m_header_02 .m_header_menu {
        display: none;
    }

    .m_header_02 .m_hamburger_menu_toggle {
        position: absolute;
        display: block;
        width: 30px;
        height: 30px;
        top: -50;
        right: 10;
        z-index: 10000;
    }

    .m_header_02 .m_header_search {
        width: 100%;
        height: 100px;
        position: relative;
    }

    .m_header_02 .m_header_search_container {
        position: absolute;
        top: -70;
        right: 30;
    }

    .m_header_02 .m_header_search_container i {
        position: static;
    }

    /* ハンバーガーメニューの線 */
    .m_header_02 .m_hamburger_menu_toggle span {
        width: 25px;
        height: 2px;
        background-color: var(--header-font-color);
        position: absolute;
        /* 'absolute'に変更 */
        transition: ease .4s;
        display: block;
    }

    /* m_sidebar_contents */
    .m_sidebar_contents {
        width: 96%;
        margin: 0 auto;
        padding: 0 10px;
    }

}

/* Extra-Small devices (xs -768px) */
@media (max-width: 768px) {
    h1 {
        color: red;
    }

    .m_header {
        /* z-index: 998; */
    }

    /* Header 01 */
    .m_header_01 .m_header_contents_title {
        display: inline-block;
    }

    .m_header_01 .m_header_contents_title .m_siteTitle {
        padding: 0px;
        font-size: 30px;
    }

    .m_header_01 .m_header_contents_title .m_siteSubTitle {
        max-width: 80%;
    }

    .m_header_01 .m_header_contents_info {
        width: 20%;
    }

    /* Header_Settings > Toggle */
    .m_header_01 .m_hamburger_menu_toggle {
        margin-bottom: 24px;
    }


    /* Header 02 */
    .m_header_02 .m_header_contents_title {
        display: inline-block;
    }

    .m_header_02 .m_header_contents_title .m_siteTitle {
        padding: 0px;
        font-size: 30px;
    }

    .m_header_02 .m_header_contents_title .m_siteSubTitle {
        max-width: 100%;
    }

    .m_header_02 .m_header_contents_info {
        width: 100%;
    }

    /* Header_Settings > Toggle */
    .m_header_02 .m_hamburger_menu_toggle {
        margin-bottom: 24px;
    }

    /* Header */
    .m_header .m_hamburger_menu li {
        padding: 16px;
        width: 90%;
    }

    /* Header_Settings > Toggle */
    /* ハンバーガーメニューの線 */
    /* Header_Settings > Search */
    .m_header .m_header_search_container i {
        /* font-size: 1.3em; */
        margin-right: 5px;
    }

    .m_infoBar .m_button02 {
        width: 180px;
    }

    /* Category HTML > m_category */
    .m_main_contents .m_articles {
        padding: 18px 14px;
    }

    .m_main_contents .m_listArticles_row .m_pub_date {
        font-size: 0.7em;
        flex: 0 0 23%;
        /* 変更 */
    }

    .m_main_contents .m_listArticles_row .m_title {
        font-size: 0.8em;
    }

    .m_main_contents .m_listArticles_row {
        margin: 20px 0 20px 0;
    }

    .m_footer_contents {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .m_footer .m_footer_menu {
        margin-bottom: 10px;
    }

    /* single page > m_main_contents > article  */
    .m_main_contents .m_article {
        margin: 14px 14px 30px 14px;
    }


    /* .m_section .m_cardArticles_row_list */
    .m_main_contents .m_section .m_cardArticles_row_list .m_card {
        width: 100%;
        height: 100px;
        margin-bottom: 14px;
    }

    .m_main_contents .m_section .m_cardArticles_row_list .m_card .m_card_head {
        height: 100px;
        aspect-ratio: 16 / 9;
    }

    .m_main_contents .m_section .m_cardArticles_row_list .m_card .m_card_img {
        height: 100px;
    }

    .m_main_contents .m_section .m_cardArticles_row_list .m_card .m_card_body h3.m_card_title {
        font-size: 0.8em;
    }

    /* Single Page > m_recommendArticle */
    .m_main_contents .m_section .m_recommendArticles_row {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        min-width: calc(100% - 4%);
        /* 3つのカードで 32% * 3 = 96%, 残り4% */
    }

    .m_main_contents .m_section .m_recommendArticles_row .card {
        width: 300px;
        flex: 0 0 48%;
        /* flex-grow, flex-shrink, flex-basis */
        margin-top: 10px;
        margin-right: 1%;
        /* 右マージン */
        border: none;
    }

    /* breadCrumb */
    .m_main_contents .m_breadCrumb {
        margin: 0px 14px 0px 14px;
    }

    /* m_section */
    .m_main_contents .m_section {
        margin: 14px 14px 10px 14px;
    }

    .single .single-column .m_main_contents,
    .page .single-column .m_main_contents,
    .category .single-column .m_main_contents,
    .search .single-column .m_main_contents {
        width: 100%;
        margin: 0 auto;
    }


    /* Contact Form */
    #cf-tbl {
        width: 100%;
    }

    #cf-tbl table,
    #cf-tbl table tbody,
    #cf-tbl table tr,
    #cf-tbl table tr th,
    #cf-tbl table tr td {
        display: block;
    }

    #cf-tbl table {
        width: 100%;
        border-width: 0 0 1px 0;
    }

    #cf-tbl table tr th,
    #cf-tbl table tr td {
        width: 100%;
        padding: 3% 5%;
    }

    #cf-tbl table tr td {
        border-width: 0px 1px 0px 1px;
    }

    input.wpcf7-submit {
        width: 250px;
    }

}

@media (max-width: 576px) {
    /* Header_Settings > Toggle */
    .m_header_01 .m_header_contents {
        width: 96%;
    }

    .m_main_contents .m_articles .m_cardArticles_row .card {
        width: 48%;
        margin-top: 20px;
        border: none;
    }

    /* m_section */
    .m_main_contents .m_section {
        padding: 18px 14px;
    }

    /* Category HTML > m_category */
    .m_main_contents .m_articles {
        padding: 18px 14px;
    }

    /* m_main_contents > .m_article */
    .m_main_contents .m_article {
        padding: 18px 14px;
    }

    /* .m_cardArticles_row */
    .m_cardArticles_row .m_card .m_card_body .m_card_title {
        font-size: 0.8em;
    }

    .m_card .m_card_body .m_published_date {
        font-size: 0.6em;
    }

    .m_main_contents .m_section .m_listArticles_row .m_pub_date {
        color: var(--main-font-color);
        font-size: 0.8em;
        flex: 0 0 30%;
        /* 変更 */
        text-align: left;
        /* 追加 */
        margin-right: 10px;
    }

    .m_main_contents .m_section .m_listArticles_row .m_title {
        color: var(--main-font-color);
        font-size: 0.9em;
        font-weight: 500;
        flex: 1;
        /* 追加 */
        text-align: left;
    }

}



/* Large devices (1201px-) */
@media (min-width: 1201px) {

    /* Your CSS here */
    .m_siteSubTitle {
        color: black;
    }

    .m_container,
    .m_mainVisual_slider {
        width: 1140px;
    }
}