
:root {
  --primary-dark: #0B1A35;
  --primary-blue: #13284B;
  --primary-blue-light: #1a3358;
  --accent-red: #C8102E;
  --accent-red-dark: #a00d24;
  --accent-rust: #B54A3A;
  --link-blue: #0066CC;
  --text-white: #FFFFFF;
  --text-dark: #111827;
  --text-gray: #6B7280;
  --text-light-gray: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --border-light: #E0E0E0;
  --border-very-light: #EEEEEE;
  --badge-bg: #E8EDF2;
  --header-height: 70px;
  --container-width: 1200px;
  --section-padding: 80px;
}
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 70px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--bg-white);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 400;
  transition: color .2s;
}

.header-nav a:hover { color: var(--accent-red); }

.header-cta {
  background: var(--accent-red);
  color: var(--text-white);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  transition: background .2s;
}

.header-cta:hover { background: var(--accent-red-dark); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--primary-dark);
  overflow: visible;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/hero-bg-v2.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(11,26,53,0.92) 0%, rgba(11,26,53,0.7) 50%, rgba(11,26,53,0.3) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 200px;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}

.hero-content {
  max-width: 650px;
}

.hero-label {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 3px;
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
}

.hero-btn-primary {
  display: inline-block;
  background: var(--accent-red);
  color: var(--text-white);
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 3px;
  transition: background .2s, transform .2s;
  border: none;
  cursor: pointer;
}

.hero-btn-primary:hover {
  background: var(--accent-red-dark);
  transform: translateY(-2px);
}

.hero-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-white);
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--text-white);
  border-radius: 3px;
  transition: background .2s, transform .2s;
  cursor: pointer;
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Hero service cards - overlapping bottom */
.hero-cards {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
  width: var(--container-width);
  max-width: calc(100% - 48px);
  padding: 0 24px;
  box-sizing: border-box;
}

.hero-card {
  flex: 1;
  background: var(--bg-white);
  padding: 24px 28px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow .3s;
}

.hero-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  flex-shrink: 0;
}

.hero-card-icon.red { background: var(--accent-red); }
.hero-card-icon.blue { background: var(--primary-blue); }

.hero-card-body {
  flex: 1;
}

.hero-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.hero-card-sub {
  font-size: 12px;
  color: var(--text-gray);
}

.hero-card-arrow {
  color: var(--text-light-gray);
  font-size: 18px;
  flex-shrink: 0;
}

/* ===================== SECTION TITLE ===================== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent-rust);
}

.section-title.light .eyebrow { color: rgba(255,255,255,0.6); }
.section-title.light h2 { color: var(--text-white); }
.section-title.light h2::after { background: var(--text-white); }

/* Left-aligned section title (for properties) */
.section-title-left {
  margin-bottom: 16px;
}

.section-title-left .eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title-left h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-title-left h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--text-white);
}

/* ===================== BUSINESS ===================== */
.business {
  padding: 140px 0 var(--section-padding);
  background: var(--bg-white);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.business-card {
  background: #F9FAFB;
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  border-radius: 0;
  transition: box-shadow .3s;
  position: relative;
}

.business-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.business-card-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--border-light);
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Noto Sans JP', sans-serif;
}

.business-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.business-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ===================== NEWS ===================== */
.news {
  padding: var(--section-padding) 0;
  background: var(--bg-light);
}

.news-list {
  width: 100%;
}

.news-divider-top {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  margin-bottom: 0;
}

.news-item {
  border-bottom: 1px solid var(--border-very-light);
  transition: background .2s;
}

.news-item:hover { background: rgba(200,16,46,0.02); }

.news-item-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  cursor: pointer;
  user-select: none;
}

.news-date {
  font-size: 13px;
  color: var(--text-dark);
  white-space: nowrap;
  font-weight: 500;
  min-width: 90px;
}

.news-category {
  font-size: 12px;
  padding: 4px 14px;
  background: var(--badge-bg);
  color: var(--text-dark);
  border-radius: 3px;
  white-space: nowrap;
  font-weight: 500;
  min-width: 80px;
  text-align: center;
}

.news-title {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 400;
}

.news-arrow {
  color: var(--text-light-gray);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform .3s;
}

.news-item.open .news-arrow {
  transform: rotate(90deg);
}

.news-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 0;
}

.news-item.open .news-detail {
  max-height: 300px;
  padding: 0 0 24px 114px;
}

.news-detail p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.9;
}

/* ===================== PROPERTIES ===================== */
.properties {
  padding: var(--section-padding) 0;
  background: var(--primary-dark);
  overflow: visible;
  position: relative;
}

.properties .container {
  position: relative;
  overflow: visible;
}

.properties-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  margin-bottom: 40px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 32px;
  overflow: visible;
}
.properties .prev_slides,.properties .prev_slides2{
    left: -50px;
    width: 40px;
    height: 60px;
    background-color: rgba(255,255,255,0.3);
}
.properties .next_slides,.properties .next_slides2{
    right: -50px;
    width: 40px;
    height: 60px;
    background-color: rgba(255,255,255,0.3);
}
.property-card {
  background: var(--bg-white);
  border-radius: 0;
  overflow: visible;
  transition: box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.property-img {
  position: relative;
  width: 100%;
  overflow: visible;
  background: var(--bg-light);
}

.property-img img {
  width: 100%;
  height: auto;
  display: block;
}

.property-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--accent-red);
  color: var(--text-white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 2px;
}

