.pcOnly {
  display: block;
}
.spOnly {
  display: none;
}
.main .pageTitleBlock {
  width: 100%;
  background-image: url(/corporate/wp-content/images/common/pageTitleBlock_red_sp_bg@3x.png);
}
.main .company {
  padding-top: 26.13333vw;
}
.main .company section:not(:first-child) {
  margin-top: 9.04977vw;
}
.main .company section:last-of-type {
  margin-bottom: 9.04977vw;
}
.main .company .titleBlock {
  display: flex;
  flex-direction: column;
}
.main .company .titleBlock .title {
  letter-spacing: inherit;
  border-bottom: 1px solid #c03;
  padding-bottom: 5.33333vw;
  font-size: 5.33333vw;
}
.main .company .conductTitle {
  font-size: 6vw;
  font-family: "Noto Serif JP",serif;
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.03em;
  margin: 11.2vw auto 11.73333vw;
}
.main .company .conductTitle.conductTitleGreetings {
  margin-bottom: -7.73333vw;
  letter-spacing: 5.5px;
  line-height: 1.8;
}
.main .company .conductTitle.conductTitle.conductTitlePhilosophy {
  margin-bottom: 18.66666vw;
  letter-spacing: 1px;
  line-height: 1.6;
}
.main .company .conductTitle.conductTitlevision {
  margin-bottom: 18.66666vw;
  font-size: 5.5vw;
  letter-spacing: 2px;
  line-height: 1.7;
}
.main .company .blockInner {
  width: 100%;
  padding: 0 9.73333vw 0;
  margin: 14.93333vw auto 18vw;
}
.main .company .blockInner .text {
  font-size: 4.53333vw;
  line-height: 1.85714;
}
.main .company .blockInner >.text {
  margin-bottom: 8vw;
}
.main .company .blockInner .text.declaration {
  margin-bottom: 8vw;
}
.main .company .blockInner .signature {
  font-size: 4.53333vw;
  line-height: 2;
}
.main .company .blockInner .signature .signatureName {
  font-weight: 700;
}
.main .company .blockInner .philosophyImg {
  width: 90%;
  height: auto;
  margin: 5.62378vw auto 10.73044vw;
}
.main .company .contentsBlock {
  margin: 0 auto 16vw;
  border-bottom: 1px solid #e0e0e0;
}
.main .company .contentsBlock > .inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 5.33333vw 0;
}
.main .company .listBlock {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 1.6vw;
  margin-bottom: 16vw;
  z-index: 0;
}
.main .company .listBlock::before {
  display: block;
  z-index: 1;
  position: relative;
  width: 100%;
  background: #fff;
  content: "";
}
.main .company .listBlock .list {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  position: relative;
  padding: 5.33333vw 0;
  border-bottom: 1px solid #e0e0e0;
  background: #f4f4f4;
  font-weight: 700;
  font-size: 13px;
  font-size: 3.46667vw;
  text-align: center;
}
.main .company .listBlock .list:nth-last-of-type(1) {
  border: none;
  border-radius: 0 0 1.6vw 0;
  margin-right: 0;
}
.main .company .listBlock .list:nth-last-of-type(2) {
  border-bottom: none;
  border-radius: 0 0 0 1.6vw;
}
.main .company .listBlock .list:nth-of-type(1) {
  z-index: 2;
  background: #fff;
  color: #c03;
}
.main .company .btnBlock {
  padding-bottom: 16vw;
  border-bottom: 1px solid #d5d5d5;
}
.main .company .contents {
  margin-bottom: 16vw;
}
.main .company .president{
  width:100%;
  align-items: end;
  display: flex;
  flex-direction: row-reverse;
  align-items: end;
  justify-content: right;
  margin: 4.52488vw 0 0 auto;
}

.main .company .presidentImg__img{
  width: 14.45313vw;
  height: auto;
  margin-left: 2.58564vw;
}

