/* Default ---------------------------------------------------------------- */
html {
  height: 100%;
}
/* Global */

body {
  font-family: "Noto Sans JP", "Arial", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  color: #333333;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  height: 100%;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

/*title*/

h2 {
  font-size: 25px;
  color: #4d4d4d;
  line-height: calc(24/25);
  font-weight: bold;
  border-bottom: 2px solid #fbcd8f;
  padding-bottom: 16px;
  display: flex;
  justify-content:space-between;
  align-items: center;
}

h2 a.list-btn {
  display: inline-block;
  font-weight:normal;
  background: #f4c834;
  white-space: nowrap;
  font-size: 14px;
  line-height: 18px;
  padding: 3px 10px;
  margin-right: 20px;
}

h2 a.list-btn:after {
  content:"▶";
  font-size: 12px;
  padding-left: 5px;
}

h2 a.list-btn:hover {
  opacity: 0.7;
}

#contents h3 {
  font-size: 16px;
  font-weight: bold;
  padding: 0.5em;
  border-bottom: dotted 2px #fbcd8f;
  margin: 20px 0 20px;
}


/* Global ----------------------------------------------------------------- */

body {
  color: #333;  
  background-color: #fff; 
}
body.home,
body.post-type-archive,
body.search,
body.single,
body.post-template-default,
body.cusutom_post_type_02-template-default,
body.page-template-default,
body.error404 {
  background: url("../img/bg_main.png");
}

a {
  color: #4D4D4D; 
  transition: 0.3s;
}

a:hover {
  text-decoration: none;
}

a img {
  transition: 0.5s;
}

a:hover img {
  opacity: 0.7;
}


/* Header ----------------------------------------------------------------- */

header {    
  width: 100%;
  background: #fff;
  box-sizing: content-box;
}

header a {
  color: #fff;
}

header #header-inner {
  width: 900px;  
  height: 112px;
  margin: 0 auto;
  position: relative;
}

header #header-inner h1 {
  position: absolute;
  left: 0;
  bottom: 10px;
}

header #header-inner .form {
  border:1px solid #000;
  display: flex;
  position: absolute;
  right: 0;
  top:33px;
  width: 220px;
  height: 24px;
  padding: 0 10px 0 0;
}

header #header-inner input.keyword {
  line-height: 24px;
  width: 100%;
    outline: none;
  margin-left: 3px;
}
header #header-inner input.submit {
  display: block;
    width: 16px;
    height: 22px;
    border-color: transparent;
    background-color: transparent;
    background-image: url(../img/icon_search.png);
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: right;
    padding: 0 10px;
}
header #header-inner .header_btn {
  background: #3533a0;
  border-radius: 5px;
  font-size: 18px;
  padding: 3px 22px;
  position: absolute;
  right: 0;
  bottom: 10px;
}
header #header-inner .header_btn i {
}
header #header-inner .header_btn:hover {
  opacity: 0.7;
}
nav {
  width: 100%;
  min-width: 900px;
  height: 49px;
  background: #f79b1e;

}
nav .gnav {
  width: 797px;
  height: 49px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

nav .gnav li {
  width: 132px;
  font-size: 16px;
  color: #fff;
  text-align: center;
}

nav .gnav li a {
  display: block;
  color: #fff;
  display: table;
  padding: 12px 0;
}

nav .gnav li a:hover {
  background: #f4c834;
  color: #4d4d4d;
  font-weight: bold;
}

nav .gnav li a span {
  width: 132px;
  border-right: 1px solid #fff;
  height: 18px;
  display: table-cell;
  vertical-align: middle;
}

nav .gnav li:last-child  a span {
  border-right:none;
}

nav.globalMenuSp {
  display: none;
  right: -120%;
}
/* main ---------------------------------------------------------------- */
main {
  width: 100%;
  margin: 0 auto;
  z-index: 10;
}

/* #container ---------------------------------------------------------------- */
#container,.m-information {
  width: 900px;
  min-height: 500px;
  margin: 0 auto;
  background-color: #fff;
  /*display: flex;*/
  justify-content: space-between;
  padding: 23px 0 26px;
  position: sticky;
  z-index: 2;
}
#container::after {
    content:'';
    display: block; 
    clear:both;
}

.m-information {
    padding: 30px 4% 100px;
}

/* #side ---------------------------------------------------------------- */
#side {
  width: 205px;
  font-family: "Noto Sans JP", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}
#container #side {
  float: left;
}

#side h3 {
  background: #f79b1e;
  color: #fff;
  font-weight: bold;
  padding-left: 19px;
  line-height: calc(24/14);
  border-radius: 0 20px 20px 0;
  margin-bottom: 14px;
}

#side ul.side-person {
  margin: 0 0 25px 19px;
}

#side ul.side-person li {
  margin-bottom: 9px;
}

#side dl.side-report {
  margin: 0 0 25px 19px;
}

#side dl.side-report dt {
  font-size: 16px;
  font-weight: bold;
  color: #F79B1E;
}

