@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;

}



body {
  font-family: 'LineSeedJP', sans-serif, "Yu Gothic", 游ゴシック, "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1;
  background-color: #ffffff;
}

img {
  max-width: 100%;

}


.toggle-menu-button {
  display: none;
}

.n-rp {
	display:none;
}


/*　ロゴ*/
#logo {
  align-items: center;
  margin-right: 60px;
  width: 65px;
  height: 65px;

}

#logo img {
  width: 100%;
  height: auto;
}


/* ヘッダー */

/* ===== デスクトップメニュー ===== */

.header-menu {
  display: flex;
  align-items: center;
  height: 85px;
  padding-left: 40px;
  padding-top: 10px;
  background: #ffffff;
  position: relative;
  z-index: 1002;
}

.desktop-nav ul {
  display: flex;
  gap: 40px;
  /* 項目の間隔 */
  margin: 0;
}

.desktop-nav li {
  list-style: none;
  position: relative;
}

.desktop-nav li a {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  line-height: 1.2;
  position: relative;
  text-decoration: none;
}

.desktop-nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease;
}

.desktop-nav li a:hover::after {
  width: 100%;
}

/* デスクトップ用サブメニュー */
.desktop-nav li.has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 200px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  z-index: 1003;
}

.desktop-nav li.has-submenu:hover .submenu {
  display: block;
}

.desktop-nav li .submenu li {
  padding: 5px 20px;
}

.desktop-nav li .submenu li a {
  font-size: 14px;
  color: #000;
}



/* ===== ハンバーガーメニュー ===== */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: none;
}

.menu-toggle__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 3px;
  background-color: #000000;
  transition: all 0.6s;
}

.menu-toggle__line:nth-of-type(1) {
  top: 14px;
}

.menu-toggle__line:nth-of-type(2) {
  top: 23px;
}

.menu-toggle__line:nth-of-type(3) {
  top: 32px;
}

.menu-toggle.active .menu-toggle__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.menu-toggle.active .menu-toggle__line:nth-of-type(2) {
  opacity: 0;
}

.menu-toggle.active .menu-toggle__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}



/* ===== オーバーレイメニュー ===== */
.menu-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.menu-nav ul {
  text-align: center;
}

.menu-nav ul li {
  margin: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s;
}

.menu-nav.active {
  visibility: visible;
  opacity: 1;
}

.menu-nav.active ul li {
  opacity: 1;
  transform: translateY(0);
}

.menu-nav.active ul li:nth-child(1) {
  transition-delay: 0.1s;
}

.menu-nav.active ul li:nth-child(2) {
  transition-delay: 0.2s;
}

.menu-nav.active ul li:nth-child(3) {
  transition-delay: 0.3s;
}

.menu-nav.active ul li:nth-child(4) {
  transition-delay: 0.4s;
}

.menu-nav.active ul li:nth-child(5) {
  transition-delay: 0.5s;
}


.menu-nav ul li a {
  color: #000000;
  font-size: 24px;
}

/* モバイル用サブメニュー（アコーディオン） */
.menu-nav li.has-submenu>.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.menu-nav li.has-submenu.active>.submenu {
  max-height: 600px;
}




/* ===== レスポンシブ ===== */
@media screen and (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-nav {
    display: flex;
  }
  

}





.first-view {
  height: 110vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-color: #000;
  position: relative;
  overflow: hidden;

}

/* 共通背景設定 */
.first-view .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeSlide 24s infinite;
  z-index: 0;
  display: block;
}

/* 背景スライド画像 */
.first-view .bg1 {
  background-image: url("../images/desktop1.png");
  animation-delay: 0s;
}

.first-view .bg2 {
  background-image: url("../images/main2.png");
  animation-delay: 6s;
}

.first-view .bg3 {
  background-image: url("../images/main3.png");
  animation-delay: 12s;
}

.first-view .bg4 {
  background-image: url("../images/main4.png");
  animation-delay: 18s;
}

