/*
  Theme Name:   jyujyu
  Theme URI:    https://thewppress.com/theme/how-to-create-the-basic-wordpress-theme/
  Description:  jyujyu theme
  Author:       Rena Hirayabu
  Author URI:   thewppress.com
  Version:      1.0
*/

* {
  margin: 0;
  padding: 0;
 }
 
 html,
 body {
   height: 100%;
   margin: 0;
   background-color: #000;
 }
 
 html {
   font-size: 100%;
 }
 
 body {
   color: #fff;
   font-family: 'Noto Sans JP', sans-serif;
   font-weight: 400;
   font-style: normal; 
   padding-top: 70px;
 }
 
 a {
   text-decoration: none;
 }
 
 img {
   max-width: 100%;
   vertical-align: bottom;
   object-fit: cover;
   height: auto;
 }
 
 li {
   list-style: none;
  display: list-item;
  text-align: -webkit-match-parent;
 }
 
 p {
   line-height:30px;
 }
 small {
   font-size: 9px;
 }
 .wrapper {
  max-width: 1228px;
  margin: 0 auto;
  padding-right:4%;
  padding-left:4%;
  padding-top: 100px;

}
.subtitle {
  font-size: 16px;
  color: #fff;
  padding-top: 35px;
  margin-bottom: 10px;
}

.sec-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.description {
  font-size: 20px;
  margin-bottom: 40px;
}

.btn{
  color: #fff;
  font-size: 18px;
  display: block;
  padding: 20px 30px;
  text-align: center;
  position: relative;
  background-color: #C70209;
  width: 280px;
  border-radius: 1000px; 
}

/* スマホ用（横幅が小さいときは押しやすく大きめ） */
@media (max-width: 480px) {
  .btn {
    font-size: 16px;
    padding: 18px 24px;
    max-width: 100%;
  }
}

/* タブレット用（中間サイズ） */
@media (min-width: 481px) and (max-width: 768px) {
  .btn {
    font-size: 17px;
    padding: 18px 28px;
    max-width: 320px;
  }
}

.arrow-circle {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: #C70209; 
  color: #fff;   
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  margin-left: 12px;
  vertical-align: middle;
}

/* デフォルト：PC表示 */
.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 860px) {
  .pc-only {
    display: none!important;
  }

  .sp-only {
    display: block;
  }
}

/* ヘッダー */
#header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #C70209;
}

.logo img {
  max-height: 85px;
  width: auto; 
}

.container {
  margin: auto;
}
.headerWrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding-left: 2rem;
  height: 90px;
}
 nav{
  display: flex;
  gap: 20px;
  justify-content: end;
 }

 .nav-ul {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-ul li a {
  text-decoration: none;
  color: #fff;
  border-bottom: 2px solid transparent;
  padding-top: 5px;
  padding-bottom: 5px;
  transition: border-color 0.3s ease;
  font-weight: bold;
  font-size: 16px;
}

@media (max-width: 1100px) {
.nav-ul li a {
  font-size: 14px;
}
}

.nav-ul li a {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
}

.nav-reserve a {
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px; /* アイコンと文字の間隔 */
  background-color: #000;
  width: 150px;
  height: 90px;
  padding: 0!important;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  border-bottom: none;
}

.nav-reserve a:hover {
  opacity: 0.8;
}

.nav-reserve .line-icon {
  width: 22px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}



/* ドロップダウン */
.menu-item-has-children {
  position: relative;
}
.menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;                   
  transform: translateX(-50%); 
  background: #fff;
  padding: 10px 0;
  width: 200px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  color: #333;
}
.menu-dropdown div {
  padding: 10px;
}
.menu-dropdown a {
  display: block;
  color: #333!important;
  text-decoration: none;
  transition: background 0.3s;
}

.menu-item-has-children:hover .menu-dropdown {
  display: block;
}

/* ハンバーガーメニュー */
.hamburger-menu {
  display: none;
  width: 50px;
  height: 50px;
  position: relative;
  border: none;
  background: transparent;
  appearance: none;
  padding: 0;
  cursor: pointer;
}

