@charset "UTF-8";

/* =========================================================
  1. 基本設定
  サイト全体の色・フォント・共通余白はここを編集してください。
========================================================= */
:root {
  /* 編集：背景色・文字色・アクセントカラー */
  --color-bg: #fffdf9;
  --color-bg-soft: #f7f1ea;
  --color-text: #2d2926;
  --color-muted: #4a4540;
  --color-border: #ded7ce;
  --color-primary: #2f6f7e;
  --color-accent: #c98276;
  /* 編集：右上ロゴの基本色と影 */
  --header-logo-color: #2d2926;
  --header-logo-shadow: 0 1px 12px rgb(255 253 249 / 74%);
  --color-white: #ffffff;
  --color-black: #000000;
  /* 編集：フォントと共通サイズ */
  --font-base: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-en: "Oswald", Arial, Helvetica, sans-serif;
  --container-width: 540px;
  --header-height: 72px;
  --section-padding: 104px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
  2. 共通リセット
  通常は変更不要です。
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

li {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

body.is-menu-open {
  overflow: hidden;
}

/* =========================================================
  3. 補助クラス
  画面には見せない読み上げ用テキストやスキップリンクです。
========================================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 8px 12px;
  color: var(--color-white);
  background: var(--color-black);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
  4. ヘッダー
  ロゴ・PCナビ・ハンバーガーボタンの見た目を編集できます。
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-height: var(--header-height);
  background: transparent;
  transition: background 0.4s var(--ease);
}

/* 編集：セクションごとの右上ロゴ色。背景に対して見えにくい場合はここを変更してください。 */
body[data-current-panel="panel-main"] {
  --header-logo-color: #2d2926;
}

body[data-current-panel="panel-section-01"] {
  --header-logo-color: #5a4636;
}

body[data-current-panel="panel-section-02"] {
  --header-logo-color: #214f5a;
}

body[data-current-panel="panel-section-03"] {
  --header-logo-color: #6a3f3a;
}

body[data-current-panel="panel-section-04"] {
  --header-logo-color: #38523e;
}

body[data-current-panel="panel-section-05"] {
  --header-logo-color: #5b4650;
}

body[data-current-panel="panel-section-06"] {
  --header-logo-color: #25515d;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.site-logo__text {
  line-height: 1;
  color: var(--header-logo-color);
  text-shadow: var(--header-logo-shadow);
  transition: color 0.4s var(--ease), text-shadow 0.4s var(--ease);
}

.global-nav__list {
  display: flex;
  align-items: center;
  margin-left: min(0px, calc(24px - (100vw - 1280px) / 2));
  gap: 22px;
}

.global-nav__item a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-en);
  font-size: 0.875rem;
  color: var(--color-muted);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 50% calc(100% - 8px);
  background-size: 0 1px;
  transition: color 0.2s var(--ease), background-size 0.2s var(--ease);
}

