@charset "UTF-8";

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

/* =========================================
   Layout
   ========================================= */
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.l-header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}
.l-header__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 80px;
  padding: 0;
  gap: 20px;
}

.l-header__logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.l-header__nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto; /* 右寄せの起点 */
}

@media (max-width: 768px) {
  .l-header__nav {
    display: none; /* スマホではハンバーガーメニューで対応するため一旦非表示 */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .l-header__nav.is-active {
    display: flex;
  }
}

/* Mobile header overlap fix */
@media (max-width: 768px) {
  .l-header__inner {
    height: 60px;
    padding: 0 20px; /* 右端が見切れないように左右に余白を設ける */
    gap: 15px;
    flex-wrap: nowrap;
  }
  .l-header__logo {
    min-width: 0;
    margin-right: auto; /* 右に押し出す */
  }
  .l-header__logo img {
    height: 60px !important;
    width: auto !important;
    transform: scale(2.4) translateY(4px) !important; /* サイズをさらに1.5倍に拡大し、縦位置を維持 */
    transform-origin: left center !important;
    max-width: none !important;
  }
  .l-header__cart {
    margin-left: 0;
    flex-shrink: 0;
  }
  .c-hamburger {
    margin-left: 10px;
    flex-shrink: 0;
  }
  .l-header__cartIcon {
    font-size: 20px;
  }
}


/* Hamburger */
.c-hamburger {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 101;
}
@media (max-width: 768px) {
  .c-hamburger {
    display: block;
  }
}
.c-hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s;
}
.c-hamburger span:nth-of-type(1) { top: 0; }
.c-hamburger span:nth-of-type(2) { top: 11px; }
.c-hamburger span:nth-of-type(3) { bottom: 0; }
.c-hamburger.is-active span:nth-of-type(1) {
  transform: translateY(11px) rotate(45deg);
}
.c-hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}
.c-hamburger.is-active span:nth-of-type(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* =========================================
   Components
   ========================================= */
.c-section {
  padding: 60px 0;
}
.c-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

/* Product Card */
.c-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.c-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.c-card:hover {
  transform: translateY(-4px);
}
.c-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.c-card__body {
  padding: 15px;
}
.c-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.c-card__price {
  font-size: 1.2rem;
  color: #e53e3e;
  font-weight: 700;
}
.c-card__category {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 10px;
  display: inline-block;
  background: #eee;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Button */
.c-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s;
  width: 100%;
}
.c-btn:hover {
  background-color: #555;
}

/* Button Outline */
.c-btn--outline {
  background-color: transparent;
  color: #333;
  border: 1px solid #333;
}
.c-btn--outline:hover {
  background-color: #333;
  color: #fff;
}

/* Search Area */
.p-search {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}
.p-search__input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  max-width: 300px;
}

/* Modal */
.c-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.c-modal.is-active {
  display: flex;
}
.c-modal__content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}
.c-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
}

