@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&family=Noto+Sans+JP:wght@100..900&display=swap');

/* * {
  outline: 2px solid blue;
} */

html {
  font-size: 30px;
}

body {
  background-image: url(../img/portal-bg.webp);
  font-family: "hiragino-kaku-gothic-pron", "Noto Sans JP", sans-serif;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

#wrapper {}

.logo {
  width: 470px;
  margin: 0 auto;
  text-align: center;
  display: block;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 40px;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  text-shadow:
      0 0 5px #fff,
      0 0 6px #fff;
}

.sns-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.sns-icons svg {
  width: 100px;
  height: 100px;
  filter: drop-shadow(1px 1px 5px rgba(255, 255, 255, 0.7));
}

.link-box {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 15px;
  margin-top: 15px;
  margin-right: auto;
  margin-bottom: 15px;
  margin-left: auto;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: #000;
}

.link-box img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-right: 12px;
}

.link-text {
  text-align: left;
}

.link-text strong {
  display: block;
  font-size: 28px;
  font-weight: bold;

}

.link-text p {
  font-size: 24px;
  color: #333;
}

footer {
  color: #fff;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 16px;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media screen and (min-width:640px) {
  #wrapper {
    max-width: 640px;
    margin: 0 auto;
  }
}

@media screen and (max-width:640px) {

  .logo {
    width: calc(470 / 640 * 100vw);
    margin: 0 auto;
    text-align: center;
    margin-bottom: calc(15 / 640 * 100vw);
  }

  .subtitle {
    font-size: calc(40 / 640 * 100vw);
    margin-bottom: calc(20 / 640 * 100vw);
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    text-shadow:
      0 0 5px #fff,
      0 0 6px #fff;
  }

  .sns-icons {
    display: flex;
    justify-content: center;
    gap: calc(20 / 640 * 100vw);
    margin-bottom: calc(10 / 640 * 100vw);
  }

  .sns-icons svg {
    width: calc(100 / 640 * 100vw);
    height: calc(100 / 640 * 100vw);
    filter: drop-shadow(1px 1px 5px rgba(255, 255, 255, 0.7));
  }

  .link-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: calc(14 / 640 * 100vw);
    padding: calc(15 / 640 * 100vw);
    margin-top: calc(15 / 640 * 100vw);
    margin-right: auto;
    margin-bottom: calc(15 / 640 * 100vw);
    margin-left: auto;
    width: 100%;
    max-width: calc(600 / 640 * 100vw);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #000;
  }

  .link-box img {
    width: calc(100 / 640 * 100vw);
    height: calc(100 / 640 * 100vw);
    border-radius: calc(8 / 640 * 100vw);
    margin-right: calc(12 / 640 * 100vw);
  }

  .link-text {
    text-align: left;
  }

  .link-text strong {
    display: block;
    font-size: calc(28 / 640 * 100vw);
    font-weight: bold;

  }

  .link-text p {
    font-size: calc(24 / 640 * 100vw);
    color: #333;
  }

  footer {
    color: #fff;
    text-align: center;
    padding-top: calc(20 / 640 * 100vw);
    padding-bottom: calc(20 / 640 * 100vw);
    font-size: calc(16 / 640 * 100vw);
    margin-top: calc(30 / 640 * 100vw);
    margin-bottom: calc(30 / 640 * 100vw);
  }

}