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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(90deg, rgba(141, 139, 226, 0.26), rgba(253, 187, 203, 0.26));
  color: #333;
  line-height: 1.6;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* 共通セクション */
.section {
  width: 100%;
  padding: 80px 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 見出し */
.section-title {
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.35;
}

.section-title .en {
  display: block;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.section-title .jp {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

/* タイトルアニメ */
.animate-title {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.animate-title.show {
  opacity: 1;
  transform: translateY(0);
}

/* 小さい画面用 */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    margin-bottom: 32px;
  }
  .section-title .en {
    font-size: 1.8rem;
  }
  .section-title .jp {
    font-size: 1rem;
  }
}

/* ======================================================
   Header & Hamburger
====================================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 16px;
  z-index: 2000;
}

.header-inner {
  width: 100%;
  max-width: 1600px; /* ← 広めにとる（中央寄りすぎ防止） */
  margin: 0 auto;
  padding: 0 48px;   /* ← PC用の外側余白 */
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo img {
  height: 30px;
}

.hamburger {
  /* ハンバーガーボタンだけ固定 */
  position: fixed;
  top: 20px;      /* 調整OK */
  right: 20px;    /* 調整OK */
  z-index: 9999;  /* 最前面 */

  border: none;
  background: transparent;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: #000;
}

/* フルスクリーンメニュー */
.sp-menu {
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;
  padding: 72px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
  z-index: 2500;
}

.sp-menu.open {
  transform: translateX(0);
}

.sp-menu-header {
  display: flex;
  justify-content: flex-end;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.sp-menu-list {
  text-align: center;
  margin-top: 24px;
}

.sp-menu-list li {
  margin-bottom: 24px;
}

.sp-menu-list a {
  font-size: 1.3rem;
}

/* ======================================================
   Hero
====================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("../images/home-hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: stretch;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 16px 40px;
  display: flex;
  align-items: flex-start;
}

.hero-content {
  max-width: 700px;
  color: #fff;

  opacity: 0;
  transform: translateY(-32px);
  animation: heroFadeDown 1.1s ease-out forwards 0.3s;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.9;
}

@keyframes heroFadeDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header-inner {
      max-width: 100%;  /* ← 画面いっぱいに */
      padding: 0 20px;  /* ← スマホ特有の余白 */
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.4;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
}

/* ======================================================
   MESSAGE
====================================================== */
.message-section {
  position: relative;
  background: #fff;
}

.message-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: #fff;
  z-index: 0;
}

.message-body {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.message-images {
  flex: 1 1 320px;
  max-width: 520px;
  position: relative;
  min-width: 0;
}

.message-img-main-wrap {
  border-radius: 14px;
  overflow: hidden;
}

.img-main {
  width: 100%;
  display: block;
}

.message-img-sub-wrap {
  position: absolute;
  right: 4%;
  bottom: -14%;
  width: 60%;
  max-width: 260px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.img-sub {
  width: 100%;
  display: block;
}
.marker {
    background: linear-gradient(transparent 75%, #e5d9ff 75%);
    padding: 2px 4px;

    font-size: 1.5rem;     /* ← 文字を大きく */
    font-weight: 800;      /* ← 太字（より強調） */
    line-height: 1.8;      /* ← 行間調整（自然に見せる） */
}

.message-text {
  flex: 1 1 320px;
  min-width: 0;
}

.message-text p {
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .message-body {
    flex-direction: column;
  }
  .message-img-sub-wrap {
    right: 6%;
    bottom: -15%;
    max-width: 260px;
  }
}
.message-text p {
  font-size: 0.75rem;
  line-height: 1.9;
  margin-bottom: 16px;
}
.marker {
    font-size: 1.2rem;     /* ← 文字を大きく */
}
@media (max-width: 600px) {
  .message-img-sub-wrap {
    position: absolute;   /* ← static を absolute に戻す */
    right: 6%;
    bottom: 5%;         /* ← SP 用に少し調整 */
    width: 60%;
    max-width: 320px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
}

/* ======================================================
   Our Reasons（Swiper）
====================================================== */
.reasons-section {
  background: transparent;
}

.reasons-swiper {
  padding: 16px 8px 40px;
}

.reason-card {
  background: #F4F0FA;
  border-radius: 20px;
  padding: 24px;
  border: 2px solid #C9B8E8;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.reason-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.reason-card p {
  font-size: 0.92rem;
  line-height: 1.8;
}

.reason-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* 番号 */
.tag {
  width: 50px;
  height: 50px;
  background: #EDE7F8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A80D6;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  border: 1.5px solid #C9B8E8;
}

/* スライドアニメ */
.reasons-swiper .swiper-slide {
  transition: transform 0.45s ease, opacity 0.45s ease;
  opacity: 0.7;
  transform: scale(0.92);
}

.reasons-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
}

.reasons-swiper .swiper-button-next,
.reasons-swiper .swiper-button-prev {
  color: #9A80D6;
}

@media (max-width: 768px) {
  .reasons-swiper {
    padding-inline: 0;
  }
}

/* ======================================================
   Life Stage Timeline
====================================================== */
.lifestage-section {
  background: transparent;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  width: 100%;
  margin-bottom: 60px;
}

.timeline-content {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.timeline-label {
  display: inline-block;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  margin-bottom: 14px;
}

.img-frame {
  width: 220px;
  height: 220px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-text {
  font-size: 0.95rem;
}

/* フェードアニメ */
.fade-timeline {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-timeline.show {
  opacity: 1;
  transform: translateY(0);
}

/* PCレイアウト：3列 */
@media (min-width: 900px) {
  .timeline {
    display: flex;
    justify-content: space-between;
    gap: 24px;
  }

  .timeline-item {
    margin-bottom: 0;
  }
}

/* ======================================================
   Supportive（POINT）
====================================================== */
.support-section {
  padding-bottom: 90px;
}

.support-section .section-inner {
  max-width: 1100px;
}

.point-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.point-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.point-num {
  min-width: 110px;
  padding: 10px 6px;
  background: #e7d6ff;
  border-radius: 14px;
  text-align: center;
  margin-right: 18px;
}

.point-num .label {
  font-size: 0.75rem;
  font-weight: 600;
}

.point-num .num {
  font-size: 1.4rem;
  font-weight: bold;
}

.point-text {
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .point-item {
    padding: 14px;
  }
  .point-num {
    min-width: 80px;
  }
  .point-text {
    font-size: 0.9rem;
  }
}

/* ======================================================
   Work Style + Voice
====================================================== */
.workstyle-voice-section {
  position: relative;
  background: #ffffff;
}

.workstyle-inner {
  position: relative;
}

.workstyle-image {
  position: absolute;
  top: -150px;
  right: 24px;
  z-index: 1;
}

.workstyle-image img {
  width: 360px;
  max-width: 40vw;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* テーブル */
.workstyle-table-wrap {
  margin-top: 48px;
}

.workstyle-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  background: #fff;
}

.workstyle-table thead th {
  background: #e5d9ff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px;
}

.workstyle-table tbody th {
  background: #f7f3ff;
  width: 20%;
  padding: 16px 12px;
  text-align: center;
  font-size: 0.92rem;
}

.workstyle-table td {
  padding: 16px 12px;
  text-align: center;
  font-size: 0.92rem;
}

.workstyle-table tr {
  border-bottom: 1px solid #eee;
}

.workstyle-table tr:last-child {
  border-bottom: none;
}

/* Voice */
.voice-wrap {
  margin-top: 72px;
}

.voice-card {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #d4c3f7;
  padding: 22px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.voice-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.voice-meta {
  color: #777;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .workstyle-image {
    position: static;
    width: 100%;
  }

  .workstyle-image img {
    display: block;
    margin-left: auto;   /* ← 右寄せの決定版！ */
    margin-right: 0;
    margin-top: -110px;   /* ← 上に上げたい量 */
    width: 320px;
    max-width: 60vw;
  }
}


@media (max-width: 768px) {
  .workstyle-table thead th {
    font-size: 0.9rem;
    padding: 12px;
  }
  .workstyle-table tbody th,
  .workstyle-table td {
    font-size: 0.85rem;
    padding: 10px;
  }
  .voice-card {
    padding: 18px 14px;
  }
}

/* ======================================================
   Q&A
====================================================== */
.qa-section {
  background: transparent;
}

.qa-list {
  max-width: 900px;
  margin: 0 auto;
}

.qa-item {
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  background: #fff;
}

.question {
  width: 100%;
  background: #1b4e8b;
  color: #fff;
  padding: 14px 16px;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  margin-left: 8px;
}

.qa-item.open .question::after {
  content: "−";
}

.answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  padding: 0 16px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.answer p {
  font-size: 0.92rem;
  line-height: 1.8;
  padding: 12px 0 14px;
}

.qa-item.open .answer {
  padding-top: 8px;
}

/* ======================================================
   Recruit Tabs
====================================================== */
.recruit-section {
  background: #fafafa;
}

.recruit-tabs {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 28px 20px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #e8e8e8;
  padding: 10px 32px;
  border-radius: 10px 10px 0 0;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.tab-btn.active {
  background: #333;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.recruit-tabs h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.info-line {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.info-line .label {
  width: 130px;
  font-weight: 700;
  font-size: 0.95rem;
}

.info-line .value {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* 給与テーブル */
.salary-table {
  margin-top: 8px;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.salary-table th,
.salary-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.salary-table th {
  background: #f7f7f7;
}

.salary-table .total th {
  background: #f0eaff;
}
.salary-table .total td {
  background: #f0eaff;
  
}

@media (max-width: 768px) {
  .info-line {
    flex-direction: column;
    gap: 4px;
  }
  .info-line .label {
    width: auto;
  }
}

/* ======================================================
   Contact
====================================================== */
.contact-section {
  background-image: url("../images/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.contact-section .section-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-title {
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-buttons {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.contact-btn {
  width: 100%;
  background: rgba(255,255,255,0.3);
  border: 2px solid #333;
  padding: 18px 16px;
  border-radius: 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  backdrop-filter: blur(3px);
  transition: all .3s ease;
}

.contact-btn img {
  width: 34px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-btn:hover img {
  transform: translateY(-4px) scale(1.05);
  opacity: 0.95;
}

.contact-btn:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.55);
}

@media (max-width: 600px) {
  .contact-section {
    padding: 60px 0;
  }
  .contact-btn {
    font-size: 0.95rem;
  }
}

/* ======================================================
   Shop list
====================================================== */
.shop-section {
  background: transparent;
}

.store-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.store {
  background: #fff;
  padding: 18px 16px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.store-img {
  margin: 12px 0;
  border-radius: 10px;
}

.store-name {
  font-size: 1rem;
  font-weight: 700;
}

.store-address {
  font-size: 0.9rem;
  color: #555;
}

@media (max-width: 768px) {
  .store-list {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   Company
====================================================== */
.company-section {
  background: #fafafa;
}

.company-info-inner {
  max-width: 900px;
}

.info-item {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.info-label {
  width: 120px;
  font-weight: 700;
  font-size: 0.95rem;
}

.info-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.7;
}

.map-link {
  color: #0077cc;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .info-item {
    flex-direction: column;
    gap: 4px;
  }
  .info-label {
    width: auto;
  }
}

/* ============================
   Footer
============================ */
.footer {
  padding: 40px 0 30px;
  text-align: center;
  background: linear-gradient(90deg, rgba(141, 139, 226, 0.26), rgba(253, 187, 203, 0.26));   /* 必要なら変更してね */
}

.footer-logo img {
  width: 140px;          /* サイズは自由に変更 OK */
  margin: 0 auto 12px;   /* 下に */
}
/* ============================
   ピル型問い合わせボタン（固定表示）
============================ */
.contact-pill-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 3000;

  display: inline-block;
  padding: 16px 48px;

  background: #f28bc1;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;

  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);

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

/* ホバー */
.contact-pill-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

/* Contact が見えたときに隠す */
.contact-pill-btn.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

/* --- スマホサイズ --- */
@media (max-width: 768px) {
  .contact-pill-btn {
    padding: 12px 32px;
    font-size: 16px;
    bottom: 18px;
    right: 14px;
  }
}

/* --- さらに小さいスマホ --- */
@media (max-width: 480px) {
  .contact-pill-btn {
    padding: 10px 28px;
    font-size: 15px;
    bottom: 14px;
    right: 10px;
  }
}
/* ======================================================
   共通：画像フェードアップアニメーション
====================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}