@charset "UTF-8";

:root {
  --primary-color: #7acad9;
  --primary-white: #f9f9f9;
  --text-darkgray: #4c4d50;
  --text-black: #29292c;
  --title-color: #52aab9;
  --bg-color: #eef1f3;
  --btn-color: #792439;
  --btn-color-hover: #ad3754;
  --color-bluegreen: #006d8b;
  --color-s: #0074be;
  --wrap-margin: 24px 8px;
  --wrap-padding: 16px 8px;
  --description-text: clamp(8px, 0.875rem, 15px);
  --lineheight-text: 1.2;
}

/***********************************************************
 Typography / Utility
 ************************************************************/
article {
  position: relative;
}

.font-shippori-mincho {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-style: normal;
}

.font-sawarabi-mincho {
  font-family: "Sawarabi Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.font-montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-noto-sans {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.c-note {
  font-size: 11px;
  margin: 0;
}

.c-note--red {
  color: red;
}

.c-pillow {
  display: inline-block;
  background-color: var(--primary-white);
  color: var(--title-color);
  padding: 3px 8px;
  width: fit-content;
  font-size: 15px;
  font-weight: 500;
  margin-right: 5px;
  vertical-align: bottom;
  text-align: center;
}

/***********************************************************
 Base
 ************************************************************/

html {
  scroll-behavior: smooth;
  position: relative;
}

body,
.l-body {
  max-width: 2560px;
  margin: 0 auto;
  color: var(--text-darkgray);
  background: var(--bg-color);
}

p {
  line-height: 2;
}

img {
  width: 100%;
}

/***********************************************************
 Layout Components
 ************************************************************/

.l-header {
  width: 100vw;
  position: fixed;
  height: 48px;
  background: var(--bg-color);
  z-index: 1000;
  top: 0;
}

.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto 4%;
  height: 100%;
}

.l-header__logo {
  display: block;
  width: 45%;
  margin: auto;
}

.l-footer {
  height: 100px;
  background-color: var(--title-color);
  color: var(--primary-white);
  position: relative;
  font-weight: 500;
}

.l-footer__copy {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 500;
}

/***********************************************************
 UI Components
 ************************************************************/

.c-hamburger {
  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 100;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.c-hamburger__line {
  position: absolute;
  left: auto;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all 0.4s;
}

.c-hamburger__line:nth-of-type(1) {
  top: 14px;
}

.c-hamburger__line:nth-of-type(2) {
  top: 23px;
}

.c-hamburger__line:nth-of-type(3) {
  top: 32px;
}

.c-hamburger.is-active .c-hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.c-hamburger.is-active .c-hamburger__line:nth-of-type(2) {
  opacity: 0;
}

.c-hamburger.is-active .c-hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.c-btn {
  display: block;
  padding: 20px 10px;
  background-color: var(--btn-color);
  cursor: pointer;
  color: var(--primary-white);
  font-weight: 500;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  max-width: 550px;
  transition: background-color 0.3s;
}

.c-btn:hover {
  background-color: var(--btn-color-hover);
}

.c-btn--secondary {
  background-color: var(--title-color);
}

.c-btn--secondary:hover {
  background-color: var(--primary-color);
}

.c-cta-wrap {
  text-align: center;
  padding: var(--wrap-padding);
}

.c-caution {
  padding: 30px 10px;
  background-color: var(--title-color);
  margin: 0 auto 32px;
}

.c-caution__title {
  display: block;
  margin: 0px auto 25px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  color: var(--primary-white);
}

.c-caution__text {
  font-size: var(--description-text);
  line-height: var(--lineheight-text);
  color: var(--bg-color);
  width: auto;
  margin: 0 auto;
}

/* 共通セクションタイトル（あしらい含む） */
.c-section-title {
  margin: 0 0 40px;
  /* ★上部に固定の余白を持たせる */
  padding-top: 60px;
  /* ★スクロールや上下間隔用の調整余白 */
  text-align: center;
}

.c-section-title__sub {
  display: block;
  position: relative;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-darkgray);
  width: fit-content;
  margin: 0 auto 16px;
}

.c-section-title__sub::before,
.c-section-title__sub::after {
  content: "";
  background-color: var(--text-darkgray);
  height: 30px;
  width: 1px;
  position: absolute;
}

.c-section-title__sub::before {
  left: -20px;
  transform: rotate(-45deg);
}

.c-section-title__sub::after {
  right: -20px;
  transform: rotate(45deg);
}

.c-section-title__main {
  display: block;
  font-family: "Sawarabi Mincho", serif;
  font-size: 25px;
  font-weight: 800;
  text-align: center;
  color: var(--title-color);
}

.c-wave {
  position: absolute;
  top: 0px;
}

.c-wave--primary {
  z-index: -1;
}

.c-wave--secondary {
  z-index: -2;
}

