/* 全体的なリセット */
* {
    box-sizing: border-box; /* box-sizingの設定 */
}

/* bodyのスタイル */
body {
    font-family: 'Noto Sans JP', "Kiwi Maru", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2b3e2f; /* ダークグリーン背景 */
    color: #f1f1f1; /* 明るい文字色 */
    display: flex;
    justify-content: center; /* 横方向に中央寄せ */
    align-items: center; /* 縦方向も中央寄せ */
    min-height: 100vh; /* ビューポート高さに合わせて */
    flex-direction: column; /* 子要素を縦並びに */
}
/* 追従するトップメニュー */nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 半透明の黒 */
    color: white;
    padding: 0px 0; /* 上下の余白を狭くする */
    text-align: center;
    z-index: 100;
    display: flex; /* Flexboxを使用してアイテムを並べる */
    justify-content: center; /* 横並び */
    align-items: center; /* アイテムを縦方向に中央揃え */
    height: auto; /* 高さを自動調整 */
}

nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

nav a:hover {
    background-color: #4b7a41; /* 濃い緑 */
}

/* ハンバーガーアイコン */
.hamburger-icon {
    display: none; /* デスクトップでは非表示 */
    cursor: pointer;
    font-size: 30px;
    color: white;
    position: absolute; /* アイコンを固定位置に配置 */
    right: 20px; /* 右端に配置 */
    top: 10px; /* 上端に配置 */
    background-color: rgba(0, 0, 0, 0.5); /* 黒で50%透過の背景 */
    padding: 10px; /* アイコン周りの余白 */
    border-radius: 5px; /* 角を丸める */
    pointer-events: auto; /* アイコンがクリックできるように */
    z-index: 1001; /* メニューの上に表示 */
}

/* モバイル向けの最適化 */
@media (max-width: 768px) {
    /* メニューアイテムを非表示にする */
    .nav-links {
        display: none;
        list-style: none;
        width: 100%;
        text-align: left; /* 左寄せに変更 */
        padding: 0; /* 上下の余白をなくす */
    }

    /* ハンバーガーアイコンの表示 */
    .hamburger-icon {
        display: block; /* モバイルで表示 */
        right: 20px; /* 右端に固定 */
        top: 10px; /* 上端に配置 */
    }

    /* メニューが表示された時に適用する */
    .nav-links.show {
        display: block;
        width: 100%; /* メニュー幅を100%に広げる */
    }

    /* メニュー項目を縦に並べる */
    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
    }
}
/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1b2a1f; /* ダークグリーン */
    color: white;
    font-size: 0.9rem;
    margin-top: 40px;
    position: relative; /* フッターがページ下部に配置される */
    width: 100%;
}

/* リンクの色 */
footer a {
    color: #a1c349;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* フッターのスタイル */
.footer {
    background-color: black; /* 背景色を黒に */
    padding: 20px 0;
    text-align: center; /* リンクを中央揃え */
}

.footer-container {
    max-width: 1200px; /* 最大幅を1200pxに設定 */
    margin: 0 auto; /* 中央に配置 */
    padding: 0 20px; /* 左右に少し余白 */
}

.footer-links {
    list-style: none; /* リストマーカーを削除 */
    padding: 0;
    margin: 0;
    display: flex; /* 横並びに */
    flex-wrap: wrap; /* 画面幅に応じて折り返し */
    justify-content: center; /* 中央揃え */
}

.footer-links li {
    margin: 10px 15px; /* リンク間に適切なマージンを設定 */
}

.footer-link {
    text-decoration: none; /* 下線を消す */
    color: white; /* 文字色を白に */
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out; /* ホバー時の色変更をスムーズに */
}

.footer-link:hover {
    color: #a1c349; /* ホバー時に色を変更 */
}

.copyright {
    margin-top: 20px; /* 上に少し余白 */
    color: white; /* 文字色を白に */
    font-size: 1rem; /* 少し小さめのフォント */
}

/* モバイル用の最適化 */
@media (max-width: 768px) {
    .footer-links {
        display: block; /* リンクを縦並びに */
        margin-top: 20px; /* 上に少し余白を追加 */
    }

    .footer-links li {
        margin: 10px 0; /* リンク間に少し余白を追加 */
    }

    .footer-link {
        font-size: 1.1rem; /* モバイルでは少し小さく */
        margin-bottom: 10px; /* ボタンの下に少し余白 */
    }

    .copyright {
        font-size: 0.9rem; /* モバイルでは少し小さく */
        margin-top: 30px; /* 上に余白を追加 */
    }
}

@media (max-width: 768px) {
  img {
    width: 100%;
    height: auto;
  }
}

/* セクションスタイル */
.bizapland {
  margin-top: 100px;
    width: 90%; /* 幅を少し狭く設定 */
    max-width: 800px; /* 最大幅を設定 */
    padding: 20px;
    text-align: center;
    background-color: #ffffff; /* 背景色 */
    border-radius: 10px; /* 角を丸く */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 微妙なシャドウを追加 */
}

/* 画像のスタイル */
.bizapland img {
    width: 100%;
    height: auto;
    max-width: 600px; /* 最大幅を設定 */
    margin-bottom: 20px;
}

/* タイトルのスタイル */
.bizapland h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

/* サブタイトルのスタイル */
.bizapland h3 {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 20px;
}

/* リンク画像のスタイル */
.bizapland a img {
    width: 100%;
    max-width: 450px; /* 最大幅を設定 */
    height: auto;
    margin: 0 auto;
    display: block;
}

/* メディアクエリ: モバイル端末向け */
@media screen and (max-width: 600px) {
    .bizapland h1 {
        font-size: 1.5rem; /* 小さいスクリーン向けにフォントサイズを調整 */
    }

    .bizapland h3 {
        font-size: 1rem; /* 小さいスクリーン向けにフォントサイズを調整 */
    }

    .bizapland img {
        max-width: 100%; /* モバイルでは画像が画面幅にフィット */
    }

    .bizapland a img {
        max-width: 90%; /* モバイルでリンク画像を画面幅に合わせる */
    }
}
