@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;600;800&display=swap');

:root {
  /* Color Palette */
  --primary: #0f3f77; /* Deep Alpine Blue */
  --secondary: #1a73e8; /* Vibrant Blue */
  --accent: #00e0ff; /* Neon Ice Blue */
  --bg-light: #f4f9ff; /* Snowy White */
  --text-main: #1e293b;/*藍色*/
  --text-muted: #64748b;/*濃い灰色*/
  --white: #ffffff;
  
  /* Glassmorphism settings */
  --glass-bg: rgba(255, 255, 255, 0.7);/*白70%*/
  --glass-bg-dark: rgba(15, 63, 119, 0.85);/*群青85%%*/
  --glass-border: rgba(255, 255, 255, 0.5);/*白50%*/
  --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Spacing & Borders */
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
   margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}


/* Common Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 24px 0;
  background: var(--glass-bg);
}

header.scrolled {
  padding: 12px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  font-size: 1rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
	            .hero-title {
                font-size: 2.5rem;
            }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--glass-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .nav-links.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }
  
}
  /* Table */
        .table-responsive {
            overflow-x: auto;
            border-radius: var(--radius-lg);
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            background: var(--white);
        }

        .page-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
        }

        .page-table th, 
        .page-table td {
            padding: 16px 24px;
            border-bottom: 1px solid #e2e8f0;
        }

        .page-table th {
            background-color: #f8fafc;
            color: var(--text-muted);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 1px;
        }

        .page-table tr:last-child td {
            border-bottom: none;
        }

        .page-table tr:hover td {
            background-color: #f1f5f9;
        }


 .section-title {
            font-size: 2.5rem;
            color: var(--primary);
            text-align: center;
            margin-bottom: 22px;
        }

        .section-subtitle {
            text-align: center;
            color: var(--text-muted);
            margin-bottom: 48px;
            font-size: 1.1rem;
        }




footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 24px;
  margin-top: 80px;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.footer-links {
  padding-top:40px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}



.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
   .footer-content {
    grid-template-columns: 1fr;
  }
}
/*page*/
 .page-header {
            padding: 150px 0 80px;
            background: linear-gradient(135deg, var(--secondary), var(--bg-light));
            color: var(--white);
            text-align: center;
        }
        
        .page-title {
            font-size: 3rem;
            margin-bottom: 16px;
        }

/*waku*/
.docs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
            margin-top: 40px;
        }

        .doc-card {
            padding: 32px;
            border-radius: var(--radius-lg);
            display: flex;
            flex-direction: column;
            gap: 16px;
            transition: all 0.3s ease;
        }

        .doc-card:hover {
            transform: translateY(-5px);
            border-color: var(--secondary);
            box-shadow: 0 15px 35px rgba(26, 115, 232, 0.15);
        }

        .doc-icon {
            font-size: 2.5rem;
            color: var(--secondary);
        }

        .doc-title {
            font-size: 1.2rem;
            color: var(--primary);
            font-weight: 700;
        }

        .doc-desc {
            color: var(--text-muted);
            font-size: 0.95rem;
            flex-grow: 1;
        }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--glass-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .nav-links.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }


  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
   .nav-links > a,
.dropdown-btn {
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  font-size: 1rem;
  
}
.nav-links > a::after,
.dropdown-btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
 height: 2px;
  background: var(--secondary);
  transition: width 0.5s ease;
}
.nav-links > a:hover::after,
.nav-links > a.active::after,
.dropdown:hover .dropdown-btn::after,
.dropdown.open .dropdown-btn::after {
  width: 100%;
}
/* ドロップダウンメニューの共通スタイル */
.dropdown {
  position: relative;
}
.dropdown-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dropdown-btn .arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-btn .arrow,
.dropdown.open .dropdown-btn .arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(15, 63, 119, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.dropdown-menu a {
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  text-align: left;
  transition: all 0.2s ease;
}
.dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--secondary);
  padding-left: 24px;
}

/* PC等でのホバー表示 */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(-5%);

  }
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
}


/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--glass-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .nav-links.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }
  /* モバイル向けドロップダウンスタイル */
  .dropdown {
    width: 100%;
    text-align: left;
  }

  .dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
  }

  .dropdown-btn::after {
    display: none; /* モバイルではホバー下線は非表示 */
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(15, 63, 119, 0.04);
    border-radius: var(--radius-md);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 0;
    margin-top: 0;
  }

  .dropdown.open .dropdown-menu {
    max-height: 300px;
    opacity: 1;
    pointer-events: all;
    padding: 8px 0;
    margin-top: 8px;
  }

  .dropdown-menu a {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .page-responsive {
            overflow-x: hidden;
        }
  }
  /*waku*/
    .w-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
        margin-top: 40px;
        }
	.w-card {
        border-radius: var(--radius-lg);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        background: var(--white);
		box-shadow: 0 4px 20px rgba(0,0,0,0.05);}
        

.w-content {
            padding: 24px;
        }
.w-content img{
	width:80%;
}

        .w-date {
        font-size: 0.85rem;
   　    color: var(--secondary);
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
        }
	 .w-excerpt {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

	.list{
			display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
			gap: 32px;
			padding-left:15px;}
	.list .list-i{
			border-radius: var(--radius-lg);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            background: var(--white);
			box-shadow: 0 4px 20px rgba(0,0,0,0.05);
			padding: 18px;
			display: flex; /*横並び*/		
				font-size:1.2rem;
			}
	
	
	.list-i img{
		height: 50px; /*画像サイズ指定*/
		overflow: hidden;
		position: relative;
		vertical-align: middle;
		margin-right:15px;
		}

	.list .list-i:hover {
		background-color: #f1f5f9;		
		}


	.page-table td a.tdlink{
	display:block;
	font-weight: 600;
	color: var(--primary);
	}

