@charset "utf-8";

main p,
main span,
main ul,
main ul li,
main ol,
main ol li,
main dl,
main dldt,
main dl dd,
main table,
main table th,
main table td,
main figure {
  font-family: "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
}

.m-plus-1 {
  font-family: "M PLUS 1", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

body {
  max-width: 1140px;
  margin: 0 auto;
  background-color: #efefef;
  overflow-x: hidden;
}

div.content {
  margin-left: 10px;
  margin-right: 10px;
}

section {
  margin-top: 100px;
  margin-bottom: 150px;
}

img {
  width: 100%;
}

p {
  text-align: justify;
  margin-bottom: 10px;
}

div {
  margin-bottom: 30px;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 30px;
}

h1 {
  font-size: 6.5rem;
  color: #333333;
  line-height: 1.0;
  margin-top: 150px;
}

h1 span {
  font-size: 4rem;
}

h2 {
  font-size: 2.5em;
  color: #EBC02C;
  text-align: center;
}

h3 {
  font-size: 1.5em;
  color: #333;
  font-weight: bold;
  line-height: 1.4;
}

nav {
  position: fixed;
  max-width: 1140px;
  width: 100%;
  height: 80px;
  top: 0;
  z-index: 999;
  background-color: rgba(239, 239, 239, 0.8);
}

nav ul {
  font-size: 20px;
  font-weight: bold;
  margin: 30px auto;
  text-align: right;
}

nav li {
  display: inline-block;
  padding: 0 10px;
  margin-right: 10px;
}

nav a {
  display: block;
  width: 100%;
  text-decoration: none;
  color: #333;
  text-shadow: 1px 1px 0 #efefef, -1px -1px 0 #efefef, -1px 1px 0 #efefef, 1px -1px 0 #efefef, 1px 0 0 #efefef, -1px 0 0 #efefef, 0 1px 0 #efefef, 0 -1px 0 #efefef;
  padding-bottom: 5px;
  transition: 0.3s;
}

nav li.current {
  color: #EBC02C;
}

nav a:hover {
  color: #EBC02C;
}

.topMV {
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.top_arrow a {
  color: #333;
  position: fixed;
  bottom: 24px;
  right: 80px;
  text-decoration: none;
  display: block;
  width: 100px;
  padding: 16px 20px;
  text-align: right;
  transform: rotate(90deg);
  transform-origin: bottom right;
}

.arrow1 {
  width: 48px;
  height: 1px;
  background: #333;
  position: absolute;
  top: 50%;
  right: 62px;
}

.arrow2 {
  width: 1px;
  height: 12px;
  background: #333;
  position: absolute;
  top: calc(50% + 1px);
  right: 109px;
  transform: rotate(-130deg);
  transform-origin: top left;
}

.topMV h1 {
  width: 60%;
}

.topMV img {
  margin-top: 110px;
  width: 39%;
  height: auto;
}

.bg_yellow {
  background-color: #EBC02C;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
  padding-top: 50px;
  padding-bottom: 50px;
}

.about-updown {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about-updown li {
  width: calc((100% / 3) - 20px);
}

.about-num {
  font-size: 1.5em;
  text-align: center;
  color: #333;
  border-bottom: 2px solid #EBC02C;
}

/*topWORKSここから*/
.works_list {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.works_list a {
  width: calc((100% / 3) - 20px);
  margin-bottom: 50px;
}

.works_list a>div {
  width: 100%;
  margin: 0px;
  margin-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
}

.works_list::after {
  content: "";
  display: block;
  width: 30%;
}

.works_list a img {
  border-radius: 20px;
  transition: 0.5s;
}

.works_list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.works_list li {
  padding: 3px 15px 1px;
  margin-right: 10px;
  margin-bottom: 10px;
  border: 1px solid #EBC02C;
  border-radius: 30px;
  font-size: 14px;
}

.works_list h3 {
  margin-bottom: 20px;
  font-size: 1.25em;
}

.works_list a img:hover {
  transform: scale(1.15, 1.15);
  opacity: 0.6;
}

.contact {
  text-align: center;
  height: 250px;
  background-image: url("/image/contact_01.png");
  background-repeat: no-repeat;
  background-position: 100% 0%;
  background-size: contain;
}

.contact a {
  position: relative;
  font-size: 20px;
  color: #333;
  transition: 0.3s;
}

.contact p {
  text-align: center;
  margin-top: 18px;
}

.contact a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #EBC02C;
  transition: all .3s;
  transform: scale(0, 1);
  transform-origin: left top;
}

.contact a:hover::after {
  transform: scale(1, 1);
}

section:last-of-type {
  margin-bottom: 0;
}

footer {
  text-align: center;
  background: #EBC02C;
  width: 100%;
}

.current a {
  color: #EBC02C;
}

.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.box {
  opacity: 0;
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*下位WORKSページここから*/
main.works_cnt {
  margin-top: 100px;
}

.works_cnt h1 {
  font-size: 2.5em;
  margin-top: 0;
  text-align: center;
  line-height: 1.6;
  font-family: "M PLUS 1", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.works_cnt h2 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: left;
}

.works_cnt h3 {
  font-size: 1.25em;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
  background: #EBC02C;
  padding: 5px 10px;
  border-radius: 20px;
}

.works_info {
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
}

.pc_design {
  margin-right: 60px;
  width: 334px;
}

.pc_design img,
.sp_design img {
  border: solid 1px #aaa;
}

.sp_design {
  margin-right: 60px;
  width: 87px;
}

.works_text {
  width: 544px;
}

.text_detail {
  margin-bottom: 30px;
  border: 2px solid #EBC02C;
  border-radius: 20px;
  padding: 30px 25px 30px 30px;
}

.works_text p {
  margin-bottom: 30px;
}

.works_text p:last-of-type {
  margin-bottom: 0;
}

ul.dot_list li {
  padding-left: 1.3em;
  text-indent: -1.3em;
  margin-bottom: 10px;
}

ul.dot_list li:before {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  background: #EBC02C;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 0.5em;
}

.longurl a {
  color: #333;
  transition: 0.3s;
  word-break: break-all;
}

.longurl a:hover {
  color: #EBC02C;
}

a.btn {
  display: block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  width: 120px;
  margin: auto;
  padding: 1rem 4rem;
  border: 2px solid #EBC02C;
  color: #EBC02C;
  border-radius: 100vh;
  transition: 0.5s;
}

a.btn:hover {
  color: #fff;
  background: #EBC02C;
}

.pc_design.saas {
  width: 50%;
}

/*SideJob*/
.side_job {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.side_job div {
  width: calc((100% / 2) - 20px);
}

.side_job img {
  width: 100%;
}

.side_job h4 {
  font-weight: bold;
  color: #EBC02C;
  margin-bottom: 10px;
}


/*レスポンシブ設定ここから*/

@media screen and (max-width: 1000px) {
  h1 {
    font-size: calc(100vw / 1000* 100);
  }

  h1 span {
    font-size: calc(100vw / 1000* 70);
  }

}

@media screen and (max-width: 800px) {
  .contact {
    background-position: 50% 80%;
    background-size: 33%;
  }

  .works_info {
    flex-wrap: wrap;
    margin-top: 80px;
  }

  .pc_design {
    width: 70%;
    margin: 0;
  }

  .sp_design {
    width: 25%;
    margin: 0;
  }

  .pc_design.saas {
    width: 100%;
  }

  .works_text {
    width: 100%;
    text-align: left;
    line-height: 1.3;
    margin-top: 60px;
  }

  .works_cnt {
    max-width: 500px;
    margin: 0 auto;
  }

  .works_cnt h1 {
    font-size: 1.5em;
  }

  .works_cnt h2 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
  }

  .works_cnt h3 {
    font-size: 1.25em;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    background: #EBC02C;
    padding: 5px 10px;
    border-radius: 20px;
  }
}

@media screen and (max-width: 550px) {
  nav ul {

    margin: 20px auto;
    text-align: center;
  }

  .topMV h1 {
    font-size: calc(100vw / 1000* 166);
    width: 100%;
    margin-top: 0;
  }

  .topMV h1 span {
    font-size: calc(100vw / 1000* 110);
  }

  .topMV img {
    width: 80%;
    margin-top: 0;
    margin: 0 auto;
  }

  .contact {
    background-position: 50% 80%;
    background-size: 45%;
  }

  .about-updown li {
    width: 100%;
  }

  .works_list a {
    width: 100%;
  }

  .side_job div {
    width: 100%;
  }
}