/*
Theme Name: マリアージュ.com 子テーマ
Theme URI: https://xn--cck1b6f4aw3i.com/
Template: arkhe
Author: マリアージュ.com
Author URI: https://xn--cck1b6f4aw3i.com/
Description:
Tags:
Version: 1.00.0.1761613162
Updated: 2025-10-28

*/

h1,
h2,
h3,
h4,
h5,
li,
p,
span {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 600 !important;
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
}

li,
p {
    font-weight: 500;
}

strong {
    font-size: 110%;
    color: #745810;
}

.smb-box p:not(:first-of-type) {
    margin-top: 15px;
}

.wp-block-media-text__content p:not(:first-of-type) {
    margin-top: 15px;
}

.smb-section-break-the-grid__content p:not(:first-of-type) {
    margin-top: 15px;
}

ul.wp-block-list {
    margin-top: 20px !important;
}

.greeting_box1 p:not(:first-of-type) {
    margin-top: 15px;
}

@media (max-width: 468px) {
    .smb-section__title {
        font-size: 1.5rem !important;
    }

    .c-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .wp-block-media-text__content {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .smb-section-break-the-grid__content--p-l {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ---------- ページヘッダー ---------- */

body.home .l-header {
    background-color: #ffffffa8;
}

a .__mainText {
    color: #333 !important;
}

a .__mainText:hover {
    color: #ED6D46 !important;
}

.c-pageTitle__main {
    color: #222;
}

@media (min-width: 1000px) {
    #header .l-container {
        max-width: calc(var(--ark-width--container) + var(--ark-padding--container) * 80);
        width: 100% !important;
    }

    #header .l-header__center {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (min-width: 1000px) {
    ul.c-gnav {
        width: 97% !important;
    }

    .sl_word1 {
        margin-top: 250px !important;
    }
}

@media (min-width: 768px) {
    a.contact_button {
        border-radius: 10px !important;
    }

    .c-pageTitle__main {
        text-align: justify;
    }

    .p-topArea {
        margin-top: -35px;
    }
}

@media (max-width: 680px) {
    div#n2-ss-2 .n2-ss-slide {
        height: 350px !important;
    }

    .smb-section__background-text__text {
        font-size: 4.8rem;
    }
}

[data-btns=l-r] .l-header__body {
    grid-template-columns: var(--ark-drawerW) calc(10% - var(--ark-drawerW)) 80% calc(10% - var(--ark-searchW)) var(--ark-searchW);
}

/* ---------- スマホ メインメニュー ---------- */
[data-btns="r-l"] .l-header__body {
    grid-template-columns: var(--ark-searchW) calc(15% - var(--ark-searchW)) 70% calc(15% - var(--ark-drawerW)) var(--ark-drawerW);
}

.p-drawer {
    background: #0c4da2e6;
}

.c-drawerNav {
    border: 0px !important;
}

.c-drawerNav .menu-item {
    border-bottom: 1px dotted #0b2e5c;
}

/* ---------- 見出し ---------- */

body:not(.page.home) h2.wp-block-heading {
    position: relative;
    padding: .3em 0 .2em 1em;
    text-align: left;
    color: #8B6606;
    border-bottom: 1px solid #8B6606;
}

body:not(.page.home) h2.wp-block-heading::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #8B6606;
    content: '';
}

body:not(.page.home) h2.wp-block-heading::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #8B6606;
    content: '';
}

body:not(.page.home) h2.smb-section__title {
    position: relative;
    padding: .3em 0 .2em 1em;
    text-align: left;
    color: #8B6606;
    border-bottom: 1px solid #8B6606;
}

body:not(.page.home) h2.smb-section__title::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #8B6606;
    content: '';
}

body:not(.page.home) h2.smb-section__title::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #8B6606;
    content: '';
}

h3.wp-block-heading {
    position: relative;
    padding: 0.5em 1em 0.5em 0.8em;
    background: #fff6df;
    color: #6a5300;
    border-bottom: 1px solid #8B6606;
}

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

body:not(.page.home) h4 {
    color: #6a5300;
}

