/*
Theme Name: 店舗開業ワンストップサービス
Theme URI:
Author: digi-ark
Author URI:
Description: 店舗開発ネットワーク事業のホームページ。トップ1ページ完結＋会社概要別ページ構成。HTMLそのままの構成でWordPress化。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tenpo-kaihatsu
Tags: business, one-page, custom-menu, custom-logo
*/

/* ==========================================================
   Reset & Base
   ========================================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic',Meiryo,sans-serif;
  font-weight:500;
  color:#333;
  line-height:1.7;
  background:#fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}

/* WP管理バーが出てもsticky headerが下に隠れないように */
body.admin-bar .header{top:32px}
@media(max-width:782px){body.admin-bar .header{top:46px}}

/* アンカーリンクで遷移した際に sticky ヘッダーへセクションがめり込まないよう調整 */
section[id]{scroll-margin-top:90px}
@media(max-width:900px){
  section[id]{scroll-margin-top:70px}
}
body.admin-bar section[id]{scroll-margin-top:122px}
@media(max-width:782px){
  body.admin-bar section[id]{scroll-margin-top:116px}
}

/* ==========================================================
   Variables
   ========================================================== */
:root{
  --orange:#F08300;
  --orange-dark:#D87400;
  --orange-light:#FAB76A;
  --cream:#FBEEDD;
  --cream-light:#FDF6EC;
  --beige:#F5E6D3;
  --text:#333;
  --text-sub:#666;
  --border:#E8DFD3;
  --max-w:1200px;
}

/* ==========================================================
   Layout helpers
   ========================================================== */
.wrap{max-width:var(--max-w);margin:0 auto;
  /* padding:0 24px */
}
.section{padding:64px 0}
@media(max-width:768px){
  .section{padding:48px 0}
}

/* ==========================================================
   Header
   ========================================================== */