.global-nav__item a:hover {
  color: var(--color-primary);
  background-size: 100% 1px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-button__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.is-menu-open .menu-button__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.is-menu-open .menu-button__line:nth-child(2) {
  opacity: 0;
}

.is-menu-open .menu-button__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
  5. スマホメニュー
  展開幅・背景の暗さ・メニュー行の高さを編集できます。
========================================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  max-height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: rgb(0 0 0 / 52%);
  border-bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__list {
  position: relative;
  display: grid;
  grid-auto-rows: 64px;
  align-content: start;
  width: min(70vw, 420px);
  max-height: calc(100dvh - 40px);
  margin-left: auto;
  padding: calc(var(--header-height) + 32px) 24px 32px;
  overflow-y: auto;
  gap: 0;
  background: #fffdf9;
  counter-reset: mobile-nav;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
}

.mobile-menu__list::before {
  position: absolute;
  top: calc(var(--header-height) + 24px);
  bottom: 32px;
  left: 24px;
  width: 1px;
  content: "";
  background: rgb(45 41 38 / 14%);
}

.mobile-menu.is-open .mobile-menu__list {
  transform: translateX(0);
}

.mobile-menu__item {
  counter-increment: mobile-nav;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
}

.mobile-menu.is-open .mobile-menu__item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__item:nth-child(2) {
  transition-delay: 0.04s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(3) {
  transition-delay: 0.08s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(4) {
  transition-delay: 0.12s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(5) {
  transition-delay: 0.16s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(6) {
  transition-delay: 0.2s;
}

.mobile-menu__item a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  height: 64px;
  padding: 10px 0 10px 18px;
  font-family: var(--font-en);
  font-size: 1.25rem;
  color: var(--color-text);
  border-bottom: 1px solid rgb(45 41 38 / 12%);
}

.mobile-menu__item a::before {
  content: counter(mobile-nav, decimal-leading-zero);
  font-size: 0.75rem;
  color: var(--color-primary);
  letter-spacing: 0;
}

/* =========================================================
  6. 2カラムレイアウト
  PC表示の左固定エリアと右スクロールエリアの幅を管理します。
========================================================= */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 50vw) minmax(0, 50vw);
  min-height: 100vh;
  background: var(--color-bg);
}

.visual-stage {
  position: sticky;
  top: 0;
  grid-column: 1;
  align-self: start;
  height: 100vh;
  overflow: hidden;
}

.scroll-content {
  grid-column: 2;
  min-width: 0;
  background: var(--color-bg);
}

/* =========================================================
  7. 左側固定エリア
  左下のSNSリンクとコピーライトの位置・文字色を編集できます。
========================================================= */
.visual-stage__inner {
  position: relative;
  height: 100%;
}

.visual-stage-footer {
  position: absolute;
  left: 64px;
  bottom: 40px;
  z-index: 3;
  display: grid;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(45 41 38 / 72%);
}

.visual-stage-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.visual-stage-footer__copy {
  color: rgb(45 41 38 / 58%);
}

/* =========================================================
  8. 左側固定パネル
  各セクションに連動する背景グラデーション・タイトル表示を編集できます。
========================================================= */
.visual-panel {
  position: absolute;
  inset: 0;
  display: grid;
  min-height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.8s var(--ease);
}

.visual-panel.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.visual-panel__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 編集：左側パネルの背景グラデーション */
.visual-panel--main .visual-panel__bg {
  background: linear-gradient(145deg, #e99fa7 0%, #eeb3ad 48%, #9fc9d6 100%);
}

.visual-panel--section-01 .visual-panel__bg {
  background: linear-gradient(160deg, #eeb8bc 0%, #e5b1b5 52%, #d8c4a9 100%);
}

.visual-panel--section-02 .visual-panel__bg {
  background: linear-gradient(150deg, #6fa5b6 0%, #adc9d2 45%, #cbd7bb 100%);
}

.visual-panel--section-03 .visual-panel__bg {
  background: linear-gradient(155deg, #e9a6a5 0%, #e7bbb6 50%, #a9cbd5 118%);
}

.visual-panel--section-04 .visual-panel__bg {
  background: linear-gradient(145deg, #669bae 0%, #bdd3b0 50%, #e4c984 100%);
}

.visual-panel--section-05 .visual-panel__bg {
  background: linear-gradient(150deg, #e7a5ad 0%, #e8c4b6 48%, #b6d2d9 100%);
}

.visual-panel--section-06 .visual-panel__bg {
  background: linear-gradient(145deg, #6398ab 0%, #cdbd93 50%, #e4aeb3 100%);
}

.visual-panel__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: calc(var(--header-height) + 48px) 64px 56px;
  gap: 28px;
}

.visual-panel__title {
  font-family: var(--font-en);
  font-size: 6.75rem;
  font-weight: 700;
  line-height: 0.92;
  color: rgb(255 255 255 / 84%);
  text-shadow: 0 2px 18px rgb(45 41 38 / 16%);
  overflow-wrap: anywhere;
}

.visual-panel__copy {
  max-width: 320px;
  font-size: 1.125rem;
  line-height: 1.8;
}

.visual-panel__decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.visual-panel__decor--circle {
  right: -96px;
  top: 22%;
  width: 360px;
  height: 360px;
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: 50%;
}

.visual-panel.is-active .visual-panel__decor--circle {
  animation: panelDrift 12s ease-in-out infinite;
}

.visual-panel__decor--line {
  left: 64px;
  bottom: 72px;
  width: 44%;
  height: 1px;
  background: rgb(45 41 38 / 24%);
}

/* =========================================================
  9. 右側スクロールエリア
  各セクションの余白・背景色・切り替え演出を編集できます。
========================================================= */
.scroll-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: calc(var(--section-padding) + var(--header-height)) 72px var(--section-padding);
  overflow: hidden;
}

.scroll-section--wipe::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: var(--wipe-color, var(--color-bg-soft));
  transform: translateY(100%);
  transition: transform 1.15s var(--ease);
  pointer-events: none;
}

.scroll-section--wipe.is-panel-active::after {
  transform: translateY(0);
}

/* 編集：右側各セクションの背景色 */
.scroll-section--main {
  align-items: flex-start;
  padding-top: calc(var(--header-height) + 64px);
  background: #fffaf7;
}

#section-01 {
  background: #fff7ee;
}

#section-02 {
  --wipe-color: #d8e8ee;
  background: #d8e8ee;
}

#section-03 {
  --wipe-color: #f8ddd8;
  min-height: 150vh;
  background: #f8ddd8;
}

#section-03 .scroll-section__inner {
  width: min(100%, 680px);
}

#section-04 {
  background: #e2ead8;
}

#section-05 {
  --wipe-color: #fff7ec;
  background: #fff7ec;
}

