body {
  background-color: #F9F9F9;
  font-family: "Noto Sans JP", sans-serif;
  color: #3A3A3A;
}
.en {
  font-family: "Afacad", sans-serif;
}
html, body {
  overflow-x: hidden;
}
.inview.fadeup {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.inview.fadeup.active {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------
   ヘッダーCSS
----------------------------------- */
header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: clamp(20px, 5.333vw, 40px);
  color: #fff;
}
.header-container {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: 1fr 2fr;
}

.header-logo {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.header-logo.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 初期状態：透明ヘッダー */
.header {
  background-color: transparent;
  transition: background-color 0.8s ease-in-out, box-shadow 0.8s ease-in-out, padding 0.8s ease-in-out;
}
/* KVが見えなくなったら背景を付ける */
.header.scrolled {
  background-color: rgba(58, 58, 58, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 40px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.menu_contact {
  color: #3A3A3A;
  display: block;
  width: 100%;
  padding: 5px 60px 5px 30px;
  background-color: #fff;
  background-position: right 35px top calc(50% + 1px);
  background-repeat: no-repeat;
  background-size: 12px 9px; 
  background-image: url('../img/mail_icon.svg');
  border-radius: 20px;
}

@media (min-width: 1025px) {
  header {
    padding: clamp(30px, 3.125vw, 60px) clamp(40px, 4.6875vw, 90px);
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  header {
    padding: clamp(10px, 3vw, 20px);
  }
}

.header-container {
  display: grid;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: 1fr 2fr;
}

.header-logo {
  width: fit-content;
}

@media (max-width: 768px) and (orientation: landscape) {
  .header-logo {
    width: clamp(70px, 18vw, 140px);
  }
}

.logo-link {
  display: block;
  transition: 0.3s;
}

.logo-link:hover {
  opacity: 0.6;
}
.logo-link img {
  max-width: 220px;
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100vh;
    padding: clamp(30px, 8vw, 60px);
    transition: 0.3s;
    transform: translateX(200%);
    overflow: auto;
    background-color: #696969;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .menu-item {
    border-bottom: 1px solid #fff;
  }
  .menu-item:last-child {
    border-bottom: 0;
    margin-top: 50px;
  }
  .menu_contact {
    border-radius: 30px;
    background-position: right 105px top calc(50% + 1px);
    background-size: 15px 10px;
  }

  .menu-link {
    display: block;
    padding: clamp(10px, 2.6vw, 20px) 0;
    text-align: center;
    transition: 0.3s;
  }
  .header.scrolled {
    padding: 20px 40px 30px;
  }
  .logo-link img {
    max-width: 280px;
  }
  .header-container {
    align-items: end;
  }
}

@media (min-width: 1025px) {
  .menu-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(20px, 2.08vw, 40px);
  }

  .menu-link {
    transition: 0.3s;
  }
}

.menu-link:hover {
  opacity: 0.6;
  color: #3A3A3A;
}
@media (max-width: 768px) {
  .logo-link img {
    max-width: 180px;
  }
  .header.scrolled {
    padding: 20px 20px 30px;
  }
}

/* ==============================
   Hamburger Button
============================== */
.hamburger-button {
  width: fit-content;
  height: clamp(13px, 3.46vw, 26px);
  margin-left: auto;
  cursor: pointer;
  margin-top: 10px;
}

.hamburger-lines {
  position: relative;
  width: clamp(40px, 10.6vw, 90px);
  height: clamp(13px, 3.46vw, 26px);
  transition: 0.3s;
}

.hamburger-lines .line {
  position: absolute;
  width: 100%;
  height: clamp(1px, 0.26vw, 2px);
  background-color: #fff;
  transition: 0.3s;
}
/* 線の上下位置を明示する */
.hamburger-lines .line:nth-child(1) { top: 0; }
.hamburger-lines .line:nth-child(2) { bottom: 0; }

@media (max-width: 768px) and (orientation: landscape) {
  .hamburger-lines {
    width: clamp(30px, 7.5vw, 50px);
    height: clamp(15px, 3vw, 20px);
  }
}

@media (min-width: 1025px) {
  .hamburger-button {
    display: none;
  }
}
/* ----------------------------------
   ヘッダーCSS終わり
----------------------------------- */
/* ----------------------------------
   KVCSS
----------------------------------- */
.kv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.kv .kvimg_bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kv .kvimg_logo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  z-index: 2;
}
.scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
}
.scroll-text {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}
.scroll-border {
  position: relative;
  width: 1px;
  height: 80px;
  background-color: #d5d5d5;
  margin: 0 auto;
  overflow: hidden;
}
.scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 30px;
  top: 0;
  left: 0;
  right: 0;
  background: #3A3A3A;
  animation: scrollbar 2.0s ease-in-out infinite;
  margin: auto;
}

@keyframes scrollbar {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(350%);
    transform: translateY(350%);
  }
}

@media (max-width: 768px) {
  .kv .kvimg_logo {
    max-width: 300px;
  }
}

