/* =============================================================
  contact1 / 2step 리드폼 / summer2026 이벤트 스타일
  --------------------------------------------------------------
  관련 파일 : event/260721_summer2026.php
              contact/summer2026._contact.php
  작성자    : jh.roh
  작성일    : 2026-07-21
  수정일    : 미디어쿼리 그룹 정리 (base / min-width / max-width)
============================================================= */


/* =============================================================
  START - 공통
============================================================= */
ul, li {
  list-style: none;
}
strong {
  font-weight: 700;
}
picture {
  display: flex;
}

.balloon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-block;
  text-indent: -999999em;
  overflow: hidden;
  z-index: 0;
  transform: translate(-50%, -50%);

  &._rotate {
    background: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/visual_balloon_three_rotate.png') no-repeat center / cover;
  }
  &._blur {
    background: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/visual_balloon_three_blur.png') no-repeat center / cover;
  }
  &._plus {
    background: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/visual_balloon_plus.png') no-repeat center / cover;
  }
  &._3 {
    background: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/visual_balloon_three.png') no-repeat center / cover;
  }
}

.branch_name {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color : #EDFAFF;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 26px;

  li {
    opacity: 0.3;
    letter-spacing: -2%;
    transition : opacity 0.5s;
  }
}

._show_1 {
  li:first-child {
    opacity: 1;
  }
}
._show_2 {
  .branch_name li:nth-child(2) {
    opacity: 1;
  }
  & .sec_header .header_bg li:nth-child(2) {
    opacity: 1;
  }
}
._show_3 {
  .branch_name li:last-child {
    opacity: 1;
  }
  & .sec_header .header_bg li:last-child {
    opacity: 1;
  }
}

.interection_wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.bg_line_text {
  position: relative;
  display: inline-block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -2%;
  padding: 0 8px;
  line-height: 26px;
  /* margin-top: 10px; */
  transform : translate(0);

  &::after {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background-color: #F6FF49;
    transition: width 0.3s 0.3s;
    z-index: -1;
  }
}

.summer2026.__ani,
.sec_header.__ani {

  .balloon {
    --move_Y: 10px;
    animation: updownBalloon 2.5s ease-in-out alternate infinite;
    animation-delay: 1s;
  }
  ._blur {
    animation-delay: 2s;
  }
  ._plus {
    animation-delay: 1.2s;
  }
  ._3 {
    animation-delay: 0.7s;
  }

}

@media screen and (max-width : 960px) {

  .bg_line_text {
    font-size: 18px;
    padding : 0 13px;
    line-height: 22px;
  }

  body:has(.summer2026._contact) .quick_link_new,
  body:has(.summer2026._contact) .floating-container-fastfive {
    display: none !important; /* 마케팅 요청 */
  }

}
/* =============================================================
  END - 공통
============================================================= */

/* =============================================================
  START - summer2026._contact
============================================================= */
.summer2026._contact {
  --color-primary: #000;
  --submit-bg: #000;
  --wpforms-label-error-color: #FF5B5B;
  --form-point: #FF5B5B;
  position: relative;
  height: 826px;
  background: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/contact_bg.jpg') no-repeat center / cover;
  display: flex;
  justify-content: center;
  animation : none;

  .content_wrap {
    position: relative;
    z-index: 1;
    max-width: 1186px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
  }

  .step_leadform {
    max-width: 446px;
  }

  .title {
    max-width: 484px;
    margin-bottom: 10px;
  }


  .branch_name {
    display: none;
  }

  .balloon {
    z-index: 3;

    &._rotate {
      margin-left: -780px;
      margin-top: -150px;
      width: 110px;
      height: 114px;
      transition-delay: 1s;
    } /* // ._rotate */

    &._blur {
      margin-left: 20px;
      margin-top: -350px;
      width: 92px;
      height: 104px;
      background-image: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/contact_visual_balloon_three_blur.png');
      transition-delay: 1.2s;
    } /* // ._blur */

    &._plus {
      margin-left: -570px;
      margin-top: 110px;
      width: 120px;
      height: 152px;
      transition-delay: 1.1s;
    } /* // ._plus */

    &._3 {
      margin-left: 40px;
      margin-top: 290px;
      width: 390px;
      height: 512px;
      transition-delay: 0.9s;
    } /* // ._3 */
  }

  &._show_1 {
    ._gangnam {
      transform: translate(-50%, var(--basic_Y));
      opacity: 1;
    }
  }
  &._show_2 {
    ._euljiro {
      transform: translate(-50%, 0);
      opacity: 1;
    }
  }
  &._show_3 {
    ._samseong {
      transform: translate(-50%, 0);
      opacity: 1;
    }
  }

  &.__ani {
    .title {
      transform: scale(1);
    }
  }

} /* //.contact */


