/* ============================================
   株式会社シィオ コーポレートサイト CSS
   ============================================ */

/* --------------------------------------------
   CSS変数（カラー・フォント定義）
   -------------------------------------------- */
:root {
  /* メインカラー */
  --color-primary: #2c3e6e;
  --color-primary-dark: #1e2a4a;
  --color-primary-light: #94AAD6;

  /* アクセントカラー */
  --color-accent: #4a6fa5;

  /* テキストカラー */
  --color-text: #35373b;
  --color-text-light: #666666;
  --color-text-white: #ffffff;

  /* 背景色 */
  --color-bg: #ffffff;
  --color-bg-gray: #f5f5f5;
  --color-bg-light-blue: rgba(148, 170, 214,0.2);
  --color-bg-dark: #2c3e6e;

  /* ボーダー */
  --color-border: #dddddd;
  --color-border-light: #eeeeee;

  /* フォント */
  --font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-family-en-gothic: "Arial", "Helvetica Neue", "Helvetica", sans-serif;
  --font-family-mincho: "Noto Serif JP", "Yu Mincho", "游明朝", "YuMincho", "Hiragino Mincho ProN", serif;

  /* コンテナ幅 */
  --container-width: 1200px;
  --container-padding: 20px;

  /* ヘッダー高さ */
  --header-height: 80px;
  --header-height-sp: 48px;
}

/* --------------------------------------------
   リセット・ベーススタイル
   -------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* アンカーリンクのスクロール位置調整（ヘッダー固定対応） */
[id] {
  scroll-margin-top: calc(var(--header-height) + 60px);
}

#contact {
  scroll-margin-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* --------------------------------------------
   共通レイアウト
   -------------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 80px 0;
  background-color: var(--color-bg);
}

.section.section--has-outside-title {
  padding-top: 10px;
}

.section--gray {
  background-color: var(--color-bg-gray);
}

.section--light-blue {
  background-color: var(--color-bg-light-blue);
}

/* セクション間の余白 */
.section-spacer {
  height: 80px;
  background-color: var(--color-bg);
  position: relative;
}

/* セクションタイトルラッパー（スペーサーとセクションの境界にまたがる） */
.section-title-wrapper {
  position: relative;
  height: 0;
  z-index: 10;
}

.section-title-wrapper .section-title {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 30%);
  margin: 0;
  padding: 0 var(--container-padding);
  width: 100%;
  max-width: var(--container-width);
}

/* --------------------------------------------
   セクションタイトル
   -------------------------------------------- */
.section-title {
  margin-bottom: 40px;
}

/* セクション外に出るタイトル（旧スタイル削除） */
.section-title--outside {
  margin-bottom: 30px;
}

.section-title__en {
  font-family: var(--font-family-en-gothic);
  font-size: 4rem;
  font-weight: 900;
  color: #7a9cc6;
  letter-spacing: 0.1em;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  background-color: transparent;
}

.section-title__ja {
  display: inline-block;
  font-family: var(--font-family-mincho);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  padding-left: 15px;
  margin-top: 5px;
  border-left: 3px solid var(--color-primary);
}

.section-title__ja--inside {
  margin-bottom: 20px;
}

/* --------------------------------------------
   ヘッダー
   -------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-bg);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header__left {
  display: flex;
  align-items: center;
}

.header__left a {
  display: flex;
  align-items: center;
}

.header__logo,
.header__text {
  display: block;
}

.header__logo {
  height: 35px;
  width: auto;
}

.header__text {
  height: 20px;
  width: auto;
  margin-left: 20px;
}

/* PCナビゲーション */
.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  gap: 40px;
  position: relative;
}

.nav__list > li a {
  display: block;
}

.nav__list > .nav__item {
  position: static;
}

.nav__link {
  position: relative;
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 10px 0;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--color-primary);
  opacity: 1;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__link:hover::after,
.nav__link.is-active::after,
.nav__item:hover > .nav__link::after {
  width: 100%;
  opacity: 1;
}

.nav__link.is-active {
  color: var(--color-primary);
}

