@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
// Schema.org OnlineStore
function hanatera_schema_org() {
  if (is_front_page()) {
    echo '<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "OnlineStore",
  "name": "花寺",
  "url": "https://hanatera.com",
  "description": "寺院の本堂・脇壇・仏壇向け造花専門店。ヒバ・松・コウヤマキ・シキビ・榊・仏花など、1束ずつ手組みした受注生産の造花を販売しています。",
  "address": {
    "@type": "PostalAddress",
    "addressRegion": "Hyogo",
    "addressCountry": "JP"
  },
  "contactPoint": {
    "@type": "ContactPoint",
    "url": "https://hanatera.com/contact/",
    "contactType": "customer service"
  }
}
</script>';
  }
}
add_action('wp_head', 'hanatera_schema_org');

