/* =========================
   共通
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #ffffff;
  padding-top: 64px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, 'Helvetica Neue', Arial,
               'Noto Sans JP', sans-serif;
}

html.is-drawer-open,
body.is-drawer-open {
  overflow: hidden;
  height: 100%;
}

body.no-scroll {
  overflow: hidden;
}

/* =========================
   ヘッダー
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 1000;
  background: rgba(255, 255, 255, 1);
  transition: all 0.35s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-logo img {
  height: 32px;
  display: block;
}

.header-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a {
  font-size: 14px;
  color: #2C3E50;
  text-decoration: none;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.lang-icon { width: 18px; }
.lang-arrow { width: 10px; }

.btn-header {
  background-color: #D8814A;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.btn-header,
.btn-header:visited {
  color: #fff;
  background-color: #D8814A;
  transition: all .2s ease;
}

.btn-header:hover {
  color: #fff;
  background-color: #d07138;
}

.btn-header:active {
  color: #fff;
  background-color: #c76632;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  width: 12px;
  height: auto;
  vertical-align: middle;
}

.header-nav a:hover {
  color: #5D6D7E;
}

#header-weglot {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

#header-weglot .gt_switcher_wrapper {
  margin: 0;
}

#header-weglot a.gt_switcher-popup {
  font-size: 13px;
  line-height: 36px;
}


/* =========================
   ヘッダー（固定）
========================= */


/* スクロール後 */
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(200, 220, 255, 0.35);
  box-shadow: 0 6px 20px rgba(40, 80, 140, 0.12);

  border-bottom: none;
}

/* ====== メガメニュー ====== */
.mega-menu {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100vw;
  background: #F4F4F4;
  padding: 30px 0 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;

  z-index: 1000;
}

.nav-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 初期状態：閉じる */
.nav-dropdown.mega .mega-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .25s ease;
}

/* 開いた状態 */
.nav-dropdown.mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}


/* 機能一覧リンク */
.header-nav .mega-all-link {
  font-size: 18px !important;
  font-weight: 700;
  color: #2C3E50 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  margin-bottom: 12px;
  display: inline-block;
}

.header-nav .mega-all-link:hover {
  color: #2C3E50;
  opacity: 0.85;
}

#admin1,
#admin2,
#admin3,
#admin4,
#admin5,
#admin6,
#admin7,
#user1,
#user2,
#user3,
#user4,
#user5,
#user6,
#user7,
#user8 {
  scroll-margin-top: 120px;
}

/* グループ */
.mega-group {
  margin-top: 14px;
}

/* 見出し */
.mega-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.mega-title.admin { color: #49AB4D; }
.mega-title.staff { color: #2F92C8; }

/* グリッド */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.mega-grid.blue .mega-card {
  border-color: #D7E9FF;
}

/* カード */
.mega-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #DFF2E5;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
}

.mega-grid a{
  font-weight: 500;
}

.mega-grid.green .mega-card {
  color: #49AB4D;
}

.mega-grid.blue .mega-card {
  color: #2F92C8;
}

.mega-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.mega-grid.green .mega-card {
  color: #35A853;
  box-shadow: 0 0 8px rgba(53, 168, 83, 0.35);
}

.mega-grid.blue .mega-card {
  color: #2F92C8;
  box-shadow: 0 0 8px rgba(47, 146, 200, 0.35);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 40px 0 48px;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  display: none;
  z-index: 1000;
}

/* =========================
   メインビジュアル
========================= */
.mv {
  margin-top: 8px;
  padding: 0 24px;
}

/* 背景 */
.mv-bg {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 280px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #eef4fd 35%,
    #7aa9e6 70%,
    #2F74C8 100%
  );
  border-radius: 0 0 28px 28px;
  position: relative;
  overflow: hidden;
}

/* 中身 */
.mv-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  position: relative;
  z-index: 2;
}

/* キャッチ */
.mv-content {
  max-width: 520px;
}

.mv-badge img {
  height: 58px;
  display: block;
}

