@charset "UTF-8";

:root {
  --body-bg-color: #fff;
  --main-font: "Noto Sans JP", "游ゴシック体", YuGothic, "Yu Gothic Medium", sans-serif;
  --main-font-color: #333;
  --accent-color: #48AD32;
  --header-height: 75px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
h1,
h2,
p,
a,
img,
ul,
li,
form,
label,
input,
select,
footer,
header,
main {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--main-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--main-font-color);
  background: var(--body-bg-color);
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul {
  list-style: none;
}

.wrap {
  width: 100%;
  overflow-x: hidden;
}

/* header */
header {
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  z-index: 10000;
  position: relative;
}

header h1 {
  display: none;
}

header .header_box {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, 100%);
  height: 75px;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 10001;
}

header .header_box::after {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  background: #fff;
  width: 100vw;
  height: 75px;
  z-index: -1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

header .header_box .logo a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  display: block;
  width: 200px;
  height: 36px;
  background: url(../../img/logo.png) no-repeat left center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
}

header .header_box .text01 {
  font-size: 14px;
  line-height: 1.4;
  padding: 0 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 235px;
  font-weight: bold;
  box-sizing: border-box;
}

header .header_box .text01::before,
header .header_box .text01::after {
  content: "";
  width: 5px;
  height: 32px;
  position: absolute;
}

header .header_box .text01::before {
  border-left: solid 1px var(--main-font-color);
  border-top: solid 1px var(--main-font-color);
  border-bottom: solid 1px var(--main-font-color);
  top: 0;
  left: 0;
}

header .header_box .text01::after {
  border-right: solid 1px var(--main-font-color);
  border-top: solid 1px var(--main-font-color);
  border-bottom: solid 1px var(--main-font-color);
  top: 0;
  right: 0;
}

footer .copy {
  height: 30px;
  color: #fff;
  background: var(--accent-color);
  font-size: 12px;
  line-height: 30px;
  text-align: center;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  header {
    height: 50px;
  }

  header .header_box {
    left: 0;
    transform: none;
    width: 100%;
    height: 50px;
    padding: 0 10px;
  }

  header .header_box.active {
    background: #fff;
  }

  header .header_box::after {
    width: 100%;
    height: 50px;
  }

  header .header_box .logo a {
    left: 10px;
    max-height: 28px;
  }

  header .header_box .text01 {
    left: 160px;
    right: 10px;
    font-size: 11px;
    padding: 0 8px;
    top: 50%;
  }

  header .header_box .text01::before,
  header .header_box .text01::after {
    height: 28px;
  }

  .sp {
    display: inline;
  }

  footer .copy {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }

  header .header_box .logo a {
    transition: none;
  }

  header .header_box .logo a:hover {
    opacity: 1;
  }
}
