/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 変数定義 */
:root {
    --primary-color: #333333;
    --text-gray: #666666;
    --light-gray: #f5f5f5;
    --accent-green: #a8d5ba;
    --accent-pink: #f4b3a0;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 基本スタイル */
body {
    font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
    line-height: 1.8;
    color: var(--primary-color);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ヘッダー */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    margin: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

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

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

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

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

/* ヒーローセクション */
.hero {
    margin-top: 80px;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--light-gray);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-brush {
    position: absolute;
    width: 300px;
    height: 100px;
    opacity: 0.3;
    filter: blur(30px);
}

.hero-brush-1 {
    background: var(--accent-green);
    top: 20%;
    right: 10%;
    transform: rotate(-15deg);
}

.hero-brush-2 {
    background: var(--accent-pink);
    bottom: 20%;
    left: 10%;
    transform: rotate(15deg);
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.hero-button:hover {
    background-color: var(--text-gray);
    transform: translateY(-2px);
}

/* セクション共通スタイル */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-green), var(--accent-pink));
}

/* 私たちについて */
.about {
    background-color: var(--white);
}

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

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

.about-text p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

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

.feature i {
    font-size: 48px;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 14px;
    color: var(--text-gray);
}

/* サービス */
.services {
    background-color: var(--light-gray);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 36px;
    color: var(--white);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    font-size: 14px;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

/* 会社情報 */
.company {
    background-color: var(--white);
}

.company-info {
    max-width: 700px;
    margin: 0 auto;
}

.company-info table {
    width: 100%;
    border-collapse: collapse;
}

.company-info th,
.company-info td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.company-info th {
    width: 30%;
    font-weight: 600;
    color: var(--text-gray);
}

.company-info td {
    width: 70%;
}

/* お問い合わせ */
.contact {
    background-color: var(--light-gray);
}

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

.contact-content > p {
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-method {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-method i {
    font-size: 48px;
    color: var(--accent-pink);
    margin-bottom: 20px;
}

.contact-method h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-method p {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-method a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--accent-pink);
}

.contact-method small {
    color: var(--text-gray);
    font-size: 14px;
}

/* フッター */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* ナビゲーション */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    /* ヒーロー */
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    /* セクション */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* テーブル */
    .company-info th,
    .company-info td {
        display: block;
        width: 100%;
    }
    
    .company-info th {
        padding-bottom: 5px;
        border-bottom: none;
    }
    
    .company-info td {
        padding-top: 5px;
        padding-bottom: 20px;
    }
}