body, #wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}

.my-div-style {
    margin-top: 5rem;
}

/*!
* Sportivate サイトトップページ画像のサイズ、デザイン変更（img-fluidをカスタマイズ）
*/
.image-container {
    position: relative;
    width: 100%;
    /* height: 100vh; ビューポートの高さを100% */
    height: 75vh;
    overflow: hidden; /* 画像がコンテナからはみ出さないようにする */
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像がコンテナのサイズに合わせてトリミングされる */
}
.image-container h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;  /* テキスト色 */
    /* text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);   文字のシャドウ */
    margin: 0;  /* マージンをリセット */
}
.image-container a {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;  /* テキスト色 */
    font-size: 1rem;  /* フォントサイズ */
    /*  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);  文字のシャドウ */
    margin: 0;  /* マージンをリセット */
}

/*!
* ナビバーのデザイン変更
* メニューカラーの文字色変更　⇒　白へ
*/
.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}
/*!
* ナビバーのデザイン変更
* ナビバックグラウンドカラーの変更　⇒　デフォルトグレーから緑へ
*/
.navbar-custom {
    background-color: #202f55;
}


/*!
* ブログリストの作成時刻　フォントサイズ変更
* デフォルト　1.125rem;　→　0.725rem;
*/

.post-preview > .post-meta {
  font-size: 0.525rem;
  color: #6c757d;
}

.bg-dark-blue {
  --bs-bg-opacity: 1;
  background-color: #202f55 !important;
}

/*!
* リンクカラー変更
*/
a {
    color: #08397d;
}

/*!
* PCメニュー、スマホメニューを分けて設定  詳細は上段の media に設定
*/
.smart-menu {
    font-size: 20px;
}

.pc-menu {
    font-size: 22px;
    margin-top: 2px;
    margin-right: 20px;
}

/*!
* ボタン用のcss
* ボタンサイズをデフォルトから少し小さくする  font-size 1rem →　0.75rem
* paddingを微調整　→　0.5rem 1.0rem
* border-radiusを追加設定　 0.25rem;
*/

.btn {
  padding: 0.9rem 1.575rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
}

/*  サイドメニュー開閉ボタンのデザイン設定 */
/*  上段メニュー表示の際（991バイト以下の場合）は、スライドメニュー開閉ボタンは表示しない。 */
@media (max-width: 991px) {
    #collapseSidebar,
    #expandSidebar {
        display: none !important;
    }
}

/* メニューを隠すボタン（サイドバーの右上に表示） */
#collapseSidebar {
    position: fixed; /* 画面全体に対して位置指定 */
    top: 500px;
    left: 190px;
    z-index: 10;
    padding: 6px 10px;
    background-color: silver;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* メニューを再表示するボタン（サイドバーが閉じたとき、左上に固定表示） */
#expandSidebar {
    position: fixed; /* 画面全体に対して位置指定 */
    top: 500px;
    left: 10px;
    z-index: 1000;
    padding: 8px 12px;
    background-color: silver;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/*!
* ボタンカラー用のcss
* プライマリー　ログインボタン、会員登録ボタン他　（デフォルトピンク　⇒　ライトグリーン）
*/

/* ログインボタン */
.btn-login {
  color: #fff;
  background-color: #09bd42;
  border-color: #09ee8b;
  border-radius: 20px;
}

.btn-signup {
  color: #fff;
  background-color: #09bd42;
  border-color: #09ee8b;
  border-radius: 20px;
}

/* プライマリボタン */
/*（新規作成・作成ボタンなど）*/

.btn-primary {
  color: #fff;
  background-color: #202f55;
  border-color: midnightblue;
}

/* セカンダリボタン */
.btn-secondary {
  color: #fff;
  background-color: seagreen;
  border-color: seagreen;
}

/* 編集ボタン */
.btn-success {
  color: #fff;
  background-color: #138299;
  border-color: #198754;
}

/* 削除ボタン */
.btn-danger {
  color: #fff;
  background-color: #c10517;
  border-color: #dc3545;
}

/* google signup login ボタン */
.btn-social-account {
  color: blue;
  background-color: white;
  border-color: lightgray;
  border-radius: 20px;
}


/*!
* トップページ（indexページ）用デザイン
* サークルのデザイン変更（ radius削除、background カラー変更 ）
*/