/* Product Detail */
.p-detail {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .p-detail {
    flex-direction: column;
  }
}
.p-detail__gallery {
  flex: 1;
}
.p-detail__gallery-main {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 10px;
}
.p-detail__gallery-thumbs {
  display: flex;
  gap: 10px;
}
.p-detail__gallery-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}
.p-detail__gallery-thumb.is-active {
  border-color: #333;
}
.p-detail__info {
  flex: 1;
}
.p-detail__title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.p-detail__price {
  font-size: 2.25rem;
  color: #e53e3e;
  font-weight: bold;
  margin-bottom: 20px;
}
.p-detail__meta {
  margin-bottom: 20px;
  color: #666;
  font-size: 0.9rem;
}
.p-detail__notes {
  background: #fdfdfd;
  border: 1px solid #ddd;
  padding: 15px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Contact */
.p-contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.p-contact-form__row {
  margin-bottom: 20px;
}
.p-contact-form__label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
.p-contact-form__required {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-left: 5px;
}
.p-contact-form__input,
.p-contact-form__textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
.p-contact-form__textarea {
  height: 150px;
  resize: vertical;
}
.p-contact-form__sub {
  text-align: center;
  margin-bottom: 40px;
}
.p-contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.p-contact-links a {
  padding: 15px 30px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
}
.p-contact-links a.line { background-color: #06C755; }
.p-contact-links a.email { background-color: #333; }

/* Swiper Customize */
.swiper-container {
  width: 100%;
  padding-bottom: 30px;
}
.swiper-slide {
  height: auto;
}
.swiper-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background-color: #fff;
}
@media (max-width: 768px) {
  .swiper-slide img {
    aspect-ratio: 4 / 3;
  }
}

/* Footer */
.l-footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
}


/* === Logo Default Sizing === */
.l-header__logo {
  display: flex;
  align-items: center;
}
.l-header__logo img {
  display: block;
  height: 80px; /* ヘッダーの幅に合わせる */
  width: auto;
  transform: scale(2.5); /* 見た目だけ約200pxに拡大する */
  transform-origin: left center;
  max-width: none;
}


/* =========================================
   Header Cart (Quote)
   ========================================= */
.l-header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
}
.l-header__cart:hover { opacity: 0.85; }
.l-header__cartIcon { font-size: 18px; line-height: 1; }
.l-header__cartBadge {
  position: absolute;
  top: -1px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   Cart Page
   ========================================= */
.p-cart {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .p-cart { grid-template-columns: 1fr; }
}

.p-cart__empty {
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.p-cart__row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
}
@media (max-width: 900px) {
  .p-cart__row { grid-template-columns: 1fr; }
}

.p-cart__name { font-weight: 700; margin-bottom: 6px; }
.p-cart__meta { font-size: 13px; color: #666; }

.p-cart__rowCtrl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-items: end;
}

.p-cart__price { font-weight: 700; }
.p-cart__sub { font-size: 13px; color: #333; }

.p-cart__qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.p-cart__qtyBtn {
  width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.p-cart__qtyInput {
  width: 70px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
}

.p-cart__remove {
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  padding: 8px 12px;
  cursor: pointer;
}
.p-cart__remove:hover { opacity: 0.85; }

.p-cart__summaryBox {
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  position: sticky;
  top: 90px;
}
@media (max-width: 900px) {
  .p-cart__summaryBox { position: static; }
}
.p-cart__summaryRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 12px;
}
.p-cart__note { font-size: 12px; color: #555; line-height: 1.6; margin: 12px 0; }

.p-cart__toContact { width: 100%; text-align: center; margin-bottom: 10px; }
.p-cart__clear { width: 100%; text-align: center; }

/* =========================================
   Quote Preview (Contact)
   ========================================= */
.p-quote {
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  margin-top: 18px;
}
.p-quote__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.p-quote__title { font-weight: 800; font-size: 18px; }
.p-quote__date { font-size: 13px; color: #666; }
.p-quote__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.p-quote__table th, .p-quote__table td {
  border-bottom: 1px solid #eee;
  padding: 8px 6px;
  vertical-align: top;
}
.p-quote__table th { text-align: left; color: #555; font-weight: 700; }
.p-quote__total {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
  font-weight: 800;
}
.p-quote__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 900px) {
  .p-quote__grid { grid-template-columns: 1fr; }
}
.p-quote__box {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
}
.p-quote__box h3 { margin: 0 0 8px; font-size: 14px; }
.p-quote__kv { font-size: 13px; color: #333; line-height: 1.7; }
.p-quote__agree {
  margin-top: 14px;
  border-top: 1px dashed #ddd;
  padding-top: 12px;
  font-size: 12px;
  color: #444;
  line-height: 1.7;
}

/* Print - 通常印刷 */
@media print {
  .l-header, .c-hamburger, .l-header__nav, .l-header__cart,
  .p-contact-form__sub, .p-cart__summaryBox, .p-cart__clear, .p-cart__toContact {
    display: none !important;
  }
  body { background: #fff !important; }
  .p-quote { border: none; padding: 0; margin: 0; }
  .l-container { max-width: 100% !important; padding: 0 10mm !important; }
}

/* Print - 依頼書のみ印刷（1枚に収める） */
#js-print-container {
  display: none;
}

@media print {
  body.is-print-quote > *:not(#js-print-container) {
    display: none !important;
  }
  body.is-print-quote #js-print-container {
    display: block !important;
    padding: 10mm !important;
    box-sizing: border-box !important;
    background: #fff !important;
  }
  body.is-print-quote #js-print-container .p-quote__table th,
  body.is-print-quote #js-print-container .p-quote__table td {
    border: 1px solid #ccc !important;
  }
  body.is-print-quote #js-print-container .p-quote__head {
    border-bottom: 2px solid #333 !important;
    padding-bottom: 8px !important;
    margin-bottom: 12px !important;
  }
  body.is-print-quote #js-print-container .p-quote__title {
    font-size: 18px !important;
  }
}




/* =========================================
   Flow Steps (Access Page)
   ========================================= */
.p-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.p-flow__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  background: #f9f9f9;
  border-radius: 10px;
}
.p-flow__step--last {
  background: #f0fff4;
  border: 1px solid #9ae6b4;
}
.p-flow__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.p-flow__body {
  flex: 1;
}
.p-flow__title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.p-flow__desc {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
}
.p-flow__link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #333;
  text-decoration: underline;
  font-weight: 600;
}
.p-flow__arrow {
  text-align: center;
  color: #bbb;
  font-size: 18px;
  line-height: 1.4;
  padding: 2px 0;
}

