
@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: 18px;
    }
    .font-size-L {
        font-size: 28px;
    }
  }
  
  /*for PC*/
  @media screen and (min-width:750px) {
    .font-size-S {
        font-size: 20px;
    }
    .font-size-M {
        font-size: 20px;
    }
    .font-size-M2 {
      font-size: 28px;
    }
    .font-size-L {
        font-size: 48px;
    }
  }
  

  body {
    /* 游ゴシック体 */
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
    background: #e6e6e6;
    color: #333333;
  }

  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;
  }
  
  ul, ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  section img {
    display: inline-block;
    vertical-align: bottom;
    width: 100%;
    max-width: 750px;
  }
  
  *:focus {
    outline: none;
  }
  
  /*PCでは無効（改行しない）*/
  .br-sp{
    display: none;
  }
  
  /*スマートフォンでは有効（改行する）*/
  @media screen and (max-width:768px) {
    .br-sp{
        display: block;
    }
  }

/* ------------------------------------------------------------
  body-wrapper
------------------------------------------------------------ */
.body-wrapper {
    position: relative;
    overflow-x: hidden;
    background: #fff;
    max-width: 750px;
    margin: auto;
  }
  

.main {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}
.top_image img {
    width: 100%;
}

.text1 {
  color: red;
  display: inline-block;
  text-align: center;
}

/* ------------------------------------------------------------
  年齢認証
------------------------------------------------------------ */
.alert_18{
    padding: 7% 2%;
    text-align: center;
}
.alert_18 img{
    max-width: 180px;
    padding:5% 2%;
    margin: auto;
}
.alert_18 h2{
    margin-bottom: 40px;
}
.perm a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px auto 20px;
    max-width: 300px;
    padding: 20px 25px;
    color: #fff;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #7f7f7f;
    border-radius: 10px;
    text-decoration: none;
}
.under_18 a{
    color: #666;
    text-decoration: underline;
}

.about{
    background: #eee;
    margin: 0 2% 5% 2%;
    padding: 1.5em;
    border-radius: 10px;
}

.footer-top-text{
  background-color: #9E9E9E;
  color: #fff;
  padding: 1em;
  font-size: 12px;
}

footer{
    background: #f5eee8;
    padding: 5%;
}
.footer-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5%;
}
.footer-link a{
    color: #333;
}
.copyright{
    font-size: 0.9rem;
    text-align: center;
    padding: 5px;
    background-color: #d2404d;
    color:#fff;
}
.red-txt{
    color: #d2404d;
    font-weight: bold;
}

.bold {
  font-weight: bold;
}

/* ------------------------------------------------------------
  メインコンテンツ
------------------------------------------------------------ */

.pickup{
    padding: 5% 2%;
    background: #fff;
    text-align: center;
}

.pickup h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
  }
/* .pickup h2:before {
    content: '';
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 60px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: black;
    border-radius: 2px;
} */

.small-txt{
    font-size: 1.8rem;
}

@media (max-width: 750px) {
  .small-txt{
    font-size: 20px;
  }
}

/* =========================
   星評価 共通
========================= */
.rating-wrap{
  font-size: 1.5rem;
  margin: 2% 0;
  font-weight: bold;
  color: #333;
}
.star-rating {
  position: relative;
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
}

/* グレー星（下） */
.star-rating::before {
  content: "\f005\f005\f005\f005\f005";
  font-family: FontAwesome;
  color: #ddd;
}

/* ゴールド星（上） */
.star-rating::after {
  content: "\f005\f005\f005\f005\f005";
  font-family: FontAwesome;
  color: #f5b301;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
}

/* =========================
   評価ごとの幅（0.5刻み）
========================= */
.rating-0::after  { width: 0%; }
.rating-05::after { width: 10%; }
.rating-1::after  { width: 20%; }
.rating-15::after { width: 30%; }
.rating-2::after  { width: 40%; }
.rating-25::after { width: 50%; }
.rating-3::after  { width: 60%; }
.rating-35::after { width: 70%; }
.rating-4::after  { width: 80%; }
.rating-45::after { width: 90%; }
.rating-5::after  { width: 100%; }

