﻿@charset "UTF-8";

:root {
  --home-bg: #d4d2c9;
  --text-main: #2b2b2b;
  --text-soft: #595c59;
  --line: #9f9f9a;
  --panel: #f4f4f2;
  --dark: #3e3e38;
}

body {
  background: var(--home-bg);
  color: var(--text-main);
}

#home-view {
  background: var(--home-bg);
}

#home-view .home-block {
  margin: 0;
  padding: 0 20px 72px;
}

#home-view .home-block .inner {
  max-width: 980px;
  margin: 0 auto;
}

#home-view .stripe-title {
  --title-bg-svg: url("../img/common/title-bg-default.svg");
  --title-bg-width: calc(100% + 120px);
  --title-bg-height: 84px;
  --title-bg-left: -30px;
  --title-bg-top: -28px;
  --title-line-width: calc(100% + 72px);
  --title-line-left: 0;
  position: relative;
  display: inline-block;
  isolation: isolate;
  margin: 0 0 34px;
  padding: 0 8px 12px 2px;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 700;
  z-index: 1;
}

#home-view .stripe-title::before,
#home-view .stripe-title::after {
  content: "";
  position: absolute;
  z-index: -1;
}

#home-view .stripe-title::before {
  top: var(--title-bg-top);
  left: var(--title-bg-left);
  width: var(--title-bg-width);
  height: var(--title-bg-height);
  background-image: var(--title-bg-svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: left top;
}

#home-view .stripe-title::after {
  left: var(--title-line-left);
  bottom: 10px;
  width: var(--title-line-width);
  border-bottom: 3px solid #171717;
}

#home-view .about-block .stripe-title {
  --title-bg-svg: url("../img/common/title-bg-about.svg");
}

#home-view .concept-block .stripe-title {
  --title-bg-svg: url("../img/common/title-bg-concept.svg");
}

#home-view .projects-block .stripe-title {
  --title-bg-svg: url("../img/common/title-bg-projects.svg");
}

#home-view .about-us-block .stripe-title {
  --title-bg-svg: url("../img/common/title-bg-aboutus.svg");
}
#home-view .key {
  margin: 0 0 56px;
}

#home-view .key .btn-wrapper .btn {
  letter-spacing: 0.06em;
}

#home-view .key .swiper-container {
  position: relative;
  overflow: hidden;
}

#home-view .key .hero-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(12, 12, 12, 0.55);
  z-index: 3;
}

#home-view .key .hero-title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.1;
  color: #fff;
}

#home-view .key .hero-slider-ui {
  display: flex;
  align-items: center;
  gap: 6px;
}

#home-view .key .hero-nav {
  width: auto;
  height: auto;
  border: 0;
  padding: 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}

#home-view .key .hero-indexes {
  display: flex;
  gap: 4px;
}

#home-view .key .hero-index {
  min-width: 14px;
  padding: 2px 0;
  border-bottom: 0;
  color: rgba(205, 205, 205, 0.88);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.06em;
}

#home-view .key .hero-index.is-active {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

#home-view .about-block .about-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

#home-view .about-block .about-intro {
  margin: 8px auto 52px;
  max-width: 760px;
}

#home-view .about-block .about-intro h3 {
  margin: 0;
  text-align: center;
  font-size: 2.8rem;
  line-height: 1.33;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#home-view .about-block .about-intro .lead {
  margin: 18px 0 0;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #393b38;
  font-weight: 600;
}

#home-view .about-block .about-visuals {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

#home-view .about-block .about-visuals img {
  display: block;
  width: 70%;
  object-fit: cover;
}

#home-view .about-block .about-visuals img:nth-child(2) {
  margin-left: 110px;
}

#home-view .about-block .about-copy p {
  margin: 0 40px 0;
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  font-weight: 600;
}

#home-view .about-block .about-copy .about-mobile-pic {
  display: none;
}

#home-view .concept-block .concept-logo {
  text-align: center;
  margin: 30px 0 64px;
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