/* 共通サブメニュー */
.pc-nav__sublist {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-primary);
  z-index: 1000;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.nav__item:hover .pc-nav__sublist {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.pc-nav__sublist li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-nav__sublink {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 10px 12px 10px;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

.pc-nav__sublink:hover {
  opacity: 0.7;
}

.pc-nav__sublist--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.pc-nav__sublist--2col .pc-nav__sublink {
  min-height: 54px;
}

.pc-nav__sublist--2col li:nth-child(odd) .pc-nav__sublink {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.pc-nav__sublist--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.pc-nav__sublist--grid .pc-nav__sublink {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.pc-nav__sublist--grid li:nth-child(odd) .pc-nav__sublink {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.pc-nav__sublist--grid.is-even li:nth-last-child(-n + 2) .pc-nav__sublink {
  border-bottom: none;
}

.pc-nav__sublist--grid.is-odd li:last-child .pc-nav__sublink {
  border-bottom: none;
}

/* ハンバーガーメニューボタン */
.hamburger {
  display: none;
  outline: none;
  border: none;
  width: 48px;
  height: 48px;
  position: relative;
  top: 0;
  right: 0;
  cursor: pointer;
  background-color: var(--color-primary-light);
  z-index: 1001;
}

.hamburger__line {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background-color: var(--color-bg);
  transition: all 0.3s ease;
}

.hamburger__line:nth-child(1) {
  top: 16px;
}

.hamburger__line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger__line:nth-child(3) {
  bottom: 16px;
}

/* ハンバーガーメニュー開いた状態 */
.hamburger.is-active .hamburger__line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* スマホナビゲーション */
.sp-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-primary);
  z-index: 999;
  padding-top: var(--header-height-sp);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.sp-nav.is-active {
  transform: translateX(0);
}

.sp-nav__list {
  padding: 20px;
}

.sp-nav__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-nav__parent {
  display: grid;
  grid-template-columns: 1fr 52px;
  align-items: center;
}

.sp-nav__link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  color: var(--color-text-white);
  font-size: 1rem;
  padding: 15px 20px;
}

.sp-nav__toggle {
  width: 52px;
  height: 52px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.sp-nav__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-white);
  border-bottom: 2px solid var(--color-text-white);
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform 0.3s ease;
}

.sp-nav__item--has-child.is-open .sp-nav__link--accordion::after {
  transform: rotate(-135deg);
}

.sp-nav__sublist {
  max-height: 0;
  overflow: hidden;
  padding-left: 20px;
  transition: max-height 0.3s ease;
}

.sp-nav__item--has-child.is-open .sp-nav__sublist {
  max-height: 500px;
}

.sp-nav__sublink {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  padding: 10px 20px;
}

/* ハイパーリンク */
@media (min-width: 769px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }

  .mail a {
    position: relative;
    text-decoration: none;
    color: inherit;
  }

  .mail a::after {
      content: "";
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 1.2px;
      background-color: currentColor;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .mail:hover a::after {
      opacity: 1;
  }
}

/* --------------------------------------------
   メインビジュアル（ヒーロー）
   -------------------------------------------- */
.hero {
  position: relative;
  height: 60vh;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero.hero--sub {
  height: 35vh;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg--pc {
  display: block;
}

.hero__bg--sp {
  display: none;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 110, 0.1);
}

.hero__watermark {
  position: absolute;
  bottom: 5%;
  left: 8%;
  font-family: var(--font-family);
  font-size: 10rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.25);
  z-index: 0;
  line-height: 1;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.hero__content {
  position: absolute;
  z-index: 1; 
  right: 5%;
  bottom: 5%;
  text-align: right;
}

.hero__title-en {
  font-family: var(--font-family-en-gothic);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: end;
  text-shadow: 0 5px 12px rgba(255, 255, 255, 0.8);
}

.hero__title-ja {
  font-family: var(--font-family);
  font-size: 1.3rem;
  font-weight: 700;
  color: #d37911;
  text-align: end;
  -webkit-text-fill-color: white;
  -webkit-text-stroke: 0.5px rgb(238, 243, 248);
  text-shadow: 0 3px 10px rgb(0, 0, 0);
}

/* --------------------------------------------
   ニュースセクション
   -------------------------------------------- */
.news {
  padding: 60px 0;
}

.news__list {
  border-top: 1px solid var(--color-border);
}

.news__item {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  gap: 20px;
}

.news__date {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
  min-width: 100px;
}

.news__category {
  flex-shrink: 0;
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-primary);
  background-color: transparent;
  border: 1px solid var(--color-primary);
  padding: 2px 12px;
  min-width: 80px;
  text-align: center;
}

.news__title {
  flex: 1;
  font-size: 0.9375rem;
}

.news__more {
  text-align: center;
  margin-top: 30px;
}

/* --------------------------------------------
   ボタン
   -------------------------------------------- */
.btn {
  position: relative;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  padding: 12px 40px;
  background-color: transparent;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-primary);
  transform: skewX(-20deg);
  transition: all 0.3s ease;
  z-index: -1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn--primary {
  color: var(--color-primary);
}

.btn--primary:hover {
  color: var(--color-text-white);
  opacity: 1;
}

.btn--primary:hover::before {
  background-color: var(--color-primary);
}

.btn--white {
  color: var(--color-text-white);
}

.btn--white::before {
  border: 1px solid var(--color-text-white);
}

.btn--white:hover {
  color: var(--color-primary);
  opacity: 1;
}

.btn--white:hover::before {
  background-color: var(--color-text-white);
}

.btn--primary-white {
  color: var(--color-primary);
}

.btn--primary-white::before {
  background-color: var(--color-bg);
  border-color: var(--color-primary);
}

.btn--primary-white:hover {
  color: var(--color-text-white);
  opacity: 1;
}

.btn--primary-white:hover::before {
  background-color: var(--color-primary);
}

/* --------------------------------------------
   事業内容セクション
   -------------------------------------------- */
.business {
  color: var(--color-text);
  padding: 80px 0;
}

.business__block-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text);
  text-align: left;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.business__message {
  color: var(--color-text);
  padding-top: 10px;
  text-align: left;
}

.business__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.business__block {
  background-color: transparent;
  padding: 20px;
  text-align: center;
  color: var(--color-text-white);
  display: flex;
  flex-direction: column;
}

.business__block .btn {
  margin-top: 40px;
  align-self: center;
}

.business__intro {
  margin-bottom: 40px;
  line-height: 2;
}

/* --------------------------------------------
   採用情報セクション
   -------------------------------------------- */
.careers {
  padding: 80px 0;
}

.careers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.careers__content {
  flex-grow: 1;
  display: flex;
  padding: 20px;
}

.careers__content .btn {
  margin-top: 20px;
  align-self: center;
}

.careers__intro {
  height: 240px;
  margin-bottom: 20px;
  line-height: 2;
  text-align: left;
}

.careers__card {
  flex: 1;
  text-align: center;
  display: block;
}

.careers__application img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.application__btn {
  padding: 12px 50px;
}

.careers__card-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.careers__title {
  font-weight: 500;
  margin-top: 5px;
  color: var(--color-text);
  text-align: center;
}

/* --------------------------------------------
   企業情報セクション
   -------------------------------------------- */
.company {
  padding: 80px 0 40px;
}

.company__message {
  color: var(--color-text);
  padding-top: 10px;
  text-align: left;
}

.company__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.company__block {
  background-color: transparent;
  padding: 20px;
  text-align: center;
  color: var(--color-text-white);
  display: flex;
  flex-direction: column;
}

.company__block .btn {
  margin-top: 40px;
  align-self: center;
}

.company__block-card,
.company__info-table {
  flex-grow: 1;
}

.company__block-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-text);
}

