@charset "UTF-8";
/* 制作の流れ（/flow/）だけのスタイル。共通の部品は style.css。クラスは hnh-flow- で始める */
/* ほかの下層ページと同じ型：パンくず・ヒーロー・資料パネル */
.hnh-flow-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); margin-top: calc(6 * var(--s)); }
.hnh-flow-title { font-weight: 900; font-size: max(20px, calc(22 * var(--s))); line-height: 1.3; letter-spacing: .04em; }
.hnh-flow-catch {
  margin-top: calc(12 * var(--s));
  font-weight: 900; font-size: calc(31 * var(--s)); line-height: 1.28; letter-spacing: .01em;
}
.hnh-flow-hero__plus { position: absolute; line-height: 0; z-index: 2; }
.hnh-flow-hero__plus--1 { right: 2%; top: -8%; font-size: calc(46 * var(--s)); }
.hnh-flow-hero__plus--2 { right: -2%; top: 6%; font-size: calc(22 * var(--s)); }
.hh-js .hnh-flow-hero__plus .hh-plus { animation: hh-bob 6s ease-in-out infinite; }
.hh-js .hnh-flow-hero__plus--2 .hh-plus { animation-duration: 4.8s; animation-delay: -1.5s; }
.hnh-flow-dl { padding: calc(48 * var(--s)) 0 calc(20 * var(--s)); scroll-margin-top: 84px; }
.hnh-flow-dl__panel {
  display: grid; gap: calc(16 * var(--s));
  padding: calc(24 * var(--s)) calc(18 * var(--s)); border-radius: calc(26 * var(--s));
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 8px 30px rgba(120, 100, 40, .07);
}
.hnh-flow-dl__covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(10 * var(--s)); order: 2; }
.hnh-flow-dl__text { display: contents; }
.hnh-flow-dl__text > .hh-label, .hnh-flow-dl__title, .hnh-flow-dl__body { order: 1; }
.hnh-flow-dl__btns { order: 3; display: grid; gap: calc(10 * var(--s)); }
.hnh-flow-dl__btns .hh-btn { width: 100%; }
.hnh-flow-dl__body { word-break: auto-phrase; font-weight: 600; font-size: max(14px, calc(14.5 * var(--s))); margin-top: calc(-6 * var(--s)); }
.hnh-flow-cover { text-align: center; }
.hnh-flow-cover__img { overflow: visible; }
.hnh-flow-cover__img img { width: 128%; max-width: none; margin: -14%; }
.hnh-flow-cover--1 .hnh-flow-cover__img img { transform: rotate(-4deg); }
.hnh-flow-cover--2 .hnh-flow-cover__img img { transform: rotate(3deg); }
.hnh-flow-cover__title { word-break: auto-phrase; margin-top: calc(6 * var(--s)); font-weight: 800; font-size: max(13px, calc(13.5 * var(--s))); line-height: 1.4; }
.hnh-flow-hero { padding-top: 84px; }
.hnh-flow-catch em { font-style: normal; color: var(--blue-deep); }
.hnh-flow-lead { margin-top: calc(12 * var(--s)); font-weight: 700; font-size: max(14px, calc(15 * var(--s))); line-height: 1.7; }
.hnh-flow-hero__art { position: relative; margin-top: calc(14 * var(--s)); aspect-ratio: 1774 / 940; }
.hnh-flow-hero__blob { position: absolute; left: 2%; right: 0; top: 8%; width: 98%; height: auto; max-width: none; opacity: .95; }
.hnh-flow-hero__img { position: absolute; left: 0; right: 0; top: 0; display: block; }
.hnh-flow-hero__img img { width: 100%; height: auto; filter: drop-shadow(0 16px 22px rgba(40, 70, 100, .14)); }
@media (min-width: 1024px) {
  .hnh-flow-title { font-size: max(22px, calc(40 * var(--p))); margin-top: calc(4 * var(--p)); }
  .hnh-flow-hero__plus--1 { right: 1%; top: -9%; font-size: calc(90 * var(--p)); }
  .hnh-flow-hero__plus--2 { right: -3%; top: 3%; font-size: calc(44 * var(--p)); }
  .hnh-flow-dl { padding: calc(130 * var(--p)) 0 0; scroll-margin-top: calc(60 * var(--p)); }
  .hnh-flow-dl__panel { grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); gap: calc(50 * var(--p)); align-items: center; padding: calc(70 * var(--p)) calc(90 * var(--p)); border-radius: calc(80 * var(--p)); }
  .hnh-flow-dl__covers { order: 0; gap: calc(30 * var(--p)); padding: calc(30 * var(--p)) calc(10 * var(--p)); }
  .hnh-flow-dl__text { display: block; }
  .hnh-flow-dl__title { font-size: max(26px, calc(50 * var(--p))); }
  .hnh-flow-dl__body { margin-top: calc(16 * var(--p)); font-size: max(14px, calc(25 * var(--p))); }
  .hnh-flow-dl__btns { margin-top: calc(34 * var(--p)); gap: calc(16 * var(--p)); max-width: calc(620 * var(--p)); }
  .hnh-flow-cover__title { font-size: max(13px, calc(22 * var(--p))); margin-top: calc(14 * var(--p)); }
  .hnh-flow-hero { padding-top: calc(130 * var(--p)); }
  .hnh-flow-hero__grid { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); column-gap: calc(26 * var(--p)); align-items: start; margin-top: calc(10 * var(--p)); }
  .hnh-flow-catch { margin-top: calc(22 * var(--p)); font-size: max(30px, calc(60 * var(--p))); line-height: 1.3; white-space: nowrap; }
  .hnh-flow-lead { margin-top: calc(22 * var(--p)); font-size: max(15px, calc(22 * var(--p))); }
  .hnh-flow-hero__art { margin: 0 calc(-50 * var(--p)) 0 calc(-10 * var(--p)); }
}

