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

* {
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  font-family: "Zen Kaku Gothic New", Helvetica, sans-serif;
}

#pansyna-hero-desktop {
  display: none;
  /* position: absolute;
  top: 0;
  left: 0;
  z-index: 100; */
}

#pansyna-hero-mobile {
  width: 100vw;
  /* position: absolute;
  top: 0;
  left: 0;
  z-index: 100; */
}

/* #background-block {
  background-color: #fffbc4;
  width: 100vw;
  height: 100vh;
  z-index: -100;
} */

.float-menu {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.float-icon {
  width: 95px;
  height: 95px;
  padding: 10px;
  transition: transform 0.2s;
}

.float-icon:hover {
  transform: scale(1.1);
}

.float-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 4px white);
}

.icon-desktop {
  display: none;
}

.icon-mobile {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-container {
  margin-top: 10px;
  background-color: #fafe8e;
  padding-bottom: 10px;
}

.heading-container {
  width: 100vw;
  margin: 50px 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 10px;
}

.section-title-english {
  font-size: 1.4rem;
  font-weight: 400;
}

.section-title-japanese {
  font-size: 1.7rem;
  font-weight: 400;
}

#info-container {
  width: 90vw;
  margin: 20px auto;
  height: auto;
  background-color: white;
  text-align: center;
  padding: 15px;
  position: relative;
  border-radius: 25px;
}

#info-heading {
  width: 100%;
  font-size: 1.3rem;
  padding: 20px 0 0;
  font-weight: 500;
}

#info-paragraph {
  margin: 30px auto 10px;
  font-size: 1.1rem;
  text-align: center;
}

#info-subheading {
  padding-top: 30px;
  padding-bottom: 20px;
  font-weight: 500;
  font-size: 1.3rem;
}

#design-festa-info {
  display: flex;
  justify-content: center;
}

#design-festa-info-container {
  text-align: left;
  margin-bottom: 20px;
}

#design-festa-info,
.info-label,
.info-value {
  font-family: "Zenkaku New Gothic", Helvetica, sans-serif;
  font-size: 1.1rem;
}

.info-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 30px;
  margin-bottom: 5px;
  align-items: baseline;
}

.info-label {
  font-weight: 400;
}

.info-value {
  font-weight: 400;
}

#design-festa-link {
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-family: "Zenkaku New Gothic", Helvetica, sans-serif;
}

#map-image-container {
  width: 60%;
  margin: 50px auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#map-tag {
  text-align: left;
  margin-bottom: 10px;
}

#pantaro-news {
  position: absolute;
  width: 20vw;
  height: auto;
  bottom: 30px;
  left: -5px;
}

#pansyna-news {
  position: absolute;
  width: 20vw;
  height: auto;
  bottom: 30px;
  right: -10px;
}

#story-book-container {
  width: 90vw;
  max-width: 700px;
  margin: 20px auto;
  min-height: 550px;
  background: white;
  border-radius: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 5vw;
  box-sizing: border-box;
}

.story-text {
  width: 90vw;
  margin: 10px 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  padding-bottom: 10px;
  z-index: 10;
}

.story-sentence {
  padding-bottom: 8px;
}

.mobile-br {
  display: inline;
}

.mobile-br-space {
  display: block;
  height: 8px;
}

.story-text-last-paragraph {
  width: 90%;
  margin: 10px auto;
  text-align: center;
  font-size: 1.1rem;
  padding-bottom: 80px;
}

.story-text.story-first-paragraph {
  padding-top: 0;
}

.story-text p {
  margin: 0;
}

#churiko-story {
  position: absolute;
  width: 110px;
  height: auto;
  top: 30%;
  left: -40px;
}

#pansyna-pantaro-story {
  position: absolute;
  width: 120px;
  height: auto;
  bottom: -10px;
  right: -15px;
}

#pansyna-pantaro-story-2 {
  width: 200px;
  padding-top: 15px;
  margin: 20px auto;
  height: auto;
}

.section-container.character-section {
  margin: 0;
  padding: 0;
}

.heading-container.character-section {
  margin: 0;
  padding: 0;
}

#characters-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
}

.character {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px 10px;
}

#pantaro-grid {
  grid-row: 2;
}

#pansyna-grid {
  grid-row: 1;
}

.character-name {
  padding-top: 20px;
  font-weight: 500;
  font-size: 1.3rem;
}

