/* 画面サイズが1279px以下の時はPC用メニューは非表示 */
@media screen and (max-width: 749px) {
  html {
    background-color: white; 
    /*ヘッダーの高さ*/
    scroll-padding-top:65px; 
   } 
  
 .headspace {
   height:60px;
 }
  .pc-element {
    display: none;
  }
  .header {
    height: 60px;
  }
  .logoimg {
    height:35px;
  }
  div.fotterdiv {
    height:50px;
  }
  .fotterunder{
  font-size:8pt;
 }
}
/* 画面サイズが1280px以上の時はスマホ用メニューは非表示 */
@media screen and (min-width: 750px) {
  html {
    background-color: white; 
    /*ヘッダーの高さ*/
    scroll-padding-top:85px; 
   
   } 
  
 .headspace {
   height:80px;
 }
  .sp-element {
    display: none;
  }
  .header {
    height: 80px;

  }
  .logoimg{
    height: 50px;
  }
  div.fotterdiv {
    height:70px;
  }
  .fotterunder{
  font-size:11pt;
 
 }
}
/******************************************/ 

.container {
  padding-bottom: 60px;
  box-sizing: border-box;
}

footer {
  width: 100%;
  /* フッター固定　*/
  position: fixed; 
/*  position: sticky; */
  
  bottom: 0;
  background-color: white;
  /* 背景色などは割愛します */
  text-align:center;
  z-index: 9980;
}

div.fotterdiv {
  display: flex;
  justify-content: center;
  align-items: center;
 
  border-top: 2px solid silver;
 }
/* ===============================================
ヘッダーのスタイリング
=============================================== */
.header {
 
  background-color: #0f5474;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;


}
.header__container {
  /*
  max-width: 1000px;
  */
  display: flex;
  justify-content: space-between;
  /*align-items: center;*/
  align-items: flex-end;
  height: inherit;
  color: black;
  padding: 0 20px;
  margin-right: auto;
  margin-left: auto;
  /*background-color:aliceblue;*/
  background-color: white;
  border-bottom: 8px double silver;
 
}
.header__logo {
 cursor: pointer;
 height: 100%;
 display: flex;
 justify-content: center;
 align-items: center;
}
/*  以下を有効にするとハンバーガメニュー非表示　
.navmenu{
  display:none;
}
 
*/ 


/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
input[type="checkbox"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.hamburger {
  display: block; 
  width: 35px;    /* ３本線メニューの幅 */
  height: 60px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 4px;   /* ３本線の太さ　*/
  background-color:steelblue; /* ３本線メニューのカラー指定　*/
  transition: all 0.5s;

}
.hamburger span::before {
  top: -10px;
}
.hamburger span::after {
  bottom: -10px;
}
input[type="checkbox"]:checked + .hamburger span {
  background-color: transparent;
}
input[type="checkbox"]:checked + .hamburger span::before {
  top: 0;
  transform: rotate(45deg);
}
input[type="checkbox"]:checked + .hamburger span::after {
  bottom: 0;
  transform: rotate(-45deg);
}
	/* コンテンツカバー */
  #check:checked ~ .hamburger-demo-cover{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9990;
    background: rgba(3,3,3,.5);
    display: block;
    margin-top: 60px;/*  ヘッダ高さにする事  */
  }
/* ===============================================
  スマホメニューのスタイリング
=============================================== */
.nav {
  position: fixed;
  width: 80%;
  height: calc(100% - 165px);  /* ウィンドウ高さからヘッダフッタ分の高さを引く　*/
  top: 60px;         /*  ヘッダ高さにする事  */
  right: -120%;
  background-color:white;
  color: #fff;
  padding: 25px 0;    /* ヘッダ下端からメニュー迄の間隔*/
  transition: all 0.5s;
  z-index: 9991;
  overflow: auto;
 }
 .nav__item{
  list-style:none;
 
 }
.nav__item a {
  color:#000000;
  display: block;
  font-size: 16px;
  /*padding: 10px 0 20px 10px;*/
  text-transform: uppercase;
  text-decoration: none;
 /* border-bottom: 0.5px solid steelblue;*/
}

input[type="checkbox"]:checked ~ .nav {
  right: 0;
}
/* ===============================================
  PCメニューのスタイリング
=============================================== */
.PC_list {
  display: flex;
  /*justify-content: center;*/
  /*gap: 10px;*/
  /*background-color: aliceblue;*/
  padding: 0;
  list-style: none;
  align-items: flex-end;
}

.pclink {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  transition: color .15s;
  color: #333;
  text-decoration: none;
}
.pclink:hover,
.pclink:focus {
  color: steelblue;
  font-weight: bold;
  text-decoration:underline 8px;
  text-decoration-color: steelblue;
  text-underline-offset: 0.5em;
}
.pclink-hover::after {
  font-size: 10px;
}

