@charset "UTF-8";
@import url("reset.css");
@import url("m_menu.css");
/*共通設定-------------------------------------------------------------------------------------------------------------------------------------*/
/*基本設定*/
html {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1.5;
  color: #191919; }

main {
  display: block; }

header a img, main a img, footer a img {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease; }

header a:hover img, main a:hover img, footer a:hover img {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -moz-opacity: 0.8; }

.fade {
  /*margin-top: 10vh;*/
  opacity: 0;
  transition: opacity 2s; }

.fade.view {
  opacity: 1; }

/*ヘッダー*/
header {
  width: 100%;
  background: white;
  position: relative;
  height: 130px;
  padding: 10px 0;
  z-index: 2; }
  header #header_inner {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between; }
    header #header_inner .rogo {
      width: 150px; }
    header #header_inner #inner_right {
      width: calc(100% - 200px);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between; }
      header #header_inner #inner_right #menuList {
        width: calc(100% - 260px); }
      header #header_inner #inner_right p {
        width: 200px; }
        header #header_inner #inner_right p a {
          background: #BC1B21;
          border-radius: 50px;
          position: relative;
          display: flex;
          justify-content: space-around;
          align-items: center;
          margin: 0 auto;
          max-width: 180px;
          padding: 10px 25px;
          color: #fff;
          transition: 0.3s ease-in-out;
          font-weight: 500;
          text-decoration: none; }
          header #header_inner #inner_right p a:hover {
            background: #E02A31;
            color: #FFF; }
          header #header_inner #inner_right p a:after {
            content: '';
            width: 5px;
            height: 5px;
            border-top: 3px solid #fff;
            border-right: 3px solid #fff;
            transform: rotate(45deg) translateY(-50%);
            position: absolute;
            top: 50%;
            right: 20px;
            border-radius: 1px;
            transition: 0.3s ease-in-out; }
          header #header_inner #inner_right p a:hover:after {
            border-color: #FFF; }

.fixed-header {
  width: 100%;
  background-color: white;
  height: 130px;
  padding: 10px 0;
  position: fixed;
  top: -150px;
  left: 0;
  z-index: 5;
  transition: all 0.3s ease-in-out;
  visibility: hidden; }
  .fixed-header #header_inner02 {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between; }
    .fixed-header #header_inner02 .rogo {
      width: 150px; }
    .fixed-header #header_inner02 #inner_right02 {
      width: calc(100% - 200px);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between; }
      .fixed-header #header_inner02 #inner_right02 #menuList02 {
        width: calc(100% - 260px); }
      .fixed-header #header_inner02 #inner_right02 p {
        width: 200px; }
        .fixed-header #header_inner02 #inner_right02 p a {
          background: #BC1B21;
          border-radius: 50px;
          position: relative;
          display: flex;
          justify-content: space-around;
          align-items: center;
          margin: 0 auto;
          max-width: 180px;
          padding: 10px 25px;
          color: #fff;
          transition: 0.3s ease-in-out;
          font-weight: 500;
          text-decoration: none; }
          .fixed-header #header_inner02 #inner_right02 p a:hover {
            background: #E02A31;
            color: #FFF; }
          .fixed-header #header_inner02 #inner_right02 p a:after {
            content: '';
            width: 5px;
            height: 5px;
            border-top: 3px solid #fff;
            border-right: 3px solid #fff;
            transform: rotate(45deg) translateY(-50%);
            position: absolute;
            top: 50%;
            right: 20px;
            border-radius: 1px;
            transition: 0.3s ease-in-out; }
          .fixed-header #header_inner02 #inner_right02 p a:hover:after {
            border-color: #FFF; }

.fixed-header.is-show {
  top: 0;
  visibility: visible; }

/*メイン*/
#top_back {
  width: 100%;
  background-image: url("../img/company/top.png");
  background-position: center;
  background-repeat: repeat;
  background-size: cover; }
  #top_back h1 {
    width: 30%;
    padding: 3em 10%;
    font-size: 200%;
    background: rgba(94, 94, 94, 0.7);
    color: #fff; }
    #top_back h1 span {
      display: block;
      font-weight: normal;
      font-size: 50%; }

