/* -------------------------------------------
        main
        ------------------------------------------- */
:root {
  --color-takako-blue: #0058A3;
  --color-takako-yellow: #FFCC00;
  --color-takako-lightgray: #F2F2F2;
  --color-takako-darkgray: #333333;
  --color-takako-white: #fff;
}

.text-takako-blue {
  color: var(--color-takako-blue);
}

.bg-takako-blue {
  background-color: var(--color-takako-blue);
}

.text-takako-yellow {
  color: var(--color-takako-yellow);
}

.bg-takako-yellow {
  background-color: var(--color-takako-yellow);
}

.bg-takako-lightgray {
  background-color: var(--color-takako-lightgray);
}

.bg-takako-darkgray {
  background-color: var(--color-takako-darkgray);
}

.bg-takako-white {
  background-color: var(--color-takako-white)
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-takako-darkgray);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

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

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

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

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

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

.section-title-lp {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-takako-blue);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title-lp::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--color-takako-yellow);
  border-radius: 2px;
}

.mobile-menu {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-100%);
  width: 85%;
  max-width: 320px;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.container-3col {
  display: flex;
  margin: 0 auto;
  gap: 0;
  margin-top: 72px;
}

.left-aside,
.right-aside {
  position: sticky;
  top: 80px;
  overflow-y: auto;
  background-color: var(--color-takako-lightgray);
  padding: 20px;
  box-sizing: border-box;
  flex-shrink: 0;
  width: calc((100% - 500px) / 2);
  max-width: 100%;
  height: 100%;
}

.main-content-wrapper {
  flex-grow: 1;
  width: 100vw;
  max-width: 500px;
  background-color: #fff;
}

.left-aside {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.right-aside {
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item.active {
  opacity: 1;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.show {
  opacity: 1;
  transform: translateY(0);
}

.gnavi-sp {
  display: none;
}

.lg\:grid-cols-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kv-text-wrapper {
  width: 90%;
}

.left-43 {
    left: 43%;
}

.bg-takako-blue {
    background-color: var(--color-takako-blue);
    border-bottom: solid #55c179 4px;
}

.left-aside, .right-aside {
    background-color: unset;
}

.animate-float-in {
    animation: floatIn 1s ease-out forwards;
}

#right-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background-color: rgba(255,255,255,0.4);
    pointer-events: none;
}

#header img {
    width: 250px;
}

.sm\:grid-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.left-aside {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

.float-image {
    width: 80%;
    max-height: 90%;
    object-fit: contain;
    display: block;
    will-change: transform;
}



@media (max-width: 1024px) {
  .left-aside {
    display: none;
  }

  .right-aside {
    width: calc((100% - 500px) / 1);
    display: block;
  }
}

@media (max-width: 720px) {
  .right-aside {
    display: none;
  }

  .main-content-wrapper {
    max-width: max-content;
  }

  .gnavi-pc {
    display: none;
  }

  .gnavi-sp {
    display: block;
  }
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(20px) rotate(-8deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(-8deg);
    }
}

.takako-archive-page,
.takako-single-article {
  min-height: calc(100vh - 72px);
  padding: 64px 32px;
  background-color: var(--color-takako-white);
}

.takako-archive-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 36px;
}

.takako-archive-tab {
  min-width: 0;
  padding: 10px 12px;
  border: 2px solid var(--color-takako-blue);
  border-radius: 9999px;
  color: var(--color-takako-blue);
  font-weight: bold;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}

.takako-archive-tab:hover,
.takako-archive-tab.is-active {
  background-color: var(--color-takako-blue);
  color: var(--color-takako-white);
}

.takako-archive-list {
  border-top: 1px solid #dfe3e8;
}

.takako-archive-item {
  padding: 28px 0;
  border-bottom: 1px solid #dfe3e8;
}

.takako-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 14px;
}

.takako-category-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.5;
}

.takako-category-label.is-news {
  color: #dc2626;
  background-color: #fff1f1;
  border: 1px solid #fecaca;
}

.takako-category-label.is-blog {
  color: var(--color-takako-blue);
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
}

.takako-archive-title {
  margin-bottom: 12px;
  color: var(--color-takako-blue);
  font-size: 22px;
  line-height: 1.6;
}

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

