@charset "Shift_JIS";

/* BEST社製 V釘商品ページ専用CSS
   既存の共通CSSを上書きしすぎないよう、.bestu-product配下に限定しています。 */

.bestu-hidden-h1 {
  margin: 0;
  padding: 8px 12px;
  height: auto;
  overflow: visible;
  font-size: 14px;
  line-height: 1.5;
  font-weight: bold;
  color: #18391e;
  text-align: center;
}

.bestu-main-table {
  width: 920px;
  max-width: 100%;
  table-layout: fixed;
}

.bestu-content {
  min-width: 0;
  box-sizing: border-box;
}

.bestu-product {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 8px 12px 30px;
  box-sizing: border-box;
  color: #333;
  font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.bestu-product *,
.bestu-product *:before,
.bestu-product *:after {
  box-sizing: border-box;
}

.bestu-product img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.bestu-product a {
  color: #176b3a;
  text-decoration: underline;
}

.bestu-product a:hover {
  color: #0e4c28;
  text-decoration: none;
}

.bestu-breadcrumb-note {
  margin: 4px 0 14px;
  padding: 7px 12px;
  border-left: 4px solid #176b3a;
  background: #f3f7f1;
  color: #526454;
  font-size: 12px;
}

.bestu-hero {
  padding: 24px 22px 20px;
  border: 1px solid #dce7dc;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbf6 0%, #ffffff 100%);
  text-align: center;
}

.bestu-eyebrow {
  margin: 0 0 7px;
  color: #64816a;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .14em;
}

.bestu-hero h2 {
  margin: 0;
  color: #18391e;
  font-size: 25px;
  line-height: 1.45;
}

.bestu-hero-sub {
  margin: 5px 0 0;
  color: #176b3a;
  font-size: 19px;
  font-weight: bold;
}

.bestu-hero-lead {
  margin: 15px 0 18px;
  color: #4b554b;
  font-size: 14px;
}

.bestu-hero-image {
  max-width: 660px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid #e6e9e3;
  border-radius: 8px;
  background: #fff;
}

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

.bestu-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 15px;
}

.bestu-hero-tags span {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #d4e3d3;
  border-radius: 20px;
  background: #fff;
  color: #285b35;
  font-size: 12px;
  font-weight: bold;
}

.bestu-section {
  margin-top: 28px;
}

.bestu-section-title {
  margin: 0 0 15px;
  padding: 10px 13px;
  border-left: 5px solid #176b3a;
  border-bottom: 1px solid #dce7dc;
  background: #f5f8f3;
  color: #18391e;
  font-size: 19px;
  line-height: 1.5;
}

.bestu-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bestu-feature {
  display: flex;
  gap: 11px;
  min-width: 0;
  padding: 15px 13px;
  border: 1px solid #e1e9df;
  border-radius: 8px;
  background: #fff;
}

.bestu-feature-number {
  flex: 0 0 30px;
  color: #78a17d;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}

.bestu-feature h3 {
  margin: 0 0 5px;
  color: #244d2b;
  font-size: 15px;
  line-height: 1.5;
}

.bestu-feature p {
  margin: 0;
  color: #4b514b;
  font-size: 13px;
  line-height: 1.75;
}

.bestu-customer-voice {
  margin: 14px 0 0;
  padding: 12px 15px;
  border-radius: 7px;
  background: #f7f7f1;
  color: #555;
  font-size: 13px;
}

.bestu-product-figure {
  margin: 0 auto 18px;
  padding: 10px;
  max-width: 540px;
  border: 1px solid #e2e7df;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.bestu-product-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.bestu-product-figure figcaption {
  margin-top: 7px;
  color: #5b665b;
  font-size: 12px;
}

.bestu-quantity-figure {
  max-width: 520px;
}

.bestu-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #cbd9c9;
  font-size: 14px;
}

.bestu-spec-table th,
.bestu-spec-table td {
  padding: 11px 13px;
  border: 1px solid #d7e1d5;
  text-align: left;
  vertical-align: middle;
}

.bestu-spec-table th {
  width: 34%;
  background: #f1f5ef;
  color: #35533a;
  font-weight: bold;
}

.bestu-spec-table td {
  background: #fff;
  color: #333;
}

.bestu-caution {
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid #e7d9b8;
  border-radius: 8px;
  background: #fffaf0;
}

.bestu-caution strong {
  display: block;
  margin-bottom: 5px;
  color: #75531b;
  font-size: 14px;
}

.bestu-caution p {
  margin: 0;
  color: #554d3d;
  font-size: 13px;
  line-height: 1.8;
}

.bestu-size-nav {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #d8e5d6;
  border-radius: 10px;
  background: #f7faf5;
  text-align: center;
}

.bestu-size-nav h2 {
  margin: 0;
  color: #18391e;
  font-size: 19px;
}

.bestu-size-nav > p {
  margin: 5px 0 14px;
  color: #5a665a;
  font-size: 13px;
}

.bestu-size-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bestu-size-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 94px;
  padding: 10px 5px;
  border: 1px solid #cbdcc9;
  border-radius: 7px;
  background: #fff;
  color: #24542e !important;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease;
}

