@charset "UTF-8";

/* =========================================
   基本設定 & 変数 (Theme: Blue Sky / Sakura)
   Based on style copy.css
   ========================================= */
:root {
  --color-primary: #ff85a2; /* 優しい桜ピンク */
  --color-accent: #ffffff; /* アクセント（白） */
  --color-sky: #a0d8ef; /* 爽やかな青空の色 */
  --color-text-base: #444444; /* 基本のテキスト色（濃いグレー） */
  --color-card-bg: rgba(255, 255, 255, 0.9); /* 明るい半透明のカード背景 */
  --color-toc-bg: rgba(240, 248, 255, 0.95); /* 目次の背景（ごく薄い青） */
  --color-toc-border: #87ceeb; /* 目次のボーダー（スカイブルー） */
  --color-warn: #e74c3c;
  --color-sagawa: #006cd9;
  --color-reidaisai: #e60012;
}

html {
  font-size: 110%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: var(--color-sky);
  color: var(--color-text-base);
  line-height: 1.8;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* =========================================
   桜アニメーション
   ========================================= */
#sakura-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

.petal {
  position: absolute;
  background-color: var(--color-primary);
  opacity: 0;
  pointer-events: none;
  width: 15px;
  height: 20px;
  border-radius: 15% 80% 0 80%;
  box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.8);
}

.petal.style-1 {
  animation: fall-continuous-1 linear infinite;
}
.petal.style-2 {
  animation: fall-continuous-2 linear infinite;
  background-color: #ffd1dc;
}
.petal.style-3 {
  animation: fall-continuous-3 linear infinite;
}

@keyframes fall-continuous-1 {
  0% {
    opacity: 0;
    transform: translate3d(0, -10vh, 0) rotate(0deg);
  }
  10% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate3d(10vw, 110vh, 0) rotate(360deg);
  }
}
@keyframes fall-continuous-2 {
  0% {
    opacity: 0;
    transform: translate3d(0, -10vh, 0) rotateX(0deg) rotateZ(0deg);
  }
  10% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate3d(-5vw, 110vh, 0) rotateX(720deg) rotateZ(360deg);
  }
}
@keyframes fall-continuous-3 {
  0% {
    opacity: 0;
    transform: translate3d(0, -10vh, 0) rotate(0deg);
  }
  10% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate3d(25vw, 110vh, 0) rotate(90deg);
  }
}

/* =========================================
   ヘッダー・ヒーローセクション
   ========================================= */
.header-hero {
  text-align: center;
  padding: 3vh 20px 2vh;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-sky) 80%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  min-height: 15vh; /* Updated from 65vh for Guide page */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-hero h1 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(3rem, 10vw, 8rem);
  color: var(--color-primary);
  text-shadow: 0 2px 5px rgba(255, 133, 162, 0.3);
  margin: 0 0 1rem;
  letter-spacing: 3px;
  line-height: 1.1;
  width: 100%;
}

/* 佐川ロゴ風カラー設定 */
.header-hero h1 .text-sagawa {
  color: var(--color-sagawa);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.header-hero h2 {
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: #666;
  font-weight: 300;
  margin: 0;
  text-shadow: none;
}

/* =========================================
   メインレイアウト & 共通スタイル
   ========================================= */
.container {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 20px;
}

/* 強調テキスト */
.text-important {
  color: #ff4757;
  font-weight: bold;
  line-height: 1.8;
}

.text-red-bold {
  color: #d32f2f;
  font-weight: bold;
}

.text-sub {
  font-size: 0.9em;
  color: #666;
}

.text-center {
  text-align: center;
}

/* =========================================
   ステップ・アラート
   ========================================= */
.critical-alert {
  background: #fff0f0;
  border: 3px solid #ff4444;
  color: #d32f2f;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.1);
  animation: pulse-border 2s infinite;
}

.critical-alert h2 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-weight: 900;
  color: #d32f2f;
  border-bottom: 2px dashed #ff4444;
  display: inline-block;
  padding-bottom: 5px;
}

.critical-alert .highlight-red-bg {
  font-size: 1.5em;
  background: #fffde7;
  padding: 0 5px;
  color: #d32f2f;
}

@keyframes pulse-border-blue {
  0% {
    box-shadow: 0 0 5px rgba(0, 85, 170, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 85, 170, 0.3);
  }
  100% {
    box-shadow: 0 0 5px rgba(0, 85, 170, 0.2);
  }
}

.step-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 85, 170, 0.3);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #444;
}

.step-number {
  font-family: "Shippori Mincho", serif;
  font-size: 4rem;
  color: rgba(0, 85, 170, 0.1);
  position: absolute;
  top: -10px;
  right: 10px;
  font-weight: bold;
  pointer-events: none;
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0055aa;
}

