.container {
  grid-template-rows: var(--header-height) 1fr auto;
  min-height: 100vh;
  overflow-x: hidden;
  min-height: 100dvh;
  margin: 0 auto;
}

@media screen and (max-width: 1440px) {
  .container {
    width: 100%;
    max-width: 1440px;
  }
}

header {
  grid-area: header;
  height: auto;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 10;
}

main {
  grid-area: main;
  position: relative;
}

/* mainの背景ノイズ用のスタイル */
.main-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

footer {
  grid-area: footer;
  background: linear-gradient(
    180deg,
    rgba(6, 17, 107, 0.9) 0%,
    rgba(42, 126, 163, 0.9) 99.04%
  );

  .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 800px;
    padding: 50px 0 60px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  footer {
    .inner {
      gap: 0;
      max-width: 800px;
      padding: 30px 0;
      margin: 0 auto;
    }
  }
}

.header-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 30px;
}

@media screen and (max-width: 768px) {
  .header-inner {
    padding: 0;
    gap: 0;
  }
}

.header-main {
  display: flex;
  align-items: center;
  max-width: fit-content;
  gap: 10px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .header-main {
    gap: 6px;
    padding: 0 4px;
  }
}

.header-title-img {
  width: 100px;
}

.header-title-img img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .header-title-img {
    width: 65px;
  }
}

@media screen and (max-width: 375px) {
  .header-title-img {
    width: clamp(50px, 17.3vw, 65px);
  }
}

.header-logo {
  width: 285px;
}

.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .header-logo {
    width: 185px;
  }
}

@media screen and (max-width: 370px) {
  .header-logo {
    width: clamp(160px, 50vw, 185px);
  }
}

.header-title {
  font-weight: 600;
  font-size: 20px;
  color: #006;
  letter-spacing: 0.36em;
}

@media screen and (max-width: 768px) {
  .header-title {
    font-size: 13px;
  }
}

.header-logo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

@media screen and (max-width: 768px) {
  .header-logo-wrapper {
    gap: 5px;
  }
}

.sns {
  align-items: center;
  display: flex;
  gap: 24px;
  width: 100%;
  justify-content: flex-end;
  padding: 34px 30px;
}

@media screen and (max-width: 768px) {
  .sns {
    gap: 12px;
    padding: 20px 8px;
  }
}

@media screen and (max-width: 350px) {
  .sns {
    gap: 8px;
    padding: 20px 6px;
  }
}

.sns-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.sns-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  .sns-icon {
    width: 20px;
    height: 20px;
  }
}

.inner {
  width: 1440px;
  margin: 0 auto;
  position: relative;
}

@media screen and (max-width: 1440px) {
  .inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
  }
}

.kv-section {
  position: relative;
  z-index: 1;
}

.kv {
  position: absolute;
  padding-bottom: 60px;
  top: 0;
  z-index: 5;
  width: 100%;
  margin: 120px auto;
}

@media screen and (max-width: 768px) {
  /* SPでは中身(.kv)を通常フローに戻し、コンテンツ自身がセクション高さを決める。
     背景＋三角(.kv-container)はその裏に敷くため、下に三角ぶんの余白を確保する。 */
  .kv {
    position: relative;
    padding-bottom: 110px;
    margin: 135px auto 0;
  }

  /* .kvのmargin-topを内包し、コンテンツ高さでセクションを伸ばす */
  .kv-section {
    display: flow-root;
  }
}

