/* CSS Document */
#header-img {
  background: url("../img/01-header.jpg") center/cover no-repeat; }

#philosophy {
  padding: 10rem 0 7rem;
  margin-bottom: 10rem;
  background: #d6dfeb;
  position: relative; }
  @media screen and (max-width: 575px) {
    #philosophy {
      padding: 10rem 0 5rem;
      margin-bottom: 5rem; } }
  #philosophy .philosophy-container {
    max-width: 670px; }
    @media screen and (max-width: 991px) {
      #philosophy .philosophy-container {
        max-width: 600px; } }
  #philosophy img {
    position: absolute;
    top: 0;
    right: 10rem;
    height: 130px; }
    @media screen and (max-width: 991px) {
      #philosophy img {
        right: 5rem;
        height: 100px; } }
    @media screen and (max-width: 767px) {
      #philosophy img {
        right: 1rem;
        height: 80px; } }
  #philosophy h3, #philosophy dt, #philosophy dd {
    font-family: YuMincho,"Hiragino Mincho ProN",serif;
    font-weight: 100; }
  #philosophy h3 {
    text-align: center;
    font-size: 35px;
    font-size: 3.5rem;
    font-weight: 700;
    color: #003685;
    letter-spacing: 0.1em;
    margin-bottom: 3rem; }
  #philosophy dt {
    font-size: 25px;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    line-height: 1.5em;
    text-align: center; }
  #philosophy dd {
    text-indent: -2em;
    padding-left: 2em;
    text-align: justify;
    display: inline-block; }

#message {
  margin-bottom: 15rem; }
  @media screen and (max-width: 991px) {
    #message {
      margin-bottom: 10rem; } }
  #message h2, #message p {
    text-align: justify; }
  #message .ceo-name {
    text-align: end; }
    #message .ceo-name span {
      font-size: 23px;
      font-size: 2.3rem;
      font-weight: 600; }
    @media screen and (max-width: 767px) {
      #message .ceo-name {
        margin-bottom: 3rem; } }
  @media screen and (max-width: 767px) {
    #message img {
      height: 390px;
      width: 100%;
      object-fit: cover;
      object-position: 0px -23px; } }
  @media screen and (max-width: 575px) {
    #message img {
      height: 320px; } }

#profile {
  margin-bottom: 15rem; }
  @media screen and (max-width: 991px) {
    #profile {
      margin-bottom: 10rem; } }
  #profile .companyimg {
    overflow: hidden;
    margin-left: calc(1140px - 100vw); }
    @media screen and (max-width: 1199px) {
      #profile .companyimg {
        margin-left: calc(960px - 100vw); } }
    @media screen and (max-width: 991px) {
      #profile .companyimg {
        margin-left: calc(720px - 100vw); } }
    @media screen and (max-width: 767px) {
      #profile .companyimg {
        margin-left: 0; } }
    #profile .companyimg img {
      width: 100%;
      height: 680px;
      object-fit: cover; }
      @media screen and (max-width: 991px) {
        #profile .companyimg img {
          height: 600px; } }
      @media screen and (max-width: 767px) {
        #profile .companyimg img {
          height: auto;
          margin-bottom: 2rem; } }

#history {
  margin-bottom: 15rem; }
  @media screen and (max-width: 991px) {
    #history {
      margin-bottom: 10rem; } }
  #history th {
    width: 15%; }
    @media screen and (max-width: 575px) {
      #history th {
        width: 30%; } }

#profile table, #history table {
  width: 100%; }
  #profile table th, #history table th {
    vertical-align: top;
    padding: 1rem;
    font-weight: 100;
    border-bottom: 1px solid #003685; }
    @media screen and (max-width: 575px) {
      #profile table th, #history table th {
        padding: 1rem 0 1rem 1rem; } }
  #profile table td, #history table td {
    text-align: justify;
    border-bottom: 1px solid #C8C8C8;
    padding: 1rem 2rem; }
    @media screen and (max-width: 575px) {
      #profile table td, #history table td {
        padding: 1rem 0rem 1rem 1rem; } }