#side dl.side-report dt:not(:last-child) {
  margin-top: 10px;
}

#side dl.side-report dd {
  margin-left: 16px;
  font-weight: bold;
  line-height: calc(29/14);
}

#side dl.side-report dd a {
  color: #4D4D4D;
}

#side dl.side-report dd a:hover {
  text-decoration: underline;
}

#side dl.side-report dd:before {
  content: "▶";
  color: #F79B1E;
  padding-right: 3px;
  
}

#side h3.tit-archive {
  background: #f4c834;
  color: #000;
}

#side ul.side-archive {
  margin: 0 0 15px 19px;
}

#side ul.side-archive li {
  font-weight: bold;
  line-height: calc(29/14);
  margin-left: 16px;
}

#side ul.side-archive li a {
  color: #4D4D4D;
}

#side ul.side-archive li a:hover {
  text-decoration: underline;
}

/* #contents ---------------------------------------------------------------- */
#contents {
  width: 675px;
}
#container #contents {
  float: right;
}

/* Footer ----------------------------------------------------------------- */

footer { 
  text-align: center;
  margin-top: -125px;
  position: sticky;
  top: 100vh;
  width: 100%;   
}
footer #footer-top {
  background: #f79b1e;
  height: 147px;
}

footer #footer-bottom {
  background-color: #fff;
  padding: 30px 0 20px;
} 

footer #footer-inner {
  position: relative;
  width: 900px;
  margin: 0 auto;
}

footer #footer-bottom #footer-inner .logo-footer {
  margin-bottom: 15px;
}

footer #footer-bottom #footer-inner .text01 {
  font-weight: bold;
  font-size: 12px;
  line-height: calc(17/12);
  margin-bottom: 20px;
}

footer #footer-bottom #footer-inner .footer-link {
  position: absolute;
  bottom: -8px;
  right: -26px;
  display: flex;
}

footer #footer-bottom #footer-inner .footer-link li {
  font-size: 10px;
  margin-right: 10px;
}

footer #footer-bottom #footer-inner .footer-link li a {
  color: #000;
}

footer #footer-bottom #footer-inner .footer-link li:before {
  content: "▶";
  color: #F79B1E;
}

footer #footer-bottom #footer-inner .footer-link li a:hover {
  text-decoration: underline;
}

.copyright {
  background: url("../img/bg_main.png");
  font-family: "Arial", "メイリオ";
  font-size: 14px;
  line-height: 45px;
  text-align: center;
}
/* PageTop ----------------------------------------------------------------- */
#page-top {
position: fixed;
bottom: 30px;
right: 50px;
z-index:100;
}
 
#page-top a{
display:block;
width:77px;
height:92px;
padding-top:60px;
overflow:hidden;
background:url("../img/page_top.png") no-repeat;
    background-size: 100% auto;
text-indent:-9999px;
}
/*#page-top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #E50012;
  opacity: 0.8;
  border-radius: 50%;
  letter-spacing: 0.1em;
    z-index: 100;
}
#page-top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page-top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page-top a::after{
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
*/

