﻿/*******************************************************************************

    フレーム用スタイルシート
        2018/07/09:作成
        2019/02/18:更新

*******************************************************************************/

/*******************************************************************************
    全体
*******************************************************************************/
#div_fisite {
  margin: 10px;
  border-style: solid;
  border-width: thick;
  border-color: saddlebrown;
}

/*******************************************************************************
    ヘッダー
*******************************************************************************/
#h_naro {
  padding: 2px 10px;
}

#naro_item {
  text-align: right;
  font-size: 0.8em;
}

#h_mame {
  display: flex;
  flex-direction: row;
  background-color: wheat;
  padding: 2px 10px;
}

#h_mame_title {
  font-weight: bold;
  min-width: 80px;
}

#h_mame_message {
  display: flex;
  overflow: hidden;
  width: 100%;
}

#h_mame_message > .message {
  white-space: nowrap;
  padding-left: 100%;
  animation-name: marquee;
  animation-timing-function: linear;
  animation-duration: 20s;
  animation-iteration-count: infinite;

  &::after {
    content: '';
    white-apace: nowrap;
    padding-right: 100%;
  }
}

@keyframes marquee {
  from { transform: translate(0); }
  to { transform: translate(-100%); }
}

#h_logo {
  padding: 10px;
  text-align: center;
  background-image: url(../img/top-back.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-color: wheat;
}

#h_pankuzu {
  padding: 2px 10px;
  background-color: wheat;
  border-bottom: thick solid saddlebrown;
  font-size: 0.8em;
}

/*******************************************************************************
    コンテナー
*******************************************************************************/
#container {
  background-image: url(../img/pattern.jpg);
  display: flex;
  align-items: flex-start;
}

/*******************************************************************************
    サイドメニュー
*******************************************************************************/
nav {
  flex: none;
  position: sticky;
  top: 0;
  width: 250px;
  padding: 20px 10px;
  background-color: rgba(255, 255, 255, 0.85);
}

nav h1 {
  margin: 0px;
  font-size: 1.4em;
  font-weight: bold;
}

nav button {
  width: 100%;
  height: 2.5em;
}

#nav_buttonset_1 {
  border-style: solid;
  border-width: medium;
  border-color: orange;
  margin-bottom: 1.5em;
}

#nav_buttonset_1 button {
  width: 100%;
  background-color: antiquewhite;
}

#nav_buttonset_2 {
  border-style: solid;
  border-width: medium;
  border-color: deepskyblue;
  margin-bottom: 1.5em;
}

#nav_buttonset_2 button {
  width: 100%;
  background-color: lightcyan;
}

#nav_buttonset_3 {
  border-style: solid;
  border-width: medium;
  border-color: slateblue;
  margin-bottom: 1.5em;
}

#nav_buttonset_3 button {
  width: 100%;
  background-color: lavender;
}

/*******************************************************************************
    本文
*******************************************************************************/
article {
  flex: auto;
  padding: 20px 10px;
  background-color: rgba(255, 255, 255, 0.85);
}

section {
  margin: 0px 0px 30px 0px;
}

section h1 {
  margin: 0px;
}

#sec_entry h1 {
  font-size: 1.7em;
  font-weight: bold;
}

div.div_container {
  display: flex;
  align-items: flex-start;
}

div.div_container figure {
  flex: none;
  text-align: center;
}

div.div_container div {
  flex: 1;
  font-size: 1.2em;
  color: darkgreen;
}

section.sec_0 {
  background-image: url(../img/05subh04.gif);
  background-repeat: no-repeat;
}

section.sec_0 h1 {
  font-size: 1.4em;
  padding: 10px 50px 20px;
}

section.sec_0 li h1 {
  font-size: 1.1em;
  padding: 10px 0px 0px 0px;
}

section.sec_0 div.sec_0_center {
  text-align: center;
}

section.sec_1 {
  background-image: url(../img/leaf.gif);
  background-repeat: no-repeat;
}

section.sec_1 h1 {
  font-size: 1.2em;
  padding: 15px 50px 0px;
}

section.sec_1 p {
  margin-top: 10px;
  padding-left: 50px;
}

section.sec_1 ol {
  margin-top: 10px;
  padding-left: 50px;
  list-style: decimal;
}

section.sec_1 table {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border: medium solid orange;
  border-collapse:collapse;
}

section.sec_1 tr {
  border: thin solid orange;
}

section.sec_1 th {
  padding-left: 10px;
  padding-right: 10px;
}

section.sec_1 div.div_img_block {
  text-align: center;
  margin-top: 20px;
}

div.div_img_block figure {
  display: inline-block;
  margin: 10px;
  vertical-align: top;
}

div.div_img_block img {
  max-width: 500px;
}

section.sec_toTop {
  text-align: right;
}

#sec_reference {
  background-image: url(../img/05subh04.gif);
  background-repeat: no-repeat;
}

#sec_reference h1 {
  font-size: 1.4em;
  padding: 10px 50px 20px;
}

#sec_reference li {
  margin-top: 5px;
  padding-left: 1em;
  text-indent: -1em;
}

#sec_reference p {
  padding-left: 2em;
}

#sec_relation {
  background-image: url(../img/05subh04.gif);
  background-repeat: no-repeat;
}

#sec_relation h1 {
  font-size: 1.4em;
  padding: 10px 50px 20px;
}

#sec_relation li {
  margin-top: 5px;
  padding-left: 1em;
  text-indent: -1em;
}

#sec_author p {
  margin: 5px;
  text-align: right;
  font-weight: bold;
}

#sec_author p span.s_author{
  margin-left: 2em;
}

#p_update {
  text-align: right;
}

p.p_large {
  font-size: 1.2em;
  font-weight: bold;
}

span.italic {
  font-style: italic;
}

span.superscript {
  font-size: 75%;
  vertical-align: top;
  position: relative;
  top: -0.3em;
}

span.subscript {
  font-size: 75%;
  vertical-align: bottom;
  position: relative;
  top: 0.4em;
}

/*******************************************************************************
    フッター
*******************************************************************************/
#f_fisite {
  border-top: thick solid saddlebrown;
  padding: 10px;
  text-align: right;
  background-image: url(../img/bottom-back.jpg);
  background-color: oldlace;
}

span.f_fisite_0 {
  font-size: 1.5em;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.8);
}

span.f_fisite_1 {
  background-color: rgba(255, 255, 255, 0.8);
}

