/* =====================================================
   Cosmecafe Global Style
   暫定デザイン版
   （header, index, footer 共通スタイル）
===================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic Medium", sans-serif;
  color: #3c2c2c;
  background: #fff;
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
a:hover { opacity: 0.8; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8em 2em;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-primary {
  background: #e9c4d1;
  color: #3c2c2c;
}
.btn-primary:hover { background: #e0b3c3; }
.btn-ghost {
  border: 1px solid #e9c4d1;
  color: #3c2c2c;
  background: #fff;
}
.btn-ghost:hover { background: #fdf8fa; }

/* =====================================================
   HEADER
===================================================== */
.cc-header {
  background: #fff;
  border-bottom: 1px solid #f1e5e9;
  position: fixed;
  width: 100%;
  z-index: 1000;
	top:0
}
.cc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 5%;
  max-width: 1200px;
  margin: 0 auto;

}
.cc-logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-en {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: #3c2c2c;
}
.logo-jp {
  font-size: 12px;
  color: #b88a9b;
  letter-spacing: 0.05em;
}

/* Nav */
.cc-nav ul { display: flex; gap: 2rem; list-style: none; }
.cc-nav a {
  font-weight: 500;
  color: #3c2c2c;
  position: relative;
}
.cc-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0%; height: 2px;
  background: #e9c4d1;
  transition: width .3s;
}
.cc-nav a:hover::after { width: 100%; }

/* Header icons */
.cc-header-icons {
  display: flex; align-items: center; gap: 18px;
}
.cc-icon-search svg { stroke: #3c2c2c; transition: .3s; }
.cc-icon-search:hover svg { stroke: #e9c4d1; }

/* SP menu */
.cc-menu-btn { display: none; cursor: pointer; }
.cc-menu-btn span {
  display: block;
  width: 25px; height: 2px;
  margin: 5px auto;
  background: #3c2c2c;
  transition: .3s;
}

/* ---------- SPメニュー開閉 ---------- */
.cc-nav-sp {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.96);
  z-index: 999;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.cc-nav-sp.open { display: flex; }
.cc-nav-sp ul { list-style: none; padding: 0; }
.cc-nav-sp li { margin: 1em 0; font-size: 1.2em; }

/* =====================================================
   HERO
===================================================== */
.cc-hero {
  margin-top: 80px;
  background: linear-gradient(180deg, #fff, #fdf8fa);
  padding: 60px 0 40px;
}
.cc-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.cc-hero-copy { flex: 1 1 420px; }
.cc-hero-visual { flex: 1 1 420px; }
.cc-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 40px);
  color: #3c2c2c;
  margin-bottom: .5em;
}
.cc-hero-sub {
  color: #6b5a5a;
  margin-bottom: 1.5em;
  font-size: 1.1em;
}

/* =====================================================
   CONCEPT
===================================================== */
.section { padding: 80px 0; }
.sec-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: #3c2c2c;
  margin-bottom: 1em;
}
.cc-concept-lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.cc-concept-cards {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 30px;
}
.cc-concept-card {
  background: #fff;
  border: 1px solid #f2e6ea;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  padding-bottom: 20px;
  transition: 0.3s;
}
.cc-concept-card:hover { transform: translateY(-4px); box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.cc-concept-card h3 { font-size: 1.1em; margin: 0.5em 0; }

/* =====================================================
   ARTISTS / COSMETICS / COLUMNS
===================================================== */
.sec-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5em;
}
.sec-link {
  font-size: 0.9em;
  color: #b88a9b;
}
.cc-artist-grid,
.cc-cosme-grid,
.cc-column-grid {
  display: grid;
  gap: 24px;
}
.cc-artist-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cc-cosme-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.cc-column-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.cc-artist-card,
.cc-cosme-card,
.cc-column-card {
  background: #fff;
  border: 1px solid #f2e6ea;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}
.cc-artist-card:hover,
.cc-cosme-card:hover,
.cc-column-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* =====================================================
   CTA
===================================================== */
.cc-cta {
  background: #fdf8fa;
  text-align: center;
  padding: 80px 20px;
}
.cc-cta-title {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin-bottom: 12px;
}
.cc-cta-text {
  font-size: 1em;
  margin-bottom: 24px;
  color: #6b5a5a;
}

/* =====================================================
   FOOTER
===================================================== */
.cc-footer {
  background: #fdf8fa;
  color: #3c2c2c;
  padding: 60px 0 20px;
  border-top: 1px solid #f1e5e9;
}
.cc-footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  align-items: start;
}
.cc-footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: "Playfair Display", serif;
}
.cc-footer-desc {
  margin-top: 12px;
  font-size: 0.95em;
  color: #6b5a5a;
}
.cc-footer-nav ul { list-style: none; padding: 0; }
.cc-footer-nav li { margin-bottom: 0.5em; }
.cc-footer-nav a { color: #3c2c2c; }
.cc-footer-nav a:hover { color: #b88a9b; }

.cc-footer-sns .sns-icons {
  display: flex; gap: 14px; margin-top: 8px;
}
.cc-footer-sns svg {
  stroke: #b88a9b; width: 22px; height: 22px; transition: 0.3s;
}
.cc-footer-sns a:hover svg { stroke: #3c2c2c; }

.cc-footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 0.85em;
  color: #8d7d7d;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .cc-header-inner { padding: 10px 20px; }
  .cc-nav { display: none; }
  .cc-menu-btn { display: block; }
  .cc-hero-inner { flex-direction: column; text-align: center; }
  .sec-head { flex-direction: column; gap: 10px; text-align: center; }
  .cc-footer-inner { text-align: center; }
}



.cc-concept.section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fff6f9 100%);
  padding: 6rem 1.5rem 8rem;
  text-align: center;
  overflow: hidden;
}

