@charset "UTF-8";

html{
  font-family: 'Alatsi', sans-serif;
}

.pc-menu{
  display: flex;
  justify-content: center;
  background:#ece7e7;
	color:#333;
  margin: 0 auto;
  text-align: center;
}

a img{
  width: 20px;
}

main#mv{
  background-image: url(../images/myphoto_1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: calc(100vh - 64px);
  background-attachment: fixed;
}

span.name{
  font-size: 20px;
}

.custom-shape-divider-top-1631532852 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-top-1631532852 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.custom-shape-divider-top-1631532852 .shape-fill {
  fill: #FFFFFF;
}

.divider {
position: relative;
}

body {
background: rgb(255, 249, 221);
}
.content {
padding: 2rem;
}
.white {
background: #fff;
}
.blue {
margin-top: 4rem;
}


/*==================================================
文字の上重ね
===================================*/

/*========= レイアウトのためのCSS ===============*/

.bgextend{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  color: #fff;
  text-shadow: 0 0 15px #666;
  text-align: center;
	box-sizing: border-box;
}

/*========= 背景色の動きのCSS ===============*/

/*背景色が伸びて出現（共通）*/
.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
  font-size: 40px;
  animation-name:bgextendAnimeSecond;
  animation-duration:1s;
  animation-delay: 0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/*左から*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1.5s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 230px;
    height: 100%;
    background-color: #f34b13;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
  0% {
    transform-origin:left;
    transform:scaleX(0);
  }
  50% {
    transform-origin:left;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:right;
  }
  100% {
    transform-origin:right;
    transform:scaleX(0);
  }
}
/*文字の上重ねここまで*/

/*==================================================
MVスクロール
===================================*/
/*スクロールダウン全体の場所*/
.scrolldown4{
  /*描画位置※位置は適宜調整してください*/
position:absolute;
bottom:1%;
right:50%;
  /*矢印の動き1秒かけて永遠にループ*/
animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
    0%{bottom:1%;}
    50%{bottom:3%;}
    100%{bottom:1%;}
}

/*Scrollテキストの描写*/
.scrolldown4{
      /*描画位置*/
    position: absolute;
    left:-20px;
    bottom:10px;
      /*テキストの形状*/
    color: #fff;
    text-shadow: 0 0 15px #666;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: -6px;
  /*矢印の形状*/
  width: 1px;
  height: 20px;
  background: #eee;
  text-shadow: 0 0 15px #666;
  transform: skewX(-31deg);
}

.scrolldown4:after{
content:"";
  /*描画位置*/
position: absolute;
bottom:0;
right:0;
  /*矢印の形状*/
width:1px;
height: 50px;
background:#eee;
}
/*MVスクロールここまで*/

div.about{
  margin-bottom: 80px;
}
.intro{
  width: 80%;
  display:flex;
  justify-content: space-around;
  align-items: center;
  margin: 10px auto 50px;
}

.intro img{
  width: 45%;
}

.intro p{
  width: 45%;
}

/*==================================================
ABOUTフェードイン
===================================*/
.intro{
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-120px);
  transition: opacity 1s, visibility 1s, transform 1s;
  margin-top: 50px;
}
/* フェードイン時に入るクラス */
.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
/*フェードインここまで*/


/* section {
  width: 100%;
} */


h2 {
  font-size: 2.6rem;
  text-align: center;
  margin-top: 80px;
}

.headline {
  position: relative;
}

.headline span {
  position: relative;
  z-index: 10;
}

.headline:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  width: 0%;
  height: 10px;
  background: #f46400;
  z-index: 1;
  transition: all 0.5s;
}

.headline.isActive:after {
  width: 100%;
}

/*==================================================
ハンバーガーメニュー
===================================*/

/* PC時のスタイル */
header ul.sp-menu {
  padding-top: 72px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background: rgba(255,255,255,0.95);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s linear;
}
header ul.sp-menu.is-active {
  pointer-events: auto;
  opacity: 1;
}
/* PC時のスタイルここまで */

