html {
    scroll-behavior: smooth;
}


.main-contents-box {
    width: 80%;
    margin: 0 auto;
}

.main-visual-box {
    display: flex;
    margin: 0 auto;
    
}



.title-box {
    background-color: red;
    flex: 1;
    padding: 40px 20px;
}

.title-box h1 {
    color: white;
    font-size: 2rem;
    font-weight: lighter;
}

.title-text-main {
    font-weight: bold;
    font-size: 2.6rem;
    font-family: 'Courier New', Courier, monospace;
}


 @media screen and (max-width: 1280px) {
    .title-box h1 {
        font-size: 1.6rem;
    }
    .title-text-main {
        font-size: 2rem;
    }
        
}

.text-box {
    margin: 20px 0;
}

.text-box p {
    font-size: 1.6rem;
}

.sub-box {
    width: 100%;
    margin: 50px 0;
}


.recruitment-period {
    font-size: 5rem;
    text-align: center;
}

.recruitment-period span {
    font-size: 3rem;
}


.theme {
    font-size: 5rem;
    text-align: center;
}

.theme-comment {
    font-size: 2rem;
    text-align: center;
}




.logo-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    width: 20%;
}

.logo-box img {
    width: 100%;
}


/* メニューボタン */
.menu-list {
    width: 80%;
    margin: 50px auto;
    display: flex;
    justify-content: space-around;
}

.menu-item {
    border: 2px black solid;
    padding: 10px 30px;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0px 5px 0px rgba(0, 0, 0, 0.3);
    transition: .3s;
}

.menu-item a {
    text-decoration: none;
    color: black;
    
}


.menu-item:hover {
  box-shadow: unset;
  transform: translateY(4px)
}




/* 申し込みフォーム */
.form-btn {
    margin: 0 auto;
    width: 60%;
    padding: 15px 0;
    background-color: red;
    border-radius: 20px;
    box-shadow: 0px 5px 0px rgba(255, 117, 117, 0.5);
    transition: .3s;
}

.form-btn:hover {
  box-shadow: unset;
  transform: translateY(4px);
}

.form-btn a {
    text-align: center;
    display: block;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}


/* 規約リンク */
.kiyaku-btn {
    margin: 50px auto;
    width: 60%;
    padding: 15px 0;
    border-radius: 20px;
    border:2px black solid;
    background-color: black;
    box-shadow: 0px 5px 0px rgba(0, 0, 0, 0.3);
    transition: .3s;
}

.kiyaku-btn:hover {
    box-shadow: unset;
    transform: translateY(4px);
}


.kiyaku-btn a {
    text-align: center;
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}


.size-table {
    width: 50%;
    margin: 50px auto;
}

.size-table td {
    border: 2px black solid;
    padding: 30px 10px;
    font-size: 2rem;
}

.sub-title-box {
    margin: 50px 0;
    text-align: center;
}

.sub-title {
    margin: 0 auto;
    display: inline;
    font-size: 2.4rem;
}



.sub-title span {
    display: inline-block;
    padding: 5px 50px;
    position: relative;
}

.sub-title span::before {
    position: absolute; /* 絶対指定 */
    content: "";
    border-top: 2px solid rgba(255, 117, 117, 0.712);
    border-bottom: 2px solid rgba(255, 117, 117, 0.712);
    top: 50%;     /* h2の上から50%の位置 */
    width: 100vw;
    height: 5px;
    transform: translate(0, -50%);
    left: -100vw;
}


.sub-title span::after {
    position: absolute; /* 絶対指定 */
    content: "";
    border-top: 2px solid rgba(255, 117, 117, 0.712);
    border-bottom: 2px solid rgba(255, 117, 117, 0.712);
    top: 50%;
    width: 100vw;
    height: 5px;
    transform: translate(0, -50%);
    right: -100vw;
}


.text-list {
    margin: 0 auto;
    width: 80%;
    font-size: 2rem;
    font-weight: bold;
}

.text-list li {
    list-style-type: disc;
}

.contact-text {
    margin: 0 auto;
    width: 80%;
    font-size: 2rem;
    font-weight: bold;
}

.prize-td {
    margin: 0 auto;
    width: 80%;
}


.prize-td td {
    font-size: 2rem;
    font-weight: bold;
    padding-bottom: 20px;
    padding-left: 5px;
    vertical-align: top;
    word-break: break-all;
}