@charset "UTF-8";

/* 基本 */
:root {
	--v-space: clamp(90px, 9vw, 120px);
}

body {
	background-color:#F2EFE9;
	color: #222222;
	font-family: sans-serif;
}

h1, h2, h3, h4, h5, h6, p, figure, ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	line-height: 1.8;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	filter: brightness(90%) contrast(120%);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

@font-face {
font-family: 'Bodoni Moda', "serif";
font-style: normal;
font-weight: 400;
src: url("../BodoniModa-Italic-VariableFont_opsz,wght.woff")format('woff'),
}

@font-face {
font-family: 'Bodoni Moda', "serif";
font-style: normal;
font-weight: 400;
src: url("../BodoniModa-VariableFont_opsz,wght.woff")format('woff'),
}

@font-face {
font-family: 'lato', sans-serif;
font-style: normal;
font-weight: 400;
src: url("../Lato-Regular.woff")format('woff'),
}

.wrapper {
  overflow-x: hidden;
}

.scroll_up {
  transition: 0.5s ease-in-out;
  transform: translateY(0px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}

.scroll_up_top {
  text-align: left;
  margin-top: 50px;
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}


/*フォント指定*/
.family1{
	font-family: 'Didot', 'Bodoni Moda', "serif";
	font-weight: lighter;
	font-style: italic;
	font-size: 24px;
	text-align: left;
	color: dimgrey;
	line-height: 30px;
}

.family2{
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 18px;
	text-align: left;
	color: #878787;
	line-height: 30px;
	letter-spacing: 1.5px;
}

.family3{
	text-align: left;
	vertical-align: top;
	font-family: "Yu Gothic", sans-serif;
	letter-spacing: .5px;
	line-height: 30px;
	line-height: 2;
	color:#ffffff;
	font-size: 0.8rem;
}



/* 横幅と左右の余白 */
.w-container {
	width: min(92%, 1166px);
	margin: auto;
	position: relative;
}


/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 35px 20px;
  box-sizing: border-box;
  z-index: 999;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	
}


/*--------------------------------
 TOP/ ナビメニュー
---------------------------------*/
.nav-text {
	font-family: 'lato', sans-serif;
	letter-spacing: 2px;
	font-size: 0.7rem;
	color: dimgrey;
}


@media (max-width:767px){
  .nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(100,134,133,.9);
    color: #ffffff;
    display: flex;
    justify-content: center;
	text-align: center;
    align-items: center;
    /* 初期：非表示 */
    visibility: hidden;
    opacity: 0;
    /* ふわっと表示 */
    transition: 0.8s ease-in-out;
  }
  .nav ul{
    list-style:none;
  }
  .nav li:not(:last-child){
    margin-bottom: 30px;
  }
  .nav a{
    color: #ffffff;
  }
}


/* ナビゲーションボタン（開く） */
#navbtn{
  position: fixed;
  top: 35px;
  right: 35px;
  padding: 0;
  outline: none;
  border: none;
  background: none;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

#navbtn::before,
#navbtn::after{
  content : '';
  display: block;
  height: 1px;
  background-color: #333333;
  transform: translateY(10px);
  transition: 0.3s ease-in-out;
}

#navbtn::before{
  transform: translateY(-10px);
  box-shadow: 0 10px #333333;
}

/* ナビゲーションボタン（閉じる） */
.open #navbtn{
  z-index: 100;
}
.open #navbtn::before{
  transform: rotate(-45deg);
  box-shadow: none;
}
.open #navbtn::after{
  transform: rotate(45deg);
  box-shadow: none;
}
/* ナビゲーションメニュー 開いた時*/
.open .nav{
  visibility: visible;
  opacity: 1;
}

@media(min-width: 768px){
  /* PCではボタン非表示 */
  #navbtn{
    display:none;
  }
  /* ヘッダーは横並び */
  header{
    display: flex;
    align-items: center;
  }
  /* メニューを右に寄せる */
  .nav{
    /* 右寄せ */
    margin-left: auto;
  }
  .nav ul{
    display: flex;
    list-style:none
  }
  .nav ul li:not(:first-child){
    margin-left:20px;
  }
  .nav ul li a { 
    color: dimgrey;
  }
}



/*--------------------------------
 WORKSLIST / 
---------------------------------*/

.works-list {
	padding: var(--v-space) 0;
}


.works-list-container {
	display: flex;
	flex-direction: column;
	margin-top: 70px;
	gap: 30px;
}

.works-list-items {
	display: flex;
	flex-direction: column;
}

