.text20th{

}

.graduate_number{transform: scaleX(1.7); transform-origin: left bottom;}
.graduate_numberp{margin-left: 120px; position: relative;}
.graduate_number2{transform: scaleX(1.48); transform-origin: left bottom;}
.graduate_numberp2{margin-left: 200px; position: relative;}

.text-20thgoal{
padding:0;height:350px;
}

html {
  scroll-behavior: smooth;
}
/* 2. ボタンの配置とデザイン */
.page-top-btn {
  position: fixed;
  bottom: 30px; /* 下からの距離（ここで縦の場所を調整） */
  right: 100px;  /* 右からの距離（ここで横の場所を調整） */
  width: 60px;
  height: 60px;
  
  /* SVGを中央に配置 */
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* その他 */
  text-decoration: none;
  transition: opacity 0.3s ease; /* ホバー時のアニメーション */
  z-index: 999; /* 他の要素より上に表示させる */
}

/* マウスオーバー時の挙動（少し薄くする） */
.page-top-btn:hover {
  opacity: 0.6;
}



.split-hero {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 100vh;
}

.pane {
  display: flex;
  align-items: center; 
  padding: 60px 40px;
}

/* 左側：テキストエリア */
.pane-left {
  flex: 0 0 61.71875%; 
  background-image: url('images/kosei_bg01.webp');
  background-size: cover;
  background-position: center right;
  justify-content: flex-end; 
}

/* 右側：ロゴエリア */
.pane-right {
  flex: 0 0 38.28125%; 
  background-image: url('images/kosei_bg02.webp');
  background-size: cover;
  background-position: center left;
  justify-content: flex-start; 
}


.content-inner {
  max-width: 500px;
  width: 100%;
}

.left-inner {
  color: #fff;
  padding-right: 30px;
}

.right-inner {
  padding-left: 30px;
  display: flex;
}





