:root {
  --header-height-pc:100px;
  --header-height-sp:80px;
  --site-max-width:1920px;
}
/* ============================================
   リセット
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  color: #3b4043;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

@media (min-width: 641px) {
  body,
  .header {
      min-width:1200px;
  }
}

/* ============================================
   ヘッダー（モバイルファースト）
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-sp);
  background: rgba(255 255 255 / 0.9);
  z-index: 100;
  display: flex;
  align-items: center;
  /* box-shadow: 0 2px 4px rgba(0 0 0 / 0.05); */
}

.header-inner {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-icon svg {
  width: 100%;
  height: 100%;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-ja {
  font-size: 1.3rem;
  font-weight: 700;
  color: #141414;
}

@media (min-width: 641px) {
  .header-logo-ja {
    font-size: 2rem;
  }
}

.header-logo-en {
  font-size: 1.2rem;
  color: #666;
  letter-spacing: 1px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-nav-list {
  display: none;
  align-items: center;
  gap: 35px;
}

.header-nav-list a {
  font-size: 1.6rem;
  color: #3b4043;
  letter-spacing: 1px;
  position: relative;
}

.header-nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #E53A40;
}

.header-login-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: #2d3844;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1.6rem;
  font-weight: 500;
}

.header-login-btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   ハンバーガーメニュー（モバイルファースト）
   ============================================ */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 200;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #3b4043;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイルナビゲーション */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0 0 0 / 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  position: absolute;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: rgba(255 255 255 / 0.9);
  padding: 80px 10px 30px;
  transition: right 0.3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-close::before,
.mobile-nav-close::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: #3b4043;
}

.mobile-nav-close::before {
  transform: rotate(45deg);
}

.mobile-nav-close::after {
  transform: rotate(-45deg);
}

.mobile-nav.active .mobile-nav-inner {
  right: 0;
}

.mobile-nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid #e8e8e8;
}

.mobile-nav-menu a {
  display: block;
  padding: 18px 10px;
  font-size: 1.5rem;
  color: #3b4043;
}

.mobile-nav-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 20px;
  background: #2d3844;
  color: #fff;
  border-radius: 8px;
  font-size: 1.6rem;
}

.mobile-nav-login svg {
  width: 18px;
  height: 18px;
}

body.nav-open {
  overflow: hidden;
}

/* ============================================
   ページヒーロー（モバイルファースト）
   ============================================ */
.page-hero {
  width: 100%;
  max-width: var(--site-max-width);
  margin-top: var(--header-height-sp);
  margin-left:auto;
  margin-right: auto;
  position: relative;
  height: 180px;
  overflow: hidden;
  padding:0 10px;
}

.page-hero-bg {
  /* position: absolute; */
  border-radius: 10px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #87CEEB 0%, #E0F4FF 50%, #fff 100%); */
  background: url(../images/lower.jpg);
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
  z-index: 1;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-hero-content {
  /* position: relative; */
  position: absolute;
  bottom:0;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 20px;
  padding-left: 20px;
}

.page-hero-title-en {
  font-size: 3.2rem;
  font-weight: 400;
  color: #FFF;
  letter-spacing: 3px;
  /* line-height: 1; */
  /* margin-bottom: 10px; */
}

.page-hero-title-ja {
  font-size: 1.2rem;
  color: #FFF;
  letter-spacing: 2px;
}

/* ============================================
   フッター（モバイルファースト）
   ============================================ */
.footer {
  margin-top: 80px;
}

.footer-back-to-top {
  display: flex;
  justify-content: flex-end;
  padding: 20px 10px;
}

.footer-back-to-top a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  color: #3b4043;
}

.footer-back-to-top svg {
  width: 16px;
  height: 24px;
}

.footer-main {
  background: #f7f7f7;
  padding: 50px 0 25px;
}

.footer-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
}

.footer-logo-icon svg {
  width: 100%;
  height: 100%;
}

.footer-logo-ja {
  font-size: 1.8rem;
  font-weight: 700;
  color: #141414;
}

.footer-logo-en {
  font-size: 1.1rem;
  color: #666;
}

.footer-nav-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.footer-nav a {
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-nav a::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 2px;
  background: #E53A40;
}

.footer-login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2d3844;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1.6rem;
}

.footer-login-btn svg {
  width: 16px;
  height: 16px;
}

.footer-policy {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
  /* text-align: right; */
}

.footer-policy a {
  font-size: 1.5rem;
  color: #3b4043;
}

.footer-copyright {
  text-align: center;
  padding: 20px 0;
  background: #f7f7f7;
  border-top: 1px solid #e8e8e8;
}

.footer-copyright p {
  font-size: 1.2rem;
  color: #888;
}

/* ============================================
   共通レスポンシブ（641px以上）
   ============================================ */
