body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.8;
}

section {
  max-width: 900px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

h1, h2 {
  text-align: center;
  color: #65b1a9;
}

.intro {
  background: linear-gradient(135deg, #65b1a9 0%, #4a9a94 100%);
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  text-align: center;
}

.image-gallery img {
  margin: 0 auto;
  display: block;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feedback {
  background-color: #fafafa;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.hero-image-container {
  position: relative;
  width: 100%;
  overflow: visible;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}

.logo-image {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 350px;
  height: auto;
  z-index: 250;
  display: block;
}

.text-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
}

.slide {
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  background: linear-gradient(90deg, #00a896, #34516f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
  text-shadow: 0 0 0 transparent;
  filter: drop-shadow(-2px -2px 0 #ffffff) drop-shadow(2px -2px 0 #ffffff) drop-shadow(-2px 2px 0 #ffffff) drop-shadow(2px 2px 0 #ffffff);
}

.slide-line1 {
  font-size: 3.5rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.0;
}

.slide-line2 {
  font-size: 3.5rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.slider-indicators {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 200;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  pointer-events: auto;
}

.text-secondary {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: black;
  font-size: 2rem;
  margin: 0;
  z-index: 300;
  line-height: 1.5;
  width: 100%;
  pointer-events: none;
  font-weight:500;

}

.text-tertiary {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  font-size: 1rem;
  margin: 0;
  z-index: 300;
  line-height: 1.6;
  max-width: 90%;
  width: 100%;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.5);
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ff69b4;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
}

.indicator.active {
  background: #ff69b4;
  border-color: #ff69b4;
  box-shadow: 0 2px 8px rgba(255, 105, 180, 0.8);
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .slide {
    top: 15%;
  }

  .slide-content {

    max-width: 100%;
  }

  .slide-line1 {
    font-size: 2.2rem;
  }

  .slide-line2 {
    font-size: 2.2rem;
  }

  .slider-indicators {
    top: 38%;
    gap: 10px;
    padding: 6px 12px;
  }

  .text-secondary {
    top: 30%;
    font-size: 1.3rem;
    display: block;

    color: #000000;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.8;
    text-align: center;
    white-space: normal;
  }

  .text-tertiary {
    bottom: 12%;

    display: block;
    margin: 43px auto 0;
    color: #000000;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.8;
    text-align: center;
    white-space: normal;
  }

  .indicator {
    width: 12px;
    height: 12px;
  }

  .logo-image {
    max-width: 150px;
    top: 3%;
  }
}

@media (max-width: 480px) {
  .slide {
    top: 13%;
  }

  .slide-content {
    padding: 12px 15px;
    max-width: 95%;
  }

  .slide-line1 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .slide-line2 {
    font-size: 1.4rem;
  }

  .slider-indicators {
    top: 28%;
    gap: 8px;
    padding: 5px 10px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .text-secondary {
    top: 35%;
    font-size: 1.1rem;
    font-weight: 500;
  }


  .logo-image {
    max-width: 200px;
    top: 5%;
  }
}

/* Books Table Styles */
.books-table-section {
  max-width: 900px;
  padding: 50px 40px;
  background-image: url('images/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-color: #f5f5f5;
}

.books-table-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #65b1a9;
  margin: 0 0 30px 0;
}

.books-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
  backdrop-filter: blur(5px);
}

.books-table thead {
  background: linear-gradient(135deg, #65b1a9 0%, #4a9a94 100%);
  color: white;
}

.books-table th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.books-table th:first-child {
  width: 35%;
}

.books-table th:nth-child(2) {
  width: 30%;
}

.books-table th:nth-child(3) {
  width: 35%;
}

.books-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

.books-table tbody tr:last-child {
  border-bottom: none;
}

.books-table tbody tr:hover {
  background-color: #f8f9fa;
}

.books-table td {
  padding: 15px 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  vertical-align: top;
}

.books-table td:first-child {
  font-weight: 500;
  color: #2c3e50;
}

.confirm-link {
  color: #65b1a9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-block;
}

.confirm-link:hover {
  color: #4a9a94;
  text-decoration: underline;
}

/* Books Table Mobile Responsive */
@media (max-width: 768px) {
  .books-table-section {
    margin: 30px auto;
    padding: 30px 20px;
  }

  .books-table-section::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .books-table-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .books-table {
    font-size: 0.85rem;
  }

  .books-table th {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .books-table td {
    padding: 12px 8px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .books-table {
    border: 0;
    box-shadow: none;
  }

  .books-table thead {
    display: none;
  }

  .books-table tbody {
    display: block;
  }

  .books-table tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
  }

  .books-table td {
    display: block;
    text-align: left;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .books-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .books-table td:last-child:before {
    content: attr(data-label);
    font-weight: 600;
    color: #65b1a9;
    display: block;
    margin-bottom: 0;
    font-size: 0.9rem;
    flex: 0 0 auto;
  }

  .books-table td:last-child .confirm-link {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .books-table td:first-child {
    padding-top: 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .books-table td:before {
    content: attr(data-label);
    font-weight: 600;
    color: #65b1a9;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
  }

  .books-table td:first-child:before {
    display: none;
  }

  .books-table tr:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 480px) {
  .books-table-section {
    margin: 20px auto;
    padding: 25px 15px;
  }

  .books-table-section::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .books-table-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .books-table tr {
    padding: 12px;
    margin-bottom: 15px;
  }

  .books-table td {
    font-size: 0.9rem;
    padding: 8px 0;
  }

  .books-table td:first-child {
    font-size: 0.95rem;
  }

  .books-table td:before {
    font-size: 0.85rem;
  }

  .books-table td:last-child {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .books-table td:last-child:before {
    font-size: 0.85rem;
    flex: 0 0 auto;
  }

  .books-table td:last-child .confirm-link {
    margin-left: auto;
    flex-shrink: 0;
  }

  .confirm-link {
    display: inline-block;
    padding: 8px 16px;
    background: #65b1a9;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 0;
    white-space: nowrap;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .confirm-link:hover {
    background: #4a9a94;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
}

/* Footer Styles */
.site-footer {
  background: linear-gradient(135deg, #65b1a9 0%, #4a9a94 100%);
  color: white;
  margin-top: 60px;
  padding: 50px 20px 30px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-menu {
  text-align: center;
  width: 100%;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
  color: white;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 25px;
    margin-top: 40px;
  }

  .footer-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .footer-links {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .footer-links a {
    font-size: 1rem;
    padding: 12px 24px;
    min-width: 200px;
  }

  .footer-bottom {
    padding-top: 20px;
    margin-top: 15px;
  }

  .copyright {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 30px 15px 20px;
    margin-top: 30px;
  }

  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .footer-links {
    gap: 15px;
  }

  .footer-links a {
    font-size: 0.95rem;
    padding: 10px 20px;
    min-width: 180px;
  }
}

