:root {
  --black: #1a1a1a;
  --white: rgba(255, 255, 255, 0.85);
  --bg-black: rgba(0, 0, 0, 0.2);
  --bg-white: #e0e0e0;
  --txt-white: rgba(255, 255, 255, 0.8);
  --txt-blue: hsla(226, 100%, 77%, 0.6);
}
body {
  font-family: "Playfair Display", "Noto Sans", "Noto Sans JP", "Noto Serif JP",
    "sans-serif";
  font-weight: 400;
}
!important.stars {
  background-attachment: fixed;
  position: fixed;
  display: block;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}
canvas {
  width: 100%;
  height: 100%;
  z-index: -1;
}
.star {
  animation: twinkle 4s infinite;
  position: absolute;
  display: block;
  background: linear-gradient(to right, #00dedc, #115d89, #fff);
  border-radius: 50%;
  box-shadow: 0 0 3px 2px rgba(#fff, 0.8);
  opacity: 0;
}
@keyframes twinkle {
  0% {
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.fixed-background {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -10;
  pointer-events: none;
}
.main {
  position: absolute;
}
.wrapper {
  width: 75%;
  height: auto;
  color: var(--txt-white);
}
.btn {
  border: 0.9px solid var(--white);
  padding: 12px 20px 14px 20px;
  width: 120px;
  text-align: center;
  box-shadow: 0 0 4px 1px var(--bg-black);
  margin: 0 auto;
}
.btn:hover {
  opacity: 0.6;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(8px);
  padding: 30px 40px;
  z-index: 999;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo:hover {
  opacity: 0.6;
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}
.header__nav-link {
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--white);
  text-shadow: 0.7px 0.7px 2px var(--black), -0.8px -0.8px 2px var(--bg-black);
}
.header__nav-link:hover {
  opacity: 0.6;
}
.toggle-menu {
  display: none;
}
.section {
  width: 100%;
  border-top: 0.1px solid var(--txt-blue);
  display: grid;
  place-items: center;
  padding: 200px 0;
}
.section__inner {
  color: var(--txt-white);
  margin: 0 auto;
}
.section__head {
  position: relative;
  font-weight: 700;
  margin: 0 auto 50px;
  letter-spacing: 0.5em;
}
.section__ttl {
  position: relative;
  color: var(--txt-white);
  font-weight: 700;
  letter-spacing: 2em;
  z-index: 10;
}
.section__head::before {
  content: attr(data-en);
  position: absolute;
  top: -95px;
  left: -5px;
  font-family: "Noto Sans";
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--txt-blue);
  font-size: 100px;
  white-space: nowrap;
}
.section__txt {
  letter-spacing: 0.07em;
  margin-bottom: 60px;
  line-height: 1.6;
}
.fv {
  width: 100%;
  height: 100vh;
}
.fv__inner {
  color: var(--txt-white);
}
.fv__container {
  padding: 180px 60px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.fv__ttl-box {
  font-family: "Noto Serif JP";
  margin-top: 200px;
}
.fv__ttl {
  font-size: 40px;
  margin-bottom: 8px;
}
.fv__ttl-sub {
  font-size: 20px;
}
.fv__img {
  opacity: 0.7;
  margin: 0 5px;
}
.service__list {
  display: flex;
  justify-content: space-around;
}
.service__item {
  width: 28%;
  height: auto;
  padding: 20px 15px;
  border-radius: 10px;
}
.service__item-img {
  text-align: center;
  margin-bottom: 20px;
  opacity: 0.7;
}
.service__item-ttl {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 15px;
}
.service__item-txt {
  line-height: 1.6;
}
.service__line {
  background-color: var(--txt-blue);
  width: 0.05px;
  max-width: 100%;
}
.work__txt {
  font-family: "Noto Sans";
}
.work__list {
  display: flex;
  justify-content: space-around;
  gap: 8%;
}
.work__item {
  position: relative;
}
.work__item-img {
  text-align: center;
  margin-bottom: 20px;
}
.work__item-ttl {
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 15px;
  font-family: "Noto Sans";
}
.work__item-telop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  letter-spacing: 0.2em;
  width: 80%;
  height: auto;
  background-color: var(--bg-black);
  text-align: center;
  padding: 20px 10px;
  z-index: 10;
}
.flow {
  padding-bottom: 100px;
  color: var(--bg-black);
}
.flow__txt {
  font-family: "Noto Sans";
}
.flow__item {
  display: flex;
  counter-reset: count;
  position: relative;
}
.flow__item + .flow__item {
  margin-top: 60px;
}
.flow__item-img {
  background-color: var(--bg-white);
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  padding: 30px;
  border-radius: 50%;
  position: relative;
  margin-right: 20px;
  width: 100px;
  height: 100px;
  z-index: 10;
  flex-shrink: 0;
}
.flow__item-img::after {
  content: "";
  display: block;
  border-left: dotted 4px var(--txt-blue);
  position: absolute;
  top: 105px;
  left: 50%;
  transform: translateX(-50%);
  height: calc(100%);
}
.flow__item:last-child .flow__item-img::after {
  border-left: none;
}
.flow__item-img + .flow__item-img {
  margin-bottom: 40px;
}
.flow__item-box {
  width: 80%;
  display: block;
}
.flow__item-ttl {
  font-family: "Noto Sans";
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--txt-blue);
}
.flow__item-txt {
  font-family: "Noto Sans";
  line-height: 1.6;
}
.about__contents {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.about__txt-box {
  font-family: "Noto Sans";
  line-height: 1.6;
  width: 70%;
  display: inline-block;
  align-self: center;
}
.about__txt + .about__txt {
  margin-top: 10px;
}
.about__img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.contact {
  padding-bottom: 120px;
}
.contact__txt {
  font-family: "Noto Sans";
}
.contact__nav {
  width: 100%;
  display: flex;
  gap: 20px;
}
.contact__nav-item {
  width: 100%;
}
.contact__nav-link {
  font-size: 24px;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 72px;
}
.footer {
  text-align: center;
  height: 40px;
  padding: 40px 0;
}
.footer__copy {
  color: var(--txt-white);
}
.contact-form {
  font-size: 18px;
  margin-bottom: 200px;
}
.contact-form__wrapper {
  position: relative;
  width: 70%;
  margin: 0 auto;
  color: var(--white);
  display: block;
  top: 80px;
}
.contact-form .section__head::before {
  top: -95px;
  left: 50%;
  transform: translateX(-50%);
}
.contact-form__container {
  text-align: center;
  margin-bottom: 60px;
}
.contact-form__container .section__ttl {
  font-size: 16px;
}
.contact-form__link-txt {
  font-size: 16px;
}
.contact-form__link-txt:hover {
  opacity: 0.6;
}
.contact__contents {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
.form__box {
  display: block;
  width: 100%;
}
.form__box + .form__box {
  margin-top: 30px;
}
.form__ttl {
  font-size: 18px;
  letter-spacing: 0.2em;
}
.form__ttl-required {
  font-size: 12px;
  font-weight: 700;
  background-color: #b1221a;
  margin-left: 10px;
  padding: 0 2px 0 5px;
}
.form__txt-box {
  width: 100%;
  height: 40px;
}
.flex-box {
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.form__txt {
  font-size: 16px;
}
.form__txt-box--other {
  width: 100%;
  height: 200px;
}
.from__btn-box {
  text-align: center;
}
.from__btn {
  background-color: transparent;
  color: var(--white);
  font-size: 18px;
  margin-top: 30px;
}
.end-message,
.false-message {
  font-size: 16px;
  display: none;
  text-align: center;
  margin-top: 20px;
}
.privacy {
  font-size: 16px;
  margin-top: 40px;
}
.privacy__container {
  letter-spacing: 0.2em;
}
.privacy__txt-link {
  border-bottom: 1px solid var(--bg-white);
}
.privacy__txt-link:hover {
  opacity: 0.6;
}
.modal {
  background-color: #f4f4f4;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  z-index: 1001;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: none;
}
.modal__contents {
  color: var(--black);
  font-family: "Noto Sans";
  letter-spacing: 0.1em;
  padding: 10px 10px 40px 10px;
}
.modal--close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  cursor: pointer;
}
.modal--close:hover {
  opacity: 0.6;
}
.modal__ttl {
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  margin: 40px 0 20px 0;
}
.modal__txt-box-ttl {
  font-weight: 700;
}
.modal__txt {
  margin-bottom: 20px;
}
.thanks {
  color: #fff;
  font-family: "Noto Sans";
}
.error__body {
  font-family: "Noto Sans";
  font-weight: 400;
  color: var(--white);
  background-image: url(../img/bg_fv.png);
}
.error-box {
  text-align: center;
  padding-top: 200px;
}
.error-txt-box {
  margin-bottom: 40px;
}
.error__ttl {
  font-size: 64px;
  font-weight: 700;
  color: var(--txt-blue);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}
.error__tll-sub {
  font-size: 18px;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.error__txt {
  font-family: "Noto Sans";
  font-size: 16px;
  letter-spacing: 0.1em;
}
.top__btn {
  background-color: transparent;
  font-family: inherit;
  font-size: inherit;
  border: 0.9px solid var(--white);
  padding: 12px 20px 14px 20px;
  width: 120px;
  text-align: center;
  box-shadow: 0 0 4px 1px var(--bg-black);
  cursor: pointer;
}
.top__btn:hover {
  opacity: 0.6;
}
@media (max-width: 991px) {
  .header__nav-list {
    display: none;
    margin: 0;
  }
  #js-header__contents {
    position: fixed;
    top: 92px;
    width: 100%;
  }
  #js-header__nav-list {
    background-image: url(../img/bg_fv.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    padding: 40px 10px;
    position: fixed;
    top: 90px;
    right: 0;
    overflow-y: auto;
    text-align: center;
  }
  .sp-header__nav-item + .sp-header__nav-item {
    margin-top: 40px;
  }
  #js-toggle-menu {
    display: flex;
    position: fixed;
    border: none;
    top: 24px;
    right: 24px;
    width: 30px;
    height: 36px;
    overflow: hidden;
    color: transparent;
    background: url(../img/header_menu.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
  #js-toggle-menu.js-checked {
    background: url(../img/header_menu-close.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
  body.is-fixed {
    overflow: hidden;
  }
  .fv__img {
    display: none;
  }
}
@media (max-width: 842px) {
  .fv__ttl {
    font-size: 36px;
  }
  .fv__ttl-sub {
    font-size: 16px;
  }
  .service__list,
  .work__list {
    display: block;
  }
  .service__item {
    width: 100%;
  }
  .service__item + .service__item {
    margin-top: 20px;
  }
  .work__list {
    text-align: center;
    align-items: center;
  }
  .work__item + .work__item {
    margin-top: 40px;
  }
  .work__item-telop {
    width: 180px;
  }
  .about__contents {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
  }
  .about__txt-box {
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 767px) {
  p {
    font-size: 14px;
  }
  .section {
    padding: 200px 20px 160px 20px;
  }
  .section__head::before {
    top: -77px;
    left: -5px;
    font-size: 80px;
  }
  .section__ttl {
    letter-spacing: 1.4em;
  }
  .wrapper {
    width: 90%;
  }
  .contact__nav {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .contact__nav-item {
    width: 100%;
  }
  .contact__nav-link {
    width: 100%;
  }
  .contact-form .section__head::before {
    top: -75px;
  }
}
@media (max-width: 575px) {
  .section__head::before {
    top: -58px;
    left: -5px;
    font-size: 60px;
  }
  .section__ttl {
    letter-spacing: 1.4em;
  }
  .contact__nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .contact-form__wrapper {
    width: 100%;
  }
  .contact-form .section__head::before {
    top: -55px;
  }
}
@media (min-width: 575px) and (max-width: 376px) {
  .flow__item-img {
    width: 40px;
    height: 40px;
  }
  .flow__item-img::after {
    content: "";
    display: block;
    height: calc(200%);
    border-left: dotted 5px var(--txt-blue);
    position: absolute;
    top: 90px;
    left: 20px;
  }
}
@media (max-width: 445px) {
  .section__head {
    flex-direction: column;
    align-items: flex-start;
    letter-spacing: 0.2em;
  }
  .section__head::before {
    top: -58px;
    left: -5px;
    font-size: 52px;
  }
  .section__ttl-sub {
    padding-top: 0;
  }
  .fv__container {
    padding: 20px;
    margin-bottom: 0;
  }
  .fv__ttl {
    font-size: 28px;
  }
  .fv__ttl-sub {
    font-size: 18px;
  }
  .fv__contents {
    padding: 20px;
  }
  .fv__txt-box {
    width: 100%;
    padding: 30px 15px;
  }
  .fv__txt {
    font-size: 14px;
  }
  .fv__img {
    display: none;
  }
  .flow__item-img {
    width: 40px;
    height: 40px;
    padding: 8px 8px 8px 8px;
  }
  .flow__item-img::after {
    height: 360%;
    border-left: dotted 3px var(--txt-blue);
    top: 40px;
    left: 18px;
  }
  .flow__item:last-child .flow__item-img::after {
    height: 300%;
    border-left: dotted 3px var(--txt-blue);
  }
}
@media (max-width: 375px) {
  .section__head {
    flex-direction: column;
    align-items: flex-start;
    letter-spacing: 0.2em;
  }
  .section__head::before {
    top: -58px;
    left: -5px;
    font-size: 48px;
  }
  .flow__item-img::after {
    height: 420%;
  }
  .flow__item:last-child .flow__item-img::after {
    height: 340%;
  }
}
