/* ============================================================
   株式会社サンプル — Amazon風スタイル
   ============================================================ */

/* ===== カラー変数（Amazon配色） ===== */
:root {
  --nav-dark: #131921;     /* ヘッダー上段 */
  --nav-sub: #232f3e;      /* ヘッダー下段・フッター */
  --nav-hover: #37475a;    /* ホバー枠・トップに戻る */
  --foot-bottom: #131a22;  /* フッター最下段 */

  --orange: #ff9900;       /* アクセント */
  --search: #febd69;       /* 検索ボタン */
  --btn-yellow: #ffd814;   /* 黄色ボタン */
  --btn-yellow-hover: #f7ca00;
  --btn-border: #fcd200;

  --link: #007185;         /* リンク（ティール） */
  --link-hover: #c7511f;   /* リンクホバー（オレンジ） */
  --price: #b12704;        /* 価格・強調赤 */

  --bg: #eaeded;           /* ページ背景 */
  --bg-white: #ffffff;
  --line: #ddd;
  --text: #0f1111;
  --text-muted: #565959;

  --max-width: 1500px;
}

/* ===== リセット ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Amazon Ember", Arial, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 94%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* --- 上段 --- */
.header-main {
  background: var(--nav-dark);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6px 14px;
}

/* 各セルの共通ホバー枠 */
.h-cell {
  display: flex;
  align-items: center;
  padding: 9px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}

.h-cell:hover {
  border-color: #fff;
}

/* ロゴ */
.logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.logo .logo-dot {
  color: var(--orange);
}

/* 配送先 */
.h-deliver {
  line-height: 1.1;
}

.h-deliver .label {
  font-size: 0.72rem;
  color: #ccc;
}

.h-deliver .place {
  font-size: 0.86rem;
  font-weight: 700;
}

/* 検索バー */
.header-search {
  flex: 1;
  display: flex;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  min-width: 180px;
}

.header-search:focus-within {
  outline: 3px solid var(--orange);
  border-radius: 4px;
}

.header-search select {
  background: #f3f3f3;
  border: none;
  padding: 0 8px;
  font-size: 0.78rem;
  color: #555;
  cursor: pointer;
}

.header-search input {
  flex: 1;
  border: none;
  padding: 0 12px;
  font-size: 0.95rem;
  min-width: 0;
}

.header-search button {
  background: var(--search);
  border: none;
  width: 45px;
  font-size: 1.1rem;
  cursor: pointer;
  color: #111;
}

.header-search button:hover {
  background: #f3a847;
}

/* 右側のメニュー */
.h-mini {
  line-height: 1.1;
  font-size: 0.86rem;
  font-weight: 700;
}

.h-mini .label {
  font-size: 0.72rem;
  font-weight: 400;
  color: #fff;
}

.h-cart {
  align-items: flex-end;
  font-weight: 700;
}

.h-cart .cart-icon {
  font-size: 1.3rem;
}

.h-cart .cart-count {
  color: var(--orange);
  font-weight: 800;
  margin-right: 2px;
}

/* --- 下段（サブナビ） --- */
.header-sub {
  background: var(--nav-sub);
  color: #fff;
}

.subnav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2px 10px;
  font-size: 0.9rem;
}

.subnav-inner a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 500;
}

.subnav-inner a:hover {
  border-color: #fff;
}

.subnav-inner a.is-current {
  font-weight: 800;
  color: var(--orange);
}

.subnav-all {
  font-weight: 700 !important;
}

/* ============================================================
   ヒーロー（トップバナー）
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #232f3e 0%, #37475a 60%, var(--bg) 60%);
  padding-bottom: 0;
}

.hero-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 14px 0;
}

.hero-inner {
  position: relative;
  background: linear-gradient(120deg, #146eb4, #232f3e);
  border-radius: 8px;
  padding: 60px 50px;
  color: #fff;
  overflow: hidden;
}

.hero-inner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.5), transparent 70%);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 12px;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-lead {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  color: #e3e6e6;
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-yellow {
  background: var(--btn-yellow);
  border-color: var(--btn-border);
  color: #0f1111;
}

.btn-yellow:hover {
  background: var(--btn-yellow-hover);
}

.btn-outline {
  background: #fff;
  border-color: #888c8c;
  color: #0f1111;
}

.btn-outline:hover {
  background: #f7fafa;
}

/* ============================================================
   メインコンテンツ（カードタイル）
   ============================================================ */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 14px 40px;
}

