@charset "UTF-8";
/*
Theme Name: message
*/
.main_img {
  position: absolute;
  max-width: 266px;
  margin-top: 1rem;
  top: 13.5rem;
  right: calc((100vw - 1200px) / 2 - -6.5rem);
}
.main_img img {
  width: 100%;
}
/*要素の大きさ調整*/
@media screen and (min-width: 751px) and (max-width: 1100px) {
  .main_img {
    max-width: 226px;
    margin-top: 3rem;
    top: 13.5rem;
    right: 4rem;
  }
}
/*スマホ*/
@media screen and (min-width: 751px) and (max-width: 960px) {
  .main_img {
    margin-top: 8rem;
  }
}
@media screen and (min-width: 751px) and (max-width: 781px) {
  .main_img {
    margin-top: 12rem;
    max-width: 196px;
  }
}
.cv-heading {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 20px;
}
.cv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 50px;
  list-style: none;
  padding: 0;
  margin-top: 9.5rem;
  margin-bottom: 9rem;
}
.cv-item details {
  background: #fff;
  border-radius: 16px;
  border: 7px solid #fafafa;
  overflow: hidden;
  position: relative;
}
.cv-summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 56px 38px 32px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}
.cv-summary span {
  color: #222;
  font-size: 2.2rem;
  letter-spacing: -0.005em;
}
.cv-summary::-webkit-details-marker {
  display: none;
}
.cv-summary {
  position: relative;
  padding-right: 48px;
  cursor: pointer;
}
.cv-summary::-webkit-details-marker {
  display: none;
}
.cv-icon {
  position: absolute;
  right: 35px;
  top: 50%;
  top: calc(49% + 0px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000;
  transform: translateY(-50%);
}
.cv-icon::before, .cv-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.cv-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
details[open] .cv-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.cv-body {
  height: 0;
  overflow: hidden;
  will-change: height;
  background: #fff;
}
.cv-inner {
  margin: 3px 30px 32px;
  border-radius: 10px;
  background: #faf7f5;
  height: 324px;
}
.cv-inner h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #222;
}
.cv-inner p {
  margin: 0.6em 0;
  text-align: center;
}
.cv-inner .txt {
  position: absolute;
  top: 323px;
  left: 50%;
  white-space: nowrap;
  transform: translate(-50%, 0px);
}
.cv-inner .img {
  position: absolute;
  top: 83px;
  left: 49%;
  transform: translate(-50%, 0%);
}
.cv-item:nth-child(2) .cv-inner .img {
  top: 84px;
  left: 50%;
}
.cv-item:nth-child(3) .cv-inner .img {
  left: 50%;
}
.cv-item:nth-child(4) .cv-inner .img {
  top: 76px;
  left: 52%;
}
.cv-item:nth-child(5) .cv-inner .img {
  top: 78px;
  left: 50%;
}
.cv-item:nth-child(6) .cv-inner .img {
  top: 95px;
}
.cv-item:nth-child(7) .cv-inner .img {
  top: 101px;
  left: 40%;
}
.cv-item:nth-child(8) .cv-inner .img {
  top: 123px;
  left: 45.5%;
}
.cv-item:nth-child(9) .cv-inner .img {
  top: 87px;
  left: 50.5%;
}
li.cv-item {
  position: relative;
}
li.cv-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -22px;
  width: 50px;
  height: 28px;
  background: url(../img/corevalue/tag.png) no-repeat center / contain;
  pointer-events: none;
  z-index: 9;
}
br.tbonly {
  display: none;
}
.cv-summary span.num {
  font-family: "Outfit", sans-serif;
  color: #e74921;
  font-size: 2.8rem;
  font-weight: 500;
  white-space: nowrap;
}
@media screen and (min-width: 751px) {
  .cv-item details {
    overflow: inherit;
  }
  .cv-icon {
    display: none;
  }
}
/* レスポンシブ調整 */
@media (max-width: 1200px) {
  .corevalue_box .inner {
    padding: 0 5.333vw 0;
  }
  .cv-inner .txt {
    top: 333px;
  }
  .cv-grid {
    gap: 30px 30px;
  }
  .cv-summary {
    padding: 34px 56px 38px 24px;
  }
  .cv-inner {
    margin: 3px 24px 32px;
  }
  .cv-icon {
    right: 24px;
  }
  .cv-summary span {
    font-size: 2rem;
  }
  .cv-inner p {
    font-size: 1.45rem;
    letter-spacing: -0.01em;
  }
}
@media screen and (max-width: 960px) {
  .corevalue_box .inner {
    padding: 10vw 5.333vw 0;
  }
  .cv-icon {
    right: 16px;
    width: 32px;
    height: 32px;
  }
  li.cv-item::before {
    width: 40px;
    height: 24px;
  }
  .cv-summary {
    padding: 24px 0px 28px 18px;
  }
  br.tbonly {
    display: block;
  }
  .cv-inner .img img {
    transform: scale(0.8); /* 元の大きさを0.8倍に縮小 */
    transform-origin: center center; /* 中央基準で縮小 */
  }
  .cv-summary {
    gap: 16px;
  }
}
@media screen and (max-width: 781px) {
  .cv-icon {
    right: 12px;
    width: 30px;
    height: 30px;
  }
  .cv-summary {
    padding: 34px 56px 38px 14px;
  }
  .cv-summary span {
    font-size: 1.8rem;
    white-space: nowrap;
  }
}
/* スマホ */
@media (max-width: 750px) {
  br.tbonly {
    display: none;
  }
  .common.list.corevalue p.subttl {
    font-size: 3.6vw;
    line-height: 1.85;
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    text-align: center;
    margin-top: 6vw;
  }
  .corevalue_box .inner {
    padding: 6rem 5.333vw 0;
  }
  .cv-grid {
    grid-template-columns: 1fr;
  }
  .cv-grid {
    margin-top: 0;
    margin-bottom: 14vw;
  }
  .cv-summary span {
        font-size: 18px;
        line-height: 1.5;
  }
	.cv-summary span.num {
    font-size: 22px;
}
  .cv-summary {
        padding: 23px 0 23px 20px;
  }
  .cv-icon {
    right: 23px;
    width: 32px;
    height: 32px;
  }
  .cv-icon::before, .cv-icon::after {
    width: 16px;
  }
  .cv-summary span {
    top: 34px;
    transform: translateY(0%);
  }
  .cv-item details {
    border: 3.5px solid #fafafa;
  }
  .cv-inner p {
    font-size: 16px;
    letter-spacing: -0.01em;
    text-align: left;
    line-height: 1.687;
    margin: 0 20px;
  }
  .cv-inner .txt {
    position: inherit;
    transform: inherit;
    white-space: inherit;
    padding-top: 200px;
    padding-bottom: 23px;
  }
  .sp_onerow .cv-summary span {
    top: 26px;
  }
  .cv-inner {
    margin: 0px 24px 20px;
    border-radius: 7.5px;
    height: inherit;
  }
  li.cv-item::before {
    width: 30px;
    height: 24px;
    left: -13px;
    top: 2px;
  }
  .cv-inner .img img {
    transform: scale(0.86);
    transform-origin: center center;
  }
  /*1*/
  .cv-item:nth-child(1) .cv-inner .txt {
    padding-top: 220px;
  }
  .cv-item:nth-child(1) .cv-inner .img {
    top: 87px;
    left: 48%;
  }
  .cv-item:nth-child(1) .cv-inner p {
    margin-top: 0px;
  }
  /*2*/
  .cv-item:nth-child(2) .cv-inner .txt {
    padding-top: 206px;
  }
  .cv-item:nth-child(2) .cv-inner .img {
    top: 52px;
    left: 50%;
  }
  .cv-item:nth-child(2) .cv-inner p {
    margin-top: 0px;
  }
  /*3*/
  .cv-item:nth-child(3) .cv-inner .txt {
    padding-top: 200px;
  }
  .cv-item:nth-child(3) .cv-inner .img {
    top: 74px;
    left: 52%;
  }
  .cv-item:nth-child(3) .cv-inner p {
    margin-top: 0px;
  }
  /*4*/
  .cv-item:nth-child(4) .cv-inner .txt {
    padding-top: 224px;
  }
  .cv-item:nth-child(4) .cv-inner .img {
    top: 52px;
    left: 52%;
  }
  .cv-item:nth-child(4) .cv-inner p {
    margin-top: 0px;
  }
  /*5*/
  .cv-item:nth-child(5) .cv-inner .txt {
    padding-top: 215px;
  }
  .cv-item:nth-child(5) .cv-inner .img {
    top: 80px;
    left: 52%;
  }
  .cv-item:nth-child(5) .cv-inner p {
    margin-top: 0px;
  }
  /*6*/
  .cv-item:nth-child(6) .cv-inner .txt {
    padding-top: 199px;
  }
  .cv-item:nth-child(6) .cv-inner .img {
    top: 57px;
    left: 49%;
  }
  .cv-item:nth-child(6) .cv-inner p {
    margin-top: 0px;
  }
  /*7*/
  .cv-item:nth-child(7) .cv-inner .img {
    top: 87px;
    left: 48%;
  }
  .cv-item:nth-child(7) .cv-inner p {
    margin-top: -3px;
  }
  /*8*/
  .cv-item:nth-child(8) .cv-inner .txt {
    padding-top: 194px;
  }
  .cv-item:nth-child(8) .cv-inner .img {
    top: 59px;
    left: 48%;
  }
  .cv-item:nth-child(8) .cv-inner p {
    margin-top: 0px;
  }
  /*9*/
  .cv-item:nth-child(9) .cv-inner .txt {
    padding-top: 214px;
  }
  .cv-item:nth-child(9) .cv-inner .img {
    top: 87px;
    left: 49%;
  }
  .cv-item:nth-child(9) .cv-inner p {
    margin-top: 0px;
  }
}