@import url("./var.css");
/* ===================================================
  * resetcss
==================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  word-break: break-all;
}

html,
body,
div,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table.table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  text-align: inherit;
  line-height: inherit;
  vertical-align: baseline;
}

:focus {
  outline: 0;
}

html {
  font-size: 62.5%;
}

ol,
ul {
  list-style: none;
}

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

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q {
  quotes: "" "";
}

a img {
  border: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  line-height: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

a:active,
a:focus {
  outline: 0;
}

/* ===================================================
  * resetcss_end
==================================================== */

/* ===================================================
  * common
==================================================== */
.pc {
  @media (max-width: 767px) {
    display: none !important;
  }
}

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

h1, h2, h3, h4, h5, h6 {
  display: block;
  font-weight: 700;
}

body {
  position: relative;
  display: block;
  width: 100%;
  min-width: 100%;
  margin: 0 auto;
  /* overflow-x: hidden; */
  /* background: #fff; */
  /* text-align: left;
  text-align: justify;
  text-justify: inter-ideograph; */
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  color: #333;
  @media (min-width: 768px) {
    font-size: 15px;
  }
}

p {
  line-height: 1.5;
}

.mb-0 {
  margin-bottom: 0!important;
}

.mb-10 {
  margin-bottom: 10px;
}

/* ===================================================
  * common_end
==================================================== */

/* ===================================================
  * header
==================================================== */
/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  background-color: transparent;
  margin-bottom: 0;
  background: #fff;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.1);
  &.is-open {
    background: rgba(255, 255, 255, 0.95);
  }
  &.fixed {
    background: rgba(255, 255, 255, 0.7);
  }
}

.header--pages {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}


.header__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 5px;
  @media (min-width: 768px) {
    justify-content: space-between;
    padding: 5px 20px;
    max-width: 100%;
  }
}

.header__logo {
  display: block;
  width: 100%;
  max-width: 190px;
  margin: 0 auto;
  @media (min-width: 768px) {
    margin: 0 25px 0 0;
    max-width: 180px;
  }
  a {
    display: block;
  }
  img {
    width: 100%;
    max-width: 100%;
  }
}

.header__search {
  position: fixed;
  width: 30px;
  height: 30px;
  top: 19px;
  right: 15px;
  cursor: pointer;
  z-index: 9999;
  @media (min-width: 768px) {
    display: none;
    width: auto;
    height: auto;
  }
  @media (min-width: 768px) {
    position: static;
    display: none;
    order: 1;
    margin: 0 auto 0 30px;
  }
  @media (min-width: 1360px) {
    display: block;
    margin: 0 auto 0 20px;
  }
  img {
    width: 30px;
  }
}

.gnav {
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  height: 100%;
  transition: 0.3s ease-in-out;
  width: 100%;
  position: fixed;
  top: 60px;
  left: 0;
  @media (min-width: 768px) {
    z-index: 0;
    display: block;
    opacity: 1;
    pointer-events: visible;
    visibility: visible;
    width: auto;
    position: static;
    top: 0;
    order: 2;
    flex-grow: 1;
    margin-left: 30px;
  }
}

.gnav.is-open {
  visibility: visible;
  transition: 0.5s ease-in-out;
  opacity: 1;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  pointer-events: visible;
  overflow-y: scroll;
}

.gnav.is-disabled {
  transition: none !important;
}

.gnav__list {
  color: #000;
  font-size: 16px;
  padding: 40px 40px 100px;
  @media (min-width: 768px) {
    display: flex;
    justify-content: flex-end;
    padding: 0;
    font-size: 14px;
  }
}

.gnav__item {
  position: relative;
  padding: 10px;

  @media (min-width: 768px) {
    display: flex;
    align-items: center;
    padding: 5px;
  }

  &:not(.gnav__item--education):not(.gnav__item--registration):not(.gnav__item--login) {
    @media (min-width: 768px) {
      display: flex;
      padding: 10px 15px;
    }
  }
  &.gnav__item--education,
  &.gnav__item--registration,
  &.gnav__item--login {
    @media (min-width: 768px) {
      font-size: 13px;
    }
  }
}

.gnav__item--btn {

}

