@charset "UTF-8";

/* ══════════════════════════════════════
   style.css  ─  compiled from style.scss
   SP-first / 尾道コーディングルール準拠
   ══════════════════════════════════════ */

/* Reset */
html { scroll-behavior: smooth; }
*, *::before, *::after { margin: 0; padding: 0; -webkit-box-sizing: border-box; box-sizing: border-box; }

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: #fff;
  color: #222;
  overflow-x: hidden;
}

/* ── Nav（SP：ハンバーガー表示） ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px 24px;
}
@media screen and (min-width: 769px) {
  .nav {
    padding: 28px 56px;
  }
}

.nav__logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #222;
}
.nav__logo span { color: #f7931e; }
.nav__logo-sub {
  display: block;
  color: #222 !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
}
@media screen and (min-width: 851px) {
  .nav__logo-sub { display: inline; }
}

.nav__links {
  display: none;
  gap: 40px;
  list-style: none;
}
@media screen and (min-width: 769px) {
  .nav__links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
.nav__links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #222;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.nav__links a:hover { color: #f7931e; }

/* ── FV ── */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
#fv-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* SP：1カラム・中央揃え */
.fv__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 32px;
  text-align: center;
}
@media screen and (min-width: 431px) {
  .fv__content {
    padding: 0 16vw;
  }
}
@media screen and (min-width: 621px) {
  .fv__content {
    padding: 0 72px;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    text-align: left;
  }
}

.fv__text {
  text-align: center;
}
@media screen and (min-width: 621px) {
  .fv__text {
    text-align: left;
  }
}
.fv__illust {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.fv__svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  opacity: 0;
  -webkit-animation: fadeUp 1s 0.8s cubic-bezier(.22,1,.36,1) forwards;
  animation: fadeUp 1s 0.8s cubic-bezier(.22,1,.36,1) forwards;
}
@media screen and (min-width: 621px) {
  .fv__svg {
    max-width: 480px;
  }
}

.fv__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #f7931e;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  -webkit-animation: fadeUp 0.9s 0.5s cubic-bezier(.22,1,.36,1) forwards;
  animation: fadeUp 0.9s 0.5s cubic-bezier(.22,1,.36,1) forwards;
}
.fv__title {
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.4;
  color: #222;
  margin-bottom: 22px;
  opacity: 0;
  -webkit-animation: fadeUp 0.9s 0.72s cubic-bezier(.22,1,.36,1) forwards;
  animation: fadeUp 0.9s 0.72s cubic-bezier(.22,1,.36,1) forwards;
}
.fv__subtitle {
  font-size: 12px;
  color: #777;
  line-height: 2.1;
  margin-bottom: 48px;
  opacity: 0;
  -webkit-animation: fadeUp 0.9s 0.92s cubic-bezier(.22,1,.36,1) forwards;
  animation: fadeUp 0.9s 0.92s cubic-bezier(.22,1,.36,1) forwards;
}
@media screen and (min-width: 769px) {
  .fv__subtitle {
    font-size: clamp(13px, 1.3vw, 15px);
  }
}

.fv__cta {
  display: inline-block;
  background: #f7931e;
  color: #fff;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  -webkit-box-shadow: 0 8px 28px rgba(247,147,30,0.3);
  box-shadow: 0 8px 28px rgba(247,147,30,0.3);
  -webkit-transition: -webkit-transform 0.25s, -webkit-box-shadow 0.25s;
  transition: transform 0.25s, box-shadow 0.25s;
  opacity: 0;
  -webkit-animation: fadeUp 0.9s 1.12s cubic-bezier(.22,1,.36,1) forwards;
  animation: fadeUp 0.9s 1.12s cubic-bezier(.22,1,.36,1) forwards;
}
@media screen and (min-width: 769px) {
  .fv__cta {
    padding: 17px 52px;
    font-size: 14px;
  }
}
.fv__cta:hover {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 14px 36px rgba(247,147,30,0.4);
  box-shadow: 0 14px 36px rgba(247,147,30,0.4);
}

