@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --black-color: #201e1e;
  --white-color: #fdfcf2;
  --accent-color: #fff8c0;
}

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

: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(--white-color);
  font-size: 15px;
  font-family: "BIZ UDPGothic", sans-serif;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

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

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

/* スクロールバーの削除*/
::-webkit-scrollbar {
  display: none;
}
* {
  scrollbar-width: none;
}

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

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

figure {
  margin: 0;
}

/* ---------- 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 {
  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: 80px 0;
}

.l_header {
  background: var(--black-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-index-header);
}

.l_header-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 60%;
  height: 100vh;
  background: var(--black-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translateX(100%); /* 非表示状態 */
  transition: transform 0.4s ease;
  z-index: var(--z-index-menu);
}

.l_header-nav.active {
  transform: translateX(0);
}

@media screen and (min-width: 1080px) {
  .l_header-nav {
    height: 0;
    width: auto;
    transform: translateX(0);
    background: transparent;
    flex-direction: row-reverse;
    position: static;
  }
}

.l_header-nav_list {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 1080px) {
  .l_header-nav_list {
    display: flex;
    align-items: center;
    flex-direction: row;
  }
}

.l_header-logo_link {
  display: block;
  height: 50px;
  width: 50px;
}

.l_header-nav_item:hover {
  transform: translateY(-5px);
}

.l_header-nav_link {
  font-size: 16px;
}

.l_header_sns-wrap {
  display: flex;
  gap: 16px;
  flex-direction: column;
  position: fixed;
  bottom: 5%;
  right: 5%;
}

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

.__logo-line .l_header_sns-logo {
  display: block;
  height: 50px;
  width: 50px;
}

.l_header_sns-link.__logo-instagram {
  display: flex;
  height: 50px;
  width: 50px;
  border-radius: 45px;
  justify-content: center;
  align-items: center;
  background: var(--white-color);
}

.__logo-instagram .l_header_sns-logo {
  height: 35px;
  width: 35px;
}

.l_header-hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white-color);
  border-radius: 45px;
  padding: 8px;
  z-index: var(--z-index-menu);
}

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

.l_header-hamburger_bar {
  display: flex;
  width: 18px;
  height: 2px;
  background: var(--black-color);
  z-index: var(--z-index-modal);
  position: relative;
}

/* ハンバーガーメニュークリック後 */
.l_header_nav.active {
  transform: translateX(0);
}

.l_header-hamburger.active .l_header-hamburger_bar:nth-child(1) {
  top: 8px;
  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: -8px;
  transform: rotate(-45deg);
}

/* ---------- module ---------- */
.m_main {
  background:
    linear-gradient(rgb(32, 30, 30, 0.8), rgb(32, 30, 30, 0.8)),
    url(../img/background.jpeg) center top / 100% auto repeat-y;
  position: relative;
  overflow: visible;
}

.m_main_bg {
  overflow-x: hidden;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-index-default);
}

@media screen and (min-width: 1080px) {
  .m_main_decoration::after {
    content: "Regius Reptiles";
    font-size: 96px;
    letter-spacing: 0.1em;
    white-space: nowrap;
    font-family: "Crimson Text", "serif";
    writing-mode: vertical-rl;
    color: rgb(253, 252, 242, 0.2);
    position: absolute;
    pointer-events: none;
  }
}

@media screen and (min-width: 1080px) {
  .m_main_decoration.__first::after {
    top: 72px;
    left: -37px;
  }
}

@media screen and (min-width: 1080px) {
  .m_main_decoration.__second::after {
    top: 776px;
    right: -37px;
  }
}

@media screen and (min-width: 1080px) {
  .m_main_decoration.__third::after {
    top: 1480px;
    left: -37px;
  }
}

@media screen and (min-width: 1080px) {
  .m_main_decoration.__fourth::after {
    top: 2184px;
    right: -37px;
  }
}

.m_ttl {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.m_ttl::after {
  font-family: "Crimson Text", "serif";
  color: rgb(255, 248, 192, 0.25);
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
}

.m_posts {
  width: 100%;
}

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

.m_news_post-meta {
  display: flex;
  gap: 24px;
  align-items: center;
}

.m_news_post-time {
  font-size: 12px;
}

.m_news_post-ttl {
  font-weight: bold;
}

.m_news_line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white-color);
  margin-top: 32px;
}

.m_news_line:last-child {
  display: none;
}

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

.nav-links {
  display: flex;
  gap: 16px;
}

.m_pagination .page-numbers.current{
  background: var(--white-color);
}

.m_pagination .page-numbers {
  display: flex;
  color: var(--black-color);
  align-items: center;
  justify-content: center;
  height: 26px;
  width: 26px;
  background: rgb(253, 252, 242, 0.5);
}

.m_pagination .prev,
.m_pagination .next {
  display: none;
}

.m_btn {
  background: var(--black-color);
  border-radius: 45px;
  margin: 48px auto 0;
  display: flex;
  justify-content: center;
}

.m_btn_link {
  font-size: 14px;
  padding: 8px 16px;
}

.m_section {
  margin-top: 48px;
}

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

