/*
Theme Name: Newsmark
Theme URI: https://themeansar.com/free-themes/newsmark/
Author: Themeansar
Author URI: https://themeansar.com
Description: Newsmark is a fast, clean, modern-looking Best Responsive News Magazine WordPress theme. The theme is fully widgetized, so users can manage the content by using easy to use widgets. Newsmark is suitable for dynamic news, newspapers, magazine, publishers, blogs, editors, online and gaming magazines, newsportals,personal blogs, newspaper, publishing or review siteand any creative website. Newsmark is SEO friendly, WPML,Gutenberg, translation and RTL ready. Live preview : https://newsup.themeansar.com/newsmark/ and documentation at https://docs.themeansar.com/docs/newsup/
Version: 0.5
Requires at least: 5.4
Requires PHP: 7.0
Tested up to: 6.5.3
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: newsup
Text Domain: newsmark
Tags: blog, portfolio, news, grid-Layout, one-column, two-columns, three-columns, flexible-header, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, theme-options, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks

Newsmark WordPress Theme is child theme of Newsup, Copyright 2020 Themeansar
Newsmark is distributed under the terms of the GNU General Public License v3

Newsmark is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/
.navbar-wp .dropdown-menu.searchinner .btn {
    border: medium none;
    border-radius: 0 4px 4px 0;
    height: 40px;
    line-height: 25px;
    padding: 5px 15px;
}
.mg-search-box .dropdown-toggle::after {
	display: none;
}
.m-header {
	display: none;
}
.desk-header {
	display: flex;
}
.site-title a{
	font-size: 46px;
}
.mobilehomebtn {
    width: 30px;
    text-align: center;
    line-height: 30px;
    height: 30px;
}
.mg-blog-post.md{
	width: 49.8%;
	float: left;
	height: 236px;
}
.mg-blog-post.md .bottom h4 {
    font-size: 26px;
}
.mb1px {
	margin-bottom: 1px;
}
.mg-latest-news-sec{
	box-shadow: none;
}
.desk-header .mg-social{
	margin-right: 10px;
}
.desk-header .mg-social li span.icon-soci {
	width: auto;
	height: auto;
	line-height: 0;
	margin: 0 5px;
}
.mg-head-detail .info-left li span.time{
	display: none;
}
.mg-blog-post.lg.mins{
	height: 222.5px;
	width: 100%;
}
.mg-blog-post.lg.mins .title{
	font-size: 22px;
}
.mg-headwidget .navbar-header .navbar-brand{
	margin-right: 0;
}
.mg-latest-news .mg-latest-news-slider{
	left: 170px;
}
.mg-breadcrumb-section{
	box-shadow: none;
}
.mg-breadcrumb-section .overlay {
	height: 100%;
	position: relative;
	padding: 0;
	width: 100%;
}
.mg-breadcrumb-title{
	padding: 30px 15px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.container-fluid {
	padding-right: 100px;
	padding-left: 100px;
}
.mg-nav-widget-area:has(.col-12.text-center.mx-auto) .col-md-9{
	margin: 0 auto;
}
.mg-nav-widget-area:has(.col-12.text-center.mx-auto) .header-ads{
	justify-content: center;
}
@media (min-width: 1200px) {
	.mg-blog-post.md .bottom h4 {
		max-height: 65px;
		overflow: hidden;
	}
}
@media screen and (max-width: 1200px) and (min-width: 991px) {
	.container-fluid {
		padding-right: 70px;
		padding-left: 70px;
	}
}
@media (max-width: 991.98px) {
	.container-fluid {
		padding-right: 30px;
		padding-left: 30px;
	}
	.navbar-wp .navbar-nav > li> a i {
		display: none;
	}	
	#menu-primary li.active.home {
		display: none;
	}
	.m-header {
		width: 100%;
		padding: 10px 15px;
		display: flex;
		justify-content: space-between;

	}
	.desk-header {
		display: none;
	}	
	.m-header .navbar-toggler{
		margin-top: 0;
		margin-bottom: 0;
	}
	.m-header .navbar-toggler:focus, .m-header .navbar-toggler:hover{
		background: transparent;
		border-color: transparent;
	}
} 
@media screen and (max-width:1199px ) and (min-width: 767px){
	.mg-fea-area .mg-blog-post.md {
		width: 49.7%;
	}
}
@media screen and (max-width: 767px) and (min-width: 576px) {
	.mg-fea-area .col-md-6{
		margin-bottom: 20px;
	}
	.container-fluid {
		padding-right: 20px;
		padding-left: 20px;
	}
	.trending-posts, .recent-posts{
		display: flex;
		gap: 20px;
	}
}
@media screen and (max-width: 576px){
	.mg-fea-area .mg-blog-post.md {
		width: 100%;
		margin-bottom: 20px;
	}
	.container-fluid {
		padding-right: 15px;
		padding-left: 15px;
	}
	#homemain { 
		margin-bottom: 30px;
	}
}
@media screen and (max-width: 767px) and (min-width: 240px) {
	.mg-headwidget .navbar-wp .navbar-nav > li> a {
		position: relative;
		border-bottom: 1px solid rgba(225,225,225,0.4);
	}
	.mg-latest-news .mg-latest-news-slider {
		left: 0;
	}
}

p a {
    text-decoration: underline;
}
a:focus {
    outline: 1px solid;
}
.navbar-toggler.x:focus {
    outline: 1px solid #000; 
}
@media (max-width: 991.98px) {
	.m-header .navbar-toggler:focus {
		outline: 2px solid;
	}
}

.site-branding-text a, .mg-footer-copyright a{text-decoration: none;}

/* --------------------------------------
=========================================
	PLUS AREA
=========================================
-----------------------------------------*/