#section-06 {
  background: #d4e4ea;
}

.scroll-section__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container-width));
  margin-inline: auto;
}

.section-visual {
  display: none;
}

/* =========================================================
  10. セクション内容
  見出し・本文・カード・画像風ボックスの見た目を編集できます。
========================================================= */
.section-header {
  max-width: var(--container-width);
}

.section-label {
  margin-bottom: 12px;
  font-family: var(--font-en);
  font-size: 0.875rem;
  color: var(--color-primary);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.42;
}

.section-title--large {
  font-size: 3.25rem;
  line-height: 1.25;
}

.section-text {
  margin-top: 20px;
  color: var(--color-muted);
}

.section-main-image {
  margin-top: 40px;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.section-01-content {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 56px;
  padding: 32px 0 0 28px;
  color: var(--color-primary);
  border-left: 1px solid rgb(47 111 126 / 34%);
}

.section-01-content::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section-01-content__lead {
  font-size: 2.05rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.section-01-content__sub {
  font-family: var(--font-en);
  font-size: 0.875rem;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

.section-01-content__label {
  width: fit-content;
  margin-top: 48px;
  padding-bottom: 8px;
  font-family: var(--font-en);
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  border-bottom: 1px solid currentColor;
}

.section-01-content__title {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.section-01-content__text {
  font-size: 1rem;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

.section-01-content__lead,
.section-01-content__sub,
.section-01-content__label,
.section-01-content__title,
.section-01-content__text {
  color: #8f8580;
}

.section-02-list {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}

.section-03-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: end;
  margin-top: 56px;
}

.placeholder-image.section-03-grid__item {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--color-white);
  background: #f4d5d1;
  border: 0;
  isolation: isolate;
}

.section-03-grid__item::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: #f4d5d1;
}

.section-03-grid__item--large {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.section-03-grid__item--large .section-03-design__photo {
  top: 0;
  right: -2%;
  width: 76%;
  height: 100%;
}

.section-03-grid__item.section-03-grid__item--large .section-03-design__title {
  font-size: 4.4rem;
}

.section-03-grid__item--small {
  aspect-ratio: 2 / 3;
}

.section-03-grid__item--small::before {
  background: #f4cbd0;
}

.section-03-grid__item--small .section-03-design__photo {
  top: 6%;
  left: 4%;
  width: 92%;
  height: 58%;
}

.section-03-grid__item.section-03-grid__item--small .section-03-design__title {
  bottom: 6%;
  left: 6%;
  font-size: 3.2rem;
}

.section-03-grid__item--wide {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 5 / 3;
  justify-self: end;
}

.section-03-grid__item--wide::before {
  background: #c7dfe2;
}

.section-03-grid__item--wide .section-03-design__photo {
  right: -2%;
  bottom: -6%;
  width: 58%;
  height: 118%;
}

.section-03-grid__item.section-03-grid__item--wide .section-03-design__title {
  bottom: 8%;
  left: 6%;
  font-size: 4.8rem;
}

.section-03-grid__item .section-03-design__title {
  position: absolute;
  bottom: 8%;
  left: 8%;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.4rem;
  font-weight: 400;
  line-height: 0.9;
  color: rgb(255 255 255 / 88%);
  text-align: left;
  text-shadow: 0 2px 16px rgb(45 41 38 / 18%);
}

.section-03-grid__item .section-03-design__photo {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 12px;
  color: rgb(45 41 38 / 58%);
  background: rgb(238 233 226 / 82%);
  border: 1px dashed rgb(45 41 38 / 18%);
}

.section-03-grid__item .section-03-design__label {
  position: absolute;
  top: 8%;
  right: 8%;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 0.75rem;
  line-height: 1;
  color: var(--color-primary);
  border-bottom: 1px solid currentColor;
}

.section-04-list {
  display: grid;
  gap: 20px;
  margin-top: 44px;
  max-height: min(640px, 58vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.section-04-list::-webkit-scrollbar {
  display: none;
}

.section-05-box,
.section-06-panel {
  padding-block: 24px;
}

.section-06-panel {
  position: relative;
  z-index: 2;
}

.section-06-bg-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-06-bg-visual__item {
  position: absolute;
  min-height: 0;
  opacity: 0.7;
  transform: translate3d(0, 34px, 0) scale(0.92);
  transition: opacity 2.2s var(--ease), transform 5.2s var(--ease);
}

.section-06-bg-visual__item span {
  font-size: 0.75rem;
}

.section-06-bg-visual__item--main {
  right: 10%;
  bottom: 10%;
  z-index: 2;
  width: min(420px, 58%);
  aspect-ratio: 3 / 2;
  opacity: 0.82;
  transform-origin: center;
}

.section-06-bg-visual__item--sub-01 {
  top: 14%;
  left: 8%;
  width: min(180px, 24%);
  aspect-ratio: 1 / 1;
}

.section-06-bg-visual__item--sub-02 {
  right: 4%;
  top: 18%;
  width: min(150px, 22%);
  aspect-ratio: 7 / 9;
}

.section-06-bg-visual__item--sub-03 {
  left: 20%;
  bottom: 18%;
  width: min(220px, 30%);
  aspect-ratio: 8 / 5;
}

#section-06.is-bg-active .section-06-bg-visual__item {
  opacity: 0.08;
  transform: translate3d(0, 0, 0) scale(1);
}

#section-06.is-bg-active .section-06-bg-visual__item--main {
  opacity: 0.42;
  transform: translate3d(-24%, -12%, 0) scale(2.8);
}

.section-05-box .button,
.section-06-panel .button {
  margin-top: 32px;
}

/* =========================================================
  11. ボタン・カード・画像枠
  ボタン色、カードの余白、プレースホルダー画像枠を編集できます。
========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  color: var(--color-white);
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.button:hover {
  opacity: 0.84;
}

.button--outline {
  color: var(--color-primary);
  background: transparent;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.placeholder-image {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 18px;
  color: var(--color-muted);
  background: #eee9e2;
  border: 1px dashed var(--color-border);
}

.placeholder-image span {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  text-align: center;
}

.section-02-card,
.section-04-card {
  background: rgb(255 255 255 / 78%);
  border: 1px solid var(--color-border);
}

.section-02-card {
  padding: 24px;
}

.section-02-card__number,
.section-04-card__label {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  color: var(--color-accent);
}

.section-02-card__title,
.section-04-card__title {
  margin-top: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}

.section-02-card__text,
.section-04-card__text {
  margin-top: 10px;
  color: var(--color-muted);
}

.section-04-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

.section-04-card__image {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.section-04-card__body {
  min-width: 0;
}

/* =========================================================
  12. フッター
  フッターの背景色・文字色・ナビの並びを編集できます。
========================================================= */
.site-footer {
  padding: 72px;
  color: var(--color-white);
  background: var(--color-text);
}

.site-footer__inner {
  display: grid;
  width: min(100%, var(--container-width));
  margin-inline: auto;
  gap: 24px;
}

.site-footer__logo {
  font-weight: 700;
}

.footer-nav__list,
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.footer-nav__item a,
.site-footer__social a,
.site-footer__copy {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 78%);
}

@media (min-width: 769px) {
  .site-footer__social,
  .site-footer__copy {
    display: none;
  }
}

/* =========================================================
  13. ページトップボタン
  右下に表示される上向きボタンの見た目を編集できます。
========================================================= */
.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 980;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================================================
  14. アニメーション
  表示時のフェード・移動量・速度を編集できます。
========================================================= */
.js .js-fade-up {
  opacity: 0;
  transform: translateY(24px);
}

.js .motion-from-left.js-fade-up {
  transform: translateX(-44px);
}

.js .motion-from-right.js-fade-up {
  transform: translateX(44px);
}

.js .motion-rise.js-fade-up {
  transform: translateY(44px);
}

.js .motion-soft-scale.js-fade-up {
  transform: translateY(34px) scale(0.96);
}

.js .js-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.js .section-02-card.js-fade-up:nth-child(2).is-visible,
.js .section-04-card.js-fade-up:nth-child(2).is-visible,
.js .section-03-grid__item.js-fade-up:nth-child(2).is-visible {
  transition-delay: 0.08s;
}

.js .section-02-card.js-fade-up:nth-child(3).is-visible,
.js .section-04-card.js-fade-up:nth-child(3).is-visible,
.js .section-03-grid__item.js-fade-up:nth-child(3).is-visible {
  transition-delay: 0.16s;
}

.no-js .js-fade-up {
  opacity: 1;
  transform: none;
}

@keyframes panelDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-18px, 12px, 0) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .js-fade-up {
    opacity: 1;
    transform: none;
  }

  .visual-panel.is-active .visual-panel__decor--circle {
    animation: none;
  }
}

