  @charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --white-color: #fff;
  --white-color02: #FEFCF6;
  --black-color: #333333;
  --gray-color: #F3F0ED;
  --gray-color02: #928679;
  --accent-color: #9D7756;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 768px;
  /* --content-width: 936px; */
  --content-width-lg: 1024px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-page-top: 50;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

body {
  background-color: var(--gray-color);
  color: var(--black-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  cursor: none;  /* マウスカーソル非表示 */
}

html {
  scroll-behavior: smooth;
}


/* ---------- utility ---------- */

.u_works_body {
  margin-top: 48px;
}

/* ---------- layout ---------- */
.l_container-sm,
.l_container {
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 32px);
}

.l_container {
  max-width: calc(var(--content-width) + 32px);
}


/* min-width: 960pxも追加？？ */
@media screen and (min-width: 1366px) {
  .l_container {
  max-width: calc(var(--content-width-lg) + 342px);
  padding: 0 171px;
}
}

.l_contents {
  padding: 88px 0;
}
@media screen and (min-width: 1024px) {
  .l_contents {
  padding:120px 0;
}
}

.l_header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-header);
  width: 100%;
  height: 60px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;   /* 色の切り替わりをふわっと */
}

/* デフォルト(KV上)はロゴ・ナビ白、白アイコン表示 */
.l_header-logo.top {
  color: var(--white-color);
}

.m_mail-icon_black {
  display: none;
}

.l_header.lower {
  border-bottom: 1px solid var(--gray-color02);
  position: sticky;
  background: rgba(243, 240, 237, 0.8);
}

@media screen and (min-width: 1024px) {
  .l_header {
    padding: 0 40px;
  }
}

.l_header-logo {
  color: var(--black-color);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  font-family: 'Roboto', sans-serif;
}

.l_header-logo.top {
  color: var(--white-color);
}

.l_header-logo_link {
  height: 100%;
}

.l_header-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-index-modal);
  background: var(--gray-color);
  text-align: right;
  
}

@media screen and (min-width: 960px) {
  .l_header-nav {
    opacity: 1;
    position: static;
    background: transparent;
    margin-left: auto;  /* ロゴとの間の余白を全部ここに集める→navが右へ寄る */
  }
}

.l_header-nav_list {
  display: flex;
  gap: 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--white-color);
}

/* 確認！！！！！！ */
@media screen and (min-width: 960px) {
  .l_header-nav_list {
    flex-direction: row;
  }
}

.l_header-nav_list.subpage {
  color: var(--black-color);
}

.l_header-nav_item {
  font-size: 14px;
  letter-spacing: 0.1em;
}


.l_header-nav_item.x {
  width: 23px;
  height: 24px;
}

/* デフォルト(KV上)は白ロゴ表示 */
.l_header-nav_x-icon_black {
  display: none;
}



.l_header-nav_link {
  height: 100%;
  display: flex;
  align-items: center;
}

.l_header-link_icon_wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
}

.l_footer-copyright {
  text-align: center;
  color: var(--white-color);
  padding: 28px 0;
}

.l_footer-copyright.contact {
  color: var(--black-color);
}

.l_footer-copyright.privacypolicy {
  color: var(--black-color);
}

.l_footer-copyright_txt {
  font-size: 12px;
  letter-spacing: 0em;
}

@media screen and (min-width: 768px) {
  .l_footer-copyright_txt {
    letter-spacing: 0.1em;
  }
}

.works_page .l_main,
.about_page .l_main,
.contact_page .l_main,
.privacypolicy_page .l_main {
  padding-top: 30px;
}

/*---------- module ----------*/
.m_hamburger {
  display: block;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: var(--z-index-modal);
  border: none;
  background: transparent;
}

@media screen and (min-width: 960px) {
  .m_hamburger {
    display: none;
  }
}

.m_hamburger-bar {
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  background: var(--black-color);
}

.m_hamburger-bar.top {
  background: var(--white-color);
}

.m_hamburger-bar:nth-child(1) {
  top: 0;
}

.m_hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.m_hamburger-bar:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
}

.m_mail_link {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: var(--z-index-menu);
}

@media screen and (min-width: 960px) {
  .m_mail_link {
    display: none;
  }
}

/* 下層ページでは常に黒アイコンを表示 */
.l_header.lower .m_mail-icon_black {
  display: block;
}

