/* SUMO SHOWS ON — landing page using PPT images */
:root {
  --bg: #0b0c10;
  --panel: #12141b;
  --panel2: #0f1117;
  --text: #f4f6ff;
  --muted: #b6bccf;
  --line: rgba(255, 255, 255, .10);
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 0%, rgba(255, 255, 255, .08), transparent 60%),
    radial-gradient(1000px 600px at 80% 10%, rgba(255, 255, 255, .05), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  min-width: 320px;
  max-width: 100vw;
}

a {
  color: var(--text);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.container {
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  backdrop-filter: blur(10px);
  background: rgba(11, 12, 16, .65);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.header-inner .brand {
  margin-right: auto;
}

.header-inner .lang-toggle {
  order: 1;
}

.header-inner .hamburger {
  order: 2;
}

.header-inner .nav {
  order: 3;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  /* header-aligned height */
  margin-right: 12px;
  padding: 4px;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

.brand-mark img {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain
}

.brand-text {
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 20px;
  font-family: "Times New Roman", Times, serif;
  line-height: 1
}

/* hide textual brand when logo image successfully loaded */
.brand-mark.has-logo+.brand-text {
  display: none
}

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

.nav a {
  opacity: .9;
  font-size: 14px;
}

.nav a:hover {
  opacity: 1;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2500;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* メニューオーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 280px;
  width: calc(100% - 280px);
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1500;
  pointer-events: none;
}

.menu-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 言語切り替えボタン */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
}

.lang-option {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.lang-option.active {
  opacity: 1;
  font-weight: 700;
}

.lang-option:hover {
  opacity: 0.8;
}

.lang-divider {
  opacity: 0.3;
}

/* デスクトップ：言語切り替えはメニューの左 */
@media (min-width: 769px) {
  .header-inner .lang-toggle {
    order: 1;
  }
  
  .header-inner .nav {
    order: 2;
  }
  
  .header-inner .hamburger {
    display: none;
  }
}

/* モバイル用ドロワー */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  /* モバイル：言語切り替えはハンバーガーの隣 */
  .lang-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #2d3142, #252835);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 0 30px;
    transition: right 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .nav.is-open {
    right: 0;
  }
  
  .nav a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    opacity: 1;
    color: #ffffff;
  }
  
  .nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
  }
  
  .nav .btn {
    background: transparent;
    border: none;
    border-radius: 0;
    color: #ffffff;
    text-align: left;
    justify-content: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--accent);
  color: #0b0c10;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(.95);
  text-decoration: none
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-small {
  padding: 9px 12px;
  border-radius: 10px
}

.hero {
  position: relative;
  padding: 70px 0 26px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.9) contrast(1.1) brightness(.55);
  transform: scale(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 600px at 25% 15%, rgba(255, 255, 255, .10), transparent 55%),
    linear-gradient(180deg, rgba(11, 12, 16, .10), rgba(11, 12, 16, .60) 80%, rgba(11, 12, 16, 1));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.kicker {
  margin: 0 0 10px;
  letter-spacing: .22em;
  font-size: 12px;
  opacity: .9;
}

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12
}

.lead {
  margin: 14px 0 18px;
  color: rgba(244, 246, 255, .82);
  font-size: 16px
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.micro {
  margin: 12px 0 0;
  color: rgba(244, 246, 255, .70);
  font-size: 13px
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 50%), rgba(0, 0, 0, .22);
  overflow: hidden;
}

.hero-card-inner {
  padding: 18px
}

.badge {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
}

.hero-mini-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .25);
}

.mini img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.tiny {
  font-size: 12px
}

.muted {
  color: var(--muted)
}

.section {
  padding: 44px 0
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%), var(--panel2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

h2 {
  margin: 0 0 10px;
  font-size: 28px
}

.section-lead {
  margin: 0 0 18px;
  color: var(--muted)
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .03);
  padding: 18px;
  overflow: hidden;
}

.card-media {
  margin: -18px -18px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
}

.card-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: saturate(.95) contrast(1.05);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px
}

.card p {
  margin: 0 0 12px;
  color: var(--muted)
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted)
}

.list li {
  margin: 6px 0
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: start
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, .18);
  padding: 18px;
}

.ticks {
  display: grid;
  gap: 10px;
  margin-top: 10px
}

.tick {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.tick span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 14px;
  align-items: start
}

.contact-item {
  margin: 0 0 10px
}

.contact-item span {
  display: inline-block;
  width: 90px;
  color: var(--muted)
}

.contact-qr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-item img {
  width: 100%;
  max-width: 140px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
}

.qr-item p {
  margin: 10px 0 0
}

.form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(255, 255, 255, .25)
}

.form .btn {
  width: 100%;
  margin-top: 14px
}

.site-footer {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 48px;
  width: auto;
  opacity: .8;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr
  }

  h1 {
    font-size: 36px
  }

  .grid-3 {
    grid-template-columns: 1fr
  }

  .split {
    grid-template-columns: 1fr
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .mini img {
    height: 150px
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px
  }

  h2 {
    font-size: 22px
  }

  .card h3 {
    font-size: 16px
  }
}

.section-news .news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.news-item:hover {
  text-decoration: none;
  opacity: 1;
}

.news-date {
  font-weight: 700;
  min-width: 120px;
  color: var(--text);
}

.news-text {
  color: var(--text);
}

@media (max-width: 600px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .news-date {
    min-width: auto;
  }
}

/* トップへ戻るボタン */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ffffff;
  color: #0b0c10;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.scroll-to-top:hover {
  transform: scale(0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

@media (max-width: 600px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 26px;
  }
}