@charset "UTF-8";

/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
.toc_title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 0;
    font-size: 16px;
    line-height: calc(23.17 / 16);
    font-weight: 700;
    width: 100%;
    margin-bottom: 20px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.toc_title:before {
    content: '';
    display: inline-block;
    width: calc(50% - (1em + 20px));
    height: 1px;
    background-color: #000;
    margin-right: 20px;
}
.toc_title:after {
    content: '';
    display: inline-block;
    width: calc(50% - (1em + 20px));
    height: 1px;
    background-color: #000;
    margin-left: 20px;
}

p .toc_toggle {
    text-indent: -9999px;
}

.post_content #toc_container .toc_list {
    font-size: 16px;
    line-height: calc(23.17 / 16);
    margin-bottom: 43px !important;
    overflow-y: hidden;
}
#toc_container a{
  color:#000000
}
.toc_toggle a {
    position: absolute;
    bottom: 0;
    text-align: center;
    display: block;
    color: #000;
    margin: 0px auto 10px;
    font-size: 14px;
    line-height: calc(20 / 14);
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
    -webkit-transform: translateX(-70%);
    transform: translateX(-70%);
    cursor: pointer;
    padding: 0 9px;
    text-indent: 0;
}

.contracted p .toc_toggle a:after {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left: 6px;
    display: inline-block;
    content: "";
    width: 12.5px;
    height: 9px;
    background: center/contain no-repeat url(./img/arrow-down.svg);
}

.post_content #toc_container {
    width: 100% !important;
    position: relative;
    padding: 20px;
    padding-bottom: 0;
    background-color: #F5F5F5;
    border: 1px solid #aaa;
}

.contracted .toc_list {
    max-height: 78px;
    overflow-y: clip;
}
.contracted:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 30px;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
}
.post_content #toc_container.contracted {
    border-bottom: 0;
}

.supervisor {
  background-color: rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.25rem 1.75rem;
}

.supervisor__title {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.5rem;
  position: relative;
}

.supervisor__title::before {
  content: "";
  display: inline-block;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 2px;
  z-index: 1;
  background: var(--color_main);
  position: absolute;
}

.supervisor__title::after {
  content: "";
  display: inline-block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color_border);
  position: absolute;
}

.supervisor__wrapper {
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .supervisor__wrapper {
    display: grid;
    grid-template-columns: 12.5rem auto;
    gap: 1.5rem;
  }
}
.supervisor__image-wrapper {
  display: grid;
  grid-template-columns: 8.75rem auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (min-width: 600px) {
  .supervisor__image-wrapper {
    display: block;
  }
}
.supervisor__image {
  aspect-ratio: 1/1;
  margin: 0 1.5rem;
  position: relative;
}

.supervisor__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
}

@media (min-width: 600px) {
  .supervisor__name-wrapper {
    margin-top: 0.5rem;
  }
}
.supervisor__name {
  font-weight: 700;
  text-align: center;
}

.supervisor__icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding-left: 0 !important;
  margin-top: 0.5rem;
}

.supervisor__icon {
  margin: 0 !important;
}

.supervisor__icon a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
}

@media (hover: hover) {
  .supervisor__icon a {
    transition: opacity .5s;
  }  
  .supervisor__icon a:hover {
    opacity: .5;
  }
}

.supervisor__contents {
  background: #fff;
  padding: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 600px) {
  .supervisor__contents {
    padding: 1.5rem;
    margin-top: 0;
  }
}

/* ===========================
   Bigger hero post slider
   =========================== */
.p-postSlider {
  padding-top: 30px;
  padding-bottom: 30px;
}
.p-postSlider__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}
.p-postSlider .p-postList__thumb,
.p-postSlider .swiper-slide .c-postThumb {
  aspect-ratio: 16 / 9;
  height: auto !important;
}
.p-postSlider .swiper-slide img,
.p-postSlider .c-postThumb__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-postSlider .p-postList__title,
.p-postSlider .swiper-slide .p-postList__title {
  font-size: 20px;
  line-height: 1.5;
  margin-top: 12px;
}
@media (min-width: 960px) {
  .p-postSlider {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .p-postSlider__title {
    font-size: 40px;
    margin-bottom: 32px;
  }
  .p-postSlider .p-postList__title,
  .p-postSlider .swiper-slide .p-postList__title {
    font-size: 22px;
  }
}
@media (max-width: 599px) {
  .p-postSlider__title {
    font-size: 24px;
  }
  .p-postSlider .p-postList__title,
  .p-postSlider .swiper-slide .p-postList__title {
    font-size: 17px;
  }
}