@charset "UTF-8";
/*変数*/
/*color*/
/*font-size*/
/*font-family*/
/*----------------------------------------
--font weight--
IBM Plex Sans JP   400,500,600,700
Noto Sans JP   400,500,600,700
Josefin Sans   600
Lato   400,700,900  italic 400,700,900
Zen Antique Soft   400
------------------------------------------*/
/*line-height*/
/*------------------------ここから------------------------------*/
.wrapper {
  font-family: "Noto Sans JP", "メイリオ", "Yu Gothic", sans-serif;
  vertical-align: bottom;
  color: #333333;
  line-height: 1.6;
  box-sizing: border-box;
  overflow: hidden;
  font-size: clamp(14px, 0.83vw, 16px);
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333333;
}

img {
  width: 100%;
  vertical-align: bottom;
}

input[type=checkbox] {
  display: none;
}

.slide_r {
  transform: translateX(100%);
  opacity: 0;
}

.slide_l {
  transform: translateX(-100%);
  opacity: 0;
}

.slide {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.3s;
  transition: transform 0.4s ease-out, opacity 0.8s;
}

.fadeIn {
  opacity: 1;
  transition: 2s;
  transition-delay: 0.5s;
}

.fadeOut {
  opacity: 0;
}

.menu_hide {
  display: none;
}

.menu_show {
  display: block;
}

/*-----------------------写真用スライドアニメ-----------------------------*/
/* .imgSlideAnime {
    animation: slideAnime 0.8s ease;
}



@keyframes slideAnime {
    0% {
        transform: translateX(-100%);
    }

    80% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
} */
/*-----------------------Block Reveal Effects-----------------------------*/
.block-revealer__element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  pointer-events: none;
  opacity: 0;
}

/*---------------------------スマホ用------------------------------------*/
@media screen and (max-width: 520px) {
  .wrapper {
    overflow: hidden;
  }
}
/*変数*/
/*color*/
/*font-size*/
/*font-family*/
/*----------------------------------------
--font weight--
IBM Plex Sans JP   400,500,600,700
Noto Sans JP   400,500,600,700
Josefin Sans   600
Lato   400,700,900  italic 400,700,900
Zen Antique Soft   400
------------------------------------------*/
/*line-height*/
/*------------------------ここから------------------------------*/
footer {
  background-image: url(image/footer.jpg);
  background-color: transparent;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right top -10px;
  color: rgb(255, 255, 255);
  padding: 5% 0 2% 8%;
  margin: 0;
}
footer a {
  color: rgb(255, 255, 255);
}
footer .logo {
  width: clamp(300px, 20.833vw, 500px);
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: flex-end;
}
footer .logo a {
  display: block;
  width: 100%;
  height: 100%;
}
footer .logo a:hover {
  opacity: 0.8;
  transition: all 0.3s;
}
footer .logo p:nth-child(2) {
  padding-top: 1%;
}
footer nav {
  margin: 3% 0;
}
footer .toggle {
  display: flex;
  align-items: center;
  padding: 1% 0;
}
footer .label {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  padding-right: 2%;
  font-size: clamp(16px, 1.15vw, 22px);
}
footer .inner {
  display: flex;
  flex-wrap: wrap;
}
footer .inner li {
  width: 150px;
  text-align: center;
  padding: 0 2%;
  font-size: clamp(14px, 0.94vw, 18px);
}
footer .inner li.sp {
  display: none;
}
footer .inner li:not(:last-child) {
  position: relative;
}
footer .inner li:not(:last-child)::after {
  content: "|";
  position: absolute;
  top: 0;
  right: 0;
}
footer .inner a {
  display: inline-block;
  position: relative;
}
footer .inner a::after {
  content: "";
  height: 1px;
  width: 100%;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgb(255, 255, 255);
  transform: scale(0, 1);
  transform-origin: left bottom;
}
footer .inner a:hover::after {
  transform: scale(1, 1);
  transition: transform 0.3s;
}
footer .info_wrapper {
  display: flex;
}
footer .sns {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  -moz-column-gap: 2%;
       column-gap: 2%;
  text-align: center;
  padding-top: 5%;
  padding-right: 5%;
  border-right: solid 1px #555;
}
footer .sns p:nth-child(1) {
  grid-column: 2 span;
  font-size: clamp(16px, 1.15vw, 22px);
}
footer .sns p:not(:first-child) {
  width: 100%;
}
footer .sns a {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 3% 0;
  border: solid 1px rgb(255, 255, 255);
  border-radius: 6px;
}
footer .sns a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s;
}
font-size footer .sns a:active {
  background-color: rgb(53, 73, 112);
}
footer .sns a .fa-brands,
footer .sns a .fa-solid {
  display: block;
  font-size: 1.5rem;
}
footer .sns a .fa-solid {
  font-size: 1rem;
  color: #C8C8C8;
}
footer .sns a span {
  padding-right: 6px;
  padding-left: 2px;
  display: inline-block;
}
footer .info {
  padding-left: 5%;
  margin-top: 2%;
}
footer .info li {
  padding: 3px 0;
}
footer .info li:nth-child(1) {
  font-size: clamp(14px, 0.94vw, 18px);
}
footer .copy {
  text-align: center;
  margin-top: 5%;
  font-size: clamp(10px, 0.73vw, 16px);
}

