@charset "UTF-8";

html, body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

/* 例: その他の要素も継承される */
h1, h2, h3, h4, h5, h6, p, div {
  font-family: inherit;
}

/* header */

header {
  position: relative;
  max-width: 1300px;    /* mainのmax-widthに合わせる */
  margin: 0 auto;       /* mainと同じ中央揃え */
}

.logo {
  width: 100%;
  display: flex;
  align-items: center;          /* ロゴ全体をmainと同じ幅に */
}

.logout-div {
  position: absolute;   /* 右上固定 */
  top: 10px;
  right: 10px;
}
.logout-button {
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}
.logout-button:hover {
  background-color: #666666;
}


.link {
  width: 1210px;
  /* height:30px; */
  /* background-color: #CCCCCC; */
  
  display: flex;
    justify-content: flex-start; /* 左寄せにする */
  /* margin: 20px auto; */
}

.link a {
  display: inline-block;
  width: calc(20% - 10px); /* 各リンクの幅を計算して設定 */
  height:40px;
  text-align: center; 
 
  padding: 0px 0px;
  background-color: #f0f0f0;
  color: blue;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

.link a:hover {
  transform: translateY(-3px); /* ホバー時に少し上に持ち上がる効果 */
  background-color: #e0e0e0; /* ホバー時の背景色 */
}


a.home, a.slice, a.advanced, a.about, a.help {
  padding-top: 13px;    /* コンテナに対する文字の位置 */
  padding-left:0px;
  font-size: 20px;
}

.line {
  width: 1160px;
  color: "lightgray";
  display: block;
  margin-left: 0px;
}

/* common */

main {
  max-width: 1300px;
  margin: 0 auto; 
  /* width: 100%;
  margin-left: 200px; */
  margin-top: 10px;
  /* padding-left: 200px; */
  padding-top: 0px;
}

/* home */

.home_body {
  display: flex;
}

.home_left h2 {
  margin-top: 5px;
  margin-bottom: 10px;
}

.input-group {
  display: flex;
  position: relative;
  align-items: flex-end; /* 内部の要素の下端を揃える */
}

textarea {
  padding-top: 5px;
  /* 必要に応じて調整 */
}
textarea::placeholder {
  font-size: 18px;
}

.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  max-height: 150px;
  overflow-y: auto;
  background-color: white;
  z-index: 1000;
  list-style-type: none;
  margin: 0;
  padding: 0;
  visibility: hidden; /* 初期状態では非表示 */
}

.suggestions-list.visible {
  border: 1px solid #ccc;
  visibility: visible;
}

.suggestions-list li {
  padding: 8px;
  cursor: pointer;
}

.suggestions-list li:hover {
  background-color: #f0f0f0;
}

.select_all {
  margin-left: 60px;
  width: 520px;
}

.select_all h2 {
  margin-top: 5px;
  margin-bottom: 10px;
}

/* タブボタンの基本スタイル */
.tab-button {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size: 16px;
  max-width: 570px;  
  width: 100%;
  height: 65px;
  text-align: left;
  transition: background-color 0.3s;
  outline: none;
}

.tab-button.active {
  background-color: #ccc;
}

/* タブボタン内の矢印画像 */
.tab-arrow {
  width: 12px;
  height: 12px;
  margin-right: 10px;
  transition: transform 0.3s;
}

/* 開いているタブの矢印を左向きに回転 
.tab-button.active .tab-arrow {
  transform: rotate(90deg);
} */

.tab-button.active .tab-arrow {
  transform: scaleY(0.8);
}

/* タブのコンテンツ */
.tab-content {
  display: none;
  padding: 15px;
  border: 1px solid #ccc;
  border-top: none;
  background-color: #fff;
  margin-top: 0;
  width: 488px;
  min-height: 600px;
}

.selector{
  display: flex;
  width: 1200px;
  /* height: 950px; */
  height: auto;       /* ← auto にする */
  align-items: flex-start;  /* 子要素の高さに合わせて伸び縮み */
}

