/*--トップページ：アイキャッチ--*/
.top_eye {
  position: relative;
  margin-bottom: 100px;
  isolation: isolate;
}

video {
  height: auto;
  width: 100%
}

.video_box {
  position: relative;
  height: auto;
  /* 	padding-top:105px; */
  overflow: hidden;
}

.video_box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 8, 0.05) 0%, rgba(7, 12, 8, 0.18) 52%, rgba(7, 12, 8, 0.42) 100%);
  opacity: 0;
  animation: topHeroShade 2.2s ease-out 0.2s forwards;
  pointer-events: none;
}

.top_kendo {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.04) saturate(1);
  animation: topHeroImageTone 2.4s ease-out forwards;
}

.top_eye::after {
  content: "少年剣道のさらに先へ";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: calc(100% - 32px);
  color: #fff;
  font-size: clamp(30px, 4.5vw, 58px);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  opacity: 0;
  animation: topHeroTitleReveal 1.8s ease-out 0.7s forwards;
  pointer-events: none;
}

.top_eye h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 1240px;
  color: #fff;
  font-size: 50px;
  font-weight: normal;
  text-align: center;
  text-shadow: 0 0 10px #000;
  margin-top: 31px;
}

@keyframes topHeroImageTone {
  0% {
    filter: brightness(1.08) saturate(1.02);
    transform: scale(1);
  }

  100% {
    filter: brightness(0.93) saturate(0.92);
    transform: scale(1.015);
  }
}

@keyframes topHeroShade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes topHeroTitleReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -43%);
    letter-spacing: 0.16em;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
    letter-spacing: 0.08em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  }
}

@media screen and (max-width: 1040px) {
  .top_eye::after {
    max-width: calc(100% - 24px);
    font-size: clamp(20px, 5.2vw, 40px);
    letter-spacing: 0.04em;
  }
}

/*--トップページ：コンテンツ--*/
.top_contents {
  margin-bottom: 20px;
  padding-bottom: 50px;
  border-bottom: 4px solid #005500;
}

.top_contents_wrap_left {
  display: flex;
  align-items: center;
}

