/********************************************
  ▼ 基本要素
*********************************************/
html {scroll-behavior:smooth; }

.display-pc { display: block; }
.display-sp { display: none; }
.cet {text-align:center; }

.img_ctrl {
  text-align:center;
  height:auto;
  padding:0;
  margin:5em 0;
}
.img_ctrl img {
  width:100%;
  max-width:600px;
  height:auto;
  padding:0;
  margin:0;
}

html, body {
  height: 100%;
  margin: 0;
  font-size: 16px;
}

body {
  position: relative;
  z-index: 0;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Meiryo",
    sans-serif;
	text-align:justify;
	word-break:break-all; 
	text-justify:inter-ideograph;
	text-justify:inter-character;
	word-wrap:break-word;
	overflow-wrap:break-word;
	line-height:1.8;
}
figcaption {
  text-align: center;
  margin: 0 0 3em;
}
figure {
  margin:0;
  padding:0;
}


/* 固定背景レイヤー
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/common/bg_pc.jpg") center / cover no-repeat;
  z-index: -1;
} */

/* スマホ表示（768px以下）
@media screen and (max-width: 768px) {
  body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/common/bg_sp.jpg") center / cover no-repeat;
  z-index: -1;
}
} */


/********************************************
  ▼ メインカラム
*********************************************/

/* 下層ページ全体 */
.mainBox {
  width:100%;
  height:auto;
  margin: 0;
  padding: 0;
}
.mainBox_inner {
  width:100%;
  max-width:800px;
  height:auto;
  margin: 0 auto;
  padding: 1em 1em 10em;
  box-sizing:border-box;
}

/* 画像横並び */
.col3,
.col2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin:2em 0;
}

.col3 img,
.col2 img {
  width: 100%;
  height: auto;
  display: block;
}

/* ▼PC表示 */

/* 3カラム */
.col3 img {
  width: calc((100% - 40px) / 3); /* gap20px ×2分 */
}

/* 2カラム */
.col2 img {
  width: calc((100% - 20px) / 2); /* gap20px ×1分 */
}

/* ▼スマホ表示 */
@media screen and (max-width: 767px) {
  .col3 img,
  .col2 img {
    width: 100%;
  }
}




/* メインビジュアル（左：7）
.main_img {
  width: 100%;
  height:auto;
  margin-bottom:5em;
}
@media screen and (max-width: 768px) {
  .main_img {
    width: 100%;
    flex: none;
    margin-bottom:3em;
  }
}
.main_img img {
  width: 100%;
  height: auto;
  display: block;
}

.main_sub {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .main_sub {
    gap: 50px;
}
} */

/* ===============================
  目次（専用デザイン）
=============================== */

.toc_list{
  max-width: 1000px;
  margin: 0 auto 5em;
  padding: 25px 30px;

  list-style: none;

  background: #fff;
  border: 1px solid #e5d6a3;
  border-left: 5px solid #d4af37;

  box-shadow: 0 4px 12px rgba(0,0,0,.08);

  box-sizing: border-box;
}

/* li */
.toc_list li{
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px dashed #e3d3a0;
}

.toc_list li:last-child{
  border-bottom: none;
}

/* 左の装飾（矢印） */
.toc_list li::before{
  content: "›";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  font-size: 1.2em;
  color: #d4af37;
}

/* リンク */
.toc_list a{
  text-decoration: none;
  color: #461900;
  line-height: 1.6;

  transition: color .2s ease, padding-left .2s ease;
}

/* hover */
.toc_list a:hover{
  color: #09204A;
  padding-left: 6px;
}

/********************************************
  ▼ タイトル関連
*********************************************/
.titleSection {
  width: 100%;
  margin: 4em 0;
  padding: 3em 0.5em;
  text-align: center;
  background: url("../img/common/bg_lower.jpg") center center / cover no-repeat;
  position: relative;
  box-sizing:border-box;
}

/* 背景の上に軽いホワイトフィルター */
.titleSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
}

