@charset "UTF-8";

/*====================================================
**projects
====================================================*/
/* 会員ページ
------------------------------------- */
.member-main{
  background: #f7f7f7;
}
/* 予約履歴
------------------------------------- */
ul.order-history li{
  border-bottom:1px solid #ccc;
  padding:var(--sm) 0;
  margin:var(--sm) 0;
}
ul.order-history .basic{
  background: #f7f7f7;
  padding: var(--sm);
  height: 100%;
}
ul.order-history .item{
  border-bottom:1px dotted #ccc;
  padding:var(--sm) 0;
  margin:var(--sm) 0;
}
ul.order-history .item:first-child{
  padding-top:0;
  margin-top:0;
}
ul.order-history .item:last-child{
  padding-bottom:0;
  margin-bottom:0;
  border:none;
}
/* 出店プラン
------------------------------------- */
td.light{
  text-align:center;
  border-bottom: none;
  border-bottom: var(--bd-width) solid var(--bd-color);
  background:#fff;
  color:#666;
}
td.standard{
  text-align:center;
  border-bottom: none;
  background:var(--main-color)!important;
  color:white;
}

td.premium{
  text-align:center;
  border-bottom: none;
  color: white;
  background: #ddc700!important;
}

/*詳細ページのスタイル
---------------------------------------*/
.item-contents-wrap{
  padding-left: var(--md);
}
.item-contents-wrap .title{
  line-height: 1.8;
}
.item-contents-wrap h3{
  color:var(--main-color);
  font-size: calc(var(--fs-sm) * 1.2);
}
.item-contents-wrap .item-price{
  font-size: var(--fs-md);
  font-weight: bold;
  padding: var(--sm);
  border-radius: var(--radius);
}
@media only screen and (max-width: 992px){
  .item-contents-wrap{
    padding-left: 0;
  } 
}

/*購入ページのスタイル
---------------------------------------*/
.purchase-currency {
  padding: 0;
  border: none;
}

.purchase-currency label {
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    max-width: 350px;
    margin-bottom: .4em;
    padding: .5em .7em;
    border: 1px solid var(--bd-color);
    border-radius: 3px;
    background-color: var(--bg-sub1-color);
    cursor: pointer;
}

.purchase-currency label:has(:checked) {
    background-color: var(--main-color);
    color: #fff;
}

.purchase-currency label::before,
.purchase-currency label:has(:checked)::after {
    border-radius: 50%;
    content: '';
}

.purchase-currency label::before {
    width: 14px;
    height: 14px;
    background-color: #fff;
}

.purchase-currency label:has(:checked)::after {
    position: absolute;
    top: 50%;
    left: calc(7px + .7em);
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background-color: var(--main-color);
}

.purchase-currency input {
    display: none;
}

/*loginページのスタイル
---------------------------------------*/
.form-signin {
  width: 100%;
  max-width: 380px;
  padding: 15px;
  margin: auto;
  padding-top:5vh;
  padding-bottom:5vh;
}

/*item-listのスタイル
---------------------------------------*/
.item-list{
  position: relative;
}
.item-list.row {
  --bs-gutter-x: 1rem;
}
.lottery-list:hover > .favorite-wrap,
.item-list:hover > .favorite-wrap{
  visibility: visible;
}
.favorite-wrap{
  position: absolute;
  left:0;
  top:50%;
  width:100%;
  height:100px;
  margin-top:-50px;
  z-index: 100;
  visibility:hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(255,255,255,0.7);
}
.favorite_btn{
  cursor: pointer;
}
.badge.favorite_btn{
  color:#999;
  border:1px solid #ccc;
}
.badge.favorite-active{
  color: var(--accent2-color);
  border-color: var(--accent2-color);
  background-color: #fff;
}
.favorite_btn.active,
.favorite_btn:hover{
  color:var(--main-color)!important;
  border-color:var(--main-color)!important;
}
.favorite_btn i{
  pointer-events: none;
}
.favorite-count{
  color: #999;
  display: flex;
  align-items: center;
  justify-content:flex-end;
}
.favorite-count.favorite-active{
  color: var(--accent2-color);
}
.item-card{
  height: 100%;
  background-color: var(--bg-sub1-color);
  border-radius: var(--radius);
}
.item-card .item-main{
  padding:var(--sm);
}
.item-card .item-title{
  font-size:1.2rem;
}
.item-card .catchphrase{
  height:3em;
}
@media screen and (max-width: 567px) {
  .item-card .catchphrase{
    font-size: var(--fs-xs);
  }
}

/*cart-item-listのスタイル
---------------------------------------*/
ul.cart-item-list li{
  --img-width:120px;
  display: flex;
  padding:var(--sm) 0;
  border-bottom:1px solid #eee;
}
ul.cart-item-list li:first-child{
  border-top:1px solid #eee;
}
ul.cart-item-list .item-img{

}
ul.cart-item-list .item-detail{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 var(--sm);
}
.item-detail .wrap{
  width:100%;
}
.item-detail .item-name,
.item-detail .privilege,
.item-detail .num,
.item-detail .expiration{
  width: 100%;
  font-weight:normal;
}
.trash{
  display: inline-block;
  /*
  border-left: 1px solid #eee;
  padding:0 var(--xs);
  */
  cursor: pointer;
}
.trash i{
  pointer-events: none;
}
/* square スタイル*/
#card-container {
  margin-top: 15px!important;
  min-height: 60px;
}

