@charset "UTF-8";

/* ------------------------------------------------------------
 独自リセット・共通スタイル
------------------------------------------------------------ */

html {
  scroll-behavior: smooth;
}
/*for SP*/
@media screen and (max-width:750px) {
  .font-size-S {
      font-size: 14px;
  }
  .font-size-M {
      font-size: 16px;
  }
  .font-size-M2 {
    font-size: 20px;
  }
  .font-size-L {
      font-size: 24px;
  }
}

/*for PC*/
@media screen and (min-width:750px) {
  .font-size-S {
      font-size: 18px;
  }
  .font-size-M {
      font-size: 20px;
  }
  .font-size-M2 {
    font-size: 24px;
  }
  .font-size-L {
      font-size: 32px;
  }
}

body {
  /* 游ゴシック体 */
  font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  background-image: url("../img/back.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
  background-attachment: fixed;
  color: #393f3e;
}

a {
  text-decoration: none;
  transition-duration: 0.2s;
}
@media (min-width: 960px) {
  a:hover {
    transition-duration: 0.2s;
  }
}

@media (min-width: 960px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
p {
  line-height: 1.6em;
  color: #393f3e;
}
.bold {
  font-weight: bold;
}

h2 {
  color: #393f3e;
}

h3 {
  color: #393f3e;
}

h4 {
  color: #393f3e;
}

ul, ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

section img {
  display: inline-block;
  vertical-align: bottom;
  width: 100%;
  max-width: 750px;
  height: 100%;
}

*:focus {
  outline: none;
}

/*PCでは無効（改行しない）*/
.br-sp{
  display: none;
}

/*スマートフォンでは有効（改行する）*/
@media screen and (max-width:768px) {
  .br-sp{
      display: block;
  }
}

.topic {
  background:linear-gradient(transparent 50%, #ff6 70%);
  font-weight: bold;
}

.red {
  color: #fa4141;
  font-weight: bold;
}

.star5_rating{
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
  color: #CCCCCC; /* グレーカラー 自由に設定化 */
  /*font-size: 30px; フォントサイズ 自由に設定化 */
}

.star5_rating:before, .star5_rating:after{
  content: '★★★★★';
}

.star5_rating:after{
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #ffcf32; /* イエローカラー 自由に設定化 */
}

.star5_rating[data-rate="5"]:after{ width: 100%; } /* 星5 */
.star5_rating[data-rate="4.5"]:after{ width: 90%; } /* 星4.5 */
.star5_rating[data-rate="4"]:after{ width: 80%; } /* 星4 */
.star5_rating[data-rate="3.5"]:after{ width: 70%; } /* 星3.5 */
.star5_rating[data-rate="3"]:after{ width: 60%; } /* 星3 */
.star5_rating[data-rate="2.5"]:after{ width: 50%; } /* 星2.5 */
.star5_rating[data-rate="2"]:after{ width: 40%; } /* 星2 */
.star5_rating[data-rate="1.5"]:after{ width: 30%; } /* 星1.5 */
.star5_rating[data-rate="1"]:after{ width: 20%; } /* 星1 */
.star5_rating[data-rate="0.5"]:after{ width: 10%; } /* 星0.5 */
.star5_rating[data-rate="0"]:after{ width: 0%; } /* 星0 */

/* ------------------------------------------------------------
  body-wrapper
------------------------------------------------------------ */
.body-wrapper {
  position: relative;
  overflow-x: hidden;
  background: #fff;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 0 30px rgba(62, 35, 48, 0.1);
}

/* ------------------------------------------------------------
  header
------------------------------------------------------------ */
/* Header Container */
.header {
  background-color: #fff;
  width: 100%;
  height: 52px;
  display: flex; /* フレックスボックスで要素を整列 */
  justify-content: space-between; /* ロゴとハンバーガーメニューを左右に配置 */
  align-items: center; /* 縦方向の中央揃え */
  padding: 0 10px; /* ヘッダーの左右に余白 */
  box-sizing: border-box;
  position: relative; /* メニューの位置制御のために追加 */
}

/* Logo Container */
.logo-container {
  display: flex; /* フレックスボックスで調整可能 */
  align-items: center;
}

/* Logo */
.logo {
  max-height: 40px; /* ロゴがヘッダーに収まるように高さを調整 */
  height: auto;
  max-width: 210px;
}

/* Hamburger Menu Button */
.menu-btn {
  display: none;
}

.menu-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding: 24px 14px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Hamburger Icon */
.navicon {
  background: #ddd;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3s;
}

.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #ddd;
  transition: 0.3s;
}

.navicon:before {
  top: 9px;
}

.navicon:after {
  bottom: 9px;
}

/* Hamburger Menu Animation */
.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
}

.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
  top: 0;
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
  bottom: 0;
}


/* Navbar Menu */
.menu {
  list-style: none;
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  margin: 52px 0 0;
  padding: 0 0 10px 0;
  background-color: #fff;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 0.3s;
  z-index: 1000; /* メニューが他の要素の下に隠れないようにする */
}

/* Menu Visibility */
.menu-btn:checked ~ .menu {
  transform: scale(1, 1);
}

/* Menu Links */
.menu a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 16px;
  text-transform: capitalize;
  color: #ef856e;
  opacity: 0;
  transition: opacity 0.5s;
}

.menu li {
  border-top: 1px solid rgb(75, 75, 75);
  padding: 15px 0;
  margin: 0 54px;
  opacity: 0;
  transition: opacity 0.5s;
}

/* Make Menu Items Visible */
.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
  opacity: 1;
}

/* ------------------------------------------------------------
  fv
------------------------------------------------------------ */
.fv {
  position: relative;
}
.timerbox {
  position: absolute;
  bottom: 3%;
  right: 1%;
  font-size: 0.6rem;
  text-align: center;
}
.timer {
  color: #fff;
}
.h {
  color: #fdf405;
  font-weight: bold;
}
.m {
  color: #fdf405;
  font-weight: bold;
}
.s {
  color: #fdf405;
  font-weight: bold;
}
.end {
  color: #fff;
  font-size: .9rem;
}