header.masthead .bg-my-design {
  z-index: 0;
  position: absolute;
  background: linear-gradient(0deg, #7dd215 0%, #d6e3f1 100%);
}

header.masthead {
  position: relative;
  overflow: hidden;
  padding-top: calc(7rem + 72px);
  padding-bottom: 7rem;
  background: linear-gradient(0deg, #c0e9b7 0%, #94d589 100%);
  /* background-image: url("/static/assets/img/toppage-design1.png"); */
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: scroll;
  background-size: cover;
}

/*!
* トップページ用デザイン1
* タイトル SportsActivate.com は一番上段に表示される必要があるため z-index 10 とする
*/
header.masthead .masthead-content {
    z-index: 10;
}
/*!
* トップページ用デザイン1　ワイド画面時左端の画像
* 画像の掲載箇所変更 (bottom left 調整)
*/
header.masthead .bg-circle-1 {
    z-index: 9;
    height: 90rem;
    width: 39rem;
    bottom: -67.8rem;
    left: -5rem;
}
/*!
* トップページ用デザイン2
* 画像の掲載箇所変更
*/
header.masthead .bg-circle-2 {
    z-index: 8;
    height: 32rem;
    width: 32rem;
    top: 3rem;
    left: 15%;
}
/*!
* トップページ用デザイン3
* 画像の掲載箇所変更 (bottom right 調整)
*/
header.masthead .bg-circle-3 {
    z-index: 7;
    height: 20rem;
    width: 20rem;
    bottom: 4rem;
    right: 14%;
}
/*!
* トップページ用デザイン4
* 画像の掲載箇所変更 (bottom left 調整)
*/
header.masthead .bg-circle-4 {
    z-index: 6;
    height: 32rem;
    width: 30rem;
    top: 6rem;
    right: 29%;
}


/*!
* ページの大枠のサイズを決める containerのサイズ調整
* デフォルトだと横幅が少し余る。かつ、max 1320pxの設定のため、max 2580px まで拡張する。
* 以下 mediaクエリ　画面サイズ別 デザイン
*/

@media (min-width: 576px) {
  .container-sm, .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container-md, .container-sm, .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container-lg, .container-md, .container-sm, .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    /* max-width: 1140px; */
    max-width: 1180px;
  }
}
@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    /* max-width: 1320px; */
    max-width: 1380px;
  }
}
@media (min-width: 1600px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    /* max-width: 1320px; */
    max-width: 1580px;
  }
}
@media (min-width: 1800px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    /* max-width: 1320px; */
    max-width: 1780px;
  }
}
@media (min-width: 2000px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    /* max-width: 1320px; */
    max-width: 1980px;
  }
}
@media (min-width: 2200px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    /* max-width: 1320px; */
    max-width: 2180px;
  }
}
@media (min-width: 2400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    /* max-width: 1320px; */
    max-width: 2380px;
  }
}
@media (min-width: 2600px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    /* max-width: 1320px; */
    max-width: 2580px;
  }
}

/*!
* トップページ用デザイン
* タイトルフォントサイズ　レスポンシブ対応  992px 以上は 6rem がデフォルト
* 以下 mediaクエリ　画面サイズ別 デザイン
*/

@media (min-width: 200px) {
    header.masthead .masthead-content .masthead-heading, .top-page-title {
        font-size: 1.8rem;
    }
}
@media (min-width: 374px) {
    header.masthead .masthead-content .masthead-heading, .top-page-title {
        font-size: 2.4rem;
    }
}
@media (min-width: 576px) {
    header.masthead .masthead-content .masthead-heading, .top-page-title {
        font-size: 3.6rem;
    }
}
@media (min-width: 768px) {
    header.masthead .masthead-content .masthead-heading, .top-page-title {
        font-size: 4.8rem;
    }
}
@media (min-width: 992px) {
    header.masthead .masthead-content .masthead-heading, .top-page-title {
        font-size: 6rem;
    }
}


/*!
* 画面の大きさにより、main-contents、side-barの表示幅を決定する。
* その他、ナビメニューの表示、ユーザー設定メニューの切替等をする。
*/

@media (min-width: 200px) {
    .pc-menu {
		display: none;
	}
    .main-contents {
        width: 100%;
    }
    .main-contents-with-menu {
        width: 100%;
    }
    .main-contents-no-sidebar {
        width: 100%;
    }
    .side-bar {
        width: 100%;
    }
    .sidebar-blog-post {
        display: flex;
    }
    .sidebar-blog-post-image {
        width: 110px;
        height: 80px;
    }
    .sidebar-blog-post-title {
        margin-left: 30px;
        width: 300px;
        height: 80px;
        font-size: 14px;
    }
    .team-base-row {
    }
    .blog-detail-row {
    }
    .schedule-detail-row {
    }
    .user-setting-row {
    }
    .user-setting-menu-box {
        overflow-x: auto;
        white-space: nowrap;
    }
    .user-setting-menu {
        color: midnightblue;
        background-color: white;
        border-color: lightsteelblue;
        border-radius: 10px;
        margin-bottom: 3px;
        margin-right: 3px;
        padding: 12px 12px 12px 12px;
    }
    .team-dashboard {
    }
}

