@charset "UTF-8";

/* =====================================================
   styles.css (BEM版)
   - 「密●空と海―内海清美展」SNSキャンペーンLP専用
   ===================================================== */


/* ------------------------------
   1. ヒーローセクション
------------------------------ */

.hero {
  /*background-color: #dedede;*/
  padding-block: 40px;

  background-blend-mode: multiply;
  
  /* 背景: グラデーション層 */
  background-image:
    linear-gradient(
      to top,
      rgba(23, 42, 136, 0.9) 0%,
      rgba(23, 42, 136, 0.9) 33%,
      rgba(23, 42, 136, 0) 45%
    ),
    url("../images/hero_inner.jpg");

  /* 画像の配置 */
  background-position:
    center top,
    center bottom; 

  /* 画像サイズ */
  background-size:
    cover,
	cover;

  /* 繰り返し */
  background-repeat: no-repeat, no-repeat;
  
  
}

/* 背景画像＋テキスト配置 */
.hero__inner {
  position: relative;
  height: clamp(320px, 55vw, 420px);
  padding: 24px 32px 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

/* テキストをまとめているラッパー */
.hero__heading-img {
  width: 480px;
  height: 100px;

  background-image: url("../images/soratoumi_logo_W.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  position: relative;
}

/* 中のテキストは「画面からは見えないけど HTML 上は残す」 */
.hero__heading-img .hero__subtitle,
.hero__heading-img .hero__exhibition-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}

/* メインタイトル */
.hero__title {
  align-self: center;
  position: absolute;
  bottom: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: clamp(1.5rem, 4.4vw, 2.2rem);
}

/* h1背景に「#内海清美展」を敷く */
.hero__bg-title {
  position: absolute;
  inset: -100% auto auto 0%;  /* 以前の ::before と同じイメージで配置 */
  font-size: clamp(1.8rem, 8vw, 8.4rem);
  font-weight: 700;
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
  margin: 0;
  opacity: 0.5; /* 「薄い白」の代わりに全体の薄さをここで調整 */
}

/* 1文字ずつグラデーション完結 */
.hero__bg-title span {
  display: inline-block;
  background: linear-gradient(to right, #00A6E9, #0B308E);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 「おへんろグッズが当たる！」 */
.hero__title-sub {
  font-size: 0.6em;
  font-weight: 600;
  width: 8em;
  text-align: right;
}

/* 「SNSキャンペーン」 */
.hero__title-main {
  font-size: 1.5em;
  font-weight: 700;
}

/* SP時の余白調整 */
@media (max-width: 599px) {
  main {
    background-color: #000;
  }

  .hero {
    padding-block: 24px;
    background-position: center top, right 38% bottom;
    background-size: cover, auto 80%;
  }

  .hero__inner {
    padding: 0;
    height: 400px;
  }

  .hero__heading-img {
    width: 95%;
    margin: 0 auto;
  }

  .hero__title {
    flex-direction: column;
    gap: 6px;
    padding: 0;
  }

  .hero__title::before {
    inset: 40% 50% auto auto;
    transform: translate(50%, -50%);
  }

  .hero__title-sub {
    font-size: 0.8em;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 6rem;
  }

  .hero__title-main {
    font-size: 1.675em;
    line-height: 3rem;
  }

  .hero__bg-title {
    inset: -85% auto auto -5%;
    font-size: clamp(3.6rem, 7vw, 8.4rem);
  }
}


/* ------------------------------
   2. キャンペーン概要
------------------------------ */

.campaign {
  background-color: #1e1e3c;
  color: #fff;
}

.campaign__inner {
  padding-block: 48px;
  padding-inline: 48px;
  padding-right: 48px;
}

/* SPでは余白を少し抑える */
@media (max-width: 599px) {
  .campaign__inner {
    padding-inline: 0;
  }
}

/* 左の説明 + 右の円（横並び） */
.campaign__header {
  position: relative;
}

/* 左側リードコピー */
.campaign__lead-text {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 700;
  max-width: 600px;
  margin-bottom: 0.5em;
}

.campaign__lead-location {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.campaign__lead-postscript {
  max-width: 800px;
  color: #fffa8c;
}

/* 右側 真円ハッシュタグブロック */
.campaign__hash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fffa8c;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  text-align: center;
  position: absolute;
  top: -45px;
  right: 0;
}

/* #内海清美展 のバッジ */
.campaign__hash-tag {
  background: #fff;
  color: #036eb8;
  padding: 0 40px;
  border-radius: 999px;
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: 700;
  white-space: nowrap;
}

/* 「ハッシュタグをつけて、…」のテキスト */
.campaign__hash-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #d70051;
  max-width: 90%;
}

/* SP時：縦積みレイアウトに */
@media (max-width: 599px) {
  .campaign__header {
    position: static;
  }

  .campaign__hash {
    width: 220px;
    height: 220px;
    margin-inline: auto;
    position: static;
  }

  .campaign__lead-text {
    font-size: 1.2rem;
    max-width: 100%;
  }
}

/* キャンペーン内の注意書き（色だけ上書き） */
.campaign__note {
  color: #fff;
}

/* 応募期間・賞品などのブロック */
.campaign__detail {
  margin-top: 32px;
  font-size: 1.2rem;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 12px;
  border-top: 1px solid #fff;   /* 上線 */
  border-bottom: 1px solid #fff;/* 下線 */
  padding: 16px 32px;
}

.campaign__detail + .campaign__detail {
  border-top: none;
  margin-top: 0;
}

.campaign__detail-title,
.campaign__detail-body {
  color: #fff;
  padding-block: 8px;
  margin-top: 0;
}

.campaign__detail-title {
  font-weight: 700;
}

/* 応募期間行のタイポ微調整 */
.campaign__detail--period time {
  font-feature-settings: "palt";
  font-weight: 700;
}

/* 賞品リスト：①② + 左右揃え */
.campaign__prize-list {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
}

.campaign__prize-item {
  position: relative;
  padding-left: 2.4em;
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ①② を li の先頭に */
.campaign__prize-item::before {
  position: absolute;
  left: 0;
  top: 0;
}

.campaign__prize-item:nth-child(1)::before {
  content: "①";
}

.campaign__prize-item:nth-child(2)::before {
  content: "②";
}

/* 商品名と当選者数を横揃え */
.campaign__prize-name {
  flex: 1;
}

.campaign__prize-num {
  white-space: nowrap;
}

/* 補足注記（白文字に） */
.campaign__ets {
  color: #fff;
}

@media (max-width: 599px) {
  .campaign__detail {
    grid-template-columns: auto;
    column-gap: unset;
    row-gap: unset;
    padding: 16px;
  }
  
  .campaign__detail-title {
    text-align: center;
  }
  
  .campaign__detail--period time {
    font-size: 1.2rem;
  }
  
  .campaign__prize-item {
    font-size: 1rem;
  }
}


/* ------------------------------
   3. 応募方法
------------------------------ */

.howto {
  background-color: #d7dce6;
  color: #1e1e3c;
}

.howto__inner {
  padding-block: 48px;
  padding-inline: 48px;
  padding-right: 48px;
}

/* PC横並び */
.howto__layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.howto__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #1e1e3c;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}

/* 本文部 */
.howto__body {
  flex: 1;
}

/* 手順リスト */
.howto__steps {
  list-style: decimal;
  padding-left: 1.2em;
}

.howto__step {
  margin-bottom: 1.4em;
  font-size: 1.4rem;
  font-weight: bold;
}

/* howto内の注意書きは太字なしに戻す */
.howto__note {
  font-weight: initial;
}

/* SP時の余白調整 */
@media (max-width: 599px) {
  .howto__inner {
    padding: 20px;
  }

  .howto__layout {
    flex-direction: column;
  }
  
  .howto__badge {
    margin: auto;
  }
  
  .howto__step {
    font-size: 1.2em;
  }
}

/* CTA周り */
.howto__cta-container {
  padding-bottom: 48px;
}

.howto__cta {
  margin-top: 0;
}

.howto__cta .btn {
  width: 100%;
  border-radius: 16px;
  font-size: 2rem;
}


/* ------------------------------
   4. お問い合わせ
------------------------------ */

.info {
  background-color: #d7dce6;
  color: #1e1e3c;
  text-align: center;
  padding-block: 48px;
}

.info__title {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
  position: relative;
  display: inline-block;
}

/* 前後に ■ を付け、間隔1文字 */
.info__title::before,
.info__title::after {
  content: "■";
  font-weight: 700;
  display: inline-block;
  margin: 0 0.5em;
}

.info__text,
.info__mail,
.info__time {
  font-size: 0.95rem;
}

.info__address {
  font-style: normal;
  margin-top: 8px;
}

/* メールリンクだけ少し強調 */
.info__mail a[href^="mailto:"] {
  text-decoration: underline;
}


/* ------------------------------
   5. レスポンシブ微調整（PC）
------------------------------ */

@media (min-width: 960px) {
  /* コンテナ内の行間を少し広げる */
  .campaign__inner,
  .howto__inner,
  .info__inner {
    line-height: 1.9;
  }
}