.selector2{
  display: flex;
  width: 1200px;
  /* height: 950px; */
  height: auto;       /* ← auto にする */
  align-items: flex-start;  /* 子要素の高さに合わせて伸び縮み */
}

.bullet {
  position: relative;
  padding-left: 20px;
}

.bullet::before {
  content: '●';
  margin-right: 5px;
  color: black;
}

.ana_input{
  padding-left: 20px;
}

.ana_input input {
  width: 300px;
  height: 20px;
  font-size: 16px;
}

.structure_select {
  max-height: 80vh;    /* ビューポート高さの 80% を超えないように */
  overflow-y: auto;    /* はみ出たらスクロールさせる */
}

.jstree-closed > ul {
  display: none; /* 子要素を最初は非表示にする */
}
.jstree-open > ul {
  display: block; /* 子要素をクリックで展開する */
}

.jstree-checkbox {
  appearance: none;            /* 標準のチェックボックスを消す */
  -webkit-appearance: none;    /* Safari対応 */
  -moz-appearance: none;       /* Firefox対応 */
  width: 14px;
  height: 14px;
  border: 2px solid #666;
  border-radius: 3px;
  background-color: white;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-right: 3px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.jstree-checkbox:checked {
  background-color: #333;
  border-color: #333;
}

.jstree-checkbox:hover {
  border-color: black;
  cursor: pointer;
}

.select_region {
  white-space: nowrap; /* テキストを折り返さない */
  margin-right: 3px;
}

.select_region:hover {
  text-decoration: underline; /* 下線を表示 */
  color: #007CFF;
  cursor: pointer;
}

.query_select{
  width: 450px;
}

/* 各 query_div を中央寄せする */
.query_div {
  border: 10px solid #b6b6b6;
  border-radius: 3px;
  background-color: white;
  width: 450px;
  margin-left: 5px;
}

.cap{
  padding-left:50px;
  margin-left: 210px;
  margin-bottom: 10px;
}

.div_con2{
   margin-left: 10px;
}

.anatomical_select{
  flex: 0 0 auto;
  padding-left: 0px;
  overflow: auto;
}

.inline-radio {
  display: flex;
  justify-content: flex-start;
  margin: 0 auto;
  height: 40px;
  width: 400px;
  overflow: hidden;
  border: 1px solid #b6b6b6;
}

.inline-radio div {
  position: relative;
  flex: 1;
}

.inline-radio input {
  width: 400px;
  height: 60px;
  opacity: 0;
}

.inline-radio label {
  position: absolute;
  top: 0; 
  left: 0;
  color: #666666;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #b6b6b6;
  cursor: pointer;
}

.inline-radio div:last-child label {
  border-right: 0;
}

.inline-radio input {
  display: none; /* ラジオボタン自体は非表示にする */
}

.inline-radio input:checked + label {
  background: #007BFF;
  font-weight: 500;
  color: #fff;
}

.probability {
  display: flex;
}

.inline-radio-s {
  display: flex;
  justify-content: flex-start;
  margin-left: 25px;
  height: 40px;
  width: 250px;
  overflow: hidden;
  border: 1px solid #b6b6b6;
}

.inline-radio-s div {
  position: relative;
  flex: 1;
}

.inline-radio-s input {
  width: 250px;
  height: 60px;
  opacity: 0;
}

.inline-radio-s label {
  position: relative;
  color: #666666;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #b6b6b6;
  cursor: pointer;
}

.inline-radio-s div:last-child label {
  border-right: 0;
}

.inline-radio-s input {
  display: none; /* ラジオボタン自体は非表示にする */
}

.inline-radio-s input:checked + label {
  background: #007BFF;
  font-weight: 500;
  color: #fff;
}

.probability-right {
  margin-left: 25px;
}

.cut_box input{
  margin-left: 25px;
  width: 75px;
  height: 40px;
  border: 1px solid #b6b6b6;
  padding: 0 10px;
  font-size: 16px;
  background-color: #fff;
  display: block;
  text-align: center;
}

.phase_sele select {
  width: 400px;
  height: 40px;
  border: 1px solid #b6b6b6;
  padding: 0 10px;
  font-size: 16px;
  background-color: #fff;
  text-align: center;
  /* 一部ブラウザ（Firefox, IE など）向けに選択状態のテキストも中央揃え */
  text-align-last: center;

  line-height: 40px;
  display: block;
  margin: 0px auto 20px;
  cursor: pointer;

  /* appearance を none にするとブラウザ固有の矢印が消えるので必要に応じてカスタマイズ 
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;*/
}

.candi_input{
  padding-left: 30px;
}

.candi_input select {
  margin: 20px auto 20px;
  width: 400px;
  height: 40px;
  border: 1px solid #b6b6b6;
  font-size: 16px;
  background-color: #fff;

  text-align: center;
  /* 一部ブラウザ（Firefox, IE など）向けに選択状態のテキストも中央揃え */
  text-align-last: center; 
  
  line-height: 40px;
  display: block;
  cursor: pointer;
  
  /* appearance を none にするとブラウザ固有の矢印が消えるので必要に応じてカスタマイズ 
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;*/
}

.figtype h2 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.inline-radio2 {
  display: flex;
  border-radius: 3px;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #b6b6b6;
  margin: 0;
}

.inline-radio2 div {
  position: relative;
  flex: 1;
  border-right: 1px solid #b6b6b6;
  padding: 5px;
}

.inline-radio2 div:last-child {
  border-right: none;
}

.inline-radio2 input {
  display: none; /* ラジオボタン自体は非表示 */
}

/* 各ラベルに固定の高さを設定 */
.inline-radio2 label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;  /* ここで固定高さを指定 */
  color: #666666;
  background: #fff;
  cursor: pointer;
  text-align: center;
}

