@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* リセット */
body {
  background-color: #ffffff;
}

.content-in {
  width: 100%;
  margin: 0;
}

main.main {
  padding: 0;
}

h2 {
  line-height: 1;
}

address {
  font-style: normal;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: #0080c1;
  text-decoration: none;
}

article {
  max-width: 800px;
  margin: auto;
  margin-top: 3rem;
}

.under-entry-content,
.breadcrumb {
  max-width: 800px;
  margin: auto;
}

.wrap_research input {
  display: none;
}

#content {
  margin: 0;
}

.wrap_lower {
  max-width: 800px;
  margin: auto;
}

.home #content-in {
  max-width: 100%;
  width: 100%;
}

.home #content-in main {
  padding: 0;
}

.sp_br {
  display: none;
}

/* リンク */
.a_research_top {
  display: block;
  margin-top: 0.5rem;
  text-align: right;
  font-size: 14px;
}

.a_topicpage {
  padding-right: 1.5rem;
  font-size: 14px;
  font-weight: 500;
}

.a_topicpage::after {
  box-sizing: border-box;
  content: "\f138";
  display: block;
  font-family: "Font Awesome 5 Free";
  padding: 5px;
  position: absolute;
  right: 0;
  top: 0px;
  font-weight: 900;
}

.a_member_cv {
  font-size: 0.75rem;
}

/* ボタン */
.wrap_btn {
  max-width: 800px;
  margin: auto;
  margin-bottom: 6rem;
}

.switch_lang_nav {
  display: flex;
  align-items: center;
  padding-left: 2rem;
  font-weight: 700;
}

.switch_jp {
  display: block;
  background-color: #0080c1;
  border: solid 1px #0080c1;
  color: #ffffff;
  border: solid 1px #0080c1;
  padding: 0.5rem 1rem;
  border-radius: 25px 0 0 25px;
}

.btn {
  display: block;
  margin-top: 1.5rem;
  margin-left: auto;
  width: 250px;
  background-color: #0080c1;
  border-radius: 0;
}

/* header */
.wrap_header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
}

.inwrap_header {
  max-width: 1200px;
  height: 125px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wrap_logo_header {
  height: 100%;
  display: flex;
  align-items: center;
  line-height: 1.25;
  color: #0080c1;
  font-weight: 700;
}

.wrap_logo_header img {
  width: 200px;
}

.txt_logo_header {
  font-size: 14px;
}

.txt_logo_header span {
  font-size: 20px;
}

/* nav */
.sub_txt_nav {
  display: block;
  font-size: 14px;
  color: #70c0e9;
  font-weight: 900;
  line-height: 0.5;
}

.li_nav {
  width: 125px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.li_nav::before {
  content: "";
  vertical-align: middle;
  padding-right: 5px;
  display: block;
  width: 30px;
  margin: auto;
}

.navbar {
  display: flex;
  height: 100%;
  align-items: center;
}

.current_nav::before {
  content: url("./img/current_icon.svg");
  vertical-align: middle;
  padding-right: 5px;
  display: block;
  width: 30px;
  margin: auto;
}

/* footer */
#footer {
  color: #000000;
  background-color: #70c0e9;
  padding: 1.5rem 0;
}

.copyright {
  display: block;
  line-height: 1.25;
}

/* 見出し */
.h1_top {
  margin: 2rem 0;
  text-align: center;
  font-size: 1.75rem;
  line-height: 1.25em;
}

.h1_lower {
  text-align: center;
  color: #c9e3f1;
  font-size: 4rem;
  font-weight: 700;
}

.h2_top {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.h2_member {
  font-size: 1.5rem;
  padding-left: 0.5rem;
  border-left: solid 5px #0080c1;
}

.h2_graduate {
  max-width: 800px;
  margin: auto;
  margin-top: 4em;
  padding-bottom: 1rem;
  color: #0080c1;
  border-bottom: solid 1px #0080c1;
}

.h2_topic {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  margin-top: 1rem;
}

.h2_topic::before {
  content: "";
  width: 10%;
  height: 10px;
  margin-right: 5px;
  background-color: #0080c1;
}

.h2_access {
  margin-bottom: 1.5rem;
  font-size: 20px;
  font-weight: 700;
}

.h3_access {
  font-size: initial;
}

.h_research_top {
  display: block;
  padding-bottom: 1rem;
  line-height: 1.25;
  border-bottom: solid 1px #d4d4d4;
  font-size: 14px;
}

.heading2_research {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.subheading_research {
  font-size: 18px;
  margin-top: 1.5rem;
}

/* section */
.wrap_1stview,
.home section {
  margin-bottom: 6rem;
}

#research-top {
  background-image: url(./img/bg_top_research.webp);
  background-repeat: no-repeat;
  background-position: 10% 150px;
  background-size: cover;
  margin-bottom: 0;
  padding-bottom: 3rem;
}

#about-lab {
  max-width: 800px;
  margin: auto;
  margin-top: 5rem;
  margin-bottom: 6rem;
}

.section_research {
  max-width: 800px;
  position: relative;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: #ffffff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border-top: solid 10px #70c0e9;
}

.section_research::before {
  position: absolute;
  content: " ";
  display: block;
  border-top: solid 10px #0080c1;
  top: -10px;
  width: 70%;
}

.section_research:last-of-type {
  margin-bottom: 0;
}

#topic {
  margin-top: 4rem;
}

