/* Global */

/* Background pattern from subtlepatterns.com */
html {
    overflow-x: hidden;
}

hr {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 3px solid #78B286;
}

#tuhan {
    width: 70%;
    margin: 0 auto;
    border: solid 2px #ffb03f;
    padding: 0.5em 1em 0.5em 2.3em;
    position: relative;
}

#tuhan li {
    line-height: 1.5;
    padding: 0.5em 0;
}

#tuhan li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    position: absolute;
    left: 1em;
    /*左端からのアイコンまで*/
    color: #ffb03f;
    /*アイコン色*/
}

.line {
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
    border: 0.5px solid #CCC;
}

.leftm {
    width: 80%;
    margin: 0 auto;
}

.leftm p {
    text-align: left;
}

.aki_migi {
    padding-right: 1em;
}

.bgw {
    background-color: rgba(255, 255, 255, 0.7);
}

#slide1 h1,
#slide2 h1,
#slide3 h1,
#slide4 h1,
#slide5 h1,
#slide4 h6,
#slide5 h6,
.mnnk,
.grid_6,
.grid_6 omega,
.snkk {
    text-align: center;
}

body {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    font-size: 1em;
    color: #666;
    box-sizing: border-box;
    font-feature-settings: "palt";
}

img {
    max-width: 100%;
}

a:link {
    color: #f68f67;
    text-decoration: none;
}

a:hover {
    color: #bde2df;
    text-decoration: none;
}

a:visited

/*訪問済みリンク*/
    {
    color: #f68f67;
    text-decoration: none;
}

.bg {
    color: #fff;
    line-height: 2em;
    background-color: #b5b5b5;
}

#s-text,
.s-text2 {
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 43%;
    left: 20%;
    margin: 0 auto;
    color: #2A1E1B;
    width: 60%;
    text-align: center;
    font-size: 1em;
    line-height: 3;
}

.s-text2 {
    top: 50%;
    left: 20%;
}

#right {
    display: block;
    text-align: center;
}

time {
    padding-right: 10px;
}

.snkk {
    margin-top: -16px;
    color: #FECF83;
}

.gray {
    background-color: #EEE;
}

/* Navigation */

.menu {
    position: fixed;
    top: 0px;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    z-index: 100;
}

#logo {
    text-align: center;
    margin: 10px 0;
}

#logo3 {
    text-align: center;
    margin-top: 20px;
}

#logo2 {
    margin: 0 auto;
}

#logo2 p {
    display: inline-block;
}

#nav {
    text-align: right;
    margin: 30px 0 0 0;
}

.navigation {
    float: right;
    list-style: none;
    margin: 0 auto;
}

.navigation li {
    float: left;
    margin: 0 auto;
    padding: 0 0 0 50px;
}

.navigation li:hover {
    cursor: pointer;
    color: #a9d3d0;
}

.navigation .active {
    cursor: pointer;
    color: #f68f67;
    font-weight: bold;
}

/* General Slides */
.slide {
    background-attachment: fixed;
    width: 100%;
    height: auto;
    position: relative;
    padding: 140px 0;
}

/* Slide 1 */
#slide1 h1 {
    font-size: 3em;
    letter-spacing: -1px;
    font-weight: 600;
    border-bottom: #D35162 solid 3px;
}

#slide1 h2 {
    font-size: 2em;
    color: #8a8683;
    line-height: 0px;
    padding-bottom: 20px;
    font-weight: 400;
}

.aki {
    text-align: center;
    letter-spacing: 0.5px;
    padding: 30px 4px 20px 4px;
}

.aki2 {
    text-align: center;
    letter-spacing: 1px;
    padding: 10px 0;
}

.orng {
    background-color: #faf2d9;
    text-align: center;
    font-size: 1em;
    font-weight: 400;
}

.green {
    background-color: #eef3f0;
    text-align: center;
    font-size: 1em;
    font-weight: 400;
}

.hidariyose {
    padding: 2% 3%;
    text-align: left;
    font-size: 0.8em;
}

.kasen {
    font-weight: bold;
    background: linear-gradient(transparent 50%, #fff47b 50%);
}

.kasen2 {
    background: linear-gradient(transparent 50%, #fff47b 50%);
}

#test {
    background-color: #bde2df;
    color: #ffffff;
    text-align: center;
    font-size: 2em;
    font-weight: 400;
}

#jisseki {
    width: 100%;
    height: auto;
}

