@charset "UTF-8";

/*
Theme Name : WEBSITE
Author: mimura
Description: corporate website
Version: 1.0
*/

/*=======================================================
Common
=======================================================*/
:root {
  --color_1: #fff;
  --color_2: #333; /*メイン文字*/
  --color_3: #e1ff00cc; /*透過イエロー*/
  --color_4: #00ffdd80; /*透過ブルー*/
  --color_5: #fafafa; /*背景グレー*/
  --color_6: #999999; /*グレー*/
  --color_7: #ccc; /*薄グレー*/
  --color_8: #e1ff00; /*イエロー*/
}

html {
  scroll-behavior: smooth;
  /* 計算：10px ÷ 14.4px(1440pxの1vw) = 0.69444 */
  font-size: calc(0.69444 * var(--vw));
}
@media screen and (min-width: 1600px) {
  html {
    font-size: 11.11px; /* これで 1rem が 11.11px に固定されます */
  }
}
@media screen and (max-width: 896px) {
  html {
    /* 計算：10px ÷ 8.95px(895pxの1vw) = 1.11731 */
    font-size: calc(1.11731 * var(--vw));
  }
}

@media screen and (max-width: 600px) {
  html {
    font-size: 62.5%; /* 10px相当で固定 */
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::-moz-selection {
  background: #e1ff00cc; /* Safari */
}

::selection {
  background: #e1ff00cc; /* Safari */
}
::-moz-selection {
  background: #e1ff00cc; /* Firefox */
}

body {
  position: relative;
  font-family:
    "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",
    sans-serif;
  font-size: 1.6rem;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color_2);
  overflow: clip;
}

@media screen and (max-width: 600px) {
  body {
    font-size: 1.4rem;
  }
}

body p {
  text-align: justify;
}

body img.scaled-image {
  border: none;
  margin: 0;
}

.inner__1600 {
  width: 100%;
  max-width: 1600px;
  padding: 0 25px;
  margin: auto;
}

/*inner__1600内の幅90%制御*/
.content__wrap {
  width: 90%;
  margin: auto;
}

@media screen and (max-width: 896px) {
  .content__wrap {
    width: 96%;
  }
}
@media screen and (max-width: 600px) {
  .content__wrap {
    width: 100%;
  }
}
/*h2共通*/
.content__head {
  margin-bottom: 4rem;
}
.content__ttl {
  display: flex;
  align-items: baseline;
}
.content__ttl-big {
  font-size: 2.4rem;
}

.content__subTtl {
  position: relative;
  margin-left: 1.5em;
  padding: 0 0.8em;
}
.content__subTtl::before,
.content__subTtl::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.5em;
  height: 2px;
  background-color: var(--color_2);
}
.content__subTtl::before {
  left: 0;
}
.content__subTtl::after {
  right: 0;
}
@media screen and (max-width: 600px) {
  .content__ttl {
    flex-direction: column;
  }
  .content__ttl-big {
    font-size: 2.2rem;
  }
  .content__subTtl {
    margin-left: 0;
  }
}

/*共通リンクボタン*/
.link__btn {
  display: inline-block;
  width: 13em;
  margin-top: 1.5rem;
  font-family: "M PLUS 1", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.link__btn a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: left;
  width: 100%;
  height: 4.6rem;
  padding: 0 1.5em;
  background-color: var(--color_1);
  border: var(--color_2) 2px solid;
  border-radius: 50px;
  -webkit-filter: drop-shadow(0 3px 0 var(--color_2));
  filter: drop-shadow(0 3px 0 var(--color_2));
  transition: 0.1s;
  text-decoration: none;
}

.link__btn p {
  margin: 0;
  padding: 0;
  line-height: 1;
}
.link__btn a::before {
  content: "＞";
  position: absolute;
  top: 50%;
  right: 0.5em;
  font-weight: 900;
  transform: translateY(-50%);
  transition: 0.1s;
}

