@charset "UTF-8";
/*!
Theme Name: CoCoPri
Theme URI: https://cocopri.example.com
Description: 発達ゆっくりさんのためのプリントサイト - 応用行動分析（ABA）に基づいた学習プリント配布サイト
Version: 1.0.0
Author: Maeda
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #D9F2E7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover {
  opacity: 0.7;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}

button,
input,
select,
textarea {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type=checkbox],
input[type=radio] {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  margin: 0;
  padding: 0;
  border: none;
  height: 1px;
  background-color: #999999;
}

iframe {
  border: none;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 768px;
  background-image: url("images/illustrations/bg-gradient-top.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}
body > * {
  position: relative;
  z-index: 1;
}

.site-main {
  flex: 1;
  width: 100%;
}

.br-sp {
  display: none;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

section {
  margin: 64px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.section-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: #333333;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-left: 20px;
}
.page-header--spaced {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: #333333;
  margin-bottom: 18px;
}
.page-title .page-title-icon {
  width: 50px;
  height: 52px;
  display: inline-block;
  vertical-align: middle;
}

.page-illustration {
  flex-shrink: 0;
}
.page-illustration img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-bold {
  font-weight: 700;
}

.text-normal {
  font-weight: 400;
}

.mt-xs {
  margin-top: 4px;
}

.mt-sm {
  margin-top: 8px;
}

.mt-md {
  margin-top: 18px;
}

.mt-lg {
  margin-top: 24px;
}

.mt-xl {
  margin-top: 40px;
}

.mb-xs {
  margin-bottom: 4px;
}

.mb-sm {
  margin-bottom: 8px;
}

.mb-md {
  margin-bottom: 18px;
}

.mb-lg {
  margin-bottom: 24px;
}

.mb-xl {
  margin-bottom: 40px;
}

.pt-xs {
  padding-top: 4px;
}

.pt-sm {
  padding-top: 8px;
}

.pt-md {
  padding-top: 18px;
}

.pt-lg {
  padding-top: 24px;
}

.pt-xl {
  padding-top: 40px;
}

.pb-xs {
  padding-bottom: 4px;
}

.pb-sm {
  padding-bottom: 8px;
}

.pb-md {
  padding-bottom: 18px;
}

.pb-lg {
  padding-bottom: 24px;
}

.pb-xl {
  padding-bottom: 40px;
}

.sp-only {
  display: block;
}
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

.pc-only {
  display: none;
}
@media (min-width: 768px) {
  .pc-only {
    display: block;
  }
}

.hidden {
  display: none;
}

@media (max-width: 767px) {
  body::before {
    background-image: url("images/illustrations/bg-gradient-top-sp.png");
    height: 844px;
  }
  body.menu-open {
    overflow: hidden;
  }
  body.menu-open .site-logo {
    opacity: 0;
    visibility: hidden;
  }
  .br-sp {
    display: inline;
  }
  .container {
    padding: 0;
  }
  section {
    margin: 32px 0;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 32px;
  }
  .section-title {
    font-size: 24px;
  }
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 0;
  }
  .page-title {
    font-size: 28px;
    width: 90%;
    margin: 0 auto;
    line-height: 1.5;
  }
  section {
    margin: 32px 0;
  }
  .page-illustration {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .page-illustration img {
    width: 60%;
  }
}
.mobile-menu-overlay,
.mobile-menu {
  display: none;
}

/* ローディング中の初期状態（チラつき防止） */
.is-loading {
  overflow: hidden;
}
.is-loading .site-main,
.is-loading .site-header,
.is-loading .site-footer {
  visibility: hidden;
}

/* ローディング画面 */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/illustrations/bg-gradient-top.png") top center/cover no-repeat;
  display: none; /* 初期状態は非表示（JSで表示制御） */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ロゴアニメーション */
.logo-animation {
  display: flex;
  gap: 5px;
  position: relative;
}

.logo-animation span {
  opacity: 0;
}

/* Co1 - v1のシンプルな登場 */
.logo-animation .co1 {
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.3s;
}

/* Co2 - v1のシンプルな登場 */
.logo-animation .co2 {
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.9s;
}

/* Pri - v5のくるくる回転 */
.logo-animation .pri {
  transform: scale(0) rotate(0deg);
  animation: spinIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards 1.5s, spin5times 1.5s ease-in-out 2.1s forwards;
}

/* v1: 基本の登場アニメーション */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* v5: 回転しながら登場 */
@keyframes spinIn {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-360deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
/* v5: 5回小さく回転（左右交互）*/
@keyframes spin5times {
  0%, 100% {
    transform: rotate(0deg);
  }
  8% {
    transform: rotate(15deg);
  }
  16% {
    transform: rotate(-15deg);
  }
  24% {
    transform: rotate(12deg);
  }
  32% {
    transform: rotate(-12deg);
  }
  40% {
    transform: rotate(10deg);
  }
  48% {
    transform: rotate(-10deg);
  }
  56% {
    transform: rotate(7deg);
  }
  64% {
    transform: rotate(-7deg);
  }
  72% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
  90% {
    transform: rotate(0deg);
  }
}
/* ローディングテキスト */
.loading-text {
  margin-top: 55px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 3.6s;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.13em;
  color: rgb(51, 51, 51);
}

.loading-img {
  margin-bottom: 125px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 3.6s;
}

.loading-img img {
  max-width: 324px;
  height: auto;
  display: block;
  margin: 0px auto;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/* 虹のイラスト（装飾）*/
.rainbow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -64%);
  width: 486px;
  height: 170px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 0.3s;
}

/* メインコンテンツ */
#main-content {
  display: none;
  min-height: 100vh;
}

#main-content.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  height: 122px;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  width: 176px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.global-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #333333;
}
.nav-list a {
  color: #333333;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-list a .nav-icon {
  width: 20px;
  height: auto;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.ad-area {
  margin-top: 24px;
  text-align: center;
}

.ad-placeholder {
  width: 100%;
  height: 250px;
  margin: 0 auto;
  background-color: #f5f5f5;
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-placeholder p {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  color: #999;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: #FCD067;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger-menu span {
  display: block;
  width: 32px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}
.hamburger-menu.active {
  gap: 0;
}
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-2px);
}

.site-footer {
  background-color: #D8EEF6;
  padding: 48px 0;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 64px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  position: relative;
  display: inline-block;
  padding-top: 24px;
}
.footer-logo .footer-logo-main {
  max-width: 100%;
  height: auto;
  display: block;
}
.footer-logo .footer-logo-star {
  position: absolute;
  height: auto;
  object-fit: contain;
}
.footer-logo .footer-logo-star-left {
  width: 95px;
  bottom: -100px;
  left: -40px;
}
.footer-logo .footer-logo-star-right {
  width: 85px;
  top: -27px;
  right: -45px;
}

