/* ========================================
   1. variables
======================================== */
:root {
  --color-bg: #FFF7EC;
  --color-bg-light: #f5f5f5;
  --color-bg-gray: #efefef;
  --color-white: #ffffff;
  --color-text: #111111;
  --color-text-gray: #8c8c8c;
  --color-orange: #f08a00;
  --color-orange-dark: #c97b00;
  --color-line: #e19322;
  --color-green: #1fd11a;
  --color-red: #ff2b2b;

  --container-xl: 1580px;
  --container-lg: 1320px;
  --container-md: 1120px;
  --container-sm: 1040px;
  --container-xs: 780px;

  --transition: 0.25s ease;
}

/* ========================================
   2. base
======================================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

main section[id] {
  scroll-margin-top: 100px;
}

/* ========================================
   3. common
======================================== */
/* --- 共通パーツ (Components) --- */
/* 見出し共通 */
.c-heading-main {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
}

.c-heading-main::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  /* 全幅に広げる */
  height: 1px;
  /* 1pxに変更 */
  background-color: #f39800;
}

/* カプセル型ボタン共通 */
.c-btn-access,
.c-btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 60px;
  border: 2px solid #f39800;
  border-radius: 100px;
  color: #f39800;
  font-weight: bold;
  text-decoration: none;
  background-color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.c-btn-access:hover {
  background-color: #f39800;
  color: #fff;
}

/* ========================================
   ユーティリティクラス (表示・非表示の切り替え)
======================================== */
/* PC表示用（スマホでは非表示） */
@media screen and (max-width: 768px) {
  .u-show-pc {
    display: none !important;
  }
}

/* スマホ表示用（PCでは非表示） */
@media screen and (min-width: 769px) {
  .u-show-sp {
    display: none !important;
  }
}

/* おすすめリスト共通 (p-recommend) */
/* --- こんな方におすすめです（共通パーツ） --- */

.p-recommend {
  margin: 60px 0;
  text-align: center;
}

.p-recommend:last-child {
  margin-bottom: 0;
}

.p-recommend__title {
  color: #f39800;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.p-recommend__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  list-style: none;
  padding: 0;
}

.p-recommend__list li {
  background-color: #ffeed5;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
}

/* 左右交互詳細ブロック */
.p-detail-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}

.p-detail-block--reverse {
  flex-direction: row-reverse;
  /* 画像を左、テキストを右に */
}

.p-detail-block__text {
  flex: 1;
}

.p-detail-block__sub-title {
  color: #f39800;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 20px;
}


/* スマホ共通調整 */
@media (max-width: 768px) {
  .c-heading-main {
    font-size: 1.5rem;
  }

  .p-detail-block,
  .p-detail-block--reverse {
    flex-direction: column;
  }

  .p-recommend__list {
    grid-template-columns: 1fr;
  }

  .c-btn-access {
    padding: 12px 30px;
    width: 100%;
  }
}


/* ========================================
   4. mainvisual, gnavi
======================================== */

/*  メインビジュアル  */
.p-mv {
  position: relative;
}

.p-mv__inner img {
  width: 100%;
}

/* お電話ボタンの基本スタイル */
.p-mv__call-btn {
  position: absolute;
  top: 0;
  right: 0;
  /* MVの右上にピタッと配置 */
  width: 100px;
  height: 100px;
  background-color: #f39800;
  /* 伏見屋オレンジ */
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 50;
  /* 画像より上に表示 */
  transition: opacity 0.3s;

  /* ▼ ここがポイント：内側の白枠を表現 ▼ */
  outline: 1px solid #fff;
  outline-offset: -8px;
  /* 枠線を8px内側に引き下げる */
}

.p-mv__call-btn:hover {
  opacity: 0.8;
}

/* アイコンの調整 */
.p-mv__call-icon {
  width: 24px;
  height: auto;
  margin-bottom: 8px;
}

/* テキストの調整 */
.p-mv__call-text {
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1;
}

/* スマホ対応（少し小さくして邪魔にならないように） */
@media (max-width: 768px) {
  .p-mv__call-btn {
    width: 70px;
    height: 70px;
    outline-offset: -5px;
    /* 白枠の余白も狭める */
  }

  .p-mv__call-icon {
    width: 18px;
    margin-bottom: 5px;
  }

  .p-mv__call-text {
    font-size: 0.7rem;
  }
}

