@charset "utf-8";
body{
	background: #fffaf5;
}
/**perfectroof共通*****************************************************************************/

/**perfectroof01*****************************************************************************/
section#perfectroof01{
	padding: 46px 0 0;
}
section#perfectroof01 div.box{
	width: 94%;
	max-width: 1020px;
	margin: 0 auto;
}

section#perfectroof01 div.index{
	width: 100%;
	margin: 30px auto !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px;
}
section#perfectroof01 div.index .wp-block-column{
	width: 45% !important;
	max-width: 484px;
	flex-grow: 2 !important;
	flex-basis: 0 !important;
}
section#perfectroof01 div.index .wp-block-column figure{
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}
section#perfectroof01 div.index .wp-block-column figure a{
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}
section#perfectroof01 div.scroll{
	overflow-x: scroll;
}
section#perfectroof01 figure.t01 table{
	table-layout: auto;
	border-collapse: collapse;
	border-spacing: 0;
}
section#perfectroof01 figure.t01 table tr th{
	background: #e6e6e6 !important;
	font-weight: normal;
	padding: 4px;
	white-space: nowrap;
}
section#perfectroof01 figure.t01 table tr td{
	padding: 4px;
	white-space: nowrap;
}
section#perfectroof01 figure.t01 table tr td.blue{
	background: #d3edfb !important;
}
section#perfectroof01 figure.t01 table tr td.title{
	white-space: nowrap;
	width: 30%;
}
section#perfectroof01 hr.wp-block-separator{
	margin: 60px 0 60px;
}
section#perfectroof01 h3{
	margin: 0 0 20px;
	font-size: 20px;
}
section#perfectroof01 div.caption{
	margin: 8px 0 0;
	line-height: 1.5;
	display: flex;
	font-size: 15px;
	justify-content: flex-end;
}
/**perfectroof02*****************************************************************************/
section#perfectroof02{
	padding: 46px 0 0;
}
section#perfectroof02 div.box{
	width: 94%;
	max-width: 1020px;
	margin: 0 auto;
}
section#perfectroof02 div.performance{
	width: 100% !important;
	display: flex !important;
	justify-content: space-between !important;
	flex-wrap: wrap;
	gap: 20px;
	margin: 35px 0 0;
}
section#perfectroof02 div.performance div{
/* 	width: calc((100% - 120px) / 4); */
	width: calc(50% - 10px);
	padding: 0 5px;
}
section#perfectroof02 div.performance figure{
	width: 100%;
	max-width: 220px;
	text-align: center;
	margin: 0 0 10px;
}
section#perfectroof02 div.performance figure img{
	width: 100% !important;	
}
/**perfectroof03*****************************************************************************/
section#perfectroof03{
	padding: 46px 0 0;
}
section#perfectroof03 div.box{
	width: 94%;
	max-width: 1020px;
	margin: 0 auto;
}
section#perfectroof03 div.option{
	margin: 30px 0 0;
	display: flex;
	flex-direction: row;
	justify-content: start;
	flex-wrap: wrap !important;
	gap: 10px;
}
section#perfectroof03 div.option div.wp-block-column{
	width: 48% !important;
	flex-basis: 48% !important;
	flex-grow: 2;
	text-align: center;
	margin: 0 auto;
}
section#perfectroof03 div.option div.wp-block-column h3{
	font-size: 13px;
	margin: 0 0 15px;
}
section#perfectroof03 div.option div.wp-block-column figure.more{
	margin: 20px auto 40px;
	width: 60%;
}
/**perfectroof04*****************************************************************************/
section#perfectroof04{
	padding: 80px 0;
}
section#perfectroof04 div.box{
	width: 94%;
	max-width: 1020px;
	margin: 0 auto;
}
section#perfectroof04 h2{
	text-align: center;
	font-size: 1.3rem;
}
section#perfectroof04 div#search-results p{
	width: 300px;
	margin: 0 auto 20px;
	padding: 10px;
	background: #fff;
	text-align: center;
	font-size: 1.2rem;
}
section#perfectroof04 h3{
	text-align: center;
	font-size: 18px;	
	display: inline;	
}
section#perfectroof04 div.titleLine{
	display: flex;
	justify-content: center;
	margin: 30px 0 20px;
}
section#perfectroof04 h3 span.title{
	position: relative;
	z-index: 2;

}
section#perfectroof04 h3 span.line{
	display: block;
	width: 100%;
	height: 8.5px;
	position: absolute;
	bottom: 0;
	background: yellow;
	z-index: 1;
	mix-blend-mode: multiply;
}
section#perfectroof04 div.note{
	display: flex;
	justify-content: center;
	margin: 30px 0 30px;
}
section#perfectroof04 #search-results p span{
	font-size: 27px;
}
/*************************/
section#perfectroof04 .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

