/* ===========================
   リセット・基本スタイル
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   ヘッダー
   =========================== */
.header {
    background-color: #ffffff;
    border-bottom: 2px solid #0d3b66;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #0d3b66;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #0d3b66;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d3b66;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-top: 4px solid #0d3b66;
    padding: 100px 20px;
    text-align: center;
}

.hero .container {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .accent {
    color: #0d3b66;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555555;
    margin-bottom: 40px;
}

.hero-subtitle .highlight {
    color: #0d3b66;
    font-weight: bold;
}

.cta-button {
    display: inline-block;
    background-color: #0d3b66;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 59, 102, 0.3);
    border: 2px solid #0d3b66;
}

.cta-button:hover {
    background-color: #ffffff;
    color: #0d3b66;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 59, 102, 0.4);
}

/* ===========================
   サービスセクション
   =========================== */
.services {
    background-color: #f9f9f9;
    padding: 80px 20px;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0d3b66;
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid #0d3b66;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(13, 59, 102, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #0d3b66;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #555555;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===========================
   特徴セクション
   =========================== */
.features {
    background-color: #ffffff;
    padding: 80px 20px;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0d3b66;
}

.features-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item h3 {
    color: #0d3b66;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #555555;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===========================
   お問い合わせセクション
   =========================== */
.contact {
    background: linear-gradient(135deg, #0d3b66 0%, #1a5a96 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
    padding-bottom: 20px;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ffffff;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content > p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.95;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid #ffffff;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

.contact .cta-button {
    background-color: #ffffff;
    color: #0d3b66;
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact .cta-button:hover {
    background-color: #f0f0f0;
    color: #0d3b66;
}

/* ===========================
   フッター
   =========================== */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.95rem;
    border-top: 3px solid #0d3b66;
}

.footer p {
    opacity: 0.8;
}

/* ===========================
   レスポンシブデザイン
   =========================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav {
        gap: 15px;
        font-size: 0.95rem;
    }

    .services h2,
    .features h2,
    .contact h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services,
    .features,
    .contact {
        padding: 50px 20px;
    }

    .services h2,
    .features h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
