@charset "utf-8";
/*

Theme Name: the thunder gym

Description: the thunder gym様用のテンプレートです

Version: 1.0

Author: A.iida

*/

html{
    font-size: 16px;
}

html, body {
  overflow-x: hidden;
}


/* ====font======= */

.noto-sans-jp-thin {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.noto-sans-jp-light {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.noto-sans-jp-regular {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.noto-sans-jp-medium {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.noto-sans-jp-bold {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.noto-sans-jp-black {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}


.trispace-thin {
  font-family: "Trispace", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.trispace-bold {
  font-family: "Trispace", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.patua-one-regular {
  font-family: "Patua One", serif;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: #E7EBEF;
  color: #021D45;
  font-family: "Noto Sans JP", sans-serif;
}


main {
  margin: 0 auto;

}

img{
  max-width: 100%;
  height: auto;
}

.sp_br {
  display: none;
}



h2{
  font-size: 4.6rem;
  font-family: "Patua One", serif;
  color: #FFDD55;
   -webkit-text-stroke: 1px #021D45;
  text-shadow: 4px 6px 0px #021D45;
  text-align: center;

}


.h2_2{
  font-size: 4.6rem;
  font-family: "Patua One", serif;
  color: #FFDD55;
   -webkit-text-stroke: 1px #021D45;
  text-shadow: 4px 6px 0px #fff;
  text-align: center;

}

.h2_2_2 {
  font-size: 4.6rem;
  font-family: "Patua One", serif;
  color: #FFDD55;
   -webkit-text-stroke: 1px #021D45;
  text-shadow: 4px 6px 0px #fff;
  text-align: center;

}



h3 {
  font-size: 1.25rem;
  text-align: center;
  
}

.news-underline {
  position: relative;
  height: 10px;
  width: 400px;
  margin: 0 auto 8px;
}

.line-top {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background-color: #0a2b5a;
}

.line-top_2 {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background-color: #fff;
}

.line-bottom {
  position: absolute;
  top: 6px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #ffdd55;
}




@media screen and (max-width:768px){

  .sp_br {
    display: block;
  }
  
  h2 { 
    font-size: 3rem;  
    -webkit-text-stroke: 1px #021D45;
    text-shadow: 2px 3px 0px #021D45;
  }

  .h2_2{
  font-size: 3rem;
   -webkit-text-stroke: 1px #021D45;
  text-shadow: 2px 3px 0px #fff;
  text-align: center;
}

 .h2_2_2{
  font-size: 4rem;
   -webkit-text-stroke: 1px #021D45;
  text-shadow: 2px 3px 0px #fff;
  text-align: center;
}

  h3 {
    font-size: 1rem;        
  }

  .news-underline {
  height: 10px;
  width: 300px;
  }

  .line-top {
  height: 3px;
}

.line-top_2 {
  height: 3px;
}

.line-bottom {
  height: 1px;
}

  .sp_icon {
    width: 50px;
    height: 50px;
  }

}






/* ===========header================ */

.top_sns_icon{ 
  display: flex;
  flex-direction: column;
  text-align: center;
  background: #fff;
  padding: 20px 5px;
  border-radius: 6px 6px 0 0;
  gap: 5px;
  z-index: 1;
}

.top_sns_icon img {
  width: 50px;
}


@media screen and (max-width:768px){
  
  .top_logo_img{
    width: 250px;
  }

  .top_logo{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 5px;
  }
}






/* =========nav ========*/

.sp-nav {
  display: none;
} 


nav{
   background: #021D45;
   color: #fff;
   text-align: center;
   display: flex;
   gap: 30px;
   padding: 15px 40px;
   justify-content: center;
   align-items: center;
 }

nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
 }

nav ul ul {
  display: block;
 }

nav ul li {
  position: relative;
 }

nav ul li a {
  display: block;
  text-decoration: none;
  padding: 15px 25px;
  transition: all .3s;
  font-size: 1.3rem;
  line-height: 0.9;
  font-family: "Oswald", sans-serif;
  
 } 

nav ul li a span {
  font-size: 0.7rem;
  font-family: "IBM Plex Sans JP", sans-serif;
 }

nav ul li li a {
  padding: 10px 35px;
 }

nav ul li a:hover{
  color: #FFDD55;
 }



#header.fixed{
	position: fixed;
  z-index: 999;
  top:0;
  left:0;
  width: 100%;
  opacity: 90%;
  margin-top: initial;
}

.top_logo {
  max-width: initial;
  width: 120px;
}


.trybtn_top {
  width: auto;
  min-width: 160px;
  background-color: #fff;
  color: #021D45;
  padding: 12px 20px;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.4;
}

.trybtn_top span {
  display: block;
  font-size: 0.9rem;
  margin-top: 4px;
}




.trybtn_top:hover {
  background-color: #FFDD55;
}

.sp_toplogo {
  display: none;
}

@media screen and (max-width:1024px){

  .sp_toplogo{

    display: block;
  }
  #header {
    display: none;
  }

  #header.fixed {
    display: none;
  }

  .pc-nav {
    display: none; 
  }

  .sp-nav {
    display: block; 
  }
  .top_sns_icon{
    display: none;
  }

  nav {
  margin-top: 0;
  }

  #g-nav{
    position:fixed;
    z-index: 999;      
    top:0;
    width:100%;
    height: 100vh;
    background:#021D45;
    transition: all 0.6s;
    transform: translateX(100%);
  }

  #g-nav.panelactive{
    right: 0;
    margin-top: 0;
    transform: translateX(0);
    padding: 30px;
  }

  #g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 90vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*ナビゲーション*/
  #g-nav ul {
    display: block;
    margin-left: 30px;
    margin-top: 30px;
  }

  /*リストのレイアウト設定*/

  #g-nav-list li{
    list-style: none;
    text-align: left;
  }

  #g-nav-list li a{
    color: #fff;
    text-decoration: none;
    padding:10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    line-height: 0.8;
  }

  .g-nav_jp {
    font-size: 0.7rem;
    margin-top: 5px;
  }


