/* 基本タグ */
a {
    color: #0095D9;
    text-decoration: none;
}
body {
    min-width: 360px;
    font-size: 14px;
    overflow-y: scroll;
    margin: auto;
    background-color: #f2f2f2;
}

/* ヘッダー */
header {
    min-width: 1232px;
    background-color: #fff;
}
header > div {
    width: 1200px !important;
}
header a {
    color: #606060;
    text-decoration: none;
}
header a:hover {
    color: #606060;
    text-decoration: underline 2px;
    text-decoration-color: #0095D9;
    text-underline-offset: 5px;
}
.header-logo img {
    width: 204px;
}
.header-button img {
    width: 144px;
}
.header-button a:hover {
    opacity: 0.75;
}
.offcanvas-body {
    line-height: 3;
}
.offcanvas-body a::after {
    content: "\25BA";
    position: absolute;
    right: 1em;
    color: #0095D9;
}
.menu-disable {
    color: #bfbfbf;
}
.offcanvas-body .menu-disable::after {
    content: "\25BA";
    position: absolute;
    right: 1em;
    color: #bfe4f5;
}
.burger-button {
    width: 34px;
    height: 34px;
    vertical-align: middle;
}
@media screen and (max-width: 991px) {
    header {
        min-width: auto;
    }
    header > div {
        width: 100% !important;
    }
    .header-logo img {
        width: 168px;
    }
    .header-button img {
        width: 120px;
    }
}
@media screen and (max-width: 575px) {
    .header-logo img {
        width: 120px;
    }
    .header-button img {
        width: 80px;
    }
}

/* コンテンツ */
.content {
    min-width: 1232px;
    background-color: #fff;
}
.content-main {
    max-width: 1232px;
    margin: auto;
}
.content-page {
    max-width: 732px;
    margin: auto;
    line-height: 2;
}
@media screen and (max-width: 991px) {
    .content {
        font-size: 13px;
        min-width: 100%;
    }
}
@media screen and (max-width: 575px) {
    .content {
        font-size: 12px;
    }
}

/* ページネーション */
.pagination {
    --bs-pagination-color: #0095D9;
    --bs-pagination-active-bg: #0095D9;
    --bs-pagination-active-border-color: #0095D9;
    --bs-pagination-font-size: 100%;
}
.page-back {
    margin-right: 0.5rem;
}
.page-back .page-link {
    border-radius: 0.5rem !important;
}
.page-next {
    margin-left: 0.5rem;
}
.page-next .page-link {
    border-radius: 0.5rem !important;
}
@media screen and (max-width: 991px) {
    .pagination {
        --bs-pagination-padding-x: .5rem;
        --bs-pagination-padding-y: .25rem;
    }
    .page-link {
        font-size: 0.8rem;
    }
}
@media screen and (max-width: 575px) {
    .pagination {
        --bs-pagination-padding-x: .4rem;
        --bs-pagination-padding-y: .2rem;
    }
    .page-link {
        font-size: 0.7rem;
    }
}

/* フッター */
footer {
    min-width: 1232px;
    background-color: #f2f2f2;
    color: #606060;
}
footer a {
    color: #606060;
    text-decoration: none;
}
footer a:hover {
    color: #606060;
    text-decoration: underline 2px;
    text-decoration-color: #0095D9;
    text-underline-offset: 5px;
}
.footer-logo img {
    width: 204px;
}
@media screen and (max-width: 991px) {
    footer {
        font-size: 13px;
        min-width: 100%;
    }
    .footer-logo img {
        width: 153px;
    }
}
@media screen and (max-width: 575px) {
    footer {
        font-size: 12px;
    }
}

/* サムネイル */
.thumbnail-img {
    width: 380px;
    height: 220px;
}
.thumbnail-dummy {
    width: 380px;
}
.thumbnail a img:hover {
    opacity: 0.75;
}
@media screen and (max-width: 991px) {
    .thumbnail {
        width: 88vw;
    }
    .thumbnail-img {
        max-width: 380px;
        width: 42vw;
        height: auto;
        aspect-ratio: 19 / 11;
    }
    .thumbnail-dummy {
        width: 42vw;
    }
    .thumbnail .card {
        max-width: 380px;
        width: 42vw;
    }
}
@media screen and (max-width: 575px) {
    .thumbnail {
        width: 100%;
    }
}

/* テーブル */
.table-sort {
    line-height: 1.2;
    cursor: pointer;
}
.table-sort:hover {
    opacity: 0.8;
}
.tr-link {
    cursor: pointer;
}

/* モーダル */
.btn-modal {
    text-decoration: none;
}
.modal-body {
    line-height: 2;
}
.btn-close:focus {
    box-shadow: 0 0 #fff;
    opacity: 0.75;
}

