@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;
}




#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;
  }
}










h1{

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

/*ここからタグデザイン connection*/
h1.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) {
  h1.connection-title {
    padding-top: 20px;
    padding-left: 60px;
    font-size: 20px;
  }

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


/*ここまで*/

/* デスクトップ用 */
.banner-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: 100px;
  margin:0 auto;
  padding: 40px 0;
  background: #ffffff;
  padding-bottom: 300px;
  max-width:1000px
}

.banner-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  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(163,163,163,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

/* タブレット用 */
@media screen and (max-width: 1024px) {
}
/* スマホ用 */
@media screen and (max-width: 768px) {
 .banner-wrapper {
	max-width:360px;
    gap: 30px;
    padding: 60px 15px;
    margin: 0 auto;
  }
  
  .banner-box {
    width: 90px;
    height: 90px;
    border-radius: 15px;
  }

  .banner-box img {
    max-width: 60px;
  }
  
  .banner-box .overlay {
    border-radius: 15px;
    
  }  

}

}






/*ここまで*/




@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 20px rgba(228, 230, 241, 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: -2px;
  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;
}
/***トップへ戻るボタンここまで***/




