:root {
  --color-primary: #0727aa;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-light-bg: #f0f2fa;
  --color-light-bg-transparent: rgba(240, 242, 250, 0.67);
  --color-border: #dfdfdf;
  --font-main: 'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--color-white);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

.page-container {
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, p {
  margin: 0;
}

/* CSS from section:hero */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 766px;
  margin: 0 auto;
  background-color: #333;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 49px;
  height: 100%;
  padding: 20px;
  text-align: center;
  color: var(--color-white);
}

.hero-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 60px;
}

.hero-description {
  font-weight: 700;
  font-size: 20px;
  line-height: 40px;
  max-width: 640px;
  text-align: left;
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: 600px;
  }
  .hero-background {
    grid-template-columns: 1fr;
  }
  .hero-content {
    gap: 30px;
    padding: 40px 20px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.4;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
  }
}

/* CSS from section:channels */
.channels-section {
  padding: 132px 20px;
}

.channels-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.section-title {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
}

.channel-blocks {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.channel-block {
  width: 100%;
  max-width: 768px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.channel-group-title {
  width: 100%;
  background-color: var(--color-light-bg);
  padding: 12px 10px;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
}

.channel-group-title.special-note {
  padding: 16px 10px;
}

.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-item {
  border: 1px solid var(--color-border);
  width: 240px;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  /*padding: 10px;*/
}

.logo-item2 {
  border: 1px solid var(--color-border);
  width: 372px;
  height: 154px;
  display: flex;
  justify-content: center;
  /*align-items: center;*/
  /*padding: 10px;*/
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-labels {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}

.label-item {
  border: 1px solid var(--color-border);
  padding: 12px;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  flex: 1 1 240px;
  min-width: 240px;
}

.logo-item-dark {
  background-color: var(--color-black);
  width: 372px;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.logo-item-dark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 820px) {
  .logo-item-dark {
    width: 45%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .channels-section {
    padding: 60px 20px;
  }
  .channels-container {
    gap: 40px;
  }
  .channel-blocks {
    gap: 40px;
  }
  .section-title {
    font-size: 24px;
  }
  .channel-group-title {
    font-size: 20px;
  }
  .logo-item {
    width: 150px;
    height: 150px;
  }
  .label-item {
    font-size: 18px;
    flex-basis: 150px;
    min-width: 150px;
  }
}

/* CSS from section:other */
.other-section {
  background-color: var(--color-light-bg-transparent);
  padding: 64px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.section-title-alt {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 32px;
  line-height: 64px;
}

.other-description {
  font-weight: 700;
  font-size: 18px;
  line-height: 36px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 64px;
  font-weight: 700;
  font-size: 20px;
  line-height: 40px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

@media (max-width: 768px) {
  .other-section {
    padding: 50px 20px;
    gap: 30px;
  }
  .section-title-alt {
    font-size: 24px;
    line-height: 1.4;
  }
  .other-description {
    font-size: 16px;
    line-height: 1.6;
  }
  .btn {
    font-size: 18px;
    padding: 12px 32px;
    width: 100%;
    max-width: 300px;
  }
}

/* CSS from section:contact */
.contact-section {
  background-color: var(--color-primary);
  padding: 64px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-light {
  background-color: var(--color-white);
  color: var(--color-primary);
  gap: 16px;
  padding: 10px 64px;
}

.btn-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 50px 20px;
  }
  .btn-light {
    padding: 12px 24px;
    font-size: 18px;
    width: 100%;
    max-width: 388px;
  }
}

/* ロゴとリンクを縦に積む単位ブロック */
.logo-block {
  display: flex;
  flex-direction: column;   /* 縦積み */
  align-items: flex-start;  /* 左寄せ */
}

/* 既存のロゴ背景ブロック。パディングは例です */
.logo-item-dark {
  display: block;
  background: #111;         /* 既存の背景色 */
  padding: 16px;            /* 例：左右の余白 */
  border-radius: 8px;       /* 例：角丸 */
}

/* リンクは背景の外に置く。ロゴ画像の左位置に揃えるため left padding を合わせる */
.logo-link {
  display: inline-block;
  margin-top: 8px;          /* 背景ブロックとの間隔 */
  padding-left: 16px;       /* .logo-item-dark の左右 padding と同じ値に */
  color: #0a66c2;
  text-decoration: underline;
}

/* もしロゴの親がフレックス／グリッドで横並びなら、子要素は .logo-item-dark ではなく .logo-block にする */
.logo-labels > .logo-item-dark { /* 例）誤：直下に .logo-item-dark を置いている場合 */
  /* 子要素を .logo-block に置き換える */
}