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

html {
    scroll-behavior: smooth;
}

/* Typography - Essential fonts only */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.section-title-main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-title-english {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.1;
}

.section-title-creative {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #9BC53D;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.title-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #7BA428;
    font-weight: 700;
    opacity: 0.3;
    background: linear-gradient(135deg, #7BA428 0%, #9BC53D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(123, 164, 40, 0.3);
    position: relative;
}

.title-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(123, 164, 40, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Mobile navigation - hidden by default */
.mobile-nav {
    display: none;
}

/* Page Top Button */
.page-top-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #7BA428 0%, #9BC53D 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(123, 164, 40, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.page-top-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9BC53D 0%, #7BA428 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-top-button:hover::before {
    opacity: 1;
}

.page-top-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.page-top-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(123, 164, 40, 0.4);
}

.page-top-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 20px rgba(123, 164, 40, 0.3);
}

.page-top-icon {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.page-top-button:hover .page-top-icon {
    transform: translateY(-2px);
}

.page-top-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}

.page-top-button:hover .page-top-icon svg {
    stroke-width: 3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Animation for the arrow */
.page-top-icon svg path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: drawArrow 0.6s ease-out forwards;
}

@keyframes drawArrow {
    to {
        stroke-dashoffset: 0;
    }
}

/* Floating animation */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.page-top-button.visible {
    animation: floatUpDown 3s ease-in-out infinite;
}

/* Mobile adjustments for page top button */
@media (max-width: 768px) {
    .page-top-button {
        bottom: 100px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .page-top-icon svg {
        width: 18px;
        height: 18px;
    }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    max-width: 100%;
    object-fit: contain;
}

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

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a.active {
    color: #9BC53D;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8fbc8f;
    transition: width 0.3s ease;
}

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

.nav-menu a.active::after {
    width: 100%;
    background: #9BC53D;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
    transition: background 3s ease;
}

/* Summer Sky Background for Sunny Weather */
.hero.sunny {
    background: linear-gradient(to bottom, 
        #87CEEB 0%,      /* 明るい空色 */
        #98D8E8 20%,     /* 少し薄い空色 */
        #B0E0E6 40%,     /* パウダーブルー */
        #E0F6FF 70%,     /* 地平線近くの薄い色 */
        #F0FFFF 100%     /* ほぼ白に近い水色 */
    );
}

/* Sunlight Effects Container */
.sunlight-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 3s ease;
}

.sunlight-container.active {
    opacity: 1;
}

/* Crepuscular Rays (薄明光線 - Angel's Ladder) */
.crepuscular-ray {
    position: absolute;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    transform-origin: top center;
    filter: blur(2px);
}

/* Main Sunbeams (太い光の柱) */
.main-sunbeam {
    position: absolute;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 10%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.2) 90%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(1px);
}

/* Rainbow - LeBOSQUETのtitle-line-2に重ねて配置 */
.rainbow {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(55vw, 500px);
    height: clamp(50px, 10vw, 70px);
    background: linear-gradient(
        to bottom,
        rgba(255, 0, 0, 0.5) 0%,
        rgba(255, 127, 0, 0.5) 14.3%,
        rgba(255, 255, 0, 0.5) 28.6%,
        rgba(0, 255, 0, 0.5) 42.9%,
        rgba(0, 0, 255, 0.5) 57.1%,
        rgba(75, 0, 130, 0.5) 71.4%,
        rgba(148, 0, 211, 0.5) 85.7%,
        rgba(148, 0, 211, 0.5) 100%
    );
    opacity: 0;
    transition: opacity 4s ease;
    border-radius: 100px 100px 0 0;
    mask: linear-gradient(to right, 
        transparent 0%,
        rgba(0, 0, 0, 0.3) 10%,
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 1) 80%,
        rgba(0, 0, 0, 0.3) 90%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(to right, 
        transparent 0%,
        rgba(0, 0, 0, 0.3) 10%,
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 1) 80%,
        rgba(0, 0, 0, 0.3) 90%,
        transparent 100%
    );
}

.sunlight-container.active .rainbow {
    opacity: 0.6;
    animation: rainbowAppear 12s ease-in-out;
}