#philosophy {
  width: 100%;
  background-color: #f5f5f5;
  padding: 1em 0 0;
  margin: 2em auto; }
  #philosophy h2 {
    font-size: 200%;
    width: 80%;
    margin: 0 auto; }
    #philosophy h2 span {
      display: block;
      font-size: 50%;
      color: #BC1B21; }
  #philosophy #intro-column {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
    margin: 2em auto 0; }
    #philosophy #intro-column .inner-left {
      width: 60%;
      margin: 0 auto; }
      #philosophy #intro-column .inner-left h3 {
        font-size: 1.3em; }
      #philosophy #intro-column .inner-left p {
        margin: 1em auto; }
      #philosophy #intro-column .inner-left dt {
        font-size: 1.2em;
        font-weight: bold;
        margin: 5em auto 0; }
      #philosophy #intro-column .inner-left dd {
        margin: auto 1em; }
    #philosophy #intro-column .inner-right {
      width: 25%;
      margin: 0 1em; }
      #philosophy #intro-column .inner-right li {
        margin: 1em auto;
        padding: 0 3em; }
      #philosophy #intro-column .inner-right p {
        text-align: center;
        margin: 1em auto;
        font-weight: bold; }

#about {
  width: 70%;
  padding: 1em 5em 0;
  margin: 2em auto; }
  #about h2 {
    font-size: 200%;
    width: 100%;
    margin: 0 auto; }
    #about h2 span {
      display: block;
      font-size: 50%;
      color: #BC1B21; }
  #about #tab-1 {
    width: 80%;
    margin: 2em auto 5em; }
    #about #tab-1 #table-1 {
      width: 80%;
      margin: 1em auto;
      align-content: center; }
      #about #tab-1 #table-1 th {
        border: 1px #000 solid;
        padding: 1.5em;
        margin: 0 auto;
        -moz-text-align-last: justify;
        text-align-last: justify;
        text-justify: inter-ideograph;
        vertical-align: middle; }
      #about #tab-1 #table-1 td {
        border: 1px #000 solid;
        padding: 1.5em; }
        #about #tab-1 #table-1 td a {
          color: #000;
          text-decoration: none; }
          #about #tab-1 #table-1 td a:hover, #about #tab-1 #table-1 td a:active {
            color: #000;
            text-decoration: underline; }

#history {
  width: 100%;
  padding: 1em 0 0;
  margin: 2em auto;
  background-image: url("../img/company/bg-red.png"); }
  #history #hist-list {
    width: 70%;
    margin: 0 auto 3em;
    padding: 1em 0 3em 0; }
    #history #hist-list h2 {
      font-size: 200%;
      width: 100%;
      margin: 0 auto;
      color: #FFF; }
      #history #hist-list h2 span {
        display: block;
        font-size: 50%;
        color: #fff; }
    #history #hist-list #tab-2 {
      width: 80%;
      margin: 0 auto; }
      #history #hist-list #tab-2 #table-2 {
        width: 80%;
        margin: 1em auto;
        align-content: center;
        font-weight: bold;
        color: #fff; }
        #history #hist-list #tab-2 #table-2 th {
          border: 1px #fff solid;
          padding: 1.5em;
          margin: 0 auto;
          vertical-align: middle; }
        #history #hist-list #tab-2 #table-2 td {
          border: 1px #fff solid;
          padding: 1.5em; }

#map {
  width: 100%;
  margin: 1em auto; }

/*TOPへ戻るボタン設定*/
#page-top {
  position: fixed;
  bottom: 10px;
  right: 20px;
  font-size: 90%;
  z-index: 999;
  font-family: "M PLUS Rounded 1c";
  font-weight: bold; }
  #page-top img {
    width: 50px;
    display: block;
    margin: 0 auto 0.5em; }
  #page-top a {
    /*コレ*/
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: #BC1B21;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    margin: 10px 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease; }
  #page-top a:hover, #page-top a:active {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7; }

