/*/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
　リンク画像ボックス
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

/*---------- リンク画像ボックス ----------*/
#imglinkbox{
    display: block;
}
#imglinkbox .imglinkbox__outline {
    width: calc(100% - 40px);
    margin: 0 auto;
}

/* 折り返しあり */
#imglinkbox .imglinkbox__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
}

#imglinkbox .imglinkbox__wrap .imglinkbox__item {
    width: 23%;
    margin: 1%;
}

#imglinkbox .imglinkbox__wrap .imglinkbox__item .imglinkbox_img {
    width: 100%;
}

/* 折り返しなし */
#imglinkbox .imglinkbox__nowrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#imglinkbox .imglinkbox__nowrap .imglinkbox__item {
    margin: 1em;
    flex: 1;
}

#imglinkbox .imglinkbox__nowrap .imglinkbox__item .imglinkbox_img {
    width: 100%;
}

/* 共通 */
#imglinkbox .imglinkbox__item .imglinkbox__caption {
    font-size: clamp(16px, 1.14vw, 18px);
    line-height: 1.6;
    margin-top: 0.25em;
    text-align: center;
}

#imglinkbox .imglinkbox__item .imglinkbox__caption__left {
    text-align: left;
}

#imglinkbox a:hover {
    transition: all .3s;
    opacity: .5;
}

#imglinkbox .imglinkbox__between {
    justify-content: space-between;
}

#imglinkbox .imglinkbox__center {
    justify-content: center;
}

#imglinkbox .free-contents__txt {
    margin: 0px auto 30px auto;
}

/* スマホ */
@media screen and (max-width: 767.9px) {
    #imglinkbox .imglinkbox__outline {
        width: calc(100% - 10px) !important;
        min-width: calc(100% - 10px);
    }

    #imglinkbox .imglinkbox__wrap {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }

    #imglinkbox .imglinkbox__nowrap {
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 10px;
    }

    #imglinkbox .imglinkbox__between {
        justify-content: space-between;
    }

    #imglinkbox .imglinkbox__center {
        justify-content: center;
    }

    #imglinkbox .imglinkbox__wrap .imglinkbox__item,
    #imglinkbox .imglinkbox__nowrap .imglinkbox__item {
        width: calc(100% /2 - 10px) !important;
        margin: 5px;
        flex: unset;
    }

    #imglinkbox .imglinkbox__item .imglinkbox__caption {
       /* font-size: inherit;*/
    }

    #imglinkbox .free-contents__txt {
        max(6.66vw, 25px) auto;
    }
}


/*/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
　アンカーリンク
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

#anchor-links .anchor-links__list {
    display: flex;
    flex-wrap: nowrap;
    width: calc(100% - 60px);
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    row-gap: 1em;
}

#anchor-links .anchor-links__list-nowrap {
    flex-wrap: nowrap;
}

#anchor-links .anchor-links__list-wrap {
    flex-wrap: wrap;
}

#anchor-links .anchor-links__list-center {
    justify-content: center;
}

#anchor-links .anchor-links__list-left {
    justify-content: left;
}

#anchor-links .anchor-links__list .anchor-links__list-item {
    display: inline-block;
}

#anchor-links .anchor-links__list .anchor-links__list-item a {
    display: inline-block;
    font-size: 0.95rem;
}


/* デザイン A */
#anchor-links .anchor-links__A .anchor-links__list-item {
    width: 19%;
    border: 1px solid #999;
    padding: 0.5em 1em;
    margin: 0 0.5%;
    text-align: center;
}

#anchor-links .anchor-links__A .anchor-links__list-item a {
    width: 100%;
    height: 100%;
}

#anchor-links .anchor-links__A .anchor-links__list-item:hover {
    transition: all .3s;
    opacity: .5;
}

/* デザイン B */
#anchor-links .anchor-links__B .anchor-links__list-item {
    width: auto;
    border-right: 1px solid #999;
    padding: 0 2em;
    text-align: center;
}

#anchor-links .anchor-links__B .anchor-links__list-item:last-child {
    border-right: none;
}

#anchor-links .anchor-links__B .anchor-links__list-item a:hover {
    transition: all .3s;
    opacity: .6;
}

/* デザイン C */
#anchor-links .anchor-links__C .anchor-links__list-item {
    width: auto;
    border-bottom: 1px solid #999;
    padding: 5px 10px 10px;
    text-align: center;
    margin: 0 1em;
}

#anchor-links .anchor-links__C .anchor-links__list-item:hover {
    transition: all .3s;
    opacity: .9;
    border-bottom-color: rgba(153, 153, 153, 0) !important;
    cursor: pointer;
}

