:root {
  --c-color: #449480;
  --c-transition: 0.4s;
}

html {
  font-size: 62.5%;
}

body {
  color: #333333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: normal;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
  background: url("../images/bg.jpg") repeat center center/auto auto;
  background-attachment: fixed;
}

a {
  transition: var(--c-transition);
}
a:hover {
  color: var(--c-color);
}

p {
  line-height: 1.6;
}

.btn_desgin {
  padding: 1em 2em;
  position: relative;
  display: block;
  background: var(--c-color);
  border-radius: 50px;
  text-align: center;
  color: #ffffff;
}
.btn_desgin::before {
  content: "";
  display: block;
  width: 98%;
  height: 90%;
  border-radius: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border: 3px solid #ffffff;
}
.btn_desgin:hover {
  color: #ffffff;
  scale: 1.05;
}

.title {
  text-align: center;
  font-size: 4.2rem;
  margin-bottom: 1.5em;
}
.title span {
  position: relative;
}
.title span::before, .title span::after {
  content: "";
  width: 300px;
  height: 1px;
  background: #c0c1c1;
  position: absolute;
  top: 50%;
}
.title span::before {
  left: -320px;
}
.title span::after {
  right: -320px;
}

.inner {
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

div.cookie_consent {
  position: fixed;
  bottom: 0;
  transition: 0.6s;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  width: 100%;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 1.2em;
  box-sizing: border-box;
  z-index: 500;
  visibility: hidden;
}
div.cookie_consent a {
  color: #FFCA00;
}
div.cookie_consent p.cookie_text {
  margin: 0;
}
div.cookie_consent div.cookie_agree {
  color: #fff;
  background: var(--c-color);
  padding: .5em 1.5em;
}
div.cookie_consent div.cookie_agree:hover {
  cursor: pointer;
}
div.cookie_consent.is_show {
  visibility: visible;
}
div.cookie_consent.cc_hide {
  display: none;
}
div.cookie_consent:has(+ #footer_btn.active) {
  bottom: 64px;
}

header {
  border-bottom: 1px solid var(--c-color);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 200;
  background: url(../images/bg.jpg) repeat center center/auto auto;
  background-attachment: fixed;
}
header div.inner {
  display: flex;
  align-items: center;
  padding: 0.5em 1.5rem 0.3em;
}
header div.inner h1 {
  width: 30%;
  max-width: 200px;
}
header div.inner h1 img {
  width: 100%;
}
header div.inner nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
}
header div.inner nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  gap: 3em;
}
header div.inner div.contact_box h2 {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5em;
}
header div.inner div.contact_box a.tel::before {
  display: none;
}
header div.inner div.contact_box a.btn_desgin {
  font-size: 1.8rem;
  padding: 0.3em 2em;
}
header div.inner div.contact_box a.btn_desgin span {
  font-size: 140%;
}
header div.inner div.contact_box a.btn_desgin.contact {
  display: none;
}
header div.inner a.hamburger {
  display: none;
}

main {
  overflow: hidden;
}
main section {
  margin-top: 3em;
  margin-bottom: 3em;
}
main section:first-child {
  margin: 0;
}

footer {
  background: #e8e6e6;
}
footer div.inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5em 1.5rem 0.3em;
  color: var(--c-color);
}
footer div.inner div.comapny {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5em;
}
footer div.inner div.comapny h1 {
  display: flex;
  align-items: center;
  gap: 0.3em;
  font-size: 1.8rem;
  color: var(--c-color);
}
footer div.inner div.comapny h1 strong {
  font-size: 140%;
  font-weight: 400;
}
footer div.inner div.comapny div.address {
  font-size: 1.3rem;
  color: var(--c-color);
}
footer div.inner div.comapny div.address span:nth-child(1) {
  margin-right: 1.5em;
}
footer div.inner div.contact_box a.contact {
  font-size: 1.8rem;
  display: block;
  text-indent: 2em;
  padding: 1.3em 3.5em;
  background: url("../images/contact.svg") no-repeat calc(50% - 100px) center/auto 22px, var(--c-color);
}
footer p.copy {
  color: var(--c-color);
  padding: 0 1.2em 0.3em;
}