/* ナビゲーション全体の配置設定 */
.l-header-nav {
  position: absolute;
  /* メインビジュアルに重ねる */
  bottom: 0;
  /* MVの下部付近に来るよう調整（MVの高さに合わせて変更してください） */
  left: 0;
  width: 100%;
  z-index: 100;
  /* MVより上に表示 */
}


/* スクロール固定時（JSで付与されるクラス）のスタイル */
.l-header-nav.is-fixed {
  position: fixed;
  top: 0;
  height: 80px;
  /* 固定時の高さを指定（PCでは下のボーダーが反映されるよう80px） */
  /* 固定時は少し背景を透過させたり影をつけると見やすいです */
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #ddd;
  /* 上からスッと降りてくるアニメーション */
  animation: menuSlideDown 0.3s forwards;
}

@media (max-width: 768px) {
  .l-header-nav.is-fixed {
    height: 60px;
  }
}

/* アニメーションの定義 */
@keyframes menuSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* （参考）固定時のインナー幅を100%に広げたい場合は以下を追加 */

.l-header-nav.is-fixed .l-header-nav__inner {
  max-width: 100%;
  padding: 0 40px;
}



/* 中央寄せ・幅の制限 */
.l-header-nav__inner {
  max-width: 1000px;
  /* 左右に余白ができるよう幅を絞る */
  margin: 0 auto;
  background-color: #fff;
  display: flex;
  align-items: stretch;
  /* 高さを揃えてボタンを塗りつぶす */
  height: 80px;
  /* デザインに合わせた高さ */
  padding-left: 20px;
  /* 左側に少し余白 */
}

/* ロゴ高さ揃え */
.l-header-nav__logo_cover {
  display: flex;
  align-items: center;
}

.l-header-nav__logo img {
  width: 200px;
  /* PC用ロゴサイズ指定 */
}

/* メニューリスト */
.l-header-nav__menu {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  /* 右側に寄せる */
}

.l-header-nav__list {
  display: flex;
  list-style: none;
  align-items: stretch;
  margin: 0;
  padding: 0;
  gap: 0;
}

.l-header-nav__list li {
  border-left: 1px solid #ddd;
}

.l-header-nav__list li:last-child {
  border-right: 1px solid #ddd;
}

.l-header-nav__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  /* 左右幅を狭める */
  height: 100%;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 0.95rem;
  white-space: nowrap;
  /* 文字の折れ曲がり防止 */
  transition: background-color 0.3s;
}

.l-header-nav__list a:hover {
  background-color: #f7f7f7;
}

/* お問い合わせボタン（右端・オレンジ背景） */
.c-btn-contact {
  background-color: #f39800;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  /* メニュー項目と文字サイズを合わせる */
  line-height: 1;
  /* 文字上下の余分な余白を消す */
  height: 100%;
  /* 親要素いっぱいの高さ */
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  /* アイコンと文字を縦に並べる */
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.c-btn-contact:hover {
  opacity: 0.8;
}

.c-btn-contact__icon {
  width: 24px;
  height: auto;
}


/* スマホ時は以前のハンバーガーメニュー用の設定を適用 */
@media (max-width: 768px) {
  .l-header-nav {
    position: sticky;
    top: 0;
  }

  .l-header-nav__inner {
    width: 100%;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
  }

  .l-header-nav__logo img {
    width: 150px;
  }
}

/* --- 共通パーツ --- */
.c-btn-orange-menu {
  background-color: #f39800;
  color: #fff;
  padding: 12px 24px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- ハンバーガーボタン --- */
.c-hamburger {
  display: none;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  position: relative;
  z-index: 2000;
  cursor: pointer;
}

.c-hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #f39800;
  transition: 0.3s;
}

.c-hamburger span:nth-child(1) {
  top: 0;
}

.c-hamburger span:nth-child(2) {
  top: 11px;
}

.c-hamburger span:nth-child(3) {
  bottom: 0;
}

/* ボタン開放時アニメーション */
.c-hamburger.is-active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.c-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.c-hamburger.is-active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* --- スマホメニューレイアウト (768px以下) --- */
@media (max-width: 768px) {
  .c-hamburger {
    display: block;
  }

  .l-header-nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* 隠す */
    width: 80%;
    height: 100vh;
    background-color: #fff;
    padding: 100px 30px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }

  .l-header-nav__menu.is-active {
    right: 0;
  }

  .l-header-nav__list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .l-header-nav__list li {
    border-left: none;
    border-bottom: 1px solid #ddd;
    width: 100%;
  }

  .l-header-nav__list li:first-child {
    border-top: 1px solid #ddd;
  }

  .l-header-nav__list li:last-child {
    border-right: none;
  }

  .l-header-nav__list a {
    padding: 15px 0;
    justify-content: flex-start;
  }

  .l-header-nav__cta {
    width: 100%;
  }

  .c-btn-contact {
    width: 100%;
    height: auto;
    padding: 15px 0;
  }
}



