@charset "UTF-8";

figure{
  margin: 0;
  padding: 0;
}
.c-title-2{
  border: solid 5px #75d142;
  font-size: 18px;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
  padding: 12px 30px;
  margin-bottom: 35px;
}
@media (max-width: 768px) {
  .c-title-2{
    font-size: 2rem;
    padding: 12px 15px;
    margin-bottom: 30px;
  }
}
.c-title-3{
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.8;
}
.c-row{
  border-bottom: solid 3px #74D143;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}
.c-row li{
  display: flex;
}
.c-row p,
.c-row li{
  line-height: 1.9;
}

.sdgs-img{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 4rem;
  margin-bottom: 5rem;
}
.sdgs-img img{
  max-width: 600px;
  width: 100%;
  height: auto;
}

#pg-sdgs p{
  line-height: 1.9;
}

.sdgs-box{
  padding: 25px 30px;
  margin-top: 35px;
  background: #E2E2E2;
}
.sdgs-box h4{
  font-weight: 600;
  margin-top: 3rem;
}
.sdgs-box .link{
  margin-top: 5rem;
  display: flex;
  flex-wrap: wrap;
}
.sdgs-box .link a{
  color: #3d3d3d;
  word-break: break-all;
}
.sdgs-box .link a:hover{
  text-decoration: underline;
}

/* ===== Googleクチコミ見出し ===== */
.topReview__header {
  max-width: 1100px;
  margin: 0 auto 12px;
  padding: 0 8px;
  text-align: center;
}
.topReview__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: bold;
  color: #222;
  line-height: 1.4;
}
.topReview__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}
.topReview__count,
.topReview__rating {
  color: #d93025;
  font-size: 17px;
  font-weight: bold;
  padding: 0 2px;
}
@media (max-width: 768px) {
  .topReview__title { font-size: 18px; }
  .topReview__lead { font-size: 14px; }
  .topReview__count,
  .topReview__rating { font-size: 15px; }
}

/* ===== YouTube 最新動画セクション ===== */
.cwYoutube {
  margin: 28px 0;
  padding: 24px 16px;
  background: #f7f7f7;
  border-radius: 8px;
}
.cwYoutube__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cwYoutube__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: bold;
  color: #222;
}
.cwYoutube__titleIcon { display: inline-flex; }
.cwYoutube__lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: #555;
}
.cwYoutube__slider { position: relative; }
.cwYoutube__list {
  list-style: none;
  margin: 0;
  /* PC: 3カラム表示の横スクロールスライド */
  padding: 4px 0 16px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cwYoutube__list::-webkit-scrollbar { display: none; }
.cwYoutube__item {
  margin: 0;
  /* PC: 3カラム表示 = (100% - gap*2) / 3 */
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
}

/* 左右ナビ矢印(共通: PC/SP両方で表示) */
.cwYoutube__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: calc(50% - 30px);   /* タイトル下の動画エリア中央寄り */
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 2;
  appearance: none;
}
.cwYoutube__nav::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
}
.cwYoutube__nav--prev { left: -8px; }
.cwYoutube__nav--prev::before { transform: rotate(-135deg); margin-left: 4px; }
.cwYoutube__nav--next { right: -8px; }
.cwYoutube__nav--next::before { transform: rotate(45deg); margin-right: 4px; }
.cwYoutube__nav:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.3); }
.cwYoutube__card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cwYoutube__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.cwYoutube__player,
.cwYoutube__iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  margin: 0;
  background: #000;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.cwYoutube__player { appearance: none; }
.cwYoutube__thumbImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cwYoutube__playIcon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.92;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.cwYoutube__player:hover .cwYoutube__playIcon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}
.cwYoutube__videoTitle {
  margin: 0;
  padding: 10px 12px 12px;
  font-size: 14px;
  line-height: 1.5;
}
.cwYoutube__videoTitle a {
  color: #222;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cwYoutube__videoTitle a:hover { text-decoration: underline; }
.cwYoutube__more {
  margin: 18px 0 0;
  text-align: center;
}
.cwYoutube__moreBtn {
  display: inline-block;
  padding: 10px 22px;
  background: #FF0000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}
.cwYoutube__moreBtn:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .cwYoutube { padding: 20px 0; }
  .cwYoutube__title { font-size: 18px; padding: 0 16px; }
  .cwYoutube__lead  { padding: 0 16px; }
  .cwYoutube__more  { padding: 0 16px; }

  /* SP: 1枚表示(カード85%幅 + 中央スナップ) */
  .cwYoutube__list {
    gap: 12px;
    padding: 4px 7.5% 16px;
  }
  .cwYoutube__item {
    flex: 0 0 85%;
    max-width: 360px;
    scroll-snap-align: center;
  }

  /* 矢印: SPでは小さめサイズ */
  .cwYoutube__nav {
    width: 32px;
    height: 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  }
  .cwYoutube__nav::before { width: 10px; height: 10px; }
  .cwYoutube__nav--prev { left: 2px; }
  .cwYoutube__nav--prev::before { margin-left: 3px; }
  .cwYoutube__nav--next { right: 2px; }
  .cwYoutube__nav--next::before { margin-right: 3px; }
}