/* ============================================
   SEED Systems - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Oswald:wght@400;600;700&family=Montserrat:wght@400;600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #E8821E;
  --orange-light: #F5A623;
  --black: #1a1a1a;
  --sidebar-width: 308px;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #888;
  --text: #333;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  display: flex;
  min-height: 100vh;
  font-weight: bold;
  color: #001E46;;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: #001E46;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 40px 18px 20px;
  overflow-y: unset;
}

.sidebar-logo {
  margin-bottom: 36px;
}

.sidebar-logo a {
  text-decoration: none;
}
.sidebar-nav {
  list-style: none;
  flex: 1;
}

.sidebar-nav li {
  width: 80%;
  margin: 0 auto 2px;
}

.sidebar-nav a {
  display: block;
  padding: 25px 0 10px;
  text-decoration: none;
  border-bottom: 1px solid #fff;
  transition: opacity 0.2s;
}

.sidebar-nav a .nav-jp {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  display: block;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.sidebar-nav a .nav-en {
  font-size: 10px;
  color: #fff;
  display: block;
  margin-top: 2px;
  letter-spacing: 1px;
}

.sidebar-nav a:hover .nav-jp,
.sidebar-nav a.active .nav-jp {
  color: #e3a644;
}

.sidebar-btn {
  margin-top: 25px;
}

.sidebar-btn a {

  transition: background 0.2s;

}

.sidebar-btn a:hover {
 /* opacity: .7; */
 transition: 0.2s;
 filter: brightness(0) saturate(100%) invert(62%) sepia(98%) saturate(313%) hue-rotate(355deg) brightness(95%) contrast(88%);
}

.sidebar-btn .btn-icon {
  width: 80%;
  margin: 0 auto;
}

.sidebar-btn .btn-icon svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.sidebar-btn .btn-text {
  font-size: 12px;
  color: #696969;
  line-height: 1.4;
  text-align: center;
}

.sidebar-partner {
  margin-top: 40px;
  padding-top: 0px;
  /* border-top: 1px solid #2e2e2e; */
}

.sidebar-partner-badge {
  width: 80%;
  margin: 0 auto;
  display: flex;
}
.sidebar-instagram{
  width: auto;
  display: inline-block;
}
.sidebar-instagram:hover{
  /* opacity: .7; */
  transition: 0.2s;
  filter: brightness(0) saturate(100%) invert(62%) sepia(98%) saturate(313%) hue-rotate(355deg) brightness(95%) contrast(88%);
}
.sidebar-instagram img{
  width: 60%;
}
.sidebar-logo{
  display: block;
  margin: 0 auto;
}
.sidebar_logo{
  width: 87px;
  margin: 0 auto 30px;
}
.sidebar_logo_text{
  width: 90%;
  margin: 0 auto 30px;
}
.JP_EN{
  text-align: center;
  color: #fff;
}
.jp{
  color: #fff;
}
.en{
  color: #fff;
  opacity: .3!important;
}
.en:hover{
  color: #e3a644;
  opacity: 1;
}
.sidebar-copy {
  /* margin-top: 16px; */
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
  width: 80%;
  margin: 30px auto 0;
}

/* ============================================
   MAIN
   ============================================ */
.main {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-width: 0;
  /* 方眼紙模様に必須のスタイル */
  /* background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)); */
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;

}
.kv_text{
  position: absolute;
  width: 389.56px;
  object-fit: contain;
  top: 140px;
}
.reservation_btn img{
  position: fixed;
  bottom: 35px;
  right: 0;
  width: 229.59px;
  object-fit: contain;
  z-index: 999;
}
.reservation_btn:hover{
  opacity: .7;
  transition: 0.2s;
}

/* ============================================
   COMMON COMPONENTS
   ============================================ */

