a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  opacity: 0.6;
}

p {
  line-height: 2;
}

h2 {
  font-weight: 400;
  text-align: center;
}
h2.en {
  margin-bottom: 2rem;
  font-size: 3.8rem;
}
@media only screen and (max-width: 768px) {
  h2.en {
    font-size: 3.4rem;
  }
}
h2.en + p {
  text-align: center;
}

picture {
  display: block;
}
picture img {
  display: block;
  width: 100%;
}

svg {
  width: 100%;
  height: auto;
}

.x {
  margin: 0 auto;
  width: 90%;
  max-width: 104rem;
}
@media only screen and (max-width: 768px) {
  .x {
    max-width: 48rem;
  }
}

.y {
  padding: 8rem 0;
}
@media only screen and (max-width: 768px) {
  .y {
    padding: 6rem 0;
  }
}

.light {
  color: #322A28;
  background: #CAB69D;
}

.en {
  font-family: "Marcellus", sans-serif;
}

.pc {
  display: initial;
}
@media only screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}

.sp {
  display: none;
}
@media only screen and (max-width: 768px) {
  .sp {
    display: initial;
  }
}

.reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5rem auto 2rem;
  width: 25rem;
  height: 5rem;
  color: #322A28;
  font-size: 1.8rem;
  background: #B5B5B5;
}
@media only screen and (max-width: 768px) {
  .reserve {
    margin: 4rem auto 2rem;
  }
}
.reserve.invert {
  color: #CAB69D;
  background: #322A28;
}
.reserve.invert + .note {
  color: #322A28;
}
.reserve + .note {
  color: #B5B5B5;
  font-size: 1.4rem;
  line-height: 2;
  text-align: center;
}
@media only screen and (max-width: 768px) {
  .reserve + .note {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 768px) {
  .more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 25rem;
    height: 5rem;
    color: #B5B5B5;
    font-size: 1.8rem;
    border: 0.1rem solid #B5B5B5;
    cursor: pointer;
  }
}

* {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
}

html {
  color: #CAB69D;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 62.5%;
  background: #322A28;
}

body {
  font-size: 1.6rem;
}
@media only screen and (max-width: 768px) {
  body {
    font-size: 1.4rem;
  }
}

#mv {
  margin-bottom: 7rem;
}
@media only screen and (max-width: 768px) {
  #mv {
    margin-bottom: 4rem;
  }
}
#mv .swiper {
  --swiper-theme-color: #CAB69D;
  --swiper-pagination-bullet-inactive-color: #CAB69D;
  --swiper-pagination-bullet-inactive-opacity: .5;
  max-height: 80vh;
}
#mv .swiper .swiper-pagination {
  bottom: 2rem;
}
#mv .swiper .swiper-pagination-bullet {
  margin: 0 1rem;
  width: 3rem;
  height: 0.3rem;
  border-radius: 0;
}

#concept {
  text-align: center;
}
#concept .logo {
  margin: 0 auto 2rem;
  width: 100%;
  max-width: 23.4rem;
  height: auto;
}
@media only screen and (max-width: 768px) {
  #concept .logo {
    max-width: 20rem;
  }
}
#concept .intro {
  margin-bottom: 3rem;
  font-size: 2.2rem;
  line-height: 2;
}
@media only screen and (max-width: 768px) {
  #concept .intro {
    font-size: 1.8rem;
  }
}

#works .grid {
  display: grid;
  grid-template-columns: repeat(3, 29%);
  column-gap: 6.5%;
  row-gap: 6rem;
  margin: 4rem 0 8rem;
}
@media only screen and (max-width: 768px) {
  #works .grid {
    display: block;
    margin-bottom: 5rem;
    padding: 0 5%;
  }
}
#works .grid .item {
  transition: 0.3s;
  cursor: pointer;
}
#works .grid .item:hover {
  opacity: 0.6;
}
@media only screen and (max-width: 768px) {
  #works .grid .item:not(:last-child) {
    margin-bottom: 3rem;
  }
}
@media only screen and (max-width: 768px) {
  #works .grid .item:nth-child(n+4) {
    display: none;
    transform: translateY(3rem);
    opacity: 0;
  }
}
@keyframes works {
  from {
    transform: translateY(3rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media only screen and (max-width: 768px) {
  #works .grid .item:nth-child(n+4).on {
    display: block;
    animation: works forwards 0.6s;
  }
}
#works .grid .item picture {
  margin-bottom: 2rem;
}
#works .grid .item .area {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
#works .grid .item .name {
  margin-bottom: 1rem;
  color: #B5B5B5;
  font-size: 2rem;
  line-height: 1.8;
}
#works .grid .item .info {
  line-height: 2;
}
@media only screen and (max-width: 768px) {
  #works .more {
    margin-bottom: 6rem;
  }
}

