/*
Theme Name:   mi-inc.
Description:  
Author:       SHIN Inc.
Author URI:   http://www.shin-inc.jp/
Version:      1.0
*/
/* Normalize
--------------------------------*/
*,
*:before,
*:after {
  box-sizing: inherit;
}

html, body, div,
header, footer, main, article, section, aside, nav, figure, figcaption {
  display: block;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.75;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1em;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-break: strict;
}

body {
  overflow-x: hidden;
  background: #fff;
  color: #111;
}

a {
  color: inherit;
  transition: .3s;
}

a:before, a:after {
  text-align: inherit;
  text-decoration: inherit;
}

@media print, screen and (min-width: 1024px) {
  a[href^='tel:'] {
    text-decoration: inherit;
  }
}

abbr,
cite {
  font-style: inherit;
  text-decoration: inherit;
}

blockquote {
  margin: 1.5em 0;
  padding: 1em;
  border-style: solid;
  border-width: 1px 0;
}

del {
  opacity: .8;
}

em {
  font-style: inherit;
  font-weight: bolder;
}

figcaption {
  font-weight: 700;
}

img,
iframe {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

img {
  height: auto;
}

p {
  margin: 1em 0;
}

header p,
footer p {
  margin: 0;
}

pre {
  margin: 1em 0;
  white-space: pre-wrap;
}

ul {
  margin: 1em 0;
  padding-left: 1.5em;
}

ol {
  margin: 1em 0;
  padding-left: 2em;
}

nav ul,
nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

dl {
  margin: 1em 0;
}

dt {
  margin: 0;
  font-weight: 700;
}

dd {
  margin: 0 0 0 40px;
}

dd + dt {
  margin-top: 1em;
}

section section {
  margin-top: 40px;
  margin-bottom: 40px;
}

@media print, screen and (min-width: 768px) {
  section section {
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

caption {
  text-align: center;
}

th,
td {
  vertical-align: baseline;
  padding: 6px;
  border: 1px solid #666;
  text-align: left;
}

th {
  font-weight: 700;
  white-space: nowrap;
}

button,
input,
textarea,
select {
  max-width: 100%;
  vertical-align: middle;
  line-height: 1.4;
  margin: 0;
  font-family: inherit;
  font-size: 1em;
  transition: .3s;
}

button,
input[type='submit'],
input[type='button'],
input[type='reset'] {
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-shadow: none;
}

input[type='text'],
input[type='tel'],
input[type='email'],
input[type='url'],
input[type='search'],
input[type='number'],
input[type='date'],
input[type='password'],
textarea,
select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type='text']:focus,
input[type='tel']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='search']:focus,
input[type='number']:focus,
input[type='date']:focus,
input[type='password']:focus,
textarea:focus,
select:focus {
  background: #ff9;
}

input[type='radio'],
input[type='checkbox'] {
  vertical-align: baseline;
}

button,
input[type='submit'],
input[type='button'],
input[type='reset'],
input[type='radio'],
input[type='checkbox'] {
  cursor: pointer;
}

input[disabled] {
  opacity: .3;
  cursor: default;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
}

/* Remove Margin
--------------------------------*/
*:first-child,
.paragraph:first-child,
.widget:first-child,
.post:first-child {
  margin-top: 0;
}

*:last-child,
.paragraph:last-child,
.widget:last-child,
.post:last-child {
  margin-bottom: 0;
}

/* Heading
--------------------------------*/
h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
}

/* Site Width
--------------------------------*/
.site {
  margin: auto;
}

.site-header-content, .site-footer-content, .site-content, .common-content {
  max-width: 1024px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 3.125vw;
  padding-left: 3.125vw;
}

@media print, screen and (min-width: 1024px) {
  .site-header-content, .site-footer-content, .site-content, .common-content {
    padding-right: 32px;
    padding-left: 32px;
  }
}

/* Common
--------------------------------*/
.entry-content:after {
  display: block;
  clear: both;
  content: '';
}

.btn {
  display: inline-block;
  max-width: 100%;
  line-height: 1.5;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
}

.image {
  text-align: center;
}

.tagline {
  margin: 0 auto 1.5rem;
  font-weight: 700;
  text-align: center;
}

