* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f1f1f1;
    display: flex;
    flex-flow: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.card-profile {
    width: 700px;
    border: 0;
    border-radius: 1rem;
    box-shadow:  0 0.2rem 0.2rem 0 rgba(0, 0, 0, 0.1);
}

.button {
    width: 150px;
}

.btn {
    font-size: 80%;
    border-radius: 5rem;
    font-weight: bold;
}

.profile_table {
    width: 100%;
    border: 1px solid #D1DBEB;
    border-radius: 8px;
    border-collapse: separate;
    overflow: hidden;
}

.profile_table .header {
    width: 200px;
    padding: 16px 24px;
    text-align: left;
    background: #f1f5fa;
}

.profile_table .data {
    padding: 16px 24px;
}

.form_wrap {
    display: grid;
    gap: 16px;
}

.form_wrap-2 {
    grid-template-columns: repeat(2, 1fr);
}

.form-cotrol:focus {
    box-shadow: none;
}

.card-auth {
    width: 400px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.2rem 0.2rem 0 rgba(0, 0, 0, 0.1);
}

.card-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.card-body {
    padding: 2rem;
}

.form-auth {
    width: 100%;
}

.form-label-group {
    margin-bottom: 1rem;
}

.form-label-group input {
    border-radius: 2rem;
}

.custom-select {
  border-radius: 2rem; /* 左右の角を丸くする */
}

.formpost {
    margin-bottom: 1rem;
}

.form-control:focus {
    box-shadow: none;
}

.allinfo {
    font-size: 16px;
    color: blue;
    padding: 0;
}

.custom-btn {
    width: 80%;
    height: 70px;
    font-size: 24px;
}

.custom-btn2 {
  width: 60%;
  height: 50px;
  font-size: 20px;
}

/* チャットエリア */
/* .chat_area {
    background: rgba(0, 0, 0, 0.7);
} */
  
/* チャット背景 */
.chat_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('images/back_image2.png');
    background-size: cover; /* 画像を要素に合わせて拡大縮小 */
    background-position: center; /* 画像の中央に配置 */
    background-repeat: no-repeat; /* 背景画像の繰り返しを禁止 */
}

/* チャットメイン画面 */
.chat_main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 95%;
    background-color: white;
    padding: 20px;
    z-index: 2; /* 背景よりも上に配置 */
    border-radius: 1rem;
}

/* チャットログエリア */
.chat_log_area {
    position: absolute;
    top: 5%; /* 上から5%の位置 */
    left: 3%;
    width: 70%;
    height: 90%; /* .chat_mainの90%の高さ */
    background-color: rgb(243 244 246); /* 仮の色 */
    z-index: 3; /* .chat_mainよりも上に配置 */
    border-radius: 1rem;
}

/* ステイタス表示エリア */
.status_disp_area {
    position: absolute;
    top: 5%; /* 上から5%の位置 */
    left: 74%;
    width: 22%;
    height: 90%; /* .chat_mainの90%の高さ */
    background-color: rgb(243 244 246); /* 仮の色 */
    z-index: 3; /* .chat_mainよりも上に配置 */
    border-radius: 0 1rem 1rem 0;
}

/* チャットオープンモーダル */
.chat_open_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background-image: url('images/back_image2.png');
    background-size: cover; /* 画像を要素に合わせて拡大縮小 */
    background-position: center; /* 画像の中央に配置 */
    background-repeat: no-repeat; /* 背景画像の繰り返しを禁止 */
  }
  
.chat_open_modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 30%; /* モーダルの最大幅を設定 */
    width: 100%; /* コンテンツの幅を100%に設定 */
    position: fixed; /* 位置を固定 */
    top: 50%; /* 上端を画面中央に配置 */
    left: 50%; /* 左端を画面中央に配置 */
    transform: translate(-50%, -50%); /* 中央配置を調整 */
    z-index: 6;
  }


/* チャットクローズモーダル */
.chat_close_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }
  
.chat_close_modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 30%; /* モーダルの最大幅を設定 */
    width: 100%; /* コンテンツの幅を100%に設定 */
    position: fixed; /* 位置を固定 */
    top: 50%; /* 上端を画面中央に配置 */
    left: 50%; /* 左端を画面中央に配置 */
    transform: translate(-50%, -50%); /* 中央配置を調整 */
    z-index: 6;
  }
  
  /* チャットクローズボタンのスタイル */
  #chat_close {
    cursor: pointer; /* カーソルをポインターに変更 */
    transform: translate(40%, -40%);
    z-index: 4;
  }
  
  #chat_close:hover::before {
    content: "チャットを終了する"; /* カーソルを乗せたときに表示するメッセージ */
    position: absolute;
    top: -1px;
    transform: translateX(-25%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1rem;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    display: none;
  }
  
  #chat_close:hover::before {
    display: block;
  }