h2.h2_title1 {
    position: relative;
    background: #dfefff;
    box-shadow: 0px 0px 0px 5px #dfefff;
    border: dashed 2px white;
    padding: 0.2em 0.5em;
    color: #454545;
}

h2.h2_title1:after {
    position: absolute;
    content: '';
    left: -7px;
    top: -7px;
    border-width: 0 0 15px 15px;
    border-style: solid;
    border-color: #fff #fff #a8d4ff;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.secbox1 h2.smb-section__title {
    position: relative;
    z-index: 10;
}

body.single h1.c-pageTitle__main {
    display: inline-block;
    position: relative;
    padding: .5em 1em;
    border-right: 27px solid #cea944;
    background-color: #FFF6DF;
    color: #333333;
    width: 100%;
}

body.single h1.c-pageTitle__main::before {
    position: absolute;
    bottom: 2px;
    right: -20px;
    z-index: -1;
    transform: rotate(3deg);
    width: 100%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}

@media (min-width: 1000px) {
    .secbox1 h2.smb-section__title {
        margin-top: 110px;
        font-size: 2.8rem;
        color: #6b8e23;
    }

    .midashi_red h2.smb-section__title strong {
        font-size: 4.8rem !important;
        color: #F92931 !important;
    }

    .mediabox_1 {
        margin-top: -130px;
    }
    body.page-id-31 h3.wp-block-heading {
        padding: 0.7em 1em 0.5em 0.8em;
        line-height: 100%;
        font-size: 1.3rem;
    }
}

@media (max-width: 680px) {
    body:not(.page.home) h2.wp-block-heading {
        font-size: 1.7rem !important;
    }
}

/* ---------- メインメニュー ---------- */

