@charset "UTF-8";

/* =========================================
   ベース設定
   ========================================= */
a:visited {
  color: #fff;
}

body section {
  overflow: visible;
}

section {
  margin: 0 auto;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
  margin: 0 auto;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "M PLUS 1p", "Helvetica Neue", Arial, sans-serif;
  color: #5d4037;
  background: none;
  background-color: transparent;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.text-center {
  text-align: center;
}

.iNline {
  display: none;
}

.oUtline {
  display: inline;
}

/* =========================================
   ヘッダーエリア
   ========================================= */
.site-header {
  width: 100%;
  background-color: #fdd835;
  padding: 80px 0px 40px;
  text-align: center;
  position: relative;
  z-index: 10;
  background-image: url(images/head_bg.webp);
  background-repeat: repeat-x;
  background-position: center top 40px;
  background-size: auto calc(100% - 40px);
}

.header-inner {
  max-width: 960px;
  padding: 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.header-spbadge {
  width: 145px;
  padding-bottom: 20px;
}

.header-img img {
  width: 370px;
  height: auto;
}

.header-info {
  text-align: left;
}

.header-info h1 {
  font-size: 32px;
  margin: 0 0 20px 0;
  color: #5d4037;
  letter-spacing: 0.05em;
  text-align: center;
}

.event-period {
  display: inline-block;
  background-color: #5d4037;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-align: center;
}

.period-label {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.period-date {
  display: block;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* =========================================
   メインコンテンツ
   ========================================= */
#bg_layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -999;
  background-color: #fdfaf1;
  background-image:
    linear-gradient(rgba(183, 171, 154, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 171, 154, 0.5) 1px, transparent 1px);
  background-size: 30px 30px;
  background-repeat: repeat;
}

.container {
  width: 100%;
  max-width: 960px;
  background-color: #fff;
  padding-bottom: 0;
}

.content-inner {
  padding: 60px 60px 6px 60px;
  background-image: url(images/content-inner_bg.webp);
  background-size: contain;
  background-repeat: repeat-y;
}

section {
  margin-bottom: 80px;
}

/* =========================================
   各パーツデザイン
   ========================================= */
.section-header-bar {
  background-color: #5d4037;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  border-radius: 8px;
  margin-bottom: 40px;
  position: relative;
  max-width: 750px;
}

.section-header-bar::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-image: url("images/white_flower.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* キャンペーン用のピンク見出し */
.section-header-bar.pink-ver {
  background-color: #e47e7e;
}

.section-header-bar.pink-ver::after {
  color: #ffebee;
}

.section-header-bar.pink-ver::before {
  content: "";
  position: absolute;
  right: 45px;
  top: 35%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  background-image: url("images/2x/luf@2x.webp"); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.text-box {
  border: 9px solid #fff;
  outline: 3px solid #8d6e63;
  outline-offset: -3px;
  border-radius: 15px;
  padding: 3em 1.7em;
  color: #5d4037;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.31px;
  position: relative;
  text-align: left;
  background-color: #f9f0d0;
  background-image:
    url("images/text_flower01.webp"), 
    url("images/text_flower02.webp"),
    radial-gradient(#ffffff 28%, transparent 28%),
    radial-gradient(#ffffff 28%, transparent 28%);
  background-position:
    top 10px left 10px,
    bottom 10px right 10px,
    0 0,
    5px 5px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size:
    60px auto,
    60px auto,
    10px 10px,
    10px 10px;
}

.char-profile-area .text-box {
  font-weight: 400;
}

/* キャラクター画像 */
.chara-img {
  text-align: center;
  margin-bottom: 20px;
}

.chara-img img {
  width: 746px;
  max-width: 80%;
}

/* 名前・ライン・ドット枠 */
.char-profile-area {
  max-width: 750px;
}

.char-name-block {
  text-align: center;
  margin-bottom: 10px;
}

.char-ruby {
  display: block;
  font-size: 14px;
  color: #8d6e63;
  margin-bottom: 0;
}

.char-kanji {
  font-size: 32px;
  margin: 0;
  color: #5d4037;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.sep-line {
  width: 100%;
  height: 3px;
  background-color: #fdd835;
  margin-bottom: 20px;
  border-radius: 2px;
}

/* 1) 開催期間エリア */
.collab-period-area {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 2px solid #ebc84a;
}

.period-title {
  font-weight: bold;
  color: #5d4037;
  margin-bottom: 5px;
}

.period-box-dark {
  background-color: #5d4037;
  color: #fff;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

/* 2) 注意事項エリア */
.notes-area.text-center {
  max-width: 700px;
}

.notes-container {
  margin-top: 50px;
  text-align: center;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.notes-label {
  display: inline-block;
  background-color: #7986cb;
  color: #fff;
  padding: 5px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 15px;
  position: relative;
  z-index: 5;
}

.notes-box {
  background-color: #e8eaf6;
  border: 9px solid #fff;
  outline: 3px solid #c5cae9;
  outline-offset: -3px;
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  font-size: 13px;
  position: relative;
  background-image:
    url("images/notes_flower01.webp"), url("images/notes_flower02.webp"),
    radial-gradient(#ecd8b8 20%, transparent 20%),
    radial-gradient(#ecd8b8 20%, transparent 20%);
  background-position:
    top 10px left 10px,
    bottom 10px right 10px,
    0 0,
    5px 5px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size:
    60px auto,
    60px auto,
    10px 10px,
    10px 10px;
}

.notes-box p {
  padding-left: 0px;
  margin: 10px 0 5px;
  color: #5d4037;
}

.notes-box ul {
  padding-left: 0px;
  margin: 10px 0 20px;
  color: #5d4037;
}

.notes-box li {
  margin-bottom: 8px;
  line-height: 1.6;
  text-indent: -1em;
  padding-left: 1em;
}

.notes-box li::before {
  content: "・";
}

.notes-small {
  font-size: 13px;
  color: #5d4037;
  margin-top: 15px;
  text-align: left;
}

/* 3) キャンペーン */
.campaign-container {
  width: 100%;
  max-width: 700px !important;
}

.cp-title {
  display: inline-block;
  color: #5d4037;
  font-weight: bold;
  font-size: 24px;
  margin: 0 0 20px 0;
  background: linear-gradient(transparent 60%, #fdd3d4 60%);
  padding: 0 10px;
}

.cp-period-badge {
  background-color: #424242;
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: inline-block;
}

.cp-box {
  background-color: #f8e1de;
  border: 9px solid #fff;
  outline: 3px solid #846a5c;
  outline-offset: -3px;
  border-radius: 15px;
  padding: 3em 2em;
  color: #5d4037;
  font-weight: normal;
  line-height: 1.8;
  position: relative;
  text-align: left;
  background-image:
    url("images/cp_flower01.webp"), url("images/cp_flower02.webp"),
    radial-gradient(#ffffff 20%, transparent 20%),
    radial-gradient(#ffffff 20%, transparent 20%);
  background-position:
    top 10px left 10px,
    bottom 10px right 10px,
    0 0,
    5px 5px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size:
    60px auto,
    60px auto,
    10px 10px,
    10px 10px;
}

.cp-cap-box {
  background-color: #5d4037;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.red-marker {
  color: #ff98a8;
}

.cp-desc {
  font-size: clamp(10px, 4.0vw, 18px);
}

.cp-point {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(transparent 60%, #feb6b7 80%);
}

.cp-point02 {
  font-size: 1.25em;
}

.cp-comments-text {
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
}

/* =========================================
   ハイライト見出し（レスポンシブ完全対応版）
   ========================================= */

/* --- 1. 大枠のコンテナ（h2タグ自身） --- */
.highlight-title,
.highlight-title-pink {
  display: block;
  margin: 0 auto 20px auto;
  text-align: center;
  font-weight: 700;
  color: #5d4037;
  line-height: 1.6;
  max-width: 90%;
}

/* PC時の文字サイズ */
.highlight-title { font-size: 24px; }
.highlight-title-pink { font-size: 27px; }

/* --- 2. マーカーを引く部分（直下のspan） --- */
.highlight-title span,
.highlight-title-pink span {
  display: inline;
  padding: 0 5px;
  /* ★超重要：改行した時も背景と余白を各行に綺麗に適用させる魔法 */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* 黄色のマーカー線（calcを使って下から10px分だけ色をつける） */
.highlight-title span {
  background: linear-gradient(transparent calc(100% - 10px), #fce4b6 calc(100% - 10px));
}

/* ピンクのマーカー線（calcを使って下から18px分だけ色をつける） */
.highlight-title-pink span {
  background: linear-gradient(transparent calc(100% - 18px), #fdd3d4 calc(100% - 18px));
}

.pc-only-br { display: inline; }   /* PCでは有効 */
.sp-only-br { display: none; }     /* PCでは隠す */





/* キャラクター画像 */
.spcollab-image {
  display: block;
  width: 50%;
  max-width: 240px;
  text-align: center;
  margin: 0 auto 20px auto;
  padding: 30px 0;
}

.spcollab-image img {
  width: 100%;
}


/* =========================================
   3枚横並びの画像エリア
   ========================================= */
.spcollab-image-3col {
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;     /* 高さの中央揃え */
  gap: 15px;               /* 画像と画像の間の隙間 */
  margin: 0 auto 20px auto;
  padding: 30px 0;
  max-width: 740px;        /* 広がりすぎないように最大幅を設定 */
}

.spcollab-image-3col img {
  width: calc(33.333% - 10px); /* 3等分して隙間分を引く */
  max-width: 240px;            /* 1枚あたりの最大幅 */
  height: auto;
}



.spcollab-image2 {
  display: block;
  width: 90%;
  max-width: 600px;
  text-align: center;
  margin: 0 auto 20px auto;
  padding: 30px 0;
}

.spcollab-image2 img {
  width: 100%;
}

.spcollab-image3 {
  display: block;
  width: 100%;
  max-width: 720px;
  text-align: center;
  margin: 0 auto 0px auto;
  padding: 50px 0 20px;
}

.spcollab-image3 img {
  width: 100%;
}

.spcollab-image3 .text-box {
  margin-top: 30px;
  font-size: 0.85em;
}

/* ピンクバージョンのテキストボックス */
.text-box-pink {
  border: 9px solid #fff;
  outline: 3px solid #8d6e63;
  outline-offset: -3px;
  border-radius: 15px;
  padding: 3em 1.7em;
  color: #5d4037;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.25px;
  position: relative;
  text-align: left;
  background-color: #fbe0e4;
  background-image:
    url("images/text_flower03.webp"), 
    url("images/text_flower04.webp"),
    radial-gradient(#ffffff 28%, transparent 28%),
    radial-gradient(#ffffff 28%, transparent 28%);
  background-position:
    top 10px left 10px,
    bottom 10px right 10px,
    0 0,
    5px 5px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size:
    60px auto,
    60px auto,
    10px 10px,
    10px 10px;
}

.text-box-pink .cp-point {
  font-size: 1em;
  font-weight: 900;
  background: linear-gradient(transparent 60%, #feb6b7 80%);
}

.text-box-pink .cp-point2 {
  font-size: 1em;
  font-weight: 400;
  background: linear-gradient(transparent 60%, #feb6b7 80%);
}

.badge-label {
  background: #fdd835;
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  max-width: 200px;
  font-weight: bold;
}

.mission-block {
  margin-bottom: 100px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* ボタン共通 */
.link-btn, .x-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  max-width: 400px;
  padding: 12px 20px;
  font-weight: bold;
  font-size: 16px;
  border: 2px solid #ffffff;
  border-radius: 50px;
  transition: opacity 0.3s;
  box-sizing: border-box;
}

.link-btn {
  background-color: #ffbb33;
  box-shadow: 0 0 0 3px #ffbb33;
}

.link-btn .btn-text {
  color: #5d4037;
}

.link-btn.btn-text a:visited {
  color: #5d4037;
}

.x-btn {
  background-color: #3e4447;
  color: #ffffff;
  box-shadow: 0 0 0 3px #3e4447;
}

.link-btn:hover, .x-btn:hover {
  opacity: 0.8;
}

.btn-text {
  width: 100%;
  text-align: center;
  margin-left: 0;
}

.btn-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #fff;
  border-radius: 50%;
}

.btn-arrow::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #ffbb33;
  border-right: 2px solid #ffbb33;
  transform: rotate(45deg);
  margin-left: -2px;
}

.x-btn .btn-arrow::after {
  border-color: #aaa;
}

.btn-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 60px;
}

/* =========================================
   コラボ解説
   ========================================= */
.logo-img {
  max-width: 400px;
  margin: 0 auto 60px;
}

.content-description {
  width: 100%;
  padding: 60px 0 60px;
  text-align: center;
  position: relative;
  background-color: #ffeab8;
  background-image:
    radial-gradient(#fff3d7 20%, transparent 20%),
    radial-gradient(#fff3d7 20%, transparent 20%);
  background-position:
    0 0,
    10px 10px;
  background-size: 20px 20px;
  background-repeat: repeat;
  margin-bottom: 0;
}

.dedcription-inner {
  max-width: 960px;
  padding: 0px 60px;
  margin: 0 auto;
  box-sizing: border-box;
}

.dedcription-inner .text-box, .dedcription-inner .btn-wrapper {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.dedcription-inner .btn-wrapper {
  margin-top: 60px;
}

.back-btn-wrapper {
  max-width: 310px;
  margin: 0 auto;
  padding-top: 50px;
}

.copy {
  font-size: small;
  text-align: center;
  margin-top: 20px;
}

.footer-deco-bar {
  width: 100%;
  background-color: #fdd835;
  padding: 0px 0px 70px;
  text-align: center;
  position: relative;
  background-image: url(images/footer-deco_bg.webp);
  background-repeat: repeat-x;
  background-size: 40px;
}

.copyright {
  background-color: #000000;
  color: #fff;
  margin: 0;
  padding: 20px;
  text-align: center;
}

.fixed-side-share {
  position: fixed;
  top: 20%;
  right: -0.8%;
  z-index: 900;
  width: 70px;
  height: auto;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s;
  transform: translateX(120%);
  opacity: 0;
  pointer-events: none;
}

.fixed-side-share img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-left: 0.4vw;
}

.fixed-side-share.is-show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.fixed-side-share.is-show:hover {
  transform: translateX(0) scale(1.02);
  transform-origin: right center;
  opacity: 1;
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #5d4037;
  color: #fdd835;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}


/* =========================================
   レスポンシブ対応（メディアクエリ）
   ========================================= */

   /* =========================================
   レスポンシブ対応（メディアクエリ）
   ========================================= */

/* タブレット・大きめのスマホ用環境（768px以下を一括統合） */
@media screen and (max-width: 768px) {
  .iNline { display: inline; }
  .oUtline { display: none; }
  .header-inner { flex-direction: column; gap: 20px; padding: 0 10vw; }
  .content-inner { padding: 40px 20px; }
  .dedcription-inner { padding: 0 20px; }
  .header-img img { width: 100%; }
  .header-info h1 { font-size: 24px; text-align: center; }
  .cp-title { font-size: 18px; }
  .site-header { background-position: center top 0; background-size: contain; }
  .highlight-title,
  .highlight-title-pink {
    font-size: 1.2em;
  }

  .section-header-bar.pink-ver {
    padding-right: 85px; /* 右側に文字が入り込まないようにガード */
    box-sizing: border-box;
  }
  .section-header-bar.pink-ver::before {
    width: 50px;  /* お花（30px）のサイズに合わせて縮小 */
    height: 50px;
    right: 35px;  /* お花の左隣にぴったり並ぶように位置調整 */
    top: 45%;     /* 上下中央をキープ */
    transform: translateY(-50%);
  }
  
  /* スマホ時はマーカーの太さを細め（8px）に統一 */
  .highlight-title span {
    background: linear-gradient(transparent calc(100% - 8px), #fce4b6 calc(100% - 8px));
  }
  .highlight-title-pink span {
    background: linear-gradient(transparent calc(100% - 8px), #fdd3d4 calc(100% - 8px));
  }
  .cp-cap-box { white-space: normal; }
  /* ここにあったフライングしていた .text-box-pink を削除しました！ */
}

/* 特殊なサイズ調整環境 */
@media screen and (max-width: 520px) {
  .content-inner, .container { background: none; }
  #bg_layer { opacity: 0.4; }
}

/* 一般的なスマホ用環境 */
@media screen and (max-width: 425px) {


  .pc-only-br { display: none; }   /* スマホではPC用改行を無効化 */
  .sp-only-br { display: inline; } /* スマホではここだけで改行させる */



  .content-inner { padding: 30px 0; background: none; }
  .container { background: none; }
  #bg_layer { opacity: 0.4; }
  .dedcription-inner { padding: 0; }
  .event-period { width: 100%; }
  .section-header-bar { font-size: 15px; padding: 10px; margin-bottom: 30px; margin-left: 15px; margin-right: 15px; }
  .sep-line { max-width: 90%; }


  .section-header-bar.pink-ver {
    font-size: 13px;       /* 375px〜320pxでも1行に収まる絶妙なサイズ */
    text-align: left;      /* 中央寄せだとキャラと被るため、スマホだけ左寄せに */
    padding-left: 15px;    /* 左側の余白 */
    padding-right: 95px;   /* ★最重要：右側のキャラ＋お花のスペースを完全に確保 */
    white-space: nowrap;   /* 絶対に改行させない指定 */
    box-sizing: border-box;
  }


  /* ★ここに .text-box-pink を追加して共通化！ */
  .text-box, .text-box-pink, .cp-box, .notes-box {
    width: auto;
    margin: 5px 0 30px 0;
    outline: none !important;
    border-radius: 0;
    border-left: none !important;
    border-right: none !important;
    border-top: 6px solid #ffffff !important;
    border-bottom: 6px solid #ffffff !important;
    padding: 35px 15px;
  }

  /* ★ここにも .text-box-pink を追加！ */
  .text-box, .text-box-pink {
    box-shadow:
      0 -3px 0 0 #8d6e63,
      0 3px 0 0 #8d6e63;
    font-size: 1rem;
    line-height: 1.8;
    padding-top: 5vh;
    padding-bottom: 4vh;
  }

  .collab-period-area { max-width: 90%; }
  .period-box-dark { max-width: 80%; }
  .cp-box { box-shadow: 0 -3px 0 0 #846a5c, 0 3px 0 0 #846a5c; }
  .notes-box { box-shadow: 0 -3px 0 0 #c5cae9, 0 3px 0 0 #c5cae9; }
  .notes-box ul { padding-left: 10px; margin: 20px 0; }
  .x-btn, .link-btn { max-width: 90%; }
  .highlight-title {
    font-size: 1rem;
    line-height: 1.4;
    padding: 0 5px;
    /*background: linear-gradient(transparent 45%, #fce4b6 100%);*/
    display: block;
    max-width: 80%;
    margin: 0 auto 2vh;
  }
  .char-kanji { font-size: 26px; }
  .chara-img img { width: 260px; }
  .cp-title { font-size: 18px; line-height: 1.4; }
  .cp-cap-box { font-size: 1.0rem; padding: 8px; }
  .cp-desc, .cp-comments-text { font-size: 1rem; }
  .cp-point { font-size: 15px; }
  .logo-img { margin-bottom: 30px; max-width: 80%; }
  .fixed-side-share img { width: 70%; height: auto; margin-left: 8vw; }

  
  .period-label {
    display: block;
    font-size: 0.91em;
  }
  .period-date {
    display: block;
    font-size: 0.91em;
  }
  
  /* スマホ版の3枚横並び調整 */
  .spcollab-image-3col {
    gap: 5px;         /* スマホでは隙間を狭くして画像を大きく見せる */
    padding: 15px 0;
    max-width: 90%;   /* 画面幅に合わせて少し余裕を持たせる */
  }

  .spcollab-image-3col img {
    width: calc(33.333% - 3.3px);
  }
  



}


