@charset "UTF-8";

/* --- 基本設定 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad {
  padding: 80px 0;
}

.section-title-en {
  font-size: 2rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #111;
}

/* --- ボタンデザイン --- */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.btn-arrow .arrow-circle {
  width: 40px;
  height: 40px;
  border: 1px solid #666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.btn-arrow .btn-text {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.btn-arrow:hover .arrow-circle {
  background-color: #333;
  border-color: #333;
  color: #fff;
  transform: translateX(4px);
}

/* --- ヘッダー --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-symbol {
  font-size: 1.8rem;
  color: #333;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .en {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.logo-text .jp {
  font-size: 0.65rem;
  color: #666;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav ul {
  display: flex;
  gap: 24px;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
}

.nav a:hover {
  color: #888;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-contact-nav {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn-contact-nav:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.btn-search {
  background: none;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-search:hover {
  background-color: #eee;
}

/* ハンバーガーボタン (SP/TB) */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 11px; }
.hamburger-btn span:nth-child(3) { top: 22px; }

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 0 10%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://picsum.photos/1920/1080?random=20') no-repeat center center/cover;
  z-index: -1;
  filter: brightness(0.85);
}

.hero-content {
  max-width: 600px;
  margin-top: 40px;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtext {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  margin-bottom: 32px;
  line-height: 1.8;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero .btn-arrow {
  color: #fff;
}
.hero .btn-arrow .arrow-circle {
  border-color: #fff;
}
.hero .btn-arrow:hover .arrow-circle {
  background-color: #fff;
  color: #333;
}

.scroll-down {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #fff;
}

.scroll-down .line {
  width: 1px;
  height: 60px;
  background-color: #fff;
  margin-top: 10px;
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- PRODUCTS (カルーセル) --- */
.products-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.products-title {
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.all-products-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: bold;
}

.link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  border-radius: 50%;
}

.all-products-link:hover .link-arrow {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.carousel-wrapper {
  position: relative;
  padding: 0 10px;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 20px;
}

.product-card {
  flex: 0 0 calc((100% - 40px) / 3);
  box-sizing: border-box;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f0f0f0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .card-image img {
  transform: scale(1.05);
}

.card-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 16px 0 8px;
}

.card-text {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.prev-btn { left: -15px; }
.next-btn { right: -15px; }

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #333;
  transform: scale(1.2);
}

/* --- NEWS (タブ) --- */
.news-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 10px;
}

.news-title {
  font-size: 2.2rem;
  font-weight: bold;
}

.news-tabs {
  display: flex;
  gap: 20px;
}

.tab-item {
  font-size: 0.95rem;
  color: #666;
  cursor: pointer;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: -16px;
  transition: color 0.3s ease;
}

.tab-item.active {
  color: #000;
  font-weight: bold;
}

.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}

.news-list {
  min-height: 240px;
}

.news-item {
  border-bottom: 1px solid #eee;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.news-item.show {
  display: block;
}

.news-item.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.news-link {
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.news-date {
  font-size: 0.95rem;
  color: #888;
  width: 110px;
  flex-shrink: 0;
}

.news-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: #666;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 4px 16px;
  margin-right: 25px;
  width: 100px;
  text-align: center;
  flex-shrink: 0;
}

.news-item-title {
  font-size: 0.95rem;
  line-height: 1.5;
}

.news-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

/* --- PEOPLE --- */
.people-flex {
  display: flex;
  align-items: center;
  gap: 60px;
}

.people-text {
  flex: 1;
}

.people-text p {
  margin: 20px 0 30px;
  color: #666;
  font-size: 0.95rem;
}

.people-gallery {
  flex: 1.5;
  display: flex;
  gap: 16px;
}

.people-card {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
}

.people-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s, transform 0.5s;
}

.people-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* --- QUICK LINKS (Grid) --- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fafafa;
}

.quick-item {
  padding: 30px 12px;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  background-color: #fff;
}

.quick-item:last-child {
  border-right: none;
}

.quick-item:hover {
  background-color: #f5f5f5;
}

.quick-item h3 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.quick-item p {
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 20px;
  line-height: 1.3;
}

.quick-item .icon-wrap {
  font-size: 1.5rem;
  color: #444;
}

