* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

img {
  width: 100%;
}

html[lang="ja"] {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
}

section {
  padding: 120px 0;
}

.inner {
  max-width: 960px;
  margin: 0 auto;
}

.sec01 {
    padding-top: 70px;/* ケンコババナーを表示するときは70px */
    padding-top: 100px;
    background-image: url("images/sec01_bg.jpg");
    background-size: cover;
}

.sec02, .sec03 {
    background-image: url("images/sec03_bg.jpg");
    background-size: cover;
    padding-top: 140px;
}

.sec01 .inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bannar_list {
    display: flex;
    gap: 20px;
    position: relative;
}

.bannar_girl01 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
}

.bannar_girl02 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25%;
}

.section_header {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

h2 span {
    font-size: 48px;
    white-space: nowrap;
    color: #fff;
    padding: 5px 10px;
    text-shadow: 0 0 10px #fd3905;
    background: linear-gradient(45deg, #e62928, #fe860e);
}

.sec02_date, .sec03_date {
    height: 38px;
    width: auto;
    margin-bottom: 15px;
}

.header_bg {
    position: absolute;
    top: -30px;
    left: 0;
    z-index: -1;
}

.sec02 p {
    font-size: 20px;
    color: #fff;
    margin-bottom: 60px;
    line-height: 1.6;
}

.sec02_box01 img {
    width: 560px;
}
.sec02 {
    text-align: center;
}

.sec02_box02 img {
    width: 760px;
}

.sec03_contents {
    display: flex;
    gap: 30px;
}

.sec03_box01, .sec03_box02 {
    width: calc(50% - 15px);
}

.sec03_box02 span {
    color: #fff;
    font-size: 14px;
}

.btn {
    margin-top: 50px;
    text-align: center;
}

.btn a {
    background-color: #fff001;
    color: #333;
    position: relative;
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    padding: 20px;
    width: 560px;
}

.btn a:after {
    content: '';
    width: 10px;
    height: 10px;
    border: 0;
    border-top: solid 2.5px #333;
    border-right: solid 2.5px #333;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 25px;
    bottom: 0;
    margin: auto;
}

.link_list {
    display: flex;
    font-size: 24px;
    gap: 25px;
}

.footer_box01 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qr_list {
    display: flex;
}

.qr_list img {
    width: 120px;
}

.link_list a {
    color: #333;
}

.footer_box02 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grade_race {
    width: 55%;
    margin-left: -30px;
}

.footer_box02 a {
    width: 37%;
}

footer {
    padding: 50px 0;
}

.slider-container {
  overflow: hidden;
  width: 100%;
}

.slide-track {
  display: flex;
  width: calc(200%); /* 2セット分 */
  animation: scroll 30s linear infinite;
}

.slide-track img {
  width: 200px; /* 任意のサイズ */
  flex-shrink: 0;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.sp {
    display: none;
}

.pre {
display:none;
}

@media screen and (max-width:840px) {
    section {
        padding-left: 40px;
        padding-right: 40px;
    }
    h2 span {
        font-size: 40px;
    }
    .sec02 p {
        font-size: 16px;
    }
    .bannar_list:nth-child(3) img {
        width: calc(50% - 10px);
    }
    .sec03_box02 span {
        color: #fff;
        font-size: 12px;
    }
    .link_list {
        font-size: 18px;
        gap: 20px;
    }
    footer {
        padding: 50px 40px;
    }
    
}

@media screen and (max-width:480px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .bannar_list {
        flex-direction: column;
    }
    .sec02_box02 img {
        width: 100%;
    }
    .bannar_list:nth-child(3) img {
        width: 100%;
    }
    section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .sec01 {
        padding-top: 25px;
    }
    h2 span {
        font-size: 24px;
    }
    .sec02_date, .sec03_date {
        height: 25px;
        width: auto;
        margin-bottom: 8px;
    }
    .header_bg {
        top: -15px;
        scale: 1.08;
    }
    .sec02 p {
        font-size: 14px;
        text-align: left;
        margin-bottom: 40px;
    }
    .section_header {
        margin-bottom: 35px;
    }
    .sec02_box01 img {
        width: 100%;
    }
    .btn a {
        font-size: 16px;
        padding: 23px;
        width: 100%;
    }
    .btn a:after {
        width: 8px;
        height: 8px;
        border-top: solid 2px #333;
        border-right: solid 2px #333;
        right: 22px;
    }
    .sec03_contents {
        gap: 20px;
        flex-direction: column;
    }
    .sec03_box01, .sec03_box02 {
        width: 100%;
    }
    .sec02, .sec03 {
        padding-top: 80px;
        overflow: hidden;
    }
    footer {
        padding: 40px 20px;
    }
    .footer_box01 {
        flex-direction: column;
        margin-bottom: 30px;
    }
    .link_list {
        font-size: 14px;
        gap: 15px;
    }
    .footer_links {
        gap: 5px;
        margin-bottom: 15px;
    }
    .qr_list img {
        width: 140px;
    }
    .footer_box02 {
        flex-direction: column;
    }
    .grade_race {
        width: 100%;
    }
    .footer_box02 a {
        width: 80%;
        margin-top: 20px;
        margin-left: -10px;
    }
    .sec02_box02 {
    position: relative;
    }
    .udon {
        position: absolute;
        width: 40%!important;
        right: -42px;
        bottom: -50px;
    }
.slide-track img {
    width: 90px;
    flex-shrink: 0;
}
.pre {
display: none;
}
}