@charset "utf-8";

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');


* {
    margin: 0;
    line-height: 1.5;
    box-sizing: border-box;
  }

@media (max-width: 767px) {
	.acc-pc-only {
	  display: none !important;
    }
}

@media (min-width: 768px) {
    .acc-sp-only {
        display: none !important;
    }
}

.accesiblity{
  font-size: 13px;
  font-family: 'Lato', 'M PLUS 1 Code', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  /*フォント種類*/
  -webkit-text-size-adjust: none;
  letter-spacing: 0.05em;
  background: #fff;
  /*背景色*/
  color: #555;
  /*全体の文字色*/
  line-height: 2;
  /*行間*/
  position: fixed;
  right: 0;
  bottom: 0;
  width: 375px;
  /* height: 500px; */
  height: 100%;
  overflow-y: scroll;
  z-index: 99999;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
  display: none;
}

.accesiblity-bnr {
  position: fixed;
  right: 0;
  bottom: 2%;
  /*top: 50%;*/
  display: none;
  z-index: 99999;
  width: 235px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .accesiblity{
    /* height: 500px; */
    height: 50%;
  }

	.accesiblity-bnr {
		/* width: 68px; */
    width: 50px;
	}
}

.accesiblity::-webkit-scrollbar {
  display: none;
}

.accesiblity-header {
  background: #fff;
  padding: 10px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1;
}

.color-change-class {

  overflow: hidden; /* 余計な余白を防ぐ */
}

.accesiblity-header-wrap {
  display: flex;
  justify-content: space-between;
}

.accesiblity-contents {
  padding: 10px;
  background: #cfcfcf;
  overflow-y: scroll;
}


.font-sizing,
.voice-support {
  margin-top: 20px;
}

.accesiblity-head {
  text-align: center;
  font-family: 'Lato', 'M PLUS 1 Code', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  background: #1b1b1b;
  font-size: 1.5em;
  color: #fff;
  padding: 10px 0;
}

.accesiblity-contrast-wrap {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  background: #fff;
  gap: 10px;
}

.contrast-inner {
  width: calc(50% - 5px);
  border: 1px solid #999;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  height: 150px;
  align-items: center;
  cursor: pointer;
}

.night-mode p,
.total-color-blindness p,
.red-color-blindness p,
.green-color-blindness p,
.blue-color-blindness p,
.set-default p {
  margin-top: 10px;
}

.contrast-inner:hover .night-mode,
.contrast-inner:hover .total-color-blindness,
.contrast-inner:hover .red-color-blindness,
.contrast-inner:hover .green-color-blindness,
.contrast-inner:hover .blue-color-blindness,
.contrast-inner:hover .set-default {
  fill: #2c54e0;
}

.contrast-inner.active,
.contrast-inner:hover {
  border: 3px solid #2c54e0;
}

.contrast-inner.active .night-mode,
.contrast-inner.active .total-color-blindness,
.contrast-inner.active .red-color-blindness,
.contrast-inner.active .green-color-blindness,
.contrast-inner.active .blue-color-blindness,
.contrast-inner.active .set-default {
  fill: #2c54e0;
}

.font-size,
.line-spacing,
.spaced-wording,
.character-spacing {
  padding: 10px;
  border: 1px solid #999;
}

.font-size p,
.line-spacing p,
.spaced-wording p,
.character-spacing p {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.change-status {
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  display: block;
}

.line-spacing,
.spaced-wording,
.character-spacing {
  margin-top: 10px;
}

.font-sizing-wrap {
  padding: 10px;
  background: #fff;
}

.sizing-slider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f2f2f2;
  height: 25.98px;
}

.sizing-slider input[type="radio"] {
  transform: scale(2.0)
}

.plus-btn {
  background: #333;
  height: 25.97px;
  width: 29.33px;
  padding: 0;
}

.plus-btn span {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 1em;
  height: 0.1em;
  background: #fff;
  border-radius: 0.1em;
  position: relative;
}

.plus-btn span:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: rotate(90deg);
}

.minus-btn {
  height: 25.97px;
  width: 29.33px;
  border: 1px solid #555;
  padding: 0;
}

.minus-btn span {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 1em;
  height: 0.1em;
  background: #000;
  border-radius: 0.1em;
}

.voice-support-wrap {
  padding: 10px;
  background: #fff;
}

.text-reading {
  padding: 10px;
  border: 1px solid #999;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: white;
}

.text-reading p {
  margin-left: 10px;
  font-weight: bold;
  color: #555;
}


.text-reading:hover .text-reading {
  fill: #2c54e0;
}

.text-reading.active,
.text-reading:hover {
  border: 3px solid #2c54e0;
  padding: 8px 0;
}

.text-reading.active .text-reading {
  fill: #2c54e0;
}

.copy {
  text-align: center;
  background: #cfcfcf;
  padding: 10px 0;
  color: #555 !important;
}

#closeButton {
  border: none;
  padding: 0;
  width: 40px;
  cursor: pointer;
}

.js-range {
  list-style: none;
}

.dark-mode {
    background-color: #222222;
    color: #ffffff;
}

.accesibility-img-logo {
  width: 145px;
  height: 40px;
}

.accesibility-img-close {
  width: 40px;
  height: 40px;
  background: #fff;
}