/*
Theme Name: 柴一荘専用子テーマ
Theme URI: https://arkhe-theme.com/
Template: arkhe
Author: LOOS,Inc.
Author URI: https://shibaichisou.jp/
Description: 
Tags: 
Version: 1.00.0
Updated: 2025-04-12

*/

body,
div,
p,
li {
    font-family: "Noto Sans Japanese" !important;
}

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

/* ------------ ヘッダーメニュー ------------ */

body.home .l-header[data-pcfix="1"] {
    background-color: #ffffffbd;
}

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

.p-drawer {
    background: #ffffffeb;
}

.p-drawer span.__mainText {
    color: #222;
}

.-menuBtn {
    background-color: #ff8c00;
    border-radius: 5px;
}

/* ▼ メニューボタンの上に「MENU」表示 */
.c-iconBtn.-menuBtn::before {
    content: "MENU";
    display: block;
    font-size: 10px;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

/* ▼ ハンバーガーアイコン（三本線）の線スタイル調整 */
.arkhe-svg-menu.__open path {
    stroke: #fff;
    stroke-width: 1.5;
    stroke-linecap: round;
    fill: none;
}

/* ▼ ハンバーガーアイコンの見た目を細く・長く見せるためにサイズ調整 */
.arkhe-svg-menu.__open {
    width: 2em;
    height: 2em;
}


@media (max-width: 680px) {
    .c-headLogo__img {
        height: 55px !important;
    }

    [data-btns=rr-rl] .l-header__body {
        grid-template-columns: 1% 50% auto var(--ark-searchW) var(--ark-drawerW) !important;
    }
}

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

.slider_main1 {
    width: 80% !important;
    margin: 0 auto !important;
    text-align: right;
}

.slider_sub1 {
    width: 80% !important;
    margin: 0 auto !important;
    text-align: right;
}

.n2-ss-slider .n2-ss-text {
    color: #fff !important;
    text-shadow:
        0 0 3px #000,
        0 0 5px #000 !important;
}

/*media (min-width: 1024px) {
    .slider_main1{
        margin-top: 180px !important;
    }
}*/

/*@media (max-width: 768px) {
    div#n2-ss-2 .n2-ss-slide-active {
        min-height: 300px !important;
        object-fit: cover;
    }

    div#n2-ss-2 .n2-ss-slide {
        min-height: 430px !important;
        object-fit: cover;
    }
}
*/
@media (max-width: 680px) {

    body.home .l-header[data-pcfix="1"] {
        background-color: #fff;
    }

    .top_main_slider_1 {
        padding-top: 50px;
    }

    div#n2-ss-2 {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    #n2-ss-2item1,
    #n2-ss-2item3,
    #n2-ss-2item5 {
        font-size: 1.2rem !important;
    }

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

    #n2-ss-2item1 br,
    #n2-ss-2item3 br,
    #n2-ss-2item5 br {
        display: none;
    }

    /*div#n2-ss-2 .n2-ss-slide-active {
        min-height: 200px !important;
        object-fit: cover;
    }*/
    
    div#n2-ss-2 .n2-ss-slide {
        min-height: 212px !important;
        object-fit: cover;
    }
    .n2-ss-layer.slider_main1 {
        width: 100% !important;
    }

    .slider_sub1 {
        width: 100% !important;
    }
}

/* 親レイヤー内で bottom 中央配置するための共通設定 */
/* 共通設定 */
.n2-ss-layer.slider_main1,
.n2-ss-layer.slider_sub1 {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 1000px;
    z-index: 10;
    line-height: 1.4;
}

/* メインキャッチ */
.n2-ss-layer.slider_main1 {
    bottom: 60px !important;
    font-size: 2rem;
    font-weight: bold;
}

/* サブキャッチ */
.n2-ss-layer.slider_sub1 {
    bottom: 20px !important;
    font-size: 1.2rem;
}

/* <br>は非表示（PC・タブレット）
.n2-ss-layer.slider_main1 br {
    display: none;
} */

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .n2-ss-layer.slider_main1 {
        font-size: 1.2rem;
        bottom: 10px !important;
    }

    .n2-ss-layer.slider_sub1 {
        font-size: 1rem;
        bottom: -3px !important;
    }

    /* スマホ時のみ<br>表示 */
    .n2-ss-layer.slider_main1 br {
        display: inline;
    }
}

