.article_head {
    max-width: 1050px;
    width: 90%;
    margin: 30px auto 0;
}

.article_head .category {
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    height: 34px;
    background-color: white;
    color: white;
    border: solid 1.5px #007260;
    border-radius: 7px;
    font-size: 14px;
    color: #007260;
}

.article_head h1 {
    font-size: 30px;
    line-height: 46px;
    margin-top: 15px;
}

.article_head .info {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: solid 1.5px #007260;
}

.article_head .info .keyword {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.article_head .info .keyword p {
    font-size: 16px;
    color: #007260;
    line-height: 1;
}

.article_head .info .date {
    font-size: 16px;
    color: #007260;
    line-height: 1;
}

.article_head .author {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article_head .author img {
    width: 60px;
}

.article_head .author p {
    font-size: 14px;
    line-height: 1;
}

.article_content {
    width: 100%;
    overflow: hidden;
    margin-top: 35px;
    padding-bottom: 15px;
}

.article_content .lead {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
}

.article_content .lead .main_img {
    width: 100%;
    aspect-ratio: 800/450;
    border-radius: 20px;
    overflow: hidden;
}

.article_content .lead .main_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article_content .lead p {
    font-size: 16px;
    line-height: 35px;
    text-align: justify;
    margin-top: 15px;
}

.article_content .article_detail {
    max-width: 1300px;
    width: 100%;
    margin: 90px auto 0;
    border-radius: 20px;
    background-color: white;
    box-shadow: 6px 6px 10px rgba(138, 163, 212, 0.6);
    padding: 75px 0 90px;
}

.article_content .index {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
}

.article_content .index .head_text {
    font-size: 22px;
    line-height: 1;
    color: #007260;
}

.article_content .anchor_wrap {
    width: 100%;
    background-color: #007260;
    border-radius: 10px;
    padding: 35px;
    margin-top: 15px;
}

.article_content .anchor_wrap .anchor_list {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
}

.article_content .anchor_wrap .anchor_list .anchor_item {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    line-height: 21px;
    color: white;
}

.article_content .anchor_wrap .anchor_list .anchor_item + .anchor_item {
    margin-top: 20px;
}

.article_content .detail_block {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    font-size: 16px;
    line-height: 35px;
}

.article_content .detail_block h2 {
    font-size: 22px;
    line-height: 30px;
    margin: 65px 0 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-weight: 700;
}

.article_content .detail_block h2::before {
    content: "";
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 3px;
    background-color: #007260;
    margin-top: 5px;
}

.article_content .detail_block h3 {
    font-size: 18px;
    line-height: 25px;
    margin: 20px 0 10px;
    display: flex;
    gap: 5px;
    align-items: flex-start;
    color: #007260;
    font-weight: 700;
}

.article_content .detail_block h3::before {
    content: "●";
}

.article_content .detail_block img {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 45px auto 40px;
}

/* 画像＋キャプションの共通ブロック */
.article_content .detail_block .media-block {
  display: block;
  max-width: 100%;
  /* 画像と同じ上下マージンを figure に付与 */
  margin: 45px auto 40px;
}

/* 画像はブロック化して横センターを基本に */
.article_content .detail_block .media-block img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto; /* center のときに効く */
}

/* キャプションの体裁 */
.article_content .detail_block .media-block figcaption {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-top: 8px;
  /* デフォルトは中央。各揃えで上書き */
  text-align: center;
}

/* 左寄せ */
.article_content .detail_block .figure-left {
  margin: 45px auto 40px 0; /* 左寄せと同等の余白 */
  text-align: left;         /* figure内のインライン要素の既定整列 */
}
.article_content .detail_block .figure-left figcaption {
  text-align: left;
}

/* 右寄せ */
.article_content .detail_block .figure-right {
  margin: 45px 0 40px auto; /* 右寄せ */
  text-align: right;
}
.article_content .detail_block .figure-right figcaption {
  text-align: right;
}

/* 中央寄せ */
.article_content .detail_block .figure-center {
  margin: 45px auto 40px auto; /* 中央寄せ */
  text-align: center;
}

/* 全幅 */
.article_content .detail_block .figure-full {
  width: 100%;
  margin: 45px 0 40px 0;
}
.article_content .detail_block .figure-full img {
  width: 100%;
  height: auto;
  margin: 0; /* 全幅時は余白不要 */
}
.article_content .detail_block .figure-full figcaption {
  text-align: center; /* 全幅は中央が自然 */
}

.back_btn {
    max-width: 350px;
    width: 90%;
    height: 80px;
    margin: 60px auto 0;
    border-radius: 40px;
    display: flex;
    align-items: center;
    padding-left: 130px;
    background-color: #f1f5ff;
    box-shadow: 5px 5px 6px rgba(138, 163, 212, 0.6);
    position: relative;
    transition: all 0.3s;
}

.back_btn:hover {
    box-shadow: none;
}

.back_btn img {
    width: 60px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
    transition: all 0.3s;
    margin: auto;
}

.back_btn:hover img {
    left: 5px;
}

.back_btn p {
    font-size: 22px;
    line-height: 1;
    color: #007260;
}

@media screen and (max-width: 750px) {
    .article_head .category {
        height: 25px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: 4px;
    }

    .article_head h1 {
        font-size: 20px;
        line-height: 26px;
    }

    .article_head .info {
        flex-flow: column;
        gap: 10px;
        justify-content: flex-start;
        align-items: flex-start;
        margin-top: 20px;
    }

    .article_head .info .keyword p,
    .article_head .info .date {
        font-size: 14px;
    }

    .article_head .author img {
        width: 40px;
    }

    .article_head .author p {
        font-size: 16px;
    }

    .article_content .lead p {
        line-height: 25px;
    }

    .article_content .article_detail {
        padding-top: 60px;
    }

    .article_content .index .head_text {
        font-size: 20px;
    }

    .article_content .anchor_wrap {
        padding: 25px 20px;
    }

    .article_content .anchor_wrap .anchor_list .anchor_item {
        font-size: 14px;
        line-height: 20px;
    }

    .article_content .anchor_wrap .anchor_list .anchor_item + .anchor_item {
        margin-top: 10px;
    }

    .article_content .detail_block {
        line-height: 25px;
    }

    .article_content .detail_block h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .article_content .detail_block h2::before {
        width: 17px;
        min-width: 17px;
        height: 17px;
        margin-top: 5.5px;
    }

    .article_content .detail_block h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .back_btn {
        width: 320px;
        height: 55px;
        border-radius: 27.5px;
        padding: 0;
        justify-content: center;
        margin-top: 25px;
    }

    .back_btn img {
        width: 42px;
        left: 12px;
    }

    .back_btn p {
        font-size: 16px;
    }
}
