/* ===========================================
  Gloabl Customization
=========================================== */
:root {
  --color-primary: #A49385;
  --color-secondary: #E2DED1;
  --color-emphasis: #A90F11;
  --color-text-default: #212121;
  --color-text-gray: #F3F1EA;
  --color-styling-gray-1: #F7F7F7;
  --color-styling-gray-2: #F2F2F2;
  --color-styling-background: #F3F1EA;
  --color-styling-border: #CCCCCC;
  --font-ja: YakuHanJP, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo;
  --font-ja-serif: YakuHanJP, "Noto Serif JP", Meiryo;
  --font-en: "din-2014";
  --font-base: var(--font-en), var(--font-ja), sans-serif;

  --content-width-max: min(95%, 136.6rem);
  --content-padding-inline: min(3.6603221083svw, 5rem);

  --social-icon-size: min(2.9282576867svw, 4rem);
}
html,
body {
  scroll-behavior: smooth;
  scroll-padding: 10svh;
}
body {
  font-family: var(--font-base);
  color: var(--color-text-default);
  padding-top: 10rem;
}

@media screen and (max-width: 767px) {
  :root {
    --content-padding-inline: 1.5rem;
    --content-width-max: calc(100% - (var(--content-padding-inline) * 2));

    --social-icon-size: 4rem;
  }
  body {
    padding-top: 8rem;
  }
}

body:has(.p-page-productDetail),
body:has(.p-page-productList) {
  background-color: var(--color-styling-background);
}