@media screen and (min-width:410px) {
  .timerbox {
    bottom: 3%;
    right: 2.5%;
    font-size: 0.7rem;
  }
  .end {
    font-size: 1rem;
  }
}
@media screen and (min-width:750px) {
  .timerbox {
    bottom: 3%;
    right: 1%;
    font-size: 1rem;
  }
  .end {
    font-size: 1.4rem;
  }
}

.shindan2 {
  position: relative;
  margin-top: -35px;
  background-color: #fff;
  border: #333 2px solid;
  border-radius: 10px;
  z-index: 10;
  text-align: center;
  overflow: hidden;
}

.shindan2 h2 {
  text-align: center;
  background-color: #01cf1e;
  color: #fff;
  padding: 2px 5px;
}

.shindan2_box {
  margin: 10px 5px;
}

.shindan2 h3 span {
  color: #f3981b;
  margin-right: 5px;
}

.radio_box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 10px;
}

#popupContent .radio_box {
  /* grid-template-columns: repeat(2, 1fr); */
  /* gap: 10px; */
}

.radio_box input {
  display: none;
}

.radio_box label {
  background-color: #fff;
  border: #f3981b 1.5px solid;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 0;
  box-shadow: 0 3px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radio_box input:checked+label {
  background-color: #f3981b;
  color: #fff;
}

.radio_box label img {
  width: 50px;
  margin: auto;
}

.popup-overlay {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup {
  background-color: #fff;
  border: #000 2px solid;
  margin: auto;
  padding: 10px 20px;
  width: 95%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
}

.close-button {
  color: #fff;
  background-color: #01cf1e;
  position: absolute;
  top: -35px;
  right: 0px;
  font-size: 20px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.result-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #04cf1f;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.inner {
  width: 95%;
  margin: auto;
}

/* ------------------------------------------------------------
  cpn
------------------------------------------------------------ */

.transfer-timer{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:.35em;
  padding:.6em 1em;
  margin: .75em 0;
  background:#fff1a4;
  border:3px solid #000;
  border-radius:8px;
  font-weight:700;
  text-align:center;
}
.transfer-timer .label{ font-size:1.05em; }
.transfer-timer .time{ font-size:1.5em; letter-spacing: .02em; color: #f3981b;}
.transfer-timer .suffix{ font-size:1.05em; }
@media (max-width: 768px){
  .transfer-timer{ font-size: 15px; }
}

/* ------------------------------------------------------------
  ランキング
------------------------------------------------------------ */
.ranking {
  background-color: #fffbe5;
  padding-bottom: 15%;
  text-align: center;
  padding-top: 10%;
}
.ribbon {
  position: relative;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  padding: 0 1rem;
  background-color: #f9ed81;
  color: #393f3e;
  font-weight: bold;
  margin-top: -20%;
  text-align: center;
}
.ribbon::before, .ribbon::after {
  position: absolute;
  top: 0;
  width: 0px;
  height: 0px;
  border-color: #f9ed81 transparent;
  border-style: solid;
  content: '';
}
.ribbon::before {
  left: -14.5px;
  border-width: 20px 0px 20px 15px;
}
.ribbon::after {
  right: -14.5px;
  border-width: 20px 15px 20px 0px;
}
.ranking h2 {
  margin-top: -3%;
}
.rank_body {
  padding: 2%;
  height: 100%;
  background-color: #fff;
  border-radius: 5px;
  /* width: 98%; */
  margin: 0 auto 5%;
  position: relative;
  border: 3px solid #000;
}
.crown {
  width: 50px;
  height: 45px;
  position: absolute;
  top: 0.2%;
  left: 1%;
}
@media screen and (min-width:750px) {
  .crown {
    width: 60px;
    height: 55px;
  }
}
.rank_body h3 {
  text-align: left;
  margin-left: 50px;
  margin-top: 2%;
  display: flex;
  justify-content: space-between;
}
.rank_body h3 a {
  color: #0071bc;
  text-decoration: underline;
}

.review-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9em;
  color: #333;
  margin-left: 10px;
  cursor: pointer;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.review-link:hover {
  opacity: 0.8;
}

.review-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  vertical-align: middle;
}

.rank_img {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.rank_img a{
  flex: 1.5;
}
/* .rank_table {
  flex: 2;
}
.rank_table table{
  border-collapse: collapse;
  border-spacing: 1;
  border: solid 1px #b5b5b6;
  table-layout: fixed;
  width: 100%;
}
.rank_table table th{
  text-align: center;
  padding: 1px 0;
  border: solid 1px #b5b5b6;
}
.rank_table table td{
  padding: 1% 0;
} */

.rank_table{
  flex: 2;
}

/* テーブル本体 */
.rank_table table{
  width: 100%;
  border-spacing: 5px;
  table-layout: fixed;
  background: #fff; 
  font-weight: 700;
}

.rank_table table th,
.rank_table table td{
  border: none;
  padding: .7em .8em;
  vertical-align: middle;
  background: #eee;
}

.rank_table table .item th{
  background: #b2f0bb;
  color: #111;
}

.rank_table table tr + tr td{
  background: #eee;
  color: #333;
}

/* 赤い数値を強調（%や分は小さめに） */
.rank_table .red{
  color: #e53935;            /* 明るめの赤 */
  font-size: 1.6em;          /* 数値を大きく */
  line-height: 1;
}
.rank_table .unit{
  font-size: .85em;          /* 単位を小さく */
  margin-left: .15em;
}

/* 行の高さを揃えやすくする（任意） */
.rank_table table .item th,
.rank_table table tr + tr td{
  height: 44px;
}

.item {
  font-size: 12px;
  /* font-weight: 200; */
  /* background: #eeeff0; */
}
.card {
  display: flex;
  min-width: 0;
}
.card img {
  min-width: 0;
}

.box1{
  border-radius: 5px;
  margin-top: 5%;
  background: #fffbe5;
  padding-top: 10px;
}
.box1 h4 {
  background: #54c38e;
  color: #FFF;
  text-align: center;
  margin: 0;
  padding: 3px;
}
.box1 .inner{
  padding: .5em .5em;
}
.box1 img{
  width: 40%;
}
.list-01 {
  list-style-type: none;
  padding-top: 0px;
}
.list-01 li {
  display: flex;
  align-items: center;
  position: relative;
  padding: .3em .3em .3em 1.8em;
  margin-bottom: 5px;
}

.list-01 li::before,
.list-01 li::after {
  position: absolute;
  content: '';
}

/* .list-01 li::before {
  left: 0;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background-color: #54c38e;
} */

.list-01 li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2em;
  height: 1.2em;
  background-color: #f3981b;
  color: #fff;
  border-radius: 50%;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button_solid016 {
  text-align: center;
  margin-top: 3%;
}

.shiny-btn3 {
  position: relative;
  display: inline-block;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  padding: 8px 15px;
  min-width: 280px;
  color: #FFF;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  background-color: #fc6247;
  filter: drop-shadow(0px 2px 4px #ccc);
  border-radius: 50px;
  line-height: 1.5rem;
  overflow: hidden;
}

.review_h4 {
  position: relative;
  display: inline-block;
  padding: 0 20px;
  color: #4271d6;
  width: 100%;
  margin: 5% auto 0;
  text-align: center;
}
.review_h4:before, .review_h4:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 80px;
  height: 2px;
  background-color: #4271d6;
}
.review_h4:before {
  left: 5%;
}
.review_h4:after {
  right: 5%;
}

.box30 {
  margin: 2% 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
  border: solid 1px rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  text-align: left;
  background-color: #fff;
}
.box30 div {
  padding: 15px 3%;
  margin: 0;
}
.prf {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prf img {
  width: 20%;
}
.prf p {
  line-height: 1.3rem;
  font-weight: bold;
}
.gray {
  font-weight: 100;
  color: gray;
  font-size: 12px;
}

.modal__wrap input {
  display: none;
}
.modal__open-label,
.modal__close-label {
  cursor: pointer;
}
.modal__open-label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  margin:0 auto;
  padding: .8em 2em;
  border: none;
  border-radius: 5px;
  background-color: #dcdddd;
  color: #393f3e;
  font-weight: 600;
  font-size: 1em;
  border-bottom: solid 3px #898989;
}
.modal__open-label:hover {
  opacity: 0.6;
  outline: 1px solid #dcdddd;
}
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}
.modal__open-input:checked + label + input + .modal {
  display: block;
  animation: modal-animation .6s;
}
.modal__content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 650px;
  background-color: #fefefe;
  z-index: 2;
  border-radius: 5px;
}
.modal__close-label {
  background-color: #777;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 20px;
  width: 36px;
  height: 36px;
  line-height: 1.6;
  text-align: center;
  display: table-cell;
  position: fixed;
  top: -15px;
  right: -2%;
  z-index: 99999;
  font-size: 1.3em;
}
.modal__content {
  max-height: 50vh;
  overflow-y: auto;
  padding: 39px 45px 40px;
}
.modal__background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .45);
  z-index: 1;
}
@keyframes modal-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.timer_in_box {
  background-color: #393f3e;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 5px 0; */
  font-size: 0.9rem;
  margin-top: 5%;
  border: 3px solid #000;
  color: #fff;
}
.time-p{
  background: #fff;
  color: #393f3e;
  padding: 3px 0;
  font-weight: bold;
  position: relative;
}
.time-p:before {
  content: url(../img/clock.png);
  vertical-align: middle;
  padding-right: 2px;
  padding-left: 3px;
}
.time-p::after {
  content: "";
  position: absolute;
  right: -7px;       /* 位置調整（背景との重なりに応じて微調整OK） */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 8px solid #fff;  /* 白い三角 */
}

