/* Base
----------------------------------------------------------------*/

* {
  margin: 0;
}

html {
  height: 100%;
}

body {
  background: #fff;
	color: #555;
  font: 14px/1.5 "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
  font-weight: normal;
  min-height: 100%;
  text-rendering: auto;
}

table {
    margin-left: auto;
    margin-right: auto;
}

a {
  color: #007aff;
  text-decoration: none;
  transition: color .3s;
}
a:hover {
  color: #ff7a00;
}

@media only screen and (max-width: 800px) {
  body {
    font-size: 12px;
  }
}


/* Icons
----------------------------------------------------------------*/

.mt-icon::before {
  display: inline-block;
  font-family: 'Material Icons';
  font-size: 150%;
  font-style: normal;
  height: 1em;
  text-align: left;
  text-transform: none;
  vertical-align: text-bottom;
  width: 1em;
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  text-rendering: optimizeLegibility;
}
.mt-icon.delete-icon::before {
  content: '\00E872';
}
.mt-icon.edit-icon::before {
  content: '\00E254';
}
.mt-icon.more-icon::before {
  content: '\00E619';
}

/* Article
----------------------------------------------------------------*/

article {
  padding: 30px;
}

article h1 {
  font-size: 30px;
  text-align: center;
}

article h2 {
  border-left: 4px solid #007aff;
  font-size: 24px;
  font-weight: normal;
  padding: 4px 0 4px 16px;
}

article h3 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 8px;
  text-align:center;
  }
}

article p {
  margin-bottom: 16px;
}

article section {
  margin-top: 0px;
}
article section > section {
  margin-top: 0px;
}

@media only screen and (max-width: 800px) {
  article {
    padding: 5px 10px;
  }

  article h1 {
    font-size: 20px;
  }

  article h2 {
    font-size: 18px;
  }

  article h3{
    font-size: 16px;
  }

  article section {
    margin-top: 0px;
  }
  article section > section {
    margin-top: 0px;
  }
}


/*----------------------------------------------------------------
* Form Elements
----------------------------------------------------------------*/

input[type=text],
textarea,
button {
  border: 1px solid #c6cfdb;
  border-radius: 3px;
  margin-bottom: 1px;
  outline: none;
  transition: border-color .3s;
}

input {
  height: 34px;
  box-sizing: border-box;
  padding: 0 .5em;
}

textarea {
  box-sizing: border-box;
  line-height: 1.25;
  padding: 4px;
}

input:focus,
textarea:focus {
  border-color: #007aff;
}

input {
  box-sizing: border-box;
  height: 34px;
  padding: 0 .5em;
}

textarea {
  box-sizing: border-box;
  line-height: 1.25;
  padding: 4px;
}

input:focus,
textarea:focus {
  border-color: #007aff;
}

/* Radio & Checkbox
----------------------------------------*/

label {
  cursor: pointer;
  display: inline-block;
  margin-right: 16px;
}

/* Radio */
input[type='radio'] {
  display: none;
}
input[type='radio'] + label {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  padding-left: 24px;
  position: relative;
}
input[type='radio'] + label::before,
input[type='radio'] + label::after {
  border: 1px solid #c6cfdb;
  border-radius: 50%;
  box-sizing: border-box;
  content: '';
  display: inline-block;
  height: 20px;
  left: 0;
  position: absolute;
  top: 2px;
  width: 20px;
}
input[type='radio'] + label::before {
  transition: all 0.3s cubic-bezier(0.455, 0.03, 0.215, 1.33) 0s;
}
input[type='radio']:checked + label::before {
  background: #007aff;
  border-color: #fff;
  border-width: 6px;
}

/* Check Box */
input[type='checkbox'] {
  display: none;
}

input[type='checkbox'] + label {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  padding-left: 24px;
  position: relative;
}
input[type='checkbox'] + label::before,
input[type='checkbox'] + label::after {
  border: 1px solid #c6cfdb;
  box-sizing: border-box;
  content: '';
  display: inline-block;
  height: 20px;
  left: 0;
  position: absolute;
  top: 2px;
  width: 20px;
}
input[type='checkbox'] + label::before {
  background: #fff;
  transition:  0.2s linear 0s, color 0.2s linear 0s;
}
input[type='checkbox'] + label::after {
  color: #fff;
  content: '\00E5CA';
  font-family: 'Material Icons';
  font-weight: bold;
  line-height: 20px;
  text-align: center;
  vertical-align: text-top;
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  text-rendering: optimizeLegibility;
}
input[type='checkbox']:checked + label::before {
  border-color: #007aff;
  border-width: 10px;
}
