/* フェードjs */

/* body.fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.fade.loaded {
  opacity: 1;
  transform: translateY(0);
} */



/* =========================
   Header
========================= */

.header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header_menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.header_menu a {
  font-size: 14px;
}

.header_auth--register a {
  font-weight: 600;
}

.header_nav-toggle {
  display: none;
}

/* =========================
   Hamburger Button
========================= */

.header_hamburger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.header_hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #222;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header_hamburger span:nth-child(1) {
  top: 0;
}

.header_hamburger span:nth-child(2) {
  top: 9px;
}

.header_hamburger span:nth-child(3) {
  bottom: 0;
}

/* =========================
   Hamburger Animation
========================= */

.header_nav-toggle:checked + .header_nav + .header_hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.header_nav-toggle:checked + .header_nav + .header_hamburger span:nth-child(2) {
  opacity: 0;
}

.header_nav-toggle:checked + .header_nav + .header_hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Category */

.header_category {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header_tag {
  background: #f1f1f1;
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
}

.header_divider {
  margin: 0 8px;
  color: #aaa;
}

/* =========================
パンくずリスト
========================= */

.breadcrumb {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
  font-size: 13px;
}

.breadcrumb_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb_item {
  display: flex;
  align-items: center;
  color: #717171;
}

.breadcrumb_item a {
  text-decoration: none;
  color: #717171;
  transition: opacity 0.2s ease;
}

.breadcrumb_item a:hover {
  opacity: 0.6;
}

/* 区切り矢印 */
.breadcrumb_item:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #717171;
}

/* 現在ページ */
.breadcrumb_item--current {
  color: #222;
  font-weight: 500;
}

/* SP */
@media (max-width: 767px) {
  .breadcrumb {
    margin-top: 16px;
    padding: 0 16px;
    font-size: 12px;
  }
}

/* =========================
  Layout
========================= */

.main {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}


/* ================= Content ================= */
.content_back {
  display: inline-block;
  margin-top: 24px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #555;
  padding: 6px 12px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
    }

    /* hover / focus */
.content_back:hover,
.content_back:focus {
  background-color: #f0f0f0;
  color: #222;
}


.detail {
  /* border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px; */
  width: 100%;
  max-width: 760px; 
  background: #fff;
  /* border: 1px solid #e5e5e5; */
  border-radius: 8px;
  padding: 32px;
}

.detail_hero img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #eee;
  margin-top: 20px;
  margin-bottom: 20px;
}

.detail_meta {
  margin-top: 16px;
}

.detail_meta h2 {
  font-size: 25px;
  margin: 8px 0;
}

.detail_body {
  margin-top: 32px;
}

.detail_image img {
  width: 100%;
  /* height: 320px; */
  height: auto;
  object-fit: scale-down;
  object-position: center;
  background: #eee;
  margin-top: 2em;
  margin-bottom: 2em;
}

.seminar_bn img {
  width: 80%;
  max-width: 760px;
  /* height: 320px; */
  height: auto;
  object-fit: scale-down;
  object-position: center;
  margin-top: 2em;
  margin-bottom: 2em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
  cursor: pointer;
   /* 常時ゆらぎ */
  animation: bannerFloat 3s ease-in-out infinite;
}

/* 常時アニメーション */
@keyframes bannerFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.seminar_bn {
  text-align: center;
}

/* =========================
   Seminar Banner Animation
========================= */

/* hover（PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .seminar_bn img:hover {
    animation-play-state: paused; /* 浮遊停止 */
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 14px 28px rgba(0,0,0,0.15);
    filter: brightness(1.05);
  }
}

/* クリック中 */
.seminar_bn img:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.detail_text {
  /* margin-top: 2em; */
  /* margin-bottom: 2em; */
  line-height: 1.7;
  font-size: 18px;
  color: #444444;
  font-family: "Noto Sans JP", sans-serif;
  /* font-family: "LINE Seed JP", sans-serif; */
  /* 以下禁則処理 */
  text-align: justify;
  text-justify: inter-ideograph;
  line-break: strict;
  word-break: break-all;
}


.detail_text + .detail_text {
  margin-top: 2em;
}

.bd1 {
  font-weight: bold;
  color: #3245a3;
}

/* .spacer {
  height: 2em;
} */

