.top {
  width: 1000px;
  max-width: 90%;
  margin: 0 auto;
  margin-top: 70px;
}
.top h1 {
  margin-top: 70px;
  text-align: center;
  font-size: 40px;
  display: none;
}

.sub-main-img img {
  width: 90%;
  margin: 5%;
}

.hover .content-title .content0 .hover-boxs {
  background: #f1f2ee !important;
  border-top: 0;
}

.hover1 .content,
.hover .content0 {
  border-top: 0 !important;
}

.sub-content {
  margin-bottom: 100px;
}
.sub-content img {
  width: 100%;
  margin: 50px auto;
}
.sub-content p {
  text-align: left;
  margin: 30px 0;
}
.sub-content .message-sign {
  text-align: right;
  margin-top: -10px;
}
.sub-content .message-sign img {
  width: 320px;
  max-width: 70%;
  margin: 0;
  display: inline-block;
}

/* Message ページのみ：上余白を Business/Works と統一（ヘッダー直下24px） */
.top.msg-page {
  margin-top: 0;
}

/* ===== 代表メッセージ ファーストビュー（Top message 全幅ヒーロー） ===== */
/* Business / Works のヒーローと幅を統一（1080px / 88vw, 親.topの1000px制約から脱出） */
.message-firstview {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 1080px;
  max-width: 88vw;
  margin-top: 24px;
  margin-bottom: 24px;
}
.message-firstview img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
}
@media screen and (max-width: 700px) {
  .message-firstview img {
    height: 160px;
    border-radius: 14px;
  }
}

/* ===== 代表メッセージ：写真を全面背景／文章は左半分・人物(右)は文字なし ===== */
.sub-content.message-bg {
  position: relative;
  box-sizing: border-box;
  border-radius: 20px;
  overflow: hidden;
  padding: 60px 48px;
  background-color: #ffffff;
  background-image: url("../../images/sub/uesugi-message4.webp?v=1");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 100% auto;
}
.message-head {
  margin-top: 40px;
  margin-bottom: 20px;
}
.message-head__en {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #5b8cff;
}
.message-head__ja {
  position: relative;
  margin-top: 8px;
  padding-bottom: 14px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1a1a1a;
}
.message-head__ja::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #5b8cff, #9b6bff);
}
.message-head__role {
  margin: 14px 0 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #555;
}
.sub-content.message-bg > p {
  max-width: 40%;
}
.sub-content.message-bg > .message-sign {
  position: absolute;
  right: 48px;
  bottom: 56px;
  margin: 0;
  max-width: 50%;
}
@media screen and (max-width: 768px) {
  .sub-content.message-bg {
    padding-left: 6%;
    padding-right: 6%;
    padding-top: 60vw;
    background-image: url("../../images/sub/uesugi-message4.webp?v=1");
    background-position: top center;
    background-size: 100% auto;
  }
  .sub-content.message-bg > p,
  .sub-content.message-bg > .message-sign {
    max-width: 100%;
  }
  .sub-content.message-bg > .message-sign {
    position: static;
    right: auto;
    bottom: auto;
    margin-top: 16px;
  }
}


/* ===== 代表メッセージ：写真(引き)＋左に見出し／下に本文 ===== */
.msg-label {
  position: relative;
  margin: 46px 0 14px;
  padding-left: 18px;
}
.msg-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: 2px;
  background: linear-gradient(180deg, #5b8cff, #9b6bff);
}
.msg-label__en {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #5b8cff;
}
.msg-label__ja {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}
.msg-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff url("../../images/sub/uesugi-message4.webp?v=1") no-repeat top right;
  background-size: cover;
}
.msg-hero__inner {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 44%;
}
.msg-hero__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #5b8cff;
  margin-bottom: 16px;
}
.msg-hero__title {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}
.msg-hero__title span {
  display: block;
  white-space: nowrap;
}
.msg-hero__lead {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #4a4a4a;
}
.msg-body {
  margin: 44px 0 100px;
}
.msg-body p {
  font-size: 16px;
  line-height: 2;
  margin: 18px 0;
  text-align: left;
}
.msg-body__h {
  position: relative;
  margin: 50px 0 14px;
  padding-left: 16px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #1a1a1a;
}
.msg-body__h::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #5b8cff, #9b6bff);
}
.msg-body .message-sign {
  text-align: right;
  margin-top: 30px;
}
.msg-body .message-sign img {
  width: 300px;
  max-width: 70%;
  display: inline-block;
}
@media screen and (max-width: 700px) {
  .msg-hero {
    aspect-ratio: auto;
    background-position: top center;
    background-size: 100% auto;
    padding-top: 58vw;
    border-radius: 14px;
  }
  .msg-hero__inner {
    position: static;
    transform: none;
    max-width: 100%;
    padding: 22px 6% 26px;
  }
  .msg-hero__title {
    font-size: 22px;
  }
}

