/*
Theme Name: Tutrial4-Proto
Author: Your Name
Description: 汎用WordPressテーマ
Version: 4.0
*/

html {
	margin: 0;
	padding: 0;
	font-size: clamp(1.1rem, 1.5vw, 1.2rem);
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	font-style: normal;
	scroll-padding-top: 120px;
}

/* 全体 */
body {padding:0;margin:0;}
.pc {display:inherit;}
.sp {display:none;}
@media (max-width: 768px) {
.pc {display:none;}
.sp {display:inherit;}
}

/* ヘッダー */
header {
  color: #333333;
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%;
	height:110px;
  z-index: 2000;
}	



/* ヘッダー内部を最大100%で中央配置 */
.header-inner {
  width: calc(100% - 40px);
  margin: 0 auto;
  position: relative; 
  display: flex;
  align-items: center;
  padding: 10px 20px;
}
.logo-area {height:40px;padding-left:30px;padding-top:25px;}
.logo-area img {width:auto;max-height:30px;}
.logo-area a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5em;
}
.lang-area ul {list-style:none;padding:0;margin:0;display:flex;flex-direction:column;align-items:center;}
.lang-area ul li {width:100px;margin:5px;font-size:.8em;}
.lang-area ul li a{width:100%;color:#ffffff;background:#f6ab00;display:flex;justify-content:center;align-items:center;text-decoration:none;}
.lang-area ul li a:hover {background:#b77b04;}
@media (max-width: 768px) {
	.header-inner {width:100%;padding:5px 0;height:100px;}
	.logo-area {height:40px;padding-left:30px;padding-top:0;}
	.lang-area {margin-right:40px;}
	.logo-area img {max-height:20px;}
	.lang-area ul {flex-direction:row;}
	.lang-area ul li a {padding:10px 0;}
}

/* ハンバーガーボタン */
.hamburger-btn {
position: absolute; 
right: 0;
top: 30px;
width: 50px;
height: 30px;
background:#FFFFFF;
border-radius:5px;
padding:5px 15px;
z-index: 1100; 
cursor: pointer;
/*display: block;*/
}
.hamburger-btn span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%; 
  height: 2px;
  background: #333333;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
	.hamburger-btn {right:0;top:25px;padding:10px 0;}
}

/* 初期状態：3本線 */
.hamburger-btn span:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-8px);
}
.hamburger-btn span:nth-child(2) {
  transform: translate(-50%, -50%);
}
.hamburger-btn span:nth-child(3) {
  transform: translate(-50%, -50%) translateY(8px);
}

/* ハンバーガー(Xへ)変形時 */
.hamburger-btn.active {background:#FFFFFF;}
.hamburger-btn.active span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  /*opacity: 0;*/
}
.hamburger-btn.active span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* モバイルメニューオーバーレイ: 全画面 */
.mobile-menu-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0; 
  background: #fff;
  z-index: 1000; 
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
/* 1. スクロール機能の有効化 */
  overflow-y: auto;         /* 縦にはみ出たらスクロールさせる */
  max-height: 100vh;        /* 画面の高さ以上に伸びないように制限（これがないとスクロールしません） */

  /* 2. スクロールバーを消す（Firefox, IE用） */
  scrollbar-width: none;    /* Firefox */
  -ms-overflow-style: none; /* IE, 旧Edge */
  
  /* スマホでのスクロール連鎖を防ぐ（任意） */
  overscroll-behavior: contain; 
}