.lede {
  margin: 1.5rem auto;
}

.link {
  margin-top: 20px;
  text-align: center;
}

.paragraph {
  margin: 1em 0;
}

.paragraph > p {
  margin-top: 0;
  margin-bottom: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  word-wrap: normal;
}

/* Header
--------------------------------*/
.site-header-content {
  padding-top: 15px;
  padding-bottom: 15px;
}

.site-title {
  line-height: 1;
  margin: 0;
  padding: 0;
  font-size: 1em;
}

.site-title img {
  max-width: 420px;
  height: auto;
}

.global-nav {
  display: none;
}

.no-js .global-nav {
  display: block;
}

.global-nav__link {
  display: block;
  text-decoration: none;
}

@media print, screen and (min-width: 768px) {
  .global-nav {
    display: block;
  }
  .global-nav__list {
    display: flex;
    justify-content: flex-start;
  }
  .global-nav__item {
    flex: 1 100%;
  }
}

.fixed,
.fixed > body {
  height: 100%;
  overflow: hidden;
}

.fixed .site {
  position: relative;
}

.menu-button {
  background: transparent;
  color: inherit;
}

.menu-button[aria-expanded="true"] {
  z-index: 100001;
}

@media print, screen and (min-width: 768px) {
  .menu-button {
    display: none;
  }
}

.menu-icon {
  display: block;
}

.menu-icon__bar {
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  transition: .5s;
  fill: currentColor;
}

.menu-icon__bar--1 {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
}

.menu-icon__bar--2 {
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
}

[aria-expanded="true"] .menu-icon__bar--1 {
  -webkit-transform: translateY(0) rotate(45deg);
  transform: translateY(0) rotate(45deg);
}

[aria-expanded="true"] .menu-icon__bar--2 {
  -webkit-transform: translateY(0) rotate(-45deg);
  transform: translateY(0) rotate(-45deg);
}