/*フッター*/
footer {
  margin: 8em 0 0; }
  footer figure {
    padding: 5em 0 0;
    width: 200px;
    margin: 0 auto; }
  footer #footer_inner {
    width: 80%;
    margin: 3em auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; }
    footer #footer_inner dl {
      width: 30%; }
      footer #footer_inner dl dt {
        font-weight: bold;
        font-size: 130%; }
      footer #footer_inner dl dd span {
        display: block;
        margin: 2em 0 0;
        font-size: 130%;
        font-weight: bold; }
        footer #footer_inner dl dd span a {
          color: #191919;
          text-decoration: none; }
          footer #footer_inner dl dd span a:hover, footer #footer_inner dl dd span a:active {
            color: #191919;
            text-decoration: underline; }
    footer #footer_inner #footer_right {
      width: 70%; }
      footer #footer_inner #footer_right nav #f_menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between; }
        footer #footer_inner #footer_right nav #f_menu li {
          flex: 1;
          text-align: center; }
          footer #footer_inner #footer_right nav #f_menu li a {
            color: #191919;
            font-weight: bold;
            text-decoration: none; }
            footer #footer_inner #footer_right nav #f_menu li a:hover, footer #footer_inner #footer_right nav #f_menu li a:active {
              color: #191919;
              text-decoration: underline; }
      footer #footer_inner #footer_right #f_menu02 {
        width: 100%;
        margin: 2em 0 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between; }
        footer #footer_inner #footer_right #f_menu02 li {
          flex: 5; }
          footer #footer_inner #footer_right #f_menu02 li a {
            color: #191919;
            text-decoration: none; }
            footer #footer_inner #footer_right #f_menu02 li a:hover, footer #footer_inner #footer_right #f_menu02 li a:active {
              color: #191919;
              text-decoration: underline; }
          footer #footer_inner #footer_right #f_menu02 li ul {
            flex-direction: column; }
            footer #footer_inner #footer_right #f_menu02 li ul li {
              flex: 1; }
  footer p {
    width: 96%;
    margin: 5em auto 0; }
    footer p a {
      background: #BC1B21;
      border-radius: 50px;
      position: relative;
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin: 0 auto;
      max-width: 180px;
      padding: 10px 25px;
      color: #fff;
      transition: 0.3s ease-in-out;
      font-weight: 500;
      text-decoration: none; }
      footer p a:hover {
        background: #E02A31;
        color: #FFF; }
      footer p a:after {
        content: '';
        width: 5px;
        height: 5px;
        border-top: 3px solid #fff;
        border-right: 3px solid #fff;
        transform: rotate(45deg) translateY(-50%);
        position: absolute;
        top: 50%;
        right: 20px;
        border-radius: 1px;
        transition: 0.3s ease-in-out; }
      footer p a:hover:after {
        border-color: #FFF; }
  footer address {
    width: 96%;
    text-align: center;
    font-size: 87.5%;
    font-style: normal;
    padding: 0.5em 2%;
    margin: 5em 0 0;
    background-color: #CECECE; }

/*TOPへ戻るボタン設定*/
#page-top {
  position: fixed;
  bottom: 10px;
  right: 20px;
  font-size: 90%;
  z-index: 999;
  font-family: "M PLUS Rounded 1c";
  font-weight: bold; }
  #page-top img {
    width: 50px;
    display: block;
    margin: 0 auto 0.5em; }
  #page-top a {
    /*コレ*/
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: #BC1B21;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    margin: 10px 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease; }
  #page-top a:hover, #page-top a:active {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7; }

/*共通設定ここまで-------------------------------------------------------------------------------------------------------------------------------------*/
/* pc */
@media screen and (min-width: 1300px) {
  /*ヘッダー*/
  /*メイン*/
  .sp {
    display: none; }

  /*フッター*/ }
/* tablet1 */
@media only screen and (min-width: 1024px) and (max-width: 1420px) {
  /*基本設定*/
  html {
    font-size: 90%; }

  .sp {
    display: none; }

  /*ヘッダー*/
  header #header_inner {
    width: 90%; }
    header #header_inner #inner_right {
      width: calc(100% - 180px); }
      header #header_inner #inner_right #menuList {
        width: calc(100% - 200px); }
      header #header_inner #inner_right p {
        width: 200px; }
        header #header_inner #inner_right p a {
          max-width: 130px;
          padding: 10px 25px; }

  .fixed-header #header_inner02 {
    width: 90%; }
    .fixed-header #header_inner02 #inner_right02 {
      width: calc(100% - 180px); }
      .fixed-header #header_inner02 #inner_right02 #menuList02 {
        width: calc(100% - 200px); }
      .fixed-header #header_inner02 #inner_right02 p {
        width: 200px; }
        .fixed-header #header_inner02 #inner_right02 p a {
          max-width: 130px;
          padding: 10px 25px; }

  /*メイン*/
  /*フッター*/ }
