@charset "UTF-8";

/*
Theme Name: 暮らす実験室
Theme URI: 
Description: 大分県竹田市で営むシェアハウスIKI・SIKA、住うことを通じて暮らしを育む拠点です。
Author: VOWZ
Author URI: https://vowz.co.jp
Version: 1.0
*/

html {
  font-size: 62.5%;
}

body {
  line-height: 1.6;
  font-family: "Yu Gothic", "游ゴシック体", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.4rem;
  line-height: 2;
}

main {
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 1.3rem;
  }
}

/* a11y
-------------------------------------------------- */
*:focus-visible {
  outline: auto !important;
}

/* キーボード操作のフォーカスは残し、JSで付けた一時フォーカスだけ消す */
.skip-focus-visible:focus,
.skip-focus-visible:focus-visible {
  outline: none !important;      /* 通常のアウトライン */
  box-shadow: none !important;   /* Bootstrap などの独自リング対策 */
}

/* 調整用
-------------------------------------------------- */
.yu-mincho {
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
}

/* margin */
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-60 { margin-top: 60px; }
.mt-72 { margin-top: 72px; }
.mt-84 { margin-top: 84px; }
.mt-96 { margin-top: 96px; }
.mt-108 { margin-top: 108px; }
.mt-120 { margin-top: 120px; }
.mt-144 { margin-top: 144px; }
.mt-160 { margin-top: 160px; }
.mt-240 { margin-top: 240px; }
.mt-minus-120 { margin-top: -120px; }

@media screen and (max-width: 1439px) and (min-width: 769px) {
  .tb-mt-72 { margin-top: 72px; }
}

@media screen and (max-width: 768px) {
  .sp-mt-0 { margin-top: 0; }
  .sp-mt-4 { margin-top: 4px; }
  .sp-mt-8 { margin-top: 8px; }
  .sp-mt-12 { margin-top: 12px; }
  .sp-mt-16 { margin-top: 16px; }
  .sp-mt-20 { margin-top: 20px; }
  .sp-mt-24 { margin-top: 24px; }
  .sp-mt-36 { margin-top: 36px; }
  .sp-mt-40 { margin-top: 40px; }
  .sp-mt-48 { margin-top: 48px; }
  .sp-mt-60 { margin-top: 60px; }
  .sp-mt-72 { margin-top: 72px; }
  .sp-mt-84 { margin-top: 84px; }
  .sp-mt-96 { margin-top: 96px; }
  .sp-mt-108 { margin-top: 108px; }
  .sp-mt-120 { margin-top: 120px; }
  .sp-mt-144 { margin-top: 144px; }
  .sp-mt-160 { margin-top: 160px; }
  .sp-mt-240 { margin-top: 240px; }
}

/* padding */
.pt-4 { padding-top: 4px; }
.pt-8 { padding-top: 8px; }
.pt-12 { padding-top: 12px; }
.pt-16 { padding-top: 16px; }
.pt-20 { padding-top: 20px; }
.pt-24 { padding-top: 24px; }
.pt-36 { padding-top: 36px; }
.pt-40 { padding-top: 40px; }
.pt-48 { padding-top: 48px; }
.pt-60 { padding-top: 60px; }
.pt-72 { padding-top: 72px; }
.pt-84 { padding-top: 84px; }
.pt-96 { padding-top: 96px; }
.pt-108 { padding-top: 108px; }
.pt-120 { padding-top: 120px; }
.pt-160 { padding-top: 160px; }

