.logout_box {
  width: 90px;
  margin-bottom: 10px;
  background: #bbb;
  padding: 10px;
  border-radius: 25px;
  text-align: center;
}

#header_hamburger { 
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px;
  height: 60px;
}

/* ハンバーガーメニュー ボタン */
#hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
#hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background-color: #000;
  border-radius: 2px;
}

#close_menu {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 1100;
}
#close_menu:hover {
  opacity: 0.8;
}

#text_header {
  max-height: 40px;
}

/* スライドメニュー */
#nav-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 160px;
  height: 100vh;
  background-color: #2196F3;
  padding-top: 60px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.3);
  transition: left 0.3s ease;
  z-index: 1000;
}
#nav-menu.open {
  left: 0;
}
#nav-menu ul {
  list-style: none;
  padding: 0 20px;
  margin: 0;
}
#nav-menu li {
  margin-bottom: 20px;
}
#nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}
#nav-menu a:hover {
  text-decoration: underline;
}

#button_header_box{
  position: absolute;
  right: 0px;
  top: 12%;
}

#main {
  /* padding-top: 42px;
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 30px; */
  background: rgba(255, 255, 255, 0.8);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.12), 4px 0 12px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  position: relative;
  z-index: 1;
  text-align:left;
  padding-top: 62px;
}

#main p {
  padding: 10px;
  z-index:2;
  text-align:center;
  text-decoration: none;
  font-size: 20px;
}

#main h2 {
  padding: 10px;
  text-align:center;
  font-size: 20px;
}

#main h3 {
  font-size: 22px;
}

#main_logo {
  text-align: center;
  background-image: linear-gradient(#b3b3b3 2px, transparent 2px), linear-gradient(to right, #b3b3b3 2px, #fff 2px);
  background-size: 40px 40px;
}

#top_img{
  width:100%;
  margin: 20px auto;
}

#area_2{
  background-color: #19b6ff;
  /* margin: 15px 0 0 0; */
  padding: 15px 0 15px 0;
  text-align: center;
}

#hashtag{
  color: #4af;
  padding: 5px;
}

#area_3{
  background-image: linear-gradient(#b3b3b3 2px, transparent 2px), linear-gradient(to right, #b3b3b3 2px, #fff 2px);
  background-size: 40px 40px;
}

.area_3_box{
  padding: 50px 0 50px 0;
  background-color: #ffffff33;
}

.notice{
  width: 90%;
  margin: 0 auto;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 3px 10px #bbb;
}

.notice > h2{
  color: white;
  /* font-size: 30px; */
  /* padding: 10px; */
  background: #5c987e;
  border-radius: 15px 15px 0 0;
  width: 100%;
  box-sizing: border-box;
}

#howto{
  padding: 1px 0 0 0;
  text-align: center;
}

.howtobox{
  position: relative;
  margin: 70px 0 0 0;
}

.point_img{
  width: 35%;
  position: absolute;
  top: -10%;
  left: 5%;
}

.kadomaru_white_parent{
  width: 90%;
  margin: 0 auto 20px auto;
}

.hito{
  width: 25%;
  /* margin: 0 20px; */
}

.kadomaru_white_right{
  background-color: white;
  border-radius: 15px;
  width: 65%;
  padding: 5px 0;
  float: right;
  position: relative;
}

.kadomaru_white_right::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(-45deg);
  left: -16px;
  top: 20px;
  border-left: 20px solid #ffffff;
  border-top: 20px solid #ffffff;
  border-right: 20px solid transparent;
  border-bottom: 20px solid transparent;
}
.kadomaru_white_right::after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(-45deg);
  left: -20px;
  top: 10px;
  border-left: 20px solid #19b6ff;
  border-top: 20px solid #19b6ff;
  border-right: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.kadomaru_white_right_2{
  background-color: white;
  border-radius: 15px;
  width: 65%;
  padding: 5px 0;
  float: right;
  position: relative;
}
.kadomaru_white_right_2:before {
  content: "";
  position: absolute;
  left: -34px;
  width: 13px;
  height: 11px;
  bottom: 0;
  background: white;
  border-radius: 50%;
}
.kadomaru_white_right_2:after {
  content: "";
  position: absolute;
  left: -18px;
  width: 15px;
  height: 13px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
}

.kadomaru_white_left{
  background-color: white;
  border-radius: 15px;
  width: 65%;
  padding: 5px 0;
  float: left;
  position: relative;
}
.kadomaru_white_left::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(135deg);
  right: -16px;
  top: 20px;
  border-left: 20px solid #ffffff;
  border-top: 20px solid #ffffff;
  border-right: 20px solid transparent;
  border-bottom: 20px solid transparent;
}
.kadomaru_white_left::after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(135deg);
  right: -20px;
  top: 10px;
  border-left: 20px solid #19b6ff;
  border-top: 20px solid #19b6ff;
  border-right: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.kadomaru_white {
  background-color: white;
  border-radius: 15px;
  width: 90%;
  margin: 20px auto 0 auto;
}

.mntList {
  list-style: none;
  padding: 8px 12px 12px;
  margin: 0;
  font-size: 14px;
}

.mntList li {
  margin-bottom: 8px;
}

.mntList li a.mnt_item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 4px;
  border-radius: 6px;

  color: #055EBB;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ホバー・タップ時 */