.fv__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  opacity: 0;
  -webkit-animation: fadeIn 1s 2s forwards;
  animation: fadeIn 1s 2s forwards;
}
.fv__scroll span {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #bbb;
}
.fv__scroll-bar {
  width: 1px;
  height: 44px;
  background: -webkit-gradient(linear, left top, left bottom, from(#f7931e), to(transparent));
  background: linear-gradient(to bottom, #f7931e, transparent);
  -webkit-animation: scrollDrop 2s 2.2s ease-in-out infinite;
  animation: scrollDrop 2s 2.2s ease-in-out infinite;
  -webkit-transform-origin: top;
  transform-origin: top;
}

/* ── Section Head（共通） ── */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head__en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #f7931e;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head__ja {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #222;
  letter-spacing: 0.04em;
}

/* ── Service（SP：1カラム） ── */
.service {
  padding: 80px 6vw;
  background: #fff;
}
@media screen and (min-width: 431px) {
  .service {
    padding: 80px 16vw;
  }
}
@media screen and (min-width: 769px) {
  .service {
    padding: 120px 40px;
  }
}
.service__inner {
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .service__inner {
    max-width: 1000px;
    padding: 0;
  }
}
.service__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media screen and (min-width: 769px) {
  .service__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
.service__card {
  height: 220px;
  perspective: 900px;
  cursor: pointer;
}
.service__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.65s cubic-bezier(.22,1,.36,1);
  transition: transform 0.65s cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) {
  .service__card:hover .service__card-inner {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }
}
.service__card.is-flipped .service__card-inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.service__card-front,
.service__card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 40px 32px;
  text-align: center;
}
.service__card-front {
  border: 1.5px solid #f7931e;
  background: #fff;
}
.service__card-back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  background: #f7931e;
  border: 1.5px solid #f7931e;
}
.service__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  color: #f7931e;
}
.service__icon svg {
  width: 100%;
  height: 100%;
}
.service__name {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.04em;
}
.service__hint {
  font-size: 10px;
  color: #ccc;
  letter-spacing: 0.1em;
  margin-top: 16px;
}
@media (hover: hover) {
  .service__hint { display: none; }
}
.service__desc {
  font-size: 13px;
  color: #fff;
  line-height: 2;
}

/* ── Works ── */
.works__intro {
  padding: 80px 16vw 40px;
}
@media screen and (min-width: 769px) {
  .works__intro {
    padding: 120px 40px 80px;
  }
}

/* スクロール量を確保するトラック */
.works__track {
  height: 300vh; /* フォールバック */
  height: 300dvh; /* スマホのアドレスバー変動によるズレを防ぐ */
}

/* ビューポートに固定されるコンテナ */
.works__sticky {
  position: sticky;
  top: 0;
  height: 100vh; /* フォールバック */
  height: 100dvh;
  overflow: hidden;
}

/* 各パネル */
.works__panel {
  position: absolute;
  inset: 0;
  background: #fff;
  will-change: transform;
}
.works__panel[data-panel="0"] { z-index: 1; -webkit-transform: translateY(0); transform: translateY(0); }
.works__panel[data-panel="1"] { z-index: 2; -webkit-transform: translateY(100%); transform: translateY(100%); }
.works__panel[data-panel="2"] { z-index: 3; -webkit-transform: translateY(100%); transform: translateY(100%); }
.works__panel[data-panel="3"] { z-index: 4; -webkit-transform: translateY(100%); transform: translateY(100%); }
.works__panel[data-panel="4"] { z-index: 5; -webkit-transform: translateY(100%); transform: translateY(100%); }

/* SP：1カラム */
.works__panel-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 6vw 40px;
  overflow-y: visible; /* SPでタッチスクロールが内側に奪われるのを防ぐ（auto から変更） */
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 24px;
}
@media screen and (min-width: 431px) {
  .works__panel-inner {
    padding: 80px 16vw 40px;
  }
}
@media screen and (min-width: 769px) {
  .works__panel-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: unset;
    padding: 0 56px;
    overflow-y: visible;
    gap: 80px;
  }
}

