/*
Theme Name: original_theme
Author: lucKs
Author URI: 
Version: 1.0
*/

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    backface-visibility: hidden;
}
html{ margin: 0; padding: 0; scroll-padding-top: 100px;}
body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", "Hiragino Sans","Meiryo", sans-serif;
    font-size: 16px;
	font-weight:400;
    color:#222;
    line-height:175%;
    word-break: break-all;
    overflow-x: hidden;
}
div, p, ul, ul li, dl, dt, dd {
	margin: 0;
	padding: 0;
	font-size: 100%;
	list-style:none;
	box-sizing:border-box;
}
img, video, object {
    max-width: 100%;
    height: auto;
    border: none;
}
img{
	display: block;
	image-rendering: smoothe !important;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	font-size: 100%;
	line-height: 1.5;
}

a:link {color:blue; text-decoration: none; }
a:visited { color:blue;}
a[href^="tel:"] { text-decoration:none; pointer-events:none ; text-emphasis: none !important;}
a[href^="fax:"] { text-decoration:none; pointer-events:none ;}

.pc {display: inherit;}
.pctb {display: inherit;}
.tb {display: none;}
.tbsp {display: none;}
.sp {display: none;}

@media only screen and (min-width:768px){
    a:hover {color:red; text-decoration: underline; transition:0.3s; }
    a:hover img { opacity: 0.7; filter: alpha(opacity=70); -moz-opacity: 0.7;}
}
@media only screen and (max-width:768px){
    .pc {display:none;}
    .pctb {display:block;}
    .tb {display:block;}
    .tbsp {display: none;}
    .sp {display:none;}
}
@media only screen and (max-width:468px){
    .pc {display:none;}
    .pctb {display:none;}
    .tb {display:none;}
    .tbsp {display: block;}
    .sp {display:block;}
}


/* =========================================================================================
Layout
=========================================================================================*/
#wrapper{
    position:relative;
    margin:0;
    padding:0;
}
#container{
    margin:0;
    padding-top: 120px;
}
article {
    background: #FFF;
}
section {
}
.inner {
    margin: 0 auto;
    padding: 150px 0;
    width: 90%;
    max-width: 1200px;
    position:relative;
    box-sizing:border-box;
}
@media only screen and (max-width:768px){
    #container{ padding-top:70px;}
    .inner { padding: 80px 0;}
}
@media only screen and (max-width:468px){
    .inner { padding: 60px 0;}
}


/*=========================================================================================
Header
=========================================================================================*/
#header {
    position:fixed; top: 0; left: 0; z-index: 9999;
    width: 100%;
    background: rgba(255,255,255,0.90);
}
#header .inner {
    display: flex; flex-wrap: wrap; justify-content:space-between; gap: 5px 20px;
    margin: auto; padding: 0;
    width: 95%; max-width: 1200px;
}

/* Logo */
#header h1,
#header h1 a { display: block; width:300px; height: 120px;}
#header h1 a {
    text-indent: -9999px;
    background: url("images/common/logo2.webp") no-repeat left center;
    background-size: 100% auto;
}

/* Navigation */
#nav { margin: auto 0;}
#nav ul {display: flex; align-items: center; justify-content: flex-end; gap:20px;}
#nav ul li { position: relative;}
#nav ul li a { display: block; text-decoration: none; color: #000;}
#nav ul li p a {
    position: relative;
    display: block;
    font-size:112.5%;
    text-align: center;
    text-decoration: none;
    line-height: 130%;
    box-sizing: border-box;
}
#nav ul li p a span { min-width: inherit;}
#nav ul li.tel a { display: flex; flex-direction: column; line-height: 120%; text-align: center;}
#nav ul li.tel b { 
    font-family: "Roboto", sans-serif;
    font-size: 22px;
    text-align: center;
}
#nav ul li.tel small { font-size: 87.5%; letter-spacing: 0.5px;}

