/*
 Theme Name:   mymedia02
 Description:  http://amica1975.com/ Theme
 Author:       40works
 Template:     understrap
 Version:      0.5.5
 Text Domain:  understrap-child
 GitHub Theme URI: holger1411/understrap-child
*/
body {
    font-family: "Open Sans", 游ゴシック, YuGothic, メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  }
/* ::::COMMON:::::: */
.top5 { margin-top: 5px; }
.top10 { margin-top: 10px; }
.top20 { margin-top: 20px; }
.top30 { margin-top: 30px; }
.top40 { margin-top: 40px; }
.top50 { margin-top: 50px; }
.top60 { margin-top: 60px; }
.top70 { margin-top: 70px; }
.top80 { margin-top: 80px; }

@media screen and (min-width: 768px){
#full-width-page-wrapper, #single-wrapper {
    padding: 0;
}
.br-sp {display: none; }
}
.pagebackcol{
    background-color: #f2f2f2;
    padding: 0 0 3rem;
}
/* ::::Fotter:::::: */
#wrapper-footer {
    background-color: #cacaca;
    padding-top: 0;
}
#wrapper-footer #footer-logo>img {
    width: 160px;
    height: auto;
}
#wrapper-footer .site-info {
    text-align: center;
    font-size: .5rem;
    color: #888;
    margin-top: 3rem;
}
#wrapper-footer .navbar-nav .nav-link {
    padding: 0 .5rem;
    color: #555;
    text-align: center;
    line-height: 2rem;
    font-size: 15px;
}
/* ::::Header:::::: */
#wrapper-navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgb(255 255 255 / 90%);
    backdrop-filter: blur(3px);
}
#main-nav {
     height: inherit;
}
#main-nav a.navbar-brand.custom-logo-link img.img-fluid {
    width: 320px;
    height: auto;
}
.cta {
    display: block;
    position: fixed;
    right: -1px;
    top: 200px;
    z-index: 1000;
    width: 16px;
    padding: 20px 30px 20px 15px;
    font-size: 14px;
    color: #fff !important;
    background: #009fe8cf;
    border: solid 1px #009fe8;
    text-decoration: none !important;
    line-height: 1.2;
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
  }
  .cta2 {
    display: block;
    position: fixed;
    right: -1px;
    top: 360px;
    z-index: 1000;
    width: 47px;
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
  }
  .cta .fa-calendar{
    margin-bottom: 5px;
  }
  img.custom-logo {
    width: 280px;
}
.custom-logo-link {
    z-index: 999;
}
  @media (max-width:575.98px){
    .cta {
        display: block;
        position: fixed;
        bottom: 0;
        top:inherit;
        right: inherit;
        z-index: 1000;
        width: 90%;
        text-align: center;
        padding: 10px;
        font-size: 16px;
        color: #fff !important;
        background: #009fe8cf;
        border: solid 1px #009fe8;
        text-decoration: none !important;
        line-height: 1.2;
        letter-spacing: 2px;
        -webkit-transition: .2s ease-in-out;
        -moz-transition: .2s ease-in-out;
        transition: .2s ease-in-out;
    }
    .cta2 {
        display: block;
        position: fixed;
        top: inherit;
        bottom: 0;
        width: 44.5px;
        z-index: 1000;
        -webkit-transition: .2s ease-in-out;
        -moz-transition: .2s ease-in-out;
        transition: .2s ease-in-out;
      }
      img.custom-logo {
        width: 180px;
        margin-top: .5rem;
    }
}
@media screen and (max-width: 767px){
#main-nav #mega-menu-wrap-primary ul#mega-menu-primary {
    position: absolute;
    top: initial;
    left: 0;
    width: 100%;
    padding-top: 50px;
    height: 100vh;
}
}
/* ::::トップページ:::::: */
.card .card-cover {
    height: 16rem;
}
#main-nav a.navbar-brand.custom-logo-link img.img-fluid {
    width: 320px;
    height: auto;
}
div#index-wrapper {
    padding-top: 0;
}
h1.stylettl {
    color: #003;
    letter-spacing: 5px;
    font-size: 3.8vh;
    margin-bottom: 1.8rem;
    text-align: center;
    font-family: 'Shippori Mincho B1', serif;
}
h1.stylettl span{
    border-bottom: 2px solid #003;
}
.card-block a:hover{
text-decoration: none;
}
h2.card-title {
    margin-bottom: 5px;
}
.exes{
    margin-bottom: 5px;
}
.exes span{
    font-size: 10px;
    padding: 2px;
    background-color: #a1880c;
    color: #fff;
    border-radius: 2px;
    margin-right:5px;
}
p.exefee {
    text-align: right;
    font-size: 12px;
    color: #000;
}
p.exefee span{
    font-size: 16px;
    font-weight: bold;
}
#widget_top_content .section.newsbox .item .cover {
    min-width: 6rem;
    height: 6rem;
}
.date.mr-4 span{
    font-size: 11px;
    color: #333;
}
.news-wrap {
    background-color: #f2f2f2;
    padding: 3rem 0;
}
#widget_top_content .section.newsbox .item .title {
    font-size: .9rem;
    color: #333;
}
@media screen and (min-width: 768px){
    #widget_top_content .section {
        padding-bottom: 5rem;
    }
}
.outline {
    padding: 0 0 3rem;
}
.filter-Hover iframe{
    width: 100%;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}
  .filter-Hover iframe:hover{
  transition: filter 0.8s ease;
  -webkit-filter: grayscale(0) saturate(2);
  filter: grayscale(0) saturate(2);
}
.cover {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-size: cover;
    background-position: center center;
} 
@media (min-width: 992px){
    .conceptbox {
        background: url(https://savvyfaith.jp/wp-content/uploads/2021/10/c1.jpg)no-repeat;
        background-size: auto;
        background-position-x: right;
        height: 550px;
        background-position-y: center;
    }
    .conceptbox2 {
        background: url(https://savvyfaith.jp/wp-content/uploads/2021/10/c2.jpg)no-repeat;
        background-size: auto;
        background-position-x: left;
        height: 550px;
        background-position-y: center;
    }
    .conceptbox3 {
        background: url(https://savvyfaith.jp/wp-content/uploads/2021/10/c3.jpg)no-repeat;
        background-size: auto;
        background-position-x: right;
        height: 550px;
        background-position-y: center;
    }
    .conceptbox4 {
        background: url(https://savvyfaith.jp/wp-content/uploads/2021/10/c4.jpg)no-repeat;
        background-size: auto;
        background-position-x: left;
        height: 550px;
        background-position-y: center;
    }
}

.wpcf7 {
    margin: 0 auto!important;
    max-width: 100%;
}
table.table.table-bordered.table-contactform7 {
    font-size: 14px;
    line-height: 1.8rem;
}
table.table.table-bordered.table-contactform7 th {
    font-weight: inherit;
    background-color: #f5f5f5;
}
span.wpcf7-form-control-wrap.menu-612 {
    display: inline-block;
}
span.wpcf7-form-control-wrap.menu-613 {
    display: inline-block;
}
input.wpcf7-form-control.wpcf7-submit.btn.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}


table.feetable {
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    table-layout: fixed;
  }
  
  table.feetable tr {
    background-color: #eee;
    padding: .35em;
    border-bottom: 2px solid #fff;
  }
  table.feetable th,
  table.feetable td {
    padding: 1em 10px 1em 1em;
    border-right: 2px solid #fff;
  }
  table.feetable thead tr{
    background-color: #000032;
    color:#fff;
    text-align: center;
  }
  table.feetable tbody th {
      background: #000032;
      color: #fff;
      background: #000032;
      color: #fff;
      font-weight: inherit;
  }
  .price{
    color: #000032;
  }
  .non{
    background:#fff
  }
  .movie {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.movie iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}
h3.concept-ttl{
    padding: 1.5rem 0;
    font-family: 'Shippori Mincho B1', serif;
    color:#c90000;
    letter-spacing: 2px;
}
.conceptmain {
    color: #000;
    font-size: 14px;
    line-height: 1.6rem;
    margin-bottom: .5rem;
}
.concepttxtwrap {
    padding: 1rem;
    margin-top: 1.5rem;
    background-color: rgb(205 205 205 / 90%);
    backdrop-filter: blur(5px);
}
  @media screen and (max-width: 600px) {
    table.feetable {
      border: 0;
      width:100%
    }
    table.feetable th{
      background-color: #167F92;
      display: block;
      border-right: none;
    }
    table.feetable thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    table.feetable tr {
      display: block;
      margin-bottom: .625em;
    }
    table.feetable td {
      border-bottom: 1px solid #bbb;
      display: block;
      position: relative;
      border-right: none;
    }
    table.feetable tbody th {
        color: #000032;
        background-color: #eee;
        border-bottom: 1px solid;
  }
  }

.outline {
    background: url(https://savvyfaith.jp/wp-content/uploads/2021/11/ouline.jpg)no-repeat;
    height:350px;
    position:relative;
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
}
.outline::before{
    content: '';
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: -5px;
  right: -5px;
  background: inherit;
  filter: blur(5px);
filter: brightness(30%);
}
.emppage_ttl{
    text-align: center;
    margin-top: 60px;
}
.emppage_ttl span{
    color: #ffffff;
    text-align: center;
    font-weight: initial;
    font-family: 'Shippori Mincho B1', serif;
    font-size: 28px;
    margin-top: 1rem;
    display: block;
    letter-spacing: 2px;
}
.empwraps {
    padding: 1rem;
    background-color: #fff;
    margin-top: 3rem;
}
.rinentxt {
    text-align: center;
    line-height: 1.8rem;
    margin-top: 1rem;
}
.rinentxt2 {
    margin-top: 2rem;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color:#00234c;
}
.missionwrap img{
    padding: 2rem 2.5rem 1rem;
}
h2.missionttl {
    font-size: 18px;
    line-height: 1.7rem;
    font-weight: bold;
    color: #c80100;
    margin-bottom: 0;
}
p.mitxt {
    font-size: 15px;
    margin-top: -10px;
}
.rinentts {
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    background-color: #eee;
}
.kihan {
    padding: 1rem;
    text-align: center;
    border: 2px solid #00234c;
    background-color: rgb(255 255 255 / 50%);
}
.gosa {
    font-size: 28px;
    font-weight: bold;
    color: #c80100;
}
.gosb {
    color: #00234c;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px dashed;
    padding-bottom: .5rem;
}
#president{
    background: url(https://savvyfaith.jp/wp-content/uploads/2021/11/pbacks.jpg)no-repeat;
    background-size: cover;
    height: 900px;
    position: relative;
    background-position-y: bottom;
    background-position-x: right;
    display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: -3rem;
  }
  .presidentxt {
    margin-top: 1rem;
    line-height: 1.8rem;
    font-family: 'Shippori Mincho B1', serif;
    text-shadow: 0.5px 0.5px 2px #fff;
    color: #000;
    font-size: 15px;
}
hr.das {
    border-top: 1px dashed #888;
}
p.whotxt {
margin-bottom: .5rem;
}
p.whottl {
    margin-bottom: 0.5rem;
}
.prebox {
    background-color: rgb(255 255 255 / 65%);
    padding: 1rem;
    border-radius: 10px;
}
@media screen and (max-width: 992px){
    #president{
        background:#f2f2f2; 
        background-attachment: inherit;
        background-size: cover;
        position: inherit;
        height: 100%;
        background-position-y: center;
        background-position-x: center;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 3rem 0;
      }
      .prebox {
        background-color: inherit;
        padding: .5rem;
        border-radius: inherit;
    }
}
@media (max-width:575.98px){
    .gosa {
        font-size: 21px;
    }
    .gosb {
        font-size: 15px;
        text-align: left;
    }
    p.whotxt {
        font-size: 13px;
        }
        p.whottl {
            font-size: 13px;
        }
}