@charset "UTF-8";

    /* =========================================
       タイポグラフィ・デザインシステム
    ========================================= */
    :root {
        /* --font-heading: 'Kotonoru SemiCondensed', 'Kotonoru', 'Noto Sans JP', sans-serif; */
        --font-body: 'Noto Sans JP', sans-serif;
        
        
        /* --- 基本ブランドカラー (Core Palette) --- */
        --color-main: #339758;
        --color-text-main: #515151;
        --color-sub: #E6872A;
        --color-bg-light: #FAF6F2;
        
        /* --- 既存コード互換用 --- */
        --color-text: #333333;
        --color-text-light: #515151;
        --color-text-muted: #857A70;
  
      /* --- 拡張カラーパレット (Sub & Accent Palette) --- */
      --color-green-deep: #00512C;
      --color-green-darkpine: #005E34;
      --color-green-hokkoku: #00753C;
      --color-green-emerald: #00875C;
      --color-green-bright: #009B48;
      --color-green-forest: #1C955A;
      --color-green-moss: #448A60;
      --color-green-sage: #449C6C;
      --color-green-apple: #70B23C;
      --color-green-pistachio: #AFD297;

      --color-accent-burntorange: #DE6A37;
      --color-accent-terracotta: #E37958;
      --color-accent-ambergold: #ECA42A;
      --color-accent-sunshine: #ECC82F;
      --color-accent-limegold: #E5DD45;
      --color-accent-salmonpink: #EEBFB7;

      --color-blue-deepsky: #0083B7;
      --color-blue-ocean: #4997C5;
      --color-blue-sky: #46ABDB;

      --color-neutral-white: #FAF6F2;
      --color-neutral-cream: #F2E9E0;
      --color-neutral-sand: #F3EEE5;
      --color-neutral-linen: #E5DACD;
      --color-neutral-taupe: #D9CCC0;
      --color-neutral-sagegray: #CDD9D1;
      --color-neutral-warmgray: #857A70;


      /* --- スペーシング (Spacing: 8px Grid System) --- */
      --space-xs: 8px;
      --space-sm: 16px;
      --space-md: 24px;
      --space-lg: 32px;
      --space-xl: 40px;
      --space-2xl: 60px;
      --space-3xl: 80px;

      /* --- 角丸 (Border Radius) --- */
      --radius-xs: 4px;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-xl: 24px;
      --radius-pill: 9999px;



      }

      body { font-family: var(--font-body); color: var(--color-text); background-color: #ffffff; line-height: 1.6; }
      img { max-width: 100%; height: auto;}
      strong, b { font-weight: 700 !important; }
      ::selection {
        background-color: var(--color-main);
        color: #fff;
      }
    
    /* Typography */
    .type-display { font-family: var(--font-heading); font-size: 32px; line-height: 1.25; font-weight: 900; letter-spacing: -0.01em; color: var(--color-text-main); }
    .type-h1      { font-family: var(--font-heading); font-size: 24px; line-height: 1.33; font-weight: 800; letter-spacing: -0.01em; color: var(--color-text-main); }
    .type-h2      { font-family: var(--font-heading); font-size: 20px; line-height: 1.4; font-weight: 800; color: var(--color-text-main); }
    .type-h3      { font-family: var(--font-heading); font-size: 18px; line-height: 1.44; font-weight: 800; color: var(--color-text-main); }
    .type-body-lg { font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--color-text-main); }
    .type-body    { font-size: 15px; line-height: 1.6; font-weight: 400; color: var(--color-text-main);
        font-weight: bold;}
    .type-sub     { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--color-text-main); }
    .type-caption { font-size: 12px; line-height: 1.3; font-weight: 700; color: var(--color-text-main); }
    .type-micro   { font-size: 11px; line-height: 1.45; font-weight: 700; color: var(--color-text-main); }

    @media (min-width: 768px) {
      .type-display { font-size: 48px; line-height: 1.17; }
      .type-h1      { font-size: 32px; line-height: 1.25; }
      .type-h2      { font-size: 24px; line-height: 1.33; }
      .type-h3      { font-size: 20px; line-height: 1.4; }
      .type-body-lg { font-size: 18px; line-height: 1.56; }
      .type-body    { font-size: 16px; line-height: 1.5; }
    }

