/*
Theme Name: my-theme
*/

@charset 'utf-8';

/* common
==================================== */

/* カラー */
:root {
  --color-bg-primary: #f8f5f0;
  --color-bg-primary-light: #faf7f2;
  --color-bg-primary-dark: #f4f2eb;
  --color-bg-footer: #e9e9df;
  --color-main: #496051;
  --color-border-white: #ffffff;
  --color-tag: #EAEBE6;
  --color-font-base: #243A35;
  --color-font-primary: ;
  --color-font-black: ;
  --color-font-white: #ffffff;
}

/* フォント */
:root {
  --font-family-base: "Noto Serif JP", serif;
  --font-family-en: "Montserrat", sans-serif;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* （header高さ分） */
}

body {
  min-inline-size: 375px;
  background-color: var(--color-bg-primary-light);
  color: var(--color-font-base);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  letter-spacing: 0.1em;
  font-feature-settings: "palt";
}

html,
body {
  overflow-x: hidden;
}
html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}
body.is-menu-open {
  overflow: hidden;
  height: 100vh;
}


img {
  width: 100%;
  display: block;
  height: auto;
}

svg {
  display: block;
}

li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;

}

a:hover {
  opacity: .7;
}

iframe {
  vertical-align: bottom;
}


/* コンポーネント
==================================== */


/* ボタン */
.btn {
  width: 100%;
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--color-main);
  color: var(--color-font-white);
  border-radius: 50vh;
  font-size: clamp(0.6rem, 0.534rem + 0.29vw, 0.75rem);
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
@media (width <=768px) {
  padding: 15px 35px;
  font-size: 0.875em;
}

}

.btn__arrow {
  width: 15px;
}

.btn:hover .btn__arrow{
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.sp {
  display: none; 
  @media (width <=768px) {
      display: block;
    }
}

.pc {
  display: block;
    @media (width <=768px) {
        display: none;
      }
}

.fadein {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s;
}

.fadein.inview {
  opacity: 1;
  transform: translateY(0);
}

.fadefuwa {
  opacity: 0;
  transition: all 1s;
}

.fadefuwa.inview {
  opacity: 1;
  transition-delay: 0.3s;
}


/* header
==================================== */
header {
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;

  background-color: transparent;
  transition: background-color 0.4s ease;
}

/* 最初はnavを非表示 */
header nav {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s;
}

/* スクロールしたら背景表示 */
header.is-scroll {
  background-color: rgb(255 255 255 / 70%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* スクロールしたらnavも表示 */
header.is-scroll nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  margin-inline: auto;
  max-width: 1080px;
  @media (width <=768px) {
    padding: 15px;
  
  }
}



.header__logo {
  width: clamp(9.375rem, 8.239rem + 5.68vw, 12.5rem);
}


.header__nav {
  display: flex;
  gap: 50px;
  text-transform: uppercase;
    font-family: "Cormorant Garamond", serif;
    font-weight: bold;
    font-size: 0.875em;
    letter-spacing: 0.01em;
    @media (width <=768px) {
      gap: 10px;
      font-size: 0.65em;
    }
}

/* ========================================
   オープニング
======================================== */

.sp-anime {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100vh;
  z-index: 99999;
  isolation: isolate;
 background-color: #fff;

  opacity: 1;
  visibility: visible;
} 


/* ========================================
   背景
======================================== */

.sp-anime::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(img/sp-hero.webp);
  background-size: cover;
  background-position: center;
  opacity: 0;
}

.sp-anime.is-start::before {
  opacity: 1;
}


/* ========================================
   ロゴ全体
======================================== */

.sp-anime__logo {
  width: min(80%, 300px);

  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  translate: 0 -50px;

}


/* ========================================
   logo1・logo2
   手書き中は非表示
======================================== */


.sp-anime__logo1 {
  width: 150px;
}

.sp-anime__logo1,
.sp-anime__logo2 {
  opacity: 0;
  visibility: hidden;
}



/* 手書き終了後 logo1 */
.sp-anime.is-logo-show .sp-anime__logo1 {
  visibility: visible;
  animation: logoFadeIn 0.8s ease 0.3s forwards;
}


/* logo1の少し後にlogo2 */
.sp-anime.is-logo-show .sp-anime__logo2 {
  visibility: visible;
  animation: logoFadeIn 0.8s ease  forwards;
}


@keyframes logoFadeIn {
  from {
    opacity: 0;
    translate:  0 20px ;
  }

  to {
    opacity: 1;
    translate:  0;
  }
}


/* ========================================
   logo3
   手書きSVG
======================================== */

.sp-anime__logo3 {
  opacity: 0;
  visibility: hidden;
}


/* 読み込み完了後に手書きを表示 */
.sp-anime.is-start .sp-anime__logo3 {
  opacity: .5;
  visibility: visible;
}


/* マスクの手書き線 */
.handwriting-path {
  fill: none;
  stroke: #fff;
  stroke-width: 10px;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}


/* load完了後に手書き開始 */
.sp-anime.is-start .handwriting-path {
  animation: handwriting 2.6s linear forwards;
}


@keyframes handwriting {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}


/* ========================================
   オープニング終了
======================================== */

.sp-anime.is-complete {
  animation: openingFadeOut 0.8s ease forwards;
}


@keyframes openingFadeOut {
  from {
    opacity: 1;
    visibility: visible;
  }

  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}


.sp-anime.is-finished {
  display: none;
}


/* ========================================
   SKIP
======================================== */

.sp-anime__skip {
  display: block;

  position: absolute;
  top: 25px;
  right: 25px;

  z-index: 10;

  border: none;
  background: transparent;

  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  letter-spacing: 0.15em;

  color: var(--color-font-base);

  cursor: pointer;

  opacity: 0.9;
  transition: opacity 0.3s ease;
}


.sp-anime__skip::after {
  content: "";
  display: inline-block;

  width: 25px;
  height: 1px;

  margin-left: 8px;
  vertical-align: middle;

  background-color: currentColor;
}


@media (width <=768px) {
  .sp-anime__skip {
    font-size: 13px;
  }
}


/* SKIPしたとき */
.sp-anime.is-skip {
  animation: skipFadeOut 0.4s ease forwards !important;
}


@keyframes skipFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* ==============================
   パララックス
============================== */

.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url("img/leaf-bg.webp");
  background-repeat: repeat;
  background-position: center 0;
  background-size: 80% auto;

  opacity: 0.3;
  pointer-events: none;

  @media (width <=768px) {
    background-size: 100% auto;
  }
}

