@charset "UTF-8";
/* CSS Document */

@media screen and (max-width: 934px) {/* 935以下の場合 */
	.h_container1 {padding-top:6.25rem;}
}

.h_container1 {
  background-image: url('../images/home/h_bg1.svg'), linear-gradient(to top, #ff9773 0%, #ff9773 12.5%, #ffffff 12.5%, #ffffff 100%);
  background-position: right top, center center;
  background-repeat: no-repeat;
  background-size: auto 65%, cover;
  background-color: #fff;
}

.h_container1_title_t2 {
  background: #ff9773;
  color: #fff;
  text-align: center;
  margin: 20px 0;
}

.slider-wrapper {
  border-radius: 20px;
  overflow: hidden;
  margin-top: 2rem;
}

.h_info { background: #ff9773; color: #fff;}
.h_info_title {font-size:2.5rem; letter-spacing:0.2rem; margin:5px 0;}
.h_info_sub {}

@media only screen and (min-width: 769px) { 
.h_container1 {padding-right: 3rem; padding-left:3rem;}
.h_container1_title { width: 450px; margin-bottom: 100px;}
.h_container1_title_t1 { font-size: 2.52rem; }
.h_container1_title_t2 { font-size: 1rem; padding: 0.6rem; width: 340px;}
.h_container1_title_t3 { font-size: 1rem; line-height: 2rem; }
.h_info {padding: 3rem 3rem;}
.h_box1 { padding: 10rem 0 5rem;}
.h_box1_in { width: 80%; margin-left: auto; margin-right: 0;}
.intro-desc { max-width: 100%; padding-right:1.25rem; padding-bottom:2rem;}
.intro-catch h2 { font-size: 2.5rem;}
.intro-desc-inner{ padding-right:15px;}
}
@media only screen and (max-width: 768px) { 
.h_container1 {padding: 6.25rem 1rem 0 1rem;}
.h_container1_title { width: 270px; margin-bottom: 70px;}
.h_container1_title_t1 { font-size: 1.8rem; line-height:3rem;}
.h_container1_title_t2 { font-size: 0.8rem; padding: 0.4rem; width: 250px;}
.h_container1_title_t3 { font-size: 0.8rem; line-height: 1.8rem; }
.h_info {padding: 3rem 1rem;}
.h_box1 { padding: 3rem 0 2rem;}
.h_box1_in { width: 100%; margin:10px 0;}
.intro-content { padding: 0 1rem; }
.intro-desc { max-width: 100%; padding:2rem 0;}
.intro-catch h2 { font-size: 1.9rem;}
}

.intro-catch { flex: 1; min-width: 300px; padding-right:20px;}
.intro-catch h2 { font-weight: 400; line-height: 1.6; margin: 0; letter-spacing: 0.05em;}

.intro-desc-right { display: flex; justify-content: flex-end; align-items: flex-start;}
.intro-desc-inner { width: 100%; font-size: 0.9rem; line-height: 1.8; color: #333;}
.hero-image-full  { width: 100%; line-height: 0; overflow: hidden; }
.hero-image-full img { width: 100%; height: auto; display: block; }
.h_box1_in-links { margin-top: 2rem; border-top: 1px solid #ccc; }
.h_box1_in-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1rem 1.5rem 1rem;
  border-bottom: 1px solid #ccc;
  transition: background-color 0.3s ease;
  background-color: #fff;
}
.h_box1_in-link-item:hover { background-color: #fafafa; text-decoration: none;}
.h_box1_in-link-item:hover .h_box1_in-link-arrow { transform: translateX(5px); color: #f97316; text-decoration: none;}
.h_box1_in-link-title-group { display: flex; align-items: baseline; gap: 1rem; }
.h_box1_in-link-jp { font-size: 1.1rem; font-weight: 400; color: #111; }
.h_box1_in-link-en { font-size: 0.6rem; color: #666; letter-spacing: 0.05em; text-transform: uppercase; position: relative; top:-1px;}
.h_box1_in-link-more {
  font-size: 0.75rem;
  font-weight: 400;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.h_box1_in-link-arrow {
  transition: transform 0.3s ease;
}



@media only screen and (min-width: 769px) {
  .h_box2  { padding: 0 3rem 0; background-image: linear-gradient(180deg, rgba(255, 255, 255, 1) 10%, rgba(143, 175, 175, 1) 10%);} 
}
@media only screen and (max-width: 768px) {
  .h_box2  { padding: 4rem 1rem 0; margin-top:-43px; background:#8fafaf;}
}
@media (max-width: 576px) {
  .h_box2 .col-6.col-sm-4:nth-child(3) { display: none; }
}

/* h_box2 全体の背景色（上書きされないように important） */


/* カード全体をリンク化 */
.h_box2 .card-link-wrap {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 20px;
}

/* ホバーでカード内側がふわっと色づく */
.h_box2 .card-link-wrap:hover .card {
  background: rgba(255,255,255,0.75);
  transition: background 0.3s ease-in-out;
}

/* カード本体 */
.h_box2 .card {
  border: none;
  border-radius: 20px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* 画像5:6比率 */
.h_box2 .img-wrap {
  position: relative;
  width: 100%;
  padding-top: calc(100% * 6 / 5);
  overflow: hidden;
}

.h_box2 .img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

/* カード本文のレイアウト */
.h_box2 .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

/* タイトル（2行固定、高さ揃える） */
.h_box2 .card-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  min-height: 48px; /* 約2行分の高さ */
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 日付 */
.h_box2 .date {
  font-size: 12px;
  color: #555;
  margin-top: auto;
}

/* VIEW ALL ボタン（左側タイトル部分） */
.h_box2-title .btn-viewall {
  position: relative;
  display: inline-block;
  padding: 10px 50px 10px 40px;
  background: #fff;
  color: #333;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;}

.h_box2-title .btn-viewall::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333; 
  transform: rotate(45deg); 
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -4px; 
  transition: right 0.3s ease;}

.h_box2-title .btn-viewall:hover {
  background: #f0f0f0;
}

.h_box2-title .btn-viewall:hover::after {
  right: 15px;
}

/* タイトル側のデザイン */
.h_box2-title .small-title {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 8px;
}

.h_box2-title .main-title {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 20px;
}





@media only screen and (min-width: 992px) { /* MD・SP用（992からはここを読み込む） */
  .h_box3 {
    background: url('../images/home/sc_marie_bg.svg') no-repeat;
    background-position: right 40px top 40px;
  }
  .h_box3-title { font-size: 2.25rem;}
}
@media only screen and (max-width: 991px) { /* MD・SP用（992からはここを読み込む） */
  .h_box3-title { font-size: 1.9rem;}
}
.h_box3 {
  padding: 80px 0 50px;
  background-color: #f8f8f8;
}
.h_box3-title {
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 1rem;
}
.h_box3-text {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0;
}
.transition-colors {
  transition: background-color 0.3s ease;
}
.btn-school-cta {
  position: relative;
  display: inline-block;
  padding: 15px 60px 15px 40px;
  background-color: #a5afaf;
  color: #fff;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-school-cta::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -4px;
  transition: right 0.3s ease;
}

.btn-school-cta:hover {
  background-color: #8e9999;
  color: #fff;
}

.btn-school-cta:hover::after {
  right: 18px;
}

@media (max-width: 767.98px) {
  .btn-school-cta {
    font-size:90%;
  }
}



/* ------------------------------------
   PC（md以上）｜POINT 01｜POINT 02｜POINT 03｜
------------------------------------ */
.point-wrapper {
  position: relative;
  border-left: 1px solid #000; /* 左線 */
}

.point-box {
  position: relative;
  text-align: center;
  padding: 20px 40px;
  border-right: 1px solid #000; /* 右線 */
}

/* ------------------------------------
   スマホ（md未満）— POINT 01 —
------------------------------------ */
@media (max-width: 767.98px) {
  .point-wrapper { border-left: none; }
  .point-box { border-right: none; border-top: 1px solid #000; padding: 20px 10px; margin-bottom: 5px; }
  .point-box:last-child { border-bottom: 1px solid #000;}
}

/* ------------------------------------
   共通テキスト
------------------------------------ */
.point-box h3 {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 20px;
}

.point-box p {
  font-size: 15px;
  line-height: 1.7;
}


.h_box4 a {color:#fff;text-decoration:none;}
.h_box4-bk,.h_box4-gr{transition:.3s ease-in-out;}
.h_box4-bk:hover,.h_box4-gr:hover{filter:brightness(50%);}
.h_box4-bk {background-color:#1d2124;}
.h_box4-gr {background-color:#99cc00;transition:.3s ease-in-out;}
.h_box4-gr:hover{filter:brightness(90%);}

@media only screen and (min-width: 769px) {/* MD・SP用（992からはここを読み込む） */
  .h_box4   {min-height:350px; margin:0; padding:0;}
}
@media only screen and (max-width: 768px) {/* PC用（991までの幅の場合に適応される） */
  .h_box4   { margin:0; padding:0;}
}