/* =========================
   スマホ調整
========================= */
@media (max-width: 768px) {
  .star-rating {
    font-size: 18px;
  }
}


.rank-body{
    height: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 1px 8px 0 gray;
    padding-bottom: 20px;
}

.rank_img {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px;
}

.rank_img img{
  width: min(25vw, 200px);
  border-radius: 10px;
  border: 1px solid #ddd;
}

.rank-head{
  background: #d2404d;
  padding: 10px 0;
  position: relative;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.rank-head a{
  color: #fff;
}

.rank_table{
  flex: 2;
}

.rank_img a {
  flex: 1;
}

.rank_table table{
  width: 100%;
  table-layout: fixed;
  background: #fff; 
  font-weight: bold;
  border-collapse: collapse;
  border-bottom: 1px solid #d2404d;
}

.rank_table tr{
  border-top: 1px solid #d2404d;
  border-left: 1px solid #d2404d;
  border-right: 1px solid #d2404d;
}

.rank_table table th,
.rank_table table td{
  border: none;
  padding: .7em .8em;
  vertical-align: middle;
  background: #fff;
}

.rank_table table .item th{
  background: #f5eee8;
  color: #333;
}

.rank_table table tr + tr td{
  background: #fff;
  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;
  background: #eeeff0;
}

.campaingbox {
  border: 2px solid #ffd700;
  border-radius: 5px;
  margin: 5px 10px 20px;
  text-align: center;
  overflow: hidden;
}

.campaingbox h3 {
  background: #fffbe5;
  color: #393f3e;
  text-align: center;
  margin: 0;
  position: relative;
  padding: 3px;
}

.campaingtext {
  padding-top: 5px;
  display: inline-block;
  position: relative;
  background: linear-gradient(transparent 60%, #fdf405b5 60%);
  margin-bottom: 10px;
}

/* =========================
   ランキング基準 囲み
========================= */
.ranking-criteria {
  position: relative;
  max-width: 720px;
  margin: 40px 10px;
  padding: 40px 30px 30px;

  background: #fff;
  border: 4px solid #f7c9d8;
  border-radius: 26px;
}

/* タイトル（上に被せる） */
.ranking-criteria__title {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);

  padding: 0 18px;
  background: #fff;

  font-size: 22px;
  font-weight: 700;
  color: #f05a8a;
  letter-spacing: 0.08em;
}

/* =========================
   リスト
========================= */
.ranking-criteria__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各項目 */
.ranking-criteria__list li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 22px;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
}

/* 最後の余白なし */
.ranking-criteria__list li:last-child {
  margin-bottom: 0;
}

.ranking-criteria__list li::before {
  content: "\f087";
  font-family: FontAwesome;
  font-size: 22px;
  position: absolute;
  left: 0;
  color: #f05a8a;
}

/* =========================
   スマホ調整
========================= */
@media (max-width: 768px) {
  .ranking-criteria {
    padding: 36px 20px 24px;
  }

  .ranking-criteria__title {
    font-size: 18px;
    white-space: nowrap;
  }

  .ranking-criteria__list li {
    font-size: 16px;
    padding-left: 44px;
  }

  .ranking-criteria__list li::before {
    width: 24px;
    height: 24px;
  }
}

/* =========================
   CTA 全体
========================= */
.apply-button {
  text-align: center;
  margin: 10px;
  position: relative;
  overflow: hidden;
}

.button-label {
  text-align: center;
  font-weight: bold;
  margin-bottom: 0px;
  font-size: 18px;
  color: #ff0000;
}
/* =========================
   メインCTAボタン
========================= */
.apply-main {
  display: inline-block;
  width: 90%;
  max-width: 640px;

  padding: 26px 20px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;

  color: #fff;
  text-decoration: none;
  text-align: center;

  background: #e8346a;
  border-radius: 999px;

  /* 立体感 */
  box-shadow: 0 5px 0 #c61f4f;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* hover（PC） */
.apply-main:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 0 #c61f4f;
}

