*{
    margin:0;
    padding:0;
    box-sizing: border-box;
  }

body {
    font-size: 13px;
    font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Hiragino Sans", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1.875;
    color: #707070;
    letter-spacing: 0.1em;
    -webkit-text-size-adjust: 100%;
      text-align: center;
      align-items: center;
      justify-content: center;
      margin: 0;
      padding: 0;
      background-color: #F6E9D8 
}

.header-logo{
    height: 70px;
    margin-top: 3px;
    padding: 0;
    width: 267px;
}

/* メニュー全体のデザイン */
#gnav {
    color: #fff;
    text-align: center;
    height: 102.333px;
  }

h1{
margin-left: -960px;
display: inline;
}
  
  /* メニューを横並びにする */
  #gnav ul {
    display: flex;
    justify-content: right;
    width: 905px;
    margin-left: 313px;
    margin-top: -61px;
  }

  /* ２階層目 以降のメニューは縦並びにする */
#gnav ul ul {
    display: block;
  }
  
  /* liを下層メニューのulや矢印の基点にする */
  #gnav ul li {
    position: relative;
  }
    
  /* ２・３階層目 共通設定 */
  #gnav li.parent ul {
    /* 位置指定 */
    position: absolute;
    left: 0;
    top: 125px;
    left: -354px;
    z-index: 4;
    /* デザイン指定 */
    background-color: #28bfe7;
    width: 173px;
    /* 最初は非表示にする */
    visibility: hidden;
    opacity: 0;
    /* アニメーション */
    transition: all 0.3s;
    font-size: 13px;
  }

  /* メニューリンクの設定 */
#gnav ul li a {
    display: block;
    color: #999;
    padding: 20px 35px;
    transition: all 0.3s; /* アニメーションの動きの速度 */
  }
  
  #gnav ul li li a {
    padding: 10px 31px;
  }
  
  #gnav ul li a:hover {
    color: #fff;
  }
  
  /* hoverしたら表示する */
  #gnav li.parent:hover > ul,
  #gnav li.parent ul li:hover > ul,
  #gnav li.parent:active > ul,
  #gnav li.parent ul li:active > ul {
    visibility: visible;
    opacity: 1;
  }

  /* 下層メニューのaタグのデザイン */
#gnav li.parent ul li a {
    color: #fff;
    border-bottom: solid 1px rgba(255, 255, 255, 0.6);
  }
  
  #gnav li.parent ul li:last-child > a {
    border-bottom: none;
  }
  
  #gnav li.parent ul li a:hover,
  #gnav li.parent ul li a:active {
    background-color: #3577ca;
  }

.header{
    display: none;
}

h2{
    margin: 109px 0 50px 0;
    background-color: #643E0D;
    color: #fff;
    font-size: 30px;
  }

.gaikan img,
.google-map{
  margin: 50px auto;
}

iframe{
  width: 100%;
  height: 500px;
}

.address{
  height: 155px;
  text-align: center;
  display: block;
}

.detail{
  text-align: left;
  display: inline-block;
}

hr{
  height: 20px;
  background-color: #643E0D;
  margin: 25px auto;
}

footer{
    display: flex;
    height: 260px;
}
  
.footer-logo{
    height: 60px;
    align-items: center;
    margin-top: 72px;
    margin-left: 154px;
}

.footer-nav{
    margin-left: 50px;
    margin-top: -20px;
}
  
.links{
    display: flex;
    margin-top: 36px;
    margin-left: 58px;
}
  
.footer-nav1{
    display: flex;
    margin-top: 80px;
}
  
.link{
    margin-left: 58px;
    font-size: 16px;
}
  
.link-item{
      margin-left: 58px;
      width: 150px;
      height: 25px;
      text-align: left;
}
  
.footer-menu{
  font-size: 10px;
  margin-top: 5px;
  margin-left: -60px;
}
  
.f-sub-menu-item:first-child {
    margin-top: -16px;
}
  
.f-sub-menu-item{
  font-size: 10px;
  position: relative;
  margin-left: 171px;
  text-align: left;
}
  
.f-sub-menu-item:before {
  position: absolute;
  top: 50%;
  left: -10px;
  content: "";
  display: block;
  width: 4px;
  height: 1px;
  background-color:#707070;
}
  
.footer-nav2{
    width: 158px;
}
  
.footer-nav a{
    font-size: 10px;
}
  
/*1. デオフォルト非表示にする*/
#modal {
  display: none;
}

/*2. 内部リンククリックで適用する*/
#modal:target{
  width: 100%;
  height: 100%;
  position: absolute; 
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*3. メッセージBOX（テキスト部）*/
#modal .message-box {
  position: relative;
  background-color:  gold;
  padding: 20px;
  height: 80px;
  cursor: default;
  margin-top: 1312px;
}

/*4. 閉じる領域のためのアンカー*/
#modal .close {
  position: relative;
  display: block;
}

/*5. 枠外の閉じる領域*/
#modal .close::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  cursor: default;
}

/*6. 閉じるボタン*/
#modal .close::after {
  content: "x";
  color: white;
  position: absolute;
  right: -1rem;
  top: -1rem;
  width: 2rem;
  height: 2rem;
  z-index: 1;
  border-radius: 50%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.tomodatituika{
    display: none;
}

