@charset "utf-8";

/* ==================================================
  External CSS
================================================== */
@import url("https://unpkg.com/sanitize.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@700;900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/* ==================================================
  Base
================================================== */
:root {
  --color-text: #000;
  --color-link: #57524b;
  --color-gray: #999;
  --color-red: #dc0a14;
  --color-orange: #e65500;
  --color-yellow: #fac800;
  --color-light: #f0f0f0;
  --font-base: "Zen Kaku Gothic New", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", Osaka, "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  --font-en: din-2014, sans-serif;
  --inner-width: 1300px;
  --header-height: 50px;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-size: 12px;
  letter-spacing: 0.1em;
}

body {
  font-family: var(--font-base);
  line-height: 2;
  color: var(--color-text);
  background: #fff;
  -webkit-text-size-adjust: none;
}

a {
  color: var(--color-link);
  transition: 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

iframe {
  width: 100%;
}

figure,
dd,
nav {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: none;
  appearance: none;
}

section {
  margin: 0 auto;
  padding: 4rem 2rem;
}

.inner {
  position: relative;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0;
}

/* ==================================================
  Utility
================================================== */
.db { display: block; }
.dn { display: none !important; }
.sp { display: none; }

.c {
  text-align: center !important;
}

td .c {
  margin: 0;
  text-align: left !important;
}

.c button {
  margin: 0.5em 1rem;
}

.radius {
  border-radius: 100px !important;
}

.large {
  font-size: 1.5em !important;
}

.ws,
.wl {
  display: block;
  width: 95%;
}

/* ==================================================
  Header / Menu
================================================== */
header {
  position: fixed;
  z-index: 100;
  width: 100%;
  padding: 0.6rem 0;
  background: #000;
}

header .inner {
  padding:0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

header a {
  color: #fff;
}

#logo {
  width: 200px;
  margin: 0; position: relative;z-index: 111;
}

#logo img {
  display: block;
}

#menubar,
footer ul {
  font-family: var(--font-en);
  font-weight: 800;
  font-style: normal;
}

#menubar ul,
footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#menubar a,
footer a {
  display: block;
  text-decoration: none;
}

#menubar a {
  text-align: center;
}

#menubar_hdr {
  position: fixed;
  z-index: 101;
  top: 10px;
  right: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 46px;
  height: 46px;
  padding: 16px 14px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

#menubar_hdr.dn {
  display: none !important;
}

#menubar_hdr.db {
  display: flex !important;
}

#menubar_hdr span {
  display: block;
  border-top: 2px solid #fff;
  transition: 0.3s;
}

#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
  width: 20px;
  transform-origin: center center;
}

#menubar_hdr.ham span:nth-of-type(1) {
  transform: rotate(45deg) translate(3.8px, 5px);
}

#menubar_hdr.ham span:nth-of-type(2) {
  display: none;
}

#menubar_hdr.ham span:nth-of-type(3) {
  transform: rotate(-45deg) translate(3.8px, -5px);
}

/* ==================================================
  Hero
================================================== */
#mainimg {
 position: relative;
  top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
}

#canvas-basic {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#mainimg #text {
  position: absolute; 
  top: 50%;
  left: 0;
  right: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(-50%);
}

#mainimg #text .logo {
  width: 100%;
  margin: 0;
}

#mainimg #text .copy {
  max-width: 140px;
  margin: 2rem auto;
}
#mainimg #text .copy img{
  width: 100%;
}
/* ==================================================
  Main
================================================== */
main {
  padding-top: var(--header-height);
}

main h2 {
  margin: 0 0 3rem;
  font-family: var(--font-en);
  font-size: 4.5em;
  font-weight: 800;
  font-style: normal;
  line-height: 1.2;
  text-align: center;
}

main h2 span {
  display: block;
  font-size: 0.25em;
  font-weight: bold;
  letter-spacing: 0.3em;
}

main p {
  margin: 0 0 1rem;
}

