@charset "UTF-8";
/*
Theme Name: ManaSys
Template: basic
Author: Trendmake
Copyright: (c) 2020 Trendmake
Version: 20200403
*/

/*******************************
Common Setting
*******************************/
body {
/* 	font-family: 'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', sans-serif; */
	font-size: 16px;
	line-height: 2;
}
#content {
	padding: 0;
}
/* Those Classes change row_inner width,
   when you set the Themify Builder > Row Options > Row Width to Default and Boxed. */
/*.module_row > .row_inner,
.module-layout-part .module_row.fullwidth_row_container > .row_inner {
	width: 100%;
}*/
body table{
	width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
}
/*******************************
Header Fix
*******************************/
#header.header {
	height: auto;
	border-bottom: none;
}

/* Header Site Branding */
#site-logo,
#site-description {
	position: static;
}
#site-logo {
	line-height: 1;
}
#site-logo a,
#site-logo a img {
	display: block;
}
/* Search Form in Header */
#headerwrap #header #searchform {
	position: static;
}
#headerwrap #header #searchform #s {
	float: none;
}
.site a:hover {
	opacity:0.7;
}
/*******************************
Footer Fix
*******************************/
#footer {
	border-top: none;
	clear: none;
	padding: 0;
}
#pc-backtop {
	display: block;
	position: fixed;
	z-index: 500;
	bottom: 50px;
	right: 50px;
	opacity: 0;
	transition: opacity .3s;
	width: 32px;
	height: 32px;
}
#pc-backtop svg{ fill: skyblue; }
#pc-backtop.is-visible {
	opacity: 1;
}
#pc-backtop.is-visible:hover {
	opacity: .7;
}
#pc-backtop a,
#pc-backtop a img {
	display: block;
}
.sp-footer-icons-container {
	display: none;
	justify-content: space-around;
	align-items: center;
	position: fixed;
	z-index: 600;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	padding-bottom: calc( env(safe-area-inset-bottom) / 2 );
	background: #4f4f4f;
}
#footer .sp-footer-icons-container svg{
	display: block;
	text-align: center;
	fill: #1f7bb6;
	width: 100%;
	height: 16px;
	margin-bottom: 8px;
}
#footer .sp-footer-icons-container a {
	display: block;
	width: 100%;
	line-height: 1;
	text-align: center;
	background-color: #fafafa;
	text-decoration: none;
	font-size:10px;
	padding: 10px 0 6px;
	border-left:1px solid #1f7bb6;
}
#footer .sp-footer-icons-container a:first-child{
	border-left:0;
}


/*******************************
Contact form
*******************************/
.wpcf7 table tr th{
	width:30%;
	text-align: left;
}
.wpcf7 table tr th,
.wpcf7 table tr td{
	padding:10px 15px
}
.wpcf7 table tr td input,
.wpcf7 table tr td select,
.wpcf7 table tr td textarea{
	background-color: #f3f3f3;
    border: solid 1px #ddd;
    padding: 6px 10px;
    border-radius: 5px;
	width:100%;
	max-width:100%;
	box-sizing:border-box;
}
.wpcf7 table tr td span input{
	margin-top:10px;
}
.wpcf7 table tr td span:first-child input{
	margin-top:0px;
}
.wpcf7 table tr td input[type="radio"],
.wpcf7 table tr td input[type="checkbox"]{
	width:auto;
}
.wpcf7 .submit_btn{
	display:block;
}
.wpcf7 .submit_btn input[type="submit"]{
	display:block;
	width:250px;
	margin:0 auto;
}

/* 新ロゴ位置調整：unagi-kubota.jp/menu/ の表示位置に合わせる */
html body #pagewrap #headerwrap #header,
html body #pagewrap #headerwrap {
    overflow: visible !important;
}
html body #pagewrap #headerwrap #header .header-brand-container,
html body #pagewrap #headerwrap #header .header-brand-container > #site-logo {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
html body #pagewrap #headerwrap #header > #site-logo {
    position: absolute !important;
    right: -175px !important;
    left: auto !important;
    top: 58px !important;
    width: 390px !important;
    max-width: 390px !important;
    min-height: 0 !important;
    overflow: visible !important;
    z-index: 0 !important;
}
html body #pagewrap #headerwrap #header > #site-logo a,
html body #pagewrap #headerwrap #header > #site-logo img.site-logo-image {
    display: block !important;
    width: 390px !important;
    max-width: 390px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
html body #pagewrap #headerwrap #header > #site-logo a::after {
    content: none !important;
    display: none !important;
}
html body #pagewrap #headerwrap #header #main-menu-container,
html body #pagewrap #headerwrap #header #main-menu {
    position: relative !important;
    z-index: 10 !important;
}
@media screen and (max-width: 1180px) {
    html body #pagewrap #headerwrap,
    html body #pagewrap #headerwrap #header {
        min-height: 250px !important;
        height: 250px !important;
        overflow: visible !important;
    }
    html body #pagewrap #headerwrap #header > #site-logo {
        position: absolute !important;
        top: 30px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 312px !important;
        max-width: 312px !important;
        margin: 0 !important;
        z-index: 1 !important;
    }
    html body #pagewrap #headerwrap #header > #site-logo a,
    html body #pagewrap #headerwrap #header > #site-logo img.site-logo-image {
        width: 312px !important;
        max-width: 312px !important;
    }
    html body #pagewrap #headerwrap #header #menu-button {
        z-index: 11000 !important;
    }
    html body #pagewrap #headerwrap #header #main-menu-container {
        z-index: 10000 !important;
    }
}
@media screen and (max-width: 680px) {
    html body #pagewrap #headerwrap,
    html body #pagewrap #headerwrap #header {
        min-height: 225px !important;
        height: 225px !important;
    }
    html body #pagewrap #headerwrap #header > #site-logo {
        top: 34px !important;
    }
    html body #pagewrap #headerwrap #header > #site-logo,
    html body #pagewrap #headerwrap #header > #site-logo a,
    html body #pagewrap #headerwrap #header > #site-logo img.site-logo-image {
        width: 247px !important;
        max-width: 247px !important;
    }
}
/*******************************
Top page menu banner image height fix
*******************************/
body.home .menu_banner .module-image .image-wrap,
body.home .menu_banner .module-image .image-wrap a {
    display: block !important;
    line-height: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.home .menu_banner .module-image .image-wrap img[title="home_16"],
body.home .menu_banner .module-image .image-wrap img[title="home_10"],
body.home .menu_banner .module-image .image-wrap img[title="home_12"],
body.home .menu_banner .module-image .image-wrap img[title="home_14"],
body.home .menu_banner .module-image .image-wrap img[title="home_25"],
body.home .menu_banner .module-image .image-wrap img[title="home_22"],
body.home .menu_banner .module-image .image-wrap img[title="top-manu"],
body.home .menu_banner .module-image .image-wrap img[title="gift_nav"] {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
