@charset "utf-8";
body {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	background-color: #F9F3E9;
}
#cont {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	background-color: #FFFFFF;
}
img {
	
	vertical-align: bottom;
	
}
#QA {
	padding-bottom: 40px;
	background-color: #FFFFFF;
	
	
	
}
/*ベース*/
#QA .toggle {
	display: none;
}
#QA .Label {		/*タイトル*/
	padding: 1em;
	display: block;
	color: #e83836;
	background-color: #FFFFFF;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.6;
}
#QA .Label::before{		/*タイトル横の矢印*/
	content: "";
	width: 6px;
	height: 6px;
	border-top: 2px solid #454545;
	border-right: 2px solid #454545;
	-webkit-transform: rotate(45deg);
	position: absolute;
	top: calc( 50% - 3px );
	right: 20px;
	transform: rotate(135deg);
}
#QA .Label,
#QA .content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
}
#QA .content {		/*本文*/
	height: 0;
	margin-bottom: 0px;
	padding: 0 20px;
	overflow: hidden;
	font-size: 20px;
	background-color: #FFFFFF;
}
#QA .content p {
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	display: block;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	background-color: #EEEEEE;
	font-weight: 500;
	line-height: 1.6;
}

#QA .toggle:checked + .Label + .content {	/*開閉時*/
	height: auto;
	padding:20px ;
	transition: all .3s;
}
#QA .toggle:checked + .Label::before {
	transform: rotate(-45deg) !important;
}
#formarea {
	padding-top: 150px;
	padding-left: 20px;
	padding-right: 20px;
}
#formarea .title1 {
	font-size: 34px;
	font-weight: 500;
	text-align: center;
}
#formarea .txt {
	padding-top: 20px;
	padding-bottom: 20px;
	font-weight: 500;
	line-height: 1.5em;
}
#formarea .txt strong {
	color: #e83836;
}
#formarea #form1 table tr td .ca {
	font-size: 13px;
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
	color: #60594e;
	background-color: #f8f2e8;
}


#formarea .title2 {
	font-size: 22px;
	font-weight: 500;
	padding-bottom: 20px;
}
#name, #tel, #email {
	background: #EFEFEF;
	border-bottom: 2px solid #4b4b4b;
	border-left: 2px solid #4b4b4b;
	border-radius: 4px;
	border-right: 2px solid #4b4b4b;
	border-top: 2px solid #4b4b4b;
	box-shadow: none;
	color: #000000;
	font-family: var(--s-font-bea7441a);
	font-size: 16px;
	font-weight: 400;
	height: 50px;
	justify-content: center;
	letter-spacing: 0em;
	line-height: 1.4;
	margin: 0px 0px 0px 0px;
	opacity: 1;
	padding: 10px 10px 10px 10px;
	text-align: left;
	text-shadow: none;
	width: 95%;
	
	
}




input[type=text]:invalid {
	
	border-color: red;
	
}

input[type=text]:valid{
	
	border-color: #4b4b4b;
	
}

#form1 table tr td #messe {
	background: #EFEFEF;
	border-bottom: 2px solid #4b4b4b;
	border-left: 2px solid #4b4b4b;
	border-radius: 4px;
	border-right: 2px solid #4b4b4b;
	border-top: 2px solid #4b4b4b;
	box-shadow: none;
	color: #333;
	font-family: var(--s-font-bea7441a);
	font-size: 16px;
	font-weight: 400;
	height: 160px;
	justify-content: center;
	letter-spacing: 0em;
	line-height: 1.4;
	opacity: 1;
	padding: 10px 10px 10px 10px;
	text-align: left;
	text-shadow: none;
	width: 95%;
	max-width: 100%;
	
}