.header{
  position:sticky;top:0;z-index:100;
  background:#fff;
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:var(--max-w);margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 24px;
  gap:24px;
}
.logo{
  display:inline-block;
  /* background:var(--orange); */
  color:#fff;
  font-weight:700;
  font-size:13px;
  /* padding:8px 14px; */
  border-radius:4px;
  white-space:nowrap;
}
.logo img {
  width: 100px;
}
.gnav{display:block}
.gnav-list{
  list-style:none;
  margin:0;padding:0;
  display:flex;gap:28px;align-items:center;
}
.gnav-list > li{margin:0;padding:0}
.gnav a{
  display:inline-block;
  font-size:14px;font-weight:700;color:#333;
  text-decoration:none;
  transition:color .2s;
}
.gnav a:hover{color:var(--orange)}
.header-cta{display:flex;align-items:center;gap:16px}
.header-tel{
  display:flex;flex-direction:column;align-items:flex-end;
  line-height:1.2;color:inherit;text-decoration:none;
}
.header-tel-label{font-size:11px;color:var(--text-sub);font-weight:500;letter-spacing:.04em}
.header-tel-num{
  display:flex;align-items:center;gap:5px;
  font-size:22px;font-weight:900;color: rgb(54, 54, 54);letter-spacing:.02em;
  margin-top:2px;
}
.header-tel-num::before{
  content:"";display:inline-block;width:18px;height:18px;
  background:#D7263D;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.21 2.2z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.21 2.2z'/></svg>") center/contain no-repeat;
}
.header-tel-time{font-size:11px;color:var(--text-sub);font-weight:500;margin-top:2px}
.header-tel-sp-label{display:none}
.btn-contact{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--orange);color:#fff;font-weight:700;font-size:13px;
  padding:12px 18px;border-radius:6px;
  transition:background .2s,transform .2s;
  white-space:nowrap;
}
.btn-contact:hover{background:var(--orange-dark);transform:translateY(-1px)}
.btn-contact-short{display:none}
.btn-contact-full{display:inline}
.btn-contact::before{
  content:"";display:inline-block;width:14px;height:14px;
  background:#fff;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/></svg>") center/contain no-repeat;
}
.menu-toggle{
  display:none;
  width:40px;height:40px;
  align-items:center;justify-content:center;
  border-radius:4px;
}
.menu-toggle-bar,
.menu-toggle-bar::before,
.menu-toggle-bar::after{
  display:block;width:22px;height:2px;background:#333;
  position:relative;transition:transform .2s,top .2s,bottom .2s;
}
.menu-toggle-bar::before{content:"";position:absolute;top:-7px;left:0}
.menu-toggle-bar::after{content:"";position:absolute;bottom:-7px;left:0}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar{background:transparent}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar::before{top:0;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar::after{bottom:0;transform:rotate(-45deg)}

@media(max-width:900px){
  .gnav{
    display:none;
    position:absolute;top:100%;left:0;right:0;
    background:#fff;border-bottom:1px solid var(--border);
  }
  .gnav.is-open{display:block}
  .gnav-list{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px 0;
  }
  .gnav a{
    display:block;
    padding:14px 24px;
    border-bottom:1px solid var(--border);
  }
  .gnav-list > li:last-child a{border-bottom:none}
  .menu-toggle{display:inline-flex}

  .header-inner{padding:10px 16px;gap:4px}
  .header-cta{gap:8px}

  /* 電話: アイコン+テキストボタンに切替 */
  .header-tel{
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    height: 40px;
    padding: 0 10px;
    background: #f08300;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
  }
  .header-tel-num,
  .header-tel-time,
  .header-tel-label{display:none}
  .header-tel-sp-label{
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: .02em;
  }
  .header-tel::before{
    content:"";display:inline-block;
    width: 18px;
    height: 18px;
    background:#fff;
    -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.21 2.2z'/></svg>") center/contain no-repeat;
    mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.21 2.2z'/></svg>") center/contain no-repeat;
  }

  /* お問い合わせボタン: ラベル短縮 */
  .btn-contact{padding:10px 14px;font-size:12px}
  .btn-contact-full{display:none}
  .btn-contact-short{display:inline}
}

/* ==========================================================
   Hero
   ========================================================== */
.hero{
  /* background:var(--cream-light); */
  padding:48px 0 56px;
}
.hero-inner{
  display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;
  max-width:var(--max-w);margin:0 auto;padding:0 24px;
}
.hero-badge{
  display:inline-block;
  /* background:var(--orange); */
  color:var(--orange);
  font-size:20px;
  font-weight:700;
  padding:6px 14px;border-radius:4px;
  margin-bottom:18px;
  border: 1px solid var(--orange);
  padding-left: 40px;
  padding-right: 40px;
}
.hero-title{
  font-size:50px;font-weight:900;line-height:1.4;
  margin-bottom:20px;letter-spacing:-.02em;
}
.hero-title .accent{color:var(--orange)}
.hero-desc{
  font-size:16px;line-height:1.9;color:var(--text-sub);
  margin-bottom:28px;
}
.hero-cta{
  background:#fff;
  /* border:2px solid var(--orange); */
  border-radius:8px;
  padding: 20px 0 20px 0;
  display:flex;align-items:center;gap:20px;flex-wrap:wrap;
}
.hero-cta-text{font-weight:700;font-size:26px}
.hero-cta-buttons{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.btn-primary{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--orange);
  color:#fff;font-weight:700;font-size:14px;
  padding: 15px 44px;
  /* border-radius:6px; */
  /* transition:background .2s,transform .2s; */
}
.btn-primary:hover{background:var(--orange-dark);transform:translateY(-1px)}
.btn-primary::before{
  content:"";display:inline-block;width:14px;height:14px;
  background:#fff;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/></svg>") center/contain no-repeat;
}
.hero-tel{display:flex;
  flex-direction:column;
  line-height:1.2;
  border: 2px solid var(--orange);
  padding: 6px 44px 6px 44px;
  text-align: center;
}
.hero-tel-num{
  display:flex;align-items:center;gap:6px;
  font-size:22px;font-weight:900;color:#333;
}
.hero-tel-num::before{
  content:"";display:inline-block;width:20px;height:20px;
  background:var(--orange);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.21 2.2z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.21 2.2z'/></svg>") center/contain no-repeat;
}
.hero-tel-time{font-size:11px;color:var(--text-sub);font-weight:500;margin-top:2px}

.hero-image{
  position:relative;border-radius:8px;
  /* overflow:hidden; */
  aspect-ratio:4/3;
  background:linear-gradient(135deg,#3a2b20,#6b4a32);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:14px;font-weight:500;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}
.hero-image img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.hero-image-placeholder{opacity:.6}
.hero-slide{
  position:absolute;inset:0;
  opacity:1;
}
.hero-image.has-slider .hero-slide{
  opacity:0;transition:opacity .8s ease-in-out;
}
.hero-image.has-slider .hero-slide.is-active{opacity:1}
.hero-dots{
  position:absolute;bottom:16px;
  left:0;
  bottom: -34px;
  transform:translateX(-50%);
  display:flex;
  gap:20px;
  z-index:2;
  transform: translateX(0);
}
.hero-dots span,
.hero-dot{
  width:8px;height:8px;border-radius:50%;background:rgb(38, 38, 38, 50%);;
  border:0;padding:0;cursor:pointer;
  transition:background .2s,transform .2s;
  
}
.hero-dot:hover{background:rgba(255,255,255,.8)}
.hero-dot:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hero-dots span.active,
.hero-dot.active{background:#2e2e2e;;transform:scale(1.15)}
@media(prefers-reduced-motion:reduce){
  .hero-image.has-slider .hero-slide{transition:none}
}
.u-sp-br {
  display: none;
}

@media(max-width:768px){
  .btn-contact {
    padding: 10px 10px;
  }
  .hero-inner{grid-template-columns:1fr;gap:32px;padding: 0 10px;}
  .hero-title{font-size: 32px;}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero {
    padding-top: 40 px;
  }
  .logo img {
    width: 78px;
  }
  .hero-cta-buttons .btn-primary {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .hero-cta-buttons  .hero-tel {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .hero-tel-num {
    margin: 0 auto;
  }
  .u-sp-br { display: inline; }
  .n-sp-br { display: none; }
  .hero-badge {
    width: 100%;
    display: flex;
    justify-content: center;
    line-height: 1.2;
  }
  
  #service.icons-section {

    padding-right: 10px;
    padding-left: 10px;
  }
}


@media (max-width: 767px) {
  .pc-br {
    display: none;
  }

  .hero-title {
    font-size: clamp(30px, 8.7vw, 44px);
    line-height: 1.2;
    text-wrap: balance;
  }
}



/* ==========================================================
   Section heading
   ========================================================== */
.sec-heading{
  display:flex;align-items:center;justify-content:center;gap:14px;
  font-size:20px;font-weight:700;
  margin-bottom:32px;
  position: relative;
}
/* .sec-heading::before, */
.sec-heading::after{
  /* content:"";display:block;width:14px;height:2px;background:#333; */

  content: "";
  border-bottom: 3px solid rgb(240, 131, 0);
  position: absolute;
  width: 50px;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
}
.sec-heading-bar{
  position: relative;
  display: inline-block;
  /* background: var(--cream); */
  padding: 10px 36px;
  border-radius: 6px;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 32px;
}

.sec-heading-bar::before {
  content: "";
  border-left: 2px solid #f08300;
  transform: rotateZ(46deg);
  transform: rotate(329deg);
  position: absolute;
  bottom: 15px;
  height: 31px;
  width: 0;
  left: 20px;
}
.sec-heading-bar::after {
  content: "";
  border-left: 2px solid #f08300;
  transform: rotateZ(46deg);
  transform: rotate(-329deg);
  position: absolute;
  bottom: 15px;
  height: 31px;
  width: 0;
  right: 20px;
}

/* ==========================================================
   Service Icons Grid
   ========================================================== */
.icons-section{padding:48px 0;background:#fff}
.icons-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px 16px;
  /* max-width:880px; */
  margin:0 auto;
}
.icon-card{
  position:relative;
  display:flex;flex-direction:column;align-items:center;
  /* gap:10px; */
  text-align:center;
  background:none;
  width:100%;
  padding:0;
  transition:transform .2s;
}
.icon-card::after{
  content:"";
  position:absolute;inset:0;
  border:3px solid var(--orange);
  opacity:0;
  transform:scale(.95);
  transition:opacity .25s ease, transform .25s ease;
  pointer-events:none;
}
.icon-card:hover::after,
.icon-card:focus-visible::after{
  opacity:1;
  transform:scale(1);
}
.icon-card:hover,
.icon-card:focus-visible{transform:translateY(-3px);outline:none}
.icon-thumb{
  width:100%;aspect-ratio:2/1;
  background:linear-gradient(135deg,#4a3525,#7a5a40);
  /* border-radius:6px; */
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
  transition:box-shadow .2s;
}
.icon-thumb svg{
  width:42px;height:42px;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.3));
}
.icon-thumb-img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.icon-card.has-image .icon-thumb{background:#222}
.icon-card.is-placeholder .icon-thumb{background:#e9e9e9}
.icon-card.is-placeholder .icon-thumb-img{object-fit:cover;opacity:.85}
.icon-label{font-size:16px;
  font-weight:700;
  color:#333;
  background: rgb(229, 229, 229);
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
}

@media(max-width:768px){
  .icons-grid{grid-template-columns:repeat(3,1fr);gap:16px 10px}
  .icon-label{font-size:12px}
}
@media(max-width:480px){
  .icons-grid{grid-template-columns:repeat(2,1fr)}
}

/* ==========================================================
   Service Modal
   ========================================================== */
.service-modal{
  position:fixed;inset:0;z-index:1000;
  display:none;
  align-items:center;justify-content:center;
  padding:20px;
}
.service-modal.is-open{display:flex}
.service-modal-overlay{
  position:absolute;inset:0;
  background:rgba(0,0,0,.55);
  animation:fadein .2s ease;
}
.service-modal-dialog{
  position:relative;z-index:1;
  background:#fff;border-radius:10px;
  max-width:520px;width:100%;
  padding:36px 28px 28px;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
  animation:popin .2s ease;
}
.service-modal-close{
  position:absolute;top:10px;right:12px;
  width:34px;height:34px;
  border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:22px;color:#666;
  transition:background .2s;
}
.service-modal-close:hover{background:var(--cream)}
.service-modal-icon{
  width:64px;height:64px;
  border-radius:8px;
  background:linear-gradient(135deg,#4a3525,#7a5a40);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;
}
.service-modal-icon svg{width:36px;height:36px}
.service-modal-icon-img{
  width:100%;height:100%;
  object-fit:cover;
  border-radius:8px;
  display:block;
}
.service-modal-title{
  font-size:20px;font-weight:900;color:#333;
  margin-bottom:12px;
  border-left:4px solid var(--orange);
  padding-left:12px;
}
.service-modal-desc{
  font-size:14px;line-height:1.9;color:var(--text);
}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@keyframes popin{
  from{opacity:0;transform:translateY(8px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
body.modal-open{overflow:hidden}

/* ==========================================================
   Worry Section
   ========================================================== */
.worry-section{
  background:var(--cream);
  padding: 22px 0;
  border-radius: 20px;
}
.worry-title{
  position: relative;
  color:#333;
  display:inline-block;
  /* padding:10px 36px; */
  border-radius:24px;
  font-size:24px;
  font-weight:900;
  /* margin-bottom:36px; */
}
.worry-title::after {
  content: "";
  border-bottom: 3px solid rgb(240, 131, 0);
  position: absolute;
  width: 50px;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
}
.worry-title-wrap{text-align:center;
  margin-bottom:20px}
.worry-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;
  max-width:1150px;margin:0 auto 36px;
}
.worry-item{
  background:#fff;border-radius:8px;padding:24px 16px;
  display:flex;flex-direction:column;align-items:center;gap:14px;
  text-align:center;
}
.worry-icon{
  width:72px;height:72px;
  display:flex;align-items:center;justify-content:center;
}
.worry-icon1 {
  width: 86px;
}
.worry-icon2 {

}
.worry-icon3 {

}
.worry-icon4 {
  
}
.worry-text{font-size:13px;font-weight:700;line-height:1.6}
.worry-conclusion{
  text-align:center;
  font-size:30px;font-weight:900;
}
.worry-conclusion .highlight{
  color:var(--orange);
  border-bottom:3px solid var(--orange);
  padding-bottom:2px;
}

@media(max-width:768px){
  .worry-grid{grid-template-columns:repeat(2,1fr);
    padding-right: 10px;
    padding-left: 10px;
    gap: 10px;
  }
  
  .worry-conclusion{font-size:18px}
}

/* ==========================================================
   Service List
   ========================================================== */
.service-list-section{padding:64px 0;background:#fff}
.service-cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
}
.service-card{
  border:1px solid var(--border);
  /* border-radius:8px; */
  overflow:hidden;
  background:#fff;
  transition:transform .2s,box-shadow .2s;
}
.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(240,131,0,.15);
}
.service-card-head{
  background:var(--orange);color:#fff;
  text-align:center;font-weight:700;font-size:16px;
  padding:14px;
}
.service-card-img{
  aspect-ratio:16/8;
  background:linear-gradient(135deg,#3a2b20,#6b4a32);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:13px;
  /* opacity:.7; */
}
.service-card-img img{width:100%;height:100%;object-fit:cover;opacity:1}
.service-card-icons{
  display:flex;justify-content:space-around;
  padding:18px 12px;background:var(--cream-light);
  flex-wrap:wrap;gap:8px;
}
.service-card-icon{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  font-size:11px;font-weight:700;color:#333;
}
.service-card-icon svg{width:28px;height:28px;color:var(--orange)}

@media(max-width:768px){
  .service-cards{grid-template-columns:1fr;gap:16px;
    padding-right: 10px;
    padding-left: 10px;}
}

/* ==========================================================
   Strengths
   ========================================================== */
.strengths-section{padding:48px 0;background:#fff}
.strengths-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
}
.strength-card{
  background:var(--cream);
  /* border-radius:8px; */
  padding:24px 20px;
  text-align:center;
  display: flex;
  align-items: center;
}
.strength-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;height:48px; 
  margin: 0 30px 0 30px;
  color:var(--orange);
}
.strength-icon svg{width:42px;height:42px}
.strength-title{
  font-size: 20px;
  font-weight: 900;
  margin-bottom:8px}
.strength-desc{font-size:12px;color:var(--text-sub);line-height:1.7;
text-align: left;
}
.strength-set {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media(max-width:768px){
  .strengths-grid{grid-template-columns:1fr;
    padding-right: 10px;
    padding-left: 10px;}
    #flow .flow-step-title {
      font-size: 34px;
    }
}

/* ==========================================================
   Steps (Flow)
   ========================================================== */
.flow-section{padding:48px 0;background:#fff}
.flow-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr) ;
  gap:8px;align-items:stretch;
  position:relative;
  border: 1px solid var(--border);
}
.flow-step{
  /* background:var(--cream-light); */
  border-radius:8px;padding:18px 12px;
  text-align:center;
  position:relative;
  display:flex;flex-direction:column;align-items:center;gap:8px;

}
.flow-step::after{
  content:"";
  position:absolute;
  right:-14px;top:50%;transform:translateY(-50%);
  width:0;height:0;
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
  border-left:12px solid var(--orange);
  z-index:1;
}
.flow-step:last-child::after{display:none}
.flow-step-num{
  font-size:11px;font-weight:700;color:var(--orange);
  letter-spacing:.1em;
}
.flow-step-num strong{font-size:22px;display:block;line-height:1}
.flow-step-icon{
  width:36px;height:36px;color:var(--orange);
  display:flex;align-items:center;justify-content:center;
}
.flow-step-title{font-size:18px;font-weight:700}
.flow-step-desc{font-size:16px;color:var(--text-sub);line-height:1.6}

@media(max-width:768px){
  .flow-grid{grid-template-columns:1fr;gap:24px}
  .flow-step::after{
    right:50%;top:auto;bottom:-18px;transform:translateX(50%) rotate(90deg);
  }
  .flow-step-num strong {
    font-size: 32px;
  }
}

/* ==========================================================
   Cases
   ========================================================== */
.cases-section{padding:48px 0;background:#fff}
.cases-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.case-card{
  /* border-radius:8px; */
  overflow:hidden;
  background:#fff;border:1px solid var(--border);
  transition:transform .2s,box-shadow .2s;
}
.case-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}
.case-img{
  aspect-ratio:16/10;
  background:linear-gradient(135deg,#3a2b20,#6b4a32);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:13px;opacity:.85;
}
.case-img img{width:100%;height:100%;object-fit:cover;opacity:1}
.case-body{padding:16px}
.case-title{font-size:15px;font-weight:700;margin-bottom:6px}
.case-desc{font-size:12px;color:var(--text-sub);line-height:1.7;margin-bottom:14px}
.case-link{
  display:inline-block;
  background:var(--orange);color:#fff;
  font-size:12px;font-weight:700;
  padding:8px 20px;border-radius:4px;
  transition:background .2s;
}
.case-link:hover{background:var(--orange-dark)}

.case-details{margin:0}
.case-details > summary.case-link{
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.case-details > summary.case-link::-webkit-details-marker{display:none}
.case-details > summary.case-link::after{
  content:"▼";
  font-size:10px;
  margin-left:6px;
  transition:transform .2s;
  display:inline-block;
}
.case-details[open] > summary.case-link::after{transform:rotate(180deg)}
.case-details .case-desc{
  margin:12px 0 0;
  padding:12px;
  background:#faf7f2;
  border-radius:4px;
}

.cases-more{text-align:center;margin-top:32px}
.cases-more-link{
  display:inline-block;
  background:var(--orange);color:#fff;
  font-size:14px;font-weight:700;
  padding:12px 40px;border-radius:4px;
  transition:background .2s;
}
.cases-more-link:hover{background:var(--orange-dark)}



@media(max-width:768px){
  .cases-grid{grid-template-columns:1fr 1fr;
  padding-right: 10px;
  padding-left: 10px;
  gap: 10px;
}
}

/* ==========================================================
   Footer CTA
   ========================================================== */
.footer-cta{
  background:var(--orange);

  padding:20px 0;
  position:relative;overflow:hidden;
}

.footer-cta-txt {
  text-align: center;
  color: #ffffff;
  margin-bottom: -10px;
}
/*   background-image: url(assets/js/img/meinv.png);
 */
.footer-cta::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, .08));
  pointer-events: none;
  background-image: url(assets/js/img/meinv.png);
  background-size: cover;
  opacity: .2;
  background-position: center;
}
.footer-cta-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  position:relative;
  z-index:1;
  flex-direction: column;
}
.footer-cta-text{
  color:#fff;font-weight:900;font-size:22px;
  text-align:center;
}
.footer-cta-text small{
  display:block;font-size:13px;font-weight:500;margin-top:4px;opacity:.9;
}
.footer-cta-buttons{
  display:flex;gap:20px;flex-wrap:wrap;justify-content:center}
.btn-cta-white{
  position: relative;
  background:#fff;
  color:var(--orange);
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:18px;
  padding:11px 22px;
  border-radius:6px;
  transition:transform .2s;
  width: 300px;
  text-align: center;
  display: block;
}
.footer-cta-buttons-fdc {
flex-direction: column;
}
.btn-cta-white:hover{transform:translateY(-2px)}
.btn-cta-white::before{
  /* content:"";display:inline-block;
  width: 30px;
  height: 27px;
  background:var(--orange);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/></svg>") center/contain no-repeat;
  position: absolute;
  left: 22px; */
}

.footer-cta-buttons-wrap {
  display: flex;
  gap: 80px;
}
.btn-cta-magglass:hover{transform:translateY(-2px)}
.btn-cta-magglass {
  position: relative;
  background:#fff;
  color:var(--orange);
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  /* font-size:18px; */
  padding:12px 22px;
  border-radius:6px;
  transition:transform .2s;
  width: 300px;
  text-align: center;
  display: block;
}
.btn-cta-magglass::before{
  content:"";display:inline-block;
  width: 38px;
  height: 38px;
  background:var(--orange);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9.5 3a6.5 6.5 0 0 1 5.17 10.44l5.45 5.45-1.41 1.41-5.45-5.45A6.5 6.5 0 1 1 9.5 3zm0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9.5 3a6.5 6.5 0 0 1 5.17 10.44l5.45 5.45-1.41 1.41-5.45-5.45A6.5 6.5 0 1 1 9.5 3zm0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z'/></svg>") center/contain no-repeat;
  position: absolute;
  left: 22px;
  top: 8px;
}

.btn-cta-tel{
  position: relative;
  background: #fff;
  color: #f08300;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 700;
  padding: 6px 5px;
  border-radius: 6px;
  transition: transform .2s;
  display: flex;
  flex-direction: column;
  width: 300px;
  line-height: 1;
}
.btn-cta-tel:hover{transform:translateY(-2px)}
.btn-cta-tel::before{
  /* content:"";display:inline-block;
  width: 36px;
  height: 40px;
  background:var(--orange);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.21 2.2z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.21 2.2z'/></svg>") center/contain no-repeat;
  position: absolute;
  left: 20px; */
}
.btn-cta-tel small{display:block;font-size:10px;font-weight:500;color:var(--text-sub)}

@media(max-width:768px){
  .footer-cta-text{font-size:18px}
  .btn-cta-tel{
    font-size:16px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .btn-cta-tel::before {
    left: 19px;
    top: 0;
  }
  .footer-cta-buttons-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
}

.btn-cta-tel-sup {
  padding: 16px;
}
.btn-cta-mail-sup {
  padding: 10px;

}



/* ==========================================================
   Site Footer (copyright)
   ========================================================== */
.site-footer{
  background:#222;color:#fff;
  padding:24px 0;
  text-align:center;
  font-size:12px;
}
.site-footer a{color:#fff;text-decoration:underline}

.address-wrap{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.35);
  color:#fff;
  text-align:center;
  line-height:1.6;
}
.address-company{
  font-size:15px;
  font-weight:700;
  letter-spacing:.04em;
  margin:0;
}
.address-line{
  font-size:13px;
  font-style:normal;
  font-weight:500;
  opacity:.92;
  margin:2px 0 0;
}
.address-line::before{
  content:"";display:inline-block;
  width:13px;height:13px;
  margin-right:6px;vertical-align:-2px;
  background:#fff;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/></svg>") center/contain no-repeat;
}
@media(max-width:768px){
  .address-company{font-size:14px}
  .address-line{font-size:12px}
}
/* ==========================================================
   Sub Page (会社概要 等)
   ========================================================== */
.subpage{padding:64px 0;background:#fff}
.subpage-title{
  font-size:28px;font-weight:900;
  border-left:6px solid var(--orange);
  padding-left:14px;margin-bottom:28px;
}
.subpage-content{font-size:15px;line-height:1.9}
.subpage-content h2{
  font-size:20px;font-weight:700;
  margin:32px 0 12px;
  border-bottom:2px solid var(--cream);padding-bottom:6px;
}
.subpage-content h3{font-size:17px;font-weight:700;margin:20px 0 8px}
.subpage-content p{margin-bottom:14px}
.subpage-content ul,
.subpage-content ol{margin:0 0 14px 24px}
.subpage-content ul{list-style:disc}
.subpage-content ol{list-style:decimal}
.subpage-content table{
  width:100%;border-collapse:collapse;margin:16px 0;
}
.subpage-content th,
.subpage-content td{
  padding:12px 14px;border:1px solid var(--border);
  text-align:left;vertical-align:top;
}
.subpage-content th{background:var(--cream-light);width:30%;font-weight:700}

@media(max-width:768px){
  .subpage-title{font-size:22px}
}

/* ========= カスタム投稿（アタリ） ========= */
.slider-archive-grid,
.case-study-grid{
  display:grid;gap:24px;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  margin:24px 0 32px;
}
.slider-card,
.case-study-card{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.slider-card:hover,
.case-study-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.08)}
.slider-card-link,
.case-study-card-link{display:block;color:inherit;text-decoration:none}
.slider-card-thumb,
.case-study-card-thumb{aspect-ratio:4/3;background:#eee;overflow:hidden}
.slider-card-thumb img,
.case-study-card-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.slider-card-thumb.is-empty,
.case-study-card-thumb.is-empty{background:linear-gradient(135deg,#3a2b20,#6b4a32)}
.slider-card-title,
.case-study-card-title{font-size:15px;font-weight:700;padding:12px 14px 0;line-height:1.4}
.case-study-card-excerpt{font-size:13px;color:var(--text-sub);padding:6px 14px 14px;line-height:1.6;margin:0}

.case-study-categories{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.case-study-categories li a{
  display:inline-block;font-size:12px;padding:2px 8px;border-radius:4px;
  background:var(--cream-light);color:var(--text-sub);text-decoration:none
}
.case-study-hero{margin:16px 0 24px}
.case-study-hero img{width:100%;height:auto;border-radius:8px;display:block}
.case-study-nav{
  display:grid;grid-template-columns:1fr 1fr;gap:16px;
  margin:32px 0 16px;padding:16px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  font-size:14px
}
.case-study-nav-next{text-align:right}
.case-study-nav a{color:inherit;text-decoration:none}
.case-study-nav a:hover{color:var(--orange)}
.subpage-back{margin-top:24px;font-size:14px}
.subpage-back a{color:var(--orange);text-decoration:none}
.subpage-back a:hover{text-decoration:underline}
.pagination{display:flex;justify-content:center;margin:24px 0}
.pagination .nav-links{display:flex;gap:6px;flex-wrap:wrap}
.pagination .page-numbers{
  display:inline-block;min-width:36px;padding:6px 10px;text-align:center;
  border:1px solid var(--border);border-radius:4px;color:var(--text);text-decoration:none;font-size:14px
}
.pagination .page-numbers.current{background:var(--orange);color:#fff;border-color:var(--orange)}
.pagination .page-numbers:hover:not(.current){background:var(--cream-light)}
.slider-single-subtitle{font-size:14px;color:var(--text-sub);margin:-8px 0 16px}
.slider-card-subtitle{font-size:12px;color:var(--text-sub);padding:6px 14px 12px;line-height:1.6;margin:0}
.case-study-subtitle{font-size:15px;color:var(--text-sub);margin:-8px 0 12px}
.case-study-card-subtitle{font-size:12px;color:var(--orange);font-weight:700;padding:6px 14px 0;margin:0;letter-spacing:.04em}

/* ========= 事例の実施サービスタグ ========= */
.case-study-services{
  display:flex;flex-wrap:wrap;gap:6px;
  list-style:none;margin:14px 0;padding:0;
}
.case-study-card .case-study-services{padding:0 14px 14px;margin:8px 0 0}
.case-study-service-tag{
  display:inline-flex;align-items:center;gap:5px;
  background:var(--cream-light);color:var(--orange);
  padding:4px 10px;border-radius:999px;
  font-size:12px;font-weight:700;line-height:1;
}
.case-study-service-icon{display:inline-flex;align-items:center}
.case-study-service-icon svg{width:13px;height:13px;display:block}
.service-list-empty{text-align:center;color:var(--text-sub);padding:24px 0}
a.service-card{display:block;color:inherit}
.case-img img{width:100%;height:100%;object-fit:cover;display:block}
.cases-empty{text-align:center;color:var(--text-sub);padding:24px 0}
.customer-case-hero{margin:16px 0 24px}
.customer-case-hero img{width:100%;height:auto;border-radius:8px;display:block}

/* ========= 会社概要ページ ========= */
.company-page .subpage-content{margin-bottom:48px}
.company-table{
  width:100%;border-collapse:collapse;
  background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden;
}
.company-table th,
.company-table td{
  padding:16px 20px;border-bottom:1px solid var(--border);
  text-align:left;vertical-align:top;font-size:15px;line-height:1.7;
}
.company-table tr:last-child th,
.company-table tr:last-child td{border-bottom:none}
.company-table th{
  background:var(--cream-light);width:28%;font-weight:700;color:#333;
  white-space:nowrap;
}
.company-tel{color:#D7263D;font-weight:700;letter-spacing:.02em}
.company-tel:hover{text-decoration:underline}

.company-cta{
  background:linear-gradient(135deg,#3a2b20,#5a3f2a);
  color:#fff;border-radius:8px;padding:40px 24px;text-align:center;
}
.company-cta-title{
  font-size:22px;font-weight:700;margin-bottom:14px;
}
.company-cta-desc{font-size:14px;line-height:1.9;margin-bottom:24px;opacity:.95}
.company-cta-buttons{
  display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap;
}
.company-cta-tel{
  display:inline-flex;flex-direction:column;align-items:center;
  color:#fff;line-height:1.2;text-decoration:none;
}
.company-cta-tel-label{font-size:12px;opacity:.8;margin-bottom:4px}
.company-cta-tel-num{font-size:28px;font-weight:900;letter-spacing:.02em}
.company-cta-tel-num::before{
  content:"📞 ";font-size:22px;
}
.company-cta .btn-primary{
  background:var(--orange);
}
.company-cta .btn-primary:hover{background:var(--orange-dark)}

@media(max-width:768px){
  .company-table th{width:32%;padding:12px 14px;font-size:14px}
  .company-table td{padding:12px 14px;font-size:14px}
  .company-cta{padding:32px 18px}
  .company-cta-title{font-size:18px}
  .company-cta-tel-num{font-size:24px}
}

/* ==========================================================
   Service Modal - 掲載店リスト追加
   ========================================================== */
.service-modal-dialog{max-width:600px}
.service-modal-shops{
  margin-top:18px;
  border-top:1px solid #eee;
  padding-top:14px;
}
.service-modal-shops-heading{
  font-size:13px;font-weight:700;color:#666;
  margin:0 0 8px;
}
.service-modal-shops-empty{
  font-size:13px;color:#888;margin:0;
}
.service-modal-shop-list{
  list-style:none;margin:0;padding:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px 14px;
  max-height:260px;overflow:auto;
}
.service-modal-shop-list li{margin:0}
.service-modal-shop-list a{
  display:block;
  padding:6px 10px;
  font-size:14px;
  color:var(--text);
  border-radius:4px;
  text-decoration:none;
  transition:background .15s;
  border:1px solid #eee;
}
.service-modal-shop-list a:hover{background:var(--cream);border-color:var(--orange)}
.service-modal-more{
  display:inline-block;margin-top:14px;
  font-size:14px;font-weight:700;
  color:var(--orange);
  text-decoration:none;
}
.service-modal-more:hover{text-decoration:underline}
@media(max-width:560px){
  .service-modal-shop-list{grid-template-columns:1fr}
}

/* ==========================================================
   掲載店 アーカイブ（サイドバー + カード一覧）
   ========================================================== */
.listed-shop-archive{padding:40px 0 80px;background:#f7f7f7}
.listed-shop-archive-wrap{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:24px;
  align-items:flex-start;
}
.listed-shop-sidebar{
  background:#f1f1f1;
  border:1px solid #e0e0e0;
  border-radius:4px;
  overflow:hidden;
  position:sticky;top:20px;
}
.listed-shop-cat-toggle{display:block}
.listed-shop-sidebar-head{
  background:#dcdcdc;
  padding:10px 14px;
  font-weight:700;
  font-size:14px;
  position:relative;
  list-style:none;
}
.listed-shop-sidebar-head::-webkit-details-marker{display:none}
.listed-shop-sidebar-list{
  list-style:none;margin:0;padding:0;
  background:#fff;
}
.listed-shop-sidebar-list li{
  border-bottom:1px solid #eee;
}
.listed-shop-sidebar-list li:last-child{border-bottom:0}
.listed-shop-sidebar-list a{
  display:block;
  padding:9px 14px 9px 22px;
  font-size:13px;
  color:var(--text);
  text-decoration:none;
  position:relative;
  transition:background .15s;
}
.listed-shop-sidebar-list a::before{
  content:"›";
  position:absolute;left:10px;color:var(--orange);
}
.listed-shop-sidebar-list a:hover{background:var(--cream)}
.listed-shop-sidebar-list li.is-current a{
  background:var(--orange);color:#fff;
}
.listed-shop-sidebar-list li.is-current a::before{color:#fff}

.listed-shop-main{min-width:0}
.listed-shop-archive-title{
  font-size:18px;font-weight:700;
  color:var(--text);
  display:flex;align-items:center;gap:8px;
  padding-bottom:10px;
  border-bottom:2px solid var(--orange);
  margin-bottom:20px;
}
.listed-shop-archive-title-icon{
  display:inline-flex;color:var(--orange);
}

.listed-shop-cards{display:flex;flex-direction:column;gap:18px}
.listed-shop-card{
  background:#fff;
  border:1px solid #e2e2e2;
  border-radius:4px;
  overflow:hidden;
}
.listed-shop-card-head{
  display:flex;align-items:center;gap:12px;
  padding:12px 16px;
  background:#f5f5f5;
  border-bottom:1px solid #e2e2e2;
}
.listed-shop-card-title{
  font-size:16px;font-weight:700;margin:0;
  flex:1 1 auto;min-width:0;
}
.listed-shop-card-title a{
  color:var(--text);text-decoration:none;
  border-bottom:1px solid currentColor;
}
.listed-shop-card-title a:hover{color:var(--orange)}
.listed-shop-card-tags{
  list-style:none;margin:0;padding:0;
  display:flex;flex-wrap:wrap;gap:4px;
}
.listed-shop-card-tags a{
  display:inline-block;
  padding:3px 8px;
  font-size:11px;font-weight:700;color:#fff;
  background:#c0367a;
  text-decoration:none;border-radius:2px;
}
.listed-shop-card-tags li:nth-child(2n) a{background:#7a6a3c}

.listed-shop-card-body{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
}
.listed-shop-card-media{
  padding:14px 16px;
  border-right:1px solid #eee;
}
.listed-shop-card-media img{
  /* width:100%; */
  height:auto;display:block;border-radius:2px;
  margin: 0 auto;
	max-width: 440px;
}
.listed-shop-card-noimage{
  display:flex;align-items:center;justify-content:center;
  aspect-ratio:16/9;background:#f0f0f0;color:#999;
  font-size:13px;text-align:center;padding:10px;
}
.listed-shop-card-topics{margin-top:10px;font-size:13px;line-height:1.6}
.listed-shop-card-topics-head{margin:0;font-weight:700;color:var(--text)}
.listed-shop-card-topics-body{margin:2px 0 0}
.listed-shop-card-topics-body a{color:#0066cc;text-decoration:underline}

.listed-shop-card-info{
  display:grid;
  grid-template-columns:80px 1fr;
  margin:0;font-size:13px;
}
.listed-shop-card-info dt{
  background:#e8e8e8;
  padding:8px 10px;
  border-bottom:1px solid #fff;
  font-weight:700;
}
.listed-shop-card-info dd{
  background:#fff;
  padding:8px 12px;
  margin:0;
  border-bottom:1px solid #eee;
  word-break:break-all;
}
.listed-shop-card-info dt:last-of-type,
.listed-shop-card-info dd:last-of-type{border-bottom:0}
.listed-shop-card-info a{color:#0066cc;text-decoration:underline}

.listed-shop-pagination{margin-top:24px;display:flex;justify-content:center}
.listed-shop-empty{
  background:#fff;border:1px dashed #ccc;padding:30px;text-align:center;color:#888;
}

@media(max-width:900px){
  .listed-shop-archive-wrap{grid-template-columns:1fr}
  .listed-shop-sidebar{position:static}

  /* カテゴリーをプルダウンに */
  .listed-shop-cat-toggle > .listed-shop-sidebar-head{
    cursor:pointer;
    padding-right:36px;
  }
  .listed-shop-cat-toggle > .listed-shop-sidebar-head::after{
    content:"";
    position:absolute;
    right:14px;top:50%;
    width:10px;height:10px;
    border-right:2px solid var(--text);
    border-bottom:2px solid var(--text);
    transform:translateY(-70%) rotate(45deg);
    transition:transform .2s;
  }
  .listed-shop-cat-toggle[open] > .listed-shop-sidebar-head::after{
    transform:translateY(-30%) rotate(-135deg);
  }
  .listed-shop-sidebar-list{
    display:grid;grid-template-columns:repeat(2,1fr);
  }
  .listed-shop-sidebar-list li{border-right:1px solid #eee}
}
@media(min-width:901px){
  /* PCではトグルさせず常時展開（HTML側の open 属性で展開状態維持） */
  .listed-shop-cat-toggle > .listed-shop-sidebar-head{
    pointer-events:none;
    cursor:default;
  }
}
@media(max-width:640px){
  .listed-shop-card-body{grid-template-columns:1fr}
  .listed-shop-card-media{border-right:0;border-bottom:1px solid #eee}
  .listed-shop-sidebar-list{grid-template-columns:1fr}
  .listed-shop-card-info{grid-template-columns:70px 1fr}
}

/* ==========================================================
   掲載店 詳細ページ
   ========================================================== */
.listed-shop-single{padding:40px 0 80px}
.listed-shop-single-wrap{max-width:900px}
.listed-shop-single-head{
  border-bottom:2px solid var(--orange);
  padding-bottom:12px;margin-bottom:24px;
}
.listed-shop-single-title{
  font-size:24px;font-weight:900;margin:0 0 8px;
}
.listed-shop-single-body{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-bottom:30px;
}
.listed-shop-single-media img{width:100%;height:auto;border-radius:4px}
.listed-shop-single-info{font-size:14px}
.listed-shop-single-content{
  line-height:1.9;font-size:15px;
  padding-top:20px;border-top:1px solid #eee;
}
.listed-shop-single-back{margin-top:30px}
.listed-shop-single-back a{
  color:var(--orange);font-weight:700;text-decoration:none;
}
.listed-shop-single-back a:hover{text-decoration:underline}
@media(max-width:640px){
  .listed-shop-single-body{grid-template-columns:1fr}
}

/* ==========================================================
   Contact Page (Contact Form 7)
   ========================================================== */
.subpage .wpcf7{
  max-width:680px;
  margin:0 auto;
  padding:32px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  box-shadow:0 4px 18px rgba(0,0,0,.04);
}
.subpage .wpcf7-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.subpage .wpcf7-form > p{
  margin:0;
  font-size:14px;
  font-weight:700;
  color:var(--text);
  line-height:1.6;
}
.subpage .wpcf7-form > p:last-child{
  text-align:center;
  margin-top:8px;
}
.subpage .wpcf7-form > p > br{display:none}
.subpage .wpcf7-form-control-wrap{
  display:block;
  margin-top:6px;
  font-weight:500;
}
.subpage .wpcf7-form-control:not(.wpcf7-submit){
  width:100%;
  padding:12px 14px;
  font-size:15px;
  font-family:inherit;
  color:var(--text);
  background:#fff;
  border:1px solid var(--border);
  border-radius:6px;
  transition:border-color .15s, box-shadow .15s;
  -webkit-appearance:none;
  appearance:none;
}
.subpage .wpcf7-form-control:not(.wpcf7-submit):focus{
  outline:none;
  border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(240,131,0,.18);
}
.subpage .wpcf7-textarea{
  min-height:160px;
  resize:vertical;
  line-height:1.7;
}
.subpage .wpcf7-form .wpcf7-validates-as-required + .required-mark,
.subpage .wpcf7-form .required-label::after{content:" *";color:#D7263D;font-weight:700}
.subpage .wpcf7-submit{
  display:inline-flex;
  align-items:center;justify-content:center;
  min-width:240px;
  background:var(--orange);
  color:#fff;
  font-weight:700;font-size:15px;
  padding:14px 28px;
  border:none;border-radius:6px;
  cursor:pointer;
  transition:background .2s,transform .2s,box-shadow .2s;
  box-shadow:0 2px 8px rgba(240,131,0,.25);
}
.subpage .wpcf7-submit:hover{
  background:var(--orange-dark);
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(240,131,0,.35);
}
.subpage .wpcf7-submit:disabled{
  opacity:.6;cursor:not-allowed;transform:none;
}
.subpage .wpcf7-spinner{margin-left:8px}
.subpage .wpcf7-not-valid-tip{
  color:#D7263D;font-size:12px;font-weight:500;
  margin-top:4px;
}
.subpage .wpcf7 .wpcf7-form.invalid .wpcf7-response-output,
.subpage .wpcf7 .wpcf7-form.unaccepted .wpcf7-response-output,
.subpage .wpcf7 .wpcf7-form.aborted .wpcf7-response-output,
.subpage .wpcf7 .wpcf7-form.sent .wpcf7-response-output,
.subpage .wpcf7-response-output{
  margin:18px 0 0;
  padding:12px 14px;
  font-size:14px;
  font-weight:500;
  border-radius:6px;
  border:1px solid var(--border);
  background:#fdf6ec;
  color:var(--text);
}
.subpage .wpcf7-form.invalid .wpcf7-response-output,
.subpage .wpcf7-form.unaccepted .wpcf7-response-output,
.subpage .wpcf7-form.aborted .wpcf7-response-output{
  background:#fff5f5;border-color:#f5c2c2;color:#a33;
}
.subpage .wpcf7-form.sent .wpcf7-response-output{
  background:#f0fbf4;border-color:#a9d8b6;color:#1a7f37;
}

@media(max-width:768px){
  .subpage .wpcf7{padding:20px;border-radius:8px}
  .subpage .wpcf7-submit{width:100%;min-width:0}
	.listed-shop-card-media img{
    width:100%;
  }
}