.nav_footer {
  margin: 5px 30px;
}

  .nav_try {
    width: 260px;
    height: 65px;
    background-color: #fff;
    color: #021D45;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px;
    margin-top: 10px;
    line-height: 0.8;
  }

  .nav_try span {
    font-size: 0.8rem;
    font-weight: 400;
  
  }

  .sp_nav_sns{
    margin-top: 15px;
    width: 260px;
  }

  .sp_nav_sns_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    font-size: 0.87rem;
    margin-bottom: 5px;
  }

  .sp_nav_sns_itemp::after {
    content: '';
    position: absolute;
    top: 53%;
    right: 6em;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
  }


  .sp_nav_sns_item img {
    width: 45px;
    height: 45px;
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn{
    position:fixed;
    z-index: 9999;
    top:10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height:50px;
    background-color: #021D45;
  }
    

  .openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top:15px;	
  }

  .openbtn span:nth-of-type(2) {
    top:23px;
  }

  .openbtn span:nth-of-type(3) {
  top:31px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  .sp_toplogo {
    
    position:fixed;
    z-index: 9999;
    top:10px;
    left: 10px;
    cursor: pointer;
    width: 50px;
    height:50px;  
  }
    
  .sp_toplogo img {
    max-width: initial;
    width: 80px;
  }

}



/* ======MV============ */

/* MVスライダー */
#slider {
  width: 100%;
  height: 100vh;
  height: 700px;
}

.mv {
  position: relative;
}

.mv_copy {
  position: absolute;
  top: 245px;
}

.mv_copy span{
  color: #fff;
  font-size: 2.5rem;
  font-weight: 400;
  font-family: "Trispace", sans-serif;
  line-height: 1;
  background-color: #021D45;
  opacity: 68%;
  height: auto;
  padding: 20px 40px 20px 50px;
  display: block;
  text-align: center;
  width: 100vw;
}


.mv_copy span:nth-of-type(2) {
  font-size: 1.5rem;
}

@media screen and (max-width:1024px){

  #slider {

    height: 655px;
  }

  .mv_copy{
    top: 300px;
    font-size: 1rem;
  }

  .mv_copy span {
    font-size: 1.25rem;
    padding: 10px 20px 10px 25px;

  }

  .mv_copy span:nth-of-type(2){
    font-size: 1rem;
  }

}




/*=========== about =============*/

.top_about {
  margin-top: 50px;
}

.about_content {
  max-width: 1200px; 
  width: 83%;
  background-color: #fff;
  display: flex;
  gap: 30px;
  padding: 25px;
  justify-content: center;
  margin: 0 auto;
  align-items: center;
}

.about_content img {
  width: 50%;
  height: fit-content;
}

.about_titlebox {
  display: flex;
  align-items: flex-end;
}

.news-underline_about{
  position: relative;
  height: 10px;
  width: 300px;
  margin: 0 0 20px 35px;

}

.top_about-title {
  width: 50%;
}

.top_about-txt {
  margin-top: 10px;
  color: #082550;
}

.top_about-txt p{
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.top_about-txt ul {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 40px;
}


.top_about-txt li {
  position: relative;
  padding-left: 1.2em; 
  margin-bottom: 0.5em;
}

.top_about-txt li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: #021D45; 
  font-size: 0.8em; 

}


/*ふわっと表示*/
.top_about-title.offs.effect {
  opacity: 0;
  transform: translate(0, 100px);
  -webkit-transform: translate(0, 100px);
}
.top_about-title.ons.effect {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-transition: all 1s ease;
  transition: all 2s ease；;
}


/*ふわっと表示*/
.top_about-txt.offs.effect {
  opacity: 0;
  transform: translate(0, 100px);
  -webkit-transform: translate(0, 100px);
}
.top_about-txt.ons.effect {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-transition: all 1s ease;
  transition: all 2s ease；;
}




@media screen and (max-width:1024px){

 
  .about_content {
    flex-wrap: wrap-reverse;
    padding: 20px;
  }

  .about_content img {
    width: 100%;
    height: auto;
  }

  .top_about-title {
    width: 100%;
    margin-top: 30px;
  }

  .top_about-txt {
    width: 100%;
  }

  .top_about-txt p {
    font-size: 0.87rem;
    line-height: 1.8;
    margin-bottom: initial;
  }

  .top_about-txt ul {
    font-size: 1.1rem;
    line-height: 1.6;
    padding-left: 0;
  }

  .top_about-txt li {
    font-size: 1rem;
  }
}


@media screen and (max-width:768px) {

  .news-underline_about {
    margin: 0 0 10px 25px;
  }
}
  



/*=========== news =============*/

.news {
  padding: 2em 1em;
}

.news ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 960px;
  margin-top: 50px
}

.news li {
  background: #fff;
  margin-bottom: 1.5em; 
  border-radius: 6px;  
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
}

.news a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #021D45;
  padding: 1em;
  gap: 1em;
  flex-wrap: wrap;
}

.news-date {
  background: #021D45;
  color: #fff;
  padding: 0.3em 0.8em;
  font-size: 0.9em;
  flex-shrink: 0;
}

.news-text {
  font-weight: bold;
  font-size: 1em;
  flex-grow: 1;
  min-width: 50%;
}

.news-label {
  background-color: crimson;
  color: #fff;
  font-size: 0.75em;
  padding: 0.2em 0.5em;
  border-radius: 0.3em;
  white-space: nowrap;
}

.news-arrow {
  font-size: 1.2em;
  flex-shrink: 0;
}


.button016 a {
    background: #FFDD55;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 220px;
    padding: 10px 25px;
    color: #021D45;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    transform: skew(-10deg, 0deg);
}
.button016 a span {
    transform: skewX(10deg);
}
.button016 a:before {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    right: -1em;
    transform: translateY(calc(-50% - 1px)) rotate(30deg);
    width: 12px;
    height: 2px;
    background-color: #021D45;
    transition: 0.3s;
}
.button016 a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1em;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: #021D45;
    transition: 0.3s;
}
.button016 a:hover:before, .button016 a:hover:after {
    right: -1.2em;
}
.button016 a:hover {
    background: #fff;
    color: #FFDD55;
}


@media (max-width: 600px) {
  .news a {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-text {
    width: 100%;
  }

  .news-arrow {
    align-self: flex-end;
  }
}





/*=============kickboxing=========  */


.kickboxing {
  background-color: #021D45; 
  color: #fff;
  text-align: center;
  padding: 4em 1em;
  margin-top: 50px;
}

.kickboxing-inner {
  max-width: 960px;
  margin: 0 auto;
}

.kickboxing-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5em;
  letter-spacing: 0.05em;
}

.kickboxing-text {
  font-size: 1.25rem;
  line-height: 1.8;
}

  
@media screen and (max-width:768px) {

  .kickboxing-subtitle {
    font-size: 1.25rem;
  }

  .kickboxing-text {
    font-size: 1rem;
    
    margin: 20px auto;
  }
  
}
  




