app/template/default/Item/GoodsSetPurchase/main.twig line 1

Open in your IDE?
  1. <style>
  2.     .btn-v2 {
  3.         position: relative;
  4.         display: block;
  5.         padding: 1.30rem 1.00rem;
  6.         width: min(500px, 500 / 805 * 100vw);
  7.         margin: 1.00rem auto 1.00rem;
  8.         font-size: 2.6rem;
  9.         font-weight: bold;
  10.         border-radius: 0.75rem;
  11.         border: 2px solid transparent;
  12.         box-shadow: 0.15rem 0.2rem 0.1rem 0 rgba(0, 0, 0, 0.4);
  13.         box-sizing: border-box;
  14.     }
  15.     .btn-v2::after {
  16.         color: #333;
  17.         position: absolute;
  18.         content: attr(alt);
  19.         top: 116%;
  20.         left: 0;
  21.         width: 100%;
  22.         text-align: center;
  23.         font-size: 1.00rem;
  24.         font-weight: normal;
  25.     }
  26.     .btn-v2.forward {
  27.         color: white;
  28.         background: rgb(249,131,0);
  29.         background: linear-gradient(180deg, rgba(249,131,0,1) 0%, rgba(235,86,8,1) 50%);
  30.     }
  31.     .btn-v2.forward:hover {
  32.         color: rgba(235,86,8,1);
  33.         background: white;
  34.         border: 2px solid rgba(235,86,8,1);
  35.     }
  36.     .gsp-checkout-guide {
  37.         color: #333;
  38.         font-size: 1.5rem;
  39.         text-align: center;
  40.         line-height: 2.5rem;
  41.         margin: 2rem 0 8rem;
  42.     }
  43.     #cartin-button-guide {
  44.         position: relative;
  45.         background-image: url('https://img0.land-mark.biz/ut_img/public_images/itempage/goods-set-purchase/guidance.png');
  46.         background-size: cover;
  47.         width: min(751px, 751 / 805 * 100vw);
  48.         height: min(301px, 301 / 805 * 100vw);
  49.         margin: 0 auto;
  50.     }
  51.     #cartin-button-guide > button {
  52.         position: absolute;
  53.     }
  54.     #cartin-button-guide > button.guide_next_item {
  55.         left: min(405px, 405 / 805 * 100vw);
  56.         top: min(132px, 132 / 805 * 100vw);
  57.         width: min(202px, 202 / 805 * 100vw);
  58.         height: min(42px, 42 / 805 * 100vw);
  59.     }
  60.     #cartin-button-guide > button.guide_add_to_cart {
  61.         left: min(153px, 153 / 805 * 100vw);
  62.         top: min(197px, 197 / 805 * 100vw);
  63.         width: min(202px, 202 / 805 * 100vw);
  64.         height: min(42px, 42 / 805 * 100vw);
  65.     }
  66.     #label-get-started {
  67.         background-color: #118B0A;
  68.         color: white;
  69.         text-align: center;
  70.         font-size: min(23px, 23 / 805 * 100vw);
  71.         width: min(805px, 805 / 805 * 100vw);
  72.         height: min(50px, 50 / 805 * 100vw);
  73.         line-height: min(50px, 50 / 805 * 100vw);
  74.         margin: min(30px, 30 / 805 * 100vw) 0 min(7px, 7 / 805 * 100vw) 0;
  75.     }
  76.     @media screen and (max-width: 768px) {
  77.         .btn-v2 {
  78.             width: 98%;
  79.         }
  80.     }
  81. </style>
  82. {% include 'Item/NewCartArea/style.twig' with {} only %}
  83. <style>
  84.     .item-info > .item-row {
  85.         display: grid;
  86.         grid-template-columns : 120px auto;
  87.         padding: 0.75rem 1.0rem;
  88.     }
  89.     .item-info > .item-row > .item-col.head {
  90.         font-size: 14px;
  91.     }
  92.     .item-info > .item-row > .item-col,
  93.     .item-info > .item-row > .item-col.price .price-text {
  94.         font-size: 17px;
  95.     }
  96.     .item-info > .item-row > .item-col.price {
  97.         font-size: 23px;
  98.         color: red;
  99.     }
  100.     @media screen and (max-width: 768px) {
  101.         .item-info > .item-row {
  102.             grid-template-columns : 8.25rem 1fr;
  103.             padding: 0;
  104.         }
  105.         .item-info > .item-row > .item-col.head {
  106.             font-size: 1.1rem;
  107.         }
  108.         .item-info > .item-row > .item-col,
  109.         .item-info > .item-row > .item-col.price .price-text {
  110.             font-size: 1.25rem;
  111.         }
  112.         .item-info > .item-row > .item-col.price {
  113.             font-size: 1.85rem;
  114.             color: red;
  115.         }
  116.     }
  117. </style><style>
  118.     .sokujitsu-hassou-banner {
  119.         background-color: #EFFCFF;
  120.         border: 1px solid #C1C1C1;
  121.         font-size: 1.5rem;
  122.         padding: 2.0rem;
  123.         width: auto;
  124.         margin: 0.5rem auto;
  125.         margin-top: 1.5rem;
  126.     }
  127.     .sokujitsu-hassou-banner > .title,
  128.     .sokujitsu-hassou-banner > .description {
  129.         text-align: center;
  130.     }
  131.     .sokujitsu-hassou-banner > .title {
  132.         font-size: 1.75em;
  133.         color: #1026DB;
  134.     }
  135.     .sokujitsu-hassou-banner > .description {
  136.         font-size: 1.25em;
  137.         color: white;
  138.         background-color: #449ADC;
  139.         width: 85%;
  140.         margin: 0.75em auto;
  141.         padding: 0.5em;
  142.     }
  143.     .sokujitsu-hassou-banner > dl {
  144.         position: relative;
  145.         margin: 0;
  146.         overflow: hidden;
  147.         transition: all 0.5s linear;
  148.     }
  149.     .sokujitsu-hassou-banner > dl.closed {
  150.         height: 3.0em;
  151.     }
  152.     .sokujitsu-hassou-banner > dl.closed > dd {
  153.         opacity: 0.25;
  154.     }
  155.     .sokujitsu-hassou-banner > dl.opened {
  156.         height: auto;
  157.     }
  158.     .sokujitsu-hassou-banner > dl.closed > dt.overlay {
  159.         position: absolute;
  160.         display: inline-block;
  161.         cursor: pointer;
  162.         bottom: 0;
  163.         left: 50%;
  164.         transform: translate(-50%);
  165.         height: 2em;
  166.         color: white;
  167.         border-radius: 2rem;
  168.         padding: .5rem 5rem;
  169.         background: #1291DE;
  170.     }
  171.     .sokujitsu-hassou-banner > dl > dt:nth-of-type(n+2) {
  172.         margin-top: 1.0em;
  173.     }
  174.     .sokujitsu-hassou-banner > dl > dt,
  175.     .sokujitsu-hassou-banner > dl > dd {
  176.         font-weight: normal;
  177.     }
  178.     .sokujitsu-hassou-banner > dl > dt {
  179.         color: #1026DB;
  180.     }
  181.     .sokujitsu-hassou-banner > dl > dd {
  182.         color: #333;
  183.     }
  184.     @media screen and (max-width: 768px) {
  185.         .sokujitsu-hassou-banner {
  186.             font-size: 1.0rem;
  187.             padding: 1.0rem;
  188.         }
  189.     }
  190. </style>
  191. {% include 'Item/NewCartArea/script.twig' with {} only %}
  192. <div id="cartin-button-guide" class="anchor-wrapper"></div>
  193. <div id="label-get-started">セット商品を購入する</div>
  194. <div>
  195.     <form id="dummy"></form>
  196.     <form id="form-goods-set-purchase">
  197.         <input type="hidden" name="goodsId" value="{{ goods.goodsId }}">
  198.     {% for child in item.goods.childrenAsGoodsSetPurchase %}
  199.         {% set child = child.goodsChild.item %}
  200.         {% include 'Item/Common/new_main.twig' with { item: child, goods: child.goods } only %}
  201.         {% include 'Item/GoodsSetPurchase/new_cart_area.twig' with { loop: loop, parent: item, item: child, skuMap: skuMap, visibleSizes: visibleSizes } only %}
  202.     {% endfor %}
  203.     <div class="anchor-wrapper gsp-checkout-guide">
  204.         <a class="anchor"></a>
  205.         <div>
  206.             <p>セット商品の選択は以上です。</p>
  207.             <p>ご注文を進めるには下記からお進みください。</p>
  208.         </div>
  209.         <button type="button" class="btn-v2 forward btn_add_to_cart add-to-cart" alt="※まだご注文は確定しませんので、ご安心ください。"><span class="muji"></span>カートに入れる</button>
  210.     </div>
  211.     </form>
  212. </div>