@charset "UTF-8";

/* 基本設定 */

* {
  margin: 0;
}


/* テキストの拡大を無効化 */

body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  width: 100%;
  height: auto;
}


/* ページ全体の設定 */

body {
  display: grid;
  grid-template-columns: 20px 1fr 20px;
  grid-template-rows: 
        [head] 100px
        [title] auto
        [item] auto
        [foot] 100px;
  grid-row-gap: 20px;
  row-gap: 20px;
  font-family: sans-serif;
}


/* パーツの配置 */

body > * {
  grid-column: 2 / -2;
}

/* ヘッダー */

header {
  grid-row: head;
  justify-self: center;
  align-self: center;
  font-size: 40px;
  color: #285399;
  font-family: 'Glass Antiqua', cursive;
}

header a {
  color: inherit;
  text-decoration: none;
}


/* ナビゲーション */

nav {
  grid-row: head;
  justify-self: center;
  align-self: end;
}

nav ul {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-column-gap: 20px;
  column-gap: 20px;
}


nav a {
  color: #666666;
  text-decoration: none;
  font-size: 18px;
  font-weight: normal;
}

nav a:hover {
  color: #ef9504;
}


/* ヒーローイメージ */

figure.hero {
  grid-column: 1 / -1;
  grid-row: title;
}

figure.hero img {
  height: 547px;
  object-fit: cover;
  vertical-align: bottom;
  filter: brightness(70%);
  z-index: -1;
  position: relative; /* Edge用の設定 */
}



/* タイトル */

.top h1 {
  grid-row: title;
  color: #ffffff;
  font-size: 65px;
  font-weight: bold;
  line-height: 1.3;
  text-shadow: 0 0 5px #444444;
  justify-self: center;
  align-self: center;
  text-align: center;
}


/* 英語版トップページへのリンク */

 .top p {
  grid-row: title;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-top: 450px;
}

 .top p a {
  color: #ffffff;
  text-decoration: none;
  border: solid 1px #ffffff;
  padding: 10px 40px;
  margin-top: 10px;
  border-radius: 10px;
  background-color: rgba(63, 82, 117, 0.7);
}

.top p a:hover{
  background-color: #ef9504;
}


/* 商品一覧ページへのリンク */

section {
  grid-row: item;
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 30px;
  row-gap: 30px; 
}

section a {
  color: #000000;
  text-decoration: none;
}

section a:hover {
  text-decoration: underline;
}


section h2 {
  grid-column: 1 / -1;
  font-size: 22px;
  font-weight: normal;
  text-align: center;
}

section h3 {
  color: #285399;
  font-size: 20px;
  text-align: center;
}


/* フッター */

footer {
  grid-row: foot;
  justify-self: center;
  align-self: center;
  color: #285399;
  font-size: 24px;
  font-family: 'Glass Antiqua', cursive;
}


/* フッターのバー */

body::after {
  content: "";
  background-color: #eeeeee;
  grid-column: 1 / -1;
  grid-row: foot;
  z-index: -1;
}


/* 商品ページの設定 */

.item {
  grid-template-rows:
    [head] 100px
    [item] auto
    [foot] 100px;
}


.item article p {
  font-size: 16px;
  font-weight: normal;
  text-align: left;
  line-height: 1.7;
}


.item ul {
  list-style-type: none;
  padding: 0;
}


.gotoshop {
  color: #b5124d;
  font-size: 24px;
}

/* ロゴの設定 */

span.logo {
  color: #285399;
  font-family: 'Glass Antiqua', cursive;
  font-weight: normal;
}


/* 商品ページ：商品一覧の設定 */

.item article {
  grid-row: item;
}

.item article > * {
  margin-top: 1em;
  margin-bottom: 1em;
  display: block;
}

.item ul {
  list-style-type: none;
  padding: 0;
  
}

.photo div {
  margin-top: 30px;
  display: block;
}

.item h1 {
  font-size: 44px;
  font-weight: normal;
  text-align: center;
}

.item h2 {
  font-size: 26px;
  color: darkblue;
  font-weight: normal;
  text-align: center;
  margin-bottom: -10px;
}

.item article h3 {
  font-size: 26px;
  font-weight: normal;
  text-align: left;
  border-left: solid 16px #b5124d;
  border-bottom: solid 1px #b5124d;
  padding-left: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
  }


.item h4 {
  font-size: 22px;
  font-weight: bold;
}

.item h5 {
  font-size: 16px;
  font-weight: normal;
}

.item h6 {
  font-size: 12px;
  font-weight: normal;
}

.item span.price {
  color: #b5124d;
}

.item span.red {
  color: red;
}

.item span.blue {
  color: blue;
}

.item span.green {
  color: green;
}

.each {
  margin-bottom: 30px;
}


/* 動画埋め込みの設定 */

.movie-wrap {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
 
.movie-wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}


/* amazonへのリンク */

.amazon p a{
  font-size: 14px;
  text-decoration: none;
}

.amazon a:hover {
  text-decoration: underline;
}