/* タイルのグリッド */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

/* 白いカードタイル（Amazonトップ風） */
.tile {
  background: var(--bg-white);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.tile-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.tile-link {
  margin-top: 14px;
  color: var(--link);
  font-size: 0.88rem;
}

.tile-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* 全幅の白パネル */
.panel {
  background: var(--bg-white);
  padding: 24px 28px;
  margin-bottom: 20px;
}

.panel-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.panel-sub {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.section-link {
  color: var(--link);
  font-size: 0.92rem;
}

.section-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* ============================================================
   商品風カード（サービス・強み）
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}

.product:hover {
  box-shadow: 0 0 0 2px var(--orange) inset, 0 6px 14px rgba(0, 0, 0, 0.12);
}

.product-thumb {
  height: 150px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e7ecee, #d5dbdb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #232f3e;
  margin-bottom: 14px;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--link);
  margin-bottom: 6px;
}

.product:hover .product-name {
  color: var(--link-hover);
}

.product-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  flex: 1;
}

.product-rating {
  color: var(--orange);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.product-rating span {
  color: var(--link);
  font-size: 0.8rem;
  margin-left: 4px;
}

/* ============================================================
   お知らせ
   ============================================================ */
.news-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

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

.news-date {
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 0.85rem;
}

.news-tag {
  background: var(--nav-sub);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

.news-text {
  color: var(--link);
}

.news-list li:hover .news-text {
  color: var(--link-hover);
  text-decoration: underline;
}

/* ============================================================
   下層ページヘッダー（パンくず）
   ============================================================ */
.page-head {
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
}

.page-head-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.breadcrumb a {
  color: var(--link);
}

.breadcrumb a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.page-title {
  font-size: 1.7rem;
  font-weight: 700;
}

/* ============================================================
   バリュー / 流れ
   ============================================================ */
.value-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.value-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--nav-sub);
  color: var(--orange);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-step {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--btn-yellow);
  border: 1px solid var(--btn-border);
  color: #0f1111;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.flow-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================================
   会社概要テーブル
   ============================================================ */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.92rem;
}

.info-table th {
  width: 200px;
  color: var(--text-muted);
  font-weight: 700;
}

.map-placeholder {
  height: 300px;
  background: linear-gradient(135deg, #e7ecee, #d5dbdb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #565959;
  font-weight: 600;
  border-radius: 8px;
}

/* ============================================================
   CTA バンド
   ============================================================ */
.cta {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  text-align: center;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-text {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ============================================================
   フッター
   ============================================================ */
/* トップに戻る */
.back-to-top {
  background: var(--nav-hover);
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 0.85rem;
  cursor: pointer;
}

.back-to-top:hover {
  background: #485769;
}

.footer-main {
  background: var(--nav-sub);
  color: #fff;
  padding: 40px 0;
}

.footer-cols {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col a {
  color: #ddd;
  font-size: 0.86rem;
}

.footer-col a:hover {
  text-decoration: underline;
  color: #fff;
}

/* ロゴ帯 */
.footer-brand {
  border-top: 1px solid #3a4553;
  padding: 26px 0;
  text-align: center;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.footer-logo .logo-dot {
  color: var(--orange);
}

/* 最下段 */
.footer-bottom {
  background: var(--foot-bottom);
  color: #ddd;
  text-align: center;
  padding: 26px 0;
  font-size: 0.78rem;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .h-deliver,
  .h-mini-lang {
    display: none;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .header-search {
    order: 3;
    flex-basis: 100%;
  }
  .hero-inner {
    padding: 40px 24px;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .info-table th {
    width: 110px;
  }
}