.parallax-content {
  position: relative;
  z-index: 1;
}
/* hero
==================================== */


.hero {
  display: none;
  position: relative;
  overflow: hidden;
      @media (width <=768px) {
          display: block;
          height:60vh;
        }
}

.hero__bg {
  opacity: .7;
  width: 130%;
}
.hero__body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0 20px;
  
}
.hero__text {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  opacity: .7;
  margin-top: 20px;
}

.hero__scroll {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  font-size: 0.75em;
  text-transform: uppercase;

}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 50px;
  background-color: var(--color-font-base);
  position: absolute;
  top: 50px;

  transform: scaleY(0);
  transform-origin: top;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.mv-bg-text {
  position: absolute;
  bottom: 0;
  right: 40%;
  width: 200px;
}


.mv {
  position: relative;
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.1);
}

.mv::before {
  content: "";
  position: absolute;

  top: 20%;
  left: 0;

  width: 100%;
  height: 100%;


  background-image: url(img/mv-bg-left.webp);
  background-size: 8%;
  background-repeat: no-repeat;
  background-position: left top;



  @media (width <=768px) {
    display: none;
  }
}



.mv {
  position: relative;
  width: 100%;
  margin-inline: auto;
  height: 460px;

  @media (width <=768px) {
    height: 70vh;
  }
}

.mv::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-primary);
  z-index: -2;
}
.mv__inner {
  max-width: 1080px;
  width: 100%;
height: 100%;
  margin-inline: auto;
  position: relative;
}

.mv__body {
  padding: 20px 0;
  position: absolute;
  max-width: 400px;
  top: clamp(3.125rem, 1.989rem + 5.68vw, 6.25rem);
  left: clamp(2rem, 0.251rem + 7.66vw, 6rem);
background: radial-gradient(circle 200px at center,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.98) 20%,
      rgba(255, 255, 255, 0.9) 35%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0.45) 65%,
      rgba(255, 255, 255, 0.2) 78%,
      rgba(255, 255, 255, 0.06) 90%,
      transparent 100%);
  background-repeat: no-repeat;
      @media (width <=768px) {
          top: 80px;
        }
}

.mv__catch {
  font-size: 0.875rem;
  font-weight: bold;
  letter-spacing: 0.3em;
    font-family: "Noto Serif JP", serif;
      @media (width <=768px) {
        font-size: 0.875em;
        }
}

