@charset "UTF-8";
/* Farm/buy デザイントークン
-----------------------------------------------------------------*/
/* イージング
-----------------------------------------------------------------*/
/* デュレーション
-----------------------------------------------------------------*/
/* ============================================================
   私たちの想い（company/message）専用CSS
   ark_company/assets/company-message.css ＋ ヒーローで流用する
   .p-product-story のベース（assets/css/company.css）を移植。
   ・色/フォント/.c-section-title/.arw は company_common.css
============================================================ */
/* ---- .p-product-story ベースは _companyComponents.scss に共通化。以下は message 固有 ---- */
.p-message {
  background: #efefef;
  padding-bottom: 11.1111111111vw;
}
@media (max-width: 1023px) {
  .p-message {
    padding-bottom: min(19.2vw, 93.6px);
  }
}

.p-message__container {
  width: var(--inner);
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .p-message__container {
    width: 86.6666666667vw;
  }
}

.p-message-brSp {
  display: none;
}
@media (max-width: 1023px) {
  .p-message-brSp {
    display: inline;
  }
}

/* ヘッダーは白帯（solid）のまま fixed にしてフローから抜き、FV画像を白帯の下にも広げる。
   sticky のままだとヘッダーが約108px分フローを占有してヒーローが押し下げられ、
   100vh のステージが画面からはみ出す。fixed にすると main が y=0 から始まり
   ステージ 0〜100vh がちょうど画面に収まる（白帯は画像の上端を覆う）。
   company_message.css は company_common.css の後に読まれるので同詳細度で後勝ちする。 */
.companyHeader.companyHeader-solid {
  position: fixed;
}

/* 1. ヒーロー（.p-product-story 流用） */
.p-product-story--message {
  width: 100%;
  margin: 0;
}
@media (max-width: 1023px) {
  .p-product-story--message {
    padding-top: 0;
  }
}

.p-product-story--message .p-product-story__scroll {
  position: relative;
}

.p-product-story--message .p-product-story__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #2b2a28;
  overflow: hidden;
}

.p-product-story--message .p-product-story__scrim {
  position: absolute;
  inset: 0;
  display: none;
}
@media (max-width: 1023px) {
  .p-product-story--message .p-product-story__scrim {
    display: block;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.44) 100%);
  }
}

.p-product-story--message .p-product-story__steps {
  position: relative;
  z-index: 1;
  width: var(--inner);
  margin-inline: auto;
  padding-block: 0;
  margin-top: -100vh;
}

.p-product-story--message .p-product-story__step {
  min-height: 100vh;
  justify-content: center;
  padding-top: 6.6666666667vw;
}
@media (max-width: 1023px) {
  .p-product-story--message .p-product-story__step {
    padding-top: min(19.2vw, 93.6px);
  }
}

.p-product-story--message .p-product-story__step + .p-product-story__step {
  margin-top: 0;
}

@media (max-width: 1023px) {
  .p-product-story--message .p-product-story__step:first-child {
    padding-top: 0;
  }
}

.p-product-story--message .p-product-story__bg:first-child {
  animation: mhHeroZoom 10s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@media (max-width: 1023px) {
  .p-product-story--message .p-product-story__bg:first-child {
    background-position: 20% center;
  }
}

@keyframes mhHeroZoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}
.p-message-hero__inner--right {
  display: flex;
  justify-content: flex-end;
  gap: clamp(24px, 3.3333vw, 48px);
  margin-top: 14vh;
  padding-right: clamp(32px, 10vw, 160px);
}
@media (max-width: 1023px) {
  .p-message-hero__inner--right {
    justify-content: center;
    margin-top: min(14.9333333333vw, 72.8px);
    padding-right: 0;
  }
}
html[lang=en-US] .p-message-hero__inner--right {
  justify-content: center;
  margin-top: 0;
  padding-right: 0;
}

.p-message-hero__vgroup {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: clamp(24px, 3.5vw, 56px);
}
@media (max-width: 1023px) {
  .p-message-hero__vgroup {
    gap: min(5.3333333333vw, 26px);
  }
}
html[lang=en-US] .p-message-hero__vgroup {
  flex-direction: column;
  align-items: center;
  width: min(100%, 40rem);
  min-width: 0;
  gap: clamp(20px, 2.2222vw, 32px);
  text-align: center;
}