section#perfectroof04 .modal-content {
  background: white;
  padding: 10px;
  width: 90%;
  max-width: 1080px;
  height: 86vh;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border-radius: 0px;
}

section#perfectroof04 #modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
}
/**************************/
section#perfectroof04 .modal-content div.result{
	text-align: center;
	font-size: 20px;
	margin: 0 0 30px;
}
section#perfectroof04 .modal-content div.result::after{
	display: block;
	content: url("../img/title_deco.png");
}
section#perfectroof04 .modal-content img{
	width: 100%;
	max-width: 100%;
	height: auto;
}
section#perfectroof04 .modal-content div#search-items{
	display: flex;
	justify-content: start;
	flex-wrap: wrap;
	padding: 0;
}
section#perfectroof04 .modal-content div.search-item{
	width: 48%;
	margin: 0 1% 30px;
/* 	display: flex;
	justify-content: space-between; */
/* 	border: solid 1px #ccc; */
	padding: 5px;
}
section#perfectroof04 .modal-content div.search-item div.itemTitle{
	margin: 10px 0 0;
	word-break: break-all;
}
section#perfectroof04 .modal-content div.search-item div.img{
	width: 100%;	
}
section#perfectroof04 .modal-content div.search-item div.text{
	width: 100%;
	font-size: 15px !important;
}
section#perfectroof04 .modal-content div.search-item div.text a{
	text-decoration: none;
	color: #000;
}
section#perfectroof04 .modal-content div.search-item div.text p{
	margin: 0;
}
section#perfectroof04 .modal-content div.search-item div.text div.roof-labels{
	padding: 8px 0 0;
}
section#perfectroof04 .modal-content div.search-item div.text span.roof-label,
section#perfectroof04 .modal-content div.search-item div.text span.keijyou-label{
	display: inline-block;
	padding: 0px 5px 2px;
	font-size: 0.7rem;
	margin: 0 3px 3px 0;
	border-radius: 5px;
}
section#perfectroof04 .modal-content div.search-item div.text span.roof-label{
	background: #ecfaff;
}
section#perfectroof04 .modal-content div.search-item div.text span.keijyou-label{
	background: #ecfff5;
}
section#perfectroof04 .modal-content div.pagination{
	text-align: center;
}
/*************************/

section#perfectroof04 fieldset{
/* 	border: solid 1px #ddd; */
	border: none !important;
	margin: 0 0 20px !important;
}
section#perfectroof04 legend::before{
	content: "● ";
	color: var(--blue02);
}
section#perfectroof04 legend{
	font-size: 1.1rem;
}
section#perfectroof04 legend span{
	font-size: 0.8rem;
}
section#perfectroof04 .button-group{
	width: 100%;
	margin: 0 auto 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
section#perfectroof04 .button-group input[type="checkbox"],
section#perfectroof04 .button-group input[type="radio"] {
  display: none;
}

section#perfectroof04 .button-group label {
  display: block;
  border: 1px solid #8bc48a;
  padding: 10px 0px;
  margin: 5px 0 0px 0;
  cursor: pointer;
  border-radius: 4px;
  background: #f4f4ea;
  transition: background-color 0.3s, border-color 0.3s;
  text-align: center;
  font-size: 15px;
}
@media screen and (max-width:920px){
	section#perfectroof04 .button-group label {
		font-size: 13px;
		white-space: nowrap;
	}
}
@media screen and (max-width:820px){
	section#perfectroof04 .button-group label {
		font-size: 12px;
		white-space: nowrap;
	}
}
section#perfectroof04 fieldset.button-group.roof label{
	width: calc((100% - 20px) / 3);
}
section#perfectroof04 fieldset.button-group.roof label[for="roof_5"]{
	width: calc(100% - 5px - (100% / 3));
}
section#perfectroof04 fieldset.button-group.area label{
	width: calc((100% - 30px) / 4);
}
section#perfectroof04 fieldset.button-group.youto label{
	width: calc((100% - 20px) / 3);
}
section#perfectroof04 fieldset.button-group.keijyou label{
	width: calc((100% - 30px) / 4);
}

/* チェックボックス選択時（用途・屋根形状・葺き方） */
section#perfectroof04 .button-group input[type="checkbox"]:checked + label {
  background-color: #d3f5d6;
  border-color: #6abf69;
}