/* --- FOOTER --- */
.footer {
  background-color: #f8f8f8;
  padding: 60px 20px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-info-title {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.company-name {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 12px;
}

.company-address, .company-contact {
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 12px;
}

.btn-access {
  display: inline-block;
  font-size: 12px;
  color: #555555;
  border: 1px solid #cccccc;
  border-radius: 20px;
  padding: 6px 18px;
  margin-top: 8px;
}

.btn-access:hover {
  background-color: #333333;
  color: #ffffff;
}

.footer-sns { margin-top: 24px; }
.sns-icon { font-size: 18px; font-weight: bold; }

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav-group {
  border-bottom: 1px solid #e5e5e5;
}
.footer-nav-group:first-child {
  border-top: 1px solid #e5e5e5;
}

.footer-nav-title {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-plus {
  position: relative;
  width: 12px;
  height: 12px;
}

.icon-plus::before, .icon-plus::after {
  content: "";
  position: absolute;
  background-color: #333;
  transition: transform 0.3s ease;
}

.icon-plus::before { top: 5px; left: 0; width: 12px; height: 2px; }
.icon-plus::after { top: 0; left: 5px; width: 2px; height: 12px; }

.footer-nav-group.is-open .icon-plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.footer-nav-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.footer-nav-list {
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, padding 0.3s ease;
}

.footer-nav-group.is-open .footer-nav-content { grid-template-rows: 1fr; }
.footer-nav-group.is-open .footer-nav-list { opacity: 1; padding-bottom: 18px; }

.footer-nav-list li { margin-bottom: 12px; }
.footer-nav-list a { font-size: 13px; color: #666; }
.footer-nav-list a:hover { color: #000; text-decoration: underline; }

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright { font-size: 12px; color: #888888; }
.btn-pagetop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #cccccc;
  border-radius: 50%;
}

/* ==========================================================================
   レスポンシブ（メディアクエリ）ブレイクポイント設定
   ========================================================================== */

/* --- タブレット & モバイル（960px以下） --- */
@media screen and (max-width: 960px) {
  .header-inner {
    padding: 0 20px;
    height: 70px;
  }

  .hamburger-btn {
    display: block;
  }

  .nav-wrapper {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
  }

  .nav-wrapper.active {
    transform: translateX(0);
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav a {
    font-size: 1.1rem;
  }

  .product-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .people-flex {
    flex-direction: column;
    gap: 30px;
  }

  .people-gallery {
    width: 100%;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-item {
    border-bottom: 1px solid #eee;
  }

  .quick-item:nth-child(3n) {
    border-right: none;
  }

  .pc-only {
    display: none;
  }
}

/* --- PC表示専用（960px以上） --- */
@media screen and (min-width: 960px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-info {
    width: 260px;
    flex-shrink: 0;
  }

  .footer-nav {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
  }

  .footer-nav-group, .footer-nav-group:first-child {
    border: none;
  }

  .footer-nav-title {
    padding: 0 0 16px 0;
    pointer-events: none;
    font-size: 15px;
  }

  .icon-plus { display: none; }
  .footer-nav-content { grid-template-rows: 1fr !important; }
  .footer-nav-list { opacity: 1 !important; padding-bottom: 0 !important; }
}

/* --- スマホ表示専用（600px以下） --- */
@media screen and (max-width: 600px) {
  .hero {
    padding: 0 6%;
  }

  .scroll-down {
    right: 20px;
    bottom: 20px;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .product-card {
    flex: 0 0 100%;
  }

  .prev-btn { left: -5px; }
  .next-btn { right: -5px; }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .news-tabs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    white-space: nowrap;
  }

  .news-link {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-date {
    width: auto;
  }

  .news-badge {
    margin-right: 0;
  }

  .news-item-title {
    width: 100%;
    margin-top: 4px;
  }

  .people-gallery {
    flex-direction: column;
  }

  .people-card img {
    height: 500px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-item:nth-child(3n) {
    border-right: 1px solid #eee;
  }

  .quick-item:nth-child(2n) {
    border-right: none;
  }

  .quick-item:last-child {
    grid-column: span 2;
    border-right: none;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }
}