@media (min-width: 641px) {
  .header {
    height: var(--header-height-pc);
  }

  /* .header-inner {
    padding: 0 40px;
  } */

  .header-nav-list {
    display: flex;
  }

  .header-login-btn {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .page-hero {
    margin-top: var(--header-height-pc);
    height: 395px;
  }

  .page-hero-content {
    padding-left: 80px;
  }

  .page-hero-title-en {
    font-size: 5.5rem;
    line-height: 1;
  }

  .page-hero-title-ja {
    font-size: 1.6rem;
    margin-top:10px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
  }

  .footer-nav-area {
    align-items: flex-end;
  }

  .footer-nav ul {
    display: flex;
    flex-direction: row;
    gap: 30px;
  }

  .footer-policy {
    flex-direction: row;
    gap: 25px;
  }
}

/* ============================================
   index.html 専用スタイル（モバイルファースト）
   ============================================ */

/* メインビジュアル */
.hero {
  position: relative;
  padding-top: var(--header-height-sp);
  /* padding-left: 5px; */
  /* padding-right: 5px; */
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f0f0;
  /* margin-bottom:20px; */
}

.hero-slide {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8d4b8 0%, #f5efe6 50%, #fff 100%);
}

/* 各スライドの背景画像 */
.hero-slide-1 {
  background: url('../images/sp1.jpg') center/cover no-repeat;
}
.hero-slide-2 {
  background: url('../images/sp2.jpg') center/cover no-repeat;
}
.hero-slide-3 {
  background: url('../images/sp3.jpg') center/cover no-repeat;
}
.hero-slide-4 {
  background: url('../images/sp4.jpg') center/cover no-repeat;
}
.hero-slide-5 {
  background: url('../images/sp5.jpg') center/cover no-repeat;
}

@media (min-width: 641px) {
  .hero-slide-1 {
    background: url('../images/main1.jpg') center/cover no-repeat;
  }
  .hero-slide-2 {
    background: url('../images/main2.jpg') center/cover no-repeat;
  }
  .hero-slide-3 {
    background: url('../images/main3.jpg') center/cover no-repeat;
  }
  .hero-slide-4 {
    background: url('../images/main4.jpg') center/cover no-repeat;
  }
  .hero-slide-5 {
    background: url('../images/main5.jpg') center/cover no-repeat;
  }
}

.hero-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0 0 0 / 0.3);
}

.hero-subtitle {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.hero-title {
  font-size: 1.6rem;
  font-weight: 400;
}

/* Swiper Pagination スタイル（heroの外側右下） */
.hero-pagination-wrapper {
  display: flex;
  justify-content: flex-end;
  padding: 15px 10px 0;
  margin-bottom: 20px;
}

@media (min-width: 641px) {
  .hero-pagination-wrapper {
    /* display: flex; */
    justify-content: flex-end;
    padding: 15px 10px 0;
  }
}

.hero-pagination-wrapper .swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
}

.hero-pagination-wrapper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(59 64 67 / 0.3);
  opacity: 1;
}

.hero-pagination-wrapper .swiper-pagination-bullet-active {
  background: #3b4043;
}

/* Welcomeメッセージ */
.welcome {
  /* position: absolute; */
  /* bottom: 40px; */
  /* margin-top: -80px; */
  margin-top:0;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--site-max-width);
  padding: 0 10px;
  z-index: 10;
}

.welcome-inner {
  background: rgba(194 0 0 / 0.85);
  /* background: url(./images/red.png); */
  border-radius: 10px;
  padding: 20px;
  color: #fff;
}

.welcome-lead {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.welcome-text {
  font-size: 1.6rem;
  line-height: 1.8;
}

/* TOPICS */
.topics {
  padding: 80px 0 60px;
}

.topics-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.topics-header {
  display: flex;
  flex-direction: column;
}

.topics-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #3b4043;
  letter-spacing: 4px;
  margin-bottom: 5px;
}

.content-text .topics-title,
.location-section .topics-title {
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 4px solid #e0e0e0;
  position: relative;
  word-break: break-all;
}

.content-text .topics-title::after,
.location-section .topics-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #E53A40;
}

.topics-title-line {
  width: 200px;
  height: 4px;
  background: linear-gradient(to right, #E53A40 60px, #e0e0e0 60px);
}

.topics-more {
  display: block;
  /* display: flex; */
  /* align-items: center; */
  gap: 5px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 1.5rem;
  color: #E53A40;
}

.topics-more svg {
  width: 8px;
  height: 14px;
}

.topics-list {
  display: flex;
  flex-direction: column;
}

.topics-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.topics-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 1.5rem;
}

.topics-date {
  color: #3b4043;
}

.topics-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.topics-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A80DF;
  border-radius: 2px;
  padding: 2px 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.topics-text {
  font-size: 1.6rem;
  color: #3b4043;
}

/* PICT (日常茶飯事) アーカイブ用 */
.pict-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.pict-thumbnail {
  flex-shrink: 0;
}

.pict-thumbnail img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 4px;
}

.pict-excerpt {
  font-size: 1.6rem;
  color: #555;
  line-height: 1.6;
}

.pict-excerpt a {
  color: inherit;
  text-decoration: none;
}

.pict-excerpt a:hover {
  text-decoration: underline;
}

@media (min-width: 641px) {
  .pict-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .pict-thumbnail {
    width: 200px;
  }

  .pict-thumbnail img {
    width: 200px;
    max-width: none;
  }

  .pict-excerpt {
    flex: 1;
  }
}

/* 年別フィルター */
.year-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
}

.year-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 1.6rem;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.year-link:hover {
  background: #e0e0e0;
  border-color: #ccc;
}

.year-link.active {
  background: #e53935;
  color: #fff;
  border-color: #e53935;
}

/* MEMBERS (トップページ用) */
.members {
  padding: 0 10px;
}

.members-inner {
  display: grid;
  grid-template-columns: 1fr;
  background: #2d3844;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0 0 0 / 0.16);
}

.members-content {
  padding: 30px 20px;
  color: #fff;
}

.members-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 5px;
}

.members-title-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #E53A40 60px, #BCBCBC 60px);
  margin-bottom: 40px;
}

.members-login-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  justify-content: center;
}

.members-login-icon {
  width: 40px;
  height: 45px;
}

.members-login-icon svg {
  width: 100%;
  height: 100%;
}

.members-login-title {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 3px;
}

.members-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.members-form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.members-form-group label {
  width: auto;
  font-size: 1.5rem;
  text-align: left;
  word-break: keep-all;
}

