/* ------------------------------------------------------------
   会社概況セクション（nami_h 1）
   ------------------------------------------------------------ */
.top-history {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding: 100px 0 80px;
  overflow: hidden;
  box-sizing: border-box;
}

.top-history__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.top-history__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.top-history__inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* ------------------------------------------------------------
   縦書きリード文
   ------------------------------------------------------------ */
.top-history__lead {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 70px;
  margin-bottom: 50px;
}

.top-history__lead-heading,
.top-history__lead-body {
  display: flex;
  flex-direction: column;
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: #1d2e45;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.top-history__lead-heading {
  font-size: 30px;
  line-height: 1;
  gap: 30px;
  letter-spacing: 6px;
}

.top-history__lead-body {
  font-size: 16px;
  line-height: 1.125;
  gap: 20px;
  letter-spacing: 2px;
}

.top-history__lead-heading p,
.top-history__lead-body p {
  margin: 0;
}

/* 見出しはPC用とスマホ用で別の入力（PCでスマホ用を隠す） */
.top-history__lead-heading--sp {
  display: none;
}

/* ------------------------------------------------------------
   統計（創業／歴史／従業員数／売上高）
   ------------------------------------------------------------ */
.top-history__stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
}

.top-history__stats-item {
  display: flex;
  flex-direction: column;
  padding: 0 40px;
  color: #07344d;
  text-align: left;
}

/* PC：項目の間に縦の区切り線（Figma：幅1px・高さ83px・上から27px、色は #968971）。
   項目の左右の余白40pxの真ん中に線が来る。両端の項目の外側には余白をつけない。
   タブレット以下・SPは下のメディアクエリで別の見せ方 */
@media (min-width: 1025px) {
  .top-history__stats-item {
    position: relative;
  }
  .top-history__stats-item:first-child {
    padding-left: 0;
  }
  .top-history__stats-item:last-child {
    padding-right: 0;
  }
  .top-history__stats-item:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 0;
    width: 1px;
    height: 83px;
    background-color: #968971;
  }
}

.top-history__stats-label {
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.51px;
  margin: 0;
  white-space: nowrap;
}

.top-history__stats-value {
  display: flex;
  align-items: baseline;
  gap: 4px;

  white-space: nowrap;
}

.top-history__stats-number {
  font-family: "Shippori Mincho", serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 3.84px;
}

.top-history__stats-unit {
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 2px;
}

.top-history__stats-caption {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.48px;
  margin: 0;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   「会社案内を見る」ボタン
   ------------------------------------------------------------ */
.top-history__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 240px;
  height: 52px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #07344d;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.48px;
  color: #07344d;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.top-history__cta:hover {
  background-color: #07344d;
  color: #ffffff;
}

.top-history__cta:hover .top-history__cta-arrow path {
  stroke: #ffffff;
}

.top-history__cta-arrow {
  display: block;
  width: 20px;
  height: 8px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   レスポンシブ（タブレット 〜1024px）
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .top-history {
    padding: 72px 0 56px;
  }

  .top-history__stats {
    flex-wrap: wrap;
    row-gap: 32px;
  }

  .top-history__stats-item {
    padding: 0 24px;
  }

  .top-history__stats-item:nth-child(3) {
    border-left: 1px solid #968971;
  }
}

/* スマートフォン（〜560px） */
@media (max-width: 560px) {
  .top-history {
    padding: 56px 0 40px;
  }

  .top-history__inner {
    padding: 0 16px;
  }

  .top-history__lead {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
  }

  .top-history__lead-heading,
  .top-history__lead-body {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    display: block;
    gap: 0;
  }

  .top-history__lead-heading {
    font-size: 0;
    font-weight: 600;
    letter-spacing: normal;
    color: #1d2e45;
  }

  /* スマホ：PC用（縦書き）を隠し、スマホ用（横書き）を表示。Enter＝1行 */
  .top-history__lead-heading--pc {
    display: none;
  }

  .top-history__lead-heading.top-history__lead-heading--sp {
    display: block;
  }

  .top-history__lead-heading p {
    display: block;
    margin: 0;
    font-size: 24px;
    line-height: 36px;
  }

  .top-history__lead-body {
    font-size: 15px;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: normal;
    font-feature-settings: "vkna" on;
    color: #1d2e45;
  }

  .top-history__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 11px;
    row-gap: 20px;
    margin: 0 0 32px;
  }

  .top-history__stats-item {
    width: 157px;
    height: 154px;
    padding: 20px 5px 11px 20px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.05);
    border-left: none !important;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    text-align: left;
  }

  .top-history__stats-label {
    font-size: 16px;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 0.48px;
    color: #07344d;
  }

  /* ラベル内の「（グループ）」だけ小さく（デザイン：14px / ls 0.42px） */
  .top-history__stats-label-sub {
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 0.42px;
  }

  .top-history__stats-number {
    font-size: 36px;
    font-weight: 600;
    line-height: 123%; /* 数値の下の余白を詰める（カード上端→キャプション上端 = 98px） */
    letter-spacing: 2.88px;
    color: #07344d;
  }

  .top-history__stats-unit {
    font-size: 16px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.48px;
    color: #07344d;
  }

  .top-history__stats-caption {
    font-size: 14px;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0.42px;
    color: #07344d;
    white-space: normal;
  }

  /* 複数行のキャプション：管理画面のEnter＝1行（2枚目・3枚目） */
  .top-history__stats-item:nth-child(2) .top-history__stats-caption,
  .top-history__stats-item:nth-child(3) .top-history__stats-caption {
    line-height: 110%;
  }

  .top-history__stats-item:nth-child(2) .top-history__stats-caption span,
  .top-history__stats-item:nth-child(3) .top-history__stats-caption span {
    display: block;
  }

  .top-history__cta {
    width: 240px;
    height: 52px;
  }
}

