@charset "UTF-8";

html {
    scroll-behavior: smooth;
    background-color: #fff;
}

img {
    width: 100%;
}

.mainContainer {
    background-color: transparent;
    text-align: center;
}

.mainContainer2 {
    max-width: 960px;
    background-color: #FFFFFF;
    margin:0 auto;
}

.mainContainer3 {
    width: 100%;
    height: auto;
    background-image: url("../img/bg01.png");
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative; /* 相対位置を基準にする */
    aspect-ratio: 1500 / 6080; /* 背景画像の縦横比を保つ */
}

/* img03-01.pngをdivの上部に配置 */
.img-top {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 88%; /* 任意のスペースを追加 */
}

/* YouTube動画のスタイル */
.video-container {
    position: relative; /* 絶対位置ではなく相対位置に設定 */
    width: 86%; /* 動画の幅を設定 */
    max-width: 960px; /* 最大幅を960pxに設定 */
/*    top: 60%;  divの上からの位置に配置 */
    left: 50%; /* 水平中央に配置 */
    transform: translateX(-50%); /* 中央揃え */
    padding-bottom: 48.5%; /* アスペクト比 */
    margin-top: 1%; /* img03-01.png とのスペース */
    height: 0; /* 高さをpadding-bottomで制御 */
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* img03-02.pngをdivの上部の座標から指定配置 */
.img-middle {
    width: 100%;
    height: auto;
    margin-top: 20px; /* 必要に応じてマージンを追加 */
}

/* img03-03.pngをdivの下部に揃える */
.img-bottom {
    position: absolute; /* 絶対位置に設定 */
    bottom: 0; /* divの下部に揃える */
    left: 50%; /* 中央に配置 */
    transform: translateX(-50%); /* 水平方向の中央揃え */
    width: 100%;
    height: auto;
}
/*
.mainContainer3 {
    max-width: 960px;
    background-image: url("../img/bg01.png");
    background-size: contain;
    margin:0 auto;
}
*/

.mainContainer4 {
    max-width: 960px;
    background-image: url("../img/bg02.png");
    background-size: contain;
    margin:0 auto;
}

.mainContainer5 {
    max-width: 960px;
    background-image: url("../img/bg03.png");
    background-size: contain;
    margin:0 auto;
}

.mainContainer6 {
    max-width: 960px;
    background-color: #000000;
    margin:0 auto;
}

.mainContainer7 {
    max-width: 960px;
    background-color: #E6E6E6;
    margin:0 auto;
}

.mainContainer8 {
    max-width: 960px;
    background-image: url("../img/bg04.png");
    background-size: contain;
    margin:0 auto;
}

.mainContainer9 {
    max-width: 960px;
    background-image: url("../img/bg05.png");
    background-size: contain;
    margin:0 auto;
}

.mainContainer10 {
    max-width: 960px;
    background-image: url("../img/bg06.png");
    background-size: contain;
    margin:0 auto;
}

.loginDiagram {
    margin-bottom: 30px;
}

section .shodanDiagram {
    margin-top: 0px;
}

.mg_t50 {
    margin-top: 50px !important;
}

.pd_rl15 {
    padding: 0 15px;
}

iframe.youtube-16-9 {
    width: 85.5%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 820px;
    display: block;
    margin: 0 auto 3%;
}
