/* 投稿用スタイル */

.wp_parts-box{

}

.wp_parts-box + .wp_parts-box{
  margin-top: 100px;
}

@media screen and (max-width: 767px) {
  .wp_parts-box + .wp_parts-box{
    margin-top: 50px;
  }
}



.wp_article_img img,
.wp_column_img img{
  display: block;
border-radius: 20px;
aspect-ratio: 38 / 24;
object-fit: cover;
}

.wp-element-caption {
  color: #00244B;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 8px;
}

@media screen and (max-width: 1024px) {
  .wp-element-caption {
    font-size: 11px;
  }
}




/* テーブル横スクロール用コンテナ */
.wp_article_text .table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 40px;
}

@media screen and (max-width: 1024px) {
  .wp_article_text .table-container {
    margin-bottom: 30px;
  }
}

.wp_article_text .table-container table {
  margin-bottom: 0;
  min-width: 100%;
}

.wp_article_text h1 {
  font-size: 38px;
  line-height: 1.5;
  font-weight: bold;
  position: relative;
  margin-bottom: 40px;
  padding-left: 24px;
  position: relative;
  letter-spacing: 0.05em;
  color: #00244B;
}

@media screen and (max-width: 1024px) {
  .wp_article_text h1 {
    font-size: 24px;
    margin-bottom: 30px;
    padding-left: 18px;
  }
}

.wp_article_text h1::after {
  content: "";
  display: inline-block;
  position: absolute;
  top:-8px;
  left: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #006fab;
  background: -webkit-gradient(linear, left top, right top, color-stop(-100%, #006fab), to(rgba(0, 111, 171, 0)));
  background: -webkit-linear-gradient(left, #006fab -100%, rgba(0, 111, 171, 0) 100%);
  background: linear-gradient(90deg, #006fab -100%, rgba(0, 111, 171, 0) 100%);
}

@media screen and (max-width: 1024px) {
  .wp_article_text h1::after {
    top: -5px;
    width: 38px;
    height: 38px;
  }
}

.wp_article_text h2 {
  font-size: 36px;
  line-height: calc(46 /34);
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  letter-spacing: 0.05em;
  color: #00244B;
}

@media screen and (max-width: 1024px) {
  .wp_article_text h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }
}

.wp_article_text h3 {
  font-size: 26px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  padding-top: 16px;
}

@media screen and (max-width: 1024px) {
  .wp_article_text h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-top: 15px;
  }
}

.wp_article_text h3::before {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(0deg, #396EAE 0%, #67A9DC 100%);
}

.wp_article_text h3::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 36, 75, 0.12);
}

.wp_article_text h4 {
  position: relative;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 16px;
  padding-left: 22px;
}

@media screen and (max-width: 1024px) {
  .wp_article_text h4 {
    font-size: 16px;
    margin-bottom: 14px;
  }
}

.wp_article_text h4::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 12px;
  left: 0;
  width: 10px;
  height: 3px;
  background: linear-gradient(0deg, #396EAE 0%, #67A9DC 100%);
}

.wp_article_text h5 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 16px;
}

@media screen and (max-width: 1024px) {
  .wp_article_text h5{
    font-size: 16px;
    margin-bottom: 14px;
  }
}

.wp_article_text h6 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 14px;
}

@media screen and (max-width: 1024px) {
  .wp_article_text h6 {
    font-size: 14px;
    margin-bottom: 12px;
  }
}

.wp_article_text ul, .wp_article_text ol {
  margin: 0 auto 30px;
}

.wp_article_text li {
  line-height: 1.7;
  display: block;
}

.wp_article_text li + li {
  margin-top: 7px;
}

.wp_article_text ul li {
  display: block;
  position: relative;
  padding-left: 27px;
}

@media screen and (max-width: 1024px) {
  .wp_article_text ul li {
    padding-left: 24px;
  }
}

.wp_article_text ul li::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 10.5px;
  left: 7px;
  width: 6px;
  height: 6px;
  background-color: #006FAB;
  border-radius: 50%;
}

@media screen and (max-width: 1024px) {
  .wp_article_text ul li::before {
    top: 9px;
    left: 7px;
    width: 5px;
    height: 5px;
  }
}

.wp_article_text ol {
  counter-reset: number;
}

.wp_article_text ol li {
  counter-increment: number;
  position: relative;
  padding-left: 24px;
}

.wp_article_text ol li::before {
  content: counter(number) '.';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  color: #006FAB;
  border-radius: 50%;
  font-family:"Outfit", sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 1.7;
}

.wp_article_text a {
  color: #003DB6;
  text-decoration: underline;
}

