/* order ------------------------------------------ */

/* prejudice */

#prejudice {
	position: relative;
	padding: 0 !important;
}
#prejudice .container {
	position: absolute !important;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}
@media screen and (max-width: 900px){
#prejudice .container {
	position: relative !important;
	padding:45px 20px;
	background: var(--background-2);
}
}


/* prejudice */
.prejudice .pre_title {
	max-width: 900px;
	margin: 0 auto 35px;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.prejudice .pre_title {
	max-width: 900px;
	margin: 0 auto 35px;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.prejudice .pre_title .title {
	width:20%;
	font-size: 2rem;
	border-right: 1px solid #000;
	font-weight: 500;
}
.prejudice .pre_title .title span {
	display: block;
	margin-bottom: 10px;
	font-size: 1.2rem;
	color:var(--gold);
}
.prejudice .pre_title .txt {
	width:75%;
	font-size: 1.6rem;
	line-height: 1.6;
}
.prejudice .wrap {
	max-width: 1080px;
	margin: 0 auto;
}

@media screen and (max-width: 900px){
.prejudice .pre_title {
	max-width: 900px;
	margin: 0 5% 35px;
	display: block;
}
.prejudice .pre_title .title {
	width:auto;
	padding-bottom: 10px;
	margin-bottom:10px;
	font-size: 2.4rem;
	border-right:none;
	border-bottom: 1px solid #000;
}
.prejudice .pre_title .title span {
	margin-bottom: 5px;
	font-size: 1.5rem;
	color:var(--gold);
}
.prejudice .pre_title .txt {
	width:auto;
	font-size: 1.4rem;
}
}


/* example */
#example .example {
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
#example .example .tmb {
	width:24%;
	margin: 10px 0;
}
@media screen and (max-width: 900px){
#example .example .tmb {
	width:48%;
	margin: 5px 0;
}
}