.character-icon {
  width: 60%;
}

.character-description {
  padding-top: 10px;
  font-weight: 400;
  font-size: 1.2rem;
}

#pansyna-characters {
  padding-top: 60px;
}

#profile-title {
  padding-top: 30px;
  font-weight: 400;
  text-align: center;
}

#profile-container {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

#profile-icon {
  width: 50vw;
  height: 50vw;
  padding: 30px;
}

#profile-text {
  padding-top: 20px;
  max-width: 80vw;
}

#profile-text-container {
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#profile-name-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

#nanny-instagram-icon {
  width: 30px;
  height: auto;
  transition: transform 0.2s;
}

#nanny-instagram-icon:hover {
  transform: scale(1.1);
}

footer {
  background-color: #b65cff;
  color: white;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 50px 20vw 30px;
  font-size: 14px;
}

.footer-text {
  width: 90vw;
  text-align: left;
}

.padding {
  width: 100vw;
  height: 180px;
}

@media (min-width: 768px) {
  #pansyna-hero-desktop {
    display: block;
    width: 100vw;
  }

  #pansyna-hero-mobile {
    display: none;
  }

  .float-icon {
    width: 130px;
    height: 130px;
    padding: 14px;
  }

  .icon-desktop {
    display: block;
  }

  .icon-mobile {
    display: none;
  }

  .section-container {
    margin-top: 100px;
    padding-bottom: 100px;
  }

  .heading-container {
    margin: 20px 0 50px;
    padding-top: 50px;
  }

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

  .section-title-japanese {
    font-size: 2.5rem;
  }

  #info-container {
    width: 70vw;
  }

  #info-heading {
    padding: 40px 0 0;
    font-size: 2.3rem;
  }

  #info-paragraph {
    width: 50%;
  }

  #map-image-container {
    width: 40%;
  }

  #pantaro-news {
    width: 16vw;
    position: absolute;
    height: auto;
    bottom: 30px;
    left: -30px;
  }

  #pansyna-news {
    position: absolute;
    width: 16vw;
    height: auto;
    bottom: 30px;
    right: -30px;
  }

  #story-book-container {
    margin: 30px auto 5px;
    padding: 15px;
    background: url("book.png") center/100% 100% no-repeat;
    background-color: transparent;
    width: 700px;
    height: auto;
    border-radius: 0;
    position: relative;
  }

  .story-text.story-first-paragraph {
    padding-top: 80px;
  }

  .story-text {
    width: 70%;
    font-size: 1.1rem;
    margin: 10px auto;
    text-align: center;
  }

  .story-sentence {
    padding-bottom: 0px;
  }

  .mobile-br {
    display: none;
  }

  .mobile-br-space {
    display: none;
  }

  #churiko-story {
    width: 160px;
    top: 0;
    left: -100px;
  }

  #pansyna-pantaro-story {
    width: 200px;
    bottom: 150px;
    right: -50px;
  }

  #pansyna-pantaro-story-2 {
    width: 15vw;
    margin: 0px 40vw 10px 40vw;
    height: auto;
  }

  #story-text-second-last-para {
    padding: auto;
    margin: auto;
    width: 110%;
  }

  .story-text-last-paragraph {
    font-size: 1.3rem;
    padding-bottom: 5px;
  }

  #characters-container {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 50%;
    margin: 0 auto;
  }

  .character {
    padding: 30px 10px;
  }

  .character-icon {
    width: 250px;
  }

  #pantaro-grid {
    grid-row: auto;
    grid-column: 1;
  }
  #pansyna-grid {
    grid-row: auto;
    grid-column: 2;
  }

  #profile-title {
    padding-top: 100px;
    padding-left: 30px;
    text-align: left;
  }

  #profile-container {
    flex-direction: row;
    margin-top: 0px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #profile-icon {
    width: 300px;
    height: auto;
  }

  #profile-text-container {
    margin-top: 150px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    align-items: flex-start;
  }

  #profile-text-title {
    width: auto;
    padding-left: 60px;
    font-size: 1rem;
  }

  #profile-text {
    width: 42vw;
    margin: 0 auto;
    padding: 30px 60px;
    font-size: 1rem;
  }

  .footer-text {
    width: 60vw;
    text-align: center;
  }
}

@media (min-width: 1250px) {
  .float-menu {
    left: 120px;
    bottom: 40px;
    transform: none;
  }
}
