@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: #261C19;
  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: 3rem 0;
	gap: 30px;
}
.wpcf7 .formLabel,
.wpcf7 .formBody {
	margin: 0;
	padding: 0;
}
.wpcf7 .formLabel {
	width: 210px;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.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: #fff;
	background: #39A0DC;
	border-radius: 10px;
	padding: 2.5px 10px;
}

.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 #f3f3f3;
	border-radius: 5px;
	box-shadow: none;
	background-color: #f3f3f3;
	color: inherit;
	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 solid #39A0DC;
	box-shadow: none;
}

/* チェックボックス */
.wpcf7-form-control.wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  align-items: center;
}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
	margin: 0;
}
.wpcf7 .wpcf7-list-item {
	display: flex;
	align-items: center;
}
.wpcf7 input[type="checkbox"] {
	position: relative;
	cursor: pointer;
	padding: 0;
	margin: 0 10px 0 0;
	width: 20px;
	height: 20px;
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.wpcf7 input[type="checkbox"]:before {
	position: absolute;
	top: 5px;
	content: '';
	margin-right: 10px;
	display: inline-block;
	margin-top: -2px;
	width: 20px;
	height: 20px;
	background: #f3f3f3;
	border: none;
	border-radius: 0;
}
.wpcf7 input[type="checkbox"]:checked:before {
	background: #39A0DC;
	border-color: #39A0DC;
	box-shadow: none;
}
.wpcf7 input[type="checkbox"]:disabled {
	color: #b8b8b8;
	cursor: auto;
}
.wpcf7 input[type="checkbox"]:disabled:before {
	box-shadow: none;
	background: #ddd;
}
.wpcf7 input[type="checkbox"]:checked:after {
	content: "";
	display: block;
	position: absolute;
	top: 5px;
	left: 7px;
	width: 7px;
	height: 11px;
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	box-sizing: border-box;
	transform: rotate(40deg);
}

.formRow.row-submit {
	justify-content: center;
}
.formRow.row-submit .submitBtn{
  position: relative;
  display: block;
  max-width: 400px;
}

/* 見た目（枠・丸み・サイズ） */
.formRow.row-submit .submitBtn .wpcf7-submit.submit{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: #39A0DC;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
  border-radius: 9999px;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: left;
  line-height: 1;
  padding: 2rem 6rem 2rem 4rem;
  cursor: pointer;
	transition: all 0.3s;
}

/* 矢印SVG（::beforeで追加） */
.formRow.row-submit .submitBtn::before{
  content: "";
  position: absolute;
  top: 30px;
  right: 24px;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: no-repeat center/contain;
	background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25"><g clip-path="url(%23c)"><path d="M12.5 25C19.4036 25 25 19.4036 25 12.5C25 5.59644 19.4036 0 12.5 0C5.59644 0 0 5.59644 0 12.5C0 19.4036 5.59644 25 12.5 25Z" fill="%23ffffff"/><path d="M9.77789 18.832V6.1585C9.77789 5.72217 10.2737 5.48417 10.6109 5.76183L18.4947 12.0986C18.7525 12.3069 18.7525 12.6936 18.4947 12.9019L10.6109 19.2386C10.2737 19.5064 9.77789 19.2684 9.77789 18.842V18.832Z" fill="%2339A0DC"/></g><defs><clipPath id="c"><rect width="25" height="25" fill="white"/></clipPath></defs></svg>');
  pointer-events: none;
	transition: all 0.3s;
}
.formRow.row-submit .submitBtn:hover::before {
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25"><g clip-path="url(%23c)"><path d="M12.5 25C19.4036 25 25 19.4036 25 12.5C25 5.59644 19.4036 0 12.5 0C5.59644 0 0 5.59644 0 12.5C0 19.4036 5.59644 25 12.5 25Z" fill="%23ffffff"/><path d="M9.77789 18.832V6.1585C9.77789 5.72217 10.2737 5.48417 10.6109 5.76183L18.4947 12.0986C18.7525 12.3069 18.7525 12.6936 18.4947 12.9019L10.6109 19.2386C10.2737 19.5064 9.77789 19.2684 9.77789 18.842V18.832Z" fill="%238CD3FB"/></g><defs><clipPath id="c"><rect width="25" height="25" fill="white"/></clipPath></defs></svg>');
}
.formRow.row-submit .submitBtn .wpcf7-submit.submit:hover {
	color: #fff;
	background: #8CD3FB;
}

.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 .formLabel {
	justify-content: flex-start;
}
.wpcf7 div.formRow,
.wpcf7 .form__sub_label {
	flex-direction: column;
	gap: 15px;
}
.formRow.row-submit {
	align-items: center;
}
.wpcf7 .formRow {
	padding: 1.5rem 0;
}
.wpcf7 .formBody,
.wpcf7 div.formBody,
.wpcf7 .form__sub_label label {
	width: 100%;
}
.wpcf7 .formLabel {
	width: 100%;
	gap: 13px;
}
.wpcf7-form-control.wpcf7-checkbox {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
}

/* 送信後 */
.wpcf7-form.sent .formWrap {
	display:none;
}
.wpcf7 form.sent .wpcf7-response-output {
	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: rgba(0, 0, 0, 1);
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.selectWrap {
	position: relative;
}
.selectWrap::after {
	position: absolute;
	content: '';
	width: 8px;
	height: 8px;
	right: 20px;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
	border-bottom: 2px solid #79aeaa;
	border-right: 2px solid #79aeaa;
	z-index: 1;
}
select.yearArcive {
	color: #79aeaa;
	margin: 0;
	padding: 0.75rem 4rem 0.75rem 2rem;
	border: 1px solid #79aeaa;
	border-radius: 5px;
	box-shadow: none;
	background-color: #fefefe;
	font-size: 1.6rem;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	z-index: 1;
}
select.yearArcive:focus {
	outline: 0;
	border: 1px #707070 solid;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
}