/* 基本設定 */
body {
  background: white;
  color: #2a2f33;
}
a.kabu{
  font-family: "Zen Maru Gothic", sans-serif;
  color: #39bdc0;}
div.blank{
	height: 20px;
}

@import url("https://use.fontawesome.com/releases/v5.13.0/css/all.css");

/* フェードイン */
.fade-up-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

/* ヘッダー画像 */
.main-picture {
  margin-top: 0px;
  display: block;
  border-radius: 0;
}
.main-picture img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0;
}
@media (max-width: 768px) {
  .main-picture img {
    margin-top: 68px;
  }
}

/* 画像2列 レスポンシブで1列 */
.container-image {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 0 0px;
}
.item {
  flex: 1 1 45%;
  box-sizing: border-box;
  text-align: center;
}
.item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}
.item p {
  margin-top: 10px;
  font-size: 1.5rem;
  text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
}
@media (max-width: 768px) {
  .container-image {
    flex-direction: column;
    margin: 0 10px;
  }
  .item {
    flex: 1 1 100%;
  }
  .item p {
    font-size: 1.2rem;
  }
}

/* 画像1列 */
.single-image-block {
  text-align: center;
  margin-bottom: 30px;
}
.single-image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}
.single-caption {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
}
@media (max-width: 768px) {
  .single-image-block {
    margin-bottom: 10px;
  }
}

/* セクションタイトル（h2、h3） */
.label-title {
  text-align: center;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 4.5rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  color: #2a2f33;
}
.label-title .label {
  display: inline-block;
  background: #39bdc0;
  color: white;
  border-radius: 2em;
  padding: 0.3em 3em;
  position: relative;
  font-size: 3rem;
  font-family: "Zen Maru Gothic", sans-serif;
  margin-bottom: 10px;
}
.label-title .label::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0 7px;
  border-style: solid;
  border-color: #39bdc0 transparent transparent transparent;
}
@media (max-width: 768px) {
  .label-title {
    font-size: 2.5rem;
  }
  .label-title .label {
    font-size: 2rem;
  }
}


h3.h3-title {
  position: relative;
  background-color: #83d0cf;
  color: white;
  border-radius: 100vh;
  padding: 25px 45px;
  margin: 50px 0 30px 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1;
  display: block;
  text-align: left;
  text-shadow: 0px 0px 5px #096e6c;
  
}
h3.h3-title::before {
  content: "";
  position: absolute;
  top: -30px;
  right: 0;
  width: 140px;
  height: 140px;
  background-image: url('images/bg-kabu.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  transform: rotate(15deg);
  transform-origin: top right;
  pointer-events: none;
  z-index: 0;
}
h3.h3-title::after {
  content: "";
  position: absolute;
  left: 60px; /* ← 好きな位置に調整可能 */
  bottom: -10px;
  transform: none; /* ← 中央寄せのtransformを削除 */
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #83d0cf transparent transparent transparent;
  z-index: 1;
}
h3.h3-title > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
	h3.h3-title{
		font-size: 2rem;
		margin: 20px 0 20px 0;
		padding: 20px 25px;
		line-height: 1.5;
	}
	h3.h3-title::before {
		right: -10px;
	}
	h3.h3-title::after {
		left: 50px;
	}
}

/*h3 赤*/
h3.h3-title-red {
  position: relative;
  background-color: #f079b9;
  color: white;
  border-radius: 100vh;
  padding: 25px 45px;
  margin: 50px 0 30px 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1;
  display: block;
  text-align: left;
  text-shadow: 0px 0px 5px #ad3977;
}
h3.h3-title-red::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 40px;
  width: 80px;
  height: 80px;
  background-image: url('images/bg-ex.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  transform: rotate(15deg);
  transform-origin: top right;
  pointer-events: none;
  z-index: 0;
}
h3.h3-title-red::after {
  content: "";
  position: absolute;
  left: 60px; /* ← 好きな位置に調整可能 */
  bottom: -10px;
  transform: none; /* ← 中央寄せのtransformを削除 */
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #f079b9 transparent transparent transparent;
  z-index: 1;
}
h3.h3-title-red > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
	h3.h3-title-red{
		font-size: 2rem;
		margin: 20px 0 20px 0;
		padding: 20px 25px;
		line-height: 1.5;
	}
	h3.h3-title-red::before {
		right: -10px;
	}
	h3.h3-title-red::after {
		left: 50px;
	}
}

