@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* =============================
   サチライフ トップページ専用CSS
   ============================= */

/* ヒーローセクション */
.sl-hero {
  background: linear-gradient(135deg, #f8f4ff 0%, #fff8f0 50%, #f0f8ff 100%);
  border-radius: 16px;
  padding: 64px 32px;
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.sl-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(180,140,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.sl-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,200,120,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.sl-hero__inner {
  position: relative;
  z-index: 1;
}

.sl-hero__sub {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #a090c0;
  margin-bottom: 16px;
  font-weight: 500;
}

.sl-hero__title {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  color: #3a2e50;
  line-height: 1.5;
  margin-bottom: 20px;
  border: none !important;
  padding: 0 !important;
}

.sl-hero__title::after {
  display: none !important;
}

.sl-hero__desc {
  font-size: 15px;
  color: #6b5f80;
  line-height: 1.9;
  margin-bottom: 32px;
}

.sl-hero__btn {
  display: inline-block;
  background: linear-gradient(135deg, #9b7fe8, #c49de0);
  color: #fff !important;
  text-decoration: none !important;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 20px rgba(155,127,232,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.sl-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(155,127,232,0.45);
}

/* セクション共通 */
.sl-section {
  margin-bottom: 56px;
}

.sl-section__title {
  font-size: 20px;
  font-weight: 700;
  color: #3a2e50;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 14px;
}

.sl-section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #9b7fe8, #c49de0);
  border-radius: 2px;
}

/* カテゴリーカード */
.sl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .sl-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #f0eaf8;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 12px rgba(155,127,232,0.07);
}

.sl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(155,127,232,0.16);
  border-color: #c4a8e8;
}

.sl-card__icon {
  font-size: 36px;
  margin-bottom: 12px;
  line-height: 1;
}

.sl-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #3a2e50;
  margin-bottom: 6px;
}

.sl-card__desc {
  font-size: 12px;
  color: #9a8faa;
  line-height: 1.6;
}