.gnav__item--education {
  .btn {
    color: var(--item-secondary-color);
    border: 2px solid var(--item-secondary-color);
    border-radius: 50px;
    padding: 10px 20px;
  }

  @media (min-width: 768px) {
    margin-left: auto;
  }
}

.gnav__item--registration {
  .btn {
    border-radius: 50px;
    padding: 12px 20px;
  }
}


.gnav__item.lg {
  display: none;
}

.gnav__link {
  cursor: pointer;
  font-weight: 700;
  transition: opacity 0.3s ease;
  &:hover {
    opacity: 0.7;
  }
}

.gnav-toggle {
  display: block;
  position: fixed;
  width: 30px;
  height: 30px;
  top: 19px;
  left: 15px;
  cursor: pointer;
  z-index: 9999;
  @media (min-width: 768px) {
    display: none;
  }
}

.gnav-toggle.is-open .gnav-toggle__item {
  background: transparent;
}

.gnav-toggle.is-open .gnav-toggle__item::before {
  transform: rotate(-45deg);
  margin-top: 0;
}

.gnav-toggle.is-open .gnav-toggle__item::after {
  transform: rotate(45deg);
  margin-top: 0;
}

.gnav-toggle__item, .gnav-toggle__item::before, .gnav-toggle__item::after {
  position: absolute;
  top: 50%;
  left: 0;
  margin: auto;
  height: 2px;
  width: 30px;
  background: #000;
  display: block;
  transform: translateY(-50%);
  border-radius: 2px;
  content: "";
  transition: 0.5s ease;
}

.gnav-toggle__item::before {
  margin-top: -10px;
}

.gnav-toggle__item::after {
  margin-top: 10px;
}

/* ===================================================
  * header_end
==================================================== */

/* ===================================================
  * main
==================================================== */
.main--bg {
  height: 100vh;
  background: #E1EBEE url(../images/common/bg-pages.svg) no-repeat center center;
  background-size: cover;
}

.main--member {
  padding: 30px 25px;
  @media (min-width: 768px) {
    width: calc(100% - 280px);
  }
}

.main--search {
  @media (min-width: 768px) {
    width: calc(100% - 290px);
  }
}
/* ===================================================
  * main_end
==================================================== */

/* ===================================================
  * footer
==================================================== */
.footer {
  display: none;
}

/* ===================================================
  * footer_end
==================================================== */

/* ===================================================
  * Sticky Nav
==================================================== */
.sticky-nav {
  background: #000;
  color: #fff;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: 60px;
  z-index: 300;
  padding: 7px 5px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  @media (min-width: 768px) {
    display: none;
  }
}

.sticky-nav__list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  width: 100%;
  margin-bottom: 0;
}

.sticky-nav__item {
  margin-bottom: 0;
  padding: 0 5px;
  width: 20%;
}

.sticky-nav__item.profile {
  padding: 0 3px;
}

.sticky-nav__item.profile .sticky-nav__link {
  letter-spacing: -0.15rem;
}

.sticky-nav__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  letter-spacing: -0.05rem;
}

/* .sticky-nav__link.is-active,
.sticky-nav__item.is-active .sticky-nav__link {
  color: #fff;
} */

.sticky-nav__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 18px;
  margin: 0 0 10px;
}

/* .sticky-nav__icon svg path,
.sticky-nav__icon svg rect,
.is-active .sticky-nav__icon svg path,
.is-active .sticky-nav__icon svg rect {
  fill: #fff !important;
} */

.sticky-nav__item.myprofile {
  background: transparent;
}

.sticky-nav__item {
  margin: 0;
}


/* ===================================================
  * Search
==================================================== */
.search-box {
  display: flex;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
}

.search-box__text {
  font-weight: 700;
  color: #777;
  padding: 15px 10px 15px 20px;
  margin: 0;
  border: none;
  width: calc(100% - 80px);
}

.search-box__submit {
  color: #fff;
  font-weight: 700;
  background: var(--header-btn-color);
  width: 80px;
  padding: 10px 10px 10px 10px;
  margin: 0;
  border: none;
  cursor: pointer;
  transition: 0.3s ease all;
  &:hover {
    opacity: 0.7;
  }
}


/* ===================================================
  * Search_end
==================================================== */

/* ===================================================
  * Text
==================================================== */

.text--primary {
  color: var(--main-primary-color);
}

.text--secondary {
  color: #AB8526;
}

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