@media screen and (max-width: 768px) {
  .sp-pt-4 { padding-top: 4px; }
  .sp-pt-8 { padding-top: 8px; }
  .sp-pt-12 { padding-top: 12px; }
  .sp-pt-16 { padding-top: 16px; }
  .sp-pt-20 { padding-top: 20px; }
  .sp-pt-24 { padding-top: 24px; }
  .sp-pt-36 { padding-top: 36px; }
  .sp-pt-40 { padding-top: 40px; }
  .sp-pt-48 { padding-top: 48px; }
  .sp-pt-60 { padding-top: 60px; }
  .sp-pt-72 { padding-top: 72px; }
  .sp-pt-84 { padding-top: 84px; }
  .sp-pt-96 { padding-top: 96px; }
  .sp-pt-108 { padding-top: 108px; }
  .sp-pt-120 { padding-top: 120px; }
  .sp-pt-144 { padding-top: 144px; }
  .sp-pt-160 { padding-top: 160px; }
  .sp-pt-240 { padding-top: 240px; }
}

/* text-align */
.align-left { text-align: left; }
.align-right { text-align: right; }
.align-center { text-align: center; }

/* font-size */
.fz-10 { font-size: 1.0rem; }
.fz-11 { font-size: 1.1rem; }
.fz-12 { font-size: 1.2rem; }
.fz-13 { font-size: 1.3rem; }
.fz-14 { font-size: 1.4rem; }
.fz-15 { font-size: 1.5rem; }
.fz-16 { font-size: 1.6rem; }
.fz-17 { font-size: 1.7rem; }
.fz-18 { font-size: 1.8rem; }
.fz-19 { font-size: 1.9rem; }
.fz-20 { font-size: 2.0rem; }
.fz-21 { font-size: 2.1rem; }
.fz-22 { font-size: 2.2rem; }

@media screen and (max-width: 768px) {
  .sp-fz-10 { font-size: 1.0rem; }
  .sp-fz-11 { font-size: 1.1rem; }
  .sp-fz-12 { font-size: 1.2rem; }
  .sp-fz-13 { font-size: 1.3rem; }
  .sp-fz-14 { font-size: 1.4rem; }
  .sp-fz-15 { font-size: 1.5rem; }
  .sp-fz-16 { font-size: 1.6rem; }
  .sp-fz-17 { font-size: 1.7rem; }
  .sp-fz-18 { font-size: 1.8rem; }
}

/* grid */
.grid { display: grid; }
.col-2 { grid-template-columns: repeat(2, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }
.col-4 { grid-template-columns: repeat(4, 1fr); }
.gap-5 { gap: 5px; }
.gap-10 { gap: 10px;}
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }
.gap-50 { gap: 50px; }
.gap-100 { gap: 100px; }
.row-gap-10 { row-gap: 10px; }
.row-gap-15 { row-gap: 15px; }
.row-gap-20 { row-gap: 20px; }
.row-gap-30 { row-gap: 30px; }
.row-gap-40 { row-gap: 40px; }

@media screen and (max-width: 768px) {
  .sp-col-1 { grid-template-columns: repeat(1, 1fr); }
  .sp-col-2 { grid-template-columns: repeat(2, 1fr); }
  .sp-col-3 { grid-template-columns: repeat(3, 1fr); }
  .sp-col-4 { grid-template-columns: repeat(4, 1fr); }
}

/* 表示・非表示 */
.pc-none { display: none !important; }
.sp-block { display: none !important; }
@media screen and (max-width: 768px) {
  .sp-none { display: none !important; }
  .sp-block { display: block !important; }
}

/* loader
-------------------------------------------------- */
body{
  opacity: 1;
  transition: opacity 0.5s ease;
}

body.fade-out {
  opacity: 0;
}

.loader-wrap {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  opacity: 0;
  transition: opacity 1s ease;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9998;
  opacity: 1;
  transition: opacity .5s ease;
}

.loader-overlay--hide {
  opacity: 0;
  pointer-events: none;
}

.loader--visible {
  opacity: 1;
}

.loader--hide {
  opacity: 0;
  pointer-events: none;
}

.loader-img {
  width: 61px;
  height: 44px;
  background: url(./img/load.svg) no-repeat center center;
  background-size: contain;
  animation: fly 1.2s infinite linear;
}

