@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

@charset "UTF-8";

/* *{
    outline: 3px rgb(254, 137, 137) solid;
} */

/* スムーズスクロール全体に適用 */
html {
  scroll-behavior: smooth;
  /* 全てのスクロール動作にスムーズな動きを追加 */
}

a {
  color: #333;
  text-decoration: none;
}

ul {
  list-style: none;
}

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



/* LocomotiveScrollのスタイル優先度を上げる(薄い膜解消の為のコード) */
html.has-scroll-smooth,
body.has-scroll-smooth {
  overflow: hidden !important;
}

[data-scroll-container] {
  overflow: hidden !important;
}

/*============
body
=============*/
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  overflow: hidden;
  background-color: fff !important;
}

[data-scroll-section] {
  display: flex;
  flex-direction: column;
}



/*-------------------------------------------
ヘッダー  
-------------------------------------------*/
header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background: #F1F0F0;
  color: #6B4747;
  border: solid 1px #6B4747;
  padding: 40px 15px 60px;
  width: 100px;
  z-index: 99;
}

#hamburger::before {
  content: '';
  width: 100px;
  height: 40px;
  background-color: #B0A28F;
  position: fixed;
  top: 0;
  left: 0;
}

#hamburger {
  position: fixed;
  top: 80px;
  font-size: 18px;
  font-family: "abhaya-libre", serif;
  color: #6B4747;
  width: fit-content;
  /* ボタンの幅を適切に設定 */
}

.hamburger {
  display: none;
}

.menu_icon {
  display: none;
}

/*============
.toggle_btn カンプではfont-size: 18px;
=============*/
.toggle_btn,
.close_btn {
  display: block;
  right: -24px;
  position: absolute;
  transition: all .5s;
  font-size: 20px;
  font-family: "abhaya-libre", serif;
  color: #6B4747;
  font-weight: bolder;
  cursor: pointer;
}

.close_btn {
  display: none;
}

.open .toggle_btn {
  display: none;
}

.open .close_btn {
  display: block;
}



@media screen and (max-width: 767px) {
  .open .close_btn {
    display: none;
  }
}

nav {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 350px;
  background: #CABCB3;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .5s;
  z-index: 3;
  opacity: 0;
  z-index: 99;
}

nav.active {
  left: 89px;
  opacity: 1;
}

.open nav {
  left: 0;
  opacity: 1;
}

nav .inner {
  padding: 60px 25px;
}

nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #fff;
  white-space: nowrap;
  /* テキストが改行されないようにする */
}

nav .inner ul li a {
  display: block;
  font-family: "abhaya-libre", serif;
  color: #fff;
  font-size: 20px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}

nav .inner ul li a:hover {
  background: #e4e4e4;
  color: #6B4747;
}

.inner ul li img {
  width: 25px;
  margin-right: 15px;
}

.inner ul li .sub-li {
  font-size: 16px;
}

.li_btm {
  text-align: right;
  margin-top: 10px;
}

.li_btm a {
  color: #6B4747;
  font-size: 18px;
  font-family: "abhaya-libre", serif;
}

.li_btm a:hover {
  color: #fff;
}

body.home h1 {
  writing-mode: vertical-rl;
  font-size: 26px;
  font-family: "abhaya-libre", serif;
  color: #6B4747;
}

.year-number {
  position: fixed;
  bottom: 100px;
  font-size: 18px;
  font-family: "abhaya-libre", serif;
}

.year-number::after {
  content: '';
  width: 100px;
  height: 60px;
  background-color: #B0A28F;
  position: fixed;
  bottom: 0;
  left: 0;
}


#menu-button {
  display: none;
}

/*-------------------------------------------
main
-------------------------------------------*/
#fv {
  text-align: center;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F1F0F0;
}

.site-logo-container {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  /* これで上下中央に配置される */
  align-items: center;
  /* 横方向中央揃え */
  height: 100%;
  /* 親要素の高さに合わせる */
}