/* ==================================================
  Message
================================================== */
.messageBox {
  display: flex;
  gap: 50px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.5;
}

.messageBox .text,
.messageBox .image {
  width: 50%;
}

.messageBox .text h2 {
  margin: 0 0 30px;
  font-size: 2.5em;
  text-align: left;
}

.messageBox .text h2 span {
  font-size: 1.1rem;
}

.messageBox .text p:last-child {
  margin-bottom: 0;
}

.messageBox .image {
  margin: 0 auto;
}

.messageBox .image img {
  display: block;
  width: 100%;
}

/* ==================================================
  News / Company
================================================== */
#new,
#company {
  display: flex;
  width: 60%;
  margin: 0 auto;
  padding: 0;
  line-height: 1.5;
}

#new {
  flex-wrap: nowrap;
}

#company {
  flex-wrap: wrap;
}

#new dt,
#new dd,
#company dt,
#company dd {
  padding: 5px 0;
}

#company dt {
  width: 7em;
}

#new dd,
#company dd {
  width: calc(100% - 7em);
}

#new dt span {
  display: inline-block;
  align-self: flex-start;
  margin: 0 1rem;
  padding: 0 1rem;
  color: #fff;
  font-size: 0.8em;
  line-height: 1.8;
  text-align: center;
  background: #d60d1a;
}

#new dt span.icon-bg1 {
  background: #4d770b;
}

/* ==================================================
  Business slide
================================================== */
.list-slide {
  display: flex;
  flex-wrap: nowrap;
  width: 76%;
  margin: 0 auto;
}

.list-slide .list {
  margin: 0 10px;
}

/* ==================================================
  Contact form
================================================== */
.ta1 {
  width: 60%;
  margin: 0 auto 30px;
}

.ta1 tr {
  border-bottom: 1px solid #ccc;
}

.ta1 tr:last-child {
  border-bottom: 0;
}

.ta1 th,
.ta1 td {
  padding: 10px 5px;
  word-break: break-all;
}

.ta1 th {
  width: 30%;
  text-align: left;
}

.ta1 th strong {
  margin-bottom: 1rem;
  color: #cc0000;
  font-size: 2em;
}

.ta1 input,
.ta1 textarea,
.ta1 select {
  width: 100%;
  border: 1px solid #d0c0c9;
  border-radius: 6px;
  color: #2f2f2f;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.7px;
  background-color: #f8f8f5;
}

.ta1 input,
.ta1 textarea {
  padding: 1rem;
  color: #000;
}

