*,
*::before,
*::after {
  box-sizing: border-box;
  min-height: 0vw;
}

header *,
header *::before,
header *::after {
  box-sizing: content-box;
}

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

}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1;
  min-height: 0vw;

}

main p  {
  color: #5f4d3f;
}

a {
  text-decoration: none;
}

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

a:visited {
  color: inherit;
}

a * {
  pointer-events: none;
}

ul,
ol {
  padding-left: 0;
}

li {
  list-style: none;
}

h2 {
  margin-block-start: 0;
  margin-block-end: 0;
}

p {
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 767px) {
  p {
    margin-bottom: 0 !important;
  }
}

small,
em {
  font-style: normal;
}

img {
  width: 100%;
  border: 0;
  height: auto;
  vertical-align: top;
}

section {
  position: relative;
  width: auto;
  margin: 0;
  padding: 0;
}

.Wrapper {
  overflow: clip;
}

.WBR {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.container {
  z-index: 1;
  position: relative;
  max-width: 1140px;
  padding-left: 70px;
  padding-right: 70px;
  margin: 0 auto;
}
#upcycle .container {
  max-width: 1300px;
}
@media screen and (max-width: 767px) {
  .container {
    padding-right: min(calc(35vw / 3.75), 35px);
    padding-left: min(calc(35vw / 3.75), 35px);
  }
  #upcycle .container {
    padding-right: min(calc(15vw / 3.75), 15px);
    padding-left: min(calc(15vw / 3.75), 15px);
  }
}

@media screen and (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}

@media screen and (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}

img {
  object-fit: contain;
  width: 100%;
}

main {
  position: relative;
  padding-top: 86px;
  overflow: clip;
  background-color: #e8d9c1;
}

@media screen and (max-width: 767px) {
  main {
    padding-top: 44px;
  }
}


a * {
  pointer-events: none;
}

a,
a * {
  transition: .3s;
}

.goTop {
  z-index: 400;
}
/* @media screen and (max-width: 767px) {
  .goTop {
    bottom: 5em;
  }
} */

/* ==========================================================================
   ファーストビュー（PCデザイン幅 1401px 基準の vw 指定）
   ========================================================================== */
.fv {
  position: relative;
  background-color: #e8d9c1;
}

.fv__title {
  line-height: 0;
}

/* 赤丸アイコン（テキスト） */
.fv__points {
  position: absolute;
  top: 35vw;
  left: 15.8vw;
  display: flex;
  gap: 0.8vw;
}

.fv__point {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10.1vw;
  height: 10.1vw;
  border-radius: 50%;
  background-image: url(../images/crayon/fv_point_bg.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  font-size: 1.2vw;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  font-family: 'Zen Maru Gothic', sans-serif;
}

/* 右端の「お見積り・お問い合わせ」ボタン */
a.fv__cta {
  z-index: 100;
  position: fixed;
  top: clamp(100px,calc(175 / 1400 * 100vw),175px);
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(1.8vw,25px);
  width: min(6.7vw,95px);
  height: min(37.2vw,515px);
  padding-top: min(5.2vw,72px);
  border-bottom: 0.6vw solid #d1a924;
  border-radius: 1vw 0 0 1vw;
  background-color: #fff02b;
  color: #5f4d3f;
  font-size: min(1.8vw,30px);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease ,border-bottom 0.3s linear;
}
a.fv__cta:hover {
  transform: translate(0,0.6vw);
  border-bottom: 2px solid #d1a924;
}

a.fv__cta::after {
  content: "";
  flex-shrink: 0;
  width: min(1.6vw,22px);
  height: min(1.6vw,22px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%235f4d3f'/%3E%3Cpath d='M10 7l5 5-5 5' fill='none' stroke='%23fff02b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fv__cta-text {
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
}

/* 赤い横並びリスト（ページ内リンク）
   ※共通CSS(style.css)の nav / nav ul / nav ul li のスタイルを打ち消している */
.fv__nav {
  float: none;
  width: 100%;
  height: auto;
  font-family: inherit;
}

.fv__nav-list {
  display: flex;
  width: 100%;
  padding: 0;
  border-bottom: 0.7vw solid #8d2929;
  background-color: #cb3634;
}
@media screen and (min-width: 768px) {
  .fv__nav-list {
    margin-top: -0.7vw;
  }
  /* .fv__nav-list {
    background-image: linear-gradient(to bottom, #fff2d5 7vw, transparent 7vw);
    background-size: 100% 100%;
  } */
}

.fv__nav-item {
  display: block;
  flex: 1;
  height: auto;
  padding: 0;
  border-right: 0;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}


.fv__nav-item:first-child {
  border-left: 0;
}

.fv__nav-item + .fv__nav-item {
  border-left: 2px solid #8d2929;
}

a.fv__nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(calc(90 / 1400 * 100vw), 90px);
  color: #fff;
  font-size: min(calc(20 / 1400 * 100vw), 20px);
  font-weight: 700;
  transition: transform 0.3s ease;
  background-color: #cb3634;
}
@media screen and (min-width: 768px) {
  a.fv__nav-link:hover {
    transform: translate(0,0.7vw);
  }
}

@media screen and (max-width: 767px) {
  /* 赤丸アイコン：画像の下に横並びで配置 */
  .fv__points {
    justify-content: center;
    gap: 2.7vw;
    padding: 4vw 0;

    position: absolute;
    left: 50%;
    top: 62vw;
    transform: translateX(-50%);
  }

  .fv__point {
    width: 28vw;
    height: 28vw;
    font-size: 3.2vw;
  }

  /* お見積りボタン：横長ボタンとして画像・赤丸の下に配置 */
  a.fv__cta {
    position: static;
    flex-direction: row;
    justify-content: center;
    gap: 2.7vw;
    width: 86.7vw;
    height: 14.7vw;
    margin: 0 auto 6.7vw;
    padding-top: 0;
    border-bottom-width: 1vw;
    border-radius: 2.7vw;
    font-size: 4.3vw;
  }

  a.fv__cta::after {
    width: 4.8vw;
    height: 4.8vw;
  }

  .fv__cta-text {
    writing-mode: horizontal-tb;
  }

  /* 赤い帯：2列グリッド（最後の1件は横幅いっぱい） */
  .fv__nav-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom-width: 1.3vw;
  }

  .fv__nav-item + .fv__nav-item {
    border-left: 0;
  }

  .fv__nav-item:nth-child(even) {
    border-left: 2px solid #ac2f2e;
  }

  .fv__nav-item:nth-child(n+3) {
    border-top: 2px solid #ac2f2e;
  }

  /* .fv__nav-item:last-child {
    grid-column: 1 / -1;
  } */

  a.fv__nav-link {
    height: 13.3vw;
    font-size: 2.8vw;
  }
}

/* ==========================================================================
   アップサイクルとは
   1400〜1140px：.container内の幅(1000px)固定 / 1140px以下：画面幅に応じて可変
   ========================================================================== */
.upcycle {
  /* 白いカードが.containerの内側(1000px)から左右にはみ出す量（最大80px） */
  --bleed: clamp(58px, calc(58px + (100vw - 1300px) / 2), 80px);
  /* カードの左右半幅（装飾クレヨンの配置基準） */
  --card-half: calc((min(1000px, 100vw - 140px) + var(--bleed) * 2) / 2);
  padding-block: clamp(56px, calc(104 / 1140 * 100vw), 104px);
  background: url(../images/crayon/bg_beige.webp) repeat left center / 200px;
}

/* 白いカード */
.upcycle__card {
  position: relative;
  /* margin-inline: calc(var(--bleed) * -1); */
  padding: clamp(min(calc(40 / 375 * 100vw),40px), calc(56 / 1140 * 100vw), 56px) var(--bleed) clamp(min(calc(40 / 375 * 100vw),40px), calc(64 / 1140 * 100vw), 64px);
  /* border-radius: 40px; */
  /* background-color: #fff; */
  background-image: url(../images/crayon/upcycle_card_bg.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

/* カード内側の茶色い枠線 */
.upcycle__card::before {
  content: "";
  position: absolute;
  inset: 20px;
  /* border: 2px solid #c9a885;
  border-radius: 32px; */
  pointer-events: none;
  background-image: url(../images/crayon/upcycle_card_line.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.upcycle__block {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 48%;
  column-gap: 2%;
  /* align-items: start; */
  align-items: center;
  margin: 0;
  /* max-width: calc(100% - 60px); */
}

/* 2つ目のブロックとの区切り線 */
.upcycle__block + .upcycle__block {
  margin-top: clamp(16px, calc(24 / 1140 * 100vw), 24px);
  padding-top: clamp(16px, calc(24 / 1140 * 100vw), 24px);
  /* border-top: 2px solid #c9a885; */
  background-image: url(../images/crayon/upcycle_block_line.svg);
  background-size: auto clamp(4px,calc(8 / 1140 * 100vw),8px);
  background-repeat: no-repeat;
  background-position: top center;
}

.upcycle__title {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(28 / 375 * 100vw),28px), calc(47 / 1140 * 100vw), 47px);
  font-weight: 500;
  line-height: 1.4;
  color: #cb3634;
  text-align: center;
  letter-spacing: -0.02em;
}

.upcycle__subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(18 / 375 * 100vw),18px), calc(24 / 1140 * 100vw), 24px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  font-feature-settings: "palt";
  color: #5f4d3f;
}

.upcycle__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(13 / 375 * 100vw),13px), calc(18 / 1140 * 100vw), 18px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  color: #5f4d3f;
}

