@charset "UTF-8";

/*
4px = 0.25rem
6px = 0.375rem
8px = 0.5rem
10px = 0.625rem
12px = 0.75rem
14px = 0.875rem
15px = 0.9375rem
16px = 1rem
20px = 1.25rem
24px = 1.5rem
32px = 2rem
36px = 2.25rem
40px = 2.5rem
48px = 3rem
64px = 4rem
80px = 5rem
96px = 6rem
*/

/* -------- CSS変数 -------- */

:root {
  /* Color */
  --text: #333333;
  --text-sub: #666666;

  --text-footer: #e8e4dc;       /* メインテキスト */
  --text-footer-sub: #c8bfb0;

  --color-main: #2e7d52;
  --color-accent: #6ab187;
  --color-white: #ffffff;
  --color-orange: #e6953f;
  --color-border: #cccccc;
  --warning: #e53e3e;

  --color-bg-green-top: #edf5f0;
  --color-bg-beige: #faf7f2;
  --color-bg-green: #f3f8f5;
  --color-bg-blue: #e6f0f8;
  --color-bg-footer: #1a4d32;


  /* Font */
  --font-xxs: 0.625rem;  /* 10px */
  --font-xs:  0.75rem;   /* 12px */
  --font-s:   0.875rem;  /* 14px */
  --font-m:   1rem;      /* 16px */
  --font-l:   1.125rem;  /* 18px */
  --font-xl:  1.25rem;   /* 20px */
  --font-xxl: 1.5rem;    /* 24px */
}


/* -------- 基本設定 -------- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  font-size: var(--font-m);
  line-height: 1.7;
}

img {
  width: 100%;
}


/* 見出し */

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.4;
}

h1, h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
}


/* リンク */
a {
  color: var(--color-main);
  transition: 0.2s;
}
a:hover {
  color: var(--color-accent);
  text-decoration: none;
}
a:focus {
  background-color: var(--color-white);
}


/* SP/PC 出し分け */
.sp-only {
  display: block;
}
.pc-only {
  display: none;
}
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
  .pc-only {
    display: block;
  }
}


.container {
  max-width: 1200px;
  margin: 0 auto;
}


/* 見出し */
h2 {
  margin-bottom: 2rem;
  color: var(--color-main);
  border-bottom: 1px solid #ccc;
}

@media (min-width: 768px) {
  h2 {
    margin-bottom: 3.5rem;
  }
}


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

.text-bold {
  font-weight: 600;
}

.text-right {
  text-align: right;
}




/*--------　header　--------*/

header {
  position: fixed;
  z-index: 100;
  width: 100%;
  padding: 0.625rem;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 1px 1px 5px rgba(0,0,0,.05);
}

