/*!
 * ress.css • v2.0.1
 * MIT License
 * github.com/filipelinhares/ress
 */

/* # =================================================================
   # Global selectors
   # ================================================================= */

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS */
  word-break: break-word;
  -moz-tab-size: 4;
  tab-size: 4;
}

*,
::before,
::after {
  background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
}

::before,
::after {
  text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0; /* Reset `padding` and `margin` of all elements */
  margin: 0;
}

/* # =================================================================
   # General elements
   # ================================================================= */

hr {
  overflow: visible; /* Show the overflow in Edge and IE */
  height: 0; /* Add the correct box sizing in Firefox */
}

details,
main {
  display: block; /* Render the `main` element consistently in IE. */
}

summary {
  display: list-item; /* Add the correct display in all browsers */
}

small {
  font-size: 80%; /* Set font-size to 80% in `small` elements */
}

[hidden] {
  display: none; /* Add the correct display in IE */
}

abbr[title] {
  border-bottom: none; /* Remove the bottom border in Chrome 57 */
  /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
  text-decoration: underline;
  text-decoration: underline dotted;
}

a {
  background-color: transparent; /* Remove the gray background on active links in IE 10 */
}

a:active,
a:hover {
  outline-width: 0; /* Remove the outline when hovering in all browsers */
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace; /* Specify the font family of code elements */
}

pre {
  font-size: 1em; /* Correct the odd `em` font sizing in all browsers */
}

b,
strong {
  font-weight: bolder; /* Add the correct font weight in Chrome, Edge, and Safari */
}

/* https://gist.github.com/unruthless/413930 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* # =================================================================
   # Forms
   # ================================================================= */

input {
  border-radius: 0;
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; /* Correct the cursor style of increment and decrement buttons in Chrome */
}

[type="search"] {
  -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px /* Correct the outline style in Safari */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; /* Remove the inner padding in Chrome and Safari on macOS */
}

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold; /* Restore the font weight unset by the previous rule */
}

button {
  overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  cursor: pointer;
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"], /* Prevent a WebKit bug where (2) destroys native `audio` and `video`controls in Android 4 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
}

/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
}

/* Style select like a standard input */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

legend {
  border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
  display: table; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge and IE */
  white-space: normal; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge 18- and IE */
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS and Safari */
  font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
}

/* # =================================================================
   # Specify media element style
   # ================================================================= */

img {
  border-style: none; /* Remove border when inside `a` element in IE 8/9/10 */
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}

svg:not([fill]) {
  fill: currentColor;
}

/* # =================================================================
   # Accessibility
   # ================================================================= */

/* Hide content from screens but not screenreaders */
@media screen {
  [hidden~="screen"] {
    display: inherit;
  }
  [hidden~="screen"]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
  }
}

