/* //基本設定 */
:root{
  --main-color:#FCD55D;
  --sub-main-color:#D2BA71;
  --accent-color:#5D7AFC;
  --black:rgb(0, 0, 0);
  --white:rgb(255, 255, 255);
  --gray:rgb(151, 151, 151);

  --bigtext:rgb(0, 0, 0);
  --stdtext:rgb(51, 51, 51);
  --subtext:rgb(102, 102, 102);
}

html{
  font-size: 10px;
  color: var(--stdtext);
  /* pc: 16px-18px
  タブレット: 15-17px
  スマホ: 14-16px */
}

html, body{
  /* font */
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 350;
  font-style: normal;
  /* end-font */
}

/* h1を70pxとする */
h1{
  font-size: 7rem;
}
/* h2を70pxとする */
h2{
  font-size: 2rem;
}
/* 以下は16pxとする */
p, ul, ol, span, label, input, textarea, summary, div{
  font-size: 1.6rem;
}
/* 中黒の非表示 */
ul, ol {
  list-style: none;
}
/* 下線の有無 */
a{
  text-decoration: none;
  color: inherit;
}
/* ////基本設定 */



/* //bodyタグ */
/* //サイト全体の背景にドット柄 */
/* //サイト全体を透明から不透明のアニメーション */
#fade-in{
  background-color: var(--white);
  background-image: radial-gradient(circle, #e0e0e0 2px, transparent 0px);
  background-position: 0 0;
  background-size: 30px 30px;


  opacity: 0;
  animation: fadeIn .5s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/* ////bodyタグ */


/* //ヘッダー */
#header-sp{
  display: none;
}

#header{
  display: flex;
  justify-content: space-between;
  width: 80%;
  height: 150px;
  padding-top: 70px;
  margin-bottom: 70px;
  margin-left: auto;
  margin-right: auto;
}

#header > h1{
  font-size: 0rem;
}

.logo__link > img{
  width: 170px;
}

/* ナビ */
#nuv > ul{
  display: flex;
  /* 表示折り返し用なのでPCのみなら不要 */
  flex-wrap: wrap;
}

.nuv__item.current > a{
  background: var(--accent-color);
  color:var(--white);
}

/* ナビ（aタブ） */
.nuv__item > a{
  position: relative;

  display: block;
  width: 90px;
  padding: 7px 30px;

  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 1.9rem;
  color: var(--stdtext);
  text-align: center;

  overflow: hidden;

  background-color: none;
  transition: all .5s ease .5s;
}

/* ナビ（aタブ）ホバー */
.nuv__item > a:hover{
  color: var(--white);
  background: var(--accent-color);

  transition: all .5s ease .5s;
}


/* ナビ（aタブ）疑似クラス */
/* 上線の設定 */
.nuv__item a:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 1.3px;
  background: var(--accent-color);
  /* X方向に-100%移動 */
  transform: translateX(-100%);
  transition: all .5s;
}

 /* ナビ（aタブ）ホバーした時の疑似クラス  */
.nuv__item a:hover::before {
   /* X方向に0%移動  */
  transform: translateX(0);
}

 /* ナビ（aタブ）疑似クラス  */
 /* 下線の設定  */
.nuv__item a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 1.3px;

  background: var(--accent-color);
   /* X方向に100%移動  */
  transform: translateX(100%);
  transition: all .5s;
}

 /* ナビ（aタブ）ホバーした時の疑似クラス  */
.nuv__item a:hover::after {
   /* X方向に0%移動  */
  transform: translateX(0);
}

/* ナビ（spanタブ） */
.nuv__item span{
  font-size: 1.2rem;
}
/* ////ヘッダー */



/* //フッター */
#footer-container{
  position: relative;

  width: 100%;
  height: 450px; 
  margin-top: 200px;
}

#footer-container::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%; 
  background-image: url("../images/footer-bgi.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#footer-logo__link{
  position: absolute;
  top: 65px;
  left: 30%;
  z-index: 1;
}

#footer-logo__link > img{
  width: 200px;
  height: 200px;
  transition: all .7s ease;
}

#footer-logo__link > img:hover{
  transform: scale(1.05);
  transition: all .7s ease;
}

#footer-menu{
  position: absolute;
  top: 65px;
  left: 50%;
  z-index: 1;
  width: 300px;
  height: 300px;
}

#footer-menu p{
  margin-bottom: 10px;

  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
  
  color: var(--stdtext);
  font-size: 3rem;
}

#footer-menu li{
  padding-left: 15px;
  border-top: 1px solid;
}

#footer-menu ul:last-child{
  border-bottom: 1px solid var(--stdtext) ;
}

