.mb-6 {
    margin-bottom: 16px;
}

.mb-6.important {
    margin-bottom: 16px !important;
}

.mb-8 {
    margin-bottom: 24px;
}

.mb-8.important {
    margin-bottom: 24px !important;
}

.mb-10 {
    margin-bottom: 32px;
}

.mb-10.important {
    margin-bottom: 32px !important;
}

.mb-12 {
    margin-bottom: 40px;
}

.mb-12.important {
    margin-bottom: 40px !important;
}

@media screen and (min-width: 769px),
print {
    .mb-6 {
        margin-bottom: 24px;
    }

    .mb-6.important {
        margin-bottom: 24px !important;
    }

    .mb-8 {
        margin-bottom: 32px;
    }

    .mb-8.important {
        margin-bottom: 32px !important;
    }

    .mb-10 {
        margin-bottom: 40px;
    }

    .mb-10.important {
        margin-bottom: 40px !important;
    }

    .mb-12 {
        margin-bottom: 48px;
    }

    .mb-12.important {
        margin-bottom: 48px !important;
    }
}

/* アコーディオンのスタイル */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.open {
    max-height: 2000px;
    /* 十分な高さ */
}

.read-more-btn {
    cursor: pointer;
    display: inline-block;
    padding: 8px 16px;
    margin-top: 8px;
    background-color: #f0f9ff;
    color: #0369a1;
    border: 1px solid #0ea5e9;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
}

.read-more-btn:hover {
    background-color: #e0f2fe;
}

.text-center {
    text-align: center;
}

/* 見出しスタイル */
.bz-sponsors h2 {
    color: #1095AD;
    text-align: center;
    font-size: 33px;
    font-size: 2.0625rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 32px;
    margin-bottom: 2rem;
}

/* スポンサーセクションのスタイル - PC幅を広く調整 */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin: 0 auto;
    max-width: 1200px;
    /* 全体の最大幅を広げる */
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
    /* モバイルでのデフォルト幅 */
    transition: transform 0.3s ease;
}

.sponsor-item:hover {
    transform: translateY(-5px);
}

.sponsor-logo {
    height: 160px;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
}

.sponsor-logo img {
    max-width: 90%;
    /* 画像の最大幅を大きく */
    max-height: 90%;
    /* 画像の最大高さを大きく */
    object-fit: contain;
}

.sponsor-name {
    font-size: 0.85rem;
    /* フォントサイズを小さく変更 */
    font-weight: 400;
    /* フォントの太さも少し細く */
    text-align: center;
    color: #475569;
    /* 色も少し明るくして控えめに */
    margin-top: 0.5rem;
    /* 上部マージンを追加 */
}

/* PC向けの大きいサイズ設定を追加 */
@media screen and (min-width: 769px) {
    .sponsor-item {
        width: 320px;
        /* PCでは幅を広く */
    }

    .sponsor-logo {
        width: 300px;
        /* ロゴコンテナも広く */
        height: 180px;
        /* 高さも少し調整 */
    }

    .sponsor-logo img {
        max-width: 95%;
        /* 画像サイズも調整 */
        max-height: 95%;
    }
}

/* モバイル向けはそのまま */
@media screen and (max-width: 768px) {
    .sponsor-grid {
        gap: 2rem;
    }

    .sponsor-item {
        width: 180px;
    }

    .sponsor-logo {
        height: 120px;
        width: 170px;
        padding: 0.4rem;
    }

    .sponsor-logo img {
        max-width: 95%;
        max-height: 95%;
    }
}

/* スポンサーセクション全体のスタイル */
.bz-sponsors {
    padding: 38px 0;
    /* SPでの上下マージン */
}

@media screen and (min-width: 769px) {
    .bz-sponsors {
        padding: 64px 0;
        /* PCでの上下マージン */
    }
}

/* ハンバーガーメニュー用の追加スタイル */
.bz-header__nav-second {
    margin-left: 1rem;
    display: flex;
    align-items: center;
    margin-left: 0;
}

.text-fishbank-green {
    color: #1095AD;
}

.class-lp-h1 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

@media screen and (min-width: 769px) {
    .class-lp-h1 {
        font-size: 1.25rem;
    }
}

/* ハンバーガーアイコンをCSSで描画 */
.nav-toggle-icon-3 {
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    display: block;
    margin-left: 1rem;
}

.nav-toggle-icon-3 span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #1095AD;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle-icon-3 span:nth-child(1) {
    top: 0;
}

.nav-toggle-icon-3 span:nth-child(2) {
    top: 11px;
}

.nav-toggle-icon-3 span:nth-child(3) {
    bottom: 0;
}

/* 閉じるアイコンの位置を修正 */
.nav-toggle-icon-4 {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    display: none;
    z-index: 10000;
    /* より高い値に設定 */
    width: 30px;
    height: 30px;
}

/* 画像を明示的に表示するようにする */
.is-open-second .nav-toggle-icon-4 {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
}

/* spanスタイルを削除（画像を使うため） */
.nav-toggle-icon-4 span {
    display: none;
}