/* tablet2  */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /*基本設定*/
  html {
    font-size: 85%;
    position: relative; }

  /*ヘッダー*/
  header {
    position: fixed;
    top: 0;
    z-index: 6; }
    header #header_inner {
      width: 90%; }

  .fixed-header {
    display: none; }

  /*メイン*/
  .pc {
    display: none; }

  #top_back {
    margin: 150px 0 0; }
    #top_back h1 {
      font-size: 180%; }

  #philosophy {
    width: 100%;
    margin: 0; }
    #philosophy h2 {
      width: 90%;
      font-size: 180%; }
    #philosophy #intro-column {
      width: 80%;
      margin: 2em auto 0; }
      #philosophy #intro-column .inner-left {
        width: 90%;
        margin: 0 auto; }
        #philosophy #intro-column .inner-left dt {
          margin: 2em auto 0; }
        #philosophy #intro-column .inner-left dd {
          margin: auto 1em; }
      #philosophy #intro-column .inner-right {
        width: 90%;
        margin: 2em auto 0; }

  #about {
    width: 90%;
    padding: 1em 0; }
    #about h2 {
      font-size: 180%;
      width: 100%; }
    #about #tab-1 {
      width: 90%; }
      #about #tab-1 #table-1 {
        width: 90%; }

  #history {
    width: 100%; }
    #history #hist-list {
      width: 90%; }
      #history #hist-list h2 {
        font-size: 180%;
        width: 100%; }
      #history #hist-list #tab-2 {
        width: 90%;
        margin: 0 auto; }
        #history #hist-list #tab-2 #table-2 {
          width: 90%; }

  /*フッター*/
  footer #footer_inner {
    width: 90%;
    margin: 3em auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; }
    footer #footer_inner dl {
      width: 30%; }
      footer #footer_inner dl dt {
        font-size: 120%; }
    footer #footer_inner #footer_right {
      width: 66%; } }
/* tablet3  */
@media only screen and (max-width: 767px) {
  /*基本設定*/
  html {
    font-size: 85%;
    position: relative; }

  /*ヘッダー*/
  header {
    width: 100%;
    background: white;
    height: 80px;
    padding: 10px 0;
    z-index: 2;
    position: fixed;
    top: 0;
    z-index: 6; }
    header #header_inner {
      width: 90%; }
      header #header_inner .rogo {
        width: 100px; }
      header #header_inner #inner_right {
        width: calc(100% - 120px); }
        header #header_inner #inner_right p {
          width: 120px; }
          header #header_inner #inner_right p a {
            max-width: 120px;
            padding: 10px 10px;
            font-size: 90%; }
            header #header_inner #inner_right p a:after {
              display: none; }
            header #header_inner #inner_right p a:hover:after {
              border-color: #FFF; }

  .fixed-header {
    display: none; }

  /*メイン*/
  #top_back {
    margin: 100px 0 0; }
    #top_back h1 {
      width: 40%;
      padding: 3em 5%;
      font-size: 130%; }

  #philosophy h2 {
    width: 90%;
    font-size: 130%; }
  #philosophy #intro-column {
    width: 83%;
    margin: 2em auto 0; }
    #philosophy #intro-column .inner-left {
      width: 100%;
      margin: 0 auto; }
      #philosophy #intro-column .inner-left dt {
        margin: 2em auto 0;
        font-size: 1em; }
      #philosophy #intro-column .inner-left dd {
        margin: auto 1em; }
    #philosophy #intro-column .inner-right {
      width: 90%;
      margin: 2em auto 0; }

  #about {
    width: 90%;
    padding: 1em 0; }
    #about h2 {
      font-size: 130%;
      width: 100%; }
    #about #tab-1 {
      width: 100%; }
      #about #tab-1 #table-1 {
        width: 90%; }
        #about #tab-1 #table-1 th {
          font-size: 0.5em; }
        #about #tab-1 #table-1 td {
          font-size: 0.4em; }

  #history {
    width: 100%; }
    #history #hist-list {
      width: 90%; }
      #history #hist-list h2 {
        font-size: 130%;
        width: 100%; }
      #history #hist-list #tab-2 {
        width: 100%;
        margin: 0 auto; }
        #history #hist-list #tab-2 #table-2 {
          width: 90%; }
          #history #hist-list #tab-2 #table-2 th {
            font-size: 0.8em; }
          #history #hist-list #tab-2 #table-2 td {
            font-size: 0.8em; }

  /*フッター*/
  footer figure {
    padding: 0; }
  footer #footer_inner {
    width: 90%;
    margin: 3em auto 0;
    flex-direction: column; }
    footer #footer_inner dl {
      width: 100%;
      text-align: center; }
      footer #footer_inner dl dt {
        font-size: 120%; }
    footer #footer_inner #footer_right {
      display: none; } }
/* smartPhone1 */
@media only screen and (max-width: 499px) {
  /*基本設定*/
  html {
    font-size: 80%; }

  /*ヘッダー*/
  /*メイン*/
  /*フッター*/ }
