body {
  padding-top: 80px;
}

@media (max-width: 560px) {
  body {
    padding-top: 64px;
  }
}

/* ─────────────────────────────────────────
   会社紹介（キャッチコピー）
───────────────────────────────────────── */

.company-intro {
  padding: 90px 0 100px;
  background-color: #fff;
}

.company-intro__inner {
  max-width: 1366px;
  padding: 0 150px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 72px;
}

.company-intro__heading {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.8;
  color: #1d2e45;
  letter-spacing: 1.2px;
  font-feature-settings: "palt" 1;
/*  flex: 0 0 474px;*/
  margin: 0;
	flex: 0 0 495px;
}

.company-intro__heading-comma {
  letter-spacing: -20px;
}

.company-intro__text {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  color: #1d2e45;
  letter-spacing: 0.48px;
  margin: 8px 0 0;
}

/* ─────────────────────────────────────────
   社長メッセージ
───────────────────────────────────────── */

.company-message {
  padding: 0 0 120px;
  background-color: #fff;
}

.company-message__inner {
  max-width: 1366px;
  padding: 0 150px;
  margin: 0 auto;
  box-sizing: border-box;
}

.company-message__header {
  margin-bottom: 50px;
}

.company-message__en-label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 15px;
  color: #968971;
  letter-spacing: 0.75px;
  line-height: normal;
  margin: 0 0 8px;
}

.company-message__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 36px;
  color: #1d2e45;
  letter-spacing: 1.08px;
  line-height: 1.6;
  margin: 0;
  font-feature-settings: "palt" 1;
}

.company-message__body {
  display: flex;
  align-items: flex-start;
  gap: 70px; /* Figma：本文の右端〜写真の左端 = 70px */
}

.company-message__text-area {
  flex: 0 0 556px;
  /* 見出し（折り返さない）が長くても、本文の幅（556px）を押し広げない。
     押し広げると写真が細くなる。見出しは写真の上の余白にはみ出して表示する */
  min-width: 0;
}

.company-message__sub-title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 36px;
  color: #1d2e45;
  letter-spacing: 1.08px;
  line-height: 1.6;
  margin: 0 0 40px;
  font-feature-settings: "palt" 1;
}

.company-message__sub-title-comma {
  letter-spacing: -18px;
}

/* PCでは見出しを折り返さない（スマホは[sp]の指定どおりに改行） */
@media (min-width: 561px) {
  .company-message__sub-title {
    white-space: nowrap;
  }
}

.company-message__sub-title-break--sp {
  display: none;
}

.company-strength__lead-break--sp {
  display: none;
}

.company-strength__item-title-break--pc {
  display: inline;
}

.company-group__link-break--sp {
  display: none;
}

.company-message__text {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  color: #1d2e45;
  letter-spacing: 0.48px;
  margin-bottom: 40px;
}

.company-message__text p {
  margin: 0 0 0;
}

.company-message__text p:last-child {
  margin-bottom: 0;
}

.company-message__sig {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.company-message__sig-role {
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  font-weight: 600;
  color: #1d2e45;
  letter-spacing: 0.45px;
  line-height: 1.6;
}

.company-message__sig-name {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 600;
  color: #1d2e45;
  letter-spacing: 0.6px;
  line-height: 1.6;
}

.company-message__photo {
  /* 写真は 440×377px（画面が狭いときは比率を保って縮む） */
  flex: 0 1 440px;
  width: 440px;
  min-width: 0;
  /* 写真の上辺を、左の本文の上辺に揃える（見出し「受け継いだ信頼を〜」の高さ分だけ下げる） */
  padding-top: 98px;
  align-self: flex-start;
}

.company-message__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 440 / 377;
  object-fit: cover;
}

