/* ========================================
   #lead セクション共通スタイル
   index.astro と price.astro で共有
   ======================================== */

/* 基本スタイル */
#lead {
  background: #82C2A9;
  margin-top: -12px;
  padding: 40px 45px 45px;
  position: relative;
  color: #000;
}

#lead .wrap {
  padding: 65px 0 60px;
  max-width: 920px;
  margin: 0 auto;
}

#lead h2 {
  text-align: center;
  margin-bottom: 38px;
  z-index: 2;
  position: relative;
  letter-spacing: 0.025em;
}

#lead h2 span {
  border-bottom: 2px solid;
}

#lead .title-price {
  text-align: center;
  margin-bottom: 38px;
  z-index: 2;
  position: relative;
  letter-spacing: 0.025em;
}

#lead .title-price span {
  border-bottom: 2px solid;
}

#lead .title-price.b-none span {
  border: none;
}

/* 装飾フレーム */
#lead .wrap::before {
  width: 1120px;
  background: #FFF;
  box-sizing: border-box;
  border: 14px solid #8C8C8C;
  overflow: hidden;
  border-top: 14px solid #FF463C;
  border-left: 14px solid #FF463C;
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
}

/* 料金バナー */
.lead-banner {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  overflow: hidden;
}

.lead-banner li {
  position: relative;
}

.lead-banner li span {
  display: block;
  position: absolute;
  top: -50px;
  right: -13%;
  z-index: 1;
  max-width: 300px;
  width: 68%;
}

.lead-banner li img {
  width: 100%;
  height: auto;
}

.lead-banner.is-price {
  background: none;
}

.lead-banner.is-price.mt {
  margin-top: 15px;
}

.price-add-1807 {
  border: 2px solid rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  text-align: left;
}

.lead-banner .list-price {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #FFF;
  box-sizing: border-box;
  border: 2px solid #000;
  margin-bottom: 18px;
}

.lead-banner .item {
  width: 50%;
  text-align: center;
  box-sizing: border-box;
  padding: 25px 10px 20px;
  font-weight: bold;
}

.lead-banner .price-old .item {
  padding: 19px 10px 10px;
}

.lead-banner .price-old .item dl dt {
  padding: 5px 0 0;
}

.lead-banner .list-price .item.is-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lead-banner .item:first-child {
  background: #FF463C;
}

.lead-banner .item:first-child .ttl {
  color: #FFF;
}

.lead-banner .list-price .item:first-child .ttl {
  color: #000;
}

.lead-banner .list-price:first-child .item:first-child .ttl {
  color: #FFF;
}

.lead-banner .list-price:first-child .item:first-child .ttl span {
  font-size: 32px;
}

.lead-banner .item .ttl img {
  width: 85px;
  height: auto;
  margin-right: 10px;
}

.lead-banner .list-price .item:first-child .ttl {
  flex-direction: column;
}

.lead-banner .list-price .item .ttl img {
  width: 110px;
  height: auto;
  margin-right: 0;
  margin-bottom: 10px;
}

.lead-banner .item .ttl {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lead-banner .list-price .item .box .time {
  font-weight: bold;
  font-size: 24px;
}

.lead-banner .list-price .item .photo_price img {
  width: 100%;
  height: auto;
}

.lead-banner .list-price .item:first-child {
  background: #D5D5D5;
}

.lead-banner .list-price:first-child .item:first-child {
  background: #f62a2d;
}

.lead-banner .list-price .item .box .text {
  font-weight: bold;
  font-size: 16px;
  line-height: 26px;
  padding: 10px 0 15px;
}

.lead-banner .list-price .item .box .text1 {
  font-weight: bold;
  font-size: 16px;
  line-height: 26px;
  padding-top: 3px;
}

.lead-banner .list-price .item .box .btn1 {
  width: 270px;
  margin: -30px auto -10px;
}

.lead-banner .list-price .item .box .btn1 img {
  width: 100%;
  height: auto;
}

.lead-banner .item .ttl span {
  font-size: 32px;
}

.lead-banner .list-price .item .ttl span {
  font-size: 26px;
}

.lead-banner .item dl dt,
.lead-banner .list-price:first-child .item:first-child dl dt {
  font-size: 54px;
  color: #FFF;
  font-weight: bold;
  line-height: 54px;
  text-shadow: #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px;
  padding: 20px 0 0;
}

.lead-banner .item dl dt span,
.lead-banner .list-price:first-child .item:first-child dl dt span {
  font-size: 84px;
}

.lead-banner .item dl dt b,
.lead-banner .list-price:first-child .item:first-child dl dt b {
  font-size: 70px;
}

.lead-banner .list-price .item dl dt,
.lead-banner .list-price .item dl dt b {
  font-size: 50px;
}

.lead-banner .list-price .item dl dt span {
  font-size: 64px;
}

.lead-banner .item dl dt span.small {
  font-size: 39px;
  position: relative;
  top: -5px;
}

.lead-banner .item dl dt span.small::before {
  font-size: 14px;
  content: "（税込）";
  position: absolute;
  top: -34px;
  left: -50%;
  text-align: center;
  width: 200%;
  color: #000;
  text-shadow: none;
}

/* 注意書き */
#lead .note {
  text-align: left;
  z-index: 2;
  position: relative;
  font-weight: bold;
  padding: 20px 0 0;
  font-size: 16px;
  line-height: 27px;
  display: flex;
  justify-content: center;
}