/* wrap */
.wrap_width {
  max-width: 800px;
  margin: auto;
}

.wrap_about_top {
  display: flex;
  justify-content: space-around;
}

.wrap_h2_topic {
  position: relative;
  max-width: 800px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.wrap_member {
  max-width: 800px;
  margin-top: 2rem;
}

.wrap_topic {
  max-width: 800px;
  margin: auto;
  padding: 2.5rem 0;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border-radius: 0 0 100px 100px;
  border-top: solid 10px #70c0e9;
  position: relative;
}

.wrap_topic::before {
  position: absolute;
  content: " ";
  display: block;
  border-top: solid 10px #0080c1;
  top: -10px;
  width: 70%;
}

.wrap_research {
  background: url(./img/bg_research.webp);
  background-repeat: no-repeat;
  background-position: 50% 500px;
  background-size: cover;
}

.wrap_footer {
  max-width: 800px;
  margin: auto;
}

/* in wrap */
.slider_top img {
  width: 100%;
  height: 500px;
  object-fit: contain;
}

.inwrap_research_top_h {
  margin-top: 1rem;
  font-weight: 500;
}

.inwrap_research_top_img img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  position: bottom;
}

.inwrap_about_top {
  width: 45%;
  text-align: center;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.inwrap_about_top img {
  display: block;
  max-height: 200px;
  margin: auto;
  margin-bottom: 1rem;
}

.inwrap_about_top a {
  display: block;
  padding: 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: #000000;
}

.inwrap_member_photo img {
  width: 250px;
}

.inwrap_access {
  border-top: solid 10px #70c0e9;
  position: relative;
  padding: 1rem;
}

.inwrap_access::before {
  position: absolute;
  content: " ";
  display: block;
  border-top: solid 10px #0080c1;
  top: -10px;
  width: 70%;
}

.inwrap_address {
  margin-bottom: 1rem;
  font-size: 14px;
  line-height: 1.5;
}

/* ul・li */
.li_research_top {
  margin: 0 4px;
  padding: 1rem;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 40%,
    #ffffff 40%,
    #ffffff 100%
  );
  text-align: center;
}

.ul_topic_top {
  background-color: #f9f9f9;
}

.ul_topic_top li {
  max-width: 800px;
  margin: auto;
  padding: 1.5rem 0.5rem;
}

.ul_topic_top li a {
  font-weight: 700;
  text-decoration: none;
}

.ul_research {
  margin-top: 1rem;
  margin-bottom: 4rem;
  background-color: #f9f9f9;
  font-size: 14px;
}

.ul_research li {
  text-align: center;
}

.ul_research li:last-of-type {
  border: none;
}

.ul_research li a {
  display: block;
  padding: 1rem 0;
  font-weight: 500;
  text-decoration: none;
}

/* text */
.txt_top {
  line-height: 1.25em;
}

.txt_member {
  padding: 1rem;
}

.txt_career {
  font-size: 14px;
  line-height: 1.5;
}

.txt_member h3 {
  display: flex;
  align-items: center;
  color: #0080c1;
}

.txt_member h3::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #0080c1;
  margin-left: 1rem;
}

