﻿@charset "utf-8";

@import url("https://unpkg.com/sanitize.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

:root {
    --primary-color: #d6adff;
}

html,
body {
    height: 100%;
    font-size: 13px;
}

@media screen and (min-width: 900px) {
    html,
    body {
        font-size: 16px;
    }
}

body {
    font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "MS PGothic", sans-serif;
    -webkit-text-size-adjust: none;
    background: #fff;
    color: #222;
    line-height: 2.5;
}

figure {
    margin: 0;
}

dd {
    margin: 0;
}

nav {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

video {
    max-width: 100%;
}

iframe {
    width: 100%;
}

input {
    font-size: 1rem;
}

section + section {
    margin-top: 3rem;
}

#container #contents main section:first-of-type {
    margin-top: 1rem;
}

#container #contents main section:first-of-type h2 {
    margin-top: 1.5rem;
}

@keyframes opa1 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


a {
    color: #222;
    transition: 0.3s;
}

a:hover {
    color: var(--primary-color);
}


#container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 5px solid var(--primary-color);
}

#contents {
    flex: 1;
    padding: 0 3%;
}


header {
    padding: 0.3rem 0; 
    text-align: center; 
}

#logo img {
    max-width: 900px; 
    width: 100%;
    height: auto;
}


#container #menubar ul {
    margin: 0;
    padding: 0;
    margin-bottom: 1.5rem; 
    display: flex; 
    justify-content: space-around; 
    border-top: 1px solid #ddd; 
    border-bottom: 1px solid #ddd; 
}

#menubar li {
    flex: 1;
    text-align: center;
}

#menubar a {
    text-decoration: none;
    display: block;
    color: #222; 
    padding: 0.4rem 0.5rem; 
    white-space: nowrap; 
}

#menubar a i {
    margin-right: 0.3rem; 
    font-size: 0.9em; 
}

#menubar a:hover {
    background: var(--primary-color); 
    color: #fff; 
}




.header-with-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    min-width: 0;
    flex-wrap: nowrap;
}

.header-with-phone h1 {
    margin: 0;
    flex: 1;
    min-width: 0;
}

.header-with-phone h1 img {
    max-width: 100%;
    height: auto;
}

.phone-section {
    flex-shrink: 0;
    margin-left: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70%;
    min-width: 100px;
}

.phone-text {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: -8px;
    font-weight: normal;
    margin-top: 20px;
}

.phone-section .business-hours {
    font-size: 0.7rem;
    margin-top: 0px;
    margin-bottom: auto;
    font-weight: normal;
}

.header-phone-link {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1px 4px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: -5px;
}

.header-phone-link i {
    margin-right: 6px;
    font-size: 1rem;
}


ul.slick-dots {
    margin: 0;
    padding: 0;
    line-height: 1;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -40px; 
    z-index: 10;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
ul.slick-dots::-webkit-scrollbar {
    display: none;
}
ul.slick-dots li {
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
    white-space: normal;
    flex-shrink: 0;
}

ul.slick-dots li button {
    border: none;
    padding: 0;
    display: block;
    text-indent: -9999px; 
    width: 30px; 
    height: 3px; 
    border-radius: 2px; 
    cursor: pointer; 
    background: #ccc; 
}

@media (max-width: 600px) {
    ul.slick-dots li {
        margin: 0 5px;
    }
    
    ul.slick-dots li button {
        width: 20px;
    }
}

ul.slick-dots li.slick-active button {
    background: var(--primary-color); 
}


main {
    margin: 2rem 0; 
}

main h2 {
    background-color: var(--primary-color); 
    color: #fff; 
    margin: 0 0 2rem; 
    font-size: 1.3rem; 
    padding: 15px 2rem; 
    border-radius: 30px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    min-height: 50px; 
    line-height: 1; 
}

main h2 span:last-of-type {
    font-size: 0.7em; 
    display: flex;
    align-items: center; 
    line-height: 1; 
}

main h2 span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 100%;
    vertical-align: middle;
}

main h2 span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    line-height: 1;
    vertical-align: middle;
}

main h2 span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    line-height: 1;
    vertical-align: middle;
}

