﻿@charset "utf-8";
/*--------------------------------------
 import common file
--------------------------------------*/
@import url("../../../common/css/styleCm.css");
/*--------------------------------------
 balancing game custom css
--------------------------------------*/
body#lucky-coin-game {
  background-image: url("../../img/bg.png")
}
:root {
  --color-red: #e51c24;
  --color-blue: #00AAE8;
  --color-dark-blue: #3490BF;
  --color-yellow: #fff100;
  --color-dark-yellow: #FFCC00;
  --color-green: #14A73B;
  --color-dark-green: #009688;
}
.package-img img{
		margin: 0 auto!important;
	}
.package-img {
  width: 50% !important;
}
p.howtoplay {
  font-size: calc(24px + 4 * (100vw - 320px)/448);
  font-weight: 600;
  background: #fff100;
  padding: .5em .5em .5em 1.5em;
  text-align: left;
  position: relative;
  border-radius: 1em;
  margin-bottom: 1em;
}
.howtoplay::before {
  content: none;
}
.howtoplay::after {
  content: none;
}
.howtoplay::after {
  content: none;
}
.howtoplay-3-Grid {
  display: grid;
  grid-template-areas: "image text";
  grid-template-;
  grid-template-rows: auto 1fr;
  grid-template-columns: calc(340px + 120 * (100vw - 900px)/1020) 1fr;
  gap: 30px;
  align-items: center;
}
.howto-title {
  grid-area: title;
  padding: 0.5em 1em;
  line-height: 1.2em;
  background: #e60012;
  color: #fafafa;
  border-radius: 1em;
  text-align: left;
  font-size: calc(16px + 5 * (100vw - 320px)/1020);
  margin: 22px 0;
  width: 50%;
}
.howto-image {
  grid-area: image;
  width: 100%;
}
.howto-text {
  grid-area: text;
  padding-left: 1em;
  font-size: calc(16px + 2 * (100vw - 320px)/1020);
  text-align: left;
}
.game h3{
  position: relative;
  padding: 5px 80px 5px 10px;
  background: #1d2088;
  font-size: 20px;
  color: white;
  line-height: 1.3;
  text-align: left;
  width: 230px;
}
.game h3:after {
  position: absolute;
  content: '';
  left: 190px;
  top: -2px;
  border: none;
  border-right: 2em solid #ffffff;/*三角形を設定*/
  border-bottom: 2em solid transparent;
}
.game ol {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  padding:0.5em;
}

.game ol li {
  position: relative;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
	text-align: left;
	font-size: calc(16px + 2*(100vw - 320px) / 1020);
}

.game ol li:after{
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*数字のデザイン変える*/
  display:inline-block;
  background: #1d2088;
  color: white;
  font-family: 'Avenir','Arial Black','Arial',sans-serif;
  font-weight:bold;
  font-size: 15px;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  /*以下上下中央寄せのため*/
  top: 1.3rem;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.game img{
	margin-left: 1em;
	margin-bottom: 2em;
}

@media screen and (max-width: 780px) {

	.game img{
		margin: 0 auto;
		width: 100%;
		margin-bottom: 2em;
	}
}

.border-dotted {
  border-top: 10px dotted #8bc8e1;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  margin: 0 auto 70px;
  width: 80%;
}
.border-solid {
  border-top: 1px solid #c1c1c1;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  margin: 20px auto;
  width: 80%;
}
.section-title {
  display: block;
  font-family: "Arial Black", "Century Gothic";
  font-size: calc(27px + 10 * (100vw - 320px)/448);
  font-weight: 600;
  height: 2%;
  width: 100%;
  margin: 0;
  border-radius: 16px 16px 0 0;
  text-align: center;
}
.section-title.howtoplay {
  background: var(--color-red);
  color: #fff;
}
.section-title.contents {
  background: var(--color-dark-blue);
  color: #fff;
}
.section-title.assemble {
  background: var(--color-dark-yellow);
  color: #231815;
}

.background {
  padding: 2rem;
}
.flat-head {
  border-radius: 0 0 16px 16px;
}
.text-box {
  font-size: calc(19px + 4 * (100vw - 320px)/448);
  background: #f3e69c91;
  padding: .6em .6em .6em 1.5em;
  text-align: left;
  border-radius: 1em;
  margin-bottom: 1em;
}
.text-box li{
	text-indent: -1.2em;
   padding-left: 1.2em;
	padding-top: 1rem;
}
.text-box.text-small {
  font-size: calc(16px + 2 * (100vw - 320px)/448);
}
.number-list {
  position: relative;
}
.number-list li {
  margin-bottom: .5em;
  line-height: 1.25em;
	text-indent: -1em;
   padding-left: 1em;
}
.number-list li span {
  position: absolute;
  left: 10px;
  margin: 0;
}
@media screen and (max-width: 820px) {
  .howto-title {
    width: fit-content;
  }
}
@media screen and (max-width: 480px) {
  .item-title {
    font-size: 1.6em;
    margin-top: 30px;
    border: 3px solid #E51C24;
    border-radius: 16px;
  }
  .item-title::after {
    border-width: 10px;
    margin-left: -10px;
  }
  .item-title::before {
    border-width: 14px;
    margin-left: -14px;
  }
  .item-title-br {
    display: block;
  }
  .howtoplay-3-Grid {
    display: grid;
    grid-template-areas: "title""image""text";
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .howto-image {
    width: 100%;
  }
  .howto-title {
    margin: 40px 0 0;
    width: 100%;
  }
  /*======= package-img ========*/
  .package-img {
    width: 80%!important;
  }
  .background {
    padding: 1rem;
  }
}
@media screen and (max-width: 416px) {
/*
  .package-img img {
    margin: 0 auto;
  }
*/
  .hr {
    margin: 26px auto;
  }
}
/*----------------------------------------------
    set Content
----------------------------------------------*/
.background_a h4::before {
  content: none;
}
.background_b h4::before {
  content: none;
}
.background_c h4::before {
  content: none;
}
.background_d h4::before {
  content: none;
}
.background_e h4::before {
  content: none;
}
/*------------------------------------------------
    battery caution
--------------------------------------------------*/
.background_a h4, .background_b h4, .background_c h4, .background_d h4, .background_e h4 {
  padding: .5em 1em;
  line-height: 1.2em;
}
.background_a h4::before, .background_b h4::before, .background_c h4::before, .background_d h4::before, .background_e h4::before {
  content: none;
}
.contentSingle {
  text-align: left;
}
.contentSingle div {
  border: 4px solid #000;
  box-sizing: border-box;
}
.contentSingle h5 {
  display: block;
  background: #000;
  color: #FFF;
  margin: 0;
  font-size: calc(16px + 5 * (100vw - 320px)/1020);
  text-align: center;
}
.contentSingle p {
  font-size: calc(16px + 2 * (100vw - 320px)/1020);
  /*    font-weight: 600;*/
}
.contentSingle ol {
  padding-right: 1em;
}
.contentSingle li {
  list-style: auto;
  list-style-position: outside;
  font-size: calc(12px + 2 * (100vw - 320px)/1020);
  /*    font-weight: 600;*/
}
.caution {
  margin: 1em;
}
/*---------------------------------------------
    Other
-----------------------------------------------*/
.m-0 {
  margin: 0;
}
.p-0 {
  padding: 0;
}
.bg-none {
  background: transparent;
}