* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Roboto, "Noto Sans JP", "Helvetica Neue", sans-serif;
}
:root {
  --contents-bg: #f4f3f1;
  --color-black: #1d1d1f;
  --color-text: #2b2b2b;
  --color-kokugo: #ea5431;
  --color-sugaku: #924898;
  --color-eigo: #14AE67;
  --color-rika: #2870B8;
  --color-shakai: #F6AB00;
  --color-chugaku: #f4a77f;
  --color-koukou: #81ceef;
  --size-text: 16px;
  --size-text-lg: 18px;
  --size-text-sm: 12px;
  --lh-text: 1.7em
}
#container {
  background: var(--contents-bg)
}
footer {
    background: url(/assets/img/topics_lp_ft.png) no-repeat center top/cover #F4F3F1;
}
.pc-br {
  display: none;
}

@media screen and (min-width: 768px) {
  .pc-br {
    display: inline;
  }
}
.sp-br {
  display: none;
}

@media screen and (max-width: 767px) {
  .sp-br {
    display: inline;
  }
}

#contents {
  padding-bottom: 120px;
  width: 100%;
  max-width: 990px;
  margin: 0 auto;
  padding-top: 30px;
  box-sizing: border-box;
}
p {
  font-size: var(--size-text);
  color: var(--color-text);
  font-weight: 500;
  line-height: var(--lh-text)
}
.container_bg {
  background: var(--contents-bg);
  padding: 60px 20px
}
.inner {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 60px
}

.fade-in {
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
  will-change: transform, opacity
}
.fade-left {
  transform: translateX(-40px)
}
.fade-left.is-inview {
  opacity: 1;
  transform: translateX(0)
}
.fade-right {
  transform: translateX(40px)
}
.fade-right.is-inview {
  opacity: 1;
  transform: translateX(0)
}
.fade-up {
  transform: translateY(40px)
}
.fade-up.is-inview {
  opacity: 1;
  transform: translateY(0)
}
.fade-down {
  transform: translateY(-40px)
}
.fade-down.is-inview {
  opacity: 1;
  transform: translateY(0)
}
@media (prefers-reduced-motion:reduce) {
  .fade-in {
    transition: none;
    transform: none;
    opacity: 1
  }
}


.site-header {
  position: relative;
}

.site-header h1 {
  margin: 0;
}

.site-header h1 img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #e91e63;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.site-header__badge span {
  display: block;
  transform: translateY(-4px);
}

.site-header__badge span:first-child {
  font-size: 18px;
}

.site-header__badge span:last-child {
  font-size: 22px;
}

@media screen and (max-width: 767px) {
  .site-header__badge {
    top: 5px;
    left: 10px;
    width: auto;
    height: auto;
    border-radius: 8px;
    padding: 5px 12px;
    border: 2px solid #fff;
    display: inline-block;
    line-height: 1.3;
    font-weight: 500;
  }
  .site-header__badge span {
    transform: translateY(0);
  }

  .site-header__badge span:first-child,
  .site-header__badge span:last-child {
    font-size: 12px;
  }
}

.section-nav {
  width: 100%;
  max-width: 990px;
  margin: 0 auto 20px;
  background: #777;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .12) inset;
  box-sizing: border-box;
}

.section-nav:visited {
  color: #fff;
}

.section-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 8px 10px;
  margin: 0;
  gap: 8px;
  box-sizing: border-box;
}

.section-nav__item {
  flex: 1 0 calc(33.333% - 8px);
  min-width: 0;
  box-sizing: border-box;
}

.section-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 8px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 3px;
  transition: background-color .15s ease, transform .15s ease;
  box-sizing: border-box;
}

.section-nav__link::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  transition: transform .15s ease;
}

.section-nav__link:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.section-nav__link:hover::after {
  transform: translateY(2px);
}

.section-nav__item:nth-child(3n) {
  padding-right: 16px;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .section-nav {
    width: auto;
    margin: 0 20px 16px;
  }

  .section-nav__list {
    padding: 8px;
    gap: 8px;
  }

  .section-nav__item {
    flex: 0 0 calc(50% - 4px);
    padding-right: 0;
  }

  .section-nav__item:nth-child(3n) {
    padding-right: 0;
  }

  .section-nav__link {
    font-size: 14px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    min-height: 44px;
    padding: 10px 6px;
    gap: 6px;
  }
}


