@charset "Shift_JIS";

/*--------------------------------------------------------
  フルCSSプロフェッショナルテンプレート部品設定
--------------------------------------------------------*/

.hpb-parts-cnt-style
{
    border-color: #826C56;
    text-align: left;
}

.hpb-parts-hl-style
{
    margin: 5px 0px;
    padding: 8px 5px 0.2em;
    background-image: none;
    border-color: #826C56;
}

.hpb-parts-cbox-style
{
    border-color: #826C56;
}

.hpb-parts-img-02
{
    background-color: #ffffff;
}

.hpb-parts-hr-style
{
    border-color: #ffffff;
}

.hpb-parts-pbox-style
{
    background-color: #F2EEEA;
    border-color: #ffffff;
    color: #ffffff;
}
.hpb-parts-pbox-style h4
{
    margin: 0px;
    padding: 0px;
    background-image: none;
    display: block;
}
.hpb-parts-pbox-style img
{
    background-color: #ffffff;
}

.hpb-parts-blist-style
{
    border-color: #826C56;
}
a.hpb-parts-blist-style:link
{
    color: #333333;
}
a.hpb-parts-blist-style:visited
{
    color: #333333;
}
a.hpb-parts-blist-style:hover
{
    color: #826C56;
}
a.hpb-parts-blist-style:active
{
    color: #826C56;
}

/*--------------------------------------------------------
  ユーザー設定スタイル
--------------------------------------------------------*/
/*--------------
  パンくず
----------------*/
/* パンくず全体 */
.breadcrumb {
  text-align: center;
}

/* 区切り矢印 */
.breadcrumb-separator {
  color: #5A3A22;
  margin: 0 6px;
}

/* 現在ページ */
.breadcrumb-current {
  color: #2B1B17;
  font-weight: bold;
}

/* ご当地・限定 */
.limited-label {
  color: #C73E3A;
}

/*--------------
  ご当地名リスト
----------------*/
/* ご当地名リスト */
.gotouti-links {
  display: flex;
  align-items: center;
  gap: 12px;

  flex-wrap: wrap;      /* ← 右に溢れたら左下へ */
}

/* 全部だけ左端に固定 */
.gotouti-links .all-link {
  margin-right: auto; /* ← これで左端固定 */
}

/* 通常リンク */
.gotouti-links a {
  text-decoration: none;
  white-space: nowrap;
}

/* アクティブ */
.gotouti-links a.active {
  font-weight: bold;
  color: #C73E3A;
  border-bottom: 2px solid #C73E3A;
}

/*--------------
  ナビにアイコン画像追加
----------------*/
/* ナビ全体 */
#hpb-nav ul li a {
  display: flex;
  align-items: center;
}

/* 文字の前にアイコン */
#hpb-nav ul li a::before {
  content: "";
  display: inline-block;
  width: 30px;          /* アイコン幅 */
  height: 30px;         /* アイコン高さ */
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* アイコンURL */
#menu01 a::before { background-image: url("./img/icon/top.png"); }
#menu02 a::before { background-image: url("./img/icon/capsule.png"); }
#menu03 a::before { background-image: url("./img/icon/wood.png"); }
#menu04 a::before { background-image: url("./img/icon/metal.png"); }
#menu05 a::before { background-image: url("./img/icon/leather.png"); }
#menu06 a::before { background-image: url("./img/icon/acryl.png"); }
#menu10 a::before { background-image: url("./img/icon/color.png"); }
#menu07 a::before { background-image: url("./img/icon/bamboo.png"); }
#menu08 a::before { background-image: url("./img/icon/amuse.png"); }
#menu09 a::before { background-image: url("./img/icon/goods.png"); }
#menu20 a::before { background-image: url("./img/icon/limited.png"); }
#menu30 a::before { background-image: url("./img/icon/capsule2.png"); }
#menu40 a::before { background-image: url("./img/icon/yahoo.png"); }

