@charset "UTF-8";
/* ===============================
   0. Reset
=============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* ===============================
   1. Base
=============================== */

:root {
  --c-blue: #E4F1F3;
  --c-yellow: #FFF8E9;
  --c-accent: #5ABEC8;
  --c-text: #3C3C3C;
  --radius: 35px;
  --space: 24px;
  /* モバイル基準の余白 */
  --gap: 40px;
  /* モバイル基準の間隔 */
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  
  color: var(--c-text);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.4px;

  background: #fff;
  width: 100%;
  max-width: 520px;

  /* PC 中央寄せ */
  margin: 0 auto;
}

/* 本文だけ太字にする */
p {
  font-weight: 700;
}

img, video {
  /* width: 100%; */
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

section {
  width: 100%;
}

/* ===============================
   2. Layout（モバイル基準）
=============================== */
/* 上下の余白*/
.p-section {
  width: 94%;
  padding: calc(var(--space) + 12px) 0;

  background-color: #fff;
  border-radius: var(--radius);
  display: inline-block;
  text-align: center;
}



/* 中身を整える */
.p-container {
  width: 94%;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.nomal-container {
  width: 90%;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* 768px以上で余白を広げる */
@media (min-width: 768px) {
  :root {
    --space: 40px;
    /* PCは余白を広めに */
  }

  .p-section {
    padding: 50px 0;
  }

  .p-container {
    width: min(1200px, 90%);
  }
}

/* ===============================
   3. Utility
=============================== */
.u-center {
  text-align: center;
}

.u-mb40 {
  margin-bottom: 40px;
}

.u-mb80 {
  margin-bottom: 80px;
}

.u-radius {
  border-radius: var(--radius);
}

/* ===============================
   4. Color Blocks
=============================== */
.bg-blue {
  background: var(--c-blue);
  /* padding: var(--space); */
  display: flex;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 20px;
}

.bg-yellow {
  background: var(--c-yellow);
  /* padding: var(--space); */
}

/* ===============================
   5. Components
=============================== */
.c-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  padding: var(--space);
  margin-bottom: var(--space);
}

.c-btn {
  display: inline-block;
  padding: 12px 20px;
  /* モバイル基準 */
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .c-btn {
    padding: 14px 28px;
    /* PCで少し大きく */
  }
}

.c-btn:hover {
  background-color: #4aa9b5;
}

/* ===============================
   6. Modal
=============================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}


.modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  padding: 24px;
  /* モバイル基準 */
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-content p {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .modal-content {
    padding: 40px;
    /* PCで広めに */
  }

  .modal-content p {
  font-size: 15px;
  line-height: 1.7;
}

}

/* ===============================
   7. Swiper
=============================== */
.carousel {
  width: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 16px;
  /* モバイル基準 */
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .swiper-slide {
    font-size: 18px;
  }
}

.swiper-slide img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.15);
}

.swiper-pagination-bullet {
  width: 0.5em;
  height: 0.5em;
  background-color: var(--c-accent);
}

.swiper-pagination {
  position: static !important;
  /* margin-top: 7px; */
}

/* ===============================
   8. Floating Banner
=============================== */
.floating-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 100;
  width: 100%;
  max-width: 699px;
}

/* ===============================
   9. Responsive Visibility
=============================== */
.pcver {
  display: none;
}

.spver {
  display: block;
}

@media (min-width: 768px) {
  .pcver {
    display: block;
  }

  .spver {
    display: none;
  }
}

/* ===============================
   10. Pages（ページ固有）
=============================== */

section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-section {
  position: relative;
}

