/*
  site oroginal style
	Template Name: smf-matsumoto-child
	Author: suppot-az.com
	Author URI: http://support-az.com
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	Version: 1.0

*/
/* common
 *
 **---------------------------------------***/
*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

 @import url('https://fonts.googleapis.com/css2?family=M+PLUS+2:wght@300;400;500;600;700;900&family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@400;700&display=swap');
 :root {
  --color-a: #d46e0e;
  --color-b:rgb(248, 255, 149);
  --color-c: #3B3127;
  --color-d:#ffffff;
  ;
 }
html {
  font-family:'M PLUS 2', 'Noto Sans JP', sans-serif, meiryo;
  font-size: 18px!important;
 /* line-height: 1.86; */
}

body {
  background-color: white;
  font-size: 1.0rem;
  font-family: inherit;
 letter-spacing:0.555px;
  font-weight: 400;
  line-height: 1.86em;
  color: #333;
}
p,a,ul,li {
  font-family: inherit!important;
}
p {
  margin-bottom: 1.15rem;
  font-size: 1.0rem;
  line-height: 1.86em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: inherit;
  margin: 1rem 0 1.38rem;
  font-weight: 400;
  line-height: 1.3;
}
h1 {
  margin-top: 0;
  font-size: 1.802rem;
}

h2 {font-size: 1.602rem;}

h3 {font-size: 1.424rem;}

h4 {font-size: 1.266rem;}

h5 {font-size: 1.125rem;}

/*small, .text_small {font-size: 0.889rem;}*/

ul {
  list-style-type: none;
}
ul li {
  list-style-type: none;
}

/**-- helper class --**/
.noto-serif {
  font-family: 'Noto Serif JP', serif!important;
}
.noto-sans {
  font-family: 'Noto Sans JP', sans-serif!important;
}
.m-plus-2 {
  font-family: 'M PLUS 2', sans-serif!important;
}
.x80 {
  font-size: 80%;
}
.x120 {
  font-size: 120%;
}
.x150 {
  font-size: 150%;
}
.x180 {
  font-size: 180%; 
}
.x200 {
  font-size: 200%;
}
.w100 {
  width: 100%;
}
.x300 {
  font-size: 300%;
}
.ml-1 {
  margin-left: 1em;
}
.ml-2 {
  margin-left: 2em;
}
.ml-3 {
  margin-left: 3em;
}
.mr-1 {
  margin-right: 1em;
}
.mr-2 {
  margin-right: 2em;
}
.mr-3 {
  margin-right: 3em;
}
.mt-1 {
  margin-top: 1em;
}
.mt-2 {
  margin-top: 2em;
}
.mt-3 {
  margin-top: 3em;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-0-c * {
  margin-bottom: 0!important;
}
.mb-1 {
  margin-bottom: 1em;
}
.mb-2 {
  margin-bottom: 2em;
}
.mb-3 {
  margin-bottom: 3em;
}
.strong {
  font-weight:bold;
  font-size:110%;
}
.red {
  color:#f00;
}
.white {
  color: #fff;
}
.blue {
  color: #00f;
}
.bg-white {
  background-color: white!important;
}
.small {
  font-size: 75%;
  letter-spacing: 1.2px;
}
.smaller {
  font-size: 50%;
  letter-spacing: 1.2px;
}
.large {
  font-size: 120%;
}
.larger {
  font-size: 150%;
}
.img-wrapper {
  margin: 0.5em auto 2em;
}
.img-wrapper:hover {
  opacity: 0.75;
}
.img-fluid {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}
.text-center {
  text-align: center;
}
.box-shadow {
  box-shadow: 0 1.5rem 2rem -2rem hsl(200 50% 20% / 40%);
}
a {
  color: #035be8;
  text-decoration: dotted underline;
}
a:hover {
  
  text-decoration: solid underline;
}
.fas.fa-fw {
  margin-right: 0.3em;
}
.section-header {
  margin-top: 3em;
  margin-bottom: 3em;
}
/* -------------------------------- 
 header style
-------------------------------- */
header a.logo img {
  width: min(449px, calc(100vw - 100px));
}
#header .header-content {
  display: flex;
  align-items: center;
  justify-content:space-between;
}
#header .logo{
  float: none;
}
#header.fixed {
  border-bottom: solid 1px #555;
}
.navigation {
  float: none;
}
.navigation a {
  font-size: 1rem;
}
.banner {
  background-image: url(../images/mv1920.jpg);
  min-height: 75vw;
  background-size: contain;
}
/* -------------------------------- 
 content style
-------------------------------- */
/* intro */
.intro {
  background-color:var(--color-c);
}
.intro h2 ,
.intro p,
.intro ul li,
.intro ol li,
.intro dl dt ,
.intro dl dd {
  color: rgba(255,255,255,1);
}
.intro a {
  color:var(--color-b);
}
.intro h3 {
  display: inline-block;
  border-bottom: 4px solid var(--color-a);
}
.intro ul li,
.intro ol li {
  list-style-position: inside;
  line-height: inherit;
}
.intro dl dt ,
.intro dl dd {
  line-height: inherit;
}
.intro dl dd {
  margin-bottom:1em ;
}
/* work */
.work p {
  color: var(--color-d);
}
.work .overlay {
  background-color: var(--color-a);
}
.work:hover .overlay {
  opacity: 1;
}
/* media */
.row-wrap {
  display: flex;
  flex-wrap: wrap;
}
.media-article {
  background-color: #efefef;
  border-right: 1px solid #fff;
  padding: 1em 1.5em;
  border-bottom: 1px solid #fff;
  flex-grow: 1;
  
}
.media-article:hover {
  background-color: #fff;
}
  /* sponsor */
