@charset "utf-8";

.rfk {
  background-color: #1ca1d9;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.rfk h1, .rfk h2, .rfk h3, .rfk h4, .rfk h5 {
  font-weight: 600;
}
.rfk h1 {
  font-size: 2.3em;
}
.rfk h2 {
  font-size: 2em;
}
.rfk h3 {
  font-size: 1.5em;
}
.rfk h4 {
  font-size: 1.3em;
}
.rfk h5 {
  font-size: 1em;
}

.rfk-bg__green {
  background-color: #1da73b;
}
.rfk-bg__blue {
  background-color: #1e639b;
}
.rfk-bg__wt {
  background-color: #fff;
}

.rfk-title {
  text-align: center;
  line-height: 1.5;
}
.rfk-title span{
  display: block;
  font-size: 0.6em;
}

.rfk-100img {
  width: 100%;
}


/* ~~~~~ header ~~~~~ */
header.rfk {
  position: relative;
  z-index: 1000;
}
.rfkmenu-btn-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.rfkmenu-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  background-color: #1ca1d9;
  mix-blend-mode: difference;
}

.rfkmenu-btn__line {
  width: 26px;
  height: 3px;
  background: #fff;
  position: relative;
  border-radius: 999px;
}
.rfkmenu-btn__line::before,
.rfkmenu-btn__line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
}
.rfkmenu-btn__line::before {
  top: -8px;
}
.rfkmenu-btn__line::after {
  top: 8px;
}

.rfkmenu-btn.is-open .rfkmenu-btn__line {
  background: transparent;
}
.rfkmenu-btn.is-open .rfkmenu-btn__line::before {
  top: 0;
  transform: rotate(45deg);
}
.rfkmenu-btn.is-open .rfkmenu-btn__line::after {
  top: 0;
  transform: rotate(-45deg);
}

.rfkmenu {
  position: fixed;
  inset: 0;
  background: rgba(30,99,155,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.rfkmenu.is-open {
  opacity: 1;
  visibility: visible;
}

.rfkmenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.rfkmenu-list li {
  margin: 2em 0;
}
.rfkmenu-list a {
  color: #fff;
  text-decoration: none;
  font-size: 1.8em;
  line-height: 1.4;
}
.rfkmenu-list a span {
  font-size: 0.6em;
  display: block;
}

/* ~~~~~ footer ~~~~~ */
footer.rfk {
  padding-top: 40px;
}
.rfk-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 20px;
  text-align: center;
  font-size: 12px;
}

/* ~~~~~ contents ~~~~~ */

.rfk-container {
  position: relative;
  padding: 50px 0;
}
.rfk-inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
.rfk-container img {
  width: 100%;
}

.pdg00x {
  padding: 0 0 50px;
}

/* top */
.rfk-top {
  height: 100vh;
  width: 100%;
  background-color: #1ca1d9;
}
.rfk-top-bg1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/cycletourism/images/rfk/rfk_bg1.webp);
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
}
.rfk-top-bg2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/cycletourism/images/rfk/rfk_bg2.webp);
  background-size: contain;
  background-position: top 5% center;
  background-repeat: no-repeat;
  background-blend-mode: hard-light;
}
.rfk-top-logo {
  width: 75%;
  max-width: 400px;
  position: absolute;
  top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.rfk-redlabel {
  position: absolute;
  min-height: 80px;
  background-color: #e04b28;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 24px;
  font-size: 1.5em;
  line-height: 1.5;
  font-weight: 600;
  color: #fff;
  top: 0;
  left: 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  border-bottom-right-radius: 30px;
}

/* concept */
.rfk-bike {
  width: 30vw;
  min-width: 300px;
  position: absolute;
  left: 5%;
  top: -23%;
}
.rfk-concept {
  color: #fff;
  text-align: center;
  margin-top: 100px;
}
.rfk-concept h4 {
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 16px;
  border-radius: 20px;
  background-color: #fff;
  color: #1da73b;
  display: block;
  margin: 0 auto 8px;
}
.rfk-concept h1 {
  margin-bottom: 16px;
}
.rfk-concept h1 span {
  font-size: 1.3em;
}
.rfk-concept h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background-color: #fff;
  margin: 16px auto;
}
.rfk-concept h2 {
  margin-bottom: 16px;
}

