@charset "UTF-8"; /**/
@keyframes scroll {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(7px);
  }
}

.main-img {
  position: relative;
  transition: initial;
  padding-top: 0!important;
  overflow: hidden;
  margin: 0 var(--m-fix);
  background: #f9fbfc;
}

.main-img .main-bg {
  position: relative;
  display: flex;
  justify-content: center;
}

.main-img .main-bg img {
  object-fit: cover;
  min-height: 600px;
  width: 120%;
}

.main-img .main-bg figcaption {
  position: absolute;
  top: 15%;
  text-align: center;
  top: clamp(14%, 12.5vw, 17%);
  align-items: flex-start;
  z-index: 1;
}

.type {
  white-space: pre-line;
}

.type::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  border-right: 1px solid currentColor;
  transform: translateY(0.1em);
  animation: blink 1s step-end infinite;
  margin-left: 0.1em;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.main-img .copy_box {
  position: relative;
  margin: 5rem auto -3%;
  z-index: 1;
  text-align: center;
  width: fit-content;
}

.main-img .copy_box h3 {
  font-size: clamp(3rem, 3.6vw, 55px);
  font-weight: 200;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--c-accent);
  font-family: var(--f-en);
}

.main-img .copy_box .copy {
  font-size: var(--f-l);
  font-weight: bold;
  line-height: 1;
}

.main-img .main-bg figcaption p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
}

.main-img .information {
  position: absolute;
  top: 35%;
  /* transform: translateX(-50%); */
  left: 76%;
  z-index: 1;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.main-img .baloon {
  /* margin-bottom: 2rem; */
  margin-left: -1vw;
}

.main-img .baloon a {
  position: relative;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 2rem;
  transform: rotate(60deg);
}

.main-img .baloon a::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 10px;
  background: #fff;
  bottom: -8px;
  left: 0;
  right: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 1;
  margin: auto;
}

.main-img .baloon a::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 10px;
  background: var(--c-accent);
  bottom: -10px;
  left: 0;
  right: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin: auto;
}

.main-img .baloon a:hover {
  opacity: 1;
}

.main-img .baloon p {
  display: block;
  font-size: var(--f-s);
  text-align: center;
  line-height: 1.3;
  transform: rotate(-60deg);
  white-space: nowrap;
}

.main-img .baloon p i.ph {
  font-size: 38px;
  line-height: 1;
  display: block;
  margin: inherit;
}

.main-img .paper {
  white-space: nowrap;
  /* position: absolute; */
  /* top: 46%; */
  /* right: 8vw; */
  /* transform: rotate(0deg) scale(var(--scale, 1)); */
  color: var(--c-subtext);
  /* padding: 1rem; */
  /* width: fit-content; */
  /* position: relative; */
  margin-left: 1rem;
  margin-top: 1rem;
  margin: 1rem;
  margin-bottom: initial;
}

.main-img .paper ul {
  /* position: absolute; */
  /* top: 14%; */
  /* left: 7%; */
}

.main-img .paper figure {
  display: none;
}

.index-about__bgtext {
  display: flex;
  font-family: var(--f-en);
  font-size: max(12vw, 7rem);
  font-weight: 100;
  white-space: nowrap;
  /* letter-spacing: -0.03em; */
  pointer-events: none;
  position: absolute;
  bottom: 0;
  /* font-style: italic; */
  z-index: 1;
  line-height: 0.75;
  z-index: 2;
  /* mix-blend-mode: revert-layer; */
  z-index: 2;
  color: var(--c-accent-light);
  width: max-content;
}

.index-about__bgtext .text {
  -webkit-animation: looptext 120s linear 0s infinite;
}