.mv__sitename {
  margin-top: 10px;
    font-weight: bold;
      letter-spacing: 0.2em;
      font-family: "Noto Serif JP", serif;
      font-size: 2em;
      text-transform: uppercase;
      line-height: 1.2;
      @media (width <=768px) {
  margin-top: 20px;
      }
}
.mv__sitename span {
  font-size: 0.65em;
  text-transform: capitalize;
  letter-spacing: 0.1em;
}





.mv__description {
  margin-top: 20px;
  line-height: 1.5;
  letter-spacing: 0.3em;
  font-size: 0.75em;
        @media (width <=768px) {
            margin-top: 10px;
          }
}

.mv__location {
  margin-top: 10px;
  letter-spacing: 0.2em;
  font-size: clamp(0.75rem, 0.695rem + 0.24vw, 0.875rem);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap:15px;
    font-family: "Cormorant Garamond", serif;
}

.mv__location-icon {
  width: 20px;
  height: 20px;
}

.mv__btn {

  margin-top: 1em;
  width: 250px;
      @media (width <=768px) {
          width: 270px;

        }
}
.mv__btn.sp {
margin-top: 0;

}
.mv__btn .btn__arrow{
        @media (width <=768px) {
          transition: all 0.3s ease;
            animation: mvbtn 3s ease-in-out infinite;
          }
}
.mv__btn.sp {
  
}
@keyframes mvbtn {
  0% {
      transform: translateX(0px);
  }
  
  50% {
    transform: translateX(10px);

  }

  100% {

    transform: translateX(0px);
  }
}

.mv__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: .8;
  @media (width <=768px) {
    overflow: hidden;

          }

}
.mv-sub {
  height: 300px;
}
.mv-sub .mv__img img {
        @media (width <=768px) {
          object-position:  65% bottom;
        }
}



.mv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    object-position: center;
  -webkit-mask-image:
      linear-gradient(to bottom, transparent 0%, #000 15%),
      linear-gradient(to right, transparent 0%, #000 25%);
    mask-image:
      linear-gradient(to bottom, transparent 0%, #000 15%),
      linear-gradient(to right, transparent 0%, #000 25%);
  
    /* 2つのマスクを正しく掛け合わせる設定 */
    -webkit-mask-composite: source-in;
    mask-composite: intersect;


  }
/* sub  */


.mv-sub .mv__body {
@media (width <=768px) {
 top: 70px;
 width: 70%;
  height: auto;
}
}
.mv.mv-sub {
@media (width <=768px) {
  height: 60vh;
}

}
.mv-sub__title-en {
  text-transform: uppercase;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
@media (width <=768px) {
  font-size: 0.75em;
}
}

.mv-sub__title-ja {
  font-size: 2em;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
@media (width <=768px) {
  font-size: 1.5em;
}
}

/* works
==================================== */

.works {
  margin-top: 40px;
  margin-bottom: 60px;
  color: var(--color-font-base);
@media (width <=768px) {
}
}
.works-kinds {
  display: flex;
  justify-content: center;
}
.works-kinds__items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 600px;
  justify-content: center;
  color: var(--color-font-base);
  @media (width <=768px) {
    gap: 10px 30px;
}
}

.works-kinds__item button {
  border-radius: 50vh;
  padding: 10px 25px;
  font-size: 0.875em;
  border: 1px solid #49645a;
  transition: all .3s;
    color: var(--color-font-base);
  @media (width <=768px) {
    font-size: 0.75em;
    padding: 10px 15px;
  }
}
.works-kinds__item:hover button {
  background-color: #49645a;

}
.works-kinds__item.active button {
  background-color: #49645a;
}

.works-kinds__item.active button {
  color: var(--color-font-white);
}

.works-kinds__item:hover button {
  color: var(--color-font-white);
}
.section__inner {
  max-width: 1000px;
  margin-inline: auto;
  padding: 0 20px;
}

.works__inner {
position: relative;
}

.section__title-sub {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.875em;
}

.section__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 1.352rem + 0.63vw, 2rem);
  font-weight: bold;
  letter-spacing: 0.2em;
}

.btn--works {
  position:absolute;
  right: 20px;
  top: 1em;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-font-base);
  letter-spacing: 0.3em;
  font-size: 0.75em;
}

