@charset "UTF-8";

:root {
	--font-xl: 2.5em;
	--font-l: 2em;
	--font-m: 1.5em;
	--font-s: 1em;
	--font-xs: 0.8em;
  --main-color: #040000;
  --color-white: #fff;
}
html {
  font-family: "Noto Sans JP", sans-serif;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-size: clamp(10px, 10px + 0.3vw, 16px);
}
@media screen and (max-width: 768px) {
  body {
    font-size: clamp(8px, 3vw, 16px);
  }
}


/* =============== 共通パーツ =============== */
h1 {
  font-size: var(--font-l);
  font-family: serif;
  margin: 25px 0;
}
ul {
  list-style: none;
  padding: 0;
}
p {
  margin: 0;
}
a {
  text-decoration: none;
  color: var(--color-white);
}
img {
  vertical-align: top;
  width: 100%;
  height: auto;
  aspect-ratio: auto; 
}
.content {
  width: min(1024px, 85%);
  margin: 0 auto;
}
.site-name {
  font-size: var(--font-l);
  font-weight: bold;
  font-family: serif;
  margin: 25px 0;
}
.title-back {
  padding: 10px 0;
  position: relative;
}
.title-back::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    45deg,
    var(--main-color),
    var(--main-color) 50%,
    #7f8082 50%,
    #7f8082 50%,
    var(--main-color) 50.1%,
    var(--main-color))
  ;
  background-size: 3px 3px;
}
.content-title {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: end;
  position: relative;
  z-index: 1;
  color: var(--color-white);
}
.content-title .eng-title {
  font-size: var(--font-l);
  font-weight: bold;
}
.content-title h2 {
  font-size: var(--font-s);
  font-weight: normal;
  margin: 0 0 5px;
  color: #ccc;
}
@media screen and (max-width: 768px) {
  .content-title .eng-title {
    font-size: 1.5em;
  }
  .content-title h2 {
    font-size: var(--font-xs);
  }
}

.address {
  letter-spacing: 1.5px;
}
.tell {
  letter-spacing: 3px;
}
.align-left {
  text-align: left;
}
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.text-layout {
  display: inline-block;
}
@media screen and (max-width: 1024px) {
  .sp-none {
    display: none;
  }
}


/* =============== header =============== */
.h-flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 15px 0 0;
  background: var(--main-color);
  color: var(--color-white);
  position: relative;
  z-index: 99;
}
.h-flex::before {
  content: "";
  background-image: url("../img/header_logo.png");
  background-size: max(800px, 100%);
  background-repeat: no-repeat;
  width: max(800px, 100%);
  height: 100%;
  position: absolute;
  left: 0;
  top: -5px;
  z-index: 2;
}
.menu {
  width: min(1024px, 70%);
}
.menu-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5vw;
}
.h-flex > * {
  z-index: 3;
}
.h-columns {
  width: min(460px, 48%);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: var(--font-s);
}
.h-col {
  width: min(210px, calc(45% - 2.5px));
}
.h-col.address {
  width: min(250px, calc(55% - 2.5px));
}
nav a {
  color: #ccc;
  text-decoration: none;
  font-size: var(--font-xs);
}
header nav ul {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.contact-btn {
  display: block;
  text-align: center;
  border: 1px solid var(--color-white);
  border-radius: 5px;
  padding: 7px 12px;
}
.hamburger,
.checkbox-toggle,
.sp-menu-back {
  display: none;
}
@media screen and (max-width: 1200px) {
  .h-flex {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 60px);
    justify-content: space-between;
    padding: 15px 10px 0 50px;
  }
  .h-flex h1 {
    margin: 0;
  }
  .menu {
    width: auto;
  }
  .menu .menu-content {
    display: block;
    position: absolute;
    top: 65px;
    right: -100%;
    z-index: 2;
    width: calc(min(350px, 75%) - 100px);
    height: calc(100vh - 177px);
    background: var(--main-color);
    opacity: 0;
    transition: 0.5s ease;
    padding: 50px
  }
  .sp-menu-back {
    display: block;
    position: absolute;
    top: 65px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    background: #33333380;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease;
  }
  header nav ul {
    display: block;
  }
  header nav ul li {
    margin-bottom: 10px;
  }
  header nav a {
    font-size: var(--font-m);
  }
  .h-columns {
    width: 100%;
  }
  .h-columns p:nth-child(1) {
    order: 2;
  }
  .h-columns p:nth-child(2) {
    order: 1;
  }
  .h-columns p:nth-child(3) {
    order: 3;
  }
  .h-col {
    width: 100%;
  }
  .instagram-logo {
    width: 30px;
    height: 30px;
    margin: 30px auto;
  }
  .hamburger {
    position: relative;
    z-index: 1;
    margin-top: 0;
    width: 20px;
    height: 50px;
    padding: 0 15px;
    background: var(--main-color);
    border-radius: 0 0.12em 0.12em 0;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: initial;
  }
  .hamburger > div {
    position: relative;
    flex: none;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hamburger > div::before, .hamburger > div::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: inherit;
    transition: all 0.4s ease;
  }
  .hamburger > div::after {
    top: 10px;
  }
  .checkbox-toggle {
    display: block;
    position: absolute;
    z-index: 2;
    cursor: pointer;
    width: 50px;
    height: 50px;
    opacity: 0;
  }
  .checkbox-toggle:checked + .hamburger > div {
    transform: rotate(-45deg);
  }
  .checkbox-toggle:checked + .hamburger > div:before, .checkbox-toggle:checked + .hamburger > div:after {
    top: 0;
    transform: rotate(90deg);
  }
  .checkbox-toggle:checked + .hamburger > div:after {
    opacity: 0;
  }
  .checkbox-toggle:checked ~ .menu-content {
    right: 0;
    opacity: 1;
  }
  .checkbox-toggle:checked ~ .sp-menu-back {
    opacity: 1;
    visibility: visible;
  }
}


