@charset "utf-8";

li.header_list--mega #menu_bar03 + label::before {
  transform: rotate(135deg) translateY(50%);
  left: 18px;
}
#menu_bar03 + .label_list + .header_list--child {
  max-height: 2200px;
}
#menu_bar03:checked + .label_list + .header_list--child {
  max-height: 0;
  transition: all 0.3s;
}
#menu_bar03:checked + .label_list::before {
  transform: rotate(45deg) translateY(-50%) !important;
  transition: all .3s;
  left: 10px;
}

/* ------------------
pagevisual
------------------ */
.pv_h1 {
  background: url("../img/pv_h1.webp")no-repeat center;
  background-size: cover;
}

.lead_box {
  width: 100%;
  max-width: 960px;
  padding: 60px;
  margin: 0px auto;
  display: flex;
  justify-content: center;
  gap: 24px;
  & p {
    width: 100%;
    max-width: 540px;
  }
}


.contents {
  & article {
    width: 90%;
    max-width: 1024px;
    margin: 0 auto 64px;
    & > h2 {
      background: #fff;
      border: 3px solid #a4afd3;
      color: var(--theme-color);
      margin-bottom: 20px;
      padding: 15px 25px;
      font-size: 2.4rem;
      font-weight: normal;
      & + p {
        margin-bottom: 24px;
      }
    }
    & section {
      margin-bottom: 56px;
    }
  }
}
figure.center, p.center {text-align: center;}

#masuno {
  position: relative;
  top: -96px;
  display: block;
}

#a02 p.center img,
#a03 .figure_flex figure img {
  border: 1px solid #131f40;
}
#a02 p.center img {padding: 32px 24px 0;}

.i_link.indent {
  text-align: right;
  margin-top: 1em;
  a {
    text-decoration: underline;
    &:hover {text-decoration: none;}
  }
}

.figure_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
#a04 .figure_flex {
  margin-bottom: 40px;
}
#a04 .figure_flex.gap32 {gap: 32px;}
#a04 .mb_16 {margin-bottom: 16px;}
.air_ttl {
  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--theme-color);
  padding-left: 0.5em;
  margin-bottom: 24px;
  &::before {
    content: '';
    position: absolute;
    background: var(--theme-color);
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 100%;
  }
}

.price {
  margin-bottom: 0;
  & table {
    width: 80%;
    margin: 30px auto;
    & + p {
      width: 80%;
      margin: 0 auto 80px;
    }
  }
  & tr {
    text-align: center;
  }
  & th {
    background: #eee;
    padding: 15px;
    border: 2px solid #ccc;
    text-align: center;
    font-weight: bold;
  }
  & td {
    padding: 15px;
    border: 2px solid #ccc;
  }
}

/* iPad縦 */
@media screen and (orientation: portrait) and (min-width: 768px){
  
}

@media screen and (max-width: 767px){
  .lead_box {
    width: 90%;
    padding: 30px 0;
    flex-direction: column-reverse;
    align-items: center;
  }

  .contents {
    & article {
      & h2 {
        font-size: 2rem;
        padding: 10px 5%;
      }
      & section {
        margin-bottom: 40px;
      }
    }
  }

  #a04 .figure_flex {margin-bottom: 64px;}
  #a04 .i_link.indent {margin-top: -40px;}

  .price table {
    width: 100%;
    & + p {width: 100%;}
  }
  .price th, .price td {font-size: 1.4rem;}
}