@keyframes fly {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(-3deg);
  }
  50% {
    transform: translateY(-15px) rotate(0deg);
  }
  75% {
    transform: translateY(-8px) rotate(3deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}


.loader-line {
  filter: blur(4px) contrast(12);
  background-color: #fff;
  padding: 10px;
  transform: scale(0.6) rotate(10deg) translate(-10px, 35px);
}

.loader-line::before {
  content: "";
  display: block;
  height: 25px;
  aspect-ratio: 3;
  --c: #0000 64%, #000 66% 98%, #0000 101%;
  background:
    radial-gradient(35% 146% at 50% 159%, var(--c)) 0 0,
    radial-gradient(35% 146% at 50% -59%, var(--c)) 100% 100%;
  background-size: calc(200% / 3) 50%;
  background-repeat: repeat-x;
  animation: l11 0.8s infinite linear;
}

@keyframes l11 {
  to {
    background-position: -200% 0, -100% 100%;
  }
}

@media screen and (max-width: 768px) {
  .loader-line {
    filter: none;
  }
}


/* header
-------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  width: 300px;
  height: 40px;
  background-color: #f0f0f0;
  color: #000;
  text-align: center;
  line-height: 40px;
  transition: top 0.15s ease;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

.header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - 230px);
  height: 85px;
  background: #fff;
  z-index: 100;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
}

.nav-overlay__content {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 25px;
  height: 100%;
  padding-right: 35px;
}

.header-nav-list {
  display: flex;
  align-items: center;
}

.header-nav-list li {
  position: relative;
}

.header-nav-list a {
  display: block;
  color: #000;
  padding: 20px 25px 15px;
}

.header-nav-list:nth-child(2) {
  gap: 30px;
}

.header-nav-list:nth-child(2) a {
  padding: 0;
}

.header-nav-list:nth-child(1) a::before {
  content: "";
  display: block;
  width: calc(100% - 50px);
  height: 1px;
  background-color: #000;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: left center;
  transform: translateX(-50%) scaleX(0);
  transition: .3s;
}

.header-nav-list:nth-child(1) a:hover::before,
.header-nav-list:nth-child(1) li.current a::before {
  transform: translateX(-50%) scaleX(1);
}

.header-subnav-list {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 25px;
  z-index: 100;
  width: 185px;
  padding: 10px 0;
  transition: 0.4s;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-size: 1.3rem;
}

.header-nav-list li:has(a:hover) .header-subnav-list,
.header-nav-list li:has(a:focus) .header-subnav-list {
  visibility: visible;
  opacity: 1;
}

.header-subnav-list a {
  padding: 10px 20px;
}

.header-nav-list:nth-child(1) .header-subnav-list a::before {
  content: none;
}

.header-nav-list:nth-child(1) .header-subnav-list a span {
  position: relative;
  padding-bottom: 8px;
}

.header-nav-list:nth-child(1) .header-subnav-list a span::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #000;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: left center;
  transform: translateX(-50%) scaleX(0);
  transition: .3s;
}

.header-nav-list:nth-child(1) .header-subnav-list a:hover span::after {
  transform: translateX(-50%) scaleX(1);
}

@media screen and (max-width: 1439px) and (min-width: 769px) {
  .header {
    width: calc(100% - 180px);
    height: auto;
    min-height: 85px;
  }
  
  .header-nav-list a {
    padding: 10px 15px 15px;
  }

  .nav-overlay__content {
    row-gap: 0;
  }
}

/* overlay-styles.css */
@media screen and (max-width: 768px) {
  .header {
    background-color: transparent;
  }
  .hamburger-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 36px;
    height: 35px;
    border: none;
    background: url(./img/icon_ham.svg) no-repeat center center;
    background-size: contain;
    cursor: pointer;
    transition: .2s;
  }

  .hamburger-overlay.active {
    background: url(./img/icon_ham_close.svg) no-repeat center center;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: all .6s;
    z-index: 900;
  }

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

  .nav-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 234px;
    height: 100%;
    background: url(./img/header-bg.webp) no-repeat center center;
    background-size: cover;
    transform: translateX(50%);
  }

  .nav-overlay__content {
    display: inherit;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding-right: 0;
  }

  .header-nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav-list a {
    padding: 30px 0 0;
  }

  .header-nav-list > li:first-child > a {
    padding-top: 0;
  }

  .header-nav-list:nth-child(1) a:hover {
    color: #000;
  }

    .header-nav-list:nth-child(1) a:hover::before,
    .header-nav-list:nth-child(1) li.current a::before {
      content: none;
    }

  .header-nav-list:nth-child(1) .header-subnav-list a span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 0;
  }

  .header-nav-list:nth-child(1) .header-subnav-list a span::before {
  content: "";
  display: block;
  width: 8px;
  height: 1px;
  background-color: #000;
}

  .header-nav-list:last-child{
    position: relative;
  }

  .header-nav-list:last-child::before {
    content: '';
    position: absolute;
    background: url(./img/header_illust.svg) no-repeat center center;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
  }

  .nav-overlay__list {
    padding: 0 10%;
    list-style: none;
  }

  .nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s;
  }

  .nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
  .nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
  .nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
  .nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }
  .nav-overlay.active .nav-overlay__item:nth-child(5) { transition-delay: 0.5s; }
  .nav-overlay.active .nav-overlay__item:nth-child(6) { transition-delay: 0.6s; }
  .nav-overlay.active .nav-overlay__item:nth-child(7) { transition-delay: 0.7s; }
  .nav-overlay.active .nav-overlay__item:nth-child(8) { transition-delay: 0.8s; }

  .nav-overlay__link {
    display: inline-block;
    padding: 20px;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    transition: color .3s;
    text-align: left;
  }

  .nav-overlay__link:hover {
    color: #4a90e2;
  }

  /* サブナビ */
  .header-subnav-list {
    visibility: hidden;
    position: inherit;
    top: auto;
    left: auto;
    opacity: 1;
    box-shadow: none;
    font-size: 1.4rem;
    text-align: left;
    padding: 0 0 20px 0;
    background-color: transparent;
  }

  .nav-overlay.active .header-subnav-list {
    visibility: visible;
    opacity: 1;
  }

  .header-subnav-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 0;
  }

  .header-subnav-list a::before {
    content: '';
    width: 10px !important;
    height: 1px;
    background-color: #000;
  }
}