#home-view .concept-block .concept-logo img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  margin: 0 auto;
}

#home-view .concept-block .concept-axis {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 10px 84px;
  gap: 12px;
}

#home-view .concept-block .concept-axis::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  border-top: 4px solid #989894;
}

#home-view .concept-block .concept-axis .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

#home-view .concept-block .concept-axis .char {
  display: inline-block;
  margin-right: 1px;
  font-size: 6rem;
  font-weight: 700;
  color: #f0f0ef;
  line-height: 1;
}

#home-view .concept-block .concept-axis .word {
  display: inline-block;
  font-size: 2.5rem;
  color: #f0f0ef;
  font-weight: 700;
  line-height: 1;
}

#home-view .concept-block .concept-axis .jp {
  display: inline-block;
  margin-top: 22px;
  padding: 4px 18px;
  font-size: 2.2rem;
  font-weight: 700;
  background: #f5f5f3;
  color: #7a7c7a;
}

#home-view .concept-block .concept-copy {
  max-width: 1220px;
  margin: 0 auto;
  text-align: center;
  font-size: 2.0rem;
  line-height: 1.7;
  font-weight: 700;
}

#home-view .projects-block .projects-layout {
  display: grid;
  gap: 34px;
}

#home-view .projects-block .projects-row {
  display: grid;
  grid-template-columns: 2.35fr 1fr;
  gap: 34px;
  align-items: stretch;
}

#home-view .projects-block .row-bottom {
  grid-template-columns: 1fr 2.35fr;
}

#home-view .projects-block .card-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

#home-view .projects-block .card {
  display: block;
  text-decoration: none;
  color: #202020;
  overflow: hidden;
}

#home-view .projects-block .card .pic {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 1s ease;
  transform-origin: center center;
  will-change: transform;
}

#home-view .projects-block .card:hover .pic {
  transform: scale(1.08);
}

#home-view .projects-block .card-main .pic {
  min-height: 424px;
}

#home-view .projects-block .card-sub .pic {
  min-height: 184px;
}

#home-view .projects-block .card .meta {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
  color: #3f3f3f;
  line-height: 1.25;
}

#home-view .projects-block .line-link {
  position: relative;
  margin-top: 28px;
  padding-bottom: 10px;
}

#home-view .projects-block .line-link::after {
  content: none;
}

#home-view .projects-block .line-link a {
  width: 300px;
  font-size: 1.2rem;
}

#home-view .projects-block .line-link a::after {
  right: 0;
  left: auto;
}

#home-view .line-link {
  text-align: right;
  margin-top: 22px;
}

#home-view .line-link a {
  position: relative;
  display: inline-block;
  isolation: isolate;
  width: 300px;
  padding: 4px 176px 4px 0;
  box-sizing: border-box;
  white-space: nowrap;
  text-align: left;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #2a2a2a;
}

#home-view .line-link a::after {
  content: "";
  position: absolute;
  right: 0;
  left: auto;
  top: 50%;
  width: 165px;
  height: 14px;
  transform: translateY(-50%);
  background: url("../img/common/icon/btn-arrow.png") no-repeat center / contain;
}

@keyframes afris-line-link-arrow-hover {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  45% {
    transform: translateY(-50%) translateX(-10px);
  }
  100% {
    transform: translateY(-50%) translateX(0);
  }
}

#home-view .line-link a:hover::after {
  animation: afris-line-link-arrow-hover 0.45s ease;
}

#home-view .line-link a::before {
  content: none;
}

#home-view .work-block .split-panel,
#home-view .utility-block .split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

#home-view .work-block .workflow {
  max-width: 420px;
}

#home-view .work-block .workflow svg {
  width: 100%;
  height: auto;
}

#home-view .work-block .left .img {
  margin-top: 18px;
  width: 72%;
  max-width: 240px;
  height: 162px;
  background-size: cover;
  background-position: center;
}

#home-view .work-block .right p,
#home-view .utility-block .right p {
  font-size: 1.5rem;
  line-height: 1.95;
  margin-bottom: 14px;
}