.works__btn:hover .btn__arrow {
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.works__items {
  margin-top: 25px;
  display: flex;
flex-direction: column;
justify-content: center;
  gap: 30px;

}


.works__item a {

            /* @media (width <=860px) { */
                display: flex;
                justify-content: center;
                gap: 30px;
                max-width: 100%;
              /* } */
                          @media (width <=768px) {
                flex-direction: column;
                justify-content: center;
              }
}
.works__item:hover {
  opacity: 1;
}

.works__img {
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 350px;
  aspect-ratio: 300/183;
flex-shrink: 0;
           @media (width <=768px) {
          max-width: 100%;
          
            }
}

.works__img img {
  border-radius: 3px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works__img:hover img {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.works__body {
  width: 100%;
  max-width: 400px;
  @media (width <=768px) {
      flex: 1;
        max-width: 100%;
     }
}

.works__text {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.works__number {
  
}

.works__kind {
  font-size: 0.75em;
  text-transform: uppercase;
}
.works__arrow {
  position: absolute;
  right: 0;
  width: 20px;
}

.works__body:hover .works__arrow {
  transform: translateX(10px);
  transition: all 0.3s ease;
}
.works__title {
  letter-spacing: 0.3em;
  font-size: 1em;
}

.works__desc {
  margin-top: 5px;
  font-size: 0.75em;
}

.tags {
  margin-top: 25px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;

  width: 100%;
  min-width: 0;
}

.tag {
  background-color: var(--color-tag);
  border-radius: 50vh;
  padding: 3px 8px;
  font-size: 0.675em;
  font-weight: bold;

  flex: 0 0 auto;
  white-space: nowrap;
}

/* single  */

.works__title-en {
      font-family: "Noto Serif JP", serif;
      font-size: 0.65em;
      text-transform: uppercase;
      font-weight: bold;
      letter-spacing: 0.2em;
}

.works__title-ja {
      font-family: "Noto Serif JP", serif;
      font-size: 1.2em;
      font-weight: bold;
      letter-spacing: 0.2em;
}


.works-single__inner {
  padding: 0 25px;
}
.works-single__flex
{
  display: flex;
@media (width <=768px) {
  flex-direction: column;
  gap: 40px;
}
}
.works-single__flex > * {
  flex: 1;

}

.works-single__flex > :nth-child(2) {
    border-left: 1px solid #d9dad6;
    @media (width <=768px) {
        border-left: none;
      }
}
/* コンセプトがない場合 */
.works-single__concept.no-concept {
  border-left: none;
}

.works-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.works-list__name {
  font-size: 0.875em;
  width: 30%;
}

.works-list__desc {
  font-size: 0.875em;
  width: 70%;
    overflow-wrap: anywhere;
      word-break: break-word;
}

.works-list__name,
.works-list__desc {
  padding: 5px;

}

.works-single__concept {
  padding-left: 40px;
    @media (width <=768px) {
      padding-left: 0;
    }
}

.works__text {
  font-size: 0.875em;
  line-height: 1.8;
}


.design {
  margin-top: 20px;
}
.design__body {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f0efed;
  position: relative;
  z-index: -2;

}

.design__img {
display: flex;
align-items: end;
justify-content: center;
gap: 20px;
              @media (width <=768px) {
                flex-direction: column;
                align-items: center;
              }
}

.design__img-pc {
  width: 470px;
  position: relative;
  
              @media (width <=768px) {
                margin-top: 20px;
                width: 300px;
              }
}

.design__img-pcin {
  position: absolute;
  top: 5px;
  left: 50px;
  z-index: -1;
  width: 370px;
  height: 250px;
                @media (width <=768px) {
                    width: 240px;
                    height: 160px;
                    top: 3px;
                    left: 30px;
                  }
}

.design__img-pcin img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.design__img-sp {
  width: 120px;
  position: relative;
}
.design__img-spin {
  position: absolute;
  top: 5px;
  left: 0;
  z-index: -1;
  width: 115px;
  height: 225px;
}

.design__img-spin img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 15px;
}
.design__items {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
    >* {
        min-width: 0;
      }
}

.design__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
}

.design__item-img {
  width: 160px;
  height: 170px;
}

.design__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design__title {
  text-align: center;
  font-size: 0.75em;
      font-family: "Noto Serif JP", serif;
}

.works-single__detail {
  margin-top: 40px;
}

.detail {}

.detail__items {
  margin-top: 20px;
  display: flex;
  gap: 20px;

  > * {
    flex: 1;
    min-width: 0;
  }

                                @media (width <=768px) {
                                  flex-direction: column;
                                }
}

.detail-item:not(:nth-child(1)) {
  padding-left: 30px;
  border-left: 1px solid #d9dad6;
                @media (width <=768px) {
                  padding-left: 0;
                  border-left: none;
                }
}

.detail-item {
  padding-right: 30px;
}

.detail__img {}

.detail__body {}

.detail__num {
  font-size: 1em;
}

.detail__text {
  letter-spacing: 0.2em;
}

.detail__title {
      font-family: "Noto Serif JP", serif;
}

.detail__desc {
  margin-top: 15px;
  font-size: 0.875em;
}

.works-single__skills {
  padding-top: 20px;
  border-top: 1px solid #d9dad6;
   
}
.skills__flex {
  display: flex;
  gap: 90px;
  >* {
      flex: 1;
      min-width: 0; 
    }
    @media (width <=768px) {
      flex-direction: column;
      gap: 20px;

    }
}
.works-single__btn {
  margin-top: 60px;
  margin-inline: auto;
  max-width: 250px;
}


.page-nav {
  position: relative;
}
.page-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 1px;
  height: 50%;
  background-color: #d9dad6;
}

.page-nav__inner {
  border-top: 1px solid #d9dad6;
  padding-top: 10px;
  padding-bottom: 35px;
  
}

.page-nav__flex {
  display: flex;
  justify-content: space-between;
    >* {
        flex: 1;
        min-width: 0;
      }
      
      
}

.page-nav__next {
  margin-left: auto;
}
.page-nav__next {
  margin-left: auto;
  justify-content: flex-end;
}

.page-nav__item {
  display: flex;
  gap: 20px;
  align-items: center;
  cursor: pointer;
    @media (width <=768px) {
      gap: 10px;
    }

}
.page-nav__prev .page-nav__arrow{
  rotate: 180deg;
}

.page-nav__img {
  width: 90px;
  height: 50px;
}
.page-nav__img  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-nav__arrow {
  width: 15px;
    transition: all 0.3s;
}
.page-nav__item:hover .page-nav__arrow {
  transform: translateX(10px);
  transition: all 0.3s ease;
}
.page-nav__body {
  text-wrap: nowrap;
}

.page-nav__text {
  font-size: 0.65em;
  text-transform: uppercase;
}

.page-nav__title {
  font-size: 0.875em;
}

.page-nav__desc {
  font-size: 0.875em;
}


/* about
==================================== */

.about {
  margin-top: 35px;
  padding: 50px 0;
position: relative;
}

.about::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
    background-color: var(--color-bg-primary-dark);
  z-index: -2;
}

