/* ヘッダー関連 */
.header {
  background-color: rgba(205, 188, 128, 0.15);
  padding: 0 0 15px;
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* ロゴセクション */
.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  padding-top: 15px;
}
.logo-img {
  width: 80px;
  height: auto;
}
.logo-img img {
  width: 100%;
  height: auto;
  display: block;
}
.organization-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.organization-type {
  font-size: 1.4rem;
  color: #231815;
  font-weight: 400;
  line-height: 1.2;
}
.organization-name {
  font-size: 1.8rem;
  color: #231815;
  letter-spacing: 0.5px;
  font-weight: 700;
  line-height: 1.2;
}

/* ハンバーガーメニュー */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #231815;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* ハンバーガーメニューが開いている時 */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

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

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* ナビゲーション */
.Mob_toggle {
  display: flex;
  align-items: center;
  gap: 19px;
  flex-grow: 1;
}

.navigation {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}
.nav-item {
  display: flex;
  align-items: center;
  border-right: 1px solid #666;
  line-height: 1;
}
.nav-item:first-of-type {
  border-left: 1px solid #666;
}
.nav-link {
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 400;
  padding: 15px 20px;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
  color: #231815;
  display: block;
}
.nav-link:hover {
  color: #666;
  background-color: rgba(205, 188, 128, 0.2);
}

/* お問い合わせボタン */
.contact-button {
    background-color: #fbd818;
    padding: 35.5px 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: inline-block;
}

.contact-button:hover {
    transform: translateY(-2px);
}

.nav-line-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
}

.line-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.line-icon img {
    width: 100%;
    height: auto;
    max-width: 24px;
    max-height: 24px;
}

.contact-text {
    font-size: 1.6rem;
    font-weight: 500;
    color: #231815;
    white-space: nowrap;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1280px) {
  .header-container {
    gap: 15px;
  }

  .nav-link {
    font-size: 1.4rem;
    padding: 15px 15px;
  }

  .organization-type {
    font-size: 1.2rem;
  }

  .organization-name {
    font-size: 1.6rem;
  }

  .contact-button {
    padding: 35.5px 10px;
  }

  .nav-line-link {
    min-width: auto;
  }
}
@media screen and (max-width: 768px) {
  .header {
    padding: 0;
  }

  .header-container {
    flex-wrap: wrap;
    gap: 0;
    padding: 15px 20px;
    position: relative;
  }

  /* ロゴセクション調整 */
  .logo-section {
    gap: 10px;
    padding-top: 0;
  }

  .logo-img {
    width: 60px;
  }

  .organization-type {
    font-size: 1.1rem;
  }

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

  /* ハンバーガーメニューを表示 */
  .hamburger-menu {
    display: flex;
    order: 3;
  }

  /* モバイルトグルをスライドメニューに変更 */
  .Mob_toggle {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #f8f5ec;
    padding: 80px 0 40px;
    transition: right 0.4s ease;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 0;
  }

  .Mob_toggle.active {
    right: 0;
  }

  /* ナビゲーションをモバイル用に調整 */
  .navigation {
    flex-grow: 0;
    width: 100%;
    justify-content: center;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-item {
    border-right: none;
    border-bottom: 1px solid rgba(102, 102, 102, 0.3);
    width: 100%;
  }

  .nav-item:first-of-type {
    border-left: none;
    border-top: 1px solid rgba(102, 102, 102, 0.3);
  }

  .nav-item:last-of-type {
    border-bottom: none;
  }

  .nav-link {
    text-align: center;
    width: 100%;
    padding: 18px 20px;
    font-size: 1.6rem;
  }

  /* お問い合わせボタンをメニュー内に配置 */
  .contact-button {
    order: 4;
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    background-color: #fbd818;
  }

  .nav-line-link {
    min-width: auto;
  }

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

  /* オーバーレイ（背景を暗くする） */
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: fadeIn 0.4s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}


/* メインコンテンツ（お問い合わせセクション） */
.inquiry-section {
  padding: 35px 0;
  margin: 0 0 50px;
  text-align: center;
}
.contact-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 50px;
}
.line-logo {
  width: 135px;
  margin: 0 auto;
}
.line-link {
  display: block;
  transition: transform 0.2s ease;
}
.line-link:hover {
  transform: translateY(-4px);
  opacity: 1;
}
.contact-notice {
  font-size: 2.2rem;
  margin: 50px 0 10px;
  font-weight: 600;
}
.contact-warning {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .inquiry-section {
    padding: 0;
    margin: 0 auto 50px;
    width: 90%;
  }
  .contact-title {
    font-size: 4.6vw;
    margin-bottom: 30px;
  }
  .contact-notice {
    font-size: 3.7vw;
    margin: 30px 0 10px;
  }
  .contact-warning {
    font-size: 3.7vw;
  }
}

/* フッター */
.footer {
  background-color: #000;
  position: relative;
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 45px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0 60px;
  color: #fff;
}
/* フッター左側 */
.footer-left {
  flex: 1;
}
.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.footer-logo-circle {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-logo-circle img {
  width: 100%;
  height: auto;
}
.footer-organization-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-organization-type {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
}
.footer-organization-name {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}
.footer-address {
  margin-bottom: 20px;
  line-height: 1.6;
}
.footer-address p {
  font-size: 1.4rem;
  margin: 3px 0;
}
.footer-copyright p {
  font-size: 1.2rem;
  font-family: 'LINESeedJP', sans-serif;
  font-weight: 400;
  opacity: 0.8;
}
/* フッター右側 */
.footer-right {
  flex-shrink: 0;
}
.footer-nav-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 80px;
  align-items: start;
  margin-top: 15px;
  justify-items: end;
}
.footer-nav-list li:nth-child(8) {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 5px;
}
.footer-nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 400;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.footer-nav-link:hover {
  color: #ccc;
}
.footer-copyright {
  width: 100%;
}
/* PAGE TOPボタン */
.page-top-button {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
}
.page-top-link {
  transition: background-color 0.3s ease;
  display: block;
  width: 150px;
}
.page-top-link:hover {
  opacity: 0.8;
}
@media screen and (max-width: 768px) {
  .footer-right {
    width: 100%;
    margin-bottom: 20px;
  }
  .footer-nav-list {
    justify-items: start;
  }
  .footer-nav-list li:nth-child(8) {
    grid-column: auto;
    margin-top: 0;
  }
}