@keyframes rainbowAppear {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    20% {
        opacity: 0.6;
        filter: blur(2px);
    }
    80% {
        opacity: 0.6;
        filter: blur(2px);
    }
    100% {
        opacity: 0.4;
        filter: blur(5px);
    }
}

/* Summer particles - 光の粒子 */
.summer-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle 15s linear infinite;
}

.petal {
    position: absolute;
    width: 10px;
    height: 15px;
    background: linear-gradient(45deg, 
        #FFB6C1 0%, 
        #FFC0CB 50%, 
        #FFDAB9 100%
    );
    border-radius: 0 100% 0 100%;
    opacity: 0.8;
    animation: petalFall 10s linear infinite;
}

@keyframes petalFall {
    0% {
        transform: translateY(-100vh) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    15% {
        transform: translateY(-70vh) translateX(30px) rotate(45deg) scale(1.1);
    }
    25% {
        transform: translateY(-50vh) translateX(-20px) rotate(90deg) scale(0.9);
    }
    35% {
        transform: translateY(-30vh) translateX(40px) rotate(135deg) scale(1.2);
    }
    45% {
        transform: translateY(-10vh) translateX(-30px) rotate(180deg) scale(0.8);
    }
    55% {
        transform: translateY(10vh) translateX(25px) rotate(225deg) scale(1.1);
    }
    65% {
        transform: translateY(30vh) translateX(-35px) rotate(270deg) scale(0.9);
    }
    75% {
        transform: translateY(50vh) translateX(20px) rotate(315deg) scale(1);
    }
    85% {
        transform: translateY(70vh) translateX(-15px) rotate(360deg) scale(0.8);
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) translateX(10px) rotate(405deg) scale(0.5);
        opacity: 0;
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Hero content adjustments for sunny weather */
.hero.sunny .hero-content {
    animation: heroSummerGlow 3s ease-in-out;
}

.hero.sunny .cta-button {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.hero.sunny .cta-button:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.hero.sunny .hero-title .title-line-1,
.hero.sunny .hero-title .title-line-2 {
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

.hero.sunny .hero-title .title-line-3 {
    color: #27ae60;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

.hero.sunny .hero-subtitle {
    color: #34495e;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.hero.sunny .scroll-indicator {
    color: #2c3e50;
}

@keyframes heroSummerGlow {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1) contrast(1.1) saturate(1.2);
    }
    100% {
        filter: brightness(1);
    }
}

/* Rain Animation */
.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 2s ease;
}

.rain-container.clearing {
    opacity: 0.3;
}

.rain-container.clear {
    opacity: 0;
}

.rain {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1));
    animation: rainFall linear infinite;
    opacity: 0.8;
}

.rain:nth-child(odd) {
    background: linear-gradient(to bottom, rgba(135, 206, 235, 0.7), rgba(173, 216, 230, 0.2));
}

.rain:nth-child(3n) {
    background: linear-gradient(to bottom, rgba(175, 238, 238, 0.6), rgba(176, 224, 230, 0.1));
}

/* 濃いブルーの雨粒 */
.rain.deep-blue {
    background: linear-gradient(to bottom, rgba(70, 130, 180, 0.8), rgba(100, 149, 237, 0.4));
    width: 3px;
    opacity: 0.7;
    box-shadow: 0 0 6px rgba(70, 130, 180, 0.6);
}

.rain.bounce {
    animation: rainBounce 0.3s ease-out forwards;
}