@media only screen and (min-width:768px){
    #header h1 a:hover { opacity: 0.7 !important;}
    #nav ul li:hover p a { color:#60C8A1 !important;}
}
@media only screen and (max-width:768px){
    #header { padding:0;} 
    #header .inner { width: 100%;}
    #header h1,
    #header h1 a { width:200px; height: 70px;}
    #header h1 a {
        background-position: 20px center;
        background-size: 100% auto;
    }
    .nav_btn {
        display: block !important;
        cursor: pointer;
        position:fixed; top:0; right:0;
        width: 70px; height:70px;
        box-sizing: border-box;
        z-index: 999999999;
    }
    .nav_btn span {
        display: inline-block;
        position: absolute; left:0; right: 0; margin:auto;
        width:34px; height:3px;
        background:#333;
        transition: all .3s;
        border-radius: 4px;
    }
    .nav_btn span:nth-of-type(1) { top:23px;}
    .nav_btn span:nth-of-type(2) { top:33px;}
    .nav_btn span:nth-of-type(3) { top:43px;}
    .nav_btn small { position: absolute; bottom:0; width: 100%; font-size: 10px; text-align: center;}
    .nav_btn.active span:nth-of-type(1) { top:33px; transform:rotate(-45deg);}
    .nav_btn.active span:nth-of-type(2) { opacity: 0;}
    .nav_btn.active span:nth-of-type(3) { top:33px; transform:rotate(45deg);}
    #header #nav {
        display:none;
        position: absolute;  top:70px; right: 0;
        width: 100%; height: calc(100vh - 70px);
        overflow: auto;
        background:#EDF7F5;
    }
    #nav ul { flex-direction: column;  gap:0; padding: 5% 5% 150px;}
    #nav ul li { position: relative; margin: auto; width:90%; border-bottom: 1px solid rgba(0,0,0,0.05);}
    #nav ul li a { display: block; text-decoration: none;}
    #nav ul li p a {
        padding:20px;
        font-size: 100%;
        text-align: left;
    }
    #nav ul li p a::before { display: none;}
    #nav ul li.tel { margin-top: 30px; border: none;}
}



/* =========================================================================================
Footer
=========================================================================================*/
#footer { border-top:1px solid #ddd;}
#footer .inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap:60px 30px;
    margin: auto; padding:60px 0;
    width: 96%; max-width: 1200px;
}
#footer .add {
    display: flex; align-items: center;
    padding-left: 250px;
    height: 175px;
    background: url("images/common/logo_b.webp") no-repeat;
    background-size: 230px auto;
}
#footer .add b { display: block;}
#footer .add span { display: inline-block; margin-right: 10px;}
#footer .copy { text-align: center; font-size: 87.5%;}
@media only screen and (min-width:768px){
}
@media only screen and (max-width:768px){
    #footer .inner { flex-direction: column; justify-content: center;}
    #footer .add {
        padding: 150px 0 0;
        text-align: center;
        background-size: 150px auto;
        background-position: top center;
    }
}
@media only screen and (max-width:468px){
}



/* =========================================================================================
Page Top
=========================================================================================*/
#page-top {
    position: fixed; right: 20px; bottom: 20px;
    z-index: 999;
}
#page-top,
#page-top a { width: 100px; height: auto; aspect-ratio: 191 / 350;}
#page-top a {
    display: block;
    text-indent: -9999px;
    background:url("images/common/pagetop.webp") no-repeat center center;
    background-size: 100% auto;
}
@media only screen and (min-width:768px){
    #page-top a:hover{opacity: 0.7;}
}
@media only screen and (max-width:768px){
    #page-top,
    #page-top a { width: 80px;}
}
@media only screen and (max-width:468px){
    #page-top { right: 10px; bottom: 10px; }
    #page-top,
    #page-top a { width: 60px;}
}