.rank_body .timerbox {
  position: relative;
  color: #fff;
  border-radius: 30px;
  padding: 0px 5px;
  font-size: 0.7rem;
  max-width: 80%;
  text-align: center;
}


/* solid015 */
.button_solid015 {
  text-align: center;
}
.shiny-btn2 {
  position: relative;
  display: inline-block;
  justify-content: space-around;
  align-items: center;
  margin: 5% auto 0;
  padding: 5px 15px 10px;
  min-width: 320px;
  color: #FFF;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  background: linear-gradient(#fa715a 0%, #fa715a 50%, #fc6247 51%, #fc6247 100%);
  box-shadow: 0 1px 2px #606060, 0 0 2px #FFF inset;
  border-radius: 5px;
  line-height: 2rem;
  overflow: hidden;
}
.shiny-btn2:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}
.shiny-btn2::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  transition: 0.2s;
  animation: shiny-btn2 4s ease-in-out infinite;
}
@-webkit-keyframes shiny-btn2 {
  0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
  80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
  100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
.btn {
  border-top: #fff 1.5px solid;
  padding-top: 1%;
}

.rank-btn {
  display: block;
  margin: 5% auto 0;
  padding: 15px;
  max-width: 320px;
  color: #FFF;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  background: linear-gradient(#24b876 0%, #24b876 50%, #00ac5f 51%, #00ac5f 100%);
  box-shadow: 0 1px 2px #606060, 0 0 2px #FFF inset;
  border-radius: 5px;
  text-align: center;
}
.rank-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}


.readmore-wrap {
  position: relative;
  width: 100%;
  margin: 5% auto;
}
.readmore-btn {
  /* position: absolute; */
  left: 0;
  right: 0;
  bottom: -55px;
  width: 200px;
  margin: 0 auto;
  padding: 15px;
  background-color: #eee;
  border-radius: 5px;
  color: #333;
  border: 1px solid #aaa;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  z-index:10;
}
.readmore-text {
  position: relative;
  overflow: hidden;
  height: 0px;
}
.readmore-check {
  display: none;
}
.readmore-check:checked + .readmore-btn{
  display: none;
}
.readmore-check:checked ~ .readmore-text {
  height: auto;
}

.under_no9 th {
  padding: 10px 5px;
}

.under_no9 td {
  padding: 10px 0px;
}

.under_no9 tr:first-child {
  background: #dcdddd;
  font-weight: bold;
}

.under_no9 th,td {
  border: solid 1px #b5b5b6;
}

.under_no9 {
  width: 100%;
  background: #fff;
  border-collapse:  collapse;
  text-align: center;
}