.txt_topic {
  margin: 1rem 2rem 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: solid 1px #d4d4d4;
}

/* img */
.img_footer_logo {
  width: 200px;
}

/* Reseach アコーディオン */
.label_acd {
  display: block;
  position: relative;
  margin-bottom: 1rem;
}

.content_acd {
  font-size: 16px;
  line-height: 1.5;
}

/* Research 開閉 */
.check_acd {
  display: none;
}

.label_acd {
  cursor: pointer;
  display: block;
  margin-bottom: 1px;
  padding: 10px;
  position: relative;
}

.label_acd:after {
  box-sizing: border-box;
  content: "\f107";
  display: block;
  font-size: 1rem;
  font-family: "Font Awesome 5 Free";
  height: 60px;
  padding: 10px 20px;
  position: absolute;
  right: 0;
  top: 0px;
  font-weight: 900;
}

.content_acd {
  display: block;
  height: 0;
  opacity: 0;
  padding: 0 10px;
  transition: 0.5s;
  visibility: hidden;
  display: none;
}

.check_acd:checked + .label_acd:after {
  content: "\f106";
}

.check_acd:checked + .label_acd + .content_acd {
  height: auto;
  opacity: 1;
  padding: 10px;
  visibility: visible;
  display: block;
}

/* slick */
div.slick-track {
  display: flex;
}

.slick-slide {
  height: auto !important;
}

.slick-prev:before,
.slick-next:before {
  position: absolute;
  font-size: 32px;
}

.slick-prev {
  z-index: 1;
  left: 50px;
}

.ul_research_top .slick-next {
  z-index: 1;
  right: 0px;
}

.ul_research_top .slick-prev::before {
  content: "\f137";
  left: 22px;
  color: #000000;
  font-size: 32px;
}

.ul_research_top .slick-next::before {
  content: "\f138";
  right: -10px;
  color: #000000;
  font-size: 32px;
}

.nav-links .page-numbers {
  display: flex;
  justify-content: center;
  color: #0080c1;
  font-weight: 700;
}

.page-numbers {
  border: none;
}

.page-numbers li * {
  border-radius: 50px;
}