.btn-more {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid #fff;
  border-radius: 40px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.btn-more:hover {
  background-color: rgba(255, 255, 255, 0.2);
}


.logo-img {
  max-width: 100%;
  height: auto;
  width: 450px;
}



.w-42-percent {width: 42%;}

@media screen and (max-width: 767px) {
    .text20th{
    text-align:left;
    padding:0 15px;
    }
    .text-intro{text-align:left;}
    .text-goal{font-size:90%;}
    
    .graduate_number{transform: scaleX(1.5); transform-origin: left bottom;}
    .graduate_numberp{margin-left: 70px; position: relative;}
    .graduate_number2{transform: scaleX(1.0); transform-origin: left bottom;}
    .graduate_numberp2{margin-left: 10px; position: relative;font-size:100%;font-weight:bold;}
	
    .text-20thgoal{padding:0;height:140px;}
    
    
      .split-hero {
    flex-direction: column;
  }
  
  .pane-left, .pane-right {
    flex: 1 1 auto; 
    width: 100%;
  }
  
  .pane {
    flex: 1 1 auto;
    min-height: 50vh;
    justify-content: center;
    padding: 50px 20px;
  }
  
  .pane-left {
    background-position: center;
  }
  
  .pane-left .content-inner {
    padding-right: 0;
  }
  
  .pane-right {
    background-position: center;
  }
  
  .pane-right .content-inner {
    padding-left: 0;
    justify-content: center;
  }
  
  .w-42-percent {width: 42%;}
  .w-48-percent {width: 48%;}
  .w-55-percent {width: 55%;}
  .sp_goal{margin-bottom:0;}
  .sp_goal_gap-12{
    gap: calc(var(--spacing) * 0);
    row-gap: calc(0rem);
    column-gap: calc(3rem);
  }
  .page-top-btn {
	  bottom: 30px; /* 下からの距離（ここで縦の場所を調整） */
	  right: 5px;  /* 右からの距離（ここで横の場所を調整） */
	  width: 40px;
	  height: 40px;
	}
  .size3dico1{
  width: calc(var(--spacing) * 40);
  height: calc(var(--spacing) * 40);
  }
  .size3dico3{
  width: calc(var(--spacing) * 25);
  height: calc(var(--spacing) * 25);
  }
  
}


@media screen and (min-width:768px) { .pc-none{ display: none!important; } }
@media screen and (max-width:767px) {	.sp-none{ display: none!important; } }


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-scroll {
  animation: scroll 3s linear infinite;
}

/* --- 無限ループスライダー --- */
.slider-container {
    overflow: hidden;
    padding: 20px;
    border-radius: 20px;
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.slider-item {
    width: 250px;
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
    cursor: pointer;
}

.slider-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.slider-item:hover img {
    transform: scale(1.05);
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- モーダルウィンドウ --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 50px 150px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    position: relative;
    z-index: 1001;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
}


/* カード全体のコンテナ */
.stats-card {
  position: relative; 
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 40px; 
  padding: 50px 60px 40px 50px; 
  max-width: 100%; 
  box-sizing: border-box; 
  overflow: visible; 
}

.medal-icon {
  position: absolute;
  top: -50px;
  right: -10px;
  width: 220px;
  height: auto;
  z-index: 10; 
}

.stat-block {
  margin-bottom: 35px;
}


.stat-number-img {
  display: block;
  max-width: 100%; 
  width: 480px; 
  height: auto;
}

.stat-number-img2 {
  display: block;
  max-width: 100%; 
  width: 680px; 
  height: auto;
}


.stat-notes {
  margin-top: 20px;
}



@media (max-width: 750px) {
	.medal-icon {
	  width: 190px;
	}
}

@media (max-width: 700px) {
	.medal-icon {
	  width: 160px;
	}
}

@media (max-width: 600px) {
  .stats-card {
    padding: 30px 20px;
    border-radius: 20px;
  }
  
  .medal-icon {
    width: 120px; 
  }
  
  
  .stat-block {
    margin-bottom: 25px;
  }
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 50px 100px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    position: relative;
    z-index: 1001;
    animation: modalFadeIn 0.3s;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: flex-start; /* 上揃え */
    margin-bottom: 20px;
}

.modal-photo {
    width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-right: 20px;
}

.modal-title-area {
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a237e;
    margin: 0 0 10px 0;
    white-space: pre-wrap;
}

.modal-uni {
    font-size: 18px;
    color: #1a237e;
    margin: 10px 0 0 0;
}

.modal-description {
    font-size: 16px;
    line-height: 1.6;
    color: #0a0073;
    margin: 0;
    white-space: pre-wrap; 
}


.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* 画面の幅が768px以下（スマホや小さめのタブレット）の時の設定 */
@media (max-width: 768px) {
    
    .modal-header {
        flex-direction: column;
        align-items: center;    }

    .modal-photo {
        margin-right: 0;
        margin-bottom: 20px;
        width: 60%;
        max-width: 300px;
    }

    .modal-title-area {
        align-items: center;
        text-align: center;
    }

    .modal-content {
        width: 90%; 
        padding: 15px;
    }
    
    .modal-title {
        font-size: 20px;
    }
}




.split-hero {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 10vh;
}

.pane {
  display: flex;
  align-items: center; 
  padding: 60px 40px;
}

.pane-left {
  flex: 0 0 61.71875%;
  background-image: url('images/kosei_bg01.webp');
  background-size: cover;
  background-position: center right;
  justify-content: flex-end; 
}

.pane-right {
  flex: 0 0 38.28125%;
  background-image: url('images/kosei_bg02.webp');
  background-size: cover;
  background-position: center left;
  justify-content: flex-start; 
}

.content-inner {
  max-width: 500px;
  width: 100%;
}

.left-inner {
  color: #fff;
  padding-right: 30px;
}

.right-inner {
  padding-left: 30px;
  display: flex;
}


.btn-more {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid #fff;
  border-radius: 40px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.btn-more:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.logo-img {
  max-width: 100%;
  height: auto;
  width: 450px;
}

@media (max-width: 800px) {
  .split-hero {
    flex-direction: column;
  }
  
  .pane-left, .pane-right {
    flex: 1 1 auto; 
    width: 100%;
  }
  
  .pane {
    flex: 1 1 auto;
    min-height: 50vh;
    justify-content: center;
    padding: 50px 20px;
  }
  
  .pane-left {
    background-position: center;
  }
  
  .pane-left .content-inner {
    padding-right: 0;
  }
  
  .pane-right {
    background-position: center;
  }
  
  .pane-right .content-inner {
    padding-left: 0;
    justify-content: center;
  }
  

}