/* ラジオボタン選択時（地域） */
section#perfectroof04 .button-group input[type="radio"]:checked + label {
  background-color: #c8ebf8;
  border-color: #5bb0d3;
}

section#perfectroof04 div.formBtn{
	text-align: center;
	margin: 30px 0;
}
section#perfectroof04 div.formBtn input{	
	padding: 10px 50px;
	background: var(--blue02);
	color: #fff;
	border: double 5px #fffaf5;
	cursor: pointer;
}
section#perfectroof04 div.formBtn input.submit{
	width: 300px;
	margin: 0 0 20px;
}
section#perfectroof04 div.formBtn input.reset{
	background: #f18d00;
	border: none;
	border-radius: 5px;
	padding: 8px 50px;
}	
	
/*********************/
section#perfectroof04 .loading-spinner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 50px;
}

section#perfectroof04 .loading-spinner span {
  width: 10px;
  height: 10px;
  background: #555;
  border-radius: 50%;
  animation: bounce 0.6s infinite ease-in-out alternate;
}

section#perfectroof04 .loading-spinner span:nth-child(2) {
  animation-delay: 0.2s;
}

section#perfectroof04 .loading-spinner span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  from {
    transform: translateY(0);
    opacity: 0.3;
  }
  to {
    transform: translateY(-10px);
    opacity: 1;
  }
}
section#perfectroof05{
	padding: 0 0 46px;
}
section#perfectroof05 p{
	text-align: center;
}
section#perfectroof05 table{
	max-width: 675px;
	margin: 0 auto;
}
/**perfectroof-seihin*****************************************************************************/
section#perfectroof-seihin{
	max-width: 1200px;
	padding: 46px 0;
	margin: 0 auto;
	background: #fff;
}
section#perfectroof-seihin div.box{
	width: 94%;
	max-width: 1020px;
	margin: 0 auto;
}
section#perfectroof-seihin div.box img{
	width: 100%;
	max-width: 100% !important;
}
section#perfectroof-seihin div.box h3{
	text-align: center;
	font-size: 21px;
	margin: 40px 0 20px;
}
section#perfectroof-seihin div.box h4{
	margin: 40px 0 30px;
	background: #efefef;
	padding: 10px;
	border-top: solid 3px #4da3bb;
	font-size: 24px;
}
section#perfectroof-seihin div.box hr{
	margin: 0 0 50px;
}
section#perfectroof-seihin div.box div.detail{
	width: 86%;
	margin: 0 auto;
}
section#perfectroof-seihin div.box div.detail table,
section#perfectroof-seihin div.box div.detail table th,
section#perfectroof-seihin div.box div.detail table td{
	border: none;
}
section#perfectroof-seihin div.box div.detail table td{
	border-bottom: solid 1px #aaa;
}
section#perfectroof-seihin div.box div.detail table td.nb{
	border: none;
}
section#perfectroof-seihin div.box div.detail table td.center{
	text-align: center;
}
section#perfectroof-seihin div.box div.detail table td.gray{
	background: #efefef;
}
section#perfectroof-seihin div.box div.detail p.right{
	text-align: right;
}

