@charset "UTF-8";


body {
  background: rgba(245, 245, 247, .6);
}

main.column_page #firstview_general,
main.event_page #firstview_general,
main.taxonomy_page #firstview_general {
  max-width: 1440px;
}


/*---------------------------------------------------------------*\
$casestudies
\*---------------------------------------------------------------*/

#casestudies {
  gap: 64px;
  width: calc(100% - 112px);
  margin: 0 auto;
}


@media screen and (max-width: 1080px) {

  #casestudies {
    width: calc(100% - 80px);
  }
}


@media screen and (max-width: 600px) {

  #casestudies {
    width: calc(100% - 56px);
    gap: 32px;
  }
}


/*---------------------------------------------------------------*\
column / event &taxonomy
\*---------------------------------------------------------------*/

#column, #event, #articles_section {
  max-width: 1440px;
  width: calc(100% - 112px);
  margin: 0 auto;
}

#column>.content,
#event>.content,
#articles_section>.content {
  gap: 48px;
}


@media screen and (max-width: 1080px) {

  #column,
  #event,
  #articles_section {
    width: calc(100% - 80px);
  }
}


@media screen and (max-width: 860px) {

  #column>.content,
  #event>.content,
  #articles_section>.content {
    flex-direction: column;
  }
}


@media screen and (max-width: 600px) {

  #column,
  #event,
  #articles_section {
    width: calc(100% - 56px);
    gap: 32px;
  }
}


/*---------------------------------------------------------------*\
$sidemenu
\*---------------------------------------------------------------*/

#sidemenu {
  width: 360px;
  flex-shrink: 0;
  gap: 64px;
  position: relative;
}

/* form */
#sidemenu .form {
  height: 80vh;
  overflow: scroll;
  background-color: #fff;
  padding: 24px;
  border-radius: 28px;
  position: sticky;
  top: 120px;
}

/* contact */
#sidemenu .contact {
  height: 200px;
  gap: 16px;
  background-image: url('../img/common/background_cta.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#sidemenu .contact .subject {
  font-size: 17px;
  font-weight: 550;
}

#sidemenu .contact .button {
  height: 48px;
  font-size: 14px;
  width: 200px;
  margin: 0 auto;
}


/* tags */
#sidemenu .tags {
  width: 100%;
  position: relative;
  overflow: hidden;
  gap: 24px;
}

#sidemenu .tags .subject {
  font-size: 26px;
}

#sidemenu .tags .content {
  position: relative;
  width: 100%;
  z-index: 2;
  gap: 10px;
}

#sidemenu .tags .each {
  border-radius: 80px;
}

#sidemenu .tags .each>a {
  position: relative;
  padding: 12px;
  gap: 8px;
  width: fit-content;
  border: solid 1px rgba(0, 0, 0, .15);
  border-radius: 5px;
  font-size: 13px;
}


/* latest */
#sidemenu .latest {
  gap: 12px;
}

#sidemenu .latest .subject {
  font-size: 26px;
}

/* content */
#sidemenu .latest .content {
  width: 100%;
}

#sidemenu .latest .each {
  border-bottom: solid 1px #efefef;
}

#sidemenu .latest .click_wrap {
  width: 100%;
  gap: 20px;
  padding: 16px 0;
  cursor: pointer;
}

#sidemenu .thumbnail_small {
  width: 100px;
  aspect-ratio: 1/1;
  flex-shrink: 0;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

#sidemenu .latest .info {
  width: 100%;
  gap: 6px;
}

#sidemenu .latest .date_posted {
  font-size: 10px;
}

#sidemenu .latest .title {
  font-size: 13px;
}

#sidemenu .latest .category {
  font-size: 10px;
  padding: 6px;
  gap: 8px;
  width: fit-content;
  border: solid 1px rgba(0, 0, 0, .15);
  border-radius: 3px;
}


@media screen and (max-width: 960px) {

  #sidemenu {
    width: 320px;
  }
}


@media screen and (max-width: 860px) {

  #sidemenu {
    width: 100%;
  }
}


@media screen and (max-width: 600px) {

  /* contact */
  #sidemenu .contact {
    height: 180px;
  }

  #sidemenu .contact .subject {
    font-size: 16px;
  }

  /* tags */
  #sidemenu .tags .subject {
    font-size: 22px;
  }

  /* latest */
  #sidemenu .latest .subject {
    font-size: 22px;
  }
}


/*---------------------------------------------------------------*\
$articles
\*---------------------------------------------------------------*/

#articles {
  gap: 64px;
}

#articles.frx2 {
  grid-template-columns: 1fr 1fr;
}

#articles.frx3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* content */
#articles {
  gap: 40px;
}

#articles .each_post {
  position: relative;
  overflow: hidden;
}

#articles .each_post a {
  flex: 1;
}