.company__block-image {
  margin-bottom: 20px;
}

.company__block-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.company__info-table {
  width: 100%;
}

.company__info-table th,
.company__info-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  color: var(--color-text);
}

.company__info-table th {
  width: 150px;
  font-weight: 500;
  color: var(--color-text);
}

.company__block-title,
.company__block-image,
.company__info-table,
.company__security-title,
.company__security {
  text-align: left;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

.office__list {
  margin-bottom: 30px;
}

.office__item {
  margin-bottom: 15px;
  text-align: center;
}

.office__item img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.office__card-bg {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}

.office__name {
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--color-text);
}

.contact__block {
  margin-bottom: 25px;
  color: var(--color-text);
  text-align: left;
}

.contact__block:nth-of-type(2) {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.contact__block-title {
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-text);
  text-align: left;
}

.contact__table {
  width: 100%;
}

.contact__table th,
.contact__table td {
  padding: 5px 0;
  font-size: 0.875rem;
  vertical-align: top;
  color: var(--color-text);
  text-align: left;
}

.contact__table th {
  width: 170px;
  font-weight: normal;
  text-align: left;
}

/* --------------------------------------------
   フッター
   -------------------------------------------- */
.footer {
  background-color: var(--color-bg-gray);
  padding: 80px 0 20px;
  text-align: center;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  height: 100%;
  max-width: var(--container-width);
  margin: -30px auto 50px auto;
  padding: 0 var(--container-padding);
}

