/* ========================================
   Campaign Parallax Hero
======================================== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.campaign-hero {
  position: relative;
  width: 100%;
  height: clamp(500px, 52vw, 680px);
  overflow: hidden;
  isolation: isolate;
  background: #ffd83d;
}

/* 所有图层共同设置 */
.campaign-layer {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

/* 黄色背景 */
.campaign-bg {
  inset: -8%;
  z-index: 1;
  background-image: url("images/campaign/bg-yellow.jpg");
  background-size: cover;
  background-position: center;
}

/* 中间白色不规则底板 */
.white-shape {
  z-index: 2;
  left: 50%;
  bottom: -2%;
  width: 100%;
  height: auto;
  transform: translateX(-50%);
}

/* 左侧唐桥 */
.bridge-image {
  z-index: 3;
  left: -2%;
  bottom: 7%;
  width: 37%;
  height: auto;
}

/* 右侧建筑 */
.building-image {
  z-index: 3;
  right: -2%;
  bottom: -1%;
  width: 35%;
  height: auto;
}

/* 装饰点 */
.deco-dots {
  z-index: 4;
  top: -15%;
  right: -2%;
  width: 30%;
  height: auto;
}

/* 装饰线条 */
.deco-lines {
  z-index: 4;
  top: 12%;
  left: 2%;
  width: 15%;
  height: auto;
}

/* 蓝色上方小标题 */
.campaign-small-title {
  z-index: 7;
  top: 15%;
  left: 35%;
  width: 42%;
  max-width: 610px;
  height: auto;
  transform: translateX(-50%);
}

/* 中间主标题 */
.campaign-main-title {
  z-index: 8;
  top: 25%;
  left: 50%;
  width: 58%;
  max-width: 850px;
  height: auto;
  transform: translateX(-50%);
}

/* 礼物标签 */
.present-badge {
  z-index: 9;
  top: 18%;
  right: 22%;
  width: 12%;
  max-width: 165px;
  height: auto;
}

/* 底部说明 */
.campaign-bottom-text {
  z-index: 8;
  left: 50%;
  bottom: 1%;
  width: 46%;
  max-width: 450px;
  height: auto;
  transform: translateX(-50%);
}


/* ========================================
   Tablet
======================================== */

@media screen and (max-width: 1024px) {

  .campaign-hero {
    height: clamp(500px, 65vw, 650px);
  }

  .white-shape {
    width: 118%;
    bottom: -1%;
  }

  .bridge-image {
    left: -8%;
    bottom: 0;
    width: 46%;
  }

  .building-image {
    right: -8%;
    bottom: 0;
    width: 43%;
  }

  .campaign-small-title {
    top: 17%;
    left: 36%;
    width: 49%;
  }

  .campaign-main-title {
    top: 26%;
    width: 73%;
  }

  .present-badge {
    top: 17%;
    right: 15%;
    width: 15%;
  }

  .campaign-bottom-text {
    bottom: 1%;
    width: 48%;
  }

  .deco-dots {
    top: -8%;
    right: -7%;
    width: 38%;
  }

  .deco-lines {
    top: 10%;
    left: 1%;
    width: 19%;
  }
}


/* ========================================
   Mobile
======================================== */

@media screen and (max-width: 768px) { 
  .campaign-hero {
    height: clamp(300px, 118vw, 500px);
    min-height: 0;
  }

  .campaign-bg {
    inset: -5%;
    background-position: center top;
  }
 
  .white-shape {
    width: 190%;
    max-width: none;
    left: 50%;
    bottom: -1%;
  }
 
  .bridge-image {
    left: -2%;
    bottom: 12%;
    width: 45%;
  }

  .building-image {
    right: -18%;
    bottom: -5%;
    width: 61%;
  }
 
  .campaign-small-title {
    top: 21%;
    left: 40%;
    width: 68%;
    max-width: none;
  }
 
  .campaign-main-title {
    top: 32%;
    left: 50%;
    width: 94%;
    max-width: none;
  }
 
  .present-badge {
    top: 15%;
    right: 3%;
    width: 24%;
    max-width: 120px;
  }
 
  .campaign-bottom-text {
    left: 50%;
    bottom: 2%;
    width: 72%;
    max-width: none;
  }

  /*
    装饰图层在手机上减小，避免干扰标题
  */
  .deco-dots {
    top: -3%;
    right: -13%;
    width: 55%;
  }

  .deco-lines {
    top: 13%;
    left: -2%;
    width: 25%;
  }
}


/* ========================================
   Small Mobile
======================================== */

@media screen and (max-width: 480px) {

  .campaign-hero {
    height: clamp(400px, 125vw, 400px);
  }

  .white-shape {
    width: 210%;
    bottom: -1%;
  }

  .campaign-small-title {
    top: 28%;
    left: 38%;
    width: 71%;
  }

  .campaign-main-title {
    top: 38%;
    width: 96%;
  }

  .present-badge {
    top: 18%;
    right: 2%;
    width: 25%;
  }

  .bridge-image {
    left: -22%;
    bottom: 15%;
    width: 72%;
  }

  .building-image {
    right: -22%;
    bottom: -5%;
    width: 68%;
  }

  .campaign-bottom-text {
    bottom: 2%;
    width: 78%;
  }

  .deco-dots {
    top: -2%;
    right: -17%;
    width: 62%;
  }

  .deco-lines {
    top: 14%;
    left: -5%;
    width: 28%;
  }
}


/* ========================================
   Very Small Mobile
======================================== */

@media screen and (max-width: 360px) {

  .campaign-hero {
    height: 500px;
  }

  .campaign-small-title {
    top: 13%;
    width: 74%;
  }

  .campaign-main-title {
    top: 27%;
    width: 98%;
  }

  .present-badge {
    top: 9%;
    right: 1%;
    width: 26%;
  }

  .campaign-bottom-text {
    bottom: 8%;
    width: 82%;
  }
}


/* ========================================
   Reduce Motion
======================================== */

@media (prefers-reduced-motion: reduce) {

  .campaign-layer {
    animation: none !important;
    transition: none !important;
  }
}


/* ========================================
   Present Section
======================================== */

.present-section {
  position: relative;
  padding: 0 0 70px;
  background: #9fd7f4;
  overflow: hidden;
}


/* ========================================
   Present Main
======================================== */

.present-main {
  position: relative;
  width: 100%;
  min-height: 610px;
  padding: 35px 20px 150px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}


/* 标题 */
.present-heading {
  position: relative;
  z-index: 3;
  margin-bottom: 45px;
}

.present-heading h2 {
  margin: 0;
  color: #005ca8;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.present-heading p {
  margin: 8px 0 0;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}


/* ========================================
   Ticket Card
======================================== */

.present-ticket-card {
  position: relative;
  z-index: 3;
  width: 340px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: 42px 28px 24px;
  background: #fff;
  border: 2px solid #0071bc;
  border-radius: 14px;
}

.present-ticket-label {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding: 9px 25px;
  background: #0071bc;
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.present-shop-name {
  margin: 0 0 8px;
  color: #111;
  font-size: 15px;
  font-weight: 700;
}

.present-ticket-card h3 {
  margin: 0 0 20px;
  color: #0068b7;
  font-size: 23px;
  font-weight: 700;
}

.present-drink-image {
  width: 100%;
  height: 300px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 11px;
}

.present-ticket-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  text-align: left;
}

.present-ticket-note img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.present-ticket-note p {
  margin: 0;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}


/* ========================================
   Bottom Wave
======================================== */

.present-wave {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);

  width: 100%;
  min-width: 1200px;
  height: auto;

  display: block;
  pointer-events: none;
  user-select: none;
}


