/* カスタマイズする場合にはこれより下に追記してください */

/*
h1 {
    color:#000;
}
div.page-box {
border: 0px;
box-shadow: none;
background-color: #fff;
}
*/


.btn-3 {
    background-color: #36af44; /* ボタン背景色 */
    color: #fff; /* ボタン文字色 */
    box-shadow: 0 3px 0 0 #008000; /* ボタン陰色 */
    font-weight: bold;
    border-radius: 4px;
    max-width: 90%;
    margin: 0.5em auto;
    padding: 0;
    text-align: center;
    line-height: 3.4;
    transition: all .2s ease;
    border-radius: 13px;
}

.btn-3:hover {
    box-shadow: none;
    transform: translateY(5px);
    opacity: 0.8;
}

.btn-3 a {
    text-decoration: none !important;
    color: #fff !important;
    display: block;
    margin: 0;
    padding: 0.5em;
}

.btn-3 > img { float: left; }
.btn-3::after{ content: ''; clear: left; }


}

a.btn_04 {
tdisplay: block;
ttext-align: center;
tvertical-align: middle;
ttext-decoration: none;
twidth: 220px;
tmargin: auto;
tpadding: 1rem 4rem;
tfont-weight: bold;
tborder: 2px solid #36af44;
tbackground: #36af44;
tcolor: #fff;
tborder-radius: 100vh;
ttransition: 0.5s;
}
a.btn_04:hover {
tcolor: #36af44;
tbackground: #fff;
}


/* solid019 */
.button_solid019 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 640px;
    padding: 30px 30px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #36af44;
    filter: drop-shadow(0px 2px 4px #ccc);
    border-radius: 3px;
    border-radius: 50px;
}
.button_solid019 a:after {
    content: '';
    width: 13px;
    height: 13px;
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 46%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button_solid019 a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}


/* solid030 */
.button_solid030 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 640px;
    padding: 30px 30px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #e80909;
    filter: drop-shadow(0px 2px 4px #ccc);
    border-radius: 3px;
    border-radius: 50px;
}
.button_solid030 a:after {
    content: '';
    width: 13px;
    height: 13px;
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 46%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button_solid030 a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);

}








/* solid020 */
.button_solid020 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 640px;
    padding: 30px 30px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #36af44;
    filter: drop-shadow(0px 12px 4px #ccc);
    border-radius: 50px;
    overflow: hidden; /* ← キラリ部分がはみ出さないように追加推奨 */
}

.button_solid020 a:after {
    content: '';
    width: 13px;
    height: 13px;
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 46%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}

.button_solid020 a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}

/* キラリ効果（4秒に1回） */
.button_solid020 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shine {
    0% {
        left: -75%;
        opacity: 0;
    }
    5% {
        left: -75%;
        opacity: 1;
    }
    45% {
        left: 125%;
        opacity: 1;
    }
    50% {
        left: 125%;
        opacity: 0;
    }
    100% {
        left: 125%;
        opacity: 0;
    }
}


















/* figure の線と背景を消す */
figure {
  text-align: center;
  outline: none;
  background: none;
  padding: 10px;
  margin: 10px 20px;
  display: inline-block;
}

/* スマホ表示時に右寄りを修正 */
@media screen and (max-width: 768px) {
  div.contents {
    float: none;
    width: 100%;
    margin: 0 auto;
    text-align: center; /* 画像や文字も中央寄せ */
  }

  figure {
    margin-left: auto;
    margin-right: auto;
    display: block; /* 中央寄せを確実にする */
  }
}



@media screen and (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* 横スクロール防止 */
  }

  div.main,
  div.contents {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  figure {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}


@media screen and (max-width: 768px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* ページ全体のラッパー要素をリセット */
  #wrapper, .wrapper,
  #container, .container,
  #content, .content,
  .site, .site-content {
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  figure {
    margin: 0 auto !important;
    display: block !important;
  }
}


/* figure を中央揃え・線なし */
figure {
    outline: none;
    background: none;
    padding: 10px;
    margin: 10px auto; /* 左右中央寄せ */
    display: block;
    max-width: 100%;
    box-sizing: border-box;
}

/* figure内の画像を中央揃え＆はみ出し防止 */
figure img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* 親要素でも中央寄せを担保 */
figure, figure * {
    text-align: center;
}



@media screen and (max-width: 768px) {
    body, main, .container {
        margin: 0 !important;
        padding: 0 !important;
    }
    h2, h3, table, .affiliate-button {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}






#toc details.index-content {
  display: none !important;
}

