@charset "utf-8";


#cookie-consent {
    margin:0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	bottom: 2%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 50%;
	font-size: 0.9em;
	background: #342f2f;
	padding: 1% 2%;
	box-sizing: border-box;
}

#cookie-consent p {
	justify-content: flex-start;
}

#cookie-consent a {
	color: #fff;
	text-decoration: underline;
}

#cookie-consent a:visited {
	color: #fff;
	text-decoration: underline;
}

#cookie-consent a:hover {
	color: #00FFFF;
}

#cookie-button {
	display: flex;
	justify-content: center;
	font-size: 0.9em;
	text-align: center;
	padding: 1.5em;
}

#cookie-accept-button,
#cookie-decline-button {
  cursor: pointer;
  min-width: 150px;
  max-width: 25%;
  background-color: #fff;
  color: #000;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 0.5em 1em;
  font-size: 1em;
  -webkit-appearance: none;
  appearance: none;
}

#cookie-accept-button {
  margin-right: 20px;
}

@media screen and (max-width: 900px) {

    #cookie-consent {
        width: 90%;
        display: block;
    }
	#cookie-button {
		display: block;
		padding: 0;
	}

	#cookie-accept-button {
		min-width: 100%;
		margin:0 0 10px 0;
	}

	#cookie-decline-button {
		min-width: 100%;
		margin:0 0 20px 0;
	}
}

#infocookie-modal {
	display: none;
	position: fixed;
	bottom: 0;
	z-index: 11000;
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
	-ms-overflow-style: none;
    color: rgb(102, 102, 102);
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Arial, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 12px;
    line-height: initial;
}

#infonotes-modal-background {
	position: fixed;
	top: 0;
    left: 0;
	z-index: 12000;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.7);
  display: none;
}

#infonotes-modal-background a {
	text-decoration: underline;
}

#infonotes-modal-background #infonotes-modal {
	position: absolute;
	margin: 0 auto;
    padding: 0.9em;
	font-size: 0.8em;
	top: 50%;
	left: 50%;
	min-width: 90%;
	transform: translateY(-50%);
	transform:translateX(-50%);
	-webkit-transform: translateY(-50%) translateX(-50%);
	-ms-transform: translateY(-50%) translateX(-50%);
}

@media screen and (min-width: 480px) {
	#infonotes-modal-background div#infonotes-modal {
		min-width: 450px;
	}
}

#close-button {
	display: block;
	position: absolute;
	top: -35px;
	left: 91%;
	width: 30px;
	height: 30px;
	cursor: pointer;
}

@media screen and (min-width: 480px) {
	#close-button {
		left: 94%;
	}
}

@media screen and (min-width: 800px) {
	#close-button {
		left: 96%;
	}
}

#close-button::before, #close-button::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 5px;
	height: 30px;
	background: rgb(255,255,255);
	border-radius: 2.5px;
}

#close-button::before {
	transform: translate(-50%,-50%) rotate(45deg);
}

#close-button::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}

.cookie-pc-area {
  #cookie-eula {
    position: static;
    width: 640px;
    height: 640px;
    left: 0px;
    top: 348px;
    z-index: 100001;
    display: block;
    background: #ffffff;
    opacity: 1;
    filter: alpha(opacity=100);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-box-shadow: 0 0 50px #ccc;
    -webkit-box-shadow: 0 0 50px #ccc;
  }

  #cookie-eula-wrapper {
    font-size: 14px;
    margin-left: 28px;
    margin-right: 28px;
  }

  #cookie-eula-title {
    padding-top: 22px;
    padding-bottom: 23px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
  }

  #cookie-eula-text {
    color: #666666;
    height: 392px;
    padding: 24px 24px 24px 24px;
    text-align: left;
    background-color: #f2f2f2;
    overflow-y: scroll;
  }

  #cookie-eula-text a {
    color: #666666;
    text-decoration: underline;
  }

  #cookie-eula-text a:hover {
    color: #242424;
  }

  #cookie-eula-text table {
    width: 100%;
    border-collapse: collapse;
    color: #666666;
    table-layout: fixed;
    text-align: left;
  }

  #cookie-eula-text th {
    border: solid 1px black;
    padding: 4px;
    background: #eee;
  }

  #cookie-eula-text td {
    border: solid 1px black;
    padding: 4px;
    background: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  #cookie-button-area {
    display: flex;
    justify-content: center;
  }

  #cookie-modal-close {
    margin-top: 34px;
    width: 284px;
    height: 56px;
    background-color: #666666;
    border-style: solid;
    border-color: #666666;
    border-width: 1px;
    box-sizing: border-box;
    text-align: center;
    line-height: 48px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
  }

  #cookie-modal-close:hover {
    background-color: #888888;
  }
}

.cookie-sp-area {
  #cookie-eula {
    position: static;
    margin: 16px;
    max-width: 500px;
    max-height: 500px;
    width: 343px;
    left: 0px;
    top: 67.5px;
    display: block;
    z-index: 10001;
    background: #ffffff;
    opacity: 1;
    border-width: 1px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-box-shadow: 0 0 50px #ccc;
    -webkit-box-shadow: 0 0 50px #ccc;
  }

  #cookie-eula-wrapper {
    font-size: 12px;
    margin-left: 16px;
    margin-right: 16px;
  }

  #cookie-eula-title {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }

  #cookie-eula-text {
    margin: 8px;
    color: #666666;
    background-color: #f2f2f2;
    overflow: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    height: 367px;
  }

  #cookie-eula-text a {
    color: #666666;
    text-decoration: underline;
  }

  #cookie-eula-text table {
    width: 100%;
    border-collapse: collapse;
    color: #666666;
    table-layout: fixed;
    text-align: left;
    font-size: 12px;
  }

  #cookie-eula-text th {
    border: solid 1px black;
    padding: 4px;
    background: #eee;
  }

  #cookie-eula-text td {
    border: solid 1px black;
    padding: 4px;
    background: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  #cookie-eula-text::-webkit-scrollbar {
    width: 5px;
  }

  #cookie-eula-text::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
  }

  #cookie-eula-text::-webkit-scrollbar-track-piece:start {
    background: #f2f2f2;
  }

  #cookie-eula-text::-webkit-scrollbar-track-piece:end {
    background: #f2f2f2;
  }

  #cookie-button-area {
    display: table;
    width: 100%;
  }

  #cookie-button-area .left {
    padding-right: 4px;
    display: table-cell;
    width: 50%;
  }

  #cookie-button-area .right {
    padding-left: 4px;
    display: table-cell;
    width: 50%;
  }

  #cookie-center {
    margin-top: 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
  }

  #cookie-modal-close {
    width: 50%;
    height: 40px;
    background-color: #666666;
    border-style: solid;
    border-color: #666666;
    border-width: 1px;
    box-sizing: border-box;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    font-size: 12px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
  }

  #cookie-modal-close:hover {
    background-color: #888888;
  }
}