@media only screen and (max-width: 768px) {
  #about .service {
    margin: 0 auto;
    max-width: 32rem;
  }
}
#about .service svg {
  margin: 6rem 0 4rem;
}
#about .service svg:nth-child(1) {
  display: initial;
}
@media only screen and (max-width: 768px) {
  #about .service svg:nth-child(1) {
    display: none;
  }
}
#about .service svg:nth-child(2) {
  display: none;
}
@media only screen and (max-width: 768px) {
  #about .service svg:nth-child(2) {
    display: initial;
  }
}
#about + #office {
  margin-top: -0.1rem;
  padding-top: 0;
}

#salon, #office {
  text-align: center;
}
#salon h2 + p, #office h2 + p {
  margin-bottom: 1rem;
}
#salon a.underline, #office a.underline {
  font-size: 1.5rem;
  text-decoration: underline;
}
#salon picture, #office picture {
  margin: 4rem 0;
}

#portfolio {
  text-align: center;
}
#portfolio .box {
  position: relative;
  margin: 2rem 0 8rem;
  padding: 5rem 3rem 3rem;
  border: 0.1rem dashed #CAB69D;
  text-align: left;
}
@media only screen and (max-width: 768px) {
  #portfolio .box {
    margin: 2rem 0 6rem;
    padding: 4rem 2rem 4rem;
  }
}
#portfolio .box h2 {
  position: absolute;
  top: 0;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: fit-content;
  padding: 0 7rem;
  font-size: 2.8rem;
  background: #322A28;
}
@media only screen and (max-width: 768px) {
  #portfolio .box h2 {
    padding: 0 2rem;
    font-size: 1.8rem;
  }
}
#portfolio .box h3 {
  margin-bottom: 0.8rem;
  font-weight: 400;
}
@media only screen and (max-width: 768px) {
  #portfolio .box h3 {
    font-size: 1.6rem;
  }
}
#portfolio .box h3:nth-of-type(2) {
  margin-top: 4rem;
}
#portfolio .box p {
  font-size: 1.4rem;
}
#portfolio .box .grid {
  display: grid;
  grid-template-columns: repeat(3, 30%);
  column-gap: 5%;
}
@media only screen and (max-width: 768px) {
  #portfolio .box .grid {
    display: block;
  }
}
@media only screen and (max-width: 768px) {
  #portfolio .box .grid .item:nth-child(n+2) {
    display: none;
    transform: translateY(3rem);
    opacity: 0;
  }
}
@keyframes works {
  from {
    transform: translateY(3rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media only screen and (max-width: 768px) {
  #portfolio .box .grid .item:nth-child(n+2).on {
    display: block;
    animation: works forwards 0.6s;
  }
}
#portfolio .box .more {
  margin-top: 3rem;
}
#portfolio .box + p {
  margin-bottom: 3rem;
}
#portfolio .box + p + p {
  margin-bottom: 3rem;
  color: #B5B5B5;
}
#portfolio .box + p + p + a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 76rem;
  height: 5rem;
  color: #322A28;
  font-size: 1.8rem;
  background: #B5B5B5;
}
@media only screen and (max-width: 768px) {
  #portfolio .box + p + p + a {
    max-width: 25rem;
  }
}

#modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  visibility: hidden;
  z-index: 10000;
  background: #322A28;
  overflow: hidden;
  opacity: 0;
  transition: 0.6s;
}
#modal.on {
  visibility: visible;
  opacity: 1;
}
#modal .close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  width: 8rem;
  height: 8rem;
  cursor: pointer;
}
#modal .close::before, #modal .close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 6rem;
  height: 0.1rem;
  background: #CAB69D;
}
#modal .close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#modal .close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
#modal .swiper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  width: 300vh;
  max-width: 200vw;
}
@media only screen and (max-width: 768px) {
  #modal .swiper {
    top: 50%;
    width: 90vw;
    max-width: none;
  }
}
#modal .swiper .swiper-slide picture {
  width: 100%;
  height: auto;
  aspect-ratio: 9/6;
  overflow: hidden;
}
#modal .swiper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vh;
  max-width: 66vw;
  opacity: 0;
  transition: opacity 0.3s;
}
@media only screen and (max-width: 768px) {
  #modal .swiper-header {
    display: block;
    max-width: 90vw;
  }
}
#modal .swiper-header .name {
  color: #B5B5B5;
  font-size: 2rem;
  line-height: 1.6;
}
@media only screen and (max-width: 768px) {
  #modal .swiper-header .name {
    margin-bottom: 1rem;
  }
}
#modal .swiper-header .info {
  line-height: 2;
  text-align: right;
}
@media only screen and (max-width: 768px) {
  #modal .swiper-header .info {
    text-align: left;
  }
}
#modal .swiper-ctrl {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vh;
  max-width: 66vw;
  height: 10vh;
  opacity: 0;
  transition: opacity 0.3s;
}
@media only screen and (max-width: 768px) {
  #modal .swiper-ctrl {
    max-width: 90vw;
  }
}
#modal .swiper-button-prev,
#modal .swiper-button-next {
  top: 0;
  margin: 0;
  padding: 2vh 0;
  width: 12vh;
  height: auto;
  transition: 0.3s;
}
#modal .swiper-button-prev:hover,
#modal .swiper-button-next:hover {
  opacity: 0.6;
}
#modal .swiper-button-prev::after,
#modal .swiper-button-next::after {
  content: "";
}
#modal .swiper-button-prev {
  left: 0;
}
#modal .swiper-button-next {
  right: 0;
}
#modal > .swiper-slide {
  display: none;
}

aside {
  position: fixed;
  z-index: 100;
  bottom: 3rem;
  right: 0;
  width: 5rem;
}
aside a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  width: 100%;
  height: 16rem;
  color: #322A28;
  font-size: 1.8rem;
  letter-spacing: 0.3rem;
  text-align: center;
  writing-mode: vertical-rl;
  background: #B5B5B5;
}
aside .pagetop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  background: #B5B5B5;
  transition: 0.3s;
  cursor: pointer;
}
aside .pagetop:hover {
  opacity: 0.6;
}

footer {
  padding: 6rem 0;
  color: #322A28;
}
@media only screen and (max-width: 768px) {
  footer {
    padding: 5rem 0 4rem;
  }
}
footer picture.contact {
  margin-bottom: 6rem;
  width: 15rem;
}
@media only screen and (max-width: 768px) {
  footer picture.contact {
    margin-bottom: 4rem;
    width: 10rem;
  }
}
footer picture.logo {
  margin-bottom: 2rem;
  width: 24rem;
}
@media only screen and (max-width: 768px) {
  footer picture.logo {
    width: 18rem;
  }
}
footer .motto {
  margin-bottom: 2rem;
  line-height: 1.4;
}
footer .grid {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  column-gap: 0;
}
@media only screen and (max-width: 768px) {
  footer .grid {
    display: block;
  }
}
footer .sns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 8rem;
}
@media only screen and (max-width: 768px) {
  footer .sns {
    margin-bottom: 1.5rem;
    width: 6rem;
  }
}
footer .sns a {
  display: block;
}
footer .sns a.ig {
  width: 2.5rem;
}
@media only screen and (max-width: 768px) {
  footer .sns a.ig {
    width: 2rem;
  }
}
footer .sns a.fb {
  width: 2.6rem;
}
@media only screen and (max-width: 768px) {
  footer .sns a.fb {
    width: 2rem;
  }
}
footer a.contact {
  display: inline-block;
}
footer a.contact * {
  display: inline-block;
  line-height: 2;
}
footer a.rebita {
  display: block;
  margin: 4rem 0 1rem;
  width: 10.4rem;
}
@media only screen and (max-width: 768px) {
  footer a.rebita {
    margin-top: 2rem;
    width: 8rem;
  }
}