/* active（タップ時） */
.apply-main:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 #c61f4f;
}

/* =========================
   吹き出し
========================= */
.balloon {
  position: relative;
  max-width: 680px;
  margin: 10px auto;
}

/* 吹き出し本体 */
.balloon-inner {
  display: flex;
  gap: 14px;
  align-items: center;

  background: #fff;
  border: 2px solid #ddd;
  border-radius: 18px;
  padding: 14px 18px;

  position: relative;
}

/* 吹き出しの三角（外枠） */
.balloon-inner::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 60px;

  border-width: 0 12px 14px 12px;
  border-style: solid;
  border-color: transparent transparent #ddd transparent;
}

/* 吹き出しの三角（中） */
.balloon-inner::after {
  content: "";
  position: absolute;
  top: -11px;
  left: 61px;

  border-width: 0 11px 13px 11px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}

/* =========================
   吹き出し：アイコン
========================= */
.balloon-icon {
  text-align: center;
  min-width: 70px;
}

.balloon-icon img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.balloon-icon span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: #555;
}

/* =========================
   吹き出し：テキスト
========================= */
.balloon-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

.balloon-text strong {
  color: #e8346a;
  font-weight: 700;
}

/* =========================
   スマホ調整
========================= */
@media screen and (max-width: 768px) {
  .apply-main {
    font-size: 20px;
    padding: 22px 16px;
  }

  .balloon-inner {
    align-items: flex-start;
  }

  .balloon-text {
    font-size: 14px;
  }
}

/* --- 光のスライドアニメーション --- */
.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;      /* モバイルでは少しだけ重ねる */
  }
}

/* =========================
   口コミセクション
========================= */
.review-section {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

.review-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: 4px dashed #e6e6e6;
}

/* =========================
   口コミ1件
========================= */
.review-item {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
  text-align: left;
}

/* アバター */
.review-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f0f0f0;
}

/* =========================
   吹き出し
========================= */
.review-balloon {
  position: relative;
  background: #f6f6f6;
  border-radius: 20px;
  padding: 18px 22px;
  max-width: 720px;
}

/* 吹き出し三角 */
.review-balloon::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 24px;
  border-width: 10px 14px 10px 0;
  border-style: solid;
  border-color: transparent #f6f6f6 transparent transparent;
}

/* 星評価 */
.review-rating {
  margin-bottom: 10px;
}

/* テキスト */
.review-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* 引用元 */
.review-source {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}

/* =========================
   スマホ対応
========================= */
@media (max-width: 768px) {
  .review-item {
    gap: 14px;
  }

  .review-avatar img {
    width: 56px;
    height: 56px;
  }

  .review-balloon {
    padding: 16px;
  }

  .review-text {
    font-size: 15px;
  }

  .review-title {
    font-size: 22px;
  }
}

/* プレビューエリア */
.review-preview {
  position: relative;
  max-height: 220px; /* ← 高さは調整OK */
  overflow: hidden;
}

/* 下のフェード部分 */
.review-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding-bottom: 15px;

  /* グラデーションで下を消す */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,1) 100%
  );
}

/* もっと見るボタン */
.review-more-btn {
  background: #d2404d;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.review-more-btn:hover {
  opacity: 0.85;
}




:root {
  --main-color: #d2404d;
}

.column-accordion {
  text-align: center;
  background: #f5eee8;
  padding: 5% 2%;
  font-weight: bold;
}

.column-accordion h2{
  margin-bottom: 20px;
}

.column-accordion p{
  font-weight: normal;
}

.column-accordion__title {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--main-color);
}

/* 外枠ボックス */
.column-accordion__box {
  position: relative;
  border: 2px solid var(--main-color);
  border-radius: 6px;
  padding: 6px 0;
  background-color: #fff;
}