.inline-radio2 label .label-text {
  margin-top: 5px;
  margin-bottom: 5px; /* テキストと画像間の余白 */
  font-size: 20px;
  line-height: 1.1;
}


.inline-radio2 input:checked + label {
  background: #339CFF;
  font-weight: 500;
  color: #fff;
}

/* .vertical-containerは必須ではありませんが内部で中央揃えしたい場合に使用 */
.vertical-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;  /* labelの高さを均等に埋める */
}

.line-plot-label {
  transform: translateY(-45px);
  /* あるいは margin-top を使ってもよい */
  /* margin-top: -10px; */
}
.time-change-label {
  transform: translateY(-30px);
  /* あるいは margin-top を使ってもよい */
  /* margin-top: -10px; */
}

label[for="q5_t"] .label-text {
  display: inline-block;    /* transform が効きやすくなる */
  transform: translateY(-27px);
}

label[for="q5_m"] .label-text {
  display: inline-block;    /* transform が効きやすくなる */
  transform: translateY(-24px);
}



#output_button {
  background-color: #007BFF;
  color: white;
  padding: 10px 15px;
  margin-top: 20px;
  margin-left: 245px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.label {
  font-size: 20px;
}

.tab-text {
  font-size: 20px;
}

.hidden {
  display: none;
}

li{
  list-style:none;
}

h1 {
  /* color:red; */
  font-size: 220%;
  padding-top: 0px;
  padding-left: 0px;
  padding-bottom: 0px;
  padding-right: 0px;
}

.div_border {
  border-bottom: 2px solid #000000;
}

.div_region {
  padding-top: 0px;
  padding-left: 20px;
}


.selector_sl{
  display: flex;
  width: 1165px;
  height: 860px;
}

.resizable-container {
  display: flex;
  height: 100%;
  width: 100%;
}

.resizer {
  width: 10px;
  cursor: ew-resize;
  background-color: #f0f0f0;
}

.canvas-container {
  width: 750px;
  height: 750px;
  flex: 1;
  overflow: hidden;
}

.canvas-container2 {
  width: 750px;
  height: 500px;
  flex: 1;
  overflow: hidden;
}