.footer-copyright {
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #333333;
}

.footer-copyright-sp {
  display: none;
}

.footer-right {
  flex: 1;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.footer-buttons {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 16px;
  justify-content: end;
}
.footer-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 18px 0;
  border-radius: 4px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  color: #FFFFFF;
}
.footer-buttons .btn .star {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: #FFFFFF;
}

.btn-footer-beginner {
  background-color: #EE87A8 !important;
}

.btn-footer-intermediate {
  background-color: #F6AE6B !important;
}

.btn-footer-advanced {
  background-color: #95B7E1 !important;
}

.btn-footer-action {
  background-color: #FCD476;
  color: #333333 !important;
}

.btn-footer-guide {
  background-color: #A3D6C1;
  color: #333333 !important;
  font-size: 16px !important;
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #333333;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}

.sidebar {
  width: 285px;
  flex-shrink: 0;
  padding-bottom: 64px;
  padding-left: 20px;
}

.difficulty-section {
  margin-bottom: 40px;
  margin-top: 0;
  border-radius: 8px;
}
.difficulty-section:last-child {
  margin-bottom: 0;
}

.difficulty-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 20px;
  color: #FFFFFF;
  padding: 20px 24px 16px;
}
.difficulty-title .star {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: #FFFFFF;
}

.difficulty-description {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #FFFFFF;
  padding: 0 24px 20px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #FFFFFF;
  color: #333333;
  padding: 16px 24px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.category-list a {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  color: #333333;
}
.category-list .category-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.has-subcategory .category-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.has-subcategory .category-item-wrapper a {
  flex: 1;
}

.subcategory-toggle {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.subcategory-toggle .toggle-icon {
  font-size: 12px;
  color: #333333;
  display: block;
  transition: transform 0.3s ease;
}
.subcategory-toggle:hover {
  opacity: 0.7;
}

.has-subcategory.is-open .subcategory-toggle .toggle-icon {
  transform: rotate(180deg);
}

.subcategory-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0 0 0 56px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.subcategory-list.is-open {
  max-height: 500px;
}
.subcategory-list a {
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  color: #333333;
}

.l-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 18px;
}

.l-2col {
  display: flex;
  gap: 40px;
}

.l-2col__main {
  background-color: #FFFFFF;
  flex: 1;
  border-top-left-radius: 100px;
  padding: 54px 40px 80px;
}

.l-2col__sidebar {
  width: 285px;
  flex-shrink: 0;
}

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

@media (max-width: 767px) {
  .loading-img {
    transform: scale(0.7);
    margin-bottom: 70px;
  }
  .logo-animation {
    transform: scale(0.7);
  }
  .loading-text {
    transform: scale(0.7);
    margin-top: 0;
  }
  .site-header {
    height: 88px;
    padding: 0 20px;
  }
  .header-container {
    padding: 0;
  }
  .site-logo a img {
    width: 141px;
    height: auto;
  }
  .header-right {
    display: none;
  }
  .global-nav {
    display: none;
  }
  .hamburger-menu {
    display: flex;
    z-index: 9999;
    position: relative;
  }
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #D9F2E7;
    padding: 40px 24px;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 9001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
  }
  .mobile-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 170px;
    height: 129px;
    background-image: url("images/icons/icon-sparkle-left.png");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  .mobile-menu::after {
    content: "";
    position: absolute;
    bottom: 34px;
    right: 0;
    width: 188px;
    height: 124px;
    background-image: url("images/icons/icon-sparkle-right.png");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  .mobile-menu-overlay.active .mobile-menu {
    right: 0;
  }
  .mobile-menu-actions {
    display: flex;
    gap: 18px;
  }
  .mobile-menu-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px 18px;
    font-size: 16px;
  }
  .mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-menu-nav ul li {
    position: relative;
  }
  .mobile-menu-nav ul li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #A3D6C1;
  }
  .mobile-menu-nav ul li:first-child::before {
    display: none;
  }
  .mobile-menu-nav ul li:last-child::after {
    display: none;
  }
  .mobile-menu-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: #333333;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  .mobile-menu-nav ul li a .nav-icon {
    width: 24px;
    height: auto;
    margin-right: 4px;
  }
  .mobile-menu-nav ul li a:hover {
    background-color: #D9F2E7;
  }
  .mobile-menu-logo {
    text-align: center;
    position: relative;
  }
  .mobile-menu-logo img {
    max-width: 200px;
    height: auto;
  }
  .footer-container {
    flex-direction: column;
    gap: 64px;
  }
  .footer-left {
    order: 1;
    gap: 18px;
  }
  .footer-right {
    order: 2;
  }
  .footer-logo {
    order: 1;
    text-align: center;
    margin: 0 auto;
  }
  .footer-logo .footer-logo-star-left {
    width: 85px;
    bottom: inherit;
    left: -70px;
    top: -30px;
  }
  .footer-logo .footer-logo-star-right {
    width: 70px;
    top: inherit;
    right: -70px;
    bottom: -45px;
  }
  .footer-copyright {
    display: none;
  }
  .footer-copyright-sp {
    display: block;
    text-align: center;
    order: 4;
  }
  .footer-buttons {
    order: 2;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 24px;
    width: 250px;
    margin: 0 auto;
  }
  .footer-buttons .btn {
    font-size: 20px;
  }
  .footer-buttons .btn .star {
    font-size: 20px;
  }
  .footer-buttons .btn:nth-child(4) {
    margin-top: 30px;
  }
  .btn-footer-guide {
    font-size: 20px !important;
  }
  .footer-links {
    order: 3;
    justify-content: space-around;
    margin: 64px 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 0;
  }
  .ad-area {
    margin-top: 64px;
  }
  .sidebar {
    width: 90%;
    margin: 80px auto 0;
    order: 2;
    padding-bottom: 80px;
    padding-left: 0;
  }
  body.page-top .sidebar {
    order: 1;
    margin-top: 0;
    padding-bottom: 56px;
  }
  body.page-top .l-2col__main {
    order: 2;
  }
  .l-2col {
    flex-direction: column;
    gap: 0;
  }
  .l-2col__sidebar {
    width: 100%;
  }
  .l-2col__main {
    padding: 54px 20px 96px;
    border-top-left-radius: 56px;
    order: 1;
  }
  .l-grid--2col,
  .l-grid--3col,
  .l-grid--4col {
    grid-template-columns: 1fr;
  }
  .difficulty-title {
    font-size: 24px;
    padding: 16px 24px 10px;
  }
  .difficulty-title .star {
    font-size: 24px;
  }
  .difficulty-description {
    padding: 0 24px 16px;
  }
  .ad-area {
    margin-top: 64px;
  }
}
@media (max-width: 767px) and (max-height: 750px) {
  .mobile-menu {
    gap: 20px;
  }
  .mobile-menu::before {
    width: 130px;
    height: 100px;
  }
  .mobile-menu::after {
    width: 130px;
    height: 100px;
    bottom: 0;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .nav-list {
    font-size: 14px;
    gap: 12px;
  }
  .site-logo {
    width: 150px;
  }
  .l-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
  .l-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
  .sidebar {
    padding-left: 10px;
    width: 220px;
  }
  .sidebar .difficulty-title {
    padding: 12px 15px 8px;
    font-size: 18px;
  }
  .sidebar .difficulty-description {
    padding: 0 15px 12px;
    font-size: 13px;
  }
  .sidebar .category-list {
    padding: 12px 15px;
    gap: 10px;
  }
  .sidebar .category-list a {
    font-size: 16px;
  }
  .sidebar .category-list .category-icon {
    width: 20px;
    height: 20px;
  }
  .sidebar .category-list .subcategory-list {
    padding-left: 30px;
  }
  .footer-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-buttons > * {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
@media (min-width: 1200px) {
  .l-grid--4col {
    grid-template-columns: repeat(4, 1fr);
  }
  .l-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
  .l-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }
}
.btn {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 9999px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background-color: #FCD476;
  color: #333333;
}
.btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}
.btn--primary {
  background-color: #EE87A8;
  color: #FFFFFF;
}
.btn--secondary {
  background-color: #F6AE6B;
  color: #FFFFFF;
}
.btn--large {
  padding: 18px 48px;
  font-size: 18px;
}
.btn--small {
  padding: 4px 18px;
  font-size: 14px;
}

.btn-login,
.btn-register,
.btn-more {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 42px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.03em;
  color: #333333;
  background: #FCD476;
  box-shadow: 0px 4px 4px rgba(156, 156, 156, 0.2);
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.btn-login:hover,
.btn-register:hover,
.btn-more:hover {
  opacity: 0.8;
}

.btn-more {
  width: 180px;
  height: 50px;
  line-height: 26px;
}

.btn-more-sp {
  display: none;
}

.btn-download {
  padding: 43px 48px;
  background: #FCD067;
  border: 3px solid #FFFFFF;
  box-shadow: 0px 4px 4px #E7E7E7;
  border-radius: 24px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  color: #333333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: auto;
  text-align: left;
}
.btn-download .download-icon {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

.btn-register-small {
  padding: 16px 73px;
  background: #FCD067;
  box-shadow: 0px 4px 4px #CEDAE9;
  border-radius: 12px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  letter-spacing: 0.03em;
  color: #333333;
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
  position: relative;
}
.btn-register-small .button-decoration {
  position: absolute;
  top: -13px;
  right: 27px;
  width: 34px;
  height: auto;
}
.btn-register-small:hover {
  opacity: 0.8;
}

.btn-footer {
  background-color: transparent;
  padding: 8px 18px;
  border-radius: 8px;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  background-color: #666666;
  color: #FFFFFF;
}
.badge-new {
  background-color: #FCD476;
  color: #333333;
  font-weight: 700;
}
.badge-difficulty {
  padding: 4px 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 15px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  background: #EE87A8;
  border-radius: 4px;
  width: 100%;
  text-align: center;
  margin: 0 0 8px !important;
}
.badge-category {
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1px solid #EE87A8;
  border-radius: 4px;
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: #333333;
}

.difficulty-beginner,
.badge.difficulty-beginner {
  background-color: #EE87A8;
  color: #FFFFFF;
}

.difficulty-intermediate,
.badge.difficulty-intermediate {
  background-color: #F6AE6B;
  color: #FFFFFF;
}

.difficulty-advanced,
.badge.difficulty-advanced {
  background-color: #95B7E1;
  color: #FFFFFF;
}

.difficulty-beginner ~ .badge-category,
.kyozai-card.difficulty-beginner .badge-category {
  border-color: #EE87A8;
}

.difficulty-intermediate ~ .badge-category,
.kyozai-card.difficulty-intermediate .badge-category {
  border-color: #F6AE6B;
}

.difficulty-advanced ~ .badge-category,
.kyozai-card.difficulty-advanced .badge-category {
  border-color: #95B7E1;
}

.kyozai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 64px;
  column-gap: 3.5%;
}

.kyozai-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  filter: drop-shadow(3px 3px 3px #E7E7E7);
  transition: all 0.3s ease;
  position: relative;
}
.kyozai-card:hover {
  transform: translateY(-4px);
  filter: drop-shadow(3px 3px 6px #D0D0D0);
}
.kyozai-card .badge-new {
  position: absolute;
  z-index: 10;
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: #333333;
  padding: 12px 10px;
  background: #FCD476;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.kyozai-thumbnail {
  width: 100%;
  aspect-ratio: 22/25;
  background-color: #D9F2E7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
}
.kyozai-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kyozai-card.difficulty-beginner .kyozai-thumbnail {
  background-color: #FFF0F5;
}

.kyozai-card.difficulty-intermediate .kyozai-thumbnail {
  background-color: #FAEFE4;
}

.kyozai-card.difficulty-advanced .kyozai-thumbnail {
  background-color: #D8EEF6;
}

.kyozai-info {
  padding: 18px;
}
.kyozai-info .badge {
  margin-right: 4px;
  margin-bottom: 8px;
}
.kyozai-info .badge-category {
  font-size: 14px;
}

.kyozai-title {
  font-family: "UD Digi Kyokasho NP", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  color: #333333;
  margin-top: 8px;
}

.breadcrumb {
  padding: 18px 0 18px 20px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  color: #333333;
}
.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb-list li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  background-image: url("images/icons/icon-breadcrumb-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.breadcrumb-list a {
  color: #333333;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb-list a .home-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}
.breadcrumb-list a:hover {
  color: #333333;
  opacity: 0.7;
}

.pagination {
  margin-top: 80px;
}

.pagination-list {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.pagination-list a,
.pagination-list .pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #FCD476;
  background-color: #FFFFFF;
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: #333333;
  transition: all 0.3s ease;
}
.pagination-list .pagination-ellipsis {
  border: none;
}
.pagination-list .pagination-prev img,
.pagination-list .pagination-next img {
  width: 6px;
  height: 12px;
  display: block;
}
.pagination-list a:hover {
  background-color: rgb(253.0928571429, 227.6642857143, 167.9071428571);
  opacity: 1;
}
.pagination-list .pagination-number.active {
  color: #FFFFFF;
  background-color: #FCD476;
  font-weight: 700;
}

.form-container {
  max-width: 800px;
  margin: 64px auto;
}

.form-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=password],
.form-group input[type=month],
.form-group textarea {
  width: 100%;
  padding: 18px;
  border: 1px solid #999999;
  border-radius: 8px;
  font-size: 16px;
}
.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group input[type=password]:focus,
.form-group input[type=month]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #EE87A8;
}

.form-link {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
}
.form-link a {
  color: #EE87A8;
}

.section-divider {
  display: none;
  width: 100%;
  height: 8px;
  border: none;
  background: linear-gradient(90deg, #FFF0F5 0%, #F1F4E1 35%, #DDF2E6 70.19%, #E4F2F2 100%);
}

.category-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 24px;
  border-radius: 12px;
  background-color: #FFFFFF;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}
.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.category-btn.category-beginner {
  border-color: rgb(244.3284671533, 179.6715328467, 200.3868613139);
  background-color: #FFF0F5;
}
.category-btn.category-intermediate {
  border-color: rgb(248.923566879, 200.3121019108, 155.076433121);
  background-color: #FAEFE4;
}
.category-btn.category-advanced {
  border-color: rgb(198.2781954887, 229.7218045113, 216.7744360902);
  background-color: #D9F2E7;
}
.category-btn .text {
  font-weight: 500;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}
.modal .modal-content {
  position: relative;
  z-index: 10000;
  max-width: 90%;
  max-height: 90%;
  padding: 24px;
}
.modal .modal-image-wrapper {
  position: relative;
  display: inline-block;
}
.modal .modal-image {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.modal .watermark-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 60px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.15);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 10001;
  letter-spacing: 0.2em;
}
@media (max-width: 767px) {
  .modal .watermark-modal {
    font-size: 70px;
  }
}
.modal .modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 40px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: opacity 0.3s ease;
}
.modal .modal-close:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .kyozai-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 42px;
    column-gap: 6.28%;
  }
  .kyozai-info {
    padding: 16px 10px;
  }
  .kyozai-info .badge-category {
    padding: 5px;
  }
  .kyozai-thumbnail {
    padding: 16px 10px;
  }
  .category-buttons {
    grid-template-columns: 1fr;
  }
  .btn-more-pc {
    display: none;
  }
  .btn-more-sp {
    display: flex;
    margin: 48px auto 0;
  }
  .news-section .btn-more-sp {
    margin: 32px auto 0;
  }
  .section-divider {
    display: block;
  }
  .breadcrumb {
    width: 90%;
    margin: 32px auto 48px;
    padding: 0;
  }
  .breadcrumb .breadcrumb-list {
    font-size: 15px;
  }
  .form-container {
    padding: 0;
    margin: 0;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .kyozai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  .btn-more-sp {
    display: none;
  }
  .btn-login,
  .btn-register {
    width: 130px;
    height: 38px;
    font-size: 16px;
  }
}
@media (min-width: 1200px) {
  .category-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hero {
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-illustration-left,
.hero-illustration-right {
  flex-shrink: 0;
}
.hero-illustration-left img,
.hero-illustration-right img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-illustration-left {
  animation: float 3s ease-in-out infinite;
}

.hero-illustration-right {
  animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-catch {
  margin-bottom: 24px;
}
.hero-catch img {
  max-width: 324px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 48px;
  position: relative;
}
.hero-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 428px;
  height: 428px;
  border-radius: 50%;
  background: #fff;
  z-index: -1;
  filter: blur(50px);
}
.hero-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.13em;
  color: #333333;
  margin-bottom: 8px;
}

.hero-description {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.07em;
  color: #333333;
}

.hero-illustration {
  margin-top: 40px;
}

.news-section {
  margin-top: 0;
  margin-bottom: 96px;
}

.news-item {
  display: flex;
  gap: 24px;
  padding: 32px 34px;
  border-bottom: 1px dashed #A3D6C1;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item time {
  flex-shrink: 0;
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 16px;
  color: #333333;
}
.news-item span {
  flex: 1;
  font-family: "UD Digi Kyokasho NP", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #333333;
  transition: color 0.2s ease;
}

.new-kyozai-section {
  margin-bottom: 100px;
}
.new-kyozai-section .section-header {
  margin-bottom: 38px;
}

.category-search-section {
  margin-bottom: 0;
}
.category-search-section .section-header {
  margin-bottom: 38px;
}

.category-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 832px;
  margin: 0 auto;
}