body {
    font-family: "Noto Sans JP", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 16px !important;
}

.product-subset__table th {
    background-color: #EEE;
    border: 1px solid #AAA;
    padding: 10px;
    font-size: 16px;
    vertical-align: middle;
}

.product-subset__table td {
    border: 1px solid #AAA;
    font-size: 16px;
    padding: 10px;
    vertical-align: middle;
}

.product-subset__price br {
    display: none;
}

.product-subset__price {
    color: #d21a1a;
    font-weight: bold;
    font-size: 1.4em;
}

.product-subset__price--yen {
    font-size: 60%;
    font-weight: bold;
}

td.product-subset__td-order br {
    display: none;
}

.product-subset__submit-button {
    width: 100%;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px;
}

div.inyou {
    position: relative;
    padding: 0;
    border: 1px solid #AAA;
    margin-bottom: 30px;
}

.inyou p {
    margin: 0 !important;
    /* position: absolute; */
    padding: 10px;
    line-height: 2;
    top: 3px;
    left: 10px;
    background: #eeeeee;
    border-radius: 0;
    font-weight: bold;
    color: #333;
}

.inyou ul {
    padding: 20px;
    border-top: none;
    margin-bottom: 0 !important;
}

.inyou ul li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 16px;
}

.inyou ul li:last-child {
    margin: 0;
}
table.about th {
    border: 1px solid #AAA;
    width: 200px;
    padding: 10px;
    font-size: 1em;
    background-color: #EEE;
}

table.about td {
    border: 1px solid #AAA;
    padding: 10px;
    font-size: 1em;
}

.page-entry-title-box h1 {
    font-size: 30px;
}

.bs-blog-post.single img {
    margin-bottom: 20px;
}

p.tel_number:before {
    content: "\f095";
    font-family: 'FontAwesome';
    margin-right: 10px;
}

p.address:before {
    content: "\f041";
    font-family: 'FontAwesome';
    margin-right: 12px;
}

.textwidget.custom-html-widget p {
    font-weight: bold;
    font-size: 18px;
}

