/* Prevent Flash of Unstyled Content (FOUC) */
html {
    visibility: hidden;
    opacity: 0;
}

html.loaded {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #333;
    background-color: #fefefe;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 769px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
    
    .logo {
        flex: 0 0 auto;
        margin-right: auto;
    }
    
    .nav-menu {
        margin-left: auto;
    }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-image {
    height: 58px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.logo-text {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 300;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: #d4a574;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    background-color: #f0f0f0;
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.hero-bg-img.active {
    opacity: 1 !important;
    z-index: 2;
}

.hero-bg-img.fade-out {
    opacity: 0 !important;
    z-index: 1;
}



/* 各画像の個別設定で確実に表示されるようにする */
#hero-img-1,
#hero-img-2,
#hero-img-3,
#hero-img-4 {
    display: block;
    visibility: visible;
}

/* 4枚目の画像が確実に表示されるように特別な設定 */
#hero-img-4 {
    z-index: 1;
}

#hero-img-4.active {
    z-index: 2 !important;
    opacity: 1 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 2;
}

/* Camera Flash Effect */
.camera-flash-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    animation: cameraFlash 4s ease-in-out infinite;
}

@keyframes cameraFlash {
    0%, 96.5%, 100% {
        opacity: 0;
    }
    97% {
        opacity: 1;
    }
    97.5% {
        opacity: 0;
    }
}

.hero-content-center {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-title .no-wrap {
    white-space: nowrap;
    display: block;
    text-align: left;
    margin-left: 0;
    text-indent: -2.5ch;
}

.title-main {
    font-weight: 300;
    color: #fff;
}

.title-sub {
    font-weight: 500;
    color: #f5e6d3;
    font-size: 0.8em;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(212, 165, 116, 0.9);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(212, 165, 116, 0.5);
}

/* Animations - ヒーローセクション用文字アニメーション */
.animated-text {
    text-align: center;
}

.animated-text .text-line {
    display: block;
    margin-bottom: 0.5rem;
}

.animated-text .text-line:nth-child(1),
.animated-text .text-line:nth-child(2) {
    font-family: 'Lora', serif;
    font-size: 4rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.animated-text .text-line:nth-child(2) {
    white-space: nowrap;
    margin-bottom: 2rem;
    transform: translateX(-1em);
}

.animated-text .text-line.description-line {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.2rem;
    margin-top: 1rem;
}

.animated-text .text-line.description-line:first-of-type {
    margin-top: 1.5rem;
}

.animated-text .char {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    transition-delay: calc(0.05s * var(--char-index));
}

.animated-text.is-active .char {
    opacity: 1;
}

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

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-title {
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #d4a574, #e8c5a0);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #999;
    max-width: 600px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: visible;
}

/* Concept Section */
.concept {
    background: linear-gradient(135deg, #faf9f7 0%, #f5f1eb 100%);
}

.concept-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.concept-item {
    margin-bottom: 3rem;
}

.concept-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.concept-item p {
    color: #666;
    line-height: 1.8;
}

.concept-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 10px;
}

.concept-image-title {
    text-align: center;
    margin-bottom: 20px;
}

.concept-image-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4a574;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    letter-spacing: 2px;
}

.concept-image img {
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* 中央揃え */
    position: relative;
    left: 2px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.corner-card {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(212, 165, 116, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 12px;
    z-index: 5;
    transition: all 0.3s ease;
}

.corner-card-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.corner-card-number {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
}

.corner-card-text {
    font-size: 0.8rem;
    color: white;
    font-weight: 400;
}

.gallery-item:hover .corner-card {
    transform: translateY(-2px);
    background: rgba(212, 165, 116, 1);
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: fit-content;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    pointer-events: auto;
}

.modal-close:hover {
    color: #d4a574;
}

#modalImage {
    width: 70vh;
    height: 70vh;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    pointer-events: auto;
}

.modal-caption {
    display: none;
}

.modal-caption p {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 300;
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile modal optimization */
@media (max-width: 768px) {
    .modal-content {
        padding: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    #modalImage {
        max-height: 70vh;
    }
    
    .modal-caption {
        margin-top: 15px;
        padding: 10px;
    }
    
    .modal-caption p {
        font-size: 1rem;
    }
}

.photographer-profile {
    position: relative;
}

.photographer-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-align: center;
    padding: 40px 20px 20px;
    z-index: 3;
}

.photographer-name h3 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.photographer-title {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 4;
}

.photographer-title h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    color: #d4a574;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    background: #f8f9fa;
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f5f1eb, #e8ddd4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* Process */
.process {
    margin-top: 80px;
}

.process-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 50px;
}

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

.process-step {
    text-align: center;
    position: relative;
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4a574, #e8c5a0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 500;
    font-size: 1.1rem;
}

.process-step h4 {
    color: #333;
    margin-bottom: 10px;
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #faf9f7 0%, #f5f1eb 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-author {
    text-align: left;
}

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

.author-info h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-align: left;
}

.author-info span {
    color: #999;
    font-size: 0.9rem;
    text-align: left;
}

/* Corporate Plan Section */
.corporate-plan {
    background: linear-gradient(135deg, #f5f1eb 0%, #faf9f7 100%);
    padding: 80px 0;
}

.corporate-banner {
    background: linear-gradient(135deg, #4a90c2 0%, #6ba8d6 100%);
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    color: white;
    box-shadow: 0 15px 35px rgba(74, 144, 194, 0.3);
    position: relative;
    overflow: hidden;
}

.corporate-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.corporate-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.corporate-icon {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    color: white;
    flex-shrink: 0;
}

.corporate-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.corporate-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.corporate-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.corporate-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.corporate-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
}

.corporate-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.corporate-price {
    margin-bottom: 25px;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
}

.corporate-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #5a9bd4;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.corporate-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.corporate-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* SNS Banner Section */
.sns-banner {
    background: #fefefe;
    padding: 80px 0;
}

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

.sns-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
}

