@charset "utf-8";
.sp {
    display: none;
}

main {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    margin-bottom: 150px;
}

.subpage-inner {
    margin: 0 auto;
    width: 1000px;
}


.subpage-17item {
    margin: 120px 0;
    text-align: center;
}
.subpage-17item h2 {
    font-size: 35px;
    margin-bottom: 55px;
    line-height: 54px;
}
.subpage-17item h2 p {
    font-size: 20px;
    line-height: 36px;
}
.item-img {
    position: relative;
    margin-bottom: 120px;
}
.item-img p:nth-child(2) {
    position: absolute;
    right: 40px;
    bottom: 40px;
}
.prof {
    background-color: #f6f1d6;
    margin-bottom: 60px;
    width: 100%;
    position: relative;
}
.prof .subhead img {
    margin: auto;
    top: -60px;
    position: absolute;
    left: 0;
    right: 0;
}

.prof .inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 30px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 30px;
}
.prof-outer   {
    width: 400px;
    margin-top: 30px;
    margin-right: 40px;
}
.prof-inner {
  width: 400px;
  padding: 20px;
  background-color: #fff;
  text-align: left;
  margin-right: 40px;
  margin-left: 0px;
}
.prof-inner:nth-child(even) {
    margin-right: 0px;
}

.name-window   {
    position: relative;
}
.name h3 {
}

.pm-btn {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 40px;
    right: 0%;
}
.pm-btn span {
    width: 30px;
    height: 3px;
    display: block;
    background-color: #92bfbb;
    transition: 0.3s;
}
.pm-btn span:nth-child(1) {
    transform: translateY(50%);

}
.pm-btn span:nth-child(2) {
    transform: rotate(90deg);
}

.pm-btn.open span:nth-child(2) {
    transform: rotate(0deg);
	transform: translateY(-2px);
}
.detail   {
    display: none;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}
.detail ol {
    margin-left: 1em;
}
.detail a{
    color: #53a19a;
    font-weight: bold;
    font-size: 18px;
}
.detail a:hover{
    color: #92bfbb;
}
.items17-link  {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-right: -20px;



}
.items17-link a:hover img {
    transform: scale(1.1);
    transition: 0.5s;
}
.items17-link p  {
    margin-right: 20px;
    margin-bottom: 20px;
}





@media screen and (max-width:1040px){
	
.subpage-inner {
    width: 90vw;
}
img {
    height: auto;
    max-width: 100%;
}

.subpage-inner .item-img p:last-child {
    width: 15vw;
}
	.t-box{
		width: 400px;
	}
.prof {
  flex-direction: column;
}


}

body {
  min-width: 1040px;
}





@media screen and (max-width:600px){
body {
    min-width: initial;
  }
.pc {
    display: none;
}
.sp {
    display: block;
}
img {
    height: auto;
    width: 100%;
}
.subpage-inner {
    width: 90vw;
}
.subpage-17item {
    margin: 40px 0 0;
}
.subpage-17item p {
    padding: 0;
    text-align: left;
    margin-right: 20px;
    font-size: 90%;
}
.prof .inner {
    width: 100%;
    justify-content: center;
    height: auto;
}

.item-img {
    margin-bottom: 60px;
}
.item-img p.number {
    position: absolute;
    top: -60px;
    right: 0;
}
.soon img {
    width: 10vw;

}
.more a img {
    width: 30vw;
}



.prof {
    margin-bottom: 20px;
}
.subpage-inner .copy {
    text-align: center;
    padding-top: 55px;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 55px;
}
.copy p:first-child ,.subpage-17item h2{
    font-size: 25px;
    margin-bottom: 20px;
}
.copy p:last-child {
    padding: 0 60px;
    font-size: 18px;

}
.content .img1 img   {
    width: 60%;
}
.content img {
    margin-top: 20px;
}
.prof-inner  {
}
.subpage-inner .prof {
    flex-wrap: wrap;
}
.subpage-inner .item-img p:last-child {
    width: 15vw;
}

.prof-inner {
    margin-bottom: 10px;
    width: 86vw;
    margin-right: 0px;
}
.prof-inner:last-child {
    margin-bottom: 0px;
}

.items17-link{
		justify-content: center;
}	
	
.gakubu-t{
	display: block;
	flex-wrap: wrap;
}

.each-g{
		justify-content: center;
	}
	
.each-box:nth-child(odd){
	margin-right: 0px;
}
	
.gakubu-t p img,.gakubu-t p{
	width: 90vw;
		
	}
.prof .subhead img {
    width: 60%;
    margin-top: 40px;
}
.prof .inner .prof-outer {
    margin-right: 10px;
    margin-left: 10px;
}
.prof-inner .name-window .pm-btn {
    top: -2px;
    right: -12%;
}



























}
