
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


#wrap {
margin: 0;
width: 100%;
height: auto;
position: relative;
line-height: 1.5;
color: #333333;
font-family: "M PLUS Rounded 1c", sans-serif;
font-weight: 600;
font-style: normal;
text-align: center;
}

#main {
background-color: #ffffff;
background-image: linear-gradient(90deg, #0000001c 1px, transparent 1px), linear-gradient(#0000001c 1px, transparent 1px);
background-position: 10px 10px;
background-size: 21px 21px;
}

#header img{
    width: 100%;
  }

picture img{
  display: block;
}

/* //////////////////////// */




#mail a{
  text-decoration: none;
}

#mail p{
background-color: #FF6671;
padding: 0.5rem;
font-size: calc(18px + 6 * (100vw - 320px)/1600);
color: #fff;
font-weight: bold;
}

#mail h2{
  background-color: #FFF3F2;
  font-size: calc(20px + 20 * (100vw - 320px)/1600);
  padding: 1rem;
  color: #333333;
  background-image: linear-gradient(#FF6671, #FF6671);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.3s;
}

#mail img{
  margin-right: 0.5rem;
}

#mail h2:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 2px; /* 下線の横幅を100%にする */
}


/* //////////////////////// */

.container{
      max-width: 1100px; 
      margin: 0 auto;
      display: block;
      padding: 6.25rem 1rem 0;
}

a:hover{
  opacity: 0.8;
}

h1{
    font-size: calc(32px + 16 * (100vw - 320px)/1600);
    color: #02D1C6;
    margin-bottom: 3.375rem;
    font-weight: 900;
  }


/* //////////////////////// */


#description h3{
  font-size: calc(24px + 8 * (100vw - 320px)/1600);
  margin-bottom: 1.5rem;
  color: #FF6671;
    font-weight: 900;


}

#description .text_box{
  position: relative;
  letter-spacing: 0.1em;
  border:8px solid #02D1C6;
  border-radius: 30px;
  padding: 2rem;
  background-image: url(../images/bg_description.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.text_box::after, .text_box::before{
    position: absolute;
    content: "";
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.text_box::after{
    width: 140px;
    height: 140px;
    bottom: -5%;
    left: -2%;
    background-image: url(../images/2stars.png);
}

.text_box::before{
    width: 80px;
    height: 80px;
    right: -2%;
    top: -5%;
  background-image: url(../images/starpink.png);
}





#description p{
  line-height: 2;
  font-size: calc(18px + 4 * (100vw - 320px)/1600);
}


/* //////////////////////// */

.personality_block img{
 max-width: 350px;
 width: 100%;
 margin-bottom: 2rem;
}

.personality_block h4{
  font-size: calc(18px + 4 * (100vw - 320px)/1600);
}

#personality{
  margin-bottom: 2rem;
}




/* //////////////////////// */

#x {
background: #FFF7F8;
padding: 2rem 0 4rem;
}

.bg_x img{
      width: 100%;
      margin-bottom: -10px;
}

#x .container{
    padding: 0 1rem;
  }

#x h1{
margin-bottom:1rem;
}

#x img{
  max-width: 300px;
  width: 100%;
}

/* //////////////////////// */




.sp {
display: none;
}

.pc {
  display: block;
  }


@media screen and (max-width: 768px) {

  .sp {
  display: block;
  }

  .pc {
  display: none;
  }


/* //////////////////////// */


.container{
    padding: 3.25rem 1rem;
}

.text_box::after{
  width: 80px;
    height: 80px;
    bottom: -12%;
    left: -3%;
}

.text_box::before {
    width: 40px;
    height: 40px;
}

}

@media screen and (max-width: 550px) {
  #wrap{
    line-height: 1.3;
  }


  h1{
    margin-bottom: 2.5rem;
  }

  #description p{
    line-height: 1.5;
  }

  .txt{
    width: 100%;
  }

  
#personality{
  margin-bottom: 0;
}



}