/*==ナビゲーション全体の設定*/
nav{
	text-align: center;
}

/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
}
/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #333;
	padding:20px 35px;
	transition:all .3s;
}

nav ul li li a{
	padding:10px 35px;
}

nav ul li a:hover{
	color:#ed560a;
  transform: translateY(-2px);
  opacity: 0.7;
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:25px;
	width:6px;
	height:6px;
	border-top: 2px solid #333;
    border-right:2px solid #333;
    transform: rotate(135deg);
}

/*3階層目を持つliの矢印の設定*/
nav ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:6px;
	top:17px;
	width:6px;
	height:6px;
    border-top: 2px solid #333;
    border-right:2px solid #333;
    transform: rotate(45deg);
}

/*== 2・3階層目の共通設定 */
/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:62px;
	z-index: 4;
    /*形状を指定*/
	background:#ed560a;
	width:180px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
}

/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.6);
}

nav li.has-child ul li:last-child a{
	border-bottom:none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:#b8bdc3;
}
/*ハンバーガーメニューここまで*/


/*==================================================
TOPへ戻る
===================================*/
/*リンクの形状*/
#page-top img{
	width: 50px;
	height: 50px;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

/* 検証のためのCSS
section{
padding: 500px 0;
}

#footer{
background:#333;
} */


/*==================================================
SKILL部分
===================================*/

ul.delayScroll{
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
  list-style: none;
}

li.box{
  width: 30%;
}

