body {
  font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #333;
  background-image: url("../img/background_img.png");
  background-size: 100%;
  background-repeat: repeat-y;
  background-attachment: fixed;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}



.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
}

.section {
  padding: 90px 0;
}

.section:nth-of-type(even) {
  background-color: rgba(255,255,200,0.5);
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media screen and (max-width: 500px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

.title-mini {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

.title-mini2 {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-top: 80px;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
}

.header.change-color {
  background-color: #ffffffcd; /*スクロールしたあとのヘッダー背景色*/
  transition: 0.3s;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  padding: 0 80px;
}

.header-logo {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
  text-shadow:0.5px 0.5px 0 #FFF, -0.5px -0.5px 0 #FFF,
              -0.5px 0.5px 0 #FFF, 0.5px -0.5px 0 #FFF,
              0px 0.5px 0 #FFF,  0 -0.5px 0 #FFF,
              -0.5px 0 0 #FFF, 0.5px 0 0 #FFF;
}

.header-logo a {
  color: #333;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}
.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}

.gnav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.visual {
	position: relative;
	width: 100%;
	height: 100vh;
}
.movie {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -100;
}
.movie video {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: auto;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%,-50%);
}

.scroll {
  padding-top: 90vh;
  position: relative;
  text-align:center;
}

@media screen and (max-width: 767px) {
  .scroll {
    padding-top: 75vh;
  }
}

.scroll::before {
  animation: scroll 1.5s infinite;
  display: inline-block;
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-bottom: solid 1px #ffffff;
  border-left: solid 1px #ffffff;
  transform: rotate(-45deg);
  right: 0;
  left: 0;
  margin: auto;
}

@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  
  40% {
    opacity: 1;
  }
  
  80% {
    transform: rotate(-45deg) translate(-30px, 30px);
    opacity: 0;
  }
  
  100% {
    opacity: 0;
  }
}

.scroll-text {
  color: #ffffff;
  font-size: 20px;
  text-shadow: #00000080 -1px 1px 5px, #00000080 1px -1px 5px;
}

/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.works-item {
  width: 49%;
  margin-right: 2%;
  margin-bottom: 40px;
  color: #333;
}

.works-item:hover {
  opacity: .9;
}

.works-item:nth-of-type(2n) {
  margin-right: 0;
}


.works-list2 {
  margin: 0 auto;
  width: 100%;
}

.works-item2 {
  margin-bottom: 40px;
  color: #333;
}

.works-video iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 3px;
}

.works-info {
  font-size: 10px;
  margin-top: 5px;
}

.works-genre {
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  margin-top: 60px;
  margin-bottom: 25px;
  text-align: left;
  letter-spacing: .05em;
  color: #333;
}

/*--------------------------------
 topping
---------------------------------*/
.topping-list {
  margin-bottom: -50px;
}

.topping-body table {
  width: 70%;
  padding-left: 28%;
  padding-bottom: 15px;
}

.topping-body th {
  text-align: left;
}

.topping-body td {
  text-align: right;
}

.topping-text {
  font-size: 14px;
  line-height: 1.8;
}

.topping-explanation {
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}


/*--------------------------------
 Skill
---------------------------------*/
.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  margin-bottom: 50px;
}

.skill-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.skill-body {
  flex: 1;
}

.skill-name {
  margin-bottom: 10px;
}

.skill-text {
  font-size: 14px;
  line-height: 1.8;
}

/*--------------------------------
 comparison
---------------------------------*/
/* table01 */
#table01 {
  width: 50vw;
  margin: 0 auto;
}

#table01 th, #table01 td {
  text-align: center;
  width: 20%;
  padding: 10px;
  height: 60px;
}

#table01 .plan01 {
  background-color: #ff5252;
  font-size: 1.2rem;
}
#table01 .plan02 {
  background-color: #ffa5a5;
  font-size: 1rem;
}
#table01 td {
  background-color: #e1e1e1;
  font-size: 1.5rem;
  font-weight: bold;
}

/* tab */
@media only screen and (max-width: 768px) {
  #table01 {
    width: 95vw;
    display: block;
    white-space: nowrap;
  }
  #table01 th, #table01 td {
    padding: 5px;
  }
  #table01 .plan01 {
    font-size: 3vw;
  }
  #table01 .plan02 {
    font-size: 2.5vw;
  }
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  text-align: center;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}
/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #4c4c4c;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #333;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 30px;
  text-align: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 1em;
}

.article-body h3:not(:first-child) {
  margin-top: 50px;
}