.logo {
  display: block;
  height: auto;
  width: 600px;
  position: relative;
  /* 最初に隠す */
  clip-path: inset(0 100% 0 0);
  animation: revealLogo 5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* ロゴのアニメーション */
@keyframes revealLogo {
  0% {
    clip-path: inset(0 100% 0 0);
    /* 初期状態 */
  }

  100% {
    clip-path: inset(0 0 0 0);
    /* 完全に表示 */
  }
}

.site-title,
.sub-title {
  opacity: 0;
  transform: scale(0.8);
  /* 少し小さめにスタート */
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}


.title-area {
  margin-top: 45px;
}

.site-title {
  font-size: 48px;
  font-family: "abhaya-libre", serif;
  color: #6B4747;
  font-weight: bold;
  margin-bottom: 20px;
}

/* TODO:カンプではfont-size:18px */
.sub-title {
  font-size: 22px;
  font-family: "abhaya-libre", serif;
  color: #6B4747;
  letter-spacing: 1px;
}

.show .site-title,
.show .sub-title {
  opacity: 1;
  transform: scale(1);
  /* 元のサイズに拡大 */
}

.show .logo {
  transform: translateX(0);
  opacity: 1;
}


/*-------------------------------------------
sentiment
-------------------------------------------*/

.message-area {
  text-align: center;
}

.message-en {
  font-size: 34px;
  color: #6B4747;
  font-family: "abhaya-libre", serif;
  font-weight: bold;
  margin: 30px 0;
}

.message-ja {
  font-size: 24px;
  color: #6B4747;
  font-family: "Noto Serif JP", serif;
  margin: 60px 0;
}



/*-------------------------------------------
about
-------------------------------------------*/
.about-background {
  background-image: url("Portfolio-img/about-background-image.png");
  /* height: 100vh; */
  width: 100%;
  background-size: cover;
  padding: 50px 0 60px;
  /* display: flex;
  justify-content: center; */
}

/* カードの基本スタイル */
.container .card {
  width: 650px;
  /* 初期の幅 */
  height: 450px;
  background-color: #fffaf7;
  border-radius: 25px;
  position: relative;
  display: flex;
  overflow: hidden;
  box-shadow: 5px 5px 15px -5px gray;
  transition: width 0.5s ease;
  /* 幅が変更されるアニメーション */
  margin: 115px auto 0;
}

.container .card .card__inner {
  display: flex !important;
  justify-content: flex-start !important;
}

.container .card .face:nth-child(2),
.container .card .face:nth-child(3),
.container .card .face:nth-child(4) {
  display: none;
}

.container .card.expanded .face:nth-child(2),
.container .card.expanded .face:nth-child(3),
.container .card.expanded .face:nth-child(4) {
  display: block;
}

/* カード内の各フェイス */
.container .card .face {
  width: 650px;
  /* 各フェイスの横幅 */
  height: 100%;
  /* 初期状態では右に隠れる */
  transition: transform 0.5s ease;
  /* スライドのアニメーション */
  box-sizing: border-box;
  padding: 30px 10px 0 20px;
  font-family: "Noto Serif JP", serif;
  color: #6b4747;
}

/* -----------------
face1（初期状態で表示される）
----------------- */
.face1 .content {
  display: flex;
}

.container .card .face .content .about-left {
  width: 30%;
  /* 左側の幅を30%に設定 */
  padding: 0 15px;
}

.container .card .face .content .about-right {
  width: 70%;
  /* 右側の幅を70%に設定 */
  padding-left: 10px;
  /* 右側の間隔を調整 */
}

.about-card-title {
  font-size: 24px;
  font-family: "abhaya-libre", serif;
  font-weight: bold;
  color: #32aa9e;
  margin-bottom: 10px;
}

.name-ja {
  padding-bottom: 5px;
  font-size: 22px;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 2px;
}

.name-en {
  font-size: 16px;
  font-family: "abhaya-libre", serif;
  letter-spacing: 2px;
}

.about-card-separator {
  border-bottom: 1px solid #b0a28f;
  width: 80%;
  margin: 15px 0;
}

/* occupation-flexを横並びに設定 */
.container .card .face .content .occupation-flex {
  display: flex;
  align-items: center;
}

.container .card .face .content .occupation-flex p {
  margin-right: 10px;
}

.container .card .face .content .occupation-flex .slash {
  margin: 0 5px;
  /* スラッシュ周りの間隔 */
}

.about-profile-area {
  line-height: 2.5;
  margin-top: 15px;
  font-size: 18px;
}

.profile-item-flex {
  display: flex;
  gap: 15px;
}

.bloodtype {
  display: none;
}

.my-type {
  font-weight: bold;
}

.container .card.expanded {
  width: 80vw;
  overflow-x: auto;
  /* 横スクロールを有効化 */
  white-space: nowrap;
  /* 子要素を折り返さない */
}

.container .card.expanded>* {
  display: inline-block;
  /* 子要素を横並びにする */
}

/*-----------------
face2が表示される
  ----------------- */
/* face2 */

.time-line {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  padding: 0;
  max-width: 650px;
  margin: 0 auto;
}

.prev,
.current {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: bold;
}

ol {
  display: flex;
  padding-left: 0;
  width: 100%;
  justify-content: space-between;
}

.time-line li {
  display: flex;
  flex: 1 1;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  color: #b0a28f;
  font-size: 17px;
  max-width: 100px;
}

.time-line li:nth-child(6) {
  color: #6b4747;
}

.time-line li.prev {
  color: #b0a28f;
}

.time-line li::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-bottom: 15px;
  content: "";
  border: 2px solid #b0a28f;
  border-radius: 50%;
  background-color: #b0a28f;
}

.time-line li.prev::before {
  border-color: #b0a28f;
  left: -1px;
}

.time-line li.current::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #6b4747;
  border-radius: 50%;
  animation: pulse 1s infinite ease-in-out;
}

/* ↑のanimationを反映させるために必要 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}


.time-line li:not(:last-child)::after {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 1px;
  background-color: #6b4747;
  content: "";
}

.time-line li.prev::after {
  background-color: #b0a28f;
}

.time-line li.current::before {
  background-color: #DE9961;
}

.time-line-text {
    word-wrap: break-word;
    word-break: break-word;
    text-align: justify;
    max-width: 100px;
    writing-mode: vertical-rl;
    margin: 30px auto 60px;
    height: 172px;
    letter-spacing: 1px;
    font-size: 15px;
    font-weight: normal;
}

.memory-content {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 650px;
}

.memory-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 42px;
  max-height: 150px;
}

/*-----------------
face3が表示される
  ----------------- */

.face3-content {
  display: flex;
  flex-direction: column;
  /* 縦並びにする */
  gap: 15px;
}

h5 {
  font-size: 18px;
  font-family: "abhaya-libre", serif;
  color: #fffaf7;
  background-color: #cabcb3;
  display: inline-block;
  width: 75px;
  text-align: center;
}

.skills {
  display: flex;
  /* 横並びに */
  flex-wrap: wrap;
  /* はみ出したら折り返し */
  justify-content: center;
  /* 中央揃え */
  gap: 20px;
  /* 要素間の余白 */
  padding: 20px 0 0;
}

.skills-item {
  width: 150px;
  /* 各スキルカードの幅 */
  text-align: center;
}

.skills-item-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 33px 50px;
  text-align: center;
}

.skills-level {
  position: relative;
  left: -50%;
  top: 5px;
  width: 100%;
}

.skills-level span {
  font: 26px Monaco, MonoSpace;
  height: 100px;
  position: absolute;
  width: 100%;
  left: 50%;
  top: 50%;
  transform-origin: bottom center;
}

.sun1 {
  transform: rotate(-30deg) translateY(-30px);
}

.sun2 {
  transform: rotate(-15deg) translateY(-43px);
}

.sun3 {
  transform: rotate(0deg) translateY(-45px);
}

.sun4 {
  transform: rotate(15deg) translateY(-43px);
}

.sun5 {
  transform: rotate(30deg) translateY(-30px);
}

.skills-item img {
  width: auto;
  /* 画像の幅を自動調整 */
  max-width: 15%;
  margin: 13px 0;
  height: auto;
}

.skills-item .skills-name {
  font-size: 18px;
  font-family: "abhaya-libre", serif;
  font-weight: 700;
}

.face3-separator {
  border-bottom: 1px solid #b0a28f;
  width: 100%;
}

.license {
  display: flex;
  align-items: center;
  gap: 15%;
}

.license_text_area {
  display: flex;
  align-items: center;
  gap: 80px;
}

/*-----------------
face4が表示される
  ----------------- */

.face4-content {
  display: flex;
  flex-direction: column;
  padding: 0 25px;
}

.about-message-title {
  font-size: 24px;
  font-weight: normal;
}

.title-bold {
  font-weight: bold;
}

.about-message-separator {
  border-bottom: 1px solid #b0a28f;
  width: 63%;
  margin: 15px 0;
}

.about-message {
  font-size: 17px;
  margin-top: 30px;
  line-height: 2.5;
}

.about-message-bottom {
  line-height: 2.5;
}

.message-bold {
  font-weight: bold;
  color: #32aa9e;
}

