

p{
    font-size: 21px;
    color: #4C4948;
    line-height: 45px;
}
.title-area{
    margin-bottom: 100px;
}
.title-area b{
    font-size: 21px;
    padding-top: 20px;
    display: block;
    font-weight: 500;
}
#intro{
    position: relative;
    margin-top: 10vw;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 50%, #F3FAEE 100%);

}
#intro .title{
    height: 70px;
    width: auto;
}
#intro p{
    color: #4C4948;
    line-height: 45px;
    font-size: 18px;
}
#intro .about-photo{
    position: absolute;
    width: 70%;
    top: -10vw;
    right: -22vw;
    z-index: -1;
    max-width: 1000px;
    aspect-ratio: 62 / 51;
}
.about-title{
    position: relative;
    color: #70BD18;
    font-size: 21px;
    margin-left: 30px;
    display: block;
}
.about-title:before{
    content: "";
    position: absolute;
    background-image: url(../img/about/title-icon.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 20px;
    height: 25px;
    left: -30px;
    top: 0;
    bottom: 0;
    margin: auto;
}
h2{
    font-size: 42px;
    line-height: 180%;
    font-weight: 500;
    padding: 30px 0;
}
.middle-wrap{
    width: 90%;
}
.name{
    padding: 30px 0 100px;
    font-size: 21px;
    color: #4C4948;
}
.position{
    font-size: 14px;
}
.alphabet{
    color: #70BD18;
    font-size: 13px;
    padding-left: 1em;
}

#overview{
    padding: 100px 0;
}
.info-table {
    margin: 30px auto;
}
.info-table table {
    width: 100%;
    border-collapse: collapse;
}
.info-table tr:first-child{
    border-top: solid 1px #70BD18;
}
.info-table th, .info-table td {
    padding: 20px 0;
    border-bottom: 1px solid #70BD18;
    text-align: left;
}
.info-table th {
    font-weight: bold;
    width: 20%;
    color: #4C4948;
    font-size: 21px;
}
.info-table td {
    width: 80%;
    color: #4C4948;
    font-size: 18px;
}
.info-table small {
    font-size: 18px;
    color: #4C4948;
}
.map-btn {
    display: inline-block;
    background-color: #70BD18;
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    margin-left: 10px;
}

.image-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.top-images {
    display: flex;
    gap: 10px;
}
.top-images img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
.bottom-image img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
.img-box {
	overflow: hidden;
	position: relative;
    width: 100%;
}
.img-box .caption {
    font-size: 18px;
    line-height: 180%;
    text-align: left;
    color: #fff;
    /* padding: 20px; */
    margin: auto;
    /* position: absolute; */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-content: center;
    height: fit-content;
}
.bottom-image .caption{
    text-align: center;
}
.img-box .mask {
	width: 80%;
	height: fit-content;
	position: absolute;	/* 絶対位置指定 */
	padding: 20px;
    bottom: 10px;
    top: unset;
	left: 0;
    right: 0;
    margin: auto;
	opacity: 0;	/* マスクを表示しない */
    border-radius: 10px;
	background-color: #70BD18CC;	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:	all 0.2s ease;
}
.img-box:hover .mask {
	opacity: 1;	/* マスクを表示する */
}

#staff{
    background: linear-gradient(135deg, #F3FAEE 14.72%, #E3F3D7 50.36%, #F3FAEE 86.01%);
    padding: 100px 0 500px;
    margin-bottom: -500px;
    text-align: center;
}
#staff .sub-title{
    font-size: 21px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: solid 2px #70BD18;
    display: inline-block;
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;
    margin: auto;
    color: #4C4948;
}
.staff-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 30px auto;
}
.staff-card {
    width: calc(92% / 4);
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}
.staff-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: auto;
}
.staff-image img {
    width: 100%;
}
.staff-label {
    position: absolute;
    top: 10px;
    right: 10px;
    writing-mode: vertical-rl;
    font-size: 14px;
    color: #70BD18;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: 1px;
}
.staff-name {
    font-size: 22px;
    color: #70BD18;
    margin-top: 15px;
}
.staff-role {
    font-size: 16px;
    color: #4C4948;
    line-height: 25px;
    margin: 10px auto 30px;
    font-weight: 500;
    letter-spacing: 2px;
}
.staff-desc {
    font-size: 16px;
    color: #4C4948;
    line-height: 1.5;
    text-align: justify;
    margin-left: -20px;
    margin-right: -20px;
}


@media screen and (max-width:1247px) {
    .bottom-image .caption {
        text-align: justify;
    }

}

@media (max-width: 768px) {
    #main{
        overflow: unset;
        padding-top: 60px;
    }
    #intro .title{
        height: 34px;
    }
    .title-area{
        bottom: -25vw;
        position: relative;
    }
    #intro .about-photo {
        position: absolute;
        width: 100%;
        top: 40vw;
        right: -32vw;
        z-index: -1;
        max-width: 1000px;
        aspect-ratio: 62 / 51;
    }
    .under-bg {
        position: absolute;
        z-index: 1;
        width: 50%;
        top: 10vw;
    }
    #m-v {
        margin: 110vw auto 80px;
    }
    #m-v .flex-wrap {
        padding: 5vw 0;
        flex-wrap: wrap;
        row-gap: 30px;
    }
    .sub-title{
        font-size: 18px;
        margin-bottom: 30px;
    }
    h2{
        font-size: 26px;
        line-height: 180%;
        letter-spacing: 4px;
    }
    p{
        font-size: 18px;
        letter-spacing: 0;
    }
    .about-title{
        font-size: 18px;
    }
    #main{
        overflow: unset;
    }
    #intro .middle-wrap{
        margin-top: 100vw;
        width: 100%;
    }
    #intro p{
        font-size: 18px;
        line-height: 200%;
    }
    #overview{
        padding: 50px 0 100px;
    }
    #overview .middle-wrap{
        width: 100%;
    }
    .info-table tr{
        border-bottom: solid 1px #70BD18;
    }
    .info-table th, .info-table td{
        display: block;
        width: 100%;
        border: unset;
    }
    .info-table th{
        padding: 15px 0 5px;
    } 
    .info-table td{
        padding: 5px 0 15px;
        font-size: 16px;
    }
    .info-table small {
        font-size: 15px;
    }
    .top-images {
        flex-direction: column;
    }
    .top-images img{
        width: 90%;
        margin: auto;
        display: block;
    }
    .bottom-image img {
        width: 90%;
        margin: auto;
        display: block;
    }
    #staff .middle-wrap{
        width: 100%;
    }
    .staff-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .staff-card {
        width: 100%;
        padding: 20px 0;
    }
    .map-btn{
        margin:  15px 0 0;
    }
    .img-box .mask{
        position: unset;
        background-color: unset;
        opacity: 1;
        width: 90%;
        margin: auto;
    }
    .img-box .caption{
        position: unset;
        text-align: justify;
        font-size: 16px;
        line-height: 180%;
        padding: 20px 0 50px;
        color: #4C4948;
        letter-spacing: 0.32px;
    }
    .staff-image {
        width: 50%;
    }
    .staff-role {
        margin: 10px auto 20px;
    }
    .staff-desc{
        font-size: 16px;
        line-height: 170%;
        width: 85%;
        margin: auto;
    }
    .staff-name{
        font-size: 24px;
    }
}
@media screen and (max-width:360px) {
    #intro .title {
        height: auto;
        width: 100%;
    }
    h2{
        font-size: 23px;
    }
}
@media screen and (max-width:320px) {
    .group-item span {
        font-size: 20px;
    }
}