.box {
  position: relative;
  margin: 2em 0;
  padding: 0.5em 1em;
  background-color: white;
  border: solid 10px #ed7249;
}
.box .box-title {
  position: absolute;
  display: inline-block;
  top: -34px;
  left: -3px;
  padding: 3px 12px;
  height: 25px;
  line-height: 25px;
  font-size: 20px;
  background: #ed7249;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}
.box p {
  font-size: 20px;
  margin: 0; 
  padding: 5px;
}


/*==================================================
SKILL部分フェードイン
===================================*/

/*==================================================
スタート時は要素自体を透過0にするためのopacity:0;を指定する
===================================*/

.box{
	opacity: 0;
}

/*==================================================
動かしたい動き（今回は” ふわっ” を採用）
===================================*/

.fadeUp {
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}



/*==================================================
グリッドフェードイン
===================================*/

/* その場で */
.fadeIn{
  animation-name:fadeInAnime;
  animation-duration:3s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeInAnime{
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }


/*==================================================
WORKSのグリッド
===================================*/

/*＝＝＝並び替えボタンのCSS*/

.fadeInTrigger{
  width: 80%;
  margin: 0 auto;
}

.sort-btn{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0px 20px;
  margin-top: 50px;
}

.sort-btn li{
	background:#eee;
  list-style:none;
	border-radius:10px;
	cursor: pointer;
	padding: 10px;
	margin:0 10px;
}

.sort-btn li.active{/*ボタンに現在地＝activeというクラス名がついたら背景色を変更*/
	background:#ccc;	
}

/*横幅が480px以下になった際の指定*/
@media only screen and (max-width: 480px) {
.sort-btn{
	justify-content: space-between;
}
	
.sort-btn li{
	width:48%;
	margin:0 0 10px 0;
	text-align:center;
	}	
}

/*＝＝＝Muuriのレイアウトのための調整 */
.grid {
  position: relative;/*並び替えの基準点を指定*/
  margin-bottom: 50px;
}

/*各画像の横幅などの設定*/
.item {
  display: block;
  position: absolute;
  width: 33%;/*横並びで3つ表示*/
  z-index: 1;
  list-style:none;
}

/*内側のボックスの高さが崩れないように維持*/
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.img-box {
  overflow: hidden;
}

span.fancybox{
  display: block;
  text-align: center;
  padding-top: 10px;
}

/*画像の横幅を100%にしてレスポンシブ化*/
.grid img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*横幅が768px以下になった際の指定*/
@media only screen and (max-width: 768px) {
.item {
  width: 49.5%;/*横並びで2つ表示*/
}
}

/*＝＝＝fancyboxサムネイル背景と画像選択時の枠線の指定*/
.fancybox-thumbs {
    background: transparent!important;
}

.fancybox-thumbs__list a:before {
    border: 6px solid #FA999B;
}

/*WORKSのGRIDここまで*/


dl.main-page{
  text-align: center;
  margin-top: 50px;
}
dd.main-page span{
  display: inline-block;
  color: #333;
  font-size: 32px;
  text-decoration: none;
}
dd.main-page img{
  width: 80px;
  margin-right: 20px;
}
dd.main-page {
	display: inline-block;
	transition: all .3s ease 0s;
	text-decoration: none;
}
dd.main-page:hover {
	cursor: pointer;
	transform: scale(1.2);
  opacity: 0.7;
}



/*==================================================
フッター
===================================*/
footer{
  height: auto;
  background-color: #f3f3f3;
  font-size: 20px;
  margin-top: 100px;
}

div.footer{
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin: 50px auto;
  padding-top: 30px;
}

h3{
  width: 70%;
  text-align: center;
  margin: 20px auto;
}

ul.footer-nav{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

li.footer-category{
  width: 150px;
  margin-left: 100px;
}

ul.footer-nav a{
  text-decoration: none;
  color: #333;
  transition:all .3s;
}

ul.footer-nav a:hover{
	color:#ed560a;
  transform: translateY(-2px);
  opacity: 0.7;
}


footer p{
  text-align: center;
  margin: 0;
}

/*==================================================
サブページ
===================================*/

body.sub-page{
  background-color: white;
}

section.sub-page-1{
  text-align: center;
}

p{
  font-size: 16px;
}

h1 img{
  width: 80%;
}

section.sub-page-2{
  width: 80%;
  margin-left: auto;
}

dl.sub-page{
  display: flex;
  flex-wrap: wrap;
  margin-top: 80px;
}

dt.sub-page{
  width: 10%;
}

dd.sub-page{
  width: 70%;
}




/*==================================================
レスポンシブ
===================================*/

/*==768px以下の形状*/

@media screen and (max-width:768px){

  main#mv{
    background-image: url(../images/myphoto_sp.jpg);
    height: 100vh;
    background-attachment: unset;
  }

  .ham-menu {
    display: inline-block;
    cursor: pointer;
    position: fixed;
    right: 20px;
    top: 36px;
    z-index: 10;
    width: 40px;
    height: 24px;
  }
  .ham-line {
    position: absolute;
    transition: 0.3s;
    width: 100%;
    height: 2px;
    background-color: #999;
  }
  .line-top {
    top: 0;
  }
  .line-middle {
    top: calc(50% - 1px);
  }
  .line-bottom {
    bottom: 0;
  }
  .ham-menu-active > .line-top {
    top: calc(50% - 1px);
    transform: rotate(45deg);
  }
  .ham-menu-active > .line-middle {
    width: 0;
    height: 0;
  }
  .ham-menu-active > .line-bottom {
    top: calc(50% - 1px);
    transform: rotate(-45deg);
  }
  header ul.pc-menu {
    display: none;
  }

  
  /* メディアクエリのスタイルここまで */
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
	nav li.has-child ul,
	nav li.has-child ul ul{
  position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}
	
nav ul li a{
	border-bottom:1px solid #ccc;
}

/*矢印の位置と向き*/

nav ul li.has-child::before{
	left:20px;	
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

.intro{
  display: flex;
  flex-direction: column;
}
.intro img{
  width: 95%;
}
.intro p{
  width: 95%;
}

dd img{
  width: 40px;
  margin: 0 10px 0 -20px;
}
dd span{
  font-size: 20px;
}

ul.delayScroll{
 display: flex;
  flex-direction: column;
  margin: 0 -2px;
}
li.box{
  width: 120%;
}

div.footer{
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

ul.footer-nav{
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 20px 0 50px -13px;
}

dd.main-page span {
  font-size: 28px;
  text-align: center;
}

/* サブページ */
section.sub-page-1{
  margin-top: 100px;
}

}
