/* ===================================================
   recruit.css - リクルートページ専用スタイル
   CENTURY21ココカラ
   メインサイト（common.css）とは独立したデザイン体系
   =================================================== */

/* ===== CSS Variables ===== */
:root {
  --r-bg:         #F5F0E8;
  --r-bg-dark:    #2A2522;
  --r-surface:    #FDFAF5;
  --r-gold:       #C8A000;
  --r-gold-light: #F0E4A0;
  --r-gold-dark:  #9A7A00;
  --r-text:       #2A2522;
  --r-text-mid:   #5C5047;
  --r-text-light: #9C8E80;
  --r-border:     #DDD5C5;
  --r-font-serif: "Shippori Mincho", "Yu Mincho", serif;
  --r-font-sans:  "Noto Sans JP", sans-serif;
  --r-font-en:    "Cormorant Garamond", serif;
  --r-sidenav-w:  240px;
}

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

body.recruit-body {
  background-color: var(--r-bg);
  font-family: var(--r-font-sans);
  color: var(--r-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

/* ===== Grain Overlay ===== */
body.recruit-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ===== Header ===== */
.r-header {
  background: var(--r-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  border-bottom: 1px solid var(--r-border);
}
.r-header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 32px;
  gap: 16px;
}
.r-logo img {
  height: 18px;
  width: auto;
  filter: brightness(0);
}
.r-header-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--r-text-mid);
  align-self: center;
  transform: translateY(3px);
}
.r-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.r-entry-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #EB6100;
  border: 1px solid #EB6100;
  padding: 6px 20px;
  border-radius: 100px;
  transition: background 0.3s, border-color 0.3s;
}
.r-entry-btn:hover {
  background: #D45700;
  border-color: #D45700;
}

/* ===== 2-Column Layout ===== */
.r-layout {
  display: flex;
  min-height: 100vh;
}

.r-sidenav {
  width: var(--r-sidenav-w);
  flex-shrink: 0;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  background: var(--r-bg);
  border-right: 1px solid var(--r-border);
  display: flex;
  flex-direction: column;
}
.r-sidenav-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.r-main {
  flex: 1;
  min-width: 0;
}

/* ===== Sidenav ===== */
.r-sidenav-item {
  display: block;
}
.r-sidenav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--r-text-light);
  border-left: 3px solid transparent;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  letter-spacing: 0.04em;
}
.r-sidenav-link:hover {
  color: var(--r-text);
  background: rgba(200, 160, 0, 0.06);
}
.r-sidenav-link.is-active {
  color: var(--r-text);
  font-weight: 700;
  border-left-color: var(--r-gold);
}
.r-sidenav-num {
  font-family: var(--r-font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--r-text-light);
  min-width: 20px;
  transition: color 0.3s;
}
.r-sidenav-link.is-active .r-sidenav-num {
  color: var(--r-gold);
}
.r-sidenav-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--r-border);
  margin-top: auto;
}
.r-sidenav-back {
  font-size: 13px;
  color: var(--r-text-light);
  transition: color 0.3s;
}
.r-sidenav-back:hover {
  color: var(--r-text);
}

/* ===== Hero Section ===== */
.r-hero {
  min-height: calc(100vh - 64px);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: stretch;
}
.r-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(42, 37, 34, 0.85) 0%,
    rgba(42, 37, 34, 0.6) 50%,
    rgba(42, 37, 34, 0.15) 100%
  );
}

/* -- Hero Content -- */
.r-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  max-width: 640px;
  min-height: calc(100vh - 64px);
}
.r-hero-label {
  display: block;
  font-family: var(--r-font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}
.r-hero-heading {
  font-family: var(--r-font-serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 32px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}
.r-hero-sub {
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
}
.r-sp-only {
  display: none;
}

/* -- Scroll Indicator -- */
.r-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 60px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.r-hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--r-gold);
  animation: r-scroll-line 1.8s ease-in-out infinite;
}
@keyframes r-scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.r-hero-scroll-text {
  font-family: var(--r-font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Section Common ===== */
.r-section-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-header-group {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.r-header-group::before {
  content: attr(data-deco);
  position: absolute;
  top: -0.45em;
  left: -0.05em;
  font-family: var(--r-font-en);
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  color: rgba(200, 160, 0, 0.08);
  letter-spacing: 0.04em;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}
.r-header-group--light::before {
  color: rgba(255, 255, 255, 0.1);
}
.r-entry .r-header-group {
  justify-content: center;
}
.r-entry .r-header-group::before {
  left: 50%;
  transform: translateX(-50%);
}
.r-header-group .r-section-heading,
.r-header-group .r-entry-heading {
  position: relative;
  z-index: 1;
}
.r-heading-arrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  color: var(--r-gold-dark);
  transition: color 0.3s;
}
.r-heading-arrow:hover {
  color: var(--r-gold);
}
.r-heading-arrow .r-circle-arrow {
  width: 36px;
  height: 36px;
  font-size: 16px;
  margin-left: 0;
}
.r-section-heading {
  font-family: var(--r-font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--r-text);
  margin-bottom: 48px;
}

/* ===== Circle Arrow (common) ===== */
.r-circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  margin-left: 8px;
  vertical-align: middle;
  transition: background 0.3s, transform 0.3s;
}
a:hover .r-circle-arrow,
.r-work-card:hover .r-circle-arrow {
  transform: translateX(3px);
  background: rgba(154, 122, 0, 0.1);
}
.r-entry-action-btn--form .r-circle-arrow {
  border-color: rgba(255,255,255,0.6);
}
.r-entry-action-btn--form:hover .r-circle-arrow {
  background: rgba(255,255,255,0.15);
}

/* ===== Message Section ===== */
.r-message {
  background: var(--r-surface);
}
.r-message-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.r-message-photo {
  position: relative;
  overflow: hidden;
}
.r-message-photo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--r-border) 0%, #C8BFA8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.r-message-photo-placeholder span {
  font-family: var(--r-font-en);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}
.r-message-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.r-message-content {
  min-width: 0;
  padding: 120px 60px;
}
.r-blockquote {
  border-left: 3px solid var(--r-gold);
  padding-left: 32px;
}
.r-blockquote-lead {
  font-family: var(--r-font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--r-text);
  margin-bottom: 32px;
}
.r-blockquote-text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--r-text-mid);
  margin-bottom: 20px;
}
.r-blockquote-text:last-of-type {
  margin-bottom: 40px;
}
.r-blockquote-footer {
  display: flex;
  align-items: baseline;
  gap: 16px;
  justify-content: flex-end;
}
.r-blockquote-role {
  font-size: 12px;
  color: var(--r-text-light);
  letter-spacing: 0.1em;
}
.r-blockquote-name {
  font-family: var(--r-font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--r-text);
}

