@import url("./root.css");


/*=============================================
common
=============================================*/

body {
  font-family: YakuHanJP_Narrow, 'Roboto', 'Noto Sans JP', sans-serif, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background-color: var(--primary-color-lighten);
}

html,
body,
.wrapper {
  min-height: 100vh;
}

[data-animate="animate__fadeIn"],
[data-animate="animate__fadeInUp"],
[data-animate="animate__fadeInUpSmall"] {
  opacity: 0;
}


/*=============================================
layout
=============================================*/
.wrapper__inner {
  max-width: 430px;
  margin: auto;
}

.wrapper__inner::before {
  max-width: 430px;
  content: "";
  position: fixed;
  width: 100%;
  height: 100vh;
  background: url("../images/common/bg.jpg") no-repeat top center var(--primary-color);
  background-size: cover;
  z-index: -1;
  left: 50%;
  top: 0;
  transform: translateX(-50%)
}


.main__content {
  background-color: #fff;
  border-radius: 10px;
  margin: 10px;
  margin-top: 20px;
  padding: 20px;
  padding-top: 30px;
  position: relative;
}

 @media screen and (max-width:375px) {
  .main__content {
    padding: 20px 5px;
  }
}

.main__content_narrow {
  max-width: 380px;
  margin: 20px auto;
  padding: 20px;
  position: relative;
}

.num {
  /* font-family: var(--ff-num); */
  font-weight: bold;
}

.small {
  font-size: 90%;
}

/* @media screen and (min-width:431px) {
    .wrapper__inner{
        margin: 0;
        margin-left: auto
    }
    .wrapper__inner::before{
        left: auto;
        top: 0;
        right: 0;
        transform: none;
        }
} */

  .text-center{
    text-align: center !important;
  }
  
  #main__vis{
width: 90%;
  margin: 7rem auto;
  }
/*=============================================
header
=============================================*/
header {
  background: linear-gradient(rgba(0,0,0,1),rgba(0,0,0,0));
  color: #fff;
}

.header__lu{
  padding: 20px 10px 10px 10px;
  grid-template-columns: 35% 1fr;
  display: grid;
  justify-content: center;
  align-items:end;
  gap: 5%;
}

