.plan_mv {
  width: 100%;
  height: 80vh;
  min-height: 500px;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 80%), url('../img/plan/plan-mv.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mv_inner {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.mv_inner::after {
  content: "";
  position: absolute;
  top: calc(100% + 1rem); /* コンテンツの下から線を出す */
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
   height: calc(40vh - 4.9rem);
   min-height: calc(250px - 4.9rem);
  background: #fff;
}

.mv_title {
  font-size: 3.5rem;
  color: #fff;
}

.mv_content {
  font-size: 1rem;
  letter-spacing: 0.1rem;
  color: #fff;
}

.room_plans{
    width: 100%;
    padding: 4rem 10px;
    box-sizing: border-box;
}
.content_container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.content_inner{
    width: 100%;
}
.plan_top_en {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #9b8a6e;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 0;
}

.plan_top_copy {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  line-height: 2;
  text-align: center;
  color: #333;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 4rem;
}
.plan_card {
  width: 30%;
  max-width: 350px;
  min-width: 340px;
  margin: 0 auto;
  background-color: #9b8a6e;
  padding: 2rem 1.5rem;              /* 内側余白 */
  position: relative;         /* 擬似要素の基準 */
  color: #fff;
  text-align: center;
   font-family: "EB Garamond", serif;
  font-weight: normal;
  box-sizing: border-box;
}
/* 外枠 */
.plan_card::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  right: 0.3rem;
  bottom: 0.3rem;
  border: 1px solid #fff;    /* 枠線の色 */
  pointer-events: none;
}

/* 見出し */
.plan_card h3 {
  font-size: 2rem;
  font-weight: normal;
  color: #c3b9a8;
  margin: 0;
  line-height: 1;
}
.plan_card h3 span {
  font-size: 3rem;
  font-weight: normal;
}

/* 間取り表記 */
.plan_card p{
    margin: 0;
}
.plan_card .plan_details {
  margin: 0.5rem 0;
  font-size: 1.5rem;
  line-height: 1.2;
  border-bottom: 1px solid #fff;
  display: inline-block;
  font-family: "EB Garamond", 'Noto Serif JP',serif;
}
.plan_card .plan_details span {
  font-size: 2.8rem;
}
.plan_card .plan_area {
  font-size: 1.5rem;
  line-height: 1;
}
.plan_card .plan_area span {
  font-size: 3rem;
  margin-left: 0.3rem;
}
.plan_card .plan_area .tsubo {
  font-size: 1rem;
  margin-left: 0.3rem;
  font-family: "EB Garamond", 'Noto Serif JP',serif;
}
/* 間取り画像 */
.plan_card .plan_img {
  max-width: 45%;
  margin: 2rem auto 2rem;
  display: block;
}

/* ボタン */
.plan_card a {
    width: 80%;
    max-width: 200px;
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid #fff;
  border-radius: 40px;
  padding: 0.3rem 1rem;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}
.plan_card a:hover {
  background: rgba(255,255,255,0.8);
  color: #9b8a6e;
}

.plan_notice{
    display: block;
    width: 100%;
    text-align: right;
    color: #9b8a6e;
    font-size: 0.7rem;
    margin: 2rem 0;
}
.plan_notice_br{
    display: none;
}

.plan_coordinate{
    width: 100%;
    background-color: #f4f4f4;
    padding: 4rem 1.5rem;
    box-sizing: border-box;
}
.plan_coordinate_title {
  width: 300px; 
  height: 300px; 
  border-radius: 50%; 
  background: #fff; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'EB Garamond', serif; 
  color: #9b8a6e;
  font-size: 2.2rem;
  margin: 0 auto;
  padding: 2rem 1rem;
    line-height: 1;
box-sizing: border-box;
}

.plan_coordinate_title span {
  position: relative;
  line-height: 1.6;
}

.plan_coordinate_title span:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0rem;   /* 下線と文字の距離を調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;       /* テキスト幅いっぱい */
  height: 1px;
  background-color: #9b8a6e;
}

.plan_coordinate_title_jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  color: #9b8a6e;
  text-align: center;
  letter-spacing: 0.15em;
  margin: 1.5rem 0 0.5rem;
}

.plan_concept {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #9b8a6e;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 0;
}

.plan_copy {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  line-height: 2;
  text-align: center;
  color: #333;
  font-weight: 400;
  margin-bottom: 2rem;
}

.plan_text {
    width: 90%;
    max-width: 570px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  line-height: 2rem;
  text-align: justify;
  color: #333;
  margin: 0 auto;
}

.style_grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* PCでは2列 */
  gap: 1rem;
  margin-top: 3rem;
  box-sizing: border-box;
}

.style_item img {
  width: 100%;
  height: auto;
  display: block;
}
.img_notice{
    text-align: right;
    font-size: 0.7rem;
}

.plan_coordinate .btn_wrap {
  text-align: center; /* 中央揃え */
  margin: 2rem 0;
}