#form1 #tel, #email {
	
	width: 90%;

	
}
#submit_bt {

  display       : inline-block;
  border-radius : 5%;          /* 角丸       */
  font-size     : 14pt;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 17px 38px;   /* 余白       */
  background    : #4b4b4b;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  box-shadow    : 1px 1px 2px #666666;  /* 影の設定 */
  border        : 2px solid #4b4b4b;    /* 枠の指定 */

}
#cont #footer .logo {
	
    flex-wrap: nowrap;
    max-width: 100%;
    pointer-events: all;
    z-index: 0;
    -webkit-overflow-scrolling: touch;
    align-content: center;
    align-items: center;
    display: flex;
    flex: none;
    flex-direction: column;
    position: relative;	
	
}
#cont #footer .fmenu {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 40px;
	font-size: 16px;
	clear: both;
	align-items: center;
	text-align: center;
}
#footer .fmenu span {
	float: none;
	padding-right: 10px;
	padding-left: 10px;
	white-space: nowrap;
}





#footer .logo img {
	
    background: #FFFFFF;
    flex: none;
    height: auto;
    margin: 40px 0px 0px 0px;
    width: 344px;
    max-width: 100%;	
	
}
#cont #footer .cr {
	height: 200px;
	text-align: center;
	font-size: 12px;
	padding-top: 40px;
}
#cont #footer #fixed_menu {
	position: fixed;
	bottom:0;
	max-width:600px;
	background-color: #FFF;
}



.clboth {
	
	clear:both;
}



.modal_open{
	
	text-decoration: underline;
	color: #0000EE;
	cursor:pointer;

}
 
.modal_box {
    position: fixed;
    z-index: 7777;
    display: none;
    width: 80%;
    max-width: 550px;
    margin: 0;
    padding: 60px 2vw 80px;
    border: 2px solid #aaa;
    text-align: left;
    background: #fff;
    box-sizing: border-box;
	max-height:80%;
	overflow-y: auto;
}
 
.modal_close {
    position: fixed;
    top: 0;
    right: 0;
    display: block;
    width: 62px;
    font-size: 46px;
    color: #000;
    line-height: 62px;
    text-align: center;
    background: #e6e6e6;
}
 
.modal_close i {
    line-height: 62px;
    vertical-align: bottom;
}
 
.modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6666;
    display: none;
    width: 100%;
    height: 120%;
    background-color: rgba(0,0,0,0.7);
}
 
.link_area {
    overflow: hidden;
    max-width: 410px;
    margin: 60px auto 0;
    text-align: center;
}
 
.link_area .modal_link {
    display: inline;
}
 
.link_area .modal_link a {
    display: inline-block;
    width: 180px;
    color: #000;
    line-height: 2.5;
    text-decoration: none;
    margin: 0 10px;
    background: #e6e6e6;
}
 
.link-area ul li.modal_link:first-child a {
    float: left;
}
 
.link-area ul li.modal_link:last-child a {
    float: right;
}

#loading img {
	position: fixed;
	top: 45%;
	left: 47%;
	opacity: 0.5;
}
.hidden {
	display: none;
}


.overlay {
  /* 画面全体を覆う */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* 背景を暗くして半透明にする */
  background-color: rgba(0, 0, 0, 0.7);
  
  /* 中央配置（flexbox使用） */
  display: none;
  justify-content: center;
  align-items: center;
  
  /* 最前面に表示 */
  z-index: 9999;
}

.message {
  /* メッセージの見た目 */
  color: white;
  font-size: 24px;
  padding: 20px;
  background-color: #333; /* メッセージの背景色 */
  border-radius: 10px;
}


 
 
@media screen and (max-width: 600px) {
 
/*  ウィンドウサイズ769px以下の時のスタイル  */
 
  .modal_box {
      padding: 50px 2vw 40px;
  }
 
  .modal_close {
      width: 40px;
      line-height: 40px;
      font-size: 30px;
  }
 
  .modal_close i {
      line-height: 44px;
  }
 
  .link_area {
      margin: 25px auto 0;
  }
 
  .link_area .modal_link a {
      margin: 15px auto 0;
  }
 
  .link_area ul li.modal_link:first-child a {
      float: none;
      margin-top: 0;
  }
 
  .link_area ul li.modal_link:last-child a {
      float: none;
  }
 
}