/*h3 黄*/
h3.h3-title-yellow {
  position: relative;
  background-color: #f0d478;
  color: white;
  border-radius: 100vh;
  padding: 25px 45px;
  margin: 50px 0 30px 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1;
  display: block;
  text-align: left;
  text-shadow: 0px 0px 5px #987500;
}
h3.h3-title-yellow::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 40px;
  width: 100px;
  height: 100px;
  background-image: url('images/bg_point.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  transform: rotate(15deg);
  transform-origin: top right;
  pointer-events: none;
  z-index: 0;
}
h3.h3-title-yellow::after {
  content: "";
  position: absolute;
  left: 60px; /* ← 好きな位置に調整可能 */
  bottom: -10px;
  transform: none; /* ← 中央寄せのtransformを削除 */
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #f0d478 transparent transparent transparent;
  z-index: 1;
}
h3.h3-title-yellow > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
	h3.h3-title-yellow{
		font-size: 2rem;
		margin: 20px 0 20px 0;
		padding: 20px 25px;
		line-height: 1.5;
	}
	h3.h3-title-yellow::before {
		right: -10px;
	}
	h3.h3-title-yellow::after {
		left: 50px;
	}
}

/* リンク */
.center-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 10px 0;
  padding: 0 10px;
}
.center-links a {
  background-color: #209cff;
  color: white;
  text-decoration: none;
  padding: 1rem 10rem;
  border-radius: 5rem;
  font-size: 2.2rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-align: center;
}
.center-links a {
  flex: 0 1 auto;
}
.center-links a:hover {
  background-color: #7dc4ff;
}
@media (max-width: 768px) {
  .center-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
  }
  .center-links a {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.8rem;
  }
}




/* ボックス背景エリア */
.box-color{
	width: 100%;
	padding: 50px 0;
	margin: 0;
}
@media (max-width: 768px) {
	.box-color{
		padding: 0px;}
}
.box-color1 {
  background-color: #fcf9cf;
}
.box-color2 {
  background-color: #ffffff;
}
.box-color3 {
  background-color: #ffffff;
  background-image: linear-gradient(321deg, rgba(221, 251, 253, 1) 10%, rgba(244, 251, 222, 0.5) 49%, rgba(253, 237, 179, 1));
}

/* 汎用ボックス */
.centered-box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  background-image: linear-gradient(321deg, rgba(254, 229, 139, 1) 10%, rgba(244, 255, 208, 0.5) 49%, rgba(166, 245, 249, 1));
  padding: 10px 100px 40px 100px;
  text-align: center;
}
.centered-box .box{
	background-color: white;
	border-radius: 5rem;
	padding: 40px 120px 50px 120px;
}
.centered-box .box p{
	text-align: left;
	line-height: 2.0;
}
@media (max-width: 768px) {
  .centered-box {
    margin: 0px 0px 0px 0px;
    padding: 15px 0px;
    border-radius: 0;
  }
  .centered-box .box p{
	  font-size: 1.5rem;
	line-height: 2.0;
  }
  .centered-box .box {
    padding: 20px 20px; /* ←左右を小さく */
    margin: 15px;
    border-radius: 2rem;
  }
}

.centered-box .title {
  font-size: 4rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .centered-box .title {
    font-size: 2.5rem;
  }
}

/* 太字とマーカー */
.text-bold {
  display: inline;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 2.6rem;
  color: #dec362;
}
@media (max-width: 768px) {
	.text-bold{
		line-height: 1.5;
	}
}
.text-marker {
  display: inline;
  background: linear-gradient(transparent 60%, #fdf3b2 60%);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 2rem;
}


/* セクション間隔 */
.section-blank {
  height: 20px;
  width: 100%;
}

/* 最後の画像のマージン */
.last-image{
	margin: 10px 150px 0 150px;
}
@media (max-width: 768px) {
	.last-image{
		margin: 0 20px;
	}
}

/* ロゴ画像 */
.logo-pk {
  display: flex;
  justify-content: center;
}
.logo-pk img{
	width: 500px;
	margin-top: 5px;
	margin-bottom: 10px;
}
@media (max-width: 768px) {
	.logo-pk img{
		width: 250px;
		margin-top: 5px;
		margin-bottom: 10px;
	}
}

