:root {
  --paper: #f7f3ea;
  --paper-warm: #fff6e6;
  --paper-soft: #fbefd9;
  --beige: #e9ddc7;
  --ink: #2a2119;
  --ink-soft: #58483b;
  --red: #c24a24;
  --red-deep: #9e2b24;
  --gold: #d49a2a;
  --gold-deep: #b8790f;
  --gold-soft: #e5c77d;
  --blue: #a9d0df;
  --white: #fffaf1;
  --de-font: "Playfair Display", Georgia, "Times New Roman", serif;
  --jp-font: "New Tegomin", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--de-font);
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background:
    radial-gradient(circle at 14% 4%, rgba(255, 250, 241, 0.9) 0 5rem, transparent 5.2rem),
    radial-gradient(circle at 86% 18%, rgba(255, 250, 241, 0.7) 0 4.5rem, transparent 4.7rem),
    linear-gradient(180deg, #efe4cf 0%, #e4d4b7 100%);
}

body::before,
body::after {
  display: none;
}

button,
a {
  font: inherit;
}

.dodoitsu-ja,
[lang="ja"] {
  font-family: var(--jp-font);
}

.dodoitsu-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.dodoitsu-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 250, 241, 0.66), rgba(255, 250, 241, 0.66)),
    var(--paper) url("assets/sp-background.webp") center top / 100% auto repeat-y;
}

.dodoitsu-lp,
.dodoitsu-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  background: transparent;
}

.dodoitsu-lp {
  position: relative;
  padding-bottom: 3vw;
}

.dodoitsu-lp::before {
  display: none;
}

.dodoitsu-lp > * {
  position: relative;
  z-index: 1;
}

.dodoitsu-lp::after {
  display: none;
}

.dodoitsu-hero {
  position: relative;
  padding: 18px 14px 0;
  text-align: center;
}

.dodoitsu-hero__visual {
  background: transparent;
}

.dodoitsu-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.dodoitsu-hero__intro {
  padding: 28px 15px 0;
  text-align: center;
}

.dodoitsu-hero__lead {
  max-width: 22rem;
  margin: 0 auto;
  color: var(--red-deep);
  font-size: 1.26rem;
  font-weight: 800;
  line-height: 1.38;
}

.dodoitsu-hero__text {
  max-width: 22rem;
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.62;
}

.dodoitsu-rhythm {
  color: var(--red-deep);
  font-weight: 900;
  white-space: nowrap;
}

.dodoitsu-de-note {
  color: rgba(42, 33, 25, 0.64);
  font-size: 0.86rem;
  line-height: 1.72;
}

.dodoitsu-hero__de {
  max-width: 21rem;
  margin: 16px auto 0;
}

.dodoitsu-ja {
  margin-top: 20px;
  color: rgba(42, 33, 25, 0.78);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.84;
}

.dodoitsu-hero__ja {
  max-width: 22rem;
  margin-right: auto;
  margin-left: auto;
}

.dodoitsu-section {
  position: relative;
  padding: 7vw 14px 0;
  background: transparent;
}

.dodoitsu-section__inner {
  position: relative;
  padding: 30px 22px 32px;
  border: 1px solid rgba(212, 154, 42, 0.72);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.dodoitsu-section__inner::before {
  position: absolute;
  top: -13px;
  left: 22px;
  width: 25px;
  height: 25px;
  background: url("assets/ume.png") center / contain no-repeat;
  content: "";
}

.dodoitsu-lp > .dodoitsu-section:nth-of-type(odd) .dodoitsu-section__inner::before {
  right: 22px;
  left: auto;
}

.dodoitsu-section__label {
  display: block;
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.dodoitsu-section h2 {
  margin: 0;
  color: var(--red-deep);
  font-family: var(--de-font);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
}

.dodoitsu-section h2[lang="ja"] {
  font-family: var(--jp-font);
  font-weight: 400;
}

.dodoitsu-section h2::after {
  display: block;
  width: 88px;
  height: 1px;
  margin: 20px 0 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.dodoitsu-section p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.76;
}

.dodoitsu-section p.dodoitsu-ja {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 154, 42, 0.22);
  color: rgba(42, 33, 25, 0.74);
  font-size: 0.88rem;
  line-height: 1.86;
}

.dodoitsu-ja-block {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 154, 42, 0.22);
  color: rgba(42, 33, 25, 0.74);
  font-size: 0.88rem;
  line-height: 1.86;
}