/* ボタン */
#lead .btn {
  text-align: center;
  z-index: 2;
  position: relative;
  font-weight: bold;
  padding-top: 40px;
  width: 420px;
  margin: auto;
}

#lead .sale {
  padding-top: 45px;
}

#lead .sale.is-sale {
  padding-top: 0px;
}

#lead .sale img,
#lead .btn img {
  width: 100%;
  height: auto;
}

.page-template-tpl-price #lead {
  padding: 40px 45px 45px;
}

/* 装飾（ゼブラ画像） */
.lead-banner .list-price::before {
  background: url(../img/shared/zebra_img2.png) no-repeat center top;
  width: 100%;
  height: 564px;
  background-size: 98% auto;
  position: absolute;
  top: -23%;
  left: 0;
  content: "";
  z-index: 2;
  opacity: 0.55;
  transform: rotate(0.5deg);
}

.lead-banner .list-price:nth-child(1)::before,
.lead-banner .list-price:last-child::before {
  display: none;
}

/* ========================================
   レスポンシブスタイル
   ======================================== */

/* デスクトップ小 (max-width: 1119px) */
@media only screen and (max-width: 1119px) {
  #lead .wrap {
    padding: 65px 3% 60px;
  }
  #lead .wrap::before {
    width: 105%;
  }
}

/* タブレット (max-width: 999px) */
@media only screen and (max-width: 999px) {
  #lead h2 {
    font-size: 25px;
    letter-spacing: 0;
  }
  #lead .title-price {
    font-size: 25px;
    letter-spacing: 0;
  }
  .lead-banner .list-price .item .box .text {
    font-size: 15px;
  }
  .price-add-1807 {
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.8;
  }
}

@media only screen and (max-width: 1040px) {
  .lead-banner .item .ttl span {
    font-size: 2.8vw;
  }
}

/* タブレット小 (max-width: 899px) */
@media only screen and (max-width: 899px) {
  .lead-banner .list-price:first-child .item:first-child .ttl span {
    font-size: 26px;
  }
  .lead-banner .item .ttl span {
    font-size: 2.6vw;
  }
  .lead-banner .item dl dt, .lead-banner .list-price:first-child .item:first-child dl dt {
    font-size: 42px;
  }
  .lead-banner .item dl dt b, .lead-banner .list-price:first-child .item:first-child dl dt b {
    font-size: 58px;
  }
  .lead-banner .item dl dt span, .lead-banner .list-price:first-child .item:first-child dl dt span {
    font-size: 72px;
  }
  #lead .note span {
    display: inline-block;
  }
  #lead .btn {
    width: 360px;
  }
}