.top_contents_wrap_right {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.top_contents_wrap_left img {
  width: 50%;
}

.top_contents_wrap_left div {
  width: 50%;
}

.top_contents_wrap_right img {
  width: 50%;
}

.top_contents_wrap_right div {}

.top_contents_wrap_box2 {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

.top_contents_wrap_box2_inner {
  margin-right: 30px;
}

.top_contents_wrap_box2_inner .top_contents_wrap_text {
  width: auto;
}

.top_contents_wrap_box1 .top_contents_wrap_text,
.top_contents_wrap_box2_inner .top_contents_wrap_text {
  width: 420px;
  max-width: 100%;
}

.top_contents_wrap_left .top_contents_wrap_box2 {
  justify-content: flex-start;
}

.top_contents_wrap_left .top_contents_wrap_box2_inner {
  margin-right: 0;
  margin-left: 0;
}

.top_contents_wrap_right .top_contents_wrap_box3 {
  margin-right: 0;
  margin-left: auto;
  width: 360px;
  max-width: 100%;
}

.top_contents_wrap_right .top_contents_wrap_box3 .top_contents_wrap_text {
  width: auto;
  max-width: 100%;
  word-break: break-word;
}

/* .top_contents h3 {
  display: inline-block;
  font-size: 70px;
  font-style: italic;
  font-weight: normal;
  line-height: 1em;
  border-bottom: 4px solid #333;
  margin: 20px 0 10px 30px;
} */
.top_contents_wrap_subtitle_en {
  font-size: 26px;
  font-weight: bold;
  margin-left: 30px;
}

.top_contents_wrap_subtitle_jp {
  font-size: 22px;
  margin: 0 0 10px 30px;
}

.top_contents_wrap_text {
  width: 480px;
  margin: 0 0 15px 30px;
}

.top_contents_wrap_link {
  margin-left: 30px;
}

.top_contents_wrap_link a {
  position: relative;
  display: inline-block;
  color: #fff;
  font-size: 16px;
  background: #333;
  padding: 10px 60px;
}

.top_contents_wrap_link a i {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  color: #fff;
  font-size: 18px;
}

.top_contents_wrap_right div h3,
.top_contents_wrap_right div .top_contents_wrap_subtitle_en,
.top_contents_wrap_right div .top_contents_wrap_subtitle_jp,
.top_contents_wrap_right div .top_contents_wrap_text,
.top_contents_wrap_right div .top_contents_wrap_link {
  margin-left: 0;
}

.top_contents_wrap_left div h3,
.top_contents_wrap_left div .top_contents_wrap_subtitle_en,
.top_contents_wrap_left div .top_contents_wrap_subtitle_jp,
.top_contents_wrap_left div .top_contents_wrap_text,
.top_contents_wrap_left div .top_contents_wrap_link {
  margin-left: 180px;
}

/*--トップページ：3つの事業紹介--*/
.top_businessintroduction {
  margin-bottom: 100px;
}

.top_businessintroduction h3 {
  width: 475px;
  font-size: 34px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  margin: 0 auto 30px;
}

.top_businessintroduction h3:before {
  margin-right: 30px;
}

.top_businessintroduction h3:after {
  margin-left: 30px;
}

.top_businessintroduction h3:before,
.top_businessintroduction h3:after {
  border-top: 2px solid #333;
  content: "";
  display: inline;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex: 1;
  flex-grow: 1;
}

.top_businessintroduction ul {
  overflow: hidden;
  width: 1240px;
  margin: auto;
}

.top_businessintroduction ul li {
  position: relative;
  float: left;
  width: 400px;
  margin-right: 20px;
}

.top_businessintroduction ul li:last-child {
  margin-right: 0;
}

.top_businessintroduction ul li a {
  display: block;
}

.top_businessintroduction ul li img {}

.top_businessintroduction ul li p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 240px;
  color: #fff;
  text-align: center;
  border: 1px solid #fff;
  padding: 20px 0;
}

@media screen and (max-width: 1040px) {
  .top_contents_wrap_left,
  .top_contents_wrap_right {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 40px;
  }

  .top_contents_wrap_left img,
  .top_contents_wrap_right img,
  .top_contents_wrap_left div,
  .top_contents_wrap_right div {
    width: 100%;
    max-width: 100%;
  }

  .top_contents_wrap_left .top_contents_wrap_box1,
  .top_contents_wrap_right .top_contents_wrap_box3,
  .top_contents_wrap_left .top_contents_wrap_box2,
  .top_contents_wrap_left .top_contents_wrap_box2_inner {
    margin-left: 0;
    margin-right: 0;
  }

  .top_contents_wrap_left div h3,
  .top_contents_wrap_left div .top_contents_wrap_subtitle_en,
  .top_contents_wrap_left div .top_contents_wrap_subtitle_jp,
  .top_contents_wrap_left div .top_contents_wrap_text,
  .top_contents_wrap_left div .top_contents_wrap_link,
  .top_contents_wrap_right div h3,
  .top_contents_wrap_right div .top_contents_wrap_subtitle_en,
  .top_contents_wrap_right div .top_contents_wrap_subtitle_jp,
  .top_contents_wrap_right div .top_contents_wrap_text,
  .top_contents_wrap_right div .top_contents_wrap_link {
    margin-left: 30px;
    margin-right: 30px;
  }

  .top_contents_wrap_left .top_contents_wrap_box2 {
    justify-content: flex-start;
  }

  .top_contents_wrap_box1 .top_contents_wrap_text,
  .top_contents_wrap_box2_inner .top_contents_wrap_text,
  .top_contents_wrap_right .top_contents_wrap_box3 .top_contents_wrap_text {
    width: auto;
    max-width: none;
  }
}

@media screen and (max-width: 767px) {
  .top_contents_wrap_left .top_contents_wrap_box1,
  .top_contents_wrap_right .top_contents_wrap_box3,
  .top_contents_wrap_left .top_contents_wrap_box2_inner {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
  }

  .top_contents_wrap_left div h3,
  .top_contents_wrap_left div .top_contents_wrap_subtitle_en,
  .top_contents_wrap_left div .top_contents_wrap_subtitle_jp,
  .top_contents_wrap_left div .top_contents_wrap_text,
  .top_contents_wrap_left div .top_contents_wrap_link,
  .top_contents_wrap_right div h3,
  .top_contents_wrap_right div .top_contents_wrap_subtitle_en,
  .top_contents_wrap_right div .top_contents_wrap_subtitle_jp,
  .top_contents_wrap_right div .top_contents_wrap_text,
  .top_contents_wrap_right div .top_contents_wrap_link {
    margin-left: 30px;
    margin-right: 0;
  }

  .top_contents_wrap_left div .top_contents_wrap_text,
  .top_contents_wrap_right div .top_contents_wrap_text {
    width: calc(100% - 60px);
    max-width: calc(100% - 60px);
    margin-right: 30px;
  }
}

/*--トップページ：ニュース--*/
.top_news {
  display: flex;
  /*   background: #fff; */
  padding-bottom: 80px;
}

.top_news_title {
  position: relative;
  /*   width: 60%; */
  background: #006600;
  margin-right: 3%;
}

.top_news_title h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  color: white;
  font-size: 28px;
  border-top: 3px double white;
  border-bottom: 3px double white;
  padding: 30px 0;
}