.upcycle__subtitle + .upcycle__text {
  margin-top: min(8px, calc(8 / 1140 * 100vw));
}

/* 1つ目：見出しの下に本文、画像は見出しと少し重なる位置 */
.upcycle__block--about .upcycle__body {
  margin-top: min(26px, calc(26 / 1140 * 100vw));
}

.upcycle__block--about .upcycle__visual {
  margin-top: max(-21px, calc(-21 / 1140 * 100vw));
}

.upcycle__block--safety .upcycle__body {
  margin-top: min(4px, calc(4 / 1140 * 100vw));
}

/* 画像（480×200）と、その上に重ねる吹き出し・星（画像幅に対する割合で配置） */
.upcycle__visual {
  position: relative;
}

.upcycle__img {
  width: 100%;
}

.upcycle__stars,
.upcycle__comment {
  position: absolute;
  height: auto;
}

.upcycle__stars {
  top: 60%;
  left: 93.33%;
  width: 12.5%;
}

.upcycle__comment--sdgs {
  top: -29.5%;
  left: 80.2%;
  width: 26.67%;
}

.upcycle__comment--safe {
  top: 6%;
  left: 38.1%;
  width: 15.42%;
}

.upcycle__comment--kids {
  top: 14.5%;
  left: 84.4%;
  width: 19.17%;
}

/* 装飾のクレヨン（31×204px）：.containerの上端・中心基準で絶対配置、回転、影はdrop-shadow */
.upcycle__crayon {
  --crayon-w: clamp(min(calc(20 / 375 * 100vw),20px), calc(31 / 1140 * 100vw), 31px);
  --crayon-h: calc(var(--crayon-w) * 204 / 31);
  position: absolute;
  left: 50%;
  width: var(--crayon-w);
  height: auto;
  filter: drop-shadow(8px 30px 8px rgba(95, 77, 63, 0.3));
  pointer-events: none;
}

/* りんご：カード左上の角 */
.upcycle__crayon--red {
  top: calc(min(98px, calc(98 / 1140 * 100vw)) - var(--crayon-h) / 2);
  /* transform: translateX(calc((var(--card-half) - min(58px, calc(58 / 1140 * 100vw))) * -1 - var(--crayon-w) / 2)) rotate(62.6deg); */
  transform: translateX(calc(-50% - min(calc(520 / 1300 * 100vw), 520px))) rotate(62.6deg);
}
@media screen and (max-width: 1040px) {
  .upcycle__crayon--red {
    transform: translateX(calc(-50% - calc(400 / 1040 * 100vw))) rotate(62.6deg);
  }
}

/* きゃべつ：カード右下寄りの縁（画面が狭いときは画面外に出すぎないよう内側へ寄せる） */
.upcycle__crayon--green {
  /* top: calc(79.9% - var(--crayon-h) / 2);
  transform: translateX(calc(clamp(var(--card-half) - 40px, 50vw - var(--crayon-h) * 0.41 - 4px, var(--card-half) - min(6.5px, calc(6.5 / 1140 * 100vw))) - var(--crayon-w) / 2)) rotate(-125.5deg); */
  top: auto;
  bottom: calc(0% - 40px);
  /* transform: translateX(calc(-50% + min(calc(580 / 1180 * 100vw), 580px))) rotate(-125.5deg); */
  transform: translateX(calc(-50% + min(calc(583 / 1300 * 100vw), 583px))) rotate(-125.5deg);
}
@media screen and (max-width: 1040px) {
  .upcycle__crayon--green {
    transform: translateX(calc(-50% + calc(500 / 1252 * 100vw))) rotate(-125.5deg);
  }
}

@media screen and (max-width: 767px) {
  .upcycle {
    --bleed: calc(35vw / 3.75 - 12px);
    --card-half: calc(50vw - 12px);
  }

  .upcycle__card {
    width: 100%;
    margin: 0 auto;
    padding-inline: min(calc(36 / 375 * 100vw),36px);
    border-radius: 24px;
    background-image: url(../images/crayon/upcycle_card_bg_sp.svg);
  }

  .upcycle__card::before {
    inset: min(calc(10 / 375 * 100vw),10px) min(calc(10 / 375 * 100vw),10px);
    background-image: url(../images/crayon/upcycle_card_line_sp.svg);
  }

  /* 横並びを縦並びに */
  .upcycle__block {
    grid-template-columns: 100%;
    row-gap: 16px;
  }

  .upcycle__block--about .upcycle__body,
  .upcycle__block--safety .upcycle__body {
    margin-top: 0;
  }

  .upcycle__visual {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }

  .upcycle__img {
    max-width: 350px;
    margin: 0 auto;
    display: block;
  }

  /* 縦長画像では吹き出しは画像の横に重なるので、上にはみ出す余白は付けない */
  .upcycle__block--about .upcycle__visual {
    margin-top: 0;
  }

  /* 星はスマホ用画像に含まれている */
  .upcycle__stars {
    top: 76%;
    left: 82.33%;
    width: 22.5%;
  }

  /* 吹き出しは縦長画像の中の箱・写真に合わせて置く（幅はPCと同じ割合のまま） */
  .upcycle__comment--sdgs {
    width: 40%;
    top: 40.5%;
    left: 60%;
  }

  .upcycle__comment--safe {
    top: 59%;
    left: -2%;
    width: 22%;
  }

  .upcycle__comment--kids {
    width: 28%;
    top: 60%;
    left: 74%;
  }

  .upcycle__crayon--red {
    top: 56px;
    transform: translate(calc((var(--card-half) - min(58px, calc(58 / 1140 * 100vw))) * -1 - var(--crayon-w) / 2), -100%) rotate(62.6deg);
  }

  .upcycle__crayon--green {
    transform: translateX(calc(-50% + calc(90 / 375 * 100vw))) rotate(-128.5deg);
    bottom: calc(0% - min(calc(100 / 375 * 100vw), 100px));
  }
}

/* ==========================================================================
   さまざまな場面でお使いいただけます！
   ========================================================================== */
.scene {
  padding-top: clamp(56px, calc(84 / 1140 * 100vw), 84px);
  padding-bottom: clamp(56px, calc(96 / 1140 * 100vw), 96px);
  background-color: #fff2d5;
}

.scene__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(28 / 375 * 100vw),28px), calc(47 / 1140 * 100vw), 47px);
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: "palt";
  color: #cb3634;
  text-align: center;
  text-wrap: balance;
}

/* 「たとえば！」の赤い吹き出し */
.scene__balloon {
  display: block;
  width: clamp(80px, calc(85 / 1140 * 100vw), 85px);
  height: auto;
  margin: min(24px, calc(24 / 1140 * 100vw)) auto 0;
}

/* 写真3枚（320×350px・間隔20px） */
.scene__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;
  margin-top: min(30px, calc(30 / 1140 * 100vw));
}

.scene__img {
  width: 100%;
  aspect-ratio: 320 / 350;
  border-radius: 20px;
  object-fit: cover;
}

.scene__caption {
  margin-top: min(14px, calc(14 / 1140 * 100vw));
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(16 / 375 * 100vw),16px), calc(20 / 1140 * 100vw), 20px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  color: #cb3634;
  text-align: center;
}

/* 「＼ その他にも！ ／」 */
.scene__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, calc(24 / 1140 * 100vw), 24px);
  margin-top: 56px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(19 / 375 * 100vw),19px), calc(24 / 1140 * 100vw), 24px);
  font-weight: 700;
  line-height: 1.5;
  color: #cb3634;
}

.scene__subtitle::before,
.scene__subtitle::after {
  content: "";
  width: 2px;
  height: clamp(26px, calc(33 / 1140 * 100vw), 33px);
  background-color: #cb3634;
}

.scene__subtitle::before {
  transform: rotate(-39deg);
}

.scene__subtitle::after {
  transform: rotate(39deg);
}

/* 業界アイコン（150×150px）：auto-fitで折り返し、横方向中央 */
.scene__industry {
  position: relative;
  margin-top: min(28px, calc(28 / 1140 * 100vw));
}

