/* ===== ベース ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #ff5a5f;
  --bg: #fafafa;
  --text: #222;
  --muted: #888;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  width: 100%;
  max-width: 720px;      /* PC で大きくなりすぎないよう制限し中央寄せ */
  margin: 0 auto;
  overflow: hidden;
}

.hero__img {
  display: block;
  width: 100%;
  height: auto;          /* 画像本来の比率で表示（トリミングなし・端末で同じ見え方） */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  padding: 1rem;
}

.hero__title {
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: .08em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
}

.hero__lead {
  margin-top: .6rem;
  font-size: clamp(.9rem, 3vw, 1.3rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

/* ===== コンセプト / 社長紹介 ===== */
.intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 1rem;
}

.intro__block + .intro__block {
  margin-top: 2rem;
}

.intro__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .8rem;
  padding-left: .6rem;
  border-left: 4px solid var(--accent);
}

.intro__text {
  font-size: .95rem;
  line-height: 1.9;
  color: #444;
  white-space: pre-line;   /* txt の改行を保持 */
}

/* ===== サムネ横スクロール（スマホのみ） ===== */
.thumb-strip {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding: .8rem 1rem;
  background: #fff;
  border-bottom: 1px solid #eee;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;                 /* Firefox */
}
.thumb-strip::-webkit-scrollbar { display: none; }  /* Chrome / Safari */

.thumb-strip__item {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.thumb-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 個数がわかるドット */
.thumb-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: .7rem 1rem;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.thumb-dots__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.thumb-dots__dot.is-active {
  background: var(--accent);
  transform: scale(1.35);
}

/* PC では非表示 */
@media (min-width: 768px) {
  .thumb-strip,
  .thumb-dots { display: none; }
}

/* ===== レイアウト ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 2rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block !important;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: .6rem auto 0;
  border-radius: 2px;
}

.loading {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
}

/* ===== ユーザー / カード ===== */
.user-list {
  display: grid;
  /* スマホ：1カラム */
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* PC：2カラム */
@media (min-width: 768px) {
  .user-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.card__thumb-wrap {
  aspect-ratio: 1 / 1;
  background: #eee;
}
.card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__name {
  padding: .9rem 1rem .3rem;
  font-size: 1.05rem;
  font-weight: 700;
}

/* サムネの下の説明文 */
.card__desc {
  padding: 0 1rem .6rem;
  font-size: .82rem;
  line-height: 1.7;
  color: #555;
  white-space: pre-line;       /* \n を改行として表示 */
  word-break: break-word;
}
.card__desc a {
  color: var(--accent);
  word-break: break-all;
}

/* description の下の店舗ボタン */
.card__stores {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .2rem 1rem 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .9rem;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}
.store-btn::after {
  content: "↗";
  font-size: .75rem;
}
.store-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

/* サムネの下の mp3 リンク一覧 */
.card__tracks {
  list-style: none;
  padding: 0 .6rem .8rem;
}
.card__tracks li + li {
  margin-top: .25rem;
}

.track {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .7rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: .92rem;
  transition: background .15s ease;
}
.track:hover,
.track:focus {
  background: #fff0f0;
  color: var(--accent);
  outline: none;
}

.track__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.track__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== オーバーレイ ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(4px);
}
.overlay.is-open { display: flex; }

.overlay__inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  padding: 2.4rem 1.6rem 2rem;
  text-align: center;
  animation: pop .25s ease;
}
@keyframes pop {
  from { transform: scale(.92); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.overlay__close {
  position: absolute;
  top: .6rem;
  right: .8rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.overlay__close:hover { color: var(--text); }

.overlay__thumb {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.overlay__title {
  font-size: 1.25rem;
  margin-bottom: .2rem;
}
.overlay__user {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.2rem;
}

.overlay__audio { width: 100%; }

/* ===== フッター ===== */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid #eee;
}

.hero img{
  border-radius: 10px;
}