/* カラーパレット定義 */
:root {
  --color-green: #298f45;
  --color-red: #ff6c6c;
  --color-lightgreen: #e3f1e2;
  --color-lightorange: #fffbf4;
  --color-accent: #f9b445;
  --color-background: #ffffff;
  --color-text: #583636;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  font-family: 'hiragino-kaku-gothic-pron', sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #323232;
  margin: 0;
  padding: 0;
  font-size: 20px;
  background-color: var(--color-background);
}

@media screen and (max-width: 640px) {
  body {
    font-size: 16px;
  }
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
body {
  min-height: 100vh;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
textarea:not([rows]) {
  min-height: 10em;
}
:target {
  scroll-margin-block: 5ex;
}

section {
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  letter-spacing: 5%;
}

.kyokasho {
  font-family: uddigikyokasho-pro, 'uddigikyokasho-pro', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kyokasho b {
  font-family: fot-udmincho-pr6n, fot-udkakugo-large-pr6n, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.mincho {
  font-family: fot-udmincho-pr6n, fot-udkakugo-large-pr6n, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.sic-rusk {
  font-family: 'sicrusk', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kakugoc80 {
  font-family: fot-udkakugoc80-pro, 'fot-udkakugoc80-pro', sans-serif;
  font-weight: 700;
  font-style: normal;
}

.kakugoc60 {
  font-family: fot-udkakugoc60-pro, ' fot-udkakugoc60-pro', sans-serif;
  font-weight: 700;
  font-style: normal;
}

.join-button {
  color: #ffffff;
  font-size: 32px;
  line-height: 75px;
  max-width: 390px;
  width: calc(100% - 32px);
  height: 75px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: unset;
}

.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-text {
  line-height: 32px !important;
}

.text-sm {
  font-size: 14px;
  line-height: 24px;
}

.text-md {
  font-size: 16px;
  line-height: 30px;
}

.text-lg {
  font-size: 20px;
  line-height: 24px;
}

.text-xl {
  font-size: 24px;
  line-height: 32px;
}

.text-2xl {
  font-size: 32px;
  line-height: 40px;
}

.hidden {
  display: inline;
}

@media (min-width: 768px) {
  .hidden {
    display: none;
  }

  .text-sm {
    font-size: 16px;
    line-height: 28px;
  }

  .text-md {
    font-size: 18px;
    line-height: 34px;
  }

  .text-lg {
    font-size: 24px;
    line-height: 28px;
  }

  .text-xl {
    font-size: 28px;
    line-height: 36px;
  }

  .text-2xl {
    font-size: 36px;
    line-height: 44px;
  }
}

.bg-orange {
  background-color: var(--color-accent);
}

.bg-accent {
  background-color: var(--color-accent);
}

.bg-darkblue {
  background-color: #90acba;
}

.bg-lightbrown {
  background-color: #fffbf4;
}

.bg-brown {
  background-color: #e9e3d7;
}

.bg-darkbrown {
  background-color: var(--color-text);
}

.bg-green {
  background-color: var(--color-green);
}

.bg-white {
  background-color: #fff;
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-lightgreen {
  background-color: #e3f1e2;
}

.bg-lightblue {
  background-color: #e2f1f9;
}

.bg-lightorange {
  background-color: #fffbf4;
}

.text-white {
  color: #fff;
}

.text-green {
  color: var(--color-green);
}

.text-base {
  color: var(--color-text);
}

.text-red {
  color: var(--color-red);
}

.cloud-container {
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 20px !important;
}

.bg-cloud {
  position: absolute;
  overflow-x: hidden;
  object-fit: cover;
  z-index: 0;
}

.cloud1 {
  left: 30px;
  position: relative;
  z-index: 2;
  width: 320px;
  height: 200px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cloud1::before {
  content: '';
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('/images/cloud1.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.cloud2 {
  left: -30px;
  position: relative;
  z-index: 2;
  width: 280px;
  height: 200px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cloud2::before {
  content: '';
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('/images/cloud2.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}

.cloud3 {
  left: 30px;
  position: relative;
  z-index: 2;
  width: 340px;
  height: 240px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cloud3::before {
  content: '';
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('/images/cloud3.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}

.cloud4 {
  left: -30px;
  position: relative;
  z-index: 2;
  width: 320px;
  height: 220px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cloud4::before {
  content: '';
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('/images/cloud4.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}

.cloud5 {
  left: 30px;
  position: relative;
  z-index: 2;
  width: 320px;
  height: 180px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cloud5::before {
  content: '';
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('/images/cloud5.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}

.blocks::before {
  content: '';
  left: 0;
  top: -45px;
  position: absolute;
  width: 100%;
  height: 83px;
  background-image: url('/images/blocks.png');
  background-repeat: repeat-x;
  background-position: center;
  z-index: 1;
}

.rain::before {
  content: '';
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('/images/rain.png');
  background-repeat: repeat-x;
  background-position: center;
  z-index: 1;
}

.divider {
  width: 100%;
  height: 20px;
  background-image: url('/images/divider.png');
  background-repeat: repeat-x;
  background-size: contain;
  bottom: 0;
  left: 0;
}

h2.star {
  position: relative;
  display: inline-block;
  padding-left: 48px;
  padding-right: 48px;
  z-index: 10;
  font-size: 36px;
  height: 88px;
}

h2.star::before,
h2.star::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 48px;
  height: 88px;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

h2.star::before {
  left: 12px;
  z-index: -1;
  background-image: url('/images/star-left.png');
}

h2.star::after {
  right: 12px;
  z-index: -1;
  background-image: url('/images/star-right.png');
}

.hilight {
  position: relative;
  display: block;
  z-index: 1;
}

.hilight::after {
  content: '';
  position: absolute;
  left: -16px;
  bottom: -32px;
  width: calc(100% + 32px);
  height: 1.2em;
  z-index: -1;
  background-image: url('/images/text-hilight.png');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.content-title {
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  height: 64px;
  line-height: 64px !important;
  text-align: center;
}

.fukidashi {
  position: relative;
  z-index: 2;
}

.fukidashi::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 80px;
  z-index: 1;
  background-image: url('/images/fukidashi.png');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.content-container {
  padding: 16px;
  display: flex;
  gap: 12px;
  padding-top: 32px;
}

.active-container {
  width: 100%;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: start;
  flex-direction: column;
  border-radius: 16px;
}

.container {
  display: flex;
  gap: 32px;
  flex-direction: column;
  padding: 16px;
  justify-content: center;
}

.qr-container {
  display: flex;
  gap: 32px;
  flex-direction: column;
  padding: 16px;
  justify-content: center;
}

.cloud-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.container-item {
  width: 100%;
  position: relative;
  max-width: 768px;
  margin: 0 auto;
}

.cloud-item {
  width: 100%;
  position: relative;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-item2 {
  width: 100%;
  position: relative;
  max-width: 768px;
  margin: 0 auto;
}

.dekoboko {
  font-size: 48px;
  line-height: 1.5;
}

.no {
  font-size: 32px;
  margin: 0 -6px;
}

.boys-image {
  position: absolute;
  bottom: -30px;
  right: -16px;
  width: 100px;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: 1;
}

.girl-image {
  position: absolute;
  bottom: -30px;
  right: -16px;
  width: 80px;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: 1;
}

.girl2-image {
  position: absolute;
  bottom: -30px;
  right: -16px;
  width: 80px;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: 1;
}

.gril-3-image {
  position: absolute;
  bottom: -30px;
  right: -16px;
  width: 80px;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: 1;
}

.girls-image {
  position: absolute;
  bottom: -30px;
  right: -16px;
  width: 100px;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: 1;
}

.tree-image {
  position: absolute;
  bottom: -26px;
  right: 14px;
  width: 24px;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: 1;
}

.tree2-image {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 36px;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: 1;
}

.balloon-image {
  position: absolute;
  top: 40px;
  right: 0px;
  width: 40%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: 1;
}

.balloon2-image {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 40%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: 1;
}

.qr-image {
  width: 100px;
}

@media (min-width: 640px) {
  .cloud1 {
    left: 0;
  }

  .cloud2 {
    left: 0;
  }

  .cloud3 {
    left: 0;
  }

  .cloud4 {
    left: 0;
  }

  .cloud5 {
    left: 0;
  }
}

@media (min-width: 768px) {
  .qr-container {
    width: 100%;
    display: flex;
    gap: 32px;
    flex-direction: row;
    padding: 16px;
    justify-content: center;
  }

  .qr-image {
    width: 120px;
  }

  .container {
    max-width: 1064px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .cloud-container {
    max-width: 1064px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dekoboko {
    font-size: 64px;
  }

  .no {
    font-size: 48px;
    margin: 0 -12px;
  }
}

@media (min-width: 768px) {
  .container-item {
    max-width: 768px;
    width: 100%s;
  }
}

@media (min-width: 1080px) {
  .tree-image {
    bottom: 20px;
    right: 24px;
    width: 36px;
  }

  .tree2-image {
    bottom: 36px;
    right: -16px;
    width: 48px;
  }

  .boys-image {
    bottom: -40px;
    right: -16px;
    width: 100px;
  }

  .girl-image {
    bottom: -40px;
    right: -16px;
    width: 100px;
  }

  .girl2-image {
    bottom: -40px;
    right: -16px;
    width: 100px;
  }

  .girl3-image {
    bottom: -40px;
    right: -16px;
    width: 100px;
  }

  .girls-image {
    bottom: -42px;
    right: -16px;
    width: 132px;
  }

  .girl-image {
    bottom: -42px;
    right: -16px;
    width: 132px;
  }

  .container-item {
    max-width: 500px;
    width: 100%;
    margin: 0;
  }

  .container-item2 {
    max-width: 1064px;
    margin: 0 auto;
  }
}

.books {
  width: 100%;
  height: 36px;
  background-image: url('/images/books.png');
  background-repeat: repeat-x;
  background-size: contain;
  position: absolute;
  bottom: 0;
  left: 0;
}