.scene__industry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, clamp(min(calc(130 / 375 * 100vw),130px),calc(150 / 768 * 100vw), 150px));
  justify-content: center;
  column-gap: clamp(0px, calc((100vw - 375px) / 38), 20px);
  row-gap: 24px;
  column-gap: min(calc(20 / 375 * 100vw), 20px);
}

.scene__industry-item {
  position: relative;
  text-align: center;
}

.scene__industry-img {
  width: 100%;
}

.scene__industry-name {
  display: block;
  margin-top: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(14 / 375 * 100vw),14px), calc(18 / 1140 * 100vw), 18px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
  color: #cb3634;
}

/* 「など…」：リストの右端下部に絶対配置 */
.scene__etc {
  position: absolute;
  right: -50px;
  bottom: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(10 / 375 * 100vw),10px), calc(12 / 1140 * 100vw), 12px);
  font-weight: 500;
  line-height: 1.5;
  color: #cb3634;
}

@media screen and (max-width: 767px) {
  /* 写真は縦並び */
  .scene__industry-list {
    max-width: 500px;
    margin: 0 auto;
}

  .scene__list {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 320px;
    margin-inline: auto;
  }

  .scene__etc {
    right: 0;
    bottom: calc(-1em - 5px);
  }
}

/* ==========================================================================
   クレヨンについて
   1400〜1140px：デザインどおりの固定サイズ / 1140px以下：--u（画面幅÷1140）で比例縮小
   ※ --u は main.crayon で定義（1140px以上は 1px）
   ========================================================================== */
.crayon {
  --u: min(1px, calc(100vw / 1140));
}

.about-crayon {
  /* セクション上部の余白（装飾クレヨンの位置計算にも使用） */
  --pt: calc(83 * var(--u));
  position: relative;
  padding-top: var(--pt);
  padding-bottom: calc(109 * var(--u));
  background: url(../images/crayon/bg_beige.webp) repeat left center / 200px;
}

.about-crayon__block {
  display: block;
}

/* 見出し：クレヨンについて */
.about-crayon__title {
  margin: 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(28 / 375 * 100vw),28px), calc(47 / 1140 * 100vw), 47px);
  font-weight: 500;
  line-height: 1.4;
  color: #cb3634;
  text-align: center;
}

/* 小見出し：● 種類・色 ● */
.about-crayon__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, calc(16 / 1140 * 100vw), 16px);
  margin: 0;
  padding: 0;
  font-size: clamp(min(calc(19 / 375 * 100vw),19px), calc(24 / 1140 * 100vw), 24px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #5f4d3f;
  text-align: center;
}

.about-crayon__subtitle::before,
.about-crayon__subtitle::after {
  content: "";
  flex: none;
  width: clamp(10px, calc(14 / 1140 * 100vw), 14px);
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #cb3634;
}

/* --------------------------------------------------------------------------
   種類・色：スライダー（Splide）
   -------------------------------------------------------------------------- */
.about-crayon__types .about-crayon__subtitle {
  margin-top: calc(1 * var(--u));
}

.about-crayon .crayon-slider.splide {
  position: relative;
  /* スライド幅（最大1020px）。左右の隣のスライドは track の外にはみ出して見せる */
  width: calc(1020 * var(--u));
  max-width: none;
  margin: calc(77.6 * var(--u)) calc(50% - 510 * var(--u)) 0;
}

.about-crayon .crayon-slider .splide__track {
  overflow: visible;
  margin: 0;
}

/* 「全部で3種類！」リボン：スライドの上端中央に重ねる */
.about-crayon .crayon-slider__ribbon {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  width: clamp(min(calc(182 / 375 * 100vw),182px), calc(278 * var(--u)), 278px);
  height: auto;
  transform: translate(-50%, -55%);
  pointer-events: none;
}

/* 前・次の矢印：中央スライドの左右の端にくっつけて半分はみ出させる */
.about-crayon .crayon-slider .splide__arrow {
  --arrow: max(40px, calc(130 * var(--u)));
  position: absolute;
  z-index: 3;
  top: 50%;
  width: var(--arrow);
  height: var(--arrow);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  opacity: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.about-crayon .crayon-slider .splide__arrow:focus-visible {
  outline: none;
  outline-offset: 0px;
}

.about-crayon .crayon-slider .splide__arrow--prev {
  right: auto;
  left: calc(var(--arrow) / -2);
}

/* 右矢印は左矢印を左右反転 */
.about-crayon .crayon-slider .splide__arrow--next {
  right: calc(var(--arrow) / -2);
  left: auto;
  transform: translateY(-50%) scaleX(-1);
}

.about-crayon .crayon-slider .splide__arrow img {
  display: block;
  width: 100%;
  height: 100%;
}

.about-crayon .crayon-slider .splide__arrow:hover {
  opacity: 0.85;
}

/* スライド（.crayon-slide 幅を基準にした cqw で、カード内の大きさを比例縮小） */
.crayon-slide {
  container-type: inline-size;
  container-name: crayon-slide;
}

.crayon-slide__card {
  /* デザイン上の 1px = --s（スライド幅 1020px のとき 1px） */
  --s: calc(100cqw / 1020);
  position: relative;
  height: 100%;
  padding: calc(52 * var(--s)) 0 calc(48 * var(--s));
  border-radius: calc(40 * var(--s));
  /* background-color: #fff; */
  text-align: center;
  background-image: url(../images/crayon/crayon-slide_card_bg.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.crayon-slide__title {
  margin: 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(20 / 375 * 100vw),20px), calc(32 * var(--s)), 32px);
  font-weight: 500;
  line-height: 1.4;
  color: #5f4d3f;
}

.crayon-slide__photo {
  display: block;
  width: calc(780 * var(--s));
  aspect-ratio: 3 / 2;
  margin: calc(21 * var(--s)) auto 0;
  object-fit: cover;
}

/* 色の一覧 ＋ 「10色」バッジ */
.crayon-slide__colors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--s));
  min-height: calc(70 * var(--s));
  margin-top: calc(20 * var(--s));
}

.color-list {
  display: grid;
  gap: calc(4 * var(--s)) calc(5 * var(--s));
}

.color-list--oyasai,
.color-list--ohana {
  grid-template-columns: repeat(5, calc(108 * var(--s)));
}

.color-list--okome {
  grid-template-columns: repeat(8, calc(83 * var(--s)));
}

/* 色名の枠（frame.svg を mask にして、背景色を CSS で指定） */
.color-chip {
  --chip-bg: #ccc;
  --chip-text: #5f4d3f;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(27.2 * var(--s));
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(10px, calc(12.5 * var(--s)), 12.5px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--chip-text);
}

.color-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--chip-bg);
  -webkit-mask: url(../images/crayon/frame.svg) center / 100% 100% no-repeat;
  mask: url(../images/crayon/frame.svg) center / 100% 100% no-repeat;
}

/* 8列（おこめ）は枠が横長のままだと入らないので、枠だけ横方向に縮める（108px → 83px） */
.color-list--okome .color-chip::before {
  inset: 0 auto 0 0;
  width: calc(100% / 0.7685);
  transform: scaleX(0.7685);
  transform-origin: left center;
}

/* 「しろ」は白い枠の画像（frame_white.svg） */
.color-chip--shiro::before {
  inset: 0;
  width: 100%;
  background: url(../images/crayon/frame_white.svg) center / 100% 100% no-repeat;
/* 
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 10 8.66.24"><path fill="%23ffffff" d="M7.44,.1l2.44,4.23-2.44,4.23H2.56L.12,4.33,2.56,.1H7.44m.06-.1H2.5L0,4.33l2.5,4.33H7.5l2.5-4.33L7.5,0h0Z"/></svg>') ; */
  -webkit-mask: none;
  mask: none;
  transform: none;
}

