@charset "utf-8";
/*-------------------------------------------------------------------

共通箇所

SP / 0 - 768px
TB / 768px - 1024px
PC / - 1024px

-------------------------------------------------------------------*/

/* @group CSS変数を定義 */

:root {
  --normal: #1A1A1A;
  --cv: #0052C1;
  --gray: #B9B9B9;
  --light-gray: #f5f5f5;
  --font-gray: #202020;
  --blue: #0046A5;
  --red: #E60001;

  --gothic: "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "HiraKakuProN-W3", 'メイリオ','Meiryo', "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --maru: 'Zen Maru Gothic', serif;
  --icon: "Font Awesome 6 Pro";

  --fz-normal: 14px;

  --max-width: 1000px;
}

html,
body {
  height: 100%;
  color: var(--normal);
  font-family: var(--gothic);
  font-size: var(--fz-normal);
  font-weight: 300;
  -webkit-text-size-adjust: 100%;
}
main {
  min-height: 100%;
  padding: 45px 0 55px;
}
main.bg_gray {
  background: var(--light-gray);
}
main.chara:before {
  content: "";
  position: fixed;
  bottom: 65px;
  right: 18px;
  width: 81px;
  height: 75px;
  background: url(../img/logo_chara.png) center no-repeat;
  background-size: 81px;
  z-index: 2;
}
.header.--tab + main {
  padding-top: 80px;
}
.round_cont {
  background: #fff;
  border-radius: 14px;
  padding: 25px 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}
.round_cont + .round_cont {
  margin-top: 20px;
}
.sort_vertically {
  display: flex;
  flex-direction: column;
}

/*
  メッセージタイトル設定
 */
.msg_title_attention {
  color: blue;
}
.msg_title_important {
    color: red;
    font-weight: bold;
}

/*
  ヘッダー
--------------------------*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 4;
  height: 45px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}
.header.--tab {
  height: 80px;
}
.header .logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  width: 200px;
  margin-top: 9px;
  margin-left: 3%;
}
.header .logo img {
  width: 27px;
}
.grid_container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 7px;
}
.header .back_link {
  left: 0;
  top: 0;
  padding: 0 3%;
  line-height: 45px;
  color: #C9C9C9;
  font-size: 19px;
  position: absolute;
}
.header .card_link {
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  right: 3%;
  top: 5px;
}
.header .back_settings {
  height: 100%;
  padding-left: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.header .card_link2 {
  position: absolute;
  width: 35px;
  height: 35px;
  font-size: 20px;
  right: 8%;
  top: 10px;
}
.header .setting_link {
    position: absolute;
    width: 50px;
    height: 40px;
    padding-right: 20px;
    overflow: hidden;
    right: 10%;
    top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .logout_link {
    position: absolute;
    width: 50px;
    height: 40px;
    padding-right: 20px;
    overflow: hidden;
    right: 25%;
    top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .h1_title {
  text-align: center;
  font-weight: 600;
  color: var(--blue);
  line-height: 45px;
  font-size: 16px;
}

.tab_menu {
  display: flex;
}
.tab_menu li {
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  cursor: pointer;
  line-height: 32px;
  width: 50%;
  text-align: center;
  font-weight: 600;
  border-bottom: solid 3px #fff;
}
.tab_menu li.active {
  color: var(--blue);
  border-color: var(--cv);
}

/*
  フッター
--------------------------*/
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55px;
  border-top: solid 1px #ebebeb;
  background: #fff;
}
.footer ul {
  display: flex;
}
.footer li {
  flex: 0 0 20%;
}
.footer a {
  position: relative;
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 10px;
  padding-top: 9px;
  color: #B9B9B9;
  height: 55px;
}
.footer i {
  display: block;
  font-size: 19px;
  margin-bottom: 2px;
}
.footer .active a {
  color: var(--cv);
}
.footer .active i {
  font-weight: bold;
}
.footer .new a:before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  right: 50%;
  margin-right: -14px;
  top: 7px;
}

/*
  メニュー
--------------------------*/
.menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  text-align: left;
  background: var(--cv);
  z-index: 8;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.menu > div {
  overflow: auto;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  padding: 50px 0;
  position: relative;
}
.menu .close {
  position: absolute;
  right: 25px;
  bottom: 20px;
  color: #fff;
  font-size: 30px;
  padding: 10px;
  line-height: 1;
}
.menu nav li {
  border-bottom: solid 1px #fff;
}
.menu nav a {
  position: relative;
  display: block;
  color: #fff;
  line-height: 1.7;
  font-size: 14px;
  padding: 15px 25px;
  font-weight: 500;
}
.menu nav a:before {
  position: absolute;
  font-family: var(--icon);
  content: "\f054";
  right: 20px;
}
.menu nav .gaibu a:before {
  content: "\f08e";
}
.overlay {
  content: '';
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  z-index: 7;
}
.side_open .overlay {
  visibility: visible;
  cursor: pointer;
  background: rgba(0,0,0,.2);
}
/* サイドメニューオープン */
.side_open .overlay,
.side_open .menu {
  -webkit-transform: translate3d(-300px, 0, 0);
  transform: translate3d(-300px, 0, 0);
}