.p-message-hero__vertical {
  margin-top: -1.6666666667vw;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(36px, 4.0972vw, 59px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #fff;
}
@media (max-width: 1023px) {
  .p-message-hero__vertical {
    font-size: clamp(30px, 10vw, 48px);
  }
}
html[lang=en-US] .p-message-hero__vertical {
  margin-top: 0;
  max-width: 100%;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
@media (max-width: 1023px) {
  html[lang=en-US] .p-message-hero__vertical {
    font-size: clamp(30px, 8vw, 40px);
  }
}

.p-message-hero__lead {
  margin-top: 12.5vh;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(18px, 1.3889vw, 20px);
  line-height: 2.8;
  letter-spacing: 0.2em;
  color: #fff;
}
@media (max-width: 1023px) {
  .p-message-hero__lead {
    margin-top: min(6.4vw, 31.2px);
    font-size: var(--fz-body);
    line-height: 2.1;
    letter-spacing: 0.08em;
  }
}
html[lang=en-US] .p-message-hero__lead {
  margin-top: 0;
  width: 100%;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.p-message-hero__char {
  display: inline-block;
  opacity: 0;
  animation: mhCharIn 0.9s ease forwards;
}

@keyframes mhCharIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.p-message-hero__lead {
  animation: mhLeadIn 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 1.6s both;
}

@keyframes mhLeadIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-message-hero__char,
  .p-message-hero__lead {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .p-message-hero__en.js-reveal::before {
    opacity: 0.85;
    transition: none;
  }
  .p-message-hero__enChar,
  .p-message-hero__quote.js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .p-product-story--message .p-product-story__bg:first-child {
    animation: none;
    transform: none;
  }
}
@media print {
  .p-message-hero__char,
  .p-message-hero__lead {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .p-message-hero__en.js-reveal::before {
    opacity: 0.85;
    transition: none;
  }
  .p-message-hero__enChar,
  .p-message-hero__quote.js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .p-product-story--message .p-product-story__bg:first-child {
    animation: none;
    transform: none;
  }
}
.p-message-hero__en {
  margin: 0 0 3.8888888889vw 3px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: var(--fz-h2);
  line-height: 1.2;
  letter-spacing: var(--ls-mincho);
  text-transform: uppercase;
  color: #fff;
}
@media (max-width: 1023px) {
  .p-message-hero__en {
    margin-bottom: min(10.6666666667vw, 52px);
    font-size: var(--fz-h1);
  }
}
.p-message-hero__en::before {
  content: attr(data-ja);
  display: block;
  margin-bottom: 0.9722222222vw;
  font-size: var(--fz-body);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: none;
  opacity: 0.85;
}

.p-message-hero__quote {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 2;
  letter-spacing: 0.06em;
  color: #fff;
}
@media (max-width: 1023px) {
  .p-message-hero__quote {
    font-size: var(--fz-md);
    line-height: 1.65;
  }
}

/* -----------------------------------------------------------------
   PHILOSOPHY（ヒーロー2枚目）の登場
   ・見出しは左から1文字ずつスーッと。横書きなので translateX で流す
   ・あしらい（::before の「理念」）→ 見出し → 本文 の順に出す
   ・スクロール到達で .is-visible が付く（company_common.js の initScrollReveal）
------------------------------------------------------------------ */
.p-message-hero__en.js-reveal::before {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.p-message-hero__en.js-reveal.is-visible::before {
  opacity: 0.85;
}

.p-message-hero__enChar {
  display: inline-block;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.8s ease calc(0.25s + var(--d, 0s)), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) calc(0.25s + var(--d, 0s));
}

.p-message-hero__en.is-visible .p-message-hero__enChar {
  opacity: 1;
  transform: none;
}

.p-message-hero__quote.js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.6s ease 1.15s, transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) 1.15s;
}

.p-message-hero__quote.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1023px) {
  .p-message .c-section-title {
    font-size: var(--fz-h1);
  }
}

.p-message .c-section-title[data-en]::before {
  font-family: var(--mincho);
  font-size: var(--fz-body);
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--text);
}

.p-message .c-section-title::after {
  display: none;
}

/* 2. 私たちの使命（MISSION） */
.p-message-mission {
  padding: 11.1111111111vw 0;
}
@media (max-width: 1023px) {
  .p-message-mission {
    padding: min(19.2vw, 93.6px) 0;
  }
}

.p-message-mission__inner {
  width: var(--inner);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 22.2222222222vw 1fr;
  gap: 5.5555555556vw;
  align-items: start;
}
@media (min-width: 1024px) {
  .p-message-mission__inner {
    width: 86.6666666667vw;
  }
}
@media (max-width: 1023px) {
  .p-message-mission__inner {
    grid-template-columns: 1fr;
    gap: min(10.6666666667vw, 52px);
  }
}

.p-message-mission__title {
  position: sticky;
  top: 8.8888888889vw;
  margin-top: -1.3194444444vw;
}
@media (max-width: 1023px) {
  .p-message-mission__title {
    position: static;
    margin-top: 0;
  }
}

.p-message-mission__list {
  display: flex;
  flex-direction: column;
  gap: 5.5555555556vw;
}
@media (max-width: 1023px) {
  .p-message-mission__list {
    gap: min(14.9333333333vw, 72.8px);
  }
}

.p-message-mission__eyebrow {
  margin-left: 3px;
}

.p-message-mission__eyebrow .num {
  font-family: var(--mono);
  font-weight: 400;
  font-size: var(--fz-h2);
  line-height: 1;
  letter-spacing: 0;
  color: var(--text);
}

.p-message-mission__heading {
  position: relative;
  margin-top: 0.9722222222vw;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: var(--fz-h3);
  line-height: calc(1.43em + 20px);
  letter-spacing: 0.06em;
  color: var(--text-body);
}

.p-message-mission__heading .band {
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: #fff;
  padding: 0.4166666667vw 0.6944444444vw;
}

