/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */


body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
}



.custom-navbar {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 40px;
  position: relative;
}

.mobile-nav {
  position: relative;
}

.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #222222;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 1000;
  transition: right 0.3s ease;
  padding-top: 0;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-nav-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
}

.mobile-nav-close {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
}

.close-line {
  width: 100%;
  height: 3px;
  background-color: #222222;
  position: absolute;
  transition: all 0.3s ease;
}

.close-line:nth-child(1) {
  transform: rotate(45deg);
}

.close-line:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-nav-menu.active {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 20px;
}

.mobile-nav-list li {
  border-bottom: 1px solid #eee;
}

.mobile-nav-link {
  display: block;
  padding: 20px 30px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
  background-color: #f8f9fa;
  color: #000000;
}

.mobile-nav-actions {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.mobile-nav-actions .search-icon {
  width: 24px;
  height: 24px;
}

.mobile-nav-actions .login-btn,
.mobile-nav-actions .contact-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 16px;
}

.logo-section .nav-logo {
  height: 40px;
  width: auto;
}

.nav-subtext {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 350;
  color: #222222;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link-custom {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link-custom:hover {
  color: #000000;
}

.search-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.login-btn {
  background-color: #fff;
  border: 2px solid #C2CBD8;
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  padding: 6px 18px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background-color: #f8f9fa;
}

.contact-btn {
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  padding: 6px 18px;
  border-radius: 4px;
  border: none;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #333;
}

.arrow-icon {
  width: 12px;
  height: 12px;
}








/* -----------------------------------------------------------
   Hero Section Top Page Style (Okurite Concept)
   Based on Image concept
   ----------------------------------------------------------- */

/* -----------------------------------------------------------
   Hero Section Top Page Style (Okurite Concept)
   ----------------------------------------------------------- */

.hero-main {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 800px;
  /* 用意した画像を背景として鮮明に表示 */
  background-image: url(/assets/generated-bb44b7e2795d866e6c73bb485cc113d01c9e56fa3ac6b3c28ea2646be2077c24.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
  font-family: var(--inter), sans-serif;
  z-index: 0;
}

/* ぼかしや透過を一切やめ、画像をそのまま見せる */
.hero-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

/* 1. ヘッダーロゴエリア */
.hero-header {
  margin-bottom: 40px;

  .logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-text {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 163, 255, 0.8);
  }

  .logo-subtext {
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    margin-top: 4px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  }
}

/* 2. テキストエリア */
.hero-main-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 40px;
}

.hero-catch {
  font-size: 56px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.hero-sub-copy {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* 4. コンバージョンエリア（右側に配置） */
.hero-action-area {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  align-items: center;
  margin-top: auto;
  margin-bottom: 65px;
  padding-right: 5%;
}

.btn-glow-blue {
  background: linear-gradient(135deg, #0056b3 0%, #00a3ff 100%);
  color: #ffffff;
  border-radius: 40px;
  padding: 22px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  box-shadow: 0 0 30px rgba(0, 163, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  .btn-text {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
  }

  .btn-subtext {
    font-size: 14px;
    font-weight: 400;
    margin-top: 4px;
  }
}

.btn-glow-blue:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 163, 255, 0.8);
  filter: brightness(1.1);
}

/* 右下のキラキラアイコン */
.hero-bottom-sparkle {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 24px;
  height: 24px;
  background-image: url(/sparkle.png);
  background-size: contain;
  background-repeat: no-repeat;
}
















.hero-main-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 30px 0;
  overflow: hidden;
}

/* ここが透明化の本体部分 */
.hero-main-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0); /* ← 背景だけを淡くする層（透明度調整） */
  z-index: 0; /* テキストの下に配置 */
}

/* sectionの中身を上に重ねる */
.hero-main-section > * {
  position: relative;
  z-index: 1;
}

.hero-main-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04));
  pointer-events: none;
}

.hero-main-left { max-width: 640px; }

.hero-main-top-btn{
  background:#000;
  color:#fff;
  font-family: var(--inter);
  font-size:18px;
  font-weight:700;
  border: none;
  padding:10px 14px;
  border-radius:6px;
  display:inline-block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform-origin:center;
  animation: fadeUp .6s cubic-bezier(.2,.9,.3,1) .1s both;
}

.hero-main-title{
  font-family: var(--noto);
  font-size:50px;
  font-weight:900;
  color:#111;
  line-height:1.05;
  margin:0;
  animation: fadeUp .6s cubic-bezier(.2,.9,.3,1) .25s both;
}

.hero-main-subtitle{
  font-family: var(--noto);
  font-size:32px;
  font-weight:900;
  color:#111;
  margin:0;
  animation: fadeUp .6s cubic-bezier(.2,.9,.3,1) .35s both;
}

.hero-main-badges { margin-top:18px; align-items:center; flex-wrap:wrap; }

