/* header */
header {
  z-index: 5;
}

.header_nav {
  margin-top: 32px;
  margin-left: 32px;
}
.header_logo {
  margin-top: 32px;
}
.header_logo img {
  width: 165px;
}

@media (max-width: 1280px) and (min-width: 641px) {
  .header_nav {
    margin-top: 32px;
    margin-left: 28px;
  }
}
@media (max-width: 640px) {
  .header_nav {
    margin-top: 29px;
    margin-left: 8px;
  }
  .header_logo img {
    width: 150px;
  }
}

/* Initial Screen */
.initial-screen {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
}
.initial-screen div {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 25;
}

.initial-screen img {
  width: 400px;
}
@media (max-width: 640px) {
  .initial-screen img {
    width: 240px;
  }
}

/* menu */
.menu {
  width: 607px;
  transition: 0.4s;
  transform: translatex(-200%);
  background-color: #000;
  color: #fff;
  z-index: 10;
}
.menu.active {
  transform: translatex(0);
}
.menu ul {
  margin-left: 147px;
}
.menu li {
  margin-top: 56px;
}
.menu li img {
  height: 52px;
}
@media (max-width: 1280px) {
  .menu {
    width: 100%;
  }
}
@media (max-width: 1280px) and (min-width: 641px) {
  .menu ul {
    margin-left: 228px;
  }
}
@media (max-width: 640px) {
  .menu ul {
    margin-top: 80px;
    margin-left: 42px;
  }
  .menu li {
    margin-top: 48px;
  }
  .menu li img {
    height: 40px;
  }
}

/* key visual */
.kv-pc {
  display: block;
}
.kv-tablet {
  display: none;
}
.kv-sp {
  display: none;
}
@media (max-width: 1280px) and (min-width: 641px) {
  .kv-pc {
    display: none;
  }
  .kv-tablet {
    display: block;
  }
  .kv-sp {
    display: none;
  }
}
@media (max-width: 640px) {
  .kv-pc {
    display: none;
  }
  .kv-tablet {
    display: none;
  }
  .kv-sp {
    display: block;
  }
}

/* what is good pass */
.goodpass-desc {
  width: 558px;
  margin-top: 145px;
}
.goodpass-desc img {
  width: 496px;
}
.goodpass-desc .desc-large {
  margin-top: 56px;
  margin-bottom: 56px;
}

.goodpass-image {
  width: 500px;
  margin-top: 94px;
  margin-left: 59px;
}
.goodpass-image img {
  width: 500px;
}

@media (max-width: 1280px) and (min-width: 641px) {
  .goodpass-desc {
    margin-top: 120px;
  }
  .goodpass-image {
    margin-top: 70px;
    margin-left: 0px;
  }
}
@media (max-width: 640px) {
  .goodpass-desc {
    width: 329px;
    margin-top: 106px;
  }
  .goodpass-desc img {
    width: 319px;
  }
  .goodpass-desc .desc-large {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .goodpass-image {
    margin-top: 48px;
    margin-left: 0px;
  }
  .goodpass-image img {
    width: 296px;
  }
}

/* about app */
.about-app_bg_illust {
  background-image: url('./img/about-app_bg_illust_pc.png');
}
#about-app-desc {
  width: 650px;
}
.app-feature {
  width: 318px;
  padding: 0 27px 0 27px;
}
.app-feature img {
  width: 240px;
}

.bg-app-usage {
  width: 1146px;
  height: 215px;
  margin: 125px auto 0px;
  background-color: white;
  border-radius: 16px;
  padding: 48px 0 48px 0;
}
.app-usage-01 {
  width: 82px;
  position: absolute;
  left: 187px;
  bottom: 15px;
}
.app-usage-02 {
  width: 93px;
  position: absolute;
  left: 79px;
  bottom: 89px;
}
.app-usage-03 {
  width: 280px;
  position: absolute;
  right: 21px;
  bottom: 0px;
}

