@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700;900&display=swap');


html {
    font-size: 62.5%;
}

/* デフォルト余白リセット（左ズレ対策） */
html, body{
  margin: 0;
  padding: 0;
}



body {
    font-size: 1.6rem;
    line-height: 2;
  font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    color: #2c2c2c;
    max-width: 640px;
    margin: 0 auto;
}


p {
    font-size: 20px;
    letter-spacing: 0.15em
}

.body-wrapper {
    position: relative;
    overflow-x: hidden;
}

.pb2em {
    padding-bottom: 2em;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mb20 {
    margin-bottom: 20px;
}

.red {
    color: #FC0047;
}

.yel {
    color: #FFD200;
}

.bold {
    font-weight: bold;
    background:linear-gradient(transparent 70%, #FFD200 0%);
}

.bold-n {
    font-weight: bold;
}

.sec-wrap {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .sec-wrap img{
    width: 100%;
  }

.sec-wrap2 {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background: white;
}

.yokohaba {
    max-width: 640px;
    margin: -1px auto;
}

figure {
    line-height: 0;
}


.w94 {
    width: 94%;
    margin: 0 auto;
}

.w90 {
    width: 94%;
    margin: 0 auto;
}



.sank {
    background: white;
    font-size: 16px !important;
}
.sank-img {
    width: 30%;
}

/*レスポンシブ
.sp,
.tb {
    display: none;
}
*/

@media screen and (max-width: 768px) {
    .tb {
        display: block;
    }
    .pc {
        display: none;
    }

    p {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .sp {
        display: block;
    }
    .sp-hide {
        display: none;
    }
}

.container {
    width: 94%;
    max-width: 800px;
    margin: 0 auto;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.position-relative {
    position: relative !important;
}

.flex-1 {
    flex: 1;
}

.en {
    font-family: "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.font-weight-black {
    font-weight: 900 !important;
}

.letter30 {
    letter-spacing: .03em;
}

.f-18 {
    font-size: 1.8rem !important;
}

.f-20 {
    font-size: 2rem !important;
}

.f-22 {
    font-size: 2.2rem !important;
}

.f-28 {
    font-size: 2.8rem !important;
}

.f-30 {
    font-size: 3rem !important;
}

.f-33 {
    font-size: 3.3rem !important;
}

.f-35 {
    font-size: 3.5rem !important;
}

.f-40 {
    font-size: 4rem !important;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 1.4rem !important;
    }
    .f-18 {
        font-size: 1.6rem !important;
    }
    .f-20 {
        font-size: 1.7rem !important;
    }
    .f-22 {
        font-size: 1.8rem !important;
    }
    .f-28 {
        font-size: 2.1rem !important;
    }
    .f-30 {
        font-size: 2.2rem !important;
    }
    .f-33 {
        font-size: 2.3rem !important;
    }
    .f-35 {
        font-size: 2.4rem !important;
    }
    .f-40 {
        font-size: 2.6rem !important;
    }
}

@media screen and (max-width: 480px) {
    .f-14 {
        font-size: 1.2rem !important;
    }
    body {
        font-size: 1.3rem !important;
    }
    .f-18 {
        font-size: 1.4rem !important;
    }
    .f-20 {
        font-size: 1.5rem !important;
    }
    .f-22 {
        font-size: 1.6rem !important;
    }
    .f-28 {
        font-size: 1.9rem !important;
    }
    .f-30 {
        font-size: 2rem !important;
    }
    .f-33 {
        font-size: 2.1rem !important;
    }
    .f-35 {
        font-size: 2.2rem !important;
    }
    .f-40 {
        font-size: 2.4rem !important;
    }
}

.col-white {
    color: #fff !important;
}

.col-yel {
    color: #FFD200 !important;
}

.bg-white {
    background: #fff !important;
}


/********************************************************
************************ Header *************************
********************************************************/



header {
    padding: 15px 5px 10px 5px;
    display: flex;
    max-width: 640px;
    margin: 0 auto;
}



.pc-h {
    display: block;
}


.sp-h {
    display: none;
}



.w_100 {
    width: 100%;
}





@media screen and (max-width: 768px) {
    .pc-h {
        display: none;
    }


    .sp-h {
        display: block;
    }

    .hea1 {
        margin-right: 50px;
    }

    .mozi img {
        width: 95%;
    }

    .sp-w {
        width: 95%;
        margin: 0 auto;
    }
}



/********************************************************
************************ ボタンエリア *************************
********************************************************/


.btn-ue {
    padding-bottom: 1em;
}


.btn a:hover img{
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
  }

.btn-flex {
    display: flex;
    margin-bottom: 1em;
}


.btn-eria {
    padding-top: 2em;
    padding-bottom: 3em;
    background-color: #d32033;
}

.btn-box {
    width: 94%;
    margin: 0 auto;
}

.btn {
    margin: 0 auto;
}

.btnp {
    text-align: center;
}

.bla {
    color: white;
    font-weight: normal;
}

.btnue {
    margin-bottom: 1em;
    text-align: center;
}

.tokuten {
    background-color: #212B65;
}

.btn2{
    width: 75%;
    margin-left: 2em;
}

.btn-sp {
    padding-top: 5px;
}

 .btnsp {
    width: 100%;
    margin: 0 auto;
    padding: 1em 2px 0 2px;
 }

 .btn-p{
    color: white;
    text-align: center;
    padding: 1em 0;
 }


 .font-btn{
    font-size: 12px !important;
 }


 .font-btn2{
    font-size: 15px !important;
 }

 .tap-haikei {
    background: #0c78b7;
    border-radius: 10px;
 }



/*******************ふわふわするボタン*******************/
.fuwafuwa{
    margin: auto;
    display: block;
    animation-name: fuwafuwa;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  @keyframes fuwafuwa {
    0%{
      transform: translateY(0);/*Yは縦軸を表す*/
    }

    50%{
      transform: translateY(-15px);/*15px分動く*/
    }

    100%{
      transform: translateY(0);
    }

  }
  /*ふわふわするボタン*/






/*******************悩み*******************/

.nayami-haikei {
        /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
  linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
background-size: 16px 16px;
background-repeat: repeat;
background-position: center center;
}







/*******************解決/理由*******************/

.kaiketu {
    background: #fff5f4;
    padding: 2em 0;
}

.bunsyou {
    width: 90%;
    margin: 0 auto;
    padding-top: 1em;
}

.koutou {
    padding: 2em 0;
}


.kout-p {
    text-align: center;
    padding: 1em 0;
}

.hutoaka {
    font-size: 24px;
    color: #d32033;
    font-weight: bold;

}

.wis {
    width: 90%;
    margin: 0 auto;
    text-align: left;
}



/* =========================
   kai-g（添付2寄せ：640基準で見た目固定）
   bodyがmax-width:640なら、どの端末でも同じ比率で縮小されます
   ========================= */

.kai-g{
  width: min(640px, 100%);
  margin: 0 auto;
  box-sizing: border-box;

  padding: 17px 6px 18px;
  text-align: center;

  /* cqw を効かせる */
  container-type: inline-size;

  /* 文字詰めが添付2っぽくなる */
  font-feature-settings: "palt";
}

/* 上の赤リボン（ほぼ全幅、1行維持） */
.kai-g__ribbon{
  position: relative;
  margin: 0 auto 18px;
  display: block;
  width: min(608px, 100%);
  box-sizing: border-box;

  background: #e6002d;
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;

  /* 640px時に約22pxになる係数：22/640*100 = 3.4375cqw */
  font-size: clamp(15px, 3.44cqw, 22px);
  line-height: 1.15;

  padding: .62em .95em;
  white-space: nowrap;
}

/* リボンの中央▼ */
.kai-g__ribbon::after{
  content:"";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #e6002d;
}

/* 2行目（グレー） */
.kai-g__lead{
  margin: 0 0 14px;
  color: #6a6a6a;
  font-weight: 900;

  /* 640px時に約34px：34/640*100=5.3125cqw */
  font-size: clamp(18px, 5.31cqw, 34px);
  line-height: 1.25;
}

/* 大見出し（添付2のサイズ感に寄せる） */
.kai-g__big{
  margin: 0;

  line-height: 1.05;
  font-weight: 900;
  color: #333;
font-size: 25px;
}


/* 「リスク」は赤 */
.kai-g__risk{
  color: #e6002d;
}

/* 「です。」はグレー（少しだけ小さく） */
.kai-g__desu{
  color: #4d4d4d;
  font-size: .92em;
}

/* 「いちばんの」の黄マーカー（z-index事故らない方式） */
.kai-g__mark{
  display: inline-block;
  color: #e6002d;
  padding: 0 .04em;

  /* 文字の下側だけ黄色 */
  background: linear-gradient(transparent 62%, #ffe100 0);
}





.kaiketu-box {
    padding-top: 1em;
}




/* 2カード（画像のやつ） */
.twoCards{
  width: min(640px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 12px;
  box-sizing: border-box;
}

/* 共通カード */
.twoCards__item{
  background: #fff;
  border: 3px solid currentColor;
  box-sizing: border-box;
  min-height: 80px;
  display: grid;
  place-items: center;
  padding: 18px 12px;
}

/* 文字 */
.twoCards__text{
  margin: 0;
  text-align: center;
  color: currentColor;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .06em;
  font-size: clamp(18px, 4.8vw, 34px);
  font-family: "Yomogi","Zen Maru Gothic","Noto Sans JP",system-ui,sans-serif;
}

/* 色分け */
.twoCards__item--blue{ color: #0b79b5; }
.twoCards__item--red{  color: #e6002d; }

@media (max-width: 375px){
  .twoCards{ gap: 12px; }
  .twoCards__item{ min-height: 60px; padding: 10px 10px; }
  .twoCards__text{ letter-spacing: .04em; }
}



/* 背景なし：画像の見出し再現 */
.mkHead{
  width: min(640px, 100%);
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 18px 16px 10px;
  box-sizing: border-box;
  font-feature-settings: "palt";
}

.mkHead__dots{
  display:block;
  width: 220px;
  height: 12px;
  margin: 0 auto 10px;
  background: radial-gradient(circle, #e6002d 0 4px, transparent 5px)
              0 50% / 70px 12px repeat-x;
}

.mkHead__line1{
  display:block;
  margin: 0 0 6px;
  color:#4d4d4d;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.05;
  font-size: clamp(28px, 7.2vw, 56px);
}

.mkHead__line2{
  display:block;
  margin: 0;
  color:#4d4d4d;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.05;
  font-size: clamp(28px, 7.2vw, 56px);
  white-space: nowrap;
}

.mkHead__mark{
  color:#e6002d;
  padding: 0 .04em;
  background: linear-gradient(transparent 62%, #ffe100 0);
}

@media (max-width: 375px){
  .mkHead__line2{ white-space: normal; }
  .mkHead__dots{ width: 180px; background-size: 60px 12px; }
}







/*******************仕事紹介*******************/

.syoukai{
    padding: 3em 0 1em 0;
}

.padi {
    padding-bottom: 2em;
}


/* =========================
   solveImgCard：画像の上に文字を固定配置（端末差でズレない版）
   前提：背景画像の比率が 640 / 900
   ========================= */

.solveImgCard{
  width: min(640px, 100%);
  margin: 0 auto;
  position: relative;

  /* 背景画像の縦横比を固定して、%座標が必ず同じ意味になるようにする */
  aspect-ratio: 640 / 900;
  overflow: hidden;
  box-sizing: border-box;
}

/* 背景画像：枠などを全体表示（見切れなし） */
.solveImgCard__bg{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* 画像全体を必ず表示 */
}

/* タイトル：画像内の定位置に固定（%で指定） */
.solveImgCard__title{
  position: absolute;

  /* 640基準：left 210px => 32.8125% */
  left: 32.8125%;

  /* topは画像の高さ基準（640x900想定で、78px相当なら 78/900=8.666..%） */
  top: 8.7%;

  margin: 0;
  color: #e6002d;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.08;

  /* 端末幅で縮むが、最大は640時のサイズに寄せる */
  font-size: clamp(22px, 7.2vw, 46px);

  /* 巻き込み対策（縦書き化や変な改行を潰す） */
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  transform: none;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: normal;
  text-align: left;
}

/* 本文：中央の箱として固定（margin auto ではなく left/right で中央化） */
.solveImgCard__body{
  position: absolute;

  /* 中央寄せの“箱”を作る：左右同じ余白 */
  left: 8%;
  right: 8%;

  /* 縦位置：見本に合わせて調整ポイント */
  top: 64%;

  margin: 0;
  color: #333;
  letter-spacing: 0.15em;
  line-height: 1.7;
  font-size: clamp(16px, 2.8vw, 18px);

  writing-mode: horizontal-tb;
  transform: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* いま作ってた .solve（幅85%）は“ズレの原因”になりやすいので無効化推奨 */
.solve{
  width: auto;
}

/* iPhone SE 等：必要なら少しだけ縮める（基本はこのままでOK） */
@media (max-width: 375px){
  .solveImgCard__body{
    left: 7%;
    right: 7%;
    top: 62%;
    font-size: 15.5px !important;
  }
    .solveImgCard__body p{

    font-size: 15.5px !important;
  }
}

@media (min-width: 750px){
  .solveImgCard__body{
font-size: 24px;
  }
}


.solveImgCard{ margin: 0 auto -3em; }  /* 下だけ余白 */






.syou-b {
    margin: 2em 0 1em 0;
}


.pbk {
    width: 90%;
    margin: 0 auto;
}

.pbk2 {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}


/*******************講座*******************/

.kouza-hai {
    background: #f4ef81;
    padding-bottom: 2em;
}

.marzin {
    padding: 1em 0;
}



/* =========================
   Jobカード：上は“合成済み画像”、下はテキスト（ズレない版）
   ========================= */

.jobCardImg{
  width: min(640px, 100%);
  margin: 0 auto 26px;
  box-sizing: border-box;
}

.jobCardImg__inner{
  border: 4px solid #e6002d;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

/* 上の合成済み画像はそのまま100% */
.jobCardImg__top{
  display: block;   /* 画像下の謎余白（baseline）を消す */
  width: 100%;
  height: auto;
}

/* 下：本文 */
.jobCardImg__body{
  padding: 26px 22px 32px;
  box-sizing: border-box;
}

.jobCardImg__desc{
  margin: 0;
  color: #444;
  letter-spacing: .04em;
  line-height: 1.55;

  /* 理想画像は大きめだけど、あなたの現状よりは少し控えめ */
  font-size: 16px;
}

/* iPhone SEなど小さめだけ微調整 */
@media (max-width: 375px){
  .jobCardImg__body{ padding: 22px 18px 28px; }
  .jobCardImg__desc {
    font-size: 16px;
  }
}





.toha {
border: 2px solid #444444;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
  padding: 2em 0;
}


.mini {
    text-align: left;
    font-size: 12px;
    width: 90%;
    margin: 0 auto;
}

.toha-ga2 {
    padding: 1em 0;
}

/*******************未来*******************/

.mirai{
    padding: 3em 0 0 0;
}


/******************求人*******************/

.haikei1 {
    background: #f9ebe5;
}

.kouza-b {
    padding-bottom: 2em;
}


.hako1 {
    padding: 2em 0;
}

/******************働く人*******************/

.hako2 {
    background: #f4ef81;
    padding-bottom: 2em;
}

.hako-i {
    padding: 2em 0;
}

.cyuou {
    text-align: center;
    font-size: 16px;
}


.hako3 {
    margin: 0 auto;
}

.cyuou2 {
    text-align: center;
    font-size: 23px;
    font-weight: bold;
}

.cyuou-p {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.taiki {
    padding-bottom: 2em;
}

/******************退勤後*******************/

.taikinn {
    padding: 2em 0;
}

.cyuou-p {
    text-align: center;
}

/******************ビフォーアフター*******************/
.bifo {
    background: #fefdef;
    padding-bottom: 2em;
}


.bif2 {
    width: 80%;
}





/******************数字*******************/

.suuzi {
    padding: 2em 0;
}

.kutikomi {
    padding-bottom: 3em;
}

.kuti-1 {
    text-align: center;
    font-weight: bold;
}

/******************理想の未来*******************/


.konna {
    background: #f7dfe1;
    padding-bottom: 2em;
}


.g40 {
    padding: 1em 0;
}




/* =========================
   mira-p（背景なし）
   ========================= */
.mira-p{
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  color: #3f3f3f;
  font-feature-settings: "palt";
}

.mira-p__lead,
.mira-p__foot{
  margin: 0;
  letter-spacing: .03em;
  line-height: 1.7;
  font-size: clamp(16px, 4.4vw, 30px);
}

.mira-p__lead{ margin-bottom: 22px; }
.mira-p__foot{ margin-top: 22px; }

.mira-p__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

/* 1行（チェック＋テキスト） */
.mira-p__item{
  grid-template-columns: 44px 1fr;
  align-items: center;
  column-gap: 14px;

  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1.2;
  font-size: clamp(22px, 5.6vw, 40px);
}

/* 赤いチェック（CSSで作る） */
.mira-p__check{
  width: 34px;
  height: 34px;
  position: relative;
  display: inline-block;
}
.mira-p__check::before{
  content:"";
  position:absolute;
  left: 17px;
  top: 2px;
  width: 10px;
  height: 20px;
  border-right: 7px solid #e6002d;
  border-bottom: 7px solid #e6002d;
  transform: rotate(40deg);
  transform-origin: left top;
}

/* 黄色マーカー（下線太め） */
.mira-p__hl{
  display: inline;
  padding: 0 .02em;
  background: linear-gradient(transparent 66%, #ffe600 0);
}

/* iPhone SE */
@media (max-width: 375px){
  .mira-p{ padding: 0 12px; }
  .mira-p__lead,
  .mira-p__foot{ font-size: 16px; line-height: 1.75; }
  .mira-p__item{ grid-template-columns: 40px 1fr; font-size: 18px; }
  .mira-p__check{ width: 30px; height: 30px; }
  .mira-p__check::before{ left: 12px; top: -5px; border-right-width: 6px; border-bottom-width: 6px; }
  .mira-p__hl{ background: linear-gradient(transparent 68%, #ffe600 0); }
}


.mira-bo {
    margin-bottom: 2em;
}





.cyuou-p2 {
    text-align: left;
    margin: 0 auto;
    width: 85%;
}


/******************カリキュラム*******************/
.kari-haikei {
    background: #f9efdc;
    padding: 2em 0;
}


/* =========================================================
   monthUnit：1ヶ月目カード（背景なし・スマホで見本の形）
   - 左：縦リボン（縦書き）
   - 右：白カード（枠あり）
   - 内容/目的：見出し＋L字ガイド＋本文
   - 区切り：点線
   - 縦1文字落ち対策：monthUnit__txt を強制横書き
   ========================================================= */

.monthUnit{
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 14px 12px;
  box-sizing: border-box;
  background: transparent; /* 背景なし */
}

/* 左リボン＋右カード */
.monthUnit__wrap{
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 14px;
  align-items: stretch;
}

/* 左：縦リボン */
.monthUnit__ribbon{
  position: relative;
  background: #d9c79f;
  border-radius: 4px;
  overflow: hidden;

  /* 下が尖る */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 16px),
    50% 100%,
    0 calc(100% - 16px)
  );
}

.monthUnit__ribbonText{
  position: absolute;
  inset: 10px 0;
  display: grid;
  place-items: center;

  color: #fff;
  font-weight: 900;
  letter-spacing: .14em;

  writing-mode: vertical-rl;
  text-orientation: upright;

  font-size: 15px;
  line-height: 1;
}

/* 右：カード */
.monthUnit__card{
  background: #fff;
  border: 2px solid #333;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 18px 18px 25px;

  /* grid内でテキストが潰れて1文字改行になるのを防ぐ */
  min-width: 0;
}

/* 内容/目的 ブロック */
.monthUnit__block{
  grid-template-columns: 110px 1fr;
  gap: 6px 10px;
  align-items: start;
}

/* 見出し行 */
.monthUnit__head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}

.monthUnit__sq{
  width: 16px;
  height: 16px;
  background: #d9c79f;
  border-radius: 2px;
  flex: 0 0 auto;
}

.monthUnit__ttl{
  margin: 0;
  color: #333;
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 18px;

  /* 見出しが縦に崩れないように */
  white-space: nowrap;
}

/* 本文側 */
.monthUnit__body{
  position: relative;
  padding-top: 6px;

  /* これがないと極端に細く計算されて縦落ちしやすい */
  min-width: 0;
}

/* L字ガイド */
.monthUnit__L{
  position: absolute;
  left: 6px;
  top: 10px;
  width: 22px;
  height: 34px;
  border-left: 2px solid #e3d2ae;
  border-bottom: 2px solid #e3d2ae;
  border-radius: 2px;
  opacity: .95;
}

/* ★縦1文字落ち対策はここ（強制で横書き＆自然改行） */
.monthUnit__txt{
  margin: 0;
  padding-left: 34px; /* L字分 */

  color: #3d3d3d;
  letter-spacing: .04em;
  line-height: 1.55;
  font-size: 15px;

  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;

  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

/* 点線区切り */
.monthUnit__dash{
  margin: 14px 0;
  height: 0;
  border-top: 3px dotted #333;
}

/* iPhone SE */
@media (max-width: 375px){
  .monthUnit{
    padding: 12px 10px;
  }

  .monthUnit__wrap{
    grid-template-columns: 35px 1fr;
    gap: 10px;
  }

  .monthUnit__card{
    padding: 21px 14px 21px;
  }

  .monthUnit__block{
    grid-template-columns: 96px 1fr;
  }

  .monthUnit__ttl{
    font-size: 16px;
  }



  .monthUnit__ribbonText{
    font-size: 15px;
  }
}


.ribon {
  background: #e3aa91;
}

.ribon-sen {
  border-left: 2px solid #e3aa91;
  border-bottom: 2px solid #e3aa91;
}

.ribo-sika {
  background: #e3aa91;
}

/* 左：縦リボン */
.monthUnit__ribbon2{
  position: relative;
  border-radius: 4px;
  overflow: hidden;

  /* 下が尖る */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 16px),
    50% 100%,
    0 calc(100% - 16px)
  );
}

/* L字ガイド */
.monthUnit__L2{
  position: absolute;
  left: 6px;
  top: 10px;
  width: 22px;
  height: 34px;

  border-radius: 2px;
  opacity: .95;
}


.monthUnit__sq2{
  width: 16px;
  height: 16px;

  border-radius: 2px;
  flex: 0 0 auto;
}



.ribon2 {
  background: #e4988c;
}

.ribon-sen2 {
  border-left: 2px solid #e4988c;
  border-bottom: 2px solid #e4988c;
}

.ribo-sika2 {
  background: #e4988c;
}



.ribon3 {
  background: #e78690;
}

.ribon-sen3 {
  border-left: 2px solid #e78690;
  border-bottom: 2px solid #e78690;
}

.ribo-sika3 {
  background: #e78690;
}




.ribon4 {
  background: #dc4f5e;
}

.ribon-sen4 {
  border-left: 2px solid #dc4f5e;
  border-bottom: 2px solid #dc4f5e;
}

.ribo-sika4 {
  background: #dc4f5e;
}



.ribon5 {
  background: #d32033;
}

.ribon-sen5 {
  border-left: 2px solid #d32033;
  border-bottom: 2px solid #d32033;
}

.ribo-sika5 {
  background: #d32033;
}


/******************学べるスキル*******************/
.manaberu {
    padding-top: 2em;
     background: #f7f3f2;
}




/******************ロードマップ*******************/
.ro-do-p {
    padding: 2em 0;
}

.ro-dob {
    padding-bottom: 3em;
}


.ro-pi{
    text-align: left;
    margin: 0 auto;
    width: 90%;
}


/******************監修*******************/
.kansyu-haikei {
    background: #f69074;
    padding: 1em 0;
}


.kansyu {
    padding: 2em 0;
}

.kansyu-p {
    padding-bottom: 2em;
}

.ro-pi2{
    text-align: left;
    margin: 0 auto;
    width: 90%;
    color: white;
}


.kansyu2 {
    padding-top: 1em;
}

.koukai2 {
    margin-top: -5em;
}



/******************特別公開*******************/

.koukai-haikei {
    background: #f7f3f2;
}


.ro-pi3 {
    text-align: left;
    margin: 0 auto;
    width: 90%;
    padding: 2em 0;
}

.ro-pi4 {
    text-align: left;
    margin: 0 auto;
    width: 90%;
}



/******************サポート*******************/
.koukai-haikei {
    background: #f8f4f3;
}

.kensyu {
    padding-bottom: 2em;
}


.kensyu {
    background: white;
    border-radius: 5px;
    box-shadow: #e6d9d6 70%;
    width: 95%;
    margin: 0 auto;
}

.ken-b {
    width: 35%;
    margin: 0 auto;
    padding-bottom: 2em;
}

.kensyu-haikei {
    background: #f8f4f3;
    padding: 2em 0;
}

.ken-box {
    padding: 1em 0;
}


/******************働く人の声*******************/

.hataraku-haikei {
background: #fefdef;
padding-bottom: 2em;
}

.hataraku {
    padding-bottom: 2em;
}

.hataraku2 {
    padding-bottom: 3em;
}

.ro-pi5 {
    text-align: left;
    margin: 0 auto;
    width: 90%;
    padding-bottom: 2em;
}



.pin-bo {
    background: #cb8d79;
    border-radius: 5px;
    box-shadow: #e6d9d6 70%;
    margin: 0 auto;
    padding-bottom: 1em;
}

.ma-pp {
    margin-bottom: 2em;
}


.pin-im {
    width: 94%;
    margin: 0 auto;
    padding: 1em 0;
}


.pin-siro {
    background: white;
    border-radius: 5px;
    width: 95%;
    margin: 0 auto;
    padding: 2em 0;
}

.ro-pi6 {
    text-align: left;
    margin: 0 auto;
    width: 90%;
}

.mar-p {
    margin-top:2em;
}

.migisita {
    text-align: right;
    font-size: 8px;

}


/******************よくある質問*******************/

.situmon-haikei {
    background: #f9efdc;
}


.situmo-n {
    padding: 4em 0 2em 0;
}

.situ {
    padding: 3em 0;
}

.qe {
    letter-spacing: 0.15em;
    font-size:15px;
}



.situ-gazou{
    width: 80%;
    margin: 0 auto;
    padding: 3em 0;;
}


.que-box{
    margin: 0 auto;
    width: 94%;
    padding-bottom: 3em;
    padding-top: 2em;
}


.qa-007 {
    margin-bottom: 20px;
    border: 1px #212b65 solid;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
    font-size: 16px;
}

.qa-007 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #444444;
    font-weight: 600;
    cursor: pointer;
    background: white;
}

.qa-007 summary::before,
.qa-007 p::before {
    position: absolute;
    left: 0.7em;
    font-weight: 600;
    font-size: 16px;
}

/* まず Q の見た目（共通） */
.qa-007 summary::before{
  color: #81b8bf;
  /* content はここでは書かない（下で番号を入れる） */
}

/* Q1〜Q9（必要な数だけ増やす） */
.que-box .qa-007:nth-of-type(1) summary::before{ content: "Q1"; }
.que-box .qa-007:nth-of-type(2) summary::before{ content: "Q2"; }
.que-box .qa-007:nth-of-type(3) summary::before{ content: "Q3"; }
.que-box .qa-007:nth-of-type(4) summary::before{ content: "Q4"; }
.que-box .qa-007:nth-of-type(5) summary::before{ content: "Q5"; }
.que-box .qa-007:nth-of-type(6) summary::before{ content: "Q6"; }
.que-box .qa-007:nth-of-type(7) summary::before{ content: "Q7"; }
.que-box .qa-007:nth-of-type(8) summary::before{ content: "Q8"; }
.que-box .qa-007:nth-of-type(9) summary::before{ content: "Q9"; }
.que-box .qa-007:nth-of-type(10) summary::before{ content: "Q10"; }
.que-box .qa-007:nth-of-type(11) summary::before{ content: "Q11"; }
.que-box .qa-007:nth-of-type(12) summary::before{ content: "Q12"; }
.que-box .qa-007:nth-of-type(13) summary::before{ content: "Q13"; }


.qa-007 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #444444;
    border-right: 3px solid #444444;
    content: '';
    transition: transform .5s;
}

.qa-007[open] summary::after {
    transform: rotate(225deg);
}

.qa-007 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1.3em 1.7em 1.5em 3em;
    color: #2f2f2f;
    transition: transform .5s, opacity .5s;
}

.qa-007[open] p {
    transform: none;
    opacity: 1;
    color: #2f2f2f;
}

.qa-007 p::before {
    color: #e59399;
    line-height: 1.2;
    content: "A";
}

.q-tit {
    width: 40%;
    background: #212b65;
    padding: 0.2em 1em;
    margin: 1em 0;
    text-align: center;
}

.q-tit p {
    color: white;
    font-size: 18px;
}

@media screen and (max-width: 768px) {
    .q-tit p {
        font-size: 16px;
    }
}





/***************** 募集要項 ******************/


.bosyu-box {
    background: #f1b8b5;
    padding: 2em 0 3em 0;
}

.siro {
    background: white;
    width: 95%;
    margin: 0 auto;
    padding: 2em 0 3em 0;
    border-radius: 5px;
}



.siro-box {
    padding: 3em 0;
    width: 98%;
    margin: 0 auto;
}

.kyu-botan {
    padding-bottom: 2em;
}



.bo-b {
    padding: 3em 0 2em 0;
}






.note{
  margin: .4em 0 0;
  font-size: 12.5px;
  color: rgba(42,31,26,.72);
}

/* ul/li の黒丸を消して「・」に置き換える */
.job-section__content ul{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.job-section__content li{
  position: relative;
  padding-left: 1.2em; /* ・の分の余白 */
  margin: .25em 0;
}

.job-section__content li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brown); /* 好みで */
  font-weight: 900;
}



:root{
  --accent: #ffeaaa;
  --brown: #71493c;
  --bg: #fffaf0;
  --text: #2a1f1a;
  --shadow: 0 18px 60px rgba(0,0,0,.25);
}



.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 8, 0.55);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  transition: opacity .18s ease;
}

.modal-overlay.is-open{
  opacity: 1;
}

.job-modal{
  position: fixed;
  inset: 0;
  z-index: 1000;

  /* display: grid; */
  place-items: center;

  padding: 20px;
}


.job-modal[hidden],
.modal-overlay[hidden]{
  display: none;
}

/* ふわっと表示 */
.job-modal.is-open .job-modal__card{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.job-modal__card{
  width: min(920px, 100%);
  max-height: min(82vh, 760px);
  background: linear-gradient(180deg, var(--bg), #fff);
  border: 2px solid rgba(113,73,60,.25);
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;

  transform: translateY(10px) scale(.98);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
  display: flex;
  flex-direction: column;
}


/* ヘッダー */
.job-modal__header{
  padding: 12px 82px 10px;
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(255,234,170,.65), transparent 60%),
    linear-gradient(180deg, rgba(255,234,170,.55), rgba(255,234,170,.15));
  border-bottom: 1px solid rgba(113,73,60,.18);
}

.job-modal__badge{
  display: inline-block;
  background: var(--brown);
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin: 0 0 10px;
}

.job-modal__title{
  margin: 0 0 6px;
  color: var(--brown);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.25;
}

.job-modal__lead{
  margin: 0;
  color: rgba(42,31,26,.85);
  font-size: 14px;
}



/* ヘッダー内は縦積み固定 */
.job-modal__header{
  display: block;         /* 念のため */
}

/* heroは必ず1段使う */
.job-modal__hero{
  display: block;
  width: 100%;
  margin-top: 10px;
  clear: both;            /* もしどこかで float が効いてても回り込み防止 */
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(113,73,60,.18);
  background: #fff;
  margin-bottom: 2em;
}

/* imgをブロック化して横に回り込まないように */
.job-modal__hero img{
  display: block;
  width: 100%;
  height: 160px;          /* 好みで調整（clampでもOK） */
  object-fit: cover;
}



/* 本文スクロール領域 */
.job-modal__body{
  padding: 16px 20px 18px;
  overflow: auto;
}

/* セクションをカード風に */
.job-sections{
  display: grid;
  gap: 12px;
}

.job-section{
  border: 1px solid rgba(113,73,60,.18);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.job-section__title{
  font-weight: bold;
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--brown);
  background:
    linear-gradient(90deg, rgba(255,234,170,.95), rgba(255,234,170,.25));
  border-bottom: 1px solid rgba(113,73,60,.14);
}

.job-section__content{
  padding: 12px 14px;
  color: var(--text);
  line-height: 1.75;
}

.job-section__content p{
  font-size: 14px !important;
}

.job-section__content ul{
  margin: 0;
  padding-left: 1.2em;
}

.job-modal__footer{
  padding: 12px 20px 18px;
  border-top: 1px solid rgba(113,73,60,.12);
  background: rgba(255, 250, 240, .9);
}

.job-modal__btn{
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  background: var(--brown);
  color: #fff;
  cursor: pointer;
}

.job-modal__btn:hover{
  filter: brightness(1.05);
}

/* ×ボタン */
.job-modal__close{
  position: absolute;
  top: 0px;
  right: 0px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(113,73,60,.18);
  background: rgba(255,255,255,.85);
  color: var(--brown);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce){
  .modal-overlay, .job-modal__card{ transition: none; }
}





body.modal-open{
  overflow: hidden;        /* 背景スクロール停止（PCで効く） */
}
.job-modal__body{
  overflow: auto;
  -webkit-overflow-scrolling: touch; /* iOSで慣性スクロール */
  overscroll-behavior: contain;      /* 端で背景にスクロールが伝搬するのを抑制 */
}







/* ===== 最終：求人ボタンを必ず動かす（これをCSS一番下に） ===== */
@keyframes kyuMicroFloatFinal{
  0%,100%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(0,-4px,0); }
}
@keyframes kyuShineFinal{
  0%   { transform: translateX(-65%); opacity: 0; }
  12%  { opacity: 1; }
  35%  { transform: translateX(65%);  opacity: 0; }
  100% { transform: translateX(65%);  opacity: 0; }
}

.kyu-botan > a{
  position: relative !important;
  display: block !important;
  animation: kyuMicroFloatFinal 2.6s ease-in-out infinite !important;
  will-change: transform;
}

.kyu-botan > a::before{
  content:"" !important;
  position: absolute !important;
  inset: -30% -60% !important;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%) !important;
  pointer-events: none !important;
  animation: kyuShineFinal 3.0s ease-in-out infinite !important;
  will-change: transform, opacity;
}

/* アシンメトリー（同期しないようにズラす） */
.kyu-botan:nth-of-type(1) > a{ animation-delay: -0.2s !important; animation-duration: 2.2s !important; }
.kyu-botan:nth-of-type(2) > a{ animation-delay: -1.0s !important; animation-duration: 3.1s !important; }
.kyu-botan:nth-of-type(3) > a{ animation-delay: -0.6s !important; animation-duration: 2.6s !important; }
.kyu-botan:nth-of-type(4) > a{ animation-delay: -1.7s !important; animation-duration: 3.4s !important; }
.kyu-botan:nth-of-type(5) > a{ animation-delay: -1.3s !important; animation-duration: 2.3s !important; }
.kyu-botan:nth-of-type(6) > a{ animation-delay: -0.4s !important; animation-duration: 3.0s !important; }

.kyu-botan:nth-of-type(1) > a::before{ animation-delay: -1.1s !important; animation-duration: 2.6s !important; }
.kyu-botan:nth-of-type(2) > a::before{ animation-delay: -0.3s !important; animation-duration: 3.3s !important; }
.kyu-botan:nth-of-type(3) > a::before{ animation-delay: -1.6s !important; animation-duration: 2.9s !important; }
.kyu-botan:nth-of-type(4) > a::before{ animation-delay: -0.7s !important; animation-duration: 3.6s !important; }
.kyu-botan:nth-of-type(5) > a::before{ animation-delay: -1.9s !important; animation-duration: 3.1s !important; }
.kyu-botan:nth-of-type(6) > a::before{ animation-delay: -0.5s !important; animation-duration: 3.4s !important; }

/* 押し込み */
.kyu-botan > a:active{
  transform: translate3d(0,2px,0) scale(.99) !important;
  animation-play-state: paused;
}







/***************** 最後に ******************/


.saigoni {
/* 横方向（左→右）に
   #f5e4f1 → #faf1f8 → #ecf0f9
   の順でグラデーション背景 */
  background: linear-gradient(90deg, #f5e4f1 0%, #faf1f8 50%, #ecf0f9 100%);
padding: 3em 0;
}


.hako--saigoni {
    padding: 2em 0;
}

/***************** お問い合わせ ******************/


.fo-haikei {
    background: #c8a161;
    padding-bottom: 3em;
}



.for-ga {
    padding-top: 4em;
}

.gender-box {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gender-box label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  cursor: pointer;
}

.gender-box input[type="radio"] {
  accent-color: #212b65;
}


 .fo-tit {
    width: 90%;
    margin: 0 auto;
 }

 .p-tekuno5 {
    color: white;
    font-size: 18px;
}

.s-color {
    width: 100%;
    height: 62px;
    padding: 0 15px;
    background: #EBECF0;
    border: none;
    box-sizing: border-box;
    font-size: 1.8rem;
    font-weight: 500;
    font-family: "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
    border-radius: 0;
}

.s-flex {
    display: flex;
    color: black;
}

.s-box1 {
    width: 50% !important;
    padding-left: 5px;
}

.s-box2 {
    width: 25% !important;
    padding-left: 5px;
}

.s-box3 {
    width: 25% !important;
    padding-left: 5px;
}

.tex {
    text-align:center;
    padding:20px 0;
}

.year {
    padding-left: 5px;
}

.adress {
    margin-top: 15px;
}



#contact {
    position: relative;
    /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
  linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
background-size: 16px 16px;
background-repeat: repeat;
background-position: center center;
}


#contact form {
    padding: 0 3%;
    background: #fff;
}

.contact_box dl {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px 0;
}

.contact_box dl dt {
    position: relative;
    width: 55%;
    padding: 5px 0 0 85px;
}

.required,
.optioned {
    position: absolute;
    left: 0;
    top: 14px;
    width: 70px;
    text-align: center;
    font-size: 90%;
    color: #fff;
    background: #b81c23;
}

.optioned {
    background: #F7F4F4;
    color: #AFACAC;
}

.contact_box dl dd {
    flex: 1;
}

select,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="age"] {
    width: 100%;
    height: 62px;
    padding: 0 15px;
    background: #EBECF0;
    border: none;
    box-sizing: border-box;
    font-size: 1.8rem;
    font-weight: 500;
    font-family: "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;;
    border-radius: 0;
}


.contact_box select.year {
    max-width: 150px;
    margin-right: 10px;
}

.contact_box select.month {
    max-width: 110px;
    margin-right: 10px;
}

.contact_box select.day {
    max-width: 110px;
    margin-right: 10px;
}

textarea {
    font-size: 16px !important;
    width: 100%;
    padding: 15px;
    background: #EBECF0;
    border: none;
    box-sizing: border-box;
    font-family: "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif !important;

}

input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 545px;
    height: 105px;
    margin: 0 auto;
    padding-right: 4%;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    font-family: "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;;
    letter-spacing: .05em;
    color: #fff;
    border: none;
    background:#d32033;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type="submit"]::after {
    content: url(../img/icn_right.png);
    display: inline-block;
}

.privacy_cont {
    height: 260px;
    padding: 30px 4%;
    overflow-y: scroll;
    border: 1px solid #C9C8C8;
    font-size: 12px !important;
}



.privacy_cont p{
    font-size: 12px !important;
}


@media screen and (max-width: 768px) {
    .contact_box dl dt {
        padding-left: 75px;
    }
    .required,
    .optioned {
        width: 60px;
    }
}

@media screen and (max-width: 600px) {
    .contact_box dl {
        padding: 10px 0;
    }
    .contact_box dl dt {
        width: 100%;
    }
    .contact_box dl dd {
        width: 100% !important;
        margin-top: 10px;
    }
    input[type="submit"] {
        font-size: 2rem;
        height: 55px;
    }
}



/*プライバシーポリシー*/

.prb {
    font-size: 18px;
}






/*サンクスページ*/


/*文字動かす*/


.anim-box.slidein.is-animated {
    animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
  }

  @keyframes slideIn {
    0% {
      transform: translateX(180px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
    }
    40%,100% {
      opacity: 1;
    }
  }




/*文字動かす*/



.thanks-main {
    background-size: auto auto;
    background-color: rgba(249, 241, 212, 1);
}

.thanks-main_top {
    background:#212B65;
}


.tel-t {
    color: #0c78b7;
}

.cmn_btn a {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 460px;
    text-align: center;
    padding: 15px;
    background: linear-gradient(to bottom, #FEE20E, #FBAC35);
    border: 2px solid #FEE20E;
    border-radius: 15px;
}


.thabox {
    width: 70%;
    margin: 0 auto;
}

.white {
    color: white;
}

.hazimemasita{
    color: #ff0000;
    display: inline;
    font-weight: bold;
}

.tokuten-sen  {
        border-bottom: solid 3px #32A709;
        position: relative;
        font-weight: bold;
        font-size: 20px;
}

.tokuten-sen:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #ffc778;
    bottom: -3px;
    width: 30%;
  }

ol {
    background: #f3fbff;
    border: 2px skyblue dashed;
    padding-left: 2em;
    list-style: disc;
  }

  .kazyou {
    padding: 1em;
  }


.copyright-t {
    font-size: 1.3rem;
    padding: 1em 0;
}
@media screen and (max-width: 768px) {
    .thabox {
        width: 70%;
    }
}


/********************************************************
************************ Footer *************************
********************************************************/

.co {
    padding-top: 1em;
    font-size: 14px;
}


footer {
    color: #fff;
    background: #d32033;
}

.f-gaiyou {
    text-align: center;
    flex: 1;
}
.f-gaiyou1 {
    text-align: center;
    flex: 1;
}

.f-gaiyou p {
    font-size: 14px;
}
.f-gaiyou1 p {
    font-size: 14px;
}

.flex {
    display: flex;
    margin: 0 auto;
    padding-top: 1.5em;
}

.f-gaiyou2 {
    text-align: center;
    margin-top: 0.5em;
}
.f-gaiyou2 p {
    font-size: 14px;
}

.copyright {
    font-size: 1.3rem;
    padding: 0px 0 5px 0;
    margin-top: 0.8em;
}

.t-ft {
    padding: 0em 0 !important;
}

#topBtn {
    z-index: 90;
    position: fixed;
    right: 0;
    bottom: 15em;
    width: 65px;
    height: 65px;
    background: url(../img/pagetop.png) no-repeat center / 100% 100%;
    cursor: pointer;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

#topBtn2 {
    opacity: 80%;
    z-index: 90;
    position: fixed;
    right: 0;
    bottom: 20em;
    width: 65px;
    height: 65px;
    background: url(../img/s-btn.png) no-repeat center / 100% 100%;
    cursor: pointer;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.float_btn {
    position: fixed;
    right: 0;
    top: 150px;
    width: 78px;
    text-align: center;
    z-index: 10;
}

.float_btn-ctn {
    display: block;
    padding: 20px 10px;
    background: linear-gradient(to bottom, #42C8CC, #129498);
    border: 2px solid #3DC2C6;
    border-right: none;
    border-radius: 10px 0 0 10px;
    line-height: 1.3;
}

.float_btn-ctn .pc {
    margin-top: 10px;
}

.float_btn-group {
    margin-top: 10px;
    padding: 0 5px;
    color: #242423;
    background: #FEE20E;
    border: 2px solid #fff;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.float_btn-group a {
    display: block;
    padding: 13px 0;
    font-weight: 700;
    line-height: 1.35;
}


.float_btn-group--tel {
    border-bottom: 2px solid #fff;
}



.float_btn-group--tel img {
    width: 24px;
}

.float_btn-group--line img {
    width: 36px;
}

@media screen and (max-width: 768px) {
    footer {
        padding-bottom: 5.5em;
        }
    .float_btn {
        display: flex;
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
    }
    .float_btn-ctn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 12px 0;
        background: #fee20e;

        border-left: none;
        border-bottom: none;
        border-radius: 0;
        line-height: 0;
    }
    .float_btn-ctn img {
        width: 34px;
    }
    .float_btn-group {
        display: flex;
        width: 67%;
        margin-top: 0;
        padding: 0;
        border: none;
        border-radius: 0;
    }
    .float_btn-group a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50%;

        border-bottom: none;
    }
    .float_btn-group a:last-of-type {
        border-right: none;
    }
    #topBtn {
        width: 50px;
        height: 50px;
        bottom: 90px;
    }

    #topBtn2 {
        width: 50px;
        height: 50px;
        bottom: 150px;
    }
}




/***************** 会社概要 ******************/


.company-info__inner p {
    font-size: 14px;
}

.company-info{
  padding: 3em 0;
  background: linear-gradient(90deg, #f5e4f1 0%, #faf1f8 50%, #ecf0f9 100%);
}

.company-info__inner{
  width: 94%;
  margin: 0 auto;
  padding: 2.2em 0 2.6em;
}

.company-info__title{
  text-align: center;
  font-size: 22px;
  letter-spacing: .08em;
  margin: 0 0 1.2em;
  color: #71493c;
}

.company-info__dl{
  background: #fff;
  border: 1px solid rgba(113,73,60,.18);
  border-radius: 14px;
  overflow: hidden;
}

.company-info__row{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 14px 14px;
  border-top: 1px solid rgba(113,73,60,.10);
}

.company-info__row:first-child{
  border-top: none;
}

.company-info__row dt{
  font-weight: 800;
  color: #71493c;
  font-size: 14px;
  letter-spacing: .04em;
}

.company-info__row dd{
  margin: 0;
  color: rgba(42,31,26,.92);
  font-size: 14px;
  line-height: 1.75;
}

.company-info__row dd a{
  color: #71493c;
  text-decoration: underline;
}

.company-info__office{
  font-weight: 800;
  margin: .4em 0 .15em;
  color: #71493c;
}

.company-info__list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-info__list li{
  position: relative;
  padding-left: 1.2em;
  margin: .25em 0;
}

.company-info__list li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #71493c;
  font-weight: 900;
}

/* スマホは縦積みに */
@media (max-width: 520px){
  .company-info__row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
}






.company {
    background: #EBECF0;
}

.company-cont table {
    width: 100%;
}

.company-cont table tr th,
.company-cont table tr td {
    padding: 30px 5%;
    border: 1px solid #C9C8C8;
    vertical-align: middle;
}

.company-cont table tr th {
    width: 25%;
    padding: 27px 10px;
    background: #b81c23;
    color: #fff;
}

.company-cont table tr td {
    font-weight: 400;
    background: #fff;
}




/***************** 追尾ボタン ******************/

.f-flex {
    display: flex;

}


.fro-haikei{
    background-color: rgba(211, 43, 101, 0.7);
    padding: 5px 0px;
}

.f-1 {
    margin-right: 5px;
}



.floating-banner {
    position: fixed;/* 追従 */
    z-index: 99999;/* 他の要素の下に隠れないように */
    bottom: 0;/* バナーの上下の位置 */
    right: 0;/* バナーの左右の位置 */
  }
  .pc {
    width: 345px;/* バナーの横幅を指定 */
  }
  .floating-banner:hover {
    opacity: .9;/* ホバーで少し透過 */
  }
  .sp {
    display: none;/* PCではスマホ用のバナーは非表示に */
  }
  @media screen and (max-width: 990px) {/* タブレット用のブレイクポイントを指定 */
    .pc {
        display: none;/* タブレットサイズ以下でPC用のバナーを非表示に */
    }

  }
  @media screen and (max-width: 560px) {/* スマホ用のブレイクポイントを指定 */
    .sp {
        display: inline-block;/* 消していたスマホ用のバナーを表示させる */
        width: 100%;/* スマホの画面幅いっぱいにバナーを表示 */
    }
  }


@media screen and (min-width: 768px) {

    .fro-haikei {
        background-color: transparent;
        padding: 5px 0px;

}
    .f-flex {
         flex-wrap: wrap;
         justify-content:flex-end;
    }

    .f-1 {
    margin-bottom: 10px;
    margin-right: 0px;
}
}






/* FAQボタンの見た目 */
.faq-card {
  position: relative;
  background: #fff;
  border-radius: 40px;
  padding: 10px 20px 10px 15px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 3px 0 #000;
  margin-bottom: 14px;
}
.faq-card:hover {
  background: #f9f9f9;
  transform: translateY(1px);
  box-shadow: 0 2px 0 #000;
}

.faq-label {
  color: #4bbdff;   /* Q1の色（青系） */
  font-size: 15px;
  font-weight: bold;
  margin-right: 6px;
}

.faq-title {
  font-size: 16px;
  color: #111;
  font-weight: 600;
}

/* Q1 とタイトルを1行に並べたい場合 */
.faq-card .faq-label,
.faq-card .faq-title {
  display: inline-block;
  vertical-align: middle;
}

/* 右矢印 */
.faq-arrow {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  color: #4bbdff;
  font-size: 15px;
  font-weight: bold;
}

/* モーダル全体 */
#faqModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.7);
  justify-content: center;
  align-items: center;
}