.hero-main-badge{
  font-family: var(--inter);
  font-size:14px;
  font-weight:700;
  color:#fff;
  background: linear-gradient(90deg,#0C4AE6 0%,#198CDE 100%);
  border: none;
  padding:10px 16px;
  border-radius:20px;
  box-shadow: 0 8px 20px rgba(25,140,222,0.12);
  display:inline-flex;
  align-items:center;
  gap:8px;
  animation: popIn .6s cubic-bezier(.2,.9,.3,1) .5s both;
}

.hero-main-badge-text{
  font-family:var(--inter);
  font-size:14px;
  font-weight:700;
  color:#2D3748;
  margin:0;
  animation: fadeUp .6s cubic-bezier(.2,.9,.3,1) .55s both;
}

.hero-main-trial {
  font-family: var(--inter);
  font-size: 20px;
  color: #ffffff !important;
  font-weight: bold !important;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(0, 163, 255, 0.6);
}

.hero-main-trial2 {
  font-family: var(--inter);
  font-size: 20px;
  color: #ffffff !important;
  font-weight: bold !important;
  margin: 0;
}

/* 背景：前後の黒と差別化しつつ、高級感を出すダークグラファイト */
.hero-main-right {
  background: linear-gradient(145deg, #1a1c20, #0a0b0d) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* フォーム：透明感のある漆黒 */
.hero-main-form {
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.hero-main-label {
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e0; /* 視認性を上げたシルバーグレー */
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* 必須バッジ：ダサさを排除し、ラインとネオン感でシャープに */
.required-badge {
  display: inline-block;
  padding: 1px 6px;
  color: #00a3ff;
  font-family: var(--inter);
  font-size: 10px;
  font-weight: 800;
  border: 1px solid #00a3ff;
  border-radius: 2px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(0, 163, 255, 0.3);
}

/* 入力項目：ダークインセット */
.hero-main-input {
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 400;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.2s ease;
}

.hero-main-input:focus {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: #00a3ff !important;
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.2) !important;
  outline: none;
}

/* サンプルの文字：視認性を向上 */
.hero-main-input::-moz-placeholder {
  color: #8892b0 !important; /* 暗すぎず、入力文字と区別できる明るさへ調整 */
  font-family: var(--inter);
  font-size: 13px;
  font-weight: 400;
  opacity: 1;
}
.hero-main-input::placeholder {
  color: #8892b0 !important; /* 暗すぎず、入力文字と区別できる明るさへ調整 */
  font-family: var(--inter);
  font-size: 13px;
  font-weight: 400;
  opacity: 1;
}

/* ボタン：ロゴの輝きを再現したメタリックグラデーション */
.hero-main-submit {
  background: linear-gradient(135deg, #0056b3 0%, #00a3ff 100%);
  color: #fff;
  font-family: var(--inter);
  font-size: 18px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-main-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 163, 255, 0.5);
  filter: brightness(1.1);
}

.hero-main-title span.noto,
.hero-main-subtitle span.noto,
.hero-main-badge-text {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* スマホ・タブレット向けレスポンシブ調整 */
@media (max-width: 768px) {
  .hero-main-left {
    text-align: left;
  }

  .hero-main-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-main-subtitle {
    font-size: 20px;
    line-height: 1.4;
  }

  .hero-main-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .hero-main-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero-main-badge-text {
    font-size: 12px;
    margin-left: 5px;
  }

  .hero-main-section {
    padding: 40px 20px;
  }
}

@media (max-width: 576px) {
  .hero-main-title {
    font-size: 2rem !important;
    padding-left: 10px;
    line-height: 1.4;
    text-align: left;
  }

  .hero-main-subtitle {
    font-size: 1.2rem !important;
    padding-left: 10px;
    line-height: 1.5;
    text-align: left;
  }

  .hero-main-badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .hero-main-badge-text {
    font-size: 11px;
  }

  .hero-main-badges {
    gap: 8px;
  }
}

@media (max-width: 991px) {
  .hero-main-badge-text,
  .hero-main-top-btn {
    display: none !important;
  }

  .custom-navbar {
    padding: 10px 20px;
  }

  .nav-subtext {
    font-size: 12px;
  }

  .logo-section .nav-logo {
    height: 35px;
  }

  .hero-main-section {
    padding: 60px 0;
  }

  .hero-main-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-main-subtitle {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero-main-left {
    text-align: center;
    margin-bottom: 30px;
  }

  .hero-main-badges {
    flex-direction: row !important;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
  }

  .hero-main-badge {
    font-size: 1rem !important;
    padding: 6px 12px;
  }

  .hero-main-badge-text {
    font-size: 0.7rem !important;
    margin-left: 5px;
    margin-top: 0;
  }

  .hero-main-trial {
    font-size: 16px;
  }

  .hero-main-label {
    font-size: 12px;
  }

  .hero-main-input {
    font-size: 12px;
    padding: 8px 10px;
  }

  .hero-main-submit {
    font-size: 14px;
    padding: 10px 16px;
  }
}
@media (max-width: 768px) {
  .hero-main-title {
    font-size: 28px;
    line-height: 1.3;
  }
  
  .hero-main-subtitle {
    font-size: 20px;
    line-height: 1.4;
  }
  
  .hero-main-section {
    padding: 40px 0;
  }
  
  .hero-main-right {
    margin-top:-70px;
  }
}

@media (max-width: 576px) {
  .hero-main-title {
    font-size: 24px;
    line-height: 1.4;
  }
  
  .hero-main-subtitle {
    font-size: 18px;
    line-height: 1.5;
  }
  
  .hero-main-badge {
    font-size: 11px;
    padding: 6px 12px;
  }
  
  .hero-main-badge-text {
    font-size: 11px;
  }
}

@keyframes fadeUp {
  0% { opacity:0; transform: translateY(12px); }
  100% { opacity:1; transform: translateY(0); }
}
@keyframes popIn {
  0% { opacity:0; transform: scale(.92) translateY(8px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
@keyframes slideIn {
  0% { opacity:0; transform: translateX(18px); }
  100% { opacity:1; transform: translateX(0); }
}

button:focus, input:focus, .btn:focus { outline: 3px solid rgba(25,140,222,0.12); outline-offset: 2px; }


.brand-marquee-section {
  background-color: #000;
  overflow: hidden;
  position: relative;
}

.brand-marquee {
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: scroll-marquee 25s linear infinite;
  white-space: nowrap;
}

.brand-track img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.brand-track img:hover {
  transform: scale(1.1);
}

@keyframes scroll-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}







/* -----------------------------------------------------------
   Common
----------------------------------------------------------- */
.ser-mos-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  font-family: "Noto Sans JP", "Inter", sans-serif;
  color: #eaf6ff;
}

/* -----------------------------------------------------------
   背景を強制的に黒にする（最重要）
----------------------------------------------------------- */
.ser-mos-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #020611; /* 完全黒 */
  z-index: 0;
}

/* SERVICE 背景文字 */
.ser-mos-section::after {
  content: "SERVICE";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 220px;
  font-weight: 900;
  letter-spacing: 10px;

  color: rgba(255,255,255,0.05);

  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.ser-mos-section .container {
  position: relative;
  z-index: 1;
}

/* -----------------------------------------------------------
   Heading
----------------------------------------------------------- */
.ser-mos-kicker {
  font-size: 14px;
  color: #00d4ff;
}

.ser-mos-title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 36px;
}

/* -----------------------------------------------------------
   Panel
----------------------------------------------------------- */
.ser-mos-panel {
  background: transparent;
}

/* -----------------------------------------------------------
   Card（紺＋ネオン）
----------------------------------------------------------- */
.ser-mos-card {
  position: relative;

  background: linear-gradient(145deg, #071a33, #020c1f);
  border-radius: 14px;
  padding: 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  border: 1px solid rgba(0,212,255,0.3);

  transition: 0.3s;
}

.ser-mos-card:hover {
  transform: translateY(-8px);

  border-color: rgba(0,212,255,0.8);

  box-shadow:
    0 0 20px rgba(0,212,255,0.4),
    0 0 50px rgba(0,212,255,0.2);
}

/* ネオン縁 */
.ser-mos-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(0,212,255,0.25),
    transparent
  );

  opacity: 0;
  transition: 0.3s;
}

.ser-mos-card:hover::before {
  opacity: 1;
}

/* -----------------------------------------------------------
   Image
----------------------------------------------------------- */
.ser-mos-card-img {
  max-width: 200px;
  width: 100%;
  border-radius: 12px; 
}

/* -----------------------------------------------------------
   Text
----------------------------------------------------------- */
.ser-mos-card-title {
  color: #fff;
  font-weight: 700;
}

.ser-mos-card-desc {
  color: #cfefff;
  text-align: center;
  line-height: 1.7;
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */
@media (max-width: 768px) {
  .ser-mos-title { font-size: 22px; }
}



/* -----------------------------------------------------------
   FAQ Section（黒ベース・中央・クリック明確版）
----------------------------------------------------------- */
.faq-japan-section {
  background: #020611;
  padding: 120px 0;
  font-family: "Noto Sans JP", sans-serif;
}

/* -----------------------------------------------------------
   Container
----------------------------------------------------------- */
.faq-japan-container {
  max-width: 820px;
  margin: 0 auto;
}

/* -----------------------------------------------------------
   Item（押せるUI）
----------------------------------------------------------- */
.faq-japan-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 26px 20px;
  margin-bottom: 16px;

  cursor: pointer;
  transition: all 0.25s ease;

  text-align: center;
}

/* hoverで明確に変化 */
.faq-japan-item:hover {
  border-color: rgba(0,212,255,0.35);
  background: rgba(255,255,255,0.02);

  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* -----------------------------------------------------------
   Question（中央固定）
----------------------------------------------------------- */
.faq-japan-question {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.faq-japan-question p {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

/* -----------------------------------------------------------
   Icon（＋として見せる）
----------------------------------------------------------- */
.faq-japan-icon {
  width: 16px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.2s;
}

/* hoverで「押せる感」 */
.faq-japan-item:hover .faq-japan-icon {
  transform: scale(1.15);
  opacity: 1;
}

/* 開いたら回転（＋→×） */
.faq-japan-item.active .faq-japan-icon {
  transform: rotate(45deg);
  opacity: 1;
}

/* -----------------------------------------------------------
   Answer（開閉）
----------------------------------------------------------- */
.faq-japan-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq-japan-answer p {
  font-size: 15px;
  color: #cfe0ee;
  margin-top: 16px;
  line-height: 1.7;
  text-align: center;
}

/* 開いた状態 */
.faq-japan-item.active .faq-japan-answer {
  max-height: 500px;
  opacity: 1;
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */
@media (max-width: 768px) {
  .faq-japan-section {
    padding: 70px 20px;
  }

  .faq-japan-question p {
    font-size: 15px;
  }

  .faq-japan-answer p {
    font-size: 14px;
  }
}






/* -----------------------------------------------------------
   Cards Section（ネオン強化版）
----------------------------------------------------------- */
.cards-moos-section {
  background: #020611;
  padding: 120px 0;
  font-family: "Noto Sans JP", sans-serif;
}

/* -----------------------------------------------------------
   Card
----------------------------------------------------------- */
.cards-moos-card {
  background: linear-gradient(145deg, #071a33, #020c1f);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;

  position: relative;
  border: 1px solid rgba(255,255,255,0.08);

  transition: all 0.35s ease;
}

/* --- ネオン縁（シャープ） --- */
.cards-moos-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1.5px;

  background: linear-gradient(
    120deg,
    #00aaff,
    #4dd2ff,
    #00aaff
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* --- 外側グロー（これが重要） --- */
.cards-moos-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;

  background: radial-gradient(
    circle,
    rgba(0,170,255,0.35),
    transparent 70%
  );

  filter: blur(12px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

/* hover */
.cards-moos-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,170,255,0.6);
}

/* 発光ON */
.cards-moos-card:hover::before {
  opacity: 1;
}

.cards-moos-card:hover::after {
  opacity: 1;
}

/* -----------------------------------------------------------
   Image
----------------------------------------------------------- */
.cards-moos-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 25px;
}

/* -----------------------------------------------------------
   Typography
----------------------------------------------------------- */
.cards-moos-heading {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.cards-moos-desc {
  font-size: 15px;
  color: #cfe0ee;
  line-height: 1.7;
  max-width: 90%;
  margin: 0 auto;
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */
@media (max-width: 768px) {
  .cards-moos-section {
    padding: 70px 20px;
  }

  .cards-moos-heading {
    font-size: 18px;
  }

  .cards-moos-desc {
    font-size: 14px;
  }
}





/* -----------------------------------------------------------
   Pricing Section（黒ベース統一）
----------------------------------------------------------- */
.pricing-cards-section {
  font-family: "Noto Sans JP", sans-serif;
  background: #020611;
  padding: 0px 0;
  position: relative;
  overflow: hidden;
}

/* ネオン空気 */
.pricing-cards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,212,255,0.08), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0,120,255,0.06), transparent 60%);
  pointer-events: none;
}

/* -----------------------------------------------------------
   Title
----------------------------------------------------------- */
.pricing-cards-title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 70px;
  text-align: center;

  text-shadow: 0 0 12px rgba(0,212,255,0.25);
}

/* -----------------------------------------------------------
   Card（紺＋ネオン）
----------------------------------------------------------- */
.pricing-cards-card {
  position: relative;

  background: linear-gradient(145deg, #071a33, #020c1f);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;

  border: 1px solid rgba(0,212,255,0.2);

  transition: all 0.4s ease;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.7);
}

/* ネオン縁 */
.pricing-cards-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(0,212,255,0.25),
    transparent
  );

  opacity: 0;
  transition: 0.4s;
}

.pricing-cards-card:hover::before {
  opacity: 1;
}

.pricing-cards-card:hover {
  transform: translateY(-12px);

  border-color: rgba(0,212,255,0.6);

  box-shadow:
    0 0 25px rgba(0,212,255,0.3),
    0 0 60px rgba(0,212,255,0.15),
    0 20px 40px rgba(0,0,0,0.8);
}

/* -----------------------------------------------------------
   Typography
----------------------------------------------------------- */
.pricing-cards-plan-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.pricing-cards-plan-sub {
  font-size: 16px;
  color: #9fdfff;
  margin-bottom: 10px;
}

.pricing-cards-price {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

/* -----------------------------------------------------------
   Button
----------------------------------------------------------- */
.pricing-cards-btn,
.pricing-cards-main-btn {
  border: none;
  border-radius: 25px;
  color: #fff;
  font-weight: 700;
}

.pricing-cards-btn {
  padding: 12px 36px;
  margin-bottom: 25px;
  font-size: 14px;
}

.pricing-cards-main-btn {
  padding: 14px 45px;
  margin-top: 30px;
  transition: 0.3s;
  font-size: 16px;
}

.pricing-cards-main-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,212,255,0.4);
}

/* ボタンカラー（少しネオン寄せ） */
.btn-gray  { background: linear-gradient(90deg,#555,#999); }
.btn-blue  { background: linear-gradient(90deg,#00cfff,#007bff); }
.btn-green { background: linear-gradient(90deg,#00d4aa,#00a87c); }

/* -----------------------------------------------------------
   Features
----------------------------------------------------------- */
.pricing-cards-features {
  text-align: left;
  margin-top: 20px;
}

.pricing-cards-feature {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #cfefff;
  padding: 6px 0;
}

.pricing-cards-features hr {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 6px 0;
}

/* -----------------------------------------------------------
   強調（中央プラン）
----------------------------------------------------------- */
.pricing-cards-card:nth-child(2) {
  transform: scale(1.05);
  border-color: rgba(0,212,255,0.5);
  box-shadow:
    0 0 30px rgba(0,212,255,0.25),
    0 20px 60px rgba(0,0,0,0.8);
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */
@media (max-width: 991px) {
  .pricing-cards-section { padding: 70px 0; }

  .pricing-cards-title { font-size: 28px; }

  .pricing-cards-card {
    margin-top: 15px;
  }

  .pricing-cards-card:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 768px) {
  .pricing-cards-title { font-size: 22px; }
}






.swiper {
  width: 100%;
  padding: 20px 0 50px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
  color: #08a5a1 !important;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 50px !important;
  height: 50px !important;
  margin-top: -25px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;
  font-weight: bold;
}

.swiper-pagination-bullet {
  background: #ddd !important;
  opacity: 1 !important;
  width: 12px !important;
  height: 12px !important;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  background: #08a5a1 !important;
}

.case-studies-swiper .swiper-button-next,
.case-studies-swiper .swiper-button-prev {
  color: #08a5a1 !important;
}

.case-studies-swiper .swiper-pagination-bullet-active {
  background: #08a5a1 !important;
}

.pricing-swiper .swiper-button-next,
.pricing-swiper .swiper-button-prev {
  color: #4A4A4A !important;
}

.pricing-swiper .swiper-pagination-bullet-active {
  background: #4A4A4A !important;
}

@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px !important;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px !important;
  }
  
  .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    margin: 0 4px !important;
  }
}

@media (max-width: 576px) {
  .custom-navbar {
    padding: 8px 15px;
  }
  
  .nav-subtext {
    font-size: 10px;
  }
  
  .logo-section .nav-logo {
    height: 30px;
  }
  
  .hero-main-section {
    padding: 30px 0;
  }
  
  .hero-main-title {
    font-size: 20px;
    line-height: 1.5;
  }
  
  .hero-main-subtitle {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .hero-main-badge {
    font-size: 10px;
    padding: 5px 10px;
  }
  
  .hero-main-badge-text {
    font-size: 10px;
  }
  
  .hero-main-trial {
    font-size: 14px;
  }
  
  .hero-main-label {
    font-size: 11px;
  }
  
  .hero-main-input {
    font-size: 11px;
    padding: 6px 8px;
  }
  
  .hero-main-submit {
    font-size: 12px;
    padding: 8px 14px;
  }
  
  .ser-mos-section {
    padding: 40px 0;
  }
  
  .ser-mos-title {
    font-size: 18px;
    line-height: 1.5;
  }
  
  .ser-mos-card-title {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .ser-mos-card-desc {
    font-size: 12px;
    line-height: 1.8;
  }
  
  .ser-mos-card-btn {
    font-size: 12px;
    padding: 8px 14px;
  }
  
  .main-moss-section {
    padding: 40px 0;
  }
  
  .main-moss-title {
    font-size: 20px;
    line-height: 1.5;
  }
  
  .main-moss-subtitle {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .main-moss-block-title {
    font-size: 18px;
    line-height: 1.6;
  }
  
  .main-moss-block-desc {
    font-size: 13px;
    line-height: 1.8;
  }
  
  .faq-japan-section {
    padding: 40px 0;
  }
  
  .faq-japan-title {
    font-size: 20px;
    line-height: 1.5;
  }
  
  .faq-japan-question p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .faq-japan-answer p {
    font-size: 12px;
    line-height: 1.8;
  }
  
  .cards-moos-section {
    padding: 40px 0;
  }
  
  .cards-moos-title {
    font-size: 20px;
    line-height: 1.5;
  }
  
  .cards-moos-heading {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .cards-moos-desc {
    font-size: 12px;
    line-height: 1.8;
  }
  
  .cards-moos-btn {
    font-size: 14px;
    padding: 10px 30px;
  }
  
  .pricing-cards-section {
    padding: 40px 0;
  }
  
  .pricing-cards-title {
    font-size: 20px;
    line-height: 1.5;
  }
  
  .pricing-cards-plan-title {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .pricing-cards-plan-sub {
    font-size: 12px;
    line-height: 1.6;
  }
  
  .pricing-cards-price {
    font-size: 20px;
    line-height: 1.6;
  }
  
  .pricing-cards-feature {
    font-size: 12px;
    line-height: 1.8;
  }
  
  .pricing-cards-btn {
    font-size: 12px;
    padding: 8px 25px;
  }
  
  .pricing-cards-main-btn {
    font-size: 12px;
    padding: 10px 30px;
  }
  
  .pricing-cards-card {
    padding: 20px 15px;
  }
}


/* -----------------------------------------------------------
   Japan Notyo Section (Blue Gradient)
   ----------------------------------------------------------- */
.japan-notyo-section {
  background: linear-gradient(135deg, #000);
  padding: 100px 20px;
  font-family: 'Inter', sans-serif;
}

.japan-notyo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.japan-notyo-column {
  flex: 1;
}

.japan-notyo-heading {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.japan-notyo-description {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.3s;
}

.japan-notyo-image {
  width: 100%;
  max-width: 600px;
  display: block;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease 0.5s;
}

.japan-notyo-visible .japan-notyo-heading,
.japan-notyo-visible .japan-notyo-description,
.japan-notyo-visible .japan-notyo-image {
  opacity: 1;
  transform: none;
}

.jap-notto-section {
  background-color: #00050a;
  /* 背景の青いグリッド（サイバー感の演出） */
  background-image: 
    linear-gradient(rgba(0, 163, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 163, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 40px 20px;
  color: #fff;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
}

.jap-notto-container {
  max-width: 1200px;
  margin: 0 auto;
}

.jap-notto-heading {
  text-align: center;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 80px;
  span {
    color: #00a3ff;
    text-shadow: 0 0 15px rgba(0, 163, 255, 0.6);
    margin: 0 0.2em;
  }
}

/* グリッド配置：上3枚、下2枚（中央寄せ） */
.jap-notto-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

/* メタリックカード本体 */
.jap-notto-card {
  grid-column: span 2;
  position: relative;
  border-radius: 12px;
  padding: 2px; /* 縁の太さ */
  
  /* --- メタリックフレーム（ここが重要） --- */
  /* 複数の影を重ねて、金属の角、厚み、反射、ネオンの光を表現 */
  background: linear-gradient(135deg, #444 0%, #222 50%, #555 100%);
  box-shadow: 
    /* 外側のネオン発光 */
    0 0 20px 2px rgba(0, 163, 255, 0.3),
    /* フレームの立体的な角（ハイライト） */
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    /* 接地面への影 */
    0 20px 40px rgba(0, 0, 0, 0.8);
  
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              box-shadow 0.4s ease;

  /* 下段2枚の配置調整 */
  &.card-4 { grid-column: 2 / 4; }
  &.card-5 { grid-column: 4 / 6; }
}

/* カード内部（ヘアラインメタル加工） */
.card-inner {
  background: 
    /* 金属の反射をシミュレートする多段グラデーション */
    linear-gradient(135deg, 
      #1a1d20 0%, 
      #111416 45%, 
      #0a0c0e 50%, 
      #111416 55%, 
      #1a1d20 100%
    );
  border-radius: 10px;
  padding: 20px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;

  /* 内側の青い反射光 */
  &::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 163, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
  }
}

/* ホバー時の挙動（よりギラつかせる） */
.jap-notto-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 0 40px 5px rgba(0, 163, 255, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    0 30px 60px rgba(0, 0, 0, 0.9);

  .card-inner {
    background: linear-gradient(135deg, #25282c 0%, #111416 50%, #25282c 100%);
  }
}

/* アイコンとテキスト */
.card-icon {
  margin-bottom: 15px;
  .card-img {
    width: 180px;
    height: auto;
    /* ネオン管のような発光 */
    filter: 
      drop-shadow(0 0 8px rgba(0, 163, 255, 0.8))
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
  }
}

.card-text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 0.05em;
}

.card-sub {
  font-size: 13px;
  color: #888;
  text-align: center;
  line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .jap-notto-grid {
    grid-template-columns: repeat(2, 1fr);
    .jap-notto-card { grid-column: span 1 !important; }
  }
}

@media (max-width: 500px) {
  .jap-notto-grid {
    grid-template-columns: 1fr;
  }
}











/* -----------------------------------------------------------
   Main Moss Section（進化版）
----------------------------------------------------------- */
.main-moss-section {
  color: #eaf6ff;
  position: relative;
  overflow: hidden;
}

/* 背景ネオン */
.main-moss-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,212,255,0.08), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0,120,255,0.06), transparent 60%);
  pointer-events: none;
}

/* -----------------------------------------------------------
   Block（うっすらカード化）
----------------------------------------------------------- */
.main-moss-block {
  padding: 70px 40px;
  position: relative;
  margin: 40px auto;
  max-width: 1200px;

  background: rgba(10, 20, 40, 0.35);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);

  border-radius: 18px;

  border: 1px solid rgba(0,212,255,0.08);

  transition: all 0.4s ease;
}

/* 光が走る */
.main-moss-block::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(0,212,255,0.2),
    transparent
  );

  opacity: 0;
  transition: 0.4s;
}

.main-moss-block:hover::after {
  opacity: 1;
}

.main-moss-block:hover {
  transform: translateY(-8px);
  border-color: rgba(0,212,255,0.25);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.7),
    0 0 30px rgba(0,212,255,0.15);
}

/* -----------------------------------------------------------
   ナンバリング（自動）
----------------------------------------------------------- */
.main-moss-section {
  counter-reset: moss;
}

.main-moss-block::before {
  counter-increment: moss;
  content: counter(moss, decimal-leading-zero);

  position: absolute;
  top: 20px;
  left: 30px;

  font-size: 48px;
  font-weight: 800;

  color: rgba(0,212,255,0.15);
  letter-spacing: 2px;
}

/* -----------------------------------------------------------
   Image（ガラス＋ネオン）
----------------------------------------------------------- */
.main-moss-img {
  width: 80%;
  max-width: 520px;

  border-radius: 16px;

  background: rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);

  box-shadow:
    0 15px 40px rgba(0,0,0,0.7),
    0 0 20px rgba(0,212,255,0.2);

  transition: 0.4s ease;
}

.main-moss-block:hover .main-moss-img {
  transform: scale(1.05);
}

/* -----------------------------------------------------------
   Text
----------------------------------------------------------- */
.main-moss-content {
  position: relative;
  z-index: 1;
}

.main-moss-block-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 18px;
  color: #ffffff;

  text-shadow: 0 0 12px rgba(0,212,255,0.25);
}

.main-moss-block-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #cfefff;
  max-width: 520px;
  margin: 0 auto;
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */
@media (max-width: 768px) {
  .main-moss-block {
    padding: 40px 20px;
  }

  .main-moss-block-title {
    font-size: 22px;
  }

  .main-moss-block-desc {
    font-size: 15px;
  }

  .main-moss-block::before {
    font-size: 32px;
    left: 20px;
  }
}









.admin-preview-section {
  background: radial-gradient(circle at center, #0b1220 0%, #05070d 100%);
  padding: 120px 20px;
  color: #fff;
  overflow: hidden;

  .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  /* Header */
  .admin-header {
    margin-bottom: 80px;

    .en-sub {
      display: block;
      font-size: 12px;
      letter-spacing: 2px;
      color: #5eead4;
      margin-bottom: 12px;
    }

    h2 {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .desc {
      font-size: 16px;
      color: #9ca3af;
    }
  }

  /* Visual Area */
  .admin-visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* 画像サイズに完全追従 */
  .main-device-wrapper {
    position: relative;
    display: inline-block;
    z-index: 2;

    /* 背面グロー */
    &::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 520px;
      height: 320px;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(94,234,212,0.15), transparent 70%);
      filter: blur(40px);
      z-index: -1;
    }

    /* 下部グロー */
    &::after {
      content: "";
      position: absolute;
      bottom: -40px;
      left: 50%;
      width: 300px;
      height: 80px;
      transform: translateX(-50%);
      background: radial-gradient(circle, rgba(94,234,212,0.3), transparent 70%);
      filter: blur(25px);
      z-index: -1;
    }
  }

  /* 画像（サイズは一切触らない） */
  .admin-main-img {
    display: block;
    width:100%;
    border-radius: 12px;

    box-shadow:
      0 20px 60px rgba(0,0,0,0.6),
      0 0 40px rgba(94,234,212,0.15);
  }

  
  /* Pointer */
  .admin-pointer {
    position: absolute;
    width: 220px;
    text-align: left;
    z-index: 3;

    .label {
      display: block;
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 6px;
      color: #5eead4;
    }

    .detail {
      font-size: 13px;
      color: #d1d5db;
      line-height: 1.5;
    }

    /* ライン */
    &::before {
      content: "";
      position: absolute;
      width: 60px;
      height: 1px;
      top: 10px;
      background: linear-gradient(90deg, #5eead4, transparent);
    }

    /* ドット */
    &::after {
      content: "";
      position: absolute;
      width: 6px;
      height: 6px;
      background: #5eead4;
      border-radius: 50%;
      top: 7px;
      box-shadow: 0 0 10px #5eead4;
    }
  }

  /* 左ポインタ */
  .p-1 {
    top: 20%;
    left: -180px;

    &::before {
      right: -60px;
    }

    &::after {
      right: -66px;
    }
  }

  /* 右ポインタ */
  .p-2 {
    top: 60%;
    right: -180px;
    text-align: right;

    &::before {
      left: -60px;
      background: linear-gradient(270deg, #5eead4, transparent);
    }

    &::after {
      left: -66px;
    }
  }

  /* Responsive */
  @media (max-width: 768px) {

    .admin-header h2 {
      font-size: 24px;
    }

    .admin-pointer {
      display: none;
    }
  }
}






/* ===== ベース ===== */
.compare-fixed {
  position: relative;
  max-width: 1400px;
  padding-top:70px;
  margin: 40 auto;
  font-family: sans-serif;
}

/* ===== 背景 ===== */
.compare-fixed__bg img {
  width: 100%;
  display: block;
}

/* ===== オーバーレイ ===== */
.compare-fixed__overlay {
  position: absolute;
  inset: 0;
}

/* ===== タイトル ===== */
.compare-fixed__header {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
}

.compare-fixed__header h2 {
  font-size: 34px;
  color: #fff;
  margin-bottom: 8px;
}

.compare-fixed__header p {
  color: #38bdf8;
  font-size: 14px;
}

/* ===== 左 ===== */
.compare-fixed__left {
  position: absolute;
  text-align: right;
  top: 40%;
  left: 19%;
  width: 25%;
}

/* ===== 右 ===== */
.compare-fixed__right {
  position: absolute;
  top: 40%;
  right: 19%;
  width: 25%;
}

/* ===== カード共通 ===== */
.card {
  height: 70px;
  margin-bottom: 12px;
  padding: 10px 14px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  border-radius: 10px;

  background: rgba(15,23,42,0.75);
  border: 1px solid rgba(148,163,184,0.2);
}

/* ===== AI強調 ===== */
.card--blue {
  border: 1px solid rgba(56,189,248,0.6);
  box-shadow:
    0 0 15px rgba(56,189,248,0.3),
    inset 0 0 10px rgba(56,189,248,0.2);
}

/* ===== テキスト ===== */
.card strong {
  font-size: 14px;
  color: #fff;
}

.card span {
  font-size: 12px;
  opacity: 0.7;
  color: #838383;
}

/* ===== 結果 ===== */
.result {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;

  background: rgba(15,23,42,0.75);
  border: 1px solid rgba(148,163,184,0.2);
}

.result--blue {
  border: 1px solid rgba(56,189,248,0.6);
  box-shadow: 0 0 15px rgba(56,189,248,0.3);
}

.result p  {
  color:#fff;
  font-size: 13px;
  margin-bottom: 4px;
}

.result__item .label {
  font-size: 12px;
  color: rgba(148,163,184,0.8);
}

.result__item .value {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
}

/* ===== 中央ライン ===== */
.compare-fixed__center {
  position: absolute;
  top: 62.8%;
  left: 50%;
  font-weight:bold;
  transform: translateX(-50%);
  text-align: center;
}

.compare-fixed__center::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 240px;

  background: linear-gradient(
    to bottom,
    transparent,
    #38bdf8,
    transparent
  );

  box-shadow: 0 0 20px #38bdf8;
}

.compare-fixed__center span {
  position: relative;
  z-index: 2;

  padding: 10px 14px;
  border-radius: 999px;

  background: #020617;
  border: 1px solid #38bdf8;

  color: #fff;
  font-size: 14px;

  box-shadow: 0 0 15px rgba(56,189,248,0.6);
}










/* ========================================
   BASE
======================================== */
.service-compare {
  background: #01040a;
  padding: 100px 0;
  color: #e5e7eb;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

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

/* ========================================
   HEADER
======================================== */
.sc__header {
  text-align: center;
  margin-bottom: 60px;
}

.sc__header h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.sc__header p {
  color: #38bdf8;
  font-size: 24px;
  font-weight: 700;
  margin: 15px 0;
}

.sc__header span {
  font-size: 16px;
  opacity: 0.8;
  display: block;
}

/* ========================================
   TABLE
======================================== */
.sc__table {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1fr 1fr;
  gap: 0;
  position: relative;
  align-items: stretch;
}

/* ========================================
   COLUMN
======================================== */
.sc__col {
  display: flex;
  flex-direction: column;
}

.sc__col--labels {
  padding-right: 10px;
}

/* ========================================
   HEADER (COL)
======================================== */
.sc__col-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-bottom: 1px solid rgba(148,163,184,0.15);
  font-size: 15px;
  color: rgba(229, 231, 235, 0.8);
}

/* ========================================
   CELL
======================================== */
.sc__cell {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(148,163,184,0.1);
  font-size: 14px;
  padding: 0 20px;
}

.sc__cell--label {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.sc__cell--label strong {
  font-size: 16px;
  margin-bottom: 4px;
  color: #ffffff;
}

.sc__cell--label span {
  font-size: 12px;
  opacity: 0.6;
}

/* ========================================
   ★ 中央カラム (Okurite) - 究極の浮き感と光沢
======================================== */
.sc__col--main {
  position: relative;
  z-index: 10;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.8);
  
  /* 浮かび上がらせるマージン設定 */
  margin: -20px 0;
  padding-bottom: 20px;

  /* 多重シャドウによる立体感とグロー */
  box-shadow:
    inset 0 0 20px rgba(56, 189, 248, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 0 40px rgba(56, 189, 248, 0.4),
    0 30px 70px rgba(0, 0, 0, 0.9),
    0 40px 120px rgba(0, 0, 0, 0.7);
}

.sc__col--main .sc__col-header {
  height: 90px;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  border-bottom: 1px solid rgba(56, 189, 248, 0.4);
  letter-spacing: 0.02em;
}

/* 上端の鋭い光線 */
.sc__col--main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, #38bdf8, transparent);
  filter: blur(1px);
  z-index: 11;
}

/* 下端の鋭い光線 */
.sc__col--main::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #ffffff, transparent);
  filter: blur(1px);
  z-index: 11;
}

/* Okuriteセル内のテキスト調整 */
.sc__cell--main {
  color: #ffffff;
  justify-content: flex-start;
  padding-left: 35px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.sc__cell--main div {
  display: flex;
  flex-direction: column;
}

.sc__cell--main strong {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.3;
}

.sc__cell--main span {
  font-size: 12px;
  color: #7dd3fc;
  margin-top: 4px;
}

/* ========================================
   ネオンアイコン (〇)
======================================== */
.circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 4px solid #38bdf8;
  margin-right: 18px;
  flex-shrink: 0;
  box-shadow: 
    0 0 15px rgba(56, 189, 248, 0.8),
    inset 0 0 8px rgba(56, 189, 248, 0.6);
  position: relative;
}







/* ========================================
   AUTH WRAPPER (DARK THEME)
======================================== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #01040a; /* 背景黒 */
  padding: 40px 20px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  /* 背景に微かなグリッド等の装飾を加える場合 */
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 80%);

  .auth-forms {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
  }

  /* ========================================
     AUTH CARD (GLASSMORPHISM)
  ======================================== */
  .auth-card {
    position: relative;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    
    border-radius: 20px;
    padding: 40px;
    flex: 1 1 350px;
    max-width: 450px;
    color: #e5e7eb;

    /* ネオンブルーのボーダーと光沢 */
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.2),
      0 0 30px rgba(56, 189, 248, 0.2),
      0 20px 50px rgba(0, 0, 0, 0.8);

    /* 上端の光線 */
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 10%;
      width: 80%;
      height: 2px;
      background: linear-gradient(90deg, transparent, #38bdf8, #ffffff, transparent);
      filter: blur(1px);
    }

    h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 28px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: 0.05em;
      text-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
    }

    /* ========================================
       FIELDS & INPUTS
    ======================================== */
    .field {
      margin-bottom: 25px;

      label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 14px;
        color: #7dd3fc;
      }

      .input-field {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 16px;
        background: rgba(2, 6, 23, 0.6);
        border: 1px solid rgba(148, 163, 184, 0.3);
        border-radius: 8px;
        font-size: 16px;
        color: #ffffff;
        transition: all 0.3s ease;

        &::-moz-placeholder {
          color: rgba(255, 255, 255, 0.3);
        }

        &::placeholder {
          color: rgba(255, 255, 255, 0.3);
        }

        &:focus {
          border-color: #38bdf8;
          outline: none;
          background: rgba(2, 6, 23, 0.8);
          box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
        }
      }

      /* チェックボックス周り */
      &.remember {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;

        input[type="checkbox"] {
          width: 18px;
          height: 18px;
          accent-color: #38bdf8;
          cursor: pointer;
        }

        label {
          margin-bottom: 0;
          color: rgba(229, 231, 235, 0.7);
          font-weight: 400;
          cursor: pointer;
        }
      }
    }

    /* ========================================
       ACTIONS (BUTTON)
    ======================================== */
    .actions {
      text-align: center;
      margin-top: 30px;

      .btn-primary {
        width: 100%;
        background: #38bdf8;
        color: #01040a;
        padding: 14px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);

        &:hover {
          background: #ffffff;
          transform: translateY(-2px);
          box-shadow: 0 0 30px rgba(56, 189, 248, 0.6);
        }

        &:active {
          transform: translateY(0);
        }
      }
    }

    /* リンク（パスワード忘れた方など） */
    .shared-links {
      margin-top: 25px;
      text-align: center;
      font-size: 13px;

      a {
        color: rgba(229, 231, 235, 0.5);
        text-decoration: none;
        transition: color 0.2s;

        &:hover {
          color: #38bdf8;
        }
      }
    }
  }
}