.m_section_txt {
  margin-top: 24px;
}

.m_section_item {
  margin-top: 24px;
}

.m_section_item-ttl {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}

.m_section_item-ttl::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--white-color);
  display: block;
}
.m_section_item-ttl::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--white-color);
  display: block;
}

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

.m_footer {
  background: var(--black-color);
  text-align: center;
  padding: 40px 16px;
  z-index: var(--z-index-header);
}

@media screen and (min-width: 1080px) {
  .m_footer {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 48px 190px;
  }
}

.m_footer_info-txt {
  font-size: 14px;
}

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

.m_footer_meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}

.m_footer_meta-link {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.m_footer_warning,
.m_footer_copyright {
  font-size: 10px;
}
/* ---------- kv ---------- */
.swiper {
  height: 230px;
  width: 100%;
  position: relative;
  background: var(--black-color);
}

@media screen and (min-width: 500px) {
  .swiper {
    height: 400px;
  }
}

@media screen and (min-width: 1080px) {
  .swiper {
    height: 500px;
  }
}

@media screen and (min-width: 1300px) {
  .swiper {
    height: calc(100vh - 100px);
  }
}

.swiper-wrapper {
  display: flex;
  white-space: nowrap;
  flex-shrink: 0;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.top_kv_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media screen and (min-width: 1300px) {
  .top_kv_img {
	width: 100%;
    display: block;
	margin: 0 auto;
  }
}

.top_kv .swiper-pagination {
  display: flex;
  gap: 23px;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.swiper-pagination-dot {
  display: block;
  height: 8px;
  width: 8px;
  background: rgb(32, 30, 30, 0.2);
  border-radius: 45px;
}

@media screen and (min-width: 1080px) {
  .swiper-pagination-dot {
    height: 12px;
    width: 12px;
  }
}

.swiper-pagination-dot.__active {
  background: var(--black-color);
}

/* 左右ボタン共通のスタイル */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: var(--white-color);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 1080px) {
  .swiper-button-prev,
  .swiper-button-next {
    height: 44px;
    width: 44px;
  }
}

/* 左ボタンの配置位置 */
.swiper-button-prev {
  left: 50px; 
}

/* 右ボタンの配置位置 */
.swiper-button-next {
  right: 50px; 
}

/* ★Swiper標準の巨大な矢印デザインを打ち消してサイズを調整する設定 */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 12px; /* ご提示いただいたサイズ感に合わせます */
  font-weight: bold;
}

@media screen and (min-width: 1080px) {
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 18px;
  }
}



/* ホバーした時に少し背景を濃くする演出 */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* ---------- top ---------- */
.top_intro-wrap {
  text-align: center;
}

.top_intro {
  font-weight: bold;
}

.top_intro-txt {
  margin-top: 32px;
  text-align: left;
}

@media screen and (min-width: 1080px) {
  .top_intro-txt {
    text-align: center;
  }
}

@media screen and (min-width: 1080px) {
  .top_news {
    gap: 80px;
    display: flex;
    align-items: center;
  }
}

@media screen and (min-width: 1080px) {
  .top_news_ttl {
    writing-mode: vertical-rl;
    letter-spacing: 1rem;
  }
}

.top_news_posts {
  margin-top: 48px;
}

/* ---------- news ---------- */

.news_ttl::after {
  content: "News";
}

.news_breadcrumb {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 48px;
}

.news_breadcrumb_item {
  font-size: 12px;
}

.news_breadcrumb_item.__current {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news_breadcrumb_arrow {
  display: block;
  height: 8px;
  width: 8px;
  border-top: 1px var(--white-color) solid;
  border-right: 1px var(--white-color) solid;
  transform: translateX(-50%) rotate(45deg);
}

.news_posts {
  margin-top: 48px;
}

/* ---------- news-single ---------- */
.news-single_ttl {
  margin-top: 48px;
}

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

/* ---------- about ---------- */
.about_ttl::after {
  content: "About Us";
}

/* ---------- stock-list ---------- */
.stock-list_ttl::after {
  content: "Stock List";
}

.category-select_wrap {
  display: flex;
  justify-content: flex-end;
}

.category-select {
  border: 1px solid var(--white-color);
  background: var(--black-color);
  padding: 8px 16px;
  border-radius: 45px;
  width: 100%;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .category-select {
    border: 1px solid var(--white-color);
    background: var(--black-color);
    padding: 8px 16px;
    border-radius: 45px;
    width: 300px;
  }
}

.category-select::after {
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
  border-left: 1px solid var(--white-color);
  border-bottom: 1px solid var(--white-color);
  transform: translateY(-50%) rotate(-45deg);
  position: absolute;
  top: 50%;
  right: 20px;
}

.category-select__select {
  width: 100%;
}

.stock-list_card_img-wrap {
  position: relative;
}

.stock-list_card_sold {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  font-weight: bold;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.7);
  border: 1px solid #fff;
  border-radius: 4px;
  z-index: 2;
}

.stock-list_card.is-sold {
  opacity: 0.75;
}

.stock-list_card.is-sold .stock-list_card_img {
  filter: grayscale(40%);
}

