@charset "UTF-8";
/*
Theme Name: Peak of Japan
Theme URI: https://bennettfoam.jp/
Author: Cospal
Description: サーフボード フォーム ブランクス卸販売「ピークオブジャパン」専用テーマ。2026年リニューアル版。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peakofjapan
Tags: business, custom-colors, responsive-layout
*/

/* =========================================================
   共通スタイル（トップ／全ページ）
   下層ページ用は assets/css/subpage.css
   ========================================================= */
/* =========================================================
   Peak of Japan / bennettfoam.jp  リニューアル用 CSS
   2026 renewal
   ========================================================= */

/* ---------- Font ---------- */
@font-face {
  font-family: "PoJ Display";
  src: url("/font/Royal_Rumble_Haettenschweiler.ttf") format("truetype");
  font-display: swap;
}

/* ---------- Design Token ---------- */
:root {
  --navy: #002856;
  --navy-dark: #001b3d;
  --navy-tint: #eef2f7;
  --green: #0f8548;
  --ink: #1b1f23;
  --ink-2: #4a5057;
  --ink-3: #767c84;
  --line: #e2e5e9;
  --bg: #ffffff;
  --bg-soft: #f7f8f9;
  --bg-footer: #f3f3f3;
  --bg-bottom: #2f3437;

  --font-ja: "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴ ProN", "Yu Gothic", sans-serif;
  --font-display: "PoJ Display", "Haettenschweiler", "Arial Narrow", "Impact", sans-serif;

  --wrap: 1200px;
  --radius: 4px;
  --section-gap: clamp(48px, 6vw, 84px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .02em;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; transition: opacity .25s, color .25s, background-color .25s, border-color .25s; }
a:hover { opacity: .72; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Section heading ---------- */
.sec { padding-block: var(--section-gap); }
.sec--soft { background: var(--bg-soft); }

.sec-head {
  position: relative;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.sec-title {
  text-align: center;
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 700;
  letter-spacing: .28em;
  text-indent: .28em;
  line-height: 1.5;
}
.sec-more {
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  white-space: nowrap;
}
.sec-more::after { content: "›"; margin-left: 8px; font-size: 15px; }
.sec-head--row .sec-more {
  position: absolute; right: 20px; bottom: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); opacity: 1; }
.btn--outline { background: #fff; color: var(--ink); border-color: #c8ccd2; }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); opacity: 1; }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover { background: var(--navy-tint); border-color: var(--navy-tint); opacity: 1; }
.btn--sm { padding: 8px 18px; font-size: 13px; font-weight: 500; }
.btn--lg { padding: 17px 40px; font-size: 15px; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: 1360px; margin-inline: auto;
  padding: 0 20px;
  height: 68px;
  display: flex; align-items: center; gap: 20px;
}
.header__logo { flex: none; }
.header__logo img { width:100px; }

.header__right {
  margin-left: auto;
  display: flex; align-items: center; gap: 14px;
}
.header__cta { padding: 12px 20px; font-size: 13px; }

/* ---------- MENU ボタン（PC/SP共通で表示） ---------- */
.menu-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s, background-color .25s;
}
.menu-btn:hover { border-color: var(--navy); background: var(--navy-tint); }
.menu-btn__bars {
  position: relative;
  width: 22px; height: 15px;
  flex: none;
}
.menu-btn__bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.menu-btn__bars span:nth-child(1) { top: 0; }
.menu-btn__bars span:nth-child(2) { top: 6.5px; }
.menu-btn__bars span:nth-child(3) { top: 13px; }
.menu-btn.is-open .menu-btn__bars span:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
.menu-btn.is-open .menu-btn__bars span:nth-child(2) { opacity: 0; }
.menu-btn.is-open .menu-btn__bars span:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }
.menu-btn__label {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .06em;
  line-height: 1;
  color: var(--navy);
}

/* =========================================================
   Drawer
   ========================================================= */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 12, 28, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 60;
}
body.is-drawer-open .drawer-overlay { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(92vw, 420px);
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -10px 0 40px rgba(0, 20, 45, .16);
  z-index: 61;
  visibility: hidden;
}
body.is-drawer-open .drawer { transform: translateX(0); visibility: visible; }

