/* 
===================================
LuXion - スタイルシート
Version: 1.0
Author: 麓光星
Website: https://luxion.jp
===================================
目次:
1. リセットとベーススタイル
2. ヘッダー
3. ナビゲーション
4. メインビジュアル
5. セクション共通スタイル
6. サービス
7. 特徴
8. 実績
9. お知らせ
10. お問い合わせ
11. フッター
12. レスポンシブスタイル
===================================
*/

/* 1. リセットとベーススタイル
===================================*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --secondary-color: #37474f;
    --accent-color: #ff5722;
    --light-color: #f5f5f5;
    --dark-color: #212121;
    --gray-color: #757575;
    --gray-light: #e0e0e0;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-accent: 'Roboto', sans-serif;
}

html {
    font-size: 62.5%;
    /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
}

/* 2. ヘッダー
===================================*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 8rem;
    padding: 0 3rem;
}

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

.logo h1 {
    font-family: var(--font-accent);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: 1px;
}

.logo p {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-top: -0.5rem;
}

/* 3. ナビゲーション
===================================*/
.nav-pc ul {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-pc li a {
    position: relative;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--secondary-color);
    padding: 0.5rem 0;
}

.nav-pc li a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-pc li a:hover::after,
.nav-pc li a.active::after {
    width: 100%;
}

.nav-pc li a.active {
    color: var(--primary-color);
}

.nav-pc li a.contact-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5rem;
}

.nav-pc li a.contact-btn:hover {
    background-color: var(--primary-dark);
}

.nav-pc li a.contact-btn::after {
    display: none;
}

/* スマホ用ナビゲーション */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-sp {
    display: none;
    position: fixed;
    top: 8rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 8rem);
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 900;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.nav-sp.active {
    transform: translateX(0);
}

.nav-sp ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 3rem;
}

.nav-sp li a {
    font-size: 2rem;
    font-weight: 500;
    color: var(--secondary-color);
}

/* 4. メインビジュアル
===================================*/
.main-visual {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(21, 101, 192, 0.3) 100%),
        url('/api/placeholder/1600/900') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8rem;
}

.main-visual-content {
    text-align: center;
    padding: 0 2rem;
}

.main-visual h2 {
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 2rem;
}

.main-visual h2 .accent {
    color: var(--primary-color);
}

.main-visual p {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    line-height: 1.8;
}

.btn-container {
    margin-top: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark-color);
    font-size: 1.2rem;
    opacity: 0.7;
}

.scroll-arrow {
    margin-top: 1rem;
    width: 20px;
    height: 30px;
    border: 2px solid var(--dark-color);
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 2px;
    height: 6px;
    background-color: var(--dark-color);
    transform: translateX(-50%);
    border-radius: 1px;
    animation: scrollIndicator 1.5s infinite;
}

@keyframes scrollIndicator {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

/* 5. セクション共通スタイル
===================================*/
section {
    padding: 10rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title span {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-top: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 3px;
    background-color: var(--primary-color);
}

/* 6. サービス
===================================*/
.service-overview {
    background-color: var(--light-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.service-item {
    background-color: #fff;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 3.6rem;
    color: var(--primary-color);
}

.service-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-item p {
    font-size: 1.5rem;
    color: var(--gray-color);
}

.more-btn-container {
    text-align: center;
}

.more-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* 7. 特徴
===================================*/
.features {
    background-color: #fff;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4rem;
}

.feature-item {
    position: relative;
    padding: 3rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary-color);
}

.feature-number {
    position: absolute;
    top: -2rem;
    left: 3rem;
    width: 4rem;
    height: 4rem;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 1rem 0 1.5rem;
}

.feature-item p {
    font-size: 1.5rem;
    color: var(--gray-color);
}

/* 8. 実績
===================================*/
.works {
    background-color: var(--light-color);
}

.coming-soon {
    text-align: center;
}

.coming-soon p {
    font-size: 2rem;
    color: var(--gray-color);
    margin: 0;
    padding: 4rem 0;
    border: 2px dashed var(--gray-light);
    border-radius: 10px;
}

/* 9. お知らせ
===================================*/
.news {
    background-color: #fff;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.news-date {
    flex-shrink: 0;
    width: 10rem;
    font-size: 1.4rem;
    color: var(--gray-color);
    font-weight: 500;
}

.news-content {
    flex-grow: 1;
}

.news-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.2rem;
    border-radius: 3rem;
    margin-bottom: 0.8rem;
}

.news-content h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--secondary-color);
}

/* 10. お問い合わせ
===================================*/
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
}

.contact-section .section-title {
    color: #fff;
}

.contact-section .section-title::after {
    background-color: #fff;
}

.contact-section .section-title span {
    color: rgba(255, 255, 255, 0.7);
}

.contact-lead {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    line-height: 1.8;
}

.contact-btn-large {
    display: inline-block;
    padding: 1.5rem 5rem;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 5rem;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-btn-large:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 11. フッター
===================================*/
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    font-family: var(--font-accent);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 1.2rem;
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-nav-group h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-nav-group h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 3rem;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-nav-group ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav-group ul li a {
    font-size: 1.4rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-nav-group ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    font-size: 1.4rem;
    opacity: 0.5;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 12. レスポンシブスタイル
===================================*/
@media (max-width: 1024px) {
    html {
        font-size: 60%;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-nav {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }

    .header-container {
        height: 7rem;
        padding: 0 2rem;
    }

    .nav-pc {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-sp {
        display: block;
    }

    .main-visual {
        height: calc(100vh - 7rem);
        min-height: 600px;
    }

    .main-visual h2 {
        font-size: 3.6rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }

    .main-visual h2 {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

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

    .news-item {
        flex-direction: column;
    }

    .news-date {
        margin-bottom: 1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 3rem;
    }
}