/* #profile form .row .col input[type="text"]{

} */
*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  /* display: block;
  color: inherit;
  text-decoration: none;
  font: inherit; */
}

/* ここまでリセットCSS */

body {
  /* font-family: "Arial", sans-serif; */
  /* color: #555;
  font-feature-settings: "palt"; */
}

html {
  scroll-behavior: smooth;
}

header {
  position: fixed;
  left: 0;
  height: 80px;
  width: 5%;
  padding: 0 20px;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* opacity: 0.3; */
}

/* .logo {
  font-size: 32px;
  color: #000;
} */

main {
  /* height: 1000px; */
  /* background: #CCFAFF; */
}

@font-face {
  font-family: "font-yutaCo";
  src: url(../font/yutaCo2_p_Regular_OT_100.woff),
    url(../font/yutaCo2_p_Regular_OT_100.woff2);
}

.title_img {
  height: min(200px, 30vh); 
  width: auto;
  max-width: calc((100% - min(20px, 2vw)) / 2); 
  object-fit: contain;
}

/* プロフィール画像 */
#preview {
  width: 100%;
}

.dice_img {
  width: 150%;
  height: auto;
}

@keyframes bound {

  0%,
  40%,
  60%,
  80% {
    transform: scale(1.0);
  }

  50%,
  70% {
    transform: scale(0.95);
  }
}

/* 一括画像 */
.imgDiceAll {
  background: url(../img/diceall3.png) no-repeat;
  /* background-size: 100% 100%; */
  background-position: center bottom;
  background-size: cover;
  width: 100%;
  height: 5rem;
}

/* 一括画像をホバーしたとき */
.imgDiceAll:hover {
  background: url(../img/diceall3-2.png) no-repeat;
  /* background-size: 100% 100%; */
  background-position: center bottom;
  background-size: cover;
}

/* 一括画像をクリックしたとき */
.imgDiceAll:active {
  background: url(../img/diceall3-3.png) no-repeat;
  /* background-size: 100% 100%; */
  background-position: center bottom;
  background-size: cover;
}

@media all and (min-width: 768px) {
  .stat_img {
    width: 60%;
    height: auto;
  }
}

@media all and (max-width: 768px) {
  .stat_img {
    width: 100%;
    height: auto;
  }
}

.jump_img {
  width: 25%;
  height: auto;
}

.skill_img {
  width: 20%;
  height: auto;
}

.skill2_img {
  width: 3%;
  height: auto;
}

.shortcut {
  white-space: nowrap;
  /* 横幅のMAXに達しても改行しない */
  overflow: hidden;
  /* ハミ出した部分を隠す */
  text-overflow: ellipsis;
  /* 「…」と省略 */
  -webkit-text-overflow: ellipsis;
  /* Safari */
  -o-text-overflow: ellipsis;
  /* Opera */
}



/* ボックススタイル */
.divStyle {
  width: 30vw;
  line-height: 5vh;
  border: 1px #aaa solid;
}

/* ボックスhoverでマウスカーソル変更 */
.divStyle:hover {
  cursor: pointer;
}

/* フォームとテキストの位置調整 */
/* input[type="text"] {
  padding: .25em;
  border: none;
  border-radius: 0;
  outline: 0;
  background: none;
  font-size: medium;
  width: 100%;
  height: 5vh;
} */

/* input[type="number"] {
  padding: .25em;
  border: none;
  border-radius: 0;
  outline: 0;
  background: none;
  font-size: medium;
  width: 100%;
  height: 5vh;
} */

/* .form-select {
  padding: .25em;
  border: none;
  border-radius: 0;
  outline: 0;
  background: none;
  font-size: medium;
  width: 100%;
  height: 5vh;
} */

/* 閲覧用 フォーム分の文字ズレを緩和 */
.txtStyle {
  padding: .25em;
}

/* テキスト軍ボックス */
.txtGroup {
  width: 30vw;
  height: auto;
  outline: .2vh #aaf solid;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-flex-direction: column;
  flex-direction: column;
}

.breakAll {
  word-break: break-all;
}

/* セレクトメニューの矢印が値の表示域を邪魔してたので消しました */
select.form-select {
  background-image: none;
  padding: .375rem 0 .375rem 0;
}

img {
  max-width: 100%;
}

/* ボタン */
button {
  /* width: 5vw;
  height: auto;*/
  /* 別のボタンいずれ反映 */
  /* margin: 1%; */
  font-size: medium;
  color: #fff;
}