.header-sp {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-name {
  margin-right: 0.625rem;
  font-size: var(--font-m);
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
}

.btn-toggle {
  height: 34px;
  width: 40px;
  border: none;
  outline: none;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #666;
}

.icon-bar+.icon-bar {
  margin-top: 4px;
}

.btn-toggle-menu {
  display: block;
  font-size: var(--font-xs);
  line-height: 1;
  text-align: center;
}

.gnav {
  display: none;
  position: relative;
  padding: 1.25rem 0 0.5rem;
  border-radius: 0 0 4px 4px;
}

.gnav-list li {
  border-bottom: 1px solid var(--color-border);
}

.gnav-list li:first-child {
  border-top: 1px solid var(--color-border);
}

.gnav-list a {
  display: block;
  padding: 0.75rem;
  color: #333;
  line-height: 1;
}

.gnav-list a:hover {
  color: var(--color-main);
}

.current > a {
  color: var(--color-main);
}

@media (min-width: 768px) {

  header {
    padding: 0 2rem;
  }
  
  .btn-toggle {
    display: none;
  }

  header .container {
    display: flex;
    align-items: center;
  }

  .gnav {
    display: block;
    margin-left: auto;
    padding: 0;
    z-index: 1;
    font-size: var(--font-s);
  }

  .gnav-list {
    display: flex;
    align-items: center;
  }

  .gnav-list li {
    margin-left: 2em;
    border-bottom: none;
  }

  .gnav-list li:first-child {
    border-top: none;
  }

  .gnav-list a {
    padding: 1.25rem 0;
    line-height: 1.2;
    text-align: center;
  }
}


/* footer */
footer {
  background-color: var(--color-bg-footer);
  font-size: var(--font-s);
  color: var(--text-footer);
}

footer .container {
  overflow: hidden;
  max-width: 1200px;
  padding: 3rem 2rem;
}

footer .container > * {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer .container > *:first-child {
  border-top: none;
  padding-top: 0;
}

.footer-nav a {
  color: var(--text-footer);
}

.footer-nav a:hover {
  color: var(--text-footer-sub);
}

.footer-nav a::before {
  display: inline-block;
  content: "–";
  vertical-align: middle;
  margin-right: 0.5rem;
  transform: translateY(-1px);
}

.footer-nav-heading {
  margin-bottom: 0.625rem;;
}

.footer-name {
  font-weight: 600;
}

.footer-copy {
  text-align: center;
  color: var(--color-border);
  background-color: #0d2d1c;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  footer .container > * {
    padding: 0 2rem;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  footer .container > *:first-child {
    border-left: none;
    padding-left: 0;
  }

   .footer-name-wrap {
    margin: 0 0 0 auto;
  }
}



/* ---------- ホーム ---------- */

.page-top main {
  padding-top: 100vh;
}

.page-top .h2-center {
  text-align: center;
}

.page-top h2 {
  position: relative;
  display: inline-block;
  margin-top: 0;
  margin-bottom: 2.5rem;
  border-bottom: none;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.page-top h2:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 3.75rem;
  height: 3px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: var(--color-main);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .page-top h2 {
    margin-bottom: 4.5rem;
    border-bottom: none;
  }
  
  .page-top h2:before {
    bottom: -1.5rem;
    width: 5rem;
  }
}


/* top--movie */
.top-movie {
  position: fixed;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: -1;
}

#background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.top-movie-text-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.top-movie-text {
  position: absolute;
  top: 50%;
  
  /* 完全に文字の「真ん中」を基準に真っ直ぐ拡大させる設定 */
  left: 50%;
  transform: translate(-50%, -50%); /* 中央配置 */
  transform-origin: center center;    /* 拡大の基準点を文字のド中心に固定 */
  
  width: max-content; /* 横幅を文字の長さに合わせる（超重要） */
  text-align: center;
  
  font-size: clamp(1.25rem, 4.5vw, 3rem);
  font-family: "Noto Serif JP", serif;
  line-height: 2;
  white-space: nowrap;
  color: white;
  font-weight: 500;
}


/* top--about */
.top-about {
  background-color: var(--color-main);
  color: #fff;
  padding: 3rem 0;
}
.top-about-text {
  padding: 0 1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .top-about {
    padding: 5.5rem 0;
  }
  .top-about-text {
    font-size: 18px;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    text-align: center;
  }
}

.top-loop {
  display: flex;
  overflow: hidden;
}
.top-loop-box {
  display: flex;
  animation: loop-list 25s linear infinite;
  list-style: none;
  padding: 0;
}
.top-loop-box li {
  width: calc(100vw / 2);
}
.top-loop-box img {
  width: 100%;
}

@keyframes loop-list {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (min-width: 768px) {
  .top-loop-box li {
    width: calc(100vw / 4);
  }
}


/* top-business-btn */
.top-business-btn {
  padding: 3rem 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.8);
}

.top-business-btn-inner {
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.top-business-btn-row-3,
.top-business-btn-row-2 {
  display: contents;
}

.top-business-btn-row-3 > div,
.top-business-btn-row-2 > div {
  position: relative;
}

.top-business-btn-img-wrap {
  position: relative;
}

.top-business-btn-img {
  overflow: hidden;
  border-radius: 4px;
}

.top-business-btn-inner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.3s;
  vertical-align: top;
}

.top-business-btn-inner a:hover img {
  transform: scale(1.1);
  transition: 0.3s;
}

.top-business-btn-name {
  background-color: rgba(255, 255, 255, 0.7);
  width: 250px;
  max-width: 100%;
  padding: 0.75rem;
  font-size: 18px;
  line-height: 1.4;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
  color: var(--color-main);
  border-radius: 4px;
}

.top-business-btn-name span {
  font-size: 13px;
  display: block;
  letter-spacing: 0;
  margin-bottom: 5px;
  font-weight: normal;
}

@media (min-width: 768px) {
  .top-business-btn {
    padding: 5.5rem 0;
  }

  .top-business-btn-inner {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
  }

  .top-business-btn-row-2 > * {
    grid-column: span 3;
  }

  .top-business-btn-row-3 > * {
    grid-column: span 2;
  }

  .top-business-btn-name {
    width: 270px;
  }
}


/* top--wide-btn */
.top-wide-btn-wrap {
  background-color: var(--color-bg-green);
}

.top-wide-btn-wrap > div {
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.top-wide-btn-wrap h2 {
  color: var(--color-white);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.page-top .top-wide-btn-wrap h2:before {
  background-color: #fff;
}

.top-wide-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}
.top-wide-btn a {
  width: 100%;
  font-size: var(--font-m);
  text-align: center;
  color: var(--color-main);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.8);
}
.top-wide-btn a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .top-wide-btn-wrap h2 {
    margin-bottom: 4rem;
  }

  .top-wide-btn-wrap > div {
    padding: 4rem 0 4.5rem;
  }
  .top-wide-btn {
    max-width: 500px;
    margin: 0 auto;
  }
}

