/* ================================
   ZUKAN JOFU - ESTHEに寄せる上書きパッチ
   ※既存 style.css の末尾に追記
================================ */

/* 全体のベース（左みたいな素HTMLっぽさを消す） */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }

/* ヘッダー：右みたいな整列 */


/* ヒーロー：右の余白感＋太字 */
.hero{
  padding: 28px 16px 20px;
  background: #f6f8fb;
}

.hero-title{
  max-width: 1100px;
  margin: 0 auto;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .02em;
}

.hero-text{
  max-width: 1100px;
  margin: 14px auto 0;
  font-size: 16px;
  color: #444;
}

/* セクション共通 */
.section{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px;
}

.section h2{
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 12px;
}

.section-lead{
  margin: 0 0 26px;
  color: #666;
}

/* Concept/Visionカード：右の白いカード */
.card-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 820px){
  .card-grid{ grid-template-columns: 1fr; }
}

.card{
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,.04);
}

.card-label{
  color: #cc2e3a; /* 右の赤見出し */
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.card-title{
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}

.card-text{
  color: #444;
}

/* ランキングカード（store-card-v3）が右の丸み＆枠になるように */
.store-list-v3{
  display: grid;
  gap: 16px;
}

.store-card-v3{
  background: #fff;
  border: 2px solid #e9d7a6;  /* 右のゴールド枠感 */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,.05);
}

.store-card__inner{
  padding: 18px 16px 16px;
}

.rank-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,.06);
}
.rank-gold{ background: #e9c75f; color: #111; }
.rank-silver{ background: #d7dbe2; color: #111; }
.rank-bronze{ background: #d6a06a; color: #111; }
.rank-gray{ background: #f0f2f5; color: #111; }

.store-name{
  margin-top: 10px;
  font-size: 26px;
  font-weight: 900;
}

.store-meta{
  margin-top: 6px;
  color: #666;
  font-size: 14px;
}

.store-desc{
  margin-top: 10px;
  color: #444;
  font-size: 14px;
}

/* 女の子（キャスト）画像スクロール：右のカード内写真っぽく */
.girl-scroll{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 2px 6px;
  margin-top: 8px;
  -webkit-overflow-scrolling: touch;
}
.girl-item{
  flex: 0 0 auto;
  width: 110px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef1f6;
  background: #fafbfc;
}
.girl-item img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

/* 4タグ：右の丸いチップ */
.tags{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 10px;
  margin-top: 14px;
}
.tag{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #e6ebf2;
  background: #f7f9fc;
  font-size: 14px;
  color: #333;
  padding: 0 14px;
}

/* CTAボタン：右の赤ボタン */
.actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.actions.one{ grid-template-columns: 1fr; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 14px;
  border: 2px solid #d8505b;
  color: #d8505b;
  font-weight: 900;
  background: #fff;
}

.btn.primary{
  background: #d8505b;
  color: #fff;
}

/* フッター */
.footer-note{
  padding: 26px 16px;
  text-align: center;
  color: #777;
  border-top: 1px solid #eee;
  background: #fff;
}

/* ヘッダーの箱を整える */
    .header-inner{
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    }

    /* ロゴを小さく綺麗に */
    .logo{
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: 22px;
    white-space: nowrap;
    }
    .logo span{
    display: block;           /* JOFO / PORTAL を縦積みに */
    margin: 6px 0 0;
    font-size: 11px;
    letter-spacing: .22em;
    color: #9aa7b6;
    font-weight: 700;
    }

    /* ナビ：2段にして揃える（いまの散り散りを根絶） */
    .nav-links{
    max-width: 560px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    color: #222;
    width: 100%;
    }

    /* ナビの見た目 */
    .nav-links a{
    display: inline-block;
    padding: 6px 0;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
    }
    .nav-links a:hover{
    border-color: #e6ebf2;
    background: #f7f9fc;
    }

    /* スマホ最適化：横幅が狭いと2列に落とす */
    @media (max-width: 520px){
    .header-inner{ 
        flex-direction: column;
        align-items: flex-start; }
    .nav-links{
        justify-content: center;
        max-width: none;
        gap: 7px 5px;
        font-size: 13px;
    }
    .nav-links a{ padding: 4px 5px; }
    }