/* 2段表示を維持しつつ、メニューを等幅表示 */
@media (min-width: 1000px) {

    /* ヘッダー全体を2段表示にする */
    .l-header__body {
        display: flex;
        flex-direction: column;
        /* 縦方向にレイアウトを維持 */
        align-items: center;
    }

    /* 1段目のロゴ部分 */
    .l-header__center {
        max-width: 1200px;
        /* 固定幅1200px */
        width: 100%;
        text-align: left;
        /* 左揃え */
        margin: 0 auto;
        /* 中央揃え */
    }

    /* 2段目のメニュー部分 */
    .l-header__right {
        max-width: 1200px;
        /* 固定幅1200px */
        width: 100%;
        text-align: right;
        /* 右揃えの要素を保持 */
        margin: 0 auto;
        /* 中央揃え */
    }

    /* ナビゲーションのラップ（中央揃え、固定幅1200px） */
    .c-gnavWrap {
        width: 1200px;
        /* 固定幅1200px */
        margin: 0 auto;
        /* 中央揃え */
    }

    /* ナビゲーションメニューの等幅表示 */
    .c-gnav {
        display: flex;
        justify-content: space-between;
        /* 各メニューを等間隔に配置 */
        padding: 0;
        margin: 0;
        list-style: none;
        /* リストのデフォルトスタイルを削除 */
        width: 100%;
        /* ナビゲーション全体を100%幅に */
    }

    /* 各メニューアイテムの等幅設定 */
    .c-gnav__li {
        flex: 1;
        /* メニュー項目を等幅に表示 */
        text-align: center;
        /* テキストを中央に配置 */
    }

    /* メニューリンクのスタイル */
    .c-gnav__a {
        display: block;
        padding: 10px 0;
        /* クリックしやすいパディング */
    }

    /* l-header__center の中で logo と header_info を横並びに */
    .l-header__center {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        /* 横幅全体を使用 */
    }

    .header_info {
        width: 860px;
        /* header_info の幅を 700px に設定 */
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-left: 20px;
        /* ロゴとのスペースを確保 */
    }

    .tel_info {
        display: flex;
        flex-direction: column;
        margin-left: 15px;
        /* TEL番号と営業時間を縦並びに */
    }

    .tel_number {
        font-size: 1.8rem;
        /* TEL番号を適度に大きく */
        background-color: transparent;
        /* 背景は無色 */
        font-weight: 600 !important;
        color: #008B8B;
        line-height: 120%;

    }

    .tel_number .svg-inline--fa {
        margin-right: 5px;
    }

    .business_hours {
        font-size: 0.7rem;
        color: #333;
        /* 営業時間を小さく表示 */
    }

    a.contact_button {
        position: relative;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: auto;
        padding: 10px 35px 10px 25px;
        font-family: "Noto Sans Japanese";
        text-decoration: none;
        color: #fff;
        line-height: 1.8;
        transition: 0.3s ease-in-out;
        font-weight: 500;
        border: 1px solid #ff8c00;
        font-weight: 700;
        background-color: #ED6D46;
        border-radius: 0px !important;

    }

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

    a.contact_button:hover {
        background: #ffa500;
        color: #FFF;
        border: 1px solid #ff8c00;
    }

    a.contact_button:hover:after {
        right: 1.1rem;
    }

    ul.c-gnav {
        padding-bottom: 8px;
    }

    ul.c-gnav li {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .c-gnav__li>.c-gnav__a {
        padding: 0px 12px !important;
    }

}

@media (min-width: 1000px) {
    ul.c-gnav li {
        /*    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;*/
        font-size: 1rem !important;
        font-weight: 500;
    }
}

@media (max-width: 999px) {
    .header_info {
        display: none;
    }
}

@media (min-width: 768px) {
    .chukai_menu .__mainText {
        font-size: 0.8rem !important;
        margin-top: -3px;
    }

    .chukai_menu .__subText {
        font-size: 0.5rem;
    }
}

.l-header__center .submenu_box .site-nav__list li {
    display: inline-block;
    white-space: nowrap;
}

.l-header__center .submenu_box .site-nav__list a {
    text-decoration: none;
    color: #003366;
    font-size: 0.9rem;
    transition: color .3s ease;
}

/* ------------ トップ ------------ */
.mari_p1 {
    font-size: 1.4rem;
    font-weight: 600;
}

/* ------------ コンテンツ ------------ */
.wp-block-vk-blocks-faq2 {
    margin: 2em auto !important;
    padding: 2em !important;
    background-color: #fffafa;
    /* 背景色（薄いグレー） */
    position: relative;
    /* 相対位置指定 */
}

.wp-block-vk-blocks-faq2::after {
    position: absolute;
    /* 絶対位置指定 */
    content: '';
    /* 擬似要素にコンテンツを表示しない */
    right: 0px;
    /* 右端に配置 */
    top: 0px;
    /* 上端に配置 */
    border-width: 0 25px 25px 0;
    /* 形状 */
    border-style: solid;
    /* 線の種類 */
    border-color: #ccc #fff #ccc;
    /* 線の色 */
    box-shadow: -1px 1px 1px rgb(0 0 0 / .15);
    /* 影*/
}

.marriage_p_d1 {
    padding: .5em .7em;
    background-image: repeating-linear-gradient(-45deg, #fdf5e6, #fdf5e6 3px, #fffbf3 3px, #fffbf3 7px);
    color: #333333;
    text-align: center;
    font-size: 1.3rem;
}

.marriage_p_d2 {
    font-size: 1.8rem;
    text-align: center;
}

.smb-section-break-the-grid__content--w--20 {
    width: 80%;
    box-shadow: 0px 0px 8px 10px #ffffff;
}

.p_title1 {
    font-size: 1.2rem;
    border-bottom: 1px solid #d9980d;
}

.intro_sec1 h2 {
    margin-top: 30px !important;
    font-size: 1.4rem !important;
}

.intro_sec1 h3 {
    margin-top: 30px !important;
    font-size: 1.2rem !important;
}

.navi_link1.wp-block-snow-monkey-blocks-box{
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.navi_link1 a{
    text-decoration: none;
    display: block;
    padding: 10px 0px;
    background-color: #FFF6DF;
    color: #694C00;
        border: 1px solid #FFF;
}
.navi_link1 a:hover{
    background-color: #ffde8a;
    border: 1px solid #694C00;
}

@media (min-width: 768px) {
    .intro_sec1 .wp-block-snow-monkey-blocks-box {
        margin-left: 25px;
    }
}

@media (max-width: 480px) {
    body.single h1.c-pageTitle__main{
       font-size: 1.5rem !important;
    }
    .smb-section-break-the-grid__content--w--20 {
        width: 100% !important;
    }

    .reason_sec1 .smb-section-break-the-grid__content {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .smb-step__item__title>span {
        font-size: 1.3rem;
        margin-left: 5px;
    }
}

/* ---------- スマホTEL ---------- */
@media (min-width: 751px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
        color: #000;
    }
}

.mainimg_box1 strong {
    font-size: 120%;
    color: #FAEE00;
}

.mainimg_box2 strong {
    color: #FAEE00;
}

/* ------------ スマホメニュー ------------ */
.site-nav ul li a {
    color: #fff;
    text-decoration: none;
}

/*.site-nav svg:not(:host).svg-inline--fa, svg:not(:root).svg-inline--fa {
  font-size: 0.7rem;
}*/
a.c-drawerNav__a span.__mainText {
    color: #fff !important;
}

[data-scrolled="false"] .c-iconBtn.-menuBtn.u-flex--c {
    border: 1px solid #FDE69D;
    color: #FDE69D;
}

[data-scrolled="true"] .c-iconBtn.-menuBtn.u-flex--c {
    background-color: #FDE69D;
    color: #DFBB72;
}

.greeting_box1 {
    padding: 50px;
    background-color: #ffffff8a;
}

@media (min-width: 768px) {
    .section_footer1 .site-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
    }

    .section_footer1 .site-nav ul li {
        width: 20%;
    }

    .tel_botam1 .vk_button_link_txt {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 680px) {
    .greeting_box1 {
        padding: 15px;
    }

    .footer_navi1 .site-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding-left: 0px !important;
    }

    .footer_navi1 .site-nav ul li {
        width: 50%;
    }
}

/* ---------- 成功者の紹介 ---------- */
.group_box1 {
    text-align: center;
    font-size: 1.2rem;
}

/* 枠線・パディングを幅計算に含める（必須） */
.wp-block-snow-monkey-blocks-testimonial-item {
    border: 1px solid #E3D4AD;
    padding: 20px;
    box-sizing: border-box;
    /* ←これが重要 */
}

/* gap を有効化する */
.smb-testimonial__body .c-row.c-row--margin {
    margin: 0;
    gap: 30px;
}

.testimonial_box1 .wp-block-snow-monkey-blocks-testimonial-item {
    background-color: #fff;
}

/* 既存の margin をリセット */
.smb-testimonial__body .c-row.c-row--margin>.c-row__col {
    margin: 0 !important;
    box-sizing: border-box;
    /* ←これも重要 */
}

@media (min-width: 640px) {
    .smb-testimonial__body .c-row[data-md-columns="2"] {
        --_item-width: calc(50% - 15px);
        /* gap 30px の半分 */
    }
}

/* ---------- ご利用料金 ---------- */
.smb-price-menu__item__title {
    font-size: 1.2rem;
}

.smb-price-menu__item__price strong {
    font-size: 1.3rem;
}

@media (min-width: 1100px) {
    .smb-section__body .price_box11 {
        width: 1100px;
        margin: auto;
        margin-top: 30px;
    }
}

/* ---------- 創価学会様 ---------- */
.sokagakkai_box1 p {
    font-size: 1.2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .sokagakkai_box2 {
        padding: 50px;
    }
}


/* ---------- 婚活ガイドブック ---------- */
.gb_box1 p {
    font-size: 0.9rem
}

.ul_li_115 {
    margin-top: 5px !important;
}

/* ---------- プライバシーポリシー ---------- */
body.page-id-3 .smb-section__body h3 {
    margin: 30px 0 30px;
}

body.page-id-3 .smb-section__body p {
    padding: 0px 20px;
}

body.page-id-3 .smb-section__body ul {
    padding: 0px 20px;
    margin-left: 30px;
}

@media (max-width: 480px) {
    body.page-id-3 .smb-section__body h3 {
        margin: 30px 0 30px;
    }

    body.page-id-3 .c-container {
        padding-right: 5px;
        padding-left: 5px;
    }
}

/* ---------- ステップ関連 ---------- */
.smb-step__item {
    background-color: #fffff7;
    padding: 30px 30px;
    border: 1px solid #dac173;
    border-radius: 10px;
}

.stepitem1 .smb-step__item__number {
    display: flex;
    flex-direction: column;
    /* 縦方向に配置 */
    align-items: center;
    justify-content: center;
    font-weight: 400;
    background-color: var(--smb-step--number-background-color);
    border-radius: 15%;
    color: var(--smb-step--number-color);
    height: 58px;
    width: 58px;
    overflow: hidden;
}

.stepitem1 .smb-step__item__number::before {
    content: counter(item);
    counter-increment: item;
    font-size: 1.6em;
    /* 数字を少し大きめに */
    line-height: 1;
    margin-bottom: -8px !important;
}

.stepitem1 .smb-step__item__number::after {
    content: "POINT";
    font-size: 1em;
    line-height: 1;
    margin-top: -5px;
    margin-bottom: 2px;
    /* 数字との間隔 */
    order: -1;
    /* 上に配置 */
}

.smb-step__item__title>span {
    font-size: 1.4rem;
    color: #6a5300;
}

.smb-step__body::before {
    border-left: 0px dotted var(--smb-step--border-color);
}

.process_step_1 .smb-step__item__number {
    height: 50px !important;
    width: 50px !important;
    left: 7px;
    --_font-size-level: 3;
}

@media (max-width: 480px) {
    .sokagakkai_box1 p {
        text-align: left !important;
    }

    .smb-step__item {
        margin-left: 18px;
    }

    .process_step_1 .smb-step__item {
        padding: 15px 15px;
    }

    .process_step_1 .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        padding: 5px 0px;
    }
}

/* ------------ ガイドブック ------------ */

.guide_sec1 .smb-section__body {
    background-color: #fffdf8;
    padding: 15px 30px;
}

.guide_sec1 h3 {
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: #fff6df;
    padding: 10px;
}

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

    .guide_sec1 p,
    .guide_sec1 ul,
    .guide_sec1 ol {
        margin-left: 40px;
        margin-right: 40px;
    }

    .guide_sec1 .smb-section__body {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .guide_sec1 .smb-section__body {
        padding: 15px;
    }
}


/* ------------ ブロック ------------ */
.wp-block-spacer {
    margin-top: 0 !important;
}

.is-vertically-aligned-top>.wp-block-media-text__content {
    margin-top: 0px !important;
}

.wp-block-media-text__media img {
    border-radius: 15px;
}
.p-postList__meta{
    display: none;
}

.sme-highlighter {
    background-image: linear-gradient(rgba(252, 227, 0, 0.6),
            /* ← 黄色（透明度60%） */
            rgba(252, 227, 0, 0.6));
    background-repeat: no-repeat;
    background-size: 100% 12px;
    /* ← 高さ：8px（自由に変更可） */
    background-position: 0 100%;
}


/* ------------ 婚活ガイドブック 目次 ------------ */

/* ===== 目次リスト全体 ===== */
.guidebook_ulli1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 16px;
    list-style: none;
    padding: 20px;
    margin: 0;
    background: #f7f9fb;
    border-radius: 10px;
}

