/* ============================================================
   base.css — 共通リセット・変数・ユーティリティ
   bestcosme 2026上半期 LP
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=M+PLUS+1p:wght@300;400;500;600;700&family=Kiwi+Maru:wght@400;500&family=Kode+Mono:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------------------------------
   CSS カスタムプロパティ
---------------------------------------------------------------- */
:root {
  /* カラー */
  --bg:              #efefef;
  --card-bg:         #fafafa;
  --about-bg:        rgba(255, 255, 255, 0.5);
  --overlay-dark:    rgba(0, 0, 0, 0.39);
  --overlay-white80: rgba(255, 255, 255, 0.8);
  --overlay-white30: rgba(255, 255, 255, 0.3);
  --placeholder:     #d9d9d9;
  --video-bg:        #cdd5ff;
  --btn-dark:        #585858;
  --btn-yellow:      #fee526;
  --btn-blue:        #55c3eb;
  --text-main:       #202020;
  --text-name:       #585858;
  --text-step:       #171717;
  --text-muted:      #c2c2c2;
  --text-black:      #000000;

  /* シャドウ */
  --shadow:    3px 4px 7px rgba(0, 0, 0, 0.25);
  --shadow-sm: 1px 1px 2px rgba(0, 0, 0, 0.25);

  /* 角丸 */
  --radius-xl: 50px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;

  /* フォント */
  --font-noto: 'Noto Sans JP', sans-serif;
  --font-zen:  'Zen Kaku Gothic New', sans-serif;
  --font-kiwi: 'Kiwi Maru', serif;
  --font-mplus: 'M PLUS 1p', sans-serif;

  /* レイアウト */
  --max-w:       1170px;
  --gutter-pc:   80px;
  --gutter-tb:   40px;
  --gutter-sp:   12px;
}

/* ----------------------------------------------------------------
   リセット
---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  font-family: var(--font-noto);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 49px, #bbb 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, #bbb 50px);
  background-size: 50px 50px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

header {
  max-width: var(--max-w);
  margin: 0 auto;
}
main {
  max-width: var(--max-w);
  margin: auto;
  background-color: rgba(250, 250, 250, 0.6);
}
footer {
  max-width: 100%;
  margin: auto;
}
@media (max-width: 1023px) {
  header {
    max-width: 100%;
  }
  main {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  body {
    background-image: 
      repeating-linear-gradient(0deg, transparent, transparent 24px, #bbb 25px),
      repeating-linear-gradient(90deg, transparent, transparent 24px, #bbb 25px);
    background-size: 25px 25px;
  }
}


/* ----------------------------------------------------------------
   コンテナ
---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter-pc);
}

@media (max-width: 1023px) {
  .container { padding-inline: var(--gutter-tb); }
}

@media (max-width: 767px) {
  .container { padding-inline: var(--gutter-sp); }
}

/* ----------------------------------------------------------------
   画像ラッパー・プレースホルダー
   - data-img-id は img 要素に付与
   - 画像未設定時はグレー背景で表示
---------------------------------------------------------------- */
.img-wrap {
  background-color: var(--placeholder);
  overflow: hidden;
  position: relative;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* src が空の場合は img を非表示（親の背景色でプレースホルダー表示） */
.img-wrap img[src=""] {
  visibility: hidden;
}

/* ----------------------------------------------------------------
   セクション区切りバー（暗背景）
---------------------------------------------------------------- */
.section-bar {
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  font-family: var(--font-zen);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  letter-spacing: 0.1em;
  text-align: center;
  padding: clamp(16px, 3vw, 32px) 16px;
}

/* ----------------------------------------------------------------
   共通ボタン
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--font-zen);
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: clamp(14px, 2vw, 24px) clamp(24px, 4vw, 64px);
  border-radius: 999px;
  transition: opacity 0.2s;
  color: #fff;
  background: var(--btn-dark);
  text-align: center;
  text-decoration: none;
}

.btn:hover { opacity: 0.82; }

.btn--yellow { background: var(--btn-yellow); color: #000; }
.btn--blue   { background: var(--btn-blue);   color: #000; }
.btn--full   { width: 100%; border-radius: 0; }

.bg-grid-line {
  background-color: rgba(255, 255, 255, 1);
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 19px, #eee 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, #eee 20px);
  background-size: 20px 20px;
}

/* ================================================================
   §1  ヒーローバナー
================================================================ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__img-wrap {
  width: 100%;
}

.hero__img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width:  767px) { 
  .hero__img-wrap {
    width: 160vw;
  }

  .hero__img-wrap img {
    transform: translate(calc((160vw - 100vw) / 2* -1), 0);
  }
}

/* ----------------------------------------------------------------
   About（共通）
---------------------------------------------------------------- */
.about {
  padding: 36px var(--gutter-pc) 0;
}

@media (max-width: 1023px) { .about { padding: 36px var(--gutter-tb) 0; } }
@media (max-width:  767px) { .about { padding: 24px var(--gutter-sp) 0; } }

.about-label {
  text-align: center;
  color: #E75297;
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Noto Sans JP";
  font-size: 37px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 1.6px;
  margin: 0 0 38px;
}

.about-label-break {
  display: none;
}

.about__card {
  background-image: url("../img/about.webp");
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
/*  border-radius: var(--radius-sm); */
  padding: 35px 24px 35px;
  text-align: center;
  margin: 0;
}

.about__title-wrap {
  margin-bottom: clamp(32px, 5vw, 65px);
}

.about__body {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 21px;
  line-height: 261%; /* 54.089px */
  letter-spacing: 0.414px;
  color: var(--text-main);
  margin-bottom: 24px;
  text-align: center;
}
.about__body2 {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 21px;
  line-height: 261%; /* 54.089px */
  letter-spacing: 0.414px;
  color: var(--text-main);
  text-align: center;
}
.about-bold {
  font-weight: 900;
}

.cm {
  padding: clamp(36px, 6vw, 75px) 0 36px;
}

.cm__video-wrap {
  width: 100%;
  margin: auto;
}

.cm__video-placeholder {
  aspect-ratio: 16/9;
}

@media (max-width: 767px) {
  .about__card {
    padding: 35px 12px 35px;
  }
  .about-label {
    font-size: 20px;
    letter-spacing: 1.2px;
  }
  .about-label-break {
    display: block;
  }
  .about__body {
    font-size: 14px;
  }
  .about__body2 {
    font-size: 14px;
  }
  .cm {
     padding: 24px var(--gutter-sp) 24px;
  }
  .cm__video-wrap {
    width: 100%;
  }
}

/* ----------------------------------------------------------------
   フッター（共通）
---------------------------------------------------------------- */
.site-footer {
  background: var(--card-bg);
  text-align: center;
  padding: clamp(16px, 3.5vw, 48px) 16px;
}

.site-footer__text {
  color: #202020;
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Noto Sans JP";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 16.9px */
}

.footer-link {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 0;
}
.footer-link  li:first-child {
  text-align: end;
  width: 200px;
}
.footer-link  li:last-child {
  text-align: start;
  width: 200px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 32px);
  margin: 0 auto clamp(24px, 4vw, 48px);
  padding: 24px 0;
  justify-items: center;
  width: 400px;
}

.footer__img-wrap {
  width: 75px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--placeholder);
}

.footer__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width:  767px) {
  .footer-grid {
    display: grid;
    gap: clamp(12px, 2vw, 32px);
    margin: 0 auto clamp(24px, 4vw, 48px);
    padding: 24px 0;
    width: 50%;
  }
  .footer__img-wrap {
    width: 30px;
  }
}