/*  =================features===========*/


.features {
  text-align: center;
  padding: 3em 1em;
  margin-top: 50px;
}

.features-intro {
  font-size: 1rem;
  margin-bottom: 2em;
  margin-top: 40px;
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 5em;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  background: #fff;
  padding: 2em 1.5em;
  width: 280px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-title_box {
  display: flex;
  align-items: end;
  width: 265px;
}

.feature-number {
  font-size: 4.8rem;
  color: #021D45;
  margin-bottom: -9px;
  margin-right: 10px;
}

.feature-title span {
  display: inline-block;
  background: #021D45;
  color: #fff;
  padding: 0.3em 2em;
  font-size: 1.25rem;
  width: 235px;
  text-align: left;
}

.feature-title2 span {
  display: inline-block;
  background: #021D45;
  color: #fff;
  padding: 0.3em 1em;
  font-size: 1.25rem;
  width: 235px;
}

.feature-text {
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 1em 0;
}

.feature-link {
  font-size: 0.85rem;
  color: #021D45;
  text-decoration: none;
  border-bottom: 1px solid #021D45;
  padding-right: 1em;
  position: relative;
}

.feature-link::after {
  content: "＞";
  position: absolute;
  right: 0;
  top: 0;
}


/* アニメーション設定 */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item {
  background: #fff;
  padding: 1em 1em 2.5em;
  width: 280px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item.show {
  opacity: 1;
  transform: translateY(0);
}

.features-list .feature-item:nth-child(1) {
  transition-delay: 0s;
}
.features-list .feature-item:nth-child(2) {
  transition-delay: 0.2s;
}
.features-list .feature-item:nth-child(3) {
  transition-delay: 0.4s;
}

@media (max-width: 768px) {
  .features-list{
    gap: 2em;
  }

  .feature-item {
    padding: 0.5em 1em 2.5em;
  }
}



/*==================================================
スライダーのためのcss
===================================*/


.slider {
  margin-top: 40px;
}

.slider img {
  width:100%;
  height: 100%;
}

.slider .slick-slide {
  margin:0 10px;
}



/* ==========blog========= */

.blog {
  margin-top: 50px;
}

.blogtitle_box {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bigtitle {
  text-align: left;
}

.bigtitle h2{
  font-size: 8rem;
}

.bigtitle h3{
  text-align: left;
}

.news-underline_blog {
  position: relative;
  height: 10px;
  width: 700px;
  margin: 0 0 45px 35px;
}

.blog-cards {
  background: #e9eef3;
  padding: 3em 1em;
  text-align: center;
}

.blog-cards-inner {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 2em auto 2em;
}

.blog-card {
  background: #fff;
  width: 300px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
  text-align: left;
}



.blog-card img {
  width: 100%;
  display: block;
}

.blog-card-content {
  padding: 1em;
}

.blog-date {
  font-size: 0.85rem;
  color: #021D45;
  margin-bottom: 0.5em;
}

.blog-title {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-stroke: 0;
  text-shadow: none;
  color: #021D45;
  font-family: "Noto Sans JP", sans-serif;
  text-align: left;
}


.more-link-wrap {
  text-align: right;
  max-width: 1000px;
  margin: 0 auto;
}

.more-link {
  color: #1a3564;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  position: relative;
  padding-right: 1.5em;
}

.more-link::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 0;
}

.blog-card {
  background: #fff;
  width: 300px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: scale(1.03); 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); 
}

.blog-card a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card a:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
 
  .bigtitle h2{
  font-size: 5rem;
  }

  .blogtitle_box{
    width: 85%;
    margin-left: 40px;
  }

  .news-underline_blog {
    margin: 0 0 35px 20px;
  }
}




/* ========lessonflow======== */

.lesson-flow {
  background: #021D45;
  color: #fff;
  padding: 4em 1em;
  text-align: center;
  margin-top: 50px;
}


.section-subtitle {
  font-size: 1rem;
  margin-bottom: 2em;
  display: inline-block;
  padding-bottom: 0.3em;
}


.flow-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3em;
  max-width: 960px;
  margin: 2em auto;
  flex-wrap: wrap;
  text-align: left;
}

.flow-number {
  font-size: 4rem;
  font-weight: bold;
  color: #f9ce00;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  flex-shrink: 0;
}

.flow-title {
  width: 180px;
  
}

.flow-title h4 {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.flow-title .title-en {
  font-weight: bold;
  display: block;
}

.flow-title .title-ja {
  font-size: 0.9rem;
  display: block;
  color: #ccc;
}

.flow-img img {
  width: 180px;
}

.flow-text {
  width: 280px;
}

.flow-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.flow-label {
  background: #fff;
  color: #0d2b5a;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.6em 2em;
  display: inline-block;
  margin: 1.5em auto;
}

.flow-end-msg {
  margin-top: 2em;
  font-size: 1rem;
  line-height: 1.8;
}



@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}




@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
}

.animate-slide-left.show {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
}

.animate-slide-right.show {
  animation: slideInRight 0.6s ease forwards;
}




@media (max-width: 768px) {
  .flow-step {
    flex-direction: column;
    text-align: center;
    gap: 1em;
  }

  .flow-title .title-en {
    margin-bottom: -20px;
  }

  .flow-label {
    margin: 1em auto 0;
  }

  .flow-img img {
    width: 100%;
    max-width: 280px;
  }

  .flow-text p {
    max-width: 100%;
  }
}


/*＝＝＝＝＝＝＝＝ 体験＝＝＝＝＝＝＝＝ */


.trial-section {
  background-image: url('imgs/bcimg.jpg'); 
  background-size: cover;
  background-position: center;
  padding: 5em 1em;
  text-align: center;
  color: #1a3564;
}

.trial-inner {
  max-width: 960px;
  margin: 0 auto;
}

.h2_4 {
  color: #021D45;
  font-size: 4.6rem;
  font-family: "Patua One", serif;
  -webkit-text-stroke: 0;
  text-shadow: none;
  text-align: center;

}

.trial-inner h3 {
  margin-top: 10px;
}

.trial-title {
  font-family: "Patua One", serif;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.trial-subtitle {
  font-size: 0.9rem;
  margin-bottom: 2em;
}

.trial-action {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3em;
  flex-wrap: wrap;
  margin-top: 50px;
}

.trial-text {
  font-size: 1.25rem;
  font-weight: bold;
}


.button014 a {
  background: #FFDD55;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 270px;
  padding: 20px 20px 25px;
  color: #021D45;
  transition: 0.3s ease-in-out;
  font-weight: bold;
  font-size: 1.5rem;
  align-items: baseline;
  gap: 10px;
}

.button014 a::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% - 0px);
  height: calc(100% - 1px);
  border: 2px solid #021D45;
  transition: 0.2s;
}

