:root {
  --black: #000;
  --white: #fff;
  --lime: #EAFF00;
  --orange: #F56A34;
  --blue: #0875E3;
  --red: #FF4242;
  --pink: #FFDFDF;
  --green: #259D63;

  --hoverOrange: #E16230;
  --hoverWhite: #EBEBEB;
  --hoverGreen: #11894f;

  --gray700: #4A4A4A;
  --gray600: #757575;
  --gray500: #BEBEBE;
  --gray400: #e6e6e6;

  --tagBlue: #0894E3;
  --tagGreen: #2C9E59;
  --tagPurple: #9967E4;

  --offWhite: #F5F5F5;

  --text-xxl: 42px;
  --text-xl: 32px;
  --text-l: 18px;
  --text-m: 16px;
  --text-s: 14px;
  --text-xs: 12px;
  --text-xxs: 10px;

  --spacing-main: 70px;
  --spacing-header: 32px;
  --spacing-content: 62px;
  --spacing-gap: 42px;
  --spacing-column-gap: 28px;

  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 186px;
}

@media screen and (max-width: 1250px) {

  :root {
      --text-xxl: 36px;

      --spacing-main: 36px;
      --spacing-header: 16px;
      --spacing-content: 32px;
      --spacing-gap: 28px;
      --spacing-column-gap: 14px;
  }

}

@media screen and (max-width: 1050px) {
  html {
      scroll-padding-top: 176px;
  }
}

@media screen and (max-width: 767px) {

  :root {
      --text-xxl: 28px;

      --spacing-main: 24px;
      --spacing-header: 16px;
      --spacing-content: 20px;
      --spacing-gap: 24px;
      --spacing-column-gap: 8px;
  }

  html {
      scroll-padding-top: 122px;
  }

}

body {
  height: 100%;
  overflow-x: hidden;
}

body,
.lang-jp {
  font-family: system-ui, sans-serif;
  background-color: var(--white);
  color: var(--black);
}

h1,
h2,
h3,
.lang-en {
  font-family: "Chonburi", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h1 {
  font-size: var(--text-xxl);
}

a {
  text-decoration: none;
  color: var(--black);
}

select {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--gray500);
  border-radius: 0px;
  vertical-align: middle;
  text-indent: .01px;
  text-overflow: "";
  background: none transparent;
  background-image: url(../img/expand_more.svg);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: right 2px center;

  padding: 8px 9px;
  padding-right: 2rem;
  font-size: var(--text-s);
  width: fit-content;
}

select:hover {
  border: 1px solid var(--black) !important;
}

select:focus {
  border: 1px solid var(--black) !important;
  outline: 0;
}

/*----------------------------------------
header
----------------------------------------*/

header {
  width: 100%;
  border-bottom: 1px solid var(--gray400);
  position: fixed;
  top: 0;
  z-index: 999;
}

#header_main {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 0 var(--spacing-header);
}

#header_main.vendor {
  background-color: var(--orange);
}

#header-menu {
  display: flex;
  gap: 20px;
}

#header-menu, 
#header-menu * {
    color: var(--black); /* または直接 color: black; */
}

#header-apps {
  display: flex;
  gap: 12px;
}

.header-apps-btn_label {
  margin-left: -4px;
}

#search-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  border-radius: 3px;
  width: 440px;
  height: 40px;
  background-color: #F2F4F7;
  border-radius: 8px;
}

#search-form label {
  width: 100%;
}

#search-form input {
  color: var(--black);
  width: 100%;
  padding: 0 7px;
  border: none;
  box-sizing: border-box;
  font-size: 1rem;
  outline: none;
  background-color: transparent;
}

#search-form input::placeholder {
  color: var(--gray500);
}

#search-form button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

#search_sp,
#search-form_close {
  display: none;
}

.search-bar_hidden {
  display: flex !important;
}

.search_hidden {
  display: none !important;
}

.search_block {
  display: flex !important;
}

.header-apps-btn {
  display: flex;
  align-items: center;
  height: 40px;
  border: none;
  background-color: transparent;
  color: var(--white);
  font-family: "Montserrat","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: var(--text-xs);

  img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin: 8px;
  }
}

.header-apps-btn:hover {
  opacity: .6;
}

