/* ===========================
   ベーススタイル（モバイルファースト）
   =========================== */

/* ルートの文字サイズを10pxに設定 */
html {
  font-size: 62.5%; /* 16px × 0.625 = 10px */
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
/* body 基本設定 */
body {
  font-family:
    "Noto Sans JP",
    "Segoe UI",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-size: 1.6rem; /* 16px */
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  position: relative;
}

/* 段落・リスト */
p { margin-bottom: 1.6rem; font-size: 1.6rem; }
ul, ol { margin-bottom: 1.6rem; font-size: 1.6rem; }

/* リンク */
a { color: #0073e6; text-decoration: none; }
a:hover { text-decoration: underline; }

/* セクション */
.section { padding: 2rem 0; }

.pc {
  display: none;
}
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: none;       /* 初期は非表示 */
  z-index: 9999;       /* ハンバーガーより上 */
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-top:hover {
  transform: scale(1.2);
  opacity: 0.8;
}
.red {
  color: #FF0000;
}
.strong {
  font-weight: bold;
}
/* ===========================
   ヘッダー（モバイルファースト）
=========================== */
.site-header {
  position: fixed;        /* 固定 */
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;          /* SPメニューやハンバーガーより上 */
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}

/* ロゴ */
.logo {
  margin-bottom: 8px;
  line-height: 2.8rem;
}
.logo a {
  flex-shrink: 0;
  font-size: 2.4rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
/* 右側：ナビ＋言語＋お問い合わせ＋ハンバーガー */
.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* PCナビ（初期は非表示） */
.global-nav {
  display: none;
}
.global-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav a {
  text-decoration: none;
  font-size: 1.4rem;
  color: #333;
}

/* 言語切替（スマホは sp-nav 内に） */
.lang-switch {
  display: none;
}

/* PC/SP共通で active クラスがついたリンクをハイライト */
.global-nav a.active,
.sp-nav a.active {
  color: #400DE0;            /* 青文字 */
  border-bottom: 1px solid #400DE0; /* 下線 */
}

/* ===========================
   SP用配置（ドロワー内）
=========================== */

.pc-only {
  display: none;
}

/* ハンバーガーボタン */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100; /* SPメニューより前面に表示 */
  position: relative; /* 必須 */
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
}
/* ハンバーガー開いた時は×に変化 */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* スマホ用ドロワーメニュー */
.sp-nav {
  display: none;
  background: #fff;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  border-top: 1px solid #eee;
  z-index: 1000;
}
.sp-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
}
.sp-nav li {
  border-bottom: 1px solid #eee;
}
.sp-nav a {
  display: block;
  padding: 1.2rem 2rem;
  font-size: 1.6rem;
  text-decoration: none;
  color: #333;
}

/* ハンバーガー開いたとき用（JSで .open を付与） */
.sp-nav.open {
  display: block;
}
/* スマホメニュー全画面オーバーレイ */
.sp-nav {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.95);
  transition: top 0.4s ease;
  z-index: 1000;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.sp-nav.open {
  top: 0;
}

/* メニュー内リンク */
.sp-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.sp-nav ul li {
  margin: 0.5rem 0 0;
  padding-bottom: 1rem;
}
.sp-nav ul li a {
  font-size: 2rem;
  text-decoration: none;
  color: #333;
}
.sp-nav .lang-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.sp-nav .lang-switch a {
  display: inline-block; /* 横並び確保 */
  color: #0073e6;
  text-decoration: none;
  font-size: 1.4rem;
}

/* 親ボタン：グラデ縁 */
.contact-btn,
.contact-btn-sp {
  display: inline-block;
  border-radius: 9999px;
  padding: 2px; /* 縁の厚さ */
  overflow: hidden;
  background: linear-gradient(45deg, #76AEE6, #400DE0); /* 縁用 */
}

/* aタグ内部：文字左、矢印右 */
.contact-btn a,
.contact-btn-sp a {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 左右に分ける */
  padding: 12px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  color: #000;
  background: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

/* スマホ用調整 */
.contact-btn-sp a {
  width: 100%;
  max-width: 280px;
  font-size: 1.6rem;
}

/* ホバー時：背景グラデ＋文字色白 */
.contact-btn:hover a,
.contact-btn-sp:hover a {
  background: linear-gradient(45deg, #76AEE6, #400DE0);
  color: #fff;
}

/* 丸矢印（右寄せ） */
.contact-btn a::after,
.contact-btn-sp a::after {
  content: ">";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;    /* 丸形 */
  background: #000;      /* 通常時黒丸 */
  color: #fff;           /* 通常時白矢印 */
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

/* ホバー時：白丸＋黒矢印＋右スライド */
.contact-btn:hover a::after,
.contact-btn-sp:hover a::after {
  transform: translateX(4px);
  background: #fff;
  color: #000;
}
.contact-btn {
  display: none;
}

/* 背景スクロール防止 */
body.menu-open {
  overflow: hidden;
}

/* ===========================
   フッター共通
=========================== */
.site-footer {
  background: #818A98;
  padding: 3.2rem 2rem;
  font-size: 1.4rem;
  color: #fff;
}
.foot-container p {
  font-size: 1.2rem;
}
.foot-nav-inr {
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  gap: 1rem;
  align-items: flex-start;
}

/* ナビメニュー */
.foot-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-nav ul li {
  width: calc(50% - 0.5rem); /* 2列表示 */
}

.foot-nav ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
  font-size: 1.2rem;
}

.foot-nav ul li a:hover {
  color: #0073e6;
}

/* 言語切替：スマホも横並びに固定 */
.foot-lang-switch {
  display: flex;
  gap: 0.5rem;          /* リンク間のスペース */
  flex-wrap: nowrap;     /* 改行禁止 */
  white-space: nowrap;   /* 改行禁止 */
  justify-content: flex-start;
  align-items: center;
}

/* 各リンク */
.foot-lang-switch a {
  display: inline-block;
  white-space: nowrap;   /* 改行防止 */
  color: #fff;
  font-size: 1.2rem;
}

/* 親ボタン：罫線グラデ */
.foot-contact-btn {
  display: flex;                /* 子要素をフレックス配置 */
  justify-content: center;      /* 横方向中央 */
  margin: 0 auto;
  padding: 2px;                 /* 罫線の厚み */
  border-radius: 9999px;
  background: linear-gradient(45deg, #76AEE6, #400DE0); /* 罫線グラデ */
  width: auto;                  /* 親の幅をボタンに合わせる */
  overflow: hidden;
}

/* 内部 a タグ */
.foot-contact-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  background: #fff;             /* 通常白背景 */
  transition: background 0.3s ease, color 0.3s ease;
}


/* 丸矢印 */
.foot-contact-btn a::after {
  content: ">";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  margin-left: 8px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

/* ホバー時 */
.foot-contact-btn a:hover {
  background: linear-gradient(45deg, #76AEE6, #400DE0);
  color: #fff;
}
.foot-contact-btn a:hover::after {
  transform: translateX(4px);
  background: #fff;
  color: #000;
}

/* コピーライト */
.foot-copy {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
}

.scroll-top {
  position: fixed;
  bottom: 40px;   /* 下からの距離 */
  right: 20px;    /* 右からの距離 */
  width: 50px;    /* 矢印サイズ */
  height: 50px;
  display: none;  /* 初期は非表示 */
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-top:hover {
  transform: scale(1.2);
  opacity: 0.8;
}
/* ===========================
   メインビジュアル
   =========================== */
.site-main {
  padding-bottom: 6rem;
}
.main-visual {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  margin-top: 80px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 縦横比を維持して拡大 */
  object-position: top center; /* 上側を基準に中央寄せ */
}

.slide.active {
  opacity: 1;
  z-index: 1;
}


/* ===========================
   トップページレイアウト
   =========================== */

/* 共通ボタン */
.common-btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 2px; /* 縁の厚み */
  overflow: hidden;
  background: linear-gradient(45deg, #76AEE6, #400DE0); /* 罫線用 */
}

.common-btn a {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 左文字・右矢印 */
  padding: 12px 20px;
  border-radius: 9999px;
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-weight: 300;  /* 細め */
  font-size: 1.8rem;
  text-decoration: none;
  color: #000;
  background: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}
.common-btn button {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 左文字・右矢印 */
  padding: 12px 20px;
  border-radius: 9999px;
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-weight: 300;  /* 細め */
  font-size: 1.8rem;
  text-decoration: none;
  color: #000;
  background: #fff;
  transition: background 0.3s ease, color 0.3s ease;
  width: 90%;
}
.common-btn span {
  font-family: 'Noto Sans JP', serif;
}

/* ホバー時 */
.common-btn:hover a,
.common-btn:hover button {
  background: linear-gradient(45deg, #76AEE6, #400DE0);
  color: #fff;
}

/* 右矢印 */
.common-btn a::after,
.common-btn button::after {
  content: ">";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

/* ホバー時矢印 */
.common-btn:hover a::after,
.common-btn:hover button::after {
  transform: translateX(4px);
  background: #fff;
  color: #000;
}
.common-btn a span,
.common-btn button span {
  transition: color 0.3s ease;
}

/* ホバー時に span も白抜きに */
.common-btn a:hover span,
.common-btn button:hover span {
  color: #fff;
}
/* ===========================
   トップページ共通部分 
=========================== */
.subtitle {
  display: block;
  font-size: 1.4rem;
  font-weight: normal;
  font-family: 'Noto Sans JP', sans-serif;
  color: #400DE0;
}

/* 見出し下の罫線（画面いっぱい） */
.title-line {
  position: absolute;
  top: 8.8rem; /* 見出し下あたり */
  right: 0;
  width: 100vw;
  border: none;
  border-top: 1px solid #ccc;
  margin: 0;
}
/* リード文（小見出し） */
.lead {
  font-size: 2rem;
  margin: 3rem 0 1rem;
  line-height: 1.6;
  color: #16005C;
}

/* 本文 */
.text {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
}

/* ===========================
   About Us 
=========================== */
.about-warp {
  position: relative; /* ←これで基準になる */
  overflow: visible;  /* はみ出しも見えるように */
}

/* 共通スタイル */
.about-warp .effect {
  position: absolute;
  width: 50vw;   /* モバイルは画面幅に応じて縮む */
  max-width: 200px;
  height: auto;
  pointer-events: none; /* クリックに干渉しない */
  mix-blend-mode: multiply; /* ← 乗算で合成 */
  opacity: 0.8; /* 少し透過させても自然 */
}

/* モバイル */
.effect-top {
  top: -20px;
  right: -20px;
  z-index: 50;
}
.effect-bottom {
  bottom: -80px;
  left: -20px;
  z-index: 50;
}

.about-us {
  background: #F2F3F4;      /* グレー背景 */
  border-radius: 16px;
  padding: 2rem;
  margin: 0 auto;
  width: 90%;                /* スマホは画面幅の90% */
  position: relative;
  z-index: 2;         /* スライダーの上に重なるように */
  margin-top: -100px; /* 食い込みの量を調整（例: -80px〜-150pxくらい） */
}

.about-us .container {
  max-width: 1000px;
  margin: 0 auto;
  padding-right: 1rem;
}

/* 見出し */
.about-title {
  font-size: 3rem;
  line-height: 1.2;
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-weight: 300;  /* 細め */
  color: #400DE0;
}
/* ボタン幅や配置を個別に調整 */
.about-btn {
  display: block;
  width: 80%;
  margin: 0 auto; /* センター配置 */
}
.news-btn {
  display: block;
  width: 80%;
  margin: 24px auto 0; /* センター配置 */
}

/* ===========================
   Business 
=========================== */
.business-warp {
  position: relative;
  background-image: url("../images/common/business-bg.png"); /* 背景画像 */
  background-repeat: no-repeat;
  background-position: center top 14rem; /* 上から少し下げる */
  background-size: 180% auto; /* 横幅を少し拡大（縦は自動調整） */
  padding: 4rem 0;
}
.business {
  width: 90%;                /* スマホは画面幅の90% */
  position: relative;
  margin: 90px auto 0;
}
.business .subtitle {
  margin-bottom: 0;
}
/* 見出し下の罫線（画面いっぱい） */
.business .title-line {
  top: 6.8rem; /* 見出し下あたり */
}
/* リード文（小見出し） */
.business-lead {
  font-size: 2rem;
  margin: 3rem 0 1rem;
  line-height: 1.6;
  color: #16005C;
}
.business-title {
  font-size: 3rem;
  line-height: 1.2;
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-weight: 300;  /* 細め */
  color: #400DE0;
}

.business-text {
  font-size: 1.6rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.business-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* カード全体 */
.business-cards {
  display: flex;
  flex-direction: column;
  gap: 16px; /* カード間の余白 */
}

/* 個別カード */
.business-card {
  position: relative;
  width: 100%;
  height: 150px; /* お好みで調整 */
  overflow: hidden;
  border-radius: 8px;
}

/* 背景画像 */
.business-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.business-card:hover img {
  transform: scale(1.05);
}

/* カード上の文字 */
.business-card .card-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.2rem;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 4px rgba(0,0,0,0.6);
  width: 80%;
  padding: 0 12px;
  box-sizing: border-box;
}

/* 右下の矢印ボタン */
.business-card .circle-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8) url("../images/common/icon-arrow.svg") no-repeat center center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 右向き矢印 */
.circle-btn.right-arrow {
  transform: rotate(0deg);
}

/* 下向き矢印 */
.circle-btn.down-arrow {
  transform: rotate(90deg);
}
/* ===========================
   News 
=========================== */
.news {
  background: #fff;
  width: 90%;                /* スマホは画面幅の90% */
  position: relative;
  margin: 90px auto 0;
}

.news-title {
  font-size: 3rem;
  line-height: 1.2;
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-weight: 300;  /* 細め */
  color: #400DE0;
}

.news .subtitle {
  margin-bottom: 0;
}
/* 見出し下の罫線（画面いっぱい） */
.news .title-line {
  top: 6.8rem; /* 見出し下あたり */
}

.news-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.news-list li {
  border-bottom: 1px solid #ddd;
}

.news-list a {
  display: flex;
  flex-direction: column; /* スマホは縦積み */
  padding: 12px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-list a:hover {
  color: #0073e6;
}

.news-list time {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 4px; /* タイトルと間隔 */
}

.news-text {
  line-height: 1.4;
  word-break: break-word;
}

/* ===========================
   トップページ下層ページボタン 
=========================== */
.linkbtn-pages {
  background: #fff;
  width: 90%;                /* スマホは画面幅の90% */
  position: relative;
  margin: 90px auto 0;
}
.linkbtn-pages-cards {
  display: grid;
  grid-template-columns: 1fr; /* モバイル: 1列 */
  gap: 16px;
}

.linkbtn-pages-card {
  background: #fff; /* テキスト背景 */
  border-radius: 0;
}

.linkbtn-pages-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.linkbtn-pages-card:hover img {
  transform: scale(1.1);
}
.card-image {
  position: relative;
  overflow: hidden;  
  border-radius: 16px; 
}
/* オーバーレイ（ボタンだけ） */
.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 16px;
  pointer-events: none; /* ←画像部分を邪魔しない */
}

.linkbtn-pages .common-btn {
  position: relative;
  z-index: 10;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 280px;
  pointer-events: auto; /* ←ボタンはクリックできる */
}

.linkbtn-pages .common-btn span {
  color: #400DE0;
  font-size: 1.4rem;
}

/* テキスト（画像の下に表示） */
.linkbtn-pages-card p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #333;
  padding: 12px;
  background: #fff;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;     /* スマホは左右中央 */
  align-items: flex-end;       /* 下寄せ */
  padding-bottom: 16px;        /* 下余白 */
}

.linkbtn-pages .common-btn {
  position: absolute;
  z-index: 10;
  bottom: 16px;        /* 高さは任意で調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 280px; /* 上限を決めておくと崩れにくい */
}
.linkbtn-pages .common-btn span {
  color: #400DE0;
  font-size: 1.4rem;
}
.linkbtn-pages-card.wide .card-image {
  aspect-ratio: 5 / 3;   /* 横幅に対して縦を少し短く */
  width: 100%;
  overflow: hidden;
}

.linkbtn-pages-card.wide .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 枠いっぱいに収める */
  object-position: center;
}

/* ===========================
   下層ページ共通部分
=========================== */
.site-low {
  margin-top: 80px;
  padding-bottom: 6rem;
}
.sub-page-header .container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* 見出し */
.sub-page-title {
  font-size: 4rem;
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-weight: 300;
  color: #400DE0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.5rem; /* 文字間の余白 */
  flex-wrap: wrap; /* モバイルで折り返し可能 */
}

/* 小見出し（和文） */
.sub-page-subtitle {
  font-size: 1.6rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #333;
  position: relative;
  padding-left: 2rem; /* 左にスペース */
}

/* 小見出し前に｜を表示 */
.sub-page-subtitle::before {
  content: "｜";
  color: #400DE0;
  position: absolute;
  left: 0;
}

/* パンくず */
.breadcrumb ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.3rem;
  flex-wrap: wrap; /* モバイルは改行可能 */
  font-size: 1.2rem;
  color: #666;
  margin-top: 1rem;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 0.3rem;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: #0073e6;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ===========================
   About us
=========================== */
.about-us-hero {
  width: 100%;
  max-width: 1000px;   /* PC最大幅 */
  margin: 0 auto;
  overflow: hidden;     /* 角丸を効かせる */
}

.about-us-hero img {
  width: 100%;
  display: block;       /* 下の余白を消す */
}

.about-us-hero h2 {
  font-size: 3rem;
  text-align: center;
  margin: 24px 0 0;    /* 上に余白をあける */
  color: #16005C;
  font-weight: normal;
}

.about-us-philosophy {
  width: 90%;
  max-width: 1000px;
  margin: 90px auto 0;
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  gap: 16px;
}

.philosophy-title h3 {
  font-size: 2.2rem;
  font-weight: normal;
  color: #16005C;
  margin: 0;
}

.philosophy-text p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}
.about-us-ceo {
  width: 90%;        /* スマホは画面幅の90% */
  max-width: 1000px; /* PCは1000px固定 */
  margin: 4rem auto 0; /* 上下余白 */
  text-align: right; /* 右揃え */
}

.about-us-ceo .ceo-position {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.about-us-ceo .ceo-name {
  font-size: 2rem;   /* 名前だけ少し大きく */
  font-weight: bold;
  color: #000;
}

/* ===========================
   business
=========================== */
.business-page-wrap {
  width: 90%;
  margin: 0 auto;
  padding: 0;
}
.business-page-wrap .business-cards {
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 2rem;              /* カード間の余白 */
}

.business-page-wrap .business-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
  aspect-ratio: 6 / 2; /* スマホは横長長方形 */
}

.business-page-wrap .business-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.3s ease;
}

.business-page-wrap .business-card:hover img {
  transform: scale(1.05); /* 枠内で少し拡大 */
}
#strength {
  margin-top: 6rem;
  scroll-margin-top: 100px; /* 固定ヘッダー分の余白 */
}
.strength-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: normal;
  color: #16005C;
}

.strength-content {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
  gap: 1.5rem;
}

.strength-text ul {
  line-height: 1.6;
}

.strength-text li {
  margin-bottom: 0.5rem;
}

.strength-image {
  width: 100%;
  height: 280px;          /* モバイル時の高さ */
  border-radius: 8px;
  overflow: hidden;       /* はみ出し防止 */
}

.strength-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 枠いっぱいに拡大 */
  object-position: center;
  display: block;
  transform: scale(1.1);  /* 中央を拡大 */
}
#working-process {
  margin-top: 6rem;
  scroll-margin-top: 100px; /* 固定ヘッダー分の余白 */
}

