*{
  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;
    background-color: #F6E9D8;
    letter-spacing: 0.1em;
    -webkit-text-size-adjust: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}
/* メニュー全体のデザイン */
#gnav {
  text-align: center;
}

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: -327px;
  z-index: 4;
  /* デザイン指定 */
  background-color: #28bfe7;
  width: 165px;
  /* 最初は非表示にする */
  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;
}

h2{
  margin-top: 70px;
  position: relative;
  display: inline-block;
  font-size: 30px;
  padding: 0 130px;
  margin: 100px auto;

}
  
h2:before, h2:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 120px;
    height: 2px;
    border-top: solid 1px ;
}
  
h2:before {
    left:0;
}

h2:after {
    right: 0;
}

.qa-008 dt {
    margin-bottom: 1em;
    padding: 1em;
    color: #fff;
    font-weight: 600;
    background-color:  #643E0D;
    text-align: left;
}

.qa-008 dt::before,
.qa-008 dd::before {
    margin-right: .4em;
}

.qa-008 dt::before {
    content: "Q.";
}

.qa-008 dd {
    margin: 0 0 2.5em;
    padding: 1em 1.5em;
    background-color: #F6E9D8;
    color: #333333;
    text-align: left;
    height: 100px;
}

.qa-008 dd::before {
    content: "A.";
}

.header{
  display: none;
}

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;
}

hr{
  border-top: 20px solid #643E0D;
}

.footer-nav2{
  width: 158px;
}

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

.footer-icon{
  margin-left: 450px;
  margin-top: -62px;
}

.footer-icon a,
.footer-icon img{
  display: block;
  margin: auto;
}

/*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;
}

/* sp対応 */

@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{
  position: relative;
  display: inline-block;
  font-size: 18px;
}

h2:before, h2:after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 120px;
    height: 2px;
    border-top: solid 1px ;
}

h2:before {
    left:0;
}

h2:after {
    right: 0;
}

.qa-008{
    font-size: 20px;
}

.qa-008 dt {
    margin-bottom: 1em;
    padding: 1em;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

.qa-008 dt::before {
    content: "Q.";
}

.qa-008 dd {
  margin: 0 0 2.5em;
  padding: 1em 1.5em;
  text-align: left;
  height: 210px;
  font-size: 16px;
}

.qa-008 dd::before {
    content: "A.";
}

footer{
  display: block;
  height: 425px;
  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;
}

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