/* ===== People Section ===== */
.r-people {
  background: var(--r-bg);
  padding: 120px 0 0;
}
.r-section-inner--wide {
  max-width: 1040px;
}
.r-section-desc {
  font-size: 15px;
  color: var(--r-text-mid);
  margin-top: -32px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.r-people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.r-people-card {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.r-people-card:hover .r-people-photo img,
.r-people-card:hover .r-people-photo-placeholder {
  transform: scale(1.05);
}
.r-people-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.r-people-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--r-border) 0%, #C8BFA8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s;
}
.r-people-photo-placeholder span {
  font-family: var(--r-font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}
.r-people-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.r-people-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  z-index: 1;
  transition: background 0.4s;
}
.r-people-card:hover .r-people-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.r-people-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
}
.r-people-title {
  font-family: var(--r-font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 10px;
}
.r-people-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.r-people-tag {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}
.r-people-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.r-people-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  z-index: 2;
  transition: transform 0.3s, background 0.3s;
}
.r-people-card:hover .r-people-arrow {
  transform: translateX(4px);
  background: rgba(255,255,255,0.15);
}

/* ===== Company Section ===== */
.r-company {
  background: var(--r-surface);
  padding: 120px 0;
}
.r-company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.r-company-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: var(--r-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.r-company-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(42, 37, 34, 0.08);
}
.r-company-card-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}
.r-company-card-photo {
  overflow: hidden;
}
.r-company-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.r-company-card:hover .r-company-card-photo img {
  transform: scale(1.05);
}
.r-company-card-num {
  font-family: var(--r-font-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--r-gold);
  margin-bottom: 12px;
}
.r-company-card-title {
  font-family: var(--r-font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--r-text);
  letter-spacing: 0.06em;
}
.r-company-card-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--r-text-mid);
  flex: 1;
  margin-top: 10px;
}
.r-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.r-company-card-arrow {
  color: var(--r-gold-dark);
  flex-shrink: 0;
}
.r-company-card-arrow .r-circle-arrow {
  margin-left: 0;
  border-color: var(--r-border);
}
.r-company-card:hover .r-company-card-arrow .r-circle-arrow {
  transform: translateX(3px);
  background: rgba(200, 160, 0, 0.1);
}

/* ===== Work Section ===== */
.r-work {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.r-work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 37, 34, 0.4);
}
.r-work .r-section-inner--wide {
  position: relative;
  z-index: 1;
}
.r-work .r-section-heading {
  color: #fff;
}
.r-work .r-heading-arrow {
  color: rgba(255,255,255,0.7);
}
.r-work .r-heading-arrow:hover {
  color: #fff;
}
.r-work .r-header-group::before {
  color: rgba(255, 255, 255, 0.08);
}
.r-work-lead {
  font-size: 15px;
  line-height: 2.2;
  color: rgba(255,255,255,0.7);
  max-width: 720px;
  margin-bottom: 48px;
}
.r-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.r-work-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.r-work-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.r-work-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--r-gold-light);
  margin-bottom: 24px;
}
.r-work-card-title {
  font-family: var(--r-font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 12px;
}
.r-work-card-desc {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.65);
}
.r-work-card-arrow {
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.r-work-card-arrow .r-circle-arrow {
  margin-left: 0;
  border-color: rgba(255,255,255,0.4);
}
.r-work-card:hover .r-work-card-arrow .r-circle-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.15);
}

/* ===== Guideline Section ===== */
.r-guideline {
  background: var(--r-surface);
  padding: 120px 0;
}
.r-guideline-table {
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--r-border);
  overflow: hidden;
}
.r-guideline-dl {
  display: block;
}
.r-guideline-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--r-border);
}
.r-guideline-row:last-child {
  border-bottom: none;
}
.r-guideline-row dt {
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--r-text);
  background: rgba(200, 160, 0, 0.05);
  display: flex;
  align-items: flex-start;
}
.r-guideline-row dd {
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--r-text-mid);
}
.r-guideline-row dd small {
  font-size: 12px;
  color: var(--r-text-light);
}

/* ===== Guideline Listing Page ===== */
.r-gl-section {
  background: var(--r-surface);
  padding: 0 0 100px;
}
.r-gl-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-gl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.r-gl-card {
  background: #fff;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.r-gl-card-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--r-border);
  background: linear-gradient(135deg, var(--r-bg-dark) 0%, #3A3330 100%);
}
.r-gl-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--r-gold);
  border: 1px solid var(--r-gold);
  border-radius: 3px;
  padding: 2px 10px;
  margin-bottom: 10px;
}
.r-gl-card-title {
  font-family: var(--r-font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.r-gl-card-dl {
  display: block;
  flex: 1;
}
.r-gl-card-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--r-border);
}
.r-gl-card-row:last-child {
  border-bottom: none;
}
.r-gl-card-row dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--r-text);
  padding-top: 2px;
}
.r-gl-card-row dd {
  font-size: 14px;
  line-height: 1.8;
  color: var(--r-text-mid);
}
.r-gl-card-row dd small {
  font-size: 12px;
  color: var(--r-text-light);
}
.r-gl-card-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--r-border);
  text-align: right;
}
.r-gl-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--r-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.r-gl-card-link:hover {
  color: var(--r-gold);
}

/* ===== Guideline Detail Page ===== */
.r-page-header-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--r-gold-light);
  border: 1px solid var(--r-gold-light);
  border-radius: 3px;
  padding: 3px 14px;
  margin-bottom: 14px;
}
.r-gl-detail {
  background: var(--r-surface);
  padding: 80px 0 100px;
}
.r-gl-detail-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-gl-detail .r-guideline-table {
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--r-border);
  overflow: hidden;
}
.r-gl-detail .r-guideline-row dd strong {
  font-weight: 700;
  color: var(--r-text);
  font-size: 14px;
}

/* ===== Page Header Compact ===== */
.r-page-header.r-page-header--compact {
  min-height: 200px;
  padding: 40px 0 0;
  background: #9E9B99;
}
.r-page-header--compact .r-page-header-content {
  margin-bottom: 16px;
}
.r-page-header--compact .r-page-header-title {
  font-size: 36px;
}
.r-page-header--compact .r-page-header-content[data-deco]::before {
  font-size: 72px;
  top: -8px;
}

/* ===== Entry Form Page ===== */
/* ===== Step Flow ===== */
.r-form-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 40px 0 0;
  background: var(--r-surface);
}
.r-form-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--r-text-light);
  letter-spacing: 0.05em;
}
.r-form-step.is-active {
  color: var(--r-gold);
}
.r-form-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--r-border);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.r-form-step.is-active .r-form-step-num {
  background: var(--r-gold);
  border-color: var(--r-gold);
  color: #fff;
}
.r-form-step-sep {
  width: 40px;
  height: 1px;
  background: var(--r-border);
  margin: 0 12px;
}

/* ===== Form Section ===== */
.r-form-section {
  padding: 32px 0 0;
}
.r-form-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-form-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--r-text-mid);
  text-align: center;
  margin-bottom: 40px;
}

