@charset "utf-8";
/* ======================================================================
    共通
==========================================================================*/  
.biz-udpmincho-regular {
    font-family: "BIZ UDPMincho", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .biz-udpmincho-bold {
    font-family: "BIZ UDPMincho", serif;
    font-weight: 700;
    font-style: normal;
  }
*{
    font-family:"BIZ UDPMincho", serif;
    color: #3b3b3b;
}
img {
	width: 100%;        		/* max-widht: 100%は避ける(レンダリングでチラつく) */
	height: auto;
}

body{
  margin: 0;
  background-image: url(../images/back_long.png);
    background-repeat: no-repeat;
    background-position: bottom;

}

.title{
    font-size: 25px;
    display: grid;
    align-content: center;
    justify-items: center;
    margin: 50px;
    padding-top: 120px;
}
.midasi{
    color:#5b4500;
}
.yu{
    width: 100px;
    margin: 15px;
    opacity: 0;         /* 初期値は透明にしておく */
    transition: .5s;    /* 動くスピードを0.5秒に指定 */
    position: relative; /* 相対位置の設定 */
    top: 50px;          /* 事前に下に50pxずらしておく */
}

.active2 {
  opacity: 1;         /* 透明度を元に戻す */
  top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}


/* ======================================================================
    ヘッダー
==========================================================================*/
header{
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 5px 5px  #d1d1d1;
    position: sticky;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #423302;
    color: #fffff8;
}


.header_logo{
    width: 200px;
    margin: 20px;
}
.contents{
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 20px 80px 20px 20px;
}

.link{
    margin-left: 50px;
    color: #fffff8;
}

@media screen and (max-width : 1062px){
    .contents{
        margin: 20px 50px 20px 20px;
    }
    .link{
        margin-left: 30px;
    }
}

@media screen and (max-width : 860px){
    .contents{
        margin: 20px 30px 20px 20px;
    }
    .link{
        margin-left: 20px;
        font-size: 15px;
    }
}

@media screen and (max-width : 767px){
    .contents{
        display: none;

    }
}

/* ======================================================================
    ナビゲーションメニュー
==========================================================================*/
.menu{
    display: none;
}

@media screen and (max-width : 767px){
    .btn {
        width: 60px;
        height: 60px;
        background-color: #423302;/*p2+*/
        position: fixed;
        top:10px;
        right:15px;
        opacity: 0.8;
        z-index: 10001;
        display: block;
      }
      
      .btn span {
        width:50%;
        border: 2px solid #fffff8;/*li2+*/
        background-color: #fffff8;/*li2+*/
        position: absolute;
        top:25%;
        left: 22%;
        transition: 0.3s;
      }
      .btn span:nth-child(2) {
        top:48%;
      }
      .btn span:nth-child(3) {
        top:72%;
      }
      .active:nth-child(1) {
        top:47%;
        left: 17%;
        width: 60%;
        transform: rotate(-45deg);
      }
      .active:nth-child(2) {
        opacity: 0;
      }
      .btn .active:nth-child(3) {
        width: 60%;
        top:47%;
        left: 17%;
        transform: rotate(45deg);
      }
      
      
      .menu {
        display: block;
        background-color: #423302;
        box-shadow: 0 0 20px rgba(22, 22, 22, 0.1);
        overflow: hidden;
        width: 40%;
        height: 100vh;
        position: fixed;
        padding-top: 100px;
        top: 0;
        right: -40%;
        transition: 0.5s;
        z-index: 10000;
      }
      .menu p {
          width: 90%;
          height: 10vh;
          border-bottom: 0.1px solid #885d00;
          margin: 0 auto;
          text-align: center;
          align-content: space-evenly;
          font-size: 17px;
      }
      
      

        .activeCont {
            opacity: 1;
        }
      
      
      .activeBtn {
        right: 0;
      }
      
      a:link {
          color: #fcfcfc;
          text-decoration: none;
      }
      a:visited {
          color: #fcfcfc;
          text-decoration: none;
      }
      a:hover {
          color: #fcfcfc;
      }
      a:active {
          color: #fcfcfc;
      }
}

/* ======================================================================
    ヒーロー
==========================================================================*/
.hero{
    max-width: 100%;
}
.hero_mini{
    display: none;
}

@media screen and (max-width : 767px){
    .hero{
        display: none;
    }

    .hero_mini{
        display: grid;
        max-width: 100%;;
    }

}

/* ======================================================================
    桂之湯とは
==========================================================================*/
.about_container{
    display: flex;
    justify-content: center;
}
.about_honbun{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    line-height: 35px;
    margin-bottom: 50px;
}

@media screen and (max-width : 767px){
    .about_honbun{
        line-height: 25px;
        font-size: 15px;

    }
}

/* ======================================================================
    お風呂・お料理・ご宿泊
==========================================================================*/
.ofuro{
    display: flex;
    justify-content: center;
    margin: 25px 0;
}
.ofuro_img{
    width: 300px;
    margin: 20px;
}

.ofuro_setumei{
    display: grid;
    align-content: center;
    margin: 20px;;
}
.ofuro_name{
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 20px;
}
.ofuro_honbun{
    width: 310px;
    line-height: 20px;
}

@media screen and (max-width : 767px){
    .ofuro{
        display: grid;
        align-content: center;
    }
}

/* ======================================================================
    アクセス
==========================================================================*/
.access_contents{
    display: grid;
    align-content: center;
    justify-items: center;
}
.map{
    width: 600px;
    height: 600px;
    margin-bottom: 30px;
}

.access_adress{
    margin-bottom: 50px;
}
@media screen and (max-width : 767px){

    .map{
        width: 300px;
        height: 300px;
    }

    .access_adress{
        font-size: 14px;
        line-height:20px;
    }
}

/* ======================================================================
    アクセス
==========================================================================*/

footer{
    background-color: #423302;
    display: flex;
    justify-content: center;
    padding: 30px;
}

.footer_logo{
    width: 180px;
}

/* ======================================================================
    アクセス
==========================================================================*/


#contact{
    margin: 100px;
    color: #3B3B3B;
  }

  /* フォーム */
  .Form {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
  }
  .Form-Item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
  }
  
  .Form-Item:nth-child(5) {
    border-bottom: 1px solid #ddd;
  }
  .Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center;
  }
  
  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }
  
  .Form-Item-Label-Required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 60px;
    display: flex;
    justify-content: center;
    background: #977e64;
    color: #fff;
    font-size: 14px;
    border: solid 0.1px#645442;
    margin-left: 100px;
  }
  
  .Form-Item-Input {
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    height: 48px;
    flex: 1;
    width: 90%;
    max-width: 410px;
    background: #fcfcfc;
    font-size: 18px;
  }
  
  .Form-Item-Textarea {
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    height: 216px;
    width: 90%;
    max-width: 410px;
    background: #fcfcfc;
    font-size: 18px;
  }
  
  .Form-Btn {
    border-radius: 6px;
    border: 0.25px solid #6b5945;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #977e64;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 50px
  }
  
  
  
  @media (max-width: 800px) {
    .Form-Item {
      display: grid;
    }
    .Form-Item-Textarea{
      margin:10px;
    }
    .Form-Item-Input{
      margin:10px;
    }
    .Form-Item-Label-Required {
      margin: 10px;
    }
    .Form-Btn {
      width: 180px;
    }
  }
  
  @media (max-width: 675px) {
    #contact{
      margin: 60px 30px;
    }
    .Form {
      margin-top: 30px;
    }
    .Form-Btn {
      margin-top: 15px;
      padding-top: 10px;
      padding-bottom: 10px;
      width: 150px;
      font-size: 15px;
    }
    }
  