/* ========================================
   Campaign Information
======================================== */

.campaign-info-box {
  position: relative;
  z-index: 2;

  width: 1180px;
  max-width: calc(100% - 60px);
  margin: 38px auto 0;
  padding: 34px 45px 40px;

  background: #fff;
  border-radius: 16px;
}

.campaign-info-heading {
  display: flex;
  align-items: center;
  margin-bottom: 38px;
}

.campaign-info-line {
  width: 5px;
  height: 46px;
  margin-right: 12px;
  background: #f5a623;
  flex-shrink: 0;
}

.campaign-info-heading h2 {
  margin: 0;
  color: #111;
  font-size: 20px;
  font-weight: 700;
}

.campaign-info-heading p {
  margin: 5px 0 0;
  color: #111;
  font-size: 10px;
  font-weight: 600;
}


/* 4列卡片 */
.campaign-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.campaign-info-card {
  position: relative;
  min-width: 0;
  min-height: 245px;
  padding: 78px 18px 22px;

  background: #fff;
  border: 1px solid #83bfe5;
  border-radius: 12px;
  text-align: center;

  box-shadow: 0 7px 13px rgba(0, 75, 120, 0.12);
}

.campaign-info-icon {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);

  width: 54px;
  height: 54px;
  padding: 13px;

  background: #0071bc;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.campaign-info-card h3 {
  margin: 0 0 8px;
  color: #0068b7;
  font-size: 17px;
  font-weight: 700;
}

