/* ------------------------------ */
/* VOLGANO LP - Base Layout       */
/* SP画面で制作・PCは余白を背景に  */
/* ------------------------------ */

/* = Base
---------------------------------------- */
:root {
  --sp-width: 428px;        /* SPデザイン幅（必要に応じて変更） */
  --pc-bg: #f5f5f5;        /* PC時の余白背景色（任意で変更） */
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--pc-bg);
}

/* = Layout Wrapper
---------------------------------------- */
.l-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

@media (min-width: 769px) {
  .l-wrapper {
    padding: 0;
  }
}

/* = Main（SP幅で中央・PC時は余白が背景に見える）
---------------------------------------- */
.l-main {
  width: 100%;
  max-width: var(--sp-width);
  margin: 0 auto;
  padding-top: 56px; /* 固定ヘッダー高さ分 */
  min-height: 100vh;
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

@media (min-width: 769px) {
  .l-main {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  }
}

/* = Section（画像/SVG貼り付け用）
---------------------------------------- */
.p-section {
  width: 100%;
}

.p-section img,
.p-section svg {
  display: block;
  width: 100%;
  height: auto;
}

/* = KVセクション（背景画像をヘッダーエリアまで表示 / メインテキストはSVG）
---------------------------------------- */
.p-kv {
  position: relative;
  width: 100%;
  margin-top: -56px;
  padding-top: 56px;
  /* 高さ＝画面幅とほぼ同じ、ただし最大550px（min-height > max-height だと min が優先されるため min で上限） */
  min-height: min(100vw, 550px);
  max-height: 500px;
  background-color: #e8e4df; /* 画像読込前のフォールバック */
  background-image: url("../img/kv_bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.p-kv__inner {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  /* ヘッダー分を除いた高さ（親の max-height に合わせる） */
  min-height: calc(min(100vw, 550px) - 56px);
  padding: 24px 16px 40px;
  box-sizing: border-box;
}

.p-kv__main {
  width: 100%;
}

.p-kv__main-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* = Aboutセクション（KV直下・画像/SVG貼り付け用）
---------------------------------------- */
.p-about {
  position: relative;
  width: 100%;
  background-color: #fff;
  background-image: url("../img/about-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.p-about__inner {
  width: 100%;
  padding: 40px 16px 48px;
  box-sizing: border-box;
}

.p-about__main {
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
}

.p-about__main-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* = 製品紹介セクション（about直下・画像/SVG貼り付け用）
---------------------------------------- */
.p-product {
  position: relative;
  width: 100%;
  background-color: #fff;
}

.p-product__inner {
  width: 100%;
  padding: 40px 16px 48px;
  box-sizing: border-box;
}

.p-product__head {
  width: 80%;
  max-width: 396px;
  margin: 0 auto 24px;
}

.p-product__head-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-product__body {
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
}

.p-product__body img,
.p-product__body svg {
  display: block;
  width: 100%;
  height: auto;
}

/* = ブランド紹介セクション（画像3枚縦並び + 背景画像）
---------------------------------------- */
.p-brand {
  position: relative;
  width: 100%;
  background-color: #f5f5f5;
  background-image: url("../img/volgano-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding-bottom: 100px;
}

.p-brand__inner {
  width: 100%;
  padding: 40px 16px 48px;
  box-sizing: border-box;
}

.p-brand__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 396px;
  margin-left: auto;
  margin-right: auto;
}

.p-brand__item {
  width: 100%;
}

.p-brand-title {
    width: 75%;
    margin-top: -50px;
}

.p-brand__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.p-brand-story__title {
    margin-top: -40px;
}

/* = Footer（ダークグレー・ロゴ・会社情報・お問い合わせ・著作権）
---------------------------------------- */
.p-footer {
  width: 100%;
  background-color: #3E3A39;
  padding: 40px 20px 20px;
  box-sizing: border-box;
}

.p-footer__inner {
  width: 100%;
  margin: 0 auto;
}

.p-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.p-footer__logo {
  flex-shrink: 0;
}

.p-footer__logo-img {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
}

.p-footer__company,
.p-footer__address {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  color: #fff;
}

.p-footer__company {
  margin-bottom: 4px;
}

.p-footer__contact {
  text-align: center;
  margin-bottom: 32px;
}

.p-footer__contact-btn {
  display: inline-block;
  padding: 10px 40px;
  background-color: #fff;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 9999px;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease;
}

.p-footer__contact-btn:hover,
.p-footer__contact-btn:focus {
  opacity: 0.9;
}

.p-footer__copyright {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

.p-button {
    width: 200px;
    margin: 40px auto;
}

/* = レビュー（お客様の声）セクション（製品詳細直下）
---------------------------------------- */
.p-review {
  position: relative;
  width: 100%;
  background-color: #F7F8F8;
}

.p-review__inner {
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
  padding: 40px 16px 48px;
  box-sizing: border-box;
}

.p-review__head {
  margin: -100px 0 40px 10px;
  width: 25%;
}

.p-review__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-review__item {
  width: 100%;
}

.p-review__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* = ギャラリーセクション（レビュー直下・画像1枚）
---------------------------------------- */
.p-gallery {
  position: relative;
  width: 100%;
  background-color: #fff;
}

.p-gallery__inner {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0 0;
  box-sizing: border-box;
}

.p-gallery__img {
  width: 100%;
}

.p-gallery__img-file {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* = LINEセクション（ギャラリー直下）
---------------------------------------- */
.p-line {
  position: relative;
  width: 100%;
  background-color: #fff;
}

.p-line__inner {
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px 48px;
  box-sizing: border-box;
  position: relative;
}

.p-line__link {
  display: block;
  text-decoration: none;
  width: 180px;
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.p-line__banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* = Q&Aセクション（LINE直下・5項目トグル開閉）
---------------------------------------- */
.p-qa {
  position: relative;
  width: 100%;
  background-color: #fff;
}

.p-qa__inner {
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px 48px;
  box-sizing: border-box;
}

.p-qa__head {
  width: 15%;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
}

.p-qa__head-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-qa__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-qa__item {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* 質問バー（ダークグレー・常に下向き矢印） */
.p-qa__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #4f4f4f;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-radius 0.15s ease;
}

.p-qa__question-text {
  flex: 1;
}

.p-qa__question-icon {
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1;
}

/* 回答パネル（ライトグレー・開いている時だけ表示） */
.p-qa__answer {
  background-color: #f5f5f5;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.p-qa__answer[hidden] {
  display: none;
}

.p-qa__answer-text {
  margin: 0;
  padding: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #333;
}

.p-brand__bottom {
  position: relative;
  width: 100%;
  min-height: 100px; /* 子がabsoluteで高さ0になるため、背景表示用に確保 */
  background-color: #f5f5f5;
  background-image: url("../img/brand__bottom-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.p-brand__bottom-inner {
    position: relative;
}

.p-brand__bottom-head {
  width: 100%;
  width: 100%;
  margin: 0 auto;
}

.p-brand__bottom-head-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-brand__bottom-absolute {
    position: absolute;
    top: -50%;
    left: 0;
    width: 65%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* メニュー展開時はナビ(z-index:99)の背面に回す（通常レイアウトは変更しない） */
body.is-nav-open .p-brand__bottom-absolute {
  z-index: 0;
}

/* スクロール中はヘッダー(z-index:100)の背面に回す */
body.is-scrolled .p-brand__bottom-absolute {
  z-index: 0;
}

/* = ブランドストーリーセクション（ブランド紹介直下）
---------------------------------------- */
.p-brand-story {
  position: relative;
  width: 100%;
  background-color: #fff;
}

.p-brand-story__inner {
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
  padding: 40px 16px 48px;
  box-sizing: border-box;
}

.p-brand-story__head {
  width: 100%;
  margin-bottom: 24px;
}

.p-brand-story__head-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-brand-story__body {
  width: 100%;
}

/* 親の左右パディングを打ち消して幅いっぱいに表示 */
.p-brand-story__img {
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-bottom: 20px;
}

.p-brand-story__img-file {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.p-brand-story__text {
  width: 100%;
}

.p-brand-story__text-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* = ポイント1セクション（ブランドストーリー直下・ポイント2・3は別セクション）
---------------------------------------- */
.p-point01 {
  position: relative;
  width: 100%;
  background-color: #fff;
  background-image: url("../img/point01-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.p-point01__inner {
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
  padding: 40px 16px 48px;
  box-sizing: border-box;
}

.p-point01__head {
  width: 100%;
  margin-bottom: 24px;
}

.p-point01__head-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-point01__body {
  width: 100%;
}

.p-point01__img {
  width: 100%;
  margin-bottom: 60px;
}

.p-point01__img:last-child {
  margin-bottom: 0px;
}

.p-point01__img-file {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* = ポイント2セクション（ポイント1直下）
---------------------------------------- */
.p-point02 {
  position: relative;
  width: 100%;
  background-color: #fff;
}

.p-point02__inner {
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
  padding: 40px 16px 48px;
  box-sizing: border-box;
}

.p-point02__head {
  width: 75%;
  margin-bottom: 24px;
}

.p-point02__head-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-point02__body {
  width: 100%;
}

.p-point02__img {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.p-point02__img-file {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.p-point02__text {
  width: 100%;
  margin-bottom: 20px;
}

.p-point02__text:last-child {
  margin-bottom: 0;
}

.p-point02__text-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-point02__sub-title {
    width: 35%;
    margin-top: 60px;
    margin-left: 10px;
    margin-bottom: 40px;
}

/* = 収納の仕方（STEP1〜3・重ねボックス・三角区切り）
---------------------------------------- */
.p-storage {
  margin-top: 48px;
  padding-bottom: 24px;
}

/* STEPヘッダー（ダークグレー + 薄グレー張り出し・影） */
.p-storage__step-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 5px 50px;
  background-color: #3E3A39;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}

/* STEP本文（テキストボックス + 画像ボックス横並び） */
.p-storage__step-body {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 8px;
  border: 1px solid #3E3A39;
  padding: 10px;
}

.p-storage__step-text {
  flex: 1;
  min-width: 0;
}

.p-storage__step-img {
  flex-shrink: 0;
  width: 140px;
}

/* ダミーテキスト・画像（後で差し替え） */
.p-storage__dummy {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #333;
}

.p-storage__dummy-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

/* ステップ間の三角区切り */
.p-storage__separator {
  text-align: center;
  font-size: 32px;
  line-height: 1;
  color: #3E3A39;
  margin: 16px 0;
}

/* = ポイント3セクション（ポイント2直下）
---------------------------------------- */
.p-point03 {
  position: relative;
  width: 100%;
  background-color: #fff;
  background-image: url("../img/point03_bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.p-point03__inner {
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
  padding: 40px 16px 48px;
  box-sizing: border-box;
}

.p-point03__head {
  width: 80%;
  margin-bottom: 40px;
}

.p-point03__head-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-point03__body {
  width: 100%;
}

.p-point03__img {
  width: 100%;
  margin-bottom: 40px;
}

.p-point03__img-file {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.p-point03__text {
  width: 100%;
  margin-bottom: 40px;
}

.p-point03__text:last-child {
  margin-bottom: 0;
}

.p-point03__sub-title {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.p-point03__text-img,
.p-point03__sub-title-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-point03__head-detail {
    width: 35%;
    margin-bottom: 40px;
    margin-left: 10px;
}

/* = Header（モバイルファースト）
---------------------------------------- */
.p-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 100%;
  max-width: var(--sp-width);
  height: 56px;
  padding: 0 16px;
  background-color: transparent;
  box-shadow: none;
  transition: background-color 0.2s ease;
}

/* スクロール中はフッターと同じ背景色 */
.p-header.is-scrolled {
  background-color: #3E3A39;
}

.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ロゴ */
.p-header__logo {
  margin: 0;
  font-size: 0;
  line-height: 0;
}

.p-header__logo-link {
  display: block;
  text-decoration: none;
}

.p-header__logo-img {
  display: block;
  width: auto;
  height: 24px;
  object-fit: contain;
}

/* ハンバーガーボタン */
.p-header__nav-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 -8px 0 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.p-header__hamburger {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
}

.p-header__hamburger-line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.p-header__hamburger-line:nth-child(1) {
  top: 0;
}

.p-header__hamburger-line:nth-child(2) {
  top: 8px;
}

.p-header__hamburger-line:nth-child(3) {
  top: 16px;
}

/* 展開時: ハンバーガー → × */
.p-header.is-nav-open .p-header__hamburger-line:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.p-header.is-nav-open .p-header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.p-header.is-nav-open .p-header__hamburger-line:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* ナビ：右側スライドパネル + オーバーレイ（通常時は非表示・ボタンクリックで表示） */
.p-header__nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s ease;
}

.p-header.is-nav-open .p-header__nav {
  z-index: 99;
  visibility: visible;
  pointer-events: auto;
}

/* オーバーレイ（メニュー外の濃いグレー） */
.p-header__nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.p-header.is-nav-open .p-header__nav-overlay {
  opacity: 1;
}

/* 右側の白パネル */
.p-header__nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.p-header.is-nav-open .p-header__nav-panel {
  transform: translateX(0);
}

/* パネル上部：閉じる×ボタン */
.p-header__nav-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  padding: 16px 16px 12px;
  min-height: 56px;
  box-sizing: border-box;
}

.p-header__nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 -8px 0 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.p-header__nav-close:hover,
.p-header__nav-close:focus {
  color: #000;
  opacity: 0.8;
}

.p-header__nav-close-icon {
  display: block;
  font-weight: 400;
  font-family: sans-serif;
}

/* ナビリスト */
.p-header__nav-body {
  flex: 1;
  padding: 0 0 40px;
}

.p-header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-header__nav-item {
  border-bottom: 1px solid #e5e5e5;
}

.p-header__nav-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.p-header__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.p-header__nav-link:hover,
.p-header__nav-link:focus {
  color: #000;
  background-color: #f9f9f9;
}

.p-header__nav-link-text {
  flex: 1;
  text-align: left;
}

.p-header__nav-arrow {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/* メニュー展開時のbodyスクロール防止 */
body.is-nav-open {
  overflow: hidden;
  height: 100%;
}