.hamburger-menu__bar {
  display: block;
  width: 24px;          
  height: 2px;
  background: #ffffff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.5s;
  transform-origin: center center; 
  z-index: 100;
  margin-top: 8px;
}
.hamburger-menu--open .hamburger-menu__bar:first-child {
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
  display: none;
}

.hamburger-menu--open .hamburger-menu__bar:last-child {
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.hamburger-menu__bar:first-child {
  top: 8px; 
}

.hamburger-menu__bar:nth-child(2) {
  top: 16px;
}

.hamburger-menu__bar:last-child {
  top: 24px;
}

/* メインビジュアルセクション */
#mainvisual {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.img-frame {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.img-frame picture,
.img-frame img {
  width: 100%;
  height: auto;
  display: block;
  max-width: none; 
}


.lp-visual img {
  width: 100%;
  height: auto;
  max-width: none; 
  display: block;
}

.mainvisual-title {
  position: absolute;
  top: 130px;  
  left: 50px;  
  color: #fff;
  font-size: 2.5rem;
  font-weight: normal;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6); 
  z-index: 2;  
  font-family: "Noto Serif JP", serif;
}

/* mainvisual アニメーション */
#mainvisual .img-frame {
  opacity: 0;
  transform: scale(1.1); /* 最初は少し大きめ */
  animation: fadeZoomIn 1.8s ease-out forwards;
}

@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.1); /* ふわっと縮む感じに */
  }
  100% {
    opacity: 1;
    transform: scale(1);   /* 通常サイズに */
  }
}

#mainvisual .mainvisual-title {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 1.2s; /* 画像の後に出す */
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ニュースセクション */
.news-section {
  text-align: center;
  background-color: #fff;
  padding-bottom: 95px;
}

.news-wrapper{
  margin: 0 auto;
  max-width: 700px;
}

.news-section .sec-title{
  color: #000;
}

.news-section .subtitle{
  color: #000;
}


.top-news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.top-news-item {
  border-bottom: 2px solid #ccc;
  padding-bottom: 12px;
}

/* a全体をflex化して左右に配置 */
.news-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none; /* 下線消す */
  color: inherit;        /* テキスト色を継承 */
  padding: 8px 0;        /* 余白をクリック範囲に */
}

.news-date-title {
  display: flex;
  flex-direction: column;
  color: #333333;
}


.news-date {
  font-size: 0.9rem;
  color: #000;
}

.news-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 4px;
}

.news-arrow {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: #C70209;
  color: #fff;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s;
}


.news-more-button-wrapper {
  text-align: right;
  margin-top: 20px;
}

.news-more-button {
  display: inline-block;
  color: #000;
  font-size: 18px;
}
/* メディア掲載とレビューセクション */
.media-review-section{
  text-align: center;
  margin: 0 auto;
  padding-top: 35px;
  padding-bottom: 100px;
  max-width: 1100px;
}

.media-review-subtitle{
  font-size: 28px;
  margin-bottom: 30px;
}

.media{
  margin-bottom: 60px;
}
.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  text-align: left;
}

.post-card {
  width: 30%;
}

.post-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  padding: 10px;
}

.post-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
  display: block;
}

.post-title a{
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  color: #ffffff;
}

.media-review-btn-wrapper {
  text-align: right;
  margin-top: 20px;
}

.media-review-btn {
  display: inline-block;
  font-size: 16px;
  color: #ffffff;
}

.media .arrow-circle,
.review .arrow-circle {
  width: 25px;
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  margin-left:10px;
}



/* レスポンシブ（スマホ） */
@media (max-width: 768px) {
.media-review-subtitle{
  font-size: 18px;
  margin-bottom: 20px;
}

  .post-grid {
    display: block;
  }
  .post-card {
    width: 100%;
  }
}




/* メニューセクション */

.menu-section {
  margin: auto;
  text-align: center;
  background-color: #C70209;
}
.menu-text {
  width: 50%;
}

.menu-text h3,
.menu-text2 h3 {
  font-size: 32px;
  margin-bottom: 15px;
}

.menu-text2 h3 {
  margin-top: 30px;
}

.menu-text p,
.menu-text2 p {
  font-size: 16px;
  line-height: 2.5;
}

.menu-text p {
  margin-bottom: 15px;
}

