/* ================================================================ */
/* reset */
/* ================================================================ */
#main {
  & p {
    margin-bottom: 0;
  }
  & .online-lp-txt-center {
    text-align: center;
  }
  & .txt-size-md {
    font-size: 20px;
    font-weight: bold;
  }
  @media screen and (max-width: 767px){
    & .txt-size-md{
      font-size: 16px;
    }
  }
  & .online-lp-mb-16 {
    margin-bottom: 16px;
  }
}

/* ================================================================ */
/* Header */
/* ================================================================ */

.online-lp-header {
  background: #f2f2f2;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  & .link-btn {
    margin: 0;
  }
  &.is-fixed {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 2;
    box-sizing: border-box;
  }
}
.online-lp-header-spacer {
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}
.online-lp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  & .online-lp-flex {
    display: flex;
    gap: 24px;
  }
  & .online-lp-header-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
    & > li {
      text-align: right;
      & > div {
        display: block;
        & .link-btn a {
          width: 200px;
          padding: 10px 14px;
          border-radius: 24px;
        }
      }
    }
    & .online-lp-header-accordion-trigger {
      position: relative;
      display: inline-block;
      padding-right: 1.25em;
      cursor: pointer;
      font-weight: bold;
      color: #0070C0;
      &::after {
        content: "\25BC";
        position: absolute;
        right: 0;
        top: 55%;
        transform: translateY(-50%) rotate(180deg);
        font-size: 0.65em;
        line-height: 1;
        color: #005BAC;
      }
    }
    & li.is-open .online-lp-header-accordion-trigger::after {
      transform: translateY(-50%) rotate(0deg);
    }
  }
}

@media screen and (max-width: 767px){
  .online-lp-header-inner{
    flex-direction: column;
    gap: 16px;
    align-items: center;
      & .online-lp-flex{
        flex-wrap: wrap;
        justify-content: start;
        gap: 8px 24px;
      }

      & .online-lp-header-accordion{
        & > li {
            text-align: center;
            & > div {
              & .link-btn a {
            width: 240px;
          }
        }
      }
    }
  }
}

.online-lp-head {
  margin-bottom: 40px;
  & img {
    margin-bottom: 16px;
    width: 100%;
  }
}
@media screen and (max-width: 767px){
.online-lp-head {
   & img{
      max-width: 100%;
    }
  }
}


/* ================================================================ */
/* title */
/* ================================================================ */
#main {
  & h2 {
    font-size: 32px;
    position: relative;
    padding: 0 0 4px 32px;
    margin-bottom: 24px;
    border-bottom: 3px solid #005BAC;
    &:before {
      content: "";
      position: absolute;
      background-image: url(../icon/online-lp-title.png);
      background-size: contain;
      background-repeat: no-repeat;
      width: 24px;
      height: 24px;
      left: 12px;
      top: calc(50% + 2px);
      transform: translateY(-50%) translateX(-50%);
    }
  }
  @media screen and (max-width: 767px){
    & h2{
      font-size: 24px;
      padding: 0 0 5px 32px;;

      &:before {
         top: 20px;
      }
    }
  }  
  & h3 {
    font-size: 24px;
    color: #005BAC;
    margin-bottom: 16px;
  }
  @media screen and (max-width: 767px){
    & h3{
      font-size: 20px;
    }
  } 
  & .link-btn a {
    border: 2px solid #005BAC;
  }
}

/* ================================================================ */
/* section */
/* ================================================================ */
.online-lp-section {
  margin-bottom: 80px;
  scroll-margin-top: 62px;
}

.online-lp-section:last-child {
  margin-bottom: 0px;
}

.online-lp-box {
  margin-bottom: 40px;
}

/* ================================================================ */
/* flex */
/* ================================================================ */
.online-lp-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ================================================================ */
/* online-lp-list */
/* ================================================================ */
.online-lp-list {
  background: #CEE8FF;
  padding: 16px;
  display: grid;
  gap: 8px;
  padding-left: 32px;
  & li {
    list-style: disc;
    list-style-position: outside;
    line-height: 2;
    font-weight: bold;
    &::marker {
      color: #005BAC;
    }
  }
}

/* ================================================================ */
/* online-lp-circle */
/* ================================================================ */
.online-lp-circle {
  display: flex;
  justify-content: center;
  gap: 40px;
  & li {
    background: #005BAC;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    grid-template-rows: 100px 48px;
    align-items: center;
    text-align: center;
    font-weight: bold;
    & img {
      margin: 0 auto;
      align-self: end;
    }
  }
}

@media screen and (max-width: 767px){
.online-lp-circle{
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; 
  gap: 8px;
    & li {
      width: 90px;
      height: 90px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
    }

    & li:first-child img{
      width: 32px;
    }
    & li:first-child span {
      font-size: 13px;
    }

    & li:nth-child(2) img{
      width: 28px;
    }
    & li:nth-child(2) span {
      font-size: 13px;
      text-align: center;
    }

    & li:last-child img{
      width: 40px;
    }
    & li:last-child span {
      font-size: 14px;
    }
  }
}


.online-lp-movie {
  text-align: center;
  width: calc(100% - 96px);
  margin: 0 auto 40px;

  & .online-lp-movie-text{
    display: none;
  }
}

@media screen and (max-width: 767px){
.online-lp-movie{
     width: 100%;

    & .online-lp-movie-text{
      display: block;
    }
  }
}

.online-lp-box-center {
  display: inline-block;
  position: relative;
  &:before,
  &:after {
    content: "";
    position: absolute;
    top: calc(50% + 4px);
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
  }
  &:before {
    background-image: url(../icon/online-lp-title_center.png);
    left: -16px;
    transform: translateY(-50%) translateX(-50%);
  }
  &:after {
    background-image: url(../icon/online-lp-title_center.png);
    right: -8px;
    transform: translateY(-50%) translateX(50%) scale(-1, 1) rotate(0deg);
  }
}

