/* ================================================================
   index.css — トップページ専用
================================================================ */
#content {
  background: url('../img/top/bk.jpg') center top / contain repeat;
	background-size: 100% auto;
  position: relative;
  z-index: 0;
}
/* ── HERO ── */
.hero {
  /*background: #dfe8ed;*/
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  min-height: 520px;
  position: relative;
  z-index: 1;
}

/* ── キャッチコピー ── */
.hero-text {
  flex: 0 0 65%;
  position: relative;
  z-index: 2;
  padding: 60px 0;
}
.hero-catch {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-catch-line {
  display: inline-block;
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 900;
  color: var(--green);
  background: rgba(255,255,255,0.88);
  padding: 8px 20px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  width: fit-content;
  opacity: 0;
  transform: translateX(-30px);
  animation: heroSlideIn 0.7s ease forwards;
}
.hero-catch-line:nth-child(2) { animation-delay: 0.2s; }
.hero-catch-line:nth-child(3) { animation-delay: 0.4s; }

@keyframes heroSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── 写真 ── */
.hero-image {
  position: relative;
  z-index: 1;
  flex: 1;
  margin-left: -18%;
  margin-right: calc(-50vw + 50%);
  align-self: flex-end;
  top: -40px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
	border-radius: 40px 0 0 40px;
}

/* ── 装飾リング ── 
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid;
  z-index: 0;
  opacity: 0;
  animation: heroRingFade 1s ease forwards;
}
.hero-ring--1 {
  width: 100px; height: 100px;
  border-color: rgba(59,161,0,0.25);
  top: 8%; left: 3%;
  animation-delay: 0.3s;
}
.hero-ring--2 {
  width: 60px; height: 60px;
  border-color: rgba(59,161,0,0.15);
  top: 4%; left: 10%;
  border-width: 2px;
  animation-delay: 0.5s;
}
.hero-ring--3 {
  width: 140px; height: 140px;
  border-color: rgba(255,255,255,0.6);
  top: 5%; right: 3%;
  border-width: 8px;
  animation-delay: 0.2s;
}
.hero-ring--4 {
  width: 80px; height: 80px;
  border-color: rgba(59,161,0,0.18);
  bottom: 12%; left: 5%;
  animation-delay: 0.6s;
}*/

@keyframes heroRingFade {
  to { opacity: 1; }
}

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner {
    flex-direction: column;
    min-height: auto;
    padding: 0;
  }
  .hero-text {
    flex: none;
    width: 100%;
    padding: 40px 20px 24px;
  }
  .hero-catch-line {
    font-size: clamp(16px, 4.5vw, 22px);
    padding: 6px 14px;
  }
  .hero-image {
    flex: none;
    width: 100%;
    margin-right: 0;
  }
  /*.hero-ring--1 { width: 60px; height: 60px; top: 5%; left: 2%; }
  .hero-ring--2 { width: 36px; height: 36px; top: 2%; left: 12%; }
  .hero-ring--3 { width: 80px; height: 80px; top: 3%; right: 2%; border-width: 5px; }
  .hero-ring--4 { width: 50px; height: 50px; bottom: 8%; left: 3%; }*/
}


/* ================================================================
   NEWS SECTION（お知らせ）
================================================================ */
.news-section {
  padding: 80px 0 60px;
  text-align: center;
}

/* ── 見出し：アーチ + アイコン + タイトル ── */
.news-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.news-arch {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 180px;
  height: 108px;
}
.news-heading-icon {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
}
.news-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 0.4em;
  margin-top: -4px;
}