/* セクション全体の余白 */
.p-security {
  padding: 0;
  background-color: #fff;
}

/* オレンジの角丸枠 */
.p-security__container {
  max-width: 1000px;
  margin: 0 auto;
  border: 3px solid #f39800;
  /* 太めのオレンジ線 */
  border-radius: 20px;
  /* 角丸 */
  padding: 40px;
  display: flex;
  /* 2カラム化 */
  justify-content: space-between;
  align-items: flex-start;
  /* 上揃えにして崩れを防止 */
  gap: 30px;
  /* カラム間の溝 */
  background-color: #fff;
}

/* 左側：テキスト */
.p-security__text-col {
  flex: 1;
  /* 余白を埋める */
}

.p-security__title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.p-security__lead {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.p-security__list {
  list-style: none;
  padding: 0;
}

.p-security__list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  /* リストの区切り線 */
  font-weight: bold;
  font-size: 0.95rem;
}

.p-security__list li span {
  color: #333;
}

/* 右側：画像 */
.p-security__image-col {
  flex: 0 0 45%;
  /* 幅を固定して崩れ防止 */
  max-width: 450px;
}

.p-security__image-col img {
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ対応：1カラムに切り替え */
@media (max-width: 768px) {
  .p-security__container {
    flex-direction: column;
    /* 縦並びに */
    padding: 20px;
  }

  .p-security__image-col {
    flex: none;
    width: 100%;
    /* スマホでは横幅いっぱい */
    margin-top: 20px;
  }
}

/* キーギャラリー全体のスタイル */
.p-key-gallery {
  padding: 40px 0;
}

.p-key-gallery__label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

@media (max-width: 768px) {
  .p-key-gallery__label {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.c-tag {
  background-color: #f39800;
  color: #fff;
  padding: 4px 15px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* グリッドレイアウト */
.p-key-gallery__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* PCは4列 */
  gap: 10px;
  /* 余白を入れる */
  list-style: none;
  padding: 0;
}

.p-key-gallery__item {
  background-color: #fff;
  text-align: center;
}

.p-key-gallery__img {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.p-key-gallery__img img {
  width: 100%;
  height: auto;
  display: block;
}

.p-key-gallery>p {
  font-size: 0.85rem;
  margin-top: 15px;
}

/* タブレット・スマホ対応 */
@media (max-width: 900px) {
  .p-key-gallery__list {
    grid-template-columns: repeat(2, 1fr);
    /* タブレット・スマホは2列 */
  }
}

.p-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.p-problem-grid__item {
  background-color: #fff4e5;
  /* 薄いオレンジ背景 */
  border-left: 5px solid #f39800;
  /* 左側のアクセント線 */
  padding: 15px;
  font-size: 0.9rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.p-trouble-support__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* 垂直方向中央寄せ */
  gap: 30px;
  /* リストと画像の間隔 */
  padding: 0 0 40px;
}

/* リスト全体のエリア */
.p-trouble-support__list {
  flex: 1;
}

/* 共通のアイテムスタイル */
.p-trouble-support__item {
  background-color: #ffeed5;
  /* 薄いオレンジ */
  color: #333;
  padding: 15px 20px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

/* 1行目だけ全幅 */
.p-trouble-support__item--full {
  width: 100%;
}

/* 2行目以降の2カラムグリッド */
.p-trouble-support__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2列 */
  gap: 10px;
}

.p-trouble-support__grid .p-trouble-support__item {
  margin-bottom: 0;
  /* gridのgapで管理するため */
}

/* 右側画像 */
.p-trouble-support__image {
  flex: 0 0 40%;
  /* 幅を40%で固定 */
}

.p-trouble-support__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-trouble-support__inner {
    flex-direction: column;
    /* 縦並び */
  }

  .p-trouble-support__grid {
    grid-template-columns: 1fr;
    /* スマホではリストも1列 */
  }

  .p-trouble-support__image {
    width: 100%;
  }
}


/* 鍵交換セクション全体 */
.p-exchange__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 60px 20px;
}

.p-exchange__content {
  flex: 1;
}

/* 縦並びのコンテナ */
.p-exchange__info-stack {
  display: flex;
  flex-direction: column;
  /* 常に縦並び */
  gap: 6px;
  /* 12pxから狭めました */
  /* ボックス間の余白 */
  max-width: 500px;
  /* PCで横に伸びすぎないよう制限 */
  margin-top: 25px;
  /* テキストとの間に余白を入れる */
}

/* 個別の角丸ボックス */
.p-exchange__info-item {
  background-color: #ffeed5;
  /* 薄いオレンジ */
  padding: 12px 25px;
  border-radius: 50px;
  /* 完全に丸いカプセル型 */
  font-size: 0.95rem;
  color: #333;
  text-align: left;
  line-height: 1.5;
}

.p-exchange__image {
  flex: 0 0 40%;
}

.p-exchange__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  /* 画像も少し角を丸くすると馴染みます */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-exchange__inner {
    flex-direction: column;
  }

  .p-exchange__info-stack {
    max-width: 100%;
    /* スマホでは横幅いっぱい */
  }

  .p-exchange__image {
    width: 100%;
  }
}



.p-shop-intro {
  padding: 80px 20px;
  background-color: #f9f6f1;
  /* 背景に薄いベージュ */
}

.p-shop-intro__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* リード文 */
.p-shop-intro__lead {
  text-align: center;
  margin-bottom: 50px;
}

.p-shop-intro__main-title {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* アクセスボタン */
.c-btn-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  /* 余白をいっそう詰めてデザインに近づけます */
  padding: 4px 60px;

  /* 線の色と太さ */
  border: 2px solid #f39800;

  /* 角丸を大きくします。大きめに設定することで綺麗なカプセル型を維持できます */
  border-radius: 100px;

  color: #f39800;
  font-weight: bold;
  font-size: 19px;
  /* 1pxほど大きく調整 */
  line-height: 1.2;
  /* 上下余白を詰めるため行高を調整 */
  text-decoration: none;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* ホバー時の演出（お好みで） */
.c-btn-access:hover {
  background-color: #f39800;
  color: #fff;
}

/* アイコンのサイズ調整 */
.c-btn-access img {
  width: 20px;
  height: auto;
}

/* グリッドレイアウト（3列×2行） */
.p-shop-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 各カードのスタイル */
.p-shop-intro__card {
  background-color: #fff;
  border: 2px solid #f39800;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-shop-intro__card-img {
  padding: 30px 20px 10px;
}

.p-shop-intro__card-img img {
  height: 80px;
  width: auto;
}

.p-shop-intro__card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.p-shop-intro__card-text {
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 20px 30px;
  flex-grow: 1;
  /* テキスト量に関わらずボタンの位置を揃える */
}

/* カード下部のオレンジリンク */
.p-shop-intro__card-link {
  display: block;
  width: 100%;
  background-color: #f39800;
  color: #fff;
  padding: 12px 0;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}

.p-shop-intro__card-link:hover {
  opacity: 0.8;
}

/* スマホ対応 */
@media (max-width: 900px) {
  .p-shop-intro__grid {
    grid-template-columns: repeat(2, 1fr);
    /* タブレット時は2列 */
  }
}

@media (max-width: 600px) {
  .p-shop-intro__grid {
    grid-template-columns: 1fr;
    /* スマホ時は1列 */
  }

  .p-shop-intro__main-title {
    font-size: 1.4rem;
  }
}

/* セクション共通 */
.p-detail-section {
  padding: 50px 20px;
  background-color: #ffffff;
  border-top: 3px solid #FF9400;
}

.p-detail-section__inner {
  max-width: 1000px;
  margin: 0 auto;
}



/* 鍵交換・ピッキング対策用の特別な見出しスタイル */
.p-detail-block--exchange .p-detail-block__sub-title {
  border-bottom: 1px solid #f39800;
  /* オレンジ色の下線を1pxに変更 */
  padding-bottom: 12px;
  /* 文字と線の間の余白 */
  margin-bottom: 30px;
  /* 線と下のテキストの間の余白 */
  display: block;
}

/* PCサイズのみ、右側の写真の下まで線を伸ばしてくっつける */
@media (min-width: 769px) {
  .p-detail-block--exchange .p-detail-block__sub-title {
    margin-right: -40px;
    /* p-detail-blockのgap(40px)を相殺して画像を突き抜ける位置まで線を伸ばす */
  }
}

.p-detail-block__desc {
  font-size: 0.95rem;
  line-height: 1.8;
}

.p-detail-block__img {
  flex: 0 0 45%;
}

.p-detail-block__img img {
  width: 100%;
  border-radius: 4px;
}

@media (max-width: 768px) {

  .p-detail-block,
  .p-detail-block--reverse {
    flex-direction: column;
    gap: 30px;
  }

  .p-detail-block__img {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* 鍵のトラブルセクション特有の調整 */
#service-key .p-detail-block {
  margin-bottom: 80px;
  /* 各ブロック間の間隔を広めに設定 */
}

/* 鍵交換ボックスの微調整（テキスト量に合わせて） */
.p-exchange__info-item {
  margin-bottom: 10px;
  /* 縦並びの時の隙間 */
  font-size: 0.85rem;
  padding: 12px 20px;
  font-weight: bold;
}

/* どろぼーの手口セクションの余白 */
.p-security__container {
  margin-top: 60px;
}

.p-makers {
  padding: 60px 20px;
  background-color: #fff;
}

.p-makers__inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* セクションタイトル */
.p-makers__main-title {
  text-align: center;
  color: #f39800;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 50px;
}

/* 4カラムグリッド */
.p-makers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  /* 境界線を引くためgapは0に */
}

.p-makers__category {
  padding: 0 20px;
  border-right: 1px solid #ccc;
  /* 縦の境界線 */
}

/* 4つ目（右端）の線は消す */
.p-makers__category:last-child {
  border-right: none;
}

/* カテゴリ小見出し */
.p-makers__sub-title {
  color: #f39800;
  font-size: 0.95rem;
  /* 小さめに調整 */
  font-weight: normal;
  margin-bottom: 15px;
}

/* メーカー名リスト */
.p-makers__list {
  list-style: none;
  padding: 0;
}

.p-makers__list li {
  font-size: 0.85rem;
  /* 小さく読みやすく調整 */
  line-height: 1.8;
  color: #333;
}

/* 下段メッセージ */
.p-makers__footer-text {
  text-align: center;
  margin-top: 50px;
  color: #f39800;
  font-weight: bold;
  line-height: 1.6;
  font-size: 1.1rem;
}

.p-makers__footer-text span {
  font-size: 1.2rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-makers__grid {
    grid-template-columns: repeat(2, 1fr);
    /* スマホは2列 */
    gap: 30px 0;
  }

  .p-makers__category:nth-child(2n) {
    border-right: none;
    /* 2つごとに右線を消す */
  }
}

@media (max-width: 480px) {
  .p-makers__grid {
    grid-template-columns: 1fr;
    /* 非常に狭い画面は1列 */
  }

  .p-makers__category {
    border-right: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
  }

  .p-makers__category:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  /* 上段と下段の間隔を、通常アイテムと同じにする */
  .p-makers__grid--lower {
    border-top: 1px solid #ccc;
    margin-top: 30px;
    padding-top: 30px;
  }
}

/* グリッド下段用の余白（PC・タブレット用） */
.p-makers__grid--lower {
  margin-top: 40px;
  border-top: 1px solid #ccc;
  /* 上段との区切り線を入れる場合 */
  padding-top: 40px;
}

/* カテゴリ内のリスト基本設定 */
.p-makers__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-makers__list li {
  font-size: 0.85rem;
  /* 小さめに調整 */
  line-height: 1.8;
  color: #333;
}

/* --- イレギュラー：リスト内の2列カラム設定 --- */
.p-makers__list--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* カテゴリ内で2列にする */
  gap: 0 10px;
}

/* 長い名前のメーカーなど、1列丸々使いたい場合用 */
.p-makers__list--2col li.full-width {
  grid-column: 1 / 3;
}

/* スマホ対応の微調整 */
@media (max-width: 768px) {
  .p-makers__grid--lower {
    margin-top: 20px;
    padding-top: 20px;
  }

  /* スマホではリスト内の2列を解除して読みやすくする場合 */
  .p-makers__list--2col {
    grid-template-columns: 1fr;
  }
}

/* --- LINE相談エリア --- */
.p-cta-line {
  background-color: #fbe9cd;
  /* オレンジ背景 */
  padding: 60px 20px;
  text-align: center;
}

.p-cta-line__title {
  color: #333;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.p-cta-line__desc {
  font-size: 0.95rem;
  margin-bottom: 30px;
}

/* LINEボタン */
.c-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #06c755;
  /* LINEグリーン */
  color: #fff;
  padding: 15px 60px;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 0 #05a346;
  transition: transform 0.2s;
}

