/*
Theme Name: Oracle Design Theme (202512)
Author: Oracle Design Jugem
Author URI: https://oracle-design.com
Version: 1
*/

@charset "utf-8";
/* root */
:root {
  /* color */
  --main-color: #dc8e99;
  --sub-color: #f1d1d6;
  --accent-color: #383d58;
  --bg-color: #fbf3f4;
  --bg-color2: #f8fcf7;
  --text-color: #422a2d;
  /* font-size */
  --main-fz: clamp(1.6rem, 1.455rem + 0.73vw, 2rem);
  --small-fz: clamp(1.3rem, 1.264rem + 0.18vw, 1.4rem);
  --large-fz: clamp(2.6rem, 2.382rem + 1.09vw, 3.2rem);
  --exl-fz: clamp(3.6rem, 3.236rem + 1.82vw, 4.6rem);
  /* font-family */
  --font-ja: 'Zen Kaku Gothic Antique', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --font-en-ls: 0.055em;
  /* animation */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --trans-fast: 0.25s var(--ease);
  --trans-slow: 0.6s var(--ease);
  --hover-op: 0.78;
}
/* common */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  position: relative;
  font-size: var(--main-fz);
  font-family: var(--font-ja);
  color: var(--text-color);
  line-height: 2;
  letter-spacing: 0.08em;
  background: linear-gradient(var(--bg-color, var(--bg-color2)));
  padding: env(safe-area-inset-top, 20px) env(safe-area-inset-right, 20px) env(safe-area-inset-bottom, 20px) env(safe-area-inset-left, 20px); /* for iphone */
  &::before {
    position: fixed;
    min-width: 100vw;
    min-height: 100vh;
    inset: 0;
    content: '';
    overflow: hidden;
    backdrop-filter: brightness(110%);
    opacity: 0.47;
    mix-blend-mode: lighten;
    z-index: -1;
    pointer-events: none;
  }
}
a {
  text-decoration: none;
}
p {
  margin-bottom: 1em;
}
main {
  position: relative;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
}
.section {
  position: relative;
  padding-block: 120px;
}
.inner {
  position: relative;
  max-width: min(1200px, 100%);
  width: 100%;
  margin-inline: auto;
  padding-inline: 24px;
}
.lang-en {
  font-family: var(--font-en);
  letter-spacing: var(--font-en-ls);
}
.lang-ja {
  font-family: var(--font-ja);
}
.section-title {
  text-align: left;
  & .lang-en {
    font-size: var(--exl-fz);
    font-weight: 400;
    letter-spacing: var(--font-en-ls);
  }
  & .lang-ja {
    color: var(--main-color);
    font-weight: 500;
    margin-bottom: 4em;
    &::before {
      position: relative;
      bottom: 2px;
      display: inline-block;
      content: '';
      width: 48px;
      height: 1px;
      margin-right: 1em;
      background-color: var(--main-color);
      vertical-align: middle;
      line-height: 1;
    }
  }
}
.catchcopy {
  display: inline-block;
  font-size: calc(var(--large-fz) - 0.2rem);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 2em;
}
.btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 84px;
  padding-block: 24px;
  z-index: 1;
}
a.btn {
  position: relative;
  min-height: 64px;
  height: auto;
  min-width: 240px;
  display: grid;
  place-items: center;
  padding: 12px 16px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background-color: transparent;
  font-size: calc(var(--small-fz) + 0.2rem);
  letter-spacing: 0.1em;
  overflow: hidden;
  & p {
    margin-bottom: initial;
    line-height: 1.4;
  }
  &::before {
    position: absolute;
    inset: 0;
    content: '';
    display: block;
    background-color: var(--main-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--trans-slow);
    z-index: -1;
  }
}
.div-flex {
  display: flex;
  gap: 48px;
}
.mb-4em {
  margin-bottom: 4em;
}
.text-small {
  font-size: var(--small-fz) !important;
}
a.text-link {
  font-weight: 600;
  color: var(--main-color);
  text-decoration: underline;
}
.bold {
  font-weight: 600;
  color: var(--main-color);
}
.bg-palegreen {
  background-color: var(--bg-color2);
}
.bg-white {
  background-color: #fff;
}
.sns-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
}
.sns-content a {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  content: '';
  background-color: var(--accent-color);
  border-radius: 100vmax;
  &::after {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    content: '';
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}
.sns-content.sns-x a::after {
  background-image: url(./img/logo-x-white.png);
  scale: 0.5;
}
.sns-content.sns-note a::after {
  background-image: url(./img/logo-note-white.png);
}
.sns-content.sns-bluesky a::after {
  background-image: url(./img/logo-bluesky-white.png);
}
.sns-content.sns-insta a::after {
  background-image: url(./img/logo-insta-white.png);
  scale: 0.6;
}
.noise-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent url('./img/noise-bg.png') repeat 0 0;
  background-size: 150px 150px;
  opacity: 0.05;
  visibility: visible;
  pointer-events: none;
  z-index: 10;
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 24px 12px;
  z-index: 1000;
  transition: background-color var(--trans-slow);
  &.on {
    background-color: rgba(247, 245, 243, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  }
}
.header-inner {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  z-index: 1000;
}
.header-logo {
  display: block;
  & img {
    height: 24px;
    object-fit: contain;
  }
}
.navigation {
  position: relative;
}
.navToggle {
  display: none;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 48px;
  font-family: var(--font-en);
  letter-spacing: var(--font-en-ls);
  font-size: calc(var(--small-fz) + 0.1rem);
  font-weight: 500;
}
.nav-content a {
  position: relative;
  font-weight: 500;
}

/* footer */
.footer {
  background-color: var(--accent-color);
  color: var(--bg-color);
  padding: 48px 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  & .sns-list {
    justify-content: flex-end;
    margin-bottom: 12px;
  }
}
img.footer-logo {
  display: block;
  filter: invert(100%);
  max-width: min(360px, 100%);
}
.copyright {
  font-size: var(--small-fz);
  font-family: var(--font-en);
  font-weight: 500;
}
.pageTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background-color: var(--accent-color);
  border-radius: 100vmax;
  border: solid 1px;
  z-index: 800;
}

