/* -----------------------------------------
    common
----------------------------------------- */

.oniver2 {
  font-family: 'NotoSerifMJP', 'NotoSerifRJP', 'NotoSerifBJP', 'NotoSerifSemiBJP', 'NotoSerifBKJP', serif !important;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  width: 100%;
}

/*==Noto Serif JP==*/
@font-face {
    font-family: 'NotoSerifRJP';
    src: url('https://ride-with-kyoto.jp/cycletourism/font/NotoSerifJP-Regular.otf') format('opentype');
    font-weight: 400;
}
@font-face {
    font-family: 'NotoSerifMJP';
    src: url('https://ride-with-kyoto.jp/cycletourism/font/NotoSerifJP-Medium.otf') format('opentype');
    font-weight: 500;
}
@font-face {
    font-family: 'NotoSerifSemiBJP';
    src: url('https://ride-with-kyoto.jp/cycletourism/font/NotoSerifJP-SemiBold.otf') format('opentype');
    font-weight: 600;
}
@font-face {
    font-family: 'NotoSerifBJP';
    src: url('https://ride-with-kyoto.jp/cycletourism/font/NotoSerifJP-Bold.otf') format('opentype');
    font-weight: 700;
}
@font-face {
    font-family: 'NotoSerifBKJP';
    src: url('https://ride-with-kyoto.jp/cycletourism/font/NotoSerifJP-Black.otf') format('opentype');
    font-weight: 800;
}

.abs-target {
  position: relative;
}

/* ----- link text ----- */
.a-under{
  text-decoration: underline;
  word-break: break-word;
  color: #8C342B;
  font-size: 0.8em;
}

/* ----- bg ----- */
.bg-brown{
  background-color: #e2d5ca;
}
.bg-bk{
  background-color: #000;
}
.bg-w {
  background-color: #fff;
}
.bg-red {
  background-color: #8C342B;
}
.bg-lyb {
  background-color: #f0ebd4;
}
.bg-lyb-w {
  background: linear-gradient(to bottom, #f0ebd4, #f7f6f5);
}
.bg-db {
  background-color: #101427;
}
.bg-kasumi {
  background-image: url(https://ride-with-kyoto.jp/cycletourism/images/oni/kasumi.webp);
  background-size: cover;
  background-position: center;
}

.obi-w {
  width: 100%;
  height: 100px;
  background-color: #fff;
}

/* ----- heading ----- */
.oniver2 h2 {
  font-size: 2em;
  line-height: 1.3;
  font-weight: 800;
}
.oniver2 h3 {
  font-size: 1.5em;
  line-height: 1.4;
  font-weight: 800;
}
.oniver2 h4 {
  font-size: 1.3em;
  line-height: 1.5;
  font-weight: 800;
}
.oniver2 h5 {
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: 800;
}

/* ----- text ----- */
.cnt {
  text-align: center;
}
.col-onidef {
  color: #3E3A39;
}
.col-w {
  color: #fff;
}
.col-orange {
  color: #e9501a;
}
.col-lg {
  color: #ccc;
}
.col-y {
  color: #dda044;
}

.note-b {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  margin: 15px 0;
}
.note-b a {
  display: block;
}

.onilink-red {
  color: #8C342B;
  text-decoration: underline;
}

.txt-s {
  font-size: 0.9em;
  line-height: 1.4;
  display: block;
  margin: 1em 0;
}


.inr-container {
  padding: 5em 0;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.br-sp {display: none;}

/* ----- box ----- */
.box-w {
  background-color: #fff;
  padding: 2em 3em;
  border-radius: 10px;
  margin: 50px auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}
.box-w h5 {
  margin-bottom: 0.7em;
}
.box-w h5 span {
  display: inline-block;
  margin-right: 0.7em;
}

.small-txt-box {
  margin: 3em auto;
  width: fit-content;
  width: -moz-fit-content;
  max-width: 600px;
}
.small-txt-box h4 {
  margin-bottom: 1em;;
}
.small-txt-box ul li {
  list-style-type: square;
  margin-bottom: 1em;
}
.long-txt-box {
  margin: 3em auto;
  width: fit-content;
  width: -moz-fit-content;
  max-width: 100%;
}
.long-img-box {
  margin: 3em auto;
  width: 100%;
  max-width: 800px;
}
.long-img-box img {
  width: 100%;
}
.note-box {
  display: block;
  border: solid 1px #fff;
  padding: 2em 3em;
  margin: 3em auto;
  font-size: 0.9em;
}
.note-box h5 {
  margin-bottom: 1em;
}

/* ----- btn ----- */
.btn-def {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 250px;
  width: fit-content;
  width: -moz-fit-content;
  margin: 0 auto;
  padding: .9em 3em .9em 2em;
  border: 1px solid #000000;
  border-radius: 5px;
  background-color: #fff;
  color: #000000;
  font-size: 1em;
  margin: 2em auto;
}
.btn-def::after {
  position: absolute;
  right: 2em;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left;
  width: 1.5em;
  height: .5em;
  background-color: #000000;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: '';
  transition: transform .3s;
}
.btn-def:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}
.btn-bgbk {
  background-color: #000;
  color: #fff;
}
.btn-bgbk::after {
  background-color: #fff;
}

/* ----- deco ----- */
/* → */
.arrow {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-top: 6.4px;
  border-radius: 9999px;
  background-color: #fff;
  margin-left: 8px;
}
.arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 10px;
  height: 1px;
  border-radius: 9999px;
  background-color: #fff;
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
}

/* clowd */
.titledeco-clowd{
  position: relative;
  display: block;
  background-size: 100px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-image: url(https://ride-with-kyoto.jp/cycletourism/images/oni/oniver2_nobg.webp);
  padding-bottom: 15px;
}

/* line */
.s-line {
  width: 200px;
  display: block;
  margin: 0 auto 50px;
}

/* ----- list ----- */
.nomal-list {
  margin-left: 1em;
}

/* ----- flexbox ----- */
.flexbox2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4em;
  margin: 3em 0 0;
}
.flexbox2-inr {
  width: calc(100% / 2);
}
.flexbox2-inr-img {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 6 / 4;
  width: 100%;
  transition: 0.6s;
}
a.flexbox2-inr-img:hover {
  opacity: 0.7;
  transition: 0.6s;
}

.flexbox4 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 3em 0 0;
}
.flexbox4-inr {
  width: calc(100% / 4 - 15px);
}
.flexbox4-inr img {
  width: 100%;
}