.about__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  @media (width <=767px) {
     flex-direction: column;
    }

}

.about__flex1 {
    display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 50px;
        @media (width <=767px) {
            flex-direction: column;
            gap: 25px;
          }
}

.about__selfimg {
  width: 300px;
  position: relative;
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.2);
    @media (width <=900px) {
        width: 50%;
      }
                @media (width <=767px) {
                  width: 100%;
                }

}

.about-me__text {
  position: absolute;
  top: 50px;
  right: -30px;
  width: 100px;
  
                  @media (width <=767px) {
                      width: 130px;
                      right: 20px;
                    }
}

.about-me__text2 {
  position: absolute;
  top: 70px;
  right: -35px;
  width: 100px;
  z-index: -1;
  opacity: .2;
                  @media (width <=767px) {
                      display: none;
                    }
}

.section__title-sub {
  font-size: 0.75em;
}

.section__title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(1rem, 0.913rem + 0.38vw, 1.2rem);
}

.section__job {
  font-size: 1em;
  font-family: "Cormorant Garamond", serif;
}

.about__text {
  margin-top: 8px;
  font-size: clamp(0.6rem, 0.534rem + 0.29vw, 0.75rem);
    @media (width <=767px) {
        font-size: 0.75em;
      }
}


.about__img {
  width: 210px;
  position: relative;

  @media (width <=767px) {
      width: 70%;
    }
}

.about__pc {
  display: block;

  @media (width <=900px) {
    display: none;
  }

        @media (width <=767px) {
          display: block;
        }
}

.about__img::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30px;
  width: 1px;
  height: 100%;
  background-color: #d6d6cf;
  
    @media (width <=767px) {
       content: none;
      }
}

.about__img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 90%;
  border-radius: 5px;
  background-color: #efe8df;
  z-index: -1;

}
/* service
==================================== */