.property-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.property-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.property-address {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.property-specs {
  border-top: 1px solid var(--border-very-light);
}

.property-spec-row {
  display: flex;
  border-bottom: 1px solid var(--border-very-light);
  padding: 10px 0;
}

.property-spec-label {
  width: 80px;
  font-size: 12px;
  color: var(--text-gray);
  flex-shrink: 0;
}

.property-spec-value {
  font-size: 12px;
  color: var(--text-dark);
}

.property-detail-link {
  display: block;
  margin-top: 14px;
  text-align: right;
  font-size: 13px;
  color: var(--link-blue);
  font-weight: 500;
}

/* ===================== STRENGTHS ===================== */
.strengths {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--primary-dark);
  overflow: hidden;
}

.strengths-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  
  opacity: 0.15;
}

.strengths .container {
  position: relative;
  z-index: 2;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  margin-top: 50px;
}

.strength-item {
  text-align: center;
}

.strength-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
}

.strength-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.strength-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 300px;
  margin: 0 auto;
}

/* ===================== COMPANY ===================== */
.company {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.company-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table {
  border-top: 3px solid var(--primary-dark);
}

.company-table tr {
  border-bottom: 1px solid var(--border-light);
}

.company-table th {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  width: 130px;
  vertical-align: middle;
  background: var(--bg-light);
}

.company-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 400;
}

.company-right {
  display: flex;
  flex-direction: column;
}

.company-img-bar {
  height: 6px;
  background: var(--primary-dark);
  flex-shrink: 0;
}

.company-slider {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.company-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

.company-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s;
}

.company-slide.active {
  opacity: 1;
}

.company-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.company-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background .3s;
}

.company-dot.active {
  background: var(--accent-red);
}

.company-btn {
  display: block;
  width: 100%;
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 14px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: background .2s;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.company-btn:hover { background: var(--primary-blue-light); }

/* ===================== CONTACT ===================== */
.contact {
  padding: var(--section-padding) 0;
  background: var(--primary-dark);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-phone-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.contact-phone-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 1px;
}

.contact-phone-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-address-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-address-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.contact-address-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.6;
}

.contact-form {
  background: rgba(255,255,255,0.06);
  padding: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

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

.form-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-label .required { color: var(--accent-red); margin-left: 4px; }

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--text-white);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-red);
}

.form-textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent-red);
  color: var(--text-white);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}

.form-submit:hover { background: var(--accent-red-dark); }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--primary-dark);
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-logo { display: flex; align-items: center; }

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color .2s;
}

.footer-nav a:hover { color: var(--text-white); }

.footer-bottom {
  text-align: center;

  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-copyright {
  font-size: 12px;
      color: rgba(255, 255, 255, 0.7);
}
.company-page-hero {
    padding: 145px 0 72px;
    background: linear-gradient(100deg, #021630, #07519a);
    color: #fff;
}
.content {
    width: 1180px;
    margin: auto;
}
.company-page-hero p {
    margin: 0;
    color: #8dc9ff;
    font-size: .72rem;
    letter-spacing: .2em;
    font-weight: 900;
}
.company-page-hero h1 {
    margin: 8px 0 0;
    font-size: 64px;
}
.company-page-section {
    padding: 84px 0;
}
.company-page-lead {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--muted);
}
.company-page-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 36px;
    align-items: start;
}
.company-page-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 3px solid #031b3d;
}

.company-page-table th {
    width: 27%;
    background: #f3f5f8;
}
.company-page-table th, .company-page-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #dfe5ec;
    text-align: left;
    font-size: .86rem;
}
.company-philosophy {
    padding: 30px;
    background: #f4f7fa;
    border-left: 4px solid #c40000;
}
.company-philosophy h2 {
    margin-top: 0;
    color: #031b3d;
}
.company-philosophy p {
    color:#6a7588;
    font-size: .87rem;
}
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}
.section-heading p {
    margin: 0;
    color: #0d4e95;
    font-size: .72rem;
    letter-spacing: .2em;
    font-weight: 900;
}
.section-heading h2 {
    margin: 5px 0;
    color: #031b3d;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: .08em;
}
.company-business-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}
.company-business-list article {
    padding: 21px;
    border: 1px solid #dfe5ec;
    background: #fff;
}
.company-business-list strong {
    display: block;
    color: #031b3d;
    margin-bottom: 6px;
}
.company-business-list p {
    margin: 0;
    color: #6a7588;
    font-size: .8rem;
}
.company-access {
    margin-top: 36px;
    padding: 26px;
    background: #031b3d;
    color: #fff;
}
.company-access p {
    margin-bottom: 0;
    color: #d8e5f3;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-cta { font-size: 12px; padding: 8px 16px; }

  .hero { min-height: 560px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 13px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-cards { flex-direction: column; bottom: -40px; transform: translateX(-50%) translateY(0); }
  .hero-card { width: 100%; }

  .business-grid { grid-template-columns: 1fr; }
  .business { padding-top: 100px; }

  .news-item { flex-direction: column; align-items: flex-start; gap: 8px; }

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

  .strengths-grid { grid-template-columns: 1fr; gap: 32px; }

  .company-content { grid-template-columns: 1fr; }
  .contact-content { grid-template-columns: 1fr; }

  .contact-phone-number { font-size: 24px; }
  .contact-form { padding: 24px; }

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