/*
Theme Name: Beyond Cafe
Description: Beyond Cafe のカスタムテーマ
Version: 1.0
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

/* Site Header */
.site-header {
  color: #111;
}

.site-header__primary {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header__primary-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-header__logo img {
  display: block;
  height: 24px;
  width: auto;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.site-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: all 0.3s ease;
}

.site-header__nav-link:hover,
.site-header__nav-link:focus {
  opacity: 0.8;
}
/*コメントアウト
.site-header__nav-link:focus-visible {
  outline: 2px solid #111 !important;
  outline-offset: 4px !important;
}
*/

.site-header__nav-link:hover::after,
.site-header__nav-item--current .site-header__nav-link::after {
  left: 0;
  width: 100%;
}

.site-header__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 167px;
  background-color: #1e1e1e;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: center;
}

.site-header__visual-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.site-header__visual-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 64px 24px;
}

.site-header__visual-subtitle {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: #fff;
}

.site-header__visual-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weigt:500;
  font-size: 48px;
  letter-spacing: 1px;
  line-height:50px;
  text-transform: uppercase;
  color: #fff;
}


@media (max-width: 960px) {
  .site-header__primary-inner {
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 20px 24px;
  }

  .site-header__nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }

  .site-header__visual-title {
    font-size: 48px;
  }
}

@media (max-width: 600px) {
  .site-header__visual-inner {
    padding: 48px 20px;
  }

  .site-header__visual-title {
    font-size: 48px;
  }
}

/* ========================================
   SERVICE PAGE
   ======================================== */

.service-page {
  color: #0f0f0f;
  background-color: #fff;
}


.service-section {
  overflow: hidden;
  padding: 100px 0 80px;
}

/*recordのinnerも追加*/
.service-container,
.record-section__inner {
  max-width: 1293px;
  margin: 0 auto;

}

/*recordのheaderも追加*/
.service-section__header,
.record-page-header,
.c-related__header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin:0 0 80px 10px;
  position: relative;
}

/*recordのheaderも追加*/
.service-section__title,
.record-page-header__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: 50px;
  line-height: 94px;
  color: #000;
  margin: 0;
  white-space: nowrap;
}

/*recordのheaderも追加*/
.service-section__subtitle,
.record-page-header__subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: #000;
  margin: 0;
}

.service-message {
  position: relative;
  padding: 30px 0 30px;
}

.service-message .service-container,
.record-section--statistics.record-section__inner {
  max-width: 996px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-message__label {
  font-family: "A P-OTF Shuei3+ ProN", serif;
  font-size: 25px;
  line-height: 50px;
  letter-spacing: -0.5px;
  color: #000;
  margin: 0;
}

.service-message__title {
  font-family: 'Shippori Mincho', serif;
  font-size: 45px;
  line-height: 77px;
  letter-spacing: -0.9px;
  color: #000;
  margin: 0;
}

.service-message__text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 40px;
  letter-spacing: 1.25px;
  color: #000;
  margin: 0;
  max-width: 100%;
}

.service-message__text p {
  margin-bottom: 21.6px;
}

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

.service-card-list {
  display: flex;
  gap: 15px;
  justify-content: center;
  max-width: 1143px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width:100%;
  max-width: 357px;
  flex-shrink: 1;
}

.service-card__image {
  width: 100%;
  aspect-ratio: 1200/628;
  overflow: hidden;
  position: relative;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 53px;
  color: #000;
  margin: 0;
  white-space: nowrap;
}

.service-card__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #626262;
  margin: 0;
  width: auto;
}


/* service overview*/
@media (min-width: 769px) {

  /* 1. 親要素：1144pxの枠内で3枚を均等に並べる */
  .service-overview .service-card-list {
    display: flex;
    flex-direction: row;      /* 確実に横一行 */
    justify-content: center;  /* 中央寄せ */
    align-items: stretch;     /* カードの高さを自動で揃える */
    gap: 36px;                /* 指示通りの隙間 */
    width: 100%;
    max-width: 1144px;
    margin: 0 auto;
    padding: 0;
  }

  /* 2. 子要素：固定pxを捨てて、枠を「3等分」するように強制 */
  .service-overview .service-card {
    flex: 1;                  /* ★重要：これで「357px」等の固定幅による崩れを防止 */
    min-width: 0;             /* Flexbox内の文字溢れによる突き出しを防止 */
    width: auto;              /* 既存の固定幅指示をリセット */
    display: flex;
    flex-direction: column;
    gap: 27px;                /* 画像とタイトルの距離 */
  }

  /* 3. 画像：アスペクト比を維持しつつ、横幅を親にフィットさせる */
  .service-overview .service-card__image {
    width: 100%;
    aspect-ratio: 357 / 187; /* Figmaの数値をそのまま比率として使用 */
    overflow: hidden;         /* はみ出た分をカット */
    position: relative;
  }


  /* 2. 中の画像を枠いっぱいに広げ、中心で切り取る */
  .service-overview .service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* 画像を歪ませずに枠を埋める */
    object-position: center; /* ★指示通り「中心」を起点に表示 */
    display: block;
  }

  /* 4. テキスト：360pxなどの「固定幅の呪い」を完全に解く */
  .service-overview .service-card__text {
    font-size: 14px;
    line-height: 1.8;
    color: #626262;
    margin: 0;
    width: 100%;              /* 横幅を親カードいっぱいに広げる */
    max-width: none;
  }
}



/* service event*/
.service-events__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1144px;
  margin: 0 auto;
}

.service-event {
  display: flex;
  gap: 50px;
  align-items: center;
  margin:0 10px;
}

.service-event__image {
  width: 548px;
  height: 327px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.service-event__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-event__body {
  width: 545px;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.service-event__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-event__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 48.254px;
  color: #000;
  margin: 0;
  white-space: nowrap;
}

.service-event__text {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 16.388px;
  line-height: 27.313px;
  color: #000;
  margin: 0;
  width: 549px;
}

.service-event__button {
  display: flex;
    align-items: center;
    justify-content: center;

    /* width: auto; から具体的な数値に変更します */
    width: 360px;             /* 他のセクションのボタン幅（360px）と合わせると統一感が出ます */
    max-width: 100%;          /* 念のため親要素を突き破らないように設定 */

    height: 76px;
    margin: 20px 0 0;         /* autoを外して左寄せ、または中央なら auto のままでOK */
    padding: 10px 30px;
    border-radius: 1000px;
    background-color: #000;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    letter-spacing: 1.8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .service-event__button span{
    display: inline-block;
  }

.service-event__button:hover {
  opacity: 0.8;
}

/* Creative Section */
.service-creative .service-card-list {
  display: flex;
  gap: 46px;
  justify-content: flex-start;
  max-width: 1144px;
  margin: 0 auto;
}

.service-creative .service-card {
  display: flex;
  flex-direction: column;
  gap: 27.325px;
  flex: 1;
  max-width: 549px;
}

.service-creative .service-card__image {
  width: 100%;
  height: 327px;
  overflow: hidden;
  position: relative;
  aspect-ratio: auto;
}

.service-creative .service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-creative .service-card__body {
  display: flex;
  flex-direction: column;
  gap: 31.866px;
}

.service-creative .service-card__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 23.672px;
  line-height: 48.254px;
  color: #000;
  margin: 0;
}

.service-creative .service-card__text {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 16.388px;
  line-height: 27.313px;
  color: #000;
  margin: 0;
  width: 100%;
}

/* Consulting Section */
.service-consulting {
  padding: 100px 0 110px;
}


.service-consulting__content {
  width: 100%;
  margin:0 10px;
}

.service-consulting__description {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 77px;
  letter-spacing: -0.5px;
  color: #000;
  padding:13px 0;
}

.service-consulting .service-card-list {
  display: flex;
  gap: 45.541px;
  justify-content: flex-start;
  max-width: 1144px;
  margin: 0 auto;
}

.service-consulting .service-card {
  display: flex;
  flex-direction: column;
  gap: 27.325px;
  flex: 1;
  max-width: 549px;
}

.service-consulting .service-card__image {
  width: 100%;
  height: 327px;
  overflow: hidden;
  position: relative;
  aspect-ratio: auto;
}

.service-consulting .service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-consulting .service-card__body {
  display: flex;
  flex-direction: column;
  gap: 31.866px;
}

.service-consulting .service-card__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 23.672px;
  line-height: 48.254px;
  color: #000;
  margin: 0;
}

.service-consulting .service-card__text {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 16.388px;
  line-height: 27.313px;
  color: #000;
  margin: 0;
  width: 100%;
}

.service-contact {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.service-contact__text {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 77px;
  letter-spacing: -0.5px;
  color: #000;
  text-align: center;
  margin: 0;
  width: 100%;
}

.service-contact__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 510px;
  height: 106px;
  padding: 10px;
  border-radius: 1000px;
  background-color: #000;
  border: 1px solid #fff;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.service-contact__button:hover span{
  display: inline-block;
}

.service-contact__button:hover {
  opacity: 0.8;
}

/* Voices Section - Full Width */
.service-voices {
  padding: 0;
}

.service-voices .service-container {
  max-width: none;
  padding: 0;
}

.service-voices__grid {
  display: flex;
  width: 100%;
  height: 370px;
}

.service-voice-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 100px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: 70% center;
  text-decoration: none;
}

.service-voice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.service-voice-card--student::before {
  background: rgba(86, 86, 86, 0.4);
}

.service-voice-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px; /* ここを調整することで全体の横幅が決まります（例: 1000px） */
    margin: 0 auto;   /* max-widthを指定したので、中央に配置します */
}

.service-voice-card__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  white-space: nowrap;
}

.service-voice-card__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 55px;
  line-height: normal;
  text-transform: uppercase;
  margin: 0;
}

.service-voice-card__subtitle {
  font-family: "A P-OTF Shuei3+ ProN", serif;
  font-size: 25px;
  line-height: 1.4px;
  letter-spacing: -1.25px;
  margin: 0;
}

.service-voice-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 76px;
  padding: 10px;
  border-radius: 1000px;
  background-color: #000;
  border: 1px solid #fff;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.service-voice-card__button span {
    display: inline-block;
}

.service-voice-card__button:hover {
  opacity: 0.8;
}



@media (max-width: 1024px) {
  .service-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-event {
    flex-direction: column;
  }

  .service-event__image,
  .service-event__body {
    width: 100%;
  }

  .service-event__image {
    flex-basis: auto;
  }

  .service-event__body {
    align-items: flex-start;
  }

  .service-voice-card__content {
      /* 左右に余白を持たせて、画面端にくっつくのを防ぐ */
      padding: 0 15px;
      /* 必要に応じてgapをさらに詰める */
      gap: 20px;
  }

}

@media (max-width: 768px) {
  .service-section {
    padding: 50px 0;
  }

  .service-container,
  .record-section__inner {
    padding: 0 14px;
    max-width: none;
  }

  /* Message Section Mobile */
  .service-message {
    padding: 50px 0;
  }

  .service-message .service-container {
    gap: 15px;
  }

  .service-message__label {
    font-size: 18px;
    line-height: 30px;
  }

  .service-message__title {
    font-size: 30px;
    line-height: 56px;
  }

  .service-message__text {
    font-size: 18px;
    line-height: 32px;
  }


  /* Service Overview Mobile */
  .service-card-list {
    flex-direction: column;
    gap: 20px;
    max-width: none;
  }

  .service-card {
    width: 100%;
    max-width: auto;
    margin: 0;
  }

  .service-card__image {
    height: 180px;
  }

  .service-card__title {
    font-size: 20px;
    line-height: 42px;
  }

  .service-card__text {
    font-size: 14px;
    line-height: 24px;
  }

  /* Events Section Mobile */
  .service-events__list {
    gap: 40px;
    max-width: none;
  }

  .service-event {
    flex-direction: column;
    gap: 20px;
  }

  .service-event__image {
    width: 100%;
    height: 180px;
  }

  .service-event__body {
    width: 100%;
    gap: 30px;
  }

  .service-event__content {
    gap: 20px;
  }

  .service-event__title {
    font-size: 20px;
    line-height: 32px;
  }

  .service-event__text {
    font-size: 14px;
    line-height: 24px;
    width: 100%;
  }

  .service-event__button {
    width: 100%;
    max-width: 280px;
    height: 60px;
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Creative Section Mobile */
  .service-creative .service-card-list {
    flex-direction: column;
    gap: 40px;
    max-width: none;
    margin:0 10px;
  }

  .service-creative .service-card {
    width: 100%;
    max-width: auto;
    margin: 0 auto;
  }

  .service-creative .service-card__image {
    height: 180px;
  }

  .service-creative .service-card__title {
    font-size: 20px;
    line-height: 32px;
  }

  .service-creative .service-card__text {
    font-size: 14px;
    line-height: 24px;
  }

  /* Consulting Section Mobile */
  .service-consulting {
    padding: 50px 0 80px;
  }

  .service-consulting .service-container {
    gap: 30px;
    max-width: none;
  }


  .service-consulting__description {
    font-size: 22px;
    line-height: 32px;
  }

  .service-consulting .service-card-list {
    flex-direction: column;
    gap: 20px;
    max-width: none;
    width: auto;
    margin:0 10px;
  }

  .service-consulting .service-card {
    width: 100%;
    max-width: auto;
    margin: 0 auto;
  }

  .service-consulting .service-card__image {
    height: 180px;
  }

  .service-consulting .service-card__title {
    font-size: 20px;
    line-height: 32px;
  }

  .service-consulting .service-card__text {
    font-size: 14px;
    line-height: 24px;
  }

  /* Contact Section Mobile */
  .service-contact {
    gap: 20px;
  }

  .service-contact__text {
    font-size: 18px;
    line-height: 32px;
    padding-top:30px;
  }

  .service-contact__button {
    width: 100%;
    max-width: 280px;
    height: 60px;
    font-size: 16px;
  }

  /* Voices Section Mobile */
  .service-voices__grid {
    flex-direction: column;
    height: auto;
  }

  .service-voice-card {
    width: 100%;
    height: 180px;
    padding: 0px 15px;
  }

  .service-voice-card__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    text-align: center;
  }

  .service-voice-card__text {
    align-items: flex-start;
    gap: 5px;
    flex:1;
  }

  .service-voice-card__title {
    font-size: 26px;
    line-height: 1.2;
  }

  .service-voice-card__subtitle {
    font-size: 12px;
    line-height: 1.5;
  }

  .service-voice-card__button {
    width: auto;
    min-width: 130px;      /* ボタンが潰れない最小幅 */
    height: 44px;          /* company.phpと合わせた高さ */
    padding: 0 15px;
    font-size: 11px;       /* 文字を小さくして一行に収める */
    margin: 0;             /* 余計なマージンをリセット */
    flex-shrink: 0;        /* ボタンの形を絶対に守る */
  }


  .service-message__title {
    font-size: 36px;
  }

  .service-card-list {
    grid-template-columns: 1fr;
  }

  .service-event__body {
    gap: 16px;
  }

}

@media (max-width: 480px) {
  .service-message__title {
    font-size: 30px;
  }

  .service-message__text {
    font-size: 14px;
  }

  .service-contact {
    padding: 20px 24px;
  }
}


/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background-color: #000;
  color: #fff;
}

.site-footer__top {
  margin-bottom: -50px;
  line-height: 0;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.site-footer__top img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  height: 180px;
  width: min(1180px, calc(100% - 120px));
  margin: 0 auto;
}

.site-footer__logo img {
  display: block;
  width: 210px;
  height: auto;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.site-footer__link {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-footer__link:hover {
  opacity: 0.7;
}

.site-footer__copyright {
  margin: 0;
}

@media (max-width: 960px) {
  .site-footer__body {
    width: calc(100% - 80px);
  }

  .site-footer__logo img {
    width: 180px;
  }
}

@media (max-width: 640px) {
  .site-footer__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    height: auto;
    width: calc(100% - 48px);
    padding: 40px 0 48px;
  }

  .site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
  }

  .site-footer__logo img {
    width: 160px;
  }
}

/* ========================================
   COMPANY PAGE
   ======================================== */

.company-page {
  color: #111;
  background-color: #fff;
}

.company-breadcrumb {
  background-color: #f5f5f5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.company-breadcrumb__inner {
  width: min(980px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.company-breadcrumb__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #111;
  text-decoration: none;
}

.company-breadcrumb__item:hover {
  opacity: 0.7;
}

.company-breadcrumb__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #111;
}

.company-breadcrumb__item::after {
  content: "";
  width: 26px;
  height: 26px;
  background-image: url("assets/company/breadcurmb_icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.company-section {
  padding: 120px 0;
  margin-bottom: 40px;
}


.company-heading {
  margin-bottom: 56px;
}

.company-heading__title,
.service-section__title,
.record-page-header__title,
.c-related__title {
  margin: 0 0 8px;
  font-family: "Shippori Mincho", serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0em;
  z-index:5;
}

.company-heading__subtitle,
.c-related__subtitle {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f8f8f;
}

.company-section--ceo {
  padding-bottom: 160px;
}

.company-section--ceo .company-heading {
  margin-bottom: 20px;
}

.company-section__media {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.company-section__media-image {
  display: block;
  width: 100%;
  height: clamp(320px, 45vw, 560px);
  object-fit: cover;
  border-radius: 0;
}

.company-section__media-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.company-section__media-logo img {
  width: 186px;
  height: auto;
}

.company-section__inner--message {
  margin-top: -120px;
  display: flex;
  justify-content: center;
}

.company-message {
  background-color: #fff;
  color: #111;
  padding: 64px 72px;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 860px;
}

.company-message__lead {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  white-space: pre-line;
}

.company-message__body {
  display: grid;
  gap: 20px;
  font-size: 15px;
  line-height: 2;
  color: #4a4a4a;
}

.company-message__body p {
  margin: 0;
}

.company-message__signature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.company-message__name {
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  letter-spacing: 0.18em;
}

/* .company-section--statement - モバイルスタイルは後方で定義 */

/* .company-heading__background - 削除（company-statement__backgroundに移行） */

.company-statement {
  text-align: left;
}

.company-statement__catch {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 30px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  white-space: pre-line;
  padding-right:20px;
}

.company-section--value {
  background-color: #fff;
}

.company-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 72px;
}

.company-value__title {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 35px;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.company-value__description {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
}

.company-value-graph {
  width: min(1218px, calc(100% - 80px));
  margin: 96px auto 0;
}

.company-value-graph img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.company-section--profile {
  background-color: #f5f5f5;
}

.company-profile {
  margin: 0;
  display: grid;
  gap: 24px;
}


.company-profile__row dt {
  font-weight: 600;
  letter-spacing: 0.12em;
}

.company-profile__row dd {
  margin: 0;
  line-height: 1.8;
}

.company-cta {
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.company-cta__panels {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.company-cta__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 1 1 50%;
  min-width: 280px;
  min-height: 240px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.company-cta__image {
  position: absolute;
  inset: 0;
}

.company-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-cta__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.company-cta__veil--dark {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.9) 100%);
}


.company-cta__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-cta__eyebrow {
  font-family: "Lato", sans-serif;
  font-size: 13px;
  letter-spacing: 0em;
  text-transform: uppercase;
  font-wehght:550;
}

.company-cta__title {
  font-family: "Shippori Mincho", serif;
  font-size: 26px;
  letter-spacing: 0em;
}

.company-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 14px;
  letter-spacing: 0em;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow: hidden;
}

/* --- 追加：中の文字（一文字ずつ）の設定 --- */
.company-cta__button span {
  display: inline-block;
}

.company-cta__button:hover {
  opacity: 0.8;
}


@media (max-width: 1024px) {
  .company-section {
    padding: 96px 0;
  }

  .company-section__inner,
  .company-value-graph,
  .company-breadcrumb__inner {
    width: calc(100% - 64px);
  }

  .company-message {
    padding: 48px 56px;
  }

  .company-values {
    gap: 40px 48px;
  }

  .company-heading--statement {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .company-heading--statement .company-heading__title {
    font-size: 52px;
  }

  .company-heading--statement .company-heading__subtitle {
    font-size: 20px;
  }

  .company-heading--statement .company-heading__background {
    top: -80px;
    font-size: 200px;
  }

  .company-cta__content {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .company-section {
    padding: 80px 0;
  }

  .company-section__inner,
  .company-value-graph,
  .company-breadcrumb__inner {
    width: calc(100% - 48px);
  }

  .company-breadcrumb__inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 24px;
  }

  .company-section__inner--message {
    margin-top: -80px;
  }

  .company-message {
    padding: 40px 32px;
    gap: 24px;
  }

  .company-message__lead {
    font-size: 34px;
  }

  .company-values {
    grid-template-columns: 1fr;
  }

  .company-heading--statement {
    gap: 16px;
  }

  .company-heading--statement .company-heading__title {
    font-size: 42px;
  }

  .company-heading--statement .company-heading__subtitle {
    font-size: 18px;
  }

  .company-heading--statement .company-heading__background {
    top: -60px;
    font-size: 140px;
  }

  .company-profile__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company-cta__panel {
    flex: 1 1 100%;
  }

  .company-cta__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .company-cta__button {
    padding: 12px 28px;
  }
}

@media (max-width: 480px) {
  .company-section__inner,
  .company-value-graph,
  .company-breadcrumb__inner {
    width: calc(100% - 32px);
  }

  .company-section__inner--message {
    margin-top: -60px;
  }

  .company-message__lead {
    font-size: 28px;
  }

  .company-heading--statement .company-heading__title {
    font-size: 34px;
  }

  .company-heading--statement .company-heading__subtitle {
    font-size: 16px;
  }

  .company-heading--statement .company-heading__background {
    top: -40px;
    font-size: 100px;
  }

  .company-heading__title {
    font-size: 24px;
  }

  .company-heading__background {
    font-size: 72px;
  }

  .company-cta__content {
    padding: 32px 24px;
  }
}
/* Container */
.main-content {
  width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 640px;
  background: #ababab;
  border: 12px solid white;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5px;
  z-index: 10;
}

.hero-header__logo img {
  height: 19.764px;
  width: auto;
  display: block;
}

/* Hamburger Menu Button */
.hero-header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 14.345px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hero-header__menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 14.345px;
}

.hero-header__menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-header__nav {
  display: none;
}

.hero-header__nav-list {
  display: flex;
  gap: 34.182px;
  list-style: none;
  font-family: "Lato", sans-serif;
  font-size: 15.709px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-header__nav-link {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.hero-header__nav-link:hover,
.hero-header__nav-link:focus {
  opacity: 0.8;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: #ababab;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg-slide.active {
  opacity: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.31);
  filter: blur(130px);
}

.hero-content {
  position: absolute;
  right: 50%;
  bottom: 47px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 334px;
  z-index: 5;
  align-items: flex-start;
}

.hero-text {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  width: 100%;
}

.hero-title {
  margin: 0;
  padding: 0;
}

.hero-title-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 18.8px;
  letter-spacing: 1.504px;
  line-height: 20px;
  color: #fff;
  margin: 0;
  text-shadow: 0px 0px 56.795px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  text-align: center;
}

.hero-brand {
  width: 150.535px;
  height: 21.994px;
}

.hero-brand img {

  width: 100%;
  height: auto;
  display: block;
}

.grainy-overlay {
  position: absolute;
  inset: 0;
  background-image: url("assets/top/grainy.png");
  background-size: 409.6px 409.6px;
  background-repeat: repeat;
  background-position: top left;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Purpose Section */
.purpose-section {
  position: relative;
  width: 100%;
  background: white;
  padding: 30px 0 50px;
  display: flex;
  flex-direction: column;
}

.purpose-container {
  position: relative;
  width: 375px;
  max-width: 100%;
  margin: 0 auto;
  order: 1;
}

.purpose-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.purpose-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14.226px;
  text-align: center;
}

.purpose-label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: #000;
  margin: 0;
}

