@charset "UTF-8";
/*=== サイト全体のフォント指定 ===*/
@font-face {
  font-family: "Noto Serif JP", serif;
  src: url("/font/NotoSerifJP-VariableFont_wght.ttf") format("truetype");
}

* {
  font-family: "Noto Serif JP", serif;
}

/*=== 全体css ===*/
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
    box-sizing: border-box;
}

body {
  color: #000;
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
}

section {
  margin-bottom: 140px;
}

section > div {
  padding: 0 40px;
}

section h2 {
  text-align: left;
  letter-spacing: 0.1em;
  font-size: 2.7rem;
  margin-bottom: 24px;
}

tr {
    display: table;
    margin-bottom: 8px;
}

th {
  display: block;
  margin-right: 24px;
  font-weight: 600;
}

p {
  text-align: left;
  line-height: 1.8em;
}

td {
  text-align: left;
}

a:hover {
  opacity: 0.5;
}

small {
  text-align: center;
  display: block;
}

/*=== 各パーツcss ===*/
#container {
  padding-bottom: 24px;
}

#top {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

#top h1 {
  color: #fff;
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 4rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap;
}

#background {
  background-color: #fff;
}

.background_cont {
  max-width: 1480px;
  margin: 0 auto;
}

#profile h3 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 16px;
}

#profile_gallery_cont {
  display: flex;
}

#gallery_cont p {
  text-align: right;
}

#profile_cont, #gallery_cont {
  border-right: 1px solid #ccc;
  padding-right: 32px;
  margin-right: 32px;
}

#production_cont {
  flex: 1;
}

#gallery th {
  margin-right: 46px;
}

#works_cont01,
#works_cont02 {
  display: flex;
  text-align: left;
  gap: 4%;
  margin-bottom: 64px;
}

#works_cont01 h3,
#works_cont02 h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

#works_cont01 p:first-of-type {
  margin-bottom: 16px;
}

#works_cont01 > div {
  width: 60%;
  flex: 1;
}

#works_cont02 {
  flex-direction: row-reverse;
}

#yamadyawan.works_img {
  width: 360px;
  height: 360px;
  object-fit: cover;
}

#tsubo.works_img {
    width: 40%;
    object-fit: cover;
}

.news_list {
  letter-spacing: 0.1em;
  text-align: left;
  border-top: 1px solid #ccc;
}

.news_list ul {
  list-style: none;
}

.news_list li {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding-top: 50px;
  padding-bottom: 50px;
  flex-direction: row-reverse;
  justify-content: flex-end;
      align-items: center;
}

.contact_text p {
  text-align: left;
  line-height: 30px;
  width: 110%;
}

footer {
  background-color: #fff;
  padding: 0px 40px;
}

#footer_link {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

footer nav {
  line-height: 30px;
}

footer ul li {
  letter-spacing: 0.1em;
  text-align: left;
  width: 41%;
  text-decoration: none;
}

footer nav a {
  color: #000;
  text-decoration: none;
}

/*mobileの画面*/
@media (max-width: 1150px) {
  section > div {
    padding: 0px 28px;
  }

  #profile_gallery_cont {
    display: flex;
    flex-wrap: wrap;
  }
  
  #production_cont {
    flex: auto;
  }

  #gallery_cont {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }

  #works_cont01 > div {
    width:  100%;
    flex: auto;
  }

  #works_cont01, #works_cont02 {
    display: block;
    text-align: left;
    /* gap: 4%; */
    margin-bottom: 64px;
  }

  #tsubo.works_img {
    width: 100%;
    height: 100%;
  }

  #yamadyawan.works_img {
    width: 100%;
    height: 100%;
  } 

  #works_cont01 p:last-of-type,
  #works_cont02 p:last-of-type {
    margin-bottom: 16px;
  }

  footer {
    padding: 0px;
  }

  #footer_link {
    padding: 0px 20px;
    margin-bottom: 32px;
  }
}

@media (max-width: 754px) {
  section > div {
        padding: 0px 20px;
  }

  #top h1 {
    white-space: normal;
    line-height: 2em;
  }

  #profile_gallery_cont {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  #profile_cont, #gallery_cont {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
}

/*=== 開いたハンバーガーメニュー 背景のぼかし ==*/
.mainblur {
  filter: blur(8px);
} 