@media screen and (min-width: 961px) {
  .summer2026._contact {
    &[data-step="1"] {
      padding-top: 121px;

      .step_leadform {
        margin-top: 44px;
      }
    }

    &[data-step="2"] {
      padding-top: 53px;

      .title {
        margin-top: 68px;
      }
    }

  .tip {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -2%;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.69);
    z-index: 2;
    line-height: 1.15;

    &._left {
      margin-left: -590px;
      margin-top: 285px;
    }

    &._right {
      margin-left: -180px;
      margin-top: 55px;
    }
  }


    .building_wrap {
      position: relative;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;

      li {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 40px);
        opacity: 0;
        bottom: 0;
        width: 100%;
        display: flex;
        transition: transform 1s ease-in-out, opacity 1s ease-in-out;
      }

      ._gangnam {
        --basic_Y: -6px;
        max-width: 396px;
        aspect-ratio: 396 / 527;
        margin-left: -312px;
        bottom: var(--basic_Y);
      }

      ._euljiro {
        max-width: 740px;
        aspect-ratio: 740 / 550;
        margin-left: -173px;
      }

      ._samseong {
        max-width: 1122px;
        aspect-ratio: 1122 / 490;
        margin-left: -160px;
      }
    }
  }
} /* (min-width: 961px) */

@media screen and (max-width: 960px) {
  
  .tip,
  .building_wrap {
    display: none;
  }
  .summer2026._contact {
    height: auto;
    padding: 60px 20px 23px;
    background-size : 100% auto;
    background-position : center 0;

    header {
      text-align: center;
    }
    .title {
      max-width : 336px;
    }
    .content_wrap {
      flex-direction: column;
      align-items: center;
      gap : 150px;
    }

    .branch_name {
      display: flex;
    }
    .balloon {
      --move_Y : 5px;
      --basic_Y : 0px;
      top : 0;
      animation-delay : 0s !important;

      &._rotate {
        display: none;
      }

      &._blur {
        margin-left: 90px;
        margin-top: -20px;
        width: 70px;
        height: 70px;
        animation-duration: 2s;
        background-image: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/visual_balloon_three_blur_mo.png');
      }

      &._plus {
        margin-left: -120px;
        margin-top: 320px;
        width: 58px;
        height: 72px;
        animation-duration: 1.8;
      }

      &._3 {
        margin-left: 120px;
        margin-top: 340px;
        width: 144px;
        height: 144px;
        background-image: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/visual_balloon_three_mo.png');
      }
    }
  }
  .summer2026._contact._show_1 {
    background: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/contact_visual_gangnam_mo.jpg') no-repeat center -20px / auto 1214px;
    animation: bgSlideUp1 0.8s ease-out forwards;

  }
  .summer2026._contact._show_2 {
     background: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/contact_visual_euljiro_mo.jpg') no-repeat center -20px / auto 1214px;
     animation: bgSlideUp2 0.8s ease-out forwards;
  }
  .summer2026._contact._show_3 {
     background: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/contact_visual_samseong_mo.jpg?v=1.2') no-repeat center -20px / auto 1214px;
     animation: bgSlideUp3 0.8s ease-out forwards;
  }

  .summer2026._contact.__ani {
    .balloon {
      --move_Y: 7px;
    }
  }
} /* (max-width: 960px) */

/* =============================================================
  END - summer2026._contact
============================================================= */



