@charaset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* SP--------------------------------------------------------------------- */
@media screen and (max-width:599px) {
  .wrapper {
    margin-bottom: 100px;
  }

  main #about {
    margin-bottom: 40px;
  }

  .wrapper p {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  header .wrapper {
    /* Baseは一個上と同じ設定だった。 */
    margin-left: 0.3rem;
    margin-right: 0.3rem;
  }

  /* #mainvisual img {
    height: calc(100vh - 60px);
  } */

  #mainvisual {
    height: calc(90vh - 60px);
    margin-bottom: 80px;
  }

  #about .content {
    flex-direction: column;
  }

  #about img {
    margin-right: 0;
    margin-bottom: 3rem;
  }

  #about .text {
    text-align: center;
  }

  #photobox ul,
  #gallerybox .musicbox,
  #workbox .webbox,
  #workbox .wpbox {
    flex-direction: column;
    padding: 5px 15px;
  }

  #photobox li,
  #gallerybox .musicbox li,
  div.work49,
  .wpbox .wp32 {
    width: 100%;
    margin-bottom: 2rem;
  }

  #gallerybox {
    margin-left: 15px;
    margin-right: 15px;
  }

  #work .wrapper {
    margin-left: 15px;
    margin-right: 15px;
  }

  .section-subtitle {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #flierbox li {
    padding: 0:
  }

  /* ヘッダーとメニュー関連追加 */

  header h1 a {
    background-size: 20%, 13%;
    padding: 0 1.2rem 0 1.5rem;
  }

  .navlist li {
    padding-right: 5px;
  }

  header li {
    margin-left: 5px;
  }

  /*画像への細かい説明消す*/
  #work p {
    display: none;
  }

  #workbox li {
    margin-bottom: 8px;
  }

  /* タイルの下のスキマ減らす */
  .work49 li,
  .work32 li,
  .work24 li {
    margin-bottom: 0.5rem;
  }

  .work24 li {
    width: 49%;
  }
}

/* スクリーンサイズが767pxまでのスタイルを記述 */
@media screen and (max-width: 767px) {

  /*ハンバーガーのアイコン出す*/
  .site-header-navbtn {
    display: block;
  }

  .navbox {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #cbdcf2;
    opacity: .85;
    /* is-nav-openがついてないときは隠してある */
    transform: translateX(100%);
    transition: transform .3s;
  }

  /*body にis-nav-open がついてる時にメニュー表示*/
  body.is-nav-open .navbox {
    transform: translate(0);
  }

  .navlist li.forhide {
    display: block;
  }

  /*body にis-nav-open がついてる時にメニューは縦並び*/
  .navlist {
    height: 100%;
    flex-direction: column;
    justify-content: top;
    text-align: center;
    padding-top: 20%;
  }

  .navlist li {
    background-image: url(../images/bgimg_point_sml.png), url(../images/bgimg_point_sml2.png);
    background-position: 0 0, right 0 bottom 0;
    background-repeat: no-repeat;
    background-color: #00204d;
    margin: 0 1.5em;
  }

  .navlist li:not(:last-child) {
    margin-bottom: 1.5em;
  }

  .navlist li a {
    display: block;
    padding: 1.0em;
    font-size: 1.5rem;
    color: #EEE;
    text-shadow: 0px 0px 10px #5f8bf0;
  }

  /* ハンバーガーメニュー関連ここまで↑↑↑↑↑ --------------------------- */

  /* ヘッダー */
  header {
    background-image: url(../images/head_dot.png);
    background-position-x: right -50px;
    background-repeat: no-repeat;
  }

  #photo {
    background-image: url(../images/aig-mid22922-87.jpg), url(../images/gradation_w.png);
    background-position: bottom;
    background-size: 120%, auto;
  }

  .more_btn::after {
    width: 96%;
    margin: 0 auto;
    /* ↑後でなんで100%じゃあかんのか調べる */
  }

  div.line_box {
    display: none;
  }

}