.small-btn {
  position: relative;
  display: inline-block;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  padding: 5px 5px;
  color: #FFF;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  font-size: 12px;
  background: #fc6247;
  border-radius: 5px;
  line-height: 1.5rem;
}
.small-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}
.line2 {
  border-bottom: solid 2px #dcdddd;
  padding-top: -15px;
}



/* ------------------------------------------------------------
  比較表
------------------------------------------------------------ */
.box{
  border: 3px solid #fc6247;
  border-radius: 10px;
  position: relative;
  width: 90%;
  margin: 10% auto 5%;
}
.box h3{
  text-align: center;
  position: absolute;
  right: 0;
  left: 0;
  top: -.8em;
}
.box_title{
  padding: 0 .5em;
  background: #FFF;
  color: #393f3e;
}
.box_title:before {
  content: '';/*何も入れない*/
  display: inline-block;
  width: 30px;/*画像の幅*/
  margin: 0 0 4px 0;
  height: 30px;/*画像の高さ*/
  background-image: url(../img/badge.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.box .inner{
  padding: 1.5em .5em 1em;
  text-align: center;
  line-height: 1.8rem;
}
.box .inner span{
  background: linear-gradient(to bottom, transparent 50%, #f6e651 50%);
}

.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 98%;
  max-width: 800px;
  margin: auto;
  margin-top: 20px;
}
.tab-wrap:after {
  content: '';
  width: 100%;
  height: 0px;
  display: block;
  order: -1;
}
.tab-label {
  color: #54c38e;
  background: #fff;
  border: #54c38e solid 2px;
  border-bottom: none;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0,0,0,.2);
  white-space: nowrap;
  text-align: center;
  padding: 5px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}
.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
  background: #54c38e;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
  background: #54c38e;
  color: #fcee21;
  border: solid 1px #ccc;
  border-bottom: none;
}
.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 0px;
  opacity: 1;
  transition: .5s opacity;
  box-shadow: 0 0 3px rgba(0,0,0,.2);
}
/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}

.top{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: solid 1px #ccc;
  background: #fff;
  border-top: none;
  table-layout: fixed;
}

.top th{
  text-align: center;
  background: #e6f7ec;
  padding: 10px 0;
  border: solid 1px #ccc;
  font-weight: bold;
  font-size: 0.9rem;
  border-top: none;
  border-right: none;
  border-left: none;
}

.top tr:first-child {
  box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.3)
}

.top td{
  text-align: center;
  padding: 10px 2px;
  border: solid 1px #ccc;
  font-size: 1.0rem;
}

.top td:first-child{
  text-align: center;
  padding: 10px 2px;
  border: solid 1px #ccc;
  font-weight: bold;
  min-width: 150px;
}

.circle-img {
  margin-bottom: 10px;
  width: 30px;
  height: 30px;
}

.link {
  color: #1a73e8;
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
 .link {
  font-size: 1.0rem;
}
}

.shiny-btn1 {
  position: relative;
  display: inline-block;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  padding: 8px;
  min-width: 60px;
  color: #FFF;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  font-size: 1.0rem;
  background: #fc6247;
  border-radius: 5px;
  line-height: 1.5rem;
  overflow: hidden;
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
 .shiny-btn1 {
  min-width: 90px;
}
}

.shiny-btn1:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}

.shiny-btn1::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    transition: 0.2s;
    animation: shiny-btn2 4s ease-in-out infinite;
}
@-webkit-keyframes shiny-btn1 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/* ------------------------------------------------------------
  安心ポイント
------------------------------------------------------------ */
.point {
  background-color: #f4f5f5;
  padding-bottom: 5%;
}
.point h2 {
  width: 100%;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 5% 0;
  background-color: #faa794;
  margin-top: 10%;
  line-height: 2.3rem;
}
.point h2::after {
  width: 0;
  height: 0;
  position: absolute;
  top: 90%;
  left: 50%;
  margin: 0 0 0 -30px;
  border: 30px solid transparent;
  border-top-color: #faa794;
  content: '';
}
.point h2 span {
  color: #faee84;
  font-size: 2.5rem;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: #eb5433;
}
.point_box {
  background-color: #fff;
  border-radius: 10px;
  width: 95%;
  margin: 8% auto 0%;
  text-align: center;
  padding: 5% .5%;
  line-height: 1.8rem;
}
.point_box h3 span {
  background: linear-gradient(to bottom, transparent 60%, #ffc7bf 70%);
}
.point_box img {
  width: 25%;
  margin: 3% 0;
}

/* ------------------------------------------------------------
  利用の流れ
------------------------------------------------------------ */
.flow {
  background-color: #d4f1cf;
  padding-bottom: 5%;
}
.flow h2 {
  width: 100%;
  text-align: center;
  line-height: 2.3rem;
}
.flow h2 span {
  color: #faee84;
  font-size: 2.5rem;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #429a69;
}
.flow_box {
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: 5%;
  width: 95%;
  margin: 3% auto 0%;
  border-radius: 10px;
  padding: 5% 1%;
  line-height: 1.8rem;
}
.flow_box img {
  flex: 1;
  width: 100px;
}
.flow_box div {
  flex: 2;
}
.flow h3 span {
  color: #fff;
  background-color: #54c38e;
  padding: 1% 2%;
  border-radius: 30px;
  margin-right: 2%;
}
.flow_box p {
  margin-top: 3%;
}

/* ------------------------------------------------------------
  検索
------------------------------------------------------------ */
.form__body{
  padding: 3%;
}
.visually-hidden {
  position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden;
}

.qs-block { margin: 14px 0; }
.qs-label { 
  font-weight:700;
  margin: 0 0 8px;
  color: #f3981b;
 }

.qs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 520px){
  .qs-grid { grid-template-columns: repeat(4, 1fr); }
}

