@charset "utf-8";

.flex-toc-img {
    display: flex;
    margin: auto;
    width: 96%;
    justify-content: space-around;
}
.flex-toc-img li {
    flex-basis: 22%;
}
.flex-toc-img li:hover {
    opacity: .8;
}
.content-text {
    padding: 0 2% 1%;
    text-align: center;
}
.content-text p {
    color: #4b4b4b;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1.4px;
    line-height: 1.5;
}
.content-text p,
.item-wrap .inner-box {
    font-family: 'Meiryo UI','ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
}
.item-wrap {
    padding: 2% 3%;
}
.item-wrap.item-bg1 {
    background-color: #ffe1e9;
}
.item-wrap.item-bg2 {
    background-color: #ffe5cc;
}
.item-head {
    display: block;
    text-align: center;
    margin-bottom: .8rem
}
.item-wrap .inner-box {
    background-color: #fff;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: .8rem;
}
.inner-box.item-block img {
    margin: auto;
    max-width: 100% !important;
    width: fit-content;
}
.item-wrap .box-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.item-wrap .inner-box,
.item-wrap .box-list li {
    margin-bottom: 1.2rem;
}
.item-wrap .box-list li {
    flex-basis: 48.6%;
}
.item-wrap .img-box {
    margin-bottom: 0.4rem;
}
.item-wrap .name {
    color: #dc004c;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1.3px;
}
.item-wrap .inner-box .text {
    font-size: .86rem;
    line-height: 1.3;
    letter-spacing: 1.5px;
}
.item-wrap .item-btn {
    display: block;
    text-align: center;
    margin: auto;
    width: 80%;
}
.item-wrap .flex-btn {
    display: flex;
    justify-content: center;
}
.item-wrap .item-btn:hover {
    opacity: .9;
}
.item-wrap .box-last-text {
    color: #555;
    display: block;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: .6rem;
}

/* スマホ用 */
@media screen and (max-width: 560px){
.item-wrap .box-list li.sp-block {
    flex-basis: 100%;
}
.item-wrap .flex-btn {
    flex-direction: column;
}
.item-wrap .flex-btn .item-btn {
    width: 60%;
}
.item-wrap .flex-btn .item-btn:not(:last-of-type) {
    margin-bottom: 0.6rem;
}
}

/* PC用 */
@media screen and (min-width: 561px){
.item-wrap {
    padding: 2% 4%;
}
.flex-toc-img {
    width: 90%;
}
.flex-toc-img li {
    flex-basis: auto;
}
.item-wrap .item-btn {
    width: fit-content;
}
.item-wrap .box-last-text {
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.item-wrap .inner-box {
    padding: 1.2rem;
}
.item-wrap .inner-box .name {
    font-size: 1rem;
}
.item-wrap .inner-box .text {
    font-size: 0.96rem;
    line-height: 1.3;
    letter-spacing: 1.5px;
}
.item-wrap .flex-btn {
    flex-direction: row;
}
.item-wrap .flex-btn .item-btn {
    margin: 0;
}
.item-wrap .flex-btn .item-btn:not(:last-of-type) {
    margin-right: 0.8rem;
}
}

