@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
    --primary-blue: #100169;
    --secondary-blue: #100169;
    --accent-red: #FF0001;
    --light-bg: #D2D5EC;
    --text-black: #1a1a1a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --margin-pc: 120px;
    --margin-sp: 80px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--text-black);
    background-color: var(--bg-white);
    -webkit-text-size-adjust: 100%;
    margin: 0;
    overflow-x: hidden;
    padding-top: 135px;
    /* Offset for two-tier header */
}

/* Base Font Size */
html {
    font-size: 16px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 700;
}

/* Section Spacing */
section {
    padding: 60px 0;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    section {
        padding: 40px 0;
        margin-bottom: 0;
    }
}

/* Section Headings */
.section-heading-container {
    width: 100%;
    margin-bottom: 60px;
}

/* Original heading style with image background */
.section-heading-wrapper {
    position: relative;
    max-width: 50%;
    width: 100%;
    aspect-ratio: 4 / 1;
    margin: 0 auto;
}

.section-heading-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-heading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* Minimalist text-only heading style */
.section-title {
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-blue);
}

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

/* Tailwind Color Overrides */
.bg-blue-900 {
    --tw-bg-opacity: 1;
    background-color: rgb(16 1 105 / var(--tw-bg-opacity, 1)) !important;
}

.bg-blue-950 {
    --tw-bg-opacity: 1;
    background-color: rgb(16 1 105 / var(--tw-bg-opacity, 1)) !important;
}

.text-blue-900 {
    --tw-text-opacity: 1;
    color: rgb(16 1 105 / var(--tw-text-opacity, 1)) !important;
}

/* Header Logo and Button */
.logo a {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-blue);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    height: 90px;
    background: #fff;
    display: flex;
    align-items: center;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo & Store Name */
.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo-image {
    height: auto;
    width: 120px;
    object-fit: contain;
}

.header-phone a {
    font-size: 28px;
    color: var(--primary-blue);
    letter-spacing: 0.05em;
}

/* Navigation Bar (Tier 2) */
.header-nav {
    background-color: var(--primary-blue);
}

.header-nav .header-inner {
    padding: 0;
}

.nav-list {
    display: flex;
    width: 100%;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    position: relative;
    flex: 1;
    /* Equally space all elements */
}

.nav-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.nav-list a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.3s;
    white-space: nowrap;
    /* Prevent text breaking */
}

.nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    body {
        padding-top: 80px;
    }

    .header-top {
        height: 80px;
    }

    .header-nav {
        display: none !important;
    }

    #menu-btn {
        display: flex !important;
    }

    .logo-image {
        width: 80px;
    }

    .logo {
        position: static;
        transform: none;
        white-space: nowrap;
    }

    .logo-text {
        font-size: 22px;
        margin-right: 8px;
    }

    .store-name-box {
        font-size: 11px;
        padding: 1px 6px;
    }
}

@media (max-width: 768px) {
    /* The previous .header-inner height: 60px is now handled by .header-top height: 80px in the 991px media query */
}

/* Asymmetric Grid (40:60) */
.grid-asymmetric {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.grid-col-image {
    width: calc(40% - 20px);
}

.grid-col-text {
    width: calc(60% - 20px);
}

@media (max-width: 768px) {

    .grid-col-image,
    .grid-col-text {
        width: 100%;
    }
}

/* Images style */
img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* FV Swiper */
.fv-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.fv-swiper {
    width: 100%;
    height: auto;
}

.fv-swiper .swiper-slide {
    line-height: 0;
}

.fv-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* TV Section (Recommended) */
#tv {
    background-color: #fff;
    padding: 60px 0;
}

#tv .container.container-no-padding {
    max-width: 1060px !important;
    width: 1060px;
}

.tv-grid-flex {
    display: flex;
    align-items: stretch;
    background-color: transparent;
}

.tv-col-image {
    flex: 0 0 462px;
    line-height: 0;
}

.tv-col-image img {
    width: 462px;
    height: 100%;
    object-fit: cover;
}

.tv-col-text {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.h-lines {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
}

.h-lines::before,
.h-lines::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--primary-blue);
}

.h-lines span {
    padding: 0 20px;
}

