:root {
    /* Colors - Miyakojima Blue Inspiration */
    --color-primary: #00B7CE;
    /* Brighter Miyako Blue */
    --color-primary-light: #E0F9FB;
    --color-secondary: #F5F5F0;
    /* Sand */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    --color-accent: #FFD700;
    /* Sun/Gold subtle accent */

    /* Fonts */
    --font-ja: 'Zen Kaku Gothic New', sans-serif;
    --font-mincho: 'Shippori Mincho', serif;
    --font-en: 'Montserrat', sans-serif;
    --font-en-serif: 'Cormorant Garamond', serif;
}

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

body {
    font-family: var(--font-ja);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

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

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-subtitle {
    display: block;
    font-family: var(--font-en);
    color: var(--color-primary);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-mincho);
    font-size: 2rem;
    font-weight: 500;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /* Explicit height */
    padding: 0 30px;
}

.logo a {
    font-family: var(--font-en-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 5px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s !important;
}

.btn-contact:hover {
    background-color: #0096a9;
    opacity: 1 !important;
}

.menu-toggle {
    display: none;
    z-index: 1001;
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .header-inner {
        height: 65px;
    }

    .menu-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        position: absolute;
        transition: 0.3s;
    }

    .menu-toggle span:nth-child(1) {
        top: 0;
    }

    .menu-toggle span:nth-child(2) {
        top: 9px;
    }

    .menu-toggle span:nth-child(3) {
        bottom: 0;
    }

    /* Hamburger to X */
    .nav-open .menu-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .nav-open .menu-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        z-index: 1000;
        padding: 80px 40px;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    }

    .nav-open .nav {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav a {
        display: block;
        padding: 20px 0;
        font-size: 1.1rem;
    }

    .nav a::after {
        display: none;
    }

    .btn-contact {
        margin-top: 30px;
        text-align: center;
        border-radius: 5px;
    }
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00b7cea1 0%, rgba(194, 233, 251, 0.7) 100%), url(../images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-title {
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-title .en {
    display: block;
    font-family: var(--font-en-serif);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .ja {
    display: block;
    font-family: var(--font-mincho);
    font-size: 1.2rem;
    font-weight: 400;
}

.hero-subtitle {
    color: var(--color-white);
    font-family: var(--font-mincho);
    font-size: 1rem;
    margin-top: 20px;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--color-white);
    letter-spacing: 0.2em;
}

.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background-color: var(--color-white);
    margin: 10px auto 0;
}

/* Features Bar */
.features-bar {
    background-color: var(--color-primary-light);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 183, 206, 0.1);
}