.btn-color {
  font-weight: bold;
  color: #798686;
  background-color: #1F3635;
  border: none;
}

.blackColor {
  color: #000;
}

.blackColorBtn {
  color: #000;
  background: transparent;
  border: none;
  outline: none;
}

.modal-title {
  color: #000;
}

.modal-footer {
  color: #000;
}

.whiteColorBtn {
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
}

/* アコーディオンを開くボタンが分かりにくかったらしいのでボーダーつけました。影響範囲は見てません  */
button.accordion-button.collapsed {
  border: #86b7fe .01rem solid;
}

/* テキスト軍ボックスの全体がテーブルになるように */
table {
  width: 100%;
}

/* フォームのラベルの横幅を文字分だけ　かつ、右寄せ */
th {
  text-align: right;
  white-space: nowrap;
  width: 0;
}

/* 下線っぽく */
td {
  border-bottom: .1vh #333 solid;
  box-sizing: border-box;

}

/* 重ねられる側 */
.relative {
  position: relative;
}

/* 重ねる側 */
.absolute {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #fff;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: auto;
  -webkit-text-size-adjust: 100%;
  /* background-color: rgba(243, 245, 153, 0.616); */
  /* background-image: url("img/background.png"); */
  background-color: #1F3635;
  background-repeat: repeat;
  background-size: 75% auto;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  -webkit-padding-before: 0;
  -webkit-padding-after: 0;
  -webkit-padding-start: 0;
  -webkit-padding-end: 0;
  color: #fff;
  font-family: "font-yutaCo";
}

h2 {
  color: #fff;
}

input {
  color: #fff
}

.btn {
  color: #fff;
}

#app {
  width: 100vw;
  overflow-x: hidden !important;
}

.titles {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: min(20px, 2vw); 
}

.modal-body {
  color: #000;
}

.card {
  width: 10rem;
  height: 6.5rem;
  margin: 1%;
}

.cardstat {
  background-color: rgba(125, 207, 240, 0.733);
  position: relative;
  top: -8.8vh;
  right: -6.5vh;
  padding: 1%;
}

/* +- */
.field {
  display: flex;
}

/* スピンボタンの削除 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* .inputtext {
  color: rgba(43, 32, 32, 0.76);
  font-size: 18px;
  border-left: 0;
  border-right: 0;
  width: 80px;
  line-height: 3rem;
  text-align: center;
  border: 1px solid #D7DBDD;
  padding: 0 10px;
} */

/* .button {
  color: rgba(43, 32, 32, 0.76);
  font-size: 18px;
  cursor: pointer;
  padding: 5px 25px;
  background-color: white;
  border: 1px solid #D7DBDD;
  border-radius: 0;
  outline: 0;
} */

/* +- */

.tecen {
  text-align: center;
  padding: 10px 0 0 0%;
  white-space: nowrap;
}

.tecen2 {
  text-align: center;
  padding: 10px 0 0 40%;
  white-space: nowrap;
}

.incen {
  text-align: center;
}

.chcen {
  text-align: left;
  /* padding-top: 2%; */
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  /* margin: auto; */
  margin-left: -2%;
}

.btnhb:hover {
  box-shadow: 0px 12px 24px rgba(20, 118, 175, 0.38);
  transform: translateY(-4px);
}

.btnhg:hover {
  box-shadow: 0px 12px 24px rgba(20, 175, 72, 0.38);
  transform: translateY(-4px);
}

.filterCheck input[type="checkbox"] {
  display: none;
}

input:checked+label img {
  border: 2px solid rgb(33, 190, 230);
}

.filChePos {
  position: relative;
  left: -190px;
}

.filChePos2 {
  position: relative;
  left: -380px;
}

.filChePos3 {
  position: relative;
  left: -570px;
}

.filChePos4 {
  position: relative;
  left: -760px;
}

/* ボックススタイル */
.divStyle {
  width: 5vw;
  line-height: 5vh;
  border: none;
  /* border: 1px #aaa solid; */
}

/* ボックスhoverでマウスカーソル変更 */
.divStyle:hover {
  cursor: pointer;
}

/* フォームとテキストの位置調整 */
.overs {
  padding: .25em;
  border: none;
  border-radius: 0;
  outline: 0;
  background: none;
  font-size: medium;
  width: 100%;
  height: 5vh;
}

/* 閲覧用 フォーム分の文字ズレを緩和 */
.txtStyle {
  padding: .25em;
}

/* Ryuさんへ　ごめんなんかわからないけど消した */
.overspad {
  /* padding-left: 5%;
  padding-right: 5%;
  margin-left: 0%;
  margin-right: 10%; */
}

