@charset "utf-8";
/*
Theme Name: TYPE-A
Theme URI: http://
Description: 専用テーマです。ご不明な点は作成者までご連絡ください。
Author: EMALICA
Author URI: http://www.emalica.com/
Version: 1.0
*/
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:300}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:500}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}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 100,
  'GRAD' 0,
  'opsz' 48
}
/* 共通
*************************************************/
* {
    box-sizing: border-box;
}
html {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  font-size: 62.5%;
  font-display: swap;
  height: -webkit-fill-available;
  font-family: 'M PLUS 1p', sans-serif;
  font-family: 'Outfit', sans-serif;
  background-color: #fff;
  color: #2c2b2c;
}
body {
  width: 100%;
  font-size: 1.6rem;
  line-height: 2;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #2c2b2c;
  -webkit-text-size-adjust: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}
h1, h2, h3, h4, h5 {
	line-height: 1.5;
  font-weight: bold;
  margin-bottom: .5em;
}
h1 {
  font-size: clamp(3.2rem, 5.625vw, 4.5rem);
}
h2 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
}
h3 {
  font-size: clamp(2rem, 3vw, 2.4rem);
}
h4 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}
h5 {
  font-size: 1.6rem;
}
p { margin: 1em 0; }
strong {}
del {
  text-decoration: line-through 2px solid #E0465A;
}
img {
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
	line-height: 0;
  object-fit: contain;
}
table {
	width: 100%;
  margin-bottom: 1em;
	text-align: left;
  border-collapse: collapse;
}
th,td {
  padding: .5em;
  border: 1px solid #ccc;
}
table th,
table td {
  width: auto !important;
}
ul,
ol {
  margin: 0 0 1em 2em;
}
table ul,
table ol {}
a:link, a:visited {
  transition: .2s;
  color: #000;
}
a:hover {}
img.alignleft,
img.alignright {
  margin: 0 0 1em 0;
}
video {
  vertical-align: bottom;
  max-width: 640px;
  margin: 0 auto;
}
@media(min-width: 768px) {
  img.alignleft {
    width: calc(50% - 16px);
    float: left;
    margin: 0 16px 16px 0;
  }
  img.alignright {
    width: calc(50% - 16px);
    float: right;
    margin: 0 0 16px 16px;
  }
}
.link {
  text-align: center;
}
.link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 3px double #a4752d;
  text-decoration: none;
  padding: 0 1em;
  width: 50%;
  max-width: 414px;
  transition: .2s;
}
.link a:hover {
  background-color: #a4752d;
  color: #fff;
}
.title-border {
	display: flex;
	align-items: center;
	color: #fa0000;
}
.title-border:before,
.title-border:after {
	border-top: 1px dashed #666;
	content: "";
	flex-grow: 1;
}
.title-border:before {
	margin-right: 1rem;
}
.title-border:after {
	margin-left: 1rem;
}
/* レイアウト
***************************************************/
#global-header,
.row,
.col,
.cols-2,
.cols-3 {
	box-sizing: border-box;
  margin: 0;    
  overflow: hidden;
  width: 100%;
}
.wrapper {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: 100%;
  width: 100%;
}
#global-header {
  height: 48px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
}
.container {
  overflow: hidden;
  min-height: 100vh;
  padding-top: 48px;
}
.row {
  padding: 0;
}
.col {
  padding: 32px;
}
.cols-2,
.cols-3 {
  padding: 0;
}
.cols-2 .col,
.cols-3 .col {
  border: 1px solid #91000;
}
@media(min-width: 1024px) {
  .wrapper {
    display: flex;
  }
  .col {
    padding: 32px;
  }
  .cols-2,
  .cols-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
  }
  .cols-2 > .col,
  .cols-3 > .col {
    width: calc( 50% - 0px );
  }
  #global-header {
    height: 64px;
  }
  .container {
    height: 100%;
    width: 100%;
    padding-top: 64px;
  }
  header.col {
  }
  footer.col {
  }
}
@media(min-width: 1280px) {
    .row {
    width: 1280px;
    margin-left: calc( ( 100vw - 1280px ) / 2 );
    margin-right: calc( ( 100vw - 1280px ) / 2 );
    }
  .col,
  .cols-2,
  .cols-3 {
    margin: 0 auto;
  }
}
/* エラーページ
***************************************************/
#error404 {
    text-align: center;
    min-height: calc( 100vh - 48px );
}
@media(min-width: 768px) {
    #eroor-404 {
        min-height: calc( 100vh - 72px );
    }
}
/* YouTube
***************************************************/
.youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.youtube iframe{
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}
/* Googleマップ
***************************************************/
.google-map {
	box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100vw;
  overflow: hidden;
  border: 1px solid #333333;
	margin: 1em 0;
}
.google-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media(min-width: 768px) {
  .google-map {
    padding-bottom: calc( 100vmin * .58 );
  }
}
/* グローバルヘッダー
***************************************************/
/* グローバルヘッダー：レイアウト
***************************************************/