p.product-price {
    color: #d21a1a;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: left !important;
    margin-bottom: 20px;
}

h2.entry-title {
    text-align: left;
}

.blog-post {
    border: 2px solid #DDD;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
}

article .blog-post .image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto!important;
}

h3.widget-title {border-bottom: 2px solid #333;padding: 0 10px 10px;}

.single.single-left-sidebar #comments, .single.single-left-sidebar .content, .single.single-left-sidebar div.title, .single.single-right-sidebar #comments, .single.single-right-sidebar .content, .single.single-right-sidebar div.title {
    width: 100% !important;
}

h1.entry-title {
    border-bottom: 2px dotted #CCC;
    padding: 10px 0 20px;
}

.copyrights span {
    display: none;
}

.hd-bar .side-menu ul li a {
    font-size: 16px;
}

p.btn_detail {
    width: 100%;
    text-align: center;
}

p.btn_detail a {
    border: 1px solid #AAA;
    background-color: #fd0707;
    padding: 10px 20px;
    border-radius: 10px;
    color: #FFF;
    text-decoration: none;
    width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 1.1em;
}

p.btn_detail a:hover {
    opacity: 0.8;
}

.bs-blog-post .bs-blog-thumb img {
    border-radius: 10px;
}

.reviewList ul li {
    list-style: none;
    margin-bottom: 20px;
    border: 4px solid #EEE;
    padding: 20px !important;
}

.reviewList ul li p {
    margin: 0;
}

p.review_text {
    margin-bottom: 0;
}

p.review_star i {margin-right: 2px;color: #ffa400;}

.entry-content h2 {
    font-size: 1.5em !important;
    border-bottom: 2px solid #15e2b9;
}

dl.faq_area {
    border: 2px solid #DDDD;
    padding: 10px 20px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 10px;
}

dl.faq_area dt:before {
    content: "Q.";
    color: #d51a1a;
    font-size: 30px;
    margin-right: 7px;
}

dl.faq_area dt {
    margin: 0 0 10px;
    border-bottom: 1px dotted #CCC;
    padding-bottom: 10px;
    line-height: 2;
}

dl.faq_area dd {
    margin: 0;
    line-height: 2;
}

dl.faq_area dd:before {
    content: "A.";
    font-weight: bold;
    font-size: 30px;
    color: #1a7dd5;
    margin-right: 7px;
}

ul.bta_area li {
    list-style: none;
    padding: 5px 0;
}

ul.bta_area {
    margin: 0 !important;
    padding: 0 !important;
}

.site-title {
    margin-top: 0 !important;
}

.single-entry-summary h2 {
    font-size: 1.5em;
    border-bottom: 2px solid #fd0707;
    padding: 0 10px 10px;
    margin-bottom: 20px;
}

table.product-subset__table {
    margin: 0 0 30px;
}

table.point th {
    background-color: #eeeeee;
    border: 1px solid #AAA;
    padding: 10px;
    width: 150px;
}

table.point td {
    border: 1px solid #AAA;
    padding: 10px;
}

ul.review li {
    border: 4px solid #DDD;
    border-radius: 10px;
    margin: 0 0 20px;
    padding: 20px;
    list-style: none;
}

ul.review {
    margin: 0;
    padding: 0;
}

table.point {
    margin-bottom: 30px;
}

p.review_name {
    font-weight: bold;
    font-size: 1.2em;
}

.news-thumb img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
    display: table;
}

table.contact th {
    background-color: #EEE;
    border: 1px solid #AAA;
    padding: 10px;
    width: 200px;
}

table.contact td {
    background-color: #FFF;
    border: 1px solid #AAA;
    padding: 10px;
}

table.contact {
    margin-bottom: 20px;
}

.entry-content dl dt {
    font-weight: bold;
    line-height: 2;
}

.entry-content dl dd {
    padding: 20px;
    margin: 0 0 20px;
}

nav.navigation.post-navigation {
    display: none;
}

