:root {
  --light-gray: #F5F2EC;
  --gray: #ccc;
  --black: #666;
  --green:#45B680;
  --dark-brown: #6D4C41;
  --white: #FFF;
  --yellow: #EDFF8A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 14px;
  color: #FFF;
  font-feature-settings: "palt";
  line-height: 1.6;
  text-align: center;
  color: var(--white);
}

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

.container {
  display: flex;
  justify-content: center;
  background: var(--green);
}

.main {
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.main-visual {
  position: relative;
  text-align: center;
  padding-top: 40px;
}

.main-visual h1 {
  width: 100%;
  padding: 38px 0 26px;
  text-align: center;
}

.content {
  display: flex;
  flex-direction: column;
  padding: 40px 0;
}

.content__title {
  color: var(--white);
  font-size: 34px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* feeling */
#feeling {
  padding-top: 72px;
}
#feeling h2 {
  margin-bottom: 44px;
}
.feeling-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  width: fit-content;
  height: 400px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.feeling-list li {
  position: relative;
  padding: 50px 0 0;
  width: 165px;
  height: 165px;
  text-align: center;
  color: white;
  font-size: 20px;
  text-align: center;
}
.feeling-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 165px;
  height: 165px;
  z-index: -1;
}
.feeling-list li.s-left::before {background: url("../img/circle-arc-left.svg") no-repeat center/contain;}
.feeling-list li.s-right::before {background: url("../img/circle-arc-right.svg") no-repeat center/contain;}
.feeling-list li:nth-child(1) {transform: translate(-70px, -20px);}
.feeling-list li:nth-child(2) {transform: translate(70px, -50px);}
.feeling-list li:nth-child(3) {transform: translate(-50px, -60px);}

/* tips */
#tips {
  padding: 0 0 100px;
  border-bottom: 1px solid #FFF;
  background: url("../img/bg_kangaroo.webp") no-repeat;
  background-position: calc(100% + 60px) bottom;
  background-size: 198px 70px;
  padding-bottom: 120px;
}
#tips h2 {
  margin-bottom: 44px;
}
#tips p {
  line-height: 2.5;
}
#tips p.lifedesign {
  line-height: 2;
  margin: 20px 0;
}
#tips strong.lifedesign,
#intro strong.lifedesign,
#chapters strong.free {
  font-size:30px;
  color: var(--yellow);
}


/* intor movie */
#intro {
  text-align: center;
  padding: 80px 0 100px;
  border-bottom: 1px solid #FFF;
  background: url("../img/bg_kangaroo.webp") no-repeat;
  background-position: calc(100% + 20px) bottom;
  background-size: 198px 70px;
  padding-bottom: 120px;
} 
#intro h3 {
  font-size: 18px;
  margin-bottom: 20px;
}
#intro h3 strong{
  font-size:24px;
  border-bottom: 1px solid #fff;
}
.content__title.movie {
  font-size: 20px;
  margin: 0 0 50px;
}
.content__title.movie::before {
  content: "";
  display: block;
  height: 20px;
  margin: 0 0 34px;
  background: url("../img/bg-title-sample-top.png") no-repeat center/contain;
  background-size: 81px 20px;
}
.content__title.movie::after {
  content: "";
  display: block;
  height: 20px;
  margin: 34px 0 0;
  background: url("../img/bg-title-sample-bottom.png") no-repeat center/contain;
  background-size: 81px 20px;
}
.movie-no1 {
  width: 320px;
  padding-left: 20px;
  margin: 0 auto;
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.movie-samune img {
  width: 100%;
}
.speech {
  position: absolute;
  top: -10px;
  left: -15px;
  width: 45%;
  height: auto;
}
#intro p {
  line-height: 2.5;
  line-height: 2;
  margin: 20px 0 0 0;
}
#intro span {
  color: var(--yellow);
}

/* chapters */
#chapters {
  text-align: center;
  padding: 80px 0 160px;
  border-bottom: 1px solid #FFF;
  background: url("../img/bg_kangaroo.webp") no-repeat;
  background-position: calc(100% + -20px) bottom;
  background-size: 198px 70px;
}
#chapters h2 {
  margin-bottom: 10px;
}
ul.chapter-list {
  padding: 60px 0 50px;
  background: no-repeat url(../img/bg-line-allmovie.png) 40px center;
  background-size: 3px 406px;
}
ul.chapter-list li {
  position: relative;
  height: 87px;
  padding:20px 0 20px 66px;
  color: white;
  margin: 0px 25px 10px 0;
  text-align: left;
  background-size: 141px 87px;
  background-position: right top;
  background-repeat: no-repeat;
}
ul.chapter-list li span {font-size:22px;}
ul.chapter-list li span.lf{font-size: 16.5px;}
ul.chapter-list li::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 38px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
}

ul.chapter-list li:nth-child(1) {background-image: url(../img/img-allmovie-01.png);}
ul.chapter-list li:nth-child(2) {background-image: url(../img/img-allmovie-02.png);}
ul.chapter-list li:nth-child(3) {background-image: url(../img/img-allmovie-03.png);}
ul.chapter-list li:nth-child(4) {background-image: url(../img/img-allmovie-04.png);}
ul.chapter-list li:nth-child(5) {background-image: url(../img/img-allmovie-05.png);}