/* ------------------------------------------------------------
/* ------------------------------------------------------------
   CONTACTセクション（資料請求・お問い合わせ）
   ------------------------------------------------------------ */
.top-contact {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding: 90px 0 100px;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;
}

.top-contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.top-contact__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.top-contact__inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-contact__en-title {
  font-family: "Cormorant Garamond", serif;
  color: #968971;
  margin: 0 0 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.top-contact__jp-title {
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #1d2e45;
  margin: 0 0 32px;
}

.top-contact__lead {
  color: #1d2e45;
  margin: 0 0 30px;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.48px;
}

.top-contact__lead-break--sp {
  display: none;
}

/* CTAエリア */
.top-contact__cta-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* フォームボタン */
.top-contact__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 351px;
  height: 75px;
  padding: 0 30px 0 50px;
  box-sizing: border-box;
  background-color: #07344d;
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0.54px;
  color: #ffffff;
  text-decoration: none;
  transition:
    background-color 0.3s,
    padding-right 0.3s;
}

.top-contact__btn:hover {
  background-color: #968971;
  padding-right: 20px;
}

.top-contact__btn-arrow {
  display: block;
  width: 20px;
  height: 8px;
  flex-shrink: 0;
}

/* 区切り線 */
.top-contact__divider {
  width: 1px;
  height: 75px;
  background-color: #07344d;
  margin: 0 50px;
  flex-shrink: 0;
}

/* 電話エリア */
.top-contact__tel {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contact__tel-icon {
  width: 60px;
  height: 60px;
}

.top-contact__tel-icon svg {
  width: 100%;
  height: 100%;
}

.top-contact__tel-info {
  text-align: left;
}

.top-contact__tel-label {
  font-size: 13px;
  font-weight: 400;
  color: #1d2e45;
  margin: 0 0 4px;

  font-family: "Shippori Mincho";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  /* 25.6px */
  letter-spacing: 0.48px;
}

.top-contact__tel-number {
  display: block;
  letter-spacing: 0.03em;
  color: #07344d;
  text-decoration: none;
  font-family: "Shippori Mincho";
  font-size: 32px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.96px;
  margin-top: -8px;
}

.top-contact__tel-hours {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.42px;
}

.contactwave {
  width: 328px;
  height: 170px;
  position: absolute;
}

.contactwave picture,
.contactwave img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leftwave {
  top: 111px;
  left: -11px;
}

.contactwave.rightwave {
  bottom: 24px;
  right: -10px;
  width: 246px;
  height: 237px;
}

/* ------------------------------------------------------------
   レスポンシブ（タブレット ~1024px）
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .top-contact {
    padding: 72px 0;
  }

  .top-contact__divider {
    margin: 0 40px;
  }
}

/* スマートフォン（~560px） */
@media (max-width: 560px) {
  .top-contact {
    padding: 56px 0;
    padding-top: 0;
  }

  .top-contact__inner {
    padding: 0 22px;
    padding-top: 60px;
  }

  .top-contact__jp-title {
    font-size: 26px;
  }

  .top-contact__lead {
    font-size: 13px;
    margin-bottom: 48px;
  }

  .top-contact__lead-break--sp {
    display: inline;
  }

  .top-contact__cta-area {
    flex-direction: column;
    gap: 40px;
  }

  .top-contact__btn {
    width: 331px;
    max-width: 100%;
    height: 71px;
    padding: 0 20px;
    white-space: nowrap;
    gap: 8px;
  }

  .top-contact__divider {
    width: 75px;
    height: 1px;
    margin: 0;
  }

  .top-contact__tel-icon {
    width: 55px;
    height: 55px;
  }

  .top-contact__tel-label {
    font-size: 15px;
    letter-spacing: 0.45px;
    color: #07344d;
  }

  .top-contact__tel-number {
    font-size: 30px;
    letter-spacing: 0.9px;
  }

  .top-contact__tel-hours {
    font-size: 13px;
    letter-spacing: 0.39px;
    color: #07344d;
  }

  .contactwave.leftwave {
    width: 94px;
    height: 107px;
    top: 0;
    left: 0px;
  }

  .contactwave.rightwave {
    width: 105px;
    height: 120px;
  }
}

/* ------------------------------------------------------------
   事業内容セクション（BUSINESS OVERVIEW）
   ------------------------------------------------------------ */
.top-business {
  width: 100%;
  background-color: #f2f2ef;
  padding: 100px 0;
  box-sizing: border-box;
}

.top-business__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ヘッダー */
.top-business__header {
  text-align: center;
  margin-bottom: 56px;
}

.top-business__en-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #968971;
  margin: 0 0 8.4px; /* タイトルの行の高さを1.6にしたぶん(上下3.6px)詰めて、英語との間隔は今までどおり */
}

.top-business__jp-title {
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.6; /* Figma：文字枠の高さ約58px */
  letter-spacing: 0.05em;
  color: #1d2e45;
  margin: 0 0 30px; /* Figma：タイトルの枠とリード文の枠の間 30px */
}

.top-business__lead {
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  /* 25.6px */
  letter-spacing: 0.48px;
  color: #1d2e45;
}