/* Portfolio (panel 02) wider visual */
.works__panel[data-panel="1"] .works__panel-inner,
.works__panel[data-panel="2"] .works__panel-inner {
  grid-template-columns: 1fr;
}
@media screen and (min-width: 769px) {
  .works__panel[data-panel="1"] .works__panel-inner,
  .works__panel[data-panel="2"] .works__panel-inner {
    grid-template-columns: 1fr 1.8fr;
  }
  .works__panel[data-panel="1"] .works__img img,
  .works__panel[data-panel="2"] .works__img img {
    -o-object-fit: contain;
    object-fit: contain;
  }
}

/* テキスト情報 */
.works__num {
  display: block;
  font-size: 80px;
  font-weight: 800;
  color: rgba(247,147,30,0.12);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.works__category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #f7931e;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.works__title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
}
.works__desc {
  font-size: 14px;
  color: #777;
  line-height: 2;
  margin-bottom: 28px;
}
.works__tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.works__tag {
  font-size: 11px;
  color: #f7931e;
  border: 1px solid #f7931e;
  border-radius: 50px;
  padding: 4px 14px;
  letter-spacing: 0.04em;
}
.works__tag--demo {
  color: #5ba4d4;
  border-color: #5ba4d4;
  background: #fff;
}
.works__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  border-bottom: 1.5px solid #f7931e;
  padding-bottom: 3px;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.works__link:hover { color: #f7931e; }

/* ビジュアルエリア */
.works__visual {
  height: 220px;
  max-height: 220px;
}
@media screen and (min-width: 769px) {
  .works__visual {
    height: 60vh;
    max-height: 520px;
  }
}
.works__img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.works__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Works panel 0 */
.works__panel[data-panel="0"] .works__panel-inner {
  grid-template-columns: 1fr;
}
@media screen and (min-width: 769px) {
  .works__panel[data-panel="0"] .works__panel-inner {
    grid-template-columns: 1fr 1.8fr;
  }
  .works__panel[data-panel="0"] .works__img img {
    -o-object-fit: contain;
    object-fit: contain;
  }
}
.mock {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.mock__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #f0ede9;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.mock__logo {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #222;
}
.mock__logo em {
  color: #f7931e;
  font-style: normal;
}
.mock__nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}
.mock__nav-links span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: #e8e8e8;
}
.mock__fv {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background: #fff;
  overflow: hidden;
}
.mock__threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mock__copy {
  position: absolute;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 28px;
}
.mock__eyebrow {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #f7931e;
  margin-bottom: 8px;
}
.mock__title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.mock__btn {
  width: 72px;
  height: 22px;
  border-radius: 50px;
  background: #f7931e;
  opacity: 0.85;
}

/* ページネーションドット */
.works__dots {
  position: absolute;
  right: 40px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
}
.works__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  -webkit-transition: background 0.3s, -webkit-transform 0.3s;
  transition: background 0.3s, transform 0.3s;
  cursor: default;
}
.works__dot.is-active {
  background: #f7931e;
  -webkit-transform: scale(1.4);
  transform: scale(1.4);
}
.works__more {
  text-align: center;
  padding: 12px 0 112px;
}
.works__more-link {
  font-size: 13px;
  font-weight: 600;
  color: #f7931e;
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(247,147,30,0.4);
  padding-bottom: 3px;
  -webkit-transition: border-color 0.2s, opacity 0.2s;
  transition: border-color 0.2s, opacity 0.2s;
}
.works__more-link:hover {
  opacity: 0.7;
}

