@charset "UTF-8";
/*
Theme Name: sw
*/
html,
body {
  font-size: 100%;
  color: #333;
  font-family: 'Hiragino Maru Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  line-height: 2.2em;
  letter-spacing: 0.1em;
  scroll-behavior: smooth;
}
body.no-scroll {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.5s ease;
}
a:hover {
  opacity: 0.7;
}
img {
  width: 100%;
  height: 100%;
}
li {
  list-style: none;
}

/* fonts */
h1 {
  font-size: 1.75rem;
}
.button {
  font-size: 0.875rem;
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  transition: all 0.5s ease;
}
.button::after {
  content: '\203A';
  margin-left: 40px;
  margin-right: -10px;
  font-size: 1.2em;
  display: inline-block;
}
.contact-buttons {
  display: flex;
  gap: 30px;
}
.contact-buttons a {
  flex: 1;
  background-color: #0d5a24;
  border-radius: 10px;
  color: #fff;
  padding: 30px 30px;
  font-size: 1.5rem;
  text-align: center;
}
.contact-buttons .flex-box {
  display: flex;
  align-items: center;
}
.contact-buttons .mail .icon::before,
.contact-buttons .tell .icon::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 0.2em;
}
.contact-buttons .mail .icon::before {
  content: '\f0e0';
}
.contact-buttons .tell .icon::before {
  content: '\f098';
}
.contact-buttons .text {
  text-align: center;
  margin: auto auto;
}
/* color */
.maincolor-border {
  border: 5px solid #51aa6c;
}
.button {
  background-color: #51aa6c;
}
.submenu {
  background-color: #51aa6c;
}
.button:hover {
  background-color: #0d5a24;
  opacity: 10;
}
a.not-link {
  pointer-events: none;
}

a.not-link:hover {
  color: inherit;
  opacity: 1;
  background-color: transparent;
  cursor: default;
}

/* レイアウト */
.container {
  max-width: 1200px;
  padding: 0 4%;
  margin: 0 auto;
}

/* header */
header {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  align-items: center;
  height: 130px;
  width: 100%;
  padding: 0 4%;
  z-index: 999;
}
@keyframes header_drop {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}
header.show {
  animation: header_drop 0.5s ease-out forwards;
  position: fixed;
  height: 80px;
  box-shadow: 0 1px 3px #ccc;
}
.site-logo {
  width: 20%;
  height: auto;
  transition: opacity 1s ease;
}
.site-logo img {
  object-fit: contain;
  padding-top: 10px;
}
.site-logo:hover {
  opacity: 0.5;
}
header .global-nav ul {
  display: flex;
}
header .global-nav ul li {
  margin-left: 30px;
  font-weight: bold;
  font-size: 0.875rem;
}
header .has-submenu {
  position: relative;
}
header .submenu {
  position: absolute;
  background: #51aa6c;
  color: #fff;
  width: 15em;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  text-align: center;

  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* 消えてる間はクリックできないようにする */
  transition: opacity 1s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;

  visibility: hidden;
}
header .global-nav ul li .submenu li {
  margin: 0;
  width: 100%;
  border-radius: 4px;
  text-align: center;
}
header .submenu li a {
  width: 100%;
  border-radius: 4px;
  display: block;
}
header .submenu li a:hover {
  background-color: #0d5a24;
  opacity: 10;
}
header nav .active > .submenu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
header .button {
  padding: 15px 30px;
}
header .button::after {
  content: '';
  margin-left: 0;
  margin-right: 0;
  font-size: 1.2em;
  display: inline-block;
}
header .hamburger {
  display: none;
}
header .mobile-nav {
  position: fixed;
  height: 100vh;
  width: 100vw;

  background-color: #51aa6c;
  color: #fff;
  z-index: 99998;
  top: -100vh;
  left: 0;
  transition: top 1s ease;
}
header .mobile-nav ul {
  padding: 50px 10px;
}
header .mobile-nav li {
  border-bottom: 1px solid #fff;
}

/* top-visual */
#top-visual {
  position: relative;
  height: calc(100vh - 150px);
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}
.head-space.long {
  height: 130px;
}
#top-visual .slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;

  opacity: 0;
  transition: opacity 5s ease;
}