/* 共通ナビバーリンクの干渉防止 */
header.custom-navbar a.nav-link-custom,
header.custom-navbar a.nav-link-custom:link,
header.custom-navbar a.nav-link-custom:visited,
header.custom-navbar a.nav-link-custom:active,
header.custom-navbar a.nav-link-custom:focus,
header.custom-navbar a.nav-link-custom:hover {
  color: inherit !important;
  text-decoration: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .auth-wrapper {
    padding: 20px;
    
    .auth-forms {
      flex-direction: column;
      gap: 20px;
    }

    .auth-card {
      padding: 30px 20px;
    }
  }
}



.calculator-wrapper {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.calculator {
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 700px;     /* ← PCで横幅を広げる */
  margin: 0 auto;
}

.calculator h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 26px;      /* 見出しを強調 */
  letter-spacing: 1px;
  border-bottom: 2px solid #007aff;
  padding-bottom: 10px;
  display: inline-block;
}

.description-text {
  text-align: center;
  font-size: 15px;
  color: #666;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
  font-weight: 600;
}

small {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 13px;
}

.form-control {
  width: 100%;
  padding: 12px;
  font-size: 17px;
  border-radius: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background: #fafafa;
}

.result-box {
  background: #eef5ff;
  padding: 18px;
  border-radius: 12px;
  margin-top: 15px;
  border-left: 4px solid #007aff;
}