.c-page-top {
  content: "";
  height: 20px;
  width: 20px;
  border-left: solid 5px var(--text-black);
  border-top: solid 5px var(--text-black);
  transform: rotate(45deg);
  position: fixed;
  right: 16px;
  bottom: 100px;
  z-index: 100000;
}

/***********************************************************
 Navigation (SP)
 ************************************************************/

.p-nav-wrapper {
  height: 100%;
}

.p-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: auto;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s;
  z-index: 90;
}

.p-nav.is-active {
  transform: translateX(0);
}

.p-nav__list {
  display: block;
  margin: 0;
  padding: 100px 0 0;
  list-style: none;
}

.p-nav__item {
  width: auto;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  cursor: pointer;
}

.p-nav__item:last-child {
  background-color: var(--btn-color);
}

.p-nav__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-s);
  font-weight: 500;
  height: 100%;
  width: 100%;
  transition: 0.5s;
}

.p-nav__item:last-child .p-nav__link {
  color: var(--primary-white);
}

.p-nav__link span {
  color: var(--text-darkgray);
  font-size: 0.8rem;
  transition: 0.5s;
}

.p-nav__item:last-child .p-nav__link span {
  color: var(--primary-white);
}

.p-nav__item:hover {
  background: var(--color-s);
  transition: 0.5s;
}

.p-nav__item:hover .p-nav__link,
.p-nav__item:hover .p-nav__link span {
  color: var(--primary-white);
}

/***********************************************************
 First View
 ************************************************************/

.p-fv {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
  margin: auto;
  overflow: visible;
  height: fit-content;
}

.p-fv__container {
  width: auto;
  position: relative;
}

.p-fv__content {
  display: block;
  background: white;
  width: fit-content;
  height: auto;
  padding: 20px 5px;
  border-radius: 3px;
  box-shadow: 5px 8px 10px 1px rgba(191, 185, 178, 0.29);
  border: 5px solid var(--primary-color);
  position: relative;
  margin: auto auto 40px;
  z-index: 1;
}

.p-fv__title {
  text-align: center;
}

.p-fv__year {
  display: block;
  margin: 0 auto 5px;
  color: var(--title-color);
  width: 220px;
  height: 40px;
  font-size: 24px;
  letter-spacing: 0px;
  line-height: 1;
}

.p-fv__year-num {
  font-size: 32px;
  font-weight: 600;
}

.p-fv__sub-title {
  display: block;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--text-black);
}

.p-fv__main-title {
  display: block;
  font-size: 76px;
  line-height: 1;
  margin-top: 5px;
  color: var(--text-black);
}

.p-fv__price {
  display: block;
  font-size: 18px;
  margin-top: 30px;
  letter-spacing: 0px;
  line-height: 1;
  color: var(--text-black);
}

.p-fv__price-num {
  font-size: 40px;
  letter-spacing: 0px;
  margin: 0 2px;
}

.p-fv__tax {
  font-size: 15px;
}

.p-fv__badge {
  display: block;
  position: relative;
  text-align: center;
  margin: 12px auto;
  color: var(--primary-color);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 2px;
  width: fit-content;
}

.p-fv__badge span {
  display: block;
  width: fit-content;
  margin: auto;
}

.p-fv__badge span::before,
.p-fv__badge span::after {
  content: "";
  background: var(--primary-color);
  width: 2px;
  height: 2rem;
  position: absolute;
  bottom: 0;
}

.p-fv__badge span::before {
  left: -1rem;
  transform: rotate(-45deg);
}

.p-fv__badge span::after {
  right: -1rem;
  transform: rotate(45deg);
}

.p-fv__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 430px;
  margin: 20px auto 0;
}

.p-fv__book-img {
  width: 80%;
  left: 5px;
  bottom: -100px;
  flex-shrink: 1;
}

.p-fv__lead {
  display: block;
  margin: 10px;
  width: auto;
  letter-spacing: 0.5px;
  color: var(--text-black);
  font-size: 15px;
  font-weight: 400;
}

.p-fv__cta {
  width: 80%;
  max-width: 500px;
  margin: 0 auto;
}

.p-fv-slider {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: auto;
  z-index: 0;
  margin-top: 48px;
}

.p-fv-slider img {
  aspect-ratio: 1/1;
  transition: transform 5s linear;
  margin-top: 20px;
}

.p-fv-sub {
  display: block;
  height: auto;
  width: fit-content;
  margin: 20px auto 0;
  background: white;
  padding: 10px;
  border-radius: 3px;
  border: 5px solid var(--primary-color);
  box-shadow: 5px 8px 10px 1px rgba(191, 185, 178, 0.29);
}

.p-fv-sub__content {
  max-width: 600px;
  margin: 0 auto;
}

.p-fv-sub__title {
  line-height: 1;
  width: fit-content;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 auto 8px;
  color: var(--title-color);
}