.takako-archive-excerpt {
  margin-bottom: 12px;
  color: #4b5563;
  line-height: 1.8;
}

.takako-detail-link,
.takako-back-link {
  color: var(--color-takako-blue);
  font-weight: bold;
}

.takako-detail-link:hover,
.takako-back-link:hover {
  text-decoration: underline;
}

.takako-pagination {
  margin-top: 40px;
}

.takako-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.takako-pagination li .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: var(--color-takako-blue);
  background-color: var(--color-takako-white);
}

.takako-pagination li .page-numbers:hover,
.takako-pagination li .page-numbers.current {
  color: var(--color-takako-white);
  background-color: var(--color-takako-blue);
  border-color: var(--color-takako-blue);
}

.takako-no-posts {
  padding: 48px 0;
  text-align: center;
}

.takako-single-header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #dfe3e8;
}

.takako-single-header h1 {
  color: var(--color-takako-blue);
  font-size: 28px;
  line-height: 1.5;
}

.takako-single-image {
  width: 100%;
  height: auto;
  margin-bottom: 36px;
  border-radius: 12px;
}

.takako-entry-content {
  color: #374151;
  font-size: 16px;
  line-height: 2;
}

.takako-entry-content h2 {
  margin: 48px 0 20px;
  padding: 12px 16px;
  color: var(--color-takako-blue);
  font-size: 26px;
  border-left: 5px solid var(--color-takako-yellow);
  background-color: var(--color-takako-lightgray);
}

.takako-entry-content h3 {
  margin: 36px 0 16px;
  padding-bottom: 8px;
  color: var(--color-takako-blue);
  font-size: 22px;
  border-bottom: 2px solid var(--color-takako-yellow);
}

.takako-entry-content p,
.takako-entry-content ul,
.takako-entry-content ol,
.takako-entry-content blockquote,
.takako-entry-content table {
  margin-bottom: 24px;
}

.takako-entry-content ul {
  padding-left: 1.5em;
  list-style: disc;
}

.takako-entry-content ol {
  padding-left: 1.5em;
  list-style: decimal;
}

.takako-entry-content a {
  color: var(--color-takako-blue);
  text-decoration: underline;
}

.takako-entry-content .takako-post-button {
  display: table;
  max-width: 100%;
  margin: 32px auto;
  padding: 12px 28px;
  color: var(--color-takako-white);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  background-color: var(--color-takako-blue);
  border-radius: 9999px;
  transition: color 0.3s, background-color 0.3s, transform 0.3s;
}

.takako-entry-content .takako-post-button:hover {
  color: var(--color-takako-blue);
  text-decoration: none;
  background-color: var(--color-takako-yellow);
  transform: translateY(-2px);
}

.takako-entry-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.takako-entry-content blockquote {
  padding: 16px 20px;
  border-left: 4px solid var(--color-takako-yellow);
  background-color: var(--color-takako-lightgray);
}

.takako-entry-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.takako-entry-content th,
.takako-entry-content td {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
}

.takako-single-footer {
  padding-top: 32px;
  margin-top: 48px;
  border-top: 1px solid #dfe3e8;
  text-align: center;
}

.takako-movie-player {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 16 / 9;
}

.takako-movie-player img,
.takako-movie-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.takako-movie-player img {
  object-fit: cover;
}

.takako-movie-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 35px;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.55);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.takako-movie-play::after {
  width: 0;
  height: 0;
  margin-left: 3px;
  content: "";
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #fff;
}

.takako-movie-play:hover,
.takako-movie-play:focus-visible {
  background-color: rgba(0, 0, 0, 0.72);
}

@media (max-width: 720px) {
  .takako-archive-page,
  .takako-single-article {
    padding: 48px 20px;
  }

  .takako-archive-tabs {
    gap: 8px;
  }

  .takako-archive-tab {
    min-width: 0;
    padding: 10px 8px;
    font-size: 14px;
  }

  .takako-archive-title {
    font-size: 20px;
  }

  .takako-single-header h1 {
    font-size: 25px;
  }

  .takako-entry-content h2 {
    font-size: 22px;
  }

  .takako-entry-content h3 {
    font-size: 19px;
  }
}
