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

:root {
    --color-primary: oklch(0.55 0.08 155);
    --color-primary-foreground: oklch(1 0 0);
    --color-background: oklch(0.98 0.01 45);
    --color-foreground: oklch(0.25 0.02 45);
    --color-card: oklch(1 0 0);
    --color-muted: oklch(0.93 0.01 45);
    --color-muted-foreground: oklch(0.45 0.02 45);
    --color-border: oklch(0.90 0.01 45);
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    max-width: 800px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
}

.logo-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-foreground);
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-link-mobile:hover {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-white {
    background-color: white;
    color: var(--color-foreground);
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    background-color: var(--color-muted);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

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

.hero-image {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Sections */
.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

.section-card {
    background-color: var(--color-card);
}

.section-muted {
    background-color: var(--color-muted);
}

.section-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.section-title {
    font-size: 1.875rem;
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-title-white {
    font-size: 1.875rem;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 768px) {
    .section-title-white {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--color-muted-foreground);
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle-white {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.75;
    text-align: center;
}

@media (min-width: 768px) {
    .lead-text {
        font-size: 1.25rem;
    }
}

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.card {
    background-color: var(--color-card);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-title-large {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.card-text {
    color: var(--color-muted-foreground);
}

/* Highlight */
.highlight-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .highlight-text {
        font-size: 1.5rem;
    }
}

/* Reasons */
.reasons {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 80rem;
    margin: 0 auto;
}

.reason {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .reason {
        flex-direction: row;
    }
    
    .reason-reverse {
        flex-direction: row-reverse;
    }
}

.reason-content {
    flex: 1;
}

.reason-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.75rem;
    color: rgba(var(--color-primary), 0.2);
    margin-bottom: 1rem;
}

.reason-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .reason-title {
        font-size: 1.875rem;
    }
}

.reason-text {
    color: var(--color-muted-foreground);
    line-height: 1.75;
}

.reason-image {
    flex: 1;
}

.reason-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Works */
.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    transition: transform 0.3s;
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay p {
    color: white;
    font-size: 0.875rem;
}

/* Flow */
.flow-container {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.flow-item {
    display: flex;
    gap: 1.5rem;
}

.flow-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.flow-content {
    flex: 1;
    padding-top: 0.5rem;
}

.flow-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.flow-text {
    color: var(--color-muted-foreground);
}

/* Instagram */
.instagram-icon {
    color: var(--color-primary);
    margin: 0 auto 1rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.instagram-item:hover {
    opacity: 0.9;
}

.instagram-item svg {
    color: rgba(0,0,0,0.2);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay span {
    color: white;
    font-size: 0.875rem;
}

/* FAQ */
.faq-container {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--color-card);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.faq-q {
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.faq-answer {
    color: var(--color-muted-foreground);
    padding-left: 1.5rem;
}

.faq-a {
    color: var(--color-primary);
    margin-right: 0.5rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-foreground);
}

.form-input,
.form-textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary), 0.1);
}

.form-textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: white;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-title {
    font-size: 1.25rem;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 600;
}

.phone-number:hover {
    text-decoration: underline;
}

.contact-hours {
    font-size: 0.875rem;
    opacity: 0.9;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.company-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.company-info-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.company-name {
    font-weight: 500;
}

.company-address {
    font-size: 0.875rem;
    opacity: 0.9;
}

.company-email:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--color-foreground);
    color: var(--color-background);
    padding: 2rem 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.125rem;
}

.footer-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-large {
    margin-bottom: 3rem;
}

.mt-large {
    margin-top: 3rem;
}

.mt-medium {
    margin-top: 2rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
