/* ====================================
   RABONA Corporate Site - style.css
   Redesigned: shine-gr.co.jp inspired
   Colors: Navy #1B3A6B / #0D1B3E + Gold #C9A84C
   ==================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s, color 0.3s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
}

.section--gray {
  background: #f8f9fa;
}

/* Section Title - shine-gr style: large English bg text */
.section__title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section__title .en {
  display: block;
  font-size: 0.7rem;
  color: #C9A84C;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section__title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
}

.section__title h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #C9A84C;
  margin: 20px auto 0;
}

/* Left-aligned section title variant */
.section__title--left {
  text-align: left;
}

.section__title--left h2::after {
  margin: 20px 0 0;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: background 0.3s;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.header__logo a {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 36px;
  width: auto;
}

.header__logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.1em;
  margin-left: 10px;
}

.header__nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header__nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #333;
  position: relative;
  transition: color 0.3s;
}

.header__nav li a .nav-en {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1B3A6B;
  margin-bottom: 2px;
}

.header__nav li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #C9A84C;
  transition: width 0.3s;
}

.header__nav li a:hover::after {
  width: 60%;
}

.header__nav li a:hover {
  opacity: 1;
  color: #1B3A6B;
}

/* Header CTA buttons */
.header__nav .nav-cta {
  margin-left: 8px;
}

.header__nav .nav-cta a {
  padding: 10px 24px;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.header__nav .nav-cta a::after {
  display: none;
}

.header__nav .nav-cta--recruit a {
  background: #C9A84C;
  color: #0D1B3E;
}

.header__nav .nav-cta--recruit a:hover {
  background: #B8963E;
  opacity: 1;
}

.header__nav .nav-cta--contact a {
  background: #1B3A6B;
  color: #fff;
}

.header__nav .nav-cta--contact a:hover {
  background: #0D1B3E;
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #1B3A6B;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0D1B3E 0%, #1B3A6B 50%, #2a4f7f 100%);
  margin-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.hero::after {
  content: "RABONA";
  position: absolute;
  right: -40px;
  bottom: 60px;
  font-size: 12rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero__content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin-bottom: 28px;
}

.hero__content p {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 2;
  max-width: 560px;
  font-weight: 400;
}

/* --- Info Table --- */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 22px 24px;
  border-bottom: 1px solid #eee;
  font-size: 0.92rem;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 180px;
  font-weight: 600;
  color: #1B3A6B;
  background: transparent;
  white-space: nowrap;
}

.info-table td {
  color: #555;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 44px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.card__num {
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(27, 58, 107, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1B3A6B;
}

.card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.85;
}

/* --- CTA --- */
.cta {
  text-align: center;
  padding: 100px 40px;
  background: linear-gradient(135deg, #1B3A6B 0%, #0D1B3E 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.cta h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 0.06em;
}

.cta p {
  font-size: 0.92rem;
  opacity: 0.85;
  margin-bottom: 36px;
  position: relative;
  line-height: 2;
}

.btn {
  display: inline-block;
  padding: 16px 48px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  position: relative;
}

.btn--primary {
  background: #1B3A6B;
  color: #fff;
}

.btn--primary:hover {
  background: #0D1B3E;
  opacity: 1;
}

.btn--white {
  background: #C9A84C;
  color: #0D1B3E;
  font-weight: 700;
}

.btn--white:hover {
  background: #d4b560;
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  opacity: 1;
}

/* Arrow button style (like shine-gr) */
.btn--arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 48px;
  background: #C9A84C;
  color: #0D1B3E;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border: none;
  transition: all 0.3s;
}

.btn--arrow::after {
  content: "\2192";
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.btn--arrow:hover {
  background: #d4b560;
  opacity: 1;
}

.btn--arrow:hover::after {
  transform: translateX(4px);
}

/* --- Map --- */
.map-wrapper {
  margin-top: 48px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* --- Recruit --- */
.recruit-block {
  background: #fff;
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.recruit-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1B3A6B;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid #C9A84C;
}

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 40px 0;
}

.flow__step {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1B3A6B;
  color: #fff;
  padding: 16px 32px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.flow__arrow {
  font-size: 1.2rem;
  color: #C9A84C;
  font-weight: 700;
}

/* --- Features list --- */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.features-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.features-list__item .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.features-list__item .text {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
}

.features-list__item .text strong {
  display: block;
  color: #1B3A6B;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.form-group .required {
  display: inline-block;
  background: #1B3A6B;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 0.92rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1B3A6B;
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

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

.form-group--privacy {
  text-align: center;
  margin-top: 36px;
}

.privacy-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  cursor: pointer;
}

.privacy-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1B3A6B;
  cursor: pointer;
}

.privacy-text {
  color: #555;
}

.privacy-link {
  color: #1B3A6B;
  text-decoration: underline;
  font-weight: 600;
}

.privacy-link:hover {
  opacity: 0.7;
}

.privacy-note {
  margin-top: 16px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 0;
  text-align: left;
  border-left: 3px solid #C9A84C;
}

.privacy-note p {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.9;
}

.form-group--submit {
  text-align: center;
  margin-top: 44px;
}

.form-group--submit .btn {
  min-width: 260px;
  padding: 18px 56px;
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  background: #0D1B3E;
  color: #aaa;
  padding: 60px 0 30px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__logo span {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.1em;
}

.footer__info p {
  font-size: 0.8rem;
  line-height: 2;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 0.8rem;
  color: #aaa;
  letter-spacing: 0.04em;
}

.footer__nav a:hover {
  color: #C9A84C;
  opacity: 1;
}

.footer__copy {
  text-align: center;
  font-size: 0.72rem;
  color: #555;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Page Hero (sub pages) --- */
.page-hero {
  margin-top: 80px;
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(135deg, #0D1B3E 0%, #1B3A6B 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: attr(data-en);
  position: absolute;
  right: 40px;
  bottom: -10px;
  font-size: 8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.05em;
  pointer-events: none;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.page-hero .en {
  font-size: 0.72rem;
  color: #C9A84C;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.75rem;
  color: #999;
  background: #f8f9fa;
}

.breadcrumb a {
  color: #666;
}

.breadcrumb a:hover {
  color: #C9A84C;
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header__inner {
    height: 64px;
    padding: 0 20px;
  }

  .header__logo img {
    height: 28px;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 24px 0;
  }

  .header__nav.is-open {
    display: block;
  }

  .header__nav ul {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .header__nav .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 420px;
    padding: 80px 0;
    margin-top: 64px;
  }

  .hero__content {
    padding: 0 24px;
  }

  .hero__content h1 {
    font-size: 1.8rem;
  }

  .hero::after {
    font-size: 5rem;
    right: -20px;
    bottom: 30px;
  }

  .section {
    padding: 70px 0;
  }

  .section__title {
    margin-bottom: 40px;
  }

  .section__title h2 {
    font-size: 1.4rem;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .info-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .recruit-block {
    padding: 28px 20px;
  }

  .flow {
    flex-direction: column;
  }

  .flow__arrow {
    transform: rotate(90deg);
  }

  .footer__inner {
    flex-direction: column;
  }

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

  .cta {
    padding: 70px 20px;
  }

  .page-hero {
    padding: 50px 20px;
    margin-top: 64px;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .page-hero::after {
    font-size: 4rem;
  }
}
