/*
Theme Name: genken
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

@charset "UTF-8";

* {
  box-sizing: border-box;
} /*全ての要素をborder-boxにするーーコンテンツ、border、paddingの合計がwidthと解釈される*/

html {
  font-size: 100%;
}
/*設定した文字サイズを正しく反映*/

img {
  max-width: 100%;
}
/*画像の大きさの指定。画像が親要素よりも大きくなることを防ぐ*/

body {
  background-color: white;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

a {
  cursor: pointer;
}

main {
  margin: 0 auto;
}

.think-tank-function-title {
  width: 69.44%;
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
}

.think-tank-function-title h1 {
  margin-bottom: 0;
}
#think-tank-function-visual {
  width: 70%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.border-only {
  width: 100%;
  height: 0px;
  border: solid #4070bf 3px;
  margin-top: 80px;
}

.think-tank-function-wrap {
  width: 58.33%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  text-align: justify;
}

.think-tank-function-contents,
.research-report-contents {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.think-tank-function-contents p,
research p {
  font-size: 20px;
  line-height: 1.45;
}

/* Luandinhvo */
.think-tank-function-contents h2 {
  font-size: 32px;
  font-weight: bold;
  background-image: url('./_g3/image/vector.png');
  background-repeat: no-repeat;
  background-position: left bottom;
  margin-bottom: 30px;
  padding-left: 20px;
  width: 300px;
}
/* Luandinhvo */

.think-tank-function-contents ul {
  font-size: 20px;
  line-height: 1.45;
  list-style: disc;
}

.research {
  margin-top: 50px;
}

.research h3,
.research-report-contents h3,
.research-report-item h3,
.books-intro-wrap h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.research-report-container-wrap,
.books-intro-wrap {
  width: 58.33%;
  margin-left: auto;
  margin-right: auto;
}

.research-report-container-wrap {
  margin-top: 30px;
}

.research-report-container {
  width: 100%;
  display: grid;
  grid: wrap;
  row-gap: 30px;
}

.research-report-item {
  border: 3px solid #4070bf;
  padding: 16px 30px;
  margin-bottom: 30px;
}

.research ul {
  font-size: 20px;
  line-height: 1.45;
}

.research-report-item p {
  font-size: 20px;
  height: 1.45;
}

.books-intro-wrap {
  margin-top: 50px;
}

.books-intro-container {
  display: flex;
  justify-content: space-between;
  gap: 50px 100px;
  margin-top: 50px;
}

.books-intro-item {
  width: 24.16%;
  flex: 1;
}

.books-intro-title,
.books-intro-okuduke {
  font-size: 16px;
  line-height: 1.75;
}

.books-intro-title {
  margin-top: 55px;
}

.think-item{
  display: flex;
}

.think-title{
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.category {
  border: 2px solid #2e2d2d;
  border-radius: 10px;
  padding: 3px 10px;
  margin: 3px;
  white-space: nowrap;
  height: fit-content;
}

.think-title h3{
  font-size: 17px;
  margin-bottom: 0px;
}

.think3 {
  display: flex;
  justify-content: space-between;
}

.think-img{
  width: 35%;
  max-width: 250px;
}

.think-tank-function-label{
  position: relative;
  top: -45px;
}


.label-position{
  width: 69.44%;
  margin: 30px auto 0 auto;
}

.label-position h2{
  margin-left: 20px;
}


/*====================メディアクエリーcss=======*/

@media (max-width: 900px) {
  .label-position {
    width: 95%;

  }
  .think-tank-function-label{
    width: 85%;
    top: -45px; 
  }

  .think-tank-function-title {
    width: 94.67%;
    margin-top: 20px;
  }

  #think-tank-function-visual {
    width: 100%;
  }

  .border-only {
    margin-top: 20px;
  }

  .think-tank-function-wrap {
    width: 82.4%;
    margin-top: 30px;
  }

  .think-tank-function-contents h2 {
    font-size: 24px;
    margin-bottom: 0px;
  }

  .think-item{
    flex-direction: column;
  }
  .think-img{
    width: 100%;
    max-width: 600px;
    margin: auto;
  }
  .think-title{
    width: 100%;
  }

  .think3{
    flex-direction: column-reverse;
  }

  .category{
    margin-left: auto;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .think-tank-function-contents,
  .research-report-contents {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .think-tank-function-contents p,
  research p {
    font-size: 15px;
  }

  .think-tank-function-contents ul,
  .research ul {
    font-size: 15px;
  }

  .think-tank-function-contents p {
    font-size: 15px;
    margin-bottom: 0;
  }

  .research {
    margin-top: 30px;
  }

  .research h3,
  .research-report-contents h3,
  .research-report-item h3,
  .books-intro-wrap h3 {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .research-report-container-wrap {
    width: 84%;
    display: grid;
    grid: wrap;
    row-gap: 30px;
  }

  .research-report-item p,
  .page-numbers {
    font-size: 15px;
  }

  .books-intro-wrap {
    width: 60%;
    margin-top: 25px;
  }

  .books-intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .books-intro-item {
    width: 90.22%;
    margin: 30px, auto 0;
  }

  .books-intro-title,
  .books-intro-okuduke {
    margin: 20px auto 0;
    font-size: 14px;
  }
}