.bestu-size-link:hover {
  border-color: #176b3a;
  background: #edf5eb;
}

.bestu-size-current {
  border: 2px solid #176b3a;
  background: #edf5eb;
}

.bestu-size-mm {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.3;
}

.bestu-size-type {
  font-size: 12px;
}

.bestu-size-status {
  margin-top: 4px;
  color: #66806a;
  font-size: 10px;
}

.bestu-price-panel {
  margin-top: 28px;
  padding: 22px 18px;
  border: 2px solid #d5e2d2;
  border-radius: 11px;
  background: #fff;
  text-align: center;
}

.bestu-price-catch {
  margin: 0 0 7px;
}

.bestu-price-label {
  margin: 0;
  color: #536253;
  font-size: 13px;
  font-weight: bold;
}

.bestu-price {
  margin: 0 0 8px;
  color: #b3261e;
  font-size: 38px;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: .02em;
}

.bestu-price span {
  margin-left: 3px;
  font-size: 20px;
}

.bestu-payment {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 9px 0 13px;
}

.bestu-payment span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.bestu-stock {
  margin: 12px 0;
  padding: 8px;
  border-radius: 5px;
  background: #f3f6f1;
  color: #555;
  font-size: 12px;
}

.bestu-shipping {
  margin: 12px 0 16px;
  padding: 11px 10px;
  border: 1px solid #e6d8b9;
  border-radius: 6px;
  background: #fffaf0;
  color: #514a3b;
  font-size: 13px;
}

.bestu-order-guide,
.bestu-mail-order {
  display: block;
  max-width: 502px;
  margin: 12px auto;
}

.bestu-order-guide img,
.bestu-mail-order img {
  display: block;
  width: 100%;
  height: auto;
}

.bestu-cart {
  max-width: 500px;
  margin: 14px auto;
  overflow: hidden;
}

.bestu-cart iframe {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.bestu-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 28px auto 0;
  text-align: center;
}

.bestu-contact img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bestu-back-link {
  margin: 25px 0 10px;
  text-align: center;
}

.bestu-back-link a {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid #176b3a;
  border-radius: 6px;
  background: #f3f8f1;
  color: #176b3a;
  font-weight: bold;
  text-decoration: none;
}

.bestu-back-link a:hover {
  background: #e5f0e2;
}

@media screen and (max-width: 760px) {
  .bestu-main-table {
    width: 100% !important;
    table-layout: auto;
  }

  .bestu-main-table > tbody > tr > td,
  .bestu-main-table > tr > td {
    width: auto !important;
  }

  .bestu-product {
    max-width: 100%;
    padding: 8px 10px 24px;
  }

  .bestu-hero {
    padding: 18px 12px;
  }

  .bestu-hero h2 {
    font-size: 21px;
  }

  .bestu-hero-sub {
    font-size: 17px;
  }

  .bestu-pc {
    display: none;
  }

  .bestu-feature-list {
    grid-template-columns: 1fr;
  }

  .bestu-size-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bestu-price {
    font-size: 34px;
  }

  .bestu-spec-table th,
  .bestu-spec-table td {
    padding: 9px 8px;
    font-size: 13px;
  }

  .bestu-cart iframe {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .bestu-hero h2 {
    font-size: 19px;
  }

  .bestu-section-title {
    font-size: 17px;
  }

  .bestu-size-nav {
    padding: 14px 10px;
  }

  .bestu-size-link {
    min-height: 84px;
  }

  .bestu-size-mm {
    font-size: 20px;
  }

  .bestu-price-panel {
    padding: 18px 10px;
  }
}


/* =========================================================
   2026-12-01 表示崩れ修正
   ヘッダーの幅・文字色、および長文の折り返しを調整
   ========================================================= */

.site-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: stretch;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}

