@charset "utf-8";
/*
Theme Name: 株式会社榎本林業
Theme URI: https://www.superlog8.com/
Description: 株式会社榎本林業のテーマです
*/


/* h1〜h6は段階的に縮小 */
.page .entry-content h2 {
	font-size: clamp(24px, 2.4vw, 36px);
	display: block;
	margin-bottom:4.5rem;
}

.page .entry-content h2:first-child {
	margin-top:0 !important;
}

.page .entry-content h2.wp-block-heading span {
	font-size:0.6em;
	position:relative;
	top:-0.25rem;
	color:#415c07;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	text-align:right;
	display:block;
	letter-spacing: 1.5px;
}

.page .entry-content h2.wp-block-heading span:before {
  background-color: #415c07;
  content: "";
  height: 2px;
  width: 100%;
  display:block;
  margin-top:1rem;
  margin-bottom:1rem;
}

.page .entry-content h3 {
	border:none;
	padding-left:0;
	font-size: clamp(20px, 1.8vw, 30px);
	position:relative;
	line-height: 1.5;
	margin: 3rem 0 4.5rem 0;
	padding:0 0 0 2rem;	
/*	align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;*/
}

.page .entry-content h3:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  width: 2px;
  height: 80%;
  background: #415c07;
}

.page .entry-content .wp-block-media-text h3 {
	margin-bottom:2rem;
}

.page .entry-content h3 .custom-font-l {
	position:relative;
	top:-3px;
}

/*.page .entry-content h3 span {
	position:relative;
	display:inline-block;
	border-bottom: 1px solid #415c07;
	padding:0 4.5rem 1rem 4.5rem;
}

.page .entry-content h3 span:before,
.page .entry-content h3 span:after {
	content: '';
	background-color: #415c07;
	width: 1px;
	height: 20px;
	transform: rotate(30deg);
	position: absolute;
	bottom: -10px;
}
.page .entry-content h3 span:before {
  right: 1em;
}

.page .entry-content h3 span:after {
  right: 0.5em;
}
*/

.page .entry-content h4 {
	font-size: clamp(20px, 1.8vw, 24px);
	margin: 3rem 0 1.6rem;
	margin-top: 3rem;
	padding-left: 4rem;
	position: relative;
	line-height: 1.6;
}

.page .entry-content h4:before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 1em;
  height: 2px;
  background: #415c07;
}

.page .entry-content .wp-block-media-text h4 {
	font-size: clamp(20px, 1.8vw, 24px);
	margin: 3rem 0 3rem 0;
	padding-left:0;
	color:#415c07;
	line-height: 2;
	letter-spacing: 2px;
}

.page .entry-content .wp-block-media-text h4:before {
	content:none;
}


.page .entry-content h5 {
	font-size: clamp(16px, 1.6vw, 20px);
	color: #415c07;
	margin-bottom:1.5rem;
	padding-bottom:1rem;
	border-bottom:1px solid #CCC;
	line-height: 1.5;
	margin: 1.5rem 0;
}

.page .entry-content h6 {
	font-size: clamp(15px, 1.6vw, 18px);
	color: #666;
	line-height: 1.5;
	margin: 1.5rem 0;
}

@media (max-width: 980px){
.page .entry-content h2 {
	margin-bottom:3rem;
}

.page .entry-content h2.wp-block-heading span {
	font-size:0.5em;
	letter-spacing: 0.5px;
}

}

/*会社案内
***************************************/

#company #page-entry-content table th,
#company #page-entry-content table td {
	border-top:none;
	border-right:none;
	border-left:none;
	padding:3rem;
	border-bottom:1px solid #CCC;
	font-size: clamp(16px, 1.6vw, 18px);
}

#company #page-entry-content table th {
  min-width: 157px;
}

.history {
    position: relative;
	padding:4.5rem 0;
}
.history::before {
    position: absolute;
    top: 0px;
	
	left: 15.9%;
    width: 6px;
    height: 100%;
    background-color: #FAFAFA;
    content: "";
}