/* タイトル */
.page-title {
  position: relative;
  z-index: 2;

  font-family:
    "Hiragino Mincho ProN",
    "ヒラギノ明朝 ProN",
    "Yu Mincho",
    "游明朝",
    "MS PMincho",
    serif;

  font-size: clamp(1.5em, 3vw, 2.5em);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #461900;

  display: inline-block;
  padding: 0.6em 1em;

  /* 上下グラデーションライン */
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(70,25,0,0.4),
      rgba(70,25,0,0.4),
      transparent
    ) top center / 100% 1px no-repeat,

    linear-gradient(
      to right,
      transparent,
      rgba(70,25,0,0.4),
      rgba(70,25,0,0.4),
      transparent
    ) bottom center / 100% 1px no-repeat;
	
	box-sizing:border-box;
}

/* ===============================
   ▼ h3（中央タイトル）
================================ */
.mainBox_inner h3{
  position: relative;
  margin: 4em 0 2em;
  padding-bottom: 0.8em;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #461900;
	text-align: center;
	font-family:
    "Hiragino Mincho ProN",
    "ヒラギノ明朝 ProN",
    "Yu Mincho",
    "游明朝",
    "MS PMincho",
    serif;
}

.mainBox_inner h3::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    #b48a00,
    #d4af37,
    #b48a00,
    transparent
  );
}
.mainBox_inner h3:first-of-type {
  margin-top: 0;
}

/* ===============================
   ▼ h4（本文見出し）
================================ */
.mainBox_inner h4{
  position: relative;
  margin: 3.2em 0 1.4em;
  padding: 0 0 0.45em 1em;

  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;

  color: #461900;
  border-bottom: 1px solid #dcc37a;

  font-family:
    "Hiragino Mincho ProN",
    "ヒラギノ明朝 ProN",
    "Yu Mincho",
    "游明朝",
    "MS PMincho",
    serif;

  box-sizing: border-box;
}

.mainBox_inner h4::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 4px;
  height: 1.25em;
  border-radius: 2px;
  background: linear-gradient(to bottom, #b48a00, #d4af37);
}

.mainBox_inner h4::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, #b48a00, #d4af37);
}

/* スマホ */
@media (max-width: 768px){
  .mainBox_inner h4{
    margin: 2.6em 0 1.2em;
    padding: 0 0 0.4em 0.9em;
    font-size: 1.12rem;
    line-height: 1.45;
  }

  .mainBox_inner h4::before{
    width: 3px;
    height: 1.15em;
  }

  .mainBox_inner h4::after{
    width: 64px;
  }
}


/* ===============================
   ▼ h5（本文見出し）
================================ */
.mainBox_inner h5{
  position: relative;

  margin: 3.5em 0 1.5em;
  padding: 12px 18px 12px 22px;

  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;

  color: #fff;

  background: linear-gradient(90deg,#09204A 0%,#153a78 100%);
  border-left: 5px solid #d4af37;

  box-shadow:
    0 2px 4px rgba(0,0,0,.15),
    inset 0 0 0 1px rgba(255,255,255,.08);

  box-sizing: border-box;
}

/* 下の金ライン */
.mainBox_inner h5::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:1px;
  background:linear-gradient(to right,#d4af37,transparent);
}

/* ===============================
   ▼ h6（本文見出し）
================================ */
.mainBox_inner h6{
  margin: 0.5em 0;
  padding: 0;
  font-size:1em;
  font-weight:bold;
}

.mainBox_inner h6.waku{
  margin: 1.5em 0 0.5em;
  padding: 0.5em 1em;
  color:#fff;
  border-radius: 100vh;
  background: #b48a00;
  display:inline-block;
  box-sizing:border-box;
}

/* ===============================
   ▼ 本文リスト用
================================ */
/* 本文専用リスト */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 1.5em 1em;
}

/* li */
.custom-list li {
  position: relative;
  padding: 0 0 0.5em 1.2em;
  margin-bottom: 0.5em;
  border-bottom: dashed 1px #ddd;
}

/* チェックアイコン */
.custom-list li::before {
  content: "\e18a";
  font-family: 'Phosphor';
  font-weight: normal;
  position: absolute;
  left: 0;
  top: 1em;
  transform: translateY(-50%);
  font-size: 14px;
  color: #461900;
}

