@charset "UTF-8";

/* ============================================
   About Page – Renewal 2026
   ============================================ */

/* --- Page Title Bar --- */
.p-about2-title-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 201px;
  padding: 0 16px;
  background: #F9FAFB;
}
.p-about2-title-bar__heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #101828;
  line-height: 40px;
  letter-spacing: 0.37px;
  text-align: center;
}

/* --- Hero / OUR VISION --- */
.p-about2-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 421px;
  padding: 80px 20px;
  overflow: hidden;
  margin-top: 0;
}
.p-about2-hero__bg {
  position: absolute;
  inset: 0;
  display: flex;
}
.p-about2-hero__bg img {
  flex: 1;
  object-fit: cover;
  opacity: 0.35;
}
.p-about2-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}
.p-about2-hero__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.p-about2-hero__label-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 46px;
  font-weight: 900;
  color: #D80C18;
  letter-spacing: 1.1px;
  line-height: 1;
  text-transform: uppercase;
}
.p-about2-hero__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #101828;
  line-height: 75px;
  letter-spacing: 0.52px;
}
.p-about2-hero__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 82%;
  height: 14px;
  background: #D80C18;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%);
}

/* --- Background Logo Pattern --- */
#about {
  position: relative;
  background: #fff;
  overflow: hidden;
}
#about::before,
#about::after {
  content: '';
  position: absolute;
  width: 1194px;
  height: 1190px;
  background: url(../img/about2/bg-logo-pattern.svg) no-repeat center / contain;
  pointer-events: none;
  z-index: 1;
}
#about::before {
  top: 0;
  left: -388px;
}
#about::after {
  top: 1500px;
  right: -340px;
  left: auto;
}

/* --- Shared Section Styles --- */
.p-about2-section {
  position: relative;
  padding: 80px 20px;
  z-index: 2;
}
.p-about2-section--white { background: transparent; }
.p-about2-section--gray { background: #F9FAFB; overflow: hidden; }
.p-about2-section__inner {
  max-width: 1024px;
  margin: 0 auto;
}
.p-about2-section__inner--narrow {
  max-width: 918px;
}

/* --- Section Heading (h2_main) --- */
.p-about2-heading {
  margin-bottom: 48px;
  text-align: center;
}
.p-about2-heading__en {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #D80C18;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.p-about2-heading__ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #101828;
  line-height: 1;
}

/* --- Company Name Origin --- */
.p-about2-heading--center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-about2-name {
  position: relative;
  max-width: 918px;
  height: 452px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #F9FAFB;
}
.p-about2-name__bg {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  object-fit: cover;
}
.p-about2-name__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #F9FAFB 65%, transparent 125%)
}
.p-about2-name__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 19px;
  height: 100%;
  max-width: 720px;
  padding: 0 48px;
  text-align: left;
}
.p-about2-name__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #101828;
  line-height: 75px;
  letter-spacing: 0.52px;
}
.p-about2-name__logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}
.p-about2-name__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #364153;
  line-height: 2.5;
}
.p-about2-name__desc strong {
  font-weight: 700;
  color: #D80C18;
}

/* --- Company Info Table --- */
.p-about2-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #EFEFEF;
}
.p-about2-table th,
.p-about2-table td {
  padding: 24px 32px;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid #EFEFEF;
  vertical-align: top;
}
.p-about2-table th {
  background: #F9FAFB;
  font-weight: 700;
  color: #101828;
  width: 140px;
  width: 244px;
  white-space: nowrap;
  border-right: 1px solid #EFEFEF;
}
.p-about2-table td {
  color: #364153;
}
.p-about2-table tr:last-child th,
.p-about2-table tr:last-child td {
  border-bottom: none;
}
/* 取引先グループ */
.p-about2-table__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-about2-table__group-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-about2-table__group-label {
  font-size: 16px;
  font-weight: 700;
  color: #101828;
}
.p-about2-table__group-value {
  font-size: 14px;
  font-weight: 400;
  color: #364153;
}

/* --- Map in Table --- */
.p-about2-table__map {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 12px;
  min-width: 0;
}
.p-about2-table__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  text-align: center;
}
.p-about2-access__info strong {
  color: var(--color-dark, #101828);
  font-weight: 700;
}
.p-about2-access__info span {
  color: var(--color-gray-700, #4A5565);
}

/* --- History Section bg pattern --- */
.p-about2-section--history::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 781px;
  height: 779px;
  background: url(../img/about2/bg-logo-pattern-white.svg) no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}
.p-about2-section--history > * {
  position: relative;
  z-index: 1;
}

/* --- History Timeline --- */
.p-about2-history {
  position: relative;
  padding-left: 4px;
}
.p-about2-history__line {
  position: absolute;
  left: 9px;
  top: 9px;
  bottom: 0px;
  width: 4px;
  background: #D80C18;
  border-radius: 2px;
}
.p-about2-history__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.p-about2-history__item {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* ドット + 横線コネクター */
.p-about2-history__dot {
  position: relative;
  flex-shrink: 0;
  width: 33px;
  display: flex;
  align-items: center;
}
.p-about2-history__dot::before {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #D80C18;
  box-sizing: border-box;
  flex-shrink: 0;
}
.p-about2-history__dot::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: #D80C18;
  flex-shrink: 0;
}
.p-about2-history__year {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #D80C18;
  min-width: 130px;
  line-height: 32px;
  flex-shrink: 0;
}
.p-about2-history__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #364153;
  line-height: 26px;
  margin-left: 32px;
}

/* ============================================
   Responsive
   ============================================ */
@media screen and (max-width: 767px) {
  .p-about2-title-bar { min-height: 140px; }
  .p-about2-title-bar__heading { font-size: 28px; }

  .p-about2-hero { min-height: 300px; padding: 48px 16px; }
  .p-about2-hero__label-text { font-size: 20px; }
  .p-about2-hero__title { font-size: 27px; line-height: 1.6; max-width: 82%;}
  .p-about2-hero__title br { display:none}
  .p-about2-hero__content { gap: 24px; }

  .p-about2-section { padding: 48px 16px; }

  .p-about2-heading { margin-bottom: 32px; text-align: left; align-items: inherit;}
  .p-about2-heading__en { font-size: 12px; letter-spacing: 1.25px; margin-bottom: 0; }
  .p-about2-heading__ja { font-size: 24px; line-height: 36px; letter-spacing: 0.4px; }

  .p-about2-name { height: auto; min-height: 360px; }
  .p-about2-name__bg { width: 100%; opacity: 0.3; }
  .p-about2-name__overlay { background: linear-gradient(to bottom, #F9FAFB 30%, rgba(249,250,251,0.7) 100%); }
  .p-about2-name__content { padding: 32px 24px; max-width: none; }
  .p-about2-name__title { font-size: 24px; line-height: 1.4; }
  .p-about2-name__desc { font-size: 16px; }

  .p-about2-table th {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .p-about2-table td {
    display: block;
    width: 100%;
  }
  .p-about2-table th, .p-about2-table td {
    padding: 12px 32px;
  }

  .p-about2-table__map { height: 200px; }

  .p-about2-history__list { gap: 32px; }
  .p-about2-history__item { flex-wrap: wrap; }
  .p-about2-history__desc { margin-left: 0; flex-basis: 100%; padding-left: 39px; }
}