.kv-img-wrapper {
  z-index: -1;
  position: relative;
  width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

@media screen and (max-width: 1440px) {
  .kv-img-wrapper {
    width: 100%;
    max-width: 1440px;
  }
}

.kv-img {
  z-index: 1;
  opacity: 0;
  position: absolute;
  left: -4%;
  animation-name: kv-fade;
  animation-duration: 15s;
  animation-iteration-count: infinite;
}

@media screen and (max-width: 450px) {
  .kv-img {
    left: -70%;
  }
}

@keyframes kv-fade {
  0% {
    opacity: 0;
    transform: translateX(4%);
    z-index: 2;
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    z-index: 0;
    transform: translateX(0);
  }
}

@media screen and (max-width: 1000px) {
  .kv-img img {
    height: 700px;
  }
}

@media screen and (max-width: 768px) {
  .kv-img img {
    height: 375px;
  }
}

.kv-main {
  position: relative;
  max-width: 576px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 57px;
  width: 576px;
  z-index: 5;
}

@media screen and (max-width: 1440px) {
  .kv-main {
    width: 100%;
    max-width: 576px;
  }
}

@media screen and (max-width: 768px) {
  .kv-main {
    padding-top: 0;
    gap: 12px;
  }
}

.kv-circle {
  position: absolute;
  top: -60px;
  width: 718px;
  height: 379px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.kv-title {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .kv-circle {
    top: -140px;
  }
}

.kv-title {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .kv-circle {
    top: -140px;
  }
  .kv-title {
    max-width: 500px;
  }
}

.kv-logo {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.kv-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .kv-text-wrapper {
    gap: 15px;
  }

  .kv-logo {
    max-width: 295px;
  }
}

.kv-text {
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: #006;
}

.kv-text-small {
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #006;
}

@media screen and (max-width: 768px) {
  .kv-text-small {
    font-size: 26px;
  }
}

.message-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* 装飾写真と上下セクションが詰まらないよう、上下に余白を厚めに確保 */
  padding: 130px 20px;
  /* KV下部の三角＋ノイズ帯に直接つなげるため上マージンは持たせない */
  margin: 0;
  background-color: #eef1ff;
  /* 1層目: KV下部と同系のノイズ模様（ラベンダー #F1F0FF の細かな粒）を敷いて質感を連続させる
     2層目: 左下のソフトな空色グロー
     3層目: 上端をKV下端のラベンダーに合わせ、下に向かって爽やかな空色へ */
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch' result='t'/><feColorMatrix in='t' type='luminanceToAlpha' result='a'/><feComponentTransfer in='a' result='b'><feFuncA type='discrete' tableValues='0 0 1 0 1 0 0 1 1 0 0 1 0 1 0 1'/></feComponentTransfer><feFlood flood-color='rgba(241,240,255,0.8)' result='c'/><feComposite in='c' in2='b' operator='in'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    radial-gradient(
      120% 80% at 18% 100%,
      rgba(120, 200, 255, 0.55) 0%,
      rgba(170, 222, 255, 0.2) 40%,
      rgba(220, 240, 255, 0) 68%
    ),
    linear-gradient(180deg, #ffffff 0%, #ffffff 14%, #e8f3ff 54%, #c5e8ff 100%);
  background-size: 200px 200px, cover, cover;
  background-repeat: repeat, no-repeat, no-repeat;
}

.message-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: 800px;
  text-align: center;
}

/* === Message装飾写真（アシンメトリー散らし） === */
.message-photos {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.message-photo {
  position: absolute;
  object-fit: cover;
  /* 縦横比・大きさは全枚共通（角丸なし・白フチは細め） */
  aspect-ratio: 4 / 3;
  width: clamp(234px, 23.4vw, 325px);
  border: 4px solid #fff;
  background: #fff;
  box-shadow: 0 16px 36px rgba(6, 17, 107, 0.16);
  /* スクロールでふわっとフェードイン（傾きは--rotで保持） */
  opacity: 0;
  transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 28px));
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.message-photo.is-visible {
  opacity: 1;
  --ty: 0px;
}

@media (prefers-reduced-motion: reduce) {
  .message-photo {
    opacity: 1;
    transform: rotate(var(--rot, 0deg));
    transition: none;
  }
}

/* PC: 左右の余白に大きさ・傾きを変えて散らす（フェードは少しずつ遅延） */
/* 画面中央（50%）を基準に配置し、画面が広がっても中央テキスト周辺に固定する。
   狭い画面では端の最小値にフォールバックして画面外に出ないようにする。 */
.message-photo--1 {
  /* 左上 */
  top: 36px;
  left: max(20px, calc(50% - 675px));
  --rot: -3deg;
  --delay: 0s;
}

.message-photo--2 {
  /* 右上（より上・より右へ寄せる） */
  top: 60px;
  right: max(20px, calc(50% - 735px));
  --rot: 2.5deg;
  --delay: 0.08s;
}