/* ===== 各項目 ===== */
.guidebook_ulli1 li {
    margin: 0;
}

/* ===== リンクデザイン ===== */
.guidebook_ulli1 a {
    display: block;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    transition: all 0.25s ease;
}

/* ===== 番号風アイコン（CSSのみ） ===== */
.guidebook_ulli1 a::before {
    content: "▶";
    font-size: 12px;
    color: #d9980d;
    margin-right: 8px;
}

/* ===== hover ===== */
.guidebook_ulli1 a:hover {
    background: #fffaf0;
    border-color: #d9980d;
    color: #000;
}

/* ===== SP：1列表示 ===== */
@media (max-width: 768px) {
    .guidebook_ulli1 {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}

h2.c-bottomSection__title {
    background-color: #FFF9ED;
    padding: 10px 20px;
}

/* ------------ フッター ------------ */

.info_right_col_112 .svg-inline--fa {
    font-size: 1.2rem !important;
}

.footer_navi1 .svg-inline--fa {
    font-size: 0.7rem !important;
}

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

.c_koumou1 input.wpcf7-text {
    width: 80px !important;
}

.date-time-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.date-time-row .date-label {
    min-width: 80px;
    font-weight: bold;
}

.date-time-row input {
    margin-right: 10px;
}

.date-time-row input,
.date-time-row select {
    width: 240px;
    padding: 0.8rem;
}

#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-right: 5px;
    padding: 3px 5px;
    background: #F92931;
    border-radius: 20px;
    font-size: 11px;
}

