@charset "UTF-8";
/* CSS Document */
/* スマートフォン 375px */
/* header */
.header {
  height: 80px;
}
.skills-list li img {
  width: 50px; /* スマホで見やすいアイコンサイズに固定 */
  margin: 0 auto; /* 中央寄せにする場合 */
}
.header-logo {
  width: 80px;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 320px;
  margin: 0 auto;
}
.header-font {
  font-size: 2.0rem;
  letter-spacing: 5px;
}
.header a {
  color: #333;
  text-decoration: none;
}
.skills-flex {
  display: flex;
  max-width: 250px;
  justify-content: space-evenly;
  margin: 0 auto;
  padding-top: 50px;
}
.section-types img {
  width: 300px;
  height: 250px;
  object-fit: cover;
}
.section-about h2 {
  font-size: 3.0rem;
  font-weight: 500;
  margin-bottom: 30px;
  text-align: center;
  padding: 0 20px;
}
.font-change {
  font-size: 35px;
}
.sub-title {
  color: #51504B;
  font-size: 1.4rem;
  margin-bottom: 50px;
}
.section-description {
  font-size: 1.2rem;
  padding: 0 20px;
  text-align: left;
  margin-bottom: 40px;
  line-height: 30px;
}
.section-color {
  padding: 60px 0;
  margin: 70px 20px;
}
.section-color p {
  text-align: left;
  padding: 0 20px;
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 30px;
}
/* section-types */
.section-types {
  background-color: #dbcfc8;
  background: rgba(219, 207, 200, 0.4);
  padding: 70px 0;
  margin-bottom: 100px;
}
.section-types h2 {
  margin-bottom: 15px;
  font-size: 2.0rem;
  letter-spacing: 1px;
  margin-left: 0;
}
.section-color h2 {
  font-weight: 500;
  padding-left: 20px;
  font-size: 1.4rem;
}
.good, .bad, .design, .dream {
  background-color: #fff;
  padding: 30px 20px;
  text-align: left;
  margin: 0 20px;
}
.good ul li {
  list-style: none;
  font-size: 1.2rem;
  line-height: 30px;
}
.bad ul li {
  list-style: none;
  font-size: 1.2rem;
  line-height: 30px;
}
.design ul li {
  list-style: none;
  font-size: 1.2rem;
  line-height: 30px;
}
.dream ul li {
  list-style: none;
  font-size: 1.2rem;
  line-height: 30px;
}
/* section-skills */
.section-skills {
  margin-bottom: 100px;
  position: relative;
}
.section-skills h2 {
  font-size: 2.0rem;
  text-align: left;
  margin-bottom: 40px;
  padding: 0 45px;
  letter-spacing: 3px;
}
.section-skills h2::before {
  content: "●";
  display: inline-block;
  position: absolute;
  left: 20px;
  color: #dbcfc8;
}
.type-sub {
  color: #999;
  font-size: 1.4rem;
  margin-left: 10px;
  display: block;
  font-weight: 100;
}
/* section-contact */
.section-contact {
  background-color: #dbcfc8;
  background: rgba(219, 207, 200, 0.4);
  padding: 60px 0 10px;
}
.section-contact h2 {
  font-size: 2.0rem;
  letter-spacing: 3px;
}
.contact-page {
  background-color: #fff;
  border: solid 1px #AAA6A0;
  padding: 20px 0;
  width: 325px;
  margin: 40px auto 30px;
  border-radius: 100px;
}
.section-contact a {
  color: #333;
  text-decoration: none;
}
/* footer */
.footer {}
.footer small {
  color: #333;
  display: block;
  padding-top: 70px;
  padding-bottom: 20px;
  font-size: 1.4rem;
}
.footer__copyright {
  font-size: 10px;
  color: #a0a0a0;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .skills-list li {
    width: 350px;
    padding: 0px 20px 0px 20px;
    display: flex !important; /* 横並びを死守 */
    align-items: flex-start !important;
    margin-bottom: 30px !important;
  }
  .icon-img {
    flex: 0 0 50px !important; /* スマホでは少し小さめの50px固定 */
    width: 50px !important;
    margin-right: 15px !important;
  }
  .text-area {
    text-align: left !important;
    font-size: 11px;
  }
  .text-area h3 {
    padding-bottom: 30px;
  }
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.active {
  opacity: 1; /* 透明度を元に戻す */
  top: 0; /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}