/* アコーディオン項目 */
.accordion-item {
  padding: 8px 18px;
}

/* 区切り線（点線） */
.accordion-item + .accordion-item {
  border-top: 1px dashed #d6d6d6;
}

/* 見出しボタン */
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 8px 0;
  text-align: left;
  cursor: pointer;
  font-size: 1.0rem;
  color: var(--main-color);
}

/* 左の丸いアイコン部分 */
.accordion-header__icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 中の矢印（▶） */
.accordion-header__icon::before {
  content: "▶";
  font-size: 10px;
  color: var(--main-color);
  transform: translateX(1px);
  transition: transform 0.2s ease;
}

/* 見出しテキスト */
.accordion-header__text {
  flex: 1;
}

/* 開いているときは矢印を下向きに */
.accordion-item.is-open .accordion-header__icon::before {
  transform: rotate(90deg);
}

/* コンテンツ */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  padding: 0 4px 0 32px;
  text-align: left;
}

.accordion-item.is-open .accordion-content {
  /* max-height は JS で付与 */
  margin-top: 4px;
  padding-bottom: 10px;
}

/* =========================
   黄色マーカー（蛍光ペン風）
========================= */
.marker {
  background: linear-gradient(transparent 60%, #fff3a0 60%);
  font-weight: bold;
}

.accordion-more {
  margin-top: 12px;
  text-align: right;
}

.accordion-more a {
  font-size: 14px;
  font-weight: bold;
  color: #2b66f6;;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.accordion-more a:hover {
  text-decoration: underline;
}

.accordion-more .arrow {
  margin-left: 4px;
  transition: transform .2s ease;
}

.accordion-more a:hover .arrow {
  transform: translateX(4px);
}



.ranking-list{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* メダル画像（1位〜5位で切り替え） */
.rank-head::before {
  content: "";
  position: absolute;
  top: -8px;    /* 少し上にズラして自然に */
  left: 0;
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 600px) {
  .rank-head::before {
    width: 60px;
    height: 60px;
  }
}

/* ランクごとにメダル画像変更 */
.rank-1 .rank-head::before {
  background-image: url("../img/medal1.png");
}

.rank-2 .rank-head::before {
  background-image: url("../img/medal2.png");
}

.rank-3 .rank-head::before {
  background-image: url("../img/medal3.png");
}

.rank-4 .rank-head::before {
  background-image: url("../img/medal4.png");
}

.rank-5 .rank-head::before {
  background-image: url("../img/medal5.png");
}

.rank-6 .rank-head::before {
  background-image: url("../img/medal6.png");
}

/* ===== 診断全体 ===== */
.shindan {
  padding-top:60px;
  text-align: center;
}

.shindan-form {
  margin: 32px 0;
}

/* 質問ブロック */
.shindan-q {
  margin-bottom: 32px;
}

.q-title {
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 16px;
}

/* ===== ラジオをボタン化 ===== */

/* ラジオは非表示 */
.shindan-q input[type="radio"] {
  display: none;
}

/* ===== 初期状態 ===== */
.shindan-q label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 14px 20px;
  margin: 6px 8px 6px 0;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  transition: all 0.25s ease;

  box-sizing: border-box;

  /* 初期：グレー枠 */
  border: 1px solid #ddd;
  background: #fff;
  color: #999;
}

/* ===== ホバー：グラデ枠＋文字 ===== */
.shindan-q label:hover {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
      45deg,
      #fada61 0%,
      #ff9188 50%,
      #ff5acd 100%
    ) border-box;
}
/* ===== ホバー：文字をグラデに ===== */
.shindan-q label:hover span {
  background: linear-gradient(
    45deg,
    #fada61 0%,
    #ff9188 50%,
    #ff5acd 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ===== 選択中：全面グラデ＋白文字（はみ出さない） ===== */
.shindan-q input[type="radio"]:checked + label {
  background:
    linear-gradient(
      45deg,
      #fada61 0%,
      #ff9188 50%,
      #ff5acd 100%
    ) padding-box,
    linear-gradient(
      45deg,
      #fada61 0%,
      #ff9188 50%,
      #ff5acd 100%
    ) border-box;

  background-clip: padding-box, border-box;

  color: #fff;
  font-weight: bold;
}

/* ===== 選択中は hover しても白文字を維持 ===== */
.shindan-q input[type="radio"]:checked + label,
.shindan-q input[type="radio"]:checked + label:hover {
  color: #fff;
}

/* spanでグラデ文字を使っている場合も無効化 */
.shindan-q input[type="radio"]:checked + label span,
.shindan-q input[type="radio"]:checked + label:hover span {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #fff;
}


/* ===== select ===== */
.shindan-q select {
  width: 100%;
  max-width: 320px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid #ddd;
  font-size: 14px;
  background: #fff;
}



/* ===== 診断ボタン ===== */
.shindan-btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 40px auto 0;
  padding: 16px;
  border: none;

  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-align: center;

  border-radius: 999px;
  cursor: pointer;

  background: linear-gradient(
    45deg,
    #fada61 0%,
    #ff9188 50%,
    #ff5acd 100%
  );

  /* ▼ 立体感は box-shadow で */
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);

  text-shadow: 0 1px 0 rgba(46, 12, 104, .4);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;

  /* 念のため */
  will-change: transform;
}