/* フェードアニメーション */
@keyframes fadeSlide {
  0% {
    opacity: 1;
  }

  20% {
    opacity: 1;
  }

  25% {
    opacity: 0;
  }

  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


@media screen and (max-width: 768px) {
  .first-view {
    height: 90vh !important;
    aspect-ratio: auto;
  }


  .first-view .bg {
    background-size: 180%;
    background-position: 65% 70%;

  }
}

/* テキスト前面 */
.first-view-text {
  position: relative;
  z-index: 1;
}

.first-view-text {
  width: 100%;
  max-width: 1200px;
  color: #ffffff;
  font-family: "Shippori Mincho", serif;
}

.first-view-text h1 {
  margin: 0;
  font-weight: 200;
  font-size: 3rem;
  opacity: 0;
  transform: scale(0.7);
  animation: zoomIn 2.2s ease-out forwards;
}

/* デスクトップ・タブレットでは改行なしにする */
.first-view-text h1 br {
  display: none;
}




/* 拡大アニメーション */
@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* デスクトップ用ファーストビュー */
@media screen and (min-width: 1025px) {
  .first-view {
    background-attachment: fixed;
  }

  .first-view-text {
    padding-left: 100px;
    padding-top: 350px;
  }

  .first-view-text h1 {
    font-size: 40px;
    line-height: 1.3;

  }
}


/* タブレット全般（768px〜1024px） */
@media screen and (min-width: 768px) and (max-width: 1025px) {

  /* max-widthを1025に調整 */
  .first-view {

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: 100vh !important;
    display: flex;
    align-items: center;
    background-color: #000 !important;
  }

  .first-view-text {
    padding-left: 20px !important;
    padding-top: 50px !important;
  }

  .first-view-text h1 {
    font-size: 40px !important;
    line-height: 1.3 !important;
  }
}






/* スマホ縦 */
@media screen and (max-width: 768px) and (orientation: portrait) {
  .first-view {
    display: block;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: #000;
    position: relative;
  }

  .first-view-text {
    position: absolute;
    top: 80px;
    left: 30px;
    color: white !important;
    width: auto;
    padding: 0;
    margin: 0;
  }

  .first-view-text h1 {
    font-size: 28px;
    font-weight: 100;
    font-family: "Noto Serif JP", serif;
    line-height: 1.5;
    writing-mode: vertical-rl;
    /* 縦書き */
    text-orientation: upright;
  }
  
  .first-view-text h1.en {
  	writing-mode: horizontal-tb;
  }

  /* 改行はそのまま表示 */
  .first-view-text h1 br {
    display: block;
  }

  /* 「そのひと蹴り」を少し左下にずらす */
  .first-view-text h1 span {
    display: block;
    margin-left: 0.3em;
    margin-top: 5.5em;
    /* 元の位置のまま */
  }
  
  .first-view-text h1.en span {
    display: block;
    margin-left: 0.3em;
    margin-top: 0;
    /* 元の位置のまま */
  }

}




/* 三角形の線 */
.triangle-wrapper {
  position: relative;
  width: 500px;
  height: 450px;
  margin: 50px auto;
  /* 上下の余白 */
  overflow: hidden;
  /* 三角形の画面領域からはみ出さない */
}

.triangle-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.triangle-lines line {
  stroke: rgba(0, 0, 0, 0.2);
  stroke-width: 1;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  opacity: 0;
  animation: drawLine 1.5s ease forwards;
  animation-play-state: paused;
}

.triangle-lines line:nth-child(1) {
  animation-delay: 0.5s;
}

.triangle-lines line:nth-child(2) {
  animation-delay: 2s;
}

.triangle-lines line:nth-child(3) {
  animation-delay: 3.5s;
}


.img-box::before {
  /* 一部だけの弧 */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
  z-index: 1;
  pointer-events: none;

  border: 4px solid transparent;
  /* border-topは各クラスで上書き */
  animation: rotateCircle 6s linear infinite;
}

.img-box.top::before {
  border-top: 4px solid rgba(169, 218, 252, 0.479);
  animation-delay: 1s;
}

.img-box.left::before {
  border-top: 4px solid rgba(240, 234, 149, 0.7);
  animation-delay: 2s;
}

.img-box.right::before {
  border-top: 4px solid rgba(255, 51, 0, 0.199);
  animation-delay: 3s;
}


@keyframes rotateCircle {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/* 画像（丸型） */
.img-box {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.6);
  animation: fadeIn 1.5s ease forwards;
  animation-play-state: paused;
  z-index: 2;
  transition: transform 0.5s ease;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ホバーで拡大 */
.img-box.top:hover {
  transform: translateX(-50%) scale(1.1);
}

.img-box.left:hover,
.img-box.right:hover {
  transform: scale(1.1);
}

/* 丸の位置 */
.img-box.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  animation-delay: 0s;
}

.img-box.left {
  bottom: 0;
  left: 0;
  transform: scale(0.6);
  animation-delay: 1s;
}

.img-box.right {
  bottom: 0;
  right: 0;
  transform: scale(0.6);
  animation-delay: 2s;
}

/* フェードインアニメーション */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* 線描画アニメーション */
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* レスポンシブ（スマホ） */
@media screen and (max-width: 768px) {
  .triangle-wrapper {
    width: 280px;
    height: 250px;
    margin: 50px auto;
  }

  .img-box {
    width: 100px;
    height: 100px;
  }
}

/* ロゴアニメーション（三角形の画面範囲内で表示） */
.logo-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  z-index: 0;
  animation: logoInTriangleArea 3s ease forwards;
  animation-delay: 4s;
  animation-play-state: paused;
  pointer-events: none;
}