.top_news_list {
  /*   width: 62%; */
}

.top_news_list ul {
  /*   padding-left:75px; */
  margin-bottom: 20px;
}

.top_news_list ul li {
  position: relative;
  padding: 20px 20px 20px 0;
}

.top_news_list ul li a {
  display: flex;
  align-items: flex-start;
}

.top_news_list_day {
  width: 120px;
  flex-shrink: 0;
  margin: 0 15px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.top_news_list_title {
  flex-grow: 1;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.mr_news_list_title {
  text-decoration: none;
}

.top_news_list ul li a i {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
}

.top_news_list_link {
  margin-bottom: 10px;
}

.top_news_list_link a {
  display: inline-block;
  font-size: 12px;
  border: 1px solid #333;
  padding: 7px 40px;
}

.fa-angle-double-right:before {
  display: none;
}

/* 旧 main.css から移設したトップページ専用スタイル */
.mr_news {
  display: flex;
  padding-bottom: 80px;
}

.mr_news_title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)), url('../images/site/news_topics_right.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-right: 3%;
}

.mr_news_title h3 {
  position: unset;
  top: auto;
  left: auto;
  transform: none;
  -webkit-transform: none;
  -ms-transform: none;
  color: white;
  font-size: 28px;
  border-top: none;
  border-bottom: none;
  padding: 0;
  background: transparent;
}

.mr_news_list ul {
  padding: 30px 20px 0 0;
  margin-bottom: 20px;
}

.mr_news_list ul li {
  position: relative;
  padding: 20px 20px 20px 0;
}

.mr_news_list ul li a {
  display: flex;
  align-items: flex-start;
}