/* グリッド */
.top-business__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
}

/* カード */
.top-business__card {
  display: flex;
  background-color: #ffffff;
  overflow: hidden;
  height: 247px;
  text-decoration: none;
  color: inherit;
}

.top-business__card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.top-business__card:hover .top-business__card-img {
  transform: scale(1.05);
}

.top-business__card-body {
  flex: 1;
  min-width: 0;
  padding: 14px 0 22px 36px; /* 数字の上14px・左36px・「詳しく見る」の下22px */
  display: flex;
  flex-direction: column;
}

.top-business__card-num {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.6; /* 数字の枠 32px */
  color: #07344d;
  margin: 0 0 6px; /* 数字とタイトルの間 6px */
}

.top-business__card-title {
  font-family: "Shippori Mincho", serif;
  line-height: 1.3; /* 2行タイトルでも説明文・リンクがカードに収まる行間 */
  min-height: 38px; /* 1行タイトルでも枠は38px（Figma） */
  color: #1d2e45;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.top-business__card-desc {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 auto;
  color: #191e2e;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.45px;
}

.top-business__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px; /* 説明文との最小の間。通常は下22pxに固定されるので余りは自動で空く */
  height: 22px;
  font-family: "Shippori Mincho", serif;

  transition: opacity 0.3s;
  color: #07344d;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0.42px;
}

.top-business__card:hover .top-business__card-link {
  opacity: 0.6;
}

.top-business__card-arrow {
  display: block;
  width: 20px;
  height: 8px;
  flex-shrink: 0;
}

.top-business__card-img-wrap {
  position: relative;
  flex: 0 0 330px;
  width: 330px;
  height: 245px;
  overflow: hidden;
}

.top-business__card-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -1px;
  background-color: #ffffff;
  clip-path: path(
    "M0.645 0.5 C11.2951 42, 50.3692 149.1, 121.461 245.5 L0 245.5 Z"
  );
  pointer-events: none;
  z-index: 1;
}

.top-business__card-photo-arrow {
  display: none;
}

/* CTAボタン */
.top-business__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 240px;
  height: 52px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #07344d;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #07344d;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.top-business__cta:hover {
  background-color: #07344d;
  color: #ffffff;
}

.top-business__cta:hover .top-business__cta-arrow path {
  stroke: #ffffff;
}

.top-business__cta-arrow {
  display: block;
  width: 20px;
  height: 8px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   レスポンシブ（〜1144px：カードが狭くなり文字が収まらないため1列に）
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .top-business__grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .top-business__card {
    height: auto;
    min-height: 245px;
  }

  .top-business__card-img-wrap {
    height: auto;
    min-height: 245px;
  }
}

/* 写真の縦横比に関わらず、カードの高さは文字側で決める（写真は枠いっぱいにトリミング） */
@media (min-width: 561px) and (max-width: 1024px) {
  .top-business__card-img-wrap .top-business__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

/* 561〜720px：写真を少し細くして文字の幅を確保 */
@media (min-width: 561px) and (max-width: 720px) {
  .top-business__card-img-wrap {
    flex: 0 0 280px;
    width: 280px;
  }
}

/* ------------------------------------------------------------
   レスポンシブ（タブレット ~1024px）
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .top-business {
    padding: 72px 0;
  }

  .top-business__grid {
    gap: 16px;
  }

  .top-business__card-body {
    padding: 24px 20px;
  }

  .top-business__card-title {
    font-size: 18px;
  }
}

/* スマートフォン（~560px） */
@media (max-width: 560px) {
  .top-business {
    padding: 50px 0;
  }

  .top-business__header {
    margin-bottom: 20px;
  }

  .top-business__en-title {
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 12px; /* SPは今までどおり */
  }

  .top-business__jp-title {
    font-size: 24px;
    line-height: 160%;
    letter-spacing: 0.72px;
    margin-bottom: 24px; /* SPは今までどおり */
  }

  .top-business__lead {
    font-size: 15px;
    letter-spacing: 0.45px;
  }

  .top-business__lead span {
    display: block;
  }

  .top-business__card-num {
    font-size: 16px;
    line-height: 160%;
  }

  .top-business__card-title {
    font-size: 20px;
    line-height: 160%;
    letter-spacing: 1px;
    margin-bottom: 5px;
  }

  /* 「漁撈機械・養殖装置」「漁船建造・船舶部品」の「造・」：デザイン通り字間を -4px（2枚目・3枚目のみ） */
  .top-business__grid > li:nth-child(2) .top-business__card-title-dot,
  .top-business__grid > li:nth-child(3) .top-business__card-title-dot {
    letter-spacing: -4px;
  }

  /* タイトル中のスペース（PCでの改行位置）はスマホでは改行しない（スペースも出さない） */
  .top-business__card-title-space,
  .top-business__card-title-pcbr {
    display: none;
  }

  .top-business__grid > li:nth-child(2) .top-business__card-title br {
    display: none;
  }

  .top-business__grid > li:nth-child(3) .top-business__card-title br {
    display: none;
  }

  .top-business__card-desc {
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0.42px;
  }

  .top-business__grid {
    grid-template-columns: 1fr;
    max-width: none;
    margin-bottom: 40px;
  }

  .top-business__card {
    position: relative;
    width: 331px;
    height: auto;
    min-height: 149px;
    overflow: visible;
  }

  .top-business__card-body {
    position: relative;
    z-index: 1;
    flex: none;
    padding: 12px 20px;
  }

  .top-business__card-link {
    display: none;
  }

  .top-business__card-img-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 331px;
    height: 149px;
    min-height: 0;
  }

  .top-business__card-img-wrap::before {
    /* SPは斜めカット+矢印を合成済みの画像(business-*-sp.jpg)を使うため無効化 */
    display: none;
  }

  .top-business__card-photo-arrow {
    /* SPは画像に矢印を合成済みのため非表示 */
    display: none;
  }

  .top-business__cta {
    width: 240px;
    height: 52px;
  }
}

