@charset "utf-8";

img,
.resize {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

html,
body {
  scroll-behavior: smooth;
}

#concept,
#items,
#flow,
#faq,
#shop,
#contact {
  scroll-margin-top: 104px; /* sp-navの高さ分 */
}

/* 1025px以上ではsp-navが非表示になるので0に */
@media (min-width: 1025px) {
  #concept,
  #items,
  #flow,
  #faq,
  #shop,
  #contact {
    scroll-margin-top: 0;
  }
}

.pc-layout {
  font-family: "Noto Sans JP", sans-serif;
  /* background: url(/img/bg.jpg) top / cover no-repeat; */
  background-color: #faf8f2;
}

.body_wrap {
  max-width: 750px;
  margin: 0 auto;
  font-size: clamp(0.9rem, calc(0.9rem + 0.5vw), 1.5rem);
  font-weight: bold;
  color: #333;
  line-height: 1.5;
}

@media (min-width: 800px) {
  .body_wrap {
    max-width: 750px;
    width: 100%;
    margin-left: 0; /* ← autoから変更 */
  }
}

@media (min-width: 2250px) {
  .body_wrap {
    max-width: 100%;
  }
}

.sec {
  padding: 3% 0;
}

.reason_h2,
.item_h2,
.contact-h2 {
  font-family: ah-hakushu-fude-thick-script, "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 36px;
}

/* CTAボタン */

.mid-cta {
  text-align: center;
  padding: 24px 16px;
  margin-top: 20px;
  background: #faf8f2;
}

.mid-cta-text {
  font-size: 20px;
  margin-bottom: 12px;
  color: #333;
  font-weight: bold;
  line-height: 1.6;
}
@media (min-width: 1200px) {
  .mid-cta-text {
    font-size: calc(1rem + 0.3vw);
  }
}