/*--------------
  画像表示
----------------*/
/* ギャラリーアイテム */
.item{
    height: 260px;
    border: 1px solid #5A3A22;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
    background-color: #ffffff;
    border-radius: 6px;   /* ← ほんのり丸める */
	display: flex;
	flex-direction: column;
	align-items: center;   /* ← 左右ズレ完全防止 */
    /* 立体感 */
    box-shadow:
        0 2px 4px rgba(0,0,0,0.2),
        0 6px 12px rgba(0,0,0,0.15);

    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
@media screen and (max-width: 568px) {
  .item {
     height: 270px;
 }
}
/* ギャラリー内タイトル（強調版） */
.item h4{
    margin: 8px 0 6px;
    padding: 6px 10px;
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #2B1B17;

    border-left: 6px solid #5A3A22;
    border-right: 6px solid #5A3A22;  /* 右ライン */
	
    background: linear-gradient(
        to right,
    rgba(198,174,150,0.95) 0%,   /* ← 明るい茶（ハイライト） */
    rgba(143,119,98,0.90) 35%,   /* ← いつもの濃い茶 */
    rgba(143,119,98,0.70) 65%,
    rgba(143,119,98,0.55) 100%
    );
	box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.15);
	
    align-self: stretch;   /* ← 重要 */
    text-align: center;
    text-shadow:
        0 0 6px rgba(255,255,255,0.8),
        0 0 2px rgba(255,255,255,0.9);
	
}
.item p {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    text-align: left;
}

/* ホバーで浮く */
.item:hover{
    transform: translateY(-4px);
    box-shadow:
        0 4px 8px rgba(0,0,0,0.25),
        0 12px 24px rgba(0,0,0,0.25);
}

/* ギャラリー内画像 */
.item img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;   /* 比率維持 */
	background-color: #fff;
	display: block;
}
@media screen and (max-width: 568px) {
  .item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
}
/* 画像の白背景ボックス */
.img-box{
    width: 200px;
    height: 200px;
    background-color: #fff;
	
    display: flex;
    align-items: center;    /* 左右中央 */
    justify-content: center;/* 上下中央 */
	
    padding: 5px;
    margin-top: 5px;        /* 上の茶色 */
    margin: 5px auto 0;   /* ← 左右 auto で常に中央 */
    margin-bottom: 0;

    box-sizing: border-box;

    border: 1px solid #826C56;   /* 枠線 */
    border-radius: 6px;          /* ほんのり角丸（不要なら削除） */
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
    overflow: hidden;   /* ← 枠をはみ出さない */

}
@media screen and (max-width: 568px) {
  .img-box{
    max-width: calc(100% - 10px); /* 茶色の余白ぶん */
  }
}

/* 中の画像 */
.img-box img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;    /* 切れない */
    display: block;
}
/* ==============================
   ナビ：枠だけデザイン
============================== */

/* 全メニュー共通（非アクティブ） */
#hpb-nav li{
    border: 1px solid #5A3A22;   /* 枠 */
    border-radius: 10px;
    margin: 1px 2px;             /* ボタン間隔 */
    box-sizing: border-box;
    background: transparent;
	background-color: #8F7762; /* ← 背景色 */	
    box-shadow: 0 1px 2px rgba(0,0,0,0.25);	/* 影を追加 */
	   
    transition: transform 0.15s ease, box-shadow 0.15s ease;	 /* 浮くアニメーション */
}

/* カーソルが来たら少し浮く */
#hpb-nav li:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.35);
}

/* アクティブ（PHPの inline style が入った li） */
#hpb-nav li[style]{
    border-color: #5A3A22; /* アクティブは枠も濃く */
}

/* ==============================
   カテゴリ一覧の li に◆を付ける
============================== */
details ul li::before{
    content: "◆";
    color: #5A3A22;
    margin-right: 6px;
    font-size: 0.9em;
}
/* ==============================
   ポップアップ画像
============================== */
.zoomable { cursor:pointer; }

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-inner {
  position: relative;
  display: inline-block;
}

