.maindesign {
	color: #333;
}

.maindesign a {
	text-decoration: none;
	color: #333;
}

.maindesign *, 
.maindesign *:before, 
.maindesign *:after {
	box-sizing: border-box;
	min-height: 0%;
}
.maindesign {
	margin-bottom: 100px;
}
@media screen and (max-width:767px) {
	.maindesign {
		margin-bottom: 50px;
	}
}

.maindesign .u-mt-leave {
	margin-top: 50px;
}
.maindesign .u-mt-moderate {
	margin-top: 30px;
}
.maindesign .u-mt-close {
	margin-top: 20px;
}
.maindesign .u-mt-thin {
	margin-top: 10px;
}
@media screen and (max-width:767px) {
	.maindesign .u-mt-leave {
		margin-top: 30px;
	}
	.maindesign .u-mt-close {
		margin-top: 15px;
	}
	.maindesign .u-sp-spacing {
		margin-right: 10px;
		margin-left: 10px;
	}
}

.maindesign .c-feature-hdg2 {
	position: relative;
	padding-top: 10px;
    padding-bottom: 1.25rem;
    border-bottom: 3px solid #B6B6B6;
    font-size: 1.75rem;
    margin-top: calc(70px - 0.6rem);
    margin-bottom: calc(40px - 0.75rem);
}
.maindesign .c-feature-hdg2::after {
	position: absolute;
    content: " ";
    border-bottom: solid 3px #E5002D;
    bottom: -3px;
    width: 8%;
    display: block;
}

@media screen and (max-width:767px) {
	.maindesign .c-feature-hdg2 {
		font-size: 1.5rem;
		margin-top: calc(50px - 0.6rem);
		margin-bottom: calc(45px - 0.75rem);
		line-height: 1.2;
	}
}

.maindesign .u-pc-only {
	display: block;
}
.maindesign .u-sp-only {
	display: none;
}
@media screen and (max-width:767px) {
	.maindesign .u-pc-only {
		display: none;
	}
	.maindesign .u-sp-only {
		display: block;
	}
}

.maindesign .c-komeri-btn {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	border-radius: 40px;
	opacity: 1.0;
}
.maindesign .c-komeri-btn:hover {
	opacity: 0.75;
	transition: 0.25s;
}
.maindesign .c-komeri-btn--link {
	text-decoration: none;
}
.maindesign .c-komeri-btn--inner {
	font-feature-settings: "palt";
	color: #fff;
	padding: 0.75rem 2rem 0.75rem 1.75rem;
	display: flex;
	justify-content: center;
	line-height: 1.3;
	font-size: 1.2rem;
}
.maindesign .c-komeri-btn__orange {
	background-color: #EA6D0D;
}
.maindesign .c-komeri-btn__gray {
	background-color: #979797;
}
.maindesign .c-komeri-btn--inner::after {
	content: '';
	position: absolute;   
	top: 50%; 
	right: 18px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	width: 8px;
	height: 8px;
	transform: translateY(-50%) rotate( 45deg);
}

@media screen and (max-width:767px) {
	.maindesign .c-komeri-btn--inner {
		font-size: 1.0rem;
	}
}

.maindesign img {
	width: 100%;
	height: auto;
	display: block;
}

.maindesign .c-lead-text {
	font-size: 1.1rem;
	line-height: 1.5;
}
@media screen and (max-width:767px) {
	.maindesign .c-lead-text {
		font-size: 0.95rem;
	}
}

.maindesign .p-campaign-heading {
	background-color: #c00000;
	text-align: center;
	color: #fff;
	padding: 15px 10px;
	font-weight: bold;
	font-size: 1.5rem;
	line-height: 1.35;
}
@media screen and (max-width:767px) {
	.maindesign .p-campaign-heading {
		font-size: 4.25vw;
	}
}	

.maindesign .p-subject-column {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 15px;
}
.maindesign .p-subject-column > li,
.maindesign .p-subject-column--link {
	display: contents;
}
.maindesign .p-subject-column--item {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	gap: 0;
}
.maindesign .p-subject-card {
	padding: 15px;
	border: 1px solid #ccc;
}
.maindesign .p-p-subject-card--name {
	color: #333;
	font-size: 1.2rem;
	font-weight: bold;
	margin-top: 10px;
	line-height: 1.35;
}
.maindesign .p-p-subject-card--type {
	color: #333;
	margin-top: 5px;
	line-height: 1.35;
}