/* ebayの下部余白 */

.ebay {
  margin-bottom: 25px;
}

/* 商品ページ：バー */

.item::before {
  content: '';
  background: #eeeeee;
  height: 2px;
  grid-column: 1 / -1;
  grid-row: item;
}

/* 商品ページ：アイテム下の余白 */

h6 {
  margin-bottom: 25px;
}

h5 a {
  text-decoration: none;
}

h5 a:hover {
  text-decoration: underline;
}


/* 販売店ページの設定 */


h2.shop {
  text-align: left;
}

#shop {
  font-size: 30px;
  font-weight: bold;
  color: #3f5275;
  margin-top: 0;
  margin-bottom: 0;
}

p a {
  color: #000000;
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}

.more {
  color: #b5124d;
}

.more a:hover {
  text-decoration: underline;
}

/* 個別店紹介ページ */

.shopcategory {
  color: #b5124d;
  font-size: 20px;
}

h1.name {
  font-size: 36px;
  text-align: left;
  font-weight: bold;
  color: #3f5275;
  margin-top: -10px;
  margin-bottom: -10px;
}

h2.shop {
  text-align: left;
}

.back {
  font-size: 20px;
  color: #b5124d;
  }

.learn {
  font-size: 20px;
  color: #b5124d;
}

.shopname figure img {
  margin-top: 20px;
}


/* 個別店紹介ページ：はんこランド特典 */


article div.only {
  margin-top: 30px;
  margin-bottom: 30px;
}


/* 個別店紹介ページ:地図の設定 */

.gmap {
height: 0;
overflow: hidden;
padding-bottom: 56.25%;
position: relative;
}

.gmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}


/* 会社案内ページ */

table {
  width: 100%;
  border-collapse: collapse;
}


th,td {
  border: solid 1px #cccccc;
  padding: 20px;
}

th {
  width: 5em;
  text-align: left;
  background-color: #555d6b;
  color: #ffffff;
}

td {
  background-color: #e8eef9;
}

td a {
  text-decoration: none;
  color: #000000;
}

td a:hover {
  text-decoration: underline;
}





/* ======== PC版の設定 ======== */

@media (min-width: 768px) {


/* PC版：ページ全体の設定 */

body {
  grid-template-columns: 
    0.2fr repeat(6,1fr) 0.2fr;
  grid-column-gap: 5%;
  column-gap: 5%;
  grid-template-rows: 
    [head] 100px
    [title] auto
    [item] auto
    [foot] 100px;
}

/* PC版：ヒーローイメージ */

figure.hero {
  grid-row: title;
  margin-top: -30px;
}

/* PC版：タイトル */

h1 {
  margin-bottom: 100px;
}


/* PC版：サブタイトル */

.top p {
  margin-top: 370px;
}


/* PC版：ヘッダー */

header {
  justify-self: start;
}


/* PC版：ナビゲーションメニュー */


nav {
  justify-self: end;
  align-self: center;
}
  

/* PC版：h2の設定 */
  
  .top h2 {
    font-size: 40px;
    margin-top: 10px;
  }
  
/* PC版：トップページ商品 */

section {
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 20px;
  column-gap: 20px;
}

/* PC版：商品一覧h2 */

section h2 {
  font-size: 30px;
}
  

/* PC版：商品ページ 商品写真を4列に配置する */
  
.item ul {
  grid-row: item;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 20px 10px;
  gap: 20px 10px;
  
}
  
  
/* PC版：コンテンツの横幅 */

  .content {
    max-width: 800px;
    justify-self: center;
  }
  
  
/* PC版：商品ページ h1、テキスト*/
  
  .item h1 {
    font-size: 50px;
    margin-top: 20px;
    margin-bottom: 30px;
}
  
  .item h2 {
    font-size: 40px;
}
  
  .item article h3 {
    font-size: 30px;
    margin-bottom: 20px;
}
  
  .item article h4 {
    font-size: 16px;
}
  
  .item article h5 {
    font-size: 14px;
}

  .item article p {
    font-size: 18px;
} 
  
  .each {
    margin-bottom: 0;
  }
  
  
/* PC版：amazonへのリンク */

a.amazon {
  font-size: 14px;
  text-decoration: none;
}

.amazon a:hover {
  text-decoration: underline;
}

  
  
/* PC版：ebayの下部余白 */

p.ebay {
  margin-bottom: 0;
}

/* 商品ページ バー */
  
  .item::before {
    margin-top: -20px;
}



/* PC版：店舗名 */

#shop {
  font-size: 30px;
  font-weight: bold;
  color: #3f5275;
  margin-top: 0;
  margin-bottom: 0;
}
  
.shopcategory {
  color: #b5124d;
  font-size: 26px;
}
  
  .back {
    font-size: 24px;
    color: #b5124d;
  }
 
  .lean {
   font-size: 24px;
    color: #b5124d; 
  }

.movie-wrap iframe {
    width: 560px;
    height: 315px;
  }  
  
}

/* ======== PC版の設定ここまで ======== */