/*
Theme Name: Template vol.1
Theme URI:　
Version: 1.01
*/

/*######################################################################

		Base CSS

************************************************************************/

*,
*::before,
*::after {
  box-sizing: border-box;
  min-inline-size: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

body {
  color: #111;
  font-size: var(--font-size-17);
  font-family: "rl-limo", "noto-sans-cjk-jp", sans-serif;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: clip;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

:where(ul, ol) {
  list-style: none;
  list-style-type: '';
  padding: unset;
  margin: 0;
}

h1, h2, h3, h4, button, input, label {
  line-height: 1.4;
}

img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(:any-link, button, [type='button'], [type='reset'], [type='submit'], label[for], select, summary, [role='tab'], [role='button']) {
  cursor: pointer;
}

:where(button, [type='button'], [type='reset'], [type='submit']) {
  touch-action: manipulation;
}

legend, fieldset {
  all: unset;
}

input, button, textarea, select {
  font: inherit;
}

:target {
  scroll-margin-block: 5ex;
}

:focus:not(:focus-visible) {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after, ::backdrop {
    background-attachment: scroll !important;
    transition-delay: 0s !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

a {
  color: #343434;
  text-decoration: none;
  transition: .3s;
}

a:hover {
  color: #343434;
  text-decoration: underline;
}

.op {
  position: fixed;
  inset: 0;
  background-color: #343434;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
}

.op__logo {
  position: relative;
  max-width: 340px;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 1s ease, filter 1s ease;
  z-index: 1;
}

@media not all and (min-width: 768px){
  .op__logo {
    max-width: 200px;
  }
}

.op__logo img {
  display: block;
  width: 100%;
}

.op__logo.show {
  opacity: 1;
  filter: blur(0);
}

.op__number {
  position: absolute;
  bottom: 40px;
  left: 50%;
  translate: -50% 0;
  color: #fff;
  font-size: 70px;
  text-align: center;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 2;
}

.op__number.show {
  opacity: 1;
}

.op__number.fadeout {
  opacity: 0;
  filter: blur(4px);
}

@media not all and (min-width: 768px){
  .op__number {
    font-size: 40px;
  }
}

.section__heading {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 80px;
}

.service-section__heading {
  font-size: 21px;
}

.service-section__heading-en {
  font-size: 80px;
}

@media not all and (min-width: 768px){
  .service-section__heading {
    font-size: 18px;
  }

  .service-section__heading-en {
    font-size: 40px;
  }
}

.contents-fadein {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  transition: all 1.3s ease;
}

.contents-fadein.action {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}


.fade-color {
  transition: color 0.8s ease;
}

body {
  transition: background-color 1s ease, color 1s ease;
}

body.bg-dark {
  background-color: #343434;
  color: #fff;
}

body.bk-gray {
  background-color: #aaaaaa;
  color: #343434;
}

.fade-color.active {
  color: #fff;
}


/*	Header  */

.header__wrap {
  display: flex;
	justify-content: space-between;
  align-items: center;
	flex-wrap: wrap;
  margin-inline: auto;
  padding: 40px;
  max-width: 1480px;
  opacity: 0;
  filter: blur(6px);
  animation: 1s mv-animation 8.5s forwards;
}

@media not all and (min-width: 768px){
  .header__wrap {
    padding: 20px;
  }
}

.header__logo {
  width: 140px;
}

.header__logo .site-title {
  display: block !important;
  position: absolute;
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  white-space: nowrap;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  contain: strict !important;
  opacity: 0 !important;
}

.header__contact a {
  display: block;
  position: relative;
}


/*	Contents  */

.mv-section {
  margin-bottom: 200px;
}

.mv-wrap {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  height: calc(100svh - 108px);
}

@media not all and (min-width: 768px){
  .mv-wrap {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    height: calc(100svh - 68px);
  }
}

.mv-text__jp {
  margin-bottom: 40px;
  margin-left: auto;
  padding-inline: 40px;
  max-width: 800px;
  opacity: 0;
  filter: blur(6px);
  animation: 1s mv-animation 7s forwards;
}

.mv-text__en {
  margin-bottom: 100px;
  margin-left: auto;
  padding-inline: 40px;
  max-width: 800px;
  opacity: 0;
  filter: blur(6px);
  animation: 1s mv-animation 7.3s forwards;
}

@media not all and (min-width: 768px){
  .mv-text__jp {
    margin-bottom: 20px;
    padding-inline: 20px;
    font-size: 16px;
  }

  .mv-text__en {
    margin-bottom: 60px;
    padding-inline: 20px;
    font-size: 14px;
  }
}

.mv-logo {
  margin-left: auto;
  width: 95%;
  opacity: 0;
  filter: blur(6px);
  animation: 1s mv-animation 7.6s forwards;
}

@keyframes mv-animation {
  0% {
    opacity: 0;
    filter: blur(6px);
    translate: 0 10px;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    translate: 0 0;
  }
}

@media not all and (min-width: 768px){
  .mv-logo {
    margin-bottom: 40px;
  }
}

.mv-logo img {
  width: 100%;
}

.works-section {
  margin-inline: auto;
  padding-inline: 40px;
  max-width: 1480px;
}

@media not all and (min-width: 768px){
  .works-section {
    padding-inline: 20px;
  }
}

.works-section__title {
  display: block !important;
  position: absolute;
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  white-space: nowrap;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  contain: strict !important;
  opacity: 0 !important;
}

.works-list li {
  display: flex;
	justify-content: space-between;
  flex-direction: row-reverse;
	flex-wrap: wrap;
  margin-bottom: 150px;
}

.works-image {
  width: 55%;
}

.works-text {
  width: 40%;
}

@media not all and (min-width: 1000px){
  .works-list li {
    flex-direction: row;
    margin-bottom: 80px;
  }

  .works-image {
    order: 2;
    margin-bottom: 40px;
    width: 100%;
  }

  .works-text {
    display: contents;
    width: 100%;
  }
}

.works-heading-group {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  margin-bottom: 40px;
}

.works-sentence {
  margin-bottom: 80px;
}

.works-sentence p:not(:last-child) {
  margin-bottom: 20px;
}

.works-link a {
  display: flex;
  align-items: center;
  gap: 20px;
}

.works-link a:after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background-image: url(./assets/images/common/icon-Arrow.svg);
  background-size: 10px;
	background-repeat: no-repeat;
	background-position: center;
}

@media not all and (min-width: 1000px){
  .works-heading-group {
    order: 1;
  }
  .works-sentence {
    order: 3;
  }
  .works-link {
    order: 4;
  }
}

@media not all and (min-width: 768px){
  .works-heading-group {
    margin-bottom: 20px;
  }
  .works-sentence {
    margin-bottom: 40px;
  }
}

.service-section__wrap {
  margin-inline: auto;
  padding: 200px 40px;
  max-width: 1480px;
}

.service-item {
  margin-left: auto;
  max-width: 1000px;
}

.service-item:not(:last-child) {
  margin-bottom: 100px;
}

.service-item__heading {
  margin-bottom: 40px;
  font-size: 32px;
}

.service-item__text {
  font-size: 18px;
}

@media not all and (min-width: 768px){
  .service-item__heading {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .service-item__text {
    font-size: 16px;
  }
}


/*######################################################################

		Footer

************************************************************************/

.footer {
  overflow: hidden;
}

.footer-contact {
  position: relative;
  padding-block: 200px 160px;
}

@media not all and (min-width: 768px){
  .footer-contact {
    padding-block: 120px 40px;
  }
}

.footer-contact__hgroup {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 80px;
  text-align: center;
}

.footer-contact__heading {
  font-size: 21px;
}

.footer-contact__heading-en {
  font-size: 80px;
}

@media not all and (min-width: 768px){
  .footer-contact__hgroup {
    margin-bottom: 40px;
  }

  .footer-contact__heading {
    font-size: 18px;
  }

  .footer-contact__heading-en {
    font-size: 50px;
  }
}

.footer-contact__text {
  margin-inline: auto;
  margin-bottom: 80px;
  padding-inline: 40px;
  max-width: fit-content;
}

@media not all and (min-width: 768px){
  .footer-contact__text {
    margin-bottom: 40px;
    padding-inline: 20px;
  }
}

.footer-contact__form {
  margin-inline: auto;
  padding-inline: 40px;
  max-width: 800px;
}

@media not all and (min-width: 768px){
  .footer-contact__form {
    padding-inline: 20px;
  }
}

.form-item {
  margin-bottom: 40px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}

.required {
  display: grid;
  place-content: center;
  width: 60px;
  height: 30px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  background-color: #343434;
  border-radius: 4px;
}

.example {
  color: #555;
  font-size: 14px;
  visibility: visible;
}

.form-item input[type="text"],
.form-item input[type="email"] {
  display: block;
  margin-bottom: 10px;
  padding: 20px;
  width: 100%;
  background-color: #fff;
  border: 0;
  border-radius: 4px;
}

.form-item textarea {
  display: block;
  margin-bottom: 10px;
  padding: 20px;
  width: 100%;
  height: 300px;
  background-color: #fff;
  border: 0;
  border-radius: 4px;
}

.form-submit {
  display: grid;
  place-content: center;
  width: 100%;
  height: 80px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  background-color: #343434;
  border: 0;
  border-radius: 4px;
  transition: .5s;
}

@media (any-hover: hover) {
  .form-submit:hover {
    color: #343434;
    background-color: #ddd;
  }
}

.form-submit:focus-visible {
  color: #343434;
  background-color: #fff;
}

@media not all and (min-width: 768px){
  .form-submit {
    height: 60px;
    font-size: 18px;
  }
}

.copyright {
  position: fixed;
  top: 50%;
  left: 10px;
  translate: 0 -50%;
  font-size: 14px;
  writing-mode: vertical-rl;
  opacity: 0;
  filter: blur(6px);
  animation: 1s mv-animation 8.5s forwards;
}

.footer-logo {
  translate: 0 11px;
  width: 100vw;
}

.footer-logo img {
  width: 100%;
}

.footer-infinity-loop {
  position: absolute;
  top: 0;
  color: #908B56;
  font-size: 140px;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
}

.footer-infinity-loop .loop-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 80s linear infinite;
}

.footer-infinity-loop p {
  display: inline-block;
  padding-right: 2rem;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media not all and (min-width: 768px){
  .footer-infinity-loop {
    top: -110px;
    font-size: 80px;
  }
}