#home-view .work-block .right .line-link,
#home-view .utility-block .line-link {
  margin-top: 28px;
}

#home-view .work-block .right .line-link a,
#home-view .utility-block .line-link a {
  width: 300px;
  font-size: 1.2rem;
}

#home-view .work-block .right .line-link a::after,
#home-view .utility-block .line-link a::after {
  right: 0;
  left: auto;
}

#home-view .utility-block .utility-item {
  margin-bottom: 52px;
}

#home-view .utility-block .utility-item:last-child {
  margin-bottom: 0;
}

#home-view .utility-block .collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 380px;
}

#home-view .utility-block .collage img {
  width: 100%;
  display: block;
}

#home-view .utility-block .collage img:nth-child(3) {
  grid-column: 1;
}

#home-view .utility-block .single img {
  display: block;
  width: 72%;
  max-width: 300px;
}

#home-view .about-us-block {
  padding-bottom: 0;
}

#home-view .about-us-block .inner {
  background: #f6f6f5;
  padding: 40px 60px 48px;
}

#home-view .about-us-block .about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

#home-view .about-us-block .card {
  position: relative;
  display: block;
  min-height: 178px;
  text-decoration: none;
  background-size: cover;
  background-position: center;
}

#home-view .about-us-block .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(29, 36, 45, 0.38);
}

#home-view .about-us-block .card.profile::before {
  background: rgba(165, 145, 50, 0.42);
}

#home-view .about-us-block .card span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

#home-view .news-strip {
  padding: 0 20px;
}

#home-view .news-strip .inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--dark);
  color: #fff;
  padding: 36px 50px;
}

#home-view .news-strip h2 {
  text-align: center;
  font-size: 2.4rem;
  line-height: 1;
}

#home-view .news-strip p {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}

#home-view .news-strip p span {
  display: inline-block;
  margin-right: 16px;
  opacity: 0.82;
}

#global-footer .contact {
  padding: 72px 20px;
  text-align: center;
  background-color: #fff;
}

#global-footer .contact .btn {
  display: inline-block;
  width: 100%;
  max-width: 960px;
  padding: 0;
  font-size: 1.8rem;
  line-height: 100px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  border: 2px solid #000;
  background-image: url(../img/common/icon/arrow.svg);
  background-position: right 40px center;
  background-size: 30px 30px;
  letter-spacing: normal;
}

#global-footer .contact .btn:hover {
  background-image: url(../img/common/icon/arrow-white.svg);
  color: #fff;
  background-color: #000;
}

#global-footer .contact .btn::after {
  content: none;
}

#global-footer .sitemap {
  background-color: var(--home-bg);
}

#global-footer .copy {
  background-color: var(--dark);
}