@keyframes rainFall {
    0% {
        top: -100px;
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

@keyframes rainBounce {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    30% {
        transform: translateY(-15px) scale(1.2);
        opacity: 0.9;
    }
    60% {
        transform: translateY(-8px) scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: translateY(5px) scale(0);
        opacity: 0;
    }
}

/* Rain ripple effects */
.rain-ripple {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rippleEffect 2s ease-out infinite;
    pointer-events: none;
}

.text-splash {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: textSplash 0.5s ease-out forwards;
    pointer-events: none;
}

@keyframes textSplash {
    0% {
        transform: scale(0) translateY(0);
        opacity: 1;
    }
    30% {
        transform: scale(1.5) translateY(-10px);
        opacity: 0.8;
    }
    70% {
        transform: scale(1) translateY(-5px);
        opacity: 0.4;
    }
    100% {
        transform: scale(0) translateY(3px);
        opacity: 0;
    }
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 30px;
        height: 30px;
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.title-line {
    display: block;
    position: relative;
    overflow: hidden;
}

.title-line-1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

.title-line-2 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

.title-line-3 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #8fbc8f;
    font-family: 'Inter', 'Montserrat', sans-serif;
    text-shadow: 0 2px 10px rgba(143, 188, 143, 0.3);
}

.title-line-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
    animation: titleShine 2s ease-out;
    animation-delay: 0.5s;
}

.title-line-2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
    animation: titleShine 2s ease-out;
    animation-delay: 1s;
}

.title-line-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(143,188,143,0.8) 50%, transparent 100%);
    animation: titleShine 2s ease-out;
    animation-delay: 1.5s;
}

.title-decoration {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #8fbc8f 50%, transparent 100%);
    animation: decorationGrow 1s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #cccccc;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.8s;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #7BA428 0%, #9BC53D 100%);
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 2.1s;
    box-shadow: 0 10px 30px rgba(123, 164, 40, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(123, 164, 40, 0.4);
}

.button-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #cccccc;
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 2.5s;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #cccccc, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: #f5f9ec;
}

/* Portfolio Section - 可読性向上 */
.portfolio .section-title .title-number {
    color: #4d5d2c;
    background: linear-gradient(135deg, #4d5d2c 0%, #6b7c32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(77, 93, 44, 0.3);
}

.portfolio .section-title-creative {
    color: #5a6b37;
}

.portfolio .section-title-english {
    color: #3a4628;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(107, 124, 50, 0.1);
    box-shadow: 0 4px 15px rgba(107, 124, 50, 0.15);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(107, 124, 50, 0.25);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 249, 236, 0.95) 0%, rgba(107, 124, 50, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-info {
    text-align: center;
    padding: 2rem;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #3a4628;
    font-weight: 600;
}

.portfolio-info p {
    color: #5a6b37;
    margin-bottom: 1rem;
    font-weight: 500;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 0.3rem 0.8rem;
    background: rgba(107, 124, 50, 0.15);
    border: 1px solid rgba(107, 124, 50, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #3a4628;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* More Works Placeholder */
.more-works-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f9ec 0%, #edf2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #6b7c32;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.portfolio-item:hover .more-works-placeholder {
    background: linear-gradient(135deg, #edf2e6 0%, #e5eed8 100%);
    border-color: #5a6b37;
}

.more-works-content {
    text-align: center;
    padding: 2rem;
    color: #5a6b37;
}

.more-works-icon {
    font-size: 3rem;
    font-weight: 300;
    color: #6b7c32;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .more-works-icon {
    transform: scale(1.2);
}

.more-works-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3a4628;
    margin-bottom: 1rem;
}

.more-works-content p {
    font-size: 0.9rem;
    color: #5a6b37;
    line-height: 1.6;
}

/* About Section - リニューアルデザイン */
.about {
    padding: 8rem 0;
    background: #9bc53d;
    position: relative;
    overflow: hidden;
}

.about .container {
    position: relative;
    z-index: 1;
}

/* ロゴマーク追加 - about-description h3の左に配置 */
.about-description h3 {
    color: #2c5530;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-style: italic;
    text-align: left;
    padding-left: 70px;
    background-image: url(https://web-atelier.net/images/logomark.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    min-height: 60px;
    display: flex;
    align-items: center;
}

/* About タイトルの調整 */
.about .section-title .title-number {
    color: #2c5530;
    background: linear-gradient(135deg, #2c5530 0%, #1a3a1d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(44, 85, 48, 0.3);
}

.about .section-title-creative {
    color: #1a3a1d;
}

.about .section-title-english {
    color: #2c5530;
}

.about-intro {
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #7BA428;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.2);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #2c5530 20%, 
        #7BA428 80%, 
        transparent 100%
    );
}

.service-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #2c5530;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(44, 85, 48, 0.3);
}

.service-icon {
    width: 104px;
    height: 104px;
    display: block;
    margin: 0 auto 1.5rem auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(44, 85, 48, 0.3));
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.service-item p {
    color: #1a3a1d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.role-note {
    text-align: center;
    color: #2c5530;
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 1rem;
    font-weight: 500;
}

.about-description {
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid #7BA428;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 50px rgba(44, 85, 48, 0.2);
}

.about-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #2c5530 20%, 
        #7BA428 80%, 
        transparent 100%
    );
}

.about-description::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        #2c5530 20%, 
        #7BA428 80%, 
        transparent 100%
    );
}