/* ===== Form Container ===== */
.r-form {
  background: #fff;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

/* ===== Form Group (horizontal layout on PC) ===== */
.r-form-group {
  display: flex;
  border-bottom: 1px solid #eee;
}
.r-form-group:last-child {
  border-bottom: none;
}
.r-form-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  width: 200px;
  min-height: 56px;
  font-size: 14px;
  font-weight: 700;
  color: var(--r-text);
  background: #f8f5f0;
  padding: 16px 20px;
  margin-bottom: 0;
  border-right: 1px solid #eee;
}
.r-form-required {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--r-gold-dark);
  border-radius: 3px;
  padding: 1px 7px;
  line-height: 1.6;
  flex-shrink: 0;
  margin-top: 3px;
}
.r-form-optional {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--r-text-light);
  background: var(--r-border);
  border-radius: 3px;
  padding: 1px 7px;
  line-height: 1.6;
  flex-shrink: 0;
  margin-top: 3px;
}

/* -- Input / Select / Textarea -- */
.r-form-input,
.r-form-select,
.r-form-textarea {
  width: 100%;
  font-family: var(--r-font-sans);
  font-size: 15px;
  color: var(--r-text);
  background: #fff;
  border: 1px solid var(--r-border);
  border-radius: 4px;
  padding: 12px 16px;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.r-form-input:focus,
.r-form-select:focus,
.r-form-textarea:focus {
  outline: none;
  border-color: var(--r-gold);
  box-shadow: 0 0 0 3px rgba(200, 160, 0, 0.1);
}
.r-form-input::placeholder,
.r-form-textarea::placeholder {
  color: var(--r-text-light);
}
.r-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C5047' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.r-form-textarea {
  resize: vertical;
  min-height: 160px;
}

/* -- Date Group -- */
.r-form-date-group {
  display: flex;
  /* align-items: center; */
  gap: 8px;
}
.r-form-select--date {
  width: auto;
  min-width: 90px;
  flex: 0 0 auto;
}
.r-form-date-sep {
  font-size: 14px;
  color: var(--r-text-mid);
  flex-shrink: 0;
}

/* -- Radio / Checkbox -- */
.r-form-radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.r-form-radio,
.r-form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--r-text);
}
.r-form-radio input,
.r-form-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.r-form-radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--r-border);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.r-form-radio-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--r-gold);
  transition: transform 0.2s;
}
.r-form-radio input:checked + .r-form-radio-mark {
  border-color: var(--r-gold);
}
.r-form-radio input:checked + .r-form-radio-mark::after {
  transform: translate(-50%, -50%) scale(1);
}
.r-form-checkbox-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--r-border);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s;
}
.r-form-checkbox-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s;
}
.r-form-checkbox input:checked + .r-form-checkbox-mark {
  background: var(--r-gold);
  border-color: var(--r-gold);
}
.r-form-checkbox input:checked + .r-form-checkbox-mark::after {
  transform: rotate(45deg) scale(1);
}
.r-form-checkbox-text a {
  color: var(--r-gold-dark);
  text-decoration: underline;
}
.r-form-checkbox-text a:hover {
  color: var(--r-gold);
}

/* -- Note / Agree / Submit -- */
.r-form-note {
  font-size: 13px;
  color: var(--r-text-light);
  padding: 20px 24px 0;
}
.r-form-required-inline {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--r-gold-dark);
  border-radius: 3px;
  padding: 0 6px;
  line-height: 1.6;
  vertical-align: middle;
}
.r-form-agree {
  text-align: center;
  padding: 24px 24px 0;
}

.wpcf7-spinner {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
}


/* ===== Entry Section ===== */
.r-entry {
  background: #5C5856;
  padding: 120px 0;
  text-align: center;
}
.r-entry-heading {
  font-family: var(--r-font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.r-entry-text {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
}
.r-entry-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}
.r-entry-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 24px;
  border-radius: 6px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.r-entry-action-btn:hover {
  transform: translateY(-2px);
}
.r-entry-action-btn--tel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.r-entry-action-btn--tel:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.r-entry-action-btn--form {
  background: #EB6100;
  border: 1px solid #EB6100;
}
.r-entry-action-btn--form:hover {
  background: #D45700;
  border-color: #D45700;
  box-shadow: 0 8px 24px rgba(235, 97, 0, 0.3);
}
.r-entry-action-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}
.r-entry-action-btn--form .r-entry-action-label {
  color: rgba(255, 255, 255, 0.8);
}
.r-entry-action-value {
  font-family: var(--r-font-en);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
}
.r-entry-action-btn--form .r-entry-action-value {
  font-family: var(--r-font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.r-entry-action-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.r-entry-action-btn--form .r-entry-action-note {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Hamburger Button ===== */
.r-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  padding: 0;
  flex-shrink: 0;
}
.r-hamburger-line {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--r-text);
  transition: transform 0.3s, opacity 0.3s;
}
.r-hamburger-line:nth-child(1) { top: 0; }
.r-hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.r-hamburger-line:nth-child(3) { bottom: 0; }
.r-hamburger.is-open .r-hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.r-hamburger.is-open .r-hamburger-line:nth-child(2) {
  opacity: 0;
}
.r-hamburger.is-open .r-hamburger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ===== Drawer ===== */
.r-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.3s;
}
.r-drawer-overlay.is-visible {
  display: block;
  opacity: 1;
}
.r-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--r-bg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.r-drawer.is-open {
  transform: translateX(0);
}
.r-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--r-border);
}
.r-drawer-label {
  font-family: var(--r-font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--r-text-light);
}
.r-drawer-close {
  background: none;
  border: none;
  color: var(--r-text-light);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}
.r-drawer-close:hover {
  color: var(--r-text);
}
.r-drawer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
}
.r-drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--r-text-light);
  letter-spacing: 0.06em;
  transition: color 0.3s, background 0.3s;
}
.r-drawer-link:hover {
  color: var(--r-text);
  background: rgba(200, 160, 0, 0.06);
}
.r-drawer-num {
  font-family: var(--r-font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--r-gold);
  min-width: 24px;
}
.r-drawer-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--r-border);
}
.r-drawer-footer-link {
  font-size: 13px;
  color: var(--r-text-light);
  transition: color 0.3s;
}
.r-drawer-footer-link:hover {
  color: var(--r-text);
}
body.r-drawer-open {
  overflow: hidden;
}

/* ===== Footer ===== */
.r-footer {
  background: #3D3426;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.r-footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 60px 40px 40px;
}
.r-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.r-footer-logo img {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.r-footer-nav {
  display: flex;
  gap: 28px;
}
.r-footer-nav-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.r-footer-nav-link:hover {
  color: #fff;
}
.r-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}
.r-footer-links {
  display: flex;
  gap: 24px;
}
.r-footer-sub-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.r-footer-sub-link:hover {
  color: rgba(255, 255, 255, 0.7);
}
.r-footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
}