/*---------------------------PC(小)用------------------------------------*/
@media screen and (max-width: 1200px) {
  footer {
    padding: 5% 0 2% 5%;
  }
  footer .label {
    padding-right: 3%;
  }
  footer .inner li {
    padding: 0 1rem;
  }
}
/*---------------------------タブレット用------------------------------------*/
@media screen and (max-width: 900px) {
  footer {
    background-image: none;
    background-color: #000;
    padding: 5% 0 2% 0;
  }
  footer .logo {
    margin: auto;
  }
  footer nav {
    margin: 8% 2%;
  }
  footer .toggle {
    display: block;
  }
  footer .label {
    padding: 3% 0 2% 5%;
    border-bottom: solid 1px #333333;
    display: block;
    position: relative;
    cursor: pointer;
  }
  footer .label::before {
    content: "";
    display: inline-block;
    background-color: rgb(255, 255, 255);
    position: absolute;
    bottom: 50%;
    right: 5%;
    width: 15px;
    height: 3px;
    transform: rotate(0deg) scale(1);
    opacity: 1;
    transition: all 0.3s;
  }
  footer .label::after {
    content: "";
    display: inline-block;
    background-color: rgb(255, 255, 255);
    position: absolute;
    bottom: 50%;
    right: 5%;
    width: 15px;
    height: 3px;
    transform: rotate(90deg) scale(1);
    transition: all 0.3s;
  }
  footer .close_icon::before {
    transform: rotate(-90deg) scale(0);
    opacity: 0;
    transition: all 0.3s;
  }
  footer .close_icon::after {
    transform: rotate(180deg) scale(0.9);
    transition: all 0.3s;
  }
  footer .footer_inner {
    display: none;
  }
  footer .inner li.sp {
    display: block;
  }
  footer .inner li {
    margin: initial;
    padding: initial;
    width: auto;
    position: relative;
  }
  footer .inner li:not(:last-child)::after {
    content: "";
    display: block;
    width: 1.1vw;
    height: 1px;
    background-color: #8e8e8e;
    position: absolute;
    top: 55%;
    right: 20%;
    transform: rotate(45deg);
    transform-origin: bottom right;
  }
  footer .inner li::before {
    content: "";
    display: block;
    width: 6.67vw;
    height: 1px;
    background-color: #8e8e8e;
    position: absolute;
    top: 55%;
    right: 20%;
  }
  footer .inner li::after {
    content: "";
    display: block;
    width: 1.1vw;
    height: 1px;
    background-color: #8e8e8e;
    position: absolute;
    top: 55%;
    right: 20%;
    transform: rotate(45deg);
    transform-origin: bottom right;
  }
  footer .inner li:hover,
  footer .inner li:active {
    background-color: rgba(255, 255, 255, 0.3);
  }
  footer .inner a {
    padding: 2% 0 2% 15%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
  }
  footer .inner a::after {
    display: none;
  }
  footer .info_wrapper {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-bottom: 10%;
  }
  footer .sns {
    display: flex;
    flex-flow: column;
    padding: initial;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  footer .sns p {
    margin: 2% 0;
  }
  footer .sns p:not(:first-child) {
    width: clamp(160px, 26vw, 220px);
  }
  footer .info {
    margin: 5%;
  }
}
/*---------------------------スマホ用------------------------------------*/
@media screen and (max-width: 520px) {
  footer .logo {
    width: 50%;
    margin: auto;
  }
  footer .sns {
    margin: auto;
  }
  footer .sns p:nth-child(1) {
    font-size: 14px;
  }
  footer .sns a {
    border: solid 1px #555;
  }
  footer .info {
    padding: initial;
  }
  footer .info li {
    padding: initial;
  }
  footer .info li:nth-child(1) {
    padding-bottom: 1%;
  }
}
/*変数*/
/*color*/
/*font-size*/
/*font-family*/
/*----------------------------------------
--font weight--
IBM Plex Sans JP   400,500,600,700
Noto Sans JP   400,500,600,700
Josefin Sans   600
Lato   400,700,900  italic 400,700,900
Zen Antique Soft   400
------------------------------------------*/
/*line-height*/
/*-----------------------headerここから------------------------*/
* {
  box-sizing: border-box;
}

.bg_show::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background-image: url(image/main_page/top.jpg);
  background-size: cover;
  background-position: center bottom;
  content: "";
}

.bg_hide::before {
  background-image: none;
}