.button014 a::after {
  content: '';
  width: 15px;
  height: 15px;
  border-top: 2px solid #333333;
  border-right: 2px solid #333333;
  transform: rotate(45deg);
}

.button014 a:hover::before {
  top: 0;
  left: 0;
}

.button014 a:hover {
  text-decoration: none;
  background-color: #b3d9ff;
}


@media (max-width: 768px) {
  .trial-action {
    margin-top: 30px;
    gap: 25px;
  }
}




/* ======Voice======== */

.voice {
  background: #021D45;
  padding: 4em 1em;
  text-align: center;
}

.voice-title {
  font-family: "Patua One", serif;
  font-size: 2rem;
  color: #fff;
}

.voicetitle {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 2em;
}

.voice-inner {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 50px auto 20px;
}

.voice-card {
  background: #fff;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
}

.voice-card img {
  width: 100%;
  display: block;
}

.voice-heading {
  background: #021D45;
  color: #fff;
  font-weight: 500;
  padding: 0.8em;
  font-size: 0.9rem;
  margin-top: 10px;
}

.voice-text {
  padding: 1em;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
}



@media (max-width: 768px) {
  .voicetitle {
    font-size: 1rem;
  }
}



/* =====FAQ============ */


.faq {
  background: #e9eef3;
  padding: 4em 1em;
  text-align: center;
}

.faq-title {
  font-family: "Patua One", serif;
  font-size: 2rem;
  color: #021D45;
}

.faq-subtitle {
  font-size: 0.9rem;
  margin-bottom: 2em;
  color: #021D45;
}

.faq-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  margin-top: 40px;
}

.faq-card {
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: left;
}

.faq-question {
  background: #021D45;
  color: #fff;
  padding: 0 0.2em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5em;
  align-items: center;
  width: 280px;
}

.q-icon {
  color: #fff;
  border-radius: 50%;
  font-weight: 500;
  width: 1.5em;
  height: 1.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  margin-bottom: 7px;
}

.faq-answer {
  padding: 1em;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
}






/* =======ACCESS============ */

.access {
  background: #021D45;
}

.bigtitle2 h2 {
  font-size: 8rem;
  text-shadow: 4px 6px 0px #fff;
}

.ach3 {
  color: #fff;
  text-align: left;
}

.news-underline_acces {
  position: relative;
  height: 10px;
  width: 40%;
  margin: 0 0 45px 35px;
}


.access-section {
  color: #fff;
  padding: 4em 1em;
  display: flex;
  justify-content: center;
  gap: 50px;
}

.access-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  
  align-items: flex-start;
  max-width: 1000px;
  
}


.access-map {
  flex: 1 1 600px;
  max-width: 600px;
  width: 100%;
}

.access-map iframe {
  width: 100%;
  aspect-ratio: 5 / 3; 
  height: auto;
  border: 0;
  display: block;
}

/* Googleマップボタン */
.access-btn {
  margin-top: 1em;
  text-align: left;
}

.access-btn a {
  display: inline-block;
  background-color: #f9ce00;
  color: #021D45;
  font-weight: bold;
  padding: 0.6em 1.5em;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}

.access-btn a:hover {
  background-color: #ffe16a;
}

.access-block {
  flex: 1 1 300px;
  max-width: 400px;
  margin-bottom: 1.5em;
}

.access-block h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.access-block p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 5px;
}

.icon-dot::before {
  content: "■";
  color: #fff;
  margin-right: 0.4em;
}


@media (max-width: 768px) {

  .access {
    padding: 25px 0;
  }

  .access-section {
    flex-direction: column;
    padding: 1.5em;
  }

 
  .bigtitle2 h2 {
  font-size: 3rem;
  text-shadow: 2px 3px 0px #fff
  
}

.news-underline_acces {
  
  margin: 0 0 30px 30px;
}

  .access-inner {
    flex-direction: column;
    align-items: center;
  }

  .access-map {
  flex: none;
  
}

.access-info {
  margin: 0 auto;
}

  .access-block {
    text-align: center;
  }

  .access-btn {
    text-align: center;
  }

  .access-btn a {
    font-size: 0.8rem;
  }
}


/* =====contact========= */


.contact-section {
  background-image: url('imgs/bcimg2.jpg'); 
  background-size: cover;
  background-position: center;
  padding: 4em 1em;
  color: #021D45;
  text-align: center;
  
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-tel {
  font-size: 1.5rem;
  font-weight: bold;
  background: #fff;
  display: inline-block;
  padding: 0.5em 1.5em;
  margin-bottom: 2em;
  margin-top: 30px;
}

.contact-box {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 2em;
  margin: 0 auto 40px;
  width: 260px;
}

.contact-item {
  text-align: center;
}

.contact-lab {
  background: #021D45;
  color: #fff;
  padding: 0.4em 1em;
  font-weight: bold;
  margin-bottom: 0.3em;
}

.contact-item .value {
  font-size: 1rem;
}

.contact-button a {
  display: inline-block;
  background: #fff;
  border: 2px solid #021D45;
  border-radius: 50px;
  padding: 0.8em 2em 0.8em 1em;
  color: #1a3564;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: background 0.3s, color 0.3s;
}

.contact-button a::after {
  content: "▶";
  position: absolute;
  right: 0.8em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
}

.contact-button a:hover {
  background: #1a3564;
  color: #fff;
}

.contact-note {
  font-size: 0.7rem;
  margin-top: 2em;
  color: #222;
  line-height: 1.6;
}

.contact-note a {
  color: #1a3564;
  text-decoration: underline;
  font-weight: bold;
}






/*========= ページトップのためのCSS ===============*/

#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#fff;
	border-radius: 0 0 6px 6px;
	height: 60px;
	color: #021D45;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.7rem;
  font-family: "Oswald", sans-serif;
	transition:all 0.3s;
  padding-bottom: 10px;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
  /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(500px);
  }
}


/* ========footer============ */
.footer_all {
  max-width: 100%;
  height: auto;
  padding: 30px 0 ;
  text-align: center;
  background-color: #021D45;
  color: #fff;
  font-family: "IBM Plex Sans JP", sans-serif;

}
.main_footer{
  padding: 50px 0 0;
  display: flex;
  justify-content: space-between;
 
}