/* 企業理念 */
.company-philosophy {
  position: relative;
  background-image: url("../image/company/philosophy-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0 120px;
  overflow: hidden;
}

.company-philosophy__inner {
  position: relative;
  max-width: 1019px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 92px;
}
.company-philosophy__left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.company-philosophy__label {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.6px;
}
.company-philosophy__logo-area {
  display: flex;
  align-items: center;
  gap: 24px;
}
.company-philosophy__kanji {
  font-family: "Shippori Mincho", serif;
  font-size: 100px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 5px;
}
.company-philosophy__en-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.company-philosophy__en {
  font-family: "Cormorant Garamond", serif;

  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-top: 11px;
  padding-bottom: 14px;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.6px;
  text-transform: lowercase;
}
.company-philosophy__right {
  flex: 1;
  min-width: 0;
}
.company-philosophy__heading {
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 1.08px;
  margin: 0 0 20px;
  font-feature-settings: "palt" 1;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 57.6px */
  letter-spacing: 1.08px;
}
.company-philosophy__text {
  font-weight: 400;
  color: #fff;
  line-height: 2;
  letter-spacing: 0.42px;
  margin: 0;

  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-style: normal;
  line-height: 180%; /* 28.8px */
  letter-spacing: 0.48px;
}

/* 選ばれる理由 */
.company-strength {
  background-color: #fff;
}
.company-strength__header-wrap {
  padding: 120px 0 70px;
}
.company-strength__header-inner {
  max-width: 1366px;
  padding: 0 150px;
  margin: 0 auto;
  box-sizing: border-box;
}
.company-strength__en-label {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.48px;
  line-height: 1.8;
  margin: 0 0 8px;

  color: #968971;
  text-align: center;
  font-family: "Cormorant Garamond";
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}
.company-strength__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 36px;
  color: #1d2e45;
  letter-spacing: 1.08px;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 30px;
  font-feature-settings: "palt" 1;
}
.company-strength__lead {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  color: #1d2e45;
  line-height: 1.8;
  letter-spacing: 0.48px;
  text-align: center;
  margin: 0;
}
.company-strength__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  max-width: 1160px;
  margin: 0 auto;
  gap: 80px;
}
/* 奇数アイテム: テキスト左・画像右（右端までフルブリード） */
.company-strength__item {
  display: flex;
  align-items: stretch;
  min-height: 400px;
  gap: 60px;
}
/* 偶数アイテム: 画像左（左端までフルブリード）・テキスト右 */
.company-strength__item--reverse {
  flex-direction: row-reverse;
}
.company-strength__text-area {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-left: 62px;
  position: relative;
}
.company-strength__text-area:before {
  width: 11px;
  height: 180.12px;
  display: inline-block;
  background-image: url(/create/image/company/nawa.svg);
  position: absolute;
  top: 0;
  left: 0;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
}

.company-strength__item--reverse .company-strength__text-area {
  padding-left: 0;
  padding-right: 62px;
}
.company-strength__item--reverse .company-strength__text-area:before {
  width: 11px;
  height: 180.12px;
  display: inline-block;
  background-image: url(/create/image/company/nawa.svg);
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
}

.company-strength__num {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 48px;
  color: #968971;
  line-height: 1.6;
  display: block;
  margin-bottom: 8px;
}
.company-strength__item-title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 32px;
  color: #1d2e45;
  line-height: 1.5;
  letter-spacing: 0.96px;
  margin: 0 0 24px;
  font-feature-settings: "palt" 1;
}
.company-strength__item-text {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  color: #1d2e45;
  line-height: 1.6;
  letter-spacing: 0.48px;
  margin: 0;
}
.company-strength__image {
  flex: 0 0 625px;
  overflow: hidden;
}
.company-strength__image img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* 会社概要 */
.company-overview {
  padding: 100px 0 120px;
  background-color: #fff;
}
.company-overview__inner {
  max-width: 1366px;
  padding: 0 150px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.company-overview__side {
  flex: 0 0 200px;
  padding-top: 4px;
}
.company-overview__en-label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 15px;
  color: #968971;
  letter-spacing: 0.75px;
  line-height: normal;
  text-transform: uppercase;
  display: block;
  margin: 0 0 8px;
}
.company-overview__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 36px;
  color: #1d2e45;
  letter-spacing: 1.08px;
  line-height: 1.6;
  margin: 0;
}
.company-overview__table-wrap {
  flex: 1;
  min-width: 0;
}
.company-overview__table {
  width: 100%;
  border-collapse: collapse;
}
.company-overview__table th,
.company-overview__table td {
  padding: 24px 0;
  border-bottom: 1px solid #e0ddd6;
  text-align: left;
  vertical-align: top;
}
.company-overview__table td {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1d2e45;
  line-height: 2;
  letter-spacing: 0.3px;
  padding: 24px;
}
.company-overview__table th {
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  font-weight: 700;
  color: #1d2e45;
  letter-spacing: 0.34px;
  line-height: 2;
  white-space: nowrap;
  vertical-align: top;
  padding: 24px;
  width: 320px;
}
.company-overview__table a {
  color: #1d2e45;
  text-decoration: underline;
}
.company-overview__table a:hover {
  opacity: 0.7;
}
.company-overview__map-link {
  margin-left: 8px;
}

