@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
/*
theme Name: ごとう製革所
Author: FLAG
Description: ごとう製革所 オリジナルテーマ
version： 1.0
*/
/*cssのリセット*/
*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd,ol,ul{margin:0}ul[role='list'],ol[role='list']{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1.1}h1,h2,h3,h4{text-wrap:normal}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}

html, body {
  overflow-x: hidden;
}
html {
  font-size:62.5%;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #000;
  background: #fff;
  font-size: 1.6rem;
  height: 100%;
}

:target::before {
  content: "";
  display: block;
  height: 100px;
  margin-top: -100px;
}

/* 基本の表示状態 */
.pcOnly,
.pctbOnly {
	display: block;
}
.tbOnly, .mbOnly, .tbmbOnly {
	display: none;
}
/* タブレットだけの表示（1024px以下） */
@media screen and (max-width: 1024px) {
	.pcOnly {
		display: none;
	}
	.tbOnly {
		display: block; /* タブレットのみ表示 */
	}
	.tbmbOnly {
		display: block; /* タブレットとモバイルのみ表示 */
	}
}
/* モバイルだけの表示（767px以下） */
@media screen and (max-width: 767px) {
	.pcOnly, .pctbOnly {
		display: none;
	}
	.tbOnly {
		display: none; /* タブレットのみ表示 */
	}
	.mbOnly {
		display: block; /* モバイルのみ表示 */
	}
	.tbmbOnly {
		display: block; /* タブレットとモバイルのみ表示 */
	}
}

/* コンタクトフォーム */
.wpcf7 .formWrap {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}
.wpcf7 .formRow {
	display: flex;
	margin: 0;
	padding: 1rem 0;
	gap: 30px;
}
.wpcf7 .formLabel {
	color: #111;
}
.wpcf7 .formLabel,
.wpcf7 .formBody {
	margin: 0;
	padding: 0;
}
.wpcf7 .formLabel {
	width: 222px;
	padding: 0;
	display: flex;
	align-items: center;
}
.wpcf7 .formBody {
	width: calc(100% - 180px);
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.wpcf7 .formBody span {
	width: 100%;
}
.wpcf7 .formRow.orderTop {
	align-items: flex-start;
}
.wpcf7 .formBody .formSubBox {
	display: flex;
	gap: 10px;
	align-items: center;
}
.wpcf7 .formLabel span {
	font-size: 1.4rem;
	color: #EF9D1B;
	padding: 2px 10px;
	border-radius: 0;
}
.wpcf7 input[type=text],
.wpcf7 input[type=tel],
.wpcf7 input[type=email],
.wpcf7 input[type=date],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	margin: 0;
	padding: 0.75em;
	border: 1px solid #666666;
	border-radius: 10px;
	box-shadow: none;
	background-color: #fefefe;
	color: #111;
	font-family: inherit;
	font-weight: inherit;
	font-size: 16px;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=date]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
	outline: 0;
	border: 1px #707070 solid;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
}
.wpcf7 input[type=tel].zip {
	width: 200px;
}

/* 送信ボタン */
.formRow.row-submit {
	margin: 5rem 0 0 0;
	justify-content: center;
	align-items: center;
}
.formRow.row-submit .submitBtn{
  position: relative;
  display: block;
  max-width: 170px;
}
.formRow.row-submit .submitBtn .wpcf7-submit.submit{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: #fff;
  color: #333;
  border: none;
  border-radius: 9999px;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: left;
  line-height: 1;
  padding: 1rem 0;
  cursor: pointer;
}

/* 矢印SVG（::beforeで追加） */
.formRow.row-submit .submitBtn::before{
  content: "";
  position: absolute;
  top: 8px;
  right: 24px;
  width: 22px;
  height: 22px;
  background: no-repeat center/contain;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22"><rect x=".5" y=".5" width="21" height="21" rx="2.5" ry="2.5" fill="%23fff" stroke="%23c9a849"/><path d="M9.5,4c.1,0,.2,0,.3.1l6.1,6.5c.2.2.2.5,0,.7l-6.1,6.5c-.2.2-.5.2-.7,0-.2-.2-.2-.5,0-.7l5.7-6.1-5.7-6.1c-.2-.2-.2-.5,0-.7,0,0,.2-.1.3-.1h0Z" fill="%23c9a849"/></svg>');
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}

.formRow.row-submit .submitBtn:hover {
  opacity: .6;
}
.formRow.row-submit .submitBtn:hover::before{
  transform: translateX(20px);
}


.wpcf7 .wpcf7-list-item.first {
	margin: 0;
}
.wpcf7 .row-drawing .attention {
	display: block;
	font-size: 0.7rem;
	margin: 5px 0 0 0;
}
.wpcf7 .formRow.row-privacy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin: 0;
}
.wpcf7 .formRow.row-privacy .formBody {
	text-align: center;
}
.wpcf7 div.formRow.row-privacy h5 {
	font-size: 1.7rem;
	margin: 0;
}
.wpcf7 div.formRow.row-privacy p {
	color: #7D7F83;
	text-align: center;
	max-width: 580px;
}
.wpcf7 div.formRow.row-privacy p a {
	color: #E99568;
}
.wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
	padding: 0;
}

@media only screen and (max-width: 767px) {
.wpcf7 div.formRow,
.wpcf7 .form__sub_label {
	flex-direction: column;
	gap: 15px;
}
.wpcf7 .formBody,
.wpcf7 div.formBody,
.wpcf7 .form__sub_label label {
	width: 100%;
}
.wpcf7 .formLabel {
	width: 100%;
	gap: 13px;
}
}

/* 送信後 */
.wpcf7-form.sent .formWrap {
	display:none;
}
.wpcf7 form.sent .wpcf7-response-output {
	color: #111;
	border: none;
	text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output::before {
	content: "THANK YOU!";
	display: block;
	font-size: 4rem;
	font-weight: bold;
	line-height: 5rem;
	margin-bottom: 1.1rem;
	padding: 1rem;
	color: #2996D3;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
