@charset "UTF-8";
/*
Theme Name: siko8
*/

:root {
  --theme-color: #d2b48c;
}



/*=============================================================
  base
===============================================================*/
html {
	font-size: 18px;
  scrollbar-gutter: stable;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
	color: #222;
	background: #fff;
}
small {
  font-size: 0.7rem;
}



/*================================================================
  layout
==================================================================*/
.site {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  gap: 2.5rem;
}
.container {
  width: min(100% - clamp(20px, 6vw, 80px), 1090px);
  margin-inline: auto;
}
.container-grid {
  display: grid;
  grid-template-columns: 780fr 280fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 1024px) {
  .container-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 17px;
  }
}




/*===================================================================
  header
======================================================================*/
.site-header {
  background-color: #333;
}
.logo {
	padding-block: 15px;
}
.logo > h1, .logo > div {
	font-size: 1.2rem;
  color: var(--theme-color);
	font-weight: bold;
}




/*=====================================================================
 component
=======================================================================*/
/*--- 共通の間隔を設定 ---*/
.main-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/*--- 作品カード ---*/
.work-card {
  background-color: #eee;
  transition: 0.2s;
}
.work-card:hover {
  transform: translateY(-2px);
}
.work-card-title {
	margin: 5px;
	font-size: 15px;
  line-height: 1.4;
  /*2行目以降は、…*/
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.work-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 500 / 336;
	object-fit: cover;
	object-position: 50% 50%;
}

/*--- h2 ---*/
h2 {
  padding: 1rem 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-left: solid 5px var(--theme-color);
  background-color: #eee;
  line-height: 1.3;
}

/*--- パンくず（未使用） ---*/
.breadcrumb {
	position: absolute;
	top: -2.2rem;
	left: 0;
  font-size: 0.8rem;
}
/* 横並び */
.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 6px;
}
/* 区切り（＞） */
.breadcrumb li::after {
	content: "＞";
	margin-left: 6px;
	color: #999;
}
/* 最後の＞を消す */
.breadcrumb li:last-child::after {
	content: "";
	margin: 0;
}
/* リンク調整 */
.breadcrumb a {
	text-decoration: none;
	color: inherit;
}
.breadcrumb a:hover {
	text-decoration: underline;
}




/*=====================================================================
  front-page
=======================================================================*/
.front-page > section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/*--- 一覧へ移動 ---*/
.archive-button-wrap {
    text-align: center;
}
.archive-button {
    display: inline-block;
    padding: 0.5rem 1.6rem;
    background: var(--theme-color);
    text-decoration: none;
    border-radius: 10px;
}
.archive-button:hover {
    background: #deb887;
}

/*--- おすすめ女優 ---*/
.recommend-actress-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.recommend-actress-item {
    list-style: none;
}
.recommend-actress-item a {
    position: relative;
    display: block;
}
.recommend-actress-item img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 0;
}
.recommend-actress-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.8)
    );
}
@media (max-width: 768px) {
    .recommend-actress-list {
        grid-template-columns: 1fr;
    }
}