/* front-mv */
.section#front-mv {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  & > .inner {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }
  &::before,
  &::after {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    content: '';
    pointer-events: none;
  }
  &::before {
    background-color: transparent;
    animation: bg-change 5s linear;
    z-index: -3;
    will-change: background-color;
    opacity: 0.01;
  }
  &::after {
    background: linear-gradient(210deg, peachpuff, var(--main-color), var(--main-color));
    filter: brightness(120%);
    opacity: 0.65;
    z-index: -2;
  }
}
.mv-title {
  position: relative;
  text-align: center;
  color: var(--title-color);
  & .lang-en {
    font-size: var(--exl-fz);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 1em;
  }
  & .lang-ja {
    font-size: var(--main-fz);
  }
  &::before {
    position: absolute;
    inset: 0;
    content: '';
    aspect-ratio: 1/1;
    margin: auto;
    background-color: #fff;
    border-radius: 100vmax;
    transform-origin: center;
    z-index: -1;
    overflow: hidden;
  }
}
.mv-scroll {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: var(--small-fz);
  writing-mode: vertical-rl;
  text-transform: uppercase;
  padding-bottom: 24px;
  z-index: 1;
  &::after {
    display: block;
    width: 1px;
    height: 60px;
    content: '';
    background-color: var(--title-color, currentColor);
    margin-inline: auto;
    animation: scrollLine 2s ease-out infinite;
    will-change: transform, opacity;
  }
}
@keyframes scrollLine {
  0% {
    transform: translateY(-25%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(75%);
    opacity: 0;
  }
}
/* front-mission */
.section#front-mission {
  background-color: #fff;
  overflow: hidden;
  & p {
    margin-bottom: 2em;
  }
  & img {
    display: block;
    pointer-events: none;
    width: 120px;
    height: auto;
    opacity: 0.8;
    margin-bottom: 4em;
  }
  &::after {
    position: absolute;
    top: 10vh;
    right: 12vw;
    width: 840px;
    height: 840px;
    content: '';
    border-radius: 100vmax;
    background: linear-gradient(210deg, var(--bg-color), var(--main-color));
    filter: brightness(107%);
    opacity: 0.27;
    z-index: 1;
  }
}
/* front-fortune */
.section#front-fortune {
  &::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color2);
    z-index: -1;
    pointer-events: none;
  }
  & .div-flex {
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 4em;
  }
}
.fortune-img img {
  display: block;
  object-fit: cover;
  object-position: left bottom;
  max-width: min(360px, 100%);
  min-width: 240px;
  height: 100%;
}
.front-pickup-list {
  display: flex;
  flex-direction: column;
}
.front-pickup-content {
  position: relative;
  margin-bottom: 48px;
  &:last-of-type {
    margin-bottom: initial;
  }
  & h3 {
    font-size: var(--main-fz);
    font-weight: 600;
    margin-bottom: 24px;
    margin-left: 84px;
  }
  & img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 100vmax;
    padding: 12px;
    margin-bottom: 12px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%) sepia(27%) saturate(566%) hue-rotate(302deg) brightness(92%) contrast(86%);
    pointer-events: none;
  }
  & p {
    font-size: calc(var(--small-fz) + 0.2rem);
  }
}
/* front-web */
.section#front-web {
  overflow: hidden;
  &::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-color: var(--bg-color2);
    z-index: -2;
  }
}
.front-web-list {
  position: absolute;
  top: 15vh;
  right: -20vw;
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: -1;
  pointer-events: none;
  & img {
    display: block;
    max-width: 480px;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.17;
    pointer-events: none;
  }
}
/* front-contact */
.section#front-contact {
  padding-block: 184px;
  background: var(--accent-color);
  color: #fff;
  & a.btn {
    transform-origin: top left;
    scale: 1.2;
  }
}
/* front-info */
.info-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #aaa;
}
.info-content a {
  display: grid;
  grid-template-columns: 1fr 4fr;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid #aaa;
  transition: padding var(--trans-fast);
  & time {
    font-family: var(--font-en);
    font-size: var(--small-fz);
    letter-spacing: var(--font-en-ls);
    font-weight: 500;
    color: var(--main-color);
  }
  & h3 {
    font-size: calc(var(--main-fz) - 0.2rem);
    font-weight: 400;
  }
}
/* front-note */
.note-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 2em;
}
.note-content {
  position: relative;
  transition: transform var(--trans-fast);
  & a {
    transform: translateY(0);
    & img {
      display: block;
      margin-bottom: 12px;
      aspect-ratio: 16/9;
      border-radius: 4px;
    }
    & time {
      font-family: var(--font-en);
      font-size: var(--small-fz);
      letter-spacing: var(--font-en-ls);
    }
    & h3 {
      font-size: var(--main-fz);
    }
  }
}

