.mainviual{
  height: 40vh;
  width: 100%;
  position: relative;
  z-index: 0;
  background: url(../img/real_estate/main_01.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  & h1{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    color: #fff;
    text-shadow: 1px 1px 3px #3b3b3b;
    letter-spacing: 1px;
    line-height: 1.7;
    font-size: 150%;
    text-align: center;
  }
}
#auto-popup{
  display: none;
}
.content01{
  margin: 30px auto;
  .explanation{
    display: block;
    width: 95%;
    height: auto;
    margin: 0 auto 30px;
  }
  .change_title{
    letter-spacing: 1px;
    line-height: 1.7;
    text-align: justify;
    padding: 0 10px;
    span{
      color: #f00;
      font-size: 150%;
      background: linear-gradient(transparent 60%, #fff100 40%);
    }
  }
  .caution_small{
    font-size: 80%;
    text-align: right;
  }
  .reason{
    width: 95%;
    margin: 0 auto;
    .title{
      background: var(--accent);
      color: #fff;
      padding: 13px 10px 10px;
      margin:60px 0 30px;
      letter-spacing: 1px;
      outline: 1px solid #fff;
      outline-offset: -3px;
    }
    & img{
      width: 100%;
      display: block;
      height: auto;
      margin: 0 auto -15px;
    }
    .orenji{
      width: fit-content;
      background: var(--accent);
      color: #fff;
      padding: 10px;
      position: relative;
      z-index: 10;
    }
    .text{
      margin-bottom: 30px;
      padding: 10px 0;
      text-align: justify;
      letter-spacing: 1px;
      line-height: 1.7;
    }
  }
}
.worries{
  width: 95%;
  margin: 0 auto;
  & h2{
    background: var(--accent);
    color: #fff;
    padding: 13px 10px 10px;
    margin:60px 0 30px;
    letter-spacing: 1px;
    outline: 1px solid #fff;
    outline-offset: -3px;
  }
  & img{
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
  }
  & ul{
    width: 100%;
    margin: 0 auto 30px;
    & li{
      position: relative;
      z-index: 0;
      padding: 0 0 0 30px;
      margin-bottom: 10px;
      &::before{
        content: "";
        position: absolute;
        top: 2px;
        left: 9px;
        -webkit-transform: rotate(50deg);
        -ms-transform: rotate(50deg);
        transform: rotate(50deg);
        width: 6px;
        height: 15px;
        border-right: 2px solid #8b6b4e;
        border-bottom: 2px solid #8b6b4e;
      }
      &::after{
        content: "";
        position: absolute;
        top: -1px;
        left: 0;
        width: 25px;
        height: 25px;
        border: 1px solid #8b6b4e;
        border-radius: 2px;
      }
    }
  }
}
.advantage{
  width: 95%;
  margin: 0 auto;
  & h3{
    background: var(--accent);
    color: #fff;
    padding: 13px 10px 10px;
    margin:60px 0 0px;
    letter-spacing: 1px;
    outline: 1px solid #fff;
    outline-offset: -3px;
  }
  & img{
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .red{
    color: #f00;
    font-size: 116%;
    padding: 0 10px;
    margin-top: 5px;
  }
  .text{
    padding: 0 5px;
    margin: 0 0 30px;
    letter-spacing: 1px;
    line-height: 1.7;
    text-align: justify;
  }
}

.attempt{
  width: 95%;
  margin: 0 auto;
  & h3{
    background: var(--accent);
    color: #fff;
    padding: 13px 10px 10px;
    margin:60px 0 0px;
    letter-spacing: 1px;
    outline: 1px solid #fff;
    outline-offset: -3px;
  }
  & img{
    display: block;
    width: 50%;
    height: auto;
    margin: 0 0 0 auto;
  }
  .text{
    letter-spacing: 1px;
    line-height: 1.7;
    padding: 0 10px;
    text-align: justify;
    .big_title{
      font-size: 116%;
      display: inline-block;
      font-weight: bold;
      margin-top: 10px;
      color: var(--accent);
    }
    .r_text{
      color: #f00;
      font-weight: bold;
    }
    .under{
      background: linear-gradient(transparent 60%, #fff100 40%);
    }
  }
  .btn{
    width: 95%;
    margin: 30px auto;
    & a{
      display: block;
      width: 100%;
      text-align: center;
      background: var(--accent);
      color: #fff;
      padding: 12px 10px 10px;
      font-size: 116%;
      letter-spacing: 1px;
      line-height: 1.7;
      outline: 1px solid #fff;
      outline-offset: -5px;
    }
  }
}
.review{
	width: 95%;
	max-width: 1100px;
	margin: 0 auto 100px;
}
.review > .title{
	font-size: 200%;
	letter-spacing: 1px;
	margin-bottom: 15px;
	padding: 0 0 0 20px;
	margin-bottom: 30px;
	position: relative;
}
.review > .title::before{
	content: '';
	width: 4px;
	height: 100%;
	background: #F60;
	position: absolute;
	top: 0;
	left: 0;
}
.review-box{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}
.review article{
	width: 95%;
	border: 1px solid #cdcdcd;
	padding: 20px;
	margin:0 auto 20px;
}
.review .review-text{
	letter-spacing: 1px;
	line-height: 1.7;
	margin-bottom: 10px;
}
.rating {
  display: inline-flex;
  gap: 6px;
	margin-bottom: 10px;
}
/* 共通の星形（clip-pathで作成） */
.star {
  position: relative;
  width: 20px;
  height: 20px;
  background: lightgray; /* デフォルトは空の星 */
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  overflow: hidden;
}

/* 塗られた星 */
.star.full {
  background: #ffd200;
}

/* 半分だけ塗る星 */
.star.half::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: gold;
}

/* 空の星 */
.star.empty {
  background: lightgray;
}

.review .accordion-box {
	position: relative;
}
.review .accordion-box label {
	height: 140px; /* グラデーションの高さ */
	cursor: pointer;
	text-align: center;
	font-size: 12px;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	/* 以下グラデーションは「背景が白」に併せて設定しています */	
	background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
	background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
	background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
	background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
}
.review .accordion-box input:checked + label {
	background: inherit; /* 開いた時には背景グラデーションを消す */
}
.review .accordion-box label:after {
	content: "続きをよむ"; /* ラベルの文字 */
	letter-spacing: .05em;
	line-height: 2.5rem;
	position: absolute;
	bottom: 20px;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	color: #fff;
	background-color: #1baad1;
	width: 90%;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}
.review .accordion-box label:before {
	content: "↓";
	font-weight: 700;
	color: #1baad1;
	position: absolute;
	bottom: 30px;
	left: 50%;
	-webkit-transform: translate(-140px, 0);
	transform: translate(-140px, 0);
	background-color: #fff;
	z-index: 1;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	width: 20px;
	height: 20px;
	line-height: 20px;
}
.review .accordion-box input {
	display: none;
}
.review .accordion-box .accordion-container {
	overflow: hidden;
	height: 100px; /* 開く前に見えている部分の高さ */
	-webkit-transition: all 0.1s;
	-moz-transition: all 0.1s;
	-ms-transition: all 0.1s;
	-o-transition: all 0.1s;
	transition: all 0.1s;
}


.review .accordion-box input:checked + label {
	/* display: none ; 閉じるボタンは要らないとき */
}
.review .accordion-box input:checked + label:after {
	content: "閉じる";
}
.review .accordion-box input:checked + label:before {
	content: "↑";
}
.review .accordion-box input:checked ~ .accordion-container {
  height: 300px;
	padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
	-webkit-transition: all 0.1s;
	-moz-transition: all 0.1s;
	-ms-transition: all 0.1s;
	-o-transition: all 0.1s;
	transition: all 0.1s;
}