/* =============================================================
  START - summer2026
============================================================= */
.summer2026 {
  --title-h2: 40px;
  --text-p1: 24px;
  --text-p2: 20px;
  --text-p3: 18px;
  --text-p4: 16px;
  --c_primary: #89E0FF;
  --global-font-color: #000;

  & h1, & h2, & h3, & h4, & h5, & h6 {
    color: var(--global-font-color);
  }
  & ._white :where(h1, h2, h3, h4, h5, h6, p) {
    color: #fff;
  }
  & .c_primary {
    color: var(--c_primary);
  }
  & .title_h2 {
    font-size: var(--title-h2);
    font-weight: 700;
    letter-spacing: -0.0625rem;
  }
  & .title_h2 + p:not(.title_p) {
    margin-top: 36px;
  }
  & .title_p {
    margin-top: 12px;
    font-size: var(--text-p1);
    font-weight: 400;
    color: rgba(68, 68, 68, 0.9);
    line-height: 1.4;
  }
  & .motion_up {
    --md: 0s;
    opacity: 0;
    transform: translateY(30px);
  }
  & .__ani .motion_up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease var(--md), transform 0.7s ease var(--md);
  }

  & .container {
    --max-width: 1380px;
    --padding_x: 50px;
    --padding_y: 180px;
    width: 100%;
    max-width: var(--max-width);
    padding: var(--padding_y) var(--padding_x);
    margin: 0 auto;
  }

  & .chat {
    position: relative;
    width: max-content;
    height: 35px;
    padding: 0 14px;
    margin-bottom: 20px;
    font-size: var(--text-p4);
    color: var(--chat_color, #fff);
    line-height: 1;
    font-weight: 500;
    border-radius: 30px;
    background-color: var(--chat_bg, #000);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(0);
    animation: updown 2s infinite;
    animation-delay: 1s;

    &::after {
      position: absolute;
      left: 50%;
      bottom: -7px;
      width: 10px;
      height: 8px;
      mask: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/icon_tail.svg') no-repeat center / 10px;
      background: var(--chat_bg, #000);
      display: inline-block;
      transform: translateX(-50%);
      content: "";
    }
  }
  & .__ani .chat {
    opacity: 1;
    transform: translateY(0);
  }

  &:not(._contact) .branch_name {
    position: absolute;
    left : 50%;
    transform : translateX(-50%);
    top : 60px;
    max-width : 1320px;
    padding : 0 20px;
    width : 100%;

    li {
      font-size: 20px;
    }
  }

  /* START : sec_header */
  & .sec_header {
    position: relative;
    height: 914px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 348px;
    overflow: hidden;

    & .header_bg {
      position: absolute;
      top : 0;
      left : 0;
      width : 100%;
      height : 100%;
      z-index: 0;

      li {
        position: absolute;
        left : 50%;
        top : 0;
        transform: translateX(-50%);
        height : 914px;
        opacity: 0;
        transition : opacity 0.5s;

        &:first-child {
          opacity: 1;
        }
      }
      img {
        max-width : initial;
        height: 914px;
      }
    }
  
    & .title {
      max-width: 598px;
      width: 100%;
      margin-bottom: 24px;
    }
    .branch_name {
      z-index: 2;
    }
    .zindex {
      transform : translate(0);
      z-index: 2;
    }

    .dimmed {
      z-index: 1;
      position: absolute;
      left: 0; top: 0; right: 0; bottom: 0;
      background-color: rgba(0,0,0, 0.2);
    }

    ._blur {
      width : 108px;
      height : 134px;
      margin-left: 390px;
      margin-top: -280px;
    }

    ._plus {
      width : 194px;
      height : 246px;
      margin-left: -530px;
      margin-top: -80px;
    }
    ._3 {
      width : 536px;
      height : 704px;
      margin-left : 460px;
      margin-top : 240px;
    }
  }
  /* END : sec_header */

  /* START : sec_story */
  & .sec_story {
    background :url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/story_bg.jpg') no-repeat center / cover;

    .slot_wrap {
      --slot_height : 60px;
      --slot_width : 238px;
      display: flex;
      gap : 10px;
      height: var(--slot_height);
      overflow: hidden;

      .slot_text {
        width : var(--slot_width);
        display: flex;
        flex-direction: column;
        transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);


        span {
          position: relative;
          width : var(--slot_width);
          height : var(--slot_height);
          flex-shrink: 0;

          &::after {
            position: absolute;
            bottom : 7px;
            left : 0;
            width : 0;
            height : 8px;
            background : #F6FF49;
            mix-blend-mode: darken;
            content : "";
          }
        }

        &._show_1 { transform: translateY(0); }
        &._show_2 { transform: translateY(calc(var(--slot_height) * -1)); }
        &._show_3 { transform: translateY(calc(var(--slot_height) * -2)); }
        &._show_4 { transform: translateY(calc(var(--slot_height) * -3)); }

        &._show_1 span:nth-child(1)::after,
        &._show_2 span:nth-child(2)::after,
        &._show_3 span:nth-child(3)::after,
        &._show_4 span:nth-child(4)::after {
          animation: slotUnderline 0.6s 0.6s ease forwards;
        }
      }
    }
    & p {
      font-size: var(--text-p2);
      color: rgba(0,0,0, 0.9);
    }
    & .mgt {
      margin-top: 20px;
    }
  }
  /* END : sec_story */

  /* START : sec_scheme */
  & .sec_scheme {
    background : #000;
    --chat_color : #000;
    --chat_bg : #fff;
    
    & .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    
    & .benefit_box {
      position: relative;
      display: flex;
      gap : 68px;
      margin-top: 60px;
      justify-content: center;
      width : 100%;
      
      & > div {
        position: relative;
        background : #fff;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width : 320px;
        width : 100%;
      }

      & .bedge {
        position: absolute;
        left : -36px;
        top : -24px;
        width : 80px;
        height : 80px;
        line-height: 1.2;
        font-size: 18px;
        font-weight: 700;
        background : #F6FF49;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        
      }

      & .label {
        height : 48px;
        width : 100%;
        margin-bottom: 36px;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        border-radius: 8px 8px 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background : var(--benefit_title_bg, #3770FF);

      }

      &::after,
      &::before {
        content : "";
        position: absolute;
        left : 50%;
        top : 50%;
        transform : translate(-50%, -50%);
      }
      &::after {
        background : #fff;
        border-radius: 50%;
        width : 36px;
        height : 36px;
        z-index: 2;
      }
      &::before {
        content : "+";
        font-weight: 800;
        color: #000;
        font-size: 30px;
        z-index: 3;
        line-height: 1;
        margin-top: -2px;
      }

      .benefit_02 { 
        --benefit_title_bg : #00BBFF;
      }

      img {
        max-width : 168px;
      }
      p {
        color : #000;
        margin-top: 10px;
        padding-bottom: 36px;
        font-size: 18px;
      }
    }
  }
  /* END : sec_scheme */

  /* START : sec_office */
  & .sec_office {
    background-color: #F5F5F5;
    text-align: center;

    & .btn_group {
      margin-top: 60px;
    }

    & .office_nav {
      margin: 60px 0;
      display: flex;
      justify-content: center;
      gap: 10px;

      & a {
        width: 170px;
        height: 60px;
        color: #78818C;
        font-size: 20px;
        font-weight: 500;
        border-radius: 8px;
        background-color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;

        &._active {
          color: #fff;
          background-color: #000;
          font-weight: 700;
        }
      }
    } /* // .office_nav */

    & .office_list {
      & ul {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(305px, auto));
        gap: 40px 20px;
      }
      & li {
        position: relative;
        overflow: hidden;
        background-color: #fff;
        display: flex;
        flex-direction: column-reverse;
        border-radius: 10px;
      }
      & .office_info {
        padding: 18px 26px;
        gap: 2px;
        display: flex;
        flex-direction: column;
        align-items: center;

        & .name {
          font-size: 40px;
          font-weight: 700;
          line-height: 1.4;
          letter-spacing: -1px;
        }
        & .distance {
          font-size: 18px;
          line-height: 1.7;
          color: #777;
        }
      }
      & .img_area {
        height: 259px;

        & img {
          overflow: hidden;
          object-fit: cover;
          width: 100%;
          height: 100%;
        }
      }
    } /* // .office_list */
  }
  /* END : sec_office */

  /* START : sec_callout */
  & .sec_callout {
    background: url('/wp-content/themes/fastfive/assets/event/260721_summer2026/img/callout_bg.jpg') no-repeat center / cover;
    & .container {
      --padding_y: 100px;
      text-align: center;
    }
    & .chat {
      --chat_bg: var(--c_primary);
      --chat_color: #000;
    }
    & .title_h2 {
      display: flex;
      justify-content: center;
    }
  }
  /* END : sec_callout */

}
@media screen and (max-width: 960px) {
  .summer2026 {
    --title-h2: 34px;
    --text-p1: 22px;
    --text-p2: 18px;
    --text-p3: 16px;
    --text-p4: 14px;

    .title_h2 + p:not(.title_p) {
      margin-top: 30px;
    }
    .title_p {
      margin-top: 8px;
    }
    .container {
      --max-width: 370px;
      --padding_x: 20px;
      --padding_y: 130px;
    }

    .chat {
      height: 34px;
      padding: 0 12px;
    }

    .sec_header {
      height: 668px;
      padding-top: 100px;
      justify-content: flex-start;

      .header_bg {
        li, img {
          height : auto;
          min-height : 668px;
          max-width : 100%;
          width : 100%;
        }

        li {
          display: flex;
          align-items: flex-end;
          top : auto;
          bottom : 0;
        }
      }
      .title {
        max-width: 336px;
        margin-bottom: 10px;
      }

      .branch_name { 
        display: flex;
        max-width : 336px;
        padding : 0;

        li {
          font-size: 14px;
        }
      }

      ._blur {
        width : 40px;
        height : 50px;
        margin-left: 140px;
        margin-top: 30px;
      }
      ._3 {
        width : 192px;
        height : 192px;
        margin-left: 90px;
        margin-top: 210px;
        background-image : url(/wp-content/themes/fastfive/assets/event/260721_summer2026/img/visual_balloon_three_mo.png);
      }
      ._plus {
        width : 74px;
        height : 94px;
        margin-left: -140px;
        margin-top: 40px;
      }
    }

    .sec_story {
      .slot_wrap {
      --slot_height : 40px;
      --slot_width : 158px;
      line-height: var(--slot_height);
      }
      .slot_text {
        width : 158px;
      }
    }
    
    .sec_scheme {
      background : #0A1121;
      & .benefit_box{
        flex-direction: column;
        margin-top: 40px;
        gap : 40px;
        &::before {
          font-size: 21px;
          margin-top: -1px;
        }
        &::after {
          width : 24px;
          height : 24px;
        }
        & > div {
          max-width : 336px;
        }
        & .label {
          margin-bottom: 26px;
        }
        & .bedge {
          left: -16px;
          top: -44px;
        }
        img {
          max-width: 266px;
        }

        p {
          font-size: 16px;
          padding-bottom: 26px;
          margin-top: 8px;
        }

      }
    }

    .sec_office {
      .container {
        --max-width: 100%;
        --padding_x: 0;
      }
      .office_nav {
        margin: 40px 0 0;
        gap: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        li:has([data-region=""]) {
          display: none;
        }
        a {
          width: 100%;
          height: 52px;
          color: #777;
          font-size: 16px;
          font-weight: 700;
          background-color: #fff;
          border-radius: 0;
          border-left: none;
        }
      }
      .office_list {
        ul {
          grid-template-columns: none;
          gap: 0;
        }
        li {
          border-radius: 0;
          border-top: 1px solid #EAEAEA;
          flex-direction: row-reverse;
          justify-content: flex-end;
        }
        .office_info {
          padding: 22px 0 0 25px;
          align-items: flex-start;
          gap: 0;

          .name {
            font-size: 28px;
            margin-top: 8px;
          }
          .distance {
            font-size: 16px;
          }
        }
        .img_area {
          display: flex;
          width: 33.3%;
          height: 134px;
        }
      }
    }

    .sec_callout {
      background-position : 40% 0%;
      background-attachment : fixed;
    }



  }
} /* (max-width: 960px) */
/* =============================================================
  END - summer2026
============================================================= */





/* =============================================================
  START - 애니메이션
============================================================= */
@keyframes updown {
  0% { transform: translateY(0); }
  10% { transform: translateY(-3px); }
  20% { transform: translateY(0px); }
  30% { transform: translateY(-3px); }
  40% { transform: translateY(0px); }
  100% { transform: translateY(0px); }
}

@keyframes updownBalloon {
  0% {
    transform: translate(-50%, var(--basic_Y, -50%));
  }
  50% {
    transform: translate(-50%, calc(var(--basic_Y, -50%) + var(--move_Y)));
  }
  100% {
    transform: translate(-50%, var(--basic_Y, -50%));
  }
}


@keyframes bgSlideUp1 {
  from {
    background-position: center 0;
  }
  to {
    background-position: center -20px;
  }
}

@keyframes bgSlideUp2 {
  from {
    background-position: center 0;
  }
  to {
    background-position: center -20px;
  }
}

@keyframes bgSlideUp3 {
  from {
    background-position: center 0;
  }
  to {
    background-position: center -20px;
  }
}

@keyframes slotUnderline {
  from { width: 0; }
  to { width: var(--slot_width); }
}

/* =============================================================
  END - 애니메이션
============================================================= */