.quality-section {
  margin-top: 3.6rem;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 24px 0;
}

.quality-section .quality-cards {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
  gap: 1rem;
}
.quality-section .quality-cards a {
  color: #333;
}

.quality-section .quality-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.quality-section .quality-card .down-arrow {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('../images/common/icon-arrow.svg') no-repeat center;
  background-size: contain;
  transform: rotate(90deg); /* 常に下向き */
  transition: transform 0.3s ease;
}

.quality-section .quality-card:hover .down-arrow {
  transform: translateY(4px) rotate(90deg); /* 先に translateY */
}

.quality-content-wrap {
  margin-top: 6rem;
}
.quality-content-item {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
  gap: 1rem;
  margin-bottom: 3rem;
  scroll-margin-top: 100px; /* 固定ヘッダー分の余白 */
}

.number-title {
  display: flex;
  align-items: center;
  gap: 1rem; /* 数字と見出しの間隔 */
}

.number {
  color: #400DE0;
  font-size: 2.4rem;
  font-weight: bold;
  border-bottom: 1px solid #C3C3C4; /* 下線 */
  padding-bottom: 0.25rem;
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-weight: 300;
}

.quality-content-title {
  font-size: 2.2rem;
  color: #16005C;
  font-weight: normal;
  margin: 0;
  padding-left: 2rem;
}

