/* =========================
  modal
========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.modal__title{
    font-size: 1.1rem;
    text-align: center;
    margin-bottom:5px;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal__content {
  position: relative;
  max-width: 430px;
  padding: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  width: 95%;
}

.modal__close {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
@media screen and (max-width: 768px){
    .modal__content {
    position: relative;
    max-width: 330px;
    }
}

/* =========================
  common Button、sub Button
========================= */
.btn-common {
  position: relative;
  padding:  8px 18px 8px 13px;
  text-decoration: none;
  font-size: .8em;
  background: #fff;
  border: 1px solid #8bdef2;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  color:#00a0dc;
  line-height: 1;
}

.btn-common::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid #00a0dc;
  border-right: 1px solid #00a0dc;
  transform: translateY(-50%) rotate(45deg);
}

.btn-sub{
    border: 1px solid #d0f1fc;
    background-color: #d0f1fc;
    text-decoration: none;
}
.btn-main{
    border: 1px solid #dd4646;
    background-color: #dd4646;
    color: #fff;
    text-decoration: none;
}
.btn-main::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}
.btn-area{
    padding-top: 10px;
}

.btn-common--big{
  padding: 8px 23px 8px 18px;
  font-size: .9em;
  border-radius: 25px;
}

/* =========================
  補足説明
========================= */
.si{
    font-size: .8em;
    line-height: 1.3;
    padding: 8px 0 0;
}

/* =========================
  外部リンク
========================= */
.externalLink{
    color: #00a0dc;
    text-decoration: underline;
    font-weight: bold;
    background-image: url("../images/icon_el.svg");
    background-repeat: no-repeat;
    background-size: 15px;
    padding-left: 20px;
    font-size: .9em;
}


/* =========================
  おすすめ商品
========================= */
.recommendItem {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  touch-action: pan-x;
  background-color: #f1f6f8;
  padding: 25px;
  margin: 0 auto 15px;
  border-radius: 10px;
  border:1px solid #e0ebee;
}
@media screen and (max-width: 768px){
  .recommendItem {
     padding: 15px;
  }
}

.recommendItem.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.recommendItem__list {
  display: flex;
  gap: 10px;
   padding-right: 16px; 
}

.recommendItem__card {
  min-width: 150px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: #2f2725;
  transition: background-color 0.2s ease;
}

.recommendItem__card:hover {
  background-color: #e8e8e8;
}

.recommendItem__image {
  width: 100%;
  height: auto;
  margin: 0 auto 8px;
}

.recommendItem__name {
  font-weight: bold;
  margin-bottom: 6px;
  text-align: center;
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 5px;
}

.recommendItem__price {
  font-weight: bold;
  margin-bottom: 2px;
  font-size: .9em;
  color:#c43737;
}

.recommendItem__category {
  display: inline-block; 
  padding: 2px 5px;
  background-color: #e6f0f3;
  color: #727272;
  font-size: .8em;
  border-radius: 5px;
  margin-top: 4px;
  font-weight: bold;
}
.recommendItem::-webkit-scrollbar {
  height: 10px;
}

.recommendItem::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 10px;
}

.recommendItem::-webkit-scrollbar-thumb {
  background-color: #6a93a0;
  border-radius: 10px;
}

.recommendItem__spacer {
  flex: 0 0 16px; 
}

.small{
  font-size: .8em;
  color:#595757;
}

.return--top{
  margin-bottom:20px;
  text-align: right;
}