#articles .thumbnail {
  aspect-ratio: 2/1.25;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

#articles .info_post {
  gap: 12px;
  width: 100%;
  padding: 20px 20px 24px;
}

#articles .post_type {
  position: relative;
  padding: 12px;
  border-bottom: solid 1px rgba(0, 0, 0, .1);
  gap: 8px;
  width: fit-content;
  border: solid 1px #ddd;
  border-radius: 6px;
  font-size: 14px;
}

#articles .title_each_post {
  font-size: 19px;
  line-height: 1.5;
}

#articles .description {
  font-size: 15px;
  margin: 8px 0 0 0;
}

#articles .date_posted {
  font-size: 12px;
}


@media screen and (min-width: 1600px) {

  #articles .frx3 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 1280px) {

  /* posts */
  #articles .each_post {
    -webkit-transition: inherit;
    -moz-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
  }
}


@media screen and (max-width: 1080px) {

  #articles.frx2 {
    grid-template-columns: 1fr;
  }

  #articles.frx3 {
    grid-template-columns: 1fr 1fr;
  }
}


@media screen and (max-width: 860px) {

  /* posts */
  #articles .info_post {
    width: 100%;
  }

  #articles .title_each_post {
    pointer-events: none;
  }
}


@media screen and (max-width: 760px) {

  #articles.frx2,
  #articles.frx3 {
    grid-template-columns: 1fr 1fr;
  }

  /* content */
  #articles {
    gap: 4%;
  }
}


@media screen and (max-width: 600px) {

  #articles {
    gap: 32px;
  }

  #articles.frx2,
  #articles.frx3 {
    grid-template-columns: 1fr;
  }

  /* posts */
  #articles {
    gap: 32px;
  }

  #articles.frx2 {
    grid-template-columns: 1fr;
  }

  #articles .info_post {
    padding: 16px 16px 20px;
  }

  #articles .title_each_post {
    font-size: 14px;
  }

  #articles .post_type {
    padding: 10px 8px;
    font-size: 11px;
  }

  #articles .date_posted {
    font-size: 10px;
  }
}


/*---------------------------------------------------------------*\
$filter
\*---------------------------------------------------------------*/

.filter {
  padding: 24px;
  gap: 16px;
}

.filter form {
  gap: 16px;
}

.filter .border {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, .05);
}

.filter .input-wrapper .input {
  width: 100%;
  gap: 12px;
}

.filter .input-wrapper .title {
  width: 80px;
  flex-shrink: 0;
  font-size: 16px;
  padding: 0 0 0 12px;
}

.filter .input-wrapper label {
  display: flex;
  gap: 8px;
  align-items: center;
  border-radius: 80px;
  padding: 8px 16px 8px 8px;
  cursor: pointer;
  border: solid 2px #f8f8f8;
  background-color: #f8f8f8;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

/* アイコン用の白背景丸 */
.filter .input-wrapper label::before,
.filter .input-wrapper label::after {
  content: "";
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  transition: opacity 0.3s ease;
}

/* デフォルトアイコン */
.filter .input-wrapper label::before {
  background-image: url('../img/common/icon_tag_black.svg');
  opacity: 1;
}

/* チェック時のアイコン） */
.filter .input-wrapper label::after {
  position: absolute;
  left: 8px;
  /* label の padding に合わせて調整 */
  top: 50%;
  transform: translateY(-50%);
  background-image: url('../img/common/icon_check_white.svg');
  background-color: #23e000;
  opacity: 0;
}

/* チェック時にフェード切り替え */
.filter .input-wrapper input[type="checkbox"]:checked+label::before {
  opacity: 0;
}

.filter .input-wrapper input[type="checkbox"]:checked+label::after {
  opacity: 1;
}

.filter .input-wrapper input[type="checkbox"]:checked+label {
  border: 2px solid #23e000;
  box-shadow: 0px 10px 32px rgba(0, 0, 0, 0.07);
}


.filter .input-wrapper input {
  display: none;
}

.filter button {
  margin: 0 auto;
  position: relative;
  width: 100%;
  background-color: #f8f8f8;
  height: 56px;
  font-size: 14px;
}

.filter button:hover {
  background-color: #000;
  color: #fff;
}


@media screen and (max-width: 600px) {

  .filter {
    padding: 20px;
  }

  .filter .input-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  .filter s.input-wrapper .input {
    gap: 10px;
  }

  .filter .input-wrapper .title {
    width: 100%;
    font-size: 13px;
    padding: 0;
  }

  .filter .input-wrapper label {
    padding: 4px 12px 4px 4px;
    font-size: 11px;
  }

  .filter .input-wrapper label::after {
    left: 4px;
  }

  .filter .input-wrapper label::before,
  .filter .input-wrapper label::after {
    width: 28px;
    height: 28px;
    background-size: 16px;
  }

  .filter button {
    height: 44px;
    font-size: 11px;
  }
}


/*---------------------------------------------------------------*\
$result heading
\*---------------------------------------------------------------*/

main.news_page .result_heading {
  padding: 0 0 16px 0;
}


/*---------------------------------------------------------------*\
$news
\*---------------------------------------------------------------*/

#news {
  width: calc(100% - 112px);
  margin: 0 auto;
  gap: 64px;
}