/* スマホ */
@media screen and (max-width: 767.9px) {
    #anchor-links .anchor-links__list-sp-center {
        justify-content: center;
    }

    #anchor-links .anchor-links__list-sp-left {
        justify-content: left;
    }

    #anchor-links .anchor-links__list .anchor-links__list-text__center {
        text-align: center;
    }

    #anchor-links .anchor-links__list .anchor-links__list-text__left {
        text-align: left;
    }


    /* デザイン A */
    #anchor-links .anchor-links__A {
        flex-wrap: wrap;
        min-width: calc(100% - 20px);
    }

    #anchor-links .anchor-links__A .anchor-links__list-item {
        width: 47%;
        margin: 0 1.5%;
    }

    /* デザイン B */
    #anchor-links .anchor-links__B {
        flex-wrap: wrap;
        min-width: calc(100% - 10px);
    }

    #anchor-links .anchor-links__B .anchor-links__list-item {
        width: 50%;
        margin: 0;
        padding: 0 1em;
    }

    #anchor-links .anchor-links__B .anchor-links__list-item:nth-child(even) {
        border-right: none;
    }

    /* デザイン C */
    #anchor-links .anchor-links__C {
        flex-wrap: wrap;
        min-width: calc(100% - 20px);
        row-gap: 0.75em;
    }

    #anchor-links .anchor-links__C .anchor-links__list-item {
        width: 46%;
        margin: 0 2%;
        padding: 5px 5px 12px;
    }
}

/*/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/
/* カラムボックス */
/*/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

#col-box .col-box__wrap {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 40px);
    margin: 0 auto;
    justify-content: space-between;
}

/* デザイン選択 */
#col-box .col-box__A .head__A {
    display: block;
}

#col-box .col-box__A .head__B {
    display: none;
}

#col-box .col-box__B .head__A {
    display: none;
}

#col-box .col-box__B .head__B {
    display: block;
}

#col-box .col-box__C .head__A {
    display: none;
}

#col-box .col-box__C .head__B {
    display: none;
}

/* カラム数 */
#col-box .col-box__wrap .col-2 {
    width: calc(100% /2 - 40px);
}

#col-box .col-box__wrap .col-3 {
    width: calc(100% /3 - 40px);
}

#col-box .col-box__wrap .col-4 {
    width: calc(100% /4 - 40px);
}

/* 共通 */
#col-box .col-box__wrap .col-box__item {
    margin: 20px;
    display: flex;
    flex-direction: column;
}

#col-box .col-box__wrap .col-box__item .link-btn-list {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 2rem;
    row-gap: 15px;
}

#col-box .col-box__wrap .col-box__item .link-btn-list .bl-btn {
    margin-bottom: 0;
    max-width: 95%;
}

#col-box .col-box__wrap .col-box__item .link-btn-list .bl-btn a {
    font-size: clamp(14px, 3.3816vw, 16px);
    line-height: 1.5;
    padding-top: 16px;
    padding-bottom: 16px;
}

#col-box .col-box__wrap .col-box__item .col-box-head {
    font-size: clamp(19px, 1.953vw, 23px);
    text-align: center;
    margin: 1rem .5rem;
}

#col-box .col-box__wrap .col-box__item .col-box-txt {
    font-size: clamp(14px, 1.953vw, 16px);
    padding: 2rem;
}

#col-box .col-box__A .col-box__item .col-box-txt {
    padding-top: 0;
}

#col-box .col-box__wrap .col-box__item figure img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;

}
/* カラム600px以上の場合ボタン並びに対応 */
@media screen and (min-width: 768px) {
    #col-box .col-box__wrap .col-box__item .link-btn-list {
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
  }

/* スマホ */
@media screen and (max-width: 767.9px) {
    #col-box .col-box__wrap {
        width: calc(100% - 10px) !important;
        min-width: calc(100% - 10px);
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 5px;
    }

    #col-box .col-box__wrap .col-box__item {
        margin: 5px;
    }

    #col-box .col-box__wrap .col-2,
    #col-box .col-box__wrap .col-3,
    #col-box .col-box__wrap .col-4 {
        width: calc(100% /2 - 10px);
    }

    #col-box .col-box__wrap .col-box__item .col-box-head {
        font-size: clamp(17px, 4.1062vw, 19px);
        margin: .5rem .25rem;
    }

    #col-box .col-box__wrap .col-box__item .col-box-txt {
        padding: .75rem;
    }

    #col-box .col-box__A .col-box__item .col-box-txt {
        padding-top: 0;
    }

    #col-box .col-box__wrap .col-box__item .link-btn-list {
        padding-bottom: 1rem;
    }

    #col-box .col-box__wrap .col-box__item .link-btn-list .bl-btn {
        width: 88%;
        padding: 0 0;
        text-align: center;
    }

    #col-box .col-box__wrap .col-box__item .link-btn-list .bl-btn a {
        width: 100%;
        padding: 10px 0;
    }

    #col-box .col-box__wrap .col-box__item .link-btn-list .bl-btn__page-top::after {
        content: none;
    }

    #anchor-links .anchor-links__list {
        width: calc(100% - 10px) !important;
    }
}

.bl-btn {
    /*background: #1e90ff;*/
    margin-bottom: 10px;
}

.bl-btn a {
    color: #ffffff;
}

.bl-btn__page-top::after {
    color: #ffffff;
}