@charset "utf-8";
/*========================================
  5つのポイント専用CSS
========================================*/

html {
    scroll-behavior: smooth;
    scroll-padding-block-start: 160px;
}

@media screen and (max-width: 540px) {
    html {
        scroll-padding-block-start: 80px;
    }
}

/* スマホ固定メニューがコンテンツの下になってしまうのを防ぐ */
@media screen and (max-width: 540px) {
    .footerSpConv {
        z-index: 21;
    }
}

@media screen and (max-width: 540px) {
    .contentBox {
        margin-top: 60px;
    }
}

@media screen and (max-width: 540px) {
    .byuserItem {
        margin-top: 30px;
    }
    .byuserItem + .byuserItem {
        margin-top: 60px;
    }
}

.flowNotes dl dd.sheet {
    margin-top: 1em;
    background: #fff;
    padding: 10px;
}

.fivemerit-header {
}

.fivemerit-header img {
    vertical-align: bottom;
    width: 100%;
    height: auto;
}

.fivemerit-figure {
  margin: 1em 0 0;
}

.fivemerit-figure img {
    vertical-align: bottom;
    width: 100%;
    height: auto;
}

[class*="linkbutton"] {
    display: block;
    margin-top: 1em;
    text-decoration: none;
}

[class*="linkbutton"] img {
    vertical-align: bottom;
    width: 100%;
    height: auto;
    max-width: 300px;
}

.linkbutton_l img {
  max-width: 800px;
}

.fivemerit-anchor {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 25px;
    list-style-type: none;
    counter-reset: listnum;
    max-width: 1220px;
    margin-inline: auto;
}

.fivemerit-anchor li {
    background-color: #F8F8F8;
}

.fivemerit-anchor a {
    display: grid;
    padding: 20px;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 22px;
    transition: all 0.2s;
    color: #333;
    font-size: 32px;
    text-align: left;
}

@media screen and (max-width: 540px) {
    .fivemerit-anchor a {
        padding: 10px;
        gap: 10px;
        font-size: 14px;
    }
}

.fivemerit-anchor-label {
}