/*=====================================================================
  single works
======================================================================*/
/* work wrapper */
.work-wrapper {
  background-color: #ffffff;
  padding: 20px 29px 25px;
  border: #ccc 1px solid;
}
@media (max-width: 768px) {
    .work-wrapper {
        padding: 0;
        border: none;
    }
}
/*--- コンテンツ内の段落の間隔 ---*/
.work-body > * + * {
  margin-top: 1.7rem;
}
/* パッケージ画像の上 */
.work-body > *:first-child {
  margin-top: 1.2rem;
}
/* work-header内の間隔調整 */
.work-header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
/*--- 役柄タグとPR表記の格納 ---*/
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/*--- PR ---*/
.pr {
  margin-left: auto;
  color: #333;
  border: 1px solid #aaa;
  padding: 2px 6px;
  font-size: 13px;

  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pr::before {
  content: "!";              /* 中に入れる文字 */
  display: inline-block;
  width: 12px;               /* 丸の幅 */
  height: 12px;              /* 丸の高さ */
  line-height: 12px;         /* 文字を丸の上下中央に */
  text-align: center;        /* 文字を丸の左右中央に */
  font-size: 9px;            /* 中の ! を少し小さく */
  font-weight: bold;         /* 太字にする */
  /* 丸のデザイン */
  background-color: #555;    /* 黒い丸にする場合 */
  color: #fff;               /* 中の ! を白文字にする */
  border-radius: 50%;        /* 完全に綺麗な「丸」にする */
}
/*--- 役柄・女優タグ ---*/
.role-actress-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.role-actress-tags li a {
	display: inline-block;
	padding: 2px 10px;
	font-size: 13px;
	background: #eee;
	border-radius: 999px;
}
/* h1 */
.work-title {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: bold;
}
.work-body h2 {
  margin-top: 2.5rem;
}
/* 品番とメーカー・ジャンルタクソノミ */
.work-taxonomies {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	align-items: center;
  font-size: 0.9rem;
}
.work-catalog,
.work-maker,
.work-genre {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.work-catalog span,
.work-maker span,
.work-genre span {
	white-space: nowrap;
}
.work-catalog ul,
.work-maker ul,
.work-genre ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
}
.work-maker li a,
.work-genre li a {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eee;
	font-size: 13px;
	text-decoration: none;
	color: inherit;
}
/* テキストボタン */
.text-button {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  background-color: var(--theme-color);
  border-radius: 10px;
  line-height: 1.3;
  cursor: pointer;
}
.text-button:hover {
  background-color: #deb887;
}

/*--- 本文中のパッケージ画像 ---*/
.package-image img {
  width: 100%;
  height: auto;
}
/* リンクあり・なしに関わらず、画像ブロック内のimgを確実に100%にする */
.wp-block-image img {
    width: 100% !important;
    height: auto !important;
}
/* リンク（aタグ）がブロック幅いっぱいに広がるようにする */
.wp-block-image a {
    display: block;
    width: 100%;
}
.single-works figure {
	text-align: center;
}
.single-works figcaption {
  color:#555;
  font-size: 0.8rem;
}

/*--- サンプル動画 ---*/
.video-wrapper {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin: 0 auto;
}
.video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}
.sample-movie-footer {
  margin-top: 1rem;
  text-align: center;
}

/*--- リスト ---*/
.work-body > ul {
  list-style: disc;
  margin-left: 1.5rem;
}

/*--------------------------
  ボタン
---------------------------*/
.fanza-button {
  display: block;
  margin: 0 auto;
  width: 100%;
  font-weight: bold;
  background: #d11b1b;
  border-radius: 40px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding: 0.8rem 0.5rem;
  position: relative;
  text-decoration: none;
  z-index: 0;
}
.fanza-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,.5),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 4s linear infinite;
  pointer-events: none;
}
@keyframes shine {
  0% {
    left: -150%;
  }
  20% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/*--- 関連作品用カードグリッド ---*/
.related-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.related-card-grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 20px;
}
@media (max-width: 768px) {
  .related-card-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width: 480px) {
  .related-card-grid {
    grid-template-columns: 1fr;
  }
}

/*-----------------------------
  前へ、次へ、ナビゲーション 
------------------------------*/
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
/* 共通ボタン */
.post-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #eee;
  text-decoration: none;
  border-radius: 0px;
  box-sizing: border-box;
  transition: 0.2s;
}
.post-nav-item:hover {
  transform: translateY(-2px);
}
/* prev / next 方向制御 */
.post-nav-item.prev {
  flex-direction: row;
}
.post-nav-item.next {
  flex-direction: row-reverse;
}
/* サムネイル */
.post-nav-thumb {
  width: 120px;
  height: 80px;
  flex: 0 0 120px;
  overflow: hidden;
}
.post-nav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
  display: block;
}
/* タイトル（2行表示） */
.post-nav-title {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* 空のダミーを非表示 */
.post-nav-item.empty {
  background: transparent;
  pointer-events: none;
}
/* スマホ：縦並び */
@media (max-width: 768px) {
  .post-nav {
    flex-direction: column;
  }
  .post-nav-item {
    width: 100%;
  }
  /* スマホは見やすさ優先で統一 */
  .post-nav-item.prev,
  .post-nav-item.next {
    flex-direction: row;
  }
}




/*=============================================================================
  single actress
===============================================================================*/
.single-actress > section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/*--- 女優イメージ画像 ---*/
.actress-image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.actress-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0;
    display: block;
}