.menu-text2 p {
  margin-bottom: 35px;
}

.menu-text .btn,
.menu-content2 .btn {
  margin: 0 auto;
}

.menu-text .btn {
  background-color: #000;
}

.menu-content2 .btn {
  background-color: #C70209;
}

.menu-content,
.content2-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.content2-inner {
  background-color: #000;
}

.menu-image {
  width: 50%;
}

.menu-image img,
.menu-content2 img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-content2 img {
  margin-bottom: 40px;
}

.menu-content2 .arrow-circle {
  background-color: #000;
}

/* コンセプトセクション */
#concept{
  margin-top: 110px;
  margin-bottom: 110px;
}

.concept-text {
  text-align: center;
  margin: 0 auto;
}
.concept-text p{
line-height:3;
font-size: 20px;
margin-bottom: 30px;
}

.concept-sec-title{
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 30px;
}

#concept .btn{
  margin: 0 auto;
}

#concept .arrow-circle{
  background-color: #000;
}


/* インスタグラム */
.review-section,
.insta-section{
  text-align: center;
}

.insta-section{
 margin-top: 100px;
}

.insta-section .btn{
  margin: 0 auto;
}

.insta-section .arrow-circle{
  background-color: #000;
}
.insta-comingsoon {
  text-align: center;
  padding: 40px 0;
  font-size: 1.2rem;
}


/* SnapWidget */
.snapwidget-widget {
  border: none;
  overflow: hidden;
  width: 100%;
  max-width: 765px;
  height: 690px; 
  display: block;
  margin: 0 auto; 
  padding-top: 35px;
  padding-bottom: 30px;
}


/* ショップセクション */
.shop-section {
  background-color: #fff;  
  color: #000;             
  padding: 80px 20px;
}

.shop-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.shop-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.shop-container img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.shop-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  max-width: 550px;
}
.shop-text p{
  margin-top: 70px;
  margin-bottom: 70px;
}

.shop-container .arrow-circle{
  background-color: #000;
}



/* アクセスセクション */

 #access-section{
  text-align: center;
  margin-bottom: 80px;
}

.access-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  gap:100px
}

.access-text {
  max-width: 400px;
  min-width: 300px;
  padding: 20px;
  text-align: left;
}

.map-container {
  max-width: 600px;
  width: 100%;
}
.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}


.access-text p{
  flex: 1.5;
  margin-bottom: 30px;
}

.access-title{
  font-size: 18px;
  margin-bottom: 10px;
}


.access-btn{
  margin-top: 30px;
}

#access-section .arrow-circle{
  background-color: #000;
}


/* フッターセクション */
.footerWrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
}

.footer-logo img {
  max-width: 120px;
  height: auto;
}.footerNav {
  display: flex;
  justify-content: center;
  gap: 60px; /* 左右列の間隔 */
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  display: inline-block;
  font-weight: 100;
  margin-bottom: 5px;
}


.social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social img {
  width: 30px;
  height: 30px;
}

