@charset "utf-8";

.about-img {
    width: 100%;
}

.chairman-wrapper {
    position: relative;
    width: 100%;

}

.chairman-p {
    position: absolute;
}

.chairman-img {
    position: relative;
    width: 100%;
    z-index: -1;
}

@media (max-width:1023px) {
    .chairman-p { position: relative; }

    .chairman-img {
        display: none;
    }
}
.movie-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: auto;
}

.movie-1 {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;

    /* PlaceHolder */
    height: calc(75vw * 0.5);
    background-color: lightgray;
}

.grid-3 {
    display: -ms-grid; /*InternetExplorer用ベンダープレフィックス*/
    display: grid;
    width: 100%;
    
    /*---グリッドの行,列------*/
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    /*-------------------*/

    /* ---グリッドの間隔--- */
    grid-row-gap: 8px;
    grid-column-gap: 8px;
    /* ----------------- */
    align-content: end;
    /* グリッド表示で空いているスペースをなるべく埋める */
    grid-auto-flow: dense;
}

@media (max-width:768px) {
    .grid-3 {
        /*---グリッドの行,列------*/
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        /*-------------------*/

        /* ---グリッドの間隔--- */
        grid-row-gap: 4px;
        grid-column-gap: 4px;
        /* ----------------- */
    }
}

@media (max-width:414px) {
    .grid-3 {
        /*---グリッドの行,列------*/
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        /*-------------------*/

        /* ---グリッドの間隔--- */
        grid-row-gap: 2px;
        grid-column-gap: 2px;
        /* ----------------- */
    }
}

.grid-contents a img {
    width: 100%;
    margin: 0;
}

.grid-contents2 a img {
    width: 100%;
    margin: 0;
    transition: transform 0.3s ease;
}

.grid-contents2:hover a img {
    transform: scale(1.1);
}

.iframe {
	/*  iPhone対応  */
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	display: inline-block;
}

div iframe {
	overflow-y: hidden;
	/*  iPhone対応  */
	width: 100%;
	height: 1100px;
	border: none;
	display: block;
}