/* ===== ホバー：沈む（ボタンのみ） ===== */
.shindan-btn:hover {
  transform: translateY(4px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.35);
  filter: brightness(1.05);
}


/* ===== クリック中：さらに押す ===== */
.shindan-btn:active {
  transform: translateY(6px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}



/* タップ感 */
.shindan-btn:active {
  transform: translateY(1px);
}

/* 結果エリアは最初は非表示 */
.shindan-result {
  display: none;
}

/* 診断後に表示 */
.shindan-result.is-show {
  display: block;
  background: #f5ede8;
  padding:5% 2%;
}


/* ===== 結果カード ===== */
.result-card {
  margin: 32px auto 0;
  padding: 24px 20px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  text-align: center;
}

/* バナー */
.result-banner img {
  width: min(17.78vw, 80px);
  border-radius: 10px;
  border: 1px solid #ddd;
}

.app-wrap{
  display: flex;
  align-items: center;
  gap: min(2.22vw, 12px);
  margin: 8px 0;
  width: 100%;
}

.app-name{
  font-size: min(5.56vw, 1.5rem);
  font-weight: 700;
  color: #d2404d;
  line-height: 1.2;
}

.apps-tags{
  display: flex;
  gap:5px;
  flex-wrap: wrap;
}

.apps-tags li {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 2px 12px;
  margin: 3px 0;
}

.apps-tags .sokuai {
  background-color: lightpink;
}
.apps-tags .shigeki {
  background-color: tomato;
}
.apps-tags .nomitomo {
  background-color: lightgreen;
}
.apps-tags .himatsubushi {
  background-color: lightsalmon;
}

/* 説明文 */
.result-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 5% 0;
  text-align: left;
}

.marker-text {
  background: linear-gradient(transparent 60%, #ffe0d8 60%);
  font-weight: bold;
}

/* CTAボタン */
.result-cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(
    45deg,
    #fada61 0%,
    #ff9188 50%,
    #ff5acd 100%
  );
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.writer {
  text-align: center;
}

/* タイトル */
.writer-title {
  font-size: clamp(18px, 4vw, 26px);
  color: #fff;
  background: #d2404d;
  padding: 10px;
  position: relative;
}

.writer-title::before {
  position: absolute;
  display: block;
  pointer-events: none;
  content: "";
  top: -4px;
  left: 0;
  width: 100%;
  height: calc(100% + 4px);
  box-sizing: content-box;
  border-top: solid 2px #d2404d;
  border-bottom: solid 2px #d2404d;
}



/* ▼ 3列固定（ここは崩さない） */
.writer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 40px) clamp(10px, 3vw, 20px);
  list-style: none;
  padding: 0;
  margin: 40px 10px;
}

