:root {
  color-scheme: light;
  --page-background: #eaf2ea;
  --focus-color: #e8b23a;
  --deep-green: #0c3b27;
  --ink: #14241b;
  --gold: #e8b23a;
  --lp-width: 941px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page-background);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page-background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.lp-shell {
  width: min(100%, var(--lp-width));
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 36px rgb(20 36 27 / 12%);
}

.lp-panel {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.lp-panel > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* 画像内の仮動画枠を切り落とし、実際の正方形GIFを項目間に配置する。 */
.functional-crop {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: normal;
}

.functional-gif-frame {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 3.8% 0 6.2%;
  background: #002611;
}

.functional-gif {
  display: block;
  width: 68%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid rgba(255, 213, 0, 0.92);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.functional-crop__slice {
  display: block;
  width: 100%;
  background-image: var(--functional-image);
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.functional-crop--original-01-02 {
  --functional-image: url("assets/sections/02b-functional-materials-original-quickdry.png");
}

.functional-crop__slice--original-01-02-top {
  aspect-ratio: 941 / 625;
  background-position: center top;
}

.functional-crop__slice--original-01-02-middle {
  aspect-ratio: 941 / 360;
  background-position: center 68.598%;
}

.functional-crop__slice--original-01-02-bottom {
  aspect-ratio: 941 / 137;
  background-position: center bottom;
}

.functional-crop--original-03-04 {
  --functional-image: url("assets/sections/02c-functional-materials-original-v2.png");
}

.functional-crop__slice--original-03-04-top {
  aspect-ratio: 941 / 875;
  background-position: center top;
}

.functional-crop--original-05-06 {
  --functional-image: url("assets/sections/02d-functional-materials-original.png");
}

.functional-crop__slice--original-05-06-top {
  aspect-ratio: 941 / 630;
  background-position: center top;
}

.functional-crop__slice--original-05-06-bottom {
  aspect-ratio: 941 / 737;
  background-position: center bottom;
}

.copy-patch {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
}

.copy-patch--points-original {
  left: 28.4%;
  top: 53.8%;
  width: 51%;
  height: 8.5%;
  align-items: flex-start;
  padding-top: 0.5%;
  background: #f7f7f2;
  color: #0b3928;
  font-size: clamp(12px, 3.05vw, 29px);
  font-weight: 800;
}

.copy-patch--color-original {
  left: 51.1%;
  top: 94.1%;
  width: 46.5%;
  height: 4.8%;
  justify-content: center;
  background: #faf9f4;
  color: #102d20;
  font-size: clamp(10px, 2.4vw, 23px);
  font-weight: 800;
}

.copy-patch--voice-original {
  left: 20.2%;
  top: 21.6%;
  width: 74.8%;
  height: 21.2%;
  align-items: flex-start;
  padding-top: 0.8%;
  background: #0d402c;
  color: #fff;
  font-size: clamp(14px, 3.8vw, 36px);
  font-weight: 800;
  line-height: 1.58;
}

.copy-patch--voice-original::after {
  position: absolute;
  right: 1.5%;
  bottom: -2%;
  color: #e8b23a;
  content: "”";
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1;
}

.ambassador-crop {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: normal;
}

.ambassador-crop__slice {
  display: block;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.ambassador-crop__slice--original-top {
  aspect-ratio: 941 / 735;
  background-image: url("assets/sections/05-ambassadors-v3.png");
  background-position: center top;
}

.ambassador-crop__slice--original-bottom {
  aspect-ratio: 941 / 555;
  background-image: url("assets/sections/05-ambassadors-v3.png");
  background-position: center bottom;
}

.hotspot {
  position: absolute;
  z-index: 5;
  left: var(--left);
  top: var(--top);
  width: var(--width);
  height: var(--height);
  min-height: 44px;
  display: block;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: rgb(232 178 58 / 20%);
}

.hotspot:hover {
  background: rgb(232 178 58 / 8%);
}

.hotspot:focus-visible {
  outline: 4px solid var(--focus-color);
  outline-offset: -4px;
  background: rgb(232 178 58 / 12%);
}

/* Hide the retired two-button artwork and center one live Instagram CTA. */
#faq::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 83.35%;
  left: 0;
  width: 100%;
  height: 6.8%;
  background: #f5bd24;
}

#faq [data-cta="final-instagram"] {
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--deep-green);
  border-radius: 4px;
  background: linear-gradient(105deg, #f8c52c 0%, #f4b81c 100%);
  color: var(--deep-green);
  font-size: clamp(14px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
}

#faq [data-cta="final-instagram"]::before {
  content: "Instagramをフォロー  →";
}

#faq [data-cta="final-instagram"]:hover {
  background: linear-gradient(105deg, #ffd24d 0%, #f8c52c 100%);
}

.movie-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: clamp(42px, 7.2vw, 68px) clamp(22px, 6vw, 64px) clamp(46px, 7.8vw, 74px);
  background:
    linear-gradient(142deg, transparent 0 71%, rgb(232 178 58 / 16%) 71.2% 72%, transparent 72.2%),
    radial-gradient(circle at 82% 16%, rgb(232 178 58 / 14%), transparent 31%),
    repeating-linear-gradient(165deg, rgb(255 255 255 / 2%) 0 2px, transparent 2px 12px),
    var(--deep-green);
  color: #fffdf3;
}

.movie-section::before,
.movie-section::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.movie-section::before {
  inset: 0;
  border: 1px solid rgb(255 255 255 / 10%);
  background: linear-gradient(90deg, transparent 0 4%, rgb(255 255 255 / 2%) 4% 96%, transparent 96%);
}

.movie-section::after {
  right: -12%;
  bottom: -7%;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgb(232 178 58 / 22%);
  border-radius: 50%;
  background: rgb(232 178 58 / 5%);
}

.movie-section__inner {
  width: 100%;
  max-width: 810px;
  margin: 0 auto;
}

.movie-section__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 3.2%;
  color: #f1d685;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(10px, 2vw, 19px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.26em;
}