/* ----------------------------------
   KVCSS終わり
----------------------------------- */
/* ----------------------------------
   トップページコンテンツ
----------------------------------- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
/* Misson箇所 */
.misson {
  margin: 100px 0px 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.misson_box {
  text-align: center;
}
.misson_box img {
  margin: 40px auto 20px;
}
h2 .en {
  font-size: 40px;
  font-weight: 500;
}
h2 {
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 30px;
}
.misson_img01 {
  margin-top: -50px;
  margin-right: 20px;
  z-index: -10;
}
.misson_img02 {
  margin-bottom: -140px;
  z-index: -10;
  margin-left: 20px;
}

@media (max-width: 1024px) {
  .misson {
    position: relative;
    margin: 130px 0px 200px;
  }
  .misson_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .misson p {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 28px;
    padding: 50px;
  }
  .misson_img02 {
    margin-bottom: -190px;
  }
}

@media (max-width: 768px) {
  .misson {
    flex-direction: column;
    align-items: unset;
    margin: 80px 0px 80px;
  }
  .misson_img01 {
    max-width: 320px;
    margin: 0 auto 350px 0;
  }
  .misson_img02 {
    max-width: 320px;
    margin-bottom: 0;
    margin-left: auto;
  }
  .misson_box {
    width: 100%;
    max-width: 330px;
  }
  .misson p {
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    line-height: 30px;
    padding: 0;
  }
  .misson_box {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 28px;
    padding: 60px 50px;
    z-index: 9;
  }
  .misson_box img {
    margin: 0px auto 15px;
  }
  .misson p br {
    display: none;
  }
  p {
    text-align: justify;
    line-height: 30px;
    font-size: 15px;
  }
  h2 {
    margin-bottom: 20px;
  }
}

/* Our Business箇所 */
.OurBusiness {
  background-image: url('../img/OurBusiness_bg.jpg');
  padding: 80px 0 80px 50px;
  background-size: cover;
  background-repeat: no-repeat;
}
.business_box {
  background-color: rgba(58, 58, 58, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 50px;
  color: #fff;
  max-width: 480px;
}
.business_box h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
  background-image: url('../img/business_icon.svg');
  background-position: left top calc(50% + -2px);
  background-repeat: no-repeat;
  background-size: 30px;
  padding-left: 40px;
}
.business_box a {
  background-image: url(../img/open_icon.svg);
  background-position: right top calc(50% + -1px);
  background-repeat: no-repeat;
  background-size: 16px;
  display: block;
  text-align: right;
  padding-right: 25px;
  border-bottom: 1px solid;
  padding-bottom: 5px;
  margin-top: 100px;
  font-size: 18px;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.business_box a:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1024px) {
  .wrap {
    max-width: 780px;
  }
}


@media (max-width: 768px) {
  .business_box {
    max-width: 330px;
    margin: 0 auto;
    padding: 60px 50px;
  }
.OurBusiness {
  padding: 80px 0 80px 0;
  }
}


/* Company箇所 */
.Company {
  margin: 100px auto;
  max-width: 1000px;
  width: 100%;
}
.Company h2 {
  text-align: center;
}
.Company table {
  width: 100%;
  margin-bottom: 40px;
}
.Company table tr {
  border-bottom: 1px solid;
}
.Company table th {
  padding: 30px 10px 15px;
  font-weight: 500;
  text-align: left;
  width: 180px;
}
.Company table td {
  padding: 30px 0 15px;
}
.link_box {
  background-color: #3A3A3A;
  color: #fff;
  padding: 50px 70px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}
.link_box h2 {
  text-align: left;
  line-height: 30px;
}
.link_box a {
  width: 350px;
  display: block;
  background-image: url(../img/open_icon.svg);
  background-position: right 35px top calc(50% + -1px);
  background-repeat: no-repeat;
  height: 65px;
  display: flex;
  align-items: center;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px #212121, -6px -6px 12px #545454;
  padding: 0 40px;
  transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
  box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  font-size: 18px;
  font-weight: 500;
}
.link_box a span {
  font-weight: 400;
  font-size: 16px;
  margin-right: 6px;
}
.link_box a:first-child {
  margin-bottom: 30px;
}
.link_box a:hover {
  transform: translateY(0);
  box-shadow:
    inset 6px 6px 12px rgba(0, 0, 0, 0.45),
    inset -6px -6px 12px rgba(255, 255, 255, 0.06);
}
#link_company {
  margin-top: -100px;
  padding-top: 100px;
}

@media (max-width: 1024px) {
  .Company {
    max-width: 780px;
  }
}
@media (max-width: 768px) {
  .Company table th,.Company table td {
    display: block;
    width: 100%;
  }
  .Company {
    max-width: 330px;
  }
  .Company table th {
    border-bottom: 1px dashed;
    border-top: 1px solid;
    padding: 20px 10px;
  }
  .Company table {
    margin-top: 50px;
    border-bottom: 1px solid;
  }
  .Company table tr {
    border-bottom: none;
  }
  .Company table td {
    padding: 20px 10px;
  }
  .link_box {
    flex-direction: column;
    align-items: stretch;
    padding: 60px 45px;
  }
  .link_box a {
    width: 100%;
  }
  .link_box h2 {
    margin-bottom: 40px;
  }
}

