@charset "utf-8";

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

html {
  scroll-padding-top: 80px;
}

body {
  font-size: 1.25rem;
}

/* bootstrap4 -> bootstrap5 font-family */
body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" }

/* bootstrap4 -> bootstrap5 container max-width */

/* .container {
  max-width: 1140px;
} */

.top_nav_bar {
  background-color: rgba(0, 0, 0, 0);
  width: 100%;
  position: absolute;
  z-index: 20;
  height: 70px;
  transition-duration: 0.7s;
}

.top_nav_bar div nav ul {
  overflow: hidden;
  list-style: none;
}

nav ul li {
  display: inline-block;
  padding: 26px 10px 20px 10px;
  font-size: 18px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
}

li a:hover {
  text-decoration: none;
  color: rgb(195, 226, 255);
}

.top_nav_bar.scrolled {
  position: fixed;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  background-color: #fff;
  transition-duration: 0.7s;
}

.scrolled div nav ul li a {
  color: #000;
}

.scrolled div nav ul li a:hover {
  color: rgb(61, 59, 150);
}

/*============
.btn-trigger
=============*/
.btn-trigger {
  display: none;
  position: fixed;
  top: 23px;
  right: 30px;
  width: 40px;
  height: 40px;
  transition: all .5s;
  cursor: pointer;
  z-index: 60;
}
.btn-trigger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
  transition: all .5s;
}
.btn-trigger span:nth-child(1) {
  top: 0px;
}
.btn-trigger span:nth-child(2) {
  top: 18px;
}
.btn-trigger span:nth-child(3) {
  bottom: 0px;
}

#btn01.active span {
  background-color: #000;
}

.scrolled span {
  background-color: #000;
}

#btn01.active span:nth-child(1) {
  -webkit-transform: translateY(18px) rotate(-45deg);
  transform: translateY(18px) rotate(-45deg);
}
#btn01.active span:nth-child(2) {
  opacity: 0;
}
#btn01.active span:nth-child(3) {
  -webkit-transform: translateY(-18px) rotate(45deg);
  transform: translateY(-18px) rotate(45deg);
}

/*============
.btn-trigger end
=============*/

section {
  /* padding: 120px 0; */
  /* padding: 6.0em 0; */
  padding: clamp(60px, 10vw, 120px) 0;
}

footer {
  /* padding: 120px 0 50px; */
  padding: 50px 0 50px;
}

#section_other_top {
  background-color: #0099d2;
  padding: 0;
  text-align: center;
}

.other_top_wrap {
  position: relative;
}

#top_img {
  width: 100%;
  height: auto;
  max-width: 750px;
}

/* .hab_coler_text {
  color: #0099d2;
} */

.hab_hedding_text {
  color: #0099d2;
  font-size: 2rem;
  font-weight: 500;
}

.hab_list {
  list-style: none;
  padding-left: 0;
}

.hab_list li {
  position: relative;
  padding-left: 0.9em; /* インデントを確保 */
}

.hab_list li::before {
  content: "●";
  position: absolute;
  left: 0;
}

/* ------------ サイトトップ画面の動画 ------------ */
/* wrap */

#section_top {
  position: relative;
  padding: 0;
  height: 100vh;
  background-color: #0099d2;
}

/* video */

.video-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}
.video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* overlay */

.overlay::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: rgba(0, 0, 0, 0.2);
  /* background: rgba(255, 255, 255, 0.2); */
}

/* text */

.text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
h1 {
  font-family: Roboto;
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;
  padding: 0 50px;
  text-align: center;
  color: #fff;
}

.first_desc {
  font-size: 1.4em;
}

.first_desc p strong {
  color: #0099D2;
}

.tp_first_desc p:nth-last-of-type(-n+2) {
  display: inline-block;
}

p:has(#ityped) {
  width: auto;
}

section {
  z-index: 1;
}

.backgroundimg_test {
  position: relative;
  z-index: 1;
  height: 60vh;
  background-image: url(../img/0002.jpg);
  background-position: center;
  background-size: auto, 100%;
  background-repeat:no-repeat
}

.backgroundimg_test::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 100%;
  height:100%;
  top: 0;
  left: 0;
  /* background-color: white; */
  /* background:linear-gradient(to left, rgba(255, 255, 255, 1) 10%,rgba(255, 255, 255, 0.9) 50%,rgba(255, 255, 255, 1) 90%); */
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0%,rgba(255, 255, 255, 1) 100%);
  /* opacity: 0.9; */
}