#footer-menu a{
  position: relative;
  left: 0;

  display: block;
  padding-top: 10px;
  padding-bottom: 10px;

  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;

  color: var(--stdtext);
  font-size: 1.8rem;

  transition: all .5s ease;
}

#footer-menu a:hover{
  left: 15px;
  transition: all .5s ease;
}

#footer-menu span{
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 350;
  font-style: normal;

  font-size: 1.2rem;
}

.copyright{
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1;

  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;

  color: var(--stdtext);
  font-size: 1.8rem;
}
/* ////フッター */



/* //ハンバーガーメニュー */
#sub-menu{
  display: none;
}
/* ////ハンバーガーメニュー */



/* //ページトップボタン */
/* 下にスクロールボタン */
/* 上に戻るボタン */
.scroll-top {
	position: fixed;
	right: 50px;
	bottom: 80px;
	z-index: 2;

	opacity: 0;
	visibility: hidden; 
	transition: opacity .5s, visibility .5s;
	
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;

  /*縦書き*/
	-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:80px;
  }
  50%{
    bottom:85px;
  }
  100%{
    bottom:80px;
  }
}

/* 下にスクロールボタン */
/* 上に戻るボタン */
/* jsで.scroll-viewを付与する */
.scroll-top.scroll-view {
	opacity: 1;
	visibility: visible;
}

/* 下にスクロールボタン */
/* 上に戻るボタン */
/* aタグ */
.scroll-top a {
  display: block;

  font-size: 2rem;
	color: var(--accent-color);
	text-transform: uppercase;
}

/* 下にスクロールボタン */
/* aタグ_疑似クラス */
.scroll a::after{
	content: "";
	position: absolute;
	top: 0px;
	right: -4px;

	width: 1.5px;
	height: 85px;
	background: var(--accent-color);
}

/* 下にスクロールボタン */
/* aタグ_疑似クラス */
.scroll a::before {
  content: "";
  position: absolute;
  top: 65px;
  right: -10px;

  width: 1.5px;
  height: 20px;
  background: var(--accent-color);
  transform: skewX(-31deg);
}

/*Edge IE11 CSS-hack*/
/* 指定のブラウザのみ適用する */
_:-ms-lang(x), .scroll a::before{
	right: -10px;
}

/* 上に戻るボタン */
/* aタグ_疑似クラス */
.pagetop a::after{
	content:"";
	position: absolute;
	top: 0px;
	right: -4px;

	width: 1.5px;
	height: 85px;
	background: var(--accent-color);
}

/* 上に戻るボタン */
/* aタグ_疑似クラス */
.pagetop a::before {
  content: "";
  position: absolute;
  top: 0px;
  right: -10px;

  width: 1.5px;
  height: 20px;
  background: var(--accent-color);;
  transform: skewX(31deg);
}

/*Edge IE11 CSS-hack*/
/* 指定のブラウザのみ適用する */
_:-ms-lang(x), .pagetop a::before{
	right: -10px;
}
/* ////ページトップボタン */









/* 見出しタイトル */
#title--en{
  margin-bottom: 10px;

  text-align: center;

  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 6rem;
  -webkit-text-stroke: 0.25px black;
  color: var(--white);
  text-shadow:
    3px 3px 0 #000,
    -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

#title--jp{
  margin-bottom: 150px;

  text-align: center;

  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 2rem;
  -webkit-text-stroke: 0.25px var(--bigtext);
  color: var(--white);
  text-shadow:
    3px 3px 0 var(--bigtext),
    -1px -1px 0 var(--bigtext),  
    1px -1px 0 var(--bigtext),
    -1px 1px 0 var(--bigtext),
    1px 1px 0 var(--bigtext);
}


/* サブ見出しタイトル */
/* Web Site Production/Banner Production */
.title-sub{
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 120px;
  margin-bottom: 75px;

  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 3.5rem;
}

/* サブ見出しタイトル */
/* 左の線 */
.title-sub:after {
  content: "";
  width: 200px;
  margin-left: 10px;
  border-top: 1px solid;
}

/* サブ見出しタイトル */
/* 右の線 */
.title-sub:before {
  content: "";
  width: 200px;
  margin-right: 10px;
  border-top: 1px solid;
}


/* Works */
/* 配置 */
.web-container{
  display: grid;
  gap: 100px;
  grid-template-columns: repeat(2, 1fr);

  width: 90%;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}

/* 画像(imgタグ) */
.web-container img{
  width: 100%;
  border: 1px solid var(--gray);

  opacity: 1;
}

/* 画像(imgタグ)_ホバー */
.web-container img:hover{
  opacity: 0.5;
  transition: all .5s;
}

/* 作品名（pタグ） */
.works-name{
  margin-top: 5px;
}