.members-form-group input {
  width: 100%;
  height: 36px;
  border: none;
  border-radius: 5px;
  padding: 0 12px;
  font-size: 1.6rem;
}

.members-captcha {
  margin-left: 0;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.members-captcha-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  background: #fff;
}

.members-captcha-text {
  font-size: 1.2rem;
  color: #ccc;
}

.members-captcha-logo {
  width: 50px;
  height: 50px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #666;
}

.members-submit {
  width: 100%;
  height: 40px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  background: #E53A40;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.members-submit svg {
  width: 16px;
  height: 16px;
}

.members-note {
  margin-top: 20px;
  font-size: 1.3rem;
  line-height: 1.7;
  color: #fff;
  text-align: center;
}

.members-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #999;
  background: white;
}

/* レスポンシブ（641px以上） */
@media (min-width: 641px) {
  .members-image img {
    object-fit: cover;
    height: 400px;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
  }
  
  .topics-title {
    font-size: 3.2rem;
  }

  .hero {
    /* padding-top: 90px; */
    padding-top: var(--header-height-pc);
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-slider {
    height: 830px;
    margin-bottom: 0;
  }

  .hero-content {
    bottom: 220px;
    left: 50px;
  }

  .hero-subtitle {
    font-size: 4.6rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-pagination-wrapper {
    padding: 20px 60px 0;
  }

  .welcome {
    position: absolute;
    bottom: 60px;
    left:50%;
    transform: translateX(-50%);
    /* margin-top: -120px; */
    padding: 0 60px;
    width: 100%;
    margin-top:20px;
  }

  .welcome-inner {
    padding: 25px 50px;
  }

  .welcome-lead {
    font-size: 2.2rem;
  }

  .welcome-text {
    font-size: 1.6rem;
  }

  .topics-inner {
    grid-template-columns: 200px 1fr;
    gap: 100px;
    padding: 0 90px;
  }

  .topics-more {
    padding-top: 100px;
  }

  .members {
    padding: 0 22px;
  }

  .members-inner {
    grid-template-columns: 55% 45%;
  }

  .members-content {
    /* padding: 50px 60px 50px 60px; */
    padding: 50px 0 50px 60px;
  }

  .members-form-group {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }

  .members-form-group label {
    width: 70px;
    text-align: right;
  }

  .members-form-group input {
    width: 280px;
  }

  .members-captcha {
    margin-left: 85px;
  }

  .members-submit {
    width: 280px;
    /* margin-left: 85px; */
    /* display: flex; */
    /* justify-content: center; */
  }

  .members-image {
    height: auto;
    background: #3b4043;
  }
}

/* ============================================
   下層ページ共通スタイル（モバイルファースト）
   ============================================ */

/* メインコンテンツ */
.main-content {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 40px 10px;
}

.content-grid {
  /* display: grid; */
  grid-template-columns: 1fr;
  gap: 40px;
}

/* 左側の画像エリア */
.content-image {
  position: relative;
}

.content-image-main {
  width: 100%;
  /* height: 300px; */
  height: 100%;
  background: #f0f0f0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  border-radius: 23px;
}

.content-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-image-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(200 50 70 / 0.85);
  color: #fff;
  padding: 8px 15px;
  font-size: 1.3rem;
  border-radius: 3px;
  z-index: 2;
}

/* 右側のテキストエリア */
/* .content-text {
  padding-top: 20px;
} */

.section-block {
  margin-bottom: 50px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.section-intro {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #3b4043;
  margin-bottom: 30px;
}

@media (min-width: 641px) {
  .main-content {
    padding: 80px 40px;
  }

  .content-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
  }

  .content-image-main {
    height: 800px;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

/* ============================================
   philosophy.html 専用スタイル（モバイルファースト）
   ============================================ */
.philosophy-main {
  font-size: 2.2rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.philosophy-highlight {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.philosophy-highlight.marker {
  display: inline;
  background: linear-gradient(transparent 60%, #fff066 60%);
}

.philosophy-highlight .red {
  color: #E53A40;
}

.philosophy-desc {
  font-size: 1.5rem;
  line-height: 1.9;
  color: #3b4043;
}

/* 基本目標 */
.goal-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.goal-item {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #3b4043;
}

.goal-item .number {
  color: #3b4043;
  font-weight: 500;
}

.goal-item .highlight {
  color: #E53A40;
  font-weight: 700;
  font-size: 2.2rem;
  background: linear-gradient(transparent 60%, #fff066 60%);
}

/* ロゴマーク */
.logo-section {
  margin-top: 60px;
}

.logo-grid {
  display: flex;
  /* flex-direction: column; */
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wa {
  width: 120px;
  /* height: auto; */
}

.logo-circle {
  width: 100px;
  /* height: auto; */
}

@media (min-width: 641px) {
  .philosophy-main {
    font-size: 2.8rem;
  }

  .philosophy-highlight {
    font-size: 2.8rem;
  }

  .goal-item .highlight {
    font-size: 2.8rem;
  }

  .logo-grid {
    flex-direction: row;
    gap: 60px;
  }

  .logo-wa {
    width: 250px;
    height: auto;
  }

  .logo-circle {
    width: 182px;
    height: auto;
  }

}

/* ============================================
   organization.html 専用スタイル（モバイルファースト）
   ============================================ */
/* 概要テーブル */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.info-table tr {
  border-bottom: none;
}

.info-table th {
  width: 120px;
  padding: 10px 0;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  color: #3b4043;
  background: transparent;
  border: none;
  vertical-align: middle;
}

.info-table th span {
  display: inline-block;
  width: 100px;
  padding: 5px 10px;
  background: #f5f5f5;
  border-radius: 8px;
  letter-spacing: 2px;
  text-align: center;
  white-space: nowrap;
}

.info-table td {
  padding: 15px 10px;
  font-size: 1.6rem;
  color: #3b4043;
  border: none;
  vertical-align: middle;
}

.info-table tr:nth-child(1) th,
.info-table tr:nth-child(1) td,
.info-table tr:nth-child(2) th,
.info-table tr:nth-child(2) td {
  border-bottom: 1px solid #e0e0e0;
}

/* 組織図 */
.org-chart-section {
  margin-top: 50px;
}

.org-chart-title {
  font-size: 2rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 30px;
}

.org-chart {
  position: relative;
  width: 100%;
  min-height: 400px;
}

.japan-map {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.japan-map img {
  width: 100%;
}

/* .map-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(180deg, #e8f4fc 0%, #fff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
} */

/* .location-marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.1rem;
  color: #3b4043;
}

.location-marker::before {
  content: '';
  width: 12px;
  height: 12px;
  background: #f0c040;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0 0 0 / 0.3);
}

.location-marker.red::before {
  background: #E53A40;
} */

/* .location-list {
  position: relative;
  right: auto;
  bottom: auto;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.2rem;
  color: #3b4043;
}

.location-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-list-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.location-list-item.yellow::before {
  background: #f0c040;
}

.location-list-item.red::before {
  background: #E53A40;
} */

@media (min-width: 641px) {
  .info-table th {
    width: 150px;
    padding: 12px 0;
    font-size: 1.5rem;
  }

  .info-table th span {
    width: 140px;
    padding: 5px 25px;
  }

  .info-table td {
    padding: 18px 30px;
    font-size: 1.5rem;
  }

  .org-chart-title {
    font-size: 2.4rem;
  }

  /* .map-placeholder {
    height: 400px;
  } */

  /* .location-list {
    position: absolute;
    right: 0;
    bottom: 80px;
    margin-top: 0;
  } */
}

/* ============================================
   administration.html 専用スタイル（モバイルファースト）
   ============================================ */
/* 運営セクション */
.admin-section {
  margin-bottom: 40px;
}

.admin-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 25px;
}

/* 組織図フローチャート */
.org-flowchart {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 40px;
}

.org-box {
  border: 1px solid #ccc;
  padding: 10px 25px;
  font-size: 1.3rem;
  background: #fff;
  text-align: center;
  min-width: 120px;
}

.org-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.org-connector {
  width: 30px;
  height: 1px;
  background: #ccc;
}

.org-vertical {
  width: 1px;
  height: 20px;
  background: #ccc;
  margin-left: 60px;
}

/* 部門リスト */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 15px;
  margin-top: 20px;
  margin-left: 0;
}

.dept-item {
  font-size: 1.3rem;
  color: #3b4043;
  padding: 5px 0;
}

/* 会議説明セクション */
.meeting-section {
  margin-top: 50px;
}

.meeting-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.meeting-desc {
  font-size: 1.6rem;
  line-height: 1.9;
  color: #3b4043;
  margin-bottom: 30px;
}

@media (min-width: 641px) {
  .admin-section-title {
    font-size: 2rem;
  }

  .dept-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 30px;
    margin-left: 150px;
  }

  .meeting-title {
    font-size: 2rem;
  }
}

/* ============================================
   location.html 専用スタイル（モバイルファースト）
   ============================================ */
/* ページレイアウト */
.location-page {
  max-width: var(--site-max-width);
}

.location-layout {
  display: flex;
  flex-direction: column;
}

.location-content {
  flex: 1;
}

.location-sidebar {
  margin-bottom: 40px;
}

/* 目次ナビゲーション */
.location-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.location-nav a {
  font-size: 1.6rem;
  color: #3b4043;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
  transition: color 0.3s;
  position: relative;
  padding-left: 20px;
  display: flex;
  align-items: center;
}

.location-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  background: #E53A40;
  border-radius: 50%;
}

.location-nav a:hover {
  color: #E53A40;
}

/* 各拠点セクション */
.location-section {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e8e8e8;
}

.location-section:last-child {
  border-bottom: none;
}

.location-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 25px;
}

.location-title-sub {
  font-size: 1.6rem;
  font-weight: 500;
  color: #666;
}

.location-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 情報テーブル */
.location-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
  font-size: 1.3rem;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
}

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

.info-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background: #f5f5f5;
  border-radius: 6px;
  color: #3b4043;
  font-weight: 500;
  text-align: center;
  font-size: 1.2rem;
  white-space: nowrap;
  height: 2.4em;
  align-self: flex-start;
}

.info-value {
  color: #3b4043;
  line-height: 1.8;
}

/* 地図 */
.location-map {
  width: 100%;
  height: 400px;
  background: #e8e8e8;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Googleマップリンク */
.map-link {
  display: block;
  text-align: right;
  margin-top: 10px;
  font-size: 1.2rem;
  color: #666;
}

.map-link:hover {
  text-decoration: underline;
}

@media (min-width: 641px) {
  .location-layout {
    flex-direction: row;
    gap: 60px;
  }

  .location-sidebar {
    order: 2;
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    margin-bottom: 0;
  }

  .location-content {
    order: 1;
  }

  .location-nav a {
    font-size: 1.6rem;
    padding: 12px 0 12px 20px;
  }

  .location-title {
    font-size: 2rem;
  }

  .location-grid {
    flex-direction: column;
    gap: 25px;
  }

  .location-map {
    height: 400px;
  }

  .info-row {
    grid-template-columns: 100px 1fr;
    font-size: 1.6rem;
    padding: 15px 0;
  }

  .info-label {
    padding: 8px 15px;
    font-size: 1.3rem;
  }
}

/* ============================================
   login.html 専用スタイル（モバイルファースト）
   ============================================ */
/* ログインボックス */
.login-box {
  max-width: 100%;
  margin: 0 auto;
  background: #2d3844;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0 0 0 / 0.15);
}

.login-header {
  padding: 15px 20px;
}

.login-header-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 5px;
  padding-bottom: 10px;
  border-bottom: 4px solid rgba(255,255,255,0.3);
  position: relative;
  display: block;
  width: 100%;
}

.login-header-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #E53A40;
}

.login-body {
  padding: 30px 20px 40px;
}

.login-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}