.qs-btn {
  appearance:none; border:2px solid #333; background:#fff; color:#111;
  border-radius:10px; padding:12px; font-weight:700; cursor:pointer;
  box-shadow: 0 3px 0 #333; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.qs-btn:is(:hover,:focus){ transform: translateY(-1px); box-shadow: 0 4px 0 #333; outline:none; }
.qs-btn.is-active { 
  background:#01cf1e;
  color: #fff;
 }

.qs-grid-card .qs-btn { padding:8px; display:flex; align-items:center; justify-content:center; }
.qs-grid-card img{ display:block; width:86px; height:auto; }

/* こだわり条件 */
.qs-toggle {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  border:2px solid #333; background:#fff; border-radius:8px; padding:10px 12px; font-weight:700; cursor:pointer;
}
.qs-toggle-ico { font-weight:900; }
.qs-toggle[aria-expanded="true"] .qs-toggle-ico { transform: rotate(45deg); }

.qs-opts {
  display:grid; grid-template-columns: repeat(2, 1fr); gap:10px;
  padding:10px 0;
}
.qs-check {
  display:block; border:2px solid #333; border-radius:10px; background:#fff; cursor:pointer;
  box-shadow: 0 3px 0 #333; padding:10px 12px; font-weight:700;
}
.qs-check input{ display:none; }
.qs-check input:checked + span { background:#dcdcdc; display:block; border-radius:6px; padding:2px 4px; }

/* アクション */
.qs-actions{ display:flex; gap:12px; justify-content:center; margin:18px 0 6px; }
.qs-clear, .qs-submit{
  appearance:none; border:2px solid #333; border-radius:12px; padding:12px 24px; font-weight:900; cursor:pointer;
  box-shadow: 0 4px 0 #333;
}
.qs-clear{ background:#fff; }
.qs-submit{ background:#f3981b; color:#fff; width: 60%;}
.qs-submit:hover{ filter:brightness(1.05); }

/* こだわり条件のグリッド */
.qs-grid.qs-grid-preferences {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* ラベル全体をボタン風に */
.qs-pref {
  position: relative;
  display: block;
}

/* ボタンの見た目を .qs-btn と揃える */
.qs-pref span {
  display: block;
  border: 2px solid #333;
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 0 #333;
  transition: transform .12s ease,
              box-shadow .12s ease,
              background .12s ease,
              color .12s ease;
}

/* hover/focus の浮き上がり */
.qs-pref span:hover,
.qs-pref span:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #333;
}

/* ネイティブチェックボックスを隠す */
.qs-pref input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* チェックされているとき → .qs-btn.is-active と同じカラー */
.qs-pref input[type="checkbox"]:checked + span {
  background: #01cf1e;
  color: #fff;
}

.loading {
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 100vh;
  padding: 0;
  background: #fdfdfd;
  max-width: 600px;
  margin: 0 auto;
}
.loading.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms;
}
.loading .loading_circle {
  display: block;
  position: relative;
  top: calc( 50% - 20px );
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 8px solid #e0e0e0;
  border-top: 7px solid #54c38e;
  border-radius: 50px;
  animation: loading 700ms linear 0ms infinite normal both;
}
@keyframes loading {
  0% { transform: rotate( 0deg ); }
  100% { transform: rotate( 360deg ); }
}

.result_box {
  background: #fff;
  border: 2px solid #000;
  width: 95%;
  margin: 3% auto;
  font-size: 0.9rem;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
}

.result_box span {
  color: #ea1e1e;
}

.result_box a {
  color: #f3981b;
  text-decoration: underline 0.5px;
  font-weight: bold;
}

.catchcopy {
  text-align: left;
}

#tabContainer {
  margin-bottom: 3%;
}

.tab-button {
  background-color: #fff;
  padding: 8px 5px;
  width: 120px;
  border-radius: 4px;
  position: relative;
  -webkit-box-shadow: 0 4px #000;
  box-shadow: 0 4px #000;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
}
.tab-button.active {
  color: #fff;
  border-color: #006f10;
  -webkit-box-shadow: 0 4px #01cf1e;
  box-shadow: 0 4px #006f10;
  background: #01cf1e;
}

.resultsContainer{
  padding: 5px;
}

/* ------------------------------------------------------------
  コラム
------------------------------------------------------------ */
.design01 {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.0rem;
  margin-top: -30px;
  margin-bottom: 30px;
}

.design01 th {
  padding: 10px;
  background: #e9faf2;
  border: solid 1px #778ca3;
}

.column{
  text-align: center;
  background-color: #c9f6d0;
  padding: 5% 0 10%;;
}
.column h2 {
  width: 100%;
  text-align: center;
  line-height: 2.3rem;
}
.column h2 span {
  color: #ef856e;
  font-size: 2.5rem;
}

.column__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  position: relative;
  text-align: left;
  margin-top: 5%;
}

.column-item a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  border: 1px solid #798281;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  padding: 10px 15px 10px 5px;
  border-radius: 4px;
  background: #fff;
  position: relative;
  min-height: 55px;
}

.column-item a:after {
  content: "";
  position: absolute;
  right: 7px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background: url(../img/icon-links.svg) no-repeat center/contain
}

@media screen and (max-width: 750px) {
  .column-item a:after {
      right:4px
  }
}

@media screen and (max-width: 345px) {
  .column-item a {
      height:60px
  }
}

.column-item a img {
  width: 40px
}

@media screen and (max-width: 750px) {
  .column-item a img {
      width:35px
  }
}

@media screen and (max-width: 345px) {
  .column-item a img {
      width:10vw
  }
}

.column-item a p {
  font-weight: bold;
  line-height: 1.2
}

.column-item a p small {
  font-size: 1rem
}

@media screen and (max-width: 750px) {
  .column-item a p {
      font-size:13px
  }

  .column-item a p small {
      display: inline;
      letter-spacing: -0.1em;
      font-size: 11px
  }
}

@media screen and (max-width: 345px) {
  .column-item a p br {
      display:none
  }
}

/* ------------------------------------------------------------
  footer
------------------------------------------------------------ */
#footer {
  position: relative;
}

#footer a {
  text-decoration: none;
  color: #393f3e;
}

#footer a:hover {
  text-decoration: underline;
}

#footer .primary {
  padding: 40px 20px;
  background: #eee;
}

#footer .secondary {
  display: flex;
  padding: 20px 20px;
  background: #393f3e;
}