.header-apps-btn_label {
  margin-left: 8px;
}

#cart.header-apps-btn {
  position: relative;

  & label {
    position: absolute;
    top: 0;
    left: 34px;
    min-width: 21px;
    color: white;
    font-size: .8rem;
    font-weight: 700;
    line-height: .8rem;
    padding: 4px 6px;
    background-color: var(--red);
    border-radius: 999px;
  }
}

@media screen and (max-width: 767px) {
  #cart.header-apps-btn label {
    left: 28px;
  }
}

#hamburger-menu {
  padding: 0 var(--spacing-header);
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 0 24px;
  background-color: var(--black);
  position: relative;
}

#hamburger-menu button {
  font-size: var(--text-m);
  font-weight: bold;
  border: none;
  background-color: transparent;
  height: 100%;
  color: var(--white);
}

.hover-btn {
  height: 100%;
}

div.hover-btn {
  height: auto;
}

#hamburger-menu button:hover {
  color: var(--green);
}

.hamburger-category {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2列のグリッド */
  grid-template-rows: auto auto auto; /* 行の高さは内容に基づいて自動調整 */
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  padding:  20px var(--spacing-header) 32px var(--spacing-header);
  background-color: var(--white);
  border-top: 1px solid var(--gray400);
}

.hamburger-category > div:nth-child(1) {
  grid-column: 1 / 2; /* 1列目に配置 */
  grid-row: 1 / 4; /* 3行分の高さにまたがる */
}

.hamburger-category > div:nth-child(2) {
  grid-column: 2 / 3; /* 2列目に配置 */
  grid-row: 1 / 2; /* 1行目 */
}

.hamburger-category > div:nth-child(3) {
  grid-column: 2 / 3; /* 2列目に配置 */
  grid-row: 2 / 3; /* 2行目 */
}

.hamburger-category > div:nth-child(4) {
  grid-column: 2 / 3; /* 2列目に配置 */
  grid-row: 3 / 4; /* 3行目 */
}

.hamburger-category-wrapper {
  position: fixed;
  visibility: hidden;
opacity: 0;
  top: 124px;
  left: 0;
  z-index: 0;
  height: calc(100vh - 124px);
  width: 100%;
  background-color: rgba(0, 0, 0, .9);
  transition: all .3s;
}

.accordion-btn-active {
  color: var(--orange);
}

.fadein {
  visibility: visible;
  opacity: 1;
}

.category-inner {
  display: flex;
  width: 100%;
  row-gap: 24px;
  column-gap: 24px;
}

.hamburger-image {
  width: 90px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.category-large {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray400);
}

.category-large img {
  width: 24px;
  height: 24px;
}

.category-regular {
  display: block;
  width: 100%;
}

.nav-inner-text {
  width: calc(100% - 144px);
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.nav-inner-text a:hover {
  opacity: .5;
}

.category-large div {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}

.category-large .lang-en {
  font-size: 20px;
  font-weight: bold;
  margin-right: 12px;
}

.category-large .lang-jp {
  font-size: var(--text-m);
}

.category-regular .lang-en {
  font-size: var(--text-l);
  margin-right: 8px;
}

.category-regular .lang-jp {
  font-size: var(--text-s);
}


#logo {
  background-color: white;
  width: 210px;
}

@media screen and (max-width: 1250px) {
  .hamburger-image {
      width: 70px;
  }

  .nav-inner-text {
      width: calc(100% - 114px);
  }

  .category-large div, .category-large .lang-en {
    font-size: var(--text-l);
  }

  .category-large .lang-jp {
      font-size: var(--text-m);
  }

  .category-inner {
      column-gap: 18px;
  }
}

@media screen and (max-width: 1050px) {
  #header_main {
      height: 70px;
  }

  .header-apps-btn_label_sp {
      display: none;
  }

  button#search_sp {
      display: block;
  }

  #header-menu {
      width: 100%;
  }

  #header-apps {
      margin-right: 0;
      margin-left: auto;
      gap: 6px;
  }

  #search-form {
      display: none;
      width: 100%;
  }

  .search-bar_hidden {
      display: none !important;
  }

  .hamburger-category-wrapper {
      top: 114px;
  }

  .hamburger-image {
      width: 60px;
  }

  .category-large .lang-jp {
      font-weight: bold;
  }

  .category-large .lang-en {
      display: none;
  }

  .category-regular .lang-en {
      display: none;
  }
}

