@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

#nav {
    position: fixed;
    z-index: 2;
    background-color: #eee;
    opacity: 0.8;
    padding: 15px;
}

#nav li {
    list-style: none;
    width: 200px;
    font-size: 20px;
    padding: 15px 0;
    text-align: center;
    font-family: serif;
    letter-spacing: 5px;
}
/*Xが若干大きく見えるため、HTMLで大きさ指定*/


#nav li a {
    text-decoration: none;
    color: #000;
}

.about-txt {
    padding-top: 90px;
}

.about-box {
    background-image: url(images/about-main-pic1.png);
    background-size: cover;
}

p {
    text-align: center;
    font-family: serif;
    letter-spacing: 5px;
}

h1 {
    padding-bottom: 130px;
    font-size: 50px;
    text-align: center;
    font-weight: 250;
    color: #5e4b4b;
    font-family: serif;
    letter-spacing: 10px;
}

h2 {
    padding-bottom: 30px;
    font-size: 40px;
    font-weight: 100;
    color: #5e5656;
    text-align: center;
    font-family: serif;
    letter-spacing: 10px;
}

.profile-box {
    margin: 120px 0 150px;
}

.profile-box h2 {
    margin-bottom: 60px;
}

.about-profile-box {
    width: 50%;
    margin: 0 auto;
}

.about-profile-box img {
    width: 100%;
}

.bubble-background {
    position: relative;
    background-color: #fff;
    height: 100vh;
    width: 100%;
    overflow: hidden;
  }

  .bubble {
    position: absolute;
    bottom: -50px;
    background-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.2);
    animation: bubble 8s linear infinite;
  }
  
  /* 泡の一番明るい部分を疑似要素で表現 */
  .bubble::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(0.25) translate(-70%, -70%);
    background: radial-gradient(rgba(255,255,255, 0.5), transparent);
    border-radius: 50%;
  }
  
  /* 泡が上に浮かび上がっていくアニメーション */
  @keyframes bubble {
    0% {
      transform: translatY(0);
      opacity: 1;
    }
    99% {
      opacity: 1;
    }
    100% {
      transform: translateY(-100vh);
      opacity: 0;
    }
  }

/*.profile-txtbox {
    margin: auto;
    padding: 30px 20px;
    max-width: 870px;
    background-color: #e9ddd4;
    border-radius: 20px;
}

.profile-main-pic img {
    width: 500px;
    border-radius: 20px 20px 240px 240px;
    /*border: solid 2px #000;
}

.profile-mainbox {
    margin: auto;
    max-width: 70%;
    display: flex;
    justify-content: space-between;
}

.profile-txt2 {
    width: 100%;
    text-align: left;
    margin: auto;
    font-size: 20px;
    line-height: 50px;
}*/

.profile-txt3 {
    margin: 60px 0 100px;
    font-size: 20px;
    line-height: 50px;
}

.photo {
    width: 300px;
    height: 250px;
    border-radius: 180px 180px 0 0;
    opacity: 0.8;
}

.skill-box {
    background-color: #e9ddd4;
    padding: 80px 0 80px;
    margin: auto;
}

.skill-box h2 {
    margin-bottom: 60px;
}

.skill {
    margin: 0 auto;
    max-width: 55%;
    /*display: flex;
    justify-content: center;
    justify-content: space-between;*/
}

.skill-box .skill img {
    width: 100%;
}

/*.skill a {
    text-decoration: none;
}

.skillbox {
    max-width: 300px;
    padding: 0 10px;
}

.skill-title {
    color: #000;
    font-weight: 250;
    text-decoration: underline;
    font-size: 23px;
    text-align: center;
    font-family: serif;
    letter-spacing: 5px;
    padding: 20px 0 20px;
    background-color: #dfccbc;
}

.skill-txt{
    color: #000;
    font-size: 20px;
    text-align: center;
    font-family: serif;
    letter-spacing: 5px;
    padding: 10px 0 20px;
    background-color: #dfccbc;
}*/

.wave{
    position:relative;
    height:100px;/*何も表示されない場合は各波の親要素に高さを持たせましょう。*/
    background:#fff;/*背景を塗りつぶして重ねた波を表現したい場合は、波を描画する親要素に波と同じ背景色を設定しましょう。*/
}

canvas{
    position: absolute;
    bottom: 0;
    left:0;
    width: 100%;
}

.wave2 {
    position: relative;
    height: 120px;
    background-color: #e9ddd4;
}

.wave3 {
    position: relative;
    height: 120px;
    background-color: #fff;
}

.wave4 {
    position: relative;
    height: 1000px;
    background-color: #e9ddd4;
}


.concept-box {
    padding: 120px 0 80px;
    margin: 0;
    height: 800px;
}

.concept-txt {
    max-width: 700px;
    width: 100%;
    font-size: 23px;
    letter-spacing: 5px;
    line-height: 50px;
    padding: 50px 10px;
    margin: 30px 0 20px;
    margin-left: 10%;
    background-color: #dfccbc;
    opacity: 0.75;
    border-radius: 50px;
}

.concept-txt2 {
    max-width: 700px;
    width: 100%;
    font-size: 23px;
    letter-spacing: 5px;
    line-height: 50px;
    padding: 50px 10px;
    margin: 20px 0 30px;
    float: right;
    margin-right: 10%;
    background-color: #dfccbc;
    opacity: 0.75;
    border-radius: 50px;
}

.favorite-box {
    padding: 80px 0 80px;
    margin: 0;
}

.sns-btn {
    display: flex;
    justify-content: right;
    padding: 30px 40px 15px;
}

.sns-btn li {
    list-style: none;
    width: 30px;
    margin-left: 20px;
    margin-right: 20px;
    color: #000;
}


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

    .about {
        display: block;
    }

    .aboutbox {
        margin: auto;
    }
}