@charset "utf-8";
html,
body {
  margin: 0;
  padding: 0;
  background-color: #fff799;
  font-weight: normal;
  font-family: "Noto Sans JP", "sans-serif;Helvetica Neue", Arial, arial black, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

img {
  width: 100%;
  height: auto;
}

main {
  margin: 230px auto 0;
  display: block;
}

h1 {
  font-size: 23px;
}

h2 {
  font-size: 20px;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ================================================
　　　BASE
================================================ */
.wrap {
  overflow: hidden;
}

header {
  background-image: url(./images/back.png);
  position: relative;
  width: 100%;
  height: auto;
}

header h1 img {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 10%;
  margin: auto;
  z-index: 100;
  width: 70%;
  height: auto;
}

section {
  width: 100%;
  padding: 50px 0;
  text-align: center;
}

section h1 {
  letter-spacing: 0.5rem;
  position: relative;
  display: inline-block;
  margin: 30px 0;
  z-index: 1;
  text-align: center;
}

section h1::before {
  content: "";
  position: absolute;
  background: #f8b62d;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

#copy {
  text-align: center;
  font-weight: normal;
  font-size: 0.5em;
  background-color: #fff;
  padding: 2px;
}

/* ================================================
　　　装飾
================================================ */
.normal {
  font-weight: normal;
}

.bold {
  font-weight: bold;
}

.kome {
  font-size: 0.8em;
}

.marker {
  background: linear-gradient(transparent 75%, #f8b62d 75%);
}

.h3_cont {
  font-size: 18px;
}

.imadoko {
  width: 120px;
}

.list {
  color: #feecbd;
}

.dot {
  border-bottom: dotted 3px #f8b62d;
}

a {
  /* text-decoration: none; */
  color: inherit;
}

.br {
  display: block;
  content: "";
  margin: 10px 0;
}

.br_cust {
  display: block;
  content: "";
  margin: 30px 0;
}

.sp {
  display: none;
}

/* リンクボタン */

.btn_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #ea5514;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 6% 0 12%;
  color: #ea5514;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
}

.btn_02:hover {
  background: #f8b62d;
  color: #fff;
}

.btn_02:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #ea5514;
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}

.btn_02:hover:before {
  border-color: transparent transparent transparent #fff;
}

/* クリック→下にポップアップ */
.hidden_box {
  margin: 1em 0 2.5em;
  padding: 0;
}

.hidden_box label {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #ea5514;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 6% 0 12%;
  color: #ea5514;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
}

.hidden_box label:hover {
  background: #f8b62d;
  color: #fff;
}

.hidden_box label:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #ea5514;
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}

.hidden_box label:hover:before {
  border-color: transparent transparent transparent #fff;
}

.hidden_box input {
  display: none;
}

.hidden_box .hidden_show {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
}

.hidden_box input:checked ~ .hidden_show {
  padding: 10px 0;
  height: auto;
  opacity: 1;
}

.mainBox {
  display: block;
  padding: 0.5em 1em;
  background: #ffffff;
  box-shadow: 1px 1px 10px #acacac;
  border-radius: 10px;
  position: relative;
}

main > .mainBox {
  margin: 0 auto;
  padding: 2em 2em;
  width: 60%;
}

.mainBox_title {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}

.mainBox_tab {
  display: inline-block;
  padding: 0 9px;
  /* height: 25px; */
  line-height: 25px;
  font-size: 20px;
  color: #ffffff;
  font-weight: bold;
}

.contents {
  max-width: 960px;
  width: 99%;
  margin: 0px auto;
}

.content {
  background-color: #feecbd;
  border-radius: 5px;
  text-align: center;
  padding: 5px;
  font-weight: normal;
}

.content_sub {
  background-color: #fffbd4;
  border-radius: 5px;
  text-align: center;
  padding: 5px;
}

.detail {
  width: 85%;
  margin: 0 auto;
}

/* ================================================
　　　イベント
================================================ */
#event {
  font-weight: bold;
  padding-top: 0;
}

#event > .map {
  padding-top: 15px;
}

#event img {
  margin-bottom: 20px;
}

#event ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#event .mainBox {
  margin: 0 5px 10px 5px;
  text-align: center;
}

#event .mainBox_title .event_no {
  color: #ffffff;
  background-color: #ea5514;
  padding: 8px;
  margin-right: 5px;
  border-radius: 50px;
  vertical-align: middle;
}

#event .kome {
  text-align: center;
}

.comesoon {
  color: red;
}

/* ================================================
  　　　会場
  ================================================ */
#place {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#place .mainBox .detail {
  width: 95%;
}

#place .mainBox {
  border: none;
  margin-top: 50px;
  width: 45%;
  text-align: start;
}

#place .mainBox:last-child {
  margin-right: 0;
}

#place .mainBox::before {
  content: "堺市";
  color: white;
  border-radius: 5px;
  font-weight: bolder;
  position: absolute;
  top: -15px;
  left: 30px;
  background: #f8b62d;
  padding: 5px 10px;
}

#place .mainBox:nth-of-type(2)::before {
  content: "松原市";
}

#place .mainBox:nth-of-type(3)::before {
  content: "八尾市　三郷町　柏原市";
}

#place .mainBox:last-child::before {
  content: "柏原市　三郷町";
}

#place .mainBox h2 {
  text-align: center;
}

