/*
Theme Name: luluto-recruit
Author: r_sato
Version: 1.0
*/

/* Base styles */
* {
  box-sizing: border-box;
  font-family: "Noto Sans JP", "sans-serif";
}

html {
  background-color: var(--white, #ffffff);
}

body {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: var(--blue--10, #f9fafb);
  overflow-x: hidden;
  font-family: "Noto Sans JP", "sans-serif";
}

/* Jostフォント用のユーティリティクラス */
.font-jost {
  font-family: "Jost", sans-serif;
}

img {
  width: 100%;
  box-sizing: border-box;
  display: block;
}

/* Base paragraph styles */
p {
  font-size: var(--font-size-base, 16px);
  line-height: 1.8;
  color: var(--blue-100, #394d65);
  box-sizing: border-box;
  margin: 0;
}
span {
  font-size: var(--font-size-base, 16px);
  color: var(--blue-100, #394d65);
  box-sizing: border-box;
}
li {
  font-size: var(--font-size-base, 16px);
  line-height: 1.8;
  color: var(--blue-100, #394d65);
  box-sizing: border-box;
}
a {
  text-decoration: none;
}

/* Color utilities */
.white {
  color: #ffffff;
}
.blue-120 {
  color: #273444;
}
.blue-100 {
  color: #394d65;
}
.blue-80 {
  color: #617184;
}
.blue-60 {
  color: #8894a3;
}
.blue-20 {
  color: #d7dbe0;
}
.blue-0 {
  color: #ebedf0;
}
.blue--10 {
  color: #f9fafb;
}
/* BackGround-Color utilities */
.bg-blue-100 {
  background-color: var(--blue-100, #394d65);
}
.bg-blue-20 {
  background-color: var(--blue-20, #d7dbe0);
}
.bg-blue-0 {
  background-color: var(--blue-0, #ebedf0);
}
.bg-blue--10 {
  background-color: var(--blue--10, #f9fafb);
}
.bg-white {
  background-color: var(--white, #ffffff);
}

/* Shadow utilities */
.box-shadow {
  box-shadow: 0 0 60px 0 rgba(183, 179, 197, 0.2);
}

/* Font weight utilities */
.font-thin {
  font-weight: 300;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Font size utilities */
.text-xs {
  font-size: 0.75rem; /* 12px */
}

.text-sm {
  font-size: 0.875rem; /* 14px */
}

.text-base {
  font-size: 1rem; /* 16px */
}

.text-lg {
  font-size: 1.125rem; /* 18px */
}

.text-xl {
  font-size: 1.25rem; /* 20px */
}

.text-2xl {
  font-size: 1.5rem; /* 24px */
}

.text-3xl {
  font-size: 1.875rem; /* 30px */
}

.text-4xl {
  font-size: 2.25rem; /* 36px */
}

.text-5xl {
  font-size: 3rem; /* 48px */
}

.text-6xl {
  font-size: 3.75rem; /* 60px */
}

/* Layout utilities */
.w-full {
  width: 100%;
}

.max-w-sm {
  max-width: 450px;
}

.mx-auto {
  margin: 0 auto;
}
/* Position utilities */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

/* Spacing utilities */
.m-0 {
  margin: 0;
}

.mx-4 {
  margin: 0 16px;
}

.ml-10 {
  margin-left: 40px;
}

/* Padding utilities */
.p-0 {
  padding: 0;
}

.p-1 {
  padding: 4px;
}

.p-2 {
  padding: 8px;
}

.p-3 {
  padding: 12px;
}

.p-4 {
  padding: 16px;
}

.p-5 {
  padding: 20px;
}

.p-6 {
  padding: 24px;
}

.p-8 {
  padding: 32px;
}

.p-10 {
  padding: 40px;
}

.p-12 {
  padding: 48px;
}

/* Margin utilities */
.m-1 {
  margin: 4px;
}

.m-2 {
  margin: 8px;
}

.m-3 {
  margin: 12px;
}

.m-4 {
  margin: 16px;
}

.m-5 {
  margin: 20px;
}

.m-6 {
  margin: 24px;
}

.m-8 {
  margin: 32px;
}

.m-10 {
  margin: 40px;
}

.m-12 {
  margin: 48px;
}
/*Gap utilities*/
.gap-2 {
  gap: 8px;
}
.gap-4 {
  gap: 16px;
}
/* Directional spacing */
.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.px-6 {
  padding-left: 24px;
  padding-right: 24px;
}
.px-10 {
  padding-left: 40px;
  padding-right: 40px;
}
.py-4 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.py-6 {
  padding-top: 24px;
  padding-bottom: 24px;
}

.pt-6 {
  padding-top: 24px;
}

.pb-6 {
  padding-bottom: 24px;
}

.py-4 {
  padding-top: 16px;
  padding-bottom: 16px;
}
.py-8 {
  padding-top: 32px;
  padding-bottom: 32px;
}
.py-12 {
  padding-top: 48px;
  padding-bottom: 48px;
}
.py-20 {
  padding-top: 80px;
  padding-bottom: 80px;
}
.mx-6 {
  margin-left: 24px;
  margin-right: 24px;
}

.my-6 {
  margin-top: 24px;
  margin-bottom: 24px;
}

.mt-0 {
  margin-top: 0;
}

.mb-6 {
  margin-bottom: 24px;
}
.mb-24 {
  margin-bottom: 96px;
}

/* Text utilities */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.strong {
  font-weight: var(--text-bold, 700);
  color: var(--blue-120, #273444);
}

/* Display utilities */
.block {
  display: block;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.hidden {
  display: none;
}
.align-center {
  align-items: center;
}

/* Component styles */
/* フェードインアニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 1.2s ease-out;
}

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

/* 左からのフェードイン */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 1s ease-out;
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 右からのフェードイン */
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 位置固定フェードイン（fv_img用） */
.fade-in-fixed {
  opacity: 0;
  transition: opacity 1.2s ease-out;
}

.fade-in-fixed.animate {
  opacity: 1;
}

/* fv-title専用のフェードイン */
.fade-in-title {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 1s ease-out;
}

/* fv-titleの基本スタイル */
.fv-title {
  position: absolute;
  left: 4%;
  top: 0;
  z-index: 10;
}

.fade-in-title.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 既存のh2スタイルを保持 */
.h2 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 20px 0;
  color: var(--blue-100, #394d65);
}
.h3 {
  text-align: center;
  color: var(--blue-100, #394d65);
}
.h3-border {
  text-align: center;
  color: var(--blue-100, #394d65);
  border-top: 1px solid var(--blue-100, #394d65);
  border-bottom: 1px solid var(--blue-100, #394d65);
  padding: var(--py-3, 12px);
}
/*loop text styles*/
.loop-text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}
.wrapper-loop-text {
  display: flex;
  animation: loop-text 10s linear infinite;
  gap: var(--gap-4, 16px);
}
.double-content {
  display: inline-block;
  font-size: var(--text-5xl, 48px);
  white-space: nowrap;
  color: var(--white, #fff);
}
@keyframes loop-text {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Slider styles */
.slider-section {
  width: 100%;
  overflow: hidden;
  padding: 16px 0 48px 0;
}

.slider-container {
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  animation: slide 30s linear infinite;
  width: calc(200px * 24);
}

.slider-track img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  margin-right: 10px;
  flex-shrink: 0;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 8));
  }
}

/* Carrier Carousel styles */
.carousel-carrier-track {
  position: relative;
  width: 100%;
  text-align: center;
}
.carousel-carrier-slide {
  background-color: var(--blue-20, #d7dbe0);
  text-align: left;
  padding: var(--p-4, 16px);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.carousel-carrier-image {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}
.carrier-text {
  font-weight: var(--font-semibold, 600);
  font-size: var(--text-lg, 18px);
  margin: 0;
}
.carrier-text-sub {
  color: var(--bule-80, #617184);
  font-size: var(--text-sm, 14px);
  display: inline-block;
  width: 50px;
  margin: 0 16px 0 0;
}
.carrier-text-group {
  display: block;
}

/* Inreview Carousel styles */
.carousel-section {
  padding: var(--p-6, 24px);
}
.carousel-title {
  font-size: var(--text-xl, 20px);
  font-weight: var(--font-semibold, 600);
  color: var(--blue-100, #394d65);
}
.carousel-header-title {
  display: flex;
  gap: var(--gap-4, 16px);
}
.carousel-header h3 {
  margin: 0;
}
.carousel-header p {
  font-size: var(--text-sm, 14px);
  margin: 4px 0 16px 0;
}

.carousel-track {
  position: relative;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
}

.carousel-slide h4 {
  font-size: var(--text-lg, 18px);
  font-weight: var(--font-semibold, 600);
  color: var(--blue-100, #394d65);
  line-height: 2;
  margin: 0 0 16px 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--blue-20, #d7dbe0);
  text-align: left;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  background-color: transparent;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.1s;
}

.carousel-btn:hover {
  transform: scale(1.1);
  filter: brightness(120%);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-20, #d7dbe0);
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background: var(--blue-100, #394d65);
}
.wrapper-fv {
  position: relative;
}
.fv-title {
  position: absolute;
  left: 4%;
  top: 0;
  z-index: 10;
}
.fv-img {
  width: calc(100% - 40px);
  margin-left: 40px;
  padding-top: 140px;
  z-index: 1;
}
.fv-text {
  padding: 24px 0 48px 0;
  text-align: center;
}

/* カウンターセクションのスタイル */
.counter-section {
  padding: 40px 20px;
  margin: 20px 0;
  background-color: var(--blue--10, #f9fafb);
}

.counter-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: var(--font-medium, 500);
  color: var(--blue-100, #394d65);
  margin-bottom: 32px;
}

.counter-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: stretch;
}

.counter-item-large {
  flex: 1;
  text-align: center;
  padding: 24px;
  background-color: var(--bg-white, #fff);
  box-shadow: var(--box-shadow, 0 0 60px 0 rgba(183, 179, 197, 0.2));
}
.counter-item-shoptext {
  display: flex;
  justify-items: auto;
  align-items: center;
  justify-content: space-between;
}

.counter-item-box {
  flex: 1;
  padding: 20px;
  background-color: var(--bg-white, #fff);
  box-shadow: var(--box-shadow, 0 0 60px 0 rgba(183, 179, 197, 0.2));
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.counter-item-full {
  flex: 1;
  padding: 24px;
  background-color: var(--bg-white, #fff);
  box-shadow: var(--box-shadow, 0 0 60px 0 rgba(183, 179, 197, 0.2));
}

.box-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-80, #617184);
  margin-bottom: 12px;
  line-height: 1.4;
}

.box-subtitle {
  font-size: 0.75rem;
  color: var(--blue-60, #8894a3);
  margin-top: 8px;
  margin-bottom: 0;
}

.counter-number {
  display: block;
  font-size: 2.5rem;
  font-weight: var(--font-medium, 500);
  color: var(--blue-100, #394d65);
  margin-bottom: 8px;
}

.counter-label {
  display: block;
  font-size: 0.875rem;
  color: var(--blue-80, #617184);
  line-height: 1.4;
}

/* 横並びカウンター用のスタイル */
.counter-number-inline {
  display: inline;
  font-size: 2.5rem;
  font-weight: var(--font-medium, 500);
  color: var(--blue-100, #394d65);
}

.counter-label-inline {
  display: inline;
  font-size: 0.875rem;
  color: var(--blue-80, #617184);
  line-height: 1.4;
}

.counter-inline {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

/* 資格保持者チャート */
.qualification-container {
  align-items: center;
  gap: 32px;
  margin-top: 16px;
}

.pie-chart-container {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pie-chart {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
    #394d65 0deg 10.8deg,
    #617184 10.8deg 21.6deg,
    #8894a3 21.6deg 133.2deg,
    #d7dbe0 133.2deg 360deg
  );
}

.pie-chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qualification-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.chart-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chart-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chart-label {
  flex: 1;
}

.chart-percentage {
  color: var(--blue-100, #394d65);
  flex-shrink: 0;
}
/*Entry-button*/
.entry-btn {
  padding: var(--p-6, 24px);
  background-color: var(--bg-blue-100, #394d65);
  color: var(--white, #fff);
  width: 100%;
  border: none;
  transition: filter 0.3s;
  display: flex;
  align-items: center;
}
.entry-btn p {
  color: var(--white, #fff);
  margin: 0;
}
.entry-btn-group {
  display: block;
  border-right: 1px solid var(--white, #fff);
  padding: 0 24px 0 0;
  width: 40%;
}
.entry-btn-text {
  font-size: var(--text-lg, 18px);
  font-weight: var(--font-semibold, 600);
  width: 60%;
}
#btn_animation {
  position: relative;
  overflow: hidden;
}

#btn_animation::before {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: var(--blue-60, #8894a3);
  animation: btn_animation 2.5s ease-in-out infinite;
}

@-webkit-keyframes btn_animation {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

@keyframes btn_animation {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
.entry-btn:hover {
  filter: brightness(130%);
}

/* 追従ボタンのスタイル */
.entry-btn-fixed {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-radius: 0;
  opacity: 1;
  visibility: visible;
}

.wrapper-p-6 {
  padding: var(--p-6, 24px);
}
.wrapper-p-4 {
  padding: var(--p-4, 16px);
}
.wrapper-person {
  display: flex;
  gap: var(--gap-2, 8px);
  align-items: center;
}
.wrapper-person img {
  width: 120px;
  height: 120px;
  margin-left: 8px;
}
.wrapper-entry-step {
  padding: var(--p-4, 16px);
  background-color: var(--bg-white, #fff);
  box-shadow: 0 0 60px 0 rgba(183, 179, 197, 0.2);
  display: flex;
  gap: var(--gap-4, 16px);
  align-items: center;
  margin: var(--my-2, 8px);
}
.wrapper-entry-step img {
  width: 32px;
  height: 32px;
}
.wrapper-entry-step p {
  margin: 0;
}

.icon-list {
  display: flex;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: var(--blue-20, #d7dbe0) 1px solid;
  align-items: center;
  gap: var(--gap-4, 16px);
}
.icon-list img {
  width: 24px;
  height: 24px;
}
.icon-list-10 {
  display: flex;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: var(--blue-20, #d7dbe0) 1px solid;
  align-items: center;
  gap: var(--gap-4, 16px);
}
.icon-list-10 img {
  width: 40px;
  height: 40px;
}

/* Hide border-bottom for the last row of icon-list and icon-list-10 */
.icon-list:last-child {
  border-bottom: none;
}

.icon-list-10:last-child {
  border-bottom: none;
}