main h2 i {
    margin-right: 1rem; 
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

main h3 {
    font-size: 1.4rem; 
    text-align: center; 
    letter-spacing: 0.2em; 
    color: #222; 
}

main p {
    margin: 1rem; 
}




@media (max-width: 600px) {
    
    #menubar a i {
        font-size: 0.8em; 
        margin-right: 0.2rem; 
    }
    
}


footer small {
    font-size: 100%;
}


footer {
    font-size: 0.7rem; 
    text-align: center; 
    padding: 20px; 
    color: #fff; 
    background: var(--primary-color); 
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer .pr {
    display: block;
}


.ta1 caption {
    font-weight: bold; 
    padding: 1rem; 
    background: #555; 
    margin-bottom: 15px; 
    border-radius: 5px; 
    color: #fff; 
}

.ta1 {
    width: 100%;
    margin: 2em auto 2em; 
}

.ta1 tr {
    display: block;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 0.4rem 0.4rem 0.4rem;
    background: #f9f9f9;
}

.ta1 th,
.ta1 td {
    display: block;
    width: 100%;
    padding: 0.3rem 0;
    text-align: left;
    border: none;
    background: transparent;
    word-break: break-all; 
}

.ta1 th {
    font-weight: bold;
    color: #222; 
    margin-top: 0;
    margin-bottom: 0.1rem;
    background: #e8e8e8;
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    margin-left: -0.4rem;
    margin-right: -0.4rem;
}

.ta1 td {
    color: #222; 
    margin-bottom: 0;
    padding: 0.15rem 0.3rem;
    text-indent: 0.2rem;
}

#contents #pricing-table td {
    padding: 0.1rem 0.5rem; 
    color: #222; 
}

#contents .menu-table,
#contents #pricing-table,
#contents #additional-services-table,
#contents #pet-hotel-table {
    width: 95%;
    border: 1px solid #999; 
    border-collapse: separate; 
    border-spacing: 0; 
    border-radius: 8px; 
    overflow: hidden; 
    margin: 0 auto;
    margin-top: 0.2rem; 
    margin-bottom: 1.5rem; 
}

#contents .menu-table td,
#contents #pricing-table td,
#contents #additional-services-table td,
#contents #pet-hotel-table td {
    border: 1px solid #999; 
}

#contents #pricing-table td:first-child {
    width: 50%;
}

#contents #pricing-table td:nth-child(2),
#contents #pricing-table td:nth-child(3) {
    width: 25%;
}

#contents #additional-services-table td,
#contents #pet-hotel-table td {
    width: 50%;
}

main section:nth-child(2) h2,
main section:nth-child(3) h2,
#contents main section:nth-child(2) h2,
#contents main section:nth-child(3) h2,
body main section:nth-child(2) h2,
body main section:nth-child(3) h2,
html body main section:nth-child(2) h2,
html body main section:nth-child(3) h2 {
    margin-bottom: 0 !important; 
    margin: 0 0 0 !important; 
}

main section:nth-child(2) table,
main section:nth-child(3) table,
#contents main section:nth-child(2) table,
#contents main section:nth-child(3) table,
body main section:nth-child(2) table,
body main section:nth-child(3) table,
html body main section:nth-child(2) table,
html body main section:nth-child(3) table {
    margin-top: 0 !important; 
    margin: 0 auto 1.5rem auto !important; 
}

#animal-info-table {
    margin-top: 0.1rem !important; 
}

#store-info-table {
    margin-top: 0.1rem !important; 
}


#puppy-detail-table {
    font-size: 1.1rem !important; 
}

#puppy-detail-table th {
    font-size: 1.1rem !important; 
}

#puppy-detail-table td {
    font-size: 1.1rem !important; 
}

#pricing-table tbody tr:first-child td {
    background: #90EE90 !important; 
    color: #333 !important; 
    font-weight: bold !important; 
    text-align: left !important; 
}

#contents #additional-services-table td {
    padding: 0.1rem 0.5rem; 
    color: #222; 
}

#contents #pet-hotel-table td {
    padding: 0.1rem 0.5rem; 
    color: #222; 
}

