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

/* box-img */

.contents01 .box-img {
    position: relative;
    overflow: hidden;
}

.contents01 .box-img img {
    width: 100%;
    height: auto;
    transition: .5s all;
    z-index: -1;
}

.contents01 .box:hover .box-img img {
    transform: scale(1.2, 1.2);
    transition: .5s all;
    z-index: -1;
}


/* layout01 */

.layout01 {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 50px 4%;
}

.layout01 .box {
    width: 30.6%;
}

.layout01 .box-img {
    border-radius: 20px;
}


.layout01 .box-detail {
    padding-top: 25px;
}

.layout01 h5 {
    font-weight: var(--base-weight);
    color: #FFF;
    font-size: 14px;
    line-height: 1.2;
    display: inline-block;
    padding: 3px 20px 5px;
    border-radius: 60px;
    background-color: var(--color-base);
}

.contents-top .layout01 p {
    line-height: 1.6;
    padding-top: 10px;
}

/* layout02 */

.layout02 .box-link {
    text-align: center;
    padding-top: 40px;
}

.layout02 img {
    width: auto;
    max-width: 100%;
    height: auto;
}

/*画像中央合わせ*/
.aligncenter {
    margin-left: auto;
    margin-right: auto;
    display: block;
}


.layout02 p:not(:last-child) {
    margin-bottom: 30px;
}

.layout02 p a {
    color: var(--color-main);
    text-decoration: underline;
}

.layout02 blockquote {
    background-color: #F4F4F4;
    padding: 70px 80px;
    position: relative;
}

.layout02 blockquote p {
    font-weight: var(--base-weight);
    color: var(--color-base);
    line-height: 1.6;
    letter-spacing: 0.05em;
    position: relative;
}

.layout02 blockquote::before {
    content: "";
    position: absolute;
    left: 45px;
    top: 55px;
    background-image: url("../../images/articles/icon-blockquote.svg");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 56px;
    height: 45px;
}

.layout02 ol:not(:last-child),
.layout02 ul:not(:last-child),
.layout02 blockquote:not(:last-child) {
    margin-bottom: 40px;
}

.layout02 ol {
    list-style: none;
    /* デフォルトの数字を非表示に */
    counter-reset: li;
}

.layout02 ol li,
.layout02 ul li {
    line-height: 1.6;
    letter-spacing: 0.05em;
    font-weight: var(--base-weight2);
    position: relative;
    padding-left: 30px;
}


.layout02 ol li::before {
    counter-increment: li;
    content: counter(li);
    position: absolute;
    left: 0;
    top: 2px;
    /* 数字のY軸線上の位置を調整 */
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #ccc;
    font-family: var(--title-font);
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
    text-align: center;
}

.layout02 ul li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 7px;
    height: 7px;
    background-color: #2D2D2D;
    display: block;
}


.layout02 ol li:not(:last-child),
.layout02 ul li:not(:last-child) {
    margin-bottom: 5px;
}

.layout02 h2 {
    font-weight: var(--base-weight);
    color: #333;
    font-size: 42px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    position: relative;
}

.layout02 h2::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 15px;
    display: block;
    background-image: url("../../images/articles/icon-title.svg");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 42px;
    height: 40px;
    margin-left: -50px;
}

.layout02 h3 {
    font-weight: var(--base-weight2);
    color: #333;
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    padding: 0px 5px 6px;
    margin-bottom: 20px;
    border-bottom-style: dotted;
    border-color: #999;
    border-width: 2px;
}

.layout02 h4 {
    font-weight: var(--base-weight3);
    color: #333;
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.layout02 h5 {
    font-weight: var(--base-weight3);
    color: #333;
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.layout02 h6 {
    font-weight: var(--base-weight3);
    color: #333;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}


/*marker*/

.marker-pink {
    box-shadow: 0 -0.4em 0 0 rgba(255, 164, 215, 0.55) inset;
}

.marker-aqua {
    box-shadow: 0 -0.4em 0 0 rgba(51, 181, 246, 0.40) inset;
}

.marker-yellow {
    box-shadow: 0 -0.4em 0 0 rgba(255, 221, 90, 0.5) inset;
}

.marker-leaf {
    box-shadow: 0 -0.4em 0 0 rgba(156, 199, 21, 0.4) inset;
}

.marker-reset {
    box-shadow: none;
}

/*marker*/

.underline-solid {
    border-bottom: solid 2px;
}

.underline-double {
    border-bottom: double 2px;
}

.underline-dotted {
    border-bottom: dotted 2px;
}

.underline-dashed {
    border-bottom: dashed 2px;
}

.underline-wavy {
    text-decoration: underline wavy var(--color-base);
}

.underline-reset {
    border-bottom-style: none;
    border-width: 0px;
    text-decoration: none;
}

/*tabel*/

.layout02 table td {
    line-height: 1.6;
    letter-spacing: 0.05em;
    padding: 12px 15px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.3);
    border-width: 1px;
}




/* pager */

.pager {
    width: 100%;
    text-align: center;
    padding-top: 50px;
}

a.page-numbers,
.pager .current {
    font-family: var(--title-font);
    font-weight: var(--base-weight3);
    color: var(--color-main);
    margin-left: 3px;
    margin-right: 3px;
    font-size: 16px;
    font-weight: 500;
    width: 28px;
    height: 28px;
    padding-top: 4px;
    border-radius: 50%;
    background-color: #e5e5e5;
    display: inline-block;
    vertical-align: top;
    line-height: 1.2;
}

.pager .current {
    color: #FFF;
    background-color: var(--color-main);
}


.pager .current {
    opacity: 1;
}

.pager a:hover {
    opacity: 0.5;
}

.pager a.prev {
    color: var(--color-main);
    background-color: rgba(255, 255, 255, 0);
}

.pager a.next {
    color: var(--color-main);
    background-color: rgba(255, 255, 255, 0);
}


.sp-view {
    display: none;
}