.c-btn-line:hover {
  transform: translateY(-2px);
}

.c-btn-line img {
  width: 32px;
  height: auto;
}

.p-cta-line__url {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #666;
}

/* --- 店舗情報エリア --- */
.p-cta-shop {
  padding: 60px 20px;
  background-color: #fff;
  border-top: 2px solid #f39800;
}

.p-cta-shop__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.p-cta-shop__logo {
  flex: 0 0 250px;
}

.p-cta-shop__info {
  flex: 1;
}

.p-cta-shop__address {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-weight: bold;
}

.p-cta-shop__map-link {
  background-color: #f39800;
  color: #fff;
  padding: 2px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8rem;
}

.p-cta-shop__tel {
  font-size: 2rem;
  font-weight: bold;
  color: #f39800;
  text-decoration: none;
  display: inline-block;
}

.p-cta-shop__time {
  font-size: 0.9rem;
  color: #666;
  margin-left: 5px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-cta-shop__inner {
    flex-direction: column;
    text-align: center;
  }

  .p-cta-shop__address {
    flex-direction: column;
    gap: 10px;
  }

  .c-btn-line {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.2rem;
  }

  .p-cta-shop__tel {
    font-size: 1.6rem;
  }
}

.p-trouble-cases {
  padding: 80px 0;
  background-color: #fff4e5;
  /* 薄いベージュ・オレンジ背景 */
  border-top: 3px solid #FF9400;
}

