@charset "utf-8";

/*--------------------------------
 .enjoy
---------------------------------*/

#generic_template .enjoy{
  background: #fff;
  padding: 20px 20px 40px;
  border-radius: 15px;
}

/*
 .enjoy__title
---------------------------------*/

#generic_template .enjoy__title{
  text-align: center;
  font-weight: bold;
}
#generic_template .enjoy__title.wbr{
  /* wbr */
  word-break: keep-all;
  overflow-wrap: break-word;
}
#generic_template #contents-area .enjoy__title__figure{
  max-width: 400px;
  margin: 30px auto 0;
}
#generic_template .enjoy__title__figure img{
  width: 100%;
  height: auto;
}
#generic_template .enjoy__title__sub{
  font-size: 16px;
  margin: 20px 0 0 0;
}
#generic_template #contents-area .enjoy__title__main{
  font-size: 22px;
  color: #d30028;
  margin: 10px 0 0 0;
}

#generic_template .enjoy__title.type-b{
    margin: 40px auto 0;
    max-width: 700px;
}
#generic_template #contents-area .enjoy__title.type-b .enjoy__title__main{
    color: #000;
    border-bottom: 1px solid #c4c4c4;
    padding: 0 0 20px 0;
    font-size: 27px;
}
#generic_template .enjoy__title.type-b .enjoy__title__sub{
    color: #d30028;
    font-size: 18px;
}

/*
 .enjoy__info-area
---------------------------------*/

#generic_template .enjoy__info-area{
    margin: 30px auto 0;
    max-width: 700px;
    line-height: 1.8;
}
/*#generic_template .enjoy__info-area > p{*/
#generic_template .enjoy__info-area p + p {
    margin-top: 1em;
}
#generic_template .enjoy__info-area > p strong{
    color: #c10;
}

/*
 .enjoy__goods-list
---------------------------------*/

#generic_template .enjoy__goods-list{
    margin: 20px auto 0;
    max-width: 700px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#generic_template .enjoy__goods-list__item{
    flex: 0 1 47%;
    margin: 40px 0 0 0;
    line-height: 1.7;
}
#generic_template .enjoy__goods-list__item:only-child{
    flex: 1;
}
#generic_template .enjoy__goods-list__item__text {
    /* 中央寄せテキスト */
    margin-inline: auto;
    max-inline-size: max-content;
}
#generic_template .enjoy__goods-list__item p{
    margin: 15px 0 0 0;
    font-size: 16px;
}
#generic_template .enjoy__goods-list__item p.caption {
    font-size: 12px;
}
#generic_template .enjoy__goods-list__item__title{
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #c4c4c4;
    padding: 0 0 15px 0;
}
#generic_template .enjoy__goods-list__item__sub-title{
    margin: 15px 0 0 0;
    font-size: 14px;
}
#generic_template .enjoy__goods-list__item__figure{
    margin: 20px 0 0 0;
}
#generic_template .enjoy__goods-list__item__figure img{
    width: 100%;
    height: auto;
}

/*
 .enjoy__terms
---------------------------------*/

#generic_template .enjoy__terms{
    max-width: 700px;
    max-height: 400px;
    margin: 40px auto 0;
    background: #f3f3f3;
    overflow-y: scroll;
}
#generic_template .enjoy__terms p{
    font-size: 14px;
    line-height: 1.7;
    margin: 1em 0 0 0;
}
#generic_template .enjoy__terms__inner{
    padding: 30px 5%;
}
#generic_template .enjoy__terms__title-h1{
    font-size: 17px;
    font-weight: bold;
    text-align: center;
}
#generic_template .enjoy__terms__title-h2{
    font-size: 15px;
    font-weight: bold;
    margin: 30px 0 0 0;
}
#generic_template .enjoy__terms__btn{
    text-align: center;
    margin: 40px 0 0 0;
}
#generic_template .enjoy__terms__btn a{
    background: #e71212;
    color: #fff;
    font-weight: bold;
    padding: 0.7em 0.5em;
    border-radius: 5px;
    transition: opacity 0.3s;
    margin: 20px auto 0;
    display: block;
    max-width: 320px;
}

/*
 .enjoy__closing
---------------------------------*/

#generic_template .enjoy__closing{
  text-align: center;
  margin: 30px 0 0 0;
}
#generic_template .enjoy__closing__title{
  font-size: 20px;
  font-weight: bold;
}
#generic_template .enjoy__closing__box{
  border: 1px solid #000;
  border-radius: 5px;
  padding: 20px 15px;
  line-height: 2;
  margin: 10px 0 0 0;
}

/*
 .enjoy__process
---------------------------------*/

