/** 
  カラー共通変数 
**/
:root {
  --color-black: #333;
  --color-green: #009953;
  --color-blue: #208be9;
  --color-red: #ff0000;
  --color-orange: #f15e1f;
}

/* ===============================
共通スタイル
=============================== */
.p-address-list-wrapper {
  margin: 0;
}

.p-address-list__heading {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #444444;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #eeeeee 50%, #eeeeee 100%);
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 4px solid #ccc;
  border-right: 4px solid #ccc;
}

/* ===============================
ネストで既存上書き
=============================== */
.p-address-filter-dialog img,
.p-address-list img,
.p-address-list-other-items img,
.p-address-list-materials-and-sizes img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* ===============================
コンテンツヘッダー
=============================== */
.p-address-contents-header {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  border-bottom: 1px solid var(--color-black);
}

.p-address-contents-header__heading {
  position: relative;
  margin: 0;
  padding: 16px 28px 6px;
}

.p-address-contents-header__heading::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 28px;
  width: 501px;
  height: 1px;
  background-color: #999;
}

.p-address-contents-header__title {
  margin: 0;
  font-size: 24px;
  font-weight: 300;
}

.p-address-contents-header__body {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px 28px;
}

.p-address-contents-header__body-summary {
}

.p-address-contents-header__dl {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.p-address-contents-header__dl + .p-address-contents-header__dl {
  margin: 20px 0 0;
}

.p-address-contents-header__label {
  margin: 0;
  display: block;
  font-size: 16px;
  font-weight: 700;
  width: 140px;
}

.p-address-contents-header__value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.p-address-contents-header__value--price {
  color: #d93a38;
}

.p-address-contents-header__value-small {
  font-size: 16px;
}

.p-address-contents-header__value--shipping {
  font-size: 24px;
  color: var(--color-green);
  line-height: 1;
}

.p-address-contents-header
  .m-goods-tag__item.m-delivery-icon.m-delivery-icon__1 {
  margin: 8px 0 0;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: #208be9 !important;
  background-color: #ebf7ff !important;
  padding: 6px 8px;
}

.p-address-contents-header__note {
  margin: 8px 0 0;
  font-size: 10px;
}

.p-address-contents-header__lead {
  margin: 16px 0 0;
  font-size: 12px;
  width: 418px;
}

/* ===============================
絞り込みUI
=============================== */
/* 絞り込んで探す */
.p-address-list-nav {
  padding: 24px 0;
}

.p-address-material-nav {
  margin: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.p-address-material-nav__btn {
  all: unset;
  cursor: pointer;
  border: 1px solid #333;
  border-radius: 8px;
  width: calc(100% / 3);
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-address-material-nav__btn-inner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.p-address-material-nav__btn-img--all {
  width: 100px;
  height: auto;
}

.p-address-material-nav__btn-img--wood {
  width: 80px;
  height: auto;
}

.p-address-material-nav__btn-img--acrylic {
  width: 72px;
  height: auto;
}

.p-address-filter-nav__btn {
  color: var(--color-black);
}

.p-address-filter-nav__btn:hover {
  box-shadow: inset 0 0 0 3px var(--color-green);
  border: 1px solid var(--color-green);
  transition: box-shadow 0.4s;
}

.p-address-material-nav__btn-text {
  font-size: 24px;
  font-weight: 700;
  padding: 0 0 0 28px;
  position: relative;
}

.p-address-filter-nav__btn.is-active {
  color: var(--color-green);
}

.p-address-material-nav__btn-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 48%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #333;
}

.p-address-filter-nav__btn.is-active::before {
  border: 1px solid var(--color-green);
}

.p-address-material-nav__btn-text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 48%;
  transform: translate(25%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #333;
}

.p-address-filter-nav__btn.is-active .p-address-material-nav__btn-text::before {
  border: 1px solid var(--color-green);
}

.p-address-filter-nav__btn.is-active .p-address-material-nav__btn-text::after {
  background-color: var(--color-green);
  border: 1px solid var(--color-green);
}

.p-address-filter-nav__btn.is-active {
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 3px var(--color-green);
  background-color: #e7fbeb;
}

.p-address-filter-nav__btn.is-not-hit:not(.is-active) {
  background-color: #ccc;
  border: 1px solid #ccc;
  pointer-events: none;
  cursor: not-allowed;
}

.p-address-filter-nav__btn.is-not-hit:not(.is-active):hover {
  background-color: #ccc;
  border-color: #ccc;
}

.p-address-filter-nav__btn.is-active.is-not-hit {
  border: 2px solid #222;
  cursor: pointer;
}

.p-address-filter-nav__advanced-open {
  all: unset;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background-color: var(--color-green);
  border-radius: 8px;
  width: 100%;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.p-address-filter-btn-arrow {
  width: 24px;
  height: 24px;
  position: relative;
}

.p-address-filter-btn-arrow::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%) rotate(45deg);
}

/* さらに絞り込む */
.p-address-filter-dialog {
  max-width: unset;
  width: min(90vw, 758px);
  margin: auto;
  padding: 0;
  border: 2px solid #333;
  border-radius: 16px;
  opacity: 0;
  overflow: visible;
  transition: opacity 0.3s;
}

.p-address-filter-dialog.is-open {
  opacity: 1;
}

.p-address-filter-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s;
}