.sponsor {
  background-color:#fff ;
}
.sponsor .slider-section {
  /* width: min(900px,95vw); */
  margin: 0 auto;
}

.sponsor .flexslider ul.slides li {
  margin-top: 2em;
  margin-bottom: 2em;
  /* display: block; */
} 
.sponsor .flexslider ul.slides li a {
  display: block;
  padding: 5px 10px;
}
.sponsor .flexslider ul.slides h3 {
  font-size: 90%;
}
.flex-viewport {
  padding-bottom: 2em;
}
.flex-control-nav {
  position: absolute!important;
  bottom: 1em;
  /* margin-bottom: -1em; */
    /* bottom: 5px!important; */
}
.flex-control-paging li a {
  background: rgba(233,23,23,0.333)!important;
  width: 15px;
  height: 15px;
}
.flex-control-paging li a.flex-active {
  background: rgba(233,23,23,1.0)!important;
}
/* footer */
.footer-top {
  padding-bottom: 10px;
}
.footer h2 ,
.footer p {
  color: #cdcdcd;
}
.footer .footer-share a {
  font-size: 200%;
  margin-right: 1em;
}
.footer .footer-bottom {
  margin: 0;
  background-color: transparent;
  padding: 0;
}
.footer .footer-bottom p {
  font-size: 66%;
  color: #888888;
}
/* -------------------------------- 
 button style
-------------------------------- */
.button_area{
  display: flex;
  justify-content: center;
  align-content: center;
  margin: 1.5em auto;
}
.button_box{
  display: inline-block;
}
.button_box a.btn{
  display: block;
  width: 100%;
  border: solid 1px #f76868;
  background: #f76868;
  color: #fff!important;
  font-weight: 700;
  line-height: 1;
  padding: 1.1em 1.5em 0.9em;
  border-radius: 1.5em;
}
.button_box .btn:hover{
  background: #f00;
  color: #fff;
}
/* -------------------------------- 
 card style
-------------------------------- */
.visible-xs {
  display: inline-block;
}

/**-- embed googlemap --**/
.ggmap {
position: relative;
padding-bottom: 85vh;
padding-top: 30px;
height: 0;
overflow: hidden;
z-index: 20;
}
.ggmap iframe,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #252525;
}

/**-- embed responsive --**/
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.embed-responsive-16by9::before {
    padding-top: 56.25%;
}
.embed-responsive::before {
    display: block;
    content: "";
}
.embed-responsive embed, 
.embed-responsive iframe, 
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/*
 * PC size
 -------------------**/
@media all and (min-width: 768px) {
  .visible-xs {
    display: none;
  }
}

/*
 * large size
 -------------------**/
@media all and (min-width: 1170px) {
}

@media screen and (max-width: 1024px) {
  .navigation {
    background-color: rgba(1,1,1,0.777);
  }
  #header.fixed nav a {
    color: #fff;
  }
}