html {
  background-color: #ffffff;
  scrollbar-width: none;
  transition: all 0.3s;
}
section.message {
  padding: 8% 0% 7%;
  margin: 0 auto 2%;
  position: relative;
  display: flex;
  justify-content: center;
}

section.message::after {
  content: "";
    width: 460px;
    height: 3px;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: calc(50% - 230px);
}

section.message h2 {
  font-family: Bebas Neue, sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: .05em;
  border-left: solid 3px #000;
  position: absolute;
  top: 8rem;
  left: 12.5%;
  writing-mode: vertical-rl;
}

section.message p {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 2.05em;
  margin: 0 auto 2em;
  white-space: nowrap;
}

section.message p:last-child {
  margin: 0 auto;
}

section.message p.copy-en {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 8.7em;
  font-weight: 500;
  line-height: 1em;
  margin: 0 auto .1em;
}

section.message p.copy {
  font-size: 2.7em;
  letter-spacing: .4em;
}

section.message div {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

section.message p.copy {
  font-size: 1.6em;
  letter-spacing: .4em;
}

.my-svg {
  width: 55%;
  height: auto;
  margin: 20% auto 10%;
  display: block;
  animation: blink 5s infinite, color-change 7s infinite;
  transition: transform 0.1s;
}

.my-svg:hover {
  animation: shake 0.5s infinite, blink 5s infinite, color-change 7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes color-change {
  0%, 100% { fill: #000000; }
  50% { fill: #ffff00; }
}

@media (max-width: 768px) {
  .my-svg {
    width: 75%;
    height: auto;
    margin: 17% auto 13%;
    display: block;
  }

  section.message {
    padding: 8% 20% 7%;
    margin: 0 auto 10%;
    display: flex;
    justify-content: center;
  }

  section.message p {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 2.5em;
    margin: 0 auto 2em;
    white-space: nowrap;
    display: inline;
    font-size: 0.9rem;
  }

  section.message p.copy {
    font-size: 1.1rem;
    letter-spacing: .4em;
    margin-bottom: 5%;
    display: block;
  }

  h2.message {
    display: none;
  }

  section.message::after {
    content: "";
    width: 40%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    margin-bottom: 0%;
  }
}

.video-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 65%);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.video-wrapper {
  position: relative;
  width: 75%;
  padding-bottom: 35%;
  margin: 2rem auto;
}

#youtube-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay.active {
  display: flex;
  opacity: 1;
}

.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .video-wrapper {
    width: 95%;
    padding-bottom: 56.25%;
    margin: 1rem auto;
  }

  .close-btn {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 18px;
  }

  .video-wrapper {
    max-width: 50rem;
  }
}
section.message div {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
}
/* 基本スタイル */
.message.shop dt {
    display: flex;
    width: 40%;
}
    .message.shop dt img {
        width: 1rem;
        margin-right: 1rem;
        margin-top: 0%;
    }
    .Anime.fadeIn_left {
    display: flex;
    margin: 4% 0 0%;
}
span.leadtitle {
    font-size: 1rem;
    font-family: YakuHanJP, Zen Kaku Gothic New, sans-serif !important;
    font-weight: 500;
}
    .message.shop dd {
    width: 60%;
    margin-left: 0;
    font-size: 1rem;
    font-family: YakuHanJP, Zen Kaku Gothic New, sans-serif !important;
    font-weight: 500;
}
.sponly {
    display: none;
}
/* スマホ専用のスタイル */
@media only screen and (max-width: 768px) {
    .message.shop dt {
        display: flex;
        width: 100%;
        /* 必要に応じて他のスタイルを追加 */
    }
.sponly {
    display: inline;
}
.pconly {
    display: none;
}
    .message.shop span.leadtitle {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 2%;
        margin-top: 3%;
    }
    .message.shop dt img {
        width: 0.8rem;
        margin-right: 1rem;
        margin-top: 3%;
    }
.message.shop dd {
        margin-left: 0;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 1px;
        line-height: 1.2rem;
        margin-bottom: 1%;
        margin-top: 3%;
    }
    .message.shop .Anime {
        margin: 7% 0 0;
        width: 100% !important;
        min-width: -webkit-fill-available;
    }
img.iconstage {
    width: 1rem !important;
    display: block;
    margin-right: 1rem;
}
.Anime.fadeIn_left {
    display: inline-block;
    margin: 5% 0 0%;
}
.message.shop dd {
    width: 100%;
}
.Anime.fadeIn_left.pconly {
    display: none;
}
    .message.shop span.leadtitle {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 2%;
        margin-top: 3%;
        font-weight: 500;
    }
        section.message.shop {
        padding: 12% 5% 7%;
        margin: 0 auto 10%;
        display: block;
        justify-content: center;
    }
    section.message h2 {
    font-family: Bebas Neue, sans-serif;
    font-size: 1.8rem;
    letter-spacing: .05em;
    text-decoration: underline;
    position: relative;

}
    h2.message {
        display: inline;
    }
    .wrap {
        margin: 8% 20% 0 !important;
    }
section.message div {
    width: 100%;
    max-width: fit-content;
    margin: 0 auto;
}
    section.message h2 {
        font-family: Bebas Neue, sans-serif;
        font-size: 1.5rem;
        font-weight: 500;
        letter-spacing: .05em;
        border-left: none;
        position: relative;
        top: 0;
        left: auto;
        margin: 2% 0 5% 0;
        writing-mode: horizontal-tb;
    }
    h2.message.concept {
    display: none;
}
    section.topics {
        width: 90%;
        margin: 7rem auto 20%;
    }
    .title-ani {
    overflow: hidden;
    color: #393939 !important;
    transition-delay: 0.6s;
    font-size: 2rem;
}
.title-ani-s {
    overflow: hidden;
    color: #343434 !important;
    transition-delay: 0.7s;
    font-size: 1rem;
}
    .contact {
        margin: 6% auto 0;
        width: 100%;
        padding: 6% 0 0;
        padding: 0 0% 0 7%;
        background: none;
    }
}
.my-svg {
    width: 55%;
    height: auto;
    margin: 20% auto 10%;
    display: block;
    animation: blink 5s infinite, color-change 7s infinite;
    transition: transform 0.1s;
}
section.message p {
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 3.5em;
    margin: 0 auto 2em;
    white-space: nowrap;
    display: inline;
    font-size: 1rem;
}
.floating-icon {
    position: fixed;
    right: 25%;
    bottom: 5rem;
    width: 4.3rem;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(50px); /* 初期状態では少し下に隠れている */
}

/* マウスホバーでシェイクアニメーションを追加 */
.floating-icon:hover {
    animation: shake 0.5s ease-in-out;
}

/* シェイクアニメーションの定義 */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}


  /* アイコンが表示されるときのスタイル */
  .floating-icon.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* スライドイン */
  }
  .floating-icon.hide {
    opacity: 0; /* フェードアウト */
    transform: translateY(50px); /* フェードアウト時に下にスライド */
  }

  /* オーバーレイのスタイル */
  .video-overlay {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 70%);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease; /* フェードインと拡大のトランジション */
    transform: scale(0.9); /* 初期状態では少し縮小 */
  }

  /* 動画をレスポンシブに表示するためのラッパー */
  .video-wrapper {
    position: relative;
    width: 80%;
    padding-bottom: 30%;
    margin: 2rem auto;
  }

  /* YouTube動画のスタイル */
  #youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* オーバーレイが表示されるときのアクティブ状態 */
  .video-overlay.active {
    display: flex;
    opacity: 1;
    transform: scale(1); /* 拡大して元のサイズに */
  }

  /* 閉じるボタンのスタイル */
  .close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
  }

  /* スマホや小さな画面向けの調整 */
  @media (max-width: 768px) {
    .video-wrapper {
      width: 95%;
      padding-bottom: 56.25%; /* アスペクト比を維持 */
    }
    section.message p {
            font-size: 0.9rem;
    }
    .my-svg {
        width: 65%;
    }
    .floating-icon {
        position: fixed;
        right: 10%;
    }
    section.message {
        padding: 8% 0% 10%;
        margin: 0 auto 10%;
        display: flex;
        justify-content: center;
    }
    .close-btn {
      font-size: 1.5rem; /* 閉じるボタンのサイズも調整 */
    }
  }

  /* 大画面向けの調整 */
  @media (min-width: 1200px) {
    .video-wrapper {
      max-width: 60rem;
    }
  }
  p.text001.cat.kadai {
    margin-bottom: 4%;
}
.inner{
    width: 75vw;
    margin: 0 auto;
    margin-top: 5%;
}
.inner.news {
    margin-top: 8%;
}
.newsDl .subDl dd {
    width: 86%;
    padding: 0% 0 1% 5%;
    float: left;
}
.newsDl .subDl dd .news_txt {
    width: 80%;
    padding-right: 0%;
    padding-left: 0%;
    float: left;
    word-break: break-all;
    letter-spacing: 0vw;
    line-height: 2.2;
    font-weight: 500;
    -webkit-text-stroke: 0vw;
}
.newsDl .subDl dd .news_date {
    width: 16%;
    float: left;
    margin-right: 0%;
    font-size: 1.6rem;
    font-weight: 500;
    -webkit-text-stroke: 0.02vw;
    line-height: 1.6vw;
}
.newsDl .subDl dt {
    margin-top: 0%;
}
span.titleh2.new {
    margin-left: 1%;
    font-size: 2.2rem;
    color: #000!important;
}
dt.news_category.animation_item {
    width: 14%;
    background: #000000;
    border-radius: 25px;
    text-align: center;
    float: inline-start;
    padding: 0px 27px 0px;
    clear: both;
    color: #ffffff;
    line-height: 3.4rem;
}
dt.news_category.animation_item {
    line-height: 3rem;
}
p.contentslead {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.25;
    letter-spacing: .1em;
}
p.concepttext {
    font-size: 1rem;
    line-height: 2rem;
    letter-spacing: 1px;
    -webkit-text-stroke: 0.01vw;
}

