@charset "UTF-8";

/* 共通 */

html {
  font-size: 100%;
}

body {
  font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
}

.policy {
  list-style: none;
}

a {
  text-decoration: none;
  color: #FFFFFF;
}

img {
  max-width: 100%;
}

.main-wrapper {
  padding: 0 5% 2% 5%;
}

/* 共通のコンテンツ幅設定クラス */
.wrapper {
  max-width: 1800px;
  margin: 0 auto;
}

.header {
  margin: 0 auto;
  width: 100%;
  background-size: 100%;
  height: 50vh;
  background-image: url(../img/img_PC.png);
  /* 画像の表示位置を指定 */
  background-position: 70% 80%;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 5%;
}

/* メインビジュアルをクリック可能にする */
.header a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.header__top {
  position: absolute;
  right: 9%;
  top: -10%;
  color: white;
  font-size: 9rem;
  transform: translate(9%, -10%);
  visibility: hidden;
}

.disclaimer__title {
  text-align: center;
}

ul {
  list-style: inside;
}

.underline {
  text-decoration: underline;
}

.footer {
  background-color: black;
  color: #e9e9e9;
  padding: 0 0 1% 0%;
}

.footer p {
  text-align: right;
  margin: 1%;
}

.policy {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  padding: 1% 5%;
}

.policy__item {
  margin-right: 4%;
}

.safepolicy-list {
  text-decoration: none;
}

.contents__text {
  text-align: center;
}

.textend {
  text-align: right;
}

.safepolicy__item {
  list-style: none;
  counter-increment: cnt;
}

.safepolicy__item::before {
  content: "(" counter(cnt) ") ";
}

.safepolicy__innneritem {
  list-style: none;
}

.mail {
  color: blue;
  /* リンクの色を設定 */
  text-decoration: underline;
}

/* 本文内のリンクの色をデフォルトの青に */
.main-wrapper a {
  color: #0000EE; /* 通常のリンク色（青） */
}

/* フッター内のリンクは白のまま */
.footer a {
  color: #FFFFFF !important;
}

/* リンクの疑似クラス設定（本文のみに適用） */
.main-wrapper a:link {
  color: blue;
}
.main-wrapper a:visited {
  color: purple;
}
.main-wrapper a:hover {
  color: red;
}
.main-wrapper a:active {
  color: green;
}

/* レスポンシブ */

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

  /*  メイン画像 */
  .header {
    width: 100%;
    background-image: url(../img/img_SP.png);
    /* 画像の表示位置を指定 */
    background-size: 100%;
    background-position: 90% 0%;
    background-repeat: no-repeat;
    position: relative;
    height: 65vh;
  }

  .flex {
    flex-direction: column;
  }

  .header__top {
    right: 10%;
    top: 5%;
    font-size: 6rem;
    transform: translate(10%, 5%);
  }

  .group {
    text-align: center;
  }

  .underline {
    width: 100%;
  }

  .underline--flex {
    width: 100%;
  }

  /* Footer */
  .footer p {
    font-size: 0.8rem;
  }

  .policy__item {
    font-size: 0.8rem;
  }

  .policy {
    padding: 3% 4%;
  }
}

@media screen and (max-width: 840px) {
  .header {
    height: 56vh;
}
}

@media screen and (max-width: 735px) {
  .header {
    height: 49vh;
}
}

@media screen and (max-width: 600px) {
  .header {
    height: 39vh;
}
}

@media screen and (max-width: 450px) {
  .header {
    height: 32vh;
}
}


@media screen and (max-width: 350px) {
  .header {
    height: 22vh;
}
}

