@charset "SHIFT-JIS";

/* =========================================
   リセット & ベーススタイル
========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #fdfaf5;
}

a {
  text-decoration: none;
  color: inherit;
}
.br-sp {
	display: inline;
}
.br-pc {
	display:none;
}
/* =========================================
   共通レイアウト (モバイルファースト)
========================================= */
.campaign-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.cp-content-area {
  padding: 40px 20px;
}

.cp-section {
  margin-bottom: 60px;
  display: block;
}

.cp-section.bg-highlight {
  background-color: #fdf5f5;
  padding: 30px 20px;
  border-radius: 8px;
  margin-left: -10px;
  margin-right: -10px;
}

.cp-section-title {
  text-align: center;
  margin-bottom: 30px;
  display: block;
}

.title-deco {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: bold;
  color: #c23b4e;
  position: relative;
  padding: 0 40px;
}

.title-deco::before,
.title-deco::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background-color: #c23b4e;
  transform: translateY(-50%);
}

.title-deco::before {
  left: 0;
}

.title-deco::after {
  right: 0;
}

/* =========================================
   画像を綺麗に表示するための共通設定
========================================= */
.cp-hero-banner img,
.cp-product-image img,
.cp-series-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background-color: #f5f5f5; /* 画像読み込みまでのプレースホルダー色 */
}

/* =========================================
   各コンポーネント (モバイルファースト)
========================================= */

/* =========================================
   ベース設定 (SP・PC共通)
========================================= */
.cp-hero-banner img,
.cp-product-image img,
.cp-series-banner img {
  width: 100%;
  height: auto;  /* これがあることで本来の比率を保ちます */
  display: block;
  /* object-fit: cover; は不要になるため削除推奨ですが、残していても問題ありません */
  background-color: #f5f5f5;
}

/* =========================================
   各コンポーネント (モバイルファースト)
========================================= */
/* メインバナー */
.cp-hero-banner {
  width: 100%;
  overflow: hidden;
}

/* 共通CSSのリンク色を上書き */
.campaign-wrapper a.cp-product-card {
  display: block;
  background-color: #ffffff;
  border: 2px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  color: #333333 !important; 
  text-decoration: none !important;
}

.campaign-wrapper a.cp-product-card:hover {
  border-color: #c23b4e;
  box-shadow: 0 8px 16px rgba(194, 59, 78, 0.15);
  transform: translateY(-4px);
}
.cp-intro-lead {
  display: block;
  font-size: 1.4em;
}
.cp-intro-text {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: #555555;
  letter-spacing: 0.1em;
  line-height: 2.2;
  padding: 10px 10px;
  margin: 0 auto 20px;
  position: relative;
}


.cp-product-badge {
  display: inline-block;
  margin-bottom: 10px;    /* 下の文字との余白も少し広げます */
  background-color: #c23b4e;
  color: #ffffff;
  font-size: 1.3rem;    /* ★文字を大きく（約18px相当） */
  font-weight: bold;
  padding: 8px 16px;      /* ★上下8px、左右16pxの余白 */
  border-radius: 4px;
}

.cp-product-image {
  width: 100%;
  overflow: hidden;
}

.cp-product-image img {
  aspect-ratio: 1 / 1;
}

.cp-product-info {
  padding: 16px;
  text-align: center;
}

/* 文字色強制上書き */
.cp-product-code {
  font-size: 1.3rem;
  color: #999999 !important;
  margin-bottom: 4px;
}

.product-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  background: none;
  padding: 0;
  margin: 10px 0;
  border: none;
}
/* お客様のお声 (アコーディオン) */
.cp-accordion {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cp-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.4rem;
  color: #c23b4e;
  list-style: none;
}

.cp-accordion-summary::-webkit-details-marker {
  display: none;
}

.summary-icon {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fdf5f5;
  border: 1px solid #c23b4e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-icon::before,
.summary-icon::after {
  content: "";
  position: absolute;
  background-color: #c23b4e;
  transition: transform 0.3s ease;
}

.summary-icon::before {
  width: 10px;
  height: 2px;
}

.summary-icon::after {
  width: 2px;
  height: 10px;
}

.cp-accordion[open] .summary-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.cp-accordion-content {
  padding: 0 20px 20px;
}

.cp-voice-list {
  max-height: 300px;
  overflow-y: auto;
  padding-top: 16px;
  border-top: 1px dashed #cccccc;
}

.cp-voice-item {
  position: relative;
  padding: 12px;
  margin-bottom: 12px;
  background-color: #fdfaf5;
  border-radius: 8px;
  font-size: 1.2rem;
}

.cp-voice-item::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #fdfaf5 transparent;
}

