@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;800;900&family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* 共通
---------------------------------- */
html {
  font-size: calc(10 / 320 * 100vw);
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  html {
    font-size: 1vw;
  }
}

@media screen and (min-width: 1024px) {
  html {
    font-size: 62.5%;
  }
}

* {
  line-height: 1.2;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
}

li {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.animate__animated {
  opacity: 0;
}

.delay01 {
  animation-delay: 0.3s;
}

.delay02 {
  animation-delay: 0.6s;
}

.no-sp {
  display: none;
}

@media screen and (min-width: 768px) {
  .no-sp {
    display: inline;
  }
}

.no-pc {
  display: inline;
}

@media screen and (min-width: 768px) {
  .no-pc {
    display: none;
  }
}

/* ヘッダー
---------------------------------- */
.header {
  background-color: #3b4b5a;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9999;
}

.header__inner {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .header__inner {
    padding: 0 6rem;
  }
}

.header__inner > h1 {
  font-size: 0;
  width: 12rem;
}

@media screen and (min-width: 768px) {
  .header__inner > h1 {
    width: 39rem;
  }
}

.header__logo {
  display: block;
}

.header__hamburger-icon {
  line-height: 0;
  cursor: pointer;
  padding: 0.8rem 0;
}

@media screen and (min-width: 768px) {
  .header__hamburger-icon {
    display: none;
  }
}

.header__hamburger-icon:focus,
.header__hamburger-icon:hover {
  opacity: 0.6;
}

.header__hamburger-icon > span,
.header__hamburger-icon > span::before,
.header__hamburger-icon > span::after {
  display: inline-block;
  width: 2.6rem;
  height: 1px;
  background-color: #fff;
}

.header__hamburger-icon > span {
  position: relative;
  vertical-align: middle;
}

.header__hamburger-icon > span::before,
.header__hamburger-icon > span::after {
  content: '';
  position: absolute;
}

.header__hamburger-icon > span::before {
  top: -0.8rem;
}

.header__hamburger-icon > span::after {
  bottom: -0.8rem;
}

.header nav {
  position: fixed;
  top: 8rem;
  left: 0;
  z-index: 10000;
  width: 100vw;
  height: calc(100vh - 8rem);
  background-color: #071e3d;
  opacity: 0.9;
  transform: translateX(120%);
  transition: all 0.6s;
}

@media screen and (min-width: 768px) {
  .header nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    opacity: 1;
    transform: none;
    transition: 0s;
  }
}

.header nav.active {
  transform: translateX(0);
}

.header-nav {
  font-size: 1.75rem;
}

@media screen and (min-width: 768px) {
  .header-nav {
    width: auto;
    padding: 0;
    font-size: 2.4rem;
    display: flex;
    align-items: center;
  }
}

.header-nav__item {
  margin-bottom: 0.625rem;
}

@media screen and (min-width: 768px) {
  .header-nav__item {
    margin-bottom: 0;
  }
}

.header-nav__link {
  display: block;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 10%;
}

@media screen and (min-width: 768px) {
  .header-nav__link {
    padding: 4.6rem 3rem;
  }
}

.header-nav__link:focus,
.header-nav__link:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* メインビジュアル
---------------------------------- */
.mainvisual {
  height: calc(27.5vw + 480px);
  background-position: center center;
  background-size: cover;
  position: relative;
}

.mainvisual__inner {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  width: 24.1rem;
  background-color: rgba(59, 75, 90, 0.6);
  padding: 1rem 2rem;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .mainvisual__inner {
    left: 10rem;
    width: 48.1rem;
    padding: 2rem 4rem;
    color: #fff;
  }
}

.mainvisual__title {
  font-weight: 500;
  font-size: 2.4rem;
  line-height: calc(40 / 24);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

@media screen and (min-width: 768px) {
  .mainvisual__title {
    font-size: 4.8rem;
    line-height: calc(80 / 48);
    margin-bottom: 2.5rem;
    letter-spacing: 0.04em;
  }
}

.mainvisual__title > .serif {
  font-family: 'Noto Serif JP', serif;
}

.mainvisual__text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: calc(19 / 16);
  letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
  .mainvisual__text {
    font-size: 2.4rem;
    line-height: calc(28.13 / 24);
  }
}

/* コンセプト
---------------------------------- */
.concept {
  background-color: #f4f3df;
}

.concept__inner {
  padding: 4rem 2rem 4rem;
}

@media screen and (min-width: 768px) {
  .concept__inner {
    max-width: 104.3rem;
    margin: 0 auto;
    padding: 4rem 2rem 4rem;
  }
}

.concept__title {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .concept__title {
    font-size: 5rem;
  }
}

.concept__title::before,
.concept__title::after {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background-color: #000;
}

.concept-boxes {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media screen and (min-width: 768px) {
  .concept-boxes {
    flex-direction: row;
    gap: 2rem;
  }
}

.concept-boxes__item {
  flex: 1;
}

.concept-box {
  border: 1px solid #ddd;
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.16);
}

.concept-box__img-wrapper img {
  height: 21.2rem;
  object-fit: cover;
}

.concept-box__body {
  padding: 1rem;
}

.concept-box__body > *:last-child {
  margin-bottom: 0;
}

