@charset "UTF-8";

h1 {
    font-size: 37px;
    font-weight: 900;
    width: 414px;
    letter-spacing: 0.040em;
    border: 1px solid rgba(47, 46, 47, 0.59);
}
.navactive{
   border-bottom: 1px solid #6fe0e8;
}
p.desc-text{
    padding: 10px 0px 20px;
    font-size: 20px;
    line-height: 35px;
    text-align: justify;
}
.text-content.container {
    margin-top: 50px;
    margin-bottom: 0px;
}

p.right-text{
    text-align: right !important;
    padding: 10px 0;
}
.right-text{
    color: #2f2e2f;
}
.right-text:hover{
    color: #0A5175;
}

*, *:before, *:after {
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
.img-section-space {
    margin-top: 10px;
}
.img-section a{
    text-decoration: none;
}

img {
    padding: 5px;
    max-width: 100%;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.clear::after {
    content: "";
    display: table;
    clear: both;
}

h1, h2, h3, p, span, a {
    font-family: 'Noto Serif JP', 'さわらび明朝', serif;
    color: #2f2e2f;
    margin: 0;
    padding: 0;
}

.limit {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.color_animation {
    text-decoration: initial;
    /* word-spacing: 5px; */
    margin-right: -30px;
    margin-left: -30px !important;
    color: white !important;
    -webkit-transition: color 0.3s ease-out;
    -moz-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}
.color_animation:hover{
    color: #6fe0e8 !important;
}

/*========================
    NAV
=========================*/
div#bs-example-navbar-collapse-1 {
    height: 200px;
    overflow: hidden;
    text-align: center;
    text-decoration: none !important;
    background-color: #1e1e1e;
}

.navbar-brand{
    font-family: 'Noto Serif JP', 'さわらび明朝', serif;
    font-size: 34px !important;
    text-decoration: none;
    color: white !important;
}

nav {
    background: #1E1E1E !important;
    font-size: 18px;
    color: white !important;
}

li{
    color: white !important;
    /*padding-left: 10px;*/
    word-spacing: 5px !important;
}
/*========================
INTRO CONTAINER
=========================*/
.starter_container {
    margin-top: -21px;
    padding: 0;
    min-width: 100%;
    height: 100%;
    background: url('../img/haikei_baraen.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    background-position: center;  
}
.follow_container {
    width: 100%;
    position: absolute;
    top: 35%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.22);
}
.starter_follow {
    display: inline-block;
    width: 80%;
    z-index: 1;
    margin: 0 auto;
    padding: 0;
}
.top-title{
    color: rgb(0, 0, 0);
    font-family: 'Noto Serif JP', 'さわらび明朝', serif;
    font-size: 60px;
    font-weight: 400;
 }
.second-title {
    font-weight: bold; 
    font-size: 20px; 
    font-style: italic; 
    text-transform: capitalize;
}

.white{
    color: white;
}

.black{
    color:#000000;
}

.blue{
    color: blue;
    text-decoration: none;
    font-size: 16px;
}

/* ========================
    IMAGE INTRO BANNER CONTENT
   =========================*/

.background_content {
    position: relative;
    top: 0px;
    width: 100%;
    height: 350px;
    background-color: white;
    margin: 0 auto 0 auto;
    z-index: 98;
    text-align: center;
}

.background_content2 {
    position: relative;
    top: 0px;
    width: 100%;
    height: 350px;
    background-color: white;
    margin: 0 auto 0 auto;
    z-index: 98;
    text-align: center;
}

.background_content h1 {
    font-size: 3em;
    width: 60%;
    position: relative;
    top: 38%;
    color: #1e1e1e;
    padding: 0;
    border: 0;
    display: inline-block;
}

.background_content2 h1 {
    font-size: 3em;
    width: 60%;
    position: relative;
    top: 38%;
    color: white;
    padding: 0;
    border: 0;
    display: inline-block;
}

.background_content h1 span {
    color: white;
    border-bottom: 8px solid white;
}

.background_content2 h1 span {
    color: white;
    border-bottom: 8px solid white;
}

.box1{
    padding: 0.5em 1em 2em;
    margin: 2em 0 3em;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box1 p {
    text-align: left;
    font-size: 20px;
    margin: 0; 
    padding: 5px 20px;
}

.box2{
    padding: 0.5em 1em 2em;
    margin: 2em 0 3em;
    color: #5d627b;
    background: white;
    border-top: none;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box2 p {
    text-align: left;
    font-size: 1.6em;
    margin: 0; 
    padding: 5px 20px;
}
.box2 blockquote{
    text-align: left;
    font-size: 1.3em;
    margin: 0; 
    padding: 5px 50px 5px;
    border: none;
    color: #000000;
}

.box3 {
    margin: 2em 0;
    padding-bottom: 2em;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}
.box3 .box-title {
    font-size: 1.6em;
    background: #5d627b;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.box3 p {
    font-size: 1.6em;
    padding: 15px 20px;
    margin: 0;
}
.box4 {
    padding: 1em;
    margin: 0em 0 3em;
    font-weight: bold;
    color: #6091d3;/*文字色*/
    background: #FFF;
    border: solid 3px #6091d3;/*線*/
    border-radius: 30px;/*角の丸み*/
}
.box4 p {
    margin: 0; 
    padding: 0.5em 1em;
    font-size: 1.4em;
    text-align: left;
}

.box5{
    padding: 0.5em 1em 2em;
    margin: 2em 0 3em;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box5 p {
    text-align: left;
    font-size: 20px;
    margin: 0; 
    padding: 5px 20px;
}
.box6{
    padding: 0.5em 1em 2em;
    margin: 2em 0 3em;
    color: #5d627b;
    background: white;
    border-top: solid 5px #348ff7;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box6 p {
    text-align: left;
    font-size: 1.6em;
    margin: 0; 
    padding: 5px 50px 10px;
}
.box6 a {
    text-decoration: none;
}
.box7{
    padding: 1em;
    margin: 2em 0 3em;
    color: #5d627b;
    background: white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box7 p {
    text-align: left;
    font-size: 20px;
    margin: 0; 
    padding: 20px;
}

.before_after {
    margin: auto;
}
.before_after h3 {
    padding-bottom: 3em;
}

.taishin.background_content{
    background: url('../img/haikei2.jpg') no-repeat center center; 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.gyoumu.background_content2{
    background: url('../img/haikei_aozora.jpg') no-repeat center center; 
    background-size: cover;
    background-position: 70% 50%;
}

/*========================
DESCRIPTION BODY CONTENT
=========================*/
.description_content {
    padding: 20px 0;
    width: 100%;
    background: #fff;
    margin: 0 auto 0 auto;
    z-index: 99;
    position: relative;
    background: white;
    text-align: center; 
}
.description_body {
    margin: 45px auto;
    max-width: 300px;
}
h1 {
    font-size: 28px;
    font-weight: 900;
    width: 225px;
    letter-spacing: 0.040em;
    border: 8px solid #2f2e2f;
    display: inline-block;
    padding: 7px 16px;
    margin-bottom: 50px;
}
h2 {
    font-size: 30px;
    font-weight: bold;
    padding: 20px 0px;
}
h3 {
    font-size: 20px;
    font-weight: 400;
    padding-bottom: 10px;
}
.text-left {
    font-family: 'Noto Serif JP', 'さわらび明朝', serif;
    text-align: left;
    color: darkblue;
    font-size: 20px;
    width: 500px;
    padding: 5px 0px 5px 100px;
}
/*========================
IMAGE DESCRIPTION BODY CONTENT
=========================*/
.picture_content {
    display: none;
}
/*========================
      FOOTER CONTENT
=========================*/
.footer {
    background-color: #1e1e1e;
    text-align: center;
    padding: 20px;
}
p.footer-text{
    color: #fff;
}
p.footer-text a{
    text-decoration: none;
    color: #fff;
}

/*========================
MEDIA QUERIES MOBILE
=========================*/

@media (max-width: 660px) {
    .navbar-brand{
        font-size: 25px !important;
    }
    .top-title {
        font-size: 35px;
    }

    .second-title {
        font-size: 16px;
    }

    .starter_container {
        height: 100%;
    }

    .background_content h1 {
        width: 100%;
        font-size: 2.5em;
        top: 33%;
    }

    .text-content.container {
        padding-left: 5px;
        padding-right: 5px;
    }

    h2 {
        font-size: 25px;
    }

    .box1{
        padding: 0.5em;
        margin-bottom: 3em;
    }
    .box1 h2{
        font-size: 22px;
    }
    .box1 p {
        font-size: 18px;
        padding: 5px;
    }
    
    .box2{
        padding: 0.5em;
        margin: 1em 0 3em;
    }
    .box2 p {
        font-size: 20px;
        margin: 0; 
        padding: 5px;
        font-weight: bold;
    }
    .box2 blockquote{
        font-size: 18px;
        margin: 0; 
        padding: 5px 10px 5px;
    }
    
    .box3 {
        margin: 2em 0;
    }
    .box3 .box-title {
        font-size: 24px;
        padding: 3px;
    }
    .box3 p {
        font-size: 18px;
        padding: 15px 5px 0px;
    }
    .box4 {
        padding: 0.5em;
        margin-left: -1em;
        margin-right: -1em;
        margin-bottom: 2em;
    }
    .box4 h2{
        font-size: 22px;
    }
    .box4 p {
        margin: 0; 
        padding: 0.5em;
        font-size: 18px;
    }

    .box5{
        padding: 0.5em;
        margin-left: -1em;
        margin-right: -1em;
        margin-bottom: 3em;
    }
    .box5 h2{
        font-size: 22px;
    }
    .box5 p {
        font-size: 18px;
        padding: 5px;
    }
    .box6{
        padding: 0.5em 1em;
        
    }
    .box6 h2{
        font-size: 1.6em;
    }
    .box6 p {
        font-size: 1.2em;
        padding: 5px;
    }
    .box7{
        padding: 0.5em;
        margin-top: -1em;
        margin-left: -1em;
        margin-right: -1em;
        margin-bottom: -1em;
        box-shadow: none;
    }
    .box7 h2{
        font-size: 22px;
    }
    .box7 p {
        font-size: 18px;
        padding: 5px;
    }
}

/*========================
MEDIA QUERIES TABLET
=========================*/

    @media (min-width: 660px) { 
  
        .starter_container {
            height: 100%;
        }

    /*========================
    NAV
    =========================*/
    .navbar-default{
        height: 70px;
        padding-top: 10px;
    }

    nav li{
        padding-right: -15px;
    }
    .navbar-brand{
        font-family: 'Noto Serif JP', 'さわらび明朝', serif;
        font-size: 34px !important;
        text-decoration: none;
        color: white !important;
    }
    nav {
        position: fixed;
        display: block;
        position: fixed;
        width: 100%;
        height: 55px;
        z-index: 100;
        margin: 0;
        padding: 0;
        background-color: #1e1e1e;
        text-align: center;
    }
    .logo {
        display: none;
    }
    .main-nav {
        padding: 0;
        margin: 18px auto 0 auto;
    }
    .main-nav li {
        display: inline-block;
        list-style: none;
        margin: 0 29px 0 29px;
    }
    .logo a,
    .main-nav a {
        font-size: 0.75000em;
        font-weight: 700;
        /* letter-spacing: 0.250em; */
        text-decoration: none;
        color: #fff;
        display: block;
        text-align: center;
        padding: 2px 0;
        transition: color 0.3s ease-in-out;
    }
    .main-nav a:hover {
        color: #6c8f34;
    }
    .direction a {
        border: 5px solid rgba(0,0,0,0);
        display: inline-block;
        width: 45px;
        height: 45px;  
        background-size: 30px; 
    }
    .direction a:hover {
        border: 5px solid #6D903C;
    }

    /*========================
    DESCRIPTION BODY CONTENT
    =========================*/

    .description_body {
        margin: 45px auto;
        max-width: 500px;
    }
    h1 {
        font-size: 32px;
        font-weight: 900;
        width: 280px;
        letter-spacing: 0.040em;
        border: 1px solid #2f2e2f;
    }
    .picture_content {
        display: inline-block;
        padding: 0 20px;
    }

    /*========================
    IMAGE INTRO BANNER CONTENT
    =========================*/

    .background_content {
        position: relative;
        top: 0px;
        width: 100%;
        height: 570px;
        background-color: white;
        margin: 0 auto 0 auto;
        z-index: 98;
        text-align: center;
    }

    .background_content h1 {
        font-size: 3em;
        position: relative;
        top: 38%;
        width: 90%;
        color: white;
        padding: 0;
        border: 0;
        display: inline-block;
    }

    .background_content h1 span {
        color: white;
        padding: 0;
        border-bottom: 10px solid white;
    }

    .background_content2 {
        position: relative;
        top: 0px;
        width: 100%;
        height: 570px;
        background-color: white;
        margin: 0 auto 0 auto;
        z-index: 98;
        text-align: center;
    }

    .background_content2 h1 {
        font-size: 3em;
        position: relative;
        top: 38%;
        width: 90%;
        color: white;
        padding: 0;
        border: 0;
        display: inline-block;
    }

    .background_content2 h1 span {
        color: white;
        padding: 0;
        border-bottom: 10px solid white;
    }

    .box4 h2{
        font-size: 26px;
    }
 
}
/*END OF MEDIA QUERY*/

/*========================
MEDIA QUERIE DESKTOP
=========================*/

@media (min-width: 1100px) { 

    .starter_container {
        background-attachment: fixed;
    }


    /*========================
    BACKGROUND CONTENT
    =========================*/


    .background_content h1 {
        font-size: 4em;
        position: relative;
        top: 38%;
        width: 100%;
        color: white;
        padding: 0;
        border: 0;
        display: inline-block;
        margin-top: 20px;
    }

    .background_content h1 span {
        color: white;
        padding: 0;
        border-bottom: 12px solid white;
    }

    /*========================
    DESCRIPTION BODY CONTENT
    =========================*/

    .margin-right {
        margin-right: 5%;
    }

    .margin-left {
        margin-left: 5%;
    }

    .background_content:nth-of-type(2),
    .background_content:nth-of-type(4) {
        background-attachment: fixed;
    }

    .description_body {
        max-width: 450px;
        display: inline-block;
        vertical-align: middle;
        margin: 0;
        margin-top: 10px;
    }


    .picture_content {
        display: inline-block;
        padding: 0;
        vertical-align: middle;
    }
}

/*===========================
            CARD
============================*/
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    margin-top: 2em;
    margin-bottom: 3em;
  }
  
  .card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
  }
  
  .card-title {
    margin-bottom: 0.5rem;
    color: rgb(0, 0, 0);
  }
  
  .card-subtitle {
    margin-top: -0.25rem;
    margin-bottom: 0;
  }
  
  .card-text:last-child {
    margin-bottom: 0;
  }
  
  .card-link:hover {
    text-decoration: none;
  }
  .card-link + .card-link {
    margin-left: 1rem;
  }
  
  .card-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  }
  .card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
  }
  
  .card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    border-radius: calc(0.25rem - 1px);
  }
  
  .card-img,
  .card-img-top,
  .card-img-bottom {
    max-width: 100%;
  }
  
  .card-img,
  .card-img-top {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
  }
  
  .card-img,
  .card-img-bottom {
    border-bottom-right-radius: calc(0.25rem - 1px);
    border-bottom-left-radius: calc(0.25rem - 1px);
  }
  
  .card-deck {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  img{
      max-width: 100%;
  }
  .card-deck .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-right: 15px;
    margin-left: 15px;
  }
  .card-title.t1{
    font-size: 30px;
    font-weight: bold;
    padding: 20px 0px;
    color: rgb(0, 0, 0);
  }
 
@media (max-width: 660px) {
    .card {
        position: relative;
        display: flex;
        flex-direction: column;
        min-width: 200px;
        word-wrap: break-word;
        background-color: #fff;
        background-clip: border-box;
        border: 1px solid rgba(0, 0, 0, 0.125);
        border-radius: 0.25rem;
        margin-top: 1em;
        margin-bottom: 1em;
      }
    .card-body {
        flex: 1 1 auto;
        padding: 1rem 1rem;
      }
    .card-img,
    .card-img-top,
    .card-img-bottom {
        max-width: 100%;
    }
    .card-deck{
        margin: 20px auto;
      }
    .card-title.t1{
        font-size: 20px;
        font-weight: bold;
        padding: 20px 0px;
    }
  }
  