/* =========================================================
   setting
========================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #333333;
}

img {
  max-width: 100%;
  display: block;
}

.section {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.inner {
  max-width: 1042px;
  margin: 0 auto;
}
html {
  scroll-behavior: smooth;
}

/* =========================================================
   hero（ヒーロー：番号・タイトル・キャッチ）
========================================================= */
.hero {
  background: linear-gradient(306.32deg, #96C93D -2.75%, #00B09B 121.99%);
  padding: 152px 20px 60px;
}

.hero__inner {
  display: flex;
  align-items: center;  
  justify-content: center;
  gap: 64px;
}

.hero__left {
  flex: none;
}

.hero__left img {
  width: 300px;
  height: 300px;
}

.hero__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  
  text-align: left;
}

.hero__logo {
  width: 90px;
  height: auto;
  padding-bottom: 8px;
}

.hero__title {
  margin: 0;
  padding-bottom: 16px;
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
}

.hero__text {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.7;
}

/* =========================================================
   lead（リード：メッセージ）
========================================================= */
.lead {
  position: relative;
  overflow: hidden;
  background: #ecfff0;
  padding-top: 50px;
  padding-bottom: 32px;
}

.lead__inner {
  max-width: 1000px;        
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.lead__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  text-align: left;
  flex: 1;         
  min-width: 0;
}

.lead__logo {
  width: 300px;
  padding-bottom: 24px;
}

.lead__title {
  margin: 0;
  padding-bottom: 16px;
  font-size: 24px;
  font-weight: 700;
  color: #106400;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.lead__text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #106400;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.lead__right {
  flex: none;
  align-self: flex-end;
  margin-bottom: -42px;
}

.lead__right img {
  width: 223px;
  height: auto;
}

/* =========================================================
   measures（施策一覧）
========================================================= */
.measures {
  background: #ffffff;
  padding-top: 32px;
  padding-bottom: 50px;
}

.measures__item {
  border-left: 12px solid #91D933;
  padding: 12px 0 12px 24px;
  margin-bottom: 40px;
}

.measures__item--last {
  margin-bottom: 0;
}

.measures__heading {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 800;
  color: #1BA300;
  line-height: 1.4;
}

.measures__text {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: #333333;
  line-height: 1.7;
}

/* =========================================================
   voice（市民の声）
========================================================= */
.voice {
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 48px;
}

.voice__card {
  background: #E5FFDC;
  border-radius: 12px;
  padding: 40px 48px;
}

.voice__title {
  display: block;
  height: 250px;
  max-width: 100%;
  margin: -40px auto 4px;
  object-fit: cover;
}

.voice__row {
  display: flex;
  align-items: flex-start;
  gap: 0px;
  margin-bottom: 8px;
}

.voice__row--last {
  margin-bottom: 0;
}

.voice__icon {
  flex: none;
  width: 48px;
  height: 48px;
  background: url("../img/icon-voice.svg") center / 32px 32px no-repeat;
}

.voice__row-body {
  flex: 1;
}

.voice__text {
  margin: 8px 0 2px;
  font-size: 20px;
  font-weight: 500;
  color: #333333;
  line-height: 1.6;
}

.voice__subtext {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #7d7d7d;
  line-height: 1.6;
}

