@charset "UTF-8";

*{
  margin: 0;
  padding: 0;
}

@font-face{
  font-family: 'Nanum_Pen_Script';
  src: url(../font/Nanum_Pen_Script/NanumPenScript-Regular.ttf);
}

@font-face {
  font-family: 'Zen_Maru_Gothic';
  src: url(../font/Zen_Maru_Gothic/ZenMaruGothic-Light.ttf);
}

@font-face{
  font-family: 'Kalam';
  src: url(../font/Kalam/Kalam-Bold.ttf);
  src: url(../font/Kalam/Kalam-Regular.ttf);
}

body{
  font-family: 'Zen_Maru_Gothic';
  font-size: 3vw;
  color: #2d2d2d;
  background-image: url(../images/portfolio-bg2.jpg);
}

body h1,h2,h3{
  font-family: 'Kalam';
  color: #2d2d2d;
}

body h2{
  font-size: 6vw;
  font-weight: 100;
  font-family: 'Kalam';
}

body ul li{
  list-style: none;
  color: #2d2d2d;
  white-space: pre-wrap;
  line-break: anywhere;
  text-align: justify;
}

body a{
  position: relative;
  text-decoration: none;
  color: #2d2d2d;
}

/*-----------------------------
body

background: rgb(215,215,215);
background: linear-gradient(344deg, rgba(215,215,215,1) 0%, rgba(241,255,199,1) 48%, rgba(204,255,51,1) 100%);
--------------------------------*/


/*-----------------------------
header
--------------------------------*/
header{
  position: absolute;
  position: fixed;
  margin-left: 2vw;
  z-index: 100;
}

header h1 a{
  color: #ccff33;
}

/*-----------------------------
nav
--------------------------------*/
.NavMenu_2{
  display: none;
}

.NavMenu_2{
  position: absolute;
  position: fixed;
  top: 0;
  right: 0;
  width: 4vw;
  height: 100vh;
  background-color: #fffff6;
  padding-top: 2%;
  border-left: 0.1vw solid #d9d9d9;
}

.NavMenu_2 ul{
  height: 60vh;
}

.NavMenu_2 ul li{
  width: 3vw;
  border: 0.1vw solid #d9d9d9;
  border-left: none;
  border-radius: 0 0.5vw 0.5vw 0;
  background-color: white;
  margin: 3vw 0;
}

.NavMenu_2 ul li a{
  display: block;
  width: 2vw;
  writing-mode: vertical-lr;
  letter-spacing: 0.1em;
  padding: 1vw 0.5vw;
  transition: 0.1s;
}

/*見てるページのスタイル*/
.NavMenu_2 ul li:nth-child(3){
  position: relative;
  border: none;
}

.NavMenu_2 ul li:nth-child(3)::before{
  position: absolute;
  content: "";
  width: 4vw;
  height: 7vw;
  top: -0.6vw;
  left: -0.9vw;
  border-radius: 0 0.5vw 0.5vw 0;
  background-color: #ccff33;
  box-shadow: 2px 2px 5px 1px #d9d9d9;
}

/*hover時*/
.NavMenu_2 ul li a:hover{
  transform: rotateY(360deg);
  transition: 0.1s;
}


/*-----------------------------
nav ハンバーガーメニュー
--------------------------------*/
/*ナビメニューのスタイルを指定*/
nav .NavMenu{
	position: fixed; /*表示位置を固定*/
	z-index: 2; /*重ね順を変更*/
	top: 0; /*表示位置を指定*/
	left: 0; /*表示位置を指定*/
	background: #fff;/*背景を白にする*/
	color: #000; /*文字色を黒にする*/
	text-align: center; /*テキストを中央揃え*/
	width: 100%; /*全幅表示*/
	transform: translateY(-100%); /*ナビを上に隠す上から出したい場合は、transform: translateYを使う。*/
	transition: all 0.6s; /*アニメーションの時間を指定*/
}

