@charset "UTF-8";

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 10px; }
body { color: #111; font-family: "Noto Sans", sans-serif; font-optical-sizing: auto; font-size: 1.5rem; font-weight: 500; font-variation-settings: "wdth" 100; line-height: 1.5; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; border: 0; vertical-align: top; transition: all .3s ease; -ms-interpolation-mode: bicubic; }
button { background: transparent; border: none; appearance: none; cursor: pointer; outline: none; }
a { transition: all .3s ease; }
a:link { color: #; text-decoration: none; }
a:visited { color: #; text-decoration: none; }
a:hover { color: #; text-decoration: underline; }

:root {
  --primary: #3E3A3A;
  --secondary: #B32425;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 1.4rem;
  }
}

/* --------------------------------------------------
  汎用
-------------------------------------------------- */

.d-flex {
  display: flex;
}

/* --------------------------------------------------
  レイアウト
-------------------------------------------------- */

body {
  display: flex;
  justify-content: space-between;
}
#wrapper {
  width: calc(100% - 100px);
}

@media screen and (max-width: 768px) {
  #wrapper {
    padding-top: 80px;
    width: 100%;
  }
}

/* --------------------------------------------------
  ヘッダ
-------------------------------------------------- */

#header {
  padding: 0 20px;
  width: 100%;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .3s;
}
#header nav {
  width: 80%;
  display: flex;
  justify-content: end;
  gap: 20px;
}
#header ul {
  list-style: none;
  display: flex;
}
#header .nav01 {
  width: 100%;
}
#header .nav01 li {
  padding: 0 10px;
  width: 20%;
  border-right: solid 1px #c0c0c0;
}
#header .nav01 li:first-child {
  border-left: solid 1px #c0c0c0;
}
#header .nav01 li a {
  height: 100%;
  color: #111;
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
#header .nav02 {
  align-items: center;
}
#header .nav02 li {
  font-size: 1.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
#header .nav02 li.tailormade {
  padding: 0 16px 0 30px;
}
#header .nav02 li.contact {
  padding: 0 16px 0 0;
  font-size: 2.4rem;
}
#header .nav02 li a {
  height: 4rem;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#header .nav02 li.tailormade a {
  padding: 0 20px;
}
#header .nav02 li.contact a {
  aspect-ratio: 1/1;
}
#header .nav02 li a:hover {
  text-decoration: none;
}
#header nav .mypage {
  display: none;
}
#header nav .menu {
  display: none;
}

@media screen and (max-width: 768px) {
  #header {
    position: fixed;
    top: 0;
    z-index: 100;
  }
  #header nav ul {
    display: none;
  }
  #header nav .mypage {
    display: block;
  }
  #header nav .mypage a {
    color: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #header nav .mypage img {
    height: 30px;
  }
  #header nav .mypage p {
    font-size: 1.4rem;
  }
  #header nav .menu {
    display: block;
  }
  #header nav .menu a {
    color: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #header nav .menu div {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    position: relative;
  }
  #header nav .menu div span {
    width: 100%;
    height: 2px;
    background: #111;
    display: block;
    transition: all .3s;
  }
  #header nav .menu p {
    font-size: 1.4rem;
  }
}

/* --------------------------------------------------
  フッタ
-------------------------------------------------- */

#footer {
  padding: 60px 0 30px;
  background: var(--primary);
  color: #fff;
}
#footer .inner {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1280px;
}
#footer .logo {
  margin-bottom: 20px;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
#footer #copyright p {
  font-size: 1.2rem;
  text-align: center;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 768px) {
  #footer {
    padding: 30px 15px;
  }
  #footer .inner {
    padding: 0;
    text-align: center;
  }
}

/* --------------------------------------------------
  サイドメニュー
-------------------------------------------------- */

