/* Business page palette, matching the approved home page. */
@keyframes business-title-appear {
  from {
    opacity: 0;
    transform: translateY(18px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

body[data-page="/company/"] .page-hero .title-line {
  animation: business-title-appear 1s .15s cubic-bezier(.22,1,.36,1) both
}

body[data-page="/company/"] .page-hero h1 {
  animation: business-title-appear 1s .3s cubic-bezier(.22,1,.36,1) both
}

@media(prefers-reduced-motion:reduce) {
  body[data-page="/company/"] .page-hero .title-line,body[data-page="/company/"] .page-hero h1 {
    animation: none
  }
}

body[data-page="/company/"] {
  background: #dfdfdd
}

body[data-page="/company/"] .page-hero {
  background: #a09d94;
  color: #fff
}

body[data-page="/company/"] .page-hero .title-line span,
body[data-page="/company/"] .page-hero h1,
body[data-page="/company/"] .page-hero .breadcrumb,
body[data-page="/company/"] .page-hero .breadcrumb a {
  color: #fff
}

body[data-page="/company/"] main>.section {
  background: #dfdfdd
}

body[data-page="/company/"] main>.section.related {
  background: #a09d94;
  color: #fff
}

/* Preserve the original photo CTA and its rectangular outline buttons. */
body[data-page="/company/"]>.reference-cta {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  color: #fff;
  min-height: 327px
}

body[data-page="/company/"] .reference-cta-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 17.5px 35px;
  font: 700 28px/1.35 "Zen Kaku Gothic New",sans-serif;
  box-shadow: none
}

body[data-page="/company/"] .reference-cta-inner p {
  background: #fff;
  color: #131d66;
  border-radius: 40px;
  font-weight: 700
}

body[data-page="/company/"] .reference-cta-inner a span {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 18px;
  font-size: 0
}

body[data-page="/company/"] .reference-cta-inner a span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  border-top: 1px solid currentColor
}

body[data-page="/company/"] .reference-cta-inner a span:after {
  content: "";
  position: absolute;
  right: 1px;
  top: 1px;
  width: 14px;
  height: 14px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg)
}

@media(max-width:760px) {
  body[data-page="/company/"]>.reference-cta {
    grid-template-columns: minmax(0,1fr)
  }
  body[data-page="/company/"] .reference-cta-inner a {
    font-size: 25px;
    padding: 16px 30px
  }
}

body[data-page="/company/"] .page-hero .title-line {
  border-bottom: 1px solid #fff;
  padding-bottom: 20px
}

body[data-page="/company/"] .page-hero {
  padding-bottom: 80px
}

@media(max-width:760px) {
  body[data-page="/company/"] .page-hero .title-line {
    padding-bottom: 16px
  }
  body[data-page="/company/"] .page-hero {
    padding-bottom: 55px
  }
}

/* Screenshot 091: 400px white label, 40px gap, 75px outline button. */
body[data-page="/company/"]>.reference-cta {
  min-height: 332px
}

body[data-page="/company/"] .reference-cta-contact,
body[data-page="/company/"] .reference-cta-line {
  padding: 104px 22px 75px;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center
}

body[data-page="/company/"] .reference-cta-contact {
  background-image: linear-gradient(rgba(19,29,102,.60),rgba(19,29,102,.60)),url("../assets/original-5e0d6b446f85ce29.jpg")
}

body[data-page="/company/"] .reference-cta-line {
  background-image: linear-gradient(rgba(39,173,58,.69),rgba(39,173,58,.69)),url("../assets/original-c505949e540b6c54.jpg")
}

body[data-page="/company/"] .reference-cta-inner {
  width: 400px;
  max-width: 100%;
  text-align: center
}

body[data-page="/company/"] .reference-cta-inner p {
  font: 700 14px/30px "Zen Kaku Gothic Antique",sans-serif;
  letter-spacing: 0;
  padding: 4px 12px;
  margin: 0 0 40px
}

body[data-page="/company/"] .reference-cta-inner a {
  font-family: "Zen Kaku Gothic Antique",sans-serif;
  min-width: 226px;
  min-height: 75px;
  padding: 17px 32px
}