/* 404 */
.error-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  font-family: 'LINESeedJP', sans-serif;
  font-weight: 600;
}
.error-content {
  text-align: center;
}
.error-code {
  font-size: 120px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1;
}
.error-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1;
}
.error-message {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

/* TOP page */
/* Hero section */
.hero-section {
  background-color: rgba(205, 188, 128, 0.15);
  padding-bottom: 160px;
}
.hero-wrapper {
  display: flex;
  justify-content: flex-end;
  max-width: 1400px;
  margin: 0 0 120px auto;
}
@media screen and (max-width: 768px) {
  .hero-section {
    padding-bottom: 100px;
  }
  .hero-wrapper {
    margin-bottom: 80px;
  }
}
/* 動画コンテナ */
.video-container {
  position: relative;
  width: 1400px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .video-container {
    width: 100%;
  }
}
/* Background video */
.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
/* 左側のロゴ（動画上） */
.logo-left {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: -15%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
.logo-image-left {
  max-width: 390px;
  height: auto;
}
/* 右側の縦書きロゴ（動画上） */
.logo-right {
  position: absolute;
  bottom: -70%;
  right: 40px;
  z-index: 2;
}
.logo-image-right {
  max-width: 250px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .logo-left {
    left: 2%;
  }
  .logo-image-left {
    max-width: 390px;
    height: auto;
  }
  .logo-image-left {
    max-width: 30vw;
  }
  .logo-right {
    bottom: -25%;
    right: 2%;
  }
  .logo-image-right {
    max-width: 20vw;
  }
}

/* TOP About */
.about-wrapper {
  display: flex;
  max-width: 1160px;
  margin: 0 auto;
}
.about-section {
  background-color: #000000;
  width: 57px;
  height: 390px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.about-title {
  padding: 12px;
}
.about-title img {
  width: auto;
}
.content-section {
  padding-left: 30px;
}
.main-text {
  font-size: 2rem;
  line-height: 2.2;
  margin-top: -0.5em;
  letter-spacing: 1px;
}
.cta-section {
  display: flex;
  align-items: center;
  margin-top: 50px;
  cursor: pointer;
  gap: 10px;
  transition: transform 0.2s ease;
}
a.cta-section:hover {
  transform: translateX(4px);
  opacity: 1;
}
.cta-text {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 1px;
}
.arrow {
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .about-wrapper {
    width: 90%;
  }
  .about-section {
    width: 45px;
    height: 400px;
  }
  .about-title {
    padding: 10px;
  }
  .content-section {
    padding-left: 20px;
    flex: 1;
  }
  .main-text {
    font-size: 4vw;
    line-height: 2;
  }
  .cta-text {
    font-size: 5.4vw;
  }
}

/* Activity section */
.activity-section {
  background-color: rgba(205, 188, 128, 0.15);
  padding-bottom: 160px;
  margin-bottom: 80px;
}
.activity-container {
  max-width: 1160px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .activity-section {
    background-color: rgba(205, 188, 128, 0.15);
    padding-bottom: 80px;
    margin-bottom: 50px;
  }
  .activity-container {
    width: 90%;
  }
}

/* Section title */
.topsection-title {
  margin-bottom: 60px;
}
.topsection-title h2 {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 10px;
}
.activity-container .topsection-title h2 {
  align-items: center;
}
.topsection-title h2 img {
  width: auto;
}
span.section-subtitle {
  font-size: 3rem;
  line-height: 1;
}
@media screen and (max-width: 768px) {
    .topsection-title {
    margin-bottom: 15px;
  }
  .topsection-title h2 {
    gap: 10px;
    flex-wrap: wrap;
  }

  span.section-subtitle {
  font-size: 2rem;
}
}

/* Activity grid */
.activity-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px 0;
}
/* Activity card */
.activity-card {
  background-color: #fbd818;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  width: calc(33.333333% - 60px);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .activity-grid {
    gap: 10px;
  }
  .activity-card {
    padding: 20px 15px;
    width: calc(50% - 5px);
  }
}
/* Card icon */
.card-icon {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}
.activity-icon {
    margin-bottom: 20px;
}

.activity-icon img {
    width: auto;
    height: 120px;
}

/* Card text */
.activity-text p {
  font-family: 'LINESeedJP', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
      .activity-text p {
        font-size: 4.4vw;
        white-space: nowrap;
    }
}

/*新着情報*/
.news-section {
  margin: 0 auto 150px;
}
.news-container {
  max-width: 1160px;
  margin: 0 auto;
}
.news-list {
  width: 100%;
  max-width: 1160px;
  border-top: 1px dotted #ccc;
}
.news-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-list li {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px dotted #ccc;
  font-size: 1.6rem;
  color: #000;
}
.news-date {
  color: #000;
  margin-right: 30px;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-title {
  color: #000;
  text-decoration: none;
  flex: 1;
  line-height: 1.4;
}
.news-title:hover {
  text-decoration: underline;
}
@media screen and (max-width: 1280px) {
.news-container {
  width: 90%;
}

.news-list li {
  font-size: 1.5rem;
}
}

/*お知らせ*/
.information-section {
  width: 100%;
  margin-bottom: 150px;
  display: none;
}
.information-container {
  max-width: 1160px;
  margin: 0 auto;
}
@media screen and (max-width: 1280px) {
  .information-section {
    max-width: 900px;
    margin: 0 auto 160px;
  }

}
.information-container .section-title {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.view-all {
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  justify-content: flex-end;
}
.view-all:hover {
  transform: translateX(4px);
  opacity: 1;
}
.information-swiper-container {
  position: relative;
}
.information-swiper {
  padding-right: 100px;
}
@media screen and (max-width: 1280px) {
.information-swiper {
    padding-right: 0;
}
}
.info-card {
  background: #fff;
  border: 1px solid #808080;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backface-visibility: visible;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.info-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.info-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.info-card:hover .card-thumbnail {
  transform: scale(1.05);
}
.no-image .default-image {
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 1.2rem;
}
.info-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.info-date {
  margin-bottom: 10px;
}
.date-text {
  font-size: 1.6rem;
  font-weight: 600;
}
.info-title {
  margin: 0 0 15px 0;
  font-size: 1.8rem;
  line-height: 1.4;
   display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 2行で固定 */
  overflow: hidden;
  min-height: calc(1.8rem * 1.4 * 2);
}
.info-title a {
  text-decoration: none;
}
.info-title a:hover {
  text-decoration: underline;
}
.info-excerpt {
  font-size: 1.4rem;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .news-section {
    margin-bottom: 80px
  }
  .information-container {
    max-width: 90%;
  }
  .info-content {
    padding: 5px;
  }
  .date-text {
    font-size: 1.1rem;
  }
  .info-title {
    font-size: 1.4rem;
    min-height: calc(1.4rem * 1.4 * 2);
  }
  .info-excerpt {
    font-size: 1.1rem;
  }
  .view-all {
    justify-content: flex-end;
  }
}

/*swiper 対策*/
.swiper {
  opacity: 0;
  transition: opacity .25s ease;
}
.swiper.swiper-initialized {
  opacity: 1;
}
/* Swiperナビゲーションボタン */
.info-next, .info-prev {
  width: 40px;
  height: 40px;
  background: #fbd818;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
}
.swiper-wrapper {
    box-sizing: border-box;
}
.info-next {
  right: -50px;
}
.info-prev {
  left: -50px
}
.info-next:hover, .info-prev:hover {
  background: #ffed4e;
  transform: scale(1.1);
}
.info-next:after, .info-prev:after {
  font-size: 16px;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .info-next {
    right: 0;
  }
  .info-prev {
    left: 0
  }
}

/* 入会案内セクション */
.membership-section {
  margin-bottom: 80px;
}
.membership-container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  border: 2px solid #ccc;
  border-radius: 20px;
  padding: 60px 0;
  background-color: #fff;
  position: relative;
  text-align: center;
}
/* メインタイトル */
.membership-title {
  font-size: 4rem;
  color: #000;
  font-weight: bold;
  letter-spacing: 0.05em;
  background-color: #fff;
  padding: 0 30px;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
/* 説明文 */
.membership-description {
  margin-bottom: 60px;
}
.membership-description p {
  font-size: 2rem;
  color: #000;
  line-height: 1.8;
  margin: 0 0 60px 0;
}
/* ハイライト部分 */
.membership-benefit span {
  background: linear-gradient(transparent 50%, rgba(251, 216, 24, 0.5) 50%);
}
/* 会員タイプ */
.membership-type-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.membership-type {
  background-color: #fbd818;
  color: #000;
  padding: 10px 0;
  border-radius: 5px;
  width: 30%;
}
.membership-type img {
  width: auto;
}
.membership-container .cta-section {
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .membership-container {
    width: 90%;
    padding: 40px 10px;
  }
  .membership-title {
    padding: 0 15px;
    width: 210px;
  }
  .membership-description p {
    font-size: 1.8rem;
  }
  .membership-type-wrap {
    flex-wrap: nowrap;
    gap:10px;
  }
}


/* 検定資格セクション */
.certification-section {
  width: 100%;
  min-height: 500px;
  background-image: url('/wp-content/themes/beautyfashiontattoo/common_img/top/certification-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.certification-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
  z-index: 2;
}
.certification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
/* タイトル画像 */
.certification-title {
  flex: 0 0 auto;
}

/* 説明文エリア */
.certification-description {
  flex: 1;
  color: #fff;
}
.certification-description p {
  margin: 0 0 40px 0;
  font-weight: 400;
  font-size: 2rem;
  line-height: 2.2;
  margin-top: -0.5em;
  letter-spacing: 1px;
}
.certification-description .cta-section .cta-text {
  color: #fff;
}
@media screen and (max-width: 768px) {
  .certification-section {
    background-position: center top;
    ;
    align-items: center;
  }
  .certification-container {
    padding: 50px 20px;
  }
  .certification-title {
    flex: auto;
  }
  .certification-content {
    flex-wrap: wrap;
  }
  .certification-description p {
    font-size: 1.6rem;
  }
}

/* タトゥーマイスター安心共済セクション */
.anshin-meister-section {
    width: 100%;
    padding: 140px 0 130px;
}

.anshin-meister-container {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* タイトル画像 */
.anshin-meister-title {
    margin-bottom: 60px;
}

.anshin-meister-title img {
    width: 100%;
}

/* 詳細ボタン */
.anshin-meister-button {
    width: 33.333%;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.detail-button {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 2.6rem;
    font-weight: 600;
    padding: 12px 0;
    display: block;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.detail-button:hover {
    transform: translateY(-2px);
    opacity: 1;
}
@media screen and (max-width: 768px) {
  .anshin-meister-section {
    padding: 80px 0 0;
}
  .anshin-meister-button {
    width: 50%;
    bottom: 2%;
  }
  .detail-button {
    font-size: 2rem;
  }

}

/*slider*/
.slider-section {
  background-color: #fbd818;
  margin-bottom: 100px;
}
.slider-container {
  padding: 45px;
}
.Top_slider {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}
.Top_slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  height: auto;
}
.Top_slider .swiper-slide img {
  width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}
.list {
  transition-timing-function: linear;
}
@media screen and (max-width: 768px) {
  .slider-section {
    margin-bottom: 50px;
  }
  .slider-container {
    padding: 10px 15px;
  }
  .Top_slider .swiper-slide img {
    width: auto;
    border-radius: 10px;
  }
}
/* パートナーロゴセクション */
.partner-logos-section {
  width: 100%;
  background-color: #fff;
  margin-bottom: 80px;
}
.partner-logos-container {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  justify-content: center;
}
/* ロゴアイテム */
.logo-item {
  /*flex: 1;*/
  width: calc(33.333% - 14px);
  display: flex;
  justify-content: center;
}
/* ロゴボックス */
.logo-box {
  width: 100%;
  aspect-ratio: 2 / 1;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 60px;
  background-color: #fff;
}
/* ロゴ画像 */
.partner-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media screen and (max-width: 768px) {
  .partner-logos-section {
    width: 90%;
    margin: 0 auto 80px;
  }
  .partner-logos-container {
  gap: 10px;
}
  .logo-item {
    width: calc(33.333% - 10px);
  }
  .logo-box {
    padding: 5px;
  }
}

/*下層ページ*/
/* パンくずリスト */
#breadcrumb {
  background: #fff;
  padding: 30px 0;
  max-width: 1160px;
  margin: 0 auto;
}
#breadcrumb ul {
  list-style: none;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
}
#breadcrumb li {
  position: relative;
}
#breadcrumb li:not(:last-child)::after {
  content: "＞";
  margin: 0 10px;
  color: #999;
}
#breadcrumb li a {
  color: #666;
  text-decoration: none;
}
#breadcrumb li a:hover {
  text-decoration: underline;
}
#breadcrumb li span {
  color: #666;
}
@media screen and (max-width: 768px) {
    #breadcrumb {
      width: 90%;
    }
}