.logo-animation img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes logoInTriangleArea {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
    /* 拡大控えめ */
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
    /* 最大拡大控えめ */
  }
}

/* active クラスでアニメーション再生 */
.triangle-wrapper.active .triangle-lines line,
.triangle-wrapper.active .img-box,
.triangle-wrapper.active .logo-animation {
  animation-play-state: running;
}





@media screen and (max-width: 768px) {
  .triangle-wrapper {
    width: 280px;
    height: 250px;
    margin: 50px auto;
  }

  .img-box {
    width: 130px;
    height: 130px;
  }

  /* ロゴアニメーションを小さく */
  .logo-animation {
    width: 150px;
    height: 150px;
  }

  .img-box.left {
    left: -10px;
  }

  .img-box.right {
    right: -10px;
  }



  @keyframes logoInTriangleArea {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.5);
    }

    50% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }

    100% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(1.2);
    }
  }
}






/* ページ全体でスムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* -------------------------
   RA育の想いセクション
------------------------- */
#raiku-section {
  /* 任意で見出しに余白をつける */
  margin-top: 100px;
}



h2 {

  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: 400;
  text-align: left;
}


/*ここからタグデザイン*/

h2.box-title {
  position: relative;
  display: inline-block;
  padding-top: 30px;
  padding-left: 100px;
  font-size: 24px;
  border-bottom: 1px solid rgb(0, 0, 0);

}

.box-title span {
  position: relative;
  z-index: 2;

}

