@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');
#g9221701 {
	color: #000000;
	margin: 30px 0 50px;
}

#g9221701 h2 {
    font-size: 2em;
    background-color: transparent;
    padding: 0.5em;
    color: #121c28;
    text-align: center;
}


#g9221701 h2 {
  padding: 1rem 2rem;
  border-top: 6px double #121c28;
  border-bottom: 6px double #121c28;
}


#g9221701 h3 {
    font-size: 1.5em;
    background-color: transparent;
    padding-top: 2em;
    padding-bottom: 2em;
    color: #121c28;
    text-align: center;
    line-height: 1;
}

#g9221701 .box {
    padding: 10px;             /* 余白指定 */
    display: flex;              /* フレックスボックスにする */
    flex-wrap: wrap;
	width: 100%; 
	justify-align: center;
	background-color: #FFFFFF;
}

#g9221701 .box .color {
    width: 24%;                 /* 幅指定 */
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

#g9221701 .box .color p {
	font-size: 22px;
	color: #000000;
	text-align: center;
	line-height: 1.3;
}

#g9221701 .contents-img {
	text-align: center;
    padding-top: 3em;
    padding-bottom: 2em;
}

#g9221701 .contents-img {
	flex-basis: 100%;
	max-width: 100%;
}



#g9221701 .contents-text {
    padding-bottom: 5em; 
   	text-align: center;   
}

#g9221701 .links {
    display: flex;
    justify-content: center;
}

#g9221701 .link {
    margin-bottom: 3em;
    padding: 10px;
    color: #ffffff;
    font-size: 2em;
	text-align: center;
	background-color: #121c28;
    border-top: 10px double #ffffff;
    border-bottom: 10px double #ffffff;

}

#g9221701 .link a {
    color: #ffffff;
}


@media screen and ( min-width:521px ){ /* tablet&PC */
#g9221701 {
    margin-left: auto;
    margin-right: auto;
}
	
.sp {
	display: none;
}

}


@media screen and ( max-width:520px ){/* SP */
#g9221701 h2 {/* 絶対必要 */
	padding: 0;
	background-color: transparent;
}
	
#g9221701 .box {
    padding: 8px;             /* 余白指定 */
    display: flex;              /* フレックスボックスにする */
    flex-wrap: wrap;
	width: 100%; 
	justify-align: center;
	background-color: #FFFFFF;
}

#g9221701 .box .color {
    width: 48%;                 /* 幅指定 */
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

#g9221701 .box .color p {
	font-size: 14px;
	color: #000000;
	text-align: center;
	line-height: 1.3;
}

}