.dodoitsu-text-block {
  margin-top: 20px;
}

.dodoitsu-text-block p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.dodoitsu-text-block p + p {
  margin-top: 0.9em;
}

.dodoitsu-section p.dodoitsu-de-note {
  margin-top: 14px;
  color: rgba(42, 33, 25, 0.64);
  font-size: 0.86rem;
  line-height: 1.72;
}

.dodoitsu-shamisen-image {
  width: min(200px, 100%);
  margin: 16px auto 4px;
}

.dodoitsu-shamisen-image img {
  display: block;
  width: 100%;
  height: auto;
}

.dodoitsu-video {
  padding-top: 7vw;
}

.dodoitsu-video__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 24px;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 16px;
  background: #000;
  box-shadow: 0 10px 24px rgba(42, 33, 25, 0.14);
}

.dodoitsu-video__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.dodoitsu-triplet {
  display: grid;
  gap: 10px;
  margin: 26px 0 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dodoitsu-triplet span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(212, 154, 42, 0.48);
  border-radius: 12px;
  background: rgba(247, 243, 234, 0.72);
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.dodoitsu-listen-list {
  display: grid;
  gap: 9px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.dodoitsu-listen-list li {
  position: relative;
  display: grid;
  min-height: 54px;
  padding: 12px 12px 12px 42px;
  border: 1px solid rgba(212, 154, 42, 0.34);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.68);
  color: var(--ink);
  font-size: 1rem;
  gap: 2px;
}

.dodoitsu-listen-list li::before {
  position: absolute;
  top: 13px;
  left: 15px;
  width: 16px;
  height: 16px;
  background: url("assets/ume.png") center / contain no-repeat;
  content: "";
}

.dodoitsu-listen-list li span {
  color: rgba(42, 33, 25, 0.62);
  font-family: var(--jp-font);
  font-size: 0.82rem;
}

.dodoitsu-listen-list a {
  color: inherit;
  text-decoration: none;
}

.dodoitsu-instagram {
  margin-top: 24px;
}

.dodoitsu-instagram__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dodoitsu-instagram__item {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(212, 154, 42, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.6);
  aspect-ratio: 1;
}

.dodoitsu-instagram__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dodoitsu-instagram__item:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.dodoitsu-section--maya .dodoitsu-section__inner {
  background: rgba(255, 250, 241, 0.9);
}

.dodoitsu-cta {
  display: grid;
  min-height: 66px;
  margin-top: 30px;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: var(--red-deep);
  box-shadow: 0 8px 18px rgba(158, 43, 36, 0.16);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  align-items: center;
  justify-items: center;
}

.dodoitsu-cta::after {
  display: none;
}

.dodoitsu-cta span:first-child {
  display: grid;
  gap: 2px;
  justify-items: center;
}

.dodoitsu-cta strong {
  font-family: var(--de-font);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
}

.dodoitsu-cta small {
  color: rgba(255, 250, 241, 0.84);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.35;
}

.dodoitsu-cta:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.dodoitsu-footer {
  position: relative;
  padding: 30px 18px 18px;
  color: rgba(42, 33, 25, 0.72);
  text-align: center;
}

.dodoitsu-footer::before {
  display: none;
}

.dodoitsu-footer p {
  margin: 5px 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.dodoitsu-footer p:first-child {
  color: var(--red-deep);
  font-weight: 800;
}

@media (min-width: 431px) {
  body {
    min-height: 100vh;
  }

  body::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
    content: "";
    background:
      linear-gradient(rgba(247, 243, 234, 0.18), rgba(233, 221, 199, 0.28)),
      url("assets/lp-background-paper.webp") center center / cover no-repeat;
    pointer-events: none;
  }

  body::after {
    display: none;
  }

  .dodoitsu-shell {
    box-shadow: 0 10px 22px rgba(42, 33, 25, 0.14);
  }

  .dodoitsu-shell {
    margin-bottom: 0;
  }
}

@media (max-width: 360px) {
  .dodoitsu-hero {
    padding-right: 10px;
    padding-left: 10px;
  }

  .dodoitsu-section {
    padding-right: 10px;
    padding-left: 10px;
  }

  .dodoitsu-section__inner {
    padding-right: 18px;
    padding-left: 18px;
  }
}

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