@charset "UTF-8";

/*==========
comon
==========*/
:root {
  --color-white: #FFFFFF;
  --color-black: #3A3A3A;
  --main-color-pink: #D8A39D;
  --color-rightpink: #F4E9E7;
  --bg-color-pink: #FDFBFB;
  --font-english: "Work Sans", sans-serif;
  --font-title: "Zen Kaku Gothic New", Arial, sans-serif;
}

html {
  font-size: 62.5%;
  background-color: var(--color-white, #FFFFFF);
  scroll-behavior: smooth;
}

body {
  font-family:
    var(--font-title);
  font-size: 1.6rem;
  font-style: normal;
  color: var(--color-black, #3A3A3A);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container {
  width: min(92%, 500px);
  margin-left: auto;
  margin-right: auto;
}

.pc {
  display: none;
}

/* font */
h2 {
  font-size: clamp(3.2rem, 3.06rem + 0.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 56px;
}

.h2__en {
  margin-bottom: 6px;
  font-family: var(--font-english);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--main-color-pink);
}

h3, .works__topic h2 {
  font-size: clamp(2rem, 1.86rem + 0.6vw, 2.4rem);
  line-height: 1.3;
}

h3 {
  margin-bottom: 32px;
}


h3.deco::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--main-color-pink);
  border-radius: 1px;
  margin-top: 8px;
}

p + p {
  margin-top: 1em;
}

/* button */
.btn {
  text-align: center;
  margin-top: 56px;
}

.btn a {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  transition: all 0.3s ease;
  font-size: 1.6rem;
  font-weight: 500;
}

.btn span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid var(--main-color-pink);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.btn span::after {
  content: '';
  display: block;
  width: 30px;
  height: 16px;
  background-image: url(../images/common/arrow.svg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.3s ease;
}

.btn a:hover {
  color: var(--main-color-pink);
}

.btn a:hover span {
  background-color: var(--main-color-pink);
}

.btn a:hover span:after {
  background-image: url(../images/common/arrow-hover.svg);
}

/* fadeIn */
.fadeIn,
.fadeIn--works {
  opacity: 0;
  transform: translateY(20px);
}

.fadeIn.is-show,
.fadeIn--works.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}


/*==========
header
==========*/
.container--header {
  height: 72px;
  display: flex;
  justify-content: space-between;
  margin-bottom: -72px;
  padding: 8px;
  position: relative;
  inset: 0;
  z-index: 100;
}

.logo {
  height: 56px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-family: var(--font-english);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.logo img {
  width: 56px;
  height: 56px;
}

.logo:hover {
  color: var(--main-color-pink);
}

.nav__btn {
  display: block;
  width: 56px;
  height: 56px;
  position: fixed;
  top: 6px;
  right: 0;
  z-index: 150;
}

.nav__btn span {
  display: block;
  width: 40px;
  height: 1px;
  border-radius: 1px;
  background-color: var(--color-black);
  outline: 1px solid var(--color-white);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.8);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.6s ease;
}

.nav__btn span:first-of-type {
  top: 40%;
}

.nav__btn span:last-of-type {
  bottom: 40%;
}

.open .nav__btn span {
  outline: none;
  box-shadow: none;
}

.open .nav__btn span:first-of-type {
  top: 27px;
  transform: translate(-50%) rotate(30deg);
}

.open .nav__btn span:last-of-type {
  bottom: 27px;
  transform: translate(-50%) rotate(-30deg);
}

.open .nav__btn span {
  background-color: var(--main-color-pink);
}

.nav {
  background: #FFFFFFF2;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  padding: 64px var(--sectionPadding);
  line-height: 1.25;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
}

.open .nav {
  transform: translateY(0);
}

html.open {
  overflow: hidden;
}