/* =============== top =============== */
.top .bg-img {
  background: #000;
  padding: 50px 0 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.top .bg-img::before {
  content: "";
  background-image: url("../img/top_back_left.png");
  background-size: 24vw 33vw;
  background-repeat: no-repeat;
  width: 24vw;
  height: 33vw;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.top .bg-img::after {
  content: "";
  background-image: url("../img/top_back_right.png");
  background-size: 20vw 33vw;
  background-repeat: no-repeat;
  width: 20vw;
  height: 33vw;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}
.top .grid-content {
  display: grid;
  grid-template-areas: "1 2";
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px 60px;
}
.top p {
  color: var(--color-white);
  line-height: 26px;
  font-size: 0.9em;
  z-index: 5
}
.top .left-image,
.top .right-image {
  width: 88%;
}
.top .left-image {
  margin-left: auto;
}
.top .right-image {
  margin-right: auto;
}
@media screen and (max-width: 1200px) {
  .top {
    margin-top: 65px;
  }
}
@media screen and (max-width: 768px) {
  .top .grid-content {
    grid-template-areas: "1";
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .top .golden-text img {
    width: min(400px, 80%);
  }
  .top p {
    font-size: 1em;
    line-height: 1.8em;
  }
  .top .left-image,
  .top .right-image {
    width: 100%;
    margin: 0 auto;
  }
}


/* =============== about =============== */
#about table {
  border-collapse: collapse;
  width: 100%;
}
.about-content-back {
  background-image: url("../img/about_back.png");
  background-size: 100%;
  position: relative;
}
.about-content-back::after {
  content: "";
  background-image: url("../img/japan_map.png");
  background-size: 95%;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1077px, 100%);
  height: min(1024px, 100%);
  z-index: 2;
}
#about .grid-content {
  display: grid;
  grid-template-areas:
  "area1 area2"
  "area3 area4"
  "area5 area6";
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
  position: relative;
  z-index: 3;
  padding: 50px 0;
}
#about .grid-content > div {
  align-self: start;
}
#about .overview {
  grid-area: area1;
  background: #fffffff0;
  padding: 10px;
  box-shadow: 3px 3px 5px #333;
}
#about .overview tr,
#about .history tr {
  border-bottom: 1px solid #bc8e15;
}
#about .overview td,
#about .history td {
  padding: 7px;
  vertical-align: top;
}
#about .overview tr td:first-child {
  width: 30%;
}
#about .business-list {
  margin: 0;
}
#about .business-list li {
  padding-left: 15px;
  position: relative;
}
#about .business-list li::before {
  content: "●";
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
}
#about .history {
  grid-area: area2;
  background: #fffffff0;
  padding: 10px;
  box-shadow: 3px 3px 5px #333;
}
#about .vision {
  grid-area: area3;
  margin-top: 100px;
}
#about .vision img {
  width: 100%;
}
#about .greeting {
  grid-area: area4;
  margin-top: -140px;
  font-family: "uddigikyokasho-pro", "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-style: normal;
}
#about .greeting p {
  font-size: 0.95em;
}
#about .greeting .president {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: end;
  justify-content: end;
}
#about .greeting .president-name {
  margin-bottom: 20px;
}
#about .greeting img {
  width: 30%;
}
#about .features {
  grid-area: area5;
}
#about .features h3,
#about .effort h3 {
  color: var(--color-white);
  padding: 5px 30px;
  border-radius: 5px 5px 0 0;
  margin: 0;
  font-weight: normal;
  display: inline-block;
}
#about .features h3 {
  background: #202935;
}
#about .features .waku,
#about .effort .waku {
  padding: 20px;
  background: var(--color-white);
}
#about .features .waku {
  border: 1px solid #202935;
}
#about .effort {
  grid-area: area6;
}
#about .effort h3 {
  background: #343e4f;
}
#about .effort .waku {
  border: 1px solid #343e4f;
}
#about .effort-img {
  display: flex;
  justify-content: space-between;
}
#about .effort-img-list {
  width: 30%;
  display: flex;
  flex-direction: row;
}
#about .effort-img-list div:first-child {
  width: 70%;
}
#about .effort-img-list div:last-child {
  width: 30%;
}
@media screen and (max-width: 1200px) {
  #about {
    scroll-margin-top: 65px;
  }
}
@media screen and (max-width: 1024px) {
  #about .greeting {
    margin-top: 0;
  }
}
@media screen and (max-width: 768px) {
  #about .grid-content {
    grid-template-areas: none;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
  }
  #about .grid-content > div {
    grid-area: initial;
  }
  #about .vision {
    margin-top: 30px;
  }
}