.p-trouble-cases__inner {
  max-width: 1200px;
  /* 画像を横いっぱいに見せるため少し広め */
  margin: 0 auto;
  padding: 0 20px;
}

/* 3連画像：隙間なしで並べる */
.p-trouble-cases__gallery {
  display: flex;
  margin: 40px 0;
}

.p-trouble-cases__img {
  flex: 1;
  overflow: hidden;
}

.p-trouble-cases__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* ホバーで少し拡大する演出（任意） */
.p-trouble-cases__img:hover img {
  transform: scale(1.05);
}

/* 下部エリア */
.p-trouble-cases__footer {
  text-align: center;
  margin-top: 40px;
}

.p-trouble-cases__lead {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-trouble-cases__gallery {
    flex-direction: column;
    /* スマホでは縦並び */
    padding: 0 20px;
    gap: 15px;
  }

  .p-trouble-cases__img {
    height: auto;
    /* スマホ時の画像の高さを固定をやめ、自然な縦横比に */
  }

  .p-trouble-cases__img img {
    height: auto;
    border-radius: 4px;
  }
}

.p-faq {
  padding: 80px 20px;
  background-color: #fff;
}

.p-faq__inner {
  max-width: 800px;
  /* FAQは読みやすさ重視で幅を絞る */
  margin: 0 auto;
}

