/* ============================================================
   ig.css — Instagram専用Webサイトトップ
   依存：common.css（先に読み込むこと）

   ■ ブランドカラー
     #623ca8 : メインブランドカラー（紫）
     #05a346 : LINE CTAカラー（緑）
     #2e155f : 料金価格（ダークパープル）
     #faf9f7 : ページ背景（ベージュ白）

   ============================================================ */

/* ============================================================
   1. ページ全体
   ============================================================ */

.instagram-top {
  background: #faf9f7;
  color: #333;
}

.ig-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
}

/* ============================================================
   2. FVセクション
   ============================================================ */

.ig-fv {
  position: relative;
  width: 100%;
  min-height: 100svh; /* SP画面1枚に収める */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ig-fv-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ig-fv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 73% center; /* ロゴが写る右寄りに調整 */
}

.ig-fv-overlay {
  position: absolute;
  inset: 0;
  /* 下半分を暗くしてテキストの可読性を確保 */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.55) 70%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.ig-fv-content {
  position: relative;
  z-index: 1;
  padding: 0 24px 40px;
  color: #fff;
  text-align: left;
}

.ig-fv-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.85;
  margin: 0 0 12px;
  line-height: 1.5;
}

.ig-fv-headline {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
}

.ig-fv-sub {
  font-size: 13px;
  opacity: 0.9;
  margin: 0 0 24px;
}

/* ============================================================
   3. CTAボタン共通
   ============================================================ */

.ig-cta-button {
  display: block;
  width: 100%;
  max-width: 360px;
  padding: 16px 20px;
  background-color: #05a346;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  outline: 2px solid #05a346;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  line-height: 1.3;
  transition:
    opacity 0.2s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.ig-cta-button:hover,
.ig-cta-button:active {
  opacity: 0.9;
  transform: scale(0.98);
}

/* FV内CTAボタン：白背景テキスト下に置くため少し調整 */
.ig-fv-content .ig-cta-button {
  max-width: 100%;
}

/* ============================================================
   4. オーナーセクション
   ============================================================ */

.ig-owner {
  padding: 40px 24px 32px;
  background: #fff;
}

.ig-owner-inner {
  text-align: center;
}

.ig-owner-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 16px;
  object-fit: cover;
}

.ig-owner-quote {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 12px;
}

.ig-owner-name {
  font-size: 13px;
  font-weight: 600;
  color: #623ca8;
  margin: 0;
  text-align: right;
}

/* ============================================================
   5. 離脱許容セクション
   ============================================================ */

.ig-fit {
  padding: 24px 24px 0;
  background: #faf9f7;
}

.ig-fit-text {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
  margin: 0 0 12px;
  text-align: center;
}

/* ============================================================
   6. ボトムCTAセクション
   ============================================================ */

.ig-bottom-cta {
  padding: 32px 24px 48px;
  background: #faf9f7;
  text-align: center;
}

.ig-bottom-cta-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 24px;
}

.ig-bottom-cta .ig-cta-button {
  margin: 0 auto;
}

.ig-exit-note {
  font-size: 12px;
  color: #999;
  line-height: 1.7;
  margin: 16px 0 24px;
}

/* ============================================================
   7. サイトトップ補助リンク
   ============================================================ */

.ig-site-link-wrap {
  margin-top: 8px;
}

.ig-site-link {
  display: inline-block;
  font-size: 13px;
  color: #623ca8;
  text-decoration: none;
  border-bottom: 1px solid rgba(98, 60, 168, 0.3);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.ig-site-link:hover {
  opacity: 0.7;
}

/* ============================================================
   8. 料金セクション
   ============================================================ */

.ig-price {
  padding: 28px 24px 24px;
  background: #fff;
  text-align: center;
  border-top: 1px solid #f0ece6;
}

.ig-price-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #623ca8;
  margin: 0 0 8px;
  text-transform: none;
}

.ig-price-value {
  font-size: 36px;
  font-weight: 700;
  color: #2e155f;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.ig-price-unit {
  font-size: 15px;
  font-weight: 500;
  color: #555;
}

.ig-price-note {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   9. モバイル最適化（max-width: 375px）
   ============================================================ */

@media (max-width: 375px) {
  .ig-fv-headline {
    font-size: 22px;
  }

  .ig-cta-button {
    font-size: 15px;
    padding: 14px 16px;
  }
}

/* ============================================================
   10. PC表示（min-width: 481px）
   幅480pxに固定してSP想定レイアウトを維持
   ============================================================ */

@media (min-width: 481px) {
  .ig-wrapper {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.06);
  }

  .ig-fv {
    min-height: 600px;
  }
}
