@charset "UTF-8";

/* 共通部分 ---------------------------------------------------------*/

html {
    font-size: 100%;
}

body {
    color: #ffffff;
    background-color: #1C1C1C;
    line-height: 1.5;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

p {
    font-size: 0.96em;
}



/* コンテンツ ---------------------------------------------------------*/

body {
    color: #ffffff;
    background-color: #1C1C1C;
    background-image: url(../icon/warning1.png), url(../icon/warning2.png);
    background-repeat: no-repeat, no-repeat;
    background-position: 10%, 90%;
    background-size: 65px, 65px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
    font-weight:500;
}

    .rating-wrapper { 
        text-align: center;
        margin-top: 9%;
        }
   
    .rating-wrapper p {
        margin: 20px 0 13px;
    }

.rating {
    width: 180px;
}

/* スライドボタン --------------------------------------------------*/



/* ボタンの押せる範囲 */
.btn-wrap button a {
    font-size: 1.25rem;
    border-radius: 2px;
    padding: 13px 40px;
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.btn-wrap button a:hover {
    transition : none;
}



/* コンテナ */
.btn-wrap {
  text-align:center;
  margin: 3.5em 0;
}

/* ボタン本体 */
.btn-fill-left {
  position: relative;
  display: inline-block;
  min-width: min(145px, 100%);
  padding: 10px 0;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 2px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff; /* 基準色 */
}

/* ボタン文字 */
.btn-fill-left span {
  position: relative;
  z-index: 3;
  color: currentColor;
  transition: color .2s ease;
}

.btn-fill-left a {
  color: #1C1C1C;
}

/* ホバー時の文字色 */
.btn-fill-left:hover a {
  color: #fff;
}

/* 左から広がる背景 */
.btn-fill-left::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: currentColor;
  background-color: #F97BA3;
  border-radius: 2px;
  transform: scaleX(0); /* 横幅0 = 非表示状態 */
  transform-origin: right center;  /* 右端を起点に縮小（右→左方向に畳まれる状態） */
  transition: transform .3s ease-out;
  will-change: transform;
}

/* ホバーで展開 */
.btn-fill-left:hover::before {
  transform-origin: left center; /* 左端を起点に拡大 */
  transform: scaleX(1);  /* 横方向100% = 全面展開 */
}







/* レスポンシブ対応 ---------------------------------------------------------*/


@media (max-width: 768px) {


    body {
        background-image: url(../icon/warning1.png), url(../icon/warning2.png);
        background-repeat: no-repeat, no-repeat;
        background-position: -15%, 115%;
        background-size: 55px, 55px;
    }


    .rating {
        width: 140px;
        margin-bottom: 17px;
    }

    .rating-wrapper p {
        margin: 13px 0 0;
    }

    .index-box {
        margin-top: 50px;
        padding: 0 50px;
    }


   /* コンテナ */
   .btn-wrap {
     text-align:center;
     margin: 3em 0;
   }
   

}