/* 全体設定 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.7;
}

#about, #services, #greeting, #news, #column , #recruit, #contact, #step1, #step2, #step3, #step4, #step5 , #step6, #step7 ,#summary {
  scroll-margin-top: 80px; /* ヘッダー高さ分を確保 */
}

html {
  scroll-behavior: smooth;
}


/* ヘッダー */
header {
  background: #1976d2; /* 青基調 */
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ▼ ヘッダー（限定セレクタ化） */
nav #nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav #nav-menu li {
  margin-left: 20px;
}

nav #nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: #fff;
  height: 3px;
  margin: 4px 0;
  width: 25px;
}

/* SEO用に画面外に隠すh1 */
.visually-hidden {
position: absolute;
left: -9999px; /* 画面の外へ */
width: 1px;
height: 1px;
overflow: hidden;
}

/* メインビジュアル */
#top-visual {
position: relative;
height: 80vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
overflow: hidden;
}

#top-visual img.top-visual-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1; /* テキストの下に配置 */
}

#top-visual h2 {
border-bottom: none;
padding-bottom: 0;
margin-bottom: 0;
}
#top-visual .visual-text h2 {
  color: #fff !important;
}

.visual-text h2 {
color: #fff;
font-size: 2em;
background: rgba(0, 0, 0, 0.5);
padding: 10px 20px;
margin-top: 150px;
}


.pc-text {
  display: block;
}
.sp-text {
  display: none;
}

/* セクション */
main {
  padding: 40px 20px;
}

section {
  margin-bottom: 80px;
}

#about,
#services,
#greeting,
#news,
#recruit,
#contact {
scroll-margin-top: 80px;
}

main:not(.article) h2 {
  color: #1976d2;
  border-bottom: 2px solid #1976d2;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
main:not(.article) h3 {
  color: #1565c0;
  margin-top: 30px;
}


#about {
  margin-top: -5rem;
}


/* 事業内容セクション */


#services h2{
  margin-bottom: 3rem;
}



.service-item {
  margin-bottom: 30px;
}

.service-item img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.service-item h3 {
  margin: 10px 0 5px;
  font-size: 1.4rem;
  margin-top: 1rem;
}

.service-item h3::before {
  color: #1976d2;
  margin-right: 8px;
}

.school-name {
color: #1976d2;       /* メインカラーの青 */
font-size: 1.2em;     /* 少し大きめ */
font-weight: bold;
margin-bottom: -0.5rem;
margin-top: 1rem;
}


#greeting strong{
  color: #1976d2;
}

/* お知らせリスト */
#news ul {
  padding-left: 20px;
}

/* フッター */
footer {
  background: #1976d2;
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 20px;
  flex-wrap: wrap; /* スマホでは縦に並ぶ */
}

.footer-column {
  min-width: 220px;
  flex: 1;
}

.footer-title {
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
  font-size: 0.9em;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
  color: #bbdefb;
}

footer .copyright {
  text-align: center;
  font-size: 0.8em;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
  margin-top: 20px;
}

.footer-column li {
  list-style: none;   /* マーカーを消す */
  margin-left: 0;     /* 左余白もリセットしておくと揃いやすい */
  padding-left: 0;
}






.school-button {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 1em;
  color: #1976d2;
  text-decoration: none;
  border: 2px solid #1976d2; /* 枠線ありでボタン感を残す場合 */
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.school-button::after {
  content: " >"; /* 矢印を付ける */
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.school-button:hover {
  color: #0d47a1;
  border-color: #1565c0;
}

.school-button:hover::after {
  transform: translateX(4px); /* 矢印が少し動く */
}



.column-school-button {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 1em;
  color: #1976d2;
  text-decoration: none;
  border: 2px solid #1976d2; /* 枠線ありでボタン感を残す場合 */
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-bottom: 5rem;
  margin-top: 3rem;
}

.column-school-button::after {
  content: " >"; /* 矢印を付ける */
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.column-school-button:hover {
  color: #0d47a1;
  border-color: #1565c0;
}

.column-school-button:hover::after {
  transform: translateX(4px); /* 矢印が少し動く */
}


#news {
  margin-top: 40px;
}

#news h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

#news h3 {
  font-size: 1.2em;
  margin: 30px 0 10px;
  color: #1976d2;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.history-list {
  list-style: none;
  padding-inline-start: 0;
  line-height: 2;
  margin-bottom: 4rem;
}

.history-list .date {
  color: #1976d2;
  font-weight: bold;
}

.notice-box {
  background: #ffffff;
  border-left: 4px solid #1976d2;
  padding: 15px 20px;
  margin-top: 10px;
  line-height: 1.7;
}



/* コラムセクション */
#column {
margin-top: 60px;
}