.notice-cell {
    background-color: #FFCCFF !important;
    text-align: left !important;
    line-height: 1.2 !important; 
    padding: 0.3rem 0.5rem !important; 
    color: #111 !important; 
}

.section-links-small {
    display: flex !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin: 0 0 0.3rem 0 !important;
    flex-wrap: wrap !important;
}

main section {
    position: relative !important;
}

.section-links-floating {
    position: absolute;
    top: -1.75rem;
    left: 2.5%;
    display: flex;
    gap: 0.3rem;
    flex-wrap: nowrap;
    z-index: 10;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

.section-links-floating a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    padding: 0.2rem 0.4rem !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    transition: all 0.3s ease !important;
    background-color: white !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    min-width: max-content !important;
    width: auto !important;
}

.section-links-floating a:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.section-links-floating::-webkit-scrollbar {
    display: none !important;
}

.section-links-small a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    padding: 0.2rem 0.5rem !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 10px !important;
    font-size: 0.75rem !important;
    transition: all 0.3s ease !important;
}

.section-links-small a:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.notice-content {
    margin-top: 0.2rem !important; 
    margin-left: 1% !important; 
    margin-right: 1% !important; 
    padding: 1rem !important; 
    background-color: #f9f9f9 !important; 
    border-radius: 5px !important; 
    border-left: 4px solid var(--primary-color) !important; 
}

.notice-content p {
    margin: 0.5rem 0 !important; 
    line-height: 1.4 !important; 
    text-indent: -1em !important; 
    padding-left: 0.1em !important; 
    font-size: 1.1rem !important; 
}

.pagetop {
    display: none; 
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    width: 50px;
    height: 50px;
    pointer-events: auto;
}

.pagetop-show {
    display: block !important;
}

.pagetop a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    line-height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    cursor: pointer;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.color-check,
.color-check a {
    color: #ff0000 !important;
}

.l {
    text-align: left !important;
}

.c {
    text-align: center !important;
}

.r {
    text-align: right !important;
}

.ws {
    width: 95%;
    display: block;
}

.wl {
    width: 95%;
    display: block;
}

.mb0 {
    margin-bottom: 0px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.look {
    display: inline-block;
    padding: 0px 10px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 5px 0;
    word-break: break-all;
}

.small {
    font-size: 0.75em;
}

.large {
    font-size: 2em;
    letter-spacing: 0.1em;
}

.pc {
    display: none;
}

.dn {
    display: none !important;
}

.block {
    display: block !important;
}




.list p {
    margin: 0;
}


.list .icon-contract {
    position: absolute; 
    left: 0px; 
    top: 0px; 
    background: #f8d7da; 
    color: #c0392b; 
    font-size: 1rem; 
    width: 50px; 
    line-height: 50px; 
    text-align: center; 
    border-radius: 50%; 
    border: 1px solid #f1aeb5; 
    font-weight: bold; 
    white-space: nowrap;
}




#footer-contents {
    background: #999; 
    color: #fff; 
    padding: 10px 3% 10px 3%; 
    font-size: 0.9rem; 
}

#footer-contents a {
    color: inherit;
}

#footer-contents h4 {
    margin: 0;
    font-size: 1.3em; 
    color: #fff; 
}

#footer-contents p {
    font-size: 1.5em; 
    line-height: 1.8;
    color: #fff; 
}

#footer-contents #footer-adr {
    margin-top: 0px; 
    font-size: 1em !important; 
}


.price {
    line-height: 1.2; 
    font-size: 1rem; 
    color: #222; 
}

.price small {
    font-size: 0.85rem; 
    color: #444; 
    font-weight: normal; 
}

#footer-adr a img {
    margin-bottom: 0px; 
}

#footer-adr hr {
    margin-top: 0px !important; 
    margin-bottom: 0px !important; 
}

#footer-contents hr {
    margin: 0px 0 !important; 
}

#footer-contents #footer-logo {
    max-width: 250px; 
}



@media screen and (min-width: 900px) {
    #footer-contents {
        display: flex; 
        justify-content: space-between; 
    }


}

