/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

@font-face {
  font-family: 'WorkSansMod';
  src: url("https://www.mitubaci.co.jp/wp-content/uploads/2024/12/WorkSans-Regular-mod.ttf") format("truetype");
}

@font-face{
  font-family: "DE";
  src: url("https://www.mitubaci.co.jp/wp-content/uploads/2024/12/de.ttf") format("truetype");
}

@font-face{
  font-family: "Monotype Corsiva";
  src: url("https://app.fujimorikajita.com/wp-content/uploads/2024/05/Monotype-Corsiva.ttf") format("truetype");
}
@font-face{
  font-family: "ちはや純";
  src: url("https://app.fujimorikajita.com/wp-content/uploads/2024/05/ちはや純.ttf") format("truetype");
}
	
@font-face{
  font-family: "Songti SC Bold";
  src: url("https://app.fujimorikajita.com/wp-content/uploads/2024/05/SongtiSCBold.ttf") format("truetype");
}

@font-face{
  font-family: "Songti TC Bold";
  src: url("https://app.fujimorikajita.com/wp-content/uploads/2024/05/SongtiTCBold.ttf") format("truetype");
}

@font-face{
  font-family: "NotoEmojiMod";
  src: url("https://www.mitubaci.co.jp/wp-content/uploads/2024/12/NotoEmoji-RegularMod.ttf") format("truetype");
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://www.mitubaci.co.jp/wp-content/uploads/2022/08/montserrat-v25-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('https://www.mitubaci.co.jp/wp-content/uploads/2022/08/montserrat-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('https://www.mitubaci.co.jp/wp-content/uploads/2022/08/montserrat-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('https://www.mitubaci.co.jp/wp-content/uploads/2022/08/montserrat-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://www.mitubaci.co.jp/wp-content/uploads/2022/08/montserrat-v25-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('https://www.mitubaci.co.jp/wp-content/uploads/2022/08/montserrat-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('https://www.mitubaci.co.jp/wp-content/uploads/2022/08/montserrat-v25-latin-700.woff') format('woff'), /* Modern Browsers */
       url('https://www.mitubaci.co.jp/wp-content/uploads/2022/08/montserrat-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
}
html,body,h1,h2,h3,h4,h5,h6,p,.tg-primary-menu > div ul li a{font-family: Montserrat,"Hiragino Kaku Gothic ProN",游ゴシック,"Yu Gothic",YuGothic,メイリオ,"Meiryo,Noto Sans CJK", sans-serif;}

a {color: #a0701a;}

#secondary{border-left:0 none;background-color:#F1F1F1;padding:25px}
.widget ul li{border-bottom:0 none}

/* Menu */
#menu-item-2868 ul.sub-menu {width:100px}
@media screen and (min-width: 1024px) { .hide-desktop {
	display: none;
}}

/* Home */
.scroll-hidden::-webkit-scrollbar {-webkit-appearance: none;}
/* Pricing */
.tablink a{display:inline-block;width:100%;line-height:2.2em!important;}
table.border-bottom td, table.border-bottom th{border:none; border-bottom:1px solid #e9ecef;}
/* breadbrumbs */
.rank-math-breadcrumb {font-size: 0.9rem;}

body.single-post #main {
  background-color: #F8F8F8;
}
body.single-post article, body.single-post #secondary, body.single-post .tg-related-posts {
	background-color: #fff;
	border-radius:15px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
}
body.single-post .tg-related-posts {
	padding: 15px;
}
body.single-post article .entry-meta {
    margin: 15px;
}
body.single-post article .entry-content {
	margin: 0;
}
body.single-post article .entry-content > *, body.single-post article .entry-content > ul > li, body.single-post article .entry-content > ol > li {
	margin-right:15px;
	margin-left:15px;
}
body.single-post article .entry-content figure {
	margin-right:0;
	margin-left:0;
	text-align:center;
}
.elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure {
    padding: 0 5px;
}
body.single-post article .entry-content iframe {
	margin: 0 auto 15px!important;
	left:0;
}
body.single-post article .entry-content h1 {
	margin-top:1em;
	font-size:28px;
	text-align:center;
}
body.single-post article .entry-content h2 {
	border-bottom: 1px solid #D59469;
	padding: 0.5em 0 0 5px;
	font-size: 24px;
}
body.single-post article .entry-content h3 {
	border-left: 5px solid #D59469;
	padding-left: 0.5em;
	font-size: 18px;
}

.single-post .entry-content p:last-child {
	margin-bottom: 1.4em;
}

/* Prevent carousel element text from jumpling up */
.elementor-element .swiper .swiper-slide figure {
	line-height: 1.2em!important;
}

body.single-post .site-content {
	margin:0;
}
/* Show last modified date */
.updated:not(.published) {
    display: inline!important;
}
.updated:not(.published):before {
    content: " (Last update: ";
}
.updated:not(.published):after {
    content: ")";
}
/* remove footer widget margin */
.widget.widget_custom_html {
	margin:0;
}
/* Force blog button text black */
:root .has-black-color {
    color: #000!important;
}
.mb15 {
	margin-bottom: 1.5em!important;
}

/* Block Editor (Gutenberg) missing button css fix - 20220826 */
.wp-block-button .wp-block-button__link {
    color: #fff;
    background-color: #32373c;
    border-radius: 9999px;
}
.is-style-outline .wp-block-button__link {
    border: solid 2px;
}
.wp-block-buttons {
    margin-bottom: 1.4em;
}


/* Everest Form */
.evf-submit-container {
	text-align: center;
}
.everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field {
	margin-bottom: 30px;
}
.evf-field-description {
	color:#888;
	font-size: 80%!important;
}
button.submitLarge {
	-webkit-appearance: none!important;
	-moz-appearance: none!important;
	appearance: none!important;
	font-size: 130%!important;
	background-color: white!important;
	color:black!important;
	border: 1px solid black!important;
	border-radius: 0!important;
	padding: 10px 20px!important;
}
/* English navigation CSS color fix */
html[lang="en-US"] #site-navigation li.menu-item-has-children.current-menu-item > a {
    background: rgba(255,255,255,0.7)!important;
    color: #000000!important;
}
html[lang="en-US"] #mobile-navigation li.menu-item-has-children.current-menu-item > a {
    color: #000000;
}
html[lang="en-US"] #site-navigation, html[lang="en-US"] #mobile-navigation {
	text-transform: uppercase;
}