.login-title-icon {
  width: 45px;
  height: 45px;
}

.login-title-icon svg {
  width: 100%;
  height: 100%;
}

.login-title-text {
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 3px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.form-group label {
  width: auto;
  font-size: 1.6rem;
  color: #fff;
  text-align: left;
}

.form-group input {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 3px;
  padding: 0 15px;
  font-size: 1.6rem;
  background: #fff;
}

.form-group input:focus {
  outline: 2px solid #E53A40;
}

/* reCAPTCHA */
.captcha-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.captcha-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  padding: 10px 15px;
}

.captcha-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}

.captcha-text {
  font-size: 1.3rem;
  color: #555;
}

.captcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 20px;
}

.captcha-logo img {
  height: 35px;
}

.captcha-logo-text {
  font-size: 1rem;
  color: #555;
}

/* ログインボタン */
.login-submit {
  width: 100%;
  height: 48px;
  background: #E53A40;
  border: none;
  border-radius: 3px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  transition: opacity 0.3s;
}

.login-submit:hover {
  opacity: 0.9;
}

.login-submit svg {
  width: 18px;
  height: 18px;
}

/* ログイン説明文 */
.login-note {
  margin-top: 25px;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #ccc;
  text-align: center;
}

@media (min-width: 641px) {
  .login-box {
    max-width: 560px;
  }

  .login-header {
    padding: 20px 30px;
  }

  .login-header-title {
    font-size: 2.4rem;
    letter-spacing: 8px;
  }

  .login-body {
    padding: 40px 50px 50px;
  }

  .login-title {
    flex-direction: row;
    gap: 15px;
  }

  .login-title-text {
    font-size: 2rem;
  }

  .form-group {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }

  .form-group label {
    width: 80px;
    text-align: right;
  }

  .form-group input {
    flex: 1;
  }

  .captcha-box {
    flex-wrap: nowrap;
  }
}