.quality-content-text {
  line-height: 2;
  padding-top: 3rem;
}

.quality-content-right img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.process-content-item {
  width: 100%;
  margin: 70px auto 0;
  scroll-margin-top: 100px; /* 固定ヘッダー分の余白 */
}

.process-content-item .process-image-wrapper {
  position: relative;
  width: 100%;      /* 親要素にフィット */
  max-width: 100%;  /* はみ出さないように */
  height: 60vw;     /* 縦横比調整 */
  overflow: hidden;
  margin: 0 auto;
}

.process-content-item .process-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.process-content-item .process-image-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 0 1rem;
  white-space: normal;       /* 改行可能 */
  line-height: 1.6;
  width: 90%;            /* スマホでは画面幅に合わせる */
  font-size: 2rem;           /* スマホ向けサイズ */
}

.process-content-item .process-lead {
  width: 90%;
  margin: 0 auto;
  max-width: 1000px;
}
.process-content-item .process-lead p {
  margin-top: 24px;
}
.process-content-item .process-lead p .note {
  font-size: 1.4rem;
}
.flow-section {
  padding: 2rem 1rem;
  background: #fff;
}

.flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 90%;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* 取扱商品 */
.product-toc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  margin-top: 6rem;
  scroll-margin-top: 100px; /* 固定ヘッダー分の余白 */
}
.product-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: #333;
  padding: 8px;
  border-bottom: 1px solid #C3C3C4;
}

