@charset "UTF-8";

body {
  font-size: 16px;
  font-family: sans-serif;
  line-height: 1.6;
  text-align: center;
  background-color: #e0f7f1;
}

html {
  scroll-behavior: smooth;
}

a {
  color:#004d40;
}
a:hover {
  color:#00796b;
}

h1 {
  font-size: 28px;
  line-height: 1.4;
  margin-top: 0.5em;
  text-align: center;
}
h2 {
  font-size:18px;
}

p {
  margin: 0em;
}

ul,ol,dl {
  margin:0em;
}

li {
  margin-left: 0em;
}

header {
  display: flex;
}

header nav {
  margin: 0 auto;
}

header nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
}

nav li:after {
  content: '>';
  padding: 0.0 0.5em;
}

nav li:last-child:after {
  content: '';
}

#wrapper {
  width: 1008px;
  margin: .8em auto;
  background-color: #fff;
  padding: .8em;
  text-align: left;
}

section .lang {
  text-align: center;
}
.lang a {
  text-decoration: none;
}
.lang a:hover {
  text-decoration: underline;
}

/* 標題右下に表示するページの最終更新日への使用を想定 */
.date {
  text-align: right;
}

/*---------------------------------*/
/* 「English」と「日本語」の各標題 */
/*---------------------------------*/
.txt-en, .txt-jpn {
  border-bottom: 5px solid #b2ece0;
  margin: 1rem 1rem;
}
.txt-en span ,.txt-jpn span {
  display: inline-block;
  position: relative;
  padding: 0.5em 0.4em 0.2em;
  color: #333333;
}
.txt-en span::before,.txt-jpn span::before {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #00796b;
  content: '';
}

/*------------------*/
/* 諸元を表示する表 */
/*------------------*/
table, th, td {
  border-bottom: 1px solid #696969;
  border-top: 1px solid #696969;
  word-wrap: break-word;
}
table {
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  letter-spacing: 1px;
  table-layout: fixed;
  width: 100%;
}
th {
  padding: 12px 6px;
  text-align:center;
  width: 20%;
}
td {
  padding: 12px 6px;
  text-align: left;
}
/* 上から奇数行目の背景を灰色にする */
tr:nth-of-type(2n+1) {
  background-color: #eee;
}

#footer {
  color: #fff;
  width: 100%;
  height: auto; 
  text-align: center;
  padding:20px 0;
  background-color: #4dd7cc;
}

/*--------------------------------------*/
/* 右下に表示するページ先頭に戻るボタン */
/*--------------------------------------*/
.pagetop {
  /* buttonタグのリセットCSS */
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  /* ボタンの装飾 */
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 100;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #00bfae;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
/* 矢印のスタイル */
.pagetop::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-bottom: -6px;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  transform: rotate(-45deg);
}
/* マウスポインターが重ねられたときの挙動 */
.pagetop:hover {
  transform: scale(1.1);
}

@media only screen and (max-width: 1020px) and (min-width: 768px) {
  body {
    box-sizing:border-box;
    width:100%;
    padding:0 10px;
  }
  #contents {
    width:100%;
  }
  header {
    width:100%;
  }
}