/* contact箇所 */
.contact {
  background-color: #E2E2E2;
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.contact table {
  max-width: 1000px;
  margin: 60px auto 0;
  width: 100%;
  text-align: left;
}
.contact table span {
  font-size: 12px;
  border: #3A3A3A 1px solid;
  padding: 1px 7px 3px;
  border-radius: 5px;
  margin-left: 10px;
}
.contact table tr {
  border-bottom: 1px solid #3A3A3A;
  vertical-align: top;
}
.contact table th {
  width: 240px;
  padding: 45px 20px 15px;
  font-weight: 500;
}
.contact table td {
  padding: 30px 20px 15px;
}
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
  width: 100%;
  color: #3A3A3A;
  border: none;
  padding: 12px 16px 13px 16px;
  border-radius: 5px;
  background: #fff;
  font-size: 15px;
}
.contact input::placeholder,
.contact textarea::placeholder {
  color: #A4A4A4;
}
.contact textarea {
  height: 120px;
  resize: vertical;
}
.checkbox_area {
  margin-top: 30px;
}
.checkbox_area a {
  border-bottom: 1px solid #3A3A3A;
  color: #333;
}
.wpcf7-response-output {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.contact table td .wpcf7-not-valid-tip {
  margin-top: 10px;
}
.contact input[type="submit"] {
  font-size: 18px;
  background-color: #E2E2E2;
  border: none;
  padding: 18px 0 17px;
  border-radius: 50px;
  width: 350px;
  box-shadow: 6px 6px 12px #cdcdcd, -6px -6px 12px #f0f0f0;
  margin-top: 50px;
  cursor: pointer;
  transition:
    box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
    margin: 50px auto 0;
  display: block;
}
.contact input[type="submit"]:hover {
  transform: translateY(0);
  box-shadow:
    inset 6px 6px 12px rgba(0, 0, 0, 0.18),
    inset -6px -6px 12px rgba(255, 255, 255, 0.6);
}
.contact table td span {
  border: none;
  margin: 0;
  padding: 0;
}
.contact .wpcf7 form .wpcf7-response-output {
  border: 1px solid #dc3232;
  text-align: center;
  padding: 10px 20px;
  color: #dc3232;
  border-radius: 5px;
}

.contact .wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  color: #46b450;
}
#link_contact {
  margin-top: -100px;
  padding-top: 100px;
}


@media (max-width: 1024px) {
  .contact table {
    max-width: 780px;
  }
}
@media (max-width: 768px) {
  .contact p {
    max-width: 330px;
    width: 100%;
    margin: 0 auto;
    font-size: 14px;
  }
  .contact table th,
  .contact table td {
    display: block;
    width: 100%;
  }
  .contact table th {
    border-bottom: 1px dashed;
    border-top: 1px solid;
    padding: 20px 10px;
  }
  .contact table {
    margin-top: 40px;
    border-bottom: 1px solid;
    max-width: 330px;
  }
  .contact table tr {
    border-bottom: none;
  }
  .contact table td {
    padding: 20px 10px;
  }
  .checkbox_area {
    max-width: 330px;
    width: 100%;
    margin: 40px auto;
  }
  .contact input[type="submit"] {
    max-width: 330px;
    margin-top: 30px;
  }
.wpcf7-response-output {
  text-align: justify;
}
.contact .wpcf7 form .wpcf7-response-output {
  width: 100%;
  max-width: 310px;
}
}



/* ----------------------------------
   フッター
----------------------------------- */
footer {
  margin: 150px auto 20px;
}
footer div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 40px;
}
footer div ul {
  display: flex;
  font: 18px;
  font-weight: 400;
}
footer div ul li::after {
  content: '|';
  margin: 0 20px;
}
footer div ul li:last-child::after {
  content: none;
}
footer p {
  text-align: center;
  margin-top: 200px;
}
@media (max-width: 768px) {
  footer div {
    max-width: 330px;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  footer img {
    margin-bottom: 50px;
  }
  footer {
    margin: 100px auto 5px;
  }
}

.not-found {
  text-align: center;
  padding: 120px 20px;
}

.not-found h1 {
  font-size: 80px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.not-found p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #555;
}

.not-found .back-home {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  background: #f0f0f0;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.not-found .back-home:hover {
  background: #e0e0e0;
}


/* ----------------------------------
   プライバシーポリシー
----------------------------------- */
.content-privacy-policy {
  max-width: 1000px;
  width: 100%;
  margin: 100px auto;
}
.page_common .header {
  background-color: rgba(58, 58, 58, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 40px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.page_common .header-container {
  max-width: 1200px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
.page-title {
  margin-bottom: 30px;
  border-bottom: 1px solid #3A3A3A;
  padding-bottom: 20px;
}
.content-privacy-policy h5 {
  font-size: 16px;
  margin: 20px 0 10px;
  border-bottom: 1px dashed #3A3A3A;
  padding: 0 5px 10px;
}
.content-privacy-policy ol {
  list-style-type: decimal;
  margin: 10px 0 10px 30px;
}