.spBr{ display: none;}
.pcOnly{ display: block;}
.spOnly{ display: none;}
.qrcodeImg{ width: 100px; height: auto; margin-top: 0.5rem;}

/*タイトル　-----------------------------*/
.infoCont {
    width: 90%;
    max-width: 1000px;
    margin: 4rem auto;
}
#infoTitle {
    margin: 0 auto;
    display: block;
    width: 100%;
    max-width: 386px;
}
#infoTitle img{ width: 100%; max-width: 386px;}

/*記事 ----------------------------------*/
.infoBlock{
    border-top: 1px solid #000;
    margin: 4rem 0 0 0;
    padding: 2rem 0 0 0;
}
.articleHeading{
    font-size: 2rem;
    font-weight: 100;
    line-height: 1.3;
    display: flex;
    align-items: center;
}
.articleHeading span{ width: 100%; max-width: 84px; margin:0 0.5rem -1rem 0;}
.articleHeading>p>span{font-size: 1.4rem;}
.articleText{
    line-height: 1.6;
    margin: 1rem 0 2rem 0;
}
.articleImg{ display: block; max-width: 620px; margin: 0 auto;}
.articleBox{ display: flex; justify-content: space-between; width: 100%; max-width: 620px; margin: 0 0 1rem 0;}
.articleMidashi{width: 100%;}
.articleMidashi h3{ font-size: 1.4rem; line-height: 1.4; margin: 0 0 0.6rem 0;}
.articleMidashi a{ text-decoration: underline; transition: 0.6s;}
.articleMidashi a:hover{ text-decoration: none;}
.articleMidashi p{ line-height: 1.6;}
.articleMidashi img{ display: block; margin: 0 auto; width: 100%; max-width: 361px;}
.articleMidashi2{ width:40%;}
.articleMidashi2 img{ width: 100%;}
.articleImg .infoImgPC{ width: 100%; max-width: 300px; height: auto;}

.midashiS{ max-width: 360px; margin: 0 auto;}

.articleImg2{ display: block; margin: 1.4rem 0 0 0 ;}
.articleBox2{ display: flex; justify-content: space-around; margin: 1rem 0; width: 100%; max-width: 1000px;}

.articleText2{
    font-size: 1.4rem;
    line-height: 1.4;
        padding: 1rem 0 0;
}
.supportBox{
    position: relative;
    border-radius: 10px;
    padding: 0 1rem 1rem;
    background: #eeefef;
}

.articleImg3{ width: 60%;}
.supportBox .articleBox3{ width: 100%; padding: 1rem 0;}
.borderR{ border-bottom: 1px solid #000;}
.articleImg{ width: 61%;}
.inquiry{
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 1.2;
    padding: 0 1rem;
}
.article4{
    display: flex;
     padding: 1rem 0 0 ;
}
.w2{ width: 70%;}
.article4 img{
    width: 28%; 
    height: max-content;
    object-fit: contain;
}
@supports(-webkit-hyphens:none){
    .article4 img{ height: auto;}
}

.recruitment{ margin: 2rem 0 0;}
.ribbon1 {
  display: inline-block;
  position: relative;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
  padding: 0 2.5rem;/*横の大きさ*/
  font-size: 1.3rem;/*文字の大きさ*/
  background: #000;/*塗りつぶし色*/
  color: #FFF;/*文字色*/
  box-sizing: border-box;
  margin: 0 0 1rem 0;
}

.ribbon1:before, .ribbon1:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon1:before {
  top: 0;
  left: 0;
  border-width: 25px 0px 25px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.ribbon1:after {
  top: 0;
  right: 0;
  border-width: 25px 15px 25px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.recruitmentText{ line-height: 1.6;}
.redText{ display: block; color: #f03e00; font-size: 1.2rem; line-height: 1.2;}
.bigText{display: block; font-size: 1.4rem; line-height: 1.2; margin: 0.5rem 0;}

/*Trivia Question*/
.tqBox{ display: flex; }
.tqBox img{
    width: 53%;
    max-width: 210px;
    height: max-content;
}
.trText{ padding: 0 0 0 2rem;}
.tqBox h4{ display: flex; align-items: center;}
.first{ font-size: 3rem;}
.second{ font-size: 1.4rem; line-height: 1.3; text-align: left; padding: 0 0 0 0.5rem;}
.anser{ 
    font-size: 2rem; 
    line-height: 1.6; 
    margin: 1rem auto 0;
    text-align: left;
}
.anserText{ line-height: 1.6; text-align: left;}


/*道に関する安全安心豆知識*/
.michiTitle{
    color: #fff;
    line-height: 1.4;
    width: 32%;
    max-width: 270px;
    background: #f08336;
    padding: 1rem;
    border-radius: 10px;
}
.michiTextBox{ display: flex; margin: 1rem 0 0 0;}
.michiTextBox img{ 
    display: block;
    width: 53%;
    max-width: 268px;
    height: max-content;
    margin: 0 auto; 
}
.michiTextCont{ padding: 0 0 0 1rem;}
.michiTextCont h4{ font-size: 1.4rem; line-height: 1.2; margin: 0 0 0.6rem 0;}
.michiText{ line-height: 1.6;}
.michiImg{ 
    display: flex; 
    align-items: center;
    width: 100%;     
    max-width: 552px;
    margin: 2rem auto;
    border: #dcdcdc 1px solid;
    border-radius: 20px;
    padding: 1rem;
    line-height: 1.2;
}
.michiImg a{text-decoration: underline; transition: 0.6s;}
.michiImg a:hover{ text-decoration: none;}


.eventInfoBox{ list-style: none; line-height: 1.4;}
.eventInfoBox>li{ margin: 0 0 0.5rem 0;}
.eventInfoBox>li>ul{ display: flex; list-style: none;}
.eventInfoBox>li>ul>li:nth-child(1){ width: 15%;}
.eventInfoBox>li>ul>li:nth-child(2){ width: 85%;}
.link{ text-decoration: underline;}
.link:hover{ text-decoration: none;}

/* =========================================
   TB
========================================= */
@media (max-width: 1032px) {
.articleImg { width: 88%;}
}

/* =========================================
   SP
========================================= */
@media (max-width: 640px) {
    .spBr{ display: block;}
    .pcOnly{ display: none;}
    .spOnly{ display: block;}

    /*記事 ----------------------------------*/
    .articleHeading{ font-size: 1.4rem;}
    .articleImg{ display: block; width: 100%; margin: 1.4rem auto 0;}
    .articleBox{ display: block;width: 100%; max-width: 480px;}
    .articleBox>div{ margin: 0 auto 1rem; max-width: 300px;}

    .articleBox2{ display: block;}
    .articleMidashi2{ width: 100%;}
    .articleImg3{ width: 100%;}

    .supportBox{ display: block; padding: 1rem;}
    .supportBox .articleBox3 { display: block; padding: 0 0% 7%; margin: 0;}
    .borderR{ border-right: none; border-bottom: 1px solid #000; padding: 0 0 2rem 0; margin: 0 0 2rem 0;}
    .article4 img{width: 70%;}

    .tqBox{ display: block; text-align: center;}
    .tqBox img{ margin:0 0 1rem 0 ;}
    .trText{ padding: 0;}

    .michiTitle{ width: 80%; max-width: 270px;}
    .michiTextBox{ display: block;}
    .michiTextCont{ padding:1rem 0 0;}

    .anser{width: 80%; max-width: 150px;}

    .spBr{ display: block;}

    .articleHeading>p>span { font-size: 0.8rem;}
    .eventInfoBox>li>ul>li:nth-child(1) { width: 30%;}
}