/*purchaseページのスタイル
---------------------------------------*/
.purchase-main-wrap{
  position:relative;
  min-height: 350px;
}
.price-wrap{
  position:absolute;
  top:0;
  right:0;
}
.price-detail{
  display: flex;
  flex-wrap: wrap;
}
.price-detail dt{
  width:60%;
}
.price-detail dd{
  text-align: right;
  width:40%;
}
.price-detail.total-price{
  margin-top:var(--xs);
  padding-top:var(--xs);
  border-top:1px solid  #666;
}
.price-detail.total-price dt,
.price-detail.total-price dd{
  font-weight: bold;
  font-size: var(--fs-md);
  color:var(--main-color);
}
.noshi-img{
  position: relative;
}
.noshi-label,.noshi-name{
  position: absolute;
  left:0;
  display: flex;
  align-items: center;
  width:100%;
}
.noshi-label{
  top:15%;
  font-size: var(--fs-md);
  letter-spacing: 0.2em;
}
.noshi-name{
  top:60%;
}
.noshi-font{
  font-weight: bold;
  writing-mode: vertical-rl;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}
@media only screen and (max-width: 1200px){
  .price-wrap{
    position:static;
  }
}

/* 料金詳細 のスタイル
----------------------------------------------------------- */
.price-wrapper {
  background: #eee;
  padding: var(--sm);
  color: #000;
}

table.price-subtotal,
table.price-detail {
  width: 100%;
}

table.price-subtotal th,
table.price-detail th {
  padding: var(--sm);
  text-align: left;
  width: 75%;
}

table.price-detail th {
  font-weight: normal;
}

table.price-subtotal td,
table.price-detail td {
  text-align: right;
  width: 25%;
}

table.price-subtotal {
  margin-top: var(--md);
}

table.price-subtotal th,
table.price-subtotal td {
  font-size: var(--fs-md);
  border-bottom: 1px solid var(--font-color);
}

.price-total-wrap {
  padding: var(--md) var(--sm);
}

.price-total {
  color: var(--caution-color);
  font-weight: bold;
  font-size: var(--fs-lg);
}

/* アイテムカート のスタイル
----------------------------------------------------------- */
.item-detail .price {
  font-size: var(--fs-md);
  font-weight: bold;
}

.item-detail .num {
  display: inline;
  line-height: 1.3;
  padding: 3px var(--sm);
  border-radius: 3px;
  font-size: var(--fs-sm);
  background: #eee;
  border: 1px solid #ccc;
}

/************************************************
 * FAQ
 ************************************************/
 .faq-contents details {
  --decoration-sub-color: var(--accent1-color);
}

.faq-contents details {
  padding: var(--md) var(--sm);
  border-top: var(--bd-width) solid var(--bd-color);
}

.faq-contents details:last-child {
  border-bottom: var(--bd-width) solid var(--bd-color);
}

.faq-contents summary {
  position: relative;
  list-style: none;
  display: block;
  padding-left: var(--xl);
  padding-right: var(--md);
  font-weight: bold;
  font-size: 1.3rem;
}

.faq-contents summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコンを消します */
  display: none;
}

.faq-contents summary::before {
  content: "Q.";
  width: var(--fs-lg);
  height: var(--fs-lg);
  position: absolute;
  top: 50%;
  left: 0;
  color: var(--main-color);
  font-weight: bold;
  font-size: var(--fs-lg);
  margin-top: -0.5em;
  line-height: 1;
}

.faq-contents details summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  content: '+';
  /* 閉じているときのアイコン */
  color: var(--main-color);
  display: inline-block;
  font-size: 1.5rem;
  margin-top: -0.5em;
  line-height: 1;
}

.faq-contents details[open] summary::after {
  content: '-';
  /* 開いているときのアイコン */
  font-size: var(--fs-lg);
  right: 8px;
  margin-top: -0.6em
}

.faq-contents .answer {
  --font-color: var(--font-color);
  position: relative;
  padding: var(--md) var(--md) var(--md) var(--xl);
}

.faq-contents .answer::before {
  content: "A.";
  width: var(--fs-lg);
  height: var(--fs-lg);
  position: absolute;
  left: 0;
  color: var(--decoration-sub-color);
  font-weight: bold;
  font-size: var(--fs-lg);
}
/************************************************
 * FLOW STEP
 ************************************************/
.flow-section {
  max-width: 700px;
  margin: var(--md) auto;
  padding: var(--sm);
}

.step {
  position: relative;
  background: white;
  padding: 30px 20px 20px 60px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--main-color);
}

.step-number {
  position: absolute;
  left: 17px;
  top: 26px;
  width: 30px;
  height: 30px;
  background: var(--main-color);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: var(--sm);
}

.step-desc {
  color: #555;
  font-size: 0.95rem;
}

@media (max-width: 500px) {
  .step {
    padding-left: 50px;
  }

  .step-number {
    left: 10px;
  }

  .step::before {
    left: 25px;
  }
}