/* ベース */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #22313f;
  background-color: #f6f8fb;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.darken-image {
  filter: brightness(50%);
}

/* レイアウト */
.container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.logo span {
  font-weight: 700;
  font-size: 1.1rem;
}

.logo img {
  max-width: 70px;
  height: auto;
  display: block;
}

.global-nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
  color: #263746;
}

.global-nav a:hover {
  text-decoration: underline;
}

.language-bar {
  background: #fff;
  border-bottom: 1px solid #dfe6ec;
  padding: 8px 0;
}

.language-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.language-bar label {
  font-size: 0.9rem;
  font-weight: 700;
}

.language-bar select {
  min-width: 170px;
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  border: 1px solid #aebbc5;
  border-radius: 5px;
  color: #22313f;
  background: #fff;
  font: inherit;
}

main.policy {
  width: 90%;
  max-width: 860px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 20px 56px;
  background: #fff;
}

main.policy h1 {
  margin: 0 0 1.2em;
  padding-bottom: 0.35em;
  border-bottom: 2px solid #2563eb;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
}

main.policy h2 {
  margin-top: 2em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid #e5e7eb;
  font-size: 1.25rem;
}

/* ヒーロー */
.hero {
  position: relative;
  background-image: url("../index/7468643a5c3cb771163b9e31910fb54e.jpg"); /* ここは実際の画像ファイル名に変更 */
  background-size: cover;
  background-position: center;
  opacity: 0.85; /* オーバーレイの不透明度 */
  /*pointer-events: none; /* 要素の上を通過できるようにする */
  /*z-index: 1; /* 画像の上に表示する */
  color: #fff;
  padding: 120px 0 100px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
  font-weight: bold;
  font-size: 4.0rem;
  margin-bottom: 1.0rem;

}

.hero-inner {
  position: relative;
  text-align: left;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  margin-right: 0.7rem;
  font-size: 0.95rem;
}

.btn.primary {
  background-color: #0b6ea8;
  color: #fff;
}

.btn.primary:hover {
  opacity: 0.9;
}

.btn.ghost {
  border: 1px solid #fff;
  color: #fff;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn.ghost.dark {
  border-color: #0b6ea8;
  color: #0b6ea8;
}

.btn.ghost.dark:hover {
  background: rgba(11, 110, 168, 0.08);
}

/*したレベルのヘッダー*/
.lowheader {
  background: linear-gradient(135deg, #07547d, #1585a7);
  color: #fff;
  padding: 54px 20px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.lowheader h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.lowheader p {
  font-size: 2.0rem;
  margin-bottom: 1.5rem;
}


/* セクション共通 */
.section {
  padding: 105px 0;
  background: #fff;
}

.section.compact {
  padding: 76px 0;
}

.section ul{
    display: flex;
    justify-content: center;
  }

  .section li {
    list-style: none; 
}

.section-alt {
  background: #f0f3f7c0;
}

.section-alt ul{
    display: flex;
    justify-content: center;
  }

  .section-alt li {
    list-style: none; 
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #0b6ea8;
  padding-left: 0.6rem;
}

/* カード */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.card h3 {
  margin-top: 0;
}

/* 特長リスト */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.4rem;
  position: relative;
}

.feature-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0.2rem;
  font-size: 0.7rem;
  color: #0b6ea8;
}

/* 会社概要テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.company-table th,
.company-table td {
  border: 1px solid #ddd;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
}

.company-table th {
  width: 30%;
  background: #f5f5f5;
}

/* 表示行数調整 */
.text-box {
    max-height: 300px;     /* 初期状態で表示する高さ */
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .text-box.open {
    max-height: 1300px;    /* 十分大きくして全体表示 */
  }

  #moreBtn {
    margin-top: 10px;
    cursor: pointer;
  }

/* お問い合わせ */
.contact-mail a {
  font-weight: 600;
  color: #0b6ea8;
}

/* アプリ中心のトップ */
.app-hero {
  background: linear-gradient(135deg, #eef7fb 0%, #ffffff 45%, #dfeff5 100%);
  padding: 86px 0 72px;
}

.app-hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.app-hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.18;
  margin: 0 0 1rem;
  color: #102a3a;
}

.app-hero-copy p {
  font-size: 1.08rem;
  max-width: 680px;
}

.eyebrow {
  color: #0b6ea8;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.app-hero-media {
  background: #fff;
  border: 1px solid #d9e4ea;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(20, 64, 88, 0.14);
}

.split.reverse {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.screen-shot {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #d9e4ea;
  border-radius: 8px;
  padding: 10px;
}

.feature-list.stacked {
  display: block;
}

.feature-list.stacked li {
  list-style: none;
}

.text-columns {
  columns: 2 320px;
  column-gap: 42px;
}

.text-columns p {
  margin-top: 0;
}

.source-box,
.note {
  margin-top: 24px;
  padding: 18px 20px;
  background: #eef7fb;
  border-left: 4px solid #0b6ea8;
  border-radius: 6px;
}

.source-box h3 {
  margin-top: 0;
}

.text-link {
  color: #0b6ea8;
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.steps {
  padding-left: 1.4rem;
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.manual-grid a {
  display: grid;
  gap: 10px;
  align-content: start;
  background: #fff;
  border: 1px solid #dfe6ec;
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  color: #22313f;
}

.manual-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

/* フッター */
.site-footer {
  background: #222;
  color: #ccc;
  padding: 20px 0;
  font-size: 0.85rem;
  text-align: center;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 0.5rem 0;
  }

  .global-nav {
    margin-top: 0.3rem;
  }

  .global-nav a {
    display: inline-block;
    margin: 0.2rem 0.7rem 0.2rem 0;
  }

  .hero {
    padding: 100px 0 70px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .lowheader h1 {
    font-size: 2.2rem;
  }

  .lowheader p {
    font-size: 1.2rem;
  }

  .app-hero-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .section,
  .section.compact {
    padding: 54px 0;
  }

  .section ul,
  .section-alt ul {
    flex-direction: column;
    padding-left: 0;
  }
}