.copyright {
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  color: #fff;
}


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

  body {
    font-size: 14px;
   }
   
  p {
     line-height:25px;
   }

  main {
    margin: 0;
    width: 100%;
   }

   .subtitle{
    font-size: 14px;
    margin-bottom: 5px;
   }

   .sec-title {
    font-size: 21px;
   }

   .description {
    font-size: 14px;
    margin-bottom: 30px;
  }


   #header {
    height: 70px;
    padding: 0;
  }

  .logo img {
  max-height: 65px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

  .headerWrap{
    align-items: center;
    justify-content: space-between;
    padding:0 10px ;
    height: 70px;
  }
     
  .headerWrap img{
    flex-shrink: 0;
    width: 65px;
  }
  .menu--open .sp_menu {
    right: 0;
   }
  
  .sp_menu {
  display: block;
  background-color: #000000;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 100;
  width: 100%;
  height: 100vh;
  font-size: 14px;
  }

  .sp_menu ul{
    flex-direction: column;
    padding-top: 200px;
   }

   .nav-ul {
    display: block;
    text-align: center;
    margin-top: 20px;
    height: auto;
    }
  
   .nav-ul li{
    padding-top: 15px;
   }
   .nav-ul li a{
   color: #ffffff;
   font-size: 14px;
   }
   .nav-ul li:last-child a {
    margin: 0 auto;
   }

   .menu--open .hamburger-menu__bar:first-child {
    top: 24px;
    }

    .nav-ul li:last-child a{
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: #C70209;
    border-radius: 1000px;
    width: 150px;
    height: 40px;
    padding: 0;
    }

  .hamburger-menu {
    display: block;  
    float: right;
    flex-shrink: 0;
    width: 27px;
    }

.mainvisual-title {
  display: none;
}
    
    /* ニュースセクション */
  

/* メニューセクション */

.menu-content,
.menu-content2 {
display: flex;
flex-direction: column;
}

.menu-content.first {
  display: flex;
}

.menu-content2 {
  padding-bottom: 30px;
}

.menu-content.first .menu-text {
  order: 2 !important;
}

.menu-content.first .menu-image {
  order: 1 !important;
}

.menu-content2 .menu-image2 {
  order: 1!important;
}
.menu-content2 .menu-text2 {
  order: 2!important;
}

.menu-content2 .btn {
  order: 3!important;
}

.menu-image {
  width: 100%;
}

.menu-content2 img {
  width: 100%;
  margin-bottom: 0px;
}

.menu-text {
  width: 100%;
  padding: 0;
  margin-bottom: 30px;
}

.menu-text h3,
.menu-text2 h3 {
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 20px;
}

.menu-text p{
  font-size: 14px;
}



.content2-inner{
  display: block;
}
/* インスタグラム */

.insta-section .btn {
  margin-top: 20px; /* 余白を調整 */
}

.snapwidget-widget {
  height: 400px;
  padding-top: 20px;
  padding-bottom: 20px;
}
}

@media screen and (max-width: 480px) {
.snapwidget-widget {
  height: 320px;
  padding-top: 15px;
  padding-bottom: 15px;
}
}

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

/* もしiframeが高さを保ってくれない場合は */
.iframe-container {
  padding-bottom: 120%; /* 少し小さめにして試す（90%〜130%で調整） */
}

/* コンセプトセクション */
#concept{
  margin-top: 0px;
  margin-bottom: 100px;
}
.concept-text p{
line-height:3;
font-size: 14px;
margin-bottom: 30px;
}

.concept-sec-title{
  font-size: 20px;
  margin-bottom: 30px;
}



/* ショップセクション */
.shop-section {         
  padding: 80px 20px;
}

.shop-title {
  font-size: 20px;
  margin-bottom: 30px;
}

.shop-container {
  display: block;
}

.shop-container img {
  max-width: 100%;
  width: 100%;
}

.shop-text {
  font-size: 14px;
}
.shop-text p{
  margin-top: 50px;
margin-bottom: 50px;
}

.shop-container .arrow-circle{
  background-color: #000;
}


/* アクセスセクション */

.access-container {
  display: block;
}

.map-container iframe {
  height: 300px;
}

.access-text {
  margin-top: 30px;
}

.access-text p{
  margin-bottom: 50px;
}




/* フッター */

.footerWrap {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footerNav ul {
  grid-template-columns: 1fr 1fr; /* スマホでも2列表示を維持 */
  gap: 8px 24px;
  justify-content: center;
}

.footerNav ul li a {
  font-size: 12px;
}

.social {
  margin-top: 20px;
  justify-content: center;
}

#sp-fixed-menu{
  position: fixed;
  width: 100%;
  bottom: 0px;
  font-size: 0;
  opacity: 0.9;
  z-index: 99;
}

#sp-fixed-menu ul{
  display: flex;
  list-style: none;
  padding:0;
  margin:0;
  width:100%;
}

#sp-fixed-menu li{
  justify-content: center;
  display: inline-block;
  align-items: center;
  text-decoration: none;
  width: 50%;
  padding:0;
  border-right: 1px solid #fff;
}


#sp-fixed-menu li:first-child{
  background: #C70209;
}

#sp-fixed-menu li:last-child{
  background: #333333;
}

#sp-fixed-menu li a{
  color: #fff;
  text-align: center;
  display:block;
  padding:15px;
  font-size: 14px!important;
}

