@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --black-color: #4c3903;
  --white-color: #fffdf8;
  --primary-color: #f7cc75;
  --accent-color: #fbebc0;
}

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

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

/* ---------- base ---------- */

body {
  background: var(--white-color);
  color: var(--black-color);
  font-size: 12px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 1080px) {
  body {
    font-size: 14px;
  }
}

body.fixed {
  overflow: hidden;
  height: 100%; /* 念のため */
}

/* クリックした際の青い枠線を削除 */
*:focus {
  outline: none;
}

/* タップした際の青い四角を削除 */
button,
span {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

::-webkit-scrollbar {
  display: none;
}

/* ---------- background ---------- */

@keyframes blob_rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bg-blobs {
  position: fixed;
  left: 0;
  top: 0;
  /* z-index: var(--z-index-back); 本文より背面へ */
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none; /* 背景は操作対象外（クリック等を透過） */
}

.blob {
  position: absolute;
  left: 50%;
  top: 50%;
  animation-name: blob_rotate; /* 中心基準で回転させ、擬似要素の相対位置を円運動させる */
  animation-timing-function: linear; /* 一定速度で回転 */
  animation-iteration-count: infinite; /* アニメーションを無限に繰り返す */
}

.blob::before {
  content: "";
  display: block;
  position: absolute;
  border-radius: 40%;
  opacity: 0.3; /* 全体の発光強度（強すぎると本文を圧迫） */
  transform: translate(
    -50%,
    -50%
  ); /* left/top の基準点（左上）を要素の中心に補正 */
  /* 見た目のコア：
      - background: radial-gradient（中心が最も濃く、外側でフェードアウト）
      - サイズ/位置/色/濃度は各 nth-child で個別に指定し、重なりで奥行きを作る */
}

/* 各 blob の速度や見た目（サイズ・色・配置・フェード距離）を個別に指定 */
.blob:nth-child(1) {
  animation-duration: 35000ms;
}

.blob:nth-child(1)::before {
  left: -150px;
  top: 150px;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    rgba(215, 242, 151, 0.4) 20%,
    rgba(68, 102, 206, 0) 50%
  );
}

.blob:nth-child(2) {
  animation-duration: 30000ms;
  animation-direction: reverse; /* ひとつだけ回転の向きを反転 */
}

.blob:nth-child(2)::before {
  left: 250px;
  top: -250px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    rgba(249, 215, 122, 0.4) 20%,
    rgba(249, 215, 122, 0) 40%
  );
}

.blob:nth-child(3) {
  animation-duration: 25000ms;
}

.blob:nth-child(3)::before {
  left: 550px;
  top: 300px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    rgba(140, 44, 0, 0.4) 20%,
    rgba(193, 26, 81, 0) 50%
  );
}

/* ---------- pagination ---------- */

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.pagination_numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: var(--black-color);
  color: var(--white-color);
}

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

@media screen and (min-width: 375px) {
  .u_sm-dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

/* ---------- layout ---------- */

.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

@media screen and (min-width: 750px) {
  .l_container-sm,
  .l_container,
  .l_container-lg {
    padding: 0 40px;
  }
}

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

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

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

.l_contents {
  padding: 40px 0;
}

@media screen and (min-width: 1080px) {
  .l_contents {
    padding: 80px 0;
  }
}

.l_header {
  position: relative;
}

@media screen and (min-width: 750px) {
  .l_header_nav {
    position: fixed;
  }
}

.l_header_nav.active {
  position: fixed;
  top: 0;
  right: 0;
  background: var(--black-color);
  width: 50%;
  height: 100vh;
  z-index: var(--z-index-default);
  color: var(--white-color);
}

.l_header_nav-list {
  display: flex;
  gap: 24px;
  position: absolute;
  left: 20px;
  top: 70px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: left center;
}

@media screen and (min-width: 1080px) {
  .l_header_nav-list {
    font-size: 14px;
    padding-bottom: 40px;
  }
}

.l_header_nav-list.active {
  transform: rotate(0);
  flex-direction: column;
}

.l_header_nav-link {
  font-size: 10px;
}

@media screen and (min-width: 1080px) {
  .l_header_nav-link {
    font-size: 16px;
  }
}

.l_header-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--black-color);
  padding: 8px;
  border-radius: 45px;
  position: fixed;
  right: 20px;
  top: 50px;
  transform: translateY(-50%);
  opacity: 0;
  z-index: var(--z-index-menu);
}