/* Amelia Booking */
#am-add-to-calendar .am-svg-wrapper svg{
	display: none;
}
#am-add-to-calendar .am-svg-wrapper{
	background-image: url("/wp-content/uploads/2020/10/mitubaci-icon.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	height: 150px;
}
.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-dashboard-header .am-cabinet-dashboard-user-data .am-cabinet-user-email .el-dropdown-link,
.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-dashboard-header .am-cabinet-dashboard-user-data .am-cabinet-user-email .el-dropdown-link i,
.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-menu .am-cabinet-menu-item {
color: white !important;
}

/* Material Tags */
div.tag {
    text-align: center;
}
div.tag span {
    display: inline-block;
    min-width: 5em;
    height: 1.5em;
    line-height: 1.5em;
	color: black;
}
div.tag span:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
div.tag span:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}
div.tag span:first-child:not(:only-child) {
    clip-path: polygon(0% 100%, 0% 0%, 100% 0, 3.5em 100%);
    padding-right: 5px;
    margin-right: -5px;
	 min-width: 4em;
}
div.tag span:last-child:not(:only-child) {
    clip-path: polygon(0 100%, 0.5em 0%, 100% 0%, 100% 100%);
    padding-left: 5px;
	padding-right: 5px;
	min-width: 4em;
}
div.tag span.pt950 {
background: rgb(208,208,208);
background: linear-gradient(90deg, rgba(208,208,208,1) 0%, rgba(230,240,250,1) 100%);
}
div.tag span.k18g {
background: rgb(255,234,164);
background: linear-gradient(90deg, rgba(255,234,164,1) 0%, rgba(231,189,57,1) 100%);
}
div.tag span.silver {
    background-color:#ddd;
}

/* To fix underlined links */
body a:where(:not(.wp-element-button)) {
  text-decoration: none;
}
body .entry-content a:visited {
    color: initial;
}

figcaption {
	font-style:normal;
}