@media (max-width: 1280px) and (min-width: 641px) {
  .about-app_bg_illust {
    background-image: url('./img/about-app_bg_illust_tablet.png');
  }
  .app-feature {
    width: 330px;
    padding: 0 32px 40px 32px;
  }

  .bg-app-usage {
    width: 607px;
    height: 560px;
    margin: 80px auto 0px;
    padding: 48px 0 300px 0;
  }
  .app-usage-01 {
    position: absolute;
    left: 64px;
    bottom: 15px;
  }
  .app-usage-02 {
    position: absolute;
    left: 450px;
    bottom: 15px;
  }
  .app-usage-03 {
    width: 330px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%);
  }
}
@media (max-width: 640px) {
  .about-app_bg_illust {
    background-image: none;
  }
  #about-app-desc {
    width: 330px;
  }
  .app-feature {
    width: 282px;
    padding: 0 0 48px 0;
  }

  .bg-app-usage {
    width: 330px;
    height: 497px;
    margin: 100px auto 0px;
    padding: 48px 20px 300px 20px;
  }
  .app-usage-01,
  .app-usage-02 {
    display: none;
  }
  .app-usage-03 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%);
  }
}

/* good news */
.news_bg_illust {
  background-image: url('./img/good-news_bg_illust_pc.png');
}
.article-thumnail {
  width: 362px;
  height: 301px;
}
.article-margin-1 {
  margin-right: 30px;
}
.article-margin-2 {
  margin-right: 30px;
}
.article-margin-3 {
  margin-right: 0px;
}

@media (max-width: 1280px) {
  .article-thumnail.hide {
    display: none;
  }
  .article-thumnail {
    width: 330px;
    height: 301px;
  }
}
@media (max-width: 1280px) and (min-width: 641px) {
  .news_bg_illust {
    background-image: url('./img/good-news_bg_illust_tablet.png');
  }
  .article-margin-1 {
    margin-right: 30px;
  }
  .article-margin-2 {
    margin-right: 0px;
  }
  .article-margin-3 {
    margin-top: 30px;
    margin-right: 30px;
  }
}
@media (max-width: 640px) {
  .news_bg_illust {
    background-image: none;
  }
  .article-margin-1 {
    margin-top: 30px;
    margin-right: 0px;
  }
  .article-margin-2 {
    margin-top: 30px;
    margin-right: 0px;
  }
  .article-margin-3 {
    margin-top: 30px;
    margin-right: 0px;
  }
}

/* contact */
.contact_bg_illust {
  background-image: url('./img/contact_bg_illust_pc.png');
}
.img_contact-image {
  width: 358px;
}
@media (max-width: 1280px) and (min-width: 641px) {
  .contact_bg_illust {
    background-image: url('./img/contact_bg_illust_tablet.png');
  }
}
@media (max-width: 640px) {
  .contact_bg_illust {
    background-image: none;
  }
  .img_contact-image {
    width: 330px;
  }
}

/* footer */
.footer_logo_shin-sapporo-area-management {
  margin-top: 117px;
}
.footer_logo_hakuhodo {
  margin-top: 48px;
}
.footer_copyright {
  margin: 80px auto 40px;
  letter-spacing: 0.6px;
}

/* common conponent */
.h2_logo {
  padding: 120px 0 56px;
}

.desc-3xlarge {
  font-size: 38px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 1.9px;
}
.desc-2xlarge {
  font-size: 24px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: 1.2px;
}
.desc-xlarge {
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
}
.desc-large {
  font-weight: 700;
  font-size: 18px;
  line-height: 36px;
  letter-spacing: 1.8px;
}
.desc-normal {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 1.4px;
}
.desc-small {
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.6px;
}
@media (max-width: 1280px) and (min-width: 641px) {
  .desc-xlarge {
    font-size: 24px;
    line-height: 44px;
    letter-spacing: 1.2px;
  }
}
@media (max-width: 640px) {
  .desc-3xlarge {
    font-size: 24px;
    line-height: 44px;
    letter-spacing: 1.2px;
  }
}

