/*
Theme Name: JAIC Theme
Theme URI: http://www.jaic-co.com/
Description: J建築検査センター専用テーマです。ご不明な点は作成者までご連絡ください。
Author: EMALICA
Author URI: http://www.emalica.com/
Version: 1.0
*/

@charset "UTF-8";article,aside,details,figcaption,figure,footer,header,hgroup,hr,menu,nav,section{display:block}a,hr{padding:0}abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:0 0;font-weight:400}ins,mark{background-color:#ff9;color:#000}body{line-height:1}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}a{margin:0;font-size:100%;vertical-align:baseline;background:0 0}ins{text-decoration:none}mark{font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{height:1px;border:0;border-top:1px solid #ccc;margin:1em 0}input,select{vertical-align:middle}img.bgmaximage{position:fixed!important}
/*
共通
*************************************************/
html {
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	-webkit-overflow-scrolling: touch;
	font-size: 62.5%;
	font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-family: 'Noto Sans Japanese', serif;
}
body {
	width: 100%;
	min-height: 100%;
	font-size: 1.6rem;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	background-color: #fff;
	color: #666;
    -webkit-text-size-adjust: 100%;
}
h1, h2, h3 {
	margin: 1em 0;
    font-weight: normal;
}
h1:first-child, h2:first-child, h3:first-child {
	margin: 0;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2.0rem; }
h3 { font-size: 1.6rem; }
p { margin: 1em 0; }
p:first-child {
    margin: 0;
}
strong {
	font-weight: bold;
}
ul, ol {
	margin: 1em 0 0 1.5em;
}
ul li,
ol li {
	line-height: 1.5;
    margin: 1em 0 0 0;
}

#list-style-none{
	list-style:none;
}

ul li:first-child,
ol li:first-child {
    margin: 0;
}
img {
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
	line-height: 0;
}
table {
	width: 200vw;
	margin: 1em 0;
	text-align: left;
}
@media(min-width: 768px){
    table {
        width: 100%;
    }
}
table th {
	white-space: nowrap;
	border: 1px solid #ccc;
	padding: 8px;
    background-color: #f1f1f1;
}
table td {
	border: 1px solid #ccc;
	padding: 8px;
}
td p {
	margin: 0;
}
td ul, td ol {
    margin: 0 0 0 1.5em;
}
td ul li, td ol li {
    margin: 0;
}
a:link, a:visited {
	color: #337db4;
	text-decoration: none;}
a:hover {
    color: #cb4e2f;
}
#wrapper {
    background-color: #fff;
    padding: 44px 0 0 0;
}
@media(min-width: 1224px){
    #wrapper {
        padding: 0;
    }
}
main {
	min-height: 100%;
	display: block;
}
main#home {
    margin: 2% 0 0 0;
}
.row {
	box-sizing: border-box;
	overflow: hidden;
    padding: 2% 4%;
	width: 100%;
}
.col {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
.table-wrap {
	margin: 16px 0 0 0;
	overflow: auto;
	white-space: nowrap;
}
.table-wrap::-webkit-scrollbar {
	height: 5px;
}
.table-wrap::-webkit-scrollbar-track {
	background: #F1F1F1;
}
.table-wrap::-webkit-scrollbar-thumb {
	background: #BCBCBC;
}
/* 404
***************************************************/
.error404 {
	min-height: 100%;
	background-image: url(./images/error404.jpg);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: contain;
	text-align: center;
}

@media (min-width: 1025px) {
	.error404 {
		background-position: center top;
		background-size: cover;
	}
}
/* ページャー
***************************************************/
#pager{
}
#pager ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
#pager ul li {
    height: 44px;
    width: 44px;
    margin: 0 1%;
    padding: 0;
}
#pager ul li .page-numbers {
    display: block;
    height: 44px;
    width: 44px;
    line-height: 44px;
    margin: 0;
    padding: 0;
    text-align: center;
    border: 1px solid #eee;
}
#pager ul li a {
    color: #999;
}
#pager ul li a:hover {
    background-color: #eee;
}
#pager ul li .current {
    border: none;
    border-bottom: 1px solid #eee;
}
.prev::after {
  content: "\f053";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.next::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
/* ヘッダー
***************************************************/
#breadcrumbs {
    background-color: #eee;
    font-size: 1.4rem;
}
#breadcrumbs.row {
    padding: 1% 4%;
}
#breadcrumbs span {
    font-size: 1.4rem;
}
#breadcrumbs a {
    position: relative;
    padding: 0 1.5em 0 0;
    margin: 0 1em 0 0;
}
#breadcrumbs a::after {
    position: absolute;
    top: -4px;
    right: 0;
    display: block;
    content: "";
    transform: rotate(-45deg);
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    height: 26px;
    width: 26px;
}
/* ヘッダー
***************************************************/
#main-header {
    border-bottom: 4px solid #262f3d;
}
#main-header.row {
    padding: 0 4%;
}
#main-header h1 {
    font-size: 1.2rem;
}
#main-header #logo {
    height: 48px;
    width: 100%;
    margin: 16px 0 0 0;
}
#main-header #logo img {
    height: 48px;
}
@media(min-width: 1224px){
    #main-header #logo {
    }
}
/* ユーティリティナビ
***************************************************/
#utility-nav {
    height: 48px;
    width: 100%;
    line-height: 44px;
    font-size: 1.8rem;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    background-color: #262f3d;
    color: #fff;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