@media (min-width: 768px) {
    .slider_main1,
    .slider_sub1 {
        text-align: right !important;
    }
}

/* ========== PC用フッター問い合わせボックス ========== */
.p-contact-box {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    max-width: 850px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.p-contact-box.is-show {
    opacity: 1;
    visibility: visible;
}

.p-contact-box__inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.p-contact-box__line,
.p-contact-box__business-hours,
.p-contact-box__holiday {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
    text-align: center;
}

.p-contact-box__line {
    flex-basis: 38%;
}

.p-contact-box__business-hours {
    flex-basis: 40%;
}

.p-contact-box__holiday {
    flex-basis: 12%;
}

.p-contact-box__line a {
    display: inline-block;
    background-color: #00c300;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

.p-contact-box__line a i {
    margin-right: 8px;
}

.p-contact-box__label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    border-radius: 10px;
    background-color: #d0ffd0;
}

.p-contact-box__time,
.p-contact-box__day {
    font-size: 16px;
}

.p-contact-box__time_span {
    font-size: 0.8rem;
    margin-left: 5px;
}

@media screen and (max-width: 767px) {
    .p-contact-box {
        display: none;
    }
}

/* ========== スマホ用フッター固定ボタン ========== */
.p-contact-footer-sp {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    z-index: 9999;
    background: #fdd;
    border-top: 1px solid #e3e3e3;
}

.p-contact-footer-sp__btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    background: #faa;
    font-weight: bold;
    position: relative;
}

.p-contact-footer-sp__btn:first-child {
    background: #00C300;
}

.p-contact-footer-sp__btn:last-child {
    background: #2ca9e1;
}

.p-contact-footer-sp__icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: -10px;
    margin-right: 6px;
    vertical-align: middle;
    font-size: 20px;
}

@media screen and (min-width: 768px) {
    .p-contact-footer-sp {
        display: none;
    }
}

/* ------------ ブロック ------------ */

@media (min-width: 768px) {
    .smb-section__inner h2 {
        font-size: 2.4rem;
    }

    .p-topArea {
        min-height: 40vh !important;
    }

    .c-pageTitle__main {
        color: #222;
        width: 80%;
        margin: auto;
        text-align: right;
    }

    body.single .c-pageTitle__main {
        width: 100%;
        text-align: left;
    }
}

.voicebox_11 .wp-block-column {
    text-align: center;
}

.cat_form1 {
    background-color: #ffefd5;
    border: 1px solid #f39800;
    padding: 20px;
    width: 400px;
    text-align: center;
    margin: auto;
    margin-bottom: 30px;
    border-radius: 20px;
}

.cat_form1 a {
    text-decoration: none;
    color: #222;
    font-size: 1.2rem;
}

.cat_form1 a:hover {
    color: #fff;
}

.cat_form1:hover {
    background-color: #ff8c00;
}
.is-style-vk_borderBox-style-solid-kado-tit-banner > .vk_borderBox_title_container{
    color: #222 !important;
}

@media screen and (max-width: 767px) {
    .smb-section__background-text__text {
        font-size: 6rem;
        margin-top: -20px;
    }
}

.vk_borderBox_title_container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vk_borderBox_title_container svg {
    flex-shrink: 0;
}