.flexbox4-inr-img {
  display: block;
  border-radius: 5px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 6 / 4;
  width: 100%;
  transition: 0.6s;
  margin: 8px auto;
}
.flexbox4-inr-img-oninomichi {
  background-image: url(https://ride-with-kyoto.jp/cycletourism/images/oni/spot_oninomichi.webp);
}
.flexbox4-inr-img-hotoke {
  background-image: url(https://ride-with-kyoto.jp/cycletourism/images/oni/spot_hotoke.webp);
}
.flexbox4-inr-img-umi {
  background-image: url(https://ride-with-kyoto.jp/cycletourism/images/oni/spot_umi.webp);
}
.flexbox4-inr-img-ocha {
  background-image: url(https://ride-with-kyoto.jp/cycletourism/images/oni/spot_ocha.webp);
}
.flexbox4-inr h5 {
  font-weight: 800;
  line-height: 1.4;
}
.flexbox4-inr p {
  font-size: 0.8em;
  line-height: 1.4;
  margin: 5px auto;
}

/* ----- full img flexbox ----- */
.flexbox3-fullimg {
  display: flex;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 1;
}
.flexbox3-fullimg-inr {
  width: calc(100% / 3);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.flexbox4-fullimg {
  display: flex;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 1;
}
.flexbox4-fullimg-inr {
  width: calc(100% / 4);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


/* ----- text + img flexbox ----- */
.flex3ti {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 2em 0 0;
}
.flex3ti-inr {
  width: calc(100% / 3 - 40px);
  margin: 10px;
}
.flex3ti-inr p {
  line-height: 1.5;
  font-size: 0.9em;
}
.flex3ti-inr h3 {
  margin-bottom: 15px;
}

.flex3ti-inrimg {
  aspect-ratio: 6 / 4;
  width: 100%;
  border: solid 2px transparent;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* ----- mgn ----- */
.mgn15 {
  margin: 15px auto;
}
.mgn30 {
  margin: 30px auto;
}
.mgn50 {
  margin: 50px auto;
}
.mgn100 {
  margin: 100px auto;
}


/* -----------------------------------------
    header
----------------------------------------- */

.l-header {
  display: block;
  z-index: 100;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  background: #000;
  height: 55px;
  font-family: 'NotoSerifMJP', 'NotoSerifRJP', 'NotoSerifBJP', 'NotoSerifSemiBJP', 'NotoSerifBKJP', serif !important;
}

.c-hamburger {
  position: relative;
  width: inherit;
  height: inherit;
  margin: 0;
  border: transparent;
  background-color: transparent;
  cursor: pointer;
}
.c-hamburger span {
  display: block;
  position: relative;
  left: 50%;
  width: 24px;
  height: 2px;
  transform: translateX(-50%);
  background: #fff;
  transition: all 0.4s;
}

.c-hamburger span:nth-of-type(1) {
  top: -4px;
}
.c-hamburger span:nth-of-type(2) {
  top: 1px;
  transform: translateX(-0.45deg);
}
.c-hamburger span:nth-of-type(3) {
  top: 6px;
  transform: translateX(-0.45deg);
}

.c-hamburger.is-active span:nth-of-type(1) {
  top: 0;
  transform: translateX(-50%) rotate(225deg);
}
.c-hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}
.c-hamburger.is-active span:nth-of-type(3) {
  top: -4px;
  transform: translateX(-50%) rotate(-225deg);
}

.p-header__logo {
  display: block;
  max-width: 80px;
}
.p-header__logo img {
  width: 100%;
}

.p-header__nav {
  display: flex;
  z-index: 10;
  position: absolute;
  top: 0;
  right: -100%;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100vh;
  background: transparent;
  opacity: 0;
  transition: top 0.6s, right 0.6s, opacity 0.6s;
}
.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  padding: 0 20px;
}
.p-header__hamburger {
  z-index: 100;
  position: absolute;
  top: 0;
  right: 0;
  width: 95px;
  height: 100%;
}
.p-header__nav.is-active {
  position: fixed;
  top: 0;
  right: 0;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.7);
}
.p-nav__inner {
    width: 85%;
  }
.p-nav__list {
  display: block;
  padding-right: 20px;
  padding-left: 20px;
}
.p-nav__item {
  position: relative;
  width: 100%;
  margin: 20px;
}
.p-nav__link {
  color: #fff;
  display: block;
  width: 100%;
  font-size: 0.9em;
}

/* hover red line */
.p-nav__link {
	position: relative;
	text-decoration: none;
}
.p-nav__link::after {
	background: #8C342B;
	bottom: -3px;
	content: '';
	display: block;
	height: 1px;
	left: 0;
	position: absolute;
	transition: all .4s ease-in-out;
	width: 0;
	z-index: 0;
}
.p-nav__link:hover::after {
	width: 100%;
}

@media screen and (min-width: 1150px) {
  .p-header__hamburger {
    display: none;
  }
  .p-nav__inner {
    margin-right: auto;
    margin-left: auto;
    max-width: initial;
    width: 100%;
  }
  .p-header__nav {
    position: static;
    opacity: 1;
    height: inherit;
    width: calc(100% - 180px);
  }
  .p-nav__list {
    padding-right: 0;
    padding-left: 0;
    display: flex;
    justify-content: flex-end;
  }
  .p-nav__item {
    width: fit-content;
    width: -moz-fit-content;
  }
}

/* -----------------------------------------
    footer
----------------------------------------- */
.footer-copyright {
  width: 100%;
  background-color: #000;
  color: #fff;
  padding: 0.5em 1em;
  font-size: 0.8em;
  z-index: 100;
}
.footer-copyright .copyright {
  text-align: center;
  display: block;
  position: relative;
  margin: 3vw 0;
}

/* -----------------------------------------
    body
----------------------------------------- */

.oni-pageouter {
  margin-top: 55px;
}

.oniver2 .note {
  font-size: 13.6px;
  line-height: 1.75;
  text-indent: -1em;
  padding-left: 1em;
}

/* ----- joint clowd ----- */

.joint-clowd3 img,
.joint-clowd2 img,
.joint-clowd1 img {
  width: 100%;
}
.joint-clowd1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}
.joint-clowd2 {
  position: absolute;
  bottom: -5em;
  width: 100%;
  height: auto;
  z-index: 1;
}
.joint-clowd3 {
  position: absolute;
  bottom: -23%;
  left: 0;
  width: 100%;
  z-index: 0;
}


/* ----- top area ----- */
.o2-top-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  position: relative;
}

.ot-top-title {
  width: 80%;
  max-width: 700px;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 0;
  z-index: 1;
}
.ot-top-titleimg {
  aspect-ratio: 5 / 3;
  width: 100%;
  background-image: url(https://ride-with-kyoto.jp/cycletourism/images/oni/oni2025_title.webp);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 5vw;
  position: relative;
  z-index: 2;
}
.o2-top-container h4 {
  margin: 5px auto 0;
  width: 100%;
  text-align: center;
  color: #000;
}

.o2-top-container h3{
  position: absolute;
  bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  z-index: 5;
}


/* ----- news ----- */
.oninews-box {
  margin: 3em auto 0;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 2em 3em;
  display: flex;
  gap: 15px;
  border-radius: 10px;
  width: 100%;
  flex-wrap: wrap;
}
.oninews-box > p {
  width: 100%;
  border-bottom: solid 1px #e2d5ca;
  padding-bottom: 15px;
  font-weight: 600;
}
.oninews-box p span {
  display: block;
  font-size: 0.8em;
  margin-bottom: 8px;
}


/* ----- story ----- */
.story-chain-top {
  width:100%;
  height: 20px;
  position: absolute;
  top:0;
  background-repeat: repeat-x;
  background-position: center;
  background-color: #fff;
}
.story-chain-bottom {
  width:100%;
  height: 20px;
  position: absolute;
  bottom: 0;
  background-repeat: repeat-x;
  background-position: center;
  background-color: #fff;
}

.oniver2 .story-box {
  margin: 50px 0;
  background-color: transparent;
  box-sizing: border-box;
  display: block;
  line-height: 1.75;
  font-weight: 700;
}

/* ----- chara -----*/
.onichara-ver2 .text2 img,
.onichara-ver2 .text3 img,
.onichara-ver2 .text4 img,
.onichara-ver2 .text5 img,
.onichara-ver2 .text6 img {
  padding: 50px 0;
  display: block;
}
.onichara-ver2 .flex3ti-inrimg {
  border-color: #dda044;
}
.onichara-ver2 .popstyle {
  font-size: 14px;
  width: fit-content;
  width: -moz-fit-content;
  padding: 0;
  height: fit-content;
  height: -moz-fit-content;
  margin: 15px auto 0;
  background-color: transparent;
  border-color: transparent;
  text-decoration: underline;
  color: #dda044;
}

.onichara-ver2 .arrow,
.onichara-ver2 .arrow::before {
  background-color: #dda044;
}

/* popup */
.onichara-ver2 .window, .onichara-ver2 .window2, .onichara-ver2 .window3, .onichara-ver2 .window4, .onichara-ver2 .window5, .onichara-ver2 .window6 {
  width: 80%;
  max-width: 600px;
  height: 80vh;
  pointer-events: auto;
}
.flex3ti-inrimg .popmegane img {
  width: 100%;
}

/* ----- tanoshimikata ----- */
.oni-challenge, .oni-areacomp, .oni-spotcomp {
  margin: 2em auto;
}
.oni-challenge p, .oni-areacomp p, .oni-spotcomp p {
  margin: 1em auto;
}
.oni-challenge ul, .oni-areacomp ul, .oni-spotcomp ul {
  padding-left: 23px;
  margin: 10px auto;
}
.oni-challenge ul li, .oni-areacomp ul li, .oni-spotcomp ul li {
  list-style-type: square;
}
.oni-challenge h5, .oni-areacomp h5, .oni-spotcomp h5 {
  font-weight: 800;
}
.oni-challenge p.note,
.oni-areacomp p.note,
.oni-spotcomp p.note {
  margin: 0 auto;
 }
 .oni-challenge h3 {
  border-left: solid 5px;
  border-color: #d27e24;
  padding-left: 10px;
 }
.oni-areacomp h3 {
  border-left: solid 5px;
  border-color: #8C342B;
  padding-left: 10px;
}
.oni-spotcomp h3 {
  border-left: solid 5px;
  border-color: #0f638d;
  padding-left: 10px;
}

/* ----- map ----- */
.oniver2-map {
  width: 100%;
  aspect-ratio: 6 / 4;
  margin: 3em auto;
}
.oniver2-map iframe {
  width: 100%;
  height: 100%;
}

/* ----- spot ----- */
.tab-4 {
  display: flex;
  flex-wrap: wrap;
  margin: 2em auto;
  justify-content: center;
}
.tab-4 label {
  position: relative;
  flex: 1 1;
  order: -1;
  width: calc(60% / 4);
  max-width: 200px;
  font-weight: 600;
  font-size: .9em;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  padding: 10px 20px;
}
.tab-4 label::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #e2d5ca;
  bottom: 0;
}

.tab-4 label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 20;
}

.tab-4 input {
  display: none;
}
.tab-4 > div {
  display: none;
  width: 100%;
  padding: 1.5em 1em;
  background-color: #fff;
}

/* oninomichi */
.tab-4 label:nth-of-type(1)::after {
  background-color: #a6261e;
}
/* hotoke */
.tab-4 label:nth-of-type(2)::after {
  background-color: #7b4890;
}
/* umi */
.tab-4 label:nth-of-type(3)::after {
  background-color: #0f638d;
}
/* ocha */
.tab-4 label:nth-of-type(4)::after {
  background-color: #009465;
}


.tab-4 label:has(:checked)::after {
  transform: scaleX(1);
}

.tab-4 label:has(:checked) + div {
  display: block;
}

/* contents */
.tab-4 label:has(:checked) + div.flexbox4 {
  display: flex;
  gap: 20px;
  margin: 2em 0 0;
  padding: 0;
}
.areatag {
  display: flex;
  gap: 8px;
}
.areatag span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background-color: #666;
  padding: 2px 5px;
  border-radius: 3px;
}
.areatag .oninomichi {background-color: #a6261e;}
.areatag .hotoke {background-color: #7b4890;}
.areatag .umi {background-color: #0f638d;}
.areatag .ocha {background-color: #009465;}

/* ----- entry ----- */
.oni-entry h4 {
  margin: 1em auto;
  text-indent: -12px;
  padding-left: 25px;
  display: inline-block;
}
.oni-entry h4 span {
  display: inline-block;
  font-size: 30px;
  margin-right: 10px;
}
.oni-entry p {
  margin: 2em auto;
}
.oni-entry section {
  border-bottom: solid 1px #e2d5ca;
  margin-bottom: 2em;
  padding-bottom: 2em;
}
.oni-entry section:nth-last-child(1) {
  border-bottom-color: transparent;
  padding-bottom: 0;
}
.oni-entry-qr {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 250px;
}
.oni-entry-qr img {
  width: 50%;
}

.x-scrl img{
  width: 100%;
}

/* ----- goods ----- */
.challengeprize {
  padding-left: 10px;
  border-left: 5px solid #d27e24;
  display: block;
  margin-bottom: 15px;
}
.areaprize {
  padding-left: 10px;
  border-left: 5px solid #8C342B;
  display: block;
  margin-bottom: 15px;
}
.compprize {
  padding-left: 10px;
  border-left: 5px solid #0f638d;
  display: block;
  margin-bottom: 15px;
}

/* ----- rules ----- */
.ruleimg-flex4 {
  margin: 50px auto;
  max-width: 660px;
  width: 100%;
}
.ruleimg-flex4 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.ruleimg-flex4 li {
  width: calc(100% / 2);
  max-width: 150px;
}
.ruleimg-flex4 img {
  width: 100%;
}


/* -----------------------------------------★★★★

    ☆☆☆responsive tablet

----------------------------------------- */

@media screen and (min-width: 1400px) {
  .ot-top-title {
    max-width: 50%;
  }
}

@media screen and (max-width: 1150px)  {
  /* -----------------------------------------
    common
  ----------------------------------------- */

  /* ----- flexbox ----- */
  .flexbox2 {
    align-items: flex-start;
  }

  /* -----------------------------------------
    body
  ----------------------------------------- */

  /* ----- top area ----- */
  .o2-top-container {
    aspect-ratio: 3 / 2;
  }



  /* ----- story ----- */
  .oniver2 .story-box {
    margin: 15px 0;
  }
}

@media screen and (max-width: 1000px)  {
  /* ----- top area ----- */
  .o2-top-container {
    aspect-ratio: 4 / 3;
  }
}

@media screen and (max-width: 820px)  {
  /* -----------------------------------------
    common
  ----------------------------------------- */

  /* ----- flexbox ----- */
  .flexbox4-inr {
    width: calc(100% / 2 - 10px);
  }

  /* -----------------------------------------
    body
  ----------------------------------------- */

  /* ----- joint clowd ----- */
  .joint-clowd2 {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    bottom: -10vw;
    overflow: hidden;
  }
  .joint-clowd2 img {
    width: 160%;
  }

  /* ----- top area ----- */
  .o2-top-container {
    aspect-ratio: 4 / 3;
  }
  .o2-top-container h4 {
    font-size: 16px;
  }

  .o2-top-container h3{
    font-size: 18px;
  }


  /* ----- entry ----- */
  .x-scrl {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .x-scrl .flex3ti-inr {
    width: 170px;
    flex-wrap: nowrap;
  }

  .x-scrl::-webkit-scrollbar {
    width: 12px;
    height: 5px;
  }
  .x-scrl::-webkit-scrollbar-thumb {
    background: #8C342B;
  }
  .x-scrl::-webkit-scrollbar-track {
    background: #e2d5ca;
  }


}


/* -----------------------------------------★★

    ☆☆☆responsive sp

----------------------------------------- */

@media screen and (max-width: 600px)  {
  /* -----------------------------------------
    common
  ----------------------------------------- */

  .oniver2 {
    font-size: 15px;
    line-height: 1.75;
  }


  /* ----- text ----- */
  .txt-l{
    text-align: left;
  }

  /* ----- mgn ----- */
  .inr-container {
    padding:10vw 0;
  }
  .br-pc {display: none;}
  .br-sp {display: block;}

  /* ----- box ----- */
  .box-w {
    padding: 3vw 5vw;
  }

  /* ----- flexbox ----- */
  .flexbox2 {
    flex-wrap: wrap;
    gap: 3vw;
  }
  .flexbox2-inr {
    width: 100%;
    margin: 0;
  }
  .flexbox2-inr:nth-last-child(1) {
    margin-bottom: 5vw;
  }

  /* ----- text + img flexbox ----- */
  .flex3ti {
    flex-wrap: wrap;
    gap: 50px;
  }
  .flex3ti-inr {
    width: 100%;
    margin: 0;
  }

  /* ----- text + img flexbox ----- */
  .flex3ti-inr:nth-last-child(1) {
    margin-bottom: 10vw;
  }

  /* -----------------------------------------
    body
  ----------------------------------------- */

  /* ----- joint clowd ----- */

  .joint-clowd3 {
    bottom: -13%;
  }

  /* ----- top area ----- */
  .o2-top-container {
    aspect-ratio: 1 / 1;
  }
  .ot-top-titleimg {
    margin-top: 20%;
  }

  .o2-top-container h3{
    bottom: calc(-13% + -1em);
    font-size: 18px;
    width: 100%;
  }



  /* ----- story ----- */
  .oniver2 .story-box {
    margin: 10px 0;
  }

  /* popup */
  .onichara-ver2 .window, .onichara-ver2 .window2, .onichara-ver2 .window3, .onichara-ver2 .window4, .onichara-ver2 .window5, .onichara-ver2 .window6 {
    width: 80vw;
  }

  /* ----- entry ----- */
  .x-scrl {
    flex-wrap: nowrap;
    gap: 20px;
  }
  .x-scrl .flex3ti-inr {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  /* ----- rules ----- */
  .ruleimg-flex4 li {
    width: calc(100% / 2 - 20px);
    max-width: auto;
  }


}