.spOnly{ display: none;}

#whatisCont{
    display: block;
    width: 96%;
    max-width: 1000px;
    margin: 2rem auto 4rem;
}

/*タイトル ------------------*/
.titleBox{
    background: #ffe95f;
    padding: 0.6rem;
    border-radius: 20px 20px 0 0;
}
.titleinCont{
    position: relative;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-radius: 16px 16px 0 0;
}
.title{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1000px;
    background:#fff;
    position: relative;
    border-radius: 40px;
    text-align: center;
    margin: 1rem auto 0;
    font-size: 2rem;
    font-weight: bold;
    padding: 0.6rem;
}
.titleImg1{ 
    position: absolute;
    left: 10px;
    top: -21px;
    width: 14%;
    max-width: 120px;
    z-index: 1;
}
.titleText1{font-size: 1.4rem;}

/*記事 -------------------------*/
.whatisCint{
    background: #ffe95f;
    padding: 0.6rem;
}
.whatisInCint{
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.leadSentence{
    width: 95%;
    text-align: center;
    line-height: 1.4;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    text-align: justify;
    padding: 1rem 0 0.5rem 0;
    margin: 0 auto 0;
    border-bottom: #000 2px solid;
}

.qaCon{ 
    display: block;
    padding: 1.6rem 0;
    margin: 0 1.6rem 0;
    border-bottom: 2px solid #000; ;
}
.question{ 
    font-size: 2rem;
    display: flex;
    align-items: center;
    color: #000; 
    line-height: 1.2;
    margin: 0 0 1rem 0;
}
.question img{ 
    width: 100%;
    max-width: 50px;
    margin: 0 0.5rem 0 0;
}
.anserBox{
    display: flex;
}
.anser{ 
    color: #ffe95f; 
    font-size: 5rem;
    font-weight: bold;
    margin: 0 0.6rem 0 0;
    -webkit-text-stroke: 2px #000;
    text-stroke: 2px #000;
}
.anser span{ font-size: 4rem;}

.anserText{ 
    color: #000; 
    font-weight: bold;
    line-height: 1.6;
    text-align: justify;
}
.anserSubText{
    font-size: 1rem!important;
}
.textE{ color: #ffe95f; background: #000; padding: 0.2rem;}

.subCont{
    display: flex;
    flex-wrap: wrap;
    margin: 2rem 0 0;
}
.subCont div{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 49%;
}
.subCont div img{ width: 90%; max-width: 334px; margin: 0 0 1.6rem 0;}
.subContLeft p{ 
    color: #000; 
    font-size: 1.3rem;
    line-height: 1.3;
    margin: 0 0 2rem 0;
}
.subContright p{
     color: #000; 
     line-height: 1.6;
}
.subContright span{
    display: block;
    width: 30%;
    max-width: 112px;
    text-align: center;
    background: #000;
    color: #fff;
    font-weight: bold;
    padding: 0.3rem;
    margin: 0 0 0.6rem 0;
}
.subContendText{
    color: #000; 
    margin: 1rem 0 0 0;
    line-height: 1.6;
}

.eventBox{ margin: 1rem 0;}
.eventTitle{ display: block; font-size: 1.2rem; line-height: 1.4; font-weight: bold; margin: 0 auto 0.6rem;text-align: center; width: 50%; max-width: 380px;}
.eventTitle span{ font-size: 1rem;}
.eventTitle p{ color: #fff; background: #000; border-radius: 40px; padding: 0.3rem 0.6rem; margin: 0 0 0 0.3rem;}
.eventTerxt{ line-height: 1.6; margin: 0 0 1rem 0; text-align: justify;}
.BoxW{ display: flex;}
.photoBox{
    display: block;
    width: 87%;
    max-width: 880px;
    margin: 0 auto;
}
.photoBox p{
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 0.6rem 0;
}
.photoBox div img{ width: 100%;}
.photoBox2{
    display: block;
    width: 33%;
    max-width: 300px;
    margin: 0 0.8rem 0 0;
}
.photoBox2 p{
    text-align: center;
        font-size: 0.95rem;
    font-weight: bold;
    margin: 0 0 0.6rem 0;
}
.photoBox2 div img{ width: 100%;}
.photoBox3{
    display: block;
    width: 68%;
    max-width: 880px;
    margin: 0 auto;
}
.photoBox3 p{
    text-align: center;
    font-size: 0.95rem;
    font-weight: bold;
    margin: 0 0 0.6rem 0;
}
.photoBox3>div{ display: flex; justify-content: space-between;}
.photoBox3>div>div{ width: 49%;}
.photoBox3 div img{ width: 100%;}

.photoText{
    background: #fff;
    border: #000 1px solid;
    padding: 0.3rem 0;
    width: 100%;
    margin: 0 auto 0.3rem;
}
.photo{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.photo div{ width: 49%;}
.photo img { width: 100%;}
.photoTitle{    
    display: flex;
    align-items: end;
    justify-content: center;
}
.caption{
    display: block;
    margin: 0.3rem 0 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
}
.pcOnly{
    width: 10%;
    max-width: 80px;
    background: #fff;
    padding: 1%;
    margin: 0 0 0 1rem;
    border-radius: 10px; 
    border: 4px solid #fff;
}
.pcOnly:hover{ border: 4px solid #0e752b;}
.pcOnly img{ width: 100%;}

.footerBox{
    background: #ffe95f;
    padding: 0.6rem;
    border-radius: 0 0 20px 20px;
}
.footerinCont{
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-radius: 0 0 16px 16px;
    padding: 1rem;
}
.snsLink {
    text-decoration: underline;
    line-height: 1.4;
}
.snsLink:hover{ text-decoration: none;}

@media (max-width: 1024px) {
    .title {zoom:0.9;}

}

@media (max-width: 820px) {
    .title {zoom:0.7;}

    .photoBox{ width: 98%;}
    .photoBox2 p { font-size: 0.75rem;}
    .photoBox3 p { font-size: 0.75rem;}
}

@media (max-width: 640px) {
    .pcOnly{ display: none;}
    .spOnly{ display: block;}
    
    .titleImg1 { left: -11px; top: -37px; width: 17%; z-index: 1;}
    .title { flex-wrap: wrap; line-height: 1.6;}
    .leadSentence{letter-spacing: 0.05em;}
    .question{ align-items: flex-start; font-size: 1.6rem;}
    .anser { font-size: 3rem; line-height: 1.2;}
    .anser span { font-size: 1rem;}
    .anserSubText { display: block;}
    
    .qaCon{ margin: 0 1rem 0;}
    .subCont{ display: block;}
    .subCont div{ width: 100%;}

    .subContright span{ width: 100%;}
    .subContright p{ margin: 0 0 1rem 0;}

    .eventTitle{width: 100%;}
    .eventTitle p{ margin: 0.3rem 0 0 0;}

    .BoxW{ display: block;}
    .photoBox p{ font-size: 0.8rem;}
    .photoBox2{ width: 72%; margin: 0 auto 1rem;}
    .photoBox3{ width: 72%;}
    .photoBox3 p{ line-height: 1.4;}
    .photoBox3>div{ display: block;}
    .photoBox3>div>div{ width: 100%;}

    .photo{ justify-content: center;}
    .photo div{ width: 72%;}

    .underline{ text-decoration: underline;}
}