.purpose-title {
  margin: 0;
}

.purpose-title img {
  display: block;
  max-width: 280px;
  height: auto;
}

.purpose-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 0.8px;
  text-align: center;
  color: #000;
  width: 319px;
  max-width: 100%;
}

.purpose-text p {
  margin-bottom: 21.6px;
}

.purpose-text p:last-child {
  margin-bottom: 0;
}

/* Purpose Decorative Images */
/* Purpose Decorative Images */
/* 外枠：はみ出た画像を見えなくする窓の役割 */
.purpose-images {
  order: 2;
  position: relative;
  height: 135px;
  overflow: hidden; /* 窓からはみ出た分を隠す */
  width: 100%;
  margin-top: 40px;
}

/* 内側の箱：ここをアニメーションで動かす */
.purpose-images-inner {
  display: flex;
  gap: 11px;
  width: max-content; /* 中身の幅（画像8枚分）に合わせる */
  animation: infinity-loop 40s linear infinite; /* 30秒かけて1周、止まらず繰り返す */
}


/* アニメーションの内容：右から左へ50%（1セット分）移動させる */
@keyframes infinity-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 各画像の設定（以前の設定を維持） */
.purpose-images-inner img {
  height: 135px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.purpose-img-1 { width: 177px; }
.purpose-img-2 { width: 180px; transform: scaleX(-1); }
.purpose-img-3 { width: 104px; opacity: 0.8; }
.purpose-img-4 { width: 181px; transform: scaleX(-1); }

/* PC版の表示設定（必要であれば） */
@media (min-width: 769px) {
  .purpose-images-inner {
    display: none; /* PCではループを止める */
  }
  .purpose-img-pc {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* PC専用画像: モバイルでは非表示 */
.purpose-img-pc {
  display: none;
}

/* Service Section SP */
.service-section-sp {
  position: relative;
  width: 100%;
  background: white;
  padding: 30px 10px 50px;
}

.service-container-sp {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}

.service-header-sp {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service-title-sp {
  font-family: "Cormorant Garamond", serif;
  font-weight: 550;
  font-size: 44px;
  line-height: normal;
  color: #000;
  margin: 0;
}

.service-subtitle-sp {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -1.44px;
  color: #000;
  margin: 0;
}

/* Service Filters */
.service-filters-sp {
  display: flex;
  flex-direction: column;
  gap: 14.905px;
  align-items: center;
  width: 100%;
}

.service-filter-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13.414px;
  line-height: normal;
  letter-spacing: 1.3414px;
  color: #000;
  text-align: right;
  margin: 0;
}

.service-filter-buttons {
  display: flex;
  gap: 7.452px;
  align-items: center;
  width: 100%;
}

.service-filter-btn {
  padding: 7.452px;
  border: 0.745px solid #b5b5b5;
  border-radius: 745.223px;
  background: white;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13.414px;
  line-height: 1;
  letter-spacing: 1.3414px;
  color: #000;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-filter-btn:first-child {
  width: 20.6%; /* 72.287px / 351px */
}

.service-filter-btn:not(:first-child) {
  width: 37.6%; /* 131.904px / 351px */
}

.service-filter-btn.active {
  background: #000;
  color: #fff;
}

.service-filter-btn:hover:not(.active) {
  background: #f5f5f5;
}

/* Service Cards */
.service-cards-sp {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-card-sp {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 2.594px solid #f5f5f5;
}

/* 画像専用のリンク枠 */
.service-card-image-link {
    display: block;        /* リンクを画像全体の領域に広げる */
    width: 100%;           /* 横幅を親に合わせる */
    text-decoration: none; /* 下線を消す */
    cursor: pointer;
}

/* 画像を包むコンテナ */
.service-card-image {
    width: 100%;
    aspect-ratio: 351 / 176;
    overflow: hidden;      /* 拡大した画像がはみ出ないようにカットする */
}

/* 実際の画像 */
.service-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 0.3秒かけて、ゆっくりズームする設定 */
    transition: transform 0.3s ease-in-out;
}

/* 実際の画像 */
.scale-image img{
    transition: transform 0.3s ease-in-out;
}


/* ホバー時の挙動：リンクにマウスが乗ったら、中のimgを拡大 */
.service-card-image-link:hover .service-card-image img,
.scale-image:hover img {
    transform: scale(1.05); /* 1.05倍に拡大（ここでお好みの倍率に調整） */
}

.scale-image {
    overflow: hidden;
}


.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 31.5px 25.936px 0 16px;
  width: 100%;
  box-sizing: border-box;
}

.service-card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 45.82px;
  color: #000;
  margin: 0;
}

.service-card-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #000;
  margin: 0;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11.239px 0;
  border-bottom: 0.865px solid #000;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 25.936px;
  color: #000;
  text-decoration: none;
  align-self: flex-start;
}

.service-card-link:hover {
  opacity: 0.7;
}

/* Service More Button */
.service-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background: #000;
  border-radius: 40px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 1.28px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  align-self: center;
  overflow: hidden;
}

/* --- 追加：中の文字（一文字ずつ）の設定 --- */
.service-more-btn span {
  display: inline-block;
  pointer-events: none; /* 文字単体で反応させないための保険 */
}

.service-more-btn:hover {
  opacity: 0.8;
}

/* ===== Record Section SP ===== */
.record-section-sp {
  position: relative;
  width: 100%;
  padding: 40px 12px 50px;
  overflow: hidden;
}

.record-bg-sp {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 574px;
  height: 315px;
  opacity: 0.25;
  z-index: 0;
}

.record-bg-image-sp {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  filter: grayscale(100%);
}

.record-container-sp {
  position: relative;
  z-index: 1;
}

.record-header-sp {
  padding: 0 14px;
  margin-bottom: 40px;
}

.record-title-sp {
  font-family: "Cormorant Garamond", serif;
  font-weight: 550;
  font-size: 44px;
  line-height: normal;
  color: #000;
  margin: 0 0 7px;
}

.record-subtitle-sp {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -1.44px;
  color: #000;
  margin: 0;
}

.record-card-sp {
  border-top: 2.594px solid #f5f5f5;
}

.record-card-image {
  width: 100%;
  max-width:100%;
  height: auto;
  overflow: hidden;
}

.record-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.record-card-body {
  padding: 31.5px 16px 0;
}

.record-card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 45.82px;
  color: #000;
  margin: 0 0 34.581px;
}

.record-card-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #000;
  margin: 0 0 31.123px;
}

.record-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background-color: #fff;
  border: 1px solid #b5b5b5;
  border-radius: 1000px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 1.28px;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.record-more-btn span {
  display: inline-block;
}

.record-more-btn:hover {
  opacity: 0.8;
}

/* ===== Recruit Section SP ===== */
.recruit-section-sp {
  position: relative;
  width: 100%;
  padding: 40px 15px;
  overflow: hidden;
}

.recruit-bg-sp {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.recruit-bg-image-sp {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-bg-overlay-sp {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.recruit-card-sp {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 317px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 30px 14px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}


.recruit-header-sp {
  padding: 0 14px;
}

.recruit-title-sp {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: #000;
  margin: 0 0 7px;
}

.recruit-subtitle-sp {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -1.44px;
  color: #000;
  margin: 0;
}

/* --- ボタンのモーション --- */
/* ============================================================
   共通：文字のアニメーションロジック（どのボタンでも共通）
   ============================================================ */
.c-anim-stagger {
    position: relative;
    overflow: hidden;
}

.c-anim-stagger .t { display: block; pointer-events: none; }
.c-anim-stagger .chunk { display: flex; }

.c-anim-stagger .item {
    display: inline-block;
    transition: transform 0.25s ease-out, color 0.25s ease-out;
}

/* ホバー時の動き */
.c-anim-stagger:hover .item {
    animation: slide-bounce 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: var(--d);
}

@keyframes slide-bounce {
    0% { transform: translateY(0); color: #fff; }
    40% { transform: translateY(.35rem); color: #abb8c3; } /* ここでホバー色を指定 */
    100% { transform: translateY(0); color: inherit; }
}


/* ============================================================
   個別：ボタンごとの見た目（サイズやフォント）
   ============================================================ */
   .recruit-btn-sp {
       display: flex;
       align-items: center;
       justify-content: center;
       width: 100%;
       height: 60px;
       background-color: #000; /* 背景は黒 */
       border-radius: 40px;

       /* 文字の色と装飾を上書き */
       color: #fff !important;         /* 強制的に白にする */
       text-decoration: none !important; /* 下線を消す */

       font-family: "Noto Sans JP", sans-serif;
       font-size: 16px;
       letter-spacing: 1.28px;
   }

/* もし別のボタンを作るなら... */
.contact-btn-sp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;  /* 違うサイズ */
    height: 50px;
    font-size: 14px; /* 違うフォントサイズ */
    background-color: #333;
    /* ...など */
}

.recruit-btn-sp-old {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background-color: #000;
  border-radius: 40px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 1.28px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.recruit-btn-sp-old:hover {
  opacity: 0.8;
}

/* ===== News Section SP ===== */
.news-section-sp {
  width: 100%;
  background: #fff;
}

.news-container-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 70px 14px;
}

.news-header-sp {
  text-align: center;
  width: 100%;
}

.news-title-sp {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: #000;
  margin: 0 0 10px 0;
}

.news-subtitle-sp {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -1.44px;
  color: #000;
  margin: 0;
}

.news-list-sp {
  width: 100%;
}

.news-item-sp {
  position: relative;
  width: 100%;
  background: #fff;
  padding: 10px 40px 10px 20px;
}


/* 土台の薄い線（常に表示） */
.news-item-sp::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000;
  opacity: 0.1; /* 通常は10%の薄さ */
  pointer-events: none; /* マウスの反応を邪魔しない */
}

/* 動く黒い線（アニメーション） */
.news-item-sp::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000;
  z-index: 1;

  /* --- アニメーションの動き --- */
  transform: scaleX(0);      /* 最初は長さゼロ */
  transform-origin: left;    /* 左を起点にする（左から伸びて、左へ縮む） */
  transition: transform 0.4s ease; /* 0.4秒で動く */
  pointer-events: none;
}

/* マウスを乗せた時（ホバー時） */
.news-item-sp:hover::after {
  transform: scaleX(1);      /* 右に向かって100%伸びる */
}

.news-item-link-container {
  text-decoration: none;
  display: block;
  width: 100%;
  text-decoration: none;
  color: #000;
  padding: 8px 0 ; /* ここで高さを出しています */
}

.news-item-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.news-item-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.news-item-date {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0.7px;
  color: #000;
  margin: 0;
}

.news-item-tags {
  display: flex;
  gap: 5.983px;
}

.news-item-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.983px 14.359px;
  background: #000;
  border-radius: 598.291px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 17.949px;
  color: #fff;
}

.news-item-link {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0.7px;
  color: #465059;
  text-decoration: underline;
}

.news-item-link:hover {
  opacity: 0.8;
}

/* ===== Footer SP ===== */
.site-footer-sp {
  width: 100%;
}

.site-footer-top-sp {
  width: 100%;
  overflow: hidden;
}

.site-footer-top-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer-body-sp {
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: center;
  width: 100%;
  padding: 50px 25px;
  background: #000;
}

.site-footer-logo-sp {
  display: block;
  width: 161px;
  height: 24px;
}

.site-footer-logo-sp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer-meta-sp {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer-contact-sp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.site-footer-contact-sp:hover {
  opacity: 0.8;
}

.site-footer-copyright-sp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 1;
  color: #fff;
  margin: 0;
}

/* Statement Section */
.statement-section {
  position: relative;
  width: 100%;
  background: white;
  padding: 100px 0 220px;
}

.statement-container {
  position: relative;
  width: 100%;
}

.statement-content {
  position: relative;
  width: calc(100% - 64px);
  max-width: 998px;
  margin: 0 auto;
  text-align: center;
  z-index: 5;
}

.section-label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 30px;
  color: #000;
}

.statement-title {
  font-family: "A P-OTF Shuei3+ ProN M", sans-serif;
  font-size: 55px;
  line-height: 94px;
  letter-spacing: 6.6px;
  margin-bottom: 60px;
  color: #000;
}

.statement-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: 0.9px;
  text-align: center;
  margin: 0 auto;
}

.statement-text p {
  margin-bottom: 21.6px;
}

.statement-images {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.decorative-img-1 {
  position: absolute;
  left: -30px;
  top: 129px;
  width: 346px;
  height: 265px;
  object-fit: cover;
}

.decorative-img-2 {
  position: absolute;
  right: -14px;
  top: 30px;
  width: 369px;
  height: 278px;
  transform: rotate(180deg) scaleY(-1);
}

.decorative-img-3 {
  position: absolute;
  right: -113px;
  top: 308px;
  width: 336px;
  height: 133px;
  opacity: 0.6;
}

.decorative-img-4 {
  position: absolute;
  right: 0;
  bottom: 170px;
  width: 345px;
  height: 449px;
  opacity: 0.8;
}

.decorative-img-5 {
  position: absolute;
  left: -49px;
  bottom: 73px;
  width: 365px;
  height: 208px;
  transform: rotate(180deg) scaleY(-1);
}

.decorative-img-6 {
  position: absolute;
  left: -62px;
  bottom: 509px;
  width: 287px;
  height: 164px;
  opacity: 0.4;
  transform: rotate(180deg) scaleY(-1);
}

.decorative-img-7 {
  position: absolute;
  left: 77px;
  bottom: 390px;
  width: 239px;
  height: 180px;
  transform: rotate(180deg) scaleY(-1);
}

/* Service Section */
.service-section {
  padding: 110px 100px;
  background: white;
}

.service-container,
.record-section__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-section .section-label {
  font-size: 70px;
}

.section-subtitle {
  font-family: "Shippori Mincho", serif;
  font-size: 34px;
  line-height: 94px;
  letter-spacing: -3.06px;
  color: #000;
}

.service-filters {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 471px;
  align-items: flex-end;
}

.filter-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  color: #000;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.filter-btn {
  flex: 1;
  height: 43px;
  border: 1px solid #b5b5b5;
  border-radius: 1000px;
  background: white;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #000;
  color: white;
}

.service-cards {
  display: flex;
  gap: 40px;
  margin-bottom: 100px;
  justify-content: center;
}

.service-card {
  width: auto;
  border-top: 3px solid #f5f5f5;
  background: white;
}

.card-image {
  width: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.card-content {
  padding: 48px 30px;
}

.card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 53px;
  margin-bottom: 40px;
  color: #000;
}

.card-description {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 36px;
  color: #000;
}

.card-link {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.card-link:hover {
  opacity: 0.7;
}

.service-button {
  text-align: center;
}

.btn-black {
  background: #000;
  color: white;
  border: none;
  border-radius: 1000px;
  padding: 10px;
  width: 360px;
  height: 76px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-black:hover {
  opacity: 0.8;
}

.btn-white {
  background: white;
  color: #000;
  border: 1px solid #b5b5b5;
  border-radius: 1000px;
  padding: 10px;
  width: 360px;
  height: 76px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background: #000;
  color: white;
}

/* Record Section (for home page only) */
.main-content .record-section {
  position: relative;
  width: 100%;
  min-height: 862px;
  background: #f8f9fa;
}

.record-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.record-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  filter: grayscale(100%);
}

.record-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.record-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.record-container {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 110px 100px;
}

.record-header {
  width: 100%;
  max-width: 1142px;
  margin-bottom: 60px;
}

.record-header .section-label {
  font-size: 70px;
}

.record-header .section-subtitle {
  font-size: 34px;
  letter-spacing: -9%;
}

.record-content {
  display: flex;
  gap: 105px;
  align-items: center;
  width: 100%;
  max-width: 1142px;
}

.record-text {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 360px;
}

.record-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 53px;
  color: #000;
}

.record-description {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #000;
}

.record-stats {
  display: flex;
  gap: 40px;
  flex: 1;
}

.record-stat-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.record-stat-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #000;
  border: 1px solid #000;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  background: white;
}

.record-stat-number-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.record-stat-number {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  color: #000;
}

.record-stat-unit {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  color: #000;
}

.record-stat-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.record-stat-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.record-stat-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  align-items: center;
  justify-items: center;
  background: white;
  padding: 16px;
  border-radius: 8px;
  height: 140px;
}

.record-stat-logos img {
  width: 47px;
  height: 26px;
  object-fit: contain;
}

