/* ========================================
   Recruit Site Starter CSS
   Modern / Clean / Corporate
======================================== */

/* ----- Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;

 
  color: #1f2937;
  background: #ffffff;
}

/* ----- Media ----- */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* ----- Form ----- */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ----- Link ----- */
a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* ----- List ----- */
ul,
ol {
  list-style: none;
  padding: 0;
}

/* ----- Typography ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
}

p {
  overflow-wrap: break-word;
}

/* ========================================
   Layout
======================================== */

:root {
  --color-main: #005bac;
  --color-main-light: #eaf4ff;

  --color-text: #1f2937;
  --color-gray: #6b7280;
  --color-border: #e5e7eb;
  --color-bg: #f8fafc;

  --shadow:
    0 10px 30px rgba(0, 0, 0, 0.06);

  --radius: 16px;

  --container: 1200px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding-block: 100px;
}

.section-sm {
  padding-block: 72px;
}

.bg-gray {
  background: var(--color-bg);
}

/* ========================================
   Heading
======================================== */

.section-title {
  margin-bottom: 56px;
}

.section-title .en {
  display: block;
  margin-bottom: 12px;

  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  color: var(--color-main);
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
}

.section-title p {
  margin-top: 16px;
  color: var(--color-gray);
}

/* ========================================
   Button
======================================== */
.btn {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;
  padding-inline: 16px;

  font-size: 60px;
  font-weight: 700;
  white-space: nowrap;

  overflow: hidden;

  transition: background 0.4s ease;
}

/* テキスト */
.btn p {
  position: relative;
  z-index: 2;

  transition: transform 0.3s ease;
}

.btn::before {
  content: ">";

  position: absolute;
  left: 32px;
  top: 50%;

  color: #fff;
  font-size: 1rem;
  font-weight: 400;

  transform:
    translateY(-50%)
    scale(0);

  opacity: 0;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* hover */
.btn:hover {
  background: #133284;
}

/* テキストを右へ */
.btn:hover p {
  transform: translateX(20px);
}

/* ●出現 */
.btn:hover::before {
  opacity: 1;

  transform:
    translateY(-50%)
    scale(1);
}

.btn-primary {
  background: var(--color-main);
  color: #ffffff;
}

.btn-primary:hover {
  background: #004b90;
}

.btn-outline {
  border: 1px solid var(--color-main);
  color: var(--color-main);
}

.btn-outline:hover {
  background: var(--color-main-light);
}

/* ========================================
   Card
======================================== */

.card {
  padding: 32px;
  border-radius: var(--radius);

  background: #ffffff;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.card p {
  color: var(--color-gray);
}

/* ========================================
   Grid
======================================== */

.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}


/* ========================================
   Header
======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;

  backdrop-filter: blur(12px);
  background:
    rgba(255, 255, 255, 0.85);

  border-bottom:
    1px solid rgba(229, 231, 235, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 80px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-weight: 600;
}

/* ========================================
   Footer
======================================== */

.footer {
  padding-block: 56px;
 
  color: #ffffff;
}

.footer small {
  opacity: 0.7;
}

/* ========================================
   Animation
======================================== */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

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

/* ========================================
   Utility
======================================== */

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

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

/* ========================================
   Responsive
======================================== */

@media (max-width: 960px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 72px;
  }

 

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px);
  }

  .card {
    padding: 24px;
  }

  .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}/* CSS Document */
/* ========================================
color
======================================== */
.c-blue{color: #61aad9}
.c-yellow{color: #c9ac92}
.c-gray{color: #737571}
.c-pink{color: #e09bd9}
.c-red{color: #f28d8d}
.c-green{color: #98c960}