.backgroundimg_test * {
  position: relative;
  z-index: 3;
}

/* ------------------------------------- */

.white-rogo {
  
  width: 60%;
  height: 60%;
  max-width: 490px;
  max-height: 300px;
}

/* ------------ はばたき青_背景色 ------------ */

/* 旧グラデーション */
/* 0% #68d5ff, 50% #0099d2(はばたき色), 100% #0083b3 */
/* 文字色　白 */
/* .secblue {
  background: rgb(104,213,255);
  background: linear-gradient(90deg, rgba(104,213,255,1) 0%, rgba(0,153,210,1) 50%, rgba(0,131,179,1) 100%);
  color: #fff;
} */

/* グラデーション案1 明色そのまま　中間色を明るく　終端職をはばたき色に */
/* 0% #68D5FF, 50% #46C1F0, 100% #0099D2(はばたき色) */
.secblue {
  background: #68D5FF;
  background: linear-gradient(90deg,rgba(104, 213, 255, 1) 0%, rgba(70, 193, 240, 1) 50%, rgba(0, 153, 210, 1) 100%);
  color: #fff;
}

/* 薄い青 */
.sec_white_blue {
  background: #F1F9FC;
}

/* グラデーション案2 明色さらに明るく　中間色明るく　終端職を指示された明るめ中間色に　全体的に明るくなるため文字色を青黒に変更 */
/* 0% #CFF2FF, 50% #77D3F7, 100% #46C1F0(はばたき色) */
/* .secblue {
  background: #cff2ff;
  background: linear-gradient(90deg,rgba(207, 242, 255, 1) 0%, rgba(119, 211, 247, 1) 50%, rgba(70, 193, 240, 1) 100%);
  color: #00307a;
} */

/* ------------ section habataki_blue border ------------ */

section.habtaki_blue_border {
  border-top: 10px solid #0099d2;
  padding-top: 1.0rem;
}

/* ------------ ページトップボタン ------------ */

#page_top_btn {
  position: fixed;
  display: table;
  right: 15px;
  bottom: 15px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  z-index: 10;
}

#page_top_btn a {
  color: #fff;
}

#page_top_btn a img {
  height: 90px;
  width: 90px;
}


#page_top_btn #page_top_btn_text {
  text-decoration: none;
  display:table-cell;
  vertical-align: middle;
  line-height:normal;
}

.btn-success.hab_green_btn {
  background-color: #66BB6A;
  border: 2px solid #66BB6A;
}

.btn.hab_green_btn:hover {
  background-color: #529956;
  border: 2px solid #529956;
}

/* ------------ 引用文 ------------ */

blockquote {
  position: relative;
  padding: 10px 20px;
  box-sizing: border-box;
  font-style: italic;
  color: #4e4e4e;
  background: #f2f9ff;
  /* background: #fff0f0; */
}

blockquote:before{
  display: inline-block;
  position: absolute;
  top: 7px;
  left: 10px;
  content: "\F6B0";
  font-family: bootstrap-icons;
  color: #d2e6ff;
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
}

blockquote:after{
  display: inline-block;
  position: absolute;
  bottom: 5px;
  right: 15px;
  text-align: center;
  content: "\F6B0";
  font-family: bootstrap-icons;
  color: #d2e6ff;
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
  transform:rotate(180deg)
}

blockquote p {
  position: relative;
  padding: 0;
  margin: 10px 0;
  z-index: 3;
  /* line-height: 1.7; */
  /* font-size: 1.25rem; */
}

blockquote cite {
  position: relative;
  z-index: 3;
  display: block;
  text-align: right;
  color: #888888;
  /* font-size: 1.1rem; */
  /* padding-right: 2.5em; */
}

/* section about */

.about_img {
  width: 100%;
  height: auto;
  align-items: flex-end;
}

p.about_card_desc {
  padding-left: 0.9em;
  text-indent: -0.9em;
}

/* ------------ 外部リンク ------------ */
/* .other_link:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  font-size: 1rem;
  content: "\f35d";
  margin: 0 0 0 5px;
} */

/* index-addImg_2025-05-24 test usecase (no use delete) */

