html {
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  /* font-family: "Noto Serif JP", serif; */
  /* font-weight: bold; */
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: 1.15rem;
  color: #333;
}
a {
  color: #333;
  text-decoration: none;
}
a span {
  position: relative;
}
a span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  pointer-events: none;
  background-color: rgb(34, 67, 136);
  transform: scale(0);
  transform-origin: right;
  transition-duration: 0.6s;
}
a span:hover::after {
  transform: scale(1);
}
img {
  width: 100%;
}
ul {
  list-style: none;
}
.outer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 1500px;
  pointer-events: none;
  margin: 0 auto;
  z-index: 10;
}
.to-top {
  position: absolute;
  right: 10px;
  bottom: 20px;
  width: 35px;
  border: 1px solid #333;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s;
}
.to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.to-top img {
  width: 100%;
  vertical-align: bottom;
}
.wrapper {
  display: block;
  position: relative;
  overflow-x: hidden;
  margin: 0 auto;
  max-width: 1280px;
  z-index: 1;
}
.sp-menu {
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  width: 200px;
  z-index: 1;
}
.sp-menu ul li {
  margin-top: 32px;
  margin-bottom: 32px;
}
.wrapper.menu-open .main-content {
  transform: translate(-200px, 0);
  box-shadow: 0 0 20px black;
}
.main-content {
  position: relative;
  width: 100%;
  transition: transform 1.2s, box-shadow 1.2s;
  background-color: white;
  z-index: 2;
}
.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  padding-bottom: 8px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  width: 50px;
	margin: 12px 15px 0 10px;
  transition: transform 0.8s;
}

.office-name{
    padding: 8px 0 0 0;
}

.office-name-sub{
	font-size: 1.2rem;
    font-weight: bold;
    padding: 0px 0 0 0;
}

.office-name-main{
	font-size: 1.5rem;
    font-weight: bold;
    padding: 0px 0 0 0;
    letter-spacing: -1px;
}



.sp-menu-btn {
  width: 50px;
  cursor: pointer;
}
.sp-menu-btn div {
  height: 3px;
  width: 100%;
  transition: transform 1.2s, opacity 1.2s;
  background-color: #333;
}
.sp-menu-btn div:nth-child(2) {
  margin: 10px 0;
}
.wrapper.menu-open .sp-menu-btn div:nth-child(1) {
  transform: translateY(12px) rotate(35deg);
}
.wrapper.menu-open .sp-menu-btn div:nth-child(2) {
  transform: translateX(100%);
  opacity: 0;
}
.wrapper.menu-open .sp-menu-btn div:nth-child(3) {
  transform: translateY(-12px) rotate(-35deg);
}
.dt-nav {
  display: none;
}
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  font-size: 16px;
  color: white;
  background-color: #333;
}
.symbolic-icon {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}
.tel,
.mail,
.fax {
  display: flex;
  align-items: center;
  margin-right: 8px;
}
.footer .tel a,
.footer .mail a {
  color: white;
}
.sns-logos {
  margin: 10px 0;
  display: flex;
  align-items: center;
}
.sns-logo {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}
.copyright {
  font-size: 12px;
}
.max300 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 100;
  display: none;
}
.noscript {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 100;
}
@media screen and (max-width: 300px) {
  .wrapper {
    display: none;
  }
  .max300 {
    display: block;
  }
}
@media screen and (min-width: 600px) {
  .logo {
    max-width: 400px;
  }
  .tel a,
  .mail a {
    pointer-events: none;
  }
}
@media screen and (min-width: 900px) {
  .corporate-philosophy {
    opacity: 1;
    pointer-events: all;
  }
  .corporate-philosophy.hidden {
    opacity: 0;
    pointer-events: none;
  }
  .logo-img:hover {
    transform: scale(0.9);
  }
  .sp-menu-btn {
    display: none;
  }
  .dt-nav {
    display: block;
    height: 100%;
  }
  .dt-nav ul {
    display: flex;
    align-items: center;
  }
  .dt-nav ul li {
    margin: 10px;
    margin-right: 10px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