.footer {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  margin-left: 100px;
}


.footer_sns {
  margin-right: 100px;
  margin-top: 250px;
}


.copy {
  text-align: center;
  margin-top: 20px;
}

@media screen and (max-width:1024px) {

  #page-top a {
    border-radius: 6px;
    width: 60px;
    height: 60px;
  }

  .footer_all {
    height: auto;
  }

  .footer {
    margin: 0 auto;
  }

  .footer_logo {
    margin: 0 auto;
  }
  

  .footer_sns {
    margin: 0 auto;
    padding-top: 20px;
  }

  .privacy {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}












/* ====================priceclassschedule==================== */


.hero {
  position: relative;
  width: 100%;
  height: auto;
}

.hero-caption h1 {
  font-size: 4rem;
  font-family: 'Patua One', cursive;
  letter-spacing: 0.2em;
}

.hero-caption p {
  font-size: 1.5rem;
  text-align: right;
}



.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 31, 63, 0.85); /* 濃紺の半透明背景 */
  color: white;
  padding: 20px 30px;
  font-weight: bold;
}


@media (max-width: 768px) {
  .hero-caption {
    padding: 12px 16px;
  }

  .hero-caption h1 {
    font-size: 1.25rem;
  }

  .hero-caption p {
  font-size: 0.6rem;
  
}

}

.fac {
  margin-top: 50px;
}

.intro {
  text-align: center;
  margin-top: 30px;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 20px;
  max-width: 1100px;
  margin: 40px auto;
  background-color: #fff;
  padding: 60px;
  width: 80%;
}

.facility-item {
  text-align: center;
}

.facility-item img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-bottom: 12px;
}

.facility-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #021D45;
}

.facility-item p {
  font-size: 14px;
  color: #1a3564;
  line-height: 1.6;
}



@media (max-width: 768px) {

  .facility-grid {
    padding: 20px;
    gap: 24px 16px; 
  }

  .facility-item {
    padding: 1em 0;
    border-bottom: 1px solid #ccc;
  }

  .facility-item:last-child {
    border-bottom: none;
  }

  .facility-item img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 12px;
    display: block;
  }

  .facility-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .facility-item p {
    font-size: 15px;
    line-height: 1.8;
    padding: 0 10px;
  }
}



/* ==============trainer=========== */


.trainer-section {
  background: #021D45;
  color: #fff;
  padding: 4em 1em;
  text-align: center;
}

.trainer-leader {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2em;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 40px auto 4em;
}

.trainer-photo.large img {
  width: 300px;
  height: auto;
  border-radius: 4px;
}

.trainer-info {
  text-align: left;
  max-width: 400px;
}

.trainer-role {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5em;
}

.trainer-name-ja {
  font-weight: bold;
  font-size: 1.1rem;
}

.trainer-name-en {
  font-size: 0.9rem;
  margin-bottom: 1em;
}

.trainer-text {
  font-size: 0.85rem;
  line-height: 1.6;
}


.trainer-list {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}

.trainer-card {
  background: #fff;
  color: #021D45;
  padding: 1em;
 
  width: 250px;
  text-align: center;
}

.trainer-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.trainer-card .trainer-name-ja {
  font-weight: bold;
  margin-top: 0.5em;
}

.trainer-card .trainer-name-en {
  font-size: 0.85rem;
  margin-bottom: 0.5em;
}

.trainer-card .trainer-text {
  font-size: 0.8rem;
  line-height: 1.5;
}




/* ============priceclassschedule =============*/


.price-section {
  background: #E7EBEF;
  padding: 3em 1em;
  text-align: center;
}

.price-box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 2em;
  max-width: 500px;
  margin: 30px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.price-title {
  background: #021D45;
  color: #fff;
  font-weight: bold;
  padding: 0.5em 1em;
  display: inline-block;
  margin-bottom: 0.5em;
  font-size: 1rem;
  width: 330px;
}

.price-sub {
  font-size: 0.85rem;
  margin-bottom: 2em;
  color: #021D45;
}

.price-table {
  margin-bottom: 2em;
}

.price-row {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-bottom: 1em;
  flex-wrap: wrap;
  width: 330px;
  justify-content: space-between;
  margin: 0 auto;
}

.label {
  
  font-size: 1.5rem;
  color: #021D45;
  border-bottom: 1px solid #1a3564;
  line-height: 1.5;
  
 
}

.price {
  font-size: 2rem;
  color: #021D45;
  font-weight: bold;
  margin-top: 10px;
}

.price_row_item {
  width: 140px;
}

.system-fee {
  font-size: 1rem;
  margin-bottom: 2em;
  color: #021D45;
}

.pit-info {
  font-size: 0.85rem;
  color: #021D45;
}

.pit-link {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.3em 1em;
  border: 1px solid #021D45;
  color: #021D45;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.3s ease;
  box-shadow: 2px 2px 0 #021D45;
}

.pit-link:hover {
  background: #1a3564;
  color: #fff;
}


.price-title.border {
  background: #fff;
  color: #021D45;
  border: 1px solid #021D45;
}

.price-title.dark {
  background: #021D45;
  color: #fff;
}

.price-bold {
  font-size: 2rem;
  font-weight: bold;
  margin: 1em 0;
  color: #021D45;
}

.price-bold span {
  font-weight: 400;
  font-size: 1.5rem;
  margin-right: 5px;
}


.price_paso {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;

}