header {
  width: 100vw;
  height: 100vh;
}
header .sp {
  display: none;
}

#header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5%;
  position: relative;
}
#header h1 {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: flex-end;
  width: clamp(200px, 15.625vw, 350px);
  padding-left: 2%;
}
#header h1 a:hover {
  opacity: 0.8;
  transition: all 0.3s;
}
#header h1 > picture {
  padding-top: 1%;
}
#header .nav {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(4, 200px);
  grid-template-rows: 1fr;
}
#header .nav span {
  display: block;
}
#header .nav .en {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(15px, 0.93vw, 18px);
  padding: 3% 0;
}
#header .nav .jp {
  font-size: clamp(10px, 0.68vw, 13px);
}
#header .nav a {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 5% 0;
  color: rgb(255, 255, 255);
}
#header .nav a::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0, 1);
  transform-origin: left bottom;
  transition: transform 0.3s;
  z-index: -1;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.65);
}
#header .nav a:hover::after {
  transform: scale(1, 1);
  transition: transform 0.3s;
}
#header .nav a:hover {
  color: #333333;
}
#header .nav li {
  width: 200px;
  text-align: center;
  line-height: 1;
}
#header .drop_list {
  position: relative;
}
#header .drop_list:hover .has_child::after {
  transform: rotate(-135deg);
  transition: transform 0.3s;
}
#header .has_child {
  position: relative;
  z-index: 50;
}
#header .has_child::after {
  content: "";
  width: 5px;
  height: 5px;
  border-bottom: solid 2px rgb(255, 255, 255);
  border-right: solid 2px rgb(255, 255, 255);
  position: absolute;
  right: 5%;
  top: 40%;
  display: inline-block;
  transform: rotate(45deg);
  transition: transform 0.3s;
}
#header .inner {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 1;
  display: none;
}
#header .inner li {
  overflow: hidden;
}

.scroll_down {
  position: absolute;
  bottom: 5%;
  left: 85%;
  color: rgb(255, 255, 255);
  writing-mode: vertical-lr;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  border-right: solid 1px rgb(255, 255, 255);
  font-size: clamp(16px, 1.15vw, 24px);
  letter-spacing: 0.1em;
  padding: 1% 0;
  animation: scrollmove 1s ease-in-out infinite;
}
.scroll_down::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 1px;
  background-color: rgb(255, 255, 255);
  display: block;
  transform: rotate(135deg);
  transform-origin: right bottom;
}

@keyframes scrollmove {
  0% {
    bottom: 5%;
  }
  50% {
    bottom: 6%;
  }
  100% {
    bottom: 5%;
  }
}
/*--------------------------mainここから-------------------------*/
main {
  background-color: rgb(255, 255, 255);
}

#main_message {
  margin: 0 auto;
  position: relative;
}
#main_message .inner {
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: absolute;
  top: 15%;
  right: 5%;
  text-shadow: 0 0 1px rgb(255, 255, 255);
}
#main_message h2 {
  font-size: clamp(22px, 2.5vw, 60px);
  font-weight: 700;
  font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
}
#main_message h2 span {
  display: block;
}
#main_message h2 span span {
  display: inline;
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
#main_message .text {
  font-size: clamp(14px, 0.94vw, 20px);
  padding: 5% 5% 20% 5%;
  font-family: "Zen Antique Soft", serif;
}
#main_message .text p {
  padding: 0 1%;
  text-indent: 1rem;
}
#main_message .text p > span {
  display: inline;
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
#main_message .text p > span span {
  transform: rotate(90deg);
  padding-bottom: 18px;
  display: inline-block;
}