/* sidebar
-------------------------------------------------- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  height: auto;
  padding: 40px 0;
  z-index: 100;
  transition: top 0.2s ease;
}

.body::before { /* メインビジュアル箇所の調整 */
  content: '';
  position: absolute;
  top: -30px;
  left: -20px;
  width: 120px;
  height: 160px;
  background: url(./img/mv-bg.webp) no-repeat center center;
  z-index: 10;
}

.sidebar-logo {
  display: block;
  width: 136px;
  margin: 0 auto;
}

.sidebar-logo-under {
  display: block;
  width: 16px;
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
  visibility: visible;
  transition: 0.5s ease;
  position: relative;
  z-index: 0;
}

.sidebar-logo-under.hide {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: -1 !important;
}

@media screen and (max-width: 1439px) and (min-width: 769px) {
  .sidebar {
    width: 180px;
    padding: 40px 0;
  }

  .sidebar-logo {
    width: 100px;
  }

  .sidebar-logo-under {
    width: 14px;
  }
}

@media screen and (max-width: 768px) {
  .sidebar {
    width: 96px;
    padding: 24px 0 0 12px;
  }

  .sidebar-logo {
    width: 84px;
  }

  .sidebar-logo-under {
    width: 12px;
  }
}

/* main
-------------------------------------------------- */
main,
#main-content {
  padding-top: 85px; /* headerの高さ分。JSで調整するかも */
  padding-bottom: 150px;
}

.main-wrap {
  width: 100%;
  max-width: 100%;
  padding: 0 5% 0 10%
}