/* おやさいクレヨン */
.color-chip--tamanegi { --chip-bg: #ffddb2; }
.color-chip--paprika { --chip-bg: #f9ad3c; }
.color-chip--ninjin { --chip-bg: #ff8432; --chip-text: #fff; }
.color-chip--ringo { --chip-bg: #ec6763; --chip-text: #fff; }
.color-chip--tomato { --chip-bg: #f8443b; --chip-text: #fff; }
.color-chip--kyabetsu { --chip-bg: #e0d87f; }
.color-chip--negi { --chip-bg: #777730; --chip-text: #fff; }
.color-chip--horenso { --chip-bg: #3d512a; --chip-text: #fff; }
.color-chip--murasakiimo { --chip-bg: #a16596; --chip-text: #fff; }
.color-chip--takesumi { --chip-bg: #47423a; --chip-text: #fff; }

/* おこめのクレヨン */
.color-chip--haiiro { --chip-bg: #bebda9; }
.color-chip--mizuiro { --chip-bg: #00cefc; }
.color-chip--ao { --chip-bg: #0088da; --chip-text: #fff; }
/* ※指定が #ffffff だったが、デザインの色（紫）に合わせている */
.color-chip--murasaki { --chip-bg: #7a58ad; --chip-text: #fff; }
.color-chip--midori { --chip-bg: #009450; --chip-text: #fff; }
.color-chip--kimidori { --chip-bg: #62d353; }
.color-chip--kiiro { --chip-bg: #fff300; }
.color-chip--usudaidai { --chip-bg: #ffd393; }
.color-chip--daidai { --chip-bg: #ff7100; }
/* ※デザインでは「あか」の文字が見えないため、読めるように白にしている */
.color-chip--aka { --chip-bg: #ef2500; --chip-text: #fff; }
.color-chip--momo { --chip-bg: #ff99c8; }
.color-chip--oudo { --chip-bg: #f7bc49; }
.color-chip--chairo { --chip-bg: #ca5d2d; --chip-text: #fff; }
.color-chip--kogecha { --chip-bg: #915500; --chip-text: #fff; }
.color-chip--kuro { --chip-bg: #080000; --chip-text: #fff; }

/* おはなのクレヨン */
.color-chip--butterfly { --chip-bg: #6679c6; --chip-text: #fff; }
.color-chip--clover { --chip-bg: #6c8403; --chip-text: #fff; }
.color-chip--marigold { --chip-bg: #ffb610; }
.color-chip--carnation { --chip-bg: #ff678a; --chip-text: #fff; }
.color-chip--rose { --chip-bg: #d2534a; --chip-text: #fff; }

/* 「10色」バッジ（circle.svg） */
.color-count {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-auto-flow: column;
  align-items: baseline;
  place-content: center;
  flex: none;
  width: calc(70 * var(--s));
  height: calc(70 * var(--s));
  padding-top: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.color-count::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../images/crayon/circle.svg) center / 100% 100% no-repeat;
}

.about-crayon .color-count__num {
  font-size: clamp(min(calc(18 / 375 * 100vw),18px), calc(26 * var(--s)), 26px);
}

.about-crayon .color-count__unit {
  font-size: clamp(min(calc(11 / 375 * 100vw),11px), calc(16 * var(--s)), 16px);
}

/* --------------------------------------------------------------------------
   オリジナル色の作成も可能！（茶色の吹き出し）
   -------------------------------------------------------------------------- */
.about-crayon__original {
  position: relative;
  width: calc(100% - 40px);
  margin: calc(61 * var(--u)) auto 0;
  padding: calc(94 * var(--u)) calc(100.5 * var(--u)) calc(101 * var(--u));
  border-radius: calc(70 * var(--u));
  background-color: rgba(95, 77, 63, 0.6);
  text-align: center;
  max-width: 1131px;
}

/* 吹き出しのしっぽ */
.about-crayon__original::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: calc(41 * var(--u));
  height: calc(39 * var(--u));
  background-color: rgba(95, 77, 63, 0.6);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.about-crayon__original-title {
  margin: 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(20 / 375 * 100vw), 20px), calc(32 / 1140 * 100vw), 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #fff;
}

.about-crayon .about-crayon__original-text {
  margin: calc(19 * var(--u)) 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(14 / 375 * 100vw),14px), calc(18 / 1140 * 100vw), 18px);
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

.about-crayon .about-crayon__original-note {
  margin: calc(15 * var(--u)) 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(11 / 375 * 100vw),11px), calc(13 / 1140 * 100vw), 13px);
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

/* 実例（白いボックス2つ） */
.sample-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(21 * var(--u));
  margin-top: calc(49 * var(--u));
}

.sample {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(48 * var(--u)) 0 calc(48 * var(--u));
  border-radius: calc(20 * var(--u));
  background-color: #fff;
}

.about-crayon .sample__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, calc(80 * var(--u)), 80px);
  height: clamp(24px, calc(29 * var(--u)), 29px);
  border-radius: 999px;
  background-color: #5f4d3f;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(12 / 375 * 100vw),12px), calc(15 / 1140 * 100vw), 15px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #fff;
}

/* 色の丸（circle2.svg を mask にして、背景色を CSS で指定） */
.sample__color {
  --sample-bg: #483b26;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(180 * var(--u));
  height: calc(180 * var(--u));
  margin-top: calc(31 * var(--u));
}

.sample__color::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--sample-bg);
  -webkit-mask: url(../images/crayon/circle2.svg) center / 100% 100% no-repeat;
  mask: url(../images/crayon/circle2.svg) center / 100% 100% no-repeat;
}

.sample__color--coffee { --sample-bg: #483b26; }
.sample__color--mikan { --sample-bg: #f39800; }

.sample__color-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(18 / 375 * 100vw),18px), calc(32 / 1140 * 100vw), 32px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

/* --------------------------------------------------------------------------
   デザイン可能部分
   -------------------------------------------------------------------------- */
.about-crayon__design {
  margin-top: calc(90 * var(--u));
}

.about-crayon__lead {
  margin: calc(36 * var(--u)) 0 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(22 / 375 * 100vw),22px), calc(32 / 1140 * 100vw), 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.035em;
  color: #5f4d3f;
  text-align: center;
  text-wrap: balance;
}

/* 黄色いマーカー */
.about-crayon__marker {
  background-image: linear-gradient(transparent 66%, #ffee00 66%, #ffee00 94%, transparent 94%);
}

.about-crayon .about-crayon__text {
  margin: calc(19 * var(--u)) 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(14 / 375 * 100vw),14px), calc(18 / 1140 * 100vw), 18px);
  font-weight: 400;
  line-height: 1.6;
  color: #5f4d3f;
  text-align: center;
}

/* 台紙タイプ（1fr） ＋ 箱タイプ（2fr） */
.design-list {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: calc(27 * var(--u));
  width: calc(1078 * var(--u));
  margin: calc(94 * var(--u)) calc(50% - 539 * var(--u)) 0;
}

.design-item--box {
  position: relative;
}

.design-item__figure {
  margin: 0;
}

/* 白の60％の枠 */
.design-item__panel {
  display: flex;
  align-items: flex-start;
  /* 台紙・箱の2枚のカードを同じ高さにそろえる */
  min-height: calc(342.3 * var(--u));
  padding: calc(38.5 * var(--u)) calc(40 * var(--u));
  border-radius: calc(25 * var(--u));
  background-color: rgba(255, 255, 255, 0.6);
}

.design-item__photo {
  position: relative;
  flex: none;
  width: 100%;
}

/* 箱タイプの2枚の画像（少し重ねて、2枚目は下にずらす） */
.design-item__photo--box1,
.design-item__photo--box2 {
  width: 53.3%;
}

.design-item__photo--box2 {
  z-index: 1;
  margin-top: calc(23 * var(--u));
  margin-left: -6.6%;
}

/* 吹き出し（hukidashi.svg） */
.design-balloon {
  position: absolute;
  z-index: 2;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(min(calc(88 / 375 * 100vw),88px), calc(131 * var(--u)), 131px);
  aspect-ratio: 13.12 / 12.53;
  padding-bottom: 4%;
  font-size: clamp(min(calc(14 / 375 * 100vw),14px), calc(20 / 1140 * 100vw), 20px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.design-balloon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../images/crayon/hukidashi.svg) center / 100% 100% no-repeat;
}

.design-balloon--left {
  top: calc(-90 * var(--u));
  left: calc(-31 * var(--u));
}

.design-balloon--right {
  top: calc(-112 * var(--u));
  right: calc(-31 * var(--u));
}

/* 右側の吹き出しは、しっぽの向きを左右反転 */
.design-balloon--right::before {
  transform: scaleX(-1);
}

/* 「台紙タイプ」「箱タイプ」の赤い枠（frame.svg を mask にして、赤を CSS で指定） */
.design-item__label {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(min(calc(160 / 375 * 100vw),160px), calc(245 * var(--u)), 245px);
  aspect-ratio: 10.84 / 2.73;
  margin: calc(-19 * var(--u)) auto 0;
}

.design-item__label::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #cb3634;
  -webkit-mask: url(../images/crayon/frame.svg) center / 100% 100% no-repeat;
  mask: url(../images/crayon/frame.svg) center / 100% 100% no-repeat;
}

.design-item__label-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(16 / 375 * 100vw),16px), calc(24 / 1140 * 100vw), 24px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

/* --------------------------------------------------------------------------
   パッケージタイプ（dl / dt / dd・常時展開）
   -------------------------------------------------------------------------- */
.about-crayon__package {
  margin-top: calc(90 * var(--u));
}

.package-list-wrapper {
  position: relative;
}

.package-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(19 * var(--u)) calc(18 * var(--u));
  width: calc(1000 * var(--u));
  margin: calc(44 * var(--u)) calc(50% - 500 * var(--u)) 0;
}

/* カード幅（PCでは491px）を基準にした cqw で、中身を比例縮小 */
.package-list__item {
  position: relative;
  container-type: inline-size;
  container-name: package-card;
  align-self: start;
}

/* カード自身はコンテナなので、cqw は疑似要素と子要素から参照する */
.package-card {
  position: relative;
  z-index: 0;
  display: block;
}

.package-card > * {
  --k: calc(100cqw / 491);
}

/* 白い枠（detail_whitebox.svg）を9分割で引き伸ばして背景に */
.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border: 0 solid transparent;
  border-image: url(../images/crayon/detail_whitebox.svg) 6 fill / calc(6 * 100cqw / 491) stretch;
}

/* 見出し：赤い枠（detail_redbox.svg）を9分割で引き伸ばして背景に */
.package-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(56 * var(--k));
  padding: 0 calc(21 * var(--k)) 0 calc(20 * var(--k));
  border: 0 solid transparent;
  border-image: url(../images/crayon/detail_redbox.svg) 6 fill / calc(6 * var(--k)) stretch;
}

.package-card__title {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--k));
  margin: 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.package-card__num {
  font-size: clamp(min(calc(24 / 375 * 100vw),24px), calc(34 * var(--k)), 34px);
  letter-spacing: 0.08em;
}

.package-card__type {
  font-size: clamp(min(calc(13 / 375 * 100vw),13px), calc(20 * var(--k)), 20px);
  letter-spacing: 0.035em;
}

.package-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: calc(245 * var(--k));
  padding-bottom: calc(16 * var(--k));
  text-align: center;
}

.package-card__img {
  width: calc(320 * var(--k));
  height: auto;
}

.package-list__item:last-child .package-card__img {
  width: calc(340 * var(--k));
}

/* 最小ロット（本文が下に来るよう、下端に寄せる） */
.package-card__lot {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--k));
  margin: auto 0 0;
}

.package-card__lot-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(88 * var(--k));
  height: calc(27 * var(--k));
  border-radius: calc(4 * var(--k));
  background-color: #cb3634;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(10 / 375 * 100vw),10px), calc(15 * var(--k)), 15px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.package-card__lot-num {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(28 / 375 * 100vw),28px), calc(50 * var(--k)), 50px);
  font-weight: 700;
  line-height: 1;
  color: #cb3634;
  display: inline-flex;
  align-items: flex-end;
  padding-bottom: 0.125em;
}

.package-card__lot-unit {
  font-size: clamp(min(calc(16 / 375 * 100vw),16px), calc(28 * var(--k)), 28px);
}

.package-card__note {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(10 / 375 * 100vw),10px), calc(13 * var(--k)), 13px);
  font-weight: 400;
  line-height: 1.5;
  color: #5f4d3f;
}

/* 注意書き */
.about-crayon .about-crayon__note {
  margin: calc(25 * var(--u)) 0 0;
  text-align: center;
}

.about-crayon .about-crayon__note p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(11 / 375 * 100vw),11px), calc(13 / 1140 * 100vw), 13px);
  font-weight: 400;
  line-height: 1.5;
  color: #5f4d3f;
}
/* --------------------------------------------------------------------------
   CTAボタン（他セクションでも共通利用）
   -------------------------------------------------------------------------- */
.cta-area {
  width: calc(1000 * var(--u));
  margin: calc(49 * var(--u)) calc(50% - 500 * var(--u)) 0;
}

a.cta-button,
a.cta-button:link,
a.cta-button:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(107 * var(--u));
  border-radius: calc(30 * var(--u));
  background-color: #fff02b;
  box-shadow: 0 calc(8 * var(--u)) 0 #d1a924;
  font-size: clamp(min(calc(18 / 375 * 100vw),18px), calc(30 / 1140 * 100vw), 30px);
  font-weight: 700;
  line-height: 1.4;
  color: #5f4d3f;
  text-align: center;
}

a.cta-button:hover {
  box-shadow: 0 calc(4 * var(--u)) 0 #d1a924;
  color: #5f4d3f;
  transform: translateY(calc(4 * var(--u)));
}

/* ==========================================================================
   クレヨンについて：装飾のクレヨン（31×204px）
   .containerの上端基準(top:%)・中心(left:50%)からの横ずれ(--dx)で配置、回転、影はdrop-shadow
   ========================================================================== */
.about-crayon__crayon {
  --crayon-w: max(min(calc(20 / 375 * 100vw),20px), calc(31 * var(--u)));
  --crayon-h: calc(var(--crayon-w) * 204 / 31);
  position: absolute;
  z-index: 2;
  left: 50%;
  width: var(--crayon-w);
  height: auto;
  filter: drop-shadow(8px 30px 8px rgba(95, 77, 63, 0.3));
  pointer-events: none;
  top: calc(var(--top) - var(--crayon-h) / 2);
  /* 画面幅が狭いときは、中心が画面端より外へ出ないように制限 */
  transform: translateX(calc(clamp(-50vw, var(--dx) * var(--u), 50vw) - var(--crayon-w) / 2)) rotate(var(--rot));
}

/* むらさきいも（左上） */
.about-crayon__crayon--purple1 {
  --top: 0px;
  /* --dx: -370.5; */
  --side: -1;
  /* --rot: 52.5deg; */
  transform: translate(calc(clamp(-50vw, -370.5 * var(--u), 50vw) - var(--crayon-w) / 2), 5%) rotate(52.5deg);
}

/* きゃべつ（右） */
.about-crayon__crayon--green1 {
  --top: 97%;
  --dx: 465;
  --side: 1;
  --rot: -46.75deg;
}

/* りんご（吹き出しの左上） */
.about-crayon__crayon--red1 {
  --top: 25%;
  --dx: -376.5;
  --side: -1;
  --rot: 110.1deg;
}

/* きゃべつ（吹き出しの右下） */
/* .about-crayon__crayon--green1 {
  --top: 80%;
  --dx: 579.5;
  --side: 1;
  --rot: -46.75deg;
} */

/* パプリカ（左） */
.about-crayon__crayon--orange2 {
  --top: max(50px, 5%);
  --dx: -471.5;
  --side: -1;
  --rot: 49.45deg;
}

/* にんじん（仮：crayon_red.webp。専用画像が用意できたら差し替え） */
.about-crayon__crayon--red2 {
  --top: calc(100% + 46px);
  /* --dx: 537.9; */
  --side: 1;
  /* --rot: 242.2deg; */
  transform: translateX(calc(-50% + min(calc(320 / 1140 * 100vw), 320px))) rotate(242.2deg);
}

/* むらさきいも（左端） */
.about-crayon__crayon--purple2 {
  --top: min(calc(200 / 1140 * 100vw), 200px);
  --dx: -649.5;
  --side: -1;
  --rot: 67.9deg;
}

/* きゃべつ（右端） */
.about-crayon__crayon--green2 {
  top: calc(50% + min(calc(10 / 1140 * 100vw), 10px));
  --dx: 658.5;
  --side: 1;
  --rot: -57.15deg;
}

/* りんご（左下） */
.about-crayon__crayon--red3 {
  /* --top: max(1800px,90%); */
  top: auto;
  bottom: calc(0% - min(calc(120 / 1140 * 100vw), 120px));
  --dx: -579.5;
  --side: -1;
  --rot: 121.6deg;
}

/* ==========================================================================
   クレヨンについて：スライド内のレイアウト切り替え
   スライド幅が800px以下のときは、色の一覧を折り返して並べる（コンテナクエリ）
   ========================================================================== */
@container crayon-slide (max-width: 800px) {
  .crayon-slide__card {
    padding: 30px min(calc(30 / 375 * 100vw),30px) 24px;
    border-radius: 24px;
  }

  .crayon-slide__title {
    font-size: min(calc(20 / 375 * 100vw),20px);
  }

  .crayon-slide__photo {
    width: 100%;
    margin-top: 14px;
  }

  .crayon-slide__colors {
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    margin-top: 14px;
  }

  /* 色名の枠：折り返して中央寄せ（最後の行も中央に並ぶ） */
  .color-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    width: 100%;
  }

  /* 枠の画像の縦横比を保つため、幅に合わせて高さを決める（上限幅あり） */
  .color-list--oyasai .color-chip,
  .color-list--ohana .color-chip {
    --chip-w: 88px;
    width: calc(calc(100% - 10px) / 3);
    height: auto;
    aspect-ratio: 108 / 27.2;
  }

  .color-list--okome .color-chip {
    --chip-w: 88px;
    width: calc(calc(100% - 15px) / 4);
    height: auto;
    aspect-ratio: 83 / 27.2;
  }

  .color-chip {
    font-size: max(min(calc(10 / 375 * 100vw),10px), calc(var(--chip-w) * 0.116));
  }

  .color-count {
    width: min(calc(55 / 375 * 100vw),55px);
    height: min(calc(55 / 375 * 100vw),55px);
    padding-top: 0;
    padding-bottom: .25em;
  }

  .about-crayon .color-count__num {
    font-size: min(calc(22 / 375 * 100vw),22px);
  }

  .about-crayon .color-count__unit {
    font-size: min(calc(13 / 375 * 100vw),13px);
  }
}

/* ==========================================================================
   クレヨンについて：SP（767px以下）
   ========================================================================== */
@media screen and (max-width: 767px) {
  .about-crayon {
    --pt: 48px;
    padding-bottom: 64px;
  }

  .about-crayon__types .about-crayon__subtitle {
    margin-top: 4px;
  }

  .about-crayon .crayon-slider__ribbon {
    top: min(calc(3 / 375 * 100vw),3px);
  }

  .about-crayon .crayon-slider.splide {
    margin-top: 48px;
  }

  /* 「10色」などは色名の下ではなく、カード右上（リボンの横）に置く */
  .crayon-slide__colors .color-count {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 2;
  }

  /* 矢印は写真の高さに合わせる（大きさは変えない） */
  .about-crayon .crayon-slider .splide__arrow {
    top: 40%;
  }

  /* 吹き出し */
  .about-crayon__original {
    margin-top: 36px;
    padding: 44px 24px 36px;
    border-radius: 36px;
  }

  .about-crayon__original::before {
    width: 28px;
    height: 26px;
  }

  .about-crayon .about-crayon__original-text {
    margin-top: 14px;
    line-height: 1.7;
  }

  .about-crayon .about-crayon__original-text br,
  .about-crayon .about-crayon__text br {
    display: none;
  }

  .about-crayon .about-crayon__original-note {
    margin-top: 10px;
  }

  .sample-list {
    gap: 10px;
    margin-top: 24px;
  }

  .sample {
    padding: 22px 0 22px;
    border-radius: 14px;
  }

  .sample__color {
    width: 96px;
    height: 96px;
    margin-top: 16px;
  }

  /* デザイン可能部分 */
  .about-crayon__design {
    margin-top: 56px;
  }

  .about-crayon__lead {
    margin-top: 20px;
  }

  .about-crayon .about-crayon__text {
    margin-top: 12px;
  }

  /* 台紙・箱は縦1列。箱の2枚の画像も縦に並べる */
  .design-list {
    grid-template-columns: 100%;
    gap: 64px;
    width: auto;
    margin: 64px auto 0;
    max-width: 450px;
  }

  .design-item__panel {
    flex-direction: column;
    min-height: 0;
    padding: 24px 22px;
    border-radius: 18px;
  }

  .design-item__photo--box1,
  .design-item__photo--box2 {
    width: 100%;
  }

  .design-item__photo--box2 {
    margin-top: 35px;
    margin-left: 0;
  }

  .design-balloon--left {
    top: calc(0% - min(calc(56 / 375 * 100vw), 56px));
    left: calc(0% - min(calc(12 / 375 * 100vw), 12px));
  }

  .design-balloon--right {
    top: calc(0% - min(calc(62 / 375 * 100vw), 62px));
    right: calc(0% - min(calc(12 / 375 * 100vw), 12px));
  }

  .design-item__label {
    margin-top: -12px;
  }

  /* パッケージタイプ：縦1列 */
  .about-crayon__package {
    margin-top: 56px;
  }
  .package-list-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
  .package-list {
    grid-template-columns: 1fr;
    gap: 12px;
    width: auto;
    margin: 24px 0 0;
  }

  .about-crayon .about-crayon__note {
    text-align: left;
    max-width: 450px;
    margin: 20px auto 0;
  }

  .about-crayon .about-crayon__note p {
    padding-left: 1em;
    text-indent: -1em;
    margin: 0 !important;
  }

  .cta-area {
    width: auto;
    margin: 24px 0 0;
  }

  a.cta-button,
  a.cta-button:link,
  a.cta-button:visited {
    height: min(calc(72 / 375 * 100vw),72px);
    border-radius: 20px;
    box-shadow: 0 5px 0 #d1a924;
    font-size: clamp(min(calc(15 / 375 * 100vw), 15px), calc(17 / 768 * 100vw), 24px);
  }

  a.cta-button:hover {
    box-shadow: 0 2px 0 #d1a924;
    transform: translateY(3px);
  }

  /* 装飾クレヨン：画面の左右の端に寄せる（文字に重なりにくくする） */
  .about-crayon__crayon {
    transform: translateX(calc(var(--side) * (50vw + 12px) - var(--crayon-w) / 2)) rotate(var(--rot));
  }
  .about-crayon__crayon--purple1 {
    --top: 0%;
    /* transform: translateX(calc(var(--side) * (50vw - calc(15 / 375 * 100vw)) - var(--crayon-w) / 2)) rotate(52.5deg); */
    transform: translate(calc(var(--side) * (50vw - calc(15 / 375 * 100vw)) - var(--crayon-w) / 2), -15%) rotate(52.5deg);
  }
  .about-crayon__crayon--green1 {
    --top: 115%;
    transform: translateX(calc(var(--side) * (50vw - calc(15 / 375 * 100vw)) - var(--crayon-w) / 2)) rotate(var(--rot));
  }
  .about-crayon__crayon--green2 {
    transform: translateX(calc(50% + clamp(min(calc(140 / 375 * 100vw), 140px), calc(225 / 530 * 100vw), 225px))) rotate(var(--rot));
    top: calc(50% - min(calc(110 / 375 * 100vw), 110px));
  }
  /* 吹き出しの文字に重なるため、SPでは非表示 */
  .about-crayon__crayon--red1 {
    display: none;
  }
  .about-crayon__crayon--red2 {
    --top: 100%;
    transform: translateX(calc(50% + clamp(min(calc(140 / 375 * 100vw), 140px), calc(250 / 530 * 100vw), 250px))) rotate(242.2deg);
  }
  .about-crayon__crayon--purple2 {
    --top: min(calc(120 / 375 * 100vw), 120px);
    transform: translateX(calc(50% - clamp(min(calc(211 / 375 * 100vw), 211px), calc(288 / 530 * 100vw), 288px))) rotate(var(--rot));
  }
  .about-crayon__crayon--red3 { 
    /* transform: translateX(calc(var(--side) * (50vw + 0px) - var(--crayon-w) / 2)) rotate(var(--rot)); */
    transform: translateX(calc(50% - clamp(min(calc(210 / 375 * 100vw), 210px), calc(282 / 530 * 100vw), 282px))) rotate(var(--rot));
    bottom: calc(0% + min(calc(10 / 375 * 100vw), 10px));
  }
}

/* ==========================================================================
   コーセイカンが企業の魅力をさらに引き出します！（#strength）
   1400〜1140px：デザインどおりの固定サイズ / 1140px以下：--u（画面幅÷1140）で比例縮小
   ========================================================================== */
.strength {
  position: relative;
  width: 100%;
  height: auto;
  background-image: url(../images/crayon/strength_title_bg.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 60px clamp(40px,calc(60 / 1140 * 100vw),60px);
  margin-top: clamp(min(calc(35 / 375 * 100vw), 35px), calc(50 / 1140 * 100vw), 50px);
}
.strength::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  background-image: url(../images/crayon/strength_title_line.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.strength__title {
  position: relative;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(20 / 375 * 100vw),20px), calc(32 / 1140 * 100vw), 32px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: #cb3634;
  text-align: center;
  margin-bottom: 10px !important;
}

.strength__lead {
  position: relative;
  font-size: clamp(min(calc(13 / 375 * 100vw),13px), calc(18 / 1140 * 100vw), 18px);
  font-weight: 400;
  line-height: calc(20 / 13);
  letter-spacing: -0.015em;
  color: #5f4d3f;
  text-align: center;
}

/* ==========================================================================
   クレヨン以外にもさまざまなアップサイクル製品をつくることができます！（#other-products）
   ========================================================================== */
.other-products {
  padding-top: calc(86 * var(--u));
  padding-bottom: calc(98 * var(--u));
  background: url(../images/crayon/bg_blown.webp) repeat left center / 200px;
}

.other-products__title {
  width: calc(1140 * var(--u));
  margin: 0 calc(50% - 570 * var(--u));
  padding: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(24 / 375 * 100vw), 24px), calc(47 / 1140 * 100vw), 47px);
  font-weight: 500;
  line-height: 1.35;
  color: #cb3634;
  text-align: center;
}

/* 見出しの字間（デザインでは行ごとに字間が詰められているため、行ごとに指定） */
.other-products__title-line {
  /* style.css の「h2 span」のfont-sizeを打ち消す */
  font-size: inherit;
  letter-spacing: -0.026em;
}

.other-products__title-line--tight {
  position: relative;
  left: calc(6 * var(--u));
  letter-spacing: -0.1em;
}

/* 製品カード3枚 */
.other-products__products {
  position: relative;
  width: calc(1000 * var(--u));
  margin: calc(44 * var(--u)) calc(50% - 500 * var(--u)) 0;
}

.other-products__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(28 * var(--u));
}

.other-products__item {
  position: relative;
  padding: calc(22 * var(--u)) 0 calc(23 * var(--u));
  /* border-radius: calc(24 * var(--u)); */
  /* background-color: #fff; */
  text-align: center;
  background-image: url(../images/crayon/other-products_item_bg.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.other-products .other-products__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(12 / 375 * 100vw),12px), calc(15 / 1140 * 100vw), 15px);
  font-weight: 700;
  line-height: 1.5;
  color: #5f4d3f;
}

