body {
  background: white;
  color: #4d4d4d;
  font-family: 'Segoe UI', Geneva, Verdana, sans-serif;
}

header {
  background: #f7931e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
}

header h1 {
  font-size: 2rem;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

header a h1 {
  color: white;
}

header .logo img {
  width: 260px;
}

li a, a {
  color: black;
  text-decoration: none;
  padding: 6px 0;
}

.main p > a, .index p > a {
  color: black;
  text-decoration: none;
  border-bottom: 1px black solid;
  padding: 6px 0 1px;
}

.main, .index {
  width: 90%;
  max-width: 600px;
  margin: auto;
  margin-bottom: 2rem;
}

.right_aligned {
  text-align: right;
}

.center_aligned {
  text-align: center;
}

.invert {
  filter: invert();
}

.grayscaled {
  filter: grayscale(1);
}

.grayish_light {
  filter: brightness(2) grayscale(1);
}

.mirrored {
  transform: rotate(0.5turn);
}

.title {
  font-feature-settings: "palt";
}

.lined {
  display: flex;
  align-items: center;
}

.stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.margin_bottom_1rem {
  margin-bottom: 1rem;
}

footer {
  background-color: #fbb03b;
  padding-top: 0.5rem;
  /* padding-bottom: 1.5rem; */
  display: flex;flex-direction: column;
  align-items: center;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.5);
  color: whitesmoke;
}

footer a {
  text-decoration: none;
  color: white;
}

footer ul {
  display: flex;
  justify-content: center;
  margin-bottom:  2rem;
}

footer ul li {
  display: block;
  padding: 0.25rem 1rem 0.5rem 0.5rem;
  border-right: 1px whitesmoke solid;
  margin: 0.5rem 0.5rem 0.5rem 0;
}

footer ul li:last-child {
  border: none;
}

footer ul li a {
  padding: 8px;
}

footer .social_media li {
  border: none;
  padding: 0.25rem;
  margin: 0.35rem;
}

footer .social_media img {
  height: 32px;
  margin-top: 0.5rem;
  display: block;
}

/* single */

.wp-block-gallery {
  width: 100%;
  overflow-x: scroll;
  margin-bottom: 1rem;
}

.main .wp-block-image img {
  display: block;
  width: 320px;
  height: 240px;
  object-fit: cover;
}

@media screen and (min-width: 600px) {
  .main .wp-block-image img {
    width: 500px;
    height: 375px;
  }
}

.wp-block-gallery-is-layout-flex {
  display: flex;
}