/* menupage */
/* menu-common */
.section.menu-header {
  text-align: center;
  padding-block: 48px;
  height: min(37.5vh, 380px);

  display: grid;
  place-items: center;
  background: linear-gradient(var(--bg-color, var(--bg-color2)));
  overflow: hidden;
  &::before {
    position: absolute;
    top: 40%;
    content: '';
    z-index: 0;
    width: 640px;
    height: 640px;
    content: '';
    border-radius: 100vmax;
    background: linear-gradient(210deg, var(--bg-color), var(--main-color));
    filter: brightness(107%);
    opacity: 0.66;
  }
}
.menu-title {
  & .lang-en {
    font-size: var(--exl-fz);
    font-weight: 300;
  }
  & .lang-ja {
    color: var(--main-color);
  }
}
.menu-circle {
  position: relative;
  overflow: hidden;
  &.left::before,
  &.right::after {
    position: absolute;
    top: 10vh;
    right: 10%;
    content: '';
    z-index: 0;
    width: 540px;
    height: 540px;
    content: '';
    border-radius: 100vmax;
    background: linear-gradient(210deg, var(--bg-color), var(--main-color));
    filter: brightness(107%);
    opacity: 0.25;
    z-index: 0;
  }
  &.left::before {
    right: auto;
    left: 10%;
  }
}
/* menu profile */
.section#profile-concept {
  background-color: #fff;
  & .section-title .lang-en {
    font-size: var(--large-fz);
    margin-bottom: 1em;
  }
}
.section#profile-jugem {
  & .div-flex {
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
  }
}
.profile-img {
  display: block;
  max-width: min(210px, 100%);
  aspect-ratio: 1/1;
  border-radius: 100vmax;
}
.profile-text {
  & p {
    font-size: calc(var(--small-fz) + 0.2rem);
  }
  & .sns-list {
    justify-content: flex-start;
  }
}
.profile-name {
  display: flex;
  align-items: baseline;
  flex-direction: row;
  margin-bottom: 1em;
  gap: 24px;
  & .lang-en {
    font-weight: 400;
    font-size: var(--large-fz);
  }
  & .lang-ja {
    font-size: calc(var(--small-fz) + 0.2rem);
    font-weight: 600;
    color: var(--main-color);
  }
  & + p {
    margin-bottom: 2em;
  }
}
.section#profile-skills {
  background-color: var(--bg-color2);
}
.fav-list {
  border-top: 0.5px solid;
  margin-bottom: 2em;
  & div {
    display: grid;
    grid-template-columns: 1fr 3fr;
    padding-block: 12px;
    border-bottom: 0.5px solid;
    & p {
      margin-bottom: initial;
    }
    & dt,
    & time {
      font-family: var(--font-en);
    }
    & dd {
      font-size: var(--small-fz);
    }
  }
}
.skill-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.skill-content {
  background-color: #fff;
  border: 0.5px solid var(--main-color);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  &:first-of-type {
    grid-column: span 2;
  }
  & figure img {
    display: block;
    margin-inline: auto;
    margin-bottom: 24px;
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%) sepia(27%) saturate(566%) hue-rotate(302deg) brightness(92%) contrast(86%);
  }
  & .lang-en {
    position: relative;
    font-weight: 400;
  }
  & p {
    color: var(--main-color);
    font-size: var(--small-fz);
    font-weight: 600;
    margin-bottom: 2em;
  }
}
.skill-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--small-fz);
  & li {
    border: solid 0.5px;
    padding: 6px 10px;
    border-radius: 100vmax;
  }
}
/* menu-fortune */
.menu-anchor {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  & li a {
    display: flex;
    gap: 6px;
    align-items: center;
    background-color: var(--main-color);
    color: #fff;
    font-size: var(--small-fz);
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 100vmax;
    & .material-symbols-outlined {
      font-size: var(--small-fz);
    }
  }
}
.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.menu-content {
  position: relative;
  background-color: rgba(255, 255, 255, 0.78);
  z-index: 1;
  padding: 48px 24px;
  border: solid 0.5px var(--main-color);
  & h3 {
    font-size: var(--main-fz);
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 24px;
  }
  & strong {
    display: block;
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: solid 0.5px var(--text-color);
    & .lang-ja {
      font-size: var(--small-fz);
    }
  }
  & p {
    font-size: calc(var(--main-fz) - 0.2rem);
  }
}
.caution-list {
  border: solid 2px var(--main-color);
  border-radius: 12px;
  padding: 48px 24px;
  & > div {
    margin-bottom: 2em;
    &:last-of-type {
      margin-bottom: initial;
    }
    & dt {
      font-weight: 600;
      margin-bottom: 1em;
    }
    & dd {
      font-size: calc(var(--main-fz) - 0.2rem);
    }
  }
}
.faq-wrapper {
  display: grid;
}
.faq-content {
  position: relative;
  cursor: pointer;
  border-bottom: solid 0.5px;
  &[open] summary::after {
    position: absolute;
    inset: 0;
    content: '';
    display: block;
  }
  & summary {
    display: grid;
    grid-template-columns: 1fr 36px;
    gap: 4px;
    padding: 24px 12px;
    align-items: center;
    font-weight: 600;
    list-style-type: none;
    &::-webkit-details-marker {
      display: none;
    }
    & .material-symbols-outlined {
      color: var(--main-color);
      transition: transform var(--trans-slow);
    }
  }
  &[open] summary .material-symbols-outlined {
    transform-origin: center;
    transform: rotate(360deg);
    transition: transform var(--trans-slow);
  }
  &[open] p {
    display: inline-block;
    padding: 24px 12px;
    margin-right: 36px;
    font-size: calc(var(--main-fz) - 0.2rem);
  }
}
.section#fortune-contact,
.section#design-contact {
  padding-inline: 12px;
  & .inner {
    background-color: var(--accent-color);
    color: #fff;
    padding-block: 60px;
    border-radius: 12px;
    text-align: center;
    & h3 {
      font-weight: 500;
      font-size: var(--large-fz);
    }
    & .btn-wrapper {
      justify-content: center;
    }
    & a.btn {
      transform-origin: top left;
      z-index: 0;
    }
  }
}
/* menu-works */
.works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-inline: auto;
}
.popup-open {
  display: grid;
  justify-content: flex-start;
  align-items: end;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background-size: cover;
  border-radius: 4px;
  & span {
    display: inline-block;
    padding: 2px 6px;
    border-bottom-left-radius: 4px;
    background-color: var(--accent-color);
    color: #fff;
    font-size: var(--small-fz);
    font-weight: 600;
  }
}
.works-content {
  & dialog {
    position: fixed;
    inset: 0;
    border: none;
    padding: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    &::backdrop {
      backdrop-filter: blur(4px);
      background: rgba(0, 0, 0, 0.3);
    }
  }
}
.popup-close {
  position: fixed;
  top: 24px;
  right: 24px;
  background-color: #fff;
  border-radius: 100vmax;
  display: grid;
  place-items: center;
  line-height: 0;
  width: 48px;
  height: 48px;
}
.popup-inner {
  border-radius: 12px;
  max-width: min(768px, 85vw);
  height: 85vh;
  margin-inline: auto;
  padding: 48px 24px;
  background-color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  & figure {
    margin-bottom: 24px;
  }
}
.popup-img > img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}
.popup-title {
  font-size: calc(var(--main-fz) + 0.2rem);
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 2em;
}

