@charset "utf-8";

/* Scss Document
*****************************************************************/
@import "../../n_common/css/_variable.css";

#login {
  margin-bottom: 90px;
  @media (width < 896px){
    margin-bottom: 60px;
  }
  @media (width < 600px){
    margin-bottom: 45px;
  }
  .login-title {
    text-align:center;
    font-size:1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 30px;
    position: relative;
    &::after {
      content: "";
        background: linear-gradient(to right, 
        #84C5B1 0%, 
        #C5E1D7 52%, 
        #E3D54F 74%, 
        #E8D336 100%
      );
      display: block;
      width: 100%;
      height: 13px;
      position: absolute;
      bottom: 0px;
    }
    @media (width < 600px){
      font-size:1.3rem;
      letter-spacing: 1px;
    }
  }
  .login-tx {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.5;
  }
  .login-area {
    /* display: flex;
    justify-content: space-between; */
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 60px;
    margin-bottom: 10.4vw;
    @media (width < 896px){
      grid-template-columns: repeat(1,1fr);
      gap: 10px;
      margin-bottom: 50px;
    }
    .login-left, .login-right {
      padding: 40px 20px 30px;
      box-sizing: border-box;
      position: relative;
      &::after {
        content: "";
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
        border: #FFF solid 1px;
        pointer-events: none;
      }
      @media (width < 896px){
        padding:20px;
        margin-bottom:30px;
      }
    }
    .login-ttl {
      font-size: 1.6rem;
      text-align: center;
      padding-bottom:10px;
      border-bottom:1px solid #000;
      margin-bottom: 20px;
      letter-spacing: 0.1em;
      font-weight: 700;
      word-break: keep-all;
      overflow-wrap: anywhere;
      @media (width < 600px){
        font-size:1.3rem;
      }
    }
    p {
      margin-bottom:20px;
      &.note {
        text-align:center;
        word-break: keep-all;
        overflow-wrap: anywhere;
      }
      &.txt_attention {
        text-align:left;
        color:red;
        font-weight:bold;
      }
    }
    .login-left {
      background-color:var(--point_c);
      .login_con {
        max-width:80%;
        margin:0 auto;
        @media (width < 896px){
          width:100%;
        }
      }
      .flex {
        text-align:center;
        display: flex;
        justify-content: center;
        align-items: center;
        @media (width < 896px){
          flex-direction: column;
        }
      }
      form {
        margin:0 auto;
      }
      input {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 0px;
        border: 1px solid #2fa4d9;
        background-color: #fff;
        padding: 15px 10px;
        display: block;
        width: 100%;
      }
      .login_text02 {
        display: block;
        text-align: left;
        font-size: 1.1rem;
        letter-spacing: 0.1em;
        font-weight:600;
      }
      .login_button {
        max-width:160px;
        text-align: center;
        margin: 0 auto 0 20px;
        @media (width < 896px){
          margin:30px auto 0;
        }
        input {
          -webkit-appearance: none;
          appearance: none;
          background-color: #000;
          border-radius: 0px;
          color: #fff;
          cursor: pointer;
          padding: 10px;
          font-size: 16px;
          margin: 2px auto;
          border: unset;
          width: 140px;
          transition: 0.2s;
          @media (width < 896px){
            width:100%;
            box-sizing: border-box;
          }
          &:hover {
            transition: 0.2s;
            filter: brightness(120%) saturate(160%);
          }
        }
      }
      .btn_members {
        text-align:center;
        a {
          background-color: #000;
          color: #fff;
          display: block;
          padding: 12px 0;
          text-align: center;
          font-size: 18px;
          letter-spacing: 0.1em;
          width: 320px;
          margin: auto auto 28px;
          transition: 0.2s;
          &:hover {
            transition: 0.2s;
            text-decoration: none;
            background-color:var(--point_c);
          }
        }
      }
    }
    .login-right {
      align-items: center;
      display: flex;
      flex-direction: column;
      background-color:var(--gray);
      .entry-btn {
        background-color: #000;
        color: #fff;
        display: block;
        padding: 12px 0;
        text-align: center;
        font-size: 18px;
        letter-spacing: 0.1em;
        width: 320px;
        margin: auto auto 28px;
        transition: 0.2s;
        &:hover {
          transition: 0.2s;
          text-decoration: none;
          background-color:var(--point_c);
        }
        @media (width < 896px){
          width:260px;
        }
      }
    }
  }
}