/*
  ボタン類
--------------------------*/
.button_area {
  display: flex;
  justify-content: center;
  gap: 15px 20px;
  position: relative;
  flex-wrap: wrap;
  padding-bottom: 6px;
  width: 100%;
}
.button_youtube {
    display: flex;
    justify-content: center;
    gap: 15px 20px;
    flex-wrap: wrap;
    padding-bottom: 6px;
    width: 100%;
}
.button {
  display: inline-block;
  width: 100%;
  line-height: 51px;
  color: #fff;
  border: solid 2px var(--cv);
  background: var(--cv);
  text-align: center;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  position: relative;
}
.button.--sub {
  background: #fff;
  color: var(--cv);
}
.button.--gaibu:before {
  position: absolute;
  font-family: var(--icon);
  content: "\f08e";
  right: 25px;
  font-weight: bold;
}
.event-none {
  opacity: 0.7;
  pointer-events: none;
}
.text_link {
  color: var(--blue);
  text-decoration: underline;
}

/*
  モーダル
--------------------------*/
.modal_back {
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.2);
  z-index: 10;
  display: none;
}
.modal_cont {
  width: 92vw;
  top: 10vh;
  left: 4vw;
  position: fixed;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  z-index: 12;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  display: none;
}
.modal_cont h2 {
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  line-height: 50px;
  text-align: center;
}
.modal_cont .modal_close_button {
  font-size: 22px;
  position: absolute;
  right: 15px;
  top: 10px;
  color: #fff;
}
.modal_cont p {
  line-height: 1.7;
  font-size: 16px;
  padding: 25px 20px;
}
.modal_cont p span {
  font-weight: 600;
}
.modal_cont .button_area {
  padding: 20px;
  border-top: solid 1px #ccc;
}
.modal_cont .button {
  border-radius: 10px;
}

/*
  入力ボックス系
--------------------------*/
button:focus,
textarea:focus,
select:focus,
input:focus,
a:focus{
  outline: 0;
}
textarea:focus,
select:focus,
input:focus {
  border-color: var(--cv-green);
}
input::-ms-reveal,
input::-ms-clear {
  visibility: hidden;
}
select {
  color: inherit;
}
select::-ms-expand {
  display: none;
}
::-webkit-input-placeholder {
  color: #ccc;
}
::-moz-placeholder {
  color: #ccc;
}
:-ms-input-placeholder {
  color: #ccc;
}
.error-item {
  border: solid 2px var(--red);
}
.error-item:focus {
  border: solid 2px var(--red);
}
input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  padding: 14px 15px;
  box-sizing: border-box;
  border-radius: 3px;
  font-size: 16px;
  background: #F4F4F4;
}

/*
  ログインページ
--------------------------*/
.login .cont {
  padding: 30px 4%;
}
.login .cont + .cont {
  border-top: solid 1px #DBDBDB;
}
.login p {
  line-height: 1.7;
  margin-bottom: 25px;
}
.input_item {
  margin-bottom: 20px;
  overflow: hidden;
}
.input_item dt {
  margin-bottom: 6px;
  font-weight: 600;
}
.input_item dd {
  margin-bottom: 20px;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 1;
  z-index: 9999;
  display: none;
}


