@charset "utf-8";

/* ↓↓↓ common ↓↓↓ */
:root {
  --jost: "Jost", sans-serif;
  --notoserif: "Noto Serif JP", serif;
  --notosans: "Noto Sans JP", sans-serif;
  --pad-pc: 30px;
  --pad-sp: 24px;
}

main {
  padding-top: 90px;
  font-style: normal;
}

@media screen and (max-width: 1024px) {
  main {
    padding-top: 70px;
  }
}

.-bk {
  word-break: keep-all;
}

@media screen and (max-width: 768px) {
  .-pc {
    display: none;
  }
}

.-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .-sp {
    display: block;
  }
}

.-wb {
  display: inline-block;
}

/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ header ↓↓↓ */
header {
  width: 100%;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  container-type: inline-size;
  z-index: 20;
}

header .inner {
  max-width: 1280px;
  height: 90px;
  display: flex;
  gap: 0 min(calc((30 - 10) * ((100vw - 1024px) / (1280 - 1024)) + 10px), 30px);
  padding: 0 10px 0 min(calc((40 - 20) * ((100vw - 1024px) / (1280 - 1024)) + 20px), 40px);
  margin: 0 auto;
  container-type: inline-size;
}

@media screen and (max-width: 1024px) {
  header .inner {
    height: 70px;
    gap: 0 5px;
    padding: 0 5px 0 12px;
  }
}

header .logo {
  align-self: center;
}

header h1 {
  align-self: center;
  display: flex;
  gap: 0 20px;
  align-items: center;
}

@media screen and (max-width: 1024px) {
  header h1 {
    flex-direction: column;
  }
}

header h1 .logo {
  width: clamp(180px, 234/1280*100vw, 234px);
}

@media screen and (max-width: 1024px) {
  header h1 .logo {
    width: clamp(120px, 153/375*100vw, 153px);
  }
}

header h1 .txt {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #001932;
  padding: 4px 6px;
}

@media screen and (max-width: 1024px) {
  header h1 .txt {
    font-size: 1rem;
    margin-top: 5px;
  }
}

header nav {
  margin-left: auto;
}

@media screen and (max-width: 1024px) {
  header nav {
    position: absolute;
    width: 300px;
    display: none;
    border-top: 1px solid #e5e5e5;
    background-color: #fff;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .2);
    padding: 24px 20px 32px;
    top: 70px;
    right: 0;
  }
}

header .menu {
  height: 100%;
  display: flex;
}

@media screen and (max-width: 1024px) {
  header .menu {
    width: 186px;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
  }
}

header .menu li {
  position: relative;
}

header .menu .children li:not(:first-of-type) {
  margin-top: 32px;
}

@media screen and (max-width: 1024px) {
  header .menu li {
    width: 100%;
  }

  header .menu .children li:not(:first-of-type) {
    margin-top: 0;
  }
}

header .menu .parent {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

header .menu .parent.-sp {
  display: none;
}

@media screen and (max-width: 1024px) {
  header .menu .parent {
    position: relative;
    width: 100%;
    height: auto;
    justify-content: flex-start;
    padding: 10px 0;
    cursor: pointer;
  }

  header .menu .parent.-pc {
    display: none;
  }

  header .menu .parent.-sp {
    display: flex;
  }

  header .menu li:has(.children) .parent::before,
  header .menu li:has(.children) .parent::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 1px;
    background-color: #000;
    transform-origin: center;
    transition: rotate ease .3s;
    translate: 0 -50%;
    top: 50%;
    right: 0;
  }

  header .menu li .parent::before {
    rotate: 270deg;
  }

  header .menu li.active .parent::before {
    rotate: 0deg;
  }
}

header .menu .parent .txt {
  font-size: 1.056910569105691cqw;
  font-style: italic;
  font-family: var(--jost);
  font-weight: 400;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #17ceff, #0019b4) 0 100% /var(--d, 0%) 1px no-repeat;
  background-position: right bottom;
  transition: background-size ease .3s;
}