.line-link {
  display: inline-flex;
  align-items: center;   /* 縦中央揃え */
  text-decoration: none; /* 必要なら装飾リセット */
}

.line-link img {
  margin-right: 6px;     /* アイコンと文字の余白 */
  height: 24px;          /* アイコンサイズ調整（好みに合わせて） */
  width: auto;
}
}

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



/*Aboutページ */

.mainvisual-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* テキストのスタイル調整 */
  color: white;
  text-align: center;
  padding: 0 10px;
  width: 90%;
  max-width: 600px;
  font-size: 2rem; /* 適宜調整 */
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0,0,0,0.7); /* 背景が明るい時に見やすく */
}

.about-text p{
  font-size: 20px;
  text-align: center;
  line-height: 3;
  margin: 110px 0;
}

#questions{
  margin-bottom: 50px;
}

.questions-img{
  width: 700px;
  display: block;
  margin: 0 auto;
  padding-bottom: 50px;
}
.page-questions-title{
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.accordion {
  margin: 3em auto;
  max-width: 60vw;
  }

  .faq-category{
    margin-bottom: 10px;
  }
  .toggle {
  display: none;
  }
  .option {
  position: relative;
  margin-bottom: 1em;
  }
  .ac-title,
  .content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
  }
  .ac-title {
  padding: 1em;
  display: block;
  color: #333;
  font-weight: bold;
  text-align: left;
  background-color: #FFFfff;
  line-height:150%;
  }
  .ac-title::after,
  .ac-title::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #999;
  transition: all 0.3s;
  }
  .ac-title::after {
  transform: rotate(90deg);
  }
  .content {
  max-height: 0;
  overflow: hidden;
  }
  .content p {
  margin: 0;
  padding: 0.5em 1em 1em;
  font-size: 0.9em;
  line-height: 1.5;
  }
  .toggle:checked + .ac-title + .content {
  max-height: 500px;
  transition: all 1.5s;
  }
  .toggle:checked + .ac-title::before {
  transform: rotate(90deg) !important;
  }

@media(max-width: 767px){

.mainvisual-text {
  font-size: 14px;
}

.about-text p{
  font-size: 13px;
  line-height: 3;
  margin: 60px 0;
}


.accordion {
  margin: 1em ;
  max-width: 760px;
  }

  .ac-title::after,
  .ac-title::before {
    right: 0.75em; /* ä½ç½®ã‚’èª¿æ•´ */
    height: 0.6em; /* å°ã•ãã—ã¦ãƒãƒ©ãƒ³ã‚¹ã‚’å–ã‚‹ */
  }

  .page-questions-title{
    font-size: 18px;
    margin-bottom: 10px;
  }

}





@media (max-width: 768px) {
  .image-title-wrapper {
    margin-top: 20px;
  }

  .image-title-wrapper .menu-sec-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* 見やすくするために */
    font-size: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* 影で可読性アップ */
    margin: 0;
  }

}

/*メニューページ */
.course{
  text-align: center;
  margin: 100px 0;
}
.course img{
  margin:0 auto;
  max-width: 850px;
  margin-bottom: 30px;
}

.course .btn{
  margin: 0 auto;
  margin-bottom: 40px;
}
.course  .arrow-circle {
  background: #000000; 
}

.course-title{
  font-size: 26.25px;
  margin-bottom: 20px;
}

.course-text{
  font-size: 15.75px;
  margin-bottom: 20px;
}

/* スクロール位置の補正 */
#course1,
#course2,
#course3,
#course4 {
  scroll-margin-top: 90px; /* ← ヘッダー高さ＋余裕分 */
}

@media (max-width: 768px) {

.course{
  margin-top:50px;
  margin-bottom: 20px;
   padding:0 3%;
}

.course img{
  max-width: 100%;
  margin-bottom: 30px;
}

.course .btn{
  margin-bottom: 30px;
}

.course-title{
  font-size: 20px;
}

.course-text{
  font-size: 13px;
  margin-bottom: 20px;
  text-align: left;
}

}

/* ニュース一覧ページ */
#blog{
  color: #fff;
}
#blog-inner{
  max-width: 800px;
  margin: 0 auto;
}

.article{
  text-align: left;
}
.article-card {
  padding: 15px;
  border-bottom: 1px solid #fff; 
}