#top-visual .slide img.active {
  opacity: 1;
}
#top-visual ul {
  position: absolute;
  top: 100px;
  right: 70px;
}
#top-visual ul li {
  writing-mode: vertical-rl;
  float: right;
  background-color: #fff;
  border-radius: 3px;
  height: 285px;
  width: 43px;

  font-size: 1.5rem;
  display: flex;
  align-items: center;
  padding: 0.8em 0;
  margin-left: 15px;
  font-weight: bold;
}

/* top-about */
#top-about {
  display: flex;
  gap: 15%;
  padding: 15% 0 15vw;
}
#top-about h2 {
  color: #2c1d05;
}
#top-about .image {
  flex: 3;
  position: relative;
}
#top-about .bg {
  background-color: #defdf9;
  position: absolute;
  top: -50px;
  width: 40vw;
  height: 35vw;
}
#top-about .main-img {
  position: absolute;
  left: 20%;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
#top-about .sub-img {
  position: absolute;
  top: 15vw;
  left: 10%;
  width: 30vh;
  height: 30vh;
  object-fit: cover;
  border-radius: 10px;
}
#top-about .text {
  flex: 2;
  padding-right: 15%;
  gap: 20px;
  display: flex;
  flex-direction: column;
}
#top-about h2 {
  font-size: 1.75rem;
}
#top-about p {
  font-size: 0.875rem;
  line-height: 2em;
}
#top-about .button {
  margin-left: auto;
  font-size: 0.875rem;
}

/* top-service */
#top-service {
  background-color: #c8ffd8;
  text-align: center;
  padding: 100px 0 50px;
}
#top-service h2 {
  color: #51aa6c;
  text-align: left;
  font-size: 1.75rem;
}
#top-service h3 {
  display: inline-block;
  padding: 10px;
  margin: 10px auto;
  position: relative;
}
#top-service h3:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: #0d5a24;
}
#top-service .grid {
  display: grid;
  margin: 70px 0 50px;
  grid-template-columns: 2fr 2fr;
  row-gap: 80px;
  column-gap: 40px;
}
#top-service .item {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  position: relative;
}
#top-service .item h4 {
  position: absolute;
  top: -40px;
  left: 10px;
  background-color: #fff;
  border-radius: 50px;
  font-size: 1.2rem;
  padding: 20px;
  writing-mode: vertical-rl;
  color: #183b6e;
}
#top-service .item img {
  object-fit: contain;
  max-width: 100%;
  height: 200px;
}
#top-service .item p {
  line-height: 1.7em;
  font-size: 1rem;
  text-align: left;
}
#top-service .button {
  display: inline-block;
  margin-top: 10px;
}

/* top-feature */
#top-feature {
  padding: 50px 0 0;
}
#top-feature .border-box {
  margin: 70px 0;
  border: 3px solid #51aa6c;
  border-radius: 20px;
  position: relative;
  padding-bottom: 50px;
}
#top-feature .hide-box {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#top-feature .mainvisual {
  height: 350px;
  object-fit: cover;
}
#top-feature h2 {
  color: #51aa6c;
  text-align: center;
  margin: 50px 0 30px;
}
#top-feature .flex-box {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  margin-bottom: 50px;
}
#top-feature .flex-box .item {
  flex: 1;
}
#top-feature .item img {
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
}
#top-feature .item h3 {
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.5em;
  position: relative;
  margin-bottom: 30px;
}
#top-feature .item h3::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: #51aa6c;
}
#top-feature .item p {
  font-size: 0.875rem;
  line-height: 1.7em;
}
#top-feature .button {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

/* top-qualification */
#top-qualification {
  margin: 150px 0 50px;
}
#top-qualification h2 {
  color: #51aa6c;
}
#top-qualification .flex-box {
  display: flex;
  gap: 30px;
  margin: 30px 0 30px 15%;
}
#top-qualification .left {
  flex: 1;
  padding-bottom: 60px;
}
#top-qualification .item {
  display: flex;
  margin-top: 40px;
  margin-bottom: 50px;
}
#top-qualification .item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 20px;
  object-fit: cover;
}
#top-qualification .item h3 {
  font-size: 1.25rem;
}
#top-qualification .item p {
  font-size: 0.875rem;
  line-height: 1.7em;
}
#top-qualification .right {
  flex: 1;
  position: relative;
}
#top-qualification .right img {
  position: absolute;
  width: 85%;
  height: auto;
  object-fit: cover;

  top: 0;
  left: 15%;
  z-index: 10;
}
#top-qualification .right .bg {
  position: absolute;
  top: 15%;
  right: 15%;
  background-color: #defdf9;
  height: 25vw;
  width: 85%;
}

