:root {
  --primary-color: #b70100; /*テンプレートのメインとなる色*/
  --primary-inverse-color: #fff; /*primary-colorの対として使う色*/

  --accent-color: #ff8808; /*テンプレートのアクセントとなる色*/
  --accent-inverse-color: #fff; /*accent-colorの対として使う色*/

  --content-space: 2rem; /*余白の一括管理用。2rem＝２文字分。*/
}
.inner{
  max-width: 1240px;
  margin: 0 auto;
  width: 92%;
  font-size: 18px;
}

.news-term-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.news-term-nav li a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f2f2f2;
  text-decoration: none;
  color: #333;
}

.news-term-nav li.is-current a,
.news-term-nav li a:hover {
  background: var(--primary-color);
  color: #fff;
}

.store-list-table {
  width: 92%;
  border-collapse: collapse;
 margin: 0 auto;
 margin-top: 3rem;
}

.store-list-table th,
.store-list-table td {
  padding: 16px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.store-list-table th {
  background: #f7f7f7;
  /*width: 160px;*/
  width: auto;
}

.store-list-table a {
  text-decoration: underline;
}
.store-item img{
 width: 60px;
}
@media screen and (max-width: 767px) {
  .store-list-table th,
  .store-list-table td {
    display: block;
    width: 100%;
  }
.store-list-table {
 margin-top: 2rem;
}
}

ul{
  list-style: none;
}
a{
  text-decoration: none;
}
.wp-block-image {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}
.store-topics .topics-contents{
  max-width: 800px;
  margin: 0 auto;
}
.store-topics .topics-contents .topic-item {
  padding: 40px 0;
  border-bottom: 1px solid #ccc;
  
}
.store-topics .topics-contents .topic-item:first-child{
  padding-top: 0;
}
.store-topics .topics-contents .topic-item:last-child
{
  padding-bottom: 0;
  border-bottom: 0;
}
.store-topics .topics-contents .topic-item .topic-title {
  display: flex;
 align-items: center;
}
.store-topics .topics-contents .topic-item .topic-title::before {
  content: "";
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin-right: 0.3em;
  background: var(--accent-color);
}
.page-bottom-bnr .recruit-bnr{
  background-image: url(../images/common/Employee_recruitment.jpg);
  background-size: cover;
  background-position: center;
  height: 12vw;
  width: 100%;
  
}
.page-bottom-bnr .recruit-bnr{
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 5vw;
  font-weight: 700;
  width: 100%;
  height: 200px;
  font-family: "Yu Gothic", sans-serif;

}
@media (max-width:768px){
  .page-bottom-bnr .recruit-bnr{
    height: 90px;
  }
}
.bnr-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
  margin-top: 40px;
  list-style: none;
}

.bnr-list li {
  width: 100%;
}

.bnr-list a {
  display: block;
}

.bnr-list img {
  width: 100%;
  height: auto;
  display: block;
}

/* SPは1列 */
@media (max-width: 768px) {
  .bnr-list {
    grid-template-columns: 1fr;
  }
}
/* single-news */
.single-news-header {
  margin-bottom: 32px;
}

.single-news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.single-news-cats {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.single-news-cats .cate {
  padding: 4px 10px;
  border: 1px solid #ccc;
  font-size: 1.2rem;
  line-height: 1;
}

.single-news-title {
  font-size: 2rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
@media screen and (max-width:768px){
  .single-news-title{
    font-size: 1.4rem;
  }
.store-list-table{
 width: 100%;	
}
.inner{
 width: 100%;	
}
}
.single-news-body {
  margin-bottom: 40px;
}
.single-news-back{
  text-align: center;
}
.single-news-back a {
  display: inline-block;
 
}

.single-news-pager {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
/* ============================================================
   シンコウ様 ヘッダー動き演出 追加CSS
   既存の shinkou.css の後ろに読み込んでください（上書きのため）
   ============================================================ */

:root {
  /* ブランドカラーはご希望の色に変更してください */
  --shinkou-accent: #d6001c;      /* お問合せボタン塗りつぶし色（仮：赤系） */
  --shinkou-ig: #d6249f;          /* Instagramボタン塗りつぶし色（仮：Instagram系） */
}

/* ------------------------------------------------------------
   1. ヘッダー背景：水平に流れる走行ライン
   （HTML側は shinkou-header-lines.js で自動生成されます）
   ------------------------------------------------------------ */
header {
  position: relative;
  overflow: hidden;
}

.shinkou-speedlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shinkou-speedline {
  position: absolute;
  left: 0;
  height: 2px;
  background: rgba(0, 0, 0, 0.09);
  border-radius: 2px;
  animation: shinkou-line-slide 3.6s linear infinite;
}

@keyframes shinkou-line-slide {
  0%   { transform: translateX(-140px); opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(110vw); opacity: 0; }
}

/* headerの中身を背景より前面に */
header > * {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------
   2. ロゴ：常時ゆっくり光が横切る演出 + ホバーで軽く拡大
   ------------------------------------------------------------ */
#logo a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

#logo a:hover {
  transform: scale(1.03);
}

#logo a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shinkou-logo-shine 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shinkou-logo-shine {
  0%   { left: -60%; }
  30%  { left: 130%; }
  100% { left: 130%; }
}

/* ------------------------------------------------------------
   3. Instagram / お問合せボタン：塗りつぶしホバー + アイコン微動
   ------------------------------------------------------------ */
.btn-box li a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 0;
  transition: color 0.3s ease;
}

.btn-box li a::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-102%);
  transition: transform 0.35s ease;
  z-index: -1;
}