@media (max-width: 600px) {

    main h2 {
        padding: 4px 1rem; 
        font-size: 1.2rem; 
        margin: 0 0 1rem; 
    }

    main h2 i {
        margin-right: 0.5rem; 
    }

    
    .header-with-phone {
        flex-direction: row;
        align-items: center;
        text-align: center;
        flex-wrap: nowrap;
    }
    
    .phone-section {
        margin-left: 5px;
        margin-top: 0;
        min-width: 80px;
        height: 50%;
    }
    
    .phone-text {
        font-size: 0.7rem;
        margin-bottom: -10px;
        margin-top: 10px;
    }
    
    .phone-section .business-hours {
        font-size: 0.6rem;
        margin-top: 0px;
    }
    
    .header-phone-link {
        padding: 0px 3px;
        font-size: 0.7rem;
    }
    
    .header-phone-link i {
        font-size: 0.8rem;
        margin-right: 3px;
    }
    
    
}



@media (max-width: 600px) {

}

.listing-date-overlay {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 1;
    max-width: calc(100% - 12px); 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    z-index: 10;
    pointer-events: none;
}

.list figure {
    position: relative;
    display: inline-block;
}

.list figure a {
    display: block;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.thumbnail {
    position: relative;
    display: inline-block;
}

.thumbnail.center {
    display: block;
    text-align: center;
    position: relative; 
    width: fit-content; 
    margin: 0 auto; 
}

.listing-date-overlay-large {
    font-size: 0.9rem !important;
    padding: 3px 6px !important;
    top: 4px !important;
    right: 4px !important;
    max-width: calc(100% - 8px) !important; 
    white-space: nowrap !important; 
    overflow: hidden !important; 
    text-overflow: ellipsis !important; 
    position: absolute !important; 
    z-index: 10 !important; 
}

.bold-text {
    font-weight: bold;
}

.red-text {
    color: #ff0000;
    font-weight: bold;
}

.notice-content {
    margin-bottom: 2rem;
}

.thumbnail img,
.puppy-image img,
.animal-image img,
img[src*="chihuahua"],
img[src*="Dachshund"],
img[src*="miniature_schnauzer"],
img[src*="pomeranian"],
img[src*="shiba"],
img[src*="ToyPoodle"] {
    border-radius: 8px !important;
}

.phone-link {
    color: #0969da !important;
    text-decoration: none !important;
    font-weight: bold !important;
    white-space: nowrap !important; 
}

.phone-link:hover {
    text-decoration: underline !important;
}

.business-hours {
    white-space: nowrap !important; 
    display: inline !important; 
}

@media (max-width: 600px) {
    .business-hours {
        display: block !important; 
        text-align: right !important; 
        margin-top: 5px !important; 
    }
    
    .notice-content p:has(.phone-link) {
        white-space: normal !important; 
    }
    
    .phone-link {
        display: block !important; 
        text-align: center !important; 
        margin-top: 5px !important; 
    }
    
    .business-hours {
        text-align: center !important; 
    }
}

.notice-content p:has(.phone-link) {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.icon.gender.オス::before {
    content: "♂ ";
    color: #0066cc;
    font-weight: bold;
}

.icon.gender.メス::before {
    content: "♀ ";
    color: #cc0066;
    font-weight: bold;
}

.icon.gender {
    padding: 0.2rem 0.4rem !important;
    border-radius: 12px !important;
    font-weight: bold !important;
}

.icon.gender.オス {
    background-color: #e6f3ff !important; 
    color: #0066cc !important;
}

.icon.gender.メス {
    background-color: #ffe6f3 !important; 
    color: #cc0066 !important;
}

.icon.birth-date::before {
    content: "🎂 ";
    font-size: 0.9em;
}

.icon.birth-date {
    background-color: #fff2cc !important; 
    color: #d2691e !important; 
    padding: 0.2rem 0.4rem !important;
    border-radius: 12px !important;
    font-weight: bold !important;
}

.icon.breed::before {
    content: "🐕 ";
    font-size: 0.9em;
}

.icon.breed {
    background-color: #e8f5e9 !important; 
    color: #2e7d32 !important; 
    padding: 0.2rem 0.4rem !important;
    border-radius: 12px !important;
    font-weight: bold !important;
}

.icon.coat-color::before {
    content: "🎨 ";
    font-size: 0.9em;
}

.icon.coat-color {
    background-color: #f5f5f5 !important; 
    color: #333 !important; 
    padding: 0.2rem 0.4rem !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    border: 1px solid #ddd !important;
}

.icon.coat-type::before {
    content: "✨ ";
    font-size: 0.9em;
}

.icon.coat-type {
    background-color: #e1f5fe !important; 
    color: #0277bd !important; 
    padding: 0.2rem 0.4rem !important;
    border-radius: 12px !important;
    font-weight: bold !important;
}

.notice-content p:has(.phone-link) {
    text-align: left !important; 
}

.phone-br {
    display: none; 
}

@media (max-width: 600px) {
    .phone-br {
        display: block; 
    }
    
    .notice-content .phone-link {
        display: block;
        text-align: center !important;
        margin-top: 0.5rem;
    }
}



.red-text {
    color: #ff0000;
    font-weight: bold;
}

.size-small {
    background-color: #fffacd; 
}

.size-medium {
    background-color: #ffd4a3; 
}

.size-legend {
    margin: 1rem 0;
    padding: 0.3rem 0.8rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: right;
}

.legend-items {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: nowrap;
}

.legend-title {
    font-size: 0.8rem;
    color: #333;
    font-weight: normal;
    margin-right: 0.3rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border: 1px solid #999;
    border-radius: 4px;
    display: inline-block;
}

.legend-text {
    font-size: 0.8rem;
    color: #333;
    font-weight: 500;
}

.size-legend-inline {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0.5rem 0;
    gap: 0.8rem;
    font-size: 0.8rem;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.size-legend-inline .legend-item {
    display: inline-flex;
    align-items: center;
    margin-right: 0.8rem;
}

.size-legend-inline .legend-color {
    margin-right: 0;
}

.size-legend-inline .legend-color {
    width: 16px;
    height: 16px;
    border: 1px solid #999;
    border-radius: 3px;
    display: inline-block;
}

.size-legend-inline .legend-text {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
}

#thumbnail-container {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail-item {
    width: 60px;
    height: 60px;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.thumbnail-item:hover {
    border-color: #999;
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: #0066cc;
    border-width: 3px;
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 600px) {
    #thumbnail-container {
        gap: 6px;
        margin-top: 8px;
    }
    
    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
}

.photo.c {
    position: relative;
    max-height: 600px; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.photo.c #main-image {
    max-width: 100%;
    max-height: 600px; 
    width: auto;
    height: auto;
    object-fit: contain !important; 
    object-position: center;
    display: block;
}

.photo.c .listing-date-overlay {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 10;
}

html, body {
    overflow-x: hidden !important;
    touch-action: manipulation !important; 
}

/* 共通スタイル - 複数ページで使用 */

/* ボタン - 複数ページで使用 */
.btn {
    width: 50%; 
    margin: 0 auto;
    text-align: center;
}

.btn a {
    display: block;
    text-decoration: none;
    text-align: center; 
    background-color: var(--primary-color); 
    border: 1px solid var(--primary-color); 
    color: #fff; 
    padding: 5px 10px; 
    margin-top: 1rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}


.list .btn {
    width: 100%;
    margin: 5px auto 0;
    text-align: center;
}

.list .btn a {
    display: block;
    text-decoration: none;
    text-align: center; 
    background-color: var(--primary-color); 
    border: 1px solid var(--primary-color); 
    color: #fff; 
    padding: 5px 10px; 
    margin-top: 1rem; 
    line-height: 1.5;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}


/* iframe-box - index.htmlとstore-info.htmlで使用 */
.iframe-box {
    width: 100%;
    height: 0;
    padding-top: 56.25%; 
    position: relative;
    margin-bottom: 2rem; 
}

.iframe-box iframe {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

/* list-grid - index.htmlとlist.htmlで使用 */
.list-grid .list {
    position: relative;
    margin-bottom: 0.5rem; 
    padding: 0.8rem; 
    background: #f5f5f5; 
    border: 1px solid #d0d0d0; 
    border-radius: 12px; 
    display: grid; 
    grid-template-rows: auto 1fr auto; 
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05); 
    min-height: auto; 
    width: 100% !important; 
    box-sizing: border-box !important; 
    max-width: 100% !important; 
    overflow: hidden !important; 
}

.list-grid .list:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.list-grid .list,
#puppy-list .list,
#puppy-list-full .list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.list-grid .list h4 {
    margin: 0;
    color: #1a4a5c; 
    font-size: 1.2rem; 
    line-height: 1.3; 
}

.list-grid .list h4 a {
    color: inherit;
}

.list-grid .list .price {
    display: block;
    font-weight: bold; 
}

.list-grid .list .icon {
    display: inline-block;
    border-radius: 30px; 
    padding: 0 0.6rem; 
    font-size: 0.9rem; 
    background: #eee; 
    color: #000; 
}

.list-grid .list .female {
    background: #fbd7d2;
}

.list-grid .list .male {
    background: #c7e4fc;
}

.list-grid .list .text p {
    font-size: 1rem; 
    line-height: 1.5; 
    color: #222; 
}

.list-grid .list figure {
    margin: -1rem -1rem 1rem; 
    height: 300px; /* 固定の高さを設定 */
    overflow: hidden; /* はみ出た部分を隠す */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0; /* 背景色を設定（画像が小さい場合の表示用） */
}

.list-grid .list figure a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-grid .list figure img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 高さを基準に拡大して表示 */
    object-position: center; /* 中央に配置 */
}


