@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --black-color: #333;
  --white-color: #fff;
  --gray-color: #a09f9f;
  --gray-color02: #d9d9d9;
  --primary-color: #67a7cc;
  --accent-color: #fc956a;
}

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

: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 {
  color: var(--black-color);
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
  padding-bottom: 32px;
}

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

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

html {
  scroll-behavior: smooth;
}
/* ---------- utility ---------- */

@media screen and (min-width: 700px) {
  .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;
}

.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: 60px 0;
}

/* ---------- header ---------- */
.l_header {
  height: 72px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: var(--z-index-header);

}

@media screen and (min-width: 900px) {
  .l_header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: var(--z-index-header);
  }
}

.l_header_logo {
  width: 200px;
  height: 100%;
}

.l_header_logo-link {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l_header_logo-img {
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.l_header_nav {
  position: fixed;
  top: 0;
  right: -50%;
  width: 60%;
  height: 100vh;
  background: linear-gradient(90deg, var(--gray-color02), var(--gray-color));
  transition:
    right 0.5s ease,
    opacity 0.4s ease;
  opacity: 0;
  font-size: 18px;
  font-weight: bold;
  color: var(--white-color);
  display: flex;
  justify-content: center;
  padding: 120px 0;
  gap: 24px;
}

@media screen and (min-width: 880px) {
  .l_header_nav {
    position: static;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: none;
    padding: 0;
    color: var(--gray-color);
  }
}

/* 開いた状態 */
.l_header_nav.is-open {
  right: 0;
  opacity: 1;
  z-index: var(--z-index-menu);
}

.l_header_nav-list {
  display: flex;
  flex-direction: column;
  width: 150px;
  align-items: stretch;
  gap: 32px;
}

@media screen and (min-width: 900px) {
  .l_header_nav-list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
  }
}

.l_header_nav-item {
  opacity: 0;
  transform: translateY(100％);
  transition:
    opacity 0.3s ease,
    transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 16px;
}

@media screen and (min-width: 900px) {
  .l_header_nav-item {
    position: relative;
    padding-left: 20px;
    opacity: 1;
    height: 100%;
  }
}

.l_header_nav-item::before {
  content: "";
  width: 0;
  height: 0;
  background: transparent;
  border-radius: 50%;
  transition: 0.3s;
}

@media screen and (min-width: 900px) {
  .l_header_nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
}

.l_header_nav-item:hover::before {
  width: 8px;
  height: 8px;
  margin-right: 16px;
  background: var(--white-color);
}

@media screen and (min-width: 900px) {
  .l_header_nav-item:hover::before {
    background: var(--accent-color);
    opacity: 1;
  }
}

/* 表示時 */
.l_header_nav.is-open .l_header_nav-item {
  opacity: 1;
  transform: translateY(0);
  transition: 0.4 ease;
}

/* 順番制御 */
.l_header_nav-item:nth-child(1) {
  transition-delay: 0.2s;
}
.l_header_nav-item:nth-child(2) {
  transition-delay: 0.3s;
}

.l_header_nav-item:nth-child(3) {
  transition-delay: 0.4s;
}

.l_header_nav-item:nth-child(4) {
  transition-delay: 0.6s;
}

.l_header_nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ---------- footer ---------- */
.l_footer {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l_footer_copyright {
  font-size: 12px;
  color: var(--gray-color);
}

@media screen and (min-width: 320px) {
  .l_footer_copyright {
    font-size: 8px;
  }
}
/* ---------- module ---------- */
.m_hamburger {
  width: 48px;
  height: 64px;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 0;
  right: 16px;
  left: auto;
  z-index: var(--z-index-modal);
}

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

.m_hamburger.is-open .m_hamburger-bar:nth-child(1) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.m_hamburger.is-open .m_hamburger-bar:nth-child(2) {
  opacity: 0;
}

.m_hamburger.is-open .m_hamburger-bar:nth-child(3) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.m_hamburger-bars {
  width: 36px;
  height: 28px;
  position: relative;
}

.m_hamburger-bar {
  width: 100%;
  height: 4px;
  position: absolute;
  background: var(--black-color);
  left: 50%;
  transition: 0.3s;
}

.m_hamburger-bar:first-child {
  top: 0;
  transform: translate(-50%, 0);
}

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

.m_hamburger-bar:last-child {
  top: 100%;
  transform: translate(-50%, -100%);
}

.m_hamburger-txt {
  font-size: 14px;
  line-height: 1;
}

.m_top_title {
  font-size: 24px;
  font-weight: bold;
  position: relative;
  z-index: var(--z-index-default);
  display: flex;
  align-items: center;
  justify-content: center;
}

.m_top_title::after {
  content: "";
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 0.1em;
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translate(-50%, -50%);
  color: var(--accent-color);
  opacity: 0.3;
  z-index: var(--z-index-back);
}

@media screen and (max-width: 350px) {
  .m_top_title::after {
    font-size: 32px;
    bottom: -18px;
  }
}

.m_top_txt {
  margin-top: 32px;
  font-size: 12px;
  width: 100%;
  text-align: center;
  white-space: pre-wrap;
}

.m_btn {
  margin: 60px auto 0;
  width: 280px;
  height: 64px;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-color);
  transition: color 0.3s ease;
  text-decoration: none;
  pointer-events: auto;
}

.m_btn:hover {
  color: var(--accent-color);
}

.m_btn::after {
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  border: 1px solid var(--black-color);
  border-radius: 50%;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.m_btn:hover::after {
  border-color: var(--accent-color);
}

.m_btn_inner {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.m_btn_border {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.m_btn_border-line {
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.6s ease;
}

.m_btn:hover .m_btn_border-line {
  stroke-dashoffset: 0;
}

.m_btn .m_arrow {
  position: absolute;
  width: 15px;
  height: 1px;
  background: var(--black-color);
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  transition: background-color 0.3s ease;
}

.m_btn:hover .m_arrow {
  background: var(--accent-color);
}

.m_btn .m_arrow::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--black-color);
  top: 50%;
  right: 6px;
  transform: translate(50%, -50%) rotate(45deg);
  transition: border-color 0.3s ease;
}

.m_btn:hover .m_arrow::after {
  border-color: var(--accent-color);
}
/* ---------- top ---------- */
.top_kv {
  position: relative;
}

.top_kv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-index-back);
  width: 100%;
  height: 100svh;
  background-position: 50% 60%;
  background-size: 90%;
  background-repeat: no-repeat;
  background-image: url(../img/nagatatakuyanoicon2.jpg);
  text-align: center;
  margin: 0 auto;
}