/* ===== Hero Entrance Animation (on page load) ===== */
.r-hero-label {
  animation: r-hero-fade-up 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.r-hero-heading {
  animation: r-hero-fade-up 0.9s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.r-hero-sub {
  animation: r-hero-fade-up 0.9s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes r-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Scroll Reveal Animations ===== */

/* -- Fade Up (default) -- */
.r-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.r-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Clip Reveal (horizontal wipe) -- */
.r-reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.r-reveal-clip.is-visible {
  clip-path: inset(0 0 0 0);
}

/* -- Stagger Children -- */
.r-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.r-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.r-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.r-stagger.is-visible > *:nth-child(3) { transition-delay: 0.24s; }
.r-stagger.is-visible > *:nth-child(4) { transition-delay: 0.36s; }
.r-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* -- Blockquote Line Draw -- */
.r-reveal-line {
  position: relative;
}
.r-reveal-line .r-blockquote {
  border-left-color: transparent;
  position: relative;
}
.r-reveal-line .r-blockquote::before {
  content: '';
  position: absolute;
  top: 0;
  left: -3px;
  width: 3px;
  height: 0;
  background: var(--r-gold);
  transition: height 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.r-reveal-line.is-visible .r-blockquote::before {
  height: 100%;
}

/* -- Transition delay helpers -- */
.r-delay-1 { transition-delay: 0.15s; }
.r-delay-2 { transition-delay: 0.3s; }
.r-delay-3 { transition-delay: 0.45s; }

/* =========================================================
   Sub-page Common Styles
   ========================================================= */

/* ===== Page Header (Sub-page Hero) ===== */
.r-page-header {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.r-page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(42, 37, 34, 0.8) 0%,
    rgba(42, 37, 34, 0.55) 50%,
    rgba(42, 37, 34, 0.3) 100%
  );
}
.r-page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to right, var(--r-bg-dark) 0%, transparent 12%),
    linear-gradient(to left,  var(--r-bg-dark) 0%, transparent 12%);
  opacity: 0;
  transition: opacity 0.3s;
}
@media (min-width: 1280px) {
  .r-page-header::after {
    opacity: 1;
  }
}
.r-page-header-content {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  margin-bottom: 48px;
}
.r-page-header-content[data-deco]::before {
  content: attr(data-deco);
  position: absolute;
  bottom: -0.2em;
  left: 40px;
  font-family: var(--r-font-en);
  font-size: 160px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.r-page-header-en {
  display: block;
  font-family: var(--r-font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--r-gold);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.r-page-header-title {
  font-family: var(--r-font-serif);
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* ===== Page Header Breadcrumb ===== */
.r-page-header-breadcrumb {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 40px;
  width: 100%;
}
.r-page-header-breadcrumb .r-breadcrumb-list {
  justify-content: flex-end;
  padding: 0;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}
.r-page-header-breadcrumb .r-breadcrumb-list a {
  color: #fff;
}
.r-page-header-breadcrumb .r-breadcrumb-list a:hover {
  color: var(--r-gold-light);
}
.r-page-header-breadcrumb .r-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Article Section ===== */
.r-article {
  background: var(--r-surface);
  padding: 100px 0;
}
.r-article-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-article-heading {
  font-family: var(--r-font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--r-text);
  margin-bottom: 56px;
  border-left: 3px solid var(--r-gold);
  padding-left: 24px;
  max-width: 720px;
}
.r-article-text {
  font-size: 16px;
  line-height: 2.4;
  color: var(--r-text-mid);
  max-width: 720px;
}
.r-article-text + .r-article-text {
  margin-top: 32px;
}
.r-article-highlight {
  font-family: var(--r-font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
  color: var(--r-text);
  margin: 48px 0;
  padding: 32px;
  background: rgba(200, 160, 0, 0.04);
  border-radius: 6px;
  max-width: 720px;
}
.r-article-signature {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--r-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.r-article-signature-text {
  text-align: right;
}
.r-article-signature-role {
  font-size: 12px;
  color: var(--r-text-light);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}
.r-article-signature-name {
  font-family: var(--r-font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--r-text);
}

/* ===== Sub Navigation (Other Sections) ===== */
.r-sub-nav {
  background: var(--r-bg);
  padding: 80px 0;
}
.r-sub-nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-sub-nav-label {
  font-family: var(--r-font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--r-text-light);
  text-align: center;
  display: block;
  margin-bottom: 8px;
}
.r-sub-nav-heading {
  font-family: var(--r-font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--r-text);
  text-align: center;
  margin-bottom: 40px;
}
.r-sub-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.r-sub-nav-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--r-surface);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.r-sub-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(42, 37, 34, 0.08);
}
.r-sub-nav-card-photo {
  overflow: hidden;
}
.r-sub-nav-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.r-sub-nav-card:hover .r-sub-nav-card-photo img {
  transform: scale(1.05);
}
.r-sub-nav-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}
.r-sub-nav-card-num {
  font-family: var(--r-font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--r-gold);
  display: block;
  margin-bottom: 8px;
}
.r-sub-nav-card-title {
  font-family: var(--r-font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--r-text);
}
.r-sub-nav-card-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--r-text-mid);
  margin-top: 8px;
}
.r-sub-nav-card-arrow {
  color: var(--r-gold-dark);
  flex-shrink: 0;
}
.r-sub-nav-card-arrow .r-circle-arrow {
  margin-left: 0;
  border-color: var(--r-border);
}
.r-sub-nav-card:hover .r-sub-nav-card-arrow .r-circle-arrow {
  transform: translateX(3px);
  background: rgba(200, 160, 0, 0.1);
}

/* ===== Breadcrumb ===== */
.r-breadcrumb {
  background: var(--r-bg);
  padding: 20px 0;
  border-top: 1px solid var(--r-border);
}
.r-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  font-size: 12px;
  color: var(--r-text-light);
}
.r-breadcrumb-list a {
  color: var(--r-text-light);
  transition: color 0.3s;
}
.r-breadcrumb-list a:hover {
  color: var(--r-gold-dark);
}
.r-breadcrumb-sep {
  font-size: 10px;
  color: var(--r-border);
}

/* ===== People Directory Top ===== */
.r-people-directory {
  background: var(--r-surface);
  padding: 80px 0 80px;
}
.r-people-dir-lead {
  font-size: 16px;
  line-height: 2.2;
  color: var(--r-text-mid);
  max-width: 720px;
  margin-bottom: 56px;
}
.r-people-directory .r-people-grid {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 20px;
}
.r-people-directory .r-people-card {
  border-radius: 8px;
}

/* ===== Company Directory Top ===== */
.r-company-directory {
  background: var(--r-surface);
  padding: 80px 0 80px;
}
.r-company-dir-lead {
  font-size: 16px;
  line-height: 2.2;
  color: var(--r-text-mid);
  max-width: 720px;
  margin-bottom: 56px;
}

/* ===== Data Page (Infographic) ===== */

/* -- Lead -- */
.r-data-lead {
  background: var(--r-surface);
  padding: 80px 0 60px;
  text-align: center;
}
.r-data-lead-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-data-lead-text {
  font-size: 16px;
  line-height: 2.4;
  color: var(--r-text-mid);
}

/* -- Data Section -- */
.r-data-section {
  padding: 100px 0;
}
.r-data-section--light {
  background: #fff;
}
.r-data-section--surface {
  background: var(--r-surface);
}

/* -- Data Layout (2-column grid) -- */
.r-data-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: center;
}
.r-data-layout--reverse {
  direction: rtl;
}
.r-data-layout--reverse > * {
  direction: ltr;
}

