@charset "utf-8";

/******************************************************
 *  共通
 ******************************************************/
:root{
  --scrollbar-width: 16px;
  --100vw: calc(100vw - var(--scrollbar-width));
  --vw: calc(var(--100vw) / 100);
  --main-inner: min(128rem, var(--100vw));
  --side-margin: min( (100vw - var(--main-inner)) / 2);
  --side-padding: min(6rem);
  --color-text: #303030;
  --color-white: #FFF;
  --color-lightblue: #2AE3FF;
  --color-pink: #FF55D7;
  --gradient-main: linear-gradient(to right, var(--color-lightblue) 0%, var(--color-pink) 100%);
  --font-family-ja: 'Noto Sans JP', sans-serif;
  --font-famiry-en: "Inter", sans-serif;
  --font-famiry-en-style: italic;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
  --scroll-margin: 100px;
}
html{
    font-size: 62.5%;
}
body{
  color: var(--color-text);
  font-size: 1.6em;
  font-family: var(--font-family-ja);
  font-weight: var(--font-weight-medium);
  background: var(--color-white);
}
#container{
  width: 100%;
  overflow: hidden;
}
div{
  margin: 0;
}
button{
  cursor: pointer;
  margin: 0;
  padding: 0;
  color: inherit;
  background-color: transparent;
  border: none;
}
:root :where(.is-layout-flow) > :first-child{
  margin-block-start: initial;
}
:root :where(.is-layout-flow) > * {
  margin-block-start: initial;
}
ul[class],
ol[class]{
  list-style-type: none;
  padding-left: 0;
}
h1, h2, h3, h4, h5{
  margin: 0;
}

@media screen and (max-width: 1200px) {
  :root{
    --main-inner: calc(1vw * 86.666 - var(--scrollbar-width));
  }
}
@media screen and (max-width: 768px){
  :root{
    --side-padding: 0px;
  }
}
@container main (max-width: 1280px){

}

/******************************************************
 *  Layer
 ******************************************************/
.l-header{
  padding: 1.5rem var(--side-padding);
  position: fixed;
  top: 4rem;
  right: 0;
  z-index: 5000;
  background-color: var(--color-white);
  border-radius: 0.5rem 0 0 0.5rem;
  box-shadow: 0px 2px 5px 0 rgb(84 99 128 / 0.2);
}

.l-header__nav,
.l-header__mobile-nav{
  column-gap: 3.5rem;
  color: var(--color-text);
  font-family: var(--font-famiry-en);
  font-style: var(--font-famiry-en-style);
  font-weight: var(--font-weight-bold);
}
.l-header__trigger-container{
    display: none;
  }

.l-header__link{
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}
.l-header__link a{
  text-decoration: none;
}
.l-header__link.is-current{
  color: var(--color-lightblue);
}

.l-header .l-header__mobile-nav{
  display: none;
}
.l-header__cta-container{
  column-gap: 1rem;
}
.l-header__cta{
  font-size: 1.8rem;
}
.l-header__cta a{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  padding: 0 3.5rem;
  position: relative;
  z-index: 0;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 5rem;
  overflow: hidden;
}
.l-header__cta a::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 5rem;
  pointer-events: none;
}
.l-header__cta--recruit a{
  background-color: var(--color-lightblue);
}
.l-header__cta--recruit a::before{
  border: 0.2rem solid var(--color-lightblue);
}
.l-header__cta--contact a{
  background-image: var(--gradient-main);
}
.l-header__cta-inner--contact{
  position: relative;
  z-index: 5;
}
.l-header__cta--contact a::before{
  width: calc(100% - 0.4rem);
  height: calc(100% - 0.4rem);
  top: 0.2rem;
  left: 0.2rem;
  background-color: var(--color-white);
  opacity: 0;
}
.p-top .l-header__link a[href="/"],
.p-company .l-header__link a[href$="/company/"],
.p-works .l-header__link a[href$="/works/"]{
  color: var(--color-lightblue);
}
@media (hover: hover){
  .l-header__link a:hover{
    color: var(--color-lightblue);
  }
  .l-header__cta a,
  .l-header__cta-inner--contact,
  .l-header__cta--contact a::before{
    transition: all 100ms ease-in-out 0s;
  }
  .l-header__cta--recruit a:hover{
    color: var(--color-lightblue);
    background-color: var(--color-white);
  }
  .l-header__cta--contact:has(a:hover) .l-header__cta-inner--contact{
    display: inline-block;
    background-clip: text;
    color: transparent;
    background-image: var(--gradient-main);
  }
  .l-header__cta--contact a:hover{
    background-color: var(--color-white);
  }
  .l-header__cta--contact a:hover::before{
    opacity: 1;
  }
  .l-header__nav .l-header__cta--contact a:hover::after{
    color: var(--color-pink);
  }
}

.l-main{
  container: main / inline-size;
  margin-top: 0;
}