/* キービジュアルセクション */
.keyvisual-section {
  position: relative;
  margin: 0 auto 130px;
}
.keyvisual-inner {
  max-width: 1160px;
  height: 400px;
  margin: 0 auto;
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.keyvisual-title {
  text-align: center;
}
h2.keyvisual-title img {
  width: auto;
}
.keyvisual-inner.certification{
  background-image: url('/wp-content/uploads/2025/11/certification_bg.jpg');
}
.keyvisual-inner.aboutus{
  background-image: url('/wp-content/uploads/2025/09/aboutus_bg.jpg');
}
.keyvisual-inner.membership{
  background-image: url('/wp-content/uploads/2025/11/membership_bg.jpg');
}
.keyvisual-inner.hygienemanagement{
  background-image: url('/wp-content/uploads/2025/11/hygienemanagement_bg.jpg');
}
.keyvisual-inner.qa{
  background-image: url('/wp-content/uploads/2025/10/qa_bg.png');
}
@media screen and (max-width: 768px) {
  .keyvisual-section {
    margin-bottom: 50px;
  }
  .keyvisual-inner {
    max-width: 90%;
    height: auto;
    aspect-ratio: 21 / 9;
  }
  h2.keyvisual-title img {
  width: 60%;
}
.keyvisual-inner.hygienemanagement h2.keyvisual-title img {
  filter: brightness(0) saturate(100%);
}
}

/* ページコンテンツ共通 */
.sp-only {
  display: none;
}
@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}
.main-container {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 70px;
}
.section-title-btn {
  background: #fbd818;
  padding: 25px 0;
  border-radius: 40px;
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  width: 33.333%;
  margin: 0 auto;
  line-height: 1;
}
.section-title-btn-ol {
  background: #fff;
  border: 4px solid #fbd818;
  padding: 17px 0;
  border-radius: 40px;
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  width: 33.333%;
  margin: 0 auto;
  line-height: 1;
}
.section-container {
  max-width: 1160px;
  margin: 0 auto 150px;
}
.section-container p {
  font-size: 2.3rem;
  margin-bottom: 70px;
}
@media screen and (max-width: 768px) {
  .section-title {
  margin-bottom: 40px;
}
  .section-title-btn-ol {
    width: 70%;
    font-size: 2.8rem;
  }
  .section-title-btn {
    padding: 20px 0;
    font-size: 6vw;
    width: 80%;
  }
  .section-container {
    width: 90%;
    margin: 0 auto 50px;
  }
}