.about-description p {
    font-size: 1.05rem;
    color: #1a3a1d;
    margin-bottom: 1.8rem;
    line-height: 1.8;
    text-align: justify;
    font-weight: 500;
}

.about-description p:last-child {
    margin-bottom: 0;
}

/* Highlight key phrases */
.about-description p strong {
    color: #2c5530;
    font-weight: 700;
    text-shadow: none;
}

/* Production Flow */
.production-flow {
    margin-top: 3rem;
}

.flow-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.flow-intro h3 {
    color: #2c5530;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.flow-intro p {
    color: #1a3a1d;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.flow-step {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #7BA428;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.2);
}

.flow-step:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #2c5530;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.3);
}

/* Highlight steps 6 and 7 */
.flow-step.highlight {
    background: rgba(44, 85, 48, 0.95);
    border: 3px solid #2c5530;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.4);
}

.flow-step.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #7BA428 20%, 
        #9bc53d 80%, 
        transparent 100%
    );
}

.flow-step.highlight:hover {
    background: rgba(44, 85, 48, 1);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(44, 85, 48, 0.5);
}

.flow-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #7BA428;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.flow-step.highlight .flow-number {
    background: #9bc53d;
    color: #2c5530;
    font-weight: 800;
}

.flow-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 0.8rem;
}

.flow-step.highlight .flow-title {
    color: #ffffff;
}

.flow-description {
    color: #1a3a1d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.flow-step.highlight .flow-description {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.flow-emphasis {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #7BA428;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.2);
}

.flow-emphasis h4 {
    color: #2c5530;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.flow-emphasis p {
    color: #1a3a1d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: #8ab181;
}

/* Contact Section - 可読性向上 */
.contact .section-title .title-number {
    color: #2c4c2a;
    background: linear-gradient(135deg, #2c4c2a 0%, #1e3a1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(44, 76, 42, 0.3);
}

.contact .section-title-creative {
    color: #1e3a1c;
}

.contact .section-title-english {
    color: #2c4c2a;
}

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

.contact-description {
    font-size: 1.3rem;
    color: #2c4c2a;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.9rem;
    color: #1e3a1c;
    font-weight: 700;
}

.contact-value {
    color: #2c4c2a;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item a {
    color: #2c4c2a;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-item a:hover {
    color: #1e3a1c;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-list-item {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(44, 76, 42, 0.3);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #2c4c2a;
    transition: all 0.3s ease;
    font-weight: 600;
}

.service-list-item:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(44, 76, 42, 0.5);
    transform: translateY(-2px);
    color: #1e3a1c;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.area-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(44, 76, 42, 0.4);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    color: #2c4c2a;
    transition: all 0.3s ease;
    font-weight: 600;
}

.area-item:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(44, 76, 42, 0.6);
    transform: translateY(-1px);
    color: #1e3a1c;
}

/* ダークエレガント カード式フォームのスタイル */
.card-elegant-dark {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
}

.card-elegant-dark .form-card {
    background: linear-gradient(135deg, 
        rgba(42, 42, 42, 0.8) 0%, 
        rgba(26, 26, 26, 0.9) 50%,
        rgba(34, 34, 34, 0.8) 100%
    );
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(155, 197, 61, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-elegant-dark .form-card:hover {
    border-color: rgba(155, 197, 61, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(155, 197, 61, 0.1);
}

.card-elegant-dark .form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #9BC53D 20%, 
        #7BA428 80%, 
        transparent 100%
    );
}

.card-elegant-dark .form-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        #9BC53D 20%, 
        #7BA428 80%, 
        transparent 100%
    );
}