/* Section label (orange uppercase) */
.section-label {
  
  font-weight: 700;
  color: #FF6C00;
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.fs26{
  font-size: 26px;
}
.fs60{
  font-size: 60px;
}
.fs78{
  font-size: 78px;
}
.slick-list{
  padding-right: 15%!important;
  margin-left: -20px!important;
}
/* .arrow_box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 20px 0 0;
  position: relative;
} */
/*矢印の設定*/
 
 /*戻る、次へ矢印の位置*/

 .slick-prev{
  display: none!important;
}
.slick-next{
  content: url(../img/common/slider_arrow.png);
  top: unset!important;
  bottom: -20%!important;
  right: unset!important;
  width: 22%!important;
  object-fit: contain;
  height: 30px!important;
}

/* Section heading with orange underline */
.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid #FF6C00;
  display: inline-block;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FBF6EC;
  color: #000;
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid #FF6C00;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  width: 250px;
  justify-content: center;
}

.btn-primary:hover {
  background: #FF6C00;
  color: #fff;
  /* transform: translateY(-1px); */
}

.btn-primary::after {
  content: '';
  background-image: url(../img/common/arrow.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 19px;
  height: 18px;
}
.btn-primary:hover::after {
  content: '';
  background-image: url(../img/common/arrow_hover.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 19px;
  height: 18px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #FF6C00;
  color: #FF6C00;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #FF6C00;
  color: white;
}

.btn-outline::after {
  content: '›';
  font-size: 16px;
  line-height: 1;
}

/* Case Study (shared) */
.case-study {
  padding: 80px 60px 200px;
  margin-top: 100px;
  background: var(--gray-light);
}
.case-study-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.case-study-desc {
  font-size: 12px;
  color: #777;
  margin-bottom: 32px;
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #FF6C00;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #FF6C00;
  padding: 8px 16px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.2s;
}

.case-study-link:hover {
  background: #FF6C00;
  color: white;
}

.case-study-link::after {
  content: '›';
  font-size: 14px;
}

/* --- Carousel (top page) --- */
.carousel {
  overflow: hidden;           /* 右側を見切れさせる */
  cursor: grab;
  user-select: none;
}

.carousel.is-dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* カルーセル内カードは固定幅（3.5枚分見える＝右が見切れる） */
.carousel .case-card {
  flex: 0 0 calc((100% - 20px * 3) / 3.5);
  min-width: 0;
}

/* About ページの4カラムグリッド（カルーセルではない） */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.case-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #000;
  transition: box-shadow 0.3s;
  margin: 0 20px;
}

.case-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.case-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  /* background: #ddd; */
  overflow: hidden;
  padding: 10px;
}

.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-card-img.siemens-bg {
  background: #1a1a7a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}

.case-card-body {
  padding: 14px;
  padding-top: 0;
  font-size: 12px;
}

.case-card-cat {
  font-size: 9px;
  background-color: #BCBCBC;
  color: #fff;
  margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  display: inline-block;
}

.case-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--black);
}

.case-card-link {
  display: block;
  text-align: center;
  background: #FF6C00;
  color: white;
  text-decoration: none;
  padding: 8px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  /* font-family: 'Montserrat', sans-serif; */
  transition: background 0.2s;
  font-size: 16px;
  margin: 30px 0 16px;
  border: 1px solid #000;
  margin: 30px auto 16px;
  width: 75%;

}

.case-card-link:hover {
  background: #c96a10;
}

.case-scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 10px;
  color: #aaa;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
}

.case-scroll-hint::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: #ccc;
}

/* Contact CTA (shared) */
.contact-cta {
  padding: 60px;
  text-align: center;
  background: white;
}

.contact-cta > p {
  font-size: 25px;
  color: #5F5F5F;
  margin-bottom: 30px;
  font-weight: bold;
}

.contact-cta-box {
  border: 2px solid #000;
  border-radius: 8px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-tel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-tel-icon {
  width: 44px;
  height: 44px;
  /* background: #FF6C00; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-tel-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.contact-tel-number {
  /* font-family: 'Oswald', sans-serif; */
  font-size: 49px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.contact-tel-hours {
  font-size: 13px;
  color: #000;
  margin-top: 4px;
}

/* Footer (shared) */
footer {
  background: #001E46;
  padding: 50px 60px 30px;
  color: white;
}
footer p{
  font-size: 14px;
  margin-bottom: 15px;
}
footer p a{
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 35px;
  margin-bottom: 40px;
}
.footer-sp_col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 40px;
}
.footer-logo{
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.footer-p{
  display: block;
  margin: 0 auto;
}
.footer_logo_img{
  width: 15%;
  margin-right: 20px;
}
.footer_logo_text{
  width: 60%;
}
.footer-logo .logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  display: block;
  line-height: 1;
}

.footer-logo .logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  color: #777;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: #FF6C00;
  margin-bottom: 14px;
  /* padding-bottom: 8px; */
  /* border-bottom: 1px solid #2e2e2e; */
  letter-spacing: 1px;
}
.footer-col ul{
  margin-top: 15px;
  margin-bottom: 25px;
}
.footer-col ul li {
  margin-bottom: 8px;
  list-style: none;
  font-size: 15px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #A26400;
}

