/* ===== Hinoataru Custom Styles ===== */

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Design Tokens */
:root {
  --color-primary: #F5A623;
  --color-primary-dark: #E09310;
  --color-bg: #F3F1EF;
  --color-bg-light: #F3F1EF;
  --color-text: #141413;
  --color-text-gray: #777777;
  --color-dark: #30302E;
  --color-border: rgba(31, 30, 29, 0.15);
  --color-orange: #E8725A;
  --font-heading: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  /* Crayon colors from business card */
  --crayon-pink: #E8A0BF;
  --crayon-blue: #7BAFD4;
  --crayon-green: #B8D468;
  --crayon-sky: #A0C8E8;
}

/* ===== Crayon Block Border ===== */
.crayon-border {
  width: 100%;
  line-height: 0;
}

/* Below fixed header */
body > .crayon-border:first-of-type {
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  z-index: 39;
}

body.admin-bar > .crayon-border:first-of-type {
  top: 128px;
}

@media screen and (max-width: 782px) {
  body.admin-bar > .crayon-border:first-of-type {
    top: 142px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #141413;
  background-color: #F3F1EF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

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

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

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

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(2deg); }
  66% { transform: translateY(4px) rotate(-1deg); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(6px) rotate(-2deg); }
  66% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes kvLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes heroZoomIn {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

@keyframes heroShapeMorph {
  0% { border-radius: 48% 52% 45% 55% / 40% 60% 40% 60%; }
  33% { border-radius: 52% 48% 55% 45% / 60% 40% 60% 40%; }
  66% { border-radius: 45% 55% 50% 50% / 50% 50% 45% 55%; }
  100% { border-radius: 48% 52% 45% 55% / 40% 60% 40% 60%; }
}

@keyframes card-floating {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -1.5vw, 0) rotate(-2deg); }
  100% { transform: translate3d(0, 0, 0) rotate(2deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-blob {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.05); opacity: 0.15; }
}

/* Scroll-triggered animations */
[data-scroll-anim="fade"] {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.26, 0.06, 0, 1);
}
[data-scroll-anim="fade"].is-in {
  opacity: 1;
}

[data-scroll-anim="fade-in-up"] {
  transform: translate3d(0, 3vw, 0);
  opacity: 0;
}
[data-scroll-anim="fade-in-up"].is-in {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition: opacity 0.4s 0.2s cubic-bezier(0.47, 0.16, 0.24, 1),
              transform 0.8s cubic-bezier(0.18, 0.06, 0.23, 1);
}

[data-scroll-anim="fade-up-rotate-l"] {
  transform: translate3d(0, 3vw, 0) rotate(-30deg);
  opacity: 0;
}
[data-scroll-anim="fade-up-rotate-l"].is-in {
  transform: translate3d(0, 0, 0) rotate(0deg);
  opacity: 1;
  transition: opacity 0.5s 0.2s cubic-bezier(0.47, 0.16, 0.24, 1),
              transform 0.7s 0.1s cubic-bezier(0.43, 0.05, 0.17, 1);
}

[data-scroll-anim="fade-up-rotate-r"] {
  transform: translate3d(0, 3vw, 0) rotate(30deg);
  opacity: 0;
}
[data-scroll-anim="fade-up-rotate-r"].is-in {
  transform: translate3d(0, 0, 0) rotate(0deg);
  opacity: 1;
  transition: opacity 0.5s 0.2s cubic-bezier(0.43, 0.05, 0.17, 1),
              transform 0.7s 0.1s cubic-bezier(0.43, 0.05, 0.17, 1);
}

/* Green/Orange CTA button */
.btn-green,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: #F5A623;
  color: #ffffff;
  border-radius: 9999px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-green:hover,
.btn-cta:hover {
  background-color: #E09310;
  color: #ffffff;
}

/* Section label */
.section-label {
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  font-weight: 500;
  color: #7BAFD4;
  text-transform: uppercase;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 12px;
}

/* Hide scrollbar */
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hover image zoom */
.hover-zoom {
  overflow: hidden;
}
.hover-zoom img {
  transition: transform 0.4s ease;
}
.hover-zoom:hover img {
  transform: scale(1.05);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 96px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background-color: transparent;
}

@media (min-width: 1024px) {
  .site-header {
    padding: 0 40px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  flex-shrink: 0;
}

.site-logo img {
  display: block !important;
}

.site-logo-subtitle {
  display: block !important;
  font-size: 10px;
  color: rgba(20,20,19,0.6);
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin-top: 2px;
  text-align: center;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 20px;
}

@media (min-width: 1024px) {
  .site-header .desktop-nav {
    display: flex !important;
  }
}

.desktop-nav a {
  font-size: 13px;
  font-weight: 500;
  color: #141413;
  white-space: nowrap;
  transition: color 0.3s;
}

.desktop-nav a:hover,
.desktop-nav a.current {
  color: #F5A623;
}

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  background: #F5A623;
  color: #fff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.3s;
}