.campaign-info-border {
  width: 42px;
  height: 2px;
  margin: 0 auto 16px;
  background: #f5a623;
}

.campaign-info-card p {
  margin: 0;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8;
}

.campaign-info-card small {
  display: block;
  margin-top: 13px;
  color: #111;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.6;
}


/* ========================================
   Tablet
======================================== */

@media screen and (max-width: 1000px) {

  .campaign-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-info-card {
    min-height: 230px;
  }
}


/* ========================================
   Mobile
======================================== */

@media screen and (max-width: 768px) {

  .present-section {
    padding-bottom: 35px;
  }

  .present-main {
    min-height: 570px;
    padding: 30px 16px 120px;
  }

  .present-heading {
    margin-bottom: 38px;
  }

  .present-heading h2 {
    font-size: 27px;
  }

  .present-heading p {
    font-size: 11px;
  }

  .present-ticket-card {
    width: 100%;
    max-width: 330px;
    padding: 40px 20px 22px;
  }

  .present-ticket-label {
    min-width: 210px;
    padding: 8px 18px;
    font-size: 13px;
  }

  .present-ticket-card h3 {
    font-size: 21px;
  }

  .present-wave {
    width: auto;
    min-width: 850px;
    height: 110px;
    object-fit: cover;
    object-position: center bottom;
  }

  .campaign-info-box {
    max-width: calc(100% - 28px);
    margin-top: 28px;
    padding: 25px 16px 28px;
    border-radius: 13px;
  }

  .campaign-info-heading {
    margin-bottom: 30px;
  }

  .campaign-info-heading h2 {
    font-size: 17px;
  }

  .campaign-info-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .campaign-info-card {
    min-height: 0;
    padding: 78px 18px 24px;
  }

  .campaign-info-card p {
    font-size: 12px;
  }

  .campaign-info-card small {
    font-size: 9px;
  }
}


/* ========================================
   Small Mobile
======================================== */

@media screen and (max-width: 380px) {

  .present-main {
    min-height: 540px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .present-heading h2 {
    font-size: 24px;
  }

  .present-ticket-label {
    min-width: 190px;
    font-size: 12px;
  }

  .present-wave {
    min-width: 760px;
    height: 95px;
  }

  .campaign-info-box {
    max-width: calc(100% - 20px);
    padding-left: 12px;
    padding-right: 12px;
  }
}

  /*-----------------full-background------------*/
.full-background {
  position: fixed;
  left: 0;
  bottom: 0;    
  width: 100%;
  height: 100%;  
  background-image: url('https://oportable.jp/.assets/bg2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}