#fixed-menu {
  padding: 20px 0;
  width: 100px;
  height: 100vh;
  background: #fff;
  flex-shrink: 0;
  position: fixed;
  right: 0;
  z-index: 100;
}
#fixed-menu .menu {
  margin-bottom: 60px;
}
#fixed-menu .menu a {
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#fixed-menu .menu div {
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: relative;
}
#fixed-menu .menu div span {
  width: 100%;
  height: 2px;
  background: #111;
  display: block;
  transition: all .3s;
}
#fixed-menu .menu p {
  font-size: 1.4rem;
}
#fixed-menu .mypage {
  margin-bottom: 60px;
}
#fixed-menu .mypage a {
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#fixed-menu .mypage img {
  width: 30px;
}
#fixed-menu .mypage p {
  font-size: 1.4rem;
}
#fixed-menu .lang {
  margin-bottom: 60px;
}
#fixed-menu .lang a {
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#fixed-menu .lang img {
  width: 30px;
}
#fixed-menu .lang p {
  font-size: 1.4rem;
}
#fixed-menu .sns {
  margin: 0 auto;
  width: 30px;
}
#fixed-menu .sns ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#fixed-menu .sns img {
  width: 100%;
}
#overlay {
  width: 100%;
  height: 0;
  background: rgba(0,0,0,.5);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
#menu {
  height: 0;
  background: var(--primary);
  position: fixed;
  right: 100px;
  top: 0;
  z-index: 100;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
#menu .menu ul {
  list-style: none;
}
#menu .menu li {
  padding: 15px 10px;
  border-bottom: dotted 1px #ccc;
}
#menu .menu a {
  color: #fff;
}
#menu .lang {
  margin: 40px 0;
  line-height: 1;
  display: none;
  align-items: center;
}
#menu .lang img {
  height: 30px;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

#menu .lang ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#menu .lang li {
  padding: 0 10px;
  position: relative;
  display: flex;
}
#menu .lang li::after {
  content: '';
  width: 1px;
  height: 100%;
  background: #fff;
  display: block;
  position: absolute;
  right: 0;
}
#menu .lang li:last-child::after {
  display: none;
}
#menu .lang a {
  color: #fff;
}
#menu .sns {
  display: none;
}
#menu .sns ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}
#menu .sns li {
  width: 30px;
}
#menu .sns li img {
  width: 100%;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
#lang {
  height: 0;
  background: var(--primary);
  position: fixed;
  right: 100px;
  top: 0;
  z-index: 100;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
#lang ul {
  list-style: none;
}
#lang li {
  padding: 20px 10px;
  border-bottom: dotted 1px #ccc;
}
#lang a {
  color: #fff;
}
body.on, body.lang-on {
  overflow: hidden;
}
body.on #fixed-menu .menu div span,
body.on #header nav .menu div span {
  position: absolute;
}
body.on #fixed-menu .menu div span:nth-of-type(1),
body.on #header nav .menu div span:nth-of-type(1) {
  transform: rotate(35deg);
}
body.on #fixed-menu .menu div span:nth-of-type(2),
body.on #header nav .menu div span:nth-of-type(2) {
  transform: rotate(-35deg);
}
body.on #overlay,
body.lang-on #overlay {
  height: 100vh;
}
body.on #menu {
  padding: 20px;
  height: 100vh;
  overflow: auto;
  opacity: 1;
  visibility: visible;
}
body.lang-on #lang {
  padding: 20px;
  height: 100vh;
  overflow: auto;
  opacity: 1;
  visibility: visible;
}
#pagetop {
  display: none;
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
}
#pagetop a {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border: solid 1px #fff;
  border-radius: 100vw;
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pagetop a i {
  transition: all .3s;
}
#pagetop a:hover {
  text-decoration: none;
}
#pagetop a:hover i {
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  #fixed-menu {
    display: none;
  }
  #overlay {
    top: 80px;
  }
  #menu {
    right: 0;
    top: 80px;
  }
  #menu .lang {
    display: flex;
  }
  #menu .sns {
    display: block;
  }
  body.on #overlay {
    height: calc(100vh - 80px);
  }
  body.on #menu {
    height: calc(100vh - 80px);
  }
  #pagetop {
    right: 20px;
    bottom: 20px;
  }
}
