@charset "utf-8";


[data-ruby] {
  position: relative;
  display: inline-block;
}

ruby[data-ruby]::before {
  display: none;
}

.dis-no,
rt,
ruby[data-ruby] rt {
  display: none;
}

.ruby_flag section {
  ruby[data-ruby]::before {
    content: attr(data-ruby) / attr(data-ruby);
    position: absolute;
    text-align: center;
    left: -3em;
    right: -3em;
    transform-origin: bottom center;
    bottom: 75%;
    display: block;
    transform: scale(0.5);
    letter-spacing: 0;
  }

  #title ruby[data-ruby]::before,
  h2 ruby[data-ruby]::before,
  h3 ruby[data-ruby]::before{
    bottom: 100%;
  }

  ruby.ml {
    margin-left: 0.25em;
  }

  ruby.ls {
    letter-spacing: 0.25em;
  }

  rudy .ml2 {
    margin-left: 0.5em;
  }

  .table th,
  .table td {
    padding-top: 0.5em;
    line-height: 1.8 ;
  }

  h3,
  h4 {
    padding-top: 1em;
    margin-bottom: 0.75em;
  }

  h4,
  h5,
  h6 {
    line-height: 1.8;
  }

  #bottom h2,
  #bottom p {
    margin-top: 0;
  }

  img {
    margin-bottom: 0.5em;
  }
}

button.open{
  color: #000;
  background-color: transparent;
  border-width: 2px;
  border-color: rgba(39, 123, 179, 0.8);;
  border-style: solid;
  border-radius: 5%;
  appearance: none;
}

button.close{
  color: #fff;
  background-color: rgba(39, 123, 179, 0.8);;
  border-width: 2px;
  border-color: rgba(39, 123, 179, 0.8);;
  border-style: solid;
  border-radius: 5%;
  appearance: none;
}

.close:hover,.close:focus {
  color: #fff;
  background-color: rgba(39, 123, 179, 0.8);;
  border-width: 2px;
  border-color: rgba(39, 123, 179, 0.8);;
  border-style: solid;
  border-radius: 5%;
  text-decoration: none;
  opacity: .5;
}

#toppage-news ul{
	margin-top: 50px;
}

/*  pc  */
@media (min-width: 1200px) {
  button.open {
    padding: 5px;
    cursor: pointer;
    font-size: 1.2em;
    line-height: 1.2;
  }
  
  button.close {
    padding: 5px  0.75em;
    cursor: pointer;
    font-size: 1.2em;
    line-height: 1.2;
  }
}

/*  TB	*/
@media screen and (min-width: 768px) and (max-width: 1200px) {
  button.open {
    padding: 5px;
    cursor: pointer;
    font-size: 1.2em;
    line-height: 1.2;
  }

  button.close {
    padding: 5px  0.75em;
    cursor: pointer;
    font-size: 1.2em;
    line-height: 1.2;
  }
}

/*  SP	*/
@media screen and (max-width: 767px) {
  button.open {
    padding: 5px;
    cursor: pointer;
    font-size: 1em;
    line-height: 1.2;
  }

  button.close {
    padding: 5px 0.75em;
    cursor: pointer;
    font-size: 1em;
    line-height: 1.2;
  }

	.ruby_flag section {
		p, ul li, ol li, .table th, .table td,
		dt, dd {
			margin-right: 0.5em;
		}
	}
}
 
.close {
  float: none;
}