#global-header {
	transition: .2s;
/**
    -webkit-filter:drop-shadow(0 3px 5px rgba(0,0,0,.5));
    -moz-filter:drop-shadow(0 3px 5px rgba(0,0,0,.5));
    -ms-filter:drop-shadow(0 3px 5px rgba(0,0,0,.5));
    filter:drop-shadow(0 3px 5px rgba(0,0,0,.5));
**/
}
#global-header #logo {
  flex-grow: 0;
  margin-right: auto;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 48px;
  width: auto;
  padding: 0 16px;
}
#global-header #logo img {
  object-fit: contain;
  height: 32px;
}
#global-header #btn-list {
  list-style: none;
  display: flex;
  margin: 0;
  width: auto;
  position: absolute;
  top: 0;
  right: 0;
}
#global-header #btn-list li {
  margin: 0;
	padding: 0;
	min-width: 48px;
  line-height: 0;
}
#global-header #btn-list li span,
#global-header #btn-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2c2b2c;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  height: 48px;
  min-width: 48px;
  font-size: 2rem;
  box-sizing: border-box;
}
#global-header #btn-list li span {
	font-size: 32px;
}
@media(min-width: 1024px) {
  #global-header {
    display: flex;
    justify-content: flex-end;
  }
  #global-header #logo {
    height: 64px;
    padding: 0 16px;
    margin-right: auto;
  }
  #global-header #logo img {
    height: 56px;
  }
  #global-header #btn-list {
    margin: 0;
  }
  #global-header #hamburger-btn {
    display: none;
  }
}
@media(min-width: 1280px) {
  #global-header {
    display: flex;
    justify-content: flex-end;
    width: 1280px;
    margin-left: calc( ( 100vw - 1280px ) / 2 );
    margin-right: calc( ( 100vw - 1280px ) / 2 );
  }
}
/* グローバルナビ
***************************************************/
#global-nav {
  display: none;
}
@media(min-width: 1024px) {
  #global-nav {
    box-sizing: border-box;
    display: block;
    margin: 0 16px;
    padding: 0;
  }
  #global-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
  }
  #global-nav ul li {
    margin: 0;
    padding: 0;
    position: relative;
  }
  #global-nav ul li a {
    display: flex;
    height: 64px;
    align-items: center;
    text-decoration: none;
    padding: 0 16px;
    position: relative;
    color: rgba(68,65,64,1);
  }
  #global-nav ul li a:hover {
    color: rgba(68,65,64,.8);
  }
  #global-nav ul li a::after {
    position: absolute;
    left: 0;
    bottom: 0px;
    display: block;
    content: "";
    height: 1px;
    background-color: #910000;
    transition: .5s;
    width: 0;
  }
  #global-nav ul li.current-menu-item a,
  #global-nav ul li.current-post-ancestor a {
    color: #910000;
  }
  #global-nav ul li a:hover::after {
    width: 100%;
  }
  #global-nav ul li.current-menu-item a:hover::after,
  #global-nav ul li.current-post-ancestor a:hover::after {
    width: 0;
  }
  #global-nav ul.sub-menu {
    position: absolute;
    background-color: rgba(68,65,64,1);
    transition: all .5s ease;
    top: 72px;
    width: auto;
    display: block;
    visibility: hidden;
    opacity: 0;
  }
  #global-nav ul li a:hover ul.sub-menu {
    visibility: visible;
  }
}
.mm-listitem .mm-listitem__text {
  color: #fff;
}
/* グローバルフッター
***************************************************/
#global-footer {
	position: relative;
    background-color: #2c2b2c;
    color: #fff;
    margin-top: 32px;
}
#global-footer .col {
    padding-bottom: 128px;
}
#global-footer #copyright {
    font-size: 1.2rem;
    text-align: center;
    margin: 32px 0 0 0;
}
@media(min-width: 1280px) {
    #global-footer {
        width: 100vw;
        padding-left: calc( ( 100vw - 1280px ) / 2 );
        padding-right: calc( ( 100vw - 1280px ) / 2 );
    }
}
/* フッターナビ
***************************************************/
#footer-nav {
    font-size: 1.2rem;
}
#footer-nav ul {
    margin: 0;
}
#footer-nav > ul:last-child {
    border-bottom: 1px solid rgba(255,255,255,.3);
}
#footer-nav ul li {
    margin: 0;
}
#footer-nav ul li a {
    position: relative;
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 8px 0 32px;
    background-color: rgba(0,0,0,0);
    border-top: 1px solid rgba(255,255,255,.3);
}
#footer-nav > ul > li:first-child a::before {
  content: "home";
}
#footer-nav .sub-menu {
    display: flex;
    flex-wrap: wrap;
}
#footer-nav .sub-menu li {
    width: 50%;
    flex-grow: 1;
}
#footer-nav .sub-menu a {
    color: #fff;
    background-color: rgba(0,0,0,0);
}
#footer-nav a::before {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Material Symbols Outlined";
    content: "keyboard_arrow_right";
    width: 32px;
}
#footer-nav .sub-menu a::before {
    content: "remove";
}
#footer-nav a::before {
    height: 100%;
}
@media( min-width: 1024px ) {
    #footer-nav ul {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
    }
    #footer-nav ul:last-child {
		border: none;
    }
    #footer-nav ul li:first-child {
        width: 100%;
    }
    #footer-nav ul li a {
        min-height: 32px;
        background-color: rgba(0,0,0,0);
        border-top: 1px solid rgba(0,0,0,.0);
    }
    #footer-nav ul li a:hover {
        text-decoration: underline;
    }
    #footer-nav ul li ul {
        flex-direction: column;
        margin: 0;
    }
    #footer-nav ul li ul li {
        float: none;
    }
    #footer-nav .sub-menu li {
        width: 100%;
    }
}
/* イントロ
***************************************************/
#intro {
  box-sizing: border-box;
	display: block;
}
#intro .col {
	position: relative;
  padding: 0;
  height: 25vh;
}
#intro header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  height: 25vh;
  width: 100%;
}
#intro header .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 32px;
  text-shadow: 0 0 5px rgba(255,255,255,1);
}
#intro header #txt-title span {
  display: block;
  font-size: 1.2rem;
}
#intro header #txt-title .subtitle {
  font-size: 1.4rem;
	color: #910000;
}
#intro header #img-title {
	justify-content: center;
}
#intro header #img-title img {
  object-fit: cover;
}
#intro ul.bg-images {
	box-sizing: border-box;
	list-style: none;
  margin: 0;
  padding: 0;
  height: 25vh;
}
#intro ul.bg-images li {
  height: 25vh;
	display: block;
  width: 100%;
  display: flex;
  align-items: center;
}
#intro ul.bg-images li img {
	object-fit: cover;
}
#overview {
  margin: 0 auto;
  padding-top: calc( 32px - 2.1em );
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.4rem);
}
@media (min-width: 768px) {
  #intro .col {
    height: 50vh;
  }
  #intro header {
    height: 50vh;
  }
  #intro ul.bg-images {
    height: 50vh;
  }
  #intro ul.bg-images li {
    height: 50vh;
  }
}
/* コンテンツ
***************************************************/
.content h3 {
  border-bottom: 1px dashed #910000;
}
.content h2::before,
.content h2::after {
  display: inline-block;
  font-family: "Material Symbols Outlined";
  align-items: center;
  vertical-align: bottom;
  color: #910000;
}
.content h2::before {
  content: "donut_large";
  margin-right: .5em;
}
.content h2::after {}
/* コンテンツ：会社情報
***************************************************/
#board-member .cols-3 .col {
  border: none;
  border-radius: 0;
}
#board-member .cols-3 .col:nth-of-type(even) table {
  font-size: 1.4rem;
}
#board-member .cols-3 .col:nth-of-type(even) th {
  background-color: #f1f1f1;
  color: #910000;
  text-align: center;
}
#board-member .cols-3 .col:nth-of-type(even) td:nth-of-type(1),
#board-member .cols-3 .col:nth-of-type(even) td:nth-of-type(2){
  white-space: nowrap;
  text-align: center;
}
#board-member .cols-3 .col:nth-of-type(even) td:nth-of-type(3n){
  width: 100% !important;
}
#board-member .cols-3 .col:nth-of-type(odd) h3 + p {
  color: #910000;
  letter-spacing: .2em;
  margin-top: -1em;
}
@media( min-width: 768px ) {
  #board-member .cols-3 .col:nth-of-type(odd) {
    width: 30%;
  }
  #board-member .cols-3 .col:nth-of-type(even) {
    width: 70%;
  }
}
/* コンテンツ：リンク
***************************************************/
.links {}
.links ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
}
.links ul li {
  height: 15vh;
  width: 100vw;
  border: 1px solid #2c2b2c;
  box-sizing: border-box;
  margin: 8px 0;
  background-size: cover;
}
.links ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 100%;
  width: 100%;
  background-color: rgba(255,255,255,.9);
  font-size: 1.8rem;
  font-weight: bold;
}
.links ul li a:hover {
  background-color: rgba(255,255,255,.5);
}
.links ul li a img {
  transition: .2s;
}
.links ul li a:hover img {
  opacity: .5;
}
@media(min-width: 768px) {
  .links .col {
    padding: 32px 16px;
  }
  .links ul {
    justify-content: space-between;
  }
  .links ul li {
    height: 20vh;
    width: calc(50% - 32px);
    margin: 16px;
  }
}
/* コンテンツ：ギャラリー
***************************************************/
.gallery-auto ul,
.gallery-modal ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gallery-auto video {
    width: 100%;
}