/* ============================================
   members.html / members-keicho.html 専用スタイル（モバイルファースト）
   ============================================ */
/* 会員ページ用body */
body.members-page {
  font-size: 1.6rem;
  background: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ヘッダー（会員ページ専用） */
.members-header {
  background: #2d3844;
  height: 50px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.members-header-inner {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.members-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.members-header-logo-icon {
  width: 32px;
  height: auto;
}

.members-header-logo-text {
  font-size: 1.8rem;
  font-weight: 500;
}

.members-header-search {
  display: none;
  position: relative;
  margin-right: auto;
  margin-left: 40px;
}

.members-header-search-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 100%;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b4043;
}

.members-header-search-btn svg {
  width: 18px;
  height: 18px;
}

.members-header-search-btn:hover {
  color: #0068DE;
}

.members-header-search input {
  width: 100%;
  height: 32px;
  padding: 0 15px 0 36px;
  border: none;
  border-radius: 16px;
  background: #fff;
  font-size: 1.3rem;
}

.members-header-search input::placeholder {
  color: #999;
}

.members-header-logout {
  display: none;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 1.3rem;
}

.members-header-logout svg {
  width: 18px;
  height: 18px;
}

/* レイアウト */
.members-layout {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* サイドバー */
.members-sidebar {
  width: 100%;
  background: #EBEFF4;
  padding: 20px 0;
  flex-shrink: 0;
  display: none;
}

.members-sidebar.active {
  display: block;
  position: fixed;
  top: 50px;
  left: 0;
  height: calc(100vh - 50px);
  z-index: 90;
  overflow-y: auto;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 1.6rem;
  color: #3b4043;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #BDCAD9;
  transition: all 0.2s;
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
  background: #e8f4fc;
  border-left-color: #0066cc;
  color: #0066cc;
}

.sidebar-nav-item.active::after {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  flex-shrink: 0;
  background: #e53935;
  border-radius: 50%;
  margin-left: auto;
}

.sidebar-nav-item.has-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* サイドバー親子メニュー */
.sidebar-nav-parent {
  position: relative;
}

.sidebar-nav-toggle {
  cursor: pointer;
  position: relative;
}

.sidebar-nav-toggle::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid #3b4043;
  border-bottom: 2px solid #3b4043;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s;
}

.sidebar-nav-toggle.open::after {
  transform: translateY(-25%) rotate(-135deg);
}

.sidebar-nav-children {
  max-height: 0;
  overflow: hidden;
  background: #e0e8f0;
  transition: max-height 0.3s ease-out;
}

.sidebar-nav-children.open {
  max-height: 500px;
}

.sidebar-nav-children .sidebar-nav-item {
  padding-left: 35px;
  font-size: 1.6rem;
}

.sidebar-section-title {
  padding: 20px 20px 10px;
  font-size: 1.6rem;
  color: #0068DE;
  font-weight: 500;
}

.sidebar-banners {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-banner {
  display: block;
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-banner img {
  width: 100%;
  height: auto;
}

/* バナー画像の代替表示 */
.banner-placeholder {
  background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
  padding: 10px;
  border-radius: 4px;
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.4;
}

.banner-placeholder.green {
  background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

.banner-placeholder.orange {
  background: linear-gradient(135deg, #fb8c00 0%, #ef6c00 100%);
}

.banner-placeholder.pink {
  background: linear-gradient(135deg, #ec407a 0%, #c2185b 100%);
}

.banner-placeholder.teal {
  background: linear-gradient(135deg, #26a69a 0%, #00897b 100%);
}

.banner-placeholder.red {
  background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
}

.banner-placeholder.navy {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.banner-placeholder.purple {
  background: linear-gradient(135deg, #7e57c2 0%, #512da8 100%);
}

/* メインコンテンツ（会員ページ用） */
.members-main {
  background: #F8FAFC;
  flex: 1;
  padding: 20px 10px;
  max-width: 100%;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 25px;
  padding-left: 15px;
  border-left: 4px solid #3b4043;
}

/* CTAボタン */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  align-items: center;
}

.cta-btn {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  background: #E53A40;
  transition: opacity 0.2s;
}

.cta-btn:hover {
  opacity: 0.9;
}


.cta-btn svg {
  width: 20px;
  height: 20px;
}

/* ニュースセクション */
.news-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px 0;
  margin-bottom: 30px;
}

.news-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 20px;
}

.news-section-title svg {
  width: 20px;
  height: 20px;
  color: #1976d2;
}

.news-list {
  border-top: 1px solid #e0e0e0;
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
  gap: 15px;
}

.news-date {
  font-size: 1.3rem;
  color: #666;
  white-space: nowrap;
  min-width: auto;
}

.news-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
}

.news-tag.news {
  background: #000080;
  color: #fff;
}

.news-tag.info {
  background: #0068DE;
  color: #fff;
}

.news-tag.keicho {
  background: #e53935;
  color: #fff;
}

.news-title {
  width: 100%;
  /* margin-top: 8px; */
  font-size: 1.6rem;
  color: #3b4043;
  line-height: 1.5;
}

.news-title a {
  color: #1976d2;
}

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

.news-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin: 25px auto 0;
  padding: 12px 20px;
  border: 1px solid #1976d2;
  border-radius: 25px;
  color: #1976d2;
  font-size: 1.6rem;
  transition: all 0.2s;
}

.news-more-btn:hover {
  background: #1976d2;
  color: #fff;
}

.news-more-btn svg {
  width: 16px;
  height: 16px;
}

/* 意見・要望バナー */
.feedback-banner {
  display: block;
  max-width: 628px;
  margin: 30px auto 0;
}

.feedback-banner img {
  width: 100%;
  height: auto;
}

/* コンテンツセクション */
.content-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px 15px;
  margin-bottom: 30px;
}

.content-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #3b4043;
}

.content-intro {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #3b4043;
  margin-bottom: 25px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 4px;
}

/* 共済テーブル */
.kyosai_tbl_wrap {
  overflow-x:scroll;
}

.base-table {
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 1.6rem;
}

.kyosai-table {
  width: 1070px;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 1.6rem;
  overflow-x: auto;
}

.base-table th,
.base-table td,
.kyosai-table th,
.kyosai-table td {
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
}

.kyosai-table thead th {
  background: #E53A40;
  color:#FFF;
  font-weight: 500;
  text-align: center;
}

.kyosai-table tbody th {
  background: #E53A40;
  color:#FFF;
  font-weight: 500;
  width: 100px;
}

.kyosai-table td {
  background: #FFF;
}

.kyosai-table .amount {
  text-align: right;
  white-space: nowrap;
}

.kyosai-table .link-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kyosai-table .link-list a {
  color: #1976d2;
  font-size: 1.2rem;
}

.kyosai-table .link-list a:hover {
  text-decoration: underline;
}

.kyosai-table .notes {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

.kyosai-table a {
  text-decoration: underline;
}

.kyosai-table a:hover {
  text-decoration: none;
}

.kyosai-table input[type=email],
.kyosai-table input[type=text],
.kyosai-table textarea {
  padding:4px 10px;
}
/* .kyosai-table input[type=text].hasDatepicker {
  padding:0;
} */

.kyosai-table textarea {
  width: 100%;
}

/* 現行内容プレースホルダー */
.content-placeholder {
  background: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: #999;
  font-size: 1.6rem;
  margin-bottom: 30px;
}

/* 注釈 */
.footnotes {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.footnotes p {
  margin-bottom: 10px;
  padding-left: 2em;
  text-indent: -2em;
}

/* 給付案内 */
.benefit-info {
  margin-bottom: 20px;
}

.benefit-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e53935;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 4px solid #e53935;
}

.benefit-description {
  font-size: 1.3rem;
  color: #3b4043;
  line-height: 1.8;
  padding-left: 14px;
  margin-bottom: 20px;
}

/* ゆうあい共済セクション */
.yuai-section {
  margin-top: 40px;
}

.yuai-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b4043;
  margin-bottom: 20px;
}

/* フッター（会員ページ用） */
.members-footer {
  background: #EFEFEF;
  padding: 20px;
  text-align: center;
  margin-top: auto;
}

.members-footer-copyright {
  font-size: 1.2rem;
  color: #666;
}

/* 会員ページ ハンバーガーの色（SP） */
.members-header .hamburger span {
  background: #fff;
}

/* 会員ページ モバイルナビ */
.members-mobile-nav {
  background: #EBEFF4;
}

.members-mobile-nav .mobile-nav-inner {
  width: 100%;
  right: -100%;
  background: #EBEFF4;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.members-mobile-nav.active .mobile-nav-inner {
  right: 0;
}

.members-mobile-nav .mobile-nav-menu ul {
  border-top: none;
}

.members-mobile-nav .mobile-nav-menu li a {
  color: #3b4043;
  border-bottom: 1px solid #BDCAD9;
}

.members-mobile-nav .mobile-nav-menu li a.active {
  background: #e8f4fc;
  color: #0066cc;
}

.mobile-nav-section-title {
  padding: 20px 20px 10px;
  font-size: 1.2rem;
  color: #0068DE;
  font-weight: 500;
}

.members-mobile-nav .mobile-nav-login {
  background: #0068DE;
}

.mobile-nav-search {
  padding: 15px 0;
  position: relative;
}

.mobile-nav-search-btn {
  position: absolute;
  left: 0;
  top: 15px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b4043;
}

.mobile-nav-search-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-nav-search input {
  width: 100%;
  height: 40px;
  padding: 0 15px 0 40px;
  border: none;
  border-radius: 20px;
  background: #fff;
  font-size: 1.6rem;
}

.mobile-nav-search input::placeholder {
  color: #999;
}

/* 会員ページ レスポンシブ（641px以上） */
@media (min-width: 641px) {
  .members-layout {
    flex-direction: row;
  }

  .members-sidebar {
    width: 260px;
    display: block;
    position: static;
    height: auto;
  }

  .members-main {
    max-width: calc(100% - 260px);
    padding: 30px 40px;
  }

  .page-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: row;
  }

  .cta-btn {
    padding: 18px 30px;
    font-size: 1.5rem;
  }

  .news-section,
  .content-section {
    padding: 25px 30px;
  }

  .news-item {
    flex-wrap: nowrap;
  }

  .news-date {
    min-width: 90px;
  }

  .news-title {
    width: auto;
    flex: 1;
    margin-top: 0;
  }


  .kyosai-table {
    font-size: 1.3rem;
    display: table;
  }

  .kyosai-table th,
  .kyosai-table td {
    /* padding: 12px 15px; */
    padding: 12px 6px;
  }
}

/* 会員ページ レスポンシブ（901px以上） */
@media (min-width: 901px) {
  .members-header-search {
    display: block;
  }

  .members-header-search input {
    width: 400px;
  }

  .members-header-logout {
    display: flex;
  }
}

/* ============================================
   ページネーション
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  flex-wrap: wrap;
  padding-left: 6px;
  padding-right: 6px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 1.6rem;
  color: #3b4043;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  margin-top:20px;
}

.pagination a:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.pagination .current,
.pagination span.current {
  background: #E53A40;
  border-color: #E53A40;
  color: #fff;
  font-weight: 700;
}

.pagination .prev,
.pagination .next {
  font-weight: 500;
}

.pagination .dots {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 5px;
}

@media (min-width: 641px) {
  .pagination {
    gap: 10px;
    /* margin: 60px 0; */
  }

  .pagination a,
  .pagination span {
    min-width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}
.red {
  color:#E53A40;
}

.topics-tag.cate-topics { background-color:#E5E5E5; color:#000; }
.topics-tag.cate-17 { background-color:#416b92; }
.topics-tag.cate-18 { background-color:#1b4b1f; }
.topics-tag.cate-21 { background-color:#7c164e; }
.topics-tag.cate-22 { background-color:#4e3ea8; }
.topics-tag.cate-23 { background-color:#1919aa;  }/*ニュース*/
.topics-tag.cate-25 { background-color:#853894; }
.topics-tag.cate-25 { background-color:#586b13; }
.topics-tag.cate-27 { background-color:#008000; } /*パンフレット*/
.topics-tag.cate-28 { background-color:#d53f3f; } /*闘争関係*/
.topics-tag.cate-29 { background-color:#971c1c; }
.topics-tag.cate-30 { background-color:#40e0d0; } /*募集*/

/* ============================================
   カスタムボタン
   ============================================ */
.ca-btn {
  text-align: center;
}

/* ============================================
   フォームボタン
   ============================================ */
.members-main button,
.members-main input[type="submit"],
.members-main input[type="button"] {
  background: #E53A40;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 200px;
}

.members-main button:hover,
.members-main input[type="submit"]:hover,
.members-main input[type="button"]:hover {
  background: #c92e34;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 58, 64, 0.4);
}

.members-main button:active,
.members-main input[type="submit"]:active,
.members-main input[type="button"]:active {
  transform: translateY(0);
}

/* 戻るボタン */
.members-main button.back,
.members-main input[type="button"].back {
  background: #6c757d;
}

.members-main button.back:hover,
.members-main input[type="button"].back:hover {
  background: #5a6268;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}
.error-message {
  display: none;
  color: #E53A40;
  font-size: 1.3rem;
  margin-top: 5px;
}

/* ============================================
   慶弔共済フォーム
   ============================================ */
.kyosai-container {
  max-width: 900px;
  background: #fef5f5;
  padding: 20px;
  border-radius: 8px;
}

.form-intro {
  background: #fef5f5;
  padding: 20px;
  margin-bottom: 30px;
}

.form-intro p {
  margin: 0;
  line-height: 1.8;
  color: #E53A40;
}

.form-intro p + p {
  margin-top: 10px;
}

.kyosai-form {
  background: transparent;
}

.form-section {
  background: transparent;
  margin-bottom: 30px;
}

.section-inner {
  padding: 0;
}

.section-heading {
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  background: #E53A40;
  padding: 15px 20px;
  margin: 0 0 20px 0;
  border-radius: 0;
}

.field-group {
  margin-bottom: 25px;
  background: #fff;
  padding: 20px;
}

.field-group:last-child {
  margin-bottom: 0;
}

.field-label {
  font-size: 1.5rem;
  font-weight: 500;
  color: #E53A40;
  margin-bottom: 15px;
  display: block;
}

.name-fields {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.name-fields:last-child {
  margin-bottom: 0;
}

.input-group {
  flex: 1;
}

.input-group label {
  display: block;
  font-size: 1.6rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 5px;
}

.input-group input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1.5rem;
  background: #fff;
}

.input-group input[type="text"]:focus {
  outline: none;
  border-color: #999;
}

.date-selects {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.date-selects select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1.5rem;
  background: #fff;
  cursor: pointer;
  min-width: 80px;
}

.date-selects select:focus {
  outline: none;
  border-color: #999;
}

.date-selects span {
  font-size: 1.5rem;
  color: #333;
  margin-left: 0;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.radio-label span {
  font-size: 1.5rem;
  color: #333;
}

.remarks-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1.5rem;
  background: #fff;
}

.remarks-input:focus {
  outline: none;
  border-color: #999;
}

.form-notice {
  background: #fef5f5;
  padding: 20px;
  margin-bottom: 30px;
}

.form-notice p {
  margin: 0;
  color: #E53A40;
  line-height: 1.8;
}

.form-notice p + p {
  margin-top: 8px;
}

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

.submit-button {
  background: #E53A40;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  min-width: 250px;
}

.submit-button:hover {
  background: #c92e34;
}

/* スマホ対応 */
@media (max-width: 640px) {
  .kyosai-container {
    padding: 15px;
  }

  .section-heading {
    font-size: 1.6rem;
    padding: 12px 15px;
  }

  .field-group {
    padding: 15px;
  }

  .name-fields {
    flex-direction: column;
    gap: 15px;
  }

  .date-selects {
    flex-wrap: wrap;
  }

  .date-selects select {
    flex: 1;
    min-width: 60px;
  }

  .submit-button {
    min-width: auto;
    width: 100%;
    padding: 15px 30px;
    font-size: 1.6rem;
  }
}

/* ============================================
   福利厚生ページ
   ============================================ */
.view-all-link {
  text-align: right;
  margin-bottom: 15px;
}

.view-all-link a {
  color: #E53A40;
  font-size: 1.6rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.view-all-link a:hover {
  opacity: 0.7;
}

.news-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.news-list li:first-child {
  border-top: 1px solid #e0e0e0;
}

.news-list li a {
  color: #3b4043;
  text-decoration: none;
  flex: 1;
  transition: color 0.2s;
}

.news-list li a:hover {
  color: #E53A40;
}

.page-content {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
}

.page-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E53A40;
}

@media (min-width: 641px) {
  .page-content {
    padding: 40px 30px;
  }
}

/* ============================================
   電機連合ページ
   ============================================ */
.denkirengou-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  text-align: center;
}

.denkirengou-list > * {
  flex: 0 0 100%;
  box-sizing: border-box;
}

.denkirengou-list img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  /* background: #f5f5f5; */
  border-radius: 4px;
}

@media (min-width: 641px) {
  .denkirengou-list > * {
    flex: 0 0 calc(50% - 10px);
  }

  .denkirengou-list img {
    height: 300px;
  }
}

/* ============================================
   Contact Form 7 フォームスタイル
   ============================================ */
.wpcf7 {
  max-width: 800px;
}

.wpcf7 p {
  margin-bottom: 20px;
}

.wpcf7 label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 15px;
  font-size: 1.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: #1A80DF;
  box-shadow: 0 0 0 3px rgba(26, 128, 223, 0.1);
}

.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7 select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
}

.wpcf7 .wpcf7-list-item {
  display: block;
  margin-bottom: 10px;
}

.wpcf7 input[type="submit"] {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: #E53A40;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.wpcf7 input[type="submit"]:hover {
  background: #c62828;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #e53935;
  font-size: 1.3rem;
  margin-top: 5px;
}

.wpcf7 .wpcf7-response-output {
  margin: 20px 0;
  padding: 15px;
  border-radius: 4px;
}

.wpcf7 .wpcf7-validation-errors {
  border-color: #e53935;
  background: #ffebee;
  color: #c62828;
}

.wpcf7 .wpcf7-mail-sent-ok {
  border-color: #43a047;
  background: #e8f5e9;
  color: #2e7d32;
}

/* ============================================
   労働協約ページ
   ============================================ */
/* .rule-content {
  line-height: 1.8;
} */

.rule-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-top: 60px;
}

.rule-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-top: 30px;
}

.rule-content h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 0;
}

.rule-content div {
  white-space: pre-line;
  /* margin-bottom: 25px; */
  /* padding-left: 10px; */
}

.rule-content ul,
.rule-content ol {
  list-style-position:inside;
  padding-left:2em;
  text-indent: -1em;
}

.sitemap-list {
  list-style: inside disc;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rule-content ul.indent-01,
.rule-content ol.indent-01 {
  list-style-position:inside;
  padding-left:3em;
  text-indent: -3em;
}
.rule-content ul.indent-02,
.rule-content ol.indent-02 {
  list-style-position:inside;
  padding-left:1em;
  text-indent: -1em;
}
.rule-content ul.no-indent,
.rule-content ol.no-indent {
  list-style-position:inside;
  padding-left:0;
  text-indent: 0;
}
.side-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.side-swiper .swiper-wrapper {
  transition-timing-function: linear;
}
.side-swiper .swiper-slide {
  width: auto;
  height: 100%;
}
.side-swiper .swiper-slide img {
  height: 100%;
  width: auto;
  display: block;
}