.top-wide-btn-01 {
  background-image: url(../images/top/top-wide-btn-1.jpg);
  background-size: cover;
  background-position: center center;
}

.top-wide-btn-02 {
  background-image: url(../images/top/top-wide-btn-2.jpg);
  background-size: cover;
  background-position: center center;
}


/* topics */
.top-topics {
  padding: 3rem 0;
  background: var(--color-bg-green-top);
  overflow: hidden;
}

.top-topics .container {
  padding: 0 1rem;
}

.top-topics-list {
  font-size: var(--font-s);
  line-height: 1.4;
}

.top-topics-list dt {
  background-color: #fff;
  padding: 0.75rem 0.75rem 0.25rem;
  border-radius: 8px 8px 0 0;
}

.top-topics-list dd {
  background-color: #fff;
  padding: 0 0.75rem 0.75rem;
  margin-bottom: 0.625rem;
  border-radius: 0 0 8px 8px;
}

.top-topics-list a {
  text-decoration: underline;
  color: #4141c2;
}

.top-topics-list a:hover {
  color: #b00;
}

@media (min-width: 768px) {
  .top-topics {
    padding: 5rem 0;
  }
  
  .top-topics .container {
    padding: 0 2rem;
  }

  .top-topics-list {
    display: flex;
    flex-wrap: wrap;
    font-size: var(--font-m);
  }

  .top-topics-list dt {
    width: 160px;
    padding: 1.25rem 2rem;
    margin-bottom: 1rem;
    border-radius: 8px 0 0 8px;
  }

  .top-topics-list dd {
    width: calc(100% - 160px);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0 8px 8px 0;
  }

}