/* ---------- ヒーロー（SPの資料ボタン） ---------- */
.hnh-flow-hero__cta { margin-top: calc(14 * var(--s)); }
.hnh-flow-hero__cta .hh-btn { width: 100%; }

/* ---------- 6つのステップ ---------- */
.hnh-flow-steps { padding-top: calc(26 * var(--s)); }
.hnh-flow-list { display: grid; gap: calc(14 * var(--s)); }
.hnh-flow-step {
  position: relative;
  padding: calc(18 * var(--s)) calc(16 * var(--s)) calc(16 * var(--s));
  border-radius: calc(24 * var(--s)); background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 8px 26px rgba(120, 100, 40, .07);
}
/* ステップ同士をつなぐ青い点 */
.hnh-flow-step + .hnh-flow-step::before {
  content: ""; position: absolute; left: 50%; top: calc(-14 * var(--s)); width: 4px; height: calc(14 * var(--s));
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--blue) 1.6px, transparent 2px) center top / 4px 6px repeat-y;
}
.hnh-flow-step__head { display: flex; align-items: center; gap: calc(12 * var(--s)); }
.hnh-flow-step__num {
  flex: none; font-weight: 900; font-style: italic; letter-spacing: -.04em; line-height: 1;
  color: var(--blue); font-size: calc(46 * var(--s)); padding-right: .04em;
}
.hnh-flow-step__title { font-weight: 900; font-size: max(20px, calc(22 * var(--s))); line-height: 1.3; letter-spacing: .02em; }
.hnh-flow-step__title small { font-size: .82em; }
.hnh-flow-step__fig { order: -1; }
.hnh-flow-step { display: flex; flex-direction: column; }
.hnh-flow-step__head { order: -2; }
.hnh-flow-step__fig { margin: calc(10 * var(--s)) auto calc(4 * var(--s)); width: 86%; max-width: 420px; }
.hnh-flow-step__fig img { display: block; width: 100%; height: auto; }
/* 切り出し画像の四辺を白カードになじませる（絵柄は切らない） */
.hnh-flow-step__fig img, .hnh-flow-tip__photo img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-composite: intersect;
}
.hnh-flow-tip__photo img { -webkit-mask-image: none; mask-image: none; }
.hnh-flow-step__body { padding-inline: calc(8 * var(--s)); font-weight: 600; font-size: max(14px, calc(15 * var(--s))); line-height: 1.7; word-break: auto-phrase; }