.link__btn a:hover,
.link__btn a:focus,
.link__btn a:active {
  /*
  background-color: #e1ff00;*/
  -webkit-filter: drop-shadow(0 0.5px 0 var(--color_2));
  filter: drop-shadow(0 0.5px 0 var(--color_2));
  transform: translateY(2.5px);
  opacity: 0.5;
  transition: 0.2s;
}
.link__btn a:hover::before,
.link__btn a:focus::before,
.link__btn a:active::before {
  right: 0.4em;
  transition: 0.2s;
}

@media screen and (min-width: 1600px) {
}

/*英字フォント指定*/
.f-b {
  font-family: "Bruno Ace", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.f-m {
  font-family: "M PLUS 1", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/*=======================================================
Header
=======================================================*/
#header {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 70px;
  padding: 0 30px;
  align-content: center;
  line-height: 1em;
  background-color: #ffffff03;
  border-top: solid 1px;
  border-top-color: #ffffff05;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 5000;
}

.header__logo {
  width: 15%;
  max-width: 300px;
  min-width: 180px;
  height: auto;
  align-content: center;
  transition: 0.3s;
}
#header .header__logo:hover {
  opacity: 0.6;
  transition: 0.3s;
}
.header__logo a {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 1600px) {
  #header {
    height: 100px;
  }
}

@media screen and (max-width: 896px) {
  #header {
    height: 60px;
  }
}

@media screen and (max-width: 600px) {
  #header {
    padding: 0 16px;
  }
  .header__logo {
    min-width: 145px;
  }
}

/*=======================================================
Toggle
=======================================================*/
#toggle {
  display: block;
}

#toggle__btn {
  position: relative;
  width: 10em;
  padding: 0.6em 1.5em;
  background-color: var(--color_1);
  border: var(--color_2) 2px solid;
  border-radius: 50px;
  -webkit-filter: drop-shadow(0 3px 0 var(--color_2));
  filter: drop-shadow(0 3px 0 var(--color_2));
  transition: 0.1s;
}
#toggle__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-65%);
  width: 10%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: var(--color_2) 0.14vw solid;
  border-radius: 50%;
}
#toggle__btn::after {
  content: "";
  position: absolute;
  top: 63%;
  right: 0.75em;
  width: 5%;
  height: 0.14vw;
  background-color: var(--color_2);
  transform: rotate(45deg);
}

#toggle__btn p {
  font-size: 1.6rem;
}
#toggle__btn p.close {
  display: none;
}

#toggle__btn:hover {
  transform: translateY(2.5px);
  -webkit-filter: drop-shadow(0 0.5px 0 var(--color_2));
  filter: drop-shadow(0 0.5px 0 var(--color_2));
  transition: 0.2s;
}
/*メニュー展開時*/
body.toggle__open #toggle__btn p.menu {
  display: none;
}
body.toggle__open #toggle__btn p.close {
  display: block;
}
body.toggle__open #toggle__btn::before {
  border: none;
  border-radius: 0;
  background-color: var(--color_2);
  top: 1.1em;
  right: 0.6em;
  width: 1.5em;
  height: 0.14vw;
  transform: rotate(-45deg);
  transition: 0.3s;
}
body.toggle__open #toggle__btn::after {
  top: 1.1em;
  right: 0.6em;
  width: 1.5em;
  transition: 0.5s;
}

.toggle__wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 75rem;
  padding: 0 0 5rem;
  background: linear-gradient(#e1ff00e6, #e1ff00e6, var(--color_4));
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease-out;
  z-index: 3000;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.toggle__wrap::-webkit-scrollbar {
  display: none;
}

body.toggle__open {
  overflow: hidden;
  height: 100vh; /* iOS対策 */
}

body.toggle__open .toggle__wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.toggle__wrap .inner__1600 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 8rem;
  overflow-y: auto;
}

