.contact-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #2c5aa0;
    margin: 20px 0;
}

.phone-number {
    font-size: 1.8em;
    font-weight: bold;
    color: #2c5aa0;
    margin: 0;
}

.contact-person {
    font-size: 1.2em;
    color: #666;
    margin: 5px 0 0 0;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background-color: #f0f8ff;
    border: 3px solid #2c5aa0;
    border-radius: 10px;
    margin: 30px 0;
}

/* カルーセルの文字色をカスタマイズ - 強いコントラスト版 */

/* 料金表のスタイル設定 */
.fee-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.fee-table th,
.fee-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

/* クラス列（第1列）を水色背景＆太字 */
.fee-table td:first-child,
.fee-table th:first-child {
    background-color: #87CEEB !important; /* 水色 */
    font-weight: bold !important;
    color: #333 !important;
}

/* ヘッダー行のスタイル */
.fee-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* クラス列のヘッダーは水色を少し濃く */
.fee-table th:first-child {
    background-color: #5DADE2 !important; /* 少し濃い水色 */
    color: white !important;
}

/* テーブル全体の見た目調整 */
.fee-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.fee-table tr:hover {
    background-color: #f5f5f5;
}

/* クラス列はホバー時も水色を維持 */
.fee-table tr:hover td:first-child {
    background-color: #87CEEB !important;
}

/* 年間予定のスタイル設定 */
.schedule-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

/* クラス列（第1列）を水色背景＆太字 */
.schedule-table td:first-child,
.schedule-table th:first-child {
    background-color: #87CEEB !important; /* 水色 */
    font-weight: bold !important;
    color: #333 !important;
}

/* ヘッダー行のスタイル */
.schedule-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* クラス列のヘッダーは水色を少し濃く */
.schedule-table th:first-child {
    background-color: #5DADE2 !important; /* 少し濃い水色 */
    color: white !important;
}

/* テーブル全体の見た目調整 */
.schedule-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.schedule-table tr:hover {
    background-color: #f5f5f5;
}

/* クラス列はホバー時も水色を維持 */
.schedule-table tr:hover td:first-child {
    background-color: #87CEEB !important;
}

/* カスタムリンクスタイル */
.custom-link-button {
    display: inline-block;
    padding: 12px 24px;
    margin: 8px;
    background-color: #007bff;
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.custom-link-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* カード形式のリンクホバー効果 */
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* 検索フォームを完全に非表示 */
.widget-search,
#search-widget,
.search-form,
.search-widget {
    display: none !important;
}

/* サイドバーの検索ボックス非表示 */
.sidebar .search,
.sidebar .widget.search {
    display: none !important;
}

/* トップページのみ検索を非表示にしたい場合 */
.home .widget-search,
.home #search-widget,
.home .search-form,
.home .search-widget {
    display: none !important;
}

/* カルーセルの画像表示を修正 */
/*.carousel .item {*/
/*    height: 500px; !* カルーセルの高さを固定 *!*/
/*    background-size: cover !important;*/
/*    background-position: center center !important;*/
/*    background-repeat: no-repeat !important;*/
/*}*/

/* カルーセル画像が小さく表示される問題を修正 */
/*.carousel .item img {*/
/*    width: 100% !important;*/
/*    height: 500px !important;*/
/*    object-fit: cover !important;*/
/*    object-position: center !important;*/
/*}*/

/* カルーセル全体のサイズ調整 */
.home-carousel {
    width: 100%;
    overflow: hidden;
}

/* カルーセルの説明文字色 - カラー版 */
.home-carousel .item p {
    color: #FFFFFF !important; /* 白色 */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    font-size: 16px;
    background-color: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
}

/* カルーセルのリンク文字を白色にする */
.home-carousel .item a {
    color: #ffffff !important;
    text-decoration: none;
    /*font-weight: bold;*/
}

.home-carousel .item a:hover {
    color: #f0f0f0 !important;
    /*text-decoration: underline;*/
}