@media (max-width : 767px ){
.works-list-container {
	display: flex;
	flex-direction: column;
	margin-top: 60px;
	gap: 15px;
}
}

/*--------------------------------
 WORKSLIST / アクション
---------------------------------*/

/*　画像の透過+グラデーション＋テキスト出現　*/

.opacityText{/*テキストの基点となる位置を定義*/
  position: relative;
}

.opacityText span.mask{
  position: relative;/*グラデーションの基点となる位置を定義*/
  transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
  display: block;/*画像をくくるspanタグをブロック要素にする*/
  line-height: 0;/*行の高さを0にする*/
}

.opacityText:hover span.mask::before{/*hoverした時の変化*/
  content:"";
  position: absolute;
  z-index:2;
  top:0;
  left:0;
  width: 100%;
   height: 100%;
  background: #fffff;/*背景色（グラデーション）*/
}

.opacityText img{
  opacity:1;
  transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}

.opacityText:hover img{/*hoverした時の変化*/
  opacity:0.6;/*透過具合を変更したい場合はこの数値を変更*/
}

.opacityText span.cap{
  opacity:0;
  transition: .5s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
  position: absolute;
  z-index:3;/*テキストを前面に出す*/
  top: 78%;
  left: 5%;
  color: #fff;/*テキストの色を変えたい場合はここを修正*/
  line-height: 1.5;/*行の高さを1.5にする*/
}

.opacityText:hover span.cap{/*hoverした時の変化*/
  opacity:1;
}


.text1 {
  color: #648685;
	font-family: 'Didot', 'Bodoni Moda', "serif";
	font-weight: lighter;
  font-size: 32px;
	
}

.text2 {
  position: relative;
  color: #648685;
  font-size: 12px;
  font-family: 'Univers LT 55 Roman''helvetica' 'sans-serif'"serif";
  letter-spacing: 1px;
}



/*--------------------------------
 WORKSLIST / アクション / SP
---------------------------------*/

@media (max-width : 767px ){
	.hover-text{
 visibility:hidden;
}
	
.cap{
 visibility:hidden;
}	
}

/*--------------------------------
 WORKS/クレジット
---------------------------------*/

.works-credit {
	padding: var(--v-space) 0;
	margin-top: 30px;	
	width: 100%;
}

.works-credit-textbox {
	text-align: left;
	vertical-align: top;
	font-family: "Yu Gothic", sans-serif , JIS2004;
	letter-spacing: .5px;
	line-height: 30px;
	line-height: 1.8;
	color: dimgrey;
	font-size: 0.8rem;
}

.works-credit-textbox p {
	letter-spacing: 2px;;
	font-size: 0.8rem;
	margin-top: 5px;
	padding-top: 15px;
	padding-bottom: 0px;
}

.works-credit-textbox a {
	text-decoration:underline;
}

.works-credit  + .works-credit  {
	padding-top: 0;
}

.workscredit-container {
	display: flex;
	align-content: center;
	padding-top: 50px;
	column-gap: 100px;	
	border-top: .5px solid dimgrey;	
	width: 920px;
}


/*--------------------------------
 WORKS
---------------------------------*/
.works-page {
	padding: var(--v-space) 0;
}

.wp-container {
	align-items: center;
	display: flex;
	flex-direction: column;
	margin-top: 70px;
	gap: 30px;
}

.works-page-items {
	display: flex;
	flex-direction: column;
}

.works-page-items p {
	padding-top: 5px;
	font-size: 0.6rem;
	color: dimgrey;
	letter-spacing: .5px;
}

video {
	display: block;
	margin: auto;
	width: 920px;
}

@media (max-width : 767px ){
.workscredit-container {
	display: flex;
	flex-direction: column;
	border-top: .5px solid dimgrey;
	width: 100%;
	column-gap: 100px;	
	margin-top: 40px;
	gap:20px;
}
	
video {
	width: 100%;
}	
}



/*--------------------------------
 FOOTER
---------------------------------*/

.footer-nav {
	display: flex;
	justify-content: center;
	font-size: 0.7rem;
	text-transform: uppercase;
	gap:70px;
	margin-top: 200px;
	list-style: none;
	font-family: 'Lato', sans-serif;
	letter-spacing: 2px;
	color:  dimgrey;
}

@media (max-width : 767px ){
.footer-nav {
 visibility:hidden;
}
	}

.footer-container {
	margin-bottom: 50px;
}


.footer-copy {
	text-align: center;
	padding:60px 0 60px 0;
	left: 0;
	width: 100%;
	font-family: 'lato', YuGothic, "Yu Gothic light",;
	font-size:0.7rem;
	color: dimgrey;
}