@media screen and (min-width: 750px) {
  .l_header-hamburger {
    display: none;
  }
}

.l_header-hamburger.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.l_header-hamburger_bar {
  display: block;
  width: 17px;
  height: 3px;
  background: var(--white-color);
  position: relative;
}

.l_header-hamburger.active .l_header-hamburger_bar:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.l_header-hamburger.active .l_header-hamburger_bar:nth-child(2) {
  opacity: 0;
}

.l_header-hamburger.active .l_header-hamburger_bar:nth-child(3) {
  top: -7px;
  transform: rotate(-45deg);
}

.l_footer {
  position: relative;
}

.l_footer.contact_footer {
  text-align: center;
  padding-bottom: 24px;
}

.l_footer_copyright {
  font-size: 10px;
  transform: rotate(90deg);
  position: absolute;
  right: -35px;
  bottom: 90%;
}

.l_footer_copyright.contact_footer_copyright {
  transform: rotate(0);
  position: static;
}

/* ---------- modifier ---------- */

.m_kv {
  padding-top: 140px;
}

.m_kv_ttl {
  font-size: 40px;
  text-align: right;
  font-weight: bold;
  padding-right: 16px;
}

@media screen and (min-width: 750px) {
  .m_kv_ttl {
    font-size: 60px;
    padding-right: 40px;
  }
}

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

.m_kv_txt {
  font-size: 10px;
  text-align: center;
  padding-top: 80px;
}

@media screen and (min-width: 750px) {
  .m_kv_txt {
    font-size: 12px;
  }
}

@media screen and (min-width: 1080px) {
  .m_kv_txt {
    font-size: 20px;
    text-align: left;
    padding-left: 120px;
  }
}

.m_main {
  padding: 150px 0 40px;
}

@media screen and (min-width: 750px) {
  .m_main {
    padding: 80px 0;
  }
}

.m_section_ttl {
  font-size: 20px;
  font-weight: bold;
}

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

.m_works-wrap {
  margin-top: 24px;
}

.m_works_post {
  background: var(--white-color);
}

@media screen and (min-width: 750px) {
  .m_works_post_img-wrap {
    flex-shrink: 0;
  }
}

.works_post_sp {
  display: flex;
  align-items: start;
  gap: 16px;

}

.works_post_img-wrap_sp {
  max-width: 270px;
  height: auto;
}

.m_works_post_txt-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.m_works_post_ttl {
  font-weight: bold;
}

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

.m_works_post_detailt {
  display: flex;
  gap: 8px;
}

.m_works_post_detailt-ttl {
  font-weight: bold;
  white-space: nowrap;
}

.m_btn {
  display: flex;
  justify-content: center;
  margin: 24px auto 0;
}

.m_btn_link {
  padding: 4px 16px;
  border: var(--black-color) solid 1px;
  border-radius: 45px;
}

.m_btn_link:hover {
  background: var(--black-color);
  color: var(--white-color);
}

.m_section_item {
  margin-top: 16px;
}