.usecase_img {
  max-width:95%;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.5);
}

/* access/contact */

/* .top_g_map iframe {
  width: 100%;
  max-width: 520px;
} */

.access_map_img {
  object-fit: cover;
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 454px;
}

/* 左ライングリーンカード　テスト */
/* .bab_left_green_card {
  border-left: 8px solid #66BB6A;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
} */

/* 方眼紙デザイン　テスト */
/* .bg-note {
    background-image: linear-gradient(rgba(210, 210, 210, 0.4) 1px, transparent 1px), linear-gradient(to right, rgba(210, 210, 210, 0.4) 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: #fff;
    background-color: #F1F9FC;
    background-position: -14px 14px;
} */

/* 記事共通デザイン */

.hab_base_arti_style {
  
  h2 {
    font-size: 1.75rem;
    position: relative;
    background: #dfefff;
    box-shadow: 0px 0px 0px 5px #dfefff;
    border: dashed 2px white;
    padding: 0.2em 0.5em;
    color: #454545;
    /* margin-top: 3rem; */
    margin-bottom: 3rem;
  }

  h2:after {
    position: absolute;
    content: '';
    left: -7px;
    top: -7px;
    border-width: 0 0 15px 15px;
    border-style: solid;
    border-color: #fff #fff #a8d4ff;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  }

  h2:nth-child(n+2) {
    margin-top: 3rem;
  }

  h3 {
    font-size: 1.5rem;
    max-width: fit-content;
    border-bottom: solid 2px #66BB6A;
    margin-top: 3rem;
    margin-bottom: 1rem;
  }

  h3:nth-child(n+2) {
    margin-top: 3rem;
  }

  a {
    color: #0099D2;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
  }

  a:hover {
    color: #66BB6A;
    text-decoration: underline;
  }

  a:active {
    color: #F9A825;
  }
}

.hab_base_aside_style {
  margin-bottom: 30px;
  border-radius: 3px;
  background-color: #f2f9ff;
  top: 80px;
  z-index: 3;

  div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: #0099d2;
    color: #fff;
    font-weight: 600;
  }
  div::before {
    font-family: bootstrap-icons;
    content: "\F478";
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5em;
    font-size: 1.25rem;
    position:  relative;
    top: -0.15em;
  }
  ul {
    max-height: calc(90vh - 70px); /* ナビゲーションバーの高さを考慮 */
    list-style-type: disc;
    margin: 0;
    overflow-y: auto;
  }
  & > ul {
    padding: 1em 1em 1em 1em;
  }
  ul ul {
    margin-top: 5px;
    padding-left: 1.1em;
  }

  li {
    padding: 5px 0;
    font-weight: 600;
    list-style-type: none!important;
  }

  & > ul > li::before {
    font-family: bootstrap-icons;
    content: "\F231";
    position:  relative;
    top: 0.15em;
  }

  & > ul ul > li::before {
    font-family: bootstrap-icons;
    content: "\F234";
    position:  relative;
    top: 0.15em;
  }

  ul ul li {
    font-weight: 500;
    font-size: .9em;
  }

  a {
    color: #333;
    text-decoration: none;
  }

  a:hover {
    color: rgb(61, 59, 150);
  }
}


/* ------------ コピーライト ------------ */

.secblue .cpr {
  color: #e0e0e0;
}

.cpr {
  color: #595959;
}

/* ------------ ITypeCSS ------------ */

.ityped-cursor {
  font-size: 1em;
  opacity: 1;
  -webkit-animation: blink 0.3s infinite;
  -moz-animation: blink 0.3s infinite;
  animation: blink 0.3s infinite;
  animation-direction: alternate;
}



@keyframes blink {
  100% {
      opacity: 0;
  }
}

@-webkit-keyframes blink {
  100% {
      opacity: 0;
  }
}

@-moz-keyframes blink {
  100% {
      opacity: 0;
  }
}

/* ------------ お知らせ ------------ */

/* Twitter埋め込みが読み込まれる前に親要素の高さを明示的に指定 */
.hab_twitter_area {
  height: 500px;
}