@media screen and (max-width: 1024px) {
  header .menu .parent .txt {
    font-size: 1.3rem;
    background: linear-gradient(90deg, #17ceff, #0019b4) 0 50% /16px 1px no-repeat;
    background-position: left center;
    transition: color ease .3s;
    padding-left: 26px;
  }
}

header .menu li:hover .parent .txt {
  --d: 100%;
  background-position: left bottom;
}

@media screen and (max-width: 1024px) {
  header .menu li:hover .parent .txt {
    background: linear-gradient(90deg, #17ceff, #0019b4) 0 50% /16px 1px no-repeat;
    background-position: left center;
  }

  header .menu li .parent:hover .txt {
    color: #20a2e3;
  }

  header .menu li.active .parent .txt {
    color: #20a2e3;
  }
}

@media screen and (max-width: 768px) {
  header .menu li .parent:hover .txt {
    color: inherit;
  }

  header .menu li.active .parent .txt {
    color: #20a2e3;
  }
}

header .menu .children {
  width: max-content;
  position: absolute;
  text-align: center;
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
  opacity: 0;
  visibility: hidden;
  transition: opacity ease .3s, visibility ease .3s;
  padding: 40px 20px;
  translate: -50% 100%;
  bottom: 0;
  left: 50%;
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1024px) {
  header .menu .children {
    position: initial;
    text-align: left;
    width: auto;
    display: none;
    border-top: unset;
    translate: unset;
    opacity: 1;
    visibility: visible;
    padding: unset;
    box-shadow: unset;
  }
}

header .menu li:hover .children {
  opacity: 1;
  visibility: visible;
}

header .menu .children .child {
  font-size: 1.3rem;
  font-style: italic;
  font-family: var(--jost);
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 10px;
}

@media screen and (max-width: 1024px) {
  header .menu .children .child {
    display: block;
    padding: 10px 26px 10px 0;
    margin-left: 26px;
  }
}

header .menu .children .child .txt {
  background: linear-gradient(90deg, #17ceff, #0019b4) 0 100% /var(--d, 0%) 1px no-repeat;
  background-position: right bottom;
  padding-bottom: 2px;
  transition: background-size ease .3s, color ease .3s;
}

header .menu .children .child:hover .txt {
  --d: 100%;
  background-position: left bottom;
}

@media screen and (max-width: 1024px) {
  header .menu .children .child:hover .txt {
    --d: 0;
    color: #20a2e3;
  }
}

@media screen and (max-width: 768px) {
  header .menu .children .child:hover .txt {
    color: inherit;
  }
}

header .entry-group {
  position: relative;
  align-self: center;
  height: 60px;
}

@media screen and (max-width: 1024px) {
  header .entry-group {
    margin-left: auto;
    height: 50px;
  }
}

header .entry {
  align-self: center;
  width: clamp(140px, 160/1280*100vw, 160px);
  height: 60px;
  font-size: 2.2rem;
  font-weight: 500;
  font-style: italic;
  font-family: var(--jost);
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(90deg, #17ceff, #0019b4);
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1024px) {
  header .entry {
    width: clamp(100px, 120/375*100vw, 120px);
    height: 50px;
    font-size: 1.8rem;

  }
}

header .entry .txt {
  background: linear-gradient(90deg, #fff, #fff) 0 100% /var(--d, 0%) 1px no-repeat;
  background-position: right bottom;
  transition: background-size ease .3s;
}

header .entry .txt.-jp {
  font-family: var(--notosans);
}

header .entry-group:hover .entry .txt {
  --d: 100%;
  background-position: left bottom;
}

@media screen and (max-width: 768px) {
  header .entry-group:hover .entry .txt {
    --d: 0;
  }
}

header .entry-group .children {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 2px solid #fff;
  translate: 0 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity ease .3s, visibility ease .3s;
}

header .entry-group:hover .children {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 1024px) {
  header .entry-group .children {
    display: none;
    opacity: 1;
    visibility: visible;
  }
}

header .entry-group .child {
  display: grid;
  place-content: center;
  width: 100%;
  height: 60px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  header .entry-group .child {
    text-align: center;
    height: 50px;
    font-size: 1.4rem;
    line-height: 1.2;
  }
}

header .entry-group .child.-new {
  background-color: #17ceff;
}

header .entry-group .child.-career {
  background-color: #187df5;
}

header .entry-group .child .txt {
  background: linear-gradient(90deg, #fff, #fff) 0 100% /var(--d, 0%) 1px no-repeat;
  background-position: right bottom;
  transition: background-size ease .3s;
}

header .entry-group .child:hover .txt {
  --d: 100%;
  background-position: left bottom;
}

@media screen and (max-width: 768px) {
  header .entry-group .child:hover .txt {
    --d: 0;
  }
}

header .toggle-btn {
  align-self: center;
  position: relative;
  width: clamp(25px, 50/375*100vw, 50px);
  height: 50px;
  display: none;
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  header .toggle-btn {
    display: block;
  }
}

header .toggle-btn .line {
  position: absolute;
  width: 20px;
  height: 1px;
  display: block;
  background-color: #000;
  transform-origin: center;
  transition: left ease .3s, transform-origin ease .3s, top ease .3s;
}

header .toggle-btn .line:nth-of-type(1) {
  top: 17px;
  left: 32%;
}

header.active .toggle-btn .line:nth-of-type(1) {
  top: 24px;
  left: 30%;
  rotate: 135deg;
  transition: rotate ease .6s;
}

header .toggle-btn .line:nth-of-type(2) {
  top: 24px;
  left: 30%;
}

header.active .toggle-btn .line:nth-of-type(2) {
  rotate: 135deg;
  transition: rotate ease .3s;
}

header .toggle-btn .line:nth-of-type(3) {
  top: 32px;
  left: 28%;
}

header.active .toggle-btn .line:nth-of-type(3) {
  top: 24px;
  left: 30%;
  rotate: -135deg;
  transition: rotate ease .5s;
}

header .toggle-btn:hover .line {
  left: 15px;
}

/* ↑↑↑ header ↑↑↑ */

/* ↓↓↓ event ↓↓↓ */
.fixed-event {
  position: fixed;
  right: 25px;
  bottom: 20px;
  max-width: 298px;
  width: calc(100% - 20px * 2);
  z-index: 10;
}

@media screen and (max-width: 768px) {
  .fixed-event {
    right: 20px;
  }
}

.fixed-event .fixed-toggle {
  cursor: pointer;
  position: relative;
  display: none;
  visibility: hidden;
}

@media screen and (max-width: 768px) {
  .fixed-event .fixed-toggle {
    visibility: visible;
    display: grid;
    place-content: center;
    width: 130px;
    height: 32px;
    padding-right: 15px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.12em;
    color: #fff;
    background: linear-gradient(90deg, #17ceff, #0019b4);
    margin-left: auto;
  }

  .fixed-event .fixed-toggle::after {
    content: '';
    position: absolute;
    translate: 0 -50%;
    top: 50%;
    right: 10px;
    width: 11px;
    height: 6px;
    background: url(/wp/wp-content/themes/cosmos-cpa/img/common/event-toggle.png) no-repeat;
    background-size: contain;
  }

  .fixed-event .fixed-toggle.-active::after {
    rotate: 180deg;
  }
}

.fixed-event .fixed-scroll {
  max-height: calc(88px * 4 + 7px * 3);
}

@media screen and (max-width: 768px) {
  .fixed-event .event-group {
    display: none;
    margin-top: 10px;
  }

  .fixed-event .fixed-scroll {
    max-height: calc(88px * 2 + 7px);
    overflow-y: scroll;
  }
}

.fixed-event .event-group .event-link {
  position: relative;
  display: block;
  background-color: #fff;
  padding-bottom: 12px;
  max-height: 88px;
  overflow: hidden;
}

.fixed-event .event-group .event-link+.event-link {
  margin-top: 7px;
}

.fixed-event .event-group .event-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0.3;
  display: none;
}

.fixed-event .event-group .event-link:hover::before {
  display: block;
}

.fixed-event .event-group .event-link.-tokyo {
  border: 2px solid #187df5;
}

.fixed-event .event-group .event-link.-nagoya {
  border: 2px solid #17ceff;
}

.fixed-event .event-group .event-link.-osaka {
  border: 2px solid #17b69e;
}

.fixed-event .event-group .area {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-content: center left;
  width: 80px;
  height: 20px;
  font-family: var(--jost);
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #fff;
  padding-left: 7px;
}

.fixed-event .event-group .event-link.-tokyo .area {
  background-color: #187df5;
}

.fixed-event .event-group .event-link.-nagoya .area {
  background-color: #17ceff;
}

.fixed-event .event-group .event-link.-osaka .area {
  background-color: #17b69e;
}

.fixed-event .event-group .date {
  font-family: var(--jost);
  font-size: 1.4rem;
  padding-left: 90px;
}

.fixed-event .event-group .txt {
  text-align: justify;
  word-break: break-all;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  padding: 5px 54px 0 12px;
  display: -webkit-box;
  /* Flexboxの一種 */
  -webkit-box-orient: vertical;
  /* 縦方向に並べる */
  -webkit-line-clamp: 2;
  /* 最大行数を指定 */
  overflow: hidden;
  /* はみ出した部分を隠す */
  text-overflow: ellipsis;
  /* 省略記号「…」を表示 */
}

.fixed-event .event-group .event-link:hover .txt {
  text-decoration: underline;
}

.fixed-event .event-group .event-link .arrow {
  position: absolute;
  display: block;
  width: 24px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  bottom: 14px;
  right: 14px;
  background: linear-gradient(45deg, #17ceff 10%, #0019b4);
  overflow: hidden;
}

.fixed-event .event-group .event-link .arrow::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 5px;
  mask-image: url(/wp/wp-content/themes/cosmos-cpa/img/top/more-arrow.svg);
  mask-position: center center;
  mask-size: 10px 5px;
  background: #fff;
  translate: -50% -50%;
  top: 50%;
  left: 50%;
  transition: background-color ease .3s;
}

.fixed-event .fixed-close {
  cursor: pointer;
  width: 25px;
  margin-left: auto;
  margin-bottom: 5px;
}

@media screen and (min-width: 769px) {
  .fixed-event .fixed-close:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 768px) {
  .fixed-event .fixed-close {
    display: none;
    visibility: hidden;
  }
}

/* ↑↑↑ event ↑↑↑ */

/* ↓↓↓ footer ↓↓↓ */
footer {
  position: relative;
  background-color: #ecf0f0;
  padding: 45px 30px;
}

@media screen and (max-width: 768px) {
  footer {
    padding: 45px var(--pad-sp);
  }
}

footer .inner {
  max-width: 1280px;
  margin: 0 auto
}

footer .group {
  width: fit-content;
  display: flex;
  gap: 18px 45px;
  justify-content: center;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  footer .group {
    flex-direction: column;
  }
}

footer .group .outlink {
  position: relative;
  font-size: 1.4rem;
  font-size: 400;
  letter-spacing: 0.08em;
  color: #333333;
  padding-right: 18px;
  transition: opacity ease .3s;
}

footer .group .outlink:hover {
  opacity: .7;
}

@media screen and (max-width: 768px) {
  footer .group .outlink:hover {
    opacity: 1;
  }
}

footer .group .outlink::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: url(/wp/wp-content/themes/cosmos-cpa/img/common/icon-outlink.svg) no-repeat;
  background-size: contain;
  translate: 0 -50%;
  top: 50%;
  right: 0;
}

footer .small-txt {
  font-size: 1rem;
  font-weight: 300;
  font-family: var(--jost);
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
  color: #666666;
  margin: 25px auto 0;
}

@media screen and (max-width: 768px) {
  footer .small-txt {
    margin: 35px auto 0;
  }
}

footer .toTop {
  position: absolute;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  font-family: var(--jost);
  writing-mode: tb-rl;
  background: linear-gradient(90deg, #000, #000) 0 100% / 1px var(--d) no-repeat;
  --d: 80px;
  background-position: center top;
  padding-top: 90px;
  transition: background-size ease .3s;
  translate: 0 -100%;
  top: -28px;
  right: 30px;
}

@media screen and (max-width: 768px) {
  footer .toTop {
    writing-mode: unset;
    --d: 30px;
    padding-top: 40px;
  }
}

footer .toTop:hover {
  --d: 25px;
}

@media screen and (max-width: 768px) {
  footer .toTop:hover {
    --d: 30px;
  }
}

/* ↑↑↑ footer ↑↑↑ */

.preview-text {
  position: fixed;
  top: 80px;
  left: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background-color: rgb(226, 5, 5);
  z-index: 30;
}

.-fadeUp {
  translate: 0 -50px 0;
  opacity: 0;
}

.simplebar-content-wrapper {
  scrollbar-width: auto;
  -ms-overflow-style: auto;
}

.simplebar-content-wrapper::-webkit-scrollbar,
.simplebar-hide-scrollbar::-webkit-scrollbar {
  display: initial;
  width: initial;
  height: initial;
}

.simplebar-scrollbar::before {
  background: #AAAAAA;
}

.simplebar-scrollbar.simplebar-visible:before {
  opacity: 1;
  transition-duration: 0.2s;
}

.simplebar-track {
  background-color: #eeeeee;
  border-radius: 10px;
}

.simplebar-track.simplebar-vertical {
  width: 10px;
}

.simplebar-content {
  max-width: 283px;
}