/* ===============================
   Variables
   =============================== */
:root {
  --dodger-blue: #0098fe;
  --white: #ffffff;
  --alice-blue: #e6f7ff;
  --white-smoke: #f5f5f5;
  --platinum: #d9d9d9;

  --black: #000000; /* 重複定義を一本化 */
  --jet: #333333;
  --maya-blue: #66bfff;
  --polynesian-blue: #00509e;
  --orange-pantone: #ff6200;
  --yamato-yellow: #fccf00;
  --line-forest-green: #06C755;

  --light-peach: #E6C5AC;
  --harvest-spice: #5A3E1B;

  /* 品目系（ここは元のまま維持） */
  --forest-green: #08901fff;
  --orange-web: #ffae00ff;
  --davys-gray: #4b4b4bff;
  --engineering-orange: #c30210ff;
  --palatinate: #6d0561ff;
  --medium-blue: #0606d2ff;
  --aureolin: #e8e801ff;
  --light-coral: #e97b88ff;
  --dark-moss-green: #3f4e25ff;
  --french-gray: #aaaeb2ff;
  --pear: #d3ec00ff;
  --ecru: #d5be8dff;
  --butterscotch: #ed9e4cff;
  --straw: #f4ee83ff;
  --skobeloff: #00736dff;
  --lion: #a39169ff;
  --cream: #f9f9cbff;
  --cyan-rgb: #00ffffff;
  --old-gold: #ceaf05ff;
  --maroon: #850303ff;
  --prussian-blue: #1c3a5bff;
  --citron: #d2c74aff;
  --robin-egg-blue: #50ccc9ff;
}

/* ===============================
   Base / Reset
   =============================== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--dodger-blue);
  text-decoration: none;
}
a:hover { color: var(--white); }

ul { padding-left: 40px; list-style-type: disc; }

.wrap { margin: 0 auto; }

h1, h2, h3, h4 {
  margin: 1rem 0;
  line-height: 1.2;
  color: var(--jet);
}
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ===============================
   Header / Global Navigation
   =============================== */
.header { height: 100%; flex-shrink: 0; }
.header-in {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.header-container { background-color: var(--white); }

.logo { text-align: center; }
.logo-image { padding: 10px 0; font-size: inherit; }
.logo-image span, .logo-image a { display: inline-block; max-width: 100%; }
.site-name-text-link { text-decoration: none; font-weight: normal; padding: 0 1em; }
.site-name-text-link:hover { color: inherit; }
.site-name-text { font-size: 28px; }

/* トップメニュー配置 */
.header-container-in.hlt-top-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  width: 90%;
}
.header-container-in.hlt-top-menu .wrap { width: auto; }
.header-container-in.hlt-top-menu .header { background-image: none; }
.header-container-in.hlt-top-menu .logo-image { padding: 0; margin: 0; }
.header-container-in.hlt-top-menu .site-name-text-link { margin: 0 16px; display: block; }
.header-container-in.hlt-top-menu .site-name-text { font-size: 22px; white-space: nowrap; }
.header-container-in.hlt-top-menu .logo-header { max-height: 60px; }
.header-container-in.hlt-top-menu .logo-header img { max-height: 60px; height: auto; vertical-align: middle; }
.header-container-in.hlt-top-menu .navi { width: 100%; }

/* 小さめレイアウト */
.header-container-in.hlt-top-menu.hlt-tm-small .site-name-text-link { margin: 0 16px; }
.header-container-in.hlt-top-menu.hlt-tm-small .site-name-text { font-size: 20px; }
.header-container-in.hlt-top-menu.hlt-tm-small .logo-header { max-height: 40px; }
.header-container-in.hlt-top-menu.hlt-tm-small .logo-header img { max-height: 40px; }

/* デスクトップナビ */
.navi-in > ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.navi-in > ul li {
  display: block;
  width: 176px;
  height: 60px;
  position: relative;
}
#navi .navi-in > ul > li { width: auto; }              /* 可変幅優先 */
#navi .navi-in > ul > li > a { padding: 0 1.4em; }     /* 余白 */

.hlt-tm-right .navi-in > ul { justify-content: flex-end; }