/* top-staff */
#top-staff {
  position: relative;
  padding: 60px 4%;
}
#top-staff h2 {
  color: #51aa6c;
}
#top-staff .flex-box {
  display: flex;
  gap: 50px;
  margin: 50px 0 0;
}
#top-staff .item {
  width: 25%;
}
#top-staff .item:nth-child(even) {
  margin-top: 1.5rem;
}
#top-staff .item:nth-child(odd) {
  margin-top: 3rem;
}
#top-staff .item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
#top-staff .button {
  position: absolute;
  bottom: 0;
  right: 5%;
}
#top-staff h3 {
  margin-top: 14px;
  position: relative;
}
#top-staff h3::before {
  content: '';
  display: block;
  position: absolute;
  top: -7px;
  left: 0;
  width: 130px;
  height: 3px;
  background: #51aa6c;
}

/* top-flow */
#top-flow {
  background-color: #c8ffd8;
  margin: 50px 0;
  padding: 100px 0 50px;
}
#top-flow .flex-box {
  display: flex;
  gap: 100px;
  margin: 50px 50px 30px;
}
#top-flow .item {
  position: relative;
}
#top-flow .imgs {
  display: flex;
  align-items: center;
  align-content: center;
  position: relative;
}
#top-flow .item .thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 50%;
  position: relative;
}
#top-flow .item .thumb img {
  padding: 5%;
  background-color: #fff;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#top-flow .thumb .triangle {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);

  width: 0;
  height: 0;

  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #fff;
}

#top-flow .item .imgs::after {
  content: '\203A';
  font-size: 4rem;
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
}
#top-flow .item:last-child .imgs::after {
  content: '';
}
#top-flow h3 {
  background-color: #fff;
  border: 3px solid #333;
  border-radius: 50px;
  margin: 10px auto;
  text-align: center;
  font-size: 0.75rem;
  min-width: 6em;

  letter-spacing: 0;
  white-space: nowrap;
}
#top-flow .box {
  display: flex;
}
#top-flow .button {
  margin: 0 auto;
}

/* top-faqs */
#top-faq {
  padding: 100px 0 60px;
}
#top-faq h2 {
  text-align: center;
  font-size: 1.25rem;
  position: relative;
}
#top-faq h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: #51aa6c;
}
#top-faq .grid {
  margin: 70px 0 50px;
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 30px;
}
#top-faq .item {
  border: 2px solid #51aa6c;
  border-radius: 10px;
  padding: 30px;
}
#top-faq h3 {
  position: relative;
  padding-left: 70px;
}
#top-faq h3::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: inline-block;

  content: 'Q';
  width: 50px;
  height: 50px;
  background-color: #0d5a24;
  border-radius: 50%;
  color: #fff;

  text-align: center;
  padding: 8px 10px;
  font-size: 2rem;
}
#top-faq p {
  margin-top: 20px;
  font-size: 0.875rem;
}
#top-faq .box {
  margin-top: 30px;
  display: flex;
}
#top-faq .button {
  margin: 0 auto;
}

/* top-news */
#top-news {
  padding: 60px 0;
  border-top: 1px solid #51aa6c;
}
#top-news .flex-box {
  display: flex;
  gap: 40px;
}
#top-news .left {
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#top-news h2 {
  font-size: 1.25rem;
  position: relative;
  margin-bottom: 20px;
  white-space: nowrap;
}
#top-news h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: #51aa6c;
}
#top-news .right {
  flex: 1;
  width: 100%;
  min-width: 0;
  gap: 10px;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}
#top-news .right .item {
  display: flex;
  line-height: 1.5em;
  align-items: center;
}
@media screen and (max-width: 510px) {
  #top-news .right .item {
    flex-direction: column;
    justify-content: left;
    margin-bottom: 10px;
  }
  #top-news .right .item .info {
    font-size: 0.75em;
    margin-right: auto;
  }
}
#top-news .right .item .info {
  white-space: nowrap;
}
#top-news .right .item .title {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: auto;
}
#top-news .cat {
  font-size: 0.75em;
  border: 1px solid #333;
  border-radius: 50px;
  padding: 5px 20px;
  margin: 0 20px;
  white-space: nowrap;
}
#top-news .cat:hover,
#top-news .title:hover {
  color: #51aa6c;
}