/*-----------------
ボタンの基本スタイル
----------------- */
.container .card .view-more-btn {
  font-family: "abhaya-libre", serif;
  color: #6b4747;
  font-size: 18px;
  border: solid 3px #32aa9e;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  box-shadow: 2px 2px 4px gray;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  position: absolute;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
}

/* カードが拡張した時のボタン位置 */
.container .card.expanded .view-more-btn {
  right: calc(100% - 187%);
  /* カードの拡張に合わせて右に移動 */
}

/* ホバー時 */
.container .card .view-more-btn:hover {
  background: #32aa9e;
  color: #fff;
}

/* クリック時 */
.container .card .view-more-btn:active {
  transform: translateY(4px);
  box-shadow: 1px 1px 2px gray;
  background: #278c75;
}

audio {
  display: none;
}

.supplement {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  color: #6b4747;
  text-align: end;
  margin-top: 15px;
}

/*-------------------------------------------
works
-------------------------------------------*/
#works {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-title-vertical {
  position: absolute;
  top: 47%;
  left: 117px;
  transform: translate(-50%, -50%) rotate(180deg);
  writing-mode: vertical-lr;
  font-size: 300px;
  color: #D1CCC5;
  font-family: "abhaya-libre", serif;
  white-space: nowrap;
  height: 100vh;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  max-height: 80%;
  width: 100%;
  height: 100%;
  margin: 0;
}


.gallery-item {
  width: 100%;
  height: auto;
  /* 高さ自動に */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 5 / 3;
  /* 画像サイズを比率で統一 */
  object-fit: cover;
  display: block;
  box-shadow: 2px 2px 5px gray;
  transition: 0.5s;
  position: relative;
}

.gallery-item img:hover {
  transform: translateY(10px);
  box-shadow: 4px 6px 15px #6B4747;
}

.item-title-area {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 16px 0;
  font-size: 18px;
  font-family: "abhaya-libre", serif;
  color: #6B4747;
}


.item-title {
  color: #fff;
  background-color: #B0A28F;
  padding: 6px 16px;
  height: auto;
}

.item-subtitle {
  color: #6B4747;
}


/*-------------------------------------------
work.html
-------------------------------------------*/
/* TODO:ここでoverflow:autoにしても大丈夫なのか・・・？ */
body {
  overflow: auto;
}

#each_work {
  background-color: #F1F0F0;
  /* height: 100vh; */
}

.each_work_inner {
  padding: 0 30px;
  font-family: "Noto Serif JP", serif;
  color: #6B4747;
  max-width: 1000px;
  margin: 0 auto;
}

.work_fv {
  max-width: 1000px;
  margin: 0 auto 80px;
  padding-top: 80px;
}

.work_fv img {
  width: 100%;
}

.details_area {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.work_info_flex {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  width: 50%;
}


.work_info {
  background-color: #B0A28F;
  padding: 8px 16px;
  color: #fff;
  margin-right: 50px;
  max-width: 140px;
  width: 100%;
  text-align: center;
}

.work-title,
.responsible_place,
.work_info_text,
.days,
.responsive {
  font-size: 18px;
}

.work_info_text {
  margin-top: 45px;
  margin-bottom: 10px;
  line-height: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

 .work_info_text p {
   font-size: 16px;
}

 .work_info_text a {
   color: #DE9961;
   font-size: 19px;
}

 .work_info_text a:hover {
   color: #dc714d;
}

.web-site {
  max-width: 700px;
  margin: 120px auto 0;
  padding-bottom: 100px;
}

.back-to-btn-area {
  padding-bottom: 80px;
    display: flex;
    justify-content: flex-end;
}

.back-to-works {
  position: relative;
  background-color: #32AA9E;
  color: #fff;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  outline: 1px solid;
  outline-color: #32AA9E;
  display: inline-block;
  transition: .3s;
  padding-left: 8px;
  font-family: "abhaya-libre", serif;
}

.back-to-works::after {
  position: absolute;
  top: 50%;
  left: 1em;
  width: 0.5em;
  height: 0.5em;
  transform: translateY(-50%) rotate(225deg);
  border-right: 1px solid #fff;
  border-top: 1px solid #fff;
  content: "";
}


.back-to-works:hover {
  color: #fff;
  animation: light .8s infinite;
}

@keyframes light {
  100% {
    outline-color: transparent;
    outline-offset: 10px;
  }
}


/*-------------------------------------------
faq / pricing-faq
-------------------------------------------*/
.page-info {
  font-size: 18px;
  font-family: "Noto Serif JP", serif;
  color: #6B4747;
  text-align: center;
  margin: 40px 0;
}

.faq-info {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  color: #6B4747;
  font-size: 24px;
  margin: 50px 0 15px;
}

/* .accordion {
  margin-top: 50px;
} */

.accordion_container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion_title {
  font-family: "Noto Serif JP", serif;
  color: #6B4747;
  font-size: 20px;
  padding: 45px 0 45px 45px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.accordion_title:hover {
  opacity: 0.8;
  background-color: #D9D9D9;
}

.accordion_title.open {
  background-color: #D9D9D9;
  opacity: 0.8;
}


/* アコーディオンのopen/closeボタン */
.icon_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 5%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  box-sizing: border-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.8s;
}

.icon {
  display: block;
  width: 18px;
  height: 18px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
  position: relative;
}

.accordion_title.open .icon_wrap {
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
}

.icon:before,
.icon:after {
  display: flex;
  content: '';
  background-color: #6B4747;
  border-radius: 10px;
  width: 18px;
  height: 4px;
  position: absolute;
  top: 7px;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transform-origin: center center;
}

.icon:before {
  width: 4px;
  height: 18px;
  top: 0;
  left: 7px;
}


.accordion_title.open .icon_wrap .icon:before {
  content: none;
}

.accordion_title.open .icon_wrap .icon:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.accordion_inner {
  max-height: 0;
  overflow: hidden;
  padding: 0 45px;
  /* paddingの調整 */
  border-bottom: 2px solid #DE9961;
  box-sizing: border-box;
  visibility: hidden;
  /* 目には見えないけど空間を占めない */
  transition: max-height 0.5s ease-in-out, visibility 0s 0.5s;
  /* visibilityの遅延 */
}

.accordion_inner.open {
  max-height: 300px;
  /* コンテンツの高さに合わせて調整 */
  visibility: visible;
  /* 開いた時には表示される */
  transition: max-height 0.5s ease-in-out;
  /* 高さだけでなく表示の遅延も調整 */
}

.accordion_container:nth-of-type(2) .accordion_inner {
  border-bottom: 2px solid #DE9961;
}

.accordion_container:nth-of-type(3) .accordion_inner {
  border-bottom: 2px solid #DE9961;
}

.ac_inner_wrapper {
  height: 100px;
  display: flex;
  align-items: center;
}

/* カンプではfont-size: 16px; */
p.txt_a_ac {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  color: #6B4747;
}

p.txt_a_ac a {
  color: #DE9961;
  font-weight: bold;
}

.js-open {
  color: #DE9961;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
}

.faq_text {
  text-align: center;
  color: #6B4747;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  position: relative;
  top: 10%;
}

.faq_text a {
  color: #DE9961;
}

/* モーダルを中央に配置 */
.modal {
  background-color: #FFFAF7;
  border-radius: 15px;
  border: solid 5px #BC8B31;
  width: 100%;
  max-width: 825px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 55px 30px 85px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
  display: none;
  /* 初期状態で非表示 */
  z-index: 1000;
  /* 他のコンテンツより上に表示 */
  opacity: 0;
  /* 初期状態で透明 */
  transition: opacity 0.3s ease-in;
}

/* モーダルが開いたときの背景色 */
.modal-open .background {
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-title {
  color: #6B4747;
  font-size: 34px;
  font-weight: bold;
  font-family: "abhaya-libre", serif;
  text-align: center;
}

.modal-flex {
  color: #6B4747;
  font-size: 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 40px 0 35px;
}


/* モーダルアイテム */
.modal-item {
  font-family: "Noto Serif JP", serif;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeLeft 1.5s ease-out forwards;
}

/* 矢印 */
.flow-arrow {
  width: 30px;
  height: 30px;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeLeft 1.5s ease-out forwards;
}

/* アニメーション順序：交互に0.2sずつ進める */
.modal-item:nth-child(1) {
  animation-delay: 0.1s;
}

.flow-arrow:nth-child(2) {
  animation-delay: 0.2s;
}

.modal-item:nth-child(3) {
  animation-delay: 0.3s;
}

.flow-arrow:nth-child(4) {
  animation-delay: 0.4s;
}

.modal-item:nth-child(5) {
  animation-delay: 0.5s;
}

.flow-arrow:nth-child(6) {
  animation-delay: 0.6s;
}

.modal-item:nth-child(7) {
  animation-delay: 0.7s;
}

.flow-arrow:nth-child(8) {
  animation-delay: 0.8s;
}

.modal-item:nth-child(9) {
  animation-delay: 0.9s;
}

/* アニメーション定義 */
@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
    /* ← 左から元の位置へ */
  }
}

.step {
  font-family: "abhaya-libre", serif;
  margin-bottom: 3px;
  font-weight: bolder;
}

.step span {
  display: inline-block;
  color: #6B4747;
  padding: 0 2px;
}

.s {
  transform: rotate(-2deg) translateY(-2px) translateX(-2px);
}

.t {
  transform: rotate(-5deg) translateY(-10px);
}

.e {
  transform: rotate(5deg) translateY(-10px);
}

.p {
  transform: rotate(2deg) translateY(-4px) translateX(2px);
}


.step-number {
  font-weight: bold;
  font-size: 18px;
}

.modal-item img {
  margin: 10px 0 25px;
}

.modal-item:first-of-type img {
  margin-bottom: 5px;
  margin-top: 0px;
}

.step_contents {
  line-height: 1.3;
}



/* closeボタン */
.js-close {
  text-decoration: none;
  color: #6B4747;
  font-size: 20px;
  position: absolute;
  bottom: 36px;
  right: 83px;
  font-family: "abhaya-libre", serif;
}




/*-------------------------------------------
contact 
-------------------------------------------*/
.contact-footer-wrapper {
  background-image: url(../Portfolio-img/Main-Background.png);
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0 0 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #F1F0F0;
}


.contact-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 45px;
  /*justify-content: space-between; */
  max-width: 1200px;
  width: 100%;
  max-height: 595px;
  height: 100%;
  margin: 50px auto 0;
}


