/*
Theme Name: 日本青年会議所フードサービス部会専用子テーマ
Author: 日本青年会議所フードサービス部会
Description: 日本青年会議所フードサービス部会
Version: 1.0
Template: arkhe

This is the child theme for Arkhe theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

body,
div,
p,
li {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-display: optional !important;
    font-display: swap;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Noto Serif JP", serif !important;
    font-weight: 500;
}

.c-pageTitle__main {
    font-weight: 500;
}

.smb-section__title {
    font-weight: 500;
}

/* ---------- 固定ページヘッダー ---------- */
@media (min-width: 768px) {
    .p-topArea {
        min-height: 22vh;
        border-top: 3px solid #afafb0;
    }

    .c-headLogo__img {
        margin-top: -15px;
    }
}

@media (max-width: 767px) {
    [data-btns=l-r] .l-header__body {
        grid-template-columns: var(--ark-drawerW) calc(15% - var(--ark-drawerW)) 70% calc(15% - var(--ark-searchW)) var(--ark-searchW) !important;
    }

    .c-headLogo__img {
        margin-top: -8px;
    }
}

/* ---------- ヘッダーメニュー ---------- */
.menu_c1 {
    background-color: #b33e5c;
}

.menu_c1 .__mainText {
    color: #fff !important;
}

.menu_c2 {
    background-color: #a02645;
}

.menu_c2 .__mainText {
    color: #fff !important;
}

.__mainText {
    font-family: "Noto Serif JP", serif !important;
    font-weight: 600;
}

@media (min-width: 768px) {

    .menu_c12,
    .menu_c2 {
        width: 120px;
    }

    li.current_page_item {
        background-color: #f7f7f7;
    }

    .menu_c1 svg:not(:host).svg-inline--fa,
    svg:not(:root).svg-inline--fa {
        display: block;
        text-align: center;
        margin: auto;
        margin-bottom: 5px;
        font-size: 1.4rem;
        margin-top: -5px;
    }

    li.current_page_item.menu_c1 {
        background-color: #b33e5c !important;
    }

    li.current_page_item.menu_c2 {
        background-color: #a02645 !important;
    }
}

/* ------------ メインスライド ------------ */
.main_sub1 div {
    font-family: "Noto Serif JP", serif !important;
}

@media (max-width: 680px) {

    #n2-ss-2item1,
    #n2-ss-2item3 {
        width: 80%;
    }

    #n2-ss-2item2,
    #n2-ss-2item4 {
        font-size: 1.2rem !important;
    }

    div#n2-ss-2 .n2-ss-slide {
        height: 350px !important;
    }
}

/* ------------ メインスライド ------------ */

.top_cm_box1 h2 {
    position: relative;
    padding: 0.8em;
    background: #B33E5C;
    color: white;
    margin-bottom: 30px;
    font-size: 1.4rem;
    line-height: 100%;
    font-weight: 500;
    text-align: center;
}

.top_cm_box1 h2::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px rgb(149, 158, 155);
}

/* ------------ トップ ------------ */
@media (min-width: 1000px) {
    .news_box1 {
        padding: 50px !important;
    }
}
@media (max-width: 640px) {
    .smb-section__background-text__text {
        font-size: 6.4rem !important;
    }
}

/* ------------ コンテンツ ------------ */
.gdbox1 {
    background-color: #fff;
    padding: 50px;
}

.gdbox1 h3 {
    background-color: #b33e5c;
    border-left: 5px solid #afafb0;
    padding: 10px 20px;
    color: #fff;
}

.gdbox2 {
    background-color: #fff;
    padding: 50px 0 20px;
}

.gdbox2 h3 {
    background-color: #b33e5c;
    border-left: 5px solid #afafb0;
    padding: 10px 20px;
    color: #fff;
}

h3.slogan_f1 {
    font-family: "Noto Serif JP", serif !important;
    font-size: 2.4rem !important;
    margin-top: 0 !important;
    color: #A5304D;
}

.slogan_f2 {
    font-family: "Noto Serif JP", serif !important;
    text-align: center;
    font-size: 1.4rem;
}

#sidebar h2 {
    padding: 10px;
    background-color: #f7f7f7;
    line-height: 100%;
    border-left: 5px solid #a02645;
    font-weight: 500;
}