.article-card:last-child {
  border-bottom: none;
}

.news-date-title {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.time {
  font-size: 14px;
  color: #fff;
  margin-bottom: 5px;
}

.title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.detail-link {
  text-decoration: none; 
}

.detail-link:hover .title {
  color: #0073e6; 
}

.pagination {
  display: flex;
  justify-content: center; 
  margin-top: 20px;
  margin-bottom: 50px;
  padding: 10px 0;
}

.pagination a, .pagination span {
  margin: 0 5px;
  padding: 8px 16px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #333;
  text-decoration: none; /* 下線を消す */
  font-size: 16px;
}

.pagination .current {
  background-color: #c70209;
  color: white;
  border-color: #c70209;
  font-weight: bold;
}

.pagination .prev, .pagination .next {
  font-weight: bold;
}


/*ブログ個別ページ*/
.news {
  text-align: center;
}

.main-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 50px;
}

.main-container .title {
  margin-top: 10px;
  font-size: 24px;
}

.main-container img {
  margin: 30px 0 30px 0;
}

.main-container .next {
  margin-top: 30px;
  text-align: right;
}

.main-container .prev {
  text-align: right;
}

.blog-main {
  max-width: 900px;
  margin: 0 auto;
  padding-top:50px;
}


.category .article-title{
margin: 10px 0;
padding: 10px 0;
color: #ffffff;
}

.category .article-title a{
  color: #ffffff;
}


.meta {
  margin-bottom: 10px;
}
.wp-post-img{
  width: 100%;
  height: auto;
}
.catname{
  font-size: 13px;
  line-height: 1.5em;
  color: #1a1a1a;
  display: inline-block;
  word-break: break-word;
  padding: 6px 8px;
  margin-top: 10px;
  border-radius: 15px;
  text-decoration: none;
  background-color: #2B85A1;
}
.post-link {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
.post-link a{
  background-color: #C70209;
  color: #fff;
  border-radius: 50px;
  padding: 1em 5em;
  display: inline-block;
  margin: 40px 0;
  position: relative;
  font-weight: bold;
}

.blog-text{
  margin-top: 40px;
}

#ez-toc-container {
  margin-top: 60px!important;
  margin-bottom: 30px!important;
}

.blog-text h2 {
  position: relative;
  padding-left: 0;
  padding-bottom: 10px;
  border-top: none;
  border-bottom: none;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  background-color: transparent;
  margin: 20px 0;
}

.blog-text h3 {
  padding: 0.25em 0.5em;
  padding-left: 0;
  background: transparent;
  border-left: none;
  margin: 20px 0;
}

.blog-text img {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
 .blog-main {
  padding: 0%;
  margin: 0px;
  width: 100%;
 }


 article {
  margin: 10px;
 }
 .post-link {
  width: 100%;
 }

 .post-link a {
  padding: 10px 12px;
  font-size: 12px;
 }
}

/* ブログ記事個別ページ */

.related_post {
  width: 100%;
  margin-bottom: 40px;
}

.related_post h3 {
  font-size: 20px;
  font-weight: 600;
  border-left: 9px solid #C70209;
  text-align: justify;
  margin-bottom: 40px;
  padding: 0 15px;
  box-sizing: border-box;
  color: #fff;
}

