/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

header{
	padding: 0 6rem;
}
/* --- TOPページ(39)だけ の せってい --- */

/* TOPページ(39)のメインコンテンツ部分にある .container の
  幅の制限と、左右の余白をリセット（なくす）
*/
body.page-id-39 .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

:root {
            --brand-primary-light:#FEE2E2;
            --brand-primary: #FCA5A5;
            --brand-secondary: #A78BFA;
            --brand-dark: #4B5563;
            --brand-light-bg: #FEF3F2;
            --gradient-start: #FCA5A5;
            --gradient-end: #A78BFA;
            --text-gray-900: #111827;
            --text-gray-800: #1F2937;
            --text-gray-700: #374151;
            --text-gray-600: #4B5563;
            --text-gray-500: #6B7280;
            --white: #FFFFFF;
            --border-gray-200: #E5E7EB;
        }
body.page-id-39 [role="main"] h2 {
  border: none;
  background: none;
  padding: 0;
}
body.page-id-39 [role="main"] h3 {
  border: none;
  background: none;
  padding: 0;
}
body.page-id-39 [role="main"] h2::after {
  content: none; /* 「おまけの飾り」そのものを「なし」にする */
}

/* TOPページ(39)の h3 の「::after飾り」をリセット */
body.page-id-39 [role="main"] h3::after {
  content: none; /* 「おまけの飾り」そのものを「なし」にする */
}


        /*
         * ===============================================
         * CSS 変数 (カラーパレット)
         * 色を変更したい場合は、ここの値を変更します
         * ===============================================
         */
        :root {
            --brand-primary-light: #FEE2E2;
            --brand-primary: #FCA5A5;
            --brand-secondary: #A78BFA;
            --brand-dark: #4B5563;
            --brand-light-bg: #FEF3F2;
            --gradient-start: #FCA5A5;
            --gradient-end: #A78BFA;
            --text-gray-900: #111827;
            --text-gray-800: #1F2937;
            --text-gray-700: #374151;
            --text-gray-600: #4B5563;
            --text-gray-500: #6B7280;
            --white: #FFFFFF;
            --border-gray-200: #E5E7EB;
        }

        /*
         * ===============================================
         * グローバルスタイル（リセットと基本設定）
         * ===============================================
         */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', 'Noto Sans JP', sans-serif;
            color: var(--brand-dark);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /*
         * ===============================================
         * 共通コンポーネント
        /* 共通コンポーネント */
        /* =============================================== */

        /* セクション共通 */
        .top-section {
            padding-top: 4rem; /* 64px */
            padding-bottom: 4rem; /* 64px */
					padding-left: 6rem;
					padding-right: 6rem;
        }
        @media (min-width: 768px) {
            .top-section {
                padding-top: 6rem; /* 96px */
                padding-bottom: 6rem; /* 96px */
            }
        }

        /* コンテナ */
        .container {
            max-width: 1152px; /* max-w-6xl */
            margin-left: auto;
            margin-right: auto;
        }
        @media (min-width: 640px) {
            .container { padding-left: 1.5rem; padding-right: 1.5rem; }
        }
        @media (min-width: 1024px) {
            .container { padding-left: 2rem; padding-right: 2rem; }
        }
        .container.max-w-4xl {
            max-width: 896px;
        }
        
        /* セクションタイトル */
        .section-title {
            font-size: 1.875rem; /* 3xl */
            font-weight: 700;
            text-align: center;
            margin-bottom: 3rem; /* mb-12 */
            color: var(--text-gray-900);
        }
        @media (min-width: 768px) {
            .section-title {
                font-size: 2.25rem; /* md:text-4xl */
            }
        }
        #strengths .section-title {
            margin-bottom: 4rem; /* mb-16 */
        }
        .section-title.white-text {
            color: var(--white);
            margin-bottom: 1.5rem;
        }
        
        /* CTAボタン */
        .cta-button {
            display: inline-block;
            background-color: var(--brand-primary);
            color: var(--white);
            font-weight: 700;
            padding: 0.75rem 2rem;
            border-radius: 9999px;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        .cta-button:hover {
            background-color: #EF4444; /* red-500 */
            transform: translateY(-2px);
        }
        .cta-button.reverse-button {
            background-color: var(--white);
            color: var(--brand-primary);
        }
        .cta-button.reverse-button:hover {
            background-color: #FEF2F2; /* red-100 */
        }
        
        /* 背景色 */
        .bg-white { background-color: var(--white); }
        .bg-brand-light-bg { background-color: var(--brand-light-bg); }
        .gradient-bg {
            background-image: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
        }

        /*
         * ===============================================
         * セクション別スタイル
         * ===============================================
         */

        /* About us */
        #about-us .two-column-layout {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }
        #about-us .text-content h3 {
            font-size: 1.5rem; /* 2xl */
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--brand-primary);
        }
        #about-us .text-content p {
            color: var(--text-gray-700);
            margin-bottom: 1rem;
            line-height: 1.75;
        }
        #about-us .text-content small {
            color: var(--text-gray-500);
        }
        #about-us .image-content img {
            border-radius: 0.5rem; /* rounded-lg */
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); /* shadow-xl */
            width: 100%;
            object-fit: cover;
        }
        @media (min-width: 768px) {
            #about-us .two-column-layout {
                flex-direction: row;
                gap: 3rem;
            }
            #about-us .text-content { width: 50%; }
            #about-us .image-content { width: 50%; }
        }

        /* Strengths (Fannalの強み) */
        #strengths .strength-list {
            display: flex;
            flex-direction: column;
            gap: 3rem;
        }
        #strengths .strength-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            background-color: var(--white);
            border-radius: 0.5rem; /* rounded-lg */
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-lg */
            padding: 1.5rem;
            overflow: hidden;
        }
        #strengths .strength-number {
            position: absolute;
            top: -1rem;
            left: -0.5rem;
            font-size: 4.5rem; /* 7xl */
            font-weight: 700;
            color: var(--brand-primary);
            opacity: 0.1;
            z-index: 0;
        }
        #strengths .strength-item:nth-child(2) .strength-number {
            left: auto;
            right: -0.5rem;
        }
        #strengths .strength-image-wrapper {
            width: 100%;
            flex-shrink: 0;
            z-index: 10;
        }
        #strengths .strength-image {
            width: 100%;
            object-fit: cover;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); /* shadow-md */
        }
        #strengths .strength-content {
            width: 100%;
            z-index: 10;
        }
        #strengths .strength-content h3 {
            font-size: 1.5rem; /* 2xl */
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--brand-primary);
        }
        #strengths .strength-content p {
            color: var(--text-gray-700);
            line-height: 1.75;
        }
        @media (min-width: 768px) {
            #strengths .strength-list { gap: 4rem; }
            #strengths .strength-item {
                flex-direction: row;
                padding: 2rem;
            }
            #strengths .strength-image-wrapper { width: 50%; }
            #strengths .strength-content { width: 50%; }
            #strengths .strength-item:nth-child(2) {
                flex-direction: row-reverse;
            }
        }

        /* Reward (報酬について) */
        #reward { text-align: center; }
        #reward p {
            color: var(--white);
            font-size: 1.125rem; /* text-lg */
            margin-bottom: 2rem;
            line-height: 1.75;
        }
        #reward .cta-button {
            margin-top: 2rem;
        }

        /* News */
        #news { text-align: center; }
        #news .post-list {
            border-top: 1px solid var(--border-gray-200);
            text-align: left;
            list-style: none;
        }
        #news .post-list li {
            border-bottom: 1px solid var(--border-gray-200);
        }
        #news .post-list a {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding: 1rem;
            transition: background-color 0.3s ease;
            border-radius: 0.375rem; /* rounded-md */
        }
        #news .post-list a:hover {
            background-color: var(--brand-primary-light);
        }
        #news .post-date {
            color: var(--brand-primary);
            font-weight: 600;
            flex-shrink: 0;
        }
        #news .post-title {
            color: var(--text-gray-800);
            font-weight: 500;
        }
        #news .cta-button {
            margin-top: 2.5rem;
        }
        @media (min-width: 768px) {
            #news .post-list a {
                flex-direction: row;
                align-items: baseline;
                gap: 1rem;
            }
            #news .post-date { width: auto; }
        }

        /* Voice (口コミ) */
        #voice { text-align: center; }
        #voice .voice-cards {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        #voice .voice-card {
            background-color: var(--white);
            border-radius: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-lg */
            padding: 1.5rem;
            border-bottom: 4px solid var(--brand-primary);
            text-align: left;
        }
        #voice .voice-card-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        #voice .voice-avatar {
            width: 3rem; /* w-12 */
            height: 3rem; /* h-12 */
            border-radius: 9999px; /* rounded-full */
            background-color: #FED7D7; /* red-200 */
            flex-shrink: 0;
        }
        #voice .voice-meta {
            font-weight: 600;
            color: var(--text-gray-700);
        }
        #voice .voice-text {
            color: var(--text-gray-600);
            font-style: italic;
        }
        #voice .cta-button {
            margin-top: 2.5rem;
        }
        @media (min-width: 768px) {
            #voice .voice-cards {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Blog */
        #blog { text-align: center; }
        #blog p.white-text {
            color: var(--white);
            font-size: 1.125rem; /* text-lg */
            margin-bottom: 2rem;
            line-height: 1.75;
        }
        #blog .blog-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        #blog .blog-card {
            background-color: var(--white);
            border-radius: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-lg */
            overflow: hidden;
            text-align: left;
            transition: all 0.3s ease;
        }
        #blog .blog-card:hover {
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); /* shadow-xl */
            transform: translateY(-4px);
        }
        #blog .blog-card img {
            width: 100%;
            height: 12rem; /* h-48 */
            object-fit: cover;
        }
        #blog .blog-card-content {
            padding: 1rem;
        }
        #blog .blog-card-date {
            font-size: 0.875rem; /* text-sm */
            color: var(--text-gray-500);
            margin-bottom: 0.25rem;
        }
        #blog .blog-card-title {
            font-size: 1.125rem; /* text-lg */
            font-weight: 600;
            color: var(--text-gray-800);
            /* line-clamp-2 (2行で省略) */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        #blog .blog-card-excerpt {
            font-size: 0.875rem; /* text-sm */
            color: var(--text-gray-600);
            margin-top: 0.5rem;
            /* line-clamp-3 (3行で省略) */
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        #blog .cta-button {
            margin-top: 2.5rem;
        }
        @media (min-width: 768px) {
            #blog .blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (min-width: 1024px) {
            #blog .blog-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

.global-nav-list>li:before {
    border-bottom:1px solid rgb(252 92 108);

}

/* --- Newsエリア (最終調整版) --- */
.my-news-list {
  list-style: none; /* リストの・をけす */
  padding: 0;
  margin: 30px 0;
  width: 100%;
  max-width: 800px; /* おこのみで */
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid #eee; /* うえに1本せん */
}

/* 各お知らせのリンク部分（1行全体） */
.my-news-item-link {
  display: flex; /* 横並びにする */
  align-items: center; /* 縦方向中央揃え */
  padding: 15px 20px; /* ★余白を広げ、左右にもパディング */
  text-decoration: none; /* ★リンクの下線を消す */
  color: #333; /* 基本の文字色 */
  transition: background-color 0.2s; /* ホバーで色が変わるアニメ */
  border-bottom: 1px solid #eee; /* ★下に1本線 */
}
/* マウスを乗せたら全体が反応する */
.my-news-item-link:hover {
  background-color: #f9f9f9; /* うすいグレーに */
}

/* 日付 */
.my-news-date {
  font-size: 0.9rem;
  color: #555;
  margin-right: 20px; /* カテゴリとの間隔 */
  flex-shrink: 0; /* 縮まないように */
}

/* カテゴリタグ */
.my-news-category {
  background-color: #ff69b4; /* サイトのピンク */
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: bold;
  margin-right: 20px; /* タイトルとの間隔 */
  flex-shrink: 0; /* 縮まないように */
}

/* タイトル */
.my-news-title {
  text-align:left;
	flex-grow: 1; /* 残りのスペースを全部使う */
  font-weight: bold;
  line-height: 1.6;
　
  /* ★左揃えはflex-startがデフォルトなので指定不要 */
}


/* --- スマホのときの「おまじない」 --- */
@media (max-width: 600px) {
  .my-news-item-link {
    flex-direction: column; /* 縦並びに */
    align-items: flex-start; /* 左揃え */
    padding: 15px 20px; /* スマホでも余白を確保 */
  }
  .my-news-date {
    margin-bottom: 8px; /* 日付の下に少し余白 */
    margin-right: 0; /* カテゴリとの横間隔をリセット */
  }
  .my-news-category {
    margin-bottom: 8px; /* カテゴリの下に少し余白 */
    margin-right: 0; /* タイトルとの横間隔をリセット */
  }
  .my-news-title {
    width: 100%; /* タイトルが横幅いっぱいになるように */
  }
}
/* --- 「ストチャBLOG」カードデザイン --- */

/* 3カラムの「つつみ」 */
.my-blog-card-list {
  display: grid;
  /* PCでは 1fr 1fr 1fr の3カラム */
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* カードとカードの「すきま」 */
  list-style: none; /* リストの・をけす */
  padding: 0;
  margin: 30px 0; /* 上下のよはく */
}

/* カード1枚ずつのデザイン */
.my-blog-card-item {
  background-color: #ffffff; /* カードの背景は白 */
  border-radius: 12px; /* 角をまるく */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07); /* うすい影 */
  overflow: hidden; /* 画像が角まるからはみださないように */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* マウスをのせたら、すこしうく */
.my-blog-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- 1. サムネイル（画像）まわり --- */

.my-card-thumbnail-wrapper {
  position: relative; /* カテゴリと日付を「うかせる」ためのきじゅん */
  width: 100%;
  /* 画像の比率を 4:3 にこてい */
  aspect-ratio: 4 / 3;
}

.my-card-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像がひきのばされず、まん中できりぬかれる */
  transition: transform 0.3s ease;
}

