html {
  scroll-behavior: smooth;
}
body {
    background: #f2f5f5;
    margin: 0;
    width: 100%;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
p{    
    margin: 0;
    line-height: 1.7;
}
a{
    color: #4b93b1;
}
.pagetop2{
    margin: 60px auto 40px;
}
#scroll-to-top-btn{
    background: url(https://630hso4ag2.user-space.cdn.idcfcloud.net/image/moon/btn_scroll_to_top.svg) no-repeat scroll center center / 87px 88px;
    display: block;
    width: 87px;
    height: 88px;
    margin: 0 auto;
    cursor: pointer;
}
.ctr{
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.bold {
   font-weight: 700;
}
.size26 {
    font-size: 26px;
}
.size22 {
    font-size: 22px;
}
.size18 {
    font-size: 18px;
}
.size16 {
    font-size: 16px;
}
.size15 {
    font-size: 15px;
}
.size14 {
    font-size: 14px;
}
.size13 {
    font-size: 13px;
}
.size12 {
    font-size: 12px;
}

/* プライム広告 */
footer a.ctr {
  text-decoration: none;
  color: inherit; /* リンク色も変えたくなければ追加 */
}
.pr_prime{
    width: 340px;
    color:#FFFFFF;
    font-family: 'Zen Maru Gothic', sans-serif;
}
.pr_subtitle{
    margin: 40px 0px 0px 0px;
    background: #5b64b2;
    border-radius: 8px 8px 0px 0px;
    padding: 12px 10px 0px 10px;
    font-size: 15px;
}
.pr_title{
    background: #5b64b2;
    padding: 2px 10px;
    font-size: 26px;
}
.pr_title span{
    font-size: 22px;
    padding:0 2px;
}
.pr_desc{
    background: #5b64b2;
    padding: 2px 10px 12px 10px;
    font-size: 15px;
}
.pr_desc span{
    font-size: 18px;
    padding:0 2px;
}
.pr_desc .font_yellow{
    color:#f5eb8e;
}
.pr_tokuten{
    background: #FFFFFF;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    padding: 12px 0 2px 0;
}
.pr_tokuten div{
    height: 100px;
    justify-content: center;
    width: 100px;
    gap:10px;
}
.pr_tokuten p {
    color: #5b64b2;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    position: relative;
    display: inline-flex;   /* テキストを中央に */
    align-items: center;    /* 縦中央揃え */
    justify-content: center;/* 横中央揃え */
    z-index: 1;
    width: 100px;
    height: 100px;
}

.pr_tokuten p::after {
    content: "";
    position: absolute;
    top: 49%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: url(../common/img/pr_prime.svg) no-repeat center/contain;
    transform: translate(-50%, -50%); /* 完全中央配置 */
    z-index: -1; /* テキストの背面に配置 */
}
.pr_last{
    color: #1f2121;
    background: #FFFFFF;
    font-weight: 500;
    padding: 2px 10px 12px 10px;
    font-size: 14px;
    border-radius: 0px 0px 8px 8px;
}
.pr_last span::before{
    content: '';
    display: inline-block;
    background: url(https://630hso4ag2.user-space.cdn.idcfcloud.net/image/subscription7/point_left.svg) no-repeat;
    width: 16px;
    height: 14px;
    padding-right: 4px;
}
.pr_last span::after{
    content: '';
    display: inline-block;
    background: url(https://630hso4ag2.user-space.cdn.idcfcloud.net/image/subscription7/point_right.svg) no-repeat;
    width: 16px;
    height: 14px;
    padding-left: 4px;
}
.pr_btn{
    align-items: center;
    background: #5b64b2;
    border-radius: 128px;
    box-shadow: 2px 4px 0px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 12px;
    width: 280px;
    text-decoration: none;
    font-size: 16px;
    color:#f5eb8e;
}

/* パンくず */
#topicpath.topic_cp_v{
    background: #FFFFFF;
    color: #1f2121;
    margin: 0 auto;
    padding: 10px;
    font-size: 14px;
    line-height: 16px;
    gap:8px;
}
#topicpath p{
    font-size: 0.9em;
    line-height: 1.4em;
    width:100%;
    max-width: 750px;
    text-align: left;
}
#topicpath .topic_cp_v span.def {
    max-width: 1000px;
    margin: 0 auto;
}
#topicpath .home_icon {
    background: url(https://lw6nr4oyej.user-space.cdn.idcfcloud.net/cp_zap/common/image/logo/icon_home.svg) no-repeat center center / 100% auto;
    width: 14.4px;
    height: 14.4px;
    display: inline-block;
    text-align: center;
    margin-right: 4px;
}
#topicpath.topic_cp_v a {
    text-decoration: none;
    color: #1f2121;
}