#utility-nav #nav-btn {
    height: 48px;
    width: auto;
    font-size: 1.4rem;
    line-height: 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
#utility-nav #nav-btn span {
    font-size: 1.2rem;
}
#utility-nav #nav-btn i {
    line-height: 48px;
    font-size: 2.4rem;
    text-align: center;
    width: 48px;
}
#utility-nav >:last-child {
    margin-left: auto;
}
#utility-nav #search-input {
}
#utility-nav #search-input form {
    display: flex;
    align-content: center;
}
#utility-nav #search-input input[type=text] {
    border: 1px solid #262f3d;
    border-radius: 4px 0 0 4px;
    margin: 0;
    padding: 0 .5em;
    line-height: 32px;
    width: 100%;
}
#utility-nav #search-input input[type=submit] {
    border: 1px solid #262f3d;
    border-radius: 0 4px 4px 0;
    margin: 0;
    padding: 0 .5em;
    line-height: 32px;
    box-shadow: none;
    width: 44px;
    background-image: url(./images/ic_search_white.png);
    background-repeat: no-repeat;
    background-size: 75%;
    background-color: #262f3d;
    background-position: center;
}
@media(min-width: 1224px){
    #utility-nav {
        position: absolute;
        background-color: rgba(0,0,0,0);
        width: auto;
        left: auto;
        right: 4%;
        top: 12px;
    }
    #utility-nav #nav-btn {
        display: none;
    }
}
/* グローバルナビ
***************************************************/
#global-nav {
    display: none;
}
#global-nav a:hover {
    color: #cb4e2f;
}
/* 検索
***************************************************/
#search-view section {
    border-bottom: 1px dashed #ccc;
    padding: 1em 0;
}
/* 親ページ
***************************************************/
#parent {}
#parent .col {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    align-content: space-between;
}
#parent .col .title {
    width: 100%;
    margin: 0 0 2% 0;
}
#parent .col section {
    box-sizing: border-box;
    margin: 0 0 2% 0;
    width: 100%;
}
#parent .col section a {
    border-radius: 4px;
    display: block;
    padding: 16px;
    min-height: 80px;
    background-color: #262f3d;
    border: 3px double #fff;
    box-sizing: border-box;
    color: #fff;
}
#parent .col section a p {
    color: #ccc;
    margin: 0;
}
#parent .col section a:hover h2 {
    color: #de934c;
}
@media(min-width: 768px) {
    #parent .col section {
        width: 49%;
    }
}
/* 20250529追記 子ページリンク用*/
#parent .col section a p::after {
  content: "\f25a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin: 0 .5em 0 0;
}