.card-elegant-dark .form-label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-elegant-dark .required {
    color: #ff8a65;
}

.card-elegant-dark .form-control {
    width: 100%;
    padding: 1.3rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.card-elegant-dark .form-control:focus {
    border-color: #9BC53D;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(155, 197, 61, 0.2), 
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
    outline: none;
}

.card-elegant-dark .form-control.error {
    border-color: #ff8a65;
    background: rgba(255, 138, 101, 0.1);
}

.card-elegant-dark .form-control.error:focus {
    border-color: #ff8a65;
    box-shadow: 0 0 0 3px rgba(255, 138, 101, 0.2), 
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-elegant-dark .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.card-elegant-dark select.form-control {
    cursor: pointer;
    padding-right: 2.5rem;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23ffffff" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.card-elegant-dark select.form-control option {
    background: #2a2a2a;
    color: #ffffff;
    padding: 0.5rem;
}

.card-elegant-dark textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.card-elegant-dark .char-count {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    pointer-events: none;
}

.card-elegant-dark .char-count.warning {
    color: #ff8a65;
    background: rgba(255, 138, 101, 0.2);
}

.card-elegant-dark .error-message {
    color: #ff8a65;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
    background: rgba(255, 138, 101, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 3px solid #ff8a65;
}

.card-elegant-dark .error-message.show {
    display: block;
}

.card-elegant-dark .checkbox-group {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px dashed rgba(155, 197, 61, 0.4) !important;
    padding: 1.5rem !important;
    border-radius: 16px !important;
    text-align: center;
}

.card-elegant-dark .checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 500;
}

.card-elegant-dark .checkbox-label input[type="checkbox"] {
    display: none;
}

.card-elegant-dark .checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #9BC53D;
    border-radius: 6px;
    background: transparent;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.card-elegant-dark .checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #9BC53D;
    transform: scale(1.1);
}

.card-elegant-dark .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

.card-elegant-dark .checkbox-text {
    color: #cccccc;
    flex: 1;
}

.card-elegant-dark .privacy-link-form {
    color: #9BC53D;
    text-decoration: none;
    border-bottom: 1px solid rgba(155, 197, 61, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.card-elegant-dark .privacy-link-form:hover {
    color: #7BA428;
    border-bottom-color: #7BA428;
    text-shadow: 0 0 5px rgba(155, 197, 61, 0.5);
}

.elegant-submit {
    background: linear-gradient(135deg, #7BA428 0%, #9BC53D 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1.3rem 2.5rem !important;
    border-radius: 16px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    box-shadow: 0 8px 25px rgba(155, 197, 61, 0.3) !important;
}

.elegant-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
    transition: left 0.5s ease;
}

.elegant-submit:hover::before {
    left: 100%;
}

.elegant-submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(155, 197, 61, 0.4) !important;
}

.elegant-submit:disabled {
    background: linear-gradient(135deg, #666666 0%, #888888 100%) !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    transform: none !important;
    box-shadow: none !important;
}

.elegant-submit.loading {
    pointer-events: none;
}

.elegant-submit.loading .button-text {
    opacity: 0.7;
}

.card-elegant-dark .loading-spinner {
    display: none;
    animation: spin 1s linear infinite;
}

.elegant-submit.loading .loading-spinner {
    display: inline-block;
}

.card-elegant-dark .form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
    font-weight: 500;
}

.card-elegant-dark .form-message.success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    display: block;
}

.card-elegant-dark .form-message.error {
    background: rgba(255, 138, 101, 0.15);
    border: 1px solid rgba(255, 138, 101, 0.3);
    color: #ff8a65;
    display: block;
}

/* アニメーション効果 */
.card-elegant-dark .form-card {
    animation: fadeInUp 0.6s ease-out;
}

.card-elegant-dark .form-card:nth-child(1) { animation-delay: 0.1s; }
.card-elegant-dark .form-card:nth-child(2) { animation-delay: 0.2s; }
.card-elegant-dark .form-card:nth-child(3) { animation-delay: 0.3s; }
.card-elegant-dark .form-card:nth-child(4) { animation-delay: 0.4s; }
.card-elegant-dark .form-card:nth-child(5) { animation-delay: 0.5s; }
.card-elegant-dark .form-card:nth-child(6) { animation-delay: 0.6s; }
.card-elegant-dark .form-card:nth-child(7) { animation-delay: 0.7s; }

/* Footer */
.footer {
    background: #111111;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #8fbc8f;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.privacy-link {
    color: #8fbc8f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(143, 188, 143, 0.3);
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(143, 188, 143, 0.2);
    background: linear-gradient(135deg, rgba(107, 124, 50, 0.1) 0%, rgba(143, 188, 143, 0.05) 100%);
}

.modal-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    color: #cccccc;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #8fbc8f;
}