.back-to-top:hover {
  right: 0;
  animation-play-state: paused;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* ================= Responsive ================= */
@media (max-width: 767px) {
  .main {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .sidebar {
    order: 2;
  }

  .content {
    order: 1;
  }
  .detail {
    padding: 20px 16px;
    border-radius: 0;
  }

  .detail_text {
    font-size: 16px;
  }
  .detail_text + .detail_text {
  margin-top: 1.4em;
}
}


/* =========================
   Sidebar
========================= */

/* .sidebar {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px;
}

.sidebar_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar_list li {
  font-size: 14px;
  margin-bottom: 16px;
} */

/* =========================
   Filter
========================= */

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 24px;
  justify-content: flex-start;
}

.filter_btn {
  border: 1px solid #222;
  background: #222;
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
}

/* =========================
  フッター
========================= */

.site-footer {
  background-color: #3a3a3a;
  color: #ffffff;
}

.site-footer_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

/* ---------- Logo ---------- */

.footer-logo img {
  display: block;
  margin: 0 auto 8px;
}

/* ---------- Company ---------- */

.footer-company_name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-company_address {
  font-size: 13px;
  line-height: 1.6;
  color: #e0e0e0;
}

/* ---------- Legal Links ---------- */

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.footer-legal a {
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* ---------- Copyright ---------- */

.footer-copyright {
  font-size: 12px;
  color: #cccccc;
  margin-top: 8px;
}

/* =========================
上に戻るボタン
========================= */

html {
  scroll-behavior: smooth;
}

.back-to-top {
  position: fixed;
  right: -56px; /* 通常時は見切れ */
  bottom: 32px;
  width: 100px;
  height: 80px;
  background-color: #F6AB00;
  border-radius: 60px 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: right 0.3s ease, background-color 0.3s ease;
  z-index: 1000;
}

.back-to-top_icon {
  color: #ffffff;
  font-size: 12px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover animation */
/* 揺れアニメーションつき */
.back-to-top:hover {
  right: 0;
  background-color: #F6AB00;
}

.back-to-top:hover .back-to-top_icon {
  opacity: 1;
  transform: translateX(0);
}

.back-to-top {
  animation: backToTopFloat 2.5s ease-in-out infinite;
}

@keyframes backToTopFloat {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

/* hover時は揺れを止める */
.back-to-top:hover {
  animation-play-state: paused;
}


/* =========================
  Header Hover Animations
  PC only / SP safe
========================= */

/* ---------- header_nav ---------- */
.header_menu li {
  position: relative;
  color: #222;
  cursor: pointer;
  transition: opacity 0.2s ease, letter-spacing 0.2s ease;
}

.header_menu li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* ---------- header_category text ---------- */
.header_category span {
  position: relative;
  color: #222;
  cursor: pointer;
  transition: opacity 0.2s ease, letter-spacing 0.2s ease;
}

.header_category span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* ---------- header_category tags ---------- */
.header_category .tag {
  transition: background-color 0.2s ease,
              color 0.2s ease,
              letter-spacing 0.2s ease;
}

/* ---------- hover enabled only on PC ---------- */
@media (hover: hover) and (pointer: fine) {
  .header_menu li:hover,
  .header_category span:hover {
    opacity: 0.6;
    letter-spacing: 0.02em;
  }

  .header_menu li:hover::after,
  .header_category span:hover::after {
    opacity: 1;
  }

  .header_category .tag:hover {
    background-color: #e0e0e0;
    color: #555;
    letter-spacing: 0.02em;
  }
}





/* =========================
   Responsive (SP)上に戻るボタン
========================= */

@media screen and (max-width: 767px) {
  .back-to-top {
    bottom: 24px;
    width: 80px;
    height: 80px;
    right: -48px;
  }

  .back-to-top_icon {
    font-size: 12px;
  }

  .detail_hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #eee;
  margin-top: 20px;
  margin-bottom: 20px;
}

}


/* =========================
   Responsive footer
========================= */

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

  .site-footer_inner {
    padding: 40px 16px 32px;
    gap: 18px;
  }

  .footer-company_name {
    font-size: 14px;
  }

  .footer-company_address {
    font-size: 12px;
  }

  .footer-legal {
    gap: 12px 16px;
  }

  .footer-legal a {
    font-size: 12px;
  }

  .footer-copyright {
    font-size: 11px;
  }
}

/* =========================
   Responsive
========================= */

@media (max-width: 1023px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 767px) {
  .header_nav {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    display: none;
  }

  .header_menu {
    flex-direction: column;
    gap: 16px;
    padding: 60px;
  }

  .header_hamburger {
    display: block;
  }

  .header_nav-toggle:checked + .header_nav {
    display: block;
  }

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