ul.review p {
    margin: 0 0 10px;
}

.box {
    border: 1px solid #AAA;
    padding: 10px;
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 8px;
}

.box p {
    margin: 0;
}

.box h2 {
    margin: 0 0 20px;
}

ul.kanren {
    display: flex;
    flex-flow: row wrap;
    margin: 0 !important;
    padding: 0 !important;
}

ul.kanren li {
    width: 33.33%;
    list-style: none;
    padding: 10px !important;
}

ul.kanren li a {
    border: 1px solid #AAA;
    padding: 10px;
    border-radius: 10px;
    display: block;
    text-decoration: none;
    box-shadow: 0 0 5px #CCC;
}

.kanren li p {
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

ul.kanren li a:hover {
    opacity: 0.8;
}

.select-wrapper-2 {
    display: flex;
    position:relative;
    width: 100%;
    max-width: 360px;
    margin: 0 0 0 auto;
    }


.select-wrapper-2 select {
    margin-right: 10px;
    font-size: 20px;
    border-radius: 4px;
    border: 1px solid #333;
    outline: none;
    font-weight: bold;
    cursor: pointer;
    appearance: none;
    padding: 10px 30px 10px 10px;
    position:relative;
    width: 80px !important;
    height: auto;
    min-width: initial;
}

.select-wrapper-2::after {
  content: "\f0d7"; /* Font Awesome 4.7 ä¸‹å‘ãçŸ¢å° */
  font-family: FontAwesome;
  position: absolute;
  left: 60px; /* ãƒœã‚¿ãƒ³ã®å¹…ã«åˆã‚ã›ã¦èª¿æ•´ */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #333;
  font-size: 16px;
}

.select-wrapper-2 button {
    flex: 1;
    font-weight: bold;
    font-size: 20px;
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #333;
    appearance: none;
    cursor: pointer;
}

.select-wrapper-2 button:hover {
    background-color: #333;
    color: #FFF;
}

/* ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã‚’ãƒªã‚»ãƒƒãƒˆ */
input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
}

/* ãƒã‚§ãƒƒã‚¯ã•ã‚ŒãŸã¨ã */
input[type="radio"]:checked {
  border-color: #333;
  background-color: #333;
}

/* ãƒã‚§ãƒƒã‚¯ãƒžãƒ¼ã‚¯ç”¨ã®æ“¬ä¼¼è¦ç´  */
input[type="radio"]:checked::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ãƒ©ãƒ™ãƒ«å…¨ä½“ã‚’ã‚¯ãƒªãƒƒã‚¯å¯èƒ½ã« */
label {
  cursor: pointer;
  user-select: none;
}

.product-subset__form ul li {
    list-style: none;
    display: flex;
    border: 2px solid #d0d0d0;
    padding: 10px !important;
    border-radius: 10px;
    margin-bottom: 10px;
    line-height: 2;
    align-items: center;
    background-color: #EEE;
}

.product-subset__form ul {
    padding: 0 !important;
    margin: 0 !important;
}

form.product-subset__form ul li input {
    position: relative;
    border-color: #333 !important;
    background-color: #FFF !important;
}

.product-subset__form button {
    font-size: 20px;
    padding: 16px 32px;
    border-radius: 8px;
    margin: 0 0 0 auto;
    display: table;
    appearance: none;
    cursor: pointer;
    height: auto;
    background-color: #3c64bd;
}

.product-subset__form ul li label {
    flex: 1;
    font-weight: bold;
    font-size: 20px;
}

table.guide th {
    width: 150px;
    border: 1px solid #3c64bd;
    background-color: #e5ecfb;
    padding: 10px;
    text-align: left;
}

table.guide td {
    border: 1px solid #3c64bd;
    background-color: #FFF;
    padding: 10px;
}

form.product-subset__form {
    margin-bottom: 0!important;
}

form.product-subset__form ul li label span {
    font-size: 16px;
    font-weight: normal;
}

