html{
    font-size: 62.5%;
}

@media (min-width: 1200px) {/* 1200px以上*/
    h3 {
        font-size: 3.6rem;/* 36px*/
    }
    h4 {
        font-size: 2.4rem;/* 24px*/
    }
    body {
        font-size:1.6rem;/* 16px*/
        line-height: 2;
    }
    .pricecard {
        width:32%;
        padding:1%;
        float:left;
        box-sizing :border-box;
    }
}
@media screen and (min-width:641px) and (max-width:1199px) {/* 641px以上*/
    h3 {
        font-size: 2rem;/* 36px*/
    }
    h4 {
        font-size: 1.8rem;/* 24px*/
    }
    body {
        font-size:1.3rem;/* 16px*/
        line-height: 2;
    }
    .pricecard {
        width:32%;
        padding:1%;
        float:left;
        box-sizing :border-box;
    }
}
@media screen and (max-width: 640px) {/* 640px以下*/
    h3{
        font-size: 1.3rem;/* 24px*/
    }
    h4 {
        font-size: 1rem;/* 20px*/
    }
    body {
        font-size:0.9rem;/* 16px*/
        line-height: 2;
    }
    .pricecard {
        width:32%;
        padding:1%;
        float:left;
        box-sizing :border-box;
    }
}

ul {
  list-style: none;
}
li a {
  display: block;
}
li strong {
    display: block;
  }
.pricecards{
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    -webkit-justify-content: center;
    width: 100%;
    padding-left: 0px;
}
.pricecard h3{
    background: #a2bc10;
    color: #fff;
    padding: 3px 9px 9px 9px;
    margin: 0;
}
.pricecard.premium{
    border: 3px solid #06c7ea;
    padding-bottom: 3rem
}
.pricecard.premium h3{
    background: #06c7ea;
    color: #fff;
    padding: 10px;
    margin: 0;
}
.pricecard h4{
    margin: 0 auto;
    padding: 0;
}
.pricecard.premium h4 {
    padding: 20px;
}
.pricecard p{
    margin: 0 0 -7px 0;
    padding: 0 1px 0 1px;
    text-align: center;
}
.hurigana{
    font-size: 7px;
}
.pricecard a{
    padding-top: 0.1em;
    margin: 0.1em 0.5em;
    height: auto;
    text-align: center;
    background: #fb5859;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    display: inline-block;
    font-size: 9pt;
    width: 88%;
}

div.tag {
    display: block;
    font-size: 7px;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 80%;
    margin: auto;
    padding: 1px 0px;
    font-weight: bold;
    border: 1px solid #27acd9;
    color: #27acd9;
    border-radius: 100vh;
    transition: 0.5s;
}
div.tag:hover {
	color: #fff;
	background: #27acd9;
}
.picture {
    text-align: center;
}
.main_picture {
    width:98%;
}
/**
ページネーション用
**/
.pagination_main {
    margin-top      : 10px;
    margin-bottom   : 10px;
    margin-left     : auto;
    margin-right    : auto;
    width           : 90%;
}

.pagination {
    font-size: 7pt;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 8px;
    list-style-type: none;
    padding: 0;
}

.pagination a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3em; /* 幅を少し広げて調整 */
    height: 3em; /* 高さも同様に調整 */
    padding: 1em; /* 文字とボーダーの間にスペースを作る */
    border: 1px solid #c21887;
    border-radius: 24px; /* 角を丸める */
    color: #c21887;
}

.pagination a:not(:hover) {
    text-decoration: none;
}

.pagination .current a {
    background-color: #c21887;
    color: #fff;
    pointer-events: none;
}
.pagination .prev a,
.pagination .next a {
    gap: 0 4px;
    width: auto;
    padding: .5em .8em;
    line-height: 1;
}

.pagination .prev a::before,
.pagination .next a::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .3em;
    height: .3em;
    content: '';
}

.pagination .prev a::before {
    border-bottom: 1px solid #c21887;
    border-left: 1px solid #c21887;
}

.pagination .next a::after {
    border-top: 1px solid #c21887;
    border-right: 1px solid #c21887;
}