.modal-content {
  width: 600px;
  height: 600px;
  object-fit: contain;
  background: #fff;
  max-width: 90vw;
  max-height: 80vh;
  border: 5px solid #fff;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .modal-content {
    width: 90vw;
    height: 90vw;
  }
}

/* 矢印ボタン共通 */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: none;
  font-size: 26px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  z-index: 10001; /* これ重要 */

}

/* スマホ向け微調整 */
@media (max-width: 600px) {
  .nav {
    width: 56px;
    height: 56px;
    font-size: 30px;
    line-height: 56px;
  }
}

/* 左右位置 */
.nav.prev { left: 0px; }
.nav.next { right: 0px; }

/* PC表示：画像のすぐ横に矢印 */
@media (min-width: 601px) {
  .nav.prev {
    left: calc(50% - 300px);
  }

  .nav.next {
    right: calc(50% - 300px);
  }
}

/* ホバー時（PC） */
.nav:hover {
  background: rgba(0, 0, 0, 1);
}

/* 押したとき */
.nav:active {
  transform: translateY(-50%) scale(0.95);
}


.close {
  position: absolute;
  top: -16px;     /* 微調整OK */
  right: -16px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 30px;
  text-align: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  cursor: pointer;
  z-index: 10002;
}

/* ==============================
   「限定」画像
============================== */
img.limited-label {
  background: none !important;
  padding: 0 !important;
  display: inline-block;
  height: 30px;
  width: auto;
  vertical-align: middle;
  margin-left: 6px;

  /* 立体感アップ */
  filter:
    drop-shadow(0 1px 2px rgba(0,0,0,0.35))
    drop-shadow(0 3px 6px rgba(0,0,0,0.25));

  transform: translateY(-1px);
}
@media screen and (max-width: 568px) {
  img.limited-label {
    max-height: 30px !important;
    transform: translateY(-0.5px);
  }
}
/* ギャラリー内 h2（ご当地名＋限定） */
.item h2{
    margin: 10px 0 4px;   /* 余白（上　左右　）　 */
    padding: 0;
    line-height: 1.2;
}

/* ==============================
   タイトル
============================== */
#hpb-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;  /* 改行しない */
}
/* ===   タイトルロゴ　　=== */
#hpb-title h1{
    filter: drop-shadow(2px 2px 0 #5A3A22)
            drop-shadow(5px 5px 6px rgba(0,0,0,0.35));
}
/* 左：タイトル画像 */
.title-left {
  flex: 0 0 auto;
}
.title-left h1 {
  margin: 0;
}
.title-left img {
  width: 400px;
  height: auto;
  max-height: none;
}

/* 中央：テキスト＋右画像 */
.title-center {
  flex: 1;
  display: flex;             /* ← PCでも横並びに */
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* 左テキスト */
.title-center .text-block {
  flex: 1;                  /* 左側を広く使う */
}
.title-center h2 {
  margin: 0 0 6px;
}
.title-center p {
  margin: 0;
}

/* 右画像 */
.title-center .title-right {
  flex: 0 0 auto;           /* 幅固定 */
}
.title-center .title-right img {
  max-height: 100px;
  width: auto;
}

/* ===   スマホ用　　=== */
@media screen and (max-width: 568px) {

  /* タイトル全体：縦積み */
  #hpb-title{
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* 左：タイトル画像 */
  .title-left{
    width: 100%;
    text-align: center;
  }
  .title-left img{
    width: 80%;
    max-width: 300px;
    height: auto;
  }

  /* 中央：テキスト＋右画像を横並び */
  .title-center{
    width: 100%;
    gap: 8px;
  }

  .title-center .title-right img{
    width: 90px; /* 横に収める */
    height: auto;
  }
}