#chapters .note {
  margin-bottom: 10px;
}


/* voices */
#voices{
  border-bottom: 1px solid #FFF;
  background: url("../img/bg_kangaroo.webp") no-repeat;
  background-position: calc(100% + -80px) bottom;
  background-size: 198px 70px;
  padding-top: 80px;
  padding-bottom: 140px;
}
#voices h2{
  margin-bottom: 24px;
}
.feedback-list {
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feedback-list li {
  background-color: white;
  color: var(--green);
  border-radius: 50px;
  padding: 35px 40px;
  margin: 0 auto;
  width: 80%;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  box-shadow: none;
  text-align: left;
}
.feedback-list span {
  display: block;
  color: var(--black);
  font-size: 14px;
  text-align: right;
  margin-top: 10px;
}


/* faq */
#faq{
  border-bottom: 1px solid #FFF;
  background: url("../img/bg_kangaroo.webp") no-repeat;
  background-position: calc(100% + -120px) bottom;
  background-size: 198px 70px;
  padding-top: 80px;
  padding-bottom: 140px;
}
#faq h2 {
  margin-bottom: 44px;
}
.faq__accodion {
  padding: 8px 20px 0;
}
.faq__item {
  border-bottom: 1px dotted #ffffff;
  padding: 12px 0;
}
.faq__question {
  cursor: pointer;
  position: relative;
  padding-right: 28px;
  margin: 10px 0;
  font-size: 16px;
  text-align: left;
}
.faq__question::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease-out;
  background: url(../img/circle-down.svg) no-repeat center center;
  width: 28px;
  height: 28px;
}
.faq__item.active .faq__question::after {
  transform: translateY(-50%) rotate(180deg);
}
.faq__answer {
  font-family: sans-serif;
  font-weight: normal;
  text-align: left;
  max-height: 0;
  overflow: hidden;
  line-height: 1.8;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq__item.active .faq__answer {
  max-height: auto;
}
.faq__accodion .note {
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  margin: 20px 0;
}


/* city-info */
#city-info {
  text-align: center;
}
#city-info h2 {
  font-size: 24px;
  margin-top: 40px;
}
#city-info .note {
  font-size: 11px;
  line-height: 2;
  text-align: center;
  margin: 20px 0 30px;
}
#city-info img {
  width: 100%;
}

/* push */
#push {
  background: url("../img/bg_push.webp") no-repeat left bottom;
  padding-bottom: 300px;
  background-size: 375px 252px;
}
#push h2 {
  margin-bottom: 50px;
}


/* footer */
footer {
  font-family: sans-serif;
  padding: 40px;
}
footer dl {
  background: #fff;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
footer dt {
  background-color: #33855E;
  color: #FFF;
  font-size:20px;
  padding: 10px 0;
}
footer dd {
  padding: 20px 0;
}
.contact p {
  font-size: 14px;
}

/* modules */
.cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--dark-brown);
  border-radius: 36px;
  box-shadow: 0px 4px 0px 0px #8b8b8b;
  text-align: center;
  padding: 16px 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto;
  width: 300px;
}

.cta-btn::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #fff;
  border-right: 0;
  margin-top: 2px;
}

footer .cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: #165A3A;
  border-radius: 36px;
  box-shadow: 0px 4px 0px 0px #8b8b8b;
  text-align: center;
  padding: 16px 24px;
  color: #fff;
  font-size: 16px;
  margin: 20px 20px 10px;
  width: auto;
}
footer .cta-btn::after {
  display: none;
}

.logo {
  display: block;
  margin: 0 auto;
  padding: 24px 0;
}

.copyright {
  color: var(--white);
}

.sp-footer {
  font-size: 10px;
  text-align: center;
  padding-bottom: 30px;
  color: var(--black);
}

.left-block,
.right-block {
  display: none;
}

/* fade interaction */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s, transform 1s;
}

.fade.active {
  opacity: 1;
  transform: translateY(0px);
}

@media screen and (min-width: 640px) {
  .main {
    max-width: 375px;
    margin: 0 auto;
  }

  .left-block {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 40px;
    background: var(--light-gray);
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
  }

  .header__logo {
    width: 88px;
  }

  .menu {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-top: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    border-left: 1px solid var(--green);
  }

  .menu__anchor {
    font-weight: 600;
    display: flex;
    flex-direction: column;
  }

  .menu__anchor li {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 30px;
    border-top: 1px solid var(--gray);
  }

  .menu__anchor li:last-of-type {
    border-bottom: 1px solid var(--gray);
  }

  .menu__anchor li::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid var(--green);
    border-right: 0;
  }
  .menu__anchor a {
    color: var(--green);
  }

  .float-btn {
    right: 32px;
    bottom: 32px;
    margin: 0;
    width: 120px;
    height: 120px;
    font-size: 20px;
  }

  .right-block {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .right-block {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    flex: 1;
    padding: 40px;
    background: var(--light-gray);
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
  }

   .right-block__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-top: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    border-right: 1px solid var(--green);
  }

  .right-block__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--green);
    text-align: center;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 8px;
    border: 1px dashed var(--green);
    padding: 20px 20px 16px;
  }

  .note {
    margin-bottom: auto;
    font-size: 16px;
    line-height: 1.3;
  }
}