.movie-section__label::after {
  width: min(28%, 180px);
  height: 1px;
  content: "";
  background: var(--gold);
}

.movie-section__title {
  margin: 0 0 4.8%;
  color: #fffdf3;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(31px, 7.2vw, 68px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.035em;
  text-align: center;
}

.movie-section__title span,
.movie-section__title strong {
  display: block;
}

.movie-section__title strong {
  margin-top: 0.14em;
  color: var(--gold);
  font-weight: 700;
}

.movie-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #061c12;
  border: 3px solid var(--gold);
  box-shadow: 0 18px 46px rgb(0 0 0 / 30%);
}

.movie-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.movie-section__lead {
  margin: 4% 0 0;
  color: #fffdf3;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(13px, 2.8vw, 27px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.025em;
  text-align: center;
}

.size-maker-slice {
  display: block;
  width: 100%;
  background-image: url("assets/sections/07-size-and-maker-v2.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.size-maker-slice--sizes {
  aspect-ratio: 941 / 1006;
  background-position: center top;
}

.size-maker-slice--maker {
  aspect-ratio: 941 / 666;
  background-position: center bottom;
}

.size-addon {
  padding: clamp(32px, 4.8vw, 46px) clamp(20px, 5.5vw, 52px) clamp(48px, 6.8vw, 64px);
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.5;
}

.size-addon__title {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.5vw, 24px);
  margin: 0;
  color: var(--ink);
  font-size: clamp(15px, 3.9vw, 36px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.size-addon__title::after {
  content: "";
  flex: 1 1 30px;
  height: 3px;
  background: var(--gold);
}

.size-addon__note {
  margin: 8px 0 16px;
  color: #3d5145;
  font-size: clamp(11px, 2.1vw, 18px);
  font-weight: 600;
}

.size-addon__table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgb(20 36 27 / 42%);
}

.size-addon__table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fbfbf7;
  color: var(--ink);
  font-size: clamp(13px, 2.8vw, 24px);
  line-height: 1.35;
  text-align: center;
}

.size-addon__table th,
.size-addon__table td {
  padding: clamp(10px, 2.2vw, 18px) clamp(5px, 1.5vw, 14px);
  border-right: 1px solid rgb(20 36 27 / 34%);
  border-bottom: 1px solid rgb(20 36 27 / 34%);
  white-space: nowrap;
}

.size-addon__table th:last-child,
.size-addon__table td:last-child {
  border-right: 0;
}

.size-addon__table tbody tr:last-child th,
.size-addon__table tbody tr:last-child td {
  border-bottom: 0;
}

.size-addon__table thead th {
  background: linear-gradient(180deg, #f5c740 0%, var(--gold) 100%);
  font-weight: 800;
}

.size-addon__table tbody th {
  background: #f7f7f0;
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 940px) {
  .lp-shell {
    box-shadow: none;
  }

  .hotspot:focus-visible {
    outline-width: 3px;
    outline-offset: -3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