.btn-box li:nth-child(1) a::before {
  background: var(--shinkou-ig);
}

.btn-box li:nth-child(2) a::before {
  background: var(--shinkou-accent);
}

.btn-box li a:hover::before {
  transform: translateX(0);
}

.btn-box li a:hover {
  color: #fff;
}

/* アイコンだけ少し弾ませる */
.btn-box li a i {
  transition: transform 0.35s ease;
}

.btn-box li a:hover i {
  transform: scale(1.15) rotate(-6deg);
}

/* Instagramアイコンは常時ごく弱いパルス（控えめ） */
.btn-box li:nth-child(1) a i {
  animation: shinkou-ig-pulse 3.2s ease-in-out infinite;
}

@keyframes shinkou-ig-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* ------------------------------------------------------------
   4. アクセシビリティ配慮：動きを減らす設定のユーザーには停止
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  header::before,
  #logo a::after,
  .btn-box li a i {
    animation: none !important;
  }
}
:root {
  /* ブランドカラーはご希望の色に変更してください */
  --shinkou-accent: #d6001c;      /* お問合せボタン塗りつぶし色（仮：赤系） */
  --shinkou-ig: #d6249f;          /* Instagramボタン塗りつぶし色（仮：Instagram系） */
}

/* ------------------------------------------------------------
   1. ヘッダー背景：水平に流れる走行ライン
   （HTML側は shinkou-header-lines.js で自動生成されます）
   ------------------------------------------------------------ */
header {
  position: relative;
  overflow: hidden;
}

.shinkou-speedlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shinkou-speedline {
  position: absolute;
  left: 0;
  height: 2px;
  background: rgba(0, 0, 0, 0.09);
  border-radius: 2px;
  animation: shinkou-line-slide 3.6s linear infinite;
}

@keyframes shinkou-line-slide {
  0%   { transform: translateX(-140px); opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(110vw); opacity: 0; }
}

/* headerの中身を背景より前面に */
header > * {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------
   2. ロゴ：常時ゆっくり光が横切る演出 + ホバーで軽く拡大
   ------------------------------------------------------------ */
#logo a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

#logo a:hover {
  transform: scale(1.03);
}

#logo a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shinkou-logo-shine 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shinkou-logo-shine {
  0%   { left: -60%; }
  30%  { left: 130%; }
  100% { left: 130%; }
}

/* ------------------------------------------------------------
   3. Instagram / お問合せボタン：塗りつぶしホバー + アイコン微動
   ------------------------------------------------------------ */
.btn-box li a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 0;
  transition: color 0.3s ease;
}

.btn-box li a::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-102%);
  transition: transform 0.35s ease;
  z-index: -1;
}

.btn-box li:nth-child(1) a::before {
  background: var(--shinkou-ig);
}

.btn-box li:nth-child(2) a::before {
  background: var(--shinkou-accent);
}

.btn-box li a:hover::before {
  transform: translateX(0);
}

.btn-box li a:hover {
  color: #fff;
}

/* アイコンだけ少し弾ませる */
.btn-box li a i {
  transition: transform 0.35s ease;
}

.btn-box li a:hover i {
  transform: scale(1.15) rotate(-6deg);
}

/* Instagramアイコンは常時ごく弱いパルス（控えめ） */
.btn-box li:nth-child(1) a i {
  animation: shinkou-ig-pulse 3.2s ease-in-out infinite;
}

@keyframes shinkou-ig-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* ------------------------------------------------------------
   4. レイアウト調整
   ------------------------------------------------------------ */

/* PC：Instagram / お問合せ を右端に寄せる */
@media (min-width: 769px) {
  header {
    display: flex;
    align-items: center;
    /* nav等、header外の要素には影響しません */
  }

  .btn-box {
    margin-left: auto;      /* これで右端に押し出す */
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

/* スマホ：Instagram / お問合せ を横並びにする
   ※ブレイクポイントは仮に768pxにしています。
     実際にハンバーガーメニューに切り替わる幅と違う場合は
     数値を合わせてください（開発者ツールで確認できます） */
@media (max-width: 768px) {
  .btn-box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .btn-box li {
    flex: 0 1 auto;    /* 均等幅ではなく文字量に合わせた幅に */
    width: auto;       /* 元のCSSで width:100% 等がある場合の上書き */
  }

  .btn-box li a {
    justify-content: center;
    width: auto;
    white-space: nowrap;   /* 「お問い合わせ」が2行に折り返さないように */
    box-sizing: border-box;
  }
}

/* 画面幅が狭い端末向けに、文字・余白を少し詰めて確実に収まるように */
@media (max-width: 380px) {
  .btn-box li a {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ------------------------------------------------------------
   5. アクセシビリティ配慮：動きを減らす設定のユーザーには停止
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  header::before,
  #logo a::after,
  .btn-box li a i {
    animation: none !important;
  }
}