.product-link:hover {
  background: #F7F7F8;
}

/* 左側アイコン+名前 */
.left-side {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  width: auto; /* もしくは max-content でテキスト幅に合わせる */
}
.product-icon {
  width: 50px;
  height: 50px;
  margin-right: 1.5rem;
}

.product-name {
  font-size: 1.4rem;
}

/* 矢印 */
.product-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  transition: transform 0.2s ease; /* アニメーション追加 */
}

/* ホバー時に矢印を下に移動 */
.product-link:hover .product-arrow {
  transform: translateY(4px); /* 下に4px移動 */
}

.product-category {
  margin-bottom: 2.4rem;
  scroll-margin-top: 100px; /* 固定ヘッダー分の余白 */
}
/* カテゴリー名 */
.category-title {
  background-color: #E9EFFB; /* 薄い青 */
  color: #16005C;           /* 青文字 */
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  font-weight: normal;
}

/* 表ヘッダー（スマホは縦並び） */
.product-table-header {
  display: flex;
  flex-direction: column;  /* モバイルは縦並び */
  gap: 0.25rem;
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 1rem;
  font-weight: normal;
  margin-bottom: 1.2rem;
}

.product-name-jp,
.product-name-en {
  text-align: left; /* 左揃え */
  flex: 1;
}