.drawer__head {
  flex: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 12px 0 24px;
  height: 68px;
  background: var(--navy);
  color: #fff;
}
.drawer__head-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .12em;
  line-height: 1;
}
.drawer__close {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: #fff;
}
.drawer__close:hover { background: rgba(255, 255, 255, .12); }

.drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.drawer__nav { border-bottom: 8px solid var(--bg-soft); }
.drawer__nav:last-child { border-bottom: 0; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__nav > li:last-child { border-bottom: 0; }

.drawer__link {
  display: block;
  padding: 17px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}
.drawer__link:hover { opacity: 1; background: var(--navy-tint); color: var(--navy); }

.drawer__section { border-bottom: 8px solid var(--bg-soft); }
.drawer__section-title {
  padding: 18px 24px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-3);
}

/* 商品一覧アコーディオン */
.drawer__acc-row { display: flex; align-items: stretch; }
.drawer__acc-row .drawer__link { flex: 1; font-weight: 500; }
.drawer__acc-btn {
  flex: none;
  width: 56px;
  display: grid; place-items: center;
  color: var(--ink-3);
  border-left: 1px solid var(--line);
}
.drawer__acc-btn:hover { background: var(--navy-tint); color: var(--navy); }
.drawer__acc-btn svg { transition: transform .3s ease; }
.drawer__acc-btn[aria-expanded="true"] svg { transform: rotate(90deg); }

.drawer__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--bg-soft);
}
.drawer__sub li + li { border-top: 1px solid var(--line); }
.drawer__sub a {
  display: block;
  padding: 13px 24px 13px 38px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  position: relative;
}
.drawer__sub a::before {
  content: "";
  position: absolute; left: 24px; top: 21px;
  width: 6px; height: 1px;
  background: #b9bfc6;
}
.drawer__sub a:hover { opacity: 1; color: var(--navy); background: #fff; }

.drawer__link--all {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
}
.drawer__link--all::after { content: " ›"; }

.drawer__foot { padding: 24px; }
.drawer__foot .btn { width: 100%; }
.drawer__info {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
.drawer__info a { color: var(--ink-2); }
.drawer__sns { display: inline-block; margin-top: 14px; width: 24px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #fff;
}
.hero__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 5.5vw, 76px) clamp(20px, 4vw, 60px);
  margin-left: auto;
  width: 100%;
  max-width: 680px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: .98;
  letter-spacing: .01em;
  margin-bottom: 22px;
}
.hero__lead {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: clamp(24px, 3vw, 36px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { position: relative; overflow: hidden; background: var(--navy-tint); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   商品カテゴリから探す
   ========================================================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat-card:hover { opacity: 1; border-color: var(--navy); }
.cat-card__thumb { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.cat-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__thumb img { transform: scale(1.05); }
.cat-card__body { padding: 20px 18px 44px; position: relative; flex: 1; }
.cat-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cat-card__icon {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
}
.cat-card__name { font-size: 16px; font-weight: 700; line-height: 1.4; }
.cat-card__desc { font-size: 12.5px; line-height: 1.85; color: var(--ink-2); }
.cat-card__body::after {
  content: "›";
  position: absolute; right: 18px; bottom: 14px;
  color: var(--ink-3); font-size: 18px; line-height: 1;
}

/* =========================================================
   用途・タイプから探す
   ========================================================= */
.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.type-card {
  position: relative;
  display: flex; align-items: center;
  aspect-ratio: 21 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.type-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s;
}
.type-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,20,42,.72) 0%, rgba(0,20,42,.28) 100%);
  z-index: 1;
}
.type-card:hover { opacity: 1; }
.type-card:hover img { transform: scale(1.06); }
.type-card__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 0 16px;
  gap: 10px;
}
.type-card__label { font-size: clamp(14px, 1.3vw, 17px); font-weight: 700; letter-spacing: .04em; }
.type-card__arrow {
  flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.85);
  display: grid; place-items: center;
  font-size: 14px; line-height: 1;
}