#column h2 {
color: #1976d2;
border-bottom: 2px solid #1976d2;
padding-bottom: 5px;
margin-bottom: 20px;
margin-top: 5rem;
}

.column-list {
max-height: 400px; /* 高さを固定 */
overflow-y: auto;  /* 縦スクロール可能に */
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
background: #fff;
}

.column-item {
margin-bottom: 1rem;
margin-top: 1rem;
border-bottom: 1px solid #eee;
}

.column-item:last-child {
border-bottom: none;
}

.column-item .date {
font-size: 0.85em;
color: #666;
margin-right: 10px;
}

.column-item .category {
font-size: 0.85em;
font-weight: bold;
padding: 2px 8px;
border-radius: 4px;
color: #fff;
}

/* カテゴリ別カラー */
.category.web {
background: #1976d2;
}
.category.cheer {
background: #e91e63;
}
.category.pilates {
background: #4caf50;
}
.category.other {
background: #9e9e9e;
}

.column-item h3 {
margin: 5px 0 0;
font-size: 1em;
}

.column-item h3 a {
color: #333;
text-decoration: none;
}

.column-item h3 a:hover {
text-decoration: underline;
}


/* ===============================
 プライバシーポリシーページ用
================================= */

/* ページタイトル（h1） */
.policy-page main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
  color: #333;
  line-height: 1.8;
}

/* 各項目（h2） */
.policy-page main h2 {
font-size: 1.4rem;
color: #1565c0;
margin-top: 40px;
border-left: 5px solid #1976d2;
padding-left: 10px;
}

/* 本文（p） */
.policy-page main p {
margin: 15px 0;
font-size: 1rem;
color: #444;
}

/* 強調部分 */
.policy-page main strong {
color: #000;
}

/* 戻るボタン */
.button {
display: inline-block;
padding: 12px 40px;
background: #1976d2;
color: #fff;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
transition: background 0.3s ease;
}

.button:hover {
background: #1565c0;
}

.column-button {
display: inline-block;
padding: 12px 24px;
background: #ff9800;
color: #fff;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
transition: background 0.3s ease;
}

.column-button:hover {
background: #ff9800;
}


.site-button {
  display: inline-block;
  padding: 12px 40px;
  background: #ffffff;
  color: #1976d2;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 2px solid #1976d2;   /* ← これを追加 */
  }
  
  .site-button:hover {
  background: #1565c0;
  }


/* ===== 記事ページ用 ===== */
/* ===== 記事ページ専用メインビジュアル ===== */
#article-visual {
  position: relative;
  height: 60vh; /* メインより少し低めでもOK */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

#article-visual img.article-visual-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.article-visual-text h1 {
  color: #fff;
  font-size: 1.8em;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  margin-top: 120px;
  border: none;
}

/* PC/SP切り替え */
.article-visual-title-pc {
  display: block;
}
.article-visual-title-sp {
  display: none;
  white-space: normal; /* 改行有効 */
  line-height: 1.4;
}


.article {
max-width: 870px;
margin: 40px auto;
padding: 0 20px;
line-height: 1.8;
color: #333;
background: #fff;
}

/* メタ情報（日付とカテゴリ） */
.article-meta {
font-size: 0.9em;
color: #666;
display: flex;
gap: 15px;
margin-bottom: 10px;
}

.article-meta .date {
font-weight: bold;
}

.article-meta .category {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8em;
  color: #fff;
}

/* カテゴリごとの色 */
.category.web {
  background: #1976d2;   /* 緑：WEB事業 */
}

.category.cheer {
  background: #e91e63;   /* ピンク：チア */
}

.category.pilates {
  background: #4caf50;  /* オレンジ：ピラティス（青とかぶらない色に変更） */
}

.category.other {
  background: #9e9e9e;   /* グレー：その他 */
}

/* 記事タイトル */
.article-title {
  font-size: 1.8em;
  color: #222;
  border-bottom: 2px solid #1976d2; /* 青いラインで強調 */
  padding-bottom: 10px;
  margin-bottom: 25px;
}

/* 本文見出し */
.article-content h3 {
  font-size: 1.3em;
  margin: 30px 0 10px;
  color: #1565c0;
  border-left: 4px solid #1976d2;
  padding-left: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1976d2;
}

.article-content p {
  margin-bottom: 20px;
  line-height: 1.9;
  text-align: left;
}


.article-toc {
  display: block !important; /* 強制表示 */
  background: #f0f8ff;
  border: 1px solid #ccc;
  padding: 15px;
  margin: 20px 0;
  color: #000 !important; /* 文字色を強制的に黒 */
  margin-bottom: 2rem;
}