/* feature ------------------------------------------ */
.feature-menu {
	max-width: 980px;
	margin: 0 auto;
	padding: 40px 0 72px;
}
.feature-menu ul {
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.feature-menu ul li {
	width:23%;
}
.feature-menu ul li a {
	position: relative;
	display:block;
	padding:15px 0;
	text-align: center;
	color:#000;
	font-size:1.5rem;
	font-weight: 600;
	border:1px solid var(--gold);
	border-radius: 10px;
}
.feature-menu ul li a:hover {
	background: var(--background-2);
}
.feature-menu ul li a::after {
	position: absolute;
	content: "";
	    top: 50%;
    right:10px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
	width: 7px;
	height: 11px;
	background: url("../images/arrow-right-black.svg") no-repeat;
    background-size: auto;
	background-size: cover;
}

@media screen and (max-width: 900px){
.feature-menu {
	margin: 0 5%;
	padding: 0 0 72px;
}
.feature-menu ul li {
	width:48%;
	margin: 10px 0;
}
.feature-menu ul li a {
	font-size:1.2rem;
}
.feature-menu ul li a::after {
    right:5px;
}
}
	
	

/* feature */
.feature {
	max-width:900px;
	margin: 0 auto;
}
.feature .feature_title {
	margin: 0 0 65px;
	padding-left: 25px;
	border-left: 1px solid #000;
}
.feature .feature_title h3 {
	margin-bottom: 15px;
	font-size:1.9rem;
	font-weight: 600;
}
.feature .feature_title p {
	font-size:1.5rem;
	line-height: 1.6;
}
@media screen and (max-width: 900px){
.feature {
	margin: 0 5%;
}
.feature .feature_title {
	margin: 0 0 45px;
	padding-left: 15px;
}
.feature .feature_title h3 {
	margin-bottom: 10px;
	font-size:1.6rem;
}
.feature .feature_title p {
	font-size:1.3rem;
}
}
	
/* feature01 */
.feature01 h4 {
	max-width: 230px;
	margin: 0 auto 35px;
}
.feature01 .txt {
	font-size:1.6rem;
	line-height: 1.6;
	text-align: center;
}
.feature01 .txt span {
	font-size: 2rem;
	font-weight: 600;
}
@media screen and (max-width: 900px){
.feature01 h4 {
	margin: 0 auto 15px;
}
.feature01 .txt {
	margin-bottom: 25px;
	font-size:1.4rem;
}
.feature01 .txt span {
	font-size: 1.6rem;
}
}

/* feature02 */
.feature02 .feature02_01 {
	max-width: 700px;
	margin: 0 auto 75px;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.feature02 .feature02_01 dl {
	width:45%;
}
.feature02 .feature02_01 dl dt {
	padding:10px 0;
	font-size:1.6rem;
	font-weight: 600;
	text-align: center;
	background-color: #bbc3ce;
}
.feature02 .feature02_01 dl dd:last-child {
	margin-top: 10px;
	font-size:1.4rem;
	line-height: 1.6;
}
.feature02 .feature02_02 {
	margin: 0 auto 75px;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.feature02 .feature02_02 .box01  {
	width:60%;
}
.feature02 .feature02_02 .box02  {
	width:36%;
}
.feature02 .feature02_02 .box02 h4 {
	margin-bottom: 15px;
	font-size:1.7rem;
	font-weight: 600;
}
.feature02 .feature02_02 .box02 .txt {
	margin-bottom: 25px;
	font-size:1.4rem;
	line-height: 1.6;
}
.feature02 .feature02_02 .box02 .btn a {
	position: relative;
	display: block;
	padding: 15px 0;
	font-size:1.4rem;
	text-align: center;
	text-decoration: none;
	border:1px solid #000;
}
.feature02 .feature02_02 .box02 .btn a::after {
	position: absolute;
	content: "";
	    top: 50%;
    right:10px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
	width: 7px;
	height: 11px;
	background: url("../images/arrow-right-black.svg") no-repeat;
    background-size: auto;
	background-size: cover;
}

/* ダイアログ（ポップアップ全体）のスタイル */
dialog {
  border: none;
  border-radius: 8px;
  padding: 0;
  overflow: visible; /* 閉じるボタンをはみ出させるため */
  max-width: 90%;
  max-height: 90%;
}

/* 画像のサイズ調整 */
.modal-content img {
  display: block;
  max-width: 680px;
  height: auto;
}

/* 背景の暗幕（お好みの濃さに調整できます） */
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}

/* 閉じるボタン（右上のバツ印） */
#close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #333;
  color: #fff;
  border: none;
	text-align: center;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 26px;
}

@media screen and (max-width: 900px){
.feature02 .feature02_01 {
	margin: 0 auto 65px;
}
.feature02 .feature02_01 dl {
	width:48%;
}
.feature02 .feature02_01 dl dt {
	padding:10px 0;
	font-size:1.2rem;
}
.feature02 .feature02_01 dl dd:last-child {
	font-size:1.2rem;
}
.feature02 .feature02_02 {
	margin: 0 auto 75px;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.feature02 .feature02_02 {
	margin: 0 auto 75px;
}
.feature02 .feature02_02 .box01  {
	width:100%;
	margin: 0 0 15px;
}
.feature02 .feature02_02 .box02  {
	width:100%;
}
.feature02 .feature02_02 .box02 h4 {
	font-size:1.4rem;
}
.feature02 .feature02_02 .box02 .txt {
	margin-bottom: 25px;
	font-size:1.2rem;
}
	
	
}




/* feature03 */
.feature03 .feature03_01 {
	margin: 0 auto 45px;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.feature03 .feature03_01 dl {
	width:31%;
	margin: 5px 0 20px;
}
.feature03 .feature03_01 dl dt {
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 1.3rem;
	line-height: 1.4;
}
.feature03 .feature03_01 dl dd.txt {
	margin-top: 5px;
	font-size: 1.3rem;
	line-height: 1.6;
}


.feature03 .feature03_02 {
	margin: 0 auto 75px;
}
.feature03 .feature03_02 h4 {
	width:280px;
	margin: 0 auto;
	padding:10px 0;
	color:#FFF;
	font-size:1.5rem;
	font-weight: 600;
	text-align: center;
	background-color:var(--gold);
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.feature03 .feature03_02 .wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
	margin: 0 0 25px;
	padding:25px 5% 30px;
	background: var(--background-2);
}
.feature03 .feature03_02 .wrap .box {
	width: 31%;
}
.feature03 .feature03_02 .wrap .box .no{
	width:45px;
	height: 45px;
	margin: 0 auto 10px;
	font-size:34px;
	line-height: 1.1;
	color:#FFF;
	text-align: center;
	background-color:var(--gold);
	border-radius: 50%;
}
.feature03 .feature03_02 .wrap .box h5 {
	margin: 0 0 15px;
	font-size: 1.4rem;
	font-weight: 600;
	text-align: center;
}
.feature03 .feature03_02 .wrap .box .txt {
	font-size:1.3rem;
	line-height: 1.5;
}
.feature03 .feature03_02 .wrap .box .txt span {
	font-size:1.1rem;
}
.feature03 .feature03_02 .notes {
	font-size:1.1rem;
	line-height: 1.5;
}

@media screen and (max-width: 900px){
	
.feature03 .feature03_01 dl {
	width:48%;
	margin: 5px 0 10px;
}
.feature03 .feature03_01 dl dt {
	height: 40px;
	font-size: 1.1rem;
}
.feature03 .feature03_02 .wrap {
	margin: 0 0 25px;
	padding:25px 5% 15px;
}
.feature03 .feature03_02 .wrap .box {
	width: 100%;
	margin: 0 0 15px;
}
.feature03 .feature03_02 .wrap .box h5 {
	margin: 0 0 5px;
}
	
	
}





/* feature04 */
.feature04 .feature04_01 {
	margin: 0 auto 55px;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.feature04 .feature04_01 .box01 {
	width: 45%;
}
.feature04 .feature04_01 .box02 {
	width: 50%;
}


.feature04 .feature04_02 {
	margin: 0 auto;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.feature04 .feature04_02 .box {
	width: 45%;
	margin: 0 0 45px;
}


.feature04 .feature04_01 .box02 dt,.feature04 .feature04_02 .box dt {
	margin: 0 0 15px;
	font-size: 1.4rem;
	font-weight: 600;
	text-align: center;
}
.feature04 .feature04_01 .box02 .img,.feature04 .feature04_02 .box .img {
	margin: 0 0 15px;	
}
.feature04 .feature04_01 .box02 .txt,.feature04 .feature04_02 .box .txt {
	font-size:1.4rem;
	line-height: 1.6;
}
.feature04 .feature04_01 .box02 .txt span,.feature04 .feature04_02 .box .txt span {
	font-size:1.1rem;
}


@media screen and (max-width: 900px){
.feature04 .feature04_01 {
	margin: 0 auto 35px;
}
.feature04 .feature04_01 .box01 {
	width: 100%;
	margin: 0 0 10px;
}
.feature04 .feature04_01 .box02 {
	width: 100%;
}


.feature04 .feature04_02 {
	margin: 0 auto;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
.feature04 .feature04_02 .box {
	width: 45%;
	margin: 0 0 45px;
}
.feature04 .feature04_02 .box {
	width: 48%;
	margin: 0 0 35px;
}
.feature04 .feature04_01 .box02 dt,.feature04 .feature04_02 .box dt {
	margin: 0 0 10px;
	font-size: 1.2rem;
}
.feature04 .feature04_01 .box02 .img,.feature04 .feature04_02 .box .img {
	margin: 0 0 10px;	
}
.feature04 .feature04_01 .box02 .txt,.feature04 .feature04_02 .box .txt {
	font-size:1.1rem;
}
.feature04 .feature04_01 .box02 .txt span,.feature04 .feature04_02 .box .txt span {
	font-size:1rem;
}
	
	
}



/* case ------------------------------------------ */
#case {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 0 72px;
}
#case .caseWrap {
	margin: 0 0 65px;
}
#case .caseWrap h3 {
	margin: 0 0 15px;
	padding:12px 20px;
	color:#FFF;
	font-weight: 600;
	font-size:2rem;
	background-color:var(--gold);
}

/* case_outside */
#case .caseWrap .case_outside {
display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  height: 400px;
}
.box1 { grid-area: 1 / 1 / 3 / 2; }
.box2 { grid-area: 1 / 2 / 2 / 3; }
.box3 { grid-area: 2 / 2 / 3 / 3; }


/* case_ldk */
#case .caseWrap .case_ldk {
display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  height: 400px;
}
.box1 { grid-area: 1 / 1 / 3 / 2; }
.box2 { grid-area: 1 / 2 / 2 / 3; }
.box3 { grid-area: 2 / 2 / 3 / 3; }

/* case_kitchen */
#case .caseWrap .case_kitchen {
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
#case .caseWrap .case_kitchen div {
	width:32%;
}
/* case_kitchen */
#case .caseWrap .case_kitchen {
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
#case .caseWrap .case_kitchen dl {
	width:32%;
	margin: 0 0 25px
}
#case .caseWrap .case_kitchen dl dd {
	margin-top: 5px;
	font-size:1.1rem;
}

@media screen and (max-width: 900px){
#case {
	margin: 0 5%;
	padding: 30px 0 32px;
}
#case .caseWrap {
	margin: 0 0 35px;
}
/* case_outside */
#case .caseWrap .case_outside {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr auto; 
grid-column-gap: 10px;
grid-row-gap: 10px; 
	height: auto;
}
.box1 { grid-area: 1 / 1 / 2 / 3; }
.box2 { grid-area: 2 / 1 / 3 / 2; }
.box3 { grid-area: 2 / 2 / 3 / 3; }



/* case_ldk */
#case .caseWrap .case_ldk {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr auto; 
grid-column-gap: 10px;
grid-row-gap: 10px; 
	height: auto;
}
.box1 { grid-area: 1 / 1 / 2 / 3; }
.box2 { grid-area: 2 / 1 / 3 / 2; }
.box3 { grid-area: 2 / 2 / 3 / 3; }
}
}