.mv {
  background: radial-gradient(1200px 400px at 80% 20%, rgba(255, 192, 203, .18), transparent 60%), linear-gradient(180deg, #fbfbfb 0, #f5f5f5 100%);
  padding: 30px;
  overflow: hidden;
  position: relative;
  border: 1px solid #ccc;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  box-sizing: border-box;
}

.mv__inner {
  width: 100%;
  max-width: 930px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.23fr;
  align-items: center;
  column-gap: 40px;
  position: relative;
  box-sizing: border-box;
}

.mv__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: .4em .8em;
  background: rgba(0, 0, 0, .08);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  color: #444;
}

.mv__title {
  margin: .1em 0 .4em;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--color-black);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  font-feature-settings: "palt";
  letter-spacing: .04em;
}

.mv__lead {
  margin: 0;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.9;
}

.mv__release {
  margin-top: 10px;
  position: relative;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e91e63, #ff4f8b);
  color: #fff;
  font-weight: 800;
  letter-spacing: .12em;
  box-shadow: 0 10px 20px rgba(233, 30, 99, 0.28);
}

.mv__covers {
  position: relative;
  height: 320px;
}

.cover {
  position: absolute;
  width: 140px;
  aspect-ratio: 595 / 841;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18), 0 4px 10px rgba(0, 0, 0, .08);
  transform-origin: 50% 90%;
  will-change: transform;
  animation: afloat 6s ease-in-out infinite;
}

.cover.c1 {
  left: 0;
  top: 75px;
  transform: rotate(-12deg);
  animation-delay: 0s;
  z-index: 1;
}

.cover.c2 {
  left: 78px;
  top: 42px;
  transform: rotate(-6deg);
  animation-delay: .15s;
  z-index: 2;
}

.cover.c3 {
  left: 156px;
  top: 20px;
  transform: rotate(0deg);
  animation-delay: .3s;
  z-index: 3;
}

.cover.c4 {
  left: 234px;
  top: 42px;
  transform: rotate(6deg);
  animation-delay: .45s;
  z-index: 4;
}

.cover.c5 {
  left: 312px;
  top: 75px;
  transform: rotate(12deg);
  animation-delay: .6s;
  z-index: 5;
}

@media screen and (max-width: 767px) {
  .mv {
    margin: 0 20px 16px;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .mv__inner {
    display: block;
    max-width: none;
  }

  .mv__title {
    font-size: 28px;
    line-height: 1.4;
  }

  .mv__lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .mv__release {
    font-size: 14px;
    padding: 8px 18px;
    letter-spacing: .06em;
  }

  .mv__covers {
    height: 220px;
    margin-top: 20px;
    margin-left:20px;
  }

  .cover {
    width: 84px;
  }

  .cover.c1 {
    left: 0;
    top: 55px;
    transform: rotate(-12deg);
  }

  .cover.c2 {
    left: 48px;
    top: 30px;
    transform: rotate(-6deg);
  }

  .cover.c3 {
    left: 96px;
    top: 12px;
    transform: rotate(0deg);
  }

  .cover.c4 {
    left: 144px;
    top: 30px;
    transform: rotate(6deg);
  }

  .cover.c5 {
    left: 192px;
    top: 55px;
    transform: rotate(12deg);
  }
}


.colored-title {
  display: flex;
  justify-content: center;
  gap: 2px;
  font-size: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.colored-title span {
  display: inline-block;
  padding: .5em .7em;
  color: #fff;
  background-color: #848484;
  border-radius: 2px;
}

.colored-title span:nth-child(odd) {
  background-color: #848484;
}

.colored-title span:nth-child(even) {
  background-color: #b2b2b2;
}

@media screen and (max-width: 767px) {
  .colored-title {
    font-size: 18px;
    margin-bottom: 20px;
    gap: 1px;
  }

  .colored-title span {
    padding: .45em .55em;
  }
}


.subject-lead {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
}

.subject-lead__label {
  width: 120px;
  min-width: 120px;
  height: 110px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  box-sizing: border-box;
}

.subject-lead__point {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.subject-lead__subject {
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.subject-lead__text {
  flex: 1;
  min-width: 0;
}

.subject-lead__text p {
  margin: 0;
  color: var(--color-black);
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}

.subject-lead__text p + p {
  margin-top: 2px;
}

/* 色違い */
.subject-lead--kokugo .subject-lead__label {
  background: var(--color-kokugo);
}
.subject-lead--sugaku .subject-lead__label {
  background: var(--color-sugaku);
}
.subject-lead--eigo .subject-lead__label {
  background: var(--color-eigo);
}
.subject-lead--rika .subject-lead__label {
  background: var(--color-rika);
}
.subject-lead--shakai .subject-lead__label {
  background: var(--color-shakai);
}

@media screen and (max-width: 767px) {
  .subject-lead {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 0;
  }

  .subject-lead__label {
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 14px 10px;
  }

  .subject-lead__point {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .subject-lead__subject {
    font-size: 24px;
  }

  .subject-lead__text p {
    font-size: 18px;
    line-height: 1.6;
  }
}


h3 {
  all: unset;
  display: block;
  font-size: 1em;
  margin: 1em 0
}

.subtitle {
  position: relative;
  font-size: var(--size-text-lg);
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 16px;
  padding-bottom: 6px;
  display: block;
  width: 100%
}
.subtitle-mt20 {
  margin-top: 20px;
}
.subtitle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-black);
}

.subtitle02 {
  display: block;
  padding: 10px 15px;
  font-size: var(--size-text-lg);
  font-weight: 700;
  color: var(--color-text);
  background: #EFEFEF;
}
.subtitle-mt40 {
  margin-top: 40px;
}


.pdf-button-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin: 20px 0;
}

.pdf-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 54px;
  padding: 10px 15px;
  background: #ff6b42;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
  text-align: center;
}

.pdf-button-list.pdf-button {
  background: var(--color-kokugo);
}

.pdf-button--sugaku.pdf-button {
  background: var(--color-sugaku);
}

.pdf-button--eigo.pdf-button {
  background: var(--color-eigo);
}

.pdf-button--rika.pdf-button {
  background: var(--color-rika);
}

.pdf-button--shakai.pdf-button {
  background: var(--color-shakai);
}

.pdf-button:hover {
  opacity: 0.8;
  color: #fff;
}

.pdf-button i {
  margin-left: .4em;
}

@media screen and (max-width: 767px) {
  .pdf-button-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 16px 0;
  }

  .pdf-button {
    flex: 0 0 calc(50% - 5px);
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
  }
}