@media screen and (max-width: 767px) {
  header {
      border: none;
  }

  #header_main {
      height: 60px;
  }

  .header-apps-btn_sp {
      display: none;
  }

  #header_nav {
      visibility: hidden;
      opacity: 0;
  }

  .hamburger-category {
      position: relative;
      display: flex;
      display: block;
      flex-wrap: wrap;
      width: 100%;
      padding: 0;
      background-color: transparent;
      border-top: none;
  }

  .hamburger-category-wrapper {
      position: relative;
      top: auto;
      visibility: visible;
      opacity: 1;
      height: auto;
      width: auto;
      background-color: transparent;
  }

  .category-inner {
      display: block;
      width: 100%;
  }

  .hamburger-image {
      display: none;
  }

  .category-large {
      border-bottom: none;
  }

  .category-large img {
      display: none;
  }
  
  .hamburger-category-wrapper,
  .hover-btn {
      border-bottom: 1px solid var(--gray400);
  }

  .category-large .lang-jp {
      font-size: var(--text-s);
      font-weight: bold;
  }
  
  .category-regular {
      align-items: center;
  }

  .category-regular .lang-jp {
      font-size: var(--text-s);
  }

  .nav-inner-text {
      width: 100%;
      row-gap: 0;
  }

  .nav-inner-text a {
      padding-left: calc(var(--spacing-header) * 2) !important;
  }

  #logo {
    width: 160px;
  }
}

/*----------------------------------------
hamburger-menu
----------------------------------------*/

#hamburger-box {
  width: 100%;
  display: none;
}

.hamburger-sp {
  display: none;
}

.hamburger-opened {
  display: block !important;
}

@media screen and (max-width: 767px) {
  #hamburger-box {
      display: block;
  }

  #hamburger_close {
      width: 50px;
      height: 50px !important;
      margin-right: 0;
      margin-left: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      background-color: transparent;
  }

  .hamburger-sp {
      display: block;
  }

  .hamburger-sp_flex {
      visibility: visible !important;
      opacity: 1 !important;
      display: flex !important;
      transform: translateX(0) !important;
  }

  #header_nav {
      position: absolute;
      top: 0;
      padding: 0;
      height: auto;
      background-color: transparent;
      align-items: flex-start;
      gap: 0;
      width: 100%;
      transition: all .5s;
  }

  #hamburger-menu {
      display: block;
      width: calc(100% - 50px);
      height: 100vh;
      padding: 70px 0;
      background-color: var(--white);
      overflow-y: auto;
      transition: all .3s;
      transform: translateX(-767px);
      visibility: hidden;
      opacity: 0;
  }

  .hamburger-sp_flex #hamburger-menu {
      transform: translateX(0);
      visibility: visible;
      opacity: 1;
  }

  #hamburger-menu button {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      color: black;
  }
  
  #header_nav a,
  #header_nav div.hover-btn {
      display: flex;
      height: 50px;
      padding: 0 var(--spacing-header);
  }

  #header_nav button {
      font-size: var(--text-l);
      font-weight: bold;
  }

  #fadeLayer {
      position: fixed;
      width: 100%;
      height: 100vh;
      background-color: rgba(0, 0, 0, .9);
  }
}

/*----------------------------------------
	共通パーツ
----------------------------------------*/

/* buttons */

button {
  border: none;
  background-color: transparent;
}

.primay_btn {
  font-size: var(--text-m);
  font-weight: bold;
  padding: 12px 32px;
  background-color: var(--lime);
  border: none;
  white-space: nowrap;
}

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

.secondary-btn {
  padding: 11px 0;
  width: 100%;
  font-size: var(--text-s);
  font-weight: bold;
  background-color: var(--black);
  color: var(--white);
  border: none;
  white-space: nowrap;
}

.secondary-btn:hover {
  background-color: var(--lime);
  color: var(--black);
}