.link-item-img,
.modal-img{
  margin-top: -23px;
  margin-left: 73px;
}

.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
}

.modal-button {
    text-align: center;
    cursor :pointer;
    transition: all 0.3s;
    text-decoration: none;
    padding-right: 70px;
}

.modal-img{
  width: 20%;
  margin-left: 69px;
  margin-top: -25px;
}

.modal-button:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/

}

/*アイコンを表示*/
.modal-button:after {
font-family: "Font Awesome 5 Free";
  content: "\f2d0";
    padding-left: 8px;
    display: none;
}

/*ラベルホバー時*/
.modal-button:hover {
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 37%;
  max-width: 600px;
  padding: 10px 30px 25px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 80vh;
  overflow-y: auto;
  text-align: left
}

.modal_title {
  font-size: 1.5em;
	position: relative;
	overflow: hidden;
  padding: 0;
}

.modal_title::before,
.modal_title::after{
	content: "";
	position: absolute;
	bottom: 0;
}

/* h2 プライマリカラー*/
.modal_title:before{
	border-bottom: 4px solid #6bb6ff;
	width: 100%;
}
/* h2 セカンダリカラー*/
.modal_title:after{
	border-bottom: 4px solid #c8e4ff;
	width: 100%;
}

.modal-content p {
  margin: 10px 0 0 0;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 35px;
  color: #95979c !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}
  
.copyright{
    text-align: center;
    font-size: 12px;
    background-color: #643E0D;
    color: #fff;
}

@media screen and (max-width: 768px){
  #gnav{
    display: none;
}

.header {
  background-color: rgba(86, 80, 66, 0.5);
  display: flex;
  align-items: center;
  position: relative;
}

/* ここから下がハンバーガーメニューに関するCSS */
  .drawer_hidden {
  display: none;
}
.drawer_open {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
  margin-right: 10px;
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

.drawer_open span:before {
  bottom: 8px;
}

.drawer_open span:after {
  top: 8px;
}

#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
  background-color: #fff;
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: #fff;
}

.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0%;
  left: 100%; 
  z-index: 99;
  background: #333;
  transition: .5s;
  text-align: center;
  padding-top: 20px;
  color: #fff;
}

.nav_list {
  list-style: none;
}

.nav_item a {
  color: #fff;
  text-decoration: none;
}

#drawer_input:checked ~ .nav_content {
  left: 0;
}

h1{
width: 150px;
display: inline;
margin: 10px;
}

.nav_content ul {
  display: block;
  text-align: left;
}

.nav_content ul ul {
  display: block;
}

.nav_content ul li {
  position: relative;
}

.nav_content li.parent ul {
  position: absolute;
  top: 14px;
  left: 100px;
  /* left: -327px; */
  z-index: 4;
  /* デザイン指定 */
  background-color: #28bfe7;
  width: 165px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  font-size: 13px;
}

.nav_content ul li a {
  display: block;
  color: #999;
  padding: 20px 35px;
  transition: all 0.3s; 
}

.nav_content ul li li a {
  padding: 10px 35px;
}

.nav_content ul li a:hover {
  color: #fff;
}

.nav_content li.parent:hover > ul,
.nav_content li.parent ul li:hover > ul,
.nav_content li.parent:active > ul,
.nav_content li.parent ul li:active > ul {
  visibility: visible;
  opacity: 1;
}

.nav_content li.parent ul li a {
  color: #fff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.6);
}

.nav_contentli.parent ul li:last-child > a {
  border-bottom: none;
}

.parent ul li a {
  padding: 0;
  font-size: 8px;
  margin: 0;
  padding-top: -130px;
}

.nav_content li.parent ul li a:hover,
.nav_content li.parent ul li a:active {
  background-color: #3577ca;
}

h2{
  font-size: 18px;
}

.gaikan img,
.google-map{
  margin: 95px auto;
}

iframe{
  width: 98%;
  height: 250px;
  margin-top: 50px;
}

.address{
height: 155px;
}

.detail li{
  font-size: 16px;
}

hr{
height: 20px;
}

footer{
  display: block;
  height: 330px;
  text-align: center;
  background-size: contain;
}

.footer-logo{
  width: 70px;
  height: 20px;
  margin: 50px auto 20px;
}

.footer-nav{
  width: 106px;
  margin: auto;
}

.links{
  display: flex;
}

.footer-nav1{
  display: block;
  margin: 0;
  margin-left: -158px;
}

.link{
  font-size: 16px;
}

.link-item{
    width: 150px;
    height: 25px;
    text-align: left;
}

.footer-menu{
font-size: 10px;
text-align: left;
margin-left: 57px;
}

.f-sub-menu-item:first-child {
  margin-top: -16px;
}

.f-sub-menu-item{
font-size: 10px;
position: relative;
margin-left: 43px;
text-align: left;
}

.f-sub-menu-item:before {
position: absolute;
top: 50%;
left: -10px;
content: "";
display: block;
width: 4px;
height: 1px;
background-color:#707070;
}

.footer-nav2{
  width: 158px;
  margin-left: 58px;
}

.footer-nav a{
  font-size: 10px;
}

.line{
  display: none;
}

.tomodatituika{
  display: block;
  margin-bottom: 60px;
}

.copyright{
  text-align: center;
  font-size: 12px;
  background-color: #643E0D;
  color: #fff;
}
}