/* seihin section styles */

main {
  padding: 150px 0 20px;
  background-image: url('/sumikkogurashi-movie/image/seihin/seihin_back_pattern.png');
  background-repeat: repeat;
  /* background-size: contain; */
  background-size: 50%;
}

@supports (background-image: url('/sumikkogurashi-movie/image/seihin/seihin_back_pattern.webp')) {
  main {
    background-image: url('/sumikkogurashi-movie/image/seihin/seihin_back_pattern.webp');
    background-size: 50%;
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 17%;
  }
}

.seihin {
  position: relative;
  padding: 2% 0;
  background: #D6EFC5;
  border-radius: 32px;
  margin: 50px auto;
  width: 85%;
  overflow: hidden;
}

.seihin__download {
  position: relative;
  padding: 2% 0;
  background-image: url('/sumikkogurashi-movie/image/seihin/seihin_down_back_r.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  margin: 50px auto;
  width: 85%;
  overflow: hidden;
}

@supports (background-image: url('/sumikkogurashi-movie/image/seihin/seihin_down_back_r.webp')) {
  .seihin__download {
    background-image: url('/sumikkogurashi-movie/image/seihin/seihin_down_back_r.webp');
  }
}

.seihin__container {
  position: relative;
  margin: 0 auto;
  padding: 20px 20px;
}

.seihin__frame-title {
  text-align: center;
  margin-bottom: 20px;
}
.seihin__frame-title img {
  width: 80%;
}
@media (max-width: 768px) {
  .seihin__frame-title img {
    width: 90%;
  }
}
.seihin__frame {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  margin-bottom: 24px;
}

.seihin__frame-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seihin__frame-image {
  flex: 0 0 50%;
}

.seihin__frame-image-placeholder {
  background: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seihin__frame-btn {
  flex: 0 0 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.seihin__frame-btn-image {
  width: 100%;
}

.seihin__frame-btn-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.seihin__frame-btn-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  width: 65%;
}

.seihin__frame-btn-link .btn-default {
  display: block;
}

.seihin__frame-btn-link .btn-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.seihin__frame-btn-link:hover .btn-default {
  opacity: 0;
}

.seihin__frame-btn-link:hover .btn-hover {
  opacity: 1;
}

.seihin__frame-btn-link img {
  width: 100%;
  height: auto;
  display: block;
}

.seihin__title {
  text-align: center;
  margin-bottom: 32px;
}

.seihin__title-img {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .seihin__title-img {
    width: 80%;
  }
}

.seihin__notice {
  font-size: 0.9rem;
  color: #8B4513;
  line-height: 1.6;
  text-align: left;
  margin: 16px 0;
  width: 100%;
  font-weight: bold;
}

/* seihin__goto-top styles */
.seihin__goto-top {
  position: relative;
  margin: 30px auto;
  width: 30%;
  cursor: pointer;
}

@media (max-width: 768px) {
  .seihin__goto-top {
    width: 50%;
  }
}

.seihin__goto-top .button-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.seihin__goto-top:hover .button-hover {
  opacity: 1; /* see */
}

.seihin__goto-top:hover .button-default {
  opacity: 0;
}

/* SP version layout */
.seihin__frame-content-sp {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

@media (max-width: 768px) {
  .seihin__frame {
    padding: 20px;
  }
}