.p-address-filter-dialog.is-open::backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}

.p-address-filter-dialog__inner {
  position: relative;
  padding: 0 5px;
}

.p-address-filter-dialog__close {
  position: absolute;
  top: -32px;
  right: 16px;
  padding: 0;
  border: none;
  background: transparent;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.p-address-filter-dialog__heading {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.p-address-filter-dialog__body {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 0;
}

.p-address-filter-dialog__scroll-box {
  overflow-y: auto;
  max-height: 75vh;
  padding: 0 11px;
  scrollbar-color: #999 transparent;
  scrollbar-width: thin;

  &::-webkit-scrollbar {
    width: 8px;
  }

  &::-webkit-scrollbar-track {
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 4px;
  }
}

.p-address-filter-dialog__options {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-black);
}

.p-address-filter-dialog__item {
  margin: 16px 0 0;
}

.p-address-filter-dialog__item--size,
.p-address-filter-dialog__item--content {
  grid-column: 1 / 3;
}

.p-address-filter-dialog__item-name {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.p-address-filter-dialog__item-btns {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
}

.p-address-filter-dialog__item-btn {
  all: unset;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 16px;
  border: 1px solid var(--color-black);
  border-radius: 8px;
  cursor: pointer;
}

.p-address-filter-dialog__item-btn--size {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  width: calc(100% / 3 - 45px);
}

.p-address-filter-btn-size__image {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  height: 47px;
}

.p-address-filter-btn-size__img {
  max-width: 63px;
}

.p-address-filter-btn-size__img--large {
  max-width: 74px;
}

.p-address-filter-btn-size__details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 7px;
}

.p-address-filter-btn-size__label {
  display: inline-block;
  padding: 4px 16px;
  font-size: 12px;
  color: #bc9239;
  background-color: #fffdeb;
  border-radius: 10px;
}

.p-address-filter-btn-size__lead {
  margin: 0;
  font-size: 14px;
}

.p-address-filter-btn-size__sup {
  font-size: 12px;
  font-weight: 400;
}

.p-address-filter-dialog__actions {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}

.p-address-filter-dialog__submit-btn {
  all: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background-color: var(--color-green);
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
}

.p-address-filter-dialog__submit-btn:disabled {
  color: var(--color-black);
  background-color: #ccc;
}

.p-address-filter-dialog__submit-btn small {
  font-size: 16px;
}

.p-address-filter-dialog__reset-btn {
  all: unset;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green);
  text-align: center;
  background-color: #fff;
  border: 2px solid var(--color-green);
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
}