/* ------------------------------------------------------------
   MV（メインビジュアル）スライダー
   ------------------------------------------------------------ */
.mvarea {
  width: 100%;
  height: calc(100vh / var(--z));
  position: relative;
  overflow: hidden;
}

.mv-swiper {
  width: 100%;
  height: 100%;
}

.mv-swiper__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- MV オーバーレイ ---- */
.mv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

/* 波装飾 */
.mv-wave img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mv-wave--tr {
  position: absolute;
  top: 80px;
  right: 0;
  width: 256px;
  height: 133px;
}

.mv-wave--bl {
  position: absolute;
  bottom: 80px;
  left: 60px;
  width: 328px;
  height: 170px;
}

/* キャッチコピー */
.mv-catch {
  position: absolute;
  top: 50%;
  left: 140px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.mv-catch__sub {
  flex-shrink: 0;
  width: 20px;
  height: 206px;
}

.mv-catch__sub img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mv-catch__line {
  flex-shrink: 0;
  width: 1px;
  height: 206px;
  background: #968971;
  margin: 0 30px 0 20px;
}

.mv-catch__text {
  font-family: "Shippori Mincho", serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 2.4px;
  color: #07344d;
  margin: 0;
}

/* スマートフォン（〜560px） */
@media (max-width: 560px) {
  .mvarea {
    height: 603px;
    margin-top: 64px;
  }

  .mv-catch {
    top: 36px;
    left: 22px;
    transform: none;
  }

  .mv-catch__text {
    font-size: 25px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 1.25px;
    color: #07344d;
  }

  .mv-catch__sub {
    width: 13px;
    height: 129px;
  }

  .mv-catch__line {
    height: 64px;
  }

  .mv-wave--tr {
    top: 24px;
    right: 0;
    width: 146px;
    height: 116px;
  }

  .mv-wave--bl {
    bottom: 28px;
    left: 0;
    width: 130px;
    height: 145px;
  }
}

/* ============================================================
   実績・製品紹介（top-projects）
   ============================================================ */
.top-projects {
  position: relative;
  width: 100%;
  padding: 100px 0;
  overflow: hidden;
}

.top-projects__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.top-projects__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-projects__inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- セクションヘッド ---- */
.top-projects__head {
  text-align: center;
  margin-bottom: 56px;
}

.top-projects__en-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: #968971;
  margin: 0 0 8px;
}

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

.top-projects__lead {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.48px;
  color: #1d2e45;
  margin: 0;
}

/* ---- スライダーエリア ---- */
.top-projects__slider-wrap {
  position: relative;
}

.projects-swiper {
  overflow: hidden;
}

.projects-swiper .swiper-slide {
  font-size: 0;
  line-height: 0;
}

/* Swiper デフォルトスクロールバー非表示 */
.projects-swiper .swiper-scrollbar {
  display: none;
}

/* ---- カード ---- */
.top-projects__card {
  display: block;
  background: #ffffff;
  border: 2px solid #f1f3f4;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.top-projects__card-img-wrap {
  width: 100%;
  height: 158px;
  overflow: hidden;
}

.top-projects__card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.top-projects__card:hover .top-projects__card-img {
  transform: scale(1.08);
}

.top-projects__card-body {
  padding: 20px 30px 24px;
  display: flex;
  flex-direction: column;
}

.top-projects__card-title {
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.72px;
  color: #222a68;
  margin: 0 0 10px;
}

.top-projects__card-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.45px;
  color: #191e2e;
  margin: 0 0 16px;
}

.top-projects__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0.42px;
  color: #07344d;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.top-projects__card:hover .top-projects__card-link {
  transform: translateX(6px);
}

/* ---- ナビゲーションボタン ---- */
.top-projects__nav {
  position: absolute;
  top: 160px; /* カードの上から。枠2px＋写真158px＝写真と白い枠の境目に丸の中心を合わせる */
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1.5px solid #07344d;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition:
    background 0.3s,
    border-color 0.3s;
}

.top-projects__nav-icon {
  display: block;
  flex-shrink: 0;
}

.top-projects__nav-icon polygon {
  fill: #07344d;
  transition: fill 0.3s;
}

.top-projects__nav:hover {
  background: #07344d;
  border-color: #07344d;
}

.top-projects__nav:hover .top-projects__nav-icon polygon {
  fill: #ffffff;
}

/* 実績が少ないとき：PCは3枚以下で矢印なし／1枚のみなら全幅で矢印なし */
@media (min-width: 561px) {
  .top-projects__slider-wrap.is-static-pc .top-projects__nav {
    display: none;
  }
}
.top-projects__slider-wrap.is-static .top-projects__nav {
  display: none;
}
.projects-swiper .swiper-slide {
  height: auto;
}

/* PC：実績カードの高さをそろえる（一番高いカードに合わせ、「詳しく見る」はカード下端に揃える） */
@media (min-width: 561px) {
  .projects-swiper .swiper-slide .top-projects__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
  }

  .projects-swiper .swiper-slide .top-projects__card-body {
    flex: 1 1 auto;
  }

  .projects-swiper .swiper-slide .top-projects__card-link {
    margin-top: auto;
  }
}