.p-faq__list {
  margin-top: 50px;
}

.p-faq__item {
  margin-bottom: 40px;
  /* 質問ペアごとの間隔 */
}

/* 質問（Q） */
.p-faq__question {
  color: #f39800;
  /* 伏見屋オレンジ */
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
  display: block;
}

/* 回答（A） */
.p-faq__answer {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
  /* dt/ddのデフォルト余白をリセット */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-faq {
    padding: 60px 20px;
  }

  .p-faq__question {
    font-size: 1rem;
  }

  .p-faq__answer {
    font-size: 0.95rem;
  }
}

/* インスタグラム */
.p-instagram {
  padding: 80px 20px;
  background-color: #fff4e5;
  /* 背景色合わせ */
}

.p-instagram__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4列並び */
  gap: 15px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.p-instagram__item {
  aspect-ratio: 1 / 1;
  /* 正方形 */
  background-color: #ccc;
  /* プレースホルダー */
}

/* お知らせ */
.p-news {
  padding: 80px 20px;
  background-color: #fff4e5;
}

.p-news__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.p-news__list {
  margin-top: 40px;
  border-top: 1px solid #fff;
  /* 上の境界線 */
}

.p-news__item {
  border-bottom: 2px solid #fff;
  /* アイテムごとの区切り線 */
  background-color: #fff;
  /* 行の背景色 */
  margin-bottom: 5px;
}

