p{
    font-size: 21px;
    color: #4C4948;
    line-height: 45px;
}
.about .title-area{
    margin-bottom: 150px;
    margin-left: 5%;
}
.title-area b{
    font-size: 21px;
    padding-top: 20px;
    display: block;
    font-weight: 500;
}
#intro{
    position: relative;
    margin-top: 15vw;

}
#intro .title{
    height: calc(min(70px, 6.36363vw));
    width: auto;
}
#intro p{
    color: #4C4948;
    line-height: 220%;
    font-size: 16px;
}
#intro .about-illust{
    position: absolute;
    width: 29vw;
    top: -8%;
    right: 5vw;
    z-index: -1;
    max-width: 360px;
    aspect-ratio: 32 / 21;
}
.about-title{
    position: relative;
    color: #EB6100;
    font-size: 21px;
    margin-left: 30px;
}
.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%;
}
#intro .middle-wrap{
    margin: 10vw auto 50px;
}
#intro .flex-wrap{
    display: flex;
    gap: 50px;
    align-items: flex-end;
}
.name{
    flex: 0.3;
    padding: 30px 0 0px;
    font-size: 21px;
    text-align: center;
    color: #4C4948;
}
.message{
    flex: 1;
}
.position{
    font-size: 14px;
    padding-top: 30px;
    display: inline-block;
}
.alphabet{
    color: #EB6100;
    font-size: 13px;
}

#overview{
    padding: 100px 0;
    margin: 50px auto;
    background-color: #F7F7F7;
    background-image: radial-gradient(#EB6100 3%, transparent 3%);
    background-size: 40px 40px;
    background-position: 5px 10px, 0px 0px;
}
.info-table {
    margin: 30px auto;
}
.info-table table {
    width: 100%;
    border-collapse: collapse;
}
.info-table tr:first-child{
    border-top: solid 1px #EB6100;
}
.info-table th, .info-table td {
    padding: 20px 0;
    border-bottom: 1px solid #EB6100;
    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: #EB6100;
    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: #EB6100CC;	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:	all 0.2s ease;
}
.img-box:hover .mask {
	opacity: 1;	/* マスクを表示する */
}
#photo{
    margin-bottom: 30px;
}
#photo .wrap{
    max-width: 1080px;
}

#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 1px #EB6100;
    display: inline-block;
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;
    margin: auto;
}
.staff-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
    margin: 30px auto;
}
.staff-card {
    width: calc(45% - 80px);
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}
.staff-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.staff-image img {
    width: 100%;
}
.staff-label {
    position: absolute;
    top: 10px;
    right: 10px;
    writing-mode: vertical-rl;
    font-size: 14px;
    color: #EB6100;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: 1px;
}
.staff-name {
    font-size: 22px;
    color: #EB6100;
    margin-top: 10px;
}
.staff-role {
    font-size: 16px;
    color: #4C4948;
    line-height: 25px;
    margin: 20px auto 25px;
    font-weight: 500;
}
.staff-desc {
    font-size: 18px;
    color: #4C4948;
    line-height: 1.5;
    text-align: left;
}

@media screen and (max-width:1120px) {

.bottom-image .caption {
    text-align: justify;
}

}


@media (max-width: 768px) {
    #main{
        overflow: unset;
    }
    #intro .title{
        height: 34px;
    }
    .title-area{
        bottom: -30vw;
        position: relative;
        text-align: center;
    }
    .about .title-area {
        margin-bottom: 150px;
        margin-left: 0%;
    }
    #intro .about-illust {
        width: 80%;
        top: 60vw;
        right: 0;
        left: 0;
        margin: auto;
        max-width: 260px;
    }
    #intro .middle-wrap {
        margin: 130vw auto 50px;
        width: 100%;
    }
    h2{
        font-size: 26px;
        line-height: 160%;
    }
    p{
        font-size: 16px;
        line-height: 200%;
    }
    .about-title{
        font-size: 18px;
    }
    #intro .flex-wrap {
        flex-wrap: wrap-reverse;
        gap: 30px;
    }
    /* #intro h2{
        font-size: 33px;
        line-height: 180%;
    } */
    #intro p{
        font-size: 18px;
        line-height: 200%;
    }
    .name {
        flex: unset;
        font-size: 21px;
        width: 50%;
        margin: auto;
        padding-bottom: 30px;
    }
    .position{
        font-size: 15px;
    }
    .alphabet{
        font-size: 14px;
        padding-left: unset;
    }
    .message {
        flex: unset;
        width: 100%;
    }
    #overview {
        padding: 50px 0;
        margin: 0px auto 50px;
    }
    #overview .middle-wrap{
        width: 100%;
    }
    .info-table tr{
        border-bottom: solid 1px #EB6100;
    }
    .info-table th, .info-table td{
        display: block;
        width: 100%;
        border: unset;
        
    }
    .info-table th{
        padding: 15px 0 5px;
        font-size: 19px;
        font-weight: 700;
    } 
    .info-table td{
        padding: 5px 0 15px;
        font-size: 16px;
        font-weight: 400;
    }
    .info-table small{
        font-size: 15px;
    }
    .top-images {
        flex-direction: column;
    }
    .top-images img,
    .bottom-image img{
        width: 90%;
        margin: auto;
        display: block;
    }
    .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-container {
        flex-direction: column;
        align-items: center;
    }
    .staff-card {
        width: 100%;
    }
}
@media screen and (max-width:360px) {

    #intro .title {
        height: auto;
        width: 100%;
    }

}