.mr_news_list_day {
  width: 120px;
  flex-shrink: 0;
  margin: 0 15px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.mr_news_list_title {
  flex-grow: 1;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.mr_news_list ul li a i {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
}

.mr_news_list_link {
  margin-bottom: 10px;
}

.mr_news_list_link a {
  display: inline-block;
  font-size: 12px;
  border: 1px solid #333;
  padding: 7px 40px;
}

.mr_news {
  display: block;
  float: right;
}

.mr_news_title {
  position: unset;
  text-align: center;
  margin-right: 0;
}

.mr_news_title h3 {
  transform: unset;
  -webkit-transform: unset;
  -ms-transform: unset;
  display: inline-block;
  text-align: center;
}

.mr_news_list ul {
  padding: 0;
}

.top_news {
  display: block;
  float: left;
}

.top_news_title {
  position: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 92px;
  margin-right: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)), url('../images/site/news_topics_left.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.top_news_title h3 {
  position: unset;
  transform: unset;
  -webkit-transform: unset;
  -ms-transform: unset;
  display: inline-block;
  text-align: center;
  border-top: none;
  border-bottom: none;
  padding: 0;
  background: transparent;
}

.top_news .top_news_list_link {
  position: absolute;
  height: 18px;
  padding: 5px 20px;
  font-size: 1rem;
  border: 1px solid #006600;
  color: white;
  background: #006600;
}

.mr_news .mr_news_list_link {
  position: absolute;
  height: 18px;
  padding: 5px 20px;
  font-size: 1rem;
  border: 1px solid #00CC00;
  color: white;
  background: #00CC00;
}

.blog {
  position: relative;
  margin: 0 5%;
}

.two_blog {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.top_news {
  float: none !important;
  position: relative;
  margin-bottom: 60px;
  width: 100%;
  max-width: 500px;
  flex: 0 1 500px;
}

.mr_news {
  float: none !important;
  position: relative;
  vertical-align: top;
  width: 100%;
  max-width: 500px;
  flex: 0 1 500px;
}

.top_contents_wrap_box1 h3 {
  display: inline-block;
  font-size: 70px;
  font-style: italic;
  font-weight: normal;
  line-height: 1em;
  border-bottom: 4px solid #00CC00;
  margin: 20px 0 10px 30px;
  color: #00CC00;
}

.top_contents_wrap_box1 p {
  color: #00CC00;
}

.top_contents_wrap_box1 .top_contents_wrap_link a {
  background: #00CC00;
}

.top_contents_wrap_box2 h3 {
  display: inline-block;
  font-size: 70px;
  font-style: italic;
  font-weight: normal;
  line-height: 1em;
  border-bottom: 4px solid #333;
  margin: 20px 0 10px 30px;
}

.top_contents_wrap_box3 h3 {
  display: inline-block;
  font-size: 70px;
  font-style: italic;
  font-weight: normal;
  line-height: 1em;
  border-bottom: 4px solid #005500;
  margin: 20px 0 10px 30px;
  color: #005500;
}

.top_contents_wrap_box3 p {
  color: #005500;
}

.top_contents_wrap_box3 .top_contents_wrap_link a {
  background: #005500;
}

.kiji_title {
  text-align: center;
  color: #005500;
  font-size: 28px;
  font-weight: lighter;
  text-decoration: 0.2rem underline #008800;
  padding-bottom: 10px;
}

@media screen and (max-width: 1040px) {
  .top_news_title,
  .mr_news_title {
    width: 100%;
    margin-right: 0;
  }

  .top_news_title {
    padding: 0;
  }

  .top_news_title h3 {
    padding: 10px 0;
  }

  .mr_news_title h3 {
    padding: 0;
    background: transparent;
  }

  .top_news_list,
  .mr_news_list {
    width: 96%;
    padding: 0 2% 10px;
  }

  .top_news_list ul,
  .mr_news_list ul {
    padding: 0;
  }

  .two_blog {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .top_news {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .top_news_list ul li a,
  .mr_news_list ul li a {
    flex-wrap: wrap;
  }

  .top_news_list_day,
  .mr_news_list_day {
    margin-bottom: 10px;
  }

  .top_news_list_title,
  .mr_news_list_title {
    width: 100%;
    margin-top: 5px;
    padding-right: 20px;
  }

  .top_contents_wrap_left,
  .top_contents_wrap_right {
    flex-direction: column;
  }

  .top_contents_wrap_left img,
  .top_contents_wrap_right img,
  .top_contents_wrap_left div,
  .top_contents_wrap_right div {
    width: 100% !important;
  }

  .top_contents_wrap_box2 {
    justify-content: flex-start;
  }

  .top_contents_wrap_box2_inner {
    margin-right: 0;
  }
}

@media screen and (max-width: 520px) {
  .two_blog {
    display: block;
  }
}