@media screen and (max-width: 768px) {
	/* 768px以下に適用されるCSS（スマホ用） */
  /* Global */

    body  {
      font-size: 14px;
      font-weight: 400;
      line-height: 1.7;
    }

    /*title*/
    h2 {
      font-size: min(5vw,18px);
      color: #4d4d4d;
      line-height: calc(24/25);
      font-weight: bold;
      border-bottom: 2px solid #fbcd8f;
      padding-bottom: 10px;
    }

    h2 a.list-btn {
      font-size: 12px;
      line-height: 16px;
      padding: 2px 8px;
      margin-right: 10px;
    }

    h2 a.list-btn:after {
      content:"▶";
      font-size: 10px;
      padding-left: 5px;
    }

    #contents h3 {
      font-size: min(3.88vw,14px);
    }


    /* Global ----------------------------------------------------------------- */
    .pc {
      display: none;
    }
    .sp {
    }
    .br:after {
  content: '\A';
  white-space: pre;
    }

    /* Layout ----------------------------------------------------------------- */
    #content { 
      padding-top: 55px;  
      padding-bottom: 12.8vw;  
    }

    #container-inner {
      width: 100%;
      margin-right: 0;
      margin-left: 0;
    }

    #header-inner,
    #footer-inner {
      position: relative;
      width: 96%;
      max-width: 980px;
      margin: 0 auto;
    }

    /* Header ----------------------------------------------------------------- */

    header {    
      width: 100%;
      background: #fff;
      box-sizing: content-box;
      height: 50px;
      z-index: 30;
      padding: 2px 0;
      position: fixed;
	    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    }

    header a {
      color: #fff;
    }

    header #header-inner {
      width: 96%;
      max-width: 900px;
      height: 50px;
      margin: 0 auto;
      position: relative;
    }

    header #header-inner h1 {
      position: absolute;
      left: 0;
      top:14px;
      font-size: 0;
    }

    header #header-inner h1 img {
      width: 280px;
    }
   
    /*　ハンバーガーメニューボタン　*/
    .hamburger {
      display : block;
      position: absolute;
      z-index : 50;
      right : 0;
      top   : 4px;
      width : 42px;
      height: 42px;
      cursor: pointer;
      text-align: center;
    }
    .hamburger span {
      display : block;
      position: absolute;
      width   : 30px;
      height  : 2px ;
      left    : 6px;
      background : #f79b1e;
      -webkit-transition: 0.3s ease-in-out;
      -moz-transition   : 0.3s ease-in-out;
      transition        : 0.3s ease-in-out;
    }
    .hamburger span:nth-child(1) {
      top: 10px;
    }
    .hamburger span:nth-child(2) {
      top: 20px;
    }
    .hamburger span:nth-child(3) {
      top: 30px;
    }

    /* スマホメニューを開いてる時のボタン */
    .hamburger.active span:nth-child(1) {
      top : 20px;
      left: 6px;
      background :#f79b1e;
      -webkit-transform: rotate(-45deg);
      -moz-transform   : rotate(-45deg);
      transform        : rotate(-45deg);
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
      top: 20px;
      top: 20px;
      background :#f79b1e;
      -webkit-transform: rotate(45deg);
      -moz-transform   : rotate(45deg);
      transform        : rotate(45deg);
    }

    /* メニュー背景　*/
    nav.globalMenuSp {
      display: block;
      min-width: inherit;
      position: fixed;
      z-index : 2;
      top  : 54px;
      right : -120%;
      color: #fff;
      background:#f79b1e;
      text-align: center;
      width: 92%;
      transition: all 0.6s;
      height: 100vh;/*表示する高さ*/
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }

    nav.globalMenuSp ul {
      margin: 0 auto;
      padding: 0;
      width: 100%;
      border-bottom: 1px solid #fff;
      text-align: left;
    }

    nav.globalMenuSp ul li {
      width: 100%;
      margin: 0 auto;
      transition: .4s all;
      border-bottom: 1px solid #fff;
    }
    nav.globalMenuSp ul li:last-child {
      padding-bottom: 0;
      border-bottom: none;
    }

    nav.globalMenuSp ul li a {
      display: block;
      color: #fff;
      padding: 1em 4%;
      text-decoration :none;
      background: #f79b1e;
      font-weight: bold;
      position: relative;
    }

    nav.globalMenuSp ul li a:after {
      content: "▶";
      position: absolute;
      right: 4%;
      font-size: 10px;
      top: 50%;
      transform: translateY(-50%);
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
    }
  
    #header a {
      color: #fff;
    }

    /* クリックでjQueryで追加・削除 */
    nav.globalMenuSp.active {
      opacity: 100;
      display: block;
      top:54px;
      right: 0;
    }
  
  /* main ---------------------------------------------------------------- */
    main {
      width: 100%;
      margin: 0 auto;
      z-index: 10;
      padding-top: 54px;
    }

    /* #container ---------------------------------------------------------------- */
    #container {
      width: 100%;
      max-width: 900px;
      min-height: 300px;
      margin: 0 auto;
      background-color: #fff;
      padding: 23px 0 26px;
      position: sticky;
      z-index: 2;
    }

    /* #side ---------------------------------------------------------------- */
    #side {
      display: none;
    }

    /* #contents ---------------------------------------------------------------- */
    #contents {
      width: 100%;
      padding: 0 4%;
    }

    /* Footer ----------------------------------------------------------------- */

    footer { 
      text-align: center;
      margin-top: -125px;
      position: sticky;
      top: 100vh;
      width: 100%;   
    }
    footer #footer-top {
      background: #f79b1e;
      height: 147px;
    }

    footer #footer-bottom {
      background-color: #fff;
      padding: 30px 4% 20px;
    } 

    footer #footer-inner {
      position: relative;
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
    }

    footer #footer-bottom #footer-inner .logo-footer {
      margin-bottom: 15px;
      width: 100%;
      max-width: 497px;
    }

    footer #footer-bottom #footer-inner .text01 {
      font-weight: bold;
      font-size: min(3.33vw,12px);
      line-height: calc(17/12);
      margin-bottom: 20px;
    }

    footer #footer-bottom #footer-inner .text02 {
      font-size: min(3.88vw,14px);
    }

    footer #footer-bottom #footer-inner .footer-link {
      display: none;
    }

    .copyright {
      font-size: min(3.88vw,14px);
    }


    /* PageTop ----------------------------------------------------------------- */
    #page-top {
    position: fixed;
    bottom: 20px;
    right: 4%;
    z-index:100;
    }

    #page-top a{
    display:block;
    width:57px;
    height:68px;
    padding-top:60px;
    overflow:hidden;
    background:url("../img/page_top.png") no-repeat;
        background-size: 100% auto;
    text-indent:-9999px;
    }
}
