/* CSS Document */
.mainimage {
  clear: both;
  height: 350px;
  text-align: center;
}
.mainimage img {
  height: 100%;
  width: auto;
}
.oneblock_re {
  clear: both;
  background-color: #FFF;
  display: block;
  margin: 15px auto 30px;
  padding: 15px 40px;
}
.oneblock_re h3 {
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  font-size: 24px;
  color: #be9017;
  border-left: 8px solid #be9017;
  border-bottom: 1px solid #be9017;
  padding-left: 15px;
  margin: 12px 0 10px;
}
.oneblock_re p {
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.8;
}
.sahi {
  clear: both;
  width: 100%;
  margin: 10px auto 0;
}
.sahi img {
  width: 100%;
  height: auto;
}
.narade {
  clear: both;
  width: 28%;
  margin: 10px;
}
.narade img {
  width: 100%;
  height: auto;
}
.empa {
  font-size: 17px;
  font-weight: bold;
}
.ore {
  color: #ea502a;
  font-weight: bold;
}
.reform_kakaku {
  clear: both;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.reform_kakaku ul {
  clear: both;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}
.reform_kakaku li {
  float: left;
  width: 30%;
  margin: 2px 1%;
}
.full {
  border: 5px solid #bba898;
  border-radius: 10px;
}
.semi {
  border: 5px solid #95b3b9;
  border-radius: 10px;
}
.ligh {
  border: 5px solid #adaeae;
  border-radius: 10px;
}
.stit {
  clear: both;
  margin: 0;
  padding: 30px 0 10px;
  background-color: #bba898;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #FFF;
  letter-spacing: 1px;
}
.stit_small {
  clear: both;
  margin: 0;
  padding: 10px 0 20px;
  background-color: #bba898;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #FFF;
  letter-spacing: 1px;
  line-height: 1.6;
}
.stit_s {
  clear: both;
  margin: 0;
  padding: 30px 0 10px;
  background-color: #95b3b9;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #FFF;
  letter-spacing: 1px;
}
.stit_small_s {
  clear: both;
  margin: 0;
  padding: 10px 0 20px;
  background-color: #95b3b9;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #FFF;
  letter-spacing: 1px;
  line-height: 1.6;
}
.stit_l {
  clear: both;
  margin: 0;
  padding: 30px 0 10px;
  background-color: #adaeae;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #FFF;
  letter-spacing: 1px;
}
.stit_small_l {
  clear: both;
  margin: 0;
  padding: 10px 0 20px;
  background-color: #adaeae;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #FFF;
  letter-spacing: 1px;
  line-height: 1.6;
}
.kakaku_small {
  font-size: 16px;
}
.kakaku {
  padding: 10px 0;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 1px;
}
.naiyo {
  background-color: #f1f1f1;
  width: 80%;
  margin: 10px auto;
  padding: 15px 10px;
  font-size: 15px;
}
.naiyo ol {
  overflow: hidden;
  margin-top: 5px;
  margin-left: -10px;
  height: 185px;
}
.naiyo li {
  clear: both;
  width: 100%;
  padding: 5px 0;
  border-bottom: 1px solid #CCC;
}
.con_freq {
  clear: both;
  margin: 0;
  padding: 0;
}
.con_freq dl {
  clear: both;
  margin: 0;
  padding: 10px;
}
.con_freq dt {
  clear: both;
  margin: 0;
  padding: 5px;
  border-bottom: 1px dotted #666;
  line-height: 1.6;
  font-weight: bold;
}
.con_freq dd {
  clear: both;
  margin: 0;
  padding: 5px;
  line-height: 1.6;
}
.nihon_wrap {
  width: 100%;
  overflow: hidden;
  background-image: url("../images/nihon_back.jpg");
  background-repeat: no-repeat;
  background-color: #f5f1f8;
  background-position: center center; /* 中央基準 */
  background-size: auto 100%;
}
.nihon_wrap_inn {
  width: 940px;
  margin: 0 auto;
  padding-top: 20px;
}
.box {
  float: left;
  width: 25%; /* PC時は4つ横並び */
  height: 300px;
  background-color: #ccc;
  text-align: center;
  line-height: 100px;
  box-sizing: border-box;
  background: none;
}
.A {
  width: 180px;
}
.B {
  width: 480px;
}
.C {
  width: 100px;
}
.D {
  width: 180px;
}
.E {
  display: none;
}
.A img {
  width: 150px;
  height: auto;
}
.C img {
  width: 60px;
  height: auto;
}
.D img {
  width: 160px;
  height: auto;
}
.B p {
  line-height: 1.9;
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 1px;
}
/*日本刀追加 */
.A {
  width: 210px;
}
.A img {
  width: 180px;
  margin-top: 20px;
  height: auto;
}
.J {
  width: 300px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  font-size: 23px;
  line-height: 1.6;
  text-align: left;
  letter-spacing: 2px;
  font-weight: bold;
}
.C {
  width: 200px;
}
.C img {
  width: 80px;
  height: auto;
}
.D img {
  width: 170px;
  height: auto;
}
/* --- スマホ表示（例：768px以下） --- */
@media (max-width: 768px) {
  .nihon_wrap {
    width: 100%;
    background-image: url("../images/nihon_back_sp.jpg");
    background-repeat: no-repeat;
    background-position: center center; /* 中央基準 */
    background-size: auto 100%;
  }
  .nihon_wrap_inn {
    width: 100%;
  }
  .box {
    width: 33.333%; /* 3つ横並び */
  }
  .A {
    width: 38%;
  }
  .J {
    display: none;
  }
  .C {
    width: 25%;
  }
  .D {
    width: 35% !important;
    float: right;
  }
  .E {
    display: block;
  }
  .E {
    width: 100%;
  }
  .A img {
    width: 90%;
    height: auto;
    padding-top: 18px;
    padding-left: 10px;
  }
  .C img {
    width: 70%;
    height: auto;
    padding-top: 20px;
  }
  .D img {
    width: 92%;
    height: auto;
    padding-top: 20px;
    padding-right: 10px;
  }
  .box.E {
    clear: both; /* ここで改行！ */
    width: 100%; /* Cだけ1段目の下に配置 */
  }
  .E p {
    line-height: 1.9;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
  }
}
@media (max-width: 766px) {
  .oneblock_re {
    clear: both;
    width: 84%;
    background-color: #FFF;
    display: block;
    margin: 15px auto 30px;
    padding: 10px 4%;
  }
  .oneblock_re h3 {
    font-size: 19px;
    padding-left: 8px;
    line-height: 1.5;
  }
  .narade {
    width: 60%;
    margin: 10px;
  }
  .reform_kakaku li {
    clear: both;
    width: 80%;
    margin: 5px 9% 15px;
  }
  .naiyo {
    margin: 10px auto;
    padding: 15px 10px;
    font-size: 15px;
  }
  .naiyo ol {
    margin-left: 0px;
    height: auto;
  }
  .naiyo li {
    clear: both;
    width: 100%;
    margin: 0 0 0 -10px;
    padding: 5px 0;
    border-bottom: 1px solid #CCC;
  }
}
.oneblock_re h3 {
  color: #8f3f8c;
  border-color: #8f3f8c;
}
.flow {
  display: flex;
  margin: 30px auto 20px;
  justify-content: center;
  align-items: stretch; /* PCでは高さ揃え */
  gap: 25px;
  flex-wrap: wrap;
}
.card {
  position: relative;
  width: 150px;
  border: 4px solid #8f3f8c;
  border-radius: 12px;
  background-color: #fff;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
/* 見出し */
.card-header {
  background-color: #8f3f8c;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 10px 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
/* 本文 */
.card-body {
  flex: 1; /* PCでは高さを揃える */
  padding: 15px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: top;
  text-align: left;
}
/* PC時の右矢印 */
.card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -17px;
  transform: translateY(-50%);
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 14px solid #8f3f8c;
  z-index: 5;
}
/* 最後のカードは矢印なし */
.card:last-child::after {
  display: none;
}
.tosho {
  clear: both;
  width: 100%;
}
.tosho img {
  width: 100%;
  height: auto;
}
/* --- 📱スマホ用 --- */
@media screen and (max-width: 600px) {
  .flow {
    flex-direction: column;
    align-items: flex-start; /* ←高さ固定を解除 */
    gap: 40px;
  }
  .card {
    width: 90%;
    max-width: 320px;
  }
  .card-body {
    flex: unset; /* ←高さ固定を解除！ */
    display: block;
  }
  .card::after {
    top: auto;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    border-top: 14px solid #8f3f8c; /* 下矢印 */
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: none;
  }
  .E {
    width: 36% !important;
    margin: 0 32%;
  }
  .E p {
    writing-mode: vertical-rl;
    font-size: 22px;
    margin: 0;
    padding: 0;
    text-orientation: upright;
    align-items: center;
  }
}
.nihon_tosho {
  clear: both;
  margin: 0 auto;
  padding: 0;
}
.nihon_tosho img {
  width: 96%;
  height: auto;
  margin: 15px 2%;
}
hr.style2 {
  border-top: 3px double #BBB;
  margin: 0;
  padding: 0;
  ;
}
.greeting {
  background-color: #f9f9f9; /* 優しい背景色 */
  font-weight: 500;
  padding: 80px 20px; /* 上下左右の余白 */
  text-align: center;
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  line-height: 2; /* 行間を広めに */
}
.greeting-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.greeting-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
  color: #333;
  letter-spacing: 0.1em;
  position: relative;
}
.greeting p {
  margin-bottom: 25px;
  font-size: 18px;
  color: #444;
}
@media screen and (max-width: 600px) {
  .greeting {
    padding: 60px 15px;
  }
  .greeting-title {
    font-size: 22px;
  }
  .greeting p {
    font-size: 18px;
    line-height: 1.9;
  }
}