/* top-feature */
/* .top-feature-wrap {
  overflow: hidden;
  background: rgba(255, 255, 255, .7);
}

.top-feature {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-accent) 100%);
  padding: 3rem 0;
  position: relative;
}

.top-feature:nth-child(2n) {
  background: rgba(255, 255, 255, .5);
}

.top-feature .top-feature-head {
  display: block;
  color: #e6ecf5;
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: clamp(1.25rem, 2.8vw, 2.125rem);
}

.top-feature .top-feature-head::before {
  content: none;
}

.top-feature:nth-child(2n) .top-feature-head {
  color: var(--color-main);
}

.top-feature-inner {
  padding: 0 1rem;
}

.top-feature-item {
  padding: 2.5rem 1rem 2rem;
  border-bottom: 1px solid var(--color-bg-green);
  position: relative;
}

.top-feature-item:first-child {
  padding-top: 0;
}

.top-feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.top-feature:nth-child(2n) .top-feature-item {
  border-bottom: 1px solid var(--color-main);
} 

.top-feature:nth-child(2n) .top-feature-item:first-child {
  padding-top: 0;
}

.top-feature:nth-child(2n) .top-feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.top-feature-ttl {
  font-size: var(--font-m);
  background-color: var(--color-orange);
  width: fit-content;
  padding: 0.3rem 0.5rem;
  z-index: 10;
  position: absolute;
  top: 2rem;
  left: 0;
}

.top-feature-item:first-child .top-feature-ttl {
  top: -10px;
}

.top-feature-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  z-index: 1;
}

.top-feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-feature-text {
  padding-top: 1rem;
  color: #e6ecf5;
  font-size: var(--font-s);
}

.top-feature:nth-child(2n) .top-feature-text {
  color: #333;
}

@media (min-width: 768px) {
  .top-feature {
    padding: 5.5rem 0;
  }

  .top-feature-inner {
    padding: 0;
  }

  .top-feature .top-feature-head {
    margin-bottom: 4rem;
  }

  .top-feature-flex {
    display: flex;
    flex-direction: row;
  }

  .top-feature-item {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 1.5rem;
    flex: 1;
  }

  .top-feature:nth-child(2n) .top-feature-item {
    border-right: 1px solid rgba(0, 0, 0, 0.4);
    border-bottom: none;
  } 

  .top-feature-item:last-child {
    border-right: none;
  }

  .top-feature:nth-child(2n) .top-feature-item:last-child {
    border-right: none;
  }

  .top-feature-ttl {
    padding: 0.5em 0.8em;
    top: -1.25rem;
    left: 0.5rem;
    max-width: 90%;
    line-height: 1.4;
  }

  .top-feature-item:first-child .top-feature-ttl {
    top: -1.25rem;
  }
}

@media (min-width: 1100px) {
  .top-feature-inner {
    max-width: 1460px;
    margin: 0 auto;
  }

  .top-feature .top-feature-head {
    margin-bottom: 4.5rem;
  }

  .top-feature-item {
    padding: 0 2rem;
  }

  .top-feature-ttl {
    left: 1.5rem;
    max-width: 85%;
  }

  .top-feature-text {
    font-size: var(--font-m);
  }
} */


/* top--info-btn */
.top-info-btn {
  padding: 3rem 0;
  overflow: hidden;
  background-color: #fff;
}

.top-info-btn-inner {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.top-info-btn-inner a {
  display: flex;
  border: 1px solid #ddd;
}

.top-info-btn-img {
  overflow: hidden;
  width: 130px;
  height: 130px;
}
.top-info-btn-img img {
  transition: 0.3s;
  vertical-align: top;
  width: 100%;
  height: auto;
}
.top-info-btn-inner a:hover img {
  transform: scale(1.1);
  transition: 0.3s;
}

.top-info-btn-text {
  color: #333;
  font-size: var(--font-s);
  line-height: 1.4;
  flex: 1;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  background-color: #fff;
}

.top-info-btn-text p:first-child {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--color-main);
  font-weight: bold;
  font-size: var(--font-m);
}