.contact-text-area {
  background-image: url("Portfolio-img/background-sun.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 50vh;
  /* padding-right: 5vw; */
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  font-family: "abhaya-libre", serif;
}

.text-area_wrap {
  margin-top: 200px;
  text-align: center;
}

textarea {
  height: 150px;
  /* お好みの高さに調整してください */
  resize: vertical;
  /* 縦方向のリサイズを許可 */
}

/* TODO:カンプではfont-size:24px */
.contact-text {
  font-size: 20px;
  color: #6B4747;
  letter-spacing: 0.5px;
  line-height: 2;
}

form {
  max-width: 500px;
  width: 100%;
  max-height: 595px;
  height: 100%;
  background-color: #CABCB3;
  color: #fff;
  padding: 20px 40px 60px;
  border-radius: 5px;
  position: relative;
  /* box-shadow: 5px 5px 15px -5px gray; */
  border-radius: 5px;
  /* margin-top: 5%; */
  font-family: "abhaya-libre", serif;
}



/* TODO: カンプではfont-size:16px */
.form-title {
  font-size: 20px;
  margin-bottom: 15px;
}


.wpcf7-list-item {
  margin: 0;
}

.radio-group {
  display: flex;
  margin: 10px 0;
}



/* TODO:カンプではfont-size:16px */
.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 18px;
  margin-top: 0;
}


.input-area {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  max-height: 435px
}



/* TODO:カンプではfont-size:16px */
label {
  font-size: 18px;
  margin-top: 10px;
}

label:nth-child(1) {
  margin: 5px 20px 5px 0;
  font-size: 16px;
}

input,
textarea {
  width: 100%;
  margin-top: 5px;
  border: 1px solid #fff;
  border-radius: 5px;
  background-color: #fff;
  color: #6B4747;
  font-family: "abhaya-libre", serif;
}

input[type=text],
input[type=email],
textarea {
  border: 1px solid #6B4747;
  margin: 8px 0 0;
}


.privacy-policy {
  display: flex;
  letter-spacing: 2px;
  align-items: center;
}

.privacy-policy a {
  color: #6B4747;
  margin-left: 8px;
  font-size: 16px;
  letter-spacing: 1px;
}

.privacy-policy a:hover {
  color: #fff;
  text-decoration: underline;
}