.box-title::before {
  content: attr(data-en);
  position: absolute;
  top: 0px;
  left: 100px;
  /* 左余白に合わせる */
  color: rgba(0, 0, 0, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  h2.box-title {
    padding-top: 20px;
    padding-left: 60px;
    font-size: 20px;
  }

  .box-title::before {
    left: 60px;
    font-size: 24px;
  }
}

/*ここまで*/





.heading {
  display: inline-block;
  border-bottom: 1px solid #000000;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  padding-bottom: 7px;
  vertical-align: middle;
}

.rp-heading {
	padding-left:0.5em;
}





/* リード文字を画像に変更 */
.lead-letter {
  display: inline-block;
  width: 50px;
  /* 画像サイズ調整 */
  height: 50px;
  /* 画像サイズ調整 */
  margin-right: 10px;
  /* headingとの間隔 */
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 個別の画像指定 */
.lead-letter.yu {
  background-image: url('../images/yu-.png');

}

.lead-letter.ritsu {
  background-image: url('../images/ritu-.png');
}

.lead-letter.tan {
  background-image: url('../images/tan-.png');
}



.intro-text-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  padding: 0 20px;
  margin: 80px auto;
  max-width: 850px;
}

.intro-text {
  max-width: 850px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-text p {
  font-family: 'LineSeedJP', sans-serif;
  font-size: 16px;
  line-height: 2.5;
  color: #000000;
  margin-bottom: 50px;
  font-weight: 380;
  opacity: 1;
  transform: none;
  transition: none;
}

/* スマホ対応*/
@media screen and (max-width: 768px) {
  .intro-text-wrapper {
    margin: 60px auto;
    padding: 0 15px;
  }

  .intro-text p {
    font-size: 13px;
    line-height: 2.5;
  }

  .heading {
    font-size: 15px;
  }

  .lead-letter {
    width: 35px;
    height: 35px;
    margin-right: 8px;
  }
  .rp-heading {
  	display:inline-block;
  	padding-left:0;
	margin-left:3em;
  }
}

h3 {

  margin-top: 50px;
  margin-bottom: 100px;
  font-weight: 400;

}

/*ここからタグデザイン company*/
h3.section-title {
  position: relative;
  display: inline-block;
  padding-top: 30px;
  padding-left: 100px;
  font-size: 24px;
  border-bottom: 1px solid rgb(0, 0, 0);
}



.section-title span {
  position: relative;
  z-index: 2;
}


.section-title::before {
  content: attr(data-en);
  position: absolute;
  top: 0px;
  left: 100px;
  color: rgba(0, 0, 0, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;

}

@media screen and (max-width: 767px) {
  h3.section-title {
    padding-top: 20px;
    padding-left: 60px;
    font-size: 20px;
  }

  .section-title::before {
    left: 60px;
    font-size: 24px;
  }
}


/*ここまで*/


.company,
.news {
  opacity: 1;
  transform: none;
  transition: none;
}


main dl {
  width: 100%;
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  margin-bottom: 80px;

}

main dt {
  width: 20%;
  margin: 0;
  border-bottom: 1px solid #000000;
  font-size: 17px;
  line-height: 1.7rem;
  padding-top: 75px;
  padding-bottom: 10px;
  vertical-align: middle;
  align-items: center;
}

main dd {
  width: 80%;
  margin: 0px;
  border-bottom: 1px solid #000000;
  vertical-align: middle;
  font-size: 16px;
  padding-top: 76px;
  padding-bottom: 10px;
  align-items: center;
  line-height: 1.7rem;
}

#table01 td {
  padding-top: 0;

}

.list-item {
  text-indent: -1em;   /* 先頭を左にずらす */
  padding-left: 1em;   /* 全体を右に寄せる */
}

.inline-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.inline-link:hover {
  color: rgb(117, 117, 117);
}





/* タブレット・スマホ用 */
@media screen and (max-width: 1024px) {
  main dl {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }

  main dt,
  main dd {
    width: 100%;
    padding-top: 20px;
    font-size: clamp(14px, 2vw, 18px);
  }


  main dt {
    border-bottom: none;
  }
}



/* スマホ専用微調整 */
@media screen and (max-width: 768px) {

  main dt,
  main dd {
    font-size: clamp(12px, 3vw, 16px);
    padding-top: 15px;
    padding-bottom: 10px;
  }
}



h4 {

  margin-top: 70px;
  margin-bottom: 150px;
  font-weight: 400;
}

/*ここからタグデザイン nwes*/
h4.news-title {
  position: relative;
  display: inline-block;
  padding-top: 30px;
  padding-left: 100px;
  font-size: 24px;
  border-bottom: 1px solid rgb(0, 0, 0);
}


.news-title span {
  position: relative;
  z-index: 2;


}

.news-title::before {
  content: attr(data-en);
  position: absolute;
  top: 0px;
  left: 100px;
  color: rgba(0, 0, 0, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;

}

@media screen and (max-width: 767px) {
  h4.news-title {
    padding-top: 20px;
    padding-left: 60px;
    font-size: 20px;
  }

  .news-title::before {
    left: 60px;
    font-size: 24px;
  }
}

/*ここまで*/

/* デスクトップ用 */
.news-menu {
  width: 800px;
  margin: auto;
  padding-bottom: 150px;
}

.news-menu ul {
  width: 800px;
  margin: 0 auto;
  padding: 0;
}

.news-menu li {
  border-bottom: 1px solid #000000;
  list-style: none;
}

.news-menu li a {
  text-decoration: none;
  display: flex;
  /* 横並びにする */
  align-items: center;
  /* 縦中央揃え */
  padding: 28px 0;
  gap: 10px;
  /* 要素間のスペース */
}

.news-menu span {
  color: #000000;
  font-size: 16px;
  display: inline-block;
  min-width: 120px;
  /* 日付の幅をそろえる場合 */
}

.news-menu p {
  color: #000000;
  font-size: 16px;
  margin: 0;
  padding: 0;
  display: inline-block;
}

.new-label {
  color: red !important;
  margin-left: 50px;
  display: inline-block;
  min-width:60px !important;
}

.news-more {
  text-align: right;
  margin-top: 50px;
}

.news-more a {
  text-decoration: none;
  font-size: 16px;
  color: #000000;
  transition: 0.3s;
}

.news-menu>ul>li>a:hover span,
.news-menu>ul>li>a:hover p {
  color: #a3a3a3 !important;
}

/* もっと見るリンクホバー（文字色だけ変える） */
.news-more a:hover,
.news-more a:focus {
  color: #9c9c9c;
  background-color: transparent;
}




/* タブレット用 */
@media screen and (max-width: 1024px) {
  .news-menu {
    width: 100%;
    padding: 0 20px 150px;
  }

  .news-menu ul {
    width: 100%;
  }

  .news-menu span {
    margin-right: 20px;
    font-size: clamp(14px, 1.5vw, 16px);
  }

  .news-menu p {
    font-size: clamp(16px, 2vw, 18px);
  }


}

@media screen and (max-width: 768px) {
  .news-menu {
    padding: 0 15px 150px;
  }

  .news-menu li a {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .news-menu span {
    font-size: 14px;
    color: #555;
    margin: 0;
  }

  .news-menu p {
    font-size: 12px;
    margin: 0;

  }
  .n-rp {
	display:block;
  }



}



h5 {

  margin-top: 70px;
  margin-bottom: 50px;
  font-weight: 400;
}


h5.connection-title {
  position: relative;
  display: inline-block;
  padding-top: 30px;
  padding-left: 100px;
  font-size: 24px;
  border-bottom: 1px solid rgb(0, 0, 0);

}

.connection-title span {
  position: relative;
  z-index: 2;

}

.connection-title::before {
  content: attr(data-en);
  position: absolute;
  top: 0px;
  left: 100px;
  /* 左余白に合わせる */
  color: rgba(0, 0, 0, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  h5.connection-title {
    padding-top: 20px;
    padding-left: 60px;
    font-size: 20px;
  }

  .connection-title::before {
    left: 60px;
    font-size: 24px;
  }
}


.banner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  padding: 40px 0;
  background: #ffffff;
}

.banner-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 8px 8px 16px #d6d6d6,
    -8px -8px 16px #ffffff;
  transition: transform 0.2s, box-shadow 0.2s;
  position:relative;
}

.banner-box:hover {
  transform: translateY(-5px);
  box-shadow: 4px 4px 8px #d6d6d6,
    -4px -4px 8px #ffffff;
}

.banner-box .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 20px;
  /*background-color: rgba(255, 102, 0, 0.3); /* オレンジの半透明 */
  background-color: rgba(163,163,163,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.banner-box:hover .overlay {
  opacity: 1;
}

.banner-box img {
  max-width: 100px;
  height: auto;
  display: block;
}

/* オフィシャルパートナー　矢印 */
.arrow {
  position: relative;
  display: inline-block;
  padding-bottom: 10px; /* 矢印のスペースを確保 */
  text-align: center;
  font-size: 14px;
  color: #000000;
  max-width:260px;
  width:100%;
  text-align:center;
}

.arrow::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-radius: 9999px;
  background-color: #000000;
}

.arrow::after {
  content: "";
  position: absolute;
  bottom: 1px;
  right: 0;
  width: 20px;
  height: 1.2px;
  border-radius: 9999px;
  background-color: #000000;
  transform: rotate(45deg);
  transform-origin: calc(100% - 2px) 50%;
}

.arrow:hover {
	color:#9c9c9c;
}

.arrow:hover::before,
.arrow:hover::after {
  background-color: #9c9c9c; /* 好きな色に変更可能 */
}


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

    gap: 30px;
    padding: 60px 15px;
    flex-direction: column;
  }
  
  .banner-box {
    width: 90px;
    height: 90px;
    border-radius: 15px;
  }

  .banner-box img {
    max-width: 60px;
  }
  
  .banner-box .overlay {
    border-radius: 15px;
  }
  
  .arrow {
    margin-top:20px;
	align-self: flex-end;
  }

}



/* スライダ―のCSS */
@keyframes horizontal-animation {
  0% {
    transform: translateX(0);
  }

  7.69% {
    transform: translateX(-410px);
  }

  15.38% {
    transform: translateX(-820px);
  }

  23.07% {
    transform: translateX(-1230px);
  }

  30.76% {
    transform: translateX(-1640px);
  }

  38.45% {
    transform: translateX(-2050px);
  }

  46.14% {
    transform: translateX(-2460px);
  }

  53.83% {
    transform: translateX(-2870px);
  }

  61.52% {
    transform: translateX(-3280px);
  }

  69.21% {
    transform: translateX(-3690px);
  }

  76.90% {
    transform: translateX(-4100px);
  }

  84.59% {
    transform: translateX(-4510px);
  }

  92.28% {
    transform: translateX(-4920px);
  }

  100% {
    transform: translateX(-5330px);
  }
}

.slider-container {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  align-items: flex-start;
  /* 子要素を上揃えに */
}

.slider-wrapper {
  display: flex;
  animation: horizontal-animation 100s linear infinite;
}

.slide {
  flex-shrink: 0;
  width: 400px;
  margin-right: 10px;
  margin-top: 150px;
}

.slide img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 5px;
}