/* 関連会社 */
.company-group {
  padding: 0 0 100px;
  background-color: #fff;
}
.company-group__inner {
  max-width: 1366px;
  padding: 0 150px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
}
.company-group__side {
  flex: 0 0 200px;
  padding-top: 4px;
}
.company-group__en-label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 15px;
  color: #968971;
  letter-spacing: 0.75px;
  line-height: normal;
  text-transform: uppercase;
  display: block;
  margin: 0 0 8px;
}
.company-group__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 36px;
  color: #1d2e45;
  letter-spacing: 1.08px;
  line-height: 1.6;
  margin: 0;
}
.company-group__table-wrap {
  flex: 1;
  min-width: 0;
  width: 919px;
}
.company-group__table {
  width: 100%;
  border-collapse: collapse;
}
.company-group__table th,
.company-group__table td {
  padding: 24px 0;
  border-bottom: 1px solid #e0ddd6;
  text-align: left;
  vertical-align: top;
}
.company-group__table td {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1d2e45;
  line-height: 2;
  letter-spacing: 0.3px;
  padding: 24px;
}

.company-group__table td a {
  color: #1d2e45;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 200%;
  letter-spacing: 0.3px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.company-group__table th {
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  font-weight: 700;
  color: #1d2e45;
  letter-spacing: 0.34px;
  line-height: 2;
  white-space: nowrap;
  vertical-align: top;
  width: 320px;
  padding: 24px;
}

/* アクセス */
.company-access {
  background-color: #fff;
}
.company-access__inner {
  max-width: 1366px;
  padding: 0 150px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
}
.company-access__top {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 460px;
  margin-bottom: 120px;
}
.company-access__info-area {
  flex: 0 0 200px;
  padding-top: 4px;
}
.company-access__en-label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 15px;
  color: #968971;
  letter-spacing: 0.75px;
  line-height: normal;
  text-transform: uppercase;
  display: block;
  margin: 0 0 8px;
}
.company-access__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 36px;
  color: #1d2e45;
  letter-spacing: 1.08px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.company-access__address {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;

  color: #1d2e45;
  line-height: 2;
  letter-spacing: 0.3px;
  font-style: normal;
  padding: 24px;

  font-family: "Shippori Mincho";
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%;
  letter-spacing: 0.34px;
}
.company-access__photo {
  flex: 0 0 60%;
  overflow: hidden;
}
.company-access__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-access__map-wrap {
  width: 100%;
}
.company-access__map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}
.company-access__text-area {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 919px;
  justify-content: space-between;
  gap: 50px 0;
}
/* PC：住所＋写真の段と地図の右端を必ずそろえる（40:60 の2列＋地図は2列ぶち抜き） */
@media (min-width: 561px) {
  .company-access__text-area {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 50px 0;
  }
  .company-access__address {
    grid-column: 1;
  }
  .company-access__photo {
    grid-column: 2;
    min-width: 0;
  }
  .company-access__map-wrap {
    grid-column: 1 / -1;
    min-width: 0;
  }
}
/* 縦網装飾 */
.company-strength__item {
  position: relative;
}
.company-strength__deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(50% - 5.5px);
  width: 11px;
  height: 180.12px;
  background-image: url("../image/company/strength-net.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

/* ------------------------------
   沿革（会社の歴史／スクロール連動タイムライン）
   ------------------------------ */
.company-history {
  /* 背景画像(enkakuhakei.jpg)の地色 #fcfbf9 に合わせる（色が1段階でも違うと四角い境目が見える） */
  background-color: #fcfbf9;
}

.company-history__hero {
  position: relative;
  padding: 120px 0 0;
  background-color: #fcfbf9;
}

.company-history__hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1366px;
  height: 620px;
  overflow: hidden;
  z-index: 0;
  width: 100%;
}