@media (max-width:767px) {
  .pcOnly {
    display: none;
  }
  .spOnly {
    display: block;
  }

  .main .company .titleBlock {
    padding: 0 5.33333vw 0;
  }
  .main .company .listBlock .list:nth-of-type(2n-1) {
    border-right: 1px solid #e0e0e0;
  }
  .main .company .listBlock .list:nth-last-of-type(1) {
    border: none;
  }
  .main .company .listBlock .list:nth-of-type(1) {
    border-radius: 1.6vw 0 0 0;
  }
  .main .company .listBlock .list:nth-of-type(2) {
    border-radius: 0 1.6vw 0 0;
  }
  .main .company > .btnBlock .btnRed {
    padding: 0 5.33333vw;
  }
  .main .company .president{
    display: block;
  }
  .main .company .blockInner .signature {
    text-align: right;
    font-size: 4.06666vw;
    line-height: 1.5;
    margin-top: 4vw;
  }
  .main .company .presidentImg__img{
    width: 42.66666vw;
    margin: 0 0 0 auto;
  }
  .main .company .blockInner .signature .signatureName {
    font-size: 4.7666vw;
  }

}

@media (min-width:768px) and (max-width:1199px) {
  .main .pageTitleBlock {
    background-image: url(/corporate/wp-content/images/common/pageTitleBlock_red_bg@2x.png);
  }
  .main .company {
    padding-top: 100px;
  }
  .main .company .titleBlock {
    width: 80%;
    max-width: 780px;
    margin: 0 auto;
  }
  .main .company .titleBlock .title {
    font-size: 30px;
    letter-spacing: -0.03em;
    padding-bottom: 30px;
  }
   .main .company .conductTitle {
    font-size: 40px;
    text-align: center;
    margin: 60px auto 32px;
  }
  .main .company .conductTitle.conductTitleGreetings {
    width: 80%;
    max-width: 780px;
    margin-bottom: 0;
    font-size: 2.90885vw;
  }
  .main .company .conductTitle.conductTitle.conductTitlePhilosophy {
    width: 80%;
    max-width: 780px;
    margin-bottom: 0;
    font-size: 3.23206vw;
  }
  .main .company .conductTitle.conductTitlevision {
    width: 80%;
    max-width: 780px;
    margin-bottom: 0;
    font-size: 2.32708vw;
  }
  .main .company .contentsBlock {
    margin: 0 auto 80px;
    padding-top: 60px;
    padding-bottom: 80px;
    border-bottom: 1px solid #e0e0e0;
  }
  .main .company .contentsBlock > .inner {
    width: 95%;
    margin: 0 auto;
    padding: 0;
  }
  .main .company .contents {
    margin-bottom: 100px;
  }
  .main .company .listBlock {
    margin-top: -10px;
  }
  .main .company .listBlock::before {
    height: .88652vw;
    box-shadow: 0 2px 5px -2px rgba(0,0,0,.15);
  }
  .main .company .listBlock .list {
    width: 11.5%;
    margin-right: .35461vw;
    padding: 16px 0;
    border: none;
    border-radius: 0 0 6px 6px;
    font-size: 11px;
  }
 .main .company .listBlock .list:nth-last-of-type(1) {
    border-radius: 0 0 6px 6px;
  }
  .main .company .listBlock .list:nth-last-of-type(2) {
    border: none;
    border-radius: 0 0 6px 6px;
  }
  .main .company .listBlock .list:nth-of-type(1) {
    box-shadow: 0 0 4px 0 rgba(0,0,0,.15);
  }
  .main .company .listBlock .list:nth-of-type(1):before {
    top: -10px;
    height: 10px;
  }
  .main .company > .btnBlock {
    padding-bottom: 80px;
  }
}

