/* --- ベーススタイル --- */
:root {
    --color-text-main: #333;
    --color-bg-blue: #7A97F3;
    --color-bg-pink: #FFEDF2;
    --color-bg-purple: #E2C4FF;
    --color-bg-violet: #002D64;
    --color-bg-cream: #FEF5E6;
    --color-btn-pink: #E1005A;
    --font-main: "noto sans jp", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 150%; 
    font-size: 14px;
    font-weight: normal;
}
/* --- ベースの要素（グラデーション担当） --- */
.star-gradient-bg {
  position: relative;
  width: 100%;
  min-height: 100vh;

  /* 背景固定の設定 */
  background-attachment: fixed;
  /* グラデーションのみ指定 */
  background-image: linear-gradient(to bottom, #DCEEF7 0%, #DCEEF7 24%, #58ACDE 47%);
  background-size: cover;
  background-repeat: no-repeat;
}

/* --- 星のパターン層（疑似要素で上に重ねる） --- */
.star-gradient-bg::before {
  content: "";
  position: fixed; /* 画面全体に固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none; /* 下のコンテンツの操作を邪魔しない */

  /* 星画像の指定 */
  background-image: url(/lp/rj_info/assets/images/bg_star.png);
  background-repeat: repeat;

  /* ▼▼▼ 調整のポイント ▼▼▼ */
  
  /* 1. 密度の調整（※注意点あり） */
  /* 元の20pxより数値を大きくすると間隔は広がりますが、星も拡大されます。
     バランスを見て数値を調整してください（例: 40px 40px など） */
  background-size: 55px 44px;

  /* 2. 透明度の調整 */
  /* 星が大きくなった分、透明度を下げて主張を弱めると自然に見えます。
     (0.0〜1.0の範囲で調整。例: 0.3 など) */
  opacity: 0.4; 
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

ul{
    padding-left: 1.5em;
    line-height: 200%;
}
p{
    margin: 0;
}
h3,h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}
.t-red{
    color: #E1005A;
}

main {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    min-height: 100vh;
    position: relative;
    z-index: 0;
}
@media screen and (max-width: 768px) {
    main {
        max-width: 100%;
    }
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* --- 共通クラス --- */

section {
    width: 100%;
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}

section h2 img { width: 100%;}

.container {
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.bg-white { background: #ffffff; }
.bg-blue { background: var(--color-bg-blue); }
.bg-pink { background: var(--color-bg-pink); }
.bg-purple { background: var(--color-bg-purple); }
.bg-cream { background: var(--color-bg-cream); }
.bg-violet { background: var(--color-bg-violet); }
.bg-closs-grid{ background-color: #ffffff; background-image: linear-gradient(#F4F4F4 2px, transparent 2px), linear-gradient(90deg, #F4F4F4 2px, transparent 2px); background-size: 25px 25px;}
.bg-stripe{ background-image: repeating-linear-gradient( -45deg, rgba(225, 0, 90, 0.08), rgba(225, 0, 90, 0.08) 38px, #ffffff 38px, #ffffff 57px);}

.text-pink{ color: #D11E66;}
.text-gray{ color: #FABBD4;}

.marker_yellow{
    background: linear-gradient(transparent calc(100% - 0.7em), #FBF281 calc(100% - 0.7em)); display: inline; padding: 0 4px;
    box-decoration-break: clone; /* 改行してもスタイルを維持（Chrome等対応） */
    -webkit-box-decoration-break: clone; /* Safari用 */
}

.layout-grid-wrapper {
    display: flex;
    flex-direction: column;
    padding-bottom: 0.5px;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.rounded-content {
    border-radius: 16px;
    border: 2px solid #333;
    width: 100%;
    max-width: 315px;
    margin: 0 auto;
    position: relative;
}

@media screen and (max-width: 768px) {
    .rounded-content {
        width: calc(100% - 0px);
        max-width: 100%;
    }
}
.rounded-inner {
    overflow: hidden;
    border-radius: 16px;
}
.rounded-content.pad-20 { padding: 20px; }
.rounded-content.pad-0 { padding: 0px; overflow: hidden; }

.btn-pink {
    display: inline-flex;
    height: 56px;
    width: 100%;
    max-width: 300px;
    padding: 15px 12.5px 15px 17.5px;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    background: var(--color-btn-pink);
    box-shadow: 0 3px 0 0 rgba(0, 45, 100, 0.30);
    gap: 5px;
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
}
.btn-pink:active { transform: translateY(3px); box-shadow: none; }
.btn-pink .btn-text{ flex-grow: 1; text-align: center;}
.btn-White {
    display: inline-flex;
    height: 56px;
    width: 100%;
    max-width: 300px;
    padding: 15px 15px 15px 20px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 100px;
    border: 2px solid var(--color-btn-pink);
    background: #fff;
    box-shadow: 0 3px 0 0 var(--color-btn-pink);
    color: var(--color-btn-pink);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
}
.btn-White:active { transform: translateY(3px); box-shadow: none; }
.btn-White::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-btn-pink);
    border-right: 2px solid var(--color-btn-pink);
    transform: rotate(45deg);
    margin-left: 8px;
}

.cloud-parent{
    position: relative;
}
.cloud-decoration {
    position: absolute;
    width: auto;
    height: auto;
    pointer-events: none;
    z-index: 10;
}

.text_echo {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    gap: 0.5em;
    color: #333;
    font-size: 16px;
    line-height: 120%;
    font-weight: 700;
}

.text_echo::before,
.text_echo::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 18px;
    background-color: #E1005A;
    transform-origin: center;
}
.text_echo::before {
    transform: rotate(-20deg); 
}
.text_echo::after {
    transform: rotate(20deg);
}

.info_title_area{position: relative;}
.star-decoration {
    position: absolute;
    width: auto;
    height: auto;
    pointer-events: none;
    z-index: 10;
}
.star-left{top: 3px; left: 20px; z-index: 10;}
.star-right{top: 3px; right: 20px; z-index: 10;}
.info_title{ color: #002D64; font-size: 24px; text-align: center; margin: 0 auto 0;}
.title_ribbon{ margin: 0 auto 40px; text-align: center;}
/* --- 各セクション個別スタイル --- */

/* 1. FV */
#fv { background-color: #f0f8ff; padding: 0px; position: relative;}
#fv h1{ margin: 0;}
.fv-content { text-align: center;  position: absolute; bottom: 30px; left: 0; right: 0;}
.fv-btn-area { display: flex; flex-direction: column; align-items: center; gap: 5px; }

.fv-consult-text { font-weight: bold; color: var(--color-text-main); }

#fv-left { padding: 0px; position: fixed; top: 100px; max-width: 355px; left: 50%; margin-left: -565px;}
#fv-left .rounded-content{ border: solid 0px #fff;}
#fv-left .upper-line{padding-top: 20px; border-top: dashed 2px #C6C6C6;}

#fv-right { padding: 0px; position: fixed; top: 100px; max-width: 355px; right: 50%; margin-right: -565px;}
#fv-right h2{ line-height: 150%;}
#fv-right .rounded-content{ border: solid 0px #fff; max-width: 355px;}
#fv .btn-pink {
    padding: 15px 5px 15px 10px;
    gap: 0px;
}
@media screen and (max-width: 1179px) {
    #fv-left, #fv-right {display: none;}
}
@media screen and (max-width: 768px) {
    #fv img{
        width: 100%;
    }
}

/* 2. Discount */
#discount { background-color: #fff; }
.discount-banners { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; align-items: center; }
#discount img{width: 100%;}

/* 3. Concerns */
#concerns { position: relative; padding-top: 60px; padding-bottom: 40px;}

#concerns .star-left{top: -10px; left: 20px; z-index: 10;}
#concerns .star-right{top: -10px; right: 20px; z-index: 10;}
.concern-lead { font-size: 1.3rem; font-weight: bold; text-align: center; margin-bottom: 30px; line-height: 1.5; }
.concern-list { display: flex; flex-direction: column; gap: 25px; }

/* 吹き出しスタイル */
.concern-bubble {
    position: relative;
    color: var(--color-text-main);
    font-weight: bold;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

#concerns .concern-bubble{ gap: 15px;}
#concerns .rounded-inner img{ width: 100%;}
.concern-img { height: auto; flex-shrink: 0; }
.concern-text {display: flex; flex: 1; text-align: left; font-size: 0.95rem; line-height: 200%; justify-content: center;}
#concerns .concern-text { font-size: 14px;}
.concern-item-left { margin-right: auto; margin-left: 0; }
.concern-item-right { margin-left: auto; margin-right: 0; flex-direction: row-reverse; }
.concern-item-right .concern-text { text-align: left; }

#experience { padding-top: 0px; color: #002D64;}
#experience p {line-height: 150%;}
.experience-title-img { margin-bottom: 20px; }

.cloud-3-1-1{top: -25px; left: -32px; z-index: 10;}
.cloud-3-1-2{top: 0px; left: -32px; z-index: 11;}
.cloud-3-3{bottom: -20px; right: -32px; z-index: 10;}


@media screen and (max-width: 768px) {
    #concerns.concern-bubble {

    }
    .concern-img{
        min-width: 120px;
    }
    .concern-img img{
        width: 100%;
    }
}

/* Area4専用：concern-bubbleの上書きスタイル */
.area4-custom {
    display: block !important; /* flex解除 */
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
}
.check-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.check-item-row {
    display: flex;
    align-items: flex-start; /* アイコンを上揃え */
    gap: 10px;
    text-align: left;
    line-height: 1.5;
    font-weight: bold;
    font-size: 0.95rem;
}
.check-item-row svg {
    flex-shrink: 0;
    margin-top: 4px; /* テキストとの位置合わせ */
}

.cloud-4-1-1{top: -58px; right: -32px; z-index: 10;}
.cloud-4-1-2{top: 15px; right: -22px; z-index: 11;}
.cloud-4-1-3{bottom: -20px; left: -22px; z-index: 10;}


/* 5. Recommendation */
#recommendation .recommendation-content { text-align: center; }

#recommendation h2{ line-height: 200%; position: relative;}
.cloud-5-1{top: 20px; left: calc(50% - 180px); z-index: 10;}
.cloud-5-2{bottom: -25px; right: calc(50% - 160px); z-index: 11;}

/* 6. Courses */
#courses { background-color: #fff; }
#courses h2 { position: relative; line-height: 200%; }
#courses p { position: relative; }
.course-card { display: flex; flex-direction: column; margin-bottom: 0; text-align: center; width: 100%; color: #333; font-family: "Noto Sans JP"; font-size: 14px; font-style: normal; font-weight: 700;}
.course-card-inner { background: #fff; margin: 15px; padding: 15px; border-radius: 8px; }
.course-card-title { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 20px;}
.course-card-title-text{ text-align: left;}
.course-card-title-text-main{ font-size: 18px; font-weight: 700;}
.course-card-title-text-sub{ margin-top: 20px; font-size: 14px; font-weight: 700;}
.flag-icon { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin: 0px 10px 10px 0px; border: 2px solid #fff; background: #eee; }

.course-stats { margin: 20px 0; }
.course-card-staff { display: flex; justify-content: flex-start; align-items: center; background-color: #F4F4F4; border-radius: 5px; padding: 10px;}
.course-card-staff img { max-width: 80px; border-radius: 50%; margin-right: 10px;}
.title-sub-blue{width: 275px; border-radius: 5px; background: #4467DB; box-shadow: 4px 4px 0 0 #304DAE; margin: 20px; padding: 5px 0px; color: #fff; text-align: center; font-family: "Noto Sans JP"; font-size: 16px; font-style: normal; font-weight: 700; line-height: 150%;}
@media screen and (max-width: 768px) {
    .title-sub-blue{
        width: auto;
    }
}

.text-blue-block{ display: inline-block; border-radius: 2px; background: #4467DB; color: #fff; padding: 5px; font-size: 16px; font-weight: 600;}

/* 7. Interest */
#interest{ padding: 40px 0 0; position: relative;}
#interest h2{ position: relative; line-height: 200%;}
.interest-list { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; padding: 0 5px; }
.interest-item { background: rgba(255, 255, 255, 0.9); padding: 15px 20px; border-radius: 100px; text-align: center; font-weight: bold; width: fit-content; max-width: 85%; }
.interest-item:nth-child(1) { align-self: flex-start; margin-left: 0; }
.interest-item:nth-child(2) { align-self: flex-end; margin-right: 0; }
.interest-item:nth-child(3) { align-self: flex-start; margin-left: 10%; }
.triangle {
    width: 100%;
    height: 40px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    display: block;
    margin-top: -1px;
}

/* 8. Solution */
#solution { padding: 0 0 40px; position: relative;}
#solution h2 { position: relative; line-height: 120%;}
#solution .rounded-content{ border-color: #cccccc;}
.solution-card { width: 100%; text-align: center; position: relative; }
.gray-area{ padding: 10px; background-color: #f4f4f4;}
.gray-area ul{ margin: 5px 0 0 0; line-height: 150%;}

@counter-style maru-suji {
  system: fixed;
  symbols: ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ ⑰ ⑱ ⑲ ⑳;
  suffix: " ";
}
#solution .number-list{ list-style-type: maru-suji; padding-left: 1.5em; text-align: left;}
#solution .number-list li{ margin-bottom: 0.5em; line-height: 1.5;}

@media screen and (max-width: 768px) {
#solution .rounded-inner img{width: 100%;}
}

.cloud-8-1-1{top: -18px; right: -22px; z-index: 10;}
.cloud-8-1-2{top: -15px; left: -22px; z-index: 11;}
.cloud-8-2-1{top: -30px; right: -22px; z-index: 10;}
.cloud-8-2-2{top: 5px; right: -22px; z-index: 11;}
.cloud-8-3-1{bottom: -25px; left: -22px; z-index: 10;}

/* 9. Reasons */
.reason-card { background: #fff; margin-bottom: 0; text-align: center; width: 100%; }
.reason-number { width: 52px; margin: 0 auto 10px; }
.reason-text-area { margin-top: 10px; line-height: 200%;}
.number-title{ text-align: left; width: 100%; max-width: 315px; margin: 0 auto;}
.number-title h3{ line-height: 150%;}

/* 10. Voice */
.voice-card { width: 100%; margin-bottom: 20px; }
.voice-card img { width: 100%;}
.voice-title { font-weight: bold; margin-bottom: 10px; text-align: center; font-size: 18px; line-height: 150%;}
.text-title{font-weight: bold; line-height: 150%;}

#voice .rounded-content{
    border: none;
}

/* 11. FAQ */
#faq{ color: #002D64;}
.faq-accordion { margin-top: 20px; }
.faq-item { background: #fff; border-radius: 16px; margin-bottom: 20px; overflow: hidden; }
.faq-item img{ width: auto;}
.faq-question { padding: 15px; font-weight: bold; cursor: pointer; position: relative; display: flex; align-items: center; }
.faq-question span{max-width: 16em; min-width: 20px; font-size: 16px;}
.faq-q-icon { width: 20px; margin-right: 10px; }
.faq-a-icon { width: 22px; height: 19px; margin-top: 20px; margin-right: 10px; }

/* アイコンのスタイル変更 */
.faq-toggle-icon {
    margin-left: auto;
    width: 20px;
    height: 20px;
    position: relative;
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #333;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}
/* 横棒 */
.faq-toggle-icon::before {
    width: 70%;
    height: 2px;
}
/* 縦棒 */
.faq-toggle-icon::after {
    width: 2px;
    height: 70%;
}
/* アクティブ時: 縦棒を回転させて横にする（マイナスに見せる） */
.faq-item.active .faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    display: flex;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
    padding: 0 15px;
    margin: 0;
}
.faq-answer p { padding: 15px 0; margin: 0; font-size: 16px; font-weight: 400; line-height: 150%;}
.faq-item.active .faq-answer { max-height: 500px; border-top: dotted 1px #CCCCCC;}

.cloud-11-1{ top: -28px; left: -20px; z-index: 10;}
.cloud-11-2{ bottom: -2px; right: -18px; z-index: 10;}

/* 12. Special Spring */
#special-spring { text-align: center; padding-bottom: 40px;}
#special-spring h2 { line-height: 200%; position: relative;}
#special-spring p,#special-spring li { line-height: 120%; font-size: 14px;}
.cloud-12-1{ top: -34px; left: 0px; right: 0px; z-index: 10;}

.bg-sky_picture{
    background-image: url(../images/bg-sky_picture.png);
    background-size: cover;
}

/* 13. Footer */
#footer { color: #fff; text-align: left; padding: 40px 30px; font-size: 14px; line-height: 200%;}
.copy-text{ font-weight: bold; margin-top: 20px;}

.title_white-text{
color: #FFF;
text-align: center;
-webkit-text-stroke-width: 1.2px;
-webkit-text-stroke-color: #333;
font-family: "Noto Sans JP";
font-size: 16px;
font-style: normal;
font-weight: 900;
line-height: 200%; /* 32px */
}

/* 14.  */
#recommendation_select{ position: relative; padding: 0 0 40px;}

/* 15. Footer */
.select_area{ padding: 20px; margin: 20px; border-radius: 16px;}
.select_area-inner{ display: flex; align-items: center;}
.select_area-text{ line-height: 150%; padding: 10px 15px; margin-right: 10px; border-radius: 10px; font-weight: bold;}
.select_area-text li{ margin-bottom: 10px; font-size: 12px; margin-left: 1.5em;}
.select_area-inner img{ height: fit-content;}
.select_area-recommend{ text-align: center; line-height: 250%; font-weight: bold;}


.title-area-square{ line-height: 250%; margin: 0 20px; padding: 10px; text-align: center; border-radius: 5px; position: relative;}

.note-text {
  /* --- ご指定のスタイル --- */
  color: #333;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.019px;

  /* --- ※の位置調整用（Flexbox） --- */
  display: flex;
  align-items: baseline; /* テキストのベースラインに合わせる */
  gap: 0.25em; /* ※とテキストの間隔 */
}

/* 「※」を自動生成する設定 */
.note-text::before {
  content: "※";
  flex-shrink: 0; /* ※が潰れないようにする */
}

.area-square{border-radius: 0px;}


/* 15. plan */
#plans h2{color: #fff; line-height: 150%;}
.plans-accordion { margin-top: 20px; }
.plans-item { background: #fff; border-radius: 16px; margin-bottom: 20px; overflow: hidden; }
.plans-item img{ width: auto; min-height: 84px;}
.plans-title { font-weight: bold; cursor: pointer; position: relative; display: flex; align-items: center; }
.plans-title span{max-width: 16em; min-width: 20px; font-size: 16px;}
.plans-q-icon { width: 20px; margin-right: 10px; }
.plans-a-icon { width: 22px; height: 19px; margin-top: 20px; margin-right: 10px; }

/* アイコンのスタイル変更 */
.plans-toggle-icon {
    margin-left: auto;
    margin-right: 20px;
    width: 20px;
    height: 20px;
    position: relative;
}
.plans-toggle-icon::before,
.plans-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #333;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}
/* 横棒 */
.plans-toggle-icon::before {
    width: 70%;
    height: 2px;
}
/* 縦棒 */
.plans-toggle-icon::after {
    width: 2px;
    height: 70%;
}
/* アクティブ時: 縦棒を回転させて横にする（マイナスに見せる） */
.plans-item.active .plans-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.plans-text {
    max-height: 0;
    display: flex;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
    padding: 0;
    margin: 0;
}
.plans-text p { padding: 15px; margin: 0; }
.plans-item.active .plans-text { max-height: 500px; border-top: dotted 2px #CCCCCC;}