.l-contact{
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.l-contact::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background: url(../images/common/contact-bg_pc.jpg) no-repeat center / cover;
}
.l-contact__link{
  display: grid;
  grid-template-columns: auto 9rem;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  column-gap: 5.2rem;
  aspect-ratio: 1520 / 530;
  padding-left: calc(var(--side-margin) + var(--side-padding) + 12rem);
  position: relative;
  z-index: 5;
}
.l-contact__link::before,
.l-contact__link::after{
  grid-row: 1;
  grid-column: 2;
  content: "";
  display: block;
  width: 9rem;
  aspect-ratio: 1 / 1;
}
.l-contact__link::before{
  background: url(../images/common/button_stroke-gray.png) no-repeat center / contain;
  opacity: 1;
}
.l-contact__link::after{
  background: url(../images/common/button_fill-white.png) no-repeat center / contain;
  opacity: 0;
  z-index: 5;
}

@media (hover: hover){
  .l-contact::before{
    will-change: scale;
    transition: scale 400ms ease-in-out 0s;
    scale: 1;
  }
  .l-contact:has(a:hover)::before{
    scale: 1.3;
  }
  .l-contact__link > span{
    will-change: filter;
    transition: filter 400ms ease-in-out 0s;
    filter: brightness(1);
  }
  .l-contact__link:hover > span{
    filter: brightness(10);
  }
  .l-contact__link::before,
  .l-contact__link::after{
    will-change: opacity;
    transition: opacity 400ms ease-in-out 0s;
  }
  .l-contact__link:hover::before{
    opacity: 0;
  }
  .l-contact__link:hover::after{
    opacity: 1;
  }
}

.l-footer{
  margin-top: 0;
  padding-top: 12rem;
  padding-bottom: 2.7rem;
  letter-spacing: 0.05em;
  background: var(--color-white) url(../images/common/footer-bg.png) no-repeat right center / contain;
}
.l-footer__inner{
  margin-left: calc(var(--side-margin) + var(--side-padding));
}
.l-footer__company-name{
  margin-top: 2.7rem;
  margin-bottom: 2rem;
  font-size: 2.4rem;
  font-weight: var(--font-weight-bold);
}
.l-footer__company-address{
  row-gap: 0;
  letter-spacing: 0.05em;
}
.l-footer__company-tel{
  display: inline-flex;
  column-gap: 1.1rem;
  margin-top: 1.2rem;
  letter-spacing: 0.05em;
}
.l-footer__sns{
  margin-top: 3.2rem;
}
.l-footer__copyright{
  display: block;
  width: max-content;
  margin-top: 3.6rem;
  margin-right: calc(var(--side-margin) + var(--side-padding));
  margin-left: auto;
  font-size: 1.4rem;
  font-family: var(--font-famiry-en);
  font-style: var(--font-famiry-en-style);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0;
}
@media screen and (max-width: 1200px) {
  .l-header{
    width: 18.5rem;
    padding: 1.2rem 0.8rem 1.2rem 2rem;
    top: 3rem;
  }
  .l-header__inner{
    column-gap: 0;
    justify-content: space-between;
  }
  .l-header .l-header__mobile-nav{
    display: block;
    margin-right: 1rem;
  }
  .l-header__cta--mobile{
    font-size: 1.4rem;
  }
  .l-header__cta--mobile a{
    height: 3.6rem;
    padding: 1.1rem 2rem;
  }
  .l-header__trigger-container{
    display: block;
    position: relative;
    right: 0.8rem;
  }
  .is-open .l-header__trigger-container{
    position: fixed;
    top: 4.2rem;
    z-index: 750;
  }
  .l-header__nav-trigger{
    width: 4.4rem;
    height: 4.4rem;
    position: relative;
  }
  .l-header__trigger-inner{
    display: block;
    text-indent: 100vw;
    white-space: nowrap;
    overflow: hidden;
  }
  .l-header__nav-trigger::before,
  .l-header__trigger-inner::before,
  .l-header__trigger-inner::after{
    content: "";
    display: block;
    height: 0.3rem;
    position: absolute;
    left: 1rem;
    z-index: 0;
    background-color: var(--color-text);
    rotate: 0deg;
    transition: rotate 200ms ease-in-out 0s;
  }
  .l-header__trigger-inner::before{
    width: 2.5rem;
    top: calc(0.9rem + 0.2rem);
    transform-origin: right;
  }
  .l-header__nav-trigger::before{
    width: 2rem;
    top: calc(50% - 0.2rem);
  }
  .l-header__trigger-inner::after{
    width: 1.5rem;
    top: calc(100% - (0.9rem + 0.3rem) - 0.3rem);
    transform-origin: right;
  }
  .is-open .l-header__nav-trigger::before{
    opacity: 0;
  }
  .is-open .l-header__trigger-inner::before{
    width: 3.1rem;
    top: 21%;
    left: 0.2rem;
    rotate: -45deg;
  }
  .is-open .l-header__trigger-inner::after{
    width: 3.1rem;
    top: 70%;
    left: 0.2rem;
    rotate: 45deg;
  }
  .l-header .l-header__nav{
    display: none;
  }
  .l-header.is-open .l-header__nav{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 8.4rem) auto;
    justify-items: center;
    align-items: flex-start;
    row-gap: 0;
    width: min(33rem, 100%);
    height: 100dvh;
    padding: 12rem 6rem 6rem 5rem;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 500;
    background-color: var(--color-white);
    overflow-y: auto;
  }
  .l-header__link a{
    font-size: 2.4rem;
  }
  .l-header__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 8.4rem;
    border-bottom: 0.2rem solid #E8ECF1;
  }
  .l-header__nav .l-header__link:first-of-type{
    border-top: 0.2rem solid #E8ECF1;
  }
  .l-header .l-header__cta-container{
    flex-direction: column;
    row-gap: 2.5rem;
    margin-top: 5rem;
  }
  .l-header__nav .l-header__cta{
    font-size: 2.4rem;
  }
  .l-header__nav .l-header__cta a{
    width: 22rem;
    height: 4.9rem;
  }
  .l-header__nav .l-header__cta a::after{
    --this-color: currentColor;
    content: "";
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    position: absolute;
    top: calc(50% - 0.4rem);
    right: 1.8rem;
    z-index: 0;
    border-top: 0.2rem solid var(--this-color);
    border-right: 0.2rem solid var(--this-color);
    rotate: 45deg;
  }

  .l-contact__link{
    justify-content: center;
    padding-left: var(--side-margin);
  }
  .l-footer{
    background-image: url(../images/common/footer-bg_sp.png);
    background-position: right bottom;
  }
}
@media screen and (max-width: 768px){
  .l-contact::before{
    background-image: url(../images/common/contact-bg_sp.jpg);
  }
  .l-contact__link{
    grid-template-columns: auto 5rem;
    column-gap: 3.2rem;
    aspect-ratio: 375 / 360;
    padding: 0 calc(var(--side-margin) + 2.5rem);
  }
  .l-contact__link::before,
  .l-contact__link::after{
    width: 5rem;
    height: 5rem;
  }
  .l-contact__link > span{
    display: block;
    max-width: 22.4rem;
    aspect-ratio: 203 / 64;
  }
  .l-contact__link img{
    width: 100%;
    height: auto;
  }
  .l-footer{
    padding-top: 11rem;
  }
  .l-footer__company-name{
    font-size: 2rem;
    letter-spacing: 0.05em;
  }
  .l-footer__company-address{
    font-size: 1.4rem;
  }
  .l-footer__company-tel{
    font-size: 1.4rem;
  }
}
@container main (max-width: 1280px){

}