.vk_borderBox_title_container h4 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .vk_borderBox_title_container {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .vk_borderBox_title_container h4 {
        font-size: 16px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}


/* ------------ アメバブログ RSS取得 ------------ */
.ameba-rss-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rss-item {
    margin-bottom: 1.5em;
}

.rss-meta-title {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    align-items: center;
    font-size: 1em;
}

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

.rss-title a {
    color: #0073aa;
    font-weight: bold;
    text-decoration: none;
}

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

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

/* スマホ対応：日付の下にタイトル */
@media (max-width: 599px) {
    .rss-meta-title {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ------------ 記事表示 ------------ */
.mylist-post-grid-123 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.mylist-post-item-123 {
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

/* --- PC 表示（デフォルト） --- */
.mylist-post-grid-123.mypost-col-1 .mylist-post-item-123 {
    width: calc(100% - 20px);
}

.mylist-post-grid-123.mypost-col-2 .mylist-post-item-123 {
    width: calc(50% - 20px);
}

.mylist-post-grid-123.mypost-col-3 .mylist-post-item-123 {
    width: calc(33.333% - 20px);
}

.mylist-post-grid-123.mypost-col-4 .mylist-post-item-123 {
    width: calc(25% - 20px);
}

.mylist-post-grid-123.mypost-col-5 .mylist-post-item-123 {
    width: calc(20% - 20px);
}

/* --- タブレット（～768px） --- */
@media screen and (max-width: 768px) {
    .mylist-post-grid-123.mypost-tcol-1 .mylist-post-item-123 {
        width: 100%;
    }

    .mylist-post-grid-123.mypost-tcol-2 .mylist-post-item-123 {
        width: calc(50% - 20px);
    }

    .mylist-post-grid-123.mypost-tcol-3 .mylist-post-item-123 {
        width: calc(33.333% - 20px);
    }

    .mylist-post-grid-123.mypost-tcol-4 .mylist-post-item-123 {
        width: calc(25% - 20px);
    }
}

/* --- モバイル（～480px） --- */
@media screen and (max-width: 480px) {
    .mylist-post-grid-123.mypost-mcol-1 .mylist-post-item-123 {
        width: 100%;
    }

    .mylist-post-grid-123.mypost-mcol-2 .mylist-post-item-123 {
        width: calc(50% - 20px);
    }
}

/* --- 画像とホバー効果 --- */
.mylist-image-wrap-123 {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.mylist-image-wrap-123 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
}

.mylist-image-wrap-123:hover img {
    transform: scale(1.05);
}

/* --- タイトル・メタ・抜粋 --- */
.mylist-post-title-123 {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 10px;
}

.mylist-post-title-123 a {
    text-decoration: none;
    color: #333;
}

.mylist-post-meta-123 {
    font-size: 0.85em;
    color: #777;
    margin: 5px 0;
}

.mylist-post-excerpt-123 {
    font-size: 0.9em;
    margin-top: 5px;
    color: #555;
}

/* ------------ ご購入の流れ ------------ */

.flow_bikou h3{
    font-size: 1.2rem !important;
}
.flow_bikou h3 img{
    margin-bottom: -3px;
}

.flow_bikou h4{
    font-size: 0.9rem !important;
    padding: 7px 5px;
    text-align: center;
    background-color: #79C06E;
    color: #fff;
    border-radius: 10px;
}
.flow_bikou ul li{
    font-size: 0.9rem !important;
}
ul.ul_li1{
    margin-top: 10px !important;
}

@media (min-width: 768px) {
    .wp-block-snow-monkey-blocks-box.nagarebox1 {
        padding: 60px !important;
    }
}

/* ------------ 柴一荘について ------------ */

body.page-id-15 .wp-block-media-text__content {
    margin-top: 0px !important;
}
.about_an1 .vk_borderBox_title{
    font-size: 1.2rem !important;
}
.about_an1 .svg-inline--fa{
    height: 2.4em !important;
    margin-bottom: -10px;
}
.about_box2 p{
    font-size: 1.1rem;
}
.about_col_box2{
    background-color: #fffff0;
    padding: 30px 15px;
}

@media (min-width: 768px) {
    .about_box1 {
        font-size: 1.1rem;
        line-height: 200%;
    }
    .about_box2 p{
        text-align: center !important;
    }
}

/* --- メス情報 --- */
h3.h_d3_wn {
    position: relative;
    padding: 1rem 2rem calc(1rem + 10px);
    background: #fff0f5;
}

h3.h_d3_wn:before {
    position: absolute;
    top: -7px;
    left: -7px;
    width: 100%;
    height: 100%;
    content: '';
    border: 1px solid #ffb6c1;
}

h4.h_d4_wom1 {
    position: relative;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    background: #fff0f5;
}

h4.h_d4_wom1:after {
    position: absolute;
    bottom: -9px;
    left: 1em;
    width: 0;
    height: 0;
    content: '';
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ffb6c1 transparent transparent transparent;
}

/* --- オス情報 --- */
h3.h_d3_mn {
    position: relative;
    padding: 1rem 2rem calc(1rem + 10px);
    background: #f0f8ff;
}

h3.h_d3_mn:before {
    position: absolute;
    top: -7px;
    left: -7px;
    width: 100%;
    height: 100%;
    content: '';
    border: 1px solid #00bfff;
}

h4.h_d4_mn1 {
    position: relative;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    background: #f0f8ff;
}

h4.h_d4_mn1:after {
    position: absolute;
    bottom: -9px;
    left: 1em;
    width: 0;
    height: 0;
    content: '';
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #00bfff transparent transparent transparent;
}


.vk_borderBox.is-style-vk_borderBox-style-solid-kado-tit-onborder {
    border-color: #ccc;
    border-width: 1px !important;
}

.about_f1 strong{
    color: #ff69b4;
}

@media (min-width: 768px) {
    .a_box1 {
        padding: 60px;
    }

    .about_f1 {
        font-size: 1.8rem !important;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .about_f1 {
        font-size: 1.3rem !important;
        text-align: center;
    }
    .about_box2 p{
        font-weight: bold;
        text-align: center;
    }
}

/* ------------ 募集中の子犬たち詳細ページ サイド非表示------------ */
body.post-template-single-doginfo #sidebar {
    display: none;
}

body.post-template-single-doginfo .l-main {
    width: 100% !important;
}


/* ------------ 募集中の子犬たち詳細ページ ------------ */

.l-content__body h1.c-pageTitle__main {
    position: relative;
    padding: .5em .7em;
    background-color: #afffe0;
    width: 100%;
}

.l-content__body h1.c-pageTitle__main::before {
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: solid 10px transparent;
    border-right: solid 20px #8ae0b1;
    content: '';
}

.puppy-breeder-message h2 {
    display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #afffe0;
    color: #333333;
}

.puppy-breeder-message h2::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #3cb371;
    content: '';
}

.puppy-breeder-comment {
    padding: 30px;
    margin-top: 20px;
    border: 1px solid #90ee90;
}

.puppy-content-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    align-items: flex-start;
}

.puppy-gallery-wrapper {
    flex: 1;
    min-width: 300px;
}

.puppy-main-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.puppy-thumbnail-slider {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.puppy-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative !important;
    overflow: hidden;
}

.puppy-thumbnail:hover {
    transform: scale(1.05);
}

.puppy-info {
    flex: 1;
    min-width: 300px;
}

.puppy-info-table {
    width: 100%;
    border-collapse: collapse;
}

.puppy-info-table th,
.puppy-info-table td {
    border: 1px solid #ddd;
    padding: 1rem !important;
    text-align: left;
}

.puppy-contact {
    text-align: center;
}

.puppy-contact-button {
    display: inline-block;
    background-color: #f66;
    color: #fff;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
}


/*

.puppy-contact a {
    background: #D0FFD0;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 320px;
    padding: 20px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    z-index: 0;
    border: 3px solid #fff;
}

.puppy-contact a:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    display: block;
    background: #00C300;
    transition: .3s;
    left: 0;
}

.puppy-contact a:hover {
    color: #FFF;
    border: 3px solid #026e02;
}

.puppy-contact a:hover:before {
    width: 100%;
    z-index: -1;
}
*/

a.puppy-contact-button {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 360px;
	margin: auto;
	padding: 1rem 2rem;
	font-weight: bold;
	border: 2px solid #ff8c00;
	background: #ff8c00;
	color: #fff;
	border-radius: 5px;
	transition: 0.5s;
	animation: move_d 2s infinite;
	box-shadow: 0 5px 0 rgb(0, 114, 0);
	position: relative;
}
@keyframes move_d {
    0% {box-shadow: 0 5px 0 rgb(0, 195, 0); top: 0px;}
    10% {box-shadow: 0 0 0 rgb(0, 195, 0); top: 5px;}
    20% {box-shadow: 0 5px 0 rgb(0, 195, 0); top: 0px;}
    30% {box-shadow: 0 0 0 rgb(0, 195, 0); top: 5px;}
    40% {box-shadow: 0 5px 0 rgb(0, 195, 0); top: 0px;}
}
a.puppy-contact-button:hover {
	color: #ff8c00;
	background: #fff;
	border: 2px solid #ff8c00;
}

.puppy-video {
    margin-top: 2rem !important;
    margin: auto;
}

.puppy-video video {
    width: 100%;
    max-height: 480px;
}

.puppy-main-image {
    width: 100%;
    height: 500px;
    /* 高さ固定 */
    border-radius: 8px;
    background-color: #f8f8f8;
    /* 余白部分の背景色（任意） */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.puppy-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* 縦横比維持して枠内に収める */
}

.puppy-gender.gender-female {
    color: red;
    font-weight: bold;
}

.puppy-gender.gender-male {
    color: blue;
    font-weight: bold;
}

/* active状態のサムネイルを明確に暗く見せる */
.puppy-thumbnail.active {
    position: relative;
    outline: none;
    border: 3px solid #BF9C5C;
    z-index: 0;
}

.puppy-thumbnail.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.8) !important;
    /* 濃くするなら 0.6 も可 */
    pointer-events: none;
    z-index: 10;
}

