@charset "UTF-8";
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-VariableFont_wght.ttf") format("opentype");
}
/*------------------------------------------------------------------------------
	reset browsing
------------------------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  font-style: normal;
}

body {
  font-size: 15px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th, td {
  border: 1px solid #666;
}

strong, em, th, dt {
  font-weight: bold;
}

img {
  border: 0;
}

audio {
  margin: auto;
  padding: auto;
  max-height: 5rem;
}

/*------------------------------------------------------------------------------
	fields
------------------------------------------------------------------------------*/
.container {
  font-size: 1.5rem;
  text-align: center;
}

.main {
  margin: auto;
  padding: 2rem 0;
  max-width: 1200px;
  width: 100%;
}

/*------------------------------------------------------------------------------
	link
------------------------------------------------------------------------------*/
a {
  text-decoration: none;
}




/*------------------------------------------------------------------------------
	type
------------------------------------------------------------------------------*/
body {
  background-color: #fefefe;
  font-family: "Noto Sans JP";
}

rt,
rp {
  display: none;
}
ruby.active rt {
  display: ruby-text;
}

/*------------------------------------------------------------------------------
	header
------------------------------------------------------------------------------*/
.header {
  margin: 0 auto 2rem;
  color: #aaa;
  border-bottom: 1px dotted #eee;
  background: linear-gradient(#322, #655, #ccc);
}
.site-title {
  padding: 2rem 0 2rem;
}
.site-title-description {
  font-size: 1rem;
}

.site-title-logo {
  font-family: serif;
  font-size: 3rem;
}

/* アクセシビリティ
------------------------------------------------------------------------------*/
.accessibility {
  display: flex;
  flex-direction: row;
  justify-content: right;
  width: 100%;
  height: 7rem;
  padding: .3rem .9rem .3rem;
  box-sizing: border-box;
  color: #111;
}
.accessibility.fixed {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  width: auto;
  background: linear-gradient(#ccc, #fff);
  border-radius: 0 0 0 .5rem;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}
/* 音声ブラウザ用スキップ */
.reader-skip {
  display: hidden;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  font-size: 0;
}
/* アクセシビリティ　マーク */
.accessibility-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.accessibility-title__image {
  border: 2px solid #000;
  border-radius: 50%;
  background-color: #fff;
  width: 3rem;
  height: 3rem;
  margin: .3rem 0;
}
.accessibility-title__text {
  display: block;
  width: 5rem;
  font-size: 1.2rem;
}
/* ツールの表示非表示 */
.accessibility-tools {
  display: none;
}
.accessibility-tools.active {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
/* ハイコントラスト表示 */
.high-contrast__button {
  display: block;
  height: 6rem;
  margin: 0 .5rem 0;
  padding: 1rem;
  writing-mode: vertical-rl;
  border-radius: 50%;
  font-size: 1rem;
  background-color: #000;
  color: #fff;
  border: 0;
  cursor: pointer;
}
.high-contrast__button.active {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
}
.high-contrast-mode {
  background: #000 !important;
  color: #fff !important;
  text-shadow: none !important; 
}
.site-title.high-contrast-mode,
.accessibility.high-contrast-mode {
  border-bottom: 1px solid #fff;
}
.voice.high-contrast-mode,
.site-list-item.high-contrast-mode {
  border: 1px solid #fff;
}
/* ルビ表示 */
.ruby__button {
  border: 2px solid #111;
  border-radius: 1rem;
  padding: .2rem .5rem;
  margin-bottom: .2rem;
  font-size: 1rem;
  background-color: #fefefe;
  color: #111;
  cursor: pointer;
}
.text-situation {
  margin: 0 1rem;
}
.ruby__button.active {
  background-color: #111;
  color: #fefefe;
}
/* 現在の文字の見え方 */
.text-situation__paragram--current {
  width: 4rem;
  height: 3rem;
  padding: .5rem;
  font-size: 1.2rem;
  color: #111;
  text-shadow: #fff 1px 1px,
               #fff -1px -1px,
               #fff -1px 1px,
               #fff 1px -1px;
}

/* 文字サイズ変更 */
.text-resize-list {
  display: flex;
  flex-direction: column;
  justify-content: right;
  width: 6rem;
  height: 6.3rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%);
  list-style: none;
  padding: 2px 2px 2px 3px;
  background-color: #111;
}
.text-resize-list-item {
  display: block;
  margin: 0 0 2px;
}
.text-resize-list-item:last-child {
  margin: 0;
}
.text-resize-list-item__button--text-size-big,
.text-resize-list-item__button--text-size-middle,
.text-resize-list-item__button--text-size-small {
  display: block;
  text-align: right;
  border: 0;
  width: 6rem;
  padding-right: .5rem;
  background-color: #fefefe;
  color: #111;
  cursor: pointer;
}
.text-resize-list-item__button--text-size-big {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 23% 100%);
  font-size: 2rem;
}

.text-resize-list-item__button--text-size-middle {
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 38% 100%);
  font-size: 1.2rem;
}
.text-resize-list-item__button--text-size-small {
  clip-path: polygon(39% 0, 100% 0, 100% 100%, 50% 100%);
  font-size: 1rem;
}
.text-resize-list-item__button--text-size-big.active,
.text-resize-list-item__button--text-size-middle.active,
.text-resize-list-item__button--text-size-small.active {
  background-color: #111;
  color: #fefefe;
}
/*------------------------------------------------------------------------------
	footer
------------------------------------------------------------------------------*/
.footer {
  background-color: #111;
  color: #fefefe;
  text-align: center;
  font-size: 1rem;
}
/*------------------------------------------------------------------------------
	article main
------------------------------------------------------------------------------*/
/* サイトリスト */
.site-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0.5rem 0 3rem;
  list-style: none;
}

