.page-company-greeting #visual {
  background: url("../images/company/greeting/visual-bg.jpg") center center /cover no-repeat;
}
.page-company-greeting #visual .title-1:before {
  content: 'Message / Philosophy';
}
.page-company-greeting #main {
  
}
.page-company-greeting #main .greeting {
  
}
.page-company-greeting #main .greeting .content {
  width: 61%;
}
.page-company-greeting #main .greeting .name {
  text-align: right;
  margin-top: 2em;
}
.page-company-greeting #main .greeting .name img {
  vertical-align: bottom;
  margin-top: .25em;
  margin-left: 1em;
}
.page-company-greeting #main .greeting .photo {
  width: 32.41%;
  overflow: hidden;
  border-radius: 0 100px 0 0;
}
@media (max-width:768px) {
  .page-company-greeting #main .greeting .content {
    width: 100%;
    margin-top: 2em;
  }
  .page-company-greeting #main .greeting .name img {
    height: 2em;
  }
  .page-company-greeting #main .greeting .photo {
    width: 100%;
    text-align: center;
    order: -1;
    border-radius: 0;
  }
  .page-company-greeting #main .greeting .photo img {
    max-width: 300px;
    width: 100%;
    border-radius: 0 85px 0 0;
  }
}
@media (max-width:375px) {
}

.page-company-greeting #main .rinen {
  font-size: 2.5rem;
  line-height: 2.4;
  color: #fff;
  text-align: center;
  background: url("../images/company/greeting/rinen-bg.jpg") center center /cover no-repeat;
}
.page-company-greeting #main .rinen .title-2 ~ .title-2 {
  margin-top: 1.75em;
}
.page-company-greeting #main .rinen .title-2:after {
  background: #fff;
}
.page-company-greeting #main .rinen .title-2,
.page-company-greeting #main .rinen .title-2:before {
  color: #fff;
}
.page-company-greeting #main .rinen ol.custom {
  max-width: 700px;
  width: fit-content;
  font-size: 2rem;
  margin-left: auto;
  margin-right: auto;
}
.page-company-greeting #main .rinen ol.custom li {
  position: relative;
  text-align: left;
  font-weight: 700;
  line-height: 1.7;
  padding-left: 2.4em;
}
.page-company-greeting #main .rinen ol.custom li ~ li {
  margin-top: 1em;
}
.page-company-greeting #main .rinen ol.custom li:before {
  content: '';
  position: absolute;
  top: .2em;
  left: 0;
  display: block;
  width: 1.4em;
  height: 1.4em;
  line-height: 1.4;
  text-align: center;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  background: var(--c-blue);
}
.page-company-greeting #main .rinen ol.custom li:nth-child(1):before {
  content: '1';
}
.page-company-greeting #main .rinen ol.custom li:nth-child(2):before {
  content: '2';
}
.page-company-greeting #main .rinen ol.custom li:nth-child(3):before {
  content: '3';
}
@media (max-width:768px) {
  .page-company-greeting #main .rinen {
    font-size: 2rem;
  }
}
@media (max-width:540px) {
  .page-company-greeting #main .rinen,
  .page-company-greeting #main .rinen ol.custom {
    font-size: 1.8rem;
  }
}

.page-company-profile #visual {
  background: url("../images/company/profile/visual-bg.jpg") center center /cover no-repeat;
}
.page-company-profile #visual .title-1:before {
  content: 'Profile / Access';
}
.page-company-profile #main .access .flex-col-2 ~ .flex-col-2 {
  padding-top: 60px;
  border-top: 1px solid #ccc;
  margin-top: 60px;
}
.page-company-profile #main .access .flex-col-2 .content {
  width: 360px;
}
.page-company-profile #main .access .flex-col-2 .googlemap {
  width: calc(100% - 360px - 45px);
}
.page-company-profile #main .access .flex-col-2 .googlemap .flex-box {
  padding-top: 75%;
  overflow: hidden;
  border-radius: 0 80px 0 0;
}
@media (max-width:1024px) {
  .page-company-profile #main .access .flex-col-2 .content {
    width: 100%;
  }
  .page-company-profile #main .access .flex-col-2 .googlemap {
    width: 100%;
    margin-top: 50px;
  }
  .page-company-profile #main .access .flex-col-2 .googlemap .flex-box {
    padding-top: 120%;
  }
}
@media (max-width:768px) {
  .page-company-profile #main .access .flex-col-2 ~ .flex-col-2 {
    padding-top: 40px;
    margin-top: 50px;
  }
  .page-company-profile #main .access .flex-col-2 .googlemap .flex-box {
    border-radius: 0 50px 0 0;
  }
}

.page-company-history #visual {
  background: url("../images/company/history/visual-bg.jpg") center center /cover no-repeat;
}
.page-company-history #visual .title-1:before {
  content: 'History';
}

.page-company-history #main .history .history-wrap {
  position: relative;
}
.page-company-history #main .history .history-wrap:before {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  background: var(--c-blue);
}
.page-company-history #main .history .history-wrap .row {
  position: relative;
}
.page-company-history #main .history .history-wrap .row:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 6px solid var(--c-blue);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.page-company-history #main .history .history-wrap .row ~ .row {
  margin-top: -20px;
}
.page-company-history #main .history .history-wrap .item {
  max-width: calc(50% - 80px);
  position: relative;
  padding: 1.25em;
  background: #fff;
  border-radius: 0 0 20px 0;
}
.page-company-history #main .history .history-wrap .item:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  background: url("../images/company/history/icon-arrow.png") 0 0 /contain no-repeat;
  transform: translateX(100%);
}
.page-company-history #main .history .history-wrap .row:nth-child(2n+2) .item:after {
  left: 0;
  right: auto;
  transform: translateX(-100%) scale(-1,1);
}
.page-company-history #main .history .history-wrap .item dt {
  font-weight: 700;
  color: var(--c-blue);
}
.page-company-history #main .history .history-wrap .item dd ~ dd {
  margin-top: .5em;
}
.page-company-history #main .history .history-wrap .row:nth-child(2n+2) .item {
  margin-left: auto;
}
@media (max-width:768px) {
  .page-company-history #main .history .history-wrap:before {
    left: 0;
  }
  .page-company-history #main .history .history-wrap .row ~ .row {
    margin-top: 1em;
  }
  .page-company-history #main .history .history-wrap .row:before {
    left: 0;
  }
  .page-company-history #main .history .history-wrap .row .item:after {
    left: 0;
    right: auto;
    transform: translateX(-100%) scale(-1,1);
  }
  .page-company-history #main .history .history-wrap .item {
    max-width: calc(100% - 40px);
    margin-left: auto;
  }
  .page-company-history #main .history .history-wrap .item:after {
    width: 30px;
  }
}

.page-footer-nav ul li a:before {
  content: '';
  display: block;
  position: absolute;
  top: -1em;
  left: .5em;
  z-index: 9;
  font-size: 1.6rem;
  color: #fff;
  transform-origin: left bottom;
  transform: rotate(90deg);
}
.page-footer-nav ul li:nth-child(1) a:before {
  content: 'Message / Philosophy';
}
.page-footer-nav ul li:nth-child(2) a:before {
  content: 'Company profile / Access';
}
.page-footer-nav ul li:nth-child(3) a:before {
  content: 'Corporate history';
}
@media (max-width:520px) {
  .page-footer-nav ul li a:before {
    font-size: 1.4rem;
  }
}
@media (max-width:480px) {
  .page-footer-nav ul li a:before {
    font-size: 1.1rem;
  }
}