/* -- Data Content (text side) -- */
.r-data-num {
  font-family: var(--r-font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--r-gold);
  display: block;
  margin-bottom: 12px;
}
.r-data-heading {
  font-family: var(--r-font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--r-text);
  margin-bottom: 24px;
}
.r-data-message {
  font-size: 16px;
  line-height: 2.2;
  color: var(--r-text-mid);
}

/* -- Data Visual (chart side) -- */
.r-data-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* -- Donut Chart -- */
.r-donut-wrap {
  position: relative;
  width: 220px;
  height: 220px;
}
.r-donut-svg {
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
}
.r-donut-track {
  fill: none;
  stroke: #EDE8DD;
  stroke-width: 20;
}
.r-donut-arc {
  fill: none;
  stroke-width: 20;
  stroke-linecap: butt;
  stroke-dasharray: 0 408.41;
  transition: stroke-dasharray 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.r-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.r-donut-center-num {
  font-family: var(--r-font-en);
  font-size: 42px;
  font-weight: 600;
  color: var(--r-text);
  letter-spacing: -0.02em;
}
.r-donut-center-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--r-text-mid);
  align-self: flex-end;
  padding-bottom: 6px;
}
.r-donut-legend {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.r-donut-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.r-donut-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.r-donut-legend-text {
  font-size: 16px;
  color: var(--r-text-mid);
}
.r-donut-legend-val {
  font-family: var(--r-font-en);
  font-weight: 600;
  color: var(--r-text);
}

/* -- Bar Chart -- */
.r-bar-chart {
  width: 100%;
  max-width: 420px;
}
.r-bar-item {
  margin-bottom: 16px;
}
.r-bar-item:last-child {
  margin-bottom: 0;
}
.r-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.r-bar-label {
  font-size: 14px;
  color: var(--r-text-mid);
}
.r-bar-value {
  font-family: var(--r-font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--r-text);
}
.r-bar-track {
  width: 100%;
  height: 10px;
  background: #EDE8DD;
  border-radius: 5px;
  overflow: hidden;
}
.r-bar-fill {
  height: 100%;
  border-radius: 5px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -- Counter Circle (100%) -- */
.r-counter-wrap {
  position: relative;
  width: 220px;
  height: 220px;
}
.r-counter-svg {
  width: 100%;
  height: 100%;
}
.r-counter-track {
  fill: none;
  stroke: #EDE8DD;
  stroke-width: 6;
}
.r-counter-arc {
  fill: none;
  stroke: var(--r-gold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 0 502.65;
  transition: stroke-dasharray 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.r-counter-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.r-counter-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.r-counter-num {
  font-family: var(--r-font-en);
  font-size: 56px;
  font-weight: 600;
  color: var(--r-text);
  letter-spacing: -0.02em;
}
.r-counter-unit {
  font-size: 22px;
  font-weight: 600;
  color: var(--r-text-mid);
}
.r-counter-label {
  font-size: 14px;
  color: var(--r-text-light);
  margin-top: 4px;
  letter-spacing: 0.1em;
}

/* ===== Culture Page (Photo Gallery) ===== */

/* -- Motto -- */
.r-culture-motto-section {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}
.r-culture-motto-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-culture-motto-text {
  font-family: var(--r-font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: 0.1em;
  color: var(--r-text);
}

/* -- Gallery -- */
.r-culture-gallery {
  background: #fff;
  padding: 0 0 100px;
}
.r-culture-gallery-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.r-culture-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
}
.r-culture-photo--wide {
  grid-column: span 2;
}
.r-culture-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.r-culture-photo:hover img {
  transform: scale(1.05);
}

/* ===== Century21 Page ===== */

/* -- Intro Section -- */
.r-c21-intro {
  background: #fff;
  padding: 100px 0;
  text-align: center;
}
.r-c21-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-c21-intro-label {
  font-family: var(--r-font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--r-gold);
  display: block;
  margin-bottom: 16px;
}
.r-c21-intro-heading {
  font-family: var(--r-font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--r-text);
  margin-bottom: 40px;
}
.r-c21-intro-text {
  font-size: 16px;
  line-height: 2.4;
  color: var(--r-text-mid);
  text-align: left;
}

/* -- Feature Sections -- */
.r-c21-feature {
  padding: 0;
}
.r-c21-feature--surface {
  background: var(--r-surface);
}
.r-c21-feature--white {
  background: #fff;
}
.r-c21-feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.r-c21-feature-layout--reverse {
  direction: rtl;
}
.r-c21-feature-layout--reverse > * {
  direction: ltr;
}
.r-c21-feature-photo {
  position: relative;
  overflow: hidden;
}
.r-c21-feature-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.r-c21-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 60px;
}
.r-c21-feature-num {
  font-family: var(--r-font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--r-gold);
  margin-bottom: 12px;
}
.r-c21-feature-heading {
  font-family: var(--r-font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--r-text);
  margin-bottom: 32px;
}
.r-c21-feature-text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--r-text-mid);
  margin-bottom: 20px;
}
.r-c21-feature-text:last-child {
  margin-bottom: 0;
}

/* ===== Career Page ===== */

/* -- Career Intro -- */
.r-career-intro {
  background: #fff;
  padding: 100px 0;
  text-align: center;
}
.r-career-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-career-intro-label {
  font-family: var(--r-font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--r-gold);
  display: block;
  margin-bottom: 16px;
}
.r-career-intro-heading {
  font-family: var(--r-font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--r-text);
  margin-bottom: 40px;
}
.r-career-intro-text {
  font-size: 16px;
  line-height: 2.4;
  color: var(--r-text-mid);
  text-align: left;
}

/* -- Year Section -- */
.r-career-year {
  padding: 100px 0;
}
.r-career-year--surface {
  background: var(--r-surface);
}
.r-career-year--white {
  background: #fff;
}
.r-career-year-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-career-year-header {
  text-align: center;
  margin-bottom: 72px;
}
.r-career-year-num {
  font-family: var(--r-font-en);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--r-gold);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}
.r-career-year-heading {
  font-family: var(--r-font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--r-text);
  margin-bottom: 12px;
}
.r-career-year-sub {
  font-size: 15px;
  color: var(--r-text-mid);
  letter-spacing: 0.04em;
}