/*=============================================================================
  archive
==============================================================================*/
/* title */
.archive-title {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.4;
}
/*--- アーカイブ用カードグリッド ---*/
.archive-card-grid {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 20px;
}
@media (max-width: 480px) {
  .archive-card-grid {
    grid-template-columns: 1fr; 
    gap: 20px;
  }
}

/*-------------------------------
  ページネーション
--------------------------------*/
/* --- ページネーション全体の設定 --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 1rem auto 0;
  font-family: sans-serif;
}
/* --- ボタン共通のスタイル（数字・矢印共通） --- */
.pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  /* 通常時の色（ダーク系サイト用） */
  background: #222;
  color: #aaa;
  border: 1px solid #333;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
/* --- まだ押されていないリンク（aタグ）へのホバー効果 --- */
.pagination a.page-numbers:hover {
  background: var(--theme-color);
  color: #000;
  border-color: var(--theme-color);
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.4);
  transform: translateY(-2px);
}
/* --- 現在開いているページのスタイル（span.current） --- */
.pagination .page-numbers.current {
  background: var(--theme-color);
  color: #000;
  border-color: var(--theme-color);
  cursor: default; /* クリックできないカーソルに */
}
/* --- 「次へ（>）」などの矢印ボタンの微調整 --- */
.pagination .page-numbers.next {
  font-size: 16px; /* 矢印「>」が小さく見えないよう少しだけ大きく */
}




