@charset "UTF-8";

body{
  font-family: Meiryo;
  text-align: center;
}

img {
  vertical-align: middle;
}

.no-wrap{
  white-space: nowrap;
}

.header{
  position: relative;
  letter-spacing: 2px;
  padding: 30px 0 15px;
  font-size: 3rem;
  font-family: "Scope One", Meiryo;
}

@media screen and (max-width:768px) {
  .header{
    font-size: 20px;
  }
}

/* セクションのタイトル関連 */
.heading {
  display: inline-block;
  position: relative;
  margin: 30px 0 15px;
  padding-bottom: 15px;
  letter-spacing: 2px;
  font-size: 4rem;
}
.heading::before,
.heading::after{
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #999;
}
.heading::before{
    bottom: 5px;
}
.heading-main,.heading-sub{
  display: block;

}
.heading-main{
  font-size: 30px;
  font-feature-settings: "palt";
}
@media screen and (max-width:768px) {
  .heading-main{
    font-size: 25px;
  }
}
@media screen and (max-width:480px){
  .heading-main{
    font-size: 20px;
}
}

.heading-sub{
  font-size: 18px;
}

/* ページ切り替え */
.nav {
  padding: 10px 0;
  background-color: #dedfe8;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.nav-link {
  font-size: 14px;
  font-weight: bold;
}
@media screen and (max-width:480px) {
  .nav{
  gap: 20px;
  }
  .nav-link{
  font-size: 12px;
  }

}
/* 経営理念 */
.philosophy {
  padding: 70px 30px;
  background-color: #00437a;
  color: #fff;
  display: flex;
  flex-flow: column;
  align-items: center;
}
.philosophy-text-block {
  max-width: 920px;
}
.philosophy-text {
  margin: 30px 0;
  line-height: 2.5;
  text-align: left;
}
.philosophy-annotation-text{
    padding:0 30px ;
    font-size: 11px;
    text-align: left;
}
@media screen and (max-width:768px) {
  .philosophy-text{
    font-size: 12px;
  }
}
@media screen and (max-width:480px) {
  .philosophy{
    padding: 40px 30px
  }
}
/* 事業概要 */
.contents {
  display: flex;
  flex-flow: column;
  align-items: center;
}
.contents-text-block {
  max-width: 500px;
}
@media screen and (max-width:480px) {
  .contents-text-block{
    padding: 0 10px;
  }
}
.works-wrapper{
  display: table;
  width: 100%;
  margin-top: 60px;
  table-layout: fixed;
}
.work-box{
  display: table-cell;
}
.works {
  padding: 80px 0;
}

.button {
  display: inline-block;
  width: 200px;
  padding: 20px;
  border-radius: 4px;
  background-color: #afa58d;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 1.2rem;
}
.botton:hover {
opacity: 0.9;
}

.footer{
  padding: 12px;
  font-size: 1.3rem;
  background-color: #dedfe8;
}

.work-text .button{
  width: 60%;
  margin-top: 20px;
  padding:3px;
}
.work-title{
  font-weight: bold;
}
ol {
  counter-reset: number;
  list-style-type: none !important;
  padding:0.5em;
}
ol li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
  text-align: left;
}
ol li:before{
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*以下数字のデザイン変える*/
  display:inline-block;
  font-weight:bold;
  font-size: 10px;
  border: 1px solid black;
  border-radius: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

a,a:visited {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: gray;
  text-decoration: none;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about > table {
  margin: 30px;
  text-align: left;
}
th,td {
  padding: 5px 10px;
}
th {
  border: 1px solid white;
  background-color: #00437a;
  color: white;
  font-weight: normal;
  width:4rem
}
td {
  border-right: 1px solid #dedfe8;
}
tr:first-child > td {
  border-top: 1px solid #dedfe8;
}
tr:not(:last-child) > td {
  border-bottom: 1px solid #777777;
}
tr:last-child > td {
  border-bottom: 1px solid #dedfe8;
}
.book-list {
  width: auto;
  display: grid;
  justify-content: space-between;
  margin-bottom: 20px;
  column-gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
}
@media screen and (max-width:768px) {
  .book-list{
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width:480px) {
  .book-list{
    grid-template-columns: 1fr;
  }
}
.book {
  text-align: left;
  font-size: 12px;
}
.book img {
  width: 200px;
  height: 280px;
  object-fit: cover;
  border: 1px solid black;
}
.book-title{
  margin-block-start:5px;
  margin-block-end: 0px;
}
.book-publisher{
    margin-block-start:0px;
  margin-block-end: 20px;
}
.lecture-padding{
  margin-right: 35px;
}
.lecture-list{
  list-style:none;
  margin-bottom: 20px;  
  text-align: left;
}
a.lecture-link{
  color: #00437a;
  font-weight: bold;
  font-size: 14px;
}
.lecture-link-icon{
  width: 16px;
  height: auto;
}
.paper-padding{
  margin-right: 35px;
}
.paper-list{
  list-style-type: none; /* 点を消す */
  padding-left: 0; /* 左の余白を消す */
  margin-bottom: 20px;  
  text-align: left;
}
.paper-link-icon{
  width: 16px;
  height: auto;
}
a.paper-link{
  color: #00437a;
  font-weight: bold;
  font-size: 14px;
}