.my-blog-card-item:hover img {
  transform: scale(1.05); /* マウスをのせたら画像をすこしズーム */
}

/* カテゴリ（おてほんのオレンジ色） */
.my-card-category {
  position: absolute; /* うかせる */
  top: 12px;
  left: 12px;
  /* いまのサイトのピンクにあわせるなら #ff69b4 など */
  background-color: #f59e0b; /* おてほんのオレンジ色 */
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}

/* 日付（おてほんの半透明） */
.my-card-thumbnail-wrapper time {
  position: absolute; /* うかせる */
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明のくろ */
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
  z-index: 2;
}


/* --- 2. タイトル --- */
.my-card-title {
  font-size: 1.1rem;
  font-weight: bold;
  /* カードのフチからの「すきま」 */
  margin: 15px 20px 10px 20px;
  line-height: 1.5;
}
.my-card-title a {
  color: #333; /* タイトルのいろ */
  text-decoration: none;
}
.my-card-title a:hover {
  text-decoration: underline;
}

/* --- 3. 抜粋（ばっすい） --- */
.my-card-excerpt {
  font-size: 0.9rem;
  color: #555;
  margin: 0 20px 20px 20px; /* すきま */
  line-height: 1.7;
  
  /* ぬきがきを「3行」でおさめ、はみだしたら「...」にする */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}


/* --- スマホ・タブレットのときの「おまじない」 --- */

/* 800px（タブレット）いかになったら... */
@media (max-width: 800px) {
  .my-blog-card-list {
    /* 2カラムにする */
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 500px（スマホ）いかになったら... */
@media (max-width: 500px) {
  .my-blog-card-list {
    /* 1カラムにする */
    grid-template-columns: 1fr;
  }
}

/* --- スマホのときの「おまじない」 --- */
@media (max-width: 600px) {
  .my-news-item {
    flex-direction: column; /* よこならび をやめて、たてならび に */
    align-items: flex-start; /* 左よせ */
  }
  .my-news-meta {
    margin-bottom: 10px; /* タイトルのうえにすきま */
    flex-basis: auto; /* 幅のこていをやめる */
  }
  .my-news-list {
    /* スマホでは左右にすこしすきま */
     padding-left: 20px; 
     padding-right: 20px;
     box-sizing: border-box;
  }
}