/* ===== リセット & ベーススタイル ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066CC;
    --secondary-color: #333333;
    --accent-color: #0066CC;
    --dark-color: #333333;
    --light-color: #F5F5F5;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border-color: #E5E5E5;
    --border-subtle: 1px solid #E5E5E5;
    --border-inner: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

/* ===== ヘッダー & ナビゲーション ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    border-bottom: var(--border-subtle);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 20px;
}

.nav-brand h1 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
    background: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon {
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.nav-icon:hover {
    transform: scale(1.2);
}

/* ドロップダウンメニュー */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    border-radius: 6px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* ===== ヒーローセクション ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.9);
    z-index: 0;
}


.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== ボタン ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: var(--border-subtle);
    font-size: 1rem;
    box-shadow: var(--border-inner);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: #0052A3;
    border-color: #0052A3;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== セクションタイトル ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ===== サービスセクション ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
    border: var(--border-subtle);
    transition: var(--transition);
    box-shadow: var(--border-inner);
}

.service-card:hover {
    border-color: #D1D5DB;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: -0.025em;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== 商品セクション ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ===== カルーセル（横スクロール）セクション ===== */
.products-carousel-wrapper {
    position: relative;
    margin-top: 3rem;
    padding: 0 50px;
}

.products-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.products-carousel::-webkit-scrollbar {
    height: 8px;
}

.products-carousel::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 6px;
}

.products-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

.products-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

.products-carousel .product-card {
    flex: 0 0 300px;
    min-width: 300px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 6px;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.product-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    border: var(--border-subtle);
    transition: var(--transition);
    box-shadow: var(--border-inner);
}

.product-card:hover {
    border-color: #D1D5DB;
}

.product-image {
    width: 100%;
    height: 250px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    font-size: 6rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    letter-spacing: -0.025em;
}

.product-description {
    color: #6B7280;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== 私たちについてセクション ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6B7280;
    font-size: 0.95rem;
}

.about-image {
    width: 100%;
    height: 400px;
    background: #F3F4F6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.about-placeholder {
    font-size: 8rem;
}

/* ===== お問い合わせセクション ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.3rem;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-item p {
    color: #6B7280;
    line-height: 1.8;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 6px;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* ===== フッター ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== アニメーション ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 2rem;
        gap: 0;
        transition: var(--transition);
        border: var(--border-subtle);
    box-shadow: var(--border-inner);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-color);
        margin: 0;
        border-radius: 0;
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        justify-content: space-around;
    }

    .about-image {
        height: 300px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-carousel-wrapper {
        padding: 0 40px;
    }

    .products-carousel .product-card {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ===== ページヘッダー ===== */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== 概要セクション ===== */
.overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.overview-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.overview-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===== 店舗紹介セクション ===== */
.store-intro-content {
    margin-top: 3rem;
}

.store-text {
    max-width: 900px;
    margin: 0 auto;
}

.store-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.store-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.store-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.store-feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 6px;
    transition: var(--transition);
}

.store-feature-item:hover {
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.store-feature-item h4 {
    letter-spacing: -0.025em;
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.store-feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.store-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.store-gallery-item {
    border-radius: 6px;
    overflow: hidden;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    transition: var(--transition);
}

.store-gallery-item:hover {
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.store-gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1rem;
    background: var(--white);
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
}

/* ===== ペットの安心セクション ===== */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.safety-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 6px;
    text-align: center;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.safety-card:hover {
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.safety-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.safety-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: -0.025em;
}

.safety-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.safety-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: auto;
}

.safety-link:hover {
    color: var(--secondary-color);
}

/* ===== カテゴリー検索セクション ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.category-card-large {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    transition: var(--transition);
    display: flex;
}

.category-card-large:hover {
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.category-image {
    width: 200px;
    flex-shrink: 0;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-content {
    padding: 2rem;
    flex: 1;
}

.category-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    letter-spacing: -0.025em;
}

.category-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-list li {
    margin: 0;
}

.category-item {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.75rem 1rem;
    background: var(--light-color);
    border-radius: 6px;
    border: 2px solid transparent;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.category-item:hover {
    color: var(--primary-color);
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateX(5px);
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.category-item:hover::before {
    left: 100%;
}

.category-item:active {
    transform: translateX(3px) scale(0.98);
}

.category-item-all {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    margin-top: 0.5rem;
}

.category-item-all:hover {
    background: #C5000F;
    color: var(--white);
    border-color: transparent;
}

/* ===== ペットの安心詳細ページ ===== */
.safety-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.safety-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.safety-intro p {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 800px;
    margin: 0 auto;
}

.safety-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.safety-item-detail {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 6px;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.safety-item-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
}

.safety-icon-large {
    font-size: 3rem;
    flex-shrink: 0;
}

.safety-item-header h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin: 0;
    letter-spacing: -0.025em;
}

