html:has(dialog[open]) {
  overflow: hidden;
}
body {
  font-family: "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  min-width: 320px;
  background-color: #fff;
  margin: 0 auto;
  max-width: 750px;
}
.w-100 {
  width: 100%;
}
.wt-100 {
  width: 100%;
  margin-top: 35px;
}
.d-flex {
  display: flex;
}
.justify-content-center {
  justify-content: center;
}
.flex-direction-column {
  flex-direction: column;
}
.font-weight-normal {
  font-weight: normal;
}
.mr-20 {
  margin-right: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
h1 {
  text-align: center;
  font-size: 24px;
  padding: 20px 0 30px;
}
h2 {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 300;
  margin: 0 0 20px;
  position: relative;
  padding-left: 1.2em;
}
h2::after {
  position: absolute;
  top: 0.4em;
  left: 5px;
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid #2b2e2f;
  border-radius: 30px;
  z-index: 2;
}
h3 {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 300;
  margin: 0 0 20px;
  position: relative;
  padding-left: 1.2em;
}
h3::after {
  position: absolute;
  top: 0.4em;
  left: 5px;
  content: '';
  width: 12px;
  height: 12px;
  background-color: #2b2e2f;
  border-radius: 30px;
  z-index: 2;
}
h4 {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
  margin: 0 0 20px;
}
.btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.btn-primary {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  background-color: #2b2e2f;
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  border: 1px solid #2b2e2f;
  width: 100%;
  height: 100px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  opacity: 0.8;
  cursor: pointer;
}
.btn-secondary {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  background-color: #fff;
  color: #2b2e2f;
  font-size: 22px;
  font-weight: 300;
  border: 1px solid #2b2e2f;
  width: 100%;
  height: 100px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-secondary:hover {
  opacity: 0.8;
  cursor: pointer;
}
.btn-secondary-md {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  background-color: #fff;
  color: #2b2e2f;
  font-size: 22px;
  font-weight: 300;
  border: 1px solid #2b2e2f;
  width: 100%;
  height: 80px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-secondary-md:hover {
  opacity: 0.8;
  cursor: pointer;
}
.btn-secondary-sm {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  background-color: #fff;
  color: #2b2e2f;
  font-size: 14px;
  font-weight: 300;
  border: 1px solid #2b2e2f;
  width: 100%;
  height: 40px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-secondary-sm:hover {
  opacity: 0.8;
  cursor: pointer;
}
.btn-more {
  background-color: #fff;
  color: #2b2e2f;
  font-size: 14px;
  min-width: 295px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid #2b2e2f;
  margin-bottom: 30px;
}
.btn-more:hover {
  opacity: 0.8;
  cursor: pointer;
}
.btn-more::before {
  padding-right: 8px;
  color: #2b2e2f;
  background-image: url("../img/plus.png");
  content: '';
  background-size: contain;
  background-repeat: no-repeat;
  height: 14px;
  width: 14px;
  display: inline-block;
  vertical-align: text-top;
}
.btn-disabled {
  background-color: #999 !important;
  color: #fff !important;
  pointer-events: none;
}
main {
  height: 100%;
}
main .container {
  margin: 40px 30px 0;
}
main .container .huge_img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
main .container .powder_img {
  width: 100%;
  margin-top: 50px;
  margin-bottom: 50px;
  object-fit: cover;
}
main .container .md_img {
  width: 250px;
  height: 250px;
  object-fit: cover;
}
main .container .sm_img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
main .container section {
  padding-top: 51px;
  margin-top: -51px;
  margin-bottom: 40px;
}
main .container .discription {
  text-align: center;
  font-size: 16px;
  margin-bottom: 30px;
}
main .container .plan {
  background-color: #f5f5f5;
  padding: 15px;
  margin-bottom: 30px;
}
main .container .plan .select_plan {
  font-size: 14px;
  text-align: left;
  margin: 0 0 5px;
}
main .container .plan .plan_name {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}
main .container .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
main .container .items-harf {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 30px;
}
main .container .items {
  position: relative;
}
main .container .items .select_item_img {
  min-width: 125px;
  height: 125px;
  border-radius: 10px;
  margin: 0 auto;
  position: relative;
}
main .container .items .cart_badge {
  background-color: #f5f5f5;
  border-radius: 50px;
  padding: 5px 10px;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
  z-index: 5;
}
main .container .items .cart_badge::before {
  transform: scale(1);
  padding-right: 5px;
  color: #2b2e2f;
  content: url("../img/check.svg");
}
main .container .category {
  border: 1px solid #555;
  font-size: 12px;
  padding: 5px 10px;
  color: #555;
  width: fit-content;
  margin: 0 0 10px;
}
main .container .bland_name,
main .container .item_name {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 5px;
}
main .container .price {
  font-weight: bold;
  font-size: 18px;
  margin: 0 0 10px;
  color: #2b2e2f;
}
main .container .price span {
  font-size: 14px;
  padding-left: 5px;
}
main .container .anker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  grid-auto-rows: minmax(15px, auto);
}
main .container .btn-anker {
  background-color: #fff;
  border: 1px solid #2b2e2f;
  text-decoration: none;
  font-size: 12px;
  border-radius: 50px;
  padding: 5px 13px;
  height: 30px;
  color: #2b2e2f;
  min-width: 114px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
main .container .btn-anker::after {
  transform: scale(0.8);
  padding-left: 8px;
  color: #2b2e2f;
  background-image: url("../img/arrow.png");
  content: '';
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  height: 8px;
  width: 2px;
}
main .container .summarize-parts {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}
main .thanks {
  margin-top: 10vh;
}
footer {
  padding: 20px 30px;
  border-top: 1px solid #ccc;
  position: sticky;
  bottom: 0;
  background-color: #fff;
}
#alert-error {
  color: #d00;
  border: 1px solid #d00;
  background-color: #ffeded;
  border-radius: 50px;
  padding: 13px 24px;
  margin: 0 auto;
  max-width: 75%;
  position: fixed;
  top: 30px;
  z-index: 100;
  display: flex;
  align-items: center;
  right: 0;
  left: 0;
}
#alert-error img {
  margin-right: 10px;
}
#alert-error p {
  margin: 0;
}
#alert-sccess {
  color: #349117;
  border: 1px solid #349117;
  background-color: #f2ffef;
  border-radius: 50px;
  padding: 13px 24px;
  margin: 0 auto;
  max-width: 75%;
  position: fixed;
  top: 30px;
  z-index: 100;
  display: flex;
  align-items: center;
  right: 0;
  left: 0;
}
#alert-sccess img {
  margin-right: 10px;
}
#alert-sccess p {
  margin: 0;
}
.modal,
.color-modal {
  border: none;
  margin-left: 15px;
  margin-right: 15px;
  position: relative;
  max-height: 90%;
  padding: 0;
  width: 100%;
}
.modal::backdrop,
.color-modal::backdrop {
  background: rgba(0,0,0,0.7);
}
.modal .grid,
.color-modal .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(125px, auto);
  gap: 15px;
}
.modal .items-harf,
.color-modal .items-harf {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 30px;
}
.modal .items,
.color-modal .items {
  position: relative;
}
.modal .items .select_item_img,
.color-modal .items .select_item_img {
  min-width: 120px;
  height: 120px;
  border-radius: 10px;
  margin: 0 auto;
  position: relative;
}
.modal .category,
.color-modal .category {
  border: 1px solid #555;
  font-size: 12px;
  padding: 5px 10px;
  color: #555;
  width: fit-content;
  margin: 0 0 10px;
}
.modal .bland_name,
.color-modal .bland_name,
.modal .item_name,
.color-modal .item_name {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 5px;
}
.modal .price,
.color-modal .price {
  font-weight: bold;
  font-size: 18px;
  margin: 0 0 10px;
  color: #2b2e2f;
}
.modal .price span,
.color-modal .price span {
  font-size: 14px;
  padding-left: 5px;
}
.modal .btn-delete-harf,
.color-modal .btn-delete-harf {
  color: #d00;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid #d00;
  background-color: #fff;
  width: 90%;
}
.modal .btn-delete-harf:hover,
.color-modal .btn-delete-harf:hover {
  opacity: 0.8;
  cursor: pointer;
}
.modal .btn-more,
.color-modal .btn-more {
  background-color: #fff;
  color: #2b2e2f;
  font-size: 16px;
  min-width: 295px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid #2b2e2f;
  margin-bottom: 30px;
}
.modal .btn-more:hover,
.color-modal .btn-more:hover {
  opacity: 0.8;
  cursor: pointer;
}
.modal .modal-close,
.color-modal .modal-close {
  border: none;
  position: fixed;
  right: 40px;
  padding: 10px;
  background-color: #fff;
}
.modal .modal-close-img:hover,
.color-modal .modal-close-img:hover {
  cursor: pointer;
}
.modal .url_open,
.color-modal .url_open {
  margin-top: 60px;
  width: 100%;
  height: 600px;
}
.modal .sample_img,
.color-modal .sample_img {
  margin-top: 60px;
  width: 100%;
}
.modal .separate-line,
.color-modal .separate-line {
  width: 100%;
  border-bottom: 1px solid #ccc;
}
.modal .modal-items,
.color-modal .modal-items {
  padding: 40px 20px 30px;
  min-height: 600px;
}
.modal .btn-area,
.color-modal .btn-area {
  margin: 20px 15px 30px;
}
.modal .discription,
.color-modal .discription {
  text-align: center;
  font-size: 16px;
  margin-bottom: 30px;
}
#item-modal {
  border: none;
  margin-left: 15px;
  margin-right: 15px;
  max-height: 80%;
  padding: 0;
  width: 100%;
}
#item-modal-open:hover {
  cursor: pointer;
  opacity: 0.8;
}
#item-modal::backdrop {
  background: rgba(0,0,0,0.7);
}
#item-modal .item-modal-close {
  border: none;
  padding: 0;
}
#item-modal .item-modal-close-img {
  margin-top: -60px;
  position: fixed;
  right: 20px;
}
#item-modal .item-modal-close-img:hover {
  cursor: pointer;
}
#item-modal .modal-items {
  padding: 40px 20px 30px;
}
#item-modal .modal-items .select_item_img {
  min-width: 230px;
  height: 230px;
  border-radius: 10px;
  margin: 0 auto;
  position: relative;
}
#item-modal .modal-items .category {
  border: 1px solid #555;
  font-size: 12px;
  padding: 5px 10px;
  color: #555;
  width: fit-content;
  margin: 0 0 10px;
}
#item-modal .modal-items .bland_name,
#item-modal .modal-items .item_name {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 5px;
}
#item-modal .modal-items .price {
  font-weight: bold;
  font-size: 18px;
  margin: 0 0 20px;
  color: #2b2e2f;
}
#item-modal .modal-items .price span {
  font-size: 14px;
  padding-left: 5px;
}
/* table SELECT */
table.imitationSelect,
table.imitationPulldown {
  table-layout: fixed;
  border: 1px solid #000;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  color: #000;
  line-height: 0px;
  cursor: pointer;
  height: 40px;
}
/* table (1行表示用) */
table.imitationSelect {
  position: relative;
  overflow: visible;
  z-index: 10;
  width: 100%;
}
/* table (プルダウン用) */
table.imitationPulldown {
  position: absolute;
  z-index: 12;
  left: -1px;
  top: -1px;
  width: 100%;
  table-layout: fixed;
}
/* tr (1行表示用) */
table.imitationSelect tr {
  height: 16px;
}
/* tr (プルダウン用) */
table.imitationPulldown tr {
  height: 30px;
}
table.imitationPulldown tr:nth-child(2n) {
  border-top: 1px solid #ccc;
}
table.imitationPulldown tr:hover {
  background: #808080;
  color: #fff;
}
/* td (共通) */
table.imitationSelect td,
table.imitationPulldown td {
  vertical-align: middle; /* 縦方向 中央寄せ */
  padding: 10px;
  white-space: nowrap;
}
td.imitationImage {
  width: 24px; /* 使われる複数 image の中の最大幅 +α */
  text-align: center; /* 画像は中央 */
}
td.imitationText {
  text-align: left; /* 文字は左寄せ */
  font-size: 16px;
}
#hiddenElement {
  display: none;
}
#Box2,
#Box3 {
  display: none;
}
.pulldown select {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  color: #555;
  border: 1px solid #555;
  -webkit-appearance: none;
  border-radius: 4px;
  appearance: none;
  background-image: url("../img/arrow.png");
  background-repeat: no-repeat;
  background-position: right 15px center;
  margin-bottom: 20px;
  background-size: 1em;
}
.border-title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.border-title:before,
.border-title:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #2b2e2f;
}
.border-title:before {
  margin-right: 1rem;
}
.border-title:after {
  margin-left: 1rem;
}
.how-to {
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-to .how-to-img {
  width: 350px;
  height: 350px;
  object-fit: cover;
}
.how-to .explanation {
  width: 200px;
  text-align: left;
}
.arrow-bottom {
  position: relative;
  display: inline-block;
  padding-left: 30px;
  padding-bottom: 50px;
}
.arrow-bottom:before {
  content: '';
  width: 30px;
  height: 30px;
  border: 0;
  border-bottom: solid 2px #333;
  border-right: solid 2px #333;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
