body{
  padding: 0;
  margin: 0;
}

  /* ローディング画面のCSS */
  .my-custom-loader-wrapper{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

/* 電車のアニメーション */

.animation {
  animation: animetxt 10s linear infinite;
  transform: translateX(280%);
  overflow: hidden;
}

@keyframes animetxt {
100% {
  transform: translateX(-100%);
  overflow: hidden;
 }
}

@media screen and (min-width:768px) {
  .animation {
    animation: animetxt 15s linear infinite;
    transform: translateX(2000%);

  }
  
  @keyframes animetxt {
  100% {
    transform: translateX(-1000%);
   }
}
}


/* アクセシビリティ対策 */
.visuallyHidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

header{
  position: fixed;
  width: 100%;
  padding-left: 10px;
  border-bottom:4px dashed #282828 ;
  background-color: #fff;
  z-index: 1000;
}

.header-flame{
padding: 20px 0 0 5px;
}

.menu-list  {
padding: 50px 0 0 0;
}


.menu-list > li {
  list-style: none;
}

.menu-list > .menu-item a {
  text-decoration: none;
  color:#333;
}


/* ハンバーガーボタンのスタイル */
.hamburger {
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: block;
  height: 32px;
  outline: none;
  position: fixed;
  right: 20px;
  top: 20px;
  transition: transform .6s, width .6s;
  width: 40px;
  z-index: 200; /* メニューが開いてもハンバーガーボタンが上に表示されるように */
}
/* ハンバーガーメニュー三本線 */
.hamburger-line {
  background-color: #000;
  height: 2px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  transition: inherit;
  width: 100%;
}
.hamburger-line::before,
.hamburger-line::after {
  background-color: #000;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: inherit;
  width: 100%;
}
.hamburger-line::before {
  top: 10px;
}
.hamburger-line::after {
  top: 20px;
}
/* ハンバーガーメニュー三本線オープン時 */
.hamburger[aria-expanded="true"] .hamburger-line {
  transform: translateY(15px) rotate(-45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line::before {
  transform: translateY(-12px) translateX(20px) rotate(45deg);
  width: 0;
}
.hamburger[aria-expanded="true"] .hamburger-line::after {
  transform: translateY(-20px) rotate(90deg);
}
/* オーバーレイのスタイル */
.overlay {
  display: none;
}

.overlay.active {
  display: none;
}
/* メニューのスタイル */
.modal-container {
  background-color: #fff;
  height: 100%;
  position: fixed;
  right: -100%;
  transition: right .6s ease-in-out;
  width: 50%;
  z-index: 20; /* オーバーレイよりも上に来るようにするため */
}
.modal-container[aria-hidden="false"] {
  overflow-y: scroll;
  right: 0;
  transition: right .6s ease-in-out;
}
.menu-item {
  margin-top: 20px;
  text-align: center;
}
.menu-link {
  display: inline-block;
}
/* セクションのスタイル */
section {
  background-color: rgba(255, 255, 255, 0.5);
  /* background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 1, 1, .1) 10px, rgba(255, 1, 1, .1) 20px );
  background-size: auto auto;
  height:  auto; */
  padding: 50px 0;
}


.section-title {
  color: #333;
  font-size: 24px;
  position: relative;
  border: 4px dashed #282828;
  display:block;
  margin: 0 auto;
  padding:10px 20px;
  text-align: center;
  max-width: 300px;

}

/* タイトルの下線 */
.section-title > h2::after{
content: "";
position: absolute;
top:0;
right: 0;
background-image: url("images/icon/maeno-icon-270-270.png");
display: block;
width: 60px;
height: 5px;
background-color: #E95307;
margin: 10px auto 0;
}


@media screen and (min-width: 768px) {
  .section-title {
    color: #333;
    font-size: 28px;
    text-align: center;
    max-width: 500px;

  }   
}
/* セクションごとの色 */

.section01 {
  background-color: #fff;
  padding: 100px 0 0 0 ;
  border-bottom:4px dashed #282828 ;
}

.section02 {
  background-color: #ffdf88;
  border-bottom:4px dashed #282828 ;

}
.section03 {
  background-color: #fff;
}
.section04 {
  background-color: #ffdf88;
}
.section05 {
  background-color: #fff;
}
.section06 {
  background-color:  #ffdf88;
}
/* モーダルの基本スタイル */
.modal {
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 100;
}

.modal__container {
  background-color: #fff;
  width: 50%;
  height: 100vh;
  overflow-y: auto;
}

/* アニメーション用のスタイル */
.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

@keyframes mmfadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mmfadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes mmslideOut {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

.section01 > p {
  text-align: center;
}

.blog-section {
  padding: 40px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.blog-card {
  flex: 1;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 10px;
  border: 3px dashed #282828;
}

@media screen and (min-width: 768px) {
  .blog-card {
    border: 4px dashed #282828;
  }  
}



.blog-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.blog-title {
  font-size: 18px;
  margin: 15px 0 10px;
}

.blog-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .blog-container {
      flex-direction: column;
  }
}

.article-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article-meta {
  color: #666;
  margin-bottom: 1rem;
}

.article-category {
  margin-left: 1rem;
}

.article-main-image {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.article-body {
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}

.article-tags {
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  background: #f0f0f0;
  padding: 0.3rem 0.8rem;
  margin-right: 0.5rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.back-to-home {
  display: inline-block;
  margin-top: 1rem;
  color: #333;
  text-decoration: none;
}

.back-to-home:hover {
  text-decoration: underline;
}


/* メンバー限定コンテンツ */
.category-section {
  padding: 40px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-container {
  gap: 20px;
}

@media screen and (min-width: 768px) {
  .category-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

}
}

.category-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

@media screen and (min-width: 768px) {
  .category-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    width: 45%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
  }
}

@media screen and (min-width: 1200px) {
  .category-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 25%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
  }
}


.category-card_title{
  display: flex;
  justify-content: space-between;
}

.category-card img {
  width: 80px;
  height: 80px;
  display: block;
  margin-bottom: 10px;
}
.category-card h3 {
  font-size: 18px;
  margin: 10px 0;
}
.category-card p {
  font-size: 14px;
  color: #666;
}
.category-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

@media (max-width: 768px) {
  .category-links {
    list-style: none;
    padding: 0;
  }  
}

.category-links li {
  width: 49%;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}
.category-links li a {
  text-decoration: none;
  color: #282828;
  font-size: 14px;
}
.category-links li:last-child {
  border-bottom: none;
}
.category-button {
  display: block;
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  border: 1px solid #008000;
  border-radius: 5px;
  text-decoration: none;
  color: #008000;
  font-size: 14px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .category-container {
      flex-direction: column;
      align-items: center;
  }
}