{% set staff_items = [
{
href: path('staff_detail_01'),
sp_img: asset('build/images/staff/sp_staff01.jpg'),
pc_img: asset('build/images/staff/staff01.jpg'),
class:'c-block-title_staff-item_col3',
sp_text01: '求められる能力は「素直',
sp_text02: 'さ」そして「常に笑顔で',
sp_text03: 'ありたい」と思う気持ち。',
pc_text01: '求められる能力は「素直さ」',
pc_text02: 'そして「常に笑顔でありたい」',
pc_text03: 'と思う気持ち。',
name: '本部長 田雑 秀敏',
button_text: '本部長 田雑 秀敏',
},
{
href: path('staff_detail_02'),
sp_img: asset('build/images/staff/sp_staff02.jpg'),
pc_img: asset('build/images/staff/staff02.jpg'),
class:'c-block-title_staff-item_col2',
sp_text01: '今日の「ありがとう」が',
sp_text02: '明日の「ありがとう」に',
sp_text03: '繋がる。',
pc_text01: '今日の「ありがとう」が',
pc_text02: '明日の「ありがとう」に繋がる。',
name: 'ホール主任 臼井 雪奈',
button_text: 'ホール主任 臼井 雪奈',
},
{
href: path('staff_detail_03'),
sp_img: asset('build/images/staff/sp_staff03.jpg'),
pc_img: asset('build/images/staff/staff03.jpg'),
class:'c-block-title_staff-item_col2',
sp_text01: '「良いものは良い。」と',
sp_text02: '素直に認めあう',
sp_text03: '文化がある。',
pc_text01: '「良いものは良い。」と',
pc_text02: '素直に認めあう文化がある。',
name: '店長代理 田口 光章',
button_text: '店長代理 田口 光章',
},
{
href: path('staff_detail_04'),
sp_img: asset('build/images/staff/sp_staff04.jpg'),
pc_img: asset('build/images/staff/staff04.jpg'),
class:'c-block-title_staff-item_col2',
sp_text01: '「やっぱりふじ丸最高」の',
sp_text02: 'ビジョンに向かって。',
pc_text01: '「やっぱりふじ丸最高」の',
pc_text02: 'ビジョンに向かって。',
name: 'ホール主任 森 玲奈',
button_text: 'ホール主任 森 玲奈',
},
{
href: path('staff_detail_05'),
sp_img: asset('build/images/staff/sp_staff05.jpg'),
pc_img: asset('build/images/staff/staff05.jpg'),
class:'c-block-title_staff-item_col2',
sp_text01: '知りたいを極める。',
pc_text01: '知りたいを極める。',
name: '店長 伊丹 悟郎',
button_text: '店長 伊丹 悟郎',
},
] %}
<section class="pg_staff_content">
<div class="pg_staff_content_main-title">
{% include "components/common/_main-title.html.twig" with {
title: '平塚富士キッチンの<br class="sp-style">スタッフ',
text: '-STAFF-',
class: 'c-main-title',
}%}
</div>
<div class="pg_staff_content_item">
{% for item in staff_items %}
<a class="pg_staff_content_item__anchor" href="{{ item.href }}">
<div class="pg_staff_content_item__img">
<img src="{{ item.sp_img }}" alt="" class="sp-style">
<img src="{{ item.pc_img }}" alt="" class="pc-style">
</div>
<div class="pg_staff_content_item__title">
<h2 class="c-block-title">
{#<span class="sp-style">
<span class="{{ item.class }}">{{ item.sp_text01 }}</span>
{% if item.sp_text02 is defined %}
<span class="{{ item.class }}">{{ item.sp_text02 }}</span>
{% endif %}
{% if item.sp_text03 is defined %}
<span class="{{ item.class }}">{{ item.sp_text03 }}</span>
{% endif %}
</span>
<span class="pc-style">
<span class="{{ item.class }}">{{ item.pc_text01 }}</span>
{% if item.pc_text02 is defined %}
<span class="{{ item.class }}">{{ item.pc_text02 }}</span>
{% endif %}
{% if item.pc_text03 is defined %}
<span class="{{ item.class }}">{{ item.pc_text03 }}</span>
{% endif %}
{% if item.name is defined and item.name %}
<span class="c-block-title-name_item">{{ item.name }}</span>
{% endif %}
</span>#}
</h2>
</div>
<div class="pg_staff_content_item_button">
<span class="pg_staff_content_item_button__text">{{ item.button_text|raw }}</span>
<span class="pg_staff_content_item_button__arrow">
<img src="{{ asset('build/images/common/double_arrow_black.svg') }}" alt="">
</span>
</div>
</a>
{% endfor %}
</div>
</section>