/* フッター */
footer{
    background: #dae2e2;
}
.links{
    width: 100%;
    margin: 0 auto;
    gap:24px;
    padding-top: 40px;
    display:flex;
    max-width:700px;
    flex-direction: row;
    text-align: center;
    justify-content: center;
}
@media screen and (max-width: 767px) {
    .links{
        flex-direction: column;
        gap:12px;
    }
}
.links a{
    color: #72787A;
    font-size: 12px;
    text-align: center;
    line-height: 2;
    text-decoration: none;
}
.copyright{
    padding:20px 0 40px;
    color: #72787A;
    font-size:11px;
    text-align:center;
}


.animation {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    z-index: 2;
}
.animation.in-view {
  opacity: 1;
  transform: translateY(0);
}


.delay1 { transition-delay: 0s; }
.delay2 { transition-delay: 0.2s; }
.delay3 { transition-delay: 0.4s; }
.delay4 { transition-delay: 0.6s; }
.delay5 { transition-delay: 0.8s; }


/* 占いメニュー共通 */
.uranai_tag span{
    background:#1f2121 ;
    font-size: 10px;
    border-radius: 4px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
    padding: 4px 12px;
}
.uranai_price span{
    font-size: 12px;
    font-weight: 700;
    padding: 2px;
}
.uranai_supervisor span{
    background:#1f2121 ;
    font-size: 10px;
    border-radius: 128px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
    padding: 2px 10px;
}


/* 占いメニュー横 */
.uranai_menu{
    margin: 0;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}
.uranai_menu a{
    background: #FFFFFF;
    border-radius: 8px;
    width: 240px;
    padding: 14px 20px;
    text-decoration: none;
    box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.1);
}
.uranai_menu .uranai_tag{
    width: 100%;
    text-align: left;
    margin:-18px -8px 10px 0;
    padding: 0;
}
.uranai_menu :is(h2, h3, h4, h5){
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}
.uranai_menu .uranai_price{
    width: 100%;
    font-size: 10px;
    text-align: right;
    color: #1f2121;
    margin: 0;
    padding: 1px 0 0;
}


/* 占いメニュー縦 */
.uranai_menu_tate{
    margin: 0;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}
.uranai_menu_tate a{
    background: #FFFFFF;
    border-radius: 8px;
    width: 160px;
    padding: 0 0 12px 0;
    text-decoration: none;
    box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.1);
}
.uranai_menu_tate img{
    border-radius: 8px 8px 0 0;    
}
.uranai_menu_tate .uranai_tag{
    width: 100%;
    text-align: left;
    margin:6px 10px 0 10px;
    padding: 0;
}
.uranai_menu_tate :is(h2, h3, h4, h5){
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    margin: 6px 10px 0;
}
.uranai_menu_tate .uranai_price{
    font-size: 10px;
    text-align: right;
    color: #1f2121;
    margin: 0;
    padding: 0 10px;
}

/* 占いサイト */
.uranai_site{
    margin: 0;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}
.uranai_site a{
    background: #FFFFFF;
    border-radius: 8px;
    width: 240px;
    padding: 16px;
    text-decoration: none;
    box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.1);
}
.uranai_site :is(h2, h3, h4, h5){
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin: 4px 0;
}
.uranai_site .uranai_supervisor{
    text-align: left;
    padding: 0;
    display: flex;
    gap: 4px;
}


/* アニメーション　pulse */
.anime_kirakira{
width:var(--size);
height:var(--size);
display:inline-block;
will-change: transform, filter;
transform-origin:50% 50%;
/* スムーズなリピートアニメーション */
animation: pulse var(--duration) ease-in-out infinite;
/* 軽く光らせる */
filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
}
@keyframes pulse{
0%{ transform: scale(var(--scale-min)); }
50%{ transform: scale(var(--scale-max)); }
100%{ transform: scale(var(--scale-min)); }
}
@media (prefers-reduced-motion: reduce){
.anime_kirakira{ animation: none; transform: none; }
}