/* =========================================================================================
Post list
=========================================================================================*/
.post-list{
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 30px 0;
}
.post-list ul{
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.post-list ul li{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 10px 20px;
}
.post-list ul li .thumbnail{
    position: relative;
    border: 1px solid #000;
}
.post-list ul li .thumbnail img{
    object-fit: cover;
    aspect-ratio: 3 / 2;
    width: 100%;
}
.post-list ul li .thumbnail .new{
    position: absolute;
    top: 10px;
    left: 10px;
    color: #FFF;
    font-size: small;
    background: #000;
    padding: 2px 10px 0;
}
.post-list .title{
    font-size: 1.25em;
    font-weight:700;
}
.post-list .title a{
    color: #000;
}
.post-list .title a:hover{
    text-decoration: none;
    opacity: 0.7;
}
.post-list ul li .date{
    width:100px;
}
.post-list ul li .cat{
    font-size: 0.9em;
    width:100px;
    height: auto;
    text-align: center;
    padding: 2px 5px 0;
    border: 1px solid #000;
}
.post-list ul li .tag{
    padding: 10px 0;
    display: flex;
    align-items: start;
    justify-content: left;
    flex-wrap: wrap;
    gap:10px;
}
.post-list ul li .tag .icon{
    font-size: 0.9em;
    height: auto;
    text-align: center;
    display: inline-block;
    padding: 0.25em 1.0em 0.2em;
    border: 1px solid #CCC;
    background: #CCC;
}

/* card */
.post-list.card ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: stretch;
    flex-direction: row;
    gap: 30px;
}
.post-list.card li{
    padding: 1.0em;
    width: calc( ( 100% - 60px ) / 3 );
    border: 1px solid #000;
    flex-direction: column;
    gap: 20px;
}

@media only screen and (max-width:768px){
    .post-list ul li .cat{ width:fit-content;}
    .post-list ul li .title{ width: 100% }
    /* card */
    .post-list.card li{ width: calc( ( 100% - 30px ) / 2 ); }
}
@media only screen and (max-width:468px){
    /* card */
    .post-list.card li{ width: 100%; }
}


/* =========================================================================================
Archive-Page
=========================================================================================*/
.archive .post-list{
    border-top:none;
    border-bottom:none;
    padding:0;
}