@media screen and (max-width: 750px) {
  #footer .primary {
    padding: 20px 20px;
  }

  #footer .secondary {
    display: block;
    padding: 20px 20px;
  }
}

.primary-inner {
  max-width: 800px;
  margin: auto;
}

/* footer-logo */

#footer .logo {
  position: relative;
  padding: 0;
  margin: 0;
  width: 60%;
}

/* navi */

.navi-row {
  display: flex;
  margin-top: 40px;
}

#footer .navi {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .navi li {
  display: inline-block;
  margin: 0 20px 0 0;
  padding: 0;
}

#footer .navi li:first-child {
  margin-left: 0;
}

@media screen and (max-width: 750px) {
  .navi-row {
    display: block;
    margin-top: 15px;
  }

  #footer .navi {
    font-size: 12px;
  }

  #footer .navi li {
    margin-top: 5px;
    font-size: 12px;
  }
}
/* copyright */

#footer .copyright {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 750px) {
  #footer .copyright {
    width: 100%;
    margin: 10px 0 0;
    text-align: center;
    font-size: 12px;
  }
}



/* ------------------------------------------------------------
  column
------------------------------------------------------------ */
.column_inner {
  padding: 5%;
}

.column_inner h2 {
  padding: 1rem;
  border-left: 5px solid #54c38e;
  background: #f4f4f4;
}
.column_inner p {
  padding: 2%;
  margin-bottom: 5%;
  line-height: 1.5rem;
}
.column_inner h3 {
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #54c38e;/*上線*/
  border-bottom: solid 3px #54c38e;/*下線*/
}
.column_inner h4 {
  border-bottom: 1px solid #54c38e;
}
.column_inner ul {
  padding: 0 5% 5%;
}

@media screen and ( min-width:750px) {
  .column_inner p {
    line-height: 1.8rem;
  }
}

/* ------------------------------------------------------------
  以下運営者情報ページ
------------------------------------------------------------ */
.admin {
  max-width: 800px;
  padding-top: 20px;
  text-align: center;
  margin: auto;
  margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
  .admin {
  padding-top: 80px;
}
}
.admin_page {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-bottom: 50px;
}

.admin_page h3 {
  padding: 0.5rem 2rem;
  border-left: 5px solid #000;
  background: #f4f4f4;
  margin-top: 30px;
  text-align: left;
}

.admin_page p {
  text-align: left;
  margin-top: 10px;
  padding-left: 10px;
  font-size: 16px;
}

.privacy_text {
  margin-top: 20px;
  border: solid 1px gray;
  padding: 10px;
  font-size: 12px;
  text-align: left;
}