.navi-in > ul .caption-wrap {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center; width: 100%;
}
.navi-in > ul .caption-wrap > div { width: 100%; }

.navi-in a {
  position: relative;
  display: flex;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.navi-in a:hover { filter: brightness(1.1); }

.navi .item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* 固定ヘッダー（JSで表示制御する想定） */
#header-container {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  max-width: 100vw;
  border-bottom: var(--platinum);
  background-color: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
}
#header-container, #header-container .navi { background-color: var(--white); display: none; }

/* :has() を使うボタンの強調（検索/集荷） */
div.item-label:has(.search),
li.menu-button > a:has(.search) {
  padding: 1px 10px;
  border-radius: .5em;
  background-color: var(--line-forest-green);
  box-shadow: 2px 2px 0px var(--jet);
  color: var(--white);
}
div.item-label:has(.search):hover,
li.menu-button > a:has(.search):hover {
  filter: brightness(1.1);
}
div.item-label:has(.truck) {
  padding: 1px 10px;
  border-radius: .5em;
  background-color: var(--yamato-yellow);
  box-shadow: 2px 2px 0px var(--jet);
  color: var(--black);
}
div.item-label:has(.truck):hover { filter: brightness(1.1); }

/* ===============================
   Mobile Menu Buttons / Drawer
   =============================== */
.mobile-menu-buttons {
  box-shadow: 0 0 5px darkgrey;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 0; margin: 0;
  list-style: none;
  display: none;               /* 1023px以下で表示 */
  align-items: center;
  line-height: 1.4;
  min-height: 50px;
  transition: .3s;
  background-color: var(--white);
}
.mobile-menu-buttons .menu-button {
  position: relative; width: 70px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-buttons .menu-button > a {
  display: block; text-decoration: none; color: var(--black);
}
.mobile-menu-buttons .menu-button:hover .menu-button-in { opacity: .8; }
.mobile-menu-buttons .menu-icon { text-align: center; width: 100%; display: block; font-size: 20px; }
.mobile-menu-buttons .menu-caption { font-size: 9px; text-align: center; opacity: .8; display: block; }

.logo-menu-button { text-align: center; font-weight: 900; line-height: 50px; overflow: hidden; }
.logo-menu-button img { max-height: 50px; display: block; margin: 0 auto; width: auto; }

#navi-menu-open { font-weight: bold; }
#navi-menu-close {
  display: none; position: fixed; z-index: 99; top: 0; left: 0; width: 100%; height: 100%;
  background: black; transition: .3s ease-in-out;
}

/* スライドドロワー */
.menu-content {
  overflow: auto; position: fixed; top: 0; z-index: 9999;
  width: 100%; max-width: 400px; height: 100%;
  background: #fff; transition: .3s ease-in-out; opacity: 1;
  -webkit-overflow-scrolling: touch;
}
.menu-content .menu-drawer { padding: 0 1em 30px; }
.menu-drawer ul { list-style: none; }
.menu-drawer li { display: block; }
.menu-drawer a { text-decoration: none; padding: 6px; display: block; }
.menu-drawer a:hover { filter: brightness(1.1); transition: all .3s ease-in-out; color: var(--jet); }
.menu-drawer .sub-menu { padding-left: 20px; }

.menu-close-button { display: block; cursor: pointer; text-align: center; font-size: 1.5em; }
.display-none { display: none; }

/* ドロワー非表示初期位置 */
.navi-menu-content { left: 0; transform: translateX(-105%); opacity: 1; }

/* チェックで開閉（ハンバーガー） */
#navi-menu-input:checked ~ #navi-menu-close { display: block; opacity: .5; }
#navi-menu-input:checked ~ #navi-menu-content { transition: .3s ease-in-out; transform: translateX(0%); opacity: 1; }

