/*
Theme Name: カメの動物病院専用子テーマ
Theme URI: http://xn--u9j181gd5c5v5b4rdj25d.com/
Template: arkhe
Author: カメの動物病院
Author URI: http://xn--u9j181gd5c5v5b4rdj25d.com/
Description:
Tags:
Version: 1.11.0.1741659931
Updated: 2025-03-11

*/


/* ---------- デフォルト ---------- */
body,
div {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-display: optional !important;
    font-display: swap;
}

#main_content h2 {
    font-size: 2rem !important;
    font-weight: 500 !important;
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
}

#main_content h3 {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
}

/* ------------ 見出し ------------ */
body.single .p-archive__title,
.p-page__title {
    position: relative;
    padding: 0.5em 0.5em 0.8em 0.85em;
    background: #808000;
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

body.single .p-archive__title,
.p-page__title::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px #BDBD93;
}

body.single h1.c-pageTitle__main {
    font-size: 1.6rem !important;
}


/* --- トップ --- */

.top_sec2 h3 {
    position: relative;
    padding: 1rem 2rem 0.5rem 0rem;
    border-bottom: 6px solid #094;
}

.top_sec2 h3:before {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 20%;
    height: 6px;
    content: '';
    background: #00cc5b;
}

#main_content .sec_box1 h3 {
    font-size: 1.2rem !important;
}

.sec_box1 h3 {
    position: relative;
    padding: .5em .7em .4em;
    border-bottom: 3px solid #808000;
    color: #808000;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
}

.sec_box1 h3::before,
.sec_box1 h3::after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.sec_box1 h3::before {
    background-color: #808000;
}

.sec_box1 h3::after {
    bottom: -11px;
    background-color: #fff;
}

.fnt_box1 {
    font-size: 1.6rem;
}




@media (min-width: 769px) {
    #main_content .h2_d2 h2 {
        font-size: 2.4rem !important;
    }
}

@media (min-width: 768px) {

    /* 両端に斜め線が入った見出し */
    .h2_d2 h2 {
        position: relative;
        text-align: center;
        font-weight: bold;
        color: #808000;
    }

    .h2_d2 h2:before,
    .h2_d2 h2:after {
        position: relative;
        display: inline-block;
        content: "";
        background: #808000;
        width: 2px;
        height: 2em;
        margin: 0 1em;
        margin-top: -.2em;
        vertical-align: middle;
    }

    .h2_d2 h2:before {
        transform: rotate(-35deg);
    }

    .h2_d2 h2:after {
        transform: rotate(35deg);
    }
}

@media (max-width: 767px) {
    .h2_d2 h2 {
        background-color: #bdb76b;
        padding: 10px;
        color: #fff;
        border-radius: 10px;
    }

    #main_content .h2_d2 h2 {
        font-size: 2rem !important;
    }
}

/* --- スライダー--- */

div#n2-ss-2 .n2-font-59951df524324b10efade5213f55d5e8-hover strong {
    color: #fdff00;
    font-size: 150%;
}

@media (min-width: 769px) {
    div#n2-ss-2 .n2-font-59951df524324b10efade5213f55d5e8-hover br {
        display: none;
    }
}

@media (max-width: 768px) {
    div#n2-ss-2 .n2-ss-slide {
        min-height: 600px;
    }

    div#n2-ss-2 .n2-font-59951df524324b10efade5213f55d5e8-hover {
        font-size: 180% !important;
    }

    div#n2-ss-2 .n2-font-7eaa767b610aac6e0a470b98addc3b9a-hover {
        font-size: 120% !important;
    }

}

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

    div#n2-ss-2 .n2-font-59951df524324b10efade5213f55d5e8-hover {
        font-size: 150% !important;
    }

    div#n2-ss-2 .n2-font-7eaa767b610aac6e0a470b98addc3b9a-hover {
        font-size: 100% !important;
    }

}

/* --- 総合受付--- */

.turtle_sec1 h2 {
    padding: 1rem 2rem;
    color: #fff;
    background: #6b8e23;
    -webkit-box-shadow: 5px 5px 0 #007032;
    box-shadow: 5px 5px 0 #315842;
    border: 1px solid #fff;
}

#main_content .turtle_sec1 h3 {
    font-size: 1.5rem !important;
}

