@charset "UTF-8";

.p-plan__anclist {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 0 16px;
  margin: 40px 20px;
}

.p-plan__anclink {
  display: flex;
  padding: 6px 36px 6px 24px;
  border: solid 1px #815124;
  color: #815124;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  align-items: center;
  position: relative;
  justify-content: center;
}

.p-plan__anclink::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: -2px;
  border-top: solid 2px #815124;
  border-right: solid 2px #815124;
  transform: rotate(135deg);
  position: absolute;
  top: 40%;
  right: 20px;
}

.p-plan__headline {
  background: #76471b;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  height: 64px;
  align-items: center;
  padding: 0 50px;
  background-size: auto auto;
  background-color: #9d652f;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 1px, rgb(118, 71, 27) 1px, rgb(118, 71, 27) 6px);
  scroll-margin-top: 78px;
}

.p-plan__caption {
  margin-top: 10px;
}

.p-plan__planlist {
  margin: 40px 0 60px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.p-plan__planchild {
  position: relative;
  padding: 16px 0;
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 1;
  background: #fff;
  border-radius: 20px 20px 0 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 2px, var(--main-color) 4px);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom;
  box-shadow: 3.8px 7.7px 9.7px rgba(0, 0, 0, .06);
}

.p-plan__usepaintsname {
  flex: 1;
}

.p-plan__contentnametag {
  padding: 0 24px;
  font-size: 20px;
  color: #b98d4a;
  font-weight: 700;
  border-bottom: dashed 1px #c4c4c4;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.p-plan__contentnametag span {
  font-size: 16px;
  display: block;
  font-weight: 400;
  color: #382712;
}

.p-plan__statelabel {
  position: absolute;
  display: flex;
  align-items: center;
  /* background: var(--main-color); */
  height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  right: 10px;
  font-weight: 700;
  top: -20px;
}

.p-plan__usepaints {
  padding: 0 24px;
  letter-spacing: .4px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
}

.p-plan__usepaintstag {
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  background: #b98d4a;
  padding: 0 8px;
  align-items: center;
  margin-right: 8px;
  font-size: 14px;
  height: 24px;
}

.p-plan__plandetail {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: #fff9eb;
  margin: 0 24px;
  gap: 100px;
  padding: 8px 16px;
}

.p-plan__plandetailbox {
  width: 100%;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.p-plan__price {
  font-size: 16px;
  font-weight: 700;
}

.p-plan__price span {
  font-size: 36px;
}

.p-plan__expflex {
  display: flex;
  margin: 0 24px;
  margin-top: 16px;
  gap: 40px;
}

.p-plan__exptext {
  flex: 1;
  text-align: justify;
}

.p-plan__expphotobox img {
  width: 160px;
  height: 96px;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-plan #wall,
.p-plan #roof,
.p-plan #cover {
  scroll-margin-top: 78px;
}

.p-plan__priceAnnotation {
  font-size: 14px;
  text-align: right;
  margin-bottom: 8px;
}

.p-plan__stateinner {
  position: relative;
  z-index: 5;
}

.p-plan__statelabel::after {
  position: absolute;
  content: "";
  bottom: -4px;
  left: 37%;
  border: 12px solid transparent;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 16px 19px 0;
  border-color: transparent transparent #f38c1f transparent;
  transform: rotate(254deg)
}

@media screen and (max-width: 920px) {
  .p-plan__anclist {
    flex-direction: column;
    margin: 24px 20px 32px;
  }

  .p-plan__maincontnt {
    margin: 0;
  }

  .p-plan__planlist {
    margin: 24px 20px 40px;
    grid-template-columns: 1fr;
  }

  .p-plan__planchild {
    width: 100%;
    padding-bottom: 16px;
  }

  .p-plan__headline {
    height: auto;
    padding: 0 10px;
    justify-content: center;
  }

  .p-plan__contentnametag {
    padding: 0 16px 12px;
  }

  .p-plan__statelabel {
    display: none;
  }

  .p-plan__usepaints {
    padding: 0 16px;
  }

  .p-plan__plandetail {
    margin: 0 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 0;
  }

  .p-plan__plandetailbox {
    max-width: 100%;
  }

  .p-plan__price {
    text-align: right;
    line-height: 1;
  }

  .p-plan__expflex {
    flex-direction: column-reverse;
    gap: 12px;
    margin: 16px;
  }

  .p-plan__expphotobox img {
    width: 100%;
    height: auto;
  }

  .p-plan #wall,
  .p-plan #roof,
  .p-plan #cover {
    scroll-margin-top: 0;
  }

  .p-plan__priceAnnotation {
    display: none;
  }
}