@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ─── CSS Variables ────────────────────────────────── */
:root {
  --cher:		 #945E6F;
  --pink:        #e3007f;
  --pink-dark:   #b5006a;
  --pink-light:  #fce4ec;
  --pink-mid:    #f8bbd0;
  --gold:        #c8960c;
  --gold-light:  #fff8e1;
  --text:        #333333;
  --text-sub:    #666666;
  --text-light:  #999999;
  --border:      #e0e0e0;
  --white:       #ffffff;
  --bg:          #f5f5f5;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.10);
  --shadow-md:   0 2px 8px rgba(0,0,0,0.12);
}

/* ─── Reset & Base ──────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
  min-width: 320px;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Layout ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 12px;
}

/* PC/SP 表示制御 */
.pc-only { display: none !important; }
.sp-only { display: block; }

.site-header,section {
  max-width: 1100px;
  margin: 0 auto;
}


/* =====================================================
   B: SEARCH SECTION
   ===================================================== */

.search-section {
  background: var(--white);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.search-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  min-height: 28px;
}
.search-genre-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--cher);
  white-space: nowrap;
}
.search-area-name {
  font-size: 12px;
  color: var(--text-sub);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* エリア変更ボタン（JS で .visible 付与で表示） */
.area-change-btn {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 4px 11px;
  font-size: 12px;
  color: var(--text);
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s;
}
.area-change-btn.visible { display: inline-block; }
.area-change-btn:hover { border-color: var(--pink); color: var(--pink); }

/* 検索バー */
.search-bar {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}
.search-input {
  flex: 1;
//  padding: 3px 12px;
  font-size: 14px;
  border: none;
  outline: none;
  font-family: inherit;
  color: var(--text);
  background: transparent;
}
.search-input::placeholder { color: var(--text-light); }
.search-submit {
  background: #f6f6f6;
  color: #666679;
  border: none;
  padding: 0 18px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.search-submit:hover { background: #e2e2e2; }
.search-icon { line-height: 1;width:20px; }

/* =====================================================
   C: AREA SELECTION
   ===================================================== */
.area-select-section {
  position: relative;
}

/* 背景（ジャンル別フリー素材写真） */
.area-bg-box {
  background-size: contain;
  background-repeat:no-repeat;
  background-color:#F6F1EB;
  background-position: center right;
  position: relative;
  
}
/* ヘアサロン */
.area-bg-box[data-genre="hair"] {
  background-image: url('../img/nav1.webp');
}
/* ネイル・まつげ */
.area-bg-box[data-genre="nail"] {
  background-image: url('../img/nav4.webp');
}
/* マッサージ・リラク */
.area-bg-box[data-genre="relax"] {
  background-image: url('../img/nav2.webp');
}
/* エステ */
.area-bg-box[data-genre="esthe"] {
  background-image: url('../img/nav3.webp');
}

/* SP: 4ボタングリッド */
.sp-search-btns {
  display: grid;
  grid-template-columns: minmax(100px,200px) minmax(100px,200px);
  gap: 9px;
  padding: 14px 12px;
//  background: rgba(255,255,255,0.80);
}
.sp-search-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.sp-search-btn:hover {
  border-color: var(--pink);
  box-shadow: 0 2px 6px rgba(227,0,127,0.15);
}
.sp-search-btn .btn-icon {
  font-size: 22px;
  line-height: 1;
}
.sp-search-btn .btn-label { font-size: 12px; }

/* PC: 都道府県グリッド */
.pc-area-wrap {
  padding: 14px 20px 16px;
 // background: rgba(255,255,255,0.88);
}
.pc-regions-grid {
  display: grid;
  grid-template-columns: minmax(40%,430px) minmax(40%,450px);
  gap: 0 32px;
}
.pref-row,.pref-row2 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(220,220,220,0.7);
}
.pref-row:last-child { border-bottom: none; }
.region-label,.region-label2{
  min-width: 80px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  flex-shrink: 0;
  padding: 5px;
  line-height: 1.5;
//    border:1px #c3c3c3 solid;
  text-align:center;
  background-color:#f7f7f7;
}
.pref-row2 .region-label{
  min-width: 40px;

}
.pref-link-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
}
.pref-link {
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: color 0.12s;
  line-height: 1.8;
  text-shadow: -3px -3px 0 #F6F1EB, 0px -3px 0 #F6F1EB, 3px -3px 0 #F6F1EB, -3px 0px 0 #F6F1EB, 3px 0px 0 #F6F1EB, -3px 3px 0 #F6F1EB, 0px 3px 0 #F6F1EB, 3px 3px 0 #F6F1EB;
}
.pref-link:hover { color: var(--pink); text-decoration: underline; }

/* PC: エリア一覧（都道府県選択後） */
.pc-area-list {
  display: none;
}
.area-list-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.back-to-pref {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.back-to-pref:hover { border-color: var(--pink); color: var(--pink); }
.selected-pref-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--pink);
}
.area-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding:0 90px 0 50px;
}
.area-link {
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  padding: 5px 0;
  border-bottom: 1px dotted var(--border);
  min-width: 140px;
  transition: color 0.12s;
}
.area-link:hover { color: var(--pink); }