/* 各カード */
.writer-item a {
  display: block;
  text-decoration: none;
  color: #333;
}

/* 画像サイズをvwで可変 */
.writer-item img {
  width: clamp(90px, 18vw, 140px);
  height: clamp(90px, 18vw, 140px);
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: clamp(8px, 2vw, 12px);
  transition: transform 0.3s ease;
}

.writer-item a:hover img {
  transform: scale(1.05);
}

/* 名前 */
.writer-name {
  font-size: clamp(13px, 3vw, 16px);
  font-weight: bold;
}

.writer-name span {
  font-size: clamp(11px, 2.5vw, 13px);
  margin-left: 4px;
  color: #666;
}

/* 役職 */
.writer-role {
  font-size: clamp(11px, 2.6vw, 13px);
  color: #777;
  margin-top: 2px;
}

/* 詳細リンク */
.writer-more {
  margin-top: clamp(30px, 6vw, 40px);
}

.writer-more a {
  font-size: clamp(13px, 3vw, 15px);
  color: #2b66f6;
  font-weight: bold;
  text-decoration: underline;
}


.compare {
  padding: 60px 0;
}

.compare-title {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

/* ▼ 横スクロールの肝 */
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 10px;
  border: 1px solid #ddd;
}

/* テーブルはあえて大きく */
.compare-table {
  min-width: 1000px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

/* ヘッダー */
.compare-table th {
  background: #f6f6f6;
  color: #888;
  font-size: 13px;
  padding: 14px;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
  border-right: 1px solid #ddd;
}

/* セル */
.compare-table td {
  padding: 16px 14px;
  font-size: 14px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
  border-right: 1px solid #ddd;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: none;
}

/* ランク */
.rank {
  font-weight: bold;
  width: 60px;
}

/* サービス名 */
.service-box {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: bold;
}

.service-box img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0; 
  object-fit: cover;
  background: #fff;
  border: 1px solid #ddd;
}

/* ボタン */
.btn-site {
  display: inline-block;
  background: #e8346a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 6px;
  white-space: nowrap;
  box-shadow: 0 3px 0 #c61f4f;
  width: 100%;
  text-align: center;
}

.btn-detail {
  display: block;
  font-size: 12px;
  color: #e8346a;
  text-align: center;
  white-space: nowrap;
}

/* 評価 */
.rate {
  text-align: center;
}
.rate strong {
  font-size: 20px;
  color: #e8346a;
  display: block;
}

.review {
  font-size: 12px;
  color: #777;
}

/* 1位強調 */
.is-rank1 {
  background: #fff4f7;
}

.compare-more{
  text-align: center;
}
/* 最初は隠す */
.compare-hidden-row {
  display: none;
}

/* 表示状態 */
.compare-hidden-row.is-show {
  display: table-row;
}

.compare-btn {
  display: inline-block;
  margin: 24px auto 0;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid #e8346a;
  background: #fff;
  color: #e8346a;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* ホバー */
.compare-btn:hover {
  background: #e8346a;
  color: #fff;
}

/* アクティブ（タップ時） */
.compare-btn:active {
  transform: translateY(1px);
}

.rank img{
  height: auto;
}


/* =========================
   コラム全体
========================= */
.column-detail {
  padding: 5% 3%;
  line-height: 1.9;
  color: #333;
}

/* =========================
   タイトル（h1）
========================= */
.column-detail h1 {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid #f3f3f3;
}

/* =========================
   導入文
========================= */
.column-detail > p {
  font-size: 15px;
  margin-bottom: 20px;
}

/* =========================
   目次
========================= */
.column-toc {
  margin: 32px 0 48px;
  padding: 24px;
  background: #fafafa;
  border-top: 6px solid #ff9188;
  box-shadow: 0 1px 5px 2px #e9e9e9;
}

/* 目次タイトル */
.column-toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid #ff9188;
}