.history ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.history li {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.history li + li {
    margin-top: 3em;
}

.history_time {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 15%;
	font-size:clamp(16px, 1.6vw, 20px);
	font-weight:600;
}

.history_time.bg_none {
	background:none !important;
}

.history_time.bg_none:before {
	content:none !important;
}

.history_time::after {
    position: absolute;
    top: 50%;
	left: 129.5%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background-color: #415c07;
    content: "";
}

.history_content_title {
	font-size:clamp(16px, 1.6vw, 20px);
	padding:2rem;
	background:rgba(255,255,255,0.5);
}

.history_content {
    margin: 0px 0px 0px 9%;
    width: 100%;
}

.page .entry-content .rinen h3 {
}

.page .entry-content .rinen h3:before {
  content: none;
}

.page .entry-content .rinen h2 {
	margin-bottom:7.5rem;
}

.page .entry-content .rinen h3 {
	border:none;
	padding-left:0;
	font-size: clamp(20px, 2.4vw, 26px);
	color:#415c07;
	position:relative;
	font-weight:600;
	text-align: center;
	position:relative;
}

.page .entry-content .rinen h3 span {
	position:relative;
	display:inline-block;
	border-bottom: 1px solid #415c07;
	padding:0 4.5rem 1rem 4.5rem;
}

.page .entry-content .rinen h3 span:before,
.page .entry-content .rinen h3 span:after {
	content: '';
	background-color: #415c07;
	width: 1px;
	height: 20px;
	transform: rotate(30deg);
	position: absolute;
	bottom: -10px;
}


.page .entry-content h3 span:before {
  right: 1em;
}

.page .entry-content h3 span:after {
  right: 0.5em;
}







@media (max-width: 980px){
#company #page-entry-content table th,
#company #page-entry-content table td {
	padding:1rem;
}

#company #page-entry-content table td:first-child {
	width:30%;
}

#company #page-entry-content table th {
  min-width: 110px;
}

.history_content {
    margin: 0px 0px 0px 12%;
}

}

@media (max-width: 680px){
#company #page-entry-content table th {
	width:30%;
}

.history_time {
  text-align: center;
}

.history_time:after {
  left: 122.5%;
}

}

/*お問い合わせフォーム
***************************************/
table.contact {
	margin:0 auto 3rem auto;
}

table.contact th,
table.contact td:nth-child(1) {
	width:30%;
	border-top:none;
	border-right:none;
	border-left:none;
	font-weight:400;
	vertical-align:top;
	background:none;
	font-weight:600;
	font-size:clamp(18px, 1.6vw, 20px);
	padding:2rem 1.5rem
}

table.contact th,
table.contact td {
	line-height:1.8;
	vertical-align:middle;
	background:none;
	border-top:none;
	border-right:none;
	border-left:none;
	font-size:clamp(16px, 1.6vw, 18px);
	padding:2rem 1.5rem;

}

table.contact td input,
table.contact td textarea {
	font-size:1.6rem;
    font-weight: 200;
}

table.contact td label {
	display:inline-block;
}

table.contact td input[type="text"] ,
table.contact td input[type="email"],
table.contact td input[type="tel"],
table.contact td input[type="date"] {
	height:50px;
	padding:0.25rem 1rem;
	width:80%;
	border:1px solid #DDD;
    box-sizing: border-box;
	font-size:clamp(18px, 1.6vw, 20px);
	background: #FAFAFA;
	border-radius:5px;
}

table.contact td select {
	padding:0.25rem 1rem;
	border:1px solid #DDD;
    box-sizing: border-box;
	font-size:1.6rem;
	background: #FAFAFA;
	border-radius:5px;
	font-size:clamp(16px, 1.4vw, 18px);
}

table.contact td input[type="file"] {
	font-family: "Poppins", "Noto Sans JP", sans-serif;
	margin-bottom:1rem;
}

table.contact td input[type="file"]:nth-last-child(2) {
	margin-bottom:0;
}