/* 製品写真（右下に小さな丸い写真を重ねる） */
.other-products__figure {
  position: relative;
  width: calc(230 * var(--u));
  margin: calc(10 * var(--u)) auto 0;
}

.other-products__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.other-products .other-products__figure .other-products__thumb {
  position: absolute;
  right: calc(-29 * var(--u));
  bottom: calc(-8 * var(--u));
  width: calc(75 * var(--u));
  border: calc(2 * var(--u)) solid #fff;
  border-radius: 50%;
}

/* 製品名（赤い帯） */
.other-products__name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(174 * var(--u));
  height: calc(31 * var(--u));
  margin: calc(15 * var(--u)) auto 0;
  padding: 0;
  border-radius: 999px;
  background-color: #cb3634;
  font-size: clamp(min(calc(13 / 375 * 100vw),13px), calc(16 / 1140 * 100vw), 16px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

/* 吹き出し「ページごとに仕上がりが変わる！」：3枚目のカードの右外側（画面幅1250px未満では下のメディアクエリで配置を変更） */
.other-products .other-products__item .other-products__balloon {
  position: absolute;
  top: calc(82 * var(--u));
  right: calc(-117 * var(--u));
  width: calc(126.6 * var(--u));
  height: auto;
}

/* 「など…」 */
.other-products .other-products__etc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(12px, calc(13 / 1140 * 100vw), 13px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: #5f4d3f;
}

.other-products .other-products__etc--products {
  position: absolute;
  bottom: 0;
  left: calc(100% + 32 * var(--u));
}

/* 素材が余っていませんか？（白70％の枠） */
.other-products__materials {
  position: relative;
  width: calc(917 * var(--u));
  margin: calc(41 * var(--u)) calc(50% - 458.5 * var(--u)) 0;
  padding: calc(61.5 * var(--u)) 0 calc(64 * var(--u));
  /* border-radius: calc(44 * var(--u)); */
  /* background-color: rgba(255, 255, 255, 0.7); */
  background-image: url(../images/crayon/other-products__materials_bg.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
}

/* 内側のステッチ風の線 */
.other-products__materials::before {
  content: "";
  position: absolute;
  inset: calc(20 * var(--u));
  /* 
  border: calc(2 * var(--u)) solid #c4a07a;
  border-radius: calc(28 * var(--u)); */
  pointer-events: none;
  background-image: url(../images/crayon/other-products__materials_line.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.other-products__material-row {
  position: relative;
  width: max-content;
  margin: 0 auto;
}

.other-products__material-list {
  display: flex;
  gap: calc(31 * var(--u));
}

.other-products__material {
  width: calc(150 * var(--u));
}

.other-products__material img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: calc(5.5 * var(--u)) solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.other-products__material-name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(126.5 * var(--u));
  height: calc(31 * var(--u));
  margin: calc(16 * var(--u)) auto 0;
  border-radius: 999px;
  background-color: #5f4d3f;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(13px, calc(16 / 1140 * 100vw), 16px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.other-products .other-products__etc--materials {
  position: absolute;
  bottom: calc(5 * var(--u));
  left: calc(100% + 17 * var(--u));
}

.other-products__materials-title,
.other-products .other-products__materials-text {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(18px, calc(24 / 1140 * 100vw), 24px);
  font-weight: 700;
  line-height: 1.75;
  color: #5f4d3f;
}

.other-products__materials-title {
  margin-top: calc(21 * var(--u));
}

/* 黄色いマーカー */
.other-products__marker {
  background-image: linear-gradient(transparent 76%, #ffee00 76%, #ffee00 96%, transparent 96%);
}

/* ==========================================================================
   クレヨン以外の製品：画面幅が約1250px未満のときは、カードの外側に置けないため配置を変える
   ========================================================================== */
@media screen and (max-width: 1249px) {
  /* 吹き出しは3枚目のカードの右上（カードの上側）へ */
  .other-products .other-products__item .other-products__balloon {
    top: calc(-66 * var(--u));
    right: 0;
    width: calc(126.6 * var(--u));
  }

  /* 「など…」はカードの右下へ */
  .other-products .other-products__etc--products {
    top: calc(100% + 8 * var(--u));
    bottom: auto;
    left: auto;
    right: 0;
  }
}

/* ==========================================================================
   強み・クレヨン以外の製品：SP（767px以下）
   ========================================================================== */
@media screen and (max-width: 767px) {
  .strength {
    padding: 30px min(calc(35 / 375 * 100vw),35px);
    background-image: url(../images/crayon/strength_title_bg_sp.svg);
  }
  .strength::before {
    width: calc(100% - min(calc(20 / 375 * 100vw),20px));
    height: calc(100% - min(calc(20 / 375 * 100vw),20px));
    background-image: url(../images/crayon/strength_title_line_sp.svg);
  }
  
.strength__lead {
  text-align: left;
}

  .other-products {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .other-products__products {
    width: auto;
    margin: 32px 0 0;
  }

  .other-products__list {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 450px;
    margin: 0 auto;
  }

  .other-products__item {
    padding: 20px min(calc(16 / 375 * 100vw),16px) 24px;
    border-radius: 20px;
  }

  .other-products__figure {
    width: min(100%,230px);
    margin-top: 12px;
  }

  .other-products .other-products__figure .other-products__thumb {
    right: -27px;
    bottom: -6px;
    width: min(calc(75 / 375 * 100vw),75px);
    border-width: 2px;
  }

  .other-products__name {
    width: min(calc(172 / 375 * 100vw),172px);
    height: 32px;
    margin-top: 16px;
  }

  .other-products .other-products__item .other-products__balloon {
    top: 6px;
    right: 50%;
    width: min(calc(105 / 375 * 100vw),105px);
    transform: translateX(calc(50% + min(calc(115 / 375 * 100vw),115px)));
  }

  .other-products .other-products__etc--products {
    position: static;
    margin-top: 8px;
    text-align: right;
    max-width: 520px;
  }

  .other-products__materials {
    width: auto;
    margin: 32px 0 0;
    padding: 36px min(calc(16 / 375 * 100vw),16px) 36px;
    border-radius: 28px;
  }

  .other-products__materials::before {
    inset: 10px;
    border-width: 2px;
    border-radius: 20px;
    border: calc(2 * var(--u)) solid #c4a07a;
    background-image: none;
  }

  .other-products__material-row {
    width: auto;
  }

  .other-products__material-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px min(calc(16 / 375 * 100vw),16px);
  }

  .other-products__material {
    width: auto;
  }

  .other-products__material img {
    width: min(130px, 100%);
    margin: 0 auto;
    border-width: 5px;
  }

  .other-products__material-name {
    width: min(126px, 100%);
    height: 30px;
    margin-top: 12px;
  }

  .other-products .other-products__etc--materials {
    position: static;
    margin-top: 12px;
    text-align: right;
  }

  .other-products__materials-title {
    margin-top: 16px;
  }
}

/* ==========================================================================
   ご注文の流れ（#flow）
   1400〜1140px：デザインどおりの固定サイズ / 1140px以下：--u（画面幅÷1140）で比例縮小
   ========================================================================== */
.flow {
  padding-top: calc(91 * var(--u));
  padding-bottom: calc(97 * var(--u));
  background-color: #fff;
}

.flow__title {
  margin: 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(24 / 375 * 100vw), 24px), calc(47 / 1140 * 100vw), 47px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.085em;
  color: #cb3634;
  text-align: center;
}

/* 6つの工程（幅1000px） */
.flow__list {
  display: flex;
  flex-direction: column;
  gap: calc(60.5 * var(--u));
  width: calc(1000 * var(--u));
  margin: calc(55 * var(--u)) calc(50% - 500 * var(--u)) 0;
  padding: 0;
  list-style: none;
}

/* 背景（flow_list_bg.svg）を9分割で引き伸ばす。高さが違う項目でも角の形が崩れない */
.flow__item {
  position: relative;
  padding: calc(32 * var(--u)) calc(20 * var(--u)) calc(33 * var(--u));
  border: 0 solid transparent;
  /* 切り出す幅は%指定（SVGの大きさ100.19×13.9に対して、角の丸み約3.5ぶん） */
  border-image: url(../images/crayon/flow_list_bg.svg) 25.2% 3.5% fill / calc(35 * var(--u)) stretch;
  text-align: center;
}

/* 工程の間の矢印（最後の項目にはなし） */
.flow__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(100% + 21 * var(--u));
  left: 50%;
  width: calc(29 * var(--u));
  height: calc(23.9 * var(--u));
  background: url(../images/crayon/flow_arrow.svg) center / 100% 100% no-repeat;
  transform: translateX(-50%);
}

.flow .flow__item-title {
  margin: 0;
  padding: 0;
  font-size: clamp(min(calc(16 / 375 * 100vw),16px), calc(26 / 1140 * 100vw), 26px);
  font-weight: 700;
  line-height: 1.4;
  color: #cb3634;
}

.flow .flow__item-text {
  margin: calc(7 * var(--u)) 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(14 / 375 * 100vw),14px), calc(18 / 1140 * 100vw), 18px);
  font-weight: 500;
  line-height: 1.6;
  color: #5f4d3f;
}

