/*======================================
	Head
=======================================*/
#head {
  border-bottom:1px solid #c4c4c4;
  margin-bottom:30px;
  padding:10px 0;
  overflow: hidden;
  clear:both;
}
.head_wrapper {width:1150px;}
h1.copy {
  font-size:12px;
  line-height:1.5;
	text-align:left;
  font-weight:normal;
  float:left;
}
h2.logo {
  margin-bottom:15px;
  overflow: hidden;
  clear:both;
}

/*---------- menu ----------*/
#menu li {
    text-align:center;
	font-weight:bold;
    color:#313131;
	letter-spacing: 0.5px;
}
#menu li a { color:#313131; }

/*============================
 PC
============================*/
@media screen and ( min-width: 1025px ){
  h2.logo { width: 242px; height: 100px; }
  
  /*---------- submenu ----------*/
  ul.head_subnavi_sp { display: none; }
  ul.head_subnavi { float: right; }
  .head_subnavi li {
    margin-left:20px;
    font-size:11px;
    line-height:1.5;
    text-align:right;
    font-weight:normal;
    color:#313131;
    display: inline-block;
  }
  .head_subnavi li a {color:#313131;}
  
  /*---------- gnavi ----------*/
  #menu ul {
        width: 1150px;
        font-size: 0;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
  #menu li {
    margin-bottom:15px;
    font-size:13px;
    line-height:28px;
    display: inline-block;
  }
    #menu li {
        width:14.3%;
        border-left: 1px solid #c4c4c4;
    }
    #menu li:last-child {
        border-right: 1px solid #c4c4c4;
    }
/*---------- doropdown menu ----------*/
    .dropmenu {
      position: relative;
      display: inline-block;
    }
    .dropmenu > a {
      color: #fff;
      display: inline-block;
      cursor: pointer;
    }
    .dropdown {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: #fff;
      min-width: 164px;
      z-index: 10;
    }
    .dropdown a {
      display: block;
      padding: 8px;
      text-decoration: none;
      color: #333;
      border-top: 1px dotted #787878;
    }
    .dropdown a:last-child {
        border-bottom: 1px dotted #787878;
    }
    .dropdown a:hover {
      background: #f0f0f0;
    }
    /* ホバーで表示 */
    .dropmenu:hover .dropdown {
      display: block;
    }
/*---------- doropdown menu ----------*/
}

/*============================
 Tablet / Smartphone
============================*/
@media only screen and ( max-width: 1024px ) {
  h1.copy {display:none;}
  h2.logo {width:50%;margin-top:40px;}
  #head {
    border-bottom:0;
    margin-bottom:0;
    padding:0;
    overflow: hidden;
    clear:both;
  }
  /*---------- submenu ----------*/
  ul.head_subnavi{display: none;}
  ul.head_subnavi_sp{
    background-color: #b7b6b4;
    padding:15px;
    width:90%;
    height:auto;
    overflow: hidden;
  }
  .head_subnavi_sp li {
    /* margin-left:2%; */
    width:44%;
    /* font-size:116%; */
    line-height:1.5;
    text-align:center;
    font-weight:normal;
    color: #313131;
    display: inline-block;
  }
  .head_subnavi_sp li.half {border-right:1px solid #d4d3d2;}
  .head_subnavi_sp li a {color:#313131;}
  
  /*---------- gnavi ----------*/
  nav {
    display: none;
    position: absolute; /*これ大事！*/
    width: 100%;
    padding: 40px 0;
    background-color: #edebe9;
    top:150px;
    left:0;
    z-index: 9999;
    height: 500%;
    overflow-y: scroll;
    overflow-x: hidden;
    opacity: 0.95;
    margin-bottom: 1em;
  }
  #menu {
      margin-top: 45px;
    }
  #menu li a {
    border-bottom: 1px solid #c5c3c1;
    padding: 10px;
    border-right: 0;
    font-size: 120%;
    line-height: 1.7;
    font-weight: normal;
    text-align: center;
    letter-spacing: 1px;
    display: block;
    clear: both;
  }
/*---------- doropdown menu ----------*/
.dropmenu .toggle {
    display: block;
    /* padding: 12px;
    background: #333; */
    text-decoration: none;
    cursor: pointer;
    font-size: 130%;
    line-height:  1.7;
    font-weight: normal;
    border-bottom: 1px solid #c5c3c1;
    padding: 10px;
}
.dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #e9e9e9;
  width: 100%;
}
#menu li .dropdown a {
  display: block;
  font-size: 110%;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px dotted #787878;
}
.dropdown a:hover {
  background: #eee;
}
/* アクティブなときに展開 */
.dropmenu.active .dropdown {
  max-height: 500px; /* 十分な高さにするか、JSで動的に調整 */
}
/*---------- doropdown menu ----------*/

  /*----- ハンバーガーメニュー -----*/
  .menu-trigger,
  .menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }
  .menu-trigger {
    position: relative;
    width: 40px;
    height: 36px;
    right:-40%;
    top:-70px;
  }
  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #282828;
    border-radius: 4px;
  }
  .menu-trigger span:nth-of-type(1) {top: 0;}
  .menu-trigger span:nth-of-type(2) {top: 16px;}
  .menu-trigger span:nth-of-type(3) {bottom: 0;}
  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(16px) rotate(-45deg);
    transform: translateY(16px) rotate(-45deg);
  }
  .menu-trigger.active span:nth-of-type(2) {opacity: 0;}
  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-16px) rotate(45deg);
    transform: translateY(-16px) rotate(45deg);
  }
}