/* 重要なお知らせ
***************************************************/
.info .col {
}
.info .wrap {
    border-radius: 4px;
    padding: 8px;
}
.info header {
    padding: 0 0 4px 0;
}
.info header h2 {
    font-size: 1.4rem;
}
.info ul {
    background-color: #fff;
    color: #333;
    flex-grow: 1;
    margin: 0;
    list-style: none;
    border-radius: 4px;
    padding: 4px 8px;
}
.info ul li {
    margin: 0;
    padding: 4px 0;
    border-bottom: 1px solid #ccc;
}
.info ul li:nth-child(2+X) {
    margin: 8px 0;
}
.info ul li a {
    color: #333;
}
.info ul li a:hover {
    text-decoration: underline;
}
.info footer {
    padding: 4px 0 0 0;
    text-align: right;
}
.info footer a {
    color: #fff;
    font-size: 1.4rem;
}
@media(min-width: 768px) {
    .info .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .info header {
        margin: 0 1% 0 0;
        padding: 0;
    }
    .info footer {
        margin: 0 0 0 1%;
        padding: 0;
    }
}
#notice .wrap {
    background-color: #cb4e2f;
    color: #fff;
}
#notice ul li::before {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin: 0 .5em 0 0;
}
#information .wrap {
    background-color: #262f3d;
    color: #fff;
}
#information ul li span {
    display: inline-block;
    width: 6em;
}
/* ニュースリリース一覧
***************************************************/
#news-release .item {
    border-bottom: 1px dashed #ccc;
    margin: 2em 0;
}
#news-release .item p {
    font-size: 1.4rem;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}
#news-release .item h2 {
    margin: 0;
}
#news-release .item p.date {
}
@media(min-width: 768px) {
    #news-release .item {
        display: flex;
        align-items: center;
        flex-flow: wrap;
    }
    #news-release .item p {
        padding: 0 0 0 10em;
    }
    #news-release .item p.date {
        padding: 0;
        width: 10em;
    }
}
/* ビジュアル
***************************************************/
#visual.row {
    padding: 2% 4% 0 4%;
}
#visual ul {
    margin: 0;
    list-style: none;
}
@media(min-width: 768px) {
}
/* 会社案内
***************************************************/
#company .open-close ul {
    list-style: none;
    margin: 0;
}
/* 営業所
***************************************************/
#office section {
    padding: 0 0 2em 0;
    margin: 0 0 2em 0;
    border-bottom: 1px dashed #ccc;
    overflow: hidden;
}
#office section h2 {
    color: #de934c;
    width: 100%;
    margin: 0 0 1em 0;
}
#office section dl {
    display: flex;
    flex-flow: wrap;
    align-content: flex-start;
}
#office section dl dt {
    padding: .5em 0;
    white-space: nowrap;
    width: 6em;
    color: #263d59;
    border-bottom: 1px dashed #ccc;
}
#office section dl dd {
    padding: .5em 0;
    width: calc(100% - 6em);
    border-bottom: 1px dashed #ccc;
}
#office section dl .department {
    width: 100%;
}
#office section dl dt.department {
    color: #de934c;
    border: none;
    padding: 1em 0 0 0;
}
#office section #map {
    margin: 2em 0 0 0;
    width: 100%;
}
#office section #map .acf-map {
    height: 50vh;
    width: 100%;
}
@media(min-width: 768px) {
    #office section {
        display: flex;
        flex-flow: wrap;
        justify-content: flex-start;
    }
    #office section dl {
        width: 22em;
    }
    #office section dl dt {
        padding: .5em 0;
    }
    #office section dl dd {
        padding: .5em 0;
    }
    #office section #map {
        margin: 0;
        width: calc(100% - 22em);
    }
    #office section #map .acf-map {
        height: 30vh;
    }
}