/*-----------------事業内容ここから--------------------*/
#business .message .index {
  margin: 5% 0 2% 0;
  padding: 15% 0 10% 0;
  background-image: url(image/main_page/business2.jpg);
  background-size: cover;
  background-position: center;
}
#business .message .index p {
  width: 44vw;
  text-align: right;
  color: rgb(255, 255, 255);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 42px);
  line-height: 1.4;
  padding-top: 1%;
  font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  letter-spacing: 0.2em;
}
#business .message .index p span {
  display: block;
}
#business .message h3 {
  width: 44vw;
  text-align: right;
  line-height: 1;
  color: rgb(255, 255, 255);
}
#business .message h3 span {
  display: block;
}
#business .message h3 span:nth-child(1) {
  font-family: "Lato", "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 3.1vw, 60px);
  border-bottom: solid 1px #009143;
}
#business .message h3 span:nth-child(2) {
  font-size: clamp(15px, 1.25vw, 24px);
  font-weight: 500;
  padding: 0.5% 0 0 0;
}
#business .message > p {
  width: clamp(880px, 80vw, 1400px);
  margin: 0 auto 3% auto;
}
#business .message > p span {
  display: block;
  padding: 0.5% 0;
}
#business .container_sp {
  display: none;
}
#business .sub_container {
  position: relative;
}
#business .sub_container .index {
  position: absolute;
  width: 40vw;
  top: 35%;
}
#business .sub_container .index h4 {
  font-size: clamp(16px, 1.25vw, 30px);
  font-weight: 700;
  border-bottom: solid 1px #333333;
  text-align: right;
}
#business .sub_container .index p {
  width: 70%;
  margin: 0 0% 0 auto;
  padding: 2%;
}
#business #sub_contents1 > p {
  width: 55%;
  margin: 0 0 0 auto;
}
#business #sub_contents2 .index {
  right: 0;
}
#business #sub_contents2 .index h4 {
  text-align: left;
}
#business #sub_contents2 .index p {
  margin: 0 auto 0 0;
}
#business #sub_contents2 .contents {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgb(255, 255, 255);
  width: 50%;
  margin: 0 auto 0 5%;
  padding: 5% 0;
}
#business #sub_contents2 .contents img {
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
#business #sub_contents2 .contents h5 {
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 1% 0;
  color: #2B59B2;
}
#business #sub_contents2 .contents .box {
  width: 28%;
  display: flex;
  flex-flow: column;
  align-items: center;
}
#business #sub_contents2 .contents .box:nth-child(2) div {
  order: -1;
}
#business #sub_contents2 .contents .box div {
  padding: 5%;
}
#business #sub_contents2 .contents .box div p {
  font-size: 14px;
}
#business #sub_contents3 .index {
  top: 25%;
}
#business #sub_contents3 .btn {
  width: 260px;
  margin: 10% 10% 0 auto;
  overflow: hidden;
  position: relative;
  padding: initial;
}
#business #sub_contents3 .btn:hover::before {
  transform: translateX(0%);
  transition: all 0.3s;
}
#business #sub_contents3 .btn::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #354970;
  transform: translateX(-100%);
  position: absolute;
  top: 0;
  left: 0;
}
#business #sub_contents3 .btn a {
  display: inline-block;
  border: solid 1px #333333;
  width: 100%;
  height: 100%;
  padding: 5% 0 5% 5%;
  position: relative;
}
#business #sub_contents3 .btn a:hover {
  color: rgb(255, 255, 255);
  transition: all 0.3s;
}
#business #sub_contents3 .btn a:hover::before {
  background-color: rgb(255, 255, 255);
}
#business #sub_contents3 .btn a:hover::after {
  background-color: rgb(255, 255, 255);
}
#business #sub_contents3 .btn a::before {
  content: "";
  width: 80px;
  height: 1px;
  background-color: #333333;
  position: absolute;
  top: 55%;
  right: 5%;
}
#business #sub_contents3 .btn a::after {
  content: "";
  width: 10px;
  height: 1px;
  background-color: #333333;
  position: absolute;
  top: 55%;
  right: 5%;
  transform: rotate(45deg);
  transform-origin: bottom right;
}
#business #sub_contents3 .contents {
  width: 35%;
  margin: 0 10% 0 auto;
}
#business #sub_contents3 .contents figcaption {
  color: #555555;
  margin-top: 2%;
}

/*------------------制作実績ここから---------------------*/
#works .index {
  padding: 15% 0 10% 0;
  background-image: url(image/main_page/works.jpg);
  background-size: cover;
  background-position: center;
  color: rgb(255, 255, 255);
  margin: 10% 0;
}
#works .index p {
  width: 44vw;
  text-align: right;
  margin-top: 5%;
  font-size: clamp(14px, 0.94vw, 18px);
}
#works h3 {
  width: 44vw;
  text-align: right;
  line-height: 1;
}
#works h3 span {
  display: block;
}
#works h3 span:nth-child(1) {
  font-family: "Lato", "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 3.1vw, 60px);
  border-bottom: solid 1px #009143;
}
#works h3 span:nth-child(2) {
  font-size: clamp(15px, 1.25vw, 24px);
  font-weight: 500;
  padding: 0.5% 0 0 0;
}
#works .box_wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  width: clamp(1142px, 70vw, 1400px);
  margin: 0 auto;
  -moz-column-gap: 30px;
       column-gap: 30px;
  row-gap: 30px;
}
#works .box_wrapper .box ul {
  font-size: clamp(14px, 0.83vw, 16px);
}
#works .box_wrapper .box ul li {
  padding: 3%;
}
#works .box_wrapper .box ul li:nth-child(2n+1) {
  background-color: #C8C8C8;
}
#works .box_wrapper .box ul li:nth-child(2n) {
  background-color: #EDEDED;
}
#works .box_wrapper .item {
  position: relative;
}
#works .box_wrapper .item_name {
  z-index: 2;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 5% 3%;
}
#works .box_wrapper h4 {
  color: #2B59B2;
  font-size: 24px;
  padding: 5% 0;
  font-weight: 700;
}
#works .box_wrapper .item_text {
  font-size: 18px;
}