.site-list-item {
  position: relative;
  margin: 2rem 0;
  padding: 2rem 2rem 6rem;
  max-width: 300px;
  border-radius: 1rem;
  box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.1);
  animation: fadeIn 2s ease-in-out forwards;
}

.site-list-item__figure {
  color: #221;
  padding: 2rem;
}
.site-list-item__figure-caption--link-url {
  font-size: 1rem;
}
.site-list-item__site-caption--paragram {
  color: #443;
  text-align: left;
  font-size: 1.2rem;
  text-indent: 1rem;
}
/* リンク関連 */
.site-list-item__figure-caption--link,
.site-list-item__figure-caption--link:link {
  color: #59a;
  border-bottom: 1px dotted #59a;
}
.site-list-item__figure-caption--link:visited,
.site-list-item__paragram--link:visited {
  color: #ba5;
  border-color: #ba5;
}
.site-list-item__figure-caption--link:hover,
.site-list-item__figure-caption--link:focus,
.site-list-item__paragram--link:hover,
.site-list-item__paragram--link:focus {
  color: #fa9;
  border-color: #fa9;
}
.site-list-item__figure-caption--link:active,
.site-list-item__paragram--link:active {
  color: #f53;
  border-color: #f53;
}
.site-list-item__figure--link-image,
.site-list-item__figure--link-image:link {
  border: 3px solid #9de; 
}
.site-list-item__figure--link-image:visited {
  border-color: #ba5;
}
.site-list-item__figure--link-image:hover,
.site-list-item__figure--link-image:focus {
  border-color: #fcb;
}
.site-list-item__figure--link-image:active {
  border-color: #f53;
}
.site-list-item__paragram--link::before {
  content: '→';
}
.site-list-item__paragram--link,
.site-list-item__paragram--link:link {
  position: absolute;
  bottom: 1.5rem;
  right: 0;
  padding: .8rem .9rem .8rem 2rem;
  text-align: right;
  font-size: 1rem;
  background-color: #113;
  color: #eee;
  border-right: 4px solid #911;
}
.site-list-item__paragram--link:hover,
.site-list-item__paragram--link:focus {
  right: -1.1rem;
  padding: .8rem 2rem .8rem 2rem;
}
/* animations */ 
@keyframes fadeIn {
  0% {
    transform: translateY(120px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1.0);
  }
  80%, 100% {
    opacity: 1;
  }
}
/* SNS・ブログリスト */
.sns__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.sns__list-item {
  padding: 0 .2rem;
}
.sns__list-item--link,
.sns__list-item--link:hover,
.sns__list-item--link:focus {
  border: 0;
}



/*画面幅768px以上の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 768px){
  
}