.record-detail-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.record-detail-image img {
  height: 475px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Recruit Section */
.recruit-section {
  position: relative;
  width: 100%;
  height: 453px;
}

.recruit-bg {
  position: absolute;
  inset: 0;
}

.recruit-bg-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.recruit-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.recruit-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.recruit-container {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.recruit-card {
  background: white;
  border-radius: 20px;
  width: 1144px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 253px;
  padding: 70px 74px;
  box-sizing: border-box;
}

.recruit-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recruit-section .section-label {
  font-size: 55px;
}

/* News Section */
.news-section {
  background: white;
  padding: 110px 100px;
}

.news-container {
  max-width: 1142px;
  margin: 0 auto;
}

.news-header {
  margin-bottom: 80px;
}

.news-section .section-label {
  font-size: 55px;
}

.news-section .section-subtitle {
  font-size: 25px;
  letter-spacing: -2.25px;
  line-height: 94px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 30px;
  border-bottom: 1px solid #000;
}

.news-row {
  display: grid;
  grid-template-columns: 234px 358px;
  column-gap: 80px;
  align-items: end;
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 234px;
}

.news-date {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #000;
  white-space: nowrap;
}

.news-tags {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
}

.news-tag {
  background: #000;
  color: white;
  padding: 10px 24px;
  border-radius: 1000px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 30px;
  white-space: nowrap;
}

.news-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 40px;
  color: #000;
  max-width: 358px;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1440px) {
  .statement-section {
    padding: 80px 0 200px;
  }

  .statement-content {
    width: calc(100% - 128px);
  }

  .service-section {
    padding: 80px 50px;
  }

  .news-section {
    padding: 80px 50px;
  }
}

@media (max-width: 768px) {
  .service-header {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .service-filters {
    width: 100%;
    align-items: flex-start;
  }

  .service-cards {
    flex-direction: column;
  }

  .record-content {
    flex-direction: column;
    gap: 40px;
  }

  .recruit-card {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    height: auto;
    padding: 40px 24px;
  }

  .service-overview .service-card {
        /* 上下の余白（例: 20px）を設定。左右は auto または 0 で調整 */
        margin: 0 10px;
    }

  .news-item {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .news-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .news-meta {
    min-width: unset;
    min-width: unset;
  }

  .news-title {
    width: 100%;
  }
}

/* Mobile First Responsive Design - Based on Figma 375px Design */
@media (max-width: 375px) {
  /* Statement Section Mobile */
  .statement-section {
    padding: 60px 0 180px;
  }

  .statement-content {
    width: 100%;
    padding: 0 28px;
    text-align: center;
  }

  .section-label {
    font-size: 16px;
    margin-bottom: 14.226px;
  }

  .statement-title {
    font-size: 26px;
    line-height: 44.574px;
    letter-spacing: 3.12px;
    margin-bottom: 40px;
  }

  .statement-text {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.8px;
    width: 100%;
    margin: 0 auto;
  }

  .statement-text p {
    margin-bottom: 21.6px;
  }

  /* Service Section Mobile */
  .service-section {
    height: auto;
    padding: 30px 12px 50px;
  }

  .service-container,
  .record-section__inner {
    width: 100%;
    max-width: 375px; /* 最大幅は維持しつつ、画面が狭ければ縮むようにする */
    padding: 0 15px;
  }

  .service-header {
    margin-bottom: 40px;
  }

  .section-title {
    gap: 7px;
    padding: 0 14px;
  }

  .section-label {
    font-size: 44px;
  }

  .section-subtitle {
    font-size: 16px;
    line-height: 62.661px;
    letter-spacing: -1.44px;
  }

  .service-filters {
    width: 351px;
    gap: 14.905px;
  }

  .filter-label {
    font-size: 13.414px;
    letter-spacing: 1.3414px;
    text-align: right;
  }

  .filter-buttons {
    gap: 7.452px;
    width: 351px;
  }

  .filter-btn {
    height: 32.045px;
    border-radius: 745.223px;
    font-size: 13.414px;
    letter-spacing: 1.3414px;
    padding: 7.452px;
  }

  .service-cards {
    gap: 40px;
    margin-bottom: 0;
  }

  .service-card {
    width: auto;
    border-top: 2.594px solid #f5f5f5;
  }

  .card-image {
    height: 175.5px;
  }

  .card-content {
    padding: 31.5px 16px 0 16px;
    width: 351px;
  }

  .card-title {
    font-size: 22px;
    line-height: 45.82px;
    margin-bottom: 34.581px;
  }

  .card-description {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 31.123px;
  }

  .card-link {
    padding: 11.239px 0;
    font-size: 14px;
    border-bottom: 0.865px solid #000;
  }

  .service-button {
    margin-top: 40px;
  }

  .btn-black {
    width: 351px;
    height: 60px;
    font-size: 16px;
    letter-spacing: 1.28px;
    padding: 21px 0;
  }

  /* Record Section Mobile */
  .record-section {
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .record-bg-image {
    height: 315px;
    width: 574px;
    opacity: 0.25;
  }

  .record-container {
    left: 0;
    margin: 0 auto;
    top: 40px;
    width: 375px;
    padding: 30px 12px 50px;
  }

  .record-header {
    margin-bottom: 40px;
  }

  .record-content {
    width: 351px;
  }

  .record-image {
    height: 245px;
    width: 351px;
  }

  .record-text {
    width: 319px;
    gap: 31.123px;
  }

  .record-title {
    font-size: 22px;
    line-height: 45.82px;
    margin-bottom: 34.581px;
  }

  .record-description {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 148.569px;
  }

  .btn-white {
    width: 319px;
    height: 60px;
    font-size: 16px;
    letter-spacing: 1.28px;
    padding: 10px;
  }

  /* Recruit Section Mobile */
  .recruit-section {
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .recruit-container {
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    width: 317px;
    padding: 30px 14px;
  }

  .recruit-card {
    width: 317px;
    padding: 30px 14px;
    border-radius: 10px;
    gap: 40px;
    height: auto;
  }

  /* News Section Mobile */
  .news-section {
    padding: 70px 14px;
  }

  .news-container {
    width: 375px;
  }

  .news-header {
    margin-bottom: 0;
    text-align: center;
    gap: 7px;
  }

  .news-list {
    width:100%;
    max-width: 351px;
    margin: 0 auto;
  }

  .news-item {
    padding: 20px;
    border-bottom: 1px solid #000;
    gap: 10px;
  }

  .news-meta {
    gap: 8px;
  }

  .news-date {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.7px;
  }

  .news-tags {
    flex-direction: row;
    gap: 5.983px;
  }

  .news-tag {
    font-size: 12px;
    line-height: 17.949px;
    padding: 5.983px 14.359px;
    border-radius: 598.291px;
  }

  .news-title {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.7px;
    width: 298px;
  }

  /* Hide desktop elements on mobile */
  .statement-images {
    display: none;
  }

  .record-bg-text {
    display: none;
  }

  .recruit-bg-overlay img {
    display: none;
  }
}

/* Statement Section */
.statement-section {
  position: relative;
  width: 100%;
  background: white;
  padding: 100px 0 220px;
}

.statement-container {
  position: relative;
  width: 100%;
}

.statement-content {
  position: relative;
  width: calc(100% - 64px);
  max-width: 998px;
  margin: 0 auto;
  text-align: center;
  z-index: 5;
}

.section-label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 30px;
  color: #000;
}

.statement-title {
  font-family: "A P-OTF Shuei3+ ProN M", sans-serif;
  font-size: 55px;
  line-height: 94px;
  letter-spacing: 6.6px;
  margin-bottom: 60px;
  color: #000;
}

.statement-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: 0.9px;
  text-align: center;
  margin: 0 auto;
}

.statement-text p {
  margin-bottom: 21.6px;
}

.statement-images {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.decorative-img-1 {
  position: absolute;
  left: -30px;
  top: 129px;
  width: 346px;
  height: 265px;
  object-fit: cover;
}

.decorative-img-2 {
  position: absolute;
  right: -14px;
  top: 30px;
  width: 369px;
  height: 278px;
  transform: rotate(180deg) scaleY(-1);
}

.decorative-img-3 {
  position: absolute;
  right: -113px;
  top: 308px;
  width: 336px;
  height: 133px;
  opacity: 0.6;
}

.decorative-img-4 {
  position: absolute;
  right: 0;
  bottom: 170px;
  width: 345px;
  height: 449px;
  opacity: 0.8;
}

.decorative-img-5 {
  position: absolute;
  left: -49px;
  bottom: 73px;
  width: 365px;
  height: 208px;
  transform: rotate(180deg) scaleY(-1);
}

.decorative-img-6 {
  position: absolute;
  left: -62px;
  bottom: 509px;
  width: 287px;
  height: 164px;
  opacity: 0.4;
  transform: rotate(180deg) scaleY(-1);
}

.decorative-img-7 {
  position: absolute;
  left: 77px;
  bottom: 390px;
  width: 239px;
  height: 180px;
  transform: rotate(180deg) scaleY(-1);
}

/* Service Section */
.service-section {
  padding: 110px 100px;
  background: white;
}

.service-container,
.record-section__inner {
  max-width: 1293px;
  margin: 0 auto;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-section .section-label {
  font-size: 70px;
}

.section-subtitle {
  font-family: "Shippori Mincho", serif;
  font-size: 34px;
  line-height: 94px;
  letter-spacing: -3.06px;
  color: #000;
}

.service-filters {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 471px;
  align-items: flex-end;
}

.filter-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  color: #000;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.filter-btn {
  flex: 1;
  height: 43px;
  border: 1px solid #b5b5b5;
  border-radius: 1000px;
  background: white;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #000;
  color: white;
}

.service-cards {
  display: flex;
  gap: 40px;
  margin-bottom: 100px;
  justify-content: center;
}

.service-card {
  width: auto;
  border-top: 3px solid #f5f5f5;
  background: white;
}

.card-image {
  width: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.card-content {
  padding: 48px 30px;
}

.card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 53px;
  margin-bottom: 40px;
  color: #000;
}

.card-description {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 36px;
  color: #000;
}

.card-link {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.card-link:hover {
  opacity: 0.7;
}

.service-button {
  text-align: center;
}

.btn-black {
  background: #000;
  color: white;
  border: none;
  border-radius: 1000px;
  padding: 10px;
  width: 360px;
  height: 76px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-black:hover {
  opacity: 0.8;
}

.btn-white {
  background: white;
  color: #000;
  border: 1px solid #b5b5b5;
  border-radius: 1000px;
  padding: 10px;
  width: 360px;
  height: 76px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background: #000;
  color: white;
}

/* Record Section (for home page only) */
.main-content .record-section {
  position: relative;
  width: 100%;
  min-height: 862px;
  background: #f8f9fa;
}

.record-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.record-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  filter: grayscale(100%);
}

.record-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.record-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.record-container {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 110px 100px;
}

.record-header {
  width: 100%;
  max-width: 1142px;
  margin-bottom: 60px;
}

.record-header .section-label {
  font-size: 70px;
}

.record-header .section-subtitle {
  font-size: 34px;
  letter-spacing: -9%;
}

.record-content {
  display: flex;
  gap: 105px;
  align-items: center;
  width: 100%;
  max-width: 1142px;
}

.record-text {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 360px;
}

.record-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 53px;
  color: #000;
}

.record-description {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #000;
}

.record-stats {
  display: flex;
  gap: 40px;
  flex: 1;
}

.record-stat-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.record-stat-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #000;
  border: 1px solid #000;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  background: white;
}

.record-stat-number-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.record-stat-number {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  color: #000;
}

.record-stat-unit {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  color: #000;
}

.record-stat-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.record-stat-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.record-stat-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  align-items: center;
  justify-items: center;
  background: white;
  padding: 16px;
  border-radius: 8px;
  height: 140px;
}

.record-stat-logos img {
  width: 47px;
  height: 26px;
  object-fit: contain;
}

.record-detail-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.record-detail-image img {
  height: 475px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Recruit Section */
.recruit-section {
  position: relative;
  width: 100%;
  height: 453px;
}

.recruit-bg {
  position: absolute;
  inset: 0;
}

.recruit-bg-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.recruit-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.recruit-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.recruit-container {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.recruit-card {
  background: white;
  border-radius: 20px;
  width: 1144px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 253px;
  padding: 70px 74px;
  box-sizing: border-box;
}

.recruit-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recruit-section .section-label {
  font-size: 55px;
}

/* News Section */
.news-section {
  background: white;
  padding: 110px 100px;
}

.news-container {
  max-width: 1142px;
  margin: 0 auto;
}

.news-header {
  margin-bottom: 80px;
}

.news-section .section-label {
  font-size: 55px;
}

.news-section .section-subtitle {
  font-size: 25px;
  letter-spacing: -2.25px;
  line-height: 94px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 30px;
  border-bottom: 1px solid #000;
}

.news-row {
  display: grid;
  grid-template-columns: 234px 358px;
  column-gap: 80px;
  align-items: end;
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 234px;
}

.news-date {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #000;
  white-space: nowrap;
}

.news-tags {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
}

.news-tag {
  background: #000;
  color: white;
  padding: 10px 24px;
  border-radius: 1000px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 30px;
  white-space: nowrap;
}

.news-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 40px;
  color: #000;
  max-width: 358px;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1440px) {
  .hero-nav {
    padding: 40px 30px 20px;
  }

  .hero-content {
    left: 32px;
    bottom: 32px;
    max-width: calc(100% - 64px);
  }

  .statement-section {
    padding: 80px 0 200px;
  }

  .statement-content {
    width: calc(100% - 128px);
  }

  .service-section {
    padding: 80px 50px;
  }

  .news-section {
    padding: 80px 50px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 20px;
    font-size: 14px;
  }

  .service-header {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .service-filters {
    width: 100%;
    align-items: flex-start;
  }

  .service-cards {
    flex-direction: column;
  }

  .record-content {
    flex-direction: column;
    gap: 40px;
  }

  .recruit-card {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    height: auto;
    padding: 40px 24px;
  }

  .news-item {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .news-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .news-meta {
    min-width: unset;
    min-width: unset;
  }

  .news-title {
    width: 100%;
  }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle img {
  height: 14.345px;
  width: 26px;
}

.nav-menu.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 20px;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu.mobile-menu.active {
  display: flex;
}

.nav-menu.mobile-menu a {
  color: #000;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.nav-menu.mobile-menu a:last-child {
  border-bottom: none;
}

/* Mobile First Responsive Design - Based on Figma 375px Design */
@media (max-width: 375px) {
  /* Hero Section Mobile */
  .hero-section {
    height: 640px;
    border: 12px solid white;
  }

  .hero-nav {
    padding: 10px 0;
    gap: 175px;
    justify-content: center;
    align-items: center;
  }

  .logo img {
    height: 19.764px;
    width: 135.273px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none; /* Hide desktop menu on mobile */
  }

  .hero-background {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-content {
    left: 50%;
    transform: translateX(-50%);
    bottom: 35px;
    width: 100%;
    max-width: 370px;
    padding: 0;
  }


  .hero-title {
    font-family: "A P-OTF Shuei3+ ProN L", sans-serif;
    font-size: 49.058px;
    line-height: 61.349px;
    letter-spacing: -12.2646px;
    margin-bottom: 10px;
    text-shadow: 0px 0px 112.471px rgba(0, 0, 0, 0.25);
  }

  .hero-subtitle {
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 18.8px;
    line-height: 20px;
    letter-spacing: 1.504px;
    text-shadow: 0px 0px 56.795px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
  }

  .hero-button img {
    height: 21.994px;
    width: 150.535px;
  }

  /* Statement Section Mobile */
  .statement-section {
    padding: 60px 0 180px;
  }

  .statement-content {
    width: 100%;
    padding: 0 28px;
    text-align: center;
  }

  .section-label {
    font-size: 16px;
    margin-bottom: 14.226px;
  }

  .statement-title {
    font-size: 26px;
    line-height: 44.574px;
    letter-spacing: 3.12px;
    margin-bottom: 40px;
  }

  .statement-text {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.8px;
    width: 100%;
    margin: 0 auto;
  }

  .statement-text p {
    margin-bottom: 21.6px;
  }

  /* Service Section Mobile */
  .service-section {
    height: auto;
    padding: 30px 12px 50px;
  }

  .service-container,
  .record-section__inner {
    width:100%;
    max-width: 375px;
  }

  .service-header {
    margin-bottom: 40px;
  }

  .section-title {
    gap: 7px;
    padding: 0 14px;
  }

  .section-label {
    font-size: 44px;
  }

  .section-subtitle {
    font-size: 16px;
    line-height: 62.661px;
    letter-spacing: -1.44px;
  }

  .service-filters {
    width: 351px;
    gap: 14.905px;
  }

  .filter-label {
    font-size: 13.414px;
    letter-spacing: 1.3414px;
    text-align: right;
  }

  .filter-buttons {
    gap: 7.452px;
    width: 351px;
  }

  .filter-btn {
    height: 32.045px;
    border-radius: 745.223px;
    font-size: 13.414px;
    letter-spacing: 1.3414px;
    padding: 7.452px;
  }

  .service-cards {
    gap: 40px;
    margin-bottom: 0;
  }

  .service-card {
    width: auto;
    border-top: 2.594px solid #f5f5f5;
  }

  .card-image {
    height: 175.5px;
  }

  .card-content {
    padding: 31.5px 16px 0 16px;
    width: 351px;
  }

  .card-title {
    font-size: 22px;
    line-height: 45.82px;
    margin-bottom: 34.581px;
  }

  .card-description {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 31.123px;
  }

  .card-link {
    padding: 11.239px 0;
    font-size: 14px;
    border-bottom: 0.865px solid #000;
  }

  .service-button {
    margin-top: 40px;
  }

  .btn-black {
    width: 351px;
    height: 60px;
    font-size: 16px;
    letter-spacing: 1.28px;
    padding: 21px 0;
  }

  /* Record Section Mobile */
  .record-section {
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .record-bg-image {
    height: 315px;
    width: 574px;
    opacity: 0.25;
  }

  .record-container {
    left: 100px;
    top: 40px;
    width: 375px;
    padding: 30px 12px 50px;
  }

  .record-header {
    margin-bottom: 40px;
  }

  .record-content {
    width: 351px;
  }

  .record-image {
    height: 245px;
    width: 351px;
  }

  .record-text {
    width: 319px;
    gap: 31.123px;
  }

  .record-title {
    font-size: 22px;
    line-height: 45.82px;
    margin-bottom: 34.581px;
  }

  .record-description {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 148.569px;
  }

  .btn-white {
    width: 319px;
    height: 60px;
    font-size: 16px;
    letter-spacing: 1.28px;
    padding: 10px;
  }

  /* Recruit Section Mobile */
  .recruit-section {
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .recruit-container {
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    width: 317px;
    padding: 30px 14px;
  }

  .recruit-card {
    width: 317px;
    padding: 30px 14px;
    border-radius: 10px;
    gap: 40px;
    height: auto;
  }

  /* News Section Mobile */
  .news-section {
    padding: 70px 14px;
  }

  .news-container {
    width: 375px;
  }

  .news-header {
    margin-bottom: 0;
    text-align: center;
    gap: 7px;
  }

  .news-list {
    width: 351px;
    margin: 0 auto;
  }

  .news-item {
    padding: 20px;
    border-bottom: 1px solid #000;
    gap: 10px;
  }

  .news-meta {
    gap: 8px;
  }

  .news-date {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.7px;
  }

  .news-tags {
    flex-direction: row;
    gap: 5.983px;
  }

  .news-tag {
    font-size: 12px;
    line-height: 17.949px;
    padding: 5.983px 14.359px;
    border-radius: 598.291px;
  }

  .news-title {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.7px;
    width: 298px;
  }

  /* Hide desktop elements on mobile */
  .statement-images {
    display: none;
  }

  .record-bg-text {
    display: none;
  }

  .recruit-bg-overlay img {
    display: none;
  }
}

/* ========================================
   COMPANY PAGE STYLES
======================================== */

.company-page {
  width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.company-hero {
  position: relative;
  width: 100%;
  height: 388px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.company-hero .hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.company-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.company-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.company-hero .hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.company-hero .hero-subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 64px;
  color: #f8f9fd;
  letter-spacing: 0.96px;
  margin: 0;
}

.company-hero .hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 70px;
  line-height: normal;
  color: #f8f9fd;
  letter-spacing: 0.7px;
  margin: 0;
}

/* Navigation Tabs */
.company-nav {
  background: #f4f4f4;
  padding: 25px 0;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 70px;
  padding: 0 20px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.nav-item:hover {
  opacity: 0.8;
}

.nav-item.active {
  font-weight: 600;
}

.nav-item span {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 17px;
  color: #000;
  letter-spacing: -1.19px;
}

.nav-arrow {
  width: 20px;
  height: 20px;
}

/* Company Sections */
.company-section {
  position: relative;
  min-height: 400px;
  padding: 100px 0;
  display: none;
}

.company-section.active {
  display: block;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grainy-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/company/grainy-texture.png");
  background-size: 409.6px 409.6px;
  background-repeat: repeat;
  background-position: top left;
  mix-blend-mode: overlay;
}

.section-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 73px;
}

.section-header {
  border-bottom: 1px solid #000;
  padding-bottom: 20px;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.section-title {
  font-family: "Shippori Mincho", serif;
  font-size: 60px;
  line-height: 94px;
  color: #000;
  letter-spacing: -4.2px;
  margin: 0;
}

.section-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  line-height: normal;
  color: #000;
  margin: 0;
}

/* CEO Greeting Section */
.ceo-content {
  display: flex;
  gap: 80px;
  align-items: center;
}

.ceo-image {
  flex-shrink: 0;
}

.ceo-img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.ceo-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.ceo-message {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 45px;
  line-height: 77px;
  color: #000;
  letter-spacing: -0.9px;
  margin: 0;
}

.ceo-description {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 27px;
  color: #000;
  letter-spacing: 1.25px;
}

.ceo-description p {
  margin-bottom: 21.6px;
}

.ceo-description p:last-child {
  margin-bottom: 0;
}

.ceo-beyond-cafe {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #000;
  margin: 0;
}

.ceo-signature {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ceo-title {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 25px;
  line-height: 77px;
  color: #000;
  letter-spacing: -0.5px;
  margin: 0;
}

.ceo-name {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 45px;
  line-height: 77px;
  color: #000;
  letter-spacing: -0.9px;
  margin: 0;
}

/* Mission Section */
.mission-content {
  padding-left: 71px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mission-title {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 45px;
  line-height: 77px;
  color: #000;
  letter-spacing: -0.9px;
  margin: 0;
}

.mission-description {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 27px;
  color: #000;
  letter-spacing: 1.25px;
}

.mission-description p {
  margin-bottom: 21.6px;
}

.mission-description p:last-child {
  margin-bottom: 0;
}

/* Vision Section */
.vision-content {
  padding-left: 74px;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.vision-title {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 45px;
  line-height: 77px;
  color: #000;
  letter-spacing: -0.9px;
  margin: 0;
}

.vision-description {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 27px;
  color: #000;
  letter-spacing: 1.25px;
}

.vision-description p {
  margin-bottom: 21.6px;
}

.vision-description p:last-child {
  margin-bottom: 0;
}

/* Value Section */
.value-content {
  padding-left: 75px;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.value-title {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 45px;
  line-height: 77px;
  color: #000;
  letter-spacing: -0.9px;
  margin: 0;
}

.value-description {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 27px;
  color: #000;
  letter-spacing: 1.25px;
}

.value-description p {
  margin-bottom: 21.6px;
}

.value-description p:last-child {
  margin-bottom: 0;
}

.value-image {
  margin-top: 80px;
}

.value-img {
  width: 100%;
  max-width: 1218px;
  height: 719px;
  object-fit: cover;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
}

/* Company Info Section */
.company-info-section {
  position: relative;
  min-height: 1233px;
  padding: 100px 0;
}

.company-info-table {
  background: white;
  padding: 33px 0 46px;
  max-width: 1070px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d8d8d8;
  padding: 20px 0 40px;
}

.info-label {
  width: 134px;
  flex-shrink: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 27px;
  color: #465059;
  border-right: 1px solid #465059;
  padding-right: 10px;
}

.info-value {
  flex: 1;
  padding-left: 30px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 27px;
  color: #465059;
}

/* CTA Section */
.company-cta-section {
  position: relative;
  height: 370px;
  display: flex;
}

.cta-container {
  display: flex;
  width: 100%;
}

.cta-item {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 100px;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cta-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.cta-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 55px;
  line-height: normal;
  color: white;
  margin: 0;
}

.cta-subtitle {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 25px;
  line-height: 94px;
  color: white;
  letter-spacing: -2.25px;
  margin: 0;
}

.cta-button {
  background: black;
  border: 1px solid white;
  border-radius: 1000px;
  padding: 10px;
  width: 260px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: normal;
  color: white;
  letter-spacing: 1.8px;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: white;
  color: black;
}

.cta-grainy-texture {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 478px;
  background-image: url("../assets/company/grainy-texture.png");
  background-size: 409.6px 409.6px;
  background-repeat: repeat;
  background-position: top left;
  mix-blend-mode: overlay;
  z-index: 1;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .company-hero {
    height: 227px;
  }

  .company-hero .hero-subtitle {
    font-size: 12px;
    line-height: 38.725px;
    letter-spacing: 0.72px;
  }

  .company-hero .hero-title {
    font-size: 42px;
    letter-spacing: 0.42px;
  }

  .company-nav {
    padding: 15px 0;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 13px;
    justify-content: center;
    padding: 0 77px;
  }

  .nav-item {
    gap: 5.571px;
  }

  .nav-item span {
    font-size: 14px;
    letter-spacing: -0.98px;
  }

  .nav-arrow {
    width: 11.143px;
    height: 11.143px;
  }

  .company-section {
    min-height: auto;
    padding: 40px 0;
  }

  .section-container {
    padding: 0 28px;
  }

  .section-header {
    margin-bottom: 32px;
    padding-bottom: 8.661px;
    gap: 12.992px;
  }

  .section-title {
    font-size: 27px;
    line-height: 40.708px;
    letter-spacing: -1.89px;
  }

  .section-subtitle {
    font-size: 11px;
  }

  .ceo-content {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .ceo-image {
    order: 2;
  }

  .ceo-text {
    order: 1;
    gap: 45.96px;
    text-align: center;
  }

  .ceo-message {
    font-size: 24px;
    line-height: 44.6px;
    letter-spacing: -0.48px;
  }

  .ceo-description {
    font-size: 16px;
    line-height: 28px;
  }

  .ceo-description p {
    margin-bottom: 18.674px;
  }

  .ceo-beyond-cafe {
    font-size: 11px;
    line-height: 22.6px;
  }

  .ceo-signature {
    gap: 19.746px;
  }

  .ceo-title {
    font-size: 16px;
    line-height: 50.681px;
    letter-spacing: -0.32px;
  }

  .ceo-name {
    font-size: 26px;
    line-height: 50.681px;
    letter-spacing: -0.52px;
  }

  .mission-content {
    padding-left: 0;
    gap: 45.96px;
  }

  .mission-title {
    font-size: 24px;
    line-height: 44.6px;
    letter-spacing: -0.48px;
  }

  .mission-description {
    font-size: 16px;
    line-height: 28px;
  }

  .vision-content {
    padding-left: 0;
    gap: 45.96px;
  }

  .vision-title {
    font-size: 24px;
    line-height: 44.6px;
    letter-spacing: -0.48px;
  }

  .vision-description {
    font-size: 16px;
    line-height: 28px;
  }

  .value-content {
    padding-left: 0;
    gap: 45.96px;
  }

  .value-title {
    font-size: 24px;
    line-height: 44.6px;
    letter-spacing: -0.48px;
  }

  .value-description {
    font-size: 16px;
    line-height: 28px;
  }

  .value-img {
    height: 188px;
  }

  .company-info-table {
    padding: 0;
    gap: 18px;
  }

  .info-row {
    padding: 20px 0 40px;
  }

  .info-label {
    width: 134px;
    font-size: 14px;
    line-height: 27px;
  }

  .info-value {
    padding-left: 23px;
    font-size: 14px;
    line-height: 27px;
  }

  .company-cta-section {
    flex-direction: column;
    height: auto;
  }

  .cta-container {
    flex-direction: column;
  }

  .cta-item {
    height: 192.708px;
    gap: 41.667px;
    padding: 52.083px;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-subtitle {
    font-size: 14px;
    line-height: 48.958px;
    letter-spacing: -1.26px;
  }

  .cta-button {
    width: 135.417px;
    height: 39.583px;
    font-size: 11px;
    letter-spacing: 1.1px;
    border-width: 0.521px;
    padding: 5.208px;
    border-radius: 520.833px;
  }

  .cta-grainy-texture {
    height: 248.958px;
    background-size: 213.333px 213.333px;
  }
}

/* ========================================
   MEMBER PAGE STYLES
======================================== */

.member-page {
  width: 100%;
  overflow-x: hidden;
}

/* Hero */
.member-hero {
  position: relative;
  width: 100%;
  height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.member-hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.member-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.member-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.member-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 55px;
}

.member-hero-subtitle {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 25px;
  letter-spacing: -2.25px;
}

/* Intro */
.member-intro-section {
  padding: 100px 0 40px;
}

.member-section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 73px;
}

.member-section-header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #000;
  margin-bottom: 40px;
}

.member-section-title {
  font-family: "Shippori Mincho", serif;
  font-size: 60px;
  line-height: 94px;
  letter-spacing: -4.2px;
}

.member-section-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
}

.member-intro-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
}

/* Grid */
.member-grid-section {
  padding: 40px 0 120px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.member-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

.member-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  background: #f5f5f5;
  display: flex;
}

.member-card-image img {
  width: 60%;
  height: auto;
}

.member-card-body {
  padding: 16px 18px 20px;
}

.member-card-role {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.member-card-name {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 20px;
}

@media (max-width: 1024px) {
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .member-hero {
    height: 192.708px;
  }

  .member-hero-title {
    font-size: 28px;
  }

  .member-hero-subtitle {
    font-size: 14px;
    letter-spacing: -1.26px;
  }

  .member-section-container {
    padding: 0 28px;
  }

  .member-section-title {
    font-size: 27px;
    line-height: 40.708px;
    letter-spacing: -1.89px;
  }

  .member-section-subtitle {
    font-size: 11px;
  }

  .member-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   MEMBER DETAIL PAGE STYLES
======================================== */

.member-detail {
  width: 100%;
  overflow-x: hidden;
}

.member-detail-hero {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-detail-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.member-detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.member-detail-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.member-detail-role {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.member-detail-role-en {
  display: block;
  font-size: 14px;
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-detail-name {
  font-family: "A P-OTF Shuei3+ ProN", sans-serif;
  font-size: 42px;
}

.member-detail-tagline {
  margin-top: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.member-detail-body {
  padding: 80px 0;
}

.member-detail-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px;
}

.member-detail-content {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 28px;
}

@media (max-width: 768px) {
  .member-detail-hero {
    height: 260px;
  }
  .member-detail-role {
    font-size: 14px;
  }
  .member-detail-name {
    font-size: 28px;
  }
  .member-detail-role-en {
    font-size: 12px;
  }
  .member-detail-tagline {
    font-size: 16px;
  }
}

/* -------------------------------------------------------------------------- */
/* Company Page                                                               */
/* -------------------------------------------------------------------------- */

.company-page {
  position: relative;
  width: 100%;
  background-color: #fff;
  overflow-x: hidden;
}

.company-hero {
  position: relative;
  width: 100%;
  height: 476px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.company-hero__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.company-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.company-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.company-hero__grainy {
  position: absolute;
  inset: 0;
  background-image: url("../assets/company/c48d04b796267026a85a6915de54ea5702177fd0.png");
  background-size: 409.6px 409.6px;
  background-repeat: repeat;
  background-position: top left;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.company-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
}

.company-header__inner {
  max-width: 1440px;
  height: 112px;
  margin: 0 auto;
  padding: 0 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.company-header__logo img {
  width: 186px;
  height: 27px;
  display: block;
}

.company-header__menu {
  display: flex;
  gap: 47px;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  color: #000;
}

.company-header__menu a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.company-header__menu a:hover {
  opacity: 0.7;
}

.company-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 1;
  text-align: center;
  padding: 90px 100px 100px;
}

.company-hero__label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.96px;
  color: #f8f9fd;
}

.company-hero__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 70px;
  letter-spacing: 0.7px;
  color: #f8f9fd;
}

.company-anchor {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  background: #f4f4f4;
  padding: 22px 70px;
}

.company-anchor__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-family: "A P-OTF Shuei3+ ProN M", sans-serif;
  font-size: 17px;
  letter-spacing: -1.19px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.company-anchor__item:hover {
  opacity: 0.7;
}

.company-anchor__icon {
  width: 20px;
  height: 20px;
}

.company-section {
  position: relative;
  display: block;
  padding: 100px 0;
  background: transparent;
}

.company-section--ceo {
  padding-bottom: 140px;
}

.company-section__inner {
  width: calc(100% - 144px);
  max-width: 1293px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.company-heading__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-heading__title {
  font-family: "Shippori Mincho", serif;
  font-size: 70px;
  letter-spacing: -0.2px;
}

.company-heading__subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: #000;
}

.company-heading__background {
  font-family: "Cormorant Garamond", serif;
  font-size: 280px;
  color: #f0f0f0;
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
  margin-left: 40px;
}

.company-ceo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* .company-ceo__media - モバイルスタイルは8896行目、PCスタイルはメディアクエリ内 */

.company-ceo__image {
  display: block;
  width: calc(100% + 144px);
  height: 100%;
  margin-left: -72px;
  object-fit: cover;
  object-position: center;
}

.company-ceo__media-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 71px;
  background: #fff;
}

.company-ceo__logo {
  position: absolute;
  bottom: 210px;
  left: clamp(24px, 11%, 148px);
  width: min(32vw, 355px);
  height: auto;
}

.company-ceo__panel {
  max-width: 996px;
  width: calc(100% - 296px);
  margin: -120px auto 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: #fff;
  padding: 60px 80px 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
  border-radius: 0;
}

.company-ceo__catch,
.company-section__catch {
  font-family: "A P-OTF Shuei3+ ProN M", sans-serif;
  font-size: 45px;
  line-height: 1.7;
  letter-spacing: -0.9px;
  color: #000;
}

.company-ceo__lead,
.company-section__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 1.7;
  letter-spacing: 1.25px;
  color: #000;
}

.company-ceo__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #000;
}

.company-ceo__sign {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "A P-OTF Shuei3+ ProN M", sans-serif;
  color: #000;
}

.company-ceo__position {
  font-size: 25px;
}

.company-ceo__name {
  font-size: 45px;
}

.company-section__body {
  padding: 0 70px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.company-section__grainy {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/company/c48d04b796267026a85a6915de54ea5702177fd0.png");
  background-size: 409.6px 409.6px;
  background-repeat: repeat;
  background-position: top left;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.company-section__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 670px;
}

.company-section__image {
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  overflow: hidden;
}

.company-section__image img {
  width: 100%;
  height: auto;
  display: block;
}

.company-section--value .company-section__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 70px;
}

.company-profile {
  position: relative;
  padding: 100px 0 160px;
}

.company-profile__inner {
  position: relative;
  width: calc(100% - 224px);
  max-width: 1070px;
  margin: 0 auto;
  z-index: 1;
}

.company-profile__list {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: #fff;
  border-radius: 10px;
  padding: 33px 0 46px;
}


.company-profile__row dt {
  flex: 0 0 134px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  color: #465059;
  padding-left: 30px;
}

.company-profile__row dd {
  flex: 1;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 27px;
  color: #465059;
  margin: 0;
  padding-left: 30px;
}

.company-cta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 60px;
}

.company-cta__card {
  position: relative;
  height: 370px;
  overflow: hidden;
}

.company-cta__background {
  position: absolute;
  inset: 0;
}

.company-cta__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.company-cta__overlay--dark {
  background: rgba(86, 86, 86, 0.6);
}


.company-cta__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 55px;
}

.company-cta__subtitle {
  font-family: "A P-OTF Shuei3+ ProN M", sans-serif;
  font-size: 25px;
  letter-spacing: -2.25px;
}

.company-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 260px;
  height: 76px;
  padding: 10px;
  border-radius: 1000px;
  background: #000;
  border: 1px solid #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.company-cta__button:hover {
  opacity: 0.8;
}

.company-section__grainy--cta {
  position: absolute;
  inset: 0;
  mix-blend-mode: overlay;
}

@media (max-width: 1200px) {
  .company-header__inner {
    padding: 0 40px;
    height: 96px;
  }

  .company-heading__background {
    font-size: 200px;
  }

  .company-ceo__media {
    height: 440px;
  }

  .company-ceo__image {
    margin-left: -40px;
    width: calc(100% + 80px);
  }

  .company-ceo__logo {
    left: clamp(20px, 10%, 120px);
    width: min(36vw, 320px);
  }

  .company-ceo__panel {
    margin: -90px auto 0;
    width: calc(100% - 120px);
    padding: 40px 40px 0;
  }

  .company-section__body,
  .company-section__inner {
    padding: 0 40px;
    width: 100%;
  }

  .company-section--value .company-section__body {
    flex-direction: column;
  }

  .company-profile__inner {
    width: calc(100% - 80px);
  }

  .company-cta__content {
    padding: 60px;
  }
}

@media (max-width: 768px) {
  .company-hero {
    height: 420px;
  }

  .company-header__inner {
    height: auto;
    padding: 20px 24px;
    gap: 12px;
    flex-direction: column;
  }

  .company-heading__background {
    font-size: 140px;
  }

  .company-header__menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .company-hero__content {
    padding: 120px 40px 80px;
  }

  .company-ceo__media {
    height: 320px;
  }

  .company-ceo__image {
    margin-left: 0;
    width: 100%;
  }

  .company-ceo__logo {
    left: 20px;
    bottom: 180px;
    width: 220px;
  }

  .company-ceo__panel {
    margin: -60px auto 0;
    width: calc(100% - 40px);
    padding: 32px 24px 0;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  }

  .company-anchor {
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
  }

  .company-section__body,
  .company-section__inner {
    padding: 20px;
  }

  .company-ceo__catch,
  .company-section__catch {
    font-size: 32px;
    line-height: 1.5;
  }

  .company-ceo__lead,
  .company-section__lead {
    font-size: 18px;
  }

  .company-profile__row {
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 24px 0;
  }

  .company-profile__row dt,
  .company-profile__row dd {
    padding-left: 0;
  }

  .company-cta {
    grid-template-columns: 1fr;
  }

  .company-cta__content {
    padding: 60px 40px;
  }
}

/* Client Testimonials Page Styles */
.client-testimonials-page {
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
}

/* Hero Section */
.testimonials-hero {
  width: 100%;
  height: 276px;
  overflow: hidden;
  position: relative;
}

.testimonials-hero-image {
  width: 100%;
  height: 100%;
}

.testimonials-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Category Selector */
.testimonials-category-selector {
  padding: 60px 0 40px;
  background-color: #fff;
}

.testimonials-category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.testimonials-category-label {
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: 500;
}

.testimonials-category-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.testimonials-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 76px;
  padding: 10px;
  border-radius: 1000px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonials-tab:hover {
  opacity: 0.8;
}

.testimonials-tab--active {
  background-color: #000;
  border-color: #e9ecef;
  color: #fff;
}

.testimonials-tab--active:hover {
  opacity: 0.8;
}

/* Testimonials Sections */
.testimonials-section {
  padding: 40px 0 80px;
  overflow-x: hidden;
}

.testimonials-section--student {
  background-color: #fff;
  padding-bottom: 120px;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.2;
}

.testimonials-subtitle {
  font-size: 1.25rem;
  color: #6c757d;
  font-weight: 400;
}

/* Testimonials Grid */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  margin: 30px 10px 0;
  gap: 60px; /* カード同士の隙間 */
}

/* 3. 各記事カード (デフォルト: SPレイアウト) */
.testimonial-card {
  display: flex;
  flex-direction: column; /* SPは縦並び */
  gap: 20px;
  width: 100%;
}


.testimonial-image {
    width: 100%;
    aspect-ratio: 548 / 327; /* デザイナー指示の比率を維持 */
    overflow: hidden;
}

.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
/* 0.3秒かけて、ゆっくりズームする設定 */
transition: transform 0.3s ease-in-out;
}

/* ホバー時の挙動：リンクにマウスが乗ったら、中のimgを拡大 */
.testimonial-img:hover{
transform: scale(1.05); /* 1.05倍に拡大（ここでお好みの倍率に調整） */
}



.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.testimonial-company {
  font-family: "Shippori Mincho", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.testimonial-description {
  font-size: 14px;
  line-height: 1.8;
  color: #000;
  margin: 0;
}

.testimonial-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background: #000;
  color: #fff;
  border-radius: 1000px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: opacity 0.3s;
  margin-top: 10px;
  overflow:hidden;
}
.testimonial-btn span {
 display: inline-block;
}

.testimonial-btn:hover {
  opacity: 0.8;
}

/* More Button */
.testimonials-more-btn {
  text-align: center;
  margin-top: 60px;
}

.testimonials-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: #6c757d;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 510px;
  height: 106px;
}

.testimonials-more-link:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
}

/* Responsive Design
@media (max-width: 768px) {
  .testimonials-hero {
    height: 200px;
  }

  .testimonials-category-selector {
    padding: 40px 0 30px;
  }

  .testimonials-category-tabs {
    flex-direction: column;
    align-items: center;
  }

  .testimonials-tab {
    width: 100%;
    max-width: 300px;
    min-width: auto;
  }

  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-section--student {
    padding-bottom: 80px;
  }

  .testimonials-title {
    font-size: 2rem;
  }

  .testimonials-subtitle {
    font-size: 1.125rem;
  }

  .testimonials-header {
    margin-bottom: 40px;
  }

  .testimonial-card {
    flex-direction: column;
    min-height: auto;
  }

  .testimonial-image {
    width: 100%;
    height: 200px;
  }

  .testimonial-content {
    padding: 30px 20px;
  }

  .testimonial-btn {
    width: 100%;
    max-width: 318px;
    height: 60px;
  }

  .testimonials-more-link {
    width: 100%;
    max-width: 318px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .testimonials-hero {
    height: 160px;
  }

  .testimonials-category-container,
  .testimonials-container {
    padding: 0 16px;
  }

  .testimonials-title {
    font-size: 1.75rem;
  }

  .testimonials-subtitle {
    font-size: 1rem;
  }

  .testimonial-content {
    padding: 20px 16px;
  }

  .testimonial-company {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .testimonial-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
}
*/

@media (min-width: 769px) {
    .testimonials-section {
        padding: 80px 0 120px;
    }

    .testimonials-grid {
        gap: 80px;
    }

    /* 指示通り、左に画像、右にテキストの2カラム化 */
    .testimonial-card {
        flex-direction: row; /* 横並び */
        align-items: center; /* 垂直中央 */
        gap: 40px; /* 画像とテキストの間の距離 */
    }

    .testimonial-image {
        flex: 0 0 48%; /* 画像の幅を固定(約半分) */
        max-width: 548px;
    }

    .testimonial-content {
        flex: 1;
        gap: 24px;
        padding: 0;
    }

    .testimonial-company {
        font-size: 26px;
    }

    .testimonial-description {
        font-size: 16px;
    }

    /* ボタンを左寄せにし、指定の幅(360px)にする */
    .testimonial-btn {
        width: 360px;
        height: 76px;
        margin-top: 0;
    }
}

/* ========================================
   NEWS PAGE STYLES
   ======================================== */

/* News Page Layout */
.news-page {
  width: 100%;
  min-height: 100vh;
}

/* News Hero Section */
.news-hero {
  position: relative;
  width: 100%;
  height: 276px;
  overflow: hidden;
}

.news-hero__image {
  width: 100%;
  height: 100%;
}

.news-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-hero__placeholder {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* News Search Section */
.news-search-section {
  background: #fff;
  padding: 50px 0 70px;
}

.news-search {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-search__container {
  max-width: 1142px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

.news-search__title {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-weight: 500;
  font-size: 24.378px;
  line-height: 49.693px;
  color: #000;
  margin: 0;
}
/*ニュースフォーム*/
.news-search__form {
  display: flex;
  gap: 15px;
  background: #eeeeee;
  padding: 24px 18.752px;
  border-radius: 0;
  width: 100%;
}

.news-search__field {
  display: flex;
  flex-direction: column;
  gap: 11.251px;
}

.news-search__field--tag {
  flex: 1;
}

.news-search__field--keyword {
  flex: 0 0 346.913px;
}

.news-search__label {
  display: flex;
  align-items: center;
  gap: 5.626px;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-weight: 500;
  font-size: 18.752px;
  line-height: 49.693px;
  color: #000;
}

.news-search__label-icon {
  width: 21.565px;
  height: 21.565px;
}

.news-search__control {
  position: relative;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  padding: 0 46.88px;
  height: 59.069px;
  border-radius: 0;
}

.news-search__select {
  width: 100%;
  border: none;
  background: transparent;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-weight: 500;
  font-size: 16.877px;
  line-height: 49.693px;
  color: #000;
  appearance: none;
  -webkit-appearance: none;
}

.news-search__select:focus {
  outline: none;
}

.news-search__select-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 15.002px;
  height: 15.002px;
  pointer-events: none;
  background-image: url('assets/1a9e960afda40a9b1a86c583452a5f1aa1830b39.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.news-search__control--input {
  padding: 0 46.88px;
}

.news-search__input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-weight: 500;
  font-size: 16.877px;
  line-height: 49.693px;
  color: #000;
  padding: 0;
}

.news-search__input::placeholder {
  color: #cccccc;
}

.news-search__input:focus {
  outline: none;
}

.news-search__submit {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.news-search__submit img {
  width: 15px;
  height: 15px;
  pointer-events: none;
}

/* News List Section */
.news-list-section {
  position: relative;
  width: 100%;
}

.news-list-background {
  position: relative;
  min-height: 1230px;
  padding-top: 0.115px;
}

.news-list__container {
  max-width: 1144px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.news-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-card {
  border-bottom: 1px solid #a6a6a6;
  padding-bottom: 60px;
}

.news-card:last-child {
  border-bottom: none;
}

.news-card__link {
  display: flex;
  gap: 30px;
  text-decoration: none;
  color: #000;
  align-items: flex-start;
  width: 100%;
}

.news-card__thumb {
  flex: 0 1 295px;
  width: 100%;     /* 100%を基準にする */
  max-width: 295px; /* 最大サイズを制限 */
  height: 193.731px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.news-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #f2f2f2;
  display: block;
}

.news-card__content {
  flex: 1;
  max-width: 819px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.news-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-card__tag {
  background: #000;
  color: white;
  padding: 10px;
  display: inline-block;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.news-card__title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 53px;
  color: #000;
  width: 100%;      /* 幅を100%にする */
  max-width: 603px; /* 最大幅は維持する */
  margin-bottom: 10px; /* 行間を1.4にしたので、下の余白を調整 */
}

.news-card__excerpt {
  margin: 0;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #000;
  width: 100%;
  min-width: 100%;
}

/* News Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 50px;
}

.news-pagination__numbers {
  display: flex;
  gap: 14px;
  align-items: center;
}

.news-pagination__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 1000px;
  border: 1px solid #cbcbcb;
  color: #000;
  text-decoration: none;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 24px;
  line-height: 75.714px;
  transition: background 0.2s ease, color 0.2s ease;
  padding: 14.286px;
  box-sizing: border-box;
}

.news-pagination__number:hover,
.news-pagination__number:focus {
  background: #000;
  color: #fff;
  border-color: #000;
}

.news-pagination__number--current {
  background: #000;
  color: #fff;
  border-color: #000;
}

.news-pagination__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11px;
  height: 23px;
  text-decoration: none;
}

.news-pagination__next img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* News Empty State */
.news-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.news-empty p {
  font-size: 1.1rem;
}

/* News Detail (Single) */
.c-detail {
  position: relative;
  background: #fff;
  min-height: 100vh;
}

.c-detail__wrapper {
  position: relative;
  padding-bottom: 100px;
  overflow: hidden;
}

.c-detail__inner {
  max-width: 996px;
  margin: 0 auto;
  padding: 100px 20px 0;
}

.c-detail__article {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Header Section */
.c-detail__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.c-detail__tag {
  background: #000;
  color: white;
  padding: 10px;
  display: inline-block;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.c-detail__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 53px;
  color: #000;
  margin: 0;
}

.c-detail__excerpt {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 38px;
  color: #000;
  margin: 0;
}

/* Featured Image */
.c-detail__figure {
  margin: 0;
}

.c-detail__figure .c-detail__img {
  width: 100%;
  height: 652px;
  object-fit: cover;
  border: 1px solid #dedede;
  display: block;
}

/* Content Area */
.c-detail__body {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 38px;
  color: #000;
}

/* Typography for content */
.c-detail__body h2 {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 53px;
  color: #000;
  margin: 60px 0 20px;
  max-width: 603px;
}

.c-detail__body h3 {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 53px;
  color: #000;
  margin: 60px 0 20px;
  padding-left: 17px;
  border-left: 3px solid #000;
  display: inline-block;
}

.c-detail__body h4 {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 53px;
  color: #000;
  margin: 60px 0 20px;
}

.c-detail__body h5 {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 53px;
  color: #000;
  margin: 60px 0 0;
}

.c-detail__body p {
  margin: 0 0 38px;
}

/* Content block styles */
.c-detail__body .wp-block-group {
  background: #f5f5f5;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

/* Two column layout */
.c-detail__body .wp-block-columns {
  display: flex;
  gap: 20px;
  align-items: start;
  margin: 20px 0;
}

.c-detail__body .wp-block-column {
  flex: 1;
}

/* Images in content */
.c-detail__body img {
  max-width: 100%;
  height: auto;
  border: 1px solid #dedede;
}

.c-detail__body figure {
  margin: 20px 0;
}

.c-detail__body .wp-block-image img {
  width: 488px;
  height: 319px;
  object-fit: cover;
}

/* Back Button */
.c-detail__back {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.c-detail__btn-back {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 1000px;
  padding: 27px 81px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  display: inline-block;
}

.c-detail__btn-back span {
 display: inline-block;
}

.c-detail__btn-back:hover {
  opacity: 0.8;
}

/* Related News Section */
.c-related {
  position: relative;
  min-height: 777px;
  padding: 100px 0;
  overflow: hidden;
}

/* Slider Container */
.c-related__slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.c-related__track {
  display: flex;
      /* 1440pxで隙間36pxになる比率 */
      gap: 3.15%;
      width: 100%;
      transition: transform 0.3s ease;
      /* タブレット以下で折り返すための準備 */
      flex-wrap: nowrap;
}

/* Card Styles */
.c-related__card {
  /* 1143pxの時357pxになるようにしつつ、画面幅に合わせて縮小させる */
    width: 31.23%;
    /* flex-shrink: 0; を削除して、縮むことを許可する（もしくは 1 にする） */
    min-width: 200px; /* あまりに縮みすぎて崩れるのを防ぐ「防波堤」 */
    flex-shrink: 0;
}

.c-related__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.c-related__img-wrap {
  width: 100%;
  aspect-ratio: 320 / 210;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  margin-bottom: 27px;
}

.c-related__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-related__img-wrap--placeholder {
  background: #f2f2f2;
  width: 100%;    /* 横幅を親いっぱいに広げる */
  height: 100%;   /* 縦幅を親いっぱいに広げる */
  display: block;
}

.c-related__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-related__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.c-related__tag {
  background: #000;
  color: white;
  padding: 10px;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.c-related__card-title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: #000;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.c-related__card-excerpt {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #000;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Navigation Buttons */
.c-related__nav {
  position: absolute;   /* fixedからabsoluteに変更。これでスクロールしません */
  top: 50%;
  transform: translateY(-50%);
  width: 5.5vw;
  height: 5.5vw;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100;
  padding: 0;
}

.c-related__nav:hover {
  opacity: 0.7;
}

.c-related__nav--prev {
  left: -3.75vw;
  z-index: 110;
}

.c-related__nav--next {
  right: 1vw;
  z-index:110;
}

.c-related__nav img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* -----------------------------------------
   PATTERN 1: デスクトップ (3枚表示 / 1440px〜1025px)
   ----------------------------------------- */
@media (min-width: 1025px) {
    .c-related__card {
        /* (コンテナ100% - 隙間2つ分) / 3枚 */
        /* これにより、1440pxの時にカード幅が正確に357pxになり、画面縮小に合わせて縮みます */
        width: calc((100% - (3% * 2)) / 3);
        flex-shrink: 0;
    }
    .c-related__nav {
        display: block; /* PCではボタン表示 */
    }
}

/* -----------------------------------------
   PATTERN 2: タブレット (2枚表示 & ボタン消去 / 769px〜1024px)
   ----------------------------------------- */
   @media (max-width: 1024px) {
       /* スライダーを解除してグリッド状に見せる */
       .c-related__slider {
         margin: 0 20px;
           overflow: visible; /* 下に続くカードが見えるようにする */
       }

       .c-related__track {
           flex-wrap: wrap; /* ここで折り返しを許可 */
           gap: 40px 4%;   /* 縦の隙間 40px / 横の隙間 4% */
       }

       .c-related__card {
           /* 2枚並び: (100% - 隙間4%) / 2 */
           width: 48% !important;
           flex-shrink: 0;
           margin-bottom: 20px; /* 下方向の余白 */
       }

       .c-related__nav {
           display: none !important; /* ボタンは指示通り消去 */
       }

       .c-related__inner {
           margin-left: 30px !important;    /* 画面左端からの距離を30pxに固定 */
           width: calc(100% - 30px);       /* 全幅から左マージン分(30px)を引いたサイズ */
           padding-left: 0;                /* 合計を30pxにするため、内側の余白は0にリセット */
         }
         .c-related__header{
           flex-wrap: nowrap ;
           gap:10px;
         }

   }




/* Mobile Responsive for Related News */
@media (max-width: 768px) {
  .c-related {
      min-height: auto;
      padding: 50px 0;
    }

    /* 1. コンテナ：左右に均等な「隙間」を作り、右寄りを解消 */
    .c-related__inner {
      /* 左の余白をPCの10.2%から、スマホに最適な20pxへ上書き */
      margin-left: 20px !important;
      /* 右側にも20pxの隙間を確保。これで左右対称になります */
      width: calc(100% - 40px);
      padding-right: 0; /* PC版のパディングをリセット */
    }

    .c-related__slider {
      margin: 0;
      overflow: visible; /* 縦並びのカードをすべて表示するため */
    }

    /* 2. カードリスト：画面幅いっぱいに広がるように設定 */
    .c-related__track {
      display: flex;
      flex-direction: column;
      gap: 40px;
      width: 100%;
      max-width: none;
    }

    /* 3. カード単体：固定幅(357px)の制限を解き、画面に合わせて伸縮させる */
    .c-related__card {
      /* 100%にすることで、コンテナの左右20pxの隙間を守りつつ最大まで広がります */
      width: 100% !important;
      max-width: none; /* 固定幅を解除 */
      margin: 0;
      padding:0 10px;
    }

    .c-related__img-wrap {
      aspect-ratio: 320 / 210;
      margin-bottom: 20px;
      width: 100%;
      display: block;
      overflow: hidden;
      position: relative;
    }

    /* 画像そのものも100%でフィットさせる */
    .c-related__img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .c-related__content {
      gap: 8px;
      width: 100%;
    }

    .c-related__tag {
      font-size: 16px;
      line-height: 1;
      padding: 8px;
    }

    .c-related__card-title {
      font-size: 20px;
      line-height: 1.4; /* 過度な広がりを調整 */
      margin-top: 10px;
    }

    .c-related__card-excerpt {
      font-size: 14px;
      line-height: 1.6;
    }

    .c-related__nav {
      display: none; /* スマホではボタン非表示 */
    }

  /* News Detail Page Mobile */
  .c-detail__inner {
    max-width: none;
    padding: 50px 14px 0;
  }

  .c-detail__article {
    gap: 40px;
  }

  .c-detail__header {
    gap: 15px;
  }

  .c-detail__tag {
    font-size: 16px;
    line-height: 1;
    padding: 10px;
  }

  .c-detail__title {
    font-size: 24px;
    line-height: 36px;
    max-width: none;
  }

  .c-detail__excerpt {
    font-size: 14px;
    line-height: 24px;
  }

  .c-detail__figure .c-detail__img {
    height: 180px;
  }

  .c-detail__body {
    padding: 0;
  }

  .c-detail__body h2 {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 15px;
  }

  .c-detail__body h3 {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 12px;
  }

  .c-detail__body h4 {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 10px;
  }

  .c-detail__body h5 {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 8px;
  }

  .c-detail__body p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 16px;
  }

  .c-detail__back {
    margin-top: 40px;
  }

  .c-detail__btn-back {
    font-size: 14px;
    padding: 12px 24px;
  }
}

.news-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.news-single__date {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #666;
}

.news-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-single__tag {
  font-size: 0.85rem;
  color: #111;
  letter-spacing: 0.04em;
}

.news-single__thumbnail {
  margin-bottom: 48px;
}

.news-single__thumbnail-img {
  width: 100%;
  border-radius: 16px;
}

.news-single__content {
  font-size: 1rem;
  line-height: 1.9;
  color: #222;
}

.news-single__content p:not(:last-child) {
  margin-bottom: 1.6em;
}

.news-single__empty {
  text-align: center;
  padding: 40px 0;
  color: #666;
}

.news-single__back {
  margin-top: 64px;
  text-align: center;
}

.news-single__back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
}

.news-single__back-link:hover {
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .news-card__link {
    flex-direction: column;
  }

  .news-card__thumb {
    flex-basis: auto;
    max-width: 100%;
    width: 100%;
    aspect-ratio: unset;
  }

  .news-card__img {
    height: auto;
  }

  .news-card__thumb-placeholder {
    padding-top: 56.25%;
  }

  .news-card__body {
    padding-left: 0;
    justify-content: center;
  }

  .news-card__tags {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .news-search__form {
    padding: 24px;
    gap: 24px;
  }

  .news-search__field {
    flex: 1 1 100%;
  }

  .news-card {
    padding: 32px 0;
  }

  .news-pagination {
    flex-wrap: wrap;
    gap: 12px;
  }

  .news-pagination .page-numbers {
    width: 40px;
    height: 40px;
  }

  .news-single {
    padding: 72px 0 100px;
  }

  .news-single__title {
    font-size: 1.8rem;
  }

  .news-single__thumbnail {
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .news-search-section {
    padding: 20px 0;
  }

  .news-search {
    padding: 0 16px;
  }

  .news-search__form {
      flex-direction: column;
      padding: 20px; /* 余白を少し調整（任意） */
      gap: 20px;     /* 上下の入力欄の隙間 */
    }

  .news-search__field--keyword {
    flex: 1 1 100%; /* 固定の 346.913px を解除 */
    width: 100%;
  }

  .news-search__control {
    padding: 0 20px; /* 左右の余白を少し詰めて入力しやすくする */
  }

  .news-search__label {
    font-size: 0.95rem;
  }

  .news-card__tags {
    gap: 20px;
    justify-content: center;
  }

  .news-card__body {
    padding-left: 0;
  }

  .news-list__container {
    padding: 0 16px;
  }

  .news-list {
    padding: 60px 0 80px;
  }

  .news-pagination .page-numbers {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .news-pagination .page-numbers.prev,
  .news-pagination .page-numbers.next {
    padding: 0 16px;
  }

  .news-single__container {
    padding: 0 16px;
  }

  .news-single__title {
    font-size: 1.6rem;
  }

  .news-single__meta {
    gap: 12px;
  }
}

/* ========================================
   Member Category Styles
======================================== */

/* Member Category Hero */
.member-category-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.member-category-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.member-category-hero-image {
  width: 100%;
  height: 100%;
}

.member-category-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-category-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  z-index: 2;
}

/* Member Category Content */
.member-category-content {
  position: relative;
  padding: 100px 0 0;
  background: #fff;
  min-height: auto;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.member-category-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1230px;
  background-image: url('assets/c48d04b796267026a85a6915de54ea5702177fd0.png');
  background-size: 409.6px 409.6px;
  background-repeat: repeat;
  background-position: top left;
  mix-blend-mode: overlay;
  z-index: 1;
}

.member-category-container {
  position: relative;
  width: 100%; /* ★固定幅を解除 */
  max-width: 1143px; /* ★最大幅を指定 */
  padding: 0 20px; /* ★左右に余白を確保 */
  z-index: 2;
  box-sizing: border-box;
}


/* Member Grid */
.member-category-grid {
  display: grid;
      /* ★固定pxではなく、1fr（等分割）に変更 */
      grid-template-columns: repeat(3, 1fr);
      gap: 50px 36px;
      width: 100%;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 27px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  cursor: default;
  width: 100%;
}

.member-card-image {
  width: 100%;
  aspect-ratio: 357 / 475;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-card-img,
.member-card-image .wp-post-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.member-card-placeholder {
  width: 100%;
  height: 268px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-card-placeholder-text {
  font-size: 0.88rem;
  color: rgba(17, 17, 17, 0.45);
  letter-spacing: 0.12em;
}

.member-card-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.member-card-name {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 53px;
  color: #111;
  white-space: nowrap;
}

.member-card-role {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #626262;
  width: 100%;
}

.member-card-tagline {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #626262;
  width: 100%;
}

.member-category-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(17, 17, 17, 0.55);
}

/* Responsive styles for member category */
@media (max-width: 1440px) {
  .member-category-content {
    padding: 100px 40px 0 100px;
  }

  .member-category-container {
    width: 100%;
    max-width: 1200px;
  }

  .member-category-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 50px 36px;
  }

  .member-card {
    width: 100%;
  }

  .member-card-content {
    width: 100%;
  }

  .member-card-role,
  .member-card-tagline {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .member-category-content {
    padding: 80px 40px 0;
  }

  .member-category-title {
    font-size: 50px;
    line-height: 70px;
  }

  .member-category-subtitle {
    font-size: 20px;
  }

  .member-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }

  .member-card-image {
    aspect-ratio: 1 / 1;
  }

  .member-card-name {
    font-size: 22px;
    line-height: 40px;
  }

  .member-card-role,
  .member-card-tagline {
    font-size: 16px;
    line-height: 26px;
  }
}

@media (max-width: 768px) {
  .member-category-content {
    padding: 60px 20px 0;
    min-height: auto;
  }

  .member-category-header {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    height: auto;
    margin-bottom: 60px;
  }

  .member-category-title {
    font-size: 36px;
    line-height: 50px;
  }

  .member-category-subtitle {
    font-size: 18px;
  }

  .member-category-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .member-card-image {
    height: 280px;
  }

  .member-card-img {
    transform: none;
  }
}

.member-card:hover .member-card-img {
    transform: scale(1.05); /* 軽くズームさせることで「生きてる」感を出す */
}

/* ========================================
   Member Modal Styles
======================================== */

.member-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.member-modal.active {
  opacity: 1;
  visibility: visible;
}

.member-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.member-modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.member-modal-content {
  position: relative;
  width: 90vw;
  max-width: 1400px;
  height: 90vh;
  max-height: 900px;
  background: #ffffff;
  border-radius: 0;
  overflow: visible;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.member-modal.active .member-modal-content {
  transform: scale(1);
}

.member-modal-close {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.member-modal-close-img {
  display: block;
  width: 100%;
  height: auto;
}

.member-modal-close:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.6);
  outline-offset: 4px;
}

.member-modal-layout {
  position: relative;
  width: 100%;
  height: 100%;
}

.member-modal-content {
  position: relative;
}

.member-modal-image {
  position: absolute;
  left: 10%;
  top: 15%;
  width: auto;
  height: 80%;
  aspect-ratio: 357 / 457;
}

.member-modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.member-modal-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-modal-placeholder-text {
  color: #9e9e9e;
  font-size: 1rem;
}

.member-modal-info {
  position: absolute;
  left: 60%;
  top: 30%;
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.member-modal-name-en {
  position: absolute;
  top: 8px;
  left: 8px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 178px;
  line-height: normal;
  color: #000000;
  text-align: left;
  white-space: nowrap;
  z-index: 1;
}

.member-modal-header {
  margin: 0;
}

.member-modal-name {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 68.792px;
  letter-spacing: 5px;
  color: #000;
  white-space: nowrap;
}

.member-modal-content-section {
  border-bottom: 0.893px solid #a6a6a6;
  padding: 44.67px 0;
  height: 252px;
  display: flex;
  flex-direction: column;
}

.member-modal-role {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 68.792px;
  letter-spacing: -0.48px;
  color: #000;
  white-space: nowrap;
}

.member-modal-tagline {
  margin: 0;
}

.member-modal-tagline p {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: #000;
  width: 100%;
}

.member-modal-content-text {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(17, 17, 17, 0.85);
}

.member-modal-content-text p {
  margin: 0 0 16px;
}

.member-modal-content-text p:last-child {
  margin-bottom: 0;
}

.member-modal-social {
  margin: 0;
  padding: 24.67px 0 0 0;
  border-top: 0.893px solid #a6a6a6;
}

.member-modal-social-list {
  display: flex;
  gap: 25.015px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.member-modal-social-item {
  display: inline-flex;
}

.member-modal-social-link {
  display: inline-flex;
  width: 56.284px;
  height: 56.284px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.member-modal-social-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-modal-social-link:hover,
.member-modal-social-link:focus {
  border-color: rgba(17, 17, 17, 0.4);
  transform: translateY(-2px);
}

.member-modal-social-icon {
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
}

/* Modal Open Body State */
body.modal-open {
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
  .member-category-hero {
    height: 300px;
  }

  .member-category-content {
    padding: 80px 0;
  }

  .member-category-container {
    padding: 0 24px;
  }

  .member-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .member-category-title {
    font-size: 32px;
  }

  .member-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .member-modal-container {
    padding: 10px;
  }

  .member-modal-content {
    max-height: 95vh;
    max-width: 90vw;
    overflow: visible;
  }

  .member-modal-close {
    top: -28px;
    right: -28px;
    width: 56px;
    height: 56px;
  }

  .member-modal-layout {
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: 100%;
    overflow: visible;
    position: relative;
  }

  .member-modal-name-en {
    position: absolute;
    left: 0;
    top: 30px;
    font-size: 42px;
    margin: 0;
    z-index: 2;
  }


  .member-modal-image {
    position: static;
    width: 80%;
    height: 50%;
    margin: 40px auto 20px;
    left: auto;
    top: auto;
  }

  .member-modal-info {
    position: static;
    width: 100%;
    left: auto;
    top: auto;
    padding: 0;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
  }

  .member-modal-name {
    font-size: 24px;
    line-height: 44.6px;
    letter-spacing: -0.48px;
  }

  .member-modal-content-section {
    height: auto;
    padding: 0 0 20px;
    border-bottom: 0.845px solid #a6a6a6;
  }

  .member-modal-role {
    font-size: 16px;
    line-height: 50.681px;
    letter-spacing: -0.32px;
  }

  .member-modal-tagline p {
    font-size: 11px;
    line-height: 22.6px;
  }

  .member-modal-content-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .member-modal-img,
  .member-modal-image .wp-post-image {
    width: 100%;
    height: auto;
  }

  .member-modal-social {
    padding-top: 20px;
  }

  .member-modal-social-list {
    gap: 15px;
  }

  .member-modal-social-link {
    width: 40px;
    height: 40px;
  }
}


/* Mobile-specific styles for member page */
@media (max-width: 480px) {
  .member-category-hero {
    height: 200px;
  }

  .member-category-content {
    padding: 64px 0;
  }

  .member-category-container {
    padding: 0 20px;
  }

  .member-category-header {
    margin-bottom: 40px;
  }

  .member-category-title {
    font-size: 28px;
  }

  .member-category-subtitle {
    font-size: 12px;
  }

  /* Mobile 2-column grid layout */
  .member-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .member-card-content {
    gap: 6px;
  }

  .member-card-name {
    font-size: 18px;
    line-height: 1.3;
  }

  .member-card-role {
    font-size: 12px;
    line-height: 1.4;
  }

  .member-card-tagline {
    font-size: 12px;
    line-height: 1.5;
  }

  /* Mobile modal styles */
  .member-modal-container {
    padding: 15px;
  }

  .member-modal-content {
    max-width: 100%;
    max-height: 95vh;
    overflow: visible;
  }

  .member-modal-close {
    top: -28px;
    right: -28px;
    width: 56px;
    height: 56px;
  }

  .member-modal-image {
    width: 80%;
    height: 50%;
    margin: 40px auto 20px;
  }

  .member-modal-info {
    padding: 0;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
  }

  .member-modal-name-en {
    position: absolute;
    left: 0;
    top: 30px;
    font-size: 42px;
    margin: 0;
    z-index: 2;
  }

  .member-modal-name {
    font-size: 22px;
  }

  .member-modal-role {
    font-size: 12px;
  }

  .member-modal-tagline {
    margin-bottom: 18px;
  }

  .member-modal-tagline p {
    font-size: 12px;
    line-height: 1.6;
  }

  .member-modal-content-text {
    font-size: 12px;
    line-height: 1.7;
  }

  .member-modal-content-text p {
    margin-bottom: 12px;
  }

  .member-modal-social {
    margin-top: 24px;
    padding-top: 16px;
  }
}


/* ========================================
   COMPANY PAGE (Overrides)
   ======================================== */
.company-page .company-section {
  padding: 100px 0 30px;
  background: transparent;
}

.company-page .company-section__inner {
  width: 100%;
  margin: 20px auto 0;
}

.company-page .company-breadcrumb__inner {
  padding: 0;
}

.company-page .company-section--ceo {
  background: transparent;
  color: inherit;
  padding-bottom: 80px;
}

.company-page .company-section__media {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.company-page .company-section__media-image {
  border-radius: 0;
}

.company-page .company-section__inner--message {
  margin-top: -120px;
  display: flex;
  justify-content: center;
}

.company-page .company-message {
  border-radius: 0;
  box-shadow: none;
}

.company-page .company-heading,
.service-section__header,
.record-page-header,
.c-related__header,
.member-category-header {
  display: flex;
    flex-direction: row;     /* 横一行に並べる（rowは行） */
    align-items: center;     /* タイトルとサブタイトルの上下中心を揃える */
    gap: 15px;               /* 文字と文字の間の隙間 */
    margin-bottom: 20px;
    padding: 0;
}

.company-page .company-heading--statement {
  justify-content: flex-start;
  align-items: flex-end;
  gap: 24px;
}

.company-page .company-heading--statement .company-heading__title,
.company-page .company-heading--statement .company-heading__subtitle {
  margin: 0;
  border: none;
}

.company-page .company-heading--statement .company-heading__title {
  font-size: 70px;
  line-height: 1;
  color: #000;
}

.company-page .company-heading--statement .company-heading__subtitle {
  font-size: 24px;
  line-height: 1;
  color: #000;
  letter-spacing: 0.12em;
}

.company-page .company-heading__title {
  color: #111;
}

.company-page .company-heading--statement .company-heading__background {
  top: -130px;
}

.company-page .company-cta {
  display: block;
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.company-page .company-cta__panels {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


.company-page .company-cta__panel {
  color: #fff;
  text-decoration: none;
}

.company-page .company-cta__button {
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .company-page .company-heading--statement {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .company-page .company-heading--statement .company-heading__title {
    font-size: 52px;
  }

  .company-page .company-heading--statement .company-heading__subtitle {
    font-size: 20px;
  }

  .company-page .company-heading--statement .company-heading__background {
    top: -80px;
    font-size: 200px;
  }
}

@media (max-width: 768px) {
  .company-page .company-heading--statement {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .company-page .company-heading--statement .company-heading__title {
    font-size: 42px;
  }

  .company-page .company-heading--statement .company-heading__subtitle {
    font-size: 18px;
  }

  .company-page .company-heading--statement .company-heading__background {
    top: -60px;
    font-size: 140px;
  }
}

@media (max-width: 480px) {
  .company-page .company-heading--statement {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .company-page .company-heading--statement .company-heading__title {
    font-size: 34px;
  }

  .company-page .company-heading--statement .company-heading__subtitle {
    font-size: 16px;
  }

  .company-page .company-heading--statement .company-heading__background {
    top: -40px;
    font-size: 100px;
  }
}

/* ========================================
   Company Page
   ======================================== */

.company-page {
  background-color: #fff;
}

/* Navigation */
.company-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  height: 70px;
  background-color: #f4f4f4;
}

.company-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  font-family: 'A P-OTF Shuei3+ ProN', serif;
  font-weight: 550;
  font-size: 17px;
  letter-spacing: 2px;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.company-nav__item:hover span{
display: inline-block;
}

.company-nav__item:hover {
  opacity: 0.8;
}


.company-nav__bullet {
  font-size: 20px;
  line-height: 20px;
}

.company-nav__text {
  line-height: 20px;
}

.company-nav__arrow {
  width: 20px;
  height: 20px;
}

/* Sections */
.company-section {
  position: relative;
  padding: 100px 0;
  background-image: url('assets/common/grainy-texture.png');
  background-repeat: repeat;
  background-size: 409.6px 409.6px;
  background-blend-mode: overlay;
  overflow: hidden;
}

.company-section__inner,
.c-related__inner {
  position: relative;
  width: calc(100% - 10.2%);
  margin-left: 10.2%; /* 147px/1440 */
  margin-right: 0;
}

.c-related__inner{
  padding-right:5.2vw;
}



.company-section__inner--message {
  width: 69.2%; /* 996px/1440 */
  max-width: 996px;
}

/* Headings */
.company-heading,
.c-related__header,
.member-category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.company-heading::after,
.service-section__header::after,
.record-page-header::after,
.c-related__header::after,
.member-category-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: -100vw;
  height: 1px;
  background: #000;
}


/* 会社情報セクションのみの設定 */
.company-section--profile .company-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}

/* PC版では背景テキストのみ非表示（サブタイトルは表示） */
.company-statement__background--profile {
  display: none;
}

/* 会社情報セクションの見出しをミッション・ビジョン・バリューと同じレイアウトに */
.company-section--profile .company-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 20px;
  margin-bottom: 0;
}

.company-section--profile .company-heading__subtitle {
  position: relative;
  z-index: 2;
}

.company-heading__title,
.service-section__title,
.record-page-header__title,
.member-category-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 94px;
  letter-spacing: -4.2px;
  margin: 0;
}

.company-heading__subtitle,
.service-section__subtitle,
.record-page-header__subtitle,
.member-category-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}

.company-heading--statement .company-heading__title {
  font-size: 70px;
  letter-spacing: -14px;
}

.company-heading__background {
  position: absolute;
  top: -100px;
  right: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 280px;
  color: #f0f0f0;
  z-index: -1;
}

/* CEO Section */
.company-section--ceo {
  padding-top: 40px;
  padding-bottom: 0;
}

.company-section--ceo .company-section__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.company-ceo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.company-ceo__media {
  position: relative;
  width: 100vw;
  height: 200px;
  margin-left: calc(-50vw + 50%);
}

.company-ceo__image {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-color: #efeae7;
  overflow: hidden;
}

.company-ceo__image img {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;  /* 横幅いっぱい */
    height: 100%; /* 縦幅いっぱい（200px） */
    object-position: calc(50% - 20px) 15%;
    object-fit: cover;
  transform: scale(1.1);
  /* ズームの中心を「上（頭の方）」に設定 */
  transform-origin: top;
}

.company-ceo__logo {
  display: none;
}

.company-ceo__logo img {
  width: 100%;
  height: auto;
}

.company-ceo__content {
  position: relative;
  width: 84.8%; /* 318px/375 */
  max-width: 318px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 0;
  padding-top: 0;
  background-color: transparent;
}

.company-ceo__lead {
  font-family: 'Shippori Mincho', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 44.6px;
  letter-spacing: -0.48px;
  margin: 0;
}

.company-ceo__body {
  display: flex;
  flex-direction: column;
  gap: 18.67px;
}

.company-ceo__body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0;
  margin: 0;
}

.company-ceo__signature {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* CEO Section PC */
@media (min-width: 769px) {
  .company-section--ceo {
    padding-top: 100px;
  }

  .company-section--ceo .company-section__inner {
    gap: 40px;
  }

  .company-ceo {
    gap: 80px;
    margin-top: 80px;
  }

  .company-ceo__media {
    /* 画面の端から端まで広げるための最も安定した設定 */
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        height: 500px;
        position: relative;
        overflow: hidden;
        background-color: #EFEAE7;
  }

  .company-ceo__image{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
    }

    .company-ceo__image img {
      position: absolute;
          /* ★重要：高さを枠の70%に指定。これで人物が小さくなります */
          height: 170%;
          width: auto;   /* 横幅は比率を維持 */

          /* 配置：上から15%の位置（上下に15%ずつ余白ができる計算） */
          top: -18%;
          /* 配置：右から10%の位置（ロゴとの距離をしっかり空ける） */
          right: -5%;
          left: auto;    /* SP版の左寄せをリセット */

          object-fit: contain;
          transform: none; /* 余計な拡大縮小をリセット */
    }

  .company-ceo__logo {
    display: block;
        position: absolute;
        z-index: 10;
        left: 10%;     /* 左の位置は維持 */
        top: 50%;      /* 上から50%の位置へ */
        bottom: auto;  /* 前回のbottom設定をリセット */
        transform: translateY(-50%); /* 自分の高さ半分分だけ上にズレを直してピッタリ中央に */

        width: 22%;    /* 少しだけサイズ調整 */
        max-width: 320px;
        height: auto;
  }

  .company-ceo__content {
    z-index: 1;
    width: 90vw;
    max-width: none;
    margin-left: calc(50% - 45vw);
    margin-right: calc(50% - 45vw);
    gap: 70px;
    margin-top: -130px;
    padding: 50px 160px;
    background-color: #fff;
  }

  .company-ceo__lead {
    font-size: 45px;
    line-height: 77px;
    letter-spacing: -0.9px;
  }

  .company-ceo__body {
    gap: 21.6px;
  }

  .company-ceo__body p {
    font-size: 25px;
    line-height: 42px;
    letter-spacing: 1.25px;
  }

  .company-ceo__signature {
    gap: 5px;
  }
}

.company-ceo__position {
  font-family: 'Shippori Mincho', serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 0;
}

.company-ceo__name {
  font-family: 'Shippori Mincho', serif;
  font-size: 45px;
  font-weight: 400;
  letter-spacing: -0.9px;
  margin: 0;
}

/* Statement Sections */
.company-section--statement {
  padding: 100px 0;
  position: relative;
}

.company-section--statement .company-section__inner {
  position: relative;
  width: calc(100% - 144px);
  max-width: 1293px;
  margin: 0 auto;
  padding-right: 0;
}

.company-statement__background {
  position: fixed;
  right: -10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 280px;
  line-height: 1;
  color: #f0f0f0;
  z-index: 0;
  white-space: nowrap;
  pointer-events: none;
}

.company-section--statement .company-heading,
.company-section--value .company-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
}

.company-section--statement .company-heading .company-heading__subtitle,
.company-section--value .company-heading .company-heading__subtitle {
  position: relative;
  z-index: 2;
}

.company-section--statement .company-heading .company-statement__background,
.company-section--value .company-heading .company-statement__background {
  position: absolute;
  bottom: -47px;
  z-index: 1;
}

.company-statement {
  padding: 30px 0 0 71px;
}

.company-statement__catch {
  font-family: 'Shippori Mincho', serif;
  font-size: 45px;
  font-weight: 400;
  line-height: 77px;
  letter-spacing: -0.9px;
  margin: 0;
}

/* Values Section */
.company-section--value {
  padding: 100px 0 50px;
  position: relative;
}

.company-section--value .company-section__inner {
  position: relative;
  width: calc(100% - 144px); /* 1293px / 1440px */
  max-width: 1293px;
  margin: 0 auto;
  padding-right: 0;
}

/* バリューセクションの背景テキストは .company-statement__background で統一 */

.company-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 80px 75px 0;
}

.company-value__title {
  font-family: 'Shippori Mincho', serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.7px;
  margin: 0 0 10px;
}

.company-value__description {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 27px;
  letter-spacing: 0.7px;
  margin: 0;
}

.company-value-image {
  margin-top: 80px;
  padding: 0 75px;
}

.company-value-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #d1d1d1;
}

/* Profile Section */
.company-section--profile {
  background: none;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}



.company-section--profile .company-section__inner {
  position: relative;
  width: calc(100% - 144px); /* 1293px / 1440px */
  max-width: 1293px;
  margin: 0 auto;
  padding-right: 0;        /* 見出しと表の間の余白を統一 */
}


.company-section--profile .company-heading__title {
  font-family: 'Shippori Mincho', serif;
  font-size: 70px;
  font-weight: 400;
  line-height: 94px;
  letter-spacing: 0;
}

.company-profile {
  background-color: #fff;
  padding: 33px 0 46px;
  margin: 0 0 0 32px;
  width: 85%;
  max-width: 1293px;
}

.company-profile__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.company-profile__row dt {
  width: 134px;
  flex-shrink: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #465059;
  border-bottom: 1px solid #465059;
  padding: 20px 0 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.company-profile__row:first-child dt {
  padding-top: 0;
}

.company-profile__row dd {
  flex: 1;
  padding: 20px 50px 40px 30px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #465059;
  margin: 0;
  border-bottom: 1px solid #d8d8d8;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.company-profile__row:first-child dd {
  padding-top: 0;
}

/* CTA Section */
.company-cta {
  width: 100%;       /* 全幅の魔法 calc は一旦外して、まずは枠内に収めます */
  overflow: hidden;
  background-color: #fff;
}

.company-cta__panels {
  display: flex;
    flex-direction: column; /* パネル自体は上下に2枚並べる */
    width: 100%;
}

.company-cta__panel {
  position: relative;
    height: 240px;      /* スマホで見やすい高さに固定 */
    text-decoration: none;
    display: flex;
    align-items: center;
}

.company-cta__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.company-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-cta__overlay {
  position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* 30%の黒 */
    z-index: 1;
}

.company-cta__overlay--dark {
  background-color: rgba(86, 86, 86, 0.6);
}

.company-cta .company-cta__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 15px;
  display: flex;
  /* ★修正点2：明示的に row (横) を指定して上書きを防ぐ */
  flex-direction: row !important; /* ※本来不要ですが、確実に勝つため一時的に使用。もし外せるなら外してください */
  /* もし !important を使いたくない場合は、!importantを消して
     body .company-cta .company-cta__content のようにセレクタを長くしてください */
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.company-cta__text {
  display: flex;
  flex-direction: column; /* EyebrowとTitleを縦に並べる */
  gap: 6px;
  color: #fff;
  text-align: left;
}

.company-cta__eyebrow {
  font-family: "Cormorant Garamond", serif;
    font-size: 32px;    /* 画像に合わせて大きく */
    font-weight: 600;
    line-height: 1.1;
}

.company-cta__title {
  font-family: "Shippori Mincho", serif;
    font-size: 15px;    /* 日本語は少し控えめに */
    font-weight: 400;
}

.company-cta__button {
  flex-shrink: 0;     /* 画面が狭くなっても絶対に「ボタン」の形を潰さない */
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;       /* スマホでハミ出ない適切なサイズ */
    height: 44px;
    background-color: #000;
    border: 1px solid #fff;
    border-radius: 1000px;

    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .company-nav {
    gap: 40px;
  }

  .company-section__inner {
    width: calc(100% - 80px);
  }

  .company-heading__title {
    font-size: 50px;
  }

  .company-ceo__media {
    margin: 0 -40px;
    width: calc(100% + 80px);
  }

  .company-ceo__content {
    width: calc(100% - 80px);
  }

  .company-values {
    gap: 50px;
    padding: 60px 40px 0;
  }

  .company-cta__panels {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .company-nav {
    flex-wrap: wrap;
    height: auto;
    padding: 20px 40px;
    gap: 15px 27px;
  }

  .company-nav__item {
    font-size: 14px;
  }

  .company-section {
    padding: 60px 0;
  }

  .company-section__inner {
    width: calc(100% - 48px);
  }

  .company-heading {
    flex-direction: row;
    align-items: center;
    gap: 13px;
  }

  .company-heading__title,
  .c-related__title,
  .service-section__title,
  .record-page-header__title,
  .member-category-title {
    font-size: 27px;
    line-height: 40px;
    letter-spacing: -1.89px;
    z-index:5;
  }

  .company-heading__subtitle,
  .c-related__subtitle,
  .service-section__subtitle,
  .record-page-header__subtitle,
  .member-category-subtitle {
    font-size: 11px;
  }

  .company-heading__background {
    font-size: 120px;
    top: -60px;
  }

  /* Statement/Value セクション モバイル */
  .company-section--statement,
  .company-section--value {
    padding: 40px 0 60px;
  }

  .company-section--statement .company-section__inner,
  .company-section--value .company-section__inner,
  .company-section--profile .company-section__inner,
  .c-related__inner{
    width: calc(100% - 18px);
    margin: 0 auto;
    gap: 0;
  }

  .company-page .company-section {
    padding: 0;
  }

  .company-section--statement:first-of-type {
    margin-top: 60px;
  }

  .company-section--statement .company-heading,
  .company-section--value .company-heading {
    margin-bottom: 16px;
  }

  .company-section--statement .company-statement,
  .company-section--value .company-statement {
    margin-top: 16px;
  }

  .company-section--statement .company-heading,
  .company-section--value .company-heading {
    flex-direction: row;
    align-items: center;
    gap: 13px;
  }

  .company-section--statement .company-heading .company-statement__background,
  .company-section--value .company-heading .company-statement__background {
    font-size: 74px;
    right: -6px;
    top: auto;
    bottom: -10px;
    letter-spacing: -2.22px;
  }

  .company-statement {
    padding: 10px;
  }

  .company-statement__catch {
    font-size: 24px;
    line-height: 44.6px;
    letter-spacing: -0.48px;
  }

  .company-ceo__media {
    margin: 0 -24px;
    width: calc(100% + 48px);
    height: 200px;
  }

  .company-ceo__logo {
    bottom: 150px;
    width: 200px;
    height: 30px;
  }

  .company-ceo__content {
    width: calc(100% - 48px);
  }

  .company-ceo__lead {
    font-size: 24px;
    line-height: 1.4;
  }

  .company-ceo__body p {
    font-size: 16px;
    line-height: 1.8;
  }

  .company-ceo__position {
    font-size: 18px;
  }

  .company-ceo__name {
    font-size: 32px;
  }

  .company-ceo {
    margin-bottom: 60px;
  }

  .company-value-image {
    width: 90vw;
    margin: 20px auto 0;
    padding: 0;
  }

  .company-values {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 20px 0 10px;
  }

  .company-value__title {
    font-size: 24px;
  }

  /* 会社情報セクション - モバイル版見出し */
  .company-section--profile .company-heading {
    position: relative;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    padding-bottom: 8px;
    margin-bottom: 40px;
  }

  .company-section--profile .company-heading__title {
    font-size: 27px;
    line-height: 40px;
    letter-spacing: -1.89px;
  }

  /* モバイル版ではサブタイトルと背景テキストを表示 */
  .company-section--profile .company-heading__subtitle {
    display: block;
    font-size: 11px;
  }

  .company-statement__background--profile {
    display: block;
    position: absolute;
    right: -6px;
    bottom: -10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 74px;
    color: #f0f0f0;
    letter-spacing: -2.22px;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
  }

  /* 会社情報テーブル - モバイル版 */
  .company-profile {
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 18px;
  }

  .company-profile__row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
  }

  .company-profile__row dt {
    width: 42%;
    flex-shrink: 0;
    font-size: 14px;
    line-height: 27px;
    border-bottom: 1px solid #465059;
    padding: 20px 0 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
  }

  .company-profile__row dd {
    flex: 1;
    font-size: 14px;
    line-height: 27px;
    padding: 20px 20px 40px 23px;
    border-bottom: 1px solid #d8d8d8;
    box-sizing: border-box;
    min-height: 100%;
  }

  .company-profile__row:first-child dt,
  .company-profile__row:first-child dd {
    padding-top: 20px;
  }

  .company-cta__panel {
    padding: 60px 24px;
  }

  /* 1. コンテンツ全体の調整 */
    .company-cta .company-cta__content {
      box-sizing: border-box; /* パディングを横幅に含める（はみ出し防止の鉄則） */
      padding: 0 5px;        /* 左右余白を少し詰め、スペースを確保 */
      gap: 20px;              /* 文字とボタンの隙間を最小限に */
      overflow: hidden;       /* 念のための中身溢れ防止 */
    }

    /* 2. 文字エリアの調整（ここで横幅を制御） */
    .company-cta .company-cta__text {
      flex: 0 1 auto;                /* 余ったスペースを文字が使い、ボタンを右端に固定 */
      min-width: 0;           /* Flexboxで文字が突き抜けるのを防ぐ魔法の1行 */
    }

    /* 3. フォントサイズの再定義（横並びに適したサイズへ） */
    .company-cta .company-cta__eyebrow {
      font-size: 32px !important; /* 40pxは大きすぎるので、24〜28px程度が限界です */
      line-height: 1;
      word-break: break-all;      /* 万が一の単語溢れを防止 */
    }

    .company-cta .company-cta__title {
      font-size: 14px !important; /* 日本語も少し小さくして1行に収める */
      white-space: nowrap;        /* 「社員紹介」が改行されないように */
      overflow: hidden;
      text-overflow: ellipsis;    /* もし長すぎたら「...」にする（保険） */
    }

    /* 4. ボタンのサイズ調整 */
    .company-cta .company-cta__button {
      width: auto;          /* 幅固定を解除（重要！） */
        height: auto;         /* 高さ固定も解除（必要に応じて） */
        padding: 12px 16px;    /* 上下 左右 の余白をここで自由に調整 */
        min-width: 120px;        /* ボタンが潰れるのを絶対に防ぐ */
    }
}

/* ========================================
   RECORD PAGE
   ======================================== */

.record-page {
  color: #111;
  background-color: #fff;
}

.record-section {
  padding: 120px 0;
}

  .record-section--statistics .record-section__inner::before {
    content: "数字やデータで振り返ることで、会社の実績や成長の歩み、\Aこれからの挑戦をわかりやすくお伝えします";
    display: block;
    white-space: pre-wrap;
    text-align: center;
    width: 80%;
    margin: 20px auto 36px;
    padding: 40px 28px;
    font-family: "Noto Sans CJK JP", sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #000;
    box-sizing: border-box;
  }


.record-heading {
  margin-bottom: 56px;
}

.record-heading__title {
  margin: 0 0 8px;
  font-family: "Shippori Mincho", serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.record-heading__subtitle {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8f8f8f;
}

.record-section--statistics {
  background-color: #fff;
  padding:0;
}


.record-statistics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1143px;
  margin: 0 auto;
}

.record-statistic {
  display: flex;
  flex-direction: column;
  gap: 27px;
  width: 100%;
}

.record-statistic__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
}

.record-statistic__header {
  border: 1px solid #000;
  padding: 0 2px;
  text-align: center;
  width: fit-content;
}

.record-statistic__label {
  font-family: "Shippori Mincho", serif;
  font-size: 26px;
  font-weight: 600;
  color: #000;
}

.record-statistic__number {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0;
  border-bottom: 7px solid #000;
  padding-bottom: 23px;
}

.record-statistic__large {
  font-family: "Shippori Mincho", serif;
  font-size: 146px;
  font-weight: 600;
  color: #000;
  line-height: 53px;
  letter-spacing: -5.84px;
}

.record-statistic__unit {
  font-family: "Shippori Mincho", serif;
  font-size: 66px;
  font-weight: 600;
  color: #000;
  line-height: 53px;
}

.record-statistic__suffix {
  font-family: "Shippori Mincho", serif;
  font-size: 26px;
  font-weight: 600;
  color: #000;
  line-height: 53px;
}

.record-statistic__image {
  width: 357px;
  height: 357px;
  overflow: hidden;
}

.record-statistic__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.record-statistic__logos {
  width: 357px;
  height: 357px;
  border: 1px solid #d9d9d9;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 30px;
  box-sizing: border-box;
}

.record-statistic__logo-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.record-statistic__logo {
  width: 88px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.record-statistic__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.record-section--user-info {
  background-color: #fff;
  padding: 100px 0;
}

.record-user-description {
  max-width: 1367px;
  margin: 0 auto 50px;
  padding:0 10px;
  text-align: left;
}

.record-user-description p {
  margin: 0;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #000;
}

.record-user-charts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
  margin: 0 auto 50px;
  padding: 0;
}

.record-user-chart {
  display: flex;
  flex-direction: column;
  gap: 47px;
  width: 100%;
}

.record-user-chart:first-child {
  gap: 47px;
}

.record-user-chart:last-child {
  gap: 60px;
}

.record-user-chart__header {
  border: 1px solid #000;
  padding: 10px;
  text-align: center;
}

.record-user-chart__label {
  font-family: "Shippori Mincho", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: #000;
}

.record-user-chart__content {
  width: 100%;
  text-align: center;
}

.record-user-chart__content img {
  max-width: 100%;
  height: auto;
}

.record-career-description {
  max-width: 1367px;
  margin: 0 auto 50px;
  padding:0 10px;
  text-align: left;
}

.record-career-description p {
  margin: 0;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #000;
}

.record-career-charts {
  display: flex;
  flex-direction: column;
  gap: 58px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.record-career-charts__image {
  display: block;
  width: 100%;
  height: auto;
}

.record-career-charts__pc {
  display: block;
}

.record-career-charts__sp {
  display: none;
}

@media (max-width: 767px) {
  .record-career-charts__pc {
    display: none;
  }

  .record-career-charts__sp {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
}

.record-career-chart {
  display: flex;
  gap: 40px;
  align-items: center;
}

.record-career-chart__label {
  border: 1px solid #000;
  width: 127px;
  height: 127px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

.record-career-chart__bracket {
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  font-weight: 600;
  color: #000;
  line-height: 8px;
}

.record-career-chart__title {
  font-family: "Shippori Mincho", serif;
  font-size: 26px;
  font-weight: 600;
  color: #000;
  line-height: 8px;
}

.record-career-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 0;
  height: 127px;
  width: 976px;
}

.record-career-bar {
  position: relative;
  width: 127px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.record-career-bar__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 6px;
  white-space: nowrap;
}

.record-career-bar__category {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-weight: bold;
  font-size: 12px;
  line-height: 1.2;
}

.record-career-bar__percentage {
  font-family: "Gotham", "Oswald", sans-serif;
  font-weight: bold;
  font-size: 28px;
  line-height: 1;
}

.record-career-bar__percent {
  font-size: 18px;
}

/* Specific sizing for smaller bars */
.record-career-bar[style*="height: 81px"] .record-career-bar__category,
.record-career-bar[style*="height: 57px"] .record-career-bar__category,
.record-career-bar[style*="height: 39px"] .record-career-bar__category,
.record-career-bar[style*="height: 40px"] .record-career-bar__category {
  font-size: 7px;
  line-height: 12px;
}

.record-career-bar[style*="height: 81px"] .record-career-bar__percentage,
.record-career-bar[style*="height: 57px"] .record-career-bar__percentage,
.record-career-bar[style*="height: 39px"] .record-career-bar__percentage,
.record-career-bar[style*="height: 40px"] .record-career-bar__percentage {
  font-size: 17px;
  line-height: 10px;
}

.record-career-bar[style*="height: 81px"] .record-career-bar__percent,
.record-career-bar[style*="height: 57px"] .record-career-bar__percent,
.record-career-bar[style*="height: 39px"] .record-career-bar__percent,
.record-career-bar[style*="height: 40px"] .record-career-bar__percent {
  font-size: 11px;
}

.record-section--clients {
  width: 100%;
  overflow: hidden;
  padding: 100px 0;
  box-sizing: border-box;
}

.record-section--clients .record-section__inner {
    width: 100%;
    max-width: 1293px;
    margin: 0 auto;
    padding: 0 15px; /* 画面端にロゴがくっつかないための余白 */
    box-sizing: border-box;
}

.record-clients {
  max-width: 1414px;
  margin: 0 auto;
  padding: 0 30px;
}

.record-clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PCは常に5列を均等に */
  justify-items: center; /* ロゴを左右中央に */
  align-items: center;    /* ロゴを上下中央に */
  gap: 20px 10px;         /* 縦の隙間 40px / 横の隙間 20px */
  width: 100%;
  margin: 0 auto;
}

.record-client {
  width: 100%;
  aspect-ratio: 16 / 9; /* 横長比率を維持。幅が縮まれば高さも自動で縮む */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.record-client:nth-child(2n) {
  max-width: 180px;
}

.record-client img {
  max-width: 90%;  /* 枠に対して少し小さめに配置して余白を作る */
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.record-section--user-voice {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.record-user-voice-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.record-user-voice-bg__overlay {
  position: absolute;
  inset: 0;
  background-color: #b3b3b3;
  z-index: 2;
}

.record-user-voice-bg__image {
  position: absolute;
  inset: 0;
  z-index: 3;
  mix-blend-mode: multiply;
  overflow: hidden;
}

.record-user-voice-bg__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.record-user-voice-content {
  position: relative;
  z-index: 4;
  padding: 90px 100px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.record-user-voice-header {
  display: flex;
  align-items: center;
  gap: 430px;
  width: 100%;
  max-width: 1200px;
}

.record-user-voice-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.record-user-voice-title__label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.96px;
  color: #f8f9fd;
  line-height: 64px;
  margin-bottom: -13px;
}

.record-user-voice-title__main {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 70px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #f8f9fd;
  line-height: 1;
}

.record-user-voice-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 76px;
  background-color: #000;
  border: 1px solid #fff;
  border-radius: 1000px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.record-user-voice-button:hover {
  background-color: #fff;
  color: #000;
}

@media (max-width: 1024px) {


  .record-statistics {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .record-statistic {
    width: 100%;
  }

  .record-statistic__image,
  .record-statistic__logos {
    width: 100%;
    height: 300px;
  }

  .record-user-charts {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 0 32px;
  }

  .record-user-chart {
    width: 100%;
  }

  .record-career-charts {
    padding: 0 32px;
  }

  .record-career-chart {
    flex-direction: column;
    gap: 20px;
  }

  .record-career-chart__bars {
    width: 100%;
    flex-wrap: wrap;
    height: auto;
  }

  .record-clients {
    padding: 0 32px;
  }

  .record-clients__grid {
    gap: 32px;
  }

  .record-clients__row {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .record-client,
  .record-client:nth-child(2n) {
    width: 116.655px;
    height: 70px;
  }

  .record-user-voice-content {
    padding: 60px 32px 80px;
  }

  .record-user-voice-header {
    flex-direction: column;
    gap: 60px;
    text-align: center;
  }

  .record-user-voice-title__main {
    font-size: 50px;
  }

  .record-user-voice-button {
    width: 250px;
    height: 60px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .record-section {
    padding: 60px 0;
  }

  .record-section--statistics {
    padding: 0;
  }



  .record-statistics {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .record-statistic__large {
    font-size: 120px;
  }

  .record-statistic__unit {
    font-size: 50px;
  }

  .record-statistic__suffix {
    font-size: 20px;
  }

  .record-statistic__label {
    font-size: 22px;
  }

  .record-user-description,
  .record-career-description {
    padding: 0 24px;
    margin-bottom: 40px;
  }

  .record-user-description p,
  .record-career-description p {
    font-size: 16px;
    line-height: 24px;
  }

  .record-user-charts {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }

  .record-career-charts {
    padding: 0 10px;
    gap: 40px;
  }

  .record-career-chart__label {
    width: 100px;
    height: 100px;
  }

  .record-career-chart__bracket {
    font-size: 14px;
  }

  .record-career-chart__title {
    font-size: 20px;
  }

  .record-career-bar {
    width: 80px;
  }

  .record-career-bar__category {
    font-size: 10px;
  }

  .record-career-bar__percentage {
    font-size: 20px;
  }

  .record-career-bar__percent {
    font-size: 14px;
  }

  .record-clients {
    padding: 0;
  }

  .record-clients__grid {
          grid-template-columns: repeat(3, 1fr) !important; /* 絶対に3列に固定 */
          gap: 10px 5px; /* スマホ用に隙間を狭くする */
      }

      .record-client {
          aspect-ratio: 3 / 2; /* スマホでは少し高さを出した方が見やすい */
      }

  .record-client,
  .record-client:nth-child(2n) {
    width: 100px;
    height: 58px;
  }

  .record-user-voice-content {
    padding: 50px 24px 70px;
  }

  .record-user-voice-header {
    gap: 40px;
  }

  .record-user-voice-title__label {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .record-user-voice-title__main {
    font-size: 36px;
  }

  .record-user-voice-button {
    width: 200px;
    height: 50px;
    font-size: 14px;
    letter-spacing: 1.4px;
  }
}

/* Mobile responsive styles for RECORD page (375px and below) */
@media (max-width: 375px) {
  /* General record section overrides for mobile */
  .record-section {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  /* Clients Section Mobile */


  .record-client:nth-child(2n) {
    width: 103px;
  }

  .record-client img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* Overall section adjustments */



  /* Top description section */
  .record-section--statistics .record-section__inner::before {
    content: "数字やデータで振り返ることで、会社の実績や成長の歩み、これからの挑戦をわかりやすくお伝えします";
    display: block;
    width: 318px;
    margin: 20px auto 36px;
    padding: 0 28px 40px;
    border-bottom: 1px solid #e1e1e1;
    font-family: "Noto Sans CJK JP", sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #000;
    box-sizing: border-box;
  }

  /* Header section for mobile */


  /* Statistics container - mobile vertical layout */
  .record-statistics {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 318px;
    margin: 0 auto;
    padding: 0;
  }

  /* Individual statistic card */
  .record-statistic {
    width: 318px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  /* First statistic (累計利用者数) */
  .record-statistic:first-child {
    gap: 23.99px;
  }

  .record-statistic:first-child .record-statistic__content {
    width: 317.197px;
    gap: 26.655px;
  }

  .record-statistic:first-child .record-statistic__header {
    border: 0.889px solid #000;
    padding: 5px;
  }

  .record-statistic:first-child .record-statistic__label {
    font-family: "Shippori Mincho", serif;
    font-size: 23.101px;
    font-weight: 600;
    color: #000;
  }

  .record-statistic:first-child .record-statistic__number {
    border-bottom: 4.739px solid #000;
    padding-bottom: 3px;
    gap: 6.77px;
  }

  .record-statistic:first-child .record-statistic__large {
    font-size: 98.836px;
    letter-spacing: -8.8952px;
    line-height: 35.879px;
  }

  .record-statistic:first-child .record-statistic__unit {
    font-size: 44.679px;
    line-height: 35.879px;
  }

  .record-statistic:first-child .record-statistic__suffix {
    font-size: 15.57px;
    line-height: 35.879px;
  }

  .record-statistic:first-child .record-statistic__image {
    width: 317px;
    height: 317px;
  }

  /* Second statistic (累計支援社数) */
  .record-statistic:nth-child(2) {
    gap: 24.05px;
  }

  .record-statistic:nth-child(2) .record-statistic__content {
    width: 318px;
    gap: 26.723px;
  }

  .record-statistic:nth-child(2) .record-statistic__header {
    border: 0.891px solid #000;
    padding: 5px;
  }

  .record-statistic:nth-child(2) .record-statistic__label {
    font-family: "Shippori Mincho", serif;
    font-size: 23.16px;
    font-weight: 600;
    color: #000;
  }

  .record-statistic:nth-child(2) .record-statistic__number {
    border-bottom: 4.378px solid #000;
    padding-bottom: 3px;
    gap: 6.255px;
    margin-bottom: 23px;
  }

  .record-statistic:nth-child(2) .record-statistic__large {
    font-size: 91.321px;
    letter-spacing: -3.6528px;
    line-height: 33.151px;
  }

  .record-statistic:nth-child(2) .record-statistic__unit {
    font-size: 41.282px;
    line-height: 33.151px;
  }

  .record-statistic:nth-child(2) .record-statistic__suffix {
    font-size: 16.263px;
    line-height: 33.151px;
  }

  /* Special logos layout for second statistic */
  .record-statistic:nth-child(2) .record-statistic__logos {
    width: 318px;
    height: 318px;
    border: 0.891px solid #d9d9d9;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16.101px;
    padding: 20px;
    box-sizing: border-box;
  }

  .record-statistic:nth-child(2) .record-statistic__logo-row {
    display: flex;
    gap: 17.711px;
    align-items: center;
  }

  .record-statistic:nth-child(2) .record-statistic__logo {
    width: 78.122px;
    height: 43.944px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
  }

  .record-statistic:nth-child(2) .record-statistic__logo:nth-child(2) {
    width: 77.743px;
    height: 43.73px;
  }

  .record-statistic:nth-child(2) .record-statistic__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* Third statistic (累計イベント回数) */
  .record-statistic:nth-child(3) {
    gap: 24.05px;
  }

  .record-statistic:nth-child(3) .record-statistic__content {
    width: 318px;
    gap: 26.723px;
  }

  .record-statistic:nth-child(3) .record-statistic__header {
    border: 0.891px solid #000;
    padding: 5px;
  }

  .record-statistic:nth-child(3) .record-statistic__label {
    font-family: "Shippori Mincho", serif;
    font-size: 23.16px;
    font-weight: 600;
    color: #000;
  }

  .record-statistic:nth-child(3) .record-statistic__number {
    border-bottom: 4.406px solid #000;
    padding-bottom: 3px;
    gap: 6.294px;
  }

  .record-statistic:nth-child(3) .record-statistic__large {
    font-size: 91.897px;
    letter-spacing: -3.6759px;
    line-height: 33.36px;
  }

  .record-statistic:nth-child(3) .record-statistic__unit {
    font-size: 41.542px;
    line-height: 33.36px;
  }

  .record-statistic:nth-child(3) .record-statistic__suffix {
    font-size: 16.365px;
    line-height: 33.36px;
  }

  .record-statistic:nth-child(3) .record-statistic__image {
    width: 317px;
    height: 316px;
    border: 1px solid #d9d9d9;
  }

  /* User Information Section - Mobile */
  .record-section--user-info {
    padding: 40px 0;
    background-color: #fff;
    height: auto !important;
    min-height: auto !important;
  }

  /* User Info Header */


  /* Top description */
  .record-user-description {
    max-width: 100%;
    margin: 0 auto 40px;
    padding: 0 20px;
    text-align: left;
  }

  .record-user-description p {
    font-family: "Noto Sans CJK JP", sans-serif;
    font-size: 14px;
    line-height: 28px;
    color: #000;
    margin: 0;
    width: 100%;
  }

  /* User charts container */
  .record-user-charts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 318px;
    margin: 0 auto 50px;
    padding: 0 5px;
  }

  /* Individual chart */
  .record-user-chart {
    width: 318px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* First chart (大学別) */
  .record-user-chart:first-child {
    gap: 20px;
    height: 100%;
  }

  .record-user-chart:first-child .record-user-chart__header {
    border: 1px solid #000;
    padding: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .record-user-chart:first-child .record-user-chart__label {
    font-family: "Shippori Mincho", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: #000;
  }

  .record-user-chart:first-child .record-user-chart__content {
    width: 348px;
    height: 318px;
    overflow: hidden;
    position: relative;
  }

  .record-user-chart:first-child .record-user-chart__content img {
    position: absolute;
    top: 0;
    left: -2.39%;
    width: 91.57%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  /* Second chart (エリア別) */
  .record-user-chart:nth-child(2) {
    gap: 20px;
    height: 100%;
  }

  .record-user-chart:nth-child(2) .record-user-chart__header {
    border: 1px solid #000;
    padding: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .record-user-chart:nth-child(2) .record-user-chart__label {
    font-family: "Shippori Mincho", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: #000;
  }

  .record-user-chart:nth-child(2) .record-user-chart__content {
    width: 318px;
    height: 318px;
    overflow: hidden;
    position: relative;
  }

  .record-user-chart:nth-child(2) .record-user-chart__content img {
    position: absolute;
    top: -0.96%;
    left: 3.14%;
    width: 86.94%;
    height: 91.43%;
    max-width: none;
    object-fit: cover;
  }

  /* Third chart (ガクチカ別) */
  .record-user-chart:nth-child(3) {
    gap: 20px;
    height: 100%;
  }

  .record-user-chart:nth-child(3) .record-user-chart__header {
    border: 1px solid #000;
    padding: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .record-user-chart:nth-child(3) .record-user-chart__label {
    font-family: "Shippori Mincho", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: #000;
  }

  .record-user-chart:nth-child(3) .record-user-chart__content {
    width: 318px;
    height: 265px;
    overflow: hidden;
    position: relative;
  }

  .record-user-chart:nth-child(3) .record-user-chart__content img {
    position: absolute;
    top: -5.49%;
    left: 2.41%;
    width: 88.46%;
    height: 104.43%;
    max-width: none;
    object-fit: cover;
  }

  /* Career description */
  .record-career-description {
    max-width: 100%;
    margin: 0 auto 40px;
    padding: 0 20px;
    text-align: left;
  }

  .record-career-description p {
    font-family: "Noto Sans CJK JP", sans-serif;
    font-size: 14px;
    line-height: 28px;
    color: #000;
    margin: 0;
    width: 100%;
  }

  /* Career charts container */
  .record-career-charts {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 318px;
    margin: 0 auto;
    padding: 0 5px;
  }

  /* Career chart - mobile layout */
  .record-career-chart {
    width: 100%;
    height: auto;
    background: #fff;
    overflow: visible;
    position: relative;
    display: block;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  /* Chart label positioned at top center */
  .record-career-chart__label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #000;
    padding: 10px;
    background: #fff;
    display: block;
    text-align: center;
    z-index: 2;
    width: auto;
    height: auto;
  }

  .record-career-chart__bracket {
    font-family: "Shippori Mincho", serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 8px;
    color: #000;
    margin-bottom: 21.6px;
  }

  .record-career-chart__title {
    font-family: "Shippori Mincho", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 8px;
    color: #000;
  }

  /* Bar container positioned below label - reset to absolute positioning */
  .record-section--user-info .record-career-chart__bars {
    position: relative;
    width: 318px;
    height: 205px;
    margin-top: 60px;
    display: block;
    overflow: visible;
    flex-wrap: nowrap;
    flex-direction: initial;
    align-items: initial;
    justify-content: initial;
    gap: initial;
  }

  /* Individual bars positioned absolutely based on Figma */
  .record-career-bar {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
  }

  /* First chart - 業界別 bar positions and sizes */
  .record-career-charts .record-career-chart:first-child .record-career-bar:nth-child(1) {
    background-color: #3347e1;
    height: 153px;
    width: 41px;
    left: 0;
  }

  .record-career-charts .record-career-chart:first-child .record-career-bar:nth-child(2) {
    background-color: #aeb5f3;
    height: 126px;
    width: 39px;
    left: 41px;
  }

  .record-career-charts .record-career-chart:first-child .record-career-bar:nth-child(3) {
    background-color: #8590ee;
    height: 89px;
    width: 40px;
    left: 80px;
  }

  .record-career-charts .record-career-chart:first-child .record-career-bar:nth-child(4) {
    background-color: #5c6be8;
    height: 41px;
    width: 40px;
    left: 120px;
  }

  .record-career-charts .record-career-chart:first-child .record-career-bar:nth-child(5) {
    background-color: #aeb5f3;
    height: 27px;
    width: 39px;
    left: 160px;
  }

  .record-career-charts .record-career-chart:first-child .record-career-bar:nth-child(6) {
    background-color: #3347e1;
    height: 20px;
    width: 40px;
    left: 199px;
  }

  .record-career-charts .record-career-chart:first-child .record-career-bar:nth-child(7) {
    background-color: #5c6be8;
    height: 20px;
    width: 39px;
    left: 239px;
  }

  .record-career-charts .record-career-chart:first-child .record-career-bar:nth-child(8) {
    background-color: #d6dafa;
    height: 89px;
    width: 40px;
    left: 278px;
  }

  /* Second chart - 規模別 bar positions and sizes */
  .record-career-charts .record-career-chart:nth-child(2) .record-career-bar:nth-child(1) {
    background-color: #3a8e5d;
    height: 90px;
    width: 81px;
    left: 0;
  }

  .record-career-charts .record-career-chart:nth-child(2) .record-career-bar:nth-child(2) {
    background-color: #b0d2bf;
    height: 113px;
    width: 78px;
    left: 81px;
  }

  .record-career-charts .record-career-chart:nth-child(2) .record-career-bar:nth-child(3) {
    background-color: #88bb9d;
    height: 152px;
    width: 80px;
    left: 159px;
  }

  .record-career-charts .record-career-chart:nth-child(2) .record-career-bar:nth-child(4) {
    background-color: #61a67d;
    height: 64px;
    width: 79px;
    left: 239px;
  }

  /* Bar labels */
  .record-career-bar__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    color: #000;
    white-space: nowrap;
  }

  .record-career-bar__category {
    font-family: "Noto Sans CJK JP", sans-serif;
    font-size: 7px;
    font-weight: bold;
    line-height: 12.509px;
  }

  .record-career-bar__percentage {
    font-family: "Gotham", "Oswald", sans-serif;
    font-size: 17.061px;
    font-weight: bold;
    line-height: 10.045px;
  }

  .record-career-bar__percent {
    font-family: "Gotham", "Oswald", sans-serif;
    font-size: 11.033px;
    font-weight: medium;
    line-height: 10.045px;
  }
}

/* ==========================================================================
   PC Layout Styles (min-width: 769px)
   ========================================================================== */

@media (min-width: 769px) {
  /* ===== Hero Section PC ===== */
  .hero-section {
    height: 798px;
    border-width: 36.364px;
  }

  .hero-header {
    padding: 30px 50.909px 36.364px;
    height: auto;
  }

  .hero-header__logo img {
    height: 19.764px;
    width: 135.273px;
  }

  /* Hide hamburger on PC */
  .hero-header__menu-btn {
    display: none;
  }

  /* Show nav on PC */
  .hero-header__nav {
    display: flex;
    gap: 34.182px;
    font-family: "Lato", sans-serif;
    font-size: 15.709px;
    text-transform: uppercase;
    color: #fff;
  }

  .hero-header__nav a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
  }

  .hero-header__nav a:hover {
    opacity: 0.8;
  }

  .hero-content {
    left: 86px;
    right: auto;
    width: 867.636px;
    gap: 53.818px;
    align-items: flex-start;
  }

  .hero-text {
    gap: 32px;
    width: 100%;
  }

  .hero-title-image {
    max-width: 100%;
    width: auto;
  }

  .hero-subtitle {
    font-size: 34.909px;
    letter-spacing: 2.7927px;
    line-height: normal;
    text-align: left;
  }

  .hero-brand {
    width: 207.273px;
    height: 30.283px;
  }

  /* ===== Purpose Section PC ===== */
  /* PC用: purpose-sectionをGridレイアウトに */
  .purpose-section {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    padding: 0;
    overflow: hidden;
  }

  /* PC用: purpose-imagesコンテナ */
  .purpose-images {
    grid-area: 1 / 1;
    position: relative;
    width: 100%;
    height: auto;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
    display: block;
    gap: 0;
    margin-top: 0;
    margin-left: 0;
  }

  /* モバイル用個別画像: PCでは非表示 */
  .purpose-img-1,
  .purpose-img-2,
  .purpose-img-3,
  .purpose-img-4 {
    display: none;
  }

  /* PC用結合画像 - モバイルのimgスタイルを上書き */
  .purpose-images .purpose-img-pc {
    display: block;
    width: 100%;
    height: auto;
  }

  /* PC用: モバイルのorderをリセット */
  .purpose-images {
    order: unset;
  }

  .purpose-container {
    order: unset;
  }

  /* PC用: purpose-containerを画像の上に重ねる */
  .purpose-container {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 4.17vw 0 0; /* 60px / 1440px */
  }

  .purpose-content {
    width: 62.5%; /* 900px / 1440px */
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }

  .purpose-header {
    text-align: center;
    margin-bottom: 4.17vw; /* 60px / 1440px */
  }

  .purpose-label {
    font-size: 1.67vw; /* 24px / 1440px */
    margin-bottom: 2.08vw; /* 30px / 1440px */
  }

  .purpose-title {
    display: flex;
    justify-content: center;
  }

  .purpose-title img {
    width: 80%;
    max-width: 100%;
    height: auto;
  }

  .purpose-text {
    font-size: 1.25vw; /* 18px / 1440px */
    line-height: 2.1;
    text-align: center;
    margin-bottom: 0;
    letter-spacing: 0.0625vw; /* 0.9px / 1440px */
    width: 100%;
  }

  .purpose-text p {
    font-size: 1.25vw; /* 18px / 1440px */
    line-height: 2.1;
    margin-bottom: 0;
  }

  .purpose-text br {
    display: none;
  }

  /* ===== Service Section PC ===== */
  .service-section-sp {
    padding: 7.64vw 1.735vw; /* 110px/1440, 33.3px/1440 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4.17vw; /* 60px/1440 */
  }

  .service-container-sp {
    width: 100%;
    max-width: 90%; /* 1142px/1440 */
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 2.085vw; /* 60px/1440 */
  }

  .service-header-sp {
    display: flex;
    flex-direction: column;
    gap: 1.25vw; /* 18px/1440 */
    padding: 0 30px;
  }

  .service-title-sp {
    font-size: 4.86vw; /* 70px/1440 */
  }

  .service-subtitle-sp {
    font-size: 2.36vw; /* 34px/1440 */
    margin-top: 0;
    letter-spacing: -0.21vw; /* -3.06px/1440 */
    line-height: 3.265vw; /* 47px/1440 */
  }

  /* 右側: フィルター部分（縦並び） */
  .service-filters-sp {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.39vw; /* 20px/1440 */
    padding-right:30px;
  }

  .service-filter-label {
    font-size: 1.25vw; /* 18px/1440 */
    letter-spacing: 0.125vw; /* 1.8px/1440 */
  }

  .service-filter-buttons {
    display: flex;
    gap: 0.69vw; /* 10px/1440 */
  }

  .service-filter-btn {
    padding: 0.69vw 0.69vw; /* 10px/1440 */
    font-size: 1.25vw; /* 18px/1440 */
    height: 2.99vw; /* 43px/1440 */
    min-width: 6.74vw; /* 97px/1440 */
    letter-spacing: 0.125vw; /* 1.8px/1440 */
  }

  .service-filter-btn[data-filter="tob"],
  .service-filter-btn[data-filter="toc"] {
    min-width: 12.29vw; /* 177px/1440 */
  }

  .service-cards-sp {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    gap: 2.78vw; /* 40px/1440 */
    margin-bottom: 0;
    width: 100%;
  }

  .service-card-sp {
    flex: 1;
    border-top: 3px solid #f5f5f5;
  }

  .service-card-image {
    aspect-ratio: 406 / 203; /* Figma: 406x203 */
    height: auto;
  }

  .service-card-body {
    padding: 3.33vw 2.08vw 0; /* 48px/1440 30px/1440 */
  }

  .service-card-title {
    font-size: 1.81vw; /* 26px/1440 */
    line-height: 3.68vw; /* 53px/1440 */
  }

  .service-card-desc {
    font-size: 1.25vw; /* 18px/1440 */
    line-height: 2.08vw; /* 30px/1440 */
  }

  .service-card-link {
    font-size: 0.97vw; /* 14px/1440 */
    line-height: 2.08vw; /* 30px/1440 */
    padding: 0.9vw 0; /* 13px/1440 */
  }

  .service-more-btn {
    grid-column: 1 / -1; /* 全幅を使用 */
    width: 25vw; /* 360px/1440 */
    height: 5.28vw; /* 76px/1440 */
    margin: 0 auto;
    font-size: 1.25vw; /* 18px/1440 */
    letter-spacing: 0.125vw; /* 1.8px/1440 */
  }

  /* ===== Record Section PC ===== */
  .record-section-sp {
    padding: 7.64vw 1.735vw; /* 110px/1440, 33.3px/1440 */
    min-height: 700px;
  }

  .record-bg-sp {
    width: 109.6%; /* 1578px/1440 */
    height: 100%;
    min-height: inherit; /* 親のmin-heightを継承 */
    display: block;
    transform: translateX(-50%);
    opacity: 0.25;
    /* 画像を隙間なく敷き詰める魔法の言葉 */
    background-size: cover;
    /* 画像を中央に配置する（上下左右の端が切れるのを均等にする） */
    background-position: center;
    /* 画像が繰り返されないようにする */
    background-repeat: no-repeat;
  }

  .record-bg-image-sp {
    mix-blend-mode: normal;
  }

  .record-container-sp {
    width: 100%;
    max-width: 90%; /* 1142px/1440 */
    margin: 0 auto;
    padding: 0;
  }

  .record-header-sp {
    margin-bottom: 60px;
    padding:0 30px;
  }

  .record-title-sp {
font-size: 4.86vw; /* 70px/1440 */
  }

  .record-subtitle-sp {
    font-size: 2.36vw; /* 34px/1440 */
    line-height: 4.8975vw;
    letter-spacing: -3.06px;
  }

  .record-card-sp {
    display: flex;
    gap: 9.2%; /* 105px/1142 */
    border-top: none;
    align-items: center;
    padding:0 30px;
  }

  .record-card-image {
    width: 59.1%; /* 675px/1142 */
    aspect-ratio: 675 / 400;
    height: auto;
    order: 2;
  }

  .record-card-body {
    width: 31.5%; /* 360px/1142 */
    padding: 0;
    order: 1;
  }

  .record-card-title {
    margin-bottom: 40px;
    font-size: 1.81vw; /* 26px/1440 */
    line-height: 3.68vw; /* 53px/1440 */
  }

  .record-card-desc {
    margin-bottom: 35px;
  }

  .record-more-btn {
    width: 100%;
    max-width: 450px;
    height: 76px;
    font-size: 18px;
    letter-spacing: 1.8px;
    background-color: #fff;
    border: 1px solid #b5b5b5;
  }

  /* ===== Recruit Section PC ===== */
  .recruit-section-sp {
    padding: 100px 6.94%; /* 100px/1440 */
    min-height: auto;
  }

  .recruit-bg-sp {
    height: 100%;
  }

  .recruit-bg-image-sp {
    object-fit: cover;
  }

  .recruit-card-sp {
    position: relative;
    width: 95%; /* 1144px/1440 */
    max-width: 1700px;
    margin: 0 auto;
    padding: 60px 6.5% 60px; /* 74px/1144 */
    border-radius: 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    transform: none;
    top: auto;
    left: auto;
  }

  .recruit-header-sp {
    padding: 0;
    text-align: left;
  }

  .recruit-title-sp {
    font-size: 4.86vw; /* 70px/1440 */
  }

  .recruit-subtitle-sp {
    font-size: 2.36vw; /* 34px/1440 */
    line-height: 4.8975vw;
    letter-spacing: -3.06px;
  }

  .recruit-btn-sp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width:300px;
    height: 60px;
    background-color: #000;
    border-radius: 40px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 1.28px;
    color: #fff;
    text-decoration: none;
  }



  /* ===== News Section PC ===== */
  /* --- 1. 全体のレイアウトと「被さり」の解消 --- */
  .news-section-sp {
    padding: 110px 6.94%;
  }

  .news-container-sp {
    width: 79.3%;
    max-width: 1142px;
    margin: 0 auto;
  }

  .news-header-sp {
    text-align: left;
    width: 100%;
    margin-bottom: 40px; /* 余白を確保 */
  }

  .news-title-sp {
    font-size: 55px;
    margin: 0;
  }

  .news-subtitle-sp {
    font-size: 25px;
    line-height: 1.2; /* 広すぎた行間を修正して被さりを防ぐ */
    letter-spacing: -2.25px;
    margin: 10px 0 0;
  }

  .news-list-sp {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10; /* 記事リストを確実に手前に持ってくる */
  }

  /* --- 2. ニュース記事の1行の設定 --- */
  .news-item-sp {
    position: relative;
    width: 100%;
    /* 元々の黒い線を消して、下の仕組みに置き換えます */
    border-bottom: none !important;
  }



  /* --- 3. リンクとテキストのデザイン（ご提示の数値を維持） --- */
  .news-item-link-container {
    padding: 30px 0 18px; /* ここで高さを出しています */
  }

  .news-item-detail {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 7%;
    width: 100%;
  }

  .news-item-meta {
    gap: 16px;
  }

  .news-item-date {
    font-size: 18px;
    line-height: 30px;
  }

  .news-item-tags {
    display: flex;
    gap: 10px;
  }

  .news-item-tag {
    padding: 7px 24px;
    font-size: 16px;
    line-height: 30px;
    border: 1px solid #000;
    display: inline-block;
  }

  .news-item-title-text {
    font-size: 18px;
    line-height: 40px;
    flex: 1;
    margin: 0;
  }

  /* ===== company-cta PC ===== */
  .company-cta .company-cta__panels {
      flex-direction: row;
    }

    .company-cta .company-cta__panel {
      width: 50%; /* 2枚のパネルを50%ずつにして横に並べる */
    }

    .company-cta .company-cta__content {
      display: flex;
      justify-content: center; /* これでセットを「中央」に寄せます */
      align-items: flex-start;     /* 上下も中央に揃えます */
      gap: 70px;               /* ここで指定した数値が、均等な「間の隙間」になります */
      width: 100%;             /* 横幅いっぱいに使って計算させる */
  }

  /* ===== page-sevice PC ===== */
  .service-message {
    position: relative;
    padding: 100px 0 70px;
  }


  /* ===== Footer PC ===== */
  .site-footer-top-sp {
    width: 100%;
  }

  .site-footer-top-logo {
    width: 100%;
    height: auto;
    max-height: 211px;
    object-fit: contain;
  }

  .site-footer-body-sp {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 50px 25px;
  }

  .site-footer-logo-sp {
    width: 200px;
    height: auto;
  }

  .site-footer-meta-sp {
    gap: 40px;
  }

  .site-footer-contact-sp {
    font-size: 14px;
  }

  .site-footer-copyright-sp {
    font-size: 12px;
  }
}

/* ==========================================================================
   PC Layout Styles (min-width: 1200px)
   ========================================================================== */
   @media (min-width: 1200px) {
     .purpose-title img {
       width: 100%;
       height: auto;
     }
   }


/* ========================================
   RECRUIT PAGE
   ======================================== */

.recruit-page {
  background-color: #fff;
}

.recruit-page .recruit-section {
  position: relative;
  padding: 80px 0 100px;
  border-top: 1px solid #e1e1e1;
  height: auto;
}

.recruit-section__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}

.recruit-section__heading {
  font-family: "Noto Serif JP", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 77px;
  letter-spacing: -0.5px;
  text-align: center;
  color: #000;
  margin: 0;
}

.recruit-page .recruit-cards {
  display: flex;
  width: 100%;
}

.recruit-page .recruit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 33.333%;
  padding: 100px 40px;
  text-decoration: none;
  overflow: hidden;
  border-radius: 0;
  background: none;
  height: auto;
}

.recruit-page .recruit-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.recruit-page .recruit-card__image img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center center;
}


.recruit-page .recruit-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}



.recruit-page .recruit-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.recruit-page .recruit-card__title {
  font-family: "Shippori Mincho", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 94px;
  letter-spacing: -2.7px;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}

.recruit-page .recruit-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 76px;
  padding: 10px;
  background-color: #000;
  border: 1px solid #fff;
  border-radius: 1000px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-align: center;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow: hidden;
  text-decoration:none;
}

/*コメントアウト
.recruit-page .recruit-card:hover .recruit-card__button {
  background-color: #fff;
  color: #000;
}
*/
.recruit-card__button span {
 display: inline-block;
}

.recruit-card__button:hover {
 opacity: 0.8;
}


/* Recruit Page Responsive */
@media (max-width: 1024px) {
  .recruit-page .recruit-section__heading {
    font-size: 22px;
    line-height: 1.5;
  }

  .recruit-page .recruit-card {
    padding: 80px 30px;
  }

  .recruit-page .recruit-card__title {
    font-size: 24px;
    line-height: 1.5;
  }

  .recruit-page .recruit-card__button {
    width: 220px;
    height: 64px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .recruit-page .recruit-section {
    padding: 40px 0 60px;
  }

  .recruit-page .recruit-section__inner {
    gap: 30px;
  }

  .recruit-page .recruit-section__heading {
    text-align: center;
    font-size: 22px;
    line-height: 1.5;
  }

  .recruit-page .recruit-cards {
    flex-direction: column;
  }

  .recruit-page .recruit-card {
    width: 100%;
    padding: 60px 20px;
    min-height: 250px;
  }

  .recruit-page .recruit-card__title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .recruit-page .recruit-card__button {
    width: 200px;
    height: 56px;
    font-size: 14px;
    letter-spacing: 1px;
  }
}

/* ========================================
   MOBILE HAMBURGER MENU
   ======================================== */

/* Hamburger Button */
.site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 26px;
  height: 14px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.site-header__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header__hamburger.is-active .site-header__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__hamburger.is-active .site-header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.site-header__hamburger.is-active .site-header__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay */
.site-header__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-header__mobile-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.site-header__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 100vh;
  overflow-y: auto;
  background-color: #fff;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  border-radius: 0;
}

.site-header__mobile-menu.is-active {
  transform: translateY(0);
}

.site-header__mobile-list {
  list-style: none;
  margin: 0;
  padding: 60px 0 0;
}

.site-header__mobile-item {
  border-bottom: 1px solid #e1e1e1;
}

.site-header__mobile-item:first-child {
  border-top: 1px solid #e1e1e1;
}

.site-header__mobile-link {
  display: block;
  padding: 20px 24px;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #000;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.site-header__mobile-link:hover,
.site-header__mobile-link:focus {
  background-color: #f5f5f5;
}

.site-header__mobile-item--current .site-header__mobile-link {
  font-weight: 700;
}

/* Body scroll lock when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .site-header__nav {
    display: none;
  }

  .site-header__hamburger {
    display: flex;
  }

  .site-header__mobile-overlay {
    display: block;
  }

  .site-header__mobile-menu {
    display: block;
  }

  .site-header__primary-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    gap: 0;
  }

  .site-header__logo img {
    height: 20px;
  }
}

/* Hero header hamburger (white lines for dark background) */
.hero-header .site-header__hamburger {
  display: flex;
  position: relative;
  z-index: 1001;
}

.hero-header .site-header__hamburger-line {
  background-color: #fff;
}

.hero-header .site-header__hamburger.is-active .site-header__hamburger-line {
  background-color: #000;
}

/* Mobile menu/overlay inside hero-container need proper positioning */
.hero-container .site-header__mobile-overlay,
.hero-container .site-header__mobile-menu {
  display: block;
}

@media (min-width: 769px) {
  .hero-container .site-header__mobile-overlay,
  .hero-container .site-header__mobile-menu {
    display: none;
  }

  .hero-header .site-header__hamburger {
    display: none;
  }
}


/* ========================================
   Figma Design Implementation (Updates)
   ======================================== */

/* General Layout */
.main-content {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    color: #fff;
    background-color: #000;
    overflow: hidden;
}

.hero-section__container {
    padding: 24px 40px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 20;
    width: 100%;
}

.hero-section__logo img {
    height: 24px;
}

.hero-section__nav {
    display: flex;
    gap: 32px;
}

.hero-section__nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.1em;
    font-family: 'Lato', sans-serif;
    transition: opacity 0.3s;
}

.hero-section__nav a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-section__nav {
        display: none;
    }
}

.hero-section__background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-section__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.hero-section__content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 60px;
}

.hero-section__title-image {
    max-width: 800px;
    width: 100%;
}

.hero-section__subtitle {
    margin-top: 24px;
    font-size: 14px;
    letter-spacing: 0.2em;
    font-family: 'Lato', sans-serif;
}

.hero-section__brand {
    margin-top: 60px;
}

.hero-section__grainy-overlay {
    position: absolute;
    inset: 0;
    background-image: url('assets/top/grainy.png'); /* Assumed asset */
    opacity: 0.2;
    pointer-events: none;
    z-index: 5;
}

/* Purpose Section */
.purpose-section {
    position: relative;
    padding: 25px 0 30px;
    background: #fff;
    color: #000;
    overflow: hidden;
}

.purpose-section__images {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    max-width: 1440px;
}

.purpose-section__img-pc {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.6;
}

.purpose-section__img {
    display: none;
}

@media (max-width: 768px) {
    .purpose-section__img-pc {
        display: none;
    }
    .purpose-section__img {
        display: block;
        position: absolute;
    }
}

.purpose-section__container {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.purpose-section__header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.purpose-section__label {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.purpose-section__title img {
    max-width: 600px;
    width: 100%;
}

.purpose-section__text-block {
    text-align: center;
    margin-bottom: 60px;
    font-size: 18px;
    line-height: 2.2;
    font-weight: 500;
}

@media (max-width: 768px) {
    .purpose-section__text-block {
        font-size: 16px;
        line-height: 2;
        margin-bottom: 40px;
    }
}

/* Service Section */
.service-section {
    padding: 30px 0;
    background: #fff;
}

.service-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.service-section__filters {
    margin-bottom: 40px;
}

.service-section__filter-label {
    margin-bottom: 16px;
    font-size: 14px;
}

.service-section__filter-buttons {
    display: flex;
    gap: 16px;
}

.service-section__filter-btn {
    padding: 8px 24px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s;
}

.service-section__filter-btn.active,
.service-section__filter-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.service-section__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 960px) {
    .service-section__cards {
        grid-template-columns: 1fr;
    }
}

.service-section__card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-section__card-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f5f5f5;
    overflow: hidden;
}

.service-section__card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}

.service-section__card:hover .service-section__card-image img {
    transform: scale(1.05);
}

.service-section__card-title {
    font-size: 20px;
    font-family: 'Shippori Mincho', serif;
    margin: 0;
    font-weight: 600;
}

.service-section__card-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.service-section__card-link {
    display: inline-block;
    margin-top: auto;
    text-decoration: underline;
    color: #000;
    font-size: 14px;
}

.service-section__more-btn {
    display: block;
    width: 240px;
    padding: 16px;
    border: 1px solid #000;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
    color: #000;
    transition: all 0.3s;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.1em;
}

.service-section__more-btn:hover {
    background: #000;
    color: #fff;
}

/* Record Section */
.record-section {
    position: relative;
    padding: 0 0 30px;
    background: #fff;
    color: #fff;
    overflow: hidden;
}

.record-section__bg {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}

.record-section__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.record-section__container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.record-section__header {
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.record-section__title {
    font-size: 40px;
    font-family: 'Shippori Mincho', serif;
    margin: 0;
}

.record-section__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .record-section__card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.record-section__card-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.record-section__card-title {
    font-size: 28px;
    font-family: 'Shippori Mincho', serif;
}

.record-section__more-btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s;
}

.record-section__more-btn:hover {
    background: #fff;
    color: #000;
}

/* Recruit Section */
.recruit-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.recruit-section__bg {
    position: absolute;
    inset: 0;
}

.recruit-section__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recruit-section__bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.recruit-section__card {
    position: relative;
    z-index: 10;
}

.recruit-section__title {
    font-size: 48px;
    margin-bottom: 16px;
    font-family: 'Shippori Mincho', serif;
}

.recruit-section__subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.recruit-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 60px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 99px;
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.recruit-section__btn:hover {
    opacity: 0.9;
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: #fff;
}

.news-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.news-section__header {
    display: flex;
    gap: 20px;
    align-items: baseline;
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.news-section__title {
    font-size: 40px;
    font-family: 'Shippori Mincho', serif;
}

.news-section__list {
    display: flex;
    flex-direction: column;
}

.news-section__item {
    border-bottom: 1px solid #eee;
}

.news-section__item-detail {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 24px 0;
    transition: background 0.3s;
}

@media (max-width: 768px) {
    .news-section__item-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.news-section__item-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 200px;
}

.news-section__item-date {
    font-family: 'Lato', sans-serif;
    color: #666;
}

.news-section__tags-item {
    font-size: 12px;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 4px;
}

.news-section__item-link {
    text-decoration: none;
    color: #000;
    flex: 1;
    font-weight: 500;
}

.news-section__item-link:hover {
    text-decoration: underline;
}



/* iPhone XR (414px) など、少し大きめのスマホ向けの修正 */
@media (max-width: 480px) {
  /* 1. 画像を入れる「箱」を画面の90%まで広げる */
  .hero-content {
    width: 90% !important;   /* 334pxの制限をなくし、画面の9割を使います */
    max-width: 400px !important; /* 必要なら最大サイズを400pxくらいに設定 */
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* 2. 画像自体の「334px制限」を解除する */
  .hero-title-image {
    max-width: 100% !important; /* ブレーキを解除 */
    width: 100% !important;     /* 箱いっぱいに広がります */
  }
}


/* 改行設定 */
.u-sp-br {
   display: none !important;
}

.u-pc-br {
   display: block !important;
}

/* 3. スマホ（SP）の挙動 */
@media (max-width: 768px) {
  .u-sp-br {
     display: block !important;
    }
  .u-pc-br {
     display: none !important;
  }

}