@media screen and (max-width:767px) {
	.maindesign .p-subject-column {
		grid-template-columns: repeat(2,1fr);
		gap: 10px;
	}
	.maindesign .p-subject-card {
		padding: 10px;
	}
	.maindesign .p-p-subject-card--name {
		font-size: 0.95rem;
	}
	.maindesign .p-p-subject-card--type {
		font-size: 0.85rem;
	}
}
.maindesign {
	box-sizing: border-box;
	padding: 0;
}

.maindesign h3.topic_title {
    font-weight: bold;
    margin: 0 0 20px;
    line-height: 1.2;
    font-size: 2em;
    font-feature-settings: "palt" 1;
}
@media screen and (max-width:767px) {
.maindesign h3.topic_title {
    margin: 0 0 20px;
    font-feature-settings: "palt" 1;
    font-size: 1.8em;
}
		}

.maindesign .left_border_red {
		border-left: 10px solid #E5002D;
        margin: 10px 0 10px;
        font-size: 1.2em;
        color: #000;
        padding: 0.3rem 0.5rem;
		display: flex;
		
	}

.maindesign span.left_border_red {
		border-left: 10px solid #E5002D;
        color: #000;
        padding: 0.3rem 0.5rem;
	    margin: 10px 0 10px;
		font-size: 1em;
	}
.maindesign .line_shift {
        font-size: 1.2em;
	    display: flex;
        align-items: center;
}
@media screen and (max-width:767px) {
	.maindesign span.left_border_red {
	    margin: 10px 0 0px;
		
	}
	.maindesign span.line_shift_txt {
		font-size: 1rem;
        margin-bottom: 10px;
        display: inline-block;
	}
	
	.maindesign .line_shift {
	    display: block ;
}
}
	.maindesign .padding-left_add {
		padding-left: 18px;
        margin: 10px 0 5px;
		line-height: 1.5;
	}
	
	@media screen and (max-width:767px) {
		.maindesign .padding-left_add {
			padding-left: 0;
	}
	}

.maindesign .w10 {
		width: 10%;
	}
	
	.maindesign .w50 {
		width: 50%;
	}
	
	 @media screen and (max-width:767px) {
	.maindesign .w50 {
		width: 100%;
	}
		 
	.maindesign .w72 {
		width: 72%;
	}
		
	 .maindesign .slide-box table.details_table.wfull.w650 {
			 width: 650px;
		 }
	}
	
	.maindesign p.exp_txt {
		padding-left: 1em;
        text-indent: -1em;
	}
.maindesign table.middle_table {
	margin-top: 10px;
}

.maindesign table.middle_table th.w20 {
	width: 20%;
}

.maindesign h3.font-size_add1 {
	font-size: 1.25em;
    margin: 10px 0 10px;
	line-height: 1.2;
    font-feature-settings: "palt" 1;
	font-weight: normal;
}

.maindesign table.details_table {
    margin: 0 0 30px;
	line-height: 1.2;
}

.maindesign .block_list.cols2-1 li.w100 {
	width: 100%;
}

.maindesign table.roof_color {
	margin-top: 10px;
}

.maindesign table.roof_color img {
	margin-top: 0;
}

.maindesign .left {
    text-align: left;
    font-weight: normal;
}

table,th,tr,td{
		border: 1px solid black;
		border-collapse: collapse;
        padding: 10px;
	}
	table tr{
		height: 28px;
	}
	table{
		text-align: center;
	}
	.h40 tr{
		height: 40px;
	}
	.h70 tr{
		height: 70px;
	}
	.h35{
		height: 35px !important;
	}
	.left{
		text-align: left !important;
	}
	.right{
		text-align: right !important;
	}
	.table_price_value{
	    font-size: 1.2em;
	    font-weight: bold;
	}
	.table_price_en{
		font-size: 0.6em;
	}
	.mt10{
		margin-top: 10px;
	}
	.mt20{
		margin-top: 20px;
	}
	.mt20{
		margin-top: 20px;
	}
	.point_list li .goods_exp{
		justify-content: inherit;
	}
	.caption{
	    font-size: 1.5em;
		line-height: 1.3em;
		margin-left: 15px;
	}
	.func_list li {
		line-height: 1.5em;
	}
	.text-ver{
		writing-mode: tb;
	}
	.box{
	    border: 1px solid #000;
	    padding: 10px;
	    box-sizing: border-box;
	}
	.mr10{
		margin-right: 10px;
	}
    .exp_txt{
        line-height: 1.2;
    }
	.lv_h2__small {
		font-size: 0.75em;
	}
	.option-images {
		display: flex;
		justify-content: space-between;
	}
	.option-images--unit {
		width: 32%;
	}
	.option-images--unit img {
		width: 100%;
		height: auto;
	}
	@media screen and (max-width:767px) {
		.option-images {
			flex-wrap: wrap;
		}
		.option-images .option-images--unit:nth-child(n+3) {
			margin-top: 15px;
		}
		.option-images--unit {
			width: 48%;
		}
	}

	.price-content {
      display: flex;
      justify-content: flex-end;
      align-items: flex-end;
    }
    .price-point {
      width: 90px;
    }
    .price-point img {
      width: 100%;
      height: auto;
    }

    @media screen and (max-width:767px) {
      .price-content {
        margin-top: 15px;
      }
      .price-point {
        width: 65px;
      }
    }

	.maindesign .reform-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.maindesign .reform-info--item {
    width: 49%;
    box-sizing: border-box;
}	
.maindesign .reform-info .reform-info--item:nth-child(n+3) {
    margin-top: 30px;
} 
.maindesign .reform-info--link {
    transition: 0.25s;
    width: 100%;
    height: 100%;
    display: block;
}