/*スクロールリンクの形状*/
.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 2s;
}
.fade.view {
  opacity: 1;
  /*検証のためのCSS*/
}
/*ハンバーガーアイコン*/
@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 a {
    text-decoration: none;
    color: #333;
    font-size: 1.8rem;
    padding: 45px 0 0 30px;
    display: block;
  }
  .header-font {
    font-size: 2.0rem;
    letter-spacing: 5px;
    margin-left: 50px
  }
  .font-english {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .type-sub {
    font-size: 1.4rem;
    color: #999;
    display: inline-block;
    padding-left: 10px;
  }
  .font-english {
    font-size: 3.2rem;
  }
  .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-picture {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 70px;
  }
  .section-picture img {
    width: 500px;
    height: 400px;
    padding-top: 80px;
  }
  .myself-flex h2 {
    font-size: 3.0rem;
    letter-spacing: 10px;
    font-weight: 400;
  }
  .section-works h2 {
    font-size: 3.0rem;
  }
  .section-description {
    margin: 0 auto 60px;
    line-height: 30px;
  }
  .section-color {
    max-width: 500px;
    padding: 100px 30px;
    margin: 0 auto 100px;
  }
  .section-color h2 {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 10px;
    margin-bottom: 50px;
  }
  .section-color p {
    font-size: 1.4rem;
  }
  .my-sub {
    letter-spacing: 10px;
    font-weight: 600;
    margin-left: 0;
  }
  .about-flex {
    display: flex;
    align-items: center;
    margin: 0 auto 100px;
    max-width: 1040px;
    justify-content: space-between;
  }
  .good, .bad, .design, .dream {
    width: 500px;
  }
  .good ul li {
    font-size: 1.4rem;
  }
  .bad ul li {
    font-size: 1.4rem;
  }
  .design ul li {
    font-size: 1.4rem;
  }
  .dream ul li {
    font-size: 1.4rem;
  }
  .bad, .dream {
    margin-right: 0;
  }
  .good, .design {
    margin-left: 0;
  }
  .design, .dream {
    padding: 55px 20px;
  }
  .gb-flex, .dd-flex {
    display: flex;
    max-width: 1040px;
    margin: 0 auto;
  }
  .dd-flex {
    margin-top: 40px;
  }
  .section-types {
    padding: 100px 0 200px;
    margin-bottom: 150px;
    margin-top: 150px;
  }
  .section-skills h2 {
    font-size: 2.4rem;
    margin-left: 200px;
    padding: 0;
    margin-bottom: 100px;
  }
  .section-skills h2::before {
    left: 150px;
  }
  .section-skills img {
    max-width: 40px;
  }
  .section-skills li {
    display: flex;
  }
  .section-skills ul {
    display: flex;
    flex-wrap: wrap;
    width: 1040px;
    justify-content: space-between;
    margin: 0 auto 250px;
    padding-right: 70px;
  }
  .section-skills ul li {
    width: 50%; /* 全体の約半分に設定することで、左右が揃います */
    margin-bottom: 60px; /* 下との余白 */
    box-sizing: border-box;
  }
  .icon-img {
    padding: 0 30px 0 50px;
  }
  .text-area h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    margin-left: 0;
  }
  .text-area p {
    line-height: 30px;
    font-size: 1.4rem;
  }
  .flex-2 {
    margin-bottom: 200px;
  }
  .section-contact h2 {
    font-size: 3.0rem;
    letter-spacing: 5px;
    margin-bottom: 10px;
    margin-left: 0;
    font-weight: 400;
  }
  .section-contact a {
    color: #333;
    text-decoration: none;
  }
  .footer-sora, ul li {
    list-style: none;
    text-align: left;
    margin-bottom: 10px;
  }
  .footer small {
    display: block;
    padding: 40px 0 20px;
  }
  .footer__copyright {
    font-size: 10px;
    color: #a0a0a0;
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: 50px;
  }
}