.top-projects__nav--prev {
  left: -24px;
}

.top-projects__nav--next {
  right: -24px;
}

/* ---- 下部ボタン ---- */
.top-projects__btn-wrap {
  text-align: center;
  margin-top: 48px;
}

.top-projects__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 240px;
  height: 52px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #07344d;
  background: transparent;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.48px;
  color: #07344d;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.top-projects__btn:hover {
  background: #07344d;
  color: #ffffff;
}

.top-projects__btn:hover svg path {
  stroke: #ffffff;
}

/* スマートフォン（〜560px） */
@media (max-width: 560px) {
  .top-projects {
    padding: 50px 0;
  }

  .top-projects__en-title {
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.7px;
    text-transform: uppercase;
  }

  .top-projects__jp-title {
    font-size: 24px;
    line-height: 160%;
    letter-spacing: 0.72px;
    margin-bottom: 15px;
  }

  .top-projects__lead {
    font-size: 15px;
    letter-spacing: 0.45px;
  }

  .top-projects__lead span {
    display: block;
  }

  .top-projects__btn-wrap {
    margin-top: 40px;
  }

  .top-projects__head {
    margin-bottom: 20px;
  }
}

/* ============================================================
   汎用パララックスヒーロー
   ============================================================ */
.parallax-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.parallax-hero__bg {
  position: absolute;
  inset: -40% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ============================================================
   OUR STRENGTH セクション
   ============================================================ */
.top-strength {
  position: relative;
  z-index: 1;
  margin-top: -138px;
}

.top-strength__inner {
  max-width: 1160px;
  margin: 0 auto;
  background: #ffffff;
  padding: 100px 97px 110px;
  box-sizing: border-box;
}

/* ---- ヘッド ---- */
.top-strength__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.top-strength__en-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: #968971;
  margin: 0 0 8px;
}

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

.top-strength__lead {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  color: #1d2e45;
  margin: 0;
}

.top-strength__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 240px;
  height: 52px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #07344d;
  background: transparent;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.48px;
  color: #07344d;
  text-decoration: none;
  flex-shrink: 0;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.top-strength__link:hover {
  background-color: #07344d;
  color: #ffffff;
}

.top-strength__link:hover path {
  stroke: #ffffff;
}

/* ---- カードグリッド ---- */
.top-strength__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.top-strength__card {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 48px 36px 44px;
  text-align: center;
  box-sizing: border-box;
  position: relative;
}

/* 縦線: 右辺が必要なカードを明示指定 (1・2・3・4枚目) */
.top-strength__card:nth-child(1)::after,
.top-strength__card:nth-child(2)::after,
.top-strength__card:nth-child(3)::after,
.top-strength__card:nth-child(4)::after,
.top-strength__card:nth-child(5)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: #968971;
}

/* 横線: 全カードの下辺、左右に32pxのギャップ */
.top-strength__card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: #968971;
}

/* 1枚目左辺・4枚目左辺の縦線: グラデーションで上下32pxのギャップを再現 */
.top-strength__card:first-child,
.top-strength__card:nth-child(4) {
  background-image: linear-gradient(
    to bottom,
    transparent 32px,
    #968971 32px,
    #968971 calc(100% - 32px),
    transparent calc(100% - 32px)
  );
  background-size: 1px 100%;
  background-position: left top;
  background-repeat: no-repeat;
}

.top-strength__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin-bottom: 24px;
}

.top-strength__card-icon img {
  max-height: 70px;
  width: auto;
}

/* 1番目（歴史と信頼）のアイコンは 54×54 */
.top-strength__card:first-child .top-strength__card-icon img {
  width: 54px;
  height: 54px;
  max-height: none;
  object-fit: contain;
}

.top-strength__card-title {
  font-family: "Shippori Mincho", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 1.1px;
  color: #1d2e45;
  margin: 0 0 16px;
}

.top-strength__card-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 175%;
  letter-spacing: 0.42px;
  color: #191e2e;
  margin: 0;
}

/* スマートフォン（〜560px） */
@media (max-width: 560px) {
  .top-strength__inner {
    padding: 56px 20px 40px;
  }

  .top-strength__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 20px;
  }

  .top-strength__en-title {
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.7px;
    margin-bottom: 0;
    text-align: center;
  }

  .top-strength__jp-title {
    font-size: 21px;
    line-height: 160%;
    letter-spacing: 0.63px;
    margin-bottom: 15px;
  }

  .top-strength__lead {
    font-size: 15px;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: 0.45px;
    text-align: center;
  }

  .top-strength__lead span {
    display: block;
  }

  .top-strength__grid {
    flex-direction: column;
  }

  .top-strength__card {
    display: grid;
    grid-template-columns: 57px 1fr;
    column-gap: 20px;
    row-gap: 12px;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 32px 0 20px;
    background-image: none;
    text-align: left;
  }

  .top-strength__card-icon {
    grid-column: 1;
    grid-row: 1;
    width: 57px;
    height: 61px;
    margin-bottom: 0;
  }

  .top-strength__card-icon img {
    max-height: 61px;
    width: auto;
  }

  .top-strength__card:first-child .top-strength__card-icon img {
    width: 54px;
    height: 54px;
    max-height: none;
  }

  .top-strength__card-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 1px;
  }

  .top-strength__card-desc {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0.39px;
  }

  .top-strength__card:nth-child(1)::after,
  .top-strength__card:nth-child(2)::after,
  .top-strength__card:nth-child(3)::after,
  .top-strength__card:nth-child(4)::after,
  .top-strength__card:nth-child(5)::after {
    display: none;
  }

  .top-strength__card::before {
    left: 0;
    right: 0;
  }

  .top-strength__card:last-child::before {
    display: none;
  }

  .top-strength__card:first-child,
  .top-strength__card:nth-child(4) {
    background-image: none;
  }

  .top-strength__card:first-child {
    padding-top: 0;
  }

  .parallax-hero {
    height: 280px;
  }

  .top-strength {
    margin-top: 0;
  }

  .top-strength__inner {
    position: relative;
    padding: 32px 20px 100px;
    width: 330px;
    margin-top: -60px;
  }

  .top-strength__head-right {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
  }
}