.price-btn {
  display: inline-block;
  margin-top: 1em;
  padding: 0.7em 2em;
  border: 1px solid #021D45;
  border-radius: 30px;
  color: #021D45;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}

.price-btn::after {
  content: "▶";
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
}

.price-btn:hover {
  background: #1a3564;
  color: #fff;
}



@media (max-width: 768px) {
  .price-box {
    padding: 1.5em 1em;
    margin: 20px auto;
    width: 90%;
  }

  .price-title {
    width: 100%;
    font-size: 1rem;
    padding: 0.5em;
  }

  .price-row {
    flex-direction: column;
    align-items: center;
    width: 140px;
  }

  .price_row_item {
    width: 140px;
    text-align: center;
    margin-bottom: 1em;
  }

  .label {
    font-size: 1.2rem;
  }

  .price {
    font-size: 1.6rem;
  }

  .system-fee {
    font-size: 0.9rem;
  }

  .pit-info {
    font-size: 0.75rem;
  }

  .pit-link {
    font-size: 0.7rem;
    padding: 0.3em 0.8em;
  }

  .price-bold {
    
    font-size: 1.4rem; 
    line-height: 1.6;
  
  
  }

  .price-btn {
    width: 100%;
    max-width: 260px;
    font-size: 0.95rem;
    padding: 0.8em 1em;
  }
}






/* =====schedule============= */
.schedule-section {
  background: #021D45;
  color: #fff;
  text-align: center;
  padding: 4em 1em;

}

.schedule-image img {
  max-width: 100%;
  height: auto;
 
}

.schedule-link {
  margin-top: 2em;
}

.schedule-btn {
  display: inline-block;
  background: #fff;
  color: #021D45;
  font-weight: bold;
  padding: 0.8em 2em;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.schedule-btn::after {
  content: "▶";
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
}

.schedule-btn:hover {
  background: #f9ce00;
  color: #021D45;
}








/* =======clas============== */


 .class-section {
      background: #E7EBEF;
      padding: 4em 1em;
      text-align: center;
    }

    .class-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2em;
      max-width: 1000px;
      margin: 40px auto 4em;
    }

    .class-card {
      background: #fff;
      padding: 1.5em;
      border-radius: 6px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
      text-align: left;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .class-title {
      font-weight: bold;
      font-size: 1rem;
      border-bottom: 4px solid #1a3564;
      display: inline-block;
      padding-bottom: 0.2em;
      margin-bottom: 0.5em;
    }

    .blue { border-color: #75D7EF; }
    .yellowgreen { border-color: #F4F029; }
    .orange { border-color: #FFCE69; }
    .green { border-color: #8DD571; }
    .brown { border-color: #FD9B57; }
    .purple { border-color: #DDCFE6; }
    .violet { border-color: #7A4195; }
    .navy { border-color: #1a3564; }
    .pink { border-color: #ec7cae; }

    .class-card p {
      font-size: 0.85rem;
      line-height: 1.6;
      margin-bottom: 1em;
    }

    .class-card img {
      width: 100%;
      border-radius: 4px;
    }

    .kids-class {
      background: #fff;
      padding: 2em;
      max-width: 900px;
      margin: 0 auto;
      border-radius: 6px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    }

    .kids-class .class-title {
      font-size: 1.2rem;
      margin-bottom: 1em;
      width: 100%;
    }

    .kids-schedule {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1em;
      margin-bottom: 1em;
    }

    .kids-block {
      flex: 1 1 45%;
      background: #f4f8fd;
      padding: 1em;
      border-left: 4px solid #1a3564;
      font-size: 0.85rem;
      text-align: left;
    }

    .kids-block h4 {
      font-size: 1.2rem;
      margin-bottom: 0.5em;
      background-color: #021D45;
      color: #fff;
      width: 130px;
      padding: 5px 9px;
    }

    .kids_eige {
      font-weight: 500;
      font-size: 1.2rem;
      margin-top: 5px;
    }

    .kids_text {
      margin-top: 10px;
      line-height: 1.5;
    }

    .kids-class img {
      margin-top: 1em;
      width: 300px;
      border-radius: 6px;
    }

    .have {
      margin-top: 20px;
    }

    .have_text {
      margin-top: 10px;
      border: solid 1px #021D45;
      padding: 10px;
      font-size: 0.85rem;
    }


/* ============policy======= */

.policy-container {
  width: 90%;
  max-width: 720px;
  margin: 50px auto;
  padding: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.policy-container_h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.policy_h3 {
  text-align: left;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}

.policy-section {
  margin-top: 40px;
}

.policy-section_item {
  margin: 10px 50px;
  line-height: 1.7;
  font-size: 1rem;
}

ul {
  
  margin-top: 10px;
}

.top-button {
  text-align: center;
  margin-top: 40px;
}

.top-button a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #f6f8fc;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 0 #ccc;
  font-weight: bold;
}


@media screen and (max-width: 768px) {
  .policy-container {
    padding: 25px 15px;
    margin-top: 30px;
  }

  .policy-container_h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .policy_h3 {
    font-size: 1.1rem;
  }

  .policy-section_item {
    margin: 10px 0;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .top-button a {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
    padding: 14px 20px;
  }
}










/* ===newslist========= */

.news-section_home {
  background: #E7EBEF;
  padding: 3em 1em;
  text-align: center;
}

.news-header_home {
  margin-bottom: 2em;
}

.news-title_home {
  font-size: 2rem;
  font-weight: bold;
  color: #f9ce00;
  text-shadow: 2px 2px 0 #1a3564;
}

.news-subtitle_home {
  font-size: 0.85rem;
  color: #021D45;
  margin-top: 0.2em;
}

.news-underline_home {
  width: 120px;
  height: 4px;
  background: #021D45;
  border-bottom: 2px solid #f9ce00;
  margin: 0.5em auto 1em;
}

.news-list_home {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.news-item_home {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8em 1em;
  margin-bottom: 0.5em;
  border-left: 6px solid #021D45;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.news-date_home {
  background: #021D45;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2em 0.6em;
  margin-right: 1em;
  border-radius: 3px;
  flex-shrink: 0;
}

.news-text_home {
  flex-grow: 1;
  font-size: 0.95rem;
  color: #021D45;
}

.news-arrow_home {
  font-size: 0.9rem;
  color: #021D45;
}

.news-back {
  margin: 1.5em auto;
  text-align: center;
  position: relative;
}

.news-back a {
  display: inline-block;
  background: #fff;
  padding: 0.8em 2em;
  border-radius: 30px;
  color: #021D45;
  font-weight: bold;
  box-shadow: 2px 3px 0 #1a3564;
  text-decoration: none;
  
 
}

.news-back a:hover{
  color: #fff;
  background-color: #021D45;
  
}

.news-back a::after {
    content: "▶";
    position: absolute;
    margin-left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em
    
}


@media screen and (max-width: 768px) {
  .news-list_home {
    padding: 0 1em;
  }

  .news-item_home {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3em;
  }

  .news-date_home {
    margin-right: 0;
    margin-bottom: 0.3em;
  }

  .news-arrow_home {
    align-self: flex-end;
  }

  .news-title_home {
    font-size: 1.5rem;
  }

  .news-text_home {
    font-size: 0.9rem;
  }

  .news-back_home a {
    width: 80%;
    max-width: 300px;
    font-size: 0.95rem;
  }
}










/*======== bloglist-============== */

.blog-section_home {
  background: #E7EBEF;
  padding: 3em 1em;
  text-align: center;
}

.blog-header_home {
  margin-bottom: 2em;
}

.blog-title_home {
  font-size: 2rem;
  font-weight: bold;
  color: #f9ce00;
  text-shadow: 2px 2px 0 #1a3564;
}

.blog-subtitle_home {
  font-size: 0.85rem;
  color: #021D45;
  margin-top: 0.2em;
}

.blog-underline_home {
  width: 160px;
  height: 4px;
  background: #021D45;
  border-bottom: 2px solid #f9ce00;
  margin: 0.5em auto 1em;
}

.blog-grid_home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2em;
  max-width: 1000px;
  margin: 40px auto;
}

.blog-card_home {
  background: #fff;
  padding: 0 0 1em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  text-align: left;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.3s;
}

.blog-card_home:hover {
  transform: scale(1.03); 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); 
}


.blog-card_home img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-meta_home {
  font-size: 0.75rem;
  color: #666;
  margin: 0.8em 1em 0.4em;
}

.blog-title-text_home {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 1em;
  color: #1a3564;
}

.blog-desc_home {
  font-size: 0.85rem;
  color: #333;
  margin: 0.5em 1em 0;
}


.pagination_custom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 2em auto;
  flex-wrap: wrap;
}

.pagination_custom .page
 {
  width: 40px;
  height: 40px;
  border: 1px solid #1a3564;
  background: #fff;
  color: #021D45;
  text-align: center;
  line-height: 37px;
  text-decoration: none;
  font-weight: bold;

  font-size: 1rem;
  transition: 0.3s;
}

.pagination_custom .arrow {
  width: 40px;
  height: 40px;
  color: #021D45;
  text-align: center;
  line-height: 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;

}

.pagination_custom .page:hover,
.pagination_custom .arrow:hover {
  background: #021D45;
  color: #fff;
}

.pagination_custom .page.active {
  background: #021D45;
  color: #fff;
}





.blog-back {
  text-align: center;
  margin-top: 1.5em;
}

.blog-back a {
  display: inline-block;
  background: #fff;
  padding: 0.8em 2em;
  border-radius: 30px;
  color: #021D45;
  font-weight: bold;
  box-shadow: 2px 3px 0 #1a3564;
  text-decoration: none;
 
}

.blog-back_pr {
  text-align: center;
  margin-top: 1.5em;
}

.blog-back_pr a {
  display: inline-block;
  background: #fff;
  padding: 0.8em 2em;
  border-radius: 30px;
  color: #021D45;
  font-weight: bold;
  box-shadow: 2px 3px 0 #1a3564;
  text-decoration: none;
  margin-bottom: 30px;
 
}









@media (max-width: 600px) {
  .pagination_custom {
    gap: 6px;
  }

  .pagination_custom .page,
  .pagination_custom .arrow {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 0.9rem;
  }
}

/*========= blogpeage============== */



.blog-detail {
  background: #f3f5f8;
  padding: 3em 1em;
  font-family: 'Noto Sans JP', sans-serif;
}

.blog-detail .container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 2em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.blog-date {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5em;
}

.blog-main-title_peage {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #021D45;
  border-left: 4px solid #1a3564;
  padding-left: 1em;
  margin-bottom: 1em;
  -webkit-text-stroke: 0;
  text-shadow: none;
  text-align: left;
}

.blog-image img {
  width: 100%;
  margin: 2em 0;
}

.blog-block {
  margin-bottom: 2em;
}

.blog-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
  color: #021D45;
  display: flex;
  align-items: center;
}

.title-bar {
  display: inline-block;
  width: 8px;
  height: 20px;
  background-color: #021D45;
  margin-right: 8px;
}

.blog-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
}















/* =========wpstyle============== */



/* blog と news 両方に適用する共通スタイル */
.blog-content,
.news-text_peage {
  font-family: 'Noto Sans JP', sans-serif;
  color: #021D45;
  line-height: 1.8;
  font-size: 16px;
}

.blog-content p,
.news-text_peage p {
  margin-bottom: 1.5em;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.news-text_peage h1,
.news-text_peage h2,
.news-text_peage h3 {
  font-family: 'Noto Sans JP', sans-serif;
  color: #021D45;
  font-weight: bold;
  margin: 2em 0 1em;
  line-height: 1.4;
}

.blog-content h1,
.news-text_peage h1 {
  font-size: 1.8rem;
}

.blog-content h2,
.news-text_peage h2 {
  font-size: 1.5rem;
}

.blog-content h3,
.news-text_peage h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.blog-content ul,
.blog-content ol,
.news-text_peage ul,
.news-text_peage ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.blog-content li,
.news-text_peage li {
  margin-bottom: 0.5em;
}

.blog-content a,
.news-text_peage a {
  color: #021D45;
  text-decoration: underline;
}

.blog-content img,
.news-text_peage img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
}

/* Gutenbergの wp-block-heading 対応 */
.blog-content .wp-block-heading,
.news-text_peage .wp-block-heading {
  all: unset;
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 2em 0 1em;
  color: #021D45;
}

.blog-content .wp-block-heading.has-text-align-center,
.news-text_peage .wp-block-heading.has-text-align-center {
  text-align: center;
}











/* .blog-content {
  font-family: 'Noto Sans JP', sans-serif;
  color: #021D45;
  line-height: 1.8;
  font-size: 16px;
} */

/* 段落 */
/* .blog-content p {
  margin-bottom: 1.5em;
} */

/* 見出し */
/* .blog-content h1,
.blog-content h2,
.blog-content h3 {
  font-family: 'Noto Sans JP', sans-serif;
  color: #021D45;
  font-weight: bold;
  margin: 2em 0 1em;
  line-height: 1.4;
} */

/* .blog-content h1 {
  font-size: 1.8rem;
}

.blog-content h2 {
  font-size: 1.5rem;
}

.blog-content h3 {
  font-size: 1.2rem;
  font-weight: 500;
} */

/* Gutenberg向け */
/* .blog-content .wp-block-heading {
  all: unset;
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 2em 0 1em;
  color: #021D45;
}

.blog-content .wp-block-heading.has-text-align-center {
  text-align: center;
} */

/* リスト */
/* .blog-content ul,
.blog-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.blog-content li {
  margin-bottom: 0.5em;
} */

/* 画像 */
/* .blog-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
} */

/* リンク */
/* .blog-content a {
  color: #021D45;
  text-decoration: underline;
} */
















/* .blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content p,
.blog-content ul,
.blog-content a { */
  /* all: unset; 必要なら初期化
  font-family: 'Noto Sans JP', sans-serif;
  color: #021D45;
  line-height: 1.8;
} */


/* === 全体リセット === */
/* .blog-content * {
  box-sizing: border-box;
  color: #021D45;
} */

/* 空のpタグを非表示に */
/* .blog-content p:empty {
  display: none;
} */

/* === 見出し（h1〜h3） === */
/* .blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content .wp-block-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  line-height: 1.4;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-left: 0.5em;
}

.blog-content h1 {
  font-size: 1.8rem;
}

.blog-content h2 {
  font-size: 1.5rem;
}

.blog-content h3 {
  font-size: 1.2rem;
  font-weight: 500; */
/* } */

/* Gutenberg用中央見出し */
/* .blog-content .wp-block-heading.has-text-align-center {
  text-align: center;
} */

/* === 段落 === */
/* .blog-content p,
.blog-content .wp-block-paragraph {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1.5em;
} */

/* === リスト === */
/* .blog-content ul,
.blog-content ol {
  margin-top: 0;
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.blog-content ul {
  list-style: disc;
}

.blog-content ol {
  list-style: decimal;
}

.blog-content li {
  margin-bottom: 0.5em;
  line-height: 1.6;
} */

/* === 画像 === */
/* .blog-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
} */

/* === リンク === */
/* .blog-content a {
  color: #021D45;
  text-decoration: underline;
} */

/* === 引用 === */
/* .blog-content blockquote {
  border-left: 4px solid #ccc;
  margin: 1.5em 0;
  padding-left: 1em;
  font-style: italic;
} */


/* 基本的な見出し */
/* .blog-content h1,
.blog-content .wp-block-heading h1,
.blog-content .wp-block-heading.is-style-default h1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-left: 0.5em;
  color: #021D45;
  font-weight: bold;
}

.blog-content h2,
.blog-content .wp-block-heading,
.blog-content .wp-block-heading.has-text-align-center,
.blog-content h2.wp-block-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-left: 0.5em;
  color: #021D45;
  font-weight: bold;
  text-align: left;
} */

/* 段落 */
/* .blog-content p,
.blog-content .wp-block-paragraph {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1.5em;
  color: #021D45;
} */

/* リスト */
/* .blog-content ul,
.blog-content .wp-block-list {
  margin-left: 1.5em;
  list-style: disc;
} */

/* リンク */
/* .blog-content a {
  color: #007acc;
  text-decoration: underline;
} */




/* .blog-content h1,
.blog-content .wp-block-heading h1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-left: 0.5em;
  color: #021D45;
  font-weight: bold;
}



.blog-content h2,
.blog-content .wp-block-heading,
.blog-content .wp-block-heading.has-text-align-center {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 1.5rem !important;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-left: 0.5em;
  color: #021D45 !important;
  font-weight: bold !important;
  text-align: left !important;
}

.blog-content p,
.blog-content .wp-block-paragraph {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1.5em;
  color: #021D45;
}
 */





@media (max-width: 768px) {
  .blog-main-title {
    font-size: 1.25rem;
  }

  .blog-block p {
    font-size: 0.9rem;
  }
}


/*=========newspeage============== */


.news-detail_peage {
  background: #fff;
  padding: 3em 1em;
  text-align: center;
  color: #021D45;
  width: 80%;
  margin: 80px auto;
}

.news-date_peage {
  font-size: 0.9rem;
  margin-bottom: 0.5em;
  text-align: left;
  max-width: 700px;
  margin: 0 auto 0.5em;
}

.news-title_peage {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #021D45;
  color: #fff;
  padding: 0.5em 1em;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  max-width: 700px;
  margin: 0 auto 1em;
  font-weight: bold;
  text-align: left;
    -webkit-text-stroke: 0;
  text-shadow: none;
}

.news-text_peage {
  font-size: 1rem;
  max-width: 700px;
  margin: 1.5em auto;
  text-align: left;
  line-height: 1.8;
}

.news-image_peage img {
  max-width: 100%;
  height: auto;
  
  margin: 1em auto;
  display: block;
}

.news-back-button {
  margin-top: 2em;
}

.news-back-button a {
  display: inline-block;
  background: #fff;
  padding: 0.8em 2em;
  border-radius: 30px;
  color: #1a3564;
  font-weight: bold;
  box-shadow: 2px 3px 0 #1a3564;
  text-decoration: none;
  position: relative;
}

.news-back-button a::after {
  content: "▶";
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
}


@media (max-width: 768px){
  .news-detail_peage{
    margin: 30px auto;
  }
}


/* ======パンくずリスト======== */


.breadcrumb {
  background-color: #E7EBEF;
  font-size: 0.9rem;
  color: #1a3564;
  padding: 1em 0;
  width: 100%;
  overflow-x: auto;
  margin: 40px 0 0 100px;
  justify-content: flex-start;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0;
  margin: 0;
  align-items: center;
  white-space: nowrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li::after {
  content: "＞";
  margin: 0 0.5em;
  color: #ccc;
}

.breadcrumb li:last-child::after {
  content: none;
}

.breadcrumb a {
  color: #1a3564;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #f9ce00;
}


.breadcrumb .current {
  font-weight: bold;
  color: #1a3564;
  background-color: #f6f8fc;
  padding: 0.2em 0.6em;
  border-radius: 5px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .breadcrumb {
  font-size: 0.7rem;
  overflow-x: auto;
  margin: 70px 0 0 50px;
}
  
}



/* =======404========= */

.errorall {
      margin: 0;
      padding: 0;
      background-color: #f6f8fc;
      font-family: 'Arial', sans-serif;
      color: #1a3564;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      text-align: center;
    }

    .error-container {
      padding: 40px 20px;
    }

    .error-container img {
      width: 100px;
      margin-bottom: 20px;
    }

    .error_h1 {
      font-size: 4rem;
      margin-bottom: 10px;
      color: #ffcc00;
    }

    .error_h1p {
      font-size: 1.1rem;
      margin: 10px 0;
    }

    .back-btn_er {
      display: inline-block;
      margin-top: 20px;
      padding: 12px 30px;
      background-color: #1a3564;
      color: #fff;
      text-decoration: none;
      border-radius: 30px;
      transition: background 0.3s ease;
      font-weight: bold;
    }

    .back-btn:hover {
      background-color: #021d45;
    }

    @media screen and (max-width: 768px) {
      .error_h1 {
        font-size: 3rem;
      }

      .back-btn_er {
        padding: 10px 20px;
      }
    }