.free {
    color: #fff;
    margin-right: 5px;
    padding: 3px 5px;
    background: #a9a9a9;
    border-radius: 20px;
    font-size: 11px;
}

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: #ff7b00;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

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

/* Ameba Feed  */

.custom-rss-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-rss-item {
    margin-bottom: 1.5em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1em;
}

.custom-rss-meta {
    display: flex;
    align-items: center;
    gap: 1em;
    overflow: hidden;
}

.custom-rss-date {
    flex-shrink: 0;
    font-size: 0.9em;
    color: #666;
    white-space: nowrap;
}

.custom-rss-title {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 100%;
}

.custom-rss-title a {
    display: inline-block;
    max-width: 100%;
    color: #0073aa;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.custom-rss-title a:hover {
    text-decoration: underline;
}

.custom-rss-summary {
    margin-top: 0.3em;
    color: #444;
    font-size: 0.95em;
    display: none;
}

.custom-rss-image img {
    max-width: 100%;
    height: auto;
    display: none;
    margin-bottom: 0.5em;
}

@media (max-width: 599px) {
    .custom-rss-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =====================================================
   成婚者 会員情報（詳細ページ用）
   shortcode: [member_profile]
===================================================== */

.intro_sec1 .smb-box__background{
    background-color: #fff;
}

.intro_sec1 h3.wp-block-heading{
background-color: #FFF9ED;
border-bottom: 0px solid #8B6606;
}


.member-profile-wrap {
  margin: 40px 0;
}

.member-profile {
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f7f2;
  border-radius: 10px;
}

.member-profile-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 1px solid #e0d7c2;
  padding-bottom: 6px;
}