#generic_template .enjoy__process{
  margin: 30px 0 0 0;
}
#generic_template .enjoy__process__title{
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
#generic_template .enjoy__process__list{
  display: flex;
  justify-content: space-between;
}
#generic_template .enjoy__process__list__item{
  flex: 0 1 29%;
  text-align: center;
  margin: 15px 0 0 0;
  position: relative;
}
#generic_template .enjoy__process__list__item:after{
  content: "";
  position: absolute;
  top: 50%;
  right: -40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 15px;
  border-color: transparent transparent transparent #e71212;
  transform: translateY(-50%);
}
#generic_template .enjoy__process__list__item:last-child:after{
  content: none;
}
#generic_template .enjoy__process__list__item span{
  display: block;
}
#generic_template .enjoy__process__list__item__title{
  font-weight: bold;
  font-size: 18px;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #000;
}
#generic_template .enjoy__process__list__item__text{
  margin: 15px 0 0 0;
  line-height: 1.8;
}
#generic_template .enjoy__process__list__item__small{
  font-size: 14px;
  margin: 10px 0 0 0;
}

/*
 .enjoy__btn
---------------------------------*/

#generic_template #contents-area .enjoy__btn{
  text-align: center;
  margin: 30px 0 0 0;
}
#generic_template #contents-area .enjoy__btn a{
  display: inline-block;
  background: #e71212;
  color: #fff;
  font-weight: bold;
  padding: 0.7em 2em;
  border-radius: 5px;
  transition: opacity 0.3s;
}
#generic_template #contents-area .enjoy__btn a:hover{
  opacity: 0.6;
}
#generic_template #contents-area .enjoy__btn a br{
  display: none;
}

#generic_template #contents-area form{
    text-align: center;
    margin: 40px 0 0 0;
}
/* 送信ボタン */
#generic_template #contents-area .submit-btn {
  /* buttonタグのリセットCSS */
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;

  /* ボタン有効時のスタイル */
  background: #e71212;
  color: #fff;
  font-weight: bold;
  padding: 0.7em 2em;
  border-radius: 5px;
  transition: opacity 0.3s;
  margin: 20px 0 0 0;
  cursor: pointer; /* ポインターカーソルを表示 */
}
#generic_template #contents-area .submit-btn:not([disabled]):hover{
  opacity: 0.6;
}

/* ボタン無効時のスタイル */
#generic_template #contents-area .submit-btn[disabled] {
  background-color: #ccc;
  cursor: not-allowed; /* クリック不可のカーソルを表示 */
}

/*
 .enjoy__text
---------------------------------*/

#generic_template .enjoy__text{
  max-width: 700px;
  margin: 30px auto 0;
}

/*
 .enjoy__requires
---------------------------------*/

#generic_template .enjoy__requires{
  max-width: 600px;
  margin: 30px auto 0;
}
#generic_template .enjoy__requires__title{
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
#generic_template #contents-area .enjoy__requires__box{
  margin: 10px 0 0 0;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  padding: 15px 0;
}
#generic_template #contents-area .enjoy__requires__box table th,
#generic_template #contents-area .enjoy__requires__box table td{
  padding: 0.6em;
}
#generic_template #contents-area .enjoy__requires__box table th{
  width: 20%;
}

#generic_template .enjoy__requires__box dl {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  padding: 10px;
}
#generic_template .enjoy__requires__box dl div {
  display: flex;
}
#generic_template .enjoy__requires__box dt {
  width: 18%;
  min-width: max-content;
}
#generic_template .enjoy__requires__box dd {
  width: 82%;
  padding-left: 10px;
}

#generic_template .enjoy__requires .enjoy__requires__txt {
  line-height: 1.6;
  /* 中央寄せテキスト */
  text-align: start;
  margin-inline: auto;
  max-inline-size: max-content;
}

/*
 .enjoy__thank
---------------------------------*/

#generic_template .enjoy__thank{
  margin: 30px auto 0;
}
#generic_template #contents-area .enjoy__thank__main{
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 1.8;
}
#generic_template #contents-area .enjoy__thank__text{
  text-align: center;
  margin: 30px 0 0 0;
  line-height: 1.7;
}
#generic_template #contents-area .enjoy__thank__text a{
  color: #e71212;
  text-decoration: underline;
  transition: opacity 0.3s;
}
#generic_template #contents-area .enjoy__thank__text a:hover{
  opacity: 0.6;
}

/*
 #generic_template .template
---------------------------------*/
#generic_template .template {
  background: #fff;
  border-radius: 15px;
  padding: 0 20px 40px 20px;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 7vw, 40px);
}

#generic_template .template > div {
  margin-top: 0 !important; /* gapで対応 */
}