/* menu-contact */
.contact-wrapper {
  max-width: min(980px, 100%);
  margin-inline: auto;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.contact-name {
  & p {
    margin-bottom: 0px;
  }
  & label {
    font-size: calc(var(--main-fz) - 0.2rem);
    font-weight: 600;
  }
}
input:is(:-webkit-autofill, :autofill) {
  background-color: #fff;
}
.contact-input input,
.contact-input textarea {
  width: 100%;
  padding: 12px;
  font-size: var(--main-fz);
  border: 0.5px solid var(--main-color);
  background: #fff;
  border-radius: 4px;
  transition: border-color var(--trans-fast), filter var(--trans-fast);
}
.contact-input:focus-within input,
.contact-input:focus-within textarea {
  border-color: var(--accent-color);
}
.contact-input textarea {
  height: 184px;
  resize: vertical;
}
.privacy-policy {
  padding: 12px;
  margin-bottom: 12px;
  font-size: var(--small-fz);
}
input[type='submit'] {
  padding: 16px 12px;
  width: 100%;
  min-height: 84px;
  font-weight: 600;
  cursor: pointer;
  color: var(--main-color);
  background-color: #fff;
  border: solid 2px;
  transition: background-color 0.15s ease;
}
.wpcf7-turnstile.cf-turnstile {
  text-align: center;
}

/* loading */
#loading {
  width: 100vw;
  height: 100vh;
  transition: all var(--ease) 1s;
  background-color: var(--bg-color);
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  &.loaded {
    opacity: 0;
    visibility: hidden;
  }
}
.loader {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  background: var(--main-color);
  background: linear-gradient(to right, var(--main-color) 10%, rgba(220, 142, 153, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: var(--main-color);
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader:after {
  background: var(--bg-color);
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/* single */
.section-title.single {
  & .lang-en {
    font-size: var(--main-fz);
  }
  & .lang-ja {
    font-size: calc(var(--main-fz) + 0.2rem);
    color: var(--main-color);
    font-weight: 600;
  }
}
.section.single {
  & figure {
    margin-bottom: 24px;
  }
  & p {
    margin-bottom: 2em;
  }
}

/* jquery animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--trans-slow), transform var(--trans-slow);
  &.on {
    opacity: revert;
    transform: translateY(0);
  }
}

/* lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}
.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* media-query */
@media (max-width: 980px) {
  .header {
    padding: 0 12px;
  }
  .btn-wrapper {
    gap: 48px;
  }
  .navigation {
    position: absolute;
    top: 12px;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .nav-list {
    position: fixed;
    display: none;
    gap: 24px;
    &.on {
      top: -36px;
      left: -12px;
      width: 100vw;
      height: calc(var(--vh, 1vh) * 115);
      overflow: hidden;
      background-color: rgba(255, 255, 255, 0.89);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-size: var(--main-fz);
      z-index: 900;
    }
  }
  .navToggle {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    z-index: 1100;
    text-align: center;
    & span {
      position: absolute;
      inset: 0;
      display: block;
      width: 60px;
      height: 60px;
      line-height: 60px;
      cursor: pointer;
      z-index: 1100;
    }
  }
  .div-flex {
    flex-direction: column;
  }
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    & .sns-list {
      justify-content: center;
    }
  }
  .fortune-img img {
    height: auto;
    max-width: 100%;
    aspect-ratio: 16/9;
    max-height: 360px;
    object-position: top center;
    width: stretch;
  }
  .front-web-list {
    right: -15vw;
  }
  .note-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-list {
    grid-template-columns: 1fr;
  }
  .works-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .front-web-list {
    right: -50%;
  }
  .info-content a {
    grid-template-columns: 1fr;
  }
  .note-list {
    grid-template-columns: 1fr;
  }
  .fav-list div {
    grid-template-columns: 1.2fr 2fr;
  }
  .works-list {
    grid-template-columns: 1fr;
  }
  .skill-list {
    display: flex;
    flex-direction: column;
  }
  input[type='submit'] {
    font-size: var(--small-fz);
  }
}
@media (any-hover: hover) {
  a:hover {
    transition: var(--trans-fast) opacity;
    opacity: var(--hover-op);
  }
  a.btn:hover {
    border-color: var(--main-color);
    color: #fff;
  }
  a.btn:hover::before {
    transition: transform var(--trans-slow);
    transform: scaleX(1);
    transform-origin: left;
  }
  .nav-content a:hover {
    opacity: 1;
  }
  .nav-content a::after {
    background-color: var(--main-color);
    bottom: -4px;
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
    width: 100%;
  }
  .nav-content a:hover::after {
    transform: scale(1, 1);
  }
  .pageTop {
    transition: var(--trans-fast) opacity;
    &:hover {
      transition: var(--trans-fast) opacity;
      opacity: var(--hover-op);
    }
  }
  .hover-up {
    transform: translateY(0);
    transition: transform var(--trans-fast);
    &:hover {
      transform: translateY(-10px);
      transition: transform var(--trans-fast);
    }
  }
  .info-content a:hover {
    transition: padding var(--trans-fast);
    padding-left: 15px;
    & h3 {
      color: var(--main-color);
    }
  }
  .note-content:hover {
    transition: transform var(--trans-fast);
    transform: translateY(-12px);
  }
  .popup-open,
  .popup-close {
    transition: var(--trans-fast) filter;
    &:hover {
      transition: var(--trans-fast) filter;
      filter: brightness(125%);
    }
  }
  input[type='submit'] {
    transition: var(--trans-fast) background-color, var(--trans-fast) color;
    &:hover {
      background-color: var(--main-color);
      color: #fff;
      transition: var(--trans-fast) background-color, var(--trans-fast) color;
    }
  }
}
