/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --navy-blue: #0a1e3f;
    --tactical-green: #4b5320;
    --clean-white: #f5f5f5;
    --burnished-gold: #d4af37;
    --matte-black: #2c2c2c;
    --light-gray: #e8e8e8;
    --dark-gray: #666666;
    --rifle-green: #414833;
    
    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 8px;
    
    /* Shadows */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--matte-black);
    background-color: var(--clean-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 30, 63, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clean-white);
    font-size: 1.5rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;    /* 垂直方向中央 */
    justify-content: center; /* 横方向中央 */
    gap: 8px; /* 画像と文字の間の余白 */
}

#logo-link {
  display: inline-block;        /* transformに必要 */
  color: inherit;               /* 文字色はそのまま */
  text-decoration: none;        /* 下線なし */
  transition: transform 0.3s ease; /* アニメーション */
}

#logo-link:visited {
  color: inherit;
  text-decoration: none;
}

#logo-link:hover {
  transform: scale(1.1);       /* 拡大率はお好みで */
}


.nav-logo-img {
  width: auto;
  height: auto;
  max-width: 50px;
  align-items: center;
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--clean-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--burnished-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burnished-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--burnished-gold);
    color: var(--navy-blue);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #f4c430;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--clean-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/hero_background_fuji.png') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 30, 63, 0.8), rgba(75, 83, 32, 0.6));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: var(--clean-white);
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-cta {
    background: var(--burnished-gold);
    color: var(--navy-blue);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta:hover {
    background: #f4c430;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--navy-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--burnished-gold);
}

/* Services Section */
.services {
  background: #f8fafc;
  padding: 60px 0 60px 0;
}
.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(40,60,90,0.08);
  overflow: hidden;
  text-align: center;
  padding: 1.5rem 1rem 1.8rem 1rem;
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.22s;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 8px 36px rgba(45,80,170,0.15), 0 0 0 4px #AEE1FF90;
}
.service-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 1.1rem;
  border-radius: 1rem;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--clean-white);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.about-text {
    max-width: 800px;
    text-align: left;
    animation: fadeInUp 0.6s ease forwards;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin: 20px 0 10px;
    position: relative;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--burnished-gold);
    transition: width 0.3s ease;
}

.about-text h3:hover::after {
    width: 100px;
}

.about-text p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--matte-black);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.about-text ul li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--matte-black);
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.about-text ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--burnished-gold);
    font-size: 1.5rem;
    line-height: 1.2;
}

.about-image {
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-image:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.about-image:hover .about-img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .about-text {
        text-align: center;
    }

    .about-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-text h3:hover::after {
        width: 80px;
    }

    .about-text ul {
        padding-left: 0;
    }

    .about-text ul li {
        padding-left: 25px;
    }

    .about-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-text p,
    .about-text ul li {
        font-size: 0.95rem;
    }

    .about-content {
        gap: 30px;
    }
}

/* why choose */
.why-citadel {
  background: #fff;
  padding: 64px 0 64px 0;
}
.why-intro {
  text-align: center;
  font-size: 1.18rem;
  color: #495063;
  margin: 0 auto 2.2rem auto;
  max-width: 620px;
}
.why-features {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.why-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 220px;
  flex: 1 1 180px;
}
.why-icon {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.why-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: #29314b;
  text-align: center;
}
.why-desc {
  font-size: 0.98rem;
  color: #566175;
  text-align: center;
  line-height: 1.5;
}
.why-testimonial-wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 0 1.5rem;
}
.why-testimonial-bg {
  background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=600&q=40');
  background-size: cover;
  background-position: center;
  border-radius: 2rem;
  position: absolute;
  inset: 0;
  opacity: 0.10;
  filter: blur(2.5px);
  z-index: 0;
  pointer-events: none;
}
.why-testimonial {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.92);
  border-radius: 2rem;
  box-shadow: 0 6px 28px rgba(60,80,120,0.10);
  padding: 2.3rem 2rem 2.1rem 2rem;
  text-align: center;
  border: 1px solid #f2f3f6;
}
.why-testimonial blockquote {
  font-size: 1.2rem;
  color: #29314b;
  font-style: italic;
  margin: 0 0 1.1rem 0;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.why-testimonial-name {
  color: #666e88;
  font-size: 1rem;
  margin-top: 0.3rem;
}

/* Map Section */
/* uses master variables and flex/grid style from styles.css :contentReference[oaicite:0]{index=0} */

.map-section {
  background: #f8fafc;
  padding: var(--section-padding);
}

.map-section-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .map-section-content {
    align-items: stretch;
  }
}

.map-section-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .map-section-grid {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
  }
}

.map-section-map {
  flex: 1;
  margin: 0;
}

.map-section-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.map-section-list {
  flex: 1;
}

.map-section-list h3 {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--navy-blue);
}

.map-section-list ul {
  list-style: none;
  padding: 0;
}

.map-section-list li {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--matte-black);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--clean-white);
}

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

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burnished-gold);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.submit-btn {
    background: var(--navy-blue);
    color: var(--clean-white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--tactical-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(75, 83, 32, 0.3);
}

.contact-info {
    background: var(--navy-blue);
    color: var(--clean-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    height: fit-content;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--burnished-gold);
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--burnished-gold);
    font-weight: 600;
}

.contact-item p {
    line-height: 1.5;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--rifle-green);
    color: var(--clean-white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--burnished-gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--clean-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--burnished-gold);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--navy-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info {
        padding: 30px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature-item,
.base-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* ──────────────────────────────────────────
   Override for “About” (no image, concise)
   ────────────────────────────────────────── */
.about {
  padding: var(--section-padding);
  background: var(--clean-white);
}

.about-content {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.about-image {
  display: none; /* remove photo container */
}

.about-text {
  max-width: 800px;
  text-align: left;
  font-family: var(--font-body);
  color: var(--matte-black);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* center text on small screens */
@media (max-width: 768px) {
  .about-text {
    text-align: center;
    padding: 0 20px;
  }
}