/*検定資格*/
.certification {
}
/* コンテンツカード(下層共通) */
.content-card {
  background-color: rgba(205, 188, 128, 0.15);
  margin-bottom: 40px;
  padding: 100px 0;
}
.card-wrap {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}
.card-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-image img {
  width: 30vw;
}
.card-content {
  flex: 1;
  padding-top: 0.2em;
}
.card-subtitle {
  margin-bottom: 35px;
}
.card-subtitle img {
  width: 61%;
}
.card-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.card-description {
  line-height: 1.8;
  font-size: 2rem;
}
@media screen and (max-width: 768px) {
  .content-card {
    padding: 50px 0;
  }
  .card-wrap {
    width: 90%;
    flex-wrap: wrap;
  }
  .card-image {
    flex: auto;
  }
  .card-image img {
    width: 100%;
  }
  .card-subtitle {
    margin-bottom: 15px;
  }
  .card-title {
    font-size: 2.5rem;
  }
  .card-description {
    font-size: 1.8rem;
  }
}
.subheading {
  border: 1.5px solid #000;
  padding: 20px;
  font-size: 2.6rem;
  letter-spacing: 0.1em;
  width: 28%;
  margin: 0 auto 80px;
  line-height: 1;
  text-align: center;
}
.Technical_training {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  margin: 0 auto 80px;
}
.TT_img {
  width: 36%;
}
.TT_detail h5 {
  font-size: 2.9rem;
  font-weight: 400;
  margin-bottom: 35px;
}
.TT_detail ul {
  font-size: 2.3rem;
}
.TT_detail ul li {
  margin: 0 0 10px;
}
.TT_detail small {
  font-size: 2rem;
}
dl.info-block {
  font-size: 2.3rem;
}
dl.info-block:first-of-type {
  margin-bottom: 50px;
}
dl.info-block:last-of-type {
  margin-bottom: 0;
}
dl.info-block dt {
  margin-bottom: 10px;
}
.course_flow{
  margin-top: 100px;
}
ul.course_flow_list {
  max-width: 1160px;
  font-size: 2.3rem;
  margin: 0 auto;
}
ul.course_flow_list li {
  margin-bottom: 12px;
}
@media screen and (max-width: 768px) {
  .subheading {
    width: auto;
    margin-bottom: 40px;
    padding: 20px 10px;
    font-size: 2.3rem;
  }
  .section-container p {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .Technical_training {
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
  }
  .TT_img {
    width: 80%;
  }
  .TT_detail h5 {
    font-size: 2.3rem;
    margin-bottom: 20px;
  }
  .TT_detail ul {
    font-size: 1.8rem;
  }
  dl.info-block, dl.info-block:first-of-type {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .course_flow {
    margin-top: 40px;
}
  ul.course_flow_list {
    font-size: 1.8rem;
  }
}

/* BFTAとは */
/* 設立趣旨本文 */
.establishment-content {
    max-width: 1160px;
    margin: 0 auto 80px;
}
.establishment-text {
    font-size: 2rem;
    line-height: 2.2;
    letter-spacing: 1px;
}

/* 協会概要セクション */
.overview-section {
  background: linear-gradient(to right, rgba(205, 188, 128, 0.15) 84%, #fff 84%);
  position: relative;
}
.overview-wrapper {
  padding: 60px 60px 60px 0;
  border-radius: 10px;
  max-width: 1160px;
  margin: 0 auto 15%;
}
.overview-title {
  font-family: 'LINESeedJP', sans-serif;
  font-weight: 600;
  background: #fbd818;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 3rem;
  margin-bottom: 40px;
  display: inline-block;
  letter-spacing: 0.25em;
}
.overview-table {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.overview-table dt {
  font-size: 2rem;
  grid-column: 1;
  text-align: justify;
  text-align-last: justify;
}
.overview-table dt::after {
  content: "：";
}
.overview-table dd {
  font-size: 2rem;
  margin-left: 0;
  grid-column: 2;
}
.overview-image {
  position: absolute;
  bottom: -65%;
  right: 0;
  z-index: 1;
}
.overview-image img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 768px) {
  .overview-section {
    background: rgba(205, 188, 128, 0.15);
  }
  .establishment-content {
    width: 90%;
    margin-bottom: 40px;
  }
  .establishment-text {
    font-size: 1.6rem;
    line-height: 1.8;
  }
  .overview-wrapper {
    width: 90%;
    padding: 20px 0;
  }
  .overview-title {
    margin: 0 auto 40px;
    width: 80%;
    display: block;
    text-align: center;
    font-size: 2.8rem;
    padding:10px 40px ;
  }
  .overview-table {
    grid-template-columns: 100px 1fr;
    gap: 10px 0;
  }
      .overview-table dt, .overview-table dd {
        font-size: 4.3vw;
    }
  .overview-image {
  position:static;
}
}

/* 活動内容セクション */
.activities-section {
    background: linear-gradient(to right, #fff 16%, rgba(205, 188, 128, 0.15) 16%);
    position: relative;
    margin-bottom: 330px;
}
.activities-wrapper {
    padding: 60px;
    max-width: 1160px;
    margin: 0 auto 20%;
}
.activities-title {
    font-family: 'LINESeedJP', sans-serif;
    font-weight: 600;
    background: #fbd818;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 3rem;
    margin-bottom: 40px;
    display: inline-block;
    letter-spacing: 0.25em;
}

.activities-list li {
    font-size: 2rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}
.activities-list li::before {
    content: counter(item) "）";
    counter-increment: item;
    position: absolute;
    left: 0;
    font-feature-settings: "tnum";
}
.activities-list {
    list-style: none;
    margin-bottom: 40px;
    counter-reset: item;
    padding-left: 0.5em;
}
.activities-image {
    position: absolute;
    bottom: -65%;
    z-index: 1;
}
.activities-image img {
    width: 100%;
    height: auto;
}
@media screen and (max-width: 768px) {
  .activities-section {
    background: rgba(205, 188, 128, 0.15);
  }
  .activities-wrapper {
    width: 90%;
    padding: 20px 0;
    margin-bottom: 20px;
  }
  .activities-title {
    margin: 0 auto 40px;
    width: 80%;
    display: block;
    text-align: center;
  }
  .activities-list li {
    font-size: 4.2vw;
  }
  .activities-image {
    position: static;
  }
}

/* 活動内容詳細セクション */
.activities-detail-section {
    background: linear-gradient(to right, rgba(205, 188, 128, 0.15) 84%, #fff 84%);
    position: relative;
}
.activities-detail-wrapper {
    padding: 60px 60px 60px 0;
    border-radius: 10px;
    max-width: 1160px;
    margin: 0 auto 0;
}
.activities-detail-title {
    font-family: 'LINESeedJP', sans-serif;
    font-weight: 600;
    background: #fbd818;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 3rem;
    margin-bottom: 40px;
    display: inline-block;
    letter-spacing: 0.25em;
}
dl.detail-list {
    margin: 0;
    padding: 0;
}
dl.detail-list:last-of-type {
margin-bottom: 50px;
}
.detail-list dt {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 50px;
    border-bottom: 1px solid #000;
}
dl.detail-list:first-of-type dt {
    margin-top: 0;
}
.detail-list dd {
    font-size: 2rem;
    line-height: 1.8;
    margin-bottom: 10px;
    margin-left: 24px;
     text-indent: -1em;
  padding-left: 1em;
}
@media screen and (max-width: 768px) {
  .activities-detail-section {
    background: rgba(205, 188, 128, 0.15);
  }
  .activities-detail-wrapper {
    width: 90%;
    padding: 20px 10px;
    margin-bottom: 20px;
  }
  .activities-detail-title {
    margin: 0 auto 40px;
    width: 100%;
    display: block;
    text-align: center;
  }
  .detail-list dt {
    font-size: 2rem;
}
.detail-list dd {
    font-size: 4.2vw;
    margin-left: 0;
}
}

/* 入会案内 */
/* メイン見出し */
.membership-main-title {
  text-align: center;
  font-size: 5.5rem;
  font-weight: bold;
  margin-bottom: 80px;
  letter-spacing: 0.05em;
}
.membership-main-title .title-yellow {
  color: #fbd818;
  border-bottom: 4px solid #fbd818;
  padding: 0 100px 10px;
  display: inline-block;
}
.membership-main-title .title-sub {
  display: block;
  width: 15%;
  margin: 0 auto;
}
.membership-main-title .title-sub img {
  vertical-align: baseline;
}
@media screen and (max-width: 768px) {
  .membership-main-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
  }
  .membership-main-title .title-yellow {
    padding: 0 50px;
  }
  .membership-main-title .title-sub {
    width: 40%;
  }
}
/* 会員制度セクション */
.membership-system-section {
  margin-bottom: 120px;
}
.membership-system-content {
  max-width: 1160px;
  margin: 0 auto;
}
.membership-system-text {
  font-size: 2rem;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .membership-system-section {
    margin-bottom: 80px;
  }
  .membership-system-content {
    width: 90%;
  }
  .membership-system-text {
    font-size: 1.6rem;
  }
}

/* 会員制度の仕組み */
.membership-structure-section {
  background-color: rgba(205, 188, 128, 0.15);
  margin-bottom: 80px;
  padding: 100px 0 60px;
  position: relative;
}
.membership-structure-section .section-title {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 100%;
}
.structure-content {
  max-width: 1160px;
  margin: 0 auto;
}
.member-types-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 40px;
  font-weight: 400;
}
.membership-member-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.member-type-card {
  text-align: center;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 20px;
}
.member-type-button {
  padding: 15px 30px;
  border-radius: 0;
  border: 1px solid #000;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0;
  display: block;
  flex-shrink: 0;
  width: 220px;
}
.member-type-description {
  font-size: 1.8rem;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .membership-structure-section {
    padding: 70px 0 30px;
    margin-bottom: 50px;
  }
  .structure-content {
    width: 90%;
  }
  .member-types-title {
    font-size: 2.6rem;
  }
  .member-type-card {
    flex-wrap: wrap;
    justify-content: center;
  }
  .member-type-button {
    font-size: 1.8rem;
    width: 60%;
  }
  .member-type-description {
    font-size: 1.6rem;
  }
}

/* 入会の流れ */
.membership-flow-section {
  margin-bottom: 120px;
}
.membership-flow-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.flow-step {
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-align: center;
  min-width: 180px;
  width: 180px;
  height: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flow-step::after {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  border: 20px solid transparent;
  border-left-color: #808080;
  left: 100%;
  top: 50%;
}
.flow-step.last-step::after {
  content: none;
}
.flow-step-number {
  color: #978475;
  font-size: 3rem;
  font-weight: bold;
  display: block;
}
.flow-step-title {
  background-color: rgba(205, 188, 128, 0.3);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 15px;
  flex: 1;
  align-items: center;
}
.flow-step-subtitle {
  background-color: rgba(205, 188, 128, 0.15);
  font-size: 1.6rem;
  line-height: 1.3;
  padding: 15px;
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step-form {
  background-color: #42210b;
  color: #fff;
  border-radius: 20px;
  display: inline-block;
  padding: 5px 10px;
  margin-right: 3px;
}
.flow-arrow {
  font-size: 2rem;
  color: #666;
  margin-top: 40px;
}
.flow-cta {
  text-align: center;
}
.flow-cta-button {
  background: #666;
  color: #fff;
  padding: 15px 60px;
  font-size: 1.8rem;
  display: inline-block;
}
.flow-cta-button span {
  display: inline-block;
  transform: translateY(-35%);
  margin-left: 10px;
}
.flow-cta-button span img {
  width: 75%;
}
@media screen and (max-width: 768px) {
  .membership-flow-steps {
    flex-direction: column;
    align-items: center;
}
  .flow-step::after {
    left: 40%;
    top: auto;
    bottom: -18.1%;
    transform: rotate(90deg);
  }
  .flow-cta-button {
  padding: 15px 30px;
}
}

/* 会費と会員期間 */
.membership-fees-section {
  background-color: rgba(205, 188, 128, 0.15);
  margin-bottom: 80px;
  padding: 100px 0 60px;
  position: relative;
}
.membership-fees-section .section-title {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 100%;
}
.fees-content {
  max-width: 1160px;
  margin: 0 auto;
}
.fees-explanation {
  list-style: none;
  font-size: 2rem;
  line-height: 2;
  margin-bottom: 40px;
}
.fees-explanation li {
  position: relative;
  padding-left: 20px;
}
.fees-explanation li::before {
  content: "■";
  position: absolute;
  left: 0;
}
.fees_list_container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* dl同士の間隔 */
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
dl.fees_list {
  display: grid;
  grid-template-columns: 220px 1fr;
  width: 100%;
}
dl.fees_list:last-of-type {
  margin-bottom: 50px;
}
dl.fees_list dt {
  padding: 15px 30px;
  border: 1px solid #cdbc80;
  background-color: #cdbc80;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
dl.fees_list dd {
  font-size: 1.8rem;
  line-height: 1.6;
  margin: 0;
  padding: 15px 20px;
  text-align: left;
  border: 1px solid #cdbc80;
  background-color: #fff;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .membership-fees-section {
    padding: 70px 0 30px;
  }
  .fees-content {
    width: 90%;
  }
  .fees-explanation {
    font-size: 1.6rem;
  }
  dl.fees_list {
    grid-template-columns: 1fr;
  }
  dl.fees_list dt {
    border-bottom: none;
  }
}

/* 正会員特典 */
.membership-benefits-section {
  margin-bottom: 120px;
}
.benefits-content {
  max-width: 1160px;
  margin: 0 auto;
}
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 100%;
}
.benefits-grid .benefit-item:nth-child(-n+4) {
  flex: 0 0 auto;
}
.benefits-grid .benefit-item:nth-child(n+5) {
  flex: 0 0 auto;
}
.benefits-grid .benefit-item:nth-child(5) {
  margin-left: calc(100px + 15px);
}
.benefits-grid .benefit-item:nth-child(7) {
  margin-right: calc(100px + 15px);
}
.benefit-item {
  background-image: url('/wp-content/uploads/2025/09/membership-benefits-bg.png');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}
.benefit-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #534741;
}
.benefit-title .banbanmarket {
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .benefits-grid {
    gap: 20px;
  }
  .benefit-item {
    width: calc(50vw - 20px);
    height: calc(50vw - 20px);
  }
  .benefit-title {
    font-size: 2rem;
  }
  .benefits-grid .benefit-item:nth-child(5) {
    margin-left: 0;
  }
  .benefits-grid .benefit-item:nth-child(7) {
    margin-right: 0;
  }
}

/* 退会・変更について */
.membership-changes-section {
  background-color: rgba(205, 188, 128, 0.15);
  margin-bottom: 80px;
  padding: 100px 0 60px;
  position: relative;
}
.membership-changes-section .section-title {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 100%;
}
.changes-content {
  max-width: 1160px;
  margin: 0 auto;
}
.changes-list {
  list-style: none;
  font-size: 2rem;
  line-height: 2;
}
.changes-list li {
  position: relative;
  padding-left: 20px;
}
.changes-list li::before {
  content: "■";
  position: absolute;
  left: 0;
}
@media screen and (max-width: 768px) {
  .membership-changes-section {
    padding: 70px 0 30px;
  }
  .changes-content {
    width: 90%;
  }
  .changes-list {
    font-size: 1.6rem;
  }
}
/* Q&A */
.qa-container h5 {
  font-size: 2.9rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 10px;
}
.qa-container h5:not(:first-of-type) {
  margin-top: 80px;
}
.qaList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
dl.qa-item {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
}
dl.qa-item dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s;
  position: relative;
}
dl.qa-item dt:hover {
  background-color: rgba(205, 188, 128, 0.15);
}
dl.qa-item dt span {
  font-size: 2.3rem;
  font-weight: 500;
  padding-right: 16px;
  flex: 1;
}
dl.qa-item dt::after {
  content: '+';
  font-size: 3.5rem;
  font-weight: 400;
  color: #000;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
  transform-origin: center center;
}
dl.qa-item dt.open::after {
  transform: rotate(45deg);
}
dl.qa-item dd {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
dl.qa-item dd.open {
  max-height: 800px;
  opacity: 1;
  margin-top: 8px;
}
dl.qa-item dd>div {
  font-size: 2rem;
  padding: 12px 16px;
  background-color: rgba(205, 188, 128, 0.15);
  border-radius: 8px;
  line-height: 1.6;
  padding-left: 2em;
  text-indent: -1em;
}
dl.qa-item dd p {
    font-size: 2rem;
    margin-bottom: 10px;
    padding-left: 0em;
    text-indent: -1em;
}
dl.qa-item dd ul {
  margin-bottom: 10px;
  padding-left: 1em;
}
dl.qa-item dd ul li {
  font-size: 2rem;
}
dl.qa-item dd>div span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
dl.qa-item dd>div span img {
  width: 20px;
  height: 20px;
  display: block;
}
dl.teigi {
    margin: 15px auto;
    padding: 12px 16px;
    font-size: 2rem;
}
dl.teigi dt {
    margin-bottom: 10px;
}
dl.teigi dt span{
    background: linear-gradient(transparent 50%, rgba(251, 216, 24, 0.5) 50%);
}
@media screen and (max-width: 768px) {
  .section-container .qa {
    width: 90%;
    margin: 0 auto;
  }
  .qa-container h5 {
    font-size: 5.5vw;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 10px;
  }
  .qa-container h5:not(:first-of-type) {
    margin-top: 50px;
  }
  dl.qa-item dt {
    padding: 10px;
  }
  dl.qa-item dt span {
    font-size: 1.8rem;
  }
  dl.qa-item dd>div, dl.qa-item dd p, dl.qa-item dd ul li, dl.teigi {
    font-size: 1.6rem;
  }
  dl.qa-item dd ul {
    padding-left: 0em;
    text-indent: 0em;
  }
}

/* 商材販売 */
.productsales_comingsoon {
    font-size: 35px;
    margin: 50px auto 100px;
}

/* ==========================================================================
   Single Content Styles
   ========================================================================== */

/* シングルコンテンツコンテナ */
.single-content {
  max-width: 1160px;
  margin: 0 auto 60px;
  padding: 60px;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .single-content {
    width: 90%;
    padding: 30px 20px;
    margin-bottom: 40px;
  }
}

/* 記事タイトル */
.single-content h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid #333;
  color: #333;
}

@media screen and (max-width: 768px) {
  .single-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom-width: 2px;
  }
}

/* 本文コンテンツ */
.single-content p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 1.5em;
  color: #333;
}

