@charset "utf-8";

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f0f0f0;
  }

  .container {
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  @media screen and (max-width: 767px) {
    .container {
      width: 391px;
    }
  }

  @media screen and (min-width: 768px) {
    .container {
      width: 750px;
    }
  }

  img {
    width: 100%;
    height: auto;
    display: block;
  }
  .image-wrapper,
  .carousel-container,
  .payment-form {
    margin-bottom: -1px;
  }
  .swiper {
    width: 100%;
    height: 260px;
  }
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
  }
  .payment-form {
    padding: 20px;
  }
  #card-element {
    margin-bottom: 20px;
  }
  #submit-button {
    background-color: #4caf50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
  }
  #error-message {
    color: red;
    margin-top: 10px;
  }
  .carousel-section {
    padding: 20px 0;
    background-color: #f0f0f0;
  }
  .carousel-header {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
  }
  .carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
  }
  .swiper {
    width: 80%;
    margin: 0 auto;
  }
  .swiper-slide {
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .swiper-button-next,
  .swiper-button-prev {
    color: #000000;
    background-color: #f0f0f0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 18px;
  }
  .swiper-button-next {
    right: 0;
  }
  .swiper-button-prev {
    left: 0;
  }
  .image-wrapper.highlight {
    width: 80%;
    margin: 20px auto;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .image-wrapper.highlight:hover {
    transform: scale(1.05);
  }
  .image-wrapper.highlight img {
    border-radius: 10px;
  }
  .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 20px;
  }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
    font-size: 14px;
    text-align: left;
    margin-top: 0px;
  }
  footer .footer-content {
    width: 80%;
    margin: 0 auto;
  }
  footer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
  }
  footer ul li {
    margin-bottom: 10px;
  }
  footer a {
    color: #fff;
    text-decoration: none;
  }
  footer a:hover {
    text-decoration: underline;
  }
  footer .copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
  }

  .image-wrapper.gray-bg {
    background-color: #f0f0f0;
    padding: 20px 0;
  }
  .image-wrapper.gray-bg img {
    width: 80%;
    margin: 0 auto;
  }

  .image-wrapper.button-bg {
    padding: 40px 0;
  }
  .image-wrapper.button-bg img {
    width: 80%;
    margin: 0 auto;
  }

  .image-shadow {
    box-shadow:
      0 4px 6px rgba(0, 0, 0, 0.1),  /* 下部の薄いシャドウ */
      0 1px 3px rgba(0, 0, 0, 0.08); /* 全体的な薄いシャドウ */
  }
  .image-shadow:hover {
    transform: translateY(-1px);
    box-shadow:
      0 6px 8px rgba(0, 0, 0, 0.15),
      0 3px 6px rgba(0, 0, 0, 0.1);
  }

.success {
  color: #27ae60;
  text-align: center;
  }
.error {
  color: #c0392b;
  text-align: center;
}
.error img {
  width: 80%;
  margin: 0 auto;
}