.mid-cta-btn {
  display: inline-block;
  background: linear-gradient(160deg, #2c2c6a 0%, #323062 100%);
  background: linear-gradient(160deg, #2e2f70 0%, #23235a 100%);
  color: #fff;
  padding: 16px 28px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}

.mid-cta-btn:active {
  transform: translateY(4px);
}

/* SP ナビゲーション */
.sp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #23235a;
  width: 100%;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.nav-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-right: 0.5px solid rgba(255, 255, 255, 0.15);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
  gap: 4px;
  text-align: center;
  transition: background 0.2s;
  min-height: 52px;
}

.nav-grid a:hover {
  background: rgba(0, 0, 0, 0.5);
}

.nav-grid a:nth-child(1) {
  grid-column: 1 / 3;
}
.nav-grid a:nth-child(2) {
  grid-column: 3 / 5;
}
.nav-grid a:nth-child(3) {
  grid-column: 5 / 7;
}

/* 下段2つ：各3列分で均等 */
.nav-grid a:nth-child(4) {
  grid-column: 1 / 4;
}
.nav-grid a:nth-child(5) {
  grid-column: 4 / 7;
}

/* 1025px以上では非表示 */
@media (min-width: 1025px) {
  .sp-nav {
    display: none;
  }
}

/* スクリーンリーダーとSEO用：視覚的に非表示 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* FV */
.fv {
  text-align: center;
}

/* キャンペーン */

.campaign {
  background-color: #fff;
}

.campaign-slider {
  max-width: 750px;
  margin: 0 auto;
}

/* コンセプト */

.concept {
  text-align: center;
  font-weight: bold;
  background-color: #fff;
  font-size: 1.1rem;
}
.concept h2 {
  padding-bottom: 3%;
}
@media (min-width: 325px) {
  .concept {
    font-size: clamp(1.2rem, calc(0.8rem + 0.1cqi), 1.6rem);
  }
}
@media (min-width: 810px) {
  .concept {
    font-size: 1.1rem;
  }
}
@media (min-width: 1025px) {
  .concept {
    font-size: 0.83rem;
  }
  .concept h2,
  .concept_h2--top {
    font-size: 24px;
  }
}
@media (min-width: 1200px) {
  .concept_under-text {
    font-size: calc(1rem + 0.1vw);
  }
}
.concept_red {
  padding-bottom: 2%;
  color: #b11d38;
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (min-width: 1025px) {
  .concept_red {
    font-size: 2rem;
  }
}

.concept_under-block {
  padding: 3% 1.5%;
}

.concept_under-text {
  line-height: 2;
}

.concept_under-text .concept_red {
  font-size: 24px;
}

.concept_under_dot {
  display: none;
}

@media (min-width: 425px) {
  .concept_under_dot {
    display: inline;
  }

  .concept_under-text_br {
    display: none;
  }
}

/* 選ばれる理由 */

.reason {
  color: #fff;
  padding-top: 0;
  padding-bottom: 0;
}

.reason-bg-icon {
  position: absolute;
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.reason-bg-icon img {
  width: 5rem;
  object-fit: cover;
  opacity: 0.08; /* ← 数値を下げるほど薄くなります */
  filter: brightness(0) invert(1); /* ← 画像を白色に変換 */
}

.reason_h2 {
  text-align: center;
  max-width: 700px; /* ← 追加 */
  margin: 0 auto; /* ← 追加 */
  padding: 0 2%;
}

.reason_bgc {
  background-color: #23235a;
  padding: 10% 0 5%;
  position: relative;
  max-width: 750px; /* ← 追加 */
  margin: 0 auto; /* ← 追加 */
}

.reason-card {
  display: flex;
  justify-content: flex-start;
  color: #fff;
  padding: 5% 2%;
  gap: 1rem;
  max-width: 700px; /* ← 追加 */
  margin: 0 auto; /* ← 追加 */
  width: 100%;
}
@media (min-width: 401px) {
  .reason-card {
    padding: 5% 10%; /* ← 左右paddingを増やして中央に寄せる */
  }
}

@media (min-width: 600px) {
  .reason-card {
    padding: 5% 5% 5% 17%;
  }
}
@media (min-width: 1024px) {
  .reason-card {
    padding: 5%;
  }
}
@media (min-width: 1300px) {
  .reason-card {
    padding-left: calc(100% - 85%);
  }
}
/* 左側 */
.reason-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 20%; /* ← 追加：幅を固定して全カードで揃える */
  flex-shrink: 0;
  /* ← 追加：縮まないよう固定 */
}
/* @media (min-width: 450px) {
  .reason-left {
    width: 38%;
  }
} */
/* ダイヤっぽい数字 */
.number {
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid #fff;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.number1::before {
  content: "1";
  transform: rotate(-45deg);
  font-weight: bold;
}

.number2::before {
  content: "2";
  transform: rotate(-45deg);
  font-weight: bold;
}
.number3::before {
  content: "3";
  transform: rotate(-45deg);
  font-weight: bold;
}
/* 縦書き */
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 10px;
  letter-spacing: 2px;
}
.vertical-text_fz {
  font-size: 1.6rem;
  font-weight: bold;
}
/* 右側テキスト */
.reason-right {
  font-size: 1rem;
  line-height: 2;
  flex: 1;
  min-width: 0;
}

.reason-right.--space {
  padding-top: 3%;
}

/* @media (min-width: 325px) {
  .reason-right {
    font-size: clamp(1rem, calc(1rem + 0.2cqi), 18px);
  }
} */

@media (min-width: 325px) {
  .reason-right {
    font-size: 0.95rem;
  }
}
@media (min-width: 1500px) {
  .reason-right {
    font-size: calc(1rem + 0.2vw);
  }
}

.reason_under-img-box {
  text-align: right; /* ←これだけでOK */
  margin-right: 0%;
  margin-top: 0.8rem;
}

.reason-img {
  width: 100%; /* 幅を明示 */
  text-align: right;
  margin-right: 0;
  border: solid #fff 1px;
}

/* 買取対象 */

.items {
  padding: 9% 2% 4%;
  text-align: center;
  background-color: #faf8f2;
  color: #333;
}

.items_bgc {
  position: relative;
}

.items-bg-icon {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.items-bg-icon img {
  width: 5rem;
  object-fit: cover;
  opacity: 0.08; /* ← 数値を下げるほど薄くなります */
  /* filter: brightness(0) invert(1);  */
  /* 画像を白色に変換 */
}

.item_h2 {
  padding: 2% 0 4%;
}
/* 買取商品グリッド */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
  font-size: clamp(0.85rem, 1.7vw, 1.5rem);
}

@media (min-width: 1025px) {
  .grid {
    font-size: 0.91rem;
  }
}

.grid_card {
  background: #fff;
  border-radius: 3px;
  padding: 2% 2% 3%;
}
/* .grid_txt {
  font-size: clamp(0.85rem, 1.5vw, 1.5rem);
}

@media (max-width: 380px) {
  .grid_txt {
    font-size: 12px;
  }
} */

.items_under_txt {
  margin-top: 3%;
}
@media (min-width: 1025px) {
  .reason small {
    font-size: 0.79rem;
  }
}

/* 画面いっぱいにする */
.item-gallery {
  width: 100%; /* ← 100vw から変更 */
  position: static; /* ← relative から変更 */
  left: auto; /* ← 削除 */
  margin-left: 0; /* ← -50vw から変更 */
}

.item-gallery img {
  width: 100%;
  max-width: 100%; /* ← none から変更 */
  display: block;
}

@media (min-width: 751px) {
  .item-gallery img {
    max-width: 750px;
    margin: 0 auto;
  }
}

@media (min-width: 800px) {
  .item-gallery img {
    max-width: 750px;
    margin: 0 auto;
  }
}

/* 流れ */

.flow-wrap {
  display: flex;
  justify-content: space-evenly;
}

/* 左カラム */
.flow-left {
  min-width: 56px;
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 12px;
}

.flow-left-icon {
  width: 50%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* ← 追加：画像が丸からはみ出ないよう */
}

.flow-left-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ← ロゴ全体が収まるよう */
}