@media screen and (max-width: 768px) {
  .single-content p {
    font-size: 15px;
    line-height: 1.8;
  }
}

/* 見出しスタイル */
.single-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 50px 0 20px;
  padding-left: 15px;
  border-left: 4px solid #333;
  color: #333;
}

.single-content h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 15px;
  color: #333;
}

.single-content h5 {
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 15px;
  color: #333;
}

.single-content h6 {
  font-size: 16px;
  font-weight: 700;
  margin: 25px 0 15px;
  color: #333;
}

@media screen and (max-width: 768px) {
  .single-content h3 {
    font-size: 20px;
    margin-top: 40px;
    padding-left: 12px;
    border-left-width: 3px;
  }

  .single-content h4 {
    font-size: 18px;
    margin-top: 30px;
  }

  .single-content h5 {
    font-size: 16px;
    margin-top: 25px;
  }

  .single-content h6 {
    font-size: 15px;
    margin-top: 20px;
  }
}

/* リストスタイル */
.single-content ul,
.single-content ol {
  margin: 1.5em 0;
  padding-left: 2em;
}

.single-content ul li,
.single-content ol li {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 0.8em;
  color: #333;
}

.single-content ul li {
  list-style-type: disc;
}

.single-content ol li {
  list-style-type: decimal;
}