@media (min-width: 600px) {
  .top-info-btn-inner {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .top-info-btn-inner a {
    width: calc((100% - 2rem) / 2);
  }
}

@media (min-width: 768px) {
  .top-info-btn {
    padding: 5.5rem 0;
    margin-bottom: 0;
  }
}

@media (min-width: 1000px) {
  .top-info-btn-inner a {
    width: calc((100% - 4rem) / 3);
  }
}




/* ---------- 共通 ---------- */

.hero {
  height: 260px;
  width: auto;
  background-size: cover;
  background-position: center center;
  position: relative;
}

@media (min-width: 768px) {
  .hero {
    height: 380px;
  }
}

.hero h1 {
  position: absolute;
  right: 5%;
  bottom: 1rem;
  color: var(--color-white);
  font-size: 1.8rem;
  line-height: 1;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .hero h1 {
    bottom: 2.5rem;
    font-size: 3rem;
  }
}




/* ---------- 協会案内 ---------- */

.about .hero {
  background-image: url(../images/about/about_head.jpg);
}


.about .container {
  padding: 2.5rem 1rem;
}

@media (min-width: 768px) {
  .about .container {
    max-width: 1200px;
    padding: 5rem 2rem;
    margin: 0 auto;
  }
}


.greeting-text p {
  margin-bottom: 0.625rem;
}

@media (min-width: 768px) {
  .greeting-text {
    max-width: 800px;
    margin: 0 auto;
  }

  .greeting-text p {
    margin-bottom: 1rem;
  }
}


.overview {
  background-color: var(--color-bg-green);
}

.overview-lists {
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;

}

.overview-lists dt {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px dotted var(--color-border);
  width: 5rem;
}

.overview-lists dd {
  padding-left: 1em;
  border-bottom: 1px dotted var(--color-border);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  width: calc(100% - 5rem);
  display: grid;
  align-items: center;
}

.overview-lists dt:last-of-type,
.overview-lists dd:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .overview-lists dt {
    width: 30%;
    padding: 1.25rem 0 1.25rem 4rem;
    margin-bottom: 0;
  }

  .overview-lists dd {
    width: 70%;
    padding: 1.25rem;
    margin-bottom: 0;
  }
}


.history-text {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .history-text {
    max-width: 800px;
    margin: 0 auto 3.5rem;
  }
}


.history-lists {
  font-size: var(--font-s);
  line-height: 1.4;
}

.history-lists-row {
  display: flex;
  flex-wrap: wrap;
}

.history-lists-row:nth-child(odd) {
  background-color: var(--color-bg-green);
}

.history-lists dt {
  padding: 0.75rem;
  width: 5rem;
  color: var(--color-main);
}

.history-lists dt span {
  font-size: var(--font-xs);
  display: block;
  font-feature-settings: "palt" 1;
}

.history-lists dd {
  padding: 0.75rem;
  width: calc(100% - 5rem);
}

.history-lists dd li {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .history-lists {
    font-size: var(--font-m);
  }

  .history-lists dt {
    padding: 1.25rem 0 1.25rem 4rem;
    width: 30%;
  }

  .history-lists dt span {
    font-size: var(--font-s);
    display: inline;
    font-feature-settings: normal;
  }

  .history-lists dd {
    padding: 1.25rem;
    width: 70%;
  }
}


#anchor-overview,
#anchor-history {
  scroll-margin-top: 70px; /* 固定ヘッダーの高さに合わせる */
}




/* ---------- 事業紹介 ---------- */

.business .hero {
  background-image: url(../images/business/business_head.jpg);
}


.business .container {
  padding: 2.5rem 1rem;
}

.business > section:nth-child(odd) {
  background-color: var(--color-bg-green);
}

@media (min-width: 768px) {
  .business .container {
    max-width: 1200px;
    padding: 5rem 2rem;
    margin: 0 auto;
  }
}


.business-item-text {
  margin-bottom: 1rem;
}

