html {
  scroll-behavior: smooth;
}

body {
    font-family: "SF Pro",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
    font: 16px;
    color: #333333;
    margin: 0 auto;
    visibility: hidden;
}
body.loaded {
  visibility: visible;
}

a {
  color: #333333;
}

a:hover {
  color: #888888;
}

/* @media screen and (max-width: 980px) {
  .pc-only {
    display: none;
  }
} */

/* .sp-only {
  display: none;
}
@media screen and (max-width: 980px) {
  .sp-only {
    display: block;
  }
} */

/* Bootstrap の不具合?対応 */
.modal-open {
  overflow: hidden;
  height: 100%;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 0 !important;
}

.title_name {
  /* width: 90%; */
  /* position: relative; */
  /* left: 135px; */
  width: 338px;
  /* top: 2px; */
}

.top-wrapper {
  
  margin-bottom: 0px;
  position: relative;
  /* top: -14px; */
}
/* .container2 {
  width: 100%;
  max-width: 1000px;
  margin:30px auto 0 auto;
  padding-right: 10px;
  padding-left: 10px;
} */

.modal-backdrop2 {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop2 {
  opacity: .5;
}

/* .top-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  row-gap: 12px 0px;
}
.top-container a {
  display: grid;
  border: 1px solid #cccccc;
  border-radius: 0px;
  place-items: center;
  text-align: left;
  height: 76px;
  line-height: 1.2;
  text-decoration: none;
  padding: 10px 0px 10px 40px;
  width: 200px;
} */

.menu-container {
  display: grid;
  gap: 12px 0px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  /* margin-top: 30px; */
  /* margin-bottom: 10px; */
  /* position: relative; */
  /* top: 0px; */
}
.menu-container a {
  display: grid;
  place-items: center;
  border: 1px solid #cccccc;
  min-height: 76px;
  line-height: 1.2;
  text-decoration: none;
  padding: 10px;
}
.menu-container a:hover {
  border-color: #e60012;
}
.menu-link-box {
  display: grid;
  grid-template-columns: 24px 1fr;
  place-items: center;
  gap: 10px;
  height: 100%;
}
.menu-icon {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
}
.icon-maintenance {
  background-image: url(../img/icon_maintenance.svg);
  /* background-position: 8px center;
  background-size: 24px; */
}
.icon-manual {
  background-image: url(../img/icon_manual.svg);
  /* background-repeat: no-repeat;
  background-position: 8px center;
  background-size: 24px; */
}
.menu_text_pc {
  
}
/* .icon-link {
  position: relative;
  top: -1px;
  left: 3px;
} */

.footer_link > a {
  font-size: small;
  text-decoration: none;
  font-weight: 900;
  padding-right: 25px;
}
.close > span {
  font-size: 30px;
  font-weight: 900;
}
.modal-header {
  border-bottom:none;
}
.modal-content {
  height: 70vh;
}
.modal-title {
  padding-top: 40px;
  font-weight: 900;
}
.close_btn {
  position: relative;
  top: 20px;
  left: 45%;
  margin-top: 10px;
  width: 100px;
  height: 50px;
  background-color: #5c5c5c;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-weight: 900;
}
.close {
  background-color: #fff;
  border: none;
  position: relative;
  top: -25px;
}
.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 0 1rem;
}

.pankuzu {
  margin: 24px 0;
  color: #999;
  font-size: small;
  /* position: relative;
  top: -28px; */
}
.pankuzu > a {
  color: #999;
}

/* .pankuzu2 {
  color: #999;
  font-size: small;
  position: relative;
  top: 5px;
  padding: 0 15px;
}
.pankuzu2 > a {
  color: #999;
} */





.bold {
  font-weight: 600;
}

.sm-font {
    font-size: 0.9rem;
}

.lg-font {
    font-size: 0.9rem;
    font-weight: 600;
	position: relative;
	top: 0px;
	left: 0px;
}

.xl-font {
    font-size: 1.1rem;
    font-weight: 600;
}
.xs-font {
  font-size: 0.8rem;
  font-weight: 600;
}
.xxs-font {
  font-size: 0.7rem;
  font-weight: 600;
}
/* 戻るボタン */
.arrow{
	position: relative;
	display: inline-block;
	padding: 0 0 0 16px;
	color: #333;
	vertical-align: middle;
	text-decoration: none;
	font-size: 15px;
}

.arrow::before,
.arrow::after{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}
.back-arrow {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    margin-top: -2px;
}

