
/* ===== branch.html ===== */

:root{
  --main:#0d4ea6;
  --sub:#2f6fcb;
  --light:#eef5ff;
  --text:#1d3557;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,'Yu Gothic',sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.8;
}

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

img{
  max-width:100%;
  display:block;
}

.wrap{
  max-width:1200px;
  margin:auto;
  padding:0 24px;
}

/* Header */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(13,78,166,.08);
  transition:.4s;
}

header.scrolled{
  box-shadow:0 10px 30px rgba(13,78,166,.08);
}

.head{
  height:var(--header-height-desktop);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo img{
  height:calc(var(--header-height-desktop) - 20px);
}

.nav{
  display:flex;
  flex-direction:column;
  gap:5px;
  font-size:13px;
  letter-spacing:.08em;
  margin-left:auto;
}

.main-menu{
  display:flex;
  gap:34px;
}

.main-menu a{
  text-align:center;
  line-height:1.2;
}

.main-menu a small{
  font-size:10px;
  color:#666;
  display:block;
}

.contact-menu{
  display:flex;
  gap:0;
  justify-content:flex-end;
  margin-top:10px;
}

.contact-menu a{
  text-align:center;
  line-height:1.2;
}

.contact-menu a small{
  font-size:10px;
  color:#666;
  display:block;
}

.sub-menu{
  display:flex;
  gap:20px;
  font-size:12px;
  justify-content:flex-end;
}

.sub-menu a:hover{
  color:var(--main);
}

.left-menu{
  display:flex;
  gap:34px;
  font-size:16px;
  letter-spacing:.08em;
  margin-left:50px;
  align-items: center;
}

.left-menu a{
  text-align:center;
  line-height:1.2;
}

.left-menu a small{
  font-size:10px;
  color:#666;
  display:block;
}

.dropdown {
  position: relative;
  display: flex;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 10px 30px rgba(13,78,166,0.1);
  min-width: 140px;
  padding: 10px 0;
  z-index: 1001;
  border-radius: 4px;
  border: 1px solid rgba(13,78,166,0.05);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
  transition: .3s;
}

.dropdown-content a:hover {
  background: var(--light);
  color: var(--main);
}

.right-menu{
  display:flex;
  flex-direction:column;
  gap:5px;
  align-items:flex-end;
  margin-left:auto;
  display:none;
}

.menu-toggle{
  display:none;
  width: 30px;
  height: 20px;
  position: relative;
  cursor:pointer;
  margin-left:20px;
}

.menu-toggle span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--main);
  transition: .3s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

.nav-menu{
  display:flex;
  flex:1;
  justify-content:flex-end;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.nav-menu.active{
  display:flex;
}

/* Hero Buttons */
.hero-btns {
  display: flex;
  gap: 10px;
}
.hero-btn {
  display: block;
  width: 180px;
  padding: 8px 10px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--text);
  line-height: 1.2;
}
.hero-btn.client {
  background: var(--text);
  color: #fff !important;
}
.hero-btn.staff {
  background: transparent;
  color: var(--text) !important;
}
.hero-btn-label {
  display: block;
  font-size: 8px;
  margin-bottom: 1px;
  opacity: 0.8;
  letter-spacing: 0.15em;
}
.hero-btn-text { display: block; font-size: 12px; font-weight: bold; }

.nav a:hover{
  color:var(--main);
}

.contact{
  padding:12px 20px;
  border:1px solid var(--main);
  border-radius:0;
  color:var(--main);
}

.contact:hover{
  background:var(--main);
  color:#fff;
}

/* Hero */
.hero{
  height: 40vh;
  min-height: 300px;
  background:url('../images/jpg/img6.png') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  margin-top:var(--header-height-desktop);
}

.hero:before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(13,78,166,0.4);
}

.hero h1{
  position:relative;
  z-index:1;
  color:#fff;
  font-size:48px;
  font-weight:300;
  letter-spacing: 0.1em;
}

.sub{
  font-size:14px;
  letter-spacing:.3em;
  color:var(--sub);
}

.btn{
  display:inline-block;
  padding:16px 34px;
  background:var(--main);
  color:#fff;
  border-radius:999px;
  transition:.3s;
}

.btn:hover{
  background:var(--sub);
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(13,78,166,.20);
}

/* Section */
section{
  padding:110px 0;
}

.ttl{
  font-size:32px;
  font-weight:300;
  color:var(--main);
  margin-bottom:5px;
  text-align: center;
}

.lead{
  color:#667;
  max-width:720px;
  margin: 0 auto 48px;
  text-align: center;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.card img{
  height:320px;
  object-fit:cover;
  transition:1.4s;
}

.card:hover img{
  transform:scale(1.06);
}

.card h3{
  font-size:24px;
  margin:18px 0 8px;
}

.card p{
  color:#666;
  font-size:14px;
}

.bg{
  background:var(--light);
}

.split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:56px;
  align-items:center;
}

.numrow{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  text-align:center;
  margin-top:44px;
}

.num{
  font-size:52px;
  font-weight:200;
  color:var(--main);
}

.small{
  font-size:12px;
  color:#777;
}

.cta{
  padding:90px;
  border:1px solid rgba(13,78,166,.15);
  text-align:center;
}

