{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'front_page' %}
{% block main %}
<div class="top">
<!-- KV -->
<div class="top-kv">
<ul class="slider">
<li><img src="{{ asset('assets/img/top/KV_03.png')}}" alt="我が家の香り芽1週間"></li>
<li><a href="/products/detail/61"><img src="{{ asset('assets/img/top/KV_02.jpg')}}" alt="香り芽で食べ比べ そふとふりかけおすすめ8選"></a></li>
<li><a href="/products/detail/59"><img src="{{ asset('assets/img/top/KV_05.png')}}" alt="しそひじき オンラインショップ限定!"></a></li>
</ul>
</div>
<!-- /KV -->
<!-- CONTENTS -->
<div class="l-container l-2ColumnContainer">
<!-- MAIN-CONTENTS -->
<div class="l-main">
<!-- RANKING -->
<section class="top-ranking marginTop0">
<h2 class="top-h2-t02">商品ランキング <span class="itemEn">Ranking</span></h2>
<div class="mod-productsBoxContainer">
<!-- BOX -->
<article class="mod-productsBox">
<a href="/products/detail/21" class="mod-productsBoxInner">
<span class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/rank1.png')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
</span>
<div class="boxData">
<h3 class="name">芽かぶ和風スープ 65g</h3>
<p class="price">¥432<span class="tax">(税込)</span></p>
</div>
</a>
</article>
<!-- /BOX -->
<!-- BOX -->
<article class="mod-productsBox">
<a href="/products/detail/22" class="mod-productsBoxInner">
<span class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/rank2.png')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
</span>
<div class="boxData">
<h3 class="name">和風わかめスープ 80g</h3>
<p class="price">¥432<span class="tax">(税込)</span></p>
</div>
</a>
</article>
<!-- /BOX -->
<!-- BOX -->
<article class="mod-productsBox">
<a href="/products/detail/57" class="mod-productsBoxInner">
<span class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/shisohijiki.jpg')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
</span>
<div class="boxData">
<h3 class="name">しそ入りひじきふりかけ 130g</h3>
<p class="price">¥540<span class="tax">(税込)</span></p>
</div>
</a>
</article>
<!-- /BOX -->
<!-- BOX -->
<article class="mod-productsBox">
<a href="/products/detail/18" class="mod-productsBoxInner">
<span class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/rank4.png')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
</span>
<div class="boxData">
<h3 class="name">わかめごはん 110g</h3>
<p class="price">¥432<span class="tax">(税込)</span></p>
</div>
</a>
</article>
<!-- /BOX -->
</div>
</section>
<!-- /RANKING -->
<!-- CATEGORY -->
<section class="top-pCategory marginTop70">
<h2 class="top-h2-t02">商品カテゴリー <span class="itemEn">Category</span></h2>
<div class="top-pCategoryCardContainer">
<!-- CARD -->
<article class="top-pCategoryCard">
<a href="/products/list?category_id=7" class="top-pCategoryCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/category_img_01.jpg')}}" alt="わかめふりかけの写真" class="imgObjectFitCover"
loading="lazy">
</span>
</div>
<div class="boxData">
<h3 class="name">わかめふりかけ</h3>
<p class="detail">わかめをもっと手軽に食べていただけるよう、質や味にもこだわって作った自慢の逸品です。</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-pCategoryCard">
<a href="/products/list?category_id=8" class="top-pCategoryCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/category_img_02.jpg')}}" alt="ひじきふりかけの写真" class="imgObjectFitCover"
loading="lazy">
</span>
</div>
<div class="boxData">
<h3 class="name">ひじきふりかけ</h3>
<p class="detail">海藻類の中でも特に栄養価の高いひじきを使った身体思いのふりかけです。<br>ソフトタイプでやわらかく、食べやすさと、おいしさにこだわった逸品です。</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-pCategoryCard">
<a href="/products/list?category_id=9" class="top-pCategoryCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/category_img_03.jpg')}}" alt="わかめごはんの写真" class="imgObjectFitCover" loading="lazy">
</span>
</div>
<div class="boxData">
<h3 class="name">わかめごはん</h3>
<p class="detail">炊き上がったご飯にまぜるだけで、手軽にわかめごはんが召し上がれます。</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-pCategoryCard">
<a href="/products/list?category_id=10" class="top-pCategoryCardInner">
<span class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/category_img_04.jpg')}}" alt="わかめスープの写真" class="imgObjectFitCover" loading="lazy">
</span>
</span>
<div class="boxData">
<h3 class="name">わかめスープ</h3>
<p class="detail">独自の製法でわかめの葉自体に味を施し、深い味わいに。<br>出汁とわかめの味わいが食欲をそそる、本格わかめスープです。</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-pCategoryCard">
<a href="/products/list?category_id=11" class="top-pCategoryCardInner">
<span class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/category_img_05.jpg')}}" alt="お茶漬けの写真" class="imgObjectFitCover" loading="lazy">
</span>
</span>
<div class="boxData">
<h3 class="name">お茶漬け</h3>
<p class="detail">わかめ本来の「緑」が鮮やかなお茶漬けです。<br>磯の香りとあられのこうばしさを合わせて、風味豊かに仕上げました。</p>
</div>
</a>
</article>
<!-- /CARD -->
</div>
</section>
<!-- /CATEGORY -->
<!-- RECOMMEND -->
<section class="top-recommend marginTop70">
<h2 class="top-h2-t02">おすすめの商品 <span class="itemEn">Recommend</span></h2>
<div class="mod-productsBoxContainer">
{% if Layout.MainBottom %}
{{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
{% endif %}
</div>
</section>
<!-- /RECOMMEND -->
<!-- PICK-BNR -->
<ul class="top-pickBnrContainer marginTop60">
<li>
<img src="{{ asset('assets/img/top/banner_02.png')}}" alt="送料一律300円のゆうパケット便" class="imgFit" width="396" height="124"
loading="lazy">
</li>
<li>
<a href="/products/detail/61">
<img src="{{ asset('assets/img/top/banner_03.jpg')}}" alt="香り芽で食べ比べ そふとふりかけおすすめ8選" class="imgFit" width="396" height="124"
loading="lazy">
</a>
</li>
<li>
<a href="/products/detail/59">
<img src="{{ asset('assets/img/top/banner_05.png')}}" alt="しそひじき オンラインショップ限定!" class="imgFit" width="396" height="124"
loading="lazy">
</a>
</li>
</ul>
<!-- /PICK-BNR -->
<!-- REASON -->
<section class="top-reason">
<h2 class="top-h2-t01">Kaorimeのごはんのおともが<br>「からだにいい」理由</h2>
<div class="top-reasonBoxContainer">
<!-- BOX -->
<section class="top-reasonBox">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/reason1.png')}}" alt="良質産地韓国「東海岸」で採れたひじき" class="imgObjectFitCover"
loading="lazy">
</span>
</div>
<h3 class="itemHl">良質産地韓国「東海岸」で<br><span class="itemShrink">採れたひじき</span></h3>
</section>
<!-- /BOX -->
<!-- BOX -->
<section class="top-reasonBox">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/reason2.png')}}" alt="着色料不使用の無添加へのこだわり" class="imgObjectFitCover" loading="lazy">
</span>
</div>
<h3 class="itemHl">着色料不使用の<br class="dn-pc">無添加へのこだわり</h3>
</section>
<!-- /BOX -->
<!-- BOX -->
<section class="top-reasonBox">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/reason3.png')}}" alt="栄養豊富な海中で育ったわかめは、低カロリーで栄養分がとても豊富" class="imgObjectFitCover" loading="lazy">
</span>
</div>
<h3 class="itemHl">栄養豊富な海中で育ったわかめは、低カロリーで栄養分がとても豊富</h3>
</section>
<!-- /BOX -->
</div>
<a href="https://kaorime.co.jp/" class="mod-btn-02 mod-btn-external" target="_blank">公式サイトでもっと見る</a>
</section>
<!-- /REASON -->
{#
<!-- PICK-BNR-SLIDE -->
<div class="top-pickBnrSlide">
<ul class="slider">
<li>
<a href="#">
<img src="{{ asset('assets/img/top/pick_slide_banner_01.jpg')}}" alt="こだわりのスープギフト" width="770" height="241"
loading="lazy">
</a>
</li>
<li>
<img src="{{ asset('assets/img/top/pick_slide_banner_dummy.jpg')}}" alt="" width="770" height="241" loading="lazy">
</li>
<li>
<img src="{{ asset('assets/img/top/pick_slide_banner_dummy.jpg')}}" alt="" width="770" height="241" loading="lazy">
</li>
<li>
<img src="{{ asset('assets/img/top/pick_slide_banner_dummy.jpg')}}" alt="" width="770" height="241" loading="lazy">
</li>
</ul>
</div>
<!-- /PICK-BNR-SLIDE -->
#}
{#
<!-- RECIPE・COLUMN -->
<div class="top-recipeColumnGroup">
<!-- RECIPE -->
<section class="top-recipe">
<h2 class="top-h2-t02">ひろがるレシピ <span class="itemEn">Recipe</span></h2>
<!-- CARD -->
<article class="top-recipeCard">
<a href="#" class="top-recipeCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/recipe_img_01.jpg')}}" alt="じゃことわかめ入り卵焼きの写真" class="imgObjectFitCover"
loading="lazy">
</span>
<span class="boxImgProduct">
<img src="{{ asset('assets/img/top/recipe_product_img_01.png')}}" alt="香り芽本舗ちりめん入わかめふりかけの写真" class="imgFit"
width="60" height="80" loading="lazy">
</span>
</div>
<div class="boxData">
<h3 class="recipeName">じゃことわかめ入り卵焼き</h3>
<span class="nameHl">利用商品</span>
<p class="name">香り芽本舗<br>ちりめん入わかめふりかけ</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-recipeCard">
<a href="#" class="top-recipeCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/recipe_img_02.jpg')}}" alt="わかめ入りペペロンチーノの写真" class="imgObjectFitCover"
loading="lazy">
</span>
<span class="boxImgProduct">
<img src="{{ asset('assets/img/top/recipe_product_img_01.png')}}" alt="香り芽本舗ちりめん入わかめふりかけの写真" class="imgFit"
width="60" height="80" loading="lazy">
</span>
</div>
<div class="boxData">
<h3 class="recipeName">わかめ入りペペロンチーノ</h3>
<span class="nameHl">利用商品</span>
<p class="name">香り芽本舗<br>ちりめん入わかめふりかけ</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-recipeCard">
<a href="#" class="top-recipeCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/recipe_img_03.jpg')}}" alt="3種類のきゅうりとわかめのしそ風味浅漬けの写真" class="imgObjectFitCover"
loading="lazy">
</span>
<span class="boxImgProduct">
<img src="{{ asset('assets/img/top/recipe_product_img_02.png')}}" alt="香り芽本舗ちりめん入わかめふりかけの写真" class="imgFit"
width="60" height="80" loading="lazy">
</span>
</div>
<div class="boxData">
<h3 class="recipeName">3種類のきゅうりとわかめのしそ風味浅漬け</h3>
<span class="nameHl">利用商品</span>
<p class="name">香り芽本舗<br>ちりめん入わかめふりかけ</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- BTN -->
<a href="#" class="mod-btn-02 mod-btn-external">もっと見る</a>
<!-- /BTN -->
</section>
<!-- /RECIPE -->
<!-- COLUMN -->
<section class="top-column">
<h2 class="top-h2-t02">コラム <span class="itemEn">Column</span></h2>
<div id="column-container"></div>
<!-- BTN -->
<a href="#" class="mod-btn-02 mod-btn-external">もっと見る</a>
<!-- /BTN -->
</section>
<!-- /COLUMN -->
</div>
<!-- /RECIPE・COLUMN -->
#}
{#
<!-- VOICE -->
<section class="top-voice">
<h2 class="top-h2-t02">お客様の声 <span class="itemEn">Customer’s voice</span></h2>
<div class="swiperContainer">
<div id="swiper" class="swiper">
<div class="swiper-wrapper">
<!-- CARD -->
<article class="top-voiceCard swiper-slide">
<a href="#" class="top-voiceCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/products_img_01.jpg')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
<p class="name">ちりめん入…</p>
</div>
<div class="boxData">
<div class="reviewStarGroup">
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
</div>
<h3 class="reviewName">お名前</h3>
<p class="reviewComment">コメントが入ります。テキストテキストテキストテキストテキスト…</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-voiceCard swiper-slide">
<a href="#" class="top-voiceCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/products_img_01.jpg')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
<p class="name">ちりめん入…</p>
</div>
<div class="boxData">
<div class="reviewStarGroup">
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starOFF">★</span>
</div>
<h3 class="reviewName">お名前</h3>
<p class="reviewComment">コメントが入ります。テキストテキストテキストテキストテキスト…</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-voiceCard swiper-slide">
<a href="#" class="top-voiceCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/products_img_01.jpg')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
<p class="name">ちりめん入…</p>
</div>
<div class="boxData">
<div class="reviewStarGroup">
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starOFF">★</span>
<span class="reviewStar starOFF">★</span>
</div>
<h3 class="reviewName">お名前</h3>
<p class="reviewComment">コメントが入ります。テキストテキストテキストテキストテキスト…</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-voiceCard swiper-slide">
<a href="#" class="top-voiceCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/products_img_01.jpg')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
<p class="name">ちりめん入…</p>
</div>
<div class="boxData">
<div class="reviewStarGroup">
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
</div>
<h3 class="reviewName">お名前</h3>
<p class="reviewComment">コメントが入ります。テキストテキストテキストテキストテキスト…</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-voiceCard swiper-slide">
<a href="#" class="top-voiceCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/products_img_01.jpg')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
<p class="name">ちりめん入…</p>
</div>
<div class="boxData">
<div class="reviewStarGroup">
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
</div>
<h3 class="reviewName">お名前</h3>
<p class="reviewComment">コメントが入ります。テキストテキストテキストテキストテキスト…</p>
</div>
</a>
</article>
<!-- /CARD -->
<!-- CARD -->
<article class="top-voiceCard swiper-slide">
<a href="#" class="top-voiceCardInner">
<div class="boxImg">
<span class="boxImgInner">
<img src="{{ asset('assets/img/top/products_img_01.jpg')}}" alt="" class="imgObjectFitCover" loading="lazy">
</span>
<p class="name">ちりめん入…</p>
</div>
<div class="boxData">
<div class="reviewStarGroup">
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
<span class="reviewStar starON">★</span>
</div>
<h3 class="reviewName">お名前</h3>
<p class="reviewComment">コメントが入ります。テキストテキストテキストテキストテキスト…</p>
</div>
</a>
</article>
<!-- /CARD -->
</div>
<div class="swiper-scrollbar"></div>
</div>
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>
</section>
<!-- /VOICE -->
#}
</div>
<!-- /MAIN-CONTENTS -->
<!-- SIDE-CONTENTS -->
{{ include('Block/side_menu.twig') }}
<!-- /SIDE-CONTENTS -->
</div>
<!-- /CONTENTS -->
</div>
{#
<script>
/**
* コラム・レシピの記事を取得する
* クロスドメイン対策のため、自サーバー内のPHPを迂回する。
*/
$(function() {
$.ajax({
type: 'GET',
url:'/get_feed.php?t=column',
dataType: 'xml',
success: function(xml) {
$(xml).find("item").each(function(i){
if ( i >=5 ) { //表示件数の設定 満たしたら処理を抜ける
return false;
}
/* 記事タイトル */
let item_title=$(this).find("title").text();
/*リンク*/
let item_link=$(this).find("link").text();
/* 日付処理 */
let item_postDate = $(this).find("pubDate").text();
//日付の変換
let dateStr = new Date(item_postDate);
// 年の取得
let year = dateStr.getFullYear();
// 月の取得
let month = dateStr.getMonth() + 1;
// 日の取得
let day = dateStr.getDate();
/* 画像サムネイル */
let item_description = $(this).find("description").text();
//画像の取得、文字列「src="xxxx"」を抜き出す。
var result = item_description.match(/(src=)["|'](.*?)["|']+/g);
let imgUrl = "";//TODO:ここにロゴマークなどno imageをいれる
if(result[0]){ //最初の1つをサムネイルとして使う。
imgUrl = result[0].replace('"', '');
imgUrl = imgUrl.replace('src=', '');
}
//出力HTML生成
let article = '<article class="top-columnCard">'+
'<a href="'+item_link+'" class="top-columnCardInner">'+
'<div class="boxImg">'+
'<span class="boxImgInner">'+
'<img src="https://kaorime.co.jp'+imgUrl+'" alt="" class="imgObjectFitCover" loading="lazy">'+
'</span>'+
' </div>'+
'<div class="boxData">'+
'<time class="itemDate">'+year+'年'+month+'月'+day+'日</time>'+
'<h3 class="title">'+item_title+'</h3>'+
'</div>'+
'</a>'+
'</article>';
/* HTML生成 */
if(item_title!="") {
$("div#column-container").append(article);
}
});
},
fail: function() {
}
});
});
</script>
#}
{% endblock %}