@charset "UTF-8";

/*** common setting ***/

body,a{
  color: #515151;
}

h1{
  font-family: "Arial",YuGothic,"Yu Gothic","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3","メイリオ", Meiryo,"ＭＳ ゴシック", sans-serif;
  color: #FFF;
  font-size: 3rem;
  letter-spacing: 0.12rem;
  text-shadow: 0 0 5px rgba(31,50,53,0.8), 0 0 5px rgba(31,50,53,0.3);
  margin: 0;
}
h2 {
    font-family:  "Arial",YuGothic,"Yu Gothic","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3","メイリオ", Meiryo,"ＭＳ ゴシック", sans-serif;
    font-size: 1.5rem;
    text-decoration: underline;
    letter-spacing: 0.5rem;
}
a:hover {
    opacity: 0.6;
}
.contentWrapper {
    width: 70%;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}
.pink_line {background:linear-gradient(transparent 60%, #ffdfef 0%) ;
}

/** header **/

header {
    background-image: url(../img/mainBg.jpg);
    height: 590px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
header a {
    color: #FFF;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(0,0,0,0.6);
}
header ul {
    display: flex;
    margin: 0;
    padding: 20px;
}
header li {
    padding: 0 15px;
}
header nav {
    position: absolute;
    right: 0;
}
header .contentWrapper {
    padding-top: 15rem;
}

/** oshirase **/

#oshirase p {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 2.6rem;
}
#oshirase dl{
  width: 80%;
  margin: 0 auto;
}
#oshirase dt,#oshirase dd{
  float: left;
  text-align: left;
  line-height: 120%;
}

#oshirase dt{
  width: 100%;
  font-weight: bold;
  padding: 15px 0 5px 0;
}
#oshirase dd{
  width: 100%;
  padding: 5px 0 5px 0;
  padding-left: 0;
  margin-left: 0;
}

#oshirase figcaption{
  font-size: 1rem;
}

#oshirase figure img{
  width: 85%;
}

/** gallery **/

#gallery p{
  font-size: 1rem;
  font-family: "Arial",YuGothic,"Yu Gothic","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3","メイリオ", Meiryo,"ＭＳ ゴシック", sans-serif;
  font-weight: bold;
}
#gallery {
  background-image: url(../img/glBg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 3rem;
}
#gallery img{
  width: 100%;
}

/** gaiyou **/
#gaiyou .contentWrapper {
  padding: 2rem 0 0.5rem 0;
}

#gaiyou dl{
  width: 80%;
  margin: 0 auto;
}
#gaiyou dt,#gaiyou dd{
  float: left;
  text-align: left;
  font-weight: bold;
  padding: 10px 0;
  line-height: 120%;
}
#gaiyou dt{
  width: 20%;
}
#gaiyou dd{
  width: 70%;
}

#gaiyou_kome .contentWrapper {
  padding: 0.5rem 0 2rem 0;
}

#gaiyou_kome ul{
    width: 80%;
    margin: 0 auto;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: left;
    line-height: 1.2rem;
  }

/** annai **/

#annai p {
  text-align: left;
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1.5rem;
}
#annai ul{
  width: 80%;
  margin: 0 auto;
  font-size: 0.8rem;
  text-align: left;
  line-height: 1.2rem;
}
#annai {
  background-image: url(../img/anBg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

/** access **/

#access p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.5rem;
}
.gmap {
height: 0;
overflow: hidden;
padding-bottom: 56.25%;
position: relative;
}
.gmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}

/** farmpr **/

#farmpr {
  background-image: url(../img/glBg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}
#farmpr p{
  font-size: 0.8rem;
  text-align: left;
  line-height: 1.5rem;
}

/** footer **/

#upperFooter {
    margin-top: 50px;
    background-color: #dcdcdc;
}
#upperFooter li {
    flex-grow: 1;
    flex-basis: auto;
}
footer nav {
    width: 70%;
    margin: 0 auto;
}
footer p,footer h2 {
    margin: 10px;
}
small {
    color: #FFF;
    font-weight: bold;
    padding: 20px;
    display: block;
}
#bottomFooter {
    background-color: #008000;
    text-align: center;
}