@media screen and (min-width: 700px) {
  .top_kv::before {
    background-size: 60%;
  }
}

.top_kv_contents {
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .top_kv_contents {
    width: 80%;
  }
}

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

.top_kv_txt {
  margin-top: 32px;
  font-weight: bold;
}

.top_kv_scroll {
  position: relative;
  height: 60svh;
}

.top_kv_scroll_txt {
  position: absolute;
  bottom: 0;
  padding: 10px 10px 110px;
  color: var(--black-color);
  font-size: 18px;
  font-family: serif;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  left: 50%;
  transform: translateX(-50%);
}

.top_kv_scrollbar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1px;
}

.top_kv_scrollbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100px;
  background: var(--black-color);
}

.top_kv_scrollbar::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black-color);
  animation:
    circlemove 2s ease-in-out infinite,
    cirlemovehide 3s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 95px;
  }
  100% {
    bottom: 0px;
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

.top_section {
  margin-top: 60px;
  pointer-events: none;
  overflow: visible;
}

@media screen and (min-width: 768px) {
  .top_section:last-child {
    margin-top: 120px;
  }
}

.top_section_title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

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

.top_section_production {
  margin-top: 36px;
  counter-reset: step;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top_section_production {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
.top_section_production-item {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top_section_production-item {
    width: calc((100% - 24px) / 2);
  }
}

.top_section_production_title {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
  position: relative;
  padding-left: 32px;
}

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

@media screen and (min-width: 768px) {
  .top_section_production-item:nth-child(n + 3) {
    padding-top: 32px;
  }
}

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

.top_section_production_title::before {
  content: counter(step) ".";
  counter-increment: step;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
}

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

.top_section_slideshow {
  margin-top: 32px;
  max-width: 100%;
}

.swiper-slide {
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .swiper-slide {
  }
}

.top_section_img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
}

.top_page-wrapper {
  position: relative;
}

.top_page-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: auto;
  position: fixed;
  bottom: 32px;
  right: 16px;
  transform: translateY(-50%);
  opacity: 0;
  z-index: var(--z-index-modal);
}

.top_page_arrow {
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--black-color);
  border-right: 2px solid var(--black-color);
  transform: rotate(-45deg);
  position: relative;
  transition: transform 0.3s ease;
}

.top_page_arrow::after {
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--black-color);
  border-right: 2px solid var(--black-color);
  right: 4px;
  bottom: -6px;
}

.top_page_arrow:hover {
  transform: rotate(-45deg) translate(4px, -4px);
}