/* ===============================
   ▼ 動画用
================================ */
.video {
    position: relative;
    height: 0;
    padding: 0 0 394px;
    overflow: hidden;
	text-align:center;
}
video iframe {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
@media (max-width: 768px) {
    div.video {
        position: relative;
        height: 0;
        padding: 0 0 56.25%;
        overflow: hidden;
    }
	div.video iframe {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        width: 100%;
        height: 100%;
    }
}

/* ===============================
   ▼ 買取品目用
================================ */
/* 4列グリッド（PC） */
.hinmokuBox{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2em;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 1アイテム（画像＋文字） */
.hinmokuBox .hinmoku{
  display: flex;
  flex-direction: column;
  align-items: center;   /* 横中央 */
  text-align: center;    /* 文字中央 */
  border:1px solid #ccc;
  padding:0.5em;
}

/* 画像 */
.hinmokuBox .hinmoku img{
  width: 100%;
  height: auto;
  display: block;
}
.hinmokuBox .hinmoku img.w40{
  width: 40%;
}

/* 文字：画像の下中央 */
.hinmokuBox .hinmoku p{
  margin: 0.5em 0 0;
  padding: 0;
}

/* スマホ：縦1列 */
@media (max-width: 768px){
  .hinmokuBox{
    grid-template-columns: 1fr;
  }
}


/* ==================================
   初めての方へ ボタン群
================================== */
.beginner-btn-group{
  width: 100%;
  margin: 3em auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* 3列 */
.beginner-btn-group a{
  position: relative;
  background: #C3451B;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: 0.3s ease;
}
/* 3列 */
.beginner-btn-group div{
  position: relative;
  flex: 0 0 calc(33.333% - 20px);
  padding:0;
  margin:0;
  box-sizing: border-box;
}
.beginner-btn-group div p{
  position: relative;
  text-align:center;
  font-size:0.9em;
  padding:0;
  margin:0 0 0.5em;
  color:#461900;
}

/* ホバー */
.beginner-btn-group a:hover{
  background: #a53815;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.beginner-btn-group div.btnbox{
  width: 100%;
  border:1px solid #ccc;
  padding:0.5em;
  border-radius: 4px;
}
.beginner-btn-group div.btnbox p{
  text-align:left;
  margin:1em 0 0;
  color:#333;
}



/* ==================================
   ▼ アイコン（右端中央）
================================== */

.beginner-btn-group a::after{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Phosphor'; /* 使用中のアイコンフォントに合わせて変更可 */
  font-size: 2rem;
  font-weight:normal;
  opacity: 0.9;
}

/* 各アイコン */
.btnform1::after{ content: "\e214"; }
.btnform2::after{ content: "\e1e4"; }
.btnform3::after{ content: "\e10e"; }
.btnform5::after{ content: "\e390"; }
.btnform8::after{ content: "\e4b4"; }
.btnform9::after{ content: "\e418"; }
.btnform7::after{ content: "\ea32"; }
.btnform10::after{ content: "\e470"; }
.btnform6::after{ content: "\e582"; }

/* btnform4だけLINEカラー */
.beginner-btn-group a.btnform4{
  background: #06C755;
}

/* btnform5だけ宅配買取カラー */
.beginner-btn-group a.btnform5{
  background: #CA0201;
}

/* btnform9だけ持込買取カラー */
.beginner-btn-group a.btnform9{
  background: #09204A;
}

/* btnform8だけ出張買取カラー */
.beginner-btn-group a.btnform8{
  background: #461900;
}

/* btnform3、6だけ別カラー */
.beginner-btn-group a.btnform3,
.beginner-btn-group a.btnform6{
  background: #2980b9;
}

/* hover時 */
.beginner-btn-group a.btnform4:hover{
  background: #05a647;
}
.btnform4::after{
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2em;
  height: 1.5em;
  background-image: url("../img/common/line.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.beginner-btn-group span {
  display:block;
  font-size:0.8em;
  white-space:pre-line;
}

.q_button{
  display: inline-block;
  margin:1em auto;
  background: #2980b9;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 6px;
  transition: 0.3s ease;
}

/* hover */
.q_button:hover{
  background: #1f6391;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

body.to-beginner p img {
  text-align:center;
  width:70%;
  height:auto;
}

/* ===============================
  ボタン高さ統一
=============================== */

/* 各カラム内を均等配置 */
.beginner-btn-group > div{
  display: flex;
  flex-direction: column;
}

/* ボタン共通：高さ揃え */
.beginner-btn-group a{
  display: flex;
  flex-direction: column; /* テキスト縦並び */
  justify-content: center;
  align-items: center;

  min-height: 80px; /* ←高さ統一（調整可） */
  padding: 12px;

  box-sizing: border-box;
}

/* span（上段テキスト） */
.beginner-btn-group a span{
  display: block;
  font-size: 0.9em;
  line-height: 1.3;
}

/* ボタン同士の間隔 */
.beginner-btn-group > div a + a{
  margin-top: 12px;
}

/* ==================================
   ▼ スマホ
================================== */

@media (max-width: 900px){
  .beginner-btn-group a{
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 768px){
  .beginner-btn-group{
    gap: 15px;
  }
  .beginner-btn-group a{
    flex: 0 0 100%;
  }
  body.to-beginner p img {
  width:100%;
  }
  .beginner-btn-group div{
  flex: 100%;
  box-sizing: border-box;
  }
  .beginner-btn-group div a{
    flex: 0 0 0;
  }
}

/********************************************
  ▼ プライバシーポリシー用
*********************************************/
body.privacypolicy .privacypolicy-wrap{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.2em 3em;
  box-sizing: border-box;
}

/* 文章の余計な行間を整理 */
body.privacypolicy .privacypolicy-wrap p{
  margin: 0 0 1em;
  line-height: 1.9;
}

/* 見出し：h5（明朝＋詰め気味） */
body.privacypolicy .privacypolicy-wrap h5{
  margin: 1.6em 0 0.6em;
  padding: 0 0 0.4em;
  line-height: 1.35;

  color: #461900;
  font-size: 1.1em;
  font-weight: 700;
  font-family:
    "Hiragino Mincho ProN",
    "ヒラギノ明朝 ProN",
    "Yu Mincho",
    "游明朝",
    "MS PMincho",
    serif;
    border-bottom: 1px solid rgba(70, 25, 0, 0.18);
}

/* リスト */
body.privacypolicy .privacypolicy-wrap ul{
  margin: 0 0 1.2em 1.2em;
  padding: 0;
}
body.privacypolicy .privacypolicy-wrap li{
  margin: 0.4em 0;
  line-height: 1.8;
}

/* 区切り線の余白を整える */
body.privacypolicy .privacypolicy-wrap hr{
  margin: 1.8em 0;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.12);
}

/* リンク（任意） */
body.privacypolicy .privacypolicy-wrap a{
  color: #461900;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ===============================
   特定商取引法ページ専用
================================ */
body.tokushoho .mainBox_inner table,
body.contact .mainBox_inner table,
body.image-assessment .mainBox_inner table{
  width: 100%;
  max-width: 950px;
  margin: 3em auto;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.9;
  font-family:
    "Hiragino Mincho ProN",
    "ヒラギノ明朝 ProN",
    "Yu Mincho",
    "游明朝",
    "MS PMincho",
    serif;
  color: #3a2a18;
  background: #fffdf8;
  border: 1px solid #d8cfc2;
}

/* 行ボーダー */
body.tokushoho .tokushoho-table tr,
body.contact .contact-table tr,
body.image-assessment .contact-table tr{
  border-bottom: 1px solid #e6dfd4;
}

/* 見出し列（3割） */
body.tokushoho .tokushoho-table th,
body.contact .contact-table th,
body.image-assessment .contact-table th{
  width: 30%;
  padding: 1.2em 1em;
  text-align: left;
  vertical-align: top;
  background: #f5f0e6;
  color: #461900;
  font-weight: 600;
  border-right: 1px solid #e0d8cc;
  border-bottom: 1px solid #e6dfd4;
  letter-spacing: 0.05em;
}

/* 内容列（7割） */
body.tokushoho .tokushoho-table td,
body.contact .contact-table td,
body.image-assessment .contact-table td{
  width: 70%;
  padding: 1.2em 1.2em;
  vertical-align: top;
  border-bottom: 1px solid #e6dfd4;
  border-left: 1px solid #f3ede4;
  position: relative;
}

/* リスト */
body.tokushoho .tokushoho-table ul{
  margin: 0;
  padding-left: 1.2em;
}

body.tokushoho .tokushoho-table li{
  margin-bottom: 0.4em;
}

/* リンク */
body.tokushoho .tokushoho-table a{
  color: #6a4b24;
  text-decoration: none;
  border-bottom: 1px solid rgba(106,75,36,0.4);
  transition: 0.3s ease;
}

body.tokushoho .tokushoho-table a:hover{
  color: #a97a00;
  border-bottom-color: #a97a00;
}

/* ===============================
   ▼ スマホ表示（縦並び）
================================ */

@media (max-width: 768px){

  body.tokushoho .tokushoho-table,
  body.tokushoho .tokushoho-table tbody,
  body.tokushoho .tokushoho-table tr,
  body.tokushoho .tokushoho-table th,
  body.tokushoho .tokushoho-table td,
  body.contact .contact-table,
  body.contact .contact-table tbody,
  body.contact .contact-table tr,
  body.contact .contact-table th,
  body.contact .contact-table td{
    display: block;
    width: 100%;
  }

  body.tokushoho .tokushoho-table,
  body.contact .contact-table{
    border: none;
    background: transparent;
  }

  body.tokushoho .tokushoho-table tr,
  body.contact .contact-table tr{
    margin-bottom: 1.8em;
    background: #fffdf8;
  }

  body.tokushoho .tokushoho-table th,
  body.contact .contact-table th{
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e6dfd4;
    background: #f5f0e6;
    padding: 0.8em 1em 0.4em;
	box-sizing: border-box;
  }

  body.tokushoho .tokushoho-table td,
  body.contact .contact-table td{
    width: 100%;
    border-left: none;
    border-bottom: none;
	box-sizing: border-box;
  }

}

/* ===============================
   著名刀工銘一覧
   タブ切り替え
================================ */
/* タブ横並び */
.mt-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:.6em;
  list-style:none;
  padding:0;
  margin:0 0 1em;
}
.mt-tabs button{
  appearance:none;
  border:1px solid rgba(70,25,0,.25);
  background:#fff;
  color:#461900;
  padding:.6em 1em;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
}
.mt-tabs button.is-active{
  background:#461900;
  color:#fff;
  border-color:#461900;
}
/* パネル切替 */
.mt-pane{ display:none; }
.mt-pane.is-active{ display:block; }

/* ===============================
   位列一覧テーブル
================================ */
.mt-table{
  width:100%;
  border-collapse: collapse;
  table-layout: fixed; /* 均等幅にする */
  margin: 2em 0;
  font-family:
    "Hiragino Mincho ProN",
    "ヒラギノ明朝 ProN",
    "Yu Mincho",
    "游明朝",
    serif;
}

/* 見出し */
.mt-table th{
  padding: 1em;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color:#461900;
  border: 1px solid #cfc6b8;
  background: #f8f5ef;
}

/* セル */
.mt-table td{
  width:25%;               /* 均等4分割 */
  padding: 0.8em;
  text-align:center;
  border: 1px solid #ddd6c8;
  font-size: 0.95rem;
}

/* spanを少し小さく */
.mt-table th span{
  font-size: 0.8em;
  margin-left: 0.5em;
  font-weight: normal;
}

/* ===============================
   ご挨拶ページ専用（body.greeting）
   和モダン・高級感デザイン
================================ */

.greeting-article{
  max-width: 900px;
  margin: 0 auto 5em;
  padding: 0 1.5em;
  color: #3a2a18;
  line-height: 2;
}

/* 段落 */
.greeting-article p{
  margin: 0 0 1.6em;
}

/* 署名 */
.greeting-article .has-text-align-right{
  text-align: right;
  margin-top: 2.5em;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ===============================
   ▼ 画像（このブロック内のみ）
================================ */
.greeting-article img{
  display: block;
  margin: 2em auto 0.5em;
  border: 1px solid #e6dfd4;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.greeting-article img + p{
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #6a4b24;
  margin-bottom: 3em;
}

/* 強調 */
.greeting-article strong{
  color: #6a4b24;
  font-weight: 700;
}

/* スマホ */
@media (max-width:768px){
  .greeting-article{
    padding: 0 1em;
  }
}

/********************************************
  ▼ 甲冑・鎧・武具の買取実績
*********************************************/
/* グリッド */
.yoroi_cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

/* カード */
.yoroi_card{
  background:#fff;
  transition: transform .25s ease, box-shadow .25s ease;
  padding: 0 0.5em;
  box-sizing: border-box;
}

.yoroi_card:hover{
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0,0,0,.18);
}

/* 画像 */
.yoroi_card_img img{
  width:100%;
  height:auto;
  display:block;
}

/* 本文 */
.yoroi_card_body{
  padding:12px 0;
}

/* 日付 + カテゴリー */
.yoroi_card_meta{
  margin:0 0 8px;
  font-size:.85rem;
  color:#777;
}

.yoroi_card_cat{
  margin-left:12px;
  padding:2px 6px;
  border:1px solid #D2B567;
  font-size:.75rem;
  color:#461900;
}

/* タイトル */
.yoroi_card_title{
  margin:0;
  font-size:1rem;
  line-height:1.6;
}

.yoroi_card_title a{
  text-decoration:none;
  color:#461900;
}

/* スマホ */
@media (max-width:768px){

  .yoroi_cards{
    grid-template-columns:repeat(2,1fr);
    gap:18px;
  }

}



/********************************************
  ▼ 査定・買取方法用
*********************************************/
.point-flex{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.point-text{
  flex: 1 1 auto;
}

.point-image{
  flex: 0 0 300px;
}

.point-image img{
  display: block;
  width: 100%;
  height: auto;
}

/* スマホ時：画像上、テキスト下 */
@media (max-width: 768px){
  .point-flex{
    flex-direction: column-reverse;
    gap: 16px;
  }

  .point-image{
    flex: none;
    width: 100%;
  }

  .point-image img{
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ===============================
  STEP帯デザイン
=============================== */

.pointbox{
  max-width: 1000px;
  margin: 0 auto 40px;
}

/* h5帯 */
.purchasebox h5{
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 12px 20px;

  background: #09204A;
  color: #fff;

  font-size: 18px;
  font-weight: bold;

  border-left: 6px solid #D2B567;
  border-bottom: 2px solid #D2B567;

  letter-spacing: .05em;

  position: relative;
  box-sizing: border-box;
}

/* 高級感ライン */
.purchasebox h5::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: #D2B567;
}

/* ===============================
  SP
=============================== */

@media (max-width:768px){

  .purchasebox h5{
    margin: 40px auto 0;
    font-size: 16px;
    padding: 10px 14px;
  }

}



/********************************************
  ▼ 選べる7つの査定・売却方法用
*********************************************/
/* ラッパー */
.assessment-methods{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  margin:3em 0;
}

/* カード */
.assessment-card{
  display:block;
  text-align:center;
  text-decoration:none;
  color:#461900;
  transition:all .35s ease;
}

/* 画像 */
.assessment-card img{
  width:100%;
  height:auto;
  display:block;
  border-radius:4px;
  transition:all .35s ease;
  border:1px solid #ddd;
}

/* タイトル */
.assessment-card h5{
  margin:1em 0 0;
  font-size:1rem;
  font-weight:600;
  letter-spacing:.08em;
  font-family:
  "Hiragino Mincho ProN",
  "Yu Mincho",
  serif;
}

/* ホバー（高級感寄り控えめ） */
.assessment-card:hover img{
  transform:translateY(-6px);
  box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.assessment-card:hover h5{
  color:#8a5b33;
}

/* タブレット */
@media (max-width:1000px){
  .assessment-methods{
    grid-template-columns:repeat(3,1fr);
  }
}

/* スマホ */
@media (max-width:640px){
  .assessment-methods{
    grid-template-columns:repeat(2,1fr);
    gap:18px;
  }

  .assessment-card h5{
    font-size:.95rem;
  }
}

/********************************************
  ▼ 高く売るポイント用
*********************************************/
.photo-guide {
  max-width: 1000px;
  margin: 0 auto;
}

.photo-guide__item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid #ddd;
}

.photo-guide__image {
  flex: 0 0 280px;
}

.photo-guide__image img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-guide__image--double {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-guide__text {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
}

.photo-guide__text p {
  margin: 0 0 10px;
}

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

.note-red {
  color: red;
}

.photo-guide__text a {
  color: #0066cc;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .photo-guide__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
  }

  .photo-guide__image {
    flex: none;
    width: 100%;
  }

  .photo-guide__text {
    width: 100%;
    font-size: 15px;
    line-height: 1.7;
  }
}

/********************************************
  ▼ 査定・買取方法（course.php）
*********************************************/
/* =========================
   レイアウト
========================= */
.course_list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course_list li {
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

/* =========================
   ボーダー（疑似要素で描画）
========================= */

/* 右の縦線（すべてに付与） */
.course_list li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: #ccc;
}

/* 下の横線（すべてに付与） */
.course_list li::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ccc;
}

/* 左端の線 */
.course_list li:nth-child(odd) {
  border-left: 1px solid #ccc;
}

/* 上端の線（最初の行） */
.course_list li:nth-child(-n+2) {
  border-top: 1px solid #ccc;
}

/* =========================
   a全体クリック
========================= */
.course_item {
  display: block;
  height: 100%;
  padding: 16px;
  text-decoration: none;
  color: #000;
  box-sizing: border-box;
}

/* =========================
   上部（画像＋タイトル）
========================= */
.course_item__head {
  display: flex;
  align-items: center;
  gap: 1.5em;
  margin-bottom: 1em;
}

.course_item__head img {
  display: block;
  width: 120px;
  height: auto;
  flex-shrink: 0;
  border-radius: 100vh;
  border: 1px solid #ddd;
}

.course_item__head h6 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
}

/* =========================
   テキスト
========================= */
.course_item__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   hover（任意）
========================= */
.course_item:hover {
  opacity: 0.85;
}

/* =========================
   SP対応（1カラム）
========================= */
@media screen and (max-width: 767px) {

  .course_list li {
    width: 100%;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: none; /* ← 上線を消す */
  }

  /* 1番目だけ上線を付ける */
  .course_list li:first-child {
    border-top: 1px solid #ccc;
  }

  /* 下線（疑似要素）はそのまま使用 */
  .course_list li::before {
    display: block;
  }

  /* 右線の疑似要素は不要 */
  .course_list li::after {
    display: none;
  }

  /* nth-childの指定を上書き */
  .course_list li:nth-child(-n+2) {
    border-top: none;
  }

  /* 1つ目だけ上線を付ける */
  .course_list li:first-child {
    border-top: 1px solid #ccc;
  }
}

/********************************************
  ▼ サイトマップ用
*********************************************/
.sitemap-card {
  max-width: 1100px;
  margin: 0 auto;
}

.sitemap-card__list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 24px;
}

.sitemap-card__item {
  width: calc((100% - 24px) / 2);
  box-sizing: border-box;
}

.sitemap-card__box {
  height: 100%;
  padding: 24px;
  border: 1px solid #d8d8d8;
  background: #fff;
  box-sizing: border-box;
}

.sitemap-card__title {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #CD4C3B;
  font-size: 1.2rem;
  line-height: 1.5;
}

.sitemap-card__title a {
  color: #222;
  text-decoration: none;
}

.sitemap-card__title a:hover {
  color: #CD4C3B;
}

.sitemap-card__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-card__links li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eee;
}

.sitemap-card__links li:last-child {
  border-bottom: none;
}

.sitemap-card__links a {
  display: block;
  position: relative;
  padding: 12px 0 12px 18px;
  color: #333;
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sitemap-card__links a::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: #CD4C3B;
}

.sitemap-card__links a:hover {
  color: #CD4C3B;
  padding-left: 22px;
}

.sitemap-card__item h3::after {
  content: none;
}

@media screen and (max-width: 767px) {
  .sitemap-card__list {
    gap: 16px;
  }

  .sitemap-card__item {
    width: 100%;
  }

  .sitemap-card__box {
    padding: 18px;
  }

  .sitemap-card__title {
    margin-bottom: 14px;
    font-size: 1.1rem;
  }

  .sitemap-card__links a {
    padding: 10px 0 10px 16px;
    line-height: 1.6;
  }

}

/********************************************
  ▼ 査定申込用（contact.php）
*********************************************/
.contact-table input[type='text'], .contact-table input[type='tel'], .contact-table input[type='email'], .contact-table textarea {
	width: 100%!important;
	max-width:100%;
    padding: 0.5em;
    box-sizing: border-box;
}
.col_rd {color:red;}

.contact-table input[type='age'] {
	width: 50%!important;
	max-width:50%;
    padding: 0.5em;
    box-sizing: border-box;
}




/********************************************
  ▼ 基本要素スマホ用
*********************************************/
@media screen and (max-width: 768px) {
.display-pc { display: none; }
.display-sp { display: block; }

.sp-heading span.display-sp { display: inline; }
}