.p-news__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 0;
  transition: opacity 0.3s;
}

.p-news__link:hover {
  opacity: 0.7;
}

/* カテゴリラベル */
.p-news__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
}

.p-news__category--news {
  background-color: #f39800;
  /* NEWS（オレンジ） */
}

.p-news__category--product {
  background-color: #b87e3d;
  /* 新商品（ブラウン系） */
}

/* 日付 */
.p-news__date {
  padding: 0 20px;
  color: #999;
  font-size: 0.9rem;
}

/* タイトル */
.p-news__title {
  font-size: 0.95rem;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 長いタイトルを...で切る */
}

.p-news__btn {
  text-align: center;
  margin-top: 40px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-instagram__grid {
    grid-template-columns: repeat(2, 1fr);
    /* スマホは2列 */
  }

  .p-news__link {
    flex-wrap: wrap;
    /* スマホで折り返し */
    padding: 10px;
  }

  .p-news__category {
    width: 80px;
    height: 30px;
    font-size: 0.8rem;
  }

  .p-news__title {
    width: 100%;
    margin-top: 10px;
    white-space: normal;
    /* スマホでは2行以上OKに */
  }
}

.p-contact {
  padding: 80px 20px;
  background-color: #fff4e5;
  /* セクション共通背景 */
}

.p-contact__inner {
  max-width: 800px;
  margin: 0 auto;
}

.p-contact__form {
  background-color: transparent;
  margin-top: 40px;
}

.p-contact__item {
  display: flex;
  margin-bottom: 25px;
  align-items: flex-start;
}

.p-contact__label {
  flex: 0 0 240px;
  font-weight: bold;
  padding-top: 10px;
}

.c-tag--required {
  color: #ff4d4d;
  font-size: 0.85rem;
  margin-left: 5px;
}

.p-contact__input {
  flex: 1;
}

/* 入力フィールド共通 */
.p-contact__input input[type="text"],
.p-contact__input input[type="email"],
.p-contact__input textarea {
  width: 100%;
  border: none;
  background-color: #fff;
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 2px;
}

/* プライバシーポリシー同意 */
.p-contact__privacy-check {
  text-align: center;
  margin: 40px 0 20px;
  font-weight: bold;
}

/* ポリシーボックス（スクロール） */
.p-contact__policy-box {
  background-color: #fff;
  padding: 25px;
  height: 200px;
  overflow-y: scroll;
  /* 縦スクロール */
  font-size: 0.85rem;
  line-height: 1.6;
  border: 1px solid #eee;
  margin-bottom: 40px;
}

.p-contact__policy-box h4 {
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

/* 送信ボタン（既存のカプセル型ボタンを流用） */
.p-contact__submit,
.wpcf7cp-submit-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  position: relative;
  width: 100%;
}

.p-contact__submit .c-btn-access,
.wpcf7 form input[type="submit"],
.wpcf7 form input[type="button"] {
  border: 2px solid #f39800;
  color: #f39800;
  cursor: pointer;
  background-color: #fff;
  padding: 12px 60px;
  /* カプセル型に合わせる */
  border-radius: 100px;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
}

.p-contact__submit .c-btn-access:hover,
.wpcf7 form input[type="submit"]:hover,
.wpcf7 form input[type="button"]:hover {
  background-color: #f39800;
  color: #fff;
}

/* CF7のローディングスピナーがボタンを左に押しやらないように絶対配置化 */
.wpcf7-spinner {
  position: absolute;
  right: calc(50% - 120px);
  /* ボタンの右横に配置 */
}