@media (max-width: 999px) {
  #home-view .key {
    margin: 0 0 26px;
  }

  #home-view .key .hero-caption {
    gap: 3px;
    padding: 6px 8px;
  }

  #home-view .key .hero-title {
    font-size: 1.5rem;
  }

  #home-view .key .hero-nav {
    font-size: 1.2rem;
  }

  #home-view .key .hero-index {
    min-width: 13px;
    font-size: 1.2rem;
  }

  #home-view .home-block {
    padding: 0 16px 44px;
  }

  #home-view .stripe-title {
    --title-bg-width: calc(100% + 82px);
    --title-bg-height: 62px;
    --title-bg-left: -20px;
    --title-bg-top: -11px;
    --title-line-width: calc(100% + 48px);
    font-size: 1.8rem;
    margin-bottom: 24px;
    padding: 0 6px 10px 1px;
  }

  #home-view .utility-block .utility-item:nth-of-type(1) .stripe-title,
  #home-view .utility-block .utility-item:nth-of-type(2) .stripe-title {
    --title-bg-left: -36px;
  }

  #home-view .stripe-title::before {
    bottom: auto;
  }

  #home-view .stripe-title::after {
    bottom: 8px;
  }

  #home-view .about-block .about-grid,
  #home-view .work-block .split-panel,
  #home-view .utility-block .split-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #home-view .about-block .about-intro {
    margin: 4px 0 24px;
    max-width: none;
  }

  #home-view .about-block .about-intro h3 {
    font-size: 2.6rem;
  }

  #home-view .about-block .about-intro .lead {
    font-size: 1.2rem;
    margin-top: 10px;
  }

  #home-view .about-block .about-visuals {
    display: none;
  }

  #home-view .about-block .about-copy p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 500;
  }

  #home-view .about-block .about-copy .about-mobile-pic {
    display: block;
    width: 100%;
    margin: 10px 0 14px;
  }

  #home-view .concept-block .concept-axis {
    margin: 0 0 26px;
    gap: 5px;
  }

  #home-view .concept-block .concept-axis::before {
    top: 16px;
    border-top-width: 2px;
  }

  #home-view .concept-block .concept-axis .char {
    font-size: 2.6rem;
  }

  #home-view .concept-block .concept-axis .word {
    font-size: 1.2rem;
  }

  #home-view .concept-block .concept-axis .jp {
    font-size: 1.05rem;
    padding: 2px 8px;
    margin-top: 10px;
  }

  #home-view .concept-block .concept-logo {
    margin: 10px 0 24px;
  }

  #home-view .concept-block .concept-logo img {
    width: 100% !important;
    max-width: 100% !important;
  }

  #home-view .concept-block .concept-copy {
    font-size: 1.45rem;
    line-height: 1.9;
    font-weight: 600;
  }

  #home-view .projects-block .projects-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  #home-view .projects-block .projects-row,
  #home-view .projects-block .row-bottom,
  #home-view .projects-block .card-stack {
    display: contents;
  }

  #home-view .projects-block .card {
    grid-column: span 1;
  }

  #home-view .projects-block .card-main .pic,
  #home-view .projects-block .card-sub .pic {
    height: 172px;
    min-height: 0;
  }

  #home-view .projects-block .card.sp-wide {
    grid-column: 1 / -1;
  }

  #home-view .projects-block .card.sp-wide .pic {
    height: 220px;
  }

  #home-view .projects-block .line-link {
    margin-top: 10px;
    padding-bottom: 8px;
  }

  #home-view .projects-block .line-link::after {
    width: 154px;
    height: 10px;
  }

  #home-view .projects-block .line-link a {
    width: 190px;
    padding: 4px 120px 4px 0;
    font-size: 1.2rem;
  }

  #home-view .projects-block .line-link a::after {
    width: 110px;
    height: 9px;
    left: auto;
  }

  #home-view .line-link {
    margin-top: 8px;
  }

  #home-view .line-link a {
    width: 190px;
    padding: 4px 120px 4px 0;
    font-size: 1.2rem;
  }

  #home-view .line-link a::after {
    width: 110px;
    height: 9px;
    left: auto;
  }

  #home-view .work-block .left .img {
    width: 72%;
    max-width: 240px;
    height: 180px;
  }

  #home-view .utility-block .collage {
    max-width: none;
  }

  #home-view .utility-block .single img {
    width: 100%;
    max-width: none;
  }

  #home-view .about-us-block .inner {
    padding: 26px 18px 28px;
  }

  #home-view .about-us-block .about-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #home-view .about-us-block .card {
    min-height: 150px;
  }

  #home-view .about-us-block .card span {
    font-size: 1.8rem;
  }

  #home-view .news-strip .inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 16px;
  }

  #home-view .news-strip h2 {
    font-size: 1.8rem;
  }

  #home-view .news-strip p {
    font-size: 1.3rem;
    line-height: 1.7;
  }

  #home-view .news-strip p span {
    display: block;
    margin-right: 0;
  }

  #global-footer .contact {
    padding: 10px;
  }

  #global-footer .contact .btn {
    font-size: 2rem;
    line-height: 60px;
    background-position: right 20px center;
    background-size: 20px 20px;
  }

  #global-footer .contact .btn::after {
    content: none;
  }
}

