/* ============================================================
   CLEANING 喜久屋 — 保管品確認ページ専用 CSS (storage.css)
   ============================================================ */

.storage-page {
  padding-top: var(--space-2xl);
  position: relative;
  z-index: 2;
}

/* ── 導入部（section__lead ＋ アイコン・テキスト横並び） ── */
.storage-lead {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.storage-lead__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.storage-lead__text {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.7;
  letter-spacing: 0.03em;
}

/* ── メインイメージ ────────────────────────────────── */
.storage-main-visual {
  max-width: 1000px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.storage-main-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── フォームセクション（左右2カラム） ────────────────── */
.storage-form-section {
  max-width: 960px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.storage-form-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xl);
}

/* 左カラム */
.storage-form-left {
  width: 42%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.storage-form-left__title {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.storage-form-left__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-sub);
  line-height: 1.6;
  font-weight: 600;
}

.storage-form-left__note {
  font-size: var(--font-size-xs);
  color: var(--color-text-sub);
  line-height: 1.6;
  margin-top: var(--space-sm);
  font-weight: 500;
}

/* 右カラム */
.storage-form-right {
  width: 50%;
  flex-shrink: 0;
}

.storage-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.storage-form__group {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* インプットの共通スタイル */
.storage-form input[type="text"],
.storage-form input[type="tel"],
.storage-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-black);
  border-radius: 4px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-bg-white);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.storage-form input[type="text"]:focus,
.storage-form input[type="tel"]:focus,
.storage-form select:focus {
  border-color: var(--color-line-strong);
}

/* セレクトボックスのラッパー（矢印のカスタマイズ） */
.storage-form__select-wrapper {
  position: relative;
  width: 100%;
}

.storage-form__select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

/* 下向き三角のカスタム表示 */
.storage-form__select-wrapper::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--color-black);
  pointer-events: none;
}

/* 姓名入力用の行 */
.storage-form__name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}

.storage-form__hint {
  font-size: var(--font-size-2xs);
  color: var(--color-text-sub);
  margin-top: 4px;
  font-weight: 500;
}

/* チェックボックスのカスタム化 */
.storage-form__checkbox-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  user-select: none;
  gap: var(--space-3xs);
}

.storage-form__checkbox-label input[type="checkbox"] {
  display: none;
  /* デフォルトは非表示 */
}

.storage-form__checkbox-custom {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-black);
  border-radius: 2px;
  background-color: var(--color-bg-white);
  display: inline-block;
  position: relative;
  margin-right: .5em;
  transition: background-color 0.2s;
}

.storage-form__checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 4.5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid var(--color-black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.storage-form__checkbox-label input[type="checkbox"]:checked+.storage-form__checkbox-custom::after {
  display: block;
}

/* 送信ボタンの装飾 */
.storage-form__submit-container {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}

.storage-submit-btn {
  display: inline-block;
  padding: 1em 4em;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
  border: 1px solid var(--color-black);
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
  outline: none;
}

.storage-submit-btn:hover {
  color: #fff;
  background: #000;
}

/* ── 注意書き（フッターコールアウト） ────────────────── */
.storage-attention-section {
  max-width: 960px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  border-top: 1.5px solid var(--color-black);
  border-bottom: 1.5px solid var(--color-black);
  padding-block: var(--space-lg);
}

.storage-attention-box {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.storage-attention-box__title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3xs);
}

.storage-attention-box__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.storage-attention-box__list li {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-sub);
  position: relative;
}

.storage-attention-box__note {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--color-text-sub);
  line-height: 1.6;
  margin-top: var(--space-3xs);
}


/* ── レスポンシブ対応 (モバイル: 640px以下) ──────────────── */
@media (max-width: 640px) {
  .storage-page {
    padding-top: var(--space-2xl);
  }

  .storage-lead {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .storage-form-columns {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .storage-form-left {
    width: 100%;
    text-align: center;
  }

  .storage-form-right {
    width: 100%;
  }

  .storage-submit-btn {
    font-size: var(--font-size-base);
    width: 100%;
    padding: 12px 24px;
  }

  .storage-attention-box {
    width: 100%;
  }
}