h3.member-profile-title {
    margin-top: 0px !important;
}

.member-profile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.member-profile-list li {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 5px 10px;
  text-align: center;
}

.member-profile-list span {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
  border-bottom: 1px dotted #999;
}

.member-profile-list strong {
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

/* 性別カラー */
.gender-woman .member-profile-title {
  color: #b85c7c;
}

.gender-man .member-profile-title {
  color: #2f5d8a;
}

.intro_woman_sub_title1{
    border-left: 5px solid #BF5C7C;
    background-color: #ffeef4;
    padding: 10px;
}
.intro_man_sub_title1{
    border-left: 5px solid #579BCD;
    background-color: #eef6ff;
    padding: 10px;
}

.intro_col_right1{
    background-color: #FFFDF9;
}

/* SP */
@media (max-width: 768px) {
/*  .member-profile-list {
    flex-direction: column;
  }*/
  .member-profile{
    padding: 10px;
  }
  .member-profile-list{
    gap: 10px;
  }
  .member-profile-list strong {
  font-size: 17px;
  }
}


/* =====================================================
   成婚者一覧（一覧ページ）
   shortcode: [marriage_list]
===================================================== */
.marriage-list-inner{
  display:grid;
  grid-template-columns:repeat(var(--columns),1fr);
  gap:30px;
}

.marriage-card{
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 6px 15px rgba(0,0,0,.06);
}

.marriage-thumb{
  aspect-ratio:4/3;
  overflow:hidden;
}
.marriage-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.3s;
}
.marriage-card:hover img{
  transform:scale(.92);
}