@keyframes looptext {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.scrolldown {
  position: fixed;
  z-index: 2;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  line-height: 1;
  /* transform: translateY(-50%); */
  bottom: 50px;
  right: 2.5%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transition: opacity .3s;
  white-space: nowrap;
}

.on .scrolldown {
  opacity: 0;
  pointer-events: none;
}

.scrolldown a b {
  color: var(--c-dark);
  font-size: 10px;
  letter-spacing: 0.05rem;
  margin-bottom: 0.5rem;
}

.scrolldown a b::-moz-selection {
  background: #fff;
  background-color: rgba(255, 255, 255, 0.8);
}

.scrolldown a b::selection {
  background: #fff;
  background-color: rgba(255, 255, 255, 0.8);
}

.scrolldown a {
  text-decoration: none;
  display: flex;
  z-index: 1;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.scrolldown a:hover {
  opacity: 1;
}

.scrolldown a i {
  height: 5em;
  width: 1px;
  background-color: rgb(0 0 0 / 10%);
  /* opacity: .3; */
  position: relative;
  overflow: hidden;
}

.scrolldown a i:before {
  content: none;
}

.scrolldown a i::after {
  content: "";
  background-color: #666;
  /* opacity: 1; */
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  -webkit-animation: anim-scroll 1.5s ease-in-out 0s infinite;
  animation: anim-scroll 1.5s ease-in-out 0s infinite;
}

/*
## わたしについて
*/
.section-about:before {
  content: "";
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100vw;
  height: 100%;
  z-index: -1;
  margin: 0 var(--m-fix);
}

.section-about .text_box {
  width: fit-content;
}

.section-about figure {
  position: absolute;
  top: 0;
  right: 0;
  /* width: 100%; */
  height: 100%;
  overflow: hidden;
  margin-right: var(--m-fix);
  z-index: -1;
  /* margin-left: 10%; */
}

.section-about figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center right;
  margin-left: auto;
  -webkit-mask-image: linear-gradient(to left, #000000 50%, transparent 80%);
  mask-image: linear-gradient(to left, #000000 50%, transparent 80%);
  border-radius: initial;
  /* right: -10%; */
  /* position: relative; */
}

/*
## サービスについて
*/
.section-service .title {
  background: var(--c-accent);
  border-radius: var(--m-xxs);
  padding: 0.7rem;
  writing-mode: vertical-rl;
  font-family: var(--f-en);
  line-height: 1;
  color: #fff;
  grid-column: 1 / 1;
  grid-row: 1 / 4;
  margin-bottom: initial;
  display: flex;
  gap: 1vw;
  width: calc(100% - 0.5rem);
  height: 100%;
  z-index: 1;
}

.section-service .title span {
  font-weight: 200;
  /* margin-top: 1rem; */
}

.service-num dt {
  background: #fff;
  border-radius: 0.3rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  font-weight: bold;
  font-size: var(--f-l);
  align-items: center;
  position: sticky;
  top: 0;
}

.service-num dt small {
  font-size: 8px;
  /* margin: 0.2rem; */
}

.service-num dd {
  font-weight: var(--w-b);
  color: #fff;
  /* position: sticky; */
  /* top: 0; */
}

.section-service {
  padding-top: var(--m-xxl);
  padding-bottom: var(--m-xxl);
}

.section-service:before {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 var(--m-fix);
  /* background: #fff; */
  z-index: -1;
}

.section-service .u-inner {
  display: flex;
  flex-wrap: wrap;
}

.section-service .button {
  flex-basis: 100%;
}

.section-service .column {
  width: 100%;
  /* justify-content: space-between; */
  flex-direction: column;
  position: relative;
  row-gap: 0.5rem;
}

.section-service a {
}

.section-service .text_box {
  /* flex-basis: 100%; */
}

.section-service .service-bg {
  /* flex: 1; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* justify-content: flex-end; */
  grid-column: 8 / -1;
  grid-row: 1 / 4;
  position: relative;
  height: 100%;
}

.section-service .service-bg .sticky {
  position: sticky;
  top: 15%;
}

.section-service .service-bg figcaption {
  font-size: calc(var(--f-max) * 3);
  line-height: 0.9;
  font-weight: 100;
  color: var(--c-muted);
  color: color-mix(in srgb, var(--c-gray) 50%, transparent);
  /* margin-bottom: -3rem; */
  /* writing-mode: vertical-rl; */
  font-family: var(--f-en);
}

.section-service .service-bg img {
  position: relative;
  width: 150%;
  will-change: opacity;
}

.section-service .service-bg .sticy {
  position: sticky;
  top: 20%;
}

.service-bg .sticky .screen {
  opacity: 0;
  transition: opacity 1s ease .15s;
  /* 0.15s待ってから消える */
}

.service-bg .sticky .screen.is-active {
  opacity: 1;
  transition-delay: 0s;
}

.service-bg.is-hovering .sticky .screen {
  transition: opacity .35s ease;
  /* 速く */
}

.service-bg .sticky .mockup {
  z-index: 2;
  /* 常に一番上 */
  pointer-events: none;
}

.service-bg .sticky .screen {
  z-index: 1;
}

.section-service .service-bg img:first-child {
  /* z-index:1; */
}

.section-service .service-bg img:not(:first-child) {
  position: absolute;
  top: 0;
  z-index: -1;
}

.section-service .nav-container {
  position: relative;
  display: flex;
  /* gap: 1vw; */
  /* margin-top: var(--m-xl); */
  grid-column: 2 / 8;
}

.section-service .service-title {
  background: var(--c-accent);
  writing-mode: vertical-rl;
  color: #fff;
  border-radius: var(--m-xxs);
}

.menu-item {
  counter-increment: count 1;
  margin-left: calc(clamp(1.5rem, 3vw, 3rem) * -1);
  order: 2;
  box-shadow: 0 10px 10px var(--c-bg);
}

div:nth-of-type(1).menu-item {
  grid-column: 2 / 8;
}

div:nth-of-type(2).menu-item {
  grid-column: 2 / 8;
}

div:nth-of-type(3).menu-item {
  grid-column: 2 / 8;
}

.menu-item p {
  margin-bottom: 2rem;
  font-size: var(--f-s);
  position: relative;
  z-index: 4;
  line-height: 1.5;
}

.menu-item a {
}

.menu-item .num-list {
  list-style: none;
  counter-reset: num;
  gap: 0.3rem;
  display: flex;
  flex-direction: column;
  font-weight: var(--w-b);
}

.menu-item .num-list li {
  counter-increment: num;
  position: relative;
  gap: 0.3rem;
  display: flex;
  align-items: baseline;
}

.menu-item .num-list li::before {
  content: counter(num);
  /* position: absolute; */
  /* left: 0; */
  /* top: 0; */
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  background: var(--c-accent-dark);
  color: #fff;
  text-align: center;
  line-height: 1.4;
  font-size: 0.85em;
  font-family: var(--f-en);
}

.section-service .menu-item a {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  padding: 2vmax;
  padding-block: 3rem; background: linear-gradient(var(--c-accent) 0 0) left /var(--d, 0%) 100% no-repeat;
  background-color: #fff;
  color: initial;
  border-radius: var(--m-xxs);
  align-items: flex-start;
}

.section-service .menu-item a:hover {
  opacity: 1;
  color: #fff;
}

.section-service .menu-item a::before {
  content: "0" counter(count);
  font-size: calc(var(--f-max) * 2);
  font-style: italic;
  font-family: var(--f-en);
  font-weight: 100;
  color: var(--c-gray-light);
  line-height: 1;
  z-index: 1;
  display: block;
  position: absolute;
  bottom: 3%;
  right: 3%;
}

.section-service .menu-item .text_box {
  position: relative;
  z-index: 3;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
}

.section-service .menu-item h3 {
  display: flex;
  /* flex-direction: column; */
  /* justify-content: flex-start; */
  position: relative;
  margin-bottom: var(--m-m);
  /* padding-left: 0.8rem; */
  line-height: 1.5;
  font-size: var(--f-xxl);
  font-weight: 900;
  font-family: var(--f-sans);
  color: var(--c-sub);
  line-height: 1.3;
  /* color: var(--c-accent-dark); */
}

.section-service .menu-item .copy {
  font-size: var(--f-xl);
  font-weight: var(--f-m);
}

.section-works:before {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 var(--m-fix);
  /* background: #fff; */
  background: linear-gradient(180deg, #fff 0%, var(--c-bg) 100%);
  z-index: -1;
}

section.section-works .container {
  overflow: visible;
  padding: var(--m-m) 0 var(--m-xl);
  width: 100%;
}

.section-works .list {
  height: initial;
  margin: 0 calc(var(--m-fix) + clamp(1.5rem, 3vw, 3rem));
}

.section-works .list li {
  grid-column: span 4;
  height: 100%;
}

.section-works .list li a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-works .list figure {
  /* margin-bottom: var(--m-s); */
}

.section-works .list figure img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  /* filter: brightness(0.95); */
}

.section-works .list .title {
}

.section-works .list .work_cat {
  margin-block: 1rem;margin-right: auto;
  display: block;
  font-size: var(--f-xs);
  background: var(--c-gray-light);
  padding: 0.5rem 1rem;
  border-radius: 3rem;
  line-height: 1;
}

@media screen and (max-width: 1024px) {
  .gBody {
  }

  .main-img .paper, .main-img .baloon {
    /* --scale: 0.8; */
    /* margin-right: 1rem; */
  }
}

@media screen and (max-width: 767px) {
  .main-img .information {
    /* position: relative; */ all: unset;
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: center;
    align-items: center;
    margin-top: -20%;
    margin-bottom: 7rem;
  }

  .main-img .baloon {
    /* position: relative; */
    /* margin-right: 2rem; */
    /* margin-left: 2rem; */
  }

  .main-img .baloon a {
    /* position: relative; */
    /* color: var(--c-accent); */
    /* border: 1px solid var(--c-accent); */
    /* border-radius: 50%; */
    /* width: 160px; */
    /* height: 160px; */
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* justify-content: center; */
    /* background: #f9fbfc; */
    /* padding: 2rem; */
    /* transform: rotate(-60deg); */
  }

  .main-img .baloon p {
    /* display: block; */
    /* font-size: var(--f-s); */
    /* text-align: center; */
    /* line-height: 1.3; */
    /* transform: rotate(60deg); */
    /* white-space: nowrap; */
  }

  .main-img .main-bg img {
    min-height: 600px;
  }

  section.section-about {
    padding-block-start: initial; }

  .section-about figure {
    height: 400px;
   width: calc(100vw - var(--m-fix));
    position: relative;
    margin: 0 var(--m-fix) -3rem;
    order: -1;
  }

  .section-about figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 80% center;
    -webkit-mask-image: linear-gradient(to bottom, #000000 70%, transparent 90%);
    mask-image: linear-gradient(to bottom, #000000 70%, transparent 90%);
  }

  .section-service {
    padding-top: var(--m-xxl);
    padding-bottom: var(--m-xxl);
  }

  .section-service .title {
    writing-mode: initial;
    grid-row: initial;
    order: 1;
    width: 100%;
  }

  .menu-item {
    margin-left: initial;
    width: 100%;
  }

  .section-service .column {
    display: flex;
    /* flex-direction: column-reverse; */
  }

  .section-service .service-bg {
  }

  .section-service .service-bg .sticky {
    position: relative;
    top: initial;
    margin-left: 10%;
    z-index: 1;
  }

  .section-service .service-bg .sticky img {
    width: 120%;
  }

  .section-service .service-bg figcaption {
    font-size: calc(var(--f-max) * 2.8);
    position: absolute;
    /* transform: translateX(-50%); */
    top: 0;
    left: 0;
  }

  /*
  ## サービスのご案内
  */
  .section-service .nav-container {
    width: 100%;
    margin-left: initial;
  }

  .menu-items {
    flex-direction: column;
  }

  .menu-item:not(:first-child)::after {
    width: 100%;
    height: 1px;
    position: absolute;
  }

  .menu-item:last-child {
    border: none;
  }

  .menu-item img {
    transition: opacity 0.3s ease;
  }

  .menu-item p {
    margin-top: 10px;
    font-size: 14px;
    position: relative;
    z-index: 4;
    line-height: 1.5;
  }

  .service .list li a {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    flex-direction: column;
    padding: 2vmax;
    color: #fff;
    justify-content: flex-end;
  }

  section.section-company {
    display: flex;
    flex-direction: column;
  }

  .section-company .u-inner {
    order: 2;
  }

  .section-company figure {
    margin-top: calc(var(--m-xxl) * -1);
    order: 1;
  }

  .section-company figure img {
    -webkit-mask-image: linear-gradient( to bottom, #000000 60%, transparent 90% );
    mask-image: linear-gradient(to bottom, #000000 60%, transparent 90%);
  }
}

@media print {
  .main_img.sticky .slide {
    position: relative !important;
    right: 0px;
  }

  .main_img {
    height: 80vh;
  }

  section.message.sticky.end > figure {
    position: absolute;
    top: initial;
  }

  .message figure {
    max-height: 100%;
  }

  .message {
    padding-top: initial;
  }
}