h2.c-bottomSection__title {
    border-bottom: 1px dotted #333;
}

.bukaichou_box1 {
    border: 1px solid #999;
    padding: 10px;
}
.bukaichou_box1.wp-block-columns {
    --wp-column-gap: 0.1rem !important;
}
.bukaichou_1 {
    flex-basis: 28% !important;
}
.bukaichou_2 {
    flex-basis: 50% !important;
}
.bukaichou_3 {
    font-size: 0.9rem !important;
    flex-basis: 22% !important;
}

.bukaichou_1,
.bukaichou_2,
.bukaichou_3 {
    text-align: center;
}

.bukaichou_1 p{
    display: block;
    width: 100%;
    background-color: #D9D9D9;
    font-size: 0.9rem;
    padding: 3px;
}
.bukaichou_2 p{
    font-size: 1.4rem;
}
.bukaichou_3 em{
    display: block;
    font-size: 0.7rem;
    font-style: normal;
    margin-bottom: -8px;
}

@media (min-width: 768px) {
    h3.slogan_f1 {
        font-size: 3.6rem !important;
    }

    .smb-section__background-text__text {
        font-family: "Noto Serif JP", serif !important;
    }
}

/* ------------ ボタン ------------ */
.btn_1 a {
    background: #f9f9f9;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    width: 100%;
    text-decoration: none;
    border: 1px solid #ccc;

}

.btn_1 a:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 2rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 2px #a02645;
    border-right: solid 2px #a02645;
    transform: translateY(-50%) rotate(45deg);
}

.btn_1 a:hover {
    background: #a02645;
    color: #FFF;
    border: 1px solid #2F2872;
}

.btn_1 a:hover:after {
    right: 1.4rem;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
}

/* ------------ プライバシーポリシー ------------ */
.policy_sec1 h2 {
    margin: 20px 0 10px;
    font-size: 1.1rem !important;
}

@media (min-width: 751px) {

    .policy_sec1 p,
    .policy_sec1 ul,
    .policy_sec1 ol,
    .policy_sec1 li,
    .policy_sec1 table,
    .policy_sec1 blockquote {
        margin-left: 40px;
    }
}

/* ------------ 問い合わせフォーム ------------ */

#form1 {
    overflow: hidden;
}

#form1 th,
#form1 td {
    padding: 20px !important;
}

#form1 th {
    width: 40%;
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

div.wpcf7 .wpcf7-spinner {
    display: block;
}

#form1 .form_1 {
    background-color: #f39800;
    padding: 10px;
    color: #fff;
    text-align: center !important;
    margin-bottom: 20px;
}

#form1 .color-botton01 {
    width: 220px;
    margin: 20px auto;
    padding: 15px 5px;
    background-color: #f39800;
    text-align: center;
    border-radius: 30px;
}

#form1 .color-botton01 a {
    color: #fff;
}

@media (min-width: 768px) {
    .wpcf7 {
        width: 100% !important;
    }
}

.wpcf7 {
    margin: 0px auto !important;
    padding: 0px !important;
    padding-bottom: 0px !important;
}

span.wpcf7-list-item {
    display: block !important;
    margin: 0 0 0 1em;
    width: 100%;
}

.must {
    color: #fff;
    margin-left: 5px;
    padding: 3px 5px;
    background: #B74662;
    border-radius: 5px;
    font-size: 9px;
    position: relative;
    top: -3px;
}

.free {
    color: #fff;
    margin-left: 5px;
    padding: 3px 5px;
    background: #a9a9a9;
    border-radius: 5px;
    font-size: 9px;
    position: relative;
    top: -3px;
}

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;
}

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

input.wpcf7-submit {
    padding: 10px 80px;
    background: #b33e5c;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

input.wpcf7-submit:hover {
    background: #f39800;
}

.formb2 {
    margin-top: 10px;
    text-align: center;
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
    color: red;
    font-weight: 600;
}

.wpcf7-form-control.wpcf7c-btn-confirm {
    width: 350px;
    padding: 15px !important;
    color: #fff;
    font-size: 30px !important;
    font-weight: 600;
    border-radius: 50px !important;
    margin-top: 30px !important;
    background: #ffc86a !important;
    background: -moz-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
    background: -webkit-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
    background: linear-gradient(to bottom, #ffc86a 0%, #f39800 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc86a', endColorstr='#f39800', GradientType=0) !important;
}

@media only screen and (max-width:480px) {
    #form1 {
        margin: 0 -10px;
    }

    #form1 th,
    #form1 td {
        width: 100% !important;
        display: block;
        border-top: none;
    }

    #form1 tr:first-child th {
        border-top: 1px solid #ddd;
    }
}