.item_name {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.item_spec {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.description p {
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: justify;
}

.main ul.wp-block-list {
	line-height:1.6;
	list-style:url(/assets/images/aside_bullet.svg);
	padding-left:1rem;
}

.main .wp-block-list li {
	margin-right:-1rem;
	margin-bottom:0.5rem;
}

.main form {
  margin-bottom: 2rem;
}

/* archive */
.category ul {
  margin-bottom: 2rem;
}

.item_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

@media screen and (min-width: 600px) {
  .item_list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.item_list .item_name {
  font-size: 1rem;
  display: block;
  text-align: center;
  text-wrap: balance;
  font-feature-settings: "palt";
}

.item_list a {
  text-decoration: none;
}

.item_list .wp-block-gallery-is-layout-flex {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.item_list .wp-block-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
}

/* common */

button[type=submit], button[type=button] {
  display: block;
  border: none;
  border-radius: 8px;
  padding: 8px 1rem;
  background: #f15a24;
  color: white;
  font-size: 1.2rem;
  margin: 1rem auto;
}

button[type=button] {
  background: gray;
}

.overlay_menu {
  height: 100dvh;
  position: fixed;
  right: 0;
  top: 0;
  width: 85%;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overscroll-behavior: contain;
  overflow-y: scroll;
}

.overlay_menu .content .close_button {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 50px;
  height: 30px;
}

.overlay_menu .content .nav {
  position: absolute;
  top: 8rem;
  width: 100%;
}

.overlay_menu .content h3 {
  margin-bottom: 1rem;
}

.overlay_menu .global_nav {
  padding: 0;
  margin-bottom: 4rem;
  position: relative;
}

.overlay_menu .category_nav, .overlay_menu .social_media, .overlay_menu .ask {
  margin-bottom: 4rem;
  position: relative;
  padding: 1rem;
}

.overlay_menu .content .category_nav ul {
  width: 100%;
  display: flex;
  gap: 0.5rem;
}

.overlay_menu .content .social_media ul {
  display: flex;
  gap: 1.5rem;
}

.overlay_menu .social_media img {
  filter: invert();
}

.overlay_menu .content .global_nav li {
  border-top: 1px #4d4d4d solid;
  /* color: #400040; */
  margin: 0px;
}

.overlay_menu .content .global_nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlay_menu .content .global_nav li:last-child {
  border-bottom: 1px #4d4d4d solid;
}

.overlay_menu .global_nav a {
  padding: 1rem;
  display: block;
  text-decoration: none;
}

.overlay_menu .ask a {
  display: flex;
  background: #f15a24;
  padding: 8px;
  width: 13rem;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  gap: 10px;
  color: white;
}

/* index */
.index p {
  line-height: 1.6;
  text-align: justify;
}

.index .wp-block-heading {
  margin: 2rem 0 0.5rem;
}

.index img {
  flex: 0 0 130px;
}

.index img {
  display: block;
  width: 30%;
  height: 100%;
}

.index .wp-block-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.index .wp-block-latest-posts li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.index ul {
  font-size: 0.8rem;
}

.index ul li {
  padding: 6px 0;
  display: block;
  line-height: 1.4;
  font-feature-settings: "palt";
}

.index .wp-block-categories-list {
  /* margin-bottom: 2rem; */
  display: flex;
  gap: 0 0.5rem;
  flex-wrap: wrap;
}

.index .top_image, .empty_bag img {
  flex: 0 0 130px;
  width: 30%;
  height: 100%;
  display: block;
}

@media screen and (min-width:600px) {
  .index .top_image, .empty_bag img {
    flex: 0 0 200px;
  }
}

/* bag */
.empty_bag {
  display: flex;
}

.empty_bag p {
  line-height: 1.6;
}
.empty_bag img {
  display: block;
  width: 30%;
  height: 100%;
}

.child_scroll {
  overflow: hidden;
  overflow-x: scroll;
}

table.checkout {
  margin-bottom: 1rem;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

.checkout td, .checkout th {
  padding: 8px;
}

.checkout tr:last-child {
  border-top: white 1px solid;
}

.checkout th {
  border-bottom: white 1px solid;
}

.checkout_progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.checkout_progress a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  text-decoration: none;
  border-radius: 0 ;
}

.checkout_progress a span {
  display: block;
}

.pay_information {
  justify-content: start;
  gap: 8px;
}

.pay_information > * {
  gap: 2px;
}

input[type=radio] {
  transform: scale(1.5);
}

.destination {
  line-height: 1.6;
  margin-bottom: 2rem;
}

.destination input[type=text], .destination textarea, .destination input[type=tel], .destination input[type=email] {
  width: 100%;
  font-size: 16px;
  padding: 8px;
}

.destination textarea {
  height: 4rem;
}

.destination label {
  white-space: nowrap;
  flex: 0 0 85px;
}

.destination form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.destination p.caution {
  font-size: 0.8rem;
  text-align: justify;
}

/* page */
.page h2, .category h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  font-feature-settings: "palt";
  color: black;
}

.page h3 {
  font-size: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: rgb(148, 136, 146) 1px solid;
  margin: 2.5rem auto 1rem;
  font-feature-settings: "palt";
  color: black;
}

.page p {
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
  font-feature-settings: "half";
}

.page p:last-child {
  margin-bottom: 2rem;
}

.page table {
  width: 100%;
}

.page table tr {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

@media screen and (min-width:600px) {
  .page table tr {
    flex-direction: row;
    border-bottom: 1px rgb(148, 136, 146) solid;
    padding-bottom: 1.5rem;
  }
  .page table tr:last-child {
    border: none;
  }
}

.page table th, .page table td {
  display: block;
  text-align: left;
  line-height: 1.6;
  padding: 4px;
  border: none;
}

@media screen and (min-width:600px) {
  .page table th {
    flex: 0 0 200px;
  }

  .page table td {
    width: 100%;
  }
}

.page table th {
  border-bottom: rgb(148, 136, 146) 1px solid;
}

@media screen and (min-width:600px) {
  .page table th {
    border-bottom: none;
  }
}

.page table td {
  margin-left: 2rem;
}