.service {
  padding-top: 20px;
  /* background-color: var(--color-bg-primary-light); */
}
.service__items {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
@media (width <=768px) {
      grid-template-columns: minmax(0, 400px);
      justify-content: center;

      padding: 0 20px;
}
}

.service__item {
  display: flex;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.service__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  margin-left: 30px;
}
.service__icon img {
  border-radius: 50%;
}

.service__body {

}

.servise__title {
    display: flex;
    gap: 20px;
}

.service__num {}

.servise__desc {}

.service__name {
  font-size: 0.875em;
  font-weight: bold;
}

.service__text {
  font-size: 0.75em;
}

/* skills
==================================== */

.skills {
  padding-top: 40px;
  border-top: 1px solid #d9dad6;
  margin-top: 60px;
  padding-bottom: 40px;
}


.skills__inner {
  display: flex;
  position: relative;
@media (width <=768px) {
  flex-direction: column;
}
}

.skills__inner::before {
    content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      width: 1px;
      height: 100%;
      background-color: #d9dad6;
    @media (width <=768px) {
      content: none;
    }
}

.skills__body {
  flex: 1;
}

.skills__body:nth-of-type(1) {
  padding-right: 20px;
}
.skills__body:nth-of-type(2) {
  padding-left: 60px;
  
  @media (width <=768px) {
      border-top: 1px solid #d9dad6;
  padding-left: 0;
  padding-top: 40px;
  margin-top: 40px;
}
}

.section__title-sub {}

.section__title {}

.section__text {
  font-size: 0.875em;
}

.skills__tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  max-width: 400px;
  width: 100%;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.skills__tag {
  background-color: var(--color-tag);
  border-radius: 50vh;
  padding: 5px 15px;
  font-size: 0.75em;

  flex: 0 0 auto;
  white-space: nowrap;
}
.skills__res {
  font-size: 0.75em;
}



.why__title-sub {
  text-transform: capitalize;
}


.why__items {
  margin-top: 20px;
display: flex;
flex-direction: column;
gap: 10px;
}

.why__item {
    display: flex;
      align-items: center;
      gap: 20px;
}

.why__num {
    background-color: var(--color-tag);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    align-items: center;

}

.why__desc {}

.why__title {
  font-size: 0.875em;
}
.why__text {
  font-size: 0.75em;
}

/* flow
==================================== */
.flow {
  padding-top: 40px;
  padding-bottom: 40px;
    background-color: var(--color-bg-primary-dark);
  position: relative;
}

.flow__inner {
  position: relative;
}

.flow__leaf-right {
content: "";
position: absolute;
top: 10%;
right: 0;
width: 10%;
z-index: -1;
opacity: .5;
    @media screen and (max-width: 768px) {
      width: 30%;
    }
}



.flow__items {
  margin-top: 20px;
 display: grid;
 grid-template-columns: repeat(5,1fr);
gap: 20px;

    @media screen and (max-width: 768px) {
      grid-template-columns: minmax(0, 300px);
        justify-content: center;

    }

}

.flow__item {

}

.flow__head {
  display: flex;
  gap:10px;
}



.flow__img {
  width: 35px;
}

.flow__num {
  font-size: 0.75em;
}

.flow__name {
  font-size: 0.875em;
}

.flow__text {
  margin-top: 10px;
  font-size: 0.875em;
}

/* flow-page  */
.flow-page {
  margin-bottom: 60px;
}


.flow-page__inner {}

.page__title-head {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}


.page__title-head::before {
  content: '';
  position: absolute;
  width: 60%;
    height: 120%;
  
    background: rgba(235, 240, 229, 0.7);
  
    border-radius:
      25% 100% 48% 52% / 48% 42% 80% 52%;
  
    z-index: -1;
}

.page__title-img {
  width: 130px;
  opacity: .5;
}

.page__title {
  margin-top: 10px;
  font-size: 1.5em;
    font-family: "Noto Serif JP", serif;
}

.page__title-desc {
  margin-top: 20px;
  font-size: 0.875em;
  text-align: center;
    @media screen and (max-width: 768px) {
      font-size: 0.75em;
    }
}


.flow-page__items {
  margin-top: 100px;
display: flex;
flex-direction: column;
gap: 30px;
    @media screen and (max-width: 768px) {
      gap: 50px;
    }
}

.flow-page__item {
  display: flex;
  gap: 40px;
    @media screen and (max-width: 768px) {
      gap: 20px;
    }
}