.cp-voice-item:last-child {
  margin-bottom: 0;
}

/* シリーズの商品バナー */
.cp-series-banner {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.cp-series-banner img {
  aspect-ratio: 16 / 9;
}

/* 販促POPリンクボタン */
.cp-action-area {
  margin-top: 50px;
  text-align: center;
}

.campaign-wrapper a.cp-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background: #c1440e;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 6px;
  transition: background 0.2s ease;
  text-decoration: none !important;
}

.campaign-wrapper a.cp-btn-gold:hover {
  background: #9c3209;
}

.campaign-wrapper a.cp-btn-gold span::after {
  content: "→";
  margin-left: 10px;
}
.cp-product-grid {
  display: grid;
  grid-template-columns: 1fr; /* 縦1列に並べる */
  gap: 20px; /* 商品と商品の間の余白 */
}
/* =========================================
   YouTube動画のレスポンシブ＆中央揃え
========================================= */
.youtube {
  width: 100%;
  max-width: 600px; /* PCでも大きくなりすぎないようにサイズを調整 */
  margin: 0 auto 40px; /* 中央配置 ＆ 下に余白 */
}

.youtube .inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9の比率を保つ */
}

.youtube .inner iframe {
  position: absolute;
  top: 0;   /* ★ここが抜けてエラーになっていました、申し訳ありません */
  left: 0;
  width: 100%;
  height: 100%;
}