/* タイトル */
.cc-concept .sec-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: #d48aa7;
  margin-bottom: 2rem;
  position: relative;
}

.cc-concept .sec-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e7a5b9, #f7cad0);
  margin: 0.75rem auto 0;
  border-radius: 3px;
}

/* 説明文 */
.cc-concept-lead {
  color: #3c2c2c;
  font-size: 1.1rem;
  line-height: 2;
  margin: 0 auto 3.5rem;
  max-width: 800px;
}

.cc-concept-lead strong {
  color: #d48aa7;
  font-weight: 700;
}

/* カードグリッド */
.cc-concept-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

/* カード単体 */
.cc-concept-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem 1.5rem;
  transition: all 0.4s ease;
}

.cc-concept-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* SVGイラスト */
.cc-svg-wrap {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.cc-svg-wrap svg {
  width: 100%;
  max-width: 120px;
  height: auto;
  transition: transform 0.4s ease;
}

.cc-concept-card:hover svg {
  transform: scale(1.08);
}

/* 見出しと本文 */
.cc-concept-card h3 {
  font-size: 1.1rem;
  color: #3c2c2c;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.cc-concept-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #5c4c4c;
}

/* 背景波形 */
.cc-concept::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23fff6f9' d='M0,192L80,176C160,160,320,128,480,106.7C640,85,800,75,960,90.7C1120,107,1280,149,1360,170.7L1440,192L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'%3E%3C/path%3E%3C/svg%3E")
    no-repeat bottom;
  background-size: cover;
  z-index: 0;
}

@media (max-width: 768px) {
  .cc-concept.section {
    padding: 4rem 1rem 6rem;
  }
  .cc-concept .sec-title {
    font-size: 1.4rem;
  }
  .cc-concept-lead {
    font-size: 1rem;
  }
}

/* ==== Section head (SPで折り返し崩れ対策) ==== */
.sec-head { gap: 12px; flex-wrap: wrap; }
.sec-head .sec-title { margin: 0; }
@media (max-width: 640px) {
  .sec-head { flex-direction: column; align-items: flex-start; }
}

/* ==== 共通カード土台の内側余白・リンク全体クリック化 ==== */
.cc-artist-card a,
.cc-cosme-card a,
.cc-column-card a {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 14px;               /* 内側余白 */
}
.cc-artist-card a:focus-visible,
.cc-cosme-card a:focus-visible,
.cc-column-card a:focus-visible {
  outline: 2px solid #b88a9b;
  outline-offset: 2px;
}

/* ==== アーティストカード（画像比率/切り抜き） ==== */
.cc-artist-card .artist-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;         /* 横長でも縦長でも崩れない標準比率 */
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}

/* タイトル/抜粋のタイポ調整 */
.cc-artist-card .artist-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 6px 0 6px;
  color: #2b2a2a;
}
.cc-artist-card .artist-excerpt {
  color: #6b6467;
  font-size: 0.92rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* 2行でトリム */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.0em;           /* 高さ揃え */
}

/* ==== ホバー挙動の視認性微調整（既存の影＋色） ==== */
.cc-artist-card:hover .artist-name,
.cc-cosme-card:hover .card-title,
.cc-column-card:hover .card-title {
  color: #a46a81;
}
.sec-link { color: #b88a9b; }
.sec-link:hover { color: #a46a81; text-decoration: underline; }

/* ==== グリッド間隔・ブレークポイント微調整 ==== */
.cc-artist-grid,
.cc-cosme-grid,
.cc-column-grid { gap: 20px; }
@media (min-width: 1200px) {
  .cc-artist-grid { gap: 24px; }
}

/* ==== 画像のドラッグ/選択を抑止（操作感向上） ==== */
.cc-artist-card img,
.cc-cosme-card img,
.cc-column-card img {
  user-select: none;
  -webkit-user-drag: none;
}

/* ==== 低モーション環境のアニメを弱める ==== */
@media (prefers-reduced-motion: reduce) {
  .cc-artist-card,
  .cc-cosme-card,
  .cc-column-card { transition: box-shadow .2s linear; }
  .cc-artist-card:hover,
  .cc-cosme-card:hover,
  .cc-column-card:hover { transform: none; }
}