/* view more ボタン */
.m_btn-wrapper {
  width: 198px;
  height: 45px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--gray-color02);
}


.m_btn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  color: var(--white-color);
  font-weight: bold;
  letter-spacing: 0.15em;
  overflow: hidden; 
}

.m_btn:hover {
  opacity: 0.9;
}

.m_btn__more {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: bold;
  background: var(--white-color02);
  position: relative;
  z-index: var(--z-index-default);
  /* cursor: none; */
  cursor: pointer;
}

.m_btn__more::before {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent-color);
  position: absolute;
  top: 55%;
  right: 27px;
  transform: translateY(-50%) rotate(45deg);
}

.m_btn__more::after {
  content: '';
  width: 15px;
  height: 2px;
  background: var(--accent-color);
  position: absolute;
  top: 55%;
  right: 26px;
}

/* 矢印を右へ移動 */
.m_btn__more::before,
.m_btn__more::after {
  transition: right .25s ease-out;
}

.m_btn__more:hover::before {
  right: 18px;
}

.m_btn__more:hover::after {
  right: 17px;
}
/* ここまでーーーーーーー矢印を右へ移動 */


.m_works-card_meta {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  letter-spacing: 0.1em;
}

.m_works-card_client {
  font-size: 12px;
  letter-spacing: 0.1em;
}

.m_works-card_category {
  font-size: 14px;
  font-weight: bold;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 1px 10px;
}

.m_works-card_title {
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1em;
}