.category-group-items {
  display: flex;
  flex-wrap: wrap;
  row-gap: 26px;
  column-gap: 3.125%;
}

.category-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 25px;
  width: 31.25%;
  background: #FFF0F5;
  border: 3px solid #EE87A8;
  box-shadow: 0px 4px 4px rgba(156, 156, 156, 0.2);
  border-radius: 16px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: #333333;
  transition: all 0.3s ease;
}
.category-btn .icon {
  width: 31.25px;
  height: 31.25px;
  margin: 0;
  display: block;
  flex-shrink: 0;
}
.category-btn .text {
  flex: 1;
}
.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
  .hero {
    padding: 24px 0;
  }
  .hero-wrapper {
    flex-direction: column;
    gap: 0;
  }
  .hero-illustration-left {
    width: 100%;
    order: 1;
  }
  .hero-illustration-left img {
    content: url("images/illustrations/hero-illustration-left-sp.png");
    width: 88.7%;
    margin: 0 auto;
  }
  .hero-content {
    order: 2;
  }
  .hero-catch {
    margin-bottom: 4px;
  }
  .hero-catch img {
    max-width: 50%;
  }
  .hero-illustration-right {
    width: 100%;
    order: 3;
  }
  .hero-illustration-right img {
    content: url("images/illustrations/hero-illustration-right-sp.png");
    width: 79%;
    margin: 0 auto;
  }
  .hero-logo {
    margin-bottom: 24px;
  }
  .hero-logo img {
    width: 77%;
  }
  .hero-logo::before {
    width: 164px;
    height: 164px;
  }
  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .news-section {
    margin-bottom: 56px;
  }
  .new-kyozai-section {
    margin: 56px 0;
  }
  .new-kyozai-section .section-header {
    margin-bottom: 48px;
  }
  .category-search-section {
    margin: 56px 0 0;
  }
  .category-search-section .section-header {
    margin-bottom: 48px;
  }
  .news-item {
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px;
  }
  .category-group-items {
    flex-direction: column;
  }
  .category-btn {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    padding: 24px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .l-2col {
    gap: 20px;
  }
  .l-2col__main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-illustration-left img,
  .hero-illustration-right img {
    max-width: 200px;
  }
  .hero-logo::before {
    width: 300px;
    height: 300px;
  }
  .hero-logo img {
    max-width: 300px;
  }
  .hero-content {
    margin: 0;
  }
  .hero-content .hero-catch img {
    max-width: 250px;
  }
  .hero-content .hero-subtitle {
    font-size: 20px;
  }
  .hero-content .hero-description {
    font-size: 14px;
  }
  .category-btn {
    width: 48.4375%;
  }
}
.search-filter-area {
  margin-bottom: 40px;
  border-bottom: 2px solid #D2D2D2;
}
.search-filter-area .search-result-and-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.search-filter-area .search-result {
  background-color: #FAF8DB;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: #333333;
}
.search-filter-area .search-result .count {
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #A3D6C1;
  margin-right: 4px;
}
.search-filter-area .filter-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}
.search-filter-area .filter-controls label {
  font-weight: 500;
}
.search-filter-area .filter-controls .sort-select {
  padding: 8px 18px;
  border: 1px solid #999999;
  border-radius: 8px;
  background-color: #FFFFFF;
  cursor: pointer;
}
.search-filter-area .filter-controls .sort-select:focus {
  outline: none;
  border-color: #EE87A8;
}
.search-filter-area .difficulty-filter {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
  position: relative;
}
.search-filter-area .difficulty-filter .filter-content {
  background-color: #FAF8DB;
  padding: 27px;
  border-radius: 8px;
}
.search-filter-area .difficulty-filter .filter-label {
  display: flex;
  align-items: center;
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: #333333;
  margin-bottom: 16px;
}
.search-filter-area .difficulty-filter .filter-label .check-icon {
  width: 27.65px;
  height: auto;
  margin-right: 8px;
}
.search-filter-area .difficulty-filter .filter-buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  padding: 8px 0;
  border: 2px solid #999999;
  border-radius: 9999px;
  background-color: #FFFFFF;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  color: #333333;
  transition: all 0.3s ease;
  cursor: pointer;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn .star-icon {
  width: 17px;
  height: auto;
  margin-right: 2px;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn:hover {
  opacity: 0.8;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=all] {
  border-color: #A3D6C1;
  color: #333333;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=all].active {
  background-color: #A3D6C1;
  color: #FFFFFF;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=all].active .star-icon {
  filter: brightness(0) invert(1);
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=all]:hover:not(.active) {
  background-color: #D9F2E7;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=beginner] {
  border-color: #EE87A8;
  background-color: #FFF0F5;
  color: #333333;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=beginner].active {
  background-color: #EE87A8;
  color: #FFFFFF;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=beginner].active .star-icon {
  filter: brightness(0) invert(1);
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=beginner]:hover:not(.active) {
  background-color: #FFF0F5;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=intermediate] {
  border-color: #F6AE6B;
  background-color: #FAEFE4;
  color: #333333;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=intermediate].active {
  background-color: #F6AE6B;
  color: #FFFFFF;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=intermediate].active .star-icon {
  filter: brightness(0) invert(1);
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=intermediate]:hover:not(.active) {
  background-color: #FAEFE4;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=advanced] {
  border-color: #95B7E1;
  background-color: #D8EEF6;
  color: #333333;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=advanced].active {
  background-color: #95B7E1;
  color: #FFFFFF;
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=advanced].active .star-icon {
  filter: brightness(0) invert(1);
}
.search-filter-area .difficulty-filter .filter-buttons .filter-btn[data-difficulty=advanced]:hover:not(.active) {
  background-color: #D8EEF6;
}
.search-filter-area .difficulty-filter .filter-illustration {
  flex-shrink: 0;
  margin-bottom: -100px;
  margin-right: 35px;
}
.search-filter-area .difficulty-filter .filter-illustration img {
  display: block;
  width: 230px;
  height: auto;
}
.search-filter-area .active-filters {
  border-top: 2px solid #D2D2D2;
  padding-top: 64px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.search-filter-area .active-filters .active-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 20px 12px;
  background-color: #FFF0F5;
  border: 2px solid #EE87A8;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  color: #333333;
}
.search-filter-area .active-filters .active-filter .star-icon {
  width: 14px;
  height: auto;
  vertical-align: middle;
  margin-right: 2px;
}
.search-filter-area .active-filters .active-filter.difficulty-beginner {
  background-color: #FFF0F5;
  border-color: #EE87A8;
}
.search-filter-area .active-filters .active-filter.difficulty-intermediate {
  background-color: #FAEFE4;
  border-color: #F6AE6B;
}
.search-filter-area .active-filters .active-filter.difficulty-advanced {
  background-color: #D8EEF6;
  border-color: #95B7E1;
}
.search-filter-area .active-filters .clear-all-filters {
  padding: 8px 0;
  border-bottom: 1px solid #999999;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #333333;
  cursor: pointer;
  transition: all 0.2s ease;
}
.search-filter-area .active-filters .clear-all-filters:hover {
  border-color: #EE87A8;
  color: #EE87A8;
}

.search-filter-area.sp {
  display: none;
}
.search-filter-area.sp .search-result-and-sort,
.search-filter-area.sp .difficulty-filter {
  display: none;
}

@media (max-width: 767px) {
  .search-filter-area.pc {
    display: none;
  }
  .search-filter-area.pc .search-result-and-sort,
  .search-filter-area.pc .difficulty-filter {
    display: none;
  }
  .search-filter-area .active-filters {
    border-top: none;
    padding-top: 10px;
    flex-direction: column;
    align-items: center;
  }
  .search-filter-area .active-filters .active-filter {
    padding: 10px 60px 12px;
  }
  .search-filter-area .active-filters .active-filter .star-icon {
    width: 17px;
  }
  .search-filter-area.sp {
    display: block;
    width: 90%;
    padding: 24px 16px;
    margin: 40px auto 94px;
    background-color: #FAF8DB;
  }
  .search-filter-area.sp .difficulty-filter {
    display: block;
  }
  .search-filter-area.sp .search-result-and-sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #A3D6C1;
    padding-bottom: 16px;
    margin-bottom: 24px;
  }
  .search-filter-area.sp .search-result-and-sort .search-result {
    background-color: transparent;
    padding: 0;
  }
  .search-filter-area.sp .search-result-and-sort .search-result p {
    display: flex;
    align-items: center;
    line-height: 120%;
  }
  .search-filter-area.sp .difficulty-filter {
    margin-bottom: 0;
  }
  .search-filter-area.sp .difficulty-filter .filter-content {
    padding: 0;
    background-color: transparent;
  }
  .search-filter-area.sp .difficulty-filter .filter-label {
    justify-content: center;
    margin-bottom: 24px;
    font-size: 18px;
  }
  .search-filter-area.sp .difficulty-filter .filter-label .check-icon {
    width: 20.74px;
  }
  .search-filter-area.sp .difficulty-filter .filter-illustration {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    transform: translateY(calc(100% + 40px));
  }
  .search-filter-area.sp .difficulty-filter .filter-illustration img {
    width: 170px;
  }
  .search-filter-area.sp .filter-buttons {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: space-around;
    gap: 24px 0;
  }
  .pagination-list {
    gap: 10px;
  }
  .pagination-list a,
  .pagination-list .pagination-ellipsis {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .search-filter-area .difficulty-filter .filter-illustration {
    margin-right: 0;
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(100%);
  }
  .search-filter-area .difficulty-filter .filter-illustration img {
    width: 150px;
  }
}
/* ========================================
   カテゴリページ専用スタイル
   ======================================== */
.tax-kyozai_category .search-filter-area.sp {
  margin: 40px auto;
}
.tax-kyozai_category .search-filter-area.sp .search-result-and-sort {
  margin-bottom: 0;
}

.kyozai-header {
  padding: 40px 0 0;
}
.kyozai-header .kyozai-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-left: 20px;
}
.kyozai-header .kyozai-header-content .kyozai-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: #333333;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.kyozai-header .kyozai-header-content .kyozai-title .icon {
  font-size: 28px;
}
.kyozai-header .kyozai-header-content .kyozai-title .title-icon {
  width: 52px;
  height: auto;
}
.kyozai-header .kyozai-header-content .kyozai-illustration {
  width: 332px;
}
.kyozai-header .kyozai-header-content .kyozai-illustration img {
  max-width: 100%;
  height: auto;
  display: block;
}

