@charset "utf-8";
/* CSS Document */

/* ========== デザイン・リブランディング ========== */
:root {
  --primary-deep: #0f172a;
  --accent-blue: #1e40af;
  --hover-blue: #1e3a8a;
  --danger-gold: #f59e0b;
  --text-main: #1e293b;
  --text-sub: #64748b;
  --white: #ffffff;
  --border-light: #e2e8f0;
  --border-card: #f1f5f9;
  /* ページ固有テーマ（各ページのCSSで上書き） */
  --screenshot-bg: #f8fafc;
  --screenshot-border: var(--border-light);
  --screenshot-text-color: var(--text-sub);
  --catchphrase-color: var(--primary-deep);
}

/* ========== INIT ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-stretch: normal;
  background: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 320px;
}
h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-blue);
  margin: 1rem auto 0;
}
a {
  color: var(--accent-blue);
}
img.img100 {
  width: 100%;
  height: auto;
}
.ib {
  display: inline-block;
}
section {
  margin-bottom: 4rem;
  text-align: center;
}
section > p {
  margin-bottom: 1.5rem;
}
section:last-child {
  margin-bottom: 0;
}
ul {
  list-style: none;
}
.disnon{ display:none !important}

/* ========== HEADER ========== */
#header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--danger-gold);
  border-bottom: 1px solid var(--border-light);
  top: 0;
  z-index: 1000;
  position: relative;
}
.headerTop {
  max-width: 1240px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.0rem 4%;
  gap: 2rem;
}
.logoArea {
  position: relative;
  z-index: 2000;
}
.logoArea p a {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  text-decoration: none;
  color: var(--primary-deep);
}
.logoArea img {
  width: 80px;
  height: auto;
}
.logoArea span {
  font-size: 1.0rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* デスクトップメニュー */
#gnaviArea ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
#gnaviArea a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 400;
  font-size: 1.0rem;
  transition: 0.3s;
  position: relative;
  display: inline-block;
}
#gnaviArea a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-blue);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#gnaviArea a:hover {
  color: var(--accent-blue);
}
#gnaviArea a:hover::after {
  width: 100%;
}

/* お問合わせボタン */
.contact-btn {
  background-color: var(--danger-gold) !important;
  color: white !important;
  padding: 0.3rem 1rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  position: relative;
}
.contact-btn::before {
  content: '→';
  margin-right: 0.5rem;
  transition: margin-right 0.3s ease;
}
.contact-btn::after {
  display: none;
}
.contact-btn:hover {
  color: white !important;
  background-color: #d96d07 !important;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1050;
  padding: 0;
  margin-left: auto;
}
.hamburger span {
  width: 100%;
  height: 4px;
  background-color: var(--primary-deep);
  transition: 0.3s;
}
.hamburger::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.3s;
  z-index: 998;
}
.hamburger.active::before {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

/* ========== BREADCRUMB ========== */
#locationArea {
  background: #F6F6F6;
  border-bottom: 1px solid #CCC;
  font-size: 0.75rem;
}
#locationArea ul {
  padding: 0.5rem 3%;
  list-style: none;
  display: flex;
  max-width: 1200px;
  margin: auto;
  gap: 10px;
}
#locationArea li:not(:last-child):after {
  content: ">";
  margin-left: 10px;
  color: #999;
}
#locationArea a {
  color: var(--link-blue);
  text-decoration: none;
}

/* ========== SCREENSHOT（共通レイアウト） ========== */
.screenshot-inner {
  display: flex;
  background: var(--screenshot-bg);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--screenshot-border);
}
.screenshot-inner > * {
  display: flex;
  align-items: center;
  justify-content: center;
}
.screenshot-text {
  flex: 1;
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 0.8rem;
}
.screenshot-text p {
  color: var(--screenshot-text-color);
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0;
  display: block;
  width: 100%;
  text-align: left;
}
.screenshot-img {
  flex: 1.2;
  padding: 0;
  background-color: #0c112b;
}
.screenshot-img img {
  width: 100%;
  display: block;
  vertical-align: bottom;
}
h2.catchphrase {
  display: block;
  width: 100%;
  text-align: left;
  font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  font-weight: 700;
  color: var(--catchphrase-color);
  margin-bottom: 0;
  line-height: 1.2;
}
h2.catchphrase::after {
  display: none;
}

/* ========== HERO SECTION（共通パーツ） ========== */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero-section h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.3;
  font-weight: 700;
  position: relative;
}