#per8 {
    display: block;
    margin-bottom: 8%;
}

#perm8 {
    margin-top: -8%;
}

/* Slide 2 */

#slide2 {
    background-image: url('../img/bg_2.png');
}

#slide2 h1 {
    font-size: 3em;
    letter-spacing: -1px;
    font-weight: 600;
    border-bottom: #EEEA80 solid 3px;
}

#slide2 h2 {
    font-size: 2em;
    line-height: 0px;
    padding-bottom: 20px;
    font-weight: 400;
}

/* Slide 3 */

#slide3 {
    background-color: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

#slide3 h1 {
    font-size: 3em;
    letter-spacing: -1px;
    font-weight: 600;
    border-bottom: #5987C4 solid 3px;
}

#slide3 h2,
#slide4 h2 {
    font-size: 2em;
    line-height: 0px;
    padding-bottom: 20px;
    font-weight: 400;
}

#slide3 section {
    width: 80%;
    margin: 0 auto;
}

/* Slide 4 */
#slide4 {
    background-image: url('../img/bg_4.png');
}

#slide4 h1 {
    font-size: 3em;
    letter-spacing: -1px;
    font-weight: 600;
    border-bottom: #EB9FAC solid 3px;
}

#slide4 h6 {
    letter-spacing: 5px;
}

#center {
    background-color: #fff;
    max-width: 100%;
}

#new {
    width: 500px;
    padding: 10px;
    margin: 0 auto;
}


/* Slide 5 */
#slide5 h1 {
    font-size: 3em;
    letter-spacing: -1px;
    font-weight: 600;
    border-bottom: #52BC92 solid 3px;
}

#slide5 h6 {
    letter-spacing: 5px;
}

#slide5 img {
    padding: 3px;
}

.mdl {
    vertical-align: middle;
    text-decoration: none;
}

.mdl:hover {
    color: rgb(102, 102, 102);
}

.recbg {
    border-radius: 10px;
    padding-bottom: 1em;
    margin: 0 auto;
    background-color: #F5FFF4;
}

#left {
    display: block;
    text-align: left;
}

/*TEL非表示*/
@media(min-width: 768px){
  a[href^="tel:"],.btn-tel{
    pointer-events: none;
    background-color:none;
  }
}

/*TEL装飾*/
.btn-tel{
  position: relative;
  display: block;
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  background: #fff;
  padding: 5px 0;
  margin: auto;
  max-width: 250px;
}

.btn-tel::after{
  content: "";
  background: url(img/telephone.svg) no-repeat center;
  background-size: contain;
  width: 24px;
  height: 24px;
  position: absolute;
  top: calc(50% - 12px);
  left: 15px;
}

/* Tablet */
@media screen and (max-width: 1024px) {

    #logo,
    #logo2,
    #logo3 {
        width: 100%;
        text-align: center;
    }

    #nav {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .navigation {
        width: 100%;
        float: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navigation li {
        float: left;
        width: 20%;
        padding: 0;
    }

    .slide {
        background-attachment: fixed;
        width: 100%;
        position: relative;
        padding: 150px 0;
    }

    #decorative {
        display: none;
    }

    #content {
        width: 100%;
        margin: 0 auto;
    }

    p {
        text-align: center;
    }
}

@media screen and (min-width: 650px) {
    .br-pc {
        display: block;
    }

    .br-sp {
        display: none;
    }
}

@media screen and (max-width: 650px) {
    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }
}

.grid_4 {
    height: 150px;
}

.kaijo {
    height: auto;
}

/* Mobile */
@media screen and (max-width: 480px) {

    html,
    body {
        overflow-x: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    #logo,
    #logo2,
    #logo3 {
        width: 100%;
        text-align: center;
    }

    #nav {
        width: 100%;
        margin: 5px 0;
    }

    .navigation {
        width: 100%;
        float: left;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navigation li {
        float: left;
        width: 20%;
    }

    .slide {
        background-attachment: fixed;
        width: 100%;
        position: relative;
        padding: 130px 0;
    }

    .aki,
    .aki2 {
        text-align: left !important;
    }

    p {
        text-align: left;
    }

    .grid_4 {
        height: auto;
    }

    #new ul {
        width: 100%;
    }

    #new {
        width: 250px;
        padding: 5px;
        margin: 0 auto;
    }
}