.message-photo--3 {
  /* 左下 */
  bottom: 52px;
  left: max(24px, calc(50% - 695px));
  --rot: 2deg;
  --delay: 0.16s;
}

.message-photo--4 {
  /* 右下 */
  bottom: 32px;
  right: max(20px, calc(50% - 655px));
  --rot: -2deg;
  --delay: 0.24s;
}

.message-title {
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #0094ff;
}

.message-body {
  color: #06116b;
  font-size: 22px;
  line-height: 2.1;
}

/* タブレット〜SP: 左右に写真を置く余白が足りないので、テキストの上下に互い違いで散らす */
@media screen and (max-width: 900px) {
  .message-wrapper {
    /* 写真を大きくした分、テキストと被らないよう天地の余白をさらに厚めに（三角・footerと詰まらせない） */
    padding: 210px 16px 240px;
  }

  .message-photo {
    /* 大きさは全枚共通（位置・傾きだけ散らす） */
    width: 42vw;
    max-width: 168px;
    box-shadow: 0 10px 22px rgba(6, 17, 107, 0.18);
  }

  /* 上段に2枚・下段に2枚を、画面中央線の両側に寄せてペアで配置する。
     calc(50% + 余白) で中央に集めるため、画面幅が変わっても中央に固定される。
     上下のパディング帯（210/240px）は維持しているのでテキストには重ならない。 */
  .message-photo--1 {
    /* 上段・中央やや左 */
    top: 30px;
    right: calc(50% + 10px);
    left: auto;
    --rot: -3deg;
  }

  .message-photo--2 {
    /* 上段・中央やや右（少し下げて互い違いに） */
    top: 58px;
    left: calc(50% + 10px);
    right: auto;
    --rot: 3deg;
  }

  .message-photo--3 {
    /* 下段・中央やや左 */
    bottom: 70px;
    right: calc(50% + 10px);
    left: auto;
    --rot: 2.5deg;
  }

  .message-photo--4 {
    /* 下段・中央やや右（少し上げて互い違いに） */
    bottom: 42px;
    left: calc(50% + 10px);
    right: auto;
    --rot: -2deg;
  }
}

@media screen and (max-width: 768px) {
  .message-inner {
    gap: 26px;
  }

  .message-title {
    font-size: 44px;
  }

  .message-body {
    /* 改行位置を固定しているため、最長行が画面幅に収まるよう流動的に縮小 */
    font-size: min(15px, calc((100vw - 32px) / 27));
    line-height: 2;
  }
}

@media screen and (max-width: 768px) {
  .kv-text {
    font-size: 24px;
  }
}

.kv-text-shadow {
  text-shadow: #fff 0 0 10px, #fff 0 0 10px, #fff 0 0 10px, #fff 0 0 10px,
    #fff 0 0 10px, #fff 0 0 10px, #fff 0 0 10px;
}

.kv-text-ls {
  letter-spacing: normal;
}

@media screen and (max-width: 768px) {
  .kv-text-ls {
    font-size: clamp(10px, 6.9vw, 30px);
  }
}

.kv-text-date {
  font-size: 30px;
  color: #006;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .kv-text-date {
    font-size: 22px;
  }
}

.kv-text-date span {
  font-size: 24px;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .kv-text-date span {
    font-size: 16px;
  }
}

.kv-youtube-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: #fff;
  margin: 58px auto 0;
  width: 100%;
  max-width: 508px;
  position: relative;
  z-index: 6;
}

@media screen and (max-width: 768px) {
  .kv-youtube-wrapper {
    width: 90%;
    padding: 16px;
  }
}
@media screen and (max-width: 375px) {
  .kv-youtube-wrapper {
    padding: 16px;
    max-width: 90%;
    /* 余分だった下マージン58pxを除去し、上マージンも圧縮してKV全体の縦を詰める
       （青い三角の飾りを375pxの画面内に収めるため） */
    margin: 28px 16px 0;
  }

  /* ヒーロー上部の余白も詰めて三角を画面内へ引き上げる（下の三角クリアランスpadding-bottomは維持） */
  .kv {
    margin-top: 110px;
  }
}

