@charset "utf-8";

body {
  font-family: dnp-shuei-gothic-gin-std, roboto, sans-serif;
}

header {
  width: 100%;
  height: 100dvh;
  background-image: url("../images/fv.png");
  background-size: cover;
  background-position: left;
  background-attachment: fixed;
}

header .nav_pc {
  padding: 3% 3% 0 0;
}

header h1 {
  margin-left: 30px;
}

header img {
  width: 200px;
}

.nav_header ul li a {
  text-decoration: none;
  color: #272727;
  margin-left: 50px;
}

.hover_tate a:hover{
  background-image: url(../images/hover_tate.jpg);
  background-size: cover;
}

/* ===========HOVER=========== */

.nav_header li a:not(.contact) {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.nav_header li a:not(.contact)::after {
  position: absolute;
  top: 0;
  bottom: -4px;
  right: 0;
  content: '';
  width: 0.5px;
  height: 100%;
  background: #272727;
  transform: scale(1, 0);
  transform-origin: center top;
  transition: transform .3s;
}

.nav_header li a:not(.contact):hover::after {
  transform: scale(1, 1);
}

/* メニュー右から */
.fadeRight {
  animation-name: fadeRightAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* TOP画像上から     */
.fadeDown {
  animation-name: fadeDownAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
  animation-delay: 1s;
}

@keyframes fadeDownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*------縦線が動いてスクロールを促す-----*/
/*スクロールダウン全体の場所*/
header{
  position: relative;
}

.scrolldown1 {
  position: absolute;
  left: 50%;
  bottom: 10px;
  /*全体の高さ*/
  height: 50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: 2px;
  top: -63px;
  /*テキストの形状*/
  color: #272727;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  right: -11px;
  /*線の形状*/
  width: 0.5px;
  height: 40px;
  background: #272727;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 2s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 40px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 60px;
    opacity: 0;
  }
}

/* ------メイン------ */

main {
  position: relative;
  line-height: normal;
}

.logo_small {
  width: 110px;
  position: absolute;
  top: 25px;
}

#container h2 {
  border-top: 0.5px solid #272727;
  border-bottom: 0.5px solid #272727;
}

.catchphrase {
  margin: auto;
  text-align: center;
}

.catchphrase_sentence {
  margin-bottom: 20px;
}

.catchphrase_last {
  margin-top: 50px;
}

h3 {
  margin-top: 15%;
  font-weight: 400;
}

.flex {
  display: flex;
}

/* ------Works------ */

.workslist {
  width: 100%;
  height: auto;
}

.top_works_list {
  padding: 0 5%;
  margin-bottom: 100px;
  box-sizing: border-box;
}

.top_works_left {
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
}

.top_works_img {
  width: 80%;
}

video {
  width: 20%;
}

.shinshiro_video{
  width: 30%;
}
.sp {
  width: 25%;
}

.rakugiji_video {
  width: 23%;
}

.top_works_description {
  text-align: left;
}

.top_works_right>p {
  margin-bottom: 10px;

}

.top_work_title {
  margin: 5px 0 3px 0;
  font-weight: 400;
}

.discription {
  font-weight: 100;
}

/* -----バナー箇所----- */
.banner {
  justify-content: space-around;
  width: 100%;
  align-items: flex-end;
  margin-right: auto;
}
.banner_tate{
  width: auto;
  height: 350px;
}
.banner_tate_img {
  width: auto;
  max-height: 100%;
}

.banner_tate_img:not(:last-child) {
  margin-right: 10%;
}

.banner_yoko{
  width: 100%;
}
.banner_yoko_img {
  width: 92%;
}

/* -----About----- */
.about_flex {
  display: flex;
  padding: 0 5%;
}

.about_img {
  width: 35%;
}

.about_right {
  margin: auto;
  width: 50%;
}

.name {
  font-size: 20px;
}

.name_english {
  margin: 0 0 0 10px;
}

.top_about_link {
  margin-top: 20px;
}

/* ------Contact------ */

.top_contact_text {
  font-size: 16px;
  margin-bottom: 15px;
}

#container a {
  display: block;
  text-decoration: none;
}

.top_contact{
  width: 100%;
  height: 100vh;
  margin-bottom: 100px;
}

.mail {
  display: block;
  margin-top: 30px;
  color: #272727;
  font-size: 24px;
  font-weight: 400;
}

.yajirushi{
  font-family: sans-serif;
  display: inline-block;
  transform: rotate(-45deg);
  align-self: flex-end;
}

.button-09 a {
  font-size: 12px;
  letter-spacing: 0.07em;
  color: #272727;
  font-weight: 400;
  border: solid 1px #272727;
  border-radius: 999px;
  display: block;
  box-sizing: border-box;
  max-width: 100px;
  text-align: center;
  padding: 4px 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.button-09 a:hover {
  color: #ffffff;
  background: #272727;
  transition: all 0.3s;
}

/* -----1023px以下に適用されるCSS（タブレット用）----- */
@media screen and (max-width: 1024px) {
  header {
    height: 100dvh;
    background-image: url("../images/FV_1024.png");
  }

  .scrolldown1 {
    bottom: 15%;
  }

  header img {
    width: 180px;
  }

  .banner_tate{
    width: auto;
    height: 300px;
  }
  .top_work_title {
    font-size: 14px;
    letter-spacing: 0.1em;
  }
  
  .top_contact{
    height: 80vh;
    margin-bottom: 0;
  }
  
  .contact_02 a{
    padding: 5px 5px;
    max-width: 90px;
  }
}


/* -----767px以下に適用されるCSS（スマホ用）----- */
@media screen and (max-width: 767px) {

  header{
    background-image: url(../images/fv_sp02.png);
    background-repeat: no-repeat;
    background-size: auto 100vh;
    background-position: 0 0;
  }
  header h1{
    margin-left: 3%;
  }

/* ------Works------ */
.top_works_list {
  padding: 0;
}

.top_works_img {
  width: 100%;
  text-align: center;
}

.banner_yoko{
  margin-right: 0;
}
video {
  width: 100%;
  margin-top: 20px;
  margin-left: 0;
}
.rakugiji_video {
  width: 100%;
}
.sp {
  width: 100%;
}
.top_works_list{
  margin-bottom: 80px;
}
.banner_box{
  margin-bottom: 80px;
}
.banner_yoko_img {
  width: 100%;
  margin: auto;
}

.top_works_description {
  text-align: center;
  width: 100%;
}
.button-09_sp{
  width: 100%;
  margin: 0 auto;
  margin-top: 20px;
}

.dessert,.hanko{
  width: 100%;
  margin: 0 auto;
}

/* ------about------ */
.about_flex{
  display: block;
  padding: 0;
  width: 100%;
  text-align: center;
}
.about_img{
  width: 80%;
  margin-bottom: 20px;
}
.about_right{
  width: 90%;
  text-align: left;
}


}