.nav ul {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.nav__area a {
  display: inline-block;
  padding: 0.4em;
  text-align: center;
  font-weight: 400;
  position: relative;
  transition: all 0.3S ease;
}

.nav__area li::after {
  content: '';
  display: block;
  background: var(--main-color-pink);
  width: 20px;
  height: 1px;
  border-radius: 1px;
  margin: -1px auto 0;
  transition: width 0.3s;
}

.nav__area li:hover {
  color: var(--main-color-pink);
}

.nav__area li:hover::after {
  width: 100%;
}

/*==========
scroll (main-visual / sub-page-visual)
==========*/

.scroll {
  width: 100vw;
  display: block;
  position: relative;
  z-index: 10;
}

.scroll::after {
  content: '';
  display: inline-block;
  position: absolute;
  background-color: var(--color-black);
  right: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    height: 0;
    top: -80px;
    opacity: 0;
  }

  30% {
    height: 60px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 60px;
    opacity: 0;
  }
}

/*==========
sub-page-visual
==========*/
.sub-page-visual {
  margin-bottom: 72px;
}

.sub-page-visual hgroup {
  background-image: url(../images/common/header-contact-bg.svg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 104px 4% 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: clamp(3.2rem, 2.64rem + 2.4vw, 4.8rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.24em;
  text-indent: 0.12em;
}

.sub-page-visual hgroup p {
  font-family: var(--font-english);
  font-size: clamp(1.8rem, 1.59rem + 0.9vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--main-color-pink);
}

/*==========
contact
==========*/
.contact {
  padding: 56px 24px 24px;
  position: relative;
}

.container--contact {
  max-width: 500px;
  padding: 64px 16px;
  background-color: var(--color-white);
  border-radius: 40px;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 2px 12px 4px rgba(231, 215, 213, 0.24);
}


.contact::after {
  content: '';
  display: block;
  width: 100%;
  height: 60%;
  background-image: url(../images/common/header-contact-bg.svg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  transform: rotate(180deg);
  z-index: -10;
}

.contact h2 {
  font-size: clamp(2.4rem, 2.12rem + 1.2vw, 3.2rem);
  margin-bottom: 40px;
}

.contact p {
  margin-top: 40px;
}

.mail-btn {
  width: 100%;
  max-width: 295px;
  line-height: 1;
  padding: 1.2em 1em;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--main-color-pink);
  border-radius: 30px;
  margin: 32px auto 0;
  transition: all 0.3s ease;
}

.mail-btn::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-image: url(../images/common/link.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.3s ease;
}

.mail-btn:hover {
  background-color: var(--color-rightpink);
}


/*==========
footer
==========*/
footer {
  background-color: var(--color-rightpink);
  padding-top: 24px;
  padding-bottom: 24px;
}

.container--footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
}

footer li {
  display: flex;
  align-items: center;
}

footer li a {
  padding: 0 0.5em;
  transition: all 0.3s ease;
}

footer li + li::before {
  content: '';
  display: inline-block;
  background-color: var(--main-color-pink);
  width: 1px;
  height: 18px;
  border-radius: 0.5px;
  margin-right: 0.5em;
}

footer li a:hover {
  color: var(--main-color-pink);
}

.copy small {
  text-align: center;
  font-family: var(--font-english);
  font-size: 1.2rem;
  font-weight: 300;
}

/*==========
top-btn
==========*/
.top-btn {
  display: block;
  position: fixed;
  bottom: 8px;
  right: 8px;
  width: 64px;
  height: 64px;
  font-family: var(--font-english);
  text-decoration: none;
  z-index: 90;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease ,opacity 0.3s ease;
}

.top-btn.in {
  visibility: visible;
  opacity: 1;
}

.top-btn__txt {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.top-btn__txt span {
  position: absolute;
  left: 50%;
  font-size: 1rem;
  text-shadow: 0 0 2px #F4E9E7BF, 0 0 2px #F4E9E7BF;
  transform-origin: 0 calc(64px / 2);
}

.top-btn__arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  filter: drop-shadow(0 0 3px #F4E9E7BF) drop-shadow(0 0 3px #F4E9E7BF);
  animation: arrow-up 2s infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes arrow-up {
  0% {
    transform: translate(0, -50%) translateY(5px);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translate(0, -50%) translateY(-5px);
    opacity: 0;
  }
}

/*====================
works (top&works page)
====================*/
.works__list {
  display: grid;
  gap: 32px;
}

.works li a {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: rgba(244, 233, 231, 0.32);
  transition: box-shadow 0.5s ease;
}

.works li a:hover {
  box-shadow: 0 0 20px 5px rgba(216, 163, 157, 0.5);

}

.works figure {
  overflow: hidden;
}

.works img {
  height: auto;
  transition: transform 0.5s ease;
}

.works li:hover img {
  transform: scale(1.05);
}

.works__txt {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}


.works__topic {
  display: inline-block;
  font-weight: 500;
}

.works__topic h2,
.works__topic h3 {
  margin-bottom: 0;
}

.works__topic h3::after {
  display: none;
  margin-bottom: 0;
}

.works__topic p {
  display: block;
  width: fit-content;
  color: var(--color-white);
  font-family: var(--font-english);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  background-color: var(--main-color-pink);
  margin-bottom: 0.2em;
  padding: 0.2em 0.6em;
  border-radius: 10px;
}


.fiction h2::after,
.fiction h3::after {
  content: '(架空)';
  display: inline-block;
  font-size: 1.6rem;
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black);
  margin-left: 0.5em;
}

.works__txt > p {
  text-align: justify;
  line-height: 1.5;
}

.works__link {
  margin: auto 0 0 auto;
}

.works__link span {
  display: inline-block;
  padding: 0 20px 2px 2px;
  border-bottom: 1px solid var(--main-color-pink);
  transition: all 0.8s ease;
  position: relative;
}

.works__link span::after {
  content: '';
  display: block;
  width: 11.3px;
  height: 1px;
  position: absolute;
  bottom: 3px;
  right: -1.05px;
  background-color: var(--main-color-pink);
  transform: rotate(45deg);
}


/*  PC 
============================================= */
@media screen and (min-width: 769px) {
  /*==========
  comon pc
  ==========*/
  .sp {
    display: none;
  }
      
  .pc {
    display: block;
  }

  .container {
    width: min(92%, 1000px);
  }

  /*==========
  header pc
  ==========*/
  .header__topic a {
    font-size: 3.2rem;
    top: 18px;
    left: 24px;
  }

  .nav__btn {
    right: 8px;
  }

  .nav {
    background: var(--color-white);
    width: auto;
    height: auto;
    padding: 120px 72px;
    top: -20px;
    z-index: 100;
    transform: translateY(-100%);
    border-radius: 0 0 0 24px;
    box-shadow: -4px 4px 12px 4px rgba(231, 215, 213, 0.24);
  }
  html.open {
    overflow: hidden auto;
  }

  .nav__list {
    gap: 40px;
  }

  /*==========
  sub-page-visual
  ==========*/
  .sub-page-visual hgroup {
    gap: 12px;
    padding: 120px 4% 140px;
  }

  /*==========
  contact pc
  ==========*/
  .contact {
    padding: 60px 60px 48px;
  }

  .container--contact {
    max-width: 1000px;
    padding: 120px 80px;
    border-radius: 80px;
  }

  .contact h2 {
    margin-bottom: 56px;
  }

  .contact__text {
    margin-top: 56px;
  }

  .mail-btn {
    margin-top: 40px;
  }

  /*==========
  footer pc
  ==========*/
  footer {
    padding-top: 40px;
    padding-bottom: 16px;
  }

  .container--footer {
    width: min(92%, 1200px);
    max-width: 1320px;
    padding: 0 60px;
    flex-direction: row;
    justify-content: space-between;
    gap: 56px;
    align-items: flex-end;
    margin-left: auto;
    margin-right: auto;
  }

  /*==========
  cursor pc
  ==========*/
  .cursor {
    width: 16px;
    height: 16px;
    background-color: rgba(58, 58, 58, 0.5);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    z-index: 9999;
  }

  body, a, label, button {
    cursor: none;
  }


  .cursor.hover {
    width: 48px;
    height: 48px;
    background-color: rgba(216, 163, 157, 0.7);
  }

  /*==========
  top-btn pc
  ==========*/
  .top-btn {
    bottom: 16px;
    right: 8px;
    width: 80px;
    height: 80px;
  }
      
  .top-btn__txt span {
    font-size: 1.2rem;
    transform-origin: 0 40px;
  }

  /*====================
  works (top&works page)
  ====================*/
  .works__list {
    gap: 48px;
  }
}