.privacy-policy label {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* .submit */
/* .submit */
form input[type=submit] {
  position: absolute;
  bottom: -3px;
  right: -132px;
  display: block;
  width: 90px;
  height: 90px;
  background-color: #fff;
  border: solid 3px #32AA9E;
  box-shadow: 2px 2px 4px gray;
  border-radius: 50%;
  padding: 10px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  text-align: center;
}

/* .submit:hover,
.submit:active */
form input[type=submit] {
  transform: translateY(4px);
  box-shadow: 1px 1px 2px gray;
  background: #278c75;
}

/* ボタン内の画像 */
button img {
  max-width: 30px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  bottom: 12px;
}

/* 送信テキスト */
.sending {
  font-family: "abhaya-libre", serif;
  color: #6B4747;
  position: relative;
  bottom: 23px;
}

/* ホバー時：白く変化 */
.submit:hover img,
.submit:active img,
.submit:hover .sending,
.submit:active .sending {
  filter: brightness(0) invert(1);
}





/*-------------------------------------------
privacy_policy.html
-------------------------------------------*/
.privacy_policy {
  padding: 50px 30px 60px;
}

.info_area {
  text-wrap: auto;
  display: block;
  counter-reset: number;
}

.privacy_policy-text {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: left;
  line-height: 1.8;
  color: #6B4747;
  font-size: 18px;
  font-family: "Noto Serif JP", serif;
}

.is-first {
  margin-top: 150px;
  border-bottom: solid 1px #6B4747;
  padding-bottom: 50px;
}

.is-second {
  margin-top: 100px;
}



.pp_to-beginning {
  font-size: 16px;
  font-weight: bolder;
  position: relative;
  margin-bottom: 30px;
}

.privacy_policy-info span {
  color: #6B4747;
  font-size: 20px;
  font-family: "abhaya-libre", serif;
}

.privacy_policy-info {
  font-size: 18px;
  padding: 0 0 0 21px;
}


/* 番号を表示する要素 */
.guest_from_get_information {
  counter-increment: number;
  font-size: 15px;
  font-weight: bolder;
  position: relative;
  padding-left: 1.5em;
  /* 番号のスペースを確保 */
}

/* 番号のスタイル */
.guest_from_get_information:before {
  content: counter(number) ".";
  margin-right: .5em;
  position: absolute;
  left: 0;
}

.description {
  font-size: 15px;
  margin: 30px 0;
  padding-left: 1.4em;
}

.privacy_policy-list {
  font-size: 15px;
  list-style: disc;
  padding-left: 2.5em;
}

.privacy_policy-item {
  margin-bottom: 10px;
}

.business_operator_information {
  font-size: 15px;
  padding-left: 1.4em;
}

.business_operator_information:first-of-type {
  margin-top: 30px;
}

.business_operator_information.is-btm {
  margin: 10px 0;
}


.establishment-area {
  color: #6B4747;
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
  max-width: 900px;
  margin: 0 auto 100px;
  text-align: right;
}

.pp_back-to-btn-area {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: end;
    display: flex;
    justify-content: flex-end;
}

.back-to-contact {
      font-family: "abhaya-libre", serif;
    position: relative;
    background-color: #278c75;
    border: solid #32AA9E;
    color: #fff;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    outline: 1px solid;
    outline-color: #278c75;
    display: flex;
    transition: .3s;
    padding-left: 8px;
    font-size: 15px;
    justify-content: center;
    align-items: center;
}


.back-to-contact::after {
  position: absolute;
  top: 50%;
  left: 1em;
  width: 0.5em;
  height: 0.5em;
  transform: translateY(-50%) rotate(225deg);
  border-right: 1px solid #fff;
  border-top: 1px solid #fff;
  content: "";
}

.back-to-contact:hover {
  color: #fff;
  animation: light .8s infinite;
  transform: translateY(4px);
  box-shadow: 1px 1px 2px gray;
  background: #fff;
  color: #6B4747;
  border: solid 2px #32AA9E;
}

.back-to-contact:hover::after {
  border-color: #6B4747;
}




/* カスタムボタンの見た目 */
.custom-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 5px;
  right: 30px;
  width: 100px;
  height: 100px;
  background-color: #fff;
  border: solid 2px #32AA9E;
  box-shadow: 2px 2px 4px gray;
  border-radius: 50%;
  padding: 10px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  text-align: center;
  cursor: pointer;
  flex-direction: column;
}

/* ホバー時 */
.custom-submit:hover,
.custom-submit:active {
  transform: translateY(4px);
  box-shadow: 1px 1px 2px gray;
  background: #278c75;
}

/* ボタン内の画像 */
.custom-submit img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-top: 20px;
}

/* テキスト */
.custom-submit .sending {
  font-family: "abhaya-libre", serif;
  color: #6B4747;
  /* position: relative;
  bottom: 179px; */
  font-size: 12px;
}

/* ホバー時の色変更 */
.custom-submit:hover img,
.custom-submit:active img,
.custom-submit:hover .sending,
.custom-submit:active .sending {
  filter: brightness(0) invert(1);
}

/*-------------------------------------------
footer
-------------------------------------------*/

footer {
  position: static;
  width: 100%;
  margin-top: auto;
}

.footer-inner {
  display: none;
}

.footer-logo {
  display: inline-block;
}

.footer-logo a {
  font-size: 24px;
  color: #6B4747;
  font-family: "abhaya-libre", serif;
  font-weight: bold;
}

.footer-ul {
  display: flex;
  align-items: center;
  padding-left: 0;
  list-style: none;
}

/* .footer-ul:first-child {
  margin-left: 30px;
} */



.footer-ul :nth-child(2) {
  margin: 0 0 0 30px;
}

.footer-ul :nth-child(3) {
  margin-left: 30px;
}

.footer-ul :nth-child(4) {
  margin: 0 30px 0 0;
}

.footer-menu {
  margin: 5px 0 0;
  /* auto を削除して左寄せ */
}

.footer-menu a {
  font-size: 20px;
  font-family: "abhaya-libre", serif;
  color: #6B4747;
}

.sub-li {
  font-size: 14px;
}

.copy-light {
  text-align: end;
  font-size: 14px;
  color: #6B4747;
  font-family: "abhaya-libre", serif;
  padding: 0 67px 0 0;
  margin-bottom: 15px;
  height: 60px;
  width: 100vw;
}



/*-------------------------------------------
Thanks
-------------------------------------------*/
#thanks-page {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #f0f0f0;
  text-align: center;
  padding: 40px 0 60px;
  position: fixed;
  /* 固定表示 */
  top: 0;
  left: 0;
  z-index: 9999;
}



.thanks-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  height: 80vh;
}

.thanks-logo {
  width: 100%;
  height: auto;
}

.thanks-message {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  color: #6B4747;
}

.back-to-top {
  font-size: 16px;
  padding: 12px 30px;
  background-color: #CABCB3;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 2px 2px 5px gray;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background-color: #6B4747;
}

.pagetop {
  display: none;
}

/*-------------------------------------------
sp
-------------------------------------------*/
@media (max-width: 768px) {
  .background {
    height: auto;
    padding: 30px;
    width: 100vw;
  }

  .page-title::before,
  .page-title::after {
    margin: 0;
    width: 268px;
  }

  .page-title span {
    padding: 0 30px;
  }
}