.main-inner {
  width: 1140px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  main,
  #main-content {
    padding-top: 120px;
  }
  .top #main-content {
    padding-top: 0;
  }
  .main-wrap {
    width: 100%;
    padding: 0 5%;
    margin: 0;
  }
}

/* footer
-------------------------------------------------- */
.footer {
  background: url(./img/footer-bg.webp) no-repeat center center;
  background-size: cover;
  height: 448px;
  position: relative;
  z-index: 10;
  padding: 100px 5%;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
}

.footer a {
  color: #000;
}

.footer::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 5%;
  width: 245px;
  height: 135px;
  background: url(./img/footer-bg2.svg) no-repeat center center;
}

.footer-top-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-nav-list.type-2 {
  gap: 50px;
  row-gap: 10px;
}

.footer-nav-list a {
  color: #000;
  font-size: 1.4rem;
}

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

.footer-bottom-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
}

.copyright {
  font-size: 1rem;
}

@media screen and (max-width: 768px) {
  .footer {
    height: auto;
  }

  .footer::before {
    top: 40px;
    right: auto;
    left: 5%;
    width: 144px;
    height: 84px;
    background-size: cover;
  }

  .footer-top-area,
  .footer-bottom-area,
  .footer-logo-area {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom-area {
    gap: 0;
  }

  .footer-logo-area img {
    width: 108px;
  }

  .footer-logo-area p {
    text-align: center;
  }
}

/* pagetop */

.pagetop {
  /* display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .6); */
  position: fixed;
  bottom: 16px;
  right: 40px;
  z-index: 100;
  color: #000;
  font-size: 1.3rem;
  transition: background-color .3s;
  cursor: pointer;
}

.pagetop span {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  position: relative;
}

.pagetop span::before {
  content: '';
  display: block;
  position: absolute;
  height: 75px;
  width: 9px;
  background: url(./img/icon_pagetop.svg) no-repeat center center / contain;
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  opacity: 1; /* 初回表示時は常に表示 */
}

/* .pagetop:hover {
  background-color: rgba(255, 255, 255, .8);
} */

.pagetop:hover span::before {
  animation: arrow-slide-up 1.2s linear infinite;
}

/* アニメーション定義 */
@keyframes arrow-slide-up {
  0% {
    transform: translateY(-50%);
    opacity: 1;
  }
  50% {
    transform: translateY(-70%);
    opacity: 0;
  }
  65% {
    transform: translateY(-30%);
    opacity: 0;
  }
  100% {
    transform: translateY(-50%);
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .pagetop {
    /* width: 60px;
    height: 60px; */
    font-size: 1rem;
    right: 0;
  }
  .pagetop span::before {
    height: 50px;
  }
}

/* SNS */
/* ===== 初期スタイル（SP想定） ===== */
.sns-buttons {
  position: fixed;
  left: 40px;
  bottom: 16px;
  display: flex;
  gap: 12px;
  z-index: 90;
}

@media (min-width: 769px) {
  .sns-buttons { display: none; }
}

/* 共通：最初は非表示＆トランジションを設定 */
.pagetop,
.sns-buttons {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 表示用クラス */
.is-visible {
  opacity: 1;
  visibility: visible;
}


/* parts
-------------------------------------------------- */
.main-visual {
  width: calc(100% - 230px);
  margin-right: 0;
  margin-left: auto;
}

.mv-under {
  width: 640px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 3;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
}

@media screen and (max-width: 1439px) and (min-width: 769px) {
  .main-visual {
    width: calc(100% - 180px);
  }
}

@media screen and (max-width: 768px) {
  .main-visual {
    width: 95%;
  }
  .main-visual img {
    margin: 0 0 0 auto;
  }
  .mv-under {
    text-align: left;
    line-height: 2.2;
  }
}

/* 関連記事 */

.related-article {
  width: 750px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.related-article-heading {
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-weight: 500;
}

.related-article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 40px;
}

.related-article .category {
  width: fit-content;
  border: 1px solid #000;
  padding: 5px 10px;
  font-size: 1.2rem;
  line-height: 1;
  color: #000;
}

.related-article .title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
}

.related-article .date {
  font-size: 1.2rem;
  color: #484848;
}

.related-article-list a {
  transition: .3s;
}

.related-article-list a:hover {
  opacity: 0.8;
}

.related-article-list a img {
  width: 100%;
}

.read-more {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-right: 0;
  margin-left: auto;
  color: #000;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
}

.read-more::after {
  content: '';
  background: url(./img/icon_arrow.svg);
  width: 42px;
  height: 42px;
  display: inline-block;
  margin-left: 20px;
  transition: .3s;
}

.read-more:hover::after {
  background: url(./img/icon_arrow_ho.svg);
}

.read-more span {
  transition: .3s;
}

.read-more:hover span {
  transform: translateX(8px);
}

/* top-question  */
.top-question {
  width: 600px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.top-question-banner {
  position: relative;
  display: inline-block;
  border: 2px solid #F4F4F4;
  color: #000;
  text-decoration: none;
  overflow: hidden;
}

.top-question-banner::before,
.top-question-banner::after,
.top-question-banner span::before,
.top-question-banner span::after {
  content: "";
  position: absolute;
  background-color: #000;
  transition: all 0.2s linear;
}

.top-question-banner::before { /* 上 */
  top: 0; left: 0;
  width: 0; height: 1px;
}
.top-question-banner span::after { /* 左 */
  top: 0; left: 0;
  width: 1px; height: 0;
}
.top-question-banner::after { /* 右 */
  top: 0; right: 0;
  width: 1px; height: 0;
}
.top-question-banner span::before { /* 下 */
  bottom: 0; left: 0;
  width: 0; height: 1px;
}

.top-question-banner:hover::before {
  width: 100%;
  transition-delay: 0s;
}
.top-question-banner:hover span::after {
  height: 100%;
  transition-delay: 0s;
}
.top-question-banner:hover::after {
  height: 100%;
  transition-delay: 0.2s;
}
.top-question-banner:hover span::before {
  width: 100%;
  transition-delay: 0.2s;
}

.hover-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 372px;
  height: 72px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  border: 1px solid #000;
  font-size: 1.6rem;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  color: #000;
  line-height: 1;
  overflow: hidden; /* 疑似要素がはみ出ないように */
  z-index: 0;
  transition: .6s;
}

/* hover-btn */
.hover-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  z-index: -1;
}

.hover-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.hover-btn:hover {
  color: #fff;
}

.hover-btn.black {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
}

.hover-btn.black::before {
  background-color: #fff;
}

.hover-btn.black:hover {
  color: #000;
}

/* interview */
.interview {
  width: 100%;
  position: relative;
}

.interview-txt {
  display: flex;
  gap: 48px;
  width: fit-content;
  position: relative;
}

.interview-txt::before {
  content: '';
  position: absolute;
  bottom: -75px;
  right: -200px;
  background: url(./img/top/interview_illust.webp) no-repeat center center;
  background-size: cover;
  width: 140px;
  height: 72px;
}

.interview-title {
  width: 420px;
  max-width: 100%;
}

.interview-heading {
  font-size: 2.2rem;
  font-weight: 500;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
}

.interview-img {
  width: 100%;
  aspect-ratio: 330 / 385;
  border-radius: 8px;
  object-fit: cover;
  object-position: center center;
}

.interview-more {
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 40px;
  padding-bottom: 8px;
  transform: translateY(-100%);
}

.splide-2 .interview-more:hover,
.interview-more:hover img {
  opacity: 1;
}

.interview-more::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #000;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: left center;
  transform: translateX(-50%) scaleX(0);
  transition: .3s;
}