.features-inner {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background-color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-icon i {
    width: auto;
    height: auto;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    font-family: var(--font-ja);
}

@media (max-width: 768px) {
    .features-inner {
        gap: 20px;
        flex-wrap: wrap;
    }

    .feature-item {
        flex: 1;
        min-width: 100px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .feature-text {
        font-size: 0.72rem;
    }
}

/* Concept */
.concept {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ccf3f6 100%);
    color: var(--color-white);
}

.concept .section-subtitle {
    color: var(--color-white);
    opacity: 0.9;
}

.concept .section-title {
    color: var(--color-white);
}

.concept-lead {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 2;
}

.concept-text {
    text-align: center;
    font-family: var(--font-mincho);
    font-size: 1.1rem;
}

.concept-text p {
    margin-bottom: 30px;
}

/* Trainer */
.trainer-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.trainer-image-placeholder {
    flex: 1;
    height: 400px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.trainer-info {
    flex: 1;
}

.trainer-name {
    font-family: var(--font-en-serif);
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 10px;
}

.trainer-role {
    font-size: 1rem;
    font-family: var(--font-en);
    color: var(--color-text-light);
    margin-left: 10px;
}

/* Menu */
.menu-list {
    max-width: 800px;
    margin: 0 auto;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.menu-name {
    font-size: 1.2rem;
    font-weight: 500;
}

.menu-price {
    font-family: var(--font-en);
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.menu-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Access */
.access {
    background-color: var(--color-white);
}

.access-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.access-map {
    flex: 1.2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.access-info {
    flex: 0.8;
}

.access-info-group {
    margin-bottom: 40px;
}

.access-info-title {
    font-size: 1.2rem;
    font-family: var(--font-mincho);
    color: var(--color-primary);
    margin-bottom: 15px;
}

.access-info p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.btn-maps {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-maps:hover {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    opacity: 1 !important;
}

.access-car-list {
    font-size: 0.95rem;
}

.access-car-list li {
    margin-bottom: 8px;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--color-primary) 0%, #ccf3f6 100%);
    color: var(--color-white);
    text-align: center;
}

.contact .section-title {
    color: var(--color-white);
}

.contact .section-subtitle {
    color: var(--color-secondary);
}

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

.contact-actions p {
    color: var(--color-white);
}

.btn {
    display: inline-block;
    width: 250px;
    padding: 15px 0;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-line {
    background-color: #06C755;
    color: white;
}

.btn-tel {
    background-color: var(--color-white);
    color: var(--color-primary);
    font-family: var(--font-en);
}

/* Pricing */
.pricing {
    background-color: var(--color-secondary);
    /* Very light cyan */
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 183, 206, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-tax-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 8px;
    font-weight: 500;
}

.pricing-initial {
    max-width: 650px;
    margin: 0 auto 80px;
    font-family: var(--font-mincho);
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.pricing-row {
    display: flex;
    align-items: baseline;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--color-text);
}

.pricing-row:last-child {
    margin-bottom: 0;
}

.pricing-label {
    white-space: nowrap;
}

.pricing-dots {
    flex: 1;
    border-bottom: 1.5px dotted rgba(0, 183, 206, 0.3);
    margin: 0 20px;
    position: relative;
    top: -6px;
}

.pricing-value {
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 700;
}

.pricing-group {
    margin-bottom: 80px;
}

.pricing-group-title {
    background: linear-gradient(to right, var(--color-primary), #00c6dc);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.3rem;
    font-family: var(--font-mincho);
    margin-bottom: 30px;
    border-radius: 8px;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(0, 183, 206, 0.2);
}

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

.pricing-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 183, 206, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 183, 206, 0.1);
}

.card-header {
    background-color: #f8fdfe;
    padding: 20px 10px;
    border-bottom: 1px solid rgba(0, 183, 206, 0.05);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-ja);
}

.card-validity {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 5px;
}

.card-body {
    padding: 30px 15px;
}

.price-per-time {
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-mincho);
}

.price-per-time span {
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 2px;
    font-family: var(--font-ja);
    color: var(--color-text-light);
}

.price-total {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 500;
    font-family: var(--font-mincho);
}

.pricing-footer {
    text-align: center;
    margin-top: 50px;
}

.pricing-male-note {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-light);
    background: var(--color-white);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.tax-label {
    font-size: 0.65em;
    color: var(--color-text-light);
    opacity: 0.8;
    font-weight: 400;
    margin-left: 4px;
    vertical-align: baseline;
    font-family: var(--font-ja);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-row {
        font-size: 1.2rem;
    }

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

    .pricing-card {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Flow */
.flow {
    background-color: var(--color-secondary);
}

.flow-lead {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--color-text-light);
}

.flow-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.flow-item {
    display: flex;
    gap: 30px;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.flow-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 65px;
    width: 2px;
    height: 20px;
    background-color: var(--color-primary);
    opacity: 0.3;
}

.flow-label {
    flex-shrink: 0;
    width: 80px;
    height: 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.flow-content {
    flex: 1;
}

.flow-step-title {
    font-size: 1.4rem;
    font-family: var(--font-mincho);
    margin-bottom: 20px;
    color: var(--color-primary);
}

.flow-price {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.flow-subcontent {
    background-color: var(--color-secondary);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.subcontent-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.check-list {
    margin-bottom: 15px;
}

.check-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.check-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

.subcontent-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.flow-link-area {
    margin-top: 20px;
}

.flow-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
    transition: 0.3s;
}

.flow-link:hover {
    opacity: 0.7;
    border-bottom-color: transparent;
}

.flow-footer {
    text-align: center;
    margin-top: 60px;
}

.flow-footer-text {
    font-family: var(--font-mincho);
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Instagram */
.instagram {
    background-color: var(--color-white);
}

.insta-grid {
    margin-top: 40px;
}

.insta-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.insta-item-mock {
    aspect-ratio: 1 / 1;
    background-color: #f0f0f0;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.insta-item-mock:hover {
    opacity: 0.8;
}

.insta-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-insta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-weight: 600;
    color: var(--color-text);
    border: 1px solid #ddd;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-insta:hover {
    background-color: #fafafa;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Related Shops */
.related-shops {
    background-color: var(--color-secondary);
    padding: 60px 0;
    /* Reduced from default 80px */
}

.shop-banner-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.shop-banner-item {
    display: block;
    background-color: var(--color-white);
    padding: 20px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
    max-width: 320px;
    width: 100%;
    text-align: center;
}

.shop-banner-item img {
    max-height: 60px;
    width: auto;
    margin-bottom: 0px;
}

.shop-banner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary-light);
}

.shop-category {
    font-size: 0.7rem;
    font-family: var(--font-en);
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.shop-name {
    font-size: 1.1rem;
    font-family: var(--font-mincho);
    margin: 0;
}

/* SEO Info */
.seo-info {
    padding: 40px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.seo-content {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: justify;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    font-family: var(--font-en);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

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

    .hero-bg {
        background-image: linear-gradient(135deg, #00b7cea1 0%, rgba(194, 233, 251, 0.7) 100%), url(../images/hero-bg-sp.jpg);
        background-position: center;
    }

    .trainer-content {
        flex-direction: column;
    }

    .menu-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* Flow Mobile */
    .flow-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .flow-item:not(:last-child)::after {
        left: 50%;
        transform: translateX(-50%);
        bottom: -35px;
        height: 30px;
    }

    .flow-label {
        margin-bottom: 20px;
    }

    .flow-step-title {
        font-size: 1.2rem;
    }

    /* Access Mobile */
    .access-container {
        flex-direction: column;
        gap: 30px;
    }

    .access-map {
        width: 100%;
        order: 1;
    }

    .access-info {
        width: 100%;
        order: 2;
    }

    /* Related Shops Mobile */
    .related-shops {
        padding: 40px 0;
    }

    .shop-banner-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .shop-banner-item {
        padding: 15px 20px;
        max-width: 280px;
    }

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

    /* Instagram Mobile */
    .insta-placeholder-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* PC only elements */
    .pc {
        display: none;
    }

    .flow-footer-text {
        font-size: 1.2rem;
    }

    .check-list {
        text-align: left;
    }
}