.button-normal {
  color: white;
  background-color: black;
  width: 480px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 32px;
  font-size: 16px;
  font-weight: bold;
  fill: #42afe3;
}
.button-small {
  color: white;
  background-color: black;
  width: 320px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  font-size: 14px;
  font-weight: bold;
  fill: #42afe3;
}
@media (max-width: 1280px) and (min-width: 641px) {
  .h2_logo {
    padding: 160px 0 64px;
  }
}
@media (max-width: 640px) {
  .h2_logo {
    padding: 120px 0 64px;
  }
  .button-normal {
    width: 330px;
  }
  #start-app {
    width: 290px;
  }
  .button-small {
    width: 280px;
  }
}

.sp-br {
  display: none;
}
.tablet-br {
  display: none;
}
@media (max-width: 1280px) and (min-width: 641px) {
  .tablet-br {
    display: inline-block;
  }
}
@media (max-width: 640px) {
  .sp-br {
    display: inline-block;
  }
}

.fadeup {
  opacity: 0;
}
.fadeup.active {
  animation: fadeupAnimation;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeupAnimation {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* dialog */
.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  background: #a0d2dc;
  opacity: 0.5;
  display: none;
}
.dialog {
  width: 1146px;
  height: 710px;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  border-radius: 1%;
  display: none;
}
.overlay.open,
.dialog.open {
  display: block;
}
.dialog.open {
  animation: appear 0.5s ease;
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#how-to-start-app {
  width: 500px;
}
#how-to-start-app p:first-child {
  margin-top: 12px;
  margin-bottom: 48px;
}
#how-to-start-app p:last-child {
  margin-bottom: 56px;
}

#step01,
#step02 {
  width: 360px;
}
#next-cursor {
  margin: 0 40px;
}
#next-cursor img:first-child {
  display: inline-block;
}
#next-cursor img:last-child {
  display: none;
}
.image_step01-char {
  height: 37px;
  margin-bottom: 30px;
}
.image_step01-illust {
  width: 185px;
  margin-top: 70px;
  margin-bottom: 28px;
}
.image_step02-char {
  height: 37px;
  margin-bottom: 30px;
}
.image_step02-illust {
  width: 264px;
  margin-top: 58px;
  margin-bottom: 80px;
}
.buttoadd-add-line-friends {
  width: 290px;
}

@media (max-width: 1280px) and (min-width: 641px) {
  .dialog {
    width: 700px;
    height: 640px;
    border-radius: 3%;
  }

  #step01,
  #step02 {
    width: 240px;
  }
  #next-cursor {
    margin: 0 24px;
  }
  .image_step01-char {
    height: 26px;
    margin-bottom: 24px;
  }
  .image_step01-illust {
    width: 143px;
    margin-top: 41px;
    margin-bottom: 31px;
  }
  .image_step02-char {
    height: 26px;
    margin-bottom: 24px;
  }
  .image_step02-illust {
    width: 240px;
    margin-top: 36px;
  }
  .buttoadd-add-line-friends {
    width: 240px;
  }
}
@media (max-width: 640px) {
  .dialog {
    width: 350px;
    height: 656px;
    border-radius: 3%;
    overflow-y: scroll;
    scrollbar-width: thin;
  }

  #how-to-start-app {
    width: 310px;
  }
  #how-to-start-app p:first-child {
    margin-top: 8px;
    margin-bottom: 32px;
  }
  #how-to-start-app p:last-child {
    margin-bottom: 40px;
  }

  #step01,
  #step02 {
    width: 290px;
    margin: 0 35px;
  }
  #next-cursor {
    margin: 24px 0;
  }
  #next-cursor img:first-child {
    display: none;
  }
  #next-cursor img:last-child {
    display: inline-block;
  }
  .image_step01-char {
    height: 26px;
    margin-bottom: 24px;
  }
  .image_step01-illust {
    width: 185px;
    margin-top: 32px;
    margin-bottom: 31px;
  }
  .image_step02-char {
    height: 26px;
    margin-bottom: 24px;
  }
  .image_step02-illust {
    width: 264px;
    margin-top: 32px;
  }
}