.company-history__hero-bg-img {
  display: block;
  width: 100%;
  max-width: 1366px;
  height: auto;
  max-height: 1062px;
  margin: 0 auto;
}

.company-history__inner {
  position: relative;
  z-index: 1;
  max-width: 1366px;
  min-height: 598.59375px;
  padding: 0 150px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.company-history__intro {
  flex: 0 0 400px;
  max-width: 400px;
}

.company-history__label {
  color: #968971;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.company-history__title {
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  font-weight: 600;
  color: #1d2e45;
  line-height: 160%;
  letter-spacing: 1.08px;
  margin: 0 0 32px;
}

.company-history__years {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  color: #1d2e45;
  line-height: 160%;
  letter-spacing: 2.4px;
  margin: 0 0 24px;
  font-size: 48px;
}

.company-history__years-num {
  font-size: 72px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 2.16px;
}

.company-history__years-unit {
  font-size: 48px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 1.44px;
  margin-left: 2px;
}

.company-history__catch {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 600;
  color: #1d2e45;
  line-height: 160%;
  letter-spacing: 0.72px;
  margin: 0 0 24px;
}

.company-history__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1d2e45;
  line-height: 2;
  letter-spacing: 0.3px;
  margin: 0;
}

/* .company-history__visual removed: founder/archive are now positioned absolutely from .company-history__inner directly, so they no longer need to reserve flex width and can't overflow the row at narrower viewports. */

.company-history__founder {
  position: absolute;
  top: 261.546875px;
  right: 245px;
  z-index: 2;
}

.company-history__founder-photo {
  display: block;

  object-fit: cover;
  margin: 0;
  width: 117.354px;
  height: 146px;
}

.company-history__founder-caption {
  position: absolute;
  left: -58px;
  top: 109px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 64px;
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 140%;
  letter-spacing: 0.45px;
  background: #1d2e45;
  opacity: 0.8;
  padding: 4px 10px;
  text-align: center;
  gap: 0;
  line-height: 0.4em;
  width: 105px;
  height: 50px;
}

.company-history__founder-label {
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: #fff;
  line-height: 140%;
  letter-spacing: 0.36px;
}

.company-history__archive {
  position: absolute;
  top: 336.5px;
  right: 96px;
  display: flex;
  gap: 0;
}

.company-history__archive-item {
  margin: 0;
  width: 145px;
}

.company-history__archive-item:first-child {
  margin-top: 90px;
}

.company-history__archive-item img {
  display: block;
  width: 145px;
  height: 103px;
  aspect-ratio: 145 / 103;
  object-fit: cover;
}

.company-history__archive-item:nth-child(2) {
  width: 199px;
}

.company-history__archive-item:nth-child(2) img {
  width: 199px;
  height: 182px;
  aspect-ratio: 82 / 75;
  object-fit: cover;
}

.company-history__archive-item figcaption {
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  font-weight: 600;
  color: #1d2e45;
  text-align: center;
  line-height: 160%;
  letter-spacing: 0.39px;
  margin: 8px auto 0;
}

.company-history__archive-item:first-child figcaption {
  width: 161px;
  height: 40px;
}

.company-history__archive-item figcaption span {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  font-weight: 600;
  color: #1d2e45;
  line-height: 160%;
  letter-spacing: 0.36px;
}

.company-history__collage-sp {
  display: none;
}

/* スクロール連動タイムライン（sticky） */
.company-history__stage {
  position: relative;
  margin-top: 0;
}