@media (max-width: 991px) {
    #tv {
        padding: 60px 0;
        /* Updated from 70px to match each section rule */
    }

    .tv-grid-flex {
        flex-direction: column;
        gap: 0;
        /* Removed space below image */
    }

    .tv-col-image,
    .tv-col-text {
        flex: 0 0 100%;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .tv-col-image img {
        width: 100%;
        height: auto;
    }

    .container.container-no-padding {
        width: 100% !important;
        max-width: 100% !important;
    }

    .tv-col-text {
        padding-top: 20px;
        /* 20px space above 'Recommended' text */
        padding-bottom: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* About Section */
#about {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0;
}

.about-container {
    max-width: 1135px !important;
}

.about-flex {
    display: flex;
    align-items: center;
    position: relative;
}

.about-image {
    width: 50%;
    flex: 0 0 50%;
    z-index: 2;
    /* Image on top */
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    width: 55%;
    flex: 0 0 55%;
    margin-left: -5%;
    /* Overlap */
    z-index: 1;
}

.about-text-box {
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--text-black);
    padding: 50px 30px 50px 90px;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.about-text-box h3 {
    color: #100169;
}

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

    .about-flex {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        z-index: 2;
        padding: 0;
    }

    .about-content {
        width: 100%;
        flex: 0 0 auto;
        margin-left: 0;
        margin-top: -40px;
        /* Image stays 'on top' vertically and overlaps */
        padding: 0px;
        z-index: 1;
    }

    .about-text-box {
        padding: 10px;
        padding-top: 50px;
    }
}

/* Service Section Grid */
#service {
    background-color: #D2D5EC;
}

#service .container {
    max-width: 1110px;
}

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

@media (max-width: 640px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-item {
    background-color: #fff;
    color: var(--text-black);
    padding: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-item img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.service-item-content {
    padding: 20px 0;
}

.service-item-content .point-label {
    color: #1A1A1A;
}

.service-item-content h3 {
    color: #100169;
}

.service-item-content p {
    color: #1A1A1A;
}

/* Message Section */
#message {
    background-color: var(--primary-blue);
    color: white;
}

.message-inner {
    background-color: rgba(255, 255, 255, 0.75);
    color: var(--text-black);
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px;
}

.message-inner img {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Contact Section */
#access .container {
    max-width: 1110px;
}

.contact-shop-name {
    color: var(--primary-blue);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 362px);
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.gallery-item {
    width: 362px;
    height: 270px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 1110px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal for Gallery */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    /* Mobile only */
    z-index: 100;
}

/* Responsive Breakpoint Handled in combined media query below */

.sticky-cta a {
    flex: 1;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
}

.cta-tel {
    background-color: var(--primary-blue);
    color: #fff !important;
}

.cta-web {
    background-color: #fff;
    color: var(--primary-blue) !important;
    border-top: 1px solid #eee;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Hamburger Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.menu-overlay.active {
    transform: translateX(0);
}

.menu-overlay a {
    color: #fff;
    font-size: 1.5rem;
    margin: 15px 0;
    text-decoration: none;
    font-weight: 500;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Swiper pagination */
.swiper-pagination-bullet-active {
    background: #fff !important;
}

/* Custom Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-no-padding {
    padding: 0;
}

.full-width {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.section-bg-blue {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 60px 0;
}

.voice-card {
    background: #fff;
    padding: 40px;
    text-align: center;
    border: 1px solid #333;
    /* Darker border for black bg */
}

.voice-card p {
    color: var(--primary-blue);
}

.voice-card p.font-bold {
    color: var(--text-black);
}

.stars {
    color: #ffd700;
    margin-bottom: 10px;
}

/* Main CTA and Intermediate CTA Stacking for SP */
@media (max-width: 991px) {
    .container {
        padding: 0 10px;
    }

    .bg-blue-900 .container,
    .intermediate-cta .container {
        flex-direction: column;
        gap: 30px;
    }

    .bg-blue-900 .w-px,
    .intermediate-cta .w-px {
        display: none !important;
    }

    .bg-blue-900 .text-3xl,
    .intermediate-cta .text-3xl {
        font-size: 1.875rem;
        /* Slightly smaller for mobile if needed, but keeping bold */
    }

    .message-inner {
        padding: 10px;
    }

    .sticky-cta {
        display: flex;
    }
}

.intermediate-cta {
    background-color: var(--primary-blue);
    color: #fff !important;
    padding: 60px 0;
    text-align: center;
}

.intermediate-cta h2 {
    color: #fff !important;
}

/* Voice Background Black */
#voice {
    background-color: #000000;
    color: #fff;
    padding: 60px 0;
}

#voice .section-title {
    color: #fff;
}

#voice .section-title::after {
    background-color: #fff;
}

/* Hide swiper pagination */
.swiper-pagination,
.swiper-pagination-bullets,
.swiper-pagination-horizontal {
    display: none !important;
}

.voice-swiper .swiper-pagination-bullet {
    background: #666;
    display: none !important;
}

/* SNS Buttons */
.sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #06C755;
    color: #fff;
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s;
}

.sns-btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .sns-container {
        justify-content: center !important;
        display: flex;
        width: 100%;
    }
}

.menu-overlay a.bg-white {
    color: #1E3A8A !important;
}