body {
  font-family: serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

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

a {
  color: #007bff;
  text-decoration: none;
}

header a:hover {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0056b3;
}

header {
  background-color: #333;
  color: #fff;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 1.8em;
}

header h1 a {
  color: #fff;
  text-decoration: none;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

header nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

main {
  padding: 30px 0;
}

.hero-with-bg {
  background-image: url('img/header_img_tyo.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-with-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-with-bg .container {
  position: relative;
  z-index: 2;
}

.hero-with-bg h2 {
  color: #fff;
  font-size: 2.8em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 10px;
}

.hero-with-bg .catch-copy {
  color: #eee;
  font-size: 1.2em;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-with-bg .button {
  background-color: #ffc107;
  color: #333;
  font-size: 1.2em;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-with-bg .button:hover {
  background-color: #e0a800;
}

.features {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.features h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: #333;
}

.features-wrapper {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 30px 20px 20px 20px;
  margin-top: 20px;
  background-color: #fff;
}

.features ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
  margin: 0;
}

.features ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features ul li img {
  width: 240px;
  height: 170px;
  margin-bottom: 10px;
  background-color: #eee;
  border-radius: 5px;
  object-fit: cover;
}

.features ul li span {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 5px;
}

.features ul li p {
  font-size: 0.9em;
  color: #666;
  line-height: 1.4;
}

.equipment-list {
  padding: 40px 0;
}

.equipment-list h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: #333;
}

.equipment-list .container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px;
}

.equipment-list .equipment-group {
  flex: 1;
  margin: 15px;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #fff;
}

.equipment-list .equipment-group h4 {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.3em;
  color: #333;
}

.equipment-list .equipment-group ul {
  list-style: none;
  padding: 0;
}

.equipment-list .equipment-group ul li {
  margin-bottom: 8px;
}

.photo-gallery {
  padding: 40px 0;
  text-align: center;
  background-color: #f9f9f9;
}

.photo-gallery h3 {
  margin-bottom: 30px;
  font-size: 2em;
  color: #333;
}

.photo-gallery .container {
  max-width: 1200px;
}

.photo-gallery .photo-row {
  display: flex;
  justify-content: space-between; /* ??? space-around, center ?? */
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.photo-gallery .photo-item {
  width: calc(33.33% - 20px); /* 3?????????? (???margin???) */
  box-sizing: border-box;
  margin-bottom: 20px;
}

.photo-gallery .photo-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  border: 1px solid #eee;
  padding: 5px;
  box-sizing: border-box;
}

.photo-gallery .photo-item .photo-description {
  font-size: 0.9em;
  color: #666;
  margin-top: 5px;
  text-align: center;
  width: 100%;
}

.company-info {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.company-info .container {
  background-color: #fff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.company-info h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2em;
  color: #333;
}

.company-info dl {
  display: grid;
  grid-template-columns: 150px auto;
  gap: 15px 20px;
  margin-bottom: 30px;
}

.company-info dt {
  font-weight: bold;
  font-size: 1.1em;
  color: #555;
}

.company-info dd {
  font-size: 1.1em;
  line-height: 1.8;
}

.business-details {
  padding: 40px 0;
}

.business-details h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2em;
  color: #333;
}

.business-item {
  margin-bottom: 40px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
}

.business-item h4 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.5em;
  color: #333;
  display: flex;
  align-items: center;
}

.business-item h4 i {
  margin-right: 10px;
  color: #007bff;
  font-size: 1.2em;
}

.business-item p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
}

.business-item img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 20px auto 0 auto;
  background-color: #eee;
  border-radius: 5px;
  object-fit: cover;
}

.business-item .contact-prompt {
  margin-top: 30px;
  text-align: center;
}

.business-item .contact-prompt p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 15px;
}

.business-item .contact-prompt a.button {
  background-color: #28a745;
}

.business-item .contact-prompt a.button:hover {
  background-color: #1e7e34;
}
  
.contact-info {
  text-align: center;
  padding: 40px 0;
  background-color: #f9f9f9;
}

.contact-info .container {
  background-color: #fff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  margin-bottom: 20px;
  font-size: 2.2em;
  color: #333;
}

.contact-info p {
  font-size: 1.1em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.contact-info .tel-fax {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 15px;
}

.contact-info .tel-fax a {
  color: #007bff;
  text-decoration: underline;
}

.contact_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 800px;
  margin: 0 auto 25px auto;
}

.contact_mail {
  background-color: #e9ecef;
  padding: 15px;
  text-align: center;
  border-radius: 5px;
  margin-bottom: 15px;
  width: 100%;
}

.contact_mail p {
  margin-bottom: 10px;
  font-size: 16px;
  color: #495057;
}

.contact_mail a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #dc3545;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.contact_mail a:hover {
  background-color: #c82333;
}

.contact_line {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  border: 2px solid #00b900;
  border-radius: 10px;
  width: 100%;
}

.contact_line p {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #00b900;
}

.contact_line img {
  width: 120px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}
footer {
  background-color: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9em;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .container {
    padding: 10px;
  }

  header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  header nav ul {
    flex-direction: column;
  }

  header nav ul li {
    margin: 5px 0;
  }

  .hero-with-bg {
    padding: 80px 0;
  }

  .hero-with-bg h2 {
    font-size: 2em;
  }

  .hero-with-bg .catch-copy {
    font-size: 1em;
  }

  .features ul {
    grid-template-columns: 1fr;
  }

  .features ul li {
    margin-bottom: 20px;
  }

  .equipment-list .container {
    flex-direction: column;
  }

  .equipment-list .equipment-group {
    width: 100%;
    margin: 10px 0;
  }

  .photo-gallery .photo-row {
    flex-direction: column;
  }

  .photo-gallery .photo-row img {
    width: 100%;
  }

  .company-info dl {
    grid-template-columns: 100px auto;
  }

  .business-item img {
    max-width: 100%;
  }
}