/* =========================================================
   おすすめ商品
   ========================================================= */
.prd-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.prd-card { display: flex; flex-direction: column; }
.prd-card__thumb {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.prd-card__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.prd-card__name {
  font-size: 13.5px; font-weight: 700; line-height: 1.5;
  margin-bottom: 6px;
}
.prd-card__spec {
  font-size: 11.5px; line-height: 1.7; color: var(--ink-2);
  margin-bottom: 12px; flex: 1;
}
.prd-card .btn { align-self: flex-start; }

/* =========================================================
   選ばれる理由
   ========================================================= */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
.reason { display: flex; gap: 18px; }
.reason__icon {
  flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
}
.reason__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.reason__desc { font-size: 12.5px; line-height: 1.9; color: var(--ink-2); }

/* =========================================================
   Instagram フィード
   ========================================================= */
.insta-feed { margin-top: 4px; }
/* プラグイン側の余白を打ち消して他セクションと揃える */
.insta-feed #sb_instagram { padding-bottom: 0 !important; }
.insta-feed #sb_instagram #sbi_load { margin-top: 18px; }

/* =========================================================
   見積依頼バンド
   ========================================================= */
.cta-wide {
  position: relative;
  background: var(--navy) url("/image/promo_factory.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding-block: clamp(44px, 6vw, 76px);
  overflow: hidden;
}
.cta-wide::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 25, 55, .82);
}
.cta-wide .wrap { position: relative; z-index: 1; }
.cta-wide__lead {
  font-size: 13px;
  letter-spacing: .22em;
  text-indent: .22em;
  opacity: .8;
  margin-bottom: 10px;
}
.cta-wide__title {
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  margin-bottom: 14px;
}
.cta-wide__desc {
  font-size: 13.5px;
  line-height: 2;
  opacity: .88;
  margin-bottom: clamp(20px, 2.5vw, 30px);
}
.cta-wide .btn { margin-inline: auto; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  flex: none;
  background: var(--bg-footer);
  color: var(--ink);
  padding-top: clamp(40px, 4vw, 56px);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr) ) minmax(0, 1.3fr);
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.footer__logo img { width: 170px; margin-bottom: 14px; }
.footer__about { font-size: 12.5px; line-height: 1.9; color: var(--ink-2); margin-bottom: 16px; }
.footer__sns a { display: inline-block; width: 26px; }
.footer__title { font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.footer__list li { margin-bottom: 8px; }
.footer__list a { font-size: 12.5px; color: var(--ink-2); }
.footer__info { font-size: 12.5px; line-height: 1.95; color: var(--ink-2); }

.footer__bottom { background: var(--bg-bottom); color: #fff; }
.footer__bottom .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-block: 14px;
}
.footer__copy { font-size: 11.5px; letter-spacing: .03em; }
.footer__policy { display: flex; gap: 10px; align-items: center; font-size: 11.5px; }
.footer__policy span { opacity: .5; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prd-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16 / 9; order: -1; }
  .hero__body { max-width: none; margin-left: 0; }

  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  .header__inner { height: 60px; gap: 10px; }
  .header__cta { display: none; }
  .menu-btn { padding: 8px 12px; }
  .drawer { width: 100%; }
  .drawer__head { height: 60px; padding-left: 20px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { flex-direction: row; }
  .cat-card__thumb { flex: 0 0 38%; aspect-ratio: auto; }
  .cat-card__body { padding: 14px 14px 30px; }
  .prd-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .type-card { aspect-ratio: 16 / 7; }
  .sec-head--row .sec-more { position: static; display: block; text-align: right; margin-top: 10px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