.query_select_sl{
  flex: 0 0 auto;
  width: 395px;
  height: 820px;
  overflow: auto;
}

.radio_p{
  padding-left: 20px;
  font-size: 18px;
}

.rb1 {
  margin-right: 15px;
  white-space: nowrap; /* テキストが折り返されないように設定 */
  /* margin-top: 40px; */
}
.rb2 {
  margin-right: 25px;
  white-space: nowrap; /* テキストが折り返されないように設定 */
  /* margin-top: 40px; */
}
.rb3 {
  margin-right: 0px;
  white-space: nowrap; /* テキストが折り返されないように設定 */
  /* margin-top: 40px; */
}

#radioArea{
  /* margin-left: 200px; */
  padding-left:0px;
  display: flex;
}


.rb_img{
  margin-right: 40px;
}

.rb_detect{
  margin-right: 40px;
}

.raw_d1{
  padding-left: 0px;
}
.raw_d2{
  padding-left: 30px;
}
.detect_d1{
  padding-left: 200px;
}
/* .detect_p{
  padding-left: 200px;
} */

.slider{
  display: flex;
  padding-left: 20px;
    width: 130px; /* 例として、スライダーの幅を200pxに設定 */
}


.area_select {
  width: 450;
  height: 600;
  padding-top: 0px;
  padding-left: 0px;

}

.js3d {
  position: relative;
  width: 450px;
  height: 450px;
  display: flex;
  padding-left: 20px;
}

.part2 {
  width: 300;
  height: 300;
  padding-bottom: 90px;
  padding-left: 20px;
  
  
}

.part2 svg {
  width: 300;
  height: 300;
  cursor: pointer;
}

.part2 svg polygon:hover {
  fill: #929693!important ;
}

.plane li:nth-of-type(1) {
  width: 5%;
  height: 5%;
  top: 20%;
  left: 20%;
}
 /* .in_re{
  margin-bottom: 40px;
} */

#canvas_sl {
  /* padding-left: 100px; */
  border: 2px solid black; /* キャンバスの枠を黒線に設定 */
}

#canvas_sl2 {
  /* padding-left: 100px; */
  border: 2px solid black; /* キャンバスの枠を黒線に設定 */
}

#download_icon {
  position: relative;
  top: -745px;  /*-canvas.hegiht*/
  left: 715px;  /*+canvas.width - icon.width*/
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#download_icon2 {
  position: relative;
  top: -495px;  /*-canvas.hegiht*/
  left: 715px;  /*+canvas.width - icon.width*/
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#download_icon3 {
  position: relative;
  top: -875px;  
  left: 1270px;  
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.highlight {
  background-color: yellow;
}

.in_re2{
  /* padding-bottom: 40px; 
  padding-left: 0px; */
   margin-bottom: 40px;

} 

.region {
  border: 2px solid #000000;
}

.fig_3D_raw_ave{
  padding-top:0px; 
  padding-left:0px;
  width: 1100px;

}
.img_raw_ave{
  padding-top:0px; 
  padding-left:0px;
  width: 100%
}

.fig_3D_img_all{
  padding-top:0px; 
  padding-left:0px;
  width: 1250px;
  text-align: left;
}


.img_img_all{
  padding-top:0px; 
  padding-left:0px;
  float: left;
 
  width: 1250px
}

.img_vb{
  padding-top:0px; 
  padding-left:120px;
  float: left;
 
  width: 1000px;
}


.d_table {
  padding-top: 10px;
  padding-left: 170px;
  padding-bottom: 15px;
}

.table {
  font-size: 70%;
  border: none;
}


.UPdiv{
  display: flex;
}

#fileLabel {
  color: black;
  margin-right: 10px;
  line-height: 20px;
  height: 20px;
  border: 2px solid #666;
  background-color: #f0f0f0;
  padding: 0 0 0 5px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
}

#fileLabel:hover {
  background-color: #e2e2e2;
}

#fl_div {
  margin-left: 50px;
}

.about_sentense {
  margin-bottom: 50px;  
}
