/* CSS Document */

/*-------------
    about
--------------*/
li {
	list-style: none;
}
th,td {
	font-family: 'Noto Sans JP', sans-serif;
}
.about__container {
	padding-top: 5rem;
	padding-bottom: 5rem;
}
.about__container h3 {
	font-size: 1.74rem;
	margin: 5rem 0;
	font-weight: 500;
}
.about__title--wrap {
	background: rgba(215,185,143,0.2);
	padding-top: 5rem;
	padding-bottom: 1.6rem;
}
.about__title {
	max-width: 18.7rem;
	margin: 0 auto;
	text-align: center;
	
}
.about__content {
	max-width: 110rem;
	margin: 0 auto;
}
.about__content table {
	max-width: 100rem;
	margin: 0 auto;
}
.about__content tr {
	display: flex;
	justify-content: flex-start;
}
.about__content th,.about__content td {
	font-size: 1.6rem;
	padding-bottom: 4rem;
	line-height: 1.5;
}
.about__content th {
/*	width: 9.5rem;*/
	text-align: left;
	flex: 0 0 17%;
}
/*
.about__content th::after {
	content: ":";
	margin-right: 1rem;
	margin-left: 1rem;
}
*/

.about__content--space:first-child {
	margin-left: 3.2rem;
}
.about__content--space:nth-of-type(3) {
	margin-left: 1.6rem;
}
/*
.about__content--colon {
	margin-left: 2.3rem;
}
*/
.about__content tr:nth-of-type(6) td {
	display: inline-flex;
}
.about__content--justify {
	text-align: justify;
	text-align-last: justify;
	display: inline-block;
	width: 4.8rem;
}
/*
.about__content--margin {
	margin-left: -2%;
}
*/
.about__content--link {
	color: #0000ff;
	max-width: 100rem;
	margin: 0 auto;
}
.about__content img {
	margin-top: 8.8rem;
}
.about__btn--top {
	font-size: 1.7rem;
	display: block;
	text-align: center;
	margin: 7.9rem auto 6.5rem;
}
.officer__item {
	display: flex;
}
.officer__item p {
	flex: 0 0 66%;
	margin-right: -8px;
}

/*-------------
    history
--------------*/
.history__container {
	background: rgba(215,185,143,0.2);
	padding-top: 3rem;
	padding-bottom: 3rem;
}
.history__container h3 {
	font-size: 1.74rem;
	margin: 5rem 0;
	font-weight: 500;
}
.history__content {
	max-width: 110rem;
	margin: 0 auto;
}
.history__text {
	max-width: 100rem;
	margin: 0 auto;
}
.history__text--section {
	margin-bottom: 3rem;
}
.history__title {
	font-size: 1.6rem;
	font-weight: 500;
	margin-bottom: 1rem;
}
.history__description {
	font-weight: 300;
	margin-bottom: 2rem;
}
/*モーダル*/
.history__description a{
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    color: #0000ff;
	font-weight: bold;
   }
.modal{
      width: 100%;
      height: 100%;
      position: fixed;
      top: 0;
      left: 0;
    }
.modal:not(:target) {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s, visibility 0.5s;
    }
 .modal:target{
      opacity: 1;
      visibility: visible;
      transition: opacity 0.5s, visibility 0.5s;
    }
 .modal .overlay{
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
      background-color: #000;
      opacity: 0.7;
      top: 0;
      left: 0;
    }
 .modal__wrapper{
      width: 100%;
      max-width: 700px;
      min-width: 300px;
      height: 100%;
      max-height: 500px;
      background-color: #fff;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
#message02 .modal__wrapper {
	max-height: 400px;
}
 .modal__contents{
      overflow: auto;
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      position: relative;
    }
 .modal__content{
      margin: 25px;
	
    }
.modal__title {
	font-size: 2.4rem;
	border-bottom: 2px solid #d7b98f;
	margin-bottom: 2rem;
}
.modal__text--small {
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 1.8;
}
.modal__text--right {
	text-align: right;
}
.modal__content tr {
	font-size: 1.6rem;
	margin-bottom: 2rem;
}
.modal__content td {
	padding-bottom: 2rem;
}

 .modal__close{
      position: absolute;
      top: 5px;
      right: 10px;
      text-decoration: none;
	 font-size: 2rem;
    }

.history__box {
	display: flex;
	justify-content: space-around;
	align-items: center;
	background: rgba(215,185,143,0.2);
	min-height: 33rem;
}
.history__box img {
	max-width: 15rem;
}
.history__box--name {
	font-size: 1.74rem;
	font-weight: 800;
	
}
.history__box--year {
	font-size: 1.4rem;
	font-weight: 500;
	margin-bottom: 2rem;
}
.history__box--dexcription {
	font-size: 1.6rem;
	font-weight: 300;
	max-width: 74rem;
	line-height: 1.7;
}
.history__box--link {
	color: #0000FF;
	font-weight: 400;
}
.history__box--photo {
	display: flex;
	justify-content: space-between;
}
.history__photo--wrap {
	max-width: 32rem;
	flex: 0 0 30%;
}
.history__photo-wrap p {
	font-weight: 300;
}
.main__return-top {
	margin-top: 3rem;
}

@media screen and ( max-width:1100px ){
	.about__container {
		padding-top: 0;
	}
	.about__content {
		max-width: 90%;
	}
	.about__content table {
		max-width:80%;
}
	.history__content {
		max-width: 90%;
	}
	.history__photo--wrap {
		flex: 0 0 30%;
	}
}
@media screen and ( max-width:1100px ){
	.history__box {
		padding: 1rem;
	}
	.history__box--text {
		max-width: 47rem;
	}
}
@media screen and ( max-width:750px ){
	.about__title {
		max-width: 11.8rem;
}
	.about__title--wrap {
		padding-top: 5rem;
}
	.about__container h3 {
		font-size: 1.6rem;
		margin: 2rem 0;
}
	.about__content table {
		max-width:100%;
}
	.about__content th {
		font-weight: bold;
		display: block;
		clear: both;	
}
	.about__content table,
	.about__content tbody,
	.about__content tr {
		display: block;
		width: 100%;
}
	.about__content td::before {
		content: "";
		margin: 0;
}
	.about__content th::after {
		content: ":";
		margin-right: 1rem;
		margin-left: 1rem;
	}
	.about__content th {
		padding-bottom: 0.5rem;
}
	.about__content--colon {
     	margin-left: 0;
}
	.about__content tr:nth-of-type(8) li:first-of-type {
		margin-left: 0;
}
	.about__banner {
		width: 100vw;
		position: relative;
		 left: 50%;
		 right: 50%;
		 margin-left: -50vw;
		 margin-right: -50vw;
	}
	 .about__banner img{
		 max-width:100vw;
		 width:100vw;
 }
	.history__content {
		max-width: 35rem;
	}
	.history__box {
		
		display: block;
		padding: 1rem;
		 margin: 0 calc(50% - 50vw);
  		width: 100vw;
	}
	.history__box img {
		display: block;
		margin: 0 auto;
	}
	.history__box--name {
		text-align: center;
	}
	.history__box--year {
		text-align: center;
	}
	.history__box--description {
		text-align: justify;
	}
	.history__box--photo {
		display: block;
	}
	.history__photo--wrap {
		max-width: 100%;
		margin-bottom: 1rem;
	}
	.history__photo--wrap p {
		text-align: center;
	}
}