/* ===================================================
  * Text_end
==================================================== */


/* ===================================================
  * Button
==================================================== */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
}

.btn--primary {
  color: #fff;
  background: var(--main-primary-color);
  padding: 15px;
  border-radius: 80px;
  border: 1px solid var(--main-primary-color);
}

.btn--secondary {
  color: var(--main-primary-color);
  border: 1px solid var(--main-primary-color);
  background: #fff;
  padding: 15px;
  border-radius: 80px;
}

.btn--process {
  position: relative;
  color: #fff;
  background: var(--main--gradient-color);
  padding: 15px 20px;
  border-radius: 15px;
}

.btn--process::before {
  content: "";
  width: 28px;
  height: 27px;
  background: url(../images/common/icon-btn-content.svg) no-repeat center center / contain;
  margin-right: 20px;
}

.btn--grad {
  color: #fff;
  background: var(--main--gradient-color);
  padding: 15px;
  border-radius: 80px;
}

.btn--detail {
  color: var(--main-primary-color);
  background: #fff;
  padding: 15px;
  border-radius: 80px;
}

.btn--cancel {
  color: var(--main-primary-color);
  background: transparent!important;
  border: none;
}

.btn--more {
  position: relative;
  background: #fff;
  border: var(--main-primary-color) 1px solid;
  padding: 15px 30px 15px 15px;
  border-radius: 80px;
  width: 200px;
  font-weight: 700;
  margin: 0 auto;
  font-size: 13px;
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 28px;
    width: 13px;
    height: 13px;
    transform: translateY(-50%);
    background: url(../images/common/icon-arrow-triangle-primary.svg) no-repeat center center/contain;
  }
}

.btn--disabled {
  background: #ccc;
  border: 1px solid #ccc;
  color: #888;
  cursor: not-allowed;
}

/* ===================================================
  * Button_end
==================================================== */



/* ===================================================
  * Card
==================================================== */

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  padding: 20px;
}

.card__thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  aspect-ratio: 16 / 9;
}

.card__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
  max-width: none;
  ofject-fit: cover;
}

.card__head {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.card__category {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 5px;
  padding: 5px 10px;
  background: var(--item-primary-color);
  color: #fff;
  z-index: 1;
}

.card__category.review {
  background: var(--item-third-color);
}

.card__category.advance {
  background: var(--item-secondary-color);
}

.card__keywords {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px 10px;
}

.card__keyword {
  color: var(--main-primary-color);
  font-weight: 700;
  padding: 0 5px 3px;
  font-size: 14px;
}

.card__features {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.card__feature {
  background: var(--main-secondary-color);
  padding: 5px 10px;
  margin: 0 5px 5px 0;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
}

.card__title {
  margin-bottom: 20px;
}

.card__number,
.card__style,
.card__days,
.card__price {
  color: var(--text-card-info-color);
  font-weight: 700;
}

.card__number {
  font-size: 10px;
  margin-bottom: 10px;
}

.card__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card__styles {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 10px;
  gap: 5px;
}

.card__style {
  border: 1px solid var(--text-card-info-color);
  border-radius: 5px;
  font-size: 10px;
  padding: 5px 8px;
  @media screen and (min-width: 768px) {
    font-size: 12px;
  }
}

.card__days {
  position: relative;
  font-size: 10px;
  padding-left: 15px;
  @media screen and (min-width: 768px) {
    font-size: 12px;
  }
  &::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0px;
    width: 12px;
    height: 12px;
    background: url(../images/common/icon-clock.svg) no-repeat center center/contain;
  }
}

.card__price {
  font-size: 12px;
  @media screen and (min-width: 768px) {
    font-size: 12px;
  }
}

.card__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.card__link {
  width: 50%;
}

.card--l {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 20px;
  gap: 20px;
  margin: 0 -20px;
  width: calc(100% + 40px);
  border-top: 1px solid #ccc;
  box-shadow: none;
  border-radius: 0;
  &:last-of-type {
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
  }
  .card__thumbnail {
    aspect-ratio: 4 / 3;
    width: 100px;
    flex-shrink: 0;
  }
  .card__category {
    z-index: 100;
    width: 100%;
    top: 0px;
    transform: translateY(-100px);
  }
  .card__desc {
    display: none;
    @media (min-width: 768px) {
      display: block;
      margin-bottom: 20px;
    }
  }
  .card__title {
    margin-bottom: 30px;
  }
  .card__cta {
    margin-left: -120px;
  }
  @media (min-width: 768px) {
    margin: 0 0 40px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    &:last-of-type {
      border-bottom: none;
      margin-bottom: 40px;
    }
    .card__thumbnail {
      aspect-ratio: 1 / 1;
      width: 30%;
    }
    .card__content {
      width: 70%;
    }
    .card__title {
      font-size: 22px;
      margin-bottom: 20px;
    }
    .card__styles {
      width: auto;
    }
    .card__cta {
      margin-left: 0;
    }
  }
}


/* ===================================================
  * Card__end
==================================================== */

/* ===================================================
  * Sidenav
==================================================== */


.sidenav {
  position: sticky;
  top: 64px;
  width: 100%;
  display: none;
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.05);
  height: 100vh;
  @media (min-width: 768px) {
    display: block;
    height: 100vh;
    flex-shrink: 0;
    width: 280px;
  }
}

