/* 入居者様の声
-----------------------------------------------------------------------*/
/* ヒーロー
-----------------------------------------------------------------------*/
.online-sodan {
  background-color: #FFFFFF
}
.online-sodan .hero_box {
  max-width: 700px;
  text-align: center;
  margin: 100px auto 50px auto;
  padding: 0 20px
}
.online-sodan .hero_box img {
  display: block;
}
/* 1枚目画像 */
.online-sodan .hero_box img:nth-of-type(1) {
  max-width: 455px;
  width: 100%;
  margin: 0 auto 30px
}
/* 2枚目画像 */
.online-sodan .hero_box img:nth-of-type(2) {
  max-width: 471px;
  width: 100%;
  margin-left: auto;
}
.online-sodan .hero_box h3 {
  font-family: "Zen Old Mincho", serif;
  font-size: 22px;
  margin-bottom: 40px
}
/* 左右に［ ］風の装飾 */
.kakko {
  position: relative;
  display: inline-block;
  padding: 18px 42px;
  line-height: 1.8;
  font-size: 20px;
  line-height: 1.5em;
  margin-bottom: 20px
}
.kakko::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 15px;
  border-left: 2px solid #000;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}
.kakko::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 10px;
  width: 15px;
  border-right: 2px solid #000;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}
@media (max-width:700px) {
  .online-sodan .hero_box {
    margin: 60px auto 20px auto;
  }
  /* 1枚目画像 */
  .online-sodan .hero_box img:nth-of-type(1) {
    max-width: 400px;
    margin: 0 auto 30px;
    padding: 0 30px
  }
  /* 2枚目画像 */
  .online-sodan .hero_box img:nth-of-type(2) {
    max-width: 300px;
    width: 100%;
  }
  .online-sodan .hero_box h3 {
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    margin-bottom: 20px
  }
  .kakko {
    max-width: 400px;
    font-size: 14px;
    padding: 14px 28px;
    text-align: left
  }
  .kakko br {
    display: none;
  }
  .kakko::before, .kakko::after {
    width: 14px;
    top: 8px;
    bottom: 8px;
  }
}
/*流れ
---------------------------------------------------------*/
.online-sodan .flow_box {
  width: 100%;
  text-align: center;
  background-color: #e9e4d9;
  padding: 65px 20px 50px 20px;
  margin-bottom: 20px
}
.online-sodan .flow_box h3 {
  font-size: 35px;
  margin-bottom: 10px
}
/* 1枚目画像 */
.online-sodan .flow_box h3 + img {
  max-width: 135px;
  margin: 0 auto 30px
}
.online-sodan .flow_box p.copy {
  font-size: 15px;
  line-height: 1.8em;
  margin-bottom: 30px
}
@media (max-width:700px) {
  .online-sodan .flow_box {
    padding: 40px 20px 30px 20px;
  }
  .online-sodan .flow_box h3 {
    font-size: 24px;
    margin-bottom: 10px
  }
  /* 1枚目画像 */
  .online-sodan .flow_box h3 + img {
    max-width: 100px;
  }
  .online-sodan .flow_box p.copy {
    display: block;
    margin: 0 auto 30px auto;
    max-width: 400px;
    font-size: 14px;
    text-align: left
  }
  .online-sodan .flow_box p.copy br {
    display: none
  }
}
/* --- レイアウト（PC基準） --- */
.online-sodan .flow_box .step {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* ← PC 3列 */
  gap: 50px;
  max-width: 900px;
  margin: 0 auto 40px;
  justify-items: center;
  overflow: visible;
}
/* --- カード --- */
.online-sodan .flow_box .step > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: #fff;
  padding: 20px 0 12px 0;
  overflow: visible;
}
/* --- 画像・テキスト --- */
.online-sodan .flow_box .step div img:first-child {
  width: auto;
  height: 26px;
  display: block;
  margin-bottom: 20px;
}
.online-sodan .flow_box .step div p {
  font-size: 14px;
  line-height: 1.5em;
  padding-top: 10px;
  margin-bottom: 0px;
}
.online-sodan .flow_box .step > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-50px / 2);
  transform: translate(50%, -50%);
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 22px solid #111;
  z-index: 5;
  pointer-events: none;
}
@media (max-width: 800px) {
  .online-sodan .flow_box .step {
    grid-template-columns: 1fr; /* ← 1列 */
    gap: 60px;
  }
  .online-sodan .flow_box .step > div {
    max-width: 300px;
  }
  /* ▼ 下矢印に切り替え */
  .online-sodan .flow_box .step > div:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -42px;
    transform: translateX(-50%);
    border: 0;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 24px solid #111;
  }
}
.online-sodan .flow_box .btm {
  display: block;
  max-width: 500px;
  width: 100%;
  margin: 0px auto;
}