/* ネストしたリスト */
.single-content ul ul,
.single-content ol ol,
.single-content ul ol,
.single-content ol ul {
  margin: 0.5em 0;
}

@media screen and (max-width: 768px) {
  .single-content ul,
  .single-content ol {
    padding-left: 1.5em;
  }

  .single-content ul li,
  .single-content ol li {
    font-size: 15px;
  }
}

/* 画像スタイル */
.single-content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
}

/* WordPressの画像サイズクラスに対応 */
.single-content img.size-thumbnail,
.single-content img.size-medium,
.single-content img.size-large {
  width: auto;
  max-width: 100%;
}

.single-content .wp-block-image img {
  width: auto;
  max-width: 100%;
}

/* 中央寄せの場合 */
.single-content .wp-block-image.aligncenter img,
.single-content img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.single-content figure {
  margin: 30px 0;
}

.single-content figcaption {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 10px;
}

/* WordPress alignクラス対応 */
.single-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.single-content .alignleft {
  float: left;
  margin: 10px 30px 10px 0;
}

.single-content .alignright {
  float: right;
  margin: 10px 0 10px 30px;
}

@media screen and (max-width: 768px) {
  .single-content .alignleft,
  .single-content .alignright {
    float: none;
    display: block;
    margin: 20px auto;
  }
}

