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

/* ===== SCROLL FADE ANIMATION ===== */
.js-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.445, 0.05, 0.55, 0.95),
              transform 800ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1000ms cubic-bezier(0.445, 0.05, 0.55, 0.95),
              transform 1000ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.js-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1000ms cubic-bezier(0.445, 0.05, 0.55, 0.95),
              transform 1000ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.js-slide-right.is-visible,
.js-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.js-wipe {
  position: relative;
  overflow: hidden;
  width: fit-content;
}

.js-wipe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(-101%);
  z-index: 1;
  pointer-events: none;
}

.js-wipe-inner {
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.js-wipe.is-visible::after {
  animation: wipeBox 900ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.js-wipe.is-visible .js-wipe-inner {
  animation: wipeTextShow 900ms forwards;
}

@keyframes wipeBox {
  0%   { transform: translateX(-101%); }
  45%  { transform: translateX(0%); }
  55%  { transform: translateX(0%); }
  100% { transform: translateX(101%); }
}

@keyframes wipeTextShow {
  0%,  44% { opacity: 0; }
  45%, 100% { opacity: 1; }
}

/* ===== INTRO OVERLAY ===== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--teal, #009fb8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

.intro-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-overlay.is-done {
  display: none;
}

.intro-logo {
  width: min(360px, 60vw);
  animation: introLogoFadeIn 1s ease 0.3s both;
}

@keyframes introLogoFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

:root {
  --teal: #009fb8;
  --dark: #0f2d40;
  --gray: #eeeeee;
  --text: #000;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  min-width: 1200px;
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
}

/* ==============================
   HEADER
============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--teal);
  height: 63px;
  display: flex;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 28px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-icon {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
}

.header-logo-text {
  width: 63px;
  height: 25px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  padding-right: 24px;
}

.header-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
}

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

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

.header-contact {
  background: var(--dark);
  height: 63px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  flex-shrink: 0;
}

.header-contact a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

/* ==============================
   HERO (TOP PAGE)
============================== */
.hero {
  margin-top: 63px;
  background: var(--teal);
  min-height: 764px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1512px;
  margin: 0 auto;
  position: relative;
  min-height: 764px;
}

.hero-content {
  padding: 110px 0 80px 156px;
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-brand {
  width: 520px;
  height: 210px;
  margin-bottom: 12px;
}

.hero-brand img {
  width: 100%;
  height: 100%;
  object-position: left center;
}

.hero-tagline-1 {
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero-tagline-2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
}

.hero-btn {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-btn-arrow {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-btn:hover .hero-btn-arrow {
  background: #fff;
  color: var(--teal);
}

.hero-photos {
  position: absolute;
  right: -95px;
  top: -98px;
  width: 712px;
  height: 900px;
  pointer-events: none;
  z-index: 1;
}

.hero-photo {
  position: absolute;
  width: 240px;
  height: 180px;
  border-radius: 0;
  object-fit: cover;
  opacity: 0.2;
  transform: rotate(-12.5deg);
  transform-origin: center;
}

.hero-photo:nth-child(1) { left:   0px; top:  62px; }
.hero-photo:nth-child(2) { left:  89px; top: 463px; }
.hero-photo:nth-child(3) { left: 324px; top: 201px; }
.hero-photo:nth-child(4) { left: 368px; top: 401px; }
.hero-photo:nth-child(5) { left:  44px; top: 262px; }
.hero-photo:nth-child(6) { left: 413px; top: 600px; }
.hero-photo:nth-child(7) { left: 279px; top:   1px; }
.hero-photo:nth-child(8) { left: 133px; top: 661px; }

/* ===== HERO PHOTOS: Rotate + Stagger animation =====
   REVERT: remove .hero-photos--animated class and restore js-fade js-fade--hero
====================================================== */
.hero-photos--animated .hero-photo {
  opacity: 0;
  transform: rotate(-22deg);
  animation: heroPhotoLand 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* intro ends ~2.8s, stagger 150ms each */
.hero-photos--animated .hero-photo:nth-child(1) { animation-delay: 3100ms; }
.hero-photos--animated .hero-photo:nth-child(2) { animation-delay: 3250ms; }
.hero-photos--animated .hero-photo:nth-child(3) { animation-delay: 3400ms; }
.hero-photos--animated .hero-photo:nth-child(4) { animation-delay: 3550ms; }
.hero-photos--animated .hero-photo:nth-child(5) { animation-delay: 3700ms; }
.hero-photos--animated .hero-photo:nth-child(6) { animation-delay: 3850ms; }
.hero-photos--animated .hero-photo:nth-child(7) { animation-delay: 4000ms; }
.hero-photos--animated .hero-photo:nth-child(8) { animation-delay: 4150ms; }

@keyframes heroPhotoLand {
  from {
    opacity: 0;
    transform: rotate(-22deg);
  }
  to {
    opacity: 0.2;
    transform: rotate(-12.5deg);
  }
}

/* ==============================
   SECTION COMMON
============================== */
.section-label {
  font-size: 70px;
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 30px;
}

.section-label--light {
  color: #eeeeee;
}

.section-label--white {
  color: #ffffff;
}

.section-subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-accent-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}

/* ==============================
   ABOUT
============================== */
.about {
  background: #fff;
  padding: 0 0 120px;
  overflow-x: hidden;
}

.about-inner {
  max-width: 1512px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  padding: 200px 156px 0;
  gap: 0;
}

.about-content {
  flex: 0 0 610px;
  padding-top: 0;
}

.about-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.4;
}

.about-heading .teal {
  color: var(--teal);
}

.about-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  color: #000;
}
.about-text p {
  margin-bottom: 7px;
}

.about-image-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  width: 558px;
  height: 558px;
  border: 2px solid var(--teal);
  border-radius: 30px;
  right: 50px;
  top: -52px;
  z-index: 0;
  pointer-events: none;
}

.about-image-wrap::after {
  content: 'A world where everyone can take a leap forward.';
  position: absolute;
  right: -210px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}


.about-image {
  width: 560px;
  height: 603px;
  border-radius: 30px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==============================
   SERVICE (TOP PAGE)
============================== */
.service {
  overflow: hidden;
}

.service-inner {
  background: var(--gray);
  border-radius: 65px 0 0 0;
  box-shadow: -4px 4px 4px rgba(0,0,0,0.1);
  padding: 200px 0 120px;
  margin: 0 0 0 86px;
  position: relative;
  overflow: hidden;
}

.service-inner::before {
  content: '';
  position: absolute;
  width: 907px;
  height: 367px;
  right: 15px;
  top: 200px;
  background: url('images/service-logo-watermark.png') no-repeat left top;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.service-header {
  padding: 0 0 40px calc(max((100vw - 1512px) / 2, 0px) + 70px);
  position: relative;
  z-index: 1;
}

.service-cards {
  display: flex;
  gap: 0;
  margin: 0 156px 0 calc(max((100vw - 1512px) / 2, 0px) + 70px);
  position: relative;
  z-index: 1;
}

.service-card-img {
  flex: 1;
  height: 293px;
  overflow: hidden;
}

.service-card-img:first-child {
  border-radius: 20px 0 0 0;
}

.service-card-img:last-child {
  border-radius: 0 20px 0 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card-img.is-hovered img {
  transform: scale(1.07);
}

.service-band {
  background: var(--teal);
  height: 140px;
  display: flex;
  align-items: center;
  margin: 0 156px 0 calc(max((100vw - 1512px) / 2, 0px) + 70px);
}

.service-band-half {
  flex: 1;
  padding: 0 52px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.service-band-half + .service-band-half::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 91px;
  background: rgba(255,255,255,0.5);
}

.service-band-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.service-band-accent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.service-band-line {
  width: 22px;
  height: 2px;
  background: #fff;
  flex-shrink: 0;
}

.service-band-sub {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.service-band-desc {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.service-band-arrow {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 67px;
  height: 67px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.service-band-arrow:hover {
  background: #fff;
  color: var(--teal);
}

/* ==============================
   MESSAGE
============================== */
.message {
  background: #fff;
  padding: 200px 0 120px;
  position: relative;
  overflow: hidden;
}

.message::before {
  content: '';
  position: absolute;
  left: calc(50% + 225px);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: url('images/logo-watermark.png') no-repeat center;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.message-header {
  padding: 0 0 10px calc(max((100vw - 1512px) / 2, 0px) + 156px);
  position: relative;
  z-index: 1;
}

.message-inner {
  max-width: 1512px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  padding: 0 156px;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.message-photo-wrap {
  position: relative;
  flex: 0 0 400px;
  height: 430px;
  flex-shrink: 0;
}

.message-photo-wrap::after {
  content: '';
  position: absolute;
  width: 387px;
  height: 417px;
  background: var(--teal);
  border-radius: 20px;
  left: 13px;
  top: 13px;
  z-index: 0;
}

.message-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 387px;
  height: 417px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}

.message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.message-content {
  flex: 1;
}

.message-quote {
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 24px;
  line-height: 1.4;
}

.message-body {
  font-size: 16px;
  font-weight: 500;
  line-height: 2.0;
  margin-bottom: 14px;
}

.message-ceo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.ceo-badge {
  background: var(--teal);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 0 16px;
  height: 30px;
  display: inline-flex;
  align-items: center;
}

.ceo-name {
  font-size: 32px;
  font-weight: 700;
}

.ceo-birth {
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
}

.ceo-bio {
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  margin-top: 4px;
}

/* ==============================
   CONTACT
============================== */
.contact {
  padding: 200px 0;
}

.contact-inner-wrap {
  max-width: 1300px;
  margin: 0 auto;
  background: var(--gray);
  border-radius: 45px;
  padding: 80px 80px 80px;
}

.contact-label {
  text-transform: uppercase;
}

.contact-cols {
  display: flex;
  gap: 80px;
  margin-top: 40px;
}

.contact-left {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 16px;
  font-weight: 700;
  line-height: 2.5;
}

.contact-form {
  flex: 1;
}

/* ==============================
   THANKS MODAL
============================== */
.thanks-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  align-items: center;
  justify-content: center;
}

.thanks-modal.is-open {
  display: flex;
}

.thanks-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: backdropFade 0.4s ease forwards;
  cursor: pointer;
}

.thanks-modal-card {
  position: relative;
  background: var(--teal);
  border-radius: 24px;
  padding: 80px 100px 60px;
  text-align: center;
  z-index: 1;
  animation: modalIn 0.45s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

.thanks-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.thanks-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.thanks-modal-en {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: modalTextUp 0.7s cubic-bezier(0.445, 0.05, 0.55, 0.95) 0.3s forwards;
}

.thanks-modal-line {
  display: block;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 32px auto;
  animation: modalLine 0.5s ease 0.8s forwards;
}

.thanks-modal-ja {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 2;
  margin-bottom: 48px;
  opacity: 0;
  animation: modalFade 0.7s ease 1.1s forwards;
}

.thanks-modal-btn {
  border: 2px solid #fff;
  border-radius: 40px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 52px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  opacity: 0;
  animation: modalFade 0.7s ease 1.3s forwards;
}

.thanks-modal-btn:hover {
  background: #fff;
  color: var(--teal);
}

@keyframes backdropFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes modalTextUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalLine {
  to { width: 100px; }
}

@keyframes modalFade {
  to { opacity: 1; }
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  height: 63px;
  background: #fff;
  border: none;
  padding: 0 16px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.form-textarea {
  height: 194px;
  padding: 16px;
  resize: vertical;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--dark);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  border: none;
  width: 366px;
  height: 67px;
  cursor: pointer;
  margin: 24px auto 0;
  transition: opacity 0.25s ease;
  transition-delay: 0s !important;
}

.btn-submit:hover {
  opacity: 0.6;
  transition-delay: 0s !important;
}

.btn-submit-arrow {
  font-size: 18px;
}

/* ==============================
   FOOTER
============================== */
.footer {
  background: var(--teal);
  padding: 48px 0 0;
}

.footer-main {
  max-width: 1512px;
  margin: 0 auto;
  padding: 0 157px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.footer-left {
  flex: 0 0 260px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.footer-logo-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.footer-logo-text {
  width: 128px;
  height: 52px;
  flex-shrink: 0;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-sns-link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.footer-sns-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.footer-sns-label {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.footer-center {
  flex: 1;
  padding-top: 16px;
}

.footer-center p {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
}

.footer-right {
  padding-top: 8px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

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

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

.footer-social {
  width: 57px;
  height: 57px;
  margin-top: 8px;
}

.footer-social-link {
  display: block;
  width: 57px;
  height: 57px;
}

.footer-social img {
  width: 57px;
  height: 57px;
}

.footer-social-circle {
  stroke: #fff;
  fill: transparent;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.footer-social-arrow {
  fill: #fff;
  transition: fill 0.25s ease;
}

.footer-social-link:hover .footer-social-circle {
  fill: #fff;
  stroke: #fff;
}

.footer-social-link:hover .footer-social-arrow {
  fill: var(--teal);
}

.footer-divider {
  max-width: 1512px;
  margin: 32px 157px 0;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.4);
}

.footer-copyright {
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 20px 0 24px;
}

/* ==============================
   SUB PAGE HERO
============================== */
.page-hero {
  margin-top: 63px;
  padding: 80px 0 0 156px;
  background: #fff;
}

.page-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

.page-hero-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.page-hero-banner {
  margin-top: 24px;
  margin-left: -156px;
  width: 100%;
  height: 392px;
  overflow: hidden;
  border-radius: 0 40px 40px 0;
}

.page-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==============================
   SUB PAGE CONTENT
============================== */
.breadcrumb {
  padding: 16px 0 0 156px;
  font-size: 12px;
  font-weight: 500;
  color: #000;
}

.page-intro {
  padding: 60px 156px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
  color: #000;
}

/* Service items */
.service-items {
  padding: 60px 156px 0;
}

.service-item {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  padding: 48px 0;
  border-bottom: 1px solid #ddd;
}

.service-item:first-child {
  border-top: none;
}

.service-item:last-child {
  border-bottom: 1px solid #ddd;
}

.service-item-content {
  flex: 1;
  padding-top: 4px;
}

.service-item-title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
}

.service-item-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
  margin-bottom: 24px;
}

.service-item-support {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item-support-label {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.service-item-support-label .accent-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}

.service-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.service-item-tag {
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 4px 18px;
  border-radius: 15px;
  white-space: nowrap;
}

.service-item-image {
  flex: 0 0 560px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
}

.service-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Achievements */
.achievements {
  padding: 60px 156px 80px;
  text-align: center;
}

.achievements-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.achievements-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.achievements-logos img {
  height: 44px;
  width: auto;
}

.achievements-placeholder {
  background: rgba(217,217,217,0.8);
  padding: 24px 60px;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  border-radius: 8px;
  margin: 0 auto;
}

/* ==============================
   HAMBURGER
============================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 24px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}

.header.nav-open .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.header.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile-contact {
  display: none;
}

/* ==============================
   RESPONSIVE — 768px
============================== */
@media (max-width: 768px) {

  body {
    min-width: 0;
  }

  /* --- Header --- */
  .hamburger {
    display: flex;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding-right: 0;
    background: var(--teal);
    padding: 8px 0 16px;
    z-index: 199;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .header.nav-open .header-nav {
    display: flex;
  }

  .header-nav a {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    letter-spacing: 0;
  }

  .header-contact {
    display: none;
  }

  .nav-mobile-contact {
    display: block;
    margin: 12px 24px 0;
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
  }

  /* --- Hero --- */
  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-content {
    padding: 56px 24px 64px;
    max-width: 100%;
  }

  .hero-brand {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-bottom: 12px;
  }

  .hero-brand img {
    width: 100%;
    height: auto;
  }

  .hero-tagline-1 {
    font-size: 32px;
  }

  .hero-tagline-2 {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .hero-photos {
    display: none;
  }

  /* --- Section label --- */
  .section-label {
    font-size: 48px;
  }

  /* --- About --- */
  .about-inner {
    flex-direction: column;
    padding: 48px 24px;
    gap: 32px;
    max-width: 100%;
  }

  .about-content {
    flex: none;
    width: 100%;
  }

  .about-image-wrap {
    width: 100%;
  }

  .about-image-wrap::after {
    display: none;
  }

  .about-image {
    width: 100%;
    max-width: 100%;
    height: 280px;
  }

  /* --- Service (TOP) --- */
  .service {
    margin-left: 0;
    border-radius: 30px 30px 0 0;
  }

  .service-header {
    padding: 40px 24px 32px;
  }

  .service-cards {
    flex-direction: column;
    margin: 0;
  }

  .service-card-img {
    height: 220px;
    flex: none;
  }

  .service-card-img:first-child {
    border-radius: 0;
  }

  .service-card-img:last-child {
    border-radius: 0;
  }

  .service-band {
    flex-direction: column;
    height: auto;
    margin: 0;
    padding: 28px 24px;
    gap: 0;
    align-items: flex-start;
  }

  .service-band-half {
    padding: 0;
    width: 100%;
    position: relative;
  }

  .service-band-half + .service-band-half {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.3);
  }

  .service-band-half + .service-band-half::before {
    display: none;
  }

  .service-band-arrow {
    position: static;
    transform: none;
    display: inline-flex;
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-top: 12px;
  }

  /* --- Message --- */
  .message {
    padding: 48px 0;
  }

  .message-header {
    padding: 0 0 24px 24px;
  }

  .message-inner {
    flex-direction: column;
    padding: 0 24px;
    gap: 32px;
  }

  .message-photo {
    flex: none;
    width: 100%;
    max-width: 320px;
    height: 360px;
    margin: 0 auto;
    border-radius: 20px;
  }

  .message-quote {
    font-size: 22px;
  }

  /* --- Contact --- */
  .contact {
    padding: 48px 16px;
  }

  .contact-inner-wrap {
    padding: 40px 24px;
    border-radius: 24px;
  }

  .contact-cols {
    flex-direction: column;
    gap: 32px;
    margin-top: 24px;
  }

  .contact-left {
    flex: none;
  }

  .contact-heading {
    font-size: 22px;
  }

  .btn-submit {
    width: 100%;
    max-width: 366px;
  }

  /* --- Footer --- */
  .footer {
    padding: 40px 0 0;
  }

  .footer-main {
    flex-direction: column;
    padding: 0 24px;
    gap: 32px;
  }

  .footer-left {
    flex: none;
  }

  .footer-center {
    flex: none;
  }

  .footer-right {
    flex-direction: column;
    gap: 24px;
  }

  .footer-divider {
    margin: 24px 24px 0;
  }

  /* --- Sub pages --- */
  .page-hero {
    padding: 40px 0 0 24px;
  }

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

  .page-hero-subtitle {
    font-size: 15px;
  }

  .page-hero-banner {
    margin-left: -24px;
    height: 220px;
    border-radius: 0 24px 24px 0;
  }

  .breadcrumb {
    padding: 12px 0 0 24px;
    font-size: 13px;
  }

  .page-intro {
    padding: 28px 24px 0;
    font-size: 15px;
  }

  .service-items {
    padding: 28px 24px 0;
  }

  .service-item {
    flex-direction: column;
    gap: 20px;
    padding: 32px 0;
  }

  .service-item-title {
    font-size: 24px;
  }

  .service-item-image {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .achievements {
    padding: 40px 24px 60px;
  }

  .achievements-title {
    font-size: 24px;
    margin-bottom: 28px;
  }
}

/* ==============================
   RESPONSIVE — overflow / flex fixes
============================== */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
  }

  /* about-image: flex-shrink:0 を解除し 100% 幅に */
  .about-content {
    flex-shrink: 1;
    width: 100%;
    min-width: 0;
  }

  .about-image-wrap {
    flex-shrink: 1;
    min-width: 0;
  }

  .about-image {
    flex-shrink: 1;
    width: 100%;
  }

  /* message-photo: 固定幅解除 */
  .message-photo {
    flex-shrink: 1;
    width: 100%;
  }

  /* contact-left: 固定幅解除 */
  .contact-left {
    width: 100%;
  }

  /* footer-left: 固定幅解除 */
  .footer-left {
    flex-shrink: 1;
    width: 100%;
  }

  /* service-item-image: 固定幅解除 */
  .service-item-image {
    flex-shrink: 1;
    width: 100%;
  }

  /* hero-brand: vw ベースで制限 */
  .hero-brand {
    width: min(280px, 80vw);
    height: auto;
  }

  /* hero-brand img: 親に合わせる */
  .hero-brand img {
    width: 100%;
    height: auto;
  }
}

/* ==============================
   RESPONSIVE — Safari / WebKit fix
============================== */
@media (max-width: 768px) {
  html {
    overflow-x: clip;        /* iOS Safari で確実にクリップ */
    max-width: 100vw;
  }

  body {
    overflow-x: clip;
    max-width: 100vw;
    -webkit-overflow-scrolling: auto;
  }

  /* すべての直接の子要素が viewport 幅を超えないようにする */
  body > * {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* 横スクロールを引き起こしやすい要素を個別に制限 */
  .about-inner,
  .message-inner,
  .contact-inner-wrap,
  .footer-main,
  .service-items {
    max-width: 100%;
    overflow-x: hidden;
  }
}
