app/template/user_data/1yen_2025_lp.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% block javascript %}
  3. <script>
  4.     {% set current_domain = app.request.getHost() %}
  5.     {# ドメイン判定 #}
  6.     {% set is_prod = 'web-order.shikomel.com' in current_domain %}
  7.     {% set is_stg = 'web-order-stg.shikomel.com' in current_domain %}
  8.     {% if is_prod %}
  9.     // Lineバナークリックイベント
  10.     $('.btn_1yen_product_detail').on('click', function(event) {
  11.         const currentPageUrl = window.location.href;
  12.         fbq('trackCustom', 'ce_click_1yen_lp', {
  13.             content_type: "Click1YenLp",
  14.             content_name: currentPageUrl,
  15.             value: 20
  16.         });
  17.         window.dataLayer.push({
  18.             event: 'ce_click_1yen_lp',
  19.             custom_event_name: 'ce_click_1yen_lp',
  20.             custom_page_url: currentPageUrl,
  21.             custom_customer_id: '',
  22.             custom_user_agent: $("#user_agent").val(),
  23.             custom_is_ig: $("#is_ig").val(),
  24.             custom_is_line: $("#is_line").val(),
  25.             custom_referer: $("#referer").val(),
  26.             custom_real_ip: $("#real_ip").val(),
  27.         });
  28.         _lt('send', 'cv', {
  29.             type: 'ce_click_1yen_lp'
  30.         },['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
  31.     });
  32.     {% endif %}
  33. </script>
  34. {% if is_prod %}
  35. <script src="https://js.ptengine.jp/3epvpvfz.js"></script>
  36. {% endif %}
  37. {% endblock javascript %}
  38. {% block stylesheet %}
  39.     <style>
  40.     .main_content h1 {
  41.         font-size: 22px;
  42.         font-weight: bold;
  43.         margin: 0px;
  44.     }
  45.     .main_content h2 {
  46.         font-size: 20px;
  47.         font-weight: bold;
  48.         margin: 0px;
  49.     }
  50.     .main_content h3 {
  51.         font-size: 14px;
  52.         font-weight: bold;
  53.     }
  54.     .main_content img {
  55.         margin-bottom: 0px;
  56.     }
  57.     .main_content strong {
  58.         margin-bottom: 10px;
  59.         line-height: 1.8;
  60.     }
  61.     .main_content p, .main_content td {
  62.         line-height: 1.8;
  63.     }
  64.     .main_content {
  65.         color: black;
  66.         font-family: "メイリオ","Meiryo","Hiragino Sans","ヒラギノ角ゴシック","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","MS Pゴシック","Helvetica Neue","Helvetica","Arial","sans-serif";
  67.     }
  68.     #this_week_products {
  69.         scroll-margin-top: 30px; /* ← アンカー遷移時に上に20px余白を確保 */
  70.     }
  71.     .cta_2 {
  72.         width: 305px; display: block;
  73.     }
  74.     .cta_outer_1 {
  75.         position: absolute; top: 410px; left: 45px;
  76.     }
  77.     .cta_outer_2 {
  78.         position: absolute; top: 390px; left: 45px;
  79.     }
  80.     .cta_outer_3 {
  81.         position: absolute; top: 410px; left: 45px;
  82.     }
  83.     /* スマホ(例: 768px以下の画面幅) */
  84.     @media screen and (max-width: 768px) {
  85.         .cta_2 {
  86.             width: 305px;
  87.         }
  88.         .cta_outer_1 {
  89.             position: absolute; top: 385px; left: 35px;
  90.         }
  91.         .cta_outer_2 {
  92.             position: absolute; top: 365px; left: 35px;
  93.         }
  94.         .cta_outer_3 {
  95.             position: absolute; top: 385px; left: 35px;
  96.         }
  97.     }
  98.     </style>
  99. {% endblock %}
  100. {% block main %}
  101.     <div class="main_content" style="max-width: 400px; margin: auto;">
  102.         <header id="header_content" style="position: relative; text-align: center;">
  103.             <h1 style="margin: auto;">
  104.                 <img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_1.webp', 'user_data') }}" alt="食材1円お試しキャンペーン" style="max-width: 100%;">
  105.             </h1>
  106.             <a href="./1yen_2025_lp#this_week_products" class="eye_cta_outer_1">
  107.                 <img src="{{ asset('assets/img/1yen_2025_lp/cta_1.png', 'user_data') }}" alt="今週の商品をチェック" style="width: 100%; display: block;">
  108.             </a>
  109.         </header>
  110.         <section style="margin: 40px 10px 48px 10px;">
  111.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_2.png', 'user_data') }}" alt="キャンペーン概要" style="max-width: 100%;"></h2>
  112.         </section>
  113.         <section id="this_week_products" style="background-color: #FFF100; text-align: center; margin-top: 66px;">
  114.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_3.png', 'user_data') }}" alt="今週の対象商品" style="margin-top: -20px; max-width: 259px;"></h2>
  115.         </section>
  116.         <section style="background-color: #FFF100; text-align: center; padding: 20px;">
  117.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_4_up3.webp', 'user_data') }}" alt="日付" style="max-width: 264px;"></h2>
  118.         </section>
  119.         <section style="background-color: #FFF100; padding-right: 15px; padding-left: 15px; padding-bottom: 16px; position: relative;">
  120.             <div style="max-width:369px; width: 100%; border:3px solid #000; border-radius:10px; overflow:hidden; font-family: 'Helvetica', 'Arial', sans-serif;">
  121.               <!-- 商品画像 -->
  122.               <img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_food_4-1.webp', 'user_data') }}" alt="鶏もものトマト煮" style="width:100%; display:block;">
  123.               <!-- テキスト部分 -->
  124.               <div style="padding:16px; background:#fff;">
  125.                 <!-- 商品名 -->
  126.                 <h2 style="font-size:24px; font-weight:bold; margin:0 0 12px 0; color:#000;">
  127.                   鶏もものトマト煮
  128.                 </h2>
  129.                 <!-- 詳細テキスト -->
  130.                 <p style="font-size:14px; line-height:1.6; margin:0 0 20px 0; color:#333;">
  131.                   都内ダイニングバーで、ランチで月500食の販売実績あり。<br>しっとり柔らかな鶏もも肉を、香草とともにじっくり煮込んだ一品。女性客からの評判も高い。
  132.                 </p>
  133.                 <!-- CTAボタン -->
  134.                 {# <a href="{{ url('product_detail', { id: 680 }) }}" style="display:block; text-align:center; background:#ED4F00; color:#fff; text-decoration:none; font-weight:bold; padding:16px 0; border-radius:4px; font-size:16px;">
  135.                   1円でこの商品を試す
  136.                 </a> #}
  137.               </div>
  138.             </div>
  139.         </section>
  140.         <section style="background-color: #FFF100; padding-right: 15px; padding-left: 15px; padding-bottom: 16px; position: relative;">
  141.             <div style="max-width:369px; width: 100%; border:3px solid #000; border-radius:10px; overflow:hidden; font-family: 'Helvetica', 'Arial', sans-serif;">
  142.               <!-- 商品画像 -->
  143.               <img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_food_4-2.webp', 'user_data') }}" alt="オリジナルエビカレー" style="width:100%; display:block;">
  144.               <!-- テキスト部分 -->
  145.               <div style="padding:16px; background:#fff;">
  146.                 <!-- 商品名 -->
  147.                 <h2 style="font-size:24px; font-weight:bold; margin:0 0 12px 0; color:#000;">
  148.                   オリジナルエビカレー
  149.                 </h2>
  150.                 <!-- 詳細テキスト -->
  151.                 <p style="font-size:14px; line-height:1.6; margin:0 0 20px 0; color:#333;">
  152.                   大ぶりのエビが17〜20個入った、食べ応え抜群の贅沢感あるカレー。<br>辛さが苦手な方でも楽しめる、やさしくも奥深い味わいが特徴。
  153.                 </p>
  154.                 <!-- CTAボタン -->
  155.                 {# <a href="{{ url('product_detail', { id: 681 }) }}" style="display:block; text-align:center; background:#ED4F00; color:#fff; text-decoration:none; font-weight:bold; padding:16px 0; border-radius:4px; font-size:16px;">
  156.                   1円でこの商品を試す
  157.                 </a> #}
  158.               </div>
  159.             </div>
  160.         </section>
  161.         <section style="background-color: #FFF100; padding-right: 15px; padding-left: 15px; padding-bottom: 15px; position: relative;">
  162.             <div style="max-width:369px; width: 100%; border:3px solid #000; border-radius:10px; overflow:hidden; font-family: 'Helvetica', 'Arial', sans-serif;">
  163.               <!-- 商品画像 -->
  164.               <img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_food_4-3.webp', 'user_data') }}" alt="黒カレーベース" style="width:100%; display:block;">
  165.               <!-- テキスト部分 -->
  166.               <div style="padding:16px; background:#fff;">
  167.                 <!-- 商品名 -->
  168.                 <h2 style="font-size:24px; font-weight:bold; margin:0 0 12px 0; color:#000;">
  169.                   黒カレーベース
  170.                 </h2>   
  171.                 <!-- 詳細テキスト -->
  172.                 <p style="font-size:14px; line-height:1.6; margin:0 0 20px 0; color:#333;">
  173.                   少しピリ辛に仕上げた、深いコクと辛さを引き立てた濃厚な黒カレーベース。<br>特徴的な色の黒さで、オムライスなどのソースとしても。
  174.                 </p>
  175.                 <!-- CTAボタン -->
  176.                 {# <a href="{{ url('product_detail', { id: 682 }) }}" style="display:block; text-align:center; background:#ED4F00; color:#fff; text-decoration:none; font-weight:bold; padding:16px 0; border-radius:4px; font-size:16px;">
  177.                   1円でこの商品を試す
  178.                 </a> #}
  179.               </div>
  180.             </div>
  181.         </section>
  182.  
  183.         <section style="background-color: #FFF100; padding-right: 20px; padding-left: 20px; padding-bottom: 15px;">
  184.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_8.png', 'user_data') }}" alt="利用規約" style="max-width: 100%;"></h2>
  185.         </section>
  186.         <section style="margin: 0px; text-align: center;">
  187.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_9.png', 'user_data') }}" alt="商品ラインナップ" style="max-width: 259px; margin-top: 48px; margin-bottom: 32px;"></h2>
  188.         </section>
  189.         <section style="margin: 0px 15px 32px 15px">
  190.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_10.webp', 'user_data') }}" alt="第1弾 シコメルの名物商品たち" style="max-width: 100%;"></h2>
  191.         </section>
  192.         <section style="margin: 0px 15px 32px 15px">
  193.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_11_up.webp', 'user_data') }}" alt="第2弾 前菜の強い味方" style="max-width: 100%;"></h2>
  194.         </section>
  195.         <section style="margin: 0px 15px 32px 15px">
  196.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_12_close.webp', 'user_data') }}" alt="第3弾 手の込んだ、至高の逸品" style="max-width: 100%;"></h2>
  197.         </section>
  198.         <section style="margin: 0px 15px 32px 15px">
  199.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_13_close.jpg', 'user_data') }}" alt="第4弾 ランチの強い味方" style="max-width: 100%;"></h2>
  200.         </section>
  201.         <section style="margin: 48px 15px 96px 15px;">
  202.             <h2><img src="{{ asset('assets/img/1yen_2025_lp/1yen_cp_2025_14.webp', 'user_data') }}" alt="キャンペーン詳細" style="max-width: 100%;"></h2>
  203.         </section>
  204.         
  205. {% endblock %}