/* --------------------
  共通
-------------------- */border:1px solid #333FFF;
* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}

/* コンテナ共通幅 */
.inner {
  width: min(1100px, 100% - 40px);
  margin: 0 auto;
}

/* --------------------
  メイン
-------------------- */


/* --------------------
下層基本ブロック
-------------------- */

/* テキスト */
.mainblock-text {
  text-align: left;
}

/* 画像共通 */
.photo-center,
.photo-left,
.photo-right {
  margin-top: 30px;
}

.photo-center {
  text-align: center;
}

.photo-left {
  text-align: left;
}

.photo-right {
  text-align: right;
}

/* 画像サイズ */
.photo-center img,
.photo-left img,
.photo-right img {
	width:70%;
  height: auto;
}

/* 小さめ画像用 */
.photo-small img {
  width: 300px;
  max-width: 100%;
}

/* 中サイズ */
.photo-medium img {
  width: 500px;
  max-width: 100%;
}



/* テキスト */
.banner-caption {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: #fff;
  z-index: 1;
}

.banner-caption .ja {
  font-size: 16px;
  font-weight: bold;
}
.banner-caption .en {
  font-size: 12px;
  opacity: 0.8;
	margin-top:-15px;
}


/* ボタン */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 24px;
}
.scroll-btn.left { left: 0; }
.scroll-btn.right { right: 0; }


/* --------------------
  下層ページ共通
-------------------- */

.ucont {
  padding: 20px 20px 40px 10px ;
}
.ucont-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #FFF;
  border-radius: 16px;
  padding: 30px;
  gap: 30px;
}

/* コンテンツタイトル */
.ucont-head h2 {
  font-size: 28px;
  margin: 20px 0 0 0;
  color:#666666;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
	width:100%;
}

.ucont-head p {
  color: red;
  margin: 4px 0 0 0;
  line-height: 1.2;
	width:100%;
}




.base-content{
  width: 98%;
	max-width:1280px;
	background: rgba(255,255,255,0.9);
	margin-left:auto;
	margin-right:auto;
	padding:16px;
　box-sizing:border-box;
}

/* 会社概要 */

.company {
  padding: 20px 20px;
	box-sizing:border-box;
  margin: 0 auto;
}

.company-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.company-card {
  width: 100%;
  max-width: 1000px;
	margin: 0 auto 40px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 20px 20px 20px;
  box-shadow: 0 10px 10px rgba(0,0,0,0.09);
	box-sizing:border-box;
}

.company-greet {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	box-sizing:border-box;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  line-height: 1.9;
  letter-spacing: 0.05em;
  font-size: 16px;
	overflow:hidden;
}
.company-greet img{float:right;}


/* 2カラム */
.company-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.company-list dt {
  font-weight: bold;
  color: #A05476;
	background: linear-gradient(to right, #F7E8EE 0%, #F5E9F1 50%, #E8BBD1 100%);
	text-indent:5px;
  border-radius: 4px;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.company-list dd {
  margin: 0;
  color: #222;
  line-height: 1.8;
	padding-left:15px;
}


/* 画像共通 */
.project-images img {
  transition: transform 0.4s ease, filter 0.4s ease;
}


/* 親にoverflow隠す（はみ出し防止） */
.project-images {
  overflow: hidden;
}
/* --------------------
施設一覧
-------------------- */

.projects {
  max-width: 900px;
  margin: auto;
}

.project {
  margin-bottom: 60px;
	margin-left:auto;
	margin-right:auto;
}

.project h2 {
  margin-bottom: -20px;
}

.project p {
  margin-bottom: 15px;
  color: #666;
}

/* 施設紹介画像レイアウト */
.project-images {
  display: flex;
  gap: 10px;
}


.project-images > a {
  width: 60%;
  display: block;
	margin-left:5%;
}

.main-img {
  width: 100%;
  cursor: pointer;
  display: block;
}


.sub-images {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-images img {
  width: 100%;
  cursor: pointer;
}

.project-images iframe {
  width: 100%;
  height: 180px;
}

@media (max-width: 768px) {

  .project-images {
    flex-direction: column;
  }

  .project-images > a {
    width: 90%;
    margin: 0 auto;
  }

  .sub-images {
    width: 90%;
    margin: 0 auto;
  }

  .project-images iframe {
    height: 200px;
  }

}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#modal-img {
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 120px;  /* ←ここを調整（ヘッダーの高さ分） */
  right: 30px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.prev { left: 20px; }
.next { right: 20px; }


/* --------------------
  NEWS
-------------------- */

.news {
  padding: 20px 20px 40px 10px ;
}
.news-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #FFF;
  border-radius: 16px;
  display: flex;
  padding: 30px;
  gap: 30px;
}

/* 左 */
.news-head h2 {
  font-size: 28px;
  margin: 0;
  color:#666666;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
}

.news-head p {
  color: red;
  margin: 4px 0 0 0;
  line-height: 1.2;
}

/* 縦線 */
.news-border {
  width: 1px;
  background: #d36;
}

/* 右リスト */
.news-list {
  flex: 1;
  max-height: 200px;
  overflow-y: auto;
}

/* 各アイテム */
.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

/* テキスト */
.news-text {
  font-size: 14px;
}

.news-date {
  font-weight: bold;
  margin-right: 10px;
}


.news-item:hover .news-arrow {
  transform: translateX(4px);
  transition: 0.3s;
}

.news-list {
  overflow-y: auto;
  overflow-x: hidden; /* ← これで横スクロール消える */
}

.news-block {
  padding: 20px 0;
}

/* 日付＋タイトル横並び */
.news-headline {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}

/* 日付 */
.news-date {
  font-size: 0.9em;
  color: #888;
  margin: 0;
  white-space: nowrap;
}

/* タイトル */
.news-title {
  font-size: 1.1em;
  margin: 0;
  font-weight: 600;
}

/* 本文 */
.news-body {
  margin: 0;
  line-height: 1.7;
}

/* 区切り線 */
.news-block:not(:last-child) {
  border-bottom: 1px dashed #ccc;
}



#newsForm{
  width: 100%;
  box-sizing: border-box;
}
#newsForm input[type="date"] {
  width: 200px;
}