/* ===============================
   news（標準レイアウト：縦並び）
=============================== */
.related_post_container {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related_post_container li {
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.related_post_container a {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.related_post_container a:hover {
  opacity: 0.8;
}

.related_time {
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 4px;
}

.related_title {
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

/* ===============================
   media / review 専用グリッドレイアウト
   (.grid-layout が付与されたとき)
=============================== */
.related_post.grid-layout .related_post_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC: 3列 */
  gap: 20px;
}

.related_post.grid-layout .related_post_container li {
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.related_post.grid-layout .related_post_container li:hover {
  transform: translateY(-4px);
}

/* サムネイル画像 */
.related_post.grid-layout .related_thumb {
  aspect-ratio: 16 / 9; /* 比率を固定：例 16:9 */
  overflow: hidden;
}

.related_post.grid-layout .related_thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 全体を表示（余白あり） */
  border-radius: 4px;
}

/* ===============================
   レスポンシブ対応
=============================== */

/* 768px以下：グリッドを2列に */
@media (max-width: 768px) {
  .related_post.grid-layout .related_post_container {
    grid-template-columns: repeat(2, 1fr);
  }

  .related_post h3 {
    font-size: 18px;
  }

  .related_time {
    font-size: 12px;
  }

  .related_title {
    font-size: 14px;
  }
}

/* 550px以下：1列表示に */
@media (max-width: 550px) {
  .related_post.grid-layout .related_post_container {
    grid-template-columns: 1fr;
  }
}


/* カテゴリーページ */
.category-content{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 100px;
}

.category .article-title{
  border: none;
  margin: 0!important;
  padding: 0;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  text-align: left;
  }
  
  .category .article-title a{
    color: #000;
    font-size:14px;
  }

.category .text{
  margin-top: 20px;
}

main .page-title {
  border-bottom: solid 1px #777;
  font-size: 1.75rem;
  padding-bottom: 10px;
  margin-bottom: 60px;
}

.each-article {
  text-align: left;
}


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

  .each-article {
    width: 300px;
  }
  .category-content{
    display: block;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
  }
}

/* 検索ページ */
.search{
  padding-left: 0;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin: 10px 0 30px 0;
}

/* 404ページ */
.page-content a{
  color: #ffffff;
  padding-left: 10px;
}

.error-404 {
  padding-bottom: 100px; 
}




/* プライバシーポリシー */
#main{
  margin-bottom: 100px;
}
#main h1 {
  padding-top: 50px;
  margin-bottom: 30px;
  font-size: 30px;
  text-align: center;
}

#main h2 {
  margin: 30px 0 10px 0;
}

#main h3 {
  margin: 10px 0 10px 0;
}

#main h4 {
  margin: 10px 0 10px 0;
}

#main li {
  margin: 10px 0 10px 0;
}
.entry-content{
  padding: 0 1rem;
  max-width: 1100px;
  margin: 0 auto;
}


/* コンタクトフォーム */
#cf7-area {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  font-family: "遊ゴシック", "ヒラギノ角ゴ", "メイリオ", "MS Pゴシック", sans-serif;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.form-heading {
  margin-bottom: 50px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.cf7-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px; /* ラベルと入力の間隔 */
  flex-wrap: wrap; /* スマホ対応で折り返し */
}

.cf7-q {
  flex: 0 0 35%; /* ラベル幅35% */
  max-width: 150px;
  font-weight: bold;
  margin-left: 10px;
  box-sizing: border-box;
}

.cf7-q label {
  display: block;
}

.cf7-a {
  flex: 1 1 60%;
  box-sizing: border-box;
}

.cf7-a input[type="text"],
.cf7-a input[type="email"],
.cf7-a textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.cf7-a input[type="text"]:focus,
.cf7-a input[type="email"]:focus,
.cf7-a textarea:focus {
  border-color: #C70209;
  outline: none;
}

.cf7-a textarea {
  min-height: 120px;
  resize: vertical;
}

.cf7-req {
  font-size: 0.8em;
  padding: 3px 6px;
  background: #fff;
  color: #C70209;
  border: 1px solid #C70209;
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
}

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

.wpcf7 input.wpcf7-submit {
  background-color: #C70209;
  color: #fff;
  font-size: 1.1em;
  padding: 15px 40px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 250px;
  width: 100%;
  max-width: 250px;
  font-weight: bold;
}

.wpcf7 input.wpcf7-submit:hover {
  background-color: #a30006;
  color: #fff;
}

.wpcf7-spinner {
  display: none !important;
}

/* スマホなど狭い画面用 */
@media (max-width: 480px) {

  #main h1{
    font-size: 24px;
    margin-bottom: 0;
  }

  .form-heading{
    font-size: 14px;
  }

  #cf7-area{
   margin: 0;
   padding: 0;
   width: 100%;
  }
  .cf7-item {
    flex-direction: column;
    align-items: stretch;
  }
  .cf7-q {
    margin-left: 0;
    margin-bottom: 6px;
    flex: none;
    max-width: none;
  }
  .cf7-a {
    flex: none;
  }
}






