.mainPost .maintext01 {
  font-family: "Times New Roman", Times, "serif" !important;
  font-size: 20px !important;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .mainPost .maintext01 {
    margin-bottom: 30px;
  }
}

.mainPost .post01 {
  padding-top: 20px;
}

@media screen and (max-width: 767px) {
  .mainPost .post01 {
    padding-top: 10px;
  }
}

.subpost01:not(:last-child) {
  margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
  .subpost01:not(:last-child) {
    margin-bottom: 45px;
  }
}

.subpost01 h5 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.1;
  border-bottom: 1px solid #1a1311;
  margin-bottom: 25px;
}

@media screen and (max-width: 767px) {
  .subpost01 h5 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 10px;
    padding-left: 5px;
  }
}

.hand_copying .right {
  width: 28%;
}

@media screen and (max-width: 1050px) {
  .hand_copying .right {
    width: 38%;
  }
}

.hand_copying .left {
  width: 71%;
}

@media screen and (max-width: 1050px) {
  .hand_copying .left {
    width: 60%;
  }
}

.ajikan .right {
  width: 79%;
}

@media screen and (max-width: 1050px) {
  .ajikan .right {
    width: 66%;
  }
}

.ajikan .left {
  width: 20%;
}

@media screen and (max-width: 1050px) {
  .ajikan .left {
    width: 30%;
  }
}

.kechien ul {
  margin-bottom: 25px;
}

@media screen and (max-width: 767px) {
  .kechien ul {
    margin-bottom: 20px;
  }
}

.kechien .left {
  width: 15%;
}

@media screen and (max-width: 1050px) {
  .kechien .left {
    width: 25%;
  }
}

.kechien .left img {
  display: block;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .kechien .left img {
    display: inline-block;
  }
}

.kechien .right {
  width: 84%;
}

@media screen and (max-width: 1050px) {
  .kechien .right {
    width: 73%;
  }
}

@media screen and (max-width: 767px) {
  .kechien .center {
    text-align: left;
  }
}

.kechien .center span {
  text-align: left;
  display: inline-block;
}

@media screen and (max-width: 767px) {
  .kechien .center span {
    font-size: 12px;
  }
}

.subpost02 {
  padding: 25px;
  margin-bottom: 30px;
  background: url("../images/bg_index01.png");
}

@media screen and (max-width: 767px) {
  .subpost02 {
    padding: 5%;
    margin-bottom: 25px;
  }
}

.subpost02 ul {
  margin-bottom: 0;
}

.subpost02 .left {
  width: 40%;
  margin-top: 5px;
  margin-right: 30px;
}

.subpost02 .left2 {
  width: 40%;
  margin-top: 5px;
  margin-right: 30px;
}

@media screen and (max-width: 1280px) {
.subpost02 .left {
  width: 40%;
  margin-top: 5px;
  margin-right: 30px;
  }
}

@media screen and (max-width: 1050px) {
  .subpost02 .left {
    width: 40%;
  }
}

@media screen and (max-width: 1050px) {
  .subpost02 .left2 {
    width: 40%;
  }
}

.subpost02 .right {
  width: 100%;
}

.timeBox {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .timeBox {
    margin-bottom: 15px;
  }
}

.timeBox li {
  width: 50%;
  float: left;
  border: 1px solid #42210b;
}

@media screen and (max-width: 767px) {
  .timeBox li {
    float: none;
    width: 100%;
  }
}

.timeBox li:first-child {
  border-right: none;
}

@media screen and (max-width: 767px) {
  .timeBox li:first-child {
    border-right: 1px solid #42210b;
    margin-bottom: 12px;
  }
}

.timeBox span {
  color: #42210b;
  font-size: 20px;
  font-family: "Times New Roman", Times, "serif";
  padding: 5px;
  background-color: #b79d5f;
  border-bottom: 1px solid #42210b;
  display: block;
}

@media screen and (max-width: 767px) {
  .timeBox span {
    font-size: 16px;
    padding: 3px;
  }
}

.timeBox p {
  padding: 15px 20px;
}

@media screen and (max-width: 767px) {
  .timeBox p {
    font-size: 11px !important;
    padding: 10px;
  }
}

@media screen and (max-width: 767px) {
  .text01 {
    width: 94%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .subpost01 .right {
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .subpost01 .left {
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .subpost02 .left {
    width: 680px;
  }
}

@media screen and (max-width: 767px) {
.subpost02 .left2 {
  width: 400px;
  margin-top: 0;
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .subpost01 img {
    width: 100%;
  }
}

.bottom01 {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .bottom01 {
    margin-bottom: 25px;
  }
}

@media screen and (max-width: 767px) {
  .kechien .left {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .kechien .left img {
    width: 48%;
  }
  .kechien .left img:first-child {
    margin-right: 2.9%;
  }
}


/* 2024/3/25 added for Jukai */
.images-container {
  display: flex;
  align-items: flex-end;
  gap: 60px;
}

.er-top-img {
  height: auto;
  width: 200px;
  margin-right: 50px;
  max-width: 100%; /* コンテナの幅を超えないように制限 */
}



@media screen and (max-width: 767px) {
  .images-container {
    flex-direction: column;
    align-items: center;
  }
}
  

.h3-and-image-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 200px;
}

.h3-and-image-container h3 {
  margin: 0; 
  flex-shrink: 0; 
}

@media screen and (max-width: 767px) {
  .er-top-img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 767px) {
  .er-top-img-sp {
    width: 60% !important;
    height: auto !important;
  }
  p > strong {
    font-weight: bold;
  }
}

@media screen and (max-width: 767px) {
.subpost02 .right2 p {
    font-size: 14px;
}

  .subpost01 .jukai-img {
    margin-bottom: 20px;
}


@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */
  .subpost02 .left2, .subpost02 .left, .subpost02 .left img {
    width: 100%;
}

}