.login-open {
  border:2px solid var(--gray);
  background-color: #fff;
  padding: 40px 60px;
  margin: 0px auto 90px;
  position: relative;
  container-type: inline-size;
  @media (width < 896px){
    padding:20px;
    margin: 0px auto 80px;
  }
  .login-ttl {
    font-size: 1.3rem;
    text-align:center;
    margin-bottom: 20px;
    @media (width < 896px){
      font-size:1.0rem;
    }
  }
  ul {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 50px;
    @media (width < 896px){
      grid-template-columns: repeat(1,1fr);
      gap: 15px;
    }
    li {
      text-align: center;
      position:relative;
      @media (width < 896px){
        padding:26px 26px;
      }
      .ttl_contents {
        font-size: 30px;
        line-height: 1.3em;
        word-break: keep-all;
        overflow-wrap: anywhere;
        @media (width < 896px){
          font-size: 24px;
        }
      }
      .txt_label {
        font-size: 13px;
        line-height: 1.6em;
        padding-top: 8px;
        word-break: keep-all;
        overflow-wrap: anywhere;
      }
      a {
        display: block;
        width: 100%;
        height: 100%;
      }
    }
    
    li:has(.active_link) {
      &:hover {
        &::before {
          border: var(--font_c) solid 1px;
        }
      }
    }
  }
}

.active_link {
  display:flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding:42px 3vw;
  background-color:var(--main_c);
  font-weight:bold;
  position: relative;
  color: #FFF;
  transition: all 0.3s ease-out;
  &::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: #FFF solid 1px;
    pointer-events: none;
  }
  &:hover {
    color:var(--font_c);
    text-decoration: none;
    &::before {
      border: var(--font_c) solid 1px;
    }
  }
}

.soon {
  .active_link {
    background-color:var(--gray);
    color:var(--font_c);
    cursor: default;
    &::before {
      border: none;
    }
  }
  &::after {
    content:"";
    display: block;
    width: 17cqw;
    height:80px;
    background-image: url("../../t_common/images/soon.svg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: absolute;
    left: -16px;
    top: -20px;
    pointer-events: none; 
    @media (width < 896px) {
      width: 120px;
      height:40px;
      top: -16px;
    }
  }
}


.img_flag {
  position: absolute;
  top: -10.8cqw;
  right: -2.4cqw;
  width: 24cqw;
  @media (width < 896px){
    top: -70px;
    right: -20px;
    width: 120px;
  }
  img {
    width: 100%;
    height: auto;
  }
}

.l1024 {
  text-align:right !important;
  float:right;
  color:#E9E9E9;
  margin:0 0 0 auto;
}

.nopass {
  text-align: center;
  padding-top: 8px;
}

/* 背景スクロールロック */
.no-scroll {
  overflow: hidden;
}

/* オーバーレイ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 999; /* モーダルの下 */
}
.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* モーダル本体 */
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}
.modal.is-active {
  opacity: 1;
  visibility: visible;
}

/* ダイアログボックス */
.modal__dialog {
  background: #fff;
  width: min(800px, 90vw);
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: auto;
  position: relative;
  padding: 24px;
  color: var(--font_c);
  container-type: inline-size;
}

/* ヘッダー/クローズ */
.modal__title {
  font-size: 1.25rem;
  margin: 0 0 8px;
}
.modal__close {
  position: fixed;
  right: 12px;
  top: 12px;
  border: none;
  background: transparent;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  color: #FFF;
}


/* 画面が小さい場合の余白 */
@media (max-width: 480px) {
  .modal__dialog {
    padding: 16px;
  }
}

.hd_modal {
  font-size: clamp(18px, 1.41cqw + 12.71px, 24px);
  line-height: 1.4em;
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.img_mail {
  margin-top: 20px;
}

.lead {
  padding: 16px 0 0 1em;
  text-indent: -1em;
  @media (width < 480px) {
    text-align: left;
  }
}

.caption {
  @media (width < 480px) {
    text-align: left;
  }
}

.red {
  color: #F00;
}

.linne_top {
  margin-top: 16px;
  border-top: var(--font_c) solid 1px;
}