﻿.notice {
    width:50vw;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
    box-sizing:border-box;
    margin-left:auto;
    margin-right:auto;
}

.date {
    color: #0078D4;
    font-weight: bold;
}

.title {
    font-size:1.3em;
    font-weight:bold;
    margin: 10px 0;
}

.title a {
    color: #800;
    text-decoration: none;
    font-size: 1.2em;
}

.title a:hover {
    text-decoration: underline;
    color: #68a9cf;
}

.content {
    text-align:left;
    font-size:1em;
}

.content p {
    margin: 10px 0;
}

.content strong {
    margin: 10px 0;
    font-size: 10.1em;
    color: #333;
}


.footer {
    font-size: 0.9em;
    color: #666;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
    margin-top: 10px;
    text-align:right;
}

.footer a {
    color: #0078D4;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

hr {
    width:50vw;
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 40px 0;
}

.white{
    color:transparent;
    display:inline;
}

.line{
    display:inline;
}

.tit{
    font-weight:bold;
    color:#000;
    border-bottom:0.1em solid #800;
}

.smap{
   display:none !important;
}

.pc{
   display:block !important;
}

.content img{
display:block;
  margin:0 auto;   /* 中央寄せ */
  width:75%;
  height:auto;
}

.m-pic{
    text-align:center;
}

.setumei{
    font-size:0.9em;
}


/*-----------------------------------------------------------------------------------------*/


/*スマホ対応CSS*/

@media only screen and (max-width: 800px) {


  /* ナビをフローに戻す（上に固定したいなら sticky の方が自然） */
  .navi {
    position: sticky; /* または position: static; でもOK */
    top: 0;
    z-index: 100; /* 上に出すために少しだけ */
  }

  /* 教会案内ボックスの余白を最小化 */
  .n-box {
    margin-top: 1rem; /* ここを小さくするのが肝 */
  }

  /* 見出しの上マージンも少し抑える（任意） */
  .n-box h2 {
    margin-top: .5rem;
  }



.notice {
    width:100%;
    padding: 20px;
    margin-bottom: 20px;
}

hr {
    width:100%;
}

.content {
    text-align:left;
    font-size:0.9em;
}

.pc{
   display:none !important;
}

.smap{
   display:block !important;
}

}