/* top-recruit */
#top-recruit {
  position: relative;
  width: 100%;
  height: 400px;
}
#top-recruit .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: url(img/top_recruit.jpg);
  background-size: cover;
  background-position: center;
}
#top-recruit .flex-box {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  padding: 60px 15%;
  z-index: 1;
}
#top-recruit .child {
  flex: 1;
}
#top-recruit h2 {
  letter-spacing: 0.2rem;
}
#top-recruit .accent {
  color: #51aa6c;
}
#top-recruit p {
  margin: 30px 0 30px;
}

/* top-contact */
#top-contact {
  padding: 50px 16px 80px;
}
#top-contact h2 {
  text-align: center;
  color: #51aa6c;
}
#top-contact p {
  margin-top: 30px;
  text-align: center;
  margin-bottom: 30px;
}

/* footer */
footer .return-top {
  background-color: #51aa6c;
  height: 3em;
  display: flex;
  justify-content: right;
  align-items: center;
  padding: 0 5%;
}
footer .return-top a {
  color: #fff;
  position: relative;
  padding-right: 20%;
}
footer .return-top a::after {
  content: '';
  display: block;
  width: 13px;
  height: 13px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(-45deg) translateY(-50%);
  position: absolute;
  right: 5%;
  top: 50%;
}
footer .foot-nav ul {
  display: flex;
  padding: 20px 0px;
  column-gap: 2em;
  font-size: 0.75rem;

  flex-wrap: wrap;
}
footer .flex-box {
  display: flex;
  justify-content: space-between;
  padding: 30px 16px 80px;
}
footer .img {
  max-width: 33%;
  display: flex;
  justify-content: center;
}
footer .img img {
  height: 100%;
  object-fit: contain;
}
footer .enmpty {
  min-width: 33%;
}
footer .text {
  min-width: 0;
  font-size: 0.875rem;
  letter-spacing: 0;
}
footer .text p {
  margin-top: 30px;
}

/* single */
.page-head-box {
  background-color: #c8ffd8;
  border: 2px solid #0d5a24;
  border-radius: 10px;
  display: flex;
  padding: 70px;
  margin: 1%;
  justify-content: center;
}
.page-head-box .title {
  background-color: #fff;
  font-size: 1.75rem;
  padding: 0.25em 0.5em;
  border-radius: 10px;
}
.breadcrumb ul {
  display: flex;
  font-size: 0.75rem;
  flex-wrap: wrap;
}
.breadcrumb li::after {
  margin: 0 0.875em;
  content: '/';
}
.breadcrumb li:last-child::after {
  content: '';
}
.breadcrumb li.current {
  font-weight: bold;
}
#single article {
  margin: 30px 0 120px;
}

#single h1 {
  line-height: 1.75em;
  overflow-wrap: break-word;
  word-break: break-word;
}
#single time {
  font-size: 0.75rem;
}
#single .create::before,
#single .update::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-style: normal;
  display: inline-block;
}
#single .create::before {
  content: '\f073';
}
#single .update::before {
  content: '\f1da';
}
#single p {
  margin: 60px 0 100px;
  font-size: 0.875rem;
}
#single .cat-head {
  background-color: #666;
  border-radius: 5px;
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 10px;
}
#single .cat-name {
  font-size: 0.75rem;
}

.banner {
  background-image: url(img/banner.jpg);
  height: 40vw;
  max-height: 300px;
  margin-bottom: 100px;
  background-size: cover;
  background-position: center;
}

/* page-info */
.info-page .post-list {
  margin: 20px 0 100px;
}
.info-page .flex-box {
  display: flex;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 50px 0;
  margin: 30px 0 60px;
  gap: 30px;
}
.info-page .left {
  flex: 1;
  max-width: 400px;
  width: 40vw;
  height: 20vw;
  border: 1px solid #eee;
}
.info-page .left img {
  object-fit: contain;
  width: 100%;
}
.info-page .right {
  flex: 2;
  position: relative;
}

