.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-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);
    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);
  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: 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-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-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: #000;
    padding: 0.3rem 2.5em;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 30px;
    font-weight: 500;
    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: 0 0 20px;
}