.wp_article_text a[href^="http"]::after {
  content: "";
  display: inline-block;
  padding-right: 20px;
  background: url(../img/connect-common/icon-link.svg) right center/12px auto no-repeat;
}

.wp_article_text a[href$=".pdf"]::after {
  display: inline-block;
  padding-right: 20px;
  background: url(../img/connect-common/icon-pdf.svg) right center/12px auto no-repeat;
}

.wp_article_text img {
  max-width: 100%;
  width: calc(100% - 120px);
  height: auto;
  border-radius: 20px;
  display: block;
  margin: 10px 0;
}

.wp_article_text img:not(.alignleft):not(.alignright):not(.aligncenter) {
  margin: 10px auto;
}

.wp_article_text img.aligncenter {
  display: block;
  margin: 0 auto;
}

.wp_article_text img.alignright {
  display: block;
  margin-left: auto;
}

.wp_article_text img.alignleft {
  display: block;
  margin-right: auto;
}

.wp_article_text img.size-thumbnail {
  display: block;
  width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
  margin: 10px auto;
}

.wp_article_text img.size-medium {
  display: block;
  max-width: 300px !important;
  width: 300px !important;
  height: auto;
  margin: 10px auto;
}

.wp_article_text img.size-large {
  display: block;
  max-width: 1024px !important;
  width: 100%;
  height: auto;
  margin: 10px auto;
}

.wp_article_text img.size-full {
  display: block;
  max-width: 100% !important;
  width: 100%;
  height: auto;
  margin: 10px auto;
}

.wp_article_text table {
  margin-bottom: 40px;
}

@media screen and (max-width: 1024px) {
  .wp_article_text table {
    margin-bottom: 30px;
  }
}

.wp_article_text table th {
  padding: 24px;
  width: 220px;
  font-weight: bold;
  vertical-align: middle;
  position: relative;
  border: 1px solid rgba(34, 34, 34, 0.20);
  background: #F8F8F8;
}

@media screen and (max-width: 1024px) {
  .wp_article_text table th {
    padding: 10px;
    width: 140px;
  }
}

.wp_article_text table th::after {
  /* content: ""; */
  display: inline-block;
  position: absolute;
  height: calc(100% - 20px);
  top: 10px;
  right: 0;
  width: 2px;
  background-color: #006ba9;
}

.wp_article_text table td {
  width: calc(100% - 220px);
  padding: 24px;
  border: 1px solid rgba(34, 34, 34, 0.20);
}

@media screen and (max-width: 1024px) {
  .wp_article_text table td {
    padding: 10px;
    width: calc(100% - 140px);
  }
}







/* 画像カラム用スタイル */
.wp_column_img{
}

.wp_column_img_item{
  width: 100%;
}

.wp_column_img img{
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 580 / 386;
}

.wp_column_imgwrap--1column {
  margin: 20px auto;
}

.wp_column_img--1column img { 
  aspect-ratio: 1200 / 697;
}

.wp_column_imgwrap--2column {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  margin: 20px auto;
}

@media screen and (max-width: 1024px) {
  .wp_column_imgwrap--2column {
    gap: 30px 15px;
  }
}

@media screen and (max-width: 767px) {
  .wp_column_imgwrap--2column {

    flex-direction: column;
    gap: 30px;
  }
}


.wp_column_imgwrap--2column .wp_column_img_item {
  width: calc((100% - 40px) / 2);
}

@media screen and (max-width: 1024px) {
  .wp_column_imgwrap--2column .wp_column_img_item {
    width: calc((100% - 30px) / 2);
  }
}

@media screen and (max-width: 767px) {
  .wp_column_imgwrap--2column .wp_column_img_item {
    width: 100%;
  }
}


.wp_column_imgwrap--2column .wp_column_img img {
  aspect-ratio: 580 / 386;
}

.wp_column_imgwrap--3column {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 30px;
  margin: 20px auto;
}

@media screen and (max-width: 1024px) {
  .wp_column_imgwrap--3column {
    gap: 20px 15px;
  }
}

@media screen and (max-width: 767px) {
  .wp_column_imgwrap--3column {
    flex-direction: column;
    gap: 30px;
  }
}

.wp_column_imgwrap--3column .wp_column_img_item {
  width: calc((100% - 60px) / 3);
}

@media screen and (max-width: 1024px) {
  .wp_column_imgwrap--3column .wp_column_img_item {
    width: calc((100% - 30px) / 3);
  }
}

@media screen and (max-width: 767px) {
  .wp_column_imgwrap--3column .wp_column_img_item {
    width: 100%;
  }
}


.wp_column_imgwrap--3column .wp_column_img img {
  aspect-ratio: 380 / 253;
}


