@charset "UTF-8";
/* CSSのリセット */
*,
*::before,
*::after{
  /* ボックスモデルのリセット */
  box-sizing: border-box;
  /* 余白、枠、線の削除 */
  margin: 0;
  border: none;
  padding: 0;
  /* フォントのリセット */
  font: inherit;
}

  /* ページの初期の高さを画面いっぱい */
html,
body{
  height: 100%;
}

a{
  color: #292929;
  transition: .3s ease;
  text-decoration: none;
}

a:hover{
  opacity: .7;
}

.top a{
  color: #fff;
}

body{
  font-size: 14px;
  letter-spacing: .065em;
  color: #292929;
}

@media screen and (min-width: 768px) {
  body{
    font-size: 18px;
  }
}

@media screen and (min-width: 768px) {
  .sp{
    display: none;
  }
}  
  .pc{
    display: none;
  }

@media screen and (min-width: 768px) {
  .pc{
    display: block;
  }
}


/* ヘッダーのCSS */
.header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  padding: 20px;
  width: 100%;
  z-index: 20;
}

@media screen and (min-width:768px) {
  .header{
    padding: 30px;
  }
  
}

.header-logo{
  margin: 0;
}

@media screen and (min-width:768px) {
  .header-logo svg{
    width: 350px;
  }
  
}

/* ハンバーガーメニューボタンのCSS */
.header-button {
  position: fixed;
  right: 0;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border: none;
  width: 75px;
  height: 75px;
  color: #000;
  background-color: transparent;
}

@media screen and (min-width:768px) {
  .header-button{
    display: none;
  }
}

.header button span {
  width: 24px;
  height: 3px;
  background-color: #292929;
  display: block;
  position: relative;
  top: 0;
  margin: 0 auto;
  transition: .3s ease;
}

.header button span::before,
.header button span::after{
  content:'';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  transition: .3s;
  background: inherit;
}

.header button span::before{
  top: -9px;
}
.header button span::after{
  top: 9px;
}

/* ハンバーガーメニューボタンのCSS回転 */
body.open .header-button{
  z-index: 30;
}
body.open .header-button span{
  width: 30px;
  background-color: transparent;
}

body.open .header-button span::before,
body.open .header-button span::after{
  top: 0;
  color: #292929;
}

body.open .header-button span::before{
  transform: rotate(45deg);
}

body.open .header-button span::after{
  transform: rotate(-45deg);
}

/* ナビゲーションのCSS */
.header-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(229, 229, 229, .9);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 900;
  transform: translateX(100%);
  transition: .3s ease;
}

/* ナビゲーションを開いた際のCSS */
body.open .header-nav{
  transform: translateX(0);
}

@media screen and (min-width: 768px) {
  .header-nav{
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    height: auto;
    background: transparent;
    transform: none;
    }
}

@media screen and (min-width: 768px) {
  .header-nav-item:nth-child(n+2){
    margin-top: 0;
    margin-left: 2em;
    }
}

/* フッターのCSS */
.footer{
  padding: 1em 0;
  width: 100%;
}

.footer-txt{
  font-size: 12px;
  text-align: center;
}

/* フッターを画面下部に固定 */
.top .footer,
.profile .footer{
  position: absolute;
  left: 0;
  bottom: 0;
}

/* bodyのスタイル指定 */
body.top,
body.profile{
  background: url("../img/bg_01.jpg") no-repeat center center / cover;
}

body.top{
  color: #fff;
  text-shadow: 0 0 6px #000;
}

/* ボタン色を白へ */
body.top .header-button span{
  background-color: #fff;
}

/* h1の見出しに対するスタイル設定 */
.top-title {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 8vw;
  font-weight: 900;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
  .top-title{
    font-size: 4vmax;
  }
}

.top-title i {
  display: block;
  font-family: 'Romanesco', cursive;
  font-style: normal;
  font-weight: normal;
}

@media screen and (min-width: 768px) {
  .top-title i{
    font-size: 4vmax;
  }
}

@media screen and (min-width: 768px) {
  .top-title i{
    display: inline;
  }
}

/* profileロゴ画像の色の指定 */
.profile .header-logo path,
.works .header-logo path{
  fill:#292929;
}

/* profileメインコンテンツのCSS */
.profile main{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  line-height: 1.6;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(229, 229, 229, .8);
}

.profile .article-inner{
  max-width: 460px;
}

.article-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: .05em;
  text-align: center;
  margin-bottom: .5em;
}

.article-title_sub {
  font-size: 21px;
  text-align: center;
  margin-bottom: 1em;
}

@media screen and (min-width: 768px) {
  .article-title_sub{
    font-size: 24px;
  }
}


.article-title_sub span {
  display: inline-block;
  margin-left: 1em;
  border-left: 1px solid #292929;
  padding-left: 1em;
  font-weight: normal;
}

.profile-list{}
.profile-list dt {
  clear: left;
  float: left;
  margin-right: 2em;
}

.profile-list dd {
  overflow: hidden;
}

/* 見出しとギャラリーに適用するCSS */
.works main{
  padding: 100px 20px;
}

.works-list {
  list-style: none;
  display: grid;
  grid-template-columns: 150px 150px;
  grid-template-rows: 100px 100px 100px 100px 100px 100px;
  grid-gap: 20px;
  margin: 0 auto;
  width: 320px;
}

.works-list li img{
  display: block;
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .works-list{
    grid-template-columns: 210px 210px 210px 210px;
    grid-template-rows: 140px 140px;
    grid-gap: 30px;
    margin: 0 auto;
    width: 320px;
    width: 930px;

  }
  
}