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

:root {
    /* Color Palette */
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent-color: #f97316;
    --accent-dark: #ea580c;
    --accent-light: #fb923c;
    --gradient-orange: linear-gradient(135deg, #fcd34d 0%, #f97316 50%, #c2410c 100%);
    --gradient-orange-hover: linear-gradient(135deg, #fbbf24 0%, #ea580c 50%, #b91c1c 100%);
    --gradient-orange-light: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    
    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Header Styles
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-normal);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: color var(--transition-fast);
}

.header-phone:hover {
    color: var(--accent-color);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all var(--transition-normal);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-mountains-original.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 25% 30%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.2) 25%, transparent 50%),
        radial-gradient(ellipse at 30% 25%, rgba(255, 255, 255, 0.25) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 35%, rgba(255, 255, 255, 0.2) 0%, transparent 35%),
        linear-gradient(to bottom, rgba(30, 58, 138, 0.3) 0%, rgba(30, 58, 138, 0.55) 100%);
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 25%;
    width: 350px;
    height: 350px;
    background: radial-gradient(ellipse, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.5) 20%,
        rgba(255, 255, 255, 0.3) 40%,
        transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    animation: panelReflection 5s ease-in-out infinite alternate;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 30%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.3) 30%,
        transparent 55%);
    border-radius: 50%;
    filter: blur(50px);
    animation: panelReflection 4s ease-in-out infinite alternate-reverse;
}

@keyframes panelReflection {
    0% {
        opacity: 0.6;
        transform: scale(1) translateX(0);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.08) translateX(5px);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.05) translateX(10px);
    }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

.hero-logo-text {
    margin-bottom: 30px;
}

.hero-logo-mark {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
}

.hero-company-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 6px 12px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: linear-gradient(135deg, #fde047 0%, #fcd34d 20%, #fbbf24 40%, #fb923c 60%, #f97316 80%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.8));
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 1;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    padding: 15px 30px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    font-weight: 500;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-plus,
.stat-range,
.stat-unit {
    color: var(--accent-light);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 12px;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

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

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, white);
}

/* ===================================
   Button Styles
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-orange);
    color: white;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-header {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-cta {
    background: white;
    color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ===================================
   Achievements Section
   =================================== */
.achievements {
    padding: var(--section-padding);
    background: var(--bg-light);
}

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

.achievement-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: white;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
}

/* ===================================
   Service Section
   =================================== */
.service {
    padding: var(--section-padding);
    background: white;
}

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

.service-description {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.service-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-benefits li:last-child {
    border-bottom: none;
}

.service-benefits i {
    color: var(--accent-color);
    font-size: 24px;
    flex-shrink: 0;
}

.service-benefits strong {
    display: block;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.service-benefits span {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
}

.service-visual {
    position: relative;
}

.service-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.service-image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(249, 115, 22, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.service-image-badge i {
    font-size: 20px;
}

.energy-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.energy-flow i {
    font-size: 32px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.energy-flow i:nth-child(1) {
    color: #fbbf24;
}

.flow-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, white);
    position: relative;
}

.flow-line::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #fcd34d 0%, #f97316 50%, #c2410c 100%);
    color: white;
    text-align: center;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
}

.cta-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.note-divider {
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 20px 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    background-color: white;
    padding: 10px 20px;
    border-radius: 8px;
}

.company-description {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-light);
}

.area-list,
.link-list {
    list-style: none;
}

.area-list li,
.link-list li {
    margin-bottom: 12px;
}

.link-list a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.link-list a:hover {
    color: var(--accent-light);
}

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

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav,
    .header-phone {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-logo-mark {
        height: 60px;
    }
    
    .hero-company-name {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .achievement-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-note {
        flex-direction: column;
        gap: 15px;
    }
    
    .note-divider {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 26px;
    }
}