@media (min-width:768px) {
  .main .company .contentsBlock .contentsItem .leftColumn,
  .main .company .contentsBlock .contentsItem .rightColumn {
    width: 47.24265%;
    max-width: 514px;
  }
  .main .company .contents:nth-last-of-type(1) {
    margin-bottom: 0;
  }
  .main .company .listBlock .list:nth-of-type(1):before {
    display: block;
    position: absolute;
    width: 100%;
    background: #fff;
    content: "";
  }
  .main .company .listBlock {
    border: none;
    border-radius: 0;
    margin-bottom: 0;
  }
  .main .company .listBlock .list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .main .company .blockInner >.text {
    margin-bottom: 5.31915vw;
  }
  .main .company .blockInner .text {
    font-size: 18px;
    font-size: 2.24113vw;
  }
  .main .company .blockInner {
    width: 80%;
    max-width: 780px;
    margin: 40px auto 70px;
    padding: 0;
  }
  .main .company .blockInner .text.declaration {
    margin-bottom: 1.81027vw;
  }
  .main .company .blockInner .signature {
    font-size: 2.24113vw;
  }
}
@media (min-width:1150px) {
  .main .company .blockInner .text {
    letter-spacing: -1px;
  }
}
@media (min-width:1200px) {
  .main .pageTitleBlock {
    background-image: url(/corporate/wp-content/images/common/pageTitleBlock_red_bg@2x.png);
  }
  .main .company {
    padding-top: 100px;
  }
  .main .company .titleBlock,
  .main .company .blockInner {
    width: 65.11%;
    max-width: 780px;
    margin: 0 auto;
  }
  .main .company .blockInner {
    margin: 40px auto 70px;
  }
  .main .company .blockInner .signature {
  font-size: 0.85592vw;
  line-height: 2;
}
  .main .company .titleBlock .title {
    font-size: 30px;
    letter-spacing: -0.03em;
    padding-bottom: 30px;
  }
  .main .company .conductTitle {
    text-align: center;
    margin: 60px auto 32px;
  }
  .main .company .conductTitle.conductTitleGreetings {
    width: 65.11%;
    max-width: 780px;
    margin-bottom: 0;
    font-size: 44px;
  }
  .main .company .conductTitle.conductTitle.conductTitlePhilosophy {
    width: 65.11%;
    max-width: 780px;
    margin-bottom: 0;
    font-size: 48px;
  }
  .main .company .conductTitle.conductTitlevision {
    width: 65.11%;
    max-width: 780px;
    margin-bottom: 0;
    font-size: 28px;
  }
  .main .company .blockInner >.text {
    margin-bottom: 60px;
  }
  .main .company .blockInner .text {
    font-size: 18px;
  }
  .main .company .blockInner .text.declaration {
    line-height: 2;
  }

  .main .company .blockInner .signature .signatureName {
    font-size: 1.20210vw;
  }
  .main .company .contentsBlock {
    margin: 0 auto 80px;
    padding-top: 60px;
    padding-bottom: 80px;
  }
  .main .company .contentsBlock > .inner {
    width: 80%;
    max-width: 1128px;
    margin: 0 auto;
    padding: 0;
  }
  .main .company .contents {
    margin-bottom: 100px;
  }
  .main .company .listBlock {
    margin-top: -10px;
  }
  .main .company .listBlock::before {
    height: 10px;
    box-shadow: 0 2px 5px -2px rgba(0,0,0,.15);
  }
  .main .company .listBlock .list {
    width: 11.5%;
    height: 61px;
    margin-right: 4px;
    padding: 0;
    border: none;
    border-radius: 0 0 6px 6px;
    font-size: 14px;
  }
 .main .company .listBlock .list:nth-last-of-type(1) {
    border-radius: 0 0 6px 6px;
  }
  .main .company .listBlock .list:nth-last-of-type(2) {
    border: none;
    border-radius: 0 0 6px 6px;
  }
  .main .company .listBlock .list:nth-of-type(1) {
    box-shadow: 0 0 4px 0 rgba(0,0,0,.15);
  }
  .main .company .listBlock .list:nth-of-type(1):before {
    top: -10px;
    height: 10px;
  }
  .main .company > .btnBlock {
    padding-bottom: 80px;
  }
  .main .company .presidentImg__img{
    width: 10.66666vw;
  }
}