/* ===============================
住所印 商品一覧
=============================== */
.p-address-list {
  padding: 24px 0;
}

.p-address-list__conditions-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 30px;
  padding: 8px 0 0;
}

.p-address-list__filter-condition {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.p-address-list__filter-condition-title {
  font-size: 12px;
  flex-shrink: 0;
}

.p-address-list__filter-condition-label-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5px 10px;
}

.p-address-list__filter-condition-label {
  font-size: 12px;
  color: var(--color-black);
  line-height: 1.4;
  background-color: #e7e7e7;
  padding: 2px 4px;
  border-radius: 4px;
}

.p-address-list__sort-condition {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.p-address-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10px;
  row-gap: 0;
  padding: 24px 0 0;
}

.p-address-list__visible-count-inner {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.p-address-list-count {
  margin: 0;
  font-size: 12px;
  color: #7e7e7e;
}

.p-address-list__load-more-wrapper {
  margin: 10px auto 0;
  width: 400px;
}

.p-address-list__load-more {
  all: unset;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background-color: #4a4a4a;
  border-radius: 8px;
  width: 100%;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.p-address-list__load-more-arrow {
  width: 24px;
  height: 24px;
  position: relative;
}

.p-address-list__load-more-arrow::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%) rotate(45deg);
}

/* 商品カード */
.p-address-list__card {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  margin: 0 0 45px;
}

.p-address-list__card[hidden] {
  display: none !important;
}

.p-address-card_link {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  height: 100%;
}

.p-address-card_thumb {
  grid-row: 1;
  position: relative;
  border: 1px solid #333;
}

.p-address-card_badges {
  all: unset;
  grid-row: 2;
  align-content: start;
  margin: 8px 0 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.p-address-card_size {
  grid-row: 3;
  margin: 8px 0 0;
  color: var(--color-black);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.p-address-card_layout-text {
  grid-row: 4;
  align-self: start;
  margin: 4px 0 0;
  color: var(--color-black);
  text-align: center;
  word-break: auto-phrase;
  min-height: calc(1em * 2);
}

.p-address-list__card-footer {
  grid-row: 5;
  align-self: end;
  margin: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.p-address-card_body-dl {
  margin: 0;
}

.p-address-card_thumb-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-black);
  background-color: #ffedd5;
  padding: 3px 6px;
  border-radius: 4px;
}

.p-address-card_thumb-badge--acrylic {
  background-color: #d3d3d3;
}

.p-address-card_badge {
  font-size: 12px;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.p-address-card_badge--delivery {
  background-color: #ebf7ff;
  color: #208be9;
}

.p-address-card_badge--lGomListBadge01,
.p-address-card_badge--lGomListBadge02 {
  background-color: #fcf4e3;
  color: #9b782f;
}

.p-address-card_badge--lGomListBadge03 {
  border: 1px solid #f15e1f;
  color: #f15e1f;
}

.p-address-list__card .m-goods-price {
  align-self: flex-end;
}

.p-address-list__card .m-goods-price__sale-price {
  padding: 8px 0;
}

/* 商品カードのホバー */
.p-address-list__grid a:hover {
  color: inherit;
  text-decoration: none;
}

.p-address-card_link:hover .p-address-card_size {
  text-decoration: underline;
}

.p-address-card_link:hover .p-address-card_layout-text {
  text-decoration: underline;
}

/* 条件に合う商品が見つかりませんでした */
/* 0ヒット表示 */
.p-address-list__empty {
  padding: 0 10px 20px;
  text-align: center;
}

.p-address-list__empty-message {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  line-height: 1.6;
}

.p-address-list__empty-icon {
  width: 48px;
  height: 48px;
}

.p-address-list__empty-lead {
  margin: 32px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.p-address-list__empty-text {
  margin: 24px 0 0;
  font-size: 14px;
}

.p-address-list__empty-reset {
  all: unset;
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 326px;
  height: 48px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green);
  text-align: center;
  background-color: #fff;
  border: 2px solid var(--color-green);
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
}

/* ===============================
その他の住所印
=============================== */
.p-address-list-other-items__item-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 26px 0 32px;
  border-bottom: 1px solid #ccc;
  width: calc((100% / 3) - 16px);
}

.p-address-list-other-items__item-box:nth-of-type(n + 4) {
  border-bottom: none;
}

.p-address-list-other-items__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0 16px;
}

