body{
  background-color: #000;
  margin: 0 auto;
  text-align: center;
}
header#header {
	display: none;
}
#wrapper {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
    .limit, .inner {
        margin: 0 0 !important;
        width: 98%;
        box-sizing: border-box;
    }
}

/*--- SKY RACING用 css  ---*/
html {
  scroll-behavior: smooth; /* スムーズスクロール */
}
.header{
  margin: 0 auto;
  border-bottom: #fff 1px solid;
}

h1{
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-top: 10px;
}
@media screen and (max-width: 768px) {
  .header h1 {
    padding-top: 10px;
  }
  .header h1 img {
    height: 30px;
  }
}
/* 1. チェックボックスを隠す */
#drawer-check {
  display: none;
}
/* 2. ハンバーガーボタン（左上） */
.menu-button {
  position: fixed;
  top: 35px;
  left: 18%;;
  width: 50px;
  height: 20px;
  cursor: pointer;
  z-index: 100;
  @media screen and (max-width: 768px) {
    left: 10px;
    top: 28px;
  }
}
/* ハンバーガーの線（二本線） */
.menu-button span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #999;
  left: 0;
  transition: all 0.3s;
}
.menu-button span:nth-of-type(1) { top: 0; }
.menu-button span:nth-of-type(2) { bottom: 0; }

/* 3. ドロワーメニューの中身（初期は隠す） */
.menu-content {
  position: fixed;
  top: 0;
  left: 18%;;
  width: 280px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 80px 20px 0;
  box-sizing: border-box;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  @media screen and (max-width: 768px) {
    left: 10px;
  }
}
/* メニューのリンクスタイル */
.menu-content ul { 
  padding: 0; 
  margin: 0;
  list-style: none; 
  text-align: left; 
}
.menu-content ul li { 
  padding: 0 0 25px;
  position: relative;
  padding-left: 20px; 
}
.menu-content ul li::before {
  content: ""; /* コンテンツは空 */
  position: absolute;
  left: 0;
  top: 25%; /* 上から5の位置に */
  transform: translateY(-50%); /* 垂直方向の中央揃え */
  width: 4px; /* 横線の長さ */
  height: 2px; /* 横線の太さ */
  background-color: #fff; /* 横線の色 */
}
.menu-content ul li a { 
  color: #fff; 
  text-decoration: none; 
  font-size: 15px; 
}

/* 4. アニメーション（チェックボックスがONの時） */
/* メニューが表示される */
#drawer-check:checked ~ .menu-content {
  opacity: 1;
  visibility: visible;
}
/* ボタンが×になる */
#drawer-check:checked ~ .menu-button span:nth-of-type(1) {
  top: 8px;
  transform: rotate(20deg);
}
#drawer-check:checked ~ .menu-button span:nth-of-type(2) {
  bottom: 9px;
  transform: rotate(-20deg);
}  

.skyracing-kv{
  width: 100%;
  height: 780px; 
  background-image: url("https://www.sky-g.org/wp/wp-content/uploads/2026/03/kv_bg.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  @media screen and (max-width: 768px) {
    height: 100%; 
  }
}
.skyracing-kv h2{
  font-size: 5.8rem;
  font-weight: bold;
  color: #fff;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2em 0 1em;
  @media screen and (max-width: 768px) {
    font-size: 3rem;
  }
}
.skyracing-kv p{
  font-size: 2rem;
  color: #fff;
  height: 50%;
  line-height: 2.5;
  @media screen and (max-width: 768px) {
    font-size: 1.5rem;
    width:90%;
    margin:0 auto;
  }
}

/* 共通タイトル */
.skyracing__ttl{
  font-size: 5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 8rem;
  margin-top: 0;
  @media screen and (max-width: 768px) {
    font-size: 2.8rem;
    margin-bottom: 5rem;
  }
}

/*レースに込める3つの想い */
.skyracing-ideal__list{
  max-width: 1000px;
  margin: 0 auto;
  @media screen and (max-width: 768px) {
    margin-bottom:80px;
  }
}
.skyracing-ideal__item{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6rem;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    width:90%;
    margin:0 auto;
  }
}
.skyracing-ideal__item h4{
  font-size: 3.8rem;
  font-weight: bold;
  text-align: left;
  color: #fff;
  margin: 0;
  @media screen and (max-width: 768px) {
    font-size: 2rem;
  }
}
.skyracing-ideal__item p{
  font-size: 2rem;
  text-align: left;
  color: #fff;
  margin: 0;
  line-height: 1.8;
  @media screen and (max-width: 768px) {
    font-size: 1.5rem;
  }
}