/* 製品リスト */
.product-table {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.product-table p {
  font-size: 1.4rem;
}
.product-row {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #F7F7F8;
}

.product-row .product-name-jp,
.product-row .product-name-en {
  text-align: left;
}

/* ===========================
   企業情報
=========================== */
.company-warp {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
/* ページリンクボタン */
.company-nav {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
  gap: 2rem;
  margin-bottom: 2rem;
}

.company-btn {
  display: block;
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  border: 1px solid #818A98;
  border-radius: 8px;
  background: #fff;
  transition: all 0.3s ease;
}

.company-btn:hover {
  background: #818A98;
  color: #fff;
  text-decoration: none;
}

/* アクティブ状態 */
.company-btn.active {
  background: #818A98;
  color: #fff;
}
.company-overview {
  padding: 2rem 0;
}

.companypage-title {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
}
.category-block {
  margin-bottom: 2rem;  /* カテゴリー間の余白 */
}
.category-block p {
  padding: 0 1rem;
  margin-bottom: 4rem;
}

.company-category-title {
  font-size: 1.8rem;
  color: #16005C; /* 青文字 */
  margin-bottom: 1rem;
  background: #E9EFFB;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: normal;
}

/* テキストリスト（モバイル：縦並び） */
.overview-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overview-list li {
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #C3C3C4;
}
/* 共通：マップ枠 */
.map-wrapper {
  margin: 1.5rem 0;
}

.map-container {
  position: relative;
  width: 100%;
  height: 200px; /* スマホ用の高さ */
  overflow: hidden;
  border-radius: 8px;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ボタンをマップの下で右端に寄せる */
.map-link-wrapper {
  display: flex;
  width: 100%;
  justify-content: flex-end; /* 親で右端に寄せる */
  margin-top: 0.5rem;
}

.map-btn {
  display: inline-flex;       /* 横並び */
  align-items: center;        /* 縦中央揃え */
  gap: 0.5rem;                /* アイコンと文字の間隔 */
  padding: 0.5rem 1rem;
  background: #fff;
  color: #333;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
}

.map-icon {
  display: block;
  width: 16px;   /* アイコンの幅 */
  height: 16px;  /* アイコンの高さ */
}

.history-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1rem 0;
}
/* 各沿革アイテム */
.history-item {
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #C3C3C4;
}

/* 年 */
.history-year {
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-size: 2.8rem;       /* 大きめ */
  font-weight: 300;        /* 細字 */
  color: #400DE0;          /* 青文字 */
}
.history-block .last-txt {
  padding: 0;
}
/* 共通：パートナーリスト */
.partners-container {
  display: flex;
  flex-direction: column; /* スマホ:縦並び */
  gap: 1rem;
}

.partners-grid {
  display: flex;
  flex-direction: column; /* グリッド内は縦1列 */
  gap: 0.5rem;
}

.partner {
  padding: 0.5rem 1rem;
  text-align: left;
}
/* ===========================
   ニュース一覧
=========================== */
.news-list-warp {
  padding: 60px 0;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.news-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ddd;
}

.news-items li {
  border-bottom: 1px solid #ddd;
  padding: 15px 10px;
  display: flex;
  flex-direction: column; /* スマホは縦並び */
}

.news-items li .date {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.news-items li a {
  text-decoration: none;
  line-height: 1.6;
}

.news-items li a:hover {
  text-decoration: underline;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px; /* ボタンの間隔 */
  margin-top: 30px;
  flex-wrap: wrap; /* 画面が狭い時は折り返し */
}

.pagination a {
  padding: 6px 12px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.2rem;
  min-width: 32px;
  text-align: center;
}

.pagination a.current {
  background: #333;
  color: #fff;
  pointer-events: none;
}

.pagination a:hover:not(.current) {
  background: #f0f0f0;
}

/* ===========================
   ニュース詳細
=========================== */
.news-details-warp {
  padding: 60px 0;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
.news-details-warp .date {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 10px;
}

.news-details-warp .news-titlename {
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 2rem;
}

.news-details-warp .news-content {
  line-height: 1.8;
  margin-bottom: 40px;
}

.news-pagination {
  display: flex;
  justify-content: space-between; /* 左・中央・右配置 */
  align-items: center;
  text-align: center;
}

.news-pagination a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  padding: 8px 12px;
  border-radius: 4px;
}

/* ===========================
   採用情報
=========================== */
.recruit-page-wrap {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}
.recruit-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruit-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.recruit-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.recruit-card:hover img {
  transform: scale(1.05);
}

.recruit-card .card-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  z-index: 10;
}

/* 右下の矢印ボタン */
.recruit-card .circle-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8) url("../images/common/icon-arrow.svg") no-repeat center center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 右向き矢印 */
.circle-btn.right-arrow {
  transform: rotate(0deg);
}

/* 下向き矢印 */
.circle-btn.down-arrow {
  transform: rotate(90deg);
}

.recruit-page-wrap .recruit-btn {
  display: block;       /* ブロックにして中央寄せ */
  width: max-content;   /* ボタン幅は内容に合わせる */
  margin: 2rem auto 0;  /* 上余白2rem、左右中央 */
  width: 90%;
  max-width: 600px;
}
/* 個別ボタンの a タグ */
.recruit-page-wrap .recruit-btn a {
  font-size: 1.4rem;       /* 文字サイズを個別に変更 */
  font-family: 'Noto Sans JP', serif;
}
.recruit-overview {
  padding: 2rem 0;
}

.recruitpage-title {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
}
.recruit-newgrad {
  margin-bottom: 5.6rem;
}
.recruit-category-title {
  font-size: 1.8rem;
  color: #16005C; /* 青文字 */
  margin-bottom: 1rem;
  background: #E9EFFB;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: normal;
}

.recruit-section-title {
  background-color: #f5f5f5; /* 薄いグレー */
  font-size: 1.8rem;
  font-weight: normal;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.recruit-info {
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  gap: 1rem;
}

.recruit-item {
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  border-bottom: 1px solid #C3C3C4;
  padding: 0 1rem 2rem;
  margin-bottom: 1rem;
}

.item-name {
  margin-bottom: 0.5rem;
  width: 100%;
}

.item-text {
  width: 100%;
  line-height: 1.5;
}
.recruit-entry-txt {
  padding-top: 4rem;
}
.career-table-section {
  margin-bottom: 4rem;
}
.career-table {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
  border-top: 1px solid #C3C3C4;
  border-bottom: 1px solid #C3C3C4;
}

.career-row {
  display: flex;
  border-bottom: 1px solid #C3C3C4;
}

.career-row:last-child {
  border-bottom: none;
}

.career-head {
  flex: 0 0 120px; /* 見出し幅 */
  font-weight: bold;
  background: #F5F5F5;
  padding: 2rem 2rem 2rem 1rem;
  border-right: 1px solid #C3C3C4;
}

.career-data {
  flex: 1;
  color: #555;
  line-height: 1.6;
  padding: 2rem 2rem 2rem 1rem;
}

/* ===========================
   プライバシーポリシー
=========================== */
.privacy-page {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 4rem;
}

/* 見出し */
.privacy-title {
  font-size: 1.6rem;
  font-weight: normal;
  border-bottom: 1px solid #818A98; /* 下線 */
  padding-bottom: 0.5rem;     /* 下線と文字の間隔 */
  margin-bottom: 2rem;
}

/* ===============================
   サイトマップページ
=============================== */
.sitemap-page {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem; /* グループ間の余白 */
  width: 90%;
  margin: 0 auto;
  max-width: 1000px;
}
.sitemap-group {
  padding-bottom: 2rem;
  border-bottom: 1px solid #818A98;
  line-height: 4rem;
}
.sitemap-group a {
  color: #333;
}
.sitemap-group span {
  color: #375183;
}

.sitemap-group .col-2 {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* カラム間の縦の余白 */
}
/* col-2 内の ul は均等幅に */
.sitemap-group .col-2 > ul {
  flex: 1;
  list-style: none; /* マーカーを消す */
  margin: 0;        /* デフォルトマージンをリセット */
  padding: 0;
}
.sitemap-group .col-2 > ul > li > ul {
  margin-left: 2rem;
}
/* デフォルト：スマホは縦並び */
.sitemap-group .col-1 > ul > li > ul {
  display: block;       /* 子項目を縦並び */
  margin-left: 2rem;
  gap: 0;
}

/* 各子 li（強み / プロセス / 製品）も縦並び */
.sitemap-group .col-1 > ul > li > ul > li {
  display: block;
  margin-bottom: 0.5rem;
  list-style: none;
}

/* その下の ul（さらに子項目）は縦並び */
.sitemap-group .col-1 > ul > li > ul > li > ul {
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}
.sitemap-group .col-3 > ul {
  display: block;       /* 各ulを縦に並べる */
  margin-bottom: 1.5rem;
}

.sitemap-group .col-3 > ul > li {
  list-style: none;
}

.sitemap-group .col-3 > ul > li > ul {
  margin-left: 2rem;   /* 子リストのインデント */
}

/* ===========================
   お問い合わせフォーム
=========================== */
.contact-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-container .lead {
  font-size: 1.6rem;
}
.contact-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
}

.contact-form label {
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s;
}
/* ラジオボタングループ */
.radio-group {
  display: inline-flex;    /* inline-flexで左寄せ */
  flex-wrap: wrap;         /* 横に入りきらない場合は改行 */
  gap: 0 20px;             /* 横の間隔だけ指定、縦は行間で調整 */
}

.radio-option {
  display: inline-flex;    /* ボタン+ラベルを1行に */
  align-items: center;
  gap: 6px;
  white-space: nowrap;     /* テキストを折り返さない */
}

.radio-option input[type="radio"] {
  margin: 0; /* 余白をリセットして左寄せを保つ */
}

/* 個人情報保護方針 同意チェック */
.privacy-check label {
  display: flex;
  align-items: center;  /* 縦位置を中央揃え */
  justify-content: center;
  gap: 8px;             /* チェックと文字の間隔 */
  font-size: 1.4rem;
  cursor: pointer;
}

.privacy-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
}
/* フォーム専用の共通ボタン調整 */
.common-btn.form-btn {
  display: block;
  width: 90%;
  max-width: 300px;   /* 幅の上限 */
  margin: 30px auto;  /* 中央揃え */
}
.contact-form .form-btn a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
}
.contact-form .form-btn button {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  width: 100%;
}
/* リセットボタン */
.reset-btn button {
  display: block;
  width: 60%;
  max-width: 240px;
  padding: 12px 20px;
  font-size: 1.4rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0 auto;
}