.point {
  width: 140px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media (min-width: 768px) {
  .point {
    width: 160px;
  }
}

h2 {
  width: 85%;
  margin: 0 auto;
}

.p-container img {
  width: 100%;
  margin: 0 auto;
  display: block;
  /* border-radius: 10px; */
}

.opening {
  /* background: linear-gradient(to bottom,
      #51b1bf 0%,
      #6fc3c8 20%,
      #9ed7d2 40%,
      #cfe9e0 60%,
      #fff2d5 100%); */

  background: linear-gradient(180deg, #51B1BF 42.79%, #FFF2D5 100%);
}

.introduction {
  background: #fff2d5;
}

.ending {
  background: var(--c-blue);
}

.customer_review {
  background: linear-gradient(180deg, #E4F1F3 0%, #FFF8E9 100%);
}

.customer_review img {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 15px;
  /* 影を付ける */
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  border-radius: 0 30px 30px 30px;
}

.customer_review .last_review {
  margin-bottom: 0;
}

.customer_review .first_review {
  border-radius: 0 14px 14px 14px;
}

footer {
  background: var(--c-yellow);
}

p {
  text-align: center;
}

.opening p {
  color: #FFF;
}

.introduction p {
  color: #613509;
}

/* 画像の角丸 */
.point_1 img,
.point_2 img,
.point_3 img {
  border-radius: 10px;
}

#kadomaru_0 {
  border-radius: 0;
}

.kadomaru_1 {
  border-radius: 0 50px;
}

.kadomaru_2 {
  border-radius: 0 30px;
}

small {
  font-size: 10px;
}

small.zeikomi {
  font-size: 12px;
  color: var(--c-text);
}

.norikae button {
  text-align: left;
  text-decoration: none;
}

/* モーダル用CSS START*/
.modalArea {
	display: none;
	position: fixed;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.modalBg {
	width: 100%;
	height: 100%;
	background-color: rgba(30, 30, 30, 0.5);
}

.modalWrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70%;
	max-width: 500px;
	background-color: #fff0;
}

.modalWrapper figure {
	margin-bottom: 0px;
}

.modalWrapper a:hover {
	cursor: pointer;
	opacity: 1;
	/* IE8 over, Opera, Safari, CSS3 over */
	transition-property: all;
	transition: 0.3s linear;
	text-decoration: none;
	color: inherit;
}

.closeModal {
	position: absolute;
	top: -15px;
	right: -15px;
	font-size: 17px;
	cursor: pointer;
	border-radius: 100%;
	width: 30px;
	height: 30px;
	text-align: center;
	vertical-align: middle;
}


#openModal {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* モーダル用CSS END*/

/* モーダル */
/* ボタン */
.open-btn {
	font-size: 70%;
	color: #1c293f;
	text-decoration: underline;
	border: none;
	cursor: pointer;
	margin: 0 0 16px 16px;
	display: block;
	margin-left: auto;
	background: transparent;
	/* 背景が不要なら透明に */
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
}

.open-btn:focus,
.close-btn:focus {
	outline: none;
}

.open-btn:hover {
	color: #b8b5b5;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 30px;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: transform 0.3s ease;
}

/* モーダル背景 */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: rgba(79, 79, 79, 0.5);
	z-index: 150;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* モーダル表示状態 */
.modal.active {
	display: flex;
	opacity: 1;
	pointer-events: auto;
}


/* モーダルの中身*/
.modal-content {
	border-radius: 5px;
	max-width: 100%;
	text-align: left;
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.3s ease;
	max-height: 80vh;
	overflow-y: auto;
	z-index: 999;
}

/* pc */
@media (min-width: 768px) {
  .modal-content {
	padding: 50px 30px;
  }
}



/* アニメーション*/
.modal.active .modal-content {
	animation: fadeInScale 0.4s ease forwards;
}

@keyframes fadeInScale {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.norikae p {
  text-align: left;
}

button {
	transition: all 0.3s ease;
}

@media (min-width: 768px) {
  p {
    font-size: 18px;
    /* PCで少し大きく */
  }
}

#carousel_small {
  text-align: center;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  font-weight: 700;
}

small {
  color: #777;
}

.point_1.bg-blue {
  position: relative;
  padding-top: 0px;
}

.nami {
  padding-bottom: 40px;
}

h2 {
  margin: 10px auto;
}

.how_to_buy h2 {
  margin-top: 20px;
  margin-bottom: 0;
}

/* さっそく我が家でも...タイトル */
.sub_title {
  margin: 10px auto 15px auto;
  /* margin-top: 10px; */
  width: 90%;
}

/* youtube iframe */
iframe {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 9;
  border: none;
}

#nami {
  width: 100%;
  border-radius: 0px;
  transform: translateY(-2px);
}

.ending #nami {
  background-color: var(--c-yellow);
}

.hyou {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tunagi {
  margin-top: var(--gap);
}

.opening .nomal-container {
  margin-bottom: 0px;
}

.last_cta {
  font-size: 20px;
  padding: 20px;
  padding-top: 40px;
  color: var(--c-accent);
}

address p {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}

address div p {
  line-height: 1.4;
  padding-bottom: 3.5px;
}

address a {
  color: var(--c-accent);
}

.pr p {
  font-size: 12px;
  color: #777;
  transform: translateY(-15px);
}

@media (min-width: 768px) {
  .pr p {
    font-size: 14px;
  }
}



.pr {
  width: 100%;
  display: inline-block;
  text-align: right;
}

.pr p {
  font-weight: 500;
  padding: 0 10px;
  display: flex;
  justify-content: end;
}

.swiper-slide img {
  border-radius: 15px;
  width: 100%;
}

#fourthSwiper .swiper-slide img {
  border-radius: 10.4px;
}

video,
iframe {
  border-radius: 10px;
}

.how_to_buy img {
  border-radius: 10px;
}

img.kadonasi {
  border-radius: 0px;
}

.tyusyaku {
  font-size: 9px;
  text-align: left;
  line-height: 1.2;
  letter-spacing: 0;
}

.tyusyaku2 {
  text-align: right;
  line-height: 1;
}
 
p.bold_blue,
span.bold_blue {
  font-weight: 700;
  color: rgb(13, 13, 189);
}

.big {
  font-size: 20px;
  line-height: 1.4;
}

.line {
   background: linear-gradient(transparent 60%, rgba(255, 255, 0, 0.418) 0%);
}

.bold {
  font-weight: 900;
}

.ending a img {
  border-radius: 15px;
}

#kadomaru_0.mt {
  margin-top: 3px;
}

footer small,
footer small p {
  font-size: 12px;
  letter-spacing: 0.1px;
}

footer a {
  text-decoration: underline;
}

#contractFeeInfo {
  margin-top: 3px;
  margin-bottom: 5px;
}

#contractFeeInfo p {
  text-align: left;
  font-weight: 500;
}

.ending.big {
  font-weight: 500;
}

/* youtube軽量化 */
lite-youtube {
  display: block;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  margin: 0 auto;
}