.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.footer__logo-wrap a {
  display: flex;
  align-items: center;
}

.footer__logo {
  display: block;
  height: 35px;
  width: auto;
}

.footer__text {
  display: block;
  height: 20px;
  width: auto;
  margin-left: 10px;
}

.address__table {
  margin-bottom: 15px;
}

.address__table th,
.address__table td {
  font-size: 0.875rem;
  vertical-align: top;
  text-align: left;
}

.address__table th {
  width: 80px;
  font-weight: 500;
}

.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 10px;
  text-align: left;
}

.footer__item a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.footer__item a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1.2px;
  background-color: currentColor;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer__item a:hover {
  opacity: 1;
}

.footer__item a:hover::after {
  opacity: 1;
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* --------------------------------------------
   ページトップボタン
   -------------------------------------------- */
.page-top {
  position: fixed;
  border: none;
  outline: none;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  cursor: pointer;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.page-top::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-text-white);
  border-right: 2px solid var(--color-text-white);
  transform: rotate(-45deg) translateY(2px) translateX(-2px);
}

.page-top.is-visible:hover {
  opacity: 0.7;
}

/* --------------------------------------------
   下層ページ ヒーロー
   -------------------------------------------- */
.hero--sub {
  height: 500px;
}

.hero--sub .hero__content {
  flex-direction: column;
  gap: 10px;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--color-text-white);
  letter-spacing: 0.1em;
}

.hero--dual .hero__content {
  flex-direction: row;
  gap: 0;
}

.hero__label-left {
  position: absolute;
  left: 10%;
  bottom: -15%;
  z-index: 1;
  font-family: var(--font-gothic);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 0.3em;
  padding-bottom: 5%;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------
   ページ内ナビゲーション
   -------------------------------------------- */
.page-nav {
  background-color: var(--color-bg);
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

.page-nav__list-company {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  max-width: 70%;
  gap: 10px;
  margin: 0 auto;
}

.page-nav__list-solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  max-width: 35%;
  gap: 20px;
  margin: 0 auto;
}

.page-nav__list-careers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.page-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 60px;
  padding: 10px 25px;
  border: none;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.page-nav__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-primary);
  transform: skewX(-20deg);
  transition: all 0.3s ease;
  z-index: -1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-nav__link:hover {
  color: var(--color-text-white);
  opacity: 1;
}

.page-nav__link:hover::before {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* --------------------------------------------
   企業理念セクション（下層）
   -------------------------------------------- */
.philosophy {
  padding: 80px 0;
}

.philosophy__keywords {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
}

.philosophy__keyword {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 450px;
  height: 180px;
  font-family: var(--font-family-mincho);
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  isolation: isolate;
}

.philosophy__main,
.philosophy__sub {
  display: block;
}

.philosophy__main {
  font-size: 2rem;
  line-height: 1.2;
}

.philosophy__sub {
  font-size: 1rem;
}

.philosophy__keyword::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.philosophy__keyword span {
  position: relative;
  z-index: 2;
}

.philosophy__content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
  padding: 0 40px;
}

.philosophy__content--reverse {
  flex-direction: row-reverse;
}

.philosophy__text {
  flex: 1;
  line-height: 2;
}

.philosophy__text p {
  margin-bottom: 1em;
}

.philosophy__image {
  flex: 1;
}

.philosophy__image img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------
   社長挨拶セクション
   -------------------------------------------- */
.message__content {
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
  align-items: flex-start;
}

.message__image {
  flex: 2;
  margin-top: 20px;
}

.message__image img {
  width: 100%;
  height: auto;
}

.message__body {
  flex: 3;
}