.flow-left-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #333;
  margin: 0;
}

/* 右カラム */
.flow-right {
  width: 80%;
  flex: 1;
  padding: 20px 16px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* カード */
.flow-card {
  background: #23235a;
  border-radius: 2px 2px 10px 10px;
  overflow: hidden;
}

.flow-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.flow-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #fff;
}

.flow-card-body {
  padding: 12px 14px 16px;
}

.flow-step-label {
  font-size: 11px;
  font-weight: 500;
  color: #fffc88;
  letter-spacing: 1px;
  margin: 0 0 6px;
}

.flow-card-title {
  font-size: clamp(0.9rem, 1.48vw, 1.3rem);
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.5;
}
@media (min-width: 440px) {
  .flow-card-title_br {
    display: none;
  }
}

.flow-card-text {
  font-size: 12px;
  color: #fffc88;
  line-height: 1.7;
  margin: 0;
}

/* 矢印 */
.flow-arrow {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

/* FAQ */

.faq {
  margin: 0 auto;
  padding: 0 4%;
}

.faq-h2 {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4%;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* .faq-item:hover {
  background: rgba(0, 49, 131, 0.5);
} */

.faq-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  cursor: pointer;
  user-select: none;
}

/* Q アイコン */
.faq-q-icon {
  font-family: sans-serif;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #23235a;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-summary-text {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* ＋ボタン */
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-toggle svg {
  transition: transform 0.2s;
}

/* 開いているとき×に回転 */
.faq-item.open .faq-toggle svg {
  transform: rotate(45deg);
}

/* 回答エリア */
.faq-answer {
  display: none;
  padding: 0 16px 20px 16px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8e6e0; /* ← 区切り線を追加 */
}

.faq-a-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b42943;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-answer p {
  font-size: 13px;
  color: #000;
  line-height: 1.8;
  margin: 0;
  padding-top: 4px; /* アイコンと高さを合わせる微調整 */
}

.sp-mini,
.faq-summary-text_3 {
  display: block;
}
.faq-summary-text_4 {
  display: none;
}
/* レスポンシブ */
@media (max-width: 480px) {
  .faq-summary-text {
    font-size: 13px;
  }
  .faq-answer p {
    font-size: 12px;
  }
}

@media (min-width: 351px) {
  .sp-mini {
    display: none;
  }
}
@media (min-width: 415px) {
  .faq-summary-text_3 {
    display: none;
  }
}
@media (min-width: 580px) {
  .faq-summary-text_4 {
    display: block;
  }
}

/* 店舗 */

.shop-wrap {
  width: 100%;
  display: flex;
  align-items: stretch;
  align-self: center;
  justify-content: space-evenly;
}

.shop-left {
  min-width: 56px;
  width: 20%;
  /* flex-shrink: 0; */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3% 0;
  gap: 12px;
}

@media (max-width: 480px) {
  .shop-left {
    width: 20%;
  }
}

.shop-left-icon {
  width: 50%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* ← 追加：画像が丸からはみ出ないよう */
}
.shop-left-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ← ロゴ全体が収まるよう */
}
.shop-left-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #333;
  margin: 0;
}