.puppy-comment {
    border: 1px solid #90ee90;
    padding: 30px;
}

.puppy-comment h3 {
    padding: .2em .7em;
    margin-bottom: 20px;
    background-color: #afffe0;
}


/* スライダー中の見た目（ドラッグ中） */
.puppy-thumbnail-slider {
    cursor: grab;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.puppy-thumbnail-slider.dragging {
    cursor: grabbing;
}

@media (min-width: 768px) {
    .puppy-video {
        width: 480px;
    }
}

/* ------------ 募集中の子犬たち詳細 トップページ ------------ */
/* ▼ puppy-list-grid：グリッド設定（そのまま） */
.puppy-list-grid {
    display: grid;
    gap: 2rem;
}

/* ▼ 各レスポンシブ列数（そのまま） */
.puppy-cols-sp-1 {
    grid-template-columns: repeat(1, 1fr);
}

.puppy-cols-sp-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 600px) {
    .puppy-cols-tab-1 {
        grid-template-columns: repeat(1, 1fr);
    }

    .puppy-cols-tab-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .puppy-cols-tab-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 960px) {
    .puppy-cols-pc-1 {
        grid-template-columns: repeat(1, 1fr);
    }

    .puppy-cols-pc-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .puppy-cols-pc-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .puppy-cols-pc-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .puppy-cols-pc-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ▼ カード共通 */
.puppy-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    height: 100%;
}