/*------------------インスタここから--------------------*/
.insta_wrapper {
  padding: 10% 0;
  margin-top: 10%;
  background-color: #f0f0f0;
}

.instagram {
  display: inline-block;
  margin-left: 10%;
}
.instagram a {
  color: #333333;
  display: grid;
  grid-template-columns: 150px 300px;
  grid-template-rows: 1fr;
  align-items: center;
}
.instagram a:hover {
  opacity: 0.7;
  transition: color 0.3s;
}
.instagram a p:nth-child(2) {
  font-size: 110%;
}
.instagram a p:nth-child(2) span {
  font-family: "Lato", sans-serif;
}
.instagram a p:nth-child(2) i {
  font-size: 12px;
  margin-top: 5%;
  margin-left: 3%;
  color: #696969;
}

.insta_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 20px;
  width: 80%;
  list-style: none;
  margin: 0 auto;
}
.insta_list .list {
  border: solid 1px #C8C8C8;
  background-color: rgb(255, 255, 255);
  overflow: hidden;
}
.insta_list .list:hover {
  filter: brightness(60%);
  transition: all 0.3s;
}
.insta_list .list:hover img {
  transform: scale(1.05);
  transition: all 0.3s;
}
.insta_list P {
  margin: 3%;
}

.insta_list .list a p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 14px;
}

.insta_list .list a p span {
  font-size: 120%;
  color: #F9803B;
}

