@charset "utf-8";
/*
Theme Name: 一枚板・木材販売のダイキマン
Theme URI: https://daikiman.com/
Description: 一枚板・木材販売のダイキマンのテーマです
*/


/* h1〜h6は段階的に縮小 */
.page .entry-content h2 {
	font-size: clamp(20px, 2.4vw, 36px);
	font-weight: 700;
	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:1em;
	position:relative;
	top:-0.25rem;
	color:#f76a0c;
	font-family: "Bebas Neue", "Noto Sans JP", sans-serif;
	font-weight: 400;
	text-align:right;
	display:block;
}

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

.page .entry-content h3 {
	border:none;
	padding-left:0;
	font-size: clamp(20px, 2.4vw, 26px);
	color:#f76a0c;
	position:relative;
	font-weight:600;
	text-align: center;
	
	line-height: 1.5;
	margin: 3rem 0 3rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
	
/*	align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;*/
}


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

.page .entry-content h3 span:before,
.page .entry-content h3 span:after {
	content: '';
	background-color: #f76a0c;
	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(18px, 1.8vw, 24px);
	font-weight:600;
	line-height: 1.5;
	margin: 3rem 0 3rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.page .entry-content h5 {
	font-size: clamp(17px, 1.8vw, 20px);
	color: #f76a0c;
	margin-bottom:1.5rem;
	padding-bottom:1rem;
	border-bottom:1px solid #DDD;
	line-height: 1.5;
	margin: 3rem 0 3rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

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

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

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

#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);
}



.history {
    position: relative;
	padding:4.5rem 0;
}
.history::before {
    position: absolute;
    top: 0px;
	
	left: 16%;
    width: 6px;
    height: 100%;
    background-color: #e8e0da;
    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: #f76a0c;
    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%;
}

@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%;
}
}

@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:35%;
	border-top:none;
	border-right:none;
	border-left:none;
	border-bottom:none;
	font-weight:400;
	vertical-align:top;
	background:none;
	font-weight:600;
	font-size:clamp(18px, 1.6vw, 20px);
	padding:3rem 1.5rem
}

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

}

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

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;
	border:1px solid #DDD;
    box-sizing: border-box;
	font-size:1.6rem;
	background: #FAFAFA;
	border-radius:5px;
	font-size:clamp(18px, 1.6vw, 20px);
}

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.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.required {
	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:4.5rem !important;
	margin-bottom:3rem !important;
}

p.submit input {
	font-size:clamp(18px, 2vw, 24px);
	padding:0.5rem 12rem;
	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;
}

#omitsumori .content_wrapper p span {
	font-size:1em !important;
}

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;
}

input[type=text],
textarea {
}

.wpcf7 table {
    border-bottom: 1px solid #EEE;
}

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

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