.p-address-list-other-items__img {
  width: 100%;
}

.p-address-list-other-items__description {
  margin: 16px 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.p-address-list-other-items__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  padding: 8px 0 8px 16px;
  background-color: #f5f5f5;
}

.p-address-list-other-items__title--text-submission {
  color: var(--color-green);
  border-left: 4px solid var(--color-green);
}

.p-address-list-other-items__title--data-submission {
  color: var(--color-blue);
  border-left: 4px solid var(--color-blue);
}

.p-address-list-other-items__title--online-submission {
  color: var(--color-orange);
  border-left: 4px solid var(--color-orange);
}

.p-address-list-other-items__title--others {
  color: var(--color-black);
  border-left: 4px solid var(--color-black);
}

.p-address-list-other-items__lead {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  text-wrap: nowrap;
}

.p-address-list-other-items__text {
  margin: 8px 0 18px;
  font-size: 12px;
  line-height: 1.6;
}

.p-address-list-other-items__body {
  margin: auto 0 0;
  width: 100%;
}

/* .p-address-list-other-items__body--others {
  margin: auto 0 0;
} */

.p-address-list-other-items__link-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  height: 48px;
  position: relative;
  border-radius: 8px;
}

.p-address-list-other-items__link-btn:active,
.p-address-list-other-items__link-btn:focus,
.p-address-list-other-items__link-btn:hover,
.p-address-list-other-items__link-btn:visited {
  color: #fff;
}

.p-address-list-other-items__link-btn + .p-address-list-other-items__link-btn {
  margin: 16px 0 0;
}

.p-address-list-other-items__link-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.p-address-list-other-items__link-btn--text-submission {
  background-color: var(--color-green);
}

.p-address-list-other-items__link-btn--data-submission {
  background-color: var(--color-blue);
}

.p-address-list-other-items__link-btn--online-submission {
  background-color: var(--color-orange);
}

.p-address-list-other-items__link-btn--others {
  background-color: var(--color-black);
}

/* ===============================
持ち手（台木）と印面サイズ
=============================== */
.p-address-list-materials-and-sizes {
  margin: 40px 0 0;
  padding: 0 0 26px;
}

.p-address-list-materials-and-sizes__lead {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 300;
}

.p-address-list-materials-and-sizes__title {
  margin: 24px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #124c80;
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid #124c80;
}

.p-address-list-materials-and-sizes__body {
  margin: 18px 0 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.p-address-list-materials-and-sizes__img {
  flex-shrink: 0;
  width: calc(237 / 744 * 100%);
}

.p-address-list-materials-and-sizes__detail {
  padding: 0 14px 10px;
}

.p-address-list-materials-and-sizes__detail-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.p-address-list-materials-and-sizes__price {
  margin: 0 26px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-red);
}

.p-address-list-materials-and-sizes__icons {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 4px;
}

.p-address-list-materials-and-sizes__description {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.p-address-list-materials-and-sizes__spec {
  margin: 12px 0 0;
}

.p-address-list-materials-and-sizes__spec-title {
  margin: 0;
}

.p-address-list-materials-and-sizes__spec-table {
  font-size: 14px;
}

.p-address-list-materials-and-sizes__spec-table th {
  font-weight: 400;
}

/* ===============================
住所印の書体について
=============================== */
.p-address-list-typeface__lead {
  margin: 10px 0;
}