[aria-expanded="true"] .menu-icon__bar--3 {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.drawer {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100000;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(0, 0, 0, 0.75);
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  color: #fff;
  transition: .3s;
}

.drawer[aria-hidden="false"] {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

@media print, screen and (min-width: 601px) {
  .admin-bar .drawer {
    top: 46px;
  }
}

@media print, screen and (min-width: 783px) {
  .admin-bar .drawer {
    top: 32px;
  }
}

/* Footer
--------------------------------*/
.organization > span {
  display: block;
}

.copyright {
  padding: 0.5em 0;
  background-color: #b81c2b;
  color: #fff;
  text-align: center;
}

.copyright > small {
  font-size: 0.875em;
}

/* Site Content
--------------------------------*/
.no-posts {
  font-weight: 700;
  text-align: center;
}

/* 404
--------------------------------*/
.search-form {
  display: flex;
  max-width: 400px;
}

.search-form__field[type='search'] {
  flex: 1;
  border-radius: 0;
}

.search-form__submit {
  flex: 0 0 4em;
  border: solid #ccc;
  border-width: 1px 1px 1px 0;
  border-radius: 0;
}

/* Sidebar
--------------------------------*/
/* Breadcrumbs
--------------------------------*/
.breadcrumbs {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0;
  font-size: .875em;
}

.breadcrumbs > ol {
  display: flex;
}

.breadcrumbs li {
  display: inline-block;
  white-space: nowrap;
}

.breadcrumbs li:first-child {
  text-transform: uppercase;
}

.breadcrumbs li + li:before {
  margin: 0 4px;
  content: '>';
}

/* Home
--------------------------------*/
.hero {
  max-height: 100vh;
  overflow: hidden;
}

.common-content--white {
  padding-top: 40px;
  padding-bottom: 60px;
}

@media print, screen and (min-width: 768px) {
  .common-content--white {
    padding-top: 80px;
    padding-bottom: 100px;
  }
}

.common-content--bg {
  background-color: #f9f9f9;
  padding-top: 40px;
  padding-bottom: 60px;
}

@media print, screen and (min-width: 768px) {
  .common-content--bg {
    padding-top: 80px;
    padding-bottom: 100px;
  }
}

.common-title {
  margin-bottom: 2em;
  color: #b81c2b;
  text-align: center;
  font-size: 1em;
}

@media print, screen and (min-width: 768px) {
  .common-title {
    font-size: 1.5em;
  }
}

.common-title[data-en]::before {
  display: block;
  font-size: 2em;
  font-family: 'Lato', sans-serif;
  content: attr(data-en);
  text-transform: uppercase;
  line-height: 1.25em;
  letter-spacing: 0.05em;
}

.common-table {
  margin-bottom: 0;
  border-collapse: collapse;
}

@media print, screen and (min-width: 768px) {
  .common-table {
    margin-bottom: 2.5em;
  }
}

.common-table th {
  border: none;
  border-top: solid 1px #E1E1E1;
  border-bottom: solid 1px #E1E1E1;
  text-align: center;
  vertical-align: middle;
}

.common-table td {
  padding: 12px 10px;
  border: none;
  border-top: solid 1px #E1E1E1;
  border-bottom: solid 1px #E1E1E1;
  vertical-align: middle;
}

.flow-list {
  margin-top: 40px;
}

.flow-list__item {
  display: flex;
  flex-wrap: wrap;
  border: solid 5px #b81c2b;
  border-radius: 6px;
  background-color: #f9f9f9;
}

.flow-list__left {
  width: 100%;
  padding: 1em 0 0 3.125vw;
  font-weight: bold;
}

@media print, screen and (min-width: 768px) {
  .flow-list__left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
    padding: 0;
  }
}

.flow-list__data {
  width: 100%;
  padding: 0 3.125vw 1em;
}

@media print, screen and (min-width: 768px) {
  .flow-list__data {
    width: 80%;
    padding: 20px 0;
  }
}

.flow-list__data p {
  margin: 0;
}

@media print, screen and (min-width: 768px) {
  .flow-list__data p {
    margin: 1em 0;
  }
}

.flow-list__title {
  font-size: 1.250em;
  color: #b81c2b;
  font-weight: bold;
}

.flow-list__hearing {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
}

.flow-list__hearing li {
  margin-right: 2.5em;
}

.flow-list__item2 {
  margin: 30px 0;
  padding: 0.5em 1em;
  border-radius: 6px;
  background-color: #b81c2b;
  color: #fff;
  position: relative;
}

.flow-list__item2::after {
  content: "";
  background-color: #b81c2b;
  position: absolute;
  top: 0;
  left: 0;
  margin: -30px 0 0 30px;
  height: 105px;
  width: 5px;
  z-index: -1;
}

/* Page
--------------------------------*/
/* Post
--------------------------------*/
.post {
  margin: 60px 0;
}

.entry-title {
  margin: 0;
}

.entry-title > a {
  text-decoration: none;
}

.entry-title > a:hover, .entry-title > a:focus {
  text-decoration: underline;
}

.entry-meta {
  margin-top: 3px;
  color: #666;
  font-size: .9375em;
}

.entry-content {
  margin-top: 40px;
}

.attachment .entry-content {
  text-align: center;
}

.entry-content strong {
  color: inherit;
}

.entry-content em {
  color: inherit;
  font-style: italic;
  font-weight: inherit;
}

.read-more {
  text-align: right;
}

.post-share {
  margin-top: 40px;
}

.post-share__heading {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  word-wrap: normal;
  margin: 0;
  padding: 0;
  border: 0;
}

/*** Wordpress Native Classes ***/
.wp-caption {
  max-width: 100%;
}

.alignleft,
.alignright,
.aligncenter {
  display: block;
  margin: 1em auto;
  text-align: center;
}

@media print, screen and (min-width: 768px) {
  .alignleft {
    float: left;
    margin: 0 1em 0 0;
  }
}

@media print, screen and (min-width: 768px) {
  .alignright {
    float: right;
    margin: 0 0 0 1em;
  }
}

.alignnone {
  vertical-align: baseline;
}

div.wpcf7 {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.field {
  margin-bottom: 20px;
}

.field__label {
  display: block;
}

@media print, screen and (min-width: 768px) {
  .field {
    display: flex;
  }
  .field__label {
    flex: 0 0 12em;
    padding: 3px 8px;
    text-align: right;
  }
  .field__control {
    flex: 1;
  }
}

.required,
.optional {
  display: inline-block;
  vertical-align: text-bottom;
  padding: 0 8px;
  background: #ff3b3b;
  color: #fff;
  font-size: .75em;
}

.optional {
  background: #3b61ff;
}

.acceptance {
  margin: 40px 0;
  text-align: center;
}

.acceptance > label {
  display: inline-block;
  padding: 8px;
  cursor: pointer;
}

.submit {
  text-align: center;
  text-indent: 20px;
}

label[for],
.wpcf7-list-item > label {
  cursor: pointer;
}

.wpcf7-submit {
  width: 240px;
}

.wpcf7-text.wpcf7-not-valid,
.wpcf7-textarea.wpcf7-not-valid {
  background: #fcc;
}

@media screen and (max-width: 767px) {
  .wpcf7-text {
    width: 100%;
  }
}

.wpcf7-textarea {
  width: 100%;
}

.wpcf7-checkbox,
.wpcf7-radio {
  display: block;
}

span.wpcf7-list-item {
  position: relative;
  left: -.8em;
}

.wpcf7-acceptance span {
  display: inline;
  position: static;
  margin: 0;
}

.wpcf7-response-output {
  text-align: center;
}

.wpcf7-recaptcha > div {
  margin: 30px auto;
}

/* Page Navigation
--------------------------------*/
.navigation {
  margin: 60px auto 0;
  text-align: center;
}

.pagination {
  margin-right: -4px;
  margin-left: -4px;
}

.post-navigation a {
  text-decoration: none;
}

.nav-links {
  display: flex;
  justify-content: center;
}

.nav-next {
  order: 0;
  margin-right: auto;
}

.nav-next > a:before {
  font-family: FontAwesome;
  content: '\f104';
}

.nav-previous {
  order: 1;
  margin-left: auto;
}

.nav-previous > a:after {
  font-family: FontAwesome;
  content: '\f105';
}

.page-numbers {
  display: inline-block;
  min-width: 1em;
  line-height: 1;
  box-sizing: content-box;
  margin: 0 4px;
  padding: 6px;
  border: 1px solid #000;
  font-size: 16px;
  text-decoration: none;
}

.page-numbers:before {
  vertical-align: top;
  font-family: FontAwesome;
}

.page-numbers.prev:before {
  content: '\f104';
}

.page-numbers.next:before {
  content: '\f105';
}

/* Social
--------------------------------*/
.share-buttons {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  text-align: center;
}

.share-buttons__item {
  flex: 0 0 auto;
  margin: 0 4px;
}

.share-buttons__link {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  text-decoration: none;
}

.share-buttons__link:before {
  display: block;
  font: 20px/2.4 FontAwesome, sans-serif;
  content: '\e911';
  speak: none;
}

.share-buttons__link.facebook {
  background-color: #3b5998;
}

.share-buttons__link.twitter {
  background-color: #1da1f3;
}

.share-buttons__link.googleplus {
  background-color: #dd4b39;
}

.share-buttons__link.tumblr {
  background-color: #36465d;
}

.share-buttons__link.pocket {
  background-color: #ef4056;
}

.share-buttons__link.hatena {
  background-color: #00a5de;
}

.share-buttons__link.line {
  background-color: #00c300;
}

.share-buttons__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  word-wrap: normal;
}

.share-buttons__link.facebook:before {
  content: '\f09a';
}

.share-buttons__link.twitter:before {
  content: '\f099';
}

.share-buttons__link.googleplus:before {
  content: '\f0d5';
}

.share-buttons__link.tumblr:before {
  content: '\f173';
}

.share-buttons__link.pocket:before {
  content: '\f265';
}

.share-buttons__link.hatena:before {
  content: 'B!';
  font-family: Verdana, sans-serif;
  font-weight: 700;
}

.share-buttons__link.line:before {
  content: 'LINE';
}

/* Extra
--------------------------------*/
.for-ie {
  padding: 10px 0;
  background: #f00;
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/* Media Queries
--------------------------------*/
@media print {
  body {
    min-width: 1024px;
  }
  h1, h2, h3, h4, h5, h6,
  figcaption {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  blockquote,
  figure,
  table {
    page-break-inside: avoid;
  }
}
