﻿
.about__wrapper {
 width: 86%;
 max-width: 1200px;
 margin: 150px auto 0;
 text-align: left;
}

.about__wrapper p {
 font-weight: 500;
}

@media screen and (min-width: 769px){
.about__wrapper {
 margin: 150px auto 0;
}
}
@media screen and (max-width: 768px){
.about__wrapper {
 margin: 75px auto 0;
}
}

.about__headline { font-weight: 700; }

.about__headline + p {
 margin-top: .5em;
 color: var(--color-mossgreen);
 font-weight: 700;
 line-height: 1;
}

@media screen and (min-width: 769px){
.about__headline { font-size: 32px;	}
.about__headline + p { font-size: 16px; }

}
@media screen and (max-width: 768px){
.about__headline { font-size: 20px;	}
.about__headline + p { font-size: 12px; }
}

.about__wrapper.-sec1 p {
 margin-top: 20px;
}



.about__wrapper.-sec2 {
 position: relative;
}

.about__wrapper.-sec2 .about__photo {
 position: absolute;
 right: 0;
 top:0;
 overflow: hidden;
 box-shadow: 0px 0px 30px 0px #FCFDE8, 0px 0px 10px 0px rgba(161, 165, 79, 0.25);
}



@media screen and (min-width: 769px){
.about__wrapper.-sec2 {
  min-height: 430px;
}
.about__wrapper.-sec2 .about__greeting {
 margin-top: 20px;
 width: calc(92% - 320px);
}
.about__wrapper.-sec2 .about__photo {
 width: 320px;
 border-radius: 30px;
}
 .about__greeting--sign {
  margin-top: 30px;
 }
 
}
@media screen and (max-width: 768px){
.about__wrapper.-sec2 .about__greeting {
 padding-top: 20%;
	display : flex;
flex-direction : column-reverse;
}
.about__wrapper.-sec2  .about__photo {
 width: 33.3%;
 border-radius: 10px;
}
 .about__greeting--body {
  margin-top: 20px;
 }
}

.about__wrapper.-sec3 {
 background: url("../img/about/history_bg.png") right top no-repeat;
}

.about__history li {
 position: relative;
}
.about__history li:not(:last-child) {
 padding-bottom: 50px;
}
.about__history li:before {
 content: "";
 position: absolute;
 left: 0;
 top: 0;
 display: block;
 border-radius : 50%;
 background-color:var(--color-mossgreen);
}
.about__history li:not(:last-child):after {
 content: "";
 position: absolute;
 top: 0;
 display: block;
 width: 2px;
 height: 100%;
 background-color:var(--color-mossgreen);
}

@media screen and (min-width: 769px){
 .about__history { margin-top:50px; }
 .about__history li { padding-left:55px; }
 .about__history li:not(:last-child) { padding-bottom: 50px; }
 .about__history li:before { width: 30px; height: 30px; }
 .about__history li:not(:last-child):after { left: 14px; }
}
@media screen and (max-width: 768px){
 .about__wrapper.-sec3 { background-size: 80% auto; }
 .about__history { margin-top:30px; }
 .about__history li { padding-left:45px; }
 .about__history li:not(:last-child) { padding-bottom: 25px; }
 .about__history li:before { width: 20px; height: 20px; }
 .about__history li:not(:last-child):after { left: 10px; }
}



@media screen and (min-width: 769px){
 
}
@media screen and (max-width: 768px){
.about__wrapper.-sec5 iframe { margin-top: 30px; }
.access__adress { text-align: left; }

}


.facility__list {
 display: flex;
 justify-content: flex-start;	
 flex-wrap: wrap;
}

 .facility__list > li {
  width: 48%;
 margin-right: 4%;
  text-align: left;
 }
 .facility__list > li:nth-child(2n) {
  margin-right: 0;
 }
.facility__photo {
 width: 100%;
 aspect-ratio: 5.7 / 3.8;
 overflow: hidden;
}

 .facility__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 }
.facility__headline {
 position: relative;
 margin-top: .75em;
 padding-left: 1em;
 line-height: 1;
}

.facility__headline:before {
 position: absolute;
 left: 0;
 top: 0;
 content: "";
 border-radius: 2px;
 display: block;
 background-color:var(--color-mossgreen);
}
 .facility__lead {
 margin-top: 30px;
 }

@media screen and (min-width: 769px){
 .facility__lead {
  font-size: 18px;
 }
.facility__list > li {
  border-radius: 20px;
  margin-top: 50px;
 }
.facility__photo { border-radius: 20px; }
.facility__headline { font-size: 18px; }
.facility__headline:before { width: 9px; height: 100%; }

}
@media screen and (max-width: 768px){
 .facility__lead {
  font-size: 16px;
 }	
 .facility__list > li { margin-top: 25px; }
 .facility__photo { border-radius: 10px; }
 .facility__headline { font-size: 14px; }
 .facility__headline:before { width: 7px; height: 100%; }
}