.step-badge {
  background: #0055aa;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 85, 170, 0.3);
}

.step-badge-red {
  background: var(--color-reidaisai);
}

.step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* 特定のステップ用調整 */
.step-card-alert {
  border: 2px solid #ff4757;
  background: #fff5f5;
  margin-top: 20px;
  box-shadow: none;
}

.step-card-alert h5 {
  color: #ff6b81;
  margin-top: 0;
  font-weight: bold;
  font-size: 1.1em;
}
.step-card-alert p {
  font-size: 1.1em;
  color: #262626;
}

.highlight-date {
  color: #0055aa;
  background: #e0f0ff;
  font-weight: bold;
  font-size: 1.2em;
  padding: 2px 5px;
  border-radius: 3px;
}

/* =========================================
   梱包・支払いガイド
   ========================================= */
.packing-guide {
  background: #f0f8ff;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
  text-align: center;
  border: 1px solid rgba(0, 85, 170, 0.2);
}

.payment-guide {
  text-align: center;
  border: 2px solid #ff4757;
  background: #fff0f0;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.payment-guide h5 {
  color: #ff6b81;
  margin: 0 0 10px 0;
  font-weight: bold;
}

/* =========================================
   配送・住所ボックス
   ========================================= */
.address-box {
  background: #f0f8ff;
  color: #333;
  padding: 20px;
  border-radius: 8px;
  margin: 15px 0;
  font-family: sans-serif;
  position: relative;
  border: 2px dashed #0055aa;
}

.address-box strong {
  font-size: 1.1em;
  color: #0055aa;
}

/* =========================================
   返却カード
   ========================================= */
.return-card {
  background: #fff;
  border: 3px solid #0055aa;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  color: #333;
  box-shadow: 0 5px 20px rgba(0, 85, 170, 0.15);
}

.return-header {
  text-align: center;
  border-bottom: 2px dashed #0055aa;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.return-header h3 {
  color: #0055aa;
  font-size: 1.6em;
  margin: 0;
}

.return-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.return-option {
  flex: 1;
  min-width: 280px;
  background: #e0f0ff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(0, 85, 170, 0.2);
}

.return-option h4 {
  color: #003366;
  margin-top: 0;
  border-left: 5px solid #0055aa;
  padding-left: 10px;
}

/* =========================================
   ボタン
   ========================================= */
.btn-external {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 30px;
  background-color: #0055aa;
  color: #fff;
  border-radius: 50px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid #0055aa;
  box-shadow: 0 4px 10px rgba(0, 85, 170, 0.2);
}

.btn-external:hover {
  background-color: #fff;
  color: #0055aa;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 85, 170, 0.3);
}

.btn-external-outline {
  background-color: transparent;
  color: #0055aa;
  border: 2px solid #0055aa;
}

.btn-external-outline:hover {
  background-color: #0055aa;
  color: #fff;
}

.btn-back {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 40px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #0055aa;
  color: #0055aa;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-back:hover {
  background: #0055aa;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 85, 170, 0.3);
}

/* =========================================
   フッター
   ========================================= */
footer {
  text-align: center;
  padding: 30px;
  color: #666;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 50px;
  background-color: rgba(255, 255, 255, 0.5);
}

.copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-contact {
  margin-bottom: 20px;
}
.contact-label {
  margin-bottom: 5px;
  font-weight: bold;
}
.contact-val {
  margin: 0;
}
.contact-link {
  color: #c71585;
  text-decoration: underline;
}

/* --- 前略 --- */

/* =========================================
   レスポンシブ (Mobile)
   ========================================= */
@media screen and (max-width: 768px) {
  html {
    font-size: 90%; /* 少しだけ全体を小さくして収まりを良くする */
  }

  .header-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem); /* ヘッダータイトルの折り返し抑制 */
    letter-spacing: 1px;
  }

  .step-header {
    flex-wrap: nowrap; /* バッジとタイトルを強制的に一行に */
    align-items: center;
  }

  .step-badge {
    font-size: 0.9em;
    padding: 4px 10px;
    margin-right: 10px;
    white-space: nowrap; /* バッジ内の改行禁止 */
  }

  .step-title {
    font-size: 1.1em;
    line-height: 1.3;
  }

  /* 日時指定の折り返し対策 */
  .highlight-date {
    font-size: 1.1em;
    white-space: nowrap; /* 日時を途中で改行させない */
    display: inline-block;
    margin: 2px 0;
  }

  .return-options {
    flex-direction: column;
    gap: 15px;
  }

  .return-option {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .btn-back {
    width: 80%;
    padding: 12px 0;
  }

  #sakura-bg {
    display: none;
  }
}