@media screen and (min-width: 1080px) {
  .m_section_txts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.m_section_item-ttl {
  font-size: 14px;
  font-weight: bold;
}

@media screen and (min-width: 1080px) {
  .m_section_item-ttl {
    font-size: 16px;
  }
}

.m_section_item-txt {
  margin-top: 4px;
}

.m_contact {
  overflow: hidden;
  padding-top: 80px;
  position: relative;
}

.m_contact_txt-wrap {
  display: inline-block;
  background: var(--white-color);
  border: var(--black-color) solid 1px;
  border-radius: 45px;
  padding: 8px;
  font-weight: bold;
  color: var(--black-color);
  position: absolute;
  top: 65px;
  left: 25%;
}

.m_contact_txt-wrap::before {
  content: "";
  border-width: 5px;
  border-style: solid;
  border-color: var(--black-color) transparent transparent transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.m_contact_txt-wrap::after {
  content: "";
  border-width: 3.5px;
  border-style: solid;
  border-color: var(--white-color) transparent transparent transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.m_contact_txt {
  font-size: 3vw;
}

.m_contact_btn {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.m_contact_btn_link {
  font-weight: bold;
  font-size: 27vw;
  text-align: center;
  line-height: 0.85;
}

@media screen and (min-width: 750px) {
  .m_works_post_img-wrap.works_post_img-wrap {
    flex: 1;
  }
}

@media screen and (min-width: 750px) {
  .m_works_post_txt-wrap {
    flex: 3;
  }
}

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

.top_kv_arrow {
  display: block;
  width: 6px;
  height: 14px;
  border-left: var(--black-color) solid 1px;
  border-bottom: var(--black-color) solid 1px;
  transform: skewY(-45deg);
  margin: 64px auto 0;
}

@media screen and (min-width: 1080px) {
  .top_kv_arrow {
    width: 12px;
    height: 35px;
  }
}

.top_btn {
  margin-top: 24px;
}

.top_section_greeting {
  margin-top: 24px;
}

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

.top_flow_line {
  display: block;
  width: 100%;
  height: 0.5px;
  background: var(--black-color);
  margin-top: 16px;
}

/* ---------- works ---------- */

.works_post_wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.works_post_img-wrap {
  margin: 0 auto;
}

@media screen and (min-width: 750px) {
  .works_post {
    display: flex;
    gap: 24px;
    align-items: center;
  }
}

@media screen and (min-width: 750px) {
  .works_btn-wrap {
    display: flex;
    gap: 16px;
  }
}

/* ---------- works-single ---------- */

.m_section_ttl.works-single_ttl {
  text-align: center;
}

.works-single_inner {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 900px) {
  .works-single_inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: start;
  }
}

.works-single_capture {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.works-single_detail {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 900px) {
  .works-single_detail {
    position: sticky;
    top: 80px;
  }
}

/* ---------- about ---------- */

@media screen and (min-width: 900px) {
  .about_inner {
    font-size: 16px;
  }
}

.about_introduction_txt:nth-child(2n) {
  margin-top: 16px;
}

@media screen and (min-width: 1080px) {
  .about_introduction_txt:nth-child(2n) {
    margin-top: 24px;
  }
}

.about_technique {
  margin-top: 32px;
}

.about_technique_ttl {
  font-weight: bold;
}

.about_technique_txt {
  margin-top: 8px;
}

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

.contact_form {
  margin-top: 48px;
}

.contact_form_unit {
  margin-top: 32px;
}

.contact_form_heading {
  font-size: 14px;
}

.contact_form_required {
  font-size: 10px;
  margin-left: 8px;
}

.contact_form_detail {
  background: var(--accent-color);
  padding: 10px;
  margin-top: 8px;
}

.contact_form_input::placeholder,
.contact_form_textarea::placeholder {
  color: rgb(76, 57, 3, 0.6);
  font-size: 10px;
  opacity: 1;
}

@media screen and (min-width: 750px) {
  .contact_form_input::placeholder,
  .contact_form_example,
  .contact_form_textarea::placeholder {
    font-size: 14px;
  }
}

.contact_form_input,
.contact_form_example,
.contact_form_textarea {
  width: 100%;
}

.contact_link {
  display: flex;
  justify-content: center;
  font-weight: bold;
  margin-top: 48px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact_link_note {
  font-size: 12px;
  text-align: center;
  margin-top: 8px;
}

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

.contact_form_checkbox {
  width: 24px;
  height: 24px;
  border: 1px solid var(--black-color);
  flex-shrink: 0;
  position: relative;
}

.contact_form_checkbox:checked::after {
  content: "\2713";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.__contact_btn {
  margin-top: 48px;
}

/* ---------- Privacy policy ---------- */

.m_privacy-detail {
  margin-top: 24px;
}

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

.m_privacy-detail_box-ttl {
  font-weight: bold;
}

@media screen and (min-width: 1080px) {
  .m_privacy-detail_box-ttl {
    font-size: 16px;
  }
}

.m_privacy-detail_box-text {
  margin-top: 8px;
}

.m_privacy-detail_list {
  margin-top: 8px;
}

.m_privacy-detail_item::before {
  content: "・";
}

.m_privacy-detail_box.m_privacy-detail__meta {
  text-align: right;
}


/* --------- pagination --------- */

.navigation.pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 8px;
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  width: 24px;
  border: 1px solid var(--black-color);
  text-decoration: none;
  color: var(--primary-color);
}

.page-numbers.current {
  background: var(--black-color);
  color: var(--white-color);
  margin: 48px auto 0;
}

@media screen and (min-width: 1080px) {
  .page-numbers {
    height: 32px;
    width: 32px;
    font-size: 24px;
  }
}

.numbers.current {
  border: none;
  background: var(--primary-color);
  color: var(--base-color);
}

.page-numbers.next,
.page-numbers.prev {
  display: none;
}