/* ドロワー内の色・装飾（背景暗転、アイコン） */
#navi-menu-content { background-color: rgba(0,0,0,.7); background-blend-mode: darken; }
#navi-menu-content .menu-drawer a,
#navi-menu-content .sub-menu a { color: var(--white); }
#navi-menu-content > label {
  background-color: #ddd; border-radius: 1em; margin: .1em 0 0.3em .1em; display: grid; padding: .2em; width: 2em;
}
#navi-menu-content > ul.menu-drawer a:hover { filter: brightness(1.1); color: var(--black); }
#navi-menu-content > ul > li.menu-item::before {
  content: ''; display: inline-block; width: 25px; height: 25px;
  background-image: url('https://www.omocya-kaitori.jp/newitem5/wp-content/uploads/2025/01/toyface25.png');
  background-size: contain; margin-right: 5px; float: left; margin-top: 5px;
}

/* ===============================
   Footer
   =============================== */
#footer { background-color: var(--white); }
#footer a:not(.sns-button):hover { background-color: rgba(255,255,255,.2); }
#footer, #footer a:not(.sns-button) { color: #333; }
#footer { background: var(--dodger-blue); }
#footer, #footer a:not(.sns-button), .footer-title {
  color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}

.footer { background-color: var(--white); margin-top: 20px; padding: 8px; }
.footer-widgets, .footer-widgets-mobile { margin: 10px auto; display: flex; }
.footer-mobile, .footer-left, .footer-center, .footer-right { padding: 10px 16px; }
.footer-left, .footer-center, .footer-right { width: 33.33%; }
.footer-widgets-mobile { display: none; }

.footer-bottom { margin-top: 24px; padding: 8px; position: relative; font-size: 14px; }
.footer-bottom.fdt-up-and-down .footer-bottom-logo { display: none; }
.footer-bottom.fdt-up-and-down .footer-bottom-content { float: none; display: block; text-align: center; }

.footer-bottom-logo { float: left; bottom: 0; position: absolute; }
.footer-bottom-logo .site-name-text { font-size: 18px; }
.footer-bottom-logo .logo-image { padding: 0; }
.footer-bottom-logo img { height: 50px; width: auto; }
.footer-bottom-content { float: right; text-align: right; }

#footer-in { max-width: 1000px; display: block !important; margin: 0 auto !important; }
#footer li { font-size: 14px !important; }
.copyright { margin-top: 8px; }

/* ===============================
   Tabs（共通UIとして維持）
   =============================== */
.tab {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap;
  border: 2px solid #ddd; border-radius: 6px; padding: 10px; background: #fafafa;
}
.tab button {
  background-color: var(--platinum);
  border: none; outline: 0; cursor: pointer;
  padding: 14px 16px; transition: background-color .3s, filter .3s, box-shadow .3s, transform .1s ease-out;
  font-size: 1.1rem; color: var(--black);
}
.tab button:hover { filter: brightness(1.1); transform: scale(1.03); box-shadow: 0 4px 10px rgba(0,0,0,.5); }
.tab button.active { background-color: var(--maya-blue); color: var(--black); }

/* ===============================
   Responsive
   =============================== */
@media screen and (max-width: 1023px) {
  .wrap { width: auto; }
  .header { background-size: cover; }
  .header-container-in.hlt-top-menu { flex-direction: column; }
  .navi-in .menu-pc { display: none; }
  .no-mobile-header-logo #header .logo-header { display: none; }
  .no-mobile-header-logo .header .header-in { min-height: auto; }
  .mobile-menu-buttons { display: flex; align-items: stretch; }

  .mobile-header-menu-buttons {
    top: 0; bottom: auto; justify-content: space-between; min-width: 46px;
    box-shadow: 0 0 5px darkgrey; width: 100%; max-width: 100vw; box-sizing: border-box;
  }
  .logo-menu-button { flex-grow: 1; }

  /* スマホでは .search の強調を既定に戻すケース */
  li.menu-button > a:has(.search) {
    background-color: unset !important; border-radius: unset !important; box-shadow: unset !important; color: var(--black) !important;
  }
}

@media screen and (max-width: 834px) {
  .navi-in > .menu-header { display: none; }
  .header div.header-in { min-height: auto; }
  #header .site-name-text { font-size: 22px; }
  .header-container-in.hlt-top-menu .site-name-text { white-space: normal; }
  .header-container-in.hlt-top-menu .logo-header { max-height: none; }
  .header-container-in.hlt-top-menu.hlt-tm-small .logo-header { height: auto; }

  /* フッターのスマホ切替 */
  .footer-widgets { display: none; }
  .footer-widgets-mobile { display: block; }
}