.back-arrow::before{
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	border: 2px solid #333;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
.back-arrow::after{
	left: 9.5px;
	width: 8px;
	height: 8px;
	border-top: 2px solid #333;
	border-right: 2px solid #333;
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
.back-button:hover .back-arrow::before, .back-button:hover .back-arrow::after {
    border-color: #888;
}

.title {
    display: grid;
    grid-template-columns: 1fr max-content;
    align-items: center;
    column-gap: 16px;
    /* max-width: 1000px; */
    margin: 0 auto 15px;
    padding-right: 12px;
    padding-left: 12px;
    z-index: 200;
    background-color: #fff;
    position: relative;
    width: 100%;
    height: 65px;
    border-bottom: 3px solid red ;
}

.title a {
    text-decoration: none;
}

h1 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    z-index: 101;
}
.bottom-links {
  grid-row: 2 / 3;
  grid-column: 1 / 3;
  margin-top: 27px;
}

.bottom-button {
  display: grid;
  grid-template-columns: 1fr 19px;
  align-items: center;
  padding: 16px 24px;
  margin: 20px 0;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  text-decoration: none;
}
.bottom-button > a {
  color: #333333;
}

.bottom-button:hover {
  border-color: #e60012;
}

.history_name {
  font-weight: 600;
  font-size: 17px;
}

.new_name {
  font-weight: 600;
  font-size: 17px;
  margin: 16px 10px;
}
footer {
  width: 90%;
  margin: 0 auto;
  padding-right: 12px;
  padding-left: 12px;
  max-width: 1000px;

}
.sp_footer {
  display: none;
}
.news_clum {
  position: relative;
  top: 5px;
  left: 0px;
}
.title_area {
  width: 950px;
  margin: 0 auto;
}


#modal_qrcode .modal-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
}
#modal_qrcode .modal-content {
  height: 70vh;
  padding: 20px;
}
#modal_qrcode .modal-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  width: 100%;
  height: 100%;
  font-size: 16px;
}
#modal_qrcode #qrcode_content {
  position: relative;
  /* aspect-ratio: 4/3; */
}

#qr-video,
#camera-canvas,
#rect-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#modal_qrcode #qrcode_modal_sidemenu {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
}

#modal_qrcode #qrcode_sidemenu_upper {
  display: grid;
  align-content: start;
  place-items: center;
}

#modal_qrcode #qrcode_sidemenu_title {
  width: 100%;
  margin: 10px 0 20px;
  border-bottom: 3px solid red;
  text-align: center;
}

#modal_qrcode #qrcode_sidemenu_result {
  display: grid;
  place-items: center;
  width: 100%;
  height: 40px;
  border: 1px solid #333;
  border-radius: 10px;
}

/* #modal_qrcode #qrcode_sidemenu_lower {
  
} */

#modal_qrcode .qrcode_sidemenu_btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  gap: 10px;
}
#modal_qrcode .qrcode_modal_button {
  width: 100%;
  height: 40px;
  font-weight: 1000;
  border: 1px solid #5c5c5c;
  border-radius: 3px;
}
#modal_qrcode #qrcode_modal_confirm.qrcode_modal_button {
  order: 2;
  color: #fff;
  background-color: #5c5c5c;
}
#modal_qrcode #qrcode_modal_close.qrcode_modal_button {
  order: 1;
  color: #333;
  background-color: #fff;
}