.company-history__sticky {
  position: sticky;
  /* 画面の縦中央で止める（固定ヘッダー80pxより上には行かない） */
  top: max(80px, calc((100vh / var(--z) - 516.8125px) / 2));
  height: 516.8125px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;

  /* 波模様は左右に分かれた2枚の透明PNG（背景は透明なので四角い端が出ない）。
     左は画面の左端、右は画面の右端に寄せて、画面幅いっぱいに広がる。
     ※Safari対策：巨大画像をずらして貼ると灰色の矩形になるため、必要な下部だけを切り出している */
  background-image:
    url("../image/company/enkaku-wave-left.png"),
    url("../image/company/enkaku-wave-right.png");
  background-repeat: no-repeat;
  background-position:
    left top,
    right top;
  background-size:
    auto 442px,
    auto 442px;
}

.company-history__era-row {
  position: relative;
  overflow: hidden;
  height: 140px;
  flex-shrink: 0;
  margin-top: 50px;
  padding-left: max(150px, calc((100vw / var(--z) - 1366px) / 2 + 150px));
  box-sizing: border-box;
}

.company-history__era-strip {
  position: relative;
  height: 100%;
}

.company-history__era-banner-item {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 672px;
}

.company-history__era-wrap {
  display: flex;
  margin: 0 0 32px;
}

.company-history__era {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 672px;
  height: 53px;
  padding: 0 70px 0 40px;
  background: #f1f3f4; /* Figma：fill #F1F3F4 */
  color: #1d2e45;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0.6px;
  -webkit-clip-path: polygon(
    0 0,
    calc(100% - 32px) 0,
    100% 50%,
    calc(100% - 32px) 100%,
    0 100%
  );
  clip-path: polygon(
    0 0,
    calc(100% - 32px) 0,
    100% 50%,
    calc(100% - 32px) 100%,
    0 100%
  );
}

.company-history__era-desc {
  width: 672px;
  margin: 0;
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 160%;
  color: #1d2e45;
  letter-spacing: 0.51px;
}

.company-history__track-viewport {
  overflow: hidden;
  flex-shrink: 0;
  padding-left: max(150px, calc((100vw / var(--z) - 1366px) / 2 + 150px));
  padding-right: 0;
  box-sizing: border-box;
  width: 100%;
}

.company-history__track {
  position: relative; /* milestone.offsetLeft の基準をtrackに固定（帯の位置合わせ用） */
  display: flex;
  margin-top: 50px;
}

.company-history__milestone {
  position: relative;
  flex: 0 0 204px;
  margin-right: 30px;
}

.company-history__milestone-era {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 160%;
  color: #1d2e45;
  letter-spacing: 0.42px;
  margin: 0 0 4px;
}

.company-history__milestone-year {
  display: flex;
  align-items: center;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0.72px;
  color: #1d2e45;
  margin: 0 0 16px;
}

.company-history__milestone-year::after {
  content: "";
  display: block;
  order: 2;
  flex-shrink: 0;
  width: 102px;
  height: 1px;
  background: #a5b7c8;
  margin-left: 12px;
}

.company-history__milestone-year::before {
  content: "";
  display: block;
  order: 3;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #a5b7c8;
  margin-left: -1px;
}

.company-history__milestone:last-child .company-history__milestone-year::after,
.company-history__milestone:last-child
  .company-history__milestone-year::before {
  display: none;
}

.company-history__milestone-year span {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0.42px;
  color: #1d2e45;
  margin-left: 2px;
}

.company-history__milestone-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1d2e45;
  line-height: 160%;
  letter-spacing: 0.45px;
  margin: 0;
  max-width: 230px;
}

.company-history__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 5px;
  margin-bottom: 30px;
}

.company-history__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 10px;
  border-radius: 22.5px;
  border: 1px solid #07344d;
  background: #fff;
  color: #07344d;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.company-history__nav-btn--prev {
  transform: scaleX(-1);
}

.company-history__nav-arrow {
  display: block;
  width: 7.002px;
  height: 9.999px;
}