.interview-more:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.interview-bg {
  top: 60px;
}

@media screen and (max-width: 768px) {
  .interview-txt {
    flex-direction: column;
    gap: 36px;
    width: 100%;
  }

  .interview-txt::before {
    top: 20%;
    bottom: auto;
    right: 10%;
    width: 72px;
    height: 36px;
  }

  .interview-title {
    width: 60%;
  }

  .interview-heading {
    font-size: 1.4rem;
  }

  .interview-more {
    transform: translateY(0);
  }
}

/* スライダー */
.splide-2 {
  padding-left: 10%;
}

.splide-2 a {
  color: #000;
  transition: .3s;
}

.splide-2 a:hover {
  opacity: 0.8;
}

.splide02-arrow-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-right: 10%;
}

.splide02-arrow {
  position: inherit;
  background: url(./img/icon_arrow.svg) no-repeat center center;
  width: 42px;
  height: 42px;
  transform: none;
  transition: .3s;
}

.splide02-arrow-prev {
  transform: rotate(180deg);
}

.splide02-arrow:hover {
  background: url(./img/icon_arrow_ho.svg) no-repeat center center;
}

.splide02-arrow svg {
  display: none;
}

/* live */
.live {
  width: 780px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding-bottom: 180px;
}

.live-list {
  position: relative;
}

