@charset "UTF-8";

/*-----------------
著者情報
-----------------*/
.author {
  text-align: right;
  color: #232323;
}

.lead-sentence01 {
  color: #232323;
}

.p-wrap {
  color: #232323;
}

/*-----------------
企業沿革
-----------------*/
.history-logo {
  display: block;
}

.history-table {
  color: #232323;
}

/*-----------------
地図
-----------------*/
.googlemap {
  position: relative;
  height: 0;
  overflow: hidden;
}

.googlemap iframe,
.googlemap object,
.googlemap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*-----------------
企業概要
-----------------*/
.info-list {
  color: #232323;
}

/*-----------------
スマホ
-----------------*/
@media screen and (max-width: 599px) {

  /*-------SP：代表メッッセージと企業理念-------*/
  .headline01 {
    padding-top: 30px;
  }

  .lead-sentence01 {
    margin-top: 50px;
  }

  .p-wrap {
    margin-top: 9px;
    font-size: 13px;
  }

  .author {
    font-size: 13px;
    margin-top: 4px;
  }

  .author-name {
    margin-left: 13px;
  }

  .text-wrap {
    padding-top: 40px;
    padding-bottom: 55px;
  }

  .company-pic {
    width: 100%;
    display: block;
  }

  /*-------SP：企業沿革-------*/
  .history-line+.history-line {
    padding-top: 21px;
  }

  .history-table {
    padding-top: 38px;
    padding-bottom: 51px;
  }

  .history-line {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 18px;
  }

  .history-line1 {
    margin-top: 45px;
  }

  .history-date {
    color: #8cba28;
    font-size: 15px;
    font-weight: bold;
  }

  .history-logo1 {
    width: 85px;
  }

  .history-logo2 {
    width: 81px;
  }

  .history-logo3 {
    width: 130px;
  }

  .history-text {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.8em;
  }

  .history-logo {
    margin-top: 9px;
  }

  .lead-sentence01 {
    font-weight: bold;
  }

  /*-------SP：企業概要-------*/
  .info-name {
    background-color: #f3f3f3;
    padding: 6px 13px;
    font-size: 15px;
    font-weight: bold;
    margin: 0 8px;
  }

  .info-text {
    padding: 13px;
    font-size: 14px;
    line-height: 1.8em;
    text-decoration: none;
  }

  .info-list {
    margin-top: 42px;
  }

  /*-------sp：空白-------*/
  .margin_tpbt_company_sp {
    margin-top: 75px;
  }
}

