@charset "UTF-8";
.sdgs_bg_b {
    background-color: #000;
}
.skip {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    border: 2px solid #FFF;
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.4rem;
    color: #FFF;
    background-color: hsla(0,0%,100%,0.20);
    line-height: 100%;
    animation: fadeOut 1s 25s forwards; /* アニメーション適用 */
}
.skip:hover {
    color: #FFF;
    background-color: hsla(0,0%,100%,0.40);
}
.gt_a {
    position: relative;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    height: 100%;
}
.contents.sdgs_g {
    width: 100vw; /* 幅と高さを指定 */
    height: 100vh;
    background-image: url(/images/sustainable_taishi/gt_bg.webp);
    background-size: 100% auto; /* アニメーションに必要なサイズ */
    background-repeat: no-repeat; /* 通常は繰り返しなし */
    animation: fadeIn 6s 7s forwards, moveBackground 8s 12s forwards; /* アニメーション適用 */
    background-position: left top;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
    /* [disabled]max-height: 1080px; */
    background-color: #000;
    opacity: 0;
}
.cap01 {
    width: 50%;
    height: auto;
    position: absolute;
    animation: fadeIn 5s 0s forwards, fadeOut 4s 3.8s forwards; /* アニメーション適用 */
    top: 0px;
    opacity: 0;
    max-width: 129px;
    margin-right: auto;
    margin-top: auto;
    margin-left: auto;
    margin-bottom: auto;
    right: 0px;
    left: 0px;
    bottom: 0px;
}
.cap02 {
    width: 30%;
    height: auto;
    position: absolute;
    animation: fadeIn 5s 6s forwards, fadeOut 5s 11s forwards; /* アニメーション適用 */
    top: 0px;
    opacity: 0;
    max-width: 110px;
    margin-right: auto;
    margin-top: auto;
    margin-left: auto;
    margin-bottom: auto;
    right: 0px;
    left: 0px;
    bottom: 0px;
}
.cap03 {
    width: 30%;
    height: auto;
    position: absolute;
    animation: fadeIn 5s 16s forwards, fadeOut 3s 21s forwards; /* アニメーション適用 */
    top: 0px;
    opacity: 0;
    max-width: 119px;
    margin-right: auto;
    margin-top: auto;
    margin-left: auto;
    margin-bottom: auto;
    right: 0px;
    left: 0px;
    bottom: 0px;
}
.menu  {
    position: absolute;
    top: 10%;
    width: 18%;
    opacity: 0;
    visibility: 0;
    transform: scale(0.01);
}
.menu:hover {
    margin-top: 2px;
}
.menu img {
    width: 100%;
    height: auto;
}
.menu.con01 {
    left: 15%;
    animation: zoomIn 1s 24s forwards; /* アニメーション適用 */
}
.menu.con02 {
    left: 0px;
    right: 0px;
    animation: zoomIn 1s 24.2s forwards; /* アニメーション適用 */
}
.menu.con03 {
    right: 15%;
    animation: zoomIn 1s 24.4s forwards; /* アニメーション適用 */
}
.content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    margin-right: auto;
    margin-left: auto;
    top: 33%;
    bottom: auto;
    left: auto;
    right: 20%;
    max-width: 512px;
    width: 80%;
    height: auto;
    transition: opacity 1s ease;
}
.content img {
    width: 100%;
    height: auto;
}
.content.fade-in {
    opacity: 1;
    visibility: visible;
}

.visually-hidden{
    visibility: 0;
    display: none;
}
.linksus {
    position: absolute;
    top: auto;
    bottom: 5%;
    right: 5%;
    margin-right: auto;
    margin-left: auto;
    display: block;
    text-align: center;
    width: 80%;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 30px;
    background-color: hsla(0,0%,100%,0.85);
    max-width: 400px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #003b86;
    border: 3px solid #FFF;
    opacity: 0;
    visibility: 0;
    transform: scale(0.01);
    animation: zoomIn 1s 25s forwards; /* アニメーション適用 */
}
.linksus:hover {
    color: #003b86;
    background-color: hsla(0,0%,100%,1.00);
}
@media screen and (min-height:1100px){
.contents.sdgs_g {
    width: 100vw; /* 幅と高さを指定 */
    height: 100vh;
    background-image: url(/images/sustainable_taishi/gt_bg.webp);
    background-size: auto 134vh; /* アニメーションに必要なサイズ */
    background-repeat: no-repeat; /* 通常は繰り返しなし */
    animation: fadeIn 6s 7s forwards, moveBackground 8s 12s forwards; /* アニメーション適用 */
    background-position: left top;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
    /* [disabled]max-height: 1080px; */
    background-color: #000;
    opacity: 0;
}
    
}
@media screen and (max-width:768px){
.contents.sdgs_g {
    width: 100vw; /* 幅と高さを指定 */
    height: 100vh;
    background-image: url(/images/sustainable_taishi/gt_bg.webp);
    background-size: auto 120%; /* アニメーションに必要なサイズ */
    /* [disabled]max-width: 1200px; */
    /* [disabled]max-height: 1080px; */
    opacity: 0;
    background-position: left top;
}
}
@media screen and (max-width:480px){
.contents.sdgs_g {
    width: 100vw; /* 幅と高さを指定 */
    height: 100svh;
    background-image: url(/images/sustainable_taishi/gt_bg.webp);
    background-size: auto 134svh; /* アニメーションに必要なサイズ */
    /* [disabled]max-width: 1200px; */
    /* [disabled]max-height: 100%; */
    opacity: 0;
    background-position: left top;
}
.cap01 {
    top: 10%;
    bottom: auto;
}
.cap02 {
    bottom: auto;
    top: 10%;
}
.cap03 {
    bottom: auto;
    top: 10%;
}
.menu {
    width: 30%;
    top: 5%;
}
.content {
    top: calc(18% + 40px);
    margin-right: auto;
    right: 0px;
    left: 0px;
}
.menu.con01 {
    left: 2%;
}
.menu.con03 {
    right: 2%;
}
}