.shop-right {
  padding: 16px 0 16px 16px;
}

/* 上下2枚 × 右に横スクロール */
.shop-scroll {
  display: flex;
  flex-direction: row; /* 列を横に並べる */
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shop-scroll::-webkit-scrollbar {
  display: none;
}

.shop-column {
  display: flex;
  flex-direction: column; /* カードを縦に並べる */
  gap: 12px;
  flex-shrink: 0;
  width: 80%; /* 画面幅の80%で1列分 */
  scroll-snap-align: start;
}

.shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
}

.shop-card-img {
  width: 100%;
  overflow: hidden;
}

.shop-card-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.shop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
}

.shop-card-name {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.shop-badge {
  background: #23235a;
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}

.shop-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #323062;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shop-card-footer {
  cursor: pointer;
}

.shop-card-footer * {
  pointer-events: none;
}

/* 縦線（プラスの縦棒）をトランジションで回転させる */
.icon-v {
  transition: transform 0.2s;
  transform-origin: center;
}

.shop-card.open .icon-v {
  transform: rotate(90deg);
  opacity: 0; /* ← マイナスにするため縦線を消す */
}

/* 詳細エリア */

.shop-detail {
  display: none;
  padding: 10px 12px 14px;
  /* border-top: 1px solid #e0e0e0; */
}

.shop-card.open .shop-detail {
  display: block;
}

.shop-detail p,
.shop-detail a {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin: 0;
}

/* CTA */