/* アイコン（\f039） */
.column-toc-title i::before {
  content: "\f039";
  font-family: FontAwesome;
  font-size: 18px;
  color: #ff9188;
}

/* リスト */
.column-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.column-toc li {
  margin-bottom: 12px;
  counter-increment: toc;
}

.column-toc li:last-child {
  margin-bottom: 0;
}

.column-toc a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  position: relative;
  padding-left: 28px; 
}

.column-toc a::before {
  content: counter(toc) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #ff9188;
}
/* =========================
   h2（大見出し）
========================= */
.column-detail h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 56px 0 20px;
  padding: 0.7em 0.5em;
  border-left: 5px solid #ff9188;
  background: #fafafa;
}

/* =========================
   h3（番号付き見出し）
========================= */
.column-detail h3 {
  position: relative;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 48px 0 16px;
  padding-left: 14px;
  line-height: 1.4;
}

/* 左ライン */
.column-detail h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 4px;
  height: 1.2em;
  background: #ff9188;
}

/* =========================
   本文
========================= */
.column-detail p {
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 2em;
}

.column-feature-list {
  list-style: none;
  margin: 24px 0;
  padding: 20px 24px;
  border: 2px solid #ff9188;
  background: #fff5f3;
}

.column-feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
}

.column-feature-list li:last-child {
  margin-bottom: 0;
}

/* ✔ マーク */
.column-feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 14px;
  color: #ff9188;
}

/* =========================
   リスト（メリット）
========================= */

.column-detail li {
  margin-bottom: 14px;
  font-size: 15px;
}

.column-detail li strong {
  color: #222;
}

/* =========================
   マーカー（既存HTML用）
========================= */
.marker {
  background: linear-gradient(transparent 60%, #fff3a0 60%);
  font-weight: bold;
}

/* =========================
   FAQエリアの強調感
========================= */
#faq {
  margin-top: 64px;
}

#faq + p {
  background: #fff7f5;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #ffd8d2;
}

/* =========================
   まとめセクション
========================= */
#summary {
  margin-top: 72px;
}

#summary + p {
  font-weight: bold;
}

/* =========================
   スマホ調整
========================= */
@media (max-width: 768px) {
  .column-detail {
    
  }

  .column-detail h1 {
    font-size: 22px;
  }

  .column-detail h2 {
    font-size: 18px;
  }

  .column-detail h3 {
    font-size: 16px;
  }

  .column-detail p,
  .column-detail li {
    font-size: 14px;
  }
}


/* ===== もっと見るボタン ===== */
.review-more {
  text-align: center;
  margin-top: 16px;
}

.review-more-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid #ff9188;
  background: #fff;
  color: #ff9188;
  font-weight: bold;
  cursor: pointer;
}

/* ===== モーダル ===== */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.review-modal.is-show {
  display: block;
}

.review-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

/* ===== モーダル本体（中央配置） ===== */
.review-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 92%;
  max-width: 620px;

  /* 高さ固定 */
  max-height: 70vh;

  background: #fff;
  border-radius: 18px;
  padding: 20px 18px 24px;

  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* 閉じるボタン */
.review-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}

/* ===== 中身スクロール領域 ===== */
.review-modal-list {
  margin-top: 16px;

  /* 高さを制御して中だけスクロール */
  max-height: calc(70vh - 60px);
  overflow-y: auto;
  padding-right: 6px;
}

/* スクロールバー（任意・iOSでも綺麗） */
.review-modal-list::-webkit-scrollbar {
  width: 6px;
}

.review-modal-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}

/* ===== もっと見るボタン ===== */
.review-more {
  text-align: center;
  margin-top: 16px;
}

.review-more-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid #ff9188;
  background: #fff;
  color: #ff9188;
  font-weight: bold;
  cursor: pointer;
}