h2.c-heading-primary {
    font-size: 1.3rem;
    margin: 1% 0 5% 0;
    font-weight: 600;
    display: flex;
    align-items: center; /* ポチとテキストを中央揃えに */
}
h2.c-heading-primary.more {
    margin: 0% 0 0% 0;
}

h2.c-heading-primary::before {
    content: '';
    display: inline-block;
    width: 0.3em;
    height: 0.3em;
    background-color: #FFD700;
    border-radius: 50%;
    margin-right: 0.5em;
    flex-shrink: 0;
}
.value-box-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin: 2rem 0;
}

.value-box {
    flex: 1 1 calc(33.333% - 2rem);
    /* min-width: 280px; */
    box-sizing: border-box;
    background: #f7f7f7;
    border-radius: 20px;
    padding: 3% 3% 5%;  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-tag {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.value-tag .label {
    font-weight: 600;
    margin-right: 0.1em;
    font-size: 0.74rem;
}

.value-tag .line {
    flex-grow: 1;
    height: 1px;
    background-color: #000;
    margin: 0 -0.5em 0 0.3em;
    max-width: 29px;
}

.value-tag .circle {
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
}
.value-content h3 {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0rem;
    line-height: 4.6;
    text-align: center;
}

.value-content p {
    font-size: 0.94rem;
    line-height: 1.6;
}
.value-box:hover {
  transform: scale(1.03); /* 少しだけ拡大 */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* ふわっと浮く感じ */
}
/* スマホ対応 */
@media screen and (max-width: 768px) {
  .value-box {
    flex: 1 1 100%;
  }
}
.kensyu.bcon {
    overflow-x: hidden !important;
}
.kensyu.bcon {
    width: 95vw;
    max-width: calc(95vw);
    margin-left: 5vw;
    border-radius: 5.8651026393vw 0 0 5.8651026393vw;
    background-color: #fff5c4;
    padding: 5vw 0 6vw;
    margin-top: 5%;
}
.kensyu.w70.ow {
    width: 72vw;
    margin: 0 14vw 0 9vw;
}
.accordion-content {
    display: none;
    margin: 1.5em 0 0em;
}

.accordion-content.is-open {
  display: block;
}

.accordion-title {
  cursor: pointer;
  position: relative;
  padding-right: 2em;
}

.accordion-title .open-close-btn::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
}

.accordion-title.is-open .open-close-btn::after {
  content: '−';
}
.accordion-item {
    font-size: 1rem;
    border-top: 1px solid #e8e8e8;
    padding: 2%;
}
.faqbox {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 9%;
}
.training-section {
  background-color: #fff6cc; /* 黄色背景にマッチ */
  padding: 2rem;
  border-radius: 60px 0 0 0;
}

.section-title {
  font-weight: bold;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  position: relative;
}
.section-title::before {
  content: "●";
  color: #FFD700;
  margin-right: 0.5em;
  position: absolute;
  left: 0;
  top: 0;
}
.training-card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列に固定 */
  gap: 20px;
}