/* 3. スクロールバーを消す（Chrome, Safari用） */
.mobile-menu-overlay::-webkit-scrollbar {
  display: none;
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-logo {padding:35px 0 0 50px;}
.mobile-logo img {width:auto;max-height:30px;}

@media (max-width: 768px) {
	.mobile-menu-overlay {top:0;}
	.mobile-logo {padding:35px 0 0 30px;}
}

/* モバイルナビ：全画面 */
.mobile-nav {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #ffffff;
  padding: 20px;
}
.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu li a {
  display: block;
  color: #333333;
  text-decoration: none;
  padding: 10px 0;
}

/* モバイルサブメニュー */
.mobile-has-sub {
  position: relative;
}
.accordion-toggle {
  position: relative;
  display: block;
  color: #333333;
  text-decoration: none;
  padding: 10px 0;
}
.accordion-icon {
  font-weight: bold;
  margin-left: 5px; 
}

/* モバイルサブメニューアニメーション */
.mobile-sub-menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  margin: 0;
  padding-left: 20px;
}
.mobile-sub-menu li a {
  padding: 5px 0;
}

/* nav */
nav ul.common-nav{width:80%;display:flex;margin:100px auto 0 auto;padding:0;flex-wrap:wrap;list-style:none;font-weight:600;}
nav ul.common-nav li {width:21%;margin:50px 2% 20px 2%;border-bottom:1px solid #333333;font-size: clamp(0.8rem, 1.3vw, 1.5rem);text-align:center;display: flex;align-items: flex-end;justify-content: center;}
nav ul.common-nav li:last-child {border-bottom:none;}
nav ul.common-nav li a {text-decoration:none;color:#333333;display: inline-block;width: 100%;padding-bottom: 20px;}
nav ul.common-nav li img {width:60%;height:auto;}
.common-nav span {display:block;}
@media (max-width: 768px) {
	nav ul.common-nav{margin:20px auto 0 auto;flex-direction:column;}
	nav ul.common-nav li {width:90%;margin:10px auto;font-size:18px;}
	.common-nav span {display:inline;}
}



/* Yahoo!ショッピングバナー */
.yahoo_banner {width:80px;height:auto;position:fixed;top:100px;right:0;z-index:9999;}
.yahoo_banner img {width:100%;height:auto;}
@media (max-width: 768px) {
	.yahoo_banner {display:none;}
}
.yahoo_banner_sp {width:70%;margin:0 auto;}
.yahoo_banner_sp img{width:100%;height:auto;}

/* line */
.line {width:100%;max-width:1920px;max-height:80px;padding: 0;margin:0 auto;display:flex;justify-content:center;}
@media (max-width: 768px) {
	.line {padding:0;}
}

/* メインコンテンツ */
#main {
	width:100%;
	max-width:1920px;
	padding: 0 0 20px 0;
	margin:0 auto;
}
#main article {width:100%;margin:0 auto;padding:0;}
#main img {max-width:100%;height:auto;}
.date-area {display:flex;justify-content:flex-end;margin:0;padding:0 5px;font-size:.9em;}
.news-area {width:50%;margin:2% auto;padding:2%;}
.news-h3 {display:flex;align-items:center;margin-top:-9%;margin-left:-9%;font-size: clamp(1rem, 2vw, 2rem);}
.news-h3 span {display:inline-flex;color:#ffffff;background:#1d2088;border-radius:1999px;padding:5px 25px;}
.news-area ul {list-style:none;padding:0;margin:0 0 10px 0;font-size: clamp(0.8rem, 1.3vw, 1.5rem);}
.news-area ul li {padding:0;margin:0 0 10px 0;}
.news-area ul li a {color:#333333;text-decoration:none;}
.news-area ul li a:hover {text-decoration:underline;}
.news-area ul li a span {padding-left:10px;}
.hero-area {width:100%;max-width:1920px;margin:0 auto;padding:40px 0 40px 0;background-image:url('images/bg-image.jpg');background-repeat:repeat-y;}
.hero-area img {width:100%;height:auto;}
.hero-area p {display:flex;justify-content:flex-end;margin:0;padding:0 5px;font-size:11px;}
.main-h2 {display:flex;font-size: clamp(2rem, 3.5vw, 3rem);margin:0;justify-content:center;letter-spacing:8px;}
.main-h2 img {width:200px;height:auto;padding:10px 0 30px 0;}
.bg01 {width:100%;padding:0 0 3% 0;margin:0 auto;background-image:url('images/bg-image.jpg');background-repeat:repeat-y;}
.img-area {width:98%;margin:1% auto;text-align:center;}
.img-button {width:50%;margin:2% auto 10% auto;text-align:center;}
.img-button a:hover {opacity:.8;transition: 0.3s;}
.img-button2 {width:100%;margin:2% auto 10% auto;text-align:center;}
.img-button2 a:hover {opacity:.8;transition: 0.3s;}
.content-h2 {display:flex;justify-content:center;}
.content-h2 span {display:inline-flex;color:#1d2088;border-bottom:3px solid #1d2088;font-size:1em;}
.category-area {width:60%;background:#FFFFFF;margin:60px auto;padding:0 5% 5% 5%;}
.category-area ul {width:100%;list-style:none;margin:0 auto 50px auto;padding:50px 0 0 0;}
.category-area ul li {width:100%; margin-bottom:80px;}
.category-area ul li h3{width:100%;padding-bottom:10px;border-bottom:1px solid #333333;}
.category-area ul li h3 small {font-size:70%;padding:0 15px;}
.category-area ul li article {width:calc(100% - 30px)!important;}
.page-area {width:80%;background:#FFFFFF;margin:0 auto;padding:0 5% 5% 5%;}
.page-area h3 {border-bottom:1px solid #333333;width: fit-content;margin: 30px auto;padding-bottom: 5px;font-size: clamp(1.5rem, 2.2vw, 2.3rem);}
.prize-area {width:70%;background:#FFFFFF;margin:0 auto;padding:0 5% 5% 5%;}
.prize-area h4 {border-bottom:1px solid #333333;}
@media (max-width: 768px) {
	#main {width:100%;margin-bottom:10%;}
	.news-area {width:86%;margin:2% auto;padding:2%;}
	.news-h3 {margin-top:-12%;margin-left:-12%;}
	.news-area ul li a span {padding-left:5px;display:block;}
	.category-area {width:84%;margin:30px auto;}
	.page-area {width:90%;margin:0 auto;}
	.page-area h3 {font-size:21px;}
	.prize-area {width:90%;margin:0 auto;}
}

.story-box {
width: 100%;
max-width: 1920px;
margin:0 auto 3% auto;
aspect-ratio: 1920 / 1125;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.story-box-sp {
width: 100%;
max-width: 1125px;
margin:0 auto 3% auto;
aspect-ratio: 1125 / 2298;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.story-copy{font-size: clamp(0.5rem, 1.2vw, 1.2rem);line-height: 210%;padding-left: 46.5%;padding-top:7.5%;}
.story-copy p {margin-bottom:4%;}
.story-copy-sp {font-size:3.2vw;line-height: 164%;width: 90%;margin: 0 auto;padding: 80% 0 0 0;}

/* フッター */
footer {
color: #333333;
width:100%;
max-width:1920px;
padding:5px 0;
margin:0 auto;
}
footer a{text-decoration:none;color:#333333;}
footer a:hover {text-decoration:underline;}
footer img {max-width:100%;height:auto;vertical-align:baseline;}

.footer-box {width:70%;display:flex;flex-direction:row;margin:50px auto;}
.footer-left {max-width:40%;margin-right:5%;}
.footer-left h3 {margin-top:0;}
.footer-right {flex:1;}
.footer-address {width:100%;display:flex;justify-content:space-between;margin-bottom:10px;align-items:center;}
.footer-address img {width:40px;margin-left:10px;}
.foot-attent {width:36%;display:flex;margin:20px auto;}
.copyright {display:flex;justify-content:center;margin:0 auto;font-size: clamp(0.5rem, 1vw, 1.2rem);}
@media (max-width: 768px) {
	.footer-box {width:94%;flex-direction:column;}
	.footer-left {width:100%;max-width:100%;margin:0 auto 50px auto;word-break:break-word;}
	.footer-address img {width:50px;margin-left:10px;}
	.foot-attent {width:80%;}
}

/* 1. 親枠の設定（リンク全体） */
.hover-image-link {
  display: inline-block; /* PCではインラインブロック */
  position: relative;    /* 重ねるための基準点 */
  line-height: 0;        /* 画像下の隙間を消す */
  text-decoration: none; /* リンクの下線を消す */
max-width: 80%;
	margin:5px auto;
}

/* 2. 通常時の画像（土台） */
.hover-image-link .img-normal {
  display: block;       /* 余白を消す */
  
  /* ★重要：80%から変更。親枠に合わせてピッタリ埋める */
  width: 100%;          
  height: auto;         
}

/* 3. ホバー時の画像（上に重ねる） */
.hover-image-link .img-hover {
  position: absolute;   
  top: 0;
  left: 0;
  
  /* ★重要：ここも100%に変更。親枠と完全に一致させる */
  width: 100%;          
  height: 100%;         
  
  opacity: 0;           
  transition: opacity 0.3s ease; 
}

/* 4. マウスが乗った時の動作 */
.hover-image-link:hover .img-hover {
  opacity: 1;           
}

/* -------------------------------------------------- */
/* 5. スマホ（768px以下）での中央寄せ設定 */
/* -------------------------------------------------- */
@media screen and (max-width: 768px) {
  .hover-image-link {
    display: block;      /* ブロック要素にしてマージンを効かせる */
    width: 70%;          /* ★スマホでの表示サイズ（ここでお好みの幅を指定） */
    margin: 20px auto 0 auto;    /* 上下5px、左右自動（中央寄せ） */
  }
}

/* Google Map */

.gmap-wrap {width:100%;padding:0;margin:0 auto;}
.gmap-wrap p{color:#00318b;}
.map-embed{
  aspect-ratio: 4 / 3;  /* 4:3 比率でレスポンシブ対応 */
  width: 100%;
  max-height:350px;
  margin: auto;
}
.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* クリックされるまで地図操作を無効化（スクロール優先） */
.map-embed.blocked iframe{
  pointer-events: none;
}

/* aspect-ratio未対応ブラウザ向けフォールバック */
@supports not (aspect-ratio: 1 / 1){
  .map-embed{
    position: relative;
  }
  .map-embed::before{
    content: "";
    display: block;
    padding-top: 56.25%; /* 4:3 */
  }
  .map-embed iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}


/* --- ボタン本体の設定（既存のコードと同じ） --- */
#back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  /* color: #008232; ←文字を使わないので削除してもOK */
  border: 1px solid #008232;
  border-radius: 50%;
  
  /* flexで中央揃え */
  display: flex;
  align-items: center;
  justify-content: center;
  
  cursor: pointer;
  z-index: 10; 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- ★ここから追加：矢印（くの字）の設定 --- */
.arrow-up {
  display: block;
  width: 12px;       /* 矢印のサイズ（お好みで変更可） */
  height: 12px;
  
  /* 線の設定：ここを太くすると矢印が太くなります */
  border-top: 3px solid #008232;   
  border-right: 3px solid #008232; 
  
  /* 45度回転させて上に向ける */
  transform: rotate(-45deg);
  
  /* 微調整：目の錯覚で少し上に寄って見えるのを直す */
  margin-top: 6px; 
}

/* 1. 画像を囲む「箱」の設定 */
.img-box {
    width: 100%;           /* ★画像の幅指定をここに移動 */
    overflow: hidden;     /* ★重要：拡大してはみ出た部分をカットする */
    margin-right: 3%;     /* 右側のテキストとの隙間（必要なら調整） */
    line-height: 0;       /* 画像の下にできる微妙な隙間を消す */
    flex-shrink: 0;       /* Flexboxで箱が潰れないようにする */
}

/* 2. 画像自体の設定 */
.img-box img {
    width: 100%;          /* 箱の中で幅いっぱい */
    height: auto;
    max-width: 100%;      /* 念のため */
    transition: transform 0.3s ease; /* アニメーション設定 */
    display: block;
}

/* 3. マウスオーバー時の動き */
.img-box img:hover {
    transform: scale(1.05);
}

/* Product */
.products {margin-top:3%;}
.product {width:65%;display:flex;flex-wrap:wrap;margin:1% auto;}
.product h3 {padding-top:0;margin:0;font-size: clamp(2.1rem, 3.6vw, 3.1rem);}
.product h4 {padding-top:5%;padding-bottom:0;margin:0;}
.product p {font-size: clamp(0.8rem, 1.3vw, 1.5rem);margin-top:0;}
.product-img {width:45%;}
.product-txt {width:50%;margin-left:5%;}
.product article ul {font-size: clamp(0.8rem, 1.3vw, 1.5rem);}
@media (max-width: 768px) {
	.product {width:90%;flex-direction:column;margin:0 auto;}
	.product-img {width:100%;}
	.product-img img {width:100%;height:auto;}
	.product-txt {width:96%;margin-left:0;margin:0 auto 45px auto;}
}
@media (min-width: 769px) {
.product article ul {
    padding: 0;
    margin: 3% 0;
    list-style: none; /* デフォルトの機能はオフにする */
}

.product article ul li {
    display: inline; /* 横並びにする */
}

/* 各項目の「前」に点を打つ設定 */
.product article ul li::before {
    content: "・"; /* ここに好きな記号を入れる（例："●", "★", "-"） */
    margin-right: 4px; /* 点と文字の隙間 */
    
    /* 2つ目以降の項目の左側に少し隙間を入れる */
    margin-left: 10px; 
}

/* （お好みで）最初の項目の左側の隙間は不要なら消す */
.product article ul li:first-child::before {
    margin-left: 0;
}
}
/* こちらからお買い求めいただけます */
.storelist {
    width: 80%;
    margin: 5% auto;
    padding: 0;
}
.storelist h3 {
	font-size: clamp(1.5rem, 1.8vw, 2rem);
	text-align:center;
    background: url('images/bg-image.jpg');
    background-size: cover;
    background-repeat: repeat-y;
	padding:10px 0;
}
.storelist ul {
	width:100%;
    list-style: none;
    display: flex;
	justify-content:space-between;
	padding:0;margin:0;
}
.storelist ul li {width:30%;padding-bottom:20px;}

@media (max-width: 768px) {
.storelist {
    width: 80%;
    margin: 5% auto;
    padding: 0;
    background: #deefe4;
    
    /* ▼ここから追加・変更▼ */
    position: relative; /* h3の配置の基準にする */
    padding-top: 80px;  /* h3が浮くため、リストが隠れないように上の余白を確保（h3の高さ+20px分くらい） */
}

/* 見出し */
.storelist h3 {
	font-size: 21px;
	text-align:center;
    background: url('images/bg-image.jpg');
    background-size: cover;
    background-repeat: repeat-y;
	padding:10px 0;
    
    /* ▼ここから追加・変更▼ */
    position: absolute; /* フローから切り離して配置 */
    top: 30px;          /* 上辺から20px下げる */
    
    /* 左右いっぱいに広げる魔法の記述 */
    width: 97vw;       /* 画面幅いっぱいに */
    left: 50%;          /* 親の中心を起点に */
    transform: translateX(-50%); /* 自身の幅の半分だけ左に戻して中央揃え */
    
    margin: 0;          /* 余計な余白を消す */
    box-sizing: border-box; /* パディングを含めたサイズ計算にする */
}

/* リスト */
.storelist ul {
	width:80%;
    list-style: none;
    display: flex;
	flex-direction:column;
    padding: 35px 0 0 0;
    margin: 0 auto;
}
.storelist ul li {width:100%;padding-bottom:20px;}
}

/* 一夜干しができるまで */
.howmade {display:flex;flex-direction:row-reverse;}
.howmade-img {flex:1;padding:7% 0 0 7%;}
.howmade-img span {display:block;padding-bottom:3%;}
.howmade-title {width:4%;max-width:79px;padding:0 90px 0 2%;}
.howmade-copy {writing-mode: vertical-rl;font-size: clamp(0.5rem, 1.1vw, 1.2rem);line-height: 180%;padding-left: 57%;}
.howmade-copy-sp {writing-mode: vertical-rl;font-size:3.2vw;line-height: 215%;padding-left: 0%;}
.howmade-box {
width: 100%;
max-width: 1520px;
margin:0 auto 3% auto;
aspect-ratio: 1520 / 990;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.howmade-box2 {
width: 100%;
max-width: 1520px;
margin:0 auto 3% auto;
aspect-ratio: 1520 / 859;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.howmade-box-sp {
width: 100%;
max-width: 1007px;
margin:15% auto 0 auto;
aspect-ratio: 1007 / 2430;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.howmade-box2-sp {
width: 100%;
max-width: 1005px;
margin:15% auto 15% auto;
aspect-ratio: 1007 / 2190;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


@media (max-width: 768px) {
	.howmade {flex-direction:column;}
	.howmade-img {flex:1;padding:7% 5% 5% 5%;}
	.howmade-title {width:90%;max-width:90%;padding:0 0 0 0;margin:auto;}
}

/* Instagram */
.insta {margin-bottom:10%;}

/* 代表ごあいさつ */
.greeting {width:65%;margin:5% auto;padding-bottom:5%;display:flex;border-bottom:1px solid #333333;}
.greeting-txt {flex:1;}
.greeting-txt p {font-size: clamp(0.6rem, 1vw, 1.3rem);margin-top:0;line-height:155%;}
.greeting-pic {width:27%;padding-left:3%;}
.greeting-en {width:65%;margin:5% auto;}
.greeting-en h2 {text-align:center;}
.greeting-en p {font-size: clamp(0.8rem, 1.3vw, 1.5rem);margin-top:0;line-height:155%;}
.sign {width: fit-content;margin-left: auto;text-align: left;margin-top: 40px;line-height: 1.4;}
.white-line {width:100%;height:15px;padding:0;margin:5% auto 20px auto;background:#FFFFFF;}
@media (max-width: 768px) {
	.greeting {width:86%;flex-direction:column-reverse}
	.greeting-pic {width:75%;padding:0 0 5% 0;margin:0 auto;}
	.greeting-txt p {font-size:15px;}
	.greeting-en {width:86%;margin:5% auto;padding-top:10px;padding-bottom:30px;}
	.greeting-en p {font-size:15px;}
}

/*　緑ボタン　*/
.button-wrapper {
    text-align: center; /* 中身（ボタン）を中央に寄せる */
}
.follow-button {
  /* ▼ここを追加：リンクでもボタンのような箱として扱えるようにする */
  display: inline-block;

  /* ▼ここを追加：リンクの下線を消す */
  text-decoration: none;

  /* --- 以下はさきほどと同じです --- */
  --main-color: #006837;
  --bg-color: #ffffff;
  
font-size: 21px;
	font-weight:600;
  color: var(--main-color);
  
  background-color: var(--bg-color);
  border: 1px solid var(--main-color);
  border-radius: 6px;
  padding: 6px 20px;
  
  transition: all 0.2s ease;
}

.follow-button:hover {
  color: var(--bg-color);
  background-color: var(--main-color);
}

.arrow-heading {
	display: inline-block;
	position: relative;
	padding-right: 2em;
}

.arrow-heading::after,
.arrow-heading::before {
  content: "";
  position: absolute;
  background-color: currentColor;
}

.arrow-heading::after {
  right: 0;
  top: calc(50% + 5px);
  width: 1.5em;
  height: 2px;
  transform: translateY(-50%);
}

.arrow-heading::before {
  right: 0;
  top: calc(50% + 5px);
  width: 0.8em;
  height: 2px;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right bottom;
}

/* 長谷川商店のこと */
.head-pic, .gallery-area {width:80%;margin:0 auto;padding:110px 0 0 0;}
.head-pic h2 {margin:0 auto;padding:0;font-size:1px;}
.head-pic img{width:100%;}
.mission-box {width:40vh;margin:0 auto;}
.mission-box span {display:block;padding-left:20px;font-size:75%;}
.info-box {width:50%;margin:0 auto;}
.history-box {width:60%;background:#FFFFFF;margin:10% auto;padding:0 5% 5% 5%;font-size: clamp(0.8rem, 1.3vw, 1.5rem);}
.history-box h5 {padding:50px 0 0 0;margin:0;font-size: clamp(0.8rem, 1.3vw, 1.5rem);}
.history-box p {font-size: clamp(0.6rem, 1vw, 1.2rem);line-height:180%;}
.histories {width:80%;margin:50px auto;}
.prize-area h5 {font-size: clamp(0.8rem, 1.3vw, 1.5rem);}
.prize-table {width:100%;margin:0 auto 20px auto;font-size: clamp(0.8rem, 1.3vw, 1.5rem);}
.prize-table tr {display:flex;}
.prize-table tr td:first-child {width:15%;font-weight:600;}
.prize-table tr td:nth-child(2) {flex:1;}
.prize-table tr td:nth-child(3) {flex:1;}
.gallery-area {width:80%!important;margin:0 auto;}
.gallery-area h3 {border-bottom:1px solid #333333;width:25%;margin: 50px auto 30px auto;padding-bottom: 5px;font-size: clamp(1.2rem, 2.1vw, 2rem);}

@media (max-width: 768px) {
	.head-pic {width:100%;}
	.gallery-area {width:90%!important;}
	.gallery-area h3 {width:60%;}
	.mission-box {width:90%;}
	.info-box {width:90%;}
	.history-box {width:80%;}
	.histories {width:100%;}
	.prize-table {width:100%;}
	.prize-table tr {width:100%;flex-direction:column;}
	.prize-table tr td {width:100%;margin:0 auto;}
	.prize-table tr td:first-child {width:100%;padding-bottom:10px;}
	.prize-table tr td:nth-child(3) {width:74%;padding-left:25%;}
}
dl {display: grid;grid-template-columns: 30% 1fr;gap: 0;border-top: 1px solid #333333;margin: 30px 0;font-size: clamp(0.8rem, 1.3vw, 1.5rem);}
dl dt, dl dd {border-bottom: 1px solid #333333;margin: 0;padding: 15px 0 15px 20px;display: flex;align-items: center;}
dd.spans {display:flex;flex-direction:column;align-items:flex-start;}
@media (max-width: 768px) {
	dl {grid-template-columns: 36% 1fr;}
}


/*wp-pagenavi base*/
.wp-pagenavi {
	clear: both;
	text-align:center;

}
.wp-pagenavi a, .wp-pagenavi span {
	color: #999;
	background-color: #FFF;
	border: solid 1px #e0e0d2;
	padding: 8px 15px;
	margin: 0 2px;
	white-space: nowrap;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration:none;
}
.wp-pagenavi a:hover{
    color:#FFF; 
    background-color:#008232; 
    border-color:#008232;
    }
.wp-pagenavi span.current{
	color: #008232;
	background-color: #e0f0e7;
	border-color: #008232;
	font-weight: bold;
    }

.yahoo_sp {width:calc(84% - 30px);margin:8% 8% 0 8%;background:#d4e9dd;padding:15px;}
.yahoo_sp img{width:100%;height:auto;vertical-align:bottom;}
.insta-box {width:65%;margin:auto;}
@media (max-width: 768px) {
.insta-box {width:90%;margin:auto;}
}