.article-toc p {
  font-weight: bold;
  margin-bottom: 10px;
  margin-left: 3rem;
}

.article-toc ul {
  display: block !important;   /* flexをリセット */
  list-style: none;            /* ← 点を消す */
  margin: 10px 0;
}

.article-toc ul li {
  display: list-item !important; /* ←通常のリスト表示 */
  margin: 6px 0;
  margin-left: 3rem;
  margin-top: 1rem;
}


.article-toc a {
  text-decoration: none;
  color: #4c6f91;
}

.article-toc a:hover {
  text-decoration: underline;
}



.sp-only {
  display: none; /* PCでは非表示 */
}

.pc-only {
  display: inline; /* PCでは表示 */
}
 




/* FAQ：summary 見た目（下線のみ） */
#faq .recruit-details summary{
  display:block;
  cursor:pointer;
  padding:30px 0;
  margin:0;
  background:none;
  color:#1976d2;
  font-weight:600;
  border:0;
  border-bottom:1px solid #cfd8dc; /* 基本の下線 */
  border-radius:0;
  list-style:none;
  position:relative;
  padding-right:2rem;         /* 右アイコン分の余白 */
}

/* 開いた時は“色だけ”変更（太さは同じ1px） */
#faq .recruit-details[open] summary{
  border-bottom-color:#1976d2;
}

/* 本文側は線を出さない（重なり防止） */
#faq .recruit-details-body{
  padding:8px 0 16px;
  border:0;
}

/* キーボード操作の視認性 */
#faq .recruit-details summary:focus-visible{
  outline:2px solid #90caf9;
  outline-offset:2px;
}

/* 既定の三角を消す */
#faq .recruit-details summary::-webkit-details-marker{ display:none; }

/* 右側の＋／－ */
#faq .recruit-details summary::after{
  content:"＋";
  position:absolute;
  right:.3rem;                /* お好みで微調整 */
  top:50%;
  transform:translateY(-50%);
  font-weight:700;
  line-height:1;
}
#faq .recruit-details[open] summary::after{ content:"－"; }






/* ▼ WEB制作ページだけ見た目を調整（意味＝h1>h2>h3>h4のまま） */
.page-web h3 { /* セクション見出しの最上位（従来のh2相当の見た目） */
  color: #1976d2;
  border-bottom: 2px solid #1976d2;
  padding-bottom: 5px;
  margin: 2.5rem 0 1.25rem;
  font-size: 1.4rem;
}

.page-web h4 { /* 小見出し（従来のh3より強め＝“h2っぽい”見た目に寄せる） */
  color: #1565c0;
  margin: 2rem 0 1rem;
  font-size: 1rem;
  line-height: 1.35;         /* 行の高さを適正化 */
  padding: 6px 0 6px 10px;   /* 上下を対称に */
  border-left: 4px solid #1976d2;
}










/* スマホ専用 */
@media (max-width: 768px) {
.sp-only {
  display: inline; /* SPでは表示 */
}

.pc-only {
  display: none; /* SPでは非表示 */
}

.article-visual-title-pc {
  display: none;
}
.article-visual-title-sp {
  display: block;
}


/* ナビゲーションの ul だけに限定 */
/* ナビゲーションの ul だけに限定 */
nav #nav-menu {
  display: flex;
  flex-direction: column;
  background: rgba(25, 118, 210, 0.85);
  backdrop-filter: blur(6px);
  position: absolute;
  align-items: center;
  top: 60px;
  right: 0;
  width: 100%;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
  overflow: hidden;
  padding: 20px 0;
}

nav #nav-menu.active {
  transform: scaleY(1);
}

nav #nav-menu li {
  margin: 10px 0;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  width: 50%; /* ボーダーの長さを抑える */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

nav #nav-menu a {
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
}

nav #nav-menu.active li {
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeInUp 0.4s forwards;
}

nav #nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
nav #nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
nav #nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
nav #nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
nav #nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
nav #nav-menu.active li:nth-child(6) { animation-delay: 0.6s; }
nav #nav-menu.active li:nth-child(7) { animation-delay: 0.7s; }
nav #nav-menu.active li:nth-child(8) { animation-delay: 0.8s; }

  
@keyframes fadeInUp {
to {
  opacity: 1;
  transform: translateY(0);
  }
}
  

  
.menu-toggle {
  display: flex;
}

.pc-text {
  display: none;
}
.sp-text {
  display: block;
  text-align: center;
}    