.safety-item-body p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.safety-features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.safety-features-list li {
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 6px;
    color: var(--text-color);
    position: relative;
    padding-left: 2rem;
}

.safety-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0.75rem;
    color: var(--text-light);
    font-weight: bold;
}

/* ===== ランキングページ ===== */
.ranking-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.tab-btn {
    padding: 1rem 2rem;
    background: var(--light-color);
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.ranking-content {
    display: none;
}

.ranking-content.active {
    display: block;
}

.ranking-title {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ranking-breed-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ranking-breed-item {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 6px;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    transition: var(--transition);
}

.ranking-breed-item:hover {
    border-color: var(--primary-color);
}

.ranking-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.ranking-breed-image {
    width: 200px;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.ranking-breed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-breed-content {
    flex: 1;
}

.ranking-breed-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.ranking-breed-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 6px;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    transition: var(--transition);
}

.ranking-item:hover {
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.ranking-pet-image {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.ranking-pet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-pet-info {
    flex: 1;
}

.ranking-pet-info h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.ranking-pet-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.ranking-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* ===== 商品プレビュー ===== */
.products-preview {
    padding: 80px 0;
}

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

/* ===== サービス詳細 ===== */
.service-features {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-light);
    font-weight: bold;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-detail-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 6px;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.service-detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: -0.025em;
}

.service-detail-card p {
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* ===== CTAセクション ===== */
.cta {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ===== カテゴリー ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    transition: var(--transition);
}

.category-card:hover {
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    letter-spacing: -0.025em;
}

.category-card p {
    color: var(--text-light);
}

/* ===== 理念 ===== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    transition: var(--transition);
}

.mission-card:hover {
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: -0.025em;
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== 歴史タイムライン ===== */
.history-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 6px;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    margin: 0 2rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    letter-spacing: -0.025em;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== 地図 ===== */
.map-container {
    margin-top: 3rem;
}

.map-placeholder {
    background: var(--white);
    padding: 4rem;
    border-radius: 6px;
    text-align: center;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder p {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* ===== フォームセレクト ===== */
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== 統計セクション ===== */
.stats {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .history-timeline::before {
        left: 60px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
    }

    .timeline-content {
        margin-left: 1rem;
        margin-right: 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

/* ===== ペット詳細ページ ===== */
.pet-detail-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pet-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pet-main-image {
    width: 100%;
    height: 500px;
    border-radius: 6px;
    overflow: hidden;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.pet-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pet-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pet-thumbnails .thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.pet-thumbnails .thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.pet-thumbnails .thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.pet-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pet-header {
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 1rem;
}

.pet-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.pet-number {
    color: var(--text-light);
    font-size: 1rem;
}

.pet-description {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 6px;
}

.pet-message {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.pet-submessage {
    color: var(--text-light);
    font-size: 1rem;
}

/* テーブル形式の詳細情報 */
.pet-details-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.pet-details-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.pet-details-table tr:last-child {
    border-bottom: none;
}

.pet-details-table td {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.pet-details-table .detail-label {
    width: 30%;
    font-weight: 500;
    color: var(--text-light);
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
}

.pet-details-table .detail-value {
    font-weight: 500;
    color: var(--dark-color);
}

.pet-details-table .price-cell {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pet-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-line {
    background: #06C755;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-line:hover {
    background: #05B048;
    transform: translateY(-2px);
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
}

.pet-note {
    background: #FFF9E6;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #FFD700;
}

.pet-note p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* ===== モーダル ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 6px;
    width: 90%;
    max-width: 500px;
    border: var(--border-subtle);
    box-shadow: var(--border-inner);
    position: relative;
    animation: slideDown 0.3s ease;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--dark-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-actions .btn {
    flex: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .pet-detail-content {
        gap: 2rem;
    }

    .pet-main-image {
        height: 400px;
    }

    .pet-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .pet-thumbnails .thumbnail {
        height: 80px;
    }

    .pet-name {
        font-size: 2rem;
    }

    .pet-details-table td {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .pet-details-table .price-cell {
        font-size: 1.3rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .store-gallery {
        grid-template-columns: 1fr;
    }

    .store-features {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card-large {
        flex-direction: column;
    }

    .category-image {
        width: 100%;
        height: 200px;
    }

    .ranking-breed-item {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ranking-breed-image {
        width: 100%;
        height: 250px;
    }

    .ranking-number {
        min-width: 50px;
        font-size: 2rem;
    }

    .ranking-item {
        flex-direction: column;
        text-align: center;
    }

    .ranking-number {
        min-width: auto;
    }

    .safety-features-list {
        grid-template-columns: 1fr;
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .overview-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .overview-buttons .btn {
        width: 100%;
    }

    .pet-main-image {
        height: 300px;
    }

    .pet-thumbnails .thumbnail {
        height: 60px;
    }
}