.gallery-modal .modal-btn {
    display: flex;
    width: calc( 100% + 16px );
    margin: -8px;
}
.gallery-modal .modal-btn li {
    margin: 8px;
    cursor: pointer;
    transition: .2s;
    width: 100%;
}
.gallery-modal .modal-btn li:hover {
    opacity: .8;
}
.gallery-modal .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 9999;
}
.gallery-modal .modal-content {
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}
.gallery-modal .modal-bg{
    background: rgba(0,0,0,0.9);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.gallery-modal .modal-content video {
    width: 100%;
}
.gallery-modal span {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 32px;
    color: #fff;
}
@media (min-width: 1024px) {
    .gallery-modal .modal-content {
        width: 640px;
    }
}
/* コンテンツ：メディア
***************************************************/
.sample-video {
    display: flex;
    gap: 16px;
    div {
        width: 320px;        /* 横幅を固定 */
        aspect-ratio: 9/16;  /* 縦横比を維持 */
        iframe {
            width: 100%;
            height: 100%;
        }
    }
}
/* コンテンツ：ページリンク
***************************************************/
/* アーカイブ
***************************************************/
.items {}
.items .item {}
#location .items {}
#location .items .item {
  margin: 32px 0;
  width: 100%;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 50%;
  position: relative;
}
#location .items .item header {
  height: 100%;
  padding-bottom: 60px;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+50,ffffff+60,ffffff+100&1+0,1+50,0+60,0+60,0+100 */
  background: -moz-linear-gradient(left,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 60%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 60%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 60%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}
