@charset "UTF-8";
/*===========================================================*/
/*機能編 4-2-4　背景色が伸びる（左から右）　 */
/*===========================================================*/
/*========= ローディング画面のためのCSS ===============*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  text-align: center;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  padding: 20px;
}

/*========= 画面遷移のためのCSS ===============*/
/*画面遷移アニメーション*/
.splashbg {
  display: none;
}

body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleX(0);
  background-color: #333333;
  /*伸びる背景色の設定*/
  animation-name: PageAnime;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/*画面遷移の後現れるコンテンツ設定*/
#main_content {
  opacity: 0;
}

/*bodyにappearクラスがついたら出現*/
body.appear #main_content {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.scroll_down_area {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.scroll_down {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.scroll_down span.text {
  font-size: 12px;
  color: #CF1225;
  opacity: 0.8;
  line-height: 1;
  white-space: nowrap;
  writing-mode: vertical-rl;
}
@media screen and (max-width: 767px) {
  .scroll_down span.text {
    color: #ffffff;
  }
}
.scroll_down span.line {
  position: relative;
  display: inline-block;
  width: 2px;
  height: 100px;
}
.scroll_down span.line:before,
.scroll_down span.line:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}
.scroll_down span.line:before {
  background: #fff;
}
.scroll_down span.line:after {
  background: #e59aa2;
}
@media screen and (max-width: 767px) {
  .scroll_down span.line:after {
    background: #ccc;
  }
}

#type01 span.line:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
/*==================================================
　5-2-6 3本線が回転して×に
===================================*/
/*========= ボタン ===============*/
#humberger {
  position: fixed;
  width: 50px;
  height: 50px;
  z-index: 2000;
  top: 15px;
  right: 15px;
  cursor: pointer;
}

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn6 {
  position: relative;
  /*ボタン内側の基点となるためrelativeを指定*/
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*ボタン内側*/
.openbtn6 span {
  display: inline-block;
  transition: all 0.4s;
  /*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #333;
}

.openbtn6 span:nth-of-type(1) {
  top: 15px;
  width: 45%;
}

.openbtn6 span:nth-of-type(2) {
  top: 23px;
  width: 35%;
}

.openbtn6 span:nth-of-type(3) {
  top: 31px;
  width: 20%;
}

/*activeクラスが付与されると線が回転して×になる*/
.openbtn6.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-135deg);
  width: 30%;
}

.openbtn6.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn6.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(135deg);
  width: 30%;
}

/*========= メニュー画面 ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 1010;
  /*ナビのスタート位置と形状*/
  top: 0;
  left: 0;
  /*ナビの高さ*/
  background: #F6F7F8;
  /*動き*/
}
#g-nav .nav-en {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 20px;
  padding-right: 10px;
  letter-spacing: 0.08em;
}
#g-nav .contact-btn {
  display: block;
  color: #ffffff;
  font-weight: 600;
  background: #cf1225;
  letter-spacing: 0.08em;
  padding: 15px 0;
}
#g-nav .access-btn {
  display: block;
  color: #ffffff;
  font-weight: 600;
  background: #fa4138;
  letter-spacing: 0.08em;
  padding: 15px 0;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  left: 0;
}