.turtle_sec1 h3::first-letter {
    background-color: #7F7F00;
    color: #fff;
    padding: 3px 10px 1px 10px;
    font-size: 1em;
    border-radius: 3px;
    margin-right: 5px;
    /* 文字間のスペース */
    vertical-align: middle;
    /* 基準線に合わせる */
}

@media (max-width: 767px) {
    .turtle_sec1 h2 {
        padding: 1rem !important;
    }

    #main_content .turtle_sec1 h2 {
        font-size: 1.8rem !important;
    }
}

/* ------------ よくある質問 ------------ */
.sec_item11 {
    border-top: 5px solid #FFE400;
    margin-top: 0px;
}

/* ------------ サイドバー ------------ */

#sidebar h2.wp-block-heading {
    border-left: 5px solid #BDBD93;
    padding: 5px 10px;
    color: #fff;
    background-color: #808000;
    border-radius: 10px;
}

/* ------------ フッター ------------ */
#footer .vk_borderBox_body{
    border-style: none;
}

@media (min-width: 768px) {
    .footer_box2 ul {
        display: flex;
        flex-wrap: wrap;
    }

    .footer_box2 ul li {
        width: 50%;
    }
}

.widget_nav_menu .menu {
    border: 0px;
}

.vk_borderBox .vk_borderBox_body {
    border-width: 1px !important;
}

.footer_col1 p {
    font-size: 0.8rem;
}

/* ------------ 固定情報 ------------ */
[id^="bfb_content_"].bfb_view_pc {
    background-color: rgb(255 255 255 / 85%) !important;
}

[id^="bfb_content_"].bfb_view_sp {
    background-color: rgb(255 255 255 / 85%) !important;
}

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

[id^="bfb_content_"].bfb_rounded_corners a {
    border-radius: 5px !important;
}

[id^="bfb_content_"].bfb_view_sp a.bfb_btn {
    padding: 10px 5px !important;
    font-size: 0.8rem !important;
}

[id^="bfb_content_"].bfb_view_sp a.bfb_btn2 {
    padding: 10px 5px !important;
    font-size: 0.8rem !important;
}

[id^="bfb_content_"].bfb_view_sp a.bfb_btn svg.bfb_icon {
    display: none !important;
}

[id^="bfb_content_"].bfb_view_sp a.bfb_btn2 svg.bfb_icon {
    display: none !important;
}

.n2-ss-slider {
    min-height: 350px !important;
}
@media (min-width: 768px) {
    .bfb_parts_2 {
        max-width: 800px !important;
    }

    [id^="bfb_content_"].bfb_view_pc a.bfb_btn {
        max-width: 400px !important;
    }

    [id^="bfb_content_"].bfb_view_pc a.bfb_btn2 {
        max-width: 400px !important;
    }
}

/* ------------ ブロック ------------ */
.has-text-align-center {
    margin-top: 5px !important;
    margin: auto;
    width: 100%;
}

.smb-btn-wrapper.is-style-ghost .smb-btn[style*="background-color:"] {
    background-color: #fff !important;
}

.smb-btn-wrapper.is-style-ghost a.smb-btn:hover {
    background-color: #7F7F00 !important;
    color: #fff;
}

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

@media only screen and (max-width:480px) {
    .vk_borderBox .vk_borderBox_body {
        padding: 0.2em !important;
    }

    .c-row>.c-row__col {
        padding-left: calc(var(--_gap)* .2) !important;
        padding-right: calc(var(--_gap)* .2) !important;
    }

    .wp-block-spacer {
        display: none;
    }

    body .general-menu1 .is-layout-flex {
        display: block !important;
    }
    .general-menu1 .wp-block-snow-monkey-blocks-btn{
        margin-bottom: 15px;
    }
    .general-menu1 .smb-btn{
        justify-content: left !important;
    }
}

/* ------------ 固定AD ------------ */
[id^="bfb_content_"].bfb_view_pc a.bfb_btn ,[id^="bfb_content_"].bfb_view_pc a.bfb_btn2{
    border-bottom: solid 0px #b84c02 !important;
    font-size: 1rem;
}

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

#form1 {
    overflow: hidden;
    background-color: #fff;
    padding: 20px;
}

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

#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 table {
        padding: 1% 0;
        margin: 10px auto;
    }

    #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-weight: bold;
    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: 1px 6px;
    border-radius: 3px;
    font-size: 0.6em;
    margin-left: 10px;
    align-self: center;
    /* NEWマークを中央揃え */
}

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