#location .items .item header dl dt,
#location .items .item header dl dd {
  display: flex;
}
#location .items .item header dl dt {
  clear: both;
  float: left;
}
#location .items .item header dl dd {
  padding-left: .5em;
}
#location .items .item a.more {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 100%;
  box-sizing: border-box;
  border: .5px solid #000;
  background-color: rgba(255,255,255,.8);
  text-decoration: none;
}
#location .items .item a:hover.more {
  background-color: rgba(255,255,255,1);
}
@media(min-width: 768px) {
  #location .items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #location .items .item {
    min-height: 160px;
    width: calc( 50% - 32px );
  }
}
/* 決算公告
***************************************************/
#e-pubulic-noteice dl {
    margin: 0;
    border: 1px solid #ccc;
    width: 100%;
}
#e-pubulic-noteice dl dt,
#e-pubulic-noteice dl dd {
    padding: 8px;
}
#e-pubulic-noteice dl dt {
    width: 6em;
    text-align: center;
    float: left;
    border-right: 1px solid #ccc;
}
#e-pubulic-noteice dl dd {
    padding-left: 7em;
}
#e-pubulic-noteice dl dd a img {
  height: 32px;
  margin-right: 8px;
}
#e-pubulic-noteice dl dd a:hover {
  text-decoration: none;
}
@media(min-width: 768px) {
  #e-pubulic-noteice .contents {
    width: 768px;
    margin: 0 auto;
  }
}
/* フォーム
***************************************************/
form {
	width: 100%;
	margin: 0 auto;
}
form dl {}
form dl dt {
  padding: 1em 0 0 0;
}
form dl dd {
  padding: .5em 0 2em 0;
  display: flex;
  flex-wrap: wrap;
}
form dl dt.required::after {
  content: "※";
  color: #910000;
  font-weight: normal;
  margin-left: .5em;
}
form dd p.note {
  color: #144961;
  font-size: 1.2rem;
}
input[type=radio],
input[type=checkbox] {
  appearance: none;
  display: none;
  float: none;
}
input[type=radio] + span:before,
input[type=checkbox] + span:before {
  font-family: "Material Symbols Outlined";
  display: inline-flex;
  margin: 0;
  padding: 0;
  margin-right: .25em;
  font-size: 2rem;
  color: #999;
}
input[type=radio]:checked + span:before,
input[type=checkbox]:checked + span:before {
  color: #910000;
}
input[type=radio] + span:before {
  content: 'radio_button_unchecked';
}
input[type=radio]:checked + span:before {
  content: "radio_button_checked";
}
input[type=checkbox] + span:before {
  content: 'check_box_outline_blank';
}
input[type=checkbox]:checked + span:before {
  content: "select_check_box";
}
.mw_wp_form .mwform-radio-field,
.mw_wp_form .mwform-checkbox-field {
  margin-right: 3em;
}
.mw_wp_form .mwform-radio-field-text,
.mw_wp_form .mwform-checkbox-field-text {
  display: flex;
  align-items: center;
}
.mw_wp_form .horizontal-item{
    display: block;
    margin-left:0 !important;
    margin-bottom:0.5em;
}
input[type=text],
input[type=number],
input[type=email],
input[type=url],
input[type=submit],
select,
button,
textarea,
submit {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  font-size: 1.4rem;
}
input[type=text],
input[type=number],
input[type=email],
input[type=url],
textarea,
select {
  background-color: #f7f7f7;
  border: 1px solid #fff;
  border-bottom: 1px solid #999;
  padding: 1em;
  width: 100%;
}
select#pref {
  width: 8em;
}
input[type=text].date {
  width: 12em;
}
textarea {
  height: 10em;
}
input[type=text]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
  background-color: #fff;
  border: 1px solid #910000;
}
form input[type=submit] {
	font-size: 1.6rem;
	padding: 1em 2em;
	display: block;
	margin: 32px auto;
	cursor: pointer;
	border-radius: 4px;
	border: none;
	transition: .2s;
	background-color: #E06D46;
	color: #fff;
	box-shadow: 2px 2px 4px rgba(0,0,0,.5);
	white-space: normal;
	line-height: 1.5;
}
form input[type=submit]:hover {
	background-color: #910000;
}
form input[type=number]#age {
    width: 6em;
}
form label {
	cursor: pointer;
}
.ui-datepicker-week-end:first-child {
    color: #f00;
}
.ui-datepicker-week-end:last-child {
    color: #00f;
}
form ::placeholder {
    color: #ccc;
}
form .name input {
	width: 49%;
}
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: 16em;
}
::-webkit-input-placeholder {
	color: #ccc;
}
.contents form h2 {
	margin: 32px 0;
  padding: 0;
}
.contents form h2::before {
  display: none;
}
form .address input:last-child {
	margin-top: 8px;
}
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;
}
form .error {
	color: #910000;
  display: block;
  width: 100%;
}
#agree {
  text-align: center;
  margin: 2em 0;
  padding: 1em;
  border: 1px solid #e83e0b;
}
#agree p {
    margin: 0 0 1em 0;
}
#agree span {
    color: #e83e0b;
}
.date {
    padding-bottom: 1em;
}
.time {
    padding-top: 0;
}
@media(max-width: 600px) {
  .time {
    display: flex;
  }
  .time .time-title {
    padding-top: 1em;
  }
  .time-area {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .time-area span:nth-of-type(2) {
    transform: rotate(-90deg);
    align-self: center;
    padding: .5em 0;
  }
}
@media (min-width: 768px) {
  form {
    width: 768px;
    margin: 0 auto;
  }
  form dl {
    display: flex;
    flex-wrap: wrap;
  }
  form dl dt {
    width: 12em;
  }
  form dl dd {
    width: calc( 100% - 12em );
  }
  input[type=text],
  input[type=email] {
    width: 50%;
  }
  .address input {
    width: 100%;
  }
  form .name input {
    width: 10em;
  }
}
@media (min-width: 1024px) {}