.flow-page__flex {
  display: flex;
  gap: 40px;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      gap: 20px;

    }
}

.folw-page__nums {
  margin-top: 20px;
  width:100px;
  position: relative;
    @media screen and (max-width: 768px) {
      margin-top: 0;
    }
}

.folw-page__nums::before {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 15px;
  width: 1px;
  height: 30%;
  background-color: #d9dad6;
    @media screen and (max-width: 768px) {
    height: 70%;
    bottom: 0;
    }

}

.flow-page__num {
  font-size: 2em;
    font-family: "Noto Serif JP", serif;
    @media screen and (max-width: 768px) {
      font-size: 1.5em;
    }
}

.flow-page__title-en {
    font-family: "Noto Serif JP", serif;
    font-size: 0.875em;
}

.flow-page__img {
  max-width: 300px;
  width: 100%;
  aspect-ratio: 300/190;
}

.flow-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px
}

.flow-page__body {
  max-width: 500px;
  width: 100%;
}

.flow-page__title {
    font-family: "Noto Serif JP", serif;
    font-size: 1.5em;
}

.flow-page__desc {
  margin-top: 20px;
  font-size: 0.875em;
    @media screen and (max-width: 768px) {
      margin-top: 10px;
    }
}

/* footer
==================================== */
.cta {

  position: relative;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url(img/footer_bg.webp);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: left top;
  opacity: 0.7;
    @media screen and (max-width: 767px) {
        background-image: url(img/contact-bg-sp.webp);
        opacity: 0.5;
      }
}

.cta::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url(img/mv-bg-left.webp);
  background-size: 8%;
  background-repeat: no-repeat;
  background-position: left top;
}

.cta-sub.cta::after {
  content: none;
}

.section__inner {}

.cta__inner {
  position: relative;
}

.cta__body {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 50px;
  justify-content: space-between;
  @media (width <=768px) {
    flex-direction: column-reverse;
    gap: 40px;
    
  }
}

.cta__cath {
  padding-top: 80px;
@media (width <=768px) {
  padding-top: 0;
}
}

.cta-sub .cta__cath {
  padding-top: 40px;
}

.cta-sub .cta__body {
@media (width <=768px) {
    flex-direction: column;
    gap: 0;
}
}


.cta__bigtext {
  font-size: 2.5em;
    font-family: "Noto Serif JP", serif;
    letter-spacing: 0.3em;
    line-height: 1.3;
    @media (width <=768px) {
      font-size: 2em;
    }
}

.cta__text {
  margin-top: 20px;
  font-size: 0.875em;
  @media (width <=768px) {}
}

.cta__btn {
  margin-top: 35px;
  width: 270px;
  font-size: 1em;
  @media (width <=768px) {
    width: 100%;
  }
}
.cta__btn img {
  width: 15px;
}

.cta__font-img {
  width: 220px;
  opacity: .7;
rotate: -5deg;
@media (width <=768px) {
  margin-top: 75px;
  margin-left: 0;
  rotate: 0deg;

}
}

.cta__cath2 {
  position: absolute;
  bottom: 65px;
  right: 95px;
  text-transform: uppercase;
font-size: 0.75em;
opacity: .7;
@media (width <=768px) {
  display: none;
}
}


footer {
  padding: 20px 0 35px;
  position: relative;
  border-top: 1px solid #d9dad6;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url(img/footer-bg-right.webp);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: right top;
  background-color: var(--color-bg-footer);
  opacity: 0.5;
}
.footer__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  @media (width <=768px) {
    flex-direction: column-reverse;
    gap: 40px;
    justify-content: center;
  }
}

.footer__flex {
  height: 100px;
  @media (width <=768px) {
    height: auto;
  }

}
.footer__flex:not(:nth-of-type(1)) {
  border-left: 1px solid #d9dad6;
  padding-left: 40px;
    display: flex;
      justify-content: center;
      align-items: center;
      @media (width <=768px) {
        border-left:  none;
        padding-left: 0;
      }
}

.fotoer__logo {
  width: 200px;
}

.footer__copy {
  font-size: 0.4em;
}
footer .header__nav {
  flex-wrap: wrap;
  font-size: 0.875em;
@media (width <=768px) {
  flex-direction: column;
  align-items: center;
}
}
.fotoer__nav {}

.footer__sns {
  display: flex;
  gap: 30px;
}

