/* Base Settings */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  color: #000;
  background-color: #fff;
  background-image: url('./texture.png');
  background-repeat: repeat;
  background-position: top center;
  background-attachment: scroll;
  background-size: cover;
}
img {
  max-width: 100%;
  height: auto;
}

/* Logo */
.logo {
  height: auto;
  max-width: 200px;
  width: 100%;
}
@media (max-width: 600px) {
  .logo {
    max-width: 120px;
  }
}

/* Header */
header {
  text-align: center;
  padding: 20px 10px;
  background-color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid #ddd;
}
.tagline {
  margin-top: 10px;
  font-size: 1.4em;
  color: #8B0000;
  font-weight: bold;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: color 0.3s;
}
nav a:hover {
  color: #FFD700;
}

/* Main Content */
main {
  padding: 40px 20px;
}

/* Section Titles */
h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
  font-size: 2.2em;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background-color: #FFD700;
  margin: 8px auto 0;
}

/* Lists in About & Services Sections */
section ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}
section ul li {
  background: rgba(0, 0, 0, 0.4);
  margin: 10px 0;
  padding: 15px;
  border-radius: 8px;
  font-size: 1em;
  line-height: 1.6;
  color: #fff;
}

/* Footer */
footer {
  background-color: #330000;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
}
footer a {
  color: #FFD700;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Contact Button */
.contact-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #8B0000;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-top: 15px;
}
.contact-button:hover {
  background-color: #A52A2A;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 600px) {
  .tagline {
    font-size: 1.1em;
  }
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
}