.footer-bottom {
  border-top: 1px solid #2e2e2e;
  padding-top: 20px;
  text-align: center;
  font-size: 10px;
  color: #555;
}
/*====== 9-1-1 縦線が動いてスクロールを促す =======*/

/*スクロールダウン全体の場所*/
.scrolldown1{
  /*描画位置※位置は適宜調整してください*/
position:absolute;
left:50%;
bottom:40px;
  /*全体の高さ*/
height:50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
  /*描画位置*/
position: absolute;
left:-15px;
top: 60px;
  /*テキストの形状*/
color: #eee;
font-size: 0.7rem;
letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
content: "";
  /*描画位置*/
position: absolute;
top: 0;
  /*線の形状*/
width: 1px;
height: 30px;
background: #eee;
  /*線の動き1.4秒かけて動く。永遠にループ*/
animation: pathmove 1.4s ease-in-out infinite;
opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
0%{
  height:0;
  top:0;
  opacity: 0;
}
30%{
  height:30px;
  opacity: 1;
}
100%{
  height:0;
  top:50px;
  opacity: 0;
}
}
.section_title{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
}
.section_title h2{
  font-size: 26px;
}
.section_title h3{
  font-size: 17px;
}
.section_title img{
  position: absolute;
  width: 384.37px;
  top: 35px;
}
/* ============================================
   体験プログラム
   ============================================ */
   .experience{
    margin-top: -100px;
    padding-top: 100px;
    margin-bottom: 200px;
  }
  
  .experience_inner{
    display: flex;
    gap: 15px;
    margin: 0 50px 200px;
    align-items: flex-end;
    justify-content: center;
  }
  
  .experience_detail{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .experience_detail a:hover{
    transition: 0.2s;
    opacity: .7;
  }
  .experience_01{
    color: #CC6867;
  }
  
  .experience_02{
    color: #C88D38;
  }
  
  .experience_03{
    color: #868C56;
  }
  
  .experience_04{
    color: #9D6A94;
  }
  
  .experience_detail img{
    margin-top: 10px;
  }
  
  .reservation_banner img{
    width: 80%;
    margin: 100px auto;
  }
  
  .reservation_banner:hover{
    transition: 0.2s;
    opacity: .7;
  }
  /* ============================================
   Access
   ============================================ */
.access{
  font-size: 14px;
  width: 90%;
  margin: -100px auto 100px;
  padding-top: 100px;
  color: #191919;
}
.access p{
  margin: 10px 0;
}

.access_time{
  margin-top: 50px;
}
.access_method{
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.access_method img{
  width: 32px;
  margin-right: 5px;
  /* margin-bottom: 10px; */
}
.root{
  display: flex;
  width: 100%;
  align-items: center;
}
.root_p{
  display: flex;
  align-items: center;
}
.access_arrow{
  margin-right: 20px;
}
.sp-header{
  display: none;
}

  /* ============================================
   SP
   ============================================ */

@media (max-width: 768px) {
.sp-header-logo a{
  display: flex;
}


.kv_text {
  position: absolute;
  width: 55%;
  object-fit: contain;
  top: 120px;
  left: -2px;
}
.reservation_btn img {
  width: 50%;
}
.section_title img {
  width: 75%;
}
.root {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 40px;
}
.root_p {
  margin: 0 !important;
}
.footer_logo_text{
  width: 60%!important;
}

.experience_detail {
  align-items:unset;
}
  /* ============================================
   world map
   ============================================ */
   .marquee_track img {
    width: 120px;
    height: 120px;
  }

  /* スマホは少し速めに */
  .marquee_right,
  .marquee_left {
    animation-duration: 20s;
  }
}