.sns-icon {
  width: 20px;
  @media (width <=768px) {
    width: 25px;
  }
}


/* contact
==================================== */

#contact {
  scroll-margin-top: 150px;
}
.form-area {
  padding: 80px 0;
  max-width: 600px;
  width: 100%;
  margin-inline: auto;
  letter-spacing: 0.1em;
}

.form__flex {
  display: flex;
  flex-wrap: wrap;
  @media (max-width: 767px) {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

 label  {
 margin-top: 10px;
}

.form-area dt,
.confirm_area dt {
  font-size: 0.875rem;
  font-weight: 500;
  width: 30%;
  text-wrap: nowrap;
  margin-top: 10px;
  @media (max-width: 767px) {
    width: 100%;
    margin-bottom: 10px;
  }
}

    .form-area dd
   { 
    width: 70%;
      @media (max-width: 767px) {
          width: 100%;
        }
    }
    




input[type=text],
input[type=email],
textarea {
  width: 100%;
  border: 1px solid #c8c8c8;
  border-radius: 5px;
  padding: 10px 30px;
  background-color:#fff;
}

textarea {

  height: 200px;
}

input[type=checkbox] {
  font-size: 0.875rem;
  transform: scale(1.3);
  margin-right: 5px;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.2);
}

input::placeholder,
textarea::placeholder {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.2);
}

.privacy-open {
  margin-left: 5px;
}

.require {
  display: inline-block;
  font-size: 0.65rem;
  padding: 2px 3px;
  background-color: #8A9084;
  border-radius: 3px;
  color: #fff;
  margin-left: 10px;
  font-weight: bold;
}

.checkbox {
  margin-top: 20px;
  text-align: center;
}

.form-area a {
  text-decoration: underline;
}

.form-btn,
.thanks-area__btn {
  text-align: center;
  margin-top: 20px;
  max-width: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;

}
.wpcf7-spinner {
  display: none;
}
.btn-contact,
.submit_button {
  width: 50%;
}

.btn-contact,
.thanks-area__btn {
  font-size: 1rem;
  max-width: 300px;

}


.btn-contact:hover,
.thanks-area__btn {
  opacity: 0.8;
}

.back_button {
  margin-right: 20px;
}

.submit_button {
  font-size: 1rem;
}


/*プライバシーポリシーモーダル*/
.privacy-mask {
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
}

.privacy-modal {
  background-color: rgba(255, 255, 255, 0.9);
  max-width: 60%;
  padding: 40px;
  border-radius: 5px;
  position: fixed;
  inset: 10em 0;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin: auto;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
      @media (max-width: 767px) {
        max-width: 80%;
  padding: 40px;
      }
}

.provacy-modal__body {
  display: flex;
  flex-direction: column;


}

.privacy-modal ol {
  margin-left: 3rem;
  margin-top: 40px;
      @media (max-width: 767px) {
      margin-left: 1rem;
      }
      
}

.privacy-close {
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 900;
display: flex;
align-items: center;
justify-content: center;

}

.close-btn {
  text-align: center;
  margin-top: 50px;
  max-width: 300px;
  width: 100%;
  margin-inline: auto;
}

.close-btn .btn {
  padding: 10px 30px;
}

.privacy-title {
  
  font-size: 1rem;
  font-weight: bold;
  margin-top: 10px;
}
.form-title--bg {
        font-family: "Noto Serif JP",
        serif;
}
.privacy-text {
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.5;
}

.thanks-text {
  text-align: center;
  margin-top: 10px;
}

.thanks-img {
  -o-object-fit: cover;
  object-fit: cover;
  text-align: center;
  margin-top: 10px;
}

.thanks-img img {
  width: 200px;
  height: 200px;
  border-radius: 50% 60% 60% 40%/50%;
}

.thanks-btn {
  text-align: center;
  margin-top: 35px;
}

/*確認画面と完了画面を非表示*/
.confirm_area,
.thanks_area {
  display: none;
}

/*デフォルトのサンクスメッセージを非表示*/
.wpcf7-response-output {
  display: none;
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 0;
}
.thanks_title {
        font-family: "Noto Serif JP";
}
.thanks_area {
  margin-top: 60px;
  margin-bottom: 100px;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;

}
/* パンくず
==================================== */
.breadcrumb {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
  padding-block: 20px;
  font-size: 0.75rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.breadcrumb a:hover {
  opacity: 1;
}

/* sp
==================================== */
@media (width <=768px) {}
