/* ===============================================
# マイページTOP
=============================================== */

.myPageTop {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-block: 20px 50px;
}

/* ===============================================
# WEB希望調査
=============================================== */

.webSurveyInner {
  margin-inline: auto;
  max-width: 500px;
  padding-inline: 10px;

}

.webSurveyArea {
  border-radius: 10px;
}

.webSurveyArea.is-open {
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}



button.webSurveyTitle {
  color: #FFF;
  text-align: center;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  padding: 15px 12px;
  background: #E48F8D;
  border-radius: 10px;
  position: relative;
  width: 100%;
  transition: opacity 0.3s ease, border-radius 0.2s ease .3s;
  cursor: pointer;
}

.webSurveyTitleIconWrap {
  position: absolute;
  top: calc(50% + 1px);
  right: 14px;
  transform: translateY(-50%);
  line-height: 1;
}

.webSurveyTitleIcon {
  position: relative;
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
  border: 1px solid #FFF;
  border-radius: 100vmax;
  display: inline-block;
}



.webSurveyTitleIcon::before,
.webSurveyTitleIcon::after {
  content: '';
  position: absolute;
  background-color: #FFF;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.webSurveyTitleIcon::before {
  width: 12px;
  height: 1px;
}

.webSurveyTitleIcon::after {
  width: 1px;
  height: 12px;
  transition: rotate 0.3s ease;
}

button.webSurveyTitle.is-open .webSurveyTitleIcon::after {
  rotate: 90deg;

}


@media (any-hover: hover) {
  button.webSurveyTitle:hover {
    opacity: 0.8;
  }
}

button.webSurveyTitle.is-open {
  border-radius: 10px 10px 0 0;
  transition: border-radius 0.1s ease 0s;
}

.webSurveyContentWrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  border-radius: 0 0 10px 10px;
}

.webSurveyContentWrap.is-open {
  max-height: 600px;
}

.webSurveyTitle.is-open::after {
  background: url('/new/_app/_webroot/img/renewal/top/do_not_disturb_on.svg') repeat center center / contain;
  width: 24px;
  height: 24px;
  right: 12px;

}

.webSurveyContent {
  background: url('/new/_app/_webroot/img/renewal/top/webSurvey_bg_sp.webp') repeat center center / cover;
  padding: 12px;
}

.webSurveyContentInner {
  border-radius: 10px;
  border: 2px solid #428CFF;
  background: #FFF;
  padding: 11px 13.5px 20px 13.5px;
}

.webSurveyContentHeader {
  text-align: center;
}

.webSurveyContentHeaderNote {
  color: #F58A8A;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.webSurveyContentHeaderTitle {
  color: #333;
  text-align: center;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-top: 5px;
  position: relative;
  display: inline-block;
}

.webSurveyContentHeaderTitle::after {
  content: '';
  position: absolute;
  top: 30%;
  translate: 0 -50%;
  right: -57px;
  width: 48.364px;
  height: 56px;
  background: url('/new/_app/_webroot/img/renewal/top/webSurvey_serch_icon.png') repeat center center / cover;
}

.webSurveyContentHeaderText {
  color: #333;
  text-align: center;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 8px;
}

.webSurveyInputGroup {
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.25);
  padding: 16px 41.5px 18px 35px;
  margin-top: 11px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.webSurveyInputLabel {
  color: #333;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  display: inline-block;
  position: relative;
  cursor: inherit;
}