/* -- Training Timeline (Year 1) -- */
.r-career-timeline {
  position: relative;
  padding-left: 140px;
}
.r-career-timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--r-border);
}
.r-career-timeline-item {
  position: relative;
  padding-bottom: 64px;
}
.r-career-timeline-item:last-child {
  padding-bottom: 0;
}
.r-career-timeline-marker {
  position: absolute;
  left: -140px;
  top: 0;
  width: 120px;
  text-align: right;
  padding-right: 28px;
}
.r-career-timeline-marker::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--r-gold);
  border: 3px solid var(--r-surface);
  box-shadow: 0 0 0 2px var(--r-gold);
}
.r-career-timeline-period {
  font-family: var(--r-font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--r-text);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.r-career-timeline-content {
  padding-left: 24px;
}
.r-career-timeline-title {
  font-family: var(--r-font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--r-text);
  margin-bottom: 16px;
}
.r-career-timeline-text {
  font-size: 15px;
  line-height: 2.0;
  color: var(--r-text-mid);
}

/* -- Career Steps (Year 2+) -- */
.r-career-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.r-career-step {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-top: 1px solid var(--r-border);
  padding: 48px 0;
}
.r-career-step:last-child {
  border-bottom: 1px solid var(--r-border);
}
.r-career-step-header {
  padding-right: 40px;
}
.r-career-step-num {
  font-family: var(--r-font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--r-gold);
  display: block;
  margin-bottom: 8px;
}
.r-career-step-title {
  font-family: var(--r-font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--r-text);
}
.r-career-step-body {
  display: flex;
  align-items: center;
}
.r-career-step-text {
  font-size: 15px;
  line-height: 2.0;
  color: var(--r-text-mid);
}

/* ===== Flow (Daily) Intro ===== */
.r-flow-intro {
  background: #fff;
  padding: 100px 0 60px;
  text-align: center;
}
.r-flow-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px;
}
.r-flow-intro-label {
  font-family: var(--r-font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--r-gold);
  display: block;
  margin-bottom: 16px;
}
.r-flow-intro-heading {
  font-family: var(--r-font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--r-text);
}

/* ===== Interview Page ===== */

/* -- Page Header extras -- */
.r-interview-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.r-interview-header-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--r-gold-light);
}
.r-interview-header-catch {
  font-family: var(--r-font-serif);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.06em;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

/* -- Interview Section -- */
.r-interview-section {
  padding: 0;
}
.r-interview-section--light {
  background: #fff;
}
.r-interview-section--surface {
  background: var(--r-surface);
}
.r-interview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.r-interview-layout--reverse {
  direction: rtl;
}
.r-interview-layout--reverse > * {
  direction: ltr;
}
.r-interview-photo {
  position: relative;
  overflow: hidden;
}
.r-interview-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.r-interview-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 60px;
}
.r-interview-num {
  font-family: var(--r-font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--r-gold);
  margin-bottom: 12px;
}
.r-interview-heading {
  font-family: var(--r-font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--r-text);
  margin-bottom: 32px;
}
.r-interview-text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--r-text-mid);
  margin-bottom: 20px;
}
.r-interview-text:last-child {
  margin-bottom: 0;
}
.r-interview-highlight {
  font-family: var(--r-font-serif);
  font-size: 17px;
  line-height: 2;
  color: var(--r-text);
  background: rgba(200, 160, 0, 0.05);
  border-left: 3px solid var(--r-gold);
  padding: 24px 28px;
  margin-top: 12px;
}

/* -- Profile Section -- */
.r-interview-profile {
  background: var(--r-bg);
  padding: 80px 0;
}
.r-interview-profile-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.r-interview-profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.r-interview-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.r-interview-profile-label {
  font-family: var(--r-font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--r-gold);
  display: block;
  margin-bottom: 8px;
}
.r-interview-profile-name {
  font-family: var(--r-font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--r-text);
  margin-bottom: 16px;
}
.r-interview-profile-data {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 14px;
  color: var(--r-text-mid);
}
.r-interview-profile-data dt {
  font-weight: 700;
  color: var(--r-text);
}