.rank_body2 {
  padding: 2%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 1px 8px 0 gray
}
.rank_body2 h3 {
  margin-left: 50px;
  margin-top: 2%
}
.rank_body2 h3 a {
  color: #0071bc;
  text-decoration: underline;
}
.rank_body2 h3 {
  margin-left: 0px;
}
.ranking2 {
  padding-bottom: 2px;
  text-align: center;
  padding: 3% 2.5%;
  background: #fffbe5;
}
.campaingtext {
  padding-top: 5px;
  display: inline-block;
  position: relative;
  background: linear-gradient(transparent 60%, #fdf405b5 60%);
  margin-bottom: 10px;
}
.text1 {
  color: red;
  display: inline-block;
  text-align: center;
}
.campaingbox {
  border: 2px solid #ffd700;
  border-radius: 5px;
  margin: 5px 2px 20px;
  text-align: center;
}
.campaingbox h3 {
  background: #fffbe5;
  color: #393f3e;
  text-align: center;
  margin: 0;
  position: relative;
  padding: 3px;
}




.shindan {
  padding-top: 30px;
  padding-bottom: 30px;
}

.balloon3-right-btm {
  position: absolute;
  display: inline-block;
  margin: 1.5em 15px 1.5em 10px;
  padding: 12px 5px;
  width: 90px;
  height: 90px;
  text-align: center;
  color: #FFF;
  font-size: 20px;
  font-weight: bold;
  background: #f39800;
  border-radius: 50%;
  box-sizing: border-box;
  margin-top: -95px;
}

.balloon3-right-btm:before {
  content: "";
  position: absolute;
  bottom: -8px;
  right: -8px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 15px solid #f39800;
  z-index: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.shindan_body {
  background: #fff;
  width: 94%;
  height: auto;
  margin: auto;
  /* box-shadow: 0 0 1px gray; */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 3px 3px 0 rgba(50, 50, 50, 0.5);
}

.shindan h2 {
  width: 90%;
  margin: auto;
  padding: 0.5rem 1rem;
  background: #28923e;
  font-size: 1.4rem;
  text-align: center;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: -2px;
}


.choose_box {
  position: relative;
  width: 100%;
}

.choose_box p {
  /* margin-top: 5%; */
  margin-bottom: 3%;
  font-size: 20px;
  /* display: block; */
  font-weight: 600;
  text-align: center;
}

.choose_box li {
  margin-top: 0px;
  list-style: none;
  flex: 1;
}

ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}

.step {
  color: #fff;
  font-weight: bold;
  padding-right: 10px;
}

.btn_shindan {
  display: inline-block;
  flex: wrap;
  min-width: 150px;
  color: #ED6C00;
  padding: 10px 20px;
  margin-bottom: 10px;
  text-align: center;
  background-color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #ED6C00;
  text-decoration: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.btn_shindan:hover {
  background-color: #ED6C00;
  color: #fff;
  -webkit-transition: 0.7s;
  -moz-transition: 0.7s;
  -o-transition: 0.7s;
  transition: 0.7s;
}



.fit {
  /* position: absolute; */
  left: 0px;
  top: -10px;
  width: 100%;
  text-align: center;
}

.fit p {
  /* margin-top: 5%;
  margin-bottom: 10%; */
  font-size: 18px;
  /* display: block; */
  font-weight: 600;
  text-align: left;
  background:#ED6C00;
  color:#fff;
  padding:10px;
}


.result_btn {
  display: inline-block;
  flex: wrap;
  min-width: 200px;
  color: #fff;
  padding: 15px 20px;
  margin-bottom: 10px;
  text-align: center;
  background-color: #168e3b;
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 50px;
  cursor: pointer;
}

.result_btn:hover {
  background-color: #fff;
  color: #168e3b;
  border: solid 2px #168e3b;
  -webkit-transition: 0.7s;
  -moz-transition: 0.7s;
  -o-transition: 0.7s;
  transition: 0.7s;
}

.result_type0 {
  margin: auto;
  padding: 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.result_type1 {
  margin: auto;
  padding: 20px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}


.result_theme p {
  text-align: center;
  font-size: 18px;
}


.return-btn {
  margin-top: 25%;
  margin-left: 35%;
  margin-right: 35%;
  width: 30%;
  margin-bottom: 100px;
}

.return {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #2791d4;
  width: 100%;
  padding: 10px 10px;
  border: 1px solid #2791d4;
}

.return:hover {
  border: 1px solid #2791d4;
  background-color: #fff;
  color: #2791d4;
  transition: 0.5s;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;/*最初は非表示*/
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding-top: 60px;
}

.modal-content {
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  max-width: 560px;
  width: 90%;
  position: relative;
  /* 背景画像を設定 */
  background: url("../img/modal_bg.png") no-repeat center center;
  background-size: cover;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0px; right: 0px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding-right:10px;
  color: #959595;
}

.modal-pop {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: auto;
  z-index: 2;
}
@media (max-width: 480px) {
  .modal-pop {
    top: -15%;
  }
}
@media (max-width: 393px) {
  .modal-pop {
    top: -10%;
  }
}

.question_line {
  display: flex;
  align-items: center;
}

.right_text {
  margin-left: auto;
}

.result_btn img {
  width: 80%; 
  height: auto;
  display: block;
}

/*アコーディオン*/
.lp-accordion-container {
      width: 95%;
      margin: 0 auto;
      background-color: #e8f9f5;
      font-family: Arial, sans-serif;
      text-align: left;
      padding: 20px;
    }
    .lp-accordion-header {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 20px;
      color: #55c38e;
      text-align: center;
    }
    span.highlight {
      background: linear-gradient(transparent 70%, #ffff8d 70%);
    }
    .lp-accordion-item {
      margin: 10px 0;
      border-radius: 10px;
      background-color: #ffffff;
    }
    .lp-accordion-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
      font-size: 16px;
      cursor: pointer;
      color: #55c38e;
    }
    /* .lp-accordion-title:hover {
      background-color: #ffe4e1;
    } */
    .lp-accordion-content {
      display: none;
      padding: 15px;
      border-top: 1px solid #55c38e;
      color: #333;
    }
    .content-title {
      text-align:center;
      font-weight:bold;
      margin: 10px 0 20px 0;
      color: #55c38e;
    }
    .content-title span {
      border-bottom: 1px solid #55c38e;
    }

    .lp-highlight-box-wrapper {
    position: relative;
    border: 3px solid #ef856e;
    padding: 20px;
    border-radius: 5px;
    margin: 20px auto;
    background-color: #ffffff;
    margin-top: 40px;
  }

  .lp-highlight-box-header {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 10px;
    width: 300px;
  }

  .lp-highlight-box-text {
    margin-top: 20px;
    text-align: center;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    font-weight: bold;
  }

  .lp-highlight-text {
    display: inline-block;
    background-color: #ffff8d;
    padding: 0 5px;
  }

  .ossusume-wrapper {
    color:#ef856e;
  }
  
  .lp-accordion-icon {
    font-size: 16px;
  }

  .anshin-wrapper{
    border: 3px solid #ef856e;
    padding: 20px;
    border-radius: 5px;
    background-color: #ffffff;
    color:#ef856e;
    font-weight: bold;
    text-align:center;
  }


  /* 電話CTA追加 */

.cta_tel {
  border: none;
  margin: auto;
  width: 100%;
}
.button_solid016 {
  text-align: center;
}
.shiny-btn3 {
  text-decoration: none;
  position: relative;
  display: inline-block;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  padding: 8px 15px;
  min-width: 320px;
  color: #FFF;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  font-size: 20px;
  background: #f39800;
  filter: drop-shadow(0px 2px 4px #ccc);
  border-radius: 50px;
  line-height: 1.5rem;
  border-bottom: solid 5px #dd7e00;
  overflow: hidden;
  box-sizing: border-box;
}
.cta-small2 {
  font-size: 14px;
  font-weight: 300;
}
@media (min-width: 960px) {
  a[href^="tel:"] {
      pointer-events: none;
  }
}

  /* 即日用LP追加 */

.ranking2 .timer_in_box {
  background-color: #fce958;
  border: solid 2px #393f3e;
  color: #393f3e;
  font-weight: bold;
  margin: 0 2% 3%;
}
.ranking2 .timerbox {
  position: relative;
  background: #fff;
  color: #393f3e;
  border-radius: 5px;
  padding: 5px;
  font-size: 0.7rem;
  max-width: 80%;
  text-align: center;
}
.ranking2 .timer {
  color: #393f3e;
}
.ranking2 .h {
  color: #fa4141;
}
.ranking2 .s {
  color: #fa4141;
}
.ranking2 .m {
  color: #fa4141;
}



/* --- ベース構造 --- */
.apply-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;                      /* 隙間を詰める */
  margin: 25px auto;
  text-align: center;
  position: relative;
}

/* 吹き出し部分（少し下に重ねる） */
.apply-badge {
  position: relative;
  display: inline-block;
  background: #f3981b;
  color: #000;
  font-size: 1.2em;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 18px;
  white-space: nowrap;
  margin-bottom: 3px;
  z-index: 2;
}
.apply-badge::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #f3981b transparent transparent transparent;
}

/* --- ボタン本体 --- */
.apply-main {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: #01cf1e;
  color: #fff;
  font-weight: 700;
  font-size: 1.6em;
  text-decoration: none;
  padding: 14px 50px;
  border: 3px solid #000;
  border-radius: 50px;
  box-shadow: 0 3px 0 #000;
  transition: transform .2s ease, box-shadow .2s ease;
  z-index: 1;
}

/* ホバー時 */
.apply-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 6px rgba(0,0,0,0.25);
}

/* --- 光のスライドアニメーション --- */
.apply-main::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  transition: 0.2s;
  animation: shiny-btn2 4s ease-in-out infinite;
}

