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

/* ========== デザイン・リブランディング ========== */
:root {
  --accent: #1e40af;
  --border: #cccccc;
  --border-light: #e2e8f0;
  --border-card: #f1f5f9;
  --danger-gold: #f59e0b;
  --gray-bg: #F4F5F6;
  --hover-blue: #1e3a8a;
  --primary-deep: #0f172a;
  --text-main: #1e293b;
  --text-sub: #64748b;
  --textGray: #555555;
  --white: #ffffff;
  /* ページ固有テーマ（各ページの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;
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 320px;
}
a {
	color: var(--accent);
	text-decoration: none;
}
.ib {
  display: inline-block;
}
ul {
  list-style: none;
}
.disnon{ display:none !important}
.mb1{ margin-bottom:1rem;}
.mb2{ margin-bottom:2rem;}
/* ========== ページタイトルエリア（.main-bar）========== */
.main-bar {
	border-bottom: 1px solid var(--border);
}
.main-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 2.5rem;
}
.main-bar h1 {
	font-size: clamp(1.8rem, 5vw, 3.0rem);
	font-weight: 900;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin-bottom: 1rem;
}
/* ========== セクション共通 ========== */
section {
	margin: auto;
}
section .sec-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 6rem 2.5rem;
}
/* sectionのnth-childで背景色を自動交互切り替え（グレー→白→グレー…） */
main section:nth-child(odd) {
	background-color: var(--white);
}
main section:nth-child(even) {
	background-color: var(--gray-bg);
}
h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.01em;
}
/* ========== 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);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#gnaviArea a:hover {
  color: var(--accent);
}
#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;
}


/* ========== カード共通 ========== */
.card .badge {
  font-size: 0.8rem;
  font-weight: 700;
}
.card h3 {
	font-family: var(--fb);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--black);
	border-bottom: 0;
	margin-bottom: 0.5rem;
	padding-bottom: 0;
	line-height: 1.2;
	text-align: left;
}
.card p {
	font-size: 0.975rem;
	color: var(--textGray);
	line-height: 1.85;
	margin: 0;
	text-align: left;
}

/* ========== グリッド（横2列）========== */
.grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(1, 1fr); /* スマホは1列 */
}
@media (min-width: 640px) {
.grid {
	grid-template-columns: repeat(2, 1fr); /* 480px以上で2列 */
}
}
/* ========== 3列グリッド（横3列）========== */
.grid-3 {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(1, 1fr);
}
 @media (min-width: 640px) {
.grid-3 {
	grid-template-columns: repeat(3, 1fr);
}
}

/* ========== カードレスポンシブ ========== */
@media (max-width: 768px) {
.grid {
	gap: 1.5rem;
}
}
@media (max-width: 640px) {
.card,  .grid .card {
	padding: 1.2rem 0;
}
.card.bgGray{ padding:1.2rem; margin-top:1.2rem; }

.grid .card, .grid-3 .card {
	padding: 1.2rem 0.2rem;
}
.main-inner,  section .sec-inner {
	padding: 2rem 1.2rem;
}
}

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

/* ========== 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);
  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;
}
/* ==========  FNAV  ========== */
#fnav {
	text-align:center;
	padding: 1.5rem 0;
	border-bottom:1px solid #555;
	background-color:var(--primary-deep);
}

#fnav h2{
	font-size:1.2rem;
	text-align:left;
	font-weight:500;
	margin-bottom:1rem;
	color:var(--white);
}
#fnav .fnav-inner{
	max-width: 1200px;
	padding:0 2.5rem;
	margin: 0 auto;
}
#fnav .fnav-link{
	display:flex;
	gap:2rem;
	align-items:stretch;
	justify-content:space-evenly;
	flex-wrap: wrap;
}
#fnav .fnav-link ul{
	width:calc((100% - 4rem) / 3);
}
#fnav .fnav-link ul li{
	text-align:left;
	position:relative;
	color:var(--border);
}
#fnav .fnav-link ul li a{
	padding-left:1em;
	text-align:left;
	position:relative;
	color:var(--border);
	transition: color 0.2s;
}
#fnav .fnav-link ul li a:hover{
	color:var(--white);
}
#fnav .fnav-link ul li a:before {
    color: #999999;
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: .45em;
    width: 6px;
    height: 10px;
    background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20141.2%20247.4%22%20fill%3D%22%23999999%22%3E%3Cpolygon%20points%3D%228.7%2C0%200%2C8.8%2053%2C61.9%200%2C114.9%208.7%2C123.7%2070.6%2C61.8%20%22%2F%3E%3C%2Fsvg%3E);
    background-size: 12px 20px;
}


/* ========== FOOTER ========== */
#footer {
  background: var(--primary-deep);
  padding: 2rem 4%;
  text-align: center;
}
#footer p, #footer small{  color: #94a3b8; text-align:center; }
/* ========== 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 {
  }
  h2 {
    font-size: 2rem;
  }
  h2.catchphrase {
  }
  .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;
  }
  h2 {
    font-size: 1.5rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 0.8rem 1.5rem;
  }
}