@media screen and (max-width: 767px){
  .online-lp-box-center{
    &:before{
      left: 0;
      top: 80%;
    }

    &::after{
      right: 0;
      top: 80%;
    }
  }
}
#online-lp-overview {

  .online-lp-flex {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .online-lp-flex img {
    width: 240px;
    flex-shrink: 0;
    max-width: 100%;
    border: 1px solid #707070 !important;
    display: block;
  }

  .online-lp-flex ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 0;
  }

  .online-lp-flex li {
    flex: 0 0 auto;
    display: block;
    white-space: nowrap;
  }

  @media screen and (max-width: 1024px) {
    .online-lp-flex img {
      width: 160px;
    }
  }

  @media screen and (max-width: 767px) {
    .online-lp-flex {
      flex-wrap: wrap;
    }

    .online-lp-flex .link-btn a:after {
      right: 5px;
    }
    .online-lp-flex img {
      width: 100%;
    }

    .online-lp-flex ul {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .online-lp-flex li {
      white-space: normal;
    }

    .online-lp-flex li .link-btn a{
      width: 75%;
      text-align: center;
      padding: 8px;
    }
  }
}


#online-lp-flow {
  & .online-lp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 42px;
  }

  & .online-lp-item {
    position: relative;
    box-shadow: 0px 0px 8px #00000029;
    display: grid;
    gap: 8px;
    grid-template-rows: auto auto 1fr 150px;
    padding-top: 24px;
    border-radius: 16px;

    & p {
      padding: 4px 16px;
    }

    & p:first-child {
      position: absolute;
      left: -8px;
      top: -18px;
      background: #CEE8FF;
      border-radius: 50%;
      width: 64px;
      height: 64px;
      box-sizing: border-box;
      font-weight: bold;
      font-size: 12px;
      padding: 12px;
      text-align: center;
      line-height: 1.2;

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      & span {
        font-size: 24px;
        line-height: 1;
      }
    }

    & img {
      margin: auto auto 16px;
      display: block;
    }

    & > span {
      display: block;
      background: #005BAC;
      color: #fff;
      padding: 8px 16px;
      border-radius: 0 0 16px 16px;
      position: relative;
      z-index: 0;

      line-height: 1.6;
      word-break: break-word;
    }

    & > span::before {
      content: "";
      width: 20px;
      height: 20px;
      position: absolute;
      top: 0;
      left: 50%;
      background: #005BAC;
      border-radius: 4px;
      transform: rotate(45deg) translateX(-50%) skew(calc((90deg - 60deg) / 2), calc((90deg - 60deg) / 2));
      z-index: -1;
    }
  }

  & .online-lp-item:not(:first-child)::before {
    content: "";
    display: block;
    position: absolute;
    left: -40px;
    width: 32px;
    height: 32px;
    background: #004059;
    z-index: 0;
    clip-path: path('M 16,1.5 Q 17.6,1.5 19.2,4.3 L 30.4,25.3 Q 32,28.2 29.6,30.5 L 2.4,30.5 Q 0,28.2 1.6,25.3 L 12.8,4.3 Q 14.4,1.5 16,1.5 Z');
    transform: rotate(90deg) translateY(-50%);
    top: calc(50% - 32px);
  }
}

@media screen and (max-width: 767px) {
  #online-lp-flow {
    & .online-lp-grid {
      grid-template-columns: 1fr;
      gap: 50px;
    }

    & .online-lp-item {
      grid-template-rows: auto;
    }

    & .online-lp-item:not(:first-child)::before {
      left: 40%;
      top: -40px;
      transform: rotate(180deg) translateX(-50%);
    }

    & .online-lp-item:nth-child(3)::before {
      left: 40%;
      top: -40px;
      transform: rotate(180deg) translateX(-50%);
    }
  }
}

/* FAQ accordion */
#online-lp-faq {
  & .online-lp-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
    & li + li {
      margin-top: 16px;
    }
    & div {
      display: none;
      padding: 16px 32px 8px;
    }
    .online-lp-accordion-trigger {
      cursor: pointer;
      padding: 16px 64px;
      background: #CEE8FF;
      border-radius: 8px;
      position: relative;
      &:before {
        content: "";
        background: url(../icon/online-lp-icon-q.png) no-repeat center center;
        background-size: contain;
        width: 32px;
        height: 32px;
        position: absolute;
        left: 24px;
        top: 50%;
        transform: translateY(-50%);
      }
      &::after {
        content: "";
        position: absolute;
        right: 40px;
        top: 50%;
        width: 24px;
        height: 24px;
        transform: translateY(-50%);
        background:
          linear-gradient(#005BAC, #005BAC) center / 24px 2px no-repeat,
          linear-gradient(#005BAC, #005BAC) center / 2px 24px no-repeat;
      }
    }
    @media screen and (max-width: 767px){
      & div {
      padding: 16px 8px 8px;
      }

      .online-lp-accordion-trigger{
        padding: 16px 40px 16px 48px;
          
        &:before {
          left: 8px;
        }
          
        &::after {
          width: 16px;
          height: 16px;
          right: 24px;
        }
      }
    } 
    & li.is-open .online-lp-accordion-trigger::after {
      background: linear-gradient(#005BAC, #005BAC) center / 24px 2px no-repeat;
    }
  }
}
.online-lp-list-normal {
  padding-left: 1.5rem; 
}

.online-lp-list-normal li {
  list-style: disc;
  list-style-position: outside;
  line-height: 2;
}