/* ============================================
   M.KIKUTANI HISTORY セクション
   ============================================ */

.top-mkhistory-wrap {
  position: relative;
  height: 751px;
  overflow: hidden;
}

/* bg1: 静的背景（パララックスなし） */
.top-mkhistory__bg1 {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* bg2: parallax-hero__bg クラスで position/inset を付与、ここでは重なり順と表示位置のみ */
.top-mkhistory__bg2 {
  background-position: bottom center;
  z-index: 0;
}

.top-mkhistory {
  position: relative;
  z-index: 1;
  height: 751px;
  padding-bottom: 146px;
}

.top-mkhistory__inner {
  position: relative;
  max-width: 1196px;
  margin: 0 auto;
  height: 100%;
}

/* ---- 縦書きテキストエリア ---- */
.top-mkhistory__text {
  position: absolute;
  top: 88px;
  left: 0;
  display: flex;
  flex-direction: row-reverse;
  /* 見出しを右・本文を左に */
  align-items: flex-start;
  gap: 35px;
  height: 400px;
  z-index: 10;
}

.top-mkhistory__heading {
  writing-mode: vertical-rl;
}

.top-mkhistory__heading p {
  font-family: "Shippori Mincho", serif;
  font-size: 30px;
  font-weight: 600;
  color: #07344d;
  line-height: 45px;
  /* font-size 30px + column-gap 15px */
  letter-spacing: 0.05em;
  margin: 0;
}

.top-mkhistory__heading-line2-sp {
  display: none;
}

.top-mkhistory__body {
  writing-mode: vertical-rl;
}

.top-mkhistory__body p {
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  font-weight: 500;
  color: #1d2e45;
  line-height: 25px;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ---- フォトコラージュ ---- */
.top-mkhistory__collage {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.top-mkhistory__photo {
  position: absolute;
  object-fit: cover;
  display: block;
}

.top-mkhistory__collage-sp {
  display: none;
}

/* 各写真の絶対配置（Figmaレイアウト準拠） */
.ph-taisho {
  width: 302px;
  height: 278px;
  top: 85px;
  right: 501px;
}

.ph-fishing {
  width: 199.728px;
  height: 139px;
  top: 85px;
  right: 302px;
}

.ph-ship {
  width: 259.686px;
  height: 200px;
  right: 56px;
  top: 85px;
}

.ph-shop {
  right: 469px;
  top: 304px;
  width: 285px;
  height: 203px;
}

.ph-engine {
  width: 171.328px;
  height: 118.751px;
  right: 322px;
  top: 230px;
}

.ph-artifact {
  width: 108px;
  height: 138px;
  top: 339px;
  right: 754px;
  z-index: 1;
}

.ph-founder1 {
  width: 113px;
  height: 142px;
  top: 206px;
  right: 785px;
}

.ph-founder2 {
  width: 117px;
  height: 147px;
  top: 354px;
  right: 422px;
}

.ph-building {
  width: 297px;
  height: 206px;
  right: 76px;
  top: 304px;
}

.ph-signboard {
  top: 410px;
  right: -43px;
  width: 148px;
  height: 103px;
}

/* ---- 装飾テキスト "M.KIKUTANI HISTORY"（マーキー） ---- */
.top-mkhistory__deco-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
  line-height: 1;
}

.top-mkhistory__deco {
  display: flex;
  white-space: nowrap;
  animation: mkhistory-marquee 24s linear infinite;
}

.top-mkhistory__deco-item {
  font-family: "Cormorant Garamond", serif;
  font-size: 128px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  color: #968971;
  letter-spacing: 6.4px;
  text-transform: uppercase;
  padding-right: 80px;
  flex-shrink: 0;
  line-height: 0.7;
}

@keyframes mkhistory-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---- 沿革ボタン ---- */
.top-mkhistory__btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 240px;
  height: 52px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #07344d;
  background: transparent;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.48px;
  color: #07344d;
  text-decoration: none;
  white-space: nowrap;
  z-index: 10;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.top-mkhistory__btn:hover {
  background: #07344d;
  color: #ffffff;
}

.top-mkhistory__btn:hover svg path {
  stroke: #ffffff;
}

@media (max-width: 560px) {
  .top-mkhistory-wrap {
    height: auto;
  }

  .top-mkhistory__bg1 {
    background-image: url("../image/top/history-bg-sp.png") !important;
  }

  .top-mkhistory__bg2 {
    display: none;
  }

  .top-mkhistory {
    height: auto;
    padding: 56px 20px 100px;
    box-sizing: border-box;
  }

  .top-mkhistory__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 40px;
  }

  .top-mkhistory__text {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    width: 100%;
    gap: 16px;
  }

  .top-mkhistory__heading {
    writing-mode: horizontal-tb;
  }

  .top-mkhistory__heading p {
    font-size: 24px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.72px;
    color: #1d2e45;
  }

  .top-mkhistory__heading-line2-pc {
    display: none;
  }

  .top-mkhistory__heading-line2-sp {
    display: inline;
  }

  .top-mkhistory__body {
    writing-mode: horizontal-tb;
  }

  .top-mkhistory__body p {
    font-size: 14px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.42px;
    color: #1d2e45;
  }

  .top-mkhistory__body p span {
    display: block;
  }

  .top-mkhistory__body-br-sp-hide {
    display: none;
  }

  .top-mkhistory__collage {
    display: none;
  }

  .top-mkhistory__collage-sp {
    display: block;
    width: 352px;
    height: 161px;
  }

  .top-mkhistory__btn {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 0 auto;
  }

  .top-mkhistory__deco-item {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 1.92px;
    line-height: normal;
    color: #968971;
  }

  /* 文字の下端（ベースライン）をセクション下端にぴったり付ける
     （line-height: normal だと文字の下に約18pxの余白ができるため、その分だけ下げて枠でクリップ） */
  .top-mkhistory__deco {
    position: relative;
    top: 16px;
  }
}

/* ============================================================
   TOP-NEWS: お知らせセクション
   ============================================================ */
.top-news {
  padding: 130px 0 100px;
  background-color: #ffffff;
}

.top-news__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* 左カラム: タイトル + フィルタータブ */
.top-news__left {
  flex-shrink: 0;
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 右カラム: ニュースリスト */
.top-news__right {
  flex: 1;
  min-width: 0;
}

.top-news__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-news__en-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #968971;
  margin: 0;
}

.top-news__jp-title {
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1d2e45;
  margin: 0;
}

/* フィルタータブ */
.top-news__filter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-news__filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  white-space: nowrap; /* 文字を改行させない */
  padding: 6px 40px;
  border: 1px solid #07344d;
  border-radius: 100px;
  background: transparent;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #07344d;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.top-news__filter-btn.is-active,
.top-news__filter-btn:hover {
  background-color: #07344d;
  color: #ffffff;
}

/* PC：アクティブ／マウスオン時は左右の余白が狭くなる（40px → 20px。お知らせ一覧ページと同じ） */
@media (min-width: 561px) {
  .top-news__filter-btn {
    transition:
      background-color 0.3s,
      color 0.3s,
      padding 0.3s;
  }

  .top-news__filter-btn.is-active,
  .top-news__filter-btn:hover {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ニュースリスト */
.top-news__list {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  border-top: 1px solid #c8c2b8;
}

.top-news__item {
  border-bottom: 1px solid #c8c2b8;
}

.top-news__link {
  display: grid;
  grid-template-areas:
    "date category"
    "title arrow";
  grid-template-columns: auto 1fr;
  row-gap: 5px;
  column-gap: 16px;
  padding: 29px 0 32px;
  text-decoration: none;
  transition: opacity 0.3s;
  align-items: center;
}

.top-news__link:hover {
  opacity: 0.7;
}

.top-news__date {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #1d2e45;
  white-space: nowrap;
  letter-spacing: 0.51px;
  font-feature-settings: "palt" 1;
  grid-area: date;
  align-self: center;
  margin-right: 1em;
}

.top-news__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 30px;
  border: 1px solid #07344d;
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.45px;
  line-height: 1.5;
  color: #07344d;
  white-space: nowrap;
  grid-area: category;
  align-self: center;
  justify-self: start;
}

.top-news__title {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.6px;
  font-feature-settings: "palt" 1;
  color: #1d2e45;
  margin: 0;
  grid-area: title;
  align-self: center;
}

.top-news__arrow {
  grid-area: arrow;
  justify-self: end;
  align-self: center;
}

/* CTAボタン */
.top-news__btn-wrap {
  display: flex;
  justify-content: center;
}

.top-news__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 240px;
  height: 52px;
  padding: 0 20px;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #07344d;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.48px;
  color: #07344d;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.top-news__btn:hover {
  background-color: #07344d;
  color: #fff;
}

.top-news__btn span {
  width: 18px;
  height: 8px;
  background-image: url(../image/top/arrow-right.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.top-news__btn:hover span {
  background-image: url(../image/top/arrow-right_white.svg);
}

@media (max-width: 560px) {
  .top-news {
    padding: 56px 0 80px;
  }

  .top-news__inner {
    flex-direction: column;
    align-items: stretch; /* 縦並びのとき、リスト（li）も横幅いっぱいにする */
    gap: 32px;
    padding: 0 20px;
  }

  .top-news__left {
    width: 100%;
    gap: 20px;
  }

  .top-news__en-title {
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.7px;
    text-transform: uppercase;
  }

  .top-news__jp-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 0.72px;
  }

  .top-news__filter {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .top-news__filter-btn {
    padding: 6px 20px;
    font-size: 15px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.45px;
  }

  .top-news__list {
    margin: 0 0 32px;
    border-top-color: #a5b7c8;
  }

  .top-news__item {
    border-bottom-color: #a5b7c8;
  }

  .top-news__link {
    padding: 22px 0;
  }

  .top-news__date {
    font-size: 16px;
    letter-spacing: 0.48px;
    line-height: 200%;
  }

  .top-news__category {
    padding: 0 15px;
  }

  .top-news__title {
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.48px;
  }

  /* 矢印：デザインは 24 × 9px・塗りの太い矢印（ボタンの矢印と同じ形）。
     インラインSVGの線の矢印は隠して、同じ形の画像（arrow-right.svg）を 24 × 9px で表示する */
  .top-news__arrow {
    width: 24px;
    height: 9px;
    background: url(../image/top/arrow-right.svg) center / 100% 100% no-repeat;
  }

  .top-news__arrow path {
    display: none;
  }
}

/* ============================================================
   TOP-RECRUIT: リクルートセクション
   ============================================================ */
.top-recruit {
  background-color: #07344d;
  position: relative;
  overflow: hidden;
  height: 635px;
}

.top-recruit__inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  /* max-width なし: galleryが常にviewport右端から27pxはみ出す構造を維持するため */
}

/* テキストエリア */
.top-recruit__text-area {
  flex: 1;
  min-width: 420px;
  padding: 120px 0 60px max(80px, calc((100vw / var(--z) - 1440px) / 2 + 80px));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.top-recruit__en-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.8px;
  color: #968971;
  text-transform: uppercase;
  margin: 0 0 30px;
}

.top-recruit__en-title span {
  width: 78px;
  height: 1px;
  background-color: #968971;
}

.top-recruit__jp-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(32px, calc(2.986vw / var(--z)), 43px);
  font-weight: 600;
  line-height: 1.6;
  color: #ffffff;
  word-break: keep-all;
  margin: 0 0 28px;
}

.top-recruit__lead {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.48px;
  color: #ffffff;
  white-space: nowrap;
  margin: 0 0 60px;
}

/* CTAボタン */
.top-recruit__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 240px;
  height: 52px;
  padding: 0 20px;
  box-sizing: border-box;
  background-color: transparent;
  border: 1px solid #968971;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.48px;
  color: #968971;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.top-recruit__btn:hover {
  background-color: #968971;
  color: #ffffff;
}