/* =========================================================
   タブレット（〜992px）
========================================================= */
@media (max-width: 992px) {

  .hero__inner {
    gap: 40px;
  }

  .hero__left img {
    width: 220px;
    height: 220px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__text {
    font-size: 20px;
  }

  .lead__logo {
    width: 220px;
    height: auto;
  }

  .lead__right img {
    width: 200px;
    height: auto;
  }

  .measures__heading {
    font-size: 30px;
  }

  .measures__text {
    font-size: 20px;
  }

  .voice__card {
    padding: 32px 40px;
  }

  .voice__title {
    height: 250px;
    margin: -32px auto 4px;
  }
}

/* =========================================================
   SP（〜700px）
========================================================= */
@media (max-width: 700px) {

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

   .hero {
    padding: 128px 0 32px;
  }

  
   .lead {
    padding: 36px 16px 0;
  }

     .measures {
    padding: 36px 16px 0;
  }

  /* hero（ヒーロー：番号・タイトル・キャッチ） */
  .hero__inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero__left img {
    width: 180px;
    height: 180px;
  }

  .hero__right {
    align-items: center;
    text-align: center;
  }

  .hero__logo {
    margin: 0 auto;
    width: 80px;
    height: auto;
  }

  .hero__title {
    font-size: 42px;
	line-height: 1.3;
  }

  .hero__text {
    font-size: 18px;
  }

  /* lead（リード：メッセージ） */
  .lead__inner {
    flex-direction: column;
    align-items: center;
  }

  .lead__left {
    align-items: center;
    text-align: center;
  }

  .lead__logo {
    width: 280px;
    margin: 0 auto;
  }

  .lead__title {
    font-size: 20px;
  }

  .lead__text {
    font-size: 16px;
  }

  .lead__right {
    align-self: center;
    margin: 0 auto;
  }

  .lead__right img {
    width: 65%;
    height: auto;
    margin: 0 auto;
  }

  /* measures（施策一覧） */
  .measures__item {
    gap: 16px;
    padding-bottom: 28px;
  }

  .measures__heading {
    font-size: 22px;
  }

  .measures__text {
    font-size: 16px;
  }

	
  /* voice（市民の声） */	
  .voice__card {
    padding: 24px 20px;
  }

  .voice__row {
    margin-bottom: 20px;
  }

  .voice__title {
    width: 80%;
    height: auto;
    margin: -24px auto 8px;
    object-fit: cover;
  }

  .voice__text {
    font-size: 16px;
  }

  .voice__subtext {
    font-size: 14px;
  }
}



/*-- policy START --*/
:root {
    --grad: linear-gradient(308.07deg, #00B09B -3.04%, #34C759 101.91%);
    --tile-size: 380px;
    --tile-gap: 24px;
  }

  .mori-policy {
    position: relative;
    background: var(--grad);
    border-radius: 0px;
    padding: 28px 24px 80px;
    overflow: hidden;
  }
 
  .mori-policy__title {
    width: 100%;
    margin: 30px auto 24px;
    max-width: 520px;
  }
 
  .mori-policy__title img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 
  .mori-policy__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, var(--tile-size)));
    gap: var(--tile-gap);
    justify-content: center;
    max-width: calc(var(--tile-size) * 3 + var(--tile-gap) * 2);
    margin: 0 auto;
  }
 
  .mori-policy__grid a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    text-decoration: none;
  }
 
  .mori-policy__tile {
    width: 100%;
    height: 100%;
    /* background: #d9d9d9; */
    display: block;
    overflow: hidden;
    transition: filter 0.2s ease;
  }
 
.mori-policy__tile picture {
  display: block;
  width: 100%;
  height: 100%;
}
  .mori-policy__grid a:hover .mori-policy__tile,
  .mori-policy__grid a:focus-visible .mori-policy__tile {
    filter: brightness(0.95);
  }
 
  .mori-policy__grid a:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
  }
 
  .mori-policy__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

.mori-policy__tile :hover {
    transform: translateY(-2px);
	opacity: 0.9;
  }
 
 
  @media (max-width: 1100px) {
    .mori-policy__grid {
      grid-template-columns: repeat(2, minmax(0, var(--tile-size)));
      max-width: calc(var(--tile-size) * 2 + var(--tile-gap));
    }
  }
 
  @media (max-width: 620px) {
    .mori-policy {
      padding: 20px 16px 56px;
    }

    .mori-policy__grid {
      grid-template-columns: repeat(1, minmax(0, var(--tile-size)));
      max-width: var(--tile-size);
      gap: 4px;
    }

  .mori-policy__title {
    margin: 16px auto;
  }
  }
 
  @media (prefers-reduced-motion: reduce) {
    .mori-policy__tile {
      transition: none;
    }
  }


/*-- footer START --*/
.footer {
  background-color: #1e7f23;
  text-align: center;
  padding: 60px 24px 16px;
}
.footer__title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px;
  letter-spacing: 1px;
}
.footer__title--sub {
  margin: 72px 0 24px;
}
.footer__buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.footer__button {
  width: 90px;
  height: 90px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.footer__button:hover {
  opacity: 0.7;
}
.footer__button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer__text {
  font-size: 18px;
  font-weight: 300;
  color: #ffffff;
  margin: 0 0 72px;
}
.footer__copyright {
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
}
@media (max-width: 768px) {
 .footer__buttons {
  gap: 8px;
 }
}