.header__logo {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.header__user {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.header__logo img{
  display: block;
}

.header__record {
  display: grid;
  text-align: right;
  grid-template-columns: auto auto;
  padding: 5px 10px;
  gap: 10%;
  width: 90%;
  margin: auto;
}

.header__record .num{
  font-size: clamp(1.125rem, 0.7614rem + 1.8182vw, 1.25rem);
}

.header__record .last {
  padding-left: 2px;
  padding-right: 3%;
  font-weight: normal;
}


.header__record-ranking, .header__record-point {
  display: grid;
  align-items: center;
  justify-content: right;
  grid-template-columns: auto 1fr auto;
}

.header__record-ranking span:first-child, .header__record-point span:first-child {
  color: #ffde00;
}

.header__record-point{
  background: url("../images/common/record_coins.png") no-repeat left center;
  background-size: 13%;
  padding-left: 15%;
}

.header__record-ranking{
  background: url("../images/common/record_rank.png") no-repeat left center;
  background-size: 13%;
  padding-left: 15%;
}

.header__user {
  display: grid;
  grid-template-columns: 15% auto;
  gap: 10px;
  align-items: center;
  line-height: 1.2;
  font-size: clamp(0.75rem, 0.3864rem + 1.8182vw, 0.875rem);
  color: #fff;
  border-radius: 10px;
  position: relative;
  margin: 0 2%;
  background: url("../images/common/line.png") no-repeat bottom right;
  background-size: 85%;
}

.header__user-money{
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
}

.header__user .num {
  font-size: clamp(1.25rem, 0.8864rem + 1.8182vw, 1.375rem);
}

.header__user-icon {
  background-color: #fff;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10%;
}

.header__user-icon img {
  display: block;
}

.header__user-icon.user_image{
  padding: 0;
}

.header__user-icon.user_image img {
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.header__user-balance {
  margin-right: 2px;
}

.header__user-pt {
  margin-left: 2px;
}

.header__nav{
  background: rgba(6, 81, 137, 0.9);
  padding: 10px;
}

.header__nav ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: auto;
  font-size: clamp(0.75rem, 0.3864rem + 1.8182vw, 0.875rem);
  text-align: center;
}

.header__nav a{
  display: block;
}

.header__nav ul img{
  width: 30%;
  display: block;
  margin: auto;
  margin-bottom: 5px;
}

/*=============================================
footer
=============================================*/
  footer {
    
    color: #fff;
    text-align: center;
    
  }
  
  footer a{
    position: relative;
    padding: 5px 10px;
  }
  
  footer a:not(:last-child):after{
    content: "";
    position: absolute;
    width: 1px;
    height: 0.75rem;
    right: 0;
    top: 50%;
    background: #fff;
    transform: translate(-50%,-50%);
  }
  


/*=============================================
color
=============================================*/

.color--blue{
  background: var(--gd-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.color--red{
  background: var(--gd-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.color--gold{
  background: var(--gd-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.color--silver{
  background: var(--gd-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.color--bronze{
  background: var(--gd-bronze);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*=============================================
title
=============================================*/
.main__title {
  text-align: center;
  font-weight: bold;
}

.main__title span {
  display: block;
  /* background: var(--gd-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  line-height: 1.2;
}

.main__title .ja {
  font-size: 24px;
  /* font-weight: 900; */
}

.main__title .num {
  font-size: 14px;
}

/*=============================================
btn
=============================================*/
.btn {
  text-align: center;
}

.btn>a,
.btn>span,
.btn input[type=submit],
.btn input[type=button] {
  display: block;
  border-radius: 7px;
  padding: 0.8em 1em 0.6em 1em;
  font-size: 18px;
  margin: auto;
  overflow: hidden;
  font-weight: bold;
  color: #fff;
  background:linear-gradient(to right, #fa6eff, #e501f9);
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.35);
}

.gray-out_btn>a,
.gray-out_btn>span,
.gray-out_btn>input[type=submit] {
  /* background-image: linear-gradient(#e8e8e8 0%, #d6d6d6 100%); */
  background: #d6d6d6;
  color: #fff;
  box-shadow: none;
}

.btn.btn-lg>a,
.btn.btn-lg input[type=submit] {
  width: 100%;
  font-size: 20px;
  display: block;
}

.btn.btn-white > a,
.btn.btn-white > span
{
  background: #fff;
  color: var(--pink);
  border: solid 1px var(--pink);
  box-shadow: none;

}

/*=============================================
update
=============================================*/
.update {
  display: grid;
  gap: 10px;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.update__btn a {
  font-size: 14px;
  font-weight: normal;
  padding: 0.6em 2em 0.5em 2em;
}

.update__time {
  font-size: 16px;
  color: var(--gray-text-color);
}


/*=============================================
space
=============================================*/
.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-5 {
  margin-top: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-15 {
  margin-top: 15px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

/*=============================================
faq
=============================================*/
.sub_title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0 0 1rem;
}

.sub_title::after {
  content: "";
  height: 3px;
  width: 100%;
  background: var(--blue);
  border-radius: 2px;
  display: block;
  margin: 1.5rem auto;
  margin-bottom: 0;
  position: relative;
}

.qa {
  padding-bottom: 2rem;
}

.question {
  background: var(--primary-color-lighten);
  border-radius: 4px;
  position: relative;
  padding: 0.5rem;
  padding-left: 2.5rem;
}

.question::after {
  content: "Q.";
  font-size: 1rem;
  /* font-weight: bold; */
  position: absolute;
  top: 0.4rem;
  left: 0.75rem;
}

.answer {
  position: relative;
  padding: 0.5rem;
  padding-left: 2.5rem;
}

.answer::after {
  content: "A.";
  font-size: 1rem;
  /* font-weight: bold; */
  position: absolute;
  top: 0.4rem;
  left: 0.75rem;
}

.answer a {
  color: var(--text-color);
}

/*=============================================
tutorial
=============================================*/
.rule ul {
  padding-bottom: 1rem;
}

.rulelist {
  line-height: 1.5rem;
  padding-left: 1rem;
  position  : relative;
}

.rulelist:before {
  content:  "";
  width:  8px;
  height:  8px;
  display:  inline-block;
  position   : absolute;
  background: var(--blue);
  border-radius:  50%;
  //margin-right: 0.5rem;
  left: 0rem;
  top: 0.5rem;
}

.red {
  color: var(--red);
}

.tutorial_inner {
  padding: 1.5rem 0 3rem;
}

.tutorial_image {
  padding: 2.5rem;
  background: var(--primary-color-lighten);
  border-radius: 8px;
  margin: 0.5rem 0 2rem;
  overflow: hidden;
}

.tutorial_image img {
  border-radius: 8px;
}

.badge {
  text-align: center;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  padding: 0.25rem;
}

/*=============================================
welcome
=============================================*/
.caution-list{
  position: relative;
  padding: 0.5rem;
  padding-left: 2.5rem;
}
.caution-list::before {
  content:  "";
  width:  8px;
  height:  8px;
  display:  inline-block;
  background: var(--blue);
  border-radius:  50%;
  /* margin-right: 0.5rem; */
  position: absolute;
  top: 1rem;
  left: 1.25rem;
}
