@charset "utf-8";

/* --- 1. サイト全体の隙間を完全に殺す --- */
html {
    margin-top: 0 !important; /* WP管理バーの強制余白を消す */
    padding-top: 0 !important;
    scroll-behavior: smooth;
}

body {
    margin: 0 !important;
    /* ヘッダーが「固定」なら70px、固定じゃないなら0にする */
    padding-top: 0 !important; 
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

/* --- 2. ヘッダーを最上部に張り付かせる --- */
.site-header {
    position: fixed; /* 固定にする場合 */
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 9999;
}


/* --- ヘッダーのスタイル --- */
.site-header {
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2d3a2d;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: #2d3a2d;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #4a5a4a;
}

.header-cta {
    background-color: #4a5a4a; /* 深緑 */
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.header-cta:hover {
    transform: scale(1.05);
}


.header-logo a {
    display: flex;
    align-items: center;
    gap: 10px; /* ← ロゴとテキストの間隔 */
    text-decoration: none;
    color: inherit;
}

/* --- レスポンシブ（768px） --- */
.nav-toggle, .hamburger { display: none; }

@media (max-width: 768px) {
    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 1100;
    }
    .hamburger span, .hamburger span::before, .hamburger span::after {
        content: '';
        display: block;
        height: 3px;
        width: 100%;
        background: #2d3a2d;
        position: absolute;
    }
    .hamburger span::before { top: -8px; }
    .hamburger span::after { top: 8px; }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }

    .nav-toggle:checked ~ .header-nav {
        right: 0;
    }

    .hero-headline { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .hero-section { height: auto; padding: 100px 0; }
}



/* --- フッターのスタイル --- */
.custom-footer {
    background-color: #fff; /* 背景白 */
    padding: 60px 20px;
    text-align: center;
    color: #4a5a4a; /* 画像に近い落ち着いた色 */
    font-family: inherit;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* ロゴとサイト名エリア */
.footer-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo {
    width: 60px; /* 画像のサイズに合わせて調整 */
    height: auto;
    object-fit: cover;
}

.footer-site-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 0.02em;
}

/* 説明文 */
.footer-description {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    word-break: keep-all; /* 途端な改行を防ぐ */
}

/* リンク */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #8a9a8a; /* 少し薄めの色 */
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* コピーライト */
.footer-copyright {
    font-size: 0.75rem;
    color: #b0bbb0; /* さらに薄い色 */
    margin: 0;
}

/* レスポンシブ（スマホ対応） */
@media (max-width: 600px) {
    .footer-brand {
        flex-direction: row; /* スマホでも横並びを維持する場合。縦ならcolumnへ */
    }
    
    .footer-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .footer-links {
        gap: 20px;
    }
}


/* --- フッター SNSアイコン --- */
.footer-sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}


.sns-icon-circle {
    width: 44px;
    height: 44px;
    background-color: #f1f5f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3a2d;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

.sns-icon-circle:hover {
    background-color: #ffcc00;
}