/*pagination*/
.pagination { display: block; margin:0 auto 0;}
.pagination .page-numbers { display: flex; justify-content: center; align-items: center; gap:10px; }
.pagination .page-numbers li { margin: 0; }
.pagination .page-numbers li:first-child{ flex-grow: 2; }
.pagination .page-numbers li:first-child span{float: right; }
.pagination .page-numbers li:first-child a{float: none; }
.pagination .page-numbers li:last-child{ flex-grow: 2; }
.pagination .page-numbers li:last-child a{float: right; }
.pagination .page-numbers li a,
.pagination .page-numbers li span,
.pagination .page-numbers li .current {
    display: flex;  justify-content: center; align-items: center;
    width: 50px; height: 50px; line-height: 50px; border-radius: 50px;
    color: #000;
    background: #ccc;
}
.pagination .page-numbers li .current { color: #fff; background: #000;}
.pagination .page-numbers li .first,
.pagination .page-numbers li .prev,
.pagination .page-numbers li .next,
.pagination .page-numbers li .last {
    text-indent: -9999px;
    background-color:#fff;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 15px auto !important;
}
.pagination .page-numbers li .first { background-image:url(images/common/icon_first.svg);}
.pagination .page-numbers li .prev { background-image:url(images/common/icon_prev.svg);}
.pagination .page-numbers li .next { background-image:url(images/common/icon_next.svg);}
.pagination .page-numbers li .last { background-image:url(images/common/icon_last.svg);}
@media only screen and (max-width:768px){
}
@media only screen and (max-width:468px){
    .pagination .page-numbers li .first,
    .pagination .page-numbers li .last { display: none;}

}


/* =========================================================================================
Single-Page
=========================================================================================*/
.single .single-navi { display: flex; flex-wrap: wrap; justify-content: center; gap:20px 0; padding-top: 100px;}
.single .single-navi a { color: #000; box-sizing: border-box;}
.single .single-navi a:hover { text-decoration: none;}
.single .single-navi .list-nav a {
    display: block;
    padding: 5px 20px;
    color: #000;
    text-align: center;
    border: 1px solid #000;
}
.single .single-navi .prev-navi a,
.single .single-navi .next-navi a {
    display: block;
    padding: 5px 30px;
    color: #000;
    width: auto;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: 15px;
}
.single .single-navi .prev-navi a {
    text-align: left;
    background-image: url(images/common/icon_prev.svg);
    background-position: left;
}
.single .single-navi .next-navi a {
    text-align: right;
    background-image: url(images/common/icon_next.svg);
    background-position: right;
}
@media only screen and (max-width:768px){
}
@media only screen and (max-width:468px){
	.single .single-navi { padding-top:50px;}
    .single .single-navi a { font-size: 87.5%;}
    .single .single-navi div:nth-child(2) {display: none;}
    .single .single-navi .list-nav { width: 100%;}
    .single .single-navi .prev-navi,
    .single .single-navi .next-navi { width: 50%;}
    .single .single-navi .list-nav a,
    .single .single-navi .prev-navi a,
    .single .single-navi .next-navi a { padding: 5px 30px;}
}


/* =========================================================================================
 Header Title ( Single / Archive / Page )
=========================================================================================*/
.entry-header {
    padding: 50px 0;
    background: #EDF7F5;
}
.entry-header h2 {
    font-family: "Noto Serif JP", "Hiragino Serif","Meiryo", sans-serif;
    text-align: center;
}
.entry-header h2 small,
.entry-header h2 b { display: block;}
.entry-header h2 small { font-size: 312.5%; font-weight: 400;}
.entry-header h2 b { font-size: 162.5%; color: #60C8A1;  font-weight: 700; letter-spacing: 2px;}
@media only screen and (max-width:768px){
    .entry-header { padding: 40px 0;}
    .entry-header h2 small { font-size: 250%;}
    .entry-header h2 b { font-size: 125%;}
}
@media only screen and (max-width:468px){
    .entry-header { padding: 30px 0;}
    .entry-header h2 small { font-size: 187.5%;}
    .entry-header h2 b { font-size: 100%;}
}


/* =========================================================================================
Breadcrumbs ( Single / Archive / Page )
=========================================================================================*/
.breadcrumbs {
    display: flex;
    margin: auto;
    padding: 20px 0;
    width: 90%; max-width: 1000px;
    font-size: 87.5%;
    border-bottom: 1px solid #dddd;
}
.breadcrumbs li + li::before { content:"-"; padding: 0 10px;}
.breadcrumbs li a { color: #000;}


/* =========================================================================================
  Editer
=========================================================================================*/
.sb_content { display: flex; flex-direction: column; gap:40px; max-width: 1000px;}

/*Hr*/
.wp-block-separator{
    height: 1px;
    border: none;
    background-color: #ddd;
    margin: 5vh 0;
}
.wp-block-separator.is-style-dots:before{
    font-size: 3.0em;
    letter-spacing: 1.0em;
    padding-left: 1.0em;
}

/*Midashi*/
h1.wp-block-heading {
    padding-bottom: 20px;
    font-size:200% !important;
	font-weight:700;
    color: #60C8A1;
    border-bottom: 3px solid #60C8A1;
}
h2.wp-block-heading {
    padding-bottom: 20px;
    font-size:200% !important;
	font-weight:700;
	color: #60C8A1;
    border-bottom: 3px solid #60C8A1;
}
h3.wp-block-heading {
    padding-left: 20px;
    font-size:125% !important;
	font-weight:700;
    color: #60C8A1;
    border-left: 7px solid #60C8A1;
}
h4.wp-block-heading {
    font-size: 125% !important;
	font-weight:700;
    color: #60C8A1;
}
h5.wp-block-heading { font-size: 112.5% !important; font-weight:700;}
h6.wp-block-heading { font-size: 100% !important; font-weight:700;}
@media only screen and (max-width:468px){
	h2.wp-block-heading { font-size:125% !important;}
	h3.wp-block-heading { font-size:112.5% !important; padding-left: 10px; line-height: 100%; }
	h4.wp-block-heading { font-size:112.5% !important;}
}


/* Button */
.btn { margin-top: 100px; width: 100%;}
.btn p { margin: auto; max-width: 460px;}
.btn p a {
    display: block;
    padding: 15px;
    font-size: 125%;
    font-weight:400;
    text-align: center;
    color: #333;
    background: #fff;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

/*blockquote*/
blockquote{
    position:relative;
    padding: 20px;
    background:#f5f5f5;
}
blockquote cite {
    display: block;
    font-size: 0.8rem;
    text-align: right;
    color: #808080;
    padding-right:20px;
}
@media only screen and (min-width:768px){
}
@media only screen and (max-width:768px){
    /*Midashi*/
    h1.wp-block-heading { font-size: 162.5% !important;}
    h2.wp-block-heading { font-size: 162.5% !important; }
    h3.wp-block-heading { font-size: 150% !important; }
    h4.wp-block-heading { font-size: 137% !important; }
    h5.wp-block-heading { font-size: 112.5% !important; }
    h6.wp-block-heading { font-size: 100% !important; }
}
@media only screen and (max-width:468px){
}


/* =========================================================================================
Original_item
=========================================================================================*/

/* Background */
.bg1 {
    margin: auto; max-width: 1400px;
    background: url("images/sb_bg1.png") no-repeat right 20%;
    background-size: 40.29% auto;
}


/* Indention */
.indention {
	clear:both;
	margin: 0 2%;
	height:40px;
	text-indent: -9999px;
}


/* Catch */
.catch {
    font-size:150%;
    font-weight:600;
	color: #000;
	line-height: 150%;
	/*text-align: center;*/
}
.catch2 {
    font-size:150%;
	line-height: 150%;
    font-weight:600;
	color: #82263C;
}
@media only screen and (max-width:468px){
    .catch { font-size:150%;}
}


/* Comment */
.come,
.comment {
	font-family: "Noto Sans JP", sans-serif;
	font-weight:400;
}
.come_sine { text-align: right; font-size: 95%; line-height:180%;}
.come_gray { padding:3%; background: #f6f6f6;}


/* Notes */
.notes { position: relative; padding-left: 20px; line-height: 150%;}
.notes::before { position: absolute; top:0; left: 0; content:"※";}


/* Link txt */
.link_txt { display: flex; justify-content: center; gap:20px;}
.link_txt p a {
    display: block;
    padding: 10px 30px 10px 10px;
	color: #222;
    text-align: center;
    border-bottom: 1px solid #000;
    background: url("images/common/arrow_b.png") no-repeat right center;
    background-size: 20px auto;
}
@media only screen and (min-width:768px){
    .link_txt p a:hover { color: #82263C; border-color: #82263C; text-decoration: none;}
}


/* Temp box */
.temp_box1 { display: flex; flex-wrap:wrap; gap:40px;}
.temp_box1 .photo { display: flex; flex-direction: column; gap:10px; width: 46%; text-align: center;}
.temp_box1 .photo img { width: 100%; height: auto;}
.temp_box1 .photo .caption {
	font-family: "Noto Sans JP", sans-serif;
	font-weight:400;
}
.temp_box1 .cont { 
    display: flex; flex-direction: column; gap:40px;
    width: calc(100% - 46% - 40px);
}
.temp_box1 .cont.full-width { width: 100%;}
.temp_box1.row-re { flex-direction: row-reverse;}
@media only screen and (max-width:768px){
    .temp_box1 { flex-direction: column;}
    .temp_box1 .photo,
    .temp_box1 .cont { width: 100%;}
}


/* Temp box */
.temp_box2 { overflow: hidden;}
.temp_box2 .photo.pic_r { float: right; width: 46%; margin-left: 40px; margin-bottom: 20px;}
.temp_box2 .photo.pic_l { float: left; width: 46%; margin-right: 40px; margin-bottom: 20px;}
.temp_box2 .photo img { width: 100%; height: auto;}
@media only screen and (max-width:468px){
    .temp_box2 { display: flex; flex-direction: column-reverse; gap:40px;}
    .temp_box2 .photo,
    .temp_box2 .come { float: none; width: 100% !important; margin: 0 !important;}
}


/* Gallery*/
.gallery { display: flex; flex-wrap: wrap; gap:20px;}
.gallery.col2 p { width : calc(100% / 2 - 10px) ; }
.gallery.col3 p { width : calc(100% / 3 - 13.33px) ; }
.gallery.col4 p { width : calc(100% / 4 - 15px) ; }
.gallery.col5 p { width : calc(100% / 5 - 16px) ; }
.gallery p.col2 { width : calc(100% / 2 - 10px) ; }
.gallery p.col3 { width : calc(100% / 3 - 13.33px) ; }
.gallery p.col4 { width : calc(100% / 4 - 15px) ; }
.gallery p.col5 { width : calc(100% / 5 - 16px) ; }
.gallery p img {
    width : 100%; height: auto;
	aspect-ratio: 6 / 4; 
	object-fit: cover;
}
.gallery .caption {
	display: block; font-size: 87.5%; text-align:center;
	font-family: "Noto Sans JP", sans-serif; font-weight:400; color: #555;
}
@media only screen and (max-width:468px){
    .gallery p,
    .gallery.col2 p,
    .gallery.col3 p,
    .gallery.col4 p,
	.gallery.col5 p{ width : calc(100% / 2 - 10px) !important; }
}


/* News list */
.news_list { display: flex; flex-direction: column; gap:5px;}
.news_list dl { display: flex; gap:0 20px; padding: 20px 0; border-bottom: 1px solid #ddd;}
.news_list dl dt { width: 90px; font-family: "Noto Sans JP", sans-serif;}
.news_list dl dd a { color: #222;}
@media only screen and (max-width:468px){
}




/* =========================================================================================
Page(404)
=========================================================================================*/
.error404 .entry-header{
    text-align: center;
    padding:40px 20px;
    margin: 0 ;
}

.error404 .error-message{
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}
    .error404 .error-message p img{
        margin: 0 auto 80px;
        max-width: 250px;
    }

@media only screen and (max-width:768px){
}
@media only screen and (max-width:468px){
}



/* =========================================================================================
Page(ALL)
=========================================================================================*/
@media only screen and (max-width:768px){
}
@media only screen and (max-width:468px){
}



/* =========================================================================================
Page(×××××××)
=========================================================================================*/
@media only screen and (max-width:768px){
}
@media only screen and (max-width:468px){
}



/* =========================================================================================
Page(contact)
=========================================================================================*/
mail-box { position:relative;}
#mail-box table.mailform {
	clear:both;
	margin:10px 2%;
	width:96%;
	border-collapse:collapse;
	border-top:1px solid #eee;
}
#mail-box table.mailform th,
#mail-box table.mailform td {
	padding:25px 0;
	border-bottom:1px solid #eee;
}
#mail-box table.mailform th { width:28%; color:#727171; font-weight: 400; text-align:left; vertical-align: top; position: relative;}
#mail-box table.mailform td { width:72%; background:#fff;}
#mail-box table.mailform tr th span {
    position: absolute; top: 25px; right: 20px;
    margin-top: 5px;
	padding:5px 7px;
	color:#FFF;
	font-size:80%;
	line-height:100%;
	background:#af0000;
	border-radius:3px;
}
#mail-box table.mailform tr td p+p { margin-top:5px;}

/* INPUT TEXTAREA */
#mail-box label { margin-right:15px;}
#mail-box input[type="text"],
#mail-box textarea {
	padding:10px;
	background:#f6f6f6;
    border: none;
	box-sizing:border-box;
	border-radius:5px;
}
#mail-box textarea { width:100%; height:120px;}

/* SELECT */
#mail-box select { padding:10px; border:1px solid #EEE; background:#FAFAFA;}

/* FILE */
#mail-box input[type="file"] { display:block; padding:5px; background:#F6F6F6;}

/* ATTENTION COMMENT */
#mail-box .attention { margin-top:5px; color:#FF3B3E; font-size:90%;}
#mail-box .come { padding:30px 0; text-align:center;}

/* BUTTON */
.b_inqu { margin:30px 2% 0; text-align:center !important;}
.b_inqu input[type="submit"],
.b_inqu input[type="reset"],
.b_inqu input[type="button"]{
    cursor: pointer;
	font-family: 'Noto Sans JP', "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
	margin:0 10px;
	padding:10px;
	width:200px;
	font-weight:bold;
	font-size:140%;
	border:none;
	color:#FFF;
}
.b_inqu input[type="submit"] { background:#af0000;}
.b_inqu input[type="reset"] { background:#555;}
.b_inqu input[type="button"] { background:#555;}
.b_back { margin:0 auto; width:200px;}
.b_back a {
	display:block;
	padding:10px;
	color:#FFF;
	text-align:center;
	text-decoration:none;
	font-weight:bold;
	background:#555;
	border-radius:5px;
}

/* HOVER */
#mail-box input[type="text"]:focus,
#mail-box textarea:focus { background:#FFEFEF; transition:.3s;}
.b_inqu input[type="submit"]:hover,
.b_inqu input[type="reset"]:hover,
.b_inqu input[type="button"]:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
}

/* CONFIRMATION and ERROR ---------------------------------------*/

#formWrap {}
#formWrap table.formTable { margin:20px 2%; width:96%; border-top: 1px solid #EEE;}
#formWrap table.formTable th { width:20%; background:#EEE;}
#formWrap table.formTable td { width:80%;}
#formWrap table.formTable th,
#formWrap table.formTable td { padding:5px 10px;  border-bottom: 1px solid #EEE;}
#formWrap table.formTable tr:last-child { display: none;}

/* CONFIRMATION */
#formWrapr h3 { margin:0 0 20px;}
#formWrapr h4 {
	margin:0 0 20px;
	padding: 1%;
	color: #FF4646;
	font-size:100%;
	border: 1px solid #FF7575;
	background:#FFEAEA;
}
#formWrap p { margin:0 0 10px;}


/* ERROR */
#error { text-align:center;}
#error h4 {
	margin:0 0 20px;
	padding:1%;
	color: #FF4646;
	text-align:left;
	font-size:100%;
	border: 1px solid #FF7575;
	background:#FFEAEA;
}
#error p { margin-top:5px; text-align:left;}
#error .error_messe { padding:10px; background:#FFEFEF;}


@media only screen and (max-width:700px){
    #mail-box { }
    #mail-box table.mailform { width:96%; table-layout:auto;}
    #mail-box table.mailform th,
    #mail-box table.mailform td{
        table-layout:auto !important;
        display:block !important;
        padding:5% 5% !important;
        width:90% !important;
        height:auto !important;
    }
    #mail-box table.mailform th { padding-bottom:2% !important;  border-bottom:none; }    
    #mail-box table.mailform th+td { padding-top: 0 !important;}    
    #mail-box table.mailform tr th span { top: 20px; }
    #mail-box label {
        display:block;
        margin-right:0;
        padding:5px 10px;
        border:1px solid #ddd;
        border-radius:5px;
    }
    #mail-box label+label { margin-top:5px;}
    #mail-box input[type="text"],
    #mail-box textarea { padding:15px 10px; width:100%;}
    #mail-box .yub input[type="text"] { width:50%;}
    #mail-box select { width:100%;}
    .b_inqu {}
    .b_inqu input[type="submit"],
    .b_inqu input[type="reset"],
    .b_inqu input[type="button"] { margin:5px 0; padding:10px; width:100%; font-size:100%; line-height: 40px;}
    #mail-box input[type="text"]:focus,
    #mail-box textarea:focus { background:#FFEFEF; transition:.3s;}
    #mail-box .check_box { margin-bottom: 10px;}

    /* CONFIRMATION and ERROR */
    #formWrap table.formTable { margin:20px auto; width:96%; table-layout:auto; border: none;}
    #formWrap table.formTable th,
    #formWrap table.formTable td{
        table-layout:auto !important;
        display:block !important;
        width:90% !important;
        height:auto !important;
        border: none;
    }
    #formWrap table.formTable th { padding:5px 5% !important;}
    #formWrap table.formTable td { padding:5px 5%!important;}

    /* CONFIRMATION */
    #formWrapr h3 { margin:0 0 20px;}
    #formWrapr h4 {
        margin:0 0 20px;
        padding: 1%;
        color: #FF4646;
        font-size:100%;
        border: 1px solid #FF7575;
        background:#FFEAEA;
    }
    #formWrap p { margin:0 0 10px;}

    /* ERROR */
    #error { text-align:center;}
    #error h4 {
        margin:0 0 20px;
        padding:1%;
        color: #FF4646;
        text-align:left;
        font-size:100%;
        border: 1px solid #FF7575;
        background:#FFEAEA;
    }
    #error p { margin:0 0 10px; text-align:left;}
}