/* WordPress alignクラス対応 */
.single-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.single-content .alignleft {
  float: left;
  margin: 10px 30px 10px 0;
}

.single-content .alignright {
  float: right;
  margin: 10px 0 10px 30px;
}

@media screen and (max-width: 768px) {
  .single-content .alignleft,
  .single-content .alignright {
    float: none;
    display: block;
    margin: 20px auto;
  }
}

/* リンクスタイル */
.single-content a {
  color: #0066cc;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.single-content a:hover {
  color: #004499;
}

/* WordPressブロックエディタ対応 */
.single-content .wp-block-image {
  margin: 30px 0;
}

.single-content .wp-block-quote {
  margin: 2em 0;
}

.single-content .wp-block-separator {
  margin: 40px 0;
}

/* 最初の段落を少し大きく */
.single-content > p:first-of-type {
  font-size: 17px;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .single-content > p:first-of-type {
    font-size: 16px;
  }
}

/* ==========================================================================
   Archive Page Styles
   ========================================================================== */

/* アーカイブコンテナ */
.archive-container {
  max-width: 1160px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .archive-container {
    width: 90%;
    padding: 0;
    margin-bottom: 40px;
  }
}

/* アーカイブヘッダー */
.archive-header {
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 3px solid #333;
}

.archive-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 15px;
  color: #333;
}