.tgl-logo__area {
  width: 30%;
  max-width: 70rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tgl-logo__main {
  width: 70%;
  margin: 0 auto;
}
.tgl-logo__sub {
  text-align: center;
}

.toggle-nav {
  position: relative;
  width: 60%;
  padding: 2.4rem 3.2rem 8rem;
  background-color: var(--color_1);
  border-radius: 20px;
  border: var(--color_2) 2px solid;
}

.tgl-nav__main {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin-bottom: 1.6rem;
  padding: 0.5em 1em;
}
.tgl-nav__main:last-of-type {
  margin-bottom: 0;
}

.tgl-nav__main a,
.tgl-nav__sub a {
  position: relative;
  display: block;
  width: 100%;
}

.tgl-nav__main > a {
  position: relative;
  padding: 0.5em 0;
  transition: 0.2s;
}
.tgl-nav__main > a:hover {
  padding-left: 1.2em;
  transition: 0.3s;
}
.tgl-nav__main > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.8em;
  height: 0.4em;
  border-left: var(--color_2) 2px solid;
  border-bottom: var(--color_2) 2px solid;
  transform: translateY(-50%) scale(0) rotate(-45deg);
  color: var(--color_3);
  transition: 0.2s;
}
.tgl-nav__main > a:hover::before {
  transform: translateY(-50%) scale(1) rotate(-45deg);
  transition: 0.1s;
  transition-delay: 0.2s;
}
.tgl-nav__main > a::after {
  content: "＞";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  color: #e6e6e6;
  transition: 0.2s;
}
.tgl-nav__main > a:hover::after {
  color: var(--color_2);
  transition: 0.5s;
}

.tgl-nav__main-service > a,
.tgl-nav__main-works > a,
.tgl-nav__main-contact > a {
  border-bottom: #e6e6e6 1px solid;
  transition: 0.2s;
}

.tgl-nav__sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  margin: 1rem 2rem 0;
}
.tgl-nav__sub > a {
  width: 100%;
  padding: 0.5em 1em;
  text-align: center;
  border: var(--color_2) 1px solid;
  border: #e6e6e6 1.5px solid;
  border-radius: 100px;
  font-size: 1.2rem;
}
.tgl-nav__sub > a:hover {
  color: var(--color_1);
  border: var(--color_2) 1px solid;
  background-color: var(--color_2);
  transition: 0.5s;
  opacity: 1;
}

.tgl-nav__shape {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: right;
  transform: scale(0.8);
}

.tgl-nav__shape .shape__item-circle {
  background-color: var(--color_4);
  border-radius: 50%;
  opacity: 1;
}

@media screen and (max-width: 896px) {
  #toggle__btn::before {
    border: var(--color_2) 2px solid;
  }
  #toggle__btn::after {
    height: 2px;
  }
  body.toggle__open #toggle__btn::before {
    height: 2px;
  }
  .toggle__wrap {
    height: 100dvh;
    padding: 0;
  }
  .toggle__wrap .inner__1600 {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 2rem 5rem 7rem;
    overflow-y: scroll;
  }
  .tgl-logo__area,
  .toggle-nav {
    width: 100%;
  }
  .tgl-logo__area {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
  .tgl-logo__main {
    width: 50%;
  }
  .tgl-nav__sub {
    margin: 1rem 0 0;
  }
}

@media screen and (max-width: 600px) {
  .toggle__wrap .inner__1600 {
    padding: 2rem 1.6rem 12rem;
  }
  .toggle-nav {
    padding: 2.4rem 2.4rem 8rem;
  }
  .tgl-nav__sub {
    grid-template-columns: repeat(2, 1fr);
  }
  .tgl-logo__area {
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 480px) {
  .toggle-nav {
    padding: 2.4rem 1.2rem 8rem;
  }
  .tgl-nav__sub > a {
    font-size: 1rem;
  }
}
@media screen and (max-width: 370px) {
  .tgl-nav__sub {
    grid-template-columns: repeat(1, 1fr);
  }
}

/*=======================================================
fixed banner
=======================================================*/
.fixed__banner {
  position: fixed;
  right: 0;
  top: 0;
  width: 8%;
  transform-origin: top right; /*
  transition: 0.3s;*/
  z-index: 50000;
  transform: translate(80%, -100%);
  opacity: 0;
  transition:
    transform 0.7s ease,
    opacity 0.7s ease;
}
.fixed__banner.is__visible {
  transform: translate(0, 0);
  opacity: 1;
}

.fixed__banner:hover,
.fixed__banner:focus,
.fixed__banner:active {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: scale(1.1);
  transition: 0.3s;
}

@media screen and (max-width: 896px) {
  .fixed__banner {
    width: 100px;
  }
}

@media screen and (max-width: 600px) {
}

/*=======================================================
parts logo-area
=======================================================*/
.logo__area {
  margin-bottom: 15rem;
  text-align: center;
}
.logo__area p {
  text-align: center;
  font-size: 1.3rem;
}
.logo__area p.logo__ttl {
  width: 10vw;
  margin: auto;
}
@media screen and (max-width: 896px) {
  .logo__area p.logo__ttl {
    width: 20%;
    min-width: 120px;
  }
}

@media screen and (max-width: 600px) {
}

/*=======================================================
parts page-head
=======================================================*/
#page-head {
  padding: 1.6rem;
  text-align: right;
}