/* 使用スキル（pタグ） */
.works-info{
  margin-top: 5px;
}

/* banner */
/* 配置 */
.banner-container{
  display: grid;
  gap: 80px;
  grid-template-columns: repeat(3, 1fr);

  width: 90%;
  margin: 0 auto;
}

.banner-container img{
  width: 100%;
  border: 1px solid var(--gray);
}







/* SP表示ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 750px){


/* //フッター */
#footer-container{
  height: 700px; 
}
  
#footer-logo__link{
  left: 50%;
  transform: translate(-50%, 0);
}

#footer-menu{
  position: absolute;
  top: 300px;
  left: 50%;
  transform: translate(-50%, 0);
}

#footer-menu p{
  text-align: center;
}

.copyright{
  white-space: nowrap;
  font-size: 1.2rem;
}
/* ////フッター */
  


/* PC用ヘッダー非表示 */
#header{
  display: none;
}


/* スマホ用ヘッダー（ロゴのみ）表示 */
#header-sp{
  display: block;
  
  width: 90%;
  margin-top: 30px;
  margin-bottom: 100px;
  margin-left: auto;
  margin-right: auto;
}

#header-sp > h1{
  display: inline-block;
  font-size: 0rem;
}


/* スマホ用ナビ表示 */
/* ハンバーガーメニューと裏ナビ */
#sub-menu{
  display: block;
}


/* //ハンバーガーメニュー */ 
.openbtn{
  position: fixed;
  top: 30px;
  right: 20px;
  z-index: 99;

  width: 50px;
  height:50px;
  border-radius: 5px;
  background: var(--accent-color);
  cursor: pointer;
}

.openbtn span{
  display: inline-block;

  position: absolute;
  left: 14px;
  height: 2px;

  width: 45%;
  border-radius: 5px;
  background: var(--white);

  transition: all .4s;
}
  
  
.openbtn span:nth-of-type(1) {
  top:13px;	
}

.openbtn span:nth-of-type(2) {
  top:19px;
}

.openbtn span:nth-of-type(3) {
  top:25px;
}
  
.openbtn span:nth-of-type(3)::after {
  content:"Menu";
  position: absolute;
  top: 5px;
  left: -2px;

  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}
  
.openbtn.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;

  width: 30%;
  transform: translateY(6px) rotate(-45deg);
}
  
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
  
.openbtn.active span:nth-of-type(3){
  top: 26px;
  left: 18px;
  width: 30%;

  transform: translateY(-6px) rotate(45deg);
}
  
.openbtn.active span:nth-of-type(3)::after {
  content:"Close";

  top:5px;
  left:4px;
  transform: translateY(0) rotate(-45deg);
}
/* ////ハンバーガーメニュー */ 


/* //裏ナビ */
/* slideToggle()で表示させるので初期値は非表示 */
#slide-container{
  display: none;

  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 90;

  width: 80%;
  height: 100vh;

  background: linear-gradient(to bottom right, var(--black), var(--white));
  opacity: .9;
}

.slide__nuv{
  width: 85%;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

.slide__nuv > ul > li{
  width: 75%;
  border-top: 1px solid var(--gray);
}

.slide__nuv > ul > li:last-child{
  border-bottom: 1px solid var(--gray);
}

.slide__nuv a{
  position: relative;
  left: 0px;

  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;

  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;

  color: var(--white);
  font-size: 1.8rem;

  transition: all .5s ease;
}

.slide__nuv a:hover{
  left: 15px;
  transition: all .5s ease;
}

.slide__nuv span{
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 1rem;
}

#slide__img{
  margin-top: 20px;
  margin-left: 20px;
}
.slide__nuv img{
  width: 150px;
}

/* ////裏ナビ */






/* サブ見出しタイトル */
/* Web Site Production/Banner Production */
.title-sub{
  margin-top: 100px;
  margin-bottom: 40px;

  font-size: 3rem;
}

/* サブ見出しタイトル */
/* 左の線 */
.title-sub:after {
  content: "";
  width: 10%;
  margin-left: 10px;
  border-top: 1px solid;
}

/* サブ見出しタイトル */
/* 右の線 */
.title-sub:before {
  content: "";
  width: 10%;
  margin-right: 10px;
  border-top: 1px solid;
}



/* Works */
/* 配置 */
.web-container{
  gap: 60px;
  grid-template-columns: repeat(1, 1fr);

  text-align: center;
}

/* 作品名（pタグ） */
.works-name{
 font-size: 1.4rem
}

/* 使用スキル（pタグ） */
.works-info{
  font-size: 1.4rem
}


/* banner */
/* 配置 */
.banner-container{
  gap: 60px;
  grid-template-columns: repeat(1, 1fr);

  text-align: center;
}

}