.sns-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
}

.sns-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.sns-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.sns-button.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.sns-button.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: white;
}

.sns-button.twitter:hover {
    background: linear-gradient(135deg, #0d8bd9, #0a7bc4);
    transform: translateY(-2px);
}

.sns-button.facebook {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
}

.sns-button.facebook:hover {
    background: linear-gradient(135deg, #166fe5, #1464d8);
    transform: translateY(-2px);
}

.sns-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.sns-icon {
    flex-shrink: 0;
}

.sns-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sns-name {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.sns-handle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.sns-follow-text {
    margin-top: 20px;
}

.sns-follow-text p {
    color: #999;
    font-style: italic;
    font-size: 1rem;
}

/* Pricing Section */
.pricing {
    background: #f8f9fa;
    padding: 100px 0;
}

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

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid #d4a574;
    transform: scale(1.05);
}

/* 人気バッジのスタイル */
.popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    z-index: 10;
    transform: rotate(15deg);
    animation: popularPulse 2s ease-in-out infinite;
}

@keyframes popularPulse {
    0%, 100% {
        transform: rotate(15deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.05);
    }
}



.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 500;
    color: #d4a574;
    font-family: 'Lora', serif;
}

.price-unit {
    font-size: 0.9rem;
    color: #666;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.pricing-features li:last-child {
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
}

.pricing-note {
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pricing-note p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.pricing-note strong {
    color: #333;
}

/* Contact Section */
.contact {
    background: #fefefe;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item strong {
    color: #333;
    font-weight: 400;
}

.contact-item span {
    color: #666;
}

/* Contact Form */
.contact-form {
    background: #faf9f7;
    padding: 40px;
    border-radius: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 400;
}

.required {
    color: #d4a574;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
    transition: border-color 0.3s ease;
}

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

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

.submit-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #d4a574, #e8c5a0);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background: linear-gradient(135deg, #c19660, #d4a574);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

/* Footer */
.footer {
    background: #f5f5f5;
    color: #333;
    padding: 12px 0 20px;
    margin-top:0px;
}

.footer-content {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-logo .logo-image {
    margin-top: 9px;
}

.footer .logo-text {
    color: #333;
    font-size: 1.1rem;
}

.footer .logo-subtitle {
    color: #666;
}

.footer-text {
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile First Approach - Base styles for mobile */

/* iOS/Android Optimization */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Prevent zoom on input focus (iOS) */
input, select, textarea {
    font-size: 16px !important;
}

/* Touch-friendly minimum tap target size */
button, .cta-button, .submit-button, .corporate-button, .nav-menu a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Smooth scrolling for iOS */
* {
    -webkit-overflow-scrolling: touch;
}

/* ===== BREAKPOINT 1: Mobile Devices (320-767px) ===== */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 12px;
        padding: 0 12px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    /* Hero Section */
    .hero-content-center {
        padding: 20px 12px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 12px 24px;
        width: 100%;
        max-width: 280px;
    }
    
    /* Sections */
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Concept Section - Mobile Layout */
    .concept-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .concept-text {
        order: 1;
    }
    
    .concept-image {
        order: 2;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    /* Process */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    /* Corporate */
    .corporate-banner {
        grid-template-columns: 1fr;
        padding: 25px 15px;
        text-align: center;
    }
    
    .corporate-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .corporate-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* SNS */
    .sns-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .sns-button {
        min-width: 100%;
        max-width: 300px;
    }
    
    .sns-title {
        font-size: 1.4rem;
    }
}

/* ===== BREAKPOINT 2: Small Devices (480-767px) ===== */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    /* Hero */
    .hero-content-center {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    /* Concept Section - Mobile Layout */
    .concept-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .concept-text {
        order: 1;
    }
    
    .concept-image {
        order: 2;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Process */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* SNS */
    .sns-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .sns-button {
        min-width: 280px;
    }
}

/* ===== BREAKPOINT 3: Medium Devices (768-1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 20px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 3rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Process */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

/* ===== BREAKPOINT 4: Large Devices (1024-1199px) ===== */
@media (min-width: 1024px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Process */
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== BREAKPOINT 5: Extra Large Devices (1200-1439px) ===== */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1140px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Process */
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== BREAKPOINT 6: Ultra Wide Devices (1440px+) ===== */
@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Process */
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-bg-img {
        transform: none !important;
    }
    
    .fade-in, .fade-in-delay, .fade-in-delay-2 {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .nav {
        background: rgba(255, 255, 255, 1);
        border-bottom: 2px solid #333;
    }
    
    .cta-button, .submit-button, .corporate-button {
        border: 2px solid currentColor;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .nav {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .section-title, .hero-title {
        color: #fff;
    }
    
    .contact-form {
        background: #2a2a2a;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #333;
        color: #e0e0e0;
        border-color: #555;
    }
}

/* Print Styles */
@media print {
    .nav, .hero-background, .hero-overlay {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .hero-content-center {
        position: static;
        padding: 20pt 0;
    }
    
    .hero-title {
        color: #000;
        font-size: 24pt;
        text-shadow: none;
    }
    
    section {
        page-break-inside: avoid;
        padding: 20pt 0;
    }
    
    .gallery-item img {
        max-width: 100%;
        height: auto;
    }
}

/* Blog Section */
.blog {
    background: #faf9f7;
    padding: 100px 0;
}

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

.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
    flex: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
    display: block;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #d4a574;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