/* =====================================================
   SP BOTTOM SHEET（都道府県・エリア選択）
   ===================================================== */
.sp-sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 500;
  visibility: hidden;
  pointer-events: none;
}
.sp-sheet-mask.open {
  visibility: visible;
  pointer-events: auto;
}

.sp-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sp-sheet-mask.open .sp-sheet-overlay { opacity: 1; }

.sp-sheet-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  max-height: 82vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}
.sp-sheet-mask.open .sp-sheet-panel { transform: translateY(0); }

/* Sheet handle bar */
.sp-sheet-panel::before {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 10px auto 0;
}

.sp-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
}
.sp-sheet-title {
  font-size: 15px;
  font-weight: 700;
}
.sp-sheet-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-sub);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
}
.sp-sheet-close:hover { background: var(--bg); }

.sp-sheet-body { padding: 10px 16px 24px; }

/* Sheet: 都道府県一覧 */
.sheet-region-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sheet-region-row:last-child { border-bottom: none; }
.sheet-region-label {
  min-width: 75px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  padding-top: 4px;
}
.sheet-pref-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.sheet-pref-link {
  font-size: 15px;
  color: var(--pink);
  cursor: pointer;
  padding: 3px 0;
  line-height: 1.7;
}

/* Sheet: エリア一覧 */
.sheet-area-list { display: none; }
.sheet-area-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sheet-area-back {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
}
.lud{
width:14px;
height:14px;

}
.sheet-selected-pref {
  font-size: 15px;
  font-weight: 700;
  color: var(--pink);
}
.sheet-area-items { }
.sheet-area-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
}
.sheet-area-link::after {
  content: '?';
  color: var(--text-light);
  font-size: 18px;
}
.sheet-area-link:hover { color: var(--pink); }

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
    font-size: 1.1rem;
}
.related-links a {
  font-size: 1.1rem;
  color: var(--color-link);
  border: 1px solid var(--color-border-light);
  padding: 3px 10px;
  border-radius: 3px;
  background: #f9f9f9;
}
/* =====================================================
   D: STORE SECTIONS (CAROUSELS × 4)
   ===================================================== */
.store-sections-wrap {
  background: var(--bg);
}

.store-section {
  background: var(--white);
  padding: 16px 0 18px;
  border-bottom: 8px solid var(--bg);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--pink);
  border-left: 3px solid var(--pink);
  padding-left: 10px;
  line-height: 1.3;
}
.section-more-link {
  font-size: 12px;
  color: var(--text-sub);
  transition: color 0.15s;
}
.section-more-link::after { content: " 》"; }
.section-more-link:hover { color: var(--pink); }

/* Carousel */
.carousel-outer {
  position: relative;
  padding: 0 12px;
}
.carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  gap: 10px;
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.store-card {
  flex-shrink: 0;
  /* width が JS で設定される */
  cursor: pointer;
}
.store-card:hover .store-name { color: var(--pink); }

/* 店舗画像（3:4比率 プレースホルダー） */
.store-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 133.33%;
  border-radius: 3px;
  overflow: hidden;
  background: #e8e8e8;
  height:0;
}
.store-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #eeeeee 0%, #d8d8d8 60%, #cacaca 100%);
}

/* ランクバッジ */
.rank-badge {
  position: absolute;
  bottom: 5px;
  left: 5px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 7px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.93);
}
.rank-badge.rank-1     { color: var(--gold); }
.rank-badge.rank-other { color: #8a8a8a; }
.rank-star { font-size: 11px; }

/* 店舗情報テキスト */
.store-info { padding: 6px 0 0; }
.store-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.12s;
}
.store-station {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-desc {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* カルーセル矢印ボタン（絶対配置） */
.carousel-btn {
  position: absolute;
  top: 24%;
  transform: translateY(-50%);
  z-index: 10;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.95);
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.carousel-btn:hover {
  background:  #eee;
  color: var(--white);

}
.carousel-btn.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}
.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }

/* =====================================================
   E: RELATED LINKS
   ===================================================== */
.related-section {
  background: var(--white);
  margin-top: 0px;padding-top:5px;

}

  .related-inner { padding: 4px 10px 16px; }

.link-group {
  border-top: 4px solid var(--bg);
}


.link-group-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  border-left: 3px solid var(--pink);
  padding: 4px 0 4px 10px;
  margin: 5px 0px;
  line-height: 1.4;
}





/* =====================================================
   RESPONSIVE ? PC 700px+
   ===================================================== */
@media (min-width: 700px) {

  /* 表示切り替え */
  .pc-only { display: block !important; }
  .sp-only { display: none !important; }

  /* Header */
  .header-top { padding: 9px 20px; }
  .logo-main  { font-size: 24px; }
  .logo-sub   { font-size: 10px; }
  .header-utils { font-size: 13px; gap: 18px; }
  .main-nav a {
    padding: 11px 18px;
    font-size: 14px;
  }
  .main-nav a:hover {
    color: var(--pink);
    border-bottom-color: var(--pink);
    background: var(--pink-light);
  }

  /* Search */
  .search-section { padding: 12px 20px; }
  .search-genre-label { font-size: 15px; }
  .search-area-name { font-size: 13px; }
  .search-input { font-size: 13px; padding: 5px 14px; }

  /* Area section */
  .area-bg-box { min-height: unset; }

  /* Store sections */
  .section-header { padding: 0 20px; }
  .carousel-outer { padding: 0 20px; }
  .store-name    { font-size: 13px; }
  .store-station { font-size: 12px; }
  .store-desc    { font-size: 12px; -webkit-line-clamp: 4; }
  .carousel-btn  { width: 30px; height: 30px; font-size: 13px; }

  /* Related links */
  .related-section { padding: 0; }





  .link-group-heading {
    font-size: 12px;
    padding: 0 0 0 8px;
    margin: 10px 0 8px 10px;
  }




.related-section{
position:relative;
}
h1{
font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border-left: 3px solid var(--pink);
  padding-left: 0px;
  line-height: 1.4;
  margin: 0;
}
.bottomSummary{
padding:0 20px;
font-size: 12px;
}

@media (max-width: 700px) {
.related-section{
padding-bottom:80px;
}
h1{
position:absolute;
bottom:5px;
width: 100%;
  height: 3em;
  font-size: 14px;
  font-weight: normal;
  display: block;
  vertical-align: top;
  padding: 10px 10px 0;
  margin: 0 auto;
  color: #666666;
  text-align: center;
  -webkit-box-sizing: border-box;
}
.bottomSummary{
height:40px;
overflow-x: auto;
  white-space: nowrap;
position:absolute;
bottom:40px;
width:100%;
padding:10px;
font-size:12px;
}
}
.sp-links-2col-section a:nth-child(1),.sp-links-2col-section a:nth-child(2){
border-top: 1px solid var(--border);
margin-top:5px;
}
.sp-search-btn .b1{color:#00cc33;}
.sp-search-btn .b2{color:red;}
.sp-search-btn .b3{color:#ff9933;}
.sp-search-btn .b4{color:#ff33ff;stroke-width:3px;}
.row3{
grid-column: span 2;
}
.help-icon{
width:16px;
    border-color: #e74c3c;
    color: #e74c3c;
}
.fav-icon{
width:16px;
    border-color: #e74c3c;
    color: #e74c3c;
}
.att-icon{
width:16px;

    border-color: #f0a500;
    color: #f0a500;
}
.header-nav-links a{
display: flex;
align-items: center;
}

.related-section{
position:relative;
}
h1{
font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-left: 3px solid var(--pink);
  padding-left: 8px;
  margin-bottom: 8px;
  line-height: 1.4;
  margin: 0px 20px 10px;
}
.bottomSummary{
padding:0 20px;
font-size: 12px;
}
@media (max-width: 700px) {
.related-section{
padding-bottom:80px;
}
h1{
position:absolute;
bottom:5px;
border:0;
width: 100%;
  height: 3em;
  font-size: 14px;
  font-weight: normal;
  display: block;
  vertical-align: top;
  padding: 10px 10px 0;
  margin: 0 auto;
  color: #666666;
  text-align: center;
  -webkit-box-sizing: border-box;
}
.bottomSummary{
height:40px;
overflow-x: auto;
  white-space: nowrap;
position:absolute;
bottom:40px;
width:100%;
padding:10px;
font-size:12px;
}


}