@media screen and (max-width: 480px) {
  .menu-content { font-size: 22px; }
}

/* ===============================
   Print
   =============================== */
@media print {
  #container .header-container,
  #container .mobile-menu-buttons,
  #container .footer,
  #container .widget { display: none !important; }

  #container .wrap { width: auto; margin: 0; float: none; padding: 0; border: none; overflow-wrap: normal; }

  #container h1, #container h2, #container h3 {
    background-color: transparent; border-width: 0; padding: 0; margin: 10px 0; color: #333;
  }
  #container h1 { font-size: 21.5pt; }
  #container h2 { font-size: 18.5pt; }
  #container h3 { font-size: 16pt; }
}

/* ===============================
   Reliability Section（共通）
   =============================== */
#reliability {
  /* 背景色は --bg-color が未定義でも安全に */
  background: #ffffff;
  padding: 60px 0;
  margin-top: 40px; /* ページ埋め込み版に合わせて維持 */
}

#reliability h2 {
  text-align: center;
  margin-bottom: 40px;
  /* 見出しのアクセント色：未定義なら dodger-blue */
  color: var(--accent-color, var(--dodger-blue));
  /* 見出しの文字間：未定義なら 0.03em */
  letter-spacing: var(--letter-spacing-heading, 0.03em);
}

/* タブは既に navi.css に存在（.tab / .tab button / .tab button.active） */

/* タブの中身（共通） */
.tabcontent {
  display: none;
  animation: fadeEffect .5s;
}

/* フェードイン（共通） */
@keyframes fadeEffect {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* スマホ最適化（見出しサイズ・タブの並び調整） */
@media (max-width: 768px) {
  #reliability h2 {
    font-size: 1.6rem; /* h2の共通縮小に寄せる */
  }

  .tab {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .tab button {
    flex: 1 1 auto;
    min-width: 100px;
    font-size: .9rem;
  }
}

.more-button,
.btn-detail{
  background: var(--dodger-blue); color: var(--white);
  font-size:1.2em; font-weight:bold; padding:1em 1.5em; border-radius:8px;
  display:inline-block; text-decoration:none; transition: background .3s, transform .2s;
  min-width:200px; text-align:center; box-shadow:0 4px 10px rgba(0,0,0,.5);
}
.more-button:hover,
.btn-detail:hover{ filter:brightness(1.1); transform:scale(1.05); }

.hidden  { display: none !important; }
.visible { display: list-item !important; }


/* ===============================
   Reliability 配下（共通UI）
   - #reviews（お客様の声）
   - #purchase-examples（買取事例スライダー）
   - #requests（よくあるご依頼／実績リスト）
   =============================== */

/* ---- #reviews ---- */
#reviews {
  background: var(--section-bg, #f8f9fa);
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  max-width: 1400px;
  margin: 0 auto;
}
#reviews .review-summary-wrap{
  text-align:center; margin-bottom:1.5em;
  display:flex; flex-direction:column; align-items:center; gap:1.5em;
}
#reviews .review-main-text{
  font-size:1.5em; font-weight:bold; color: var(--polynesian-blue, #00509e);
  text-shadow:1px 1px 2px rgba(0,0,0,0.1);
}
#reviews .review-sub-text{ font-size:1.1em; color:#8B4513; font-weight:bold; }

#reviews .review-count{ color:#FF8C00; font-size:1.5em; font-weight:900; }

#reviews .reviews{ /* 内包コンテナ（必要時に使用） */
  display:flex; flex-direction:column; align-items:center;
  background: var(--panel-bg, #ffffff); padding: 1.5em; border-radius:10px;
  box-shadow:0 3px 8px rgba(0,0,0,0.05); max-width:1200px; margin:0 auto;
}