/* ========== CARDS ========== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.card {
  text-align: left;
  transition: 0.3s;
}
.card h3 {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-blue);
  font-weight: 800;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--accent-blue);
  padding-bottom: 0.75rem;
}

/* ========== BADGE ========== */
.badge {
  background: var(--danger-gold);
  color: var(--primary-deep);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 0.75rem;
  display: inline-block;
  white-space: nowrap;
}
.badge-heading-group {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid rgb(255, 255, 255, 0.15);
  padding-bottom: 0.75rem;
}
.badge-heading-group h3 {
  margin-bottom: 0;
  display: inline-block;
  border-bottom: none;
  padding-bottom: 0;
}

/* ========== LOGO FLEX ========== */
.logo-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.logo-flex .plus {
  font-size: 6rem;
  font-weight: bold;
  line-height: 1;
  color: #333;
  pointer-events: none;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.3s ease;
  min-width: 60px;
  max-width: 200px;
}
.logo-link:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 4px;
}
.logo-image {
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  transition: all 0.3s;
}
.logo-link:hover .logo-image {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.logo-link:active .logo-image {
  transform: scale(0.98);
}

/* ========== CTA BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-blue);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: 0.3s;
  box-shadow: 0 5px 7px rgba(37, 99, 235, 0.3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--hover-blue);
  transform: scale(1.05);
}
.cta-section {
  text-align: center;
  padding: 2rem 4%;
  background: #f1f5f9;
  border-radius: 15px;
  margin-top: 4rem;
}

/* ========== #risks（共通ダークセクション） ========== */
#risks {
  background: var(--primary-deep);
  color: white;
  padding: 2rem 4%;
  border-radius: 15px;
}
#risks h2 {
  color: white;
}
#risks h2::after {
  background-color: white;
}
#risks .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
#risks .card h3,
#risks .card strong {
  color: white;
  border-bottom-color: white;
}
#risks .card p {
  color: #cbd5e1;
}
#risks .grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ========== PAGE TOP ========== */
#pageTop {
  position: fixed;
  bottom: 1.2rem;
  right: 0.8rem;
  width: 60px;
  height: 60px;
  background: var(--primary-deep);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border: none;
  padding: 0;
}
#pageTop:hover {
  background-color: var(--hover-blue);
}
#pageTop:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
#pageTop.show {
  opacity: 1;
  visibility: visible;
}
#pageTop::before {
  content: '';
  width: 14px;
  height: 14px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(-45deg);
  margin-top: 8px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary-deep);
  color: #94a3b8;
  padding: 1rem 4%;
  text-align: center;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: 0.3s;
}
.footer-nav a:hover {
  color: var(--accent-blue);
}
/*.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}*/

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .headerTop {
    padding: 1rem 5%;
  }
  .logoArea img {
    width: 90px;
  }
  .logoArea span {
    font-size: 1.3rem;
  }
  .hamburger {
    display: flex;
    z-index: 1050;
  }
  #gnaviArea {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    padding: 88px 0 0;
    transition: right 0.4s ease;
    z-index: 999;
    overflow-y: auto;
  }
  #gnaviArea.open {
    right: 0;
  }
  #gnaviArea ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  #gnaviArea ul li {
    border-top: 1px solid var(--border-card);
    width: 100%;
  }
  #gnaviArea a {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.8rem 1.2rem;
  }
  #gnaviArea a::after {
    bottom: 0;
    height: 2px;
  }
  .contact-item {
    padding: 0.8rem 1.2rem;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  .screenshot-inner {
    flex-direction: column;
  }
  .screenshot-text,
  .screenshot-text p {
    text-align: center;
  }
  h2 {
    font-size: 2rem;
  }
  h2.catchphrase {
    text-align: center;
  }
  .cta-section h2 {
    font-size: 1.3rem;
  }
  .footer-nav ul {
    gap: 1.5rem;
  }
  .logo-flex .plus {
    font-size: 4rem;
  }
  #risks .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .headerTop {
    padding: 1rem 3%;
  }
  .logoArea img {
    width: 70px;
  }
  .logoArea span {
    font-size: 1rem;
  }
  #gnaviArea {
    padding: 76px 0 0;
  }
  main > .inner {
    padding: 2rem 3%;
  }
  h2 {
    font-size: 1.5rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 0.8rem 1.5rem;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }
  .logo-flex {
    gap: 0;
  }
  .logo-image {
    min-width: 50px;
  }
  .logo-flex .plus {
    font-size: 3rem;
  }
}
