/* ========================================
   リセット・基本スタイル
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main a {
	text-decoration: none;
}
.main section {
	text-align: center;
	margin-bottom: 20px;
}
.main-image {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 600px;
}

.intro-txt{
	font-size: 1em;
	line-height: 1.8;
	text-align: center;
	margin: 30px auto;
}

/* 背景のランダム装飾用コンテナ */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.bg-deco-item {
    position: absolute;
    opacity: 0.3;
}

/* ========================================
   タグコンテナ（モバイルファースト）
   ======================================== */

.tag-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ========================================
   吹き出しスタイル（モバイルファースト）
   ======================================== */

.speech-bubble {
	display: inline-block;
  padding: 5px 10px;
  background-color: #ffd9e6;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  width: auto;
  max-width: 90%;
}

/* 下向き吹き出しの矢印（三角形）*/
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #ffd9e6;
}

.speech-bubble p {
  color: #5a4a7a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

/* ========================================
   個別タグスタイル（モバイルファースト）
   ======================================== */

.tag {
  display: inline-block;
  padding: 10px 16px;
  background-color: #ffffff;
  border: 2px solid #d8c4e8;
  border-radius: 20px;
  color: #5a4a7a;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tag:hover {
  border-color: #c4a8d8;
  box-shadow: 0 4px 12px rgba(216, 196, 232, 0.3);
  transform: translateY(-2px);
}

.tag:visited {
  color: #5a4a7a;
}
/* ========================================
   画像カルーセル（モバイルファースト）
   ======================================== */

.image-carousel {
  width: 100%;
  margin-top: 10px;
  overflow: hidden;
  background-color: #ffffff;
  padding: 20px 0;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  animation: slide 60s linear infinite;
  gap: 15px;
  padding: 0 15px;
}

.carousel-image {
  min-width: 200px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* カルーセルアニメーション定義 */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2472px);
  }
}
.carousel-credit {
  font-size: 12px;
  color: #999;
  text-align: right;
  padding: 10px 20px 0 0;
  margin: 0;
}


/* ========================================
   バナーボックスWrapper（モバイルファースト）
   ======================================== */

.banner-boxes-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ========================================
   バナーボタン（モバイルファースト）
   ======================================== */

.banner-button {
  width: 100%;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdf8fc 0%, #faf5fc 100%);
  border: 2px solid #e8d4f0;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(216, 196, 232, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.banner-button:hover .banner-content {
  box-shadow: 0 8px 24px rgba(216, 196, 232, 0.35);
  transform: translateY(-2px);
  border-color: #d8c4e8;
}

.banner-title {
  font-size: 20px;
  font-weight: 700;
  color: #5a4a7a;
  margin: 0 0 8px 0;
  line-height: 1.3;
  background: none;
  border: none;
}

.banner-description {
  font-size: 12px;
  color: #8b7a9e;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

/* ========================================
   ブランドグリッド（モバイルファースト）
   ======================================== */

.brand-grid-wrapper,.kikaku-grid-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 0 16px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.brand-card {
  background: linear-gradient(135deg, #fdf8fc 0%, #faf5fc 100%);
  border: 2px solid #e8d4f0;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(216, 196, 232, 0.2);
}


.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #5a4a7a;
  margin: 0 0 0 0;
  line-height: 1.3;
	background: none;
	border: none;
}
  .brand-name small{
    font-size: 10px;
    color: #8b7a9e;
  }

.main .brand-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.main .brand-links li {
  margin: 0;
  padding: 0;
list-style: none;	
}

.brand-links a {
  font-size: 12px;
  color: #8b7a9e;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 3px 0;
  position: relative;
}

.brand-links a:before {
  content: ">";
  margin-right: 6px;
  color: #d491c8;
  font-weight: 600;
}

.brand-links a:hover {
  color: #d491c8;
  font-weight: 600;
}


/* ========================================
   タブレット・PC向けレイアウト
   ======================================== */

@media (min-width: 820px) {
.intro-txt{
	font-size: 1.2em;
	line-height: 2.0;
}

  .tag-container {
    width: 100%;
  }
  .speech-bubble {
    padding: 5px 10px;
    border-radius: 10px;
    margin-bottom: 30px;
	max-width: 95%;
  }

  .speech-bubble::after {
    bottom: -10px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #ffd9e6;
  }

  .speech-bubble p {
    font-size: 16px;
    line-height: 1.7;
    white-space: normal;
  }

  .tag-list {
    gap: 15px;
    justify-content: center;
  }

  .tag {
    padding: 12px 20px;
    font-size: 15px;
  }

  .tag:hover {
    border-color: #b89cc8;
    box-shadow: 0 6px 16px rgba(216, 196, 232, 0.4);
  }
	
  .image-carousel {
    margin-top: 10px;
    padding: 30px 0;
  }

  .carousel-track {
    gap: 20px;
    padding: 0 20px;
  }

  .carousel-image {
    min-width: 280px;
    width: 280px;
    height: 280px;
  }

  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-3360px);
    }
  }
  .carousel-credit {
    font-size: 13px;
    padding: 15px 30px 0 0;
  }
	
	
  .banner-boxes-wrapper {
    max-width: 650px;
    margin: 0 auto 50px;
    padding: 0;
    flex-direction: row;
    gap: 24px;
  }

  .banner-button {
    flex: 1;
  }

  .banner-content {
    border-radius: 16px;
    padding: 36px 32px;
  }

  .banner-title {
    font-size: 24px;
    margin: 0 0 10px 0;
  }

  .banner-description {
    font-size: 13px;
  }
	
/*ブランドグリッド*/
  .brand-grid-wrapper {
    max-width: 1000px;
    margin: 0px auto 50px;
    padding: 0 24px;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .brand-card {
    border-radius: 20px;
    padding: 24px;
  }

  .brand-name {
    font-size: 18px;
    margin: 0 0 0 0;
  }

  .brand-name small{
    font-size: 12px;
  }
	
  .brand-links {
    gap: 14px;
  }

  .brand-links a {
    font-size: 13px;
    padding: 5px 0;
  }
	
	
}

