/* ========================================
  リセット & 基本設定
======================================== */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: 'Noto Sans JP', sans-serif;
 line-height: 1.8;
 color: #333;
 background-color: #ffffff;
 overflow-x: hidden;
}

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

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

ul {
 list-style: none;
}

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

/* ========================================
  ヘッダー（業務概要基準に統一）
======================================== */
.header {
 background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 position: sticky;
 top: 0;
 z-index: 1000;
 padding: 15px 0;
 border-bottom: 1px solid rgba(169, 210, 219, 0.2);
}

.header::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: radial-gradient(circle at 20% 50%, rgba(169, 210, 219, 0.1) 0%, transparent 50%),
             radial-gradient(circle at 80% 50%, rgba(209, 99, 65, 0.05) 0%, transparent 50%);
 pointer-events: none;
}

.header-inner {
 display: flex;
 justify-content: space-between;
 align-items: center;
 position: relative;
 z-index: 1;
 gap: 12px;
}

.header-left {
 display: flex;
 align-items: center;
 gap: 15px;
 min-width: 0;
 flex: 1;
}

.company-logo {
 width: 80px;
 height: 80px;
 object-fit: contain;
 flex-shrink: 0;
 transition: transform 0.3s ease;
}

.company-logo:hover {
 transform: scale(1.05);
}

.logo {
 font-size: clamp(0.8rem, 1.4vw, 1.2rem);
 font-weight: 700;
 position: relative;
 word-break: keep-all;
 overflow-wrap: break-word;
 min-width: 0;
}

.logo a {
 color: #333;
}

.logo-underline {
 display: block;
 width: 0;
 height: 2px;
 background-color: #A9D2DB;
 transition: width 0.3s ease;
}

.logo:hover .logo-underline {
 width: 100%;
}

.header-right {
 display: flex;
 align-items: center;
 gap: 20px;
 flex-shrink: 0;
}

.nav ul {
 display: flex;
 gap: clamp(12px, 2vw, 30px);
 align-items: center;
}

.nav a {
 font-weight: 600;
 font-size: clamp(0.8rem, 1.1vw, 0.95rem);
 color: #333;
 position: relative;
 padding: 5px 0;
 white-space: nowrap;
}

.nav a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: #D16341;
 transition: width 0.3s ease;
}

.nav a:hover::after {
 width: 100%;
}

.nav a.active::after {
 width: 100%;
}

.group-logo-link {
 flex-shrink: 0;
}

.group-logo {
 width: 80px;
 height: 80px;
 object-fit: contain;
 transition: opacity 0.3s ease, transform 0.3s ease;
}

.group-logo:hover {
 opacity: 0.7;
 transform: scale(1.05);
}

.menu-toggle {
 display: none;
}

.hamburger {
 display: none;
 flex-direction: column;
 gap: 5px;
 cursor: pointer;
 padding: 5px;
 flex-shrink: 0;
 position: relative;
 z-index: 1002;
}

.hamburger span {
 width: 25px;
 height: 2px;
 background-color: #333;
 display: block;
 transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
 transform: translateY(7px) rotate(45deg);
}
.menu-toggle:checked ~ .hamburger span:nth-child(2) {
 opacity: 0;
 transform: scaleX(0);
}
.menu-toggle:checked ~ .hamburger span:nth-child(3) {
 transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
 display: none;
 position: fixed;
 inset: 0;
 background: rgba(0, 0, 0, 0.45);
 z-index: 999;
 cursor: pointer;
}

/* ========================================
  レスポンシブ：ヘッダー
======================================== */
@media (max-width: 968px) {
 .header-inner { gap: 10px; }
 .nav ul { gap: 20px; }
 .company-logo, .group-logo { width: 70px; height: 70px; }
}