@media(max-width:760px) {
  body[data-page="/company/"] .reference-cta-contact,body[data-page="/company/"] .reference-cta-line {
    padding: 60px 22px;
    min-height: 280px
  }
  body[data-page="/company/"] .reference-cta-inner p {
    font-size: 12px;
    line-height: 1.8;
    padding: 7px 12px;
    margin-bottom: 30px
  }
  body[data-page="/company/"] .reference-cta-inner a {
    font-size: 25px;
    min-height: 68px;
    min-width: 210px
  }
}

body[data-page="/company/"] .page-hero {
  background: #dfdfdd;
  color: #131d66
}

body[data-page="/company/"] .page-hero .title-line {
  border-color: #131d66
}

body[data-page="/company/"] .page-hero h1,body[data-page="/company/"] .page-hero .breadcrumb,body[data-page="/company/"] .page-hero .breadcrumb a {
  color: #131d66
}

body[data-page="/company/"] .page-hero .title-line span {
  background: linear-gradient(110deg,#3a528a 0%,#2da3b5 42%,#3a528a 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: #3a528a;
  -webkit-text-fill-color: transparent
}

body[data-page="/company/"] main>.section {
  background: #dfdfdd
}

body[data-page="/company/"] .section-title {
  text-align: center
}

body[data-page="/company/"] .section-title>.source-section-en {
  color: #666
}

body[data-page="/company/"] .company-table {
  max-width: 700px;
  margin: 60px auto 0;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 12px 22px
}

body[data-page="/company/"] .company-table dt {
  border: 1px solid #c9c9c7;
  background: transparent;
  text-align: center;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center
}

body[data-page="/company/"] .company-table dd {
  background: transparent;
  border: 0;
  padding: 10px 0
}

body[data-page="/company/"] .company-table p {
  margin: 0
}

body[data-page="/company/"] .list-grid {
  max-width: 800px;
  margin: 60px auto 0;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px
}

body[data-page="/company/"] .list-grid>div {
  border: 1px solid #c9c9c7;
  background: transparent;
  text-align: center;
  padding: 14px
}

body[data-page="/company/"] .list-grid p {
  margin: 0
}

@media(max-width:760px) {
  body[data-page="/company/"] .company-table {
    grid-template-columns: 1fr;
    gap: 8px
  }
  body[data-page="/company/"] .list-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px
  }
}

/* Composition and movement observed in the client's original-page recording. */
body[data-page="/company/"] .company-history {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #15171a
}

.company-history:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/3a40fb0b78f7.jpg") center/cover no-repeat;
  transform: scaleX(-1)
}

.company-history:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#0008 0%,#000a 33%,#0006 100%)
}

.company-history-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px
}

.company-history .section-title {
  margin: 0;
  align-self: center
}

.company-history .section-title h2 {
  color: #fff!important;
  font-size: 50px!important;
  line-height: 1.3!important
}

.company-history .timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0
}

.company-history .timeline li {
  position: relative;
  padding: 18px 20px 18px 60px;
  margin: 0;
  border: 0;
  border-top: 1px solid #ffffff80;
  background: transparent;
  color: #fff
}

.company-history .timeline li:last-child {
  border-bottom: 1px solid #ffffff80
}

.company-history .timeline li:before {
  content: "⋮";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  border: 0;
  background: none;
  width: auto;
  height: auto;
  font-size: 28px;
  line-height: 1
}

.company-history .module-feature-image {
  display: none
}

.company-history .module-feature-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500
}

.company-history .timeline p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8
}

.company-history-gallery {
  background: #f5f9fa;
  padding: 100px 0 40px;
  overflow: hidden
}

.company-history-gallery .history-photos {
  display: block;
  position: relative;
  width: 100%;
  height: 850px
}

.company-history-photo {
  position: absolute;
  will-change: transform
}

.company-history-photo.photo-1 {
  left: 0;
  top: 0;
  width: 400px
}

.company-history-photo.photo-2 {
  left: 48%;
  top: 0;
  width: 400px
}

.company-history-photo.photo-3 {
  right: 0;
  top: 420px;
  width: 480px
}

body[data-page="/company/"] .history-photos .company-history-photo img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 4px
}

body[data-page="/company/"] .company-section-heading>.source-section-en {
  font-size: 110.4px!important;
  font-weight: 500!important;
  line-height: 1.3!important;
  display: inline-block;
  position: relative;
  letter-spacing: -.03em
}

.company-section-heading>.source-section-en:after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 24px;
  background: linear-gradient(90deg,#07065c,#2616d1);
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s .2s cubic-bezier(.22,1,.36,1);
  opacity: .85
}

.company-section-heading.is-visible>.source-section-en:after {
  transform: scaleX(1)
}

body[data-page="/company/"] .company-section-heading h2 {
  margin-top: 28px
}

.company-history.company-reveal-ready {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1s .6s ease,transform 1.2s .6s cubic-bezier(.22,1,.36,1)
}

.company-history.company-reveal-ready.is-visible {
  opacity: 1;
  transform: none
}

.company-equipment-gallery {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px;
  padding-top: 100px
}

.company-equipment-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover
}

@media(max-width:1100px) and (min-width:761px) {
  .company-history-photo.photo-1,.company-history-photo.photo-2 {
    width: 34%
  }
  .company-history-photo.photo-3 {
    width: 41%
  }
  .company-history-grid {
    gap: 30px
  }
}

@media(max-width:760px) {
  .company-history-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 60px;
    padding-bottom: 60px
  }
  .company-history .section-title h2 {
    font-size: 32px!important
  }
  .company-history .timeline li {
    padding: 16px 8px 16px 32px
  }
  .company-history .timeline li:before {
    left: 8px
  }
  .company-history .module-feature-title,.company-history .timeline p {
    font-size: 15px
  }
  .company-history-gallery {
    padding: 60px 0 0
  }
  .company-history-gallery .history-photos {
    height: 520px
  }
  .company-history-photo.photo-1 {
    width: 43%
  }
  .company-history-photo.photo-2 {
    width: 43%;
    left: auto;
    right: 0;
    top: 30px
  }
  .company-history-photo.photo-3 {
    width: 60%;
    top: 300px
  }
  body[data-page="/company/"] .company-section-heading>.source-section-en {
    font-size: clamp(36px,10vw,56px)!important;
    letter-spacing: -.03em
  }
  .company-section-heading>.source-section-en:after {
    height: 10px
  }
  .company-equipment-gallery {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    padding-top: 60px
  }
  .company-equipment-gallery img {
    height: 200px
  }
}

@media(prefers-reduced-motion:reduce) {
  .company-history.company-reveal-ready {
    opacity: 1;
    transform: none;
    transition: none
  }
  .company-section-heading>.source-section-en:after {
    transform: scaleX(1);
    transition: none
  }
}

/* Client-specified title gradient and original table proportions. */
body[data-page="/company/"] .page-hero .title-line span {
  background-image: radial-gradient(rgb(58,82,138) 48%,rgb(55,151,189) 91%,rgb(0,0,158) 100%)
}

body[data-page="/company/"] .page-hero h1,
body[data-page="/company/"] .section-title h2 {
  font-family: "Company Shippori Mincho","Yu Mincho",serif!important
}

body[data-page="/company/"] .company-history {
  min-height: 760px
}

.company-history:before {
  background-size: 100% auto;
  background-position: center
}

.company-history-grid {
  padding-top: 70px;
  padding-bottom: 70px
}

body[data-page="/company/"] .company-table {
  max-width: 640px;
  grid-template-columns: 200px minmax(0,1fr);
  gap: 14px 24px;
  font-size: 18px;
  line-height: 1.8
}

body[data-page="/company/"] .company-table dt {
  border-color: #d1d1d1;
  font-weight: 500;
  padding: 10px 12px
}

body[data-page="/company/"] .company-table dd {
  font-weight: 500;
  padding: 10px 0
}

body[data-page="/company/"] .list-grid {
  max-width: 720px;
  gap: 14px 20px;
  font-size: 18px;
  line-height: 1.8;
  align-items: stretch
}

body[data-page="/company/"] .list-grid>div {
  border-color: #d1d1d1;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  min-height: 58px
}

.company-equipment-carousel {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 100px;
  overflow: hidden;
  background: #131d66
}

.company-equipment-carousel:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19,29,102,.6);
  pointer-events: none;
  z-index: 1
}

.equipment-carousel-row {
  overflow: hidden
}

.equipment-carousel-track {
  display: flex;
  width: max-content;
  animation: equipment-left 36s linear infinite;
  will-change: transform
}

.equipment-carousel-row.reverse .equipment-carousel-track {
  animation-direction: reverse
}

.equipment-carousel-group {
  display: flex;
  flex: none
}

.equipment-carousel-group img {
  display: block;
  flex: none;
  width: 25vw;
  height: 250px;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-radius: 0
}

@keyframes equipment-left {
  from {
    transform: translateX(0)
  }
  to {
    transform: translateX(-50%)
  }
}

@media(max-width:760px) {
  body[data-page="/company/"] .company-history {
    min-height: 0
  }
  .company-history:before {
    background-size: auto 100%
  }
  body[data-page="/company/"] .company-table {
    grid-template-columns: 100px minmax(0,1fr);
    gap: 12px;
    font-size: 14px
  }
  body[data-page="/company/"] .list-grid {
    font-size: 14px;
    gap: 12px;
    grid-template-columns: repeat(2,minmax(0,1fr))
  }
  .company-equipment-carousel {
    margin-top: 60px
  }
  .equipment-carousel-group img {
    width: 50vw;
    height: 180px
  }
}

@media(prefers-reduced-motion:reduce) {
  .equipment-carousel-track {
    animation: none
  }
}

/* Client detail refinements. */
.company-section-heading>.source-section-en:after {
  bottom: -25px
}

body[data-page="/company/"] .company-section-heading h2 {
  margin-top: 65px
}

@media(min-width:761px) {
  body[data-page="/company/"] .company-section-heading h2 {
    font-size: 30px!important;
    line-height: 1.5!important
  }
}

body[data-page="/company/"] .company-table {
  border-top: 0;
  grid-template-columns: 141.484px minmax(0,1fr);
  align-items: start
}

body[data-page="/company/"] .company-table dt {
  border: 1px solid rgb(204,204,204);
  box-sizing: border-box;
  display: block;
  position: relative;
  min-width: 0;
  width: 100%;
  height: 51.4375px;
  padding: 10px 20px;
  margin: 0;
  color: rgb(102,102,102);
  font-family: "Zen Kaku Gothic Antique",sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .92px;
  line-height: 29.44px;
  text-align: center;
  overflow-wrap: break-word
}

body[data-page="/company/"] .company-table dd {
  border-top: 0
}

body[data-page="/company/"] main>.company-license-section {
  background: rgb(160,157,148)
}

body[data-page="/company/"] .company-equipment-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #131d66;
  color: #fff;
  min-height: 700px
}

.company-equipment-section>.wrap {
  position: relative;
  z-index: 2
}

body[data-page="/company/"] .company-equipment-section .source-section-en,body[data-page="/company/"] .company-equipment-section .section-title h2 {
  color: #fff
}

body[data-page="/company/"] .company-equipment-section .list-grid>div {
  border-color: #ffffff80;
  background: #131d6666;
  color: #fff
}

.company-equipment-section>.company-equipment-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 0;
  display: flex;
  flex-direction: column
}

.company-equipment-section .equipment-carousel-row {
  height: 50%;
  flex: 1;
  min-height: 0
}

.company-equipment-section .equipment-carousel-track,.company-equipment-section .equipment-carousel-group {
  height: 100%
}

.company-equipment-section .equipment-carousel-group img {
  height: 100%;
  width: 25vw
}

.company-equipment-section .company-equipment-carousel:after {
  background: rgba(19,29,102,.72)
}

.company-page-banners {
  background: #dfdfdd;
  padding: 80px 0
}

.company-page-banners>.wrap {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px
}

.company-page-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: 30px;
  color: #fff;
  background: linear-gradient(#131d6699,#131d6699),url("../assets/f91e54feb80a.jpg") center/cover;
  transition: filter .3s
}

.company-page-banner:nth-child(2) {
  background-image: linear-gradient(#131d6699,#131d6699),url("../assets/53fffce57f95.jpg")
}

.company-page-banner:nth-child(3) {
  background-image: linear-gradient(#131d6699,#131d6699),url("../assets/33f2ad5693f5.jpg")
}

.company-page-banner span {
  font-size: 14px;
  letter-spacing: .08em
}

.company-page-banner strong {
  font-family: "Company Shippori Mincho","Yu Mincho",serif;
  font-size: 28px
}

.company-page-banner i {
  position: absolute;
  right: 28px;
  bottom: 26px;
  font-size: 26px;
  font-style: normal
}

.company-page-banner:hover {
  filter: brightness(1.15)
}

@media(max-width:760px) {
  body[data-page="/company/"] .company-table {
    grid-template-columns: 141.484px minmax(0,1fr);
    gap: 12px
  }
  body[data-page="/company/"] .company-table dt {
    font-size: 15px;
    padding-left: 8px;
    padding-right: 8px
  }
  .company-equipment-section .equipment-carousel-group img {
    width: 50vw
  }
  .company-page-banners {
    padding: 60px 0
  }
  .company-page-banners>.wrap {
    grid-template-columns: 1fr;
    gap: 18px
  }
  .company-page-banner {
    min-height: 150px
  }
}

body[data-page="/company/"] .company-section-heading h2 {
  margin-top: 25px
}

body[data-page="/company/"] .company-table {
  grid-template-columns: 190px minmax(0,1fr)
}

body[data-page="/company/"] .company-table dt {
  color: #131d66;
  border-color: #131d66;
  white-space: normal;
  height: auto;
  min-height: 51.4375px
}

body[data-page="/company/"] .company-table dd {
  color: #131d66
}

body[data-page="/company/"] .list-grid>div {
  color: #131d66;
  border-color: #131d66
}

body[data-page="/company/"] .company-license-section .source-section-en {
  color: #fff
}

@media(min-width:761px) {
  body[data-page="/company/"] .company-license-section .list-grid,body[data-page="/company/"] .company-equipment-section .list-grid {
    font-size: 18px
  }
}

body[data-page="/company/"] .company-equipment-section .list-grid>div {
  color: #131d66;
  border-color: #131d66;
  background: rgba(255,255,255,.92)
}

/* Reference: orange text half + photograph half, framed in white. */
.company-page-banner,.company-page-banner:nth-child(2),.company-page-banner:nth-child(3) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  height: 160px;
  padding: 0;
  border: 8px solid #fff;
  outline: 1px solid #e6e6e6;
  background: #ff7a22;
  overflow: hidden;
  color: #fff;
  transition: opacity .5s ease
}

.company-banner-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  text-align: center;
  background: #ff7a22
}

.company-page-banner strong {
  font-family: "Zen Kaku Gothic Antique",sans-serif;
  font-size: 21px;
  line-height: 1.6;
  font-weight: 700
}

.company-banner-copy span {
  display: inline-block;
  border: 1px solid #ffffff80;
  border-radius: 30px;
  font-size: 11px;
  line-height: 1.6;
  padding: 1px 8px;
  letter-spacing: 0;
  margin-top: 8px
}

.company-page-banner img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover
}

.company-page-banner:hover {
  filter: none;
  animation: company-banner-fade .6s ease both
}

@keyframes company-banner-fade {
  from {
    opacity: .35
  }
  to {
    opacity: 1
  }
}

@media(max-width:760px) {
  body[data-page="/company/"] .company-table {
    grid-template-columns: minmax(120px,38%) minmax(0,1fr)
  }
  body[data-page="/company/"] .company-table dt {
    height: auto;
    min-height: 51.4375px
  }
  .company-page-banner {
    height: 150px
  }
}

@media(prefers-reduced-motion:reduce) {
  .company-page-banner:hover {
    animation: none
  }
}