/* ── CTA ── */
.cta {
  background: #fef3e8;
  padding: 100px 40px;
  text-align: center;
}
.cta__inner {
  max-width: 700px;
  margin: 0 auto;
}
.cta__sub {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #c8a07a;
  margin-bottom: 16px;
}
.cta__title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
}
.cta__btn {
  display: inline-block;
  color: #fff;
  background: #f7931e;
  padding: 12px 36px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  -webkit-box-shadow: 0 6px 24px rgba(247,147,30,0.25);
  box-shadow: 0 6px 24px rgba(247,147,30,0.25);
  -webkit-transition: -webkit-transform 0.25s, -webkit-box-shadow 0.25s;
  transition: transform 0.25s, box-shadow 0.25s;
}
@media screen and (min-width: 769px) {
  .cta__btn {
    padding: 15px 48px;
    font-size: 13px;
  }
}
.cta__btn:hover {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 10px 32px rgba(247,147,30,0.35);
  box-shadow: 0 10px 32px rgba(247,147,30,0.35);
}

/* ── About（SP：1カラム） ── */
.about {
  padding: 80px 16vw;
  background: #fff;
}
@media screen and (min-width: 769px) {
  .about {
    padding: 120px 40px;
  }
}
.about__inner {
  max-width: 100%;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .about__inner {
    max-width: 1000px;
  }
}
.about__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 80px;
}
@media screen and (min-width: 769px) {
  .about__body {
    grid-template-columns: 1fr 1.6fr;
    gap: 72px;
  }
}
.about__photo {
  width: 160px;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .about__photo {
    width: auto;
    margin: 0;
  }
}
.about__photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f5f0eb;
  border-radius: 20px;
  overflow: hidden;
}
.about__photo-placeholder img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.about__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 24px;
}
.about__text p {
  font-size: 14px;
  color: #555;
  line-height: 2;
}
@media screen and (min-width: 769px) {
  .about__text p {
    font-size: 15px;
  }
}
.about__text em {
  font-style: normal;
  color: #f7931e;
  font-weight: 600;
}

/* ── Skills ── */
.skills {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 64px;
  padding-top: 56px;
  border-top: 1px solid #f0f0f0;
}
.skills__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #f7931e;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.skills__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.skills__item {
  font-size: 13px;
  color: #444;
  background: #f7f7f7;
  padding: 7px 18px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}
.skills__item--learning {
  color: #aaa;
  background: #fafafa;
  border: 1px dashed #ddd;
}

/* ── Flow ── */
.flow {
  padding: 120px 40px;
  background: #fafafa;
}
.flow__inner {
  max-width: 560px;
  margin: 0 auto;
}
.flow__timeline {
  position: relative;
}
.flow__line {
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: rgba(247,147,30,0.12);
  border-radius: 2px;
  overflow: hidden;
}
.flow__line-fill {
  width: 100%;
  height: 0;
  background: #f7931e;
  border-radius: 2px;
  -webkit-transition: height 1.6s cubic-bezier(.22,1,.36,1) 0.2s;
  transition: height 1.6s cubic-bezier(.22,1,.36,1) 0.2s;
}
.flow.is-visible .flow__line-fill { height: 100%; }

.flow__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 28px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-bottom: 52px;
  position: relative;
  opacity: 0;
  -webkit-transform: translateY(16px);
  transform: translateY(16px);
  -webkit-transition:
    opacity 0.65s ease calc(var(--i) * 0.25s + 0.2s),
    -webkit-transform 0.65s cubic-bezier(.22,1,.36,1) calc(var(--i) * 0.25s + 0.2s);
  transition:
    opacity 0.65s ease calc(var(--i) * 0.25s + 0.2s),
    transform 0.65s cubic-bezier(.22,1,.36,1) calc(var(--i) * 0.25s + 0.2s);
}
.flow__item:last-child { margin-bottom: 0; }
.flow.is-visible .flow__item { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }

.flow__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f7931e;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  -webkit-box-shadow: 0 4px 14px rgba(247,147,30,0.28);
  box-shadow: 0 4px 14px rgba(247,147,30,0.28);
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--i) * 0.25s + 0.3s);
  transition: transform 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--i) * 0.25s + 0.3s);
}
.flow.is-visible .flow__dot {
  -webkit-transform: scale(1);
  transform: scale(1);
}
.flow__body { padding-top: 8px; }
.flow__title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.flow__desc {
  font-size: 14px;
  color: #777;
  line-height: 2;
}

/* ── Price（SP：1カラム） ── */
.price {
  padding: 80px 6vw;
  background: #fafafa;
}
@media screen and (min-width: 431px) {
  .price {
    padding: 80px 16vw;
  }
}
@media screen and (min-width: 769px) {
  .price {
    padding: 120px 40px;
  }
}
.price__inner {
  max-width: 100%;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .price__inner {
    max-width: 1000px;
  }
}
.price__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
@media screen and (min-width: 769px) {
  .price__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.price__card {
  background: #fff;
  border: 1.5px solid #f7931e;
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 16px;
}
.price__card--free {
  background: #f7931e;
  border-color: #f7931e;
}
.price__name {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.04em;
}
.price__card--free .price__name { color: #fff; }
.price__desc {
  font-size: 13px;
  color: #888;
  line-height: 1.9;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.price__card--free .price__desc { color: rgba(255,255,255,0.8); }
.price__desc-br { display: block; }
@media screen and (min-width: 431px) {
  .price__desc-br { display: inline; }
}
.price__val {
  font-size: 32px;
  font-weight: 800;
  color: #f7931e;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.price__val span {
  font-size: 16px;
  font-weight: 400;
  color: #bbb;
}
.price__card--free .price__val {
  color: #fff;
  font-size: 28px;
}
.price__tiers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #f0ede9;
}
.price__tier {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.price__tier-label {
  font-size: 12px;
  color: #888;
}
.price__tier-val {
  font-size: 20px;
  font-weight: 800;
  color: #f7931e;
  letter-spacing: -0.02em;
}
.price__tier-val small {
  font-size: 13px;
  font-weight: 400;
  color: #bbb;
}
.price__note {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  line-height: 1.9;
}
.price__note-br { display: block; }
@media screen and (min-width: 431px) {
  .price__note-br { display: inline; }
}

/* ── Contact ── */
.contact {
  padding: 120px 40px;
  background: #fff;
}
.contact__inner {
  max-width: 640px;
  margin: 0 auto;
}
.contact__tools {
  font-size: 11px;
  color: #888;
  line-height: 2;
  text-align: center;
  margin-bottom: 48px;
}
@media screen and (min-width: 769px) {
  .contact__tools {
    font-size: 13px;
  }
}
.contact__form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 32px;
}
.contact__field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
}
.contact__label {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.04em;
}
.contact__required {
  color: #f7931e;
  margin-left: 4px;
}
.contact__input,
.contact__textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  background: #fafafa;
  outline: none;
  -webkit-transition: border-color 0.2s, background 0.2s;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}