#place .mainBox .tool img {
  width: 5%;
  height: auto;
  margin-bottom: 0;
  vertical-align: middle;
}

/* ================================================
　　　概要
================================================ */
#overview {
  position: relative;
  padding-top: 100px;
  /* background: rgba(255, 255, 255, 0.5); */
}

#overview .mainBox {
  margin: 0px auto;
  text-align: center;
  position: relative;
}

#overview .mainBox::before {
  content: "";
  background: url(./../images/checkpoint.png) no-repeat 0 0 / cover;
  width: 280px;
  height: 130px;
  display: block;
  position: absolute;
  top: -100px;
  right: 20px;
  z-index: 1000;
}

#overview .mainBox_tab {
  background: #f8b62d;
  padding: 10px;
  margin: 10px auto 5px;
  border-radius: 5px;
}

#overview .mainBox .detail {
  display: block;
  text-align: start;
}

#overview .mainBox .detail span img {
  width: 75%;
  vertical-align: middle;
}

#overview .mainBox .detail .deco img {
  position: absolute;
  top: 85%;
  right: -5%;
  width: 30%;
}

/* ================================================
　　　サイクリングコース
================================================ */
#course {
  background: rgba(255, 255, 255, 0.5);
  /* padding-bottom: 50px; */
  font-weight: bold;
}

#course > ul {
  display: flex;
  flex-direction: column;
  position: relative;
}

#course > ul li .mainBox {
  margin: 30px auto;
  padding: 0.5em 1em 1.5em;
  border-radius: 0px 10px 10px 10px;
  border: solid 3px #00a0e9;
  width: 90%;
}

#course .mainBox_tab {
  /* font-size: 1.7rem; */
  position: absolute;
  top: -58px;
  left: -3px;
  background: #00a0e9;
  border-radius: 5px 5px 0 0;
  padding: 5px;
}

#course .mainBox_tab span {
  font-size: 23px;
}

#course .detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#course .detail .content {
  border: solid 2px #bddffe;
  background: #ffffff;
  font-weight: normal;
  margin: auto 5px 5px;
}

#course ul .deco img {
  position: absolute;
  bottom: -8%;
  left: -5%;
  width: 30%;
}

/* ================================================
　　　アプリ誘導
================================================ */
#app {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 30px;
}

#app .pc_900 {
  display: none;
}

#app .pc_qr {
  width: 100px;
  margin-left: 0;
  margin-right: 10px;
}

#app .instraction img {
  width: 240px;
  height: auto;
}

#app .download {
  display: flex;
  align-items: center;
}

#app img {
  width: 140px;
  height: auto;
}

#app span img {
  width: 80px;
  /* margin-left: 10px; */
}

#app span img:nth-of-type(2) {
  margin-left: 0px;
}

/* ================================================
　　　お問い合わせ
================================================ */
#contact {
  text-align: center;
  font-weight: bold;
}

#contact h1 span::before {
  content: "";
  position: absolute;
  background: #f8b62d;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

#contact .mainBox {
  margin: 30px auto;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 1px 1px 10px #acacac;
  border-radius: 10px;
  /* width: 80%; */
}

#contact .mainBox_title {
  font-weight: normal;
}

/* ================================================
　　　レスポンシブ
================================================ */
@media screen and (max-width: 1366px) {
  main {
    margin: 170px auto 0;
  }
}

@media screen and (max-width: 1024px) {
  main {
    margin: 330px auto 0;
  }
  header h1 img {
    width: 100%;
    height: auto;
  }
  header h1 {
    margin-bottom: 20px;
  }

  main > .mainBox {
    width: 80%;
  }

  #place .mainBox {
    width: 100%;
  }

  #place .mainBox .tool img {
    width: 3%;
    height: auto;
  }
}

@media screen and (max-width: 900px) {
  #app .pc_qr {
    display: none;
  }

  .pc {
    display: none;
  }

  .detail {
    width: 100%;
  }

  #place .mainBox .detail {
    width: 100%;
  }

  /* ================================================
　　　イベントページリンク
================================================ */
  #page_top {
    width: 90px;
    height: 90px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #f8b62d;
    opacity: 0.6;
    border-radius: 50%;
  }
  #page_top a {
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
  }
  #page_top a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f102";
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -70px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
  #page_top a::after {
    content: "特設ページへ戻る";
    font-size: 13px;
    color: #fff;
    position: absolute;
    top: 35px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  header h1 {
    margin-bottom: 50px;
  }

  main {
    margin: 260px auto 0;
  }

  #app .pc_qr {
    display: none;
  }
}

@media screen and (max-width: 721px) {
  #app .pc {
    display: none;
  }

  .pc {
    display: none;
  }

  #app .pc_900 {
    display: block;
    width: 280px;
    height: 130px;
  }
}

@media screen and (max-width: 655px) {
  #event .mainBox {
    width: 90%;
  }
}

@media screen and (max-width: 600px) {
  main {
    margin: 200px auto 0;
  }

  #app span {
    display: none;
  }

  .sp {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  main {
    margin: 180px auto 0;
  }

  main > .mainBox {
    width: 80%;
  }

  #place .mainBox .tool img {
    width: 5%;
    height: auto;
  }
}

@media screen and (max-width: 400px) {
  main {
    margin: 140px auto 0;
  }

  main > .mainBox {
    width: 80%;
  }

  #overview .mainBox::before {
    width: 230px;
    height: 110px;
  }
}
