@charset "UTF-8";

html {
  scroll-padding-top: 70px; /* 固定ヘッダの高さ分 */
}

body {
    position: relative;
    /* background-image: url('images/sagittarius-kan_l_.png'); */
    /* background-image: url('images/bg.png'); */
    background-image: url('images/bg_shinki.png');
    background-attachment: fixed;
    height: 100%;
    padding-top: 50px;
}

.container {
    max-width: 1140px; /* Bootstrap 4のxlの最大横幅 */
}


.table-responsive tr {
    white-space: nowrap;
}


/* content-boxの設定 */
.content-box {
    position: relative;
    margin-top: 10px;
    margin-bottom: 30px;
    padding: 40px 40px;
    background: white;
    border-radius: 5px;
    border: 4px solid #8ed8f9;
}
.content-box:before, .content-box:after {
    position: absolute;
    content: "";
    height: 75px;
    width: 59px;
}
.content-box:before {
    background-image: url('images/corner-left.png');
    top: -10px;
    left: -10px;
}
.content-box:after {
    background-image: url('images/corner-right.png');
    bottom: -10px;
    right: -10px;
}

/* ユーティリティクラス */
.scroll-box {
    height: 100px;
    margin-top: 10px;
    overflow: scroll;
    border: #bbb 1px solid;
}

.bg-translucent-black {
    color: #fff;
    background-color: rgba(33, 33, 33, 0.7);
}

/* トップの設定 */
.go-contest-site-bg {
   background-image: url("images/go-contest-site-bg.jpg");
   background-size: cover;
   background-position: center;
}
.btn-go-contest-site {
    font-weight: bold;
    color: white;
    background-color: rgba(33, 33, 33, 0.7);
    border: 3px solid #333;
}
.btn-go-contest-site:hover {
    font-weight: bold;
    color: #333;
    background-color: rgba(255, 255, 255, 0.7);
    border: 3px solid #333;
}

#count-down-days {
    font-weight: bold;
    font-size: 1.5em;
}

/* フッターの設定 */
#footer {
    color: #555;
}

.nav-link {
    position: relative; /* 架線の位置を調整するために必要 */
    text-decoration: none; /* デフォルトの下線を削除 */
}

.nav-link::after {
    content: ""; /* 架線用の要素 */
    position: absolute;
    left: 0;
    bottom: -2px; /* テキストから少し下に配置 */
    width: 0;
    height: 2px; /* 下線の太さ */
    background-color: white; /* 下線の色 */
    transition: width 0.3s ease; /* アニメーションのスムーズさ */
}

.nav-link:hover::after {
    width: 100%; /* ホバー時に全幅の下線を表示 */
}

/* ロゴ画像のサイズ制御 */
.navbar-brand img {
    height: 30px; /* ナビゲーションバーに適した高さ */
    width: auto;
    margin-left: 10px;
}

.header-logo {
    width: 100%;
    max-width: 250px; /* 最大幅を調整 */
    height: auto;
    display: block;
    margin: 0 auto; /* 中央寄せ */
}

.content-logo {
    width: 100%;
    max-width: 425px;
    height: auto;
    display: block;
    margin: 0 auto;
}