@charset "UTF-8";
/* スマホ用CSS */

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

  body{
    font-size: 90%;
  }

  .box{
    width: 100%;
  }

  /* PC／スマホで表示の切り替え */
  .for-pc{ display: none;  } /* PC用 */
  .for-sp{ display: block; } /* スマホ用 */

  /* インナーボックス */
  .inner{
    width: 100%;
    /* padding: 10px 15px; */
  }

  dl.horizontal{
    display: block;
    
    border: 0;
    text-align: center;
  }

  dl.horizontal dt,
  dl.horizontal dd
  {
    width: 100%;
    padding: 30px 10px 20px;
    margin: 0;
    flex-shrink: 0;
    border: 0;
  }
  dl.horizontal dd:first-of-type,
  dl.horizontal dd{
    border: 0;
    padding: 0 10px 30px;
    border-bottom: 1px solid #ccc;
  }

  dl.child,
  dl.child dd{
    width: 100%;
    border-bottom: 0 !important;
  }

  #page{
    padding-bottom: 150px;
  }

  /* ================================= 
  ページヘッダー */

  .page-header{
    width: 100%;
    height: 150px;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
  }

  .page-header .inner{
    position: relative;
    height: 100%;
    width: 100%;
    padding: 15px;
    display: block;
  }

  .page-header .logo{
    position: static;
    margin: 0 auto;
    padding:0;
    padding-right: 50px;
  }

  .page-header .logo::before,
  .page-header .logo::after   {
    width: 120px;
    height: 80px;
    top: auto;
    left: auto;
  }
  .page-header .logo::before{
    /* background-image: url(../images/logo-stone-color.png); */
    bottom: 20px;
    right: 10px;
    z-index: 20;
  }
  .page-header .logo::after{
    /* background-image: url(../images/logo-stone-mono.png); */
    bottom: 0;
    right: 25px;
    z-index: 10;
    opacity: .8;
  }

  
  .page-header .logo a{
    display: block;
    position: relative;
    width: 250px;
    text-align: left;
    line-height: 1;
  }
  .page-header .logo a img{
    display: inline-block;
    width: 100%;
    height: auto;
  }
  .page-header .logo a .logo-typo{
  }
  .page-header .logo a .logo-subject{
    height: 10px;
    width: auto;
    margin: 24px auto 5px;
  }
  .page-header .logo a .logo-name{
    width: 75%;
  }

  .page-header small{
    font-size: .5rem;
    text-align: left;
    margin-top: 5px;
  }


  .section-header .head img{
    width: initial;
    max-width: 100%;
  }

  /* ================================= ナビゲーション */

  #nav-menu,
  #menu-cb { display: none; opacity: 0; }

  .menu-icon{
    display: block;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 38px;
    font-size: 36px;
    margin: 0;
  }
  .menu-open{
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .menu-close{
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 301;
  }

  #menu-cb:checked ~ #nav-menu {
    display: block;
    animation: menu-open .3s ease-out forwards;
  }

  @keyframes menu-open {
    0%   { opacity: 0; }
    100% { opacity: 1; }
  }

  #nav-menu{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    color: #fff;
  }

/* #menu-cb:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
} */

  /* ================================= 
  メイン */

  main{
    position: relative;
    display: flex;
    padding-left: 0;
    flex-direction: column;
    padding-bottom: 50px;
  }

  .main-header{
    position: static;
    width: 100%;
    height: auto;
  }

  /* ================================= 
  ブログ */

  .blog main{
    flex-direction: column-reverse;
  }

  .blog .main-header{
    padding-top: 30px;
    background-image: linear-gradient(#eee, #fff);
  }
  .blog .nav-header {
    width: 100%;
    margin-top: 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-evenly;
  }
  .blog .nav-header .block{
    padding: 0 20px;
    flex-grow: 1;
    width: 50%;
  }

  .blog .main-content{
    border-left: 0;
    padding: 20px;
    max-width: 1000px;
  }

  .blog .post-content img{
    width: 100%;
    height: auto;
  }

  
  /* アーカイブ */
  .blog.archive .post-text,
  .blog.archive .post-thumbnail{
    width: 100%;
    flex-shrink: 0;
  }
  .blog.archive .post-thumbnail{
    margin-bottom: 1rem;
  }

  .blog.archive .post-item{
    flex-direction: column-reverse;
  }


  /* ================================= 
  バイオグラフィ */

  .personal-info{
    flex-direction: column-reverse;
  }
  .personal-info .names,
  .personal-info .portrait{
    width: 100%;
    text-align: center;
  }
  .personal-info .portrait{
    width: 80%;
    margin: 0 auto 2rem;
  }

  .biography .main-content {
    padding: 20px;
    border: 0;
  }

  /* ================================= 
  作品情報 */

  /* Grid（グリッド） */

  .grid{
    padding: 20px;
  }

}

/* 小さいスマホ */
@media screen and ( max-width:320px ){

  body{
    font-size: 85%;
  }


}