@charset "utf-8";


@media screen and (max-width: 767px){
.sp{
  display: block;
}
.pc{
  display: none;
}

body{
  font-family: "Noto Sans JP","Yu Gothic","YuGothic","Hiragino Kaku Gothic Pro","Meiryo UI","Meiryo","MS PGothic",sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #373741;
  width: 100vw;
  height: 100vh;
  background-image: url(../images/bg_circle.png), url(../images/bg_circle.png);
  background-repeat: no-repeat, no-repeat;
  background-size: 175%, 117%;
  background-position: -73px -206px, -149px 496px;/* 横・縦の順番 */
  background-attachment: fixed;
}

/* スマホ用のリセットCSS */
img{
  display: block;
  width: 100%;
  height: auto;
}
*{
  box-sizing: border-box;
}

/*ヘッダーCSS*/
#headerInner{
  width: 100%;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.logo{
  margin-left: 36px;
  z-index: 1000;
}
.logo img{
  width: 40px;
  height: 40px;
}

/* ナビゲーション */
.nav-menu{
  z-index: 990;
  position: absolute;
  top: 0;
  left: 0;
  background: #A38F8F;
  width: 100%;
  height: 100vh;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(-60%);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.nav-menu.active {
  opacity: 1;
  transform: translateY(0);
}

/* 上からシュッとスライドするパターン（フェードなし） */
/* .nav-menu{
  z-index: 990;
  position: absolute;
  top: 0;
  left: 0;
  background: #A38F8F;
  width: 100%;
  height: 100vh;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translateY(-120%);
  transition: all 0.6s;
} */
/* .nav-menu.active {
  transform: translateY(0%);
} */

.nav-menu ul{
  padding-top: 48px;
  text-align: center;
}
.nav-menu li {
  list-style: none;
  margin-bottom: 24px;
}
.nav-menu li a {
  color: #fff;
  text-decoration: none;
  padding: 24px 0;
}

/* ハンバーガーメニュー */
.nav-toggle {
  background-color: transparent;
  border: none;
  position: absolute;
  right: 20px;
  top: 36px;
  width: 60px;
  height: 40px;
  cursor: pointer;
  z-index: 1000;
}
.nav-toggle .line {
  display: block;
  position: absolute;
  height: 1px;
  right: 15px;
  background: #000;
  transition: 0.3s ease-in-out;
}
.nav-toggle span:nth-child(1) {
  top: 16px;
  width: 30px;
}
.nav-toggle span:nth-child(2) {
  top: 24px;
  width: 20px;
}

/* メニューが開いているときのボタン */
.nav-toggle.active span:nth-child(1) {
  top: 24px;
  background: #fff;
  transform: rotate(-45deg);
}
.nav-toggle.active span:nth-child(2) {
  top: 24px;
  background: #fff;
  width: 30px;
  transform: rotate(45deg);
}

/*==メイン==*/
.main{
  position: relative;
  height: 926.4px;
}
#h1-font{
  font-family: 'Boska', serif;
  font-size: 60px;
  color: #000;
  position: absolute;
  top: 260px;
  left: 42px;
  z-index: 1;
}
.text-animation{
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  line-height: 1; /*line-heightなくしたほうがカッコ良くなる*/
}
.char {
  display: inline-block;
  transform: translateY(100px);
  opacity: 0;
}
.svg-container{
  position: absolute;
  top: 364px;
  left: 228px;
  z-index: 2;
  width: 39%; /* 親要素の幅を指定 */
  margin: 0 auto;
}
svg {
  width: 100%; /* 親要素に合わせて拡大縮小 */
  height: auto; /* アスペクト比を保持 */
}

/* スクロールバー */
.scrollbar {
  position  : absolute;
  font-size : 10px;
  writing-mode : vertical-rl;
  text-transform: uppercase;
  top : 76%;
  left : 50%;
  letter-spacing: 0.2em;
  line-height: 1;
  transform: translateX(-50%) translateY(-50%);
}
.scrollbar::after {
  content : '';
  display : inline-block;
  position : absolute;
  background-color: #000;
  right : 50%;
  bottom : -115px;
  transform : translateX(-50%);
  width : 1px;
  height : 100px;
  animation: scroll 1.5s infinite;
}
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.h2-font{
  font-family: 'Boska', serif;
  font-size: 40px;
  color: #000000; 
}
.section-title-container{
  width: 158px;
  text-align: right;
  padding-bottom: 50px;
  padding-top: 54px;
}
/* 下線の基本スタイル */
.section-title-line {
  position: relative;
  height: 1px;  /* 下線の太さ */
  background: #000; /* 下線の色 */
  transform: scaleX(0); /* 初期状態では非表示 */
  transform-origin: left; /* 左から右へ伸びるように */
  transition: transform 0.7s ease-out; /* アニメーションの速度 */
  margin-top: 5px;
}
/* スクロールで可視領域に入った時のアニメーション */
.section-title-line.active {
  transform: scaleX(1); /* 横に伸びる */
}

/* ABOUTセクション */
.container-about-left{
  margin-bottom: 40px;
}
.container-about-left img{
  width: 46%;
  margin: 0 auto;
  box-shadow: 12px 16px 30px 0 rgba(0, 0, 0, .4);
}

/* ぼかし */
.inview-blur{
  opacity: 0;
  -moz-transition: -moz-transform 0.5s linear;
  -webkit-transition: -webkit-transform 0.5s linear;
  -o-transition: -o-transform 0.5s linear;
  -ms-transition: -ms-transform 0.5s linear;
  transition: transform 0.5s linear;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.blur{
  -webkit-animation-name: imageBlur;
  animation-name: imageBlur;
  opacity: 1;
  transition: .8s;
}
@-webkit-keyframes imageBlur {
  from {
    opacity: 0;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }

  to {
    opacity: 1;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
}
@keyframes imageBlur {
  from {
    opacity: 0;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }

  to {
      opacity: 1;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
}

.container-about-right{
  text-align: center;
}
.container-about-right h3{
  margin-bottom: 30px;
}
.name-jp{
  letter-spacing: 0.2em;
}
.name-en{
  font-size: 14px;
  letter-spacing: 0.2em;
}
.container-about-right p{
  width: 326px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  font-size: 12px;
  text-align: left;
}
.hide-down {
  transition: 2s;
  opacity: 0;
  transform: translateY(50px);
}
.show {
  opacity: 1 !important;
  transform: translate(0px, 0px) !important;
}

/* SKILLSセクション */
.container-skills h3{
  text-align: center;
  font-size: 22px;
  line-height: 1em;
  margin-bottom: 20px;
}
.skills-webdesign,
.skills-webdevelopment{
    width: 328px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 52px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow:  0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 28px;
}
.container-skills p{
  text-align: left;
  width: 272px;
  margin-bottom: 20px;
  font-size: 11px;
  line-height: 2em;
}
.skills-h3-jp{
  font-family: "Noto Sans JP","Yu Gothic","YuGothic","Hiragino Kaku Gothic Pro","Meiryo UI","Meiryo","MS PGothic",sans-serif;
  font-style: normal;
  font-size: 12px;
}
.skills-webdesign h3 img{
  width: 64px;
  height: 82px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  object-fit: contain;
}
.skills-webdevelopment h3 img{
  width: 64px;
  height: 82px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4px;
  object-fit: contain;
}
.skills-list{
  overflow: hidden;
  font-size: 10px;
}
.skills-list li{
  float: left;
  padding: 0 10px;
  border: solid 1px;
  margin-right: 10px;
}

/* WORKSセクション */
#works{
  padding-bottom: 90px;
}
.container-works{
  width: 326px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
}
.container-works:nth-of-type(3) { /*Infoと画像の配置を入れ替える */
  display: flex;
  flex-direction: column-reverse;
}
.works-information h3{
  font-size: 22px;
  line-height: 1em;
}
.works-h3-jp{
  font-family: "Noto Sans JP","Yu Gothic","YuGothic","Hiragino Kaku Gothic Pro","Meiryo UI","Meiryo","MS PGothic",sans-serif;
  font-style: normal;
  font-size: 12px;
}
.container-works table{
  margin-top: 34px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.3em;
}
.container-works th{
  text-align: left;
  vertical-align: top;
  width: 124px;
}
.container-works td{
  vertical-align: top;
  width: 404px;
}
/* 各tableの高さ調整（スマホのみ） */
.portfolio-table th{
  height: 44px;
}
.bgt-table th{
  height: 62px;
}
.siu-table th{
  height: 44px;
}
.works-img{
  padding-top: 30px;
}
/* フッター */
#footerInner{
  background-color: #A38F8F;
  padding-top: 80px;
  color: #fff;  
  text-align: center;
}
.h2-contact{
  font-family: 'Boska', serif;
  font-size: 40px;
  margin-bottom: 50px;
}
.btn-contact{
  width: 230px;
  margin-left: auto;
  margin-right: auto;
}
.btn-email{
  display: block;
  font-size: 18px;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  line-height: 1.6;
  padding: 20px 20px;
  color: #373741;
  background: linear-gradient(to right, #BDF0F7 0%, #FBE1D1 50%, #E8C7E8 100%);
  border: 0.16em solid rgb(255, 255, 255);
  border-radius: 60px;
}
footer small{
  display: block;
  padding-top: 72px;
  padding-bottom: 10px;
}

}