/* Header spacing tweak */
.l-header__cart { margin-left: 6px; }

/* 2-tier category UI */
.p-cat2__row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================================
   Access Page — Redesign
   ========================================= */
.l-access-main {
  min-height: 70vh;
  padding-bottom: 60px;
}

/* Hero banner */
.l-access-hero {
  background: #1a1a1a;
  color: #fff;
  padding: 40px 0 36px;
  margin-bottom: 32px;
}
.l-access-hero__title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.l-access-hero__lead {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #ccc;
  margin: 0 0 20px;
}
.l-access-hero__line {
  display: inline-block;
  background: #06C755;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.l-access-hero__line:hover { opacity: 0.85; }

/* Body container */
.l-access-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 店舗情報 + 地図 */
.p-access-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .p-access-info { grid-template-columns: 1fr; }
}

.p-access-info__box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.p-access-info__heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
}
.p-access-info__dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px 12px;
  font-size: 0.9rem;
  margin: 0;
}
.p-access-info__dl dt {
  color: #777;
  font-weight: 600;
  padding-top: 2px;
}
.p-access-info__dl dd {
  margin: 0;
  color: #222;
  line-height: 1.6;
}

.p-access-info__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-height: 220px;
}
.p-access-info__map iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  border: 0;
}

/* Flow section */
.p-flow-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.p-flow-section__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
}
.p-flow-section__caution {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.7;
}

/* Flow steps — overrides */
.p-flow__note {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  line-height: 1.7;
}
.p-flow__num--green {
  background: #1a7340 !important;
}

/* =========================================
   Global Mobile Improvements
   ========================================= */

/* 全体の余白をスマホで最適化 */
@media (max-width: 768px) {
  .c-section { padding: 40px 0; }
  .c-section__title { font-size: 1.4rem; }

  /* ページタイトル */
  .p-page-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  /* ボタンをタップしやすく */
  .c-btn {
    padding: 14px 20px;
    font-size: 1rem;
  }

  /* カードグリッド：スマホは2列 */
  .c-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .c-card__title { font-size: 0.9rem; }
  .c-card__price { font-size: 1rem; }
  .c-card__body { padding: 10px; }

  /* 検索フォーム */
  .p-search { flex-direction: column; align-items: stretch; }
  .p-search__input { max-width: 100%; }

  /* カテゴリボタン行 */
  .p-cat2__row { gap: 8px; }
  .p-cat2__row .c-btn { font-size: 0.82rem; padding: 8px 12px; }

  /* アクセスページ */
  .l-access-hero { padding: 28px 0 24px; }
  .l-access-hero__title { font-size: 1.5rem; }
  .l-access-hero__lead { font-size: 0.88rem; }
  .l-access-hero__line { padding: 13px 22px; font-size: 0.95rem; width: 100%; text-align: center; box-sizing: border-box; }
  .l-access-body { gap: 20px; }
  .p-flow-section { padding: 20px 16px; }

  /* フローステップ */
  .p-flow__step { padding: 12px; gap: 12px; }
  .p-flow__num { width: 30px; height: 30px; font-size: 13px; }
  .p-flow__title { font-size: 14px; }
  .p-flow__desc { font-size: 12px; }

  /* 商品詳細 */
  .p-detail__title { font-size: 1.3rem; }
  .p-detail__price { font-size: 1.8rem; }

  /* お問い合わせフォーム */
  .p-contact-form { max-width: 100%; }
  .p-contact-form__input,
  .p-contact-form__textarea {
    font-size: 16px; /* iOSのズームを防ぐ */
  }

  /* カートページ */
  .p-cart__row { gap: 12px; }
  .p-cart__qtyBtn { width: 40px; height: 40px; } /* タップしやすく */

  /* フッター */
  .l-footer { margin-top: 40px; font-size: 0.85rem; }
}

/* カード 1列（極小スクリーン） */
@media (max-width: 400px) {
  .c-cards { grid-template-columns: 1fr; }
}

/* p-page-title 共通スタイル（未定義だったため追加） */
.p-page-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 24px;
}