@media (hover: hover) {
  .slider-container:hover .slider-wrapper {
    animation-play-state: paused;

  }
}




/* スマホ用差し替えスライド */
@media screen and (max-width: 768px) {
  .slider-wrapper {
    display: block;
    animation: none;
  }

  .slide {
    width: 100%;
    display: none;
    margin-right: 0;
  }

  .slide.active {
    display: block;
  }
}






@media (any-hover: hover) {
  .buttonNeumorphism {
    transition: box-shadow 0.6s;
  }



  .buttonNeumorphism:hover {
    box-shadow: -10px -10px 10px #ffffff, 2px 2px 4px rgb(255, 255, 255);
  }

  .buttonNeumorphism:active {
    background-color: #e6e6e6;
    box-shadow: inset 10px 10px 18px rgba(255, 255, 255, 0.16);
  }
}


.footer {
  background-color: #ffffff;
  color: #000000;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav {
  width: 100%;
  max-width: 960px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* .footer-left を中央に寄せる */
.footer-left {
  display: flex;
  gap: 30px;

  justify-content: center;
  flex: 1;
  align-items: center;
}

.footer-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-item.tel {
  font-size: 25px;
  margin-top: -1px;
  line-height: 40px;
  height: 40px;
  display: inline-block;
  color: #000000;
  text-decoration: none;
}

.footer-nav-item a:hover {
  opacity: 0.7;
}


/* メールボタン内のSVGは上下中央 */
.buttonNeumorphism svg {
  height: 30px;
  /* ボタン内で少し小さめ */
  width: auto;
  display: block;
  margin: 0;
}


/* メールボタンスタイル */
.buttonNeumorphism {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 5px 5px 20px #c8c9cc, inset -5px -5px 20px #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  ;
  padding: 0;
  /* 念のため */
}

.iconEmail {
  margin: 0;
}

/* 電話スタイル */
.la-phone {
  position: relative;
  top: 2px;
}

/* インスタ画像とメールボタンの高さを揃える */
.footer-menu img {
  height: 30px;
  display: block;
  /* 不要な下余白を消す */
  width: auto;
  /* 横幅は自動調整 */
  margin-top: 5px;
  /* 例えば上下5px調整で垂直中心に近づける */
  margin-bottom: 5px;
}


/* コピーライト */
.footer-copyright {
  margin-top: 80px;
  text-align: center;

}


/***追従するトップへ戻るボタン***/
#page-top {
  margin-bottom: 100px;
  position: fixed;
  right: 5px;
  bottom: 20px;
  height: 50px;
  text-decoration: none;
  font-weight: bold;
  transform: rotate(90deg);
  font-size: 90%;
  line-height: 1.5rem;
  color: #272727;
  padding: 0 0 0 35px;
  border-top: solid 1px;
}

#page-top::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0px;
  width: 15px;
  border-top: solid 1px;
  transform: rotate(35deg);
  transform-origin: left top;
}

/***トップへ戻るボタンここまで***/