@media screen and (min-width: 768px) {
  [data-scroll-section] {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    /* justify-content: center; */
  }

  [data-scroll-container] {
    display: flex !important;
    flex-direction: row !important;
    height: 100vh !important;
    width: max-content !important;
    overflow-x: hidden !important;
  }
}

@media screen and (max-width: 767px) {
  [data-scroll-container] {
    display: block !important;
    /* スマホ表示で通常の縦スクロールに戻す */
    width: 100% !important;
    height: auto !important;
    overflow-x: auto !important;
    /* 横スクロール解除 */
    display: flex !important;
    /* 縦並びにするためにflexを使用 */
    flex-direction: column !important;
    /* 子要素を縦並びに */
  }
}



@media (max-width:768px) {

  /* header */
  header {
    width: 0;
    height: 0;
    overflow: hidden;
    border: none;
    background: none;
  }

  /* hamburger */
  #hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    /* メニューアイコンが他の要素より前に来るように */
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 65px;
  }

  @media (max-width: 375px) {
    .hamburger {
      max-width: 50px;
    }
  }

  @media (max-width: 320px) {
    .hamburger {
      max-width: 40px;
    }
  }


  #hamburger::before,
  .year-number::after,
  .year-number,
  h1 {
    display: none;
  }

  /* ハンバーガーメニューのナビゲーション */
  .hamburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transform: translateY(-100%);
    /* 初期位置でメニューを画面外に隠す */
    opacity: 0;
    /* 初期状態では透明 */
    visibility: hidden;
    /* 初期状態では非表示 */
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    /* ふんわりとスライド */
  }

  .hamburger-menu.active {
    transform: translateY(0);
    /* メニューを表示位置にスライド */
    opacity: 1;
    /* 完全に表示 */
    visibility: visible;
    /* 表示状態に */
  }

  .hamburger-menu.open {
    transform: translateY(0);
    /* メニューが表示される */
  }

  nav .inner {
   padding: 80px 25px;
}

  .hamburger-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .hamburger-menu li {
    border-bottom: 1px solid #fff;
  }

  .hamburger-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
  }

  .toggle_btn,
  .close_btn {
    display: block;
  }
}

@media (max-width: 320px) {
  .inner ul li .sub-li {
    font-size: 13px;
  }
}

/* nav */
@media screen and (max-width: 767px) {

  .toggle_btn,
  .close_btn {
    display: none;
  }

  /* .menu_icon {
    display: block;
    width: 65px;
    height: auto;
    cursor: pointer;
  } */

  .menu_icon {
    width: 65px;
    height: auto;
    cursor: pointer;
  }

  .menu_text {
    font-size: 14px;
    margin-top: 5px;
  }

  nav {
    left: -220px;
    width: 220px;
  }

  nav.active {
    left: 0;
    display: block;
  }
}


/* privacy_policy */
 .privacy_policy-info {
  font-size: 16px;
}


/* fv */
@media (max-width: 768px) {
  #fv {
    padding: 0 30px;
    width: 100vw;
  }

  .site-title {
    font-size: 32px;
  }

  .sub-title {
    font-size: 16px;
  }

  /* sentiment */

  .page-title {
    font-size: 26px;
    margin-top: 35px;
  }

  .message-area {
    text-align: center;
    margin: 40px 20px;
  }

  .message-en {
    font-size: 24px;
    margin: 0 0 30px;
    line-height: 2;
  }

  .message-ja {
    font-size: 16px;
    margin: 0;
    line-height: 2;
  }

  body.no-scroll {
    position: fixed;
    width: 100%;
  }



  /* about */
  .about-background {
    padding: 35px 30px;
    width: 100vw;
    height: auto;
  }

  .container {
    margin: 60px auto;
    max-width: 450px;
    width: 100%;
  }

  .container .card {
    display: block;
    max-width: 450px;
    width: 100%;
    height: 550px;
    position: relative;
    margin: 0 auto;
  }

  .container .card .face:nth-child(1) {
    padding: 30px 15px 0 30px;
  }

  @media screen and (max-width: 768px) {
    .container .card .card__inner {
      display: block !important;
      justify-content: center !important;
      /* width: 53vw; */
      height: auto;
    }
  }

  @media screen and (min-width: 769px) {
    .container .card .card__inner {
      display: unset !important;
    }
  }

  .container .card.expanded {
    height: 75vh;
    overflow-y: auto;
    padding: 0;
    max-width: 450px;
  }

  .container .card .face {
    width: 100%;
    height: auto;
    padding: 35px;
  }


  .container .card .face .content {
    display: flex;
    flex-direction: column;
    height: 80%;
    width: 100%;
    padding: 0;
  }

  .container .card .face .content .about-left {
    width: 30%;
    margin-bottom: 30px;
    padding: 0;
  }

  .about-left img {
    max-width: 100px;
  }

  .container .card .face .content .about-right {
    width: 100%;
    padding-left: 0;
    font-size: 16px;
  }

  .container .card .face .content .about-right .expanded {
    line-height: 50px;
  }

  .about-profile-area {
    font-size: 15px;
    display: inline-block;
  }

  .about-card-separator {
    width: 90%;
  }

  .name-area {
    display: inline-flex;
    align-items: center;
  }

  .name-ja,
  .name-en {
    font-size: 16px;
  }

 