.m_works-card_list {
  margin: 48px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.m_works-card_item {
  width: 100%;
  max-width: 343px;
  background: var(--white-color02);
  padding: 0 16px;
  box-shadow: 2px 2px 2px rgba(170, 170, 170, 0.16);
}

/* coming soonのカード最小幅 */
.m_works-card_item.soon {
  min-width: 343px;
}


/* Worksカードホバー時に画像を拡大 */
.m_works-card_thumb-wrapper {
  transition: .4s ease;
}
.m_works-card_link:hover .m_works-card_thumb-wrapper {
  transform: scale(1.1);
}


/* 確認！！！！！ */
@media screen and (min-width: 1080px) {
  .m_works-card_item:not(:first-child)  {
    margin-top: 0;
  }
}

/* 768px以上で横並び 2列 */
@media screen and (min-width: 768px) {
  .m_works-card_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .m_works-card_item {
    width: auto;
    max-width: 343px;
    margin-inline: auto;   /* 左右中央寄せ */  
  }
}


/* 1080px以上で横並び ３列 */
@media screen and (min-width: 1080px) {
  .m_works-card_list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.m_works-card_thumb-wrapper {
  text-align: center;
  margin-top: 16px;
  padding-bottom: 8px;
}

.m_works-card_thumb {
  /* width: 311px;
  height: 225px; */
  width: 100%;
  height: auto;
}


.m_kv_box {
  width: calc(100% - 16px * 2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.m_kv_desc {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 8px;
  text-align: center;
  color: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .m_kv_desc {
    margin-top: 20px;
  }
}

.m_section_title {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
}

.m_page_title {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.m_sub-title {
  letter-spacing: 0.1em;
}

.m_cta_contents {
  padding: 88px 0 40px 0;
}

.m_cta {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url('../img/contact-img.jpg');
  background-position: right top;
  background-repeat: no-repeat;
  background-size: cover;
}

.m_title-area__contact {
  color: var(--white-color);
}

.m_cta_copy {
  color: var(--white-color);
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
}

.m_cta-text_box {
  margin-top: 48px;
}

.m_cta_txt {
  color: var(--white-color);
  letter-spacing: 0.1em;
  margin-top: 24px;
}

.m_cta_txt:not(:first-child) {
  margin-top: 24px;
}

/* お問い合わせボタン */
.m_cta_btn-wrapper {
  margin-top: 48px;
  background-color: rgba(0, 0, 0, 0.3);
  width: 220px;
  height: 60px;
  display: flex;
  border-radius: 30px;
  border: 2px solid var(--white-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.m_cta_btn-wrapper:hover {
  background: var(--accent-color);
  border: none;
}

/* お問い合わせボタン矢印 */
.m_btn__mail {
  position: relative;
  /* cursor: none; */
  cursor: pointer;
}

.m_btn__mail::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white-color);
  border-right: 2px solid var(--white-color);
  position: absolute;
  top: 50%;
  right: 14%;
  transform: translateY(-50%) rotate(45deg);
}

/*---------- top ----------*/

.top_kv {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url("../img/kv-img.jpg") 70% center/cover;
  position: relative;
}

.top_kv-inner {
  position: relative;
  height: 100%;
}

.top_kv_box {
  width: calc(100% - 16px * 2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  max-width: 1024px;
}

.top_kv_copy {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--white-color);
  /* text-shadow: 2px 2px 2px rgba(170, 170, 170, 0.16); */
}

@media screen and (min-width: 768px) {
  .top_kv_copy {
    font-size: 56px;
  }
}

.top_kv_sub-copy {
  margin-top: 16px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--white-color);
  font-family: 'Roboto', sans-serif;
  /* text-shadow: 2px 2px 2px rgba(170, 170, 170, 0.16); */
}

@media screen and (min-width: 768px) {
  .top_kv_sub-copy {
    font-size: 24px;
  }
}

.top_kv_text {
  margin-top: 40px;
  color: var(--white-color);
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .top_kv_text {
    font-size: 20px;
  }
}

.top_kv_btn-wrapper {
  margin-top: 32px;
}

@media screen and (min-width: 1080px) {
  .top_kv_btn-wrapper {
    margin: 32px 0 0;
  }
}

.top_kv-scroll-down {
  position: absolute;
  text-align: right;
  bottom: 75px;
  left: 24px;
  z-index: var(--z-index-default);
}

@media screen and (min-width: 960px) {
  .top_kv-scroll-down {
    bottom: 75px;
    left: 100px;
  }
}

.top_scroll-link {
  width: 40px;
  height: 100%;
  display: inline-block;
  transition: all 0.2s;
  /* cursor: none; */
  cursor: pointer;
}

.top_kv-scroll-down_txt {
  font-family: 'Roboto', sans-serif;
  display: block;
  transform: rotate(-90deg);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--white-color);
  position: relative;
}


.top_kv-scroll-down_txt::before {
  position: absolute;
  content: "";
  background: var(--white-color);
  height: 1px;
  width: 48px;
  top: 10px;
  left: -60px;
}

.top_title-area {
  text-align-last: left;
  display: flex;
}

.top_section_title {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  /* このz-indexはスタックコンテキストを考慮したものです。
  詳細は以下のURLから記事をご覧ください。 */
  /* https://zero-plus.io/media/css-z-index/ */
  z-index: var(--z-index-default);
}

.top_section_title__question {
  font-size: 24px;
}

@media screen and (min-width: 1080px) {
  .top_section_title__question { 
    font-size: 32px;
  }
}

.top_sub-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 25px;
  margin-left: 40px;
  position: relative;
}

.top_sub-title::before {
  position: absolute;
  content: "/";
  color: var(--black-color);
  left: -20px;
}

.m_sub-title__contact::before {
  color: var(--white-color);
}

.top_section_btn-wrapper {
  margin-top: 64px;
}

.top_service_lead {
  margin-top: 48px;
  letter-spacing: 0.1em;
}

/* -------top_question------- */

.top_question_body {
  margin-top: 48px;
}

.top_question_item {
  width: auto;
  height: 126px;
  margin: 0 auto;
  border: 1px solid var(--gray-color02) ;
  padding: 10px 15px;
  background: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 343px;
}

.top_question_item:not(:first-child) {
  margin-top: 32px;
}

@media screen and (min-width: 1080px) {
  .top_question_contents {
    display: flex;
  }
}

@media screen and (min-width: 1080px) {
  .top_question_item { 
    width: calc((100% - 32px * 3) / 4);
    margin-top: 0;
  }
}

@media screen and (min-width: 1080px) {
  .top_question_item:not(:first-child){ 
    margin-top: 0;
  }
}

.top_question_text {
  text-align: center;
}

.top_question_arrow {
  width: 0;
  height: 0;
  margin: 48px auto;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 12px solid var(--accent-color);
}

@media screen and (min-width: 768px) {
  .top_question_arrow {
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-top: 14px solid var(--accent-color);
  }
}

.top_question_lead:not(:first-child) {
  margin-top: 36px;
}

/* -------top_works------- */

.top_works {
  background: var(--gray-color);
}

.top_works_body {
  margin-top: 48px;
}

/* ------- top_service ------- */

.top_service_list {
  padding-top: 40px;
}

@media screen and (min-width: 760px) {
  .top_service_list {
    display: flex;
    max-width: 920px;
    margin: 40px 5% 0 5%;
    padding: 0;
    margin-inline: auto;   /* 左右中央寄せ */ 
    }
  }

.top_service_item:not(:first-child) {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .top_service_item {
    width: 30%;
    height: auto;
    margin-right: 5%;
  }

  .top_service_item:not(:first-child) {
    margin-top: 0;
  }
}

  @media screen and (min-width: 960px) {
    .top_service_item  {
      width: 280px;
      height: auto;
      margin-right: 40px;
    }
  }

.top_service-item_title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.top_service-icon_wrapper {
  width: 72px;
  height: 55px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top_service_icon {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.top_service_text {
  text-align: left;
}

.top_service_text:not(:first-child) {
  margin-top: 16px;
}

.top_service-text_wrapper {
  margin-top: 24px;
}


/* -------top_about-------  */

.top_about {
  background: var(--white-color02);
}

.top_about_content {
  position: relative;
}

.top_about_list-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.top_about_list {
  margin-top: 64px;
}

.top_about_thumb-wrapper {
  width: 343px;
  height: 200px;
  margin-top: 48px;
  margin-inline: auto;
}

.top_about-content-text_wrapper {
  margin-top: 48px;
}

.top_about-content_text:not(:first-child) {
  margin-top: 32px;
}

/*---------- top_process ----------*/
.top_process {
  background: var(--white-color02);
}

.top_process_lead {
  margin-top: 48px;
}

.top_process_list {
  position: relative;
  margin-top: 40px;
  padding: 48px 0;
}

.top_process_list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: var(--gray-color02);
  z-index: var(--z-index-default);
}

.top_process_item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 343px;
  margin: 0 auto;
}

  /* flex-growで残りの幅を埋める */
.top_process-item-title_wrapper {
  flex: 1;
}

.top_process-text_box {
  width: 100%;  /* 幅いっぱいに広げて改行させる */
  margin-top: 24px;
  background: var(--white-color);
  border: 1px solid var(--gray-color02);
  position: relative;
  z-index: var(--z-index-page-top);
  margin-top: 24px;
  height: 171px;
}

.top_process_text {
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top_process-item_no {
  order: -1; /* No.をタイトルより前に表示 */
}

/* PC版3カラム */
@media screen and (min-width: 900px) {
  .top_process_item{
    display:grid;
    grid-template-columns:343px 80px 343px;
    justify-content:center;
    align-items:center;
    max-width:none;
    margin-top:72px;
  }

/* 番号中央配置 */
  .top_process-item_no{
    grid-column: 2;
    grid-row: 1; 
    order: 0; /* スマホのorder:-1をリセット */
    justify-self: center;
    z-index: var(--z-index-page-top); /* 150 → 50 に変更 */
  }

  /* 奇数番目タイトル */
  .top_process_item:nth-child(odd) .top_process-item-title_wrapper{
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    text-align: right;
  }
/* 奇数番目テキストボックス */
  .top_process_item:nth-child(odd) .top_process-text_box{
  grid-column:3;
  grid-row: 1;
  margin-top: 0;
  }

/* 偶数番目タイトル */
  .top_process_item:nth-child(even) .top_process-item-title_wrapper{
  grid-column:3;
  grid-row: 1;  /* １行目に並ばせる */
  justify-self: start;
  }
/* 偶数番目テキストボックス */
  .top_process_item:nth-child(even) .top_process-text_box{
  grid-column:1;
  grid-row: 1;  /* １行目に並ばせる */
  margin-top: 0;
  }
}

.top_process_item:not(:first-child) {
  margin-top: 58px;
}

.top_process-item_no {
  background: var(--accent-color);
  color: var(--white-color);
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 50%;
}

.top_process-item_title {
  font-size: 24px;
  font-weight: bold;
  margin-left: 8px;
}


/*---------- works ----------*/
.works_page_title {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.works_thumb_wrapper {
  width: 100%;
  aspect-ratio: 1280 / 760; /* 画像本来の比率をそのまま指定 */
  margin-top: 40px;
  overflow: hidden; /* wrapperをはみ出た部分を切り取る */
}

.works_thumb {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 比率を保ったまま枠内に収める(切れない) */
  display: block;    /* imgのインライン要素特有の下に生まれる隙間を消す */
}

/* モックアップ画像をホバー時に画像を拡大 */
.works_thumb_wrapper {
  transition: .4s ease;
}
.m_works-card_link:hover .works_thumb_wrapper {
  transform: scale(1.1);
}

.works_page_desc {
  margin-top: 40px;
  letter-spacing: 0.1em;
}

.works_page_sub-desc {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.works_heading {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-color02);
}

.works_content_details {
  padding: 88px 0;
}

.works_content_wrapper:not(:first-child) {
  margin-top: 60px;
}

.works_section-title {
  width: 100%;
  border-left: 2px solid var(--black-color);
}

.works_section-title__en {
  font-weight: bold;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  margin-left: 24px;
}

.works_section-title__ja {
  font-size: 20px;
  font-weight: bold;
  margin-top: 8px;
  margin-left: 24px;
  letter-spacing: 0.1em;
}

.works_section-text_wrapper {
  margin-top: 32px;
  letter-spacing: 0.1em;
}

.works_section-text:not(:first-child) {
  margin-top: 16px;
}

.works_aproach_item {
  margin-top: 32px;
}

.works_aproach-item_title {
  font-weight: bold;
  letter-spacing: 0.1em;
}

.works_aproach-item_title::before {
  content: "■";
  margin-right: 16px;
  display: inline-block;
  width: 16px;
  height: 16px;
}

.works_approach_text {
  margin-top: 16px;
  letter-spacing: 0.1em;
}

.works_scope_list {
  margin-top: 32px;
}

.works_scope_item {
  margin-top: 16px;
  letter-spacing: 0.1em;
}

/*---------- about ----------*/
.about_thumb_wrapper {
  width: 343px;
  height: 200px;
  margin-inline: auto;
  margin-top: 40px;
}

.about_profile-card {
  margin-top: 60px;
}

.about_profile_list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px;
  width: 100%;
  gap: 8px 0;
  letter-spacing: 0.1em;
}

.about_profile-item__label {
  width: 30%;
}

.about_profile-item__label:not(:first-child) {
  font-weight: bold;
}

.about_profile-item__value {
  width: 70%;
  text-align: right;
}  

.about_story {
  margin-top: 40px;
}

.about_story_title {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.about_story_body {
  margin-top: 32px;
  letter-spacing: 0.1em;
}

.about_story_body-text:not(:first-child) {
  margin-top: 32px;
}


/*---------- contact ----------*/

.contact_main {
  background: var(--gray-color);
}

.contact_text_wrapper {
  margin-top: 48px;
  letter-spacing: 0.1em;
}

.contact_text:not(:first-child) {
  margin-top: 8px;
}

.contact_form_heading {
  margin-top: 48px;
  font-size: 16px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact_form_heading:not(:first-child) {
  margin-top: 64px;
}

.contact_form_required {
  color: var(--white-color);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.1em;
  width: 48px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(
    0,
    var(--accent-color),
    var(--primary-color)
  );
  border-radius: 100vh;
}

.contact_form_detail {
  margin-top: 8px;
}

.contact_form_detail__other {
  margin-top: 24px;
}

.contact_form_input {
  font-size: 16px;
  width: 100%;
  height: 48px;
  padding: 8px;
  border: 1px solid var(--gray-color02);
  background: var(--white-color);
}

.contact_form_example-wrapper {
  text-align: right;
  height: 28px;
  margin-top: 8px;
}

.contact_form_example {
  color: var(--gray-color04);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.contact_form_check-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact_form_check-item {
  /* background: var(--gray-color03); */
  background: none;
  width: auto;       /* 100%指定を解除 */
}


.wpcf7-form-control-wrap {
  display: block;
  width: auto;
}

.wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  width: auto;
}

.wpcf7-list-item {
  margin: 0; /* CF7のデフォルト余白をリセット */
  display: block;
  /* width: auto; */

}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
  cursor: none;
}

.wpcf7-list-item input[type="checkbox"] {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  background: var(--white-color);
  border: 1px solid var(--gray-color02);
  appearance: checkbox;
}

.wpcf7-list-item-label {
  margin-left: 16px;
  letter-spacing: 0.1em;
}


.contact_form_request-item-inner {
  height: 48px;
  padding: 8px;
  display: flex;
  cursor: pointer;
}

.contact_form_checkbox {
  /* width: 25px;
  height: 25px;
  margin-top: 4px;
  flex-shrink: 0; */
  /* background: var(--white-color);
  border: 1px solid var(--gray-color02);
  appearance: checkbox; */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact_form_request-txt {
  letter-spacing: 0.1em;
  margin-left: 16px;
}

.contact_form_textarea {
  font-size: 16px;
  width: 100%;
  height: 240px;
  padding: 8px;
  border: 1px solid var(--gray-color02);
  background: var(--white-color);
}

.contact_form_btn-wrapper {
  margin-top: 48px;
  background: var(--accent-color);
  width: 220px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
}

.contact_form_btn-wrapper p {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* ← スピナーの絶対配置の基準にする */
}

.contact_form_btn-wrapper .wpcf7-spinner {
  position: absolute; /* ← flexの計算から除外 */
  right: 16px;   
  margin: 0;           /* 元のmarginは不要になるのでリセット */
}

.contact_privacy {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact_privacy_checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-color);
  cursor: pointer;
  appearance: checkbox;
}

.contact_privacy-label {
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  color: var(--accent-color);
}

.contact_privacy .wpcf7-list-item-label {
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  color: var(--accent-color);
}

.contact_privacy-link { 
  text-decoration: underline;
}

/* Contact Form 7 エラー表示スタイル */
.wpcf7-not-valid-tip {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.wpcf7-response-output {
  margin-top: 24px;
  padding: 12px;
  border: 1px solid var(--gray-color02);
  font-size: 14px;
}


/* ---------- privacy ---------- */
.privacy_desc {
  margin-top: 48px;
}

.privacy_section {
  margin-top: 40px;
}

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

.privacy_text_wrapper {
  margin-top: 16px;
}

/* ---------- js ---------- */
.js_body.is-active {
  overflow: hidden;
}

.js_hamburger-bar {
  transition:
    top 0.24s,
    transform 0.24s,
    opacity 0.24s;
}

.js_hamburger.is-active .m_hamburger-bar:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
  background-color: var(--black-color);
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  transform: translate(50%, -50%);
  opacity: 0;
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
  background-color: var(--black-color);
}


.js_copy,
.js_sub-copy {
  overflow: hidden;
}

.js_nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}

@media screen and (min-width: 960px) {
  .js_nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.js_nav.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ハンバーガーメニューを開いた時、Xアイコンを黒に切り替え */
.l_header-nav.is-active .l_header-nav_x-icon_white {
  display: none;
}
.l_header-nav.is-active .l_header-nav_x-icon_black {
  display: block;
}

/* ハンバーガーメニューを開いた時、ナビゲーションメニューを黒に切り替え */
.l_header-nav.is-active .l_header-nav_list {
  color: var(--black-color);
}

/* スクロールでKVを超えたら切り替え */
.l_header.is-scroll {
  color: var(--black-color);
  background:  rgba(243, 240, 237, 0.8);
}

.l_header.is-scroll .l_header-logo {
  color: var(--black-color);
}

.l_header.is-scroll .l_header-nav_item {
  color: var(--black-color);
}

.l_header.is-scroll .m_mail-icon_white {
  display: none;
}

.l_header.is-scroll .m_mail-icon_black {
  display: block;
}

.l_header.is-scroll .m_hamburger-bar {
  background: var(--black-color);
}

.l_header.is-scroll .l_header-nav_x-icon_white {
  display: none;
}

.l_header.is-scroll .l_header-nav_x-icon_black {
  display: block;
}
/* ーーーーーここまでーーーーー */



.js_faq_mark::after {
  transition: opacity 0.24s;
}

.js_faq_mark.is-open::after {
  opacity: 0;
}

.js_faq-a {
  height: 0;
  opacity: 0;
  visibility: hidden;
}


/*---- マウスストーカー ----*/
#mouse-stalker {
    pointer-events: none;
    position: fixed;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--gray-color02);
    opacity: 0.5;
    border-radius: 50%;
    transform: translate(0,0);
    transition: transform 0.2s;
    transition-timing-function: ease-out;
    z-index: 999;

    &.is_active {
    top: -40px;
    left: -40px;
    width: 80px;
    height: 80px;
    transition: 0.2s;
    background: var(--accent-color);
    opacity: 0.6;
  }
}

/* .link-item {
    display: block;
    padding: 20px;
    color: #fff;
    text-decoration: none;
    background-color: #000;
    border-radius: 50px;
  } */