.top_page_txt {
  font-size: 12px;
}
/* ---------- about ---------- */
.about_title::after {
  content: "ABOUT";
}

.about_contents {
  margin-top: 60px;
}

@media screen and (min-width: 768px) {
  .about_contents {
    width: 70%;
    margin: 60px auto 0;
  }
}

.about_profile_img-wrapper {
  background: var(--gray-color);
  width: 100%;
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}

.about_profile_img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about_profile_detail {
  margin-top: 8px;
}

.about_profile_contents {
  font-weight: bold;
}

.about_profile_content:not(:first-child) {
  margin-top: 4px;
}

@media screen and (min-width: 768px) {
  .about_profile_content:not(:first-child) {
    margin-top: 8px;
  }
}

.about_profile_txt {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .about_profile_txt {
    margin-top: 18px;
  }
}

.about_txt-wrapper {
  margin-top: 60px;
  font-family: "Noto Serif JP", serif;
}

@media screen and (min-width: 768px) {
  .about_txt-wrapper {
    font-size: 18px;
  }
}

.about_txt_title {
  margin-top: 32px;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 350px) {
  .about_txt_title {
    font-size: 14px;
  }
}

.about_txt__color {
  color: var(--accent-color);
  font-weight: bold;
}

.about_txt__second-color {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
}

@media screen and (max-width: 350px) {
  .about_txt__second-color {
    font-size: 18px;
  }
}

@media screen and (min-width: 768px) {
  .about_txt__second-color {
    font-size: 28px;
  }
}

.about_txt:last-child {
  margin-top: 32px;
}

/* ---------- works ---------- */
.works_title::after {
  content: "WORKS";
}

.works_posts {
  margin-top: 60px;
}

.works_posts:not(:first-child) {
  padding: 0;
}

@media screen and (min-width: 768px) {
  .works_posts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
  }
}

.works_post {
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
}

@media screen and (min-width: 768px) {
  .works_post {
    width: calc((100% - 16px) / 2);
  }
}

@media screen and (min-width: 1200px) {
  .works_post {
    width: calc((100% - (16px * 2)) / 3);
  }
}

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

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

.works_post_img-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.works_post_img-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(252, 149, 106, 0.6),
    rgba(252, 149, 106, 0.6)
  );
  opacity: 0;
  transform: opacity 0.4s ease;
  z-index: var(--z-index-default);
}

.works_post_img-wrapper:hover::before {
  opacity: 1;
}

.works_post_img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  object-position: top;
  transition: transform 0.4s ease;
}

.works_post_img-wrapper:hover .works_post_img {
  transform: scale(1.1);
}

.works_post_img-viewmore {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  color: var(--white-color);
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  z-index: var(--z-index-default);
}

.works_post_img-wrapper:hover .works_post_img-viewmore {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.works_post_content {
  padding: 16px 16px;
  background: var(--white-color);
  transition: background-color 0.3s ease;
}

.works_post_content:hover {
  background: #f5f5f5;
}

.works_post_txt {
  font-weight: bold;
}

.works_post_item {
  position: relative;
  height: 60px;
}

.works_post_access::after {
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  border: 1px solid var(--black-color);
  border-radius: 50%;
  bottom: 0;
  right: 0;
  transform: translateY(-50%);
  overflow: hidden;
}

.works_post_access .m_arrow {
  position: absolute;
  width: 15px;
  height: 1px;
  background: var(--black-color);
  bottom: 24px;
  right: 1px;
  transform: translate(-50%, 50%);
  transition: 0.3s ease-out;
}

.works_post_content:hover .m_arrow {
  right: -3px;
}

.works_post_access .m_arrow::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--black-color);
  top: 50%;
  right: 6px;
  transform: translate(50%, -50%) rotate(45deg);
}

.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 80px 24px 0;
  gap: 20px;
}

.page-numbers.prev {
  position: relative;
  margin-right: 24px;
  font-size: 0;
}

.page-numbers.prev::before {
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  border: 1px solid var(--gray-color02);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: border-color 0.3s ease;
}

.page-numbers.prev:hover::before {
  border-color: var(--black-color);
}

.page-numbers.prev::after {
  content: "PREV";
  position: absolute;
  font-size: 8px;
  color: var(--gray-color02);
  top: 20px;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: normal;
  transition: color 0.3s ease;
}

.page-numbers.prev:hover::after {
  color: var(--black-color);
}

.pager.pager-prev {
  position: absolute;
  width: 15px;
  height: 1px;
  background: var(--gray-color02);
  left: 4px;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease-out;
}