@media (max-width: 375px) {
   .container .card.expanded .view-more-btn {
            bottom: -3150px;
       }
   .time-line li:not(:last-child)::after {
            height: 112%;
        }
}


  @media (max-width: 320px) {

    .name-ja,
    .name-en {
      font-size: 15px;
    }
  }

  .name-ja {
    margin-right: 20px;
    padding-bottom: 0;
  }

  .container .card .face .content .occupation-flex {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .container .card .face .content .occupation-flex p {
    margin: 3px 0;
  }

  .container .card .face .content .occupation-flex .slash {
    display: none;
  }



  .time-line {
    list-style-type: none;
    display: block;
    font-family: "Noto Serif JP", serif;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin: 50px 0;
  }

  .prev,
  .current {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    font-weight: bold;
  }

  ol {
    display: flex;
    flex-direction: column;
    /* 縦方向に変更 */
    width: 85%;
  }

  .time-line li {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 515px;
    gap: 15px;
    margin-top: 2px;
  }

  .time-line li.prev {
    padding-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 30px;
    position: relative;
    gap: 0;
  }

  .time-line li::before {
    display: inline-block;
    width: 1px;
    height: 1px;
    margin-bottom: 6px;
    content: '';
    border: 7px solid #B0A28F;
    border-radius: 50%;
    background-color: #B0A28F;
    left: -3px;
    position: absolute;
  }

  .time-line-text {
    margin: 10px 0;
    text-align: start;
    max-width: 370px;
    font-size: 14px;
    writing-mode: horizontal-tb;
  }

  .time-line li:not(:last-child)::after {
    position: absolute;
    top: 0;
    /* アイテムの下に線を表示 */
    left: 1.8%;
    z-index: -1;
    width: 1.5px;
    height: 110%;
    /* 縦線の長さ */
    content: '';
  }

  .time-line li.prev::after {
    background-color: #B0A28F;
  }

  .time-line li.current {
        color: #6B4747;
        padding-bottom: 45px;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 30px;
        position: relative;
        gap: 0;
  }

  .time-line li.current::before {
    width: 10px;
    height: 10px;
    border: solid 2px;
    color: #b0a28f;
    bottom: 234px;
    left: -1px;
  }


  .memory-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 29px;
    width: 25%;
  }

  .memory-content img {
    max-width: 100%;
  }

  .memory-content img:nth-child(2),
  .memory-content img:nth-child(5),
  .memory-content img:nth-child(6),
  .memory-content img:nth-child(7),
  .memory-content img:nth-child(8),
  .memory-content img:nth-child(9),
  .memory-content img:nth-child(11) {
    display: none;
  }

  .face3-separator {
    width: 90%;
    margin: 8px 0;
  }

  .skills-item-content {
    display: flex;
    flex-direction: column;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 85px 20px;
  }

  .skills-item {
    width: 190px;
    margin: 0 auto;
  }

  .license_text_area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
  }

  .license {
    display: flex;
    align-items: flex-start;
    gap: 20%;
  }

  .about-message-title {
    font-size: 20px;
    margin-top: 50px;
  }

  .about-message-separator {
    width: 90%;
  }

  .about-message {
    margin-top: 20px;
    font-size: 16px;
    text-wrap: auto;
    letter-spacing: 1.5px;
    width: 95%;
  }

  .about-message-bottom {
    line-height: 2;
    text-wrap: auto;
    letter-spacing: 1.5px;
    width: 95%;
  }

  .container .card .view-more-btn {
    position: absolute;
    right: 20px;
    bottom: 30px;
    width: 90px;
    height: 90px;
    font-size: 16px;
  }

  .container .card.expanded .view-more-btn {
    right: 30px !important;
    bottom: -3400px;
  }

    .about-message {
      font-size: 14px;
    }


    .license {
      gap: 15%;
    }
  }


    

  @media (max-width:320px) {
    .profile-item-flex {
      display: block;
    }

    .about-profile-area {
      font-size: 14px;
    }

    .container .card .view-more-btn {
      bottom: 5px
    }

    .container .card.expanded .view-more-btn {
      bottom: -3425px;
    }
  }

@media (max-width: 768px) {
     .supplement {
       font-size: 13px;
    }
  }


  /* works */
  @media (max-width:768px) {
    #works {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      width: 100vw;
    }

    .page-title-vertical {
      position: absolute;
      top: -70px;
      left: auto;
      transform: none;
      writing-mode: horizontal-tb;
      font-size: 142px;
      text-align: center;
      height: auto;
    }

    @media (max-width:375px) {
      .page-title-vertical {
        font-size: 120px;
      }
    }

    @media (max-width:320px) {
      .page-title-vertical {
        font-size: 100px;
      }
    }

    .gallery {
      grid-template-columns: 1fr;
      max-width: 450px;
      width: auto;
      margin: 180px 0 0;
      gap: 40px;
    }

    .item-title-area {
      margin: 33px auto;
      font-size: 16px;
    }

/*-----------
work.html
------------*/
    .work_info {
      font-size: 14px;
      margin: 0 0 25px;
    }

    .work-title,
    .responsible_place,
    .work_info_text,
    .days,
    .responsive {
      font-size: 17px;
    }

    .details_area {
      display: flex;
      align-content: flex-start;
      flex-wrap: wrap;
      flex-direction: column;
    }

    .work_info_flex {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      margin-bottom: 45px;
      width: 100%;
    }

    .work_info_text {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      line-height: normal;
    }

     .work_info_text p {
       font-size: 14px;
      padding-left: 10px ;
    }

     .work_info_text a {
       font-size: 14px;
       font-weight: bolder;
       color: #DE9961;
       display: inline-block;
    }

      .works_info_text a:hover {
       color: #dc714d;
    }

    .web-site {
      max-width: 530px;
    }

    .back-to-works {
      width: 95px;
      height: 95px;
    }

    .back-to-works::after {
      left: 0.7em;
    }


    /* faq */
    .page-info {
      font-size: 16px;
      margin: 40px 0;
    }

    .faq-info {
      font-size: 18px;
      margin: 50px 0 0;
    }

    p.txt_a_ac {
      font-size: 16px;
      line-height: 1.2px;
    }

    .accordion {
      margin: 50px 0;
    }

    .accordion_inner {
      padding: 10px 42px 20px 42px;
    }
  }
}

  p.txt_a_ac {
    font-size: 14px;
  }
}

@media screen and (max-width: 1024px) {
  .accordion_title {
    font-size: 20px;
  }

  .icon_wrap {
    width: 30px;
    height: 30px;
    margin-top: -15px;
  }
}

