
/*===============================================
●共通
===============================================*/



/*===============================================
●画面の横幅が813px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 813px) {

  .sub-page-main-img {
    background: url(../images/company/kv.jpg) center center no-repeat;
    background-size: cover;
  }

  .sub-page-main-img > h1 {
    width: 90%;
    max-width: 802px;
  }

  /* 企業理念 */
  .box-philosophy {
    width: 100%;
    max-width: 1200px;
    height: 1215px;
    margin: 0 auto;
    padding: 115px 0 90px 0;
    background: url(../images/company/bg.png) bottom center no-repeat;
    background-size: cover;
  }

  .box-philosophy > p {
    margin: 80px auto 0;
    font-size: 28px;
  }

  .box-philosophy > ul {
    width: 640px;
    margin: 0 auto;
  }

  .box-philosophy > ul > li {
    position: relative;
    min-height: 130px;
    margin: 50px auto 0;
    padding-left: 150px;
    text-align: left;
  }

  .box-philosophy > ul > li:nth-of-type(2) {
    padding-top: 22px;
  }

  .box-philosophy > ul > li > div {
    position: absolute;
    top: 10px;
    left: 0;
    width: 120px;
    height: 120px;
    padding-top: 20px;
    text-align: center;
    border: 1px solid #CEBC36;
  }

  .box-philosophy > ul > li > div > p:nth-of-type(1) {
    font-size: 32px;
    font-weight: 700;
    color: #CEBC36;
    letter-spacing: 0.04em;
  }

  .box-philosophy > ul > li > div > p:nth-of-type(2) {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .box-philosophy > ul > li > p.txt01 {
    margin: 0;
    font-size: 24px;
    line-height: 2;
  }

  .box-philosophy > ul > li > p.txt01 > span {
    font-size: 14px;
  }

  .box-philosophy > ul > li > p.txt02 {
    margin: 5px 0 10px;
    line-height: 2;
  }

  /* ロゴメッセージ */
  .box-logo {
    padding-top: 100px;
  }

  .box-logo > .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    max-width: 1048px;
    margin: 80px auto 0;
  }

  .box-logo > .inner > div {
    width: 50%;
    max-width: 524px;
    text-align: left;
  }

  .box-logo > .inner > div:nth-of-type(1) > img {
    width: 240px;
    margin: 0 0 0 162px;
  }

  /* 会社概要 */
  .box-about {
    margin-top: 100px;
    padding: 115px 0 120px 0;
    background-color: #E3E3DA;
  }

  .box-about > .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    max-width: 1400px;
    margin: 120px auto 0;
  }

  .box-about > .inner > div {
    width: 48%;
    max-width: 640px;
    text-align: left;
  }

  /* 沿革 */
  .box-history {
    padding-top: 115px;
  }

  .box-history > .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    max-width: 1400px;
    margin: 120px auto 0;
  }

  .box-history > .inner > div {
    width: 48%;
    max-width: 640px;
    text-align: left;
  }

  .box-history > .inner > div:nth-of-type(2) {
    max-width: 440px;
  }

  .box-history > .inner > div > table th {
    color: #CEBC36;
  }

  .box-history > .inner > div > .history01 {
    width: 256px;
    margin-left: 184px;
  }

  .box-history > .inner > div > .txt01 {
    width: 256px;
    margin-top: 10px;
    margin-left: 184px;
    font-size: 14px;
    text-align: right;
  }

  .box-history > .inner > div > .history02 {
    width: 440px;
    margin-top: 50px;
  }

  .box-history > .inner > div > .txt02 {
    width: 440px;
    margin-top: 10px;
    font-size: 14px;
    text-align: right;
  }

}

/*===============================================
●画面の横幅が812px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 812px) {

  .sub-page-main-img {
    background: url(../images/company/kv_sp.jpg) center center no-repeat;
    background-size: cover;
  }

  .sub-page-main-img > h1 {
    width: 65%;
  }

  /* 企業理念 */
  .box-philosophy {
    width: 100%;
    margin: 0 auto;
    padding: 60px 0;
    background: url(../images/company/bg_sp.png) bottom center no-repeat;
    background-size: cover;
  }

  .box-philosophy > p {
    margin: 40px auto 0;
    font-size: 18px;
  }

  .box-philosophy > ul {
    width: 90%;
    margin: 0 auto;
  }

  .box-philosophy > ul > li {
    position: relative;
    min-height: 90px;
    margin: 30px auto 0;
    padding-left: 95px;
    text-align: left;
  }

  .box-philosophy > ul > li > div {
    position: absolute;
    top: 5px;
    left: 0;
    width: 80px;
    height: 80px;
    padding-top: 13px;
    text-align: center;
    border: 1px solid #CEBC36;
  }

  .box-philosophy > ul > li > div > p:nth-of-type(1) {
    font-size: 20px;
    font-weight: 700;
    color: #CEBC36;
    letter-spacing: 0.04em;
  }

  .box-philosophy > ul > li > div > p:nth-of-type(2) {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .box-philosophy > ul > li > p.txt01 {
    margin: 0;
    font-size: 16px;
    line-height: 2;
  }

  .box-philosophy > ul > li > p.txt01 > span {
    font-size: 14px;
  }

  .box-philosophy > ul > li > p.txt02 {
    margin: 5px 0 10px;
    line-height: 2;
  }

  /* ロゴメッセージ */
  .box-logo {
    padding-top: 60px;
  }

  .box-logo > .inner {
    width: 90%;
    margin: 0 auto;
  }

  .box-logo > .inner > div {
    margin: 50px auto 0;
    text-align: left;
  }

  .box-logo > .inner > div:nth-of-type(1) > img {
    width: 240px;
    margin: 0 auto;
  }

  /* 会社概要 */
  .box-about {
    margin-top: 50px;
    padding: 70px 0 60px 0;
    background-color: #E3E3DA;
  }

  .box-about > .inner {
    width: 100%;
    margin: 40px auto 0;
  }

  .box-about > .inner > div {
    text-align: left;
  }

  .box-about > .inner > div:nth-of-type(2) {
    width: 90%;
    margin: 50px auto 0;
  }

  /* 沿革 */
  .box-history {
    padding-top: 70px;
  }

  .box-history > .inner {
    width: 100%;
    margin: 50px auto 0;
  }

  .box-history > .inner > div {
    text-align: left;
  }

  .box-history > .inner > div:nth-of-type(2) {
    width: 90%;
    margin: 50px auto 0;
  }

  .box-history > .inner > div > table th {
    color: #CEBC36;
  }

  .box-history > .inner > div > .history01 {
    width: 60%;
    margin-left: 40%;
  }

  .box-history > .inner > div > .txt01 {
    width: 60%;
    margin-top: 10px;
    margin-left: 40%;
    font-size: 12px;
    text-align: right;
  }

  .box-history > .inner > div > .history02 {
    width: 100%;
    margin-top: 40px;
  }

  .box-history > .inner > div > .txt02 {
    width: 100%;
    margin-top: 10px;
    font-size: 12px;
    text-align: right;
  }

}