.font-bold{
    font-weight: bold;
}
    /* =========================================
       スクロールアニメーション (ボヨンと出る動き)
    ========================================= */
    .js-scroll-anim {
        opacity: 0;
        visibility: hidden;
        transform: translateY(40px) scale(0.95);
        /* cubic-bezier(0.34, 1.56, 0.64, 1) で少し上に跳ねて戻る動き（オーバーシュート）を作成 */
        transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
      }
  
      .js-scroll-anim.is-animated {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
      }
      
      /* 連続する要素に少しずつ遅延をかける（オプション） */
      .delay-1 { transition-delay: 0.1s; }
      .delay-2 { transition-delay: 0.2s; }
      .delay-3 { transition-delay: 0.3s; }
      .delay-4 { transition-delay: 0.4s; }
      .delay-5 { transition-delay: 0.5s; }
      
    /* 注釈・ぶら下げインデントスタイル */
    .note-item { display: flex; align-items: flex-start; gap: 4px; font-size: 12px; line-height: 18px; color: #515151; }
    .note-item-sm { display: flex; align-items: flex-start; gap: 4px; font-size: 12px; line-height: 18px; color: #857A70; }
    .note-symbol { flex-shrink: 0; font-weight: 700; user-select: none; }

    /* ソフトな影とカードベース (8px Grid & 角丸 12px) */
    .soft-shadow-sm { box-shadow: 0 2px 8px rgba(51, 151, 88, 0.06); }
    .soft-shadow-md { box-shadow: 0 4px 16px rgba(51, 151, 88, 0.08); }
    .soft-shadow-lg { box-shadow: 0 8px 32px rgba(51, 151, 88, 0.12); }
    .card-base { background-color: #ffffff; border-radius: 12px; border: 1px solid #E5DACD; }

    /* ボタン共通 */
    .btn-cta { background: linear-gradient(135deg, #E6872A 0%, #D97517 100%); color: #ffffff; font-weight: 800; border-radius: 12px; box-shadow: 0 4px 16px rgba(230, 135, 42, 0.35); transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; }
    .btn-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(230, 135, 42, 0.45); }
    
    /* 終了後のグレーカプセルボタン */
    .btn-lottery-ended { background-color: #BDBDBD; color: #ffffff; font-weight: 800; border-radius: 9999px; display: flex; align-items: center; justify-content: center; cursor: not-allowed; }
    
    /* 標準アクションボタン（緑色：詳しく見るなど） */
    .btn-primary { background-color: #339758; color: #ffffff; font-weight: 700; border-radius: 12px; transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(51, 151, 88, 0.2); }
    .btn-primary:hover { background-color: #297E48; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(51, 151, 88, 0.3); }
    
    /* 戻るボタン等（アウトライン） */
    .btn-outline { background-color: #ffffff; color: #515151; border: 2px solid #E5DACD; font-weight: 700; border-radius: 12px; transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; }
    .btn-outline:hover { border-color: #339758; color: #339758; background-color: #EBF5EE; }
    
    /* テキストリンク (文字と下線の間に余白を持たせたスタイル) */
    .link-text {
        color: #515151;
        font-weight: 700;
        border-bottom: 1px solid #515151; padding-bottom: 2px; transition: all 0.2s ease; display: inline-flex; align-items: center;
        text-decoration: none;
     }
    .link-text:hover { color: #339758; border-color: #339758; }
    
    /* 強調丸バッジ */
    .scallop-badge { background-color: #E6872A; color: #ffffff; font-weight: 900; padding: 6px 16px; border-radius: 9999px; position: relative; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(230, 135, 42, 0.3); }
    
    /* モバイル用テキスト付きピル型ハンバーガーボタン */
    .hamburger-pill { background-color: #ffffff; border: 2px solid #E5DACD; color: #515151; border-radius: 9999px; padding: 6px 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; cursor: pointer; transition: all 0.2s ease; user-select: none; }
    .hamburger-pill:hover { border-color: #339758; color: #339758; background-color: #EBF5EE; }
    .hamburger-lines { width: 16px; height: 12px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
    .hamburger-lines span { display: block; height: 2px; width: 100%; background-color: currentColor; border-radius: 2px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: center; }
    .hamburger-pill.is-active .hamburger-lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
    .hamburger-pill.is-active .hamburger-lines span:nth-child(2) { opacity: 0; }
    .hamburger-pill.is-active .hamburger-lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

    /* ぶら下げインデント・レイアウトユーティリティ */
    .u-indent { padding-left: 1em; text-indent: -1em; }
    .u-indent-1-5 { padding-left: 1.5em; text-indent: -1.5em; }

    /* =========================================
       余白調整ユーティリティ (Margin / Padding)
       ルール集の「8pxグリッド」に基づく設計
       数値: 1=4px, 2=8px, 3=12px, 4=16px, 6=24px, 8=32px, 10=40px, 12=48px, 16=64px
    ========================================= */
    .m-0 { margin: 0 !important; }
    .mt-1 { margin-top: 4px !important; } .mb-1 { margin-bottom: 4px !important; } .ml-1 { margin-left: 4px !important; } .mr-1 { margin-right: 4px !important; }
    .mt-2 { margin-top: 8px !important; } .mb-2 { margin-bottom: 8px !important; } .ml-2 { margin-left: 8px !important; } .mr-2 { margin-right: 8px !important; }
    .mt-3 { margin-top: 12px !important; } .mb-3 { margin-bottom: 12px !important; } .ml-3 { margin-left: 12px !important; } .mr-3 { margin-right: 12px !important; }
    .mt-4 { margin-top: 16px !important; } .mb-4 { margin-bottom: 16px !important; } .ml-4 { margin-left: 16px !important; } .mr-4 { margin-right: 16px !important; }
    .mt-6 { margin-top: 24px !important; } .mb-6 { margin-bottom: 24px !important; } .ml-6 { margin-left: 24px !important; } .mr-6 { margin-right: 24px !important; }
    .mt-8 { margin-top: 32px !important; } .mb-8 { margin-bottom: 32px !important; } .ml-8 { margin-left: 32px !important; } .mr-8 { margin-right: 32px !important; }
    .mt-10 { margin-top: 40px !important; } .mb-10 { margin-bottom: 40px !important; }
    .mt-12 { margin-top: 48px !important; } .mb-12 { margin-bottom: 48px !important; }
    .mt-16 { margin-top: 64px !important; } .mb-16 { margin-bottom: 64px !important; }

    .p-0 { padding: 0 !important; }
    .pt-1 { padding-top: 4px !important; } .pb-1 { padding-bottom: 4px !important; } .pl-1 { padding-left: 4px !important; } .pr-1 { padding-right: 4px !important; }
    .pt-2 { padding-top: 8px !important; } .pb-2 { padding-bottom: 8px !important; } .pl-2 { padding-left: 8px !important; } .pr-2 { padding-right: 8px !important; }
    .pt-3 { padding-top: 12px !important; } .pb-3 { padding-bottom: 12px !important; } .pl-3 { padding-left: 12px !important; } .pr-3 { padding-right: 12px !important; }
    .pt-4 { padding-top: 16px !important; } .pb-4 { padding-bottom: 16px !important; } .pl-4 { padding-left: 16px !important; } .pr-4 { padding-right: 16px !important; }
    .pt-6 { padding-top: 24px !important; } .pb-6 { padding-bottom: 24px !important; } .pl-6 { padding-left: 24px !important; } .pr-6 { padding-right: 24px !important; }
    .pt-8 { padding-top: 32px !important; } .pb-8 { padding-bottom: 32px !important; } .pl-8 { padding-left: 32px !important; } .pr-8 { padding-right: 32px !important; }
    .pt-10 { padding-top: 40px !important; } .pb-10 { padding-bottom: 40px !important; }
    .pt-12 { padding-top: 48px !important; } .pb-12 { padding-bottom: 48px !important; }
    .pt-16 { padding-top: 64px !important; } .pb-16 { padding-bottom: 64px !important; }

    /* =========================================
       背景色ユーティリティ (Background Color)
    ========================================= */
    .bg-white { background-color: #ffffff !important; }
    .bg-cream { background-color: var(--color-neutral-cream) !important; }
    .bg-check {
        background: url(../images/lifetasu_renewal/bg-pattern-01.png) repeat center /20px;
        border-top: 1px solid #f9f3ec;
        border-bottom: 1px solid #f9f3ec;

    }
    .bg-object {
        background:url(../images/lifetasu_renewal/bg-object-01.png) no-repeat center top /100% auto;
    }
    @media (max-width: 767px) {
        .bg-object {
            background:url(../images/tokuten_archives/bg-sp-section2.png) repeat-y center top /100% auto;
        }
     }

    

      /* --- ぶら下げインデント表示規格 --- */
    .u-indent { padding-left: 1em; text-indent: -1em; }
    .u-indent-1-5 { padding-left: 1.5em; text-indent: -1.5em; }
    .u-pc-hidden { display: none; }
    @media (max-width: 767px) { .u-sp-hidden { display: none; } .u-pc-hidden { display: inline; } }

      /* =========================================
         ボタン共通コンポーネント (復元)
      ========================================= */
      .c-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 400px; padding: 16px 24px; border-radius: 12px; font-size: 16px; font-weight: bold; text-decoration: none; transition: all 0.3s ease; box-sizing: border-box; }
      .c-btn__icon { width: 20px; height: 20px; margin-left: 12px; }
      .c-btn--primary { background-color: var(--color-main); color: #ffffff; }
      .c-btn--primary:hover { background-color: var(--color-green-forest); transform: translateY(2px); }
      .c-btn--secondary { margin: auto; display: flex; background-color: #ffffff; color: #4a4a4a; border: 3px solid var(--color-neutral-linen); max-width: fit-content; }
      .c-btn--secondary:hover { background-color: #eef5f0; color: var(--color-main); border-color: var(--color-main); }
      @media (max-width: 767px) { .c-btn { font-size: 14px; padding: 14px 20px; } }




/* -----------------------------------------
   クレジットバー（ヘッダー）
----------------------------------------- */
/* バー全体の背景と上下余白 */
.credit-bar {
    width: 100%;
    background-color: #ffffff; /* ワイヤーフレームに合わせた白背景 */
    padding: 8px 0;           /* バーの上下余白（デザインに合わせて調整してください） */
    
    .inner{
    max-width: 1056px;
    width: calc(100% - 40px);
    margin: auto;
    }
  }
  
.credit-bar .logo-img {
    width: 90px; 
  }

  @media only screen and (max-width: 767px) { 
    .credit-bar {
        padding: 6px 0; /* スマホ時は上下の余白を少し狭くする */
      }
       .credit-bar .logo-img {
        width: 80px; /* スマホ時はロゴを少し小さくする場合 */
      }
   }


    /* =========================================
       ヘッダー専用スタイル
    ========================================= */
    .c-header {
        position: sticky;
        top: 24px;
        left: 0;
        width: 100%;
        z-index: 50;
        /* margin-bottom: 0; */
        margin-bottom: -76px;
      }
      .c-header-wrap{
        padding-top: 20px;
      }
  
      .c-header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 90%;
        max-width: 1056px;
        margin: 0 auto;
        background-color: #ffffff;
        border-radius: 8px;
        padding: 12px 24px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        box-sizing: border-box;
      }
  
      .c-header__logo img {
        height: 24px;
        width: auto;
        display: block;
      }
  
      .c-header__pc-nav ul {
        display: flex;
        gap: 32px;
        margin: 0;
        list-style: none;
      }
  
      .c-header__pc-nav a {
        text-decoration: none;
        color: #333333;
        font-weight: bold;
        transition: color 0.3s ease;
      }
  
      .c-header__pc-nav a:hover {
        color: #329354;
      }
  
      .c-header__sp-btn,
      .c-header__sp-dropdown {
        display: none;
      }
  
      @media only screen and (max-width: 767px) {
        .c-header {
            /* top: 48px; */
            top: 24px;
            padding: 0 16px;
            box-sizing: border-box;
            /* margin-bottom: -60px; */
            margin-bottom: -80px;

        }
  
        .c-header__inner {
          width: 100%;
          padding: 12px 16px;
          border-radius: 12px;
        }
  
        .c-header__logo img {
            height: 18px;
          }
        .c-header__pc-nav {
          display: none;
        }
  
        .c-header__sp-btn {
          display: inline-flex;
          align-items: center;
          gap: 6px;
          background-color: #ffffff;
          border: 2px solid #e3d8cd;
          border-radius: 20px;
          padding: 8px 16px;
          color: #4a4a4a;
          font-size: 13px;
          font-weight: bold;
          cursor: pointer;
          transition: all 0.3s ease;
        }
  
        .c-header__sp-btn svg {
          width: 16px;
          height: 16px;
        }
  
        .c-header__sp-btn:hover,
        .c-header__sp-btn.is-active {
          border-color: #329354;
          color: #329354;
        }
  
        .c-header__sp-dropdown {
          display: block;
          opacity: 0;
          visibility: hidden;
          transform: translateY(-10px);
          transition: all 0.3s ease;
          position: absolute;
          top: 100%;
          left: 16px;
          right: 16px;
          background-color: #ffffff;
          border-radius: 12px;
          margin-top: 8px;
          box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
          overflow: hidden;
        }
  
        .c-header__sp-dropdown.is-open {
          opacity: 1;
          visibility: visible;
          transform: translateY(0);
        }
  
        .c-header__sp-dropdown ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
  
        .c-header__sp-dropdown a {
          display: block;
          padding: 16px 20px;
          text-decoration: none;
          color: #333333;
          font-weight: bold;
          font-size: 15px;
          border-bottom: 1px solid #f2ede8;
        }
  
        .c-header__sp-dropdown li:last-child a {
          border-bottom: none;
        }
      }
  

      /* =================================================================ヘッダーここまで */


    /* =========================================
       画像ベタ貼り用セクション (背景＋インナー)
    ========================================= */
    .c-image-section { position: relative; width: 100%; overflow: hidden; }
    .c-image-section__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; display: block; }
    .c-image-section__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
    .c-image-section__inner { position: relative; z-index: 1; max-width: 1056px; width: 100%; margin: 0 auto; }
    .c-image-section picture { display: block; width: 100%; }
    .c-image-section img { max-width: 100%; width: 100%; height: auto; vertical-align: bottom; margin: 0; padding: 0; border: none; display: block; }

    @media only screen and (max-width: 767px) {
      .c-image-section__inner { padding: 0 24px; box-sizing: border-box; }
      .c-image-section__inner.is-full-sp { padding: 0; }
    }



    /* =========================================
       共通コンポーネント（白背景＋緑ヘッダーの外枠）
    ========================================= */
    .c-frame-section {
        /* padding: 60px 20px; */
        max-width: 1056px;
        width: 90%;
        margin: 0 auto;
        box-sizing: border-box;
      }
    
  
      .c-frame {
        background-color: #ffffff;
        border: 2px solid #e5e0d8;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
      }
  
      .c-frame__header {
        background-color: #329354;
        padding: 24px 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;

        img{
            height: 100%;
        }
      }
  
      .c-frame__badge {
        background-color: #23683a;
        padding: 8px;
        border-radius: 8px;
        font-weight: bold;
        height: 40px;
      }
     
      .c-frame__title {
        height: 35px;
        margin: 0;
        letter-spacing: 0.05em;
        
      }
  
      .c-frame__body {
        padding: 40px 32px;
      }
  
      .c-frame__lead {
        text-align: center;
        margin-bottom: 40px;
        font-weight: bold;
        line-height: 1.6;
      }
  
      @media only screen and (max-width: 767px) {
        .c-frame-section {
            width: 100%;
            /* padding: 40px 16px; */
        }
        .c-frame-section.is-first { padding-top: 100px; }
        .c-frame { border-radius: 16px; }
        .c-frame__header { flex-direction: column; padding: 20px 16px; gap: 12px; }
        .c-frame__badge {  padding: 4px 16px; }
        /* .c-frame__badge strong { font-size: 18px; } */
        .c-frame__body { padding: 24px 16px; }
        .c-frame__lead { margin-bottom: 24px; font-size: 14px; }
      }
  




    /* =========================================
       抽選会セクション
    ========================================= */
    .lottery-archive {
        display: flex;
        flex-direction: column;
        gap: 40px; 
      }
  
      .lottery-section {
        box-sizing: border-box;
      }
  
      .lottery-section__inner {
        background-color: #faf7f2;
        border-radius: 20px;
        padding: 40px;
        display: flex;
        gap: 40px;
        align-items: flex-start;
        box-sizing: border-box;
      }
  
      .lottery-section__img-area {
        flex: 0 0 45%; 
      }
  
      .lottery-section__img-wrapper {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
      }
  
      .lottery-section__img-wrapper img {
        width: 100%;
        height: auto;
        display: block;
      }
  
      .lottery-section__ended-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        color: #ffffff;
        display: none;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
      }
  
      .lottery-section__text-area {
        flex: 1; 
      }
  
      .lottery-section__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
      }
  
      .lottery-section__sub {
        color: #4a4a4a;
        margin: 0;
        font-weight: bold;
      }
  
      .lottery-section__status {
        background-color: #df862b;
        color: #ffffff;
        font-size: 14px;
        font-weight: bold;
        padding: 6px 16px;
        border-radius: 20px;
      }
  
      .lottery-section__status--ended {
        background-color: #a0a0a0;
        display: none; 
      }
  
      .lottery-section__title {
        color: var(--color-text-light);
        margin: 0 0 16px 0;
      }
  
      .lottery-section__title small {
        font-weight: normal;
        font-weight: bold;
      }
  
      .lottery-section__period {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
      }
  
      .lottery-section__period-badge {
        background-color: #df862b;
        color: #ffffff;
        font-weight: bold;
        padding: 4px 12px;
        border-radius: 12px;
      }
  
      .lottery-section__period-text {
        font-weight: bold;
        color: #4a4a4a;
      }
  
      .lottery-section__desc {
        color: #4a4a4a;
        margin-bottom: 32px;
      }
  
      .lottery-section__action {
        text-align: center;
        margin-bottom: 16px;
      }
  
      .lottery-section__action-lead {
        font-weight: bold;
        color: #333333;
        margin: 0 0 8px 0;
      }
  
      .lottery-section__btn {
        display: block;
        width: 100%;
        background-color: #df862b;
        color: #ffffff;
        text-align: center;
        padding: 20px;
        border-radius: 40px;
        font-size: 24px;
        text-decoration: none;
        transition: background-color 0.3s ease;
        box-sizing: border-box;
      }
  
      .lottery-section__btn:hover {
        background-color: #c77422;
      }
  
      .lottery-section__btn--ended {
        background-color: #b3b3b3;
        pointer-events: none;
        

        
      }
  
      
  
      .lottery-section__action-ended {
        display: none;
      }


  
      .lottery-section__note {
        text-align: right;
      }
  
      .lottery-section__note a {
        color: #555555;
        text-decoration: underline;
      }
  
      .lottery-section__note a:hover {
        text-decoration: none;
      }
  
      /* 終了時 (is-ended) の切り替え */
      .lottery-section.is-ended .lottery-section__ended-overlay { display: flex; }
      .lottery-section.is-ended .lottery-section__status { display: none; }
      .lottery-section.is-ended .lottery-section__status--ended { display: inline-block; }
      .lottery-section.is-ended .lottery-section__action-active { display: none; }
      .lottery-section.is-ended .lottery-section__action::before{
        content: "たくさんのご応募 ありがとうございました";
        display: block;
        border-radius: var(--radius-sm);
        font-size: 20px; 
        padding: var(--space-sm) var(--space-xs);
        font-weight: bold;
        color: var(--color-text-main);
        background: #bdbdbd;lottery-section__action
      }
  
      @media only screen and (max-width: 767px) {
        .lottery-section__inner { flex-direction: column; padding: 24px 16px; gap: 24px; }
        .lottery-section__img-area { flex: auto; width: 100%; }
        .lottery-section__header { flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
        .lottery-section__title small { display: inline-block; }
        .lottery-section__period {
             align-items: flex-start; gap: 8px;
        }
        .lottery-section__btn { font-size: 20px; padding: 16px; }
        .lottery-section.is-ended .lottery-section__action::before{
            font-size: 15px;
        }
      }
  
    /* =========================================
       モーダルウィンドウ
    ========================================= */
    .c-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    .c-modal-overlay.is-open { opacity: 1; visibility: visible; }
    .c-modal { background-color: #ffffff; width: 90%; max-width: 800px; max-height: 90vh; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transform: translateY(20px); transition: transform 0.3s ease; }
    .c-modal-overlay.is-open .c-modal { transform: translateY(0); }
    .c-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px; border-bottom: 1px solid #f2ede8; }
    .c-modal__title {
        font-size: 18px; font-weight: bold;
        color: var(--color-text-light);

        margin: 0; }
    .c-modal__close { background-color: #f2ede8; border: none; width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #555; transition: background-color 0.2s; }
    .c-modal__close:hover { background-color: #e5e0d8; }
    .c-modal__close svg { width: 20px; height: 20px; }
    .c-modal__content { padding: 32px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .c-modal__table-wrapper { border: 1px solid #e5e0d8; border-radius: 8px; overflow: hidden; }
    .c-modal__table { width: 100%; border-collapse: collapse; }
    .c-modal__table th, .c-modal__table td { border-bottom: 1px solid #e5e0d8; padding: 20px; line-height: 1.6; color: #4a4a4a; vertical-align: top; }
    .c-modal__table tr:last-child th, .c-modal__table tr:last-child td { border-bottom: none; }
    .c-modal__table th { 
        width: 30%; background-color: #f6ece6; font-weight: bold; 
        text-align: left;
    }
    
    .c-modal__list { list-style: none; padding: 0; margin: 12px 0 0 0; color: #857A70; }
    .c-modal__list li, .c-modal__list li.type-caption { color: #857A70; margin-bottom: 4px; }
    @media only screen and (max-width: 767px) {
      .c-modal__header { padding: 16px 20px; }
      .c-modal__content { padding: 20px; }
      .c-modal__table th, .c-modal__table td { padding: 16px; }
      .c-modal__table th { width: 35%; }
    }


    /* 中黒（・）箇条書きリスト */
    .c-bullet-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
    .c-bullet-list li { position: relative; padding-left: 1em; color: #515151; }
    .c-bullet-list li::before { content: "・"; position: absolute; left: 0; top: 0; }
    


    /* =========================================
       セミナーセクション
    ========================================= */
    .seminar-section {
        padding: 60px 20px;
        max-width: 1056px;
        margin: 0 auto;
        box-sizing: border-box;
      }
      
      .seminar-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
      }
  
      .seminar-card {
        display: flex;
        flex-direction: column;
        background-color: transparent;
        border-radius: 12px;
      }
  
      .seminar-card__img-wrapper {
        position: relative;
        aspect-ratio: 1 / 1;
        background-color: #f5faef;
        border: 1px solid #e5e0d8;
        border-radius: var(--radius-sm);
        margin-bottom: 16px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;

        font-weight: bold;
      }
  
      .seminar-card__img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
      }
  
      .seminar-card__ended-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        color: #ffffff;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
        font-weight: bold;
        font-size: 20px;
        z-index: 2;
      }
  
      .seminar-card__content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
      }
  
      .seminar-card__title {
        font-size: 16px;
        font-weight: bold;
        color: #333333;
        margin-bottom: 12px;
        line-height: 1.4;
      }
  
      .seminar-card__meta {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
        flex-grow: 1;
      }
  
      .seminar-card__meta-row {
        display: flex;
        align-items: flex-start;
        gap: 8px;
      }
  
      .seminar-card__badge {
        display: inline-block;
        color: #ffffff;
        font-size: 11px;
        font-weight: bold;
        padding: 4px 8px;
        border-radius: 12px;
        white-space: nowrap;
        line-height: 1;
        margin-top: 2px;
      }
  
      .seminar-card__badge--orange {
        /* background-color: #df862b; */
        background-color: #515151;
    }
      .seminar-card__badge--green {
        background-color: #515151;
    }
  
      .seminar-card__meta-text {
        font-size: 13px;
        color: #333333;
        line-height: 1.4;
        font-weight: bold;
      }
  
      .seminar-card__btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px;
        border-radius: 30px;
        font-weight: bold;
        font-size: 14px;
        text-decoration: none;
        transition: background-color 0.3s ease;
        box-sizing: border-box;
      }
  
      .seminar-card__btn--active {
        background-color: #df862b;
        color: #ffffff;
      }
      .seminar-card__btn--active:hover { background-color: #c77422; }
  
      .seminar-card__btn--ended {
        background-color: #b3b3b3;
        color: #ffffff;
        pointer-events: none;
        display: none;
      }
  
      /* 終了状態 (is-ended) の切り替え */
      .seminar-card.is-ended .seminar-card__ended-overlay { display: flex; }
      .seminar-card.is-ended .seminar-card__btn--active { display: none; }
      .seminar-card.is-ended .seminar-card__btn--ended { display: block; }
  
      /* PC・SP表示切り替え用ユーティリティ */
      .u-pc-hidden { display: none; }
/*   
      @media only screen and (max-width: 1024px) {
        .seminar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
      } */
      @media only screen and (max-width: 767px) {
        .seminar-section { padding: 40px 16px; }
        .seminar-grid { grid-template-columns: 1fr; gap: 24px; }
        
        /* SP時：横並びレイアウトに変更 */
        .seminar-card {
          flex-direction: row;
          align-items: flex-start;
          gap: 16px;
        }
        .seminar-card__img-wrapper {
          flex: 0 0 140px;
          height: 140px;
          margin-bottom: 0;
        }
        .seminar-card__ended-overlay {
          font-size: 14px;
        }
        .seminar-card__content {
          flex: 1;
          min-width: 0; /* flexアイテム内のテキストはみ出し防止 */
        }
        .seminar-card__title { 
            font-size: 15px;
            margin-bottom: 8px;
            margin-top: 0;
        }
        .seminar-card__meta { gap: 8px; margin-bottom: 12px; }
        .seminar-card__meta-row { align-items: flex-start; }
        .seminar-card__meta-text { font-size: 12px; line-height: 1.4; }
        .seminar-card__btn { font-size: 13px; padding: 10px; }
        .seminar-card__btn--ended { font-size: 13px; padding: 10px; }
        
        /* SP時：改行を消してスペースを表示 */
        .u-sp-hidden { display: none; }
        .u-pc-hidden { display: inline; }
      }
  






    /* =========================================
       Coming Soon セクション
    ========================================= */
    .coming-soon-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 50px;
        padding: 60px 20px;
      }
  
      .coming-soon-title {
        font-size: 64px;
        color: #4a4a4a;
        line-height: 1.1;
        letter-spacing: 0.02em;
        flex: 0 0 auto;

        img{
            max-width: 300px;
            width: 100%;
        }
      }
  
      .coming-soon-desc {
        color: #4a4a4a;
        font-weight: bold;
        line-height: 1.8;
      }
  
      @media only screen and (max-width: 767px) {
        .coming-soon-content {
          flex-direction: column;
          padding: 30px 10px;
          gap: 32px;
        }
        .coming-soon-title {
          font-size: 44px;
        }
        .coming-soon-desc {
          text-align: center;
        }
      }


      

    /* ぶら下げインデント・レイアウトユーティリティ */
    .u-indent { padding-left: 1em; text-indent: -1em; }
    .u-indent-1-5 { padding-left: 1.5em; text-indent: -1.5em; }

    /* 特典リードエリア用スタイル */
    .benefits-wrapper { 
        background: url(./../images/tokuten_archives/bg-pc-section2.png) #fff no-repeat top center/cover;
         margin: 0 auto 0;
         padding: 0 20px 60px; box-sizing: border-box; display: flex; flex-direction: column; gap: 40px
        }
    .benefits-lead {
        text-align: center;
        max-width: 1056px;
        width: 100%;
        margin: auto;
    }

    .benefits-lead__title img{
        margin: auto;
        width: 600px;
    }
    .benefits-lead__text { line-height: 1.8; margin-bottom: 16px; }
    .benefits-lead__notes { 
        list-style: none; display: table; margin: 0 0 0 auto; text-align: left; color: #857A70; 
    }

    /* PC・SP表示切り替え用ユーティリティ */
    .u-pc-hidden { display: none; }

    @media only screen and (max-width: 767px) {
      .benefits-wrapper {
        padding: 0 16px 40px; gap: 32px;
        background: url(./../images/tokuten_archives/bg-sp-section2.png) #fff no-repeat top center/cover;

    }
      .benefits-lead__text { text-align: left; }
      /* .benefits-lead__notes { display: block; margin: 0; } */
      .u-sp-hidden { display: none; }
      .u-pc-hidden { display: inline; }
    }




    
    /* ======================================================================
       Hero & Carousel
    ====================================================================== */

    








    @media (max-width: 767px) {
    
        
        
    }




    
/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

    /* ======================================================================
       Hero & Carousel
    ====================================================================== */
    .hero-section {
        position: relative;
        overflow: hidden;
        padding: 260px 0 var(--space-xl);

        background: url(./../images/lifetasu_renewal/bg-hero-section-PC.png) no-repeat top center/cover;
        text-align: center;
    }

    .hero-carousel {
        width: 100%;
        margin-bottom: var(--space-2xl);
    }
        
    .hero-carousel__track {
        display: flex;
        width: max-content;
        /* PC: アイテム中心を画面中央に (240px幅 + margin24px*2 = 288px。288/2=144px) */

         margin-left: calc(50% - 162px - 3888px);
        animation: infiniteScrollStep 18s infinite;
    }

    .hero-carousel__list {
        display: flex;
        align-items: center;
    }


    .hero-carousel__item {
        /* width: 240px;
        height: 240px; */
        width: 260px;
        height: 260px;
        /* 32px */
        margin: 0 var(--space-lg);
        flex-shrink: 0;
        position: relative;
        transform-origin: center center; z-index: 1; 
        animation: itemScale 18s infinite backwards;
    }



    .hero-carousel__img-wrap {
        width: 100%;
        height: 100%;
   }

   
    .hero-carousel__img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hero-carousel__badge {
        position: absolute;
        object-fit: contain;
        right: 0;
        left: 0;
        bottom: 100%;
        margin: auto;
        height: auto;
        z-index: 2; transform-origin: center center;
        animation: badgeScale 18s infinite backwards;

    }

.hero-carousel__badge img{
    object-fit: contain;
    width: 100%;
    height: 100%;
}
    
    .hero-content {
        position: relative;
        z-index: 10;
        padding: 0 20px;
    }
    .hero-img-top {
        width: 100%;
        max-width: 640px;
        height: auto;
        margin: 0 auto var(--space-xl);
        display: block;
    }
    .hero-img-bottom {
        width: 100%;
        max-width: 440px;
        height: auto;
        margin: 0 auto;
        display: block;
    }




    /* カルーセルアイテムのCSSアニメーション同期 */
    @keyframes itemScale {
      0%, 12% { transform: scale(1.15);z-index: 10; animation-timing-function: ease-in-out; }
      16.666%, 95.333% { transform: scale(1); box-shadow: none; z-index: 1; animation-timing-function: ease-in-out; }
      100% { transform: scale(1.15); z-index: 10; }
    }

    @keyframes badgeScale {
      0%, 12% { transform: scale(1.2); animation-timing-function: ease-in-out; }
      16.666%, 95.333% { transform: scale(0.8); animation-timing-function: ease-in-out; }
      100% { transform: scale(1.2); }
    }

    /* 各アイテムのアニメーション開始タイミングをずらす（バッジはさらに0.15s遅らせる） */
    .item-1 { animation-delay: 0s; }
    .item-1 .hero-carousel__badge { animation-delay: 0.15s; }
    .item-2 { animation-delay: -15s; }
    .item-2 .hero-carousel__badge { animation-delay: -14.85s; }
    .item-3 { animation-delay: -12s; }
    .item-3 .hero-carousel__badge { animation-delay: -11.85s; }
    .item-4 { animation-delay: -9s; }
    .item-4 .hero-carousel__badge { animation-delay: -8.85s; }
    .item-5 { animation-delay: -6s; }
    .item-5 .hero-carousel__badge { animation-delay: -5.85s; }
    .item-6 { animation-delay: -3s; }
    .item-6 .hero-carousel__badge { animation-delay: -2.85s; }
    
    @keyframes infiniteScrollStep {
      0%, 12% { transform: translateX(0); animation-timing-function: ease-in-out; }
      16.666%, 28.666% { transform: translateX(calc(-100% / 5 / 6 * 1)); animation-timing-function: ease-in-out; }
      33.333%, 45.333% { transform: translateX(calc(-100% / 5 / 6 * 2)); animation-timing-function: ease-in-out; }
      50.000%, 62.000% { transform: translateX(calc(-100% / 5 / 6 * 3)); animation-timing-function: ease-in-out; }
      66.666%, 78.666% { transform: translateX(calc(-100% / 5 / 6 * 4)); animation-timing-function: ease-in-out; }
      83.333%, 95.333% { transform: translateX(calc(-100% / 5 / 6 * 5)); animation-timing-function: ease-in-out; }
      100% { transform: translateX(calc(-100% / 5)); }
    }

    .hero-content { position: relative; z-index: 10; padding: 0 20px; }
    .hero-img-top { width: 100%; max-width: 640px; height: auto; margin: 0 auto var(--space-md); display: block; }
    .hero-img-bottom { width: 100%; max-width: 440px; height: auto; margin: 0 auto; display: block; }
    
    @media (max-width: 767px) {

        .hero-section {
            background: url(./../images/lifetasu_renewal/bg-hero-section-SP.png) no-repeat top center/cover;
            padding: 180px 0 var(--space-2xl);
        }

        .hero-carousel {
            margin-bottom: var(--space-xl);
        }

        /* .hero-carousel { margin-bottom: var(--space-xl); padding: 60px 0; } */
        .hero-carousel__track { 
            margin-left: calc(50% - 96px - 2304px); 
        }

      
        .hero-carousel__item {
            width: 160px;
            height: 160px;
            margin: 0 var(--space-sm);
        }
        .hero-carousel__img-wrap {
            border-radius: var(--radius-md);
        }
        .hero-carousel__badge {
            width: auto;
            height: 44px;
            bottom: 100%;

        }
        .hero-img-top {
            max-width: 320px;
            margin-bottom: var(--space-sm);
        }
        .hero-img-bottom {
            max-width: 240px;
        }

    
    }



    /* =========================================
       HOKKOKU LIFE+とは？セクション
    ========================================= */

    .about-section {
        background-color: #F4EFE9;
        box-sizing: border-box;
        border-radius: var(--radius-xl);
        position: relative;
        overflow: hidden;
   }
    .about-container {
        
        max-width: 1056px;
        margin: 0 auto;
        border-radius: 24px;
        padding: 110px 50px;
        display: flex;
        align-items: center;
        gap: 40px;
        justify-content: space-between;
        box-sizing: border-box;
   }
    .about-text-area {
        flex: 1;
        max-width: 540px;
        
   }
   
    .about-subtitle-img {
        margin-bottom: var(--space-xl);
        max-width: 360px;
        width: 100%;

   }
    .about-subtitle-img img {
        max-width: 100%;
        height: auto;
   }
    .about-title-img {
        margin-bottom: var(--space-lg);
        width: 530px;
   }
    .about-title-img img {
        width: 100%;
        height: auto;
   }
    .about-note-imgs {
        display: flex;
        gap: 8px;
        margin-bottom: 32px;
   }
    .about-note-imgs img {
        height: 54px;
        width: auto;
   }
    .about-desc {
        color: var(--color-text-light);
        line-height: 1.8;
   }
    .about-img-area {
        flex: 0 0 45%;
        max-width: 730px;
        /* position: relative; */
        position: absolute;
        right: -290px;
   }
    .about-img-area img {
        /* width: 100%;
        height: auto;
        display: block;
        margin: 0 auto; */
   }
   .about-img-area-balloon{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
   }
   .about-img-area-balloon:nth-child(2){

   }
   .about-img-area-balloon:nth-child(3){

   }
   .about-img-area-balloon:nth-child(4){

   }
    @media (max-width: 767px) {
        .about-section {
            padding: 40px 16px 20px;
       }
        .about-container {
            padding: 40px 24px;
            flex-direction: column;
            gap: 0px;
       }

        .about-text-area, .about-img-area {
            max-width: 100%;
            width: 100%;
       }
       .about-img-area {
        position: relative;
        left: 0px;
        max-width: calc(100% + 100px);
        width: calc(100% + 100px);
       }
        .about-note-imgs {
            margin-bottom: 24px;
       }
   }
    

    /* Features Section (黒背景の機能紹介) */
    .features-section {
        padding: 120px 20px 80px;
        box-sizing: border-box; text-align: center; }
    .features-header {
        margin-bottom: 40px;
    }
    .features-header__title {
        display: block;
        margin: auto;
        max-width: 365px;
    }
    .features-header__title img{
        width: 100%;
    }
    .features-header__sub { color: var(--color-main); font-weight: bold; margin-bottom: 8px; display: block; }
    .features-container {
        border: 4px solid #E7D9CB;
        max-width: 1056px;
        width: 100%; margin: 0 auto; background-color: #fff; border-radius: 24px; overflow: hidden; text-align: center; box-sizing: border-box; }

    .features-content-top { padding: 60px 40px; }
    .features-top-lead { margin-bottom: 40px; color: var(--color-text-light); }
    
    .features-top-services { 
        display: flex; align-items: center;
        justify-content: space-between;
         margin-bottom: var(--space-sm);
        gap: 16px; }
    .features-top-service-item { flex: 1; display: flex; flex-direction: column; gap: 12px; }
    .features-top-service-item img { 

        height: auto;
        width: 230px;
        display: block; margin: 0 auto; }
    .features-top-plus {
        font-size: 70px; color: #E6872A;
        flex-shrink: 0; line-height: 1; }
    
    .features-top-row {
        display: flex; gap: 40px; margin-bottom: 32px; text-align: left; align-items: flex-start; }
    .features-top-row:nth-of-type(2){
        border-top: 1px solid #E5DACD;
        border-bottom: 1px solid #E5DACD;
        padding: var(--space-sm) 0;
    }
    .features-top-row-left-balloon{
        max-width: 230px;
    }
    
    .features-top-row-left { flex: 0 0 52%; }
    .features-top-row-left img { width: 100%; height: auto; display: block; margin-bottom:12px; }
    .features-top-row-right { flex: 1; }
    
    .atm-box { border: 1px solid #E6872A; border-radius: 8px; background-color: #fff; margin-bottom: 12px; }
    .atm-box-row {
        padding: 16px;
        display: flex;
    }
    .atm-box-row--border { border-bottom: 1px solid #E6872A; }
    .atm-dot { color: var(--color-text-light); margin-right: 4px; font-size: 14px; }
    .atm-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; margin-left: 20px;    flex: 1;
    }
    .atm-grid img {

        
        display: block;
        object-fit: contain;
        height: 40px;
        width: 110px;
    }
    
    .furikomi-lead { margin-bottom: 12px; font-size: 16px; }
    .furikomi-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; text-align: center; }
    .furikomi-table th, .furikomi-table td {
        border: 1px solid #E6872A; padding: 16px;
        font-weight: bold;

    }
    .furikomi-table th { background-color: #FAF6F2; font-size: 14px; color: var(--color-text-light); font-weight: bold; }
    .furikomi-table td { background-color: #fff; }
    
    .features-note { color: var(--color-text-muted); line-height: 1.4; }
    .features-top-banner { margin-top: 20px; }
    .features-top-banner img { width: 100%; height: auto; display: block; }

    .features-content-bottom { background-color: #F4EFE9; padding: 0 40px 60px; border-radius: 0 0 24px 24px; }
    .features-bottom-img-sm { width: 80px; margin: 0 auto 16px; }
    .features-bottom-img-sm img { width: 100%; height: auto; display: block; }
    .features-bottom-img-lg { max-width: 380px; margin: 0 auto 32px; }
    .features-bottom-img-lg img { width: 100%; height: auto; display: block; }
    .features-bottom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .features-bottom-grid img { width: 100%; height: auto; display: block; margin: 0 auto; }

    .features-plus-img { text-align: center; margin: 20px auto; }
    .features-plus-img img { width: 138px; height: auto; display: inline-block; }

    .features-card { background-color: var(--color-main); border-radius: 24px; padding: 60px 40px; max-width: 1056px; width: 100%; margin: 0 auto 40px; color: #ffffff; box-sizing: border-box; }
    .features-card-img-top { max-width: 530px; margin: 0 auto 32px; }
    .features-card-img-top img { width: 100%; height: auto; display: block; }
    .features-card-grid { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; }
    .features-card-grid img { width: calc(33.333% - 16px); max-width: 200px; height: auto; display: block; }
    .features-card-img-bottom {
        max-width: 490px;
        margin: 0 auto var(--space-sm);
    }
    .features-card-img-bottom img { width: 100%; height: auto; display: block; margin: 0 auto; }
    .features-footer-text { text-align: center; margin-top: 40px; }
    .features-footer-text img { max-width: 640px; width: 100%; height: auto; display: block; margin: 0 auto; }

    @media (max-width: 767px) {
        .features-header__title {
            max-width: 210px;

        }
        
      .features-section { padding: 60px 16px; }
      .features-header__title { font-size: 32px; }
      .features-content-top { padding: 40px 20px; }
      .features-top-lead {
        margin-bottom: 32px; font-size: 14px; text-align: left;
    
    }
      .features-top-services { flex-direction: column; gap: 16px; margin-bottom: 40px; }
      .features-top-service-item img{
        max-width: 230px;
      }
      .features-top-plus { font-size: 42px; margin: 0; }
      .features-top-row { flex-direction: column; gap: 24px; margin-bottom: 40px; }
      .features-top-row-left { flex: auto; width: 100%; }
      .features-top-row-left img{
        margin-left: auto;
        margin-right: auto;

      }
      .atm-grid img {
        /* width: calc(50% - 4px); */
        height: 30px;
        width: 100px;
    }
      .features-content-bottom { padding: 0 20px 40px; }
      .features-bottom-img-sm { width: 80px; margin-bottom: 12px; }
      .features-bottom-img-lg { margin-bottom: 24px; }
      .features-bottom-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      
      .features-card { padding: 40px 20px; margin: 0 auto 32px; }
      .features-card-img-top {
        width:  270px;
        margin-bottom: 24px;
    }
      .features-card-grid {
        flex-wrap: wrap;
        /* flex-direction: column; */
        gap: 16px; margin-bottom: 24px;
    }
      .features-card-grid img {
        /* width: 100%; */
        width: 46%;
        max-width: 280px; margin: 0 auto;

    }
      .features-card-img-bottom { 
        margin-bottom: 32px;
        width: 280px;
    }
      
      .features-plus-img { margin: 40px auto 16px; }
      .features-plus-img img { width: 120px; }
      .features-footer-text { margin-top: 32px; padding: 0 16px; }
      
    }
    

    /* =========================================
       ご利用開始までの流れセクション
    ========================================= */
    
    .flow-section {
        padding: 80px 20px0; max-width: 1056px; margin: 0 auto; box-sizing: border-box;
    }
    .flow-container { background-color: #F2E9E0; border-radius: 24px; padding: 60px; box-sizing: border-box; }
    .flow-header { text-align: center; margin-bottom: 40px; }
    .flow-header__title-img { margin-bottom: 24px; }
    .flow-header__title-img img { max-width: 400px; width: 100%; height: auto; display: inline-block; }
    .flow-header__desc { color: var(--color-text-light); font-weight: bold; line-height: 1.6; }
    
    .flow-box {
        background-color: #ffffff;
        border-radius: 16px;  position: relative; box-shadow: 0 4px 16px rgba(0,0,0,0.02);
    }
    .flow-box:nth-of-type(2){
        padding: 30px 20px;
    }
    .flow-box:nth-of-type(4){
        padding: 64px 0;
    }
    .flow-step1-items { display: flex; align-items: center; justify-content: space-between; gap: 16px;}
    .flow-step1-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; }
    .flow-step1-img-main img {
        width: 100%; 
        max-width: 120px; 
        height: auto; display: block; margin: 0 auto; }
    .flow-step1-img-sub-wrap { display: flex; gap: 8px; justify-content: center; width: 100%; }
    .flow-step1-img-sub-wrap img {
        display: block; 
        object-fit: contain;
    }
    .flow-step1-img-sub-wrap-num{
        height: 22px;
        margin-top: -3px;


    }
    .flow-step1-img-sub-wrap-text{

        img{
            height: 18px;
        }
    }
    .flow-step1-plus { font-size: 48px; color: #E6872A; font-weight: bold; flex-shrink: 0; line-height: 1; }
    .flow-step1-footer { text-align: center; color: var(--color-main); font-weight: 800; font-size: 18px; margin-top: 16px; }

    .flow-arrow-img { 
        text-align: center; margin: 54px auto 42px; }
    .flow-arrow-img img { width: 40px; height: auto; display: inline-block; }

    .flow-step2-inner { 
        display: flex;
        align-items: center;
        width: 60%;
        gap: 40px;
        margin-left: auto;
    }
    .flow-step2-img-large {
        /* flex: 0 0 38%;
        max-width: 320px; */
        height: auto;
        display: block;
        position: absolute;
        width: 320px;
        bottom: 0;
        left: 74px;
    }
    
    .flow-step2-content { flex: 1; }
    .flow-step2-title-img { margin-bottom: 24px; }
    .flow-step2-title-img img { max-width: 320px; width: 100%; height: auto; display: block; }
    .flow-step2-desc { line-height: 1.8; font-weight: bold; color: var(--color-text-light); }
    
    .flow-step2-decor-left { 
        position: absolute;
        left: -30px;
        top: -8%;
        width: 70px;
        z-index: 1;
        pointer-events: none;
    }
    .flow-step2-decor-right { 
        position: absolute;
        right: -60px;
        bottom: -60px;
        width: 160px;
        z-index: 3; pointer-events: none; }
    .flow-step2-decor-left img, .flow-step2-decor-right img { width: 100%; height: auto; display: block; }

    @media (max-width: 767px) {
      .flow-section { padding: 40px 16px; }
      .flow-container { padding: 40px 20px; border-radius: 16px; }
      .flow-header__title-img img { max-width: 280px; }
      .flow-box {
        padding: 40px 20px; border-radius: 16px;
    }
    .flow-box:nth-of-type(4){
        padding: 32px 24px;
    }
      .flow-step1-items { flex-direction: column; gap: 8px; }
      .flow-step1-item { flex-direction: row; align-items: center; justify-content: flex-start; width: 100%; gap: 20px; }
      .flow-step1-img-main { flex: 0 0 100px; }
      .flow-step1-img-sub-wrap {
         flex: 1; 
         flex-direction: column; align-items: flex-start; gap: 8px; justify-content: center; }

      .flow-step1-plus { font-size: 40px; margin: 4px 0; }
      .flow-step1-footer { font-size: 15px; margin-top: 8px; }
      .flow-arrow-img { margin: 24px auto; }
      .flow-arrow-img img { width: 32px; }
      .flow-step2-inner {
        flex-direction: column; gap: 32px;
        width: 100%;
    }
      .flow-step2-img-large {
        flex: auto;
        width: 100%;
        max-width: 200px;
        position: static;
        margin: auto;
        /* margin-left: -100px; */
    }
      .flow-step2-title-img { text-align: center; }
      .flow-step2-title-img img { margin: 0 auto; max-width: 260px; }
      .flow-step2-decor-left {
        left: 0px;
        top: 2%;
        width: 80px;
    }
    .flow-step2-decor-right {
        right: -20px;
        bottom: -40px;
        width: 130px;
    }
    }
    

    /* =========================================
       Tab UI (申込方法)
    ========================================= */

    .apply-section { padding: 80px 20px 0; max-width: 1056px; margin: 0 auto; box-sizing: border-box; }
    .apply-header { text-align: center; margin-bottom: 40px; }
    /* .apply-title {
         color: var(--color-main); font-size: 64px; font-weight: 900; margin-bottom: 12px; font-family: var(--font-heading); letter-spacing: 0.05em; 
    } */
    .apply-title{
        margin: auto;
        width: 510px;

        img{
            display: block;
        }
    }
    .apply-subtitle { color: var(--color-text-light); font-weight: bold; }
    .c-tab-box { background-color: var(--color-bg-light); border-radius: 24px; overflow: hidden; border: 1px solid #E5DACD; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
    .c-tab-nav { display: flex; width: 100%; }
    .c-tab-btn { flex: 1; text-align: center; padding: 24px 16px; background-color: #d8cec0; color: var(--color-text-muted); cursor: pointer; transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; border: none; font-family: var(--font-body); }
    .c-tab-btn:hover { background-color: #cfc4b6; }
    .c-tab-btn.is-active { background-color: var(--color-bg-light); color: var(--color-text); cursor: default; }
    .c-tab-btn__sub { font-size: 15px; font-weight: bold; }
    .c-tab-btn__main { font-size: 28px; font-weight: 900; font-family: var(--font-heading); }
    .c-tab-content-wrap { padding: 64px 40px; text-align: center; }
    .c-tab-content { display: none; flex-direction: column; align-items: center; animation: tabFadeIn 0.4s ease; }
    .c-tab-content.is-active { display: flex; }
    @keyframes tabFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
    
    .tab-type-a__text { line-height: 1.8; margin-bottom: 24px; font-weight: bold; }
    .tab-type-a__img { 
        margin: 0 auto 16px;
        display: block;
        max-width: 200px;
          width: 100%; height: auto; }
    .tab-type-a__btn, .tab-type-b__btn { background-color: var(--color-sub); color: #fff; width: 100%; max-width: 500px; padding: 20px; border-radius: 16px; font-size: 22px; font-weight: bold; text-decoration: none; display: flex; justify-content: center; align-items: center; gap: 12px; transition: all 0.2s ease; margin: 0 auto; box-shadow: 0 6px 20px rgba(230, 135, 42, 0.3); }
    .tab-type-a__btn:hover, .tab-type-b__btn:hover { background-color: #d1751d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230, 135, 42, 0.4); }
    .tab-type-a__note { margin-top: 20px; color: var(--color-text-muted); font-size: 13px; }
    
    .tab-type-b__text { margin-bottom: 32px; font-weight: bold; font-size: 18px; }
    .tab-type-b__box {
        background-color: #fff;
        border-radius: 16px; padding: 40px; margin-bottom: 40px; width: 100%;
    }
    .tab-type-b__items { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .tab-type-b__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; }
    .tab-type-b__img-main img { width: 100%; max-width: 140px; height: auto; display: block; margin: 0 auto; }
    .tab-type-b__img-sub { display: flex; gap: 8px; justify-content: center; width: 100%; }
    .tab-type-b__img-sub img { height: auto; display: block; }
    .tab-type-b__img-sub img:first-child { width: 25%; max-width: 40px; }
    .tab-type-b__img-sub img:last-child { width: 65%; max-width: 100px; }
    .tab-type-b__plus { font-size: 32px; color: var(--color-sub); font-weight: bold; flex-shrink: 0; line-height: 1; }


    @media (max-width: 767px) { 
        .apply-section { padding: 60px 16px 0; } 
        .apply-title { 
            width: 225px;
        } 
        .apply-subtitle { font-size: 14px; } 
        .c-tab-btn { padding: 16px 8px; gap: 4px; } 
        .c-tab-btn__sub { font-size: 11px; } 
        .c-tab-btn__main { font-size: 18px; } 
        .c-tab-content-wrap { padding: 32px 20px; } 
        
        .tab-type-a__text { font-size: 14px; margin-bottom: 24px; text-align: left; }
        .tab-type-a__img { margin-bottom: 24px; }
        .tab-type-a__btn, .tab-type-b__btn { font-size: 16px; padding: 16px; border-radius: 12px; }
        
        .tab-type-b__text { font-size: 14px; margin-bottom: 24px; text-align: left; }
        .tab-type-b__box { padding: 24px 20px; border-radius: 12px; margin-bottom: 32px; }
        .tab-type-b__items { flex-direction: column; gap: 16px; }
        .tab-type-b__item { flex-direction: row; align-items: center; justify-content: flex-start; width: 100%; gap: 16px; }
        .tab-type-b__img-main { flex: 0 0 80px; }
        .tab-type-b__img-sub { flex: 1; flex-direction: column; align-items: flex-start; gap: 4px; justify-content: center; }
        .tab-type-b__img-sub img:first-child { width: 32px; max-width: none; }
        .tab-type-b__img-sub img:last-child { width: 100%; max-width: 120px; }
        .tab-type-b__plus { font-size: 28px; margin: 0; }
      }



    /* =========================================
       ご注意事項セクション
    ========================================= */
    .notes-section {
        padding: 60px 20px 80px;
        max-width: 880px; /* 長文が読みやすいように少し幅を絞る */
        margin: 0 auto;
        box-sizing: border-box;
      }
      
      .notes-title {
        text-align: center;
        margin-bottom: 40px;
      }
      
      /* 緑色バレットのリスト */
      .c-list-green {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
      }
      .c-list-green > li {
        position: relative;
        padding-left: 1.25em;
      }
      .c-list-green > li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.6em; /* テキストの1行目の高さに合わせる */
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #339758; /* ガイドラインのメイングリーン */
      }
      
      /* 丸数字などのサブリスト */
      .c-list-sub {
        list-style: none;
        padding: 0;
        margin: 8px 0 0 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        color: #857A70; /* ガイドラインのウォームグレー */
      }
      
      /* 青色テキストリンク */
      .link-sky {
        color: #0083B7; /* ガイドラインのディープスカイ */
        border-bottom: 1px solid #0083B7;
        text-decoration: none;
        display: inline-block;
        font-weight: bold;
        transition: all 0.2s ease;
        margin-top: 6px;
      }
      .link-sky:hover {
        opacity: 0.7;
      }
      
      /* PDFリンク用コンポーネント */
      .c-pdf-link-wrap {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 40px;
      }
      .c-pdf-badge {
        background-color: #DE6A37; /* ガイドラインのバーントオレンジ */
        color: #ffffff;
        font-size: 11px;
        font-weight: bold;
        padding: 4px 8px;
        border-radius: 4px;
        line-height: 1;
      }
  



    /* ======================================================================
       FAQ & Others
    ====================================================================== */
    .faq-section {
        padding: 80px 20px;
        box-sizing: border-box;
    }
    
    .faq-container {
        max-width: 1056px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .faq-title {
        margin: auto;
        width: 160px;

    }
    
    .faq-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .faq-item {
        display: flex;
        align-items: center;
        padding: 24px 32px;
        background-color: #ffffff;
        border: 1px solid var(--color-neutral-linen);
        border-radius: 12px;
        text-decoration: none;
        color: var(--color-text-light);
        transition: all 0.2s ease;
    }
    
    .faq-item:hover {
        border-color: var(--color-main);
        background-color: var(--color-bg-light);
        transform: translateY(-2px);
    }
    
    .faq-item::before {
        content: "";
        background: url(../images/lifetasu_renewal/icon-faq.png) no-repeat top center /contain;
        width: 1em;
        height: 1em;
        font-family: var(--font-heading);
        font-size: 32px;
        font-weight: 900;
        color: var(--color-main);
        flex-shrink: 0;
        margin-right: 24px;
        line-height: 1;
    }
    
    .faq-item__text {
        flex-grow: 1;
        font-weight: bold;
    }
    
    .faq-item__arrow {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        color: var(--color-main);
        margin-left: 16px;
        transition: transform 0.2s ease;
    }
    
    .faq-item:hover .faq-item__arrow {
        transform: translateX(4px);
    }
    
    @media (max-width: 767px) {
        .faq-section {
            padding: 60px 16px;
        }
        .faq-container {
            gap: 24px;
        }
        .faq-item {
            padding: 16px 20px;
        }
        .faq-item::before {
            font-size: 28px;
            margin-right: 16px;
        }
        .faq-item__arrow {
            width: 20px;
            height: 20px;
            margin-left: 8px;
        }
    }
    


    .other-links-section {
        padding: var(--space-xl) 0 80px;
        max-width: 1056px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .other-links-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .link-card {
        background-color: var(--color-bg-light);
        border-radius: 8px;
        padding: 40px 48px;
        /* display: flex; */
        /* flex-direction: column; */
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
        border: 1px solid var(--color-neutral-linen);
    }
    
    .link-card--plan {
        justify-content: space-between;
        gap: 24px;
    }
    
    .link-card--plan .link-card__title {
        margin-top: 0;
        margin-bottom: 16px;

    }
    
    .link-card--plan .link-card__desc {
        margin-bottom: 24px;
        line-height: 1.6;
    }
    
    .link-card--story {
        padding: 0;
    }
    
    .link-card--story .link-card__content {
        padding: 48px 32px;
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
        box-sizing: border-box;
    }
    
    .link-card--story .link-card__sub-title {
        margin-bottom: 12px;
        width: 145px;
    }
    
    .link-card--story .link-card__title {
        width: 237px;
        margin-bottom: 24px;
    }
    
    .link-card--story .link-card__img {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 55%;
        height: 100%;
        z-index: 1;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        pointer-events: none;
    }
    
    .link-card--story .link-card__img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: bottom right;
    }
    
    .link-card__btn-pill {
        background-color: var(--color-main);
        color: #ffffff;
        font-weight: 800;
        font-size: 14px;
        padding: 12px 24px;
        border-radius: 9999px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: background-color 0.2s ease;
        margin-top: auto;
        text-decoration: none;
    }
    
    .link-card__btn-pill svg {
        width: 16px;
        height: 16px;
    }
    
    .link-card__btn-pill:hover {
        background-color: var(--color-green-forest);
    }
    
    @media (max-width: 767px) {
        .other-links-section {
            padding: 20px 16px 60px;
        }
        .other-links-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }
        .link-card {
            padding: 32px 24px;
        }
        .link-card--story .link-card__content {
            /* padding: 32px 24px 180px; */
            padding: 0;
        }
        .link-card--story .link-card__img {
            width: 60%;
            height: auto;
        }
    }
    
    .notes-section {
        padding: 60px 20px 80px;
        max-width: 1056px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .notes-title {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .c-list-green {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    .c-list-green>li {
        position: relative;
        padding-left: 1.25em;
    }
    
    .c-list-green>li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.6em;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--color-main);
    }
    
    .c-list-sub {
        list-style: none;
        padding: 0;
        margin: 8px 0 0 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        color: var(--color-text-muted);
    }
    
    .link-sky {
        color: var(--color-blue-deepsky);
        border-bottom: 1px solid var(--color-blue-deepsky);
        text-decoration: none;
        display: inline-block;
        font-weight: bold;
        transition: all 0.2s ease;
        margin-top: 6px;
    }
    
    .link-sky:hover {
        opacity: 0.7;
    }
    
    .c-pdf-link-wrap {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 40px;
    }
    
    .c-pdf-badge {
        background-color: var(--color-accent-burntorange);
        color: #ffffff;
        font-size: 11px;
        font-weight: bold;
        padding: 4px 8px;
        border-radius: 4px;
        line-height: 1;
    }




    /* ======================================================================
       リニューアル告知
    ====================================================================== */
    .renewal-section {
        padding: 140px 20px 160px;
        background-color: var(--color-neutral-cream);
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
   }
    .renewal-container {
        display: flex;
        gap: var(--space-3xl);
        max-width: 960px;
        margin: 0 auto;
        align-items: center;
        justify-content: space-between;
   }
    .renewal-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
   }
    .renewal-img-small {
        margin-bottom: var(--space-md);
        width: 400px;
   }

    .renewal-text {
        color: var(--color-text-main);
        line-height: 1.8;
        font-weight: bold;
        margin: 0;
   }
    .renewal-img-large {
        flex: 1;
        max-width: 400px;
   }
    .renewal-img-large img {
        width: 100%;
        height: auto;
        display: block;
   }
   .renewal-bg-bottom{
    position: absolute;
    height: 160px;
    width: 100%;
    bottom: -1px;
    left: 0;
    background: url(./../images/tokuten_archives/bg-renewal-bg-bottom.png) repeat-x bottom center / 1140px;
   }
    @media (max-width: 767px) {
        .renewal-section {
            padding: 100px 20px 80px;
       }
        .renewal-container {
            flex-direction: column;
            gap: var(--space-lg);
       }
        .renewal-left {
            display: contents;
       }
        .renewal-img-large {
            order: -1;
            width: 100%;
       }
        .renewal-img-small {
            order: 0;
            margin-bottom: 0;
            width: 100%;
       }
        .renewal-text {
            order: 1;
            font-size: 14px;
            width: 100%;
       }
       .renewal-bg-bottom{
        position: absolute;
        height: 160px;

        background: url(./../images/tokuten_archives/bg-renewal-bg-bottom.png) repeat-x bottom center / 750px;
       }
   }
    