@charset "UTF-8";
/* CSS Document */
/* スマートフォン 375px */
/* header */
.header {
  height: 80px;
}
.header-logo {
  width: 80px;
}
.header a {
  color: #333;
  text-decoration: none;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 320px;
  margin: 0 auto;
}
.header-font {
  font-size: 1.6rem;
  margin-bottom: 10px;
  letter-spacing: 3px;
}
@media (max-width: 767px) {
  p {
    -webkit-font-smoothing: antialiased; /* iOS/Macで文字を細くシャープにする */
    -moz-osx-font-smoothing: grayscale;
    font-weight: 300; /* もし数値で指定できるなら、一番細い300を試してみてください */
  }
}
.section-myself {
  margin-bottom: 100px;
  position: relative;
}
.img-chair {
  height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: 50% 82%;
}
.img-font {
  position: absolute;
  left: 20px;
  width: 150px;
  bottom: 52px;
}
.section-myself h2 {
  margin-top: 30px;
}
/* section-about */
.section-about {
  margin-bottom: 100px;
}
.section-about h2 {
  font-size: 2.0rem
}
.section-about img {
  width: 450px;
  margin-bottom: 70px;
  opacity: 0.9;
  margin-top: 60px;
}
.section-about a {
  color: #333;
  text-decoration: none;
}
.section-works a {
  color: #333;
  text-decoration: none;
}
.section-about h2 {
  font-size: 2.0rem
}
.works-item img {
  display: block;
  margin: 0 auto; /* 画像自体を箱の中で中央にする */
}
.works-flex img {
  width: 300px;
  height: 200px;
  margin: 50px auto 20px auto;
}
.works-flex img {
  width: 300px; /* 今のサイズは維持 */
  margin-left: auto; /* 左の余白を自動で最大に */
  margin-right: auto; /* 右の余白を自動で最大に */
}
.works-flex h3 {
  font-size: 11px;
  color: #978F8F
}
.font-change {
  font-size: 40px;
}
.sub-title {
  color: #51504B;
  font-size: 1.0rem;
}
.section-description {
  font-size: 1.4rem;
  max-width: 325px;
  text-align: center;
  margin: 60px auto 0;
  line-height: 30px;
}
/* section-works */
.section-works {
  margin-bottom: 100px;
}
.works-flex > div {
  transition: all 0.3s ease; /* 変化を滑らかにする */
  cursor: pointer;
}
/* マウスを乗せた（ホバーした）時の動き */
.works-flex > div:hover {
  opacity: 0.7; /* 全体をふわっと薄くする */
  transform: translateY(-5px); /* 5pxだけ上に浮き上がらせる */
}
/* 画像だけを少し丸くしたり影をつけたい場合はこれも（お好みで） */
.works-flex > div img {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
/* section-contact */
.section-contact {
  background-color: #dbcfc8;
  background: rgba(219, 207, 200, 0.4);
  padding: 60px 0 10px;
}
.contact-page {
  background-color: #fff;
  border: solid 1px #AAA6A0;
  padding: 20px 0;
  width: 325px;
  margin: 40px auto 30px;
  color: #333;
  text-decoration: none;
  border-radius: 100px;
}
.section-contact a {
  text-decoration: none;
}
/* footer */
.footer {}
.footer small {
  color: #333;
  display: block;
  padding-top: 70px;
  padding-bottom: 20px;
  font-size: 1.4rem;
}
.more {
  margin-top: 50px;
  display: inline-block;
}
.footer__copyright {
  font-size: 10px;
  color: #a0a0a0;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 50px;
}
/*スクロールリンクの形状*/
/*スクロールリンクの形状*/
.scroll-top {
  /*表示位置*/
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s; /*それぞれに0.5秒の変化のアニメーション*/
  /*縦書き*/
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  /*改行禁止*/
  white-space: nowrap;
  /*矢印の動き*/
  animation: arrowmove 1s ease-in-out infinite;
}
@keyframes arrowmove {
  0% {
    bottom: 20px;
  }
  50% {
    bottom: 25px;
  }
  100% {
    bottom: 20px;
  }
}
/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
  opacity: 1;
  visibility: visible;
}
/*リンク全体の aタグの形状*/
.scroll-top a {
  text-decoration: none;
  color: #666;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
}
/*スクロールリンクの形状*/
.js-scroll a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 50px;
  background: #666;
}
.js-scroll a::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -6px;
  width: 1px;
  height: 20px;
  background: #666;
  transform: skewX(-31deg);
}
/*Edge IE11 hack*/
_:-ms-lang(x), .js-scroll a::before {
  right: -11px;
}
/*ページトップリンクの形状*/
.js-pagetop a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 50px;
  background: #666;
}
.js-pagetop a::before {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  width: 1px;
  height: 20px;
  background: #666;
  transform: skewX(31deg);
}
/*Edge IE11 hack*/
_:-ms-lang(x), .js-pagetop a::before {
  right: 0;
}
.fade {
  opacity: 0;
  transition: opacity 1s;
}
.fade.view {
  opacity: 1;
}
.hover {
  display: inline-block;
  padding-bottom: 4px;
  position: relative;
}
.hover::after {
  background-color: #333;
  bottom: 0;
  content: '';
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  transition: .5s all;
  width: 0;
}
.hover:hover::after {
  width: 100%;
}
/*ハンバーガーアイコン*/
@media (max-width: 751px) {
  #nav-drawer {
    padding: 20px 0;
  }
  #nav-open {
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 22px;
  }
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 1px;
    width: 25px;
    background-color: #9c9d9f;
    display: block;
    content: "";
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }
  #nav-close {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
  }
  #nav-content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 70%;
    height: 100%;
    background-color: #fff;
    text-align: left;
    padding: 15px 0 0 24px;
    transform: translateX(-105%);
    transition: 0.3s ease-in-out;
  }
  .nav-drawer__title {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 46px;
  }
  .nav-drawer__link-top {
    display: block;
  }
  #nav-content ul li {
    margin-bottom: 36px;
  }
  #nav-content ul li a {
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    display: block;
  }
  #nav-input:checked ~ #nav-close {
    display: block;
  }
  #nav-input:checked ~ #nav-content {
    transform: translateX(0%);
  }
}
@media screen and (min-width:751px) {
  .pc {
    display: inline;
  }
  .sp {
    display: none;
  }
}
@media screen and (max-width: 751px) {
  .pc {
    display: none;
  }
  .sp {
    display: inline;
  }
}
/* PC */
@media (min-width: 751px) {
  .pc {
    display: block !important;
    width: 100%;
  }
  .sp {
    display: none !important;
  }
  @media only screen and (max-width: 751px) {
    .pc {
      display: none !important;
    }
    .sp {
      display: block !important;
    }
  }
  .header {
    height: 65px;
  }
  .header h1 {
    font-size: 3.2rem;
  }
  .header a {
    text-decoration: none;
    color: #333;
    font-size: 1.8rem;
    padding: 45px 0 0 30px;
    display: block;
  }
  .header-font {
    font-size: 3.0rem;
    letter-spacing: 5px;
    font-weight: 400;
  }
  .header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1042px;
    margin: 0 auto;
    padding-right: 20px;
  }
  .menu-flex {
    display: flex;
    justify-content: space-between;
  }
  .section-about a {
    color: #333;
    text-decoration: none;
  }
  .section-about h3 {
    font-size: 2.0rem;
    text-align: center;
    margin-bottom: 0;
    padding-top: 80px;
  }
  .section-about h3 span {
    font-size: 1.4rem;
    font-weight: 100;
  }
  .section-about h2 {
    font-size: 3.0rem;
    font-weight: 400;
  }
  .section-about img {
    object-fit: cover;
    z-index: 1;
    padding-right: 70px;
  }
  .section-myself {
    position: relative;
    margin-bottom: 200px;
  }
  .section-top-img {
    max-width: 1440px;
    margin-top: 30px;
  }
  .section-myself h2 {
    font-size: 50px;
    line-height: 60px;
  }
  .img-chair {
    width: 1440px;
    margin-top: 50px;
    height: 500px;
    object-fit: cover;
    object-position: 62% 85%;
  }
  .img-font {
    position: absolute;
    bottom: 150px;
    left: 200px;
    width: 250px;
    height: auto;
  }
  .font-change {
    letter-spacing: 1px;
    margin-bottom: 10px;
  }
  .about-flex {
    display: flex;
    justify-content: center;
  }
  .section-description {
    margin: 30px auto 0px;
    line-height: 40px;
    max-width: 550px;
  }
  .section-works a {
    color: #333;
    text-decoration: none;
    display: inline-block;
  }
  .section-works img {
    width: 340px;
    height: 215px;
    object-fit: cover;
  }
  .works-flex {
    display: flex;
    justify-content: space-between;
    max-width: 1040px;
    margin: 0 auto;
    padding-bottom: 60px;
  }
  .section-about {
    margin-bottom: 150px;
  }
  .works-flex h2, h3 {
    text-align: center;
  }
  .works-flex h3 {
    font-size: 11px;
    color: #978F8F;
  }
  .works-flex img {
    margin-bottom: 30px;
  }
  .more {
    letter-spacing: 3px;
  }
  .hover::after {
    background-color: #333;
    bottom: 0;
    content: '';
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    transition: .5s all;
    width: 0;
  }
  .footer-sora, ul li {
    list-style: none;
    text-align: left;
    margin-bottom: 10px;
    margin-left: 50px;
  }
  .footer small {
    display: block;
    padding: 40px 0 20px;
  }
  /* 制作物（works）の各カードの設定 */
  .works-flex > div {
    transition: all 0.3s ease; /* 変化を滑らかにする */
    cursor: pointer;
  }
  /* マウスを乗せた（ホバーした）時の動き */
  .works-flex > div:hover {
    opacity: 0.7; /* 全体をふわっと薄くする */
    transform: translateY(-5px); /* 5pxだけ上に浮き上がらせる */
  }
  /* 画像だけを少し丸くしたり影をつけたい場合はこれも（お好みで） */
  .works-flex > div img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .section-contact p {
    margin-top: 15px;
  }
  .font-english {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .footer__copyright {
    font-size: 10px;
    color: #a0a0a0;
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: 50px;
  }
}