.archive-description {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

@media screen and (max-width: 768px) {
  .archive-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom-width: 2px;
  }

  .archive-title {
    font-size: 24px;
  }

  .archive-description {
    font-size: 15px;
  }
}

/* 投稿リスト */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media screen and (max-width: 768px) {
  .post-list {
    gap: 20px;
  }
}

/* 投稿アイテム */
.post-item {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-item:hover {
  transform: translateY(-2px);
}

.post-link {
  display: flex;
  gap: 30px;
  text-decoration: none;
  color: inherit;
  padding: 20px;
  border: 1px solid #e0e0e0;
}

@media screen and (max-width: 768px) {
  .post-link {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
}

/* サムネイル */
.post-thumbnail {
  flex-shrink: 0;
  width: 240px;
  height: 180px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-item:hover .post-thumbnail img {
  transform: scale(1.05);
}

/* サムネイルがない場合のプレースホルダー */
.post-thumbnail-placeholder {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-thumbnail-placeholder span {
  color: #999;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .post-thumbnail {
    width: 100%;
    height: 200px;
  }
}

/* 投稿コンテンツ */
.post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.post-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  color: #333;
  transition: color 0.3s ease;
}

.post-item:hover .post-title {
  color: #0066cc;
}

.post-date {
  font-size: 14px;
  color: #666;
}

@media screen and (max-width: 768px) {
  .post-title {
    font-size: 18px;
  }

  .post-date {
    font-size: 13px;
  }
}

/* ページネーション */
.pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination .nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pagination .page-numbers {
  padding: 10px 15px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .page-numbers:hover {
  background: #f5f5f5;
}

.pagination .page-numbers.current {
  background: #333;
  color: #fff;
  border-color: #333;
}

@media screen and (max-width: 768px) {
  .pagination {
    margin-top: 40px;
  }

  .pagination .page-numbers {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* 投稿なしメッセージ */
.no-posts {
  text-align: center;
  padding: 80px 20px;
  color: #666;
}

.no-posts p {
  font-size: 16px;
}