.header-cta:hover {
  background: #e69516;
  color: #fff;
}

@media (min-width: 1024px) {
  .header-cta {
    display: flex;
  }
}

.header-cta-arrow {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile hamburger */
.hamburger-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(20,20,19,0.2);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 13px;
  color: #141413;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s;
}

.hamburger-btn:hover {
  border-color: #F5A623;
}

@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hamburger-lines span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #141413;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #F3F1EF;
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 0;
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
}

.mobile-menu-close:hover {
  background: rgba(20,20,19,0.08);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  font-size: 20px;
  color: #141413;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #F5A623;
}

.mobile-menu-cta {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F5A623;
  color: #fff;
  padding: 12px 32px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
}

/* ===== Footer ===== */
.site-footer {
  border-top: none;
  background: #F3F1EF;
}

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 64px 16px;
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 64px 32px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #141413;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a,
.footer-list span {
  font-size: 14px;
  color: rgba(20, 20, 19, 0.7);
  transition: color 0.3s;
}

.footer-list a:hover {
  color: #F5A623;
}

.footer-contact-label {
  font-size: 12px;
  color: rgba(20, 20, 19, 0.6);
  margin-bottom: 2px;
}

.footer-phone {
  font-size: 18px;
  font-weight: 700;
  color: #141413;
  transition: color 0.3s;
}

.footer-phone:hover {
  color: #F5A623;
}

.footer-address {
  font-size: 14px;
  color: rgba(20, 20, 19, 0.7);
}

.footer-cta-btn {
  display: inline-block;
  margin-top: 12px;
  background: #F5A623;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 9999px;
  transition: background 0.3s;
}

.footer-cta-btn:hover {
  background: #e09515;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #E5E3DF;
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(20, 20, 19, 0.5);
  margin: 0;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100svh;
  min-height: 600px;
  max-height: 920px;
}

.hero-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  will-change: transform;
}

.hero-strip.is-entered {
  animation: kvLoop 80s linear infinite;
}

.hero-strip-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
}

.hero-strip-half:first-child {
  left: 0;
}

.hero-strip-half:last-child {
  left: 50%;
}

.hero-kv-item {
  position: absolute;
  overflow: hidden;
  z-index: 2;
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 420px;
    max-height: 600px;
  }
  /* スマホ: 画像にサイズ・形・配置の変化をつける */
  .hero-strip-half .hero-kv-0.hero-kv-0 {
    width: 38vw !important; height: 44vw !important;
    top: 2% !important; left: 0% !important;
    border-radius: 48% 52% 45% 55% / 40% 60% 40% 60% !important;
  }
  .hero-strip-half .hero-kv-1.hero-kv-1 {
    width: 26vw !important; height: 26vw !important;
    top: 4% !important; left: 42% !important;
    border-radius: 50% !important;
  }
  .hero-strip-half .hero-kv-2.hero-kv-2 {
    width: 30vw !important; height: 36vw !important;
    top: 12% !important; left: 65% !important;
    border-radius: 44% 56% 52% 48% / 42% 58% 42% 58% !important;
  }
  .hero-strip-half .hero-kv-3.hero-kv-3 {
    width: 22vw !important; height: 22vw !important;
    top: 36% !important; left: 18% !important;
    border-radius: 50% !important;
  }
  .hero-strip-half .hero-kv-4.hero-kv-4 {
    width: 34vw !important; height: 40vw !important;
    top: 48% !important; left: 35% !important;
    border-radius: 52% 48% 46% 54% / 48% 52% 48% 52% !important;
  }
  .hero-strip-half .hero-kv-5.hero-kv-5 {
    width: 28vw !important; height: 32vw !important;
    top: 42% !important; left: 70% !important;
    border-radius: 45% 55% 50% 50% / 55% 45% 55% 45% !important;
  }
}

.hero-kv-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-blob {
  position: absolute;
  z-index: 3;
  background-color: #F5A623;
}

.hero-blob-1 {
  bottom: -2%;
  left: 8%;
  width: clamp(400px, 45vw, 650px);
  height: clamp(140px, 14vw, 200px);
  border-radius: 55% 45% 60% 40% / 65% 35% 65% 35%;
  opacity: 0.85;
}