/* WEBサービス
***************************************************/
#web-service-link.row {
    padding: 0 4% 2% 4%;
}
#web-service-link .col {
    background-color: #263d59;
    padding: 4px;
}
#web-service-link .wrap section {
    background-color: #fff;
    box-sizing: border-box;
    padding: 1px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    border: 4px solid #263d59;
}
#web-service-link .wrap section h2 {
    width: 100%;
    height: 120px;
}
#web-service-link .wrap section h2 img {
    max-width: 240px;
}
#web-service-link .wrap section ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    width: 100%;
}
#web-service-link .wrap section ul li {
    margin: 0;
    width: calc((100% - 1px) / 2);
}
#web-service-link .wrap section ul li a {
    display: block;
    line-height: 44px;
    text-align: center;
    background-color: #4b97de;
    background-color: #263d59;
    color: #fff;
}
@media(min-width: 768px){
    #web-service-link .wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #web-service-link .wrap section {
        width: 50%;
    }
    #web-service-link .wrap section ul li a:hover {
        background-color: #4b97de;
    }
}
#login {
}
#login a {
    display: inline-block;
    border-radius: 4px;
    line-height: 44px;
    padding: 0 1em;
    background-color: #263d59;
    color: #fff;
}
#login a:hover {
    background-color: #4b97de;
}
/* イントロ
***************************************************/
#intro h1 {
    color: #cb4e2f;
}
#intro h2 {
    color: #263d59;
}
/* コンテンツ
***************************************************/
#contents h2,
#contents h3 {
    color: #263d59;
}
#contents h2::before {
    content: "\f0c8";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
    margin: 0 .5em 0 0;
}
#contents-btn.row,
#regulation-btn.row,
#documents-btn.row,
#fee-btn.row {
    padding: 1% 4%;
}
#contents-btn p,
#regulation-btn h2,
#documents-btn h2,
#fee-btn h2 {
    cursor: pointer;
    height: 48px;
    background-color: #de934c;
    text-align: center;
    border-radius: 4px;
    line-height: 48px;
    color: #fff;
    font-size: 1.6rem;
    position: relative;
}
#contents-btn p {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #cccccc 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#cccccc 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#cccccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border-radius: 0;
    color: #333;
}
#contents-btn p.close {
    background: #cccccc; /* Old browsers */
    background: -moz-linear-gradient(top, #cccccc 0%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #cccccc 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #cccccc 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
@media(min-width: 1224px) {
    #regulation-btn h2::before,
    #documents-btn h2::before,
    #fee-btn h2::before {
        display: block;
        content: "";
        background-color: rgba(0,0,0,0);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        transition: .2s;
    }
    #contents-btn p::before {
        border-radius: 0;        
    }
    #regulation-btn h2:hover::before,
    #documents-btn h2:hover::before,
    #fee-btn h2:hover::before {
        background-color: rgba(0,0,0,.2);
    }
}
#cpt_service #contents {
    /* 20190320コメントアウト */
    /* display: none; */
}
#regulation,
#documents,
#fee {
    display: none;
}
#regulation th,
#documents th,
#fee th {
}
#reguration td,
#documents td,
#fee td {
    white-space: nowrap;
}
#regulation td img,
#documents td img,
#fee td img {
    width: 24px;
}
.file-no,
.file-extension,
.file-size,
.file-modified {
    width: 3em;
    text-align: center;
    white-space: nowrap;
}
.file-title span {
    font-size: 1.4rem;
}
.scroll {
  overflow: auto;
  white-space: nowrap;
}
.scroll::-webkit-scrollbar {
    height: 5px;
}
.scroll::-webkit-scrollbar-track {
    background: #F1F1F1;
}
.scroll::-webkit-scrollbar-thumb {
    background: #BCBCBC;
}
#contact-link .col {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}
#contact-link p.w100 {
    width: 100%;
}
#contact-link .contact {
    width: 100%;
    margin: 1% 0;
    background-color: #4b97de;
    border: 1px solid #4b97de;
    border-radius: 4px;
}
#contact-link .contact.email {
    background-color: #fff;
}
#contact-link .contact a {
    display: block;
    text-align: center;
    box-sizing: border-box;
    padding: 1%;
    color: #fff;
    border-radius: 4px;
}
#contact-link .contact.email a {
    color: #4b97de;
}
#contact-link .contact a:hover {
    background-color: rgba(0,0,0,.2);
}
#contact-link .contact a p.tel,
#contact-link .contact a p.email {
    font-size: 2.0rem;
    margin: .5em 0;
}
#contact-link .contact a p.tel::before {
  content: "\f098";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin: 0 .5em 0 0;
}
#contact-link .contact a p.email::before {
  content: "\f0e0";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin: 0 .5em 0 0;
}
@media(min-width: 768px){
    #contact-link .contact {
        width: 49%;
    }
}
/* サービスページ
***************************************************/
#web-service ul li,
#service ul li {
    line-height: 44px;
}
#web-service ul li ul,
#service ul li ul {
    margin: 0 0 0 1.5em;
}
#web-service ul li ul li,
#service ul li ul li {
    margin: 0;
}
/* お見積もりシミュレーション
***************************************************/
#omitsumori nav {
}
#omitsumori nav ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#omitsumori nav ul li {
  margin: 1em 1em 1em 0;
  padding: 0;
  float: left;
}
#omitsumori nav ul li:nth-of-type(4),
#omitsumori nav ul li:nth-of-type(6),
#omitsumori nav ul li:nth-of-type(7) {
  clear: both;
}
#omitsumori nav ul li a {
  display: block;
  line-height: 44px;
  padding: 0 1em;
  background-color: #cb4e2f;
  text-decoration: none;
  color: #fff;
  border-radius: 4px;
}
#omitsumori nav ul li:nth-of-type(4) a,
#omitsumori nav ul li:nth-of-type(5) a {
  background-color: #262f3d;
}
#omitsumori nav ul li:nth-of-type(6) a {
  background-color: #4b97de;
}
#omitsumori nav ul li:nth-of-type(7) a,
#omitsumori nav ul li:nth-of-type(8) a,
#omitsumori nav ul li:nth-of-type(9) a {
  background-color: #adadad;
}
#omitsumori nav ul li:hover {
  opacity: .8;
}
#omitsumori #notes .col {
  clear: both;
  padding: 1em;
  border: 1px solid #ccc;
  font-size: 1.4rem;
}
#omitsumori #notes ul li {
  margin: 0;
}
/* 見積ページ
***************************************************/
#omitsumori h1 {
    word-break: keep-all;
}
#btnStart {
  font-size: 2.0rem;
  font-weight: bold;
  line-height: 60px;
  height: 60px;
}
/* フッター
***************************************************/
#main-footer {
    background-color: #eee;
    font-size: 1.4rem;
    border-top: 1px dashed #262f3d;
    margin: 4% 0 0 0;
    position: relative;
}
#main-footer ul {
    margin: 0 0 0 1.5em;
}
#main-footer ul li {
    margin: 0;
    font-size: 1.2rem;
}
.business_number {
    padding: 2% 0;
}
.member_organization {
    padding: 2% 0;
}
#copyright {
    text-align: center;
    margin: 2% 0;
}
@media(min-width: 768px){
    #main-footer .col {
        display: flex;
        flex-flow: wrap;
        justify-content: center;
    }
    #copyright {
        width: 100%;
    }
}
/* フォーム
***************************************************/
form {
	width: 100%;
	margin: 0 auto;
}
form input[type=text],
form input[type=number],
form input[type=email],
form input[type=submit],
button, textarea, select, submit {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
form table {
	margin: 2em 0;
	overflow: hidden;
    border-bottom: 1px solid #ccc;
}
form table tr {
	border-bottom: 1px solid #ccc;
}
form table tr th {
	position: relative;
	padding: 16px;
	box-sizing: border-box;
	border: none;
	display: block;
	vertical-align: middle;
}
form table tr td {
	position: relative;
	padding: 16px;
	border-bottom: 1px dashed #ccc;
	box-sizing: border-box;
	border: none;
	display: block;
}
form tagble tr td p {
  display: block;
}
form .required {
	height: 1em;
	font-size: 1.2rem;
	font-weight: normal;
  background-color: #990002;
  color: #fff;
  padding: .2em .5em;
  margin: 0 0 0 1em;
  border-radius: 4px;
}
form .error {
	color: #f29600;
}
form select {
	border: 1px solid #ccc;
	font-size: 1.6rem;
	padding: 8px;
	margin: 4px 0 0 0;
	line-height: 16px;
	width: 100%;
	box-sizing: border-box;
}
form .select label {
	position: relative;
	background-color: #fff;
}
form .select label::after {
	content: "";
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	top: 50%;
	right: .6em;
	margin-top: -.2em;
	border-width: .45em .3em;
	border-style: solid;
	border-color: #fff transparent transparent;
	z-index: -1;
}
form input[type=text],
form input[type=number],
form input[type=email] {
	border: 1px solid #ccc;
	box-sizing: border-box;
	font-size: 1.6rem;
	padding: 8px;
	width: 100%;
}
form input[type=submit] {
	font-size: 1.6rem;
	padding: 1em 2em;
	display: block;
	margin: 32px auto;
	cursor: pointer;
	border-radius: 4px;
	border: none;
	transition: 0.4s;
	background-color: #cb4e2f;
	color: #fff;
	white-space: normal;
	line-height: 1.5;
}
form input[type=submit]:hover {
	background-color: #262f3d;
}
form textarea {
	border: 1px solid #ccc;
	font-size: 1.6rem;
	padding: 8px;
	width: 100%;
	height: 10em;
	box-sizing: border-box;
}
form label {
	cursor: pointer;
}
form .etc {
  margin: 1em 0 0 0;
  display: block;
}
form .name {
    display: flex;
}
form .name input:nth-of-type(1) {
	width: 49%;
	margin: 0 1% 0 0;
}
form .name input:nth-of-type(2) {
	width: 49%;
	margin: 0 0 0 1%;
}
form .zip input:nth-of-type(1) {
	width: 3em;
	margin: 0 .2em;
	display: inline;
}
form .zip input:nth-of-type(2) {
	width: 4em;
	margin: 0 0 0 .2em;
}
form .tel input:nth-of-type(1) {
	width: 5em;
	margin: 0 .2em 0 0;
	display: inline;
}
form .tel input:nth-of-type(2) {
	width: 5em;
	margin: 0 .2em;
	display: inline;
}
form .tel input:nth-of-type(3) {
	width: 5em;
	margin: 0 0 0 .2em;
}
form .date input {
	width: 5em;
	margin: 0 .2em 0 0;
}
form .date select {
	width: 3em;
	margin: 0 .2em;
}
form .rank input {
	width: 3em;
	margin: 0 .2em 0 0;
}
form .rank select {
	width: 3em;
	margin: 0 .2em;
}
form .number input {
  width: 50%;
}
::-webkit-input-placeholder {
	color: #ccc;
}
form h2 {
	text-align: center;
	border-bottom: 3px double #781db5;
	margin: 64px 0 0 0;
}
form .address input:last-child {
	margin-top: 8px;
}
form .datepicker input { width: 10em; }
p.toggle {
	text-align: center;
	cursor: pointer;
	line-height: 44px;
	border: 1px solid #ccc;
	display: block;
	width: auto;
	padding: 0 16px;
	box-sizing: border-box;
}
.mwform-checkbox-field,
.mwform-radio-field {
  line-height: 2;
  white-space: nowrap;
}
.mwform-checkbox-field label,
.mwform-radio-field label {
  padding: 0 0 1em 0;
}
.horizontal-item {
  margin: 0;
  padding: 0;
}
#agree {
    text-align: center;
    margin: 2em 0;
    padding: 1em;
    border: 1px solid #ccc;
}
#agree p {
    margin: 0 0 1em 0;
}
@media (min-width: 768px) {
	form .error {
	}
  form table {
      border: 1px solid #ccc;
      border-bottom: none;
  }
	form table tr th {
		width: 30%;
		display: table-cell;
	}
	form table tr td {
		display: table-cell;
	}
  form dl {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      box-sizing: border-box;
      border: 1px solid #ccc;
      border-bottom: none;
      margin: 2% 0 0 0;
      font-size: 1.4rem;
  }
  form dl dt,
  form dl dd {
      border-bottom: 1px solid #ccc;
      box-sizing: border-box;
      padding: 2%;
  }
  form dl dt {
      width: 30%;
      background-color: #ECECEC;
  }
  form dl dd {
      width: 70%;
  }
	form select {
		width: 49%;
	}
}