/*=== ハンバーガーメニュー ==*/
.openbtn {
  position: fixed;
  z-index: 9999;
  top: 10px;
  right: 7%;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

.openbtn span {
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  height: 1px;
  background-color: #fff;
  width: 100%;
}

.openbtn span:nth-of-type(1) {
  top: 20px;
}

.openbtn span:nth-of-type(2) {
  top: 18px;
}

.openbtn span.invert {
  background-color: #000; 
}

.openbtn.active span:nth-of-type(1) {
  top: 30px;
  right: 0px;
  transform: translateY(6px) rotate(-45deg);
  width: 100%;
  transition: transform 0.3s ease, top 0.3s ease, width 0.3s ease; /* 追加 */
}

.openbtn.active span:nth-of-type(2) {
  top: 18px;
  right: 0px;
  transform: translateY(-6px) rotate(45deg);
  width: 100%;
  transition: transform 0.3s ease, top 0.3s ease, width 0.3s ease; /* 追加 */
}

/*=== ナビゲーションのためのCSS ===*/
#g-nav {
  position: fixed;
  z-index: -1;
  opacity: 0; 
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}

#g-nav.panelactive #g-nav-list {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav ul {
  display: none; 
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#g-nav.panelactive ul {
  display: block;
}

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.openbtn span {
  background-color: #fff;
}
.openbtn span.invert {
  background-color: #000;
}
#g-nav li a {
  color: #fff;
}
#g-nav li a.invert {
  color: #000;
}

/*=== アニメーション背景のcss ===*/
.sample {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: -1;
  overflow: hidden;
}
.sample li {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
  opacity: 0;
  -webkit-animation: anime 40s linear 0s infinite;
  animation: anime 40s linear 0s infinite;
}
.sample li:nth-child(1) {
  background-image: url("../img/bg-01.png"); /* 背景画像 */
}
.sample li:nth-child(2) {
  background-image: url("../img/DSC_0453.png");
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}
.sample li:nth-child(3) {
  background-image: url("../img/bg-03.png");
  -webkit-animation-delay: 20s;
  animation-delay: 20s;
}
.sample li:nth-child(4) {
  background-image: url("../img/bg-04.png");
  -webkit-animation-delay: 30s;
  animation-delay: 30s;
}
@-webkit-keyframes anime {
  0% {
    -webkit-animation-timing-function: ease-in;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  40% {
    -webkit-animation-timing-function: ease-out;
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0
  }
}
@keyframes anime {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
  }
  10% {
    transform: scale(1.1);
    opacity: 1;
  }
  40% {
    transform: scale(1.2);
    animation-timing-function: ease-out;
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    opacity: 0
  }
}

/*=== タイトル文字のアニメーション ===*/
.blur {
  animation-name: blurAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
}
@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }
  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}
.blurTrigger {
  opacity: 0;
}

/*=== トップ画面の見出し ===*/
#animation {
  font-weight: bold;
}

.fadeInDown {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  visibility: visible !important;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.TextRandomAnime span{
	opacity: 0;
}

.TextRandomAnime.appearRandomtext span{ 
	animation:text_randomanime_on 1.0s ease-out forwards;
}

/*アニメーションで透過を0から1に変化させる*/
@keyframes text_randomanime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

.TextRandomAnime.appearRandomtext span:nth-child(2n) {
	animation-delay: 1.0s;
}
.TextRandomAnime.appearRandomtext span:nth-child(3n+1) {
	animation-delay: 2.0s;
}

/*=== LoadingのためのCSS ===*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 99999;
	text-align:center;
	color:#fff;
}

#splash_text {
	position: absolute;
	top: 50%;
	left: 50%;
    z-index: 999;
	transform: translate(-50%, -50%);
	color: #fff;
	width: 100%;
}

/*割れる画面のアニメーション*/
.loader_cover {
    width: 100%;
    height: 50%;
    background-color: #000;
    transition: all .8s cubic-bezier(.04, .435, .315, .9);
    transform: scaleY(1);
}

.loader_cover-up {
    transform-origin: center top;
}

.loader_cover-down {
    position: absolute;
    bottom: 0;
    transform-origin: center bottom;
}

.coveranime {
    transform: scaleY(0);
}