#page-head p {
  display: inline;
  font-size: 1.4rem;
  color: var(--color_7);
}
#page-head p small {
  display: inline;
}

.page-head__flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 90%;
  margin: 16rem auto 4rem;
}

.page-ttl {
  position: relative;
  width: 100%;
  height: 10rem;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto 100%;
}
/*about*/
.page-id-10 .page-ttl {
  background-image: url(img/about-h1-bg.svg);
}
/*service*/
.page-id-12 .page-ttl {
  background-image: url(img/service-h1-bg.svg);
}
/*works*/
.post-type-archive-works .page-ttl {
  background-image: url(img/works-h1-bg.svg);
}
/*contact*/
.page-id-22 .page-ttl {
  background-image: url(img/contact-h1-bg.svg);
}
/*contact*/
.page-id-69 .page-ttl {
  background-image: url(img/privacy-h1-bg.svg);
}
/*404*/
.error404 .page-ttl {
  background-image: url(img/404-h1-bg.svg);
}

.page-ttl span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.breadcrumb p {
  white-space: nowrap;
  font-size: 1.3rem;
  color: var(--color_7);
}
.breadcrumb a:hover {
  opacity: 0.5;
}

@media screen and (max-width: 896px) {
  .page-head__flex {
    width: 100%;
  }
  .page-ttl {
    height: 8rem;
  }
}

@media screen and (max-width: 600px) {
  #page-head {
    padding: 1.6rem 0;
    text-align: right;
  }
  #page-head p {
    margin-right: 1.6rem;
  }
  .page-head__flex {
    flex-direction: column;
    align-items: stretch;
    margin: 8rem auto;
  }
  .page-ttl {
    width: 90%;
    min-width: 250px;
    margin-bottom: 4rem;
    background-size: 100% auto;
    background-size: contain;
  }
  .breadcrumb {
    margin: 0 0 0 auto;
  }
  .breadcrumb p {
    font-size: 1.2rem !important;
  }
}

/*制作実績詳細用*/
.page-head__flex.-desc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 90%;
  margin: 16rem auto 4rem;
  margin: 8rem auto 4rem;
}

.page-ttl.-desc {
  position: relative;
  width: 100%;
  height: auto;
  height: 5rem;
  background: none;
  text-align: right;
  color: var(--color_7);
}

.page-ttl.-desc span {
  position: relative;
  width: 100%;
  height: auto;
  margin-left: 1em;
  font-size: 3.2rem;
  overflow: visible;
  clip: none;
  color: var(--color_2);
}

.p-works__tags.-desc {
  position: relative;
  display: inline-block;
  margin: 1rem 0 3rem;
}
.p-works__tag-desc {
  position: relative;
  padding: 0 0.5em 0.2em;
}
.p-works__tag-desc.is-web {
  background-color: var(--color_3);
}
.p-works__tag-desc.is-graphic {
  background-color: #85ff1b80;
}
.p-works__tag-desc.is-logo {
  background-color: var(--color_4);
}

@media (max-width: 600px) {
  .page-ttl.-desc {
    min-width: auto;
    margin-bottom: 1rem;
    text-align: left;
  }
  .page-ttl.-desc span {
    display: block;
    margin-left: 0;
    font-size: 2rem;
    line-height: 1.4;
  }
  .p-works__tags.-desc {
    margin: 1rem auto 3rem 0;
  }
  body.single-works .breadcrumb a,
  body.single-works .breadcrumb span {
    font-size: 0.8rem;
  }
}