/* LINE関係 */
.line_qr {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.line_qr_col {
  display: flex;
  align-items: center;
}

.line_btn{
  width: 60%;
  max-width: 170px;
  height: auto;
}

/* ------------ お問い合わせ_アイコン ------------ */

.icon_link a {
  font-size: 30px;
}

.icon_link a {
  color: #000;
}

.secblue .icon_link a {
  color: #FFF;
}

/* ------------ calender_page ------------ */

.calender_area {
  text-align: center;
}

.calender_img {
  width: 100%;
  height: auto;
  max-width: 795px;
  /* max-width: 794px; */
}

.event_table_img {
  width: 100%;
  height: auto;
  max-width: 576px;
}

/* ------------ access_page ------------ */

.map_col iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
}

.access_img {
  width: 100%;
}

.no_slider {
  box-shadow: 0 0 5px #ccc;
  border: 5px solid #fff;
  margin-bottom: 10px;
  position: relative;
}

.no_slider .img_caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}

.no_slider .img_caption span {
  color: #fff;
  font-family: Arial;
  display: block;
  font-size: .85em;
  padding: 10px;
}

/* support_page test */

.support_h2 {
  max-width: fit-content;
  position: relative;
  background: #dfefff;
  box-shadow: 0px 0px 0px 5px #dfefff;
  border: dashed 2px white;
  padding: 0.2em 0.5em;
  color: #454545;
}

.support_h2:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #a8d4ff;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.sub_h_underline {
  max-width: fit-content;
  border-bottom: solid 2px #66BB6A;
}

/* ------------------------------------- */
/* ----------- hschool_page ------------ */
/* ------------------------------------- */

section.hscl_top_sec {
  padding-top: 0px;      /* top nav bar height */
}


.schl_hedi_col {
  color: #0099d2;
}

/* top_hscl_desc section */

.top_schl_desc {
  text-indent: 1em;
}

/* .point_lage_text {
  font-size: 1.6rem;
} */

/* hscl_card_desc section  */

.schl_point_heading {
  min-height: 3.0em; /* 約2行分の高さ（フォントサイズにより調整） */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4; /* 1.4 × 2 = 約2.8em → 高さ調整に貢献 */
  padding: 0 0.5em; /* 余白が必要な場合 */
}


p.hscl_card_desc {
  padding-left: 0.5em;
  text-indent: -0.5em;
}

p.hscl_card_desc2 {
  padding-left: 1em;
}

/* Q and A secition */

