/*
 * ポルト LP のスタイル
 *
 * 旧 Nuxt 版（app/ の SCSS）の見た目をそのまま再現している。
 * 旧版は余白を「PC: Npx / タブレット: N * 0.8px / スマホ: N / 375 * 100vw」で決めていたため、
 * 下のメディアクエリでも同じ換算の値を使っている。
 *
 * ブレークポイント
 *   スマホ:     〜767px
 *   タブレット: 768px〜1239px
 *   PC:         1240px〜
 */

/* ベース ---------------------------------------- */
html,
body,
h1,
h2,
p,
ul,
li {
  padding: 0;
  margin: 0;
  font-size: 100%;
  font-weight: normal;
}

:root,
body {
  font-family: 'Noto Sans JP', 'Yu Gothic', YuGothic, sans-serif;
  font-size: 15px;
  line-height: 2;
  color: #000;
  letter-spacing: 0.15em;
  background-color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  vertical-align: bottom;
}

ul {
  list-style: none;
}

::selection {
  color: #000;
  background-color: #aaa;
}

.container {
  width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.textLink {
  color: #00a0ff;
}

/* 全体のレイアウト（フッターを画面下端に寄せる） ---------------------------------------- */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1;
}

/* ヘッダー ---------------------------------------- */
.header {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 5vw;
  background-color: #fff;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
}

.header__logo {
  display: inline-block;
  height: 60%;
}

.header__logo img {
  height: 100%;
}

/* メインビジュアル ---------------------------------------- */
.mainvisual {
  padding: 150px 0 70px;
  color: #00a0ff;
  text-align: center;
  background: #fff url('/images/home_key_pc.png') center top / cover no-repeat;
}

.mainvisual__tagline {
  margin-bottom: 40px;
  font-size: 2.2rem;
  font-weight: 300;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2em;
}

.mainvisual__logo,
.mainvisual__lead {
  margin-bottom: 40px;
}

.mainvisual__logo img {
  width: 180px;
}

/* サービス終了のお知らせ ---------------------------------------- */
.notice {
  padding: 40px 0;
  text-align: center;
}

.notice p {
  margin-bottom: 30px;
  font-weight: bold;
}

/* 404 ページ ---------------------------------------- */
.notFound {
  text-align: center;
}

.notFound__title {
  margin: 100px 0;
  font-size: 1.6rem;
  font-weight: 300;
}

.notFound__message {
  margin-bottom: 120px;
}

.notFound__button {
  display: block;
  max-width: 360px;
  padding: 20px 0;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
  letter-spacing: 0.1em;
  border: 1px solid #999;
  border-radius: 5px;
}

.notFound__logo {
  margin: 140px 0;
}

.notFound__logo img {
  width: 200px;
}

/* フッター ---------------------------------------- */
.footer {
  padding: 80px 0 40px;
  color: #fff;
  background-color: #000;
}

.footer__inner {
  display: flex;
  width: 1080px;
  margin: 0 auto;
}

.footer__column {
  margin-bottom: 50px;
}

.footer__column:first-child {
  margin-right: 60px;
}

.footer__title {
  margin-bottom: 20px;
}

.footer__links li {
  font-size: 0.8rem;
  color: #ddd;
}

.footer__links li::before {
  content: '・ ';
}

.footer__copyright {
  font-size: 0.7rem;
  color: #555;
  text-align: center;
}

/* タブレット ---------------------------------------- */
@media (min-width: 768px) and (max-width: 1239px) {
  .container,
  .footer__inner {
    width: 720px;
  }

  .mainvisual {
    padding: 120px 0 56px;
  }

  .mainvisual__tagline,
  .mainvisual__logo,
  .mainvisual__lead {
    margin-bottom: 32px;
  }

  .notice {
    padding: 32px 0;
  }

  .notice p {
    margin-bottom: 24px;
  }

  .notFound__title {
    margin: 80px 0;
  }

  .notFound__message {
    margin-bottom: 96px;
  }

  .notFound__button {
    padding: 16px 0;
  }

  .notFound__logo {
    margin: 112px 0;
  }

  .footer {
    padding: 64px 0 32px;
  }

  .footer__column {
    margin-bottom: 40px;
  }

  .footer__title {
    margin-bottom: 16px;
  }
}

/* スマホ ---------------------------------------- */
@media (max-width: 767px) {
  :root,
  body {
    font-size: 14px;
  }

  .container {
    width: 90vw;
  }

  .mainvisual {
    padding: 40vw 0 5.333vw;
    background-image: url('/images/home_key.png');
  }

  .mainvisual__tagline,
  .mainvisual__logo,
  .mainvisual__lead {
    margin-bottom: 10.667vw;
  }

  .notice {
    padding: 10.667vw 0;
  }

  .notice p {
    margin-bottom: 8vw;
  }

  .notFound__title {
    margin: 16vw 0;
  }

  .notFound__message {
    margin-bottom: 16vw;
  }

  .notFound__button {
    max-width: none;
    padding: 2.667vw 0;
  }

  .notFound__logo {
    margin: 21.333vw 0;
  }

  .notFound__logo img {
    width: 47vw;
  }

  /* スマホではフッターのリンクを画面幅いっぱいの罫線付きリストにする */
  .footer {
    padding: 13.333vw 0 10.667vw;
  }

  .footer__inner {
    display: block;
    width: 100%;
  }

  .footer__column {
    margin-bottom: 8vw;
  }

  .footer__column:first-child {
    margin-right: 0;
  }

  .footer__title {
    padding: 0 5vw;
    margin-bottom: 5.333vw;
  }

  .footer__links li {
    border-bottom: 1px solid #555;
  }

  .footer__links li:first-child {
    border-top: 1px solid #555;
  }

  .footer__links li::before {
    content: none;
  }

  .footer__links a {
    display: block;
    padding: 2.667vw 5vw;
  }
}