.maindesign .reform-info--inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.maindesign .reform-info--img {
    min-height: 0%;
}	
.maindesign .reform-info--img img {
    width: 100%;
    height: auto;
    display: block;
}	
.maindesign .reform-info--text {
    flex-grow: 1;
    margin-top: 5px;
    line-height: 1.4;
    font-size: 0.95rem;
}


@media screen and (max-width: 767px) {
    .maindesign .reform-info--item {
     width: 100%;
    }
	.maindesign .reform-info--text {
        font-size: 0.9rem;
    }
    .maindesign .reform-info .reform-info--item:nth-child(n+2) {
     margin-top: 20px;
    }
}

.maindesign .mt-leave{
	margin: 50px 0 20px;
}

.maindesign ul.nav-list {
	display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.maindesign .nav-list--btn {
    position: relative;
    border: 1px solid #B6B6B6;
    width: 24%;
    font-size: 0.95rem;
    font-feature-settings: "palt";
    line-height: 1.3;
    text-align: center;
    border-radius: 40px;
    color: #333;
    cursor: pointer;
}

.maindesign .nav-list--inner {
    display: flex !important;
    opacity: 1.0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    min-height: 3.0em;
    padding: 0.35rem 1.75rem 0.35rem 1.5rem;
	box-sizing: border-box;
}

.maindesign .nav-list::before, .maindesign .nav-list::after {
    content: '';
    width: 24%;
    height: 0;
    display: block;
}

.maindesign .nav-list::before {
    order: 1;
}

.maindesign .nav-list--btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    border-top: 2px solid #B6B6B6;
    border-right: 2px solid #B6B6B6;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(135deg);
}