/* news */
.rfk-news {
  display: flex;
  gap: 1.5em;
}
.rfk-news h2 {
  width: -moz-fit-content;
  width: fit-content;
  min-width: 120px;
  flex-shrink: 0;
}
.rfk-news ul li {
  display: block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1.5em;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.rfk-news ul li:last-of-type {
  margin-bottom: 0;
}
.rfk-news ul li span {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}


/* event */
.rfk-event {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px 0;
}
.rfk-event .rfk-title {
  margin: 50px 0;
}
.rfk-event-flex {
  border-bottom: solid 1px;
  border-color: #1ca1d9;
  display: flex;
  padding: 36px;
  gap: 1.5em;
}
.rfk-event-fleximg {
  width: 30%;
  margin-right: 30px;
  flex-shrink: 0;
}
.rfk-event-fleximg img {
  border-radius: 8px;
  overflow: hidden;
}

.rfk-event-flextxt h4{
  line-height: 1.5;
  margin-bottom: 16px;
  text-indent: -30px;
}
.rfk-event-flextxt h4::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url(/cycletourism/images/rfk/rfk_pin.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.rfk-event-flextxt h4 span {
  color: #888;
  font-size: 12px;
  display: block;
  padding-left: 30px;
}
.rfk-event-flextxt dl {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
}
.rfk-event-flextxt dt {
  min-width: 50px;
  padding: 1px 8px;
  background-color: #1da73b;
  color: #fff;
  border-radius: 4px;
  margin-right: 8px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.rfk-event-flextxt dd {
  margin-bottom: 8px;
  width: calc(95% - 58px);
}
.rfk-event-flextxt dd:last-of-type {
  margin-bottom: 0;
}
.rfk-event-flextxt dl a {
  color: #1da73b;
  text-decoration: underline;
}

.dfk-presenttxt {
  margin-top: 24px;
  background-color: #f17224;
  color: #fff;
  padding: 8px 16px 8px 50px;
  line-height: 1.25;
  border-radius: 30px;
  position: relative;
  font-size: 0.9em;
  font-weight: 600;
  min-height: 55px;
  display: flex;
  align-items: center;
}
.dfk-presenttxt::before {
  content: '';
  display: inline-block;
  width: 80px;
  height: 80px;
  background-image: url(/cycletourism/images/rfk/rfk_present.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: -20px;
  left: -40px;
}

/* map */
.rfk-map {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px 36px;
  margin-top: 0;
  padding-bottom: 40px;
}
.rfk-map .rfk-title {
  margin: 50px 0;
}
.rfk-map iframe {
  aspect-ratio: 6 / 4;
  height: auto;
}
.rfk-map .rfk-event-flextxt dt {
  min-width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.rfk-map .rfk-event-flextxt dd {
  width: calc(95% - 80px);
}

/* overview */
.rfk-overview-wave {
  position: relative;
}
.rfk-overview-wave::before {
  content: '';
  display: block;
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: url(/cycletourism/images/rfk/rfk_wave-wt.webp);
  background-size: contain;
  background-repeat: repeat-x;
  overflow: hidden;
}

.rfk-event-info {
  margin: 50px auto;
  display: grid;
  grid-template-columns: 180px 1fr;
}
.rfk-event-info dt {
  border-right: solid 1px #888;
  border-bottom: solid 1px #888;
  padding: 16px;
}
.rfk-event-info dd {
  border-bottom: solid 1px #888;
  padding: 16px;
}
.rfk-event-info dt:last-of-type {
  border-bottom: 0;
}
.rfk-event-info dd:last-of-type {
  border-bottom: 0;
}
.rfk-event-info dd a {
  color: #1da73b;
  text-decoration: underline;
}
.rfk-event-info ul,
.rfk-event-info ul li {
  list-style-type: disc;
  margin-left: 1em;
}
.rfk-event-info ul li {
  margin-bottom: 0.5em;
}


/* ~~~~~ important ~~~~~ */
.rfk .mgb100 {
  margin-bottom: 100px;
}
.rfk .mgt100 {
  margin-top: 100px;
}



/* -------------------------------------------

responsive

------------------------------------------- */

@media screen and (max-width: 600px) {
  
  .rfk h1 {
    font-size: 2em;
  }
  .rfk h2 {
    font-size: 1.7em;
  }
  .rfk h3 {
    font-size: 1.4em;
  }
  .rfk h4 {
    font-size: 1.2em;
  }

  /* ~~~~~ contents ~~~~~ */
  .rfk-container {
    padding: 30px 0;
  }

  .rfk-inner {
    margin: 0 auto;
  }

  .pdg00x {
    padding: 0 0 30px;
  }

  /* top */
  .rfk-top {
    height: 80vh;
  }
  .rfk-top-bg2 {
    background-position: bottom 15vw center;
  }
  .rfk-redlabel {
    padding: 8px 24px;
    font-size: 1.3em;
  }

  /* concept */
  .rfk-bike {
    width: 50%;
    min-width: 100px;
    max-width: 300px;
    left: 10px;
    top: -18vw;
  }
  .rfk-concept {
    margin-top: 25vw;
  }
  .rfk-concept h1 {
    font-size: 7vw;
  }
  .rfk-concept h2 {
    font-size: 5vw;
  }
  .rfk-concept p {
    text-align: left;
  }

  /* news */
  .rfk-news {
    display: block;
    gap: 1.5em;
  }
  .rfk-news h2 {
    margin: 0 auto 30px;
  }

  /* event */
  .rfk-event .rfk-title {
    margin: 24px 0;
  }
  .rfk-event-flex {
    padding: 36px 24px;
    flex-wrap: wrap;
  }
  .rfk-event-fleximg {
    width: 100%;
    margin: 0;
  }
  .rfk-event-flextxt {
    width: 100%;
    padding-left: 30px;
  }

  /* map */
  .rfk-map {
    padding: 24px;
    padding-bottom: 30px;
  }
  .rfk-map .rfk-title {
    margin: 24px 0;
  }
  .rfk-map .flex2 {
    margin: 30px 0 16px;
  }
  .rfk-map .flex2Inr iframe {
    height: auto;
  }
  .rfk-map .rfk-event-flextxt {
    padding-left: 0;
  }

  /* overview */
  .rfk-event-info {
    margin: 30px auto;
    grid-template-columns: 100px 1fr;
    line-height: 1.4;
    font-size: 0.9em;
  }
  .rfk-event-info dt,
  .rfk-event-info dd {
    padding: 8px;
  }

  /* ~~~~~ important ~~~~~ */
  .rfk .mgb100 {
    margin-bottom: 80px;
  }
  .rfk .mgt100 {
    margin-top: 80px;
  }
}