/*==================================================
  　メインテキストアニメーション  
===================================*/
.animated-text-cover,
.animated-text {
  display: inline-block;
  opacity: 0;
}
.animated-text-cover.active, .animated-text-cover.active::after,
.animated-text.active,
.animated-text.active::after {
  animation-delay: var(--animation-delay, 2s);
  animation-iteration-count: var(--iterations, 1);
  animation-duration: var(--duration, 800ms);
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.animated-text-cover.active,
.animated-text.active {
  opacity: 1;
  --animation-delay: var(--delay, 0);
  --animation-duration: var(--duration, 800ms);
  --animation-iterations: var(--iterations, 1);
  position: relative;
  animation-name: clip-text;
  cursor: default;
}
.animated-text-cover.active::after,
.animated-text.active::after {
  content: "";
  position: absolute;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f0f3f6;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  animation-name: text-revealer;
}
.animated-text-cover.a-white.active::after,
.animated-text.a-white.active::after {
  background-color: #f0f3f6;
}
.animated-text-cover.a-transparent.active::after,
.animated-text.a-transparent.active::after {
  background-color: #f0f3f6;
}

@keyframes clip-text {
  from {
    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
}
@keyframes text-revealer {
  0%, 50% {
    transform-origin: 0 50%;
  }
  60%, 100% {
    transform-origin: 100% 50%;
  }
  60% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
/*==================================================
印象編 4 最低限おぼえておきたい動き
===================================*/
/*背景色が伸びて出現（左から）*/
.animatedBgLR {
  position: relative;
  display: inline-block;
  height: 100%;
}

.animatedBgLR.active::before {
  animation-name: bgLRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #f0f3f6;
  border-radius: 30px;
}

@keyframes bgLRextendAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/*中の要素*/
.animatedBgLR > * {
  opacity: 0;
}

.animatedBgLR.active > * {
  animation-name: bgextendAnimeSecond;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
}

@keyframes bgextendAnimeSecond {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* .block-content 直下の要素にサイト幅を指定 */
.block-content > * {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* .block-content 直下の .alignwide の場合 */
.block-content > .alignwide {
  max-width: 1400px;
}

/* .block-content 直下の .alignfull の場合 */
.block-content > .alignfull {
  max-width: 100%;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

body {
  font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", serif;
  color: #212529;
}

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

.btn {
  text-align: left;
  display: block;
}
@media (max-width: 1199.98px) {
  .btn {
    text-align: center;
  }
}
.btn a {
  width: 250px;
  border: 1px solid #b5b5b5;
  padding: 5px 15px;
  border-radius: 100vh;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 5px 8px #dcdcdc;
}
.btn a .bi-arrow-right-circle-fill {
  color: #cf1225;
}

/*==================================================
　ヘッダー
===================================*/
header {
  z-index: 1000;
}
header a:hover {
  color: #333;
}
header img.logo {
  max-width: 100%;
}
@media (max-width: 767.98px) {
  header img.logo {
    width: 200px;
  }
}
header nav .en {
  font-size: 20px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  display: block;
  letter-spacing: 0.08em;
}
header a.contact_btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #cf1225;
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  width: 100px;
  aspect-ratio: 1/1;
}
header a.contact_btn i {
  display: block;
}
header a.access_btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fa4138;
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  width: 100px;
  aspect-ratio: 1/1;
}
header a.access_btn i {
  display: block;
}

/*==================================================
　トップカバー
===================================*/
.cover {
  width: 100%;
  height: 700px;
  position: relative;
  background-size: cover;
  overflow: hidden;
  background: url(../images/cover/cover-bg.webp) no-repeat bottom center;
}
@media (max-width: 575.98px) {
  .cover {
    width: auto;
    height: 100%;
  }
}
.cover .cover-image {
  width: 500px;
  height: 700px;
  overflow: hidden;
}
@media (max-width: 575.98px) {
  .cover .cover-image {
    height: 100%;
    width: auto;
  }
}
.cover .cover-image img {
  width: 100%;
  aspect-ratio: 500/700;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media (max-width: 575.98px) {
  .cover .cover-image img {
    height: 100%;
    aspect-ratio: 9/16;
  }
}

.catch-copy {
  position: absolute;
  writing-mode: vertical-rl;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}
@media (max-width: 991.98px) {
  .catch-copy {
    left: 3em;
  }
}
.catch-copy .main-copy {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .catch-copy .main-copy {
    font-size: 30px;
    letter-spacing: 0;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
  }
}
.catch-copy .sub-copy {
  font-size: 14px;
  display: block;
  letter-spacing: 0.1em;
}
@media (max-width: 991.98px) {
  .catch-copy .sub-copy {
    font-size: 12px;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
  }
}

/*==================================================
　サブカバー
===================================*/
.sub-cover {
  position: relative;
  width: 100%;
  height: 280px;
  background: url(../images/header/sub_cover_bg.webp) no-repeat right bottom, url(../images/header/dot_bg.webp) repeat top left;
}
@media (max-width: 767.98px) {
  .sub-cover {
    width: 100%;
    height: 180px;
  }
}
.sub-cover .page-title {
  position: absolute;
  font-weight: bold;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
@media (max-width: 991.98px) {
  .sub-cover .page-title {
    left: 10%;
  }
}
.sub-cover .page-title .en {
  font-size: 70px;
  font-family: "Jost", sans-serif;
  font-weight: bold;
  color: #cf1225;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
}
@media (max-width: 991.98px) {
  .sub-cover .page-title .en {
    font-size: 30px;
    margin-bottom: 10px;
  }
}
.sub-cover .page-title .ja {
  font-size: 20px;
  font-weight: bold;
  color: #1c1c1c;
  letter-spacing: 0.08em;
}
@media (max-width: 991.98px) {
  .sub-cover .page-title {
    font-size: 16px;
  }
}
.sub-cover .bg-title {
  position: absolute;
  font-size: 150px;
  font-family: "Jost", sans-serif;
  color: #f2f5f7;
  font-weight: 200;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  white-space: nowrap;
}

.sub-title {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.3;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.08em;
}
@media (max-width: 991.98px) {
  .sub-title {
    font-size: 24px;
  }
}

.sub-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6em;
  height: 0.6em;
  background: #fb4437;
  border-radius: 50%;
  display: block;
}

.works .cat a {
  display: inline-block;
  font-size: 14px;
  border: solid 1px #FA4138;
  color: #FA4138;
  padding: 0 1em;
  border-radius: 3px;
}
.works .card {
  border: none;
  border-radius: 10px;
  padding: 20px 20px 10px 20px;
  background: #ffffff;
  border: 1px solid #c9d5da;
}
.works .card .cat a {
  display: inline-block;
  font-size: 14px;
  border: solid 1px #FA4138;
  color: #FA4138;
  padding: 0 1em;
  border-radius: 3px;
}
.works .card .title {
  font-size: 18px;
  font-weight: bold;
}

/*==================================================
　ページトップ
===================================*/
.page-top {
  position: fixed;
  bottom: 1em;
  right: 1em;
}

/*==================================================
　フッター
===================================*/
footer {
  background: #464849;
}
footer nav .en {
  font-size: 18px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  display: block;
  letter-spacing: 0.08em;
}

.footer_bnr {
  position: fixed;
  bottom: 1em;
  left: 1em;
}/*# sourceMappingURL=common.css.map */