.list {
    position: relative;
}

.list .icon-point {
    position: absolute; 
    left: 0px; 
    top: 0px; 
    background: #ee2d2d; 
    color: #fff; 
    font-size: 1rem; 
    width: 50px; 
    height: 50px;
    line-height: 50px; 
    text-align: center; 
    border-radius: 50%;
    z-index: 100;
    pointer-events: none;
}

.list .icon-contract {
    position: absolute; 
    left: 0px; 
    top: 0px; 
    background: #f8d7da; 
    color: #c0392b; 
    font-size: 1rem; 
    width: 50px; 
    height: 50px;
    line-height: 50px; 
    text-align: center; 
    border-radius: 50%;
    z-index: 100;
    pointer-events: none;
}


/* レスポンシブ対応 - 共通 */
@media screen and (min-width: 600px) {
    .list-grid {
        display: grid; 
        gap: 1.5rem 1rem; 
        grid-template-columns: repeat(3, 1fr); 
    }

    .list-grid .list {
        margin-bottom: 0; 
    }
}

@media (max-width: 600px) {
    .list-grid .list,
    #puppy-list .list,
    #puppy-list-full .list {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto 1.5rem auto !important; 
        box-sizing: border-box !important;
    }
    
    .list-grid .list h4 {
        font-size: 1.4rem !important; 
    }
    
    .list-grid .list .text p {
        font-size: 1.1rem !important; 
    }
    
    .list-grid .list .price {
        font-size: 1.2rem !important; 
    }
    
    .list-grid .list .icon {
        font-size: 1rem !important; 
    }
}