.page-numbers.prev:hover .pager.pager-prev {
  background: var(--black-color);
  left: 0;
}

.page-numbers.prev span::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--gray-color02);
  top: -3px;
  transform: translate(-50%, 50%) rotate(45deg);
  transition: border-color 0.3s ease-out;
}

.page-numbers.prev:hover span::after {
  border-color: var(--black-color);
}

.page-numbers.next {
  position: relative;
  margin-left: 24px;
}

.page-numbers.next::before {
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  border: 1px solid var(--gray-color02);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.page-numbers.next:hover::before {
  border-color: var(--black-color);
}

.page-numbers.next::after {
  content: "NEXT";
  position: absolute;
  font-size: 8px;
  color: var(--gray-color02);
  top: 20px;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: normal;
  transition: color 0.3s ease;
}

.page-numbers.next:hover::after {
  color: var(--black-color);
}

.pager.pager-next {
  position: absolute;
  width: 15px;
  height: 1px;
  background: var(--gray-color02);
  top: 50%;
  right: 4px;
  transform: translate(50%, -50%);
  transition: 0.3s ease-out;
}

.page-numbers.next:hover .pager.pager-next {
  background: var(--black-color);
  right: 0;
}

.page-numbers.next span::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--gray-color02);
  top: 50%;
  right: 6px;
  transform: translate(50%, -50%) rotate(45deg);
  transition: border-color 0.3s ease-out;
}

.page-numbers.next:hover span::after {
  border-color: var(--black-color);
}

.page-numbers {
  font-size: 24px;
  color: var(--gray-color02);
  transition: 0.3s ease;
}

.page-numbers:hover {
  color: var(--black-color);
}

.page-numbers.current {
  color: var(--black-color);
  border-bottom: 2px solid var(--accent-color);
}

/* ---------- detail ---------- */
.detail_title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.detail_title-link {
  position: relative;
}

.detail_title-link::after {
  content: "";
  background: var(--accent-color);
  height: 2px;
  bottom: -4px;
  position: absolute;
  left: 0;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: 0.3s ease;
  width: 100%;
}

.detail_title-link:hover::after {
  transform: scale(1, 1);
}

.detail_txt {
  margin-top: 32px;
}

.detail_txt-wrapper {
  margin-top: 16px;
}

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

.detail_txt_detail:not(:first-child) {
  margin-top: 4px;
}

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

.detail_img-wrapper img {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 900px) {
  .detail_img-wrapper {
    display: none;
  }
}

.detail_img-wrapper-lg {
  display: none;
}

@media screen and (min-width: 900px) {
  .detail_img-wrapper-lg {
    display: block;
    margin-top: 32px;
  }
}

.detail_link-wrapper {
  margin-top: 16px;
}

.detail_link {
  margin-top: 16px;
  font-size: 14px;
  color: var(--primary-color);
  line-height: 2;
  padding-bottom: 2px;
  text-decoration: none;
  background-image: linear-gradient(var(--primary-color), var(--primary-color));
  background-repeat: no-repeat;
  background-position: right bottom 0px; 
  background-size: 0 1px; 
  transition: background-size 0.3s ease, background-position 0s 0.3s ease;
}

.detail_link:hover {
  background-position: left bottom 0px;
  background-size: 100% 1px;
  transition: background-size 0.3s ease;
}

/* ---------- contact ---------- */
.contact_form {
  margin-top: 60px;
}

.contact_title::after {
  content: "CONTACT";
}

.contact_form-unit {
  position: relative;
}

.contact_form-unit:not(:first-child) {
  margin-top: 48px;
}

.contact_form-input {
  display: block;
  width: 100%;
  height: 36px;
  border-bottom: 2px solid var(--black-color);
}