/* HISTORY */
.skyracing__ttl--history{
  margin-bottom: 9rem;
}
.skyracing-history{
  width: 100%;
  height: auto; 
  background-image: url("https://www.sky-g.org/wp/wp-content/uploads/2026/03/history_bg.png");
  background-size: cover;
  background-position: center;
  @media screen and (max-width: 768px) {
    height: 100%; 
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 30px;
  }
}
.timeline {
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
  @media screen and (max-width: 768px) {
    width: 90%;
  }
}
.timeline > li {
  display: flex;
  align-items: flex-start;
  margin: 0;
  position: relative;
}
.timeline-date {
  color: #fff;
  text-align: right;
  font-size: 2rem;
  margin-top: -5px;
  width: 50px;
  flex-shrink: 0;
  margin-right: 30px;
  @media screen and (max-width: 768px) {
    font-size: 1.5rem;
    margin-top: 0;
    width: 40px;
  }
}
.timeline-content {
  flex-grow: 1;
  border-left: 1px #fff solid;
  padding-left: 30px;
  color: #fff;
  text-align: left;
  position: relative;
  @media screen and (max-width: 768px) {
    padding-left: 20px;
  }
}
/* ● の部分 */
.timeline-content:before {
  content: '';
  width: 16px;
  height: 16px;
  background: #fff;
  position: absolute;
  left: -8px; /* (16px / 2) */
  top: 0;
  border-radius: 100%;
}
.timeline-content p{
  margin: 0;
  margin-top: -5px;
  font-size: 2rem;
  @media screen and (max-width: 768px) {
    font-size: 1.5rem;
    margin-top: 0;
  }
}
.timeline-content--height{
  /* min-height: 5rem; を削除またはコメントアウト */
}
.timeline-image__list {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 900px;
  margin-bottom: 80px;
  margin-top: 20px;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: normal;
    width: 100%;
  }
}
.timeline > li:last-child .timeline-image__list {
  margin-bottom: 40px;
}

.timeline-image__item {
  margin-right: 10px;
  @media screen and (max-width: 768px) {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
.timeline-image__item p {
  text-align: center;
  margin-top: 10px;
  font-size: 1.6rem;
  @media screen and (max-width: 768px) {
    font-size: 1.2rem;
  }
}

/* SKY RACING 2026 */
.skyracing__ttl--racing2026{
  background-color: #4d4d4d;
  padding: 25px 0;
}
.skyracing-racing2026{
  width: 100%;
  background-image: url("https://www.sky-g.org/wp/wp-content/uploads/2026/03/racing2026_bg.png");
  background-size: cover;
  background-position: center;
  @media screen and (max-width: 768px) {
    height: 100%; 
    padding-bottom:50px;
  }
}
.skyracing-racing2026__list{
  max-width: 900px;
  margin: 0 auto;
  @media screen and (max-width: 768px) {
    margin: 0 auto 0;
  }
}
.skyracing-racing2026__item{
  display: flex;
  flex-direction: row;
  align-items: center top 155px;;
  justify-content: space-between;
  margin-bottom: 50px;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    width:90%;
    margin:0 auto 20px;
  }
}
.skyracing-racing2026__text{
  color: #fff;
  font-size: 4rem;
  text-align: left;
  margin-top: 0;
  @media screen and (max-width: 768px) {
    font-size: 2rem;
  }
}
.skyracing-racing2026__text--small{
  font-size: 3rem;
  @media screen and (max-width: 768px) {
    font-size: 1.5rem;
  }
}
.skyracing-racing2026__box{
  max-width: 900px;
  margin: 0 auto;
  border: solid #fff 1px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  @media screen and (max-width: 768px) {
    max-width: 90%;
  }
}
.skyracing-racing2026__box .skyracing-racing2026__text{
  text-align: center;
  margin: 0;
}

/* SCHEDULE */
.skyracing__ttl--schedule{
}
.skyracing-schedule__box{
  margin: 0 auto;
  width: fit-content;
  @media screen and (max-width: 768px) {
    max-width: 90%;
    margin-bottom: 40px;
  }
}

/* NEWS */
.skyracing__ttl--news{
  color: #000;
  @media screen and (max-width: 768px) {
    padding-top: 30px;
  }
}
.skyracing-news{
  background-color: #fff;
}
.skyracing-news__list{
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    width:90%;
    margin:0 auto 20px;
  }
}
.skyracing-news__item{
  text-align: left;
  @media screen and (max-width: 768px) {
    width:100%;
  }
}
.skyracing-news__item img{
  @media screen and (max-width: 768px) {
    width:100%;
  }
}

/* SNS */
.skyracing__ttl--sns{
}
.skyracing-sns__box{
  margin: 0 auto;
  @media screen and (max-width: 768px) {
    width: 90%;
  }
}

/* footer */
footer{
  background-color: #fff;
  padding: 20px 0;
}
footer p{
  margin: 0;
  color: #000;
  font-size: 11px;
}

/* セクション共通の余白 */
.skyracing-ideal,
.skyracing-history,
.skyracing-racing2026,
.skyracing-schedule,
.skyracing-news,
.skyracing-sns {
  padding-top: 8rem;
  padding-bottom: 8rem;
}