/* ===========================================
  Custom Components
=========================================== */
.cs-social {
  display: flex;
  align-items: center;
  gap: min(1.4641288433svw, 2rem);
}
.cs-social dt {
  font-family: var(--font-en);
  font-weight: bold;
  color: var(--color-primary);
  font-size: 1.2rem;
  line-height: 1.3333;
  letter-spacing: 0.15em;
}
.cs-social-list {
  display: flex;
  align-items: center;
  gap: min(0.7320644217svw, 1rem);
}
.cs-social-item {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

/* ===========================================
  Custom Header
=========================================== */
.cs-header {
  --header-logo-size: min(12.4450951684svw, 17rem);
  --header-utility-icon-size: min(1.9765739385svw, 2.7rem);
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  background-color: unset;
  transition: top 0.4s ease;
}

.cs-header.is-scrolling {
  background-color: var(--color-styling-background);
}

.cs-header.is-scrolling {
  position: fixed;
  top: calc(-1* var(--header-height));
  opacity: 0;
}
.cs-header.is-scrolling.is-displayed {
  position: fixed;
  top: 0;
  opacity: 1;
}
.cs-header__inner {
  padding-block: 2rem;
  padding-inline: var(--content-padding-inline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cs-header__logo-area {
  width: var(--header-logo-size);
}
.cs-header__logo-wrap {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
.cs-header__site-name-subtitle {
  font-family: var(--font-ja-serif);
  font-weight: bold;
  font-size: min(0.878477306svw, 1.2rem);
  line-height: 1.4;
  letter-spacing: 0.15em;
}
.cs-header__utility-area {
  display: flex;
  align-items: center;
  gap: min(2.5622254758svw, 3.5rem);
  position: absolute;
  z-index: 20;
  top: 50%;
  right: var(--content-padding-inline);
  translate: 0 -50%;
}
.cs-header__utility-list {
  display: flex;
  align-items: center;
  gap: min(2.196193265svw, 3rem);
}
.cs-header__utility-item:not([data-utility-type="drawer"]) {
  width: var(--header-utility-icon-size);
}
.cs-header__drawer-toggle {
  background: unset;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  cursor: pointer;

  width: min(3.6603221083svw, 5rem);
  min-height: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 0.8rem;
}
.cs-header__drawer-toggle::before,
.cs-header__drawer-toggle::after {
  content: '';
}
.cs-header__drawer-toggle span,
.cs-header__drawer-toggle::before,
.cs-header__drawer-toggle::after {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-text-default);
  transition: rotate var(--transition-default);
}

.cs-header__drawer-toggle.is-toggled {
  row-gap: 0;
}
.cs-header__drawer-toggle.is-toggled span {
  display: none;
}
.cs-header__drawer-toggle.is-toggled::before {
  rotate: -19deg;
}
.cs-header__drawer-toggle.is-toggled::after {
  rotate: 19deg;
}
.cs-header__searchbar {
  width: min(23.4260614934svw, 32rem);
}
.cs-header .s-header-freeWordSearch {
  max-width: unset;
}
.cs-header .c-freeWordSearchBox {
  width: 100%;
  height: 4rem;
  display: flex;
  align-items: center;
  gap: min(0.7320644217svw, 1rem);
  padding: 0 min(0.9516837482svw, 1.3rem);
  border: 1px solid var(--color-text-default);
  border-radius: 0;
  font-size: 1.4rem;
  background-color: var(--color-styling-background);
}
.cs-header .c-freeWordSearchBox__icon {
  width: min(1.02489019034svw, 1.4rem);
  height: min(1.02489019034svw, 1.4rem);
}
.cs-header .c-freeWordSearchBox__form::placeholder {
  opacity: 1;
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color-primary);
  font-family: var(--font-ja);
}

/* Custom Header | Drawer */
.cs-header-drawer {
  --drawer-brand-area-size: min(32.9428989751svw, 45rem);
  --drawer-logo-size: min(23.4260614934svw, 32rem);

  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100svw;
  height: 100svh;
  background: url("../img/custom/common/noise_bg_pc.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto;
}
.cs-header-drawer__inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: var(--drawer-brand-area-size) 1fr;
}
.cs-header-drawer__brand-area {
  background-image: url("../img/custom/common/visual_drawer_pc.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: 6rem;
  padding-inline: var(--content-padding-inline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cs-header-drawer__logo {
  width: var(--drawer-logo-size);
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}
.cs-header-drawer__site-name-subtitle {
  color: var(--color-white);
  font-family: var(--font-ja-serif);
  font-weight: bold;
  font-size: min(1.1713030747svw, 1.6rem);
  line-height: 1.4375;
  letter-spacing: 0.15em;
}
.cs-header-drawer__nav-area {
  padding-inline: var(--content-padding-inline);
  display: grid;
  grid-template-rows: 1fr auto;
}
.cs-header-drawer__nav {
  display: grid;
  grid-template-columns: auto auto;
  place-content: center;
  column-gap: min(7.3206442167svw, 10rem);
}
.cs-header-drawer__nav-list {
  display: flex;
  flex-direction: column;
  row-gap: 5rem;
}
.cs-header-drawer__nav-item {
  font-family: var(--font-ja-serif);
  font-weight: bold;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  gap: min(1.0980966325svw, 1.5rem);
}
.cs-header-drawer__nav-item::before {
  content: '';
  display: block;
  width: min(1.0980966325svw, 1.5rem);
  height: min(1.0980966325svw, 1.5rem);
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.cs-header-drawer__link-area {
  border-top: 1px dashed var(--color-primary);
  padding-block: 5rem 7.2rem;
  margin-inline-start: min(4.39238653svw, 6rem);
}
.cs-header-drawer__link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: min(2.9282576867svw, 4rem);
  padding-inline: min(1.2445095168svw, 1.7rem);
}
.cs-header-drawer__link-item {
  color: var(--color-primary);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: 0;
}
.cs-header-drawer__link-item a {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

@media screen and (min-width: 768px) {
  .cs-header-drawer .cs-social dt {
    color: var(--color-white);
  }
}
@media screen and (max-width: 767px) {
  .cs-header {
    --header-logo-size: 15rem;
    --header-utility-icon-size: 2.7rem;
  }
  .cs-header__inner {
    padding: 1.5rem;
  }
  .cs-header__site-name-subtitle {
    font-size: 1rem;
  }
  .cs-header__utility-list {
    gap: 1.5rem;
  }
}

/* ===========================================
  Custom Footer 
=========================================== */
.cs-footer {
  --footer-logo-size: min(20.3513909224svw, 27.8rem);
  --footer-gap: min(7.3206442167svw, 10rem);

  background-color: var(--color-styling-background);
  border-top: 1px solid var(--color-primary);
}
@media screen and (max-width: 767px) {
  .cs-footer {
    --footer-gap: 3.6rem;
  }
}

.cs-footer__inner {
  width: var(--content-width-max);
  margin-inline: auto;
  padding-inline: var(--content-padding-inline);
}
.cs-footer__upper {
  display: grid;
  grid-template-columns: var(--footer-logo-size) 1fr auto;
  gap: var(--footer-gap);
  padding-block: 9.2rem 5rem;
}
.cs-footer__site-name a {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}
.cs-footer__site-name-subtitle {
  font-family: var(--font-ja-serif);
  font-weight: bold;
  font-size: min(1.1713030747svw, 1.6rem);
  line-height: 1.4375;
  letter-spacing: 0.15em;
}
.cs-footer__brand-area {
  display: flex;
  flex-direction: column;
  row-gap: 2.4rem;
}
.cs-footer__copyright-note {
  font-family: var(--font-en);
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.3333;
}
.cs-footer__nav-list {
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: min(4.39238653svw, 6rem);
  row-gap: 2.6rem;
}
.cs-footer__nav-item {
  font-family: var(--font-ja-serif);
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1.4375;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: min(0.5856515373svw, 0.8rem);
}
.cs-footer__nav-item a {
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.cs-footer__nav-item::before {
  content: '';
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  aspect-ratio: 1;
  background-color: var(--color-primary);
  border-radius: 50%;
}
.cs-footer__catchcopy {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: min(1.6105417277svw, 2.2rem);
}
[class*="cs-footer__catchcopy-line"] {
  font-family: var(--font-ja-serif);
  font-weight: bold;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  padding-right: min(0.7320644217svw, 1rem);
  border-right: 1px solid var(--color-primary);
}
.cs-footer__catchcopy-line--2 {
  color: var(--color-emphasis);
}

.cs-footer__lower {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--color-primary);
  padding-block: 2.5rem;
}
.cs-footer__link-list {
  display: flex;
  align-items: center;
  gap: min(2.5622254758svw, 3.5rem);
}
.cs-footer__link-item {
  color: var(--color-primary);
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: 0;
}
.cs-footer__link-item a {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

@media screen and (max-width: 767px) {
  .cs-header-drawer {
    --drawer-logo-size: 15rem;
  }
  .cs-header-drawer__site-name-subtitle {
    font-size: 1rem;
  }
  .cs-header-drawer__logo {
    row-gap: 0.5rem;
  }
  .cs-header__drawer-toggle {
    width: 3.5rem;
  }
  .cs-header-drawer__inner {
    display: block;
  }
  .cs-header-drawer__brand-area {
    height: 20rem;
    padding-block: 1.5rem;
    padding-inline: 1.5rem;
    background-image: url("../img/custom/common/visual_drawer_sp.jpg");
  }
  .cs-header-drawer__nav {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
  }
  .cs-header-drawer__nav-list {
    row-gap: 2rem;
  }
  .cs-header-drawer__nav-area {
    padding-inline: 1.5rem;
  }
  .cs-header-drawer__nav {
    padding-block: 3.5rem;
    padding-inline: 2rem;
  }
  .cs-header-drawer__nav-item {
    font-size: 1.6rem;
  }
  .cs-header-drawer__link-area {
    margin-inline-start: 0;
    padding-inline: 0.9rem;
  }

  .cs-header:has(.cs-header-drawer.is-open) .cs-header__utility-item svg path {
    fill: var(--color-white);
  }
  .cs-header:has(.cs-header-drawer.is-open) .cs-header__drawer-toggle span, 
  .cs-header:has(.cs-header-drawer.is-open) .cs-header__drawer-toggle::before, 
  .cs-header:has(.cs-header-drawer.is-open) .cs-header__drawer-toggle::after {
    background-color: var(--color-white);
  }
  .cs-header-drawer__nav-item {
    gap: 0.8rem;
  }
  .cs-header-drawer__nav-item::before {
    width: 0.8rem;
    height: 0.8rem;
  }
  .cs-header-drawer__link-list {
    justify-content: flex-start;
  }
  .cs-header-drawer__link-area {
    padding-block: 2.5rem 3.5rem;
  }
  .cs-social {
    gap: 2.3rem;
  }
  .cs-social dt {
    font-size: 1.2rem;
  }

  .cs-footer__upper {
    display: flex;
    flex-direction: column;
    row-gap: 3.5rem;
    padding-block: 5rem 3.5rem;
  }
  .cs-footer__catchcopy-area {
    order: -1;
    padding-bottom: 1.5rem;
  }
  [class*="cs-footer__catchcopy-line"] {
    font-size: 2.4rem;
  }
  .cs-footer__catchcopy {
    justify-content: center;
  }
  .cs-footer__catchcopy {
    column-gap: 2rem;
  }
  [class*="cs-footer__catchcopy-line"] {
    padding-right: 0.5rem;
    font-size: 2.4rem;
  }
  .cs-footer__site-name {
    width: 26rem;
    margin-inline: auto;
  }
  .cs-footer__site-name-subtitle {
    font-size: 1.6rem;
    text-align: center;
  }
  .cs-footer__nav-list {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    padding-inline: 1rem;
  }
  .cs-footer__nav-item {
    font-size: 1.6rem;
    gap: 0.8rem;
  }
  .cs-footer__lower {
    flex-direction: column-reverse;
    row-gap: 3.5rem;
    padding-block: 3.5rem;
  }
  .cs-footer__link-list {
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 1.1rem;
  }
  .cs-footer__link-item {
    font-size: 1.2rem;
  }
  .cs-footer__inner {
    padding-inline: 0;
  }
  .cs-footer__social-area {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cs-social {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0.5rem;
  }
}

.c-product-sIcon__item img,
.c-productUser-sIcon__item img {
  width: auto;
  height: 1.7rem;
}
.c-product-sIcon__item:not(:has(img)),
.c-productUser-sIcon__item:not(:has(img)) {
  display: none;
}

.m-productDetailImg-container {
  position: relative;
  overflow: visible;
}
.m-productDetailImg-container .c-product-sIcon__item:not(:has([data-index="0"])) {
  display: none;
}
.m-productDetailImg-container .c-product-sIcon__item:has([data-index="0"]) {
  position: absolute;
  z-index: 10;
  top: -1rem;
  left: 1rem;
}
.m-productDetailImg-container .c-product-sIcon__item:has([data-index="0"]) img {
  height: 2rem;
}
.p-productDetailWrap__detailBlock .c-product-sIcon__item:has([data-index="0"]) {
  display: none;
}

.p-newsList-content__article:first-of-type {
  border-top: none;
}
.p-newsList-content__article {
  border-bottom: none;
}
.p-newsList-content__main {
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--color-gray);
}
.p-newsList-content__main:first-of-type {
  border-top: 1px solid var(--color-gray);
}
.p-newsList-content__article {
  position: relative;
  padding: 0 0;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
.cs-news-tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 11rem;
  height: 2rem;
  border-radius: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0;
  flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  .cs-news-tag {
    position: absolute;
    top: -0.25rem;
    left: 9rem;
  }
}

.c-product-head__picture::before,
.c-productUser-head__picture::before {
  padding-top: 100%;
}
.c-product-head__status,
.c-productUser-head__status {
  position: relative;
  margin-top: 0.6rem;
}

@media screen and (max-width: 767px) {
  .m-productDetailImg {
    padding-top: 1rem;
  }
}

input[type=text],
input[type=password],
input[type=tel],
input[type=email],
input[type=text],
input[type=number],
select,
.c-userSect-info__text {
  font-family: var(--font-ja);
  font-weight: normal;
}

@media screen and (max-width: 991px) {
  .m-breadcrumb {
    margin-top: 6rem;
    padding-inline: 1.6rem;
  }
  .p-featureListHeading-head__nav {
    padding-inline: 1.6rem;
    margin-bottom: 1.5rem;
  }
  .m-featureListLine {
    padding-inline: 1.6rem;
  }
  .m-productRecommend-wrap {
    padding-bottom: 4rem;
  }
}

.m-productDetailImg-slider__item {
  height: auto;
  aspect-ratio: 1;
}
.m-productDetailImg-slider__picture {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.m-productDetailImg-slider__picture img {
  height: 100%;
  object-fit: contain;
}

.m-orderProductSect-item__picture,
.c-typeListProduct-pictureBox__picture {
  aspect-ratio: 1;
  background-color: var(--color-white);
}
.m-orderProductSect-item__picture::before,
.c-typeListProduct-pictureBox__picture::before {
  padding-top: 0;
}
.m-orderProductSect-item__picture img,
.c-typeListProduct-pictureBox__picture img {
  position: relative;

  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 991px) {
  .m-breadcrumb {
    padding-inline: 0;
  }
  #rootTemplate:has(.p-page-productDetail) .m-breadcrumb {
    margin-top: 8rem;
  }
  .m-orderInfoDetail--shippingSubsc .c-orderSectCol-info__title::after, .m-orderInfoDetail--paymentSubsc .c-orderSectCol-info__title::after {
    letter-spacing: 0.3em;
  }
}

body:has(main.l-main) {
  background: url("../img/custom/common/noise_bg_pc.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto; 
}