:root {
	--font-family: 'Noto Sans JP', sans-serif;
	--font-family-en: 'Noto Sans', sans-serif;
	--color-primary: #8B6E00;
	--text-color: #353535;
	--bg-color: rgba(0, 0, 0, 0.05);
	--background-color: #f5f5f5;
	--border-color: rgba(0, 0, 0, 0.2);
	--mobile-width: 390px;
	--tablet-width: 980px;
	--desktop-width: 1200px;
	--desktop-width-large: 1440px;
	--swiper-navigation-size: 16px !important;
	--swiper-navigation-color: #353535;
}

/* Base Typography */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');


html {
	overflow-x: hidden;
}

body {
	margin: 0;
	padding: 0;
	background: var(--background-color) !important;
	font-family: var(--font-family-en);
	color: var(--text-color);
}
.ec-layoutRole {
  background: var(--background-color);
	font-family: var(--font-family-en);
	color: var(--text-color);
}

a:hover {
	color: var(--color-primary);
}

.relative {
	position: relative;
}

.text-primary {
	color: var(--color-primary);
}

.header__inner, .header__menu-inner, .footer__content, .breadcrumb {
	max-width: 1440px;
	margin: 0 auto;
}

.container-1200 {
	max-width: 1200px;
	margin: 0 auto;
}

.container-1200-fix {
	max-width: 1200px;
	margin: 0 auto;
}

.container-1120 {
	max-width: 1120px;
	margin: 0 auto;
}

.container-1360 {
	max-width: 1360px;
	margin: 0 auto;
}

.mobile-only-1200 {
	display: none !important;
}

.desktop-only-1200 {
	display: block !important;
}

.desktop-only-890 {
	display: block !important;
}

.mobile-only-890 {
	display: none !important;
}

.desktop-only-890-flex {
	display: flex !important;
}

.mobile-only-890-flex {
	display: none !important;
}

@media screen and (max-width: 890px) {
	.desktop-only-890 {
		display: none !important;
	}
	.mobile-only-890 {
		display: block !important;
	}
	.desktop-only-890-flex {
		display: none !important;
	}
	.mobile-only-890-flex {
		display: flex !important;
	}
}

@media (max-width: 1200px) {
	.desktop-only-1200 {
		display: none !important;
	}
	.mobile-only-1200 {
		display: block !important;
	}
	.container-1120 {
		max-width: 100%;
		padding: 0 32px;
	}
	.container-1200 {
		max-width: 100%;
		padding: 0 32px;
	}
	.container-1200-fix {
		max-width: 100%;
		padding: 0 40px;
	}
	.container-1360 {
		max-width: 100%;
		padding: 0 32px;
	}
}

@media (max-width: 890px) {
	.container-1120 {
		max-width: 100%;
		padding: 0 16px;
	}
	.container-1200 {
		max-width: 100%;
		padding: 0 16px;
	}

	.container-1200-fix {
		max-width: 100%;
		padding: 0 16px;
	}
	.container-1360 {
		max-width: 100%;
		padding: 0 16px;
	}
}

/* button */
.btn_primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px; /* Figma padding */
	gap: 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--background-color);
  color: var(--text-color);
  cursor: pointer;
}

.btn_primary-text {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
	flex: 1;
}

.btn_primary-icon {
  width: 24px;
  height: 24px;
}

.btn_primary:hover {
  background: var(--background-color);
}

/* custom button ec-cube */
.ec-blockBtn--action {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ec-blockBtn--action:hover, .ec-blockBtn--action:focus, .ec-blockBtn--action:active {
  opacity: 0.8;
  background: var(--color-primary);
  color: #fff !important;
}
.ec-blockBtn--cancel {
  background: var(--background-color);
  color: var(--text-color) !important;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 11px 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ec-blockBtn--cancel:hover, .ec-blockBtn--cancel:focus, .ec-blockBtn--cancel:active {
  opacity: 0.8;
  background: var(--background-color);
  color: var(--text-color) !important;
  border: 1px solid var(--border-color);
}

.ec-inlineBtn--cancel {
  background: var(--background-color);
  color: var(--text-color) !important;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 11px 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
}

.ec-inlineBtn--cancel:hover, .ec-inlineBtn--cancel:focus, .ec-inlineBtn--cancel:active {
  opacity: 0.8;
  background: var(--background-color);
  color: var(--text-color) !important;
  border: 1px solid var(--border-color);
}

.ec-inlineBtn--action {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff !important;
  border-radius: 8px;
  padding: 11px 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ec-inlineBtn--action:hover, .ec-inlineBtn--action:focus, .ec-inlineBtn--action:active {
  opacity: 0.8;
  background: var(--color-primary);
  color: #fff !important;
}

.ec-modal-wrap {
  border-radius: 8px !important;
  border: none !important;
}

@media screen and (max-width: 390px) {
  /* custom modal */
  .ec-role-modal-flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .ec-inlineBtn--cancel {
    width: 100%;
  }
  .ec-inlineBtn--action {
    width: 100%;
  }
}



/* custom step */
.ec-progress__number {
  color: var(--color-text) !important;
  background: var(--background-color) !important;
  border: 1px solid var(--border-color) !important;
}
.ec-progress .is-complete .ec-progress__number {
  color: #fff !important;
  background: var(--color-primary) !important;
}
.ec-progress .is-complete .ec-progress__label {
  color: var(--color-primary) !important;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 52px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 64px;
}

.pagination__arrow {
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.pagination__arrow:hover {
  opacity: 0.8;
}

.pagination__numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  color: #353535;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  transition: opacity 0.2s;
	cursor: pointer;
}

.pagination__number:hover {
  opacity: 0.8;
}

.pagination__number--active {
  background: #8B6E00;
  color: #FFFFFF;
}
.pagination__number--active:hover {
  color: #FFFFFF;
	opacity: 0.8;
}


.pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.pagination__ellipsis img {
  width: 40px;
  height: 40px;
}


/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
	margin-bottom: 0;
	flex-wrap: nowrap !important;
  /* 1 line css */
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  &::-webkit-scrollbar {
    display: none;
  }

}

.breadcrumb__item {
  color: #353535;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
	min-width: fit-content;
}

.breadcrumb__item--one-line {
	/* 1 line css */
	line-height: 1;
	margin: 0;
	padding: 0;
	display: inline-block;
	vertical-align: middle;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 100%;
}

.breadcrumb__item--current {
  color: #353535;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;

  /* 1 line css for current item add "..." if text is too long */
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
}

.breadcrumb__separator {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}


/* Title */
.base-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
	margin-bottom: 88px;
}

.base-title__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.base-title__text {
  color: #353535;
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  margin: 0;
  font-family: var(--font-family);
}

.base-content {
	width: 100%;
	max-width: 1040px;
	margin-left: auto;
}

@media screen and (max-width: 890px) {
	.rs-hidden {
		display: none;
	}
	.breadcrumb {
		padding: 16px;
	}
	.base-title {
		margin-top: 58px;
		margin-bottom: 88px;
	}
	.base-content {
		max-width: 100%;
		margin-left: unset;
	}
	.base-title__text {
		font-size: 32px;
	}

	.breadcrumb__item {
		font-size: 14px;
	}

	.breadcrumb__item--current {
		font-size: 14px;
	}
	.breadcrumb {
		gap: 8px;
	}

	/* pagination */
	.pagination__arrow {
		display: none;
	}
	.pagination {
		justify-content: center;
		width: 100%;
		overflow-x: auto;
		padding-bottom: 10px;
		padding-top: 56px;
	}

}

