@charset "UTF-8";
@font-face {
  font-family: 'pixel Mplus12';
  font-weight: normal;
  src: url("../fonts/PixelMplus12-Regular.ttf") format("truetype");
}

@font-face {
  font-family: 'pixel Mplus12';
  font-weight: bold;
  src: url("../fonts/PixelMplus12-Bold.ttf") format("truetype");
}

body {
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: "pixel Mplus12", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: #fff;
  text-decoration: none;
  transition: all 0.4s ease;
  outline: none;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100svh;
}

/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 10px;
  background: #fff;
}

.header a {
  display: block;
}

.logo-glico {
  width: 60px;
}

.logo-pocky {
  width: 72px;
}

@media screen and (min-width: 768px) {
  .header {
    height: 80px;
    padding: 10px 68px 10px 85px;
  }

  .logo-glico {
    width: 85px;
  }

  .logo-pocky {
    width: 120px;
  }
}


/* contents */
.contents {
  display: grid;
  place-content: center;
  flex-grow: 1;
}

.end-message {
  padding: 20px 12px;
  background: #e70012;
}

.end-message-text {
  margin: 0;
  font-size: clamp(12px, 4.26vw, 16px);
  line-height: 2;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .end-message {
    padding: 40px;
  }

  .end-message-text {
    font-size: 20px;
  }
}


/* footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 25px 15px;
}

.logo-happiness {
  width: 133px;
}

@media screen and (min-width: 768px) {
  .footer {
    padding: 30px;
  }

  .logo-happiness {
    width: 266px;
  }
}