.kyozai-meta-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
}
.kyozai-meta-wrapper .kyozai-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.kyozai-meta-wrapper .kyozai-meta .badge-category {
  font-size: 20px;
}
.kyozai-meta-wrapper .kyozai-meta .badge-categories {
  display: contents;
}
.kyozai-meta-wrapper .kyozai-meta .badge-difficulty {
  width: auto;
  padding: 18px 44px;
  margin: 0 !important;
  border: 2px solid;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 20px;
  letter-spacing: 0.03em;
  color: #333333;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.kyozai-meta-wrapper .kyozai-meta .badge-difficulty .star-icon {
  display: block;
}
.kyozai-meta-wrapper .kyozai-meta .badge-difficulty.difficulty-beginner {
  border-color: #EE87A8;
  background-color: #FFF0F5;
}
.kyozai-meta-wrapper .kyozai-meta .badge-difficulty.difficulty-intermediate {
  border-color: #F6AE6B;
  background-color: #FAEFE4;
}
.kyozai-meta-wrapper .kyozai-meta .badge-difficulty.difficulty-advanced {
  border-color: #95B7E1;
  background-color: #D8EEF6;
}
.kyozai-meta-wrapper .kyozai-date {
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  text-align: right;
  color: #333333;
}

.kyozai-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.kyozai-content .kyozai-preview {
  background-color: inherit;
}
.kyozai-content .kyozai-preview .preview-image {
  padding: 50px 40px;
  background-color: #FFF0F5;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 32px;
}
.kyozai-content .kyozai-preview .preview-image .preview-link {
  display: block;
  cursor: pointer;
  transition: opacity 0.3s ease;
  position: relative;
  aspect-ratio: 468/555;
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.kyozai-content .kyozai-preview .preview-image .preview-link:hover {
  opacity: 0.8;
}
.kyozai-content .kyozai-preview .preview-image .watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 60px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 10;
  letter-spacing: 0.2em;
}
.kyozai-content .kyozai-preview.difficulty-beginner .preview-image {
  background-color: #FFF0F5;
}
.kyozai-content .kyozai-preview.difficulty-intermediate .preview-image {
  background-color: #FAEFE4;
}
.kyozai-content .kyozai-preview.difficulty-advanced .preview-image {
  background-color: #D8EEF6;
}
.kyozai-content .kyozai-preview .preview-note {
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: #333333;
  text-align: center;
  margin-top: 32px;
}
.kyozai-content .kyozai-info-boxes {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.kyozai-content .kyozai-info-boxes .info-box {
  padding: 24px;
  background-color: #FAF8DB;
  border: 2px solid #FCD067;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  margin: 0;
}
.kyozai-content .kyozai-info-boxes .info-box .info-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #333333;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  background-color: #FFFFFF;
  border-radius: 8px 8px 0 0;
  padding: 8px 0;
}
.kyozai-content .kyozai-info-boxes .info-box .info-title .info-icon {
  height: auto;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}