.tertiary_btn {
  font-size: var(--text-s);
  font-weight: 400;
  padding: 8px 20px;
  background-color: var(--white);
  border: 2px solid var(--gray500);
  border-radius: 8px;
  white-space: nowrap;
}

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

.purchase-btn {
  padding: 11px 0;
  width: 100%;
  font-size: var(--text-s);
  font-weight: bold;
  background-color: #259D63;
  color: var(--white);
  border: none;
  border-radius: 8px;
}

.purchase-btn:hover {
  background-color: #11894f;
}

#unsubscribe-btn{
  background-color: var(--red);
}

.btn_add_cart {
  padding: 11px 0;
  width: 100%;
  font-size: var(--text-m);
  font-weight: bold;
  background-color: var(--green);
  color: var(--white);
  border: none;
  border-radius: 8px;
}

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

.text-btn {
  font-size: var(--text-xs);
  padding-bottom: 2px;
  border: none;
  background-color: transparent;
}

.text-btn:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link-btn {
  font-size: var(--text-xs);
  padding-bottom: 2px;
  text-decoration: underline;
  text-underline-offset: 2px;
  border: none;
  background-color: transparent;
}

.text-link-btn:hover {
  color: var(--gray500);
}

.edit-btn {
  display: flex;
  align-items: center;
  font-size: var(--text-s);
  color: var(--blue);
  border: none;
  background-color: transparent;
  flex-shrink: 0;
}

.edit-btn img {
  filter: invert(33%) sepia(100%) saturate(3427%) hue-rotate(197deg) brightness(95%) contrast(94%);
}

.edit-btn:hover {
  color: var(--black);
}

.edit-btn:hover img {
  filter: none;
}

.back-btn:hover {
  color: var(--orange);
}


/* input */

.form-control {
  font-family: system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
  cursor: pointer;
  width: fit-content;
}

.form-control {
  margin-bottom: 1em;
}

input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  margin: 0;

  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 1px solid var(--gray500);
  border-radius: 50%;
  transform: translateY(-0.075em);

  display: grid;
  place-content: center;
  cursor: pointer;
}

input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  box-shadow: inset 1em 1em var(--black);
}

