
.hero {
 height: 500px;
  background-image: url('images/bg.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  color: white;
  padding-top: 80px;


            }

/* ロゴ */
.logo {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}
.tagline {
  font-size: 1.2em;
  margin-top: 10px;
}


/* 固定ナビ */
nav {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 999;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav a:hover {
  color: #0077cc;
}


.image-container
 {
    margin-top: 30px;
    text-align: center;
}
h2 {
  border-bottom: 2px solid #0275af;
  padding-bottom: 5px;
  color: #0275af;
}

section
 {
    background: #003344;
  color: white;

    margin: 20px auto;
    padding: 40px;
    max-width: 1100px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 1);
    transition: transform 0.3s ease-in-out;
}

section img {
  max-width: 100%;
  height: 200px;
  display: block;
  margin: 0 auto;
  image-rendering: auto;           /* 默认 */
  image-rendering: crisp-edges;    /* 尝试更清晰 */
  image-rendering: -webkit-optimize-contrast;
}

nav {
  background: #ff7a01;
  padding: 10px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

main {
  padding: 20px;
}

footer {
  text-align: center;
  background: #ff7a01;
  color: white;
  padding: 10px;
  margin-top: 20px;
}

.logo-placeholder {
  font-weight: bold;
  font-size: 20px;
}

.image-placeholder {
  width: 100%;
  height: 180px;
  background-color: #ccc;
  text-align: center;
  line-height: 180px;
  margin-top: 10px;
}

        /* 全局样式 */
        body {
            font-family: "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafb;
  color: #333;
        }
        * {
            box-sizing: border-box;
        }

        /* 页头样式 */
        header {
            background: #000;
            color: white;
            text-align: center;
            position: relative;
            height: 400px; /* 高度调整 */
            overflow: hidden;
        }

        
        /* 头部内容 */
        .header-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }

        /* logo 样式 */
        .header-content .logo {
            max-width: 300px; /* 控制 logo 宽度 */
            width: 100%;
            height: auto;
            opacity: 0.8; /* 让 logo 半透明 */
        }

        .header-content p {
    font-size: 1.5em;  /* 字体大小调整，之前是1.5em，改小了 */
    color: white;
    line-height: 1.6;
    text-align: center;  /* 让文本居中对齐 */
    margin: 0;  /* 去除段落的上下边距 */
    padding: 0;  /* 去除段落的内边距 */
}


        /* 导航菜单样式 */
        nav {
            display: flex;
            justify-content: center;
            background-color: rgba(51, 51, 51, 0.7); /* 背景颜色和透明度的地方 */
            padding: 15px 20px;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 100;
        }

        /* 导航链接 */
        .nav-links {
            display: flex;
            justify-content: space-between;
            width: 100%;
        }

        nav a {
            color: white;
            text-decoration: none;
            margin: 0 25px;
            font-size: 1.2em; /* 菜单项文字大小的地方 */
            transition: color 0.3s ease;
            font-family: 'Roboto', sans-serif;
        }

        nav a:hover {
            color: #50e3c2;
        }

       
       
        .nav-links a {
            display: block;
            padding: 10px;
            font-size: 1.1em; /* 菜单项文字大小的地方 */
            text-align: right; /* 文字右对齐 */
        }

        /* 各个部分样式 */
        h2 {
  border-bottom: 2px solid #0275af;
  padding-bottom: 5px;
  color: #0275af;
}

section
 {
    background: #003344;
  color: white;

    margin: 20px auto;
    padding: 40px;
    max-width: 1100px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 1);
    transition: transform 0.3s ease-in-out;
}

        p {
	font-size: 1.2em;
	line-height: 2;
	color: white
        }

        /* 图片容器样式 */
        .image-container {
            text-align: center;
            margin-top: 30px;
        }
        .image-container img {
  

            width: 100%;
            height: auto;
            max-width:500px;
            max-height:500px;
            border-radius: 8px;
        }

        /* 嵌入Google地图 */
        .map-container {
            width: 100%;
            height: 400px;
            margin-top: 30px;
            border-radius: 10px;
            overflow: hidden;
        }

        /* 联系表单 */
        .contact-form {
            background-color: #001D3A; /* 更亮的灰色背景 */
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            max-width: 600px;
            margin: 40px auto;
        }
        .contact-form h3 {
            font-size: 2em;
            color: #50e3c2;
        }
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1em;
        }
        .contact-form textarea {
            resize: vertical;
        }
        .contact-form button {
            background-color: #50e3c2;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.2em;
        }
        .contact-form button:hover {
            background-color: #4a90e2;
        }

        /* 页脚样式 */
       

footer {
  background: #003344;
  color: white;
  text-align: center;
  padding: 15px;
}


        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                text-align: center;
                background-color: rgba(51, 51, 51, 0.9); /* 背景颜色和透明度的地方 */
                position: absolute;
                top: 60px;
                left: 0;
            }
            .menu-toggle {
                display: block;
            }
            .nav-links.active {
                display: flex;
            }
            .nav-links a {
                padding: 10px;
                font-size: 1.1em; /* 菜单项文字大小的地方 */
                text-align: right; /* 文字右对齐 */
            }
        }