.company-history__nav-arrow {
  transition: filter 0.2s;
}

.company-history__nav-btn:hover,
.company-history__nav-btn:active,
.company-history__nav-btn:focus-visible {
  background-color: #07344d;
  color: #fff;
}

/* 押した／タップした／ホバーしたとき、中の三角矢印を白にする */
.company-history__nav-btn:hover .company-history__nav-arrow,
.company-history__nav-btn:active .company-history__nav-arrow,
.company-history__nav-btn:focus-visible .company-history__nav-arrow {
  filter: brightness(0) invert(1);
}

/* ===================================================
   モバイル（SP）レスポンシブ対応
=================================================== */
@media (max-width: 560px) {
  body {
    padding-top: 64px;
  }

  /* 会社紹介（キャッチコピー） */
  .company-intro {
    padding: 40px 0 50px; /* 本文の下 → TOP MESSAGE のラベルまで 50px */
  }
  .company-intro__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 22px;
    gap: 20px;
  }
  .company-intro__heading {
    flex: none;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5; /* 36px */
    letter-spacing: 0.72px;
  }
  .company-intro__heading-comma {
    letter-spacing: -10px;
  }
  .company-intro__text {
    font-size: 15px;
    line-height: 1.6; /* 24px */
    letter-spacing: 0.45px;
    margin-top: 0;
  }

  /* 社長メッセージ */
  .company-message {
    padding: 0 0 60px;
  }
  .company-message__inner {
    padding: 0 22px;
  }
  .company-message__header {
    margin-bottom: 24px;
  }
  .company-message__en-label {
    font-size: 14px;
    letter-spacing: 0.7px;
  }
  .company-message__title {
    font-size: 24px;
    line-height: 1.6; /* 38.4px */
    letter-spacing: 0.72px;
  }
  .company-message__body {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .company-message__text-area {
    display: contents;
  }
  .company-message__sub-title {
    order: 1;
  }
  .company-message__text {
    order: 2;
  }
  .company-message__photo {
    order: 3;
  }
  .company-message__sig {
    order: 4;
  }
  .company-message__sub-title {
    font-size: 24px;
    line-height: 1.5; /* 36px */
    letter-spacing: 0.72px;
    margin-bottom: 0; /* 親の gap 24px のみ → サブタイトルの下 → 本文 = 24px */
  }
  .company-message__sub-title-comma {
    letter-spacing: -12px;
  }
  .company-message__sub-title-break--sp {
    display: inline;
  }
  .company-message__text {
    font-size: 15px;
    line-height: 1.6; /* 24px */
    letter-spacing: 0.45px;
    margin-bottom: 6px; /* 親の gap 24px と合わせて 本文の下 → 写真 = 30px */
  }
  .company-message__sig {
    justify-content: center;
  }
  .company-message__sig-role {
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.45px;
  }
  .company-message__sig-name {
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.6px;
  }
  .company-message__photo {
    flex: none;
    padding-top: 0;
    width: 260px;
    margin: 0 auto;
  }
  .company-message__photo img {
    width: 260px;
    height: 180px;
    aspect-ratio: auto;
  }

  /* 企業理念 */
  .company-philosophy {
    padding: 60px 0 50px;
    background-image: url("../image/company/philosophy-bg-sp.jpg");
  }
  .company-philosophy__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 22px;
    gap: 24px;
  }
  .company-philosophy__left {
    gap: 24px;
  }
  .company-philosophy__label {
    font-size: 20px;
    line-height: 1.6; /* 32px */
    letter-spacing: 0.6px;
  }
  .company-philosophy__logo-area {
    gap: 25px;
  }
  .company-philosophy__kanji {
    font-size: 64px;
    font-weight: 500;
    line-height: 1.6; /* 102.4px */
    letter-spacing: 3.2px;
  }
  .company-philosophy__en {
    font-size: 30px;
    letter-spacing: 1.5px;
    padding: 5px 0 8px;
  }
  .company-philosophy__heading {
    font-size: 24px;
    line-height: 1.6; /* 38.4px */
    letter-spacing: 0.72px;
    margin-bottom: 24px;
  }
  .company-philosophy__text {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8; /* 27px */
    letter-spacing: 0.45px;
    padding-right: 3px; /* デザインの本文幅（375px時 328px）に合わせて、折り返し位置をそろえる */
  }

  /* 選ばれる理由 */
  .company-strength__header-wrap {
    padding: 50px 0 30px;
  }
  .company-strength__header-inner {
    padding: 0 22px;
  }
  .company-strength__en-label {
    font-size: 14px;
    letter-spacing: 0.7px;
    text-align: center;
  }
  .company-strength__title {
    font-size: 21px;
    line-height: 1.6; /* 33.6px */
    letter-spacing: 0.63px;
    margin-bottom: 16px;
  }
  .company-strength__lead {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8; /* 28.8px */
    letter-spacing: 0.48px;
  }
  .company-strength__lead-break--sp {
    display: inline;
  }
  .company-strength__list {
    padding: 0 22px;
    margin-top: 39px;
    gap: 79px;
  }
  .company-strength__item,
  .company-strength__item--reverse {
    flex-direction: column;
    min-height: 0;
    gap: 20px;
  }
  .company-strength__text-area {
    padding-left: 0;
  }
  .company-strength__item--reverse .company-strength__text-area {
    padding-right: 0;
  }
  .company-strength__text-area:before,
  .company-strength__item--reverse .company-strength__text-area:before {
    display: none;
  }
  .company-strength__num {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.6; /* 51.2px */
  }
  .company-strength__item-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5; /* 33px */
    letter-spacing: 0.66px;
    margin-bottom: 12px;
  }
  .company-strength__item-title-break--pc {
    display: none;
  }
  .company-group__link-break--sp {
    display: inline;
  }
  .company-strength__item-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6; /* 24px */
    letter-spacing: 0.45px;
  }
  .company-strength__image {
    flex: none;
    width: 100%;
  }
  .company-strength__image img {
    height: 190px;
  }
  .company-strength__deco {
    top: -29px;
    width: 150px;
    height: 9px;
    left: calc(50% - 75px);
    transform: none;
  }

  /* 会社概要 / 関連会社（テーブル→縦積み） */
  .company-overview {
    padding: 40px 0 50px;
  }
  .company-overview__inner,
  .company-group__inner {
    flex-direction: column;
    padding: 0 22px;
    gap: 16px;
  }
  .company-overview__side,
  .company-group__side {
    flex: none;
    padding-top: 0;
  }
  .company-overview__title,
  .company-group__title {
    font-size: 24px;
    letter-spacing: 0.72px;
  }
  .company-overview__table-wrap,
  .company-group__table-wrap {
    width: 100%;
  }
  .company-overview__table,
  .company-group__table,
  .company-overview__table tbody,
  .company-group__table tbody,
  .company-overview__table tr,
  .company-group__table tr,
  .company-overview__table th,
  .company-overview__table td,
  .company-group__table th,
  .company-group__table td {
    display: block;
    width: auto;
  }
  .company-overview__table tr,
  .company-group__table tr {
    padding: 16px 0;
    border-bottom: 1px solid #e0ddd6;
  }
  .company-overview__table th,
  .company-overview__table td,
  .company-group__table th,
  .company-group__table td {
    padding: 0;
    border-bottom: 0;
    white-space: normal;
  }
  .company-overview__table th,
  .company-group__table th {
    font-size: 16px;
    font-weight: 700;
    line-height: 2; /* 32px */
    letter-spacing: 0.32px;
    margin-bottom: 8px;
  }
  .company-overview__table td,
  .company-group__table td {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6; /* 24px */
    letter-spacing: 0.3px;
  }

  /* 関連会社 セクション余白 */
  .company-group {
    padding: 0 0 50px;
  }

  /* アクセス */
  .company-access__inner {
    flex-direction: column;
    padding: 0 22px;
  }
  .company-access__top {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    margin-bottom: 50px;
    gap: 20px;
  }
  .company-access__info-area {
    flex: none;
    padding-top: 0;
  }
  .company-access__en-label {
    font-size: 14px;
    letter-spacing: 0.7px;
  }
  .company-access__title {
    font-size: 24px;
    letter-spacing: 0.72px;
    margin-bottom: 10px;
  }
  .company-access__text-area {
    flex-wrap: nowrap;
    flex-direction: column;
    max-width: 100%;
    gap: 20px;
  }
  .company-access__address {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6; /* 24px */
    letter-spacing: 0.3px;
    padding: 0;
  }
  /* 会社名 → 住所 8px */
  .company-access__name {
    display: block;
    margin-bottom: 8px;
  }
  .company-access__name-br {
    display: none;
  }
  .company-access__photo {
    flex: none;
    width: 331px;
    height: 190px;
  }
  .company-access__map-wrap iframe {
    height: 250px;
  }

  /* 沿革（ヒーロー部分） */
  .company-history__hero {
    padding: 62px 0 0; /* 上端 → HISTORY ラベル 62px */
  }
  .company-history__hero-bg {
    width: 100%;
    height: auto;
  }
  .company-history__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0 22px;
    gap: 0;
    min-height: 0;
  }
  .company-history__intro {
    flex: none;
    max-width: 100%;
    margin-bottom: 24px;
  }
  .company-history__label {
    font-size: 14px;
    letter-spacing: 0.7px;
  }
  .company-history__title {
    font-size: 24px;
    letter-spacing: 0.72px;
    margin-bottom: 0;
  }

  .company-history__years {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.6; /* 57.6px */
    letter-spacing: 1.8px;
    margin-bottom: 20px;
  }
  .company-history__years-num {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.6; /* 76.8px */
    letter-spacing: 1.44px;
  }
  .company-history__years-unit {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.6; /* 57.6px */
    letter-spacing: 1.08px;
  }
  .company-history__catch {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6; /* 32px */
    letter-spacing: 0.6px;
    margin-bottom: 16px;
  }
  .company-history__text {
    font-family: "Shippori Mincho", serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8; /* 27px */
    letter-spacing: 0.45px;
    margin-bottom: 10px;
  }

  /* 創業者・アーカイブ写真コラージュ（書き出し画像1枚に差し替え） */
  .company-history__founder,
  .company-history__archive {
    display: none;
  }
  .company-history__collage-sp {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 24px;
  }

  /* スクロール連動タイムライン */
  .company-history__sticky {
    top: 64px;
    height: calc(100vh - 64px);
    justify-content: center;
    background-image: none;
  }
  .company-history__era-row {
    padding-left: 22px;
    height: 125px;
    margin-top: 24px;
  }
  .company-history__era {
    height: 53px;
    background: #f1f3f4;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6; /* 32px */
    letter-spacing: 0.6px;
    text-align: left;
    padding: 0 32px 0 20px;
  }
  .company-history__era-desc {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6; /* 27.2px */
    letter-spacing: 0.51px;
  }
  .company-history__track-viewport {
    padding-left: 22px;
  }
  .company-history__track {
    margin-top: 24px;
  }
  .company-history__milestone-text {
    max-width: 180px;
  }
  .company-history__nav {
    margin-bottom: 24px;
  }
  .company-history__nav-btn {
    margin: 0;
  }
}

/* アンカーリンクで移動したとき、固定ヘッダーに見出しが隠れないようにする */
.company-message,
.company-philosophy,
.company-strength,
.company-overview,
.company-group,
.company-access,
.company-history {
  scroll-margin-top: 80px;
}

@media (max-width: 560px) {
  .company-message,
  .company-philosophy,
  .company-strength,
  .company-overview,
  .company-group,
  .company-access,
  .company-history {
    scroll-margin-top: 60px;
  }
}

/* 管理画面の [sp] / [pc] 改行（スマホのみ／PCのみ）共通クラス */
.company-br--sp {
  display: none;
}

.company-br--pc {
  display: inline;
}

@media (max-width: 560px) {
  .company-br--sp {
    display: inline;
  }

  .company-br--pc {
    display: none;
  }
}
