.icon:before{
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f106';
}

/* フェードjs */

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

.layout.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
========================= */

/* .layout {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
} */
 .layout {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
}

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

.sidebar {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.sidebar_logo img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.logo img {
  display: block;
}


/* 
.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: 8px;
  margin-bottom: 24px;
  justify-content: flex-end;
}

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

.filter_btn.is-active {
  background: #222;
  color: #fff;
  border-color: #222;
}

/* =========================
  Cards
========================= */

.content {
  flex: 1;
}

/* .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
} */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  /* Card Hover Motion */
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.card button {
  margin-top: 10px;
  /* margin-bottom: 10px; */
}

.card_image {
  background: #e0e0e0;
  height: 160px;
  overflow: hidden;
}

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

.card_body {
  padding: 16px;
}

.card_update {
  font-size: 12px;
  color: #F6AB00;
  font-weight: bold;
}

.card_date {
  font-size: 12px;
  color: #666;
}

.card_title {
  font-size: 15px;
  margin: 8px 0;
}

.card_meta {
  font-size: 13px;
  color: #666;
}

/* hover（PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
}


/* =========================
   Clickable Area
========================= */

.card_link {
  display: block;
  height: 100%;
  color: inherit;
}

.card_link:hover {
  background: #fafafa;
}

.sidebar_link {
  display: block;
  padding: 8px;
  border-radius: 4px;
  color: inherit;
}

.sidebar_link:hover {
  background: #f3f3f3;
}


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

.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;
  }
}


/* =========================
   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;
  }

   /* メニューが開いている時は元の要素を消す */
  body.is-menu-open .header_search,
  body.is-menu-open .header_tv {
    display: none;
}

@media (max-width: 767px) {
  .header__menu {
    display: none;
  }

  .header__inner {
    justify-content: center;
  }
}
}

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

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

  .sidebar {
    display: none;
  }
} */


@media (max-width: 1023px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    display: flex;
    justify-content: center;
    margin-bottom: -100px;
  }
}

@media (max-width: 767px) {

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

  .logo img {
    display: block;
  }

  .logo {
    margin-bottom: 12px;
    line-height: 1;
  }

  .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;
  }
}

