@charset "UTF-8";
/* =============================================================
   philosophy.css - 企業理念ページ専用スタイル
   ============================================================= */

/* -------------------------------------------------------------
   ミッション
   ------------------------------------------------------------- */
.mission__inner { text-align: center; }

.mission__copy {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1.36;
  letter-spacing: .01em;
  color: var(--navy);
}
.mission__copy em {
  position: relative;
  font-style: normal;
  color: var(--orange);
}
.mission__copy em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -.08em;
  height: 7px;
  border-radius: 7px;
  background: rgba(255, 140, 0, .32);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s .25s var(--ease);
}
.mission__copy.is-drawn em::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .mission__copy em::after { transform: scaleX(1); }
}

.mission__text {
  max-width: 60ch;
  margin: 40px auto 0;
  text-align: left;
}
.mission__text p { font-size: 15.5px; color: var(--ink-70); }
.mission__text p + p { margin-top: 20px; }

/* -------------------------------------------------------------
   重視したいこと
   ------------------------------------------------------------- */
.focus {
  max-width: 860px;
  margin: 66px auto 0;
  padding: 46px 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-s);
  text-align: left;
}
.focus__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.5;
  color: var(--navy);
}
.focus__lead {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-70);
}
.focus__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 26px;
  margin-top: 30px;
}
.focus__list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink);
}
.focus__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 140, 0, .16);
}
.focus__list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: .72em;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.focus__note {
  margin-top: 30px;
  padding: 20px 24px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-70);
  background: var(--paper);
  border-radius: var(--r-md);
}

@media (max-width: 767px) {
  .focus { margin-top: 48px; padding: 32px 24px; }
  .focus__list { grid-template-columns: 1fr; gap: 10px; }
  .focus__note { padding: 18px 20px; }
}

/* -------------------------------------------------------------
   3つの約束
   ------------------------------------------------------------- */
.values__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: promise;
}

.values__item {
  position: relative;
  padding: 38px 30px 34px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-s);
  counter-increment: promise;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.values__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }

.values__item::before {
  content: counter(promise, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: rgba(3, 23, 66, .1);
}

.values__mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: var(--white);
  background: var(--navy);
}
.values__item:nth-child(2) .values__mark { background: var(--orange); }
.values__item:nth-child(3) .values__mark { background: var(--moss); }

.values__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.55;
  color: var(--navy);
}
.values__text {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-70);
}

@media (max-width: 959px) {
  .values__list { grid-template-columns: 1fr; gap: 18px; }
  .values__item { padding: 30px 24px; }
}

/* -------------------------------------------------------------
   代表メッセージ
   ------------------------------------------------------------- */
.pmessage__grid {
  display: grid;
  grid-template-columns: minmax(240px, 400px) 1fr;
  align-items: start;
  gap: clamp(30px, 5vw, 72px);
}

.pmessage__photo {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-m);
}
.pmessage__photo img { display: block; width: 100%; height: auto; }

.pmessage__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 34px 24px 20px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 15, 44, 0), rgba(2, 15, 44, .88));
}
.pmessage__caption-role { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.pmessage__caption-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: .05em;
}

.pmessage__text { margin-top: 18px; font-size: 15.5px; color: var(--ink-70); }
.pmessage__text:first-of-type { margin-top: 26px; }

.pmessage__sign {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pmessage__sign-role { font-size: 13.5px; color: var(--ink-50); }
.pmessage__sign-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: .06em;
  color: var(--navy);
}

@media (max-width: 767px) {
  .pmessage__grid { grid-template-columns: 1fr; }
  .pmessage__photo { position: relative; top: auto; max-width: 420px; }
}

/* -------------------------------------------------------------
   事業者概要
   ------------------------------------------------------------- */
.company .deftable a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.company .deftable a:hover { color: var(--orange-deep); }