.mv-title {
  font-size: 42px;
  line-height: 1.46;
  font-weight: 700;
  color: #2C3E50;
  margin: 14px 0 40px;
}

.mv-title .highlight {
  color: #2F74C8;
}

.mv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 26px;
  background-color: #D8814A;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(216, 129, 74, 0.4);
}

/* モック */
.mv-mockup {
  flex-shrink: 0;
}

.mv-mockup img {
  width: 520px;
  max-width: 100%;
  display: block;
}

/* 下カード */
.mv-cards {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.mv-cards img {
  width: 1200px;
  max-width: 90vw;
  display: block;
}

.mv-btn,
.mv-btn:visited {
  color: #fff;
  background-color: #D8814A;
  transition: all .2s ease;
}

.mv-btn:hover {
  color: #fff;
  background-color: #d07138;
}

.mv-btn:active {
  color: #fff;
  background-color: #c76632;
}

/* =========================
   E-Clockアプリとは？（土台）
========================= */
.about-feature {
  padding: 50px 24px;
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: #E6EEF8;
  border-radius: 28px;
  padding: 48px 64px 440px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* 背景イラスト */
.about-illust {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.about-illust img {
  width: 100%;
  max-width: 1100px;
  margin: 220px auto 0;
  display: block;
}

/* E-Clockアプリとは？ 見出し */
.about-header {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  z-index: 2;
}

.about-header .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #2F74C8;
  margin-bottom: 38px;
}

.about-header .about-catch {
  font-size: 26px;
  font-weight: 700;
  color: #2C3E50;
  line-height: 1.6;
}

/* About / 説明文 */
.about-text {
  max-width: 800px;
  margin: 0 auto;
  color: #3A4A5E;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  z-index: 2;
}

.about-text p {
  margin: 0 0 24px;
}

.about-header,
.about-text {
  position: relative;
  z-index: 2;
}


/* 特徴 */
.features {
  margin-top: -390px;
  display: flex;
  gap: 42px;
  justify-content: center;
  align-items: stretch;
  position: relative;
  z-index: 3;
}

.feature-item {
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 30px;

  width: 100%;
  max-width: 340px;

  display: flex;
  flex-direction: column;

  box-shadow: 0 0 20px rgba(90, 160, 255, 0.35);
}

.feature-label {
  font-size: 28px;
  font-weight: 600;
  color: #D8814A;
  margin-top: -8px;
  margin-bottom: 0;
}

.feature-number {
  font-size: 44px;
  margin-left: 2px;
  position: relative;
  top: 1px;
}

.feature-icon {
  margin: 16px auto 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 200px;
  height: auto;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 28px;
  text-align: center;
}

.feature-body {
  flex-grow: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: #4E5D6C;
}

.feature-body p {
  margin: 0 0 14px;
}

.feature-body {
  margin-top: auto;
}

/* =========================
    課題提示（タブ）
========================= */
.issues {
  padding: 30px 24px;
}

.issues .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #2F74C8;
  margin-bottom: 38px;
  text-align: center;
}

/* tabs（親：並び担当） */
.issue-tabs {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin: 60px auto 48px;
  flex-wrap: wrap;
  max-width: 1200px;
}

/* tab（子：button本体） */
.issue-tab {
  position: relative;
  width: 240px;
  padding: 12px 10px;
  background: #fff;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border: 1.4px solid transparent;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* ラベル */
.issue-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 2px;
}

/* 色（非active） */
.issue-tab.blue {
  color: #2F74C8;
  border-color: #2F74C8;
  box-shadow: 0 0 18px rgba(47, 116, 201, 0.35);
}

.issue-tab.orange {
  color: #D8814A;
  border-color: #D8814A;
  box-shadow: 0 0 18px rgba(216, 129, 74, 0.35);
}

.issue-tab.green {
  color: #2B8C8D;
  border-color: #2B8C8D;
  box-shadow: 0 0 18px rgba(76, 175, 143, 0.35);
}

.issue-tab.red {
  color: #C45A5A;
  border-color: #C45A5A;
  box-shadow: 0 0 18px rgba(229, 115, 115, 0.35);
}

/* active共通 */
.issue-tab.active {
  color: #fff;
}

/* active背景 */
.issue-tab.blue.active   { background: #2F74C8; }
.issue-tab.orange.active { background: #D8814A; }
.issue-tab.green.active  { background: #2B8C8D; }
.issue-tab.red.active    { background: #C45A5A; }

/* active下の三角 */
.issue-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 40px 36px 0;
}

.issue-tab.blue.active::after   { border-color: #2F74C8 transparent transparent; }
.issue-tab.orange.active::after { border-color: #D8814A transparent transparent; }
.issue-tab.green.active::after  { border-color: #2B8C8D transparent transparent; }
.issue-tab.red.active::after    { border-color: #C45A5A transparent transparent; }

/* 中身 */
.issue-contents {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* 非表示状態 */
.issue-content{
  width: 100%;
  top: 0;
  left: 0;
  padding: 0;
  border-radius: 24px;

  /* 表示・配置 */
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateY(6px);

  /* アニメーション */
   transition: opacity 0.15s ease, transform 0.15s ease;
   transform: translateY(0);
}

/* 表示状態 */
.issue-content.active{
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateY(0);
}


.issue-content.blue   { background: #E6EEF8; }
.issue-content.orange { background: #F9EEE6; }
.issue-content.green  { background: #EAF6F1; }
.issue-content.red    { background: #FCEAEA; }

.issue-content p {
  margin: 0 0 12px;
  font-size: 16px;
  color: #3A4A5E;
}

/* 結果ボックス */
.issue-result {
  margin-top: 32px;
  padding: 28px;
  border-radius: 18px;
  text-align: center;
}

.issue-result p {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.issue-result.blue   { background: #2F74C8; }
.issue-result.orange { background: #D8814A; }
.issue-result.green  { background: #2B8C8D; }
.issue-result.red    { background: #C45A5A; }

.issue-box {
  border-radius: 20px;
  padding: 28px 32px;
  width: 100%;
}

.issue-box.blue   { background: #E6EEF8; }
.issue-box.orange { background: #F9EEE6; }
.issue-box.green  { background: #EAF6F1; }
.issue-box.red    { background: #FCEAEA; }

.issue-layout {
  display: flex;
  align-items: center;
  gap: 28px;
}

.issue-illust img {
  width: 120px;
  height: auto;
}

.issue-problem p:first-child {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.issue-problem p {
  margin: 0 0 6px;
  font-size: 15px;
  color: #3A4A5E;
}

.issue-arrow {
  display: flex;
  justify-content: center;
  margin: 18px 0;
}

.issue-arrow img {
  width: 140px;
  height: auto;
}

.issue-result {
  border-radius: 20px;
  padding: 28px 32px;
  text-align: center;
}

.issue-result-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.issue-result-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.issues-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 上カード */
.issue-main-card{
  border-radius:20px;
  padding:28px 36px;
  width:100%;
  box-sizing:border-box;
  max-width: 1062px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  margin: 0 auto;
}

.issue-main-card.blue   { background:#E6EEF8; }
.issue-main-card.orange { background:#F9EEE6; }
.issue-main-card.green  { background:#EAF6F1; }
.issue-main-card.red    { background:#FCEAEA; }

.issue-main-inner{
  display:flex;
  align-items:center;
  justify-content: center;
  gap:42px;
}

.issue-main-illust img{
  width:200px;
  height:auto;
  display:block;
}



.issue-main-text .title{
  font-size:30px;
  font-weight:700;
  margin-bottom:26px;
  color:#2F74C8;
  max-width: 700px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.issue-main-text ul{
  margin:0;
  padding-left:20px;
}

.issue-main-text li{
  font-size:18px;
  font-weight: 500;
  line-height:1.4;
  color:#3A4A5E;
  margin-bottom:6px;
}

/* 矢印（画像） */
.issue-flow-arrow{
  width:100%;
  text-align:center;
  margin:-10px 0 -18px;
}

.issue-flow-arrow img{
  width:280px;
  max-width:80%;
  height:auto;
  display:inline-block;
}

/* 下カード */
.issue-solution-card{
  border-radius:20px;
  padding:48px 24px 40px;
  text-align:center;
  width:100%;
  box-sizing:border-box;
  max-width: 700px;
  margin: 0 auto;
}

.issue-solution-card.blue   { background:#2F74C8; }
.issue-solution-card.orange { background:#D8814A; }
.issue-solution-card.green  { background:#2B8C8D; }
.issue-solution-card.red    { background:#C45A5A; }

.issue-solution-card .solution-title{
  font-size:36px;
  font-weight:700;
  color:#fff;
  margin-bottom:20px;
}

.issue-solution-card .solution-text{
  font-size:20px;
  font-weight: 500;
  line-height:1.7;
  color:#fff;
  opacity: 0.88;
}

/* =========================
    導入効果
========================= */
.introduction-effect{
  position: relative;
  background: #e9ebef;
  padding: 14px 20px 84px;
  overflow: hidden;
  margin-top: 44px;
}

.introduction-effect::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 260px;
  background: #fff;
  clip-path: polygon(
  0 0,
  100% 0,
  100% 35%,
  50% 100%,
  0 35%
  );
  z-index: 0;
}

.message{
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 70px;
}

.line{
  font-size: 28px;
  color: #2C3E50;
  margin: 0;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.emphasis{
  font-size: 44px;
  font-weight: 700;
  color: #2C3E50;
  background: #E6EEF8;
  padding: 4px 6px;
  margin: 0 4px;
  border-radius: 4px;
  display: inline-block;
}

.cards{
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 60px;
}

.card{
  color: #fff;
  padding: 40px 50px 40px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.20);
}

.card-title{
  font-size: 34px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  margin-bottom: 20px;
}

.card-text{
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  margin: 0;
  opacity: 0.86;
}

.card.blue{
  background: #2F74C8;
}

.card.orange{
  background: #D8814A;
}

.card.green{
  background: #2B8C8D;
}

.card.red{
  background: #C45A5A;
}

/* =========================
    中間CTA
========================= */
.cta-section {
  padding: 60px 40px 0px;
  background: #F3D8C7;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  min-height: 360px;
  gap: 40px;
}


/* 左側 */
.cta-content{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px;
  margin-top: 60px;
  margin-right: auto;
  margin-left: -20px;
}

.cta-label{
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  z-index: 2;
}

.cta-text {
  color: #2C3E50;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 38px;
  text-align: center;
  max-width: 700px;
}

.cta-btn,
.cta-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 28px;
  background: linear-gradient(135deg, #E08B55, #D17238) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 6px 18px rgba(216,129,74,.35);
}


.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(216,129,74,.45);
}


/* 右側 */
.cta-visual{
  display: flex;
  align-items: flex-end;
  margin-left: auto;
  margin-right: -20px;
}


.cta-visual img{
  display: block;
  max-height: 360px;
  width: auto;
}

/* =========================
   便利な機能
========================= */
.convenience {
  padding-top: 90px;
}

.convenience .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #2F74C8;
  text-align: center;
}

.convenience-list{
  margin-top: 150px;
}

.convenience-item {
  position: relative;
  margin-bottom: 160px; /* はみ出し分の逃げ */
}

/* 水色の帯 */
.convenience-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 64px;
  background: #E6F2FA;
  border-radius: 28px;
  padding: 40px 64px 0;
  max-width: 960px;
  margin: 0 auto;
  min-height: 360px;
}

/* 左右反転 */
.convenience-item.reverse .convenience-box {
  flex-direction: row-reverse;
}

/* スマホ画像 */
.convenience-image {
  position: absolute;
  bottom: 0;
  left: 64px;
  margin-top: -96px;
}


.convenience-item.reverse .convenience-image {
  left: auto;
  right: 64px;
}

.convenience-image img {
  width: 260px;
  display: block;
  margin: 0;
  transform: none;
}

/* テキスト */
.convenience-content {
  margin-left: 300px;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  max-width: 720px;
}

.convenience-item.reverse .convenience-content {
  margin-left: 0;
  margin-right: 300px;
}

.convenience-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2C3E50;
}

.convenience-text {
  line-height: 1.8;
  color: #6B757F;
  font-weight: 500;
  font-size: 16px;
}

/* =========================
   アプリ機能一覧
========================= */
.app-functions {
  padding: 0px 24px 40px;
  text-align: center;
}

.app-functions-lead {
  font-size: 32px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 48px;
}

/* キャッチコピー以外の背景 */
.app-functions-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 48px 64px;
  background: #F4F4F4;
  border-radius: 28px;
}

/* グループ */
.function-group {
  margin-bottom: 72px;
}

.function-group-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}

.function-group-title.green { color: #49AB4D; }
.function-group-title.blue  { color: #2F92C8; }

/* グリッド */
.function-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.function-divider {
 max-width: 960px;
  height: 1.6px;
  margin: 56px auto 40px;
  background-color: #CDCDCD;
}

/* ボタン */
.function-btn {
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}


/* 色別 */
.function-btn.green {
  color: #49AB4D;
  box-shadow: 0 0 12px rgba(90, 174, 122, 0.55);
}

.function-btn.blue {
  color: #2F92C8;
  box-shadow: 0 0 12px rgba(91, 155, 213, 0.55);
}

/* hover */
.function-btn:hover {
  transform: translateY(-4px);
  background: #f8f9fb;
}

/* 下のボタン */
.function-more {
  margin-top: 40px;
}

.function-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 36px;
  background-color: #2C3E50;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(12, 28, 64, 0.35);
  transition: all .25s ease;
}

.function-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(47,116,201,.5);
  filter: brightness(1.05);
  color: #fff !important;
}


/* =========================
   AIに質問
========================= */
.ai-question{
  background-color: #E6EEF8;
  padding: 30px 0;
  margin-top: 40px;
}

.ai-title {
  font-size: 32px;
  font-weight: 600;
  color: #2C3E50;
  text-align: center;
  margin-bottom: 30px;
}

.ai-text{
  font-size: 16px;
  text-align: center;
  color: #6B757F;
  font-weight: 500;
}

#ai {
  scroll-margin-top: 70px;
}

/* =========================
   お問い合わせ
========================= */
.contact-form {
  padding: 40px 24px 80px;
  text-align: center;
  background: #F4F4F4;
}

.contact-title {
  font-size: 32px;
  font-weight: 700;
  color: #D8814A;
  margin-bottom: 30px;
}

.contact-lead {
  font-size: 18px;
  line-height: 1.8;
  color: #6B757F;
  margin-bottom: 30px;
  font-weight: 500;
}

#contact {
  scroll-margin-top: 70px;
}

/* フォーム枠 */
.contact-box {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  border: 2px solid #D8814A;
}

/* 各入力 */
.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2C3E50;
}

.required {
  color: #DB263F;
  font-size: 12px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #DDD;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

/* プライバシー */
.privacy-text {
  font-size: 14px;
  color: #2C3E50;
  margin: 24px 0 12px;
  font-weight: 500;
}

.privacy-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 500;
  color: #2C3E50;
}

/* 送信ボタン */
.contact-submit {
  background: #D8814A;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.contact-submit:hover {
  opacity: 0.9;
}

/* Contact Form 7 送信ボタンのズレ修正 */
.wpcf7 p:has(.contact-submit) {
  text-align: center;
  margin: 0;
}


/* =========================
   フッター
========================= */
.footer {
  background: #4A4A4A;
  padding: 40px 34px 20px;
  color: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 上段 */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 36px;
  display: block;
}

/* ナビ */
.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.footer-nav a:hover {
  opacity: 0.8;
}

/* 区切り線 */
.footer-divider {
  height: 1px;
  background-color: #636363;
  margin: 24px 0 16px;
}

/* 下段 */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.7;
  margin: 0;
}

.footer .privacy-link {
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  text-decoration: underline;
  opacity: 0.8;
}

.footer .privacy-link:hover {
  text-decoration: underline;
  opacity: 1;
}


/* ==================================================
   機能ページ（管理者・従業員）
================================================== */

.app-feature {
  padding: 40px 24px 40px;
}

.app-feature-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 72px;
}

/* ブロック背景 */
.feature-section {
  background: #F7F7F7;
  padding: 64px 56px 88px;
  margin-bottom: 96px;
}

.feature-section.admin {
  border-top: 1.6px solid #49AB4D;
  border-bottom: 1.6px solid #49AB4D;
}

.feature-section.employee {
  border-top: 1.6px solid #2F92C8;
  border-bottom: 1.6px solid #2F92C8;
}

.feature-section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.feature-section-title.green { color: #49AB4D; }
.feature-section-title.blue  { color: #2F92C8; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(420px, 1fr));
  gap: 80px 40px;
  justify-content: center;
}

.feature-card {
  width: 100%;
  padding: 36px 32px;   /* ← デスクトップ用に広げる */
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* 左右交互の背景色 */

/* 管理者カード：白と緑 */
.feature-section.admin .feature-card:nth-child(4n+1),
.feature-section.admin .feature-card:nth-child(4n+4) {
  background: #ffffff; /* 白 */
}

.feature-section.admin .feature-card:nth-child(4n+2),
.feature-section.admin .feature-card:nth-child(4n+3) {
  background: #EAF6F1; /* 緑 */
}

/* 従業員カード：白と青 */
.feature-section.employee .feature-card:nth-child(4n+1),
.feature-section.employee .feature-card:nth-child(4n+4) {
  background: #ffffff; /* 白 */
}

.feature-section.employee .feature-card:nth-child(4n+2),
.feature-section.employee .feature-card:nth-child(4n+3) {
  background: #E4F1F8; /* 青 */
}


.feature-card h4 {
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 700;
  color: #2C3E50;
  line-height: 1.6;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  color: #6B757F;
  margin-top: 0;
  margin-bottom: 0;
}

/* モック画像 */
.feature-mock {
  display: block;
  width: 220px;
  margin: -60px auto 16px;
}

.feature-mock img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 管理者：先頭文字 緑 */
.feature-section.admin h4::first-letter {
  color: #49AB4D;
  font-weight: 700;
  font-size: 1em;
}

/* 従業員：先頭文字 青 */
.feature-section.employee h4::first-letter {
  color: #2F92C8;
  font-weight: 700;
  font-size: 1;
}

/* ==================================================
   プライバシーポリシーページ
================================================== */
.privacy-policy {
  background-color: #fff;
  padding: 30px 24px 120px;
  color: #2C3E50;
  line-height: 1.8;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
}

/* ページタイトル */
.privacy-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
  padding-bottom: 12px;
  color: #2F74C8;
  margin-top: 10px;
}

/* イントロ文 */
.intro-text {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 32px;
}

/* 章タイトル h3 */
.privacy-container h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
  color: #2F74C8;
}

.privacy-policy p {
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
}

.privacy-policy li {
  font-size: 16px;
  font-weight: 500;
  color: #2C3E50;
  opacity: 0.9;
}

/* 番号付きリストや箇条書き */
.privacy-container ul,
.privacy-container ol {
  margin-left: 20px;
  margin-bottom: 32px;
}

.privacy-container ul li,
.privacy-container ol li {
  margin-bottom: 8px;
}

/* 入れ子リスト */
.privacy-container ul ul,
.privacy-container ol ol {
  margin-left: 20px;
  margin-bottom: 8px;
}

/* お問い合わせ */
.privacy-container p {
  margin-bottom: 16px;
  font-size: 16px;
}

.privacy-container p a {
  color: #2F92C8;
  text-decoration: none;
}

.privacy-container p a:hover {
  text-decoration: underline;
}

/* ==================================================
   レスポンシブ対応
================================================== */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 68px;
    padding: 0 16px;
  }

  .privacy-policy {
    padding: 20px 16px 60px;
  }

  .privacy-container {
    max-width: 100%;
    padding: 0 12px;
  }

  .privacy-title {
    font-size: 28px;
  }

  .intro-text {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .privacy-container h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }

  .privacy-policy p {
    font-size: 16px;
  }

  .privacy-policy li {
    font-size: 14px;
  }

  .privacy-container ul,
  .privacy-container ol {
    margin-left: 16px;
    margin-bottom: 24px;
  }

  .privacy-container ul ul,
  .privacy-container ol ol {
    margin-left: 16px;
    margin-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .privacy-title {
    font-size: 24px;
  }

  .intro-text {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .privacy-container h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 8px;
    padding-bottom: 4px;
  }

  .privacy-policy p {
    font-size: 15px;
  }

  .privacy-policy li {
    font-size: 13px;
  }

  .privacy-container ul,
  .privacy-container ol {
    margin-left: 12px;
    margin-bottom: 16px;
  }

  .privacy-container ul ul,
  .privacy-container ol ol {
    margin-left: 12px;
    margin-bottom: 2px;
  }
}

/* ==================================================
   レスポンシブ（本体）
================================================== */
@media (max-width: 768px) {

  /* 全体 */
  body {
    font-size: 14px;
  }

  section {
    padding: 48px 16px;
  }

  /* ===== ヘッダー ===== */
  .header-inner {
    padding: 10px 12px;
  }

  .header-nav,
  .header-actions {
    display: none;
  }

  .btn-header {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* ===== メインビジュアル ===== */
  .mv {
    padding: 0 12px;
  }

  .mv-bg {
    padding: 28px 20px 180px;
    border-radius: 0 0 18px 18px;
  }

  .mv-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .mv-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .mv-mockup img {
    width: 92%;
    margin: 0 auto;
  }

  .mv-cards img {
    width: 95vw;
  }

  /* ===== About ===== */
  .about-inner {
    padding: 36px 20px 280px;
  }

  .about-header .section-title {
    font-size: 26px;
  }

  .about-header .about-catch {
    font-size: 20px;
  }

  .about-text {
    font-size: 15px;
  }

  .about-illust img {
    margin-top: 140px;
  }

  /* ===== 特徴カード ===== */
  .features {
    flex-direction: column;
    gap: 24px;
    margin-top: -220px;
  }

  .feature-item {
    max-width: 100%;
    padding: 22px 20px;
  }

  .feature-icon img {
    width: 150px;
  }

  /* ===== 課題 ===== */
  .issue-tabs {
    gap: 14px;
    margin: 32px auto 28px;
  }

  .issue-tab {
    width: calc(50% - 8px);
    font-size: 14px;
  }

  .issue-main-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .issue-main-illust img {
    width: 140px;
  }

  .issue-main-text .title {
    font-size: 22px;
  }

  .issue-main-text li {
    font-size: 14px;
  }

/* ===== Contact Form 7 送信ボタン ===== */
.wpcf7 input.wpcf7-submit {
  background: #D8814A;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;

  display: block;
  margin: 0 auto;
}

/* 余計な p の余白を消す */
.contact-box p {
  margin: 0;
}


  /* ===== 導入効果 ===== */
  .cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card {
    padding: 26px 24px;
  }

  .card-title {
    font-size: 24px;
  }

  .card-text {
    font-size: 15px;
  }

  /* ===== CTA ===== */
  .cta-inner {
    flex-direction: column;
    gap: 20px;
    min-height: auto;
  }

  .cta-content {
    margin: 0;
  }

  .cta-label {
    position: static;
    transform: none;
    width: 90%;
    margin-bottom: 12px;
  }

  .cta-visual {
    justify-content: center;
    margin: 0;
  }

  .cta-visual img {
    max-height: 260px;
  }

  /* ===== 便利機能 ===== */
  .convenience-box {
    flex-direction: column;
    padding: 28px 20px;
    min-height: auto;
  }

  .convenience-image {
    position: static;
    margin: 0 auto 12px;
  }

  .convenience-content {
    margin: 0;
    text-align: center;
  }

  .convenience-item.reverse .convenience-box {
    flex-direction: column;
  }

  .convenience-item.reverse .convenience-content {
    margin: 0;
  }

  /* ===== 機能一覧 ===== */
  .function-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .function-btn {
    font-size: 14px;
    min-height: 70px;
  }

}

/* ==================================================
   ドロワー
================================================== */

/* PCで非表示 */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #333;
}

@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
}

/* ドロワー本体 */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  background: #fff;
  transition: transform 0.3s ease;
  transform: translateX(100%);
  z-index: 1200;
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

/* ドロワー閉じるボタン */
.drawer-close {
  position: absolute;
  top: 4px;
  right: 16px;
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #2C3E50;
}

/* ドロワーオーバーレイ */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  z-index: 1100;
}

/* ドロワーリスト全体 */
.drawer-list {
  padding: 20px 15px;  /* ドロワー内側の余白 */
  list-style: none;    /* ・を消す */
  margin: 0;
}

/* ドロワー大項目 */
.drawer-list > li {
  margin-bottom: 12px; /* 下余白 */
}

/* リンク */
.drawer a {
  text-decoration: none;
  color: #2C3E50;
  font-size: 16px;
  font-weight: 500;
  display: block;
  padding: 12px 0;  /* 上下余白 */
}

/* 管理者機能ラベル */
.drawer-label.admin {
  font-size: 16px;
  font-weight: 600;
  color: #49AB4D;
}

/* 従業員機能ラベル */
.drawer-label.staff {
  font-size: 16px;
  font-weight: 600;
  color: #2F92C8;
}


/* サブメニュー */
/* drawer-sub 縦間隔 完全リセット */
.drawer-sub {
  margin: 0;
  padding: 0;
}

.drawer-sub li {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.drawer-sub li a {
  display: flex;
  align-items: center;
  height: 44px !important;   /* ← ここが一番重要 */
  padding: 0 16px !important;
  line-height: 1 !important;
  box-sizing: border-box;
}

.drawer-sub .drawer-label {
  display: block;
  margin: 14px 0 6px !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  font-weight: 700;
}


/* アクティブ時に表示 */
.drawer-accordion.active .drawer-sub {
  display: block;
}

/* プルダウンボタン */
.drawer-toggle {
  display: flex;
  align-items: center;      /* 縦中央 */
  justify-content: space-between; /* 文字と矢印の両端 */
  gap: 10px;                 /* 文字と矢印の間隔 */
  padding: 10px 0;
  border: none;
  background: none;
  cursor: pointer;
  color: #2C3E50;
  font-weight: 500;
}

/* 矢印 */
.drawer-toggle .arrow {
  display: inline-block;
  border: solid #5E6572; /* 矢印色固定 */
  border-width: 0 2px 2px 0;
  width: 6px;
  height: 6px;
  padding: 3px;
  transform: rotate(45deg); /* 右向き */
  transition: transform 0.3s;
}

/* アクティブ時の矢印 */
.drawer-accordion.active .drawer-toggle .arrow {
  transform: translateY(2px) rotate(-135deg); 
}

.drawer-list > li > a,
.drawer-toggle {
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
}

/* 言語切り替え */
.drawer-lang {
  margin-top: 16px;
}

.drawer-lang-btn {
  width: 100%;
  padding: 4px 0 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: none;
}

.drawer-lang-btn img {
  width: 24px;
  height: auto;
}

/* お問い合わせボタン */
.drawer-cta-wrap {
  margin-top: 12px;
}

.drawer-cta-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  text-align: center;
  color: #fff !important;
  background: #D8814A;
  border-radius: 999px;
  font-weight: 600;
}