/*=======================================================
return up
=======================================================*/
#return_up {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 13px; /*
    right: 20px;*/
  right: 1.5%;
  padding: 0.8% 0.5%;
  transform: rotate(90deg);
  transform-origin: right top;
  color: var(--color_2);
  background-color: var(--color_1);
  -webkit-filter: drop-shadow(#efefef 0 2px 5px);
  filter: drop-shadow(#efefef 0 2px 5px);
  z-index: 800;
  transition-duration: 0.3s;
  pointer-events: none;
  transition-timing-function: ease-out;
}

#return_up.on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  bottom: 20px;
}

#return_up.on:hover {
  bottom: 15px;
  -webkit-filter: none;
  filter: none;
  transition: 0.3s;
}

@media screen and (max-width: 480px) {
  #return_up {
    right: 2px;
    bottom: 0;
    padding: 1% 2%;
  }
  #return_up.on {
    bottom: 5px;
  }

  #return_up.on:hover {
    bottom: 0;
  }
}

/*=======================================================
parts Partner
=======================================================*/
#f-partner {
  padding: 10rem 0 0;
}

.partner__flex {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  width: 96%;
  margin: auto;
  padding: 8rem 5%;
  border-top: var(--color_6) 1px solid;
}

.partner__txt {
  width: 59%;
  line-height: 2;
}
.partner__ttl {
  margin-bottom: 4rem;
  font-size: 2rem;
  font-weight: 600;
}
.partner__ttl .br__sp {
  display: none;
}

.partner__visual {
  position: relative;
  width: 20%;
  aspect-ratio: 1 / 1;
}
.partner__visual::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 0.9;
  background-color: var(--color_3);
  -webkit-clip-path: polygon(50% 0, 100% 100%, 0 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

@media screen and (max-width: 896px) {
  .partner__flex {
    align-items: flex-end;
  }
  .partner__ttl {
    margin-bottom: 5rem;
    white-space: nowrap;
  }
  .partner__visual {
    width: 18rem;
  }
}

@media screen and (max-width: 600px) {
  #f-partner {
    padding: 4rem 0 0;
  }
  .partner__flex {
    display: block;
    width: 100%;
    padding: 4rem 0;
  }
  .partner__txt {
    width: 100%;
    line-height: inherit;
  }
  .partner__ttl {
    margin-bottom: 2.4rem;
    font-size: 1.8rem;
    white-space: inherit;
  }
  .partner__ttl .br__sp {
    display: block;
  }
  .partner__desc {
    margin-bottom: 4rem;
  }
  .partner__visual {
    margin: auto 20% auto auto;
  }
}
@media screen and (max-width: 350px) {
  .partner__ttl {
    font-size: 1.6rem;
  }
}

/*=======================================================
f-cta
=======================================================*/
#f-cta {
  padding: 8rem 0;
  background-color: var(--color_3);
}

.f-cta__flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.f-cta__head {
  display: flex;
  font-size: 2rem;
}

.f-cta__head span:first-of-type {
  margin: auto 1em 0 0;
}
.f-cta__head span:last-of-type {
  margin: auto 0 0 1em;
}

.f-cta__head br {
  display: none;
}

.f-cta__btn {
  display: inline-block;
  width: 20em;
  margin-top: 0.5em;
  font-size: 3.2rem;
}

.f-cta__btn a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.6em 1.5em;
  align-content: center;
  background-color: var(--color_1);
  border: var(--color_2) 2px solid;
  border-radius: 50px;
  -webkit-filter: drop-shadow(0 3px 0 var(--color_2));
  filter: drop-shadow(0 3px 0 var(--color_2));
  transition: 0.1s;
}
.f-cta__btn a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-65%);
  width: 5%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: var(--color_2) 3px solid;
  border-radius: 50%;
}
.f-cta__btn a::after {
  content: "";
  position: absolute;
  top: 63%;
  right: 0.7em;
  width: 3%;
  height: 0.13vw;
  height: 2.5px;
  background-color: var(--color_2);
  transform: rotate(45deg);
}

