
:root[lang="en"] {
  font-size: 18px; /* Base font size for English content */
  color: #363636;
  --line-height-en: 1.6; /* Custom property for English line height */
}

:root[lang="ja"] {
  font-size: 16px; /* Base font size for Japanese content */
  color: #363636;
  --line-height-en: 1.4; /* Custom property for English line height */
}


body {
  line-height: var(--line-height-ja); /* Default line height */
}

html[lang="en"] body {
  line-height: var(--line-height-en); /* Increased line height for English */
}


.footer a {
  font-family: 'Helvetica', 'Arial', sans-serif !important;
  text-align: center;
}

.photo-menu {
  text-align: center;
  color: #333; /* Adjust the color to match your design */
}

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

.photo-menu h2 {
  font-size: 3em; /* Adjust the size to match your design */
  margin-bottom: 0.5em;
}

.photo-menu .description {
  margin-bottom: 1em;
  color: #666; /* Adjust the color to match your design */
}

.photo-menu .view-all {
  display: inline-block;
  margin-bottom: 2em;
  text-decoration: none;
  color: #333; /* Adjust the color to match your design */
  border-bottom: 1px solid currentColor; /* Underline effect */
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.photo-item {
  position: relative;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-item a:hover img {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6); /* Creates a shadow around the image */
  transform: scale(1.05); /* Slightly enlarges the image */
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth transition for shadow and transform */
}

.photo-item h3 {
  position: absolute;
  bottom: 20px; /* Adjust as needed */
  left: 20px; /* Adjust as needed */
  color: white; /* Adjust text color to stand out against your images */
  font-size: 1.5em; /* Adjust the size to match your design */
}

.photo-item p {
  position: absolute;
  bottom: 5px; /* Adjust as needed */
  left: 20px; /* Adjust as needed */
  color: white; /* Adjust text color to stand out against your images */
  font-size: 1em; /* Adjust the size to match your design */
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media only screen and (max-device-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-item img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle drop-shadow */
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition */
  }
}

/* footer */
footer {
    background-color: #363636; /* Dark background color for the footer */
    color: #fff; /* White text color for contrast */
    text-align: center; /* Centers the content within the footer */
    font-size: 12px; /* Default text size */
  font-family: 'Helvetica', 'Arial', sans-serif !important;
}

footer td, footer th {
    border: none; /* Removes cell borders */
    background-color: transparent; /* Ensures no background color */
    padding: 8px; /* Adjust padding as needed */
    text-align: left; /* Adjust text alignment as needed */
    vertical-align: top;
   font-size: 11px;
}

  /* Responsive adjustments for mobile */
@media (max-width: 768px) {
    footer div table, footer div tr, footer div th, footer div td {
        display: block; /* Stacks the table elements vertically */
        width: 100%; /* Full width for each cell */
        text-align: center; /* Center aligns the text */
    border: none; /* Ensures no borders */
    background-color: transparent; /* Ensures no background color */
    }

    footer table, footer tbody, footer tr, footer td, footer th {
        display: block; /* Converts table elements to block for stacking */
        width: 100%; /* Ensures each element takes full width */
    }

    footer div tr {
        margin-bottom: 20px; /* Adds space between rows */
    }
}

footer p {
    margin-top: 0px; /* Reduces the top margin */
    margin-bottom: 0px; /* Reduces the bottom margin */
    text-align: center; /* Optional: Centers the text if needed */
}


footer a {
    color: white; /* Normal state */
  font-size: 12px; /* Base font size for English content */
  font-family: 'Helvetica', 'Arial', sans-serif !important;
}
footer a:visited {
    color: white; /* Visited state */
  font-size: 12px; /* Base font size for English content */
  font-family: 'Helvetica', 'Arial', sans-serif !important;
}
footer a:hover {
    color: #ffcc00; /* Hover state */
  font-size: 12px; /* Base font size for English content */
  font-family: 'Helvetica', 'Arial', sans-serif !important;
}

.footer-nav {
    list-style: none; /* Removes bullet points from list items */
    padding: 0;
    margin: 0 auto; /* Centers the navigation horizontally */
    display: flex; /* Displays the list items inline */
    justify-content: center; /* Centers the list items horizontally */
    align-items: center; /* Aligns the list items vertically */
}

.footer-nav li {
    display: inline-block; /* Displays list items inline */
    margin: 0 15px; /* Space between list items */
}

.footer-nav li a {
    text-decoration: none; /* Removes underline from links */
    color: #fff; /* White color for links for contrast against the dark background */
    font-size: 24px; /* Size of the icons */
}

/* Hover effect for links */
.footer-nav li a:hover {
    color: #ddd; /* Light grey color on hover for a subtle effect */
}