/**perfectroof-option*****************************************************************************/
section#perfectroof-option{
	max-width: 1200px;
	padding: 46px 0;
	margin: 0 auto;
	background: #fff;
}
section#perfectroof-option img{
	width: 100% !important;
	max-width: 100% !important;
}
section#perfectroof-option div.box{
	width: 94%;
	max-width: 1020px;
	margin: 0 auto;
}
section#perfectroof-option div.box .space{
	margin: 60px 0 30px;
}
section#perfectroof-option div.box h3{
/* 	max-width: 860px; */
	background: #efefef;
	font-size: 21px;
	text-align: center;
	margin: 20px auto 30px;
	padding: 5px 0;
}
section#perfectroof-option div.box .gaiyou{
	margin: 20px 0 30px;
	overflow-x: hidden;
}
section#perfectroof-option div.box .gaiyou img{align-content
	width: 130% !important;	
}
section#perfectroof-option div.box .tokucho{
	margin: 0 0 50px;
}
section#perfectroof-option div.box div.imgbox{
/* 	max-width: 860px; */
	margin: 0 auto 30px;
	position: relative;
}
section#perfectroof-option div.box div.imgbox .maru{
	position: absolute;	
	right: -76px;
	bottom: 20px;
	display: none;
}
section#perfectroof-option div.box div.gaiyoubox{
	max-width: 810px;
	margin: 0 auto;
}
section#perfectroof-option div.box div.overview{
/* 	max-width: 860px; */
	margin: 0 auto 30px !important;
}
section#perfectroof-option div.box h4{
	font-size: 21px;
	border-left: solid 8px var(--blue02);
	padding: 0 0 0 5px;
	margin: 0 0 20px;
}
section#perfectroof-option div.box p.center{
	text-align: center;
	margin: 80px 0 0;
}
section#perfectroof-option table{
	margin: 0 auto 50px;
}
section#perfectroof-option table td{
	border: solid 1px #aaa;
}
section#perfectroof-option table td.center{
	text-align: center;
}
section#perfectroof-option table td.blue{
	background: #bae3f9;	
}
section#perfectroof-option table td.nbl{
	border-left: none;
}
section#perfectroof-option table td.nbr{
	border-right: none;
}
section#perfectroof-option div.box h5{
	color: var(--blue02);
	font-weight: 600;
}
section#perfectroof-option div.box h6.b1{
	font-size: 21px;
	margin: 0 0 20px;
	font-weight: 700;
	white-space: nowrap;
}
section#perfectroof-option div.box h6.b1 mark{
	background: #6bc8f2 !important;
	padding: 0 10px;
}
section#perfectroof-option div.box p.disc{
	font-size: 13px;
}
section#perfectroof-option div.box h6.b2{
	font-size: 21px;
}
section#perfectroof-option div.box h6.b2 mark{
	color: var(--blue02) !important;
	font-weight: 700;
}
section#perfectroof-option div.box p.copy{
	font-size: 21px;
	font-weight: 200;
	padding: 30px;
}
section#perfectroof-option div.box p.spl{
	margin: 0 0 0 15px;	
}
section#perfectroof-option div.box div.kikaku{
	max-width: 675px;
	margin: 0 auto;
	position: relative;
}
section#perfectroof-option div.box div.kikaku h4{
	margin: 30px 0 15px;
}
section#perfectroof-option div.box div.kikaku h4.abs{
	position: absolute;	
	top: -30px;
}
section#perfectroof-option div.box .subtitle{
	margin: 0 0 30px;
}
section#perfectroof-option div.box .subtitle img{
/* 	width: 85%;	 */
}

section#perfectroof-option div.box div.tablebox{
	position: relative;
}
section#perfectroof-option div.box div.tablebox h4.abs{
	position: absolute;
	top: 0;
	left: 0;
}
section#perfectroof-option div.box div.tablebox table,
section#perfectroof-option div.box .tokucho table{
	max-width: 600px;
	margin: 0 auto;
	table-layout: auto;
}
section#perfectroof-option div.box div.tablebox table td{
	border-width: 0 0 0 1px;
}
section#perfectroof-option div.box div.tablebox table td.gray{
	background: #e6e6e6;
}
section#perfectroof-option div.box .tokucho table td.img{
	width: 88px;
	padding: 10px 20px 10px 10px;
}
section#perfectroof-option div.box .tokucho table td{
	font-size: 16px;
	border: none;
	vertical-align: top;
}
section#perfectroof-option div.box .tokucho table td mark{
	display: block;
/* 	text-align-last: justify;; */
/* 	width: 80% !important; */
}
section#perfectroof-option div.box div.tablebox figcaption{
	max-width: 600px;
	margin: 0 auto 30px;
	font-size: 14px;
}
section#perfectroof-option div.box .snow{
	width: 65%;
	margin: 0 auto 20px;
}
/**perfectroofDetail*****************************************************************************/
section#perfectroofDetail{
	max-width: 1200px;
	padding: 46px 0;
	margin: 0 auto;
	background: #fff;
}
section#perfectroofDetail div.box{
	width: 94%;
	max-width: 1020px;
	margin: 0 auto;
}
section#perfectroofDetail div.box div.eximg{
	position: relative;
}
section#perfectroofDetail div.box div.img01 div.portrait{
	text-align: center;
}
section#perfectroofDetail div.box div.portrait img{
	max-height: 500px;
	width: auto;
}
section#perfectroofDetail div.box div.eximg span.credit{
	padding: 5px 10px;
	color: #fff;
	background: rgba(0,0,0,.7);
	position: absolute;
	bottom: 20px;
	right: 20px;
}
section#perfectroofDetail div.box div.textbox{
	padding: 30px 20px;	
}
section#perfectroofDetail div.box div.textbox div.exTitle{
	margin: 0 0 20px;
	font-size: 18px;
	padding: 0 0 5px;
	border-bottom: solid 1px #000;	
}
section#perfectroofDetail div.box div.img03{
	margin: 40px 0 0;
}