/* =============== recruit =============== */
#recruit .recruit-top {
  position: relative;
}
#recruit .recruit-top img {
  width: 100%;
}
#recruit h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--font-xl);
  font-style: italic;
  text-shadow: 2px 2px 0 #000;
  color: var(--color-white);
  line-height: 60px;
  margin: 0;
}
#recruit h4 {
  font-size: var(--font-m);
  margin-top: 0;
}
#recruit .recruit-contents-back {
  background: #404040;
  position: relative;
  overflow: hidden;
}
#recruit .recruit-contents-back::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("../img/recruit_back.png");
  background-size: 50vw 30vw;
  background-repeat: no-repeat;
  width: 50vw;
  height: 30vw;
  z-index: 2;
}
#recruit .recruit-content {
  width: min(1280px, 95%);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 100px;
  color: var(--color-white);
  padding: 30px 0;
  position: relative;
  z-index: 3;
}
#recruit .recruit-content div:first-child {
  width: 90%;
}
.recruit-content div:nth-child(2) a {
  background-image: url("../img/recruit_btn.png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  padding: 25px 40px;
  text-align: center;
  font-size: var(--font-m);
  font-weight: bold;
  text-shadow: 2px 2px 2px #33333370;
}
@media screen and (max-width: 1280px) {
  #recruit h3 {
    font-size: 3vw;
    line-height: 5vw;
  }
}
@media screen and (max-width: 1200px) {
  #recruit {
    scroll-margin-top: 65px;
  }
}
@media screen and (max-width: 768px) {
  #recruit .recruit-content {
    width: min(600px, 80%);
    flex-direction: column;
    gap: 50px;
  }
  #recruit .recruit-content div:first-child {
    width: 100%;
  }
  .recruit-content div:nth-child(2) a {
    font-size: 1.3em;
  }
}