/* オープン時のスタイル */
.is-open-second .nav-toggle-icon-4 {
    display: block;
}

.is-open-second .nav-toggle-icon-3 {
    display: block;
    z-index: 1;
}

#gloval-nav-second {
    color: #585448;
    font-family: YuGothic, 'Yu Gothic', sans-serif;
    font-weight: 700;
    z-index: 900;
    overflow: auto;
    width: 90%;
    height: 100%;
    position: fixed;
    top: 0;
    text-align: center;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.is-open-second #gloval-nav-second {
    z-index: 999;
    transform: translateX(0);
}

@media screen and (min-width: 769px),
print {
    #gloval-nav-second {
        right: -15px;
        width: 40%;
        max-width: 500px;
        background: rgba(59, 188, 207, 0.96);
        border-left: 1px #3db4c6 solid;
        box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .3);
    }
}

@media screen and (max-width: 768px) {
    #gloval-nav-second {
        right: 0;
        width: 100%;
        background: rgba(59, 188, 207, 0.96);
    }
}

/* ボディにis-open-secondクラスが付いたときのスタイル */
.is-open-second {
    overflow: hidden;
}

/* メニューアイコンのスタイル */
.nav-toggle-icon-3 img {
    width: 100%;
    height: auto;
}

.nav-toggle-icon-4 img {
    width: 100%;
    height: auto;
}

/* ヘッダー内の要素の配置調整 */
.bz-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* メニュー操作時のレイアウト固定のためのスタイル */
body.is-open-second {
    overflow: hidden;
    padding-right: 0;
    /* スクロールバー分の余白を削除 */
    width: 100%;
    /* 幅を維持 */
    position: fixed;
    /* 位置固定 */
}

/* メニュー開閉時のコンテンツのズレを防止 */
#gloval-nav-second {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(59, 188, 207, 0.96);
}

.is-open-second #gloval-nav-second {
    transform: translateX(0);
    /* メニューを表示 */
}

/* ヘッダーレイアウトの調整 */
.bz-header__inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    /* 折り返しを禁止 */
    width: 100%;
}

.bz-header__logo {
    flex-shrink: 0;
    /* ロゴサイズを固定 */
}

.bz-header__nav,
.bz-header__cta,
.bz-header__nav-second {
    flex-shrink: 0;
    /* 要素のサイズを固定 */
}

/* メニューアイコンの配置を固定 */
.nav-toggle-icon-3 {
    display: block;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* オーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.is-open-second .menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* 両方のメニューを適切に管理するための修正 */
body.is-open-second #gloval-nav {
    /* 元のナビゲーションが開かないようにする */
    transform: translateX(100%);
}

body.is-open #gloval-nav-second {
    /* サービスメニューが開かないようにする */
    transform: translateX(100%);
}

/* クリック分離を確実にする */
.nav-toggle-icon-3,
.nav-toggle-icon-4 {
    z-index: 1000;
}

.nav-toggle-icon-1,
.nav-toggle-icon-2 {
    z-index: 1000;
}

/* それぞれのメニューのオーバーレイは独立して動作するように */
.menu-overlay {
    display: none;
}

.is-open-second .menu-overlay {
    display: block;
}

/* 二つのメニューを切り替え可能にするが共存させない */
.is-open.is-open-second {
    /* is-openを優先 */
    overflow: hidden;
}

.is-open.is-open-second #gloval-nav {
    transform: translateX(0);
}

.is-open.is-open-second #gloval-nav-second {
    transform: translateX(100%);
}

/* メニューオープン時の横幅問題を解決するCSS */
body.is-open {
    padding-right: 0;
    width: 100%;
    position: fixed;
    overflow: hidden;
}

body.is-open-second {
    padding-right: 0;
    width: 100%;
    position: fixed;
    overflow: hidden;
}

/* 固定位置のナビゲーション */
#gloval-nav,
#gloval-nav-second {
    position: fixed;
    width: 100%;
    max-width: 500px;
    right: 0;
    top: 0;
    height: 100vh;
    background: rgba(59, 188, 207, 0.96);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

/* ナビゲーションボタンスタイル調整 */
.bz-header__nav {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-toggle-icon-1,
.nav-toggle-icon-2,
.nav-toggle-icon-3,
.nav-toggle-icon-4 {
    z-index: 1000;
    cursor: pointer;
    position: relative;
    /* 相対位置を維持 */
    flex-shrink: 0;
    /* サイズ維持 */
}

/* メニュー開閉時のサイズ保持 */
.bz-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.bz-header__logo,
.bz-header__cta,
.bz-header__nav,
.bz-header__nav-second {
    flex-shrink: 0;
    position: relative;
}

/* SNSアイコンを横並びにするスタイル */
.sns-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.sns-icon:hover {
    transform: translateY(-3px);
}

.sns-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.inline-block {
    display: inline-block;
}

.bz-header__nav-second .nav-toggle-icon-4 {
    width: 2.2rem;
    height: 2.2rem;
    overflow: hidden;
  }
  .bz-header__nav-second .nav-toggle-icon-4 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }