/* Company introduction: existing illustration and typography. */
.about-page-content { color: #373a38; }
.about-company { position: relative; height: 1566.8594px; overflow: hidden; }
.about-company .about-decoration { height: 4773.86px; }

.about-decoration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events:none
}

.about-page-image {
  position: absolute;
  z-index: 1;
  object-fit:contain
}

.about-page-text {
  position: absolute;
  z-index: 2;
  margin: 0;
  line-height: 1;
  white-space: pre;
  word-break:normal
}

.about-page-text span {
  position: absolute;
  display: block;
  white-space:pre
}

.about-text-0 {
  left: 960px;
  top: 204.0752px;
  font-size: 40px;
  font-weight: 900;
  color: #00367b;
}

.about-text-0-line-0 {
  left: -323px;
  top: -35.2px;
}

.about-text-1 {
  left: 589.4336px;
  top: 247.0752px;
  font-size: 20px;
  font-weight: 700;
  color: #00367b;
}

.about-text-1-line-0 {
  left: 249.1664px;
  top: 5.4px;
}

.about-text-1-line-1 {
  left: 103.3464px;
  top: 39.4px;
}

.about-text-1-line-2 {
  left: 130.8664px;
  top: 73.4px;
}

.about-text-2 {
  left: 960px;
  top: 384.4883px;
  font-size: 16px;
  font-weight: 500;
  color: #0e0e0e;
}

.about-text-2-line-0 {
  left: -336.984px;
  top: -14.08px;
}

.about-image-eco-glass {
  left: 935px;
  top: 86.4883px;
  width: 51px;
  height: 53px;
}

.about-image-glass-process {
  left: 410px;
  top: 958.7305px;
  width: 1100px;
  height: 480px;
}

.about-image-factory {
  left: 1043px;
  top: 472.4883px;
  width: 453px;
  height: 306px;
}

.about-text-3 {
  left: 410px;
  top: 603.4883px;
  font-size: 18px;
  font-weight: 500;
  color: #373a38;
}

.about-text-3-line-0 {
  left: 0px;
  top: 5.16px;
}

.about-text-3-line-1 {
  left: 0px;
  top: 39.16px;
}

.about-text-3-line-2 {
  left: 0px;
  top: 73.16px;
}

.about-text-4 {
  left: 410px;
  top: 888.1172px;
  font-size: 18px;
  font-weight: 500;
  color: #373a38;
}

.about-text-4-line-0 {
  left: 0px;
  top: -15.84px;
}

.about-text-4-line-1 {
  left: 0px;
  top: 18.16px;
}

.about-text-5 {
  left: 513.5px;
  top: 530.4883px;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

.about-text-5-line-0 {
  left: 0px;
  top: -21.12px;
}

.about-text-7 {
  left: 410px;
  top: 847.9883px;
  font-size: 24px;
  font-weight: 900;
  color: #00367b;
}

.about-text-7-line-0 {
  left: 0px;
  top: -21.12px;
}

/* Match the source introduction while retaining a vertical reading order. */
@media (max-width:1199px) {
  .about-reading .about-reading-intro-title {
    position: relative;
    align-self: center;
    text-align: center;
    font-size: clamp(18px,3.2vw,28px);
    padding: 0 24px;
  }
  .about-reading-intro-title::before,.about-reading-intro-title::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 2px;
    height: 28px;
    border-left: 2px dotted var(--blue);
  }
  .about-reading-intro-title::before {
    left: 3px;
    transform: rotate(-25deg);
  }
  .about-reading-intro-title::after {
    right: 3px;
    transform: rotate(25deg);
  }
  .about-reading .about-reading-intro-copy {
    text-align: center;
    color: var(--blue);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.9;
  }
  .about-reading .about-reading-intro-note {
    text-align: center;
    color: #666;
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .about-reading .about-reading-factory-title {
    position: relative;
    background: var(--blue);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 14px 12px;
    font-size: 18px;
  }
  .about-reading-factory-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid var(--blue);
  }
}

@media (max-width:767px) {
  .about-reading .about-reading-intro-copy {
    font-size: 12px;
  }
  .about-reading .about-reading-factory-title {
    font-size: 16px;
  }
}


/* Staff cards stay in normal flow. Adding/removing an article needs no CSS change. */
.about-staff-section {
  width: 1100px;
  margin: 0 auto;
  padding-bottom: 96px;
  color: var(--blue);
}
.about-staff-title {
  position: relative;
  margin: 0 0 92.16px;
  padding: 20.16px 19.2px;
  border-radius: 9.984px;
  background: var(--orange);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.65;
  text-align: center;
}
.about-staff-title::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  border: 14.976px solid transparent;
  border-top: 25.92px solid var(--orange);
  border-bottom: 0;
  transform: translateX(-50%);
}
.about-staff-list {
  display: grid;
  gap: 92.16px;
}
.about-staff {
  display: grid;
  grid-template-columns: 267px minmax(0,1fr);
  /* align-items: end; */
  min-width: 0;
}
.about-staff__header {
  display: grid;
  grid-template-columns: 110px 89px 51px;
  margin-bottom: -75.84px;
  align-items: start;
}
.about-staff-photo {
  display: block;
  border-radius: 16px;
  grid-area: 1 / 1 / 2 / 3;
  width: 100%;
  height: auto;
}
.about-staff__identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7.68px;
  grid-area: 1 / 2 / 2 / 4;
  aspect-ratio: 5 / 6;
  padding: 48px 11.52px 23.04px;
  margin-top: 92.16px;
  background: url("../assets/images/about-staff-badge.png") center / 100% 100% no-repeat;
  color: #fff;
  text-align: center;
}
.about-staff__role {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4285714;
  overflow-wrap: anywhere;
}
.about-staff__role:empty { display: none; }
.about-staff__name {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
/* A single SVG contour includes the tail. Nine-slice scaling keeps corners
   and stroke thickness consistent while the text determines the height. */
.about-staff-speech {
  position: relative;
  min-width: 0;
  min-height: 193.92px;
  padding: 40.32px 44.928px 28.8px 51.84px;
  border: 2px solid #D9D9CD;
  background: #F9F9F4;
  border-radius: 50px;
  /* border: 2px solid transparent;
  border-image-source: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22240%22%20height%3D%22240%22%20viewBox%3D%220%200%20240%20240%22%3E%3Cpath%20d%3D%22M97%201H143A96%2096%200%200%201%20239%2097V143A96%2096%200%200%201%20143%20239H97A96%2096%200%200%201%2041.5%20221.3L4%20233L23.8%20205.1A96%2096%200%200%201%201%20143V97A96%2096%200%200%201%2097%201Z%22%20fill%3D%22%23f9f9f4%22%20stroke%3D%22%23d9d9cd%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  border-image-slice: 97 fill;
  border-image-width: 97px;
  border-image-repeat: stretch; */
}
.about-staff-speech::before { content: none; }
.about-staff-speech__section {
  display: grid;
  grid-template-columns: 183.744px minmax(0,1fr);
  gap: 57.6px;
  align-items: start;
}
.about-staff-speech__section + .about-staff-speech__section {
  margin-top: 17.28px;
  padding-top: 26.88px;
  border-top: 2px dotted var(--blue);
}
.about-staff-speech__heading {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  white-space: nowrap;
}
.about-staff-copy {
  min-width: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8888889;
  overflow-wrap: anywhere;
}

@media (max-width:1199px) {
  .about-company.adaptive-reading { height: auto; overflow: visible; }
  .about-company .about-decoration { display: none; }
  .about-company .about-page-text,
  .about-company .about-page-image {
    position: static;
    inset: auto;
    z-index: auto;
    width: auto;
    height: auto;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
    white-space: normal;
  }
  .about-company .about-page-text span { position: static; display: inline; white-space: normal; }
  .about-company .about-reading-intro-copy > span { display: block; }
  .about-company > .reading-copy { font-size: 16px; line-height: 1.9; }
  .about-company > .reading-mark { width: 65px; }
  .about-reading .about-company .about-reading-intro-title { position: relative; font-size: clamp(18px,3.2vw,28px); }
  .about-reading .about-company .about-reading-intro-copy { font-size: 14px; font-weight: 700; line-height: 1.9; color: var(--blue); }
  .about-reading .about-company .about-reading-intro-note { font-size: 11px; line-height: 1.8; color: #666; }
  .about-reading .about-company .about-reading-factory-title { position: relative; color: #fff; font-size: 18px; }
  .about-staff-section { width: min(100% - 48px,960px); padding-bottom: 64px; }
  .about-staff-title { margin: 12px 0 40px; padding: 14px 18px; border-radius: 6px; font-size: clamp(16px,2vw,20px); line-height: 1.6; }
  .about-staff-title::after { border-left-width: 7px; border-right-width: 7px; border-top-width: 10px; }
  .about-staff-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .about-staff { display: block; padding: 24px; }
  .about-staff__header { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; margin-bottom: 24px; }
  .about-staff-photo { grid-area: auto; width: 100%; max-width: 160px; margin: 20px auto 0; }
  .about-staff__identity { grid-area: auto; width: min(100%,140px); min-width: 0; margin: 0 auto; padding: 42px 10px 20px; gap: 6px; background-image: url("../assets/images/about-staff-badge-responsive.png"); }
  .about-staff__role { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.5; }
  .about-staff__role br, .about-staff-break { display: none; }
  .about-staff__name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.6; }
  .about-staff-speech { min-height: 0; margin: 24px 0 0; padding: 22px 24px; border: 1px solid #d9d9cd; border-image: none; border-radius: 80px; background: #f9f9f4; }
  .about-staff-speech::before { content: ""; position: absolute; pointer-events: none; left: 25%; top: -12px; bottom: auto; width: 24px; height: 24px; border: 1px solid #d9d9cd; border-right: 0; border-bottom: 0; background: #f9f9f4; transform: translateX(-50%) rotate(45deg); }
  .about-staff-speech__section { grid-template-columns: 100px minmax(0,1fr); gap: 16px; }
  .about-staff-speech__section + .about-staff-speech__section { margin-top: 16px; padding-top: 16px; border-top-width: 1px; }
  .about-staff-speech__heading, .about-staff-copy { font-size: 14px; line-height: 1.9; }
}
@media (max-width:767px) {
  .about-reading .about-company .about-reading-intro-copy { font-size: 12px; }
  .about-reading .about-company .about-reading-factory-title { font-size: 16px; }
  .about-staff-section { width: calc(100% - 32px); }
  .about-staff-list { grid-template-columns: minmax(0,1fr); }
  .about-staff { padding: 20px; }
  .about-staff-speech { padding: 22px 18px; border-radius: 60px; }
  .about-staff-speech__section { grid-template-columns: 84px minmax(0,1fr); gap: 12px; }
  .about-staff-speech__heading { font-size: 12px; line-height: 2.2166667; }
}

/* Desktop keeps the original composition; grid rows grow with the copy. */
@media (min-width: 1200px) {
  .about-reading .about-company.adaptive-reading {
    display: grid;
    grid-template-columns: minmax(0, 588fr) minmax(0, 453fr);
    grid-template-rows: auto auto auto auto auto minmax(219px, auto) auto auto auto;
    column-gap: 45px;
    row-gap: 0;
    align-items: start;
    width: min(1100px, calc(100% - 80px));
    height: auto;
    margin: 0 auto;
    padding: 86px 14px 128px 0;
    overflow: visible;
  }
  .about-company > .about-decoration { display: none; }
  .about-reading .about-company > .about-page-text,
  .about-reading .about-company > .about-page-image {
    position: static;
    inset: auto;
    min-width: 0;
    max-width: 100%;
    height: auto;
    margin: 0;
    white-space: normal;
    transform: none;
  }
  .about-reading .about-company .about-page-text span {
    position: static;
    display: inline;
    white-space: normal;
  }
  .about-company > .about-image-eco-glass,
  .about-company > .about-text-0,
  .about-company > .about-text-1,
  .about-company > .about-text-2,
  .about-company > .about-text-7,
  .about-company > .about-text-4,
  .about-company > .about-image-glass-process { grid-column: 1 / -1; }
  .about-reading .about-company > .about-image-eco-glass { width: 51px; margin: 0 auto 28px; }
  .about-reading .about-company > .about-text-0 {
    display: grid;
    grid-template-columns: 4px minmax(0, 1fr) 4px;
    align-items: center;
    justify-self: center;
    column-gap: 40px;
    width: fit-content;
    max-width: 100%;
    padding: 0 12px;
    margin: 0 0 24px;
    color: var(--blue);
    font-size: 40px;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
  }
  .about-reading-intro-title::before,
  .about-reading-intro-title::after {
    content: "";
    display: block;
    width: 0;
    height: 50px;
    border-left: 4px dotted var(--blue);
    pointer-events: none;
  }
  .about-reading-intro-title::before { transform: rotate(-25deg); }
  .about-reading-intro-title::after { transform: rotate(25deg); }
  .about-reading .about-company > .about-text-1 {
    width: 100%;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--blue);
    text-align: center;
  }
  .about-reading .about-company .about-text-1 > span { display: block; }
  .about-reading .about-company > .about-text-2 {
    width: 100%;
    margin-bottom: 74px;
    color: #0e0e0e;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
    text-align: center;
  }
  .about-reading .about-company > .about-text-5 {
    position: relative;
    grid-column: 1;
    grid-row: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 80px;
    margin-top: 7px;
    padding: 18px 24px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
  }
  .about-reading-factory-title::after { content: none; }
  .about-reading .about-company > .about-text-3 {
    grid-column: 1;
    grid-row: 6;
    width: 100%;
    margin-top: 44px;
    color: #373a38;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.888889;
  }
  .about-reading .about-company > .about-image-factory {
    grid-column: 2;
    grid-row: 5 / span 2;
    align-self: start;
    width: 100%;
  }
  .about-reading .about-company > .about-text-7 {
    width: 100%;
    margin: 42px 0 12px;
    color: var(--blue);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.666667;
  }
  .about-reading .about-company > .about-text-4 {
    width: 100%;
    color: #373a38;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.888889;
  }
  .about-reading .about-company > .about-image-glass-process { width: 100%; margin-top: 40px; }
  .about-staff-speech__heading { white-space: normal; overflow-wrap: anywhere; }
  .about-staff__identity { min-height: 0; height: auto; }
  /* The page title retains its original desktop size and generous spacing. */
  .ekomado-site:has(.about-page-content) .works-title { min-height: 447px; padding: 150px 24px 40px; justify-content: flex-start; gap: 2px; }
  .ekomado-site:has(.about-page-content) .works-title h1 { font-size: 60px; line-height: 1.2; }
  .ekomado-site:has(.about-page-content) .works-title > p { font-size: 24px; line-height: 34px; }
  .ekomado-site:has(.about-page-content) .works-breadcrumb { width: min(1534px, 100%); margin: 64px auto 0; font-size: 16px; line-height: 24px; }
  .ekomado-site:has(.about-page-content) .works-sprout { left: 50%; width: 139px; transform: translateX(-50%); }
}