.article-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #333;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .title-mini {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .title-mini2 {
    font-size: 20px;
    margin-top: 60px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .wrapper {
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 10px;
  }

  .gnav-item a:after {
    display: none;
  }

  /*  メインビジュアル */
  .mv {
  }

  .mv-container {
  }

  .mv-title {
    font-size: 30px;
  }
  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .mv-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .mv-img {
    width: 100%;
    padding-top: 0;
    padding-bottom: 50vh;
  }

  /* Works */
  .works-name {
    font-size: 12px;
  }

  .works-info {
    margin-top: 3px;
  }

  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .works-genre {
    font-size: 22px;
    margin-top: 60px;
    margin-bottom: 25px;
  }

  /* topping */
  .topping-body table {
    width: 95%;
    padding-left: 5%;
  }
  
  .topping-name {
    font-size: 14px;
  }
  
  .topping-text {
    font-size: 12px;
  }
  
  .topping-explanation {
    font-size: 15px;
    margin-bottom: 25px;
  }

  /* Skill */
  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  .skill-name {
    margin-bottom: 5px;
  }

  .skill-text {
    font-size: 13px;
    line-height: 1.7;
  }

  /* About */
  .profile {
    display: block;
  }
  .profile-img {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .profile-body p {
    font-size: 14px;
    line-height: 1.7;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }

  /* 下層ページ */
  .article {
    padding: 50px 0;
  }

  .article-body h3 {
    font-size: 16px;
    padding-left: .8em;
  }

  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }

  .article-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
}


/*--------------------------------
 ナビメニュー関係
---------------------------------*/
/* 画面サイズが1279px以下の時はPC用メニューは非表示 */
@media screen and (max-width: 767px) {
  .pc-menu {
    display: none;
  }
}
/* 画面サイズが1280px以上の時はスマホ用メニューは非表示 */
@media screen and (min-width: 768px) {
  .sp-menu {
    display: none;
  }
}

/* 以下は前回までの内容 */
header {
  display: flex;
  height: 60px;
}
.main-menu {
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  padding-left: 50px;
}
.logo {
  text-align: center;
  padding: 18px;
  font-size: 24px;
  width: 200px;
  background: #dddddd;
}
.pc-menu {
  width: 100%;
}
.pc-menu > ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
}
.pc-menu > ul > li {
  text-align: center;
  padding: 0 10px
}
.pc-menu > ul > li > a {
  display: block;
  color: #000000;
  font-weight: bold;
  border-bottom: solid 1px black;
  box-shadow: 0px 1px 0px white;
  padding: 0px;
  text-shadow:0.5px 0.5px 0 #FFF, -0.5px -0.5px 0 #FFF,
              -0.5px 0.5px 0 #FFF, 0.5px -0.5px 0 #FFF,
              0px 0.5px 0 #FFF,  0 -0.5px 0 #FFF,
              -0.5px 0 0 #FFF, 0.5px 0 0 #FFF;
}
.pc-menu > ul > li > a:hover {
  background: #cccccc;
}
.sp-menu__box {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background: #e42a2a;
}
.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #ffffff;
  position: absolute;
}
.sp-menu__box span:before {
  bottom: 8px;
}
.sp-menu__box span:after {
  top: 8px;
}
#sp-menu__check {
  display: none;
}
#sp-menu__check:checked ~ .sp-menu__box span {
  background: rgba(255, 255, 255, 0);
}
#sp-menu__check:checked ~ .sp-menu__box span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#sp-menu__check:checked ~ .sp-menu__box span::after {
  top: 0;
  transform: rotate(-45deg);
}
#sp-menu__check:checked ~ .sp-menu__content {
  left: 0;
}
.sp-menu__content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  background-color: #e42a2a;
  transition: all 0.5s;
}
.sp-menu__list {
  padding: 70px 10px 0;
}
.sp-menu__item {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}
.sp-menu__link {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
}


/*--------------------------------
 テキスト装飾
---------------------------------*/
.works-genre {
  position: relative;
  padding: 12px 25px 10px 50px;
  background: #ffd9d9;
  color: #2d2d2d;
  font-size: 32px;
  font-weight: bold;
  margin-top: 60px;
  margin-bottom: 25px;
  margin-left: -15px;
  line-height: 1.3;
  border-bottom: solid 3px rgb(199, 0, 0);
  z-index:-2;
}
.works-genre:before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index: -1;
}

.works-genre:after {
  position: absolute;
  content: '';
  right: -3px;
  top: -7px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px transparent;
  border-bottom: solid 79px white;
  z-index: -1;
}

@media screen and (max-width: 767px) {
.works-genre {
  font-size: 22px;
}
}