.result-box p {
  font-size: 18px;
  margin: 8px 0;
  font-weight: 600;
  text-align: center;
}

.highlight {
  font-weight: 700;
  color: #007aff;
  font-size: 24px;
}

@media (max-width: 480px) {
  .calculator {
    padding: 20px;
    border-radius: 14px;
    max-width: 95%;
  }

  .calculator h2 {
    font-size: 20px;
  }

  .highlight {
    font-size: 20px;
  }
}



/* 外側セクション（グレー背景） */
.section-company {
  background: #f3f4f6;
  padding: 80px 0;
}

/* 浮き上がるカード */
.company-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 64px 64px 72px;
  border-radius: 12px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

/* 見出し */
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-lead {
  color: #666;
  margin-bottom: 40px;
  font-size: 15px;
}

/* テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 18px 0;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: top;
}

.company-table th {
  width: 180px;
  font-weight: 600;
  color: #555;
}

.company-table td {
  color: #222;
  line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .company-card {
    padding: 40px 24px;
  }

  .company-table th {
    width: 120px;
  }
}


.breadcrumbs {
  position: absolute;
  top: 70px;
  left: 16px;
  z-index: 10;
  font-size: 15px;
}

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

.center {
  text-align:center;
}













/* 共通テーブルデザイン */
.table-container {
  width: 90%;
  margin: 20px auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  background: linear-gradient(90deg, #f9f9f9 0%, #ffffff 100%);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.table-container th,
.table-container td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  transition: background-color 0.25s ease;
}

.table-container th {
  background: linear-gradient(90deg, #dbeafe, #e0f2fe);
  color: #1e3a8a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-container tr:hover td {
  background-color: rgba(220, 240, 255, 0.3);
}

.table-container tbody tr:nth-child(even) td {
  background-color: #f3f4f6;
}

.table-container tbody tr:nth-child(odd) td {
  background-color: #ffffff;
}

.table-space th.document-color {
  background-color: #dbeafe;
  font-weight: bold;
  color: #1e40af;
}

.table-space th.report-color {
  background-color: #dcfce7;
  font-weight: bold;
  color: #065f46;
}

.command {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.command:hover {
  color: #1d4ed8;
}

.btn-success {
  background-color: #22c55e;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.btn-success:hover {
  background-color: #16a34a;
}

.input-group-addon {
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  padding: 4px 8px;
  border-radius: 6px;
}

.date-picker {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 4px 8px;
}




.auth-card-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 2rem 1rem;
}

.auth-inner {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #1a202c;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.auth-subtitle {
  color: #718096;
  font-size: 0.95rem;
}

.auth-link {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-link:hover {
  color: #4338ca;
  text-decoration: underline;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.auth-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
  box-sizing: border-box;
}

.auth-input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.auth-action {
  margin-top: 2rem;
}

.auth-btn-submit {
  width: 100%;
  background-color: #4f46e5;
  color: white;
  padding: 0.875rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.auth-btn-submit:hover {
  background-color: #4338ca;
}

.auth-btn-submit:active {
  transform: scale(0.98);
}

.auth-footer-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #a0aec0;
}

/* 追加分のみ記載（基本はサインアップ画面のCSSと共通） */

.auth-options {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.auth-helper-link {
  font-size: 0.8rem;
  color: #718096;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-helper-link:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* チェックボックスのカスタムスタイル */
.auth-checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.auth-checkbox {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.5rem;
  cursor: pointer;
  accent-color: #4f46e5; /* モダンブラウザでの色指定 */
}

.auth-checkbox-label {
  font-size: 0.9rem;
  color: #4a5568;
}

/* 共通パーツの再掲（必要に応じて） */
.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

/* Railsのヘルパーが出力する .flex 等と競合しないよう !important や固有クラスを活用 */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }


.container{
  h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  padding-bottom: 15px;
  margin-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
  letter-spacing: 0.05em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: #007bff; /* ボタンの色と合わせると統一感UP */
}
}





/*Footer*/
/* application.css に貼り付ける場合 */

.custom-footer {
  background-color: #000 !important;
  color: #fff;
}

/* リンクの色を統一（青色を無効化） */
.custom-footer .footer-link {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.custom-footer .footer-link:hover {
  color: #fff;
}

/* ロゴ関連・アイコン関連の未使用CSSを削除 */

/* 中央寄せの補強（rowにjustify-content-centerがあるため基本は不要ですが明示） */
.footer-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}/* application.css に貼り付け */

.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.floating-contact .contact-box {
  display: flex;
  align-items: center;
  background-color: #000; /* 背景を黒 */
  border: 1px solid #444; /* 縁を少し明るくして立体感を出す */
  padding: 10px 20px;
  border-radius: 50px; /* カプセル型 */
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5); /* 強めの影で浮遊感を出す */
  transition: all 0.3s ease;
}

/* ホバーした時に少し浮き上がり、境界線を白くする */
.floating-contact .contact-box:hover {
  transform: translateY(-5px);
  border-color: #fff;
  box-shadow: 0 15px 30px rgba(0,0,0,0.8);
}

.floating-contact .icon-container {
  display: flex;
  align-items: center;
}

.floating-contact .main-icon {
  width: 20px;
  height: 20px;
  filter: invert(1); /* アイコンを白く反転 */
}

.floating-contact .text-container {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.floating-contact .text-container span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

.floating-contact .text-container small {
  font-size: 10px;
  color: #aaa;
}

/* スマホでは邪魔にならないよう、文字を消してアイコンを際立たせる */
@media (max-width: 768px) {
  .floating-contact {
    bottom: 20px;
    right: 20px;
  }
  .floating-contact .text-container {
    display: none; /* スマホでは文字を消す */
  }
  .floating-contact .contact-box {
    padding: 15px; /* 丸に近い形に調整 */
  }
  .floating-contact .icon-container {
    margin-right: 0;
  }
}


/* application.css に貼り付け */

/* 左側のロゴ、右側のお問い合わせ共通のベース設定 */
.floating-logo, .floating-contact {
  position: fixed;
  bottom: 30px;
  z-index: 9999;
}

.floating-logo { left: 30px; }
.floating-contact { right: 30px; }

/* 左右のボタンの高さと padding を完全に統一 */
.floating-logo .logo-box,
.floating-contact .contact-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  border: 1px solid #444;
  height: 46px;      /* 高さを固定 */
  padding: 0 20px;   /* 左右の余白を統一 */
  border-radius: 50px; /* カプセル型で統一 */
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* ホバー演出（共通） */
.floating-logo .logo-box:hover,
.floating-contact .contact-box:hover {
  transform: translateY(-5px);
  border-color: #fff;
}

/* アイコンサイズの調整 */
.floating-logo .main-logo {
  width: 120px;
  height: auto;
  display: block;
}

.floating-contact .main-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  filter: invert(1);
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .floating-logo, .floating-contact {
    bottom: 20px;
  }
  .floating-logo { left: 20px; }
  .floating-contact { right: 20px; }

  .floating-logo .logo-box,
  .floating-contact .contact-box {
    height: 40px;
    padding: 0 15px;
  }
}