/* =========================================
   商品紹介（twobox2）のレイアウト
========================================= */
.twobox2 {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* 画像エリアを中央に */
.twobox2 > div:first-child {
  text-align: center;
  margin-bottom: 30px;
}

.twobox2 > div:first-child img {
  max-width: 300px; /* 画像の最大サイズ */
  width: 100%;
  height: auto;
}
.cp-voice-note {
  text-align: right; /* 右端に寄せる */
  font-size: 0.8rem; /* 注釈らしく文字を少し小さく */
  color: #666666; /* 目立ちすぎないグレーに */
  margin-top: 15px; /* 上のリストとの隙間 */
  padding-right: 5px; /* 右端ギリギリにならないよう少し余白を確保 */
}
/* 共通（SP/PCどちらでも同じ） */

.box1 {
    padding: 1em;
    margin: 1em 0;
    color:black;/*文字色*/
    background: #FFF;
    border: solid 3px #dcdddd;/*線*/
    border-radius: 10px;/*角の丸み*/
	font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
	max-width: 600px;
	margin: 0 auto;
}

.box1_main {
	margin: 0;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
}

.box1_sub{
	margin: 0;
	text-align: center;
	font-size: 13px;
	font-weight: 100;
	line-height: 1.5;
}


/*期間ここまで*/


/* =========================================
   全体設定
========================================= */
.titanail-series {
  max-width: 1000px;
  margin: 0 auto;  /* ← コロンが抜けていたので修正 */
  padding: 0px 20px;
  font-family: sans-serif;
  color: #333;
}

/* =========================================
   3商品紹介エリア
========================================= */
.product-list {
  display: flex;  /* ← コロンが抜けていたので修正 */
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;  /* ← コロンが抜けていたので修正 */
}

.product-labels {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  gap: 2px;
  margin-bottom: 15px;
}

.label-blue, .label-black, .label-orange, .label-green {
  color: #fff;
  font-size: 0.99rem;
  padding: 4px 12px;
  font-weight: bold;
}
.label-blue { background-color: #40a0c6; }
.label-black { background-color: #222; }
.label-orange { background-color: #d89674; }
.label-green { background-color: #7ABC75; }

.product-image img {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.product-name img {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
}
.cp-product-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333333 !important;
}
p.product-catch {
  font-weight: bold;
  font-size: 1.1rem;  /* ← コロンが抜けていたので修正 */
  line-height: 1.5;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
  width: 100%;
  text-align: center !important;
}

.product-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
}
.flow-section {
  background: linear-gradient(135deg, #f0f8fc, #e8f4f8);
  padding: 50px 30px 40px;
  border-radius: 16px;
  margin-top: 60px;
  position: relative;
  border: 1px solid #c8e3ef;
}

.flow-title {
  background: linear-gradient(90deg, #40a0c6, #2d8aad);
  color: #fff;
  display: inline-block;
  padding: 10px 35px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(64,160,198,0.3);
}

.flow-list {
  list-style: none;
  padding: 20px 0 0;
  margin: 20px auto 0;
  max-width: 480px;
  counter-reset: step-counter;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
  counter-increment: step-counter;
  position: relative;
}

/* 数字バッジ */
.flow-step::before {
  content: counter(step-counter);
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-dashed {
  background: #fff;
  border: 1px solid #ddd;
  color: #555;
	font-size: 1rem;
}
.step-dashed::before {
  background: #eee;
  color: #777;
}

.step-blue {
  background: linear-gradient(90deg, #e8f4f9, #d0eaf5);
  border: 1px solid #40a0c6;
  color: #2070a0;
}
.step-blue::before {
  background: #40a0c6;
  color: #fff;
}

.step-orange {
  background: linear-gradient(90deg, #fdf3ee, #fae6da);
  border: 1px solid #d89674;
  color: #b06040;
}
.step-orange::before {
  background: #d89674;
  color: #fff;
}

.step-note {
  font-size: 0.9rem;
  color: #c47a58;
  margin-right: 4px;
}
/* ▼ PC向け（商品3カラム） */
@media (min-width: 768px) {
  .product-list {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }
  .product-item {
    flex: 1;
    position: relative;
  }
  .product-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    height: 100%;
    border-right: 1px dashed #ccc;
  }
}
/* =========================================
   使い方・フロー図エリア（リデザイン）
========================================= */
.flow-section {
  background: linear-gradient(135deg, #f0f8fc, #e8f4f8);
  padding: 50px 30px 40px;
  border-radius: 16px;
  margin-top: 60px;
  position: relative;
  border: 1px solid #c8e3ef;
  /* 追加 */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-title {
  background: linear-gradient(90deg, #40a0c6, #2d8aad);
  color: #fff;
  display: inline-block;
  padding: 10px 35px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.4rem;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(64, 160, 198, 0.35);
  letter-spacing: 0.05em;
}

.flow-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.flow-step {
  position: relative;
  width: 200px;
  padding: 14px 10px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.85rem;
  z-index: 1;
  transition: transform 0.2s;
}

.flow-step:hover {
  transform: translateY(-2px);
}

/* SP：下向き矢印 */
.flow-step:not(:last-child)::after {
  content: "▼";
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  color: #40a0c6;
  font-size: 0.7rem;
}

.step-dashed {
  background-color: #fff;
  border: 2px dashed #aad0e0;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
　font-size: 15px;
}

.step-blue {
  background: linear-gradient(135deg, #40a0c6, #2d8aad);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(64, 160, 198, 0.4);
}

.step-orange {
  background: linear-gradient(135deg, #d89674, #c47a58);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(196, 122, 88, 0.4);
  margin-top: 15px;
}

.step-note {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: #c47a58;
  white-space: nowrap;
  font-weight: bold;
  letter-spacing: 0.03em;
}
.br-sp {
	display: inline;
}
.br-pc {
	display:none;
}
.detail-elegant-wrap {
  text-align: center;
  margin: 24px 0;
}

.detail-elegant-btn {
  display: inline-block;
  border: 1px solid #b8a98a;
  color: #b8a98a;
  text-decoration: none;
  padding: 14px 48px;
  font-size: 14px;
  letter-spacing: 0.15em;
  background-color: #fff;
  transition: all 0.3s;
}

.detail-elegant-btn:hover {
  background-color: #b8a98a;
  color: #fff;
}
/* =========================================
   タブレット・PC向けレイアウト (820px以上)
========================================= */
@media (min-width: 820px) {
.br-sp {
	display: none;
}
.br-pc {
	display:inline;
}
  .cp-content-area {
    padding: 60px 40px;
  }

  .cp-section.bg-highlight {
    padding: 40px;
    margin-left: 0;
    margin-right: 0;
  }


  
  .campaign-wrapper a.cp-btn-gold {
    width: 600px;
    font-size: 1.25rem;
  }
.cp-product-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.cp-product-grid .cp-product-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 16px);
  margin: 0 auto;
}
  .twobox2 {
    display: flex;
    align-items: flex-start;
    gap: 40px;
  }
  
  /* 画像を左に配置 */
  .twobox2 > div:first-child {
    flex: 0 0 40%; 
    margin-bottom: 0;
  }
  
  /* テキストを右に配置 */
  .twobox2 > div:last-child {
    flex: 1;
  }
 .flow-list {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .flow-step {
    width: auto;
    min-width: 110px;
    flex: 1;
    margin: 0 4px;
    padding: 16px 8px;
    font-size: 0.9rem;
  }

  .step-orange {
    margin-top: 0;
  }

  /* PC：右向き矢印 */
  .flow-step:not(:last-child)::after {
    content: "?";
    position: absolute;
    top: 50%;
    right: -14px;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
    color: #40a0c6;
    font-size: 0.65rem;
  }
	.cp-voice-note {
   font-size: 1.1rem; /* 注釈らしく文字を少し小さく */
}
}