input[type="radio"]:checked {
  border: 1.5px solid var(--black);
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

.form-control--disabled {
  color: var(--gray500);
  cursor: not-allowed;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;

  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 1px solid var(--gray500);
  border-radius: 0.15em;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
  cursor: pointer;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  box-shadow: inset 1em 1em var(--white);
}

input[type="checkbox"]:checked {
  border: 1px solid var(--black);
  background-color: var(--black);
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:disabled {
  border: 1px solid var(--gray500);
  cursor: not-allowed;
}

input[type="checkbox"]:disabled:checked {
  border: 1px solid var(--black);
}

input[type="checkbox"]:disabled::before {
  box-shadow: inset 1em 1em var(--gray500);
}

input.text-box {
  font-size: 14px;
  padding: 8px 9px;
  outline: none;
  border: 1px solid var(--gray500);
}

input.text-box:hover,
input.text-box:focus,
input[type="number"]:hover,
input[type="number"]:focus {
  border: 1px solid var(--black);
}

.spinner-container {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.spinner-button {
  background-color: var(--green);
  padding: 2px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
}

.spinner-button:hover {
  background-color: var(--hoverGreen);
}

.spinner-button img {
  width: 20px !important;
  height: 20px !important;
}

.signin-btn {
  padding: 11px 0;
  width: 100%;
  font-size: var(--text-s);
  font-weight: bold;
  background-color: var(--green);
  color: var(--white);
  border: none;
  border-radius: 8px;
}

#signup-btn {
  font-size: var(--text-s);
  font-weight: bold;
  background-color: var(--green);
  color: var(--white);
  border: none;
}



.signup_close_layer{
  background-color: transparent;
}

.disabled-spinner,
.disabled-spinner:hover {
  background-color: var(--gray400);
}

input[type="number"] {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: var(--text-m);
  padding: 4px;
  width: 43px;
  outline: none;
  border: 1px solid var(--gray500);
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
}


/* modal */

.modal {
  visibility: hidden;
  opacity: 0;
  transition: all .25s 0s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.close_layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-opened {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  position: absolute;
  flex-shrink: 0;
  background-color: white;
  margin: auto;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all .3s 0s ease;
}

.toCenter {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 700px;
}

.dialog {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 400px;
}

@media screen and (max-width: 767px) {
  .modal .modal-content.dialog {
    width: 90% !important;
    height: auto;
  }

  .modal .modal-content.dialog .modal-btns {
    flex-direction: column;
    row-gap: 12px;
  }
}

.dialog .modal-title {
  padding: 20px;
}

.dialog .modal-main {
  padding: 0 20px;
}

.dialog .modal-btns {
  padding: 20px 0;
}

.toBottom {
  width: 420px;
  max-height: calc(100% - 80px) !important;
}

.toLeft {
  width: 460px;
  height: 100%;
  top: 0;
  right: 0;
  transform: translate(100px, 0);
}

.modal-opened .toBottom,
.modal-opened .toLeft {
  transform: translate(0, 0);
}

.close {
  background-color: transparent;
  border: none;
}

.close:hover,
.close:focus {
  cursor: pointer;
}

.hooked {
  top: 80px;
  right: 0;
}

.modal-title {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toBottom .modal-main {
  padding: 0 32px 32px 32px;
}

.toLeft .modal-main {
  padding: 0 32px;
}

.toCenter .modal-main {
  padding: 0 32px 32px 32px;
}

.toCenter .modal-title {
  padding: 16px 32px;
  background-color: var(--offWhite);
}

.toBottom .modal-title {
  padding: 16px 32px;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray400);
}

.toLeft .modal-title {
  height: 80px;
  padding: 0 32px;
  background-color: var(--offWhite);
}

.toLeft .modal-btns {
  margin-top: 32px;
}

.toLeft .modal-btns button {
  width: 100%;
}

.addCart-modal {
  background-color: var(--offWhite);
}

.addCart-modal .modal-title {
  background-color: var(--gray700);
}

.cart-modal .modal-main {
  padding-bottom: 0;
}

.cart-modal .modal-title {
  background-color: var(--offWhite);
}

.addCart-modal .modal-title h2 {
  color: var(--white);
}

.addCart-modal .modal-box p,
.cart-modal .modal-box p {
  font-size: var(--text-s);
}

.modal-collection {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 12px;
}

.modal-collection .ranking-box_inner {
  width: calc(50% - 4px);
}

.modal-collection .ranking-box_inner img {
  width: 80px;
}

.modal-collection .ranking-box_inner .tertiary_btn {
  width: 100%;
  padding: 6px 0;
}

.addCart-modal .modal-main h3 {
  font-size: var(--text-m);
  margin-top: 20px;
  margin-bottom: 4px;
}

.addCart-modal .modal-btns a,
.cart-modal .modal-btns a {
  width: 100%;
}

.addCart-modal .modal-btns .purchase-btn,
.cart-modal .modal-btns .purchase-btn {
  padding: 8px 0;
  width: 100%;
}

.cart-modal {
  background-color: var(--offWhite);
}

.cart-modal .cart-text {
  margin-bottom: 12px;
}

.cart-modal-card {
  display: flex;
  column-gap: 12px;
  width: 100%;
  padding: 16px;
  background-color: var(--white);
  margin-bottom: 2px;
}

.cart-modal-card h3 {
  font-family: system-ui, sans-serif;
  font-size: var(--text-s);
  width: 100%;
  font-weight: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.cart-modal-card img {
  object-fit: cover;
  width: 60px;
  height: 60px;
}

.cart-modal-card-content {
  width: 100%;
  flex-shrink: 1;
}

.cart-modal-card-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.cart-modal-card-inner:last-of-type {
  align-items: flex-end;
}

.cart-modal-card-inner button img {
  width: 24px;
  height: 24px;
}

.cart-modal-card-text {
  width: 100%;
  margin-bottom: 12px;
}

.cart-modal-card-text .cart-text-price {
  font-size: var(--text-m) !important;
}

.cart-modal-card-text .sku-info{
    display: flex;
    font-size: var(--text-xs) !important;
    flex-direction: column;
    margin-bottom: 4px;
}

.modal-content textarea {
  width: 100%;
  border: 1px solid var(--gray500);
  padding: 8px;
  border-radius: 0;
}

.modal-content textarea:hover,
.modal-content textarea:focus {
  border: 1px solid var(--black);
  outline: 0;
}

.modal-btns {
  display: flex;
  justify-content: end;
  align-items: stretch;
  column-gap: 1rem;
  padding: 32px 0;
}

.modal-inner .secondary-btn {
  padding: 0 20px;
  white-space: nowrap;
}

.modal-btns .purchase-btn {
  width: auto;
  padding: 8px 20px;
  height: auto;
}

.modal-bottoms {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 32px;
}

.modal-bottoms .cart-text ul {
  justify-content: center;
  padding-top: 20px;
}

.modal-bottoms .modal-btns {
  padding-bottom: 12px;
}

.addCart-modal .modal-bottoms,
.cart-modal .modal-bottoms {
  position: sticky;
  bottom: 0;
  margin-top: 32px;
  background-color: var(--offWhite);
  border-top: 1px solid var(--gray400);
}

.addCart-modal .modal-bottoms .modal-btns,
.cart-modal .modal-bottoms .modal-btns {
  margin-top: 0;
  background-color: transparent;
  border-top: none;
}


/* sign-in  */

.toBottom .tertiary_btn {
  width: 100%;
  font-weight: bold;
}

.signin-modal .tertiary_btn {
  width: 100%;
}


/* sign-up */

.modal-box {
  padding: 32px 0;
  border-bottom: 1px solid var(--gray400);
}

.signup-modal .modal-box {
  padding-top: 0;
}

.modal-box:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

.addCart-modal .modal-btns,
.cart-modal .modal-btns {
  position: sticky;
  bottom: 0;
  margin-top: 32px;
  background-color: var(--offWhite);
  border-top: 1px solid var(--gray400);
}

.signup-modal .modal-btns button,
.addCart-modal .modal-btns button {
  width: 100%;
}

.addCart-modal h3{
  font-family: system-ui, sans-serif;
}

.modal-card {
  position: sticky;
  top: 80px;
  display: flex;
  column-gap: 12px;
  align-items: center;
  padding: 12px 32px;
  background-color: var(--white);
}

.modal-card img {
  object-fit: cover;
  width: 60px;
  height: 60px;
}

.modal-card h3 {
  font-weight: normal;
  font-size: var(--text-m);
}

@media screen and (max-width: 1050px) {
  .hooked {
      top: 70px;
    }

    .toLeft .modal-title {
      height: 70px;
    }

    .modal-card {
      top: 70px;
    }
  }

@media screen and (max-width: 767px) {
  .modal,
  .modal-content,
  .modal-title,
  .modal-main {
      transition: all .0s 0s ease !important;
    }

  .modal .modal-content {
      width: 100% !important;
      height: 100%;
      max-height: 100% !important;
  }

  .hooked {
      top: 0px;
  }

  .signup-modal .modal-title {
      height: 70px;
  }
    
  .modal-opened .signup-modal .modal-main {
      width: 100%;
  }

  .modal-btns button {
      width: 100% !important;
  }
}

.form-main-title h2 {
  font-size: var(--text-xxl);
}

.form-main {
  border-bottom: 1px solid var(--gray400);
}

.form-main:last-of-type {
  border-bottom: none;
}

.form-main h3 {
  margin-top: 32px;
  margin-bottom: var(--spacing-header);
}

.form-content {
  display: flex;
  margin-bottom: var(--spacing-header);
  width: 963px;
}

.form-name {
  width: 152px;
  padding: 9.5px 0;
  font-size: var(--text-s);
  flex-shrink: 0;
}

.form-explain {
  font-size: var(--text-s);
  color: var(--gray600);
  margin-bottom: 8px;
}

.required {
  font-size: 12px;
  font-weight: bold;
  color: var(--orange);
  margin-left: 4px;
}

.form-area-parent {
  flex-grow: 1;
}

.form-area-parent a {
  display: block;
  width: fit-content;
}

.form-area-parent .text-btn {
  color: var(--blue);
  display: block;
  margin-top: 8px;
}

.form-area-parent .text-btn:hover {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-inner {
  margin-top: 20px;
}

.modal-inner .form-control {
  font-size: var(--text-s);
  width: fit-content;
}

.form-control .text-btn {
  font-size: var(--text-s);
  color: var(--blue);
}

.form-control .text-link-btn {
  font-size: var(--text-s);
  color: var(--blue);
}

.form-control .text-link-btn:hover {
  color: var(--black);
}

p.modal-inner {
  font-size: var(--text-s);
}

.form-area {
  display: flex;
  column-gap: 1rem;
  flex-grow: 1;
}

.form-area-child {
  width: 100%;
}

.error-parent {
  position: relative;
  padding-bottom: 24px;
}

input.error,
select.error {
  background-color: var(--pink);
  border: 1px solid var(--red) !important;
}

input.error:focus,
select.error:focus {
  border: 1px solid var(--black) !important;
}

.error-parent p {
  position: absolute;
  font-size: var(--text-xs);
  color: var(--red);
  bottom: 0;
}

.column {
  flex-direction: column;
  row-gap: 8px;
}

input.fit-size,
select.fit-size {
  width: min(180px, 100%) !important;
}

button.fit-size {
  width: fit-content !important;
}

.form-area input {
  font-size: var(--text-m);
  width: 100%;
  padding: 8px 9px;
  outline: none;
  border: 1px solid var(--gray500);
}

.form-area input[type="text"], .form-area input[type="password"] {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 8px;
}

.form-area input:hover,
.form-area input:focus {
  border: 1px solid var(--black);
}

.radio-area {
  display: flex;
  flex-direction: column;
}

.radio-area label {
  width: fit-content;
}

.radio-area input {
  width: auto;
  margin-right: 8px;
}

.form-content .tertiary_btn {
  margin-right: 0;
  margin-left: auto;
}

.form-content .secondary-btn {
  padding: 8px 20px;
}

.form-content select {
  padding: 8px 9px;
  padding-right: 2rem;
}

@media screen and (max-width: 1050px) {
  .form-content {
      width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .form-content {
      flex-direction: column;
  }

  .fit-size {
      width: 100% !important;
  }
}

.cart-text ul {
  display: flex;
  column-gap: 4px;
  font-size: var(--text-s);
  align-items: baseline;
}

.cart-text-price {
  font-size: 20px !important;
}

.cart-text-price .product-unit {
  font-size: var(--text-xs);
  margin-left: 2px;
}

.delete-icon-btn {
  padding: 4px;
  border-radius: 6px;
}

.delete-icon-btn:hover {
  background-color: var(--hoverWhite) !important;
}

/*----------------------------------------
	footer
----------------------------------------*/

footer {
  width: 100%;
  background-color: var(--black);
  margin-top: var(--spacing-content);
}

.footer-shop-infomation {
  display: flex; 
  justify-content: center;
}

.footer-shop-infomation a:hover {
  opacity: 0.9;
}

.footer-shop-infomation img{
  margin-top: 24px;
}

.footer-caution{
  color: white;
  padding-bottom: 0 !important;
  text-align: left;
  width: 1050px;
  margin: 0 auto;
  margin-top: 42px;
}

.footer-caution-title{
  font-size: 17px;
  color: #c00;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.footer-caution-text{
  font-size: 14px;
  margin: 0 0 5px 0;
}


.footer-wrapper {
  max-width: 1440px;
  min-width: 320px;
  margin: 0 auto;
  display: flex;
  padding: var(--spacing-gap) var(--spacing-content);
  color: var(--white);
}

.footer-info {
  padding-left: var(--spacing-header);
  border-left: 1px solid var(--white);
}

@media screen and (max-width: 1050px) {
  .footer-wrapper {
      margin: 0 auto;
      flex-wrap: wrap;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
  }

  .footer-content {
      width: fit-content !important;
  }

  .footer-pc {
      display: none;
  }

  .footer-info {
      padding-left: 0;
      border-left: none;
  }
}

@media screen and (max-width: 767px) {
  .footer-wrapper {
      margin: 0 auto;
  }

  .footer-content {
      /* margin-bottom: 40px; */
  }

  .footer-others {
      margin-top: 40px;
  }

  .footer-caution{
    display: none;
  }
}

.footer-content {
  width: 100%;
}

.footer-content.copy-right{
  color: white;
  text-align: center;
  padding-bottom: 16px;
  margin: 0 auto;
}

.footer-content div {
  margin-bottom: 12px;
}

.footer-content h4 a {
  width: fit-content;
  font-size: var(--text-m);
  font-weight: bold;
  color: var(--white);
}

.footer-content h5 a {
  font-size: var(--text-s);
  font-weight: bold;
  color: var(--white);
}

.footer-content h6 a {
  font-size: var(--text-s);
  font-weight: 400;
  color: var(--white);
}

.footer-content h4 a:hover,
.footer-content h5 a:hover,
.footer-content h6 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-content h5,
.footer-content h6 {
  margin-bottom: 4px;
}

.logos {
  display: flex;
  align-items: center;
  column-gap: 20px;
  margin-top: 8px;
}

.logos a {
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}

.logo-32 {
  width: 32px;
  height: 32px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.logo-youtube {
  width: 35px;
  height: 32px;
  object-fit: contain;
  aspect-ratio: 35 / 24;
}

.logos a:hover {
  border-bottom: 1px solid var(--white);
}


/**
* コンテンツ一覧
*/
.contents-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.content-box .content-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

.content-info .content-title{
  padding-top: 0 !important;
  text-align: left !important;
}

.content-info .content-created_at{
  color: var(--green);
  font-weight: bold;
}

.content-thumbnail{
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media screen and (max-width: 1050px) {
  .content-article {
      width: 100%;
  }
}

/**
* コンテンツ詳細
*/

.content-header{
  margin-bottom: 16px;
}

.back-button{
    text-align: center;
    width: 280px;
    background: var(--green);
    padding: 12px 24px;
    display: block;
    color: white;
    margin: 0 auto;
    margin-top: 32px;
}

.contents-body {
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #f4f4f4;
  padding: 20px;
  line-height: 1.6;
}

.contents-body h1,
.contents-body h2,
.contents-body h3,
.contents-body h4 {
  margin-bottom: 16px;
}

.contents-body h1 {
  font-size: 28px; /* 最大 */
  font-weight: bold;
  color: #556272;
  position: relative;
  padding-bottom: 5px;
  margin-top: 20px;
  text-align: left;
  padding-left: 10px;
}

.contents-body h2 {
  font-size: 24px; /* 大 */
  font-weight: bold;
  color: #556272;
  position: relative;
  padding-bottom: 5px;
  margin-top: 20px;
  text-align: left;
  padding-left: 10px;
}

.contents-body h3 {
  font-size: 20px; /* 中 */
  font-weight: bold;
  color: #556272;
  position: relative;
  padding-bottom: 5px;
  margin-top: 20px;
  text-align: left;
  padding-left: 10px;
}

.contents-body h4 {
  font-size: 18px; /* 小 */
  font-weight: bold;
  color: #556272;
  position: relative;
  padding-bottom: 5px;
  margin-top: 20px;
  text-align: left;
  padding-left: 10px;
  font-style: italic;
}

.contents-body h1::after,
.contents-body h2::after,
.contents-body h3::after,
.contents-body h4::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #ddd;
}

.contents-body ul {
  list-style-type: circle;
  margin-left: 20px;
  padding-left: 0;
}

.contents-body ol {
  counter-reset: section;
  list-style-type: none;
  margin-left: 20px;
  padding-left: 0;
}

.contents-body ol li {
  counter-increment: section;
  margin-bottom: 10px;
}

.contents-body ol li::before {
  content: counter(section) ". ";
  font-weight: bold;
  color: #d33f49;
}

.contents-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.contents-body th, .contents-body td {
  text-align: left;
  padding: 8px;
  border: 1px solid #ddd;
}

.contents-body th {
  background-color: #556272;
  color: #fff;
}

.contents-body td {
  background-color: #fff;
  color: #556272;
}

@media screen and (max-width: 1050px) {
  .contents-body h1,
  .contents-body h2,
  .contents-body h3,
  .contents-body h4 {
      font-size: 16px; 
      text-align: left;
  }

  .contents-body ul,
  .contents-body ol {
      padding-left: 20px;
  }

  .contents-body table {
      font-size: 14px; 
  }
}