#generic_template .template > div:not(.hero):first-child {
  padding-top: 40px; /* heroがない時 */
}

/*
 .enjoy__img
---------------------------------*/
#generic_template .enjoy__img picture img {
  width: auto; /*切替に必要*/
}

#generic_template .enjoy__img.hero {
  width: calc(100% + 40px);
  margin: 0 -20px;
}

#generic_template .enjoy__img.hero img {
  border-radius: 15px 15px 0 0;
  width: 100%;
}

#generic_template .enjoy__img:not(.hero) {
  max-width: 700px;
  margin: auto;
}

/*
 .btn_wrap for template
---------------------------------*/
#generic_template #contents .btn_wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: auto; /* カラム幅を揃える*/
}

@media screen and (max-width: 768px) {
  #generic_template #contents .btn_wrap {
    margin: unset;
  }
}

#generic_template #contents .btn_wrap .btn {
  max-width: 400px;
  color: #fff;
  font-weight: bold;
  margin: auto;
  padding: 0 clamp(10px, 4vw, 30px);
}

@media (hover: hover) {
  #generic_template .btn:hover {
    opacity: .8;
  }
}

#generic_template .btn_red {
  background: #ff0000;
}

#generic_template .btn_blue {
  background: #002060;
}

/*
 .ticket for template
---------------------------------*/
#generic_template .ticket {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
}

#generic_template .ticket__list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

#generic_template .ticket__list li {
  width: calc((100% - 20px) / 2);
  border-radius: 4px;
  display: flex;
}

#generic_template .ticket__list li.purchase{
  background-color: #fafafa;
  border: 1px solid #ccc;
}

#generic_template .ticket__list li.invite {
  color: #fff;
  background-image: linear-gradient(150deg, rgba(240, 131, 0, 1) 30%, rgba(200, 22, 29, 1) 80%);
  border: 1px solid #eee;
}

#generic_template .ticket__list .item__left {
/*  width: 80%;*/
  width: 95%;
  padding: 10px 8px 10px 10px;
  background-size: 1px 10px;
  background-position: right top;
  background-repeat: repeat-y;
}

#generic_template .ticket__list .purchase .item__left {
  background-image :
  linear-gradient(to bottom, #ccc, #ccc 5px, transparent 3px, transparent 8px);
}

#generic_template .ticket__list .invite .item__left {
  background-image :
  linear-gradient(to bottom, #ffabab, #ffabab 5px, transparent 3px, transparent 8px);
}

#generic_template .ticket__list .item__heading {
  font-size: 20px;
  font-weight: bold;
}

#generic_template .ticket__list .purchase .item__heading {
  border-bottom: 2px solid #dd1433;
}

#generic_template .ticket__list .invite .item__heading {
  border-bottom: 2px solid #fff;
}

#generic_template .ticket__list .number {
  font-size: 41px;
  letter-spacing: 0.1rem;
  font-weight: bold;
  word-break: break-all;
}

#generic_template .ticket__list .item__sheets {
  text-align: right;
}

#generic_template .ticket__list .purchase .item__sheets {
  border-bottom: 2px solid #ffc330;
}

#generic_template .ticket__list .invite .item__sheets {
  border-bottom: 2px solid #fff;
}

#generic_template .ticket__list .item__sheets .number {
  padding: 0 5px;
}

#generic_template .ticket__list .item__order {
  text-align: center;
}
/*
#generic_template .ticket__list .item__order .number {
  color: #dd1433;
}
*/

@media screen and (max-width: 768px) {
  #generic_template .ticket {
    font-size: 16px;
    line-height: 1.6;
  }

  #generic_template .ticket__list li {
    width:100%;
  }

  #generic_template .ticket__list .item__heading {
    font-size: 18px;
  }

  #generic_template .ticket__list .number {
    font-size: 40px;
  }
}


/*--------------------------------
 media Queries 768
---------------------------------*/

@media screen and (max-width: 768px) {
  
  #generic_template #contents-area .enjoy__title__main {
    font-size: 19.5px;
  }
  #generic_template .enjoy__closing__box {
    font-size: 15px;
  }
  #generic_template .enjoy__process__list{
    flex-wrap: wrap;
  }
  #generic_template .enjoy__process__list__item {
    flex: 0 1 100%;
    margin: 15px 0 25px 0;
  }
  #generic_template .enjoy__process__list__item:after {
    top: auto;
    right: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 15px;
    border-color: #e71212 transparent transparent transparent;
    transform: translate(-50%,0);
    left: 50%;
    bottom: -30px;
  }
  #generic_template #contents-area .enjoy__btn a br {
    display: block;
  }
  
  #generic_template #contents-area .enjoy__requires__box table th {
    width: 28%;
  }
}

