.spOnly{ display: none;}

#whatisCont{
    display: block;
    width: 96%;
    max-width: 1000px;
    margin: 2rem auto 4rem;
}

/*タイトル ------------------*/
.titleBox{
    background: #e4faff;
    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: 1.7rem;
    font-weight: bold;
    padding: 1rem 0.6rem 0.6rem;
}
.titleMain{ display: block; min-width: 0; line-height: 1.5;}
.titleSeg{ display: inline-block;}
.titleRuby{ position: relative; display: inline-block;}
.titleRt{
    position: absolute;
    left: 50%;
    bottom: 88%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    line-height: 1;
    white-space: nowrap;
}
.titleImg1{ 
    position: absolute;
    left: 10px;
    top: -21px;
    width: 14%;
    max-width: 120px;
    z-index: 1;
}
.titleText1{font-size: 1.4rem;}

/*記事 -------------------------*/
.whatisCint{
    background: #e4faff;
    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; ;
}
.qaCon:last-child{ padding-bottom: 0; border-bottom: none;}
.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;
}
/* Qマーク（色はここで変更） */
.qIcon{
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin: 0 0.5rem 0 0;
}
.qIcon circle{ fill: #000;}
.qIcon text{
    fill: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: bold;
}
.anserBox{
    display: flex;
}
.anser{ 
    color: #fff;
    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: #000; background: #ffec6d; padding: 0.2rem;}
/* 本文ルビ */
.rubyBox{ position: relative; display: inline-block; text-indent: 0; line-height: 1;}
.rubyRt{
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.2rem);
    transform: translateX(-50%);
    font-size: 0.6rem;
    line-height: 1;
    white-space: nowrap;
    color: #000;
}
.anserText:has(.rubyBox){ padding-top: 0.4rem; line-height: 2;}
/* 本文ルビ（黄色帯なし） */
.rubyBoxPlain{ position: relative; display: inline-block; text-indent: 0; line-height: 1; vertical-align: baseline;}
.rubyRtPlain{
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.05em;
    white-space: nowrap;
    color: #000;
}

.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%;}
.bridgeList{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 87%;
    max-width: 880px;
    margin: 0 auto;
}
.bridgeList>div{ display: flex; flex-direction: column; width: 47%; margin: 0 0 1.6rem 0;}
.bridgeList img{ width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: auto 0 0 0;}
.bridgeList .photoText{ color: #000; text-align: center; font-weight: bold; margin: 0 0 0.4rem;}
.bridgeList .caption{ margin: 0 0 0.6rem 0;}

.tourLinkBox{ display: flex; align-items: center; justify-content: center; margin: 1rem 0 0;}
.tourQr{ width: 100px; margin: 0 0 0 1rem;}
.tourLink{ text-align: center; font-size: 1.2rem; font-weight: bold;}
.tourLink a{ color: #000; text-decoration: underline;}
.tourLink a:hover{ text-decoration: none;}
.profileBox{
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 1rem;
    margin: 2rem 0 0;
}
.profileBox img{ width: 20%; max-width: 140px; margin: 0 1.2rem 0 0;}
.profileName{ color: #000; font-size: 1.2rem; font-weight: bold; line-height: 1.6; margin: 0 0 0.4rem 0;}
.profileNameMain{ font-size: 1.5rem;}
.profileNameSan{ font-size: 1.1rem; margin: 0 0 0 0.1rem;}
.profileText{ color: #000; line-height: 1.6;}
.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: #e4faff;
    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 10px 10px;
    padding: 0;
    height: 10px;
}
.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: 820px) {
    .title { padding-left: 10%;}
}

@media (max-width: 640px) {
    .pcOnly{ display: none;}
    .spOnly{ display: block;}
    .tourQr{ display: none;}

    .titleImg1 { left: -11px; top: -37px; width: 17%; z-index: 1;}
    .title { line-height: 1.6;}
    .titleMain{ line-height: 1.8;}
    .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%;}

    .bridgeList{ width: 98%;}
    .bridgeList>div{ width: 100%;}
    .profileBox img{ width: 28%;}
    .profileText{ font-size: 0.9rem;}

    .photo{ justify-content: center;}
    .photo div{ width: 72%;}

    .underline{ text-decoration: underline;}
}