.media-section {
  background-color: #f1f2ee;
  padding: 100px 0;
}

.media-box {
  width: 1000px;
  max-width: 90%;
  margin: 0 auto;
  background-color: white;
  border-radius: 3em;
  padding: 50px 0;
}
.media-box h2 {
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  padding-bottom: 10px;
}
.media-box h2::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 70px;
  height: 5px;
  border-bottom: solid 1px #3a3a3a;
}

.media-card {
  width: 800px;
  max-width: 90%;
  margin: 50px auto;
  box-shadow: 0.1em 0.1em 0.2em black;
  border-radius: 5em;
  background-color: #f1f2ee;
}
.media-card a {
  display: flex;
  align-items: center;
}
.media-card a img {
  width: 400px;
  padding: 10px;
  border-radius: 5em;
  max-width: 50%;
}
.media-card .card-info {
  align-self: flex-start;
  padding: 30px;
  width: 400px;
  max-width: 100%;
}
.media-card h3 {
  font-size: 30px;
}
.media-card h3 span {
  padding-right: 5%;
}
.media-card p {
  margin-top: 30px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.service-menu img {
  height: 150px !important;
}
.service-menu a {
  width: 350px;
  margin: 20px;
  border-radius: 2em;
  border: solid 1px #3a3a3a;
  overflow: hidden;
}
.service-menu .service-box {
  width: 1300px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 70px auto;
}
.service-menu .service-title {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.service-menu .service-title h3 {
  font-size: 16px;
}
.service-menu .service-title span {
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0, -50%);
}

.media-post {
  padding: 70px 0px;
}
.media-post .post-card {
  width: 800px;
  margin: 0 auto;
}
.media-post h2 {
  width: 100%;
  max-width: 100%;
  margin: 32px 0;
  padding: 0;
}
.media-post h2::after {
  display: none;
}
.media-post p {
  margin: 32px 0;
  font-size: 16px;
}
.media-post img {
  width: 500px;
  margin: 0 auto;
}

.card-section h2 {
  font-size: 30px;
}

@media screen and (max-width: 700px) {
  .top h1 {
    font-size: 30px;
  }
  .sub-content img {
    margin: 30px auto 50px auto;
  }
  .media-card a {
    display: block;
  }
  .media-card h3 {
    font-size: 20px;
  }
  .media-card p {
    margin-top: 10px;
  }
  .media-card .card-info {
    padding: 30px;
    padding-top: 10px;
  }
  .media-card h3 span {
    padding-right: 20px;
  }
  .media-section {
    padding: 50px 0 50px 0;
  }
  .media-card {
    border-radius: 2em;
  }
  .media-card a img {
    border-radius: 2em;
  }
  .media-card {
    margin: 25px auto;
  }
  .media-box h2 {
    text-align: center;
  }
  .media-box h2::after {
    left: 40%;
    transform: translate(-50%, 0);
  }
  .card-section {
    padding: 50px 5%;
  }
  .card-section h2 {
    font-size: 20px;
    margin-bottom: 0px;
  }
  .card-section h3 {
    margin-bottom: 30px;
  }
  .media-card a img {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
  }
}/*# sourceMappingURL=sub.css.map */

/* ===== 次に読む（COMPANY STORY ジャーニー）: 本番 inline から移植 ===== */
/* ===== 次に読む（ジャーニー） ===== */
  .gx-jrny { background: #f5f6f8; border-top: 1px solid #e7e7ee; }
  .gx-jrny__wrap { width: 1100px; max-width: 90%; margin: 0 auto; padding: 60px 0 72px; }
  .gx-jrny__eyebrow { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .24em; margin: 0 0 30px;
    background: linear-gradient(90deg, #3aa0ff, #2bd4d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

  /* ステッパー */
  .gx-steps { list-style: none; display: flex; justify-content: center; align-items: center; margin: 0 0 42px; padding: 0; flex-wrap: wrap; gap: 4px; }
  .gx-steps__item { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #9aa0ad; }
  .gx-steps__num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800;
    border: 1.5px solid #d4d7e0; background: #fff; color: #9aa0ad; transition: .25s ease; }
  .gx-steps__lbl { font-size: 14px; font-weight: 800; line-height: 1.2; }
  .gx-steps__lbl em { font-style: normal; display: block; font-size: 10px; font-weight: 700; color: #aeb2bd; letter-spacing: .04em; margin-top: 2px; }
  .gx-steps__line { width: 46px; height: 2px; background: #d6d9e2; margin: 0 14px; border-radius: 2px; }
  .gx-steps__item.is-done .gx-steps__num { background: linear-gradient(135deg, #3aa0ff, #2bd4d4); border-color: transparent; color: #fff; }
  .gx-steps__item.is-done { color: #5a5a66; }
  .gx-steps__item.is-current .gx-steps__num { border-color: #2bd4d4; color: #14141a; box-shadow: 0 0 0 5px rgba(43,212,212,.14); }
  .gx-steps__item.is-current { color: #14141a; }
  .gx-steps__item[href]:hover .gx-steps__num { border-color: #2bd4d4; transform: translateY(-2px); }

  /* NEXT カード */
  .gx-next { display: flex; align-items: stretch; min-height: 176px; max-width: 760px; margin: 0 auto; background: #fff; border: none;
    border-radius: 20px; overflow: hidden; text-decoration: none; color: #14141a; box-shadow: 0 14px 36px rgba(30,40,80,.1);
    transition: transform .3s ease, box-shadow .3s ease; }
  .gx-next:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(30,40,80,.15); }
  .gx-next__media { width: 230px; flex-shrink: 0; background-size: cover; background-position: center; overflow: hidden; }
  .gx-next__media span { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform .5s ease; }
  .gx-next:hover .gx-next__media span { transform: scale(1.06); }
  .gx-next__media--logo { background: #000; display: grid; place-items: center; padding: 24px; }
  .gx-next__media--logo img { width: 100%; max-width: 172px; height: auto; transition: transform .5s ease; }
  .gx-next:hover .gx-next__media--logo img { transform: scale(1.05); }
  .gx-next__body { flex: 1; padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
  .gx-next__kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em;
    background: linear-gradient(90deg, #3aa0ff, #2bd4d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  .gx-next__title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.1; }
  .gx-next__sub { font-size: 13px; color: #8a8a96; font-weight: 700; line-height: 1.75; }
  .gx-next__go { align-self: center; margin-right: 28px; width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, #3aa0ff, #2bd4d4); color: #fff; display: grid; place-items: center; font-size: 20px;
    box-shadow: 0 10px 22px rgba(46,160,255,.32); transition: transform .25s ease; }
  .gx-next:hover .gx-next__go { transform: translateX(6px); }

  @media screen and (max-width: 640px) {
    .gx-jrny__wrap { padding: 46px 0 56px; }
    .gx-steps__line { width: 22px; margin: 0 7px; }
    .gx-steps__lbl em { display: none; }
    .gx-next { flex-direction: column; }
    .gx-next__media { width: 100%; height: 170px; }
    .gx-next__media span { transform: none !important; }
    .gx-next__body { padding: 24px 24px 6px; }
    .gx-next__go { align-self: flex-end; margin: 0 24px 24px 0; }
  }

  /* ===== サイド固定ナビ（PCのみ・スクロール連動） ===== */
  .gx-side { position: fixed; right: 20px; top: 50%; z-index: 45;
    transform: translateY(-50%) translateX(34px); opacity: 0; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; gap: 11px; width: 66px; padding: 14px 0 15px;
    background: #0e0e14; color: #fff; text-decoration: none; border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.3);
    transition: opacity .35s ease, transform .35s ease; }
  .gx-side.is-show { opacity: 1; transform: translateY(-50%) translateX(0); pointer-events: auto; }
  .gx-side.is-show:hover { transform: translateY(-50%) translateX(-4px); }
  .gx-side__thumb { width: 46px; height: 46px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
  .gx-side__thumb--logo { background-color: #0e0e14; background-size: contain; background-repeat: no-repeat; background-position: center; }
  .gx-side__label { writing-mode: vertical-rl; font-size: 10px; font-weight: 800; letter-spacing: .26em;
    background: linear-gradient(180deg, #3aa0ff, #2bd4d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  .gx-side__title { writing-mode: vertical-rl; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
  .gx-side__go { width: 27px; height: 27px; border-radius: 50%; background: linear-gradient(135deg, #3aa0ff, #2bd4d4); display: grid; place-items: center; font-size: 13px; }
  @media screen and (max-width: 1024px) { .gx-side { display: none; } }