/* --------------------
  地域連携/提携施設
-------------------- */

.affiliate-box{
  max-width:1000px;
  margin:0 auto 40px;
  padding:20px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 10px rgba(0,0,0,.09);
  box-sizing:border-box;  
	position:relative;
}

.affiliate-top{
  display:flex;
  gap:50px;
  align-items:flex-start;
  margin-bottom:30px;
}

.affiliate-text{
  flex:1;
}

.affiliate-image{
  flex:0 0 420px;
}

.affiliate-image img{
  width:100%;
  display:block;
  border-radius:10px;
}
.affiliate-text{
  flex:1;
}

.affiliate-box h2{
  margin:0;
  font-size:30px;
  line-height:1.1;
  color:#555;
}

.sub-title{
  color:#e66aa1;
  font-weight:bold;
  margin-bottom:25px;
}

.lead{
  margin-bottom:35px;
  line-height:2;
  color:#555;
}

.affiliate-list{
  columns:2;
  column-gap:50px;
  list-style:none;
  padding:0;
  margin:0;
}
.affiliate-list li{
  break-inside:avoid;
  margin-bottom:15px;
  padding-left:28px;
  position:relative;
}

.affiliate-list li::before{
  content:url("../icons/building-hospital.svg");
  position:absolute;
  left:0;
  top:0;
}

.affiliate-image{
  flex:0 0 420px;
}

.affiliate-image img{
  width:100%;
  border-radius:10px;
  display:block;
}


.affiliate-box::after{
  content:"";
  position:absolute;
  right:30px;
  bottom:20px;
  width:90px;
  height:90px;
  background:url("../icons/heart-handshake.svg") no-repeat center;
  background-size:contain;
  opacity:.12;
}

/* スマホ */
@media (max-width:768px){
  .affiliate-top{
    flex-direction:column;
    gap:20px;
  }

  .affiliate-image{
    width:100%;
    flex:none;
  }

  .affiliate-list{
    columns:1;
  }

  .affiliate-box{
    flex-direction:column;
    padding:25px;
    gap:25px;
  }

  .affiliate-box h2{
    font-size:34px;
  }

  .affiliate-image{
    flex:none;
    width:100%;
    order:-1;
  }

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

}

/* --------------------
  募集要項
-------------------- */


.intext{width:100%; text-align:center;}

.recruit-section{
  max-width:1000px;
  margin-top:20px;
	margin-left:auto;
	margin-right:auto;
  padding:0 20px;
}

.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title h2{
  font-size:36px;
  color:#d83b8d;
  margin-bottom:10px;
}

.section-title p{
  color:#666;
}

