@charset "utf-8";

/* ====== BASE SETTINGS ===== */
:root {
  /* メインカラー */
  --color-main: #0056b3;
  /* アクセント */
  --color-accent: #00ced1;
  /* 背景色 */
  --color-bg: #f8fcff;
  /* 文字色 */
  --color-text: #333;
  /* ヘッター & フッター */
  --color-ver: #f0f7ff;
  /* レイアウト */
  --radius-card: 30px;
  --radius-btn: 50px;
  /* アニメーション */
  --transition-base: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --left-ratio: 50%;
  --slide-transition: flex-basis 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  --font-main: 'Montserrat', 'Zen Kaku Gothic New', sans-serif;
  --font-logo: 'Imperial Script', cursive;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  font-feature-settings: "palt"; 
  letter-spacing: 0.02em;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden; /* 横揺れ防止 */
}

h1, h2, h3 {
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

/* --- バックホーム --- */
.back-home {
  display: block;
  margin: 3rem auto 0;
  text-align: center;
  color: var(--color-main);
  font-weight: 600;
}

.back-home:hover {
  color: var(--color-main);
  text-decoration: underline;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--color-main), #104a8e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3), inset 0 1px 1px rgba(255,255,255,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 9999;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--color-accent), var(--color-main));
  box-shadow: 0 8px 25px rgba(0, 206, 209, 0.5);
  transform: translateY(-5px);
}

.back-to-top:hover svg {
  transform: translateY(-4px);
}

/* --- セクション --- */
section {
  opacity: 0;
  transform: translateY(30px); /* フェードイン */
  transition: all 1s ease-out;
  padding: 100px 20px;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  align-items: center;
  text-align: center;
  margin-bottom: 5rem;
}

.section-label {
  font-size: 0.9rem;
  color: var(--color-main);
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: 0.1em;
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
  font-family: var(--font-main);
  font-weight: 600;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0), var(--color-main), rgba(59, 130, 246, 0));
}

.section-subtitle {
  color: #666;
}

/* --- Header --- */
header.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--color-ver);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 10%;
  z-index: 1000;
}

.logo {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.header-logo {
  font-family: var(--font-logo);
  font-size: 2rem;
  letter-spacing: 0.15rem;
  color: var(--color-main);
  transition: color 0.3s;
  white-space: nowrap;
  font-weight: bold;
}

.header-logo span {
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
  font-weight: 300;
  color: #85b6da;
  font-family: var(--font-main);
}

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

.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--color-text);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--color-text);
  border-radius: var(--radius-card);
  transition: all 0.3s ease;
}

/* --- Footer --- */
.site-footer {
  width: 100%;
  color: #0056b3;
}

/* 上段：カード */
.footer-action-layer {
  background-color: #165e83;
  padding: 100px 0 140px;
}

.action-cards {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.action-card {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 50px 40px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.action-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
  text-shadow: none !important;
}

.card-sub {
  font-size: 1rem;
  margin-top: 8px;
  text-shadow: none !important;
}

.card-arrow {
  width: 54px;
  height: 54px;
  background: #f4f4f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #165e83;
  transition: all 0.3s;
}

.action-card:hover .card-arrow {
  background: #165e83;
  color: #fff;
  transform: rotate(-45deg);
}

/* 下段： メインフッター */
.footer-main-layer {
  background-color: var(--color-ver);
  padding: 100px 0 40px;
  margin-top: -80px;
  border-radius: 60px 60px 0 0;
  border-top: 1px solid rgba(0, 86, 179, 0.1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* カラム1 */
.footer-info {
  flex: 1.2;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-logo);
  font-size: 2.5rem;
  color: var(--color-main);
  letter-spacing: 0.15rem;
  font-weight: bold;
}

.footer-logo-text span {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 1.3rem;
  color: #85b6da;
  letter-spacing: 0.05rem;
}

.footer-description {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 25px;
  text-shadow: none !important;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px !important;
  margin-top: 20px;
}

.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.footer-sns-link svg {
  width: 28px;
  height: 28px;
  display: block;
}

.footer-sns-link:hover {
  transform: translateY(-5px);
  filter: brightness(1.2);
}

/* カラム2〜4 */
.footer-nav {
  flex: 2;
  display: flex;
  justify-content: space-between;
}

.nav-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-main);
  margin-bottom: 25px;
  text-shadow: none !important;
}

.nav-col ul {
  padding: 0;
  list-style: none;
}

.nav-col li {
  margin-bottom: 12px;
}

.nav-col a {
  color: var(--color-text);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.nav-col a:hover {
  color: var(--color-accent);
  padding-left: 3px;
  text-decoration: underline;
}

/* --- コピーライト --- */
.copyright {
  margin-top: 80px;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 30px;
  text-shadow: none !important;
}