table.contact td input[type="date"] {
	border:1px solid #CCC;
	height:50px;
	padding:0.5rem;
	width:25%;
	background: #FAFAFA;
	border-radius:5px;
	font-size:clamp(18px, 1.6vw, 20px);
}

table.contact td input[type="checkbox"] {
	border:1px solid #CCC;
	height:35px;
	padding:0.5rem;
	width:30px;
	background: #FAFAFA;
	border-radius:5px;
}

table.contact td input[type="text"]:focus,
table.contact td input[type="email"]:focus,
table.contact td input[type="tel"]:focus,
table.contact td input[type="date"]:focus,
table.contact td textarea:focus {
	outline: 0;
	-moz-box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
	-webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: inner 0 0 4px rgba(0, 0, 0, 0.2);
}

table.contact td.product_name_ipt input {
	border:none;
	background:none;
	padding-left:0;
	padding-right:0;
	font-weight:600;
	color:#ce2e2e;
	font-size:clamp(20px, 1.8vw, 24px);
}

table.contact td.product_name_ipt input:focus {
	-moz-box-shadow:inherit;
	-webkit-box-shadow: inherit;
	box-shadow: inherit;
	outline: inherit;	
}

table.contact td span.mwform-zip-field input {
	width:10%;
}

table.contact td span.mwform-tel-field input {
	width:10%;
}


table.contact td span.sp_btm10 {
	display:block;
	margin-bottom:0.5rem;
}

table.contact td span small {
	display:inline-block;
	padding:0.25rem 0.5rem;
	background:#135fa7;
	color:#FFF;
	font-size:0.8em;
	position:relative;
	top:-3px;
}

table.contact td p,
table.contact th p {
	margin-bottom:0 !important;
}

table.contact td p span.plan-check span.wpcf7-list-item,
table.contact td p span.size-check span.wpcf7-list-item {
	display:block;
}

table.contact td p small {
	display:block;
	font-size:0.9em;
}

table.contact td textarea {
	width:100%;
	border:1px solid #DDD;
	padding:0.5rem;
	background: #FAFAFA;
	border-radius:5px;
	font-size:clamp(18px, 1.6vw, 20px);
}

table.contact th span.red {
	background:#ce2e2e;
	color:#FFF;
	font-size:0.8em;
	padding:0.15rem 0.5rem;
	display:inline-block;
	margin-left:1rem;
	border-radius:5px;
}

p.submit {
	text-align:center !important;
	margin-top:7.5rem !important;
	margin-bottom:3rem !important;
}

p.submit input {
	font-size:clamp(18px, 2vw, 24px);
	padding:0.5rem 9rem;
	margin:0 1rem;
	border-radius:6rem;
	font-weight:600;
	color:#222;
	border:1px solid #CCC;
}


p.submit .wpcf7-spinner {
	display:block;
	margin-top:3rem;
	margin-left:auto;
	margin-right:auto;
}


div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing, div.wpcf7-response-output {
	border:2px solid #FF0000 !important;
	padding:2rem !important;
	text-align:center;
	background:#FFFFFF;
	color:#FF0000;
	margin:0 auto !important;
	font-size:1.4rem !important;
	width:80% !important;
	font-size:clamp(18px, 1.6vw, 20px) !important;
}

span.wpcf7-list-item {
	margin:0 2rem 0 0 !important;
}

span.wpcf7-not-valid-tip {
	font-size:clamp(18px, 1.6vw, 20px);
	margin-top: 0.25rem;
}

table.contact td strong {
	font-size:clamp(14px, 1.2vw, 16px);
	margin-bottom:1rem;
	display:block;
}

table.contact td label span {
	position:relative;
	top:3px;
	font-weight: 600;
	font-size:clamp(15px, 1.2vw, 16px);
}

table.contact td #privacy_box {
	font-size:0.8em;
	max-height:180px;
	overflow:auto;
	background:#FFF;
	padding:1rem;
}

table.contact td #privacy_box p {
	margin-bottom:0.5rem;
}

table.contact td.birth input[type="text"] {
	width:10%;
}