.kyozai-content .kyozai-info-boxes .info-box .info-title img[src*=icon-search] {
  width: 38px;
}
.kyozai-content .kyozai-info-boxes .info-box .info-title img[src*=icon-book] {
  width: 56px;
}
.kyozai-content .kyozai-info-boxes .info-box .info-title img[src*=icon-lightbulb] {
  width: 39px;
}
.kyozai-content .kyozai-info-boxes .info-box .info-content {
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #333333;
}

.download-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 64px;
}
.download-section .download-box {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 2px solid;
}
.download-section .download-box.member-box {
  padding: 48px 0 16px;
  background: #FAF8DB;
  border: 3px solid #FCD067;
  border-radius: 16px;
}
.download-section .download-box.member-box .download-content {
  margin-bottom: 0;
}
.download-section .download-box.visitor-box {
  position: relative;
  background: #D8EEF6;
  border-color: #95B7E1;
  padding: 40px;
}
.download-section .download-box.visitor-box .download-header {
  margin-bottom: 0;
}
.download-section .download-box.visitor-box .visitor-illustration {
  position: absolute;
  top: -16px;
  right: 40px;
  width: 146px;
  height: auto;
}
.download-section .download-box.visitor-box .btn-download {
  padding: 32px 40px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: #333333;
}
.download-section .download-box.guest-box {
  position: relative;
  background: #D8EEF6;
  border-color: #95B7E1;
  padding: 40px;
}
.download-section .download-box.guest-box .download-header {
  margin-bottom: 0;
}
.download-section .download-box.guest-box .visitor-illustration {
  position: absolute;
  top: -16px;
  right: 40px;
  width: 146px;
  height: auto;
}
.download-section .download-box.guest-box .btn-download {
  padding: 32px 40px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: #333333;
}
.download-section .download-box.guest-box .register-prompt {
  margin: 40px 0;
}
.download-section .download-box .download-header {
  margin-bottom: 24px;
  text-align: center;
}
.download-section .download-box .download-header .download-message,
.download-section .download-box .download-header .download-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #333333;
  margin: 0;
}
.download-section .download-box .download-content {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}
.download-section .download-box .download-content .download-illustration {
  flex-shrink: 0;
}
.download-section .download-box .download-content .download-illustration img {
  display: block;
  max-width: 100%;
  height: auto;
}
.download-section .download-box .download-content .btn-download {
  width: auto;
}
.download-section .download-box .download-limit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 49px;
  background: #FFFFFF;
  border: 2px dashed #95B7E1;
  border-radius: 12px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.download-section .download-box .download-limit .limit-info {
  text-align: left;
}
.download-section .download-box .download-limit .limit-label {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.6px;
  color: #333333;
  margin-bottom: 24px;
}
.download-section .download-box .download-limit .limit-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.download-section .download-box .download-limit .limit-counter .counter-dots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.download-section .download-box .download-limit .limit-counter .counter-dots__row {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.download-section .download-box .download-limit .limit-counter .counter-dots .dot {
  width: 16px;
  height: 16px;
  background: #D2D2D2;
  box-shadow: 0px 2px 2px rgba(197, 197, 197, 0.2);
  border-radius: 50%;
}
.download-section .download-box .download-limit .limit-counter .counter-dots .dot.active {
  background: #95B7E1;
}
.download-section .download-box .download-limit .limit-counter .counter-dots .dot.inactive {
  background: #D2D2D2;
}
.download-section .download-box .download-limit .limit-counter .counter-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.download-section .download-box .download-limit .limit-counter .counter-text .count-number {
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: #95B7E1;
}
.download-section .download-box .download-limit .limit-counter .counter-text .count-unit {
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.13em;
  color: #333333;
}
.download-section .download-box .download-limit .limit-counter .counter-text .count-unit .unit-text {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 23px;
  line-height: 1;
  color: #333333;
  letter-spacing: normal;
}
.download-section .download-box .register-prompt .prompt-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}
.download-section .download-box .register-prompt .prompt-action .prompt-note {
  font-size: 14px;
  color: #666666;
}
.download-section .download-box .register-prompt .prompt-action .prompt-note .prompt-message-img {
  width: 321px;
  height: auto;
  display: inline-block;
  margin-bottom: 8px;
}
.download-section .download-box .register-prompt .prompt-action .prompt-note .prompt-text {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #333333;
}