@media screen and (max-width: 1080px) {
  h1.title {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    font-size: 2.4rem;
    margin-bottom: 2em;
  }

  body.hamburger_active {
    overflow: hidden;
  }

  header {
    border-bottom: none;
    z-index: 9999;
  }
  header div.inner {
    position: relative;
    justify-content: space-between;
  }
  header div.inner h1 {
    width: 50%;
    position: relative;
    z-index: 100;
  }
  header div.inner nav {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 3em;
    background: #ffffff;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 100px 1em 0;
    transition: 0.8s;
    opacity: 0;
    visibility: hidden;
  }
  .hamburger_active header div.inner nav {
    opacity: 1;
    visibility: visible;
  }
  header div.inner nav ul {
    justify-content: flex-start;
    flex-direction: column;
    flex-grow: 0;
    gap: 1.5em;
    width: 100%;
    max-width: 500px;
  }
  header div.inner nav ul li {
    border: 2px solid #b3b3b3;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    text-indent: 2em;
    color: var(--c-color);
    padding: 0.5em 0;
    background-image: url("../images/about.svg");
    background-repeat: no-repeat;
    background-size: auto 80%;
    background-position: left 10% center;
  }
  header div.inner nav ul li:nth-child(2) {
    background-image: url("../images/equipment.svg");
  }
  header div.inner nav ul li:nth-child(3) {
    background-image: url("../images/merchandise.svg");
  }
  header div.inner nav ul li:nth-child(4) {
    background-image: url("../images/contract_processing.svg");
    background-size: auto 60%;
  }
  header div.inner nav div.contact_box {
    width: 100%;
    max-width: 500px;
  }
  header div.inner nav div.contact_box h2 {
    display: none;
  }
  header div.inner nav div.contact_box a.btn_desgin {
    padding: 1em 2em;
  }
  header div.inner nav div.contact_box a.btn_desgin::before {
    display: block;
  }
  header div.inner nav div.contact_box a.btn_desgin.contact {
    display: block;
    margin-top: 1em;
    text-indent: 2em;
    background: url("../images/contact.svg") no-repeat calc(50% - 80px) center/auto 22px, var(--c-color);
  }
  header div.inner a.hamburger {
    display: block;
    width: 45px;
    height: 45px;
    background: var(--c-color);
    border-radius: 50px;
    padding: 0.7em;
    position: relative;
    z-index: 100;
  }
  header div.inner a.hamburger span {
    display: inline-block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: var(--c-transition);
    position: relative;
    top: -3px;
  }
  header div.inner a.hamburger span::after, header div.inner a.hamburger span::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: var(--c-transition);
    position: absolute;
    left: 0;
  }
  header div.inner a.hamburger span::after {
    bottom: 8px;
  }
  header div.inner a.hamburger span::before {
    top: 8px;
  }
  header div.inner a.hamburger.close span {
    background: transparent;
    rotate: -180deg;
  }
  header div.inner a.hamburger.close span::after {
    bottom: 0;
    rotate: 45deg;
  }
  header div.inner a.hamburger.close span::before {
    top: 0;
    rotate: -45deg;
  }

  footer {
    text-align: center;
  }
  footer div.inner {
    flex-direction: column-reverse;
    gap: 2em;
    padding: 1.5em 1.5rem 5em;
  }
  footer div.inner div.comapny {
    flex-direction: column;
    gap: 1.0em;
  }
  footer div.inner div.comapny h1 {
    font-size: 2.0rem;
  }
  footer div.inner div.comapny div.address {
    font-size: 1.6rem;
  }
  footer div.inner div.comapny div.address span {
    display: block;
  }
  footer div.inner div.comapny div.address span:nth-child(1) {
    margin-right: 0;
  }
  footer div.inner div.contact_box {
    width: 100%;
    max-width: 500px;
  }
  footer div.inner div.contact_box a.contact {
    z-index: 50;
  }
}