.business-item-img {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.business-item-img img {
  border-radius: 2px;
}

.business-item-img figcaption {
  line-height: 1.5;
  margin-top: 4px;
}

.business-item-note {
  font-size: var(--font-s);
  text-align: right;
  margin-bottom: 5px;
}

@media (min-width: 600px) {
  .business-item-img {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .business-item-text {
    margin-bottom: 2rem;
  }

  .business-item-img {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .business-item-text {
    margin-bottom: 2.5rem;
  }

  .business-item-img {
    grid-template-columns: repeat(3, 1fr);
  }
}


#anchor-park,
#anchor-street-tree,
#anchor-planting,
#anchor-greening,
#anchor-planning {
  scroll-margin-top: 70px; /* 固定ヘッダーの高さに合わせる */
}




/* ---------- 会員紹介 ---------- */

.members .hero {
  background-image: url(../images/members/members_head.jpg);
}

.members .container {
  padding: 2.5rem 1rem;
}

@media (min-width: 768px) {
  .members .container {
    max-width: 1200px;
    padding: 5rem 2rem;
    margin: 0 auto;
  }
}


.members-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* iOS対応 */
  width: 100%;
  
}

.members-table {
  border-collapse: collapse;
  width: 100%;
}

.members-table th,
.members-table td {
  white-space: nowrap;
  font-size: var(--font-s);
  font-feature-settings: "palt" 1;
  line-height: 1.5;
}

.members-table th {
  background-color: var(--color-bg-green);
  border-bottom: 1px solid var(--color-main);
  padding: 0.5rem 1.25rem 0.5rem 1rem;
  text-align: center;
}

.members-table td {
  border-bottom: 1px dotted var(--color-border);
  padding: 0.75rem 1.25rem 0.75rem 1rem;
}

@media (min-width: 768px) {
  .members-table th {
    font-size: var(--font-m);
  }

  .members-table td {
    font-size: var(--font-m);
    padding: 1rem 1.25rem 1rem 1rem;
  }
}




/* ---------- お問い合わせ ---------- */

.contact .hero {
  background-image: url(../images/contact/contact_head.jpg);
}

.contact .container {
  padding: 2.5rem 1rem 3rem;
}

@media (min-width: 768px) {
  .contact .container {
    padding: 5rem 2rem;
  }
}


.contact-note-wrap {
  margin-bottom: 2rem;
}

.contact-note-list {
  font-size: var(--font-s);
  line-height: 1.5;
  margin-top: 1rem;
}

.contact-note-list li {
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 5px;
}

@media (min-width: 768px) {
  .contact-note-wrap {
    max-width: 900px;
    margin: 0 auto 3rem;
  }
}


.form-group {
  margin-bottom: 1rem;
}

.contact-form-note {
  font-size: var(--font-s);
  text-align: right;
}

.form-group label {
  font-weight: bold;
  display: inline-block;
  margin-bottom: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.form-group select {
  width: auto;
}

.form-group textarea {
  height: auto;
}

.form-group input.contact-form-input-short {
  display:inline-block;
  width: 5em;
}

@media (min-width: 768px) {
  .contact-form {
    max-width: 900px;
    margin: 0 auto;
  }

  .form-group {
    display: flex;
    margin-bottom: 25px;
  }

  .form-group label {
    width: 25%;
  }

  .form-group div {
    width: 75%;
  }
}


.contact-form-agree {
  font-size: var(--font-s);
  line-height: 1.5;
  margin-top: 2rem;
}

.contact-form-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-form-btn-wrap input {
  color: var(--color-white);
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  padding: 1em;
  line-height: 1;
  border-radius: 4px;
}

.contact-form-btn-submit {
  background-color: var(--color-main);
}

.contact-form-btn-reset {
  background-color: var(--color-orange);
}

.contact-form-btn-submit:hover,
.contact-form-btn-reset:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .contact-form-agree {
    font-size: var(--font-m);
    text-align: center;
    margin-top: 3rem;
  }
}


.form-btn-container {
  margin-top: 2rem;
  text-align: center;
}

.contact-form-agree {
  margin-bottom: 1rem;
}

.form-btn-container span {
  margin-left: 0.5rem;
}

.form-btn-container input[type='checkbox'] {
  appearance: checkbox;
  accent-color: var(--color-main);
}

.form-btn-container input[type='submit'] {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  margin: 2rem auto 0;
  color: var(--color-white);
  font-size: var(--font-l);
  background-color: var(--color-main);
  outline: none;
  cursor: pointer;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 5px;
  transition: 0.2s;
}

.form-btn-container input[type='submit'][disabled] {
  background: #dcdcdc;
  color: var(--color-white);
}

.form-btn-container input[type='submit'][disabled]:hover {
  background: #dcdcdc;
  color: var(--color-white);
  cursor: auto;
  opacity: 1;
}

.form-btn-container input[type='submit']:hover {
  background-color: var(--color-accent);
  transition: 0.2s;
}

@media (min-width: 768px) {
  .form-btn-container input[type='submit'] {
    max-width: 400px;
    margin: 2.5rem auto 0;
  }
}






.thanks {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .thanks {
    margin-top: 8.5rem;
    margin-bottom: 4.5rem;
  }
}



/* ---------- プライバシー ---------- */

.privacy .hero {
  background-image: url(../images/privacy/privacy_head.jpg);
}

.privacy .container {
  padding: 2.5rem 1rem 3rem;
}

@media (min-width: 768px) {
  .privacy .container {
    padding: 5rem 2rem;
    max-width: calc(900px + 4rem);
    margin: 0 auto;
  }
}


.privacy-item {
  margin-bottom: 2rem;
}

.privacy h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--font-l);
  color: var(--text);
  margin-bottom: 0.625rem;
}