.page-numbers.current {
  color: #ffffff;
  background-color: #0080c1;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*768px以上*/
@media screen and (min-width: 768px) {
  video {
    max-width: 250px;
    height: 300px;
  }

  /* header */
  .wrap_header {
    border-bottom: solid 5px #0080c1;
    background-color: #ffffff;
  }

  .ul_nav {
    display: flex;
  }

  .wrap_1stview {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 4rem;
  }

  .wrap_img_research {
    display: flex;
    align-items: flex-start;
  }

  .wrap_img_research.video video {
    max-width: 100%;
  }

  .wrap_img_research.flex2 {
    flex-wrap: wrap;
  }

  .wrap_img_research.flex2 img {
    max-width: 100%;
  }

  .wrap_img_research.flex2 video {
    max-width: 100%;
  }

  .wrap_img_research img {
    max-width: 250px;
    height: 300px;
    max-height: 100%;
    object-fit: cover;
    padding: 10px;
  }

  .wrap_member {
    display: flex;
    margin: auto;
    margin-top: 3rem;
  }

  .wrap_access {
    display: flex;
  }

  /* in wrap */
  .inwrap_1stview_img {
    max-width: 400px;
  }

  .inwrap_1stview_img img {
    height: 400px;
    object-fit: contain;
  }

  .inwrap_1stview_txt {
    width: 50%;
    padding: 2rem;
    font-size: 16px;
  }

  .inwrap_about_top {
    width: 350px;
    background-color: #f9f9f9;
  }

  .inwrap_access {
    width: 50%;
    margin-right: 3rem;
  }

  .inwrap_map {
    width: 50%;
  }

  /* in wrap */
  .inwrap_member_txt {
    width: calc(100% - 250px);
  }

  /* ul・li */
  .ul_research_top {
    display: flex;
    justify-content: space-around;
  }

  .li_research_top {
    width: 30%;
  }

  /* text */
  .txt_member h3 {
    font-size: 1.25rem;
  }

  .label_acd:after {
    font-size: 1.5rem;
  }
}

/*1023px以上*/
@media screen and (min-width: 1023px) {
  /* wrap */

  .inwrap_1stview_img {
    max-width: 500px;
  }

  .inwrap_left {
    width: 70%;
  }

  .inwrap_right {
    width: 30%;
  }

  .ul_research {
    max-width: 800px;
    display: flex;
    justify-content: space-evenly;
  }
}

/* 1023以下 */
@media screen and (max-width: 1023px) {
  /* nav */
  .wrap_header {
    width: 100%;
    top: 0;
    height: 100px;
    background-color: #0080c1;
  }

  .inwrap_header {
    height: 70px;
  }

  .wrap_logo_header img {
    display: block;
    width: 175px;
    margin: 1rem;
  }

  .txt_logo_header a {
    display: none;
  }

  .current_nav::before {
    content: none;
  }

  .navbar {
    padding-top: 100px;
  }

  .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 20px;
    top: 15px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    background: #ffffff;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 10px;
  }

  .hamburger span:nth-child(2) {
    top: 20px;
  }

  .hamburger span:nth-child(3) {
    top: 30px;
  }

  /* スマホメニューを開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    background: #fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 16px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /* メニュー背景　*/
  nav.navbar {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #fff;
    background: #0080c1;
    text-align: center;
    width: 100%;
    transform: translateX(100%);
    transition: all 0.6s;
  }

  nav.navbar ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }

  nav.navbar ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: 0.4s all;
  }

  nav.navbar ul li:last-child {
    padding-bottom: 0;
  }

  nav.navbar ul li:hover {
    background: #ddd;
  }

  nav.navbar ul li a {
    display: block;
    color: #fff;
    padding: 1em 0;
    text-decoration: none;
  }

  /* クリックでjQueryで追加・削除 */
  nav.navbar.active {
    opacity: 100;
    display: block;
    transform: translateX(0%);
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  .txt_top {
    margin-top: 2rem;
  }

  article {
    padding: 1rem;
  }

  .sp_br {
    display: block;
  }

  .slider_top img {
    height: 300px;
  }

  /* link */
  .a_topicpage {
    padding-right: 2rem;
  }

  .a_topicpage::after {
    font-size: 20px;
    padding-right: 1rem;
  }

  .switch_lang_nav {
    justify-content: center;
    margin: 0;
    padding: 1rem 0;
  }

  /* section */
  #research-top {
    background-image: url(./img/bg_top_research_sp.webp);
  }

  #about-lab {
    padding: 0 1rem;
  }

  .section_research {
    padding: 1rem;
  }

  /* 見出し */
  .h1_lower {
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 3rem;
  }

  .wrap_h2_topic {
    padding: 0 1rem;
  }

  /* footer */
  #footer {
    padding: 2rem 1rem;
  }

  .address_footer {
    display: block;
    margin-top: 1rem;
    line-height: 1.25;
  }

  /* wrap */
  .wrap_btn {
    padding: 0 1rem;
  }

  .wrap_width {
    padding: 0 1rem;
  }

  .wrap_lower {
    padding: 0 1rem;
  }

  .wrap_research {
    background-position: 80% 200px;
  }

  .wrap_member {
    padding: 0 1rem;
  }

  /* in wrap */
  .inwrap_about_top img {
    max-height: 100px;
    margin-bottom: 0.5rem;
  }

  .inwrap_about_top a {
    padding: 1.5rem;
  }

  .inwrap_member_photo {
    text-align: center;
  }

  .inwrap_member_photo img {
    width: 175px;
  }

  .inwrap_access {
    padding: 1rem 0;
  }

  /* ul・li */
  .ul_topic_top li {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ul_research {
    display: none;
  }

  /* text */
  .inwrap_1stview_txt {
    padding: 0 1rem;
  }

  .txt_a_topic {
    display: flex;
    align-items: center;
  }

  .txt_member h3 {
    font-size: 1rem;
  }

  /* slick */
  .slick-prev:before,
  .slick-next:before {
    position: absolute;
    font-size: 32px;
  }

  .slick-prev {
    z-index: 1;
    left: 50px;
  }

  .ul_research_top .slick-next {
    z-index: 1;
    right: 0px;
  }

  .ul_research_top .slick-prev::before {
    content: "\f137";
    color: #000000;
    font-size: 24px;
  }

  .ul_research_top .slick-next::before {
    content: "\f138";
    color: #000000;
    font-size: 24px;
  }
}