.top-recruit__btn:hover svg path {
  stroke: #ffffff;
}

/* ギャラリー（3カラムスクロール） */
.top-recruit__gallery {
  /* 3列×236px + 2gap×60px = 828px 固定。-27pxで常に右端から27pxはみ出す */
  flex-shrink: 0;
  width: calc(3 * 236px + 2 * 60px);
  margin-right: -27px;
  display: flex;
  gap: 60px;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
}

.top-recruit__col {
  flex-shrink: 0;
  width: 236px;
  overflow: hidden;
  height: 100%;
}

.top-recruit__col:nth-child(1) {
  opacity: 0.4;
}

.top-recruit__col:nth-child(2) {
  opacity: 0.65;
}

.top-recruit__col:nth-child(3) {
  opacity: 0.9;
}

.top-recruit__col-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 28px; /* 2回繰り返した全体の50%で、ちょうど継ぎ目なくループさせる */
}

.top-recruit__col-inner img {
  width: 236px;
  height: 301px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* ウェーブ装飾 */
.top-recruit__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 364.658px;
  height: 189px;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.top-recruit__wave img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 下方向スクロール */
@keyframes recruit-scroll-down {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* 上方向スクロール */
@keyframes recruit-scroll-up {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.top-recruit__col--down .top-recruit__col-inner {
  animation: recruit-scroll-up 27s linear infinite;
}

.top-recruit__col--up .top-recruit__col-inner {
  animation: recruit-scroll-down 29s linear infinite;
}

/* アクセシビリティ: アニメーション停止設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  .top-recruit__col--down .top-recruit__col-inner,
  .top-recruit__col--up .top-recruit__col-inner {
    animation: none;
  }
}

.top-recruit__btn:hover .top-recruit__btn-arrow path {
  stroke: #968971;
}

@media (max-width: 560px) {
  .top-recruit {
    height: 600px;
  }

  .top-recruit__inner {
    display: block;
    height: 100%;
    position: relative;
  }

  .top-recruit::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(7, 52, 77, 0.75);
    z-index: 1;
    pointer-events: none;
  }

  .top-recruit__text-area {
    position: relative;
    z-index: 2;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 40px 20px;
  }

  .top-recruit__en-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.8px;
    margin: 0 0 30px;
  }

  .top-recruit__jp-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 0.96px;
    margin: 0 0 15px;
  }

  .top-recruit__jp-title span {
    display: block;
  }

  .top-recruit__lead {
    font-size: 14px;
    font-weight: 700;
    line-height: 180%;
    letter-spacing: 0.42px;
    white-space: normal;
    margin: 0 0 50px;
  }

  .top-recruit__btn {
    background-color: #968971;
    border: 1px solid #968971;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 0.48px;
  }

  .top-recruit__btn svg path {
    stroke: #ffffff;
  }

  .top-recruit__btn-arrow {
    width: 20px;
    height: 8px;
  }

  .top-recruit__gallery {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    margin-right: 0;
    gap: 18px;
  }

  .top-recruit__col {
    width: calc((100% - 36px) / 3);
  }

  .top-recruit__col-inner {
    gap: 28px;
  }

  .top-recruit__col-inner img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .top-recruit__wave {
    display: none;
  }
}

/* ==== スクロール連動 ふわっと表示（フェードイン） ==== */
.js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* カード説明文の改行指定（[sp]＝スマホだけ改行／[pc]＝PCだけ改行） */
.top-projects__card-break--sp {
  display: none;
}

@media (max-width: 560px) {
  .top-projects__card-break--sp {
    display: inline;
  }

  .top-projects__card-break--pc {
    display: none;
  }
}