.info-page .post-date {
  color: #333;
  font-size: 0.5rem;
  display: block;
}
.info-page .excerpt {
  font-size: 0.875rem;
  line-height: 1.75rem;
}
@media screen and (max-width: 575px) {
  .info-page .excerpt {
    font-size: 0.75em;
    line-height: 1.6rem;
  }
}
.info-page .button-setter {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
}
.info-page .mini-button {
  background-color: #51aa6c;
  border-radius: 30px;
  font-size: 0.75rem;
  color: #fff;
  padding: 0 20px;
  display: block;
}
.info-page .title {
  font-weight: bold;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* contact */
.form-block {
  padding: 50px 0;
}
#contact {
  padding: 0 0 50px;
}
.form-row dd input,
.form-row dd select,
.form-row dd textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.form-row dt {
  width: 160px; /* ラベル幅固定 */
  font-weight: bold;
  padding-top: 8px; /* テキストエリアと高さ合わせ */
}
.form-row dd {
  flex: 1;
  width: 100%;
  font-size: 0.875rem;
}
.form-row dd textarea {
  height: 150px;
}
#contact .button {
  margin: auto auto;
  display: block;
  padding: 10px 70px;
}
#contact select {
  background: linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

/* company */
#company h2 {
  color: #51aa6c;
  font-size: 1.75rem;
  margin-top: 30px;
}
#company h3 {
  margin: 20px 0;
  font-size: 1.75rem;
}
#company p {
  font-size: 0.875rem;
}
#company .container {
  margin: 0 auto;
}
#company .overview {
  margin: 70px auto;
  padding: 40px 0px 70px;
  border: 4px solid #51aa6c;
  border-radius: 20px;
}
#company .overview h2 {
  text-align: center;
}
#company table {
  border-spacing: 0;
  width: 95%;
  margin: 30px auto;
}
#company th,
#company td {
  border-bottom: 1px solid;
  border-left: 1px solid;
  padding: 0.5em;
  text-align: left;
  font-size: 0.875rem;
  line-height: 2em;
}

#company tr:first-child th,
#company tr:first-child td {
  border-top: 1px solid;
}
#company td {
  border-right: 1px solid;
}

/* staff */
#staff .item {
  padding: 50px 0 100px;
}
#staff .flex-box {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}
#staff .flex-box > * {
  flex: 1;
}
#staff .name {
  margin: auto auto;
  text-align: center;
  position: relative;
  font-size: 1.25rem;
}
#staff .name:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: #51aa6c;
}
#staff .element {
  border-bottom: 1px solid #51aa6c;
  padding: 30px 0 60px;
}
#staff .question {
  position: relative;
  padding-left: 55px;
  margin: 0 0 20px;
  font-size: 1rem;
}
#staff .answer {
  padding-left: 55px;
  font-size: 0.875rem;
  line-height: 1.5em;
}
#staff .question::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: inline-block;

  content: 'Q';
  width: 30px;
  height: 30px;
  background-color: #0d5a24;
  border-radius: 50%;
  color: #fff;

  text-align: center;
  padding: 0px 8px;
}
@media screen and (max-width: 991px) {
  header {
    justify-content: center;
  }
  header.show {
    animation: none;
    position: static;
    height: inherit;
    box-shadow: none;
  }
  header .site-logo {
    width: 60%;
  }
  header .global-nav {
    display: none;
  }
  header .hamburger {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 99999;

    background-image: url('img/hamburger_menu.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  header .hamburger.close {
    background-image: url('img/hamburger_close.png');
  }
  header .mobile-nav.show {
    top: 0;
  }
  header .mobile-nav a {
    display: block;
    padding: 1em 0.5em;
    line-height: 1em;
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 767px) {
  #top-visual ul {
    position: absolute;
    top: 50px;
    right: 30px;
  }
  #top-visual ul li {
    writing-mode: vertical-rl;
    float: right;
    background-color: #fff;
    border-radius: 3px;
    height: 170px;
    width: 20px;

    font-size: 0.875rem;
    display: flex;
    align-items: center;
    padding: 0.8em 0;
    margin-left: 15px;
    font-weight: bold;
  }

  /* top-about */
  #top-about {
    flex-direction: column;
  }
  #top-about h2 {
    color: #2c1d05;
  }
  #top-about .image {
    flex: none;
    height: 120vw;
  }
  #top-about .bg {
    background-color: #defdf9;
    position: absolute;
    top: -50px;
    width: 80%;
    height: 100vw;
  }
  #top-about .main-img {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0px;
  }
  #top-about .sub-img {
    position: absolute;
    top: 50vw;
    left: 2%;
    width: 50vw;
    height: 50vw;
    border-radius: 10px;
  }
  #top-about .text {
    flex: 2;
    padding: 0 16px;
    gap: 20px;
    display: flex;
    flex-direction: column;
  }
  #top-about h2 {
    font-size: 1.75rem;
  }
  #top-about p {
    font-size: 0.875rem;
    line-height: 2em;
  }
  #top-about .button {
    margin-left: auto;
    font-size: 0.875rem;
  }

  /* top-service */
  #top-service .grid {
    grid-template-columns: 1fr;
  }
  #top-service .item {
    padding: 16px;
  }
  #top-service .item p {
    font-size: 0.875rem;
  }

  /* top-feature */

  #top-feature .mainvisual {
    height: 150px;
  }
  #top-feature .flex-box {
    flex-direction: column;
  }
  #top-feature .button {
    min-width: fit-content;
    white-space: nowrap;
  }
}
@media screen and (max-width: 782px) {
  /* top-qualification */
  #top-qualification .flex-box {
    flex-direction: column;
    gap: 10px;
    margin: 0 16px 100px;
  }
  #top-qualification .right {
    flex: none;
    height: 70vw;
  }
  #top-qualification .right .bg {
    right: 15vw;
    width: 85vw;
    height: 100%;
  }

  /* top-staff */
  #top-staff .flex-box {
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 30px;
    gap: 0;
  }
  #top-staff .item {
    width: 100%;
  }

  /* top-flow */
  #top-flow .flex-box {
    flex-direction: column;
    gap: 50px;
  }
  #top-flow .item .imgs img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  #top-flow .item .imgs::after {
    content: none;
  }
  #top-flow .item {
    position: relative;
  }
  #top-flow .item::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-top: 5px solid #4a3733;
    border-right: 5px solid #4a3733;
    transform: rotate(135deg) translateY(-50%);
    position: absolute;
    right: 50%;
    top: 100%;
    transition: 0.4s;
  }
  #top-flow .button {
    margin-top: 50px;
  }
}