#reviews .review{
  width:100%; background:#fff; padding:1.5em; margin-bottom:1.5em;
  border-radius:10px; box-shadow:0 3px 8px rgba(0,0,0,0.1);
  border-left:6px solid #FFD700; position:relative;
}
#reviews .review::before{
  content:"⭐⭐⭐⭐⭐"; font-size:1.2rem; color:#FFD700;
  position:absolute; top:10px; right:15px;
}
#reviews .review cite{
  display:block; font-weight:bold; color:#555; margin-top:.8em; text-align:right;
}

/* ---- #purchase-examples（カルーセル）---- */
#purchase-examples{
  background-color: var(--white-smoke);
  padding: 0 0 2em 0;
}
#purchase-examples .carousel-wrapper{
  display:flex; align-items:center; justify-content:center; position:relative;
  width:100%; max-width:90%; margin:auto; padding-top:50px; padding-bottom:2em;
}
#purchase-examples .carousel{ display:flex; overflow:hidden; width:90%; }
#purchase-examples .carousel-track{ display:flex; transition: transform .5s ease-in-out; }

#purchase-examples .carousel-item{
  transition: transform .5s ease-in-out; text-align:center; background: var(--white);
  border-radius:10px; padding:20px; box-shadow:0 4px 10px rgba(0,0,0,0.1);
  position:relative; width:350px; margin:0 10px;
}
#purchase-examples .carousel-item img{
  max-width:100%; height:auto; border-radius:8px; transition: transform .3s ease-in-out;
}
#purchase-examples .carousel-item img:hover{ transform: scale(1.05); }

#purchase-examples .slide_txt{ display:flex; flex-direction:column; align-items:center; }

#purchase-examples .strengthen{
  display:block; font-size:1em; font-weight:bold; /* colorは継承 */
}
#purchase-examples .tag_genre{
  background: var(--dodger-blue); color: var(--white);
  display:inline-block; font-size:.9rem; padding:5px 10px; border-radius:15px; margin:8px 0;
}
#purchase-examples .tag_manufacture{
  background: var(--platinum); color: var(--black);
  display:inline-block; font-size:1rem; padding:5px 10px; margin:8px 0;
}
#purchase-examples .product_price{
  font-size:18px; font-weight:bold; color: var(--jet); margin:10px 0;
}
#purchase-examples .product_price span{
  font-size:1.2em; font-weight:bold; padding:.1em .3em; border-radius:3px;
}
#purchase-examples .product_name{ font-size:14px; color: var(--jet); margin:5px 0; }

#purchase-examples .carousel-control{
  position:absolute; background: rgba(0,0,0,.5); color: var(--white); border:none;
  font-size:2em; cursor:pointer; transition: background .3s ease-in-out; z-index:2;
}
#purchase-examples .carousel-control.prev{ left:-40px; }
#purchase-examples .carousel-control.next{ right:-40px; }
#purchase-examples .carousel-control:hover{ background: rgba(0,0,0,.8); }

/* ===============================
   #requests（共通）: 全国からのご依頼状況
   HTML想定:
   #requests .container > h2 + .realtime-status > ul#realtime-list > li
   =============================== */

#requests {
  padding: 40px 0;
}

#requests h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--accent-color, var(--dodger-blue));
}

#requests .heading-icon {
  display: inline-block;
  margin-right: .4em;
}

/* リストの初期化（中黒削除＆インデント解除） */
#requests #realtime-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* 左右余白を少し確保（ページの .container とバランス良く） */
#requests .realtime-status {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem; /* 左右の詰まりを軽減 */
}

/* 行スタイル */
#requests #realtime-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #ddd;
  line-height: 1.6;
}

#requests #realtime-list li:last-child {
  border-bottom: none;
}

/* 本文側（span） */
#requests #realtime-list li > span {
  color: var(--jet);
  font-size: 1rem;
}

/* 日付（time）を右端へ */
#requests #realtime-list li > time {
  font-size: .9rem;
  color: #999;
  white-space: nowrap;
  margin-left: auto;
  text-align: right;
}

/* もっと見る（既に .more-button がある場合はそのままでOK） */
#requests .more-button {
  text-decoration: none;
}

/* .hidden ユーティリティ（未定義だった場合の保険） */
#requests .hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 834px) {
  #requests #realtime-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
  }
  #requests #realtime-list li > time {
    align-self: flex-end;
    margin-top: 4px;
  }
}


