* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "noto-sans-cjk-jp", sans-serif;
  line-height: 1.6;
  color: black;
}

.futura {
  font-family: "futura-pt", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

/* Header */
.header {
  background: white;
  padding: 32.5px 20px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  position: relative;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ハンバーガーメニュー */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1000;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000;
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルナビゲーション */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  background-color: #f2f2f2;
  z-index: 1001;
  padding-top: 100px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-item {
  display: block;
  text-decoration: none;
  color: #000;
  padding: 20px 40px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.mobile-nav-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-nav-en {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}

.mobile-nav-ja {
  display: block;
  font-size: 12px;
  color: #A80D23;
  font-family: "gotham", sans-serif;
  font-weight: 600;
}

/* ナビゲーションが開いている時のbodyのスクロール防止 */
body.nav-open {
  /* overflow: hidden; */
}


.logo,
.logo-text {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-all;
  text-align: center;
}
.logo img {
  max-width: 100%;
  height: 45px;
  display: block;
  margin: 0 auto;
}

.nav {
  display: flex;
  gap: 35px;
}

.nav-item {
  text-decoration: none;
  color: black;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #A80D23;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-item:hover {
  color: #A80D23;
}

.nav-item:hover::after {
  transform: scaleX(1);
}

.nav-en {
  font-weight: 500;
  margin-bottom: -2px;
}

.nav-ja {
  font-size: 10px;
  color: #A80D23;
  font-family: "gotham", sans-serif;
  font-weight: 600;
}

/* Hero Section */
.hero {
  position: relative;
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  /* min-height: 500px; */
}

.hero-bg {
  position: relative;
  /* padding: 50px 0 80px 0; */
  background-image: url("images/TOP_背景.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  text-align: center;
  height: 375px;
}

.tb {
  display: none;
}

.hero-title {
  font-size: 55px;
  color: black;
  /* margin-bottom: 40px; */
  padding-top: 70px;
  font-weight: 500;
}

.hero-title .futura {
  font-size: 62px;
}

.hero-building {
  position: absolute;
  right: 10%;
  top: 45%;
  transform: translateY(-45%);
  font-weight: bold;
}

.hero-banner {
  background: #A80D23;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 18px;
}

/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  right: 50%;
  top: 10%;
  writing-mode: vertical-rl;
  font-family: "gotham", sans-serif;
  font-weight: bold;
}
/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #000;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.inner-content {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

/* Services Section */
.services {
  /* padding: 60px 0; */
  /* background: #f8f9fa; */
  padding: 75px 65px 0 65px;
}

.services .container {
  display: flex;
  gap: 40px;
}

/* サイドバーは通常static */
.sidebar {
    position: relative;
    border-right: 3px #d2d2d2 solid;
    min-height: 100%;
    padding: 63px 40px 0 0;
    z-index: 100;
    transition: position 0.3s ease;
}

/* スティッキー状態のサイドバー */
.sidebar.sticky {
    position: fixed;
    top: 0;
}

/* .services > .container > .main-content には左マージン */
.services > .container > .main-content {
  /* margin-left: 180px; */
}

.main-content-right {
  width: 100%;
  background-image: url("images/logo_背景.png");
  background-repeat: no-repeat;
  background-position: center 23%;
  background-size: 187% auto;
}

.main-content-left {
  display: flex;
  justify-content: flex-end;
  width: 290px;
  flex-shrink: 0;
}

.sidebar-logo {
  margin-bottom: 30px;
}

.sidebar-logo img {
  width: 90px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-nav .nav-en {
  display: block;
  font-size: 16px;
}

.sidebar-item {
  text-decoration: none;
  color: black;
  padding: 10px 0;
  /* border-bottom: 1px solid #eee; */
  font-size: 14px;
}

.sidebar-item.active {
  color: #A80D23;
  font-weight: bold;
}

.main-content {
  /* margin-left: 180px; */
  /* padding: 32px; */
  /* padding-bottom: 120px; */
  flex: 1;
}

.section-header {
  margin-bottom: 77px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 英語見出しスタイル */
.section-header h2,
.jp-contact-title {
  font-size: 45px;
  font-weight: bold;
  color: black; /* 黒文字 */
  /* margin-bottom: 5px; */
  font-family: "gotham", sans-serif;
  /* display: inline-block; */
}

/* 小見出しアニメーション用 */
.section-subtitle {
  color: black;
  font-size: 16px;
  letter-spacing: 0.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 0 25px;
}

.service-item {
  /* background: white; */
  /* border-radius: 8px; */
  /* overflow: hidden; */
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.service-item img {
  width: 100%;
  /* height: 200px; */
  /* object-fit: cover; */
}

.service-content {
  padding: 15px;
}

.service-category {
  color: #A80D23;
  font-size: 13px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "gotham", sans-serif;
}

.service-content h3 {
  font-size: 28px;
  margin: 10px 0;
  color: black;
  font-weight: normal;
  letter-spacing: 0.2rem;
}

.service-content p {
  font-size: 15px;
  color: black;
  line-height: 1.6;
}

/* Brand Section */
.brand-section {
  padding: 15% 75px;
  /* background: white;
  background-image: url("images/logo_背景.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;   */
}

.brand-section .container {
  /* display: flex; */
  align-items: center;
  gap: 80px;
  width: 100%;
  margin: 0 auto;
}


.brand-logo {
  width: 100%;
  text-align: center;
  /* max-width: 500px; */
  margin-bottom: 10%;
}

.brand-logo img {
  width: 100%;
  max-width: 300px;
  opacity: 0; /* 初期状態で非表示 */
  filter: blur(10px); /* 初期状態でぼかし */
  transition: opacity 1.5s ease-out, filter 1.5s ease-out; /* 1.8sから1.5sに変更 */
}

.brand-logo img.fade-in {
  opacity: 1;
  filter: blur(0px); /* クリアに */
}

.brand-content {
  display: flex;
  gap: 10%;
  justify-content: center;
}

.brand-title {
  font-size: 50px;
  font-weight: bold;
  color: #A80D23;
  line-height: 1.7;
  margin-bottom: 40px;
  /* width: 55%; */
}

.brand-text {
  margin-top: 6rem;
}

.brand-text h3 {
  color: #A80D23;
  font-size: 14px;
  margin-bottom: 40px;
  font-weight: normal;
  font-weight: 500;
  font-family: "gotham", sans-serif;
  letter-spacing: 0.1rem;
  padding-left: 5px;
}

.brand-text p {
  font-size: 17px;
  color: black;
  margin-bottom: 8px;
  line-height: 2.8;
  font-weight: 500;
}

/* Achievements Section */
.achievements {
  padding: 0;
  /* background: #f8f9fa; */
}

.achievements .container {
  padding: 0 0 0 100px;
  margin-left:0;
  margin-right: 0;
  max-width: calc(100vw - 290px);
}

.achievements h2 {
  font-size: 32px;
  font-style: italic;
  color: black;
  margin-bottom: 0px;
  /* text-align: center; */
  font-family: "gotham", sans-serif;
  font-weight: 500;
  padding-left: 10px;
}

.achievements-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
      /* スクロールバーを非表示にする */
      scrollbar-width: none; /* Firefox用 */
      -ms-overflow-style: none; /* IE, Edge用 */
}

.achievements-grid img {
  /* width: 300px; */
  height: 240px;
  /* object-fit: cover; */
  /* border-radius: 8px; */
  flex-shrink: 0;
}






* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

.page-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Navigation Panel Styles */
.navigation-panel {
  width: 180px;
  background-color: #f2f2f2;
  min-height: 100vh;
  padding: 24px;
}

.brand-identity {
  margin-bottom: 32px;
}

.brand-name {
  color: #A80D23;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 4px;
}

.menu-collection {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-entry {
  display: flex;
  flex-direction: column;
}

.primary-label {
  color: #000000;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
}

.secondary-label {
  color: #A80D23;
  font-size: 12px;
  font-weight: 500;
}

/* Content Area Styles */
.content-area {
  flex: 1;
  /* padding: 75px; */
  padding: 120px 75px 0 75px ; /* Space for fixed bottom section */
}

.header-section {
  margin-bottom: 32px;
}

.primary-heading {
  color: #000000;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
}

.heading-accent {
  font-size: 18px;
}

/* Content Block Styles */
.content-block {
  padding: 0 25px;
  margin-bottom: 100px;
}

.block-heading {
  color: #A80D23;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: 0.2rem;
}

/* Organization Details Styles */
.organization-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  letter-spacing: 0.2rem;
}

.detail-row {
  display: flex;
  align-items: flex-start;
}

.detail-key {
  width: 130px;
  color: #000000;
  font-weight: 500;
  flex-shrink: 0;
}

.detail-content {
  color: #000000;
  flex: 1;
  letter-spacing: 0.05rem;
}

.location-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.map-trigger {
  background-color: #A80D23;
  color: white;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: "gotham", sans-serif;
  text-decoration: none;
}

/* Service Listing Styles */
.service-listing {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-entry {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-marker {
  width: 8px;
  height: 8px;
  /* background-color: #A80D23; */
  /* border-radius: 50%; */
  margin-top: 3px;
  flex-shrink: 0;
  border: #A80D23 solid 1px;
}

.service-description {
  color: #000000;
  flex: 1;
  font-size: 17px;
  letter-spacing: 0.05rem;
}

/* Partner Directory Styles */
.partner-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  font-size: 16px;
}

.partner-entity {
  color: #000000;
}

/* Footer Banner Styles */
.footer-banner {

  background-color: #A80D23;
  color: white;
  /* padding: 75px; */
}

.banner-container {
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 0 0 100px; */
  margin-left: 0;
  margin-right: 0;
  max-width: calc(100vw - 290px);
}

.banner-message {
  display: flex;
  /* align-items: center; */
  gap: 8px;
  justify-content: center;
  padding: 70px 75px 45px 75px;
}

.banner-symbol {
  /* color: white; */
  /* font-size: 24px; */
  /* font-weight: bold; */
}

.banner-symbol img {
  width: 25px;
}

.support-text {
  color: white;
  font-size: 18px;
}

.emblem-collection {
  display: flex;
  /* gap: 16px; */
  padding: 0 0 70px 0;
  overflow-x: auto;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox用 */
  -ms-overflow-style: none; /* IE, Edge用 */
}
.emblem-holder {
  flex-shrink: 0;
  margin-right: 16px;
}
.emblem-holder:last-child {
  margin-right: 0;
}
.emblem-holder:first-child {
  margin-left: 75px;
}

.emblem-collection::-webkit-scrollbar {
  display: none; /* Chrome, Safari用 */
}

.emblem-holder {
  /* background-color: white; */
  /* padding: 8px; */
  /* border-radius: 4px; */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* width: 230px; */
}

.emblem-holder img {
  width: 230px;
  height: 100%;
}

/* Swiper用スライド調整 */
.achievements-swiper,
.emblem-swiper {
  width: 100%;
  padding-bottom: 70px; /* emblem-collectionの下余白に合わせて */
}
.achievements-swiper .swiper-slide,
.emblem-swiper .swiper-slide {
  width: 230px; /* 画像サイズに合わせて調整 */
  display: flex;
  align-items: center;
  justify-content: center;
}
.achievements-swiper .swiper-slide img,
.emblem-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-wrapper {
      flex-direction: column;
  }

  .navigation-panel {
      width: 100%;
      min-height: auto;
      padding: 16px;
  }

  .menu-collection {
      flex-direction: row;
      gap: 16px;
      overflow-x: auto;
  }

  .content-area {
      padding: 16px;
  }

  .partner-directory {
      /* grid-template-columns: 1fr; */
      gap: 8px;
      font-size: 10px;
      letter-spacing: -0.03rem;
  }

  .banner-container {
      flex-direction: column;
      gap: 16px;
      text-align: center;
  }

  .emblem-collection {
      justify-content: flex-start;
  }
}

/* emblem-collection marquee方式 */
.marquee {
  overflow: hidden;
  width: 100%;
  background: transparent;
  padding-bottom: 70px;
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-inner img {
  width: 230px;
  margin-right: 16px;
  display: block;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.achievements .marquee-inner img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .achievements .marquee-inner img {
    width: 230px;
  }
}






/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; */
  line-height: 1.6;
  color: #000000;
}

/* Container */
.jp-contact-container {
  min-height: 100vh;
  background-color: #ffffff;
}

.jp-contact-wrapper {
  max-width: 1024px;
  /* margin: 0 auto; */
  padding: 125px 75px 0 75px;
}

/* Header */
.jp-contact-header {
  /* text-align: center; */
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.jp-contact-title {
  font-size: 45px;
  font-weight: bold;
  color: #000000;
  /* margin-bottom: 8px; */
  font-family: "gotham", sans-serif;

}

.jp-contact-subtitle {
  color: #000000;
  font-size: 16px;
  letter-spacing: 0.2rem;
}

/* Progress Steps */
.jp-contact-progress {
  display: flex;
  justify-content: center;
  /* margin-bottom: 48px; */
  padding: 25px;
}

.jp-contact-progress-steps {
  display: flex;
  /* align-items: 50px; */
  /* gap: 32px; */
}

.jp-contact-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jp-contact-step-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #d9d9d9;
  margin-bottom: 8px;
}

.jp-contact-step-circle-active {
  background-color: #A80D23;
}

.jp-contact-step-label {
  font-size: 0.875rem;
  color: #a0a0a0;
  font-weight: 500;
}

.jp-contact-step-label-active {
  color: #000000;
}

.jp-contact-progress-line {
  width: 48px;
  height: 2px;
  background-color: #d9d9d9;
  margin-top: 6px;
}

/* Form */
.jp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 25px;
}

.jp-contact-field {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 45px;
  align-items: center;
}

.jp-contact-field-address,
.jp-contact-field-message {
  align-items: flex-start;
}

.jp-contact-field-address {
  margin: 30px 0;
}

.jp-contact-label-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.jp-contact-field-address .jp-contact-label-wrapper,
.jp-contact-field-message .jp-contact-label-wrapper {
  padding-top: 12px;
}

.jp-contact-label {
  color: #000000;
  font-weight: 500;
  font-size: 17px;
}

.jp-contact-badge {
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 50px;
  color: white;
  font-weight: 500;
}

.jp-contact-badge-required {
  background-color: #A80D23;
}

.jp-contact-badge-optional {
  background-color: #a0a0a0;
}

/* Form Controls */
.jp-contact-input,
.jp-contact-select,
.jp-contact-textarea {
  background-color: #f2f2f2;
  border: none;
  height: 60px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 16px;
  width: 100%;
}

.jp-contact-input::placeholder,
.jp-contact-select option:first-child,
.jp-contact-textarea::placeholder {
  color: #a0a0a0;
}

.jp-contact-select-wrapper {
  position: relative;
}

.jp-contact-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.jp-contact-textarea {
  height: 120px;
  padding: 16px;
  resize: none;
  font-family: inherit;
}

/* Address Fields */
.jp-contact-address-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jp-contact-postal-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.jp-contact-postal-symbol {
  color: #000000;
  font-size: 16px;
  width: 100px;
  display: flex;
  justify-content: end;
}

.jp-contact-postal-input {
  width: 128px;
}

/* Privacy Policy */
.jp-contact-privacy {
  margin-top: 32px;
  /* padding: 24px; */
  /* background-color: #f2f2f2; */
  /* border-radius: 8px; */
}

.jp-contact-privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.jp-contact-checkbox {
  margin-top: 4px;
  width: 16px;
  height: 16px;
}

.jp-contact-checkbox-label {
  color: #000000;
  font-size: 0.875rem;
  line-height: 1.5;
}

.jp-contact-privacy-content {
  background-color: #f2f2f2;
  padding: 16px;
  border-radius: 4px;
  height: 178px;
  overflow-y: auto;
  scrollbar-width: thin; /* Firefox用 */
  -ms-overflow-style: none; /* IE, Edge用 */
}

.jp-contact-privacy-content::-webkit-scrollbar {
  width: 6px; /* Chrome, Safari用 */
}

.jp-contact-privacy-content::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 3px;
}

.jp-contact-privacy-content::-webkit-scrollbar-thumb {
  background: #A80D23;
  border-radius: 3px;
}

.jp-contact-privacy-content::-webkit-scrollbar-thumb:hover {
  background: #a00b1e;
}

.jp-contact-privacy-title {
  color: #000000;
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 1rem;
}

.jp-contact-privacy-text {
  color: #000000;
  font-size: 0.875rem;
}

.jp-contact-privacy-text p {
  margin-bottom: 8px;
}

.jp-contact-privacy-description {
  margin-top: 16px;
}

/* Submit Button */
.jp-contact-submit-wrapper {
  text-align: center;
  margin-top: 32px;
}

.jp-contact-submit-btn {
  background-color: #A80D23;
  color: white;
  border: none;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 45%;
  height: 60px;
}

.jp-contact-submit-btn:hover {
  background-color: #a00b1e;
}

/* Footer */
.jp-contact-footer {
  margin-top: 64px;
  text-align: center;
}

.jp-contact-footer-circle {
  width: 100%;
  /* height: 32px; */
  /* background-color: #a0a0a0; */
  /* border-radius: 50%; */
  margin: 0 auto 32px;
}

.jp-contact-footer-circle img {
  width: 32px;
}

.jp-contact-footer-content {
  background:#efefef;
  padding: 45px 0;
  position: relative;
  z-index: 10000;
}

.jp-contact-logo {
  color: #A80D23;
  font-weight: bold;
  /* font-size: 1.25rem; */
  margin-bottom: 16px;
}

.jp-contact-logo img {
  width: 235px;
}

.jp-contact-company-info {
  color: #000000;
}

.jp-contact-company-info .footer-flex {
  margin-bottom: 4px;
  font-weight: 300;
  font-size: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-company {
  font-size: 16px;
  font-weight: 500;
}

.jp-contact-google-map {
  background-color: #A80D23;
  color: white;
  padding: 2px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  margin: 0 4px;
}

.jp-contact-copyright {
  /* color: #a0a0a0; */
  font-size: 13px;
  font-weight: 100!important;
  margin-top: 30px;
}

.sp {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .jp-contact-wrapper {
      padding: 20px;
  }
  
  .jp-contact-title {
      /* font-size: 2rem; */
  }
  
  .jp-contact-field {
      grid-template-columns: 1fr;
      gap: 8px;
  }
  
  .jp-contact-field-address .jp-contact-label-wrapper,
  .jp-contact-field-message .jp-contact-label-wrapper {
      padding-top: 0;
  }
  
  .jp-contact-progress-steps {
      gap: 16px;
  }
  
  .jp-contact-progress-line {
      width: 24px;
  }
  
  .jp-contact-postal-wrapper {
      flex-direction: column;
      align-items: flex-start;
  }
  
  .jp-contact-postal-input {
      width: 100%;
  }
  .tb {
    display: block;
  }
}







@media (max-width: 1200px) and (min-width: 768px) {
  .main-content-left {
    width: 150px;
  }
  .sidebar {
    padding-right: 20px;
  }
  .brand-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .brand-content {
    gap: 4%
  }
  .brand-title {
    font-size: 45px;
    /* width: 55%; */
    min-width:270px;
  }
  .services {
    padding-left: 40px;
    padding-right: 40px;
  }
  .achievements .container {
    max-width: calc(100vw - 200px);
  }
  .banner-container {
    max-width: calc(100vw - 200px);
  }
  .tb {
    display: block;
  }
  .service-content h3 {
    font-size: 22px;
  }
  .services-grid {
    padding: 0;
  }
  .brand-text {
    /* min-width: 376px; */
  }
}






/* Responsive Design */
@media (max-width: 767px) {
  .main-content-left {
    display: none;
  }
  
  .main-content-right {
    width: 100%;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
  }

  .logo img {
    height: 30px;
  }

  body {
    padding-top: 60px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero-title {
    font-size: 32px;
  }

  .services .container {
    flex-direction: column;
  }

  .sidebar,
  .services > .container > .sidebar {
    position: static;
    width: 100%;
    min-height: auto;
    /* padding: 16px; */
  }
  .services > .container > .main-content {
    margin-left: 0;
    /* padding: 16px; */
  }

  .sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .brand-section .container {
    flex-direction: column;
    text-align: center;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
  }
  .achievements-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari用 */
  }
  .brand-content {
    display: block;
  }
  .services {
    padding: 15px;
  }
  .brand-title {
    font-size: 45px;
    width: 100%;
  }
  .brand-section {
    padding: 100px 15px 50px 15px;
  }
  .brand-logo img {
    max-width: 200px;
  }
  .brand-text {
    margin-top: 5rem;
  }
  .brand-text h3 {
    margin-bottom: 20px;
  }
  .brand-text p {
    font-size: 15px;
    /* letter-spacing: -0.03rem; */
  }
  .section-header {
    display: block;
    margin-top: 30px;
  }
  .location-wrapper {
    display: block;
  }
  .map-trigger {
    display: inline-block;
    margin-top: 10px;
  }
  .services-grid {
    padding: 0px;
  }
  .section-header {
    margin-bottom: 30px;
  }
  .brand-logo {
    margin-bottom: 80px;
  }
  .service-content h3 {
    font-size: 25px;
  }
  .content-block {
    padding: 0;
  }
  .detail-key {
    width: 100px;
  }
  .block-heading {
    margin-bottom: 20px;
  }
  .organization-details {
    font-size: 14px;
  }
  .service-description {
    font-size: 14px;
  }
  .banner-message {
    padding: 30px 15px 20px 15px;
  }
  .emblem-collection {
    padding: 0 0 30px 15px;
  }
  .banner-container {
    margin-bottom: 50px;
  }
  .jp-contact-header {
    display: block;
  }
  .jp-contact-progress {
    padding: 0;
  }
  .jp-contact-form {
    padding: 0;
  }
  .jp-contact-wrapper {
    padding: 15px;
  }
  .jp-contact-postal-symbol {
    justify-content: flex-start;
  }
  .jp-contact-address-fields {
    gap: 30px;
  }
  .jp-contact-company-info .footer-flex {
    display: block;
  }
  .footer-flex div {
    margin-top: 10px;
  }
  .hero-title .futura {
    font-size: 40px;
  }
  .hero-banner {
    padding: 15px;
  }
  .sp {
    display: block;
  }
  .main-content-right {
    width: 100%;
    background-image: url("images/背景_sp.png");
    background-repeat: no-repeat;
    background-position: center 35%;
    background-size: 160% auto;
  }
  .achievements .container {
    max-width: 100%;
    padding-left: 15px;
  }
  .banner-symbol img {
    width: 50px;
  }
  .jp-contact-progress {
    padding-bottom: 50px;
  }
  .jp-contact-postal-wrapper-a {
    
  }
  .unwrap {
    flex-direction: row;
    align-items: center;
  }
  .unwrap .jp-contact-postal-symbol {
    width: 20px;
  }
  .unwrap .jp-contact-postal-input {
    /* flex: 1; */
  }
  .header {
  padding: 15px 20px;
  }
  .logo img {
  height: 30px;
  }
  .banner-container {
    max-width: 100%;
  }
  .achievements .marquee-inner img {
    height: 150px;
  }
  .banner-container .marquee {
    padding-bottom: 30px;
  }
  .mobile-nav-logo {
    display: block;
    padding: 0 50px 50px 50px;
  }
  .mobile-nav-logo img {
    width: 100%;
  }
}

/* 基本的なフェードインアニメーション */
.animate-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-fade.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* サイドバーアニメーション用 */
.sidebar-item.active {
    color: #A80D23;
    font-weight: bold;
    position: relative;
    background: none;
    transition: all 0.3s;
}
.sidebar-item.active::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #A80D23;
    border-radius: 2px;
}

.sidebar-item.hovered {
    color: #A80D23;
    transform: translateX(10px);
    transition: all 0.3s;
}

.scroll.pulse {
    animation: pulse 1s ease-in-out;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* FVフェードイン */
.hero-title,
.hero-building,
.scroll {
    opacity: 0;
    transition: opacity 0.8s, transform 0.8s;
}
.hero-title.fade-in,
.hero-building.fade-in,
.scroll.fade-in {
    opacity: 1;
    transform: none;
}

/* SCROLL上下ゆらゆら */
.scroll.floating {
    animation: floating 2.2s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(12px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
  .emblem-collection {
    display: flex;
    overflow-x: auto !important;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .emblem-holder {
    flex-shrink: 0;
    min-width: 180px;
  }
}

/* FVアニメーション用 */
.text_01 {
  color: #000;
  font-weight: bold;
  font-size: 55px;
  letter-spacing: 2px;
  text-align: center;
  width: 100%;
  margin: 0;
  /* position: absolute; */
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
}

.text_01 .text {
  display: inline-block;
  opacity: 0; /* 初期状態で非表示 */
}

@media (max-width: 768px) {
  .text_01 {
    font-size: 32px;
  }
  .hero-title {
    padding-top: 90px;
  }
  .section-header h2,.jp-contact-header h1 {
    font-size: 38px;
  }
  .jp-contact-label, .jp-contact-select, .jp-contact-input, .jp-contact-select, .jp-contact-textarea {
    font-size: 15px;
  }
  .jp-contact-form {
    gap: 20px;
  }
  .jp-contact-badge {
    font-size: 12px;
  }
  .jp-contact-postal-symbol {
    font-size: 15px;
  }
  .jp-contact-input, .jp-contact-select, .jp-contact-textarea {
    height: 55px;
  }
}

.menu-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none; /* オーバーレイを無効化 */
}
.menu-overlay.active {
  display: none; /* アクティブ時も表示しない */
  opacity: 0;
}

body.nav-open {
  overflow: hidden;
}

/* モバイルナビゲーションのアニメーションを強化 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  background-color: #f2f2f2;
  z-index: 1001;
  padding-top: 100px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
}
.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  display: block;
}

/* バツボタン */
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-nav-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

.mobile-nav-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-close:hover span {
  background-color: #A80D23;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: block;
  }
  .hero-building {
    right: 22px;
  }
}

/* TOPへ戻るボタン */
.totop-btn {
  display: inline-block;
  transition: transform 0.3s ease;
}

.totop-btn:hover {
  transform: translateY(-3px);
}

.totop-btn img {
  width: 60px;
  height: auto;
  cursor: pointer;
}