.f-cta__btn a:hover,
.f-cta__btn a:focus,
.f-cta__btn a:active {
  -webkit-filter: drop-shadow(0 0.5px 0 var(--color_2));
  filter: drop-shadow(0 0.5px 0 var(--color_2));
  transform: translateY(2.5px);
  opacity: 0.8;
  transition: 0.2s;
}

.f-cta__btn a p {
  width: 0;
  white-space: nowrap;
  line-height: 1.4;
  overflow: hidden;
  border-right: 1px solid var(--color_2);
}

.f-cta__btn a p.scroll-active {
  width: 14.8ch;
  -webkit-animation:
    typing 2s steps(8),
    typingEffect 0.5s step-end 2s infinite alternate;
  animation:
    typing 2s steps(8),
    typingEffect 0.5s step-end 2s infinite alternate;
}

@-webkit-keyframes typing {
  from {
    width: 0;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
}
@-webkit-keyframes typingEffect {
  50% {
    border-color: transparent;
  }
}
@keyframes typingEffect {
  50% {
    border-color: transparent;
  }
}

@media screen and (max-width: 896px) {
  .f-cta__btn a::before {
    width: 6%;
  }
}

@media screen and (max-width: 600px) {
  #f-cta {
    padding: 4rem 0;
  }
  .f-cta__head br {
    display: block;
  }
  .f-cta__btn {
    width: 14em;
    margin: 1em auto auto;
    font-size: 2rem;
  }
  .f-cta__btn a {
    padding: 0.6em 1em;
  }
  .f-cta__btn a::before {
    width: 8%;
    border: var(--color_2) 2px solid;
  }
  .f-cta__btn a::after {
    width: 4%;
    height: 2px;
  }
}

@media screen and (max-width: 350px) {
  .f-cta__btn {
    width: 13.5em;
    font-size: 1.8rem;
  }
}
/*=======================================================
Footer
=======================================================*/
#footer {
  margin-bottom: 70px;
  padding: 5rem 0;
  background-color: var(--color_5);
}

.f-logo__area {
  margin-bottom: 5rem !important;
}

.footer__flex {
  display: flex;
  justify-content: space-between;
  align-content: flex-end;
  padding: 0 5%;
}

.nav-left {
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  gap: 8rem;
  font-size: 1.4rem;
}

.f-nav__group a:hover {
  opacity: 0.5;
}

.f-nav__main-service a:last-child,
.f-nav__main-contact a:last-child {
  margin-bottom: 0;
}

.f-nav__main {
  margin-bottom: 4rem;
}
.f-nav__main:last-of-type {
  margin-bottom: 0;
}

.f-nav__main a,
.f-nav__sub a {
  position: relative;
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 2rem;
}

.f-nav__main a {
  z-index: 1;
}
.f-nav__main > a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 100%;
  height: 0.4em;
  background-color: var(--color_3);
  z-index: -1;
}

.f-nav__sub {
  display: flex;
  flex-direction: column;
}
.f-nav__sub a {
  margin-left: 0.5em;
  font-size: 1.2rem;
}

.f-right {
  display: flex;
  align-items: flex-end;
  justify-content: right;
}

.shape__item {
  width: 5rem;
  height: 5rem;
  background-color: var(--color_3);
}

