/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; padding: 0; margin: 0; }
html, body { max-width: 100vw; overflow-x: hidden; }
body {
  color: #000;
  background: #fff;
  font-family: YuGothic, 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 90px;
}
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
ul, ol, li, nav { list-style: none; }
a { color: inherit; text-decoration: none; }
button { border: none; outline: none; background: transparent; cursor: pointer; padding: 0; margin: 0; }
img { display: block; max-width: 100%; }

@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1); }

/* ===== Header ===== */
.header {
  background: #fff;
  height: 90px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header-container {
  width: 100%;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo { flex-shrink: 0; }
.header-logo img { height: 37px; width: 120px; display: block; }
.header-nav { display: flex; align-items: center; }
.header-nav ul { display: flex; gap: 20px; }
.header-nav a {
  font-family: YuGothic, 'Noto Sans JP', sans-serif;
  color: #777;
  font-size: 13px;
  transition: color 0.3s ease;
}
.header-nav a:hover { color: #000; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  position: relative;
  width: 15px;
}
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #000;
}

/* ===== SP Menu ===== */
.sp-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 2000;
  flex-direction: column;
}
.sp-menu.open { display: flex; }
.sp-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 24px;
  border-bottom: 1px solid #eee;
}
.sp-menu-logo { height: 25px; width: 80px; object-fit: contain; }
.sp-menu-close {
  font-size: 2rem; color: #777; cursor: pointer;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
}
.sp-menu-list {
  display: flex; flex-direction: column;
  gap: 24px; padding: 40px 0 0 37px;
  font-family: YuGothic, 'Yu Gothic', sans-serif;
  font-size: 16px; color: #777;
}
.sp-menu-list a { color: #777; font-size: 16px; transition: color 0.2s; }
.sp-menu-list a:hover { color: #333; }

/* ===== Footer ===== */
.footer {
  background: #fff;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}
.footer-logo img { height: 37px; width: 120px; display: block; }
.footer-links {
  display: flex;
  gap: 32px;
  align-items: center;
  height: 100%;
}
.footer-links a {
  font-family: YuGothic, 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}
.footer-copyright {
  font-family: 'Noto Sans JP', YuGothic, sans-serif;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-family: YuGothic, 'Yu Gothic', sans-serif;
  color: #666;
  white-space: nowrap;
  padding: 0 5.5%;
  margin-top: 37px;
  font-size: 13px;
  line-height: normal;
}
.breadcrumb a { color: #666; }
.breadcrumb-active { color: #000; }

/* ===== Page Title ===== */
.page-title-section {
  font-family: 'Noto Sans JP', YuGothic, 'Yu Gothic', sans-serif;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.7px;
  margin-top: 134px;
}
.page-title-label {
  display: block;
  color: #777;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.9px;
}
.page-title-h1 {
  color: #000;
  font-size: 39px;
  font-weight: 500;
  letter-spacing: 1.95px;
  margin-top: 7px;
}
.page-title-spacer {
  position: relative;
  width: 100%;
  height: 6px;
  margin-top: 37px;
}
.page-title-spacer::before {
  content: '';
  background: url(../image/title-spacer.png) no-repeat center;
  width: 6px; height: 6px;
  background-size: contain;
  display: block;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}

/* ===== TOP Page - Main Visual ===== */
.main-visual {
  padding: 0 13.8% 81px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.mv-container {
  position: relative;
  height: 379px;
  margin-top: 81px;
}
.fv-title {
  font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', serif;
  font-size: clamp(18px, 4vw, 35px);
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  margin: 0;
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: 64%;
  white-space: nowrap;
}
.mv-animation {
  width: 379px;
  height: 379px;
  position: absolute;
  right: 0; top: 0;
}
.fv-description {
  font-family: 'Yu Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: #555;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.7px;
  width: 100%;
  margin-top: 123px;
}
.fv-description p { display: block; }

.company-info-container {
  margin-top: 127px;
  display: flex;
  gap: 70px;
}
.company-info-card { width: 240px; }
.company-info-label {
  font-size: 27px;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 27px;
  line-height: 2;
}
.company-info-label::after {
  content: '';
  display: block;
  width: 25px; height: 7px;
  background: url(../image/vector-small.png) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}
.company-info-desc {
  font-family: 'Yu Gothic', YuGothic, sans-serif;
  color: #666;
  font-size: 13px;
  text-align: justify;
  line-height: 2;
  height: 78px;
  margin-top: 12px;
}

/* ===== About Page ===== */
.overview-wrapper {
  padding: 0 17%;
  margin-top: 110px;
}
.greeting-wrapper {
  padding: 0 17%;
  margin-top: 114px;
}
.mission-wrapper {
  margin-top: 120px;
  padding: 0 16.6% 90px;
}

/* Company Overview */
.company-overview-title {
  color: #000;
  font-size: 24px;
  letter-spacing: 0.96px;
  font-weight: 400;
}
.company-overview-title-text {
  display: block;
  line-height: 2;
  font-weight: 500;
}
.company-info-dl {
  margin-top: 56px;
  color: #555;
  font-family: YuGothic;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.32px;
  width: 100%;
}
.company-info-row {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
}
.company-info-row:first-of-type { border-top: 1px solid #ddd; }
.company-info-dt {
  flex: 0 0 21%;
  color: #555;
}
.company-info-dd {
  flex: 0 1 auto;
  white-space: pre-line;
  color: #555;
}

/* Greeting */
.greeting-title {
  color: #000;
  font-size: 24px;
  letter-spacing: 0.96px;
  font-weight: 400;
}
.greeting-title-text {
  display: block;
  line-height: 2;
  font-weight: 500;
}
.greeting-content {
  display: flex;
  margin-top: 46px;
  padding: 0 0 0 55px;
  gap: 34px;
}
.greeting-content::before {
  content: '';
  display: block;
  width: 305px;
  height: 401px;
  background: url(../image/imada.png) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}
.greeting-text-title {
  color: #000;
  font-family: YuGothic;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.56;
  letter-spacing: 1.4px;
}
.greeting-text-body {
  color: #555;
  text-align: justify;
  font-family: YuGothic;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.56px;
  margin-top: 6px;
}

/* Mission */
.mission-title {
  color: #000;
  font-family: YuGothic;
  font-size: 24px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.96px;
}
.mission-content {
  margin-top: 52px;
}
.mission-content-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mission-title-img { width: 229px; height: 40px; }
.mission-content-text {
  margin-top: 33px;
  color: #555;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 1.4px;
}

/* ===== Service Page ===== */
.service-wrapper {
  padding: 0 17% 96px;
  margin-top: 108px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-intro-text {
  color: #555;
  font-size: 14px;
  font-family: YuGothic;
  font-weight: 500;
  line-height: 2.2;
}
.service-detail-list { margin-top: 27px; }
.service-item-title {
  font-family: YuGothic;
  font-size: 24px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.96px;
  padding-top: 60px;
  color: #000;
}
.service-item-title:first-of-type { padding-top: 0; }
.service-item-desc {
  color: #555;
  font-feature-settings: "fwid" on;
  font-family: YuGothic;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  white-space: pre-line;
  margin-top: 13px;
}

/* ===== Contact Page ===== */
.contact-wrapper {
  padding: 0 17% 96px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-description {
  color: #555;
  font-feature-settings: "fwid" on;
  font-family: YuGothic;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  white-space: pre-line;
  margin-top: 111px;
}
.contact-form-bg {
  background: #d9d9d9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
}
.contact-form-flex,
.contact-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.contact-form-container {
  gap: 33px;
  justify-content: flex-start;
  padding: 80px 140px;
  box-sizing: border-box;
}
.contact-form-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  align-items: flex-start;
}
.contact-form-label-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}
.contact-form-label {
  font-family: 'Noto Sans JP', YuGothic, sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 24px;
}
.contact-form-required {
  color: #df3a37;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.contact-form-input-wrap { width: 100%; }
.contact-form-input,
.contact-form-textarea {
  color: #000;
  background: #fff;
}
.contact-form-input {
  width: 100%;
  height: 46px;
  border: 1px solid #3c3a3a;
  font-size: 16px;
  padding: 0 12px;
  box-sizing: border-box;
  outline: none;
}
.contact-form-textarea {
  width: 100%;
  height: 240px;
  border: 1px solid #3c3a3a;
  font-size: 16px;
  padding: 12px;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
}
.contact-form-checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}
.contact-form-checkbox-row2 {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.contact-form-checkbox-label {
  display: flex;
  align-items: center;
  font-family: 'Noto Sans JP', YuGothic, sans-serif;
  color: #333;
  font-size: 16px;
  gap: 8px;
  flex: 0 1 50%;
  cursor: pointer;
}
.contact-form-checkbox {
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid #3c3a3a;
  margin-right: 4px;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.contact-form-checkbox:checked::after {
  content: "";
  display: block;
  position: absolute;
  left: 6px;
  top: 2px;
  width: 8px;
  height: 14px;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: rotate(45deg);
}
.contact-form-submit-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.contact-form-submit-btn {
  background: #fff;
  border: 1px solid #333;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 40px;
  font-family: 'Noto Sans JP', YuGothic, sans-serif;
  color: #333;
  font-size: 15px;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-form-submit-btn:hover { background: #f5f5f5; }
.contact-form-submit-btn-icon {
  width: 14px;
  height: 9px;
  display: block;
  background: url(../image/send-arrow.svg) no-repeat center;
  background-size: contain;
}
.contact-form-submit-btn:disabled {
  background: #fff;
  color: #ccc;
  border: 1px solid #eee;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ===== Privacy Policy ===== */
.privacy-wrapper {
  padding: 0 17% 106px;
  margin-top: 125px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.privacy-description {
  color: #555;
  font-family: YuGothic;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}
.privacy-list { list-style: none; }
.privacy-item { margin-top: 81px; }
.privacy-item:first-child { margin-top: 81px; }
.privacy-item + .privacy-item { margin-top: 52px; }
.privacy-item-title {
  color: #000;
  font-family: YuGothic;
  font-size: 24px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.96px;
}
.privacy-item-desc {
  color: #333;
  text-align: justify;
  font-family: YuGothic;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 10px;
}
@media (max-width: 1024px) {
  .privacy-wrapper { padding: 0 30px; margin-top: 49px; }
  .privacy-description { font-size: 12px; }
  .privacy-item { margin-top: 29px; }
  .privacy-item + .privacy-item { margin-top: 21px; }
  .privacy-item-title { font-family: 'Noto Sans JP'; font-size: 18px; font-weight: 400; letter-spacing: 0.72px; }
  .privacy-item-desc { color: #555; font-size: 12px; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  body { padding-top: 45px; }

  .header { height: 45px; }
  .header-container { padding: 0 30px; }
  .header-logo img { width: 81px; height: 25px; }
  .header-nav ul { display: none; }
  .hamburger { display: flex; }

  .footer {
    padding: 47px 0 47px 30px;
    height: auto;
    display: block;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 0;
    height: auto;
    margin-top: 20px;
  }
  .footer-links a {
    flex: 0 1 50%;
    font-size: 10px;
    font-weight: 500;
    line-height: 2;
  }
  .footer-copyright {
    display: block;
    text-align: center;
    padding-right: 30px;
    margin-top: 35px;
  }

  .breadcrumb { padding: 0 30px; }

  .page-title-section { margin-top: 37px; }
  .page-title-label { font-size: 15px; line-height: 45px; letter-spacing: 0.75px; }
  .page-title-h1 { font-size: 30px; line-height: 45px; letter-spacing: 1.5px; margin-top: 0; }

  .main-visual { padding: 0 30px; }
  .mv-container {
    margin-top: 120px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .fv-title {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4.56px;
    position: static;
    width: 100%;
    transform: none;
    white-space: normal;
  }
  .mv-animation { width: 198px; height: 198px; position: static; }
  .fv-description { font-size: 12px; font-weight: 500; margin-top: 55px; letter-spacing: 0; }
  .company-info-container { display: block; margin-top: 67px; }
  .company-info-card { width: 100%; margin-bottom: 40px; }
  .company-info-label {
    font-size: 16px; font-weight: 500; letter-spacing: 0.8px; gap: 6px;
  }
  .company-info-label::after {
    width: 33px; height: 7px;
    background-image: url(../image/SP-vector-small.png);
  }
  .company-info-desc { height: auto; font-size: 12px; }

  .overview-wrapper { margin-top: 74px; padding: 0 30px; }
  .greeting-wrapper { margin-top: 67px; padding: 0 30px; }
  .mission-wrapper { margin-top: 87px; padding: 0 30px; }

  .company-info-dl { font-size: 12px; margin-top: 20px; padding: 0 8px; }
  .company-info-row { padding: 10px 8px; }
  .company-info-row:last-of-type { border-bottom: none; }
  .company-info-dt { flex: 0 0 30%; }

  .greeting-content {
    display: block;
    padding: 0;
    margin-top: 27px;
  }
  .greeting-content::before {
    width: 255px; height: 255px;
    background-image: url(../image/SP-imada.png);
    border-radius: 50%;
    margin: 0 auto;
  }
  .greeting-text-title {
    font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: 0;
    color: #555; margin-top: 42px;
  }
  .greeting-text-body {
    font-size: 12px; line-height: 1.5; letter-spacing: 0; margin-top: 21px;
  }

  .mission-content-text {
    font-size: 12px; line-height: 2; letter-spacing: 0; margin-top: 24px;
    font-family: YuGothic;
  }
  .mission-title-img { width: 169px; height: 30px; }

  .service-wrapper { margin-top: 73px; padding: 0 30px; }
  .service-intro-text { font-size: 12px; font-weight: 500; line-height: 2; }
  .service-detail-list { margin-top: 37px; }
  .service-item-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px; font-weight: 400; letter-spacing: 0.72px; padding-top: 0;
  }
  .service-item-title:not(:first-of-type) { margin-top: 68px; }
  .service-item-desc { font-size: 12px; letter-spacing: 0; margin-top: 10px; }

  .contact-wrapper { padding: 0 30px; }
  .contact-description {
    font-size: 12px;
    text-align: justify;
    letter-spacing: 0;
    margin-top: 48px;
  }
  .contact-form-bg { margin-top: 48px; }
  .contact-form-container { padding: 29px 14px; gap: 11px; }
  .contact-form-label-row { gap: 3px; }
  .contact-form-label {
    font-family: YuGothic;
    font-size: 12px;
    font-weight: 500;
    line-height: 16.826px;
    letter-spacing: 0.36px;
  }
  .contact-form-required {
    font-family: YuGothic;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.68;
    letter-spacing: 0.3px;
  }
  .contact-form-input { height: 29px; }
  .contact-form-textarea { height: 250px; }
  .contact-form-checkbox-grid { gap: 16px; }
  .contact-form-checkbox-label {
    font-family: YuGothic;
    font-size: 11.013px;
    font-weight: 500;
    line-height: 1.53;
    letter-spacing: 0.33px;
    gap: 3px;
  }
  .contact-form-checkbox { width: 14px; height: 14px; }
  .contact-form-checkbox:checked::after {
    left: 3px; top: 1px; width: 4px; height: 7px;
  }
  .privacy-wrapper { padding: 0 30px; margin-top: 49px; }
}