.related-kyozai-section {
  margin-bottom: 80px;
}
.related-kyozai-section .section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 0 8px;
  border-bottom: 2px solid #D2D2D2;
  margin-bottom: 40px;
}
.related-kyozai-section .section-title .icon {
  font-size: 28px;
}
.related-kyozai-section .kyozai-grid {
  grid-template-columns: repeat(4, 1fr);
}

.copyright-notice {
  margin-bottom: 0;
}
.copyright-notice .notice-title {
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 16px;
  color: #333333;
  margin-bottom: 18px;
}
.copyright-notice .notice-content {
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #333333;
}
.copyright-notice .notice-content a {
  color: #EE87A8;
  text-decoration: underline;
}
.copyright-notice .notice-content a:hover {
  opacity: 0.7;
}
.copyright-notice .terms-link {
  font-family: "UD Digi Kyokasho NP Regular", "UDデジタル教科書体", "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 16px;
  color: #333333;
  margin-top: 18px;
}
.copyright-notice .terms-link a {
  color: #333333;
  text-decoration: none;
}
.copyright-notice .terms-link a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .kyozai-header {
    padding: 0;
  }
  .kyozai-header .kyozai-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-left: 0;
  }
  .kyozai-header .kyozai-header-content .kyozai-title {
    font-size: 24px;
    width: 90%;
    margin: 0 auto;
    line-height: 1.5;
    align-items: flex-start;
  }
  .kyozai-header .kyozai-header-content .kyozai-title .title-icon {
    width: 32px;
  }
  .kyozai-header .kyozai-header-content .kyozai-illustration {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .kyozai-header .kyozai-header-content .kyozai-illustration img {
    width: 60%;
    position: relative;
    bottom: -20px;
  }
  .kyozai-meta-wrapper {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 56px;
  }
  .kyozai-meta-wrapper .kyozai-meta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 32px;
  }
  .kyozai-meta-wrapper .kyozai-meta .badge-difficulty {
    width: auto;
  }
  .kyozai-meta-wrapper .kyozai-meta .badge-categories {
    display: flex;
    gap: 16px;
    justify-content: center;
  }
  .kyozai-meta-wrapper .kyozai-date {
    text-align: center;
  }
  .kyozai-content {
    gap: 56px;
    margin-bottom: 56px;
  }
  .kyozai-content .kyozai-preview {
    width: 83%;
    margin: 0 auto;
  }
  .kyozai-content .kyozai-preview .preview-image {
    padding: 24px;
    border-radius: 16px;
  }
  .kyozai-content .kyozai-preview .preview-image .watermark {
    font-size: 55px;
  }
  .kyozai-content .kyozai-preview .preview-note {
    margin-top: 24px;
    line-height: 1.25;
  }
  .kyozai-content .kyozai-info-boxes .info-box .info-title {
    font-size: 18px;
  }
  .btn-download {
    font-size: 20px;
    padding: 24px 16px;
    gap: 16px;
  }
  .download-section {
    margin-top: 0;
    margin-bottom: 56px;
    gap: 56px;
  }
  .download-section .download-box .download-content {
    flex-direction: column;
    gap: 0;
  }
  .download-section .download-box .download-content .btn-download {
    width: 100%;
    line-height: 1.2;
  }
  .download-section .download-box .download-limit {
    flex-direction: column;
    padding: 32px 16px;
    margin-top: 8px;
    width: 100%;
  }
  .download-section .download-box.member-box {
    padding: 48px 20px;
  }
  .download-section .download-box.visitor-box {
    padding: 48px 20px;
  }
  .download-section .download-box.visitor-box .download-header {
    margin-bottom: 20px;
  }
  .download-section .download-box.visitor-box .download-header .download-title {
    line-height: 1.2;
  }
  .download-section .download-box.visitor-box .btn-download {
    padding: 24px 16px;
    width: 100%;
    font-size: 20px;
    line-height: 1.2;
  }
  .download-section .download-box.visitor-box .visitor-illustration {
    position: static;
  }
  .download-section .download-box.guest-box {
    padding: 48px 20px;
  }
  .download-section .download-box.guest-box .download-header {
    margin-bottom: 20px;
  }
  .download-section .download-box.guest-box .download-header .download-title {
    line-height: 1.2;
  }
  .download-section .download-box.guest-box .btn-download {
    padding: 24px 16px;
    width: 100%;
    font-size: 20px;
    line-height: 1.2;
  }
  .download-section .download-box.guest-box .visitor-illustration {
    position: static;
  }
  .download-section .download-box.guest-box .register-prompt {
    margin: 8px 0 40px;
  }
  .download-section .download-box .register-prompt .prompt-action {
    gap: 24px;
  }
  .download-section .download-box .register-prompt .prompt-action .btn-register-small {
    width: 100%;
    padding: 12px 0;
    font-size: 22px;
  }
  .download-section .download-box .register-prompt .prompt-action .btn-register-small .button-decoration {
    width: 28px;
  }
  .kyozai-content {
    grid-template-columns: 1fr;
  }
  .related-kyozai-section {
    margin: 56px 0;
  }
  .related-kyozai-section .kyozai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .copyright-notice {
    margin-top: 56px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .kyozai-content {
    grid-template-columns: 1fr;
  }
  .kyozai-meta-wrapper {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 56px;
  }
  .kyozai-meta-wrapper .kyozai-meta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 32px;
  }
  .kyozai-meta-wrapper .kyozai-meta .badge-difficulty {
    width: auto;
  }
  .kyozai-meta-wrapper .kyozai-meta .badge-categories {
    display: flex;
    gap: 16px;
    justify-content: center;
  }
  .kyozai-meta-wrapper .kyozai-date {
    text-align: center;
  }
  .related-kyozai-section .kyozai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-section {
    margin-top: 0;
    margin-bottom: 56px;
    gap: 56px;
  }
  .download-section .download-box .download-content {
    flex-direction: column;
    gap: 0;
  }
  .download-section .download-box .download-content .btn-download {
    width: 100%;
    line-height: 1.2;
  }
  .download-section .download-box .download-limit {
    flex-direction: column;
    padding: 32px 16px;
    margin-top: 8px;
    width: 100%;
  }
  .download-section .download-box.member-box {
    padding: 48px 20px;
  }
  .download-section .download-box.visitor-box {
    padding: 48px 20px;
  }
  .download-section .download-box.visitor-box .download-header {
    margin-bottom: 20px;
  }
  .download-section .download-box.visitor-box .download-header .download-title {
    line-height: 1.2;
  }
  .download-section .download-box.visitor-box .btn-download {
    padding: 24px 16px;
    width: 100%;
    font-size: 20px;
    line-height: 1.2;
  }
  .download-section .download-box.visitor-box .visitor-illustration {
    position: static;
  }
  .download-section .download-box.guest-box {
    padding: 48px 20px;
  }
  .download-section .download-box.guest-box .download-header {
    margin-bottom: 20px;
  }
  .download-section .download-box.guest-box .download-header .download-title {
    line-height: 1.2;
  }
  .download-section .download-box.guest-box .btn-download {
    padding: 24px 16px;
    width: 100%;
    font-size: 20px;
    line-height: 1.2;
  }
  .download-section .download-box.guest-box .visitor-illustration {
    position: static;
  }
  .download-section .download-box.guest-box .register-prompt {
    margin: 8px 0 40px;
  }
  .download-section .download-box .register-prompt .prompt-action {
    gap: 24px;
  }
  .download-section .download-box .register-prompt .prompt-action .btn-register-small {
    width: 100%;
    padding: 12px 0;
    font-size: 22px;
  }
  .download-section .download-box .register-prompt .prompt-action .btn-register-small .button-decoration {
    width: 28px;
  }
}
.mypage-content {
  max-width: 900px;
  margin: 0 auto;
}