/* 色設定 */
.navy {
    color: #1a387e;
}
.blue {
    color: #0a81d1;
}
.bg-navy {
    background-color: #1a387e;
}
.bg-blue {
    background-color: #0a81d1;
}
.bg-aqua {
    background-color: #ebfaff;
}
.bg-lightgray {
    background-color: #f2f2f2;
}
.border-navy {
    border-color: #1a387e !important;
}
.border-blue {
    border-color: #0a81d1 !important;
}
.border-aqua {
    border-color: #c7e0fe !important;
}
.border-gray {
    border-color: #b3b3b3 !important;
}
.btn-navy {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1a387e;
    --bs-btn-border-color: #1a387e;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #142c64;
    --bs-btn-hover-border-color: #142c64;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #142c64;
    --bs-btn-active-border-color: #142c64;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #1a387e;
    --bs-btn-disabled-border-color: #1a387e;
}
.btn-blue {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0a81d1;
    --bs-btn-border-color: #0a81d1;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0867a7;
    --bs-btn-hover-border-color: #0867a7;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0867a7;
    --bs-btn-active-border-color: #0867a7;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0a81d1;
    --bs-btn-disabled-border-color: #0a81d1;
}
.btn-gray {
    --bs-btn-color: #606060;
    --bs-btn-bg: #e6e6e6;
    --bs-btn-border-color: #bdbdbd;
    --bs-btn-hover-color: #606060;
    --bs-btn-hover-bg: #b8b8b8;
    --bs-btn-hover-border-color: #979797;
    --bs-btn-active-color: #606060;
    --bs-btn-active-bg: #b8b8b8;
    --bs-btn-active-border-color: #979797;
    --bs-btn-disabled-color: #606060;
    --bs-btn-disabled-bg: #e6e6e6;
    --bs-btn-disabled-border-color: #bdbdbd;
}
.table-bg-aqua {
    --bs-table-bg: #ebfaff;
}

/* フォントサイズ設定 */
.fs-180 {
    font-size: 180%;
}
.fs-160 {
    font-size: 160%;
}
.fs-140 {
    font-size: 140%;
}
.fs-120 {
    font-size: 120%;
}
.fs-100 {
    font-size: 100%;
}
.fs-90 {
    font-size: 90%;
}
.fs-80 {
    font-size: 80%;
}

/* 画像 */
.img-req {
    width: 32px;
    padding-bottom: 3px;
}
@media screen and (max-width: 991px) {
    .img-req {
        width: 30px;
    }
}
@media screen and (max-width: 575px) {
    .img-req {
        width: 28px;
    }
}

/* Override Bootstrap's default settings for container width and column width */
@media (min-width: 1200px) {
    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12,
    .col-xl-13,
    .col-xl-14,
    .col-xl-15,
    .col-xl-16,
    .col-xl-17,
    .col-xl-18,
    .col-xl-19,
    .col-xl-20,
    .col-xl-21,
    .col-xl-22,
    .col-xl-23,
    .col-xl-24 {
        position: relative;
        width: 100%;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .col-xl-1 {
        flex: 0 0 4.166667%;
        max-width: 4.166667%;
    }

    .col-xl-2 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-xl-3 {
        flex: 0 0 12.5%;
        max-width: 12.5%;
    }

    .col-xl-4 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-xl-5 {
        flex: 0 0 20.833333%;
        max-width: 20.833333%;
    }

    .col-xl-6 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-xl-7 {
        flex: 0 0 29.166667%;
        max-width: 29.166667%;
    }

    .col-xl-8 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-xl-9 {
        flex: 0 0 37.5%;
        max-width: 37.5%;
    }

    .col-xl-10 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-xl-11 {
        flex: 0 0 45.833333%;
        max-width: 45.833333%;
    }

    .col-xl-12 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-xl-13 {
        flex: 0 0 54.166667%;
        max-width: 54.166667%;
    }

    .col-xl-14 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-xl-15 {
        flex: 0 0 62.5%;
        max-width: 62.5%;
    }

    .col-xl-16 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-xl-17 {
        flex: 0 0 70.833333%;
        max-width: 70.833333%;
    }

    .col-xl-18 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-xl-19 {
        flex: 0 0 79.166667%;
        max-width: 79.166667%;
    }

    .col-xl-20 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-xl-21 {
        flex: 0 0 87.5%;
        max-width: 87.5%;
    }

    .col-xl-22 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-xl-23 {
        flex: 0 0 95.833333%;
        max-width: 95.833333%;
    }

    .col-xl-24 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


.subpage h2.subtitle{background:#0b81d1;width:100%;padding:0px}
.subpage .content{width:100%;max-width:1000px;margin:0 auto;}


.competitions-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.competition-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border: 2px solid #0b81d1;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  gap: 20px;
  background: #fff;
}

.competition-content {
  flex: 1;
}

.competition-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #0b81d1;
  margin-bottom: 10px;
}

.competition-content p {
  margin: 5px 0;
  line-height: 1.6;
  color: #333;
}

.result-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-link img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.competition-thumb {
  width: 180px;
  flex-shrink: 0;
}

.competition-thumb img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.media {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.media-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border: 2px solid #0b81d1;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  gap: 20px;
  background: #fff;
}

.media-item h4 {
  flex: 1;
  font-size: 1.1rem;
  color: #0b81d1;
  font-weight: 600;
  margin: 0;
  line-height: 1.6;
}

.media-item .img_box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  width: 250px;
  flex-shrink: 0;
}

.media-item .img_box img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}

@media screen and (max-width: 768px) {
  .media-item {
    flex-direction: column;
    align-items: center;
  }
  .media-item .img_box {
    width: 100%;
    justify-content: center;
  }
}