@media (max-width: 768px) {
  .accordion_title {
    font-size: 16px;
    text-align: left;
    padding: 10px 40px 10px 22px;
  }

  .contact-flex {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    margin: 0 auto 115px;
    gap: 0;
    max-height: 850px;
  }

  .contact-text-area {
    min-height: 25vh;
    width: 100%;
    padding: 0 20px;
  }

  .text-area_wrap {
    margin-top: 100px;
  }



  .contact-text {
    font-size: 16px;
    text-align: center;
  }

  .faq_text {
    font-size: 16px;
    padding: 0 20px;
  }

  .modal-flex {
    color: #6B4747;
    font-size: 16px;
    text-align: center;
    display: flex;
    gap: 45px;
    margin: 8% 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .modal-item {
    font-family: "Noto Serif JP", serif;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeLeft 1.5s ease-out forwards;
  }

  .flow-arrow {
    transform: rotate(90deg) translateY(-30px);
    /* 下向きに回転し、上から出現 */
    animation: fadeDown 1.5s ease-out forwards;
  }

  @keyframes fadeDown {
    0% {
      opacity: 0;
      transform: translateY(-30px) rotate(90deg);
    }

    100% {
      opacity: 1;
      transform: translateY(0) rotate(90deg);
    }
  }

  .js-close {
    position: static;
  }

  /* PCでは背景スクロールを止めない */
  body.modal-open {
    overflow: auto;
  }

  /* モーダルはスクロールしない */
  .modal {
    max-height: none;
    overflow: visible;
  }
}

/* スマホ＆タブレット向けスタイル（767px以下） */
@media (max-width: 767px) {

  /* 背景スクロールを止める */
  body.modal-open {
    overflow: hidden;
    height: 100%;
  }

  /* モーダル内を縦スクロール可能に */
  .modal {
    width: 85%;
    max-height: 80vh;
    overflow-y: auto;
  }
}

@media (max-width:768px) {
  .step {
    margin-bottom: 0;
  }

  .t {
    transform: rotate(-5deg) translateY(-8px);
  }

  .e {
    transform: rotate(5deg) translateY(-8px);
  }

  .modal-item img {
    margin: 0 0 10px;
    width: 60%;
  }

  form {
    max-width: 430px;
    width: 100%;
    padding: 30px 20px 80px;
    height: auto;
  }

  .form-title {
    font-size: 18px;
    margin-bottom: 0;
  }

   .radio-group {
    flex-wrap: nowrap;
    margin: 5px 0;
  }

.input-area {
  margin-bottom: 0;
  max-height: 385px;
  font-size: 15px;
  }

  label:nth-child(1) {
    font-size: 14px;
  }

  input {
    margin-top: 0;
  }

   textarea {
    height: 100px;
    font-size: 15px;
    resize: vertical;
}

 .privacy-policy {
  display: flex;
  flex-wrap: wrap;
  letter-spacing: 2px;
  align-items: center;
  max-width: 62%;
  width: 100%;
}

 .privacy-policy a {
   font-size: 14px;
   margin-left: 5px;
  }

  .submit {
    width: 50px;
    height: 50px;
    bottom: 0;
  }

  .custom-submit {
   width: 70px;
   height: 70px;
   bottom: 20px;
   right: 20px;
  }

.custom-submit img {
   width: 20px;
   height: 20px;
   margin-top: 30px;
  }

  footer {
    position: relative;
  }

  .footer-inner {
    padding: 0 30px;
  }

  .contact-footer-wrapper {
    padding: 30px 30px 15px 30px;
    width: 100%;
    min-height: 0;
  }

  .footer-logo a {
    font-size: 18px;
  }

  .footer-ul {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .sub-li {
    font-size: 12px;
  }

  .copy-light {
    font-size: 12px;
    margin: 0 auto;
    padding: 0;
    width: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: auto;
  }

  .footer-ul :nth-child(2),
  .footer-ul :nth-child(3),
  .footer-ul :nth-child(4) {
    margin: 0;
  }

  .footer-menu {
    margin: 0 0 20px;
  }

  .footer-menu a {
    font-size: 16px;
  }

  .privacy-policy label {
    font-size: 14px;
  }

  .pagetop {
    position: absolute;
    right: -15px;
    bottom: 0px;
    display: inline-block;
    font-family: "abhaya-libre", serif;
    color: #6B4747;
  }

  .pagetop a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #6B4747;
  }

  .pagetop a img {
    width: 50px;
  }

  @media (max-width: 320px) {
    .pagetop a {
      max-width: 55px;
      font-size: 12px;
    }
  }

@media (max-width: 414px) {
        .message-en {
        font-size: 26px;
        margin: 0 0 30px;
        line-height: 1.7;
    }

    .message-ja {
        font-size: 17px;
        margin: 0;
        line-height: 1.7;
    }

    .container .card .view-more-btn {
        bottom: 20px;
    }

    .about-message-title {
        font-size: 18px;
    }

    .about-message {
        font-size: 15px;
        line-height: 2;
    }

    .about-message-bottom {
        line-height: 2;
        font-size: 15px;
    }

    .container .card.expanded .view-more-btn {
        bottom: -2515px;
    }

    p.txt_a_ac {
        font-size: 15px;
        line-height: 1.7;
    }

    .accordion_inner {
        padding: 15px 35px 25px 35px;
    }

 }

@media (max-width: 375px) {

    .site-title {
        font-size: 26px;
        letter-spacing: 1.5px;
    }

    .sub-title {
        font-size: 14px;
    }

   .message-area {
        margin: 20px;
    }

    .message-en {
        font-size: 20px;
        margin: 0 0 20px;
        line-height: 1.7;
    }

   .message-ja {
        font-size: 15px;
        margin: 0;
        line-height: 1.7;
    }

    .time-line li.current::before {
        left: -3px;
    }

   .time-line li:not(:last-child)::after {
      height: 125%;
  }

   .time-line li.prev::before {
      border-color: #b0a28f;
      left: -4px;
  }

   .about-card-title {
       font-size: 20px;
  }

   .name-ja, .name-en {
        font-size: 14px;
   }

   .container .card.expanded .view-more-btn {
        bottom: -2822px;
        right: 15px;
   }

   .about-message-bottom {
        line-height: 1.7;
        font-size: 14px;
   }

   .about-message {
        font-size: 14px;
        line-height: 1.7;
    }

   .about-message-separator {
        margin: 8px 0;
    }

   .about-message-title {
        font-size: 14px;
    }

   .license {
        gap: 8%;
    }

   h5 {
        font-size: 14px;
        width: 60px;
    }
   .container .card .view-more-btn {
        bottom: 12px;
    }
   .page-info {
        font-size: 14px;
        margin: 20px 0;
    }
    .faq-info {
        font-size: 16px;
        margin: 25px 0 0;
    }

    .faq_text {
        font-size: 14px;
        padding: 0; 
    }

.accordion_title {
        font-size: 14px;
        text-align: left;
        padding: 5px 15px 5px 0px;
    }
        .icon_wrap {
        width: 15px;
        height: 15px;
        margin-top: -9px;
        right: 0%;
    }

        p.txt_a_ac {
            font-size: 14px;
            line-height: inherit;
        }

.accordion_inner {
        padding: 20px;
    }

    .page-title {
        font-size: 22px;
        margin-top: 20px;
    }

   .contact-text {
       font-size: 14px;
       line-height: 1.7;
    }

  .custom-submit.clicked {
    bottom: 7px !important;
  }

  .is-first {
      margin: 50px 0;
  }

  .pp_back-to-btn-area {
      margin: 0 auto; 
  }

}



  /* thanks */
  #thanks-page {
    padding: 40px 30px 60px;
  }

  .thanks-logo-container {
    font-size: 18px;
    margin-top: 22%;
  }

  .thanks-logo {
    width: 80%;
  }

  .thanks-message {
    font-size: 20px;
  }
}






/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}