/* ===================================
   グローバルスタイル
   =================================== */
:root {
    /* カラーパレット - ロゴに合わせた鮮やかなブルー */
    --primary-blue: #1A8CD8;
    --dark-blue: #1570B8;
    --light-blue: #4BA5E5;
    --black: #2C3E50;
    --dark-gray: #34495E;
    --gray: #546E7A;
    --light-gray: #7B8A96;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    
    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, #1570B8 0%, #1A8CD8 100%);
    --gradient-hero: linear-gradient(135deg, #2C3E50 0%, #1570B8 50%, #1A8CD8 100%);
    --gradient-dark: linear-gradient(180deg, #2C3E50 0%, #34495E 100%);
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-blue: 0 8px 32px rgba(26, 140, 216, 0.3);
    
    /* トランジション */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* フォント */
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ja);
    color: var(--gray);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 35px;
    width: auto;
    background: transparent;
    mix-blend-mode: normal;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--light-gray);
    font-weight: 400;
    line-height: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}

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

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

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

.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-blue);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.4);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    box-shadow: 0 0 10px var(--primary-blue);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 30px;
}

.hero-title-main {
    display: block;
    font-size: 56px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out;
}

.hero-title-sub {
    display: block;
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

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

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-out 1s backwards;
}

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

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* ===================================
   セクションヘッダー
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--primary-blue);
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

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

.section-description {
    font-size: 18px;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   サービスセクション
   =================================== */
.services {
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    color: var(--white);
}

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

.service-description {
    font-size: 15px;
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--primary-blue);
    font-size: 12px;
}

/* ===================================
   強みセクション
   =================================== */
.strengths {
    background: var(--gradient-dark);
    color: var(--white);
}

.strengths .section-label {
    color: var(--light-blue);
}

.strengths .section-title {
    color: var(--white);
}

.strengths .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.strengths-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.strength-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.strength-number {
    font-family: var(--font-en);
    font-size: 80px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.3;
}

.strength-info {
    flex: 1;
}

.strength-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.strength-title i {
    color: var(--primary-blue);
}

.strength-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
}

.strength-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.strength-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--light-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===================================
   会社概要セクション
   =================================== */
.about {
    background: var(--off-white);
    padding: 100px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.about-logo {
    text-align: center;
    margin-bottom: 40px;
}

.about-logo img {
    height: 80px;
    width: auto;
    background: transparent;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #E0E0E0;
}

.about-item:last-child {
    border-bottom: none;
}

.about-label {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 16px;
}

.about-value {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}

.about-value ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-value ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.about-value ul li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

/* ===================================
   課題解決セクション
   =================================== */
.solutions {
    background: var(--off-white);
}

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

.solution-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.solution-problem {
    text-align: center;
    padding-bottom: 25px;
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B6B, #FF4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
}

.solution-problem h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.solution-problem p {
    font-size: 14px;
    color: var(--light-gray);
    line-height: 1.6;
}

.solution-arrow {
    text-align: center;
    padding: 15px 0;
    color: var(--primary-blue);
    font-size: 24px;
}

.solution-answer {
    text-align: center;
    padding-top: 25px;
    border-top: 2px dashed rgba(0, 102, 255, 0.2);
}

.answer-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
}

.solution-answer h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.solution-answer p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===================================
   お問い合わせセクション
   =================================== */
.contact {
    background: var(--gradient-dark);
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.benefit-item i {
    color: var(--primary-blue);
    font-size: 18px;
}

.contact-company {
    padding: 25px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
}

.contact-company h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.contact-company p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
}

.required {
    color: #FF4757;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-ja);
    color: var(--gray);
    transition: var(--transition);
    background: var(--white);
}

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

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

.form-privacy {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-submit {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-blue);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.5);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
    display: block;
}

.form-message.error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
    display: block;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    background: transparent;
    mix-blend-mode: normal;
}

.footer-logo .logo-text {
    font-size: 24px;
    color: var(--white);
}

.footer-logo .logo-subtitle {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
}

.footer-nav h4,
.footer-services h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-services ul {
    list-style: none;
}

.footer-nav ul li,
.footer-services ul li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-blue);
}

.footer-services ul li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   アニメーション（AOS風）
   =================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--black);
        padding: 100px 40px 40px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .cta-button {
        display: none;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
    
    .hero-title-main {
        font-size: 42px;
    }
    
    .hero-title-sub {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .strength-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .strength-number {
        font-size: 60px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .about-card {
        padding: 30px 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-title-main {
        font-size: 34px;
    }
    
    .hero-title-sub {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .strength-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .hero-title-main {
        font-size: 28px;
    }
    
    .hero-title-sub {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .strength-title {
        font-size: 22px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .about-card {
        padding: 25px 20px;
    }
    
    .about-logo img {
        height: 60px;
    }
}
