/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    color: #333;
    background-color: #ffffff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
}

.loading-logo-wrapper {
    animation: fadeIn 1.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.loading-logo {
    width: 45%;
    max-width: 450px;
    min-width: 280px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-container {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1;
}

.logo a {
    color: #333;
    display: inline-block;
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list a {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: #666;
    font-weight: 300;
    white-space: nowrap;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #999;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay.active {
    opacity: 1;
}

/* Main */
.main {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero Section */
.hero {
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
}

.hero-video-wrapper {
    width: 100vw;
    max-width: 100vw;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    background-color: #000;
    z-index: 1;
    box-sizing: border-box;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background-color: #000;
}

/* Hero Bottom Container */
.hero-bottom-container {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.hero-sns-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Desktop: SNS links on right side vertically, banner separately */
@media (min-width: 1201px) {
    .hero-bottom-container {
        position: static;
        display: contents;
    }

    .hero-sns-links {
        position: absolute;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .hero-profile-banner {
        position: absolute;
        bottom: 40px;
        right: 40px;
    }
}

/* タブレットサイズ: ロゴを上部に、SNSアイコンをバナーの左に */
@media (max-width: 1200px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero-bottom-container {
        bottom: 40px;
        right: 40px;
        gap: 20px;
    }

    .hero-sns-links {
        flex-direction: row;
        gap: 12px;
    }

    .sns-link {
        width: 36px;
        height: 36px;
    }

    .sns-link svg {
        width: 18px;
        height: 18px;
    }

    .hero-profile-banner {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

.sns-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sns-link:hover {
    background-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sns-link svg {
    width: 20px;
    height: 20px;
}

/* Hero Profile Banner */
.hero-profile-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-profile-banner:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    opacity: 1;
}

.banner-text {
    font-family: 'Noto Sans JP', sans-serif;
}

.banner-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hero-profile-banner:hover .banner-arrow {
    transform: translateX(4px);
}

/* Video loading state */
.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* Ensure video doesn't show controls on mobile */
.hero-video[controls] {
    display: none;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.travel-tarot-hero {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 40px;
    overflow: hidden;
}

.travel-tarot-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.section-title {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: #888;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: #999;
    font-weight: 300;
    text-transform: uppercase;
}

.zodiac-description {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
    margin-top: 20px;
    line-height: 1.8;
}

.zodiac-description strong {
    font-weight: 700;
}

.zodiac-description a {
    color: #666;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.zodiac-description a:hover {
    opacity: 0.7;
}

/* News Section */
.news-section {
    padding: 100px 0;
    background-color: #fafafa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    margin-bottom: 0;
}

.news-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.news-link:hover {
    opacity: 0.7;
}

.news-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 15px;
    border-radius: 4px;
    position: relative;
}

.news-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    z-index: 1;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.news-image[src=""],
.news-image:not([src]) {
    display: none;
}

.news-content-wrapper {
    flex: 1;
}

.news-category {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #666;
    font-weight: 400;
    display: block;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.news-meta {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
}

.news-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    white-space: nowrap;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.news-title {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    color: #888;
    letter-spacing: 0.02em;
    margin: 0;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

/* Zodiac Section */
.zodiac-section {
    padding: 0;
    background-color: #ffffff;
}

.travel-tarot-hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #ffffff;
}

.travel-tarot-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center center;
    max-height: 500px;
    margin: 0 auto;
}

.zodiac-section .container {
    padding-top: 80px;
    padding-bottom: 100px;
}

.zodiac-section .section-header {
    margin-bottom: 60px;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.zodiac-item {
    text-align: center;
    transition: transform 0.3s ease;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    padding: 20px;
    border: 2pt solid #B8860B;
    position: relative;
    overflow: hidden;
}

.zodiac-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 0;
}

.zodiac-item > * {
    position: relative;
    z-index: 1;
}

.zodiac-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.zodiac-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: transparent;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.zodiac-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.zodiac-info {
    text-align: left;
}

.zodiac-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.05em;
    margin: 0 0 8px 0;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    text-align: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.zodiac-period {
    font-size: 0.85rem;
    color: #555;
    font-weight: 300;
    margin: 0 0 20px 0;
    text-align: center;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.zodiac-content {
    text-align: left;
}

.zodiac-date {
    font-size: 1.8rem;
    color: #B8860B;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.zodiac-card {
    font-size: 0.9rem;
    font-weight: 700;
    color: #8B6914;
    margin: 0 0 12px 0;
    letter-spacing: 0.02em;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    text-align: center;
}

.zodiac-message {
    font-size: 0.85rem;
    color: #333;
    font-weight: 700;
    line-height: 1.8;
    margin: 0 0 15px 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.zodiac-action {
    font-size: 0.8rem;
    color: #8B6914;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid #B8860B;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: #888;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.about-text {
    padding: 0 20px;
}

.about-text p {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 25px;
    font-weight: 300;
    text-align: center;
}

.about-text strong {
    font-weight: 500;
    color: #333;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: #fafafa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.service-item {
    background-color: #ffffff;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    border-radius: 4px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: #888;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.service-description {
    font-size: 0.95rem;
    line-height: 2;
    color: #666;
    font-weight: 300;
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* カテゴリバッジ */
.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #B8860B;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    letter-spacing: 0.05em;
}

/* サービスセクションのカテゴリバッジ（画像の上に配置） */
.services-section .category-badge {
    top: 20px;
    left: 20px;
}

/* 予約システムのカテゴリバッジ */
.booking-section .category-badge {
    top: 10px;
    left: 10px;
}

/* Profile Section */
.profile-section {
    padding: 100px 0;
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.profile-image-wrapper {
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 0 auto 40px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.profile-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #888;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.profile-role {
    font-size: 1rem;
    line-height: 2;
    color: #666;
    margin-bottom: 50px;
    font-weight: 300;
    text-align: center;
    padding: 0 20px;
}

.profile-description {
    margin-bottom: 50px;
    text-align: center;
    padding: 0 20px;
}

.profile-description p {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
    font-weight: 300;
    text-align: center;
}

.profile-skills {
    margin-top: 50px;
    text-align: center;
}

.skills-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: #888;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skills-list li {
    font-size: 0.9rem;
    color: #666;
    font-weight: 300;
    padding: 8px 20px;
    background-color: #f5f5f5;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #fafafa;
}

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

.contact-text {
    font-size: 1rem;
    line-height: 2.2;
    color: #666;
    font-weight: 300;
    margin-bottom: 50px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-align: left;
}

.required {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-left: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    width: 100%;
    padding: 18px 40px;
    background-color: #333;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.submit-button:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 60px 0;
}

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

.footer-logo-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    display: block;
}

.footer-sns-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-sns-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.footer-sns-link:hover {
    color: #333;
    background-color: #f5f5f5;
}

.footer-sns-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-sns-link span {
    font-weight: 400;
    letter-spacing: 0.05em;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #F5C2C7;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-family: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'HiraMinProN-W3', 'Yu Mincho', 'MS PMincho', serif;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #999;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.footer-copyright a {
    color: #999;
    text-decoration: underline;
    margin: 0 5px;
    transition: opacity 0.3s ease;
}

.footer-copyright a:hover {
    opacity: 0.7;
}

/* Scroll fade-in animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-bottom-container {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .hero-sns-links {
        flex-direction: row;
        gap: 8px;
    }

    .sns-link {
        width: 32px;
        height: 32px;
    }

    .sns-link svg {
        width: 16px;
        height: 16px;
    }

    .hero-profile-banner {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .travel-tarot-image {
        max-height: 450px;
        object-fit: contain;
        object-position: center center;
    }

    .zodiac-section .container {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .zodiac-item {
        padding: 18px;
    }

    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .news-image-wrapper {
        height: 180px;
    }

    .profile-image-wrapper {
        max-width: 100%;
        height: 350px;
    }

    .hero-video-wrapper {
        padding-bottom: 56.25%; /* 16:9 aspect ratio maintained */
    }

    .hero-sns-links {
        right: 15px;
        gap: 12px;
    }

    .sns-link {
        width: 32px;
        height: 32px;
    }

    .sns-link svg {
        width: 16px;
        height: 16px;
    }

    .logo-image {
        height: 60px;
    }

    .loading-logo {
        width: 50%;
        max-width: 400px;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    .header-container {
        width: 100vw;
        max-width: 100vw;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 10px 25px;
        position: relative;
        overflow: hidden;
        margin: 0;
        box-sizing: border-box;
    }

    .logo {
        position: relative;
        z-index: 1002;
    }

    .hamburger-menu {
        display: flex;
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding-top: 80px;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-list li {
        border-bottom: 1px solid #f0f0f0;
        opacity: 0;
        transform: translateX(15px);
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.active .nav-list li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav.active .nav-list li:nth-child(1) {
        transition-delay: 0.15s;
    }

    .nav.active .nav-list li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav.active .nav-list li:nth-child(3) {
        transition-delay: 0.25s;
    }

    .nav.active .nav-list li:nth-child(4) {
        transition-delay: 0.3s;
    }

    .nav.active .nav-list li:nth-child(5) {
        transition-delay: 0.35s;
    }

    .nav.active .nav-list li:nth-child(6) {
        transition-delay: 0.4s;
    }

    .nav-list a {
        display: block;
        padding: 20px 30px;
        font-size: 1rem;
        color: #333;
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
        letter-spacing: 0.05em;
    }

    .nav-list a:hover,
    .nav-list a:active {
        background-color: #fafafa;
        color: #B8860B;
    }

    .nav-overlay {
        display: block;
    }

    .logo-image {
        height: 60px;
    }

    .loading-logo {
        width: 65%;
        max-width: 380px;
        min-width: 220px;
    }

    .hero-video-wrapper {
        padding-bottom: 75%; /* Taller aspect ratio for mobile */
    }

    .hero-video {
        object-fit: cover;
        object-position: center top; /* 縦長切り取り - 上部を中心に */
    }

    .hero-bottom-container {
        bottom: 15px;
        right: 15px;
        left: 15px;
        justify-content: flex-end;
        gap: 8px;
    }

    .hero-sns-links {
        flex-direction: row;
        gap: 6px;
    }

    .sns-link {
        width: 28px;
        height: 28px;
    }

    .sns-link svg {
        width: 14px;
        height: 14px;
    }

    .hero-profile-banner {
        padding: 10px 16px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .banner-arrow {
        width: 16px;
        height: 16px;
    }

    .footer-sns-links {
        gap: 20px;
    }

    .footer-sns-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .footer-sns-link svg {
        width: 18px;
        height: 18px;
    }

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

    .section-label {
        font-size: 0.8rem;
    }

    .news-section,
    .zodiac-section,
    .about-section,
    .services-section,
    .profile-section,
    .contact-section {
        padding: 60px 0;
    }

    .zodiac-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .zodiac-item {
        border-bottom: 1px solid #f0f0f0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-radius: 0;
        padding: 25px 20px;
        margin-bottom: 0;
        box-shadow: none;
    }

    .zodiac-item:hover {
        transform: none;
        box-shadow: none;
    }

    .zodiac-item:last-child {
        border-bottom: none;
    }

    .zodiac-image-wrapper {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .zodiac-info {
        padding: 0 10px;
    }

    .zodiac-content {
        padding: 0 5px;
    }

    .travel-tarot-image {
        max-height: 300px;
        object-fit: contain;
        object-position: center center;
    }

    .zodiac-section .container {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .news-item {
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 0;
    }

    .news-item:last-child {
        border-bottom: none;
    }

    .news-link {
        padding: 25px 0;
    }

    .news-image-wrapper {
        height: 180px;
        margin-bottom: 12px;
    }

    .news-title {
        font-size: 0.95rem;
    }

    .profile-image-wrapper {
        max-width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }

    .service-item {
        padding: 40px 30px;
    }

    .category-badge {
        top: 15px;
        left: 15px;
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .about-text p,
    .profile-story p {
        font-size: 0.95rem;
    }

    .contact-text {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .submit-button {
        padding: 15px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .header-container {
        width: 100vw;
        max-width: 100vw;
        padding: 8px 20px;
        justify-content: center;
        overflow: hidden;
        margin: 0;
        box-sizing: border-box;
    }

    .hamburger-menu {
        right: 20px;
    }

    .logo-image {
        height: 60px;
    }

    .loading-logo {
        width: 75%;
        max-width: 320px;
        min-width: 200px;
    }

    .nav-list {
        gap: 12px;
    }

    .nav-list a {
        font-size: 0.8rem;
    }

    .hero-video-wrapper {
        padding-bottom: 100%; /* Square-ish for very small screens */
    }

    .hero-video {
        object-fit: cover;
        object-position: center top; /* 縦長切り取り - 上部を中心に */
    }

    .hero-bottom-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
        justify-content: flex-end;
        gap: 6px;
    }

    .hero-sns-links {
        flex-direction: row;
        gap: 5px;
    }

    .sns-link {
        width: 26px;
        height: 26px;
    }

    .sns-link svg {
        width: 13px;
        height: 13px;
    }

    .hero-profile-banner {
        padding: 8px 14px;
        font-size: 0.75rem;
        gap: 5px;
    }

    .banner-arrow {
        width: 14px;
        height: 14px;
    }

    .footer-sns-links {
        gap: 15px;
        flex-direction: column;
    }

    .footer-sns-link {
        font-size: 0.8rem;
        padding: 5px 8px;
    }

    .footer-sns-link svg {
        width: 16px;
        height: 16px;
    }

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

    .section-label {
        font-size: 0.75rem;
    }

    .news-section,
    .zodiac-section,
    .about-section,
    .services-section,
    .profile-section,
    .contact-section {
        padding: 50px 0;
    }

    .zodiac-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .zodiac-item {
        border-bottom: 1px solid #f0f0f0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-radius: 0;
        padding: 25px 20px;
        margin-bottom: 0;
        box-shadow: none;
    }

    .zodiac-item:hover {
        transform: none;
        box-shadow: none;
    }

    .zodiac-item:last-child {
        border-bottom: none;
    }

    .zodiac-info {
        padding: 0 10px;
    }

    .zodiac-content {
        padding: 0 5px;
    }

    .travel-tarot-image {
        max-height: 250px;
        object-fit: contain;
        object-position: center center;
    }

    .zodiac-section .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .zodiac-name {
        font-size: 1rem;
    }

    .zodiac-card {
        font-size: 0.85rem;
    }

    .zodiac-message {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .zodiac-action {
        font-size: 0.75rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .news-item {
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 0;
    }

    .news-item:last-child {
        border-bottom: none;
    }

    .news-link {
        padding: 20px 0;
    }

    .zodiac-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .zodiac-item {
        border-bottom: 1px solid #f0f0f0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-radius: 0;
        padding: 20px 15px;
        margin-bottom: 0;
        box-shadow: none;
    }

    .zodiac-info {
        padding: 0 8px;
    }

    .zodiac-content {
        padding: 0 5px;
    }

    .zodiac-item:hover {
        transform: none;
        box-shadow: none;
    }

    .zodiac-item:last-child {
        border-bottom: none;
    }

    .zodiac-image-wrapper {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .news-image-wrapper {
        height: 160px;
        margin-bottom: 10px;
    }

    .news-title {
        font-size: 0.9rem;
    }

    .news-category {
        font-size: 0.85rem;
    }

    .news-date {
        font-size: 0.85rem;
    }

    .profile-image-wrapper {
        max-width: 100%;
        height: 250px;
        margin-bottom: 25px;
    }

    .service-item {
        padding: 30px 20px;
    }

    .category-badge {
        top: 10px;
        left: 10px;
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .about-subtitle,
    .profile-subtitle {
        font-size: 1.3rem;
    }

    .about-text p,
    .profile-story p,
    .contact-text {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 15px 25px;
        font-size: 0.9rem;
    }

    .skills-list {
        gap: 10px;
    }

    .skills-list li {
        font-size: 0.85rem;
        padding: 6px 15px;
    }

    .profile-role {
        font-size: 0.95rem;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .loading-logo {
        max-width: 150px;
        width: 50%;
    }
}

/* Tablet specific adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-video-wrapper {
        padding-bottom: 66.67%; /* 3:2 aspect ratio for tablets */
    }

    .hero-video {
        object-fit: cover;
        object-position: center top; /* 縦長切り取り */
    }
}

/* Large tablet / small desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-video-wrapper {
        padding-bottom: 56.25%; /* 16:9 maintained */
    }
}

/* Thank You Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 60px 50px 50px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    font-family: 'Noto Sans JP', sans-serif;
}

.modal-message {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.modal-message p {
    margin-bottom: 15px;
}

.modal-message .main-message {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.modal-message .detail-message {
    margin-bottom: 25px;
}

.modal-message .note-message {
    font-size: 0.95rem;
    margin-top: 25px;
    text-align: center;
}

.modal-message .email-link {
    color: #333;
    text-decoration: underline;
}

.modal-close-btn {
    background-color: #ffffff;
    border: 1px solid #333;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.modal-close-btn:hover {
    background-color: #f5f5f5;
    opacity: 0.8;
}

.modal-close-btn span {
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 40px 30px 35px;
        width: 95%;
    }

    .modal-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .modal-message {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .modal-message .main-message {
        font-size: 1rem;
    }

    .modal-close-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