.message__heading {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.message__text {
  line-height: 2;
  margin-bottom: 30px;
}

.message__text p {
  margin-bottom: 1.5em;
}

.message-divider {
  border: none;
  height: 1px;
  width: 60%;
  margin: 1rem auto;
  background-color: var(--color-border);
}

.message-highlight {
  color: var(--color-primary);
}

.message__signature {
  font-size: 1.2rem;
  text-align: right;
  font-weight: 500;
  margin-top: 10px;
  color: var(--color-text);
}

/* --------------------------------------------
   会社概要セクション（下層）
   -------------------------------------------- */
.overview__table-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.overview__table {
  width: 100%;
  background-color: var(--color-bg);
}

.overview__table th,
.overview__table td {
  padding: 12px 20px;
  font-size: 0.9375rem;
  vertical-align: top;
}

.overview__table td{
  border-bottom: 1px solid var(--color-border);
}

.overview__table th {
  width: 200px;
  font-weight: 500;
  background-color: var(--color-bg-gray);
  border-bottom: 1px solid var(--color-bg);
}

/* --------------------------------------------
   主要取引先セクション
   -------------------------------------------- */
.clients__list {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
  max-width: 800px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.clients__column {
  list-style: none;
  width: 100%; 
}

.clients__column + .clients__column {
  border-left: 1px solid var(--color-border);
}

.clients__column li {
  padding: 10px 20px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border);
}

.clients__column li:last-child {
  border-bottom: none;
}

.clients__note {
  max-width: 700px;
  margin: 0 auto 0;
  text-align: right;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* --------------------------------------------
   沿革セクション
   -------------------------------------------- */
.history__table-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.history__table {
  width: 100%;
  background-color: var(--color-bg);
}

.history__table th,
.history__table td {
  padding: 12px 20px;
  font-size: 0.9375rem;
  vertical-align: top;
}

.history__table td {
  border-bottom: 1px solid var(--color-border);
}

.history__table th {
  width: 200px;
  font-weight: 500;
  background-color: var(--color-bg-light-blue);
  border-bottom: 1px solid var(--color-bg);
}

.history__timeline {
  max-width: 800px;
  margin: 0 auto;
}

.history__item {
  display: flex;
  gap: 40px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.history__year {
  flex-shrink: 0;
  width: 150px;
  font-weight: 500;
}

.history__text {
  flex: 1;
}

/* --------------------------------------------
   組織図セクション
   -------------------------------------------- */
.organization__chart {
  text-align: center;  
}

.organization__chart img {
  max-width: 800px;
  width: 100%;
  height: auto;
}

/* --------------------------------------------
   セキュリティセクション
   -------------------------------------------- */
.security__message {
  color: var(--color-text);
  padding-top: 10px;
  text-align: left;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  font-weight: 700px;
}

.company__security-title {
  margin-top: 20px;
  font-weight: 500;
  color: var(--color-text);
}

.company__security {
  color: var(--color-text);
  list-style: decimal;
}

.company__security li {
  margin-left: 40px;
  margin-bottom: 8px;
}

.company__security-name {
  margin-top: 10px;
  color: var(--color-text);
  text-align: end;
}

/* --------------------------------------------
   アクセスセクション（下層）
   -------------------------------------------- */
.access__offices {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.access__office {
  background-color: var(--color-bg);
  padding: 30px;
}

.access__office-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.access__office-info {
  flex: 1;
}

.access__office-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.access__table {
  width: 100%;
  margin-bottom: 15px;
}

.access__table th,
.access__table td {
  padding: 10px 0;
  font-size: 0.9375rem;
  vertical-align: top;
}

.access__table th {
  width: 80px;
  font-weight: 500;
}

.access__directions {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.access__map {
  width: 100%;
}

.access__map iframe {
  width: 100%;
  height: 299px;
}

.access__map img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------
   事業内容ページ
   -------------------------------------------- */
.solutions__heading {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-primary);
}

.solutions__item {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.solutions__item--reverse {
  flex-direction: row-reverse;
}

.solutions__item-content {
  flex: 1;
}

.solutions__item-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.solutions__item-text {
  line-height: 2;
}

.solutions__item-text p {
  margin-bottom: 1em;
}

.text-bold {
  font-weight: 500;
}

.solutions__item-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.solutions__item-images img {
  width: 100%;
  height: auto;
}

/* 開発事例 */
.cases__intro {
  margin-bottom: 40px;
  font-size: 0.9375rem;
}

.cases__item {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.cases__item--reverse {
  flex-direction: row-reverse;
}

.cases__item-content {
  flex: 1;
  width: 100%;
}

.cases__item-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.cases__item-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.cases__item-list {
  list-style: none;
}

.cases__item-list li {
  padding: 1px 0;
  font-size: 0.9375rem;
}

.cases__item-image {
  flex: 1;
  max-width: 400px;
}

.cases__item-image img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------
   採用情報ページ - 求める人材
   -------------------------------------------- */
.talent__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.talent__item {
  background-color: var(--color-bg);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.talent__number {
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: var(--font-family-en-gothic);
  font-size: 6rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(0, 0, 0, 0.08);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.talent__title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.talent__text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text-light);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------
   採用情報ページ - 仕事内容
   -------------------------------------------- */
.work__image {
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.work__image img {
  max-width: 100%;
  height: auto;
}

.work__intro {
  margin-bottom: 40px;
  line-height: 2;
}

.work__intro p {
  margin-bottom: 1em;
}

.work__roles {
  display: flex;
  gap: 80px;
  margin-top: 15px;
}

.work__role-content{
  flex: 1;
}

.work__role-image {
  max-width: 300px;
}

.work__role-image img {
  width: 100%;
  height: auto;
}

.work__role-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.work__role-text {
  font-size: 0.875rem;
  line-height: 1.8;
}

/* --------------------------------------------
   採用情報ページ - 募集要項
   -------------------------------------------- */
.requirements__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.requirements__item {
  background-color: var(--color-bg-gray);
}

.requirements__image {
  width: 100%;
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}

.requirements__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.requirements__content {
  padding: 20px;
}

.requirements__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.requirements__title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.requirements__message {
  margin-top: auto;
}

.requirements__buttons {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 40px;
}

.requirements__btn {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 12px 50px;
  background-color: transparent;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1;
}

.requirements__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-primary);
  transform: skewX(-20deg);
  transition: all 0.3s ease;
  z-index: -1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.requirements__btn:hover {
  background-color: var(--color-text-whit);
  opacity: 1;
}

.requirements__btn:hover::before {
  background-color: var(--color-primary);
}

/* --------------------------------------------
   採用情報ページ - 先輩の声
   -------------------------------------------- */
.voice__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.voice__item, .voice__text {
  background-color: var(--color-bg);
}

.voice__more {
  text-align: center;
  margin-top: 30px;
}

.voice__text {
  display: none;
}

.voice__details.is-open .voice__text {
  display: block;
}

.voice__details.is-open .voice__more--open {
  display: none;
}

.voice__more--close {
  display: none;
}

.voice__details.is-open .voice__more--close {
  display: block;
}

.voice__image {
  width: 100%;
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}

.voice__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.voice__content, .voice__text {
  padding: 20px;
}

.voice__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.voice__name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.voice__job {
  font-size: 0.8125rem;
  margin-bottom: 15px;
}

.voice__job-title {
  font-weight: 500;
}

.voice__message {
  margin-top: auto;
}

.voice__question, .voice__answer, .voice__message {
  font-size: 0.875rem;
  line-height: 1.8;
}

.voice__question {
  font-weight: 500;
  color: var(--color-primary);
}

.voice__answer {
  padding-left: 15px;
}

.voice__schools {
  margin-top: 40px;
}

.voice__schools-table {
  width: 100%;
}

.voice__schools-table th,
.voice__schools-table td {
  padding: 12px 20px;
  font-size: 0.9375rem;
  vertical-align: middle;
  border: 1px solid var(--color-border);
}

.voice__schools-table th {
  width: 120px;
  font-weight: 500;
  background-color: var(--color-bg);
  text-align: center;
}

.voice__schools-table td {
  line-height: 1.8;
  background-color: var(--color-bg);
}

/* --------------------------------------------
   採用情報ページ - よくある質問
   -------------------------------------------- */
.faq__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.faq__tab {
  padding: 12px 25px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq__tab:hover,
.faq__tab.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-white);
}

.faq__category {
  display: none;
}

.faq__category.is-active {
  display: block;
}

.faq__category-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq__item {
  background-color: var(--color-bg);
  padding: 20px;
}

.faq__question {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.faq__answer {
  font-size: 0.875rem;
  line-height: 1.8;
  padding-left: 20px;
  border-left: 3px solid var(--color-border);
}

/* --------------------------------------------
   募集要項ページ
   -------------------------------------------- */
.recruit__box {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 40px;
}

.recruit__header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.recruit__header-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.recruit__header-text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.sp-only {
  display: none;
}

.recruit__table {
  width: 100%;
  margin-bottom: 30px;
}

.recruit__table th,
.recruit__table td {
  padding: 10px 15px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
}

.recruit__table th {
  width: 120px;
  font-weight: 500;
  color: var(--color-text-light);
  background-color: var(--color-bg-gray);
}

.recruit__contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  background-color: var(--color-bg-gray);
  padding: 25px;
}

.recruit__contact-title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.recruit__contact-text {
  font-size: 0.875rem;
  line-height: 1.8;
}

.recruit__contact-mynavi{
  width: 195px;
  margin-top: 10px;
}

/* 職種情報 */
.job {
  background-color: var(--color-bg);
  padding: 30px;
  margin-bottom: 30px;
}

.job:last-child {
  margin-bottom: 0;
}

.job__title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.job__table {
  width: 100%;
}

.job__table th,
.job__table td {
  padding: 8px 15px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
}

.job__table th {
  width: 120px;
  font-weight: 500;
  background-color: var(--color-bg-gray);
}

/* --------------------------------------------
   レスポンシブ（タブレット）
   -------------------------------------------- */
@media screen and (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .header {
    align-items: center;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: block;
    width: 56px;
    height: 56px;
  }

  .hamburger__line {
    left: 13px;
    width: 30px;
  }

  .sp-nav {
    display: block;
  }

  .hero {
    height: 400px;
  }

  .hero__title-en {
    font-size: 2rem;
  }

  .hero__title-ja {
    font-size: 1rem;
  }

  .section-title__en {
    font-size: 2.8rem;
    letter-spacing: 0.1em;
  }

  .section-spacer {
    height: 60px;
  }

  .careers__grid, .company__grid {
    gap: 10px;
  }

  .business__block, .careers__content, .company__block {
    padding: 10px;
  }

  /* 下層ページ */
  .hero--sub {
    height: 400px;
  }

  .hero__watermark {
    font-size: 8rem;
  }

  .hero__label-left {
    font-size: 1.75rem;
    left: 20%;
    transform: translateX(-50%);
    bottom: 5%;
    padding-bottom: 0;
    letter-spacing: 0.2em;
    text-align: center;
  }

  .page-nav__list-company, .page-nav__list-solutions {
    width: 100%;
    margin: 0 auto;
  }

  .page-nav__list-careers {
    width: 80%;
    margin: 0 auto;
  }

  .page-nav__link {
    min-width: 120px;
    height: 50px;
    font-size: 0.8125rem;
  }

  .philosophy__keyword {
    max-width: 400px;
  }

  .philosophy__content {
    gap: 20px;
    padding: 0;
  }

  .philosophy__main {
    font-size: 1.25rem;
    line-height: 1;
  }

  .philosophy__sub {
    font-size: 0.7rem;
  }

  /* 事業内容ページ */
  .solutions__item {
    gap: 20px;
  }

  .cases__item {
    gap: 20px;
  }

  /* 採用情報ページ */
  .talent__grid {
    grid-template-columns: 1fr;
  }

  .work__roles {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .education__flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .education__step::after {
    display: none;
  }

  .requirements__grid, .voice__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .voice summary {
  min-height: 550px;
  height: auto;
  }

  /* 募集要項ページ */
  .recruit__contact {
    grid-template-columns: 1fr;
  }

  /* アクセスセクション */
  .access__office-content {
    grid-template-columns: 1fr;
  }

  /* フッター*/
  .footer__item a {
    white-space: nowrap;
  }
}

/* --------------------------------------------
   レスポンシブ（スマートフォン）
   -------------------------------------------- */
@media screen and (max-width: 768px) and (orientation: portrait) {
  :root {
    --header-height: var(--header-height-sp);
    --container-padding: 15px;
  }

  html {
    font-size: 14px;
  }
  
  a[href^="tel:"], .mail {
    color: var(--color-primary);
  }

  .header__logo {
    height: 20px;
  }

  .header__text {
    height: 15px;
    margin-left: 10px;
  }

  .hamburger {
    width: 48px;
    height: 48px;
  }

  .hamburger__line {
    left: 12px;
    width: 24px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 0;
  }

  .section-spacer {
    height: 40px;
  }

  .section.section--has-outside-title {
    padding-top: 10px;
  }

  .section-title__en {
    font-size: 2.2rem;
    letter-spacing: 0.08em;
  }

  .section-title__en--highlight::before {
    height: 0.4em;
  }

  .section__title-en--sp {
    font-size: 2rem;
    white-space: nowrap;
    letter-spacing: 0.05em;
  }

  .section-title__ja--inside {
    margin-bottom: 10px;
  }

  .hero {
    position: relative;
    height: 450px;
    margin-top: var(--header-height);
    overflow: hidden;
  }

  .hero__bg--pc {
    display: none;
  }

  .hero__bg--sp {
    display: block;
  }

  .hero__title-en {
    font-size: 1.7rem;
  }

  .hero__title-ja {
    margin-top: 5px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: 0 3px 6px rgb(0, 0, 0, 0.6);
  }

  /* ニュース */
  .news__item {
    flex-wrap: wrap;
    gap: 10px;
  }

  .news__date {
    min-width: auto;
  }

  .news__title {
    width: 100%;
  }

  /* 事業内容 */
  .business__block {
    padding-bottom: 20px;
  }

  .business__cards {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .business__card {
    height: 200px;
  }

  .business__block .btn {
    margin-top: 30px;
  }

  /* 採用情報 */
  .careers__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .careers__content {
    padding: 10px 0 20px 0;
  }

  .careers__content .btn {
    margin-top: 0;
  }

  .careers__cards {
    flex-direction: column;
    align-items: center;
  }

  .careers__card {
    max-width: 100%;
    width: 100%;
  }

  .careers__card-img {
    height: 180px;
  }

  .careers__intro {
    height: auto;
  }

  /* 企業情報 */
  .business__grid,.company__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .company__block {
    padding: 10px 0 20px 0;
  }

  .company__block .btn {
    margin-top: 20px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  /* ページトップ */
  .page-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }

  /* 下層ページ */
  .hero.hero--sub {
    height: 300px;
  }

  .hero__label-left {
    font-size: 1.25rem;
    left: 20%;
    transform: translateX(-50%);
    bottom: 5%;
    padding-bottom: 0;
    letter-spacing: 0.2em;
    text-align: center;
  }

  .hero__watermark {
    font-size: 5rem;
    bottom: auto;
    bottom: 2%;
  }

  .page-nav {
    display: none;
  }

  .page-nav__list-company,  .page-nav__list-solutions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 90%;
  }

  .page-nav__list-careers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 90%;
  }

  .page-nav__link {
    min-width: auto;
    height: 45px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  /* 企業情報ページ */
  .philosophy__keywords {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .philosophy__keyword {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 7;
  }

  .philosophy__content {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
  }

  .philosophy__content--reverse {
    flex-direction: column;
  }

  .message__content {
    flex-direction: column;
  }

  .message__image {
    order: -1;
  }

  .overview__table th {
    width: 120px;
    padding: 15px 10px;
  }

  .overview__table td {
    padding: 15px 10px;
  }

  .clients__list {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    border-bottom: none;
  }

  .clients__column {
    width: 100%;
  }

  .clients__column + .clients__column {
    border-left: none;
  }

  .clients__column li:last-child {
    border-bottom: 1px solid var(--color-border);
  }

  .history__table th {
    width: 120px;
    padding: 15px 10px;
  }

  .company__security li {
    margin-left: 20px;
  }

  .access__office {
    padding: 10px 0 20px 0;
  }

  .access__table th,
  .access__table td {
    padding: 0;
  }

  /* 事業内容ページ */
  .solutions__item {
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
  }

  .solutions__item--reverse {
    flex-direction: column;
  }

  .cases__intro {
    margin-bottom: 20px;
  }

  .cases__item {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
  }

  .cases__item--reverse {
    flex-direction: column;
  }

  .cases__item-image {
    max-width: 100%;
  }

  /* 採用情報ページ */
  .talent__grid {
    grid-template-columns: 1fr;
  }

  .talent__item {
    padding: 10px 0 20px 0;
  }

  .talent__number {
    left: -5px;
  }

  .work__roles {
    flex-direction: column;
    gap: 0;
    margin-bottom: 50px;
  }

  .work__role-image {
    max-width: 100%;
  }

  .work__role-text {
    margin-bottom: 20px;
  }

  .education__flow {
    grid-template-columns: 1fr;
  }

  .requirements__grid, .voice__grid {
    grid-template-columns: 1fr;
  }

  .voice__image {
    height: auto;
  }

  .requirements__buttons {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .faq__tabs {
    gap: 3px;
    flex-wrap: nowrap;
  }

  .faq__tab {
    padding: 8px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .faq__item {
    padding: 10px 0 20px 0
  }

  /* 募集要項ページ */
  .recruit__box {
    padding: 20px 10px;
  }

  .sp-only {
    display: inline;
  }

  .recruit__table th {
    width: 100px;
    padding: 10px;
  }

  .recruit__table td {
    padding: 10px;
  }

  .recruit__contact {
    padding: 15px;
  }

  .job {
    padding: 20px 10px;
  }

  .job__table th {
    width: 100px;
    padding: 10px;
  }

  .job__table td {
    padding: 10px;
  }

  /* フッター */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}