.dropDown {
  position: absolute;
  bottom: 0;
  display: none;
  padding-top :10px;

  background-color: #fff;
  box-shadow: 0px 3px 8px -2px #777;
  color: initial;
  transform: translate(0, 100%);
}

.pclink:hover > .dropDown,
.pclink:focus > .dropDown {
  display: block;
}

.dropDown__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  list-style: none;
 
}

.dropDown__link {
  /* ドロップダウンリスト　左右の余白　*/
  padding-left:  10px;
  padding-right: 10px;

  transition: color .15s;
  color: #333;
  text-decoration: none;
  white-space: nowrap; /* 折り返し禁止*/
}
.dropDown__link:hover,
.dropDown__link:focus {
  color: steelblue;
  font-weight: bold;
}
.dropDown__item{
  /* ドロップダウンリスト　下罫線　*/
  border-bottom: 1px solid gray;
  /* ドロップダウンリスト　上下の余白　*/
  padding-top: 5px;
  padding-bottom: 15px;
}

/*  **************************************** */
/*   ハンバーガ　アコーディオンメニュー         */
/*  **************************************** */ 
.accordion{
  border-bottom: 1px solid steelblue;
}
/*多階層*/
.accordion__summary {
  display: block;
  background: white; /* 見出しの背景色 */
  font-size:16px;
  
  position: relative;
  list-style: none; /* 矢印を消す */
  cursor: pointer;
  padding: 18px;
  color:black;

}
.accordion__summary::-webkit-details-marker {
  display: none;
}
.accordion__summary::after {
  content: "+";
  color:dimgray;  /* 記号の色　*/
  font-size: 1em; /* 記号のサイズ */
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border: solid 0.5px dimgray;
  border-radius: 2px;
  padding: 1.5px;  /*+と枠の余白*/
 
}
.accordion[open] .accordion__summary::after {
  content: "−";
 }
.accordion__detail {
  padding: 4px 10px;
  margin: 10px 0;
  color:dimgray;
}
/*1階層*/
.nav_li_div{
  background-color: white;
  padding: 15px;
  border-bottom: 1px solid steelblue;
}
.accordion__div {
  background-color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  border-bottom: 0.5px solid lightgray;

}

/**********************************************/
/*        ＣＳＳアイコン                       */
/**********************************************/
.arrow{
  width: 100%;  /* リンク領域の幅　*/
  position: relative;
  display: inline-block;
  color: #000;
  vertical-align: middle;
  text-decoration: none;
 
}
/* 矢印アイコン１ */
.arrow::after{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  
  /* 矢印アイコンサイズ（長さ） */
  width: 0.4em;  
  height: 0.4em;
  
  /* 矢印アイコンの色,太さ指定　*/
  border-top: 2px solid dimgray; 
  border-right: 2px solid dimgray;
  
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/*  矢印アイコン２ */
.round_arrow {
  position: relative;
  padding-left: 32px;
}
 
.round_arrow::before { /* 背景の表示設定 */
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 18px; /* 横幅 */
  height: 18px; /* 高さ */
  border-radius: 10%; /* 角の丸み */
  /*background: #4682b4;*/
  border: solid 0.5px dimgray;
}
 
.round_arrow::after { /* くの字の表示設定 */
  content: "";
  position: absolute;
  margin: auto;
  top: 2;
  bottom: 2;
  left: 10px;
  width: 6px;
  height: 6px;
  border-top: 1px solid dimgray;
  border-right: 1px solid dimgray;
  transform: rotate(45deg);
}

.triangle_arrow {
  position: relative;
  padding-left: 30px;
}
 
.triangle_arrow::before { /* 三角形の表示設定 */
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1px; /* 要素の左からの距離=文字との間隔 */
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #4682b4;
}





.header-list {
  display: flex;
  justify-content: center;
}
.header-item {
  transition: background-color .3s;
}
.header-item:hover {
 /* background-color:gainsboro;*/
  color: steelblue;
  text-decoration:underline 4px;
  text-decoration-color: steelblue;
  text-underline-offset: 0.5em;
}
.header-item a {
  color:#333;

  display: block;
  padding: 20px;
}
.megaMenu {
  /*background-color:whitesmoke;*/

  height: 0;
  left: 0;
  overflow: hidden;
  position: absolute;
  text-align: center;
  transition: height .3s;
  width: 100%;
}
.megaMenu_wraper{
  background-color:white;
  height:95%;
  border-top: 1px solid gainsboro;
  border-bottom: 3px double black;
}
.megaMenu-list {
  padding-bottom: 30px;
  padding-top: 30px;


}
.megaMenu-item {
  display: inline-block;
}

.megaMenu-item:hover {
   color: steelblue;
  text-decoration:underline 4px;
  text-decoration-color: steelblue;
  text-underline-offset: 0.5em;
}
/* メニューをhoverした時のスタイル */
.header-item:hover .megaMenu {
  height: 116px;
}
/* レイアウトのためのスタイル */
a {
  text-decoration: none;
}