body[data-page="/company/"] .company-license-section .list-grid>div,
body[data-page="/company/"] .company-license-section .list-grid>div p {
  color: #fff
}

body[data-page="/company/"] .company-license-section .list-grid>div {
  border-color: #fff
}

@media(min-width:761px) {
  body[data-page="/company/"] .company-license-section .list-grid>div,
 body[data-page="/company/"] .company-license-section .list-grid>div p,
 body[data-page="/company/"] .company-equipment-section .list-grid>div,
 body[data-page="/company/"] .company-equipment-section .list-grid>div p {
    font-size: 18px!important;
    line-height: 1.8
  }
}

.company-page-banner,.company-page-banner:nth-child(2),.company-page-banner:nth-child(3) {
  border: 0;
  outline: 0;
  background: #131d66
}

.company-banner-copy {
  background: #131d66
}

.company-page-banner:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: rgba(19,29,102,.5);
  pointer-events: none
}

.company-page-banner:before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid #fff;
  z-index: 2;
  pointer-events: none
}

/* Factory photographs: aligned frames keep the different original crops intact. */
.company-history-gallery {
  padding: 80px 0;
  background: #dfdfdd
}

.company-history-gallery .history-photos {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 28px;
  height: auto;
  align-items: stretch
}

.company-history-gallery .company-history-photo {
  position: relative;
  inset: auto;
  width: 100%;
  margin: 0;
  transform: none!important;
  aspect-ratio: 4/5;
  display: grid;
  place-items: center;
  background: #f4f4f1;
  border: 1px solid #c9c9c3;
  padding: 18px;
  overflow: hidden
}

body[data-page="/company/"] .history-photos .company-history-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0
}

@media(max-width:760px) {
  .company-history-gallery {
    padding: 60px 0
  }
  .company-history-gallery .history-photos {
    grid-template-columns: 1fr;
    gap: 24px;
    height: auto
  }
  .company-history-gallery .company-history-photo {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 4/3;
    padding: 16px
  }
}

.company-history-gallery .company-history-photo {
  display: block;
  aspect-ratio: auto;
  padding: 14px 14px 48px;
  background: #fff;
  border: 0;
  box-shadow: 0 3px 14px #131d6612
}

body[data-page="/company/"] .history-photos .company-history-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  max-height: none
}

@media(max-width:760px) {
  .company-history-gallery .company-history-photo {
    aspect-ratio: auto;
    padding: 12px 12px 42px
  }
}

.company-history>.company-history-gallery {
  background: transparent;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 80px
}

.company-history>.company-history-grid {
  padding-bottom: 60px
}

.company-history .history-photos .hiwa-image-reveal {
  transition-delay: var(--company-photo-delay,0ms)
}

.company-history .company-history-photo.company-photo-pending {
  opacity: 0;
  transform: translateY(24px)!important;
  transition: opacity 1s var(--company-photo-delay,0ms) ease,transform 1.1s var(--company-photo-delay,0ms) cubic-bezier(.22,1,.36,1)
}

.company-history .company-history-photo.company-photo-visible {
  opacity: 1;
  transform: translateY(0)!important
}

body[data-page="/company/"] .company-license-section .list-grid,
body[data-page="/company/"] .company-equipment-section .list-grid {
  max-width: 900px
}

@media(max-width:760px) {
  .company-history>.company-history-gallery {
    padding-bottom: 60px
  }
  .company-history .history-photos .hiwa-image-reveal {
    transition-delay: 0ms
  }
}

/* 横長に補完した工場写真を、バナーの写真領域全体に表示する。 */
.company-page-banners .company-page-banner[href="hiwashistory.html"] img {
  object-fit: cover;
  object-position: center;
}

/* 写真の下端を基準にし、会社概要のトラックの下側を切り落とさない。 */
.company-page-banners .company-page-banner[href="company.html"] img {
  object-position: center bottom;
}

/* 代表挨拶バナーは人物側を基準に表示する。 */
.company-page-banners .company-page-banner[href="message.html"] img {
  object-position: 25% 35%;
}
