@charset "UTF-8";

/* ベースリセット */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
.sr-landing {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color:#fdeff5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; /* 横スクロール防止 */
}
.sr-container {
  width: 90%;
  max-width: 1200px;
  margin: 45px auto;
}

/* ヒーロー */
.sr-hero {
  padding: 4rem 0;
  text-align: center;
  background: #f8d1e2;
}
.sr-hero__title { font-size: 2rem; margin-bottom: .5rem; text-align: center; }
.sr-hero__subtitle { margin: 2rem 0; }

.sr-hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sr-hero__img {
  max-width: 300px;
  height: auto;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .sr-hero__inner {
    flex-direction: column;
    gap: 1rem;
  }
  .sr-hero__img {
    max-width: 100%;
    margin-bottom: 30px;
  }
}


.sr-logo {
  display: inline-block;
  height: auto;
}

.sr-logo--sc {
  width: 250px;
}

.sr-logo--ak {
  width: 440px;
}

@media (max-width: 768px) {
  .sr-logo--sc {
    width: 180px;
  }

  .sr-logo--ak {
    width: 280px;
  }
}

.sr-rights{
  width:100%;
  text-align: right;
}
.sr-rights img{
  width:200px;
}

/* ボタン共通 */
.sr-btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}




/* 特徴 */
.sr-features{
  margin:100px 0;
}
.sr-features__slider {
  position: relative;
}
.sr-features__slider_single{
width:100%;
}

.sr-features__slider_single,hover-preview img {
  max-width: 400px;
  margin: 0 auto;
}

.tns-outer{border-radius: 15px !important;}

.tns-ovh {
  border-radius: 15px;
}

.sr-feature-item {
  padding:1rem;
  background:#fff;
  text-align:center;
  position: relative;
  display: block; /* ← inline-block を block に変更 */
  overflow: hidden;
}
.sr-feature-item img:not(.hover-preview) {
  display: block;
  width: 100%;
  height: auto;
}
.sr-feature-item img.hover-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.sr-feature-item:hover img.hover-preview {
  opacity: 1;
}


/* タイトル横の画像調整 */
.sr-features__header img {
  display:inline-block;
  vertical-align:middle;
  margin-left:8px;
  width:200px;
  padding:10px;
  height:auto;
}

.sr-features__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* テキスト部分の調整 */
.header-text h2 {
  margin: 0.5em 0;
  font-size: 1.5rem;
}

/* スマホ表示：縦並びに */
@media (max-width: 768px) {
  .sr-features__header {
    flex-direction: column;
    text-align: center;
  }
  .header-text {
    margin-top: 1rem;
  }
}
















/* トップボタン */
.sr-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  background: rgba(248, 209, 226, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none;
  cursor: pointer;
  z-index: 999;
}
.sr-top-btn:hover {
  background: rgba(233, 30, 99 , 1);
}




.img-wrapper {
  position: relative;
  width: 100%;
}
.img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}









.sr-buy-block {
  margin-top: 1.5rem;
  text-align: center;
}

.sr-buy-toggle {
  max-width: 100%;
  background-color: #e91e63;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.sr-buy-toggle:hover {
  background-color: #c2185b;
}

.sr-buy-links {
  margin-top: 1rem;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.sr-buy-links a {
  display: inline-block;
  background-color: #f8d1e2;
  color: #333;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  border: 1px solid #ccc;
  transition: background 0.3s;
  flex-grow: 1;
}

.sr-buy-links a:hover {
  background-color: #f48fb1;
  color: #fff;
}

@media (max-width: 768px) {
  .sr-buy-links {
    flex-direction: column;
  }
}


.slider-wrapper {
  position: relative;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  pointer-events: none; /* 背面をスライド操作可能に */
}

.slider-controls button {
  position: absolute;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  //background: rgba(207, 207, 207, 0.5);
  border: none;
  color: #a0a0a0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
}

.slider-controls #prev { left: 10px; }
.slider-controls #next { right: 10px; }