.tbl-general-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tbl-general {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  color: var(--color-black);
}

.tbl-general td,
.tbl-general th {
  border: 1px solid #ccc;
  padding: 8px 10px;
  vertical-align: middle;
  background: #fff;
  box-sizing: border-box;
}

.tbl-general thead th {
  background: #efefef;
  text-align: center;
  font-weight: 700;
}

.tbl-general .center {
  text-align: center;
}

.tbl-general .right {
  text-align: right;
}

.tbl-general .subject {
  background: #fafafa;
  text-align: center;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .tbl-general {
    min-width: 640px;
    font-size: 13px;
  }

  .tbl-general td,
  .tbl-general th {
    padding: 8px;
  }
}


.contact-section {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  margin: 60px auto;
  max-width: 990px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
  box-sizing: border-box;
}

.contact-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.contact-lead {
  font-size: 16px;
  color: #555;
  color: var(--color-text);
  margin-bottom: 32px;
}

.contact-btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #666;
  border-radius: 50px;
  text-decoration: none;
  transition: all .3s ease;
  box-sizing: border-box;
}

.contact-btn:hover {
  background: #444;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
}

.contact-btn:visited {
  color: #fff;
}

.contact-btn i {
  margin-left: .4em;
}

@media screen and (max-width: 767px) {
  .contact-section {
    margin: 30px 20px;
    padding: 40px 16px;
    border-radius: 16px;
  }

  .contact-title {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .contact-lead {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
  }

  .contact-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 16px;
  }
}


/* -------------------------------------------------------
   Cookie使用同意ポップアップ
   
---------------------------------------------------------- */
.cookie-consent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, .85);
    padding: 25px;
    box-sizing: border-box;
    visibility: hidden;
    z-index: 10000;
}

@media only screen and (min-width: 600px) {
    .cookie-inner {
        width: 600px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }
}

.cookie-consent.is-show {
    visibility: visible;
}

.cookie-consent a {
    color: #fff !important;
}

.cookie-agree {
    color: #fff;
    font-size: 16px;
    text-align: center;
    background: dodgerblue;
    padding: 7px 25px;
}

.cookie-agree:hover {
    cursor: pointer;
}

.cookie-close {
    position: absolute;
    top: -32px;
    right: 0;
    font-size: 16px;
    color: #fff;
    background: rgba(0, 0, 0, .70);
    padding: 4px 15px;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
}

.cookie-close:hover {
    cursor: pointer;
}

/* パッと消える */
.cc-hide1 {
    display: none;
}

/* ゆっくり消える */
.cc-hide2 {
    animation: hide 1s linear 0s;
    animation-fill-mode: forwards;
}

@keyframes hide {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media screen and (max-width: 600px) {
    .cookie-consent {
        flex-direction: column;
    }

    .cookie-text {
        margin-bottom: 1em;
    }
}