/* モバイル (max-width: 767px) */
@media only screen and (max-width: 767px) {
  #lead {
    padding: 55px 3% 45px;
  }
  .page-template-tpl-price #lead {
    padding: 40px 3% 45px;
  }
  #lead .wrap {
    padding: 45px 0px 50px;
    background: #fff;
  }
  .page-id-50 #lead .wrap {
    padding: 45px 10px 50px;
  }
  #lead h2 {
    font-size: 5vw;
    padding: 0 20px;
    line-height: 1.8;
  }
  #lead .title-price {
    font-size: 5vw;
    padding: 0 20px;
    line-height: 40px;
  }
  #lead .wrap::before {
    width: 100%;
    background: transparent;
    box-sizing: border-box;
    border: 10px solid #8C8C8C;
    overflow: hidden;
    border-top: 10px solid #FF463C;
    border-left: 10px solid #FF463C;
    content: '';
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0%;
    transform: none;
    height: 100%;
  }
  .lead-banner .list-price {
    position: relative;
    width: 93%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #FFF;
    box-sizing: border-box;
    border: 2px solid #000;
    margin: 0 3.5% 18px;
  }
  .lead-banner .item {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 25px 8px 20px;
    font-weight: bold;
  }
  .lead-banner li {
    width: 100%;
  }
  .lead-banner li img {
    width: 110%;
    height: auto;
  }
  .lead-banner .price-old .item {
    padding: 19px 8px 10px;
  }
  .lead-banner .list-price:first-child .item:first-child .ttl span {
    font-size: 6vw;
  }
  .lead-banner .item .ttl img {
    width: 80px;
  }
  .lead-banner .list-price .item .ttl img {
    width: 100px;
  }
  .lead-banner .item .ttl {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .lead-banner .list-price .item .box .time {
    font-weight: bold;
    font-size: 20px;
  }
  .lead-banner .list-price .item:first-child {
    background: #D5D5D5;
  }
  .lead-banner .list-price .item .box .text {
    font-weight: bold;
    font-size: 3.5vw;
    line-height: 1.8;
    padding: 10px 0 15px;
  }
  .lead-banner .list-price .item .box .btn1 {
    width: 270px;
  }
  .lead-banner .list-price .item .box .btn1 img {
    width: 100%;
    height: auto;
  }
  .lead-banner .item .ttl span,
  .lead-banner .list-price .item .ttl span {
    font-size: 4.7vw;
  }
  .lead-banner .item dl dt,
  .lead-banner .list-price:first-child .item:first-child dl dt {
    font-size: 38px;
    line-height: 40px;
    margin-bottom: 8px;
  }
  .lead-banner .item dl dt span,
  .lead-banner .list-price:first-child .item:first-child dl dt span {
    font-size: 54px;
  }
  .lead-banner .item dl dt b,
  .lead-banner .list-price:first-child .item:first-child dl dt b {
    font-size: 46px;
  }
  .lead-banner .list-price .item dl dt,
  .lead-banner .list-price .item dl dt b {
    font-size: 40px;
  }
  .lead-banner .list-price .item dl dt span {
    font-size: 48px;
  }
  .lead-banner .item dl dt span.small {
    font-size: 31px;
    position: relative;
    top: -5px;
  }
  .lead-banner .item dl dt span.small::before {
    font-size: 12px;
    content: "（税込）";
    position: absolute;
    top: -28px;
    left: -50%;
    text-align: center;
    width: 200%;
    color: #000;
    text-shadow: none;
  }
  #lead .note {
    padding: 20px 20px 0;
    font-size: 13px;
    line-height: 24px;
  }
  #lead .btn {
    padding-top: 40px;
    width: calc(100% - 80px);
    margin: 0 auto;
  }
  #lead .sale {
    padding-top: 45px;
    margin: 0 20px;
  }
  #lead .sale.is-sale {
    padding-top: 0;
  }
  #lead .sale img,
  #lead .btn img {
    width: 100%;
    height: auto;
  }
  .lead-banner .list-price::before {
    top: 33%;
    background-size: 100% auto;
    transform: rotate(1deg);
  }
  .price-add-1807 {
    font-size: 10px;
  }
}

/* 極小スクリーン (max-width: 374px) */
@media only screen and (max-width: 374px) {
  .lead-banner .item dl dt span, .lead-banner .list-price:first-child .item:first-child dl dt span {
    font-size: 45px;
  }
  .lead-banner .item dl dt, .lead-banner .list-price:first-child .item:first-child dl dt {
    font-size: 30px;
  }
  .lead-banner .item dl dt b, .lead-banner .list-price:first-child .item:first-child dl dt b {
    font-size: 36px;
  }
  .lead-banner .item dl dt span.small {
    font-size: 30px;
    position: relative;
    top: -3px;
  }
  .lead-banner .list-price .item .box .btn1 {
    width: 234px;
  }
}