.training-card-link {
  text-decoration: none;
  color: inherit;
}

.training-card-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.training-card {
    background-color: #ffffff;
    color: #000000;
    border-radius: 12px;
    padding: 1.5rem 1rem 1rem;
    width: 20vw;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 4px solid #fcdc39;
    text-align: center;
    min-height: 13vw;
}
.training-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.training-card > div {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .training-card-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .training-card {
    width: 90%;
  }
}
.training-card {
    background-color: #ffffff;
    color: #000000;
    border-radius: 12px;
    padding: 1rem;
    width: 20vw;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 4px solid #fcdc39;
    text-align: center;
    min-height: 13vw;
}
.training-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; /* オプション：ピタッと止める */
}

.training-card-wrapper {
  display: block;width: 100%;
  gap: 1rem;
  padding-left: 0rem;
}

.training-card {
  flex: 0 0 auto;
  width: 100%;
  min-height: 16vw;
  background-color: #ffffff;
  color: #000000;
  border-radius: 12px;
  padding: 1rem;
  border: 4px solid #fcdc39;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start; /* オプション */
}
.training-place {
    font-size: 0.9rem !important;
    background: #fcdc38;
    border-radius: 20px;
    padding: 3% 2rem;
    margin: 0 auto;
    margin-top: 4%;
    display: inline-block;
    font-weight: 500;
}
.training-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.training-title {
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
    padding: 3%;
    font-size: 1rem;
    font-weight: 500;
    margin: 4% 1%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.swiper-container.training-swiper {
  width: 100%;
  padding: 2rem 1rem;
}


.s-section1 .textbox {
    position: absolute;
    top: calc(50% + 30px);
    left: 2%;
    transform: translateY(-50%);
}
.training-date {
    margin-top: 9%;
    font-size: 1rem;
    font-weight: 500;
}
@media (max-width: 768px) {
.inner {
    width: 85%;
    margin: 0 auto;
    margin-top: 5%;
}
h2.c-heading-primary {
    font-size: 18px;
    margin: 3rem 0 2rem 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}
p.concepttext {
    font-size: 15px;
    line-height: 1.8rem;
    letter-spacing: 1px;
    -webkit-text-stroke: 0.01vw;
    font-weight:400;
}
.value-content p {
    font-size: 15px;
    line-height: 1.6rem;
    padding: 0 1rem 1rem;
}
.value-tag {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-top: 1rem;
}
.training-card {
    width: 18rem;
}
.accordion-item {
    font-size: 1rem;
    border-top: 1px solid #e8e8e8;
    padding: 5% 0;
}
.kensyu.bcon {
    width: 95vw;
    max-width: calc(95vw);
    margin-left: 5vw;
    border-radius: 5.8651026393vw 0 0 5.8651026393vw;
    background-color: #fff5c4;
    padding: 10vw 0 12vw;
    margin-top: 10%;
}
section#faq {
    margin: 13vw 0 14vw;
}
}
.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
    margin: 1% 0 5%;
}

.faq-button {
    background-color: #ffffff;
    color: #fff;
    padding: 0.3rem 2.5em;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 30px;
    font-weight: 500;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    color: #000;
    font-size: 0.94rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.faq-button:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.training-empty{
  text-align:center;
    font-size: 0.95rem;
    line-height: 1.6;
font-weight:500;
  padding:0px 0 20px;
}