.mntList li a.mnt_item:hover,
.mntList li a.mnt_item:focus-visible {
  background: rgba(0,0,0,0.04);
}

/* ラベル */
.mntList li a.mnt_item span[class^="suti"] {
  flex: 0 0 70px;
  font-size: 12px;
  padding: 4px 0;
  color: #fff;
  border-radius: 5px;
  text-align: center;
  white-space: nowrap;
  text-decoration: none; /* ラベルには下線を出さない */
}

.mnt_text {
  flex: 1;
  line-height: 1.6;
}

.suti01 {background-color:#C00;}
.suti02 {background-color:#088;}
.suti03 {background-color:#055EBB;}
.suti04 {background-color:#6AB100;}
.suti05 {background-color:#D59876;}
.suti06 {background-color:#F252A1;}
.suti07 {background-color:#F70;}

#lucky_pokemon {
  text-align: center;
  padding: 20px 10px;
}

#lucky_pokemon img.lucky_pokemon {
  width: 80%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 15px auto;
  display: block;
}

#lucky_pokemon p {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 15px 0;
  color: #333;
}

#lucky_pokemon img:not(.lucky_pokemon) {
  width: 60%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#lucky_pokemon img:not(.howto) {
  filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.25));
}

#ranking {
  width: 95%;
  margin: 0 auto;
  text-align: center;
}

#ranking > table {
  width: 90%;
  margin: 0 auto 30px auto;
}

.row_wrapper {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  overflow: hidden;
  padding: 10px;
  margin-bottom: 10px;
}

.inner_row {
  width: 100%;
  border-collapse: collapse;
}

#ranking table.inner_row {
  margin: 0;
}

#ranking td {
  padding: 5px;
  vertical-align: middle;
  font-size: 24px;
}

#ranking td.rank {
  width: 20%;
}

#ranking td.name {
  width: 50%;
  text-align: left;
  padding-left: 8px;
}

#ranking td.rate {
  width: 30%;
  font-weight: bold;
  text-align: right;
  padding-right: 10px;
}

.ranking_header {
  width: 95%;
  display: block;
  margin: 0 auto 15px auto;
}

.rank_img {
  width: 95%;
  max-width: 60px;
}

.ranking_setting {
  color: black;
  background: #fff408;
  padding: 10px 15px;
  border-radius: 25px;
  border: 3px solid black;
  text-decoration: none;
  display: inline-block;
  margin: 0 0 30px 0;
}

#inquiry {
  color: #5c987e;
  background: #ddd;
  border-radius: 25px;
  width: 90%;
  /* box-shadow: 0px 3px 10px #bbb; */
  margin: 10px auto 40px auto;
  text-align: center;
}

#inquiry > h2 {
  color: white;
  font-size: 30px;
  padding: 10px;
  background: #5c8298;
  border-radius: 25px 25px 0 0;
  width: 100%;
  box-sizing: border-box;
}

#inquiry_button_box {
  padding: 30px 10px;
}

.inquiry_button {
  display: block;
  font-size: 28px;
  line-height: 1.4;
  margin: 10px auto;
  background-color: #888;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0px 3px 10px #bbb;
  width: 85%;
  text-align: center;
  color: white;
  text-decoration: none;
}

.inquiry_button:hover {
  opacity: 0.9;
  transform: translateY(1px);
}

@media screen and (min-width:768px) {

  #main{
    padding-top: 62px;
  }

  #main h1 {
    font-size: 30px;
  }

  #top_img{
    width: 40%;
  }

  #main_logo{
    padding: 25px 0 0 0;
  }

.kadomaru_white_parent{
  width: 50%;
  margin: 0 auto 30px auto;
}

.kadomaru_white_right{
  margin: 10% 0 0 0;
  padding: 30px 0;
}

.kadomaru_white_right_2{
  margin: 20px 0 0 0;
  padding: 30px 0;
}
.kadomaru_white_right_2:before {
  left: -38px;
  width: 13px;
  height: 12px;
}
.kadomaru_white_right_2:after {
  left: -24px;
  width: 20px;
  height: 18px;
}
.kadomaru_white_left{
  margin: 10% 0 0 0;
  padding: 30px 0;
}

.kadomaru_white{
  width: 65%;
}

.notice{
  width: 65%;
}

#howto{
  padding: 20px 0 0 0;
}

.point_img{
  width: 20%;
  left: 25%;
}

#ranking{
  width: 1080px;
  height: 700px;
    /* box-shadow: 0px 3px 10px #bbb; */
}

.ranking_header {
  width: 60%;
}

#ranking > table {
  width: 60%;
  height: 350px;
  font-size: 30px;
  /* border-collapse: collapse; */
  border-spacing: 20px 10px;
  margin-top: 35px;
  text-align: center;
}

.rank {
  width: 20%;
}
.rank_img {
  width: 50%;
}

/* .rank_kadomaru_white{
  background-color: white;
  border-radius: 15px;
} */

#inquiry {
  width: 65%;
  margin: 170px auto 60px auto;
}

#inquiry > h2 {
  color: white;
  font-size: 30px;
  padding: 10px;
  background: #5c8298;
  border-radius: 25px 25px 0 0;
  width: 100%;
  box-sizing: border-box;
}

/* #inquiry_button_box{
  display: flex;
} */

}
