:root {
  --base-color-primary: #165838;
//  --base-color-secondary: #357d8b;
  --base-color-white: #ffffff;
  --base-color-black: #484949;
  --base-color-red: #c34e33;
  --base-font-size: 18px;
  --base-min-width: 320px;
  --base-spacing-height: 30px;
  --base-spacing-width: 30px;
  --base-border-radius: 20px;
  --base-hover-opacity: 0.7;
  --base-line-height: 1.4em;
}

.clearfix:after{
  content: ".";
  clear:both;
  display:block;
  height:0;
  font-size: 0;
}

br { letter-spacing:0; }

body, td, th {
//  font-family: "Noto Sans JP", sans-serif;
//  font-family: "Noto Serif JP", serif;
  font-family: "M PLUS 1p", sans-serif;
  font-size: var(--base-font-size);
  color: var(--base-color-black);
}

body {
  min-width: var(--base-min-width);
  background-color: #f3f3f3;
}

.article {
  text-align: center;
}

.article-title {
  font-size: calc(var(--base-font-size)*2.2);
  line-height: var(--base-line-height);
}

.article-subtitle_leading {
  text-align: center;
  line-height: var(--base-line-height);
  font-size: calc(var(--base-font-size)*1.1);
  margin-bottom: calc(var(--base-spacing-height)*1/3);
}

.article-subtitle_trailing {
  text-align: center;
  line-height: var(--base-line-height);
  font-size: calc(var(--base-font-size)*1.1);
  margin-top: calc(var(--base-spacing-height)*1/3);
}

.article-catch {
  text-align: center;
  line-height: var(--base-line-height);
  margin-top: calc(var(--base-spacing-height)*2/3);
  font-size: calc(var(--base-font-size)*1.4);
}

.article-catch small {
  font-size: calc(var(--base-font-size)*1.2);
}

.article-lead {
  text-align: left;
  line-height: var(--base-line-height);
  margin-top: calc(var(--base-spacing-height)*2/3);
  font-size: calc(var(--base-font-size)*1.2);
}

.article-body {
  text-align: left;
  line-height: var(--base-line-height);
  margin-top: calc(var(--base-spacing-height)*2/3);
}

.article-body a {
  color: var(--base-color-black);
  text-decoration: underline;
}

.article-body a:hover {
  color: var(--base-color-primary);
}

.article-para {
  margin: 0.5em 0;
}

.article-list {
  margin: 0.5em 0em 0.5em 1.5em;
  line-height: var(--base-line-height);
}

.article-list-item {
  margin: 0.3em 0;
}

.article-note_list {
  margin: 0.5em 0em 0.5em 1.5em;
  line-height: var(--base-line-height);
  font-size: calc(var(--base-font-size)*0.9);
  list-style-type: '※ ';
}

.article-note_list-item {
  margin: 0.3em 0;
}

.article-table {
  margin: 0.5em 0em;
  width: 100%;
  table-layout: fixed;
  background-color: var(--base-color-white);
}

.article-table-header_cell,
.article-table-cell {
  font-size: calc(var(--base-font-size)*0.95);
  padding: 0.5em 2em;
  border: solid 2px #cfced3;
}

.article-table-header_cell {
  background-color: #eeeeee;
}

.article-aside {
  text-align: left;
  line-height: var(--base-line-height);
  margin-top: calc(var(--base-spacing-height)*2/3);
  font-size: calc(var(--base-font-size)*0.9);
}

.strike {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.strike:before {
  content: '';
  width: 100%;
  height: 0.1em;
  border-top-style: solid;
  border-top-width: 0.1em;
  position: absolute;
  left: 0 ;
  top: calc(50% - 0.15em) ;
}

.strike:after {
  content: '';
  width: 100%;
  height: 0.1em;
  border-bottom-style: solid;
  border-bottom-width: 0.1em;
  position: absolute;
  left: 0 ;
  bottom: calc(50% - 0.15em);
}

sub {
  font-size: 0.7em;
  vertical-align: sub;
}

sup {
  font-size: 0.7em;
  vertical-align: sup;
}

.nowrap {
  display: inline-block;
}

.file_icon {
  vertical-align: -0.2em;
  margin-right: 0.4em;
  height: 1.2em;
}

button, input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}

.button {
  display: inline-block;
  width: auto;
  padding: 1em 4em !important;
  line-height: 1em;
  font-size: 1em;
  text-align: center;
  color: var(--base-color-white) !important;
  background-color: #aaaaaa;
  text-decoration: none !important;
  border-radius: 2em;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-property: opacity;
}

.button:hover {
  cursor: pointer;
  opacity: var(--base-hover-opacity);
}

.button.submit {
  background-color: var(--base-color-primary);
}

input[type="text"] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
}

input[type=text],
input[type=password],
input[type="email"],
select,
textarea {
  border: solid 1px #aaaaaa;
  background-color: #ffffff;
  border-radius: 0.2em;
  font-size: 1em;
}

input[type=text],
input[type=password],
input[type="email"] {
  line-height: 1em;
  padding: 0.2em 0.5em;
}

textarea {
  padding: 0.2em 0.5em;
}

select {
  line-height: 1em;
  padding: 0.1em 0.2em;
  text-align: left;
}

input.error, select.error, textarea.error {
  background-color: #ffe4e1 !important;
  border-color: #ee0000 !important;
}

::placeholder {
  color: #aaaaaa;
}

/*
@media screen and (min-width: 480px), print {

:root {
  --base-min-width: 480px;
}
}

@media screen and (min-width: 900px), print {

:root {
  --base-font-size: 18px;
  --base-page-width: 900px;
  --base-min-width: 900px;
  --base-spacing-height: 30px;
  --base-spacing-width: 30px;
  --base-border-radius: 10px;
}
}
*/