.column-school-button {
  font-size: 0.9em; /* スマホだけ少し文字を小さく */
  padding: 8px 20px; /* ちょっとパディングも調整 */
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.school-button {
  font-size: 0.9em; /* スマホだけ少し文字を小さく */
  padding: 8px 20px; /* ちょっとパディングも調整 */
}
  

.visual-text h2 {
  color: #fff;
  font-size: 1.5em;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 20px;
  margin-top: 5rem;
}
    
/* フッター */
footer {
  padding: 40px 80px 20px;
}

.footer-links {
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
  
.article {
  margin: 20px auto;
  padding: 0 15px;
}

.article-title {
  font-size: 1.5em;
  text-align: left;
}

.article-content h3 {
  font-size: 1.1em;
}

.article-visual-text h1 {
  font-size: 1.3rem;
}



.article-toc ul {
  display: block !important;   /* flexをリセット */
  list-style: none;            /* 点を消す */
  padding-left: 0;
  margin: 10px 0;
}
.article-toc ul li {
  display: block !important;
  margin: 6px 0;
  margin-left: 0.5rem;
}

.article-toc p {
  margin-left: 0.5rem;
}

}

@media (min-width: 1024px) {
  main section {
    max-width: 870px;
    margin: 0 auto;
  }

  #services h2{
    margin-top: 5rem;
  }

  nav ul {
    display: flex !important;
    position: static !important;
    background: none !important;
    width: auto !important;
    max-height: none !important;
    transform: none !important;
    padding: 0 !important;
  }
  
  nav ul li {
    border-bottom: none !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .page-web h3 { /* セクション見出しの最上位（従来のh2相当の見た目） */
    color: #1976d2;
    border-bottom: 2px solid #1976d2;
    padding-bottom: 5px;
    margin: 3.5rem 0 1.25rem !important;
    font-size: 1.6rem;
  }
  
}







/* ===== お問い合わせ・求人応募フォーム　form base (追加) ===== */
.form-wrap { 
  max-width: 870px; 
  margin: 40px auto; 
  padding: 0 20px; 
}

.form-grid label { 
  display:block; 
  font-weight:600; 
  margin:12px 0 6px; 
}

.form-grid input[type="text"],
.form-grid input[type="email"],
.form-grid input[type="tel"],
.form-grid select,
.form-grid textarea {
  width:100%; 
  box-sizing:border-box; 
  padding:10px 12px; 
  border:1px solid #ccc; 
  border-radius:6px;
}

.form-grid textarea { 
  min-height: 160px; 
  line-height:1.7; 
}

.form-required { 
  color:#e53935; 
  margin-left:.25em; 
  font-weight:700; 
}

.form-note { 
  font-size:.9rem; 
  color:#666; 
}

.form-actions { 
  margin-top: 20px; 
}

.hp-field { 
  position:absolute; 
  left:-9999px; 
  top:auto; 
  width:1px; 
  height:1px; 
  overflow:hidden;
} 



/* ===== Pilates求人フォーム用（追記） ===== */
.job-head {
  max-width: 850px;
  margin: 40px auto 10px;
  padding: 0 20px;
  text-align: center;
}

.job-head h1 {
  color: #ffffff;
  border: none;
  font-size: 1.8em;
  margin: 0 0 .25rem 0;
  text-align: center;
}

.brand-uf {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #ffffff;
  font-weight: 700;
}

.job-note {
  background: #ffffff;
  border-left: 4px solid #1976d2;
  padding: 12px 16px;
  margin: 12px auto 24px;
  max-width: 870px;
  color: #333;
}

.job-note .hint {
  color: #666;
  font-size: .9rem;
}

/* フォーム基礎 */
.form-wrap {
  max-width: 870px;
  margin: 40px auto;
  padding: 0 20px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid input[type="text"],
.form-grid input[type="email"],
.form-grid input[type="tel"],
.form-grid input[type="url"],
.form-grid select,
.form-grid textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-grid textarea {
  min-height: 160px;
  line-height: 1.7;
}

.form-grid input:focus-visible,
.form-grid select:focus-visible,
.form-grid textarea:focus-visible {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, .15);
}

.form-required {
  color: #e53935;
  margin-left: .25em;
  font-weight: 700;
}

.form-note {
  font-size: .9rem;
  color: #666;
}

/* チェックボックスを“チップ”風に */
.checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.checklist label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #cfd8dc;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s ease, background .2s ease;
}

.checklist label:hover {
  border-color: #90caf9;
  background: #f7fbff;
}

.checklist input[type="checkbox"] {
  accent-color: #1976d2;
}

/* ファイル入力（最小） */
input[type="file"] {
  padding: 8px 0;
}