.maindesign .p-half-column {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.maindesign .p-full-column {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.maindesign .u-mt-moderate {
    margin-top: 30px;
}

.maindesign .p-half-column--item {
    width: 49%;
}

.maindesign .p-full-column--item {
    width: 80%;
}

.maindesign .c-komeri-btn__gray {
    background-color: #979797;
}

.maindesign .c-komeri-btn {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 40px;
    opacity: 1.0;
}

.maindesign .c-komeri-btn--inner {
    font-feature-settings: "palt";
    color: #fff;
    padding: 0.75rem 2rem 0.75rem 1.75rem;
    display: flex;
    justify-content: center;
    line-height: 1.3;
    font-size: 1.2rem;
}

.maindesign .c-komeri-btn--inner::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
}

.maindesign .c-komeri-btn__orange {
    background-color: #EA6D0D;
}

.maindesign .p-product-tokuten {
    border: 3px solid #E5002D;
    padding: 20px 0;
    position: relative;
	margin-top: 45px;
}

 .maindesign .p-poroduct-tokuten--icon {
    position: absolute;
    top: 10px;
    left: 15px;
    color: #fff;
    background-color: #E5002D;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 5px 10px;
}

.maindesign .p-tokuten-conditions {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.maindesign .p-tokuten-point {
    display: flex;
    align-items: flex-end;
    color: #E5002D;
    font-size: 3.5rem;
    font-weight: bold;
    width: fit-content;
    margin-inline: auto;
}

.maindesign .u-mt-thin {
    margin-top: 10px;
}

.maindesign .p-tokuten-point--unit {
    display: inline-block;
    margin-left: 10px;
    text-align: center;
    line-height: 1.15;
    font-size: 0.3em;
    color: #333;
}


.maindesign .mt-leave {
    margin-top: 50px;
}

.maindesign h2.c-feature-hdg2 {
	position: relative;
    padding-top: 10px;
    padding-bottom: 1.25rem;
    border-bottom: 3px solid #B6B6B6;
    font-size: 1.75rem;
    margin-top: calc(70px - 0.6rem);
    margin-bottom: calc(40px - 0.75rem);
}

.maindesign .main_block {
	justify-content: space-between;
	align-items: normal;
}

.maindesign .main_block .price .price-box {
    padding: 0;
	display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
	
.maindesign .main_block .price {
    width: 48%;
	display: flex;
    flex-direction: column;
}

.maindesign .main_block .list-img {
    width: 50%;
}

.maindesign .lr-heading {
    font-size: 1.25rem;
    font-weight: bold;
    border-left: 4px solid #E5002D;
    padding: 5px 0 5px 15px;
	margin: 50px 0 20px;
}

.maindesign .c-feature-hdg2::after {
    position: absolute;
    content: " ";
    border-bottom: solid 3px #E5002D;
    bottom: -3px;
    width: 8%;
    display: block;
}

.maindesign .recommended-lead {
	text-align: center;
	margin-bottom: 10px;
}

.maindesign .price .price_block .price-cols .price_value {
    text-align: right;
    font-size: 5em;
    font-weight: bold;
	line-height: 1.2;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
	margin-bottom: 10px;
}

.maindesign .price_value .price_tax, .price_value .price_en {
    font-size: 0.3em;
}

.maindesign .price .price_block .price-cols {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 9px 0 7px;
}

.maindesign .price_value {
    font-size: 3em;
    font-weight: bold;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
}

.maindesign .main_block .price .price_block {
    position: relative;
}

.maindesign span.subheading {
	display: block;
    font-size: 0.7em;
    font-weight: normal;
}

.maindesign .anexample {
	margin-bottom: 20px;
}
.maindesign .anexample .img_container {
	margin-bottom: 10px;
}

.maindesign .anexample table {
	width: 51%;
	margin-bottom: 5px;
	font-size: 1.2em;
}

.maindesign .anexample span.vertical-writing {
	writing-mode: vertical-lr;
	text-orientation: upright;
	white-space: pre;
    letter-spacing: 10px;
    color: #fff;
	display: inline-block;
}

.maindesign .anexample th {
	background: #333;
	width: 20%;
	
}

.maindesign .anexample td {
	padding: 8px;
	background: #b4a48d;
	color: #fff;
	font-weight: bold;
	line-height: 1.2;
	border: 1px solid #b4a48d;
}

.maindesign .anexample td span {
	font-size: 0.8em;
	display: block;
	margin-top: 3px;
}

.maindesign .price_value.twolines {
	font-size: 1.5em;
	display: block;
}

.maindesign .block-content.fence .main_block {
	margin-top: 80px;
}

.maindesign h4.topic_title,.maindesign h3.topic_title {
    font-weight: bold;
    margin: 0 0 20px;
    line-height: 1.2;
    font-size: 2em;
    font-feature-settings: "palt" 1;
}

.maindesign .price_value.twolines span {
	font-size: 0.5em;
	}

@media screen and (max-width: 767px) {
.maindesign section.contents-area {
	padding: 0 10px;
}

    .maindesign .nav-list--btn {
        width: 49%;
        font-size: 0.85rem;
    }

    .maindesign .nav-list .nav-list--btn:nth-child(n+3) {
        margin-top: 15px;
    }

    .maindesign .main_block  .list-img {
        width: 100%;
    }
	
	.maindesign .p-product-tokuten {
		margin-top: 10px;
	}
	.maindesign .p-poroduct-tokuten--icon {
        font-size: 0.9rem;
        top: 5px;
        left: 5px;
        padding: 3px 7px;
    }

	.maindesign .p-tokuten-conditions {
        font-size: 0.9rem;
    }
	
	.maindesign .p-tokuten-point {
        font-size: 2.5rem;
    }
	
	.maindesign .main_block .price {
        width: 100%;
    }
	
	.maindesign .main_block .price .price-box {
        padding: 10px 0 0;
    }
	
	.maindesign h3.topic_title,.maindesign h4.topic_title {
        margin: 0 0 20px;
        font-feature-settings: "palt" 1;
        font-size: 1.8em;
    }
	
	.maindesign h2.c-feature-hdg2 {
        font-size: 1.5rem;
        margin-top: calc(50px - 0.6rem);
        margin-bottom: calc(45px - 0.75rem);
        line-height: 1.2;
    }
	
	.maindesign .price .price_block .price-cols:last-child {
        margin: 0 0 0px;
    }
	
	.maindesign .main_block .price .price-box .price_value {
        margin: 0 0 0 auto;
		font-size: 12vw;
    }
	
	.maindesign .main_block .price .const_block .price-cols .price_value {
        font-size: 10vw;
    }
	
	.maindesign .p-half-column {
		flex-direction: column;
	}
	
	.maindesign .p-half-column--item {
    width: 100%;
}
	
	.maindesign .p-half-column .p-half-column--item:nth-child(n+2) {
        margin-top: 15px;
    }
	
	.maindesign .anexample table {
    width: 80%;
}
	
	.maindesign .price_value.twolines {
		font-size: 6vw !important;
	}
	
	.maindesign .mt-leave {
    margin-top: 30px;
}
	
	.maindesign .lr-heading {
    margin: 0 0 15px;
}
	
	.maindesign .block-content.fence .main_block {
    margin-top: 40px;
}
	
	.maindesign .block-content.fence .main_block:nth-of-type(n+2) {
    margin-top: 60px;
}
	
	.maindesign .anexample th {
	width: 15%;
}
}

.maindesign .block-content.fence img {
	border: 1px solid #ccc;
}

.maindesign .p-tokuten-point-unity {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	margin-inline: auto;
    align-items: flex-end;
    width: fit-content;
}

.maindesign .p-tokuten-point--first {
	display: inline-block;
    text-align: center;
    line-height: 1.15;
    color: #333;
	margin: 0 10px 0 0;
    font-size: 1.2rem;
}

.maindesign .p-tokuten-point-unity .p-tokuten-point.u-mt-thin {
	margin-inline: 0;
}

.maindesign .p-tokuten-point-unity p:nth-child(n+2) {
	margin-top: 5px;
}

.maindesign .arrow-r::after {
    content: "";
    position: absolute;
    right: 18px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 8px;
    height: 8px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0;
    bottom: 0;
    margin: auto;
}

.maindesign .flatbtn.reform_sub-btn {
 	max-width: 600px;
    margin: 20px auto 40px;
    padding: 1.2rem 1.8rem;
    font-feature-settings: "palt" 1;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
    box-sizing: border-box;
    text-align: center;
    border-radius: 40px;
    display: flex;
    opacity: 1.0;
    width: auto;
    height: 100%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #979797;
    color: #fff;
	position: relative;
}

@media screen and (min-width: 768px) {
	.maindesign .p-half-column.u-mt-moderate li:nth-child(n+3) {
	margin-top: 20px;
}
}


.maindesign .mt-leave li:nth-child(n+5) {
    margin-top: 20px;
    }

@media screen and (max-width: 767px) {
	.maindesign .mt-leave li {
    margin: 0;
    }
	
	.maindesign .mt-leave li:nth-child(n+3) {
    margin-top: 20px;
    }
}
.maindesign p.ex {
    font-weight: normal;
    line-height: 1.2;
    font-size: 1em;
    display: flex;
    justify-content: flex-end;
}

.maindesign .ex.align-left {
	text-align: left;
}

.maindesign .img-under-text {
	margin-top: 5px;
}

.maindesign .ep-text{
	font-weight: bold;
	line-height: 1.5;
	margin-block: 0 5px;
}

.maindesign .ep_container {
margin-block: 0 30px;
}

.maindesign .ep-image {
width: fit-content;
}

.maindesign .bl-div {
    background-color: #6b8bc6;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 1.1em;
    height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.maindesign .cols-half {
	justify-content: space-between;
}

.maindesign .block_list.cols3-2.cols-half li {
	margin:0 ; 
}

.maindesign .block_list.cols4-2.cols-half li {
	margin:0 ; 
}

.maindesign .block_list.cols3-2.cols-half li:nth-child(n+4) {
	margin-block: 10px 0; 
}

.maindesign .block_list.cols4-2.cols-half li:nth-child(n+5) {
	margin-block: 10px 0; 
}

@media screen and (max-width: 767px) {

.maindesign .ep-image {
width: 100%;
height: auto;
}
	
.maindesign .block_list.cols3-2.cols-half li:nth-child(n+3),
.maindesign .block_list.cols4-2.cols-half li:nth-child(n+3){
	margin-block: 10px 0; 
}
}