.marriage-info{
  padding:15px;
  font-size:14px;
}

.gender {
    margin-bottom: 10px;
    width: 50%;
    float: left;
}
.gender .title{
  font-weight:700;
  margin-bottom:4px;
}
.gender.woman .title{ color:#c55; }
.gender.man .title{ color:#357; }

@media(max-width:768px){
  .marriage-list-inner{
    grid-template-columns:1fr;
  }
}


/* ------------------------------
   ページネーション
------------------------------ */
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px;
  border-radius: 4px;
  background: #eeeeee;
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  height: 15px;
  line-height: 15px;
  min-width: 15px;
}

.pagination .page-numbers.current {
  background: #d4b75f;
  color: #ffffff;
}

/* ------------------------------
   スマホ対応：常に1列
------------------------------ */
@media (max-width: 768px) {
  .marriage-list-inner {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   一覧画像：ホバー時に少し縮小
========================================= */

/* 画像にトランジションを付与 */
.marriage-thumb img {
  transition: transform 0.3s ease;
}

/* カードホバー時に画像だけ縮小 */
.marriage-card:hover .marriage-thumb img {
  transform: scale(1.2);
}


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

.custom-post-list .post-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

/* 日付（ドット） */
.custom-post-list .post-date {
  margin-right: 6px;
  color: #999;
}

/* タイトル行 */
.custom-post-list .post-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* タイトルリンク */
.custom-post-list .post-title a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* NEWマーク */
.custom-post-list .new-label {
  background: #e60012;
  color: #fff;
  font-size: 0.65em;
  padding: 2px 6px;
  border-radius: 3px;
}

/* カテゴリ共通 */
.custom-post-list .post-category {
  width: 100px;
  font-size: 0.7em;
  padding: 2px 6px;
  border-radius: 3px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  margin-right: 5px;
}

/* カテゴリ別色（適当な色設定） */
.custom-post-list .cat-news {
  background: #ED6D46;
}

.custom-post-list .cat-introduction {
  background: #008B8B;
}

.custom-post-list .cat-default {
  background: #666;
}


/* ---------- 固定情報 ---------- */

/* 共通スタイル */
.fixed-buttons {
  position: fixed;
  z-index: 9999;
  display: flex;
  gap: 1px;
  font-family: sans-serif;
}

.fixed-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: opacity 0.3s;
  padding: 25px 15px;
  letter-spacing: 0.1em;
  border: 2px solid #fff;
}

.fixed-buttons a i {
  font-size: 18px;
  margin-right: 6px;
}

/* PC表示：縦配置 */
@media (min-width: 768px) {
  .fixed-buttons {
    flex-direction: column;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
            margin-right: 5px;
  }
  .fixed-buttons a {
    margin-bottom: 10px;
  }
  .btn-line {
    background: linear-gradient(to bottom, #967711, #967711);
    padding: 14px 10px;
    writing-mode: vertical-rl;
    text-align: center;
  }

  .btn-form {
    background: linear-gradient(to bottom, #4CCA84, #30b36b);
    padding: 14px 10px;
    writing-mode: vertical-rl;
    text-align: center;
  }

  .fixed-buttons a i {
    margin: 0 0 6px 0;
    font-size: 20px;
  }

  .fixed-buttons a .text {
    display: block;
  }
}

/* スマホ表示：下部固定 横並び */
@media (max-width: 767px) {
  .fixed-buttons a {
    font-size: 14px;
    letter-spacing: 0em;
    padding: 10px 5px;
  }

  .fixed-buttons {
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: row;
  }

  .btn-line,
  .btn-form {
    flex: 1;
    padding: 12px 0;
    text-align: center;
  }

  .btn-line {
    background: linear-gradient(to right, #967711, #967711);
  }

  .btn-form {
    background: linear-gradient(to right, #4CCA84, #4CCA84);
  }

  .fixed-buttons a i {
    margin-right: 6px;
    font-size: 18px;
  }

  .fixed-buttons a .text {
    display: inline;
  }
}