#news .content {
  gap: 64px;
}

#news .wrap {
  width: 100%;
}

/* sortmenu */
#news .sortmenu {
  width: 260px;
  flex-shrink: 0;
}

#news .sortmenu .subject {
  margin: 0 0 16px 0;
}

#news .sortmenu .each {
  margin: 0 0 40px 0;
}

#news .sortmenu .each:last-of-type {
  margin: 0;
}

#news .sortmenu .wrap_block {
  border-radius: 28px;
  overflow: hidden;
}

#news .sortmenu .select {
  height: 64px;
  font-size: 14px;
  cursor: pointer;
}

#news .sortmenu .menu {
  overflow: hidden;
  height: 0;
  transition: height 0.3s ease;
}

#news .sortmenu .item {
  opacity: 0;
  font-size: 14px;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: 20px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#news .sortmenu .menu.open .item {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

#news .sortmenu .item a {
  font-size: 14px;
}

#news .sortmenu .count {
  font-size: 12px;
  border-radius: 3px;
  width: 20px;
  aspect-ratio: 1/1;
}

/* posts */
#news .posts {
  width: 100%;
}

#news .each_post {
  position: relative;
}

#news .each_post:after {
  display: block;
  content: '';
  border-bottom: solid 1px rgba(0, 0, 0, .05);
  margin: 0 auto;
}

#news .each_post:hover {
  background-color: #000;
}

#news .each_post:hover .each_post:after {
  border: none;
}

#news .inner {
  width: 100%;
  gap: 5%;
  padding: 32px;
}

#news .info_post {
  width: 100%;
  gap: 12px;
}

#news .category {
  font-size: 14px;
  padding: 7px 14px;
  width: fit-content;
  background-color: #bbb;
  border-radius: 4px;
}

#news .date_posted {
  font-size: 14px;
}

#news .title_each_post {
  font-size: 21px;
  line-height: 1.3;
}

#news .each_post:hover .title_each_post {
  color: #fff;
}

#news .thumbnail {
  width: 160px;
  aspect-ratio: 1/1;
  flex-shrink: 0;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}


@media screen and (min-width: 1440px) {

  /* posts */
  #news .each_post:nth-of-type(2n) {
    padding: 0 24px 0 0;
  }
}


@media screen and (min-width: 1280px) {

  /* posts */
  #news .posts {
    grid-template-columns: 1fr 1fr;
  }

  #news .thumbnail {
    width: 180px;
  }
}


@media screen and (max-width: 1080px) {

  #news {
    width: calc(100% - 80px);
  }
}


@media screen and (max-width: 960px) {

  /* sortmenu */
  #news .sortmenu {
    width: 200px;
  }

  /* posts */
  #news .each_post {
    pointer-events: initial;
  }

  #news .inner {
    width: 100%;
    gap: 5%;
  }

  #news .title_each_post {
    pointer-events: none;
  }
}


@media screen and (max-width: 760px) {

  #news .content {
    flex-direction: column;
  }

  /* sortmenu */
  #news .sortmenu {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 28px;
    padding: 24px;
  }

  #news .sortmenu .subject {
    font-size: 16px;
  }

  #news .sortmenu .each {
    margin: 0 0 20px 0;
  }

  #news .sortmenu .select {
    height: 44px;
    background-color: #fafafa;
  }

  #news .sortmenu .item {
    background-color: #fafafa;
  }
}


@media screen and (max-width: 600px) {

  /* hover を無効化 */
  #news .each_post:hover {
    background-color: inherit;
  }

  #news .each_post:hover .title_each_post {
    color: inherit;
  }

  #news {
    width: calc(100% - 56px);
    gap: 32px;
  }

  #news .content {
    gap: 32px;
  }

  /* sortmenu */
  #news .sortmenu {
    padding: 20px;
  }

  #news .sortmenu .subject,
  #news .sortmenu .select {
    font-size: 13px;
  }

  #news .sortmenu .subject {
    margin: 0 0 12px 0;
  }

  #news .sortmenu .item {
    padding: 16px;
    font-size: 11px;
  }


  /* posts */
  #news .inner {
    padding: 24px 0;
  }

  #news .date_posted {
    font-size: 10px;
  }

  #news .title_each_post {
    font-size: 15px;
  }

  #news .category {
    font-size: 10px;
  }

  #news .thumbnail {
    width: 110px;
  }
}