.live-list::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 200px;
  background: url(./img/top/live_illust01.webp) no-repeat center center;
  background-size: cover;
  z-index: -1;
}

.live-content a {
  color: #000;
  display: block;
  position: relative;
}

.live-content a img {
  transition: .3s;
}

.live-content a:hover img {
  opacity: .8;
}

.live-content:nth-child(1) a.animate-once {
  animation: hoverEffect 0.6s ease forwards;
}

.live-content:nth-child(2) a.animate-once {
  animation: hoverEffect-2 0.6s ease forwards;
}

@keyframes hoverEffect {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-15%, 5%);
  }
}

@keyframes hoverEffect-2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(15%, -5%);
  }
}

@media screen and (max-width: 768px) {
  .live {
    padding-bottom: 140px;
  }

  .live-list {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .live-list::before {
    width: 50px;
    height: 70px;
    top: 25%;
  }
}

/* 背景用
-------------------------------------------------- */
.bg-wrap {
  position: relative;
}

.bg-img {
  position: absolute;
  z-index: -10;
  width: 100%;
  object-fit: cover;
}

/* フェードイン等のアニメーション
-------------------------------------------------- */
.mv-fade-in {
  opacity: 0;
  transform: scale(1.1);
  transition: 1s ease;
}

.mv-fade-in.show {
  opacity: 1;
  transform: scale(1);
}

.scale-fade-in {
  opacity: 0;
  transform: scale(1.1);
  transition: 1s ease;
}

.scale-fade-in.large {
  transform: scale(1.3);
}

.scale-fade-in.show {
  opacity: 1;
  transform: scale(1);
}

.slide-fade-in {
  opacity: 0;
  transition: 1s ease;
  max-width: 100%;
}

.slide-fade-in.left {
  transform: translateX(-100px);
}

.slide-fade-in.right {
  transform: translateX(100px);
}

.slide-fade-in.up {
  transform: translateY(100px);
}

.slide-fade-in.down {
  transform: translateY(-100px);
}

.slide-fade-in.show {
  opacity: 1;
  transform: translateX(0);
}

.transition-delay-1 {
  transition-delay: 0.1s;
}

.transition-delay-2 {
  transition-delay: 0.2s;
}

.transition-delay-3 {
  transition-delay: 0.3s;
}

.transition-delay-4 {
  transition-delay: 0.4s;
}

.transition-delay-5 {
  transition-delay: 0.5s;
}

.transition-delay-6 {
  transition-delay: 0.6s;
}

.transition-delay-7 {
  transition-delay: 0.7s;
}

.transition-delay-8 {
  transition-delay: 0.8s;
}

.transition-delay-9 {
  transition-delay: 0.9s;
}

.transition-delay-10 {
  transition-delay: 1.0s;
}