@charset "UTF-8";

/* ==========================================================================
   Pattern 43: Pet Hospital
   Designer: "やさしさと余白のデザイナー"
   Concept: 絵本風、柔らかい色合い、角丸、BEMアーキテクチャ、無限ループアニメ
   ========================================================================== */

:root {
    /* Color Palette - パステルで優しい色合い */
    --color-primary: #8AB8A8;
    /* セージグリーン */
    --color-secondary: #F6CAA6;
    /* アプリコット */
    --color-tertiary: #A5D2E6;
    /* ベビーブルー */
    --color-bg: #FCFAEF;
    /* クリーム色寄りのはちみつホワイト */
    --color-text: #5A544A;
    /* 柔らかいブラウン */
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Zen Maru Gothic', sans-serif;
    --font-body: 'M PLUS Rounded 1c', sans-serif;

    /* Sizing & Radius */
    --radius-sm: 16px;
    --radius-md: 32px;
    --radius-lg: 60px;
    --radius-blob: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* アメーバ状の角丸 */
}

/* Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Layout Utilities (できるだけBEMのBlockに依存しない共通マージン) */
.section-header {
    margin-bottom: 40px;
}

.section-header--center {
    text-align: center;
}

.section-header__en {
    display: block;
    font-size: 14px;
    color: var(--color-primary);
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.section-header__ja {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-text);
}

/* Animations (無限ループでふわふわ動かす)
   ========================================================================== */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

/* Header Block
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(252, 250, 239, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
}

.header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__logo-icon {
    font-size: 28px;
    color: var(--color-primary);
}

.header__list {
    display: flex;
    gap: 30px;
}

.header__link {
    font-weight: 700;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.header__link:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.header__menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 101;
}

/* Hero Block
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__shape {
    position: absolute;
    z-index: -1;
    animation: morph 15s ease-in-out infinite both alternate;
}

.hero__shape--1 {
    width: 600px;
    height: 600px;
    background-color: var(--color-secondary);
    opacity: 0.2;
    top: -100px;
    right: -100px;
}

.hero__shape--2 {
    width: 400px;
    height: 400px;
    background-color: var(--color-tertiary);
    opacity: 0.3;
    bottom: 50px;
    left: -50px;
    animation-delay: -5s;
}

.hero__content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero__text-box {
    flex: 1;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 24px;
}

.hero__desc {
    font-size: 18px;
    line-height: 2;
}

.hero__image-wrap {
    flex: 1;
    position: relative;
}

.hero__image {
    width: 100%;
    border-radius: var(--radius-blob);
    box-shadow: 0 20px 40px rgba(138, 184, 168, 0.2);
}

.hero__float-icon {
    position: absolute;
    font-size: 60px;
    background: var(--color-white);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    animation: float 4s ease-in-out infinite;
}

.hero__float-icon--dog {
    top: -30px;
    right: 20px;
}

.hero__float-icon--cat {
    bottom: -30px;
    left: 20px;
    animation-delay: -2s;
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__scroll-text {
    font-size: 12px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.hero__scroll-line {
    width: 2px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

/* About Block
   ========================================================================== */
.about {
    padding: 100px 0;
}

.about__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.about__card-wrap {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-card--reverse {
    flex-direction: row-reverse;
}

.feature-card__img-box {
    flex: 1;
    position: relative;
}

.feature-card__img-box::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.feature-card--reverse .feature-card__img-box::before {
    left: 20px;
    background-color: var(--color-primary);
}

.feature-card__img {
    border-radius: var(--radius-lg);
    width: 100%;
}

.feature-card__body {
    flex: 1;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.feature-card__text {
    font-size: 16px;
}

/* Service Block
   ========================================================================== */
.service {
    padding: 120px 0;
    position: relative;
}

.service__bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FDF9F1;
    border-radius: var(--radius-blob);
    z-index: -1;
    transform: scale(1.1);
}

.service__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.service__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item__icon {
    font-size: 40px;
    margin-bottom: 20px;
    background: var(--color-bg);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-item__title {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
}

/* FAQ Block
   ========================================================================== */
.faq {
    padding: 100px 0;
    position: relative;
    background-color: var(--color-white);
}

.faq__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.faq__item {
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
}

.faq__item:hover {
    transform: translateY(-3px);
}

.faq__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--color-tertiary);
}

.faq__q {
    padding: 24px 30px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq__icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.faq__icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

details[open] .faq__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq__a {
    padding: 0 30px 24px;
    color: var(--color-text);
    line-height: 1.8;
}

/* Access Block
   ========================================================================== */
.access {
    padding: 100px 0;
}

.access__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.access__content-wrap {
    display: flex;
    gap: 50px;
    background: var(--color-white);
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.access__info {
    flex: 1;
}

.access__address {
    font-size: 16px;
    margin-bottom: 30px;
}

.access__tel {
    display: inline-block;
    font-size: 24px;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-top: 10px;
    font-weight: bold;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.schedule-table th {
    background-color: var(--color-bg);
    color: var(--color-primary);
    padding: 12px 5px;
    font-weight: bold;
    border-bottom: 2px solid var(--color-primary);
}

.schedule-table td {
    padding: 12px 5px;
    border-bottom: 1px dashed #E0E0E0;
}

.schedule-table__time {
    font-weight: bold;
    color: var(--color-text);
}

.access__note {
    font-size: 13px;
    color: #888;
}

.access__image-box {
    flex: 1;
}

.access__image {
    border-radius: var(--radius-md);
    height: 100%;
    object-fit: cover;
}

/* Footer Block
   ========================================================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
    border-top-left-radius: 50% 20px;
    border-top-right-radius: 50% 20px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 20px;
}

.footer__copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Media Queries
   ========================================================================== */
@media screen and (max-width: 900px) {
    .header__menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 5px;
    }

    .header__menu-line {
        width: 100%;
        height: 3px;
        background: var(--color-primary);
        border-radius: 3px;
        transition: 0.3s;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
    }

    .header__nav--active {
        right: 0;
    }

    .header__list {
        flex-direction: column;
        text-align: center;
        font-size: 20px;
    }

    .hero__content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__float-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .feature-card,
    .feature-card--reverse {
        flex-direction: column;
        gap: 30px;
    }

    .service__grid {
        grid-template-columns: 1fr;
    }

    .access__content-wrap {
        flex-direction: column;
        padding: 30px 20px;
    }

    .schedule-table {
        font-size: 12px;
    }
}