@media (min-width: 576px) {
    .pc-menu {
		display: none;
	}
    .main-contents {
        width: 100%;
    }
    .main-contents-with-menu {
        width: 100%;
    }
    .main-contents-no-sidebar {
        width: 100%;
    }
    .side-bar {
        width: 100%;
    }
    .sidebar-blog-post {
        display: flex;
    }
    .sidebar-blog-post-image {
        width: 110px;
        height: 80px;
    }
    .sidebar-blog-post-title {
        margin-left: 30px;
        width: 300px;
        height: 80px;
        font-size: 15px;
    }
    .team-base-row {
    }
    .blog-detail-row {
    }
    .schedule-detail-row {
    }
    .user-setting-row {
    }
    .user-setting-menu-box {
        overflow-x: auto;
        white-space: nowrap;
    }
    .user-setting-menu {
        color: midnightblue;
        background-color: white;
        border-color: lightsteelblue;
        border-radius: 10px;
        margin-bottom: 3px;
        margin-right: 3px;
        padding: 12px 12px 12px 12px;
    }
    .team-dashboard {
    }
}

@media (min-width: 768px) {
    .pc-menu {
		display: none;
	}
    .main-contents {
        width: 100%;
    }
    .main-contents-with-menu {
        width: 100%;
    }
    .main-contents-no-sidebar {
        width: 100%;
    }
    .side-bar {
        width: 100%;
    }
    .sidebar-blog-post {
        display: flex;
    }
    .sidebar-blog-post-image {
        width: 110px;
        height: 80px;
    }
    .sidebar-blog-post-title {
        margin-left: 30px;
        width: 300px;
        height: 80px;
        font-size: 13px;
    }
    .team-base-row {
    }
    .blog-detail-row {
    }
    .schedule-detail-row {
    }
    .user-setting-row {
    }
    .user-setting-menu {
        color: midnightblue;
        background-color: white;
        border-color: lightsteelblue;
        border-radius: 10px;
        margin-bottom: 4px;
        margin-right: 4px;
        padding: 12px 12px 12px 12px;
    }
    .team-dashboard {
    }
}
@media (min-width: 992px) {
    .smart-menu {
		display: none;
	}
	.pc-menu {
		display: block;
	}
    .main-contents {
        width: 70%;
        margin-right:20px; /*メインコンテンツとサイドバーの間に隙間をあけた*/
        transition: margin-left 0.3s ease;
    }
    .main-contents-with-menu {
        width: 55%;
        margin-right:20px;
    }
    .main-contents-no-sidebar {
        width: 100%;
    }

    /* 以下は開閉型サイドメニューの定義、画面サイズが992以上の場合に適用 */
    /* main-contentsがcollapsed状態の時 */
    .main-contents.collapsed {
        margin-left: 0; /* サイドバー非表示時、メインコンテンツの幅を広げる */
    }
    /* main-contents-no-sidebarがcollapsed状態の時 */
    .main-contents-no-sidebar.collapsed {
        margin-left: 0; /* サイドバー非表示時、メインコンテンツの幅を広げる */
    }
    .main-contents-with-menu.collapsed {
        width: 100%;
        margin-left: 0; /* サイドバー非表示時、メインコンテンツの幅を広げる */
    }
    /* side-barは画面右のwidget menu-sidebarは画面左のメニュー*/
    .side-bar {
        width: 30%;
    }
    /* menu-sidebarは 992サイズ以上で画面左に表示する*/
    .menu-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 230px;
        height: 100%;
        background-color: #f8f9fa;
        box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        display: flex;
        flex-direction: column;       /* ← 縦方向に並べる（任意） */
        align-items: center;          /* ← 横方向の中央揃え */
        text-align: center;           /* ← 中のテキストも中央寄せ（任意） */
    }
    /* サイドバーが縮小状態のとき */
    .menu-sidebar.collapsed {
        left: -200px; /* サイドバー本体を250pxとすると、一部表示するようにする */
    }
    /* 以上は開閉型サイドメニューの定義、画面サイズが992以上の場合に適用 */

    .sidebar-blog-post {
        display: flex;
    }
    .sidebar-blog-post-image {
        width: 110px;
        height: 80px;
    }
    .sidebar-blog-post-title {
        margin-left: 30px;
        width: 300px;
        height: 80px;
        font-size: 13px;
    }
    /* サイドバーを開いた状態の時のメニューエリア */
    .user-setting-side-bar {
        width: 200px;
        margin-right:5px
    }
    /* サイドバーを閉じた状態の時のメニューエリア */
    .user-setting-side-bar.collapsed {
        width: 10px;
    }
    .team-base-row {
        display: flex;
    }
    .blog-detail-row {
        display: flex;
    }
    .schedule-detail-row {
        display: flex;
    }
    .widget--sticky {
        position: sticky;
        top: 70px;
    }
    .user-setting-row {
        display: flex;
    }
    .user-setting-menu-box {
        white-space: normal;
    }
    .user-setting-menu {
        flex: 0 0 auto;
        width: 75%;
        color: midnightblue;
        background-color: white;
        border-color: lightsteelblue;
        border-radius: 10px;
        margin-bottom: 5px;
        margin-right: 5px;
    }
    .team-dashboard {
        display: flex;
    }
}
@media (min-width: 1200px) {
    .smart-menu {
		display: none;
	}
	.pc-menu {
		display: block;
	}
    .main-contents {
        width: 70%;
        margin-right:20px;
    }
    .main-contents-with-menu {
        width: 55%;
        margin-right:20px;
    }
    .main-contents-no-sidebar {
        width: 100%;
    }
    .side-bar {
        width: 30%;
        margin-right:5px
    }
    .sidebar-blog-post {
        display: flex;
    }
    .sidebar-blog-post-image {
        width: 110px;
        height: 80px;
    }
    .sidebar-blog-post-title {
        margin-left: 30px;
        width: 300px;
        height: 80px;
        font-size: 15px;
    }
    .user-setting-side-bar {
        width: 200px;
        margin-right:5px
    }
    .team-base-row {
        display: flex;
    }
    .blog-detail-row {
        display: flex;
    }
    .schedule-detail-row {
        display: flex;
    }
    .widget--sticky {
        position: sticky;
        top: 70px;
    }
    .user-setting-row {
        display: flex;
    }
    .user-setting-menu-box {
        white-space: normal;
    }
    .user-setting-menu {
        flex: 0 0 auto;
        width: 75%;
        color: midnightblue;
        background-color: white;
        border-color: steelblue;
        margin-bottom: 5px;
        margin-right: 5px;
    }
    .team-dashboard {
        display: flex;
    }
}
@media (min-width: 1400px) {
    .smart-menu {
		display: none;
	}
	.pc-menu {
		display: block;
	}
    .main-contents {
        width: 70%;
        margin-right:20px;
    }
    .main-contents-with-menu {
        width: 55%;
        margin-right:20px;
    }
    .main-contents-no-sidebar {
        width: 100%;
    }
    .side-bar {
        width: 30%;
        margin-right:5px
    }
    .sidebar-blog-post {
        display: flex;
    }
    .sidebar-blog-post-image {
        width: 110px;
        height: 80px;
    }
    .sidebar-blog-post-title {
        margin-left: 30px;
        width: 300px;
        height: 80px;
        font-size: 16px;
    }
    .user-setting-side-bar {
        width: 200px;
        margin-right:5px
    }
    .team-base-row {
        display: flex;
    }
    .blog-detail-row {
        display: flex;
    }
    .schedule-detail-row {
        display: flex;
    }
    .widget--sticky {
        position: sticky;
        top: 70px;
    }
    .user-setting-row {
        display: flex;
    }
    .user-setting-menu {
        flex: 0 0 auto;
        width: 75%;
        color: #040438;
        background-color: #fcfcfc;
        border-color: lightslategray;
        margin-bottom: 5px;
        margin-right: 5px;
    }
    .team-dashboard {
        display: flex;
        gap: 50px; /* flexアイテムの間隔を20pxに設定  marginの効果とほぼ同等 */
    }
}