/******************************************************
 *  Component
 ******************************************************/
.c-button{
  --this-textcolor: var(--color-white);
  --this-bgcolor: var(--color-text);
  --this-bordercolor: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.5rem 0;
  position: relative;
  color: var(--this-textcolor);
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  background-color: var(--this-bgcolor);
  border: 0.2rem solid var(--this-bordercolor);
  border-radius: 5rem;
}
.c-button--w{
  --this-textcolor: var(--color-text);
  --this-bgcolor: var(--color-white);
  --this-bordercolor: var(--color-white);
}
.c-button__inner::after{
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: calc(50% - 0.5rem);
  right: 1.7rem;
  z-index: 0;
  border-right: 0.2rem solid var(--this-textcolor);
  border-bottom: 0.2rem solid var(--this-textcolor);
  rotate: -45deg;
}
.c-decline{
  align-items: flex-start;
  column-gap: 4rem;
}
.c-decline__list{
  flex-basis: calc((100% - 4rem) / 2);
  border-bottom: 0.2rem solid #E8ECF1;
}
.c-decline__item{
  padding: 3.8rem 2rem;
  border-top: 0.2rem solid #E8ECF1;
}
.c-decline__title{
  margin-bottom: 1.6rem;
  font-size: 1.8rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1rem;
}
.c-decline__body{
  letter-spacing: 0.05em;
  line-height: 1.625;
}
.c-decline__body > p:first-child{
  margin-top: 0;
}

@media (hover: hover){
  .c-button,
  .c-button__inner::after{
    transition: all 100ms ease-in-out 0s;
  }
  .c-button:hover{
    --this-textcolor: var(--color-text);
    --this-bgcolor: var(--color-white);
    background-color: transparent;
  }
  .c-button--w:hover{
    --this-textcolor: var(--color-white);
    --this-bgcolor: var(--color-text);
  }
}
@media screen and (max-width: 1200px) {
  .c-decline{
    flex-direction: column;
    gap: 0;
  }
  .c-decline__list{
    flex-basis: auto;
    width: 100%;
  }
  .c-decline__list:has( + .c-decline__list){
    border-bottom: none;
  }
}
@media screen and (max-width: 768px){
  .c-button{
    font-size: 1.4rem;
  }
  .c-button__inner::after{
    width: 0.8rem;
    height: 0.8rem;
    top: calc(50% - 0.4rem);
    right: 3rem;
  }

  .c-decline__list,
  .c-decline__title{
    font-size: 1.4rem;
  }
  .c-decline__item{
    padding: 2.2rem 2rem;
  }
  .c-decline__title{
    margin-bottom: 1rem;
  }
}
