@charset "utf-8";
/* CSS Document */

.contents {
 width: min(90%, 154.4rem);
 margin: 0 auto;
 text-align: left;
 font-feature-settings: "palt" 1;
 -webkit-text-size-adjust: 100%;
}

.plan-title {
 text-align: center;
 margin-bottom: 6rem;
}

.plan-title h3 {
 max-width: 100%;
 width: 600px;
 height: 80px;
 border-radius: 10px 10px 0 0;
 color: #FFF;
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 2.8rem;
 font-weight: 700;
 margin: 0 auto;
}

/* スタンダートプラン */
#standart .plan-title {
 border-bottom: 2.0rem solid #f7002a;
}

#standart .plan-title h3 {
 background-color: #f7002a;
}

/* ライトプラン */
#light .plan-title {
 border-bottom: 2.0rem solid #00b350;
}

#light .plan-title h3 {
 background-color: #00b350;
}

@media screen and (max-width: 768px) {
 .plan-title {
  margin-bottom: 3rem;
 }

 .plan-title h3 {
  width: 300px;
  height: 60px;
  font-size: 2.4rem;
 }
}

.works-item {
 width: 100%;
 border-radius: 1rem;
 padding: 5rem;
 margin: 0 auto;
 background-color: #ffeca6;
}

@media screen and (max-width: 768px) {
 .works-item {
  padding: 2rem;
 }
}

.item-flex {
 display: flex;
 width: 100%;
 max-width: 1230px;
 gap: 10rem;
 margin: 0 auto;
 justify-content: space-between;
}

.item-img {
 display: flex;
 justify-content: space-between;
 gap: 4rem;
 width: 100%;
 width: calc(720 / 1230 * 100%);
}

.item-text {
 width: calc(570 / 1230 * 100%);
}

@media screen and (max-width: 768px) {
 .item-img {
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin-bottom: 4.0rem;
 }

 .item-text {
  width: 100%;
 }

}


.item-category {
 border-left: solid 1.0rem #ff820c;
 padding-left: 2.0rem;
 font-size: 2.5rem;
 font-weight: 700;
 margin-bottom: 3.0rem;
}

.item-category h5 {
 margin: 0;
}

.item-title {
 font-size: 3.2rem;
 font-weight: 700;
 margin-bottom: 4.0rem;
}

.item-title h6 {
 margin: 0;
}

.item-outline {
 font-size: 2.4rem;
 margin-bottom: 4.0rem;
}

.item-comment {
 font-size: 2.0rem;
 text-align: justify;
 margin-bottom: 10rem;
}

.item-link {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 /* 右寄せのキモ */
}

.item-link a.official-link {
 display: inline-flex;
 /* 文字幅にするため必須 */
 align-items: center;
 text-decoration: none;
 color: #ff820c;
 font-size: 2.0rem;
 font-weight: bold;
 position: relative;
 border-bottom: 1px solid #ff820c;
 margin-bottom: 4rem;
}

.item-link a.official-link::after {
 content: "";
 width: 1.4rem;
 height: 1.4rem;
 background: url("../img/icon-link.svg") no-repeat center / contain;
 margin-left: 1rem;
}

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

 .item-flex {
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
 }

 .item-link {
  align-items: center;
  /* 横方向の中央揃え */
  text-align: center;
 }

}

.sec-works__link {
 width: 100%;
 max-width: 92.0rem;
 margin: 0 auto;
 border: 1px solid #4d4d4d;
 border-radius: 1rem;
}

.sec-works__link a img {
 width: 70.0rem;
 margin-bottom: 8rem;
}

.sec-works__link .box-link {
 margin: 0 auto;
}