.job-card{
  background:#fff;
  border-radius:20px;
  padding:35px;
  margin-bottom:30px;
  box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.job-card h3{
  margin-top:0;
  margin-bottom:25px;
  padding-bottom:15px;
  border-bottom:2px solid #f5d2e3;
  color:#d83b8d;
  font-size:24px;
}

.job-card dl{
  margin:0;
}

.job-card dt{
  font-weight:bold;
  width:180px;
  color:#444;
}

.job-card dd{
  margin:0;
  flex:1;
}

.job-card dl > div{
  display:flex;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid #eee;
}

.job-card dl > div:last-child{
  border-bottom:none;
}



.job-card dl > div{
  display:flex;
  gap:20px;
  padding:14px 0;
  border-bottom:1px solid #eee;
}

.job-card dt{
  width:180px;
  flex-shrink:0;
  font-weight:bold;
}

.job-card dd{
  margin:0;
  flex:1;
}
.recruit-contact{
  max-width:600px;
  margin:40px auto;
  padding:25px;
  background:#fff;
  border-radius:20px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.contact-label{
  color:#d83b8d;
  font-weight:700;
  margin-bottom:10px;
  font-size:14px;
  letter-spacing:.1em;
}

.contact-tel{
  display:inline-block;
  font-size:36px;
  font-weight:700;
  color:#d83b8d;
  text-decoration:none;
  transition:.3s;
}

.contact-tel:hover{
  transform:scale(1.05);
}

.recruit-contact p{
  margin:10px 0 0;
  font-size:14px;
  color:#666;
}

@media (max-width:768px){

  .job-card dl > div{
    display:block;
  }

  .job-card dt{
    width:auto;
    margin-bottom:4px;
    color:#d83b8d;
  }

}
.job-nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin:0 0 50px;
}

.job-nav a{
  display:inline-block;
  padding:10px 18px;
  background:#fff;
  border:2px solid #f2d3e4;
  border-radius:999px;
  text-decoration:none;
  color:#d83b8d;
  font-weight:700;
  transition:.3s;
}

.job-nav a:hover{
  background:#d83b8d;
  color:#fff;
}

html{
  scroll-behavior:smooth;
}

@media (max-width:768px){

  .job-nav{
    gap:8px;
  }

  .job-nav a{
    font-size:14px;
    padding:8px 14px;
  }

}
.job-card{
  scroll-margin-top:100px;
}


/* --------------------
   理念
-------------------- */

.vision-box{
	width:100%;
  max-width:1000px;
  margin:20px auto 60px;
  padding:50px;
  background:#fff;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
	overflow:hidden;
}

.vision-box h2{
  margin:0;
  text-align:center;
  color:#d83b8d;
  font-size:42px;
}

.vision-main{
  text-align:center;
  font-size:32px;
  line-height:1.8;
  margin:30px auto 50px;
  max-width:900px;
}

.vision-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}



.vision-item{
  text-align:center;
}

.vision-icon{
  width:98px;
  height:98px;
  margin:0 auto 10px;
  border-radius:50%;
  background:#fff4f8;

  display:flex;
  align-items:center;
  justify-content:center;
}

.vision-item h3{
  color:#d83b8d;
  font-size:32px;
	margin-top:-5px;
  margin-bottom:20px;
}

.vision-item p{
  line-height:2;
}


@media (max-width:768px){

  .vision-grid{
    grid-template-columns:1fr;
    gap:50px;
  }

  .vision-item{
    max-width:400px;
    margin:0 auto;
  }

}

/* --------------------
  TOP　MAPリンク
-------------------- */

.map {
  position: relative;
  width: 100%;
  max-width: 800px;
}

.map img {
  width: 100%;
  display: block;
}

/* ピン全体 */
.pin {
  position: absolute;
  transform: translate(-50%, -100%);
}

/* ピンの見た目 */
.marker {
  width: 20px;
  height: 20px;
  background: red;
  border-radius: 50%;
  cursor: pointer;
}

.pin {
  position: absolute;
  z-index: 1;
}

.pin:hover {
  z-index: 1000;
}

/* ポップアップ */
.popup {
  display: none;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  z-index: 10;
}

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

/* ホバーで表示 */
.pin:hover .popup {
  display: block;
}



.map-pin {
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.2s;
}

.map-pin:hover {
  transform: scale(1.2);
}