.sidenav__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--main-primary-color);
  margin-bottom: 10px;
}

.sidenav__list {
  padding: 0px 0px 30px;
}

.sidenav__link {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 16px;
  padding: 10px 0px;
  z-index: 0;
  color: var(--text-info-color);
}

.sidenav__item.is-active .sidenav__link {
  color: var(--main-primary-color);
}

.sidenav__item.is-active .sidenav__link::before {
  z-index: -1;
  position: absolute;
  content: "";
  width: calc(100% + 40px);
  height: 100%;
  left: -20px;
  top: 0;
  background: var(--main--gradient-color);
  border-radius: 0px 30px 30px 0px;
  opacity: 0.2;
}

.sidenav__icon {
  display: flex;
  align-items: center;
  width: 35px;
  margin-right: 10px;
}

.sidenav__item.is-active .sidenav__link .sidenav__icon:not(.settings) svg path,
.sidenav__item.is-active .sidenav__link .sidenav__icon svg rect {
  fill: var(--main-primary-color);
}
.sidenav__link {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 5px;
  font-weight: 700;
}

.sidenav__link .icon-active {
  position: absolute;
  top: calc(50% - 2px);
  left: 0;
  border-top-left-radius: 50%;
  transform: rotate(0deg) skewY(30deg) scaleX(.86666) translate(0, -50%);
}

.sidenav__link .icon-active,
.sidenav__link .icon-active::before,
.sidenav__link .icon-active::after{
  width: 10px;
  height: 10px;
  background: var(--main-primary-color);
}

.sidenav__link .icon-active::before,
.sidenav__link .icon-active::after {
  content: "";
  position: absolute;
}

.sidenav__link .icon-active::before {
  border-top-right-radius: 50%;
  transform: skewX(-45deg) translateX(50%);
}

.sidenav__link .icon-active::after {
  border-bottom-left-radius: 50%;
  transform: skewY(-45deg) translateY(50%);
}

.sidenav.is-collapsed .sidenav__link::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 9px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 6px solid #1f2937;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.sidenav.is-collapsed {
  width: 0px;
  padding: 0;
  transform: translateX(-100%); /* 完全に隠す */
}

.sidenav.is-collapsed ~ .main--member,
.sidenav.is-collapsed ~ * .main--member {
  width: 100%;
}

.sidenav.is-collapsed .sidenav__toggle-icon span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -1px);
}

.sidenav.is-collapsed .sidenav__toggle-icon span:nth-child(2) {
  opacity: 0;
}

.sidenav.is-collapsed .sidenav__toggle-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 2px);
}

.sidenav__toggle {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: var(--bg-primary-color);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  border: 0;
}

.sidenav.is-collapsed .sidenav__toggle {
  right: -30px;
}

.sidenav__toggle:hover {
  background: var(--bg-primary-color);
}

.sidenav__toggle:active {
  transform: scale(0.95);
}

.sidenav__toggle-icon {
  width: 16px;
  height: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidenav__toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--main-primary-color);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.sidenav.is-collapsed .sidenav__main {
  display: none;
}

/* ===================================================
  * Logged-in
==================================================== */
.logged-in .header{
  top: 32px;
}

.logged-in .sidenav {
  top: calc(64px + 32px);
}
