﻿@charset "utf-8";
/*--------------------------------------------------------------------------------

  recruit

--------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
  top
--------------------------------------------------------------------------------*/
/* top-nav */
#top-nav {
  margin-bottom: var(--space-2l);
}
#top-nav .top-nav-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--space-2s);
}
@media (max-width:768px) {
  #top-nav .top-nav-list {
    grid-template-columns: auto;
    gap: var(--space-l);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}
#top-nav .top-nav-list-item a {
  display: block;
  text-decoration: none;
}
#top-nav .top-nav-img {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#top-nav .top-nav-img-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.2);
  padding: var(--space-l);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity .2s ease;
}
#top-nav .top-nav-list-item a:hover .top-nav-img-hover {
  opacity: 1;
}
#top-nav .top-nav-list-item h2 {
  margin-top: 0.5em;
  font-size: var(--fs-l);
  font-weight: bold;
  font-family: var(--ff-ud-shingo);
}
#top-nav .top-nav-list-item p {
  margin-top: 0.25em;
  color: var(--txt-color);
  line-height: var(--line-height-s);
}

/* topics */
#topics {
  margin-bottom: var(--space-2l);
}


/*--------------------------------------------------------------------------------
  requirements
--------------------------------------------------------------------------------*/
#requirements .c-tbl dt {
  color: var(--color-primary);
}
#requirements .c-tbl dt:not(:first-of-type) {
  margin-top: 0.75em;
}


/*--------------------------------------------------------------------------------
  faq
--------------------------------------------------------------------------------*/
#faq .accordion-header {
  padding: 0.5em 2.5em 0.5em 1em;
  margin-bottom: 0.5em;
  transition: background .3s ease;
  cursor: pointer;
  position: relative;
  color: var(--color-primary);
  font-weight: bold;
}

#faq .accordion-header::before,
#faq .accordion-header::after {
  position:absolute;
  content:'';
  top:1px;
  right:20px;
  bottom:0;
  width:12px;
  height:2px;
  margin:auto;
  background: var(--color-primary);
}
#faq .accordion-header::after{
  transform:rotate(-90deg);
  transition:transform 0.3s;
}
#faq .accordion-header.active::after{transform:rotate(0deg);}

#faq .accordion-content {
  display: none;
  background-color: var(--color-primary-lightest);
  padding: 1em 1.5em;
  margin-bottom: 1em;
}

#faq .accordion-header span,
#faq .accordion-content span {
  position: relative;
}

#faq .accordion-header span::before{
  content:"Q：";
  display: inline-block;
}

#faq .accordion-content .accordion-answer::before{
  content:"A：";
  display: inline-block;
  color: var(--color-secondary);
  font-size: var(--fs-l);
}

/* hover */
#faq .accordion-header:hover {
  background-color: var(--color-primary-lighter2);
}