@media (max-width: 768px) {
 .header-left { gap: 10px; max-width: calc(100% - 140px); }
 .header-right { gap: 10px; }
 .nav {
   position: fixed;
   top: 0;
   right: -100%;
   width: 280px;
   height: 100vh;
   background-color: #fff;
   box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
   transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   padding: 0;
   overflow-y: auto;
   z-index: 1001;
 }
 .nav::before {
   content: 'MENU';
   display: block;
   padding: 24px 24px 16px;
   font-size: 0.65rem;
   font-weight: 700;
   letter-spacing: 0.22em;
   color: #A9D2DB;
   border-bottom: 1px solid rgba(169, 210, 219, 0.25);
 }
 .nav ul {
   flex-direction: column;
   gap: 0;
   align-items: stretch;
   padding: 12px 0;
 }
 .nav ul li {
   border-bottom: 1px solid rgba(0, 0, 0, 0.05);
 }
 .nav ul li a {
   display: block;
   padding: 16px 24px;
   font-size: 0.95rem;
   color: #2b2b2b;
   font-weight: 600;
   transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
   position: relative;
 }
 .nav ul li a::before {
   content: '';
   position: absolute;
   left: 0;
   top: 50%;
   transform: translateY(-50%);
   width: 3px;
   height: 0;
   background: #A9D2DB;
   transition: height 0.2s ease;
   border-radius: 0 2px 2px 0;
 }
 .nav ul li a::after { display: none; }
 .nav ul li a:hover {
   background: rgba(169, 210, 219, 0.08);
   color: #2e4a52;
   padding-left: 30px;
 }
 .nav ul li a:hover::before { height: 60%; }
 .nav ul li a.active {
   color: #D16341;
   font-weight: 700;
   background: rgba(209, 99, 65, 0.04);
   padding-left: 30px;
 }
 .nav ul li a.active::before {
   height: 60%;
   background: #D16341;
 }
 .menu-toggle:checked ~ .nav { right: 0; }
 .menu-toggle:checked ~ .nav-overlay { display: block; }
 .hamburger { display: flex; }
 .company-logo, .group-logo { width: 65px; height: 65px; }
}

@media (max-width: 480px) {
 .header-left { gap: 8px; max-width: calc(100% - 130px); }
 .header-right { gap: 8px; }
 .company-logo, .group-logo { width: 55px; height: 55px; }
}

/* ========================================
  ページヒーロー
======================================== */
.page-hero {
 position: relative;
 min-height: 300px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: linear-gradient(135deg, #A9D2DB 0%, #7fb8c9 100%);
 overflow: hidden;
 padding: 80px 20px;
}

.page-hero .hero-decorations {
 position: absolute;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 pointer-events: none;
 overflow: hidden;
}

.page-hero .hero-line {
 position: absolute;
 height: 3px;
}

.page-hero .hero-line-1 {
 width: 60%;
 top: 20%;
 left: -10%;
 background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.3) 80%, transparent);
 transform: rotate(-15deg);
}

.page-hero .hero-line-2 {
 width: 50%;
 bottom: 25%;
 right: -10%;
 background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.2) 80%, transparent);
 transform: rotate(15deg);
}

.page-hero .hero-circle {
 position: absolute;
 border: 2px solid;
 border-radius: 50%;
 opacity: 0.4;
}

.page-hero .hero-circle-1 {
 width: 200px;
 height: 200px;
 top: -80px;
 right: 10%;
 border-color: rgba(255, 255, 255, 0.3);
}

.page-hero .hero-circle-2 {
 width: 150px;
 height: 150px;
 bottom: -50px;
 left: 5%;
 border-color: rgba(255, 255, 255, 0.25);
}

.page-title {
 font-size: clamp(2rem, 5vw, 3rem);
 font-weight: 700;
 color: #fff;
 text-align: center;
 position: relative;
 z-index: 2;
 margin-bottom: 10px;
 text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
 font-family: 'Poppins', sans-serif;
 font-size: clamp(1rem, 2vw, 1.2rem);
 font-weight: 600;
 color: rgba(255, 255, 255, 0.9);
 text-align: center;
 position: relative;
 z-index: 2;
 letter-spacing: 0.1em;
}

/* ========================================
  代表挨拶
======================================== */
.greeting {
 padding: 80px 20px;
}

.greeting-content {
 display: grid;
 grid-template-columns: 1fr 260px;
 gap: 50px;
 align-items: center;
 margin-top: 50px;
}

.greeting-centered {
 max-width: 860px;
 margin-left: auto;
 margin-right: auto;
 grid-template-columns: 1fr 220px;
 gap: 40px;
}