/* 先生にお願いすること */
.hnh-flow-req {
  margin-top: calc(10 * var(--s));
  display: grid; grid-template-columns: calc(46 * var(--s)) minmax(0, 1fr); gap: calc(10 * var(--s)); align-items: center;
  padding: calc(10 * var(--s)) calc(14 * var(--s)) calc(12 * var(--s)) calc(10 * var(--s));
  border-radius: calc(18 * var(--s)); background: #FFF6CC;
}
.hnh-flow-req__avatar { width: 100%; height: auto; border-radius: 10px; }
.hnh-flow-req__label {
  display: inline-block; padding: .15em .8em; border-radius: 999px; background: #FFE45C;
  font-weight: 900; font-size: max(12px, calc(13 * var(--s))); line-height: 1.5; letter-spacing: .04em;
}
.hnh-flow-req__text { display: flex; align-items: flex-start; gap: .5em; margin-top: calc(6 * var(--s)); font-weight: 800; font-size: max(14px, calc(15 * var(--s))); line-height: 1.55; }
.hnh-flow-req__text span { word-break: auto-phrase; }
.hnh-flow-req__check { flex: none; width: 1.3em; height: 1.3em; margin-top: .12em; }
.hnh-flow-req__icon { flex: none; }
.hnh-flow-req__note {
  display: inline-flex; align-items: center; gap: .4em; margin-top: calc(8 * var(--s));
  padding: .3em .9em; border-radius: 999px; background: var(--white); border: 1.5px solid #9CD3F2;
  color: var(--blue-deep); font-weight: 800; font-size: max(12px, calc(13 * var(--s))); line-height: 1.4;
}
.hnh-flow-req__note img { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- スマホでの写真の撮り方 ---------- */
.hnh-flow-photo { padding-top: calc(40 * var(--s)); }
.hnh-flow-photo__band { position: relative; }
.hnh-flow-photo__band > .hh-wrap { padding-top: calc(28 * var(--s)); padding-bottom: calc(24 * var(--s)); }
.hnh-flow-photo__band::before {
  content: ""; position: absolute; inset: 0 calc(8 * var(--s)); z-index: -1;
  border-radius: calc(28 * var(--s));
  background: linear-gradient(180deg, #DDF0FB 0%, var(--blue-pale) 100%);
}
.hnh-flow-photo__plus { position: absolute; line-height: 0; z-index: 1; }
.hnh-flow-photo__plus--1 { right: calc(26 * var(--s)); top: calc(-16 * var(--s)); font-size: calc(36 * var(--s)); }
.hnh-flow-photo__plus--2 { right: calc(12 * var(--s)); top: calc(10 * var(--s)); font-size: calc(18 * var(--s)); }
.hh-js .hnh-flow-photo__plus .hh-plus { animation: hh-bob 6s ease-in-out infinite; }
.hh-js .hnh-flow-photo__plus--2 .hh-plus { animation-duration: 4.8s; animation-delay: -1.5s; }
.hnh-flow-photo__title { font-size: max(21px, calc(23 * var(--s))); }
.hnh-flow-tips { display: grid; gap: calc(10 * var(--s)); margin-top: calc(16 * var(--s)); }
.hnh-flow-tip {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 48%); gap: calc(10 * var(--s)); align-items: center;
  padding: calc(10 * var(--s)); padding-left: calc(14 * var(--s)); border-radius: calc(18 * var(--s));
  background: var(--white); box-shadow: 0 6px 18px rgba(0, 100, 160, .07);
}
.hnh-flow-tip__title { display: flex; align-items: center; gap: .6em; font-weight: 900; font-size: max(15px, calc(16 * var(--s))); line-height: 1.4; word-break: auto-phrase; }
.hnh-flow-tip__title img { flex: none; width: calc(30 * var(--s)); height: auto; }
.hnh-flow-tip__photo { border-radius: calc(10 * var(--s)); overflow: hidden; }
.hnh-flow-tip__photo img { display: block; width: 100%; height: auto; }

/* ---------- 出現（控えめ。既存の hh-reveal を継承） ---------- */
.hh-js .hnh-flow-step.hh-reveal { transition-delay: 0s; }

@media (min-width: 1024px) {
  .hnh-flow-hero__plus--1 { right: 0; top: -12%; }
  .hnh-flow-steps { padding-top: calc(30 * var(--p)); }
  .hnh-flow-list { gap: calc(28 * var(--p)); }
  .hnh-flow-step {
    display: grid; grid-template-columns: calc(118 * var(--p)) minmax(0, 1fr) calc(340 * var(--p)) calc(380 * var(--p));
    grid-template-rows: auto auto; column-gap: calc(26 * var(--p)); align-items: center;
    min-height: calc(180 * var(--p));
    padding: calc(22 * var(--p)) calc(34 * var(--p)) calc(22 * var(--p)) calc(40 * var(--p));
    border-radius: calc(48 * var(--p));
  }
  .hnh-flow-step + .hnh-flow-step::before { top: calc(-28 * var(--p)); height: calc(28 * var(--p)); }
  .hnh-flow-step__head { display: contents; }
  .hnh-flow-step__num { grid-column: 1; grid-row: 1 / 3; font-size: calc(92 * var(--p)); }
  .hnh-flow-step__title { grid-column: 2; grid-row: 1; align-self: end; font-size: max(19px, calc(32 * var(--p))); white-space: nowrap; }
  .hnh-flow-step__body { grid-column: 2; grid-row: 2; align-self: start; padding: 0; margin-top: calc(8 * var(--p)); font-size: max(13px, calc(19 * var(--p))); }
  .hnh-flow-req { grid-column: 3; grid-row: 1 / 3; display: block; margin: 0; padding: calc(18 * var(--p)) calc(26 * var(--p)) calc(20 * var(--p)); border-radius: calc(28 * var(--p)); }
  .hnh-flow-req__label { padding: 0; background: none; color: var(--blue-deep); font-size: max(12px, calc(18 * var(--p))); }
  .hnh-flow-req__text { align-items: center; gap: .7em; margin-top: calc(8 * var(--p)); font-size: max(13px, calc(18.5 * var(--p))); }
  .hnh-flow-req__icon { width: calc(40 * var(--p)); height: auto; }
  .hnh-flow-req__note { margin-top: calc(12 * var(--p)); font-size: max(12px, calc(17 * var(--p))); }
  .hnh-flow-step__fig { grid-column: 4; grid-row: 1 / 3; width: 100%; max-width: none; margin: 0; }

  .hnh-flow-photo { padding-top: calc(80 * var(--p)); }
  .hnh-flow-photo__band > .hh-wrap { padding-top: calc(50 * var(--p)); padding-bottom: calc(56 * var(--p)); }
  .hnh-flow-photo__band::before { inset: 0 calc(30 * var(--p)); border-radius: calc(80 * var(--p)); }
  .hnh-flow-photo__plus--1 { right: calc(110 * var(--p)); top: calc(-28 * var(--p)); font-size: calc(80 * var(--p)); }
  .hnh-flow-photo__plus--2 { right: calc(80 * var(--p)); top: calc(30 * var(--p)); font-size: calc(38 * var(--p)); }
  .hnh-flow-photo__title { font-size: max(24px, calc(44 * var(--p))); }
  .hnh-flow-tips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(26 * var(--p)); margin-top: calc(30 * var(--p)); }
  .hnh-flow-tip { grid-template-columns: minmax(0, 1fr); gap: calc(16 * var(--p)); padding: calc(24 * var(--p)); border-radius: calc(32 * var(--p)); }
  .hnh-flow-tip__title { font-size: max(15px, calc(25 * var(--p))); }
  .hnh-flow-tip__title img { width: calc(44 * var(--p)); }
  .hnh-flow-tip__photo { border-radius: calc(16 * var(--p)); }
}

@media (prefers-reduced-motion: reduce) {
  .hh-js .hnh-flow-hero__plus .hh-plus, .hh-js .hnh-flow-photo__plus .hh-plus { animation: none !important; }
}