/*-----------------
パソコン
-----------------*/
@media screen and (min-width: 600px) {

  /*-------PC：代表メッセージと企業理念-------*/
  .lead-sentence01 {
    margin-top: 20px;
  }

  .headline01 {
    word-break: break-all;
  }

  .p-wrap {
    font-size: 18px;
    display: table;
    margin: 59px auto 0 auto;
  }

  .position_r::before {
    /*sp設定なし*/
    content: "";
    display: block;
    background-size: cover;
    background-position: center;
    position: absolute;
    z-index: -100;
  }

  /*-------PC：代表メッセージ-------*/
  .area1::before {
    background-image: url(../img/bitwin/pr_bitwin_bg.jpg);
    width: 72.166666666666378%;
    padding-top: 52.749999999999789%;
    top: 0px;
    right: 0;
  }

  .area1::after {
    content: "";
    display: block;
    background-size: cover;
    background-position: center;
    position: absolute;
    z-index: -2;
    background-image: url(../img/bitwin/background_nico2.png);
    width: 551px;
    padding-top: 551px;
    right: 0;
    bottom: -313px;
  }

  .author {
    margin-top: 121px;
  }

  .author-name {
    margin-left: 20px;
    font-size: 20px;
  }

  .author-position {
    font-size: 16px;
  }

  /*-------PC：企業理念-------*/
  .area2 {
    margin-top: 230px;
  }

  .area2::before {
    background-image: url(../img/bitwin/staff_image_bg01.png);
    /*
        width: 74.916666666666367%;
        */
    width: 75vw;
    padding-top: 57.416666666666437%;
    top: 0px;
    left: 0;
  }

  .area2 .lead-sentence01,
  .area2 .headline01 {
    /*
        padding-left: 58.583333333333099%;
        */
    padding-left: 60.7vw;
  }

  .area2 .headline01 {
    padding-top: 22.249999999999911%;
  }

  .area2 .p-wrap {
    padding: 0 20px;
  }

  /*-------PC：企業沿革&企業概要-------*/
  .history .headline01,
  .info .headline01 {
    text-align: center;
  }

  .history .headline01::after,
  .info .headline01::after {
    margin-left: auto;
    margin-right: auto;
  }

  /*-------PC：企業沿革-------*/
  .history {
    margin-top: 155px;
    background-color: #f0f5e6;
    padding: 100px 0 130px 0;
  }

  .history-wrap {
    background: #fff;
    padding: 65px 49px 80px 49px;
    margin: 40px auto 0px auto;
    max-width: 800px;
  }

  .history-line {
    display: flex;
  }

  .history-icon {
    position: relative;
    text-align: center;
  }

  .history-block1 {
    position: relative;
  }

  .history-block1::before {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    background-color: #313131;
    top: 0;
    right: 20px;
    /*right= (.history-iconのwidth - 縦線のwidth) ÷ 2*/
    z-index: 0;
  }

  .history-block2 {
    display: flex;
    align-items: center;
  }

  .history-date {
    line-height: 1;
    text-align: left;
    vertical-align: middle;
    width: 103px;
  }

  .history-icon {
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .history-text {
    vertical-align: top;
    margin-left: 25px;
    font-size: 16px;
    position: relative;
    bottom: 4px;
    line-height: 2em;
    /*bottom = (line-height - font-size) ÷ 2 */
  }

  .history-img {
    position: relative;
    z-index: 1;
  }

  .history-icon,
  .icon-smile {
    width: 45px;
  }

  .icon-circle {
    width: 16px;
  }

  .history-line1 .history-block1,
  .history-line1 .history-text {
    padding-top: 29px;
  }

  .history-line2 .history-block1,
  .history-line2 .history-text {
    padding-top: 52px;
  }

  .history-line3 .history-block1,
  .history-line3 .history-text {
    padding-top: 64px;
  }

  .history-line4 .history-block1,
  .history-line4 .history-text {
    padding-top: 27px;
  }

  .history-line5 .history-block1,
  .history-line5 .history-text {
    padding-top: 35px;
  }

  .history-line6 .history-block1,
  .history-line6 .history-text {
    padding-top: 39px;
  }

  .history-line7 .history-block1,
  .history-line7 .history-text {
    padding-top: 29px;
  }

  .history-line8 .history-block1,
  .history-line8 .history-text {
    padding-top: 29px;
  }

  .history-logo {
    margin-top: 18px;
  }

  .history-logo1 {
    width: 105px;
  }

  .history-logo2 {
    width: 113px;
  }

  .history-logo3 {
    width: 155px;
  }

  .history-date {
    font-size: 16px;
  }

  /*-------PC：企業概要-------*/
  .info .headline01 {
    margin-top: 100px;
  }

  .base-width-info {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .info-list {
    margin-top: 90px;
  }

  .info-line {
    display: flex;
    border-bottom: 2px solid #a0a0a0;
    padding: 25px 70px;
  }

  .info-line:first-child {
    border-top: 2px solid #a0a0a0;
  }

  .info-name {
    width: 160px;
    font-size: 16px;
  }

  .info-text {
    width: calc(100% - 160px);
    text-decoration: none;
    font-size: 16px;
  }

  .googlemap {
    padding-top: 300px;
    margin-top: 80px;
  }
}

/*-----------------
要素が際限なく拡大されるのを防ぐ
-----------------*/
@media screen and (min-width: 1200px) {

  /*-------PC：代表メッセージ-------*/
  .area1::before {
    width: 866px;
    padding-top: 633px;
  }

  /*-------PC：企業理念-------*/
  .area2 .lead-sentence01,
  .area2 .headline01 {
    padding-left: 730px;
  }

  .area2::before {
    width: 899px;
    padding-top: 689px;
  }

  .area2 .headline01 {
    padding-top: 267px;
  }
}