/* =========================
   プライバシーポリシー
========================= */
.privacy {
  padding: 5% 2%;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

.privacy h2 {
  text-align: center;
  margin-bottom: 32px;
}

.privacy-box {
  background: #fafafa;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid #eee;
}

.privacy-box p {
  margin-bottom: 18px;
}

.privacy-box h3 {
  font-size: 15px;
  font-weight: bold;
  margin: 28px 0 12px;
  padding-left: 10px;
  border-left: 4px solid #ff9188;
}

.privacy-box ul {
  margin: 12px 0 20px 20px;
}

.privacy-box li {
  margin-bottom: 8px;
  list-style: disc;
}

/* スマホ */
@media (max-width: 768px) {
  .privacy {
    padding: 48px 0;
  }

  .privacy-box {
    padding: 24px 18px;
  }
}


.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
  border: 1px solid #dcdcdc; /* テーブル外枠 */
}

.company-table th,
.company-table td {
  padding: 12px 14px;
  border: 1px solid #dcdcdc; /* セル全面ボーダー */
  text-align: left;
  vertical-align: middle;
}

.company-table th {
  width: 30%;
  font-weight: 700;
  background: #f6eee9;
  color: #333;
}

.company-table td {
  color: #555;
}

.company-table a {
  color: #1a73e8;
  text-decoration: underline;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .company-table th,
  .company-table td {
    font-size: 13px;
    padding: 10px 12px;
  }
}

.terms{
  overflow-y: scroll;
  height: 600px;
}

.second-list {
  padding-left: 20px;
}
.second-list li{
  list-style-type: decimal;
  margin-top: 8px;
}


.profile-wrapper{

  padding: 5% 2%;

}

.profile-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 24px;
}

/* カード本体 */
.profile-card {
  border: 2px dashed #eee;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  background: #fff;
}

/* アイコン */
.profile-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 名前 */
.profile-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
}

/* 肩書き */
.profile-title {
  font-size: 14px;
  color: #777;
  margin-bottom: 16px;
}

/* 自己紹介 */
.profile-text {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* スマホ：1列 */
@media screen and (max-width: 768px) {
  .profile-cards {
    grid-template-columns: 1fr;
  }
}

/*タブ切り替え*/
.app-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: bold;
}

.tab-buttons {
  display: flex;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}

.tab-btn {
  flex: 1;
  padding: 18px 0;
  border: none;
  border-radius: 20px 20px 0 0;
  background: #d9d9d9;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}

/* 付箋の影 */
.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 15%;
  width: 70%;
  height: 8px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0;
  transition: 0.3s;
}

/* アクティブ */
.tab-btn.active {
  background: #e8346a;
  color: #fff;
}

.tab-btn.active::after {
  opacity: 1;
}

/* コンテンツ側も少し調整 */
.tab-content {
  background: #fff4f7;
  padding: 40px 20px;
}

/* コンテンツ */
.tab-content {
  display: none;
  animation: fade 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.category-block {
  margin-bottom: 40px;
}

.category-title {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.category-title span{
  background: #e8346a;
  border-radius: 9999px;
  padding: 0.5em 1em;
  color: #fff;
}

/* アプリ3列 */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.app-card {
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.app-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* スマホでも3列維持 */
@media (max-width: 600px) {
  .app-card img {
    width: 60px;
    height: 60px;
  }
}

.app-section .app-card {
  position: relative;
}

.app-card img{
  border-radius: 10px;
  border: 1px solid #ddd;
}

.app-card a{
  color: #0019f8;
  font-weight: bold;
}

/* 共通メダル */
.app-section .app-card.app-rank-1::before,
.app-section .app-card.app-rank-2::before,
.app-section .app-card.app-rank-3::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 42px;
  height: 42px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 10;
}

/* 個別 */
.app-section .app-card.app-rank-1::before {
  background-image: url("../img/medal1.png");
}

.app-section .app-card.app-rank-2::before {
  background-image: url("../img/medal2.png");
}

.app-section .app-card.app-rank-3::before {
  background-image: url("../img/medal3.png");
}