nav .NavMenu ul{
	background: #ccc; /*背景をグレーにする*/
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

nav .NavMenu ul li{
	font-size: 1.1em;
	list-style-type: none;
	padding: 0;
	width: 100%;
	border-bottom: 1px dotted #333;
}

nav .NavMenu ul li:last-child{
	padding-bottom: 0;
	border-bottom: none; /*最後のメニュー項目のみ下線を消す*/
}

nav .NavMenu ul li a{
	display: block; /*クリックできる領域を広げる*/
	color: #000;
	padding: 1em 0;
}

/*トグルボタンが押されたときに付与するクラス*/
nav .NavMenu.active{
	transform: translateY(0%);/*上から出したい場合は、transform: translateYを使う。*/
}

/*トグルボタンのスタイルを指定*/
.Toggle {
	position: fixed;    /* bodyに対しての絶対位置指定 */
	right: 13px;
	top: 12px;
	width: 42px;
	height: 42px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 3;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
	display: block;
	position: absolute;
	width: 30px;
	border-bottom: solid 3px #000;
	transition: .35s ease-in-out;			/*変化の速度を指定*/
	left: 6px;
}

.Toggle span:nth-child(1) {
	top: 9px;
}

.Toggle span:nth-child(2) {
	top: 18px;
}

.Toggle span:nth-child(3) {
	top: 27px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
}

/*--------------------
work.ホームページ
------------------------*/
main{
  width: 100vw;
}

main h2{
  text-align: center;
  padding-top: 25%;
}

main section h3{
  font-family: 'Zen_Maru_Gothic';
  text-align: center;
  letter-spacing: 0.2em;
  margin-top: 3%;
}

/*--------------------
.main-visual
------------------------*/
.main-visual{
  position: relative;
  width: 100%;
  margin-bottom: 5vw;
  opacity:0;
  animation: fadeInAnime 3s forwards;
}

@keyframes fadeInAnime{
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.main-visual div{
  width: 90%;
  height: 70vw;
  margin: 0 auto;
}

.main-visual div img{
  width: 110%;
  object-position: -5vw;
}
/*--------------------
p
------------------------*/
main section p{
  width: 90%;
  font-weight: bold;
  white-space: pre-wrap;
  margin: 5%  auto;
  line-height: 1.7;
}

main section:nth-of-type(1) p:nth-of-type(1){
  text-align: center;
  letter-spacing: -0.1em;
}

.plan-wrap {
  width: 84%;
  letter-spacing: 0.1em;
  line-height: 1.8;
  padding: 2% 3%;
  border: 0.1vw solid #ccff33;
  background-color: #fff;
}

.plan-wrap + P{
  display: block;
  width: 84%;
  background-color: #ccff33;
  padding: 2% 3%;
}

/*--------------------
.site-box
------------------------*/
main section:nth-of-type(2){
  width: 90%;
  margin: 5%  auto 0 auto;
}

.site-flex{
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 10%;
}

.site-flex li{
  width: 32%;
}

.site-flex li img{
  width: 100%;
  border: 0.1vw solid #d9d9d9;
}

/*--------------------
.consept-box
------------------------*/
.site-name li{
  display: block;
  width: fit-content;
  padding: 2% 0;
}

.site-name li:nth-of-type(1){
  margin-right: 3%;
}

.site-name li:nth-of-type(2) span{
  font-size: 1.3vw;
}

.consept-box ul{
  margin-bottom: 5%;
}

.consept-title{
  position: relative;
  padding: 2% 0;
  margin-left: 2vw;
}

.consept-title::before{
  position: absolute;
  content: "";
  width: 1vw;
  height: 1vw;
  top: 1.8vw;
  left: -1.8vw;
  border-top: 0.2vw solid #ccff33;
}

/*---------------------
nextpage-box
-----------------------*/
.nextpage-box, .nextpage-box2{
  position: relative;
  display: block;
  width: 20vw;
  margin: 10% auto;
}

.nextpage-box p, .nextpage-box2 p{
  position: relative;
  z-index: 10;
}

.nextpage-box a, .nextpage-box2 a {
  display: inline-block;
  width: 20vw;
  font-size: 2.5vw;
  line-height: 1.7;
  text-align: center;
}

.nextpage-box p::before{
  position: absolute;
  content: "";
  width: 0;
  height: 4vw;
  bottom: 0;
  left: 0;
  transition: 0.5s;
}

.nextpage-box p:hover::before{
  width: 22vw;
  background-color: #ccff33;
  transition: 0.5s;
}

.nextpage-box::after{
  position: absolute;
  content: "";
  width: 22vw;
  height: 2vw;
  bottom: 0;
  left: -1vw;
  border-right: 0.1vw solid #d9d9d9;
  border-bottom: 0.1vw solid #d9d9d9;
  transform: skewX(45deg);
  z-index: -10;
}

.nextpage-box2 p::before{
  position: absolute;
  content: "";
  width: 0;
  height: 4vw;
  bottom: 0;
  right: 1vw;
  transition: 0.5s;
}

.nextpage-box2 p:hover::before{
  width: 20vw;
  background-color: #ccff33;
  transition: 0.5s;
}

.nextpage-box2::after{
  position: absolute;
  content: "";
  width: 20vw;
  height: 2vw;
  bottom: 0;
  left: 0;
  border-left: 0.1vw solid #d9d9d9;
  border-bottom: 0.1vw solid #d9d9d9;
  transform: skewX(-45deg);
  z-index: -10;
}

/*--------------------
footer
------------------------*/
footer{
  position: relative;
}

footer p{
  text-align: center;
  line-height: 3;
}

/*--------------------
pagetop
------------------------*/
.pagetop{
  position: absolute;
  position: fixed;
  width: 7vw;
  height: 7vw;
  bottom: 1.5vw;
  right: 1.5vw;
  border: 0.3vw solid #e7e4df;
  border-radius: 1vw;
}

.pagetop p a{
  display: block;
  height: 7vw;
  color: #d9d9d9;
  font-size: 7vw;
  line-height: 0.7;
  background-color: #fff;
  transition: 0.5s;
}

.pagetop p a:hover{
  background-color: #ccff33;
  transition: 0.5s;
}