/* 不要な・重複したCSSを削除し、father2022.css をスリム化 */
@charset "utf-8";

.pc { display: block !important; }
.sp { display: none !important; }

#first-time{
    font-family:"Noto Serif JP", "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}
/* スマホでも可変させたい場合 */
#firsttime-wrap #title-t1 {
  font-size: clamp(16px, 4.5vw, 22px);
  font-weight: 700;
}

#h3-box{
  position: relative;
  margin: 0 auto 30px;
}
#Journal #h3-box h3, #JournalList #h3-box h3{
  width: auto;
  max-width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  line-height: 1.4;
  text-align: center;
  color: #fff;
  background: rgba(94,120,49,0.8);
  padding: .6em .8em;
  margin: 0 auto;
  font-size: clamp(16px, 4.5vw, 22px);
  font-weight: 700;
}


#title-t1 {
    border: none;
    border-top: 2px solid red;
    border-bottom: 2px solid red;
    padding: 25px 0;
}

#title-t1 p {
    text-align: center;
    font-size: 2em;
    color: red;
    font-weight: bold;
}
#line-box1 p{
    margin: 20px 0;
    text-align: center;
    font-size: 1.5em;
    line-height: 2em;
}


.linemark {
    background: linear-gradient(transparent 50%, #fffc1d 50%);
}

a.button-1{
    color: #fff;
}
.button-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: .9em 2em;
  border: 1px solid #d02525;
  border-radius: 5px;
  background-color: #d02525;
  color: #fff;
  font-size: 1em;
  width: 70%;
  text-decoration: none; /* ← リンク下線消す */
}

.button-1::after {
  transform: rotate(45deg);
  color: #fff;
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-top: 2px solid #fff;   /* 矢印も白に */
  border-right: 2px solid #fff;
  content: '';
}

.button-1:hover,
.button-1:focus,
.button-1:active,
.button-1:visited {  /* 訪問後も白文字維持 */
  color: #fff;
  text-decoration:underline;
}
p.s-font1{
    text-align: center;
    color: red;
}

.txt-c1{
    text-align: center;
    font-size: 2em;
    line-height: 1.8em;
}

#first-time img {
    margin-top: 40px;
}

#first-time img:first-of-type {
    margin-top: 0; /* 最初の画像だけ余白なし */
}