.contact-wrap {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(160deg, #2c2c6a 0%, #18184b 100%);
  background: linear-gradient(160deg, #2e2f70 0%, #23235a 100%);
  border-radius: 16px;
  padding: 40px 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 背景の透かしアイコン */
.contact-bg-icon {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.contact-bg-icon img {
  width: 5rem;
  object-fit: cover;
  opacity: 0.08; /* ← 数値を下げるほど薄くなります */
  filter: brightness(0) invert(1); /* ← 画像を白色に変換 */
}

.contact-h2 {
  color: #fff;
  margin: 0 0 28px;
  position: relative;
}

/* ボタン共通 */
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 16px 16px 16px 20px;
  color: #23235a;
  text-decoration: none;
  margin-bottom: 3%;
  cursor: pointer;
  box-shadow: 0 4px 0 #b8c8e8; /* ← 追加：下に影をつけてボタン風に */
  transition:
    transform 0.1s,
    box-shadow 0.1s; /* ← 追加：押した時のアニメーション */
}

.contact-btn:hover {
  transform: translateY(4px); /* ← 押し込んだように見せる */
  box-shadow: 0 2px 0 #b8c8e8; /* ← 影を小さくする */
}

.contact-btn-label {
  font-size: clamp(0.9rem, 1.48vw, 1.3rem);
  font-weight: 500;
  flex: 1;
  text-align: center;
}

/* 矢印アイコン丸 */
.contact-btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #23235a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 電話番号ラベル */
.contact-tel-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px;
}

/* 電話番号ボタン */
.contact-tel-btn .contact-btn-label {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* 注釈テキスト */
.contact-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 480px) {
  .contact-wrap {
    border-radius: 12px;
    padding: 32px 16px 24px;
  }
  .contact-tel-btn .contact-btn-label {
    font-size: 17px;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.sp-contact-fab {
  position: fixed;
  bottom: 28px;
  left: 20px;
  z-index: 200;
  background: linear-gradient(160deg, #2c2c6a 0%, #18184b 100%);
  background: linear-gradient(160deg, #2e2f70 0%, #23235a 100%);
  color: #fff;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  border: 2px solid #fff;
  transition: all 0.2s ease;
  animation: pulse 2s infinite;
  -webkit-tap-highlight-color: transparent;
}

.sp-contact-fab span {
  font-size: 11px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
}

@media (hover: hover) {
  .sp-contact-fab:hover {
    background: #b11d38;
  }
}

.sp-contact-fab:active {
  animation: none;
  transform: scale(0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sp-contact-fab:focus {
  outline: none;
  background: linear-gradient(160deg, #2e2f70 0%, #23235a 100%);
}

.fab-arrow {
  font-size: 11px;
  color: #333;
  line-height: 1;
}

/* 1025px以上では非表示 */
@media (min-width: 800px) {
  .sp-contact-fab {
    display: none;
  }
}

/* フッター */
footer {
  margin-top: 0;
  padding: 0;
}

footer img:last-child {
  margin-top: 0;
}
.footer-wrap {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px 32px;
  text-align: center;
}

.footer-logo {
  font-family: "Zen Old Mincho", serif;
  font-size: 28px;
  color: #333;
  font-weight: 900;
  width: 100%;
  margin: 0 auto 32px;
}

/* レスポンシブ */
@media (max-width: 480px) {
  .footer-logo {
    font-size: 22px;
  }
  .footer-nav a {
    font-size: 12px;
  }
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-trust {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #555;
}

.footer-license {
  margin-bottom: 10px;
}

.footer-pmark {
  width: 100px;
  height: auto;
  text-align: center;
  margin: 0 auto 20px;
}

.footer-pmark p {
  font-size: 11px;
  margin-top: 4px;
}
.footer-copy {
  font-size: 11px;
  color: #aaa;
  margin: 0;
}

.page-top {
  position: fixed;
  bottom: 40px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-top.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* 1025px以上では右側サイドバーがあるため位置調整 */
@media (min-width: 1025px) {
  .page-top {
    right: calc(30% + 24px);
  }
}

/* デフォルトは非表示 */
.pc-sidebar {
  display: none;
}

.pc-sidebar-right {
  display: none;
}

/* 左サイドバー */
@media (min-width: 800px) {
  .pc-layout {
    display: grid;
    grid-template-columns: minmax(400px, 50%) minmax(400px, 50%);
    min-height: 100vh;
    align-items: stretch;
  }

  .pc-sidebar {
    display: flex;
    flex-direction: column;
    position: sticky; /* ← fixedからstickyに変更 */
    top: 0;
    width: auto; /* ← 削除してgridに任せる */
    height: 100vh;
    background: #faf8f2;
    box-sizing: border-box;
    z-index: 100;
  }

  .pc-sidebar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    font-weight: bold;
    padding: 40px 24px;
    flex: 1;
  }

  /* ロゴ */
  .pc-sidebar-logo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Zen Old Mincho", serif;
  }

  .pc-sidebar-logo img {
    width: 200px;
    height: 200px;
    object-fit: contain;
  }

  .pc-sidebar-shop {
    font-size: 20px;
    color: #333;
    margin: 8px 0 12px;
    font-weight: 900;
  }

  .pc-sidebar-name {
    font-size: 40px;
    color: #333;
    margin: 0;
    font-weight: 900;
  }

  /* 電話番号エリア */
  .pc-sidebar-tel-wrap {
    width: 100%;
    background-color: #fff;
    border: 2px solid #1a3a6e;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
  }

  .pc-sidebar-tel-label {
    font-size: 16px;
    color: #18184b;
    font-weight: bold;
    margin: 0 0 6px;
  }

  .pc-sidebar-tel {
    display: block;
    font-size: 24px;
    color: #23235a;
    text-decoration: none;
  }

  .pc-sidebar-tel-note {
    font-size: 12px;
    color: #666;
    margin: 4px 0 0;
  }

  .pc-sidebar-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin: -16px 0 0;
    line-height: 1.6;
  }

  /* フォームボタン */
  .pc-sidebar-form-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #23235a;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px;
    border-radius: 8px;
    box-sizing: border-box;
  }

  .aside-btn-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .pc-sidebar-footer-img {
    width: 100%;
    flex-shrink: 0; /* ← 縮まないよう固定 */
    margin-top: auto;
    height: 14vh; /* ←ここで高さを揃える */
    overflow: hidden; /* ←はみ出しカット */
  }

  .pc-sidebar-footer-img img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
}

@media (min-width: 1025px) {
  .pc-sidebar-footer-img {
    height: 12vh; /* ←ここで高さを揃える */
  }
}

@media (min-width: 1025px) {
  .pc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 100vh;
    align-items: stretch;
    justify-content: center; /* ← 中央寄せ */
  }

  .pc-sidebar {
    position: sticky; /* ← fixedからstickyに変更 */
    top: 0;
    width: auto;
    height: 100vh;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .pc-sidebar-inner {
    flex: 1; /* ← 追加：残りの高さを埋める */
    overflow-y: auto; /* ← 追加：コンテンツが多い場合にスクロール */
  }

  .body_wrap {
    margin-left: 0;
    width: 100%; /* ← 追加 */
    min-width: 0; /* ← 追加：gridアイテムの縮小を許可 */
    overflow: hidden; /* ← はみ出し防止 */
    container-type: inline-size; /* ← ここに移動 */
  }

  .pc-sidebar-right {
    background: #faf8f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0 0;
    position: sticky;
    top: 0;
    height: 100vh;
    /* overflow: hidden; */
    flex: 1;
  }

  /* 追加 */
  .pc-sidebar-right .pc-nav {
    flex: 1; /* ← ナビが残りの高さを埋める */
  }

  .pc-sidebar-right .pc-sidebar-footer-img {
    margin-top: auto; /* ← 下端に押し下げる */
    flex-shrink: 0;
    width: 100%;
  }

  .pc-sidebar-right .pc-sidebar-footer-img img {
    width: 100%;
    display: block;
  }

  /* 透かし背景ロゴ */
  .pc-sidebar-right-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    pointer-events: none;
    flex: 1;
  }

  .pc-sidebar-right-bg img {
    width: 100%;
    height: 100vh;
    object-fit: contain;
  }

  .pc-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    flex: 1;
  }

  .pc-nav-item {
    border-bottom: 0.5px solid rgba(8, 54, 130, 0.5);
  }

  .pc-nav-item:first-child {
    border-top: 0.5px solid rgba(8, 54, 130, 0.5);
  }

  .pc-nav-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
  }

  .pc-nav-item a:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .pc-nav-arrow {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(8, 54, 130, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
}
