/*
Theme Name: R-design

 * 【重要警告】
 * このWordPressテーマは R-design が著作権を有しています。
 * 無断での使用・コピー・改変・再配布は、著作権侵害にあたります。
 * 不正利用が確認された場合、アクセスログやコード署名をもとに、
 * 弁護士を通じて法的手段を取らせていただきます（実例あり）。
 *
 */

@charset "utf-8";

/* Reset CSS */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  background: transparent;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img {
min-width: 0;
max-width: 100%;
max-height: 100%;
line-height:0;
}

a{
	color: inherit;
	text-decoration: none;
}
*:focus:not(:focus-visible),
*:focus-visible{
  outline: none;
}

/* 基本 CSS */
html {
  scroll-behavior: smooth;
}

body {
font-size: 16px;
font-family: "Noto Sans JP", sans-serif;
line-height: 1.8;
color: #453114;
position: relative;
font-feature-settings: "palt";
}

/*------------------------------
　メールフォーム
------------------------------*/
#form{max-width:1000px;margin:0 auto;}

.form-hoso{text-align:center;background-color:#f0f0f0;padding:20px;margin-top:30px;line-height:2;font-size:18px;font-weight:500;}
.form-hoso b{display: inline-block;padding: 20px 0 0;font-size: 24px;border-bottom: 2px dotted #ee4296; margin-bottom: 20px;color:#ee4296;}
.apply-hosoku p{margin:10px auto;font-size:88%; display: flex;text-align: left;justify-content:center;letter-spacing:.1rem;line-height:1.4 !important;}
.apply-hosoku .wpcf7-list-item{margin:0 6px 0 0;}
.apply-hosoku input[type="checkbox"]{width:20px;height:20px;}
.Form {
	margin:30px auto;
	width: 800px;
}
.Form-Item p{text-align: left !important;}
.Form-Item:first-child{border-top: unset;}
.Form-Item-flex, .wpcf7-radio label{display:flex;justify-content:flex-start;align-items:center;}
.Form-Item-flex span{padding-right:10px;}
.wpcf7-radio label input{width:20px; margin-right: 10px;}

.Form-Item {
	border-top: 1px solid #ddd;
	padding-top: 24px;
	padding-bottom: 24px;
	width: 100%;
	display: flex;
	align-items:center;
	text-align: left;
}

.Form p {text-align: left;}
.Form-Item-Label {
	width: 100%;
	max-width: 300px;
	letter-spacing: 0.05em;
	font-weight: bold;
	font-size: 18px;
}
.Form-Item-Label span, span.hisu {
	border-radius: 6px;
	margin-left: 8px;
	padding: 5px;
	display: inline-block;
	text-align: center;
	background: #f57632;
	color: #fff;
	font-size: 12px;
	line-height:1;
	font-weight:500;
}
.Form-Item input {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding:8px;
	height: 48px;
	flex: 1;
	width: 100%;
	background: #FFF;
}
.Form-Item textarea{
	border: 1px solid #ddd;
	border-radius: 6px;
	padding:8px;
	flex: 1;
	width: 100%;
	background: #FFF;
}
.Form-Item select {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding:8px;
	height: 48px;
	flex: 1;
	width: 100%;
	background: #FFF;
}
.checkbox label{display:flex;align-items:center;justify-content:flex-start;margin-bottom:10px;}
.checkbox label > input{height: 24px;width:24px;margin-right:5px;}
@media screen and (max-width: 480px) {
	.Form{width:100%;}
	.Form-Item{flex-direction:column; align-items: flex-start;padding:15px 0;}
	.Form-Item-Label{padding-bottom:10px;}
}
.Form-Btn {
	border-radius: 6px;
	margin-top: 32px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	padding-bottom: 20px;
	width: 280px;
	display: block;
	letter-spacing: 0.05em;
	color: #fff;
	background-color:#0043ac;
	font-weight: bold;
	font-size: 20px;
	border: none;}

@media screen and (max-width: 480px) {
	.Form-Btn {
		margin-top: 24px;
		padding: 15px;
		width: 200px;
		font-size: 16px;
	}
}

.wpcf7-not-valid-tip{color:#e4000e !important;font-size:14px !important;padding-top:6px;}
.wpcf7-form-control-wrap{flex:1;}
.apply-hosoku{display:flex;justify-content:center;align-items:center;}
.hosoku-waku{background-color:#f0f0f0;padding:20px;font-size:12px;text-align:left;color:#222;}
.hosoku-waku p{font-size:14px;}
.hosoku-waku li{padding:1px 0;list-style:disc;margin-left:20px;}

@media (min-width: 751px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}

/* スマホの時だけTELリンク */

@media (min-width: 751px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}

/* ページ内リンク */
a.anchor {
display: block;
padding-top:240px;
margin-top:-240px;
}

.service-flex .anchor{ margin-top: -120px;} 