/* ---------- NEWSマークがつく記事一覧 ---------- */
/* 記事のリスト全体のスタイル */
.custom-post-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

/* 各記事のスタイル */
.custom-post-list .post-item {
    display: flex;
    justify-content: flex-start;
    /* 項目を左揃えに */
    align-items: flex-start;
    /* 項目を上揃えに */
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

/* 日付のスタイル */
.custom-post-list .post-date {
    font-size: 0.9em;
    color: #666;
    margin-right: 20px;
    /* タイトルとの間に余白を追加 */
    min-width: 100px;
    /* 日付の最小幅を指定して揃えやすくする */
    align-self: center;
    /* 日付を中央揃え */
}

/* コンテンツ部分のスタイル */
.custom-post-list .post-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 記事タイトルのリンクスタイル */
.custom-post-list .post-title a {
    font-size: 1em;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.custom-post-list .post-title a:hover {
    color: #0073aa;
}

/* NEWマークのスタイル */
.custom-post-list .new-label {
    background-color: red;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-left: 10px;
    align-self: center;
    /* NEWマークを中央揃え */
}

/* 詳細部分のスタイル */
.custom-post-list .post-details {
    font-size: 0.85em;
    color: #999;
    margin-top: 5px;
}

/* ----- フッター固定ナビ スマホ対応 ----- */
/*メニューをページ下部に固定*/
#footer-fixed-menu {
    position: fixed;
    bottom: 0px;
    font-size: 0;
    opacity: 0.94;
    z-index: 99;
}

/*メニューを横並びにする*/
#footer-fixed-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

#footer-fixed-menu li {
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

/*左側メニューを緑色に*/
#footer-fixed-menu li:nth-child(1) {
    background: #FF0101;
}

/*左側メニューをオレンジ色に*/
#footer-fixed-menu li:nth-child(2) {
    background: #38b435;
}

/*左側メニューをオレンジ色に*/
#footer-fixed-menu li:nth-child(3) {
    background: #f3a324;
}

/*ボタンを調整*/
#footer-fixed-menu li a {
    color: #fff;
    text-align: center;
    display: block;
    width: 100%;
    padding: 10px 5px;
    font-size: 1.1rem;
    text-decoration: none;
}

#footer-fixed-menu .svg-inline--fa {
    display: var(--fa-display, inline-block);
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
    font-size: 1.5rem;
    margin-right: 5px;
}

@media (min-width: 751px) {
    #footer-fixed-menu ul {
        display: inline-table;
        padding-left: 5px;
        display: none;
    }

    #footer-fixed-menu li {
        width: 200px;
        border: 1px solid #fff;
        margin-bottom: 2px;
    }
}

@media (max-width: 768px) {
    #footer-fixed-menu {
        padding-bottom: 0px;
        width: 100%;
    }

    #footer-fixed-menu ul {
        display: flex;
    }

    #footer-fixed-menu li {
        width: 50%;
        border-right: 1px solid #fff;
    }

    #footer-fixed-menu ul {
        width: 100% !important;
    }

    #footer-fixed-menu li a {
        font-size: 0.9rem !important;
        padding: 10px 5px;
    }

    #footer-fixed-menu .svg-inline--fa {
        font-size: 1rem;
        display: inline-block;
        margin: auto;
        margin-right: 2px;
    }
}

@media (min-width: 751px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

@media (max-width: 680px) {
    .custom-post-list .post-date {
        display: block;
    }

    .custom-post-list .new-label {
        margin-left: 0px;
    }

    .rttpg-block-postgrid {
        width: auto;
    }
}

[id^="bfb_content_"] .bfb_closed {
    display: none;
}

[id^="bfb_content_"].bfb_view_pc {
    background-color: #c0c0c0bd !important;
}