.plan_coordinate .btn_detail {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  background: #9b8a6e;
  color: #fff;
  text-decoration: none;
  padding: 1rem;
  font-size: 1rem;
  position: relative;
  border: 1px solid #fff;   /* 内側の線 */
  box-sizing: border-box;
}

.plan_coordinate .btn_detail::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 5px solid #9b8a6e; /* 外側の線 */
}

.plan_coordinate .btn_detail::after {
   content: "";
  display: inline-block;
  margin-bottom: 2px;
  margin-left: 1rem;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  vertical-align: middle;
}

.plan_detail_container{
    width: 100%;
    padding: 3rem 1rem;
    box-sizing: border-box;
    background-color: #ebebeb;
}
.plan_detail_inner{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
    text-align: center;
    box-sizing: border-box;
}
.plan_detail_inner h3 {
  font-size: 2rem;
  font-weight: normal;
  color: #686868;
  margin: 0;
  line-height: 1;
  margin-bottom: 3rem;
}
.plan_detail_inner h3 span {
  font-size: 3rem;
  font-weight: normal;
}
.plan_detail_inner .plan_text_jp{
    font-size: 1rem;
    color:#9b8a6e;
    margin-bottom: 0;
    line-height:   1;
}
.plan_detail_inner .plan_details {
  font-family: "EB Garamond", 'Noto Serif JP',serif;
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  line-height: 1.2;
  color:#9b8a6e;
  border-bottom: 1px solid #9b8a6e;
  display: inline-block;
}
.plan_detail_inner .plan_details span {
  font-size: 2.8rem;
}
.plan_detail_inner .plan_area {
  font-size: 1.5rem;
  color:#9b8a6e;
  line-height: 1;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}
.plan_detail_inner .plan_area span {
  font-family: "EB Garamond", 'Noto Serif JP',serif;
  font-size: 3rem;
  margin-left: 0.3rem;
}
.plan_detail_inner .plan_area .tsubo {
  font-size: 1rem;
  margin-left: 0.3rem;
  font-family: "EB Garamond", 'Noto Serif JP',serif;
}
/* 間取り画像 */
.plan_detail_inner .plan_img {
  width: 100%;
  max-width: 420px;
  margin: 3rem auto 2rem;
  display: block;
}
.plan_detail_inner .btn_wrap {
  text-align: center; /* 中央揃え */
  margin: 2rem 0;
}

.plan_detail_inner .btn_detail {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  background: #9b8a6e;
  color: #fff;
  text-decoration: none;
  padding: 1rem;
  font-size: 1rem;
  position: relative;
  border: 1px solid #fff;   /* 内側の線 */
  box-sizing: border-box;
}

.plan_detail_inner .btn_detail::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 5px solid #9b8a6e; /* 外側の線 */
}

.plan_detail_inner .plan_legend {
    width: 100%;
  max-width: 350px;
  font-size: 0.75rem;
  color: #333;
  margin: 1rem auto 2rem;
  line-height: 1.3;
  text-align: left;

}
.plan_detail_inner .plan_legend p{
    margin: 0.5rem 0 0;
  line-height: 1;
}
.plan_detail_inner .plan_legend .legend-icon {
  display: inline-block;
  width: 40px;
  height: 14px;
  background-color: #dfd7cb; /* ← 色は任意 */
  vertical-align: middle;
  margin: 0 0.3rem;
}

.plan_detail_inner .plan_notice {
  font-size: 0.85rem;
  color: #333;
  margin-top: 1rem;
  margin-bottom: 5rem;
  text-align: center;
}

.plan_detail_inner .feature-boxes {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* ボックス間の余白 */
  margin: 5rem auto 3rem; /* 中央寄せ */
}

.plan_detail_inner .feature-item {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  background: #ab9d85;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 15px;
  position: relative;
  border: 1px solid #fff;   /* 内側の線 */
  box-sizing: border-box;
  margin: 0 auto;
}

.plan_detail_inner .feature-item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 5px solid #ab9d85; /* 外側の線 */
}
@media (max-width: 767px) {
.plan_mv {
        height: 300px;
        min-height:unset;
    }
.mv_inner::after {
  content: "";
  position: absolute;
  top: calc(100% + 1rem); /* コンテンツの下から線を出す */
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
   height: calc(150px - 4.9rem);
  background: #fff;
}

.plan_notice{
    display: block;
    width: 100%;
    text-align: left;
}
.plan_coordinate{
    width: 100%;
    background-color: #f4f4f4;
    padding: 4rem 1rem;
    box-sizing: border-box;
}
.plan_coordinate_title_jp{
    font-size: 0.8rem;
}

.plan_copy {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  line-height: 2;
  text-align: left;
  color: #333;
  font-weight: 400;
   margin-top: 2rem;
  margin-bottom: 1rem;
}

.plan_text {
    width: 100%;
    max-width: 570px;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  line-height: 2rem;
  text-align: justify;
  color: #333;
  margin: 0 auto;
}

  .style_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 445px) {
.plan_notice_br{
    display: block;
}
}