.stock-list_cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 16px;
  margin-top: 48px;
}

@media screen and (min-width: 700px) {
  .stock-list_cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
  }
}

.stock-list_card:nth-child(n + 7) {
  display: none;
}

@media screen and (min-width: 700px) {
  .stock-list_card:nth-child(n + 7) {
    display: block;
  }
}

.stock-list_card {
  background: var(--black-color);
  box-shadow: 4px 4px 6px rgb(32, 30, 30, 0.7);
}

.stock-list_card_img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.stock-list_card_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
background: #fff;
}

.stock-list_card_txt-wrap {
  padding: 16px;
}

.stock-list_card_name {
  font-weight: bold;
  text-align: center;
  font-size: 12px;
}

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

.stock-list_card_meta {
  font-size: 12px;
  margin-top: 8px;
}

@media screen and (min-width: 1080px) {
  .stock-list_card_meta {
    font-size: 15px;
  }
}

.stock-list_card_price {
  margin-top: 8px;
  font-size: 12px;
}

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

.card-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}

.card-modal.is-open {
  display: block;
}

.card-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.card-modal__content {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 1000px);
  max-height: 90vh;
  overflow-y: auto;
}

.card-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--black-color);
  cursor: pointer;
  font-size: 20px;
}

/* モーダル内のカードを少し強調 */
.card-modal__body .stock-list_card {
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}


/* 画像を表示するエリア */
.modal-slides {
  position: relative;
  width: 100%;
  height: 80vh;   
  background: var(--black-color);
  overflow: hidden;
} 

/* 各スライド画像（重ね合わせておき、is-activeで表示） */
.modal-slide-img {
	position: relative;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 常に上下左右の真ん中に配置 */
  width: 100%;                       /* 画像の横幅をエリアに100%合わせる */
  height: 100%;                      /* 縦幅もエリアに合わせる */
  object-fit: contain;                 /* 【ポイント】横長に合わせて隙間なく表示する（はみ出しはカット） */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal-slide-img.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* 左右の切り替えボタン */
.modal-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: var(--white-color);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

@media screen and (min-width: 600px) {
	.modal-slider-btn {
		width: 44px;
		height: 44px;
		font-size: 18px;
	}
}

.modal-slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-slider-btn.__prev { left: 10px; }
.modal-slider-btn.__next { right: 10px; }

/* 足元のドット（インジケーター） */
.modal-slider-dots {
  text-align: center;
  margin-top: 10px;
}

.modal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 5px;
  transition: background 0.2s;
}

.modal-dot.is-active {
  background: var(--white-color); /* 現在選択されているドットの色 */
}

/* ---------- how-to-buy ---------- */
.how-to-buy_ttl::after {
  content: "How to Buy";
}

.how-to-buy_step {
  margin-top: 48px;
}

.how-to-buy_step_item {
  margin-top: 32px;
}

.how-to-buy_step_item_head {
  display: flex;
  gap: 24px;
  align-items: center;
}

.how-to-buy_step_item_num {
  font-weight: bold;
  background: var(--black-color);
  border-radius: 45px;
  padding: 8px 16px;
}

.how-to-buy_step_item_ttl {
  font-size: 20px;
  font-weight: bold;
}

.how-to-buy_step_item_txt {
  margin-top: 8px;
}

.how-to-buy_step_item_inquiry {
  padding: 16px 0;
  margin-top: 8px;
}

.how-to-buy_step_item-inquiry-item:not(:first-child) {
  margin-top: 8px;
}

.how-to-buy_link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

#animal-license {
  scroll-margin-top: 140px; /* ヘッダーの高さ */
}

#top {
  scroll-margin-top: 0;
}
/* ---------- tokusho ---------- */
.m_table {
  max-width: 800px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0 16px;
  table-layout: fixed;
}

.m_table th {
  white-space: nowrap;
  vertical-align: top;
  text-align: center;
  width: 12em;
}

.m_table td {
  padding-left: 24px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tokusho_txt {
  margin-top: 24px;
}

.tokusho_notice-list {
  margin-top: 8px;
}

.tokusho_notice-item {
  display: flex;
  gap: 8px;
}

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

.tokusho_notice-term {
  flex-shrink: 0;
  text-align: center;
  width: 72px;
}

.animal-license_tabel {
  max-width: 400px;
  margin-top: 24px;
}

.animal-license_txt {
  text-align: center;
  margin-top: 24px;
}

/* ---------- faq ---------- */
.faq_ttl::after {
  content: "FAQ";
}

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

.faq_btn {
  width: 100%;
  background: var(--white-color);
  color: var(--black-color);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  position: relative;
}

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

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

.faq_txt {
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.faq_open {
  display: none;
}

.faq_btn.is-active .faq_open {
  display: block; /* もしくは flex */
  margin-top: 24px;
  text-align: left;
}

.faq_mark {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-left: 16px;
  margin-top: 5px;
}

.faq_mark::before,
.faq_mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--black-color);
}

.faq_mark::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq_mark::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq_mark.is-open::after {
  display: none;
}