.site-head-inner,
.site-head-contact {
  float: none !important;
  position: relative;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  box-sizing: border-box;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.site-head-inner {
  background: #258b35 !important;
  color: #ffffff !important;
  text-align: center;
}

.site-head-inner p,
.site-head-inner a {
  max-width: 100% !important;
  color: #ffffff !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-head-contact {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f5f3d9 !important;
  color: #24412a !important;
  text-align: center;
}

.site-head-contact p,
.site-head-contact a,
.site-head-contact span {
  max-width: 100% !important;
  color: #24412a !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-head-contact .site-head-tel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
}

.bestu-feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.bestu-feature {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  align-items: start;
  min-width: 0 !important;
  max-width: 100% !important;
}

.bestu-feature > div {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere;
}

.bestu-feature h3,
.bestu-feature p {
  display: block;
  width: 100%;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.bestu-feature h3 {
  line-height: 1.55;
}

.bestu-feature p {
  line-height: 1.75;
}

.bestu-caution {
  width: 100%;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden;
}

.bestu-caution strong,
.bestu-caution p {
  display: block;
  width: 100%;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.8;
}

.bestu-product,
.bestu-product section,
.bestu-product figure,
.bestu-product nav,
.bestu-product p {
  min-width: 0;
  max-width: 100%;
}

@media screen and (max-width: 760px) {
  .site-head {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .site-head-inner,
  .site-head-contact {
    width: 100% !important;
  }

  .bestu-feature-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}


/* =========================================================
   2026-12-01 ヘッダー修正・最終上書き
   共通CSSの幅指定やfloat指定の影響を受けないよう、
   ヘッダーを全幅のグリーン帯＋上下配置に統一
   ========================================================= */

td.tdwwwtamak .site-head {
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #258b35 !important;
  text-align: center !important;
}

td.tdwwwtamak .site-head-inner,
td.tdwwwtamak .site-head-contact {
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  background: #258b35 !important;
  color: #ffffff !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
}

td.tdwwwtamak .site-head-inner {
  padding: 18px 20px 12px !important;
}

td.tdwwwtamak .site-head-contact {
  padding: 8px 20px 18px !important;
  border-top: 1px solid rgba(255,255,255,.35) !important;
}

td.tdwwwtamak .site-head-inner p,
td.tdwwwtamak .site-head-inner a,
td.tdwwwtamak .site-head-contact p,
td.tdwwwtamak .site-head-contact a,
td.tdwwwtamak .site-head-contact span {
  display: block;
  position: static !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 4px auto !important;
  padding: 0 !important;
  color: #ffffff !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

td.tdwwwtamak .site-head-inner a,
td.tdwwwtamak .site-head-contact a {
  display: inline !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: bold;
}

td.tdwwwtamak .site-head-catch {
  font-size: 21px !important;
  font-weight: bold !important;
}

td.tdwwwtamak .site-head-message {
  font-size: 15px !important;
}

td.tdwwwtamak .site-head-category {
  margin-top: 12px !important;
  font-size: 15px !important;
  font-weight: bold !important;
}

td.tdwwwtamak .site-head-company {
  margin: 0 auto !important;
  font-size: 29px !important;
  font-weight: bold !important;
  letter-spacing: .08em;
  line-height: 1.35 !important;
}

td.tdwwwtamak .site-head-history {
  font-size: 14px !important;
  font-weight: bold !important;
}

td.tdwwwtamak .site-head-contact .site-head-tel {
  display: block !important;
  margin: 5px auto !important;
  font-size: 19px !important;
  font-weight: bold !important;
}

td.tdwwwtamak .site-head-contact .contact-separator {
  display: inline !important;
  margin: 0 10px !important;
}

td.tdwwwtamak .site-head-contact .site-head-mail {
  font-size: 18px !important;
  font-weight: bold !important;
}

@media screen and (max-width: 760px) {
  td.tdwwwtamak .site-head-inner {
    padding: 14px 12px 10px !important;
  }

  td.tdwwwtamak .site-head-contact {
    padding: 8px 12px 14px !important;
  }

  td.tdwwwtamak .site-head-catch {
    font-size: 18px !important;
  }

  td.tdwwwtamak .site-head-company {
    font-size: 25px !important;
  }

  td.tdwwwtamak .site-head-contact .site-head-tel {
    font-size: 16px !important;
  }
}


/* =========================================================
   2026-12-01 横幅修正
   親テーブルが920px固定だったため、画面幅に合わせて拡張
   ========================================================= */

html,
body {
  width: 100% !important;
  max-width: 100% !important;
}

table.bestu-main-table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

table.bestu-main-table > tbody > tr > td,
table.bestu-main-table > tr > td {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

table.bestu-main-table td.tdwwwtamak,
table.bestu-main-table td.tdwwwtamak > .site-head {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 画面が広いPCでは横幅いっぱいに表示。
   狭い画面では従来どおり画面内に収める */
@media screen and (min-width: 761px) {
  table.bestu-main-table {
    width: 100% !important;
  }
}


/* =========================================================
   2026-12-01 幅の再調整
   画面いっぱいに広がる設定を取り消し、
   従来の920pxを基本幅として中央配置に戻す
   ========================================================= */

/* ページ上部のH1用テーブル */
body > table:first-of-type {
  width: 920px !important;
  max-width: calc(100% - 24px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  table-layout: auto !important;
}

/* 商品ページ本体：基本幅920px、狭い画面だけ縮小 */
table.bestu-main-table {
  width: 920px !important;
  max-width: calc(100% - 24px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  table-layout: fixed !important;
}

/* ヘッダーは本体テーブルの幅いっぱい */
table.bestu-main-table td.tdwwwtamak,
table.bestu-main-table td.tdwwwtamak > .site-head {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* スマートフォン等の狭い画面では画面幅に合わせる */
@media screen and (max-width: 944px) {
  body > table:first-of-type,
  table.bestu-main-table {
    width: calc(100% - 20px) !important;
    max-width: none !important;
  }
  
  
 /* H1用テーブルのスマートフォン対応 */
.bestu-title-table {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
}

/* スマートフォン */
@media screen and (max-width: 760px) {
    .bestu-title-table {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed;
    }

    .bestu-title-table td {
        width: auto !important;
    }
} 
  
  
  
}
