body {
  margin-top: 20px;
  position: relative;
}

.page__background {
  background-image:url('../images/bg/eat.jpg') !important;
  background-size: cover;
}

.sankou {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1em;
}

.haikei {
  background-color: rgba(255, 255, 255, 0.9);
}

img.logo {
  max-width: 640px;
}

input.menu {
  max-width: 350px;
  vertical-align: middle;
}

input.menu:active {
	position: relative;
	top: 3px;
  left: 3px;
}

input.logo:active {
	position: relative;
	top: 3px;
  left: 3px;
}

img.icon {
  max-width: 10px;
}

.expandable-content {
  padding-left: 1em;
}

.indentback {
  text-indent: -1em;
  padding-left: 1em;
}

.indent {
  padding-left: 1em;
}


.btn-sticky {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #f7f7f7;
  border-left: solid 6px #ff7c5c;/*左線*/
  color: #ff7c5c;/*文字色*/
  font-weight: bold;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
}
.btn-sticky:active {
  box-shadow: inset 0 0 2px rgba(128, 128, 128, 0.1);
  transform: translateY(2px);
}

.pos-right {
  position:absolute; bottom:0; right:0;
}
.pos-left {
  position:absolute; bottom:0; left:0;
}

.pos-bottom {
  position:absolute; bottom:0; margin:0 auto; text-align:center; width:100%;
}

div.result {
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  margin: 0.5em 0;
  position: relative;
  padding: 0.5em;
  background: rgba(209, 255, 210, 0.4);
  border-radius: 80px;
}

h4::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}

h2 {
  border-bottom: solid 3px #cce4ff;
  position: relative;
  background-color: rgba(255, 255, 255, 0.5);
}

h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}


.ribbon12-wrapper {  
  font-size: 25px;
  display: block;
  position: relative;
  margin: 15px auto;
  padding: 10px 0;
  width: 70%;
  background: #eff7f7;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
  }

.ribbon12 {
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  padding: 10px;
  margin: 0 0 0 -20px;
  width: calc(100% + 20px);
  color: white;
  background: #0b7feb;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.ribbon12-stetch{
  margin: 0;
  padding: 0 30px 0 15px;
  border-top: dashed 1.5px #FFF;
  border-bottom: dashed 1.5px #FFF;
  font-weight: bold;
  font-size: 25px;
  line-height: 40px;
}

.ribbon12:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px #6081b7;
}

.ribbon12:after {
  position: absolute;
  content: '';
  z-index: 1;
  top: 0;
  right: 0;
  width: 0px;
  height: 0px;
  border-width: 30px 15px 30px 0px;
  border-color: transparent #f1f1f1 transparent transparent;
  border-style: solid;
}

.term {
  color: black;
  border-bottom: 1px dotted #000;
  margin-bottom: -1px;
}

h3 {
  font-weight: bold;
}

.kaitou {
  border: solid 4px;
  border-color: #2196F3 #009688 #CDDC39 #FF9800;
}

p#submitted {
  padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
  color: #494949;/*文字色*/
  background: #f4f4f4;/*背景色*/
  border-left: solid 5px #7db4e6;/*左線*/
  border-bottom: solid 3px #d7d7d7;/*下線*/
}

p#database-userid {
  font-size: 25px;
  font-weight: bold;
  border: dashed 1px #96c2fe;
  padding: 0.5em 0.5em;
}

.highlight {
  background: yellow;
}


/* ポップアップ */
.modal_wrap input{
    display: none;
}

.modal_overlay{
    display: flex;
    justify-content: center;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.5s, transform 0s 0.5s;
    transform: scale(0);
}

.modal_trigger{
    position: absolute;
    width: 100%;
    height: 100%;
}

.modal_content{
    position: relative;
    align-self: center;
    width: 90%;
    max-width: 800px;
    padding: 20px 20px 15px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.4em;
    transition: 0.5s;
}

.close_button{
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 12px;
    cursor: pointer;
}

.modal_wrap input:checked ~ .modal_overlay{
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s;
}
/* ポップアップここまで */


.download-button {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.download-button:hover {
  background-color: #0056b3;
}


// フェードイン
div#menulist{
	-webkit-animation: fadein 3s linear 0s 1;
}
@-webkit-keyframes fadein {
	0%{
		opacity:0;
	}
	100% {
		opacity:1;
	}
}

#menulist {
  display: block;
  opacity: 1;
  animation: fade-in 0.5s;
  -moz-animation: fade-in 0.5s;
  -webkit-animation: fade-in 0.5s;
}

@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@-moz-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}