/* テキスト軍ボックス */
.txtGroup {
  width: 20vw;
  height: auto;
  outline: .2vh #aaf solid;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: start;
  justify-content: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-flex-direction: row;
  flex-direction: row;
}

.txtGroup input {
  margin-top: -10px;
}


/* 重ねられる側 */
.relative {
  position: relative;
}

/* 重ねる側 */
.absolute {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #fff;
}

footer {
  background: #333333;
  color: #ffffff;
  /* height: 40px;
  width: 100%;
  position: fixed;
  bottom: 0;
  display: flex; */
  z-index: 11;
}

/* #save {
  margin-top: -1%;
  padding-top: -1%;
}

.save2 {
  position: relative;
  top: 25px;
  right: -6.5vh;
} */

.originalGreen {
  background-color: #495F63;
}

/* 
.fontsize16 {
  font-size: 16px;
} */

.height-10rem {
  height: 10rem;
}

.top--1rem {
  top: -1rem;
}

.p-0 {
  padding: 0
}

.pt17 {
  padding-top: 17%
}

.bgcolor {
  /* background-color: rgba(243, 245, 153, 0.616); */
  background-color: #fff;
}

.bgcolor-focus:focus {
  /* background-color: rgba(243, 245, 153, 0.616); */
  background-color: #fff;
}

/* sticky */
.sticky {
  position: sticky;
  /* top: 0; */
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: .5rem;
  background-color: #fff;
  border: .01rem solid #86b7fe;
}

@media all and (min-width: 768px) {
  .stick2 {
    top: 5rem;
    z-index: 9;
  }
}

@media all and (max-width: 768px) {
  .stick2 {
    top: 7rem;
    z-index: 9;
  }
}

/* ラジオボタンを消す */
input[type="radio"] {
  display: none;
}

/* メモーダルの高さ調整*/
trix-editor {
  max-height: 50vh !important;
  overflow-y: auto !important;
}

#skillEditModal {
  max-height: 70vh;
  max-width: 90vw;
  overflow-y: scroll !important;
}

a {
  color: inherit;
}

i {
  position: relative;
  top: 1vh;
  left: -3.6vh;
}

/* ボックススタイル */
.SkillOverlayStyle {
  width: 30vw;
  line-height: 5vh;
  /* border: 1px #aaa solid; */
}

/* ボックスhoverでマウスカーソル変更 */
.SkillOverlayStyle:hover {
  cursor: pointer;
}

/* フォームとテキストの位置調整 */
.skillOverlayForm input[type="text"] {
  padding: .25em;
  border: none;
  border-radius: 0;
  outline: 0;
  background: none;
  font-size: medium;
  width: 100%;
  height: 5vh;
  margin: 10% 0 0 0;
}

/* 閲覧用 フォーム分の文字ズレを緩和 */
.txtStyle {
  padding: .25em;
}

/* テキスト軍ボックス */
.txtGroup {
  width: 30vw;
  height: auto;
  outline: .2vh rgba(170, 170, 255, 0) solid;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-flex-direction: column;
  flex-direction: column;
}

/* 重ねられる側 */
.relative {
  position: relative;
}

/* 重ねる側 */
.absolute {
  position: relative;
  top: 20%;
  left: 40%;
  z-index: 999;
  background-color: #fff;
  padding: 3%;
  /* border: none; */
}

/* tdStyle */
td {
  border: none;
}

.featuresTable {
  color: #fff;
  font-size: 150%;
}

.status_mar {
  margin-right: 0.5%;
  margin-left: 0.5%;
}

.api-response-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.api-response-modal-content {
  background-color: #ffffff;
  color: #333333;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px;
  width: 80%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.api-response-title {
  color: #333333;
  margin-top: 0;
  margin-bottom: 10px;
}

.api-response-scroll-container {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 10px;
}

.api-response-text {
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: #f5f5f5;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.4;
}

.api-response-button-container {
  display: flex;
  justify-content: flex-end;
}

.api-response-button {
  margin-left: 10px;
  padding: 8px 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.api-response-button:hover {
  background-color: #45a049;
}

.api-response-close-button {
  background-color: #f44336;
}

.api-response-close-button:hover {
  background-color: #d32f2f;
}



body.pointer-events {
  pointer-events: none;
}

body.pointer-events .humberger99 {
  pointer-events: auto;
}

body.pointer-events .nav-menu a {
  pointer-events: auto;
}