.greeting-image {
 text-align: center;
}

.greeting-image img {
 width: 100%;
 height: auto;
 max-height: 320px;
 object-fit: cover;
 object-position: top;
 border-radius: 8px;
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
 margin-bottom: 16px;
}

.president-name {
 font-size: 0.9rem;
 color: #666;
 line-height: 1.6;
}

.president-name span {
 display: block;
 font-size: 1.2rem;
 font-weight: 700;
 color: #333;
 margin-top: 4px;
}

.greeting-text p {
 font-size: 1rem;
 line-height: 2;
 color: #555;
 white-space: pre-line;
}

@media (max-width: 968px) {
 .greeting-content { grid-template-columns: 1fr 220px; gap: 35px; }
 .greeting-centered { grid-template-columns: 1fr 200px; gap: 30px; }
}

@media (max-width: 768px) {
 .greeting-content,
 .greeting-centered {
   grid-template-columns: 1fr;
   gap: 30px;
   max-width: 100%;
 }
 .greeting-reverse .greeting-image { order: -1; max-width: 260px; margin: 0 auto; }
 .greeting-reverse .greeting-text { order: 0; }
}

@media (max-width: 480px) {
 .greeting-text p { font-size: 0.95rem; }
 .greeting-image img { max-height: 260px; }
}

/* ========================================
  会社概要
======================================== */
.company-info {
 padding: 80px 20px;
 background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.info-table {
 margin-top: 50px;
 background: #fff;
 border-radius: 8px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
 overflow: hidden;
}

.info-table table {
 width: 100%;
 border-collapse: collapse;
}

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

.info-table th {
 background: linear-gradient(135deg, #A9D2DB 0%, #95c7d1 100%);
 color: #fff;
 font-weight: 700;
 width: 200px;
 white-space: nowrap;
}

.info-table td {
 color: #555;
 line-height: 1.8;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
 border-bottom: none;
}

@media (max-width: 768px) {
 .info-table th,
 .info-table td {
   display: block;
   width: 100%;
   padding: 15px 20px;
 }
 .info-table th { border-bottom: none; padding-bottom: 10px; }
 .info-table td { padding-top: 0; padding-bottom: 20px; }
 .info-table tr { display: block; margin-bottom: 10px; }
}

/* ========================================
  アクセス
======================================== */
.access {
 padding: 80px 20px;
 background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.access-content {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 50px;
 margin-top: 50px;
}

.access-map {
 border-radius: 8px;
 overflow: hidden;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.access-info h3 {
 font-size: 1.2rem;
 color: #333;
 margin-bottom: 15px;
 padding-bottom: 10px;
 border-bottom: 2px solid #A9D2DB;
 margin-top: 30px;
}

.access-info h3:first-child {
 margin-top: 0;
}

.access-info p {
 font-size: 0.95rem;
 color: #555;
 line-height: 1.9;
}

.access-info strong {
 color: #333;
 font-weight: 700;
}

@media (max-width: 968px) {
 .access-content { grid-template-columns: 1fr; gap: 40px; }
}

/* ========================================
  セクション共通
======================================== */
.section-header {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 20px;
 margin-bottom: 50px;
}

.section-line {
 width: 100px;
 height: 3px;
 background: linear-gradient(90deg, transparent, #A9D2DB, transparent);
}

.section-title {
 font-size: clamp(1.5rem, 4vw, 2rem);
 font-weight: 700;
 color: #333;
 text-align: center;
 position: relative;
 white-space: nowrap;
}

/* ========================================
  フッター
======================================== */
.footer {
 background-color: #2c3e50;
 color: #fff;
 padding: 30px 20px;
 text-align: center;
 margin-top: 50px;
}

.footer p {
 font-size: 0.9rem;
 margin-bottom: 15px;
}

.footer-privacy {
 margin-top: 20px;
 padding-top: 20px;
 border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-privacy a {
 color: #fff;
 font-size: 0.75rem;
 transition: color 0.3s ease;
}

.footer-privacy a:hover {
 color: #A9D2DB;
}

/* ========================================
  アニメーション
======================================== */
.fade-slide-up {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-slide-up.visible {
 opacity: 1;
 transform: translateY(0);
}
