@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Zen+Maru+Gothic:wght@700;900&display=swap");

/* ============================================================
   Brand Concept Page /company/concept/
   Page-specific CSS only.
   WordPress移行時は固定ページ用CSSとして分離可能。
============================================================ */
.p-concept {
  --concept-navy: #001f52;
  --concept-red: #e60012;
  --concept-sky: #eaf8fe;
  color: #111;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.p-concept img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Intro / Hero ---------- */
.p-concept__intro {
  padding-top: 24px;
  background: linear-gradient(#dff3fc 0%, #fff 73%);
}

.p-concept__hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 78px;
}

.p-concept__hero img {
  width: 100%;
  border-radius: 28px;
}

.p-concept__content {
  width: min(840px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- PURPOSE / VISION ---------- */
.p-concept__purpose-vision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 88px;
  margin-bottom: 80px;
}

.p-concept__block,
.p-concept__values {
  line-height: 1.8;
  letter-spacing: .015em;
}

.p-concept__block p,
.p-concept__values p {
  margin: 0 0 26px;
}

/* 志／こころざし・姿／すがた・私たちのあたりまえ */
.p-concept__heading,
.p-concept__values-title {
  margin: 0;
  color: #111;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .03em;
}

.p-concept__heading span {
  padding: 0 .16em;
  font-size: .72em;
}

/* PURPOSE / VISION / VALUE */
.p-concept__en,
.p-concept__values > .p-concept__en {
  margin: 4px 0 13px !important;
  color: #111 !important;
  font-family: "Zen Maru Gothic", sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  letter-spacing: .20em !important;
  transform: none !important;
  font-stretch: normal !important;
}

/* リード文 */
.p-concept__sub {
  margin-bottom: 26px !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7 !important;
}

/* 想いを込めて〜 / 本気で考え〜 */
.p-concept__accent-title {
  position: relative;
  margin: 0 0 20px;
  padding-left: 17px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
}

.p-concept__accent-title::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--concept-navy) 0 54%,
    var(--concept-red) 54% 100%
  );
}

/* PURPOSE / VISION 本文 */
.p-concept__block > p:not(.p-concept__en):not(.p-concept__sub) {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

/* ---------- VALUE ---------- */
.p-concept__values {
  margin-top: 10px;
}

.p-concept__values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 64px;
  margin-top: 25px;
}

.p-concept__value-item h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.p-concept__value-item h3 span {
  display: inline-block;
  flex: 0 0 auto;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  background: linear-gradient(
    to bottom,
    var(--concept-navy) 0 50%,
    var(--concept-red) 50% 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.p-concept__value-item p {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

/* ---------- Enjimaru ---------- */
.p-concept__enjimaru {
  position: relative;
  z-index: 2;
  width: 140px;
  margin: 86px auto -37px;
}

/* ---------- Logo story ---------- */
.p-concept__logo-story {
  padding: 80px 0 90px;
  background: #f4f4f4;
}

.p-concept__logo-story-inner {
  width: min(520px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.p-concept__logo-story h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 32px;
  padding: 0 5px 8px;
  color: var(--concept-navy);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .05em;
}

.p-concept__logo-story h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--concept-red);
}

.p-concept__logo-mark {
  width: 180px;
  margin: 0 auto 25px;
}

.p-concept__logo-story p {
  width: min(430px, 100%);
  margin: 0 auto;
  color: #222;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-ideograph;
}

/* ---------- Breadcrumb ---------- */
.p-concept__breadcrumb {
  background: #fff;
}

.p-concept__breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  color: #222;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.p-concept__breadcrumb li {
  display: flex;
  align-items: center;
}

.p-concept__breadcrumb li + li::before {
  content: "▶";
  display: inline-flex;
  align-items: center;
  margin-right: 7px;
  color: #333;
  font-size: 7px;
  line-height: 1;
}

.p-concept__breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .p-concept__hero {
    margin-bottom: 54px;
  }

  .p-concept__content {
    width: min(700px, calc(100% - 40px));
  }

  .p-concept__purpose-vision {
    gap: 48px;
  }

  .p-concept__values-grid {
    gap: 30px 44px;
  }
}

/* ---------- Smartphone ---------- */
@media (max-width: 600px) {
  .p-concept__intro {
    padding-top: 14px;
    background: linear-gradient(#dff3fc 0%, #fff 75%);
  }

  .p-concept__hero {
    width: calc(100% - 24px);
    margin-bottom: 48px;
  }

  .p-concept__hero img {
    border-radius: 18px;
  }

  .p-concept__content {
    width: calc(100% - 40px);
  }

  .p-concept__purpose-vision {
    grid-template-columns: 1fr;
    gap: 58px;
    margin-bottom: 62px;
  }

  .p-concept__values-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .p-concept__value-item h3 {
    white-space: normal;
  }

  .p-concept__enjimaru {
    margin-top: 62px;
    margin-bottom: -37px;
  }

  .p-concept__logo-story {
    padding: 64px 0 72px;
  }

  .p-concept__logo-mark {
    width: 150px;
  }

  .p-concept__breadcrumb ol {
    width: calc(100% - 32px);
    padding: 18px 0;
  }
}