/* 吹き出し「データを入稿していただくことも可能です！」（4つ目の項目の上端に重ねる） */
.flow .flow__item .flow__balloon {
  position: absolute;
  top: calc(-20 * var(--u));
  left: calc(589 * var(--u));
  width: calc(94 * var(--u));
  height: auto;
}

/* ==========================================================================
   Q＆A（#qa）
   背景はデザインの色に合わせて bg_beige.webp。リスト幅875px（常時展開）
   ========================================================================== */
.qa {
  position: relative;
  overflow: clip;
  padding-top: calc(79 * var(--u));
  padding-bottom: calc(99 * var(--u));
  background: url(../images/crayon/bg_beige.webp) repeat left center / 200px;
}

.qa__title {
  margin: 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(min(calc(28 / 375 * 100vw), 28px), calc(54 / 1140 * 100vw), 54px);
  font-weight: 500;
  line-height: 1.35;
  /* 字間を広げた分、中央からずれないよう同じ幅だけ字下げ */
  letter-spacing: 0.215em;
  text-indent: 0.215em;
  color: #cb3634;
  text-align: center;
}

.qa__list {
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--u));
  width: calc(875 * var(--u));
  margin: calc(33 * var(--u)) calc(50% - 437.5 * var(--u)) 0;
}

/* 白い背景（detail_whitebox_qa.svg）を引き伸ばす */
.qa__item {
  display: block;
  border: 0 solid transparent;
  /* 切り出す幅は%指定（SVGの大きさ87.55×17.55に対して、角の丸み約1.5ぶん） */
  /* border-image: url(../images/crayon/detail_whitebox_qa.svg) 8.55% 1.71% fill / calc(15 * var(--u)) stretch; */
  background-image: url(../images/crayon/detail_whitebox_qa.svg);
  background-size: 100% calc(100% - 5px);
  background-repeat: no-repeat;
  background-position: bottom center;
}

