app/template/default/index.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% set body_class = 'front_page' %}
  3. {% block stylesheet %}
  4.     <style>
  5. /*いい古墳あります*/
  6.         .elementor-element-cde511d {
  7.             display: flex;
  8.             justify-content: center;
  9.             align-items: center;
  10.             margin: 50px 20px 0;
  11.             max-width: calc(100% - 40px);
  12.             width: auto;
  13.         }
  14.         /* 画像自体のスタイリング */
  15.         .elementor-element-cde511d img {
  16.             max-width: 100%;
  17.             height: auto;
  18.             width: auto;
  19.         }
  20. @media only screen and (max-width: 768px) {
  21.         .elementor-element-cde511d {
  22.             margin: 30px 15px 0;
  23.             max-width: calc(100% - 30px);
  24.         }
  25. }
  26. /*樹木葬の新形態「古墳墓」*/
  27.         .elementor-element-a2b7db4 h2 {
  28.             text-align: center;
  29.             color: var( --e-global-color-global_color_4 );
  30.             font-size: 38px;
  31.             font-weight: 600;
  32.         }
  33. @media only screen and (max-width: 768px) {
  34.         .elementor-element-a2b7db4 h2 {
  35.             font-size: 24px;
  36.         }
  37. }
  38. /*イントロ*/
  39.         .elementor-element-5da587c {
  40.             text-align: center;
  41.             font-size: 18px;
  42.             line-height: 2;
  43.         }
  44. @media only screen and (max-width: 768px) {
  45.         .elementor-element-5da587c {
  46.             font-size: 15px;
  47.             line-height: 1.5;
  48.             padding: 10px 20px 10px 20px;
  49. }
  50. }
  51. /*ボタン*/
  52. .elementor-element-27d69a7 {
  53.             display: flex;
  54.             flex-wrap: wrap;
  55.             margin: 30px auto;
  56.             justify-content: center;
  57. }
  58. .elementor-element-row {
  59.             width: 50%;
  60.             text-align: center;
  61.             flex-direction: row;
  62.             margin-bottom: 20px;
  63. }    
  64. @media (max-width: 768px) {
  65. .elementor-element-row {
  66.             width: 100%;
  67. }
  68. }        
  69. .elementor-element-row p {
  70.     margin-top: 10px;
  71.             text-align: center;
  72.             font-size: 14px;
  73.             line-height: 1.5;
  74. }
  75. .elementor-button span {
  76.             text-decoration: inherit;
  77.             display: inline-block;
  78.         }
  79. .elementor-button {
  80.             display: inline-block;
  81.             line-height: 1;
  82.             font-size: 20px;
  83.             font-weight: bold;
  84.             border-radius: 3px;
  85.             color: #fff;
  86.             fill: #fff;
  87.             text-align: center;
  88.             transition: all .3s;
  89.             background-color: #000000;
  90.             width:80%;
  91.             padding-top: 30px;
  92.             padding-bottom: 30px;
  93. }
  94. @media only screen and (max-width: 768px) {
  95.         .elementor-button {
  96.             font-size: 17px;
  97.             padding: 20px 30px 20px 30px;
  98. }
  99. }
  100.     </style>
  101. {% endblock %}
  102. {% block main %}
  103.     <div class="elementor-element-cde511d">
  104.         <img src="{{ asset('assets/img/top/iikofun.png') }}" alt="いい古墳あります!">
  105.     </div>
  106.     <div class="elementor-element-a2b7db4">
  107.         <h2>樹木葬の新形態「古墳墓」</h2>
  108.     </div>
  109.     <div class="elementor-element-5da587c">
  110.         <p>墓石を建てる時代は終わりました。<br>いまや新規に販売される墓の半数以上が「樹木葬」です。<br>樹木葬は西洋式が一般的ですが、日本には日本式の樹木葬があっても良いはず。<br>それが<strong>古墳墓</strong>です!</p>
  111.     </div>
  112.     <div class="elementor-element-27d69a7">
  113.         <div class="elementor-element-row">
  114.             <a class="elementor-button" href="{{ url('product_list') }}?category_id=1">
  115.                 <span>販売中の古墳はこちらから</span>
  116.             </a>
  117.             <p><strong>現在販売中の古墳墓をご希望の方は</strong><br><strong>こちらより購入申込みしていただけます。</strong></p>
  118.         </div>
  119.         {% if not is_granted('ROLE_USER') %}
  120.             <div class="elementor-element-row">
  121.                 <a class="elementor-button" href="{{ url('entry') }}">
  122.                     <span>お客様登録はこちらから</span>
  123.                 </a>
  124.                 <p><strong>古墳をお求めになりたい地域をご登録ください。</strong><br><strong>その地域に新しく古墳が完成した際にご連絡差し上げます。</strong></p>
  125.             </div>
  126.         {% endif %}
  127.     </div>
  128. {% endblock %}