/*----------------------------PC(小)用-----------------------------------
-----------------------------------------------------------------------*/
@media screen and (max-width: 1200px) {
  .bg_hide::before {
    background-image: none;
  }
  #header {
    display: block;
    height: 70px;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgb(255, 255, 255);
    z-index: 30;
    border-bottom: solid 2px #009143;
    padding: initial;
  }
  #header h1 {
    margin-top: 1%;
    position: fixed;
  }
  #header #menu_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 90;
    border: none;
    cursor: pointer;
  }
  #header #menu_icon.menu_active {
    border: solid 1px rgb(255, 255, 255);
  }
  #header #menu_icon.menu_active span {
    background-color: transparent;
  }
  #header #menu_icon.menu_active span::before {
    transform: rotate(40deg);
    background-color: rgb(255, 255, 255);
    bottom: 0;
    transition: transform 0.1s;
  }
  #header #menu_icon.menu_active span::after {
    transform: rotate(-40deg);
    background-color: rgb(255, 255, 255);
    top: 0;
    transition: transform 0.1s;
  }
  #header #menu_icon span,
  #header #menu_icon span::before,
  #header #menu_icon span::after {
    content: "";
    width: 25px;
    height: 3px;
    background-color: #333333;
    display: block;
    position: absolute;
    border-radius: 3px;
  }
  #header #menu_icon span::before {
    bottom: 8px;
    left: 0;
    transform: rotate(0deg);
    transition: transform 0.1s;
  }
  #header #menu_icon span::after {
    top: 8px;
    left: 0;
    transform: rotate(0deg);
    transition: transform 0.1s;
  }
  #header .nav {
    background-color: rgba(53, 73, 112, 0.9);
    color: rgb(255, 255, 255);
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    padding: 8% 0 5% 8%;
    width: 50%;
  }
  #header .nav .en {
    font-size: 16px;
    padding: initial;
  }
  #header .nav .jp {
    font-size: 12px;
  }
  #header .nav a {
    color: rgb(255, 255, 255);
    width: 100%;
    height: 100%;
    display: block;
    padding: 2% 0 2% 5%;
  }
  #header .nav a::after {
    visibility: hidden;
  }
  #header .nav a:hover {
    background-color: rgba(255, 255, 255, 0.5);
  }
  #header .nav a:active {
    background-color: rgba(255, 255, 255, 0.5);
  }
  #header .nav li {
    text-align: left;
    width: auto;
  }
  #header .nav span {
    display: inline-block;
    padding: 0 1%;
  }
  #header .has_child {
    background-color: transparent;
  }
  #header .has_child::after {
    display: none;
  }
  #header .inner {
    position: static;
    background-color: transparent;
    opacity: 1;
    color: rgb(255, 255, 255);
    visibility: visible;
    margin-left: 20%;
    border-left: solid 1px rgb(255, 255, 255);
  }
  #header .header_list::after {
    display: none;
  }
  #business .message h3 {
    width: 65vw;
  }
  #business .message .index P {
    width: 65vw;
  }
  #business .sub_container .index p {
    width: 90%;
  }
  #works .index h3 {
    width: 65vw;
  }
  #works .index p {
    width: 65vw;
  }
  #works .box_wrapper {
    width: 96%;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    -moz-column-gap: 15px;
         column-gap: 15px;
    row-gap: 15px;
  }
  #works .box_wrapper h4 {
    font-size: 1rem;
  }
  #works .box_wrapper .item_text {
    font-size: 1rem;
  }
  #works .instagram {
    margin-left: 5%;
  }
  #works .instagram img {
    width: 100%;
  }
  #works .instagram a {
    grid-template-columns: 120px 260px;
  }
  #works .instagram a p:nth-child(2) {
    font-size: 1rem;
  }
  #works .insta_list {
    width: 90%;
  }
  #works .insta_list .list a p {
    font-size: 12px;
  }
}
/*-----------------------------タブレット用----------------------------------
---------------------------------------------------------------------------*/
@media screen and (max-width: 900px) {
  .bg_show::before {
    background-image: url(image/footer.jpg);
    background-position: right bottom;
    background-size: cover;
  }
  .bg_hide::before {
    background-image: none;
  }
  header .sp {
    position: absolute;
    top: 40%;
    left: 5%;
    z-index: 2;
    color: rgb(255, 255, 255);
    line-height: 1;
  }
  header .sp .jp {
    font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
    font-size: clamp(48px, 11.2vw, 80px);
    text-align: left;
  }
  header .sp .jp > span {
    display: block;
    margin: 3% 0;
  }
  header .sp .jp > span span {
    font-size: clamp(36px, 9.4vw, 72px);
  }
  header .sp .jp span:nth-child(2) {
    font-size: clamp(42px, 10.4vw, 76px);
  }
  header .sp .en {
    font-family: "Lato", sans-serif;
    font-size: clamp(20px, 3.9vw, 32px);
  }
  header .sp .en span {
    display: block;
  }
  header .sp .en span:nth-child(2) {
    display: inline-block;
  }
  #header {
    height: 63px;
    padding-top: initial;
  }
  #header #menu_icon {
    top: 5px;
    width: 50px;
    height: 50px;
  }
  #header .nav {
    width: 100%;
  }
  #header .nav a {
    padding: 2% 0 2% 5%;
  }
  #main_message {
    padding-top: 8%;
  }
  #main_message .text {
    padding: 0% 5% 10% 5%;
  }
  #business .message .index {
    padding: 18% 0 12% 0;
    margin: 5% 0;
  }
  #business .message > p {
    width: 90%;
  }
  #business .sub_container {
    position: static;
  }
  #business .sub_container .index {
    position: static;
    width: 100%;
  }
  #business .sub_container .index h4 {
    border-bottom: none;
    text-align: center;
    font-size: clamp(16px, 2.7vw, 24px);
    padding: 3%;
    position: relative;
    margin: 10% 0;
  }
  #business .sub_container .index h4::before {
    content: "";
    background-color: #333333;
    display: block;
    width: 7%;
    height: 1px;
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
  }
  #business .sub_container .index h4::after {
    content: "";
    background-color: #333333;
    display: block;
    width: 7%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  #business .sub_container .index p {
    width: 90%;
    margin: 0 auto;
    padding: 2% 0;
  }
  #business #sub_contents1 > p {
    width: 100%;
  }
  #business #sub_contents2 .index h4 {
    text-align: center;
  }
  #business #sub_contents2 .index p {
    margin: 0 auto;
  }
  #business #sub_contents2 .contents {
    width: 90%;
    margin: 0 5% 0 auto;
  }
  #business #sub_contents3 .btn {
    margin: 3% auto 10% auto;
  }
  #business #sub_contents3 .contents {
    width: 60%;
    margin: 0 auto;
  }
  #works .index {
    padding: 18% 0 12% 0;
  }
  #works .box_wrapper {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .instagram a {
    grid-template-columns: 100px 250px;
  }
  .instagram a p:nth-child(2) {
    font-size: 1rem;
  }
  .insta_list {
    width: 96%;
    -moz-column-gap: 8px;
         column-gap: 8px;
    row-gap: 8px;
  }
  .insta_list .list a p {
    font-size: 10px;
  }
}
/*---------------------------スマホ用------------------------------------
----------------------------------------------------------------------*/
/*-------------------------横向き---------------------------------*/
@media (orientation: landscape) and (max-width: 1000px) {
  #header .nav {
    width: 100%;
    padding: 0.5% 0;
  }
  #header .nav .en {
    padding: initial;
  }
  #header .nav a {
    padding: 0.6% 0 0.6% 5%;
  }
  #header .inner {
    margin-left: 10%;
  }
  header .sp {
    position: absolute;
    top: 27%;
    left: 5%;
    z-index: 2;
    color: rgb(255, 255, 255);
    line-height: 1;
  }
  header .sp .jp {
    font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
    font-size: clamp(48px, 11.2vw, 80px);
    text-align: left;
  }
  header .sp .jp > span {
    display: block;
    margin: 3% 0;
  }
  header .sp .jp > span span {
    font-size: clamp(36px, 9.4vw, 72px);
  }
  header .sp .en {
    font-family: "Lato", sans-serif;
    font-size: clamp(20px, 3.9vw, 32px);
  }
  header .sp .en span {
    display: block;
  }
  header .sp .en span:nth-child(2) {
    display: inline-block;
  }
}
@media screen and (max-width: 520px) {
  .bg_show::before {
    background: url(image/main_page/header_sp@2x.jpg) no-repeat;
    background-size: cover;
    background-position: right 30% bottom;
  }
  .bg_hide::before {
    background-image: none;
  }
  #header {
    height: 56px;
  }
  #header .nav {
    width: 100%;
    padding-top: 60px;
  }
  .scroll_down {
    font-size: 14px;
  }
  .scroll_down::after {
    width: 20px;
  }
  #main_message {
    background-image: url(image/main_page/monozukuri_small.jpg);
    background-size: cover;
    padding: 10% 2%;
  }
  #main_message .inner {
    padding: initial;
    display: flex;
    align-items: center;
    flex-flow: column;
    width: 100%;
    position: static;
  }
  #main_message h2 {
    line-height: 1.4;
    order: 1;
  }
  #main_message .text {
    writing-mode: horizontal-tb;
    padding: initial;
  }
  #main_message .text p {
    margin: 3% 0;
    text-indent: initial;
  }
  #main_message .text p > span span {
    transform: none;
    padding: initial;
    display: inline;
  }
  #main_message p img {
    display: none;
  }
  /*-----------------事業内容ここから--------------------*/
  #business .message {
    margin: 10% 0;
  }
  #business .message .index {
    background-image: none;
    padding: initial;
    margin: initial;
  }
  #business .message .index p {
    color: #333333;
    width: 100%;
    text-align: center;
    padding: initial;
    margin: 5% 0;
    font-weight: 600;
    font-size: 16px;
  }
  #business .message .index p span {
    display: block;
  }
  #business .message h3 {
    width: 100%;
    text-align: center;
    padding: 30% 0;
    background-image: url(image/main_page/business_sp.jpg);
    background-size: cover;
  }
  #business .message h3 span {
    padding: 1% 0;
  }
  #business .message h3 span:nth-child(1) {
    font-size: 225%;
    border-bottom: none;
  }
  #business .message h3 span:nth-child(2) {
    font-size: 14px;
    border-top: solid 1px rgb(255, 255, 255);
    display: inline-block;
    padding: 1% 0 0 0;
  }
  #business .container_sp {
    display: block;
    text-align: center;
    color: #333333;
  }
  #business .container_sp .inner {
    background-image: url(image/main_page/link6_sp.jpg);
    background-size: cover;
    background-position: center;
    padding: 20% 0;
  }
  #business .container_sp .title {
    font-weight: 600;
    font-size: clamp(30px, 8.1vw, 42px);
    line-height: 1;
    font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
    width: 70%;
    padding: 10% 2%;
    border: solid 5px rgb(255, 255, 255);
    margin: 0 auto;
    color: rgb(255, 255, 255);
  }
  #business .container_sp .title > span {
    display: block;
  }
  #business .container_sp .title > span > span {
    font-size: 76%;
  }
  #business .container_sp .title > span:nth-child(2) {
    font-size: clamp(22px, 5.8vw, 30px);
    padding: 10% 0 7% 0;
  }
  #business .container_sp .title > span:nth-child(3) {
    font-size: clamp(36px, 9.6vw, 50px);
  }
  #business .container_sp .title > span:nth-child(3)::first-letter {
    font-size: 130%;
    font-weight: 400;
  }
  #business .container_sp .tab {
    cursor: pointer;
    border-bottom: solid 1px #C8C8C8;
    padding: 3% 0;
    background-color: rgb(255, 255, 255);
  }
  #business .container_sp .tab a {
    width: 100%;
    height: 100%;
    color: #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #business .container_sp .tab a > span:nth-child(1) {
    padding: 0 3%;
    font-size: clamp(18px, 4.6vw, 24px);
    font-weight: 500;
    font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  }
  #business .container_sp .tab a > span:nth-child(2) {
    color: #333333;
    font-size: clamp(14px, 3.1vw, 16px);
    font-weight: 700;
  }
  #business .container_sp .tab i {
    transform: rotate(90deg);
    transition: all 0.3s;
    font-size: clamp(14px, 3.8vw, 20px);
    padding: 0 5%;
  }
  #business .container_sp .rotate {
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
  }
  #business .container_sp .rotate i {
    transform: rotate(-90deg);
    transition: all 0.3s;
  }
  #business .sub_container_sp {
    display: none;
    padding: 5% 2%;
    margin: initial;
  }
  #business .sub_container_sp h4 {
    color: #333333;
    padding: 3% 0;
    position: relative;
    margin: 10% 0;
    font-size: 16px;
  }
  #business .sub_container_sp h4::before {
    content: "";
    background-color: #333333;
    display: block;
    width: 7%;
    height: 1px;
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
  }
  #business .sub_container_sp h4::after {
    content: "";
    background-color: #333333;
    display: block;
    width: 7%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  #business .sub_container_sp h4 span {
    display: inline;
  }
  #business .sub_container_sp .index p {
    margin: 0 0 5% 0;
    text-align: left;
    font-size: 14px;
  }
  #business #sub_contents_sp2 .contents {
    text-align: left;
  }
  #business #sub_contents_sp2 .contents img {
    aspect-ratio: 1/1;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 50%;
  }
  #business #sub_contents_sp2 .contents h5 {
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 1% 0;
    color: #2B59B2;
  }
  #business #sub_contents_sp2 .contents .box {
    width: 28%;
    display: flex;
    flex-flow: column;
  }
  #business #sub_contents_sp2 .contents .box:nth-child(2) div {
    order: -1;
  }
  #business #sub_contents_sp2 .contents .box div {
    padding: 5%;
  }
  #business #sub_contents_sp2 .contents .box div p {
    font-size: 14px;
  }
  #business #sub_contents_sp2 .contents .box {
    width: 100%;
    margin: 3% auto;
    flex-flow: row;
  }
  #business #sub_contents_sp2 .contents .box div {
    width: 100%;
    padding: 3%;
  }
  #business #sub_contents_sp3 .contents {
    width: 80%;
    margin: 0 auto;
  }
  #business #sub_contents_sp3 .contents figcaption {
    color: #696969;
    font-size: 10px;
  }
  #business #sub_contents_sp3 .contents p {
    margin: 10% auto;
    text-align: left;
  }
  #business #sub_contents_sp3 .btn {
    width: 260px;
    margin: 10% 10% 0 auto;
    overflow: hidden;
    position: relative;
    padding: initial;
  }
  #business #sub_contents_sp3 .btn:hover::before {
    transform: translateX(0%);
    transition: all 0.3s;
  }
  #business #sub_contents_sp3 .btn::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #354970;
    transform: translateX(-100%);
    position: absolute;
    top: 0;
    left: 0;
  }
  #business #sub_contents_sp3 .btn a {
    display: inline-block;
    border: solid 1px #333333;
    width: 100%;
    height: 100%;
    padding: 5% 0 5% 5%;
    position: relative;
  }
  #business #sub_contents_sp3 .btn a:hover {
    color: rgb(255, 255, 255);
    transition: all 0.3s;
  }
  #business #sub_contents_sp3 .btn a:hover::before {
    background-color: rgb(255, 255, 255);
  }
  #business #sub_contents_sp3 .btn a:hover::after {
    background-color: rgb(255, 255, 255);
  }
  #business #sub_contents_sp3 .btn a::before {
    content: "";
    width: 80px;
    height: 1px;
    background-color: #333333;
    position: absolute;
    top: 55%;
    right: 5%;
  }
  #business #sub_contents_sp3 .btn a::after {
    content: "";
    width: 10px;
    height: 1px;
    background-color: #333333;
    position: absolute;
    top: 55%;
    right: 5%;
    transform: rotate(45deg);
    transform-origin: bottom right;
  }
  #business .container_wrapper {
    display: none;
  }
  /*------------------制作実績ここから---------------------*/
  #works .index {
    background-image: none;
    padding: initial;
    margin: 0 auto;
  }
  #works .index h3 {
    width: 100%;
    background-image: url(image/main_page/works_sp.jpg);
    background-size: cover;
    padding: 35% 0 30% 0;
    text-align: center;
    line-height: 1;
  }
  #works .index h3 span {
    padding: 1% 0;
  }
  #works .index h3 span:nth-child(1) {
    font-size: 225%;
    border-bottom: none;
  }
  #works .index h3 span:nth-child(2) {
    font-size: 14px;
    border-top: solid 1px rgb(255, 255, 255);
    display: inline-block;
    padding: 1% 0 0 0;
  }
  #works .index p {
    text-align: left;
    width: 100%;
    color: #333333;
    padding: 0 2%;
    margin: 5% 0;
  }
  #works .box_wrapper {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    -moz-column-gap: 10px;
         column-gap: 10px;
    row-gap: 10px;
    width: 100%;
  }
  #works .box_wrapper .box ul {
    font-size: 10px;
  }
  #works .box_wrapper .box ul span {
    display: block;
  }
  #works .box_wrapper .item_name {
    padding: 0 3%;
  }
  #works .box_wrapper h4 {
    padding: 1% 0;
    font-size: 14px;
  }
  #works .box_wrapper .item_text {
    font-size: 14px;
  }
  .instagram a {
    grid-template-columns: 80px 220px;
  }
  .instagram a p:nth-child(1) {
    font-size: 14px;
  }
  .instagram a p:nth-child(1) i {
    font-size: 10px;
  }
  .instagram a p:nth-child(2) {
    font-size: 14px;
  }
  .insta_list {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
}/*# sourceMappingURL=main_page.css.map */