.contact__input::-webkit-input-placeholder,
.contact__textarea::-webkit-input-placeholder { color: #bbb; }
.contact__input::placeholder,
.contact__textarea::placeholder { color: #bbb; }
.contact__input:focus,
.contact__textarea:focus {
  border-color: #f7931e;
  background: #fff;
}
.contact__submit {
  text-align: center;
}
.contact__btn {
  display: inline-block;
  background: #f7931e;
  color: #fff;
  padding: 12px 40px;
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: inherit;
  cursor: pointer;
  -webkit-box-shadow: 0 6px 24px rgba(247,147,30,0.28);
  box-shadow: 0 6px 24px rgba(247,147,30,0.28);
  -webkit-transition: -webkit-transform 0.25s, -webkit-box-shadow 0.25s, opacity 0.2s;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.2s;
}
@media screen and (min-width: 769px) {
  .contact__btn {
    padding: 16px 64px;
    font-size: 14px;
  }
}
.contact__btn:hover {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 10px 32px rgba(247,147,30,0.35);
  box-shadow: 0 10px 32px rgba(247,147,30,0.35);
}
.contact__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  -webkit-transform: none;
  transform: none;
}
.contact__notice {
  text-align: center;
  font-size: 14px;
  min-height: 20px;
}
.contact__notice--success { color: #3a9e6e; }
.contact__notice--error   { color: #d0483a; }

/* ── Thread Divider ── */
.thread-divider {
  position: relative;
  height: 240px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 48px;
}
#divider-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Footer ── */
.footer {
  background: #fef3e8;
  padding: 0 24px 48px;
}
@media screen and (min-width: 769px) {
  .footer {
    padding: 0 56px 48px;
  }
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(247,147,30,0.2);
  padding-top: 48px;
}
.footer__logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #222;
}
.footer__logo span { color: #f7931e; }
.footer__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 12px 24px;
  list-style: none;
}
@media screen and (min-width: 481px) {
  .footer__nav {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 32px;
  }
}
.footer__nav a {
  font-size: 12px;
  color: #999;
  text-decoration: none;
  letter-spacing: 0.06em;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.footer__nav a:hover { color: #f7931e; }
.footer__x {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #999;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.footer__x:hover { color: #f7931e; }
.footer__x svg {
  width: 18px;
  height: 18px;
}
.footer__copy {
  font-size: 11px;
  color: rgba(34,34,34,0.3);
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════════
   ハンバーガーメニュー / ドロワー（SP）
   ══════════════════════════════════════ */

/* ハンバーガーボタン：SP で表示、PC で非表示 */
.nav__burger {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 201;
  position: relative;
}
@media screen and (min-width: 769px) {
  .nav__burger {
    display: none;
  }
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  border-radius: 2px;
  -webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-transform-origin: center;
  transform-origin: center;
}

/* 開いているとき × に変形 */
.nav__burger.is-open span:nth-child(1) { -webkit-transform: translateY(7px) rotate(45deg); transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { -webkit-transform: translateY(-7px) rotate(-45deg); transform: translateY(-7px) rotate(-45deg); }

/* ドロワー本体 */
.nav__drawer {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  z-index: 200;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.nav__drawer.is-open {
  opacity: 1;
  pointer-events: all;
}
.nav__drawer-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.nav__drawer-close span {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  border-radius: 2px;
}
.nav__drawer-close span:nth-child(1) { -webkit-transform: translateY(1px) rotate(45deg); transform: translateY(1px) rotate(45deg); }
.nav__drawer-close span:nth-child(2) { -webkit-transform: translateY(-1px) rotate(-45deg); transform: translateY(-1px) rotate(-45deg); }
.nav__drawer-links {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 40px;
}
.nav__drawer-links a {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #222;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.nav__drawer-links a:hover { color: #f7931e; }

/* ドロワー開放中はスクロール禁止 */
body.drawer-open {
  overflow: hidden;
}

/* ── Keyframes ── */
@-webkit-keyframes fadeUp {
  from { opacity: 0; -webkit-transform: translateY(22px); transform: translateY(22px); }
  to   { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; -webkit-transform: translateY(22px); transform: translateY(22px); }
  to   { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@-webkit-keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeIn { to { opacity: 1; } }
@-webkit-keyframes scrollDrop {
  0%   { -webkit-transform: scaleY(0); transform: scaleY(0); opacity: 1; }
  65%  { -webkit-transform: scaleY(1); transform: scaleY(1); opacity: 1; }
  100% { -webkit-transform: scaleY(1); transform: scaleY(1); opacity: 0; }
}
@keyframes scrollDrop {
  0%   { -webkit-transform: scaleY(0); transform: scaleY(0); opacity: 1; }
  65%  { -webkit-transform: scaleY(1); transform: scaleY(1); opacity: 1; }
  100% { -webkit-transform: scaleY(1); transform: scaleY(1); opacity: 0; }
}