.concept-box__title {
  text-align: center;
  margin-bottom: 1rem;
  background-color: orange;
}

/* サービス
---------------------------------- */
.services {
  background-color: #fff;
}

.services__inner {
  padding: 4rem 2rem 4rem;
}

@media screen and (min-width: 768px) {
  .services__inner {
    max-width: 104.3rem;
    margin: 0 auto;
    padding: 4rem 2rem 4rem;
  }
}

.services__title {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .services__title {
    font-size: 5rem;
  }
}

.services__title::before,
.services__title::after {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background-color: #000;
}

.services-boxes {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media screen and (min-width: 768px) {
  .services-boxes {
    gap: 6rem;
  }
}

.services-boxes__item {
  flex: 1;
}

.services-box {
  border: 1px solid #ddd;
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.16);
}

@media screen and (min-width: 768px) {
  .services-box {
    display: flex;
    gap: 1rem;
    flex: 0 0 auto;
    height: 20rem;
  }
}

@media screen and (min-width: 768px) {
  .services-box--reverse {
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 768px) {
  .services-box__img-wrapper {
    height: 100%;
  }
}

@media screen and (min-width: 768px) {
  .services-box__img-wrapper img {
    width: 40rem;
    height: 100%;
    object-fit: cover;
  }
}

.services-box__img--trapezoid {
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.services-box__img--parallel {
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.services-box__img--rhombus {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.services-box__img--pentagon {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.services-box__body {
  padding: 1rem;
}

.services-box__body > *:last-child {
  margin-bottom: 0;
}

.services-box__title {
  text-align: center;
  margin-bottom: 1rem;
  background-color: orange;
}

/* ギャラリー
---------------------------------- */
.gallery {
  background-color: #eee;
}

.gallery__inner {
  padding: 4rem 2rem 4rem;
}

@media screen and (min-width: 768px) {
  .gallery__inner {
    max-width: 104.3rem;
    margin: 0 auto;
    padding: 4rem 2rem 4rem;
  }
}

.gallery__title {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .gallery__title {
    font-size: 5rem;
  }
}

.gallery__title::before,
.gallery__title::after {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background-color: #000;
}

.gallery__text {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-cards {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media screen and (min-width: 768px) {
  .gallery-cards {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }
}

.gallery-cards__item {
  flex: 1;
}

@media screen and (min-width: 768px) {
  .gallery-cards__item {
    flex: 0 1 auto;
    padding: 3rem;
    width: calc(100% / 3);
  }
}

.gallery-card__img-wrapper a {
  display: block;
}

.gallery-card__img-wrapper img {
  height: 28rem;
  object-fit: cover;
  clip-path: circle(50% at 50% 50%);
  opacity: 0;
}

@media screen and (min-width: 768px) {
  .gallery-card__img-wrapper img {
    width: 28rem;
  }
}

.flipLeft {
  animation-name: flipLeft;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  perspective-origin: left center;
  opacity: 0;
}

@keyframes flipLeft {
  from {
    transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
    opacity: 0;
  }

  to {
    transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
    opacity: 1;
  }
}

/* フッター
---------------------------------- */
.footer {
  background-color: #f4f3df;
}

.footer__inner {
  padding: 6rem 2rem 4rem;
}

@media screen and (min-width: 768px) {
  .footer__inner {
    max-width: 96rem;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
  }
}

.footer__media {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

@media screen and (min-width: 768px) {
  .footer__media {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 9.8rem;
  }
}

.footer__logo {
  display: block;
  width: 20rem;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .footer__logo {
    width: 30rem;
    margin: 0;
  }
}

.footer-horizontal-table {
  margin-bottom: 6rem;
}

@media screen and (min-width: 768px) {
  .footer-horizontal-table {
    margin-bottom: 0;
  }
}

.footer-horizontal-table__inner {
  width: 100%;
}

.footer-horizontal-table__header {
  width: 50%;
  text-align: left;
  padding: 1rem 0;
  font-weight: 400;
  line-height: calc(23.17 / 16);
  letter-spacing: 0.05em;
  vertical-align: middle;
}

@media screen and (min-width: 768px) {
  .footer-horizontal-table__header {
    width: 12rem;
    padding: 1.5rem 0;
    line-height: calc(23.17 / 16);
  }
}

.footer-horizontal-table__text {
  padding: 1rem 0;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: calc(19 / 16);
  letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
  .footer-horizontal-table__text {
    padding: 1.5rem 0;
    line-height: calc(23.17 / 16);
  }
}

.footer-snss {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media screen and (min-width: 768px) {
  .footer-snss {
    gap: 6rem;
  }
}

.footer-snss__item {
  flex: 0 0 auto;
}

.footer-snss__link {
  display: block;
}

.bi {
  font-size: 3rem;
}

@media screen and (min-width: 768px) {
  .bi {
    font-size: 4rem;
  }
}

.bi-instagram {
  color: #e7973a;
}

.bi-twitter {
  color: #1da1f2;
}

.bi-facebook {
  color: #1877f2;
}

.footer-copyright {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: calc(14 / 12);
  letter-spacing: 0.05em;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .footer-copyright {
    font-size: 1.4rem;
    line-height: calc(16.41 / 14);
  }
}