.p-message-mission__heading.js-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #efefef;
  transform-origin: right center;
  transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
  pointer-events: none;
}

.p-message-mission__heading.js-reveal.is-visible::after {
  transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
  .p-message-mission__heading.js-reveal::after {
    transform: scaleX(0);
    transition: none;
  }
}
@media print {
  .p-message-mission__heading.js-reveal::after {
    display: none;
  }
}
.p-message-mission__text {
  margin-top: 2.2222222222vw;
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: 0.04em;
  color: var(--text-body);
}
@media (max-width: 1023px) {
  .p-message-mission__text {
    margin-top: min(6.4vw, 31.2px);
  }
}

/* 3. ファーム帯 */
.p-message-band {
  position: relative;
  min-height: clamp(532px, 38.8888888889vw, 840px);
  overflow: hidden;
}
@media (min-width: 1440px) {
  .p-message-band {
    min-height: 0;
    aspect-ratio: 1440/560;
  }
}
@media (max-width: 1023px) {
  .p-message-band {
    height: auto;
    min-height: min(106.6666666667vw, 520px);
  }
}

@media (min-width: 1440px) {
  .p-message-band__inner {
    min-height: 0;
    height: 100%;
  }
}

.p-message-band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p-message-band__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.p-message-band__inner {
  position: relative;
  z-index: 2;
  min-height: clamp(532px, 38.8888888889vw, 840px);
  width: var(--inner);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 6.6666666667vw 0;
  text-align: center;
}
@media (min-width: 1024px) {
  .p-message-band__inner {
    width: 86.6666666667vw;
  }
}
@media (max-width: 1023px) {
  .p-message-band__inner {
    flex-direction: column;
    align-items: center;
    min-height: min(106.6666666667vw, 520px);
    gap: 0;
    padding: min(19.2vw, 93.6px) 0;
    text-align: center;
  }
}

.p-message-band__heading {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: var(--fz-h2);
  line-height: 1.5;
  letter-spacing: 0.2em;
  color: #fff;
}
@media (max-width: 1023px) {
  .p-message-band__heading {
    font-size: var(--fz-h3);
  }
}

.p-message-band__heading .rv-c {
  overflow: visible;
}

.p-message-band__heading .rv-i {
  transform: none;
  opacity: 0;
  transition: opacity 1.1s ease calc(var(--rd, 0s) * 4);
}

.p-message-band__heading.is-inview .rv-i {
  opacity: 1;
}

.p-message-band__text.js-riseIn {
  transform: none;
  transition: opacity 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 1.9s;
}

.p-message-band__logo.js-riseIn {
  transform: none;
  transition: opacity 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) 2.5s;
}

.p-message-band__text {
  margin-top: 1.9444444444vw;
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: 0.08em;
  color: #fff;
}
@media (max-width: 1023px) {
  .p-message-band__text {
    margin-top: min(5.3333333333vw, 26px);
  }
}

.p-message-band__logo {
  width: clamp(136.8px, 10vw, 216px);
  height: auto;
  flex: 0 0 auto;
  margin-top: 3.3333333333vw;
}
@media (max-width: 1023px) {
  .p-message-band__logo {
    width: min(23.4666666667vw, 114.4px);
    margin-top: min(10.6666666667vw, 52px);
  }
}

/* 4. メッセージ（白カード3枚） */
.p-message-cards {
  padding: 11.1111111111vw 0;
}
@media (max-width: 1023px) {
  .p-message-cards {
    padding: min(19.2vw, 93.6px) 0;
  }
}

.p-message-cards__grid {
  margin-top: 3.8888888889vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6666666667vw;
}
@media (max-width: 1023px) {
  .p-message-cards__grid {
    margin-top: min(8.5333333333vw, 41.6px);
    grid-template-columns: 1fr;
    gap: min(4.2666666667vw, 20.8px);
  }
}

.p-message-card {
  background: #fff;
  border-radius: 6px;
  padding: 3.3333333333vw 2.7777777778vw;
}
@media (max-width: 1023px) {
  .p-message-card {
    padding: min(8.5333333333vw, 41.6px) min(6.4vw, 31.2px);
  }
}

.p-message-card.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.p-message-card.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.p-message-cards__grid .p-message-card:nth-child(2).js-reveal {
  transition-delay: 0.12s;
}

.p-message-cards__grid .p-message-card:nth-child(3).js-reveal {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .p-message-card.js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media print {
  .p-message-card.js-reveal {
    opacity: 1;
    transform: none;
  }
}
.p-message-card__heading {
  margin: 0;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: var(--fz-h3);
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--text-body);
}

.p-message-card__heading::before {
  content: "";
  display: block;
  margin-top: -0.3em;
}

.p-message-card__text {
  margin-top: 1.6666666667vw;
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: 0.04em;
  color: var(--text-body);
}

.p-message-card__text + .p-message-card__text {
  margin-top: 1.9em;
}

/* 5. 会長ごあいさつカードは共通部品 .companyGreeting に集約
   → module/_companyComponents.scss / src/pug/inc/_companyGuide.pug */