@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

#main :where(.column) ~ :where(.column) {
  margin-top: 30px;
}

@media screen and (min-width:768px) {

  #main :where(.column) ~ :where(.column) {
    margin-top: 60px;
  }

}

/** ***************************************************************************
 * 限定サイト
 * ************************************************************************* */

#member {
  padding: 40px 0 60px;
  position: relative;
  z-index: 0;
}

#member::after {
  content: '';
  max-width: none;
  width: 100vw;
  height: 100%;
  background: url("../_image/members/index/entry-bg.jpg") center center / cover no-repeat;
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% - 50vw);
}

@media screen and (min-width:768px) {

  #member {
    padding: 100px 0 120px;
  }

}

/**
 * タイトル
 */

#member .section-title {
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}

#member .section-title img {
  margin: 0 auto 10px;
  display: block;
}

@media screen and (min-width:768px) {

  #member .section-title {
    margin-bottom: 80px;
  }

  #member .section-title img {
    margin-bottom: 15px;
  }

}

/** ===========================================================================
 * ログイン / エントリー
 */

@media screen and (min-width:768px) {

  #member div.contents {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
  }

}

/**
 * 共用
 */

#member div.contents section.item {
  padding: 30px 15px;
  background-color: rgba(255, 255, 255, 0.8);
}

#member div.contents section.item ~ section.item {
  margin-top: 20px;
}

@media screen and (min-width:768px) {

  #member div.contents section.item {
    width: 48%;
    padding: 90px 30px 90px;
  }

  #member div.contents section.item ~ section.item {
    margin-top: 0;
  }

}

/* タイトル */

#member div.contents section.item .column-title {
  margin-bottom: 25px;
  text-align: center;
}

#member div.contents section.item .column-title img {
  width: auto;
  max-height: 16px;
}

@media screen and (min-width:768px) {

  #member div.contents section.item .column-title {
    margin-bottom: 80px;
  }

  #member div.contents section.item .column-title img {
    max-height: 25px;
  }

}

/* 内容 */

#member div.contents div.content {
  width: fit-content;
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width:768px) {

  #member div.contents div.content {
    margin-top: 40px;
    text-align: center;
  }

}

/**
 * ログイン
 */

/* システムメッセージ */

#member-login div.message {
  width: fit-content;
  min-height: 1.6em;
  margin: -1.6em auto 5px;
  color: #f00;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media screen and (min-width:768px) {

  #member-login div.message {
    min-height: 3.2em;
    margin-top: -3.2em;
  }

}

/* ログインフォーム */

#member-login div.input {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

#member-login div.input input {
  width: 16em;
  padding: 0.25em 0.5em;
  font: inherit;
  appearance: none;
  border: none;
  border-radius: 0;
  background: #fff;
}

#member-login div.input ::placeholder {
  letter-spacing: 2px;
  color: #bababa;
}

#member-login div.input button {
  margin: 0 0 0 5px;
  padding: 0.25em;
  appearance: none;
  cursor: pointer;
  border: none;
  border-radius: 0;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(0, 0, 0, 1.0);
}

#member-login div.input button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

#member-login div.input button::after {
  content: '';
  width: 2em;
  height: 1.375em;
  background: url("../_image/members/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
}

#member-login div.input button::-webkit-search-decoration {
  display: none;
}

#member-login div.input button::focus {
  outline-offset: -2px;
}

/**
 * エントリー
 */

#member-entry div.button {
  text-align: center;
}

#member-entry div.button a {
  padding: 0.5em 4.5em 0.625em 1.5em;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 0;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(0, 0, 0, 1.0);
}

#member-entry div.button a:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

#member-entry div.button a::after {
  content: '';
  width: 2em;
  height: 1.375em;
  background: url("../_image/members/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.6875em);
  right: 1em;
}

/** ===========================================================================
 * 問い合わせ
 */

#member-contact {
  margin-top: 20px;
  padding: 25px 15px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (min-width:768px) {

  #member-contact {
    margin-top: 40px;
    padding: 40px 30px;
  }

}

/**
 * タイトル
 */

#member-contact .column-title {
  margin-bottom: 15px;
  font-size: 1.25em;
  text-align: center;
}

/**
 * 内容
 */

#member-contact div.content {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/**
 * 問い合わせ
 */

#member-contact div.list {
  margin-top: 20px;
  font-size: 0.75em;
  text-align: center;
}

#member-contact div.list a {
  padding: 0.5em;
  letter-spacing: 3px;
  line-height: 1;
  font-size: 2.167em;
  text-decoration: none;
  display: inline-block;
}

#member-contact div.list a img {
  width: auto;
  max-height: 24px;
  margin-right: 5px;
  vertical-align: top;
  display: inline-block;
}

@media screen and (min-width:768px) {

  #member-contact div.list a img {
    max-height: 29px;
  }

}