.privacy-item p {
  margin-bottom: 0.625rem;
}

.privacy-item-list {
  list-style-type: disc;
  margin-left: 2rem;
}

@media (min-width: 768px) {
  .privacy-item {
    margin-bottom: 2.5rem;
  }

  .privacy h2 {
    margin-bottom: 1rem;
  }
}







/* ---------- AOS ---------- */
.top-business-btn-row-3 [data-aos="slide-btn"] {
  opacity: 0;
  transition-property: transform, opacity;
}
.top-business-btn-row-3 [data-aos="slide-btn"].aos-animate {
  opacity: 1;
}
.top-business-btn-row-3 [data-aos="slide-btn"]:nth-of-type(odd) {
  transform: translateX(-150px);
}
.top-business-btn-row-3 [data-aos="slide-btn"]:nth-of-type(even) {
  transform: translateX(150px);
}
.top-business-btn-row-3 [data-aos="slide-btn"].aos-animate {
  transform: translateX(0);
}
@media (min-width: 768px) {
  .top-business-btn-row-3 [data-aos="slide-btn"]:nth-of-type(odd) {
      transform: translateY(150px);
  }
  .top-business-btn-row-3 [data-aos="slide-btn"]:nth-of-type(even) {
    transform: translateY(150px);
}
  .top-business-btn-row-3 [data-aos="slide-btn"].aos-animate {
      transform: translateY(0);
  }
}

.top-business-btn-row-2 [data-aos="slide-btn"] {
  opacity: 0;
  transition-property: transform, opacity;
}
.top-business-btn-row-2 [data-aos="slide-btn"].aos-animate {
  opacity: 1;
}
.top-business-btn-row-2 [data-aos="slide-btn"]:nth-of-type(odd) {
  transform: translateX(150px);
}
.top-business-btn-row-2 [data-aos="slide-btn"]:nth-of-type(even) {
  transform: translateX(-150px);
}
.top-business-btn-row-2 [data-aos="slide-btn"].aos-animate {
  transform: translateX(0);
}
@media (min-width: 768px) {
  .top-business-btn-row-2 [data-aos="slide-btn"]:nth-of-type(odd) {
      transform: translateY(150px);
  }
  .top-business-btn-row-2 [data-aos="slide-btn"]:nth-of-type(even) {
    transform: translateY(150px);
}
  .top-business-btn-row-2 [data-aos="slide-btn"].aos-animate {
      transform: translateY(0);
  }
}