@media screen and (max-width: 980px) {
  .icon-maintenance {
    /* background: url(../img/icon_maintenance.svg);
    background-repeat: no-repeat;
    background-position: 10px 22px;
    background-size: 28px; */
  }
  .active2 {
    background-color: #fff;
    color: #fff;
  }
  .title {
    position: fixed;
    margin: 0 auto;
  }
  .title a {
    color: #333333;
    text-decoration: none;
    font-size: 19px;
  }
  .title_area {
    width: initial;
    margin: initial;
  }
 
  .title_name {
    /* width: 90%; */
    position: relative;
    left: 0px;
    width: 338px;
  }

  .counterplan-title-fixed {
    padding-top: 65px;
  }

  .menu_text1 {
    position: relative;
    top: 0px;
    left: -9px;
    width: 260px;
  }
  .menu_text2 {
    position: relative;
    top: 0px;
    left: 8px;
    width: 260px;
  }
  .menu_text3 {
    position: relative;
    top: 2px;
    left: 8px;
    width: 260px;
  }
  .menu_text4 {
    position: relative;
    top: 10px;
    left: 62px;
    width: 260px;
    margin-left: 0px !important;
  }
  .menu_text5 {
    position: relative;
    top: 10px;
    left: 66px;
    width: 260px;
  }
  .menu_text6 {
    position: relative;
    top: 0px;
    left: 60px;
    width: 260px;
  }
  .menu_text7 {
    position: relative;
    top: 0px;
    left: 7px !important;
    width: 260px;
  }
  .menu_text8 {
    position: relative;
    top: -10px;
    left: 60px;
    width: 260px;
  }

  table {
    width: 1000px !important;
  }
  .top-wrapper {
      /* display: none; */
      border: none;
      /* margin-bottom: 16px; */
  }
  .pankuzu {
      /* display: none; */
      /* top: -59px;
      left: 0px; */
  }
  .hamburger {
    display : block;
    position: fixed;
    top: 8px;
    right: 4px;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
    z-index: 300;
  }
  .hamburger span {
    display : block;
    position: absolute;
    width   : 30px;
    height  : 2px ;
    left    : 6px;
    background : #555;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
  }
  .top-container {
    /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr; */
  }
  .menu-container {
    grid-template-columns: 1fr;
    padding: 0;
    row-gap: 0;
  }
  .menu-container a {
    width: 100%;
    /* border-top: 1px solid #cccccc; */
    border-bottom: 1px solid #cccccc;
    place-items: initial;
    padding: 15px 10px 10px 15px;
  }
  .menu-link-box {
    grid-template-columns: 36px 1fr;
    place-items: center start;
  }
  .menu-icon {
    width: 30px;
    height: 30px
  }

  .row {
    width: 100%;
    float: none;
  }
  /* .container2 {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-right: 0px;
    padding-left: 0px;
  } */
  /* .search_input > input {
      position: relative;
      width: 70%;
      height: 40px;
      outline: solid 1px #e4e4e4;
      border: 1px solid #e4e4e4;
      border-radius: 3px;
      z-index: 3;
      padding-left: 45px;
      left: 0px;
      top: -27px;
  } */
  .history_name {
      font-size: 20px;
      position: relative;
      top: 0px;
      left: 0px;
  }
  .new_name {
      font-size: 20px;
      position: relative;
      top: 0px;
      left: 0px; 
  }
  .history_info {
      font-size: medium;
      position: relative;
      top: -9px;
      left: 7px;
  }
  .table-scroll{
      overflow-x: scroll;
  }
  
  table{
      width: 1000px;
  }
  .bottom-links {
      width: 100%;
      float: none;
      padding-left: 0px;
      position: relative;
      left: 0px;
      top: -43px;

  }
  .sup_wrapper {
    margin-bottom: 10px !important;
  }
  nav.globalMenuSp {
    display: block !important;
    left : 0px !important;
  }
  .icon-maintenance {
    /* background: url(../img/icon_maintenance.svg);
    background-repeat: no-repeat;
    background-position: 10px 20px;
    background-size: 30px; */
  }
  .icon-manual {
    /* background: url(../img/icon_manual.svg);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px; */
  }
  .footer_link {
    position: relative;
    top: 0px;
    left: 0px;
    padding-top: 15px;
    padding-bottom: 7px;
  }

  #modal_qrcode .modal-content {
    max-width: 640px;
  }
  #modal_qrcode .modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr min-content;
    padding: 0px;
  }
  /* #modal_qrcode #qrcode_content {
    aspect-ratio: unset;
  } */
  #modal_qrcode #qrcode_modal_sidemenu{
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  #modal_qrcode #qrcode_sidemenu_upper {
    margin-bottom: 20px;
  }
  /* #modal_qrcode .qrcode_sidemenu_btns {
    grid-template-columns: 200px;
  } */
  /* #modal_qrcode #qrcode_modal_confirm.qrcode_modal_button,
  #modal_qrcode #qrcode_modal_close.qrcode_modal_button {
    order: unset;
  } */
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 1000px;
    margin: 1.75rem auto;
  }
}

/* .hamburger {
    display : block;
    position: fixed;
    top: 0;
    right: 0;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
    z-index: 200;
} */

/*　ハンバーガーボタン　*/
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active2 span:nth-child(1) {
  top : 16px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active2 span:nth-child(2),
.hamburger.active2 span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
  z-index : 6;
  top  : 65px;
  left : -75px;
  color: #000;
  background: #fff;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.6s;
  width: 100%;
  display: none;
}

nav.globalMenuSp ul {
  background: #fff;
  margin: 0 auto;
  padding: 10px 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 10px;
  width: 100%;
  border-bottom: 1px solid #d1d1d1;
  height: 76px;
}
nav.globalMenuSp ul li:last-child {
  padding-top: 8px;
  border-bottom: 0px solid #d1d1d1;
  /* border-bottom: none; */
}
nav.globalMenuSp ul li:hover{
  background :#eaeaea;
}

nav.globalMenuSp ul li a {
  display: block;
  height: 100%;
  color: #000;
  /* padding: 1em 0; */
  text-align: left;
  text-decoration :none;
  /* margin-left: 50px; */
}
nav.globalMenuSp .menu-link-box {
  /* grid-template-columns: 30px 1fr; */
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active2 {
  transform: translateY(0%);
}

.sp_menu1 {
  font-size: 15px;
  font-weight: 900;
}
.sp_menu2 {
  font-size: 23px;
  font-weight: 900;
}

