#tab-container {
    width: 740px;
}

/* タブナビゲーションのスタイル (カード化) */
.tab-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    /* padding: 1rem; */
    /* background-color: #ffffff; */
    border-radius: 0.75rem;
    /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); */
}

/* タブボタンのスタイル */
.tab-button {
    padding: 0.75rem 0.5rem;
    border: none;
    background-color: #FFF;
    border-radius: 500px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #202020;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-button:hover {
    background-color: #FEDF8F;
    transform: translateY(-3px);
}

/* アクティブなタブボタンのスタイル */
.tab-button.active {
    background-color: #FEDF8F;
    font-weight: 600;
}

/* タブコンテンツパネルのスタイル (カード化) */
.tab-content {
    padding: 1.5rem;
    /* p-6 */
    margin-top: 1rem;
    /* ナビゲーションとの間に余白を追加 */
    background-color: #ffffff;
    border-radius: 0.75rem;
    /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    /* shadow-md */
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* コンテンツ内の見出しスタイル */
.content-title {
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 600;
    /* font-semibold */
    color: #1f2937;
    /* text-gray-800 */
    margin-top: 0;
    margin-bottom: 1rem;
    /* mb-4 */
}

/* リストのスタイル */
.content-list {
    list-style-position: inside;
    padding-left: 0;
    margin: 0;
}

.content-list li {
    margin-bottom: 0.75rem;
    /* space-y-3 */
    color: #4b5563;
    /* text-gray-600 */
}

.content-list li:last-child {
    margin-bottom: 0;
}

.content-list .font-semibold {
    font-weight: 600;
}

/* その他のコンテンツスタイル */
.info-box {
    border-left: 4px solid #6366f1;
    /* border-l-4 border-indigo-500 */
    padding: 0.5rem 1rem;
    /* pl-4 py-2 */
    background-color: #eef2ff;
    /* bg-indigo-50 */
    border-radius: 0.375rem;
    /* rounded-md */
}

.info-box p {
    margin: 0;
}

.info-box .font-semibold {
    font-weight: 600;
    color: #3730a3;
    /* text-indigo-800 */
}

.info-box .text-sm {
    font-size: 0.875rem;
    color: #4338ca;
    /* text-indigo-700 */
}

.recruitment-item {
    margin-bottom: 1rem;
    /* space-y-4 */
}

.recruitment-item:last-child {
    margin-bottom: 0;
}

.recruitment-item h4 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: #374151;
    /* text-gray-700 */
}

.recruitment-item p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    /* text-gray-500 */
}

/* --- レスポンシブ対応のためのメディアクエリ --- */
@media (max-width: 640px) {
    body {
        padding: 0;
        align-items: flex-start;
        /* コンテナを上寄せに */
    }

    .container {
        max-width: 100%;
    }

    .tab-nav {
        padding: 0.75rem 0px;
        gap: 0.5rem;
        grid-template-columns: repeat(3, 1fr);
        border-radius: 0;
        /* スマホでは角丸をなくす */
        box-shadow: none;
        /* スマホでは影をなくす */
    }

    .tab-button {
        font-size: 0.8rem;
        /* スマホではフォントを少し小さく */
    }

    .tab-content {
        padding: 1.25rem 1rem;
        margin-top: 0;
        /* スマホでは余白をなくす */
        border-top: 1px solid #e5e7eb;
        /* 区切り線を追加 */
        border-radius: 0;
        /* スマホでは角丸をなくす */
        box-shadow: none;
        /* スマホでは影をなくす */
    }

    .content-title {
        font-size: 1.125rem;
        /* 見出しのフォントサイズを少し小さく */
    }

    section.tabSection {
        width: calc(100% - 24px);
        margin: 0 auto;
    }

    .eventCalendarContainer.container1100 {
        padding: 0 15px;
    }

    #tab-container {
        width: 100%;
    }
}