/* SNSアイコン */
.p-contact__sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.p-contact__sns img {
  width: 50px;
  height: auto;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-contact__item {
    flex-direction: column;
  }

  .p-contact__label {
    flex: none;
    margin-bottom: 10px;
  }

  .p-contact__input {
    width: 100%;
  }
}


.l-footer {
  background-color: #f39800;
  color: #fff;
  padding: 60px 20px;
}

.l-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ロゴ中央揃え */
.l-footer__top {
  text-align: center;
  margin-bottom: 50px;
}

.l-footer__logo img {
  width: 280px;
  /* 少し大きめに調整 */
  margin: 0 auto 10px;
}

.l-footer__time {
  font-weight: bold;
  line-height: 1.6;
}

.l-footer__content {
  display: flex;
  gap: 40px;
}

/* 左側：白ボックス */
.l-footer__left {
  flex: 1;
}

.l-footer__heading {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.c-info-box {
  background-color: #fff;
  color: #f39800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: bold;
}

.c-info-box__text small {
  font-size: 0.75rem;
  color: #f39800;
}

.c-info-box__icon {
  width: 24px;
}

.l-footer__payment {
  background-color: #fff;
  padding: 15px;
  margin-top: 15px;
  border-radius: 4px;
}

.l-footer__payment-title {
  color: #f39800;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.l-footer__payment-icons img {
  width: 100%;
}

/* 右側：リストとSNS */
.l-footer__right {
  flex: 1;
}

.l-footer__products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  font-size: 0.85rem;
}

.l-footer__products-grid ul {
  list-style: none;
  padding: 0;
}

.l-footer__products-grid li::before {
  content: "・";
}

.l-footer__license {
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 10px;
  margin: 20px 0;
  font-size: 0.85rem;
}

.l-footer__bottom-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.l-footer__sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.c-btn-line-small {
  background-color: #06c755;
  color: #fff;
  padding: 8px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
}

/* 駐車場アイコン（円形のPアイコンをCSSで再現） */
.l-footer__parking {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1rem;
}

.c-icon-p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #fff;
  color: #f39800;
  /* 背景色と同じオレンジ */
  border-radius: 50%;
  font-size: 14px;
  margin-right: 8px;
  line-height: 1;
}

/* LINEボタン（アイコン＋テキスト） */
.c-btn-line {
  display: inline-flex;
  align-items: center;
  background-color: #06c755;
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}

.c-btn-line:hover {
  opacity: 0.8;
}

.c-btn-line__icon {
  width: 20px;
  height: auto;
  margin-right: 8px;
}

.l-footer__sns {
  display: flex;
  align-items: center;
  gap: 15px;
}

.l-footer__sns-link img {
  width: 30px;
  height: auto;
}

/* レイアウトの微調整 */
.l-footer__bottom-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .l-footer__bottom-links {
    flex-direction: column;
    gap: 20px;
  }
}

/* スマホ対応 */
@media (max-width: 850px) {
  .l-footer__content {
    flex-direction: column;
  }

  .l-footer__products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* --- ページトップボタン --- */
.c-page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background-color: #f39800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.c-page-top.is-active {
  opacity: 1;
  visibility: visible;
}

.c-page-top:hover {
  opacity: 0.8;
}

.c-page-top::before {
  content: "";
  width: 14px;
  height: 14px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(-45deg);
  margin-top: 6px;
}

@media (max-width: 768px) {
  .c-page-top {
    width: 50px;
    height: 50px;
    right: 15px;
    bottom: 15px;
  }

  .c-page-top::before {
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    margin-top: 5px;
  }
}

/* ========================================
   お問い合わせ確認画面 (Confirm Plus CF7)
======================================== */
#wpcf7cpcnf table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background-color: #fff;
}

#wpcf7cpcnf table th {
  background-color: #f39800;
  /* 伏見屋オレンジ */
  color: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  width: 30%;
  text-align: left;
  font-weight: bold;
}

#wpcf7cpcnf table td {
  padding: 15px;
  border: 1px solid #ddd;
}

.wpcf7cp-submit-form {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* 確認画面のボタンサイズ調整 */
.wpcf7cp-submit-form input {
  font-size: 1rem !important;
}

@media (max-width: 768px) {

  #wpcf7cpcnf table th,
  #wpcf7cpcnf table td {
    display: block;
    width: 100%;
  }

  #wpcf7cpcnf table th {
    border-bottom: none;
  }
}