/** 汎用スタイル **/
body {
  font-size: 1.1rem;
  line-height: 1.7rem;
}
.ls {
  letter-spacing: 0.2rem;
}
.bw-2 {
  border-width: 2px !important;
}
.bw-3 {
  border-width: 3px !important;
}
:root {
  --font-family-Noto: 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  --font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-family-Mincho: '游明朝', Yu Mincho, YuMincho, Hiragino Mincho Pro, serif;
}
body {
  font-family: var(--font-family-Noto);
}
h1, h2 {
  line-height: 2.3rem;
  font-family: var(--font-family-Mincho);
  margin-bottom: 2rem;
}
h3, h4 {
  line-height: 2rem;
  font-family: var(--font-family-Mincho);
}
h5, h6 {
  font-size: 1.12rem !important;
  line-height: 1.7rem;
  font-family: var(--font-family-Noto);
}
p {
  margin-bottom: 2rem;
}
li {
  line-height: 1.6rem;
  padding-bottom: 0.5rem;
}
.container {
  max-width: 920px;
}
.bg-lightblue {
  background-color: #F5F8FA;
}
/* iOS Safari 自動拡大防止 */
html {
  -webkit-text-size-adjust: 100%;
}
/* 親要素に */
.revive-title {
  container-type: inline-size;
}
.shrink-line {
  display: inline-block;
  white-space: normal;
  font-size: clamp(16px, 4.8vw, 2rem);
  line-height: 1.1;
  text-wrap: balance;
}
@media (max-width: 576px) {
  .shrink-line {
    font-size: clamp(18px, 6vw, 2.2rem); /* スマホは少し大きめ */
  }
}
/** 見出し円 **/
.circle {
  width: 215px;
  height: 215px;
  text-align: center;
  border-radius: 50%;
  border: solid 3px #6c757d;
  padding: 3rem;
  margin: 0 auto;
}
/** 既存スタイルの疑似上書き **/
/** olカウンターを丸囲いに **/
ol.num-list {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
}
.num-list li {
  margin-bottom: 10px;
  position: relative;
  font-weight: bold;
  font-size: 1.2rem;
}
.num-list li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  border: 2px solid #666;
  color: #666;
  float: left;
  text-align: center;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  margin-right: 5px;
  margin-top: -2px;
  font-family: 'Big Shoulders Display', cursive;
}
/** jumbotronの背景に指定画像 **/
.jumbotron {
  background: url('../img/top-background.jpg') center no-repeat;
  background-size: cover;
  height: 100%;
  min-height: 400px;
}
/** パンくずリストのセパレータ変更 **/
li.breadcrumb-item.wf-breadcrumb-separator::before {
  margin-left: 6px;
  font-family: 'Font Awesome 5 Free';
  content: '\f105';
  font-weight: bold;
}
/** customized css **/
/** size-{単位}: 正方サイズ指定 **/
.wf-square-xs {
  width: 20px;
  height: 20px;
}
.wf-square-lg {
  width: 260px;
  height: 260px;
}
/** 傾けられた文字 **/
.wf-slope-text {
  transform: rotate(-4deg) translateY(-20px);
}
/** 正円＋テキスト **/
.wf-circle {
  transform: translateY(-50%);
}
.wf-circle > span {
  position: absolute;
  display: inline-block;
  font-size: 1.3rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  text-align: center;
}
/** 下側のみが突き出した五角形 **/
.wf-penta {
  clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
}
/** 声のテキスト **/
.comment-box {
  position: relative;
  display: inline-block;
  padding: 2rem;
  font-size: 16px;
  background: #f8f9fa;
}
/** 下側のみが突き出した吹き出し **/
.down-balloon:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 20%;
  margin-left: -2.5rem;
  border: 5rem solid transparent;
  border-top: 3rem solid #f8f9fa;
  z-index: 999;
}
.down-balloon p {
  margin: 0;
  padding: 0;
}
/** 上側のみが突き出した吹き出し **/
.up-balloon:before {
  content: "";
  position: absolute;
  top: -130px;
  left: 20%;
  margin-left: -2.5rem;
  border: 5rem solid transparent;
  border-bottom: 3rem solid #f8f9fa;
  z-index: 999;
}
.up-balloon p {
  margin: 0;
  padding: 0;
}
/** 吹き出し **/
.wf-balloon {
  position: relative;
  padding: 20px;
  border: 2px solid rgba(75, 75, 75, 0.85);
  border-radius: 12px;
}
.wf-balloon-left::before, .wf-balloon-left::after, .wf-balloon-right::before, .wf-balloon-right::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  top: 50px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}
.wf-balloon-left::before {
  left: -15px;
  border-right: 15px solid rgba(75, 75, 75, 0.85);
}
.wf-balloon-left::after {
  left: -12px;
  border-right: 15px solid white;
}
.wf-balloon-right::before {
  right: -15px;
  border-left: 15px solid rgba(75, 75, 75, 0.85);
}
.wf-balloon-right::after {
  right: -12px;
  border-left: 15px solid white;
}
/** トップへ戻るボタン **/
.wf-gotta-top {
  width: 100px;
  height: 74px;
  right: 0;
  bottom: 0;
  background: #4f4f4f;
  opacity: 0.6;
}
/** ステップフロー **/
.step-bar {
  display: flex;
  position: relative;
  margin: 20px auto;
  text-align: center;
  padding: 0;
}
.step-bar li {
  font-size: 12px;
  list-style: none;
  position: relative;
  width: 33.333%;
}
.step-bar li:after {
  background: #D0E1F9;
  content: "";
  width: calc(100% - 50px);
  height: 5px;
  position: absolute;
  left: calc(-50% + 32px);
  top: 50px;
}
.step-bar li:first-child:after {
  display: none;
}
.step-bar li span {
  background: #D0E1F9;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 5px;
  padding: 20px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  z-index: 999;
}
.step-bar .visited:after {
  background: #4D648D;
}
.step-bar .visited span {
  background: #4D648D;
}
.bg-step {
  background-color: #a8031e;
  display: inline-block;
}
/** 感想ボックス **/
.voice-wrap {
  max-width: 720px;
  margin: 0 auto;
  /* 背景レイヤー（下 → 上 の順） */
  background: /* グラデーション（最下層） */ linear-gradient(to top, rgba(200, 200, 200, 0.3) 0%, rgba(255, 255, 255, 0) 50%), /* 下段背景 */ url("../images/kanso_bk03.png") bottom center no-repeat, /* 中段背景 */ url("../images/kanso_bk02.png") center repeat-y, /* 上段背景 */ url("../images/kanso_bk01.png") top center no-repeat;
  padding: 50px 45px;
  box-sizing: border-box;
  background-size: 100% auto, 720px auto, 720px auto, 720px auto;
  background-position: bottom center, bottom center, center top, top center;
}
.voice-title {
  color: #d70000;
  padding-bottom: 6px;
  border-bottom: 2px dotted #d70000;
  margin-bottom: 22px;
}
.voice-img {
  float: right;
  margin-left: 18px;
  border-radius: 8px;
  width: 80px;
}
.voice-section {
  margin-bottom: 18px;
}
.voice-section strong {
  display: block;
  color: #601887;
  margin-bottom: 4px;
}
@media screen and (max-width: 768px) {
  .voice-wrap {
    max-width: 100%;
    padding: 20px 14px;
    background-size: 100% auto, 100% auto, 100% auto, 100% auto;
  }
  .voice-img {
    float: none;
    display: block;
    margin: 0 auto 15px;
    width: 42%;
    max-width: 100px;
  }
  .voice-title {
    font-size: 18px;
    text-align: left;
  }
}
@media screen and (max-width: 480px) {
  .voice-title {
    font-size: 16px;
  }
  .voice-section {
    font-size: 1rem;
    line-height: 1.6;
  }
}
/** 見出しテキスト装飾（スマホ用） **/
.title-text {
  font-size: 1.4em;
  font-weight: bold;
  color: #333;
  position: relative;
  display: block;
  padding: 0.3em 0.6em;
  text-align: left;
}
/* 下線装飾 */
.title-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #c33, #f99);
  border-radius: 2px;
}
/*  例題 */
.example-box h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
/*.example-box p {
  font-size: 1rem;
  line-height: 1.7;
}*/
/*  チェックボックス */
.checklist-wrap {
  max-width: 740px;
  margin: 2rem auto;
  overflow: hidden; /* グラデーションはみ出し防止 */
  background: linear-gradient(to top, rgba(204, 204, 204, 0.6) 0%, #fff 20%);
}
.frame-top {
  background: url('../images/pint4_bk01.png') no-repeat center top;
  height: 40px;
}
.frame-middle {
  background: url('../images/pint4_bk02.png') repeat-y center top;
  padding: 1.6rem 2.2rem;
  line-height: 1.7;
}
.frame-bottom {
  background: url('../images/pint4_bk03.png') no-repeat center bottom;
  height: 40px;
}
@media (max-width: 767px) {
  .frame-top, .frame-middle, .frame-bottom {
    background-size: 100% auto; /* 横幅に収める */
  }
  .frame-middle {
    padding: 1.6rem 1rem; /* ←左右だけ狭く（例: 2.2rem → 1rem） */
  }
}
.check-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}
.check-item img {
  width: 26px;
  height: 26px;
  margin-top: 0.2rem;
  margin-right: 0.6rem;
}
.check-item h4 {
  margin: 0;
  font-size: 1.4rem;
  font-family: var(--font-family-Mincho);
  font-weight: bold;
  color: #b30000; /* 落ち着いた赤 */
  border-bottom: 2px solid #b30000; /* 下線を追加 */
  display: inline-block;
  padding-bottom: 0.2rem;
}
.check-desc {
  font-size: 1.1rem;
  color: #555;
  margin-left: 2.3rem;
  margin-bottom: 1.2rem;
}
.check-desc:last-of-type {
  margin-bottom: 0; /* 最後の段落だけ余白なし */
}
@media (max-width: 768px) {
  .check-item h4 {
    font-size: 1.2rem;
  }
}
/* 質疑応答 */
.revive-section {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2em;
  align-items: flex-start;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  color: #333;
  /*  line-height: 1.8;*/
}
.revive-title {
  color: #c00;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 2px solid #c00;
  padding-bottom: 0.3em;
  margin-bottom: 0.8em;
}
.revive-title h4.pe-md-5.fw-bold {
  margin-bottom: 0;
}
.revive-section p {
  /*  font-size: 0.95em;*/
  margin: 0 0 0.6em;
}
.revive-image img {
  max-width: 100%;
  height: auto;
  border-radius: 3px;
}
@media (max-width: 768px) {
  .revive-section {
    flex-direction: column;
  }
  .revive-image {
    margin-top: 1em;
    text-align: center;
  }
}
/* ショップインフォ */
/* 黒帯 */
.shop-header {
  width: 100%;
  background: #000;
  padding: 10px 15px;
  margin-bottom: 20px;
}
.shop-title p {
  color: #fff;
  font-size: 18px;
  margin: 0;
  font-weight: bold;
}
/* テキストとロゴの横並び */
.shop-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3px;
}
/* 左側テキスト */
.shop-text {
  flex: 1 1 60%;
  min-width: 280px;
}
/* 右側ロゴ */
.shop-logo-wrap {
  flex: 0 0 auto;
  max-width: 340px;
}
.shop-logo {
  display: block;
  max-width: 100%;
  height: auto;
}
/* 注釈 */
.note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
}
/* 注文フローの数字を整形 */
.order-flow {
  padding-left: 1.2em;
}
.shop-info-child p {
  background: #000;
  color: #fff;
  padding: 5px 10px;
  margin: 20px 0 10px;
  font-weight: bold;
}
.order-flow {
  list-style: decimal;
  padding-left: 20px;
}
.red {
  color: #d00;
  font-weight: bold;
}
.shop-seller {
  font-size: 0.9em;
  color: #444;
}
@media (max-width: 768px) {
  .shop-container {
    font-size: 1rem;
  }
  .shop-header {
    text-align: center;
  }
  .shop-logo {
    margin-top: 10px;
  }
}
/* 登録フォーム */
.bm-wrap {
  width: 60% !important;
  margin: 0 auto !important;
}
@media (max-width:575.98px) {
  .bm-wrap {
    width: 100% !important;
  }
}
.bm-wrap iframe {
  width: 100% !important;
  max-width: 100% !important;
}
/* アンカー位置に余白 */
#voice-link, .voice-heading {
  scroll-margin-top: 80px;
}