/*  サイドメニュー開閉ボタンのデザイン設定 */
/* main-contentsの通常状態 スライドのアニメーション設定　変化スピード等*/
/* .main-contents {
    transition: margin-left 0.3s ease;
}
*/

/* main-contentsがcollapsed状態の時 */
/* .main-contents.collapsed {
    margin-left: 0;
}
*/

/*.main-contents-with-menu.collapsed {
    width: 100%;
    margin-left: 0;
}
*/

/* サイドバー本体 */
/*
@media (min-width: 992px) {
.menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: #f8f9fa;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;

    display: flex;
    flex-direction: column;       ← 縦方向に並べる（任意）
    align-items: center;          ← 横方向の中央揃え
    text-align: center;           ← 中のテキストも中央寄せ（任意）
 }
}
*/

/* サイドバーが縮小状態のとき */
/*
.menu-sidebar.collapsed {
    left: -200px;
}
*/

/*!
* ブログ一覧（blog）ページ用のcss　
* 一覧ページにブログ画像のサムネイルを表示し、その横にタイトル、サブタイトルを表示したい。
* （スマホ画面に切り替えるとサムネイル画像が表示されなくなるので改善が必要（2022年7月29日）
*/

.blog-list-post {
    display: flex;
}

/*!
* ブログ一覧（blog）ページ用のcss
* 画面の大きさにより、ブログサムネイル、ブログタイトルの表示幅を決定する。
*/