.mypage-section {
  margin-bottom: 64px;
}
.mypage-section .kyozai-grid {
  margin-top: 40px;
}

.info-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.info-list {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px 24px;
  margin-bottom: 40px;
}
.info-list dt {
  font-weight: 700;
  color: #666666;
}
.info-list dd {
  color: #333333;
}

.download-history {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.history-item {
  display: flex;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid #D9F2E7;
}
.history-item:last-child {
  border-bottom: none;
}
.history-item time {
  flex-shrink: 0;
  color: #666666;
  font-size: 14px;
}
.history-item a {
  flex: 1;
  color: #333333;
  transition: color 0.2s ease;
}
.history-item a:hover {
  color: #EE87A8;
}

.message {
  padding: 18px 24px;
  border-radius: 8px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.message.message-error {
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
  color: #842029;
}
.message.message-success {
  background-color: #d1e7dd;
  border: 1px solid #badbcc;
  color: #0f5132;
}

.form-description {
  text-align: center;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 40px;
}

.form-hint {
  font-size: 14px;
  color: #666666;
  margin-top: 4px;
}

.required {
  color: #EE87A8;
  font-size: 14px;
  font-weight: 700;
  margin-left: 4px;
}

.form-note {
  font-size: 14px;
  color: #666666;
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.checkbox-label input[type=checkbox] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.checkbox-label a {
  color: #EE87A8;
  text-decoration: underline;
}
.checkbox-label a:hover {
  opacity: 0.7;
}

.btn-submit {
  width: 100%;
  margin-top: 24px;
}

.content-section:last-child {
  margin-bottom: 0;
}
.content-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid #EE87A8;
}
.content-section .operator-profile {
  margin-bottom: 24px;
}
.content-section .operator-profile .operator-photo {
  width: 120px;
  height: auto;
  border-radius: 50%;
  margin: 0 0 18px;
  display: block;
}
.content-section .operator-profile .operator-name {
  margin-bottom: 0;
}
.content-section p {
  line-height: 1.8;
  margin-bottom: 18px;
}
.content-section p:last-child {
  margin-bottom: 0;
}
.content-section ul {
  list-style: disc;
  margin-left: 40px;
  line-height: 1.8;
}
.content-section ul li {
  margin-bottom: 8px;
}

.update-date {
  text-align: right;
  font-size: 14px;
  color: #666666;
  margin-top: 40px;
}

@media (max-width: 767px) {
  .info-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .history-item {
    flex-direction: column;
    gap: 4px;
  }
  .content-article .content-section {
    margin: 0 0 56px;
  }
  .content-article .content-section:last-child {
    margin-bottom: 0;
  }
  .content-article .content-section h2 {
    font-size: 20px;
  }
  .mypage-section {
    margin: 0 0 56px;
  }
  .mypage-section:last-child {
    margin-bottom: 0;
  }
  .mypage-section h2 {
    font-size: 20px;
  }
  .mypage-section .info-card, .mypage-section .download-history {
    margin-top: 18px;
    padding: 32px 16px;
  }
  .mypage-section .info-card .history-item, .mypage-section .download-history .history-item {
    padding: 8px 0;
  }
}/*# sourceMappingURL=style.css.map */