.cta h2{
  font-size:44px;
  color:var(--main);
  margin-bottom:14px;
}

footer{
  padding:42px 0;
  border-top:1px solid rgba(13,78,166,.08);
}

.foot{
  color:#678;
  font-size:13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.foot-menu{
  display: flex;
  gap: 24px;
}

.foot-menu a:hover{
  color: var(--main);
}

/* Animation */
.fade{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s ease;
}

.fade.show{
  opacity:1;
  transform:translateY(0);
}

.map-container {
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13,78,166,.1);
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* Access & License Styling */
.access-item {
  margin-bottom: 50px;
  text-align: center;
}
.access-item-ttl {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  color: var(--main);
  border-bottom: 1px solid var(--main);
  padding-bottom: 3px;
  margin-bottom: 15px;
  letter-spacing: 0.2em;
}
.access-item-content {
  font-size: 15px;
  color: #556;
  line-height: 1.8;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}
.client-grid div {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
}
.license-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  text-align: left;
  border: 1px solid #eee;
}
.license-table th, .license-table td {
  padding: 12px 15px;
  border: 1px solid #eee;
  font-size: 14px;
}
.license-table th {
  background: #f8faff;
  color: var(--main);
  width: 160px;
  font-weight: bold;
}

/* Breadcrumb */
.breadcrumb-nav {
  padding: 15px 24px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.breadcrumb {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li + li::before {
  content: " > ";
  padding: 0 8px;
  color: #999;
}

.breadcrumb li a {
  color: var(--main);
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: #333;
  font-weight: bold;
}

/* Page Menu */
.page-menu {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.page-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.page-menu a {
  text-align: center;
  display: block;
  transition: .3s;
}

.page-menu a small {
  display: block;
  font-size: 11px;
  color: #888;
}

/* メニュー直後のセクションの余白を調整 */
.page-menu + section {
  padding-top: 40px;
}

/* Profile Table */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 60px;
  border-top: 2px solid var(--main);
}

.profile-table th, .profile-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.profile-table th {
  width: 220px;
  background-color: #f9f9f9;
  font-weight: 600;
  color: var(--main);
  vertical-align: top;
}

.profile-table td {
  line-height: 1.8;
  font-size: 15px;
}

.officer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}


/* Active state for left-menu items */
.left-menu a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown parent link when active */
.dropdown > a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown content active link */
.dropdown-content a.is-active {
  background: var(--light);
  color: var(--main);
  font-weight: bold;
  border-bottom: none; /* Ensure no underline here if parent has one */
}


/* Responsive */
@media(max-width:980px){
.grid{grid-template-columns:1fr 1fr;}
.split,.numrow{grid-template-columns:1fr 1fr;}
.hero{margin-top:var(--header-height-1024);}
.left-menu{display:none; flex-direction:column; gap:15px; width:100%; text-align:left; margin-top:15px; border-top:1px solid rgba(13,78,166,0.08); padding-top:15px; margin-left: 0;}
.nav-menu.active .left-menu{display:flex;}
.right-menu{margin-left:0;}
.contact-menu{flex-direction:column; gap:5px;}
.sub-menu{justify-content:center; gap:10px;}
.menu-toggle{display:block;}
.nav-menu{display:none;}
.nav-menu.active{display:flex; flex-direction:column; position:absolute; top:100%; left:0; width:100%; background:#fff; padding:20px; box-shadow:0 10px 30px rgba(0,0,0,.1); z-index:1000; align-items:flex-start; max-height:calc(100vh - 80px); overflow-y:auto;}

.right-menu{margin-left:auto; margin-right:20px;}
.head{justify-content:space-between;}
}

@media(max-width:640px){
.page-menu ul{gap:20px; flex-direction:column; align-items:center;}
.page-menu{padding:20px 0;}
.client-grid { grid-template-columns: 1fr; gap: 8px; }
.license-table th, .license-table td {
  display: block;
  width: 100%;
}
.license-table th {
  background: #f0f4f9;
}

.profile-table th, .profile-table td {
  display: block;
  width: 100%;
}
}

@media(max-width:640px){
.logo img{height:90px;}
.grid,.split,.numrow{grid-template-columns:1fr;}
.left-menu{gap:5px;}
.right-menu{flex-direction:column; gap:5px;}
.nav-menu.active{flex-direction:column;}
.foot-menu{justify-content: center; flex-wrap: wrap; gap: 10px 20px;}
}

/* Sticky Contact Button */
.sticky-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1001;
}
.sticky-box {
  display: flex;
  gap: 12px;
}
.sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 80px;
  color: #fff !important;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
.sticky-btn.client { background: var(--main); }
.sticky-btn.staff { background: #f39c12; }
.sticky-btn:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}
.sticky-label { font-size: 10px; margin-bottom: 2px; opacity: 0.9; }
.sticky-text { font-size: 13px; line-height: 1.3; }

@media(max-width:640px){
  .sticky-contact {
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  }
  .sticky-box { gap: 10px; }
  .sticky-btn { flex: 1; height: 60px; width: auto; }
  .sticky-text { font-size: 11px; }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 120px; /* Position above sticky-contact on desktop */
  right: 20px;
  z-index: 1002; /* Ensure it's above sticky-contact */
  background: var(--main);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Dropdown */
@media(max-width:980px){
  .dropdown.open .dropdown-content {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 10px 20px 0;
  }
}


/* ===== koriyama.html ===== */

:root{
  --main:#0d4ea6;
  --sub:#2f6fcb;
  --light:#eef5ff;
  --text:#1d3557;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,'Yu Gothic',sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.8;
}

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

img{
  max-width:100%;
  display:block;
}

.wrap{
  max-width:1200px;
  margin:auto;
  padding:0 24px;
}

/* Header */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(13,78,166,.08);
  transition:.4s;
}

header.scrolled{
  box-shadow:0 10px 30px rgba(13,78,166,.08);
}

.head{
  height:160px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo img{
  height:140px;
}

.nav-menu{
  display:flex;
  flex:1;
  justify-content:flex-end;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Hero Buttons */
.hero-btns {
  display: flex;
  gap: 10px;
}
.hero-btn {
  display: block;
  width: 180px;
  padding: 8px 10px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--text);
  line-height: 1.2;
}
.hero-btn.client {
  background: var(--text);
  color: #fff !important;
}
.hero-btn.staff {
  background: transparent;
  color: var(--text) !important;
}

.hero-btn-label {
  display: block;
  font-size: 8px;
  margin-bottom: 1px;
  opacity: 0.8;
  letter-spacing: 0.15em;
}
.hero-btn-text { display: block; font-size: 12px; font-weight: bold; }

.left-menu{
  display:flex;
  gap:34px;
  font-size:16px;
  letter-spacing:.08em;
  margin-left:50px;
  align-items: center;
}

.left-menu a{
  text-align:center;
  line-height:1.2;
}

.left-menu a small{
  font-size:10px;
  color:#666;
  display:block;
}

.dropdown {
  position: relative;
  display: flex;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 10px 30px rgba(13,78,166,0.1);
  min-width: 140px;
  padding: 10px 0;
  z-index: 1001;
  border-radius: 4px;
  border: 1px solid rgba(13,78,166,0.05);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
  transition: .3s;
}

.dropdown-content a:hover {
  background: var(--light);
  color: var(--main);
}

.menu-toggle{
  display:none;
  cursor:pointer;
  font-size:24px;
  margin-left:20px;
}

/* Hero */
.hero-sub{
  height:40vh;
  min-height:300px;
  background:url('../images/jpg/img6.png') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  margin-top:160px;
}

.hero-sub:before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(13,78,166,0.4);
}

.hero-sub h1{
  position:relative;
  z-index:1;
  color:#fff;
  font-size:48px;
  font-weight:300;
  letter-spacing: 0.1em;
}

/* Section */
section{
  padding:100px 0;
}

.ttl{
  font-size:32px;
  font-weight:300;
  color:var(--main);
  margin-bottom:5px;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-nav {
  padding: 15px 24px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.breadcrumb {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li + li::before {
  content: " > ";
  padding: 0 8px;
  color: #999;
}

.breadcrumb li a {
  color: var(--main);
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: #333;
  font-weight: bold;
}



/* Page Menu */
.page-menu {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.page-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.page-menu a {
  text-align: center;
  display: block;
  transition: .3s;
}

.page-menu a small {
  display: block;
  font-size: 11px;
  color: #888;
}

/* メニュー直後のセクションの余白を調整 */
.page-menu + section {
  padding-top: 40px;
}

/* Animation */
.fade{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s ease;
}

.fade.show{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:640px){
  .page-menu ul{gap:20px; flex-direction:column; align-items:center;}
  .page-menu{padding:20px 0;}
}

.map-container {
  margin-top: 40px;
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13,78,166,.1);
}
.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* Sticky Contact Box */
.sticky-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1001;
}
.sticky-box {
  display: flex;
  gap: 12px;
}
.sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 80px;
  color: #fff !important;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
.sticky-btn.client { background: var(--main); }
.sticky-btn.staff { background: #f39c12; }
.sticky-btn:hover { transform: translateY(-5px); opacity: 0.9; }
.sticky-label { font-size: 10px; margin-bottom: 2px; opacity: 0.9; }
.sticky-text { font-size: 13px; line-height: 1.3; }
@media(max-width:640px){
  .sticky-contact { right: 0; bottom: 0; width: 100%; padding: 10px; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); box-shadow: 0 -5px 20px rgba(0,0,0,0.1); }
  .sticky-box { gap: 10px; }
  .sticky-btn { flex: 1; height: 60px; width: auto; }
  .sticky-text { font-size: 11px; }
}

/* Access & License Styling */
.access-item {
  margin-bottom: 50px;
  text-align: center;
}
.access-item-ttl {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  color: var(--main);
  border-bottom: 1px solid var(--main);
  padding-bottom: 3px;
  margin-bottom: 15px;
  letter-spacing: 0.2em;
}
.access-item-content {
  font-size: 15px;
  color: #556;
  line-height: 1.8;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}
.client-grid div {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
}
.license-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  text-align: left;
  border: 1px solid #eee;
}
.license-table th, .license-table td {
  padding: 12px 15px;
  border: 1px solid #eee;
  font-size: 14px;
}
.license-table th {
  background: #f8faff;
  color: var(--main);
  width: 160px;
  font-weight: bold;
}

/* Active state for left-menu items */
.left-menu a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown parent link when active */
.dropdown > a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown content active link */
.dropdown-content a.is-active {
  background: var(--light);
  color: var(--main);
  font-weight: bold;
  border-bottom: none; /* Ensure no underline here if parent has one */
}

footer{
  padding:42px 0;
  border-top:1px solid rgba(13,78,166,.08);
}

.foot{
  color:#678;
  font-size:13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.foot-menu{
  display: flex;
  gap: 24px;
}

.foot-menu a:hover{
  color: var(--main);
}

@media(max-width:980px){
  .head{height:100px;}
  .logo img{height:70px;}
  .hero-sub{margin-top:100px;}
  .left-menu{display:none;}
  .menu-toggle{display:block;}
  .nav-menu{display:none;}
  .nav-menu.active{display:flex; flex-direction:column; position:absolute; top:100%; left:0; width:100%; background:#fff; padding:20px; box-shadow:0 10px 30px rgba(0,0,0,.1); z-index:1000; align-items:flex-end;}
}

@media(max-width:640px){
  .client-grid { grid-template-columns: 1fr; gap: 8px; }
  .license-table th, .license-table td {
    display: block;
    width: 100%;
  }
  .license-table th { background: #f0f4f9; }

  .hero-btns { flex-direction: column; gap: 10px; margin-top: 0; }
  .hero-btn { width: 100%; padding: 12px 15px; border-radius: 2px; }
  .hero-btn-label { font-size: 10px; margin-bottom: 2px; }
  .hero-btn-text { font-size: 14px; }
  .left-menu{gap:5px;}
  .nav-menu.active{flex-direction:column;}
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 120px;
  right: 20px;
  z-index: 1002;
  background: var(--main);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}


/* ===== nagano.html ===== */

:root{
  --main:#0d4ea6;
  --sub:#2f6fcb;
  --light:#eef5ff;
  --text:#1d3557;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,'Yu Gothic',sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.8;
}

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

img{
  max-width:100%;
  display:block;
}

.wrap{
  max-width:1200px;
  margin:auto;
  padding:0 24px;
}

/* Header */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(13,78,166,.08);
  transition:.4s;
}

header.scrolled{
  box-shadow:0 10px 30px rgba(13,78,166,.08);
}

.head{
  height:160px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo img{
  height:140px;
}

.nav-menu{
  display:flex;
  flex:1;
  justify-content:flex-end;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Hero Buttons */
.hero-btns {
  display: flex;
  gap: 10px;
}
.hero-btn {
  display: block;
  width: 180px;
  padding: 8px 10px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--text);
  line-height: 1.2;
}
.hero-btn.client {
  background: var(--text);
  color: #fff !important;
}
.hero-btn.staff {
  background: transparent;
  color: var(--text) !important;
}

.hero-btn-label {
  display: block;
  font-size: 8px;
  margin-bottom: 1px;
  opacity: 0.8;
  letter-spacing: 0.15em;
}
.hero-btn-text { display: block; font-size: 12px; font-weight: bold; }

.left-menu{
  display:flex;
  gap:34px;
  font-size:16px;
  letter-spacing:.08em;
  margin-left:50px;
  align-items: center;
}

.left-menu a{
  text-align:center;
  line-height:1.2;
}

.left-menu a small{
  font-size:10px;
  color:#666;
  display:block;
}

.dropdown {
  position: relative;
  display: flex;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 10px 30px rgba(13,78,166,0.1);
  min-width: 140px;
  padding: 10px 0;
  z-index: 1001;
  border-radius: 4px;
  border: 1px solid rgba(13,78,166,0.05);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
  transition: .3s;
}

.dropdown-content a:hover {
  background: var(--light);
  color: var(--main);
}

.menu-toggle{
  display:none;
  cursor:pointer;
  font-size:24px;
  margin-left:20px;
}

/* Hero */
.hero-sub{
  height:40vh;
  min-height:300px;
  background:url('../images/jpg/img6.png') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  margin-top:160px;
}

.hero-sub:before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(13,78,166,0.4);
}

.hero-sub h1{
  position:relative;
  z-index:1;
  color:#fff;
  font-size:48px;
  font-weight:300;
  letter-spacing: 0.1em;
}

/* Section */
section{
  padding:100px 0;
}

.ttl{
  font-size:32px;
  font-weight:300;
  color:var(--main);
  margin-bottom:5px;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-nav {
  padding: 15px 24px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.breadcrumb {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li + li::before {
  content: " > ";
  padding: 0 8px;
  color: #999;
}

.breadcrumb li a {
  color: var(--main);
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: #333;
  font-weight: bold;
}

/* Page Menu */
.page-menu {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.page-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.page-menu a {
  text-align: center;
  display: block;
  transition: .3s;
}

.page-menu a small {
  display: block;
  font-size: 11px;
  color: #888;
}

/* メニュー直後のセクションの余白を調整 */
.page-menu + section {
  padding-top: 40px;
}

/* Animation */
.fade{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s ease;
}

.fade.show{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:640px){
  .page-menu ul{gap:20px; flex-direction:column; align-items:center;}
  .page-menu{padding:20px 0;}
}

.map-container {
  margin-top: 40px;
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13,78,166,.1);
}
.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* Sticky Contact Box */
.sticky-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1001;
}
.sticky-box {
  display: flex;
  gap: 12px;
}
.sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 80px;
  color: #fff !important;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
.sticky-btn.client { background: var(--main); }
.sticky-btn.staff { background: #f39c12; }
.sticky-btn:hover { transform: translateY(-5px); opacity: 0.9; }
.sticky-label { font-size: 10px; margin-bottom: 2px; opacity: 0.9; }
.sticky-text { font-size: 13px; line-height: 1.3; }
@media(max-width:640px){
  .sticky-contact { right: 0; bottom: 0; width: 100%; padding: 10px; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); box-shadow: 0 -5px 20px rgba(0,0,0,0.1); }
  .sticky-box { gap: 10px; }
  .sticky-btn { flex: 1; height: 60px; width: auto; }
  .sticky-text { font-size: 11px; }
}

/* Access & License Styling */
.access-item {
  margin-bottom: 50px;
  text-align: center;
}
.access-item-ttl {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  color: var(--main);
  border-bottom: 1px solid var(--main);
  padding-bottom: 3px;
  margin-bottom: 15px;
  letter-spacing: 0.2em;
}
.access-item-content {
  font-size: 15px;
  color: #556;
  line-height: 1.8;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}
.client-grid div {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
}
.license-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  text-align: left;
  border: 1px solid #eee;
}
.license-table th, .license-table td {
  padding: 12px 15px;
  border: 1px solid #eee;
  font-size: 14px;
}
.license-table th {
  background: #f8faff;
  color: var(--main);
  width: 160px;
  font-weight: bold;
}

/* Active state for left-menu items */
.left-menu a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown parent link when active */
.dropdown > a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown content active link */
.dropdown-content a.is-active {
  background: var(--light);
  color: var(--main);
  font-weight: bold;
  border-bottom: none; /* Ensure no underline here if parent has one */
}

footer{
  padding:42px 0;
  border-top:1px solid rgba(13,78,166,.08);
}

.foot{
  color:#678;
  font-size:13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.foot-menu{
  display: flex;
  gap: 24px;
}

.foot-menu a:hover{
  color: var(--main);
}

@media(max-width:980px){
  .head{height:100px;}
  .logo img{height:70px;}
  .hero-sub{margin-top:100px;}
  .left-menu{display:none;}
  .menu-toggle{display:block;}
  .nav-menu{display:none;}
  .nav-menu.active{display:flex; flex-direction:column; position:absolute; top:100%; left:0; width:100%; background:#fff; padding:20px; box-shadow:0 10px 30px rgba(0,0,0,.1); z-index:1000; align-items:flex-end;}
}

@media(max-width:640px){
  .client-grid { grid-template-columns: 1fr; gap: 8px; }
  .license-table th, .license-table td {
    display: block;
    width: 100%;
  }
  .license-table th { background: #f0f4f9; }

  .hero-btns { flex-direction: column; gap: 10px; margin-top: 0; }
  .hero-btn { width: 100%; padding: 12px 15px; border-radius: 2px; }
  .hero-btn-label { font-size: 10px; margin-bottom: 2px; }
  .hero-btn-text { font-size: 14px; }
  .left-menu{gap:5px;}
  .nav-menu.active{flex-direction:column;}
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 120px;
  right: 20px;
  z-index: 1002;
  background: var(--main);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}


/* ===== sendai.html ===== */

:root{
  --main:#0d4ea6;
  --sub:#2f6fcb;
  --light:#eef5ff;
  --text:#1d3557;
  --header-height-desktop: 160px;
  --header-height-1024: 100px;
  --header-height-768: 80px;
  --header-height-480: 70px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,'Yu Gothic',sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.8;
}

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

img{
  max-width:100%;
  display:block;
}

.wrap{
  max-width:1200px;
  margin:auto;
  padding:0 24px;
}

/* Header */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(13,78,166,.08);
  transition:.4s;
}

header.scrolled{
  box-shadow:0 10px 30px rgba(13,78,166,.08);
}

.head{
  height:var(--header-height-desktop);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo img{
  height:calc(var(--header-height-desktop) - 20px);
}

.nav{
  display:flex;
  flex-direction:column;
  gap:5px;
  font-size:13px;
  letter-spacing:.08em;
  margin-left:auto;
}

.main-menu{
  display:flex;
  gap:34px;
}

.main-menu a{
  text-align:center;
  line-height:1.2;
}

.main-menu a small{
  font-size:10px;
  color:#666;
  display:block;
}

.contact-menu{
  display:flex;
  gap:0;
  justify-content:flex-end;
  margin-top:10px;
}

.contact-menu a{
  text-align:center;
  line-height:1.2;
}

.contact-menu a small{
  font-size:10px;
  color:#666;
  display:block;
}

.sub-menu{
  display:flex;
  gap:20px;
  font-size:12px;
  justify-content:flex-end;
}

.sub-menu a:hover{
  color:var(--main);
}

.left-menu{
  display:flex;
  gap:34px;
  font-size:16px;
  letter-spacing:.08em;
  margin-left:50px;
  align-items: center;
}

.left-menu a{
  text-align:center;
  line-height:1.2;
}

.left-menu a small{
  font-size:10px;
  color:#666;
  display:block;
}

.dropdown {
  position: relative;
  display: flex;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 10px 30px rgba(13,78,166,0.1);
  min-width: 140px;
  padding: 10px 0;
  z-index: 1001;
  border-radius: 4px;
  border: 1px solid rgba(13,78,166,0.05);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
  transition: .3s;
}

.dropdown-content a:hover {
  background: var(--light);
  color: var(--main);
}

.right-menu{
  display:flex;
  flex-direction:column;
  gap:5px;
  align-items:flex-end;
  margin-left:auto;
  display:none;
}

.menu-toggle{
  display:none;
  cursor:pointer;
  font-size:24px;
  margin-left:20px;
}

.nav-menu{
  display:flex;
  flex:1;
  justify-content:flex-end;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.nav-menu.active{
  display:flex;
}

/* Hero Buttons */
.hero-btns {
  display: flex;
  gap: 10px;
}
.hero-btn {
  display: block;
  width: 180px;
  padding: 8px 10px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--text);
  line-height: 1.2;
}
.hero-btn.client {
  background: var(--text);
  color: #fff !important;
}
.hero-btn.staff {
  background: transparent;
  color: var(--text) !important;
}
.hero-btn-label {
  display: block;
  font-size: 8px;
  margin-bottom: 1px;
  opacity: 0.8;
  letter-spacing: 0.15em;
}
.hero-btn-text { display: block; font-size: 12px; font-weight: bold; }

.nav a:hover{
  color:var(--main);
}

.contact{
  padding:12px 20px;
  border:1px solid var(--main);
  border-radius:0;
  color:var(--main);
}

.contact:hover{
  background:var(--main);
  color:#fff;
}

/* Hero */
.hero{
  height: 40vh;
  min-height: 300px;
  background:url('../images/jpg/img6.png') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  margin-top:var(--header-height-desktop);
}

.hero:before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(13,78,166,0.4);
}

.hero h1{
  position:relative;
  z-index:1;
  color:#fff;
  font-size:48px;
  font-weight:300;
  letter-spacing: 0.1em;
}

.sub{
  font-size:14px;
  letter-spacing:.3em;
  color:var(--sub);
}

.btn{
  display:inline-block;
  padding:16px 34px;
  background:var(--main);
  color:#fff;
  border-radius:999px;
  transition:.3s;
}

.btn:hover{
  background:var(--sub);
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(13,78,166,.20);
}

/* Section */
section{
  padding:110px 0;
}

.ttl{
  font-size:32px;
  font-weight:300;
  color:var(--main);
  margin-bottom:5px;
  text-align: center;
}

.lead{
  color:#667;
  max-width:720px;
  margin: 0 auto 48px;
  text-align: center;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.card img{
  height:320px;
  object-fit:cover;
  transition:1.4s;
}

.card:hover img{
  transform:scale(1.06);
}

.card h3{
  font-size:24px;
  margin:18px 0 8px;
}

.card p{
  color:#666;
  font-size:14px;
}

.bg{
  background:var(--light);
}

.split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:56px;
  align-items:center;
}

.numrow{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  text-align:center;
  margin-top:44px;
}

.num{
  font-size:52px;
  font-weight:200;
  color:var(--main);
}

.small{
  font-size:12px;
  color:#777;
}

.cta{
  padding:90px;
  border:1px solid rgba(13,78,166,.15);
  text-align:center;
}

.cta h2{
  font-size:44px;
  color:var(--main);
  margin-bottom:14px;
}

footer{
  padding:42px 0;
  border-top:1px solid rgba(13,78,166,.08);
}

.foot{
  color:#678;
  font-size:13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.foot-menu{
  display: flex;
  gap: 24px;
}

.foot-menu a:hover{
  color: var(--main);
}

/* Animation */
.fade{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s ease;
}

.fade.show{
  opacity:1;
  transform:translateY(0);
}

.map-container {
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13,78,166,.1);
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* Access & License Styling */
.access-item {
  margin-bottom: 50px;
  text-align: center;
}
.access-item-ttl {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  color: var(--main);
  border-bottom: 1px solid var(--main);
  padding-bottom: 3px;
  margin-bottom: 15px;
  letter-spacing: 0.2em;
}
.access-item-content {
  font-size: 15px;
  color: #556;
  line-height: 1.8;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}
.client-grid div {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
}
.license-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  text-align: left;
  border: 1px solid #eee;
}
.license-table th, .license-table td {
  padding: 12px 15px;
  border: 1px solid #eee;
  font-size: 14px;
}
.license-table th {
  background: #f8faff;
  color: var(--main);
  width: 160px;
  font-weight: bold;
}

/* Breadcrumb */
.breadcrumb-nav {
  padding: 15px 24px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.breadcrumb {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li + li::before {
  content: " > ";
  padding: 0 8px;
  color: #999;
}

.breadcrumb li a {
  color: var(--main);
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: #333;
  font-weight: bold;
}

/* Page Menu */
.page-menu {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.page-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.page-menu a {
  text-align: center;
  display: block;
  transition: .3s;
}

.page-menu a small {
  display: block;
  font-size: 11px;
  color: #888;
}

/* メニュー直後のセクションの余白を調整 */
.page-menu + section {
  padding-top: 40px;
}

/* Profile Table */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 60px;
  border-top: 2px solid var(--main);
}

.profile-table th, .profile-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.profile-table th {
  width: 220px;
  background-color: #f9f9f9;
  font-weight: 600;
  color: var(--main);
  vertical-align: top;
}

.profile-table td {
  line-height: 1.8;
  font-size: 15px;
}

.officer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}


/* Active state for left-menu items */
.left-menu a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown parent link when active */
.dropdown > a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown content active link */
.dropdown-content a.is-active {
  background: var(--light);
  color: var(--main);
  font-weight: bold;
  border-bottom: none; /* Ensure no underline here if parent has one */
}


/* Responsive */
@media(max-width:980px){
.grid{grid-template-columns:1fr 1fr;}
.split,.numrow{grid-template-columns:1fr 1fr;}
.hero{margin-top:100px;}
.left-menu{flex-direction:column; gap:10px; margin-left:0; font-size:12px;}
.right-menu{margin-left:0;}
.contact-menu{flex-direction:column; gap:5px;}
.sub-menu{justify-content:center; gap:10px;}
.menu-toggle{display:block;}
.nav-menu{display:none;}
.nav-menu.active{display:flex; flex-direction:column; position:absolute; top:100%; left:0; width:100%; background:#fff; padding:20px; box-shadow:0 10px 30px rgba(0,0,0,.1); z-index:1000; align-items:flex-start;}

.right-menu{margin-left:auto; margin-right:20px;}
.head{justify-content:space-between;}
}

@media(max-width:640px){
.page-menu ul{gap:20px; flex-direction:column; align-items:center;}
.page-menu{padding:20px 0;}
.client-grid { grid-template-columns: 1fr; gap: 8px; }
.license-table th, .license-table td {
  display: block;
  width: 100%;
}
.license-table th {
  background: #f0f4f9;
}

.profile-table th, .profile-table td {
  display: block;
  width: 100%;
}
}

@media(max-width:640px){
.logo img{height:calc(var(--header-height-768) - 10px);}
.grid,.split,.numrow{grid-template-columns:1fr;}
.left-menu{gap:5px;}
.right-menu{flex-direction:column; gap:5px;}
.nav-menu.active{flex-direction:column;}
.foot-menu{justify-content: center; flex-wrap: wrap; gap: 10px 20px;}
}

/* Sticky Contact Button */
.sticky-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1001;
}
.sticky-box {
  display: flex;
  gap: 12px;
}
.sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 80px;
  color: #fff !important;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
.sticky-btn.client { background: var(--main); }
.sticky-btn.staff { background: #f39c12; }
.sticky-btn:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}
.sticky-label { font-size: 10px; margin-bottom: 2px; opacity: 0.9; }
.sticky-text { font-size: 13px; line-height: 1.3; }

@media(max-width:640px){
  .sticky-contact {
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  }
  .sticky-box { gap: 10px; }
  .sticky-btn { flex: 1; height: 60px; width: auto; }
  .sticky-text { font-size: 11px; }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 120px; /* Position above sticky-contact on desktop */
  right: 20px;
  z-index: 1002; /* Ensure it's above sticky-contact */
  background: var(--main);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top svg {
  width: 24px;
  height: 24px;
}


/* ===== utsunomiya.html ===== */

:root{
  --main:#0d4ea6;
  --sub:#2f6fcb;
  --light:#eef5ff;
  --text:#1d3557;
  --header-height-desktop: 160px;
  --header-height-1024: 100px;
  --header-height-768: 80px;
  --header-height-480: 70px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,'Yu Gothic',sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.8;
}

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

img{
  max-width:100%;
  display:block;
}

.wrap{
  max-width:1200px;
  margin:auto;
  padding:0 24px;
}

/* Header */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(13,78,166,.08);
  transition:.4s;
}

header.scrolled{
  box-shadow:0 10px 30px rgba(13,78,166,.08);
}

.head{
  height:160px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo img{
  height:140px;
}

.nav-menu{
  display:flex;
  flex:1;
  justify-content:flex-end;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Hero Buttons */
.hero-btns {
  display: flex;
  gap: 10px;
}
.hero-btn {
  display: block;
  width: 180px;
  padding: 8px 10px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--text);
  line-height: 1.2;
}
.hero-btn.client {
  background: var(--text);
  color: #fff !important;
}
.hero-btn.staff {
  background: transparent;
  color: var(--text) !important;
}

.hero-btn-label {
  display: block;
  font-size: 8px;
  margin-bottom: 1px;
  opacity: 0.8;
  letter-spacing: 0.15em;
}
.hero-btn-text { display: block; font-size: 12px; font-weight: bold; }

.left-menu{
  display:flex;
  gap:34px;
  font-size:16px;
  letter-spacing:.08em;
  margin-left:50px;
  align-items: center;
}

.left-menu a{
  text-align:center;
  line-height:1.2;
}

.left-menu a small{
  font-size:10px;
  color:#666;
  display:block;
}

.dropdown {
  position: relative;
  display: flex;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 10px 30px rgba(13,78,166,0.1);
  min-width: 140px;
  padding: 10px 0;
  z-index: 1001;
  border-radius: 4px;
  border: 1px solid rgba(13,78,166,0.05);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
  transition: .3s;
}

.dropdown-content a:hover {
  background: var(--light);
  color: var(--main);
}

.menu-toggle{
  display:none;
  cursor:pointer;
  font-size:24px;
  margin-left:20px;
}

/* Hero */
.hero-sub{
  height:40vh;
  min-height:300px;
  background:url('../images/jpg/img6.png') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  margin-top:160px;
}

.hero-sub:before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(13,78,166,0.4);
}

.hero-sub h1{
  position:relative;
  z-index:1;
  color:#fff;
  font-size:48px;
  font-weight:300;
  letter-spacing: 0.1em;
}

/* Section */
section{
  padding:100px 0;
}

.ttl{
  font-size:32px;
  font-weight:300;
  color:var(--main);
  margin-bottom:5px;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-nav {
  padding: 15px 24px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.breadcrumb {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li + li::before {
  content: " > ";
  padding: 0 8px;
  color: #999;
}

.breadcrumb li a {
  color: var(--main);
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: #333;
  font-weight: bold;
}

/* Page Menu */
.page-menu {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.page-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.page-menu a {
  text-align: center;
  display: block;
  transition: .3s;
}

.page-menu a small {
  display: block;
  font-size: 11px;
  color: #888;
}

/* メニュー直後のセクションの余白を調整 */
.page-menu + section {
  padding-top: 40px;
}

/* Animation */
.fade{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s ease;
}

.fade.show{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:640px){
  .page-menu ul{gap:20px; flex-direction:column; align-items:center;}
  .page-menu{padding:20px 0;}
}

.map-container {
  margin-top: 40px;
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13,78,166,.1);
}
.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* Sticky Contact Box */
.sticky-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1001;
}
.sticky-box {
  display: flex;
  gap: 12px;
}
.sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 80px;
  color: #fff !important;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
.sticky-btn.client { background: var(--main); }
.sticky-btn.staff { background: #f39c12; }
.sticky-btn:hover { transform: translateY(-5px); opacity: 0.9; }
.sticky-label { font-size: 10px; margin-bottom: 2px; opacity: 0.9; }
.sticky-text { font-size: 13px; line-height: 1.3; }
@media(max-width:640px){
  .sticky-contact { right: 0; bottom: 0; width: 100%; padding: 10px; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); box-shadow: 0 -5px 20px rgba(0,0,0,0.1); }
  .sticky-box { gap: 10px; }
  .sticky-btn { flex: 1; height: 60px; width: auto; }
  .sticky-text { font-size: 11px; }
}

/* Access & License Styling */
.access-item {
  margin-bottom: 50px;
  text-align: center;
}
.access-item-ttl {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  color: var(--main);
  border-bottom: 1px solid var(--main);
  padding-bottom: 3px;
  margin-bottom: 15px;
  letter-spacing: 0.2em;
}
.access-item-content {
  font-size: 15px;
  color: #556;
  line-height: 1.8;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}
.client-grid div {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
}
.license-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  text-align: left;
  border: 1px solid #eee;
}
.license-table th, .license-table td {
  padding: 12px 15px;
  border: 1px solid #eee;
  font-size: 14px;
}
.license-table th {
  background: #f8faff;
  color: var(--main);
  width: 160px;
  font-weight: bold;
}

/* Active state for left-menu items */
.left-menu a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown parent link when active */
.dropdown > a.is-active {
  color: var(--main);
  border-bottom: 2px solid var(--main);
  padding-bottom: 3px;
}

/* For dropdown content active link */
.dropdown-content a.is-active {
  background: var(--light);
  color: var(--main);
  font-weight: bold;
  border-bottom: none; /* Ensure no underline here if parent has one */
}

footer{
  padding:42px 0;
  border-top:1px solid rgba(13,78,166,.08);
}

.foot{
  color:#678;
  font-size:13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.foot-menu{
  display: flex;
  gap: 24px;
}

.foot-menu a:hover{
  color: var(--main);
}

@media(max-width:980px){
  .head{height:100px;}
  .logo img{height:70px;}
  .hero-sub{margin-top:100px;}
  .left-menu{display:none;}
  .menu-toggle{display:block;}
  .nav-menu{display:none;}
  .nav-menu.active{display:flex; flex-direction:column; position:absolute; top:100%; left:0; width:100%; background:#fff; padding:20px; box-shadow:0 10px 30px rgba(0,0,0,.1); z-index:1000; align-items:flex-end;}
}

@media(max-width:640px){
  .client-grid { grid-template-columns: 1fr; gap: 8px; }
  .license-table th, .license-table td {
    display: block;
    width: 100%;
  }
  .license-table th { background: #f0f4f9; }

  .hero-btns { flex-direction: column; gap: 10px; margin-top: 0; }
  .hero-btn { width: 100%; padding: 12px 15px; border-radius: 2px; }
  .hero-btn-label { font-size: 10px; margin-bottom: 2px; }
  .hero-btn-text { font-size: 14px; }
  .left-menu{gap:5px;}
  .nav-menu.active{flex-direction:column;}
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 120px;
  right: 20px;
  z-index: 1002;
  background: var(--main);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Dropdown */
@media(max-width:980px){
  .dropdown.open .dropdown-content {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 10px 20px 0;
  }
}
