/* --- リセット & 基本スタイル --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #FFFFFF;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- カラー変数 --- */
:root {
    --deep-cobalt: #003C8F;
    --flame-orange: #FF4500;
    --lime-green: #B8E986;
    --soft-white: #FAFAFA;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --text-gray: #546E7A;
    --header-border-color: #002c6f; /* ヘッダー下線の色 (ディープコバルトより少し濃い) */
}

/* --- ヘッダー (元のコバルトブルー背景に戻す) --- */
header {
    background: var(--deep-cobalt); /* 背景をコバルトブルーに戻す */
    color: var(--text-light);     /* 基本文字色を白に戻す */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 影を調整 */
    border-bottom: 2px solid var(--header-border-color); /* 下線を濃い色に */
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-link {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light); /* 「アイ」の部分の色を白に */
}
.logo-image {
    height: 36px;
    margin-right: 10px;
}
.logo-text-accent {
    color: var(--flame-orange); /* 「ゼスト」の部分はオレンジのまま */
}

.main-nav ul {
    list-style: none;
    display: flex;
}
.main-nav li:not(:last-child) {
    margin-right: 30px;
}
.main-nav a {
    color: var(--text-light); /* ナビの文字色を白に */
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.main-nav a:hover {
    color: var(--flame-orange);
    transform: translateY(-2px);
}
.hamburger-menu {
    display: none;
    cursor: pointer;
}
.hamburger-menu div {
    width: 25px;
    height: 3px;
    background-color: var(--text-light); /* ハンバーガー線の色を白に */
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- ヒーローセクション --- */
#hero {
    background: var(--deep-cobalt);
    color: var(--text-light);
    height: 80vh;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px; /* ヘッダーの高さに合わせて調整 */
    overflow: hidden;
}
.hero-content {
    /* 変更なし */
}
.hero-text {
    /* 変更なし */
}
.hero-text h1 {
    font-size: calc(30px + 1.8vw);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
}
.hero-text h1 .highlight-orange {
    color: var(--flame-orange);
}
.hero-text .sub-copy {
    font-size: calc(17px + 0.4vw);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 650px;
    color: rgba(255,255,255,0.9);
    margin-left: auto;
    margin-right: auto;
}

/* --- About セクション --- */
#about {
    background-color: var(--soft-white);
    padding: 80px 0;
    text-align: center;
}
#about h2 {
    font-size: 32px;
    color: var(--deep-cobalt);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
#about h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--lime-green);
}
#about p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}
#about .highlight-orange {
    color: var(--flame-orange);
    font-weight: 700;
}

/* --- Service セクション --- */
#service {
    background-color: #FFFFFF;
    padding: 80px 0;
}
.service-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
}
.service-card:not(:last-child) {
    margin-bottom: 30px;
}
.service-icon {
    font-size: 40px;
    margin-right: 25px;
    color: var(--deep-cobalt);
}
.service-content h3 {
    font-size: 24px;
    color: var(--deep-cobalt);
    margin-bottom: 10px;
}
.service-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.service-content .cta-button {
    display: inline-block;
    background-color: var(--flame-orange);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 15px;
}
.service-content .cta-button:hover {
    background-color: #e03e00;
    transform: translateY(-2px);
}

/* --- Contact セクション --- */
#contact {
    background-color: #F0F9E9;
    padding: 60px 0;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#contact h2 {
    font-size: 28px;
    color: var(--deep-cobalt);
    margin-bottom: 20px;
}
#contact .contact-info {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}
#contact .contact-info a {
    color: var(--deep-cobalt);
    font-weight: 500;
    border-bottom: 1px dashed var(--deep-cobalt);
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}
#contact .contact-info a:hover {
    color: var(--flame-orange);
    border-bottom-color: var(--flame-orange);
}
#contact .cta-button {
    display: inline-block;
    background-color: var(--flame-orange);
    color: var(--text-light);
    padding: 14px 30px;
    border-radius: 25px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
#contact .cta-button:hover {
    background-color: #e03e00;
    transform: translateY(-2px);
}

/* --- フッター --- */
footer {
    background-color: #002C6F;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* --- レスポンシブ (ハンバーガーメニュー) --- */
@media (max-width: 768px) {
    header {
        padding: 12px 0;
    }
    .logo-link {
        font-size: 22px;
    }
    .logo-image {
        height: 30px;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 60px; /* ヘッダーの高さに合わせて調整 */
        left: 0;
        width: 100%;
        background-color: var(--deep-cobalt); /* ハンバーガーメニューの背景はコバルトブルー */
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    .main-nav li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .main-nav a {
        padding: 15px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 15px;
    }
    .main-nav li:last-child a {
        border-bottom: none;
    }
    .hamburger-menu {
        display: block;
    }
    .hamburger-menu.active .bar1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger-menu.active .bar2 { opacity: 0; }
    .hamburger-menu.active .bar3 { transform: rotate(45deg) translate(-5px, -6px); }

    #hero { height: auto; min-height: 70vh; padding: 80px 20px 60px; }
    .hero-text h1 { font-size: 28px; }
    .hero-text .sub-copy { font-size: 16px; max-width: 100%; }

    #about h2 { font-size: 28px; }
    #about p { font-size: 16px; }
    .service-card { flex-direction: column; text-align: center; }
    .service-icon { margin-right: 0; margin-bottom: 15px; }
    #contact h2 { font-size: 24px; }
    #contact .contact-info { font-size: 16px; }
}