@charset "utf-8";
/*============= 
common
============= */
:root {
    --primary-white: #FFFFFF;
    --primary-black: #1F1617;
    --primary-gray: #808080;
    --primary-lightGray: #E1DDDD;
    --primary-pink: #F79298;
    --seconary-pink: #EECFD1;
    --tertiary-pink: #F4F0F0;
    --contentWidth: 88.8%;
    --contentPadding: 6.1%;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--primary-black, #1F1617);
    background-color: var(--primary-white, #FFFFFF);
    font-size: 1.6rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.headline {
    font-family: jaf-domus-titling-web, sans-serif;
    font-weight: 200;
    font-style: normal;
    color: var(--primary-black, #1F1617);
    text-align: center;
    font-size: 3rem;
    line-height: 1;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    color: var(--primary-black);
    line-height: 1;
    background-color: var(--primary-white);
    font-size: 1.6rem;
    border: solid 1px var(--primary-black);
    border-radius: 0;
    transition: 0.4s;
}

.btn:hover {
    background-color: var(--primary-lightGray);
    transform: translateY(2px);
}

/* common PC */
@media screen and (min-width: 769px) {
    .headline {
        font-size: 4rem;
    }

    .container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    }

    .footer {
    margin-top: auto;
    }
}
/* pc 769px */

/*============= 
loading
============= */
.loader {
  position: fixed;
  inset: 0;
  background: var(--primary-pink);
  display: grid;
  place-items: center;
  z-index: 9999;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: 
    opacity .6s ease,
    transform .6s cubic-bezier(.22,1,.36,1);
}

.loader__inner.is-fadeup {
  opacity: 0;
  transform: translateY(-20px);
}

/* count */
.loader__count {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary-black);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.loader img {
  width: 80px;
  transform-origin: 50% 65%;
  animation: cradle 1.5s cubic-bezier(.45, .05, .55, .95) infinite;
  will-change: transform;
}

/* fade out */
.loader.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

/* animation */
@keyframes cradle {
  0% {
    transform: rotate(-6deg);
  }
  50% {
    transform: rotate(6deg);
  }
  100% {
    transform: rotate(-6deg);
  }
}

/*============= 
header
============= */
.header {
    padding: 0 6.1%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__topic {
    color: var(--primary-gray);
}

.nav__topic {
    color: var(--primary-white);
}

.header__topic,
.nav__topic {
    font-family: jaf-domus-titling-web, sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1.6rem;
    line-height: auto;
    transition: transform 0.3s ease;
}

.header__topic:hover,
.nav__topic:hover {
    transform: translateY(2px);
}

.logo {
    width: 23px;
    height: 23px;
    margin-right: 8px;
}

.header__topic a,
.nav__topic a {
    display: flex;
    align-items: center;
}

/* nav default */
.nav {
    background-color: var(--primary-gray);
    color: var(--primary-white);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.nav.is-open {
    transform: translateX(0);
}

.nav__header {
    padding: 0 6.1%;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__list {
    margin-top: 16px;
}

.nav__item {
    font-family: jaf-domus-titling-web, sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 2.4rem;
    line-height: auto;
    display: flex;
    flex-direction: column;
}

.nav__parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* nav__toggle */
.nav__toggle {
    position: relative;
    width: 16px;
    height: 16px;
    background: none;
    border: none;
}

.nav__toggle::before,
.nav__toggle::after {
    content: '';
    position: absolute;
    background: var(--primary-white)
}

.nav__toggle::before {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.nav__toggle::after {
    width: 2px;
    height: 16px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    transition: transform 0.3s;
}

/* opened */
.nav__item.is-open .nav__toggle::after {
    transform: translateX(-50%) rotate(90deg);
}

/* acordion */
.nav__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 12.2%;
    text-align: left;
}

.nav__item.is-open .nav__sub {
    max-height: 300px;
}

.work__category {
    margin-top: 12px;
}

.work__category:first-of-type {
    margin-top: 0;
}

.work__category:last-of-type {
    margin-bottom: 20px;
}

/* line deco */
.nav__item {
  position: relative;
}

.nav__item:first-of-type::before,
.nav__item:first-of-type::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  height: 1px;
  background-color: var(--primary-white);
}

.nav__item:nth-of-type(2)::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    height: 1px;
    background-color: var(--primary-white);
}

.nav__item::before {
  top: 0;
}

.nav__item::after {
  bottom: 0;
}

.nav__parent,
.nav__item > a {
    padding: 20px 6.1%;
}

/* sns icon */
.spSns {
    display: inline-flex;
    align-items: center;
}

.spSns:first-of-type {
    margin-left: 0;
}

.pcSns {
    display: none;
}

.sns {
    text-align: center;
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.nav.active {
    transform: translateX(0);
}

/* nav hover */
.nav__parent a,
.work__category,
.nav__item a:last-of-type,
.sns a {
    transition: 0.3s;
}

.nav__parent a:hover,
.work__category:hover,
.nav__item a:last-of-type:hover,
.sns a:hover {
    color: var(--primary-pink);
    transform: translateY(2px);
}

/* header PC */
@media screen and (min-width:769px) {
    .header__topic,
    .nav__topic {
        font-size: 1.8rem;
    }

    .header {
        width: 100%;
        height: 68px;
        padding: 16px 60px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        background-color: var(--primary-white);
    }   

    .main {
        padding-top: 68px;
    }

    .logo {
        width: 30px;
        height: 30px;
    }

    .nav__header,
    .header__btn,
    .nav__btn,
    .nav__toggle {
        display: none;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translateX(0);
    }

    .nav__item {
        color: var(--primary-black);
        text-align: center;
        font-size: 1.8rem;
        flex-direction: row;
    }

    .spSns {
        display: none;
    }

    .pcSns {
        display: flex;
        align-items: center;
    }

    .sns {
        gap: 18px;
        margin: 0 0 0 30px;
    }

    .nav__pc {
        display: flex;
    }

    .nav__list {
        display: flex;
        align-items: center;
        margin-top: 0;
        gap: 30px;
    }

    .nav__item--has-sub {
        position: relative;
    }

    .nav__sub {
        position: absolute;
        max-height: none;
        width: max-content;
        overflow: visible;
        top: 100%;
        left: 0;
        background-color: var(--primary-white);
        padding: 24px 24px 12px 24px;
        margin-left: -24px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transform: translateY(4px);
        transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.4,0,.2,1)cubic-bezier(.22,1,.36,1), filter 0.6s ease;
        transition-delay: 0.15s, 0s;
        filter: blur(1.5px);
        pointer-events: none;
    }

    .nav__sub li {
        margin: 0;
        padding: 8px 0;
    }

    .nav__sub a {
        display: block;
        padding-left: 0;
    }

    .nav__item--has-sub:hover .nav__sub {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .work__category {
        margin: 0;
    }

    .work__category:last-of-type {
        margin-bottom: 0;
    }

    .nav__item > a,
    .nav__parent {
        padding: 0;
    }

    .nav__item.is-hover .nav__sub {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
        pointer-events: auto;
    }

    .nav__item.is-leaving .nav__sub {
        opacity: 0;
        transform: translateY(2px);
        filter: blur(2px);
    }
}
/* pc 769px */

/*============= 
footer
============= */
.copy {
    font-family: jaf-domus-titling-web, sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1.4rem;
    color: var(--primary-gray);
    text-align: center;
}

.footer {
    background-color: var(--seconary-pink);
    padding: 8px 0;
}