.p-fv-sub__text {
  font-size: 15px;
  font-weight: 400;
  max-width: 400px;
  margin: 0 auto 8px;
  padding: 10px;
}

.p-breadcrumb {
  font-size: var(--description-text);
}

.p-breadcrumb__list {
  display: flex;
  margin: 8px 0;
}

.p-breadcrumb__item {
  margin: 0 8px;
  font-size: 10px;
  color: var(--text-black);
}



/* .p-fixed-cta.is-visible {

} */

.p-fixed-cta__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  color: var(--primary-white);
  letter-spacing: 0.1rem;
  background: var(--btn-color);
  outline: 1px solid var(--btn-color);
  outline-offset: 2.5px;
  box-shadow: 0px 0px 10px #a75a7b;
  transition: 0.4s ease;

}

.p-fixed-cta__link:hover {
  background: var(--btn-color-hover);
  outline: 1px solid var(--btn-color-hover);
}

.p-fixed-cta {
  display: flex;
  gap: 2%;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 80px;
  background: rgba(255, 255, 255, 0.7);
  position: fixed;
  bottom: 0;
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0px 0px 10px #ccc;
  bottom: 20px;
  right: 0;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 1000;
}

.p-fixed-cta.is-visible {
  opacity: 1;
  visibility: visible;
}

/***********************************************************
 Section: Points (特徴)
 ************************************************************/

.p-section-main {
  background: var(--primary-white);
  padding: 0 8px;
}

.p-point {
  display: block;
  padding-top: 40px;
  /* ★「試験で使いやすい」の上の調整用スペース */
}

.p-point__list {
  display: block;
  margin: 0 10px;
}

.p-point__card {
  display: block;
  max-width: 1080px;
  margin: 50px auto;
  background-color: var(--primary-white);
}

.p-point__card-title {
  margin: 16px 0;
  font-size: clamp(14px, 8vw, 20px);
  font-weight: 500;
  text-align: center;
  color: var(--title-color);
}

.p-point__card-img {
  display: block;
  max-width: 500px;
  margin: 0 auto;
}

.p-point__card-content {
  display: block;
  max-width: 500px;
  margin: 0 auto;
}

.p-point__card-text {
  font-size: var(--description-text);
  line-height: 1.5;
  padding: 8px;
}

/***********************************************************
 Section: Present (インデックス特典)
 ************************************************************/

