:root {
    /* Color Palette - Warm, Trustworthy, Modern */
    --primary: #D12B65;
    /* Brand pink - shared across all accents */
    --primary-dark: #B82257;
    --secondary: #342E33;
    /* Dark Charcoal - Professionalism */
    --accent: #D12B65;
    /* Same brand pink for supporting accents */
    --background: #FFFFFF;
    --surface: #FFF3F7;
    --text-main: #342E33;
    --text-muted: #6E626B;
    --white: #FFFFFF;
    --border: #F4D5E1;
    --on-primary: #FFFFFF;

    /* Typography */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --section-gap: 100px;
    --container-max-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Styles */
h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-gap) 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav .nav-links .cta-button:hover {
    color: var(--on-primary);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

.cta-button {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--surface);
    /* Fallback */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    padding-right: 20px;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 25px;
    color: var(--secondary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features/Philosophy */
.philosophy {
    background: var(--surface);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    margin-bottom: 15px;
}

/* About Me Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 80px;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: visible;
}

.profile-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.follower-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--on-primary);
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.follower-badge i {
    color: var(--on-primary);
    font-size: 1.5rem;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.stats-list {
    margin-top: 30px;
}

.stats-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats-list i {
    color: var(--primary);
    width: 25px;
}

/* Footer (Existing + adjustments if needed) */
footer {
    background: var(--surface);
    color: var(--text-main);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* --- Large screens: adjust hero proportions --- */
@media (min-width: 1200px) {
    .hero-content {
        max-width: 520px;
    }

    .hero-bg {
        width: 58%;
        clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* --- Medium screens (tablets / narrow desktops) --- */
@media (max-width: 968px) {

    /* Hero: 縦積みレイアウトに切り替え */
    .hero {
        height: auto;
        padding-top: 100px;
        padding-bottom: 0;
        flex-direction: column;
        align-items: stretch;
        /* 縦積み時は横方向いっぱいに広げる */
    }

    .hero .container {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
        max-width: 600px;
        padding-right: 0;
    }

    /* 斜め画像を縦積みの下部に配置 */
    .hero-bg {
        position: relative !important;
        width: 100% !important;
        right: auto !important;
        height: 50vw;
        min-height: 300px;
        max-height: 500px;
        clip-path: none !important;
        border-radius: 0;
        margin-top: 0;
        display: block;
        flex-shrink: 0;
    }

    .hero-bg img {
        object-position: center center;
    }

    /* Nav: リンクを非表示 */
    .nav-links {
        display: none;
    }

    /* About: 縦積みに */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .follower-badge {
        right: 20px;
        bottom: -15px;
    }
}

/* --- Small screens (smartphones) --- */
@media (max-width: 600px) {
    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

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

    .hero-bg {
        height: 55vw;
        min-height: 220px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-actions a[style] {
        margin-left: 0 !important;
    }

    .section-head h2 {
        font-size: 1.8rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .follower-badge {
        font-size: 0.9rem;
        padding: 10px 18px;
        right: 10px;
        bottom: -12px;
    }

    /* Footer も縦積みに */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* Featured Card Styling */
.card-featured {
    display: flex;
    gap: 40px;
    align-items: center;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    padding: 20px !important;
    /* Adjust padding for image */
}

.card-img-wrapper {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.card-tour-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.card-featured .card-img-wrapper {
    flex: 0 0 350px;
    height: 450px;
    margin-bottom: 0;
    aspect-ratio: auto;
}

.card-featured .card-icon {
    font-size: 5rem;
    margin-bottom: 0;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.badge {
    background: var(--surface);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 10px;
    border: 1px solid var(--primary);
    font-weight: 800;
}

@media (max-width: 768px) {
    .card-featured {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 40px !important;
    }

    .card-featured .card-img-wrapper {
        flex: none;
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
    }

    .card-featured .card-icon {
        font-size: 3rem;
    }
}

/* Testimonials Section */
.testimonials-bg {
    background: var(--surface);
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

.author {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Section & Form */
.contact-section {
    background: var(--white);
}

.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--surface);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--surface);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 25px;
    }
}