/* ▼ 枠線あり：実情報があるカード */
.puppy-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ▼ 空カード：枠線なし */
.puppy-card.empty-card {
    border: none;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
    transform: none;
}

/* ▼ ホバー時に浮き上がる */
.puppy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ▼ サムネイル */
.puppy-thumb {
    position: relative;
    overflow: hidden;
}

.puppy-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* ▼ 性別ラベル */
.puppy-gender-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff6;
    color: #000;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-size: 0.85em;
}

/* ▼ 情報セクションに余白追加 */
.puppy-info {
    padding: 0 1rem;
}

.puppy-info h3 {
    font-size: 1.1rem;
    margin-top: 15px;
}

/* ▼ 情報テーブル */
.puppy-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5em;
}

.puppy-info-table th {
    background-color: #f9f9f9;
    padding: 6px 10px;
    text-align: left;
    white-space: nowrap;
    width: 35%;
    border: 1px solid #ddd;
}

.puppy-info-table td {
    background-color: #fff;
    padding: 6px 10px;
    border: 1px solid #ddd;
}

.puppy-gender-male {
    color: #007BFF;
    /* 青 */
}

.puppy-gender-female {
    color: #E60033;
    /* 赤 */
}

.puppy-more {
    text-align: center;
}

.puppy-more-button {
    display: inline-block;
    background-color: #ffa500;
    color: #fff;
    padding: 0.3em 1.2em;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
}

.puppy-more-button:hover {
    background-color: #00C300;
}


/*body.home .puppy-info-table th,body.home .puppy-info-table td {
    display: block;
    width: 100%;
    padding: 5px !important;
}*/

/* ------------ 最新子犬情報 ------------ */

.latest-puppy-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.latest-puppy-card {
    display: flex;
    gap: 2rem;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
    background: #fff;
    align-items: flex-start;
    flex-wrap: wrap;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;
}

.latest-puppy-card:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.puppy-left {
    flex: 0 0 200px;
    position: relative;
    text-align: center;
}

.puppy-left img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.puppy-status {
    background: #d9534f;
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 8px;
    margin-top: 8px;
    border-radius: 3px;
    display: inline-block;
}

.puppy-gender {
    font-weight: bold;
    margin-top: 4px;
}

.puppy-right {
    flex: 1;
    min-width: 260px;
}