.webSurveyInputLabelHelp {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.webSurveyInputLabelHelpText {
    display: none;
    position: absolute;
    bottom: 100%;
    bottom: calc(100% + 14px);
    right: -96px;
    padding: 5px 10px;
    background: rgba(21, 87, 209, 0.75);
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1.4;
    width: max-content;
    font-size: 12px;
      opacity: 0;
      
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.webSurveyInputLabelHelpText.is-active {
  opacity: 1;
  visibility: visible;
  display: block;
}
/* 表示状態 */
.webSurveyInputLabelHelp.is-active .webSurveyInputLabelHelpText {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  display: block;
}
.webSurveyInputLabelHelpText::after {
  content: '';
  top: 100%;
  left: 20px;
  width: 0;
  height: 0;
  margin: auto;
  border-style: solid;
  border-color: rgba(45, 101, 204, 0.927) transparent transparent transparent;
  border-width: 12px 7px 0 7px;
  position: absolute;
}

.webSurveyInputLabelHelpIcon {
  height: 100%;
  width: 100%;
  object-fit: contain;
  aspect-ratio: 1/1;
}

.webSurveyInputWrap {
  position: relative;
  display: inline-block;
}

input[type="password"].webSurveyInput,
input[type="text"].webSurveyInput {
  min-height: 40px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0 10px;
  width: 100%;
  min-height: 45px;
  border: solid 1px #0049d0;
  border-radius: 3px;
  transition: all 0.15s 0s linear;
  padding-right: 1.75em;
  font-size: 16px;
}

input[type="password"].webSurveyInput:focus,
input[type="text"].webSurveyInput:focus {
  box-shadow: 3px 3px 0 0 #99c0ff, 2px 2px 0 0 #fff inset, 4px 4px 0 0 #99c0ff inset;
}


.webSurveyInputWrap::before {
  pointer-events: none;
  position: absolute;
  content: '';
  top: 50%;
  right: 0.5em;
  width: 0.75em;
  height: 0.75em;
  background: url('https://shinronavi.com/new/_app/_webroot/img/page/student/icn_pen.svg') left top / 100% auto no-repeat;
  transform: translate(0, -50%);
}

.webSurveyBtnBox {
  margin-top: 20px;
}



.webSurveyBtn {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  min-height: 50px;
  padding-right: 0.5em;
  width: 260px;
  background: linear-gradient(to top right, #ff3d4d, #ff3d4d 100%);
  border-radius: 50px;
  box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  vertical-align: top;
  transition: all 0.25s 0s linear;
}

.webSurveyBtn:hover {
  opacity: 0.5;
}

.webSurveyBtn:disabled {
  background: #e6e6e6;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.25);
}

.webSurveyBtn::before {
  pointer-events: none;
  position: absolute;
  content: '';
  top: 50%;
  right: 0.5em;
  width: 1em;
  height: 1em;
  background: url('https://shinronavi.com/new/_app/_webroot/img/page/student/icn_arrow.svg') center / auto 100% no-repeat;
  transform: translate(0, -50%);
}

/* ===============================================
# 進路ガイダンススケジュール
=============================================== */

/* まず全体で box-sizing を安定させる */
.scheduleList,
.scheduleItem {
  box-sizing: border-box;
}

/* 5件未満（通常表示）のカード幅：親に合わせて100% */
.scheduleList:not(.is-scroll) .scheduleItem {
  width: 100%;
  max-width: 100%;
}
.scheduleAreaInner {
  margin-inline: auto;
  max-width: 95%;
  padding-inline: 9px;
}

.scheduleTitleIcon {
  width: 24px;
  height: 24px;
}

.scheduleTitleIconImg {
  height: 100%;
  width: 100%;
  object-fit: contain;
  aspect-ratio: 1/1;
}

.scheduleContent {
  margin-top: 15px;
}

.scheduleList {
  display: grid;
  grid-auto-flow: column;                 /* 列方向に増える */
  grid-template-rows: repeat(5, auto);    /* 1列に5行 */
  grid-auto-columns: 100%;                /* 1列(=1ページ)の幅 = コンテナ幅 */
  gap: 12px;                              /* お好み */
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  margin: 0;
  list-style: none;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.scheduleList:active {
  cursor: grabbing;
}

/* 5件以上のときだけ横スクロール */
.scheduleList.is-scroll{
  display: grid !important;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  grid-auto-columns: 100%; /* ★1ページ幅 */
  overflow-x: auto;
}
/* is-scroll時はvw指定を完全に無効化 */
.scheduleList.is-scroll .scheduleItem{
  width: auto;
  max-width: none;
}
.scheduleList::-webkit-scrollbar-thumb {

background-color: linear-gradient(90deg, #3B73CA 0%, #529EBD 100%);
}
.scheduleList::-webkit-scrollbar-track{
  opacity: 1;
}
.scheduleItem {
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 15px;
  cursor: pointer;
    scroll-snap-align: start;
  /* width: calc(103vw - 32px); */
  width: 100%;
}
.scheduleItem:nth-child(5n + 1){
  scroll-snap-align: start;
}
.scheduleList.is-scroll {
  scroll-behavior: smooth; /* 効く環境はこれだけで滑らかに */
}

.scheduleItemLink {
  display: grid;
  grid-template-columns: auto max-content;
  align-items: center;
  transition: opacity 0.3s ease;
}

.scheduleItemInner {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative; 
}

.scheduleDate {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 5px;
  background: #FFF;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.25);
  min-width: 55px;
}

.scheduleMonth {
  display: flex;
  align-items: flex-end;
  color: #FFF;
  text-align: center;
  font-family: "Inder", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 15px;
  border-radius: 5px 5px 0px 0px;
  background: #3B73CA;
  width: 100%;
  padding-block: 3px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scheduleMonthUnit {
  color: #FFF;
  font-family: "Inder", sans-serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
}

.scheduleDay {
  color: #333;
  text-align: center;
  font-family: "Inder", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}

.scheduleDayUnit {
  color: #333;
  font-family: "Inder", sans-serif;
  font-size: 10px;
  font-weight: 400;
}

.scheduleWeekday {
  color: #757575;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  padding-bottom: 2px;
}

.scheduleEventTitle {
  color: #333;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.scheduleEventTitleLarge {
  font-size: 18px;
}

.scheduleTime {
  display: flex;
  align-items: center;
  color: #757575;
  font-family: "Inder", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  margin-top: 5px;
}

.scheduleTimeIcon {
  width: 20px;
  height: 20px;
}

.scheduleTimeIconImg {
  height: 100%;
  width: 100%;
  object-fit: contain;
  aspect-ratio: 1/1;
}

.scheduleArrowIcon {
  font-family: 'Material Symbols Outlined';
  font-variation-settings:
    'FILL'1,
    'wght'500,
    'GRAD'0,
    'opsz'24;
  color: #FF6701;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.schedulePagination {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.schedulePaginationDot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3B73CA;
}
/* アクティブ（現在ページ） */
.schedulePaginationDot.is-active {
width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3B73CA;
    cursor: pointer;
    transition: transform 0.2s 
ease, background-color 0.2s 
ease;
}

/* 非表示 */
.schedulePagination.is-hidden {
  display: none;
}
.scheduletask{
  line-height: 1.4;
}
/* ===============================================
# おすすめコンテンツ
=============================================== */

.recommendAreaInner {
  margin-inline: auto;
  background-color: #D5EAF9;
  padding-block: 30px;
}

.recommendTitle {
  color: #333;
  text-align: center;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.recommendContent {
  margin-top: 10px;
}

.recommendList {
  display: grid;
  grid-template-columns: repeat(5, 150px);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  transition: transform 0.5s ease;
  padding-inline: 10px;
  padding-block: 5px;
}

.recommendList::-webkit-scrollbar {
  display: none;

}

.recommendItem {
  display: contents;
}

.recommendItemLink {
  display: block;
  border-radius: 5px;
  background: #FFF;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 2px 2px 10px 2px;
  transition: opacity 0.3s ease;
}

.recommendItemLink:hover {
  opacity: 0.8;
}

.recommendItemImage {
  height: 60%;
  width: 100%;
  object-fit: contain;
  aspect-ratio: 146.00/103.23;
}

.recommendItemBody {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
  padding-inline: 3px;
}

.recommendItemTitle {
  color: #333;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.recommendItemText {
  color: #757575;
  font-family: 'BIZ UDPゴシック', -apple-system, BlinkMacSystemFont, 'SegoeUI', Roboto, 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
}

.recommendPagination {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.recommendPaginationDot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3B73CA;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.recommendPaginationDot.active {
  background: #2669d5;
  transform: scale(1.2);
}
.scheduleInfo {
    width: fit-content;
}
/* ===============================================
# 学校を探そう
=============================================== */

.schoolSearchAreaInner {
  margin-inline: auto;
  max-width: 500px;
  padding-inline: 5px;
}

/* ===============================================
# キャンペーンバナー
=============================================== */

.campaignBannerArea {
  margin-top: 5px;
}

.campaignBannerAreaInner {
  margin-inline: auto;
  max-width: 500px;
  padding-inline: 10px;
}


.scheduleArrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 97%;
}
/* 横スクロールバー非表示（scheduleList用） */
.scheduleList.is-scroll {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE・旧Edge */
}

.scheduleList.is-scroll::-webkit-scrollbar {
  display: none;                /* Chrome / Safari */
}

.webSurveyInputLabelHelpText {
  display: none;
}

.webSurveyInputLabelHelp.is-open .webSurveyInputLabelHelpText {
  display: block;
}

.titleTime{
  margin-bottom: 10px;
}
footer {
    margin-top: 0!important;
}

@media (min-width: 768px) {

  .myPageTop {
    padding-block: 35px 60px;
  }

  .webSurveyInner {
    max-width: 980px;
  }

  .webSurveyTitle {
    padding: 14px 12px;
  }

  .webSurveyContent {
    background: url('/new/_app/_webroot/img/renewal/top/webSurvey_bg.webp') repeat center center / cover;
    padding: 20px 85px;
  }

  .webSurveyContentInner {
    padding: 18px 96px 14px 96px;
  }

  .webSurveyContentHeader {
    padding-left: 31px;
  }

  .webSurveyContentHeaderTitle::after {
    top: 50%;
  }

  .webSurveyInputGroup {
    padding: 16px 21.11px 23px 24.79px;
    margin-top: 15px;
    gap: 8px;
  }

  .scheduleAreaInner {
    max-width: 980px;
    padding-inline: 10px;
  }

  .scheduleList {
    padding-inline: 30px;
    padding-bottom: 20px;
  }

  /* .schedulePagination {
    display: none;
  } */

  .recommendAreaInner {
    max-width: 960px;
    padding-inline: 10px;
  }

  .recommendContent {
    padding-inline: clamp(5px, 5vw, 85px);
  }

  .recommendList {
    grid-template-columns: repeat(5, minmax(0, 150px));
    justify-content: center;
    padding-inline: 0;
  }

  .recommendPagination {
    display: none;
  }

  .schoolSearchAreaInner {
    max-width: 980px;
    padding-inline: 10px;
  }

  .campaignBannerAreaInner {
    max-width: 980px;
  }

.Spnoneflex{
  display: flex!important;
  width: 100%!important;
}
.scheduleInfo{
  width: 40%;
}
  .scheduleItem {
    /* width: calc(77vw - 32px); */
    max-width: 100%;
  }

  .scheduleList.is-scroll .scheduleItem {
    /* width: 320px; */
  }


  @media (min-width: 2116px) {

      .scheduleItem {
    /* width: calc(51vw - 32px); */
  }

  }
}