/* WEBから拾ってきたニュース素材*/

.news-list{
    list-style: none outside;
    margin: 0 0 70px 0;
    padding: 0;
  }
.news-list .item a{
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 20px 10px;
  }
  .news-list .item:first-child a{
    border-top: 1px solid #CCC;
  }
  .news-list .item .date{
    margin: 0;
    min-width: 100px;
    width: 200px;
    font-size: 16px;
    color: #999;
    padding: 0;
  }
  .news-list .item .category{
    margin: 0;
    min-width: 140px;
    width: 200px;
    padding: 0;
  }
  .news-list .item .category span{
    background: #999;
    color: #FFF;
    width: 90%;
    text-align: center;
    display: inline-block;
    padding: 5px 5px;
    font-size: 12px;
    line-height: 1;
  }
  .news-list .item .title{
    margin: 0;
    width: 100%;
  }
  .news-list .item a:hover .title{
    color: #00F;
  }
  
  @media screen and (max-width: 767px){
  .news-list .item a{
    flex-wrap: wrap;
  }
  .news-list .item .date{
    min-width: 100px;
  }
  .news-list .item .title{
    margin-top: 10px;
  }
  }



  /* pnr_info_dispクラスを持つdiv内の要素にスタイルを適用 */
.pnr_info_disp table {
    max-width: 600px;
    border-collapse: collapse;
    font-size: 14px;
  }
  
  .pnr_info_disp table, .pnr_info_disp th, .pnr_info_disp td {
    border: 1px solid black;
  }
  
  .pnr_info_disp th, .pnr_info_disp td {
    padding: 4px 8px;
    text-align: center;
  }
  
  .pnr_info_disp th {
    background-color: rgb(243 244 246);
  }
  
  .pnr_info_disp tr:nth-child(4n+4), .pnr_info_disp tr:nth-child(4n+5) {
    background-color: rgb(219 234 254);
  }
  
  .pnr_info_disp p {
    font-size: 14px;
    padding: 0px;
  }
  
  .pnr_info_disp div {
    margin: 0px;
  }

  
  /* pnr_info_disp2クラスを持つdiv内の要素にスタイルを適用 */
  .pnr_info_disp2 table {
    max-width: 600px;
    border-collapse: collapse;
    font-size: 14px;
  }
  
  .pnr_info_disp2 table, .pnr_info_disp2 th, .pnr_info_disp2 td {
    border: 1px solid black;
  }
  
  .pnr_info_disp2 th, .pnr_info_disp2 td {
    padding: 4px 8px;
    text-align: center;
  }
  
  .pnr_info_disp2 th {
    background-color: rgb(243 244 246);
  }
    
  .pnr_info_disp2 p {
    font-size: 14px;
    padding: 0px;
  }
  
  .pnr_info_disp2 div {
    margin: 0px;
  }


  /* PNR読み込み中のくるくる回るやつ */
  .loader {
    font-size: 10px;
    margin-top: 50px;
    margin-left: 200px;
    margin-bottom: 50px;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #93c5fd;
    background: -moz-linear-gradient(left, #93c5fd 10%, rgba(147,197,253, 0) 42%);
    background: -webkit-linear-gradient(left, #93c5fd 10%, rgba(147,197,253, 0) 42%);
    background: -o-linear-gradient(left, #93c5fd 10%, rgba(147,197,253, 0) 42%);
    background: -ms-linear-gradient(left, #93c5fd 10%, rgba(147,197,253, 0) 42%);
    background: linear-gradient(to right, #93c5fd 10%, rgba(147,197,253, 0) 42%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }
  .loader:before {
    width: 50%;
    height: 50%;
    background: #93c5fd;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
  }
  .loader:after {
    background: #f1f5f9;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  @-webkit-keyframes load3 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes load3 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

  .post_detail_title .category span{
    background: #999;
    color: #FFF;
    text-align: center;
    display: inline-block;
    padding: 5px 5px;
    font-size: 12px;
    line-height: 1;
  }

