@charset "UTF-8";

/* ==============================================
   1. Variables (基本カラー・フォント)
============================================== */
:root {
  --main-color: #6bc2c3;   /* ティールブルー */
  --accent-color: #e5a9c9; /* ピンク */
  --text-color: #333333;
  --font-base: 'Noto Sans JP', sans-serif;
}

/* ==============================================
   2. Base & Reset
============================================== */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

/* ==============================================
   3. Common Layout & Components
============================================== */
.inner-width {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 共通タイトル周り */
.news-title-en,
.about-title-en,
.service-title-en {
  font-size: 36px;
  font-weight: normal;
  margin: 0;
  line-height: 1;
  color: #333;
}

.news-title-jp,
.about-title-jp,
.service-title-jp {
  font-size: 13px;
  display: block;
  margin-bottom: 20px;
  color: #333;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.btn-primary { background: #7fd2cf; color: #fff; }
.btn-ghost { border: 1px solid #ddd; color: inherit; background: #fff; }

/* ==============================================
   4. Header
============================================== */
.site-header {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.header-logo img,
.header-logo .custom-logo {
  max-width: 260px !important;
  height: auto !important;
}

/* ナビ（PC） */
.global-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-menu li a {
  font-size: 14px;
  font-weight: 500;
}

.global-menu li a:hover {
  color: var(--main-color);
}

/* ハンバーガー（共通） */
.menu-toggle {
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  line-height: 0;
  display: none; /* PCでは隠す */
}

.menu-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: #333;
  margin: 6px 0;
}

/* ==============================================
   5. Footer
============================================== */
.site-footer {
  background: #fff;
  padding: 60px 0 20px;
  border-top: 1px solid #eee;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo img,
.footer-logo .custom-logo {
  max-width: 220px !important;
  height: auto !important;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li a {
  font-size: 14px;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: #666;
  width: 100%;
  margin: 0;
  padding-top: 20px;
}

/* ==============================================
   6. Top Page Sections
============================================== */
/* --- FV (ファーストビュー) --- */
.fv-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}
.fv-main-img {
  width: 100%;
  height: auto;
  display: block;
}
.fv-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

/* --- NEWS --- */
.news-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.news-left { flex: 1; }
.news-box {
  border: 1px solid #999;
  min-height: 180px;
  background-color: #fff;
  padding: 20px;
}
.news-right {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 55px;
}

/* --- ABOUT --- */
.about-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}
.about-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.about-left { flex: 1; }
.about-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.img-main,
.img-sub {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.img-main {
  grid-column: 1 / 3;
  height: 220px;
  font-size: 24px;
}
.img-sub {
  height: 140px;
  font-size: 20px;
}

/* --- SERVICE (Swiper Slider版) --- */
.service-section { margin: 80px 0; overflow: hidden; }
.service-section .inner-width {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.service-swiper { width: 100%; padding: 20px 0 60px; }
.service-swiper .card-item {
  width: 360px;
  border-radius: 8px;
  padding: 30px 15px 30px 110px;
  color: #fff;
  min-height: 250px;
  position: relative;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.service-swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.6;
  transform: scale(0.9);
}

.slide-pink   { background-color: #f1a9a9; }
.slide-yellow { background-color: #f7ca72; }
.slide-purple { background-color: #b1a3d4; }

.card-char {
  position: absolute;
  bottom: -5px;
  left: -15px;
  width: 120px;
  z-index: 10;
}
.card-char img { width: 100%; height: auto; display: block; }
.card-content { position: relative; z-index: 20; width: 100%; }
.card-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 10px;
  display: inline-block;
  color: #fff;
}
.card-text {
  font-size: 13px;
  text-align: left;
  line-height: 1.6;
  margin: 0;
  color: #fff;
}
.service-pagination .swiper-pagination-bullet-active {
  background-color: var(--main-color);
}

/* --- LOGO & PRIVACY POLICY --- */
.logo-about-section {
  max-width: 1000px;
  margin: 80px auto 60px;
  padding: 0 20px;
}
.logo-about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
}
.logo-about-left { flex: 1; }
.logo-about-right {
  flex: 1;
  display: flex;
  justify-content: center;
}
.logo-about-right img {
  max-width: 300px;
  height: auto;
  display: block;
}
.privacy-btn-wrap { text-align: center; }
.privacy-btn {
  display: inline-block;
  border: 2px solid #333;
  border-radius: 50px;
  padding: 15px 100px;
  font-size: 18px;
  color: #333;
  background-color: #fff;
  transition: all 0.3s ease;
}
.privacy-btn:hover { background-color: #333; color: #fff; }

/* ==============================================
   7. Fixed Pages Base (下層ページ共通)
============================================== */
.page-hero { padding: 56px 0 24px; }
.page-hero .inner { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.page-eyebrow { font-size: 14px; margin: 0 0 8px; }
.page-title { font-size: 32px; margin: 0 0 12px; }
.note { font-size: 14px; line-height: 1.8; opacity: .85; }

.page .inner { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.prose h2 { margin-top: 28px; font-size: 20px; }
.prose p, .prose li { line-height: 1.9; }

/* ==============================================
   8. Lower Pages Styles
============================================== */

/* --- Service Detail --- */
.service-detail { padding: 24px 0 56px; }
.service-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #eee;
  margin: 0 0 22px;
}
.service-card__media img { width: 100%; height: auto; display: block; }
.service-card h2 { margin: 0 0 8px; font-size: 22px; }
.service-card .lead { margin: 0 0 14px; }
.service-card h3 { margin: 16px 0 8px; font-size: 16px; }
.service-card ul { margin: 0; padding-left: 18px; }

.service-card.is-pink { border-color: rgba(255, 160, 180, .35); }
.service-card.is-yellow { border-color: rgba(255, 200, 80, .45); }
.service-card.is-purple { border-color: rgba(170, 160, 230, .45); }

/* --- Service Page (Decorative) --- */
.service-page .service-detail { padding: 12px 0 56px; }
.svc-box { margin: 0 0 28px; }
.svc-box__grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: start;
}
.svc-box__chara { margin: 0; display: flex; justify-content: center; }
.svc-box__chara img { width: 160px; height: auto; display: block; }
.svc-box__card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 22px;
  padding: 18px 18px 16px;
  position: relative;
}
.svc-box__cap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
  margin: -34px auto 10px;
}
.svc-box__lead { text-align: center; margin: 0 0 14px; line-height: 1.9; }
.svc-box__divider { height: 10px; border-radius: 999px; opacity: .35; margin: 12px 0 14px; }
.svc-box__h {
  font-size: 15px;
  margin: 16px 0 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.svc-box__h::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: rotate(45deg);
  opacity: .9;
}
.svc-box__list { margin: 0; padding-left: 18px; line-height: 1.9; }
.svc-box__text { margin: 0; line-height: 1.9; }
.svc-box__note { margin: 8px 0 0; font-size: 13px; opacity: .8; }
.svc-cta { margin-top: 26px; text-align: center; }

/* Service Color Themes */
.svc-pink .svc-box__card { border-color: rgba(255,160,180,.55); }
.svc-pink .svc-box__cap { background: rgba(255,160,180,.55); }
.svc-pink .svc-box__divider { background: rgba(255,160,180,.6); }
.svc-pink .svc-box__h::before { background: rgba(255,160,180,.9); }

.svc-yellow .svc-box__card { border-color: rgba(255,200,80,.60); }
.svc-yellow .svc-box__cap { background: rgba(255,200,80,.70); }
.svc-yellow .svc-box__divider { background: rgba(255,200,80,.75); }
.svc-yellow .svc-box__h::before { background: rgba(255,200,80,.95); }

.svc-purple .svc-box__card { border-color: rgba(170,160,230,.60); }
.svc-purple .svc-box__cap { background: rgba(170,160,230,.65); color: #fff; }
.svc-purple .svc-box__divider { background: rgba(170,160,230,.70); }
.svc-purple .svc-box__h::before { background: rgba(170,160,230,.95); }

/* --- Company --- */
.company { padding: 24px 0 56px; }
.company-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; }
.company-block { margin: 0 0 28px; }
.company-block h2 { margin: 0; font-size: 26px; }
.jp-sub { margin: 6px 0 12px; font-size: 13px; opacity: .7; }
.company-dl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.company-dl dt { font-weight: 700; }
.company-history { margin: 0; padding-left: 0; list-style: none; }
.company-history li { padding: 10px 0; border-bottom: 1px solid #eee; }
.company-history span { display: inline-block; min-width: 140px; font-weight: 700; }

.map-box { position: sticky; top: 24px; }
.map-embed iframe { width: 100%; border-radius: 16px; }
.map-placeholder {
  display: grid;
  place-items: center;
  height: 220px;
  background: #bbb;
  color: #000;
  font-weight: 900;
  letter-spacing: .08em;
}
.company-images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
.company-images .ph,
.company-images .ph-lg {
  display: grid;
  place-items: center;
  margin-top: 12px;
  border-radius: 10px;
  padding: 0;
  background: none;
  color: #fff;
}
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* --- Recruit --- */
.recruit { padding: 24px 0 56px; }
.recruit-block { margin: 0 0 28px; }
.recruit-dl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.benefits { border: 1px solid #eee; border-radius: 14px; padding: 16px; background: #fff; }
.apply-box, .message-box { border: 1px solid #eee; border-radius: 14px; padding: 16px; background: #fff; }

/* --- Contact --- */
.contact { padding: 24px 0 56px; }
.contact-form { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 16px; }
.contact-links { margin-top: 16px; }

/* ==============================================
   9. Media Queries (レスポンシブ対応)
============================================== */

/* --- PC専用（メニュー固定・hoverなど） --- */
@media screen and (min-width: 769px) {
  .menu-overlay { display: none !important; }
  .header-nav { position: static; transform: none; }
  .service-swiper .swiper-slide.is-hover {
    opacity: 1 !important;
    transform: scale(1.03) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  }
  .service-pagination { display: none !important; }
}

/* --- タブレット・SP (980px以下) --- */
@media screen and (max-width: 980px) {
  /* Company / Recruit Layout */
  .company-grid { display: flex; flex-direction: column; }
  .company-left { order: 1; }
  .company-right { order: 2; margin-top: 24px; }
  .map-box { position: static; }
  .benefits-grid { grid-template-columns: 1fr; }
}

/* --- タブレット・SP (900px以下) --- */
@media screen and (max-width: 900px) {
  /* Service Page Decorative */
  .svc-box__grid { grid-template-columns: 1fr; }
  .svc-box__chara { justify-content: center; }
  .svc-box__chara img { width: 140px; }
  .svc-box__cap { margin-top: -28px; }
}

/* --- SP (768px以下) --- */
@media screen and (max-width: 768px) {
  /* Header */
  .header-inner { flex-direction: row; align-items: center; gap: 12px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 320px);
    background: #fff;
    border-left: 1px solid #eee;
    padding: 80px 20px 20px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 10001;
    overflow-y: auto;
  }
  .global-menu { display: grid; gap: 14px; }
  .global-menu li a { display: block; padding: 10px 6px; font-size: 16px; }
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 10000;
  }
  body.menu-open .header-nav { transform: translateX(0); }

  /* Sections */
  .news-section,
  .about-content,
  .logo-about-content { flex-direction: column; gap: 30px; }
  .news-right { padding-top: 0; }
  .privacy-btn { padding: 15px 50px; width: 100%; box-sizing: border-box; }

  /* Service Cards (Top Page) */
  .service-section { margin: 40px 0; }
  .service-swiper .card-item {
    width: 300px;
    padding: 25px 15px 25px 100px;
    min-height: 200px;
  }
  .card-char { left: -10px; width: 110px; bottom: 0; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; gap: 20px; }

  /* Service Card (Lower Page) */
  .service-card { grid-template-columns: 1fr; }
}