/* Specify the progress cursor of updating elements */
[aria-busy="true"] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */
[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[aria-disabled] {
  cursor: default;
}

@font-face {
  font-family: "Metric";
  font-style: normal;
  font-weight: 400;
  src: url(fonts/metric-web-regular.woff2),
    url(fonts/metric-web-regular.woff),
    url(fonts/metric-web-regular.eot);
}
@font-face {
  font-family: "Metric";
  font-style: italic;
  font-weight: 400;
  src: url(fonts/metric-web-regular-italic.woff2),
    url(fonts/metric-web-regular-italic.woff),
    url(fonts/metric-web-regular-italic.eot);
}
@font-face {
  font-family: "Metric";
  font-style: normal;
  font-weight: 500;
  src: url(fonts/metric-web-medium.woff2),
    url(fonts/metric-web-medium.woff),
    url(fonts/metric-web-medium.eot);
}
@font-face {
  font-family: "Metric";
  font-style: italic;
  font-weight: 500;
  src: url(fonts/metric-web-medium-italic.woff2),
    url(fonts/metric-web-medium-italic.woff),
    url(fonts/metric-web-medium-italic.eot);
}
@font-face {
  font-family: "Metric";
  font-style: normal;
  font-weight: 500;
  src: url(fonts/metric-web-medium.woff2),
    url(fonts/metric-web-medium.woff),
    url(fonts/metric-web-medium.eot);
}
@font-face {
  font-family: "Metric";
  font-style: italic;
  font-weight: 500;
  src: url(fonts/metric-web-medium-italic.woff2),
    url(fonts/metric-web-medium-italic.woff),
    url(fonts/metric-web-medium-italic.eot);
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}
ul {
  list-style: none;
}

html,
body,
#app,
main {
  height: 100%;
}
body {
  background: #fff;
  color: #3e3e3e;
  font-size: 15px;
  font-weight: 500;
  font-family: Metric, "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3",
    Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body main {
  width: 100%;
  position: relative;
}
/* To adjust breakline position */
p span,
h1 span,
h2 span,
h3 span {
  display: inline-block;
}
/* TODO: Make component */
.section {
  width: 100%;
  padding: 0 20px;
}
/* TODO: Make component */
.section .sectionInner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 80px 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
b,
dt,
th {
  font-weight: 500;
}
@media (max-width: 767px) {
  .section .sectionInner {
    padding: 40px 0;
  }
}

a.styledLink {
  color: #ff6400;
}
a.styledLink:hover {
  text-decoration: underline;
}

/* header */
header.preview {
  pointer-events: auto;
  position: fixed;
  background-color: rgb(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.25) 0px -13px 30px;
  z-index: 100;
}
header.preview .sectionInner {
  padding: 15px 0;
}
header.preview .logo {
  width: 150px;
  display: inline-block;
  vertical-align: middle;
}
header.preview .subTitle {
  position: relative;
  top: 3px;
  display: inline-block;
  margin-left: 20px;
  vertical-align: middle;
  font-size: 10px;
  line-height: 1.2;
  color: #fff;
  padding: 5px 15px;
  border-radius: 3px;
  background-color: #acacac;
}
/* footer */
footer.preview {
  margin: 0;
  background-color: #acacac;
  color: #fff;
  text-align: center;
  font-size: 12px;
}
footer.preview .sectionInner {
  padding: 15px 0;
}
@media (max-width: 767px) {
  /* header */
  header.preview .logo {
    width: 100px;
  }
  /* footer */
  footer.preview {
    font-size: 10px;
  }
}

/* all */
.article {
  min-height: calc(100% - 51px);
}
.article .sectionInner {
  padding-top: 150px;
  max-width: 800px;
}
/* article_header */
.article .header {
  margin-bottom: 30px;
}
.article .header .category {
  border: solid 1px #ff6400;
  padding: 2px 20px;
  font-size: 16px;
  display: inline-block;
  border-radius: 5px;
  margin-bottom: 20px;
  color: #ff6400;
}
.article .header h1 {
  font-weight: 500;
  font-size: 32px;
}
.article .header .subTextWrapper {
  font-size: 14px;
  margin-bottom: 20px;
}
.article .header .date {
  display: inline-block;
  margin-right: 10px;
  color: #acacac;
  border-right: solid 1px #acacac;
  line-height: 1;
  padding-right: 10px;
}
.article .header .categoryJp {
  display: inline-block;
}
/* article_footer */
.article .footer {
  margin-top: 70px;
}
.article .footer .category,
.article.footer .sns {
  display: inline-block;
  vertical-align: top;
  margin-right: 15px;
}
.article .footer .category {
  font-size: 14px;
  position: relative;
  top: -1px;
  color: #acacac;
}
/* article_main */
.article .mainContent h2 {
  border: solid 2px #3e3e3e;
  border-left: none;
  border-right: none;
  padding: 15px 0;
  margin: 60px 0 30px;
  font-size: 24px;
}
.article .mainContent h3 {
  position: relative;
  font-size: 21px;
  display: block;
  z-index: 1;
  margin: 60px 0 20px;
}
.article .mainContent h3 span {
  border-left: solid 5px #ff6400;
  position: relative;
  padding-left: 15px;
}
.article .mainContent h4 {
  margin: 60px 0 20px;
  font-size: 18px;
}
.article .mainContent p {
  font-size: 16px;
  margin: 15px 0;
}
.article .mainContent .embeddedImageWrapper {
  margin: 30px 0;
  text-align: center;
}
.article .mainContent .embeddedImageWrapper .embeddedImage {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.article .mainContent .embeddedImageWrapper .description {
  font-size: 16px;
  font-weight: 500;
  margin-top: 5px;
  display: inline-block;
}
.article .mainContent ul {
  list-style-type: disc;
  padding-left: 16px;
}
.article .mainContent ul li p {
  margin: 0;
}
/* smp */
@media (max-width: 767px) {
  /* all */
  .article .sectionInner {
    padding-top: 100px;
  }
  /* article_header */
  .article .header h1 {
    font-size: 24px;
    line-height: 1.5;
  }
  .article .header .category {
    font-size: 14px;
  }
  .article .header .subTextWrapper {
    margin-top: 5px;
  }
  /* article_main */
  .article .mainContent h2 {
    margin: 40px 0 20px;
    font-size: 20px;
    line-height: 1.5;
  }
  .article .mainContent h3 {
    margin: 40px 0 20px;
    font-size: 18px;
  }
  .article .mainContent h4 {
    margin: 40px 0 10px;
    font-size: 16px;
  }
  .article .mainContent p {
    font-size: 16px;
    line-height: 1.9;
  }
  .article .mainContent .embeddedImageWrapper .description {
    font-size: 13px;
  }
}