.contact_form-contents {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition:
    transform 0.25s ease,
    color 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact_form-contents.is-active {
  transform: translateY(-40px);
}

.contact_form-contents.is-active .contact_form-label {
  color: var(--black-color);
}

.contact_form-contents.is-filled .contact_form-label {
  color: var(--black-color);
}

.contact_form-label {
  font-weight: bold;
  color: var(--gray-color);
}

@media screen and (max-width: 350px) {
  .contact_form-label {
    font-size: 12px;
  }
}

.contact_form-label__required {
  margin-left: 8px;
  font-weight: bold;
  font-size: 14px;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  line-height: 1;
  padding: 2px 4px;
  color: var(--accent-color);
}

.contact_form-example {
  font-size: 12px;
  color: var(--gray-color);
  margin-left: 32px;
}

@media screen and (max-width: 350px) {
  .contact_form-example {
    font-size: 8px;
  }
}

.contact_form-radio-contents {
  display: flex;
  align-items: center;
}

.contact_form-label-radio {
  color: var(--black-color);
}

.contact_radio-label__required {
  margin-left: 8px;
  font-weight: bold;
  font-size: 14px;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  line-height: 1;
  padding: 2px 4px;
  color: var(--accent-color);
}

.wpcf7-not-valid-tip {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 12px;
}

.wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7-radio {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 12px;
}

.wpcf7-radio .wpcf7-list-item-label::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 2px solid var(--gray-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.wpcf7-list-item-label {
  font-size: 18px;
  font-weight: bold;
  padding-left: 18px;
  display: inline-block;
  position: relative;
  color: var(--gray-color);
}

.wpcf7-list-item label {
  position: relative;
}

.wpcf7-radio .wpcf7-list-item-label::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-color);
  position: absolute;
  top: 50%;
  left: -18px;
  transform: scale(0);
  transition: 0.3s;
  cursor: pointer;
}

.wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label {
  color: var(--black-color);
}

.wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label::after {
  transform: translate(50%, -50%) scale(1);
}

.contact_form-textarea {
  margin-top: 32px;
}

.contact_form-textarea-txt {
  font-weight: bold;
}

.contact_form_textarea-label__required {
  margin-left: 8px;
  font-weight: bold;
  font-size: 14px;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  line-height: 1;
  padding: 2px 4px;
  color: var(--accent-color);
}

.contact_form-textarea-box {
  margin-top: 16px;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--gray-color);
}

.contact_form_check_area {
  line-height: 1;
}

.contact_form_privacy {
  margin-top: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact_form_checkbox {
  margin: 0;
  width: 24px;
  height: 24px;
  opacity: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.checkbox_custom {
  width: 24px;
  height: 24px;
  border: 1px solid var(--gray-color);
  cursor: pointer;
  margin-right: 16px;
  margin-left: 0;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox_custom::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 10px;
  height: 16px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
  pointer-events: none;
}

.wpcf7-form-control-wrap:has(.contact_form_checkbox:checked) + .checkbox_custom {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.wpcf7-form-control-wrap:has(.contact_form_checkbox:checked) + .checkbox_custom::after {
  opacity: 1;
}

.contact_form_checkbox_agree {
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.contact_form_checkbox_agree .wpcf7-form-control-wrap {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.contact_form_agree-txt {
  color: var(--accent-color);
  position: relative;
}

.contact_form_agree-txt::after {
  content: "";
  background: var(--accent-color);
  height: 2px;
  bottom: -4px;
  position: absolute;
  left: 0;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: 0.3s ease;
  width: 100%;
}

.contact_form_agree-txt:hover::after {
  transform: scale(1, 1);
}

.contact_warning_text {
  color: red;
  display: none;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

@media screen and (max-width: 350px) {
  .contact_warning_text {
    font-size: 12px;
  }
}

.submit-wrapper {
  text-align: center;
  display: inline-block;
  margin-top: 100px;
  position: relative;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact_submit_btn {
  color: var(--white-color);
  width: 280px;
  height: 64px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  background: var(--accent-color);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.submit-wrapper::before {
  position: absolute;
  content: "";
  width: 15px;
  height: 1px;
  background: var(--white-color);
  top: 50%;
  right: 16px;
  transform: translate(-30%, -50%);
  z-index: var(--z-index-menu);
}

.submit-wrapper::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--white-color);
  top: 50%;
  right: 17px;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: var(--z-index-menu);
}

.contact_submit_btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact_submit_btn:disabled:active {
  opacity: 0.5;
}

.submit-wrapper:has(.contact_submit_btn:not(:disabled):active) {
  transform: translate(-50%, calc(-50% + 2px)); /* 本来の中央配置を保ちつつ+2px動かす */
}

.submit-wrapper:has(.contact_submit_btn:not(:disabled):active) .contact_submit_btn {
  box-shadow: none;
}
.wpcf7-spinner {
  display: none;
}
/* ---------- privacy ---------- */

.privacy_content {
  margin-top: 32px;
}

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

.privacy_content-txt {
  margin-top: 8px;
}

.privacy_date-decide {
  display: flex;
  justify-content: start;
  margin-top: 32px;
  font-size: 14px;
}

.privacy_close {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

/* ---------- 404 ---------- */
.error_title {
  font-size: 48px;
  text-align: center;
  color: var(--accent-color);
}
