@charset "utf-8";

/*-----------------------
|  8.0 -360PX
|  8.1 -768PX
|  8.2 -1024PX-
|  8.3 1200PX-
-----------------------*/

/*------------------------------------
| 8.1 0px-
--------------------------------------*/
@media screen and (min-width: 0rem) {


.main-contents{
  margin-top:70px;

}



/*---CARD---*/

.Profile-flex {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}

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

.card {
  background-color: #fffcf8;
  border-radius: var(--ui-radius-card);
  padding: 1.8rem 1.5rem 1rem;
  text-align: center;
  position: relative;
  width: 250px;
  height: auto;
  margin: 1.5rem auto;
  filter: drop-shadow(0px 6px 6px rgba(172, 183, 213, 0.4));
}

.card_bar {
  width: calc(100% + 3.2rem);
  height: 35px;
  position: relative;
  bottom: 30px;
  margin: 0 -1.6rem;
  border-radius: 0.5px;
}

.card_icon {
  display: flex;
  position: absolute;
  top: 6px;
  right: 7px;
  width: 95px;
}
.card_icon img {
  width: 19px;
  height: auto;
  max-width: 100%;
}

.card-size {
  position: relative;
  margin: 1rem auto;
  top: -3vh;
}

.card-image {
  position: relative;
  width: 70%;
  max-width: 200px;
  height: auto;
  top: -20px;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0.8rem auto;
}

/*---BUTTON---*/

.prof-LinkIcon {
  position: relative;
  display: flex;
  justify-content: center;
  top: -0.7rem;
}
.prof-LinkIcon-non {
  top: -0.7rem;
}
.prof-LinkIcon a {
  width: 30px;
  margin: 0 1rem;
  transition: 0.2s;
  filter: drop-shadow(0px 3px 3px rgba(213, 203, 172, 0.6));
}
.prof-LinkIcon a:hover {
  transform: translateY(3px);
  filter: drop-shadow(0px 0px 0px);
}

.prof-LinkIcon img {
  position: relative;
  width: 30px;
  height: 30px;
  margin: auto;
}




/* CHARACTER-contents */
.chara-contents{
  margin-top: 125px;
  padding-left: 5%;
  padding-right: 5%;
}

.chara-contents-card{
  width: 80%;
  height: auto;
  margin-top: 40px;
}

/* chara-contents_inbox */
.chara-contents_inbox{
  width: 95%;
  height: 90%;
  margin: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}

.flex-item01{
}

  .main_visual{
    max-width: ;
    width: auto;
    padding-bottom: 5%;
    max-width: 500px;
    max-height: 500px;
  }

.flex-item02{
    text-align: center;
    max-width: 500px;
  }

  .flex-item02-01 {
    margin: 0.5rem auto;
  }

  .flex-item02-01 h3{
    font-size: 2rem;
    line-height: 2rem;
    margin: 0;
  }

  .flex-item02-01 p{
    font-weight: 600;
  }

  .flex-item02-02{
    text-align: left;
    min-width: 215px;
  }

  .flex-item02-02_p01{
  background-color: #fff;
  font-size: 13px;
  line-height: 1rem;
  padding: 20px;
  border: 2px solid;
  border-radius: 10px;
  }

  .flex-item02-02_p01.o06{
    border-color: var(--ui-color-c-1);
  }
  .flex-item02-02_p01.nnn{
    border-color: var(--ui-color-c-3);
  }
  .flex-item02-02_p01.kopa{
    border-color: var(--ui-color-c-5);
  }


  .flex-item02-02_p02{
    font-size: 0.7rem;
    font-weight: 500;
    margin: 5px auto;
    padding: 0 25px;
    border-radius: 20px;
    }

  .flex-item02-02_p02 span{
    display: inline-block;
    margin: 5px auto 0;
  }

.character-main-icon_box{
  width: 70%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin:10px auto
  }
  .character-main-icon_box img{
    width: 20%;
    height: auto;
    }

  .fuwa_animation {
    animation-name: fuwa;
    animation-duration: 1.6s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
  }

  @keyframes fuwa {
    0% {
      transform: translate(0, 0px);
    }
    100% {
      transform: translate(0, 20px);
    }
  }

/* Character */
.card_bar{
  text-align: center;
}

.section-Character {
  padding-bottom: 5rem;
  padding-top: 5rem;
  text-align: center;
  display: block;
}

.section-Character--image {
  margin-top: var(--ui-gap-hero);
}

.character-icon_box{
  width: 60%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 10px auto;
}

.character-icon_box img{
  width: 20%;
  height: auto;
}

.character-card-image {
  position: relative;
  width: 70%;
  max-width: 200px;
  height: auto;
  top: -20px;
  border-radius: var(--ui-radius-card);
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0.8rem auto;
  overflow:hidden; //これを記述することではみ出た部分を非表示にします。
}

.character-card-image img{
transition:1s all;
}

.character-card-image img:hover{
  transform:scale(1.2,1.2);
  transition:1s all;
}

/* Card-background */
.chara-card-bgL {
  position: absolute;
  z-index: -5;
  margin: 0;
  height: 260px;
  bottom: 35px;
}
.chara-card-bgR {
  position: absolute;
  z-index: -5;
  margin: 0;
  height: 260px;
  right: 20px;
  bottom: 10px;
}

}
/*------------------------------------
8.0 400px プロフの背景
--------------------------------------*/
@media screen and (min-width: 400px) {
  .Profile-card-bgL {
    height: 340px;
    bottom: 20px;
  }
  .Profile-card-bgR {
    height: 330px;
    right: 20px;
    bottom: 35px;
  }
  .Profile-card-bgL-non {
    height: 330px;
    bottom: 20px;
  }
  .Profile-card-bgR-non {
    height: 330px;
    right: 20px;
    bottom: 20px;
  }
}