@media screen and (max-width: 767px) {
  /* top-faq */
  #top-faq .grid {
    grid-template-columns: 1fr;
  }

  /* top-news */
  #top-news .flex-box {
    flex-direction: column;
  }
  #top-news .title {
    display: block;
  }

  /* top-recruit */
  #top-recruit {
    height: auto;
  }
  #top-recruit .bg {
    position: relative;
    height: 200px;
  }
  #top-recruit h2 {
    margin-top: 1em;
  }
  #top-recruit .flex-box {
    position: relative;
    flex-direction: column;
    padding: 0 16px;
  }
  #top-recruit p {
    font-size: 0.875rem;
    line-height: 1.5rem;
    margin-bottom: 30px;
  }

  /* top-contact */
  #top-contact {
    margin-top: 80px;
  }
  #top-contact p {
    padding: 0 16px;
    font-size: 0.75rem;
    letter-spacing: 0;
    line-height: 1.5rem;
  }
  .contact-buttons {
    flex-direction: column;
  }
}
@media screen and (max-width: 991px) {
  .break {
    display: block;
  }
}
@media screen and (max-width: 767px) {
  /* footer */
  footer .foot-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px 16px;
  }
  footer .flex-box {
    margin-top: 0;
    flex-direction: column;
    padding-top: 0;
    align-items: center;
    gap: 10px;
  }
  footer .img img {
    width: 60vw;
    height: auto;
  }
  footer .text p {
    width: 100%;
    margin-top: 0;
  }
  footer .text .copy {
    margin-top: 20px;
  }
  footer .flex-box {
    padding-bottom: 30px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
    line-height: 1.5em;
  }
}
@media screen and (max-width: 600px) {
  #company p {
    font-size: 0.875rem;
    line-height: 1.5rem;
  }
  #company .overview {
    padding: 20px 0;
  }
  #company h2 {
    font-size: 1.25rem;
  }
  #company h3 {
    font-size: 1.25rem;
  }
  #company table,
  #company tbody,
  #company tr,
  #company th,
  #company td {
    display: block;
    width: 95%;
    margin: 0px auto;
  }
  #company th {
    background-color: #c8ffd8;
  }

  #company tbody {
    margin: 20px auto;
  }

  #company th {
    text-align: left;
    border-right: 1px solid;
    font-size: 0.75rem;
    line-height: 1.7em;
  }

  #company td {
    font-size: 0.75rem;
    line-height: 1.7em;
  }
  #company tr:first-child td {
    border-top: none;
  }

  #staff .flex-box {
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
  }
  #staff .name::after {
    bottom: -10px;
  }
}