/*
  トップページ
--------------------------*/
.top {
  padding: 15px 4%;
}
.news_item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 0;
}
.news_item .cat {
  width: 100px;
  line-height: 23px;
  border: solid 1px var(--blue);
  color: var(--blue);
  text-align: center;
  font-size: 13px;
}
.news_item time {
  font-size: 13px;
  color: var(--font-gray);
}
.news_item h2 {
  font-weight: 600;
  font-size: 16px;
  width: 100%;
}
.news_item p {
  font-size: 13px;
  width: 100%;
  line-height: 1.7;
}
.news_item a {
  color: var(--cv);
}
.notice_item {
  padding: 0;
  overflow: hidden;
}
.notice_item h2 {
  background: var(--red);
  color: #fff;
  text-align: center;
  line-height: 35px;
  font-size: 16px;
  font-weight: 600;
}
.notice_item p {
  padding: 20px 15px 25px;
}
.notice_item p span {
  font-weight: 600;
}
.search-results {
  display: flex;
  flex-direction: column;
}
.search-result {
  padding: 1px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.container_flex {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.alert {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 120px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.alert.hidden {
  max-height: 0;
}
.success_alert {
  background-color: rgb(187, 235, 187);
}
.error_alert {
  background-color: rgb(255, 103, 103);
}

/*
  設定
--------------------------*/
.settings-body {
  font-family: sans-serif;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f0f0;
}
.icon-container {
  display: flex;
  justify-content: space-between;
}
.icon{
  width: 50px;
  height: 50px;
}
.text-area {
  width: 100%;
  height: 150px; /* テキストエリアの高さを指定 */
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 15px;
  font-size: 16px;
  resize: vertical; /* 垂直方向にのみリサイズ可能 */
}
.save-button {
  background-color: #2196F3;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}
.save-button:hover {
  background-color: #1976D2;
}
.selectButton {
  background-color: #2196F3;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 100%; /* ボタンをcontainerいっぱいに広げる */
}
.selectButton:hover {
  background-color: #1976D2;
}
.settings-option {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.settings-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.settings-option:hover input ~ .settings-checkmark {
  background-color: #ccc;
}
.settings-option input:checked ~ .settings-checkmark {
  background-color: #2196F3;
}
.settings-option input:checked ~ .settings-checkmark:after {
  display: flex;
}
.settings-option .settings-checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}
.settings-checkmark {
  position: absolute;
  top: 10;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}
.settings-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
#imagePreview {
  width: 100%;
  height: 200px;
  border: 1px dashed #ccc;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-top: 20px;
  overflow: hidden; /* 画像が枠内に収まるように */
  object-fit: none;
}
.text-container {
  /* white-space: nowrap; */
  font-size: small;
  color: #E60001;
  width: 100%;
  padding-bottom: 20px;
}

  /*
  招集通知
--------------------------*/
.notice_list li {
  border-bottom: solid 1px #ccc;
  padding: 20px 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.notice_list .cat {
  width: 100px;
  line-height: 25px;
  background: #D0D0D0;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}
.notice_list .cat.now {
  background: var(--cv);
}
.notice_list time {
  font-size: 13px;
  color: var(--font-gray);
  line-height: 25px;
}
.notice_list h2 {
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  margin: 13px 0 10px;
}
.notice_list p {
  line-height: 1.7;
  width: 100%;
}

/*
  大会情報　一覧系
--------------------------*/
.tab_box > ul {
  display: none;
}
.tab_box > .active {
  display: block;
}
.tournament h2 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}
.tournament p {
  color: var(--font-gray);
  font-size: 13px;
}
.now_list li {
  border-bottom: solid 1px #ccc;
}
.now_list a {
  padding: 20px 30px 20px 15px;
  position: relative;
  display: block;
}
.now_list a:before,
.past_list a:before {
  position: absolute;
  font-family: var(--icon);
  content: "\f054";
  right: 13px;
  top: 50%;
  margin-top: -10px;
  color: #C9C9C9;
  font-weight: bold;
}
.past_list li {
  border-bottom: solid 1px #ccc;
  padding: 20px 15px;
}
.past_list div {
  margin-top: 20px;
}
.past_list a {
  display: block;
  border: solid 1px #ccc;
  padding: 12px 30px 12px 15px;
  border-radius: 4px;
  position: relative;
  letter-spacing: 0;
}
.past_list a + a {
  margin-top: 10px;
}

/*
  大会情報　詳細
--------------------------*/
.tournament_detail {
  padding: 25px 0 0;
}
.tournament_detail h2 {
  font-weight: 600;
  font-size: 16px;
  padding: 0 15px;
}
.tournament_detail h2.center {
  text-align: center;
}
.tournament_detail section > p {
  font-size: 13px;
  line-height: 1.7;
  padding: 0 15px;
  letter-spacing: 0;
  margin-top: 10px;
}
.tournament_detail dl {
  padding-top: 20px;
}
.tournament_detail dt {
  font-weight: 600;
  padding: 10px 15px;
  background: var(--light-gray);
}
.tournament_detail dd {
  padding: 15px 15px 25px;
}
.tournament_detail h3 {
  font-weight: 600;
  margin-bottom: 5px;
}
.tournament_detail p + h3 {
  margin-top: 20px;
}
.tournament_detail .button_area {
  padding: 30px 15px 20px;
  position: fixed;
  bottom: 55px;
  background: linear-gradient(to top, #fff 40%, transparent);
}

/*
  登録カード
--------------------------*/
.card {
  padding: 15px 4%;
  position: relative;
}
.card .light_up {
  position: absolute;
  right: 0;
  top: 100px;
  background: var(--cv);
  color: #fff;
  font-size: 21px;
  line-height: 40px;
  width: 50px;
  text-align: center;
  padding-left: 5px;
  border-radius: 50px 0 0 50px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
.card_item {
  padding: 30px 0 40px;
  text-align: center;
}
.card_item img {
  height: 170px;
  margin-bottom: 30px;
}
.card_item .user_info {
  padding: 30px 15px 0;
  border-top: solid 1px #ccc;
}
.card_item .user_info img {
  height: 210px;
  margin-bottom: 25px;
}
.card_item h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}
.card_item p {
  font-size: 18px;
  line-height: 1.7;
}