.select-wrapper-2 p {
    margin: 0 !important;
}

body {
  counter-reset: faq-counter;
} 
/* 各 faq_area の dt が番号を増やす */
.faq_area dt {
  counter-increment: faq-counter;
}
/* dt に Q◯ を付与 */
.faq_area dt::before {
  content: "Q" counter(faq-counter) "."!important;
  font-weight: bold;
}

.post-form {
    display: none!important;
}

.select-wrapper-0 p {
    margin: 0;
    font-weight: bold;
    font-size: 20px;
}

.select-wrapper-0 p span {
    font-weight: normal;
    font-size: 80%;
}

.single h2 {
    font-size: 24px;
    border-bottom: 1px solid #3c64bd;
    padding: 0 0 10px;
}

form.product-subset__form ul {
    margin: 0 0 30px !important;
}

.mg-nav-widget-area .site-branding-text .site-title {
    margin-bottom: 0;
}

@media (max-width: 768px) {
.product-subset__submit-button {
    font-size: 16px;
}
.product-subset__table th {
    font-size: 16px;
}
.product-subset__table td {
    font-size: 16px;
}
.product-subset__unit-price {
    font-size: 12px;
}
.bs-blog-post .small {
    padding: 10px;
}
.inyou ul {
    margin: 0 !important;
    width: 100% !important;
}

.content p {
    width: 100% !important;
    margin-bottom: 10px !important;
}

div#post-wrapper {
    padding: 0;
}
h1.entry-title {
    font-size: 24px;
}
}

@media (max-width: 480px) {
.img-fluid {
    width: 100%;
    max-width: 200px !important;
    margin: 0 auto;
    display: table;
}
table.about tr {
    display: block;
    width: 100%;
}

table.about th {
    display: block;
    width: 100%;
    font-size: 16px;
    border: none;
    border-right: 1px solid #AAA;
    border-bottom: 1px solid #AAA;
}

table.about td {
    display: block;
    width: 100%;
    font-size: 16px;
    border: none;
    border-right: 1px solid #AAA;
    border-bottom: 1px solid #AAA;
}

table.about {
    border-top: 1px solid #AAA;
    border-left: 1px solid #AAA;
}
.page-area {
    padding: 20px 0;
}
#sidebar {
    display: block;
    max-width: 100%;
    clear: both;
}
article.blog-article {
    clear: none;
    padding-right: 0!important;
}
.col-md-9 {
    padding-right: 0 !important;
}
ul.kanren li {
    width: 100%;
}
table.point th {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #AAA;
    border-right: 1px solid #AAA;
}

table.point tr {
    display: block;
    width: 100%;
}

table.point td {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #AAA;
    border-right: 1px solid #AAA;
}

table.point {
    border-top: 1px solid #AAA;
    border-left: 1px solid #AAA;
}
.product-subset__form ul li {
    display: block;
}
.select-wrapper-0 p span {
    font-size: 80%;
    display: block;
}
div.inyou p {
    margin: 0 !important;
}
#content {
	padding-top: 20px;
	padding-bottom: 20px;
}
.mg-head-detail.hidden-xs .container-fluid {
    padding: 0;
}
.mg-head-detail.hidden-xs {
    padding: 0;
}
ul.info-left.float-md-right {
    padding-inline-start: 0 !important;
    padding: 0;
}
.select-wrapper-0 p {
    margin: 0;
    font-weight: bold;
    font-size: 16px;
}
.product-subset__form button {
    font-size: 16px;
    padding: 12px;
}
.mg-nav-widget-area-back .inner {
    padding: 15px 0;
}
.mg-blog-post-box>.img-fluid {
    max-width: 100%;
    margin: 0 auto 0;
    display: table;
}
.row {
    margin-right: 0;
    margin-left: 0;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  position: relative;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}
}

/* --------------------------------------
=========================================
	PLUS AREA
=========================================
-----------------------------------------*/