/*------------------------------------
8.0 707px nonちゃんのリンクアイコン
--------------------------------------*/
@media screen and (min-width: 707px) {
  .prof-LinkIcon-non {
    top: 0.5rem;
  }
}





/*------------------------------------
| 8.1 768px-
--------------------------------------*/
@media screen and (min-width: 768px) {
  /*-----------------------------------
  VARIABLE
  -------------------------------------*/

  :root {
    /* MARGIN */
    --ui-typography-margin-body: 1.25rem;

    /*----------------------------------------------------------
    | LAYOUT
    ----------------------------------------------------------*/

    --ui-layout-container: 4.25rem;
    --ui-layout-gutter: 1.5rem;

    /* GAP */

    --ui-gap-hero: 3rem;
    --ui-gap-feature: 3rem;
    --ui-gap-card: 1.5rem;
  }

  /*-----------------------------------
  LAYOUT
  -------------------------------------*/
  .ui-layout-container,
  .ui-layout-column-center {
    margin-left: auto;
    margin-right: auto;
  }

  .ui-layout-grid-3 {
    column-gap: var(--ui-layout-gutter);
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .ui-layout-grid-3 div:nth-of-type(3) {
    left: calc(50% + (var(--ui-layout-gutter) / 2));
    position: relative;
  }
  .ui-layout-column-6 {
    width: calc((var(--ui-layout-grid) * 6) + (var(--ui-layout-gutter) * 5));
  }

 
  /*--- CARD ---*/

  .card_bar {
    width: calc(100% + 3.2rem);
    height: 35px;
    bottom: 30px;
    margin: 0 -1.6rem;
  }
  .prof-LinkIcon {
    left: 0 !important;
  }
  .Profile-card-bgL {
    height: 350px;
    bottom: 40px;
  }
  .Profile-card-bgR {
    height: 350px;
    bottom: 20px;
  }

  .Profile-card-bgL-non {
    height: 350px;
    bottom: 35px;
  }
  .Profile-card-bgR-non {
    height: 350px;
    bottom: 20px;
  }

/* CHARACTER-contents */
.chara-contents{
  margin-top: 100px;
}

.chara-contents-card{
  width: 80%;
  height: auto;
  margin-top: 40px;
}

/* chara-contents_inbox */
.chara-contents_inbox{
  width: 95%;
  height: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  font-size: 18px;
}

.flex-item01{
}
  .main_visual{
    width: auto;
  }

.flex-item02{
    text-align: center;
    max-width: auto;
  }

  .flex-item02-01 {
    margin: 0.5rem auto;
  }

  .flex-item02-01 h3{
    font-size: 2em;
    line-height: 2em;
    margin: 0;
  }

  .flex-item02-01 p{
  }

  .flex-item02-02{
    text-align: left;
  }

  .flex-item02-02_p01{
  background-color: #fff;
  font-size: 16px;
  line-height: 1em;
  padding: 20px;
  }

  .flex-item02-02_p02{
    font-size: 0.7em;
    margin: 5px auto;
    padding: 0 25px;
    border-radius: 20px;
    }

  .flex-item02-02_p02 span{

  }


}

/*------------------------------------
| 8.2 1024PX-
--------------------------------------*/
@media screen and (min-width: 1024px) {


/* CHARACTER-contents ----------*/
.chara-contents{
  margin-top: 50px;
}

.chara-contents-card{
  width: 80%;
  height: 470px;
}

/* CHARACTER-contents */
.chara-contents-card{
  width: auto;
  max-width: 1000px;
  height: auto;
  margin-top: 40px;
}

/* chara-contents_inbox */
.chara-contents_inbox{
  width: 95%;
  height: 90%;
  margin: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  font-size: 23px
}

.flex-item01{
}
  .main_visual{
    width: auto;
    padding-bottom: 40px;
  }

.flex-item02{
    text-align: center;
    max-width: auto;
  }

  .flex-item02-01 {
    margin: 0.5rem auto;
  }

  .flex-item02-01 h3{
    font-size: 2rem;
    line-height: 2rem;
    margin: 0;
  }

  .flex-item02-01 p{

  }

  .flex-item02-02{
    text-align: left;
  }

  .flex-item02-02_p01{
  background-color: #fff;
  font-size: 1em;
  line-height: 1.2em;
  padding: 20px;
  }

  .flex-item02-02_p02{
    font-size: 0.8em;
    line-height: 1em;
    margin: 5px auto;
    padding: 0 25px;
    border-radius: 20px;
    }

  .flex-item02-02_p02 span{
  }

/* Character */
.card_bar{
  text-align: center;
}

.section-Character {
  padding-bottom: 5rem;
  padding-top: 5rem;
  text-align: center;
  display: block;
}

.section-Character--image {
  margin-top: var(--ui-gap-hero);
}

.character-icon_box{
  width: 60%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 2rem auto;
}

.character-icon_box img{
  width: 20%;
  height: auto;
}

.character-card-image {
  position: relative;
  width: 70%;
  max-width: 200px;
  height: auto;
  top: -20px;
  border-radius: var(--ui-radius-card);
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0.8rem auto;
  overflow:hidden; //これを記述することではみ出た部分を非表示にします。
}

.character-card-image img{
transition:1s all;
}

.character-card-image img:hover{
  transform:scale(1.2,1.2);
  transition:1s all;
}

/* Card-background */
.chara-card-bgL {
  position: absolute;
  z-index: -5;
  margin: 0;
  height: 260px;
  bottom: 35px;
}
.chara-card-bgR {
  position: absolute;
  z-index: -5;
  margin: 0;
  height: 260px;
  right: 20px;
  bottom: 10px;
}
}


/*------------------------------------
| 8.3 360px 以下
--------------------------------------*/
@media screen and (max-width: 22.5rem) {


/* -- CHARACTER-contents -- */
.chara-contents-card {
  width: 230px;
  height: auto;
  margin-top: 40px;
  padding: auto 30px;
}

/* chara-contents_inbox */
.chara-contents_inbox{
  width: 95%;
  height: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

  .main_visual {
    width: 200px;
}
}


/*------------------------------------
| -800px
--------------------------------------*/
@media screen and (max-width: 800px) {
  .chara-contents{
    margin-top: 115px;
  }

  .chara-contents_inbox {
    flex-wrap: wrap;
}

.main_visual {
  width: 70%;
}

}