.hero-blob-2 {
  bottom: -1%;
  right: 6%;
  width: clamp(180px, 18vw, 260px);
  height: clamp(80px, 8vw, 120px);
  border-radius: 50% 50% 45% 55% / 60% 40% 60% 40%;
  opacity: 0.7;
  background-color: var(--crayon-sky);
}

.hero-text-panel {
  position: absolute;
  top: 12%;
  right: 5%;
  z-index: 10;
  display: none;
}

@media (min-width: 1024px) {
  .hero-text-panel {
    display: block;
  }
}

.hero-text-panel .hero-text-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-vertical-text {
  writing-mode: vertical-rl;
  font-size: 12px;
  line-height: 2;
  color: #141413;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.hero-tagline {
  writing-mode: vertical-rl;
  color: #141413;
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(40px, 4vw, 58px);
}

/* ===== Section Styles ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-label {
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: #141413;
  margin: 0;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 36px;
  }
}

.section-divider {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 16px auto 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  display: none;
}

/* Crayon-style divider blocks generated via PHP helper */

/* ===== Service Cards ===== */
.service-card {
  height: 100%;
  border-radius: 16px;
  border-left: 4px solid var(--crayon-blue);
  background: #fff;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}

.grid-2 > :nth-child(2) > .service-card { border-left-color: var(--crayon-pink); }
.grid-2 > :nth-child(3) > .service-card { border-left-color: var(--crayon-green); }
.grid-2 > :nth-child(4) > .service-card { border-left-color: var(--crayon-sky); }

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #141413;
  margin: 0 0 12px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(20, 20, 19, 0.7);
  margin: 0;
}

.service-card-image {
  margin: -32px -32px 24px -32px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  height: 220px;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF5 100%);
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 40px;
  }
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.testimonial-quote {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: rgba(245, 166, 35, 0.3);
  margin-bottom: 24px;
}

.testimonial-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(20, 20, 19, 0.8);
  margin-bottom: 32px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #F5A623;
  background: linear-gradient(135deg, rgba(245,166,35,0.15) 0%, rgba(245,166,35,0.05) 100%);
  box-shadow: 0 0 0 2px rgba(245,166,35,0.25);
}

.testimonial-name {
  font-weight: 700;
  color: #141413;
}

.testimonial-service {
  font-size: 12px;
  color: rgba(20, 20, 19, 0.6);
}

.testimonial-close-quote {
  position: absolute;
  bottom: 24px;
  right: 32px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: rgba(245, 166, 35, 0.15);
}

/* ===== Blog Cards ===== */
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 0;
}

.blog-card-image-inner {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 24px 24px 60px 24px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #F5A623;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.blog-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  padding-top: 16px;
}