@media (min-width: 200px) {
    .blog-list-post-image {
        width: 80px;
        height: 50px;
    }

    .blog-list-post-title {
        margin-left: 10px;
        width: 220px;
        height: 40px;
        font-size: 12px;
    }

    .blog-list-post-subtitle {
        margin-top: 10px;
        margin-left: 10px;
        width: 220px;
        height: 10px;
        font-size: 9px;
    }

    .schedule-monthly-summary{
        font-size: 9px;
    }

}

@media (min-width: 374px) {
    .blog-list-post-image {
        width: 110px;
        height: 80px;
    }

    .blog-list-post-title {
        margin-left: 10px;
        width: 220px;
        height: 55px;
        font-size: 16px;
    }

    .blog-list-post-subtitle {
        margin-top: 15px;
        margin-left: 10px;
        width: 220px;
        height: 25px;
        font-size: 12px;
    }

    .schedule-monthly-summary{
        font-size: 11px;
        color: red;
        background-color:ghostwhite;
        border-radius: 3px;
        margin: 5px;
    }

}

@media (min-width: 576px) {
    .blog-list-post-image {
        width: 180px;
        height: 100px;
    }

    .blog-list-post-title {
        margin-left: 30px;
        width: 310px;
        height: 70px;
        font-size: 22px;
    }

    .blog-list-post-subtitle {
        margin-top: 30px;
        margin-left: 30px;
        width: 310px;
        height: 30px;
        font-size: 16px;
    }

    .schedule-monthly-summary{
        font-size: 13px;
    }

}

@media (min-width: 768px) {
    .blog-list-post-image {
        width: 180px;
        height: 100px;
    }

    .blog-list-post-title {
        margin-left: 30px;
        width: 500px;
        height: 60px;
        font-size: 30px;
    }

    .blog-list-post-subtitle {
        margin-top: 60px;
        margin-left: 30px;
        width: 500px;
        height: 40px;
        font-size: 20px;
    }

    .schedule-monthly-summary{
        font-size: 15px;
    }

}

@media (min-width: 992px) {
    .blog-list-post-image {
        width: 180px;
        height: 100px;
    }

    .blog-list-post-title {
        margin-left: 30px;
        width: 600px;
        height: 60px;
        font-size: 30px;
    }

    .blog-list-post-subtitle {
        margin-top: 50px;
        margin-left: 30px;
        width: 600px;
        height: 60px;
        font-size: 20px;
    }

    .schedule-monthly-summary{
        font-size: 17px;
    }
}

@media (min-width: 1200px) {
    .blog-list-post-image {
        width: 180px;
        height: 100px;
    }

    .blog-list-post-title {
        margin-left: 30px;
        width: 700px;
        height: 60px;
        font-size: 30px;
    }

    .blog-list-post-subtitle {
        margin-top: 30px;
        margin-left: 30px;
        width: 700px;
        height: 40px;
        font-size: 20px;
    }

    schedule-monthly-summary{
        font-size: 19px;
    }
}

@media (min-width: 1400px) {
    .blog-list-post-image {
        width: 180px;
        height: 100px;
    }

    .blog-list-post-title {
        margin-left: 30px;
        width: 800px;
        height: 60px;
    }

    .blog-list-post-subtitle {
        margin-top: 40px;
        margin-left: 30px;
        width: 800px;
        height: 40px;
        font-size: 21px;
    }

}

/*!
* リーグ試合結果 tableの css
*/

.league-match-table {
        font-size: 10pt;
        border-color: whitesmoke;
        padding: 10px 10px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
 }