.p-present {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.p-present__container {
  display: block;
  width: auto;
  margin: 0 auto 80px;
  border: 1px solid #ccc;
  padding: 0;
}

.p-present__content {
  max-width: 1300px;
}

.p-present__text {
  font-size: var(--description-text);
  line-height: 1.5;
  padding: 8px;
}

.p-present__text img {
  width: 100%;
}

/***********************************************************
 Section: Guidance (法規対策ガイダンス)
 ************************************************************/

.p-section-sub {
  padding: 0;
}

.p-guidance {
  background-image: url(../../images/2026/r8_hourei_guidance.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
  position: relative;
  z-index: 0;
}

.p-guidance__inner {
  margin: auto auto auto 0;
  padding: 80px 5%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 10;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.p-guidance__title {
  background-color: #ccc;
  font-weight: bold;
  font-size: 20px;
  padding: 10px;
}

.p-guidance__title-sub {
  display: block;
  margin: 24px auto;
  color: var(--text-black);
  border-bottom: 2px solid var(--primary-color);
  height: 38px;
  line-height: 34px;
  width: 300px;
  font-size: 17px;
  text-align: center;
  letter-spacing: 2px;
}

.p-guidance__subtitle {
  text-align: center;
}

.p-guidance__list {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 32px auto auto;
}

.p-guidance__item {
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.p-guidance__item::before,
.p-guidance__item::after {
  content: "";
  height: 1rem;
  width: 0.5px;
  background: var(--text-darkgray);
  position: absolute;
  top: 0;
}

.p-guidance__item::before {
  left: 1rem;
  transform: rotate(-35deg);
}

.p-guidance__item::after {
  right: 1rem;
  transform: rotate(35deg);
}

.p-guidance__item span {
  height: 150px;
  width: 150px;
  outline: var(--bg-color) 1px solid;
  outline-offset: -5px;
  border-radius: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  letter-spacing: 0.1rem;
  background: var(--text-darkgray);
  color: var(--bg-color);
}

.p-guidance__text {
  display: block;
  font-size: var(--description-text);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.p-guidance__btn-box {
  display: flex;
  flex-direction: column;
}

.p-guidance__btn-note {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: auto;
  color: var(--title-color);
}

/***********************************************************
 Section: Course (対策講座)
 ************************************************************/

.p-course {
  background-image: url(../../images/2026/bk_kouza.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
  position: relative;
  z-index: 0;
}

.p-course::before {
  background-color: rgba(0, 0, 0, 0.55);
  position: absolute;
  inset: 0;
  content: "";
  z-index: 1;
}

.p-course__inner {
  margin: auto 0 auto auto;
  padding: 80px 5%;
  z-index: 10;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.p-course__main-title {
  background-color: #ccc;
  font-weight: bold;
  font-size: 20px;
  padding: 10px;
}

.p-course__card {
  padding: var(--wrap-padding);
  margin: 24px 0;
}

.p-course__card-title {
  display: flex;
  color: white;
  background-color: var(--title-color);
  align-items: center;
  padding: 5px;
}

.p-course__icon {
  width: 20px;
  height: 25px;
  position: relative;
}

.p-course__card-body {
  font-size: var(--description-text);
  line-height: var(--lineheight-text);
  background-color: white;
  padding: 16px;
}

.p-course__card-body p {
  margin-bottom: 40px;
}

/***********************************************************
 Section: Book (告示編)
 ************************************************************/

.p-book {
  margin: 80px auto;
}

.p-book__wrapper {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.p-book__header {
  margin: 30px;
  background: var(--primary-white);
  border-radius: 3px;
  flex: 1;
  padding: 30px 12px;
}

.p-book__category {
  display: block;
  max-width: 275px;
  margin: 20px auto;
  padding: 10px 0;
  font-size: 40px;
  color: #000;
  background-color: #abdcef;
}

.p-book__body {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.p-book__title {
  display: none;
}

.p-book__subtitle {
  display: block;
  margin: 24px auto;
  color: var(--text-black);
  border-bottom: 2px solid var(--primary-color);
  height: 38px;
  line-height: 34px;
  width: 300px;
  font-size: 17px;
}

.p-book__list {
  margin: 24px 30px 0;
  text-align: start;
}

.p-book__item {
  font-size: var(--description-text);
  line-height: 1.6;
  margin-top: 6px;
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 1rem;
}

.p-book__img {
  height: 200px;
  width: auto;
  margin: auto;
}

.p-book__btn {
  width: 80%;
  height: 60px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/***********************************************************
 Media Query: Desktop View (min-width: 1439px)
 ************************************************************/

@media (min-width: 1439px) {



  .c-hamburger {
    display: none;
  }

  .p-nav {
    transform: translateX(0);
    height: auto;
    position: static;
    background-color: transparent;
    box-shadow: none;
    height: 100%;
  }

  .p-nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 100%;
  }

  .p-nav__item {
    width: auto;
    height: 100%;
  }

  .p-fv {
    flex-direction: row;
    margin: 48px auto 0;
    overflow: hidden;
    height: 790px;
  }

  .p-fv__container {
    width: 60vw;
  }

  .p-fv__content {
    display: flex;
    flex-direction: column;
    width: 460px;
    height: 700px;
    padding: 20px;
    border-right: 30px solid var(--primary-color);
    border-left: 30px solid var(--primary-color);
    margin-left: max(10px, calc(60vw / 2 - 895px / 2));
    margin-top: 60px;
    margin-bottom: 0;
  }

  .p-fv-slider {
    width: 900px;
    max-width: none;
    height: 900px;
    position: absolute;
    bottom: -150px;
    right: -10%;
    margin: 0;
  }

  .p-fv-sub {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 500px;
    margin: 0;
    position: absolute;
    bottom: -5px;
    left: 429px;
    border: 5px solid var(--primary-color);
    box-shadow: 5px 8px 10px 1px rgba(191, 185, 178, 0.29);
  }

  .p-point {
    padding-top: 80px;
    min-height: 100vh;
    height: auto;
  }

  .p-point__list {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    margin: 0 10px;
  }

  .p-present {
    padding: 40px;
    height: auto;
  }

  .p-present__container {
    display: flex;
    border: none;
    padding: 0;
  }

  .p-guidance {

    min-height: 100vh;
    height: auto;
  }

  .p-guidance__inner {
    width: 50%;

    min-height: 100vh;
    height: auto;
    background-color: #fff;
  }

  .p-course {

    min-height: 100vh;
    height: auto;
  }

  .p-course__inner {
    width: 60%;

    min-height: 100vh;
    height: auto;
    background-color: rgba(255, 255, 255, 0.2);
  }

  .p-book__wrapper {
    display: flex;
  }

  .p-book__title {
    display: block;
    font-size: 30px;
    background-color: #eee;
    padding: 20px;
  }


  .p-fv-slider img {
    border-radius: 100vh;
  }

  .p-fv__sub-title {
    display: block;
    font-size: 90px;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--text-black);
  }

  .p-fv__main-title {
    display: block;
    font-size: 120px;
    line-height: 1;
    margin-top: 5px;
    color: var(--text-black);
  }
}

.splide__arrow {
  display: none;
}