.blog-card-date {
  display: inline-block;
  font-size: 12px;
  color: #F5A623;
  font-weight: 500;
  background: rgba(245, 166, 35, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #141413;
  margin: 0 0 8px;
  transition: color 0.3s;
}

.blog-card:hover .blog-card-title {
  color: #F5A623;
}

.blog-card-excerpt {
  font-size: 14px;
  color: rgba(20, 20, 19, 0.7);
  line-height: 1.7;
  margin: 0;
}

/* ===== FAQ Accordion ===== */
.faq-item {
  margin-bottom: 12px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item-wrapper {
  border-radius: 12px;
  border: 2px solid rgba(245, 166, 35, 0.1);
  background: rgba(255,255,255,0.6);
  transition: all 0.3s;
}

.faq-item-wrapper:hover {
  border-color: rgba(245, 166, 35, 0.2);
}

.faq-item-wrapper.is-open {
  border-color: rgba(245, 166, 35, 0.3);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.faq-question-text {
  padding-right: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #141413;
}

@media (min-width: 768px) {
  .faq-question-text {
    font-size: 16px;
  }
}

.faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  transition: all 0.3s;
  background: rgba(245, 166, 35, 0.1);
  color: #F5A623;
}

.faq-item-wrapper.is-open .faq-toggle {
  background: #F5A623;
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
}

.faq-item-wrapper.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-content {
  padding: 0 20px 20px;
}

.faq-answer-content p {
  border-left: 2px solid rgba(245, 166, 35, 0.4);
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(20, 20, 19, 0.7);
  margin: 0;
}

/* ===== Recruit Section ===== */
.wage-table-wrapper {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(245, 166, 35, 0.2);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 32px;
}

.wage-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}

.wage-table thead tr {
  background: rgba(245, 166, 35, 0.1);
}

.wage-table th {
  padding: 12px 16px;
  font-weight: 600;
  color: #141413;
  text-align: left;
}

.wage-table th:not(:first-child) {
  text-align: center;
}

.wage-table td {
  padding: 12px 16px;
  color: #141413;
}

.wage-table td:not(:first-child) {
  text-align: center;
}

.wage-table td:first-child {
  font-weight: 500;
}

.wage-table tbody tr:nth-child(even) {
  background: #F3F1EF;
}

.wage-highlight {
  font-weight: 400;
  color: inherit;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: rgba(20, 20, 19, 0.8);
  margin-bottom: 8px;
}

.benefits-list .check {
  color: #F5A623;
  flex-shrink: 0;
  margin-top: 2px;
}

.work-details {
  border-radius: 16px;
  background: #F3F1EF;
  padding: 24px;
  margin-bottom: 32px;
}

.work-details h4 {
  font-size: 14px;
  font-weight: 700;
  color: #141413;
  margin: 0 0 4px;
}

.work-details p {
  font-size: 14px;
  color: rgba(20, 20, 19, 0.7);
  margin: 0 0 16px;
}

.work-details p:last-child {
  margin-bottom: 0;
}

.work-details .note {
  font-size: 12px;
  color: #F5A623;
  margin: 0;
}

/* ===== Contact Section ===== */
.contact-section {
  position: relative;
  overflow: hidden;
  background: #F3F1EF;
  padding: 80px 0;
}

@media (min-width: 768px) {
  .contact-section {
    padding: 112px 0;
  }
}

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info-card {
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}

.contact-info-card .emoji {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-info-card .label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(20, 20, 19, 0.6);
  margin-bottom: 4px;
}

.contact-phone-number {
  font-size: 24px;
  font-weight: 700;
  color: #F5A623;
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .contact-phone-number {
    font-size: 30px;
  }
}

.contact-phone-number:hover {
  color: #e0951e;
}

.contact-hours {
  font-size: 14px;
  color: rgba(20, 20, 19, 0.6);
  margin-top: 8px;
}

.contact-map {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.contact-map iframe {
  border: 0;
  border-radius: 16px;
  width: 100%;
  height: 250px;
}

.contact-form-wrapper {
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 32px;
  }
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #141413;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 19, 0.1);
  background: #F3F1EF;
  padding: 12px 16px;
  font-size: 14px;
  color: #141413;
  outline: none;
  transition: box-shadow 0.3s;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.5);
}

.contact-form textarea {
  resize: none;
}

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

.contact-form .submit-btn {
  width: 100%;
  border-radius: 12px;
  background: #F5A623;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.contact-form .submit-btn:hover {
  background: #e0951e;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
}

.contact-success .emoji {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: #141413;
  margin: 0 0 8px;
}

.contact-success p {
  font-size: 14px;
  color: rgba(20, 20, 19, 0.6);
  margin: 0;
}

/* ===== Concept Section ===== */
.concept-text-bold {
  color: #141413;
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
  white-space: pre-line;
}

@media (min-width: 768px) {
  .concept-text-bold {
    font-size: 24px;
  }
}

.concept-text-sub {
  color: rgba(20, 20, 19, 0.6);
  font-size: 15px;
  line-height: 2;
  white-space: pre-line;
}

@media (min-width: 768px) {
  .concept-text-sub {
    font-size: 16px;
  }
}

.concept-photo-circle {
  position: relative;
}

.concept-photo-circle .glow {
  position: absolute;
  inset: 0;
  transform: scale(1.1);
  background: rgba(245, 166, 35, 0.15);
  filter: blur(20px);
  border-radius: 50%;
}

.concept-photo-circle .photo {
  position: relative;
  width: 240px;
  height: 240px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245,166,35,0.2), 0 0 0 8px #F3F1EF;
}

@media (min-width: 768px) {
  .concept-photo-circle .photo {
    width: 320px;
    height: 320px;
  }
}

.concept-photo-circle .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-photo-pill {
  position: relative;
  animation: float 5s ease-in-out infinite;
}

.concept-photo-pill .shadow {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 32px;
  background: rgba(245, 166, 35, 0.1);
  filter: blur(20px);
  border-radius: 9999px;
}

.concept-photo-pill .photo {
  position: relative;
  width: 240px;
  height: 340px;
  overflow: hidden;
  border-radius: 120px;
  box-shadow: 0 20px 60px -12px rgba(245,166,35,0.25);
}

@media (min-width: 768px) {
  .concept-photo-pill .photo {
    width: 300px;
    height: 420px;
  }
}

.concept-photo-pill .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.warm-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 48px 0;
}

@media (min-width: 768px) {
  .warm-divider {
    margin: 64px 0;
  }
}

.warm-divider .line {
  height: 1px;
  width: 64px;
  background: rgba(245, 166, 35, 0.3);
}