.modal-body {
    padding: 2rem;
    color: #cccccc;
    line-height: 1.7;
}

.modal-body h3 {
    color: #8fbc8f;
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

/* Weather Toggle Switch */
.weather-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
}

.weather-toggle.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.weather-switch-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.5px;
}

.weather-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.3rem;
    border-radius: 6px;
}

.weather-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.weather-radio {
    display: none;
}

.weather-radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #666;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
}

.weather-radio:checked + .weather-radio-custom {
    border-color: #8fbc8f;
    background: #8fbc8f;
}

.weather-radio:checked + .weather-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
}

.weather-label-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.weather-icon-simple {
    font-size: 1rem;
}

/* Animations */
@keyframes titleShine {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes decorationGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100px;
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #6b7c32;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8fbc8f;
}

/* Responsive */
@media (max-width: 768px) {
    /* Header adjustments for mobile */
    .header {
        position: fixed;
        top: 0;
        background: rgba(10, 10, 10, 0.95);
    }
    
    .nav {
        justify-content: flex-start; /* Left align logo on mobile */
        padding: 0.8rem 15px;
    }
    
    .nav-menu {
        display: none; /* Hide top navigation on mobile */
    }
    
    /* Mobile bottom navigation */
    .mobile-nav {
        display: block; /* Show mobile nav on mobile */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        padding: 0.8rem 0;
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-nav-menu {
        display: flex;
        justify-content: space-around;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        max-width: 100%;
    }
    
    .mobile-nav-menu li {
        flex: 1;
        text-align: center;
    }
    
    .mobile-nav-menu a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #cccccc;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        padding: 1rem 0.5rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
        min-height: 50px;
    }
    
    .mobile-nav-menu a:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .mobile-nav-menu a.active {
        color: #9BC53D;
        background: rgba(155, 197, 61, 0.15);
        transform: translateY(-2px);
    }
    
    .mobile-nav-menu a.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 3px;
        background: #9BC53D;
        border-radius: 0 0 3px 3px;
    }
    
    /* Add padding to body to account for fixed bottom nav */
    body {
        padding-bottom: 80px;
    }
    
    .hero {
        min-height: 500px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
        margin-bottom: 1.5rem;
    }
    
    .title-line-1 {
        font-size: clamp(1.1rem, 3vw, 2rem);
        letter-spacing: 0.05em;
        margin-bottom: 0.3rem;
    }
    
    .title-line-2 {
        font-size: clamp(2.2rem, 6vw, 4rem);
        letter-spacing: 0.02em;
        margin-bottom: 0.3rem;
    }
    
    .title-line-3 {
        font-size: clamp(0.9rem, 2.5vw, 1.5rem);
        letter-spacing: 0.01em;
        line-height: 1.3;
        word-break: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: clamp(0.85rem, 1.8vw, 1rem);
        margin-bottom: 2rem;
        padding: 0 20px;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: clamp(0.75rem, 1.8vw, 0.9rem);
        gap: 0.6rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 4vw, 3rem);
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-title-english {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .section-title-creative {
        font-size: clamp(1rem, 2vw, 1.4rem);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 0.8rem 15px;
    }
    
    .logo {
        flex-shrink: 0;
        max-width: 60%;
    }
    
    .logo img {
        height: 32px;
        max-width: 100%;
    }
    
    .hero, .portfolio, .about, .contact {
        padding: 4rem 0;
    }
    
    .about-description {
        margin-bottom: 3rem;
        padding: 2rem;
        border-radius: 16px;
    }
    
    .about-description h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-description p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .flow-steps {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .flow-step {
        padding: 1.2rem;
    }
    
    .flow-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .flow-title {
        font-size: 1rem;
    }
    
    .flow-description {
        font-size: 0.85rem;
    }
    
    .flow-emphasis {
        padding: 1.5rem;
    }
    
    .flow-emphasis h4 {
        font-size: 1.1rem;
    }
    
    .flow-emphasis p {
        font-size: 0.9rem;
    }
    
    .weather-toggle {
        top: 80px;
        right: 20px;
        padding: 0.8rem;
    }
    
    .weather-switch-title {
        font-size: 0.75rem;
    }
    
    .weather-label-text {
        font-size: 0.75rem;
    }
    
    .weather-icon-simple {
        font-size: 0.8rem;
    }
    
    .rainbow {
        top: 38%;
        width: min(40vw, 280px);
        height: clamp(28px, 5vw, 45px);
    }
    
    /* About セクションのh3調整 */
    .about-description h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        padding-left: 50px; /* モバイルでは小さめのパディング */
        min-height: 45px; /* モバイル用の高さ調整 */
        background-size: 40px; /* モバイルでロゴマークサイズを指定 */
    }
    
    .service-icon {
        width: 91px;
        height: 91px;
    }
    
    .card-elegant-dark .form-control {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .card-elegant-dark .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .elegant-submit {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.85rem !important;
    }
    
    .card-elegant-dark .checkbox-group {
        padding: 1rem !important;
    }
    
    .card-elegant-dark .checkbox-label {
        font-size: 0.85rem;
    }

    /* Modal responsive */
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 70vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h3 {
        font-size: 1rem;
    }
    
    .modal-body p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        padding: 0 10px;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .title-line-1 {
        font-size: clamp(1rem, 2.8vw, 1.6rem);
        letter-spacing: 0.03em;
    }
    
    .title-line-2 {
        font-size: clamp(2rem, 5.5vw, 3rem);
        letter-spacing: 0.01em;
    }
    
    .title-line-3 {
        font-size: clamp(0.8rem, 2.2vw, 1.2rem);
        letter-spacing: 0;
        line-height: 1.4;
        padding: 0 5px;
    }
    
    .hero-subtitle {
        font-size: clamp(0.8rem, 1.6vw, 0.95rem);
        margin-bottom: 1.5rem;
        padding: 0 15px;
        line-height: 1.6;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: clamp(0.7rem, 1.6vw, 0.85rem);
        gap: 0.5rem;
    }
    
    .nav {
        padding: 0.6rem 10px;
    }
    
    .logo {
        max-width: 55%;
    }
    
    .logo img {
        height: 28px;
    }
    
    .scroll-indicator {
        bottom: 1rem;
        font-size: clamp(0.7rem, 1.4vw, 0.8rem);
    }
    
    .portfolio-info {
        padding: 1.5rem;
    }
    
    .portfolio-info h3 {
        font-size: 1.2rem;
    }
    
    .weather-toggle {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .weather-switch-title {
        font-size: 0.8rem;
    }
    
    .weather-label-text {
        font-size: 0.8rem;
    }
    
    .weather-icon-simple {
        font-size: 0.9rem;
    }
    
    .rainbow {
        top: 40%;
        width: min(45vw, 350px);
        height: clamp(35px, 7vw, 55px);
    }
    
    .service-icon {
        width: 98px;
        height: 98px;
    }
    
    .card-elegant-dark .form-control {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .card-elegant-dark .form-label {
        font-size: 0.9rem;
    }
    
    .elegant-submit {
        padding: 1rem 2rem !important;
        font-size: 0.9rem !important;
    }
    
    .card-elegant-dark .checkbox-custom {
        width: 20px;
        height: 20px;
    }
    
    .card-elegant-dark .checkbox-label {
        font-size: 0.9rem;
        gap: 0.8rem;
    }
    
    .card-elegant-dark .char-count {
        font-size: 0.75rem;
    }
}