/* ── ニュースリスト ── */
.news-list-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  background: var(--gray-100);
  border-radius: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 16px;
  border-bottom: 1px dotted var(--gray-400);
  text-align: left;
}
.news-item:last-child {
  border-bottom: 1px dotted var(--gray-400);
}
.news-date {
  font-size: 14px;
  color: var(--gray-600);
  flex-shrink: 0;
  min-width: 100px;
}
.news-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  padding: 3px 14px;
  border-radius: 4px;
  flex-shrink: 0;
  min-width: 72px;
  text-align: center;
}
.news-tag--report { background: #e8a735; }
.news-tag--job    { background: #d45b5b; }
.news-tag--other  { background: #8b6f47; }
.news-tag--info   { background: var(--green); }

.news-text {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.6;
}
.news-text:hover {
  color: var(--green);
}

/* ── お知らせ一覧ボタン ── */
.news-more {
  margin-top: 36px;
  text-align: center;
}
.news-more-btn {
  display: inline-block;
  padding: 14px 48px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 40px;
  background: transparent;
  text-decoration: none;
  transition: all 0.25s ease;
}
.news-more-btn:hover {
  background: var(--green);
  color: var(--white);
}

/* News レスポンシブ */
@media (max-width: 900px) {
  .news-section { padding: 60px 0 40px; }
  .news-item {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 16px 12px;
  }
  .news-date { min-width: auto; }
  .news-text {
    width: 100%;
    font-size: 14px;
  }
  .news-list-wrap {
    margin: 0 16px;
    padding: 16px;
  }
}


/* ================================================================
   TRAINING SECTION（研修情報）
================================================================ */
.training-section {
  padding: 80px 0 60px;
  text-align: center;
}
.training-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

/* カテゴリタブ */
.training-tabs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.training-tab {
  display: inline-block;
  padding: 6px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  border-radius: 20px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.training-tab:hover { opacity: 0.8; }
.training-tab--aichi { background: var(--green); }
.training-tab--tokai { background: #d12c10; }
.training-tab--other { background: #e8a735; }
.training-tab--etc   { background: #5ba4c9; }

/* 研修リスト */
.training-list-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  background: var(--gray-100);
  border-radius: 16px;
}
.training-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.training-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  border-bottom: 1px dotted var(--gray-400);
  text-align: left;
  flex-wrap: wrap;
}
.training-date {
  font-size: 14px;
  color: var(--gray-600);
  flex-shrink: 0;
}
.training-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  padding: 2px 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.training-tag--aichi { background: var(--green); }
.training-tag--other { background: #e8a735; }
.training-tag--etc   { background: #5ba4c9; }

.training-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  flex: 1;
  min-width: 0;
}
.training-text a {
  color: var(--ink);
  text-decoration: none;
}
.training-text a:hover {
  color: var(--green);
}

/* PDFアイコン */
.training-pdf-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 4px;
  transition: opacity 0.2s ease;
}
.training-pdf-icon:hover { opacity: 0.7; }

/* サムネイル（peatix等のリンク画像） */
.training-item-thumb {
  flex-shrink: 0;
  width: 200px;
  margin-left: auto;
}
.training-item-thumb a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s ease;
}
.training-item-thumb a:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.training-item-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* Training レスポンシブ */
@media (max-width: 900px) {
  .training-section { padding: 60px 0 40px; }
  .training-item {
    flex-direction: column;
    gap: 12px;
    padding: 20px 12px;
  }
  .training-item-thumb {
    width: 100%;
    max-width: 280px;
  }
  .training-list-wrap {
    margin: 0 16px;
    padding: 16px;
  }
  .training-tabs { gap: 8px; }
  .training-tab { padding: 5px 16px; font-size: 12px; }
}



/* ================================================================
   MSW SECTION（医療ソーシャルワーカーとは）
================================================================ */
.msw-section {
  padding: 60px 0;
}
.msw-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 24px;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: url('../img/top/about-msw.png') center / cover no-repeat;
  border-radius: 16px;
  overflow: hidden;
}
.msw-content {
  flex: 1;
  padding: 40px 36px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.msw-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.msw-heading-icon {
  flex-shrink: 0;
  line-height: 0;
}
.msw-heading-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.msw-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.02em;
	padding-bottom: 12px;
  border-bottom: 4px solid var(--white);
}
.msw-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.msw-title a:hover {
  color: var(--green);
}
.msw-list {
  list-style: none;
  margin: 0 0 0 8%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.msw-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.msw-list li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.msw-list li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.msw-list li a:hover {
  color: var(--green);
}

/* 写真 */
.msw-photo {
  flex-shrink: 0;
  width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.msw-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* MSW レスポンシブ */
@media (max-width: 900px) {
  .msw-inner {
    flex-direction: column;
    margin: 0 16px;
  }
  .msw-content {
    padding: 28px 24px;
  }
  .msw-title { font-size: 18px; }
  .msw-photo {
    width: 100%;
    padding: 0 24px 24px;
  }
	.msw-list {
  margin: 0;
		}
}



/* ================================================================
   ABOUT SECTION（愛知県医療ソーシャルワーカー協会について）
================================================================ */
.about-section {
  padding: 60px 0;
}
.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 24px;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: url('../img/top/about-association.png') center / cover no-repeat;
  border-radius: 16px;
  overflow: hidden;
}

/* 写真（左） */
.about-photo {
  flex-shrink: 0;
  width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* テキスト（右） */
.about-content {
  flex: 1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}
.about-heading-icon {
  flex-shrink: 0;
  line-height: 0;
}
.about-heading-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.about-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.02em;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--white);
  line-height: 1.5;
}
.about-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.about-title a:hover {
  color: var(--green);
}

/* リンクリスト（2列） */
.about-list {
  list-style: none;
  margin: 0 0 0 8%;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-list li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.about-list li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.about-list li a:hover {
  color: var(--green);
}

/* About レスポンシブ */
@media (max-width: 900px) {
  .about-inner {
    flex-direction: column;
    margin: 0 16px;
  }
  .about-photo {
    width: 100%;
    padding: 24px 24px 0;
  }
  .about-content {
    padding: 28px 24px;
  }
  .about-title { font-size: 18px; }
  .about-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


/* ================================================================
   PUBLICATION SECTION（刊行物）
================================================================ */
.pub-section {
  padding: 80px 0 60px;
  background: url('../img/top/pub_bg.png') top center / cover no-repeat;
}

/* 見出し */
.pub-heading {
  text-align: center;
  margin-bottom: 48px;
}
.pub-heading-ja {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.3em;
}
.pub-heading-en {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* カードグリッド */
.pub-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pub-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
	background-color: var(--white);
	border-radius: 20px;
	padding: 20px;
}

/* サムネイル */
.pub-card-thumb {
  flex-shrink: 0;
  width: 180px;
}
.pub-card-thumb a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s ease;
}
.pub-card-thumb a:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.pub-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */
.pub-card-body {
  flex: 1;
  min-width: 0;
}
.pub-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.6;
  margin-bottom: 12px;
}
.pub-card-title a {
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.pub-card-title a:hover {
  opacity: 0.7;
}
.pub-card-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
}

/* Pub レスポンシブ */
@media (max-width: 900px) {
  .pub-section { padding: 60px 0 40px; }
  .pub-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }
  .pub-card {
    gap: 16px;
  }
  .pub-card-thumb {
    width: 140px;
  }
  .pub-heading-en { font-size: 28px; }
}

@media (max-width: 480px) {
  .pub-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .pub-card-thumb {
    width: 200px;
  }
}


/* ================================================================
   JOIN SECTION（入会のご案内）
================================================================ */
.join-section {
  background: url('../img/top/join_bg.jpg') center / cover no-repeat;
  position: relative;
  padding: 100px 24px 120px;
  text-align: center;
}
.join-overlay {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255,255,255,0.85);
  border-radius: 30px;
  padding: 48px 40px;
}
.join-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}
.join-desc {
  font-size: 15px;
  color: var(--ink);
  line-height: 2;
  margin-bottom: 28px;
}
.join-btn {
  display: inline-block;
  padding: 14px 48px;
  font-size: 15px;
  font-weight: 700;
  color: #FF8456;
  border: 2px solid #FF8456;
  border-radius: 40px;
  background: transparent;
  text-decoration: none;
  transition: all 0.25s ease;
}
.join-btn:hover {
  background: #FF8456;
  color: var(--white);
}

/* Join レスポンシブ */
@media (max-width: 900px) {
  .join-section { padding: 60px 16px; }
  .join-overlay { padding: 32px 24px; }
  .join-title { font-size: 22px; }
  .join-desc { font-size: 14px; }
}