.caution_text {
	height:300px;
	overflow:auto;
	font-size:0.9em;
	background:#F7F7F7;
	padding:1.5rem;
}

.caution_text h5 {
	padding:0 1rem !important;
	border-bottom:none !important;
    margin-bottom: 1rem !important;
}

.caution_text .box {
	margin-bottom:1.5rem;
}

.caution_text ul {
	list-style:disc;
	list-style-position:outside;
	margin-left:3rem;
}

::placeholder {
  color: #CCC;
}
/* 旧Edge対応 */
::-ms-input-placeholder {
  color: #CCC;
}
/* IE対応 */
:-ms-input-placeholder {
  color: #CCC;
}


@media (max-width: 980px){
table.contact {
	margin:0 0 1.5rem 0;
	width: 100%;
	table-layout: fixed;
	word-break: break-all;
	word-wrap: break-all;
}

table.contact th,
table.contact td:nth-child(1) {
	width:100%;
	background:#FFF;
	padding:0.75rem 1.5rem;
}

table.contact th,
table.contact td {
}

table.contact td:nth-child(1) {
	width:100%;
	border-bottom:none;
}

table.contact td input,
table.contact td textarea {
	font-size:16px !important;
}

table.contact td input[type="text"] ,
table.contact td input[type="email"],
table.contact td input[type="tel"] {
	width:100%;
}

table.contact td input[type="date"] {
	width:100%;
}

table.contact td.birth input[type="text"] {
	width:20%;
}

table.contact td span small {
	font-size:1em;
}

span.wpcf7-list-item {
	line-height:2.2;
}

table.contact td label {
	display:block;
}

.mw_wp_form .horizontal-item + .horizontal-item {
	margin-left:0;
}

table.contact td span.mwform-zip-field input,
table.contact td span.mwform-tel-field input {
	width:20%;
}

table.contact td select {
	padding:0.5rem 1.5rem;
}

input[type=text],
textarea {
}

table.contact {
}

table.contact th,
table.contact td {
	width:100%;
	display:block;
	border-bottom:none;
}

p.submit {
	margin-top:0 !important;
}

p.submit input {
	font-size:1.2em;
	padding:0.5rem 6rem;
	margin-top:3rem !important;
}
}

.lp_type01_wrapper01 {
	padding-bottom:15rem;
}

.lp_type01_wrapper02 {
	padding-top:15rem;
	padding-bottom:15rem;
}

.lp_type01_wrapper03 {
	padding-top:15rem;
	padding-bottom:15rem;
}

.lp_type01_wrapper04 {
}

.lp_type01_wrapper01 h2 {
	font-size: clamp(28px, 4.2vw, 60px);
	margin-bottom: 6rem;
	text-align:center;
	letter-spacing: 3px;
}