.warm-divider .dot {
  margin: 0 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.4);
}

.values-card {
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border-top: 4px solid var(--crayon-green);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}

.grid-3 > :nth-child(1) > .values-card { border-top-color: var(--crayon-pink); }
.grid-3 > :nth-child(2) > .values-card { border-top-color: var(--crayon-blue); }
.grid-3 > :nth-child(3) > .values-card { border-top-color: var(--crayon-green); }

.values-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.values-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #141413;
  margin: 0 0 16px;
}

.values-card p {
  font-size: 14px;
  color: rgba(20, 20, 19, 0.7);
  line-height: 1.7;
  margin: 0;
}

/* ===== Decorative Blobs ===== */
.deco-blob {
  position: absolute;
  pointer-events: none;
  background: var(--crayon-sky);
  border-radius: 50%;
}

section:nth-of-type(2n) .deco-blob { background: var(--crayon-pink); }
section:nth-of-type(3n) .deco-blob { background: var(--crayon-green); }
section:nth-of-type(4n) .deco-blob { background: var(--crayon-blue); }


/* ===== Utility Classes ===== */
.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container-narrow {
    padding: 0 40px;
  }
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-form {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container-form {
    padding: 0 24px;
  }
}

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

.section-padding {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 112px 0;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-content: center;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}

/* 声カードの高さ揃え */
.voice-preview-grid > div {
  height: 100%;
}
.voice-preview-grid > div > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.voice-preview-grid > div > div > p:last-child {
  flex: 1;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== SectionLink button (used on front page) ===== */
.section-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F5A623;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 9999px;
  transition: background 0.3s;
}

.section-link-btn:hover {
  background: #e09515;
  color: #fff;
}

.section-link-btn svg {
  width: 16px;
  height: 16px;
}

/* ===== WP-specific ===== */
.wp-admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .wp-admin-bar .site-header {
    top: 46px;
  }
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Blog pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  color: #141413;
  transition: all 0.3s;
}

.pagination a:hover {
  background: rgba(245, 166, 35, 0.1);
  color: #F5A623;
}

.pagination .current {
  background: #F5A623;
  color: #fff;
}

/* Single post */
.single-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.single-post-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: #141413;
  margin: 0 0 16px;
}

@media (min-width: 768px) {
  .single-post-content h1 {
    font-size: 36px;
  }
}

.single-post-content .post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.single-post-content .post-body {
  font-size: 16px;
  line-height: 2;
  color: rgba(20, 20, 19, 0.8);
}

.single-post-content .post-body p {
  margin: 0 0 24px;
}

.single-post-content .post-body img {
  border-radius: 16px;
}

/* Contact form errors */
.form-error {
  color: #ff4444;
  font-size: 12px;
  margin-top: 4px;
}

.form-message {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
}

.form-message.success {
  background: rgba(245, 166, 35, 0.1);
  color: #E09310;
}

.form-message.error {
  background: rgba(255, 68, 68, 0.1);
  color: #ff4444;
}

/* WordPress editor content */
.entry-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #141413;
  margin: 48px 0 16px;
}

.entry-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #141413;
  margin: 32px 0 12px;
}

.entry-content p {
  margin: 0 0 24px;
  line-height: 2;
}

.entry-content ul, .entry-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.entry-content img {
  border-radius: 16px;
  height: auto;
}

.entry-content blockquote {
  border-left: 4px solid #F5A623;
  padding: 16px 24px;
  margin: 24px 0;
  background: #F3F1EF;
  border-radius: 0 12px 12px 0;
}

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

/* Concept preview on front page */
@media (min-width: 768px) {
  .concept-preview-row {
    flex-direction: row !important;
    gap: 64px !important;
  }
  .concept-preview-photo {
    width: 280px !important;
    height: 280px !important;
  }
  .voice-preview-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    justify-items: center;
  }
  .media-row {
    flex-direction: row !important;
    text-align: left !important;
  }
  .media-row > div:last-child {
    text-align: left !important;
  }
}

/* Concept page rows */
@media (min-width: 768px) {
  .concept-row {
    flex-direction: row !important;
    gap: 48px !important;
  }
  .concept-row > div:first-child {
    width: 320px;
  }
  .concept-row-reverse {
    flex-direction: row !important;
    gap: 48px !important;
  }
  .concept-row-reverse > div:last-child {
    width: 300px;
  }
}

@media (min-width: 1024px) {
  .concept-row > div:first-child {
    width: 320px;
  }
}

/* Blog card link reset */
a.blog-card {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

/* Admin bar fix */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Recruit hero - always centered by default */