/*=======================================================================
  archive actress
========================================================================*/
/*--- 女優名クラウド全体のコンテナ ---*/
.actress-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 15px;
}
/* 個々のタグのスタイル */
.actress-tag {
    display: inline-block;
    padding: 2px 14px;
    background-color: #f3f4f6;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}
/* マウスホバー時のエフェクト */
.actress-tag:hover {
    background-color: var(--theme-color);
    color: #ffffff;
    border-color: var(--theme-color);
    transform: translateY(-1px); /* ほんの少し上に浮かす */
}




/*===============================================================================
  page
================================================================================*/
/* h1 */
.page-title {
  font-size: 1.4rem;
  font-weight: bold;
}
/*--- コンテンツ内の段落の間隔 ---*/
.page-body > * + * {
  margin-top: 1.7rem;
}
.page-body h2 {
 	padding: 0;
  border: none;
  background-color: transparent;
}

/* お問い合わせフォーム contact form 7 */
.wpcf7-form > p {
	margin-top: 2rem;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
	appearance: auto;	/* destroy.css解除 */
	padding: 0 5px;
	width: 70%;
	background-color: #f1f1f1;
	border: 1px solid #ccc;
}
.wpcf7-form input[type="checkbox"] {
	appearance: auto;
	margin-right: 5px;
}
.wpcf7-form input[type="submit"] {
  appearance: auto;
  padding: 0 10px;
  background-color: #f1f1f1;
  border: 1px solid #999;
}
.wpcf7 .screen-reader-response {	/* 上部のエラーメッセージを消去 */
	display: none;
}
.wpcf7-form .wpcf7-response-output {
	color: #ff0000;
}
.wpcf7-form.invalid .wpcf7-response-output {
	display: none;
}
.wpcf7-form.invalid .wpcf7-not-valid-tip {
	display: block;
	color: #ff0000;
}




/*==================================================================================
  sidebar
====================================================================================*/
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
/* PC用検索窓 */
.pc-search-form {
	display: flex;
	height: 36px;
}
.pc-search-form input[type="text"] {
	width: calc(100% - 60px);
	padding: 0 10px;
	border: 2px solid #aaaaaa;
	border-right: none;
  border-radius: 6px 0 0 6px;
	background: #fff;
  font-size: 16px;
	outline: 0;
}
.pc-search-form input[type="text"]:focus {
	outline: 0;
}
.pc-submit-btn, .pc-search-form input[type="submit"] {
	width: 60px;
	text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #000;
  background-color: var(--theme-color);
  border-radius: 0 6px 6px 0;
	cursor: pointer;
	outline : 0;
}
/*--- widget ---*/
.widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.widget-title {
  padding: 0.2rem 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-left: solid 5px var(--theme-color);
  background-color: #eee;
}
/*---- 役柄・人気女優クラウド ---*/
.sidebar-cloud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.sidebar-cloud li a {
  display: block;
  padding: 3px 0;
  background: #ddd;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 0;
  text-align: center;
}
.sidebar-cloud li a:hover {
  background-color: var(--theme-color);
  border: 1px solid var(--theme-color);
}

/* -----------------------------------------
  人気作品通常時（PC環境：サイドバー内では縦1列）
-------------------------------------------*/
.popular-card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* --- スマホ・タブレット環境（1024px以下） --- */
@media (max-width: 1024px) {
  .popular-card-grid {
    display: grid;
    /* 横幅200px以上を保ちつつ、画面幅に合わせて自動で列数を増減させる */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
}
/* カード自体のスタイル */
.popular-card {
  width: 100%;
  background: #eee;
  /*border-radius: 8px;*/
  overflow: hidden;
  transition: 0.2s;
}
.popular-card:hover {
  transform: translateY(-2px);
}
.popular-card-title {
  margin: 5px;
	font-size: 13px;
  line-height: 1.3;
  /*2行目以降…*/
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.popular-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 300 / 202;
	object-fit: cover;
	object-position: 50% 50%;
}
/* ランキングカウンターの初期化 */
.popular-card-grid.ranking {
  counter-reset: rank;
}
/* カード自体の設定（親要素に基準点を設定）*/
.popular-card-grid.ranking .popular-card {
  position: relative;
}
/* ランキングバッジ（擬似要素 ::before）*/
.popular-card-grid.ranking .popular-card::before {
  /* カウンターを進めて表示する設定 */
  counter-increment: rank;
  content: counter(rank);
  /* 絶対配置でカードの左上に合わせる */
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 10; /* 画像の上に確実に重ねる */
  /* 丸の直径 */
  width: 28px;
  height: 28px;
  /* 丸にする */
  border-radius: 50%;   
  /* 文字の上下左右中央寄せ */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  /* 4位以降のデフォルト背景色 */
  background-color: rgba(51, 51, 51, 0.8);
  color: #ffffff;
}
/* 1位・2位・3位のカラーバリエーション */
/* 1位（ゴールド） */
.popular-card-grid.ranking .popular-card:nth-of-type(1)::before {
  background-color: rgba(255, 183, 3, 0.85);
  color: #000000;
}
/* 2位（シルバー） */
.popular-card-grid.ranking .popular-card:nth-of-type(2)::before {
  background-color: rgba(204, 204, 204, 0.85);
  color: #000000;
}
/* 3位（ブロンズ） */
.popular-card-grid.ranking .popular-card:nth-of-type(3)::before {
  background-color: rgba(181, 124, 90, 0.85);
  color: #ffffff;
}




/*================================================================================
  footer
=================================================================================*/
.site-footer {
  padding: 1rem 0;
  font-size: 16px;
	text-align: center;
  background-color: #333;
  color: #fff;
  font-size: 0.8rem;
}
.site-footer p {
  margin-bottom: 0.5rem;
}
.site-footer p:last-child {
  margin-bottom: 0;
}
.footer-nav ul {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav li:not(:last-child)::after {
  content: "/";
  margin: 0 6px;
}




/*================================================================================
  スマホ用の下部メニューとPC用ページトップ
=================================================================================*/
/*--- PCの時はスマホ専用メニューを非表示、PC用トップ戻るボタンの基本設定 ---*/
.sp-footer-nav, .menu-checkbox, .sp-menu-content, .sp-search-content {
  display: none;
}
/* PC用トップ戻るボタン（デフォルトは非表示・少しスクロールしたらJSで表示） */
.pc-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--theme-color);
  color: #000;
  text-decoration: none;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}
/* JSで「.is-show」クラスがついたらフワッと表示 */
.pc-to-top.is-show {
  display: block;
  opacity: 1;
  visibility: visible;
}
/* --- スマホ・タブレット環境（1024px以下） --- */
@media (max-width: 1024px) {
  /* スマホの時はPC用の丸いボタンを完全に非表示にする（フッターメニューと被るため） */
  .pc-to-top.is-show {
    display: none !important;
  }
  .sp-footer-nav {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #111;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
  }
  .sp-footer-nav__list { display: flex; margin: 0; padding: 0; list-style: none; height: 100%; }
  .sp-footer-nav__list li { flex: 1; text-align: center; }
  .sp-footer-nav__list a, .menu-open-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; color: #fff; text-decoration: none; font-size: 11px; cursor: pointer; }
  .sp-footer-nav__list .icon { font-size: 18px; margin-bottom: 2px; }
  /* 検索・カテゴリ共通の背景マスク */
  .sp-menu-content, .sp-search-content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .sp-menu-content__inner {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #222;
    border-radius: 20px 20px 0 0;
    padding: 30px 20px;
    box-sizing: border-box;
    transition: bottom 0.3s ease;
  }
  /* ラジオボタン連動 */
  .search-cb:checked ~ .sp-search-content { opacity: 1; pointer-events: auto; }
  .search-cb:checked ~ .sp-search-content .sp-menu-content__inner { bottom: 60px; }
  .menu-cb:checked ~ .sp-menu-content { opacity: 1; pointer-events: auto; }
  .menu-cb:checked ~ .sp-menu-content .sp-menu-content__inner { bottom: 60px; }
  /* --- 検索フォームデザイン --- */
  .sp-search-form-wrap {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .sp-search-form { 
    display: flex; 
    width: 100%; 
    max-width: 340px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  /* 入力欄：type="text" なので余計な初期化が不要で素直に動く */
  .sp-search-form .search-input { 
    flex: 1; 
    width: 100%;
    height: 45px; 
    padding: 0 15px; 
    border: 2px solid #666;
    background: #2b2b2b; 
    color: #fff; 
    border-radius: 6px 0 0 6px; 
    font-size: 16px; 
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
  }
  /* タップした時（フォーカス時）は黄色に */
  .sp-search-form .search-input:focus {
    border-color: var(--theme-color);
  }
  /* 検索ボタン：buttonタグなので文字の上下左右中央寄せが最初から得意 */
  .sp-search-form .submit-btn { 
    width: 80px;
    height: 45px; 
    background: var(--theme-color); 
    color: #000; 
    border: 2px solid var(--theme-color); 
    font-weight: bold; 
    border-radius: 0 6px 6px 0; 
    cursor: pointer; 
    font-size: 15px;
    box-sizing: border-box;
    
    /* 文字の完全中央寄せ */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  /* 共通装飾 */
  .menu-title { color: var(--theme-color); font-weight: bold; margin-bottom: 20px; text-align: center; font-size: 15px; }
  .category-list { list-style: none; padding: 0; margin: 0 0 20px 0; max-height: 45vh; overflow-y: auto; }
  .category-list li a { display: block; color: #fff; padding: 14px; border-bottom: 1px solid #333; text-decoration: none; font-size: 14px; }
  .menu-close-btn { display: block; text-align: center; color: #aaa; padding: 10px; cursor: pointer; font-size: 13px; }
  
  body { padding-bottom: 60px; }
}