.puppy-id {
    background: #afffe0;
    padding: 6px 10px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.puppy-appeal {
    background: #fff4f7;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.puppy-info-table {
    width: 100%;
    border-spacing: 0;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.puppy-info-table th {
    text-align: left;
    padding: 0.3rem 0.5rem 0.3rem 0;
    width: 100px;
    font-weight: bold;
}

.puppy-info-table td {
    padding: 0.3rem 0.5rem;
}

.puppy-price {
    color: red;
    font-weight: bold;
    font-size: 1.05rem;
}

.puppy-posted {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.puppy-status {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 8px;
}

.puppy-status.on-sale {
    background: #d9534f;
    color: #fff;
}

.puppy-status.sold-out {
    background: #888;
    color: #fff;
}

.puppy-link-button {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.puppy-link-button span {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: #ff8c00;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background 0.3s ease;
}

.puppy-link-button span i {
    margin-right: 6px;
}

.latest-puppy-card:hover .puppy-link-button span {
    background-color: #ffd700;
}

@media (max-width: 680px) {
    .latest-puppy-card {
        display: block;
    }
    .puppy-info{
        padding-left: 0px;
        padding-right: 0px;
    }
    .puppy-info-table th,.puppy-info-table td{
        display: block;
        width: 100%;
    }
}


/* ------------ 指定カテゴリのみ表示 ------------ */
.custom-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.custom-cat-link {
    display: inline-block;
    padding: 5px 10px;
    background: #afffe0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}


/* ------------ 親カテゴリ－子カテゴリ表示 ------------ */

.parent-child-categories {
    margin-bottom: 2em;
}

.parent-child-categories .parent-category-name {
    margin-bottom: 0.5em;
}

.parent-child-categories .child-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.parent-child-categories .child-category-item a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f0f0f0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.parent-child-categories .child-category-item a:hover {
    background-color: #ddd;
}

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

#form1 {
    overflow: hidden;
}

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

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

@media (min-width: 768px) {
    .pp_sec1 p{
        padding-left: 30px;
    }
    .pp_sec1 ul{
        margin-left: 50px;
    }
}

/* ---------- ボタン関連 ---------- */
.shiba-button-1 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 225px;
    padding: 10px 0px 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    background-color: #fff799;
    border-radius: 30px;
    text-decoration: none;
}

.shiba-button-1 a:before, .shiba-button-1 a:after {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
}

.shiba-button-1 a:before {
    width: 0.5rem;
    height: 0.5rem;
    left: 1.1rem;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    z-index: 2;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s;
}

.shiba-button-1 a:after {
    left: 0;
    background: #FFA500;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    border-radius: 4rem;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.shiba-button-1 a span {
    position: relative;
    transition: all 0.3s;
    z-index: 3;
}

.shiba-button-1 a:hover span {
    color: #fff;
}

.shiba-button-1 a:hover:before {
    left: 2rem;
}

.shiba-button-1 a:hover:after {
    right: 0;
    width: 100%;
}

.ad_box1 h4{
    background-color: #AFFFE0;
    padding: 5px;
    font-size: 1rem !important;
}


/* ---------- google map 「拡大地図を表示」を非表示
.map_s1 {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 56.25%;
	overflow: hidden;
}
.map_s1 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% + 360px);
	margin-top: -170px;
} ---------- */

/* ---------- サイドバー 記事情報 ---------- */
.sidebar-post-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-post-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.sidebar-post-thumb {
    flex: 0 0 60px;
}

.sidebar-post-thumb img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    border-radius: 4px;
}

.sidebar-post-content {
    flex: 1;
}

.sidebar-post-content.with-thumb {
    margin-left: 0.5rem;
}

.sidebar-post-content.no-thumb {
    margin-left: 0;
}

.sidebar-post-title {
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
}

.sidebar-post-title:hover {
    text-decoration: underline;
}

.sidebar-post-date {
    font-size: 0.8rem;
    color: #666;
}

.sidebar-post-excerpt {
    font-size: 0.8rem;
    color: #555;
    margin: 0.2rem 0;
}

@media (max-width: 600px) {
    /*.sidebar-post-item {
        flex-direction: column;
        align-items: flex-start;
    }*/
    .sidebar-post-thumb {
        margin-bottom: 0.5rem;
    }
}