/* ===== お問い合わせフォーム用（contact） ===== */

/* 見出しブロック（求人の .job-head と同トーン） */
.contact-page .form-wrap > h1 {
  color: #1976d2;
  font-size: 1.8em;
  margin: 0 0 .5rem 0;
  border: none;           /* 既存の青ボーダーを外したい場合 */
}

/* もし前置きの説明文を入れるなら、このクラスを使う（任意） */
.contact-lead {
  background: #f9f9f9;
  border-left: 4px solid #1976d2;
  padding: 12px 16px;
  margin: 12px 0 20px;
  color: #333;
  font-size: .95rem;
}

/* 入力UI（求人フォームと同じ質感） */
.contact-page .form-grid {
  display: grid;
  gap: 16px;
}

.contact-page .form-grid input[type="text"],
.contact-page .form-grid input[type="email"],
.contact-page .form-grid input[type="tel"],
.contact-page .form-grid input[type="url"],
.contact-page .form-grid select,
.contact-page .form-grid textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-page .form-grid textarea {
  min-height: 160px;
  line-height: 1.7;
}

.contact-page .form-grid input:focus-visible,
.contact-page .form-grid select:focus-visible,
.contact-page .form-grid textarea:focus-visible {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25,118,210,.15);
}

.form-required {
  color: #e53935;
  margin-left: .25em;
  font-weight: 700;
}

/* ハニーポットは見えない＆フォーカス不可のままに */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.job-company #top-visual {
  height: 45vh;     /* 好みで 55–70vh に調整OK */
  min-height: 320px;
}

.contact-page #top-visual {
  height: 45vh;       /* モバイルは低め */
  min-height: 320px;
}

/* 親で中央寄せ */
.cta-center {
  text-align: center;
}

/* ボタンを固定サイズ＆中央表示 */
.contact-cta {
  display: inline-block;     /* インラインのまま中央に置く */
  width: 240px;              /* ← 固定幅（お好みで 200〜280px など） */
  padding: 12px 0;           /* 固定幅なので左右の余白は0でOK */
  text-align: center;        /* 文字を中央 */
  white-space: nowrap;       /* 折り返さない＝文言が長くても幅は変えない */
  overflow: hidden;          /* さらに安全にするなら */
  text-overflow: ellipsis;   /* 長すぎる時は「…」で省略（任意） */
}


/* --- Recruit 概要＆詳細 --- */
#recruit h2 {
  margin-top: 5rem;
}



.recruit-brief {
  list-style: none;
  padding-left: 0;
  line-height: 1.9;
  margin: .5rem 0 1rem;
}
.recruit-brief li + li { 
  margin-top: 1rem; 
}

.recruit-details summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: 6px 10px;
  border: 1px solid #cfd8dc;
  border-radius: 999px;
  font-weight: 600;
  color: #1976d2;
  user-select: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.recruit-details[open] summary { 
  background: #f5faff; 
  border-color: #90caf9; }

.recruit-details summary::after { 
  content: "＋"; 
  color: #1976d2; 
  font-weight: 700; 
}

.recruit-details[open] summary::after { 
  content: "－"; 
}

.recruit-details-body {
  margin: .8rem 0 0;
  padding: .2rem 0 0;
  border-top: 1px dashed #e0e0e0;
}
.recruit-details-body h3 {
  margin: 1rem 0 .4rem;
  font-size: 1.05rem;
  color: #1565c0;
}

/* --- CTA（中央・固定幅）--- */
#contact h2 {
  margin-top: 5rem;
}

.cta-center { 
  text-align: left; 
}

.contact-cta {
  display: inline-block;
  width: 240px;              /* 固定幅 */
  padding: 12px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 12px 0;
}


.select-lg {
  -webkit-appearance: none;
  appearance: none;
  height: 48px;                 /* お好みで 48–56px */
  padding: 10px 40px 10px 12px; /* 右は矢印ぶん広めに */
  font-size: 16px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  background-color: #fff;

  /* ▼ 矢印（1行の data URI。改行・バックスラッシュなし） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231976d2' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}




/* PCで2カラムにしたい時に使うヘルパー */
@media (min-width: 900px) {
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .job-company #top-visual {
    height: 55vh;  /* 例：モバイルは少し低めに */
    min-height: 420px;
  }

  .contact-page #top-visual {
    height: 55vh;
    min-height: 420px;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .contact-cta { 
    width: 210px; 
  }

  .select-lg {
    height: 52px;
    padding: 12px 44px 12px 12px;
  }

  .file-btn { padding: 14px 20px; font-size: 16px; }


}