.lp_type01_wrapper01 h2 span {
  color: #FFF;
  font-weight: 700;
  line-height: 1.6;
  background: linear-gradient(transparent 0%,#415c07 0%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 1rem 3rem 0.4rem 3rem;
}

.lp_type01_wrapper01 p {
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 2.5;
	text-align:center;
	margin-bottom:1.5rem;
}


.lp_type01_wrapper02 {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
	background:url(../../images/bg_type01.png) no-repeat center center;
	background-size:cover;
	background-attachment:fixed;
	color:#FFF;
}

.lp_type01_wrapper02:before {
}

.lp_type01_wrapper02 .wp-block-group__inner-container {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
}

.lp_type01_wrapper02 h2 {
	font-size: clamp(28px, 4.2vw, 60px);
	margin-bottom: 7.5rem;
	text-align:center;
	letter-spacing: 3px;
}

.lp_type01_wrapper02 h2 span {
    color: #415c07;
    font-weight: 700;
    line-height: 1.6;
    background: linear-gradient(transparent 0%, #FFF 0%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
	padding: 1rem 3rem 0.4rem 3rem;
}

.lp_type01_wrapper02 h3 {
    font-size: clamp(24px, 2.2vw, 36px);
    display: block;
    margin-bottom: 3rem;
	line-height: 1.6;
}

.lp_type01_wrapper02 p {
    font-size: clamp(16px, 1.4vw, 16px);
    line-height: 2.5;
	margin-bottom:1rem;
}

.lp_type01_wrapper03 h2 {
	font-size: clamp(28px, 4.2vw, 54px);
	margin-bottom: 4.5rem;
	text-align:center;
	letter-spacing: 3px;
}

.lp_type01_wrapper03 h2 span {
	color: #FFF;
	font-weight: 700;
	line-height: 2;
	background: linear-gradient(transparent 0%,#5e4b33 0%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding: 1rem 3rem 0.4rem 3rem;
}

.lp_type01_wrapper03 h3 {
    font-size: clamp(24px, 2.2vw, 36px);
    display: block;
    margin-bottom: 4.5rem;
	padding-bottom:1.5rem;
	color:#415c07;
    font-weight: 700;
	border-bottom:2px solid #415c07;
}

.lp_type01_wrapper03 ol {
	counter-reset: listnum; /* カウンターをリセット */
	list-style: none; /* 標準のスタイルは消す */
	
}

.lp_type01_wrapper03 ol li {
	margin-bottom:1.5rem;
	padding-bottom:1.5rem;
	border-bottom:1px solid #AAA;
    font-size: clamp(16px, 1.4vw, 18px);
	line-height:2;
	text-indent:-2.3em;
	padding-left:2.3em;
	position:relative;
	font-weight:600;
}

.lp_type01_wrapper03 ol li:before{
	counter-increment: listnum;
	content: counter(listnum) "."; /* 半角スペースを入れて""の中にピリオドを追加 */
	padding-right: 1.5rem;
	vertical-align: middle;
	font-family: roboto;
	font-weight: bold;
	font-family: "Arial", sans-serif;
	font-variant-numeric: tabular-nums;
    font-size: clamp(20px, 1.8vw, 28px);
	line-height:1;
	position:relative;
	top:-2px;
	color:#415c07;
}
.lp_type01_wrapper04 h2 {
	font-size: clamp(24px, 2.4vw, 36px);
	display: block;
	margin-bottom:4.5rem;
}

.lp_type01_wrapper04 h2:first-child {
	margin-top:0 !important;
}

.lp_type01_wrapper04 h2.wp-block-heading span {
	font-size:0.6em;
	position:relative;
	top:-0.25rem;
	color:#415c07;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	text-align:right;
	display:block;
	letter-spacing: 1.5px;
}

.lp_type01_wrapper04 h2.wp-block-heading span:before {
  background-color: #415c07;
  content: "";
  height: 2px;
  width: 100%;
  display:block;
  margin-top:1rem;
  margin-bottom:1rem;
}

@media (max-width: 1540px) {
.lp_type01_wrapper02 {
	padding-left:4.5rem;
	padding-right:4.5rem;
}
}

@media (max-width: 980px) {
.lp_type01_wrapper01 {
	padding-bottom:7.5rem;
}

.lp_type01_wrapper02 {
	padding-top:7.5rem;
	padding-bottom:7.5rem;
}

.lp_type01_wrapper03 {
	padding-top:7.5rem;
	padding-bottom:7.5rem;
}

.lp_type01_wrapper04 {
}

.lp_type01_wrapper02 {
	padding-left:2rem;
	padding-right:2rem;
}

.lp_type01_wrapper01 h2,
.lp_type01_wrapper02 h2,
.lp_type01_wrapper03 h2 {
	line-height:2.4;
	margin-bottom:3rem;
}

.lp_type01_wrapper01 h2 span,
.lp_type01_wrapper02 h2 span,
.lp_type01_wrapper03 h2 span {
	padding:1rem 1.5rem;
}

.lp_type01_wrapper01 .wp-block-spacer,
.lp_type01_wrapper02 .wp-block-spacer,
.lp_type01_wrapper03 .wp-block-spacer {
	height:30px !important;
}

}