/* 質問：赤い背景（detail_redbox_qa_close.svg） */
.qa__question {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(65 * var(--u));
  padding: calc(6 * var(--u)) calc(70 * var(--u)) calc(9 * var(--u)) calc(20 * var(--u));
  border: 0 solid transparent;
  /* 切り出す幅は%指定（SVGの大きさ87.6×6.3に対して、角の丸み約1.5ぶん） */
  /* border-image: url(../images/crayon/detail_redbox_qa_close.svg) 23.8% 1.71% fill / calc(15 * var(--u)) stretch; */
  background-image: url(../images/crayon/detail_redbox_qa_close.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  font-size: clamp(min(calc(16 / 375 * 100vw),16px), calc(24 / 1140 * 100vw), 24px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #fff;
}

/* 「Q」「A」の文字 */
.qa__mark {
  flex: none;
  width: calc(37 * var(--u));
  font-size: clamp(min(calc(20 / 375 * 100vw),20px), calc(28 / 1140 * 100vw), 28px);
  font-weight: 500;
  line-height: 1;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.qa__answer {
  display: flex;
  align-items: flex-start;
  padding: calc(11 * var(--u)) calc(20 * var(--u)) calc(14 * var(--u));
}

.qa__answer .qa__mark {
  margin-top: calc(-1 * var(--u));
  padding-left: calc(2 * var(--u));
  box-sizing: border-box;
  color: #cb3634;
}

.qa .qa__answer-text {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(min(calc(14 / 375 * 100vw),14px), calc(18 / 1140 * 100vw), 18px);
  font-weight: 400;
  line-height: 1.6;
  color: #5f4d3f;
}

/* 装飾のクレヨン（31×204px）：.containerの上端基準(top)・中心(left:50%)からの横ずれ(--dx)で配置 */
.qa__crayon {
  --crayon-w: max(20px, calc(31 * var(--u)));
  --crayon-h: calc(var(--crayon-w) * 204 / 31);
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(var(--top) * var(--u) - var(--crayon-h) / 2);
  width: var(--crayon-w);
  height: auto;
  filter: drop-shadow(8px 30px 8px rgba(95, 77, 63, 0.3));
  pointer-events: none;
  transform: translateX(calc(clamp(-50vw, var(--dx) * var(--u), 50vw) - var(--crayon-w) / 2)) rotate(var(--rot));
}

/* パプリカ（左） */
.qa__crayon--orange {
  --top: 324;
  --dx: -551.5;
  --side: -1;
  --rot: 49.2deg;
}

/* きゃべつ（右上） */
.qa__crayon--green {
  --top: 112;
  --dx: 548.8;
  --side: 1;
  --rot: -36.8deg;
}

/* むらさきいも（右下：閉じたときは下端で見切れる） */
.qa__crayon--purple {
  --top: 619.5;
  --dx: 670;
  --side: 1;
  --rot: 68deg;
}

/* ==========================================================================
   ご注文の流れ・Q＆A：SP（767px以下）
   ========================================================================== */
@media screen and (max-width: 767px) {
  .flow {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .flow__list {
    gap: 40px;
    width: auto;
    margin: 32px auto 0;
    max-width: 450px;
  }

  .flow__item {
    padding: 20px 16px;
    border-image-width: 20px;
  }

  .flow__item:not(:last-child)::after {
    top: calc(100% + 11px);
    width: 20px;
    height: 16.5px;
  }

  .flow .flow__item-text {
    margin-top: 6px;
    text-align: center;
  }

  /* 吹き出しは4つ目の項目の右上へ */
  .flow .flow__item .flow__balloon {
    top: -20px;
    right: 50%;
    left: auto;
    width: min(calc(90 / 375 * 100vw), 90px);
    transform: translateX(calc(50% + min(calc(120 / 375 * 100vw),120px)));
  }

  .qa {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .qa__list {
    gap: 16px;
    width: auto;
    margin: 32px 0 0;
  }

  .qa__item {
    border-image-width: 10px;
    background-image: url(../images/crayon/crayondetail_whitebox_qa_sp.svg);
  }

  .qa__question {
    min-height: 48px;
    padding: 10px min(calc(20 / 375 * 100vw),20px) 10px min(calc(14 / 375 * 100vw),14px);
    border-image-width: 10px;
    text-wrap: balance;
    background-image: url(../images/crayon/detail_redbox_qa_close_sp.svg);
  }

  .qa__question-text {
    min-width: 0;
  }

  .qa__mark {
    width: 28px;
  }

  .qa__answer {
    min-height: 110px;
    padding: 12px min(calc(20 / 375 * 100vw),20px) 14px min(calc(14 / 375 * 100vw),14px);
  }

  .qa__answer .qa__mark {
    width: 22px;
    margin-top: 2px;
  }


  .qa .qa__answer-text,
  .flow .flow__item-text {
    text-wrap: pretty;
  }

  /* 装飾クレヨン：画面の左右の端に寄せ、文字に重ならない位置（見出しの横・リストの下の余白）に置く */
  .qa__crayon {
    top: calc(var(--top) * 1px - var(--crayon-h) / 2);
    transform: translateX(calc(var(--side) * (50vw + 12px) - var(--crayon-w) / 2)) rotate(var(--rot));
  }

  .qa__crayon--orange {
    bottom: 0;
    top: auto;
    /* transform: translate(calc(-1 * (50vw - 36px) - var(--crayon-w) / 2), 30%) rotate(52deg); */
    transform: translate(calc(-50% - calc(min(calc(380 / 768 * 100vw), 380px) - min(calc(10 / 375 * 100vw), 10px))), 30%) rotate(52deg);
  }

  .qa__crayon--green {
    --top: 25;
    transform: translateX(calc(-50% + min(calc(330 / 768 * 100vw), 330px))) rotate(-60deg);
  }

  /* リストの下端を基準に、下の余白の中へ置く */
  .qa__crayon--purple {
    /* top: auto;
    bottom: calc(-35px - var(--crayon-h) / 2); */
    display: none;
  }
}

.contactWrap {
  padding-top: clamp(100px,calc(100 / 1140 * 100vw),150px);
}