/* =========================================================
  15. レスポンシブ
  タブレット・スマホ表示の余白、幅、文字サイズを編集できます。
========================================================= */
@media (max-width: 1024px) {
  :root {
    --container-width: 500px;
    --header-height: 68px;
    --section-padding: 88px;
  }

  .split-layout {
    grid-template-columns: minmax(0, 48vw) minmax(0, 52vw);
  }

  .site-header__inner {
    width: min(100% - 40px, 1180px);
  }

  .global-nav__list {
    margin-left: 0;
    gap: 16px;
  }

  .visual-panel__inner {
    padding-inline: 44px;
  }

  .visual-stage-footer {
    left: 44px;
  }

  .visual-panel__title {
    font-size: 5.75rem;
  }

  .scroll-section {
    padding-inline: 48px;
  }

  .section-title {
    font-size: 2.05rem;
  }

  .section-title--large {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --section-padding: 72px;
  }

  body {
    font-size: 15px;
  }

  .site-header__inner {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    background: transparent;
  }

  .site-logo {
    margin-left: auto;
  }

  .global-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .split-layout {
    display: block;
  }

  .visual-stage {
    position: static;
    display: none;
    height: auto;
    overflow: visible;
  }

  .scroll-content {
    width: 100%;
  }

  .scroll-section {
    display: block;
    min-height: auto;
    padding: calc(var(--header-height) + 40px) 22px var(--section-padding);
  }

  #section-03 {
    min-height: auto;
  }

  .scroll-section__inner,
  .site-footer__inner {
    width: min(100%, 620px);
  }

  .section-06-bg-visual {
    display: none;
  }

  .section-visual {
    display: none;
    gap: 18px;
    margin-bottom: 34px;
    padding: 24px;
    overflow: hidden;
    background: var(--color-bg-soft);
  }

  .section-visual--main {
    background: #f2c7c1;
  }

  .section-visual--section-01 {
    background: #efe4d4;
  }

  .section-visual--section-02 {
    background: #bed7de;
  }

  .section-visual--section-03 {
    background: #ecc2ba;
  }

  .section-visual--section-04 {
    background: #d8e5dc;
  }

  .section-visual--section-05 {
    background: #fffdf9;
  }

  .section-visual--section-06 {
    background: #edf4f5;
  }

  .section-visual__title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgb(255 255 255 / 74%);
    overflow-wrap: anywhere;
  }

  .section-visual__image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-title--large {
    font-size: 2.35rem;
  }

  .section-main-image {
    aspect-ratio: 1 / 1;
  }

  .section-01-content,
  .section-03-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-01-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 22px;
  }

  .section-01-content__lead {
    font-size: 1.75rem;
  }

  .section-01-content__label {
    margin-top: 36px;
    font-size: 0.8125rem;
  }

  .section-01-content__title {
    font-size: 1.85rem;
  }

  .section-01-content__text {
    font-size: 0.95rem;
  }

  .section-04-card {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .js .scroll-content .section-header.js-fade-up,
  .js .scroll-content .section-05-box.js-fade-up,
  .js .scroll-content .section-06-panel.js-fade-up {
    transform: translateY(32px) scale(0.98);
  }

  .js .scroll-content .section-main-image.js-fade-up,
  .js .scroll-content .section-01-content.js-fade-up,
  .js .scroll-content .section-03-grid__item.js-fade-up,
  .js .scroll-content .section-04-card.js-fade-up {
    clip-path: inset(12% 0 0 0);
    transform: translateY(38px) scale(0.96);
  }

  .js .scroll-content .section-header.js-fade-up.is-visible,
  .js .scroll-content .section-05-box.js-fade-up.is-visible,
  .js .scroll-content .section-06-panel.js-fade-up.is-visible,
  .js .scroll-content .section-main-image.js-fade-up.is-visible,
  .js .scroll-content .section-01-content.js-fade-up.is-visible,
  .js .scroll-content .section-03-grid__item.js-fade-up.is-visible,
  .js .scroll-content .section-04-card.js-fade-up.is-visible {
    clip-path: inset(0);
    transform: translateY(0) scale(1);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), clip-path 0.9s var(--ease);
  }

  .site-footer {
    padding: 56px 22px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 60px;
  }

  .scroll-section {
    padding-inline: 18px;
  }

  .section-visual {
    padding: 20px;
  }

  .section-visual__title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-title--large {
    font-size: 2rem;
  }

  .button-group,
  .button {
    width: 100%;
  }

  .section-01-content,
  .section-03-grid {
    grid-template-columns: 1fr;
  }

  .section-01-content__lead {
    font-size: 1.35rem;
    line-height: 1.75;
  }

  .section-01-content__sub {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
  }

  .section-01-content__label {
    margin-top: 28px;
    font-size: 0.75rem;
  }

  .section-01-content__title {
    font-size: 1.45rem;
  }

  .section-01-content__text {
    font-size: 0.9rem;
    line-height: 2;
  }

  .section-03-grid__item--large,
  .section-03-grid__item--small,
  .section-03-grid__item--wide {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .section-03-grid__item .section-03-design__title {
    font-size: 3.6rem;
  }

  .section-03-grid__item.section-03-grid__item--small .section-03-design__title {
    font-size: 3rem;
  }

  .section-03-grid__item.section-03-grid__item--wide .section-03-design__title {
    font-size: 3.4rem;
  }

  .section-04-card {
    grid-template-columns: 1fr;
  }

  .section-04-card__image {
    width: 100%;
  }

  .page-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