.fivemerit-anchor li a::before {
	counter-increment: listnum;
	content: counter(listnum);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 53px;
    height: 53px;
    background-color: #E7000B;
    border-radius: 50%;
    color: #FFF;
    font-size: 24px;
    transition: all 0.2s;
}
@media screen and (max-width: 540px) {
    .fivemerit-anchor li a::before {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
}

.fivemerit-anchor a::after {
    content: "";
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #E7000B;
    background-image: url(../images/fivemerit_arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    transition: all 0.2s;
}

@media screen and (max-width: 540px) {
    .fivemerit-anchor a::after {
        width: 18px;
        height: 18px;
    }
}

.fivemerit-anchor li:nth-child(2) a::before,
.fivemerit-anchor li:nth-child(2) a::after {
    background-color: #FF8E00;
}

.fivemerit-anchor li:nth-child(3) a::before,
.fivemerit-anchor li:nth-child(3) a::after {
    background-color: #1DAD36;
}

.fivemerit-anchor li:nth-child(4) a::before,
.fivemerit-anchor li:nth-child(4) a::after {
    background-color: #00A2EA;
}

.fivemerit-anchor li:nth-child(5) a::before,
.fivemerit-anchor li:nth-child(5) a::after {
    background-color: #930284;
}

.fivemerit-anchor a:hover {
    color: rgb(51 51 51 / 0.6);
}

.fivemerit-anchor a:hover::before {
    opacity: 0.6;
}

.fivemerit-anchor a:hover::after {
    background-color: #CCC;
}

.fivemerit-back {
    margin: 60px 10px 25px;
    text-align: right;
}

@media screen and (max-width: 540px) {
    .fivemerit-back {
        margin-inline: 0;
    }
}

.fivemerit-back a {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

@media screen and (max-width: 540px) {
    .fivemerit-back a {
        font-size: 12px;
    }
}

.fivemerit-back a::after {
    flex-grow: 0;
    content: "";
    width: 1.94em;
    height: 1.94em;
    border-radius: 50%;
    background-color: currentColor;
    background-image: url(../images/fivemerit_arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    rotate: 180deg;
}

.fivemerit-courseList {
    display: grid;
    grid-template-columns: repeat( 2, 1fr );
    grid-template-rows: auto;
    gap: 30px;
    margin-top: 30px;
}

@media screen and (max-width: 540px) {
    .fivemerit-courseList {
        grid-template-columns: auto;
    }
}


.fivemerit-course {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background-color: #FF4D96;
}

.fivemerit-course::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 120px;
	height: 120px;
	background-image: url(../images/fivemerit_course_corner_01.png);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: contain;
	z-index: 11;
}

.fivemerit-course-inner {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-rows: repeat( 3, auto );
    grid-template-columns: 1fr 160px;
    row-gap: 18px;
    column-gap: 24px;
    padding: 20px;
    z-index: 12;
}

@media screen and (max-width: 540px) {
    .fivemerit-course-inner {
        grid-template-columns: 1fr 100px;
        row-gap: 10px;
        column-gap: 20px;
        padding: 10px;
    }
}

.mainColumn a.fivemerit-course-inner {
    color: #333;
}

a.fivemerit-course-inner {
    transition: all 0.5s ease-in-out;
}

.fivemerit-course:has( a.fivemerit-course-inner ):hover {
    opacity: 0.6;
}

.fivemerit-course-image {
    grid-row: 2 / 3;
    grid-column: 2 / -1;
}

.fivemerit-course-image img {
    vertical-align: bottom;
    width: 100%;
    height: auto;
}

.fivemerit-course-catch {
    grid-row: 1 / 2;
    grid-column: 1 / -1;
    font-size: 18px;
    font-weight: 700;
}

@media screen and (max-width: 540px) {
    .fivemerit-course-catch {
        font-size: 14px;
    }
}

.fivemerit-course-contents {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    row-gap: 17px;
    font-size: 16px;
    line-height: 1.5;
}

@media screen and (max-width: 540px) {
    .fivemerit-course-contents {
        font-size: 14px;
    }
}

.mainColumn .fivemerit-course-title {
    font-size: 32px;
    font-weight: 700;
    color: currentColor;
}

@media screen and (max-width: 540px) {
    .mainColumn .fivemerit-course-title {
        font-size: 20px;
    }
}

.fivemerit-course-description {

}

.fivemerit-course-data {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    column-gap: 10px;
    row-gap: 5px;
}

.fivemerit-course-data dt {
    display: flex;
    min-height: 2em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-inline: 1em;
    border-radius: 10em;
    background-color: #333;
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

@media screen and (max-width: 540px) {
    .fivemerit-course-data dt {
        font-size: 11px;
    }
}

.fivemerit-course-data dd {
    font-size: 16px;
    font-weight: 700;
}

@media screen and (max-width: 540px) {
    .fivemerit-course-data dd {
        font-size: 14px;
    }
}

.fivemerit-course-more {
    grid-row: 3 / -1;
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
    column-gap: 10px;
    padding-top: 17px;
    border-top: 1px solid #FFF;
    font-size: 18px;
}

@media screen and (max-width: 540px) {
    .fivemerit-course-more {
        font-size: 14px;
    }
}

.fivemerit-course-more::after {
	content: "";
	width: 1.875em;
	height: 1.875em;
    border-radius: 50%;
    background-color: #FF1F5F;
    background-image: url(../images/fivemerit_arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    rotate: -90deg;
}


.fivemerit-courseList > *:nth-child(2):before {
	background-image: url(../images/fivemerit_course_corner_02.png);
}
.fivemerit-courseList > *:nth-child(3):before {
	background-image: url(../images/fivemerit_course_corner_03.png);
}
.fivemerit-courseList > *:nth-child(4):before {
	background-image: url(../images/fivemerit_course_corner_04.png);
}
.fivemerit-courseList > *:nth-child(5):before {
	background-image: url(../images/fivemerit_course_corner_05.png);
}

.fivemerit-courseList > *:nth-child(2) {
    background-color: #00DAFF;
}
.fivemerit-courseList > *:nth-child(3) {
    background-color: #FFBE00;
}
.fivemerit-courseList > *:nth-child(4) {
    background-color: #F0E68C;
}
.fivemerit-courseList > *:nth-child(5) {
    background-color: #1CDC00;
}

@media screen and (max-width: 540px) {
    .fivemerit-courseList > *:nth-child(4) .fivemerit-course-data {
        flex-direction: column;
        align-items: flex-start;
    }
}

.fivemerit-courseList > *:nth-child(4) .fivemerit-course-data dd {
    font-size: 14px;
    font-weight: normal;
}

@media screen and (max-width: 540px) {
    .fivemerit-courseList > *:nth-child(4) .fivemerit-course-data dd {
        font-size: 12px;
    }
}

.fivemerit-courseList > *:nth-child(2) .fivemerit-course-more::after {
    background-color: #00BBFF;
}

.fivemerit-courseList > *:nth-child(3) .fivemerit-course-more::after {
    background-color: #FF8E00;
}

.fivemerit-courseList > *:nth-child(4) .fivemerit-course-more::after {
    background-color: #FFD700;
}

.fivemerit-courseList > *:nth-child(5) .fivemerit-course-more::after {
    background-color: #03BF00;
}