@keyframes shiny-btn2 {
  0% { transform: scale(0) rotate(45deg); opacity: 0; }
  80% { transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { transform: scale(4) rotate(45deg); opacity: 1; }
  100% { transform: scale(50) rotate(45deg); opacity: 0; }
}

/* スマホ調整 */
@media (max-width: 768px) {
  .apply-main {
    font-size: 20px;
    padding: 12px 36px;
  }
  .apply-badge {
    font-size: 0.75em;
    padding: 3px 10px;
    margin-bottom: -8px;      /* モバイルでは少しだけ重ねる */
  }
}

.select-point{
  padding: 5% 0;
  background-image: url(../img/point-bg.png);
}

.select-point ul{
  margin: 0;
}


/* ---- タブバー ---- */
.tabs-bar {
  position: relative;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  margin: 0 0px 8px;
}

/* 下の太いバー（台座） */
.tabs-underline {
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 8px;
  background: #01cf1e;
}

/* ---- タブボタン ---- */
.tab {
  appearance: none;
  border: 0;
  background: #c9f6d0;          /* 非アクティブ：淡いグリーン */
  color: #0a0a0a;
  font-weight: 700;
  padding: 12px 18px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: all 0.25s ease;
  white-space: nowrap;
  width: 50%;
}

.tab.is-active {
  background: #01cf1e;
  color: #fff;
}

/* フォーカス可視化 */
.tab:focus-visible {
  outline: 2px solid #01cf1e;
  outline-offset: 2px;
}

/* ---- パネル ---- */
.tab-panels {
  background: #fff;
  padding: 12px;
}

.tab-panel { display: block; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-active { display: block; }

/* スマホ調整 */
@media (max-width: 480px) {
  .tab { padding: 10px 12px; font-size: 14px; }
}

/* 見出し */
.learn-accordion { margin: 14px 6px; }
.learn-lead {
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
  margin: 10px 0 14px;
}

/* アイテム枠 */
.acc-item + .acc-item { margin-top: 10px; }

/* ヘッダー：左にナンバー、中央にタイトル、右に丸＋（プラス） */
.acc-header {
  width: 100%;
  display: grid;
  grid-template-columns: 110px 1fr 54px;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 2px solid #000;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: box-shadow .15s ease;
}

.acc-header:hover { box-shadow: 0 2px 6px rgba(0,0,0,.08); }

/* 左のラベル（#f3981bベース） */
.acc-num {
  background: #f3981b;
  color: #fff;
  font-weight: 800;
  padding: 14px 12px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
}

/* タイトル */
.acc-title {
  padding: 14px 12px;
  font-weight: 800;
}

/* 右端の丸＋アイコン（CSSで描画） */
.acc-icon {
  width: 38px; height: 38px;
  margin-right: 8px;
  border-radius: 999px;
  background: #e5e5e5;
  position: relative;
  justify-self: center;
}

/* ＋記号（横棒＋縦棒） */
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: #000;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.acc-icon::before { width: 18px; height: 2px; }   /* 横棒 */
.acc-icon::after  { width: 2px; height: 18px; }   /* 縦棒 */

/* 開いているときは “−” に（縦棒を消す） */
.acc-header[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); opacity: 0; }

/* パネル（スムーズ開閉） */
.acc-panel {
  overflow: hidden;
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: #fff;
  transition: max-height .28s ease;
  max-height: 0;                 /* JSで開く時に scrollHeight を入れる */
}

/* パネル内の画像 */
.acc-image {
  display: block;
  width: 100%;
  height: auto;
}

/* スマホ調整 */
@media (max-width: 480px) {
  .acc-header { grid-template-columns: 92px 1fr 50px; }
  .acc-num { padding: 12px 10px; font-size: 14px; }
  .acc-title { padding: 12px 10px; font-size: 15px; }
  .acc-icon { width: 34px; height: 34px; }
  .acc-icon::before { width: 16px; }
  .acc-icon::after  { height: 16px; }
}

.faq {
  background-color: #fffbe5;
  padding: 5% 0 10%;
}
.faq h2 {
  text-align: center;
  margin-bottom: 5%;
}
.accordion {
  width: 95%;
  margin: auto;
}
.accordion-content {
  display: none;
}
.accordion-header {
  background-color: #FFF;
  padding: 12px 45px 10px 20px;
  margin: 10px 0 0;
  transition: background .3s ease;
  cursor: pointer;
  position: relative;
  box-shadow: 2px 2px 4px rgb(202, 202, 202);
  border-radius: 5px;
  font-weight: bold;
}

.accordion-header::before,
.accordion-header::after{
  position:absolute;
  content:'';
  top:1px;
  right:20px;
  bottom:0;
  width:12px;
  height:2px;
  margin:auto;
  background:#f7941f;
}
.accordion-header::after{
  transform:rotate(-90deg);
  transition:transform 0.3s;
}
.accordion-header.active::after{transform:rotate(0deg);}

.accordion-content {
  background-color: #FFF;
  padding: 12px 20px 10px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  box-shadow: 2px 2px 4px rgb(202, 202, 202);
}

.accordion-header p,
.accordion-content{
  padding-left: 25px;
  position: relative;
}

.accordion-header p::before{
  position: absolute;
  content:"Q";
  top: 0px;
  left: 0;
  color: #f7941f;
  font-size: 24px;
  font-weight: bold;
}

/* hover */
.accordion-header:hover {
  box-shadow: none;
  box-shadow: 2px 0px 2px rgb(202, 202, 202);
  border-top-left-radius:5px;
  border-top-right-radius:5px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

@media screen and (min-width:750px) {
  .accordion-header {
    padding: 22px 45px 20px 20px;
  }
  .accordion-header p,
  .accordion-content{
    padding-left: 35px;
  }
  .accordion-header p::before{
    top: 0px;
    font-size: 32px;
  }
}

#rank-tabb{
  margin-top: 40px;
}

#resultsContainer{
  padding: 5px;
}