.r-header-label .sp {
  display: none;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {
  .r-hamburger {
    display: block;
  }
  .r-header .r-entry-btn {
    display: none;
  }
  .r-drawer-footer .r-entry-btn {
    display: block;
    text-align: center;
    margin-bottom: 15px;
  }
  .r-header-label .sp {
    display: block;
  }
  .r-sidenav {
    display: none;
  }
  .r-hero-heading {
    font-size: 42px;
  }
  .r-hero-content {
    padding: 60px 40px;
  }
  .r-hero-deco-text {
    font-size: 80px;
  }
  .r-hero-scroll {
    left: 40px;
  }
  .r-message-layout {
    grid-template-columns: 1fr;
  }
  .r-message-photo {
    display: none;
  }
  .r-message-content {
    padding: 100px 40px;
    max-width: 800px;
    margin: 0 auto;
  }
  .r-header-group::before {
    font-size: 100px;
  }
  .r-section-heading {
    font-size: 24px;
    margin-bottom: 40px;
  }
  .r-people {
    padding: 100px 0 0;
  }
  .r-company {
    padding: 100px 0;
  }
  .r-work {
    padding: 100px 0;
    background-attachment: scroll;
  }
  .r-guideline {
    padding: 100px 0;
  }
  .r-gl-section {
    padding: 0 0 80px;
  }
  .r-gl-inner {
    padding: 0 32px;
  }
  .r-gl-card-header {
    padding: 20px 24px;
  }
  .r-gl-card-title {
    font-size: 18px;
  }
  .r-gl-card-row {
    padding: 14px 24px;
  }
  .r-gl-card-footer {
    padding: 16px 24px;
  }
  .r-gl-detail {
    padding: 60px 0 80px;
  }
  .r-gl-detail-inner {
    padding: 0 32px;
  }
  .r-page-header.r-page-header--compact {
    min-height: 160px;
    padding: 32px 0 0;
  }
  .r-page-header--compact .r-page-header-title {
    font-size: 30px;
  }
  .r-page-header--compact .r-page-header-content[data-deco]::before {
    font-size: 56px;
  }
  .r-form-steps {
    padding: 32px 0 0;
  }
  .r-form-section {
    padding: 24px 0 80px;
  }
  .r-form-inner {
    padding: 0 24px;
  }
  .r-form-label {
    width: 180px;
    padding: 14px 16px;
    font-size: 13px;
  }
  .r-entry {
    padding: 100px 0;
  }
  /* Sub-page Tablet */
  .r-page-header {
    min-height: 400px;
  }
  .r-page-header-title {
    font-size: 32px;
  }
  .r-page-header-content[data-deco]::before {
    font-size: 120px;
  }
  .r-article {
    padding: 80px 0;
  }
  /* People Directory Tablet */
  .r-people-directory {
    padding: 60px 0 0;
  }
  .r-people-directory .r-people-grid {
    padding: 0 24px;
  }
  /* Company Directory Tablet */
  .r-company-directory {
    padding: 60px 0;
  }
  /* Data Page Tablet */
  .r-data-lead {
    padding: 60px 0 48px;
  }
  .r-data-section {
    padding: 80px 0;
  }
  .r-data-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .r-data-layout--reverse {
    direction: ltr;
  }
  .r-data-heading {
    font-size: 28px;
  }
  /* Culture Page Tablet */
  .r-culture-motto-section {
    padding: 60px 0;
  }
  .r-culture-motto-text {
    font-size: 22px;
  }
  .r-culture-gallery {
    padding: 0 0 80px;
  }
  .r-culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .r-culture-photo--wide {
    grid-column: span 2;
  }
  /* Century21 Tablet */
  .r-c21-intro {
    padding: 72px 0;
  }
  .r-c21-intro-inner {
    padding: 0 32px;
  }
  .r-c21-intro-heading {
    font-size: 26px;
    margin-bottom: 32px;
  }
  .r-c21-feature-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .r-c21-feature-layout--reverse {
    direction: ltr;
  }
  .r-c21-feature-photo {
    aspect-ratio: 16 / 9;
  }
  .r-c21-feature-body {
    padding: 56px 40px;
  }
  /* Career Tablet */
  .r-career-intro {
    padding: 72px 0;
  }
  .r-career-intro-inner {
    padding: 0 32px;
  }
  .r-career-intro-heading {
    font-size: 26px;
    margin-bottom: 32px;
  }
  .r-career-year {
    padding: 72px 0;
  }
  .r-career-year-inner {
    padding: 0 32px;
  }
  .r-career-year-header {
    margin-bottom: 56px;
  }
  .r-career-year-num {
    font-size: 40px;
  }
  .r-career-timeline {
    padding-left: 120px;
  }
  .r-career-timeline::before {
    left: 100px;
  }
  .r-career-timeline-marker {
    left: -120px;
    width: 100px;
    padding-right: 24px;
  }
  .r-career-step {
    grid-template-columns: 200px 1fr;
    padding: 40px 0;
  }
  .r-career-step-header {
    padding-right: 32px;
  }
  /* Flow Intro Tablet */
  .r-flow-intro {
    padding: 72px 0 48px;
  }
  .r-flow-intro-inner {
    padding: 0 32px;
  }
  .r-flow-intro-heading {
    font-size: 26px;
  }
  /* Interview Tablet */
  .r-interview-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .r-interview-layout--reverse {
    direction: ltr;
  }
  .r-interview-photo {
    aspect-ratio: 16 / 9;
  }
  .r-interview-body {
    padding: 56px 40px;
  }
  .r-interview-profile-inner {
    padding: 0 24px;
  }
}

/* ===== Responsive: SP ===== */
@media (max-width: 768px) {
  .r-header {
    height: 56px;
  }
  .r-header-inner {
    padding: 0 16px;
  }
  .r-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(42, 37, 34, 0.7) 0%,
      rgba(42, 37, 34, 0.5) 50%,
      rgba(42, 37, 34, 0.3) 100%
    );
  }
  .r-hero-content {
    padding: 60px 24px;
    min-height: calc(100vh - 56px);
  }
  .r-hero-heading {
    font-size: 36px;
  }
  .r-hero-sub {
    font-size: 14px;
  }
  .r-sp-only {
    display: inline;
  }
  .r-hero-scroll {
    left: 24px;
    bottom: 32px;
  }
  .r-section-inner {
    padding: 0 24px;
  }
  .r-message-content {
    padding: 72px 24px;
  }
  .r-header-group::before {
    font-size: 72px;
  }
  .r-section-heading {
    font-size: 22px;
    margin-bottom: 32px;
  }
  .r-blockquote {
    padding-left: 20px;
  }
  .r-blockquote-lead {
    font-size: 18px;
    margin-bottom: 24px;
  }
  .r-blockquote-text {
    font-size: 14px;
  }
  .r-people {
    padding: 72px 0 0;
  }
  .r-people-grid {
    grid-template-columns: 1fr 1fr;
  }
  .r-people-card {
    aspect-ratio: 4 / 3;
  }
  .r-people-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  }
  .r-people-info {
    padding: 16px;
  }
  .r-people-title {
    font-size: 13px;
  }
  .r-people-meta {
    gap: 8px;
  }
  .r-people-tag {
    font-size: 10px;
  }
  .r-people-name {
    font-size: 12px;
  }
  .r-people-arrow {
    bottom: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .r-circle-arrow {
    width: 24px;
    height: 24px;
    font-size: 12px;
    margin-left: 6px;
  }
  .r-section-desc {
    font-size: 14px;
    margin-top: -20px;
    margin-bottom: 32px;
  }
  .r-company {
    padding: 72px 0;
  }
  .r-company-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .r-company-card {
    grid-template-columns: 120px 1fr;
  }
  .r-company-card-body {
    padding: 20px 24px;
  }
  .r-company-card-title {
    font-size: 16px;
  }
  .r-work {
    padding: 72px 0;
  }
  .r-work-lead {
    font-size: 14px;
    margin-bottom: 32px;
  }
  .r-work-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .r-work-card {
    padding: 28px 24px;
  }
  .r-work-card-title {
    font-size: 18px;
  }
  .r-guideline {
    padding: 72px 0;
  }
  .r-gl-section {
    padding: 0 0 56px;
  }
  .r-gl-inner {
    padding: 0 20px;
  }
  .r-gl-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .r-gl-card-header {
    padding: 18px 20px;
  }
  .r-gl-card-title {
    font-size: 17px;
  }
  .r-gl-card-row {
    grid-template-columns: 72px 1fr;
    padding: 12px 20px;
    gap: 6px;
  }
  .r-gl-card-row dd {
    font-size: 13px;
  }
  .r-gl-card-footer {
    padding: 14px 20px;
  }
  .r-gl-card-link {
    font-size: 13px;
  }
  .r-gl-detail {
    padding: 48px 0 56px;
  }
  .r-gl-detail-inner {
    padding: 0 20px;
  }
  .r-page-header.r-page-header--compact {
    min-height: 130px;
    padding: 24px 0 0;
  }
  .r-page-header--compact .r-page-header-content {
    margin-bottom: 12px;
  }
  .r-page-header--compact .r-page-header-title {
    font-size: 24px;
  }
  .r-page-header--compact .r-page-header-content[data-deco]::before {
    font-size: 44px;
  }
  /* Step Flow SP */
  .r-form-steps {
    padding: 24px 16px 0;
    gap: 0;
  }
  .r-form-step {
    font-size: 12px;
    gap: 4px;
  }
  .r-form-step-num {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .r-form-step-sep {
    width: 24px;
    margin: 0 6px;
  }
  /* Form Section SP */
  .r-form-section {
    padding: 20px 0 60px;
  }
  .r-form-inner {
    padding: 0 16px;
  }
  .r-form-lead {
    font-size: 14px;
    margin-bottom: 24px;
  }
  /* Vertical layout on SP */
  .r-form-group {
    flex-direction: column;
  }
  .r-form-label {
    width: 100%;
    min-height: auto;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .r-form-date-group {
    flex-wrap: wrap;
  }
  .r-form-select--date {
    min-width: 76px;
  }
  .r-form-radio-group {
    gap: 16px;
    padding-top: 0;
  }
  .r-form-note {
    padding: 16px 16px 0;
  }
  .r-form-agree {
    padding: 20px 16px 0;
  }
  .r-form-submit {
    padding: 24px 16px 32px;
  }
  .r-form-submit-btn {
    width: 100%;
    padding: 16px 32px;
  }
  .r-guideline-row {
    grid-template-columns: 1fr;
  }
  .r-guideline-row dt {
    padding: 14px 20px 6px;
    font-size: 13px;
  }
  .r-guideline-row dd {
    padding: 6px 20px 14px;
    font-size: 13px;
  }
  .r-entry {
    padding: 72px 0;
  }
  .r-entry-heading {
    font-size: 26px;
  }
  .r-entry-text {
    font-size: 14px;
    margin-bottom: 36px;
  }
  .r-entry-actions {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .r-entry-action-btn {
    padding: 24px 20px;
  }
  .r-footer-inner {
    padding: 40px 24px 32px;
  }
  .r-footer-top {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 28px;
  }
  .r-footer-nav {
    flex-wrap: wrap;
    gap: 16px 20px;
  }
  .r-footer-nav-link {
    font-size: 12px;
  }
  .r-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  /* Sub-page SP */
  .r-page-header {
    min-height: 320px;
    padding: 48px 0 0;
  }
  .r-page-header-content {
    padding: 0 24px;
    margin-bottom: 32px;
  }
  .r-page-header-breadcrumb {
    padding: 12px 24px;
  }
  .r-page-header-content[data-deco]::before {
    font-size: 72px;
    left: 24px;
  }
  .r-page-header-en {
    font-size: 12px;
  }
  .r-page-header-title {
    font-size: 26px;
  }
  .r-article {
    padding: 60px 0;
  }
  .r-article-inner {
    padding: 0 24px;
  }
  .r-article-heading {
    font-size: 22px;
    margin-bottom: 40px;
    padding-left: 20px;
  }
  .r-article-text {
    font-size: 15px;
    line-height: 2.2;
  }
  .r-article-highlight {
    font-size: 17px;
    padding: 24px;
    margin: 36px 0;
  }
  .r-article-signature {
    margin-top: 48px;
    padding-top: 32px;
  }
  .r-article-signature-name {
    font-size: 20px;
  }
  .r-sub-nav {
    padding: 60px 0;
  }
  .r-sub-nav-inner {
    padding: 0 24px;
  }
  .r-sub-nav-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .r-sub-nav-card {
    grid-template-columns: 100px 1fr;
  }
  .r-sub-nav-card-body {
    padding: 16px 20px;
  }
  .r-sub-nav-card-title {
    font-size: 15px;
  }
  .r-breadcrumb-list {
    padding: 0 24px;
    font-size: 11px;
    flex-wrap: wrap;
  }
  /* People Directory SP */
  .r-people-directory {
    padding: 48px 0 0;
  }
  .r-people-dir-lead {
    font-size: 15px;
    margin-bottom: 40px;
  }
  .r-people-directory .r-people-grid {
    padding: 0 16px;
    gap: 8px;
  }
  /* Company Directory SP */
  .r-company-directory {
    padding: 48px 0;
  }
  .r-company-dir-lead {
    font-size: 15px;
    margin-bottom: 40px;
  }
  /* Data Page SP */
  .r-data-lead {
    padding: 48px 0 36px;
  }
  .r-data-lead-inner {
    padding: 0 24px;
  }
  .r-data-lead-text {
    font-size: 15px;
    line-height: 2.2;
  }
  .r-data-section {
    padding: 56px 0;
  }
  .r-data-layout {
    padding: 0 24px;
    gap: 36px;
  }
  .r-data-heading {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .r-data-message {
    font-size: 15px;
  }
  .r-donut-wrap {
    width: 180px;
    height: 180px;
  }
  .r-donut-center-num {
    font-size: 34px;
  }
  .r-donut-center-unit {
    font-size: 15px;
  }
  .r-donut-legend {
    gap: 14px;
  }
  .r-donut-legend-text {
    font-size: 13px;
  }
  .r-bar-label {
    font-size: 13px;
  }
  .r-bar-value {
    font-size: 13px;
  }
  .r-bar-track {
    height: 8px;
  }
  .r-counter-wrap {
    width: 180px;
    height: 180px;
  }
  .r-counter-num {
    font-size: 44px;
  }
  .r-counter-unit {
    font-size: 18px;
  }
  /* Culture Page SP */
  .r-culture-motto-section {
    padding: 48px 0;
  }
  .r-culture-motto-inner {
    padding: 0 24px;
  }
  .r-culture-motto-text {
    font-size: 20px;
  }
  .r-culture-gallery {
    padding: 0 0 56px;
  }
  .r-culture-gallery-inner {
    padding: 0 16px;
  }
  .r-culture-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .r-culture-photo--wide {
    grid-column: span 1;
  }
  /* Century21 SP */
  .r-c21-intro {
    padding: 56px 0;
  }
  .r-c21-intro-inner {
    padding: 0 24px;
  }
  .r-c21-intro-heading {
    font-size: 24px;
    margin-bottom: 28px;
  }
  .r-c21-intro-text {
    font-size: 15px;
    line-height: 2.2;
  }
  .r-c21-feature-body {
    padding: 40px 24px;
  }
  .r-c21-feature-heading {
    font-size: 22px;
    margin-bottom: 24px;
  }
  .r-c21-feature-text {
    font-size: 14px;
  }
  /* Career SP */
  .r-career-intro {
    padding: 56px 0;
  }
  .r-career-intro-inner {
    padding: 0 24px;
  }
  .r-career-intro-heading {
    font-size: 24px;
    margin-bottom: 28px;
  }
  .r-career-intro-text {
    font-size: 15px;
    line-height: 2.2;
  }
  .r-career-year {
    padding: 56px 0;
  }
  .r-career-year-inner {
    padding: 0 24px;
  }
  .r-career-year-header {
    margin-bottom: 40px;
  }
  .r-career-year-num {
    font-size: 36px;
  }
  .r-career-year-heading {
    font-size: 24px;
  }
  .r-career-timeline {
    padding-left: 0;
  }
  .r-career-timeline::before {
    left: 6px;
  }
  .r-career-timeline-marker {
    position: relative;
    left: 0;
    width: auto;
    text-align: left;
    padding-right: 0;
    padding-left: 28px;
    margin-bottom: 12px;
  }
  .r-career-timeline-marker::after {
    right: auto;
    left: 0;
    top: 4px;
  }
  .r-career-timeline-content {
    padding-left: 28px;
  }
  .r-career-timeline-item {
    padding-bottom: 48px;
  }
  .r-career-timeline-title {
    font-size: 16px;
  }
  .r-career-timeline-text {
    font-size: 14px;
  }
  .r-career-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }
  .r-career-step-header {
    padding-right: 0;
  }
  .r-career-step-title {
    font-size: 20px;
  }
  .r-career-step-text {
    font-size: 14px;
  }
  /* Flow Intro SP */
  .r-flow-intro {
    padding: 56px 0 36px;
  }
  .r-flow-intro-inner {
    padding: 0 24px;
  }
  .r-flow-intro-heading {
    font-size: 24px;
  }
  /* Interview SP */
  .r-interview-body {
    padding: 40px 24px;
  }
  .r-interview-heading {
    font-size: 22px;
    margin-bottom: 24px;
  }
  .r-interview-text {
    font-size: 14px;
  }
  .r-interview-highlight {
    font-size: 15px;
    padding: 20px 24px;
  }
  .r-interview-header-catch {
    font-size: 15px;
  }
  .r-interview-profile {
    padding: 56px 0;
  }
  .r-interview-profile-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 24px;
  }
  .r-interview-profile-photo {
    width: 100px;
    height: 100px;
  }
  .r-interview-profile-data {
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.page-template-page-entry .wpcf7-form {
  /* padding-bottom: 0; */
}

.page-template-page-entry form {
  background-color: var(--r-surface);
  padding-bottom: 120px;
}