@charset "utf-8";

/* ==============================================
   スマートフォン向け最適化（画面幅897px以下で発動）
============================================== */
@media screen and (max-width: 897px) {
  
  /* PC用改行のスマホ表示化 */
  .pc_none { display: inline-block !important; }
  br.pc_none { display: inline !important; }

  /* 共通・ベース幅のリセット */
	.sp_none{display: none!important;}
	.pageTitle{margin-bottom:0!important;}
  .section,
  .mv_inner,
  /*.mv_target_panel,*/
  .routing_inner,
  .schedule_details_wrap,
  .cv_banner_inner,
  .benefits-section .inner,
  .flow_inner,
  .search_form_inner,
  .chushaku_section,
  .final_cv_wrap,
  #breadCrumb,
  dl#summary {
    width: 100% !important;
    padding-left: 4% !important;
    padding-right: 4% !important;
    box-sizing: border-box;
  }

  /* パンくずリスト */
  #breadCrumb {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* メインビジュアル (MV) */
  .mv_inner {
    background-size: 100px auto;
    background-position: right 5% top 10px;
    padding: 20px 4% 0;
  }
  .mv_copy {
    width: 100%;
    float: none;
    text-align: left;
    margin-bottom: 20px;
  }
  /* ★文字サイズを全体的に大きく調整 */
  .mv_copy .mv_sub { font-size: 16px; }
  .mv_copy .mv_sub span { font-size: 22px; }
  .mv_title { font-size: 44px; }
  .mv_title .plus { font-size: 28px; margin: 0 2px; }
  .mv_title .line2 { font-size: 36px; margin-left: 0; }
  
  .mv_start_banner {
    width: 100%;
    border-radius: 30px;
    padding: 10px;
    box-sizing: border-box;
  }
  .mv_start_banner p { font-size: 20px; }

  /* =======================================
     ターゲット層パネル（スマホ専用の上下分割レイアウト）
  ======================================= */
  .mv_target_panel {
    width: 100%;
    padding: 0 !important; /* ★余白を完全に消去 */
    display: flex;
    flex-direction: column;
    /* 背景をオレンジから水色への縦グラデーションに変更 */
    background: linear-gradient(to bottom, #fdf0e6 0%, #e3f4fb 100%);
    border-radius: 12px;
    overflow: hidden; /* ★ここで両端の帯を角丸に沿ってカットします */
    margin-bottom: 30px;
  }
  
  /* PC用の横並びの箱を一旦透明化して、自由な順序で並べ直す */
  .panel_labels, .panel_circles, .panel_bottom {
    display: contents; 
  }
  
  /* 1. 春入居バナー */
  .btn_banner.bg_orange { order: 1; border-radius: 0; }
  
  /* 2. 春入居タイトル */
  .panel_labels .label_left { 
    order: 2; 
    background: transparent; /* ★背景色を消去 */
    padding: 30px 0 10px; 
    font-size: 20px; 
  }
  
  /* 3. 春入居の丸アイコン群 */
  .circle_wrap_orange {
    order: 3;
    display: flex !important; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px 20px; /* ★余白を自然な状態に戻す */
    margin: 0;            /* ★無理なはみ出し（ネガティブマージン）を解除 */
    background: transparent; /* ★背景色を消去 */
  }
  
  /* 4. 合格前予約タイトル */
  .panel_labels .label_right { 
    order: 4; 
    background: transparent; /* ★背景色を消去 */
    padding: 10px 0 10px;    /* ★余白を自然な状態に戻す */
    font-size: 20px; 
  }
  
  /* 5. 合格前予約の丸アイコン群 */
  .circle_wrap_blue {
    order: 5;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px 40px;
    margin: 0;
    background: transparent; /* ★背景色を消去 */
  }
  
  /* 6. 合格前予約バナー */
  .btn_banner.bg_blue { order: 6; border-radius: 0; }

  /* バナーと丸アイコンの共通設定 */
  .btn_banner { font-size: 24px; padding: 15px 0; } /* ★文字サイズUP */
  
  .panel_circles li {
    width: 28%; 
    min-width: 100px;
    height: auto;
    aspect-ratio: 1; /* 正円を維持 */
    font-size: 13px; /* ★文字サイズUP */
    border-radius: 50%;
    padding: 5px;
    box-sizing: border-box;
  }
  .c_center { font-size: 11px !important; line-height: 1.4em !important; }

  /* MVの概要テキスト */
  .mv_desc { flex-direction: column; gap: 15px; margin: 0; }
  .mv_desc p { padding: 15px; font-size: 14px; border-radius: 8px; } /* ★文字サイズUP */
  .mv_desc p::before, .mv_desc p::after { display: none; }
  .mv_desc .yoyaku01 { border: 2px solid #F2763A; }
  .mv_desc .yoyaku02 { border: 2px solid #145C84; }

/* ==============================================
   スマートフォン向けCSS（sp.css内 @mediaブロック後半）
============================================== */
  /* 吹き出しエリア */
  dl#summary dt { 
    float: none; 
    width: 90px;
    margin: 0 0 -2px 20%; 
    padding-top: 0; 
    position: relative;
    z-index: 2; 
  }
  dl#summary dt img { width: 100%; display: block; }
  dl#summary dd { float: none; width: 100%; padding: 0; position: relative; z-index: 1; }
  dl#summary dd p { width: 100%; padding: 20px; font-size: 100%; border-radius: 15px; box-sizing: border-box; }
  dl#summary dd p::before {
    top: -18px; 
    left: 55%;  
    transform: none; 
    border-width: 0 25px 18px 5px;
    border-color: transparent transparent #f5773a transparent;
  }

  /* セクションタイトル共通 */
  .tit_common .en { font-size: 36px; padding-bottom: 10px; margin-bottom: 10px; }
  .tit_common .ja { font-size: 18px; }

  /* 目的別ナビ */
  .routing_inner { flex-direction: column; gap: 20px; }
  .routing_card { width: 100%; padding: 20px 15px; box-sizing: border-box; }

  /* スケジュール表 */
  #wrap_schedule { padding: 2em 0; }
  .schedule { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
  .img_slide_of1 { width: 700px; }
  .img_slide_of1 img { width: 100%; height: auto; }
  .schedule .swipe { display: block !important; text-align: right; font-size: 12px; margin-bottom: 5px; color: #666; animation: swipeAnim 1.5s infinite; }
  .schedule .swipe::before { content: '← スワイプで全体を確認できます'; }

  .schedule_details_list .item { flex-direction: column; min-height: auto; }
  .schedule_details_list .num_box { width: 100%; height: auto; font-size: 32px; padding: 10px 0; }
  .schedule_details_list .detail_content { padding: 15px; font-size: 15px; }
	/* スケジュール表：対象マンションマークのスマホレイアウト調整 */
  .schedule_details_list .icon_guide {
    display: block; /* 横並び（flex）を解除して縦積みに変更 */
    margin-top: 10px;
  }
  .schedule_details_list .icon_guide_txt {
    display: block;
    margin-bottom: 5px; /* テキストと画像の間を少し空ける */
  }
  .schedule_details_list .icon_guide_imgs {
    display: flex;
    flex-wrap: wrap; /* 画像が画面幅を超えそうな場合は自動で折り返す */
    gap: 5px; /* 画像同士の隙間 */
  }
  /* スマホでは矢印（→）を消すか、下向き（↓）にするなどの処理も可能ですが、
     今回はテキストの下に画像が来るので、自然に見えるよう右矢印（→）のまま表示するか、
     あるいはCSSで非表示にするのがスッキリします。 */
  .schedule_details_list .icon_guide_txt {
    /* 矢印を消したい場合は以下の行のコメントアウトを外してください */
    /* font-size: 0; */ 
  }
  .schedule_details_list .icon_guide_txt::after {
    /* 矢印を消す代わりに、下向き矢印を追加するなど */
    /* content: "対象の学生マンションの目印はこちら ↓"; font-size: 14px; */
  }

  /* コンバージョンボタン（2層構造リニューアル対応） */
  .btn_cv_main, .btn_final_cv { width: 100%; }
  .btn_cv_top { font-size: 16px; padding: 15px 10px; }
  .btn_cv_top::after { right: 15px; width: 10px; height: 10px; }
  .btn_cv_bottom { font-size: 15px; padding: 12px 10px; }
  .cv_present_note { font-size: 13px; margin-top: 12px; }

  /* 最終コンバージョン */
  .fc_agree_text { font-size: 14px !important; line-height: 1.6; }
  .final_cv_box { padding: 15px 10px; margin-bottom: 25px; }
  .final_cv_box::after { bottom: -12px; border-top-width: 12px; border-left-width: 12px; border-right-width: 12px; }
  .final_cv_box::before { display: none; }

  /* メリット一覧 */
  .merit_col_1col { flex-direction: column; padding: 20px 15px; }
  .merit_head_1col { width: 100%; border-right: none; border-bottom: 2px dotted #ccc; padding-right: 0; margin-right: 0; padding-bottom: 20px; margin-bottom: 20px; }
  .merit_col_primary .merit_head_1col { border-bottom-color: #F2763A; width: 100%; }
  .m_icon { height: 90px; }
  .m_icon_large { height: 140px; }
  .m_title { font-size: 22px; }
  .m_title_large { font-size: 26px; }
  .merit_list_1col h4 { font-size: 18px; }
  .merit_list_primary h4 { font-size: 20px; }
  .merit_list_1col p { font-size: 14px; }
  .merit_list_primary p { font-size: 16px; }

  /* FLOW（お部屋探しの流れ） */
  .f_step_head { padding: 15px; align-items: flex-start; }
  .step_lbl { display: inline-block; text-align: center; font-size: 14px; line-height: 1.2; padding: 8px 12px; border-radius: 10px; margin-right: 15px; flex-shrink: 0; }
  .f_step_head h3 { font-size: 18px; margin-top: 5px; line-height: 1.4; }
  .f_step_body { padding: 15px; }
  .f_cards_2cols { flex-direction: column; gap: 20px; }
  .f_card { width: 100%; }
  .f_card img { width: 80%; }
  .f_card_wide { flex-direction: column; padding: 20px; gap: 15px; }
  .f_card_wide img { width: 100%; max-width: 300px; margin: 0 auto; order: -1; }
  .fw_content .btn--orange { width: 100%; max-width: none; padding: 14px; font-size: 16px; }

  /* 検索フォーム */
  .search_form_wrap { padding: 30px 0; }
  .search_title { font-size: 20px; }
  .search_input_dummy, .search_btn_dummy { width: 100%; box-sizing: border-box; font-size: 18px; }
	.comSideSearch p{font-size:140%!important;}
	.comSideSearch input[type="text"]{width:100%!important;}

  /* 注意事項 */
  .chushaku_section { padding: 20px; margin: 30px auto; border: none; background: transparent; }
  .chushaku_main_title { font-size: 20px; margin-bottom: 20px; }
  .chu_sub_title { font-size: 18px; }
  .chu_list > li { font-size: 14px; }
  .chu_marks { flex-direction: column; align-items: flex-start; }

  /* ★関連サービスバナーのスマホ用リセット（2カラム複数行） */
  #other_service div { width: 100% !important; padding: 0 4% !important; box-sizing: border-box; }
  #other_service h6 { font-size: 18px !important; margin-bottom: 15px !important; }
  #other_service a { width: 48% !important; margin: 0 0 4% 0 !important; }

  /* リンクチップ */
  .linkChip > a { 
    font-size: 120%; 
    padding: 14px 30px 14px 10px; /* ★右側にアイコンが被らないよう余白を確保 */
  }
  .linkChip > a::after {
    right: 10px !important; /* スマホではアイコンを少し端に寄せる */
  }

  /* 「先頭にもどる」ボタンをリンクチップの上に逃がす＋被り軽減 */
  .pageTop02 {
    bottom: 55px !important; /* ご指定の数値 */
    z-index: 90 !important;
  }
} /* @media max-width: 897px 終了 */

/* ==============================================
     特徴スライダー（スマホ用のレイアウトと矢印調整）
============================================== */
  .custom_slider_wrapper::before, 
  .custom_slider_wrapper::after { display: none; }
  .feature-item { width: 280px; height: auto; min-height: 340px; padding: 20px 10px; }
  .f-tag { font-size: 15px; padding: 6px 16px; margin-bottom: 12px; }
  .f-text { font-size: 14px; height: auto; margin-bottom: 15px; }
  .custom_slider_track { padding-left: calc(50vw - 140px); gap: 15px; }
  .custom_slider_prev, .custom_slider_next { width: 36px; height: 36px; border-width: 2px; }
  .custom_slider_prev { left: 5px; }
  .custom_slider_next { right: 5px; }
  .custom_slider_prev::after, .custom_slider_next::after { width: 8px; height: 8px; border-top: 2px solid #fff; }
  .custom_slider_prev::after { border-left: 2px solid #fff; }
  .custom_slider_next::after { border-right: 2px solid #fff; }

/* スワイプアニメーション用 */
@keyframes swipeAnim {
  0% { transform: translateX(0); }
  50% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}