/* モーダル中身 */
#faqModal .modal-content {
  position: relative;
  background: #fff;
  width: 80%;
  max-width: 420px;
  border-radius: 8px;
  padding: 24px 20px 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
}

#faqModal h3 {
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #222;
}

/* 閉じるボタン */
.faq-close {
  position: absolute;
  top: -35px;
  right: 20px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 22px;
  text-align: center;
  background: #fff;
}
.faq-close:hover { background:#eee; }

/* Aの帯 */
.faq-block {
  background:#ff7070;
  font-weight: bold;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 15px;
  color: white;
}

/* 回答文リスト */
.faq-list {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
}
.faq-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}
.faq-list li::before {
  content: "•";
  color: #ff7070;
  position: absolute;
  left: 0;
}






/* 追尾バナー：スマホは必ず画面内に収める */
@media screen and (max-width: 560px){
  .floating-banner{
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
  }

  /* 中身も100%に */
  .floating-banner .w94{
    width: 100%;
    margin: 0;
  }

  /* 2つのボタンを均等割り（はみ出し防止の要） */
  .floating-banner .f-flex{
    width: 100%;
  }
  .floating-banner .f-1,
  .floating-banner .f-2{
    flex: 1 1 0;
    min-width: 0; /* これが無いとiOSで押し出すことがある */
  }

  /* 画像は“枠に合わせて縮む” */
  .floating-banner a,
  .floating-banner img.sp{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}


html{ overflow-x: clip; }   /* hidden より副作用が少ないことが多い */
body{ overflow-x: clip; }