.top-wide-btn-wrap [data-aos="slide-btn"] {
  opacity: 0;
  transition-property: transform, opacity;
}
.top-wide-btn-wrap [data-aos="slide-btn"].aos-animate {
  opacity: 1;
}

.top-info-btn-inner [data-aos="slide-btn"] {
  opacity: 0;
  transition-property: transform, opacity;
}
.top-info-btn-inner [data-aos="slide-btn"].aos-animate {
  opacity: 1;
}
.top-info-btn-inner [data-aos="slide-btn"]:nth-of-type(odd) {
  transform: translateX(-150px);
}
.top-info-btn-inner [data-aos="slide-btn"]:nth-of-type(even) {
  transform: translateX(150px);
}
.top-info-btn-inner [data-aos="slide-btn"].aos-animate {
  transform: translateX(0);
}
@media (min-width: 768px) {
  .top-info-btn-inner [data-aos="slide-btn"]:nth-of-type(odd) {
      transform: translateY(150px);
  }
  .top-info-btn-inner [data-aos="slide-btn"]:nth-of-type(even) {
    transform: translateY(0150px);
}
  .top-info-btn-inner [data-aos="slide-btn"].aos-animate {
      transform: translateY(0);
  }
}

.top-topics [data-aos="slide-btn"] {
  opacity: 0;
  transition-property: transform, opacity;
}
.top-topics [data-aos="slide-btn"].aos-animate {
  opacity: 1;
}
.top-topics [data-aos="slide-btn"]:nth-of-type(4n+1) {
  transform: translateX(150px);
}
.top-topics [data-aos="slide-btn"]:nth-of-type(even) {
  transform: translateX(0);
}
.top-topics [data-aos="slide-btn"]:nth-of-type(4n+3) {
  transform: translateX(-150px);
}
.top-topics [data-aos="slide-btn"].aos-animate {
  transform: translateX(0);
}
@media (min-width: 768px) {
  .top-topics [data-aos="slide-btn"]:nth-of-type(odd) {
      transform: translateY(150px);
  }
  .top-topics [data-aos="slide-btn"]:nth-of-type(even) {
    transform: translateY(150px);
}
  .top-topics [data-aos="slide-btn"].aos-animate {
      transform: translateY(0);
  }
}

/* 
.top-feature-wrap [data-aos="slide-btn"] {
  opacity: 0;
  transition-property: transform, opacity;
}
.top-feature-wrap [data-aos="slide-btn"].aos-animate {
  opacity: 1;
}
.top-feature-wrap [data-aos="slide-btn"]:nth-of-type(even) {
  transform: translateX(150px);
}
.top-feature-wrap [data-aos="slide-btn"]:nth-of-type(odd) {
  transform: translateX(-150px);
}
.top-feature-wrap [data-aos="slide-btn"].aos-animate {
  transform: translateX(0);
}
@media (min-width: 768px) {
  .top-feature-wrap [data-aos="slide-btn"]:nth-of-type(even) {
      transform: translateY(150px);
  }
  .top-feature-wrap [data-aos="slide-btn"]:nth-of-type(odd) {
    transform: translateY(0150px);
}
  .top-feature-wrap [data-aos="slide-btn"].aos-animate {
      transform: translateY(0);
  }
} */


.footer-nav[data-aos="slide-btn"] {
  opacity: 0;
  transition: opacity 1s; /* デフォルトはフェードイン */
}

.footer-nav[data-aos="slide-btn"].aos-animate {
  opacity: 1;
}

@media (min-width: 768px) {
  .footer-nav[data-aos="slide-btn"] {
    transform: scale(0.8);
    transition: transform 1s, opacity 1s;
  }
  .footer-nav[data-aos="slide-btn"].aos-animate {
    transform: scale(1);
  }
}