.reset-btn button:hover {
  background: #e0e0e0;
}
/* ===========================
   PC表示用
=========================== */

/* ===========================
   ヘッダー（モバイルファースト）
=========================== */
@media screen and (min-width: 1140px) {
.site-header {
  position: fixed;        /* 固定 */
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;          /* SPメニューやハンバーガーより上 */
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}

/* ロゴ */
.logo {
  margin-bottom: 8px;
  line-height: 2.8rem;
}
.logo a {
  flex-shrink: 0;
  font-size: 2.4rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
/* 右側：ナビ＋言語＋お問い合わせ＋ハンバーガー */
.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* PCナビ（初期は非表示） */
.global-nav {
  display: none;
}
.global-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav a {
  text-decoration: none;
  font-size: 1.4rem;
  color: #333;
  transition: color 0.3s ease;
}
.global-nav a:hover {
  color: #400DE0;
  border-bottom: 1px solid #400DE0; /* 下線 */
}

/* 言語切替（スマホは sp-nav 内に） */
.lang-switch {
  display: none;
}
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
  .pc {
    display: block;
  }  
  .hamburger,
  .sp-nav {
    display: none;
  }
  .global-nav {
    display: block;
  }
  .lang-switch {
    display: block;
  }
  .lang-switch a {
    font-size: 1.4rem;
    color: #333;
  }
  .lang-switch a.active {
    color: #000;
    text-decoration: underline;
  }
  .pc-only {
    display: inline-block;
  }
  .header-inner {
    gap: 2rem;
  }
  .contact-btn {
    display: block;
    width: 194px;
  }
  .contact-btn a {
    padding: 14px 28px;
    font-size: 1.6rem;
  }
  .contact-btn a::after {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
  }
  /* レスポンシブ：タブレット以上 */
  .foot-nav-inr {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: nowrap;          /* 改行禁止 */
  }

  .foot-nav ul {
    display: flex;
    gap: 2rem;                  /* リンク間の間隔 */
    flex-wrap: nowrap;           /* 改行禁止 */
    margin: 0;
    padding: 0;
  }

  .foot-nav ul li {
    width: auto;                /* 自動幅 */
    white-space: nowrap;        /* 改行防止 */
  }

  .foot-nav ul li a {
    white-space: nowrap;        /* 改行防止 */
  }

  .foot-lang-switch {
    display: flex;
    gap: 1rem;        /* 言語リンク間のスペース */
    margin-left: 2rem;
    white-space: nowrap;
  }


  /* 言語リンクのすぐ右にボタンを並べる */
  .foot-contact-btn {
    width: auto; /* 親はテキストに合わせる */
    margin: 0;   /* 左寄せ用 */
  }

  .foot-contact-btn a {
    width: 220px;            /* ボタン幅を固定 */
    white-space: nowrap;      /* 改行を防ぐ */
    padding: 14px 28px;
    font-size: 1.6rem;
  }

  .foot-contact-btn a::after {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
  }
  /* コピーライト */
  .foot-copy {
    text-align: left;
  }
  /* メインビジュアル */
  .main-visual {
    height: 860px;
    margin-top: 80px;
    overflow: hidden; /* 余計なはみ出しは隠す */
  }

  .slide img {
    width: 100%;
    height: 100%;          /* ボックスの高さに合わせる */
    object-fit: cover;     /* 画像をトリミングしてフィット */
    object-position: top center; /* 上を基準に表示 */
  }
  /* トップページコンテンツ */
  .bg-deco {
    position: absolute;
    width: 360px;   /* デフォルトサイズ（調整OK） */
    height: auto;
    opacity: 0.6;   /* 薄く */
    z-index: 5;    /* 背景に回す */
  }

  /* --- スマホデフォルト (～767px) --- */
  .deco-top {
    top: 80px;
    right: -160px;
  }

  .deco-bottom {
    bottom: -80px;
    left: -160px;
  }
  .about-us {
    max-width: 1000px;        /* PCで固定幅 */
    margin: 0 auto;       /* 中央寄せ */
    border-radius: 1.2rem; /* 角丸は維持 */
    padding: 5rem 0 5rem 12rem;
    margin-top: -60px; /* 食い込みの量を調整（例: -80px〜-150pxくらい） */
  }
  .slide img {
    width: 100%;
    height: 100%;         /* ボックスの高さに固定 */
    object-fit: cover;    /* ボックスに合わせてトリミング */
    object-position: top center;
  }
  .about-title {
    writing-mode: vertical-rl;  /* 縦書き */
    background: #F2F3F4;        /* グレー背景 */
    padding: 0.5rem 1rem;       /* 背景との余白 */
    margin-right: 2rem;          /* 罫線や文章とのスペース */
    position: absolute;
    left: 3rem;
    top: 6rem;
    z-index: 50;
  }
  /* リード文（小見出し） */
  .lead {
    font-size: 2.8rem;
    margin-bottom: 4rem;
  }
  .about-btn {
    display: block;
    width: 300px;
    margin-left: 0;
  }
  .news-btn {
    display: block;
    max-width: 300px;
    margin: 24px auto 0; /* センター配置 */
  }
  /* 本文 */
  .text {
    line-height: 2.4;
    margin-bottom: 4rem;
  }
  .business-warp {
    background-position: center top 30rem; /* 位置を少し下げる */
    background-size: 110%; /* PCは少し拡大配置 */
    padding: 6rem 0; /* 上下の余白も広め */
  }
  .business {
    max-width: 1000px;        /* PCで固定幅 */
    border-radius: 1.2rem; /* 角丸は維持 */
  }
  .business .subtitle {
    padding-left: 12rem;
    padding-top: 3.2rem;
  }
  /* リード文（小見出し） */
  .business-lead {
    font-size: 2.8rem;
    margin: 3rem 0 1rem;
    line-height: 1.6;
    color: #16005C;
    padding-left: 12rem;
  }
  .business-title {
    writing-mode: vertical-rl;  /* 縦書き */
    background: #fff;        /* グレー背景 */
    padding: 0.5rem 1rem;       /* 背景との余白 */
    margin-right: 2rem;          /* 罫線や文章とのスペース */
    position: absolute;
    left: 3rem;
    top: 6rem;
    z-index: 50;
  }
  .business-cards {
    flex-direction: row;   /* 横並びに変更 */
    flex-wrap: wrap;   /* 折り返し許可 */
    justify-content: flex-start; /* 左寄せ（デフォルトだが明示すると安心） */
    gap: 68px;         /* PCは余白少し広め */
  }
  .business-card {
    flex: 1;               /* 均等幅 */
    aspect-ratio: 3 / 2;   /* 正方形に近い */
    height: auto;          /* 高さは aspect-ratio に合わせる */
  }
  /* カード上の文字 */
  .business-card .card-text {
    font-size: 3rem;
  }

  .business-text {
    padding-left: 12rem;
  }

  .news {
    max-width: 1000px;        /* PCで固定幅 */
  }
  .news .subtitle {
    padding-left: 12rem;
    padding-top: 3.2rem;
  }
  .news-title {
    writing-mode: vertical-rl;  /* 縦書き */
    background: #fff;        /* グレー背景 */
    padding: 0.5rem 1rem;       /* 背景との余白 */
    margin-right: 2rem;          /* 罫線や文章とのスペース */
    position: absolute;
    left: 3rem;
    top: 6rem;
    z-index: 50;
  }
  .news-list {
    padding-left: 12rem;
    padding-top: 3.2rem;
  }
  .news-list a {
    flex-direction: row;   /* 横並び */
    align-items: center;
  }

  .news-list time {
    margin-bottom: 0;      /* 下の余白を消す */
    margin-right: 16px;    /* タイトルとの間隔 */
    flex-shrink: 0;        /* 幅を固定 */
  }
  .linkbtn-pages {
    max-width: 1000px;        /* PCで固定幅 */
  }
  .linkbtn-pages-cards {
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 24px;
  }

  .linkbtn-pages-card.wide {
    grid-column: span 2;       /* 横幅いっぱい */
    aspect-ratio: 16 / 4;      /* 横長比率 */
  }

  .linkbtn-pages-card.wide .card-image {
    aspect-ratio: auto;         /* PCではカードに合わせる */
  }
  .card-overlay {
    justify-content: flex-end; /* PCは右寄せ */
    padding-right: 16px;       /* 右余白 */
    padding-bottom: 16px;      /* 下余白（調整可） */
  }

  .linkbtn-pages .common-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;   /* 右寄せ */
    left: auto;    /* 左側を解除 */
    transform: none; /* 中央寄せ用 transform を解除 */
    min-width: 280;  /* 上限も解除したい場合 */
    margin: 0;
  }
  .about-warp .effect {
    width: 320px; /* PCはちょっと大きめで安定 */
    max-width: none; /* PCでは固定幅でもOK */
  }
  .effect-top {
    top: -80px;
    right: 120px;  /* 右上 */
  }
  .effect-bottom {
    bottom: -60px;
    left: auto;
    right: 100px;  /* 右下 */
  }

  /* ===========================
    PC下層部分共通
  =========================== */
  .sub-page-header .container {
    max-width: 1000px;
    padding: 4rem 0;
  }

  .sub-page-title {
    font-size: 4rem;
  }

  .sub-page-subtitle {
    font-size: 1.8rem;
  }

  .breadcrumb {
    font-size: 1.4rem;
  }

  .breadcrumb ol {
    gap: 0.5rem;
  }

  /* About us */
  .about-us-hero-img {
    border-radius: 1.2rem;
    overflow: hidden;   /* 角丸を反映するために必須 */
  }

  .about-us-hero-img img {
    width: 100%;
    display: block;     /* 下の余白を消す */
  }
  .about-us-hero h2 {
    font-size: 4rem;
    margin: 24px 0 0;    /* 上に余白をあける */
  }
  .about-us-philosophy {
    display: flex;
    flex-direction: row;       /* 左右並び */
    gap: 48px;
  }

  .philosophy-title {
    flex: 0 0 200px;           /* 左側の幅を固定 */
    text-align: left;
  }

  .philosophy-text {
    flex: 1;                   /* 右側の本文が残り幅を使う */
  }

  .philosophy-title h3 {
    font-size: 2.4rem;
  }

  .philosophy-text p {
    font-size: 1.8rem;
  }
  /* ===========================
    business
  =========================== */
  .business-page-wrap {
    max-width: 1000px;   /* PCは固定幅 */
  }
  .business-page-wrap .business-cards {
    flex-direction: row;
    justify-content: space-between;
  }

  .business-page-wrap .business-card .card-text {
    font-size: 2.2rem;
    width: 90%;
  }
  .business-page-wrap .business-card {
    flex: 1;
    max-width: 32%;
    aspect-ratio: 4 / 2; /* PCも同じ比率にするか、必要なら変更可能 */
  }
  .strength-image {
    height: auto;         /* PCでは高さ自動 */
  }
  .strength-image img {
    transform: none;      /* 拡大なし */
  }
  .quality-content-wrap {
    margin-top: 9rem;
  }
  .quality-section .quality-cards {
    flex-direction: row;
    justify-content: center;
    gap: 12vw; /* 画面幅の12%を間隔に */
  }
  .quality-section .quality-card {
    align-items: center;
    flex: 0 0 200px; /* 幅固定はそのままでもOK */
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .quality-section .quality-card .down-arrow {
    margin-top: 0.5rem; /* 矢印とテキストの間隔 */
  }
  .quality-content-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem; /* 横の余白 */
    margin-bottom: 9rem;
  }
  .quality-content-item:last-child {
    margin-bottom: 0; /* PCでも最後だけ余白なし */
  }
  .quality-content-left {
    flex: 1;
  }
  .quality-content-right {
    flex: 1;
  }
  .process-content-item .process-image-wrapper {
    width: 1000px;       /* 最大幅 */
    height: 400px;       /* 固定高さ */
    margin: 0 auto;
    border-radius: 12px;
  }
  .process-content-item .process-image-wrapper img {
    height: 400px;       /* 高さ固定 */
    object-fit: cover;   /* 歪みなく中央を維持 */
    border-radius: 12px;
  }
  .process-content-item .process-image-title {
    font-size: 2.5rem;   /* PC向けサイズに調整 */
    width: 80%;          /* 少し余白増やす */
  }

  .process-content-item .process-image-title {
    font-size: 2.5rem;       /* PCで少し大きく */
    max-width: 100%;         /* 幅を広げて1行に収める */
    white-space: nowrap;      /* 改行させず1行に */
  }
  /* 取扱商品 */
  .product-toc {
    flex-direction: row;
    flex-wrap: wrap;       /* 複数行に折り返し */
    gap: 1rem 2rem;        /* 縦1rem、横2remの間隔 */
  }

  .product-link {
    flex: 1 1 calc(50% - 1rem); /* 2列にする幅を計算 */
  }
  .product-table-header {
    flex-direction: row;   /* 横並び */
    justify-content: space-between;
    align-items: center;
  }
  .product-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .product-name-jp,
  .product-name-en {
    flex: 1;
  }
  /* ===========================
    企業情報
  =========================== */
  .company-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .company-btn {
    flex: 1 1 calc(50% - 0.5rem); /* 2列 */
  }
  .overview-list li {
    flex-direction: row;       /* 左右並び */
    justify-content: flex-start;
    gap: 1rem;                /* 名前と値の間隔 */
  }
  .item-name {
    width: 120px;             /* 固定幅で揃える */
    text-align: left;
  }
  .item-value {
    flex: 1;                  /* 残りスペースを使用 */
  }
  .map-wrapper {
    max-width: 1000px;   /* PCでは横幅を制限 */
    margin: 1.5rem auto;
  }
  .map-container {
    height: 450px; /* PC用の高さ */
  }
  .map-btn {
    font-size: 1.4rem;
    padding: 0.6rem 1.2rem;
  }
  .history-item {
    flex-direction: row;
    align-items: center; /* ← 中央揃えに変更 */
  }
  .history-year {
    text-align: left;
    font-size: 3.8rem;
    margin-right: 6rem;
  }
  .history-month {
    text-align: left;
    width: 60px;
  }
  .history-text {
    flex: 1;
  }
  .history-block .last-txt {
    margin-left: 14rem;
  }
  .partners-container {
    flex-direction: row;      /* 横並びにする */
    gap: 2rem;               /* カラム間の間隔 */
    justify-content: space-between;
  }

  .partners-grid {
    flex: 1;                 /* 3列均等 */
  }
  /* ===========================
    採用情報
  =========================== */
  .recruit-cards {
    flex-direction: row;            /* 横並びに切り替え */
    justify-content: space-between; /* カード間の余白を均等に */
    margin: 0 auto;                 /* 親 max-width に合わせて中央寄せ */
    gap: 60px;                       /* カード間の中央余白 */
  }

  .recruit-card {
    flex: 1;                         /* 均等幅 */
    max-width: calc((100% - 32px) / 2); /* gap分を差し引いた幅 */
  }
  .recruit-card .card-text {
    font-size: 3rem;
  }
  /* a の中身は既存の flex を維持 */
  .recruit-page-wrap .recruit-btn a {
    font-size: 2rem;
  }
  .recruit-info {
    flex-direction: column; /* 必要に応じて縦並びのままでもOK */
  }

  .recruit-item {
    flex-direction: row;      /* 横並び */
    align-items: flex-start;
    gap: 1rem;
  }

  .item-name {
    flex: 0 0 200px;          /* 項目名の固定幅 */
  }

  .item-text {
    flex: 1;                   /* 本文は残り幅いっぱい */
  }
  .recruit-entry-txt {
    text-align: center;
    padding-top: 4rem;
  }
  .career-table {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }

  .career-row {
    display: block;         /* 各セルをブロック化 */
    text-align: center;
    border-right: 1px solid #C3C3C4;
    border-bottom: none;
  }
  .career-row:nth-child(4n) {
    border-right: none;
  }
  .career-head {
    border-bottom: 1px solid #C3C3C4;
    text-align: left;
  }
  .career-table:last-child .career-head {
    border-right: none;
  }
  .career-data {
    text-align: left;
  }
  /* ===========================
    サイトマップ
  =========================== */
  .sitemap-group .col-2 {
    flex-direction: row;
    width: 66.666666%;
  }
  .sitemap-group .col-1 > ul > li > ul {
    display: flex;
    gap: 2rem;        /* カラム間の余白 */
  }
  .sitemap-group .col-1 > ul > li > ul > li {
    flex: 1;           /* 均等幅 */
  }
  .sitemap-group .col-3 {
    display: flex;
    gap: 2rem;          /* カラム間の余白 */
  }

  .sitemap-group .col-3 > ul {
    flex: 1;             /* 均等幅 */
    margin-bottom: 0;
  }
  /* ===========================
    お問い合わせフォーム
  =========================== */
  .contact-form .form-group {
    flex-direction: row;      /* 横並び */
    align-items: center;      /* ラベルと入力の高さ揃える */
  }

  .contact-form label {
    flex: 0 0 200px;          /* ラベルは固定幅（調整可能） */
    margin-bottom: 0;         /* 下余白削除 */
    text-align: left;        /* ラベル左寄せ */
    padding-right: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    flex: 1;                  /* 入力欄は残りの幅を使う */
  }

  .contact-form textarea {
    min-height: 150px;        /* テキストエリアは高さ確保 */
  }
  .privacy-check {
    display: flex;
    justify-content: center;   /* 全体を中央揃え */
  }

  .privacy-check label {
    flex: none;                /* ラベル幅の固定を解除 */
    text-align: center;
    margin: 0;
    padding: 0;
    justify-content: center;   /* 中の配置も中央 */
  }
  .form-group.reset-btn {
    display: block;      /* flex解除 */
    text-align: center;  /* 中央揃え */
  }
  /* ラジオボタン用ラベルだけ幅固定を解除 */
  .contact-form .radio-group label.radio-option {
    flex: none;          /* 幅固定を解除 */
    width: auto;         /* 自動幅 */
    margin-bottom: 10px; /* 行間の調整 */
    text-align: left;    /* 左寄せ */
  }
}