/* =============== safety-measures =============== */
#safety-measures {
  background: #bebebe;
  position: relative;
  padding-bottom: 30px;
}
#safety-measures::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: url("../img/safety-measures_back.png");
  background-size: 23vw 33vw;
  width: 23vw;
  height: 33vw;
  z-index: 2;
}
#safety-measures .safety-measures-contents {
  position: relative;
  z-index: 3;
  background: var(--color-white);
  padding: 30px 50px;
  width: min(768px, calc(100% - 100px));
  margin: 30px auto 0;
}
#safety-measures h3 {
  font-size: var(--font-m);
}
#safety-measures h4 {
  margin: 15px 0 5px;
}
#safety-measures ol {
  padding-left: 30px;
  margin: 0;
}
@media screen and (max-width: 1200px) {
  #safety-measures {
    scroll-margin-top: 65px;
  }
}
@media screen and (max-width: 768px) {
  #safety-measures .safety-measures-contents {
    padding: 10px 20px;
    width: calc(100% - 50px);
  }
}


/* =============== access =============== */

@media screen and (max-width: 1200px) {
  #access {
    scroll-margin-top: 65px;
  }
}


/* =============== contact =============== */
.contact {
  background: #bebebe;
  padding: 50px 0;
}
.contact .content {
  width: min(768px, 95%);
}
.contact h1 {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 30px;
}
.contact form {
  padding: 50px;
  background: var(--color-white);
  box-shadow: 0 0 5px var(--main-color);
  display: flex;
  flex-direction: column;
}
.contact form label {
  font-size: var(--font-m);
  font-weight: bold;
  margin-bottom: 5px;
}
.contact form input,
.contact form textarea {
  padding: 5px 10px;
  margin-bottom: 20px;
  font-size: 1.1em;
}
.contact form textarea {
  height: 200px;
}
.contact button {
  width: 50%;
  margin: 0 auto;
  border: 0;
  background: var(--main-color);
  color: var(--color-white);
  padding: 10px;
  font-weight: bold;
  font-size: var(--font-m);
  cursor: pointer;
}
@media screen and (max-width: 1200px) {
  .contact {
    margin-top: 65px;
  }
}


/* =============== footer =============== */
.f-flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
  padding: 40px 0;
  background: var(--main-color);
  color: var(--color-white);
  position: relative;
}
.f-flex::after {
  content: "";
  background-image: url("../img/footer-bar.png");
  background-size: 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}