.ta1 select {
  padding: 12px 40px 12px 12px;
  border-color: #ccc;
  border-radius: 4px;
  outline: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #333 50%),
    linear-gradient(135deg, #333 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.ta1 .c input {
  width: auto;
  margin-right: 1rem;
}

.kakomi {
  font-size: 1.4rem;
  text-align: center;
}
 .recruit{max-width:230px; margin:0 auto;}

/* ==================================================
  Buttons
================================================== */
.btn1 {
  display: inline-block;
  padding: 5px 30px;
  border-radius: 3px;
  color: #444;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
  background: #ffce2b;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
}

.btn1 i {
  margin-left: 20px;
}

.btn1:hover {
  color: #444;
  filter: brightness(1.1);
  transform: scale(1.03);
}

/* ==================================================
  Footer / Page top
================================================== */
footer {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 2rem;
  color: #FFF;
  background:
    url(../images/bg_footer.png) no-repeat center center,
linear-gradient(to right, #dc0a14, #e85d64, #fceaeb);
}

footer .inner {
  height: 350px;
}

footer .logo {
  margin: 0;
}

footer nav {
  position: absolute;
  top: 0;
  left: 0;
}

footer a {
  color: inherit;
}

footer .footerText {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  font-size:0.7em;
}

footer .footerText p,
footer .footerText small {
  margin: 0;
}

.pagetop-show {
  display: block;
}

.pagetop a {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  display: block;
  width: 60px;
  color: #fff;
  font-size: 1.5em;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

/* ==================================================
  Backgrounds
================================================== */
.bg1 { background: var(--color-yellow); }
.bg2 { color: #fff; background: var(--color-orange); }
.bg3 { background: #f09600; }
.bg4 { background: var(--color-light); }
.bg5 { color: #fff; background: var(--color-red); }
.bg3.center ,.bg4.center{ text-align: center; }

main .bg2 h2 span,
main .bg5 h2 span {
  color: #fff;
}

/* ==================================================
  Small screens
================================================== */
@media screen and (max-width: 767px) {
  .sp {
    display: block;
  }
  #menubar {
    display: none;
  }
  #menubar.dn {
    display: none !important;
  }

  #menubar.db {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: block !important;
    overflow: auto;
    width: 100%;
    height: 100%;
    padding: 70px 20px;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    animation: animation1 0.2s both;
  }

  #menubar.db a {
    color: #fff;
  }

  #menubar ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 2rem;
  }
  #mainimg {
    padding-top: 150vw;
  }

  #mainimg #text {
    width: 75%;
  }

  #mainimg #text h2 {
    margin: 30px 10px 0;
    font-size: 7vw;
  }

  #mainimg #text p.text {
    margin: 10px 10px 20px;
  }

  main h2 {
    margin-bottom: 2rem;
    font-size: 3.5em;
  }

  #mainimg .btn1 {
    margin: 0 auto;
    padding: 5px 20px;
  }
  .messageBox {
    flex-wrap: wrap;
    gap: 0;
  }

  .messageBox .text {
    width: 100%;
  }

  .messageBox .text h2 {
    margin-bottom: 2rem;
    font-size: 2.5em;
    text-align: left;
  }

  .messageBox .image {
    width: 80%;
    margin: 0 auto 2rem;
  }

  #new,
  #company,
  .ta1,
  .map {
    width: 100%;
  }

  #new {
    flex-wrap: wrap;
  }

  #new dt,
  #new dd {
    width: 100%;
  }

  .list-slide {
    width: 100%;
  }

  .list-slide .list {
    margin: 5px;
  }
#mainimg #text .copy {
  width:27%;
  margin: 2rem auto;
}

 .recruit{width:40%; margin:0 auto;}

/* ==================================================
  Footer / Page top
================================================== */
footer {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 2rem;
  color: #FFF;
  background:
    url(../images/bg_footer.png) no-repeat center center / 70% auto,
linear-gradient(to right, #d6454c, #fceaeb);
}

footer .inner {
  height: 350px;
}

footer .logo {
  width:60%;
  margin-right: 0;
  margin-left:40%;
}

footer nav {
  position: absolute;
  top: 0;
  left: 0;
}

footer a {
  color: inherit;
}

footer .footerText {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  font-size:0.7em;
}

footer .footerText p,
footer .footerText small {
  margin: 0;
}







}

/* ==================================================
  Extra small screens
================================================== */
@media screen and (max-width: 400px) {
  .btn1 {
    padding-right: 30px;
    padding-left: 30px;
  }

  .btn1 i {
    margin-left: 10px;
  }
}

/* ==================================================
  Desktop
================================================== */
@media screen and (min-width: 768px) {
  html,
  body {
    font-size: 18px;
  }
  #mainimg {
    min-height: 970px;
  }
  #menubar {
    font-size: 16px;
  }

  #menubar ul,
  footer ul {
    display: flex;
    gap: 1.5rem;
  }

  #menubar_hdr {
    display: none;
  }

  #new dt {
    position: relative;
    display: flex;
    justify-content: space-between;
  }

  #new dd {
    width: calc(100% - 14em);
  }

  .ta1 th,
  .ta1 td {
    padding: 20px 15px;
  }

  .ta1 th {
    width: 25%;
  }

  .ws {
    display: inline;
    width: 48%;
  }

  footer .logo {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
  }
}