/*** adjust parts ***/

.flex {
    display: flex;
}
.clearfix::after {
    display: block;
    content: "";
    clear: both;
}

/* ここから上がPC向けCSS */
@media screen and (max-width: 750px) {
/* この中がスマホ向けCSS */
    /*** common setting ***/
    img {
        border: 0;
        max-width: 100%;
        height: auto;
    }
    .contentWrapper {
        width: 90%;
    }
    .contentWrapper img{
      width: 60%;
    }
    h1{
      font-size: 2rem;
    }
    header{
      height: 300px;
    }
    header .contentWrapper{
      width: 100%;
      padding-top: 3rem;
    }
    header nav {
      background: rgba(255, 255, 255, 0.85);
      position: relative;
      z-index: none;
      display: none;
    }
    header nav ul {
      background: rgba(255,255,255,0.85);
      position: relative;
      z-index: 1;
    }
    header nav ul {
      display: block;
      padding: 20px 0 12rem 0;
    }
    header nav li {
      font-size: 0.85rem;
      padding: 20px;
      color: #606060;
      border-bottom: 1px solid rgba(118, 123, 133, 0.3);
      text-align: center;
    }
    header nav a {
      color: #333;
      font-weight: normal;
      text-shadow: none;
    }
    header nav a: hover {
      color: #1861ae!important;
    }
    #menuWrapper {
      width: 100%;
      background: rgba(255, 255, 255, 0.85);
      padding: 15px 15px 10px 15px;
      box-sizing: border-box;
    }
    .trigger,.trigger span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
    }
    .trigger {
        position: relative;
        width: 35px;
        height: 30px;
    }
    .trigger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 5px;
        background-color: #718085;
        border-radius: 4px;
        opacity: 1;
    }
    .trigger a:hover {
        opacity: 1;
    }
    .trigger span:nth-of-type(1) {
        top: 0;
    }
    .trigger span:nth-of-type(2) {
        top: 12px;
    }
    .trigger span:nth-of-type(3) {
        bottom: 0;
    }

    .trigger.active span:nth-of-type(1) {
        -webkit-transform:translateY(10px) rotate(-45deg);
        transform: translateY(10px) rotate(-45deg);
    }
    .trigger.active span:nth-of-type(2) {
        left: 50%;
        opacity: 0;
        -webkit-animation:active-menu-bar02 .8s forwards;
        animation: active-menu-bar02 .8s forwards;
    }
    @-webkit-keyframes active-menu-bar02 { 100% { height: 0; }}
    @keyframes active-menu-bar02 { 100% { height: 0; }}
    .trigger.active span:nth-of-type(3) {
        -webkit-transform:translateY(-15px) rotate(45deg);
        transform: translateY(-15px) rotate(45deg);
    }
    .onanimation {
        display: block;
    }

    /** oshirase **/

    #oshirase p{
      font-size: 1.2rem;
      line-height: 2rem;
    }
    #oshirase figure img{
      width: 100%;
    }


    /** gaiyou **/

    #gaiyou dt,#gaiyou dd{
      font-weight: bold;
      text-align: leftr;
      padding: 10px 0;
      line-height: 120%;
    }
    #gaiyou dt{
      width: 20%;
    }
    #gaiyou dd{
      width: 70%;
    }

    .fbframe iframe {
      width: 350px !important;
      height: 487px !important;
      margin: 0;
    }
    /** footer **/

    #upperFooter .contentWrapper,footer nav {
        width: 100%;
    }
    #upperFooter li {
        flex-grow: 1;
        flex-basis: auto;
        border-bottom: 1px solid #c0c0c0;
        padding: 1rem 0;
    }
    #upperFooter li: first-child {
        border-top: 1px solid #c0c0c0;
    }

    /*** adjust parts ***/
    .flex {
        display: block;
    }

}