.shape__item-triangle {
  margin-right: 1rem;
  -webkit-clip-path: polygon(50% 0, 100% 100%, 0 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.shape__item-circle {
  background-color: var(--color_4);
  border-radius: 50%;
  opacity: 0;
}
.f-right.scroll-active .shape__item-circle {
  -webkit-animation: circle-hanekoro 3s linear 1s forwards;
  animation: circle-hanekoro 3s linear 1s forwards;
}
@-webkit-keyframes circle-hanekoro {
  0%,
  15% {
    transform: translate(13rem, -40rem);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  /* 着地1 */
  30% {
    transform: translate(13rem, -4rem);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  34% {
    transform: translate(11rem, -8rem);
  }
  /* 跳ね1 TOP */
  38% {
    transform: translate(9rem, -10rem);
  }
  42% {
    transform: translate(8rem, -8rem);
  }
  /* 着地2 */
  48% {
    transform: translate(7rem, 0rem);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  51% {
    transform: translate(5.5rem, -1.6rem);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  /* 跳ね2 TOP*/
  53% {
    transform: translate(5rem, -2rem);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  /* 着地 */
  60% {
    transform: translate(3rem, 0rem);
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
  }
  65% {
    transform: translate(2rem, 0rem);
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
  }
  80%,
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes circle-hanekoro {
  0%,
  15% {
    transform: translate(13rem, -40rem);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  /* 着地1 */
  30% {
    transform: translate(13rem, -4rem);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  34% {
    transform: translate(11rem, -8rem);
  }
  /* 跳ね1 TOP */
  38% {
    transform: translate(9rem, -10rem);
  }
  42% {
    transform: translate(8rem, -8rem);
  }
  /* 着地2 */
  48% {
    transform: translate(7rem, 0rem);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  51% {
    transform: translate(5.5rem, -1.6rem);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  /* 跳ね2 TOP*/
  53% {
    transform: translate(5rem, -2rem);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  /* 着地 */
  60% {
    transform: translate(3rem, 0rem);
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
  }
  65% {
    transform: translate(2rem, 0rem);
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
  }
  80%,
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

.shape__item-square {
  margin-left: 8rem;
  transform-origin: bottom;
}
.f-right.scroll-active .shape__item-square {
  -webkit-animation: square-push 3s linear 1s forwards;
  animation: square-push 3s linear 1s forwards;
}
@-webkit-keyframes square-push {
  0%,
  28% {
    transform: scale(1, 1);
  }
  30% {
    transform: scale(1.15, 0.8);
  }
  35% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}
@keyframes square-push {
  0%,
  28% {
    transform: scale(1, 1);
  }
  30% {
    transform: scale(1.15, 0.8);
  }
  35% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}

.copyright {
  text-align: right;
  margin: 5rem 0 0;
  padding: 0 5%;
  font-size: 1rem;
}
@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
  #footer {
    margin-bottom: 60px;
  }
  .footer__flex,
  .copyright {
    padding: 0;
  }
}

@media screen and (max-width: 600px) {
  .f-logo__area {
    margin-bottom: 3.2rem !important;
  }
  .footer__flex {
    display: block;
  }
  .nav-left {
    width: 100%;
    justify-content: space-around;
    gap: 2rem;
  }
  .f-nav__group {
    min-width: -webkit-fit-content;
    min-width: -moz-fit-content;
    min-width: fit-content;
  }
  .f-nav__main {
    margin-bottom: 3.2rem;
  }
  .f-nav__main a,
  .f-nav__sub a {
    margin-bottom: 1.4rem;
  }
  .f-nav__sub a {
    font-size: 1rem;
  }
  .f-right {
    margin-top: 3.2rem;
  }
}

/*=======================================================
404
=======================================================*/

#not__found {
  padding: 15rem 0;
}

.not__found-en {
  line-height: 1;
  text-align: center;
}

.not__found-en span {
  display: inline-block;
  padding-bottom: 1rem;
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 2px solid #ccc;
}

.not__found-head {
  margin-top: 3.6rem;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}

.not__found-head br {
  display: none;
}

.not__found-body {
  margin-top: 2rem;
  font-size: 1.5rem;
  text-align: center;
  line-height: 2;
  color: #999;
}

.not__found-link {
  margin-top: 5rem;
  text-align: center;
}

.not__found-link a {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 20rem;
  padding: 1.5rem 0;
  font-size: 1.4rem;
  line-height: 1;
  text-align: center;
  border: 1.5px solid var(--color_2);
  border-radius: 5rem;
  transition: 0.3s;
}

.not__found-link a:hover {
  background-color: var(--color_3);
}

@media screen and (max-width: 600px) {
  .not__found-en span {
    padding-bottom: 18px;
    font-size: 25px;
  }

  .not__found-head {
    margin-top: 27px;
    font-size: 25px;
    line-height: 1.7;
  }

  .not__found-head br {
    display: block;
  }

  .not__found-body {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.9;
  }

  .not__found-body span {
    display: inline-block;
  }

  .not__found-link {
    margin-top: 36px;
  }

  .not__found-link a {
    font-size: 14px;
  }
}