.kv-youtube {
  text-align: center;
  aspect-ratio: 478/270;
  width: 100%;
}

.kv-youtube iframe {
  height: 100%;
  object-fit: contain;
}

.kv-label-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

@media screen and (max-width: 768px) {
  .kv-label-wrapper {
    gap: 14px;
  }
}

.kv-label-text {
  font-size: 22px;
  line-height: 1.5;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .kv-label-text {
    font-size: 16px;
  }
}

.catch {
  padding: 100px 0;
}

@media screen and (max-width: 768px) {
  .catch {
    padding: 45vw 0 60px;
  }
}

@media screen and (max-width: 375px) {
  .catch {
    padding: 170px 0 60px;
  }
}

.catch-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  width: 1440px;
  margin: 0 auto;
}

@media screen and (max-width: 1440px) {
  .catch-wrapper {
    width: 100%;
    max-width: 1440px;
  }
}

@media screen and (max-width: 1000px) {
  .catch-wrapper {
    gap: 20px;
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  .catch-wrapper {
    padding: 0;
  }
}

.catch-text {
  font-size: 27px;
  line-height: 1.5;
  font-weight: 900;
  color: #006;
}

@media screen and (max-width: 768px) {
  .catch-text {
    font-size: 15px;
    text-align: left;
  }
}

.catch-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.catch-text-small {
  font-size: 22px;
  color: #006;
}

@media screen and (max-width: 768px) {
  .catch-text-small {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .catch-text-wrapper {
    gap: 18px;

    .catch-text-small {
      font-size: 14px;
    }
  }
}

.catch-text-col {
  display: flex;
  gap: 12px;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .catch-text-col {
    gap: 8px;
    align-items: center;
  }
}

.sky {
  color: #0094ff;
}

.link {
  display: flex;
  justify-content: center;
  max-width: 800px;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .link {
    padding: 0 30px 30px;
  }
}

.link-wrapper {
  display: flex;
  gap: 20px;
  width: 1440px;
  margin: 0 auto;

  li {
    width: 100%;
  }
}

@media screen and (max-width: 1440px) {
  .link-wrapper {
    width: 100%;
    max-width: 1440px;
  }
}

@media screen and (max-width: 768px) {
  .link-wrapper {
    margin-bottom: 0;
    flex-direction: column;
    gap: 30px;
  }
}

.link-item {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.link-img {
  margin: 0 auto;
  width: 100%;
  object-fit: contain;
  border-radius: 5px;
  max-width: 385px;
}

@media screen and (max-width: 768px) {
  .link-img {
    width: 100%;
  }
}

.copyright {
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  width: 100%;
  display: block;
}

@media screen and (max-width: 768px) {
  .copyright {
    padding: 0;
    font-size: 11px;
  }
}

@media screen and (max-width: 480px) {
  .copyright {
    padding: 20px 15px;
    font-size: 10px;
  }
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.footer-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.footer-sns-icon {
  display: block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.footer-sns-icon:hover {
  opacity: 0.7;
}

.footer-sns-icon img {
  display: block;
  height: 28px;
  width: auto;
}

/* YouTube is the official wide play-button; shrink slightly to match the square icons' visual size */
.footer-sns-icon--youtube img {
  height: 24px;
}

@media screen and (max-width: 768px) {
  .footer-sns {
    gap: 24px;
  }

  .footer-sns-icon img {
    height: 24px;
  }

  .footer-sns-icon--youtube img {
    height: 20px;
  }
}

.new-initiatives {
  padding: 0 0 5vw;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;

  h2 {
    color: #006;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 60px;
  }

  p {
    color: #006;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 37.8px */
    text-align: center;
  }
}

@media screen and (max-width: 1440px) {
  .new-initiatives {
    width: 100%;
    max-width: 1440px;
  }
}

@media screen and (max-width: 768px) {
  .new-initiatives {
    padding: 36px 0 66px;
  }

  .new-initiatives h2 {
    font-size: 28px;
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .new-initiatives p {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .new-initiatives h2 {
    font-size: 24px;
    padding: 0 15px;
  }
}

/* Animated KV Section Styles */
.kv-container {
  position: relative;
  width: 100vw;
  height: 850px;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  z-index: 1;
}

header {
  position: absolute;
  z-index: 10;
  top: 0;
  width: 100%;
}

.kv-image-container {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.kv-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 2s ease-in-out, transform 15s ease-in-out;
}

.kv-background-image.active {
  opacity: 1;
  transform: scale(1.2);
}

.kv-background-image.fade-out {
  opacity: 0;
  transform: scale(1.2);
}

.kv-background-image.fade-in {
  opacity: 1;
  transform: scale(1.1);
}

/* Object positioning classes */
.kv-background-image.object-center {
  object-position: center;
}

.kv-background-image.object-top {
  object-position: top;
}

.kv-background-image.object-bottom {
  object-position: bottom;
}

.kv-background-image.object-left {
  object-position: left;
}

.kv-background-image.object-right {
  object-position: right;
}

.kv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.kv-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 126px;
  z-index: 3;
  margin-left: calc(-50vw + 50%);
}

.kv-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  /* 背景＋三角はコンテンツの裏全面に敷く（高さはコンテンツ＝セクション高に追従） */
  .kv-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    min-height: 0;
    margin-left: 0;
  }

  /* Reduce the Ken Burns zoom on mobile so people stay within the frame */
  .kv-background-image.active {
    transform: scale(1.08);
  }

  .kv-background-image.fade-in {
    transform: scale(1.04);
  }

  .kv-background-image.fade-out {
    transform: scale(1.08);
  }
}

@media (max-width: 768px) {
  /* 青い三角の短辺（右端の縦エッジ＝三角の高さ）を少し短く */
  .kv-bottom {
    height: 75px;
  }

  .kv-bottom svg {
    height: 75px;
  }
}

@media (max-width: 480px) {
  /* フロー方式に変更したため固定高さは不要（コンテンツ高に追従） */
  .kv-container {
    height: 100%;
  }
}

.new-line {
  display: inline-block;
}

/* 取り組みエリア */
.initiatives-section {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  padding: 0;
  position: relative;
  width: 100%;
}

/* 取り組みカラム */
.initiatives-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 100%;
}

/* 取り組み行 */
.initiatives-row {
  position: relative;
  width: 100%;
}

.initiatives-row .row-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 20px;
  position: relative;
  width: 100%;
}

.initiatives-row:first-child .row-content {
  padding: 30px 20px;
}

.initiatives-row:last-child .row-content {
  padding: 10px 20px;
}

/* 取り組みアイテム */
.initiative-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 1px;
  min-width: 1px;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.initiative-item:hover {
  transform: scale(1.02);
}

/* 画像 */
.initiative-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  aspect-ratio: 57/30;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  opacity: 1;
}

.initiative-item:hover .initiative-image {
  transform: opacity(0.8);
}

/* タイトル部分 */
.initiative-title-container {
  height: 77px;
  position: relative;
  width: 100%;
}

.initiative-title-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.initiative-title-content {
  display: flex;
  flex-direction: row;
  gap: 10px;
  height: 77px;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 24px 20px 56px;
  position: relative;
  width: 100%;
}

.initiative-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 0;
  position: relative;
  color: #000066;
  font-size: 28px;
  text-align: center;
  white-space: nowrap;
}

.initiative-title p {
  display: block;
  line-height: 1;
  white-space: pre;
}

/* 罫線SVG */
.initiative-line {
  position: absolute;
  height: 85.5px;
  left: 0;
  bottom: 31px;
  width: 44.969px;
}

.initiative-line svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
}

@media (max-width: 768px) {
  .initiatives-row .row-content {
    flex-direction: column;
    gap: 20px;
  }

  .initiative-title-content {
    height: 50px;
    padding: 0 20px 0 40px;
    position: relative;
    width: 100%;
    top: -10px;
  }

  .initiative-item {
    flex: none;
    width: 100%;
  }

  .main-title {
    font-size: 32px;
  }

  .initiative-title {
    font-size: 28px;
  }

  .initiative-image {
    aspect-ratio: 348/202;
  }

  .initiative-line {
    bottom: 45px;
    height: 60px;
    width: 32px;
  }
}