/* 子犬リストの表示制限 - 共通 */
.list-grid:not(#puppy-list-full) .list:nth-child(n+4) {
    display: none !important;
}

.price.adopted {
    color: #e74c3c;
    background-color: #f8d7da;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid #f1aeb5;
}

.price.adopted i {
    color: #e74c3c;
    font-size: 1.1em;
}

.adopted {
    color: #e74c3c;
    background-color: #f8d7da;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid #f1aeb5;
}

.adopted i {
    color: #e74c3c;
    font-size: 1.1em;
}

/* 他店にいますスタイル（緑色） */
.price.other-store {
    color: #27ae60;
    background-color: #d4edda;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid #c3e6cb;
}

.other-store {
    color: #27ae60;
    background-color: #d4edda;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid #c3e6cb;
}

.other-store i {
    color: #27ae60;
    font-size: 1.1em;
}

/* メンテナンス画面スタイル */
.maintenance-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin: 2rem 0;
}

.maintenance-container {
    text-align: center;
    padding: 3rem 2rem;
    background: #f9f9f9;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.maintenance-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.maintenance-container h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 1.5rem;
    background: none;
    border-radius: 0;
    padding: 0;
    display: block;
    line-height: normal;
}

.maintenance-message {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.maintenance-info {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.maintenance-info p {
    margin: 0.8rem 0;
    font-size: 1rem;
    color: #333;
}

.maintenance-info p:first-child {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.maintenance-time {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: #d2691e !important;
    padding: 1rem;
    background: #fff2cc;
    border-radius: 8px;
    margin: 1rem 0 !important;
}

.maintenance-contact {
    margin-top: 1.5rem !important;
    padding-top: 0;
}

.maintenance-contact a {
    color: #0066cc !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.3rem;
}

.maintenance-contact a:hover {
    text-decoration: underline !important;
}

.maintenance-contact i {
    margin-right: 0.5rem;
}

.maintenance-hours {
    margin-top: 1rem !important;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    color: #333 !important;
    font-size: 1.1rem !important;
}

.maintenance-hours i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .maintenance-container {
        padding: 2rem 1rem;
    }
    
    .maintenance-icon {
        font-size: 4rem;
    }
    
    .maintenance-container h2 {
        font-size: 1.5rem;
    }
    
    .maintenance-message {
        font-size: 1rem;
    }
    
    .maintenance-time {
        font-size: 1rem !important;
    }
    
    .maintenance-contact a {
        font-size: 1.1rem;
    }
}

/* ドリームパックページ用スタイル */
.dream-pack-content {
    margin: 2rem 0;
    padding: 2rem;
    padding-top: 0;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.dream-pack-content > p:first-of-type {
    margin-left: -0.5rem;
}

.dream-pack-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.dream-pack-price {
    font-size: 1.2rem;
    margin: 0.5rem 0 0 0;
    color: #333;
}

.dream-pack-items {
    margin: 0;
    padding: 0rem 0.5rem;
    background: #e8f4f8;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
}

.dream-pack-items p {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.dream-pack-items ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.dream-pack-items li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #d0e8f0;
    font-weight: bold;
}

.dream-pack-items li:before {
    content: "";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.dream-pack-items li:nth-child(1):before {
    content: "💉 ";
}

.dream-pack-items li:nth-child(2):before {
    content: "🔖 ";
}

.dream-pack-items li:nth-child(3):before {
    content: "🛡️ ";
}

.dream-pack-items li:nth-child(4):before {
    content: "📋 ";
}

.dream-pack-items li:nth-child(5):before {
    content: "🛡️ ";
}

.dream-pack-items li:nth-child(6):before {
    content: "📞 ";
}

.dream-pack-items li:nth-child(7):before {
    content: "🦷 ";
}

.dream-pack-items li:nth-child(8):before {
    content: "🎫 ";
}

.dream-pack-items li:last-child {
    border-bottom: none;
}

.dream-pack-additional {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #e8f4f8;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
}

.dream-pack-additional p {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.dream-pack-additional ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.dream-pack-additional li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #d0e8f0;
}

.dream-pack-additional li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-weight: bold;
    font-size: 1.2rem;
}

.dream-pack-additional li:last-child {
    border-bottom: none;
}

.dream-pack-extra {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f0f0f0;
    border-radius: 8px;
    border-left: 4px solid #999;
}

.dream-pack-extra p {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.dream-pack-extra ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.dream-pack-extra li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #ddd;
}

.dream-pack-extra li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
    font-weight: bold;
    font-size: 1.2rem;
}

.dream-pack-extra li:last-child {
    border-bottom: none;
}

.dream-pack-note {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.dream-pack-note p {
    margin: 0.5rem 0;
    color: #856404;
    line-height: 1.8;
}

/* ページ全体のローディングカバー */
.page-loading-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loading-cover.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ローディングスピナー */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color, #add4dc);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 前に戻るボタン */
.back-button-container {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: #444;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: normal;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.back-button:hover {
    background-color: #d4a574;
    border-color: #c49564;
    color: #333;
}

.back-button:active {
    background-color: #c49564;
}

.back-button i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.back-button span {
    position: relative;
}

