@charset "UTF-8";

:root {
  --color-graphite: #594e52;
  --color-magenta: #e4007f;
  --color-sapphire-blue: #0068b7;
  --color-heavenly-blue: #7fb2df;
  --linear-gradient: linear-gradient(90deg, #ec4ca5 0%, #7fb2df 100%);
  --linear-gradient-inversion: linear-gradient(90deg, #7fb2df 0%, #ec4ca5 100%);
}

/* ------------------------------------ */
/*  YELL
/* ------------------------------------ */
/* --- header --- */
.yell-header {
  padding-top: 50px;
}

.yell-header-top {
  max-width: 95%;
  width: 1000px;
  margin: 0 auto;
}

.yell-header-img {
  position: relative;
  margin-bottom: -50px;
  z-index: 2;
}

.yell-header-img img {
  margin: 0;
}

.yell-header-bottom {
  padding: 100px 0 80px;
  background-image: linear-gradient(90deg, rgba(104, 164, 217, .1), rgba(228, 0, 127, .1));
}

.yell-header-text {
  max-width: 90%;
  width: 1000px;
  margin: 0 auto;
}

.yell-header-bottom .yell-header-text h1,
.yell-header-text p {
  color: var(--color-graphite);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: .3rem;
}

.yell-container {
  background-image: linear-gradient(90deg, rgba(104, 164, 217, .1), rgba(228, 0, 127, .1));
}

/* --- 一覧 --- */
#main .yell-container #content-wrap {
  padding-top: 0;
}

.yell-entry {
  display: block;
  background-color: #fff;
  border-radius: 10px;
  transition: .3s all ease;
}

.yell-entry:hover {
  background-color: var(--color-sapphire-blue);
}

.yell-meta-wrap {
  padding: 10px 15px 20px;
}

.yell-meta {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--color-sapphire-blue);
  transition: .3s all ease;
}

.yell-meta-wrap .yell-text {
  font-size: 20px;
}

.yell-entry:hover .yell-meta,
.yell-entry:hover .yell-meta-wrap .yell-text {
  color: #fff;
}

/* --- 個別 --- */
.yell-container .content-area {
  padding: 0;
  border: 0;
}

.yell-entry-header .yell-thumb img {
  width: 100%;
}

.yell-entry-header .yell-text {
  padding: 35px 0 50px;
  border-bottom: 3px solid;
  border-image: var(--linear-gradient-inversion) 1;
}

.yell-entry-header .yell-date {
  margin-bottom: 10px;
  color: var(--color-magenta);
  font-size: 20px;
  font-weight: bold;
  font-family: "Oswald", Sans-serif;
}

.yell-entry-header .yell-comment {
  margin-bottom: 20px;
  color: var(--color-graphite);
  font-size: 2em;
  font-weight: bold;
  line-height: 1.4;
}

.yell-entry-header .yell-term {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0 0 50px;
}

.yell-term li a {
  padding: 5px 10px;
  border-radius: 25px;
  color: var(--color-sapphire-blue);
  background-color: #fff;
  line-height: 1;
  font-weight: bold;
}

.yell-entry-header .yell-name {
  margin-bottom: 15px;
  color: var(--color-graphite);
}

.yell-entry-header .yell-company {
  font-size: 1.4em;
  font-weight: bold;
}

.yell-border-grad {
  border-image: var(--linear-gradient-inversion) 1;
}

.yell-info {
  font-weight: bold;
}

.t-company-wrap {
  margin-bottom: 20px;
}

.t-company-wrap .yell-co-mgr-dept,
.t-alumni-wrap .yell-grad_dept {
  font-size: 1.2em;
}

.t-company-wrap .yell-co-mgr-name,
.t-alumni-wrap .yell_grad_name {
  font-size: 2em;
  line-height: 1.2;
}

.name-small {
  font-size: .7em;
}

.yell-container .entry-content {
  margin-top: 35px;
}

.yell-comment,
.h-mozi-tume{
  font-feature-settings: "palt";
}

/* --- 個別 関連記事 --- */
.related-posts {
  margin-top: 100px;
}

.related-posts h2 {
  margin-bottom: 30px;
}

.related-posts .related-list {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin: 0;
  list-style: none;
}

.related-posts .related-list .related-item {
  display: flex;
  flex-direction: column;
  width: calc((100% - 30px) / 3);
  overflow: hidden;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 6px -3px #000;
}

.related-posts .related-list .related-item:hover {
  background-color: var(--color-sapphire-blue);
  transition: .3s all ease;
}

.related-posts .related-meta-wrap {
  padding: 10px 10px 20px;
}

.related-posts .related-meta {
  color: var(--color-sapphire-blue);
  font-size: 14px;
  transition: .3s all ease;
}

.related-posts .related-text {
  color: var(--color-graphite);
  font-size: 20px;
  line-height: 1.5;
  transition: .3s all ease;
}

.related-posts .related-item:hover .related-meta,
.related-posts .related-item:hover .related-text {
  color: #fff;
}

/* --- 個別 一覧へ戻るボタン --- */
.return-yell-button-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.return-yell-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: relative;
  width: 300px;
  z-index: 0;
  padding: 5px 24px;
  border-radius: 50px;
  color: #fff;
  background-image: var(--linear-gradient-inversion);
  overflow: hidden;
  transition: all .3s ease;
}

.return-yell-button::before,
.return-yell-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.return-yell-button::before {
  z-index: -1;
  background-image: var(--linear-gradient-inversion);
  transition: all .3s ease;
}

.return-yell-button:hover::before {
  opacity: 0;
}

.return-yell-button::after {
  z-index: -2;
  background-image: var(--linear-gradient);
}

.return-yell-button-wrap .return-yell-btn-txt {
  color: #fff;
}

.return-yell-button-wrap .return-yell-btn-img {
  display: flex;
  align-items: center;
}

.return-yell-button-wrap .return-yell-btn-img img {
  width: 15px;
  height: auto;
}


@media print, screen and (max-width: 767px) {

  /* --- header --- */
  .yell-header-top {
    max-width: 90%;
    margin: 0 auto 0 0;
  }

  .yell-meta {
    font-size: 14px;
  }

  .yell-header-bottom .yell-header-text h1,
  .yell-header-text p {
    font-size: 15px;
    letter-spacing: .1rem;
  }


  /* --- 個別 --- */
  .yell-entry-header .yell-text {
    padding: 30px 0;
  }

  .yell-entry-header .yell-date {
    margin-bottom: 5px;
  }

  .yell-entry-header .yell-comment {
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .yell-entry-header .yell-term {
    margin-bottom: 30px;
  }

  .yell-entry-header .yell-name {
    margin-bottom: 10px;
  }

  .yell-entry-header .yell-company {
    margin-bottom: 5px;
  }

  .yell-entry-header .yell-thumb{
    width: 100vw;
    height: 300px;
    margin: 0 calc(50% - 50vw);
  }
  .yell-entry-header .yell-thumb img{
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .yell-entry-header .yell-mintext{
    font-size: .9em;
  }



  /* --- 個別 関連記事 --- */
  .related-list .related-item:nth-child(3) {
    display: none;
  }

  .related-posts .related-list .related-item {
    width: calc((100% - 30px) / 2);
  }

  .related-posts .related-meta {
    font-size: 14px;
  }

  .related-posts .related-text {
    font-size: 15px;
  }
}