.f-flex > p {
  margin-top: 10px;
}
.f-flex ul {
  margin: 0;
}
.f-flex .tell {
  margin-bottom: 5px;
}
.f-flex .contact-btn {
  display: inline-block;
}
.f-flex .instagram-logo {
  width: 30px;
  height: 30px;
  margin: 20px 0;
}
@media screen and (max-width: 768px) {
  .f-flex {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .f-flex nav {
    order: 1;
    text-align: center;
  }
  .f-flex > p {
    order: 2;
  }
  .f-flex > div {
    order: 3;
  }
  .f-flex .contact-btn {
    display: block;
    margin: 20px 0;
  }
  .f-flex .instagram-logo {
    margin: 10px auto;
  }
}


/* =============== レイアウト微調整用 =============== */
/* margin */
.m-0 {margin: 0px;}
.ml-0 {margin-left: 0px;}
.mr-0 {margin-right: 0px;}
.mt-0 {margin-top: 0px;}
.mb-0 {margin-bottom: 0px;}
.m-5 {margin: 5px;}
.ml-5 {margin-left: 5px;}
.mr-5 {margin-right: 5px;}
.mt-5 {margin-top: 5px;}
.mb-5 {margin-bottom: 5px;}
.m-10 {margin: 10px;}
.ml-10 {margin-left: 10px;}
.mr-10 {margin-right: 10px;}
.mt-10 {margin-top: 10px;}
.mb-10 {margin-bottom: 10px;}
.m-15 {margin: 15px;}
.ml-15 {margin-left: 15px;}
.mr-15 {margin-right: 15px;}
.mt-15 {margin-top: 15px;}
.mb-15 {margin-bottom: 15px;}
.m-20 {margin: 20px;}
.ml-20 {margin-left: 20px;}
.mr-20 {margin-right: 20px;}
.mt-20 {margin-top: 20px;}
.mb-20 {margin-bottom: 20px;}
.m-25 {margin: 25px;}
.ml-25 {margin-left: 25px;}
.mr-25 {margin-right: 25px;}
.mt-25 {margin-top: 25px;}
.mb-25 {margin-bottom: 25px;}
.m-30 {margin: 30px;}
.ml-30 {margin-left: 30px;}
.mr-30 {margin-right: 30px;}
.mt-30 {margin-top: 30px;}
.mb-30 {margin-bottom: 30px;}
.m-35 {margin: 35px;}
.ml-35 {margin-left: 35px;}
.mr-35 {margin-right: 35px;}
.mt-35 {margin-top: 35px;}
.mb-35 {margin-bottom: 35px;}
.m-40 {margin: 40px;}
.ml-40 {margin-left: 40px;}
.mr-40 {margin-right: 40px;}
.mt-40 {margin-top: 40px;}
.mb-40 {margin-bottom: 40px;}
.m-45 {margin: 45px;}
.ml-45 {margin-left: 45px;}
.mr-45 {margin-right: 45px;}
.mt-45 {margin-top: 45px;}
.mb-45 {margin-bottom: 45px;}
.m-50 {margin: 50px;}
.ml-50 {margin-left: 50px;}
.mr-50 {margin-right: 50px;}
.mt-50 {margin-top: 50px;}
.mb-50 {margin-bottom: 50px;}
.m-55 {margin: 55px;}
.ml-55 {margin-left: 55px;}
.mr-55 {margin-right: 55px;}
.mt-55 {margin-top: 55px;}
.mb-55 {margin-bottom: 55px;}

/* padding */
.p-0 {padding: 0px;}
.pl-0 {padding-left: 0px;}
.pr-0 {padding-right: 0px;}
.pt-0 {padding-top: 0px;}
.pb-0 {padding-bottom: 0px;}
.p-5 {padding: 5px;}
.pl-5 {padding-left: 5px;}
.pr-5 {padding-right: 5px;}
.pt-5 {padding-top: 5px;}
.pb-5 {padding-bottom: 5px;}
.p-10 {padding: 10px;}
.pl-10 {padding-left: 10px;}
.pr-10 {padding-right: 10px;}
.pt-10 {padding-top: 10px;}
.pb-10 {padding-bottom: 10px;}
.p-15 {padding: 15px;}
.pl-15 {padding-left: 15px;}
.pr-15 {padding-right: 15px;}
.pt-15 {padding-top: 15px;}
.pb-15 {padding-bottom: 15px;}
.p-20 {padding: 20px;}
.pl-20 {padding-left: 20px;}
.pr-20 {padding-right: 20px;}
.pt-20 {padding-top: 20px;}
.pb-20 {padding-bottom: 20px;}
.p-25 {padding: 25px;}
.pl-25 {padding-left: 25px;}
.pr-25 {padding-right: 25px;}
.pt-25 {padding-top: 25px;}
.pb-25 {padding-bottom: 25px;}
.p-30 {padding: 30px;}
.pl-30 {padding-left: 30px;}
.pr-30 {padding-right: 30px;}
.pt-30 {padding-top: 30px;}
.pb-30 {padding-bottom: 30px;}
.p-35 {padding: 35px;}
.pl-35 {padding-left: 35px;}
.pr-35 {padding-right: 35px;}
.pt-35 {padding-top: 35px;}
.pb-35 {padding-bottom: 35px;}
.p-40 {padding: 40px;}
.pl-40 {padding-left: 40px;}
.pr-40 {padding-right: 40px;}
.pt-40 {padding-top: 40px;}
.pb-40 {padding-bottom: 40px;}
.p-45 {padding: 45px;}
.pl-45 {padding-left: 45px;}
.pr-45 {padding-right: 45px;}
.pt-45 {padding-top: 45px;}
.pb-45 {padding-bottom: 45px;}
.p-50 {padding: 50px;}
.pl-50 {padding-left: 50px;}
.pr-50 {padding-right: 50px;}
.pt-50 {padding-top: 50px;}
.pb-50 {padding-bottom: 50px;}
.p-55 {padding: 55px;}
.pl-55 {padding-left: 55px;}
.pr-55 {padding-right: 55px;}
.pt-55 {padding-top: 55px;}
.pb-55 {padding-bottom: 55px;}