.card-header.hab_q_and_a_header * {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.card-header.hab_q_and_a_header {
  padding-left: 1.0em;
  padding-right: 0;
  text-indent: -1.5em;
}

p.q_and_a_answer {
  padding-left: 2.5em;
  padding-right: 1.25rem;
  text-indent: -1.5em;
}
 
.card-header.hab_q_and_a_header button {
  background-color: transparent;
  color: #000;
  border: none;
  width: 100%;
  text-align: left;
  padding-right: 0;
  font-weight: 500;
}

.card-header.hab_q_and_a_header button:hover {
  text-decoration: none;
  color: rgb(61, 59, 150);
}

button.q_and_a_collapse:before {
  content: 'Ｑ.';
}

p.q_and_a_answer:before {
  content: 'Ａ.';
}

/* コラプスの矢印 */
button.q_and_a_collapse[aria-expanded="false"]:after {
  margin-left: .5em;
  content: '\F282';
  font-family: bootstrap-icons;
  font-weight: bold;
}

button.q_and_a_collapse[aria-expanded="true"]:after {
  margin-left: .5em;
  content: '\F286';
  font-family: bootstrap-icons;
  font-weight: bold;
}

/* hscl contact secition */

/* #section_hscl_contact {
  border-top: 10px solid #0099d2;
  padding-top: 1.0rem;
} */

/* Instagram関係 */
.insta_qr {
  width: 100%;
  max-width: 150px;
  height: auto;
}

/* ------------ fadeup animation ------------ */

.effect-fade {
  opacity : 0;
  transform : translate(0, 45px);
  transition : all 1s;
}
  
.effect-fade.effect-scroll {
  opacity : 1;
  transform : translate(0, 0);
}

.effect-fade-three div:nth-child(1) {
  opacity : 0;
  transform : translate(0, 45px);
}
.effect-fade-three div:nth-child(2) {
  opacity : 0;
  transform : translate(0, 45px);
}
.effect-fade-three div:nth-child(3) {
  opacity : 0;
  transform : translate(0, 45px);
}
  
.effect-fade-three.effect-scroll div:nth-child(1) {
  -webkit-animation: example 1.0s ease 0.33s 1 forwards;
  animation: example 1.0s ease 0.33s 1 forwards;
}

.effect-fade-three.effect-scroll div:nth-child(2) {
  -webkit-animation: example 1.0s ease 0.66s 1 forwards;
  animation: example 1.0s ease 0.66s 1 forwards;
}

.effect-fade-three.effect-scroll div:nth-child(3) {
  -webkit-animation: example 1.0s ease .0.99s 1 forwards;
  animation: example 1.0s ease 0.99s 1 forwards;
}

@-webkit-keyframes example {
  100% {
    opacity: 1;
    transform : translate(0, 0);
  }
}
@keyframes example {
  100% {
    opacity: 1;
    transform : translate(0, 0);
  }
}

/* ------------ bxSlider thumbnail（bxsliderすべてに対するCSS） ------------ */

/* サムネイルをどのくらい下げるか（キャプションの高さ上が0でマイナス値） */
.bx-wrapper .bx-pager {
  bottom: -31%;
}

/* 100 / 7 = 14.28なので（横にいくつ並べるかある程度調整可能） */
.bx-pager .bx-pager-item {
  width: 14.2%;
}

.bx-pager .bx-pager-item a img {
  width: 100%;
}

.bx-wrapper .bx-pager a {
  border: solid #ccc 3px;
  display: block;
}

.bx-wrapper .bx-pager a:hover,
.bx-wrapper .bx-pager a.active {
  border: solid #5280DD 1px;
}

/* 画像から下の幅をどのくらいとるか（サムネイル設置エリアを確保） */
.bx-wrapper {
  margin-bottom: 25%;
} 

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {

  html {
    scroll-padding-top: 1rem;
  }

  .top_nav_bar {
    background-color: #fff;
    width: 100%;
    position: fixed;
    /* height: 420px; */
    height: 90vh;
    max-height: 420px;
    transform: translate(0, -500px);
    transition-duration: 0.7s;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
  }
  
  nav ul li {
    display: block;
    padding: 20px 10px 0px 10px;
    font-size: 18px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #000;
  }
  
  li a:hover {
    text-decoration: none;
    color: rgb(42, 42, 42);
  }
  
  .top_nav_bar .scrolled {
    position: fixed;
    /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25); */
    background-color: #fff;
    transition-duration: 0.7s;
  }

  .btn-trigger {
    display: block;
  }

  .open {
    transform: translate(0, 0px);
    transition-duration: 0.7s;
  }
  
  #page_top_btn a img {
    height: 80px;
    width: 80px;
  }

  .hab_base_aside_style ul {
    overflow: hidden;
    max-height:fit-content;
  }

  .backgroundimg_test::after {
    background:linear-gradient(to left, rgba(255, 255, 255, 0.9) 0%,rgba(255, 255, 255, 0.9) 100%);
  }

  p:has(#ityped) {
    display: block;
    width: 16em;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  
  html {
    scroll-padding-top: 1rem;
  }
  
  #page_top_btn a img {
    height: 70px;
    width: 70px;
  }

  .hab_hedding_text {
    font-size: 1.75rem;
  }

  .hab_base_aside_style ul {
    overflow: hidden;
    max-height:fit-content;
  }

  .schl_point_h4 {
    min-height: auto !important;         /* 高さ固定を解除 */
    display: block !important;           /* flexを解除 */
    align-items: unset !important;
    justify-content: unset !important;
    padding: 0.5em 0 !important;
  }

  .first_desc {
    font-size: 1.1rem;
  }

  
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  
  html {
    scroll-padding-top: 1rem;
  }

  body {
    font-size: 1.0rem;
  }

  .hab_hedding_text {
    font-size: clamp(1.125rem, calc(0.45rem + 3.2vw), 2rem);
  }

  #page_top_btn a img {
    height: 50px;
    width: 50px;
  }

  .hab_base_aside_style ul {
    overflow: hidden;
    max-height:fit-content;
  }


  blockquote {
    padding: 10px 5px;
  }

  blockquote:before{
    top: 7px;
    left: -10px;
  }

  blockquote:after{
    bottom: 5px;
    right: -10px;
  }
  
}
/* Extra large devices (large desktops, 1200px and up) */
/* @media (min-width: 1200px) {
} */
