html {
    scroll-behavior: smooth;
}

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

:root {
    --primary-color: #1a365d;    /* メインの紺色 */
    --secondary-color: #2c5282;  /* やや明るい紺色 */
    --accent-color: #4299e1;     /* アクセント用の明るい青 */
    --dark-color: #2d3748;       /* ダークネイビー */
    --light-color: #ffffff;      /* 白 */
    --gray-color: #f7fafc;       /* 薄いグレー */
    --hover-color: #2b6cb0;      /* ホバー時の色 */
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

/* ヘッダー */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(26, 54, 93, 0.1);
}

/* メインコンテンツ */
main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    text-align: center;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero h1 .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--accent-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.cta-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
}

/* サービスセクション */
.services {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #4a5568;
    line-height: 1.8;
}

/* 会社概要セクション */
.about {
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    padding: 6rem 5%;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom right, #f0f4f8 49%, transparent 51%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    border: 2px solid #4299e1;
    border-radius: 20px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(66, 153, 225, 0.1);
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

/* お問い合わせセクション */
.contact {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1a365d;
    font-size: 2.5rem;
    font-weight: 700;
}

.notice {
    background: linear-gradient(135deg, #ebf8ff, #e6fffa);
    border: 2px solid #4299e1;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.1);
}

.notice p {
    color: #2c5282;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.notice .phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a365d;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: white;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.notice i {
    margin-right: 0.8rem;
    color: #4299e1;
    font-size: 1.2em;
}

.notice .phone-number i {
    font-size: 1.4em;
    color: #1a365d;
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}

textarea {
    height: 180px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.submit-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

/* フッター */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 3rem;
    margin-top: 4rem;
}

/* アイコンのスタイル */
.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.about-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.feature span {
    font-weight: 500;
    color: var(--dark-color);
}

/* フォームアイコン */
label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* ナビゲーションアイコン */
nav ul li a i {
    margin-right: 0.5rem;
}

.logo i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* CTAボタンアイコン */
.cta-button i {
    margin-right: 0.5rem;
}

/* フッターコンテンツ */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-content p {
    margin: 10px 0;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
        padding: 1rem 5%;
    }

    nav ul {
        margin-top: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

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

    .features {
        flex-direction: column;
        gap: 2rem;
    }

    .feature i {
        font-size: 1.8rem;
    }

    .about::before {
        height: 50px;
    }

    .footer-content {
        padding: 15px;
    }

    .footer-content p {
        margin: 8px 0;
        line-height: 1.8;
    }

    .footer-content a {
        display: inline-block;
        padding: 3px 5px;
    }
}

/* 料金表セクション */
.pricing {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 基本料金カードの特別なスタイル */
.pricing-card:first-child {
    background: #ebf8ff;
    border: 2px solid #4299e1;
    box-shadow: 0 6px 12px rgba(66, 153, 225, 0.15);
}

.pricing-card:first-child .price {
    font-size: 2rem;
    color: #1a365d;
    font-weight: 800;
    margin: 1rem 0;
}

.pricing-card:first-child .pricing-icon {
    color: #1a365d;
    font-size: 2.8rem;
}

.pricing-card:first-child .pricing-description {
    font-weight: 600;
    color: #2c5282;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.pricing-icon {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    color: #2c5282;
    font-weight: bold;
    margin-bottom: 1rem;
}

.pricing-description {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.pricing-features i {
    color: #4299e1;
    margin-right: 0.5rem;
}

.pricing-features a {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pricing-features a:hover {
    color: #1a365d;
    text-decoration: underline;
}

/* レスポンシブ対応の調整 */
@media (max-width: 1024px) {
    .pricing-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-content {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        margin-bottom: 2rem;
    }
}

/* 料金計算方法セクション */
.price-calculation {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.price-calculation h2 {
    text-align: center;
    color: #1a365d;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.calculation-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calculation-formula {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #ebf8ff;
    border-radius: 10px;
    text-align: center;
}

.formula-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: #2c5282;
}

.formula-label {
    font-weight: 600;
}

.formula-icon {
    color: #4299e1;
}

.formula-value {
    font-weight: 700;
    color: #1a365d;
}

.formula-result {
    font-weight: 600;
    color: #2c5282;
}

.calculation-example {
    padding: 1rem;
}

.calculation-example h3 {
    text-align: center;
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.example-item {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.example-item p {
    margin: 0.5rem 0;
    color: #4a5568;
}

.example-item i {
    color: #4299e1;
    margin-right: 0.5rem;
}

.example-calculation {
    font-weight: 600;
    color: #2c5282;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .formula-item {
        flex-wrap: wrap;
        font-size: 1rem;
    }
    
    .calculation-content {
        padding: 1rem;
    }
}

/* 特典セクション */
.bonus {
    background: linear-gradient(135deg, #fff5f5, #fffaf0);
    border: 2px solid #f6ad55;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(246, 173, 85, 0.1);
}

.bonus h3 {
    color: #c05621;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.bonus h3 i {
    margin-right: 0.8rem;
    color: #ed8936;
}

.bonus-content {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bonus-title {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.bonus-title .highlight {
    color: #c05621;
    font-weight: 700;
}

.bonus-details {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.bonus-details p {
    margin-bottom: 1rem;
    color: #4a5568;
    font-size: 1.1rem;
}

.bonus-details p i {
    color: #ed8936;
    margin-right: 0.8rem;
    width: 1.2em;
    text-align: center;
}

.bonus-details .note {
    font-size: 0.95rem;
    color: #718096;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
}

.bonus-details .note i {
    color: #718096;
} 