.pin.dark .map-pin  { fill:#006DD9; }
.pin.blue .map-pin  { fill: #26C9FF; }
.pin.green .map-pin { fill: #43a047; }
.pin.orange .map-pin{ fill: #fb8c00; }
.pin.purple .map-pin{ fill: #8e24aa; }
.pin.pink .map-pin  { fill: #FF00FF; }
.pin.yellow .map-pin{ fill: #FFD24D; }

.dot.dark    { color: #006DD9; }
.dot.blue   { color: #26C9FF; }
.dot.green  { color: #43a047; }
.dot.orange { color: #fb8c00; }
.dot.purple { color: #8e24aa; }
.dot.pink   { color: #FF00FF; }
.dot.yellow   { color: #FFD24D; }


.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  background: #333;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/* --------------------
  フッタ
-------------------- */
.footer {
  padding: 20px 20px 20px;
  font-size: 14px;
  color: #555;
  background:
    linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),
    url("../images/footbg.jpg") no-repeat center center;
  background-size: cover; 
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-col p {
  font-weight: bold;
  margin-bottom: 10px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 5px;
}

.footer-col a {
  text-decoration: none;
  color: #666;
}
.footer-col a:hover {
  text-decoration: underline;
}

/* 右側ボタン */
.footer-right {
  display: flex;
  align-items: center;
}

.staff-btn {
  background: #d96c6c;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.staff-btn:hover {
  background: #c85a5a;
}

/* コピーライト */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: #999;
	width:100%;
}


/* カード */
.menu-group{
  background:#fff;
  border:1px solid #E7D7F4;
  border-radius:14px;
  margin-bottom:8px;
  overflow:hidden;
}


/* タイトル */
.menu-title{
  width:100%;
  background:none;
  border:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 16px 8px 16px;
  cursor:pointer;
}


/* 左 */
.menu-title-left{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:17px;
  font-weight:700;
  color:#651D4E;
}

.menu-title-left img{
  width:22px;
}


/* + */
.arrow{
  font-size:22px;
  color:#7755DD;
}


/* サブメニュー */
.submenu{
  padding:0 16px 8px;
}

.submenu a{
  display:block;
  padding:10px 0 10px 34px;
  text-decoration:none;
  color:#991E65;
  border-top:1px solid #F1E8F7;
}

.submenu a::after{
  content:"▶";
  font-size:0.8em;
}
/* スマホ hover無効でもOK */
@media (hover:hover){

  .submenu a:hover{
    color:#7755DD;
  }

  .menu-home:hover{
    opacity:.8;
  }

}


/* =========================
   瑞香会の特色
========================= */


.feature-section{
  max-width:1200px;
  margin:0 auto;
  padding:80px 20px;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h1{
  font-size:48px;
  margin-bottom:15px;
}

.section-title p{
  color:#666;
}

.feature-box {
  width: 100%;
  max-width: 1000px;
	margin: 0 auto 40px;
  background: none;
  border-radius: 12px;
  padding: 0px;
	box-sizing:border-box;
}

.feature-card{
  display:flex;
  align-items:center;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  margin-bottom:50px;

  box-shadow:
  0 10px 30px rgba(0,0,0,.08);
}

.feature-card.reverse{
  flex-direction:row-reverse;
}

.feature-image{
  width:50%;
}

.feature-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.feature-content{
  width:50%;
  padding:50px;
}

.feature-number{
  width:70px;
  height:70px;
  border-radius:50%;
  background:#d83b8d;
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:24px;
  font-weight:bold;

  margin-bottom:20px;
}

.feature-content h2{
  color:#d83b8d;
  font-size:30px;
  margin-bottom:20px;
  line-height:1.5;
}

.feature-content p{
  line-height:2;
  color:#555;
}

.feature-icons{
  display:flex;
  gap:30px;
  margin-top:30px;
}

.icon-item{
  text-align:center;
}

.icon-item span{
  font-size:36px;
  display:block;
  margin-bottom:5px;
}

.icon-item p{
  font-size:14px;
}

.icon-item img{
  width:50px;
  height:50px;
  padding:0px;
  background:#fdf1f7;
  border-radius:50%;
  margin-bottom:-20px;
}

/* スマホ */

@media (max-width:768px){

  .feature-card,
  .feature-card.reverse{
    flex-direction:column;
  }

  .feature-image,
  .feature-content{
    width:100%;
  }

  .feature-content{
    padding:30px 25px;
  }

  .section-title h1{
    font-size:34px;
  }

  .feature-content h2{
    font-size:24px;
  }

  .feature-icons{
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
  }

}


/* =========================
   メニューカードアニメーション
========================= */

/* カード本体 */
.menu-group{

  /* 見た目 */
  background:#fff;
  border:1px solid #E7D7F4;
  border-radius:14px;
  margin-bottom:14px;
  overflow:hidden;

  /* ふわっと用 */
  opacity:0;
  transform:translateY(20px) scale(.96);

  /* アニメーション */
  transition:
    opacity .45s ease,
    transform .45s ease;

  /* スマホで滑らか */
  will-change:transform;

  /* 少し浮かせる */
  box-shadow:
    0 4px 12px rgba(120,80,180,.08);
}


/* メニュー開いた時 */
#menu.active .menu-group{
  opacity:1;
  transform:translateY(0) scale(1);
}


/* 順番に出す */
#menu.active .menu-group:nth-of-type(1){
  transition-delay:.05s;
}

#menu.active .menu-group:nth-of-type(2){
  transition-delay:.1s;
}

#menu.active .menu-group:nth-of-type(3){
  transition-delay:.15s;
}

#menu.active .menu-group:nth-of-type(4){
  transition-delay:.2s;
}

#menu.active .menu-group:nth-of-type(5){
  transition-delay:.25s;
}


@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .footer-right {
    justify-content: center;
  }
}

.news {
  padding: 20px 20px 40px 10px ;
}
.news-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #FFF;
  border-radius: 16px;
  display: flex;
  padding: 30px;
  gap: 30px;
}

/* 左 */
.news-head h2 {
  font-size: 28px;
  margin: 0;
  color:#666666;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
}

.news-head p {
  color: red;
  margin: 4px 0 0 0;
  line-height: 1.2;
}




/* --------------------
  レスポンシブ
-------------------- */
@media (max-width: 768px) {
  .header-top-bar {
    height: auto;
    padding: 8px 0;
  }
	.header-logo h1{
	  font-family:"M PLUS Rounded 1c", sans-serif;
	  font-size:18px;
	  font-weight:600;
	  letter-spacing:0.05em;
	  margin:0;
	  color: #003F8E;
	}
  .header-top-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 3px 20px;
  }
  .header-nav {
    width: 100%;
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .header-nav-contact {
    align-items: flex-start;
  }
  .header-hero-message {
    inset: auto 0 18% 0;
    transform: none;
  }
  .fields-grid {
    grid-template-columns: 1fr;
  }
  .footer-video-wrap {
    height: 260px;
  }
  .footer-overlay {
    padding: 18px 0 12px;
  }
  .footer-nav {
    gap: 16px;
    font-size: 12px;
  }

	/* スマホで表示 */
  .hamburger{
    display:block;
  }

	.header-nav{
	  display:none;
	}

  .hamburger {
    display: block;
    z-index: 9999; /* ← これ重要 */
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
  }

  .top-banner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .company-list > div {
    grid-template-columns: 1fr;
  }

  .company-list dt {
    display: inline-block;
		background: linear-gradient(to right, #F7E8EE 0%, #F5E9F1 50%, #E8BBD1 100%);
    padding: 3px 8px;
    border-radius: 4px;
  }

  .company-list dd {
    font-size: 15px;
    line-height: 1.6;
  }

	.company-card {
	  background: rgba(255,255,255,0.8);
	}



	main {
	  background:
	    url("../images/mainbg3.webp") center;
	  background-attachment: fixed;
		background-size: 100% auto;
	}


	.footer {
	  background:
	    linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)),
	    url("../images/footbg.jpg") no-repeat center center;
	}

	.header-under {
	  height: min(140px);
		margin-top:80px
	}


}
@media (max-width: 600px) {
  .news-inner {
    flex-direction: column;
  }

  .news-border {
    display: none;
  }
}

@media screen and (max-width: 768px) {

  .header-hero {
    height: 60svh;
    min-height: 580px;

    /* 動画の代わり */
    background:
      linear-gradient(
        rgba(255,255,255,0.45),
        rgba(255,255,255,0.45)
      ),
      url("../images/header-sp.jpg")
      center center / cover no-repeat;
  }

  .header-hero video {
    display: none;
  }

  /* コピー位置 */
  .header-hero-message {
    position: absolute;
    top: 110px;
    left: 0;
    transform: none;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .header-hero-message .inner {
    max-width: 90%;
  }

  .header-copy-ja-main {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 700;
  }

  .header-copy-ja-sub {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 2.1;
  }

  .header-copy-en {
    margin-top: 22px;
    font-size: 0.72rem;
    line-height: 2;
    letter-spacing: 0.15em;
  }

  .header-bottom-bar {
    bottom: 20px;
    font-size: 0.8rem;
  }
  .header-copy-ja-sub br {
    display: none;
  }
}




/* --------------------
  応募フォーム
-------------------- */
*{
  box-sizing:border-box;
}

.recruit-form{
max-width:900px;
margin:0 auto;
}

.form-intro{
text-align:center;
margin-bottom:40px;
}

.form-card{
background:#fff;
border:1px solid #d9e7f2;
border-radius:16px;
padding:20px 24px;
margin-bottom:20px;
box-shadow:0 3px 10px rgba(0,0,0,.04);
}

.form-card > label{
display:block;
font-weight:700;
margin-bottom:12px;
}

.required{
display:inline-block;
background:#e85d9b;
color:#fff;
font-size:12px;
padding:2px 8px;
border-radius:999px;
margin-left:8px;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card input[type="number"],
.form-card select,
.form-card textarea{
padding:12px;
border:1px solid #ccd6e0;
border-radius:8px;
font-size:16px;
box-sizing:border-box;
}

.input-sm{
width:140px;
}

.input-md{
width:280px;
}

.input-lg{
width:500px;
max-width:100%;
}

.input-job{
width:350px;
max-width:100%;
}

.inline-input{
display:flex;
align-items:center;
gap:10px;
}

.radio-group{
display:flex;
gap:30px;
flex-wrap:wrap;
}

.radio-group label{
display:flex;
align-items:center;
gap:6px;
margin:0;
}

.zip-area{
display:flex;
gap:10px;
margin-bottom:12px;
align-items:center;
}

.zip-btn{
padding:12px 20px;
border:none;
border-radius:8px;
cursor:pointer;
}

.form-card textarea{
width:100%;
min-height:220px;
}

.check-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px 30px;
}

.form-buttons{
text-align:center;
margin-top:40px;
}

.form-buttons button{
background:#4da3df;
color:#fff;
border:none;
border-radius:999px;

font-size:16px;
cursor:pointer;
padding:18px 60px;
font-weight:700;
}

.check-grid{
  background:#fafcff;
  border:1px solid #e5edf5;
  padding:15px;
  border-radius:10px;
}
.form-card p{
  margin-top:10px;
  line-height:1.8;
}

.form-buttons{
  display:flex;
  gap:15px;
  justify-content:center;
}

.form-buttons button{
  min-width:180px;
}

.hp-field{
  position:absolute;
  left:-9999px;
}


.apply-btn-wrap{
  text-align:center;
  margin-top:30px;
}

.apply-btn{
  display:inline-block;
  padding:14px 28px;
  background:#58B84E;
  color:#fff;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 6px 15px rgba(0,0,0,0.08);
  transition:0.2s;
}

.apply-btn:hover{
  background:#666666;
  transform:translateY(-2px);
}

@media (max-width:768px){

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

.input-sm,
.input-md,
.input-lg,
.input-job{
width:100%;
}

.zip-area{
flex-direction:column;
align-items:stretch;
}

}


/* =========================
   スマホ用 Clinics
========================= */

.clinic-sp{
  display:none;
}

@media screen and (max-width:768px){

  /* PCマップ非表示 */
  .map{
    display:none;
  }

  .clinic-sp{
    display:block;
    margin-top:20px;
  }

  .clinic-sp-map img{
    width:100%;
    display:block;
    border-radius:20px;
    margin-bottom:20px;
  }

  .clinic-sp-list{
    display:flex;
    flex-direction:column;
    gap:14px;
  }

  .clinic-card{
		display:flex;
    background:#fff;
    border-radius:18px;
    padding:16px;
    text-decoration:none;
    color:#333;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.3s;
	  align-items:center;
	  justify-content:space-between;
  }

  .clinic-card:active{
    transform:scale(.98);
  }

  .clinic-card-head{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:6px;
  }

  .clinic-card-head h3{
    font-size:15px;
    line-height:1.4;
    font-weight:700;
  }

  .clinic-card p{
    font-size:13px;
    line-height:1.6;
    color:#666;
    padding-left:24px;
  }

  .dot{
    font-size:22px;
    line-height:1;
  }

  .dot.pink{
    color:#ff4fc3;
  }

  .dot.orange{
    color:#ff9800;
  }

  .dot.yellow{
    color:#f7c62f;
  }

  .dot.green{
    color:#58b947;
  }

  .dot.blue{
    color:#43b5ff;
  }

  .dot.purple{
    color:#9c4dff;
  }

  .dot.dark{
    color:#2f5aa8;
  }
}
